From f940ea3f90be1b799bc50f15e38ff4c800217698 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 13 Sep 2021 12:39:59 +0000 Subject: [PATCH] chore(release): 3.0.0 [skip ci] # [3.0.0](https://github.com/CESNET/perun-web-apps/compare/v2.0.0...v3.0.0) (2021-09-13) ### Bug Fixes * **admin-gui:** fix of checking auth rights in home page ([e1935ad](https://github.com/CESNET/perun-web-apps/commit/e1935adfe5596585a12790025fab23a2940dbdd9)) * align footer items ([3087d0b](https://github.com/CESNET/perun-web-apps/commit/3087d0b52d2132a8126c9f6831a4da175e1036a3)) * Show all resources in member-attributes page ([61d645b](https://github.com/CESNET/perun-web-apps/commit/61d645bb59b4e86b5312f7910f30d9da101e7e2b)) * use better email regex ([cebfa98](https://github.com/CESNET/perun-web-apps/commit/cebfa9877757128f8ccc92808f9fc7653458d92e)) * **admin:** add confirmation dialog for application deletion ([6500ef4](https://github.com/CESNET/perun-web-apps/commit/6500ef4b361dd97797d1c4c716a5eabf3734175d)) * **admin:** open correct page in new tab on middle click ([f8c5575](https://github.com/CESNET/perun-web-apps/commit/f8c55752f59bf51338a96a672db78a1f09685843)) * **admin:** show all members on resource-member attributes page ([7f637dd](https://github.com/CESNET/perun-web-apps/commit/7f637ddc255b6070d51c514a6e648051b70b22db)) * **admin-gui:** fix of checking auth rights in home page ([98d8ab5](https://github.com/CESNET/perun-web-apps/commit/98d8ab55803f2306dcdecbc45bccff03bffbf2f5)) ### Code Refactoring * unify configuration variables naming convention ([095ebb2](https://github.com/CESNET/perun-web-apps/commit/095ebb29a70f2a07fa7072721b6f30ffd6e15ca1)) ### Features * **admin:** Add service package to resource ([2a1be7b](https://github.com/CESNET/perun-web-apps/commit/2a1be7bc411289e909468e6c9c4f2963ad102630)) * **admin:** add support for Basic Auth ([d8975e7](https://github.com/CESNET/perun-web-apps/commit/d8975e76ee32d29a238136ff32be7891e0797312)) * **admin:** change service status from detail ([596c5f2](https://github.com/CESNET/perun-web-apps/commit/596c5f25be3b2d9b7e604a8e2c18755b6aa34aff)) * **admin:** improve recently visited objects dashboard ([6f1f02a](https://github.com/CESNET/perun-web-apps/commit/6f1f02a495105447f79a9bd594a68e1cc436760a)) * **admin:** preselect group from context on two entity attributes ([330b9fe](https://github.com/CESNET/perun-web-apps/commit/330b9fef18b454e02e395a1bc106b8ce60bcb51d)) * **admin-gui:** enable basic auth ([28b7eba](https://github.com/CESNET/perun-web-apps/commit/28b7ebabc3a4d0fb2a66811e05fa041988339647)) * **profile:** disable delete Other identities ([c94bb02](https://github.com/CESNET/perun-web-apps/commit/c94bb02b675a5221e58a5869b7c7d14ce94e90ed)) * **user-profile:** change password ([0d0824b](https://github.com/CESNET/perun-web-apps/commit/0d0824b57c2ae051e0f4a320f5e6969bc18ba46f)) * add configuration "isDevel" to other applications ([22c3ad7](https://github.com/CESNET/perun-web-apps/commit/22c3ad76409f11b7158ecde68415c76b1f5107f3)) * add preAppLoader to admin gui and user profile ([9ef6656](https://github.com/CESNET/perun-web-apps/commit/9ef6656c3642fac240303b1698e82f0003ec02eb)) * change alert text in attributes list ([df9faaa](https://github.com/CESNET/perun-web-apps/commit/df9faaa8113408e129f7f1ec20c2077a8c5425f7)) ### BREAKING CHANGES * **profile:** Other identities cannot be deleted any longer. * it is necessary to rename variables in config files --- .../285-es2015.751d166c412b8dc80541.js | 1 - .../285-es2015.9193f58c245ff8f7ab70.js | 1 + .../admin-gui/285-es5.751d166c412b8dc80541.js | 1 - .../admin-gui/285-es5.9193f58c245ff8f7ab70.js | 1 + .../300-es2015.380c59923665a5c71713.js | 1 + .../300-es2015.a828853dfe9786d61a8d.js | 1 - .../admin-gui/300-es5.380c59923665a5c71713.js | 1 + .../admin-gui/300-es5.a828853dfe9786d61a8d.js | 1 - ....js => 363-es2015.6854c45126452ae56e78.js} | 2 +- ...650.js => 363-es5.6854c45126452ae56e78.js} | 2 +- dist/apps/admin-gui/3rdpartylicenses.txt | 65 +--- .../427-es2015.1c911b592f126adfd085.js | 1 - .../427-es2015.e77dcafd30825535e3e2.js | 1 + .../admin-gui/427-es5.1c911b592f126adfd085.js | 1 - .../admin-gui/427-es5.e77dcafd30825535e3e2.js | 1 + .../579-es2015.a7ecabb9fc862945e886.js | 1 - .../579-es2015.ddd625fed6493381003c.js | 1 + .../admin-gui/579-es5.a7ecabb9fc862945e886.js | 1 - .../admin-gui/579-es5.ddd625fed6493381003c.js | 1 + .../622-es2015.821b26e4eb3cd47c7b63.js | 1 + .../admin-gui/622-es5.821b26e4eb3cd47c7b63.js | 1 + ....js => 756-es2015.fd8c1941495de039c410.js} | 0 ...217.js => 756-es5.fd8c1941495de039c410.js} | 0 .../827-es2015.48873b00486d65bdb035.js | 1 - .../admin-gui/827-es5.48873b00486d65bdb035.js | 1 - ....js => 901-es2015.888dd3ad307f2e618d50.js} | 0 ...159.js => 901-es5.888dd3ad307f2e618d50.js} | 0 .../assets/config/defaultConfig.json | 14 +- .../apps/admin-gui/assets/config/version.json | 2 +- dist/apps/admin-gui/assets/i18n/en.json | 32 +- dist/apps/admin-gui/index.html | 22 +- .../main-es2015.af0cb7e3f45c254d3a3f.js | 1 - .../main-es2015.e82f0220ef323c65b80b.js | 1 + .../main-es5.af0cb7e3f45c254d3a3f.js | 1 - .../main-es5.e82f0220ef323c65b80b.js | 1 + .../runtime-es2015.810eea43729ccbfd0db8.js | 1 - .../runtime-es2015.dd1caf12877d38408568.js | 1 + .../runtime-es5.810eea43729ccbfd0db8.js | 1 - .../runtime-es5.dd1caf12877d38408568.js | 1 + ...cc.css => styles.b3d6539f05b86c28d056.css} | 2 +- dist/apps/publications/3rdpartylicenses.txt | 292 ++++++++++++++---- .../assets/config/defaultConfig.json | 9 +- dist/apps/publications/index.html | 4 +- .../publications/main.03695dac3c2e50b9f23a.js | 1 - .../publications/main.f282def67ca75d146c7c.js | 1 + .../runtime.39b048325b88e3c2f5aa.js | 1 + .../runtime.f9eb7d559edab17495f4.js | 1 - dist/apps/user-profile/3rdpartylicenses.txt | 292 ++++++++++++++---- .../assets/config/defaultConfig.json | 6 +- dist/apps/user-profile/assets/i18n/cs.json | 23 +- dist/apps/user-profile/assets/i18n/en.json | 25 +- dist/apps/user-profile/index.html | 12 +- .../main-es2015.217ef2970196a2dde1ef.js | 1 + .../main-es2015.fc8b4aeb37c64453f62c.js | 1 - .../main-es5.217ef2970196a2dde1ef.js | 1 + .../main-es5.fc8b4aeb37c64453f62c.js | 1 - ... => polyfills-es5.4b1cffe994fd72a2e04e.js} | 2 +- .../runtime-es2015.187f5bc9d6012c2659ac.js | 1 - .../runtime-es2015.a84b8f17a9e4b45b2335.js | 1 + .../runtime-es5.187f5bc9d6012c2659ac.js | 1 - .../runtime-es5.a84b8f17a9e4b45b2335.js | 1 + ...f0.css => styles.18cd998327c1238971e5.css} | 2 +- 62 files changed, 608 insertions(+), 240 deletions(-) delete mode 100644 dist/apps/admin-gui/285-es2015.751d166c412b8dc80541.js create mode 100644 dist/apps/admin-gui/285-es2015.9193f58c245ff8f7ab70.js delete mode 100644 dist/apps/admin-gui/285-es5.751d166c412b8dc80541.js create mode 100644 dist/apps/admin-gui/285-es5.9193f58c245ff8f7ab70.js create mode 100644 dist/apps/admin-gui/300-es2015.380c59923665a5c71713.js delete mode 100644 dist/apps/admin-gui/300-es2015.a828853dfe9786d61a8d.js create mode 100644 dist/apps/admin-gui/300-es5.380c59923665a5c71713.js delete mode 100644 dist/apps/admin-gui/300-es5.a828853dfe9786d61a8d.js rename dist/apps/admin-gui/{363-es2015.9c3a7cea17cb338ca650.js => 363-es2015.6854c45126452ae56e78.js} (99%) rename dist/apps/admin-gui/{363-es5.9c3a7cea17cb338ca650.js => 363-es5.6854c45126452ae56e78.js} (99%) delete mode 100644 dist/apps/admin-gui/427-es2015.1c911b592f126adfd085.js create mode 100644 dist/apps/admin-gui/427-es2015.e77dcafd30825535e3e2.js delete mode 100644 dist/apps/admin-gui/427-es5.1c911b592f126adfd085.js create mode 100644 dist/apps/admin-gui/427-es5.e77dcafd30825535e3e2.js delete mode 100644 dist/apps/admin-gui/579-es2015.a7ecabb9fc862945e886.js create mode 100644 dist/apps/admin-gui/579-es2015.ddd625fed6493381003c.js delete mode 100644 dist/apps/admin-gui/579-es5.a7ecabb9fc862945e886.js create mode 100644 dist/apps/admin-gui/579-es5.ddd625fed6493381003c.js create mode 100644 dist/apps/admin-gui/622-es2015.821b26e4eb3cd47c7b63.js create mode 100644 dist/apps/admin-gui/622-es5.821b26e4eb3cd47c7b63.js rename dist/apps/admin-gui/{756-es2015.191260c437bd1ee35217.js => 756-es2015.fd8c1941495de039c410.js} (100%) rename dist/apps/admin-gui/{756-es5.191260c437bd1ee35217.js => 756-es5.fd8c1941495de039c410.js} (100%) delete mode 100644 dist/apps/admin-gui/827-es2015.48873b00486d65bdb035.js delete mode 100644 dist/apps/admin-gui/827-es5.48873b00486d65bdb035.js rename dist/apps/admin-gui/{901-es2015.5b604fcd09c050f65159.js => 901-es2015.888dd3ad307f2e618d50.js} (100%) rename dist/apps/admin-gui/{901-es5.5b604fcd09c050f65159.js => 901-es5.888dd3ad307f2e618d50.js} (100%) delete mode 100644 dist/apps/admin-gui/main-es2015.af0cb7e3f45c254d3a3f.js create mode 100644 dist/apps/admin-gui/main-es2015.e82f0220ef323c65b80b.js delete mode 100644 dist/apps/admin-gui/main-es5.af0cb7e3f45c254d3a3f.js create mode 100644 dist/apps/admin-gui/main-es5.e82f0220ef323c65b80b.js delete mode 100644 dist/apps/admin-gui/runtime-es2015.810eea43729ccbfd0db8.js create mode 100644 dist/apps/admin-gui/runtime-es2015.dd1caf12877d38408568.js delete mode 100644 dist/apps/admin-gui/runtime-es5.810eea43729ccbfd0db8.js create mode 100644 dist/apps/admin-gui/runtime-es5.dd1caf12877d38408568.js rename dist/apps/admin-gui/{styles.0e5555aa915d4ccb32cc.css => styles.b3d6539f05b86c28d056.css} (99%) delete mode 100644 dist/apps/publications/main.03695dac3c2e50b9f23a.js create mode 100644 dist/apps/publications/main.f282def67ca75d146c7c.js create mode 100644 dist/apps/publications/runtime.39b048325b88e3c2f5aa.js delete mode 100644 dist/apps/publications/runtime.f9eb7d559edab17495f4.js create mode 100644 dist/apps/user-profile/main-es2015.217ef2970196a2dde1ef.js delete mode 100644 dist/apps/user-profile/main-es2015.fc8b4aeb37c64453f62c.js create mode 100644 dist/apps/user-profile/main-es5.217ef2970196a2dde1ef.js delete mode 100644 dist/apps/user-profile/main-es5.fc8b4aeb37c64453f62c.js rename dist/apps/user-profile/{polyfills-es5.7216750f1b97e5296df6.js => polyfills-es5.4b1cffe994fd72a2e04e.js} (99%) delete mode 100644 dist/apps/user-profile/runtime-es2015.187f5bc9d6012c2659ac.js create mode 100644 dist/apps/user-profile/runtime-es2015.a84b8f17a9e4b45b2335.js delete mode 100644 dist/apps/user-profile/runtime-es5.187f5bc9d6012c2659ac.js create mode 100644 dist/apps/user-profile/runtime-es5.a84b8f17a9e4b45b2335.js rename dist/apps/user-profile/{styles.5a7c0321cd70b046b9f0.css => styles.18cd998327c1238971e5.css} (99%) diff --git a/dist/apps/admin-gui/285-es2015.751d166c412b8dc80541.js b/dist/apps/admin-gui/285-es2015.751d166c412b8dc80541.js deleted file mode 100644 index 85f6a2127..000000000 --- a/dist/apps/admin-gui/285-es2015.751d166c412b8dc80541.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[285],{1285:function(t,e,n){"use strict";n.r(e),n.d(e,{AdminModule:function(){return pp}});var r={};n.r(r),n.d(r,{forceCenter:function(){return Eo},forceCollide:function(){return Lo},forceLink:function(){return Bo},forceManyBody:function(){return Wo},forceRadial:function(){return $o},forceSimulation:function(){return Qo},forceX:function(){return Xo},forceY:function(){return Ko}});var i=n(61511),o=n(57629),a=n(75585),s=n(31572),u=n(48958),c=n(66297),l=n(43691),h=n(21575),f=n(48160);const d=function(){return{color:"black"}};let p=(()=>{class t{constructor(t,e){this.sideMenuService=t,this.sideMenuItemService=e}ngOnInit(){this.sideMenuService.setAdminItems([])}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(u.D),s.Y36(a.V))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-page"]],decls:7,vars:5,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","admin-theme"],[1,"page-title","d-flex"],["svgIcon","perun-perun-admin",1,"perun-icon","icon-scale",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.TgZ(2,"h1",1),s._UZ(3,"mat-icon",2),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(3),s.Q6J("ngStyle",s.DdM(4,d)),s.xp6(1),s.hij(" ",s.lcZ(5,2,"ADMIN.TITLE")," "))},directives:[c.W,l.Hw,i.PC,h.A],pipes:[f.X$],styles:[""]}),t})();var g=n(8557);let m=(()=>{class t{constructor(){this.navItems=[{cssIcon:"perun-attributes",url:"/admin/attributes",label:"MENU_ITEMS.ADMIN.ATTRIBUTES",style:"admin-btn"},{cssIcon:"perun-user",url:"/admin/users",label:"MENU_ITEMS.ADMIN.USERS",style:"admin-btn"},{cssIcon:"perun-owner-grey",url:"/admin/owners",label:"MENU_ITEMS.ADMIN.OWNERS",style:"admin-btn"},{cssIcon:"perun-service",url:"/admin/services",label:"MENU_ITEMS.ADMIN.SERVICES",style:"admin-btn"},{cssIcon:"perun-preview",url:"/admin/visualizer",label:"MENU_ITEMS.ADMIN.VISUALIZER",style:"admin-btn"},{cssIcon:"perun-external-sources",url:"/admin/ext_sources",label:"MENU_ITEMS.ADMIN.EXT_SOURCES",style:"admin-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-menu-buttons-field",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("items",e.navItems)("size","small"))},directives:[g.L],styles:[""]}),t})();var v=n(4230),y=n(84608),_=n(67033),w=n(88426),b=n(33642),x=n(15980),E=n(67806),T=n(39571);function A(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function S(t,e){1&t&&s._UZ(0,"th",16)}function I(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.friendlyName," ")}}function C(t,e){1&t&&s._UZ(0,"tr",18)}function D(t,e){1&t&&s._UZ(0,"tr",19)}function N(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"div"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,S,1,0,"th",11),s.YNc(10,I,2,1,"td",12),s.BQk(),s.YNc(11,C,1,0,"tr",13),s.YNc(12,D,1,0,"tr",14),s.qZA(),s.TgZ(13,"app-alert",15),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(2),s.hij(" ",s.lcZ(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}let k=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.attributesManager=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new _.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=[];for(const e of this.data.attributes)t.push(e.id);this.attributesManager.deleteAttributeDefinitions(t).subscribe(()=>{this.translate.get("DIALOGS.DELETE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-attribute-definition-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","error",1,"mt-3"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,A,1,0,"mat-spinner",1),s.YNc(5,N,16,12,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,T.w,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$],styles:[""]}),t})();var Z=n(14732),M=n(36922),O=n(66283),R=n(80340),L=n(16073),U=n(10901),P=n(4786),F=n(27521),q=n(29236),z=n(71522);function j(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function Y(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function B(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function J(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function G(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function V(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function H(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function Q(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function W(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function $(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function X(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field",9),s.TgZ(2,"label"),s.TgZ(3,"input",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.friendlyName=e}),s.ALo(4,"translate"),s.qZA(),s.qZA(),s.YNc(5,Y,3,3,"mat-error",11),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"mat-form-field",9),s.TgZ(8,"label"),s.TgZ(9,"input",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.displayName=e}),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.YNc(11,B,3,3,"mat-error",11),s.qZA(),s._UZ(12,"br"),s.TgZ(13,"mat-form-field",9),s.TgZ(14,"label"),s.TgZ(15,"textarea",12),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.description=e}),s.ALo(16,"translate"),s._uU(17," "),s.qZA(),s.qZA(),s.YNc(18,J,3,3,"mat-error",11),s.qZA(),s._UZ(19,"br"),s.TgZ(20,"mat-form-field",9),s.TgZ(21,"mat-placeholder"),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().entity=e}),s.YNc(25,G,2,2,"mat-option",14),s.qZA(),s.YNc(26,V,3,3,"mat-error",11),s.qZA(),s._UZ(27,"br"),s.TgZ(28,"mat-form-field",9),s.TgZ(29,"mat-placeholder"),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.TgZ(32,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().definitionType=e}),s.YNc(33,H,2,2,"mat-option",14),s.qZA(),s.YNc(34,Q,3,3,"mat-error",11),s.qZA(),s._UZ(35,"br"),s.TgZ(36,"mat-form-field",9),s.TgZ(37,"mat-placeholder"),s._uU(38),s.ALo(39,"translate"),s.qZA(),s.TgZ(40,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().valueType=e}),s.YNc(41,W,2,2,"mat-option",14),s.qZA(),s.YNc(42,$,3,3,"mat-error",11),s.qZA(),s._UZ(43,"br"),s.TgZ(44,"div",15),s.TgZ(45,"p"),s._uU(46),s.ALo(47,"translate"),s.qZA(),s.TgZ(48,"p",16),s.NdJ("click",function(){return s.CHM(t),s.oxw().attDef.unique=!1}),s._uU(49,"OFF"),s.qZA(),s.TgZ(50,"mat-slide-toggle",17),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.unique=e}),s.ALo(51,"translate"),s._uU(52," ON "),s.qZA(),s.qZA(),s.TgZ(53,"div",18),s.TgZ(54,"p",19),s._uU(55),s.ALo(56,"translate"),s.qZA(),s.TgZ(57,"p",20),s._uU(58),s.ALo(59,"translate"),s.qZA(),s.qZA(),s.TgZ(60,"div",21),s.TgZ(61,"p",22),s._uU(62),s.ALo(63,"translate"),s.qZA(),s.TgZ(64,"mat-checkbox",23),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelf=e}),s.qZA(),s.TgZ(65,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelf=e}),s.qZA(),s.qZA(),s.TgZ(66,"div",21),s.TgZ(67,"p",22),s._uU(68),s.ALo(69,"translate"),s.qZA(),s.TgZ(70,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelfPublic=e}),s.qZA(),s.TgZ(71,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelfPublic=e}),s.qZA(),s.qZA(),s.TgZ(72,"div",21),s.TgZ(73,"p",22),s._uU(74),s.ALo(75,"translate"),s.qZA(),s.TgZ(76,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelfVo=e}),s.qZA(),s.TgZ(77,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelfVo=e}),s.qZA(),s.qZA(),s.TgZ(78,"div",21),s.TgZ(79,"p",22),s._uU(80),s.ALo(81,"translate"),s.qZA(),s.TgZ(82,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readVo=e}),s.qZA(),s.TgZ(83,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeVo=e}),s.qZA(),s.qZA(),s.TgZ(84,"div",21),s.TgZ(85,"p",22),s._uU(86),s.ALo(87,"translate"),s.qZA(),s.TgZ(88,"mat-checkbox",28),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readGroup=e}),s.qZA(),s.TgZ(89,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeGroup=e}),s.qZA(),s.qZA(),s.TgZ(90,"div",21),s.TgZ(91,"p",22),s._uU(92),s.ALo(93,"translate"),s.qZA(),s.TgZ(94,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readFacility=e}),s.qZA(),s.TgZ(95,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeFacility=e}),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),s.Q6J("ngModel",t.attDef.friendlyName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.friendlyName),s.xp6(4),s.s9C("placeholder",s.lcZ(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),s.Q6J("ngModel",t.attDef.displayName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.displayName),s.xp6(4),s.s9C("placeholder",s.lcZ(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),s.Q6J("ngModel",t.attDef.description),s.xp6(3),s.Q6J("ngIf",""===t.attDef.description),s.xp6(4),s.Oqu(s.lcZ(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),s.xp6(2),s.Q6J("ngModel",t.entity),s.xp6(1),s.Q6J("ngForOf",t.entities),s.xp6(1),s.Q6J("ngIf",""===t.attDef.entity),s.xp6(4),s.Oqu(s.lcZ(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),s.xp6(2),s.Q6J("ngModel",t.definitionType),s.xp6(1),s.Q6J("ngForOf",t.definitionTypes),s.xp6(1),s.Q6J("ngIf",""===t.definitionType),s.xp6(4),s.Oqu(s.lcZ(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),s.xp6(2),s.Q6J("ngModel",t.valueType),s.xp6(1),s.Q6J("ngForOf",t.valueTypes),s.xp6(1),s.Q6J("ngIf",""===t.valueType),s.xp6(4),s.Oqu(s.lcZ(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),s.xp6(4),s.s9C("matTooltip",s.lcZ(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),s.Q6J("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),s.xp6(5),s.Oqu(s.lcZ(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),s.xp6(3),s.Oqu(s.lcZ(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),s.xp6(4),s.Oqu(s.lcZ(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),s.xp6(2),s.Q6J("ngModel",t.readSelf),s.xp6(1),s.Q6J("ngModel",t.writeSelf),s.xp6(3),s.Oqu(s.lcZ(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),s.xp6(2),s.Q6J("ngModel",t.readSelfPublic),s.xp6(1),s.Q6J("ngModel",t.writeSelfPublic),s.xp6(3),s.Oqu(s.lcZ(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),s.xp6(2),s.Q6J("ngModel",t.readSelfVo),s.xp6(1),s.Q6J("ngModel",t.writeSelfVo),s.xp6(3),s.Oqu(s.lcZ(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),s.xp6(2),s.Q6J("ngModel",t.readVo),s.xp6(1),s.Q6J("ngModel",t.writeVo),s.xp6(3),s.Oqu(s.lcZ(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),s.xp6(2),s.Q6J("ngModel",t.readGroup),s.xp6(1),s.Q6J("ngModel",t.writeGroup),s.xp6(3),s.Oqu(s.lcZ(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),s.xp6(2),s.Q6J("ngModel",t.readFacility),s.xp6(1),s.Q6J("ngModel",t.writeFacility)}}let K=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.translate=n,this.attributesManager=r,this.loading=!1,this.entities=["facility","resource","group","group_resource","host","member","member_group","member_resource","user","user_ext_source","user_facility","vo","entityless"],this.definitionTypes=["def","opt","virt","core"],this.definitionType="",this.valueTypes=["String","Integer","Boolean","Array","LinkedHashMap"],this.valueType="",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1}ngOnInit(){this.attDef={beanName:"",description:"",displayName:"",entity:"",friendlyName:"",id:void 0,namespace:"",type:"",unique:!1,writable:!1}}onSubmit(){this.loading=!0,this.attDef.namespace="urn:perun:"+this.entity+":attribute-def:"+this.definitionType,this.readValueType(),this.attributesManager.createAttributeDefinition({attribute:this.attDef}).subscribe(t=>{this.attDef=t,this.attributesManager.setAttributeRights({rights:this.readRights()}).subscribe(()=>{this.translate.get("DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}readRights(){const t=[],e={};e.attributeId=this.attDef.id,e.role=Z.u.SELF,e.rights=[],this.readSelf&&e.rights.push("READ"),this.readSelfPublic&&e.rights.push("READ_PUBLIC"),this.readSelfVo&&e.rights.push("READ_VO"),this.writeSelf&&e.rights.push("WRITE"),this.writeSelfPublic&&e.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&e.rights.push("WRITE_VO"),t.push(e);const n={};n.attributeId=this.attDef.id,n.role=Z.u.VOADMIN,n.rights=[],this.readVo&&n.rights.push(b.Us.READ),this.writeVo&&n.rights.push(b.Us.WRITE),t.push(n);const r={};r.attributeId=this.attDef.id,r.role=Z.u.GROUPADMIN,r.rights=[],this.readGroup&&r.rights.push(b.Us.READ),this.writeGroup&&r.rights.push(b.Us.WRITE),t.push(r);const i={};return i.attributeId=this.attDef.id,i.role=Z.u.FACILITYADMIN,i.rights=[],this.readFacility&&i.rights.push(b.Us.READ),this.writeFacility&&i.rights.push(b.Us.WRITE),t.push(i),t}readValueType(){switch(this.valueType){case"String":this.attDef.type="java.lang.String";break;case"Integer":this.attDef.type="java.lang.Integer";break;case"Boolean":this.attDef.type="java.lang.Boolean";break;case"Array":this.attDef.type="java.util.ArrayList";break;case"LinkedHashMap":this.attDef.type="java.util.LinkedHashMap"}}disableConfirmButton(){return""===this.attDef.friendlyName||""===this.attDef.displayName||""===this.attDef.description||""===this.entity||""===this.definitionType||""===this.valueType||this.loading}disableUniqueToggle(){return("virt"===this.definitionType||"entityless"===this.entity)&&(this.attDef.unique=!1,!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-create-attribute-definition-dialog"]],decls:14,vars:16,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"form-field-width"],["matInput","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],[4,"ngIf"],["matInput","","cdkTextareaAutosize","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],["required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,j,1,0,"mat-spinner",2),s.YNc(5,X,96,78,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.onSubmit()}),s.ALo(11,"translate"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),s.Q6J("disabled",e.disableConfirmButton())("matTooltipDisabled",!e.disableConfirmButton()),s.xp6(2),s.hij(" ",s.lcZ(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[y.uh,i.O5,y.H8,x.lW,M.gM,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On,U.IC,O.UY,P.gD,i.sg,F.Rr,q.oG,O.TO,z.ey],pipes:[f.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.form-field-width[_ngcontent-%COMP%]{width:450px}.pointer[_ngcontent-%COMP%]{cursor:pointer}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"]}),t})();var tt=n(84140),et=n(60611);function nt(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function rt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"app-alert",9),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",10),s.TgZ(5,"input",11),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().value=e}),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),s.xp6(3),s.Q6J("ngModel",t.value)("placeholder",s.lcZ(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}let it=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.translate=n,this.attributesManager=r,this.value="",this.loading=!1}create(){try{this.loading=!0,this.attributeData=JSON.parse(this.value),this.attributesManager.createAttributeDefinition({attribute:this.attributeData.attributeDefinition}).subscribe(t=>{for(let e=0;e{this.notificator.showSuccess(this.translate.instant("DIALOGS.IMPORT_ATTRIBUTE_DEFINITION.SUCCESS")),this.dialogRef.close(!0)})},()=>this.loading=!1)}catch(t){console.log(t),this.notificator.showError(t),this.loading=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-attribute-import-dialog"]],decls:13,vars:12,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","info"],[1,"w-100"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,nt,1,0,"mat-spinner",2),s.YNc(5,rt,7,7,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.create()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.IMPORT_ATTRIBUTE.TITLE")," "),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,8,"DIALOGS.IMPORT_ATTRIBUTE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===e.value.trim().length||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"DIALOGS.IMPORT_ATTRIBUTE.CREATE")," "))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,T.w,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On],pipes:[f.X$],styles:[""]}),t})();var ot=n(59403),at=n(19139),st=n(58623),ut=n(17),ct=n(81391),lt=n(91721),ht=n(41939),ft=n(82819),dt=n(51556);function pt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",22),s.TgZ(1,"mat-checkbox",23),s.NdJ("change",function(e){s.CHM(t);const n=s.oxw(2);return e?n.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function gt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(e){const n=s.CHM(t).$implicit,r=s.oxw(2);return e?r.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function mt(t,e){1&t&&(s.TgZ(0,"th",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function vt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",27),s.TgZ(1,"label"),s.TgZ(2,"input",28),s.NdJ("ngModelChange",function(){const e=s.CHM(t).$implicit;return s.oxw(2).onValueChange(e)})("ngModelChange",function(t){return e.$implicit[0]=t}),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(2),s.Q6J("ngModel",t[0])}}function yt(t,e){1&t&&(s.TgZ(0,"th",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function _t(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",27),s.TgZ(1,"perun-web-apps-attribute-value",29),s.NdJ("sendEventToParent2",function(){const e=s.CHM(t).$implicit;return s.oxw(2).onValueChange(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Q6J("attribute",t[1])}}function wt(t,e){1&t&&s._UZ(0,"tr",30)}function bt(t,e){1&t&&s._UZ(0,"tr",31)}function xt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",10),s.TgZ(1,"perun-web-apps-table-wrapper",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw().page.emit(e)}),s.TgZ(2,"table",12),s.ynx(3,13),s.YNc(4,pt,2,3,"th",14),s.YNc(5,gt,2,2,"td",15),s.BQk(),s.ynx(6,16),s.YNc(7,mt,3,3,"th",17),s.YNc(8,vt,3,1,"td",18),s.BQk(),s.ynx(9,19),s.YNc(10,yt,3,3,"th",17),s.YNc(11,_t,2,1,"td",18),s.BQk(),s.YNc(12,wt,1,0,"tr",20),s.YNc(13,bt,1,0,"tr",21),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(10),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function Et(t,e){1&t&&s._UZ(0,"mat-spinner",32)}function Tt(t,e){1&t&&(s.TgZ(0,"app-alert",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}let At=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.attributesManager=i,this.pageSize=10,this.page=new s.vpe,this.switchView=new s.vpe,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new _.by,this.selection=new v.Ov(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=tt.f7}set matSort(t){this.sort=t}ngOnChanges(){this.ngOnInit()}ngOnInit(){this.loading=!0,this.attDef=this.data.attDef,this.attributesManager.getEntitylessKeys(this.attDef.id).subscribe(t=>{this.attributesManager.getEntitylessAttributesByName(`${this.attDef.namespace}:${this.attDef.friendlyName}`).subscribe(e=>{let n=0;this.records=[];for(const r of t)this.records.push([r,e[n]]),n++;this.dataSource=new _.by(this.records),this.setDataSource(),this.loading=!1})})}setDataSource(){this.child&&this.child.paginator&&this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}onSave(){this.updateMapAttributes();for(const t of this.selection.selected)this.attributesManager.setEntitylessAttribute({key:t[0],attribute:t[1]}).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.ngOnInit()})});this.selection.clear(),this.isAddButtonDisabled=!1}onRemove(){for(const t of this.selection.selected)this.attributesManager.removeEntitylessAttribute(t[0],t[1].id).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.ngOnInit()})});this.ngOnInit(),this.selection.clear(),this.isAddButtonDisabled=!1}onAdd(){const t=["",this.attDef];t[1].value=void 0,this.records.unshift(t),this.dataSource.data=this.records,this.setDataSource(),this.selection.clear(),this.selection.select(t),this.isAddButtonDisabled=!0}onCancel(){this.dialogRef.close(!1)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t))}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t[1].id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onValueChange(t){this.selection.select(t)}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}ngAfterViewInit(){this.children.changes.subscribe(t=>{this.child=t.first,this.dataSource.paginator=this.child.paginator})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(st.YE,7),s.Gf(tt.l9,5),s.Gf(ht.Mw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.children=t),s.iGM(t=s.CRH())&&(e.items=t)}},inputs:{attDef:"attDef",pageSize:"pageSize"},outputs:{page:"page",switchView:"switchView"},features:[s.TTD],decls:19,vars:19,consts:[["mat-dialog-title",""],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltip","save or remove new attribute first","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-dialog-content","",1,"mt-3",3,"hidden"],["class","card mt-3",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[3,"dataLength","hideExport","pageSizeOptions","pageSize","page"],["mat-table","","matSort","","matSortActive","key","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","key"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matInput","","placeholder","New key",1,"mt-2",3,"ngModel","ngModelChange"],[3,"attribute","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[1,"ml-auto","mr-auto"],["alert_type","info",1,"mt-3"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"button",2),s.NdJ("click",function(){return e.switchView.emit()}),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",3),s.NdJ("click",function(){return e.onSave()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",4),s.NdJ("click",function(){return e.onAdd()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onRemove()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.TgZ(15,"div",6),s.YNc(16,xt,14,7,"div",7),s.YNc(17,Et,1,0,"mat-spinner",8),s.YNc(18,Tt,3,3,"app-alert",9),s.qZA()),2&t&&(s.xp6(1),s.Oqu(e.attDef.namespace+":"+e.attDef.friendlyName),s.xp6(3),s.hij(" ",s.lcZ(5,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(8,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),s.xp6(2),s.Q6J("disabled",e.isAddButtonDisabled)("matTooltipDisabled",!e.isAddButtonDisabled),s.xp6(1),s.hij(" ",s.lcZ(11,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),s.xp6(3),s.hij(" ",s.lcZ(14,17,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),s.xp6(2),s.Q6J("hidden",e.loading),s.xp6(1),s.Q6J("ngIf",e.records&&e.records.length),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",0===e.records.length))},directives:[y.uh,y.H8,x.lW,M.gM,y.xY,i.O5,ft.l,_.BZ,st.YE,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,q.oG,_.ev,st.nU,R.Nt,L.Fj,L.JJ,L.On,dt.M,_.XQ,_.Gk,E.$g,T.w],pipes:[f.X$],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),t})();const St=["copiedTooltip"];function It(t,e){1&t&&s._UZ(0,"mat-spinner",12)}function Ct(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Dt(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}const Nt=function(){return["id","name","enabled","script"]};function kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"mat-form-field",3),s.TgZ(2,"label"),s.TgZ(3,"input",14),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.displayName=e}),s.ALo(4,"translate"),s.qZA(),s.qZA(),s.YNc(5,Ct,3,3,"mat-error",2),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"mat-form-field",3),s.TgZ(8,"label"),s.TgZ(9,"textarea",15),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.description=e}),s.ALo(10,"translate"),s._uU(11," "),s.qZA(),s.qZA(),s.YNc(12,Dt,3,3,"mat-error",2),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"div",16),s.TgZ(15,"p"),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"p",17),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).attDef.unique=!1}),s._uU(19,"OFF"),s.qZA(),s.TgZ(20,"mat-slide-toggle",18),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.unique=e}),s.ALo(21,"translate"),s._uU(22," ON "),s.qZA(),s.qZA(),s.TgZ(23,"div",19),s.TgZ(24,"p",20),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.TgZ(27,"p",21),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.TgZ(30,"div",22),s.TgZ(31,"p",23),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelf=e}),s.qZA(),s.TgZ(35,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelf=e}),s.qZA(),s.qZA(),s.TgZ(36,"div",22),s.TgZ(37,"p",23),s._uU(38),s.ALo(39,"translate"),s.qZA(),s.TgZ(40,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelfPublic=e}),s.qZA(),s.TgZ(41,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelfPublic=e}),s.qZA(),s.qZA(),s.TgZ(42,"div",22),s.TgZ(43,"p",23),s._uU(44),s.ALo(45,"translate"),s.qZA(),s.TgZ(46,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelfVo=e}),s.qZA(),s.TgZ(47,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelfVo=e}),s.qZA(),s.qZA(),s.TgZ(48,"div",22),s.TgZ(49,"p",23),s._uU(50),s.ALo(51,"translate"),s.qZA(),s.TgZ(52,"mat-checkbox",28),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readVo=e}),s.qZA(),s.TgZ(53,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeVo=e}),s.qZA(),s.qZA(),s.TgZ(54,"div",22),s.TgZ(55,"p",23),s._uU(56),s.ALo(57,"translate"),s.qZA(),s.TgZ(58,"mat-checkbox",29),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readGroup=e}),s.qZA(),s.TgZ(59,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeGroup=e}),s.qZA(),s.qZA(),s.TgZ(60,"div",22),s.TgZ(61,"p",23),s._uU(62),s.ALo(63,"translate"),s.qZA(),s.TgZ(64,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readFacility=e}),s.qZA(),s.TgZ(65,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeFacility=e}),s.qZA(),s.qZA(),s.TgZ(66,"div",30),s.TgZ(67,"p"),s._uU(68),s.ALo(69,"translate"),s.qZA(),s._UZ(70,"app-services-list",31),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(3),s.s9C("placeholder",s.lcZ(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),s.Q6J("ngModel",t.attDef.displayName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.displayName),s.xp6(4),s.s9C("placeholder",s.lcZ(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),s.Q6J("ngModel",t.attDef.description),s.xp6(3),s.Q6J("ngIf",""===t.attDef.description),s.xp6(4),s.Oqu(s.lcZ(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),s.xp6(4),s.s9C("matTooltip",s.lcZ(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),s.Q6J("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),s.xp6(5),s.Oqu(s.lcZ(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),s.xp6(3),s.Oqu(s.lcZ(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),s.xp6(4),s.Oqu(s.lcZ(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),s.xp6(2),s.Q6J("ngModel",t.readSelf),s.xp6(1),s.Q6J("ngModel",t.writeSelf),s.xp6(3),s.Oqu(s.lcZ(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),s.xp6(2),s.Q6J("ngModel",t.readSelfPublic),s.xp6(1),s.Q6J("ngModel",t.writeSelfPublic),s.xp6(3),s.Oqu(s.lcZ(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),s.xp6(2),s.Q6J("ngModel",t.readSelfVo),s.xp6(1),s.Q6J("ngModel",t.writeSelfVo),s.xp6(3),s.Oqu(s.lcZ(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),s.xp6(2),s.Q6J("ngModel",t.readVo),s.xp6(1),s.Q6J("ngModel",t.writeVo),s.xp6(3),s.Oqu(s.lcZ(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),s.xp6(2),s.Q6J("ngModel",t.readGroup),s.xp6(1),s.Q6J("ngModel",t.writeGroup),s.xp6(3),s.Oqu(s.lcZ(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),s.xp6(2),s.Q6J("ngModel",t.readFacility),s.xp6(1),s.Q6J("ngModel",t.writeFacility),s.xp6(3),s.Oqu(s.lcZ(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),s.xp6(2),s.Q6J("services",t.services)("displayedColumns",s.DdM(61,Nt))("disableRouting",!0)}}function Zt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",32),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).switchShowKeys()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function Mt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",3),s.TgZ(2,"h1",4),s._uU(3),s.qZA(),s.YNc(4,It,1,0,"mat-spinner",5),s.YNc(5,kt,71,62,"div",6),s.TgZ(6,"div",7),s.YNc(7,Zt,3,3,"button",8),s.TgZ(8,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCopy()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s.ALo(15,"translate"),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Oqu(t.attDef.namespace+":"+t.attDef.friendlyName),s.xp6(1),s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading),s.xp6(2),s.Q6J("ngIf","entityless"===t.attDef.entity),s.xp6(2),s.hij(" ",s.lcZ(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),s.Q6J("disabled",t.disableConfirmButton()||t.loading)("matTooltipDisabled",!t.disableConfirmButton()),s.xp6(2),s.hij(" ",s.lcZ(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function Ot(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"app-entityless-attribute-keys-list",33),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("switchView",function(){return s.CHM(t),s.oxw().switchShowKeys()}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("pageSize",t.pageSize)("attDef",t.attDef)}}let Rt=(()=>{class t{constructor(t,e,n,r,i,o,a,s,u){this.dialog=t,this.dialogRef=e,this.data=n,this.notificator=r,this.translate=i,this.clipboard=o,this.attributesManager=a,this.tableConfigService=s,this.serviceService=u,this.showKeys=!1,this.activatedComponent="Edit",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1,this.tableId=et.Wv,this.loading=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.dialogRef.addPanelClass("mat-dialog-height-transition"),this.attDef=this.data.attDef,this.serviceService.getServicesByAttributeDefinition(this.attDef.id).subscribe(t=>{this.services=t,this.attributesManager.getAttributeRights(this.attDef.id).subscribe(t=>{this.fromRightsToCheckboxes(t),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}disableConfirmButton(){return""===this.attDef.displayName||""===this.attDef.description}disableUniqueToggle(){return this.attDef.namespace.includes("virt")||this.attDef.namespace.includes("core")||"entityless"===this.attDef.entity}onSubmit(){this.loading=!0,this.attributesManager.updateAttributeDefinition({attributeDefinition:this.attDef}).subscribe(t=>{this.attDef=t,this.attributesManager.setAttributeRights({rights:this.fromCheckboxesToRights()}).subscribe(()=>{this.translate.get("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}fromCheckboxesToRights(){const t=[],e={};e.attributeId=this.attDef.id,e.role=Z.u.SELF,e.rights=[],this.readSelf&&e.rights.push("READ"),this.readSelfPublic&&e.rights.push("READ_PUBLIC"),this.readSelfVo&&e.rights.push("READ_VO"),this.writeSelf&&e.rights.push("WRITE"),this.writeSelfPublic&&e.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&e.rights.push("WRITE_VO"),t.push(e);const n={};n.attributeId=this.attDef.id,n.role=Z.u.VOADMIN,n.rights=[],this.readVo&&n.rights.push("READ"),this.writeVo&&n.rights.push("WRITE"),t.push(n);const r={};r.attributeId=this.attDef.id,r.role=Z.u.GROUPADMIN,r.rights=[],this.readGroup&&r.rights.push(b.Us.READ),this.writeGroup&&r.rights.push("WRITE"),t.push(r);const i={};return i.attributeId=this.attDef.id,i.role=Z.u.FACILITYADMIN,i.rights=[],this.readFacility&&i.rights.push("READ"),this.writeFacility&&i.rights.push("WRITE"),t.push(i),t}fromRightsToCheckboxes(t){for(const e of t)switch(e.role){case Z.u.SELF:e.rights.includes("READ")&&(this.readSelf=!0),e.rights.includes("READ_PUBLIC")&&(this.readSelfPublic=!0),e.rights.includes("READ_VO")&&(this.readSelfVo=!0),e.rights.includes("WRITE")&&(this.writeSelf=!0),e.rights.includes("WRITE_PUBLIC")&&(this.writeSelfPublic=!0),e.rights.includes("WRITE_VO")&&(this.writeSelfVo=!0);break;case Z.u.GROUPADMIN:e.rights.includes("READ")&&(this.readGroup=!0),e.rights.includes("WRITE")&&(this.writeGroup=!0);break;case Z.u.FACILITYADMIN:e.rights.includes("READ")&&(this.readFacility=!0),e.rights.includes("WRITE")&&(this.writeFacility=!0);break;case Z.u.VOADMIN:e.rights.includes("READ")&&(this.readVo=!0),e.rights.includes("WRITE")&&(this.writeVo=!0)}}switchShowKeys(){this.showKeys=!this.showKeys,this.showKeys?(this.dialogRef.updateSize("800px"),this.activatedComponent="Entityless"):(this.dialogRef.updateSize("700px"),this.activatedComponent="Edit")}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCopy(){const t={attributeDefinition:this.attDef,attributeRights:this.fromCheckboxesToRights()};this.clipboard.copy(JSON.stringify(t))?this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPIED")):this.notificator.showError(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FAILED"))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(ct.TU),s.Y36(b.H8),s.Y36(et.dB),s.Y36(b.KK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(t,e){if(1&t&&s.Gf(St,5),2&t){let t;s.iGM(t=s.CRH())&&(e.copiedToolTip=t.first)}},decls:4,vars:2,consts:[[1,"admin-theme"],[1,"parent"],[4,"ngIf"],[1,"width-650"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","","class","ml-0",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["matInput","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],["matInput","","cdkTextareaAutosize","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[1,"mt-4"],[3,"services","displayedColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"pageSize","attDef","page","switchView"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,Mt,18,18,"div",2),s.YNc(3,Ot,2,2,"div",2),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.showKeys),s.xp6(1),s.Q6J("ngIf",e.showKeys))},directives:[i.O5,y.uh,y.H8,x.lW,M.gM,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On,U.IC,F.Rr,q.oG,lt.Q,O.TO,At],pipes:[f.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.width-650[_ngcontent-%COMP%]{width:650px!important}.pointer[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]{overflow:hidden}.parent[_ngcontent-%COMP%]{display:flex}.parent[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[ut.SG,ut.GH,ut.Ls]}}),t})(),Lt=(()=>{class t{transform(t){if(null===t)return null;const e=t;return e.substring(e.lastIndexOf(":")+1,e.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"nameSpaceToDef",type:t,pure:!0}),t})(),Ut=(()=>{class t{transform(t){if(null===t)return null;const e=t;return e.substring(e.lastIndexOf(".")+1,e.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"attributeTypeClean",type:t,pure:!0}),t})();function Pt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){s.CHM(t);const n=s.oxw();return e?n.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ft(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",20),s.TgZ(1,"mat-checkbox",21),s.NdJ("change",function(e){const n=s.CHM(t).$implicit,r=s.oxw();return e?r.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function qt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")))}function zt(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function jt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")))}function Yt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.friendlyName)}}function Bt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")))}function Jt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.entity)}}function Gt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")))}function Vt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.ALo(2,"nameSpaceToDef"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.namespace))}}function Ht(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")))}function Qt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.ALo(2,"attributeTypeClean"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.type))}}function Wt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")))}function $t(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.unique)}}function Xt(t,e){1&t&&s._UZ(0,"tr",24)}function Kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"tr",25),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().onRowClick(e)}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("cursor-pointer",!t.disableRouting)}}function te(t,e){1&t&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function ee(t,e){1&t&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let ne=(()=>{class t{constructor(t,e,n){this.dialog=t,this.authResolver=e,this.tableCheckbox=n,this.selection=new v.Ov(!0,[]),this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.pageSize=10,this.disableRouting=!1,this.refreshEvent=new s.vpe,this.page=new s.vpe,this.pageSizeOptions=tt.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new _.by(this.definitions),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"friendlyName":return t.friendlyName;case"entity":return t.entity;case"namespace":if(t.namespace){const e=t.namespace;return e.substring(e.lastIndexOf(":")+1,e.length)}return"";case"type":if(t.type){const e=t.type;return e.substring(e.lastIndexOf(".")+1,e.length)}return"";case"unique":return t.unique?"true":"false";default:return""}}exportData(t){(0,tt.O6)((0,tt.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,tt.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,tt.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onRowClick(t){if(!this.disableRouting){const e=(0,tt.kZ)();e.width="700px",e.data={attDef:t},this.dialog.open(Rt,e).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refreshEvent.emit())})}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(w.x4),s.Y36(w.UA))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-attr-def-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(st.YE,7),s.Gf(tt.l9,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{definitions:"definitions",selection:"selection",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{refreshEvent:"refreshEvent",page:"page"},features:[s.TTD],decls:29,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","entity"],["matColumnDef","namespace"],["matColumnDef","type"],["matColumnDef","unique"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"div",2),s.TgZ(3,"table",3),s.ynx(4,4),s.YNc(5,Pt,2,3,"th",5),s.YNc(6,Ft,2,2,"td",6),s.BQk(),s.ynx(7,7),s.YNc(8,qt,3,3,"th",8),s.YNc(9,zt,2,1,"td",6),s.BQk(),s.ynx(10,9),s.YNc(11,jt,3,3,"th",8),s.YNc(12,Yt,2,1,"td",10),s.BQk(),s.ynx(13,11),s.YNc(14,Bt,3,3,"th",8),s.YNc(15,Jt,2,1,"td",10),s.BQk(),s.ynx(16,12),s.YNc(17,Gt,3,3,"th",8),s.YNc(18,Vt,3,3,"td",10),s.BQk(),s.ynx(19,13),s.YNc(20,Ht,3,3,"th",8),s.YNc(21,Qt,3,3,"td",10),s.BQk(),s.ynx(22,14),s.YNc(23,Wt,3,3,"th",8),s.YNc(24,$t,2,1,"td",10),s.BQk(),s.YNc(25,Xt,1,0,"tr",15),s.YNc(26,Kt,1,2,"tr",16),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.YNc(27,te,3,3,"app-alert",17),s.YNc(28,ee,3,3,"app-alert",17)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.definitions.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(2),s.Q6J("dataSource",e.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.definitions.length),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.definitions.length))},directives:[ft.l,_.BZ,st.YE,_.w1,_.fO,_.Dz,_.as,_.nj,i.O5,_.ge,q.oG,_.ev,st.nU,_.XQ,_.Gk,T.w],pipes:[f.X$,Lt,Ut],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function re(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCreate()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.CREATE")," "))}function ie(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onImport()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.IMPORT")," "))}function oe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onDelete()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.ATTRIBUTES.DELETE")," ")}}function ae(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function se(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-attr-def-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("refreshEvent",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selected)("filterValue",t.filterValue)("disableRouting",!t.authResolver.isPerunAdmin())}}let ue=(()=>{class t{constructor(t,e,n,r){this.dialog=t,this.attributesManager=e,this.tableConfigService=n,this.authResolver=r,this.attrDefinitions=[],this.selected=new v.Ov(!0,[]),this.filterValue="",this.tableId=et.uM}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}onCreate(){const t=(0,tt.kZ)();t.width="500px",this.dialog.open(K,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,tt.kZ)();t.width="450px",t.data={attributes:this.selected.selected,theme:"admin-theme"},this.dialog.open(k,t).afterClosed().subscribe(t=>{t&&(this.refreshTable(),this.selected.clear())})}refreshTable(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attrDefinitions=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onImport(){const t=(0,tt.kZ)();t.width="700px",this.dialog.open(it,t).afterClosed().subscribe(t=>{!0===t&&this.refreshTable()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(b.H8),s.Y36(et.dB),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,re,3,3,"button",2),s.YNc(6,ie,3,3,"button",2),s.YNc(7,oe,3,4,"button",3),s.TgZ(8,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(9,ae,1,0,"mat-spinner",5),s.YNc(10,se,1,5,"app-attr-def-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"ADMIN.ATTRIBUTES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.ATTRIBUTES.SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,ne],pipes:[f.X$],styles:[""]}),t})(),ce=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-visualizer"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"app-animated-router-outlet")},directives:[h.A],styles:[""]}),t})();var le=n(73180);let he=(()=>{class t{constructor(t){this.attributesManager=t}ngOnInit(){this.attributesManager.getAttributeModulesDependenciesGraphText("DOT").subscribe(t=>{const e=t.graph.replace("\\t","").replace("\\n","").replace("\\","");(0,le.graphviz)("#dependenciesGraph",{zoom:!1}).renderDot(e)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-visualizer-attr-modules"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:4,vars:3,consts:[[1,"page-subtitle"],["id","dependenciesGraph",1,"card"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s._UZ(3,"div",1)),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.VISUALIZER.ATTR_DEPENDENCIES.TITLE"),"\n"))},pipes:[f.X$],styles:["#dependenciesGraph[_ngcontent-%COMP%]{overflow-y:scroll}"]}),t})(),fe=(()=>{class t{constructor(){this.items=[{cssIcon:"perun-module-dependencies",url:"attrDependencies",label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",style:"admin-btn"},{cssIcon:"perun-user-destination-relationship",url:"userDestinationRelationship",label:"MENU_ITEMS.VISUALIZER.USER_DESTINATION",style:"admin-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-visualizer-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-menu-buttons-field",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("items",e.items)("size","small"))},directives:[g.L],styles:[""]}),t})();var de=n(47701),pe=n(98720),ge=n(66599),me=n(44689),ve=n(70663),ye=n(40084),_e=n(54810);function we(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_USER"))}function be(t,e){1&t&&s._UZ(0,"mat-spinner",17),2&t&&s.Q6J("diameter",20)("strokeWidth",2)}function xe(t,e){if(1&t&&(s.TgZ(0,"mat-option",18),s.TgZ(1,"span",19),s._uU(2),s.qZA(),s._uU(3),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t.firstName+" "+t.lastName),s.xp6(2),s.hij("#",t.id,""),s.xp6(1),s.AsE(" ",t.firstName," ",t.lastName," ")}}function Ee(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_DESTINATION"))}function Te(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_SERVICE"))}function Ae(t,e){if(1&t&&(s.TgZ(0,"mat-radio-button",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}let Se=(()=>{class t{constructor(t,e,n,r,i,o){this.usersService=t,this.translate=e,this.facilityManager=n,this.serviceService=r,this.router=i,this.notificator=o,this.searchField=new L.NI,this.chosenService="",this.availableServices=[],this.loading=!1,this.destination=""}ngOnInit(){this.searchField.setValue(""),this.users=this.searchField.valueChanges.pipe((0,de.b)(400),(0,pe.x)(),(0,ge.b)(()=>this.loading=!0),(0,me.w)(t=>this.usersService.findUsers(t)),(0,ge.b)(()=>this.loading=!1)),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SELECT_NO_SERVICE").subscribe(t=>{this.noServiceText=t,this.availableServices.push(this.noServiceText)})}validateName(t){""!==this.searchField.value?this.usersService.findUsers(this.searchField.value).subscribe(e=>{for(const n of e){if((n.firstName+" "+n.lastName).toLowerCase()===this.searchField.value.toLowerCase()){this.selectedUser=n,t.selected.completed=!0,t.next();break}this.selectedUser=null}this.selectedUser||this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_NAME").subscribe(t=>{this.notificator.showError(t)})}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_NAME").subscribe(t=>{this.notificator.showError(t)})}validateDestination(t){""!==this.destination?(this.availableServices=[],this.availableServices.push(this.noServiceText),this.chosenService="",this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(e=>{if(0!==e.length){t.selected.completed=!0,t.next();for(const t of e)this.serviceService.getAllRichDestinationsForFacility(t.id).subscribe(t=>{for(const e of t)e.destination===this.destination&&-1===this.availableServices.indexOf(e.service.name)&&this.availableServices.push(e.service.name)})}else this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_DESTINATION").subscribe(t=>{this.notificator.showError(t)})})):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_DESTINATION").subscribe(t=>{this.notificator.showError(t)})}getGraph(){""!==this.chosenService?this.router.navigate(["admin/visualizer/userDestinationRelationship/graph"],this.chosenService===this.noServiceText?{queryParams:{user:this.selectedUser.id,destination:this.destination,service:"noService"}}:{queryParams:{user:this.selectedUser.id,destination:this.destination,service:this.chosenService}}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NOT_CHOSEN_SERVICE").subscribe(t=>{this.notificator.showError(t)})}notCompleted(t){t.selected.completed=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(f.sK),s.Y36(b.IQ),s.Y36(b.KK),s.Y36(o.F0),s.Y36(w.V6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-destination-relationship"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:46,vars:36,consts:[[1,"p-3","card","settings-card","col-12","col-xl-5"],[1,"page-subtitle"],["linear",""],["stepper",""],["completed","false"],["matStepLabel",""],[1,"w-100"],["matInput","","type","text",3,"placeholder","formControl","matAutocomplete","ngModelChange","keydown.enter"],["matSuffix","",3,"diameter","strokeWidth",4,"ngIf"],["align","start"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mt-2",3,"click"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange","keydown.enter"],["mat-stroked-button","","matStepperPrevious","",1,"mt-2"],[1,"mb-2",3,"ngModel","ngModelChange"],["class","flex-column d-flex","color","primary",3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"diameter","strokeWidth"],[3,"value"],[1,"text-muted"],["color","primary",1,"flex-column","d-flex",3,"value"]],template:function(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-vertical-stepper",2,3),s.TgZ(6,"mat-step",4),s.YNc(7,we,2,3,"ng-template",5),s.TgZ(8,"mat-form-field",6),s.TgZ(9,"input",7),s.NdJ("ngModelChange",function(){s.CHM(t);const n=s.MAs(5);return e.notCompleted(n)})("keydown.enter",function(){s.CHM(t);const n=s.MAs(5);return e.validateName(n)}),s.ALo(10,"translate"),s.qZA(),s.YNc(11,be,1,2,"mat-spinner",8),s.TgZ(12,"mat-hint",9),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-autocomplete",null,10),s.YNc(17,xe,4,4,"mat-option",11),s.ALo(18,"async"),s.qZA(),s.qZA(),s.TgZ(19,"div"),s.TgZ(20,"button",12),s.NdJ("click",function(){s.CHM(t);const n=s.MAs(5);return e.validateName(n)}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(23,"mat-step",4),s.YNc(24,Ee,2,3,"ng-template",5),s.TgZ(25,"mat-form-field",6),s.TgZ(26,"input",13),s.NdJ("ngModelChange",function(t){return e.destination=t})("ngModelChange",function(){s.CHM(t);const n=s.MAs(5);return e.notCompleted(n)})("keydown.enter",function(){s.CHM(t);const n=s.MAs(5);return e.validateDestination(n)}),s.ALo(27,"translate"),s.qZA(),s.qZA(),s.TgZ(28,"div"),s.TgZ(29,"button",14),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.TgZ(32,"button",12),s.NdJ("click",function(){s.CHM(t);const n=s.MAs(5);return e.validateDestination(n)}),s._uU(33),s.ALo(34,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(35,"mat-step"),s.YNc(36,Te,2,3,"ng-template",5),s.TgZ(37,"mat-radio-group",15),s.NdJ("ngModelChange",function(t){return e.chosenService=t}),s.YNc(38,Ae,2,2,"mat-radio-button",16),s.qZA(),s.TgZ(39,"div"),s.TgZ(40,"button",14),s._uU(41),s.ALo(42,"translate"),s.qZA(),s.TgZ(43,"button",12),s.NdJ("click",function(){return e.getGraph()}),s._uU(44),s.ALo(45,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(16);s.xp6(2),s.hij(" ",s.lcZ(3,16,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE")," "),s.xp6(7),s.s9C("placeholder",s.lcZ(10,18,"ADMIN.VISUALIZER.USER_DESTINATION.USER_EXAMPLE")),s.Q6J("formControl",e.searchField)("matAutocomplete",t),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(2),s.Oqu(s.lcZ(14,20,"ADMIN.VISUALIZER.USER_DESTINATION.USER_HINT")),s.xp6(4),s.Q6J("ngForOf",s.lcZ(18,22,e.users)),s.xp6(4),s.hij(" ",s.lcZ(22,24,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),s.xp6(5),s.s9C("placeholder",s.lcZ(27,26,"ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION_EXAMPLE")),s.Q6J("ngModel",e.destination),s.xp6(4),s.hij(" ",s.lcZ(31,28,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),s.xp6(3),s.hij(" ",s.lcZ(34,30,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),s.xp6(4),s.Q6J("ngModel",e.chosenService),s.xp6(1),s.Q6J("ngForOf",e.availableServices),s.xp6(3),s.hij(" ",s.lcZ(42,32,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),s.xp6(3),s.hij(" ",s.lcZ(45,34,"ADMIN.VISUALIZER.USER_DESTINATION.SUBMIT_BUTTON")," ")}},directives:[ve.Vq,ve.C0,ve.VY,O.KE,R.Nt,L.Fj,ye.ZL,L.JJ,L.oH,i.O5,O.bx,ye.XC,i.sg,x.lW,L.On,ve.fd,_e.VQ,E.$g,O.R9,z.ey,_e.U0],pipes:[f.X$,i.Ov],styles:[""]}),t})();var Ie=n(64762);function Ce(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function De(t){this._context=t}function Ne(t,e){this._basis=new De(t),this._beta=e}De.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ce(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ce(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Ne.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)this._basis.point(this._beta*t[u]+(1-this._beta)*(i+(r=u/n)*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ke=function t(e){function n(t){return 1===e?new De(t):new Ne(t,e)}return n.beta=function(e){return t(+e)},n}(.85),Ze=n(55959);function Me(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function Oe(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var Re=n(10709),Le=n(26899),Ue=n(87254),Pe=n(41036),Fe=(n(92711),n(64641)),qe=(n(8634),n(3031));function ze(t){return{type:t}}function je(t,e){return te?1:t>=e?0:NaN}function Ye(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>je(t(e),n)}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}n(45161),n(38337),n(82159),["w","e"].map(ze),["n","s"].map(ze),["n","w","e","s","nw","ne","sw","se"].map(ze);var Be=Math.sqrt(50),Je=Math.sqrt(10),Ge=Math.sqrt(2);function Ve(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Be?10:o>=Je?5:o>=Ge?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Be?10:o>=Je?5:o>=Ge?2:1)}function He(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Be?i*=10:o>=Je?i*=5:o>=Ge&&(i*=2),e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Qe.setTime(+e),We.setTime(+r),t(Qe),t(We),Math.floor(n(Qe,We))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Xe=$e(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Xe.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?$e(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Xe:null};var Ke=Xe,tn=$e(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),en=$e(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()}),nn=$e(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),rn=$e(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5,t=>t.getDate()-1);function on(t){return $e(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var an=on(0),sn=(on(1),on(2),on(3),on(4),on(5),on(6),$e(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),un=$e(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});un.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var cn=un,ln=$e(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()}),hn=$e(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),fn=$e(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function dn(t){return $e(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var pn=dn(0),gn=(dn(1),dn(2),dn(3),dn(4),dn(5),dn(6),$e(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),mn=$e(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});mn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var vn=mn;function yn(t,e,n,r,i,o){const a=[[tn,1,1e3],[tn,5,5e3],[tn,15,15e3],[tn,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){const i=Math.abs(n-e)/r,o=Ye(([,,t])=>t).right(a,i);if(o===a.length)return t.every(He(e/31536e6,n/31536e6,r));if(0===o)return Ke.every(Math.max(He(e,n,r),1));const[s,u]=a[i/a[o-1][2]0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return En.setTime(+e),Tn.setTime(+r),t(En),t(Tn),Math.floor(n(En,Tn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function Sn(t){return An(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var In=Sn(0),Cn=Sn(1),Dn=(Sn(2),Sn(3),Sn(4)),Nn=(Sn(5),Sn(6),An(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function kn(t){return An(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var Zn=kn(0),Mn=kn(1),On=(kn(2),kn(3),kn(4)),Rn=(kn(5),kn(6),An(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1})),Ln=An(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Ln.every=function(t){return isFinite(t=Math.floor(t))&&t>0?An(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Un=Ln,Pn=An(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Pn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?An(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Fn=Pn;var qn={"-":"",_:" ",0:"0"},zn=/[\\^$*+?|[\]().{}]/g;function jn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?On(t):On.ceil(t),jn(On.count(Un(t),t)+(4===Un(t).getDay()),e,2)}function ir(t){return t.getDay()}function or(t,e){return jn(Mn.count(Un(t)-1,t),e,2)}function ar(t,e){return jn(t.getFullYear()%100,e,2)}function sr(t,e){return jn(t.getFullYear()%1e4,e,4)}function ur(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+jn(e/60|0,"0",2)+jn(e%60,"0",2)}function cr(t,e){return jn(t.getUTCDate(),e,2)}function lr(t,e){return jn(t.getUTCHours(),e,2)}function hr(t,e){return jn(t.getUTCHours()%12||12,e,2)}function fr(t,e){return jn(1+Nn.count(Fn(t),t),e,3)}function dr(t,e){return jn(t.getUTCMilliseconds(),e,3)}function pr(t,e){return dr(t,e)+"000"}function gr(t,e){return jn(t.getUTCMonth()+1,e,2)}function mr(t,e){return jn(t.getUTCMinutes(),e,2)}function vr(t,e){return jn(t.getUTCSeconds(),e,2)}function yr(t){var e=t.getUTCDay();return 0===e?7:e}function _r(t,e){return jn(In.count(Fn(t)-1,t),e,2)}function wr(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Dn(t):Dn.ceil(t),jn(Dn.count(Fn(t),t)+(4===Fn(t).getUTCDay()),e,2)}function br(t){return t.getUTCDay()}function xr(t,e){return jn(Cn.count(Fn(t)-1,t),e,2)}function Er(t,e){return jn(t.getUTCFullYear()%100,e,2)}function Tr(t,e){return jn(t.getUTCFullYear()%1e4,e,4)}function Ar(){return"+0000"}function Sr(){return"%"}function Ir(t){return+t}function Cr(t){return Math.floor(+t/1e3)}function Dr(t){return null===t?NaN:+t}!function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=(Bn(i),Jn(i),Bn(o),Jn(o),Bn(a),Jn(a),Bn(s),Jn(s),Bn(u),Jn(u),{a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Gn,e:Gn,f:$n,H:Vn,I:Hn,j:Qn,L:Wn,m:Xn,M:Kn,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ir,s:Cr,S:tr,u:er,U:nr,V:rr,w:ir,W:or,x:null,X:null,y:ar,Y:sr,Z:ur,"%":Sr}),l={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:cr,e:cr,f:pr,H:lr,I:hr,j:fr,L:dr,m:gr,M:mr,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ir,s:Cr,S:vr,u:yr,U:_r,V:wr,w:br,W:xr,x:null,X:null,y:Er,Y:Tr,Z:Ar,"%":Sr};function h(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s(e=a[u-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?Fr:Pr,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),Zr.Z)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,Or),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=Mr.Z,l()},h.clamp=function(t){return arguments.length?(c=!!t||Lr,l()):c!==Lr},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Lr,Lr)}function jr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Yr=n(93116),Br=n(65636),Jr=n(3712),Gr=n(3218),Vr=n(22233);function Hr(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/a),r=Math.round(e/a);for(n*ae&&--r,o=new Array(i=r-n+1);++se&&--r,o=new Array(i=r-n+1);++s0;){if((i=Ve(u,c,n))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Qr(){var t=zr();return t.copy=function(){return qr(t,Qr())},jr.apply(t,arguments),Hr(t)}function Wr(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function ei(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t0?r[i-1]:e[0],i=0;)e+=n[r].value;else e=1;t.value=e}function mi(t,e){var n,r,i,o,a,s=new wi(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=vi);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new wi(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(_i)}function vi(t){return t.children}function yi(t){t.data=t.data.data}function _i(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function wi(t){this.data=t,this.depth=this.height=0,this.parent=null}li.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ci(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ci(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new li(t,e)}return n.tension=function(e){return t(+e)},n}(0),hi.prototype={areaStart:ui,areaEnd:ui,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ci(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new hi(t,e)}return n.tension=function(e){return t(+e)},n}(0),fi.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}},Math,Math,Math,Math,Math,Math,Math,Math,n(12314),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,m,v=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),m=l*l*g,(d=Math.max(f/m,m/h))>p){l-=s;break}p=d}v.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),wi.prototype=mi.prototype={constructor:wi,count:function(){return this.eachAfter(gi)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return mi(this).eachBefore(yi)}};var bi=n(30269);const xi=["caretElm"];function Ei(t,e){}const Ti=function(t){return{model:t}};function Ai(t,e){if(1&t&&(s.TgZ(0,"span"),s.YNc(1,Ei,0,0,"ng-template",5),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",t.template)("ngTemplateOutletContext",s.VKq(2,Ti,t.context))}}function Si(t,e){if(1&t&&s._UZ(0,"span",6),2&t){const t=s.oxw();s.Q6J("innerHTML",t.title,s.oJD)}}function Ii(t,e){if(1&t&&(s.O4$(),s.kcU(),s._UZ(0,"ngx-charts-scale-legend",4)),2&t){const t=s.oxw();s.Q6J("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function Ci(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"ngx-charts-legend",5),s.NdJ("labelClick",function(e){return s.CHM(t),s.oxw().legendLabelClick.emit(e)})("labelActivate",function(e){return s.CHM(t),s.oxw().legendLabelActivate.emit(e)})("labelDeactivate",function(e){return s.CHM(t),s.oxw().legendLabelDeactivate.emit(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("data",t.legendOptions.domain)("title",t.legendOptions.title)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)("activeEntries",t.activeEntries)}}const Di=["*"];function Ni(t,e){if(1&t&&(s.TgZ(0,"header",4),s.TgZ(1,"span",5),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(t.title)}}function ki(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"li",6),s.TgZ(1,"ngx-charts-legend-entry",7),s.NdJ("select",function(e){return s.CHM(t),s.oxw().labelClick.emit(e)})("activate",function(e){return s.CHM(t),s.oxw().activate(e)})("deactivate",function(e){return s.CHM(t),s.oxw().deactivate(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.Q6J("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}let Zi=(()=>{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const r of n)t.instance[r]=e.inputs[r]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const r of n)t.instance[r]=e.outputs[r]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const r=this.getComponentRootNode(n),i=new Le.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Le.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.z2F),s.LFG(s._Vd),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function Mi(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var Oi=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function Ri(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function Li(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}class Ui{static calculateVerticalAlignment(t,e,n){let r=Ri(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}static calculateVerticalCaret(t,e,n,r){let i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);const o=Ri(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=Li(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}static calculateHorizontalCaret(t,e,n,r){let i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);const o=Li(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}static shouldFlip(t,e,n,r){let i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}static positionCaret(t,e,n,r,i){let o=0,a=0;return t===Oi.right?(a=-7,o=Ui.calculateVerticalCaret(n,e,r,i)):t===Oi.left?(a=e.width,o=Ui.calculateVerticalCaret(n,e,r,i)):t===Oi.top?(o=e.height,a=Ui.calculateHorizontalCaret(n,e,r,i)):t===Oi.bottom&&(o=-7,a=Ui.calculateHorizontalCaret(n,e,r,i)),{top:o,left:a}}static positionContent(t,e,n,r,i){let o=0,a=0;return t===Oi.right?(a=n.left+n.width+r,o=Ui.calculateVerticalAlignment(n,e,i)):t===Oi.left?(a=n.left-e.width-r,o=Ui.calculateVerticalAlignment(n,e,i)):t===Oi.top?(o=n.top-e.height-r,a=Ui.calculateHorizontalAlignment(n,e,i)):t===Oi.bottom&&(o=n.top+n.height+r,a=Ui.calculateHorizontalAlignment(n,e,i)),{top:o,left:a}}static determinePlacement(t,e,n,r){if(Ui.shouldFlip(n,e,t,r)){if(t===Oi.right)return Oi.left;if(t===Oi.left)return Oi.right;if(t===Oi.top)return Oi.bottom;if(t===Oi.bottom)return Oi.top}return t}}let Pi,Fi=(()=>{class t{constructor(t,e){this.element=t,this.renderer=e}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:r,left:i}=Ui.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${r}px`),this.renderer.setStyle(t,"left",`${i}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),{top:i,left:o}=Ui.positionCaret(this.placement,e,t,r,this.alignment);this.renderer.setStyle(n,"top",`${i}px`),this.renderer.setStyle(n,"left",`${o}px`)}checkFlip(t,e){this.placement=Ui.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&s.Gf(xi,5),2&t){let t;s.iGM(t=s.CRH())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(){return e.onWindowResize()},!1,s.Jf7),2&t&&s.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"span",0,1),s.TgZ(3,"div",2),s.YNc(4,Ai,2,4,"span",3),s.YNc(5,Si,1,1,"span",4),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Gre("tooltip-caret position-",e.placement,""),s.Q6J("hidden",!e.showCaret),s.xp6(3),s.Q6J("ngIf",!e.title),s.xp6(1),s.Q6J("ngIf",e.title))},directives:[i.O5,i.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),Me([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Mi(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),qi=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=Fi}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Zi))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),zi=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new s.vpe,this.legendLabelActivate=new s.vpe,this.legendLabelDeactivate=new s.vpe}ngOnChanges(t){this.update()}update(){let t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)}getLegendType(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",data:"data",legendData:"legendData",colors:"colors",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[s._Bn([qi]),s.TTD],ngContentSelectors:Di,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.O4$(),s.TgZ(1,"svg",1),s.Hsn(2),s.qZA(),s.YNc(3,Ii,1,5,"ngx-charts-scale-legend",2),s.YNc(4,Ci,1,7,"ngx-charts-legend",3),s.qZA()),2&t&&(s.Udp("width",e.view[0],"px"),s.Q6J("@animationState","active")("@.disabled",!e.animations),s.xp6(1),s.uIk("width",e.chartWidth)("height",e.view[1]),s.xp6(2),s.Q6J("ngIf",e.showLegend&&"scaleLegend"===e.legendType),s.xp6(1),s.Q6J("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[i.O5,Qi,Vi]},encapsulation:2,data:{animation:[(0,Re.X$)("animationState",[(0,Re.eR)(":enter",[(0,Re.oB)({opacity:0}),(0,Re.jt)("500ms 100ms",(0,Re.oB)({opacity:1}))])])]},changeDetection:0}),t})(),ji=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new s.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const t=()=>{if(!this.element)return;const{offsetHeight:e,offsetWidth:n}=this.element.nativeElement;e&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})(),Yi=(()=>{class t{constructor(t,e,n){this.chartElement=t,this.zone=e,this.cd=n,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new s.vpe}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new ji(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(t){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let t,e;const n=this.chartElement.nativeElement;if(null!==n.parentNode){const r=n.parentNode.getBoundingClientRect();t=r.width,e=r.height}return t&&e?{width:t,height:e}:null}formatDates(){for(let t=0;t{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=t}cloneData(t){const e=[];for(const n of t){const t={name:n.name};if(void 0!==n.value&&(t.value=n.value),void 0!==n.series){t.series=[];for(const e of n.series){const n=Object.assign({},e);t.series.push(n)}}void 0!==n.extra&&(t.extra=JSON.parse(JSON.stringify(n.extra))),e.push(t)}return e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[s.TTD],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"div")},encapsulation:2}),t})(),Bi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})(),Ji=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Zi,qi],imports:[[i.ez]]}),t})();function Gi(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}"undefined"!=typeof window?Pi=window:"undefined"!=typeof global&&(Pi=global);let Vi=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new s.vpe,this.labelActivate=new s.vpe,this.labelDeactivate=new s.vpe,this.legendEntries=[]}ngOnChanges(t){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const t=[];for(const e of this.data){const n=Gi(e);-1===t.findIndex(t=>t.label===n)&&t.push({label:e,formattedLabel:n,color:this.colors.getColor(e)})}return t}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.label===e.name)}activate(t){this.labelActivate.emit(t)}deactivate(t){this.labelDeactivate.emit(t)}trackBy(t,e){return e.label}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-legend"]],inputs:{horizontal:"horizontal",data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[s.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.YNc(1,Ni,3,1,"header",0),s.TgZ(2,"div",1),s.TgZ(3,"ul",2),s.YNc(4,ki,2,4,"li",3),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Udp("width",e.width,"px"),s.xp6(1),s.Q6J("ngIf",(null==e.title?null:e.title.length)>0),s.xp6(2),s.Udp("max-height",e.height-45,"px"),s.ekj("horizontal-legend",e.horizontal),s.xp6(1),s.Q6J("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[i.O5,i.sg,Hi]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t})(),Hi=(()=>{class t{constructor(){this.isActive=!1,this.select=new s.vpe,this.activate=new s.vpe,this.deactivate=new s.vpe,this.toggle=new s.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&s.NdJ("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(s.TgZ(0,"span",0),s.NdJ("click",function(){return e.select.emit(e.formattedLabel)}),s.TgZ(1,"span",1),s.NdJ("click",function(){return e.toggle.emit(e.formattedLabel)}),s.qZA(),s.TgZ(2,"span",2),s._uU(3),s.qZA(),s.qZA()),2&t&&(s.ekj("active",e.isActive),s.Q6J("title",e.formattedLabel),s.xp6(1),s.Udp("background-color",e.color),s.xp6(2),s.hij(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),Qi=(()=>{class t{constructor(t){this.sanitizer=t,this.horizontal=!1}ngOnChanges(t){const e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle(`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${e})`)}gradientString(t,e){e.push(1);const n=[];return t.reverse().forEach((t,r)=>{n.push(`${t} ${Math.round(100*e[r])}%`)}),n.join(", ")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(bi.H7))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[s.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.qZA(),s._UZ(4,"div",2),s.TgZ(5,"div",1),s.TgZ(6,"span"),s._uU(7),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Udp("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),s.ekj("horizontal-legend",e.horizontal),s.xp6(3),s.Oqu(e.valueRange[1].toLocaleString()),s.xp6(1),s.Udp("background",e.gradient),s.xp6(3),s.Oqu(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t})(),Wi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez,Bi,Ji],i.ez,Bi,Ji]}),t})(),$i=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Xi{constructor(t,e,n,r){"string"==typeof t&&(t=$i.find(e=>e.name===t)),this.colorDomain=t.domain,this.scaleType=e,this.domain=n,this.customColors=r,this.scale=this.generateColorScheme(t,e,this.domain)}generateColorScheme(t,e,n){let r;if("string"==typeof t&&(t=$i.find(e=>e.name===t)),"quantile"===e)r=ei().range(t.domain).domain(n);else if("ordinal"===e)r=Xr().range(t.domain).domain(n);else if("linear"===e){const e=[...t.domain];1===e.length&&(e.push(e[0]),this.colorDomain=e);const n=Wr(0,1,1/e.length);r=Qr().domain(n).range(e)}return r}getColor(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){const e=Qr().domain(this.domain).range([0,1]);return this.scale(e(t))}{if("function"==typeof this.customColors)return this.customColors(t);const e=t.toString();let n;return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(t=>t.name.toLowerCase()===e.toLowerCase())),n?n.value:this.scale(t)}}getLinearGradientStops(t,e){void 0===e&&(e=this.domain[0]);const n=Qr().domain(this.domain).range([0,1]),r=Kr().domain(this.colorDomain).range([0,1]),i=this.getColor(t),o=n(e),a=this.getColor(e),s=n(t);let u=1,c=o;const l=[];for(l.push({color:a,offset:o,originalOffset:o,opacity:1});c=(s-r.bandwidth()).toFixed(4))break;l.push({color:t,offset:e,opacity:1}),c=e,u++}}if(l[l.length-1].offset<100&&l.push({color:i,offset:s,opacity:1}),s===o)l[0].offset=0,l[1].offset=100;else if(100!==l[l.length-1].offset)for(const h of l)h.offset=(h.offset-o)/(s-o)*100;return l}}let Ki=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),to=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),eo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),no=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),ro=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})();Math;let io=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),oo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi,io,ro]]}),t})(),ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),so=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),uo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi,io,to]]}),t})(),co=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[Wi,Ki,to,eo,no,ro,oo,ao,io,so,uo]}),t})();var lo=Math.PI;function ho(t){return(1-Math.cos(lo*t))/2}var fo=n(87570),po=n(48318),go=n(40878),mo=n(3530);function vo(t){return void 0===t}function yo(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;var xo=n(32975);function Eo(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(m+y)/2))?m=a:y=a,i=d,!(d=d[h=l<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(m+y)/2))?m=a:y=a}while((h=l<<1|c)==(f=(u>=a)<<1|s>=o));return i[f]=d,i[h]=p,t}function Io(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Co(t){return t[0]}function Do(t){return t[1]}function No(t,e,n){var r=new ko(null==e?Co:e,null==n?Do:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function ko(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Zo(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Mo=No.prototype=ko.prototype;function Oo(t){return t.x+t.vx}function Ro(t){return t.y+t.vy}function Lo(t){var e,n,r=1,i=1;function o(){for(var t,o,s,u,c,l,h,f=e.length,d=0;du+d||ic+d||os.index){var p=u-a.x-a.vx,g=c-a.y-a.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ef||(o=u.y0)>d||(a=u.x1)=v)<<1|t>=m)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),w=y*y+_*_;if(w=(s=(p+m)/2))?p=s:m=s,(l=a>=(u=(g+v)/2))?g=u:v=u,e=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Mo.removeAll=function(t){for(var e=0,n=t.length;e1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}}function Wo(){var t,e,n,r,i=To(-30),o=1,a=1/0,s=.81;function u(r){var i,o=t.length,a=No(t,Go,Vo).visitAfter(l);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=Ao())*l),0===h&&(d+=(h=Ao())*h),dt.id===n.id);r.position={x:n.x,y:n.y},r.dimension={width:n.width,height:n.height}}return t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n.position.y<=r.position.y?-1:1;return e.points=[{x:n.position.x,y:n.position.y-i*(n.dimension.height/2)},{x:r.position.x,y:r.position.y+i*(r.dimension.height/2)}],t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)n.width||(n.width=20),n.height||(n.height=30),this.dagreGraph.setNode(n.id,n);for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},dagreCluster:class{constructor(){this.defaultSettings={orientation:Za.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(t){this.createDagreGraph(t),(0,xo.layout)(this.dagreGraph),t.edgeLabels=this.dagreGraph._edgeLabels;const e=t=>{const e=this.dagreGraph._nodes[t.id];return Object.assign(Object.assign({},t),{position:{x:e.x,y:e.y},dimension:{width:e.width,height:e.height}})};return t.clusters=(t.clusters||[]).map(e),t.nodes=t.nodes.map(e),t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n.position.y<=r.position.y?-1:1;return e.points=[{x:n.position.x,y:n.position.y-i*(n.dimension.height/2)},{x:r.position.x,y:r.position.y+i*(r.dimension.height/2)}],t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreClusters=t.clusters||[],this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)this.dagreGraph.setNode(n.id,n);for(const n of this.dagreClusters)this.dagreGraph.setNode(n.id,n),n.childNodeIds.forEach(t=>{this.dagreGraph.setParent(t,n.id)});for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},dagreNodesOnly:class{constructor(){this.defaultSettings={orientation:Za.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,curveDistance:20,multigraph:!0,compound:!0},this.settings={}}run(t){this.createDagreGraph(t),(0,xo.layout)(this.dagreGraph),t.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const n=this.dagreGraph._nodes[e],r=t.nodes.find(t=>t.id===n.id);r.position={x:n.x,y:n.y},r.dimension={width:n.width,height:n.height}}for(const e of t.edges)this.updateEdge(t,e);return t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i="BT"===this.settings.orientation||"TB"===this.settings.orientation?"y":"x",o="y"===i?"x":"y",a="y"===i?"height":"width",s=n.position[i]<=r.position[i]?-1:1,u={[o]:n.position[o],[i]:n.position[i]-s*(n.dimension[a]/2)},c={[o]:r.position[o],[i]:r.position[i]+s*(r.dimension[a]/2)},l=this.settings.curveDistance||this.defaultSettings.curveDistance;e.points=[u,{[o]:u[o],[i]:u[i]-s*l},{[o]:c[o],[i]:c[i]+s*l},c];const h=t.edgeLabels[`${e.source}\x01${e.target}\x01\0`];return h&&(h.points=e.points),t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)n.width||(n.width=20),n.height||(n.height=30),this.dagreGraph.setNode(n.id,n);for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},d3ForceDirected:class{constructor(){this.defaultSettings={force:Qo().force("charge",Wo().strength(-150)).force("collide",Lo(5)),forceLink:Bo().id(t=>t.id).distance(()=>100)},this.settings={},this.outputGraph$=new Ze.xQ}run(t){return this.inputGraph=t,this.d3Graph={nodes:[...this.inputGraph.nodes.map(t=>Object.assign({},t))],edges:[...this.inputGraph.edges.map(t=>Object.assign({},t))]},this.outputGraph={nodes:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&this.settings.force.nodes(this.d3Graph.nodes).force("link",this.settings.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}updateEdge(t,e){const n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.nodes(this.d3Graph.nodes).force("link",n.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}d3GraphToOutputGraph(t){return this.outputGraph.nodes=this.d3Graph.nodes.map(t=>Object.assign(Object.assign({},t),{id:t.id||ka(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:`translate(${t.x-(t.dimension&&t.dimension.width||20)/2||0}, ${t.y-(t.dimension&&t.dimension.height||20)/2||0})`})),this.outputGraph.edges=this.d3Graph.edges.map(t=>Object.assign(Object.assign({},t),{source:Ma(t.source).id,target:Ma(t.target).id,points:[{x:Ma(t.source).x,y:Ma(t.source).y},{x:Ma(t.target).x,y:Ma(t.target).y}]})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(t,e){this.settings.force.alphaTarget(.3).restart();const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(this.draggingStart={x:e.x-n.x,y:e.y-n.y},n.fx=e.x-this.draggingStart.x,n.fy=e.y-this.draggingStart.y)}onDrag(t,e){if(!t)return;const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(n.fx=e.x-this.draggingStart.x,n.fy=e.y-this.draggingStart.y)}onDragEnd(t,e){if(!t)return;const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(this.settings.force.alphaTarget(0),n.fx=void 0,n.fy=void 0)}},colaForceDirected:class{constructor(){this.defaultSettings={force:(0,ta.d3adaptor)(Object.assign(Object.assign(Object.assign({},ea),r),na)).linkDistance(150).avoidOverlaps(!0),viewDimensions:{width:600,height:600,xOffset:0}},this.settings={},this.outputGraph$=new Ze.xQ}run(t){return this.inputGraph=t,this.inputGraph.clusters||(this.inputGraph.clusters=[]),this.internalGraph={nodes:[...this.inputGraph.nodes.map(t=>Object.assign(Object.assign({},t),{width:t.dimension?t.dimension.width:20,height:t.dimension?t.dimension.height:20}))],groups:[...this.inputGraph.clusters.map(t=>({padding:5,groups:t.childNodeIds.map(t=>this.inputGraph.clusters.findIndex(e=>e.id===t)).filter(t=>t>=0),leaves:t.childNodeIds.map(t=>this.inputGraph.nodes.findIndex(e=>e.id===t)).filter(t=>t>=0)}))],links:[...this.inputGraph.edges.map(t=>{const e=this.inputGraph.nodes.findIndex(e=>t.source===e.id),n=this.inputGraph.nodes.findIndex(e=>t.target===e.id);if(-1!==e&&-1!==n)return Object.assign(Object.assign({},t),{source:e,target:n})}).filter(t=>!!t)],groupLinks:[...this.inputGraph.edges.map(t=>{const e=this.inputGraph.nodes.findIndex(e=>t.source===e.id),n=this.inputGraph.nodes.findIndex(e=>t.target===e.id);if(!(e>=0&&n>=0))return t}).filter(t=>!!t)]},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",()=>{this.settings.onTickListener&&this.settings.onTickListener(this.internalGraph),this.outputGraph$.next(this.internalGraphToOutputGraph(this.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}updateEdge(t,e){const n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.start(),this.outputGraph$.asObservable()}internalGraphToOutputGraph(t){return this.outputGraph.nodes=t.nodes.map(t=>Object.assign(Object.assign({},t),{id:t.id||ka(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:`translate(${t.x-(t.dimension&&t.dimension.width||20)/2||0}, ${t.y-(t.dimension&&t.dimension.height||20)/2||0})`})),this.outputGraph.edges=t.links.map(e=>{const n=Oa(t.nodes,e.source),r=Oa(t.nodes,e.target);return Object.assign(Object.assign({},e),{source:n.id,target:r.id,points:[n.bounds.rayIntersection(r.bounds.cx(),r.bounds.cy()),r.bounds.rayIntersection(n.bounds.cx(),n.bounds.cy())]})}).concat(t.groupLinks.map(e=>{const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n||t.groups.find(t=>t.id===e.source),o=r||t.groups.find(t=>t.id===e.target);return Object.assign(Object.assign({},e),{source:i.id,target:o.id,points:[i.bounds.rayIntersection(o.bounds.cx(),o.bounds.cy()),o.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})})),this.outputGraph.clusters=t.groups.map((t,e)=>Object.assign(Object.assign({},this.inputGraph.clusters[e]),{dimension:{width:t.bounds?t.bounds.width():20,height:t.bounds?t.bounds.height():20},position:{x:t.bounds?t.bounds.x+t.bounds.width()/2:0,y:t.bounds?t.bounds.y+t.bounds.height()/2:0}})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(t,e){const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(this.draggingStart={x:r.x-e.x,y:r.y-e.y},r.fixed=1,this.settings.force.start())}onDrag(t,e){if(!t)return;const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(r.x=this.draggingStart.x+e.x,r.y=this.draggingStart.y+e.y)}onDragEnd(t,e){if(!t)return;const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(r.fixed=0)}}};let La=(()=>{class t{getLayout(t){if(Ra[t])return new Ra[t];throw new Error(`Unknown layout type '${t}'`)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();var Ua=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),Pa=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function Fa(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}let qa=(()=>{class t extends Yi{constructor(t,e,n,r){super(t,e,n),this.el=t,this.zone=e,this.cd=n,this.layoutService=r,this.legend=!1,this.nodes=[],this.clusters=[],this.links=[],this.activeEntries=[],this.draggingEnabled=!0,this.panningEnabled=!0,this.panningAxis=Ua.Both,this.enableZoom=!0,this.zoomSpeed=.1,this.minZoomLevel=.1,this.maxZoomLevel=4,this.autoZoom=!1,this.panOnZoom=!0,this.animate=!1,this.autoCenter=!1,this.enableTrackpadSupport=!1,this.showMiniMap=!1,this.miniMapMaxWidth=100,this.miniMapPosition=Pa.UpperRight,this.activate=new s.vpe,this.deactivate=new s.vpe,this.zoomChange=new s.vpe,this.clickHandler=new s.vpe,this.isMouseMoveCalled=!1,this.graphSubscription=new fo.w,this.subscriptions=[],this.margin=[0,0,0,0],this.results=[],this.isPanning=!1,this.isDragging=!1,this.initialized=!1,this.graphDims={width:0,height:0},this._oldLinks=[],this.oldNodes=new Set,this.oldClusters=new Set,this.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},this._touchLastX=null,this._touchLastY=null,this.minimapScaleCoefficient=3,this.minimapOffsetX=0,this.minimapOffsetY=0,this.isMinimapPanning=!1,this.groupResultsBy=t=>t.label}get zoomLevel(){return this.transformationMatrix.a}set zoomLevel(t){this.zoomTo(Number(t))}get panOffsetX(){return this.transformationMatrix.e}set panOffsetX(t){this.panTo(Number(t),null)}get panOffsetY(){return this.transformationMatrix.f}set panOffsetY(t){this.panTo(null,Number(t))}ngOnInit(){this.update$&&this.subscriptions.push(this.update$.subscribe(()=>{this.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(()=>{this.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(()=>{this.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(t=>{this.panToNodeId(t)})),this.minimapClipPathId=`minimapClip${ka()}`}ngOnChanges(t){const{layoutSettings:e}=t;this.setLayout(this.layout),e&&this.setLayoutSettings(this.layoutSettings),this.update()}setLayout(t){this.initialized=!1,t||(t="dagre"),"string"==typeof t&&(this.layout=this.layoutService.getLayout(t),this.setLayoutSettings(this.layoutSettings))}setLayoutSettings(t){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=t)}ngOnDestroy(){super.ngOnDestroy();for(const t of this.subscriptions)t.unsubscribe();this.subscriptions=null}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>this.update())}update(){super.update(),this.curve||(this.curve=ke.beta(1)),this.zone.run(()=>{this.dims=function({width:t,height:e,margins:n,showXAxis:r=!1,showYAxis:i=!1,xAxisHeight:o=0,yAxisWidth:a=0,showXLabel:s=!1,showYLabel:u=!1,showLegend:c=!1,legendType:l="ordinal",legendPosition:h="right",columns:f=12}){let d=n[3],p=t,g=e-n[0]-n[2];if(c&&"right"===h&&(f-="ordinal"===l?2:1),p=p*f/12,p=p-n[1]-n[3],r&&(g-=5,g-=o,s)&&(g-=30),i&&(p-=5,p-=a,d+=a,d+=10,u)){const t=30;p-=t,d+=t}return p=Math.max(0,p),g=Math.max(0,g),{width:Math.floor(p),height:Math.floor(g),xOffset:Math.floor(d)}}({width:this.width,height:this.height,margins:this.margin,showLegend:this.legend}),this.seriesDomain=this.getSeriesDomain(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.createGraph(),this.updateTransform(),this.initialized=!0})}createGraph(){this.graphSubscription.unsubscribe(),this.graphSubscription=new fo.w;const t=t=>(t.meta||(t.meta={}),t.id||(t.id=ka()),t.dimension?t.meta.forceDimensions=void 0===t.meta.forceDimensions||t.meta.forceDimensions:(t.dimension={width:this.nodeWidth?this.nodeWidth:30,height:this.nodeHeight?this.nodeHeight:30},t.meta.forceDimensions=!1),t.position={x:0,y:0},t.data=t.data?t.data:{},t);this.graph={nodes:this.nodes.length>0?[...this.nodes].map(t):[],clusters:this.clusters&&this.clusters.length>0?[...this.clusters].map(t):[],edges:this.links.length>0?[...this.links].map(t=>(t.id||(t.id=ka()),t)):[]},requestAnimationFrame(()=>this.draw())}draw(){if(!this.layout||"string"==typeof this.layout)return;this.applyNodeDimensions();const t=this.layout.run(this.graph),e=t instanceof po.y?t:(0,go.of)(t);this.graphSubscription.add(e.subscribe(t=>{this.graph=t,this.tick()})),0!==this.graph.nodes.length&&e.pipe((0,mo.P)()).subscribe(()=>this.applyNodeDimensions())}tick(){const t=new Set;this.graph.nodes.map(e=>{e.transform=`translate(${e.position.x-e.dimension.width/2||0}, ${e.position.y-e.dimension.height/2||0})`,e.data||(e.data={}),e.data.color=this.colors.getColor(this.groupResultsBy(e)),t.add(e.id)});const e=new Set;(this.graph.clusters||[]).map(t=>{t.transform=`translate(${t.position.x-t.dimension.width/2||0}, ${t.position.y-t.dimension.height/2||0})`,t.data||(t.data={}),t.data.color=this.colors.getColor(this.groupResultsBy(t)),e.add(t.id)}),setTimeout(()=>{this.oldNodes=t,this.oldClusters=e},500);const n=[];for(const r in this.graph.edgeLabels){const t=this.graph.edgeLabels[r],e=r.replace(/[^\w-]*/g,""),i=this.layout&&"string"!=typeof this.layout&&this.layout.settings&&this.layout.settings.multigraph;let o=this._oldLinks.find(i?t=>`${t.source}${t.target}${t.id}`===e:t=>`${t.source}${t.target}`===e);const a=this.graph.edges.find(i?t=>`${t.source}${t.target}${t.id}`===e:t=>`${t.source}${t.target}`===e);o?o.data&&a&&a.data&&JSON.stringify(o.data)!==JSON.stringify(a.data)&&(o.data=a.data):o=a||t,o.oldLine=o.line;const s=t.points,u=this.generateLine(s),c=Object.assign({},o);c.line=u,c.points=s,this.updateMidpointOnEdge(c,s);const l=s[Math.floor(s.length/2)];l&&(c.textTransform=`translate(${l.x||0},${l.y||0})`),c.textAngle=0,c.oldLine||(c.oldLine=c.line),this.calcDominantBaseline(c),n.push(c)}this.graph.edges=n,this.graph.edges&&(this._oldLinks=this.graph.edges.map(t=>{const e=Object.assign({},t);return e.oldLine=t.line,e})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(()=>this.redrawLines()),this.cd.markForCheck()}getMinimapTransform(){switch(this.miniMapPosition){case Pa.UpperLeft:return"";case Pa.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}updateGraphDims(){let t=1/0,e=-1/0,n=1/0,r=-1/0;for(let i=0;ie?o.position.x+o.dimension.width:e,r=o.position.y+o.dimension.height>r?o.position.y+o.dimension.height:r}t-=100,n-=100,e+=100,r+=100,this.graphDims.width=e-t,this.graphDims.height=r-n,this.minimapOffsetX=t,this.minimapOffsetY=n}updateMinimap(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}applyNodeDimensions(){this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(t=>{const e=t.nativeElement,n=this.graph.nodes.find(t=>t.id===e.id);if(!n)return;let r;try{if(r=e.getBBox(),!r.width||!r.height)return}catch(i){return}if(n.dimension.height=this.nodeHeight?n.dimension.height&&n.meta.forceDimensions?n.dimension.height:this.nodeHeight:n.dimension.height&&n.meta.forceDimensions?n.dimension.height:r.height,this.nodeMaxHeight&&(n.dimension.height=Math.max(n.dimension.height,this.nodeMaxHeight)),this.nodeMinHeight&&(n.dimension.height=Math.min(n.dimension.height,this.nodeMinHeight)),this.nodeWidth)n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:this.nodeWidth;else if(e.getElementsByTagName("text").length){let t;try{for(const n of e.getElementsByTagName("text")){const e=n.getBBox();t?(e.width>t.width&&(t.width=e.width),e.height>t.height&&(t.height=e.height)):t=e}}catch(i){return}n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:t.width+20}else n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:r.width;this.nodeMaxWidth&&(n.dimension.width=Math.max(n.dimension.width,this.nodeMaxWidth)),this.nodeMinWidth&&(n.dimension.width=Math.min(n.dimension.width,this.nodeMinWidth))})}redrawLines(t=this.animate){this.linkElements.map(e=>{const n=this.graph.edges.find(t=>t.id===e.nativeElement.id);n&&((0,Pe.Z)(e.nativeElement).select(".line").attr("d",n.oldLine).transition().ease(ho).duration(t?500:0).attr("d",n.line),(0,Pe.Z)(this.chartElement.nativeElement).select(`#${n.id}`).attr("d",n.oldTextPath).transition().ease(ho).duration(t?500:0).attr("d",n.textPath),this.updateMidpointOnEdge(n,n.points))})}calcDominantBaseline(t){const e=t.points[0],n=t.points[t.points.length-1];t.oldTextPath=t.textPath,n.xt.x).y(t=>t.y).curve(this.curve)(t)}onZoom(t,e){if(this.enableTrackpadSupport&&!t.ctrlKey)return void this.pan(-1*t.deltaX,-1*t.deltaY);const n=1+("in"===e?this.zoomSpeed:-this.zoomSpeed),r=this.zoomLevel*n;if(!(r<=this.minZoomLevel||r>=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&t){const e=t.clientX,r=t.clientY,i=this.chart.nativeElement.querySelector("svg"),o=i.querySelector("g.chart"),a=i.createSVGPoint();a.x=e,a.y=r;const s=a.matrixTransform(o.getScreenCTM().inverse());this.pan(s.x,s.y,!0),this.zoom(n),this.pan(-s.x,-s.y,!0)}else this.zoom(n)}pan(t,e,n=!1){const r=n?1:this.zoomLevel;this.transformationMatrix=wo(this.transformationMatrix,bo(t/r,e/r)),this.updateTransform()}panTo(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=wo(this.transformationMatrix,bo((-this.panOffsetX-t*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-e*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}zoom(t){this.transformationMatrix=wo(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return vo(e)&&(e=t),{a:t,c:0,e:0,b:0,d:e,f:0}}(t,t)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}zoomTo(t){this.transformationMatrix.a=isNaN(t)?this.transformationMatrix.a:Number(t),this.transformationMatrix.d=isNaN(t)?this.transformationMatrix.d:Number(t),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}onDrag(t){if(!this.draggingEnabled)return;const e=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(e,t),e.position.x+=t.movementX/this.zoomLevel,e.position.y+=t.movementY/this.zoomLevel,e.transform=`translate(${e.position.x-e.dimension.width/2}, ${e.position.y-e.dimension.height/2})`;for(const n of this.graph.edges)if((n.target===e.id||n.source===e.id||n.target.id===e.id||n.source.id===e.id)&&this.layout&&"string"!=typeof this.layout){const t=this.layout.updateEdge(this.graph,n),e=t instanceof po.y?t:(0,go.of)(t);this.graphSubscription.add(e.subscribe(t=>{this.graph=t,this.redrawEdge(n)}))}this.redrawLines(!1),this.updateMinimap()}redrawEdge(t){const e=this.generateLine(t.points);this.calcDominantBaseline(t),t.oldLine=t.line,t.line=e}updateTransform(){var t;this.transform="matrix("+(t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(t.a*e)/e,b:Math.round(t.b*e)/e,c:Math.round(t.c*e)/e,d:Math.round(t.d*e)/e,e:Math.round(t.e*e)/e,f:Math.round(t.f*e)/e}}(this.transformationMatrix,100)).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")"}onClick(t){this.select.emit(t)}onActivate(t){this.activeEntries.indexOf(t)>-1||(this.activeEntries=[t,...this.activeEntries],this.activate.emit({value:t,entries:this.activeEntries}))}onDeactivate(t){const e=this.activeEntries.indexOf(t);this.activeEntries.splice(e,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:t,entries:this.activeEntries})}getSeriesDomain(){return this.nodes.map(t=>this.groupResultsBy(t)).reduce((t,e)=>-1!==t.indexOf(e)?t:t.concat([e]),[]).sort()}trackLinkBy(t,e){return e.id}trackNodeBy(t,e){return e.id}setColors(){this.colors=new Xi(this.scheme,"ordinal",this.seriesDomain,this.customColors)}getLegendOptions(){return{scaleType:"ordinal",domain:this.seriesDomain,colors:this.colors}}onMouseMove(t){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,t):this.isDragging&&this.draggingEnabled&&this.onDrag(t)}onMouseDown(t){this.isMouseMoveCalled=!1}graphClick(t){this.isMouseMoveCalled||this.clickHandler.emit(t)}onTouchStart(t){this._touchLastX=t.changedTouches[0].clientX,this._touchLastY=t.changedTouches[0].clientY,this.isPanning=!0}onTouchMove(t){if(this.isPanning&&this.panningEnabled){const e=t.changedTouches[0].clientX,n=t.changedTouches[0].clientY,r=e-this._touchLastX,i=n-this._touchLastY;this._touchLastX=e,this._touchLastY=n,this.pan(r,i)}}onTouchEnd(t){this.isPanning=!1}onMouseUp(t){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,t)}onNodeMouseDown(t,e){this.draggingEnabled&&(this.isDragging=!0,this.draggingNode=e,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(e,t))}onMinimapDragMouseDown(){this.isMinimapPanning=!0}onMinimapPanTo(t){this.panTo((t.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(t.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}center(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}zoomToFit(){let t=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);tthis.maxZoomLevel&&(t=this.maxZoomLevel),t!==this.zoomLevel&&(this.zoomLevel=t,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}panToNodeId(t){const e=this.graph.nodes.find(e=>e.id===t);e&&this.panTo(e.position.x,e.position.y)}panWithConstraints(t,e){let n=e.movementX,r=e.movementY;switch(this.isMinimapPanning&&(n=-this.minimapScaleCoefficient*n*this.zoomLevel,r=-this.minimapScaleCoefficient*r*this.zoomLevel),t){case Ua.Horizontal:this.pan(n,0);break;case Ua.Vertical:this.pan(0,r);break;default:this.pan(n,r)}}updateMidpointOnEdge(t,e){if(t&&e)if(e.length%2==1)t.midPoint=e[Math.floor(e.length/2)];else{const n=e[e.length/2],r=e[e.length/2-1];t.midPoint={x:(n.x+r.x)/2,y:(n.y+r.y)/2}}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(La))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,ra,5),s.Suo(n,ia,5),s.Suo(n,oa,5),s.Suo(n,aa,5),s.Suo(n,sa,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.linkTemplate=t.first),s.iGM(t=s.CRH())&&(e.nodeTemplate=t.first),s.iGM(t=s.CRH())&&(e.clusterTemplate=t.first),s.iGM(t=s.CRH())&&(e.defsTemplate=t.first),s.iGM(t=s.CRH())&&(e.miniMapNodeTemplate=t.first)}},viewQuery:function(t,e){if(1&t&&(s.Gf(zi,7,s.SBq),s.Gf(ua,5),s.Gf(ca,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.chart=t.first),s.iGM(t=s.CRH())&&(e.nodeElements=t),s.iGM(t=s.CRH())&&(e.linkElements=t)}},hostBindings:function(t,e){1&t&&s.NdJ("mousemove",function(t){return e.onMouseMove(t)},!1,s.evT)("mousedown",function(t){return e.onMouseDown(t)},!1,s.evT)("click",function(t){return e.graphClick(t)},!1,s.evT)("touchmove",function(t){return e.onTouchMove(t)},!1,s.evT)("mouseup",function(t){return e.onMouseUp(t)},!1,s.evT)},inputs:{legend:"legend",nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",draggingEnabled:"draggingEnabled",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapPosition:"miniMapPosition",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY",layout:"layout",curve:"curve",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layoutSettings:"layoutSettings",miniMapMaxHeight:"miniMapMaxHeight"},outputs:{activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[s.qOj,s.TTD],ngContentSelectors:Da,decls:5,vars:11,consts:[["mouseWheel","",3,"view","showLegend","legendOptions","legendLabelClick","legendLabelActivate","legendLabelDeactivate","mouseWheelUp","mouseWheelDown"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"ngx-charts-chart",0),s.NdJ("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)})("mouseWheelUp",function(t){return e.onZoom(t,"in")})("mouseWheelDown",function(t){return e.onZoom(t,"out")}),s.YNc(1,xa,12,12,"g",1),s.O4$(),s.TgZ(2,"clipPath"),s._UZ(3,"rect"),s.qZA(),s.YNc(4,Ia,6,15,"g",2),s.qZA()),2&t&&(s.Q6J("view",s.WLB(8,Ca,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),s.xp6(1),s.Q6J("ngIf",e.initialized&&e.graph),s.xp6(1),s.uIk("id",e.minimapClipPathId),s.xp6(1),s.uIk("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),s.xp6(1),s.Q6J("ngIf",e.showMiniMap))},directives:function(){return[zi,za,i.O5,i.sg,i.tP]},styles:[".minimap .minimap-background{fill:rgba(0,0,0,.1)}.minimap .minimap-drag{cursor:pointer;fill:rgba(0,0,0,.2);stroke:#fff;stroke-dasharray:2px;stroke-dashoffset:2px;stroke-width:1px}.minimap .minimap-drag.panning{fill:rgba(0,0,0,.3)}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.graph .edge{fill:none;stroke:#666}.graph .edge .edge-label{fill:#251e1e;font-size:12px;stroke:none}.graph .panning-rect{cursor:move;fill:transparent}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}"],encapsulation:2,changeDetection:0}),Me([(500,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Fa(n.value,500,undefined)}),this[e]}}}),Oe("design:type",Function),Oe("design:paramtypes",[]),Oe("design:returntype",void 0)],t.prototype,"updateMinimap",null),t})(),za=(()=>{class t{constructor(){this.mouseWheelUp=new s.vpe,this.mouseWheelDown=new s.vpe}onMouseWheelChrome(t){this.mouseWheelFunc(t)}onMouseWheelFirefox(t){this.mouseWheelFunc(t)}onWheel(t){this.mouseWheelFunc(t)}onMouseWheelIE(t){this.mouseWheelFunc(t)}mouseWheelFunc(t){window.event&&(t=window.event);const e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail||t.deltaY||t.deltaX)),n=t.wheelDelta?e<0:e>0;(t.wheelDelta?e>0:e<0)?this.mouseWheelUp.emit(t):n&&this.mouseWheelDown.emit(t),t.returnValue=!1,t.preventDefault&&t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&s.NdJ("mousewheel",function(t){return e.onMouseWheelChrome(t)})("DOMMouseScroll",function(t){return e.onMouseWheelFirefox(t)})("wheel",function(t){return e.onWheel(t)})("onmousewheel",function(t){return e.onMouseWheelIE(t)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),t})(),ja=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[La],imports:[[Wi]]}),t})(),Ya=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[co],ja]}),t})();function Ba(){}function Ja(t){return null==t?Ba:function(){return this.querySelector(t)}}function Ga(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Va(){return[]}function Ha(t){return null==t?Va:function(){return this.querySelectorAll(t)}}function Qa(t){return function(){return this.matches(t)}}function Wa(t){return function(e){return e.matches(t)}}var $a=Array.prototype.find;function Xa(){return this.firstElementChild}var Ka=Array.prototype.filter;function ts(){return this.children}function es(t){return new Array(t.length)}function ns(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function rs(t){return function(){return t}}function is(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}ns.prototype={constructor:ns,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var us="http://www.w3.org/1999/xhtml",cs={svg:"http://www.w3.org/2000/svg",xhtml:us,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ls(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),cs.hasOwnProperty(e)?{space:cs[e],local:t}:t}function hs(t){return function(){this.removeAttribute(t)}}function fs(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ds(t,e){return function(){this.setAttribute(t,e)}}function ps(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function gs(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function ms(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function vs(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function ys(t){return function(){this.style.removeProperty(t)}}function _s(t,e,n){return function(){this.style.setProperty(t,e,n)}}function ws(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function bs(t,e){return t.style.getPropertyValue(e)||vs(t).getComputedStyle(t,null).getPropertyValue(e)}function xs(t){return function(){delete this[t]}}function Es(t,e){return function(){this[t]=e}}function Ts(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function As(t){return t.trim().split(/^|\s+/)}function Ss(t){return t.classList||new Is(t)}function Is(t){this._node=t,this._names=As(t.getAttribute("class")||"")}function Cs(t,e){for(var n=Ss(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Qs(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tu=[null];function eu(t,e){this._groups=t,this._parents=e}function nu(){return new eu([[document.documentElement]],tu)}eu.prototype=nu.prototype={constructor:eu,select:function(t){"function"!=typeof t&&(t=Ja(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=m[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ss);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?ys:"function"==typeof e?ws:_s)(t,e,null==n?"":n)):bs(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?xs:"function"==typeof e?Ts:Es)(t,e)):this.node()[t]},classed:function(t,e){var n=As(t+"");if(arguments.length<2){for(var r=Ss(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Eu(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Eu(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=fu.exec(t))?new Su(e[1],e[2],e[3],1):(e=du.exec(t))?new Su(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=pu.exec(t))?Eu(e[1],e[2],e[3],e[4]):(e=gu.exec(t))?Eu(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=mu.exec(t))?Nu(e[1],e[2]/100,e[3]/100,1):(e=vu.exec(t))?Nu(e[1],e[2]/100,e[3]/100,e[4]):yu.hasOwnProperty(t)?xu(yu[t]):"transparent"===t?new Su(NaN,NaN,NaN,0):null}function xu(t){return new Su(t>>16&255,t>>8&255,255&t,1)}function Eu(t,e,n,r){return r<=0&&(t=e=n=NaN),new Su(t,e,n,r)}function Tu(t){return t instanceof au||(t=bu(t)),t?new Su((t=t.rgb()).r,t.g,t.b,t.opacity):new Su}function Au(t,e,n,r){return 1===arguments.length?Tu(t):new Su(t,e,n,null==r?1:r)}function Su(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Iu(){return"#"+Du(this.r)+Du(this.g)+Du(this.b)}function Cu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Du(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Nu(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Zu(t,e,n,r)}function ku(t){if(t instanceof Zu)return new Zu(t.h,t.s,t.l,t.opacity);if(t instanceof au||(t=bu(t)),!t)return new Zu;if(t instanceof Zu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new Zu(a,s,u,t.opacity)}function Zu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Mu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Ou(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}iu(au,bu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:_u,formatHex:_u,formatHsl:function(){return ku(this).formatHsl()},formatRgb:wu,toString:wu}),iu(Su,Au,ou(au,{brighter:function(t){return t=null==t?su:Math.pow(su,t),new Su(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Su(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Iu,formatHex:Iu,formatRgb:Cu,toString:Cu})),iu(Zu,function(t,e,n,r){return 1===arguments.length?ku(t):new Zu(t,e,n,null==r?1:r)},ou(au,{brighter:function(t){return t=null==t?su:Math.pow(su,t),new Zu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Su(Mu(t>=240?t-240:t+120,i,r),Mu(t,i,r),Mu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Ru=t=>()=>t;function Lu(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Ru(isNaN(t)?e:t)}var Uu=function t(e){var n=function(t){return 1==(t=+t)?Lu:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ru(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Au(t)).r,(e=Au(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Lu(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Pu(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return Ou((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Fu(n,r)})),o=zu.lastIndex;return o0)throw new Error("too late; already scheduled");return n}function Hu(t,e){var n=Qu(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Qu(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var Wu,$u=180/Math.PI,Xu={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ku(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Fu(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Fu(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Fu(t,n)},{i:s-2,x:Fu(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Vu:Hu;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Ec=ru.prototype.constructor;function Tc(t){return function(){this.style.removeProperty(t)}}function Ac(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Sc(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Ac(t,o,n)),r}return o._value=e,o}function Ic(t){return function(e){this.textContent=t.call(this,e)}}function Cc(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Ic(r)),e}return r._value=t,r}var Dc=0;function Nc(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function kc(){return++Dc}var Zc=ru.prototype;Nc.prototype=(function(t){return ru().transition(t)}).prototype={constructor:Nc,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Ja(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},ru.prototype.transition=function(t){var e,n;t instanceof Nc?(e=t._id,t=t._name):(e=kc(),(n=Mc).time=(0,Jo.zO)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Yc(t){if(!(e=jc.exec(t)))throw new Error("invalid format: "+t);var e;return new Bc({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Bc(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Yc.prototype=Bc.prototype,Bc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Jc,Gc=Array.prototype.map;function Vc(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s=0;)e+=n[r].value;else e=1;t.value=e}function Wc(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=Xc)):void 0===e&&(e=$c);for(var n,r,i,o,a,s=new el(t),u=[s];n=u.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)u.push(r=i[o]=new el(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(tl)}function $c(t){return t.children}function Xc(t){return Array.isArray(t)?t[1]:null}function Kc(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function tl(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function el(t){this.data=t,this.depth=this.height=0,this.parent=null}void 0===(Jc={thousands:",",grouping:[3],currency:["$",""]}).grouping||void 0===Jc.thousands||Gc.call(Jc.grouping,Number),void 0===Jc.numerals||Gc.call(Jc.numerals,String),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,m,v=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),m=l*l*g,(d=Math.max(f/m,m/h))>p){l-=s;break}p=d}v.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),el.prototype=Wc.prototype={constructor:el,count:function(){return this.eachAfter(Qc)},each:function(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],u=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r=0;--r)o.push(n[r]);return this},find:function(t,e){let n=-1;for(const r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return Wc(this).eachBefore(Kc)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const r of n)t.instance[r]=e.inputs[r]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const r of n)t.instance[r]=e.outputs[r]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const r=this.getComponentRootNode(n),i=new Le.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Le.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.z2F),s.LFG(s._Vd),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function ul(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var cl=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function ll(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function hl(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}class fl{static calculateVerticalAlignment(t,e,n){let r=ll(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}static calculateVerticalCaret(t,e,n,r){let i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);const o=ll(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=hl(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}static calculateHorizontalCaret(t,e,n,r){let i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);const o=hl(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}static shouldFlip(t,e,n,r){let i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}static positionCaret(t,e,n,r,i){let o=0,a=0;return t===cl.right?(a=-7,o=fl.calculateVerticalCaret(n,e,r,i)):t===cl.left?(a=e.width,o=fl.calculateVerticalCaret(n,e,r,i)):t===cl.top?(o=e.height,a=fl.calculateHorizontalCaret(n,e,r,i)):t===cl.bottom&&(o=-7,a=fl.calculateHorizontalCaret(n,e,r,i)),{top:o,left:a}}static positionContent(t,e,n,r,i){let o=0,a=0;return t===cl.right?(a=n.left+n.width+r,o=fl.calculateVerticalAlignment(n,e,i)):t===cl.left?(a=n.left-e.width-r,o=fl.calculateVerticalAlignment(n,e,i)):t===cl.top?(o=n.top-e.height-r,a=fl.calculateHorizontalAlignment(n,e,i)):t===cl.bottom&&(o=n.top+n.height+r,a=fl.calculateHorizontalAlignment(n,e,i)),{top:o,left:a}}static determinePlacement(t,e,n,r){if(fl.shouldFlip(n,e,t,r)){if(t===cl.right)return cl.left;if(t===cl.left)return cl.right;if(t===cl.top)return cl.bottom;if(t===cl.bottom)return cl.top}return t}}let dl=(()=>{class t{constructor(t,e,n){this.element=t,this.renderer=e,this.platformId=n}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,i.NF)(this.platformId))return;const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:r,left:i}=fl.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${r}px`),this.renderer.setStyle(t,"left",`${i}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),{top:i,left:o}=fl.positionCaret(this.placement,e,t,r,this.alignment);this.renderer.setStyle(n,"top",`${i}px`),this.renderer.setStyle(n,"left",`${o}px`)}checkFlip(t,e){this.placement=fl.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.Lbi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&s.Gf(nl,5),2&t){let t;s.iGM(t=s.CRH())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(){return e.onWindowResize()},!1,s.Jf7),2&t&&s.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"span",0,1),s.TgZ(3,"div",2),s.YNc(4,ol,2,4,"span",3),s.YNc(5,al,1,1,"span",4),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Gre("tooltip-caret position-",e.placement,""),s.Q6J("hidden",!e.showCaret),s.xp6(3),s.Q6J("ngIf",!e.title),s.xp6(1),s.Q6J("ngIf",e.title))},directives:[i.O5,i.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);o>3&&a&&Object.defineProperty(e,n,a)}([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:ul(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),pl=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=dl}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(sl))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})();var ml=function(t){return t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip",t}({}),vl=function(t){return t[t.left="left"]="left",t[t.center="center"]="center",t[t.right="right"]="right",t}({}),yl=function(t){return t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover",t}({});let _l,wl=(()=>{class t{constructor(t,e,n){this.tooltipService=t,this.viewContainerRef=e,this.renderer=n,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=cl.top,this.tooltipAlignment=vl.center,this.tooltipType=ml.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=yl.all,this.tooltipImmediateExit=!1,this.show=new s.vpe,this.hide=new s.vpe}get listensForFocus(){return this.tooltipShowEvent===yl.all||this.tooltipShowEvent===yl.focus}get listensForHover(){return this.tooltipShowEvent===yl.all||this.tooltipShowEvent===yl.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(t){if(this.component||this.tooltipDisabled)return;const e=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const t=this.createBoundOptions();this.component=this.tooltipService.create(t),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},e)}addHideListeners(t){this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",e=>{t.contains(e.target)||this.hideTooltip()}))}hideTooltip(t=!1){if(!this.component)return;const e=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(pl),s.Y36(s.s_b),s.Y36(s.Qsj))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&s.NdJ("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),t})(),bl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[sl,pl],imports:[[i.ez]]}),t})();"undefined"!=typeof window?_l=window:"undefined"!=typeof global&&(_l=global);let xl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez,gl,bl],i.ez,gl,bl]}),t})(),El=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Tl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Al=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Sl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Il=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})();Math;let Cl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Dl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl,Cl,Il]]}),t})(),Nl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),kl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Zl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl,Cl,Tl]]}),t})(),Ml=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[xl,El,Tl,Al,Sl,Il,Dl,Nl,Cl,kl,Zl]}),t})();function Ol(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"mat-spinner",3),s.qZA())}function Rl(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),s.xp6(3),s.Oqu(t.service)}}function Ll(t,e){1&t&&(s.O4$(),s.TgZ(0,"marker",10),s._UZ(1,"path",11),s.qZA())}function Ul(t,e){if(1&t&&(s.O4$(),s.TgZ(0,"g",12),s._UZ(1,"rect"),s.TgZ(2,"text",13),s._uU(3),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",t.tooltip),s.xp6(1),s.uIk("width",t.dimension.width)("height",t.dimension.height)("fill",t.color),s.xp6(1),s.uIk("x",10)("y",t.dimension.height/2),s.xp6(1),s.Oqu(t.label)}}function Pl(t,e){if(1&t&&(s.O4$(),s.TgZ(0,"g",14),s._UZ(1,"path",15),s.TgZ(2,"text",16),s.TgZ(3,"textPath",17),s._uU(4),s.qZA(),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(3),s.uIk("href","#"+t.id),s.xp6(1),s.hij(" ",t.label," ")}}const Fl=function(t,e){return[t,e]};function ql(t,e){if(1&t&&(s.TgZ(0,"div"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s._uU(5),s.ALo(6,"translate"),s.TgZ(7,"strong"),s._uU(8),s.qZA(),s.YNc(9,Rl,5,4,"span",4),s.TgZ(10,"div",5),s.TgZ(11,"ngx-graph",6),s.YNc(12,Ll,2,0,"ng-template",null,7,s.W1O),s.YNc(14,Ul,4,9,"ng-template",null,8,s.W1O),s.YNc(16,Pl,5,2,"ng-template",null,9,s.W1O),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),s.xp6(3),s.AsE("",t.user.firstName," ",t.user.lastName,""),s.xp6(1),s.hij(" ",s.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),s.xp6(3),s.Oqu(t.destination),s.xp6(1),s.Q6J("ngIf","noService"!==t.service),s.xp6(2),s.Q6J("links",t.hierarchialGraph.links)("nodes",t.hierarchialGraph.nodes)("curve",t.curve)("draggingEnabled",!1)("zoomToFit$",t.zoomToFit$)("view",s.WLB(16,Fl,t.innerWidth,t.innerHeight))}}function zl(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),s.xp6(3),s.Oqu(t.service)}}function jl(t,e){if(1&t&&(s._uU(0),s.ALo(1,"translate"),s.TgZ(2,"strong"),s._uU(3),s.qZA(),s._uU(4),s.ALo(5,"translate"),s.TgZ(6,"strong"),s._uU(7),s.qZA(),s.YNc(8,zl,5,4,"span",4),s._uU(9),s.ALo(10,"translate")),2&t){const t=s.oxw(2);s.hij(" ",s.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),s.xp6(3),s.AsE("",t.user.firstName," ",t.user.lastName,""),s.xp6(1),s.hij(" ",s.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),s.xp6(3),s.Oqu(t.destination),s.xp6(1),s.Q6J("ngIf","noService"!==t.service),s.xp6(1),s.hij(" ",s.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Yl(t,e){if(1&t&&(s.YNc(0,ql,18,19,"div",1),s.YNc(1,jl,11,13,"ng-template",null,2,s.W1O)),2&t){const t=s.MAs(2),e=s.oxw();s.Q6J("ngIf",e.isConnected)("ngIfElse",t)}}let Bl=(()=>{class t{constructor(t,e,n,r,i,o,a,s,u){this.route=t,this.facilityManager=e,this.userService=n,this.membersService=r,this.serviceService=i,this.resourceManager=o,this.groupService=a,this.voService=s,this.translate=u,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=ke,this.zoomToFit$=new Ze.xQ}ngOnInit(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(t=>{console.log(t),this.destination=t.destination,this.service=t.service,this.userService.getUserById(t.user).subscribe(t=>{this.user=t,this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(t=>{this.facilities=t,this.membersService.getMembersByUser(this.user.id).subscribe(t=>{if(this.membership=t,0===this.membership.length||0===this.facilities.length)return this.loading=!1,void(this.isConnected=!1);this.showGraph()})})})})}showGraph(){const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}];const e=""+this.id(),n="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[...this.hierarchialGraph.nodes,{id:e,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:n}]:[...this.hierarchialGraph.nodes,{id:e,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:n}];for(const r of this.facilities)this.serviceService.getAllRichDestinationsForFacility(r.id).subscribe(t=>{this.connectToService(r,t),this.delay(2e3).then(()=>{this.zoomToFit$.next(!0),this.loading=!1})})}connectToService(t,e){this.isConnectedToService(e)&&this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(e=>{for(let n=0;n{0!==r.length&&this.groupService.getMemberGroups(e.id).subscribe(e=>{const i=this.findConnectedGroups(r,e);if(0!==i.length)for(const r of i)this.connectToResource(t,r,n)})})}connectToResource(t,e,n){this.resourceManager.getAssignedResourcesWithGroup(e.id).subscribe(r=>{const i=this.findConnectedResources(r,n);for(const n of i)this.resourceManager.getAssignedServicesToResource(n.id).subscribe(r=>{this.haveService(r)&&(this.isConnected=!0,this.addNodesToGraph(e.voId,e,n,t))})})}addNodesToGraph(t,e,n,r){if(-1===this.findEntityInGraph("Facility: "+r.id)){const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.localFacility+": "+r.name,tooltip:r.description,color:"#FFCCFF",tip:"Facility: "+r.id}];const e={source:t,target:this.hierarchialGraph.nodes[this.findEntityInGraph("destination no id")].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,e]}this.voService.getVoById(t).subscribe(t=>{if(-1===this.findEntityInGraph("Vo: "+t.id)){const e=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:e,label:this.localVo+": "+t.shortName,tooltip:t.name,color:"#E5FFCC",tip:"Vo: "+t.id}];const n={source:this.hierarchialGraph.nodes[this.findEntityInGraph("user: "+this.user.id)].id,target:e};this.hierarchialGraph.links=[...this.hierarchialGraph.links,n]}if(-1===this.findEntityInGraph("Group: "+e.id)){const n=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:n,label:this.localGroup+": "+e.name,tooltip:e.description,color:"#CCE5FF",tip:"Group: "+e.id}];const r={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Vo: "+t.id)].id,target:n};this.hierarchialGraph.links=[...this.hierarchialGraph.links,r]}const i=this.findEntityInGraph("Resource: "+n.id);if(-1!==i){const t={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+e.id)].id,target:this.hierarchialGraph.nodes[i].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,t]}else{const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.localResource+": "+n.name,tooltip:n.description,color:"#FFCCCC",tip:"Resource: "+n.id}];const i={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+e.id)].id,target:t};this.hierarchialGraph.links=[...this.hierarchialGraph.links,i];const o={source:t,target:this.hierarchialGraph.nodes[this.findEntityInGraph("Facility: "+r.id)].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,o]}})}haveService(t){if("noService"===this.service)return!0;for(const e of t)if(this.service===e.name)return!0;return!1}findConnectedGroups(t,e){const n=[];for(let r=0;rsetTimeout(()=>e(),t)).then(()=>console.log("fired"))})}onResize(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight}getLocalizedNames(){this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.USER").subscribe(t=>{this.localUser=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.VO").subscribe(t=>{this.localVo=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.GROUP").subscribe(t=>{this.localGroup=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.RESOURCE").subscribe(t=>{this.localResource=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.FACILITY").subscribe(t=>{this.localFacility=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SERVICE").subscribe(t=>{this.localService=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION").subscribe(t=>{this.localDestination=t})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.IQ),s.Y36(b.Fv),s.Y36(b.uq),s.Y36(b.KK),s.Y36(b.xk),s.Y36(b.ff),s.Y36(b.YF),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-destination-graph"]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.onResize(t)},!1,s.Jf7),2&t&&s.ekj("router-component",e.true)},decls:6,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"ml-auto","mr-auto"],[4,"ngIf"],[1,"card","w-100","h-100"],[1,"chart-container",3,"links","nodes","curve","draggingEnabled","zoomToFit$","view"],["defsTemplate",""],["nodeTemplate",""],["linkTemplate",""],["id","arrow","viewBox","0 -5 10 10","refX","8","refY","0","markerWidth","4","markerHeight","4","orient","auto"],["d","M0,-5L10,0L0,5",1,"arrow-head"],["ngx-tooltip","",1,"node",3,"tooltipPlacement","tooltipType","tooltipTitle"],["alignment-baseline","central"],[1,"edge"],["stroke-width","2","marker-end","url(#arrow)",1,"line"],["text-anchor","end",1,"edge-label"],["startOffset","60%",2,"fill","#000"]],template:function(t,e){if(1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Ol,2,0,"div",1),s.YNc(4,Yl,3,2,"ng-template",null,2,s.W1O)),2&t){const t=s.MAs(5);s.xp6(1),s.hij(" ",s.lcZ(2,3,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE"),"\n"),s.xp6(2),s.Q6J("ngIf",e.loading)("ngIfElse",t)}},directives:[i.O5,E.$g,qa,wl],pipes:[f.X$],styles:[""]}),t})();var Jl=n(71313);function Gl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Vl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Hl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function Ql(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Wl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}let $l=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.userService=n,this.notificator=r,this.translateService=i,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.titleBefore=new L.NI(this.data.user.titleBefore,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.titleAfter=new L.NI(this.data.user.titleAfter,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.firstName=new L.NI(this.data.user.firstName,[L.kI.required,L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.middleName=new L.NI(this.data.user.middleName,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.lastName=new L.NI(this.data.user.lastName,[L.kI.required,L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSave(){this.loading=!0,this.data.user.titleBefore=this.titleBefore.value,this.data.user.titleAfter=this.titleAfter.value,this.data.user.firstName=this.firstName.value,this.data.user.middleName=this.middleName.value,this.data.user.lastName=this.lastName.value,this.userService.updateUser({user:this.data.user}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_USER.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.Fv),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-edit-user-dialog"]],decls:32,vars:38,consts:[[1,"mat-dialog-title"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"mat-form-field"),s._UZ(6,"input",2),s.ALo(7,"translate"),s.YNc(8,Gl,3,3,"mat-error",3),s.qZA(),s.TgZ(9,"mat-form-field"),s._UZ(10,"input",2),s.ALo(11,"translate"),s.YNc(12,Vl,3,3,"mat-error",3),s.qZA(),s.TgZ(13,"mat-form-field"),s._UZ(14,"input",4),s.ALo(15,"translate"),s.YNc(16,Hl,3,3,"mat-error",3),s.qZA(),s.TgZ(17,"mat-form-field"),s._UZ(18,"input",2),s.ALo(19,"translate"),s.YNc(20,Ql,3,3,"mat-error",3),s.qZA(),s.TgZ(21,"mat-form-field"),s._UZ(22,"input",4),s.ALo(23,"translate"),s.YNc(24,Wl,3,3,"mat-error",3),s.qZA(),s.qZA(),s.TgZ(25,"div",5),s.TgZ(26,"button",6),s.NdJ("click",function(){return e.onCancel()}),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.TgZ(29,"button",7),s.NdJ("click",function(){return e.onSave()}),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),s.xp6(4),s.s9C("placeholder",s.lcZ(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),s.Q6J("formControl",e.titleBefore),s.xp6(2),s.Q6J("ngIf",e.titleBefore.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),s.Q6J("formControl",e.titleAfter),s.xp6(2),s.Q6J("ngIf",e.titleAfter.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),s.Q6J("formControl",e.firstName),s.xp6(2),s.Q6J("ngIf",e.firstName.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),s.Q6J("formControl",e.middleName),s.xp6(2),s.Q6J("ngIf",e.middleName.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),s.Q6J("formControl",e.lastName),s.xp6(2),s.Q6J("ngIf",e.lastName.invalid),s.xp6(3),s.hij(" ",s.lcZ(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loading||e.firstName.invalid||e.lastName.invalid||e.titleBefore.invalid||e.titleAfter.invalid||e.middleName.invalid),s.xp6(1),s.hij(" ",s.lcZ(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[y.xY,O.KE,R.Nt,L.Fj,L.JJ,L.oH,i.O5,L.Q7,y.H8,x.lW,O.TO],pipes:[f.X$],styles:[""]}),t})();var Xl=n(22196);function Kl(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function th(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",12),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).editUser()}),s.TgZ(1,"mat-icon"),s._uU(2,"edit"),s.qZA(),s.qZA()}}const eh=function(){return{color:"black"}},nh=function(t){return["/admin/users",t]};function rh(t,e){if(1&t&&(s.TgZ(0,"div",4),s._UZ(1,"mat-icon",5),s.ALo(2,"translate"),s.TgZ(3,"div",6),s.TgZ(4,"div",7),s.TgZ(5,"a",8),s._uU(6),s.ALo(7,"userFullName"),s.qZA(),s.TgZ(8,"span",9),s._uU(9),s.qZA(),s.YNc(10,th,3,0,"button",10),s.qZA(),s.TgZ(11,"div"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"span",11),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.s9C("matTooltip",s.lcZ(2,11,"ADMIN_USER.ENTITY")),s.Q6J("ngStyle",s.DdM(21,eh)),s.xp6(4),s.Q6J("routerLink",s.VKq(22,nh,t.user.id)),s.xp6(1),s.hij(" ",s.lcZ(7,13,t.user)," "),s.xp6(3),s.hij(" \xa0#",t.user.id," "),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(2),s.AsE(" ",s.lcZ(13,15,"ADMIN_USER.UUID"),": ",t.user.uuid," "),s.xp6(3),s.lnq(" ",s.lcZ(16,17,"ADMIN_USER.ENTITY"),", ",s.lcZ(17,19,"ADMIN_USER.USER_TYPE"),": ",t.getUserType()," ")}}let ih=(()=>{class t{constructor(t,e,n,r,i,o){this.route=t,this.usersService=e,this.sideMenuService=n,this.sideMenuItemService=r,this.dialog=i,this.authResolver=o,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.userId;this.path=`/admin/users/${e}`,this.regex="/admin/users/\\d+",this.usersService.getUserById(e).subscribe(t=>{this.user=t;const e=this.sideMenuItemService.parseUser(t,this.path,this.regex);this.sideMenuService.setAdminItems([e]),this.loading=!1},()=>this.loading=!1)})}editUser(){const t=(0,tt.kZ)();t.width="450px",t.data={theme:"admin-theme",user:this.user},this.dialog.open($l,t).afterClosed().subscribe(t=>{t&&this.usersService.getUserById(this.user.id).subscribe(t=>{this.user=t})})}getUserType(){return this.user.serviceUser?"Service":"Person"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.Fv),s.Y36(u.D),s.Y36(a.V),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-user-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.YNc(2,Kl,1,0,"mat-spinner",1),s.YNc(3,rh,18,24,"div",2),s._UZ(4,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&void 0!==e.user))},directives:[c.W,i.O5,h.A,E.$g,l.Hw,M.gM,i.PC,o.yS,x.lW],pipes:[f.X$,Xl.d],styles:[""]}),t})();var oh=n(71956),ah=n(15879),sh=n(31612),uh=n(40790),ch=n(95690),lh=n(68787),hh=n(4359);function fh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw().onLoad()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.EXT_SOURCES.LOAD")," "))}function dh(t,e){1&t&&s._UZ(0,"mat-spinner",6)}const ph=function(){return["id","name","type"]};function gh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-ext-sources-list",7),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("extSources",t.extSources)("filterValue",t.filterValue)("displayedColumns",s.DdM(4,ph))("pageSize",t.pageSize)}}let mh=(()=>{class t{constructor(t,e,n,r,i){this.extSourceService=t,this.notificator=e,this.tableConfigService=n,this.translate=r,this.authResolver=i,this.extSources=[],this.filterValue="",this.loading=!1,this.tableId=et.qy,this.translate.get("ADMIN.EXT_SOURCES.LOAD_SUCCESS").subscribe(t=>this.loadSuccess=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}applyFilter(t){this.filterValue=t}onLoad(){this.extSourceService.loadExtSourcesDefinitions().subscribe(()=>{this.notificator.showSuccess(this.loadSuccess),this.refreshTable()})}refreshTable(){this.loading=!0,this.extSourceService.getExtSources().subscribe(t=>{this.extSources=t,this.loading=!1})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.KG),s.Y36(w.V6),s.Y36(et.dB),s.Y36(f.sK),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-ext-sources"]],decls:8,vars:7,consts:[[1,"page-subtitle"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"extSources","filterValue","displayedColumns","pageSize","page",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"extSources","filterValue","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,fh,3,3,"button",1),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(6,dh,1,0,"mat-spinner",3),s.YNc(7,gh,1,5,"app-ext-sources-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"ADMIN.EXT_SOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.EXT_SOURCES.SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,at.L,x.lW,E.$g,hh.D],pipes:[f.X$],styles:[""]}),t})();var vh=n(7233),yh=n(67004),_h=n(86593);function wh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",14),s.NdJ("page",function(e){return s.CHM(t),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("users",t.identities)("disableRouting",!0)("selection",t.selection)}}function bh(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,wh,1,5,"app-users-list",13),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",void 0!==t.identities&&t.identities.length>0)}}function xh(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","info"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function Eh(t,e){1&t&&(s.TgZ(0,"app-alert",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function Th(t,e){1&t&&s._UZ(0,"mat-spinner",17)}let Ah=(()=>{class t{constructor(t,e,n,r,i,o,a){this.dialogRef=t,this.data=e,this.tableConfigService=n,this.userManager=r,this.storeService=i,this.notificator=o,this.translate=a,this.loading=!1,this.selection=new v.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=et.Iz}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new L.NI("",[L.kI.required,L.kI.pattern(".*[\\S]+.*")])}onAdd(){let t,e;this.loading=!0,this.isService?(t=this.selection.selected[0].id,e=this.userId):(t=this.userId,e=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(t,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.firstSearchDone=!0;let t=[yh.r.USER_DEF_ORGANIZATION,yh.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,t).subscribe(t=>{this.identities=this.filterIdentities(t),this.loading=!1},()=>{this.loading=!1})}onKeyInput(t){"Enter"===t.key&&this.onSearchByString()}filterIdentities(t){return t.filter(this.isService?t=>!t.serviceUser:t=>t.serviceUser)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(w.d6),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],[3,"alert_type",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page",4,"ngIf"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page"],[3,"alert_type"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.NdJ("keyup",function(t){return e.onKeyInput(t)}),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"mat-form-field",3),s.TgZ(6,"label"),s._UZ(7,"input",4),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"mat-error"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onSearchByString()}),s.TgZ(13,"mat-icon"),s._uU(14,"search"),s.qZA(),s.qZA(),s.YNc(15,bh,2,1,"div",6),s.YNc(16,xh,3,4,"app-alert",7),s.YNc(17,Eh,3,3,"app-alert",8),s.qZA(),s.YNc(18,Th,1,0,"mat-spinner",9),s.TgZ(19,"div",10),s.TgZ(20,"button",11),s.NdJ("click",function(){return e.onCancel()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.TgZ(23,"button",12),s.NdJ("click",function(){return e.onAdd()}),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),s.xp6(5),s.s9C("placeholder",s.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),s.Q6J("formControl",e.searchCtrl),s.xp6(3),s.hij(" ",s.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.firstSearchDone),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(3),s.hij(" ",s.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[y.uh,y.xY,O.KE,R.Nt,L.Fj,L.JJ,L.oH,O.TO,x.lW,l.Hw,i.O5,y.H8,_h.C,T.w,E.$g],pipes:[f.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t})();function Sh(t,e){1&t&&s._UZ(0,"th",12)}function Ih(t,e){if(1&t&&(s.TgZ(0,"td",13),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,t)," ")}}function Ch(t,e){1&t&&s._UZ(0,"tr",14)}function Dh(t,e){1&t&&s._UZ(0,"tr",15)}let Nh=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.userManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.userId=this.data.userId,this.dataSource=new _.by([this.data.specificUser]),this.isService=this.data.isService}onConfirm(){let t,e;this.isService?(t=this.dataSource.data[0].id,e=this.userId):(t=this.userId,e=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(t,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.Fv),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-disconnect-identity-dialog"]],decls:24,vars:21,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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.TgZ(4,"div",1),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"div",2),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"table",3),s.ynx(12,4),s.YNc(13,Sh,1,0,"th",5),s.YNc(14,Ih,3,3,"td",6),s.BQk(),s.YNc(15,Ch,1,0,"tr",7),s.YNc(16,Dh,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(17,"div",9),s.TgZ(18,"button",10),s.NdJ("click",function(){return e.onCancel()}),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"button",11),s.NdJ("click",function(){return e.onConfirm()}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,11,"DIALOGS.DISCONNECT_IDENTITY.TITLE")),s.xp6(2),s.Tol(e.theme),s.xp6(3),s.Oqu(s.lcZ(7,13,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION")),s.xp6(3),s.hij(" ",s.lcZ(10,15,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),s.xp6(2),s.Q6J("dataSource",e.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(20,17,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(23,19,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[y.uh,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,y.H8,x.lW,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$,Xl.d],styles:[""]}),t})();function kh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function Zh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE")," "))}function Mh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE")," ")}}function Oh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("users",t.identities)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function Rh(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES")," "))}function Lh(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let Uh=(()=>{class t{constructor(t,e,n,r,i,o){this.route=t,this.dialog=e,this.router=n,this.tableConfigService=r,this.userManager=i,this.authResolver=o,this.loading=!1,this.selection=new v.Ov(!1,[]),this.identities=[],this.tableId=et.Iz,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.userId=t.userId,this.userManager.getSpecificUsersByUser(this.userId).subscribe(t=>{this.identities=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(t=>{this.identities=t,this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!1},this.dialog.open(Ah,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme"},this.dialog.open(Nh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(y.uw),s.Y36(o.F0),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-settings-service-identities"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,kh,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,Zh,3,3,"button",2),s.YNc(6,Mh,3,4,"button",3),s.YNc(7,Oh,1,4,"app-users-list",4),s.YNc(8,Rh,3,3,"app-alert",5),s.qZA(),s.YNc(9,Lh,1,0,"mat-spinner",6)),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",void 0!==e.identities&&e.identities.length>0),s.xp6(1),s.Q6J("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[i.O5,ot.t,x.lW,_h.C,T.w,E.$g],pipes:[f.X$],styles:[""]}),t})();var Ph=n(56238),Fh=n(79996);function qh(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function zh(t,e){if(1&t&&(s.TgZ(0,"mat-option",14),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t.name," ")}}function jh(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"mat-form-field",8),s._UZ(2,"input",9),s.ALo(3,"translate"),s.TgZ(4,"mat-error"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"mat-form-field",8),s._UZ(8,"input",10),s.ALo(9,"translate"),s.TgZ(10,"mat-error"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"mat-autocomplete",11,12),s.YNc(15,zh,2,2,"mat-option",13),s.ALo(16,"async"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(14),e=s.oxw();s.xp6(2),s.s9C("placeholder",s.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),s.Q6J("formControl",e.loginControl),s.xp6(3),s.hij(" ",s.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),s.Q6J("formControl",e.extSourcesControl)("matAutocomplete",t),s.xp6(3),s.hij(" ",s.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),s.xp6(2),s.Q6J("displayWith",e.displayFn),s.xp6(2),s.Q6J("ngForOf",s.lcZ(16,17,e.filteredExtSources))}}let Yh=(()=>{class t{constructor(t,e,n,r,i,o){this.dialogRef=t,this.data=e,this.extSourcesManagerService=n,this.usersManagerService=r,this.translate=i,this.notificator=o,this.extSources=[],i.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.loginControl=new L.NI("",[L.kI.required,L.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new L.NI("",[L.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,Ph.O)(""),(0,Fh.U)(t=>this._filter(t))),this.extSourcesManagerService.getExtSources().subscribe(t=>{this.extSources=t,this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,Ph.O)(""),(0,Fh.U)(t=>this._filter(t))),this.loading=!1},()=>this.loading=!1)}displayFn(t){return t?t.name:null}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}_filter(t){const e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.extSources.filter(t=>t.name.toLowerCase().includes(e))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KG),s.Y36(b.Fv),s.Y36(f.sK),s.Y36(w.V6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[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"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,qh,1,0,"mat-spinner",2),s.YNc(5,jh,17,19,"div",3),s.qZA(),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.onAdd()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),s.xp6(3),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[y.uh,y.xY,i.O5,y.H8,x.lW,E.$g,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,ye.ZL,ye.XC,i.sg,z.ey],pipes:[f.X$,i.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t})();var Bh=n(61189),Jh=n(23888);function Gh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().addIdentity()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD")))}function Vh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().removeIdentity()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"))}}function Hh(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function Qh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-user-ext-sources-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("displayedColumns",t.displayedColumns)("selection",t.selection)("userExtSources",t.userExtSources)("pageSize",t.pageSize)}}let Wh=(()=>{class t{constructor(t,e,n,r,i,o,a){this.usersManagerService=t,this.storage=e,this.registrarManagerService=n,this.dialog=r,this.route=i,this.tableConfigService=o,this.authResolver=a,this.userExtSources=[],this.selection=new v.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=et.gG}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(t=>{this.userExtSources=t,this.loading=!1},()=>this.loading=!1)}addIdentity(){const t=(0,tt.kZ)();t.width="400px",t.data={userId:this.userId},this.dialog.open(Yh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeIdentity(){const t=(0,tt.kZ)();t.width="400px",t.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(Bh.Lc,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(w.d6),s.Y36(b.tk),s.Y36(y.uw),s.Y36(o.gz),s.Y36(et.dB),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-identities"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(4,Gh,3,3,"button",2),s.YNc(5,Vh,3,4,"button",3),s.TgZ(6,"div",4),s.YNc(7,Hh,1,0,"mat-spinner",5),s.qZA(),s.YNc(8,Qh,2,4,"div",6)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,"USER_DETAIL.IDENTITIES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,x.lW,E.$g,Jh.j],pipes:[f.X$],styles:[""]}),t})();function $h(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function Xh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-form-field"),s.TgZ(2,"input",6),s.NdJ("change",function(){return s.CHM(t),s.oxw().makePath()}),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-error"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"mat-form-field"),s.TgZ(8,"input",7),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().description=e}),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"mat-form-field"),s._UZ(11,"input",8),s.ALo(12,"translate"),s.TgZ(13,"mat-error"),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.TgZ(16,"mat-form-field"),s._UZ(17,"input",8),s.ALo(18,"translate"),s.TgZ(19,"mat-error"),s._uU(20),s.ALo(21,"translate"),s.qZA(),s.qZA(),s.TgZ(22,"mat-form-field"),s._UZ(23,"input",8),s.ALo(24,"translate"),s.TgZ(25,"mat-error"),s._uU(26),s.ALo(27,"translate"),s.qZA(),s.qZA(),s.TgZ(28,"span",9),s._uU(29),s.ALo(30,"translate"),s.TgZ(31,"mat-checkbox",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().status=e}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.s9C("placeholder",s.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),s.Q6J("formControl",t.nameControl),s.xp6(3),s.Oqu(s.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),s.xp6(3),s.s9C("placeholder",s.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),s.Q6J("ngModel",t.description),s.xp6(3),s.s9C("placeholder",s.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),s.Q6J("formControl",t.delayControl),s.xp6(3),s.Oqu(s.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),s.xp6(3),s.s9C("placeholder",s.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),s.Q6J("formControl",t.recurrenceControl),s.xp6(3),s.Oqu(s.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),s.xp6(3),s.s9C("placeholder",s.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),s.Q6J("formControl",t.pathControl),s.xp6(3),s.Oqu(s.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),s.xp6(3),s.hij("",s.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),s.xp6(2),s.Q6J("ngModel",t.status),s.xp6(1),s.Oqu(s.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function Kh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",11),s.TgZ(1,"button",12),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",13),s.NdJ("click",function(){s.CHM(t);const e=s.oxw();return e.asEdit?e.onEdit():e.onCreate()}),s._uU(5),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.nameControl.invalid||t.delayControl.invalid||t.recurrenceControl.invalid||t.pathControl.invalid),s.xp6(1),s.hij(" ",t.buttonText," ")}}let tf=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.loading=!1,this.status=!0,this.nameControl=new L.NI("",[L.kI.required,L.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new L.NI(10,[L.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new L.NI(2,[L.kI.pattern("^[0-9]*$")]),this.pathControl=new L.NI("",[L.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.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,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),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,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})}onCancel(){this.dialogRef.close(!1)}makePath(){const t="./".concat(this.nameControl.value);this.pathControl.setValue(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.qZA(),s.YNc(3,$h,1,0,"mat-spinner",1),s.YNc(4,Xh,34,39,"div",2),s.YNc(5,Kh,6,5,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(e.title),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,L.On,q.oG,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();var ef=n(20247);let nf=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"],this.dataSource=new _.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}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(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-service-dialog"]],decls:2,vars:7,consts:[[3,"anotherMessage","entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(t){return e.onSubmit(t)}),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(1),s.Q6J("anotherMessage",e.anotherMessage)("entityNames",e.dataSource)("entityType","services")("relations",e.relations))},directives:[ef.e],styles:[""]}),t})();function rf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().createService()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.SERVICES.CREATE"),""))}function of(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().deleteService()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.SERVICES.DELETE"),"")}}function af(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function sf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-services-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("selection",t.selection)("services",t.services)("filterValue",t.filterValue)}}let uf=(()=>{class t{constructor(t,e,n,r){this.tableConfigService=t,this.serviceManager=e,this.dialog=n,this.authResolver=r,this.selection=new v.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=et.NL}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.serviceManager.getServices().subscribe(t=>{this.services=t,this.refreshTable()})}createService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"admin-theme"},this.dialog.open(tf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}deleteService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(nf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(t=>{this.services=t,this.selection.clear(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(et.dB),s.Y36(b.KK),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,rf,3,3,"button",2),s.YNc(6,of,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(8,af,1,0,"mat-spinner",5),s.YNc(9,sf,1,4,"app-services-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"ADMIN.SERVICES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.SERVICES.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,lt.Q],pipes:[f.X$],styles:[""]}),t})();var cf=n(88884);function lf(t,e){1&t&&s._UZ(0,"mat-spinner",5)}const hf=function(){return["id","name","vo","facility","description"]};function ff(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",6),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("resources",t.resources)("filterValue",t.filterValue)("displayedColumns",s.DdM(4,hf))}}let df=(()=>{class t{constructor(t,e,n){this.userManager=t,this.tableConfigService=e,this.route=n,this.resources=[],this.tableId=et.kO,this.filterValue=""}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.userManager.getAssignedRichResourcesForUser(t.userId).subscribe(t=>{this.resources=t,this.loading=!1})})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}resourceFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(et.dB),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","resources","filterValue","displayedColumns","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","resources","filterValue","displayedColumns","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.resourceFilter(t)}),s.qZA(),s.YNc(6,lf,1,0,"mat-spinner",3),s.YNc(7,ff,1,5,"perun-web-apps-resources-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,at.L,i.O5,E.$g,cf.C],pipes:[f.X$],styles:[""]}),t})();var pf=n(13572),gf=n(40695),mf=n(41186);const vf=["list"];function yf(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function _f(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attributes-list",8,9),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("attributes",t.attributes)("selection",t.selection)}}let wf=(()=>{class t{constructor(t,e,n,r,i){this.dialog=t,this.attributesManager=e,this.tableConfigService=n,this.userService=r,this.route=i,this.loading=!1,this.selection=new v.Ov(!0,[]),this.tableId=et.rF,this.attributes=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.userService.getUserExtSourceById(t.identityId).subscribe(t=>{this.userExtSource=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(t=>{this.attributes=(0,tt.MX)(t),this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1050px",t.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(gf.n,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=(0,tt.kZ)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Bh.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(pf.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(b.H8),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){if(1&t&&s.Gf(vf,5),2&t){let t;s.iGM(t=s.CRH())&&(e.list=t.first)}},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"button",2),s.NdJ("click",function(){return e.onSave()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"button",3),s.NdJ("click",function(){return e.onAdd()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"button",4),s.NdJ("click",function(){return e.onRemove()}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.YNc(14,yf,1,0,"mat-spinner",5),s.YNc(15,_f,2,3,"perun-web-apps-attributes-list",6),s.qZA()),2&t&&(s.xp6(2),s.AsE("",s.lcZ(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),s.xp6(3),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),s.xp6(3),s.Oqu(s.lcZ(10,13,"SHARED.IDENTITY_DETAIL.ADD")),s.xp6(2),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,x.lW,i.O5,E.$g,mf.p],pipes:[f.X$],styles:[""]}),t})();function bf(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function xf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",13),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).editService()}),s.TgZ(1,"mat-icon"),s._uU(2,"edit"),s.qZA(),s.qZA()}}function Ef(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).removeService()}),s.TgZ(1,"mat-icon"),s._uU(2,"delete_forever"),s.qZA(),s.qZA()}}const Tf=function(){return{color:"black"}},Af=function(t){return["/admin/services",t]};function Sf(t,e){if(1&t&&(s.TgZ(0,"div",4),s._UZ(1,"mat-icon",5),s.ALo(2,"translate"),s.TgZ(3,"div",6),s.TgZ(4,"div",7),s.TgZ(5,"a",8),s._uU(6),s.qZA(),s.TgZ(7,"span",9),s._uU(8),s.qZA(),s.YNc(9,xf,3,0,"button",10),s.YNc(10,Ef,3,0,"button",11),s.qZA(),s.TgZ(11,"span",12),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.s9C("matTooltip",s.lcZ(2,9,"SERVICE_DETAIL.ENTITY")),s.Q6J("ngStyle",s.DdM(13,Tf)),s.xp6(4),s.Q6J("routerLink",s.VKq(14,Af,t.service.id)),s.xp6(1),s.hij(" ",t.service.name," "),s.xp6(2),s.hij(" \xa0 #",t.service.id," "),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(2),s.AsE(" ",s.lcZ(13,11,"SERVICE_DETAIL.DESCRIPTION"),": ",t.service.description," ")}}let If=(()=>{class t{constructor(t,e,n,r,i,o,a){this.route=t,this.router=e,this.serviceManager=n,this.sideMenuService=r,this.sideMenuItemService=i,this.dialog=o,this.authResolver=a,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.serviceManager.getServiceById(t.serviceId).subscribe(t=>{this.service=t;const e=this.sideMenuItemService.parseService(this.service);this.sideMenuService.setAdminItems([e]),this.loading=!1},()=>this.loading=!1)})}editService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"service-theme",service:this.service},this.dialog.open(tf,t).afterClosed().subscribe(t=>{t&&this.ngOnInit()})}removeService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"service-theme",services:[this.service]},this.dialog.open(nf,t).afterClosed().subscribe(t=>{t&&(console.log(t),this.router.navigate(["/admin/services"]))})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(o.F0),s.Y36(b.KK),s.Y36(u.D),s.Y36(a.V),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.YNc(2,bf,1,0,"mat-spinner",1),s.YNc(3,Sf,14,16,"div",2),s._UZ(4,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&void 0!==e.service))},directives:[c.W,i.O5,h.A,E.$g,l.Hw,M.gM,i.PC,o.yS,x.lW],pipes:[f.X$],styles:[""],data:{animation:[ut.Ji]}}),t})(),Cf=(()=>{class t{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&s._UZ(0,"perun-web-apps-menu-buttons-field",0),2&t&&s.Q6J("items",e.navItems)("size","small")},directives:[g.L],styles:[""]}),t})();function Df(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function Nf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"perun-web-apps-immediate-filter",6),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA(),s._UZ(2,"app-attr-def-list",7),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),s.xp6(1),s.Q6J("selection",t.selection)("definitions",t.attrDefinitions)("disableRouting",!0)("filterValue",t.filterValue)}}function kf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}let Zf=(()=>{class t{constructor(t,e,n,r,i,o){this.dialogRef=t,this.data=e,this.serviceManager=n,this.attributesManager=r,this.notificator=i,this.translate=o,this.attrDefinitions=[],this.selection=new v.Ov(!0,[]),this.filterValue="",this.loading=!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attrDefinitions=t,this.loading=!1})}onAdd(){this.loading=!0;const t=this.selection.selected.map(t=>t.id);this.serviceManager.addRequiredAttributes(this.serviceId,t).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(b.H8),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Df,1,0,"mat-spinner",1),s.YNc(5,Nf,3,5,"div",2),s.YNc(6,kf,7,7,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,at.L,ne,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();function Mf(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function Of(t,e){1&t&&s._UZ(0,"th",15)}function Rf(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.friendlyName," ")}}function Lf(t,e){1&t&&s._UZ(0,"tr",17)}function Uf(t,e){1&t&&s._UZ(0,"tr",18)}function Pf(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Of,1,0,"th",11),s.YNc(10,Rf,2,1,"td",12),s.BQk(),s.YNc(11,Lf,1,0,"tr",13),s.YNc(12,Uf,1,0,"tr",14),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}let Ff=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new _.by(this.data.attrDefinitions)}onConfirm(){this.loading=!0;const t=this.dataSource.data.map(t=>t.id);this.serviceManager.removeRequiredAttributes(this.serviceId,t).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.YNc(4,Mf,1,0,"mat-spinner",1),s.YNc(5,Pf,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onConfirm()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Tol(e.theme),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$],styles:[""]}),t})();function qf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function zf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function jf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Yf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-immediate-filter",10),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA()}2&t&&s.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Bf(t,e){1&t&&s._UZ(0,"mat-spinner",11)}function Jf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-attr-def-list",12),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("refreshEvent",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selection)("filterValue",t.filterValue)("disableRouting",!t.authResolver.isPerunAdmin())}}let Gf=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.tableConfigService=e,this.attributeManager=n,this.dialog=r,this.authResolver=i,this.loading=!1,this.filterValue="",this.selection=new v.Ov(!0,[]),this.attrDefinitions=[],this.tableId=et.JO}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.serviceId=t.serviceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.serviceId).subscribe(t=>{this.selection.clear(),this.attrDefinitions=t,this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="950px",t.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Zf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(Ff,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(et.dB),s.Y36(b.H8),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-required-attributes"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,qf,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,zf,3,3,"button",2),s.YNc(6,jf,3,4,"button",3),s.YNc(7,Yf,1,1,"perun-web-apps-immediate-filter",4),s.YNc(8,Bf,1,0,"mat-spinner",5),s.YNc(9,Jf,1,5,"app-attr-def-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,ot.t,x.lW,at.L,E.$g,ne],pipes:[f.X$],styles:[""]}),t})();function Vf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function Hf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function Qf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function Wf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("users",t.associatedUsers)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function $f(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function Xf(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let Kf=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.dialog=e,this.router=n,this.tableConfigService=r,this.userManager=i,this.loading=!1,this.selection=new v.Ov(!1,[]),this.associatedUsers=[],this.tableId=et.It,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.userId=t.userId,this.userManager.getUsersBySpecificUser(this.userId).subscribe(t=>{this.associatedUsers=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.userManager.getUsersBySpecificUser(this.userId).subscribe(t=>{this.associatedUsers=t,this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(Ah,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme"},this.dialog.open(Nh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(y.uw),s.Y36(o.F0),s.Y36(et.dB),s.Y36(b.Fv))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-settings-associated-users"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Vf,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,Hf,3,3,"button",2),s.YNc(6,Qf,3,4,"button",3),s.YNc(7,Wf,1,4,"app-users-list",4),s.YNc(8,$f,3,3,"app-alert",5),s.qZA(),s.YNc(9,Xf,1,0,"mat-spinner",6)),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),s.xp6(1),s.Q6J("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[i.O5,ot.t,x.lW,_h.C,T.w,E.$g],pipes:[f.X$],styles:[""]}),t})();var td=n(60547),ed=n(94357);function nd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function rd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function id(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAllow()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function od(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onBlock()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function ad(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-immediate-filter",10),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA()}2&t&&s.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function sd(t,e){1&t&&s._UZ(0,"mat-spinner",11)}const ud=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function cd(t,e){if(1&t&&s._UZ(0,"app-perun-web-apps-destination-list",12),2&t){const t=s.oxw();s.Q6J("destinations",t.destinations)("selection",t.selection)("pageSize",t.pageSize)("displayedColumns",s.DdM(5,ud))("filterValue",t.filterValue)}}let ld=(()=>{class t{constructor(t,e,n,r,i,o,a){this.route=t,this.tableConfigService=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.dialog=o,this.authResolver=a,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new v.Ov(!0,[]),this.tableId=et.Cf}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.serviceId=t.serviceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.serviceId).subscribe(t=>{this.selection.clear(),this.filterValue="",this.destinations=t,this.loading=!1})}blockServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.blockServiceOnDestination(this.serviceId,e.id).subscribe(()=>{this.blockServiceOnDestinations(t)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}allowServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.unblockServiceOnDestinationById(this.serviceId,e.id).subscribe(()=>{this.allowServiceOnDestinations(t)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}onRemove(){const t=(0,tt.kZ)();t.width="500px",t.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(td.u,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(et.dB),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-destinations"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","pageSize","displayedColumns","filterValue",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","pageSize","displayedColumns","filterValue"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,nd,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,rd,3,4,"button",2),s.YNc(6,id,3,4,"button",3),s.YNc(7,od,3,4,"button",2),s.YNc(8,ad,1,1,"perun-web-apps-immediate-filter",4),s.YNc(9,sd,1,0,"mat-spinner",5),s.YNc(10,cd,1,6,"app-perun-web-apps-destination-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,ot.t,x.lW,at.L,E.$g,ed.q],pipes:[f.X$],styles:[""]}),t})();function hd(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function fd(t,e){1&t&&s._UZ(0,"th",13)}function dd(t,e){if(1&t&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.name," ")}}function pd(t,e){1&t&&s._UZ(0,"tr",15)}function gd(t,e){1&t&&s._UZ(0,"tr",16)}function md(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,fd,1,0,"th",9),s.YNc(10,dd,2,1,"td",10),s.BQk(),s.YNc(11,pd,1,0,"tr",11),s.YNc(12,gd,1,0,"tr",12),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function vd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}let yd=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.ownersManagerService=i,this.displayedColumns=["name"],this.owners=[]}ngOnInit(){this.dataSource=new _.by(this.data),this.owners=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.aC))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,hd,1,0,"mat-spinner",1),s.YNc(4,md,13,9,"div",2),s.YNc(5,vd,7,7,"div",3)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,_.ev,_.XQ,_.Gk,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();function _d(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function wd(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function bd(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function xd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",6),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",6),s.ALo(10,"translate"),s.YNc(11,wd,3,3,"mat-error",3),s.YNc(12,bd,3,3,"mat-error",3),s.qZA(),s.TgZ(13,"mat-form-field"),s.TgZ(14,"mat-select",7),s.NdJ("valueChange",function(e){return s.CHM(t),s.oxw().type=e}),s.TgZ(15,"mat-option",8),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"mat-option",9),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(21,"div",10),s.TgZ(22,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(23),s.ALo(24,"translate"),s.qZA(),s.TgZ(25,"div",12),s.ALo(26,"translate"),s.TgZ(27,"button",13),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),s.Q6J("formControl",t.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),s.Q6J("formControl",t.contactCtrl),s.xp6(2),s.Q6J("ngIf",t.contactCtrl.hasError("required")),s.xp6(1),s.Q6J("ngIf",t.contactCtrl.invalid&&!t.contactCtrl.hasError("required")),s.xp6(2),s.Q6J("value",t.type),s.xp6(2),s.Oqu(s.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),s.xp6(3),s.Oqu(s.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),s.xp6(4),s.hij(" ",s.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),s.Q6J("matTooltipDisabled",t.nameCtrl.valid&&t.contactCtrl.valid),s.xp6(2),s.Q6J("disabled",t.nameCtrl.invalid||t.contactCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}let Ed=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.ownersManagerService=n,this.translate=r,this.type="1",this.emailRegex=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,r.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.nameCtrl=new L.NI(null,[L.kI.required,L.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new L.NI(null,[L.kI.required,L.kI.pattern(this.emailRegex)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number.parseInt(this.type,10)}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(b.aC),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-owner-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"],[3,"value","valueChange"],["value","1"],["value","0"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_d,1,0,"mat-spinner",2),s.YNc(5,xd,30,31,"div",3),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,P.gD,z.ey,y.H8,x.lW,M.gM],pipes:[f.X$],styles:[""]}),t})();var Td=n(17767);function Ad(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().addOwner()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function Sd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().removeOwner()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",!t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function Id(t,e){1&t&&s._UZ(0,"mat-spinner",10)}function Cd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-owners-list",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("owners",t.owners)("selection",t.selected)}}let Dd=(()=>{class t{constructor(t,e,n,r){this.ownersManagerService=t,this.tableConfigService=e,this.dialog=n,this.guiAuthResolver=r,this.owners=[],this.selected=new v.Ov(!0,[]),this.filterValue="",this.tableId=et.v1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}refreshTable(){this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=t,this.selected.clear(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addOwner(){const t=(0,tt.kZ)();t.width="400px",t.data={},this.dialog.open(Ed,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeOwner(){const t=(0,tt.kZ)();t.width="400px",t.data=this.selected.selected,this.dialog.open(yd,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.aC),s.Y36(et.dB),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","selection","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",2),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,Ad,3,3,"button",3),s.YNc(6,Sd,3,4,"button",4),s.TgZ(7,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(8,Id,1,0,"mat-spinner",6),s.YNc(9,Cd,1,4,"perun-web-apps-owners-list",7),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"ADMIN.OWNERS.TITLE")),s.xp6(3),s.Q6J("ngIf",e.addAuth),s.xp6(1),s.Q6J("ngIf",e.removeAuth),s.xp6(1),s.Q6J("placeholder","ADMIN.OWNERS.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,Td.Q],pipes:[f.X$],styles:[""]}),t})();var Nd=n(60007);function kd(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function Zd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-facilities-list",6),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("filterValue",t.filterValue)("facilities",t.facilities)("displayedColumns",t.displayedColumns)("pageSize",t.pageSize)}}let Md=(()=>{class t{constructor(t,e,n){this.facilityManager=t,this.tableConfigService=e,this.route=n,this.facilities=[],this.filterValue="",this.tableId=et.zW,this.displayedColumns=["id","name","description"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.userId=t.userId,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(t=>{this.facilities=t.map(t=>({facility:t})),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.IQ),s.Y36(et.dB),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"filterValue","facilities","displayedColumns","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"filterValue","facilities","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(6,kd,1,0,"mat-spinner",3),s.YNc(7,Zd,1,4,"perun-web-apps-facilities-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),s.xp6(3),s.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,at.L,i.O5,E.$g,Nd.X],pipes:[f.X$],styles:[""]}),t})();var Od=n(19386),Rd=n(55109),Ld=n(64737),Ud=n(78364),Pd=n(541),Fd=n(69012);function qd(t,e){1&t&&s._UZ(0,"mat-spinner")}function zd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-vo-search-select",4),s.NdJ("voSelected",function(e){return s.CHM(t),s.oxw().loadMember(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("vos",t.vos)}}function jd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function Yd(t,e){1&t&&s._UZ(0,"mat-spinner")}const Bd=function(){return["id","recent","name","description","groupStatus","expiration"]};function Jd(t,e){if(1&t&&s._UZ(0,"perun-web-apps-groups-list",13),2&t){const t=s.oxw(4);s.Q6J("displayedColumns",s.DdM(2,Bd))("groups",t.groups)}}const Gd=function(t,e){return["/organizations",t,"members",e]};function Vd(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",7),s.TgZ(2,"span",8),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"a",9),s._uU(6),s.qZA(),s.qZA(),s._UZ(7,"app-member-overview-membership",10),s.TgZ(8,"p",11),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.YNc(11,Jd,1,3,"perun-web-apps-groups-list",12),s.qZA()),2&t){const t=s.oxw(3);s.xp6(3),s.hij("",s.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),s.xp6(2),s.Q6J("routerLink",s.WLB(11,Gd,t.selectedVo.id,t.member.id)),s.xp6(1),s.hij("",t.member.id," "),s.xp6(1),s.Q6J("member",t.member)("vo",t.selectedVo),s.xp6(2),s.Oqu(s.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),s.xp6(2),s.Q6J("ngIf",!t.loading)}}function Hd(t,e){if(1&t&&(s.YNc(0,Yd,1,0,"mat-spinner",1),s.YNc(1,Vd,12,14,"div",1)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function Qd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function Wd(t,e){1&t&&s._UZ(0,"mat-spinner")}function $d(t,e){if(1&t&&s._UZ(0,"app-one-entity-attribute-page",15),2&t){const t=s.oxw(3);s.Q6J("entityId",t.member.id)("entity","member")}}function Xd(t,e){if(1&t&&(s.YNc(0,Wd,1,0,"mat-spinner",1),s.YNc(1,$d,1,2,"app-one-entity-attribute-page",14)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function Kd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function tp(t,e){1&t&&s._UZ(0,"mat-spinner")}function ep(t,e){if(1&t&&s._UZ(0,"app-two-entity-attribute-page",17),2&t){const t=s.oxw(3);s.Q6J("firstEntityId",t.member.id)("firstEntity","member")("secondEntity","group")}}function np(t,e){if(1&t&&(s.YNc(0,tp,1,0,"mat-spinner",1),s.YNc(1,ep,1,3,"app-two-entity-attribute-page",16)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function rp(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function ip(t,e){1&t&&s._UZ(0,"mat-spinner")}function op(t,e){if(1&t&&s._UZ(0,"app-two-entity-attribute-page",17),2&t){const t=s.oxw(3);s.Q6J("firstEntityId",t.member.id)("firstEntity","member")("secondEntity","resource")}}function ap(t,e){if(1&t&&(s.YNc(0,ip,1,0,"mat-spinner",1),s.YNc(1,op,1,3,"app-two-entity-attribute-page",16)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function sp(t,e){1&t&&(s.TgZ(0,"mat-tab-group"),s.TgZ(1,"mat-tab"),s.YNc(2,jd,2,3,"ng-template",5),s.YNc(3,Hd,2,2,"ng-template",6),s.qZA(),s.TgZ(4,"mat-tab"),s.YNc(5,Qd,2,3,"ng-template",5),s.YNc(6,Xd,2,2,"ng-template",6),s.qZA(),s.TgZ(7,"mat-tab"),s.YNc(8,Kd,2,3,"ng-template",5),s.YNc(9,np,2,2,"ng-template",6),s.qZA(),s.TgZ(10,"mat-tab"),s.YNc(11,rp,2,3,"ng-template",5),s.YNc(12,ap,2,2,"ng-template",6),s.qZA(),s.qZA())}const up=[{path:"",component:p,children:[{path:"",component:m,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:ue,data:{animation:"AdminAttributesPage"}},{path:"users",component:Jl.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:Dd,data:{animation:"AdminOwnersPage"}},{path:"services",component:uf,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:ce,children:[{path:"",component:fe,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:he,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:Se,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Bl,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:mh,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:ih,children:[{path:"",component:oh.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:(()=>{class t{constructor(t,e,n,r){this.route=t,this.usersService=e,this.membersService=n,this.groupService=r,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}ngOnInit(){this.initLoading=!0,this.route.parent.params.subscribe(t=>{this.userId=t.userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(t=>{this.vos=t,this.initLoading=!1},()=>this.initLoading=!1)})}loadMember(t){this.loading=!0,this.selectedVo=t,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(t=>{this.member=t,this.groupService.getMemberRichGroupsWithAttributesByNames(this.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(t=>{this.groups=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.Fv),s.Y36(b.uq),s.Y36(b.ff))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-accounts"]],decls:7,vars:6,consts:[[1,"page-title"],[4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","voSelected",4,"ngIf"],[1,"w-50",3,"vos","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"displayedColumns","groups",4,"ngIf"],[3,"displayedColumns","groups"],[3,"entityId","entity",4,"ngIf"],[3,"entityId","entity"],[3,"firstEntityId","firstEntity","secondEntity",4,"ngIf"],[3,"firstEntityId","firstEntity","secondEntity"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,qd,1,0,"mat-spinner",1),s.TgZ(4,"div",2),s.YNc(5,zd,1,1,"perun-web-apps-vo-search-select",3),s.qZA(),s.YNc(6,sp,13,0,"mat-tab-group",1)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"USER_DETAIL.ACCOUNTS.TITLE")),s.xp6(2),s.Q6J("ngIf",e.initLoading),s.xp6(2),s.Q6J("ngIf",!e.initLoading),s.xp6(1),s.Q6J("ngIf",!e.initLoading))},directives:[i.O5,E.$g,Od.M,Rd.SP,Rd.uX,Rd.uD,Rd.Vc,o.yS,Ld.b,Ud.W,Pd.t,Fd.Y],pipes:[f.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),t})(),data:{animation:"UserAccountsPage"}},{path:"attributes",component:ch.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:ah.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:sh.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Wh,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:Md,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:df,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:wf,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:vh.t,data:{animation:"UserRolesPage"}},{path:"settings",component:uh.L,children:[{path:"",component:lh.x,data:{animation:"UserSettingsOverviewPage"}},{path:"service-identities",component:Uh,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:Kf,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:If,children:[{path:"",component:Cf,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:Gf,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:ld,data:{animation:"ServiceDestinationsPage"}}]}];let cp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.Bz.forChild(up)],o.Bz]}),t})();var lp=n(28780),hp=n(22727),fp=n(22280),dp=n(6363);let pp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Ya,Ml,i.ez,cp,lp.m,hp.r,ht.ez,fp.d4,dp.UsersModule]]}),t})()},91721:function(t,e,n){"use strict";n.d(e,{Q:function(){return U}});var r=n(31572),i=n(58623),o=n(67033),a=n(4230),s=n(84140),u=n(88426),c=n(82819),l=n(61511),h=n(29236),f=n(43691),d=n(36922),p=n(84534),g=n(57629),m=n(39571),v=n(48160);function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"th",16),r.TgZ(1,"mat-checkbox",17),r.NdJ("change",function(e){r.CHM(t);const n=r.oxw();return e?n.masterToggle():null}),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function _(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"td",18),r.TgZ(1,"mat-checkbox",19),r.NdJ("change",function(e){const n=r.CHM(t).$implicit,i=r.oxw();return e?i.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(1),r.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function w(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function b(t,e){if(1&t&&(r.TgZ(0,"td",18),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.id)}}function x(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function E(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.name)}}function T(t,e){1&t&&r._UZ(0,"th",16)}function A(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," check_circle_outline "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function S(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," block "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function I(t,e){if(1&t&&(r.TgZ(0,"td",21),r.YNc(1,A,3,3,"mat-icon",22),r.YNc(2,S,3,3,"mat-icon",22),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("ngIf",t.enabled),r.xp6(1),r.Q6J("ngIf",!t.enabled)}}function C(t,e){1&t&&(r.TgZ(0,"th",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function D(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.script)}}function N(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function k(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.description)}}function Z(t,e){1&t&&r._UZ(0,"tr",24)}const M=function(t){return["/admin/services",t]};function O(t,e){if(1&t&&r._UZ(0,"tr",25),2&t){const t=e.$implicit,n=r.oxw();r.ekj("cursor-pointer",!n.disableRouting)("disable-outline",n.disableRouting),r.Q6J("perunWebAppsMiddleClickRouterLink",n.disableRouting?null:r.VKq(6,M,t.id))("routerLink",n.disableRouting?null:r.VKq(8,M,t.id))}}function R(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function L(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let U=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new a.Ov(!0,[]),this.disableRouting=!1,this.page=new r.vpe,this.pageSizeOptions=s.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new o.by(this.services),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"enabled":return t.enabled?"true":"false";case"script":return t.script;case"description":return t.description;default:return""}}exportData(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,s.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,s.pR)(t,e,this.getDataForColumn,this),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.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.x4),r.Y36(u.UA))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){if(1&t&&(r.Gf(i.YE,7),r.Gf(s.l9,7)),2&t){let t;r.iGM(t=r.CRH())&&(e.matSort=t.first),r.iGM(t=r.CRH())&&(e.child=t.first)}},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[r.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"perun-web-apps-table-wrapper",1),r.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),r.TgZ(2,"table",2),r.ynx(3,3),r.YNc(4,y,2,3,"th",4),r.YNc(5,_,2,2,"td",5),r.BQk(),r.ynx(6,6),r.YNc(7,w,3,3,"th",7),r.YNc(8,b,2,1,"td",5),r.BQk(),r.ynx(9,8),r.YNc(10,x,3,3,"th",7),r.YNc(11,E,2,1,"td",9),r.BQk(),r.ynx(12,10),r.YNc(13,T,1,0,"th",4),r.YNc(14,I,3,2,"td",9),r.BQk(),r.ynx(15,11),r.YNc(16,C,3,3,"th",4),r.YNc(17,D,2,1,"td",9),r.BQk(),r.ynx(18,12),r.YNc(19,N,3,3,"th",7),r.YNc(20,k,2,1,"td",9),r.BQk(),r.YNc(21,Z,1,0,"tr",13),r.YNc(22,O,1,10,"tr",14),r.qZA(),r.qZA(),r.qZA(),r.YNc(23,R,3,3,"app-alert",15),r.YNc(24,L,3,3,"app-alert",15)),2&t&&(r.Q6J("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),r.xp6(1),r.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),r.xp6(1),r.Q6J("dataSource",e.dataSource),r.xp6(19),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),r.xp6(1),r.Q6J("ngIf",void 0===e.services||0===e.services.length))},directives:[c.l,o.BZ,i.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,i.nU,f.Hw,d.gM,o.XQ,o.Gk,p.YH,g.rH,m.w],pipes:[v.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})()},95914:function(t,e,n){"use strict";function r(t,e){return t(e={exports:{}},e.exports),e.exports}n.r(e),n.d(e,{StackParser:function(){return l},graphviz:function(){return v},graphvizSync:function(){return _},parse:function(){return h},wasmFolder:function(){return s}});var i=r(function(t,e){var n,r=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t){var e,r=void 0!==(t=t||{})?t:{},i={};for(e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);var o,a="./this.program",s="";document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=0!==s.indexOf("blob:")?s.substr(0,s.lastIndexOf("/")+1):"",o=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText};var u,c,l=r.print||console.log.bind(console),h=r.printErr||console.warn.bind(console);for(e in i)i.hasOwnProperty(e)&&(r[e]=i[e]);i=null,r.thisProgram&&(a=r.thisProgram),r.wasmBinary&&(u=r.wasmBinary),"object"!=typeof WebAssembly&&h("no native wasm support detected");var f=new WebAssembly.Table({initial:153,maximum:153,element:"anyfunc"}),d=!1;function p(t,e){t||z("Assertion failed: "+e)}var g,m,v,y,_,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(t,e,n){for(var r=e+n,i=e;t[i]&&!(i>=r);)++i;if(i-e>16&&t.subarray&&w)return w.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function x(t,e){return t?b(v,t,e):""}function E(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function T(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function A(t){g=t,r.HEAP8=m=new Int8Array(t),r.HEAP16=new Int16Array(t),r.HEAP32=y=new Int32Array(t),r.HEAPU8=v=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=_=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var S=r.TOTAL_MEMORY||16777216;function I(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(c=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:S/65536}))&&(g=c.buffer),S=g.byteLength,A(g),y[2080]=5251360;var C=[],D=[],N=[],k=[],Z=!1,M=Math.abs,O=Math.ceil,R=Math.floor,L=Math.min,U=0,P=null;function F(t){U++,r.monitorRunDependencies&&r.monitorRunDependencies(U)}function q(t){if(U--,r.monitorRunDependencies&&r.monitorRunDependencies(U),0==U&&P){var e=P;P=null,e()}}function z(t){throw r.onAbort&&r.onAbort(t),l(t+=""),h(t),d=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function j(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var Y,B,J,G="expatlib.wasm";function V(){try{if(u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}catch(h){z(h)}}j(G)||(Y=G,G=r.locateFile?r.locateFile(Y,s):s+Y);var H={1184:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";e.startElement()},1404:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";e.endElement()},1616:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";e.characterData()}};D.push({func:function(){lt()}});var Q={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Q.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return Q.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Q.normalize(t.join("/"))},join2:function(t,e){return Q.normalize(t+"/"+e)}};function W(t){return r.___errno_location&&(y[r.___errno_location()>>2]=t),t}var $={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:tt.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=$.resolve(t).substr(1),e=$.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(l(b(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(b(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(b(t.output,0)),t.output=[])}}},K={ops_table:null,mount:function(t){return K.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);K.ops_table||(K.ops_table={dir:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,lookup:K.node_ops.lookup,mknod:K.node_ops.mknod,rename:K.node_ops.rename,unlink:K.node_ops.unlink,rmdir:K.node_ops.rmdir,readdir:K.node_ops.readdir,symlink:K.node_ops.symlink},stream:{llseek:K.stream_ops.llseek}},file:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:{llseek:K.stream_ops.llseek,read:K.stream_ops.read,write:K.stream_ops.write,allocate:K.stream_ops.allocate,mmap:K.stream_ops.mmap,msync:K.stream_ops.msync}},link:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,readlink:K.node_ops.readlink},stream:{}},chrdev:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=K.ops_table.dir.node,i.stream_ops=K.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=K.ops_table.file.node,i.stream_ops=K.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=K.ops_table.link.node,i.stream_ops=K.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=K.ops_table.chrdev.node,i.stream_ops=K.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new tt.ErrnoError(32);for(var i=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=tt.root,a="/",s=0;s40)throw new tt.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(tt.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%tt.nameTable.length},hashAddNode:function(t){var e=tt.hashName(t.parent.id,t.name);t.name_next=tt.nameTable[e],tt.nameTable[e]=t},hashRemoveNode:function(t){var e=tt.hashName(t.parent.id,t.name);if(tt.nameTable[e]===t)tt.nameTable[e]=t.name_next;else for(var n=tt.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=tt.mayLookup(t);if(n)throw new tt.ErrnoError(n,t);for(var r=tt.hashName(t.id,e),i=tt.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return tt.lookup(t,e)},createNode:function(t,e,n,r){tt.FSNode||(tt.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=tt.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},tt.FSNode.prototype={},Object.defineProperties(tt.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return tt.isDir(this.mode)}},isDevice:{get:function(){return tt.isChrdev(this.mode)}}}));var i=new tt.FSNode(t,e,n,r);return tt.hashAddNode(i),i},destroyNode:function(t){tt.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=tt.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return tt.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return tt.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return tt.lookupNode(t,e),20}catch(n){}return tt.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=tt.lookupNode(t,e)}catch(o){return o.errno}var i=tt.nodePermissions(t,"wx");if(i)return i;if(n){if(!tt.isDir(r.mode))return 54;if(tt.isRoot(r)||tt.getPath(r)===tt.cwd())return 10}else if(tt.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?tt.isLink(t.mode)?32:tt.isDir(t.mode)&&("r"!==tt.flagsToPermissionString(e)||512&e)?31:tt.nodePermissions(t,tt.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||tt.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!tt.streams[n])return n;throw new tt.ErrnoError(33)},getStream:function(t){return tt.streams[t]},createStream:function(t,e,n){tt.FSStream||(tt.FSStream=function(){},tt.FSStream.prototype={},Object.defineProperties(tt.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new tt.FSStream;for(var i in t)r[i]=t[i];t=r;var o=tt.nextfd(e,n);return t.fd=o,tt.streams[o]=t,t},closeStream:function(t){tt.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=tt.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new tt.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){tt.devices[t]={stream_ops:e}},getDevice:function(t){return tt.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),tt.syncFSRequests++,tt.syncFSRequests>1&&h("warning: "+tt.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=tt.getMounts(tt.root.mount),r=0;function i(t){return tt.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&tt.root)throw new tt.ErrnoError(10);if(!i&&!o){var a=tt.lookupPath(n,{follow_mount:!1});if(n=a.path,tt.isMountpoint(r=a.node))throw new tt.ErrnoError(10);if(!tt.isDir(r.mode))throw new tt.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?tt.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=tt.lookupPath(t,{follow_mount:!1});if(!tt.isMountpoint(e.node))throw new tt.ErrnoError(28);var n=e.node,r=n.mounted,i=tt.getMounts(r);Object.keys(tt.nameTable).forEach(function(t){for(var e=tt.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&tt.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=tt.lookupPath(t,{parent:!0}).node,i=Q.basename(t);if(!i||"."===i||".."===i)throw new tt.ErrnoError(28);var o=tt.mayCreate(r,i);if(o)throw new tt.ErrnoError(o);if(!r.node_ops.mknod)throw new tt.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,tt.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,tt.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):at(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,l("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=tt.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,y[n+4>>2]=0,y[n+8>>2]=r.ino,y[n+12>>2]=r.mode,y[n+16>>2]=r.nlink,y[n+20>>2]=r.uid,y[n+24>>2]=r.gid,y[n+28>>2]=r.rdev,y[n+32>>2]=0,J=[r.size>>>0,(B=r.size,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+40>>2]=J[0],y[n+44>>2]=J[1],y[n+48>>2]=4096,y[n+52>>2]=r.blocks,y[n+56>>2]=r.atime.getTime()/1e3|0,y[n+60>>2]=0,y[n+64>>2]=r.mtime.getTime()/1e3|0,y[n+68>>2]=0,y[n+72>>2]=r.ctime.getTime()/1e3|0,y[n+76>>2]=0,J=[r.ino>>>0,(B=r.ino,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+80>>2]=J[0],y[n+84>>2]=J[1],0},doMsync:function(t,e,n,r,i){var o=v.slice(t,t+n);tt.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=Q.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),tt.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return tt.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=tt.readlink(t),i=Math.min(n,T(r)),o=m[e+i];return E(r,v,e,n+1),m[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=tt.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&tt.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=tt.getStream(n);return r&&tt.close(r),tt.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=tt.read(t,m,y[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],y[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return et.varargs+=4,y[et.varargs-4>>2]},getStr:function(){return x(et.get())},getStreamFromFD:function(t){void 0===t&&(t=et.get());var e=tt.getStream(t);if(!e)throw new tt.ErrnoError(8);return e},get64:function(){var t=et.get();return et.get(),t},getZero:function(){et.get()}};function nt(t){try{return c.grow(t-g.byteLength+65535>>16),A(c.buffer),1}catch(e){}}var rt={};function it(){if(!it.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in rt)t[e]=rt[e];var n=[];for(var e in t)n.push(e+"="+t[e]);it.strings=n}return it.strings}function ot(t,e){ot.array||(ot.array=[]);var n,r=ot.array;for(r.length=0;n=v[t++];)100===n||102===n?(r.push(_[(e=e+7&-8)>>3]),e+=8):(r.push(y[(e=e+3&-4)>>2]),e+=4);return r}function at(t,e,n){var r=n>0?n:T(t)+1,i=new Array(r),o=E(t,i,0,i.length);return e&&(i.length=o),i}tt.staticInit();var st={h:function(t,e){et.varargs=e;try{return 42}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),-n.errno}},e:function(){z()},a:function(t,e,n){var r=ot(e,n);return H[t].apply(null,r)},c:function(t,e,n){v.set(v.subarray(e,e+n),t)},d:function(t){var e=v.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),nt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},f:function(t,e){var n=it(),r=0;return n.forEach(function(n,i){var o=e+r;y[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);m[e>>0]=0}(n,o),r+=n.length+1}),0},g:function(t,e){var n=it();y[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),y[e>>2]=r,0},j:function(t){try{var e=et.getStreamFromFD(t);return tt.close(e),0}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),n.errno}},i:function(t,e,n,r,i){try{var o=et.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(tt.llseek(o,a,r),J=[o.position>>>0,(B=o.position,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[i>>2]=J[0],y[i+4>>2]=J[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||z(s),s.errno}},b:function(t,e,n,r){try{var i=et.getStreamFromFD(t),o=et.doWritev(i,e,n);return y[r>>2]=o,0}catch(a){return void 0!==tt&&a instanceof tt.ErrnoError||z(a),a.errno}},k:function(t){var e=Date.now();return y[t>>2]=e/1e3|0,y[t+4>>2]=e%1e3*1e3|0,0},memory:c,table:f},ut=function(){var t={a:st};function e(t,e){r.asm=t.exports,q()}function n(t){e(t.instance)}function i(e){return(u||"function"!=typeof fetch?new Promise(function(t,e){t(V())}):fetch(G,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+G+"'";return t.arrayBuffer()}).catch(function(){return V()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){h("failed to asynchronously prepare wasm: "+t),z(t)})}if(F(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return h("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(u||"function"!=typeof WebAssembly.instantiateStreaming||j(G)||"function"!=typeof fetch)return i(n);fetch(G,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){h("wasm streaming compile failed: "+t),h("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=ut;var ct,lt=r.___wasm_call_ctors=function(){return(lt=r.___wasm_call_ctors=r.asm.l).apply(null,arguments)},ht=r._emscripten_bind_CExpat_CExpat_0=function(){return(ht=r._emscripten_bind_CExpat_CExpat_0=r.asm.m).apply(null,arguments)},ft=r._emscripten_bind_CExpat_create_0=function(){return(ft=r._emscripten_bind_CExpat_create_0=r.asm.n).apply(null,arguments)},dt=r._emscripten_bind_CExpat_destroy_0=function(){return(dt=r._emscripten_bind_CExpat_destroy_0=r.asm.o).apply(null,arguments)},pt=r._emscripten_bind_CExpat_parse_1=function(){return(pt=r._emscripten_bind_CExpat_parse_1=r.asm.p).apply(null,arguments)},gt=r._emscripten_bind_CExpat_tag_0=function(){return(gt=r._emscripten_bind_CExpat_tag_0=r.asm.q).apply(null,arguments)},mt=r._emscripten_bind_CExpat_attrs_0=function(){return(mt=r._emscripten_bind_CExpat_attrs_0=r.asm.r).apply(null,arguments)},vt=r._emscripten_bind_CExpat_content_0=function(){return(vt=r._emscripten_bind_CExpat_content_0=r.asm.s).apply(null,arguments)},yt=r._emscripten_bind_CExpat_startElement_0=function(){return(yt=r._emscripten_bind_CExpat_startElement_0=r.asm.t).apply(null,arguments)},_t=r._emscripten_bind_CExpat_endElement_0=function(){return(_t=r._emscripten_bind_CExpat_endElement_0=r.asm.u).apply(null,arguments)},wt=r._emscripten_bind_CExpat_characterData_0=function(){return(wt=r._emscripten_bind_CExpat_characterData_0=r.asm.v).apply(null,arguments)},bt=r._emscripten_bind_CExpat___destroy___0=function(){return(bt=r._emscripten_bind_CExpat___destroy___0=r.asm.w).apply(null,arguments)},xt=r._emscripten_bind_CExpatJS_CExpatJS_0=function(){return(xt=r._emscripten_bind_CExpatJS_CExpatJS_0=r.asm.x).apply(null,arguments)},Et=r._emscripten_bind_CExpatJS_startElement_0=function(){return(Et=r._emscripten_bind_CExpatJS_startElement_0=r.asm.y).apply(null,arguments)},Tt=r._emscripten_bind_CExpatJS_endElement_0=function(){return(Tt=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},At=r._emscripten_bind_CExpatJS_characterData_0=function(){return(At=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},St=r._emscripten_bind_CExpatJS___destroy___0=function(){return(St=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},It=r._emscripten_bind_VoidPtr___destroy___0=function(){return(It=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},Ct=r._malloc=function(){return(Ct=r._malloc=r.asm.D).apply(null,arguments)};function Dt(t){function e(){ct||(ct=!0,d||(Z=!0,r.noFSInit||tt.init.initialized||tt.init(),X.init(),I(D),tt.ignorePermissions=!1,I(N),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),k.unshift(t);var t;I(k)}()))}U>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),C.unshift(t);var t;I(C)}(),U>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r._free=function(){return(r._free=r.asm.E).apply(null,arguments)},r.___errno_location=function(){return(r.___errno_location=r.asm.F).apply(null,arguments)},r.stackAlloc=function(){return(r.stackAlloc=r.asm.G).apply(null,arguments)},r.dynCall_vi=function(){return(r.dynCall_vi=r.asm.H).apply(null,arguments)},r.asm=ut,r.then=function(t){if(ct)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},P=function t(){ct||Dt(),ct||(P=t)},r.run=Dt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Nt(){}function kt(t){return(t||Nt).__cache__}function Zt(t,e){var n=kt(e),r=n[t];return r||((r=Object.create((e||Nt).prototype)).ptr=t,n[t]=r)}Dt(),(Nt.prototype=Object.create(Nt.prototype)).constructor=Nt,Nt.prototype.__class__=Nt,Nt.__cache__={},r.WrapperObject=Nt,r.getCache=kt,r.wrapPointer=Zt,r.castObject=function(t,e){return Zt(t.ptr,e)},r.NULL=Zt(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete kt(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var Mt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Mt.needed){for(var t=0;t=Mt.size?(p(i>0),Mt.needed+=i,n=r._malloc(i),Mt.temps.push(n)):(n=Mt.buffer+Mt.pos,Mt.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i=r);)++i;if(i-e>16&&t.subarray&&A)return A.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function I(t,e){return t?S(b,t,e):""}function C(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function D(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function N(t){_=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=b=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=T=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var k=r.TOTAL_MEMORY||16777216;function Z(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(d=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:k/65536}))&&(_=d.buffer),k=_.byteLength,N(_),E[54772]=5462128;var M=[],O=[],R=[],L=[],U=!1,P=Math.abs,F=Math.ceil,q=Math.floor,z=Math.min,j=0,Y=null;function B(t){j++,r.monitorRunDependencies&&r.monitorRunDependencies(j)}function J(t){if(j--,r.monitorRunDependencies&&r.monitorRunDependencies(j),0==j&&Y){var e=Y;Y=null,e()}}function G(t){throw r.onAbort&&r.onAbort(t),c(t+=""),l(t),v=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function V(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var H,Q,W,$="graphvizlib.wasm";function X(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){G(l)}}V($)||(H=$,$=r.locateFile?r.locateFile(H,u):u+H);var K={1088:function(t,e){var n=I(t),r=I(e);at.createPath("/",nt.dirname(n)),at.writeFile(nt.join("/",n),r)}};function tt(){G()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}O.push({func:function(){Et()}});var nt={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=nt.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return nt.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return nt.normalize(t.join("/"))},join2:function(t,e){return nt.normalize(t+"/"+e)}},rt={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:at.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=rt.resolve(t).substr(1),e=rt.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(c(S(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(S(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(S(t.output,0)),t.output=[])}}},ot={ops_table:null,mount:function(t){return ot.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(at.isBlkdev(n)||at.isFIFO(n))throw new at.ErrnoError(63);ot.ops_table||(ot.ops_table={dir:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,lookup:ot.node_ops.lookup,mknod:ot.node_ops.mknod,rename:ot.node_ops.rename,unlink:ot.node_ops.unlink,rmdir:ot.node_ops.rmdir,readdir:ot.node_ops.readdir,symlink:ot.node_ops.symlink},stream:{llseek:ot.stream_ops.llseek}},file:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:{llseek:ot.stream_ops.llseek,read:ot.stream_ops.read,write:ot.stream_ops.write,allocate:ot.stream_ops.allocate,mmap:ot.stream_ops.mmap,msync:ot.stream_ops.msync}},link:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,readlink:ot.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:at.chrdev_stream_ops}});var i=at.createNode(t,e,n,r);return at.isDir(i.mode)?(i.node_ops=ot.ops_table.dir.node,i.stream_ops=ot.ops_table.dir.stream,i.contents={}):at.isFile(i.mode)?(i.node_ops=ot.ops_table.file.node,i.stream_ops=ot.ops_table.file.stream,i.usedBytes=0,i.contents=null):at.isLink(i.mode)?(i.node_ops=ot.ops_table.link.node,i.stream_ops=ot.ops_table.link.stream):at.isChrdev(i.mode)&&(i.node_ops=ot.ops_table.chrdev.node,i.stream_ops=ot.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new at.ErrnoError(32);for(var i=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=at.root,a="/",s=0;s40)throw new at.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(at.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%at.nameTable.length},hashAddNode:function(t){var e=at.hashName(t.parent.id,t.name);t.name_next=at.nameTable[e],at.nameTable[e]=t},hashRemoveNode:function(t){var e=at.hashName(t.parent.id,t.name);if(at.nameTable[e]===t)at.nameTable[e]=t.name_next;else for(var n=at.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=at.mayLookup(t);if(n)throw new at.ErrnoError(n,t);for(var r=at.hashName(t.id,e),i=at.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return at.lookup(t,e)},createNode:function(t,e,n,r){at.FSNode||(at.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=at.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},at.FSNode.prototype={},Object.defineProperties(at.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return at.isDir(this.mode)}},isDevice:{get:function(){return at.isChrdev(this.mode)}}}));var i=new at.FSNode(t,e,n,r);return at.hashAddNode(i),i},destroyNode:function(t){at.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=at.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return at.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return at.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return at.lookupNode(t,e),20}catch(n){}return at.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=at.lookupNode(t,e)}catch(o){return o.errno}var i=at.nodePermissions(t,"wx");if(i)return i;if(n){if(!at.isDir(r.mode))return 54;if(at.isRoot(r)||at.getPath(r)===at.cwd())return 10}else if(at.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?at.isLink(t.mode)?32:at.isDir(t.mode)&&("r"!==at.flagsToPermissionString(e)||512&e)?31:at.nodePermissions(t,at.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||at.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!at.streams[n])return n;throw new at.ErrnoError(33)},getStream:function(t){return at.streams[t]},createStream:function(t,e,n){at.FSStream||(at.FSStream=function(){},at.FSStream.prototype={},Object.defineProperties(at.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new at.FSStream;for(var i in t)r[i]=t[i];t=r;var o=at.nextfd(e,n);return t.fd=o,at.streams[o]=t,t},closeStream:function(t){at.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=at.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new at.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){at.devices[t]={stream_ops:e}},getDevice:function(t){return at.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),at.syncFSRequests++,at.syncFSRequests>1&&l("warning: "+at.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=at.getMounts(at.root.mount),r=0;function i(t){return at.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&at.root)throw new at.ErrnoError(10);if(!i&&!o){var a=at.lookupPath(n,{follow_mount:!1});if(n=a.path,at.isMountpoint(r=a.node))throw new at.ErrnoError(10);if(!at.isDir(r.mode))throw new at.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?at.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=at.lookupPath(t,{follow_mount:!1});if(!at.isMountpoint(e.node))throw new at.ErrnoError(28);var n=e.node,r=n.mounted,i=at.getMounts(r);Object.keys(at.nameTable).forEach(function(t){for(var e=at.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&at.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=at.lookupPath(t,{parent:!0}).node,i=nt.basename(t);if(!i||"."===i||".."===i)throw new at.ErrnoError(28);var o=at.mayCreate(r,i);if(o)throw new at.ErrnoError(o);if(!r.node_ops.mknod)throw new at.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,at.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,at.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):_t(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,c("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=at.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,E[n+4>>2]=0,E[n+8>>2]=r.ino,E[n+12>>2]=r.mode,E[n+16>>2]=r.nlink,E[n+20>>2]=r.uid,E[n+24>>2]=r.gid,E[n+28>>2]=r.rdev,E[n+32>>2]=0,W=[r.size>>>0,(Q=r.size,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+40>>2]=W[0],E[n+44>>2]=W[1],E[n+48>>2]=4096,E[n+52>>2]=r.blocks,E[n+56>>2]=r.atime.getTime()/1e3|0,E[n+60>>2]=0,E[n+64>>2]=r.mtime.getTime()/1e3|0,E[n+68>>2]=0,E[n+72>>2]=r.ctime.getTime()/1e3|0,E[n+76>>2]=0,W=[r.ino>>>0,(Q=r.ino,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+80>>2]=W[0],E[n+84>>2]=W[1],0},doMsync:function(t,e,n,r,i){var o=b.slice(t,t+n);at.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=nt.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),at.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return at.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=at.readlink(t),i=Math.min(n,D(r)),o=w[e+i];return C(r,b,e,n+1),w[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=at.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&at.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=at.getStream(n);return r&&at.close(r),at.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=at.read(t,w,E[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],E[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return st.varargs+=4,E[st.varargs-4>>2]},getStr:function(){return I(st.get())},getStreamFromFD:function(t){void 0===t&&(t=st.get());var e=at.getStream(t);if(!e)throw new at.ErrnoError(8);return e},get64:function(){var t=st.get();return st.get(),t},getZero:function(){st.get()}};function ut(t,e,n){e|=0;var r,i=0,o=0,a=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;0!=(3&t);)w[t>>0]=e,t=t+1|0;for(a=e|e<<8|e<<16|e<<24,o=(i=-4&r|0)-64|0;(0|t)<=(0|o);)E[t>>2]=a,E[t+4>>2]=a,E[t+8>>2]=a,E[t+12>>2]=a,E[t+16>>2]=a,E[t+20>>2]=a,E[t+24>>2]=a,E[t+28>>2]=a,E[t+32>>2]=a,E[t+36>>2]=a,E[t+40>>2]=a,E[t+44>>2]=a,E[t+48>>2]=a,E[t+52>>2]=a,E[t+56>>2]=a,E[t+60>>2]=a,t=t+64|0;for(;(0|t)<(0|i);)E[t>>2]=a,t=t+4|0}for(;(0|t)<(0|r);)w[t>>0]=e,t=t+1|0;return r-n|0}var ct=0;function lt(t){try{return d.grow(t-_.byteLength+65535>>16),N(d.buffer),1}catch(e){}}var ht={};function ft(){if(!ft.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in ht)t[e]=ht[e];var n=[];for(var e in t)n.push(e+"="+t[e]);ft.strings=n}return ft.strings}function dt(t){return t%4==0&&(t%100!=0||t%400==0)}function pt(t,e){for(var n=0,r=0;r<=e;n+=t[r++]);return n}var gt=[31,29,31,30,31,30,31,31,30,31,30,31],mt=[31,28,31,30,31,30,31,31,30,31,30,31];function vt(t,e){for(var n=new Date(t.getTime());e>0;){var r=dt(n.getFullYear()),i=n.getMonth(),o=(r?gt:mt)[i];if(!(e>o-n.getDate()))return n.setDate(n.getDate()+e),n;e-=o-n.getDate()+1,n.setDate(1),i<11?n.setMonth(i+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function yt(t,e){yt.array||(yt.array=[]);var n,r=yt.array;for(r.length=0;n=b[t++];)100===n||102===n?(r.push(T[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function _t(t,e,n){var r=n>0?n:D(t)+1,i=new Array(r),o=C(t,i,0,i.length);return e&&(i.length=o),i}tt=function(){return performance.now()},at.staticInit();var wt={M:function(t,e){return function(t,e){var n;if(0===t)n=Date.now();else{if(1!==t&&4!==t)return et(28),-1;n=tt()}return E[e>>2]=n/1e3|0,E[e+4>>2]=n%1e3*1e3*1e3|0,0}(t,e)},k:function(t){return Dt(t)},j:function(t,e,n){throw"uncaught_exception"in Mt?Mt.uncaught_exceptions++:Mt.uncaught_exceptions=1,t},q:function(){},U:function(t,e){return et(63),-1},P:function(t,e){st.varargs=e;try{var n=st.getStr();return at.unlink(n),0}catch(r){return void 0!==at&&r instanceof at.ErrnoError||G(r),-r.errno}},R:function(t,e){st.varargs=e;try{return function(t,e,n,r,i,o){var a;o<<=12;var s=!1;if(0!=(16&r)&&t%16384!=0)return-28;if(0!=(32&r)){if(!(a=Ot(16384,e)))return-48;ut(a,0,e),s=!0}else{var u=at.getStream(i);if(!u)return-8;var c=at.mmap(u,b,t,e,o,n,r);a=c.ptr,s=c.allocated}return st.mappings[a]={malloc:a,len:e,allocated:s,fd:i,flags:r,offset:o},a}(st.get(),st.get(),st.get(),st.get(),st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},S:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doStat(at.stat,n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},T:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();return st.doStat(at.stat,n.path,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},L:function(t,e){st.varargs=e;try{return 42}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},y:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD();switch(st.get()){case 0:return(r=st.get())<0?-28:at.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=st.get();return n.flags|=r,0;case 12:return r=st.get(),x[r+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return et(28),-1;default:return-28}}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},K:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doAccess(n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},z:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get(),i=st.get();return at.open(n,r,i).fd}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},O:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();switch(r){case 21509:case 21505:return n.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var i=st.get();return E[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:return i=st.get(),at.ioctl(n,r,i);case 21523:case 21524:return n.tty?0:-59;default:G("bad ioctl syscall "+r)}}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},Q:function(t,e){st.varargs=e;try{return function(t,e){if(-1===t||0===e)return-28;var n=st.mappings[t];if(!n)return 0;if(e===n.len){var r=at.getStream(n.fd);st.doMsync(t,r,e,n.flags,n.offset),at.munmap(r),st.mappings[t]=null,n.allocated&&Nt(n.malloc)}return 0}(st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},m:function(){},w:function(){G()},C:function(t,e,n){var r=yt(e,n);return K[t].apply(null,r)},d:function(t,e){!function(t,e){throw Zt(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){b.set(b.subarray(e,e+n),t)},F:function(t){var e=b.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),lt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},I:function(t,e){var n=ft(),r=0;return n.forEach(function(n,i){var o=e+r;E[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);w[e>>0]=0}(n,o),r+=n.length+1}),0},J:function(t,e){var n=ft();E[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),E[e>>2]=r,0},l:function(t){!function(t,e){f||(v=!0,r.onExit&&r.onExit(t)),s(t,new $t(t))}(t)},p:function(t){try{var e=st.getStreamFromFD(t);return at.close(e),0}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),n.errno}},H:function(t,e){try{var n=st.getStreamFromFD(t),r=n.tty?2:at.isDir(n.mode)?3:at.isLink(n.mode)?7:4;return w[e>>0]=r,0}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),i.errno}},N:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doReadv(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},D:function(t,e,n,r,i){try{var o=st.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(at.llseek(o,a,r),W=[o.position>>>0,(Q=o.position,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[i>>2]=W[0],E[i+4>>2]=W[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==at&&s instanceof at.ErrnoError||G(s),s.errno}},x:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doWritev(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},a:function(){return 0|p},X:function(t){var e=Date.now();return E[t>>2]=e/1e3|0,E[t+4>>2]=e%1e3*1e3|0,0},Y:function(t){var e=Qt();try{return Vt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},V:function(t,e){var n=Qt();try{return Ht(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},v:function(t){var e=Qt();try{return zt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},f:function(t,e){var n=Qt();try{return jt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},e:function(t,e,n){var r=Qt();try{return Yt(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},g:function(t,e,n,r){var i=Qt();try{return Bt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},n:function(t,e,n,r,i){var o=Qt();try{return Jt(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},W:function(t,e,n,r,i,o,a){var s=Qt();try{return Gt(t,e,n,r,i,o,a)}catch(u){if(Wt(s),u!==u+0&&"longjmp"!==u)throw u;Zt(1,0)}},s:function(t){var e=Qt();try{Rt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},h:function(t,e){var n=Qt();try{Lt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},o:function(t,e,n){var r=Qt();try{Ut(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},u:function(t,e,n,r){var i=Qt();try{Pt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},t:function(t,e,n,r,i){var o=Qt();try{Ft(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},r:function(t,e,n,r,i,o){var a=Qt();try{qt(t,e,n,r,i,o)}catch(s){if(Wt(a),s!==s+0&&"longjmp"!==s)throw s;Zt(1,0)}},memory:d,i:function t(e,n,r,i){n|=0,r|=0,i|=0;var o=0;for(E[(e|=0)>>2]=ct=ct+1|0;(0|o)<(0|i);){if(0==(0|E[r+(o<<3)>>2]))return E[r+(o<<3)>>2]=ct,E[r+(4+(o<<3))>>2]=n,E[r+(8+(o<<3))>>2]=0,g(0|i),0|r;o=o+1|0}return r=0|t(0|e,0|n,0|(r=0|kt(0|r,8*(1+(i=2*i|0)|0)|0)),0|i),g(0|i),0|r},b:function(t){g(0|t)},G:function(t,e,n,r){return function(t,e,n,r){var i=E[r+40>>2],o={tm_sec:E[r>>2],tm_min:E[r+4>>2],tm_hour:E[r+8>>2],tm_mday:E[r+12>>2],tm_mon:E[r+16>>2],tm_year:E[r+20>>2],tm_wday:E[r+24>>2],tm_yday:E[r+28>>2],tm_isdst:E[r+32>>2],tm_gmtoff:E[r+36>>2],tm_zone:i?I(i):""},a=I(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function h(t,e,n){for(var r="number"==typeof t?t.toString():t||"";r.length0?1:0}var r;return 0===(r=n(t.getFullYear()-e.getFullYear()))&&0===(r=n(t.getMonth()-e.getMonth()))&&(r=n(t.getDate()-e.getDate())),r}function p(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function g(t){var e=vt(new Date(t.tm_year+1900,0,1),t.tm_yday),n=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),i=p(n),o=p(r);return d(i,e)<=0?d(o,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var m={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return l[t.tm_mon].substring(0,3)},"%B":function(t){return l[t.tm_mon]},"%C":function(t){return f((t.tm_year+1900)/100|0,2)},"%d":function(t){return f(t.tm_mday,2)},"%e":function(t){return h(t.tm_mday,2," ")},"%g":function(t){return g(t).toString().substring(2)},"%G":function(t){return g(t)},"%H":function(t){return f(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),f(e,2)},"%j":function(t){return f(t.tm_mday+pt(dt(t.tm_year+1900)?gt:mt,t.tm_mon-1),3)},"%m":function(t){return f(t.tm_mon+1,2)},"%M":function(t){return f(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return f(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=new Date(t.tm_year+1900,0,1),n=0===e.getDay()?e:vt(e,7-e.getDay()),r=new Date(t.tm_year+1900,t.tm_mon,t.tm_mday);if(d(n,r)<0){var i=pt(dt(r.getFullYear())?gt:mt,r.getMonth()-1)-31,o=31-n.getDate()+i+r.getDate();return f(Math.ceil(o/7),2)}return 0===d(n,e)?"01":"00"},"%V":function(t){var e,n=new Date(t.tm_year+1900,0,4),r=new Date(t.tm_year+1901,0,4),i=p(n),o=p(r),a=vt(new Date(t.tm_year+1900,0,1),t.tm_yday);return d(a,i)<0?"53":d(o,a)<=0?"01":(e=i.getFullYear()=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(n?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in m)a.indexOf(u)>=0&&(a=a.replace(new RegExp(u,"g"),m[u](o)));var v=_t(a,!1);return v.length>e?0:(function(t,e){w.set(t,e)}(v,t),v.length-1)}(t,e,n,r)},table:m,c:function(t,e,n){t|=0,e|=0,n|=0;for(var r=0,i=0;(0|r)<(0|n)&&0!=(0|(i=0|E[e+(r<<3)>>2]));){if((0|i)==(0|t))return 0|E[e+(4+(r<<3))>>2];r=r+1|0}return 0},A:function(t){var e=Date.now()/1e3|0;return t&&(E[t>>2]=e),e},B:function(t){return 0!==t&&ut(t,0,16),0}},bt=function(){var t={a:wt};function e(t,e){r.asm=t.exports,J()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise(function(t,e){t(X())}):fetch($,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+$+"'";return t.arrayBuffer()}).catch(function(){return X()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){l("failed to asynchronously prepare wasm: "+t),G(t)})}if(B(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return l("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(h||"function"!=typeof WebAssembly.instantiateStreaming||V($)||"function"!=typeof fetch)return i(n);fetch($,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){l("wasm streaming compile failed: "+t),l("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=bt;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},Tt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(Tt=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},At=r._emscripten_bind_Main_layout_3=function(){return(At=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},St=r._emscripten_bind_Main_lastError_0=function(){return(St=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},It=r._emscripten_bind_Main_createFile_2=function(){return(It=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},Ct=r._emscripten_bind_Main___destroy___0=function(){return(Ct=r._emscripten_bind_Main___destroy___0=r.asm.ca).apply(null,arguments)},Dt=r._malloc=function(){return(Dt=r._malloc=r.asm.da).apply(null,arguments)},Nt=r._free=function(){return(Nt=r._free=r.asm.ea).apply(null,arguments)},kt=r._realloc=function(){return(kt=r._realloc=r.asm.fa).apply(null,arguments)},Zt=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Zt=r._setThrew=r.asm.ha).apply(null,arguments)}),Mt=r.__ZSt18uncaught_exceptionv=function(){return(Mt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},Ot=r._memalign=function(){return(Ot=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Lt=r.dynCall_vi=function(){return(Lt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Ut=r.dynCall_vii=function(){return(Ut=r.dynCall_vii=r.asm.ma).apply(null,arguments)},Pt=r.dynCall_viii=function(){return(Pt=r.dynCall_viii=r.asm.na).apply(null,arguments)},Ft=r.dynCall_viiii=function(){return(Ft=r.dynCall_viiii=r.asm.oa).apply(null,arguments)},qt=r.dynCall_viiiii=function(){return(qt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},zt=r.dynCall_i=function(){return(zt=r.dynCall_i=r.asm.qa).apply(null,arguments)},jt=r.dynCall_ii=function(){return(jt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Yt=r.dynCall_iii=function(){return(Yt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Bt=r.dynCall_iiii=function(){return(Bt=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Jt=r.dynCall_iiiii=function(){return(Jt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Gt=r.dynCall_iiiiiii=function(){return(Gt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Vt=r.dynCall_d=function(){return(Vt=r.dynCall_d=r.asm.wa).apply(null,arguments)},Ht=r.dynCall_di=function(){return(Ht=r.dynCall_di=r.asm.xa).apply(null,arguments)},Qt=r.stackSave=function(){return(Qt=r.stackSave=r.asm.ya).apply(null,arguments)},Wt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Wt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function $t(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Xt(t){function e(){xt||(xt=!0,v||(U=!0,r.noFSInit||at.init.initialized||at.init(),it.init(),Z(O),at.ignorePermissions=!1,Z(R),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),L.unshift(t);var t;Z(L)}()))}j>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),M.unshift(t);var t;Z(M)}(),j>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r.asm=bt,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},Y=function t(){xt||Xt(),xt||(Y=t)},r.run=Xt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Kt(){}function te(t){return(t||Kt).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||Kt).prototype)).ptr=t,n[t]=r)}f=!0,Xt(),(Kt.prototype=Object.create(Kt.prototype)).constructor=Kt,Kt.prototype.__class__=Kt,Kt.__cache__={},r.WrapperObject=Kt,r.getCache=te,r.wrapPointer=ee,r.castObject=function(t,e){return ee(t.ptr,e)},r.NULL=ee(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete te(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var ne={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ne.needed){for(var t=0;t=ne.size?(y(i>0),ne.needed+=i,n=r._malloc(i),ne.temps.push(n)):(n=ne.buffer+ne.pos,ne.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i\n\n'}}function m(t,e){var n,r=p({images:[],files:[]},e);(function(){for(var t=0,e=0,n=arguments.length;e>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=h.exec(t))?new A(e[1],e[2],e[3],1):(e=f.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?D(e[1],e[2]/100,e[3]/100,1):(e=m.exec(t))?D(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?b(v[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function b(t){return new A(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function T(t,e,n,r){return 1===arguments.length?E(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#"+C(this.r)+C(this.g)+C(this.b)}function I(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function C(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function D(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Z(t,e,n,r)}function N(t){if(t instanceof Z)return new Z(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new Z;if(t instanceof Z)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(s=e===a?(n-r)/u+6*(n0&&c<1?0:s,new Z(s,u,c,t.opacity)}function k(t,e,n,r){return 1===arguments.length?N(t):new Z(t,e,n,null==r?1:r)}function Z(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function M(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),(0,r.Z)(A,T,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:I,toString:I})),(0,r.Z)(Z,k,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new Z(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new Z(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(M(t>=240?t-240:t+120,i,r),M(t,i,r),M(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},80052:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},64641:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function a(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{Z:function(){return r}})},93116:function(t,e,n){"use strict";n.d(e,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},25047:function(t,e,n){"use strict";n.r(e),n.d(e,{formatDefaultLocale:function(){return r.ZP},format:function(){return r.WU},formatPrefix:function(){return r.jH},formatLocale:function(){return i.Z},formatSpecifier:function(){return o.Z},FormatSpecifier:function(){return o.v},precisionFixed:function(){return a.Z},precisionPrefix:function(){return s.Z},precisionRound:function(){return u.Z}});var r=n(3712),i=n(70592),o=n(93116),a=n(22233),s=n(65636),u=n(3218)},70592:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r,i=n(98477),o=n(93116),a=n(25169);function s(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var u={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var i=n[0],o=n[1],s=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return s===u?i:s>u?i+new Array(s-u+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+(0,a.Z)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function f(t){var e,n,a=void 0===t.grouping||void 0===t.thousands?c:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",f=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(l.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",m=void 0===t.minus?"-":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,o.Z)(t)).fill,n=t.align,i=t.sign,c=t.symbol,l=t.zero,y=t.width,_=t.comma,w=t.precision,b=t.trim,x=t.type;"n"===x?(_=!0,x="g"):u[x]||(void 0===w&&(w=12),b=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===c?s:"#"===c&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T="$"===c?f:/[%p]/.test(x)?g:"",A=u[x],S=/[defgprs%]/.test(x);function I(t){var o,s,u,c=E,f=T;if("c"===x)f=A(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:A(Math.abs(t),w),b&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),g&&0==+t&&"+"!==i&&(g=!1),c=(g?"("===i?i:m:"-"===i||"("===i?"":i)+c,f=("s"===x?h[8+r/3]:"")+f+(g&&"("===i?")":""),S)for(o=-1,s=t.length;++o(u=t.charCodeAt(o))||u>57){f=(46===u?d+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}_&&!l&&(t=a(t,1/0));var I=c.length+t.length+f.length,C=I>1)+c+t+f+C.slice(I);break;default:t=C+c+t+f}return p(t)}return w=void 0===w?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),I.toString=function(){return t+""},I}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,o.Z)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(e)/3))),a=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(a*t)+s}}}}},22233:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},65636:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3)))-(0,r.Z)(Math.abs(t)))}},3218:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.Z)(e)-(0,r.Z)(t))+1}},73180:function(t,e,n){!function(t,e,n,r,i,o,a,s,u,c){"use strict";function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0,r=e.select(this),i=t.attributes,o=r.node().attributes;if(o)for(var a=0;a0?i.children[0].text:"")}null==t.key&&(o&&("ellipse"!=n&&"polygon"!=n||(n="path")),t.key=n+"-"+e)}function m(t,e){t.id=(e?e.id+".":"")+t.key}function v(t){c[t.id]=t}function y(t,e){o&&t.id in l&&("polygon"!=e.tag&&"ellipse"!=e.tag&&"path"!=e.tag||e.tag==t.tag&&"polygon"!=t.tag||("path"!=e.tag&&(t.alternativeOld=D(e,t)),"path"!=t.tag&&(t.alternativeNew=D(t,e))))}function _(t,e){if(i&&e&&("path"==e.tag||t.alternativeOld&&"path"==t.alternativeOld.tag)){var n=(t.alternativeNew||t).attributes.d;if(t.alternativeOld)var r=g(t.alternativeOld);else r=g(e);(t.alternativeOld||(t.alternativeOld={})).points=function(t,e,n,r){for(var i=t,o=i.cloneNode(),a=i.getTotalLength(),s=(o.setAttribute("d",e),o).getTotalLength(),u=[0],c=0,l=r?n:n/Math.max(a,s);(c+=l)<1;)u.push(c);return u.push(1),u.map(function(t){var e=i.getPointAtLength(t*a),n=o.getPointAtLength(t*s);return[[e.x,e.y],[n.x,n.y]]})}(r,n,a,s)}}function w(t){var e=arguments.length>2?arguments[2]:void 0;p(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),m(t,e);var n=l[t.id];v(t),y(t,n),_(t,n);var r={};t.children.forEach(function(e){var n=e.tag;"ellipse"!=n&&"polygon"!=n||(n="path"),null==r[n]&&(r[n]=0),w(e,r[n]++,t)})}function b(t){(function(t){if(u&&t.parent&&"node"==t.parent.attributes.class&&"title"==t.tag){if(t.children.length>0)var e=t.children[0].text;else e="";h[e]=t.parent}})(t),function(t){var e=t.tag;if(u&&!l[t.id]&&t.parent&&I(t)&&("path"==e||"polygon"==e)){if("polygon"==e){var n=t.parent.children.find(function(t){return"path"==t.tag});n&&(t.totalLength=n.totalLength)}var r=function(t){return function(t){return"edge"==t.parent.attributes.class?t.parent:t.parent.parent.parent}(t).children.find(function(t){return"title"==t.tag})}(t).children[0],i=r.text.split("->");2!=i.length&&(i=r.text.split("--"));var o=i[0],a=h[o],s=f[o];if(s){if((p=a.children.findIndex(function(t,e){return"g"==t.tag}))>=0){var c=a.children[p].children.findIndex(function(t,e){return"a"==t.tag});a=a.children[p].children[c]}(p=s.children.findIndex(function(t,e){return"g"==t.tag}))>=0&&(c=s.children[p].children.findIndex(function(t,e){return"a"==t.tag}),s=s.children[p].children[c]);for(var d=a.children,p=0;p0&&this._queue.shift().call(this)}function M(t,e,n,r){var i=[t*n-(e=-e)*(r=-r),t*r+e*n];return[t=i[0],e=-(e=i[1])]}function O(t,e,n,r,i,o,a){var s=d(P.call(this,o));t.data([s]),_.call(t.node(),s),R(t,e,n,r,i,o,a)}function R(t,e,n,r,i,o,a){var s=a.shortening||0,u=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],l=r-e,h=i-n,f=Math.sqrt(l*l+h*h);if(0==f)var d=1,p=0;else d=l/f,p=h/f;if(r=e+(f-s-10-.1)*d,i=n+(f-s-10-.1)*p,o.URL||o.tooltip)var g=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),m=g.selectWithoutDataPropagation("path"),v=g.selectWithoutDataPropagation("polygon");else m=t.selectWithoutDataPropagation("path"),v=t.selectWithoutDataPropagation("polygon");var y=c.path();y.moveTo(e,n),y.lineTo(r,i),m.attr("d",y),r=e+(f-s-10)*d,i=n+(f-s-10)*p;for(var _=0;_ b ["+n+"]}","svg","dot"),s=(new window.DOMParser).parseFromString(a,"image/svg+xml");return e.select(document.createDocumentFragment()).append(function(){return s.documentElement}).select(".edge")}function F(t,e,n,r,i,o){var a=d(Y.call(this,r,i));return t.data([a]),_.call(t.node(),a),q(t,e,n,i),this}function q(t,n,r,i,o){if(i.URL||i.tooltip)var a=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else a=t;var s=a.selectAll("ellipse,polygon,path,polyline"),u=t.selectWithoutDataPropagation("text");if(0!=s.size()){var c=s.node().getBBox();c.cx=c.x+c.width/2,c.cy=c.y+c.height/2}else 0!=u.size()&&(c={x:+u.attr("x"),y:+u.attr("y"),width:0,height:0,cx:+u.attr("x"),cy:+u.attr("y")});return s.each(function(t,i){var o=e.select(this);if(o.attr("cx"))o.attr("cx",b(n)).attr("cy",b(r));else if(o.attr("points")){var a=o.attr("points").trim();o.attr("points",function(t,e,n){var r,i=(r=t.split(" ")).map(function(t){return t.split(",")});return i=r.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}),(r=i.map(function(t){return t.join(",")})).join(" ")}(a,n-c.cx,r-c.cy))}else{var s=o.attr("d");o.attr("d",function(t,e,n){(i=t.split(/[A-Z ]/)).shift();var r=t.split(/[^[A-Z ]+/),i=(i.map(function(t){return t.split(",")}),i.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}).map(function(t){return t.join(",")}));return r.reduce(function(t,e,n){return t.concat(e,i[n])},[]).join("")}(s,n-c.cx,r-c.cy))}}),0!=u.size()&&u.attr("x",b(+u.attr("x")+n-c.cx)).attr("y",b(+u.attr("y")+r-c.cy)),this}function z(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function j(){return this._drawnNode?this._drawnNode.g:e.select(null)}function Y(t,n){for(var r="",i=0,o=Object.keys(n);i2")(a)+" ",i+=s+" ".repeat(o-s.length),i+=u.format(" >5")(t-n)+" ","initEnd"!=s&&(i+=u.format(" >5")(t-r.start[e])),"dataProcessEnd"==s&&(i+=" prepare "+u.format(" >5")(t-r.layoutEnd[e])),"renderEnd"==s&&c._transition&&(i+=" transition start margin "+u.format(" >5")(c._transition.delay()-(t-r.renderStart[e])),l=c._transition.delay(),f=c._transition.duration()),"transitionStart"==s){var h=t-r.renderStart[e];i+=" transition delay "+u.format(" >5")(t-r.renderStart[e]),i+=" expected "+u.format(" >5")(l),i+=" diff "+u.format(" >5")(h-l)}if("transitionEnd"==s){var d=t-r.transitionStart[e];i+=" transition duration "+u.format(" >5")(d),i+=" expected "+u.format(" >5")(f),i+=" diff "+u.format(" >5")(d-f)}console.log(i),n=t}:null)},s=0;s5&&void 0!==arguments[5]?arguments[5]:{};if((o=Object.assign({},o)).style&&o.style.includes("invis"))var s=e.select(null);else{var u=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),c=d(P.call(this,o));s=u.append("g").data([c]),_.call(s.node(),c),O.call(this,s,t,n,r,i,o,a)}return this._drawnEdge={g:s,x1:t,y1:n,x2:r,y2:i,attributes:o},this},updateDrawnEdge:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var a=this._drawnEdge.g;return i=Object.assign(this._drawnEdge.attributes,i),this._drawnEdge.x1=t,this._drawnEdge.y1=e,this._drawnEdge.x2=n,this._drawnEdge.y2=r,!a.empty()||i.style&&i.style.includes("invis")||(a=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=a),a.empty()||O.call(this,a,t,e,n,r,i,o),this},moveDrawnEdgeEndPoint:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var r=this._drawnEdge.g,i=this._drawnEdge.x1,o=this._drawnEdge.y1,a=this._drawnEdge.attributes;return this._drawnEdge.x2=t,this._drawnEdge.y2=e,R(r,i,o,t,e,a,n),this},insertDrawnEdge:function(t){if(!this._drawnEdge)throw Error("No edge has been drawn");var e=this._drawnEdge.g;if(e.empty())return this;e.selectWithoutDataPropagation("title").text(t);var n=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),r=n.datum(),i=this._extractData(e,r.children.length,n.datum());return r.children.push(i),v(e,i),this._drawnEdge=null,this},removeDrawnEdge:L},"removeDrawnEdge",L),l(V,"drawnEdgeSelection",U),l(V,"drawnEdgeSelection",U),l(V,"drawNode",function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((i=Object.assign({},i)).style&&i.style.includes("invis"))var a=e.select(null);else{var s=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),u=d(Y.call(this,r,i));a=s.append("g").data([u]),_.call(a.node(),u),F.call(this,a,t,n,r,i,o)}return this._drawnNode={g:a,nodeId:r,x:t,y:n,attributes:i},this}),l(V,"updateDrawnNode",function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var o=this._drawnNode.g;return null==n&&(n=this._drawnNode.nodeId),r=Object.assign(this._drawnNode.attributes,r),this._drawnNode.nodeId=n,this._drawnNode.x=t,this._drawnNode.y=e,!o.empty()||r.style&&r.style.includes("invis")||(o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=o),o.empty()||F.call(this,o,t,e,n,r,i),this}),l(V,"moveDrawnNode",function(t,e){if(!this._drawnNode)throw Error("No node has been drawn");var n=this._drawnNode.g,r=this._drawnNode.attributes;return this._drawnNode.x=t,this._drawnNode.y=e,n.empty()||q(n,t,e,r),this}),l(V,"insertDrawnNode",function(t){if(!this._drawnNode)throw Error("No node has been drawn");null==t&&(t=this._drawnNode.nodeId);var e=this._drawnNode.g;if(e.empty())return this;var n=this._drawnNode.attributes;if(e.selectWithoutDataPropagation("title").text(t),n.URL||n.tooltip)var r=e.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),i=(r.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),r.selectWithoutDataPropagation("text"));else e.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),i=e.selectWithoutDataPropagation("text");i.text(n.label||t);var o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),a=o.datum(),s=this._extractData(e,a.children.length,o.datum());return a.children.push(s),v(e,s),this._drawnNode=null,this}),l(V,"removeDrawnNode",z),l(V,"removeDrawnNode",z),l(V,"drawnNodeSelection",j),l(V,"drawnNodeSelection",j),V),e.selection.prototype.graphviz=function(t){var e=this.node().__graphviz__;return e?(e.options(t),i.timeout((function(){e._dispatch.call("initEnd",this)}).bind(this),0)):e=new H(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Q,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(24967),n(58552),n(82159),n(14788),n(30853),n(59320),n(95914),n(25047),n(16809))},60053:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},M:function(){return a}});var r=n(3031),i=n(61317);function o(t,e){return((0,i.v)(e)?i.Z:a)(t,e)}function a(t,e){var n,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1];return r((n-i/e)*e,i>0?t[i-1]:2*o-a,o,a,i180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?s:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},94065:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},28917:function(t,e,n){"use strict";function r(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}n.d(e,{Z:function(){return r}})},30853:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolate:function(){return r.Z},interpolateArray:function(){return i.Z},interpolateBasis:function(){return o.Z},interpolateBasisClosed:function(){return a.Z},interpolateCubehelix:function(){return nt},interpolateCubehelixLong:function(){return rt},interpolateDate:function(){return s.Z},interpolateDiscrete:function(){return u},interpolateHcl:function(){return j},interpolateHclLong:function(){return Y},interpolateHsl:function(){return b},interpolateHslLong:function(){return x},interpolateHue:function(){return l},interpolateLab:function(){return q},interpolateNumber:function(){return h.Z},interpolateNumberArray:function(){return f.Z},interpolateObject:function(){return d.Z},interpolateRgb:function(){return y.ZP},interpolateRgbBasis:function(){return y.hD},interpolateRgbBasisClosed:function(){return y.YD},interpolateRound:function(){return p.Z},interpolateString:function(){return g.Z},interpolateTransformCss:function(){return m.Y},interpolateTransformSvg:function(){return m.w},interpolateZoom:function(){return v.Z},piecewise:function(){return it},quantize:function(){return ot}});var r=n(3031),i=n(60053),o=n(39588),a=n(17280),s=n(28917);function u(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var c=n(22656);function l(t,e){var n=(0,c.wx)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}var h=n(75306),f=n(61317),d=n(70901),p=n(47071),g=n(51882),m=n(44090),v=n(13764),y=n(38740),_=n(12314);function w(t){return function(e,n){var r=t((e=(0,_.Ym)(e)).h,(n=(0,_.Ym)(n)).h),i=(0,c.ZP)(e.s,n.s),o=(0,c.ZP)(e.l,n.l),a=(0,c.ZP)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var b=w(c.wx),x=w(c.ZP),E=n(80052),T=Math.PI/180,A=180/Math.PI,S=4/29,I=6/29,C=3*I*I;function D(t){if(t instanceof k)return new k(t.l,t.a,t.b,t.opacity);if(t instanceof P)return F(t);t instanceof _.Ss||(t=(0,_.SU)(t));var e,n,r=R(t.r),i=R(t.g),o=R(t.b),a=Z((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=Z((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Z((.0139322*r+.0971045*i+.7141733*o)/.82521)),new k(116*a-16,500*(e-a),200*(a-n),t.opacity)}function N(t,e,n,r){return 1===arguments.length?D(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Z(t){return t>.008856451679035631?Math.pow(t,1/3):t/C+S}function M(t){return t>I?t*t*t:C*(t-S)}function O(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function R(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function L(t){if(t instanceof P)return new P(t.h,t.c,t.l,t.opacity);if(t instanceof k||(t=D(t)),0===t.a&&0===t.b)return new P(NaN,0u&&(s=e.slice(u,s),l[c]?l[c]+=s:l[++c]=s),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,h.push({i:c,x:(0,r.Z)(n,a)})),u=o.lastIndex;return u180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,s.Z)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,s.Z)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,s.Z)(t,n)},{i:u-2,x:(0,s.Z)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n1e-6)if(Math.abs(h*u-c*l)>1e-6&&o){var d=r-a,p=i-s,g=u*u+c*c,m=d*d+p*p,v=Math.sqrt(g),y=Math.sqrt(f),_=o*Math.tan((n-Math.acos((g+f-m)/(2*v*y)))/2),w=_/y,b=_/v;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*h)),this._+="A"+o+","+o+",0,0,"+ +(h*d>l*p)+","+(this._x1=t+b*u)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,o,a,s,u){t=+t,e=+e,u=!!u;var c=(o=+o)*Math.cos(a),l=o*Math.sin(a),h=t+c,f=e+l,d=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+h+","+f:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+h+","+f),o&&(p<0&&(p=p%r+r),p>i?this._+="A"+o+","+o+",0,1,"+d+","+(t-c)+","+(e-l)+"A"+o+","+o+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+d+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=e+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},32436:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(26669),i=n(71867);function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.P&&e.documentElement.namespaceURI===i.P?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function s(t){var e=(0,r.Z)(t);return(e.local?a:o)(e)}},24967:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return d.Z},create:function(){return o},creator:function(){return r.Z},customEvent:function(){return E._H},event:function(){return E.B},local:function(){return s},matcher:function(){return c.Z},mouse:function(){return l.Z},namespace:function(){return h.Z},namespaces:function(){return f.Z},select:function(){return i.Z},selectAll:function(){return g},selection:function(){return p.ZP},selector:function(){return m.Z},selectorAll:function(){return v.Z},style:function(){return y.S},touch:function(){return _.Z},touches:function(){return b},window:function(){return x.Z}});var r=n(32436),i=n(41036);function o(t){return(0,i.Z)((0,r.Z)(t).call(document.documentElement))}var a=0;function s(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=s.prototype={constructor:u,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var c=n(54382),l=n(38337),h=n(26669),f=n(71867),d=n(54762),p=n(42710);function g(t){return"string"==typeof t?new p.Y1([document.querySelectorAll(t)],[document.documentElement]):new p.Y1([null==t?[]:t],p.Jz)}var m=n(69309),v=n(85502),y=n(97717),_=n(45161),w=n(72732);function b(t,e){null==e&&(e=(0,w.Z)().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.Z.hasOwnProperty(e)?{space:r.Z[e],local:t}:t}},71867:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},54762:function(t,e,n){"use strict";function r(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}n.d(e,{Z:function(){return r}})},41036:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(42710);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},42710:function(t,e,n){"use strict";n.d(e,{Y1:function(){return Q},ZP:function(){return $},Jz:function(){return H}});var r=n(69309),i=n(85502),o=n(54382);function a(t){return new Array(t.length)}function s(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function u(t,e,n,r,i,o){for(var a,u=0,c=e.length,l=o.length;ue?1:t>=e?0:NaN}s.prototype={constructor:s,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var h=n(26669);function f(t){return function(){this.removeAttribute(t)}}function d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function p(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function m(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function v(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var y=n(97717);function _(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function b(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function x(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new T(t)}function T(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function A(t,e){for(var n=E(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var P=n(32436);function F(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function z(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var Y=n(92711),B=n(11130);function J(t,e,n){var r=(0,B.Z)(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function G(t,e){return function(){return J(this,t,e)}}function V(t,e){return function(){return J(this,t,e.apply(this,arguments))}}var H=[null];function Q(t,e){this._groups=t,this._parents=e}function W(){return new Q([[document.documentElement]],H)}Q.prototype=W.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o=E&&(E=x+1);!(b=_[E])&&++E=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=l);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?_:"function"==typeof e?b:w)(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var r=E(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r1?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):u(this.node(),t)}function u(t,e){return t.style.getPropertyValue(e)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(e)}},69309:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{Z:function(){return i}})},85502:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{Z:function(){return i}})},72732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92711);function i(){for(var t,e=r.B;t=e.sourceEvent;)e=t;return e}},45161:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(72732),i=n(54762);function o(t,e,n){arguments.length<3&&(n=e,e=(0,r.Z)().changedTouches);for(var o,a=0,s=e?e.length:0;a=0&&e._call.call(null,t),e=e._next;--o}function y(){c=(u=h.now())+l,o=a=0;try{v()}finally{o=0,function(){for(var t,e,n=r,o=1/0;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),c=0}}function _(){var t=h.now(),e=t-u;e>1e3&&(l-=e,u=t)}function w(t){o||(a&&(a=clearTimeout(a)),t-c>24?(t<1/0&&(a=setTimeout(y,t-h.now()-l)),s&&(s=clearInterval(s))):(s||(u=h.now(),s=setInterval(_,1e3)),o=1,f(y)))}g.prototype=m.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?d():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},82159:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return it},interrupt:function(){return d},transition:function(){return X}});var r=n(42710),i=n(64641),o=n(65244),a=n(74199),s=(0,i.Z)("start","end","cancel","interrupt"),u=[];function c(t,e,n,r,i,c){var l=t.__transition;if(l){if(n in l)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function s(o){var l,h,f,d;if(1!==n.state)return c();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return(0,a.Z)(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function h(t,e){var n=f(t,e);if(n.state>3)throw new Error("too late; already running");return n}function f(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function d(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var p=n(44090),g=n(26669);function m(t,e){var n,r;return function(){var i=h(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?l:h;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var z=n(69309),j=n(85502),Y=r.ZP.prototype.constructor,B=n(97717);function J(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function V(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&G(t,o,n)),r}return o._value=e,o}function H(t){return function(e){this.textContent=t.call(this,e)}}function Q(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&H(r)),e}return r._value=t,r}var W=0;function $(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function X(t){return(0,r.ZP)().transition(t)}function K(){return++W}var tt=r.ZP.prototype;$.prototype=X.prototype={constructor:$,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,z.Z)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new $([[t]],rt,e,+r);return null}},59320:function(t,e,n){"use strict";n.r(e),n.d(e,{zoom:function(){return T},zoomIdentity:function(){return p},zoomTransform:function(){return g}});var r=n(64641),i=n(8634),o=n(13764),a=n(92711),s=n(38337),u=n(41036),c=n(45161),l=n(82159);function h(t){return function(){return t}}function f(t,e,n){this.target=t,this.type=e,this.transform=n}function d(t,e,n){this.k=t,this.x=e,this.y=n}d.prototype={constructor:d,scale:function(t){return 1===t?this:new d(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new d(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var p=new d(1,0,0);function g(t){return t.__zoom||p}function m(){a.B.stopImmediatePropagation()}function v(){a.B.preventDefault(),a.B.stopImmediatePropagation()}function y(){return!a.B.button}function _(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function w(){return this.__zoom||p}function b(){return-a.B.deltaY*(a.B.deltaMode?120:1)/500}function x(){return"ontouchstart"in this}function E(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function T(){var t,e,n=y,g=_,T=E,A=b,S=x,I=[0,1/0],C=[[-1/0,-1/0],[1/0,1/0]],D=250,N=o.Z,k=[],Z=(0,r.Z)("start","zoom","end"),M=0;function O(t){t.property("__zoom",w).on("wheel.zoom",z).on("mousedown.zoom",j).on("dblclick.zoom",Y).filter(S).on("touchstart.zoom",B).on("touchmove.zoom",J).on("touchend.zoom touchcancel.zoom",G).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(I[0],Math.min(I[1],e)))===t.k?t:new d(e,t.x,t.y)}function L(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new d(t.k,r,i)}function U(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,e,n){t.on("start.zoom",function(){F(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){F(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=F(t,r),o=g.apply(t,r),a=n||U(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,c="function"==typeof e?e.apply(t,r):e,l=N(u.invert(a).concat(s/u.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=l(t),n=s/e[2];t=new d(n,a[0]-e[0]*n,a[1]-e[1]*n)}i.zoom(null,t)}})}function F(t,e){for(var n,r=0,i=k.length;rM}t.zoom("mouse",T(L(t.that.__zoom,t.mouse[0]=(0,s.Z)(t.that),t.mouse[1]),t.extent,C))}function d(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.D)(a.B.view,t.moved),v(),t.end()}}function Y(){if(n.apply(this,arguments)){var t=this.__zoom,e=(0,s.Z)(this),r=t.invert(e),i=t.k*(a.B.shiftKey?.5:2),o=T(L(R(t,i),e,r),g.apply(this,arguments),C);v(),D>0?(0,u.Z)(this).transition().duration(D).call(P,o,e):(0,u.Z)(this).call(O.transform,o)}}function B(){if(n.apply(this,arguments)){var e,r,i,o,s=F(this,arguments),h=a.B.changedTouches,f=h.length;for(m(),r=0;r0;--u)if(r=e[u].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(e){return t.outEdges(e.v,e.w)}),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(e,n,s)}),r.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,u(e,n,o)}),t.removeNode(i.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},73363:function(t,e,n){"use strict";var r=n(91096),i=n(19265),o=n(3266),a=n(29438),s=n(45247).normalizeRanks,u=n(22877),c=n(45247).removeEmptyRanks,l=n(8131),h=n(28549),f=n(64061),d=n(41727),p=n(14588),g=n(45247),m=n(49174).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new m({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},y,A(n,v),r.pick(n,_))),r.forEach(t.nodes(),function(n){var i=S(t.node(n));e.setNode(n,r.defaults(A(i,w),b)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var i=S(t.edge(n));e.setEdge(n,r.merge({},E,A(i,x),r.pick(i,T)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){i.run(t)}),e(" nestingGraph.run",function(){l.run(t)}),e(" rank",function(){a(g.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i=t.node(e.w);g.addDummyNode(t,"edge-proxy",{rank:(i.rank-r.rank)/2+r.rank,e},"_ep")}})}(t)}),e(" removeEmptyRanks",function(){c(t)}),e(" nestingGraph.cleanup",function(){l.cleanup(t)}),e(" normalizeRanks",function(){s(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.forEach(t.nodes(),function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){o.run(t)}),e(" parentDummyChains",function(){u(t)}),e(" addBorderSegments",function(){h(t)}),e(" order",function(){d(t)}),e(" insertSelfEdges",function(){!function(t){var e=g.buildLayerMatrix(t);r.forEach(e,function(e){var n=0;r.forEach(e,function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){f.adjust(t)}),e(" position",function(){p(t)}),e(" positionSelfEdges",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){o.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){f.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function c(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(t.nodes(),function(e){c(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&c(n)}),e-=s,i-=u,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.forEach(t.edges(),function(n){var o=t.edge(n);r.forEach(o.points,function(t){t.x-=e,t.y-=i}),r.has(o,"x")&&(o.x-=e),r.has(o,"y")&&(o.y-=i)}),a.width=n-e+s,a.height=o-i+u}(t)}),e(" assignNodeIntersects",function(){!function(t){r.forEach(t.edges(),function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(t)}),e(" reversePoints",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){i.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.forEach(t.edges(),function(n){var i=t.edge(n),o=e.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],w=["width","height"],b={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function A(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},91096:function(t,e,n){var r;try{r={cloneDeep:n(38961),constant:n(60583),defaults:n(25177),each:n(97635),filter:n(9673),find:n(13963),flatten:n(38863),forEach:n(26404),forIn:n(21308),has:n(71645),isUndefined:n(96075),last:n(83074),map:n(86169),mapValues:n(7301),max:n(11653),merge:n(81940),min:n(47983),minBy:n(42707),now:n(41396),pick:n(28891),range:n(79289),reduce:n(37442),sortBy:n(36272),uniqueId:n(83798),values:n(95041),zipObject:n(3393)}}catch(i){}r||(r=window._),t.exports=r},8131:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n,a,s,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,function(r){o(t,e,n,a,s,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=l!==d?1:s-u[c]+1;t.setEdge(h,l,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(c)||t.setEdge(e,h,{weight:0,minlen:s+u[c]})}else c!==e&&t.setEdge(e,c,{weight:0,minlen:n})}t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,function(t){n(t,o+1)}),e[i]=o}return r.forEach(t.children(),function(t){n(t,1)}),e}(t),a=r.max(r.values(n))-1,s=2*a+1;t.graph().nestingRoot=e,r.forEach(t.edges(),function(e){t.edge(e).minlen*=s});var u=function(t){return r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.forEach(t.children(),function(r){o(t,e,s,u,a,n,r)}),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},3266:function(t,e,n){"use strict";var r=n(91096),i=n(45247);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,u=e.w,c=t.node(u).rank,l=e.name,h=t.edge(e),f=h.labelRank;if(c!==s+1){for(t.removeEdge(e),o=0,++s;s0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;c+=t.weight*n})),c}t.exports=function(t,e){for(var n=0,r=1;r=2),s=l.buildLayerMatrix(t);var m=o(t,s);m=t.barycenter)&&(o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},5826:function(t,e,n){var r=n(91096),i=n(25412),o=n(82764),a=n(37850);t.exports=function t(e,n,s,u){var c=e.children(n),l=e.node(n),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,function(t){return t!==h&&t!==f}));var p=i(e,c);r.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,s,u);d[n.v]=i,r.has(i,"barycenter")&&(a=i,r.isUndefined((o=n).barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a});var g=o(p,s);!function(t,e){r.forEach(t,function(t){t.vs=r.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(g,d);var m=a(g,u);if(h&&(m.vs=r.flatten([h,m.vs,f],!0),e.predecessors(h).length)){var v=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(f)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+y.order)/(m.weight+2),m.weight+=2}return m}},37850:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,a=i.partition(t,function(t){return r.has(t,"barycenter")}),s=a.lhs,u=r.sortBy(a.rhs,function(t){return-t.i}),c=[],l=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),f=o(c,u,f),r.forEach(s,function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)});var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},22877:function(t,e,n){var r=n(91096);t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),function i(o){var a=n;r.forEach(t.children(o),i),e[o]={low:a,lim:n++}}),e}(t);r.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],u=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>u||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,c=a[u],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=a[u])!==s&&t.node(c).maxRanks)&&u(n,e,c)})})}return r.reduce(e,function(e,n){var o,a=-1,s=0;return r.forEach(n,function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,e.length)}),n}),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function l(t,e,n,i){var o={},a={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){o[t]=t,a[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var u=i(t);if(u.length)for(var l=((u=r.sortBy(u,function(t){return s[t]})).length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];a[t]===t&&eu.lim&&(c=u,l=!0);var h=r.filter(e.edges(),function(e){return l===y(0,t.node(e.v),c)&&l!==y(0,t.node(e.w),c)});return r.minBy(h,function(t){return o(e,t)})}function v(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),function(t){return!e.node(t).parent}),i=s(t,n);i=i.slice(1),r.forEach(i,function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=g,l.enterEdge=m,l.exchangeEdges=v},21790:function(t,e,n){"use strict";var r=n(91096);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),function(e){return n(e.w)-t.edge(e).minlen}));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},45247:function(t,e,n){"use strict";var r=n(91096),i=n(49174).Graph;function o(t,e,n,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function a(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:o,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,c=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},32862:function(t){t.exports="0.8.5"},54204:function(t,e,n){var r=n(97078);t.exports={Graph:r.Graph,json:n(2063),alg:n(29790),version:r.version}},66451:function(t,e,n){var r=n(77241);t.exports=function(t){var e,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,e.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),function(t){e=[],o(t),e.length&&i.push(e)}),i}},70485:function(t,e,n){var r=n(77241);function i(t,e,n,o,a,s){r.has(o,e)||(o[e]=!0,n||s.push(e),r.each(a(e),function(e){i(t,e,n,o,a,s)}),n&&s.push(e))}t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);i(t,e,"post"===n,s,o,a)}),a}},85818:function(t,e,n){var r=n(26731),i=n(77241);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,o){i[o]=r(t,o,e,n)},{})}},26731:function(t,e,n){var r=n(77241),i=n(9266);t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},u=new i,c=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},8821:function(t,e,n){var r=n(77241),i=n(45759);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},24980:function(t,e,n){var r=n(77241);t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=e[n],i=o[n],a=o[t].distance+r.distance;a0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(n).forEach(c)}return a}},45759:function(t,e,n){var r=n(77241);t.exports=function(t){var e=0,n=[],i={},o=[];function a(s){var u=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))}),u.lowlink===u.index){var c,l=[];do{c=n.pop(),i[c].onStack=!1,l.push(c)}while(s!==c);o.push(l)}}return t.nodes().forEach(function(t){r.has(i,t)||a(t)}),o}},94394:function(t,e,n){var r=n(77241);function i(t){var e={},n={},i=[];if(r.each(t.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],i.push(s))}),r.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},9266:function(t,e,n){var r=n(77241);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,o=i.length;return n[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].prioritya){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function u(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};function o(t){var r=n.parent(t);return void 0===r||e.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,o(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(t,e,n);var h=u(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[l]=h,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][l]=h,this._out[t][l]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},97078:function(t,e,n){t.exports={Graph:n(10179),version:n(57160)}},2063:function(t,e,n){var r=n(77241),i=n(10179);function o(t){return r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}function a(t){return r.map(t.edges(),function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:a(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},77241:function(t,e,n){var r;try{r={clone:n(7063),constant:n(60583),each:n(97635),filter:n(9673),has:n(71645),isArray:n(47712),isEmpty:n(19129),isFunction:n(70458),isUndefined:n(96075),keys:n(48600),map:n(86169),reduce:n(37442),size:n(26809),transform:n(86987),union:n(50875),values:n(95041)}}catch(i){}r||(r=window._),t.exports=r},57160:function(t){t.exports="2.1.8"},22550:function(t,e,n){var r=n(31311)(n(58568),"DataView");t.exports=r},27868:function(t,e,n){var r=n(18944),i=n(18790),o=n(40218),a=n(80072),s=n(3575);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}},5724:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},48486:function(t,e,n){var r=n(43999)();t.exports=r},79941:function(t,e,n){var r=n(48486),i=n(48600);t.exports=function(t,e){return t&&r(t,e,i)}},91338:function(t,e,n){var r=n(21813),i=n(71241);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&ne}},50018:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},29828:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},37551:function(t,e,n){var r=n(72322),i=n(32564),o=n(39920);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},80561:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},31999:function(t,e,n){var r=n(47690),i=n(3902);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},47690:function(t,e,n){var r=n(30964),i=n(49642),o=n(97868),a=n(85234),s=n(32234),u=n(47712),c=n(80354),l=n(51156),h="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,d,p,g){var m=u(t),v=u(e),y=m?"[object Array]":s(t),_=v?"[object Array]":s(e),w=(y="[object Arguments]"==y?h:y)==h,b=(_="[object Arguments]"==_?h:_)==h,x=y==_;if(x&&c(t)){if(!c(e))return!1;m=!0,w=!1}if(x&&!w)return g||(g=new r),m||l(t)?i(t,e,n,d,p,g):o(t,e,y,n,d,p,g);if(!(1&n)){var E=w&&f.call(t,"__wrapped__"),T=b&&f.call(e,"__wrapped__");if(E||T){var A=E?t.value():t,S=T?e.value():e;return g||(g=new r),p(A,S,n,d,g)}}return!!x&&(g||(g=new r),a(t,e,n,d,p,g))}},75080:function(t,e,n){var r=n(32234),i=n(3902);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},16050:function(t,e,n){var r=n(30964),i=n(31999);t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=n[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a=200){var g=e?null:s(t);if(g)return u(g);f=!1,l=a,p=new r}else p=e?[]:d;t:for(;++ce||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},49327:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r-1?s[u?e[c]:c]:void 0}}},15395:function(t,e,n){var r=n(49727),i=n(10139),o=n(56016);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?el))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,m=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p-1&&t%1==0&&t-1}},2154:function(t,e,n){var r=n(67477);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},58289:function(t,e,n){var r=n(27868),i=n(58170),o=n(6647);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},19581:function(t,e,n){var r=n(65810);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},61608:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).get(t)}},8901:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).has(t)}},12399:function(t,e,n){var r=n(65810);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},95622:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},96878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},94667:function(t,e,n){var r=n(74884);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},54263:function(t,e,n){var r=n(31311)(Object,"create");t.exports=r},75427:function(t,e,n){var r=n(11621)(Object.keys,Object);t.exports=r},3601:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},80166:function(t,e,n){t=n.nmd(t);var r=n(52127),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},91059:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},11621:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},90877:function(t,e,n){var r=n(86932),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},31816:function(t,e,n){var r=n(58170);t.exports=function(){this.__data__=new r,this.size=0}},86246:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},95499:function(t){t.exports=function(t){return this.__data__.get(t)}},17114:function(t){t.exports=function(t){return this.__data__.has(t)}},68677:function(t,e,n){var r=n(58170),i=n(6647),o=n(98856);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},39920:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n-1&&t%1==0&&t<=9007199254740991}},49333:function(t,e,n){var r=n(75080),i=n(97633),o=n(80166),a=o&&o.isMap,s=a?i(a):r;t.exports=s},17305:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3902:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},7629:function(t,e,n){var r=n(3219),i=n(45410),o=n(3902),a=Function.prototype.toString,s=Object.prototype.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},8274:function(t,e,n){var r=n(15104),i=n(97633),o=n(80166),a=o&&o.isSet,s=a?i(a):r;t.exports=s},27764:function(t,e,n){var r=n(3219),i=n(47712),o=n(3902);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},30419:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},51156:function(t,e,n){var r=n(94154),i=n(97633),o=n(80166),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},96075:function(t){t.exports=function(t){return void 0===t}},48600:function(t,e,n){var r=n(48421),i=n(97272),o=n(9140);t.exports=function(t){return o(t)?r(t):i(t)}},10752:function(t,e,n){var r=n(48421),i=n(40623),o=n(9140);t.exports=function(t){return o(t)?r(t,!0):i(t)}},83074:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},86169:function(t,e,n){var r=n(20529),i=n(82617),o=n(26091),a=n(47712);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},7301:function(t,e,n){var r=n(61216),i=n(79941),o=n(82617);t.exports=function(t,e){var n={};return e=o(e,3),i(t,function(t,i,o){r(n,i,e(t,i,o))}),n}},11653:function(t,e,n){var r=n(91241),i=n(98109),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},74884:function(t,e,n){var r=n(98856);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},81940:function(t,e,n){var r=n(75705),i=n(57082)(function(t,e,n){r(t,e,n)});t.exports=i},47983:function(t,e,n){var r=n(91241),i=n(69661),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},42707:function(t,e,n){var r=n(91241),i=n(82617),o=n(69661);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},15533:function(t){t.exports=function(){}},41396:function(t,e,n){var r=n(58568);t.exports=function(){return r.Date.now()}},28891:function(t,e,n){var r=n(14964),i=n(9771)(function(t,e){return null==t?{}:r(t,e)});t.exports=i},57675:function(t,e,n){var r=n(80087),i=n(47044),o=n(46149),a=n(71241);t.exports=function(t){return o(t)?r(a(t)):i(t)}},79289:function(t,e,n){var r=n(15395)();t.exports=r},37442:function(t,e,n){var r=n(27971),i=n(43079),o=n(82617),a=n(95482),s=n(47712);t.exports=function(t,e,n){var u=s(t)?r:a,c=arguments.length<3;return u(t,o(e,4),n,c,i)}},26809:function(t,e,n){var r=n(97272),i=n(32234),o=n(9140),a=n(27764),s=n(3941);t.exports=function(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},36272:function(t,e,n){var r=n(9555),i=n(22824),o=n(37165),a=n(10139),s=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=s},20668:function(t){t.exports=function(){return[]}},1950:function(t){t.exports=function(){return!1}},56016:function(t,e,n){var r=n(68135);t.exports=function(t){return t?1/0===(t=r(t))||-1/0===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},82748:function(t,e,n){var r=n(56016);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},68135:function(t,e,n){var r=n(94530),i=n(17305),o=n(30419),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},65208:function(t,e,n){var r=n(79399),i=n(10752);t.exports=function(t){return r(t,i(t))}},89196:function(t,e,n){var r=n(17667);t.exports=function(t){return null==t?"":r(t)}},86987:function(t,e,n){var r=n(41492),i=n(56004),o=n(79941),a=n(82617),s=n(45410),u=n(47712),c=n(80354),l=n(70458),h=n(17305),f=n(51156);t.exports=function(t,e,n){var d=u(t),p=d||c(t)||f(t);if(e=a(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&l(g)?i(s(t)):{}}return(p?r:o)(t,function(t,r,i){return e(n,t,r,i)}),n}},50875:function(t,e,n){var r=n(9555),i=n(37165),o=n(66833),a=n(56633),s=i(function(t){return o(r(t,1,a,!0))});t.exports=s},83798:function(t,e,n){var r=n(89196),i=0;t.exports=function(t){var e=++i;return r(t)+e}},95041:function(t,e,n){var r=n(10744),i=n(48600);t.exports=function(t){return null==t?[]:r(t,i(t))}},3393:function(t,e,n){var r=n(25823),i=n(60170);t.exports=function(t,e){return i(t||[],e||[],r)}},41282:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(69812)),r(n(65098)),r(n(59895)),r(n(13408)),r(n(66082)),r(n(33839)),r(n(51390)),r(n(83807)),r(n(24232)),r(n(22267)),r(n(741)),r(n(21539)),r(n(97002)),r(n(99147)),r(n(70980)),r(n(96684))},69812:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(e){var n=t.call(this)||this,r=e;return r.trigger&&(n.trigger=r.trigger),r.kick&&(n.kick=r.kick),r.drag&&(n.drag=r.drag),r.on&&(n.on=r.on),n.dragstart=n.dragStart=o.Layout.dragStart,n.dragend=n.dragEnd=o.Layout.dragEnd,n}return i(e,t),e.prototype.trigger=function(t){},e.prototype.kick=function(){},e.prototype.drag=function(){},e.prototype.on=function(t,e){return this},e}(o.Layout);e.LayoutAdaptor=a,e.adaptor=function(t){return new a(t)}},96684:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51390),i=n(66082);e.gridify=function(t,e,n,r){return t.cola.start(0,0,0,10,!1),function(t,e,n,r){t.forEach(function(t){t.routerNode={name:t.name,bounds:t.bounds.inflate(-n)}}),e.forEach(function(e){e.routerNode={bounds:e.bounds.inflate(-r),children:(void 0!==e.groups?e.groups.map(function(e){return t.length+e.id}):[]).concat(void 0!==e.leaves?e.leaves.map(function(t){return t.index}):[])}});var o=t.concat(e).map(function(t,e){return t.routerNode.id=e,t.routerNode});return new i.GridRouter(o,{getChildren:function(t){return t.children},getBounds:function(t){return t.bounds}},n-r)}(t.cola.nodes(),t.cola.groups(),n,r).routeEdges(t.powerGraph.powerEdges,e,function(t){return t.source.routerNode.id},function(t){return t.target.routerNode.id})},e.powerGraphGridLayout=function(t,e,n){var i;t.nodes.forEach(function(t,e){return t.index=e}),(new r.Layout).avoidOverlaps(!1).nodes(t.nodes).links(t.links).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){return t.padding=n})});var o=t.nodes.length,a=[],s=t.nodes.slice(0);return s.forEach(function(t,e){return t.index=e}),i.groups.forEach(function(t){var e=t.index=t.id+o;s.push(t),void 0!==t.leaves&&t.leaves.forEach(function(t){return a.push({source:e,target:t.index})}),void 0!==t.groups&&t.groups.forEach(function(t){return a.push({source:e,target:t.id+o})})}),i.powerEdges.forEach(function(t){a.push({source:t.source.index,target:t.target.index})}),(new r.Layout).size(e).nodes(s).links(a).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new r.Layout).convergenceThreshold(.001).size(e).avoidOverlaps(!0).nodes(t.nodes).links(t.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){t.padding=n})}).start(50,0,100,0,!1),powerGraph:i}}},65098:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29738),i=n(62834);e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},29738:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(){var e=t.call(this)||this;e.event=d3.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var n=e;return e.drag=function(){if(!t)var t=d3.behavior.drag().origin(o.Layout.dragOrigin).on("dragstart.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,d3.event),n.resume()}).on("dragend.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;this.call(t)},e}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[e.type](e)},e.prototype.kick=function(){var e=this;d3.timer(function(){return t.prototype.tick.call(e)})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout);e.D3StyleLayoutAdaptor=a,e.d3adaptor=function(){return new a}},62834:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390);e.D3StyleLayoutAdaptor=function(t){function e(e){var n=t.call(this)||this;n.d3Context=e,n.event=e.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var r=n;return n.drag=function(){if(!t)var t=e.drag().subject(o.Layout.dragOrigin).on("start.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,e.event),r.resume()}).on("end.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;arguments[0].call(t)},n}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event.call(e.type,e)},e.prototype.kick=function(){var e=this,n=this.d3Context.timer(function(){return t.prototype.tick.call(e)&&n.stop()})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout)},59895:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.locks={}}return t.prototype.add=function(t,e){this.locks[t]=e},t.prototype.clear=function(){this.locks={}},t.prototype.isEmpty=function(){for(var t in this.locks)return!1;return!0},t.prototype.apply=function(t){for(var e in this.locks)t(Number(e),this.locks[e])},t}();e.Locks=n,e.Descent=function(){function t(t,e,i){void 0===i&&(i=null),this.D=e,this.G=i,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new r,this.project=null,this.x=t,this.k=t.length;var o=this.n=t[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new n,this.minD=Number.MAX_VALUE;for(var a,s=o;s--;)for(a=o;--a>s;){var u=e[s][a];u>0&&u1e-9)break;var d=this.offsetDir();for(r=0;r1&&p>g||!isFinite(g))for(r=0;r1&&(m=1);var v=g*g,y=2*m*(p-g)/(v*p),_=p*p*p,w=2*-m/(v*_);for(isFinite(y)||console.log(y),r=0;r0?A-(C+1)*x:A-(C-1)*x)&&f<=b&&(this.scaleSnapByMaxH?(this.g[r][u]+=s*E*f,this.H[r][u][u]+=s*E):(this.g[r][u]+=E*f,this.H[r][u][u]+=E))}this.locks.isEmpty()||this.locks.apply(function(n,i){for(r=0;r0;)for(var i=e;i-- >0;)n(r,i)},t.prototype.matrixApply=function(e){t.mApply(this.k,this.n,e)},t.prototype.computeNextPosition=function(t,e){var n=this;this.computeDerivatives(t);var r=this.computeStepSize(this.g);if(this.stepAndProject(t,e,this.g,r),this.project){this.matrixApply(function(r,i){return n.e[r][i]=t[r][i]-e[r][i]});var i=this.computeStepSize(this.e);i=Math.max(.2,Math.min(i,1)),this.stepAndProject(t,e,this.e,i)}},t.prototype.run=function(t){for(var e=Number.MAX_VALUE,n=!1;!n&&t-- >0;){var r=this.rungeKutta();n=Math.abs(e/r-1)>16)/this.range},t.prototype.getNextBetween=function(t,e){return t+this.getNext()*(e-t)},t}();e.PseudoRandom=r},13408:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(97002),a=function(){return function(){}}();e.Point=a;var s=function(){return function(t,e,n,r){this.x1=t,this.y1=e,this.x2=n,this.y2=r}}();function u(t,e,n){return(e.x-t.x)*(n.y-t.y)-(n.x-t.x)*(e.y-t.y)}function c(t,e,n){return u(t,e,n)>0}function l(t,e,n){return u(t,e,n)<0}function h(t,e){var n,r,i,o,a=e.length-1;if(l(t,e[1],e[0])&&!c(t,e[a-1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return c(t,e[n],e[r])?n:r;if((o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]))&&!c(t,e[i-1],e[i]))return i;c(t,e[n+1],e[n])?o||c(t,e[n],e[i])?r=i:n=i:o&&l(t,e[n],e[i])?r=i:n=i}}function f(t,e){var n,r,i,o,a=e.length-1;if(c(t,e[a-1],e[0])&&!l(t,e[1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return l(t,e[n],e[r])?n:r;if(o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]),c(t,e[i-1],e[i])&&!o)return i;l(t,e[n+1],e[n])?o?l(t,e[n],e[i])?r=i:n=i:r=i:o?n=i:c(t,e[n],e[i])?r=i:n=i}}function d(t,e,n,r,i,o){var a,s;s=r(t[a=n(e[0],t)],e);for(var u=!1;!u;){for(u=!0;a===t.length-1&&(a=0),!i(e[s],t[a],t[a+1]);)++a;for(;0===s&&(s=e.length-1),!o(t[a],e[s],e[s-1]);)--s,u=!1}return{t1:a,t2:s}}function p(t,e){return d(t,e,h,f,c,l)}e.LineSegment=s,e.PolyPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a),e.isLeft=u,e.ConvexHull=function(t){var e,n=t.slice(0).sort(function(t,e){return t.x!==e.x?e.x-t.x:e.y-t.y}),r=t.length,i=n[0].x;for(e=1;e=0&&n[e].x===l;e--);for(s=e+1,e=o;++e<=s;)if(!(u(n[0],n[s],n[e])>=0&&e1&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}c!=s&&a.push(n[c]);var h=a.length;for(e=s;--e>=o;)if(!(u(n[c],n[o],n[e])>=0&&e>o)){for(;a.length>h&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}}return a},e.clockwiseRadialSweep=function(t,e,n){e.slice(0).sort(function(e,n){return Math.atan2(e.y-t.y,e.x-t.x)-Math.atan2(n.y-t.y,n.x-t.x)}).forEach(n)},e.tangent_PolyPolyC=d,e.LRtangent_PolyPolyC=function(t,e){var n=p(e,t);return{t1:n.t2,t2:n.t1}},e.RLtangent_PolyPolyC=p,e.LLtangent_PolyPolyC=function(t,e){return d(t,e,f,f,l,l)},e.RRtangent_PolyPolyC=function(t,e){return d(t,e,h,h,c,c)};var g=function(){return function(t,e){this.t1=t,this.t2=e}}();e.BiTangent=g;var m=function(){return function(){}}();e.BiTangents=m,e.TVGPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a);var v=function(){return function(t,e,n,r){this.id=t,this.polyid=e,this.polyvertid=n,this.p=r,r.vv=this}}();e.VisibilityVertex=v;var y=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.length=function(){var t=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(t*t+e*e)},t}();function _(t,e){for(var n=[],r=1,i=e.length;r=0&&v>=0&&y<0&&_>=0&&w>=0&&b<0?i.ll=new g(o,a):p<=0&&v<=0&&y>0&&_<=0&&w<=0&&b>0?i.rr=new g(o,a):p<=0&&v>0&&y<=0&&_>=0&&w<0&&b>=0?i.rl=new g(o,a):p>=0&&v<0&&y>=0&&_<=0&&w>0&&b<=0&&(i.lr=new g(o,a))}return i}function b(t,e){return!t.every(function(t){return!function(t,e){for(var n=1,r=e.length;n0&&this.E.push(new y(i[o-1].vv,a))}i.length>1&&this.E.push(new y(i[0].vv,i[i.length-1].vv))}for(r=0;r0)return!0;return!1},t}(),e.tangents=w,e.polysOverlap=function(t,e){if(b(t,e))return!0;if(b(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},66082:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97002),i=n(70980),o=n(99147),a=function(){return function(t,e,n){this.id=t,this.rect=e,this.children=n,this.leaf=void 0===n||0===n.length}}();e.NodeWrapper=a;var s=function(){return function(t,e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),this.id=t,this.x=e,this.y=n,this.node=r,this.line=i}}();e.Vert=s;var u=function(){function t(e,n){this.s=e,this.t=n;var r=t.findMatch(e,n),i=n.slice(0).reverse(),o=t.findMatch(e,i);r.length>=o.length?(this.length=r.length,this.si=r.si,this.ti=r.ti,this.reversed=!1):(this.length=o.length,this.si=o.si,this.ti=n.length-o.ti-o.length,this.reversed=!0)}return t.findMatch=function(t,e){for(var n=t.length,r=e.length,i={length:0,si:-1,ti:-1},o=new Array(n),a=0;ai.length&&(i.length=u,i.si=a-u+1,i.ti=s-u+1)}else o[a][s]=0}return i},t.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},t}();e.LongestCommonSubsequence=u,e.GridRouter=function(){function t(t,e,n){var i=this;void 0===n&&(n=12),this.originalnodes=t,this.groupPadding=n,this.leaves=null,this.nodes=t.map(function(t,n){return new a(n,e.getBounds(t),e.getChildren(t))}),this.leaves=this.nodes.filter(function(t){return t.leaf}),this.groups=this.nodes.filter(function(t){return!t.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(t){return t.children.forEach(function(e){return i.nodes[e].parent=t})}),this.root={children:[]},this.nodes.forEach(function(t){void 0===t.parent&&(t.parent=i.root,i.root.children.push(t.id)),t.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(t,e){return i.getDepth(t)-i.getDepth(e)}),this.backToFront.slice(0).reverse().filter(function(t){return!t.leaf}).forEach(function(t){var e=r.Rectangle.empty();t.children.forEach(function(t){return e=e.union(i.nodes[t].rect)}),t.rect=e.inflate(i.groupPadding)});var o=this.midPoints(this.cols.map(function(t){return t.pos})),u=this.midPoints(this.rows.map(function(t){return t.pos})),c=o[0],l=o[o.length-1],h=u[0],f=u[u.length-1],d=this.rows.map(function(t){return{x1:c,x2:l,y1:t.pos,y2:t.pos}}).concat(u.map(function(t){return{x1:c,x2:l,y1:t,y2:t}})),p=this.cols.map(function(t){return{x1:t.pos,x2:t.pos,y1:h,y2:f}}).concat(o.map(function(t){return{x1:t,x2:t,y1:h,y2:f}})),g=d.concat(p);g.forEach(function(t){return t.verts=[]}),this.verts=[],this.edges=[],d.forEach(function(t){return p.forEach(function(e){var n=new s(i.verts.length,e.x1,t.y1);t.verts.push(n),e.verts.push(n),i.verts.push(n);for(var r=i.backToFront.length;r-- >0;){var o=i.backToFront[r],a=o.rect,u=Math.abs(n.x-a.cx()),c=Math.abs(n.y-a.cy());if(u0;){var r=n.filter(function(e){return e.rect["overlap"+t.toUpperCase()](n[0].rect)}),i={nodes:r,pos:this.avg(r.map(function(e){return e.rect["c"+t]()}))};e.push(i),i.nodes.forEach(function(t){return n.splice(n.indexOf(t),1)})}return e.sort(function(t,e){return t.pos-e.pos}),e},t.prototype.getDepth=function(t){for(var e=0;t.parent!==this.root;)e++,t=t.parent;return e},t.prototype.midPoints=function(t){for(var e=t[1]-t[0],n=[t[0]-e/2],r=1;r.1)&&s.push(u={pos:l[0][e],segments:[]}),u.segments.push(l)}return s},t.nudgeSegs=function(t,e,n,r,o,a){var s=r.length;if(!(s<=1)){for(var u=r.map(function(e){return new i.Variable(e[0][t])}),c=[],l=0;l=0&&c.push(new i.Constraint(u[g],u[m],a))}new i.Solver(u,c).solve(),u.forEach(function(e,i){var o=r[i],a=e.position();o[0][t]=o[1][t]=a;var s=n[o.edgeid];o.i>0&&(s[o.i-1][1][t]=a),o.iMath.PI||i<-Math.PI)&&(i=r-n),i},t.isLeft=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)<=0},t.getOrder=function(t){for(var e={},n=0;n=c.length||h.ti+h.length>=l.length)?n.push({l:r,r:i}):(h.si+h.length>=c.length||h.ti+h.length>=l.length?(o=c[h.si+1],s=c[h.si-1],a=l[h.ti-1]):(o=c[h.si+h.length-2],a=c[h.si+h.length],s=l[h.ti+h.length]),t.isLeft(o,a,s)?n.push({l:i,r}):n.push({l:r,r:i})))}return t.getOrder(n)},t.makeSegments=function(t){function e(t){return{x:t.x,y:t.y}}for(var n=function(t,e,n){return Math.abs((e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x))<.001},r=[],i=e(t[0]),o=1;o1&&l>1?1e3:0}).reverse().map(function(t){return n.verts[t]});return u.push(this.nodes[i.id].ports[0]),u.filter(function(t,e){return!(e0&&t.node===i&&u[e-1].node===i)})},t.getRoutePath=function(e,n,r,i){var o,a,s,u,c,l={routepath:"M "+e[0][0].x+" "+e[0][0].y+" ",arrowpath:""};if(e.length>1)for(var h=0;h0?a-=f/Math.abs(f)*n:s-=d/Math.abs(d)*n,l.routepath+="L "+a+" "+s+" ";var p=e[h+1],g=p[0].x,m=p[0].y;f=p[1].x-g,d=p[1].y-m;var v,y,_=t.angleBetween2Lines(o,p)<0?1:0;Math.abs(f)>0?(v=g+f/Math.abs(f)*n,y=m):(v=g,y=m+d/Math.abs(d)*n);var w=Math.abs(v-a),b=Math.abs(y-s);l.routepath+="A "+w+" "+b+" 0 0 "+_+" "+v+" "+y+" "}else{var x=[a,s];Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1])}}else f=(a=(o=e[0])[1].x)-o[0].x,d=(s=o[1].y)-o[0].y,x=[a,s],Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1]);return l},t}()},33839:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(1+Math.sqrt(5))/2;e.applyPacking=function(t,e,r,i,o,a){void 0===o&&(o=1),void 0===a&&(a=!0);var s=e,u=r,c=(o=void 0!==o?o:1,i=void 0!==i?i:0,0),l=0,h=0,f=0,d=[];function p(t,e){d=[],c=0,l=0,f=0;for(var n=0;n=t.height&&d[r].x+d[r].width+t.width+10-e<=1e-4){n=d[r];break}d.push(t),void 0!==n?(t.x=n.x+n.width+10,t.y=n.bottom,t.space_left=t.height,t.bottom=t.y,n.space_left-=t.height+10,n.bottom+=t.height+10):(t.y=f,f+=t.height+10,t.x=0,t.bottom=t.y,t.space_left=t.height),t.y+t.height-l>-1e-4&&(l=t.y+t.height-0),t.x+t.width-c>-1e-4&&(c=t.x+t.width-0)}0!=t.length&&(function(t){t.forEach(function(t){var e,n,r,o,a;e=t,n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=0,a=0,e.array.forEach(function(t){var e=void 0!==t.width?t.width:i,s=void 0!==t.height?t.height:i;e/=2,s/=2,o=Math.max(t.x+e,o),n=Math.min(t.x-e,n),a=Math.max(t.y+s,a),r=Math.min(t.y-s,r)}),e.width=o-n,e.height=a-r})}(t),function(t,e){var r=Number.POSITIVE_INFINITY,i=0;t.sort(function(t,e){return e.height-t.height});for(var o=g=h=t.reduce(function(t,e){return t.widthh||d>1e-4;){if(1!=l){var g=a-(a-o)/n;u=p(t,g)}if(0!=l){var m=o+(a-o)/n;c=p(t,m)}if(f=Math.abs(g-m),d=Math.abs(u-c),uc?(o=g,g=m,u=c,l=1):(a=m,m=g,c=u,l=0),s++>100)break}p(t,i)}(t),a&&function(t){t.forEach(function(t){var e={x:0,y:0};t.array.forEach(function(t){e.x+=t.x,e.y+=t.y}),e.x/=t.array.length,e.y/=t.array.length;var n=t.x-(e.x-t.width/2)+s/2-c/2,r=t.y-(e.y-t.height/2)+u/2-l/2;t.array.forEach(function(t){t.x+=n,t.y+=r})})}(t))},e.separateGraphs=function(t,e){for(var n={},r={},i=[],o=0,a=0;a0){var e=0;this._links.forEach(function(t){e=Math.max(e,t.source,t.target)}),this._nodes=new Array(++e);for(var n=0;n0?t:0:t>0&&(this._running||(this._running=!0,this.trigger({type:l.start,alpha:this._alpha=t}),this.kick())),this):this._alpha},t.prototype.getLinkLength=function(t){return"function"==typeof this._linkDistance?+this._linkDistance(t):this._linkDistance},t.setLinkLength=function(t,e){t.length=e},t.prototype.getLinkType=function(t){return"function"==typeof this._linkType?this._linkType(t):0},t.prototype.symmetricDiffLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.symmetricDiffLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.jaccardLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.jaccardLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.start=function(e,n,r,u,c,l){var h=this;void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===u&&(u=0),void 0===c&&(c=!0),void 0===l&&(l=!0);var f,d=this.nodes().length,p=d+2*this._groups.length,g=this._canvasSize[0],m=this._canvasSize[1],v=new Array(p),y=new Array(p),_=null,w=this._avoidOverlaps;this._nodes.forEach(function(t,e){t.index=e,void 0===t.x&&(t.x=g/2,t.y=m/2),v[e]=t.x,y[e]=t.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?f=this._distanceMatrix:(f=new s.Calculator(p,this._links,t.getSourceIndex,t.getTargetIndex,function(t){return h.getLinkLength(t)}).DistanceMatrix(),_=o.Descent.createSquareMatrix(p,function(){return 2}),this._links.forEach(function(t){"number"==typeof t.source&&(t.source=h._nodes[t.source]),"number"==typeof t.target&&(t.target=h._nodes[t.target])}),this._links.forEach(function(e){var n=t.getSourceIndex(e),r=t.getTargetIndex(e);_[n][r]=_[r][n]=e.weight||1}));var b=o.Descent.createSquareMatrix(p,function(t,e){return f[t][e]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var x=d;this._groups.forEach(function(t){!function(t,e,n,r){_[t][e]=_[e][t]=n,b[t][e]=b[e][t]=.1}(x,x+1,h._groupCompactness),v[x]=0,y[x++]=0,v[x]=0,y[x++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var E=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,E=E.concat(i.generateDirectedEdgeConstraints(d,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new o.Descent([v,y],b),this._descent.locks.clear(),x=0;x0&&(this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E).projectFunctions()),this._descent.run(n),this.separateOverlappingComponents(g,m,l),this.avoidOverlaps(w),w&&(this._nodes.forEach(function(t,e){t.x=v[e],t.y=y[e]}),this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E,!0).projectFunctions(),this._nodes.forEach(function(t,e){v[e]=t.x,y[e]=t.y})),this._descent.G=_,this._descent.run(r),u){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=d,this._descent.scaleSnapByMaxH=d!=p;var A=o.Descent.createSquareMatrix(p,function(t,e){return t>=d||e>=d?_[t][e]:0});this._descent.G=A,this._descent.run(u)}return this.updateNodePositions(),this.separateOverlappingComponents(g,m,l),c?this.resume():this},t.prototype.initialLayout=function(e,n,r){if(this._groups.length>0&&e>0){var i=this._nodes.length,o=this._links.map(function(t){return{source:t.source.index,target:t.target.index}}),a=this._nodes.map(function(t){return{index:t.index}});this._groups.forEach(function(t,e){a.push({index:t.index=i+e})}),this._groups.forEach(function(t,e){void 0!==t.leaves&&t.leaves.forEach(function(e){return o.push({source:t.index,target:e.index})}),void 0!==t.groups&&t.groups.forEach(function(e){return o.push({source:t.index,target:e.index})})}),(new t).size(this.size()).nodes(a).links(o).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(e,0,0,0,!1),this._nodes.forEach(function(t){n[t.index]=a[t.index].x,r[t.index]=a[t.index].y})}else this._descent.run(e)},t.prototype.separateOverlappingComponents=function(t,e,n){var r=this;if(void 0===n&&(n=!0),!this._distanceMatrix&&this._handleDisconnected){var i=this._descent.x[0],o=this._descent.x[1];this._nodes.forEach(function(t,e){t.x=i[e],t.y=o[e]});var a=c.separateGraphs(this._nodes,this._links);c.applyPacking(a,t,e,this._defaultNodeSize,1,n),this._nodes.forEach(function(t,e){r._descent.x[0][e]=t.x,r._descent.x[1][e]=t.y,t.bounds&&(t.bounds.setXCentre(t.x),t.bounds.setYCentre(t.y))})}},t.prototype.resume=function(){return this.alpha(.1)},t.prototype.stop=function(){return this.alpha(0)},t.prototype.prepareEdgeRouting=function(t){void 0===t&&(t=0),this._visibilityGraph=new u.TangentVisibilityGraph(this._nodes.map(function(e){return e.bounds.inflate(-t).vertices()}))},t.prototype.routeEdge=function(t,e,n){void 0===e&&(e=5);var r=[],i=new u.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),o={x:t.source.x,y:t.source.y},c={x:t.target.x,y:t.target.y},l=i.addPoint(o,t.source.index),h=i.addPoint(c,t.target.index);i.addEdgeIfVisible(o,c,t.source.index,t.target.index),void 0!==n&&n(i);var f=new s.Calculator(i.V.length,i.E,function(t){return t.source.id},function(t){return t.target.id},function(t){return t.length()}).PathFromNodeToNode(l.id,h.id);if(1===f.length||f.length===i.V.length){var d=a.makeEdgeBetween(t.source.innerBounds,t.target.innerBounds,e);r=[d.sourceIntersection,d.arrowStart]}else{for(var p=f.length-2,g=i.V[f[p]].p,m=i.V[f[0]].p,v=(r=[t.source.innerBounds.rayIntersection(g.x,g.y)],p);v>=0;--v)r.push(i.V[f[v]].p);r.push(a.makeEdgeTo(m,t.target.innerBounds,e))}return r},t.getSourceIndex=function(t){return"number"==typeof t.source?t.source:t.source.index},t.getTargetIndex=function(t){return"number"==typeof t.target?t.target:t.target.index},t.linkId=function(e){return t.getSourceIndex(e)+"-"+t.getTargetIndex(e)},t.dragStart=function(e){h(e)?t.storeOffset(e,t.dragOrigin(e)):(t.stopNode(e),e.fixed|=2)},t.stopNode=function(t){t.px=t.x,t.py=t.y},t.storeOffset=function(e,n){void 0!==e.leaves&&e.leaves.forEach(function(e){e.fixed|=2,t.stopNode(e),e._dragGroupOffsetX=e.x-n.x,e._dragGroupOffsetY=e.y-n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.storeOffset(e,n)})},t.dragOrigin=function(t){return h(t)?{x:t.bounds.cx(),y:t.bounds.cy()}:t},t.drag=function(e,n){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(t){e.bounds.setXCentre(n.x),e.bounds.setYCentre(n.y),t.px=t._dragGroupOffsetX+n.x,t.py=t._dragGroupOffsetY+n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.drag(e,n)})):(e.px=n.x,e.py=n.y)},t.dragEnd=function(e){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(e){t.dragEnd(e),delete e._dragGroupOffsetX,delete e._dragGroupOffsetY}),void 0!==e.groups&&e.groups.forEach(t.dragEnd)):e.fixed&=-7},t.mouseOver=function(t){t.fixed|=4,t.px=t.x,t.py=t.y},t.mouseOut=function(t){t.fixed&=-5},t}()},83807:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(99147),i=n(59895),o=n(97002),a=n(24232);e.Link3D=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.actualLength=function(t){var e=this;return Math.sqrt(t.reduce(function(t,n){var r=n[e.target]-n[e.source];return t+r*r},0))},t}(),e.Node3D=function(){return function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n}}(),e.Layout3D=function(){function t(e,n,r){var i=this;void 0===r&&(r=1),this.nodes=e,this.links=n,this.idealLinkLength=r,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(t.k);for(var o=0;o=this.R))return this.merge(e.a,e.b,t),!0}},t.prototype.nEdges=function(t,e){var n=t.incoming.intersection(e.incoming),r=t.outgoing.intersection(e.outgoing);return this.R-n.count()-r.count()},t.prototype.getGroupHierarchy=function(t){var e=this,r=[];return i(this.roots[0],{},r),this.allEdges().forEach(function(i){var o=e.modules[i.source],a=e.modules[i.target];t.push(new n(void 0===o.gid?i.source:r[o.gid],void 0===a.gid?i.target:r[a.gid],i.type))}),r},t.prototype.allEdges=function(){var e=[];return t.getEdges(this.roots[0],e),e},t.getEdges=function(e,n){e.forAll(function(e){e.getEdges(n),t.getEdges(e.children,n)})},t}();function i(t,e,n){t.forAll(function(t){if(t.isLeaf())e.leaves||(e.leaves=[]),e.leaves.push(t.id);else{var r=e;if(t.gid=n.length,!t.isIsland()||t.isPredefined()){if(r={id:t.gid},t.isPredefined())for(var o in t.definition)r[o]=t.definition[o];e.groups||(e.groups=[]),e.groups.push(t.gid),n.push(r)}i(t.children,r,n)}})}e.Configuration=r;var o=function(){function t(t,e,n,r,i){void 0===e&&(e=new s),void 0===n&&(n=new s),void 0===r&&(r=new a),this.id=t,this.outgoing=e,this.incoming=n,this.children=r,this.definition=i}return t.prototype.getEdges=function(t){var e=this;this.outgoing.forAll(function(r,i){r.forAll(function(r){t.push(new n(e.id,r.id,i))})})},t.prototype.isLeaf=function(){return 0===this.children.count()},t.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},t.prototype.isPredefined=function(){return void 0!==this.definition},t}();e.Module=o;var a=function(){function t(){this.table={}}return t.prototype.count=function(){return Object.keys(this.table).length},t.prototype.intersection=function(e){var n=new t;return n.table=function(t,e){var n={};for(var r in t)r in e&&(n[r]=t[r]);return n}(this.table,e.table),n},t.prototype.intersectionCount=function(t){return this.intersection(t).count()},t.prototype.contains=function(t){return t in this.table},t.prototype.add=function(t){this.table[t.id]=t},t.prototype.remove=function(t){delete this.table[t.id]},t.prototype.forAll=function(t){for(var e in this.table)t(this.table[e])},t.prototype.modules=function(){var t=[];return this.forAll(function(e){e.isPredefined()||t.push(e)}),t},t}();e.ModuleSet=a;var s=function(){function t(){this.sets={},this.n=0}return t.prototype.count=function(){return this.n},t.prototype.contains=function(t){var e=!1;return this.forAllModules(function(n){e||n.id!=t||(e=!0)}),e},t.prototype.add=function(t,e){(t in this.sets?this.sets[t]:this.sets[t]=new a).add(e),++this.n},t.prototype.remove=function(t,e){var n=this.sets[t];n.remove(e),0===n.count()&&delete this.sets[t],--this.n},t.prototype.forAll=function(t){for(var e in this.sets)t(this.sets[e],Number(e))},t.prototype.forAllModules=function(t){this.forAll(function(e,n){return e.forAll(t)})},t.prototype.intersection=function(e){var n=new t;return this.forAll(function(t,r){if(r in e.sets){var i=t.intersection(e.sets[r]),o=i.count();o>0&&(n.sets[r]=i,n.n+=o)}}),n},t}();e.LinkSets=s,e.getGroups=function(t,e,n,i){for(var o=new r(t.length,e,n,i);o.greedyMerge(););var a=[],s=o.getGroupHierarchy(a);return a.forEach(function(e){var n=function(n){var r=e[n];"number"==typeof r&&(e[n]=t[r])};n("source"),n("target")}),{groups:s,powerEdges:a}}},741:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(t){for(var e=this._root;null!==e;){var n=this._comparator(t,e.data);if(0===n)return e.data;e=e.get_child(n>0)}return null},t.prototype.lowerBound=function(t){return this._bound(t,this._comparator)},t.prototype.upperBound=function(t){var e=this._comparator;return this._bound(t,function(t,n){return e(n,t)})},t.prototype.min=function(){var t=this._root;if(null===t)return null;for(;null!==t.left;)t=t.left;return t.data},t.prototype.max=function(){var t=this._root;if(null===t)return null;for(;null!==t.right;)t=t.right;return t.data},t.prototype.iterator=function(){return new o(this)},t.prototype.each=function(t){for(var e,n=this.iterator();null!==(e=n.next());)t(e)},t.prototype.reach=function(t){for(var e,n=this.iterator();null!==(e=n.prev());)t(e)},t.prototype._bound=function(t,e){for(var n=this._root,r=this.iterator();null!==n;){var i=this._comparator(t,n.data);if(0===i)return r._cursor=n,r;r._ancestors.push(n),n=n.get_child(i>0)}for(var o=r._ancestors.length-1;o>=0;--o)if(e(t,(n=r._ancestors[o]).data)>0)return r._cursor=n,r._ancestors.length=o,r;return r._ancestors.length=0,r},t}();e.TreeBase=i;var o=function(){function t(t){this._tree=t,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._minNode(t)}else{var e;if(null===this._cursor.right)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===e);else this._ancestors.push(this._cursor),this._minNode(this._cursor.right)}return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._maxNode(t)}else{var e;if(null===this._cursor.left)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===e);else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left)}return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(t){for(;null!==t.left;)this._ancestors.push(t),t=t.left;this._cursor=t},t.prototype._maxNode=function(t){for(;null!==t.right;)this._ancestors.push(t),t=t.right;this._cursor=t},t}();e.Iterator=o;var a=function(){function t(t){this.data=t,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(t){return t?this.right:this.left},t.prototype.set_child=function(t,e){t?this.right=e:this.left=e},t}();e.RBTree=function(t){function e(e){var n=t.call(this)||this;return n._root=null,n._comparator=e,n.size=0,n}return r(e,t),e.prototype.insert=function(t){var n=!1;if(null===this._root)this._root=new a(t),n=!0,this.size++;else{var r=new a(void 0),i=!1,o=!1,s=null,u=r,c=null,l=this._root;for(u.right=this._root;;){if(null===l?(l=new a(t),c.set_child(i,l),n=!0,this.size++):e.is_red(l.left)&&e.is_red(l.right)&&(l.red=!0,l.left.red=!1,l.right.red=!1),e.is_red(l)&&e.is_red(c)){var h=u.right===s;l===c.get_child(o)?u.set_child(h,e.single_rotate(s,!o)):u.set_child(h,e.double_rotate(s,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==s&&(u=s),s=c,c=l,l=l.get_child(i=f<0)}this._root=r.right}return this._root.red=!1,n},e.prototype.remove=function(t){if(null===this._root)return!1;var n=new a(void 0),r=n;r.right=this._root;for(var i=null,o=null,s=null,u=!0;null!==r.get_child(u);){var c=u;o=i,i=r,r=r.get_child(u);var l=this._comparator(t,r.data);if(u=l>0,0===l&&(s=r),!e.is_red(r)&&!e.is_red(r.get_child(u)))if(e.is_red(r.get_child(!u))){var h=e.single_rotate(r,u);i.set_child(c,h),i=h}else if(!e.is_red(r.get_child(!u))){var f=i.get_child(!c);if(null!==f)if(e.is_red(f.get_child(!c))||e.is_red(f.get_child(c))){var d=o.right===i;e.is_red(f.get_child(c))?o.set_child(d,e.double_rotate(i,c)):e.is_red(f.get_child(!c))&&o.set_child(d,e.single_rotate(i,c));var p=o.get_child(d);p.red=!0,r.red=!0,p.left.red=!1,p.right.red=!1}else i.red=!1,f.red=!0,r.red=!0}}return null!==s&&(s.data=r.data,i.set_child(i.right===r,r.get_child(null===r.left)),this.size--),this._root=n.right,null!==this._root&&(this._root.red=!1),null!==s},e.is_red=function(t){return null!==t&&t.red},e.single_rotate=function(t,e){var n=t.get_child(!e);return t.set_child(!e,n.get_child(e)),n.set_child(e,t),t.red=!0,n.red=!1,n},e.double_rotate=function(t,n){return t.set_child(!n,e.single_rotate(t.get_child(!n),!n)),e.single_rotate(t,n)},e}(i)},97002:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(70980),a=n(21539);function s(t){return t.bounds=void 0!==t.leaves?t.leaves.reduce(function(t,e){return e.bounds.union(t)},u.empty()):u.empty(),void 0!==t.groups&&(t.bounds=t.groups.reduce(function(t,e){return s(e).union(t)},t.bounds)),t.bounds=t.bounds.inflate(t.padding),t.bounds}e.computeGroupBounds=s;var u=function(){function t(t,e,n,r){this.x=t,this.X=e,this.y=n,this.Y=r}return t.empty=function(){return new t(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},t.prototype.cx=function(){return(this.x+this.X)/2},t.prototype.cy=function(){return(this.y+this.Y)/2},t.prototype.overlapX=function(t){var e=this.cx(),n=t.cx();return e<=n&&t.x0?n[0]:null},t.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},t.lineIntersection=function(t,e,n,r,i,o,a,s){var u=n-t,c=a-i,l=r-e,h=s-o,f=h*u-c*l;if(0==f)return null;var d=t-i,p=e-o,g=(c*p-h*d)/f,m=(u*p-l*d)/f;return g>=0&&g<=1&&m>=0&&m<=1?{x:t+g*u,y:e+g*l}:null},t.prototype.inflate=function(e){return new t(this.x-e,this.X+e,this.y-e,this.Y+e)},t}();e.Rectangle=u,e.makeEdgeBetween=function(t,e,n){var r=t.rayIntersection(e.cx(),e.cy())||{x:t.cx(),y:t.cy()},i=e.rayIntersection(t.cx(),t.cy())||{x:e.cx(),y:e.cy()},o=i.x-r.x,a=i.y-r.y,s=Math.sqrt(o*o+a*a),u=s-n;return{sourceIntersection:r,targetIntersection:i,arrowStart:{x:r.x+u*o/s,y:r.y+u*a/s}}},e.makeEdgeTo=function(t,e,n){var r=e.rayIntersection(t.x,t.y);r||(r={x:e.cx(),y:e.cy()});var i=r.x-t.x,o=r.y-t.y,a=Math.sqrt(i*i+o*o);return{x:r.x-n*i/a,y:r.y-n*o/a}};var c=function(){return function(t,e,n){this.v=t,this.r=e,this.pos=n,this.prev=f(),this.next=f()}}(),l=function(){return function(t,e,n){this.isOpen=t,this.v=e,this.pos=n}}();function h(t,e){return t.pos>e.pos?1:t.pos0&&(t[n].insert(i),i[r].insert(t))};n("next","prev"),n("prev","next")}};function g(t,e,n,r){void 0===r&&(r=!1);var i=t.padding,o=void 0!==t.groups?t.groups.length:0,a=void 0!==t.leaves?t.leaves.length:0,s=o?t.groups.reduce(function(t,r){return t.concat(g(r,e,n,!0))},[]):[],u=(r?2:0)+a+o,c=new Array(u),l=new Array(u),h=0,f=function(t,e){l[h]=t,c[h++]=e};if(r){var d=t.bounds,p=e.getCentre(d),v=e.getSize(d)/2,y=e.getOpen(d),_=e.getClose(d),w=p-v+i/2,b=p+v-i/2;t.minVar.desiredPosition=w,f(e.makeRect(y,_,w,i),t.minVar),t.maxVar.desiredPosition=b,f(e.makeRect(y,_,b,i),t.maxVar)}a&&t.leaves.forEach(function(t){return f(t.bounds,t.variable)}),o&&t.groups.forEach(function(t){var n=t.bounds;f(e.makeRect(e.getOpen(n),e.getClose(n),e.getCentre(n),e.getSize(n)),t.minVar)});var x=m(l,c,e,n);return o&&(c.forEach(function(t){t.cOut=[],t.cIn=[]}),x.forEach(function(t){t.left.cOut.push(t),t.right.cIn.push(t)}),t.groups.forEach(function(t){var n=(t.padding-e.getSize(t.bounds))/2;t.minVar.cIn.forEach(function(t){return t.gap+=n}),t.minVar.cOut.forEach(function(e){e.left=t.maxVar,e.gap+=n})})),s.concat(x)}function m(t,e,n,r){var i,a=t.length,s=2*a;console.assert(e.length>=a);var u=new Array(s);for(i=0;it[n]&&(t[n]=e)}o=t})}},t.prototype.createAlignment=function(t){var e=this,n=this.nodes[t.offsets[0].node].variable;this.makeFeasible(t);var r="x"===t.axis?this.xConstraints:this.yConstraints;t.offsets.slice(1).forEach(function(t){r.push(new o.Constraint(n,e.nodes[t.node].variable,t.offset,!0))})},t.prototype.createConstraints=function(t){var e=this,n=function(t){return void 0===t.type||"separation"===t.type};this.xConstraints=t.filter(function(t){return"x"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),this.yConstraints=t.filter(function(t){return"y"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),t.filter(function(t){return"alignment"===t.type}).forEach(function(t){return e.createAlignment(t)})},t.prototype.setupVariablesAndBounds=function(t,e,n,r){this.nodes.forEach(function(i,o){i.fixed?(i.variable.weight=i.fixedWeight?i.fixedWeight:1e3,n[o]=r(i)):i.variable.weight=1;var a=(i.width||0)/2,s=(i.height||0)/2,c=t[o],l=e[o];i.bounds=new u(c-a,c+a,l-s,l+s)})},t.prototype.xProject=function(t,e,n){(this.rootGroup||this.avoidOverlaps||this.xConstraints)&&this.project(t,e,t,n,function(t){return t.px},this.xConstraints,_,function(t){return t.bounds.setXCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.x=e-i,t.bounds.X=r+i})},t.prototype.yProject=function(t,e,n){(this.rootGroup||this.yConstraints)&&this.project(t,e,e,n,function(t){return t.py},this.yConstraints,w,function(t){return t.bounds.setYCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.y=e-i,t.bounds.Y=r+i})},t.prototype.projectFunctions=function(){var t=this;return[function(e,n,r){return t.xProject(e,n,r)},function(e,n,r){return t.yProject(e,n,r)}]},t.prototype.project=function(t,e,n,r,i,o,a,u,c){this.setupVariablesAndBounds(t,e,r,i),this.rootGroup&&this.avoidOverlaps&&(s(this.rootGroup),o=o.concat(a(this.rootGroup))),this.solve(this.variables,o,n,r),this.nodes.forEach(u),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(c),s(this.rootGroup))},t.prototype.solve=function(t,e,n,r){var i=new o.Solver(t,e);i.setStartingPositions(n),i.setDesiredPositions(r),i.solve()},t}()},99147:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(741),i=function(){return function(t,e){this.id=t,this.distance=e}}(),o=function(){return function(t){this.id=t,this.neighbours=[]}}(),a=function(){return function(t,e,n){this.node=t,this.prev=e,this.d=n}}();e.Calculator=function(){function t(t,e,n,r,a){this.n=t,this.es=e,this.neighbours=new Array(this.n);for(var s=this.n;s--;)this.neighbours[s]=new o(s);for(s=this.es.length;s--;){var u=this.es[s],c=n(u),l=r(u),h=a(u);this.neighbours[c].neighbours.push(new i(l,h)),this.neighbours[l].neighbours.push(new i(c,h))}}return t.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),e=0;eh&&(c.d=h,c.prev=s,n.reduceKey(c.q,c,function(t,e){return t.q=e}))}}return o},t}()},70980:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.weight;this.AB+=n*e*(t.offset/t.scale),this.AD+=n*e*t.desiredPosition,this.A2+=n*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();e.PositionStats=n;var r=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();e.Constraint=r;var i=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach(function(t){return n(t,t.right)}),this.cIn.forEach(function(t){return n(t,t.left)})},t}();e.Variable=i;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new n(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();e.Solver=s,e.removeOverlapInOneDimension=function(t,e,n){for(var o=t.map(function(t){return new i(t.desiredCenter)}),a=[],u=t.length,c=0;c{class t{constructor(t,e){this.sideMenuService=t,this.sideMenuItemService=e}ngOnInit(){this.sideMenuService.setAdminItems([])}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(u.D),s.Y36(a.V))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-page"]],decls:7,vars:5,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","admin-theme"],[1,"page-title","d-flex"],["svgIcon","perun-perun-admin",1,"perun-icon","icon-scale",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.TgZ(2,"h1",1),s._UZ(3,"mat-icon",2),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(3),s.Q6J("ngStyle",s.DdM(4,d)),s.xp6(1),s.hij(" ",s.lcZ(5,2,"ADMIN.TITLE")," "))},directives:[c.W,l.Hw,i.PC,h.A],pipes:[f.X$],styles:[""]}),t})();var g=n(8557);let m=(()=>{class t{constructor(){this.navItems=[{cssIcon:"perun-attributes",url:"/admin/attributes",label:"MENU_ITEMS.ADMIN.ATTRIBUTES",style:"admin-btn"},{cssIcon:"perun-user",url:"/admin/users",label:"MENU_ITEMS.ADMIN.USERS",style:"admin-btn"},{cssIcon:"perun-owner-grey",url:"/admin/owners",label:"MENU_ITEMS.ADMIN.OWNERS",style:"admin-btn"},{cssIcon:"perun-service",url:"/admin/services",label:"MENU_ITEMS.ADMIN.SERVICES",style:"admin-btn"},{cssIcon:"perun-preview",url:"/admin/visualizer",label:"MENU_ITEMS.ADMIN.VISUALIZER",style:"admin-btn"},{cssIcon:"perun-external-sources",url:"/admin/ext_sources",label:"MENU_ITEMS.ADMIN.EXT_SOURCES",style:"admin-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-menu-buttons-field",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("items",e.navItems)("size","small"))},directives:[g.L],styles:[""]}),t})();var v=n(4230),y=n(84608),_=n(67033),w=n(88426),b=n(33642),x=n(15980),E=n(67806),T=n(39571);function A(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function S(t,e){1&t&&s._UZ(0,"th",16)}function I(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.friendlyName," ")}}function C(t,e){1&t&&s._UZ(0,"tr",18)}function D(t,e){1&t&&s._UZ(0,"tr",19)}function N(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"div"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,S,1,0,"th",11),s.YNc(10,I,2,1,"td",12),s.BQk(),s.YNc(11,C,1,0,"tr",13),s.YNc(12,D,1,0,"tr",14),s.qZA(),s.TgZ(13,"app-alert",15),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE1")," "),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TEXT_LINE2")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(2),s.hij(" ",s.lcZ(15,10,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.WARNING")," ")}}let k=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.attributesManager=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new _.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=[];for(const e of this.data.attributes)t.push(e.id);this.attributesManager.deleteAttributeDefinitions(t).subscribe(()=>{this.translate.get("DIALOGS.DELETE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-attribute-definition-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","error",1,"mt-3"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,A,1,0,"mat-spinner",1),s.YNc(5,N,16,12,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,T.w,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$],styles:[""]}),t})();var Z=n(14732),M=n(36922),O=n(66283),R=n(80340),L=n(16073),U=n(10901),P=n(4786),F=n(27521),q=n(29236),z=n(71522);function j(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function Y(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function B(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function J(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function G(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function V(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function H(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function Q(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function W(t,e){if(1&t&&(s.TgZ(0,"mat-option",29),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function $(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ERROR_SELECT_SOMETHING")))}function X(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field",9),s.TgZ(2,"label"),s.TgZ(3,"input",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.friendlyName=e}),s.ALo(4,"translate"),s.qZA(),s.qZA(),s.YNc(5,Y,3,3,"mat-error",11),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"mat-form-field",9),s.TgZ(8,"label"),s.TgZ(9,"input",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.displayName=e}),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.YNc(11,B,3,3,"mat-error",11),s.qZA(),s._UZ(12,"br"),s.TgZ(13,"mat-form-field",9),s.TgZ(14,"label"),s.TgZ(15,"textarea",12),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.description=e}),s.ALo(16,"translate"),s._uU(17," "),s.qZA(),s.qZA(),s.YNc(18,J,3,3,"mat-error",11),s.qZA(),s._UZ(19,"br"),s.TgZ(20,"mat-form-field",9),s.TgZ(21,"mat-placeholder"),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().entity=e}),s.YNc(25,G,2,2,"mat-option",14),s.qZA(),s.YNc(26,V,3,3,"mat-error",11),s.qZA(),s._UZ(27,"br"),s.TgZ(28,"mat-form-field",9),s.TgZ(29,"mat-placeholder"),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.TgZ(32,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().definitionType=e}),s.YNc(33,H,2,2,"mat-option",14),s.qZA(),s.YNc(34,Q,3,3,"mat-error",11),s.qZA(),s._UZ(35,"br"),s.TgZ(36,"mat-form-field",9),s.TgZ(37,"mat-placeholder"),s._uU(38),s.ALo(39,"translate"),s.qZA(),s.TgZ(40,"mat-select",13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().valueType=e}),s.YNc(41,W,2,2,"mat-option",14),s.qZA(),s.YNc(42,$,3,3,"mat-error",11),s.qZA(),s._UZ(43,"br"),s.TgZ(44,"div",15),s.TgZ(45,"p"),s._uU(46),s.ALo(47,"translate"),s.qZA(),s.TgZ(48,"p",16),s.NdJ("click",function(){return s.CHM(t),s.oxw().attDef.unique=!1}),s._uU(49,"OFF"),s.qZA(),s.TgZ(50,"mat-slide-toggle",17),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().attDef.unique=e}),s.ALo(51,"translate"),s._uU(52," ON "),s.qZA(),s.qZA(),s.TgZ(53,"div",18),s.TgZ(54,"p",19),s._uU(55),s.ALo(56,"translate"),s.qZA(),s.TgZ(57,"p",20),s._uU(58),s.ALo(59,"translate"),s.qZA(),s.qZA(),s.TgZ(60,"div",21),s.TgZ(61,"p",22),s._uU(62),s.ALo(63,"translate"),s.qZA(),s.TgZ(64,"mat-checkbox",23),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelf=e}),s.qZA(),s.TgZ(65,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelf=e}),s.qZA(),s.qZA(),s.TgZ(66,"div",21),s.TgZ(67,"p",22),s._uU(68),s.ALo(69,"translate"),s.qZA(),s.TgZ(70,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelfPublic=e}),s.qZA(),s.TgZ(71,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelfPublic=e}),s.qZA(),s.qZA(),s.TgZ(72,"div",21),s.TgZ(73,"p",22),s._uU(74),s.ALo(75,"translate"),s.qZA(),s.TgZ(76,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readSelfVo=e}),s.qZA(),s.TgZ(77,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeSelfVo=e}),s.qZA(),s.qZA(),s.TgZ(78,"div",21),s.TgZ(79,"p",22),s._uU(80),s.ALo(81,"translate"),s.qZA(),s.TgZ(82,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readVo=e}),s.qZA(),s.TgZ(83,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeVo=e}),s.qZA(),s.qZA(),s.TgZ(84,"div",21),s.TgZ(85,"p",22),s._uU(86),s.ALo(87,"translate"),s.qZA(),s.TgZ(88,"mat-checkbox",28),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readGroup=e}),s.qZA(),s.TgZ(89,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeGroup=e}),s.qZA(),s.qZA(),s.TgZ(90,"div",21),s.TgZ(91,"p",22),s._uU(92),s.ALo(93,"translate"),s.qZA(),s.TgZ(94,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().readFacility=e}),s.qZA(),s.TgZ(95,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().writeFacility=e}),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,46,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FRIENDLY_NAME")),s.Q6J("ngModel",t.attDef.friendlyName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.friendlyName),s.xp6(4),s.s9C("placeholder",s.lcZ(10,48,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),s.Q6J("ngModel",t.attDef.displayName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.displayName),s.xp6(4),s.s9C("placeholder",s.lcZ(16,50,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DESCRIPTION")),s.Q6J("ngModel",t.attDef.description),s.xp6(3),s.Q6J("ngIf",""===t.attDef.description),s.xp6(4),s.Oqu(s.lcZ(23,52,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.ENTITY")),s.xp6(2),s.Q6J("ngModel",t.entity),s.xp6(1),s.Q6J("ngForOf",t.entities),s.xp6(1),s.Q6J("ngIf",""===t.attDef.entity),s.xp6(4),s.Oqu(s.lcZ(31,54,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.DEFINITION")),s.xp6(2),s.Q6J("ngModel",t.definitionType),s.xp6(1),s.Q6J("ngForOf",t.definitionTypes),s.xp6(1),s.Q6J("ngIf",""===t.definitionType),s.xp6(4),s.Oqu(s.lcZ(39,56,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VALUE_TYPE")),s.xp6(2),s.Q6J("ngModel",t.valueType),s.xp6(1),s.Q6J("ngForOf",t.valueTypes),s.xp6(1),s.Q6J("ngIf",""===t.valueType),s.xp6(4),s.Oqu(s.lcZ(47,58,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.UNIQUE")),s.xp6(4),s.s9C("matTooltip",s.lcZ(51,60,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),s.Q6J("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),s.xp6(5),s.Oqu(s.lcZ(56,62,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),s.xp6(3),s.Oqu(s.lcZ(59,64,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),s.xp6(4),s.Oqu(s.lcZ(63,66,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),s.xp6(2),s.Q6J("ngModel",t.readSelf),s.xp6(1),s.Q6J("ngModel",t.writeSelf),s.xp6(3),s.Oqu(s.lcZ(69,68,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),s.xp6(2),s.Q6J("ngModel",t.readSelfPublic),s.xp6(1),s.Q6J("ngModel",t.writeSelfPublic),s.xp6(3),s.Oqu(s.lcZ(75,70,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),s.xp6(2),s.Q6J("ngModel",t.readSelfVo),s.xp6(1),s.Q6J("ngModel",t.writeSelfVo),s.xp6(3),s.Oqu(s.lcZ(81,72,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),s.xp6(2),s.Q6J("ngModel",t.readVo),s.xp6(1),s.Q6J("ngModel",t.writeVo),s.xp6(3),s.Oqu(s.lcZ(87,74,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),s.xp6(2),s.Q6J("ngModel",t.readGroup),s.xp6(1),s.Q6J("ngModel",t.writeGroup),s.xp6(3),s.Oqu(s.lcZ(93,76,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),s.xp6(2),s.Q6J("ngModel",t.readFacility),s.xp6(1),s.Q6J("ngModel",t.writeFacility)}}let K=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.translate=n,this.attributesManager=r,this.loading=!1,this.entities=["facility","resource","group","group_resource","host","member","member_group","member_resource","user","user_ext_source","user_facility","vo","entityless"],this.definitionTypes=["def","opt","virt","core"],this.definitionType="",this.valueTypes=["String","Integer","Boolean","Array","LinkedHashMap"],this.valueType="",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1}ngOnInit(){this.attDef={beanName:"",description:"",displayName:"",entity:"",friendlyName:"",id:void 0,namespace:"",type:"",unique:!1,writable:!1}}onSubmit(){this.loading=!0,this.attDef.namespace="urn:perun:"+this.entity+":attribute-def:"+this.definitionType,this.readValueType(),this.attributesManager.createAttributeDefinition({attribute:this.attDef}).subscribe(t=>{this.attDef=t,this.attributesManager.setAttributeRights({rights:this.readRights()}).subscribe(()=>{this.translate.get("DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}readRights(){const t=[],e={};e.attributeId=this.attDef.id,e.role=Z.u.SELF,e.rights=[],this.readSelf&&e.rights.push("READ"),this.readSelfPublic&&e.rights.push("READ_PUBLIC"),this.readSelfVo&&e.rights.push("READ_VO"),this.writeSelf&&e.rights.push("WRITE"),this.writeSelfPublic&&e.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&e.rights.push("WRITE_VO"),t.push(e);const n={};n.attributeId=this.attDef.id,n.role=Z.u.VOADMIN,n.rights=[],this.readVo&&n.rights.push(b.Us.READ),this.writeVo&&n.rights.push(b.Us.WRITE),t.push(n);const r={};r.attributeId=this.attDef.id,r.role=Z.u.GROUPADMIN,r.rights=[],this.readGroup&&r.rights.push(b.Us.READ),this.writeGroup&&r.rights.push(b.Us.WRITE),t.push(r);const i={};return i.attributeId=this.attDef.id,i.role=Z.u.FACILITYADMIN,i.rights=[],this.readFacility&&i.rights.push(b.Us.READ),this.writeFacility&&i.rights.push(b.Us.WRITE),t.push(i),t}readValueType(){switch(this.valueType){case"String":this.attDef.type="java.lang.String";break;case"Integer":this.attDef.type="java.lang.Integer";break;case"Boolean":this.attDef.type="java.lang.Boolean";break;case"Array":this.attDef.type="java.util.ArrayList";break;case"LinkedHashMap":this.attDef.type="java.util.LinkedHashMap"}}disableConfirmButton(){return""===this.attDef.friendlyName||""===this.attDef.displayName||""===this.attDef.description||""===this.entity||""===this.definitionType||""===this.valueType||this.loading}disableUniqueToggle(){return("virt"===this.definitionType||"entityless"===this.entity)&&(this.attDef.unique=!1,!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-create-attribute-definition-dialog"]],decls:14,vars:16,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"form-field-width"],["matInput","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],[4,"ngIf"],["matInput","","cdkTextareaAutosize","","required","",1,"form-field-width",3,"ngModel","placeholder","ngModelChange"],["required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,j,1,0,"mat-spinner",2),s.YNc(5,X,96,78,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.onSubmit()}),s.ALo(11,"translate"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,8,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(11,12,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),s.Q6J("disabled",e.disableConfirmButton())("matTooltipDisabled",!e.disableConfirmButton()),s.xp6(2),s.hij(" ",s.lcZ(13,14,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.CONFIRM")," "))},directives:[y.uh,i.O5,y.H8,x.lW,M.gM,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On,U.IC,O.UY,P.gD,i.sg,F.Rr,q.oG,O.TO,z.ey],pipes:[f.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.form-field-width[_ngcontent-%COMP%]{width:450px}.pointer[_ngcontent-%COMP%]{cursor:pointer}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"]}),t})();var tt=n(84140),et=n(60611);function nt(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function rt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"app-alert",9),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",10),s.TgZ(5,"input",11),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().value=e}),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.IMPORT_ATTRIBUTE.INFO")," "),s.xp6(3),s.Q6J("ngModel",t.value)("placeholder",s.lcZ(6,5,"DIALOGS.IMPORT_ATTRIBUTE.HINT"))}}let it=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.translate=n,this.attributesManager=r,this.value="",this.loading=!1}create(){try{this.loading=!0,this.attributeData=JSON.parse(this.value),this.attributesManager.createAttributeDefinition({attribute:this.attributeData.attributeDefinition}).subscribe(t=>{for(let e=0;e{this.notificator.showSuccess(this.translate.instant("DIALOGS.IMPORT_ATTRIBUTE_DEFINITION.SUCCESS")),this.dialogRef.close(!0)})},()=>this.loading=!1)}catch(t){console.log(t),this.notificator.showError(t),this.loading=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-attribute-import-dialog"]],decls:13,vars:12,consts:[[1,"admin-theme"],["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["alert_type","info"],[1,"w-100"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,nt,1,0,"mat-spinner",2),s.YNc(5,rt,7,7,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.create()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.IMPORT_ATTRIBUTE.TITLE")," "),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,8,"DIALOGS.IMPORT_ATTRIBUTE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===e.value.trim().length||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"DIALOGS.IMPORT_ATTRIBUTE.CREATE")," "))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,T.w,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On],pipes:[f.X$],styles:[""]}),t})();var ot=n(59403),at=n(19139),st=n(58623),ut=n(17),ct=n(81391),lt=n(91721),ht=n(10896),ft=n(82819),dt=n(51556);function pt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",22),s.TgZ(1,"mat-checkbox",23),s.NdJ("change",function(e){s.CHM(t);const n=s.oxw(2);return e?n.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function gt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(e){const n=s.CHM(t).$implicit,r=s.oxw(2);return e?r.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function mt(t,e){1&t&&(s.TgZ(0,"th",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.KEY")," "))}function vt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",27),s.TgZ(1,"label"),s.TgZ(2,"input",28),s.NdJ("ngModelChange",function(){const e=s.CHM(t).$implicit;return s.oxw(2).onValueChange(e)})("ngModelChange",function(t){return e.$implicit[0]=t}),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(2),s.Q6J("ngModel",t[0])}}function yt(t,e){1&t&&(s.TgZ(0,"th",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.VALUE")," "))}function _t(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",27),s.TgZ(1,"perun-web-apps-attribute-value",29),s.NdJ("sendEventToParent2",function(){const e=s.CHM(t).$implicit;return s.oxw(2).onValueChange(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Q6J("attribute",t[1])}}function wt(t,e){1&t&&s._UZ(0,"tr",30)}function bt(t,e){1&t&&s._UZ(0,"tr",31)}function xt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",10),s.TgZ(1,"perun-web-apps-table-wrapper",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw().page.emit(e)}),s.TgZ(2,"table",12),s.ynx(3,13),s.YNc(4,pt,2,3,"th",14),s.YNc(5,gt,2,2,"td",15),s.BQk(),s.ynx(6,16),s.YNc(7,mt,3,3,"th",17),s.YNc(8,vt,3,1,"td",18),s.BQk(),s.ynx(9,19),s.YNc(10,yt,3,3,"th",17),s.YNc(11,_t,2,1,"td",18),s.BQk(),s.YNc(12,wt,1,0,"tr",20),s.YNc(13,bt,1,0,"tr",21),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(10),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function Et(t,e){1&t&&s._UZ(0,"mat-spinner",32)}function Tt(t,e){1&t&&(s.TgZ(0,"app-alert",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.NO_KEYS_WARNING")," "))}let At=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.attributesManager=i,this.pageSize=10,this.page=new s.vpe,this.switchView=new s.vpe,this.records=[],this.displayedColumns=["select","key","value"],this.dataSource=new _.by,this.selection=new v.Ov(!0,[]),this.isAddButtonDisabled=!1,this.pageSizeOptions=tt.f7}set matSort(t){this.sort=t}ngOnChanges(){this.ngOnInit()}ngOnInit(){this.loading=!0,this.attDef=this.data.attDef,this.attributesManager.getEntitylessKeys(this.attDef.id).subscribe(t=>{this.attributesManager.getEntitylessAttributesByName(`${this.attDef.namespace}:${this.attDef.friendlyName}`).subscribe(e=>{let n=0;this.records=[];for(const r of t)this.records.push([r,e[n]]),n++;this.dataSource=new _.by(this.records),this.setDataSource(),this.loading=!1})})}setDataSource(){this.child&&this.child.paginator&&this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}onSave(){this.updateMapAttributes();for(const t of this.selection.selected)this.attributesManager.setEntitylessAttribute({key:t[0],attribute:t[1]}).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.ngOnInit()})});this.selection.clear(),this.isAddButtonDisabled=!1}onRemove(){for(const t of this.selection.selected)this.attributesManager.removeEntitylessAttribute(t[0],t[1].id).subscribe(()=>{this.translate.get("SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.ngOnInit()})});this.ngOnInit(),this.selection.clear(),this.isAddButtonDisabled=!1}onAdd(){const t=["",this.attDef];t[1].value=void 0,this.records.unshift(t),this.dataSource.data=this.records,this.setDataSource(),this.selection.clear(),this.selection.select(t),this.isAddButtonDisabled=!0}onCancel(){this.dialogRef.close(!1)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t))}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t[1].id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onValueChange(t){this.selection.select(t)}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}ngAfterViewInit(){this.children.changes.subscribe(t=>{this.child=t.first,this.dataSource.paginator=this.child.paginator})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-entityless-attribute-keys-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(st.YE,7),s.Gf(tt.l9,5),s.Gf(ht.Mw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.children=t),s.iGM(t=s.CRH())&&(e.items=t)}},inputs:{attDef:"attDef",pageSize:"pageSize"},outputs:{page:"page",switchView:"switchView"},features:[s.TTD],decls:19,vars:19,consts:[["mat-dialog-title",""],["mat-dialog-actions","",1,"mt-3"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltip","save or remove new attribute first","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-dialog-content","",1,"mt-3",3,"hidden"],["class","card mt-3",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info","class","mt-3",4,"ngIf"],[1,"card","mt-3"],[3,"dataLength","hideExport","pageSizeOptions","pageSize","page"],["mat-table","","matSort","","matSortActive","key","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","key"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matInput","","placeholder","New key",1,"mt-2",3,"ngModel","ngModelChange"],[3,"attribute","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[1,"ml-auto","mr-auto"],["alert_type","info",1,"mt-3"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"button",2),s.NdJ("click",function(){return e.switchView.emit()}),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",3),s.NdJ("click",function(){return e.onSave()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",4),s.NdJ("click",function(){return e.onAdd()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onRemove()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.TgZ(15,"div",6),s.YNc(16,xt,14,7,"div",7),s.YNc(17,Et,1,0,"mat-spinner",8),s.YNc(18,Tt,3,3,"app-alert",9),s.qZA()),2&t&&(s.xp6(1),s.Oqu(e.attDef.namespace+":"+e.attDef.friendlyName),s.xp6(3),s.hij(" ",s.lcZ(5,11,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(8,13,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.SAVE")," "),s.xp6(2),s.Q6J("disabled",e.isAddButtonDisabled)("matTooltipDisabled",!e.isAddButtonDisabled),s.xp6(1),s.hij(" ",s.lcZ(11,15,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.ADD")," "),s.xp6(3),s.hij(" ",s.lcZ(14,17,"SHARED.COMPONENTS.ENTITYLESS_ATTRIBUTES_LIST.REMOVE")," "),s.xp6(2),s.Q6J("hidden",e.loading),s.xp6(1),s.Q6J("ngIf",e.records&&e.records.length),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",0===e.records.length))},directives:[y.uh,y.H8,x.lW,M.gM,y.xY,i.O5,ft.l,_.BZ,st.YE,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,q.oG,_.ev,st.nU,R.Nt,L.Fj,L.JJ,L.On,dt.M,_.XQ,_.Gk,E.$g,T.w],pipes:[f.X$],styles:[".mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}"]}),t})();const St=["copiedTooltip"];function It(t,e){1&t&&s._UZ(0,"mat-spinner",12)}function Ct(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}function Dt(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.ERROR_FIELD_EMPTY")))}const Nt=function(){return["id","name","enabled","script"]};function kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"mat-form-field",3),s.TgZ(2,"label"),s.TgZ(3,"input",14),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.displayName=e}),s.ALo(4,"translate"),s.qZA(),s.qZA(),s.YNc(5,Ct,3,3,"mat-error",2),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"mat-form-field",3),s.TgZ(8,"label"),s.TgZ(9,"textarea",15),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.description=e}),s.ALo(10,"translate"),s._uU(11," "),s.qZA(),s.qZA(),s.YNc(12,Dt,3,3,"mat-error",2),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"div",16),s.TgZ(15,"p"),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"p",17),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).attDef.unique=!1}),s._uU(19,"OFF"),s.qZA(),s.TgZ(20,"mat-slide-toggle",18),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).attDef.unique=e}),s.ALo(21,"translate"),s._uU(22," ON "),s.qZA(),s.qZA(),s.TgZ(23,"div",19),s.TgZ(24,"p",20),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.TgZ(27,"p",21),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.TgZ(30,"div",22),s.TgZ(31,"p",23),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"mat-checkbox",24),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelf=e}),s.qZA(),s.TgZ(35,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelf=e}),s.qZA(),s.qZA(),s.TgZ(36,"div",22),s.TgZ(37,"p",23),s._uU(38),s.ALo(39,"translate"),s.qZA(),s.TgZ(40,"mat-checkbox",26),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelfPublic=e}),s.qZA(),s.TgZ(41,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelfPublic=e}),s.qZA(),s.qZA(),s.TgZ(42,"div",22),s.TgZ(43,"p",23),s._uU(44),s.ALo(45,"translate"),s.qZA(),s.TgZ(46,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readSelfVo=e}),s.qZA(),s.TgZ(47,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeSelfVo=e}),s.qZA(),s.qZA(),s.TgZ(48,"div",22),s.TgZ(49,"p",23),s._uU(50),s.ALo(51,"translate"),s.qZA(),s.TgZ(52,"mat-checkbox",28),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readVo=e}),s.qZA(),s.TgZ(53,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeVo=e}),s.qZA(),s.qZA(),s.TgZ(54,"div",22),s.TgZ(55,"p",23),s._uU(56),s.ALo(57,"translate"),s.qZA(),s.TgZ(58,"mat-checkbox",29),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readGroup=e}),s.qZA(),s.TgZ(59,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeGroup=e}),s.qZA(),s.qZA(),s.TgZ(60,"div",22),s.TgZ(61,"p",23),s._uU(62),s.ALo(63,"translate"),s.qZA(),s.TgZ(64,"mat-checkbox",27),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).readFacility=e}),s.qZA(),s.TgZ(65,"mat-checkbox",25),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).writeFacility=e}),s.qZA(),s.qZA(),s.TgZ(66,"div",30),s.TgZ(67,"p"),s._uU(68),s.ALo(69,"translate"),s.qZA(),s._UZ(70,"app-services-list",31),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(3),s.s9C("placeholder",s.lcZ(4,35,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DISPLAY_NAME")),s.Q6J("ngModel",t.attDef.displayName),s.xp6(2),s.Q6J("ngIf",""===t.attDef.displayName),s.xp6(4),s.s9C("placeholder",s.lcZ(10,37,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.DESCRIPTION")),s.Q6J("ngModel",t.attDef.description),s.xp6(3),s.Q6J("ngIf",""===t.attDef.description),s.xp6(4),s.Oqu(s.lcZ(17,39,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.UNIQUE")),s.xp6(4),s.s9C("matTooltip",s.lcZ(21,41,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_UNIQUE")),s.Q6J("matTooltipDisabled",!t.disableUniqueToggle())("disabled",t.disableUniqueToggle())("ngModel",t.attDef.unique),s.xp6(5),s.Oqu(s.lcZ(26,43,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.READ")),s.xp6(3),s.Oqu(s.lcZ(29,45,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.WRITE")),s.xp6(4),s.Oqu(s.lcZ(33,47,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF")),s.xp6(2),s.Q6J("ngModel",t.readSelf),s.xp6(1),s.Q6J("ngModel",t.writeSelf),s.xp6(3),s.Oqu(s.lcZ(39,49,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_PUBLIC")),s.xp6(2),s.Q6J("ngModel",t.readSelfPublic),s.xp6(1),s.Q6J("ngModel",t.writeSelfPublic),s.xp6(3),s.Oqu(s.lcZ(45,51,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.SELF_VO")),s.xp6(2),s.Q6J("ngModel",t.readSelfVo),s.xp6(1),s.Q6J("ngModel",t.writeSelfVo),s.xp6(3),s.Oqu(s.lcZ(51,53,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.VO")),s.xp6(2),s.Q6J("ngModel",t.readVo),s.xp6(1),s.Q6J("ngModel",t.writeVo),s.xp6(3),s.Oqu(s.lcZ(57,55,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.GROUP")),s.xp6(2),s.Q6J("ngModel",t.readGroup),s.xp6(1),s.Q6J("ngModel",t.writeGroup),s.xp6(3),s.Oqu(s.lcZ(63,57,"DIALOGS.CREATE_ATTRIBUTE_DEFINITION.FACILITY")),s.xp6(2),s.Q6J("ngModel",t.readFacility),s.xp6(1),s.Q6J("ngModel",t.writeFacility),s.xp6(3),s.Oqu(s.lcZ(69,59,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SERVICES")),s.xp6(2),s.Q6J("services",t.services)("displayedColumns",s.DdM(61,Nt))("disableRouting",!0)}}function Zt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",32),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).switchShowKeys()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SHOW_KEYS")," "))}function Mt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",3),s.TgZ(2,"h1",4),s._uU(3),s.qZA(),s.YNc(4,It,1,0,"mat-spinner",5),s.YNc(5,kt,71,62,"div",6),s.TgZ(6,"div",7),s.YNc(7,Zt,3,3,"button",8),s.TgZ(8,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCopy()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s.ALo(15,"translate"),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Oqu(t.attDef.namespace+":"+t.attDef.friendlyName),s.xp6(1),s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading),s.xp6(2),s.Q6J("ngIf","entityless"===t.attDef.entity),s.xp6(2),s.hij(" ",s.lcZ(10,10,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FOR_IMPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(13,12,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(15,14,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.TOOLTIP_CONFIRM")),s.Q6J("disabled",t.disableConfirmButton()||t.loading)("matTooltipDisabled",!t.disableConfirmButton()),s.xp6(2),s.hij(" ",s.lcZ(17,16,"DIALOGS.EDIT_ATTRIBUTE_DEFINITION.CONFIRM")," ")}}function Ot(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"app-entityless-attribute-keys-list",33),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("switchView",function(){return s.CHM(t),s.oxw().switchShowKeys()}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("pageSize",t.pageSize)("attDef",t.attDef)}}let Rt=(()=>{class t{constructor(t,e,n,r,i,o,a,s,u){this.dialog=t,this.dialogRef=e,this.data=n,this.notificator=r,this.translate=i,this.clipboard=o,this.attributesManager=a,this.tableConfigService=s,this.serviceService=u,this.showKeys=!1,this.activatedComponent="Edit",this.readSelf=!1,this.readSelfPublic=!1,this.readSelfVo=!1,this.readVo=!1,this.readGroup=!1,this.readFacility=!1,this.writeSelf=!1,this.writeSelfPublic=!1,this.writeSelfVo=!1,this.writeVo=!1,this.writeGroup=!1,this.writeFacility=!1,this.tableId=et.Wv,this.loading=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.dialogRef.addPanelClass("mat-dialog-height-transition"),this.attDef=this.data.attDef,this.serviceService.getServicesByAttributeDefinition(this.attDef.id).subscribe(t=>{this.services=t,this.attributesManager.getAttributeRights(this.attDef.id).subscribe(t=>{this.fromRightsToCheckboxes(t),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}disableConfirmButton(){return""===this.attDef.displayName||""===this.attDef.description}disableUniqueToggle(){return this.attDef.namespace.includes("virt")||this.attDef.namespace.includes("core")||"entityless"===this.attDef.entity}onSubmit(){this.loading=!0,this.attributesManager.updateAttributeDefinition({attributeDefinition:this.attDef}).subscribe(t=>{this.attDef=t,this.attributesManager.setAttributeRights({rights:this.fromCheckboxesToRights()}).subscribe(()=>{this.translate.get("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}fromCheckboxesToRights(){const t=[],e={};e.attributeId=this.attDef.id,e.role=Z.u.SELF,e.rights=[],this.readSelf&&e.rights.push("READ"),this.readSelfPublic&&e.rights.push("READ_PUBLIC"),this.readSelfVo&&e.rights.push("READ_VO"),this.writeSelf&&e.rights.push("WRITE"),this.writeSelfPublic&&e.rights.push("WRITE_PUBLIC"),this.writeSelfVo&&e.rights.push("WRITE_VO"),t.push(e);const n={};n.attributeId=this.attDef.id,n.role=Z.u.VOADMIN,n.rights=[],this.readVo&&n.rights.push("READ"),this.writeVo&&n.rights.push("WRITE"),t.push(n);const r={};r.attributeId=this.attDef.id,r.role=Z.u.GROUPADMIN,r.rights=[],this.readGroup&&r.rights.push(b.Us.READ),this.writeGroup&&r.rights.push("WRITE"),t.push(r);const i={};return i.attributeId=this.attDef.id,i.role=Z.u.FACILITYADMIN,i.rights=[],this.readFacility&&i.rights.push("READ"),this.writeFacility&&i.rights.push("WRITE"),t.push(i),t}fromRightsToCheckboxes(t){for(const e of t)switch(e.role){case Z.u.SELF:e.rights.includes("READ")&&(this.readSelf=!0),e.rights.includes("READ_PUBLIC")&&(this.readSelfPublic=!0),e.rights.includes("READ_VO")&&(this.readSelfVo=!0),e.rights.includes("WRITE")&&(this.writeSelf=!0),e.rights.includes("WRITE_PUBLIC")&&(this.writeSelfPublic=!0),e.rights.includes("WRITE_VO")&&(this.writeSelfVo=!0);break;case Z.u.GROUPADMIN:e.rights.includes("READ")&&(this.readGroup=!0),e.rights.includes("WRITE")&&(this.writeGroup=!0);break;case Z.u.FACILITYADMIN:e.rights.includes("READ")&&(this.readFacility=!0),e.rights.includes("WRITE")&&(this.writeFacility=!0);break;case Z.u.VOADMIN:e.rights.includes("READ")&&(this.readVo=!0),e.rights.includes("WRITE")&&(this.writeVo=!0)}}switchShowKeys(){this.showKeys=!this.showKeys,this.showKeys?(this.dialogRef.updateSize("800px"),this.activatedComponent="Entityless"):(this.dialogRef.updateSize("700px"),this.activatedComponent="Edit")}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCopy(){const t={attributeDefinition:this.attDef,attributeRights:this.fromCheckboxesToRights()};this.clipboard.copy(JSON.stringify(t))?this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPIED")):this.notificator.showError(this.translate.instant("DIALOGS.EDIT_ATTRIBUTE_DEFINITION.COPY_FAILED"))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(ct.TU),s.Y36(b.H8),s.Y36(et.dB),s.Y36(b.KK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-edit-attribute-definition-dialog"]],viewQuery:function(t,e){if(1&t&&s.Gf(St,5),2&t){let t;s.iGM(t=s.CRH())&&(e.copiedToolTip=t.first)}},decls:4,vars:2,consts:[[1,"admin-theme"],[1,"parent"],[4,"ngIf"],[1,"width-650"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"mt-3"],["mat-flat-button","","class","ml-0",3,"click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltip","matTooltipDisabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["matInput","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],["matInput","","cdkTextareaAutosize","","required","",1,"width-650",3,"ngModel","placeholder","ngModelChange"],[1,"d-flex","flex-row","mt-3"],[1,"pointer","ml-4",3,"click"],["color","accent","matTooltipPosition","above",1,"ml-2",3,"matTooltip","matTooltipDisabled","disabled","ngModel","ngModelChange"],[1,"d-flex","flex-row","mt-2"],[1,"ml-5","pl-4"],[1,"ml-4"],[1,"d-flex","flex-row"],[1,""],[1,"ml-5","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5",3,"ngModel","ngModelChange"],[1,"ml-3",3,"ngModel","ngModelChange"],[1,"ml-4","pl-3",3,"ngModel","ngModelChange"],[1,"ml-5","pl-4",3,"ngModel","ngModelChange"],[1,"ml-4","pl-4",3,"ngModel","ngModelChange"],[1,"mt-4"],[3,"services","displayedColumns","disableRouting"],["mat-flat-button","",1,"ml-0",3,"click"],[3,"pageSize","attDef","page","switchView"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,Mt,18,18,"div",2),s.YNc(3,Ot,2,2,"div",2),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.showKeys),s.xp6(1),s.Q6J("ngIf",e.showKeys))},directives:[i.O5,y.uh,y.H8,x.lW,M.gM,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.On,U.IC,F.Rr,q.oG,lt.Q,O.TO,At],pipes:[f.X$],styles:[".unique-toggle-label[_ngcontent-%COMP%]{font-size:1.125rem}.width-650[_ngcontent-%COMP%]{width:650px!important}.pointer[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]{overflow:hidden}.parent[_ngcontent-%COMP%]{display:flex}.parent[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1}textarea[cdktextareaautosize].mat-input-element[_ngcontent-%COMP%]{overflow:hidden}"],data:{animation:[ut.SG,ut.GH,ut.Ls]}}),t})(),Lt=(()=>{class t{transform(t){if(null===t)return null;const e=t;return e.substring(e.lastIndexOf(":")+1,e.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"nameSpaceToDef",type:t,pure:!0}),t})(),Ut=(()=>{class t{transform(t){if(null===t)return null;const e=t;return e.substring(e.lastIndexOf(".")+1,e.length)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"attributeTypeClean",type:t,pure:!0}),t})();function Pt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){s.CHM(t);const n=s.oxw();return e?n.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ft(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",20),s.TgZ(1,"mat-checkbox",21),s.NdJ("change",function(e){const n=s.CHM(t).$implicit,r=s.oxw();return e?r.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function qt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ID")))}function zt(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function jt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_FRIENDLY_NAME")))}function Yt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.friendlyName)}}function Bt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_ENTITY")))}function Jt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.entity)}}function Gt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_DEF")))}function Vt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.ALo(2,"nameSpaceToDef"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.namespace))}}function Ht(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_TYPE")))}function Qt(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.ALo(2,"attributeTypeClean"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.type))}}function Wt(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"ADMIN.ATTRIBUTES.TABLE_ATTR_UNIQUE")))}function $t(t,e){if(1&t&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.unique)}}function Xt(t,e){1&t&&s._UZ(0,"tr",24)}function Kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"tr",25),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().onRowClick(e)}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("cursor-pointer",!t.disableRouting)}}function te(t,e){1&t&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.NO_ATTRIBUTES"),"\n"))}function ee(t,e){1&t&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let ne=(()=>{class t{constructor(t,e,n){this.dialog=t,this.authResolver=e,this.tableCheckbox=n,this.selection=new v.Ov(!0,[]),this.displayedColumns=["select","id","friendlyName","entity","namespace","type","unique"],this.pageSize=10,this.disableRouting=!1,this.refreshEvent=new s.vpe,this.page=new s.vpe,this.pageSizeOptions=tt.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new _.by(this.definitions),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"friendlyName":return t.friendlyName;case"entity":return t.entity;case"namespace":if(t.namespace){const e=t.namespace;return e.substring(e.lastIndexOf(":")+1,e.length)}return"";case"type":if(t.type){const e=t.type;return e.substring(e.lastIndexOf(".")+1,e.length)}return"";case"unique":return t.unique?"true":"false";default:return""}}exportData(t){(0,tt.O6)((0,tt.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filter=this.filterValue,this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,tt.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,tt.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}onRowClick(t){if(!this.disableRouting){const e=(0,tt.kZ)();e.width="700px",e.data={attDef:t},this.dialog.open(Rt,e).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refreshEvent.emit())})}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(w.x4),s.Y36(w.UA))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-attr-def-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(st.YE,7),s.Gf(tt.l9,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{definitions:"definitions",selection:"selection",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{refreshEvent:"refreshEvent",page:"page"},features:[s.TTD],decls:29,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","entity"],["matColumnDef","namespace"],["matColumnDef","type"],["matColumnDef","unique"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"div",2),s.TgZ(3,"table",3),s.ynx(4,4),s.YNc(5,Pt,2,3,"th",5),s.YNc(6,Ft,2,2,"td",6),s.BQk(),s.ynx(7,7),s.YNc(8,qt,3,3,"th",8),s.YNc(9,zt,2,1,"td",6),s.BQk(),s.ynx(10,9),s.YNc(11,jt,3,3,"th",8),s.YNc(12,Yt,2,1,"td",10),s.BQk(),s.ynx(13,11),s.YNc(14,Bt,3,3,"th",8),s.YNc(15,Jt,2,1,"td",10),s.BQk(),s.ynx(16,12),s.YNc(17,Gt,3,3,"th",8),s.YNc(18,Vt,3,3,"td",10),s.BQk(),s.ynx(19,13),s.YNc(20,Ht,3,3,"th",8),s.YNc(21,Qt,3,3,"td",10),s.BQk(),s.ynx(22,14),s.YNc(23,Wt,3,3,"th",8),s.YNc(24,$t,2,1,"td",10),s.BQk(),s.YNc(25,Xt,1,0,"tr",15),s.YNc(26,Kt,1,2,"tr",16),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.YNc(27,te,3,3,"app-alert",17),s.YNc(28,ee,3,3,"app-alert",17)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.definitions.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(2),s.Q6J("dataSource",e.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.definitions.length),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.definitions.length))},directives:[ft.l,_.BZ,st.YE,_.w1,_.fO,_.Dz,_.as,_.nj,i.O5,_.ge,q.oG,_.ev,st.nU,_.XQ,_.Gk,T.w],pipes:[f.X$,Lt,Ut],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function re(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCreate()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.CREATE")," "))}function ie(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onImport()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.ATTRIBUTES.IMPORT")," "))}function oe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onDelete()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.ATTRIBUTES.DELETE")," ")}}function ae(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function se(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-attr-def-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("refreshEvent",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selected)("filterValue",t.filterValue)("disableRouting",!t.authResolver.isPerunAdmin())}}let ue=(()=>{class t{constructor(t,e,n,r){this.dialog=t,this.attributesManager=e,this.tableConfigService=n,this.authResolver=r,this.attrDefinitions=[],this.selected=new v.Ov(!0,[]),this.filterValue="",this.tableId=et.uM}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}onCreate(){const t=(0,tt.kZ)();t.width="500px",this.dialog.open(K,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,tt.kZ)();t.width="450px",t.data={attributes:this.selected.selected,theme:"admin-theme"},this.dialog.open(k,t).afterClosed().subscribe(t=>{t&&(this.refreshTable(),this.selected.clear())})}refreshTable(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attrDefinitions=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onImport(){const t=(0,tt.kZ)();t.width="700px",this.dialog.open(it,t).afterClosed().subscribe(t=>{!0===t&&this.refreshTable()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(b.H8),s.Y36(et.dB),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:11,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,re,3,3,"button",2),s.YNc(6,ie,3,3,"button",2),s.YNc(7,oe,3,4,"button",3),s.TgZ(8,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(9,ae,1,0,"mat-spinner",5),s.YNc(10,se,1,5,"app-attr-def-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"ADMIN.ATTRIBUTES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.ATTRIBUTES.SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,ne],pipes:[f.X$],styles:[""]}),t})(),ce=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-visualizer"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"app-animated-router-outlet")},directives:[h.A],styles:[""]}),t})();var le=n(73180);let he=(()=>{class t{constructor(t){this.attributesManager=t}ngOnInit(){this.attributesManager.getAttributeModulesDependenciesGraphText("DOT").subscribe(t=>{const e=t.graph.replace("\\t","").replace("\\n","").replace("\\","");(0,le.graphviz)("#dependenciesGraph",{zoom:!1}).renderDot(e)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.H8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-visualizer-attr-modules"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:4,vars:3,consts:[[1,"page-subtitle"],["id","dependenciesGraph",1,"card"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s._UZ(3,"div",1)),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.VISUALIZER.ATTR_DEPENDENCIES.TITLE"),"\n"))},pipes:[f.X$],styles:["#dependenciesGraph[_ngcontent-%COMP%]{overflow-y:scroll}"]}),t})(),fe=(()=>{class t{constructor(){this.items=[{cssIcon:"perun-module-dependencies",url:"attrDependencies",label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",style:"admin-btn"},{cssIcon:"perun-user-destination-relationship",url:"userDestinationRelationship",label:"MENU_ITEMS.VISUALIZER.USER_DESTINATION",style:"admin-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-visualizer-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-menu-buttons-field",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("items",e.items)("size","small"))},directives:[g.L],styles:[""]}),t})();var de=n(47701),pe=n(98720),ge=n(66599),me=n(44689),ve=n(70663),ye=n(40084),_e=n(54810);function we(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_USER"))}function be(t,e){1&t&&s._UZ(0,"mat-spinner",17),2&t&&s.Q6J("diameter",20)("strokeWidth",2)}function xe(t,e){if(1&t&&(s.TgZ(0,"mat-option",18),s.TgZ(1,"span",19),s._uU(2),s.qZA(),s._uU(3),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t.firstName+" "+t.lastName),s.xp6(2),s.hij("#",t.id,""),s.xp6(1),s.AsE(" ",t.firstName," ",t.lastName," ")}}function Ee(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_DESTINATION"))}function Te(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"ADMIN.VISUALIZER.USER_DESTINATION.SELECT_SERVICE"))}function Ae(t,e){if(1&t&&(s.TgZ(0,"mat-radio-button",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}let Se=(()=>{class t{constructor(t,e,n,r,i,o){this.usersService=t,this.translate=e,this.facilityManager=n,this.serviceService=r,this.router=i,this.notificator=o,this.searchField=new L.NI,this.chosenService="",this.availableServices=[],this.loading=!1,this.destination=""}ngOnInit(){this.searchField.setValue(""),this.users=this.searchField.valueChanges.pipe((0,de.b)(400),(0,pe.x)(),(0,ge.b)(()=>this.loading=!0),(0,me.w)(t=>this.usersService.findUsers(t)),(0,ge.b)(()=>this.loading=!1)),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SELECT_NO_SERVICE").subscribe(t=>{this.noServiceText=t,this.availableServices.push(this.noServiceText)})}validateName(t){""!==this.searchField.value?this.usersService.findUsers(this.searchField.value).subscribe(e=>{for(const n of e){if((n.firstName+" "+n.lastName).toLowerCase()===this.searchField.value.toLowerCase()){this.selectedUser=n,t.selected.completed=!0,t.next();break}this.selectedUser=null}this.selectedUser||this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_NAME").subscribe(t=>{this.notificator.showError(t)})}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_NAME").subscribe(t=>{this.notificator.showError(t)})}validateDestination(t){""!==this.destination?(this.availableServices=[],this.availableServices.push(this.noServiceText),this.chosenService="",this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(e=>{if(0!==e.length){t.selected.completed=!0,t.next();for(const t of e)this.serviceService.getAllRichDestinationsForFacility(t.id).subscribe(t=>{for(const e of t)e.destination===this.destination&&-1===this.availableServices.indexOf(e.service.name)&&this.availableServices.push(e.service.name)})}else this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_WRONG_DESTINATION").subscribe(t=>{this.notificator.showError(t)})})):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NO_DESTINATION").subscribe(t=>{this.notificator.showError(t)})}getGraph(){""!==this.chosenService?this.router.navigate(["admin/visualizer/userDestinationRelationship/graph"],this.chosenService===this.noServiceText?{queryParams:{user:this.selectedUser.id,destination:this.destination,service:"noService"}}:{queryParams:{user:this.selectedUser.id,destination:this.destination,service:this.chosenService}}):this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.ERROR_NOT_CHOSEN_SERVICE").subscribe(t=>{this.notificator.showError(t)})}notCompleted(t){t.selected.completed=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(f.sK),s.Y36(b.IQ),s.Y36(b.KK),s.Y36(o.F0),s.Y36(w.V6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-destination-relationship"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:46,vars:36,consts:[[1,"p-3","card","settings-card","col-12","col-xl-5"],[1,"page-subtitle"],["linear",""],["stepper",""],["completed","false"],["matStepLabel",""],[1,"w-100"],["matInput","","type","text",3,"placeholder","formControl","matAutocomplete","ngModelChange","keydown.enter"],["matSuffix","",3,"diameter","strokeWidth",4,"ngIf"],["align","start"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mt-2",3,"click"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange","keydown.enter"],["mat-stroked-button","","matStepperPrevious","",1,"mt-2"],[1,"mb-2",3,"ngModel","ngModelChange"],["class","flex-column d-flex","color","primary",3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"diameter","strokeWidth"],[3,"value"],[1,"text-muted"],["color","primary",1,"flex-column","d-flex",3,"value"]],template:function(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-vertical-stepper",2,3),s.TgZ(6,"mat-step",4),s.YNc(7,we,2,3,"ng-template",5),s.TgZ(8,"mat-form-field",6),s.TgZ(9,"input",7),s.NdJ("ngModelChange",function(){s.CHM(t);const n=s.MAs(5);return e.notCompleted(n)})("keydown.enter",function(){s.CHM(t);const n=s.MAs(5);return e.validateName(n)}),s.ALo(10,"translate"),s.qZA(),s.YNc(11,be,1,2,"mat-spinner",8),s.TgZ(12,"mat-hint",9),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-autocomplete",null,10),s.YNc(17,xe,4,4,"mat-option",11),s.ALo(18,"async"),s.qZA(),s.qZA(),s.TgZ(19,"div"),s.TgZ(20,"button",12),s.NdJ("click",function(){s.CHM(t);const n=s.MAs(5);return e.validateName(n)}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(23,"mat-step",4),s.YNc(24,Ee,2,3,"ng-template",5),s.TgZ(25,"mat-form-field",6),s.TgZ(26,"input",13),s.NdJ("ngModelChange",function(t){return e.destination=t})("ngModelChange",function(){s.CHM(t);const n=s.MAs(5);return e.notCompleted(n)})("keydown.enter",function(){s.CHM(t);const n=s.MAs(5);return e.validateDestination(n)}),s.ALo(27,"translate"),s.qZA(),s.qZA(),s.TgZ(28,"div"),s.TgZ(29,"button",14),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.TgZ(32,"button",12),s.NdJ("click",function(){s.CHM(t);const n=s.MAs(5);return e.validateDestination(n)}),s._uU(33),s.ALo(34,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(35,"mat-step"),s.YNc(36,Te,2,3,"ng-template",5),s.TgZ(37,"mat-radio-group",15),s.NdJ("ngModelChange",function(t){return e.chosenService=t}),s.YNc(38,Ae,2,2,"mat-radio-button",16),s.qZA(),s.TgZ(39,"div"),s.TgZ(40,"button",14),s._uU(41),s.ALo(42,"translate"),s.qZA(),s.TgZ(43,"button",12),s.NdJ("click",function(){return e.getGraph()}),s._uU(44),s.ALo(45,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(16);s.xp6(2),s.hij(" ",s.lcZ(3,16,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE")," "),s.xp6(7),s.s9C("placeholder",s.lcZ(10,18,"ADMIN.VISUALIZER.USER_DESTINATION.USER_EXAMPLE")),s.Q6J("formControl",e.searchField)("matAutocomplete",t),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(2),s.Oqu(s.lcZ(14,20,"ADMIN.VISUALIZER.USER_DESTINATION.USER_HINT")),s.xp6(4),s.Q6J("ngForOf",s.lcZ(18,22,e.users)),s.xp6(4),s.hij(" ",s.lcZ(22,24,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),s.xp6(5),s.s9C("placeholder",s.lcZ(27,26,"ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION_EXAMPLE")),s.Q6J("ngModel",e.destination),s.xp6(4),s.hij(" ",s.lcZ(31,28,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),s.xp6(3),s.hij(" ",s.lcZ(34,30,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_NEXT")," "),s.xp6(4),s.Q6J("ngModel",e.chosenService),s.xp6(1),s.Q6J("ngForOf",e.availableServices),s.xp6(3),s.hij(" ",s.lcZ(42,32,"ADMIN.VISUALIZER.USER_DESTINATION.BUTTON_BACK")," "),s.xp6(3),s.hij(" ",s.lcZ(45,34,"ADMIN.VISUALIZER.USER_DESTINATION.SUBMIT_BUTTON")," ")}},directives:[ve.Vq,ve.C0,ve.VY,O.KE,R.Nt,L.Fj,ye.ZL,L.JJ,L.oH,i.O5,O.bx,ye.XC,i.sg,x.lW,L.On,ve.fd,_e.VQ,E.$g,O.R9,z.ey,_e.U0],pipes:[f.X$,i.Ov],styles:[""]}),t})();var Ie=n(64762);function Ce(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function De(t){this._context=t}function Ne(t,e){this._basis=new De(t),this._beta=e}De.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ce(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ce(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Ne.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)this._basis.point(this._beta*t[u]+(1-this._beta)*(i+(r=u/n)*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ke=function t(e){function n(t){return 1===e?new De(t):new Ne(t,e)}return n.beta=function(e){return t(+e)},n}(.85),Ze=n(55959);function Me(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function Oe(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var Re=n(10709),Le=n(26899),Ue=n(87254),Pe=n(41036),Fe=(n(92711),n(64641)),qe=(n(8634),n(3031));function ze(t){return{type:t}}function je(t,e){return te?1:t>=e?0:NaN}function Ye(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>je(t(e),n)}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}n(45161),n(38337),n(82159),["w","e"].map(ze),["n","s"].map(ze),["n","w","e","s","nw","ne","sw","se"].map(ze);var Be=Math.sqrt(50),Je=Math.sqrt(10),Ge=Math.sqrt(2);function Ve(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Be?10:o>=Je?5:o>=Ge?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Be?10:o>=Je?5:o>=Ge?2:1)}function He(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Be?i*=10:o>=Je?i*=5:o>=Ge&&(i*=2),e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Qe.setTime(+e),We.setTime(+r),t(Qe),t(We),Math.floor(n(Qe,We))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Xe=$e(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Xe.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?$e(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Xe:null};var Ke=Xe,tn=$e(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),en=$e(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()}),nn=$e(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),rn=$e(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5,t=>t.getDate()-1);function on(t){return $e(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var an=on(0),sn=(on(1),on(2),on(3),on(4),on(5),on(6),$e(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),un=$e(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});un.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var cn=un,ln=$e(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()}),hn=$e(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),fn=$e(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function dn(t){return $e(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var pn=dn(0),gn=(dn(1),dn(2),dn(3),dn(4),dn(5),dn(6),$e(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),mn=$e(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});mn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var vn=mn;function yn(t,e,n,r,i,o){const a=[[tn,1,1e3],[tn,5,5e3],[tn,15,15e3],[tn,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){const i=Math.abs(n-e)/r,o=Ye(([,,t])=>t).right(a,i);if(o===a.length)return t.every(He(e/31536e6,n/31536e6,r));if(0===o)return Ke.every(Math.max(He(e,n,r),1));const[s,u]=a[i/a[o-1][2]0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return En.setTime(+e),Tn.setTime(+r),t(En),t(Tn),Math.floor(n(En,Tn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function Sn(t){return An(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var In=Sn(0),Cn=Sn(1),Dn=(Sn(2),Sn(3),Sn(4)),Nn=(Sn(5),Sn(6),An(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function kn(t){return An(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var Zn=kn(0),Mn=kn(1),On=(kn(2),kn(3),kn(4)),Rn=(kn(5),kn(6),An(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1})),Ln=An(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Ln.every=function(t){return isFinite(t=Math.floor(t))&&t>0?An(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Un=Ln,Pn=An(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Pn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?An(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Fn=Pn;var qn={"-":"",_:" ",0:"0"},zn=/[\\^$*+?|[\]().{}]/g;function jn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?On(t):On.ceil(t),jn(On.count(Un(t),t)+(4===Un(t).getDay()),e,2)}function ir(t){return t.getDay()}function or(t,e){return jn(Mn.count(Un(t)-1,t),e,2)}function ar(t,e){return jn(t.getFullYear()%100,e,2)}function sr(t,e){return jn(t.getFullYear()%1e4,e,4)}function ur(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+jn(e/60|0,"0",2)+jn(e%60,"0",2)}function cr(t,e){return jn(t.getUTCDate(),e,2)}function lr(t,e){return jn(t.getUTCHours(),e,2)}function hr(t,e){return jn(t.getUTCHours()%12||12,e,2)}function fr(t,e){return jn(1+Nn.count(Fn(t),t),e,3)}function dr(t,e){return jn(t.getUTCMilliseconds(),e,3)}function pr(t,e){return dr(t,e)+"000"}function gr(t,e){return jn(t.getUTCMonth()+1,e,2)}function mr(t,e){return jn(t.getUTCMinutes(),e,2)}function vr(t,e){return jn(t.getUTCSeconds(),e,2)}function yr(t){var e=t.getUTCDay();return 0===e?7:e}function _r(t,e){return jn(In.count(Fn(t)-1,t),e,2)}function wr(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Dn(t):Dn.ceil(t),jn(Dn.count(Fn(t),t)+(4===Fn(t).getUTCDay()),e,2)}function br(t){return t.getUTCDay()}function xr(t,e){return jn(Cn.count(Fn(t)-1,t),e,2)}function Er(t,e){return jn(t.getUTCFullYear()%100,e,2)}function Tr(t,e){return jn(t.getUTCFullYear()%1e4,e,4)}function Ar(){return"+0000"}function Sr(){return"%"}function Ir(t){return+t}function Cr(t){return Math.floor(+t/1e3)}function Dr(t){return null===t?NaN:+t}!function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=(Bn(i),Jn(i),Bn(o),Jn(o),Bn(a),Jn(a),Bn(s),Jn(s),Bn(u),Jn(u),{a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Gn,e:Gn,f:$n,H:Vn,I:Hn,j:Qn,L:Wn,m:Xn,M:Kn,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ir,s:Cr,S:tr,u:er,U:nr,V:rr,w:ir,W:or,x:null,X:null,y:ar,Y:sr,Z:ur,"%":Sr}),l={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:cr,e:cr,f:pr,H:lr,I:hr,j:fr,L:dr,m:gr,M:mr,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ir,s:Cr,S:vr,u:yr,U:_r,V:wr,w:br,W:xr,x:null,X:null,y:Er,Y:Tr,Z:Ar,"%":Sr};function h(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s(e=a[u-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?Fr:Pr,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),Zr.Z)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,Or),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=Mr.Z,l()},h.clamp=function(t){return arguments.length?(c=!!t||Lr,l()):c!==Lr},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Lr,Lr)}function jr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Yr=n(93116),Br=n(65636),Jr=n(3712),Gr=n(3218),Vr=n(22233);function Hr(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/a),r=Math.round(e/a);for(n*ae&&--r,o=new Array(i=r-n+1);++se&&--r,o=new Array(i=r-n+1);++s0;){if((i=Ve(u,c,n))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Qr(){var t=zr();return t.copy=function(){return qr(t,Qr())},jr.apply(t,arguments),Hr(t)}function Wr(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function ei(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t0?r[i-1]:e[0],i=0;)e+=n[r].value;else e=1;t.value=e}function mi(t,e){var n,r,i,o,a,s=new wi(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=vi);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new wi(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(_i)}function vi(t){return t.children}function yi(t){t.data=t.data.data}function _i(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function wi(t){this.data=t,this.depth=this.height=0,this.parent=null}li.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ci(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ci(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new li(t,e)}return n.tension=function(e){return t(+e)},n}(0),hi.prototype={areaStart:ui,areaEnd:ui,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ci(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new hi(t,e)}return n.tension=function(e){return t(+e)},n}(0),fi.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}},Math,Math,Math,Math,Math,Math,Math,Math,n(12314),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,m,v=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),m=l*l*g,(d=Math.max(f/m,m/h))>p){l-=s;break}p=d}v.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),wi.prototype=mi.prototype={constructor:wi,count:function(){return this.eachAfter(gi)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return mi(this).eachBefore(yi)}};var bi=n(30269);const xi=["caretElm"];function Ei(t,e){}const Ti=function(t){return{model:t}};function Ai(t,e){if(1&t&&(s.TgZ(0,"span"),s.YNc(1,Ei,0,0,"ng-template",5),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",t.template)("ngTemplateOutletContext",s.VKq(2,Ti,t.context))}}function Si(t,e){if(1&t&&s._UZ(0,"span",6),2&t){const t=s.oxw();s.Q6J("innerHTML",t.title,s.oJD)}}function Ii(t,e){if(1&t&&(s.O4$(),s.kcU(),s._UZ(0,"ngx-charts-scale-legend",4)),2&t){const t=s.oxw();s.Q6J("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function Ci(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"ngx-charts-legend",5),s.NdJ("labelClick",function(e){return s.CHM(t),s.oxw().legendLabelClick.emit(e)})("labelActivate",function(e){return s.CHM(t),s.oxw().legendLabelActivate.emit(e)})("labelDeactivate",function(e){return s.CHM(t),s.oxw().legendLabelDeactivate.emit(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("data",t.legendOptions.domain)("title",t.legendOptions.title)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)("activeEntries",t.activeEntries)}}const Di=["*"];function Ni(t,e){if(1&t&&(s.TgZ(0,"header",4),s.TgZ(1,"span",5),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(t.title)}}function ki(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"li",6),s.TgZ(1,"ngx-charts-legend-entry",7),s.NdJ("select",function(e){return s.CHM(t),s.oxw().labelClick.emit(e)})("activate",function(e){return s.CHM(t),s.oxw().activate(e)})("deactivate",function(e){return s.CHM(t),s.oxw().deactivate(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.Q6J("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}let Zi=(()=>{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const r of n)t.instance[r]=e.inputs[r]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const r of n)t.instance[r]=e.outputs[r]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const r=this.getComponentRootNode(n),i=new Le.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Le.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.z2F),s.LFG(s._Vd),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function Mi(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var Oi=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function Ri(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function Li(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}class Ui{static calculateVerticalAlignment(t,e,n){let r=Ri(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}static calculateVerticalCaret(t,e,n,r){let i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);const o=Ri(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=Li(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}static calculateHorizontalCaret(t,e,n,r){let i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);const o=Li(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}static shouldFlip(t,e,n,r){let i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}static positionCaret(t,e,n,r,i){let o=0,a=0;return t===Oi.right?(a=-7,o=Ui.calculateVerticalCaret(n,e,r,i)):t===Oi.left?(a=e.width,o=Ui.calculateVerticalCaret(n,e,r,i)):t===Oi.top?(o=e.height,a=Ui.calculateHorizontalCaret(n,e,r,i)):t===Oi.bottom&&(o=-7,a=Ui.calculateHorizontalCaret(n,e,r,i)),{top:o,left:a}}static positionContent(t,e,n,r,i){let o=0,a=0;return t===Oi.right?(a=n.left+n.width+r,o=Ui.calculateVerticalAlignment(n,e,i)):t===Oi.left?(a=n.left-e.width-r,o=Ui.calculateVerticalAlignment(n,e,i)):t===Oi.top?(o=n.top-e.height-r,a=Ui.calculateHorizontalAlignment(n,e,i)):t===Oi.bottom&&(o=n.top+n.height+r,a=Ui.calculateHorizontalAlignment(n,e,i)),{top:o,left:a}}static determinePlacement(t,e,n,r){if(Ui.shouldFlip(n,e,t,r)){if(t===Oi.right)return Oi.left;if(t===Oi.left)return Oi.right;if(t===Oi.top)return Oi.bottom;if(t===Oi.bottom)return Oi.top}return t}}let Pi,Fi=(()=>{class t{constructor(t,e){this.element=t,this.renderer=e}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:r,left:i}=Ui.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${r}px`),this.renderer.setStyle(t,"left",`${i}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),{top:i,left:o}=Ui.positionCaret(this.placement,e,t,r,this.alignment);this.renderer.setStyle(n,"top",`${i}px`),this.renderer.setStyle(n,"left",`${o}px`)}checkFlip(t,e){this.placement=Ui.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&s.Gf(xi,5),2&t){let t;s.iGM(t=s.CRH())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(){return e.onWindowResize()},!1,s.Jf7),2&t&&s.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"span",0,1),s.TgZ(3,"div",2),s.YNc(4,Ai,2,4,"span",3),s.YNc(5,Si,1,1,"span",4),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Gre("tooltip-caret position-",e.placement,""),s.Q6J("hidden",!e.showCaret),s.xp6(3),s.Q6J("ngIf",!e.title),s.xp6(1),s.Q6J("ngIf",e.title))},directives:[i.O5,i.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),Me([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Mi(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),qi=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=Fi}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Zi))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),zi=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new s.vpe,this.legendLabelActivate=new s.vpe,this.legendLabelDeactivate=new s.vpe}ngOnChanges(t){this.update()}update(){let t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)}getLegendType(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",data:"data",legendData:"legendData",colors:"colors",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[s._Bn([qi]),s.TTD],ngContentSelectors:Di,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.O4$(),s.TgZ(1,"svg",1),s.Hsn(2),s.qZA(),s.YNc(3,Ii,1,5,"ngx-charts-scale-legend",2),s.YNc(4,Ci,1,7,"ngx-charts-legend",3),s.qZA()),2&t&&(s.Udp("width",e.view[0],"px"),s.Q6J("@animationState","active")("@.disabled",!e.animations),s.xp6(1),s.uIk("width",e.chartWidth)("height",e.view[1]),s.xp6(2),s.Q6J("ngIf",e.showLegend&&"scaleLegend"===e.legendType),s.xp6(1),s.Q6J("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[i.O5,Qi,Vi]},encapsulation:2,data:{animation:[(0,Re.X$)("animationState",[(0,Re.eR)(":enter",[(0,Re.oB)({opacity:0}),(0,Re.jt)("500ms 100ms",(0,Re.oB)({opacity:1}))])])]},changeDetection:0}),t})(),ji=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new s.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const t=()=>{if(!this.element)return;const{offsetHeight:e,offsetWidth:n}=this.element.nativeElement;e&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})(),Yi=(()=>{class t{constructor(t,e,n){this.chartElement=t,this.zone=e,this.cd=n,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new s.vpe}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new ji(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(t){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let t,e;const n=this.chartElement.nativeElement;if(null!==n.parentNode){const r=n.parentNode.getBoundingClientRect();t=r.width,e=r.height}return t&&e?{width:t,height:e}:null}formatDates(){for(let t=0;t{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=t}cloneData(t){const e=[];for(const n of t){const t={name:n.name};if(void 0!==n.value&&(t.value=n.value),void 0!==n.series){t.series=[];for(const e of n.series){const n=Object.assign({},e);t.series.push(n)}}void 0!==n.extra&&(t.extra=JSON.parse(JSON.stringify(n.extra))),e.push(t)}return e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[s.TTD],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"div")},encapsulation:2}),t})(),Bi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})(),Ji=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Zi,qi],imports:[[i.ez]]}),t})();function Gi(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}"undefined"!=typeof window?Pi=window:"undefined"!=typeof global&&(Pi=global);let Vi=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new s.vpe,this.labelActivate=new s.vpe,this.labelDeactivate=new s.vpe,this.legendEntries=[]}ngOnChanges(t){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const t=[];for(const e of this.data){const n=Gi(e);-1===t.findIndex(t=>t.label===n)&&t.push({label:e,formattedLabel:n,color:this.colors.getColor(e)})}return t}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.label===e.name)}activate(t){this.labelActivate.emit(t)}deactivate(t){this.labelDeactivate.emit(t)}trackBy(t,e){return e.label}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-legend"]],inputs:{horizontal:"horizontal",data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[s.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.YNc(1,Ni,3,1,"header",0),s.TgZ(2,"div",1),s.TgZ(3,"ul",2),s.YNc(4,ki,2,4,"li",3),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Udp("width",e.width,"px"),s.xp6(1),s.Q6J("ngIf",(null==e.title?null:e.title.length)>0),s.xp6(2),s.Udp("max-height",e.height-45,"px"),s.ekj("horizontal-legend",e.horizontal),s.xp6(1),s.Q6J("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[i.O5,i.sg,Hi]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t})(),Hi=(()=>{class t{constructor(){this.isActive=!1,this.select=new s.vpe,this.activate=new s.vpe,this.deactivate=new s.vpe,this.toggle=new s.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&s.NdJ("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(s.TgZ(0,"span",0),s.NdJ("click",function(){return e.select.emit(e.formattedLabel)}),s.TgZ(1,"span",1),s.NdJ("click",function(){return e.toggle.emit(e.formattedLabel)}),s.qZA(),s.TgZ(2,"span",2),s._uU(3),s.qZA(),s.qZA()),2&t&&(s.ekj("active",e.isActive),s.Q6J("title",e.formattedLabel),s.xp6(1),s.Udp("background-color",e.color),s.xp6(2),s.hij(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),Qi=(()=>{class t{constructor(t){this.sanitizer=t,this.horizontal=!1}ngOnChanges(t){const e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle(`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${e})`)}gradientString(t,e){e.push(1);const n=[];return t.reverse().forEach((t,r)=>{n.push(`${t} ${Math.round(100*e[r])}%`)}),n.join(", ")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(bi.H7))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[s.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.qZA(),s._UZ(4,"div",2),s.TgZ(5,"div",1),s.TgZ(6,"span"),s._uU(7),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Udp("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),s.ekj("horizontal-legend",e.horizontal),s.xp6(3),s.Oqu(e.valueRange[1].toLocaleString()),s.xp6(1),s.Udp("background",e.gradient),s.xp6(3),s.Oqu(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t})(),Wi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez,Bi,Ji],i.ez,Bi,Ji]}),t})(),$i=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Xi{constructor(t,e,n,r){"string"==typeof t&&(t=$i.find(e=>e.name===t)),this.colorDomain=t.domain,this.scaleType=e,this.domain=n,this.customColors=r,this.scale=this.generateColorScheme(t,e,this.domain)}generateColorScheme(t,e,n){let r;if("string"==typeof t&&(t=$i.find(e=>e.name===t)),"quantile"===e)r=ei().range(t.domain).domain(n);else if("ordinal"===e)r=Xr().range(t.domain).domain(n);else if("linear"===e){const e=[...t.domain];1===e.length&&(e.push(e[0]),this.colorDomain=e);const n=Wr(0,1,1/e.length);r=Qr().domain(n).range(e)}return r}getColor(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){const e=Qr().domain(this.domain).range([0,1]);return this.scale(e(t))}{if("function"==typeof this.customColors)return this.customColors(t);const e=t.toString();let n;return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(t=>t.name.toLowerCase()===e.toLowerCase())),n?n.value:this.scale(t)}}getLinearGradientStops(t,e){void 0===e&&(e=this.domain[0]);const n=Qr().domain(this.domain).range([0,1]),r=Kr().domain(this.colorDomain).range([0,1]),i=this.getColor(t),o=n(e),a=this.getColor(e),s=n(t);let u=1,c=o;const l=[];for(l.push({color:a,offset:o,originalOffset:o,opacity:1});c=(s-r.bandwidth()).toFixed(4))break;l.push({color:t,offset:e,opacity:1}),c=e,u++}}if(l[l.length-1].offset<100&&l.push({color:i,offset:s,opacity:1}),s===o)l[0].offset=0,l[1].offset=100;else if(100!==l[l.length-1].offset)for(const h of l)h.offset=(h.offset-o)/(s-o)*100;return l}}let Ki=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),to=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),eo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),no=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),ro=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})();Math;let io=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),oo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi,io,ro]]}),t})(),ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),so=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi]]}),t})(),uo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Wi,io,to]]}),t})(),co=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[Wi,Ki,to,eo,no,ro,oo,ao,io,so,uo]}),t})();var lo=Math.PI;function ho(t){return(1-Math.cos(lo*t))/2}var fo=n(87570),po=n(48318),go=n(40878),mo=n(3530);function vo(t){return void 0===t}function yo(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;var xo=n(32975);function Eo(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(m+y)/2))?m=a:y=a,i=d,!(d=d[h=l<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(m+y)/2))?m=a:y=a}while((h=l<<1|c)==(f=(u>=a)<<1|s>=o));return i[f]=d,i[h]=p,t}function Io(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Co(t){return t[0]}function Do(t){return t[1]}function No(t,e,n){var r=new ko(null==e?Co:e,null==n?Do:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function ko(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Zo(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Mo=No.prototype=ko.prototype;function Oo(t){return t.x+t.vx}function Ro(t){return t.y+t.vy}function Lo(t){var e,n,r=1,i=1;function o(){for(var t,o,s,u,c,l,h,f=e.length,d=0;du+d||ic+d||os.index){var p=u-a.x-a.vx,g=c-a.y-a.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ef||(o=u.y0)>d||(a=u.x1)=v)<<1|t>=m)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),w=y*y+_*_;if(w=(s=(p+m)/2))?p=s:m=s,(l=a>=(u=(g+v)/2))?g=u:v=u,e=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Mo.removeAll=function(t){for(var e=0,n=t.length;e1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}}function Wo(){var t,e,n,r,i=To(-30),o=1,a=1/0,s=.81;function u(r){var i,o=t.length,a=No(t,Go,Vo).visitAfter(l);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=Ao())*l),0===h&&(d+=(h=Ao())*h),dt.id===n.id);r.position={x:n.x,y:n.y},r.dimension={width:n.width,height:n.height}}return t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n.position.y<=r.position.y?-1:1;return e.points=[{x:n.position.x,y:n.position.y-i*(n.dimension.height/2)},{x:r.position.x,y:r.position.y+i*(r.dimension.height/2)}],t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)n.width||(n.width=20),n.height||(n.height=30),this.dagreGraph.setNode(n.id,n);for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},dagreCluster:class{constructor(){this.defaultSettings={orientation:Za.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,multigraph:!0,compound:!0},this.settings={}}run(t){this.createDagreGraph(t),(0,xo.layout)(this.dagreGraph),t.edgeLabels=this.dagreGraph._edgeLabels;const e=t=>{const e=this.dagreGraph._nodes[t.id];return Object.assign(Object.assign({},t),{position:{x:e.x,y:e.y},dimension:{width:e.width,height:e.height}})};return t.clusters=(t.clusters||[]).map(e),t.nodes=t.nodes.map(e),t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n.position.y<=r.position.y?-1:1;return e.points=[{x:n.position.x,y:n.position.y-i*(n.dimension.height/2)},{x:r.position.x,y:r.position.y+i*(r.dimension.height/2)}],t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreClusters=t.clusters||[],this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)this.dagreGraph.setNode(n.id,n);for(const n of this.dagreClusters)this.dagreGraph.setNode(n.id,n),n.childNodeIds.forEach(t=>{this.dagreGraph.setParent(t,n.id)});for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},dagreNodesOnly:class{constructor(){this.defaultSettings={orientation:Za.LEFT_TO_RIGHT,marginX:20,marginY:20,edgePadding:100,rankPadding:100,nodePadding:50,curveDistance:20,multigraph:!0,compound:!0},this.settings={}}run(t){this.createDagreGraph(t),(0,xo.layout)(this.dagreGraph),t.edgeLabels=this.dagreGraph._edgeLabels;for(const e in this.dagreGraph._nodes){const n=this.dagreGraph._nodes[e],r=t.nodes.find(t=>t.id===n.id);r.position={x:n.x,y:n.y},r.dimension={width:n.width,height:n.height}}for(const e of t.edges)this.updateEdge(t,e);return t}updateEdge(t,e){const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i="BT"===this.settings.orientation||"TB"===this.settings.orientation?"y":"x",o="y"===i?"x":"y",a="y"===i?"height":"width",s=n.position[i]<=r.position[i]?-1:1,u={[o]:n.position[o],[i]:n.position[i]-s*(n.dimension[a]/2)},c={[o]:r.position[o],[i]:r.position[i]+s*(r.dimension[a]/2)},l=this.settings.curveDistance||this.defaultSettings.curveDistance;e.points=[u,{[o]:u[o],[i]:u[i]-s*l},{[o]:c[o],[i]:c[i]+s*l},c];const h=t.edgeLabels[`${e.source}\x01${e.target}\x01\0`];return h&&(h.points=e.points),t}createDagreGraph(t){const e=Object.assign({},this.defaultSettings,this.settings);this.dagreGraph=new xo.graphlib.Graph({compound:e.compound,multigraph:e.multigraph}),this.dagreGraph.setGraph({rankdir:e.orientation,marginx:e.marginX,marginy:e.marginY,edgesep:e.edgePadding,ranksep:e.rankPadding,nodesep:e.nodePadding,align:e.align,acyclicer:e.acyclicer,ranker:e.ranker,multigraph:e.multigraph,compound:e.compound}),this.dagreGraph.setDefaultEdgeLabel(()=>({})),this.dagreNodes=t.nodes.map(t=>{const e=Object.assign({},t);return e.width=t.dimension.width,e.height=t.dimension.height,e.x=t.position.x,e.y=t.position.y,e}),this.dagreEdges=t.edges.map(t=>{const e=Object.assign({},t);return e.id||(e.id=ka()),e});for(const n of this.dagreNodes)n.width||(n.width=20),n.height||(n.height=30),this.dagreGraph.setNode(n.id,n);for(const n of this.dagreEdges)e.multigraph?this.dagreGraph.setEdge(n.source,n.target,n,n.id):this.dagreGraph.setEdge(n.source,n.target);return this.dagreGraph}},d3ForceDirected:class{constructor(){this.defaultSettings={force:Qo().force("charge",Wo().strength(-150)).force("collide",Lo(5)),forceLink:Bo().id(t=>t.id).distance(()=>100)},this.settings={},this.outputGraph$=new Ze.xQ}run(t){return this.inputGraph=t,this.d3Graph={nodes:[...this.inputGraph.nodes.map(t=>Object.assign({},t))],edges:[...this.inputGraph.edges.map(t=>Object.assign({},t))]},this.outputGraph={nodes:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&this.settings.force.nodes(this.d3Graph.nodes).force("link",this.settings.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}updateEdge(t,e){const n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.nodes(this.d3Graph.nodes).force("link",n.forceLink.links(this.d3Graph.edges)).alpha(.5).restart().on("tick",()=>{this.outputGraph$.next(this.d3GraphToOutputGraph(this.d3Graph))}),this.outputGraph$.asObservable()}d3GraphToOutputGraph(t){return this.outputGraph.nodes=this.d3Graph.nodes.map(t=>Object.assign(Object.assign({},t),{id:t.id||ka(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:`translate(${t.x-(t.dimension&&t.dimension.width||20)/2||0}, ${t.y-(t.dimension&&t.dimension.height||20)/2||0})`})),this.outputGraph.edges=this.d3Graph.edges.map(t=>Object.assign(Object.assign({},t),{source:Ma(t.source).id,target:Ma(t.target).id,points:[{x:Ma(t.source).x,y:Ma(t.source).y},{x:Ma(t.target).x,y:Ma(t.target).y}]})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(t,e){this.settings.force.alphaTarget(.3).restart();const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(this.draggingStart={x:e.x-n.x,y:e.y-n.y},n.fx=e.x-this.draggingStart.x,n.fy=e.y-this.draggingStart.y)}onDrag(t,e){if(!t)return;const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(n.fx=e.x-this.draggingStart.x,n.fy=e.y-this.draggingStart.y)}onDragEnd(t,e){if(!t)return;const n=this.d3Graph.nodes.find(e=>e.id===t.id);n&&(this.settings.force.alphaTarget(0),n.fx=void 0,n.fy=void 0)}},colaForceDirected:class{constructor(){this.defaultSettings={force:(0,ta.d3adaptor)(Object.assign(Object.assign(Object.assign({},ea),r),na)).linkDistance(150).avoidOverlaps(!0),viewDimensions:{width:600,height:600,xOffset:0}},this.settings={},this.outputGraph$=new Ze.xQ}run(t){return this.inputGraph=t,this.inputGraph.clusters||(this.inputGraph.clusters=[]),this.internalGraph={nodes:[...this.inputGraph.nodes.map(t=>Object.assign(Object.assign({},t),{width:t.dimension?t.dimension.width:20,height:t.dimension?t.dimension.height:20}))],groups:[...this.inputGraph.clusters.map(t=>({padding:5,groups:t.childNodeIds.map(t=>this.inputGraph.clusters.findIndex(e=>e.id===t)).filter(t=>t>=0),leaves:t.childNodeIds.map(t=>this.inputGraph.nodes.findIndex(e=>e.id===t)).filter(t=>t>=0)}))],links:[...this.inputGraph.edges.map(t=>{const e=this.inputGraph.nodes.findIndex(e=>t.source===e.id),n=this.inputGraph.nodes.findIndex(e=>t.target===e.id);if(-1!==e&&-1!==n)return Object.assign(Object.assign({},t),{source:e,target:n})}).filter(t=>!!t)],groupLinks:[...this.inputGraph.edges.map(t=>{const e=this.inputGraph.nodes.findIndex(e=>t.source===e.id),n=this.inputGraph.nodes.findIndex(e=>t.target===e.id);if(!(e>=0&&n>=0))return t}).filter(t=>!!t)]},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",()=>{this.settings.onTickListener&&this.settings.onTickListener(this.internalGraph),this.outputGraph$.next(this.internalGraphToOutputGraph(this.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}updateEdge(t,e){const n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.start(),this.outputGraph$.asObservable()}internalGraphToOutputGraph(t){return this.outputGraph.nodes=t.nodes.map(t=>Object.assign(Object.assign({},t),{id:t.id||ka(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:`translate(${t.x-(t.dimension&&t.dimension.width||20)/2||0}, ${t.y-(t.dimension&&t.dimension.height||20)/2||0})`})),this.outputGraph.edges=t.links.map(e=>{const n=Oa(t.nodes,e.source),r=Oa(t.nodes,e.target);return Object.assign(Object.assign({},e),{source:n.id,target:r.id,points:[n.bounds.rayIntersection(r.bounds.cx(),r.bounds.cy()),r.bounds.rayIntersection(n.bounds.cx(),n.bounds.cy())]})}).concat(t.groupLinks.map(e=>{const n=t.nodes.find(t=>t.id===e.source),r=t.nodes.find(t=>t.id===e.target),i=n||t.groups.find(t=>t.id===e.source),o=r||t.groups.find(t=>t.id===e.target);return Object.assign(Object.assign({},e),{source:i.id,target:o.id,points:[i.bounds.rayIntersection(o.bounds.cx(),o.bounds.cy()),o.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})})),this.outputGraph.clusters=t.groups.map((t,e)=>Object.assign(Object.assign({},this.inputGraph.clusters[e]),{dimension:{width:t.bounds?t.bounds.width():20,height:t.bounds?t.bounds.height():20},position:{x:t.bounds?t.bounds.x+t.bounds.width()/2:0,y:t.bounds?t.bounds.y+t.bounds.height()/2:0}})),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}onDragStart(t,e){const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(this.draggingStart={x:r.x-e.x,y:r.y-e.y},r.fixed=1,this.settings.force.start())}onDrag(t,e){if(!t)return;const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(r.x=this.draggingStart.x+e.x,r.y=this.draggingStart.y+e.y)}onDragEnd(t,e){if(!t)return;const n=this.outputGraph.nodes.findIndex(e=>e.id===t.id),r=this.internalGraph.nodes[n];r&&(r.fixed=0)}}};let La=(()=>{class t{getLayout(t){if(Ra[t])return new Ra[t];throw new Error(`Unknown layout type '${t}'`)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();var Ua=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),Pa=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function Fa(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}let qa=(()=>{class t extends Yi{constructor(t,e,n,r){super(t,e,n),this.el=t,this.zone=e,this.cd=n,this.layoutService=r,this.legend=!1,this.nodes=[],this.clusters=[],this.links=[],this.activeEntries=[],this.draggingEnabled=!0,this.panningEnabled=!0,this.panningAxis=Ua.Both,this.enableZoom=!0,this.zoomSpeed=.1,this.minZoomLevel=.1,this.maxZoomLevel=4,this.autoZoom=!1,this.panOnZoom=!0,this.animate=!1,this.autoCenter=!1,this.enableTrackpadSupport=!1,this.showMiniMap=!1,this.miniMapMaxWidth=100,this.miniMapPosition=Pa.UpperRight,this.activate=new s.vpe,this.deactivate=new s.vpe,this.zoomChange=new s.vpe,this.clickHandler=new s.vpe,this.isMouseMoveCalled=!1,this.graphSubscription=new fo.w,this.subscriptions=[],this.margin=[0,0,0,0],this.results=[],this.isPanning=!1,this.isDragging=!1,this.initialized=!1,this.graphDims={width:0,height:0},this._oldLinks=[],this.oldNodes=new Set,this.oldClusters=new Set,this.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},this._touchLastX=null,this._touchLastY=null,this.minimapScaleCoefficient=3,this.minimapOffsetX=0,this.minimapOffsetY=0,this.isMinimapPanning=!1,this.groupResultsBy=t=>t.label}get zoomLevel(){return this.transformationMatrix.a}set zoomLevel(t){this.zoomTo(Number(t))}get panOffsetX(){return this.transformationMatrix.e}set panOffsetX(t){this.panTo(Number(t),null)}get panOffsetY(){return this.transformationMatrix.f}set panOffsetY(t){this.panTo(null,Number(t))}ngOnInit(){this.update$&&this.subscriptions.push(this.update$.subscribe(()=>{this.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(()=>{this.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(()=>{this.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(t=>{this.panToNodeId(t)})),this.minimapClipPathId=`minimapClip${ka()}`}ngOnChanges(t){const{layoutSettings:e}=t;this.setLayout(this.layout),e&&this.setLayoutSettings(this.layoutSettings),this.update()}setLayout(t){this.initialized=!1,t||(t="dagre"),"string"==typeof t&&(this.layout=this.layoutService.getLayout(t),this.setLayoutSettings(this.layoutSettings))}setLayoutSettings(t){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=t)}ngOnDestroy(){super.ngOnDestroy();for(const t of this.subscriptions)t.unsubscribe();this.subscriptions=null}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>this.update())}update(){super.update(),this.curve||(this.curve=ke.beta(1)),this.zone.run(()=>{this.dims=function({width:t,height:e,margins:n,showXAxis:r=!1,showYAxis:i=!1,xAxisHeight:o=0,yAxisWidth:a=0,showXLabel:s=!1,showYLabel:u=!1,showLegend:c=!1,legendType:l="ordinal",legendPosition:h="right",columns:f=12}){let d=n[3],p=t,g=e-n[0]-n[2];if(c&&"right"===h&&(f-="ordinal"===l?2:1),p=p*f/12,p=p-n[1]-n[3],r&&(g-=5,g-=o,s)&&(g-=30),i&&(p-=5,p-=a,d+=a,d+=10,u)){const t=30;p-=t,d+=t}return p=Math.max(0,p),g=Math.max(0,g),{width:Math.floor(p),height:Math.floor(g),xOffset:Math.floor(d)}}({width:this.width,height:this.height,margins:this.margin,showLegend:this.legend}),this.seriesDomain=this.getSeriesDomain(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.createGraph(),this.updateTransform(),this.initialized=!0})}createGraph(){this.graphSubscription.unsubscribe(),this.graphSubscription=new fo.w;const t=t=>(t.meta||(t.meta={}),t.id||(t.id=ka()),t.dimension?t.meta.forceDimensions=void 0===t.meta.forceDimensions||t.meta.forceDimensions:(t.dimension={width:this.nodeWidth?this.nodeWidth:30,height:this.nodeHeight?this.nodeHeight:30},t.meta.forceDimensions=!1),t.position={x:0,y:0},t.data=t.data?t.data:{},t);this.graph={nodes:this.nodes.length>0?[...this.nodes].map(t):[],clusters:this.clusters&&this.clusters.length>0?[...this.clusters].map(t):[],edges:this.links.length>0?[...this.links].map(t=>(t.id||(t.id=ka()),t)):[]},requestAnimationFrame(()=>this.draw())}draw(){if(!this.layout||"string"==typeof this.layout)return;this.applyNodeDimensions();const t=this.layout.run(this.graph),e=t instanceof po.y?t:(0,go.of)(t);this.graphSubscription.add(e.subscribe(t=>{this.graph=t,this.tick()})),0!==this.graph.nodes.length&&e.pipe((0,mo.P)()).subscribe(()=>this.applyNodeDimensions())}tick(){const t=new Set;this.graph.nodes.map(e=>{e.transform=`translate(${e.position.x-e.dimension.width/2||0}, ${e.position.y-e.dimension.height/2||0})`,e.data||(e.data={}),e.data.color=this.colors.getColor(this.groupResultsBy(e)),t.add(e.id)});const e=new Set;(this.graph.clusters||[]).map(t=>{t.transform=`translate(${t.position.x-t.dimension.width/2||0}, ${t.position.y-t.dimension.height/2||0})`,t.data||(t.data={}),t.data.color=this.colors.getColor(this.groupResultsBy(t)),e.add(t.id)}),setTimeout(()=>{this.oldNodes=t,this.oldClusters=e},500);const n=[];for(const r in this.graph.edgeLabels){const t=this.graph.edgeLabels[r],e=r.replace(/[^\w-]*/g,""),i=this.layout&&"string"!=typeof this.layout&&this.layout.settings&&this.layout.settings.multigraph;let o=this._oldLinks.find(i?t=>`${t.source}${t.target}${t.id}`===e:t=>`${t.source}${t.target}`===e);const a=this.graph.edges.find(i?t=>`${t.source}${t.target}${t.id}`===e:t=>`${t.source}${t.target}`===e);o?o.data&&a&&a.data&&JSON.stringify(o.data)!==JSON.stringify(a.data)&&(o.data=a.data):o=a||t,o.oldLine=o.line;const s=t.points,u=this.generateLine(s),c=Object.assign({},o);c.line=u,c.points=s,this.updateMidpointOnEdge(c,s);const l=s[Math.floor(s.length/2)];l&&(c.textTransform=`translate(${l.x||0},${l.y||0})`),c.textAngle=0,c.oldLine||(c.oldLine=c.line),this.calcDominantBaseline(c),n.push(c)}this.graph.edges=n,this.graph.edges&&(this._oldLinks=this.graph.edges.map(t=>{const e=Object.assign({},t);return e.oldLine=t.line,e})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(()=>this.redrawLines()),this.cd.markForCheck()}getMinimapTransform(){switch(this.miniMapPosition){case Pa.UpperLeft:return"";case Pa.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}updateGraphDims(){let t=1/0,e=-1/0,n=1/0,r=-1/0;for(let i=0;ie?o.position.x+o.dimension.width:e,r=o.position.y+o.dimension.height>r?o.position.y+o.dimension.height:r}t-=100,n-=100,e+=100,r+=100,this.graphDims.width=e-t,this.graphDims.height=r-n,this.minimapOffsetX=t,this.minimapOffsetY=n}updateMinimap(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}applyNodeDimensions(){this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(t=>{const e=t.nativeElement,n=this.graph.nodes.find(t=>t.id===e.id);if(!n)return;let r;try{if(r=e.getBBox(),!r.width||!r.height)return}catch(i){return}if(n.dimension.height=this.nodeHeight?n.dimension.height&&n.meta.forceDimensions?n.dimension.height:this.nodeHeight:n.dimension.height&&n.meta.forceDimensions?n.dimension.height:r.height,this.nodeMaxHeight&&(n.dimension.height=Math.max(n.dimension.height,this.nodeMaxHeight)),this.nodeMinHeight&&(n.dimension.height=Math.min(n.dimension.height,this.nodeMinHeight)),this.nodeWidth)n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:this.nodeWidth;else if(e.getElementsByTagName("text").length){let t;try{for(const n of e.getElementsByTagName("text")){const e=n.getBBox();t?(e.width>t.width&&(t.width=e.width),e.height>t.height&&(t.height=e.height)):t=e}}catch(i){return}n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:t.width+20}else n.dimension.width=n.dimension.width&&n.meta.forceDimensions?n.dimension.width:r.width;this.nodeMaxWidth&&(n.dimension.width=Math.max(n.dimension.width,this.nodeMaxWidth)),this.nodeMinWidth&&(n.dimension.width=Math.min(n.dimension.width,this.nodeMinWidth))})}redrawLines(t=this.animate){this.linkElements.map(e=>{const n=this.graph.edges.find(t=>t.id===e.nativeElement.id);n&&((0,Pe.Z)(e.nativeElement).select(".line").attr("d",n.oldLine).transition().ease(ho).duration(t?500:0).attr("d",n.line),(0,Pe.Z)(this.chartElement.nativeElement).select(`#${n.id}`).attr("d",n.oldTextPath).transition().ease(ho).duration(t?500:0).attr("d",n.textPath),this.updateMidpointOnEdge(n,n.points))})}calcDominantBaseline(t){const e=t.points[0],n=t.points[t.points.length-1];t.oldTextPath=t.textPath,n.xt.x).y(t=>t.y).curve(this.curve)(t)}onZoom(t,e){if(this.enableTrackpadSupport&&!t.ctrlKey)return void this.pan(-1*t.deltaX,-1*t.deltaY);const n=1+("in"===e?this.zoomSpeed:-this.zoomSpeed),r=this.zoomLevel*n;if(!(r<=this.minZoomLevel||r>=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&t){const e=t.clientX,r=t.clientY,i=this.chart.nativeElement.querySelector("svg"),o=i.querySelector("g.chart"),a=i.createSVGPoint();a.x=e,a.y=r;const s=a.matrixTransform(o.getScreenCTM().inverse());this.pan(s.x,s.y,!0),this.zoom(n),this.pan(-s.x,-s.y,!0)}else this.zoom(n)}pan(t,e,n=!1){const r=n?1:this.zoomLevel;this.transformationMatrix=wo(this.transformationMatrix,bo(t/r,e/r)),this.updateTransform()}panTo(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=wo(this.transformationMatrix,bo((-this.panOffsetX-t*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-e*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}zoom(t){this.transformationMatrix=wo(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return vo(e)&&(e=t),{a:t,c:0,e:0,b:0,d:e,f:0}}(t,t)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}zoomTo(t){this.transformationMatrix.a=isNaN(t)?this.transformationMatrix.a:Number(t),this.transformationMatrix.d=isNaN(t)?this.transformationMatrix.d:Number(t),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}onDrag(t){if(!this.draggingEnabled)return;const e=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(e,t),e.position.x+=t.movementX/this.zoomLevel,e.position.y+=t.movementY/this.zoomLevel,e.transform=`translate(${e.position.x-e.dimension.width/2}, ${e.position.y-e.dimension.height/2})`;for(const n of this.graph.edges)if((n.target===e.id||n.source===e.id||n.target.id===e.id||n.source.id===e.id)&&this.layout&&"string"!=typeof this.layout){const t=this.layout.updateEdge(this.graph,n),e=t instanceof po.y?t:(0,go.of)(t);this.graphSubscription.add(e.subscribe(t=>{this.graph=t,this.redrawEdge(n)}))}this.redrawLines(!1),this.updateMinimap()}redrawEdge(t){const e=this.generateLine(t.points);this.calcDominantBaseline(t),t.oldLine=t.line,t.line=e}updateTransform(){var t;this.transform="matrix("+(t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(t.a*e)/e,b:Math.round(t.b*e)/e,c:Math.round(t.c*e)/e,d:Math.round(t.d*e)/e,e:Math.round(t.e*e)/e,f:Math.round(t.f*e)/e}}(this.transformationMatrix,100)).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")"}onClick(t){this.select.emit(t)}onActivate(t){this.activeEntries.indexOf(t)>-1||(this.activeEntries=[t,...this.activeEntries],this.activate.emit({value:t,entries:this.activeEntries}))}onDeactivate(t){const e=this.activeEntries.indexOf(t);this.activeEntries.splice(e,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:t,entries:this.activeEntries})}getSeriesDomain(){return this.nodes.map(t=>this.groupResultsBy(t)).reduce((t,e)=>-1!==t.indexOf(e)?t:t.concat([e]),[]).sort()}trackLinkBy(t,e){return e.id}trackNodeBy(t,e){return e.id}setColors(){this.colors=new Xi(this.scheme,"ordinal",this.seriesDomain,this.customColors)}getLegendOptions(){return{scaleType:"ordinal",domain:this.seriesDomain,colors:this.colors}}onMouseMove(t){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,t):this.isDragging&&this.draggingEnabled&&this.onDrag(t)}onMouseDown(t){this.isMouseMoveCalled=!1}graphClick(t){this.isMouseMoveCalled||this.clickHandler.emit(t)}onTouchStart(t){this._touchLastX=t.changedTouches[0].clientX,this._touchLastY=t.changedTouches[0].clientY,this.isPanning=!0}onTouchMove(t){if(this.isPanning&&this.panningEnabled){const e=t.changedTouches[0].clientX,n=t.changedTouches[0].clientY,r=e-this._touchLastX,i=n-this._touchLastY;this._touchLastX=e,this._touchLastY=n,this.pan(r,i)}}onTouchEnd(t){this.isPanning=!1}onMouseUp(t){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,t)}onNodeMouseDown(t,e){this.draggingEnabled&&(this.isDragging=!0,this.draggingNode=e,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(e,t))}onMinimapDragMouseDown(){this.isMinimapPanning=!0}onMinimapPanTo(t){this.panTo((t.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(t.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}center(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}zoomToFit(){let t=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);tthis.maxZoomLevel&&(t=this.maxZoomLevel),t!==this.zoomLevel&&(this.zoomLevel=t,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}panToNodeId(t){const e=this.graph.nodes.find(e=>e.id===t);e&&this.panTo(e.position.x,e.position.y)}panWithConstraints(t,e){let n=e.movementX,r=e.movementY;switch(this.isMinimapPanning&&(n=-this.minimapScaleCoefficient*n*this.zoomLevel,r=-this.minimapScaleCoefficient*r*this.zoomLevel),t){case Ua.Horizontal:this.pan(n,0);break;case Ua.Vertical:this.pan(0,r);break;default:this.pan(n,r)}}updateMidpointOnEdge(t,e){if(t&&e)if(e.length%2==1)t.midPoint=e[Math.floor(e.length/2)];else{const n=e[e.length/2],r=e[e.length/2-1];t.midPoint={x:(n.x+r.x)/2,y:(n.y+r.y)/2}}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(La))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,ra,5),s.Suo(n,ia,5),s.Suo(n,oa,5),s.Suo(n,aa,5),s.Suo(n,sa,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.linkTemplate=t.first),s.iGM(t=s.CRH())&&(e.nodeTemplate=t.first),s.iGM(t=s.CRH())&&(e.clusterTemplate=t.first),s.iGM(t=s.CRH())&&(e.defsTemplate=t.first),s.iGM(t=s.CRH())&&(e.miniMapNodeTemplate=t.first)}},viewQuery:function(t,e){if(1&t&&(s.Gf(zi,7,s.SBq),s.Gf(ua,5),s.Gf(ca,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.chart=t.first),s.iGM(t=s.CRH())&&(e.nodeElements=t),s.iGM(t=s.CRH())&&(e.linkElements=t)}},hostBindings:function(t,e){1&t&&s.NdJ("mousemove",function(t){return e.onMouseMove(t)},!1,s.evT)("mousedown",function(t){return e.onMouseDown(t)},!1,s.evT)("click",function(t){return e.graphClick(t)},!1,s.evT)("touchmove",function(t){return e.onTouchMove(t)},!1,s.evT)("mouseup",function(t){return e.onMouseUp(t)},!1,s.evT)},inputs:{legend:"legend",nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",draggingEnabled:"draggingEnabled",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapPosition:"miniMapPosition",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY",layout:"layout",curve:"curve",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layoutSettings:"layoutSettings",miniMapMaxHeight:"miniMapMaxHeight"},outputs:{activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[s.qOj,s.TTD],ngContentSelectors:Da,decls:5,vars:11,consts:[["mouseWheel","",3,"view","showLegend","legendOptions","legendLabelClick","legendLabelActivate","legendLabelDeactivate","mouseWheelUp","mouseWheelDown"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"ngx-charts-chart",0),s.NdJ("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)})("mouseWheelUp",function(t){return e.onZoom(t,"in")})("mouseWheelDown",function(t){return e.onZoom(t,"out")}),s.YNc(1,xa,12,12,"g",1),s.O4$(),s.TgZ(2,"clipPath"),s._UZ(3,"rect"),s.qZA(),s.YNc(4,Ia,6,15,"g",2),s.qZA()),2&t&&(s.Q6J("view",s.WLB(8,Ca,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),s.xp6(1),s.Q6J("ngIf",e.initialized&&e.graph),s.xp6(1),s.uIk("id",e.minimapClipPathId),s.xp6(1),s.uIk("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),s.xp6(1),s.Q6J("ngIf",e.showMiniMap))},directives:function(){return[zi,za,i.O5,i.sg,i.tP]},styles:[".minimap .minimap-background{fill:rgba(0,0,0,.1)}.minimap .minimap-drag{cursor:pointer;fill:rgba(0,0,0,.2);stroke:#fff;stroke-dasharray:2px;stroke-dashoffset:2px;stroke-width:1px}.minimap .minimap-drag.panning{fill:rgba(0,0,0,.3)}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.graph .edge{fill:none;stroke:#666}.graph .edge .edge-label{fill:#251e1e;font-size:12px;stroke:none}.graph .panning-rect{cursor:move;fill:transparent}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}"],encapsulation:2,changeDetection:0}),Me([(500,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Fa(n.value,500,undefined)}),this[e]}}}),Oe("design:type",Function),Oe("design:paramtypes",[]),Oe("design:returntype",void 0)],t.prototype,"updateMinimap",null),t})(),za=(()=>{class t{constructor(){this.mouseWheelUp=new s.vpe,this.mouseWheelDown=new s.vpe}onMouseWheelChrome(t){this.mouseWheelFunc(t)}onMouseWheelFirefox(t){this.mouseWheelFunc(t)}onWheel(t){this.mouseWheelFunc(t)}onMouseWheelIE(t){this.mouseWheelFunc(t)}mouseWheelFunc(t){window.event&&(t=window.event);const e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail||t.deltaY||t.deltaX)),n=t.wheelDelta?e<0:e>0;(t.wheelDelta?e>0:e<0)?this.mouseWheelUp.emit(t):n&&this.mouseWheelDown.emit(t),t.returnValue=!1,t.preventDefault&&t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&s.NdJ("mousewheel",function(t){return e.onMouseWheelChrome(t)})("DOMMouseScroll",function(t){return e.onMouseWheelFirefox(t)})("wheel",function(t){return e.onWheel(t)})("onmousewheel",function(t){return e.onMouseWheelIE(t)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),t})(),ja=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[La],imports:[[Wi]]}),t})(),Ya=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[co],ja]}),t})();function Ba(){}function Ja(t){return null==t?Ba:function(){return this.querySelector(t)}}function Ga(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Va(){return[]}function Ha(t){return null==t?Va:function(){return this.querySelectorAll(t)}}function Qa(t){return function(){return this.matches(t)}}function Wa(t){return function(e){return e.matches(t)}}var $a=Array.prototype.find;function Xa(){return this.firstElementChild}var Ka=Array.prototype.filter;function ts(){return this.children}function es(t){return new Array(t.length)}function ns(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function rs(t){return function(){return t}}function is(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}ns.prototype={constructor:ns,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var us="http://www.w3.org/1999/xhtml",cs={svg:"http://www.w3.org/2000/svg",xhtml:us,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ls(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),cs.hasOwnProperty(e)?{space:cs[e],local:t}:t}function hs(t){return function(){this.removeAttribute(t)}}function fs(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ds(t,e){return function(){this.setAttribute(t,e)}}function ps(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function gs(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function ms(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function vs(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function ys(t){return function(){this.style.removeProperty(t)}}function _s(t,e,n){return function(){this.style.setProperty(t,e,n)}}function ws(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function bs(t,e){return t.style.getPropertyValue(e)||vs(t).getComputedStyle(t,null).getPropertyValue(e)}function xs(t){return function(){delete this[t]}}function Es(t,e){return function(){this[t]=e}}function Ts(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function As(t){return t.trim().split(/^|\s+/)}function Ss(t){return t.classList||new Is(t)}function Is(t){this._node=t,this._names=As(t.getAttribute("class")||"")}function Cs(t,e){for(var n=Ss(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Qs(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tu=[null];function eu(t,e){this._groups=t,this._parents=e}function nu(){return new eu([[document.documentElement]],tu)}eu.prototype=nu.prototype={constructor:eu,select:function(t){"function"!=typeof t&&(t=Ja(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=m[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ss);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?ys:"function"==typeof e?ws:_s)(t,e,null==n?"":n)):bs(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?xs:"function"==typeof e?Ts:Es)(t,e)):this.node()[t]},classed:function(t,e){var n=As(t+"");if(arguments.length<2){for(var r=Ss(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Eu(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Eu(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=fu.exec(t))?new Su(e[1],e[2],e[3],1):(e=du.exec(t))?new Su(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=pu.exec(t))?Eu(e[1],e[2],e[3],e[4]):(e=gu.exec(t))?Eu(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=mu.exec(t))?Nu(e[1],e[2]/100,e[3]/100,1):(e=vu.exec(t))?Nu(e[1],e[2]/100,e[3]/100,e[4]):yu.hasOwnProperty(t)?xu(yu[t]):"transparent"===t?new Su(NaN,NaN,NaN,0):null}function xu(t){return new Su(t>>16&255,t>>8&255,255&t,1)}function Eu(t,e,n,r){return r<=0&&(t=e=n=NaN),new Su(t,e,n,r)}function Tu(t){return t instanceof au||(t=bu(t)),t?new Su((t=t.rgb()).r,t.g,t.b,t.opacity):new Su}function Au(t,e,n,r){return 1===arguments.length?Tu(t):new Su(t,e,n,null==r?1:r)}function Su(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Iu(){return"#"+Du(this.r)+Du(this.g)+Du(this.b)}function Cu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Du(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Nu(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Zu(t,e,n,r)}function ku(t){if(t instanceof Zu)return new Zu(t.h,t.s,t.l,t.opacity);if(t instanceof au||(t=bu(t)),!t)return new Zu;if(t instanceof Zu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new Zu(a,s,u,t.opacity)}function Zu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Mu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Ou(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}iu(au,bu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:_u,formatHex:_u,formatHsl:function(){return ku(this).formatHsl()},formatRgb:wu,toString:wu}),iu(Su,Au,ou(au,{brighter:function(t){return t=null==t?su:Math.pow(su,t),new Su(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Su(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Iu,formatHex:Iu,formatRgb:Cu,toString:Cu})),iu(Zu,function(t,e,n,r){return 1===arguments.length?ku(t):new Zu(t,e,n,null==r?1:r)},ou(au,{brighter:function(t){return t=null==t?su:Math.pow(su,t),new Zu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Su(Mu(t>=240?t-240:t+120,i,r),Mu(t,i,r),Mu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Ru=t=>()=>t;function Lu(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Ru(isNaN(t)?e:t)}var Uu=function t(e){var n=function(t){return 1==(t=+t)?Lu:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ru(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Au(t)).r,(e=Au(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Lu(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Pu(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return Ou((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Fu(n,r)})),o=zu.lastIndex;return o0)throw new Error("too late; already scheduled");return n}function Hu(t,e){var n=Qu(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Qu(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var Wu,$u=180/Math.PI,Xu={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ku(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Fu(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Fu(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Fu(t,n)},{i:s-2,x:Fu(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Vu:Hu;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Ec=ru.prototype.constructor;function Tc(t){return function(){this.style.removeProperty(t)}}function Ac(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Sc(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Ac(t,o,n)),r}return o._value=e,o}function Ic(t){return function(e){this.textContent=t.call(this,e)}}function Cc(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Ic(r)),e}return r._value=t,r}var Dc=0;function Nc(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function kc(){return++Dc}var Zc=ru.prototype;Nc.prototype=(function(t){return ru().transition(t)}).prototype={constructor:Nc,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Ja(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},ru.prototype.transition=function(t){var e,n;t instanceof Nc?(e=t._id,t=t._name):(e=kc(),(n=Mc).time=(0,Jo.zO)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Yc(t){if(!(e=jc.exec(t)))throw new Error("invalid format: "+t);var e;return new Bc({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Bc(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Yc.prototype=Bc.prototype,Bc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Jc,Gc=Array.prototype.map;function Vc(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s=0;)e+=n[r].value;else e=1;t.value=e}function Wc(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=Xc)):void 0===e&&(e=$c);for(var n,r,i,o,a,s=new el(t),u=[s];n=u.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)u.push(r=i[o]=new el(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(tl)}function $c(t){return t.children}function Xc(t){return Array.isArray(t)?t[1]:null}function Kc(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function tl(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function el(t){this.data=t,this.depth=this.height=0,this.parent=null}void 0===(Jc={thousands:",",grouping:[3],currency:["$",""]}).grouping||void 0===Jc.thousands||Gc.call(Jc.grouping,Number),void 0===Jc.numerals||Gc.call(Jc.numerals,String),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,m,v=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),m=l*l*g,(d=Math.max(f/m,m/h))>p){l-=s;break}p=d}v.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),el.prototype=Wc.prototype={constructor:el,count:function(){return this.eachAfter(Qc)},each:function(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],u=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r=0;--r)o.push(n[r]);return this},find:function(t,e){let n=-1;for(const r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return Wc(this).eachBefore(Kc)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const r of n)t.instance[r]=e.inputs[r]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const r of n)t.instance[r]=e.outputs[r]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const r=this.getComponentRootNode(n),i=new Le.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Le.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.z2F),s.LFG(s._Vd),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function ul(t,e,n){let r,i,o;n=n||{};let a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){const c=+new Date;s||!1!==n.leading||(s=c);const l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var cl=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function ll(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function hl(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}class fl{static calculateVerticalAlignment(t,e,n){let r=ll(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}static calculateVerticalCaret(t,e,n,r){let i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);const o=ll(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}static calculateHorizontalAlignment(t,e,n){let r=hl(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}static calculateHorizontalCaret(t,e,n,r){let i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);const o=hl(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}static shouldFlip(t,e,n,r){let i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}static positionCaret(t,e,n,r,i){let o=0,a=0;return t===cl.right?(a=-7,o=fl.calculateVerticalCaret(n,e,r,i)):t===cl.left?(a=e.width,o=fl.calculateVerticalCaret(n,e,r,i)):t===cl.top?(o=e.height,a=fl.calculateHorizontalCaret(n,e,r,i)):t===cl.bottom&&(o=-7,a=fl.calculateHorizontalCaret(n,e,r,i)),{top:o,left:a}}static positionContent(t,e,n,r,i){let o=0,a=0;return t===cl.right?(a=n.left+n.width+r,o=fl.calculateVerticalAlignment(n,e,i)):t===cl.left?(a=n.left-e.width-r,o=fl.calculateVerticalAlignment(n,e,i)):t===cl.top?(o=n.top-e.height-r,a=fl.calculateHorizontalAlignment(n,e,i)):t===cl.bottom&&(o=n.top+n.height+r,a=fl.calculateHorizontalAlignment(n,e,i)),{top:o,left:a}}static determinePlacement(t,e,n,r){if(fl.shouldFlip(n,e,t,r)){if(t===cl.right)return cl.left;if(t===cl.left)return cl.right;if(t===cl.top)return cl.bottom;if(t===cl.bottom)return cl.top}return t}}let dl=(()=>{class t{constructor(t,e,n){this.element=t,this.renderer=e,this.platformId=n}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=` position-${this.placement}`,t+=` type-${this.type}`,t+=` ${this.cssClass}`,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,i.NF)(this.platformId))return;const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:r,left:i}=fl.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",`${r}px`),this.renderer.setStyle(t,"left",`${i}px`)}positionCaret(t,e){const n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),{top:i,left:o}=fl.positionCaret(this.placement,e,t,r,this.alignment);this.renderer.setStyle(n,"top",`${i}px`),this.renderer.setStyle(n,"left",`${o}px`)}checkFlip(t,e){this.placement=fl.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.Lbi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&s.Gf(nl,5),2&t){let t;s.iGM(t=s.CRH())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(){return e.onWindowResize()},!1,s.Jf7),2&t&&s.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"span",0,1),s.TgZ(3,"div",2),s.YNc(4,ol,2,4,"span",3),s.YNc(5,al,1,1,"span",4),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Gre("tooltip-caret position-",e.placement,""),s.Q6J("hidden",!e.showCaret),s.xp6(3),s.Q6J("ngIf",!e.title),s.xp6(1),s.Q6J("ngIf",e.title))},directives:[i.O5,i.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);o>3&&a&&Object.defineProperty(e,n,a)}([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:ul(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),pl=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=dl}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(sl))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez]]}),t})();var ml=function(t){return t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip",t}({}),vl=function(t){return t[t.left="left"]="left",t[t.center="center"]="center",t[t.right="right"]="right",t}({}),yl=function(t){return t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover",t}({});let _l,wl=(()=>{class t{constructor(t,e,n){this.tooltipService=t,this.viewContainerRef=e,this.renderer=n,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=cl.top,this.tooltipAlignment=vl.center,this.tooltipType=ml.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=yl.all,this.tooltipImmediateExit=!1,this.show=new s.vpe,this.hide=new s.vpe}get listensForFocus(){return this.tooltipShowEvent===yl.all||this.tooltipShowEvent===yl.focus}get listensForHover(){return this.tooltipShowEvent===yl.all||this.tooltipShowEvent===yl.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(t){if(this.component||this.tooltipDisabled)return;const e=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const t=this.createBoundOptions();this.component=this.tooltipService.create(t),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},e)}addHideListeners(t){this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",e=>{t.contains(e.target)||this.hideTooltip()}))}hideTooltip(t=!1){if(!this.component)return;const e=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(pl),s.Y36(s.s_b),s.Y36(s.Qsj))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&s.NdJ("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),t})(),bl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[sl,pl],imports:[[i.ez]]}),t})();"undefined"!=typeof window?_l=window:"undefined"!=typeof global&&(_l=global);let xl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez,gl,bl],i.ez,gl,bl]}),t})(),El=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Tl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Al=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Sl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Il=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})();Math;let Cl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Dl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl,Cl,Il]]}),t})(),Nl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),kl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl]]}),t})(),Zl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[xl,Cl,Tl]]}),t})(),Ml=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[xl,El,Tl,Al,Sl,Il,Dl,Nl,Cl,kl,Zl]}),t})();function Ol(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"mat-spinner",3),s.qZA())}function Rl(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),s.xp6(3),s.Oqu(t.service)}}function Ll(t,e){1&t&&(s.O4$(),s.TgZ(0,"marker",10),s._UZ(1,"path",11),s.qZA())}function Ul(t,e){if(1&t&&(s.O4$(),s.TgZ(0,"g",12),s._UZ(1,"rect"),s.TgZ(2,"text",13),s._uU(3),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",t.tooltip),s.xp6(1),s.uIk("width",t.dimension.width)("height",t.dimension.height)("fill",t.color),s.xp6(1),s.uIk("x",10)("y",t.dimension.height/2),s.xp6(1),s.Oqu(t.label)}}function Pl(t,e){if(1&t&&(s.O4$(),s.TgZ(0,"g",14),s._UZ(1,"path",15),s.TgZ(2,"text",16),s.TgZ(3,"textPath",17),s._uU(4),s.qZA(),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(3),s.uIk("href","#"+t.id),s.xp6(1),s.hij(" ",t.label," ")}}const Fl=function(t,e){return[t,e]};function ql(t,e){if(1&t&&(s.TgZ(0,"div"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s._uU(5),s.ALo(6,"translate"),s.TgZ(7,"strong"),s._uU(8),s.qZA(),s.YNc(9,Rl,5,4,"span",4),s.TgZ(10,"div",5),s.TgZ(11,"ngx-graph",6),s.YNc(12,Ll,2,0,"ng-template",null,7,s.W1O),s.YNc(14,Ul,4,9,"ng-template",null,8,s.W1O),s.YNc(16,Pl,5,2,"ng-template",null,9,s.W1O),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),s.xp6(3),s.AsE("",t.user.firstName," ",t.user.lastName,""),s.xp6(1),s.hij(" ",s.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),s.xp6(3),s.Oqu(t.destination),s.xp6(1),s.Q6J("ngIf","noService"!==t.service),s.xp6(2),s.Q6J("links",t.hierarchialGraph.links)("nodes",t.hierarchialGraph.nodes)("curve",t.curve)("draggingEnabled",!1)("zoomToFit$",t.zoomToFit$)("view",s.WLB(16,Fl,t.innerWidth,t.innerHeight))}}function zl(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.TgZ(3,"strong"),s._uU(4),s.qZA(),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),s.xp6(3),s.Oqu(t.service)}}function jl(t,e){if(1&t&&(s._uU(0),s.ALo(1,"translate"),s.TgZ(2,"strong"),s._uU(3),s.qZA(),s._uU(4),s.ALo(5,"translate"),s.TgZ(6,"strong"),s._uU(7),s.qZA(),s.YNc(8,zl,5,4,"span",4),s._uU(9),s.ALo(10,"translate")),2&t){const t=s.oxw(2);s.hij(" ",s.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),s.xp6(3),s.AsE("",t.user.firstName," ",t.user.lastName,""),s.xp6(1),s.hij(" ",s.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),s.xp6(3),s.Oqu(t.destination),s.xp6(1),s.Q6J("ngIf","noService"!==t.service),s.xp6(1),s.hij(" ",s.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Yl(t,e){if(1&t&&(s.YNc(0,ql,18,19,"div",1),s.YNc(1,jl,11,13,"ng-template",null,2,s.W1O)),2&t){const t=s.MAs(2),e=s.oxw();s.Q6J("ngIf",e.isConnected)("ngIfElse",t)}}let Bl=(()=>{class t{constructor(t,e,n,r,i,o,a,s,u){this.route=t,this.facilityManager=e,this.userService=n,this.membersService=r,this.serviceService=i,this.resourceManager=o,this.groupService=a,this.voService=s,this.translate=u,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=ke,this.zoomToFit$=new Ze.xQ}ngOnInit(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(t=>{console.log(t),this.destination=t.destination,this.service=t.service,this.userService.getUserById(t.user).subscribe(t=>{this.user=t,this.facilityManager.getFacilitiesByDestination(this.destination).subscribe(t=>{this.facilities=t,this.membersService.getMembersByUser(this.user.id).subscribe(t=>{if(this.membership=t,0===this.membership.length||0===this.facilities.length)return this.loading=!1,void(this.isConnected=!1);this.showGraph()})})})})}showGraph(){const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}];const e=""+this.id(),n="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[...this.hierarchialGraph.nodes,{id:e,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:n}]:[...this.hierarchialGraph.nodes,{id:e,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:n}];for(const r of this.facilities)this.serviceService.getAllRichDestinationsForFacility(r.id).subscribe(t=>{this.connectToService(r,t),this.delay(2e3).then(()=>{this.zoomToFit$.next(!0),this.loading=!1})})}connectToService(t,e){this.isConnectedToService(e)&&this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(e=>{for(let n=0;n{0!==r.length&&this.groupService.getMemberGroups(e.id).subscribe(e=>{const i=this.findConnectedGroups(r,e);if(0!==i.length)for(const r of i)this.connectToResource(t,r,n)})})}connectToResource(t,e,n){this.resourceManager.getAssignedResourcesWithGroup(e.id).subscribe(r=>{const i=this.findConnectedResources(r,n);for(const n of i)this.resourceManager.getAssignedServicesToResource(n.id).subscribe(r=>{this.haveService(r)&&(this.isConnected=!0,this.addNodesToGraph(e.voId,e,n,t))})})}addNodesToGraph(t,e,n,r){if(-1===this.findEntityInGraph("Facility: "+r.id)){const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.localFacility+": "+r.name,tooltip:r.description,color:"#FFCCFF",tip:"Facility: "+r.id}];const e={source:t,target:this.hierarchialGraph.nodes[this.findEntityInGraph("destination no id")].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,e]}this.voService.getVoById(t).subscribe(t=>{if(-1===this.findEntityInGraph("Vo: "+t.id)){const e=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:e,label:this.localVo+": "+t.shortName,tooltip:t.name,color:"#E5FFCC",tip:"Vo: "+t.id}];const n={source:this.hierarchialGraph.nodes[this.findEntityInGraph("user: "+this.user.id)].id,target:e};this.hierarchialGraph.links=[...this.hierarchialGraph.links,n]}if(-1===this.findEntityInGraph("Group: "+e.id)){const n=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:n,label:this.localGroup+": "+e.name,tooltip:e.description,color:"#CCE5FF",tip:"Group: "+e.id}];const r={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Vo: "+t.id)].id,target:n};this.hierarchialGraph.links=[...this.hierarchialGraph.links,r]}const i=this.findEntityInGraph("Resource: "+n.id);if(-1!==i){const t={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+e.id)].id,target:this.hierarchialGraph.nodes[i].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,t]}else{const t=""+this.id();this.hierarchialGraph.nodes=[...this.hierarchialGraph.nodes,{id:t,label:this.localResource+": "+n.name,tooltip:n.description,color:"#FFCCCC",tip:"Resource: "+n.id}];const i={source:this.hierarchialGraph.nodes[this.findEntityInGraph("Group: "+e.id)].id,target:t};this.hierarchialGraph.links=[...this.hierarchialGraph.links,i];const o={source:t,target:this.hierarchialGraph.nodes[this.findEntityInGraph("Facility: "+r.id)].id};this.hierarchialGraph.links=[...this.hierarchialGraph.links,o]}})}haveService(t){if("noService"===this.service)return!0;for(const e of t)if(this.service===e.name)return!0;return!1}findConnectedGroups(t,e){const n=[];for(let r=0;rsetTimeout(()=>e(),t)).then(()=>console.log("fired"))})}onResize(){this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight}getLocalizedNames(){this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.USER").subscribe(t=>{this.localUser=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.VO").subscribe(t=>{this.localVo=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.GROUP").subscribe(t=>{this.localGroup=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.RESOURCE").subscribe(t=>{this.localResource=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.FACILITY").subscribe(t=>{this.localFacility=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.SERVICE").subscribe(t=>{this.localService=t}),this.translate.get("ADMIN.VISUALIZER.USER_DESTINATION.DESTINATION").subscribe(t=>{this.localDestination=t})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.IQ),s.Y36(b.Fv),s.Y36(b.uq),s.Y36(b.KK),s.Y36(b.xk),s.Y36(b.ff),s.Y36(b.YF),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-destination-graph"]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.onResize(t)},!1,s.Jf7),2&t&&s.ekj("router-component",e.true)},decls:6,vars:5,consts:[[1,"page-subtitle"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"ml-auto","mr-auto"],[4,"ngIf"],[1,"card","w-100","h-100"],[1,"chart-container",3,"links","nodes","curve","draggingEnabled","zoomToFit$","view"],["defsTemplate",""],["nodeTemplate",""],["linkTemplate",""],["id","arrow","viewBox","0 -5 10 10","refX","8","refY","0","markerWidth","4","markerHeight","4","orient","auto"],["d","M0,-5L10,0L0,5",1,"arrow-head"],["ngx-tooltip","",1,"node",3,"tooltipPlacement","tooltipType","tooltipTitle"],["alignment-baseline","central"],[1,"edge"],["stroke-width","2","marker-end","url(#arrow)",1,"line"],["text-anchor","end",1,"edge-label"],["startOffset","60%",2,"fill","#000"]],template:function(t,e){if(1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Ol,2,0,"div",1),s.YNc(4,Yl,3,2,"ng-template",null,2,s.W1O)),2&t){const t=s.MAs(5);s.xp6(1),s.hij(" ",s.lcZ(2,3,"ADMIN.VISUALIZER.USER_DESTINATION.TITLE"),"\n"),s.xp6(2),s.Q6J("ngIf",e.loading)("ngIfElse",t)}},directives:[i.O5,E.$g,qa,wl],pipes:[f.X$],styles:[""]}),t})();var Jl=n(71313);function Gl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Vl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Hl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_FIRST_NAME")))}function Ql(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LENGTH")))}function Wl(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.EDIT_USER.ERROR_LAST_NAME")))}let $l=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.userService=n,this.notificator=r,this.translateService=i,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.titleBefore=new L.NI(this.data.user.titleBefore,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.titleAfter=new L.NI(this.data.user.titleAfter,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.firstName=new L.NI(this.data.user.firstName,[L.kI.required,L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.middleName=new L.NI(this.data.user.middleName,[L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)]),this.lastName=new L.NI(this.data.user.lastName,[L.kI.required,L.kI.pattern(".*[\\S]+.*"),L.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSave(){this.loading=!0,this.data.user.titleBefore=this.titleBefore.value,this.data.user.titleAfter=this.titleAfter.value,this.data.user.firstName=this.firstName.value,this.data.user.middleName=this.middleName.value,this.data.user.lastName=this.lastName.value,this.userService.updateUser({user:this.data.user}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_USER.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.Fv),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-edit-user-dialog"]],decls:32,vars:38,consts:[[1,"mat-dialog-title"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"mat-form-field"),s._UZ(6,"input",2),s.ALo(7,"translate"),s.YNc(8,Gl,3,3,"mat-error",3),s.qZA(),s.TgZ(9,"mat-form-field"),s._UZ(10,"input",2),s.ALo(11,"translate"),s.YNc(12,Vl,3,3,"mat-error",3),s.qZA(),s.TgZ(13,"mat-form-field"),s._UZ(14,"input",4),s.ALo(15,"translate"),s.YNc(16,Hl,3,3,"mat-error",3),s.qZA(),s.TgZ(17,"mat-form-field"),s._UZ(18,"input",2),s.ALo(19,"translate"),s.YNc(20,Ql,3,3,"mat-error",3),s.qZA(),s.TgZ(21,"mat-form-field"),s._UZ(22,"input",4),s.ALo(23,"translate"),s.YNc(24,Wl,3,3,"mat-error",3),s.qZA(),s.qZA(),s.TgZ(25,"div",5),s.TgZ(26,"button",6),s.NdJ("click",function(){return e.onCancel()}),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.TgZ(29,"button",7),s.NdJ("click",function(){return e.onSave()}),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,22,"DIALOGS.EDIT_USER.DIALOG_TITLE")),s.xp6(4),s.s9C("placeholder",s.lcZ(7,24,"DIALOGS.EDIT_USER.TITLE_BEFORE")),s.Q6J("formControl",e.titleBefore),s.xp6(2),s.Q6J("ngIf",e.titleBefore.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(11,26,"DIALOGS.EDIT_USER.TITLE_AFTER")),s.Q6J("formControl",e.titleAfter),s.xp6(2),s.Q6J("ngIf",e.titleAfter.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(15,28,"DIALOGS.EDIT_USER.FIRST_NAME")),s.Q6J("formControl",e.firstName),s.xp6(2),s.Q6J("ngIf",e.firstName.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(19,30,"DIALOGS.EDIT_USER.MIDDLE_NAME")),s.Q6J("formControl",e.middleName),s.xp6(2),s.Q6J("ngIf",e.middleName.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(23,32,"DIALOGS.EDIT_USER.LAST_NAME")),s.Q6J("formControl",e.lastName),s.xp6(2),s.Q6J("ngIf",e.lastName.invalid),s.xp6(3),s.hij(" ",s.lcZ(28,34,"DIALOGS.EDIT_USER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loading||e.firstName.invalid||e.lastName.invalid||e.titleBefore.invalid||e.titleAfter.invalid||e.middleName.invalid),s.xp6(1),s.hij(" ",s.lcZ(31,36,"DIALOGS.EDIT_USER.SAVE")," "))},directives:[y.xY,O.KE,R.Nt,L.Fj,L.JJ,L.oH,i.O5,L.Q7,y.H8,x.lW,O.TO],pipes:[f.X$],styles:[""]}),t})();var Xl=n(22196);function Kl(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function th(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",12),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).editUser()}),s.TgZ(1,"mat-icon"),s._uU(2,"edit"),s.qZA(),s.qZA()}}const eh=function(){return{color:"black"}},nh=function(t){return["/admin/users",t]};function rh(t,e){if(1&t&&(s.TgZ(0,"div",4),s._UZ(1,"mat-icon",5),s.ALo(2,"translate"),s.TgZ(3,"div",6),s.TgZ(4,"div",7),s.TgZ(5,"a",8),s._uU(6),s.ALo(7,"userFullName"),s.qZA(),s.TgZ(8,"span",9),s._uU(9),s.qZA(),s.YNc(10,th,3,0,"button",10),s.qZA(),s.TgZ(11,"div"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"span",11),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.s9C("matTooltip",s.lcZ(2,11,"ADMIN_USER.ENTITY")),s.Q6J("ngStyle",s.DdM(21,eh)),s.xp6(4),s.Q6J("routerLink",s.VKq(22,nh,t.user.id)),s.xp6(1),s.hij(" ",s.lcZ(7,13,t.user)," "),s.xp6(3),s.hij(" \xa0#",t.user.id," "),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(2),s.AsE(" ",s.lcZ(13,15,"ADMIN_USER.UUID"),": ",t.user.uuid," "),s.xp6(3),s.lnq(" ",s.lcZ(16,17,"ADMIN_USER.ENTITY"),", ",s.lcZ(17,19,"ADMIN_USER.USER_TYPE"),": ",t.getUserType()," ")}}let ih=(()=>{class t{constructor(t,e,n,r,i,o){this.route=t,this.usersService=e,this.sideMenuService=n,this.sideMenuItemService=r,this.dialog=i,this.authResolver=o,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.userId;this.path=`/admin/users/${e}`,this.regex="/admin/users/\\d+",this.usersService.getUserById(e).subscribe(t=>{this.user=t;const e=this.sideMenuItemService.parseUser(t,this.path,this.regex);this.sideMenuService.setAdminItems([e]),this.loading=!1},()=>this.loading=!1)})}editUser(){const t=(0,tt.kZ)();t.width="450px",t.data={theme:"admin-theme",user:this.user},this.dialog.open($l,t).afterClosed().subscribe(t=>{t&&this.usersService.getUserById(this.user.id).subscribe(t=>{this.user=t})})}getUserType(){return this.user.serviceUser?"Service":"Person"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.Fv),s.Y36(u.D),s.Y36(a.V),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-user-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],["class","mr-auto ml-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.YNc(2,Kl,1,0,"mat-spinner",1),s.YNc(3,rh,18,24,"div",2),s._UZ(4,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&void 0!==e.user))},directives:[c.W,i.O5,h.A,E.$g,l.Hw,M.gM,i.PC,o.yS,x.lW],pipes:[f.X$,Xl.d],styles:[""]}),t})();var oh=n(71956),ah=n(15879),sh=n(31612),uh=n(40790),ch=n(95690),lh=n(68787),hh=n(4359);function fh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw().onLoad()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.EXT_SOURCES.LOAD")," "))}function dh(t,e){1&t&&s._UZ(0,"mat-spinner",6)}const ph=function(){return["id","name","type"]};function gh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-ext-sources-list",7),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("extSources",t.extSources)("filterValue",t.filterValue)("displayedColumns",s.DdM(4,ph))("pageSize",t.pageSize)}}let mh=(()=>{class t{constructor(t,e,n,r,i){this.extSourceService=t,this.notificator=e,this.tableConfigService=n,this.translate=r,this.authResolver=i,this.extSources=[],this.filterValue="",this.loading=!1,this.tableId=et.qy,this.translate.get("ADMIN.EXT_SOURCES.LOAD_SUCCESS").subscribe(t=>this.loadSuccess=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}applyFilter(t){this.filterValue=t}onLoad(){this.extSourceService.loadExtSourcesDefinitions().subscribe(()=>{this.notificator.showSuccess(this.loadSuccess),this.refreshTable()})}refreshTable(){this.loading=!0,this.extSourceService.getExtSources().subscribe(t=>{this.extSources=t,this.loading=!1})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.KG),s.Y36(w.V6),s.Y36(et.dB),s.Y36(f.sK),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-ext-sources"]],decls:8,vars:7,consts:[[1,"page-subtitle"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"extSources","filterValue","displayedColumns","pageSize","page",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"extSources","filterValue","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,fh,3,3,"button",1),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(6,dh,1,0,"mat-spinner",3),s.YNc(7,gh,1,5,"app-ext-sources-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"ADMIN.EXT_SOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.EXT_SOURCES.SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,at.L,x.lW,E.$g,hh.D],pipes:[f.X$],styles:[""]}),t})();var vh=n(7233),yh=n(67004),_h=n(86593);function wh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",14),s.NdJ("page",function(e){return s.CHM(t),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("users",t.identities)("disableRouting",!0)("selection",t.selection)}}function bh(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,wh,1,5,"app-users-list",13),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",void 0!==t.identities&&t.identities.length>0)}}function xh(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","info"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function Eh(t,e){1&t&&(s.TgZ(0,"app-alert",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function Th(t,e){1&t&&s._UZ(0,"mat-spinner",17)}let Ah=(()=>{class t{constructor(t,e,n,r,i,o,a){this.dialogRef=t,this.data=e,this.tableConfigService=n,this.userManager=r,this.storeService=i,this.notificator=o,this.translate=a,this.loading=!1,this.selection=new v.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=et.Iz}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new L.NI("",[L.kI.required,L.kI.pattern(".*[\\S]+.*")])}onAdd(){let t,e;this.loading=!0,this.isService?(t=this.selection.selected[0].id,e=this.userId):(t=this.userId,e=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(t,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.firstSearchDone=!0;let t=[yh.r.USER_DEF_ORGANIZATION,yh.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,t).subscribe(t=>{this.identities=this.filterIdentities(t),this.loading=!1},()=>{this.loading=!1})}onKeyInput(t){"Enter"===t.key&&this.onSearchByString()}filterIdentities(t){return t.filter(this.isService?t=>!t.serviceUser:t=>t.serviceUser)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(w.d6),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],[3,"alert_type",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page",4,"ngIf"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page"],[3,"alert_type"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.NdJ("keyup",function(t){return e.onKeyInput(t)}),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"mat-form-field",3),s.TgZ(6,"label"),s._UZ(7,"input",4),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"mat-error"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onSearchByString()}),s.TgZ(13,"mat-icon"),s._uU(14,"search"),s.qZA(),s.qZA(),s.YNc(15,bh,2,1,"div",6),s.YNc(16,xh,3,4,"app-alert",7),s.YNc(17,Eh,3,3,"app-alert",8),s.qZA(),s.YNc(18,Th,1,0,"mat-spinner",9),s.TgZ(19,"div",10),s.TgZ(20,"button",11),s.NdJ("click",function(){return e.onCancel()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.TgZ(23,"button",12),s.NdJ("click",function(){return e.onAdd()}),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),s.xp6(5),s.s9C("placeholder",s.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),s.Q6J("formControl",e.searchCtrl),s.xp6(3),s.hij(" ",s.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.firstSearchDone),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(3),s.hij(" ",s.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[y.uh,y.xY,O.KE,R.Nt,L.Fj,L.JJ,L.oH,O.TO,x.lW,l.Hw,i.O5,y.H8,_h.C,T.w,E.$g],pipes:[f.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t})();function Sh(t,e){1&t&&s._UZ(0,"th",12)}function Ih(t,e){if(1&t&&(s.TgZ(0,"td",13),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,t)," ")}}function Ch(t,e){1&t&&s._UZ(0,"tr",14)}function Dh(t,e){1&t&&s._UZ(0,"tr",15)}let Nh=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.userManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.userId=this.data.userId,this.dataSource=new _.by([this.data.specificUser]),this.isService=this.data.isService}onConfirm(){let t,e;this.isService?(t=this.dataSource.data[0].id,e=this.userId):(t=this.userId,e=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(t,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.Fv),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-disconnect-identity-dialog"]],decls:24,vars:21,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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.TgZ(4,"div",1),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"div",2),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"table",3),s.ynx(12,4),s.YNc(13,Sh,1,0,"th",5),s.YNc(14,Ih,3,3,"td",6),s.BQk(),s.YNc(15,Ch,1,0,"tr",7),s.YNc(16,Dh,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(17,"div",9),s.TgZ(18,"button",10),s.NdJ("click",function(){return e.onCancel()}),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"button",11),s.NdJ("click",function(){return e.onConfirm()}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,11,"DIALOGS.DISCONNECT_IDENTITY.TITLE")),s.xp6(2),s.Tol(e.theme),s.xp6(3),s.Oqu(s.lcZ(7,13,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION")),s.xp6(3),s.hij(" ",s.lcZ(10,15,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),s.xp6(2),s.Q6J("dataSource",e.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(20,17,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(23,19,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[y.uh,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,y.H8,x.lW,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$,Xl.d],styles:[""]}),t})();function kh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function Zh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE")," "))}function Mh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE")," ")}}function Oh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("users",t.identities)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function Rh(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES")," "))}function Lh(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let Uh=(()=>{class t{constructor(t,e,n,r,i,o){this.route=t,this.dialog=e,this.router=n,this.tableConfigService=r,this.userManager=i,this.authResolver=o,this.loading=!1,this.selection=new v.Ov(!1,[]),this.identities=[],this.tableId=et.Iz,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.userId=t.userId,this.userManager.getSpecificUsersByUser(this.userId).subscribe(t=>{this.identities=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(t=>{this.identities=t,this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!1},this.dialog.open(Ah,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme"},this.dialog.open(Nh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(y.uw),s.Y36(o.F0),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-settings-service-identities"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,kh,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,Zh,3,3,"button",2),s.YNc(6,Mh,3,4,"button",3),s.YNc(7,Oh,1,4,"app-users-list",4),s.YNc(8,Rh,3,3,"app-alert",5),s.qZA(),s.YNc(9,Lh,1,0,"mat-spinner",6)),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",void 0!==e.identities&&e.identities.length>0),s.xp6(1),s.Q6J("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[i.O5,ot.t,x.lW,_h.C,T.w,E.$g],pipes:[f.X$],styles:[""]}),t})();var Ph=n(56238),Fh=n(79996);function qh(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function zh(t,e){if(1&t&&(s.TgZ(0,"mat-option",14),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t.name," ")}}function jh(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"mat-form-field",8),s._UZ(2,"input",9),s.ALo(3,"translate"),s.TgZ(4,"mat-error"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"mat-form-field",8),s._UZ(8,"input",10),s.ALo(9,"translate"),s.TgZ(10,"mat-error"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"mat-autocomplete",11,12),s.YNc(15,zh,2,2,"mat-option",13),s.ALo(16,"async"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(14),e=s.oxw();s.xp6(2),s.s9C("placeholder",s.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),s.Q6J("formControl",e.loginControl),s.xp6(3),s.hij(" ",s.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),s.Q6J("formControl",e.extSourcesControl)("matAutocomplete",t),s.xp6(3),s.hij(" ",s.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),s.xp6(2),s.Q6J("displayWith",e.displayFn),s.xp6(2),s.Q6J("ngForOf",s.lcZ(16,17,e.filteredExtSources))}}let Yh=(()=>{class t{constructor(t,e,n,r,i,o){this.dialogRef=t,this.data=e,this.extSourcesManagerService=n,this.usersManagerService=r,this.translate=i,this.notificator=o,this.extSources=[],i.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.loginControl=new L.NI("",[L.kI.required,L.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new L.NI("",[L.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,Ph.O)(""),(0,Fh.U)(t=>this._filter(t))),this.extSourcesManagerService.getExtSources().subscribe(t=>{this.extSources=t,this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,Ph.O)(""),(0,Fh.U)(t=>this._filter(t))),this.loading=!1},()=>this.loading=!1)}displayFn(t){return t?t.name:null}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}_filter(t){const e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.extSources.filter(t=>t.name.toLowerCase().includes(e))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KG),s.Y36(b.Fv),s.Y36(f.sK),s.Y36(w.V6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[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"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,qh,1,0,"mat-spinner",2),s.YNc(5,jh,17,19,"div",3),s.qZA(),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.onAdd()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),s.xp6(3),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[y.uh,y.xY,i.O5,y.H8,x.lW,E.$g,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,ye.ZL,ye.XC,i.sg,z.ey],pipes:[f.X$,i.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t})();var Bh=n(61189),Jh=n(23888);function Gh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().addIdentity()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD")))}function Vh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().removeIdentity()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"))}}function Hh(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function Qh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-user-ext-sources-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("displayedColumns",t.displayedColumns)("selection",t.selection)("userExtSources",t.userExtSources)("pageSize",t.pageSize)}}let Wh=(()=>{class t{constructor(t,e,n,r,i,o,a){this.usersManagerService=t,this.storage=e,this.registrarManagerService=n,this.dialog=r,this.route=i,this.tableConfigService=o,this.authResolver=a,this.userExtSources=[],this.selection=new v.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=et.gG}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.refreshTable()}refreshTable(){this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(t=>{this.userExtSources=t,this.loading=!1},()=>this.loading=!1)}addIdentity(){const t=(0,tt.kZ)();t.width="400px",t.data={userId:this.userId},this.dialog.open(Yh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeIdentity(){const t=(0,tt.kZ)();t.width="400px",t.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(Bh.Lc,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(w.d6),s.Y36(b.tk),s.Y36(y.uw),s.Y36(o.gz),s.Y36(et.dB),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-identities"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(4,Gh,3,3,"button",2),s.YNc(5,Vh,3,4,"button",3),s.TgZ(6,"div",4),s.YNc(7,Hh,1,0,"mat-spinner",5),s.qZA(),s.YNc(8,Qh,2,4,"div",6)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,"USER_DETAIL.IDENTITIES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,x.lW,E.$g,Jh.j],pipes:[f.X$],styles:[""]}),t})();function $h(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function Xh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-form-field"),s.TgZ(2,"input",6),s.NdJ("change",function(){return s.CHM(t),s.oxw().makePath()}),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-error"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"mat-form-field"),s.TgZ(8,"input",7),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().description=e}),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"mat-form-field"),s._UZ(11,"input",8),s.ALo(12,"translate"),s.TgZ(13,"mat-error"),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.TgZ(16,"mat-form-field"),s._UZ(17,"input",8),s.ALo(18,"translate"),s.TgZ(19,"mat-error"),s._uU(20),s.ALo(21,"translate"),s.qZA(),s.qZA(),s.TgZ(22,"mat-form-field"),s._UZ(23,"input",8),s.ALo(24,"translate"),s.TgZ(25,"mat-error"),s._uU(26),s.ALo(27,"translate"),s.qZA(),s.qZA(),s.TgZ(28,"span",9),s._uU(29),s.ALo(30,"translate"),s.TgZ(31,"mat-checkbox",10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().status=e}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.s9C("placeholder",s.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),s.Q6J("formControl",t.nameControl),s.xp6(3),s.Oqu(s.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),s.xp6(3),s.s9C("placeholder",s.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),s.Q6J("ngModel",t.description),s.xp6(3),s.s9C("placeholder",s.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),s.Q6J("formControl",t.delayControl),s.xp6(3),s.Oqu(s.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),s.xp6(3),s.s9C("placeholder",s.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),s.Q6J("formControl",t.recurrenceControl),s.xp6(3),s.Oqu(s.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),s.xp6(3),s.s9C("placeholder",s.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),s.Q6J("formControl",t.pathControl),s.xp6(3),s.Oqu(s.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),s.xp6(3),s.hij("",s.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),s.xp6(2),s.Q6J("ngModel",t.status),s.xp6(1),s.Oqu(s.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function Kh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",11),s.TgZ(1,"button",12),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",13),s.NdJ("click",function(){s.CHM(t);const e=s.oxw();return e.asEdit?e.onEdit():e.onCreate()}),s._uU(5),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.nameControl.invalid||t.delayControl.invalid||t.recurrenceControl.invalid||t.pathControl.invalid),s.xp6(1),s.hij(" ",t.buttonText," ")}}let tf=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.loading=!1,this.status=!0,this.nameControl=new L.NI("",[L.kI.required,L.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new L.NI(10,[L.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new L.NI(2,[L.kI.pattern("^[0-9]*$")]),this.pathControl=new L.NI("",[L.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.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,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),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,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})}onCancel(){this.dialogRef.close(!1)}makePath(){const t="./".concat(this.nameControl.value);this.pathControl.setValue(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.qZA(),s.YNc(3,$h,1,0,"mat-spinner",1),s.YNc(4,Xh,34,39,"div",2),s.YNc(5,Kh,6,5,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(e.title),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,L.On,q.oG,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();var ef=n(20247);let nf=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"],this.dataSource=new _.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}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(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-service-dialog"]],decls:2,vars:7,consts:[[3,"anotherMessage","entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(t){return e.onSubmit(t)}),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(1),s.Q6J("anotherMessage",e.anotherMessage)("entityNames",e.dataSource)("entityType","services")("relations",e.relations))},directives:[ef.e],styles:[""]}),t})();function rf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().createService()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.SERVICES.CREATE"),""))}function of(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().deleteService()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.SERVICES.DELETE"),"")}}function af(t,e){1&t&&s._UZ(0,"mat-spinner",9)}function sf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-services-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("selection",t.selection)("services",t.services)("filterValue",t.filterValue)}}let uf=(()=>{class t{constructor(t,e,n,r){this.tableConfigService=t,this.serviceManager=e,this.dialog=n,this.authResolver=r,this.selection=new v.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=et.NL}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.serviceManager.getServices().subscribe(t=>{this.services=t,this.refreshTable()})}createService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"admin-theme"},this.dialog.open(tf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}deleteService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(nf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(t=>{this.services=t,this.selection.clear(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(et.dB),s.Y36(b.KK),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,rf,3,3,"button",2),s.YNc(6,of,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(8,af,1,0,"mat-spinner",5),s.YNc(9,sf,1,4,"app-services-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"ADMIN.SERVICES.TITLE")),s.xp6(3),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("placeholder","ADMIN.SERVICES.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,lt.Q],pipes:[f.X$],styles:[""]}),t})();var cf=n(88884);function lf(t,e){1&t&&s._UZ(0,"mat-spinner",5)}const hf=function(){return["id","name","vo","facility","description"]};function ff(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",6),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("resources",t.resources)("filterValue",t.filterValue)("displayedColumns",s.DdM(4,hf))}}let df=(()=>{class t{constructor(t,e,n){this.userManager=t,this.tableConfigService=e,this.route=n,this.resources=[],this.tableId=et.kO,this.filterValue=""}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.userManager.getAssignedRichResourcesForUser(t.userId).subscribe(t=>{this.resources=t,this.loading=!1})})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}resourceFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.Fv),s.Y36(et.dB),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","resources","filterValue","displayedColumns","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","resources","filterValue","displayedColumns","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.resourceFilter(t)}),s.qZA(),s.YNc(6,lf,1,0,"mat-spinner",3),s.YNc(7,ff,1,5,"perun-web-apps-resources-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,at.L,i.O5,E.$g,cf.C],pipes:[f.X$],styles:[""]}),t})();var pf=n(13572),gf=n(40695),mf=n(41186);const vf=["list"];function yf(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function _f(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attributes-list",8,9),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("attributes",t.attributes)("selection",t.selection)}}let wf=(()=>{class t{constructor(t,e,n,r,i){this.dialog=t,this.attributesManager=e,this.tableConfigService=n,this.userService=r,this.route=i,this.loading=!1,this.selection=new v.Ov(!0,[]),this.tableId=et.rF,this.attributes=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.userService.getUserExtSourceById(t.identityId).subscribe(t=>{this.userExtSource=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(t=>{this.attributes=(0,tt.MX)(t),this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1050px",t.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(gf.n,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=(0,tt.kZ)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Bh.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="450px",t.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(pf.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.uw),s.Y36(b.H8),s.Y36(et.dB),s.Y36(b.Fv),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){if(1&t&&s.Gf(vf,5),2&t){let t;s.iGM(t=s.CRH())&&(e.list=t.first)}},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"button",2),s.NdJ("click",function(){return e.onSave()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"button",3),s.NdJ("click",function(){return e.onAdd()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"button",4),s.NdJ("click",function(){return e.onRemove()}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.YNc(14,yf,1,0,"mat-spinner",5),s.YNc(15,_f,2,3,"perun-web-apps-attributes-list",6),s.qZA()),2&t&&(s.xp6(2),s.AsE("",s.lcZ(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),s.xp6(3),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),s.xp6(3),s.Oqu(s.lcZ(10,13,"SHARED.IDENTITY_DETAIL.ADD")),s.xp6(2),s.Q6J("disabled",0===e.selection.selected.length),s.xp6(1),s.Oqu(s.lcZ(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,x.lW,i.O5,E.$g,mf.p],pipes:[f.X$],styles:[""]}),t})();function bf(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function xf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",15),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).editService()}),s.TgZ(1,"mat-icon"),s._uU(2,"edit"),s.qZA(),s.qZA()}}function Ef(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).removeService()}),s.TgZ(1,"mat-icon"),s._uU(2,"delete_forever"),s.qZA(),s.qZA()}}const Tf=function(){return{color:"black"}},Af=function(t){return["/admin/services",t]};function Sf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",4),s._UZ(1,"mat-icon",5),s.ALo(2,"translate"),s.TgZ(3,"div",6),s.TgZ(4,"div",7),s.TgZ(5,"a",8),s._uU(6),s.qZA(),s.TgZ(7,"span",9),s._uU(8),s.qZA(),s.YNc(9,xf,3,0,"button",10),s.YNc(10,Ef,3,0,"button",11),s.qZA(),s.TgZ(11,"span",12),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"div",12),s._uU(15),s.ALo(16,"translate"),s.TgZ(17,"span"),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"translate"),s.TgZ(21,"button",13),s.NdJ("click",function(){return s.CHM(t),s.oxw().changeServiceStatus()}),s.TgZ(22,"mat-icon",14),s._uU(23),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.s9C("matTooltip",s.lcZ(2,12,"SERVICE_DETAIL.ENTITY")),s.Q6J("ngStyle",s.DdM(22,Tf)),s.xp6(4),s.Q6J("routerLink",s.VKq(23,Af,t.service.id)),s.xp6(1),s.hij(" ",t.service.name," "),s.xp6(2),s.hij(" \xa0 #",t.service.id," "),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",t.authResolver.isPerunAdmin()),s.xp6(2),s.AsE(" ",s.lcZ(13,14,"SERVICE_DETAIL.DESCRIPTION"),": ",t.service.description," "),s.xp6(3),s.hij(" ",s.lcZ(16,16,"SERVICE_DETAIL.STATUS"),": "),s.xp6(3),s.hij(" ",t.service.enabled?s.lcZ(19,18,"SERVICE_DETAIL.ENABLED"):s.lcZ(20,20,"SERVICE_DETAIL.DISABLED")," "),s.xp6(5),s.hij(" ",t.service.enabled?"check_circle_outline":"block"," ")}}let If=(()=>{class t{constructor(t,e,n,r,i,o,a,s,u){this.route=t,this.router=e,this.serviceManager=n,this.sideMenuService=r,this.sideMenuItemService=i,this.dialog=o,this.authResolver=a,this.translate=s,this.notificator=u,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.serviceId=t.serviceId,this.refresh()})}refresh(){this.serviceManager.getServiceById(this.serviceId).subscribe(t=>{this.service=t;const e=this.sideMenuItemService.parseService(this.service);this.sideMenuService.setAdminItems([e]),this.loading=!1},()=>this.loading=!1)}editService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"service-theme",service:this.service},this.dialog.open(tf,t).afterClosed().subscribe(t=>{t&&this.ngOnInit()})}removeService(){const t=(0,tt.kZ)();t.width="600px",t.data={theme:"service-theme",services:[this.service]},this.dialog.open(nf,t).afterClosed().subscribe(t=>{t&&this.router.navigate(["/admin/services"])})}changeServiceStatus(){this.loading=!0,this.serviceManager.updateService({service:{name:this.service.name,description:this.service.description,delay:this.service.delay,recurrence:this.service.recurrence,enabled:!this.service.enabled,script:this.service.script,id:this.service.id,beanName:this.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.STATUS_CHANGE_SUCCESS")),this.refresh()},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(o.F0),s.Y36(b.KK),s.Y36(u.D),s.Y36(a.V),s.Y36(y.uw),s.Y36(w.x4),s.Y36(f.sK),s.Y36(w.V6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"],[1,"align-content-center"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.YNc(2,bf,1,0,"mat-spinner",1),s.YNc(3,Sf,24,25,"div",2),s._UZ(4,"app-animated-router-outlet"),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&void 0!==e.service))},directives:[c.W,i.O5,h.A,E.$g,l.Hw,M.gM,i.PC,o.yS,x.lW],pipes:[f.X$],styles:[""],data:{animation:[ut.Ji]}}),t})(),Cf=(()=>{class t{constructor(){this.navItems=[]}ngOnInit(){this.initNavItems()}initNavItems(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&s._UZ(0,"perun-web-apps-menu-buttons-field",0),2&t&&s.Q6J("items",e.navItems)("size","small")},directives:[g.L],styles:[""]}),t})();function Df(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function Nf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"perun-web-apps-immediate-filter",6),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA(),s._UZ(2,"app-attr-def-list",7),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),s.xp6(1),s.Q6J("selection",t.selection)("definitions",t.attrDefinitions)("disableRouting",!0)("filterValue",t.filterValue)}}function kf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}let Zf=(()=>{class t{constructor(t,e,n,r,i,o){this.dialogRef=t,this.data=e,this.serviceManager=n,this.attributesManager=r,this.notificator=i,this.translate=o,this.attrDefinitions=[],this.selection=new v.Ov(!0,[]),this.filterValue="",this.loading=!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attrDefinitions=t,this.loading=!1})}onAdd(){this.loading=!0;const t=this.selection.selected.map(t=>t.id);this.serviceManager.addRequiredAttributes(this.serviceId,t).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(b.H8),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Df,1,0,"mat-spinner",1),s.YNc(5,Nf,3,5,"div",2),s.YNc(6,kf,7,7,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,at.L,ne,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();function Mf(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function Of(t,e){1&t&&s._UZ(0,"th",15)}function Rf(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.friendlyName," ")}}function Lf(t,e){1&t&&s._UZ(0,"tr",17)}function Uf(t,e){1&t&&s._UZ(0,"tr",18)}function Pf(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Of,1,0,"th",11),s.YNc(10,Rf,2,1,"td",12),s.BQk(),s.YNc(11,Lf,1,0,"tr",13),s.YNc(12,Uf,1,0,"tr",14),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}let Ff=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new _.by(this.data.attrDefinitions)}onConfirm(){this.loading=!0;const t=this.dataSource.data.map(t=>t.id);this.serviceManager.removeRequiredAttributes(this.serviceId,t).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.YNc(4,Mf,1,0,"mat-spinner",1),s.YNc(5,Pf,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onConfirm()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Tol(e.theme),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[y.uh,i.O5,y.H8,x.lW,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,_.ev,_.XQ,_.Gk],pipes:[f.X$],styles:[""]}),t})();function qf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function zf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function jf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Yf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-immediate-filter",10),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA()}2&t&&s.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Bf(t,e){1&t&&s._UZ(0,"mat-spinner",11)}function Jf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-attr-def-list",12),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)})("refreshEvent",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("definitions",t.attrDefinitions)("selection",t.selection)("filterValue",t.filterValue)("disableRouting",!t.authResolver.isPerunAdmin())}}let Gf=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.tableConfigService=e,this.attributeManager=n,this.dialog=r,this.authResolver=i,this.loading=!1,this.filterValue="",this.selection=new v.Ov(!0,[]),this.attrDefinitions=[],this.tableId=et.JO}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.serviceId=t.serviceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.serviceId).subscribe(t=>{this.selection.clear(),this.attrDefinitions=t,this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="950px",t.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Zf,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(Ff,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(et.dB),s.Y36(b.H8),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-required-attributes"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,qf,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,zf,3,3,"button",2),s.YNc(6,jf,3,4,"button",3),s.YNc(7,Yf,1,1,"perun-web-apps-immediate-filter",4),s.YNc(8,Bf,1,0,"mat-spinner",5),s.YNc(9,Jf,1,5,"app-attr-def-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,ot.t,x.lW,at.L,E.$g,ne],pipes:[f.X$],styles:[""]}),t})();function Vf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function Hf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAdd()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function Qf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function Wf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"app-users-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("users",t.associatedUsers)("selection",t.selection)("displayedColumns",t.displayedColumns)}}function $f(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function Xf(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let Kf=(()=>{class t{constructor(t,e,n,r,i){this.route=t,this.dialog=e,this.router=n,this.tableConfigService=r,this.userManager=i,this.loading=!1,this.selection=new v.Ov(!1,[]),this.associatedUsers=[],this.tableId=et.It,this.displayedColumns=["select","id","user","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.userId=t.userId,this.userManager.getUsersBySpecificUser(this.userId).subscribe(t=>{this.associatedUsers=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.userManager.getUsersBySpecificUser(this.userId).subscribe(t=>{this.associatedUsers=t,this.selection.clear(),this.loading=!1})}onAdd(){const t=(0,tt.kZ)();t.width="1250px",t.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(Ah,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,tt.kZ)();t.width="650px",t.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme"},this.dialog.open(Nh,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(y.uw),s.Y36(o.F0),s.Y36(et.dB),s.Y36(b.Fv))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-settings-associated-users"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Vf,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,Hf,3,3,"button",2),s.YNc(6,Qf,3,4,"button",3),s.YNc(7,Wf,1,4,"app-users-list",4),s.YNc(8,$f,3,3,"app-alert",5),s.qZA(),s.YNc(9,Xf,1,0,"mat-spinner",6)),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),s.xp6(1),s.Q6J("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[i.O5,ot.t,x.lW,_h.C,T.w,E.$g],pipes:[f.X$],styles:[""]}),t})();var td=n(60547),ed=n(94357);function nd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA()}}function rd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemove()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function id(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAllow()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function od(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().onBlock()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function ad(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-immediate-filter",10),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA()}2&t&&s.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function sd(t,e){1&t&&s._UZ(0,"mat-spinner",11)}const ud=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function cd(t,e){if(1&t&&s._UZ(0,"app-perun-web-apps-destination-list",12),2&t){const t=s.oxw();s.Q6J("destinations",t.destinations)("selection",t.selection)("pageSize",t.pageSize)("displayedColumns",s.DdM(5,ud))("filterValue",t.filterValue)}}let ld=(()=>{class t{constructor(t,e,n,r,i,o,a){this.route=t,this.tableConfigService=e,this.serviceManager=n,this.notificator=r,this.translate=i,this.dialog=o,this.authResolver=a,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new v.Ov(!0,[]),this.tableId=et.Cf}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.serviceId=t.serviceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.serviceId).subscribe(t=>{this.selection.clear(),this.filterValue="",this.destinations=t,this.loading=!1})}blockServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.blockServiceOnDestination(this.serviceId,e.id).subscribe(()=>{this.blockServiceOnDestinations(t)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}allowServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.unblockServiceOnDestinationById(this.serviceId,e.id).subscribe(()=>{this.allowServiceOnDestinations(t)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}onRemove(){const t=(0,tt.kZ)();t.width="500px",t.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(td.u,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(et.dB),s.Y36(b.KK),s.Y36(w.V6),s.Y36(f.sK),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-service-destinations"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","pageSize","displayedColumns","filterValue",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","pageSize","displayedColumns","filterValue"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,nd,1,0,"perun-web-apps-refresh-button",1),s.YNc(5,rd,3,4,"button",2),s.YNc(6,id,3,4,"button",3),s.YNc(7,od,3,4,"button",2),s.YNc(8,ad,1,1,"perun-web-apps-immediate-filter",4),s.YNc(9,sd,1,0,"mat-spinner",5),s.YNc(10,cd,1,6,"app-perun-web-apps-destination-list",6),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[i.O5,ot.t,x.lW,at.L,E.$g,ed.q],pipes:[f.X$],styles:[""]}),t})();function hd(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function fd(t,e){1&t&&s._UZ(0,"th",13)}function dd(t,e){if(1&t&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.name," ")}}function pd(t,e){1&t&&s._UZ(0,"tr",15)}function gd(t,e){1&t&&s._UZ(0,"tr",16)}function md(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,fd,1,0,"th",9),s.YNc(10,dd,2,1,"td",10),s.BQk(),s.YNc(11,pd,1,0,"tr",11),s.YNc(12,gd,1,0,"tr",12),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function vd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}let yd=(()=>{class t{constructor(t,e,n,r,i){this.dialogRef=t,this.data=e,this.notificator=n,this.translate=r,this.ownersManagerService=i,this.displayedColumns=["name"],this.owners=[]}ngOnInit(){this.dataSource=new _.by(this.data),this.owners=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(y.WI),s.Y36(w.V6),s.Y36(f.sK),s.Y36(b.aC))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,hd,1,0,"mat-spinner",1),s.YNc(4,md,13,9,"div",2),s.YNc(5,vd,7,7,"div",3)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,_.BZ,_.w1,_.fO,_.Dz,_.as,_.nj,_.ge,_.ev,_.XQ,_.Gk,y.H8,x.lW],pipes:[f.X$],styles:[""]}),t})();function _d(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function wd(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function bd(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function xd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",6),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",6),s.ALo(10,"translate"),s.YNc(11,wd,3,3,"mat-error",3),s.YNc(12,bd,3,3,"mat-error",3),s.qZA(),s.TgZ(13,"mat-form-field"),s.TgZ(14,"mat-select",7),s.NdJ("valueChange",function(e){return s.CHM(t),s.oxw().type=e}),s.TgZ(15,"mat-option",8),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"mat-option",9),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(21,"div",10),s.TgZ(22,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(23),s.ALo(24,"translate"),s.qZA(),s.TgZ(25,"div",12),s.ALo(26,"translate"),s.TgZ(27,"button",13),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),s.Q6J("formControl",t.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),s.Q6J("formControl",t.contactCtrl),s.xp6(2),s.Q6J("ngIf",t.contactCtrl.hasError("required")),s.xp6(1),s.Q6J("ngIf",t.contactCtrl.invalid&&!t.contactCtrl.hasError("required")),s.xp6(2),s.Q6J("value",t.type),s.xp6(2),s.Oqu(s.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),s.xp6(3),s.Oqu(s.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),s.xp6(4),s.hij(" ",s.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),s.Q6J("matTooltipDisabled",t.nameCtrl.valid&&t.contactCtrl.valid),s.xp6(2),s.Q6J("disabled",t.nameCtrl.invalid||t.contactCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}let Ed=(()=>{class t{constructor(t,e,n,r){this.dialogRef=t,this.notificator=e,this.ownersManagerService=n,this.translate=r,this.type="1",r.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.nameCtrl=new L.NI(null,[L.kI.required,L.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new L.NI(null,[L.kI.required,L.kI.pattern(tt.B2)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number.parseInt(this.type,10)}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(y.so),s.Y36(w.V6),s.Y36(b.aC),s.Y36(f.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-add-owner-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"],[3,"value","valueChange"],["value","1"],["value","0"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_d,1,0,"mat-spinner",2),s.YNc(5,xd,30,31,"div",3),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[y.uh,i.O5,E.$g,y.xY,O.KE,R.Nt,L.Fj,L.Q7,L.JJ,L.oH,O.TO,P.gD,z.ey,y.H8,x.lW,M.gM],pipes:[f.X$],styles:[""]}),t})();var Td=n(17767);function Ad(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().addOwner()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function Sd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().removeOwner()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",!t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function Id(t,e){1&t&&s._UZ(0,"mat-spinner",10)}function Cd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-owners-list",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("owners",t.owners)("selection",t.selected)}}let Dd=(()=>{class t{constructor(t,e,n,r){this.ownersManagerService=t,this.tableConfigService=e,this.dialog=n,this.guiAuthResolver=r,this.owners=[],this.selected=new v.Ov(!0,[]),this.filterValue="",this.tableId=et.v1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}refreshTable(){this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=t,this.selected.clear(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addOwner(){const t=(0,tt.kZ)();t.width="400px",t.data={},this.dialog.open(Ed,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeOwner(){const t=(0,tt.kZ)();t.width="400px",t.data=this.selected.selected,this.dialog.open(yd,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.aC),s.Y36(et.dB),s.Y36(y.uw),s.Y36(w.x4))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","selection","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",2),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,Ad,3,3,"button",3),s.YNc(6,Sd,3,4,"button",4),s.TgZ(7,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(8,Id,1,0,"mat-spinner",6),s.YNc(9,Cd,1,4,"perun-web-apps-owners-list",7),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"ADMIN.OWNERS.TITLE")),s.xp6(3),s.Q6J("ngIf",e.addAuth),s.xp6(1),s.Q6J("ngIf",e.removeAuth),s.xp6(1),s.Q6J("placeholder","ADMIN.OWNERS.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,i.O5,at.L,x.lW,E.$g,Td.Q],pipes:[f.X$],styles:[""]}),t})();var Nd=n(60007);function kd(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function Zd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-facilities-list",6),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("filterValue",t.filterValue)("facilities",t.facilities)("displayedColumns",t.displayedColumns)("pageSize",t.pageSize)}}let Md=(()=>{class t{constructor(t,e,n){this.facilityManager=t,this.tableConfigService=e,this.route=n,this.facilities=[],this.filterValue="",this.tableId=et.zW,this.displayedColumns=["id","name","description"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.userId=t.userId,this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(t=>{this.facilities=t.map(t=>({facility:t})),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b.IQ),s.Y36(et.dB),s.Y36(o.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"filterValue","facilities","displayedColumns","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"filterValue","facilities","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(6,kd,1,0,"mat-spinner",3),s.YNc(7,Zd,1,4,"perun-web-apps-facilities-list",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),s.xp6(3),s.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ot.t,at.L,i.O5,E.$g,Nd.X],pipes:[f.X$],styles:[""]}),t})();var Od=n(19386),Rd=n(55109),Ld=n(64737),Ud=n(78364),Pd=n(541),Fd=n(69012);function qd(t,e){1&t&&s._UZ(0,"mat-spinner")}function zd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-vo-search-select",4),s.NdJ("voSelected",function(e){return s.CHM(t),s.oxw().loadMember(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("vos",t.vos)}}function jd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function Yd(t,e){1&t&&s._UZ(0,"mat-spinner")}const Bd=function(){return["id","recent","name","description","groupStatus","expiration"]};function Jd(t,e){if(1&t&&s._UZ(0,"perun-web-apps-groups-list",13),2&t){const t=s.oxw(4);s.Q6J("displayedColumns",s.DdM(2,Bd))("groups",t.groups)}}const Gd=function(t,e){return["/organizations",t,"members",e]};function Vd(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",7),s.TgZ(2,"span",8),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"a",9),s._uU(6),s.qZA(),s.qZA(),s._UZ(7,"app-member-overview-membership",10),s.TgZ(8,"p",11),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.YNc(11,Jd,1,3,"perun-web-apps-groups-list",12),s.qZA()),2&t){const t=s.oxw(3);s.xp6(3),s.hij("",s.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),s.xp6(2),s.Q6J("routerLink",s.WLB(11,Gd,t.selectedVo.id,t.member.id)),s.xp6(1),s.hij("",t.member.id," "),s.xp6(1),s.Q6J("member",t.member)("vo",t.selectedVo),s.xp6(2),s.Oqu(s.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),s.xp6(2),s.Q6J("ngIf",!t.loading)}}function Hd(t,e){if(1&t&&(s.YNc(0,Yd,1,0,"mat-spinner",1),s.YNc(1,Vd,12,14,"div",1)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function Qd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function Wd(t,e){1&t&&s._UZ(0,"mat-spinner")}function $d(t,e){if(1&t&&s._UZ(0,"app-one-entity-attribute-page",15),2&t){const t=s.oxw(3);s.Q6J("entityId",t.member.id)("entity","member")}}function Xd(t,e){if(1&t&&(s.YNc(0,Wd,1,0,"mat-spinner",1),s.YNc(1,$d,1,2,"app-one-entity-attribute-page",14)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function Kd(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function tp(t,e){1&t&&s._UZ(0,"mat-spinner")}function ep(t,e){if(1&t&&s._UZ(0,"app-two-entity-attribute-page",17),2&t){const t=s.oxw(3);s.Q6J("firstEntityId",t.member.id)("firstEntity","member")("secondEntity","group")}}function np(t,e){if(1&t&&(s.YNc(0,tp,1,0,"mat-spinner",1),s.YNc(1,ep,1,3,"app-two-entity-attribute-page",16)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function rp(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function ip(t,e){1&t&&s._UZ(0,"mat-spinner")}function op(t,e){if(1&t&&s._UZ(0,"app-two-entity-attribute-page",17),2&t){const t=s.oxw(3);s.Q6J("firstEntityId",t.member.id)("firstEntity","member")("secondEntity","resource")}}function ap(t,e){if(1&t&&(s.YNc(0,ip,1,0,"mat-spinner",1),s.YNc(1,op,1,3,"app-two-entity-attribute-page",16)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function sp(t,e){1&t&&(s.TgZ(0,"mat-tab-group"),s.TgZ(1,"mat-tab"),s.YNc(2,jd,2,3,"ng-template",5),s.YNc(3,Hd,2,2,"ng-template",6),s.qZA(),s.TgZ(4,"mat-tab"),s.YNc(5,Qd,2,3,"ng-template",5),s.YNc(6,Xd,2,2,"ng-template",6),s.qZA(),s.TgZ(7,"mat-tab"),s.YNc(8,Kd,2,3,"ng-template",5),s.YNc(9,np,2,2,"ng-template",6),s.qZA(),s.TgZ(10,"mat-tab"),s.YNc(11,rp,2,3,"ng-template",5),s.YNc(12,ap,2,2,"ng-template",6),s.qZA(),s.qZA())}const up=[{path:"",component:p,children:[{path:"",component:m,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:ue,data:{animation:"AdminAttributesPage"}},{path:"users",component:Jl.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:Dd,data:{animation:"AdminOwnersPage"}},{path:"services",component:uf,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:ce,children:[{path:"",component:fe,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:he,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:Se,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Bl,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:mh,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:ih,children:[{path:"",component:oh.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:(()=>{class t{constructor(t,e,n,r){this.route=t,this.usersService=e,this.membersService=n,this.groupService=r,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}ngOnInit(){this.initLoading=!0,this.route.parent.params.subscribe(t=>{this.userId=t.userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(t=>{this.vos=t,this.initLoading=!1},()=>this.initLoading=!1)})}loadMember(t){this.loading=!0,this.selectedVo=t,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(t=>{this.member=t,this.groupService.getMemberRichGroupsWithAttributesByNames(this.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(t=>{this.groups=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.gz),s.Y36(b.Fv),s.Y36(b.uq),s.Y36(b.ff))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-accounts"]],decls:7,vars:6,consts:[[1,"page-title"],[4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","voSelected",4,"ngIf"],[1,"w-50",3,"vos","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"displayedColumns","groups",4,"ngIf"],[3,"displayedColumns","groups"],[3,"entityId","entity",4,"ngIf"],[3,"entityId","entity"],[3,"firstEntityId","firstEntity","secondEntity",4,"ngIf"],[3,"firstEntityId","firstEntity","secondEntity"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,qd,1,0,"mat-spinner",1),s.TgZ(4,"div",2),s.YNc(5,zd,1,1,"perun-web-apps-vo-search-select",3),s.qZA(),s.YNc(6,sp,13,0,"mat-tab-group",1)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"USER_DETAIL.ACCOUNTS.TITLE")),s.xp6(2),s.Q6J("ngIf",e.initLoading),s.xp6(2),s.Q6J("ngIf",!e.initLoading),s.xp6(1),s.Q6J("ngIf",!e.initLoading))},directives:[i.O5,E.$g,Od.M,Rd.SP,Rd.uX,Rd.uD,Rd.Vc,o.yS,Ld.b,Ud.W,Pd.t,Fd.Y],pipes:[f.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),t})(),data:{animation:"UserAccountsPage"}},{path:"attributes",component:ch.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:ah.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:sh.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Wh,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:Md,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:df,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:wf,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:vh.t,data:{animation:"UserRolesPage"}},{path:"settings",component:uh.L,children:[{path:"",component:lh.x,data:{animation:"UserSettingsOverviewPage"}},{path:"service-identities",component:Uh,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:Kf,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:If,children:[{path:"",component:Cf,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:Gf,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:ld,data:{animation:"ServiceDestinationsPage"}}]}];let cp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.Bz.forChild(up)],o.Bz]}),t})();var lp=n(28780),hp=n(22727),fp=n(22280),dp=n(6363);let pp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Ya,Ml,i.ez,cp,lp.m,hp.r,ht.ez,fp.d4,dp.UsersModule]]}),t})()},91721:function(t,e,n){"use strict";n.d(e,{Q:function(){return U}});var r=n(31572),i=n(58623),o=n(67033),a=n(4230),s=n(84140),u=n(88426),c=n(82819),l=n(61511),h=n(29236),f=n(43691),d=n(36922),p=n(84534),g=n(57629),m=n(39571),v=n(48160);function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"th",16),r.TgZ(1,"mat-checkbox",17),r.NdJ("change",function(e){r.CHM(t);const n=r.oxw();return e?n.masterToggle():null}),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function _(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"td",18),r.TgZ(1,"mat-checkbox",19),r.NdJ("change",function(e){const n=r.CHM(t).$implicit,i=r.oxw();return e?i.selection.toggle(n):null})("click",function(t){return t.stopPropagation()}),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(1),r.Q6J("aria-label",n.checkboxLabel(t))("checked",n.selection.isSelected(t))}}function w(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function b(t,e){if(1&t&&(r.TgZ(0,"td",18),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.id)}}function x(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function E(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.name)}}function T(t,e){1&t&&r._UZ(0,"th",16)}function A(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," check_circle_outline "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function S(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," block "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function I(t,e){if(1&t&&(r.TgZ(0,"td",21),r.YNc(1,A,3,3,"mat-icon",22),r.YNc(2,S,3,3,"mat-icon",22),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("ngIf",t.enabled),r.xp6(1),r.Q6J("ngIf",!t.enabled)}}function C(t,e){1&t&&(r.TgZ(0,"th",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function D(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.script)}}function N(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function k(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(t.description)}}function Z(t,e){1&t&&r._UZ(0,"tr",24)}const M=function(t){return["/admin/services",t]};function O(t,e){if(1&t&&r._UZ(0,"tr",25),2&t){const t=e.$implicit,n=r.oxw();r.ekj("cursor-pointer",!n.disableRouting)("disable-outline",n.disableRouting),r.Q6J("perunWebAppsMiddleClickRouterLink",n.disableRouting?null:r.VKq(6,M,t.id))("routerLink",n.disableRouting?null:r.VKq(8,M,t.id))}}function R(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function L(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let U=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new a.Ov(!0,[]),this.disableRouting=!1,this.page=new r.vpe,this.pageSizeOptions=s.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new o.by(this.services),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"enabled":return t.enabled?"true":"false";case"script":return t.script;case"description":return t.description;default:return""}}exportData(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,s.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,s.pR)(t,e,this.getDataForColumn,this),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.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.x4),r.Y36(u.UA))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){if(1&t&&(r.Gf(i.YE,7),r.Gf(s.l9,7)),2&t){let t;r.iGM(t=r.CRH())&&(e.matSort=t.first),r.iGM(t=r.CRH())&&(e.child=t.first)}},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[r.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"perun-web-apps-table-wrapper",1),r.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),r.TgZ(2,"table",2),r.ynx(3,3),r.YNc(4,y,2,3,"th",4),r.YNc(5,_,2,2,"td",5),r.BQk(),r.ynx(6,6),r.YNc(7,w,3,3,"th",7),r.YNc(8,b,2,1,"td",5),r.BQk(),r.ynx(9,8),r.YNc(10,x,3,3,"th",7),r.YNc(11,E,2,1,"td",9),r.BQk(),r.ynx(12,10),r.YNc(13,T,1,0,"th",4),r.YNc(14,I,3,2,"td",9),r.BQk(),r.ynx(15,11),r.YNc(16,C,3,3,"th",4),r.YNc(17,D,2,1,"td",9),r.BQk(),r.ynx(18,12),r.YNc(19,N,3,3,"th",7),r.YNc(20,k,2,1,"td",9),r.BQk(),r.YNc(21,Z,1,0,"tr",13),r.YNc(22,O,1,10,"tr",14),r.qZA(),r.qZA(),r.qZA(),r.YNc(23,R,3,3,"app-alert",15),r.YNc(24,L,3,3,"app-alert",15)),2&t&&(r.Q6J("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),r.xp6(1),r.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),r.xp6(1),r.Q6J("dataSource",e.dataSource),r.xp6(19),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),r.xp6(1),r.Q6J("ngIf",void 0===e.services||0===e.services.length))},directives:[c.l,o.BZ,i.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,i.nU,f.Hw,d.gM,o.XQ,o.Gk,p.YH,g.rH,m.w],pipes:[v.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})()},95914:function(t,e,n){"use strict";function r(t,e){return t(e={exports:{}},e.exports),e.exports}n.r(e),n.d(e,{StackParser:function(){return l},graphviz:function(){return v},graphvizSync:function(){return _},parse:function(){return h},wasmFolder:function(){return s}});var i=r(function(t,e){var n,r=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t){var e,r=void 0!==(t=t||{})?t:{},i={};for(e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);var o,a="./this.program",s="";document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=0!==s.indexOf("blob:")?s.substr(0,s.lastIndexOf("/")+1):"",o=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText};var u,c,l=r.print||console.log.bind(console),h=r.printErr||console.warn.bind(console);for(e in i)i.hasOwnProperty(e)&&(r[e]=i[e]);i=null,r.thisProgram&&(a=r.thisProgram),r.wasmBinary&&(u=r.wasmBinary),"object"!=typeof WebAssembly&&h("no native wasm support detected");var f=new WebAssembly.Table({initial:153,maximum:153,element:"anyfunc"}),d=!1;function p(t,e){t||z("Assertion failed: "+e)}var g,m,v,y,_,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(t,e,n){for(var r=e+n,i=e;t[i]&&!(i>=r);)++i;if(i-e>16&&t.subarray&&w)return w.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function x(t,e){return t?b(v,t,e):""}function E(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function T(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function A(t){g=t,r.HEAP8=m=new Int8Array(t),r.HEAP16=new Int16Array(t),r.HEAP32=y=new Int32Array(t),r.HEAPU8=v=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=_=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var S=r.TOTAL_MEMORY||16777216;function I(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(c=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:S/65536}))&&(g=c.buffer),S=g.byteLength,A(g),y[2080]=5251360;var C=[],D=[],N=[],k=[],Z=!1,M=Math.abs,O=Math.ceil,R=Math.floor,L=Math.min,U=0,P=null;function F(t){U++,r.monitorRunDependencies&&r.monitorRunDependencies(U)}function q(t){if(U--,r.monitorRunDependencies&&r.monitorRunDependencies(U),0==U&&P){var e=P;P=null,e()}}function z(t){throw r.onAbort&&r.onAbort(t),l(t+=""),h(t),d=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function j(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var Y,B,J,G="expatlib.wasm";function V(){try{if(u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}catch(h){z(h)}}j(G)||(Y=G,G=r.locateFile?r.locateFile(Y,s):s+Y);var H={1184:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";e.startElement()},1404:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";e.endElement()},1616:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";e.characterData()}};D.push({func:function(){lt()}});var Q={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Q.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return Q.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Q.normalize(t.join("/"))},join2:function(t,e){return Q.normalize(t+"/"+e)}};function W(t){return r.___errno_location&&(y[r.___errno_location()>>2]=t),t}var $={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:tt.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=$.resolve(t).substr(1),e=$.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(l(b(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(b(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(b(t.output,0)),t.output=[])}}},K={ops_table:null,mount:function(t){return K.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);K.ops_table||(K.ops_table={dir:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,lookup:K.node_ops.lookup,mknod:K.node_ops.mknod,rename:K.node_ops.rename,unlink:K.node_ops.unlink,rmdir:K.node_ops.rmdir,readdir:K.node_ops.readdir,symlink:K.node_ops.symlink},stream:{llseek:K.stream_ops.llseek}},file:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:{llseek:K.stream_ops.llseek,read:K.stream_ops.read,write:K.stream_ops.write,allocate:K.stream_ops.allocate,mmap:K.stream_ops.mmap,msync:K.stream_ops.msync}},link:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,readlink:K.node_ops.readlink},stream:{}},chrdev:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=K.ops_table.dir.node,i.stream_ops=K.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=K.ops_table.file.node,i.stream_ops=K.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=K.ops_table.link.node,i.stream_ops=K.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=K.ops_table.chrdev.node,i.stream_ops=K.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new tt.ErrnoError(32);for(var i=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=tt.root,a="/",s=0;s40)throw new tt.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(tt.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%tt.nameTable.length},hashAddNode:function(t){var e=tt.hashName(t.parent.id,t.name);t.name_next=tt.nameTable[e],tt.nameTable[e]=t},hashRemoveNode:function(t){var e=tt.hashName(t.parent.id,t.name);if(tt.nameTable[e]===t)tt.nameTable[e]=t.name_next;else for(var n=tt.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=tt.mayLookup(t);if(n)throw new tt.ErrnoError(n,t);for(var r=tt.hashName(t.id,e),i=tt.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return tt.lookup(t,e)},createNode:function(t,e,n,r){tt.FSNode||(tt.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=tt.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},tt.FSNode.prototype={},Object.defineProperties(tt.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return tt.isDir(this.mode)}},isDevice:{get:function(){return tt.isChrdev(this.mode)}}}));var i=new tt.FSNode(t,e,n,r);return tt.hashAddNode(i),i},destroyNode:function(t){tt.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=tt.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return tt.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return tt.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return tt.lookupNode(t,e),20}catch(n){}return tt.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=tt.lookupNode(t,e)}catch(o){return o.errno}var i=tt.nodePermissions(t,"wx");if(i)return i;if(n){if(!tt.isDir(r.mode))return 54;if(tt.isRoot(r)||tt.getPath(r)===tt.cwd())return 10}else if(tt.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?tt.isLink(t.mode)?32:tt.isDir(t.mode)&&("r"!==tt.flagsToPermissionString(e)||512&e)?31:tt.nodePermissions(t,tt.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||tt.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!tt.streams[n])return n;throw new tt.ErrnoError(33)},getStream:function(t){return tt.streams[t]},createStream:function(t,e,n){tt.FSStream||(tt.FSStream=function(){},tt.FSStream.prototype={},Object.defineProperties(tt.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new tt.FSStream;for(var i in t)r[i]=t[i];t=r;var o=tt.nextfd(e,n);return t.fd=o,tt.streams[o]=t,t},closeStream:function(t){tt.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=tt.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new tt.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){tt.devices[t]={stream_ops:e}},getDevice:function(t){return tt.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),tt.syncFSRequests++,tt.syncFSRequests>1&&h("warning: "+tt.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=tt.getMounts(tt.root.mount),r=0;function i(t){return tt.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&tt.root)throw new tt.ErrnoError(10);if(!i&&!o){var a=tt.lookupPath(n,{follow_mount:!1});if(n=a.path,tt.isMountpoint(r=a.node))throw new tt.ErrnoError(10);if(!tt.isDir(r.mode))throw new tt.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?tt.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=tt.lookupPath(t,{follow_mount:!1});if(!tt.isMountpoint(e.node))throw new tt.ErrnoError(28);var n=e.node,r=n.mounted,i=tt.getMounts(r);Object.keys(tt.nameTable).forEach(function(t){for(var e=tt.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&tt.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=tt.lookupPath(t,{parent:!0}).node,i=Q.basename(t);if(!i||"."===i||".."===i)throw new tt.ErrnoError(28);var o=tt.mayCreate(r,i);if(o)throw new tt.ErrnoError(o);if(!r.node_ops.mknod)throw new tt.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,tt.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,tt.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):at(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,l("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=tt.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,y[n+4>>2]=0,y[n+8>>2]=r.ino,y[n+12>>2]=r.mode,y[n+16>>2]=r.nlink,y[n+20>>2]=r.uid,y[n+24>>2]=r.gid,y[n+28>>2]=r.rdev,y[n+32>>2]=0,J=[r.size>>>0,(B=r.size,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+40>>2]=J[0],y[n+44>>2]=J[1],y[n+48>>2]=4096,y[n+52>>2]=r.blocks,y[n+56>>2]=r.atime.getTime()/1e3|0,y[n+60>>2]=0,y[n+64>>2]=r.mtime.getTime()/1e3|0,y[n+68>>2]=0,y[n+72>>2]=r.ctime.getTime()/1e3|0,y[n+76>>2]=0,J=[r.ino>>>0,(B=r.ino,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+80>>2]=J[0],y[n+84>>2]=J[1],0},doMsync:function(t,e,n,r,i){var o=v.slice(t,t+n);tt.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=Q.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),tt.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return tt.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=tt.readlink(t),i=Math.min(n,T(r)),o=m[e+i];return E(r,v,e,n+1),m[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=tt.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&tt.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=tt.getStream(n);return r&&tt.close(r),tt.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=tt.read(t,m,y[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],y[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return et.varargs+=4,y[et.varargs-4>>2]},getStr:function(){return x(et.get())},getStreamFromFD:function(t){void 0===t&&(t=et.get());var e=tt.getStream(t);if(!e)throw new tt.ErrnoError(8);return e},get64:function(){var t=et.get();return et.get(),t},getZero:function(){et.get()}};function nt(t){try{return c.grow(t-g.byteLength+65535>>16),A(c.buffer),1}catch(e){}}var rt={};function it(){if(!it.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in rt)t[e]=rt[e];var n=[];for(var e in t)n.push(e+"="+t[e]);it.strings=n}return it.strings}function ot(t,e){ot.array||(ot.array=[]);var n,r=ot.array;for(r.length=0;n=v[t++];)100===n||102===n?(r.push(_[(e=e+7&-8)>>3]),e+=8):(r.push(y[(e=e+3&-4)>>2]),e+=4);return r}function at(t,e,n){var r=n>0?n:T(t)+1,i=new Array(r),o=E(t,i,0,i.length);return e&&(i.length=o),i}tt.staticInit();var st={h:function(t,e){et.varargs=e;try{return 42}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),-n.errno}},e:function(){z()},a:function(t,e,n){var r=ot(e,n);return H[t].apply(null,r)},c:function(t,e,n){v.set(v.subarray(e,e+n),t)},d:function(t){var e=v.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),nt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},f:function(t,e){var n=it(),r=0;return n.forEach(function(n,i){var o=e+r;y[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);m[e>>0]=0}(n,o),r+=n.length+1}),0},g:function(t,e){var n=it();y[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),y[e>>2]=r,0},j:function(t){try{var e=et.getStreamFromFD(t);return tt.close(e),0}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),n.errno}},i:function(t,e,n,r,i){try{var o=et.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(tt.llseek(o,a,r),J=[o.position>>>0,(B=o.position,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[i>>2]=J[0],y[i+4>>2]=J[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||z(s),s.errno}},b:function(t,e,n,r){try{var i=et.getStreamFromFD(t),o=et.doWritev(i,e,n);return y[r>>2]=o,0}catch(a){return void 0!==tt&&a instanceof tt.ErrnoError||z(a),a.errno}},k:function(t){var e=Date.now();return y[t>>2]=e/1e3|0,y[t+4>>2]=e%1e3*1e3|0,0},memory:c,table:f},ut=function(){var t={a:st};function e(t,e){r.asm=t.exports,q()}function n(t){e(t.instance)}function i(e){return(u||"function"!=typeof fetch?new Promise(function(t,e){t(V())}):fetch(G,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+G+"'";return t.arrayBuffer()}).catch(function(){return V()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){h("failed to asynchronously prepare wasm: "+t),z(t)})}if(F(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return h("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(u||"function"!=typeof WebAssembly.instantiateStreaming||j(G)||"function"!=typeof fetch)return i(n);fetch(G,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){h("wasm streaming compile failed: "+t),h("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=ut;var ct,lt=r.___wasm_call_ctors=function(){return(lt=r.___wasm_call_ctors=r.asm.l).apply(null,arguments)},ht=r._emscripten_bind_CExpat_CExpat_0=function(){return(ht=r._emscripten_bind_CExpat_CExpat_0=r.asm.m).apply(null,arguments)},ft=r._emscripten_bind_CExpat_create_0=function(){return(ft=r._emscripten_bind_CExpat_create_0=r.asm.n).apply(null,arguments)},dt=r._emscripten_bind_CExpat_destroy_0=function(){return(dt=r._emscripten_bind_CExpat_destroy_0=r.asm.o).apply(null,arguments)},pt=r._emscripten_bind_CExpat_parse_1=function(){return(pt=r._emscripten_bind_CExpat_parse_1=r.asm.p).apply(null,arguments)},gt=r._emscripten_bind_CExpat_tag_0=function(){return(gt=r._emscripten_bind_CExpat_tag_0=r.asm.q).apply(null,arguments)},mt=r._emscripten_bind_CExpat_attrs_0=function(){return(mt=r._emscripten_bind_CExpat_attrs_0=r.asm.r).apply(null,arguments)},vt=r._emscripten_bind_CExpat_content_0=function(){return(vt=r._emscripten_bind_CExpat_content_0=r.asm.s).apply(null,arguments)},yt=r._emscripten_bind_CExpat_startElement_0=function(){return(yt=r._emscripten_bind_CExpat_startElement_0=r.asm.t).apply(null,arguments)},_t=r._emscripten_bind_CExpat_endElement_0=function(){return(_t=r._emscripten_bind_CExpat_endElement_0=r.asm.u).apply(null,arguments)},wt=r._emscripten_bind_CExpat_characterData_0=function(){return(wt=r._emscripten_bind_CExpat_characterData_0=r.asm.v).apply(null,arguments)},bt=r._emscripten_bind_CExpat___destroy___0=function(){return(bt=r._emscripten_bind_CExpat___destroy___0=r.asm.w).apply(null,arguments)},xt=r._emscripten_bind_CExpatJS_CExpatJS_0=function(){return(xt=r._emscripten_bind_CExpatJS_CExpatJS_0=r.asm.x).apply(null,arguments)},Et=r._emscripten_bind_CExpatJS_startElement_0=function(){return(Et=r._emscripten_bind_CExpatJS_startElement_0=r.asm.y).apply(null,arguments)},Tt=r._emscripten_bind_CExpatJS_endElement_0=function(){return(Tt=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},At=r._emscripten_bind_CExpatJS_characterData_0=function(){return(At=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},St=r._emscripten_bind_CExpatJS___destroy___0=function(){return(St=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},It=r._emscripten_bind_VoidPtr___destroy___0=function(){return(It=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},Ct=r._malloc=function(){return(Ct=r._malloc=r.asm.D).apply(null,arguments)};function Dt(t){function e(){ct||(ct=!0,d||(Z=!0,r.noFSInit||tt.init.initialized||tt.init(),X.init(),I(D),tt.ignorePermissions=!1,I(N),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),k.unshift(t);var t;I(k)}()))}U>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),C.unshift(t);var t;I(C)}(),U>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r._free=function(){return(r._free=r.asm.E).apply(null,arguments)},r.___errno_location=function(){return(r.___errno_location=r.asm.F).apply(null,arguments)},r.stackAlloc=function(){return(r.stackAlloc=r.asm.G).apply(null,arguments)},r.dynCall_vi=function(){return(r.dynCall_vi=r.asm.H).apply(null,arguments)},r.asm=ut,r.then=function(t){if(ct)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},P=function t(){ct||Dt(),ct||(P=t)},r.run=Dt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Nt(){}function kt(t){return(t||Nt).__cache__}function Zt(t,e){var n=kt(e),r=n[t];return r||((r=Object.create((e||Nt).prototype)).ptr=t,n[t]=r)}Dt(),(Nt.prototype=Object.create(Nt.prototype)).constructor=Nt,Nt.prototype.__class__=Nt,Nt.__cache__={},r.WrapperObject=Nt,r.getCache=kt,r.wrapPointer=Zt,r.castObject=function(t,e){return Zt(t.ptr,e)},r.NULL=Zt(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete kt(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var Mt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Mt.needed){for(var t=0;t=Mt.size?(p(i>0),Mt.needed+=i,n=r._malloc(i),Mt.temps.push(n)):(n=Mt.buffer+Mt.pos,Mt.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i=r);)++i;if(i-e>16&&t.subarray&&A)return A.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function I(t,e){return t?S(b,t,e):""}function C(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function D(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function N(t){_=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=b=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=T=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var k=r.TOTAL_MEMORY||16777216;function Z(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(d=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:k/65536}))&&(_=d.buffer),k=_.byteLength,N(_),E[54772]=5462128;var M=[],O=[],R=[],L=[],U=!1,P=Math.abs,F=Math.ceil,q=Math.floor,z=Math.min,j=0,Y=null;function B(t){j++,r.monitorRunDependencies&&r.monitorRunDependencies(j)}function J(t){if(j--,r.monitorRunDependencies&&r.monitorRunDependencies(j),0==j&&Y){var e=Y;Y=null,e()}}function G(t){throw r.onAbort&&r.onAbort(t),c(t+=""),l(t),v=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function V(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var H,Q,W,$="graphvizlib.wasm";function X(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){G(l)}}V($)||(H=$,$=r.locateFile?r.locateFile(H,u):u+H);var K={1088:function(t,e){var n=I(t),r=I(e);at.createPath("/",nt.dirname(n)),at.writeFile(nt.join("/",n),r)}};function tt(){G()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}O.push({func:function(){Et()}});var nt={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=nt.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return nt.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return nt.normalize(t.join("/"))},join2:function(t,e){return nt.normalize(t+"/"+e)}},rt={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:at.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=rt.resolve(t).substr(1),e=rt.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(c(S(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(S(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(S(t.output,0)),t.output=[])}}},ot={ops_table:null,mount:function(t){return ot.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(at.isBlkdev(n)||at.isFIFO(n))throw new at.ErrnoError(63);ot.ops_table||(ot.ops_table={dir:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,lookup:ot.node_ops.lookup,mknod:ot.node_ops.mknod,rename:ot.node_ops.rename,unlink:ot.node_ops.unlink,rmdir:ot.node_ops.rmdir,readdir:ot.node_ops.readdir,symlink:ot.node_ops.symlink},stream:{llseek:ot.stream_ops.llseek}},file:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:{llseek:ot.stream_ops.llseek,read:ot.stream_ops.read,write:ot.stream_ops.write,allocate:ot.stream_ops.allocate,mmap:ot.stream_ops.mmap,msync:ot.stream_ops.msync}},link:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,readlink:ot.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:at.chrdev_stream_ops}});var i=at.createNode(t,e,n,r);return at.isDir(i.mode)?(i.node_ops=ot.ops_table.dir.node,i.stream_ops=ot.ops_table.dir.stream,i.contents={}):at.isFile(i.mode)?(i.node_ops=ot.ops_table.file.node,i.stream_ops=ot.ops_table.file.stream,i.usedBytes=0,i.contents=null):at.isLink(i.mode)?(i.node_ops=ot.ops_table.link.node,i.stream_ops=ot.ops_table.link.stream):at.isChrdev(i.mode)&&(i.node_ops=ot.ops_table.chrdev.node,i.stream_ops=ot.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new at.ErrnoError(32);for(var i=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=at.root,a="/",s=0;s40)throw new at.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(at.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%at.nameTable.length},hashAddNode:function(t){var e=at.hashName(t.parent.id,t.name);t.name_next=at.nameTable[e],at.nameTable[e]=t},hashRemoveNode:function(t){var e=at.hashName(t.parent.id,t.name);if(at.nameTable[e]===t)at.nameTable[e]=t.name_next;else for(var n=at.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=at.mayLookup(t);if(n)throw new at.ErrnoError(n,t);for(var r=at.hashName(t.id,e),i=at.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return at.lookup(t,e)},createNode:function(t,e,n,r){at.FSNode||(at.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=at.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},at.FSNode.prototype={},Object.defineProperties(at.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return at.isDir(this.mode)}},isDevice:{get:function(){return at.isChrdev(this.mode)}}}));var i=new at.FSNode(t,e,n,r);return at.hashAddNode(i),i},destroyNode:function(t){at.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=at.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return at.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return at.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return at.lookupNode(t,e),20}catch(n){}return at.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=at.lookupNode(t,e)}catch(o){return o.errno}var i=at.nodePermissions(t,"wx");if(i)return i;if(n){if(!at.isDir(r.mode))return 54;if(at.isRoot(r)||at.getPath(r)===at.cwd())return 10}else if(at.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?at.isLink(t.mode)?32:at.isDir(t.mode)&&("r"!==at.flagsToPermissionString(e)||512&e)?31:at.nodePermissions(t,at.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||at.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!at.streams[n])return n;throw new at.ErrnoError(33)},getStream:function(t){return at.streams[t]},createStream:function(t,e,n){at.FSStream||(at.FSStream=function(){},at.FSStream.prototype={},Object.defineProperties(at.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new at.FSStream;for(var i in t)r[i]=t[i];t=r;var o=at.nextfd(e,n);return t.fd=o,at.streams[o]=t,t},closeStream:function(t){at.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=at.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new at.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){at.devices[t]={stream_ops:e}},getDevice:function(t){return at.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),at.syncFSRequests++,at.syncFSRequests>1&&l("warning: "+at.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=at.getMounts(at.root.mount),r=0;function i(t){return at.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&at.root)throw new at.ErrnoError(10);if(!i&&!o){var a=at.lookupPath(n,{follow_mount:!1});if(n=a.path,at.isMountpoint(r=a.node))throw new at.ErrnoError(10);if(!at.isDir(r.mode))throw new at.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?at.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=at.lookupPath(t,{follow_mount:!1});if(!at.isMountpoint(e.node))throw new at.ErrnoError(28);var n=e.node,r=n.mounted,i=at.getMounts(r);Object.keys(at.nameTable).forEach(function(t){for(var e=at.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&at.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=at.lookupPath(t,{parent:!0}).node,i=nt.basename(t);if(!i||"."===i||".."===i)throw new at.ErrnoError(28);var o=at.mayCreate(r,i);if(o)throw new at.ErrnoError(o);if(!r.node_ops.mknod)throw new at.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,at.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,at.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):_t(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,c("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=at.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,E[n+4>>2]=0,E[n+8>>2]=r.ino,E[n+12>>2]=r.mode,E[n+16>>2]=r.nlink,E[n+20>>2]=r.uid,E[n+24>>2]=r.gid,E[n+28>>2]=r.rdev,E[n+32>>2]=0,W=[r.size>>>0,(Q=r.size,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+40>>2]=W[0],E[n+44>>2]=W[1],E[n+48>>2]=4096,E[n+52>>2]=r.blocks,E[n+56>>2]=r.atime.getTime()/1e3|0,E[n+60>>2]=0,E[n+64>>2]=r.mtime.getTime()/1e3|0,E[n+68>>2]=0,E[n+72>>2]=r.ctime.getTime()/1e3|0,E[n+76>>2]=0,W=[r.ino>>>0,(Q=r.ino,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+80>>2]=W[0],E[n+84>>2]=W[1],0},doMsync:function(t,e,n,r,i){var o=b.slice(t,t+n);at.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=nt.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),at.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return at.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=at.readlink(t),i=Math.min(n,D(r)),o=w[e+i];return C(r,b,e,n+1),w[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=at.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&at.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=at.getStream(n);return r&&at.close(r),at.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=at.read(t,w,E[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],E[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return st.varargs+=4,E[st.varargs-4>>2]},getStr:function(){return I(st.get())},getStreamFromFD:function(t){void 0===t&&(t=st.get());var e=at.getStream(t);if(!e)throw new at.ErrnoError(8);return e},get64:function(){var t=st.get();return st.get(),t},getZero:function(){st.get()}};function ut(t,e,n){e|=0;var r,i=0,o=0,a=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;0!=(3&t);)w[t>>0]=e,t=t+1|0;for(a=e|e<<8|e<<16|e<<24,o=(i=-4&r|0)-64|0;(0|t)<=(0|o);)E[t>>2]=a,E[t+4>>2]=a,E[t+8>>2]=a,E[t+12>>2]=a,E[t+16>>2]=a,E[t+20>>2]=a,E[t+24>>2]=a,E[t+28>>2]=a,E[t+32>>2]=a,E[t+36>>2]=a,E[t+40>>2]=a,E[t+44>>2]=a,E[t+48>>2]=a,E[t+52>>2]=a,E[t+56>>2]=a,E[t+60>>2]=a,t=t+64|0;for(;(0|t)<(0|i);)E[t>>2]=a,t=t+4|0}for(;(0|t)<(0|r);)w[t>>0]=e,t=t+1|0;return r-n|0}var ct=0;function lt(t){try{return d.grow(t-_.byteLength+65535>>16),N(d.buffer),1}catch(e){}}var ht={};function ft(){if(!ft.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in ht)t[e]=ht[e];var n=[];for(var e in t)n.push(e+"="+t[e]);ft.strings=n}return ft.strings}function dt(t){return t%4==0&&(t%100!=0||t%400==0)}function pt(t,e){for(var n=0,r=0;r<=e;n+=t[r++]);return n}var gt=[31,29,31,30,31,30,31,31,30,31,30,31],mt=[31,28,31,30,31,30,31,31,30,31,30,31];function vt(t,e){for(var n=new Date(t.getTime());e>0;){var r=dt(n.getFullYear()),i=n.getMonth(),o=(r?gt:mt)[i];if(!(e>o-n.getDate()))return n.setDate(n.getDate()+e),n;e-=o-n.getDate()+1,n.setDate(1),i<11?n.setMonth(i+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function yt(t,e){yt.array||(yt.array=[]);var n,r=yt.array;for(r.length=0;n=b[t++];)100===n||102===n?(r.push(T[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function _t(t,e,n){var r=n>0?n:D(t)+1,i=new Array(r),o=C(t,i,0,i.length);return e&&(i.length=o),i}tt=function(){return performance.now()},at.staticInit();var wt={M:function(t,e){return function(t,e){var n;if(0===t)n=Date.now();else{if(1!==t&&4!==t)return et(28),-1;n=tt()}return E[e>>2]=n/1e3|0,E[e+4>>2]=n%1e3*1e3*1e3|0,0}(t,e)},k:function(t){return Dt(t)},j:function(t,e,n){throw"uncaught_exception"in Mt?Mt.uncaught_exceptions++:Mt.uncaught_exceptions=1,t},q:function(){},U:function(t,e){return et(63),-1},P:function(t,e){st.varargs=e;try{var n=st.getStr();return at.unlink(n),0}catch(r){return void 0!==at&&r instanceof at.ErrnoError||G(r),-r.errno}},R:function(t,e){st.varargs=e;try{return function(t,e,n,r,i,o){var a;o<<=12;var s=!1;if(0!=(16&r)&&t%16384!=0)return-28;if(0!=(32&r)){if(!(a=Ot(16384,e)))return-48;ut(a,0,e),s=!0}else{var u=at.getStream(i);if(!u)return-8;var c=at.mmap(u,b,t,e,o,n,r);a=c.ptr,s=c.allocated}return st.mappings[a]={malloc:a,len:e,allocated:s,fd:i,flags:r,offset:o},a}(st.get(),st.get(),st.get(),st.get(),st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},S:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doStat(at.stat,n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},T:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();return st.doStat(at.stat,n.path,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},L:function(t,e){st.varargs=e;try{return 42}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},y:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD();switch(st.get()){case 0:return(r=st.get())<0?-28:at.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=st.get();return n.flags|=r,0;case 12:return r=st.get(),x[r+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return et(28),-1;default:return-28}}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},K:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doAccess(n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},z:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get(),i=st.get();return at.open(n,r,i).fd}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},O:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();switch(r){case 21509:case 21505:return n.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var i=st.get();return E[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:return i=st.get(),at.ioctl(n,r,i);case 21523:case 21524:return n.tty?0:-59;default:G("bad ioctl syscall "+r)}}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},Q:function(t,e){st.varargs=e;try{return function(t,e){if(-1===t||0===e)return-28;var n=st.mappings[t];if(!n)return 0;if(e===n.len){var r=at.getStream(n.fd);st.doMsync(t,r,e,n.flags,n.offset),at.munmap(r),st.mappings[t]=null,n.allocated&&Nt(n.malloc)}return 0}(st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},m:function(){},w:function(){G()},C:function(t,e,n){var r=yt(e,n);return K[t].apply(null,r)},d:function(t,e){!function(t,e){throw Zt(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){b.set(b.subarray(e,e+n),t)},F:function(t){var e=b.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),lt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},I:function(t,e){var n=ft(),r=0;return n.forEach(function(n,i){var o=e+r;E[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);w[e>>0]=0}(n,o),r+=n.length+1}),0},J:function(t,e){var n=ft();E[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),E[e>>2]=r,0},l:function(t){!function(t,e){f||(v=!0,r.onExit&&r.onExit(t)),s(t,new $t(t))}(t)},p:function(t){try{var e=st.getStreamFromFD(t);return at.close(e),0}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),n.errno}},H:function(t,e){try{var n=st.getStreamFromFD(t),r=n.tty?2:at.isDir(n.mode)?3:at.isLink(n.mode)?7:4;return w[e>>0]=r,0}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),i.errno}},N:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doReadv(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},D:function(t,e,n,r,i){try{var o=st.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(at.llseek(o,a,r),W=[o.position>>>0,(Q=o.position,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[i>>2]=W[0],E[i+4>>2]=W[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==at&&s instanceof at.ErrnoError||G(s),s.errno}},x:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doWritev(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},a:function(){return 0|p},X:function(t){var e=Date.now();return E[t>>2]=e/1e3|0,E[t+4>>2]=e%1e3*1e3|0,0},Y:function(t){var e=Qt();try{return Vt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},V:function(t,e){var n=Qt();try{return Ht(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},v:function(t){var e=Qt();try{return zt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},f:function(t,e){var n=Qt();try{return jt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},e:function(t,e,n){var r=Qt();try{return Yt(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},g:function(t,e,n,r){var i=Qt();try{return Bt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},n:function(t,e,n,r,i){var o=Qt();try{return Jt(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},W:function(t,e,n,r,i,o,a){var s=Qt();try{return Gt(t,e,n,r,i,o,a)}catch(u){if(Wt(s),u!==u+0&&"longjmp"!==u)throw u;Zt(1,0)}},s:function(t){var e=Qt();try{Rt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},h:function(t,e){var n=Qt();try{Lt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},o:function(t,e,n){var r=Qt();try{Ut(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},u:function(t,e,n,r){var i=Qt();try{Pt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},t:function(t,e,n,r,i){var o=Qt();try{Ft(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},r:function(t,e,n,r,i,o){var a=Qt();try{qt(t,e,n,r,i,o)}catch(s){if(Wt(a),s!==s+0&&"longjmp"!==s)throw s;Zt(1,0)}},memory:d,i:function t(e,n,r,i){n|=0,r|=0,i|=0;var o=0;for(E[(e|=0)>>2]=ct=ct+1|0;(0|o)<(0|i);){if(0==(0|E[r+(o<<3)>>2]))return E[r+(o<<3)>>2]=ct,E[r+(4+(o<<3))>>2]=n,E[r+(8+(o<<3))>>2]=0,g(0|i),0|r;o=o+1|0}return r=0|t(0|e,0|n,0|(r=0|kt(0|r,8*(1+(i=2*i|0)|0)|0)),0|i),g(0|i),0|r},b:function(t){g(0|t)},G:function(t,e,n,r){return function(t,e,n,r){var i=E[r+40>>2],o={tm_sec:E[r>>2],tm_min:E[r+4>>2],tm_hour:E[r+8>>2],tm_mday:E[r+12>>2],tm_mon:E[r+16>>2],tm_year:E[r+20>>2],tm_wday:E[r+24>>2],tm_yday:E[r+28>>2],tm_isdst:E[r+32>>2],tm_gmtoff:E[r+36>>2],tm_zone:i?I(i):""},a=I(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function h(t,e,n){for(var r="number"==typeof t?t.toString():t||"";r.length0?1:0}var r;return 0===(r=n(t.getFullYear()-e.getFullYear()))&&0===(r=n(t.getMonth()-e.getMonth()))&&(r=n(t.getDate()-e.getDate())),r}function p(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function g(t){var e=vt(new Date(t.tm_year+1900,0,1),t.tm_yday),n=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),i=p(n),o=p(r);return d(i,e)<=0?d(o,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var m={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return l[t.tm_mon].substring(0,3)},"%B":function(t){return l[t.tm_mon]},"%C":function(t){return f((t.tm_year+1900)/100|0,2)},"%d":function(t){return f(t.tm_mday,2)},"%e":function(t){return h(t.tm_mday,2," ")},"%g":function(t){return g(t).toString().substring(2)},"%G":function(t){return g(t)},"%H":function(t){return f(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),f(e,2)},"%j":function(t){return f(t.tm_mday+pt(dt(t.tm_year+1900)?gt:mt,t.tm_mon-1),3)},"%m":function(t){return f(t.tm_mon+1,2)},"%M":function(t){return f(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return f(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=new Date(t.tm_year+1900,0,1),n=0===e.getDay()?e:vt(e,7-e.getDay()),r=new Date(t.tm_year+1900,t.tm_mon,t.tm_mday);if(d(n,r)<0){var i=pt(dt(r.getFullYear())?gt:mt,r.getMonth()-1)-31,o=31-n.getDate()+i+r.getDate();return f(Math.ceil(o/7),2)}return 0===d(n,e)?"01":"00"},"%V":function(t){var e,n=new Date(t.tm_year+1900,0,4),r=new Date(t.tm_year+1901,0,4),i=p(n),o=p(r),a=vt(new Date(t.tm_year+1900,0,1),t.tm_yday);return d(a,i)<0?"53":d(o,a)<=0?"01":(e=i.getFullYear()=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(n?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in m)a.indexOf(u)>=0&&(a=a.replace(new RegExp(u,"g"),m[u](o)));var v=_t(a,!1);return v.length>e?0:(function(t,e){w.set(t,e)}(v,t),v.length-1)}(t,e,n,r)},table:m,c:function(t,e,n){t|=0,e|=0,n|=0;for(var r=0,i=0;(0|r)<(0|n)&&0!=(0|(i=0|E[e+(r<<3)>>2]));){if((0|i)==(0|t))return 0|E[e+(4+(r<<3))>>2];r=r+1|0}return 0},A:function(t){var e=Date.now()/1e3|0;return t&&(E[t>>2]=e),e},B:function(t){return 0!==t&&ut(t,0,16),0}},bt=function(){var t={a:wt};function e(t,e){r.asm=t.exports,J()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise(function(t,e){t(X())}):fetch($,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+$+"'";return t.arrayBuffer()}).catch(function(){return X()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){l("failed to asynchronously prepare wasm: "+t),G(t)})}if(B(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return l("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(h||"function"!=typeof WebAssembly.instantiateStreaming||V($)||"function"!=typeof fetch)return i(n);fetch($,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){l("wasm streaming compile failed: "+t),l("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=bt;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},Tt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(Tt=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},At=r._emscripten_bind_Main_layout_3=function(){return(At=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},St=r._emscripten_bind_Main_lastError_0=function(){return(St=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},It=r._emscripten_bind_Main_createFile_2=function(){return(It=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},Ct=r._emscripten_bind_Main___destroy___0=function(){return(Ct=r._emscripten_bind_Main___destroy___0=r.asm.ca).apply(null,arguments)},Dt=r._malloc=function(){return(Dt=r._malloc=r.asm.da).apply(null,arguments)},Nt=r._free=function(){return(Nt=r._free=r.asm.ea).apply(null,arguments)},kt=r._realloc=function(){return(kt=r._realloc=r.asm.fa).apply(null,arguments)},Zt=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Zt=r._setThrew=r.asm.ha).apply(null,arguments)}),Mt=r.__ZSt18uncaught_exceptionv=function(){return(Mt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},Ot=r._memalign=function(){return(Ot=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Lt=r.dynCall_vi=function(){return(Lt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Ut=r.dynCall_vii=function(){return(Ut=r.dynCall_vii=r.asm.ma).apply(null,arguments)},Pt=r.dynCall_viii=function(){return(Pt=r.dynCall_viii=r.asm.na).apply(null,arguments)},Ft=r.dynCall_viiii=function(){return(Ft=r.dynCall_viiii=r.asm.oa).apply(null,arguments)},qt=r.dynCall_viiiii=function(){return(qt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},zt=r.dynCall_i=function(){return(zt=r.dynCall_i=r.asm.qa).apply(null,arguments)},jt=r.dynCall_ii=function(){return(jt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Yt=r.dynCall_iii=function(){return(Yt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Bt=r.dynCall_iiii=function(){return(Bt=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Jt=r.dynCall_iiiii=function(){return(Jt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Gt=r.dynCall_iiiiiii=function(){return(Gt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Vt=r.dynCall_d=function(){return(Vt=r.dynCall_d=r.asm.wa).apply(null,arguments)},Ht=r.dynCall_di=function(){return(Ht=r.dynCall_di=r.asm.xa).apply(null,arguments)},Qt=r.stackSave=function(){return(Qt=r.stackSave=r.asm.ya).apply(null,arguments)},Wt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Wt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function $t(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function Xt(t){function e(){xt||(xt=!0,v||(U=!0,r.noFSInit||at.init.initialized||at.init(),it.init(),Z(O),at.ignorePermissions=!1,Z(R),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),L.unshift(t);var t;Z(L)}()))}j>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),M.unshift(t);var t;Z(M)}(),j>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r.asm=bt,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},Y=function t(){xt||Xt(),xt||(Y=t)},r.run=Xt,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Kt(){}function te(t){return(t||Kt).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||Kt).prototype)).ptr=t,n[t]=r)}f=!0,Xt(),(Kt.prototype=Object.create(Kt.prototype)).constructor=Kt,Kt.prototype.__class__=Kt,Kt.__cache__={},r.WrapperObject=Kt,r.getCache=te,r.wrapPointer=ee,r.castObject=function(t,e){return ee(t.ptr,e)},r.NULL=ee(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete te(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var ne={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ne.needed){for(var t=0;t=ne.size?(y(i>0),ne.needed+=i,n=r._malloc(i),ne.temps.push(n)):(n=ne.buffer+ne.pos,ne.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i\n\n'}}function m(t,e){var n,r=p({images:[],files:[]},e);(function(){for(var t=0,e=0,n=arguments.length;e>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=h.exec(t))?new A(e[1],e[2],e[3],1):(e=f.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?D(e[1],e[2]/100,e[3]/100,1):(e=m.exec(t))?D(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?b(v[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function b(t){return new A(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function T(t,e,n,r){return 1===arguments.length?E(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#"+C(this.r)+C(this.g)+C(this.b)}function I(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function C(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function D(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Z(t,e,n,r)}function N(t){if(t instanceof Z)return new Z(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new Z;if(t instanceof Z)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(s=e===a?(n-r)/u+6*(n0&&c<1?0:s,new Z(s,u,c,t.opacity)}function k(t,e,n,r){return 1===arguments.length?N(t):new Z(t,e,n,null==r?1:r)}function Z(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function M(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),(0,r.Z)(A,T,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:I,toString:I})),(0,r.Z)(Z,k,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new Z(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new Z(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(M(t>=240?t-240:t+120,i,r),M(t,i,r),M(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},80052:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},64641:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function a(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{Z:function(){return r}})},93116:function(t,e,n){"use strict";n.d(e,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},25047:function(t,e,n){"use strict";n.r(e),n.d(e,{formatDefaultLocale:function(){return r.ZP},format:function(){return r.WU},formatPrefix:function(){return r.jH},formatLocale:function(){return i.Z},formatSpecifier:function(){return o.Z},FormatSpecifier:function(){return o.v},precisionFixed:function(){return a.Z},precisionPrefix:function(){return s.Z},precisionRound:function(){return u.Z}});var r=n(3712),i=n(70592),o=n(93116),a=n(22233),s=n(65636),u=n(3218)},70592:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r,i=n(98477),o=n(93116),a=n(25169);function s(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var u={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var i=n[0],o=n[1],s=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return s===u?i:s>u?i+new Array(s-u+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+(0,a.Z)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function f(t){var e,n,a=void 0===t.grouping||void 0===t.thousands?c:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",f=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(l.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",m=void 0===t.minus?"-":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,o.Z)(t)).fill,n=t.align,i=t.sign,c=t.symbol,l=t.zero,y=t.width,_=t.comma,w=t.precision,b=t.trim,x=t.type;"n"===x?(_=!0,x="g"):u[x]||(void 0===w&&(w=12),b=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===c?s:"#"===c&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T="$"===c?f:/[%p]/.test(x)?g:"",A=u[x],S=/[defgprs%]/.test(x);function I(t){var o,s,u,c=E,f=T;if("c"===x)f=A(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:A(Math.abs(t),w),b&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),g&&0==+t&&"+"!==i&&(g=!1),c=(g?"("===i?i:m:"-"===i||"("===i?"":i)+c,f=("s"===x?h[8+r/3]:"")+f+(g&&"("===i?")":""),S)for(o=-1,s=t.length;++o(u=t.charCodeAt(o))||u>57){f=(46===u?d+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}_&&!l&&(t=a(t,1/0));var I=c.length+t.length+f.length,C=I>1)+c+t+f+C.slice(I);break;default:t=C+c+t+f}return p(t)}return w=void 0===w?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),I.toString=function(){return t+""},I}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,o.Z)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(e)/3))),a=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(a*t)+s}}}}},22233:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},65636:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3)))-(0,r.Z)(Math.abs(t)))}},3218:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.Z)(e)-(0,r.Z)(t))+1}},73180:function(t,e,n){!function(t,e,n,r,i,o,a,s,u,c){"use strict";function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0,r=e.select(this),i=t.attributes,o=r.node().attributes;if(o)for(var a=0;a0?i.children[0].text:"")}null==t.key&&(o&&("ellipse"!=n&&"polygon"!=n||(n="path")),t.key=n+"-"+e)}function m(t,e){t.id=(e?e.id+".":"")+t.key}function v(t){c[t.id]=t}function y(t,e){o&&t.id in l&&("polygon"!=e.tag&&"ellipse"!=e.tag&&"path"!=e.tag||e.tag==t.tag&&"polygon"!=t.tag||("path"!=e.tag&&(t.alternativeOld=D(e,t)),"path"!=t.tag&&(t.alternativeNew=D(t,e))))}function _(t,e){if(i&&e&&("path"==e.tag||t.alternativeOld&&"path"==t.alternativeOld.tag)){var n=(t.alternativeNew||t).attributes.d;if(t.alternativeOld)var r=g(t.alternativeOld);else r=g(e);(t.alternativeOld||(t.alternativeOld={})).points=function(t,e,n,r){for(var i=t,o=i.cloneNode(),a=i.getTotalLength(),s=(o.setAttribute("d",e),o).getTotalLength(),u=[0],c=0,l=r?n:n/Math.max(a,s);(c+=l)<1;)u.push(c);return u.push(1),u.map(function(t){var e=i.getPointAtLength(t*a),n=o.getPointAtLength(t*s);return[[e.x,e.y],[n.x,n.y]]})}(r,n,a,s)}}function w(t){var e=arguments.length>2?arguments[2]:void 0;p(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),m(t,e);var n=l[t.id];v(t),y(t,n),_(t,n);var r={};t.children.forEach(function(e){var n=e.tag;"ellipse"!=n&&"polygon"!=n||(n="path"),null==r[n]&&(r[n]=0),w(e,r[n]++,t)})}function b(t){(function(t){if(u&&t.parent&&"node"==t.parent.attributes.class&&"title"==t.tag){if(t.children.length>0)var e=t.children[0].text;else e="";h[e]=t.parent}})(t),function(t){var e=t.tag;if(u&&!l[t.id]&&t.parent&&I(t)&&("path"==e||"polygon"==e)){if("polygon"==e){var n=t.parent.children.find(function(t){return"path"==t.tag});n&&(t.totalLength=n.totalLength)}var r=function(t){return function(t){return"edge"==t.parent.attributes.class?t.parent:t.parent.parent.parent}(t).children.find(function(t){return"title"==t.tag})}(t).children[0],i=r.text.split("->");2!=i.length&&(i=r.text.split("--"));var o=i[0],a=h[o],s=f[o];if(s){if((p=a.children.findIndex(function(t,e){return"g"==t.tag}))>=0){var c=a.children[p].children.findIndex(function(t,e){return"a"==t.tag});a=a.children[p].children[c]}(p=s.children.findIndex(function(t,e){return"g"==t.tag}))>=0&&(c=s.children[p].children.findIndex(function(t,e){return"a"==t.tag}),s=s.children[p].children[c]);for(var d=a.children,p=0;p0&&this._queue.shift().call(this)}function M(t,e,n,r){var i=[t*n-(e=-e)*(r=-r),t*r+e*n];return[t=i[0],e=-(e=i[1])]}function O(t,e,n,r,i,o,a){var s=d(P.call(this,o));t.data([s]),_.call(t.node(),s),R(t,e,n,r,i,o,a)}function R(t,e,n,r,i,o,a){var s=a.shortening||0,u=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],l=r-e,h=i-n,f=Math.sqrt(l*l+h*h);if(0==f)var d=1,p=0;else d=l/f,p=h/f;if(r=e+(f-s-10-.1)*d,i=n+(f-s-10-.1)*p,o.URL||o.tooltip)var g=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),m=g.selectWithoutDataPropagation("path"),v=g.selectWithoutDataPropagation("polygon");else m=t.selectWithoutDataPropagation("path"),v=t.selectWithoutDataPropagation("polygon");var y=c.path();y.moveTo(e,n),y.lineTo(r,i),m.attr("d",y),r=e+(f-s-10)*d,i=n+(f-s-10)*p;for(var _=0;_ b ["+n+"]}","svg","dot"),s=(new window.DOMParser).parseFromString(a,"image/svg+xml");return e.select(document.createDocumentFragment()).append(function(){return s.documentElement}).select(".edge")}function F(t,e,n,r,i,o){var a=d(Y.call(this,r,i));return t.data([a]),_.call(t.node(),a),q(t,e,n,i),this}function q(t,n,r,i,o){if(i.URL||i.tooltip)var a=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else a=t;var s=a.selectAll("ellipse,polygon,path,polyline"),u=t.selectWithoutDataPropagation("text");if(0!=s.size()){var c=s.node().getBBox();c.cx=c.x+c.width/2,c.cy=c.y+c.height/2}else 0!=u.size()&&(c={x:+u.attr("x"),y:+u.attr("y"),width:0,height:0,cx:+u.attr("x"),cy:+u.attr("y")});return s.each(function(t,i){var o=e.select(this);if(o.attr("cx"))o.attr("cx",b(n)).attr("cy",b(r));else if(o.attr("points")){var a=o.attr("points").trim();o.attr("points",function(t,e,n){var r,i=(r=t.split(" ")).map(function(t){return t.split(",")});return i=r.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}),(r=i.map(function(t){return t.join(",")})).join(" ")}(a,n-c.cx,r-c.cy))}else{var s=o.attr("d");o.attr("d",function(t,e,n){(i=t.split(/[A-Z ]/)).shift();var r=t.split(/[^[A-Z ]+/),i=(i.map(function(t){return t.split(",")}),i.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}).map(function(t){return t.join(",")}));return r.reduce(function(t,e,n){return t.concat(e,i[n])},[]).join("")}(s,n-c.cx,r-c.cy))}}),0!=u.size()&&u.attr("x",b(+u.attr("x")+n-c.cx)).attr("y",b(+u.attr("y")+r-c.cy)),this}function z(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function j(){return this._drawnNode?this._drawnNode.g:e.select(null)}function Y(t,n){for(var r="",i=0,o=Object.keys(n);i2")(a)+" ",i+=s+" ".repeat(o-s.length),i+=u.format(" >5")(t-n)+" ","initEnd"!=s&&(i+=u.format(" >5")(t-r.start[e])),"dataProcessEnd"==s&&(i+=" prepare "+u.format(" >5")(t-r.layoutEnd[e])),"renderEnd"==s&&c._transition&&(i+=" transition start margin "+u.format(" >5")(c._transition.delay()-(t-r.renderStart[e])),l=c._transition.delay(),f=c._transition.duration()),"transitionStart"==s){var h=t-r.renderStart[e];i+=" transition delay "+u.format(" >5")(t-r.renderStart[e]),i+=" expected "+u.format(" >5")(l),i+=" diff "+u.format(" >5")(h-l)}if("transitionEnd"==s){var d=t-r.transitionStart[e];i+=" transition duration "+u.format(" >5")(d),i+=" expected "+u.format(" >5")(f),i+=" diff "+u.format(" >5")(d-f)}console.log(i),n=t}:null)},s=0;s5&&void 0!==arguments[5]?arguments[5]:{};if((o=Object.assign({},o)).style&&o.style.includes("invis"))var s=e.select(null);else{var u=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),c=d(P.call(this,o));s=u.append("g").data([c]),_.call(s.node(),c),O.call(this,s,t,n,r,i,o,a)}return this._drawnEdge={g:s,x1:t,y1:n,x2:r,y2:i,attributes:o},this},updateDrawnEdge:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var a=this._drawnEdge.g;return i=Object.assign(this._drawnEdge.attributes,i),this._drawnEdge.x1=t,this._drawnEdge.y1=e,this._drawnEdge.x2=n,this._drawnEdge.y2=r,!a.empty()||i.style&&i.style.includes("invis")||(a=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=a),a.empty()||O.call(this,a,t,e,n,r,i,o),this},moveDrawnEdgeEndPoint:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var r=this._drawnEdge.g,i=this._drawnEdge.x1,o=this._drawnEdge.y1,a=this._drawnEdge.attributes;return this._drawnEdge.x2=t,this._drawnEdge.y2=e,R(r,i,o,t,e,a,n),this},insertDrawnEdge:function(t){if(!this._drawnEdge)throw Error("No edge has been drawn");var e=this._drawnEdge.g;if(e.empty())return this;e.selectWithoutDataPropagation("title").text(t);var n=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),r=n.datum(),i=this._extractData(e,r.children.length,n.datum());return r.children.push(i),v(e,i),this._drawnEdge=null,this},removeDrawnEdge:L},"removeDrawnEdge",L),l(V,"drawnEdgeSelection",U),l(V,"drawnEdgeSelection",U),l(V,"drawNode",function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((i=Object.assign({},i)).style&&i.style.includes("invis"))var a=e.select(null);else{var s=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),u=d(Y.call(this,r,i));a=s.append("g").data([u]),_.call(a.node(),u),F.call(this,a,t,n,r,i,o)}return this._drawnNode={g:a,nodeId:r,x:t,y:n,attributes:i},this}),l(V,"updateDrawnNode",function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var o=this._drawnNode.g;return null==n&&(n=this._drawnNode.nodeId),r=Object.assign(this._drawnNode.attributes,r),this._drawnNode.nodeId=n,this._drawnNode.x=t,this._drawnNode.y=e,!o.empty()||r.style&&r.style.includes("invis")||(o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=o),o.empty()||F.call(this,o,t,e,n,r,i),this}),l(V,"moveDrawnNode",function(t,e){if(!this._drawnNode)throw Error("No node has been drawn");var n=this._drawnNode.g,r=this._drawnNode.attributes;return this._drawnNode.x=t,this._drawnNode.y=e,n.empty()||q(n,t,e,r),this}),l(V,"insertDrawnNode",function(t){if(!this._drawnNode)throw Error("No node has been drawn");null==t&&(t=this._drawnNode.nodeId);var e=this._drawnNode.g;if(e.empty())return this;var n=this._drawnNode.attributes;if(e.selectWithoutDataPropagation("title").text(t),n.URL||n.tooltip)var r=e.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),i=(r.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),r.selectWithoutDataPropagation("text"));else e.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),i=e.selectWithoutDataPropagation("text");i.text(n.label||t);var o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),a=o.datum(),s=this._extractData(e,a.children.length,o.datum());return a.children.push(s),v(e,s),this._drawnNode=null,this}),l(V,"removeDrawnNode",z),l(V,"removeDrawnNode",z),l(V,"drawnNodeSelection",j),l(V,"drawnNodeSelection",j),V),e.selection.prototype.graphviz=function(t){var e=this.node().__graphviz__;return e?(e.options(t),i.timeout((function(){e._dispatch.call("initEnd",this)}).bind(this),0)):e=new H(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Q,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(24967),n(58552),n(82159),n(14788),n(30853),n(59320),n(95914),n(25047),n(16809))},60053:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},M:function(){return a}});var r=n(3031),i=n(61317);function o(t,e){return((0,i.v)(e)?i.Z:a)(t,e)}function a(t,e){var n,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1];return r((n-i/e)*e,i>0?t[i-1]:2*o-a,o,a,i180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?s:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},94065:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},28917:function(t,e,n){"use strict";function r(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}n.d(e,{Z:function(){return r}})},30853:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolate:function(){return r.Z},interpolateArray:function(){return i.Z},interpolateBasis:function(){return o.Z},interpolateBasisClosed:function(){return a.Z},interpolateCubehelix:function(){return nt},interpolateCubehelixLong:function(){return rt},interpolateDate:function(){return s.Z},interpolateDiscrete:function(){return u},interpolateHcl:function(){return j},interpolateHclLong:function(){return Y},interpolateHsl:function(){return b},interpolateHslLong:function(){return x},interpolateHue:function(){return l},interpolateLab:function(){return q},interpolateNumber:function(){return h.Z},interpolateNumberArray:function(){return f.Z},interpolateObject:function(){return d.Z},interpolateRgb:function(){return y.ZP},interpolateRgbBasis:function(){return y.hD},interpolateRgbBasisClosed:function(){return y.YD},interpolateRound:function(){return p.Z},interpolateString:function(){return g.Z},interpolateTransformCss:function(){return m.Y},interpolateTransformSvg:function(){return m.w},interpolateZoom:function(){return v.Z},piecewise:function(){return it},quantize:function(){return ot}});var r=n(3031),i=n(60053),o=n(39588),a=n(17280),s=n(28917);function u(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var c=n(22656);function l(t,e){var n=(0,c.wx)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}var h=n(75306),f=n(61317),d=n(70901),p=n(47071),g=n(51882),m=n(44090),v=n(13764),y=n(38740),_=n(12314);function w(t){return function(e,n){var r=t((e=(0,_.Ym)(e)).h,(n=(0,_.Ym)(n)).h),i=(0,c.ZP)(e.s,n.s),o=(0,c.ZP)(e.l,n.l),a=(0,c.ZP)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var b=w(c.wx),x=w(c.ZP),E=n(80052),T=Math.PI/180,A=180/Math.PI,S=4/29,I=6/29,C=3*I*I;function D(t){if(t instanceof k)return new k(t.l,t.a,t.b,t.opacity);if(t instanceof P)return F(t);t instanceof _.Ss||(t=(0,_.SU)(t));var e,n,r=R(t.r),i=R(t.g),o=R(t.b),a=Z((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=Z((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Z((.0139322*r+.0971045*i+.7141733*o)/.82521)),new k(116*a-16,500*(e-a),200*(a-n),t.opacity)}function N(t,e,n,r){return 1===arguments.length?D(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Z(t){return t>.008856451679035631?Math.pow(t,1/3):t/C+S}function M(t){return t>I?t*t*t:C*(t-S)}function O(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function R(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function L(t){if(t instanceof P)return new P(t.h,t.c,t.l,t.opacity);if(t instanceof k||(t=D(t)),0===t.a&&0===t.b)return new P(NaN,0u&&(s=e.slice(u,s),l[c]?l[c]+=s:l[++c]=s),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,h.push({i:c,x:(0,r.Z)(n,a)})),u=o.lastIndex;return u180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,s.Z)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,s.Z)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,s.Z)(t,n)},{i:u-2,x:(0,s.Z)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n1e-6)if(Math.abs(h*u-c*l)>1e-6&&o){var d=r-a,p=i-s,g=u*u+c*c,m=d*d+p*p,v=Math.sqrt(g),y=Math.sqrt(f),_=o*Math.tan((n-Math.acos((g+f-m)/(2*v*y)))/2),w=_/y,b=_/v;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*h)),this._+="A"+o+","+o+",0,0,"+ +(h*d>l*p)+","+(this._x1=t+b*u)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,o,a,s,u){t=+t,e=+e,u=!!u;var c=(o=+o)*Math.cos(a),l=o*Math.sin(a),h=t+c,f=e+l,d=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+h+","+f:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+h+","+f),o&&(p<0&&(p=p%r+r),p>i?this._+="A"+o+","+o+",0,1,"+d+","+(t-c)+","+(e-l)+"A"+o+","+o+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+d+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=e+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},32436:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(26669),i=n(71867);function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.P&&e.documentElement.namespaceURI===i.P?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function s(t){var e=(0,r.Z)(t);return(e.local?a:o)(e)}},24967:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return d.Z},create:function(){return o},creator:function(){return r.Z},customEvent:function(){return E._H},event:function(){return E.B},local:function(){return s},matcher:function(){return c.Z},mouse:function(){return l.Z},namespace:function(){return h.Z},namespaces:function(){return f.Z},select:function(){return i.Z},selectAll:function(){return g},selection:function(){return p.ZP},selector:function(){return m.Z},selectorAll:function(){return v.Z},style:function(){return y.S},touch:function(){return _.Z},touches:function(){return b},window:function(){return x.Z}});var r=n(32436),i=n(41036);function o(t){return(0,i.Z)((0,r.Z)(t).call(document.documentElement))}var a=0;function s(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=s.prototype={constructor:u,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var c=n(54382),l=n(38337),h=n(26669),f=n(71867),d=n(54762),p=n(42710);function g(t){return"string"==typeof t?new p.Y1([document.querySelectorAll(t)],[document.documentElement]):new p.Y1([null==t?[]:t],p.Jz)}var m=n(69309),v=n(85502),y=n(97717),_=n(45161),w=n(72732);function b(t,e){null==e&&(e=(0,w.Z)().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.Z.hasOwnProperty(e)?{space:r.Z[e],local:t}:t}},71867:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},54762:function(t,e,n){"use strict";function r(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}n.d(e,{Z:function(){return r}})},41036:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(42710);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},42710:function(t,e,n){"use strict";n.d(e,{Y1:function(){return Q},ZP:function(){return $},Jz:function(){return H}});var r=n(69309),i=n(85502),o=n(54382);function a(t){return new Array(t.length)}function s(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function u(t,e,n,r,i,o){for(var a,u=0,c=e.length,l=o.length;ue?1:t>=e?0:NaN}s.prototype={constructor:s,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var h=n(26669);function f(t){return function(){this.removeAttribute(t)}}function d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function p(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function m(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function v(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var y=n(97717);function _(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function b(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function x(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new T(t)}function T(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function A(t,e){for(var n=E(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var P=n(32436);function F(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function z(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var Y=n(92711),B=n(11130);function J(t,e,n){var r=(0,B.Z)(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function G(t,e){return function(){return J(this,t,e)}}function V(t,e){return function(){return J(this,t,e.apply(this,arguments))}}var H=[null];function Q(t,e){this._groups=t,this._parents=e}function W(){return new Q([[document.documentElement]],H)}Q.prototype=W.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o=E&&(E=x+1);!(b=_[E])&&++E=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=l);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?_:"function"==typeof e?b:w)(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var r=E(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r1?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):u(this.node(),t)}function u(t,e){return t.style.getPropertyValue(e)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(e)}},69309:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{Z:function(){return i}})},85502:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{Z:function(){return i}})},72732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92711);function i(){for(var t,e=r.B;t=e.sourceEvent;)e=t;return e}},45161:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(72732),i=n(54762);function o(t,e,n){arguments.length<3&&(n=e,e=(0,r.Z)().changedTouches);for(var o,a=0,s=e?e.length:0;a=0&&e._call.call(null,t),e=e._next;--o}function y(){c=(u=h.now())+l,o=a=0;try{v()}finally{o=0,function(){for(var t,e,n=r,o=1/0;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),c=0}}function _(){var t=h.now(),e=t-u;e>1e3&&(l-=e,u=t)}function w(t){o||(a&&(a=clearTimeout(a)),t-c>24?(t<1/0&&(a=setTimeout(y,t-h.now()-l)),s&&(s=clearInterval(s))):(s||(u=h.now(),s=setInterval(_,1e3)),o=1,f(y)))}g.prototype=m.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?d():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},82159:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return it},interrupt:function(){return d},transition:function(){return X}});var r=n(42710),i=n(64641),o=n(65244),a=n(74199),s=(0,i.Z)("start","end","cancel","interrupt"),u=[];function c(t,e,n,r,i,c){var l=t.__transition;if(l){if(n in l)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function s(o){var l,h,f,d;if(1!==n.state)return c();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return(0,a.Z)(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function h(t,e){var n=f(t,e);if(n.state>3)throw new Error("too late; already running");return n}function f(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function d(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var p=n(44090),g=n(26669);function m(t,e){var n,r;return function(){var i=h(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?l:h;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var z=n(69309),j=n(85502),Y=r.ZP.prototype.constructor,B=n(97717);function J(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function V(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&G(t,o,n)),r}return o._value=e,o}function H(t){return function(e){this.textContent=t.call(this,e)}}function Q(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&H(r)),e}return r._value=t,r}var W=0;function $(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function X(t){return(0,r.ZP)().transition(t)}function K(){return++W}var tt=r.ZP.prototype;$.prototype=X.prototype={constructor:$,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,z.Z)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new $([[t]],rt,e,+r);return null}},59320:function(t,e,n){"use strict";n.r(e),n.d(e,{zoom:function(){return T},zoomIdentity:function(){return p},zoomTransform:function(){return g}});var r=n(64641),i=n(8634),o=n(13764),a=n(92711),s=n(38337),u=n(41036),c=n(45161),l=n(82159);function h(t){return function(){return t}}function f(t,e,n){this.target=t,this.type=e,this.transform=n}function d(t,e,n){this.k=t,this.x=e,this.y=n}d.prototype={constructor:d,scale:function(t){return 1===t?this:new d(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new d(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var p=new d(1,0,0);function g(t){return t.__zoom||p}function m(){a.B.stopImmediatePropagation()}function v(){a.B.preventDefault(),a.B.stopImmediatePropagation()}function y(){return!a.B.button}function _(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function w(){return this.__zoom||p}function b(){return-a.B.deltaY*(a.B.deltaMode?120:1)/500}function x(){return"ontouchstart"in this}function E(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function T(){var t,e,n=y,g=_,T=E,A=b,S=x,I=[0,1/0],C=[[-1/0,-1/0],[1/0,1/0]],D=250,N=o.Z,k=[],Z=(0,r.Z)("start","zoom","end"),M=0;function O(t){t.property("__zoom",w).on("wheel.zoom",z).on("mousedown.zoom",j).on("dblclick.zoom",Y).filter(S).on("touchstart.zoom",B).on("touchmove.zoom",J).on("touchend.zoom touchcancel.zoom",G).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(I[0],Math.min(I[1],e)))===t.k?t:new d(e,t.x,t.y)}function L(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new d(t.k,r,i)}function U(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,e,n){t.on("start.zoom",function(){F(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){F(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=F(t,r),o=g.apply(t,r),a=n||U(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,c="function"==typeof e?e.apply(t,r):e,l=N(u.invert(a).concat(s/u.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=l(t),n=s/e[2];t=new d(n,a[0]-e[0]*n,a[1]-e[1]*n)}i.zoom(null,t)}})}function F(t,e){for(var n,r=0,i=k.length;rM}t.zoom("mouse",T(L(t.that.__zoom,t.mouse[0]=(0,s.Z)(t.that),t.mouse[1]),t.extent,C))}function d(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.D)(a.B.view,t.moved),v(),t.end()}}function Y(){if(n.apply(this,arguments)){var t=this.__zoom,e=(0,s.Z)(this),r=t.invert(e),i=t.k*(a.B.shiftKey?.5:2),o=T(L(R(t,i),e,r),g.apply(this,arguments),C);v(),D>0?(0,u.Z)(this).transition().duration(D).call(P,o,e):(0,u.Z)(this).call(O.transform,o)}}function B(){if(n.apply(this,arguments)){var e,r,i,o,s=F(this,arguments),h=a.B.changedTouches,f=h.length;for(m(),r=0;r0;--u)if(r=e[u].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(e){return t.outEdges(e.v,e.w)}),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(e,n,s)}),r.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,u(e,n,o)}),t.removeNode(i.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},73363:function(t,e,n){"use strict";var r=n(91096),i=n(19265),o=n(3266),a=n(29438),s=n(45247).normalizeRanks,u=n(22877),c=n(45247).removeEmptyRanks,l=n(8131),h=n(28549),f=n(64061),d=n(41727),p=n(14588),g=n(45247),m=n(49174).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new m({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},y,A(n,v),r.pick(n,_))),r.forEach(t.nodes(),function(n){var i=S(t.node(n));e.setNode(n,r.defaults(A(i,w),b)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var i=S(t.edge(n));e.setEdge(n,r.merge({},E,A(i,x),r.pick(i,T)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){i.run(t)}),e(" nestingGraph.run",function(){l.run(t)}),e(" rank",function(){a(g.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i=t.node(e.w);g.addDummyNode(t,"edge-proxy",{rank:(i.rank-r.rank)/2+r.rank,e},"_ep")}})}(t)}),e(" removeEmptyRanks",function(){c(t)}),e(" nestingGraph.cleanup",function(){l.cleanup(t)}),e(" normalizeRanks",function(){s(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.forEach(t.nodes(),function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){o.run(t)}),e(" parentDummyChains",function(){u(t)}),e(" addBorderSegments",function(){h(t)}),e(" order",function(){d(t)}),e(" insertSelfEdges",function(){!function(t){var e=g.buildLayerMatrix(t);r.forEach(e,function(e){var n=0;r.forEach(e,function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){f.adjust(t)}),e(" position",function(){p(t)}),e(" positionSelfEdges",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){o.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){f.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function c(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(t.nodes(),function(e){c(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&c(n)}),e-=s,i-=u,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.forEach(t.edges(),function(n){var o=t.edge(n);r.forEach(o.points,function(t){t.x-=e,t.y-=i}),r.has(o,"x")&&(o.x-=e),r.has(o,"y")&&(o.y-=i)}),a.width=n-e+s,a.height=o-i+u}(t)}),e(" assignNodeIntersects",function(){!function(t){r.forEach(t.edges(),function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(t)}),e(" reversePoints",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){i.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.forEach(t.edges(),function(n){var i=t.edge(n),o=e.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})};var v=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],w=["width","height"],b={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function A(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},91096:function(t,e,n){var r;try{r={cloneDeep:n(38961),constant:n(60583),defaults:n(25177),each:n(97635),filter:n(9673),find:n(13963),flatten:n(38863),forEach:n(26404),forIn:n(21308),has:n(71645),isUndefined:n(96075),last:n(83074),map:n(86169),mapValues:n(7301),max:n(11653),merge:n(81940),min:n(47983),minBy:n(42707),now:n(41396),pick:n(28891),range:n(79289),reduce:n(37442),sortBy:n(36272),uniqueId:n(83798),values:n(95041),zipObject:n(3393)}}catch(i){}r||(r=window._),t.exports=r},8131:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n,a,s,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,function(r){o(t,e,n,a,s,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=l!==d?1:s-u[c]+1;t.setEdge(h,l,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(c)||t.setEdge(e,h,{weight:0,minlen:s+u[c]})}else c!==e&&t.setEdge(e,c,{weight:0,minlen:n})}t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,function(t){n(t,o+1)}),e[i]=o}return r.forEach(t.children(),function(t){n(t,1)}),e}(t),a=r.max(r.values(n))-1,s=2*a+1;t.graph().nestingRoot=e,r.forEach(t.edges(),function(e){t.edge(e).minlen*=s});var u=function(t){return r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.forEach(t.children(),function(r){o(t,e,s,u,a,n,r)}),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},3266:function(t,e,n){"use strict";var r=n(91096),i=n(45247);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,u=e.w,c=t.node(u).rank,l=e.name,h=t.edge(e),f=h.labelRank;if(c!==s+1){for(t.removeEdge(e),o=0,++s;s0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;c+=t.weight*n})),c}t.exports=function(t,e){for(var n=0,r=1;r=2),s=l.buildLayerMatrix(t);var m=o(t,s);m=t.barycenter)&&(o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},5826:function(t,e,n){var r=n(91096),i=n(25412),o=n(82764),a=n(37850);t.exports=function t(e,n,s,u){var c=e.children(n),l=e.node(n),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,function(t){return t!==h&&t!==f}));var p=i(e,c);r.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,s,u);d[n.v]=i,r.has(i,"barycenter")&&(a=i,r.isUndefined((o=n).barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a});var g=o(p,s);!function(t,e){r.forEach(t,function(t){t.vs=r.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(g,d);var m=a(g,u);if(h&&(m.vs=r.flatten([h,m.vs,f],!0),e.predecessors(h).length)){var v=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(f)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+y.order)/(m.weight+2),m.weight+=2}return m}},37850:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,a=i.partition(t,function(t){return r.has(t,"barycenter")}),s=a.lhs,u=r.sortBy(a.rhs,function(t){return-t.i}),c=[],l=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),f=o(c,u,f),r.forEach(s,function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)});var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},22877:function(t,e,n){var r=n(91096);t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),function i(o){var a=n;r.forEach(t.children(o),i),e[o]={low:a,lim:n++}}),e}(t);r.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],u=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>u||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,c=a[u],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=a[u])!==s&&t.node(c).maxRanks)&&u(n,e,c)})})}return r.reduce(e,function(e,n){var o,a=-1,s=0;return r.forEach(n,function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,e.length)}),n}),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function l(t,e,n,i){var o={},a={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){o[t]=t,a[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var u=i(t);if(u.length)for(var l=((u=r.sortBy(u,function(t){return s[t]})).length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];a[t]===t&&eu.lim&&(c=u,l=!0);var h=r.filter(e.edges(),function(e){return l===y(0,t.node(e.v),c)&&l!==y(0,t.node(e.w),c)});return r.minBy(h,function(t){return o(e,t)})}function v(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),function(t){return!e.node(t).parent}),i=s(t,n);i=i.slice(1),r.forEach(i,function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=g,l.enterEdge=m,l.exchangeEdges=v},21790:function(t,e,n){"use strict";var r=n(91096);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),function(e){return n(e.w)-t.edge(e).minlen}));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},45247:function(t,e,n){"use strict";var r=n(91096),i=n(49174).Graph;function o(t,e,n,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function a(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:o,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,c=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},32862:function(t){t.exports="0.8.5"},54204:function(t,e,n){var r=n(97078);t.exports={Graph:r.Graph,json:n(2063),alg:n(29790),version:r.version}},66451:function(t,e,n){var r=n(77241);t.exports=function(t){var e,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,e.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),function(t){e=[],o(t),e.length&&i.push(e)}),i}},70485:function(t,e,n){var r=n(77241);function i(t,e,n,o,a,s){r.has(o,e)||(o[e]=!0,n||s.push(e),r.each(a(e),function(e){i(t,e,n,o,a,s)}),n&&s.push(e))}t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);i(t,e,"post"===n,s,o,a)}),a}},85818:function(t,e,n){var r=n(26731),i=n(77241);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,o){i[o]=r(t,o,e,n)},{})}},26731:function(t,e,n){var r=n(77241),i=n(9266);t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},u=new i,c=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},8821:function(t,e,n){var r=n(77241),i=n(45759);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},24980:function(t,e,n){var r=n(77241);t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=e[n],i=o[n],a=o[t].distance+r.distance;a0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(n).forEach(c)}return a}},45759:function(t,e,n){var r=n(77241);t.exports=function(t){var e=0,n=[],i={},o=[];function a(s){var u=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))}),u.lowlink===u.index){var c,l=[];do{c=n.pop(),i[c].onStack=!1,l.push(c)}while(s!==c);o.push(l)}}return t.nodes().forEach(function(t){r.has(i,t)||a(t)}),o}},94394:function(t,e,n){var r=n(77241);function i(t){var e={},n={},i=[];if(r.each(t.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],i.push(s))}),r.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},9266:function(t,e,n){var r=n(77241);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,o=i.length;return n[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].prioritya){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function u(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};function o(t){var r=n.parent(t);return void 0===r||e.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,o(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(t,e,n);var h=u(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[l]=h,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][l]=h,this._out[t][l]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},97078:function(t,e,n){t.exports={Graph:n(10179),version:n(57160)}},2063:function(t,e,n){var r=n(77241),i=n(10179);function o(t){return r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}function a(t){return r.map(t.edges(),function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:a(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},77241:function(t,e,n){var r;try{r={clone:n(7063),constant:n(60583),each:n(97635),filter:n(9673),has:n(71645),isArray:n(47712),isEmpty:n(19129),isFunction:n(70458),isUndefined:n(96075),keys:n(48600),map:n(86169),reduce:n(37442),size:n(26809),transform:n(86987),union:n(50875),values:n(95041)}}catch(i){}r||(r=window._),t.exports=r},57160:function(t){t.exports="2.1.8"},22550:function(t,e,n){var r=n(31311)(n(58568),"DataView");t.exports=r},27868:function(t,e,n){var r=n(18944),i=n(18790),o=n(40218),a=n(80072),s=n(3575);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}},5724:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},48486:function(t,e,n){var r=n(43999)();t.exports=r},79941:function(t,e,n){var r=n(48486),i=n(48600);t.exports=function(t,e){return t&&r(t,e,i)}},91338:function(t,e,n){var r=n(21813),i=n(71241);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&ne}},50018:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},29828:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},37551:function(t,e,n){var r=n(72322),i=n(32564),o=n(39920);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},80561:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},31999:function(t,e,n){var r=n(47690),i=n(3902);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},47690:function(t,e,n){var r=n(30964),i=n(49642),o=n(97868),a=n(85234),s=n(32234),u=n(47712),c=n(80354),l=n(51156),h="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,d,p,g){var m=u(t),v=u(e),y=m?"[object Array]":s(t),_=v?"[object Array]":s(e),w=(y="[object Arguments]"==y?h:y)==h,b=(_="[object Arguments]"==_?h:_)==h,x=y==_;if(x&&c(t)){if(!c(e))return!1;m=!0,w=!1}if(x&&!w)return g||(g=new r),m||l(t)?i(t,e,n,d,p,g):o(t,e,y,n,d,p,g);if(!(1&n)){var E=w&&f.call(t,"__wrapped__"),T=b&&f.call(e,"__wrapped__");if(E||T){var A=E?t.value():t,S=T?e.value():e;return g||(g=new r),p(A,S,n,d,g)}}return!!x&&(g||(g=new r),a(t,e,n,d,p,g))}},75080:function(t,e,n){var r=n(32234),i=n(3902);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},16050:function(t,e,n){var r=n(30964),i=n(31999);t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=n[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a=200){var g=e?null:s(t);if(g)return u(g);f=!1,l=a,p=new r}else p=e?[]:d;t:for(;++ce||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},49327:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r-1?s[u?e[c]:c]:void 0}}},15395:function(t,e,n){var r=n(49727),i=n(10139),o=n(56016);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?el))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,m=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p-1&&t%1==0&&t-1}},2154:function(t,e,n){var r=n(67477);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},58289:function(t,e,n){var r=n(27868),i=n(58170),o=n(6647);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},19581:function(t,e,n){var r=n(65810);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},61608:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).get(t)}},8901:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).has(t)}},12399:function(t,e,n){var r=n(65810);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},95622:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},96878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},94667:function(t,e,n){var r=n(74884);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},54263:function(t,e,n){var r=n(31311)(Object,"create");t.exports=r},75427:function(t,e,n){var r=n(11621)(Object.keys,Object);t.exports=r},3601:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},80166:function(t,e,n){t=n.nmd(t);var r=n(52127),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},91059:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},11621:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},90877:function(t,e,n){var r=n(86932),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},31816:function(t,e,n){var r=n(58170);t.exports=function(){this.__data__=new r,this.size=0}},86246:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},95499:function(t){t.exports=function(t){return this.__data__.get(t)}},17114:function(t){t.exports=function(t){return this.__data__.has(t)}},68677:function(t,e,n){var r=n(58170),i=n(6647),o=n(98856);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},39920:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n-1&&t%1==0&&t<=9007199254740991}},49333:function(t,e,n){var r=n(75080),i=n(97633),o=n(80166),a=o&&o.isMap,s=a?i(a):r;t.exports=s},17305:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3902:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},7629:function(t,e,n){var r=n(3219),i=n(45410),o=n(3902),a=Function.prototype.toString,s=Object.prototype.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},8274:function(t,e,n){var r=n(15104),i=n(97633),o=n(80166),a=o&&o.isSet,s=a?i(a):r;t.exports=s},27764:function(t,e,n){var r=n(3219),i=n(47712),o=n(3902);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},30419:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},51156:function(t,e,n){var r=n(94154),i=n(97633),o=n(80166),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},96075:function(t){t.exports=function(t){return void 0===t}},48600:function(t,e,n){var r=n(48421),i=n(97272),o=n(9140);t.exports=function(t){return o(t)?r(t):i(t)}},10752:function(t,e,n){var r=n(48421),i=n(40623),o=n(9140);t.exports=function(t){return o(t)?r(t,!0):i(t)}},83074:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},86169:function(t,e,n){var r=n(20529),i=n(82617),o=n(26091),a=n(47712);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},7301:function(t,e,n){var r=n(61216),i=n(79941),o=n(82617);t.exports=function(t,e){var n={};return e=o(e,3),i(t,function(t,i,o){r(n,i,e(t,i,o))}),n}},11653:function(t,e,n){var r=n(91241),i=n(98109),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},74884:function(t,e,n){var r=n(98856);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},81940:function(t,e,n){var r=n(75705),i=n(57082)(function(t,e,n){r(t,e,n)});t.exports=i},47983:function(t,e,n){var r=n(91241),i=n(69661),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},42707:function(t,e,n){var r=n(91241),i=n(82617),o=n(69661);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},15533:function(t){t.exports=function(){}},41396:function(t,e,n){var r=n(58568);t.exports=function(){return r.Date.now()}},28891:function(t,e,n){var r=n(14964),i=n(9771)(function(t,e){return null==t?{}:r(t,e)});t.exports=i},57675:function(t,e,n){var r=n(80087),i=n(47044),o=n(46149),a=n(71241);t.exports=function(t){return o(t)?r(a(t)):i(t)}},79289:function(t,e,n){var r=n(15395)();t.exports=r},37442:function(t,e,n){var r=n(27971),i=n(43079),o=n(82617),a=n(95482),s=n(47712);t.exports=function(t,e,n){var u=s(t)?r:a,c=arguments.length<3;return u(t,o(e,4),n,c,i)}},26809:function(t,e,n){var r=n(97272),i=n(32234),o=n(9140),a=n(27764),s=n(3941);t.exports=function(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},36272:function(t,e,n){var r=n(9555),i=n(22824),o=n(37165),a=n(10139),s=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=s},20668:function(t){t.exports=function(){return[]}},1950:function(t){t.exports=function(){return!1}},56016:function(t,e,n){var r=n(68135);t.exports=function(t){return t?1/0===(t=r(t))||-1/0===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},82748:function(t,e,n){var r=n(56016);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},68135:function(t,e,n){var r=n(94530),i=n(17305),o=n(30419),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},65208:function(t,e,n){var r=n(79399),i=n(10752);t.exports=function(t){return r(t,i(t))}},89196:function(t,e,n){var r=n(17667);t.exports=function(t){return null==t?"":r(t)}},86987:function(t,e,n){var r=n(41492),i=n(56004),o=n(79941),a=n(82617),s=n(45410),u=n(47712),c=n(80354),l=n(70458),h=n(17305),f=n(51156);t.exports=function(t,e,n){var d=u(t),p=d||c(t)||f(t);if(e=a(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&l(g)?i(s(t)):{}}return(p?r:o)(t,function(t,r,i){return e(n,t,r,i)}),n}},50875:function(t,e,n){var r=n(9555),i=n(37165),o=n(66833),a=n(56633),s=i(function(t){return o(r(t,1,a,!0))});t.exports=s},83798:function(t,e,n){var r=n(89196),i=0;t.exports=function(t){var e=++i;return r(t)+e}},95041:function(t,e,n){var r=n(10744),i=n(48600);t.exports=function(t){return null==t?[]:r(t,i(t))}},3393:function(t,e,n){var r=n(25823),i=n(60170);t.exports=function(t,e){return i(t||[],e||[],r)}},41282:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(69812)),r(n(65098)),r(n(59895)),r(n(13408)),r(n(66082)),r(n(33839)),r(n(51390)),r(n(83807)),r(n(24232)),r(n(22267)),r(n(741)),r(n(21539)),r(n(97002)),r(n(99147)),r(n(70980)),r(n(96684))},69812:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(e){var n=t.call(this)||this,r=e;return r.trigger&&(n.trigger=r.trigger),r.kick&&(n.kick=r.kick),r.drag&&(n.drag=r.drag),r.on&&(n.on=r.on),n.dragstart=n.dragStart=o.Layout.dragStart,n.dragend=n.dragEnd=o.Layout.dragEnd,n}return i(e,t),e.prototype.trigger=function(t){},e.prototype.kick=function(){},e.prototype.drag=function(){},e.prototype.on=function(t,e){return this},e}(o.Layout);e.LayoutAdaptor=a,e.adaptor=function(t){return new a(t)}},96684:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51390),i=n(66082);e.gridify=function(t,e,n,r){return t.cola.start(0,0,0,10,!1),function(t,e,n,r){t.forEach(function(t){t.routerNode={name:t.name,bounds:t.bounds.inflate(-n)}}),e.forEach(function(e){e.routerNode={bounds:e.bounds.inflate(-r),children:(void 0!==e.groups?e.groups.map(function(e){return t.length+e.id}):[]).concat(void 0!==e.leaves?e.leaves.map(function(t){return t.index}):[])}});var o=t.concat(e).map(function(t,e){return t.routerNode.id=e,t.routerNode});return new i.GridRouter(o,{getChildren:function(t){return t.children},getBounds:function(t){return t.bounds}},n-r)}(t.cola.nodes(),t.cola.groups(),n,r).routeEdges(t.powerGraph.powerEdges,e,function(t){return t.source.routerNode.id},function(t){return t.target.routerNode.id})},e.powerGraphGridLayout=function(t,e,n){var i;t.nodes.forEach(function(t,e){return t.index=e}),(new r.Layout).avoidOverlaps(!1).nodes(t.nodes).links(t.links).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){return t.padding=n})});var o=t.nodes.length,a=[],s=t.nodes.slice(0);return s.forEach(function(t,e){return t.index=e}),i.groups.forEach(function(t){var e=t.index=t.id+o;s.push(t),void 0!==t.leaves&&t.leaves.forEach(function(t){return a.push({source:e,target:t.index})}),void 0!==t.groups&&t.groups.forEach(function(t){return a.push({source:e,target:t.id+o})})}),i.powerEdges.forEach(function(t){a.push({source:t.source.index,target:t.target.index})}),(new r.Layout).size(e).nodes(s).links(a).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new r.Layout).convergenceThreshold(.001).size(e).avoidOverlaps(!0).nodes(t.nodes).links(t.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){t.padding=n})}).start(50,0,100,0,!1),powerGraph:i}}},65098:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29738),i=n(62834);e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},29738:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(){var e=t.call(this)||this;e.event=d3.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var n=e;return e.drag=function(){if(!t)var t=d3.behavior.drag().origin(o.Layout.dragOrigin).on("dragstart.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,d3.event),n.resume()}).on("dragend.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;this.call(t)},e}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[e.type](e)},e.prototype.kick=function(){var e=this;d3.timer(function(){return t.prototype.tick.call(e)})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout);e.D3StyleLayoutAdaptor=a,e.d3adaptor=function(){return new a}},62834:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390);e.D3StyleLayoutAdaptor=function(t){function e(e){var n=t.call(this)||this;n.d3Context=e,n.event=e.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var r=n;return n.drag=function(){if(!t)var t=e.drag().subject(o.Layout.dragOrigin).on("start.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,e.event),r.resume()}).on("end.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;arguments[0].call(t)},n}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event.call(e.type,e)},e.prototype.kick=function(){var e=this,n=this.d3Context.timer(function(){return t.prototype.tick.call(e)&&n.stop()})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout)},59895:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.locks={}}return t.prototype.add=function(t,e){this.locks[t]=e},t.prototype.clear=function(){this.locks={}},t.prototype.isEmpty=function(){for(var t in this.locks)return!1;return!0},t.prototype.apply=function(t){for(var e in this.locks)t(Number(e),this.locks[e])},t}();e.Locks=n,e.Descent=function(){function t(t,e,i){void 0===i&&(i=null),this.D=e,this.G=i,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new r,this.project=null,this.x=t,this.k=t.length;var o=this.n=t[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new n,this.minD=Number.MAX_VALUE;for(var a,s=o;s--;)for(a=o;--a>s;){var u=e[s][a];u>0&&u1e-9)break;var d=this.offsetDir();for(r=0;r1&&p>g||!isFinite(g))for(r=0;r1&&(m=1);var v=g*g,y=2*m*(p-g)/(v*p),_=p*p*p,w=2*-m/(v*_);for(isFinite(y)||console.log(y),r=0;r0?A-(C+1)*x:A-(C-1)*x)&&f<=b&&(this.scaleSnapByMaxH?(this.g[r][u]+=s*E*f,this.H[r][u][u]+=s*E):(this.g[r][u]+=E*f,this.H[r][u][u]+=E))}this.locks.isEmpty()||this.locks.apply(function(n,i){for(r=0;r0;)for(var i=e;i-- >0;)n(r,i)},t.prototype.matrixApply=function(e){t.mApply(this.k,this.n,e)},t.prototype.computeNextPosition=function(t,e){var n=this;this.computeDerivatives(t);var r=this.computeStepSize(this.g);if(this.stepAndProject(t,e,this.g,r),this.project){this.matrixApply(function(r,i){return n.e[r][i]=t[r][i]-e[r][i]});var i=this.computeStepSize(this.e);i=Math.max(.2,Math.min(i,1)),this.stepAndProject(t,e,this.e,i)}},t.prototype.run=function(t){for(var e=Number.MAX_VALUE,n=!1;!n&&t-- >0;){var r=this.rungeKutta();n=Math.abs(e/r-1)>16)/this.range},t.prototype.getNextBetween=function(t,e){return t+this.getNext()*(e-t)},t}();e.PseudoRandom=r},13408:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(97002),a=function(){return function(){}}();e.Point=a;var s=function(){return function(t,e,n,r){this.x1=t,this.y1=e,this.x2=n,this.y2=r}}();function u(t,e,n){return(e.x-t.x)*(n.y-t.y)-(n.x-t.x)*(e.y-t.y)}function c(t,e,n){return u(t,e,n)>0}function l(t,e,n){return u(t,e,n)<0}function h(t,e){var n,r,i,o,a=e.length-1;if(l(t,e[1],e[0])&&!c(t,e[a-1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return c(t,e[n],e[r])?n:r;if((o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]))&&!c(t,e[i-1],e[i]))return i;c(t,e[n+1],e[n])?o||c(t,e[n],e[i])?r=i:n=i:o&&l(t,e[n],e[i])?r=i:n=i}}function f(t,e){var n,r,i,o,a=e.length-1;if(c(t,e[a-1],e[0])&&!l(t,e[1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return l(t,e[n],e[r])?n:r;if(o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]),c(t,e[i-1],e[i])&&!o)return i;l(t,e[n+1],e[n])?o?l(t,e[n],e[i])?r=i:n=i:r=i:o?n=i:c(t,e[n],e[i])?r=i:n=i}}function d(t,e,n,r,i,o){var a,s;s=r(t[a=n(e[0],t)],e);for(var u=!1;!u;){for(u=!0;a===t.length-1&&(a=0),!i(e[s],t[a],t[a+1]);)++a;for(;0===s&&(s=e.length-1),!o(t[a],e[s],e[s-1]);)--s,u=!1}return{t1:a,t2:s}}function p(t,e){return d(t,e,h,f,c,l)}e.LineSegment=s,e.PolyPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a),e.isLeft=u,e.ConvexHull=function(t){var e,n=t.slice(0).sort(function(t,e){return t.x!==e.x?e.x-t.x:e.y-t.y}),r=t.length,i=n[0].x;for(e=1;e=0&&n[e].x===l;e--);for(s=e+1,e=o;++e<=s;)if(!(u(n[0],n[s],n[e])>=0&&e1&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}c!=s&&a.push(n[c]);var h=a.length;for(e=s;--e>=o;)if(!(u(n[c],n[o],n[e])>=0&&e>o)){for(;a.length>h&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}}return a},e.clockwiseRadialSweep=function(t,e,n){e.slice(0).sort(function(e,n){return Math.atan2(e.y-t.y,e.x-t.x)-Math.atan2(n.y-t.y,n.x-t.x)}).forEach(n)},e.tangent_PolyPolyC=d,e.LRtangent_PolyPolyC=function(t,e){var n=p(e,t);return{t1:n.t2,t2:n.t1}},e.RLtangent_PolyPolyC=p,e.LLtangent_PolyPolyC=function(t,e){return d(t,e,f,f,l,l)},e.RRtangent_PolyPolyC=function(t,e){return d(t,e,h,h,c,c)};var g=function(){return function(t,e){this.t1=t,this.t2=e}}();e.BiTangent=g;var m=function(){return function(){}}();e.BiTangents=m,e.TVGPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a);var v=function(){return function(t,e,n,r){this.id=t,this.polyid=e,this.polyvertid=n,this.p=r,r.vv=this}}();e.VisibilityVertex=v;var y=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.length=function(){var t=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(t*t+e*e)},t}();function _(t,e){for(var n=[],r=1,i=e.length;r=0&&v>=0&&y<0&&_>=0&&w>=0&&b<0?i.ll=new g(o,a):p<=0&&v<=0&&y>0&&_<=0&&w<=0&&b>0?i.rr=new g(o,a):p<=0&&v>0&&y<=0&&_>=0&&w<0&&b>=0?i.rl=new g(o,a):p>=0&&v<0&&y>=0&&_<=0&&w>0&&b<=0&&(i.lr=new g(o,a))}return i}function b(t,e){return!t.every(function(t){return!function(t,e){for(var n=1,r=e.length;n0&&this.E.push(new y(i[o-1].vv,a))}i.length>1&&this.E.push(new y(i[0].vv,i[i.length-1].vv))}for(r=0;r0)return!0;return!1},t}(),e.tangents=w,e.polysOverlap=function(t,e){if(b(t,e))return!0;if(b(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},66082:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97002),i=n(70980),o=n(99147),a=function(){return function(t,e,n){this.id=t,this.rect=e,this.children=n,this.leaf=void 0===n||0===n.length}}();e.NodeWrapper=a;var s=function(){return function(t,e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),this.id=t,this.x=e,this.y=n,this.node=r,this.line=i}}();e.Vert=s;var u=function(){function t(e,n){this.s=e,this.t=n;var r=t.findMatch(e,n),i=n.slice(0).reverse(),o=t.findMatch(e,i);r.length>=o.length?(this.length=r.length,this.si=r.si,this.ti=r.ti,this.reversed=!1):(this.length=o.length,this.si=o.si,this.ti=n.length-o.ti-o.length,this.reversed=!0)}return t.findMatch=function(t,e){for(var n=t.length,r=e.length,i={length:0,si:-1,ti:-1},o=new Array(n),a=0;ai.length&&(i.length=u,i.si=a-u+1,i.ti=s-u+1)}else o[a][s]=0}return i},t.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},t}();e.LongestCommonSubsequence=u,e.GridRouter=function(){function t(t,e,n){var i=this;void 0===n&&(n=12),this.originalnodes=t,this.groupPadding=n,this.leaves=null,this.nodes=t.map(function(t,n){return new a(n,e.getBounds(t),e.getChildren(t))}),this.leaves=this.nodes.filter(function(t){return t.leaf}),this.groups=this.nodes.filter(function(t){return!t.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(t){return t.children.forEach(function(e){return i.nodes[e].parent=t})}),this.root={children:[]},this.nodes.forEach(function(t){void 0===t.parent&&(t.parent=i.root,i.root.children.push(t.id)),t.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(t,e){return i.getDepth(t)-i.getDepth(e)}),this.backToFront.slice(0).reverse().filter(function(t){return!t.leaf}).forEach(function(t){var e=r.Rectangle.empty();t.children.forEach(function(t){return e=e.union(i.nodes[t].rect)}),t.rect=e.inflate(i.groupPadding)});var o=this.midPoints(this.cols.map(function(t){return t.pos})),u=this.midPoints(this.rows.map(function(t){return t.pos})),c=o[0],l=o[o.length-1],h=u[0],f=u[u.length-1],d=this.rows.map(function(t){return{x1:c,x2:l,y1:t.pos,y2:t.pos}}).concat(u.map(function(t){return{x1:c,x2:l,y1:t,y2:t}})),p=this.cols.map(function(t){return{x1:t.pos,x2:t.pos,y1:h,y2:f}}).concat(o.map(function(t){return{x1:t,x2:t,y1:h,y2:f}})),g=d.concat(p);g.forEach(function(t){return t.verts=[]}),this.verts=[],this.edges=[],d.forEach(function(t){return p.forEach(function(e){var n=new s(i.verts.length,e.x1,t.y1);t.verts.push(n),e.verts.push(n),i.verts.push(n);for(var r=i.backToFront.length;r-- >0;){var o=i.backToFront[r],a=o.rect,u=Math.abs(n.x-a.cx()),c=Math.abs(n.y-a.cy());if(u0;){var r=n.filter(function(e){return e.rect["overlap"+t.toUpperCase()](n[0].rect)}),i={nodes:r,pos:this.avg(r.map(function(e){return e.rect["c"+t]()}))};e.push(i),i.nodes.forEach(function(t){return n.splice(n.indexOf(t),1)})}return e.sort(function(t,e){return t.pos-e.pos}),e},t.prototype.getDepth=function(t){for(var e=0;t.parent!==this.root;)e++,t=t.parent;return e},t.prototype.midPoints=function(t){for(var e=t[1]-t[0],n=[t[0]-e/2],r=1;r.1)&&s.push(u={pos:l[0][e],segments:[]}),u.segments.push(l)}return s},t.nudgeSegs=function(t,e,n,r,o,a){var s=r.length;if(!(s<=1)){for(var u=r.map(function(e){return new i.Variable(e[0][t])}),c=[],l=0;l=0&&c.push(new i.Constraint(u[g],u[m],a))}new i.Solver(u,c).solve(),u.forEach(function(e,i){var o=r[i],a=e.position();o[0][t]=o[1][t]=a;var s=n[o.edgeid];o.i>0&&(s[o.i-1][1][t]=a),o.iMath.PI||i<-Math.PI)&&(i=r-n),i},t.isLeft=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)<=0},t.getOrder=function(t){for(var e={},n=0;n=c.length||h.ti+h.length>=l.length)?n.push({l:r,r:i}):(h.si+h.length>=c.length||h.ti+h.length>=l.length?(o=c[h.si+1],s=c[h.si-1],a=l[h.ti-1]):(o=c[h.si+h.length-2],a=c[h.si+h.length],s=l[h.ti+h.length]),t.isLeft(o,a,s)?n.push({l:i,r}):n.push({l:r,r:i})))}return t.getOrder(n)},t.makeSegments=function(t){function e(t){return{x:t.x,y:t.y}}for(var n=function(t,e,n){return Math.abs((e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x))<.001},r=[],i=e(t[0]),o=1;o1&&l>1?1e3:0}).reverse().map(function(t){return n.verts[t]});return u.push(this.nodes[i.id].ports[0]),u.filter(function(t,e){return!(e0&&t.node===i&&u[e-1].node===i)})},t.getRoutePath=function(e,n,r,i){var o,a,s,u,c,l={routepath:"M "+e[0][0].x+" "+e[0][0].y+" ",arrowpath:""};if(e.length>1)for(var h=0;h0?a-=f/Math.abs(f)*n:s-=d/Math.abs(d)*n,l.routepath+="L "+a+" "+s+" ";var p=e[h+1],g=p[0].x,m=p[0].y;f=p[1].x-g,d=p[1].y-m;var v,y,_=t.angleBetween2Lines(o,p)<0?1:0;Math.abs(f)>0?(v=g+f/Math.abs(f)*n,y=m):(v=g,y=m+d/Math.abs(d)*n);var w=Math.abs(v-a),b=Math.abs(y-s);l.routepath+="A "+w+" "+b+" 0 0 "+_+" "+v+" "+y+" "}else{var x=[a,s];Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1])}}else f=(a=(o=e[0])[1].x)-o[0].x,d=(s=o[1].y)-o[0].y,x=[a,s],Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1]);return l},t}()},33839:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(1+Math.sqrt(5))/2;e.applyPacking=function(t,e,r,i,o,a){void 0===o&&(o=1),void 0===a&&(a=!0);var s=e,u=r,c=(o=void 0!==o?o:1,i=void 0!==i?i:0,0),l=0,h=0,f=0,d=[];function p(t,e){d=[],c=0,l=0,f=0;for(var n=0;n=t.height&&d[r].x+d[r].width+t.width+10-e<=1e-4){n=d[r];break}d.push(t),void 0!==n?(t.x=n.x+n.width+10,t.y=n.bottom,t.space_left=t.height,t.bottom=t.y,n.space_left-=t.height+10,n.bottom+=t.height+10):(t.y=f,f+=t.height+10,t.x=0,t.bottom=t.y,t.space_left=t.height),t.y+t.height-l>-1e-4&&(l=t.y+t.height-0),t.x+t.width-c>-1e-4&&(c=t.x+t.width-0)}0!=t.length&&(function(t){t.forEach(function(t){var e,n,r,o,a;e=t,n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=0,a=0,e.array.forEach(function(t){var e=void 0!==t.width?t.width:i,s=void 0!==t.height?t.height:i;e/=2,s/=2,o=Math.max(t.x+e,o),n=Math.min(t.x-e,n),a=Math.max(t.y+s,a),r=Math.min(t.y-s,r)}),e.width=o-n,e.height=a-r})}(t),function(t,e){var r=Number.POSITIVE_INFINITY,i=0;t.sort(function(t,e){return e.height-t.height});for(var o=g=h=t.reduce(function(t,e){return t.widthh||d>1e-4;){if(1!=l){var g=a-(a-o)/n;u=p(t,g)}if(0!=l){var m=o+(a-o)/n;c=p(t,m)}if(f=Math.abs(g-m),d=Math.abs(u-c),uc?(o=g,g=m,u=c,l=1):(a=m,m=g,c=u,l=0),s++>100)break}p(t,i)}(t),a&&function(t){t.forEach(function(t){var e={x:0,y:0};t.array.forEach(function(t){e.x+=t.x,e.y+=t.y}),e.x/=t.array.length,e.y/=t.array.length;var n=t.x-(e.x-t.width/2)+s/2-c/2,r=t.y-(e.y-t.height/2)+u/2-l/2;t.array.forEach(function(t){t.x+=n,t.y+=r})})}(t))},e.separateGraphs=function(t,e){for(var n={},r={},i=[],o=0,a=0;a0){var e=0;this._links.forEach(function(t){e=Math.max(e,t.source,t.target)}),this._nodes=new Array(++e);for(var n=0;n0?t:0:t>0&&(this._running||(this._running=!0,this.trigger({type:l.start,alpha:this._alpha=t}),this.kick())),this):this._alpha},t.prototype.getLinkLength=function(t){return"function"==typeof this._linkDistance?+this._linkDistance(t):this._linkDistance},t.setLinkLength=function(t,e){t.length=e},t.prototype.getLinkType=function(t){return"function"==typeof this._linkType?this._linkType(t):0},t.prototype.symmetricDiffLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.symmetricDiffLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.jaccardLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.jaccardLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.start=function(e,n,r,u,c,l){var h=this;void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===u&&(u=0),void 0===c&&(c=!0),void 0===l&&(l=!0);var f,d=this.nodes().length,p=d+2*this._groups.length,g=this._canvasSize[0],m=this._canvasSize[1],v=new Array(p),y=new Array(p),_=null,w=this._avoidOverlaps;this._nodes.forEach(function(t,e){t.index=e,void 0===t.x&&(t.x=g/2,t.y=m/2),v[e]=t.x,y[e]=t.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?f=this._distanceMatrix:(f=new s.Calculator(p,this._links,t.getSourceIndex,t.getTargetIndex,function(t){return h.getLinkLength(t)}).DistanceMatrix(),_=o.Descent.createSquareMatrix(p,function(){return 2}),this._links.forEach(function(t){"number"==typeof t.source&&(t.source=h._nodes[t.source]),"number"==typeof t.target&&(t.target=h._nodes[t.target])}),this._links.forEach(function(e){var n=t.getSourceIndex(e),r=t.getTargetIndex(e);_[n][r]=_[r][n]=e.weight||1}));var b=o.Descent.createSquareMatrix(p,function(t,e){return f[t][e]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var x=d;this._groups.forEach(function(t){!function(t,e,n,r){_[t][e]=_[e][t]=n,b[t][e]=b[e][t]=.1}(x,x+1,h._groupCompactness),v[x]=0,y[x++]=0,v[x]=0,y[x++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var E=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,E=E.concat(i.generateDirectedEdgeConstraints(d,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new o.Descent([v,y],b),this._descent.locks.clear(),x=0;x0&&(this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E).projectFunctions()),this._descent.run(n),this.separateOverlappingComponents(g,m,l),this.avoidOverlaps(w),w&&(this._nodes.forEach(function(t,e){t.x=v[e],t.y=y[e]}),this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E,!0).projectFunctions(),this._nodes.forEach(function(t,e){v[e]=t.x,y[e]=t.y})),this._descent.G=_,this._descent.run(r),u){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=d,this._descent.scaleSnapByMaxH=d!=p;var A=o.Descent.createSquareMatrix(p,function(t,e){return t>=d||e>=d?_[t][e]:0});this._descent.G=A,this._descent.run(u)}return this.updateNodePositions(),this.separateOverlappingComponents(g,m,l),c?this.resume():this},t.prototype.initialLayout=function(e,n,r){if(this._groups.length>0&&e>0){var i=this._nodes.length,o=this._links.map(function(t){return{source:t.source.index,target:t.target.index}}),a=this._nodes.map(function(t){return{index:t.index}});this._groups.forEach(function(t,e){a.push({index:t.index=i+e})}),this._groups.forEach(function(t,e){void 0!==t.leaves&&t.leaves.forEach(function(e){return o.push({source:t.index,target:e.index})}),void 0!==t.groups&&t.groups.forEach(function(e){return o.push({source:t.index,target:e.index})})}),(new t).size(this.size()).nodes(a).links(o).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(e,0,0,0,!1),this._nodes.forEach(function(t){n[t.index]=a[t.index].x,r[t.index]=a[t.index].y})}else this._descent.run(e)},t.prototype.separateOverlappingComponents=function(t,e,n){var r=this;if(void 0===n&&(n=!0),!this._distanceMatrix&&this._handleDisconnected){var i=this._descent.x[0],o=this._descent.x[1];this._nodes.forEach(function(t,e){t.x=i[e],t.y=o[e]});var a=c.separateGraphs(this._nodes,this._links);c.applyPacking(a,t,e,this._defaultNodeSize,1,n),this._nodes.forEach(function(t,e){r._descent.x[0][e]=t.x,r._descent.x[1][e]=t.y,t.bounds&&(t.bounds.setXCentre(t.x),t.bounds.setYCentre(t.y))})}},t.prototype.resume=function(){return this.alpha(.1)},t.prototype.stop=function(){return this.alpha(0)},t.prototype.prepareEdgeRouting=function(t){void 0===t&&(t=0),this._visibilityGraph=new u.TangentVisibilityGraph(this._nodes.map(function(e){return e.bounds.inflate(-t).vertices()}))},t.prototype.routeEdge=function(t,e,n){void 0===e&&(e=5);var r=[],i=new u.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),o={x:t.source.x,y:t.source.y},c={x:t.target.x,y:t.target.y},l=i.addPoint(o,t.source.index),h=i.addPoint(c,t.target.index);i.addEdgeIfVisible(o,c,t.source.index,t.target.index),void 0!==n&&n(i);var f=new s.Calculator(i.V.length,i.E,function(t){return t.source.id},function(t){return t.target.id},function(t){return t.length()}).PathFromNodeToNode(l.id,h.id);if(1===f.length||f.length===i.V.length){var d=a.makeEdgeBetween(t.source.innerBounds,t.target.innerBounds,e);r=[d.sourceIntersection,d.arrowStart]}else{for(var p=f.length-2,g=i.V[f[p]].p,m=i.V[f[0]].p,v=(r=[t.source.innerBounds.rayIntersection(g.x,g.y)],p);v>=0;--v)r.push(i.V[f[v]].p);r.push(a.makeEdgeTo(m,t.target.innerBounds,e))}return r},t.getSourceIndex=function(t){return"number"==typeof t.source?t.source:t.source.index},t.getTargetIndex=function(t){return"number"==typeof t.target?t.target:t.target.index},t.linkId=function(e){return t.getSourceIndex(e)+"-"+t.getTargetIndex(e)},t.dragStart=function(e){h(e)?t.storeOffset(e,t.dragOrigin(e)):(t.stopNode(e),e.fixed|=2)},t.stopNode=function(t){t.px=t.x,t.py=t.y},t.storeOffset=function(e,n){void 0!==e.leaves&&e.leaves.forEach(function(e){e.fixed|=2,t.stopNode(e),e._dragGroupOffsetX=e.x-n.x,e._dragGroupOffsetY=e.y-n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.storeOffset(e,n)})},t.dragOrigin=function(t){return h(t)?{x:t.bounds.cx(),y:t.bounds.cy()}:t},t.drag=function(e,n){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(t){e.bounds.setXCentre(n.x),e.bounds.setYCentre(n.y),t.px=t._dragGroupOffsetX+n.x,t.py=t._dragGroupOffsetY+n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.drag(e,n)})):(e.px=n.x,e.py=n.y)},t.dragEnd=function(e){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(e){t.dragEnd(e),delete e._dragGroupOffsetX,delete e._dragGroupOffsetY}),void 0!==e.groups&&e.groups.forEach(t.dragEnd)):e.fixed&=-7},t.mouseOver=function(t){t.fixed|=4,t.px=t.x,t.py=t.y},t.mouseOut=function(t){t.fixed&=-5},t}()},83807:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(99147),i=n(59895),o=n(97002),a=n(24232);e.Link3D=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.actualLength=function(t){var e=this;return Math.sqrt(t.reduce(function(t,n){var r=n[e.target]-n[e.source];return t+r*r},0))},t}(),e.Node3D=function(){return function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n}}(),e.Layout3D=function(){function t(e,n,r){var i=this;void 0===r&&(r=1),this.nodes=e,this.links=n,this.idealLinkLength=r,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(t.k);for(var o=0;o=this.R))return this.merge(e.a,e.b,t),!0}},t.prototype.nEdges=function(t,e){var n=t.incoming.intersection(e.incoming),r=t.outgoing.intersection(e.outgoing);return this.R-n.count()-r.count()},t.prototype.getGroupHierarchy=function(t){var e=this,r=[];return i(this.roots[0],{},r),this.allEdges().forEach(function(i){var o=e.modules[i.source],a=e.modules[i.target];t.push(new n(void 0===o.gid?i.source:r[o.gid],void 0===a.gid?i.target:r[a.gid],i.type))}),r},t.prototype.allEdges=function(){var e=[];return t.getEdges(this.roots[0],e),e},t.getEdges=function(e,n){e.forAll(function(e){e.getEdges(n),t.getEdges(e.children,n)})},t}();function i(t,e,n){t.forAll(function(t){if(t.isLeaf())e.leaves||(e.leaves=[]),e.leaves.push(t.id);else{var r=e;if(t.gid=n.length,!t.isIsland()||t.isPredefined()){if(r={id:t.gid},t.isPredefined())for(var o in t.definition)r[o]=t.definition[o];e.groups||(e.groups=[]),e.groups.push(t.gid),n.push(r)}i(t.children,r,n)}})}e.Configuration=r;var o=function(){function t(t,e,n,r,i){void 0===e&&(e=new s),void 0===n&&(n=new s),void 0===r&&(r=new a),this.id=t,this.outgoing=e,this.incoming=n,this.children=r,this.definition=i}return t.prototype.getEdges=function(t){var e=this;this.outgoing.forAll(function(r,i){r.forAll(function(r){t.push(new n(e.id,r.id,i))})})},t.prototype.isLeaf=function(){return 0===this.children.count()},t.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},t.prototype.isPredefined=function(){return void 0!==this.definition},t}();e.Module=o;var a=function(){function t(){this.table={}}return t.prototype.count=function(){return Object.keys(this.table).length},t.prototype.intersection=function(e){var n=new t;return n.table=function(t,e){var n={};for(var r in t)r in e&&(n[r]=t[r]);return n}(this.table,e.table),n},t.prototype.intersectionCount=function(t){return this.intersection(t).count()},t.prototype.contains=function(t){return t in this.table},t.prototype.add=function(t){this.table[t.id]=t},t.prototype.remove=function(t){delete this.table[t.id]},t.prototype.forAll=function(t){for(var e in this.table)t(this.table[e])},t.prototype.modules=function(){var t=[];return this.forAll(function(e){e.isPredefined()||t.push(e)}),t},t}();e.ModuleSet=a;var s=function(){function t(){this.sets={},this.n=0}return t.prototype.count=function(){return this.n},t.prototype.contains=function(t){var e=!1;return this.forAllModules(function(n){e||n.id!=t||(e=!0)}),e},t.prototype.add=function(t,e){(t in this.sets?this.sets[t]:this.sets[t]=new a).add(e),++this.n},t.prototype.remove=function(t,e){var n=this.sets[t];n.remove(e),0===n.count()&&delete this.sets[t],--this.n},t.prototype.forAll=function(t){for(var e in this.sets)t(this.sets[e],Number(e))},t.prototype.forAllModules=function(t){this.forAll(function(e,n){return e.forAll(t)})},t.prototype.intersection=function(e){var n=new t;return this.forAll(function(t,r){if(r in e.sets){var i=t.intersection(e.sets[r]),o=i.count();o>0&&(n.sets[r]=i,n.n+=o)}}),n},t}();e.LinkSets=s,e.getGroups=function(t,e,n,i){for(var o=new r(t.length,e,n,i);o.greedyMerge(););var a=[],s=o.getGroupHierarchy(a);return a.forEach(function(e){var n=function(n){var r=e[n];"number"==typeof r&&(e[n]=t[r])};n("source"),n("target")}),{groups:s,powerEdges:a}}},741:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(t){for(var e=this._root;null!==e;){var n=this._comparator(t,e.data);if(0===n)return e.data;e=e.get_child(n>0)}return null},t.prototype.lowerBound=function(t){return this._bound(t,this._comparator)},t.prototype.upperBound=function(t){var e=this._comparator;return this._bound(t,function(t,n){return e(n,t)})},t.prototype.min=function(){var t=this._root;if(null===t)return null;for(;null!==t.left;)t=t.left;return t.data},t.prototype.max=function(){var t=this._root;if(null===t)return null;for(;null!==t.right;)t=t.right;return t.data},t.prototype.iterator=function(){return new o(this)},t.prototype.each=function(t){for(var e,n=this.iterator();null!==(e=n.next());)t(e)},t.prototype.reach=function(t){for(var e,n=this.iterator();null!==(e=n.prev());)t(e)},t.prototype._bound=function(t,e){for(var n=this._root,r=this.iterator();null!==n;){var i=this._comparator(t,n.data);if(0===i)return r._cursor=n,r;r._ancestors.push(n),n=n.get_child(i>0)}for(var o=r._ancestors.length-1;o>=0;--o)if(e(t,(n=r._ancestors[o]).data)>0)return r._cursor=n,r._ancestors.length=o,r;return r._ancestors.length=0,r},t}();e.TreeBase=i;var o=function(){function t(t){this._tree=t,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._minNode(t)}else{var e;if(null===this._cursor.right)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===e);else this._ancestors.push(this._cursor),this._minNode(this._cursor.right)}return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._maxNode(t)}else{var e;if(null===this._cursor.left)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===e);else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left)}return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(t){for(;null!==t.left;)this._ancestors.push(t),t=t.left;this._cursor=t},t.prototype._maxNode=function(t){for(;null!==t.right;)this._ancestors.push(t),t=t.right;this._cursor=t},t}();e.Iterator=o;var a=function(){function t(t){this.data=t,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(t){return t?this.right:this.left},t.prototype.set_child=function(t,e){t?this.right=e:this.left=e},t}();e.RBTree=function(t){function e(e){var n=t.call(this)||this;return n._root=null,n._comparator=e,n.size=0,n}return r(e,t),e.prototype.insert=function(t){var n=!1;if(null===this._root)this._root=new a(t),n=!0,this.size++;else{var r=new a(void 0),i=!1,o=!1,s=null,u=r,c=null,l=this._root;for(u.right=this._root;;){if(null===l?(l=new a(t),c.set_child(i,l),n=!0,this.size++):e.is_red(l.left)&&e.is_red(l.right)&&(l.red=!0,l.left.red=!1,l.right.red=!1),e.is_red(l)&&e.is_red(c)){var h=u.right===s;l===c.get_child(o)?u.set_child(h,e.single_rotate(s,!o)):u.set_child(h,e.double_rotate(s,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==s&&(u=s),s=c,c=l,l=l.get_child(i=f<0)}this._root=r.right}return this._root.red=!1,n},e.prototype.remove=function(t){if(null===this._root)return!1;var n=new a(void 0),r=n;r.right=this._root;for(var i=null,o=null,s=null,u=!0;null!==r.get_child(u);){var c=u;o=i,i=r,r=r.get_child(u);var l=this._comparator(t,r.data);if(u=l>0,0===l&&(s=r),!e.is_red(r)&&!e.is_red(r.get_child(u)))if(e.is_red(r.get_child(!u))){var h=e.single_rotate(r,u);i.set_child(c,h),i=h}else if(!e.is_red(r.get_child(!u))){var f=i.get_child(!c);if(null!==f)if(e.is_red(f.get_child(!c))||e.is_red(f.get_child(c))){var d=o.right===i;e.is_red(f.get_child(c))?o.set_child(d,e.double_rotate(i,c)):e.is_red(f.get_child(!c))&&o.set_child(d,e.single_rotate(i,c));var p=o.get_child(d);p.red=!0,r.red=!0,p.left.red=!1,p.right.red=!1}else i.red=!1,f.red=!0,r.red=!0}}return null!==s&&(s.data=r.data,i.set_child(i.right===r,r.get_child(null===r.left)),this.size--),this._root=n.right,null!==this._root&&(this._root.red=!1),null!==s},e.is_red=function(t){return null!==t&&t.red},e.single_rotate=function(t,e){var n=t.get_child(!e);return t.set_child(!e,n.get_child(e)),n.set_child(e,t),t.red=!0,n.red=!1,n},e.double_rotate=function(t,n){return t.set_child(!n,e.single_rotate(t.get_child(!n),!n)),e.single_rotate(t,n)},e}(i)},97002:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(70980),a=n(21539);function s(t){return t.bounds=void 0!==t.leaves?t.leaves.reduce(function(t,e){return e.bounds.union(t)},u.empty()):u.empty(),void 0!==t.groups&&(t.bounds=t.groups.reduce(function(t,e){return s(e).union(t)},t.bounds)),t.bounds=t.bounds.inflate(t.padding),t.bounds}e.computeGroupBounds=s;var u=function(){function t(t,e,n,r){this.x=t,this.X=e,this.y=n,this.Y=r}return t.empty=function(){return new t(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},t.prototype.cx=function(){return(this.x+this.X)/2},t.prototype.cy=function(){return(this.y+this.Y)/2},t.prototype.overlapX=function(t){var e=this.cx(),n=t.cx();return e<=n&&t.x0?n[0]:null},t.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},t.lineIntersection=function(t,e,n,r,i,o,a,s){var u=n-t,c=a-i,l=r-e,h=s-o,f=h*u-c*l;if(0==f)return null;var d=t-i,p=e-o,g=(c*p-h*d)/f,m=(u*p-l*d)/f;return g>=0&&g<=1&&m>=0&&m<=1?{x:t+g*u,y:e+g*l}:null},t.prototype.inflate=function(e){return new t(this.x-e,this.X+e,this.y-e,this.Y+e)},t}();e.Rectangle=u,e.makeEdgeBetween=function(t,e,n){var r=t.rayIntersection(e.cx(),e.cy())||{x:t.cx(),y:t.cy()},i=e.rayIntersection(t.cx(),t.cy())||{x:e.cx(),y:e.cy()},o=i.x-r.x,a=i.y-r.y,s=Math.sqrt(o*o+a*a),u=s-n;return{sourceIntersection:r,targetIntersection:i,arrowStart:{x:r.x+u*o/s,y:r.y+u*a/s}}},e.makeEdgeTo=function(t,e,n){var r=e.rayIntersection(t.x,t.y);r||(r={x:e.cx(),y:e.cy()});var i=r.x-t.x,o=r.y-t.y,a=Math.sqrt(i*i+o*o);return{x:r.x-n*i/a,y:r.y-n*o/a}};var c=function(){return function(t,e,n){this.v=t,this.r=e,this.pos=n,this.prev=f(),this.next=f()}}(),l=function(){return function(t,e,n){this.isOpen=t,this.v=e,this.pos=n}}();function h(t,e){return t.pos>e.pos?1:t.pos0&&(t[n].insert(i),i[r].insert(t))};n("next","prev"),n("prev","next")}};function g(t,e,n,r){void 0===r&&(r=!1);var i=t.padding,o=void 0!==t.groups?t.groups.length:0,a=void 0!==t.leaves?t.leaves.length:0,s=o?t.groups.reduce(function(t,r){return t.concat(g(r,e,n,!0))},[]):[],u=(r?2:0)+a+o,c=new Array(u),l=new Array(u),h=0,f=function(t,e){l[h]=t,c[h++]=e};if(r){var d=t.bounds,p=e.getCentre(d),v=e.getSize(d)/2,y=e.getOpen(d),_=e.getClose(d),w=p-v+i/2,b=p+v-i/2;t.minVar.desiredPosition=w,f(e.makeRect(y,_,w,i),t.minVar),t.maxVar.desiredPosition=b,f(e.makeRect(y,_,b,i),t.maxVar)}a&&t.leaves.forEach(function(t){return f(t.bounds,t.variable)}),o&&t.groups.forEach(function(t){var n=t.bounds;f(e.makeRect(e.getOpen(n),e.getClose(n),e.getCentre(n),e.getSize(n)),t.minVar)});var x=m(l,c,e,n);return o&&(c.forEach(function(t){t.cOut=[],t.cIn=[]}),x.forEach(function(t){t.left.cOut.push(t),t.right.cIn.push(t)}),t.groups.forEach(function(t){var n=(t.padding-e.getSize(t.bounds))/2;t.minVar.cIn.forEach(function(t){return t.gap+=n}),t.minVar.cOut.forEach(function(e){e.left=t.maxVar,e.gap+=n})})),s.concat(x)}function m(t,e,n,r){var i,a=t.length,s=2*a;console.assert(e.length>=a);var u=new Array(s);for(i=0;it[n]&&(t[n]=e)}o=t})}},t.prototype.createAlignment=function(t){var e=this,n=this.nodes[t.offsets[0].node].variable;this.makeFeasible(t);var r="x"===t.axis?this.xConstraints:this.yConstraints;t.offsets.slice(1).forEach(function(t){r.push(new o.Constraint(n,e.nodes[t.node].variable,t.offset,!0))})},t.prototype.createConstraints=function(t){var e=this,n=function(t){return void 0===t.type||"separation"===t.type};this.xConstraints=t.filter(function(t){return"x"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),this.yConstraints=t.filter(function(t){return"y"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),t.filter(function(t){return"alignment"===t.type}).forEach(function(t){return e.createAlignment(t)})},t.prototype.setupVariablesAndBounds=function(t,e,n,r){this.nodes.forEach(function(i,o){i.fixed?(i.variable.weight=i.fixedWeight?i.fixedWeight:1e3,n[o]=r(i)):i.variable.weight=1;var a=(i.width||0)/2,s=(i.height||0)/2,c=t[o],l=e[o];i.bounds=new u(c-a,c+a,l-s,l+s)})},t.prototype.xProject=function(t,e,n){(this.rootGroup||this.avoidOverlaps||this.xConstraints)&&this.project(t,e,t,n,function(t){return t.px},this.xConstraints,_,function(t){return t.bounds.setXCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.x=e-i,t.bounds.X=r+i})},t.prototype.yProject=function(t,e,n){(this.rootGroup||this.yConstraints)&&this.project(t,e,e,n,function(t){return t.py},this.yConstraints,w,function(t){return t.bounds.setYCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.y=e-i,t.bounds.Y=r+i})},t.prototype.projectFunctions=function(){var t=this;return[function(e,n,r){return t.xProject(e,n,r)},function(e,n,r){return t.yProject(e,n,r)}]},t.prototype.project=function(t,e,n,r,i,o,a,u,c){this.setupVariablesAndBounds(t,e,r,i),this.rootGroup&&this.avoidOverlaps&&(s(this.rootGroup),o=o.concat(a(this.rootGroup))),this.solve(this.variables,o,n,r),this.nodes.forEach(u),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(c),s(this.rootGroup))},t.prototype.solve=function(t,e,n,r){var i=new o.Solver(t,e);i.setStartingPositions(n),i.setDesiredPositions(r),i.solve()},t}()},99147:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(741),i=function(){return function(t,e){this.id=t,this.distance=e}}(),o=function(){return function(t){this.id=t,this.neighbours=[]}}(),a=function(){return function(t,e,n){this.node=t,this.prev=e,this.d=n}}();e.Calculator=function(){function t(t,e,n,r,a){this.n=t,this.es=e,this.neighbours=new Array(this.n);for(var s=this.n;s--;)this.neighbours[s]=new o(s);for(s=this.es.length;s--;){var u=this.es[s],c=n(u),l=r(u),h=a(u);this.neighbours[c].neighbours.push(new i(l,h)),this.neighbours[l].neighbours.push(new i(c,h))}}return t.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),e=0;eh&&(c.d=h,c.prev=s,n.reduceKey(c.q,c,function(t,e){return t.q=e}))}}return o},t}()},70980:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.weight;this.AB+=n*e*(t.offset/t.scale),this.AD+=n*e*t.desiredPosition,this.A2+=n*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();e.PositionStats=n;var r=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();e.Constraint=r;var i=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach(function(t){return n(t,t.right)}),this.cIn.forEach(function(t){return n(t,t.left)})},t}();e.Variable=i;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new n(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();e.Solver=s,e.removeOverlapInOneDimension=function(t,e,n){for(var o=t.map(function(t){return new i(t.desiredCenter)}),a=[],u=t.length,c=0;c=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function l(t,e){if(t){if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(t,e):void 0}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)this._basis.point(this._beta*t[u]+(1-this._beta)*(i+(r=u/n)*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ze=function t(e){function n(t){return 1===e?new Fe(t):new qe(t,e)}return n.beta=function(e){return t(+e)},n}(.85),je=l(55959);function Ye(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function Be(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var Je=l(10709),Ge=l(26899),Ve=l(87254),He=l(41036),Qe=(l(92711),l(64641)),We=(l(8634),l(3031));function Xe(t){return{type:t}}function $e(t,e){return te?1:t>=e?0:NaN}function Ke(t){var e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=function(e,n){return t(e)-n},n=function(t){return function(e,n){return $e(t(e),n)}}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);var a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}l(45161),l(38337),l(82159),["w","e"].map(Xe),["n","s"].map(Xe),["n","w","e","s","nw","ne","sw","se"].map(Xe);var tn=Math.sqrt(50),en=Math.sqrt(10),nn=Math.sqrt(2);function rn(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=tn?10:o>=en?5:o>=nn?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=tn?10:o>=en?5:o>=nn?2:1)}function on(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=tn?i*=10:o>=en?i*=5:o>=nn&&(i*=2),e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return an.setTime(+e),sn.setTime(+r),t(an),t(sn),Math.floor(n(an,sn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var cn=un(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});cn.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?un(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):cn:null};var ln=cn,hn=un(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),fn=un(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()}),dn=un(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),pn=un(function(t){return t.setHours(0,0,0,0)},function(t,e){return t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1});function gn(t){return un(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var vn=gn(0),mn=(gn(1),gn(2),gn(3),gn(4),gn(5),gn(6),un(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),yn=un(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});yn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?un(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var _n=yn,wn=un(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()}),bn=un(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),xn=un(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function En(t){return un(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var Tn=En(0),An=(En(1),En(2),En(3),En(4),En(5),En(6),un(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),Sn=un(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function kn(t,e,n,r,i,o){var a=[[hn,1,1e3],[hn,5,5e3],[hn,15,15e3],[hn,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){var i=Math.abs(n-e)/r,o=Ke(function(t){return u(t,3)[2]}).right(a,i);if(o===a.length)return t.every(on(e/31536e6,n/31536e6,r));if(0===o)return ln.every(Math.max(on(e,n,r),1));var s=u(a[i/a[o-1][2]0?un(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var In=u(kn(Sn,An,Tn,xn,bn,wn),2),Cn=(In[0],In[1],u(kn(_n,mn,vn,pn,dn,fn),2)),Dn=(Cn[0],Cn[1],new Date),Nn=new Date;function Zn(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Dn.setTime(+e),Nn.setTime(+r),t(Dn),t(Nn),Math.floor(n(Dn,Nn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function Mn(t){return Zn(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var On=Mn(0),Rn=Mn(1),Ln=(Mn(2),Mn(3),Mn(4)),Un=(Mn(5),Mn(6),Zn(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function Pn(t){return Zn(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var Fn=Pn(0),qn=Pn(1),zn=(Pn(2),Pn(3),Pn(4)),jn=(Pn(5),Pn(6),Zn(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1})),Yn=Zn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Yn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Zn(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Bn=Yn,Jn=Zn(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Jn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Zn(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Gn=Jn,Vn={"-":"",_:" ",0:"0"},Hn=/[\\^$*+?|[\]().{}]/g;function Qn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?zn(t):zn.ceil(t),Qn(zn.count(Bn(t),t)+(4===Bn(t).getDay()),e,2)}function hr(t){return t.getDay()}function fr(t,e){return Qn(qn.count(Bn(t)-1,t),e,2)}function dr(t,e){return Qn(t.getFullYear()%100,e,2)}function pr(t,e){return Qn(t.getFullYear()%1e4,e,4)}function gr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Qn(e/60|0,"0",2)+Qn(e%60,"0",2)}function vr(t,e){return Qn(t.getUTCDate(),e,2)}function mr(t,e){return Qn(t.getUTCHours(),e,2)}function yr(t,e){return Qn(t.getUTCHours()%12||12,e,2)}function _r(t,e){return Qn(1+Un.count(Gn(t),t),e,3)}function wr(t,e){return Qn(t.getUTCMilliseconds(),e,3)}function br(t,e){return wr(t,e)+"000"}function xr(t,e){return Qn(t.getUTCMonth()+1,e,2)}function Er(t,e){return Qn(t.getUTCMinutes(),e,2)}function Tr(t,e){return Qn(t.getUTCSeconds(),e,2)}function Ar(t){var e=t.getUTCDay();return 0===e?7:e}function Sr(t,e){return Qn(On.count(Gn(t)-1,t),e,2)}function kr(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Ln(t):Ln.ceil(t),Qn(Ln.count(Gn(t),t)+(4===Gn(t).getUTCDay()),e,2)}function Ir(t){return t.getUTCDay()}function Cr(t,e){return Qn(Rn.count(Gn(t)-1,t),e,2)}function Dr(t,e){return Qn(t.getUTCFullYear()%100,e,2)}function Nr(t,e){return Qn(t.getUTCFullYear()%1e4,e,4)}function Zr(){return"+0000"}function Mr(){return"%"}function Or(t){return+t}function Rr(t){return Math.floor(+t/1e3)}function Lr(t){return null===t?NaN:+t}!function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=(Xn(i),$n(i),Xn(o),$n(o),Xn(a),$n(a),Xn(s),$n(s),Xn(u),$n(u),{a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Kn,e:Kn,f:ir,H:tr,I:er,j:nr,L:rr,m:or,M:ar,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Or,s:Rr,S:sr,u:ur,U:cr,V:lr,w:hr,W:fr,x:null,X:null,y:dr,Y:pr,Z:gr,"%":Mr}),l={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:vr,e:vr,f:br,H:mr,I:yr,j:_r,L:wr,m:xr,M:Er,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Or,s:Rr,S:Tr,u:Ar,U:Sr,V:kr,w:Ir,W:Cr,x:null,X:null,y:Dr,Y:Nr,Z:Zr,"%":Mr};function h(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s(e=a[u-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?Gr:Jr,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),Fr.Z)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,zr),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=qr.Z,l()},h.clamp=function(t){return arguments.length?(c=!!t||Yr,l()):c!==Yr},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Yr,Yr)}function Qr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Wr=l(93116),Xr=l(65636),$r=l(3712),Kr=l(3218),ti=l(22233);function ei(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){var u=Math.round(t/a),c=Math.round(e/a);for(u*ae&&--c,o=new Array(i=c-u+1);++se&&--h,o=new Array(i=h-l+1);++s0;){if((i=rn(u,c,n))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function ni(){var t=Hr();return t.copy=function(){return Vr(t,ni())},Qr.apply(t,arguments),ei(t)}function ri(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r2&&void 0!==arguments[2]?arguments[2]:Lr;if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function ui(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t0?r[i-1]:e[0],i=0;)e+=n[r].value;else e=1;t.value=e}function xi(t,e){var n,r,i,o,a,s=new Si(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=Ei);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new Si(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Ai)}function Ei(t){return t.children}function Ti(t){t.data=t.data.data}function Ai(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Si(t){this.data=t,this.depth=this.height=0,this.parent=null}mi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:vi(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:vi(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new mi(t,e)}return n.tension=function(e){return t(+e)},n}(0),yi.prototype={areaStart:gi,areaEnd:gi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vi(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new yi(t,e)}return n.tension=function(e){return t(+e)},n}(0),Math,Math,Math,Math,Math,Math,Math,Math,l(12314),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,v,m=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),v=l*l*g,(d=Math.max(f/v,v/h))>p){l-=s;break}p=d}m.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),Si.prototype=xi.prototype={constructor:Si,count:function(){return this.eachAfter(bi)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return xi(this).eachBefore(Ti)}};var ki=l(30269),Ii=["caretElm"];function Ci(t,e){}var Di=function(t){return{model:t}};function Ni(t,e){if(1&t&&(m.TgZ(0,"span"),m.YNc(1,Ci,0,0,"ng-template",5),m.qZA()),2&t){var n=m.oxw();m.xp6(1),m.Q6J("ngTemplateOutlet",n.template)("ngTemplateOutletContext",m.VKq(2,Di,n.context))}}function Zi(t,e){if(1&t&&m._UZ(0,"span",6),2&t){var n=m.oxw();m.Q6J("innerHTML",n.title,m.oJD)}}function Mi(t,e){if(1&t&&(m.O4$(),m.kcU(),m._UZ(0,"ngx-charts-scale-legend",4)),2&t){var n=m.oxw();m.Q6J("horizontal",n.legendOptions&&"below"===n.legendOptions.position)("valueRange",n.legendOptions.domain)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)}}function Oi(t,e){if(1&t){var n=m.EpF();m.O4$(),m.kcU(),m.TgZ(0,"ngx-charts-legend",5),m.NdJ("labelClick",function(t){return m.CHM(n),m.oxw().legendLabelClick.emit(t)})("labelActivate",function(t){return m.CHM(n),m.oxw().legendLabelActivate.emit(t)})("labelDeactivate",function(t){return m.CHM(n),m.oxw().legendLabelDeactivate.emit(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("horizontal",r.legendOptions&&"below"===r.legendOptions.position)("data",r.legendOptions.domain)("title",r.legendOptions.title)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)("activeEntries",r.activeEntries)}}var Ri=["*"];function Li(t,e){if(1&t&&(m.TgZ(0,"header",4),m.TgZ(1,"span",5),m._uU(2),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.Oqu(n.title)}}function Ui(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"li",6),m.TgZ(1,"ngx-charts-legend-entry",7),m.NdJ("select",function(t){return m.CHM(n),m.oxw().labelClick.emit(t)})("activate",function(t){return m.CHM(n),m.oxw().activate(t)})("deactivate",function(t){return m.CHM(n),m.oxw().deactivate(t)}),m.qZA(),m.qZA()}if(2&t){var r=e.$implicit,i=m.oxw();m.xp6(1),m.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",i.isActive(r))}}var Pi=function(){var t=function(){function t(e,n,r){f(this,t),this.applicationRef=e,this.componentFactoryResolver=n,this.injector=r}return p(t,[{key:"getRootViewContainer",value:function(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}},{key:"setRootViewContainer",value:function(t){this._container=t}},{key:"getComponentRootNode",value:function(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}},{key:"getRootViewContainerNode",value:function(t){return this.getComponentRootNode(t)}},{key:"projectComponentBindings",value:function(t,e){if(e){if(void 0!==e.inputs){var n,r=c(Object.getOwnPropertyNames(e.inputs));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.instance[i]=e.inputs[i]}}catch(u){r.e(u)}finally{r.f()}}if(void 0!==e.outputs){var o,a=c(Object.getOwnPropertyNames(e.outputs));try{for(a.s();!(o=a.n()).done;){var s=o.value;t.instance[s]=e.outputs[s]}}catch(u){a.e(u)}finally{a.f()}}}return t}},{key:"appendComponent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;n||(n=this.getRootViewContainer());var r=this.getComponentRootNode(n),i=new Ge.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Ge.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(e){t.globalRootViewContainer=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.LFG(m.z2F),m.LFG(m._Vd),m.LFG(m.zs3))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t}();function Fi(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var qi=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function zi(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function ji(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}var Yi=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=zi(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}},{key:"calculateVerticalCaret",value:function(t,e,n,r){var i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);var o=zi(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}},{key:"calculateHorizontalAlignment",value:function(t,e,n){var r=ji(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}},{key:"calculateHorizontalCaret",value:function(t,e,n,r){var i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);var o=ji(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}},{key:"shouldFlip",value:function(t,e,n,r){var i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}},{key:"positionCaret",value:function(e,n,r,i,o){var a=0,s=0;return e===qi.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===qi.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===qi.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===qi.bottom&&(a=-7,s=t.calculateHorizontalCaret(r,n,i,o)),{top:a,left:s}}},{key:"positionContent",value:function(e,n,r,i,o){var a=0,s=0;return e===qi.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===qi.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===qi.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===qi.bottom&&(a=r.top+r.height+i,s=t.calculateHorizontalAlignment(r,n,o)),{top:a,left:s}}},{key:"determinePlacement",value:function(e,n,r,i){if(t.shouldFlip(r,n,e,i)){if(e===qi.right)return qi.left;if(e===qi.left)return qi.right;if(e===qi.top)return qi.bottom;if(e===qi.bottom)return qi.top}return e}}]),t}(),Bi=function(){var t=function(){function t(e,n){f(this,t),this.element=e,this.renderer=n}return p(t,[{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-".concat(this.placement),t+=" type-".concat(this.type),t+=" ".concat(this.cssClass)}},{key:"ngAfterViewInit",value:function(){setTimeout(this.position.bind(this))}},{key:"position",value:function(){var t=this,e=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(n.height||n.width){var r=e.getBoundingClientRect();this.checkFlip(n,r),this.positionContent(e,n,r),this.showCaret&&this.positionCaret(n,r),setTimeout(function(){return t.renderer.addClass(e,"animate")},1)}}},{key:"positionContent",value:function(t,e,n){var r=Yi.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top","".concat(i,"px")),this.renderer.setStyle(t,"left","".concat(o,"px"))}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=Yi.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top","".concat(o,"px")),this.renderer.setStyle(n,"left","".concat(a,"px"))}},{key:"checkFlip",value:function(t,e){this.placement=Yi.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.Qsj))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(Ii,5),2&t)&&(m.iGM(n=m.CRH())&&(e.caretElm=n.first))},hostVars:2,hostBindings:function(t,e){1&t&&m.NdJ("resize",function(){return e.onWindowResize()},!1,m.Jf7),2&t&&m.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"span",0,1),m.TgZ(3,"div",2),m.YNc(4,Ni,2,4,"span",3),m.YNc(5,Zi,1,1,"span",4),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Gre("tooltip-caret position-",e.placement,""),m.Q6J("hidden",!e.showCaret),m.xp6(3),m.Q6J("ngIf",!e.title),m.xp6(1),m.Q6J("ngIf",e.title))},directives:[d.O5,d.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),Ye([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Fi(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t}(),Ji=function(){var t=function(t){r(n,t);var e=o(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=Bi,r}return n}(function(){function t(e){f(this,t),this.injectionService=e,this.defaults={},this.components=new Map}return p(t,[{key:"getByType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return this.components.get(t)}},{key:"create",value:function(t){return this.createByType(this.type,t)}},{key:"createByType",value:function(t,e){e=this.assignDefaults(e);var n=this.injectComponent(t,e);return this.register(t,n),n}},{key:"destroy",value:function(t){var e=this.components.get(t.componentType);if(e&&e.length){var n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}},{key:"destroyAll",value:function(){this.destroyByType(this.type)}},{key:"destroyByType",value:function(t){var e=this.components.get(t);if(e&&e.length)for(var n=e.length-1;n>=0;)this.destroy(e[n--])}},{key:"injectComponent",value:function(t,e){return this.injectionService.appendComponent(t,e)}},{key:"assignDefaults",value:function(t){var e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}},{key:"register",value:function(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}]),t}());return t.\u0275fac=function(e){return new(e||t)(m.LFG(Pi))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),Gi=function(){var t=function(){function t(){f(this,t),this.showLegend=!1,this.animations=!0,this.legendLabelClick=new m.vpe,this.legendLabelActivate=new m.vpe,this.legendLabelDeactivate=new m.vpe}return p(t,[{key:"ngOnChanges",value:function(t){this.update()}},{key:"update",value:function(){var t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)}},{key:"getLegendType",value:function(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",data:"data",legendData:"legendData",colors:"colors",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[m._Bn([Ji]),m.TTD],ngContentSelectors:Ri,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"div",0),m.O4$(),m.TgZ(1,"svg",1),m.Hsn(2),m.qZA(),m.YNc(3,Mi,1,5,"ngx-charts-scale-legend",2),m.YNc(4,Oi,1,7,"ngx-charts-legend",3),m.qZA()),2&t&&(m.Udp("width",e.view[0],"px"),m.Q6J("@animationState","active")("@.disabled",!e.animations),m.xp6(1),m.uIk("width",e.chartWidth)("height",e.view[1]),m.xp6(2),m.Q6J("ngIf",e.showLegend&&"scaleLegend"===e.legendType),m.xp6(1),m.Q6J("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[d.O5,Ki,Xi]},encapsulation:2,data:{animation:[(0,Je.X$)("animationState",[(0,Je.eR)(":enter",[(0,Je.oB)({opacity:0}),(0,Je.jt)("500ms 100ms",(0,Je.oB)({opacity:1}))])])]},changeDetection:0}),t}(),Vi=function(){var t=function(){function t(e,n){f(this,t),this.element=e,this.zone=n,this.visible=new m.vpe,this.isVisible=!1,this.runCheck()}return p(t,[{key:"destroy",value:function(){clearTimeout(this.timeout)}},{key:"onVisibilityChange",value:function(){var t=this;this.zone.run(function(){t.isVisible=!0,t.visible.emit(!0)})}},{key:"runCheck",value:function(){var t=this,e=function e(){if(t.element){var n=t.element.nativeElement,r=n.offsetHeight,i=n.offsetWidth;r&&i?(clearTimeout(t.timeout),t.onVisibilityChange()):(clearTimeout(t.timeout),t.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return e()},100)}))}};this.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return e()})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.R0b))},t.\u0275dir=m.lG2({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t}(),Hi=function(){var t=function(){function t(e,n,r){f(this,t),this.chartElement=e,this.zone=n,this.cd=r,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new m.vpe}return p(t,[{key:"ngAfterViewInit",value:function(){this.bindWindowResizeEvent(),this.visibilityObserver=new Vi(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}},{key:"ngOnDestroy",value:function(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}},{key:"ngOnChanges",value:function(t){this.update()}},{key:"update",value:function(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{var t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}},{key:"getContainerDims",value:function(){var t,e,n=this.chartElement.nativeElement;if(null!==n.parentNode){var r=n.parentNode.getBoundingClientRect();t=r.width,e=r.height}return t&&e?{width:t,height:e}:null}},{key:"formatDates",value:function(){for(var t=0;t0),m.xp6(2),m.Udp("max-height",e.height-45,"px"),m.ekj("horizontal-legend",e.horizontal),m.xp6(1),m.Q6J("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[d.O5,d.sg,$i]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t}(),$i=function(){var t=function(){function t(){f(this,t),this.isActive=!1,this.select=new m.vpe,this.activate=new m.vpe,this.deactivate=new m.vpe,this.toggle=new m.vpe}return p(t,[{key:"trimmedLabel",get:function(){return this.formattedLabel||"(empty)"}},{key:"onMouseEnter",value:function(){this.activate.emit({name:this.label})}},{key:"onMouseLeave",value:function(){this.deactivate.emit({name:this.label})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&m.NdJ("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(m.TgZ(0,"span",0),m.NdJ("click",function(){return e.select.emit(e.formattedLabel)}),m.TgZ(1,"span",1),m.NdJ("click",function(){return e.toggle.emit(e.formattedLabel)}),m.qZA(),m.TgZ(2,"span",2),m._uU(3),m.qZA(),m.qZA()),2&t&&(m.ekj("active",e.isActive),m.Q6J("title",e.formattedLabel),m.xp6(1),m.Udp("background-color",e.color),m.xp6(2),m.hij(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t}(),Ki=function(){var t=function(){function t(e){f(this,t),this.sanitizer=e,this.horizontal=!1}return p(t,[{key:"ngOnChanges",value:function(t){var e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle("linear-gradient(to ".concat(this.horizontal?"right":"bottom",", ").concat(e,")"))}},{key:"gradientString",value:function(t,e){e.push(1);var n=[];return t.reverse().forEach(function(t,r){n.push("".concat(t," ").concat(Math.round(100*e[r]),"%"))}),n.join(", ")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(ki.H7))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[m.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"span"),m._uU(3),m.qZA(),m.qZA(),m._UZ(4,"div",2),m.TgZ(5,"div",1),m.TgZ(6,"span"),m._uU(7),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.Udp("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),m.ekj("horizontal-legend",e.horizontal),m.xp6(3),m.Oqu(e.valueRange[1].toLocaleString()),m.xp6(1),m.Udp("background",e.gradient),m.xp6(3),m.Oqu(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t}(),to=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez,Qi,Wi],d.ez,Qi,Wi]}),t}(),eo=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}],no=function(){function t(e,n,r,i){f(this,t),"string"==typeof e&&(e=eo.find(function(t){return t.name===e})),this.colorDomain=e.domain,this.scaleType=n,this.domain=r,this.customColors=i,this.scale=this.generateColorScheme(e,n,this.domain)}return p(t,[{key:"generateColorScheme",value:function(t,e,r){var i;if("string"==typeof t&&(t=eo.find(function(e){return e.name===t})),"quantile"===e)i=ui().range(t.domain).domain(r);else if("ordinal"===e)i=oi().range(t.domain).domain(r);else if("linear"===e){var o=n(t.domain);1===o.length&&(o.push(o[0]),this.colorDomain=o);var a=ri(0,1,1/o.length);i=ni().domain(a).range(o)}return i}},{key:"getColor",value:function(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){var e=ni().domain(this.domain).range([0,1]);return this.scale(e(t))}if("function"==typeof this.customColors)return this.customColors(t);var n,r=t.toString();return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(function(t){return t.name.toLowerCase()===r.toLowerCase()})),n?n.value:this.scale(t)}},{key:"getLinearGradientStops",value:function(t,e){void 0===e&&(e=this.domain[0]);var n=ni().domain(this.domain).range([0,1]),r=ai().domain(this.colorDomain).range([0,1]),i=this.getColor(t),o=n(e),a=this.getColor(e),s=n(t),u=1,l=o,h=[];for(h.push({color:a,offset:o,originalOffset:o,opacity:1});l=(s-r.bandwidth()).toFixed(4))break;h.push({color:f,offset:d,opacity:1}),l=d,u++}}if(h[h.length-1].offset<100&&h.push({color:i,offset:s,opacity:1}),s===o)h[0].offset=0,h[1].offset=100;else if(100!==h[h.length-1].offset){var p,g=c(h);try{for(g.s();!(p=g.n()).done;){var v=p.value;v.offset=(v.offset-o)/(s-o)*100}}catch(m){g.e(m)}finally{g.f()}}return h}}]),t}(),ro=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),io=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),oo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),ao=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),so=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}();Math;var uo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),co=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to,uo,so]]}),t}(),lo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),ho=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),fo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to,uo,io]]}),t}(),po=function(){var t=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[to,ro,io,oo,ao,so,co,lo,uo,ho,fo]}),t}(),go=Math.PI;function vo(t){return(1-Math.cos(go*t))/2}var mo=l(87570),yo=l(48318),_o=l(40878),wo=l(3530);function bo(t){return void 0===t}function xo(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;var So=l(32975);function ko(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a,i=d,!(d=d[h=l<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a}while((h=l<<1|c)==(f=(u>=a)<<1|s>=o));return i[f]=d,i[h]=p,t}function No(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Zo(t){return t[0]}function Mo(t){return t[1]}function Oo(t,e,n){var r=new Ro(null==e?Zo:e,null==n?Mo:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Ro(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Lo(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Uo=Oo.prototype=Ro.prototype;function Po(t){return t.x+t.vx}function Fo(t){return t.y+t.vy}function qo(t){var e,n,r=1,i=1;function o(){for(var t,o,s,u,c,l,h,f=e.length,d=0;du+d||ic+d||os.index){var p=u-a.x-a.vx,g=c-a.y-a.vy,v=p*p+g*g;vt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ef||(o=u.y0)>d||(a=u.x1)=m)<<1|t>=v)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),w=y*y+_*_;if(w=(s=(p+v)/2))?p=s:v=s,(l=a>=(u=(g+m)/2))?g=u:m=u,e=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Uo.removeAll=function(t){for(var e=0,n=t.length;e1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}}function ta(){var t,e,n,r,i=Io(-30),o=1,a=1/0,s=.81;function u(r){var i,o=t.length,a=Oo(t,Wo,Xo).visitAfter(l);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=Co())*l),0===h&&(d+=(h=Co())*h),d=0}),leaves:t.childNodeIds.map(function(t){return e.inputGraph.nodes.findIndex(function(e){return e.id===t})}).filter(function(t){return t>=0})}})),links:n(this.inputGraph.edges.map(function(t){var n=e.inputGraph.nodes.findIndex(function(e){return t.source===e.id}),r=e.inputGraph.nodes.findIndex(function(e){return t.target===e.id});if(-1!==n&&-1!==r)return Object.assign(Object.assign({},t),{source:n,target:r})}).filter(function(t){return!!t})),groupLinks:n(this.inputGraph.edges.map(function(t){var n=e.inputGraph.nodes.findIndex(function(e){return t.source===e.id}),r=e.inputGraph.nodes.findIndex(function(e){return t.target===e.id});if(!(n>=0&&r>=0))return t}).filter(function(t){return!!t}))},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",function(){e.settings.onTickListener&&e.settings.onTickListener(e.internalGraph),e.outputGraph$.next(e.internalGraphToOutputGraph(e.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}},{key:"updateEdge",value:function(t,e){var n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.start(),this.outputGraph$.asObservable()}},{key:"internalGraphToOutputGraph",value:function(t){var e=this;return this.outputGraph.nodes=t.nodes.map(function(t){return Object.assign(Object.assign({},t),{id:t.id||Ra(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:"translate(".concat(t.x-(t.dimension&&t.dimension.width||20)/2||0,", ").concat(t.y-(t.dimension&&t.dimension.height||20)/2||0,")")})}),this.outputGraph.edges=t.links.map(function(e){var n=Pa(t.nodes,e.source),r=Pa(t.nodes,e.target);return Object.assign(Object.assign({},e),{source:n.id,target:r.id,points:[n.bounds.rayIntersection(r.bounds.cx(),r.bounds.cy()),r.bounds.rayIntersection(n.bounds.cx(),n.bounds.cy())]})}).concat(t.groupLinks.map(function(e){var n=t.nodes.find(function(t){return t.id===e.source}),r=t.nodes.find(function(t){return t.id===e.target}),i=n||t.groups.find(function(t){return t.id===e.source}),o=r||t.groups.find(function(t){return t.id===e.target});return Object.assign(Object.assign({},e),{source:i.id,target:o.id,points:[i.bounds.rayIntersection(o.bounds.cx(),o.bounds.cy()),o.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})})),this.outputGraph.clusters=t.groups.map(function(t,n){return Object.assign(Object.assign({},e.inputGraph.clusters[n]),{dimension:{width:t.bounds?t.bounds.width():20,height:t.bounds?t.bounds.height():20},position:{x:t.bounds?t.bounds.x+t.bounds.width()/2:0,y:t.bounds?t.bounds.y+t.bounds.height()/2:0}})}),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}},{key:"onDragStart",value:function(t,e){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(this.draggingStart={x:r.x-e.x,y:r.y-e.y},r.fixed=1,this.settings.force.start())}},{key:"onDrag",value:function(t,e){if(t){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(r.x=this.draggingStart.x+e.x,r.y=this.draggingStart.y+e.y)}}},{key:"onDragEnd",value:function(t,e){if(t){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(r.fixed=0)}}}]),t}()},qa=function(){var t=function(){function t(){f(this,t)}return p(t,[{key:"getLayout",value:function(t){if(Fa[t])return new Fa[t];throw new Error("Unknown layout type '".concat(t,"'"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),za=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),ja=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function Ya(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var Ba=function(){var e=function(e){r(a,e);var i=o(a);function a(t,e,n,r){var o;return f(this,a),(o=i.call(this,t,e,n)).el=t,o.zone=e,o.cd=n,o.layoutService=r,o.legend=!1,o.nodes=[],o.clusters=[],o.links=[],o.activeEntries=[],o.draggingEnabled=!0,o.panningEnabled=!0,o.panningAxis=za.Both,o.enableZoom=!0,o.zoomSpeed=.1,o.minZoomLevel=.1,o.maxZoomLevel=4,o.autoZoom=!1,o.panOnZoom=!0,o.animate=!1,o.autoCenter=!1,o.enableTrackpadSupport=!1,o.showMiniMap=!1,o.miniMapMaxWidth=100,o.miniMapPosition=ja.UpperRight,o.activate=new m.vpe,o.deactivate=new m.vpe,o.zoomChange=new m.vpe,o.clickHandler=new m.vpe,o.isMouseMoveCalled=!1,o.graphSubscription=new mo.w,o.subscriptions=[],o.margin=[0,0,0,0],o.results=[],o.isPanning=!1,o.isDragging=!1,o.initialized=!1,o.graphDims={width:0,height:0},o._oldLinks=[],o.oldNodes=new Set,o.oldClusters=new Set,o.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},o._touchLastX=null,o._touchLastY=null,o.minimapScaleCoefficient=3,o.minimapOffsetX=0,o.minimapOffsetY=0,o.isMinimapPanning=!1,o.groupResultsBy=function(t){return t.label},o}return p(a,[{key:"zoomLevel",get:function(){return this.transformationMatrix.a},set:function(t){this.zoomTo(Number(t))}},{key:"panOffsetX",get:function(){return this.transformationMatrix.e},set:function(t){this.panTo(Number(t),null)}},{key:"panOffsetY",get:function(){return this.transformationMatrix.f},set:function(t){this.panTo(null,Number(t))}},{key:"ngOnInit",value:function(){var t=this;this.update$&&this.subscriptions.push(this.update$.subscribe(function(){t.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(function(){t.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(function(){t.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(function(e){t.panToNodeId(e)})),this.minimapClipPathId="minimapClip".concat(Ra())}},{key:"ngOnChanges",value:function(t){var e=t.layoutSettings;this.setLayout(this.layout),e&&this.setLayoutSettings(this.layoutSettings),this.update()}},{key:"setLayout",value:function(t){this.initialized=!1,t||(t="dagre"),"string"==typeof t&&(this.layout=this.layoutService.getLayout(t),this.setLayoutSettings(this.layoutSettings))}},{key:"setLayoutSettings",value:function(t){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=t)}},{key:"ngOnDestroy",value:function(){t(s(a.prototype),"ngOnDestroy",this).call(this);var e,n=c(this.subscriptions);try{for(n.s();!(e=n.n()).done;){e.value.unsubscribe()}}catch(r){n.e(r)}finally{n.f()}this.subscriptions=null}},{key:"ngAfterViewInit",value:function(){var e=this;t(s(a.prototype),"ngAfterViewInit",this).call(this),setTimeout(function(){return e.update()})}},{key:"update",value:function(){var e=this;t(s(a.prototype),"update",this).call(this),this.curve||(this.curve=ze.beta(1)),this.zone.run(function(){e.dims=function(t){var e=t.width,n=t.height,r=t.margins,i=t.showXAxis,o=void 0!==i&&i,a=t.showYAxis,s=void 0!==a&&a,u=t.xAxisHeight,c=void 0===u?0:u,l=t.yAxisWidth,h=void 0===l?0:l,f=t.showXLabel,d=void 0!==f&&f,p=t.showYLabel,g=void 0!==p&&p,v=t.showLegend,m=void 0!==v&&v,y=t.legendType,_=void 0===y?"ordinal":y,w=t.legendPosition,b=void 0===w?"right":w,x=t.columns,E=void 0===x?12:x,T=r[3],A=e,S=n-r[0]-r[2];if(m&&"right"===b&&(E-="ordinal"===_?2:1),A=(A=A*E/12)-r[1]-r[3],o&&(S-=5,S-=c,d)&&(S-=30),s&&(A-=5,A-=h,T+=h,T+=10,g)){A-=30,T+=30}return A=Math.max(0,A),S=Math.max(0,S),{width:Math.floor(A),height:Math.floor(S),xOffset:Math.floor(T)}}({width:e.width,height:e.height,margins:e.margin,showLegend:e.legend}),e.seriesDomain=e.getSeriesDomain(),e.setColors(),e.legendOptions=e.getLegendOptions(),e.createGraph(),e.updateTransform(),e.initialized=!0})}},{key:"createGraph",value:function(){var t=this;this.graphSubscription.unsubscribe(),this.graphSubscription=new mo.w;var e=function(e){return e.meta||(e.meta={}),e.id||(e.id=Ra()),e.dimension?e.meta.forceDimensions=void 0===e.meta.forceDimensions||e.meta.forceDimensions:(e.dimension={width:t.nodeWidth?t.nodeWidth:30,height:t.nodeHeight?t.nodeHeight:30},e.meta.forceDimensions=!1),e.position={x:0,y:0},e.data=e.data?e.data:{},e};this.graph={nodes:this.nodes.length>0?n(this.nodes).map(e):[],clusters:this.clusters&&this.clusters.length>0?n(this.clusters).map(e):[],edges:this.links.length>0?n(this.links).map(function(t){return t.id||(t.id=Ra()),t}):[]},requestAnimationFrame(function(){return t.draw()})}},{key:"draw",value:function(){var t=this;if(this.layout&&"string"!=typeof this.layout){this.applyNodeDimensions();var e=this.layout.run(this.graph),n=e instanceof yo.y?e:(0,_o.of)(e);this.graphSubscription.add(n.subscribe(function(e){t.graph=e,t.tick()})),0!==this.graph.nodes.length&&n.pipe((0,wo.P)()).subscribe(function(){return t.applyNodeDimensions()})}}},{key:"tick",value:function(){var t=this,e=new Set;this.graph.nodes.map(function(n){n.transform="translate(".concat(n.position.x-n.dimension.width/2||0,", ").concat(n.position.y-n.dimension.height/2||0,")"),n.data||(n.data={}),n.data.color=t.colors.getColor(t.groupResultsBy(n)),e.add(n.id)});var n=new Set;(this.graph.clusters||[]).map(function(e){e.transform="translate(".concat(e.position.x-e.dimension.width/2||0,", ").concat(e.position.y-e.dimension.height/2||0,")"),e.data||(e.data={}),e.data.color=t.colors.getColor(t.groupResultsBy(e)),n.add(e.id)}),setTimeout(function(){t.oldNodes=e,t.oldClusters=n},500);var r=[],i=function(e){var n=t.graph.edgeLabels[e],i=e.replace(/[^\w-]*/g,""),o=t.layout&&"string"!=typeof t.layout&&t.layout.settings&&t.layout.settings.multigraph,a=t._oldLinks.find(o?function(t){return"".concat(t.source).concat(t.target).concat(t.id)===i}:function(t){return"".concat(t.source).concat(t.target)===i}),s=t.graph.edges.find(o?function(t){return"".concat(t.source).concat(t.target).concat(t.id)===i}:function(t){return"".concat(t.source).concat(t.target)===i});a?a.data&&s&&s.data&&JSON.stringify(a.data)!==JSON.stringify(s.data)&&(a.data=s.data):a=s||n,a.oldLine=a.line;var u=n.points,c=t.generateLine(u),l=Object.assign({},a);l.line=c,l.points=u,t.updateMidpointOnEdge(l,u);var h=u[Math.floor(u.length/2)];h&&(l.textTransform="translate(".concat(h.x||0,",").concat(h.y||0,")")),l.textAngle=0,l.oldLine||(l.oldLine=l.line),t.calcDominantBaseline(l),r.push(l)};for(var o in this.graph.edgeLabels)i(o);this.graph.edges=r,this.graph.edges&&(this._oldLinks=this.graph.edges.map(function(t){var e=Object.assign({},t);return e.oldLine=t.line,e})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(function(){return t.redrawLines()}),this.cd.markForCheck()}},{key:"getMinimapTransform",value:function(){switch(this.miniMapPosition){case ja.UpperLeft:return"";case ja.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}},{key:"updateGraphDims",value:function(){for(var t=1/0,e=-1/0,n=1/0,r=-1/0,i=0;ie?o.position.x+o.dimension.width:e,r=o.position.y+o.dimension.height>r?o.position.y+o.dimension.height:r}t-=100,n-=100,e+=100,r+=100,this.graphDims.width=e-t,this.graphDims.height=r-n,this.minimapOffsetX=t,this.minimapOffsetY=n}},{key:"updateMinimap",value:function(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}},{key:"applyNodeDimensions",value:function(){var t=this;this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(function(e){var n=e.nativeElement,r=t.graph.nodes.find(function(t){return t.id===n.id});if(r){var i;try{if(!(i=n.getBBox()).width||!i.height)return}catch(l){return}if(r.dimension.height=t.nodeHeight?r.dimension.height&&r.meta.forceDimensions?r.dimension.height:t.nodeHeight:r.dimension.height&&r.meta.forceDimensions?r.dimension.height:i.height,t.nodeMaxHeight&&(r.dimension.height=Math.max(r.dimension.height,t.nodeMaxHeight)),t.nodeMinHeight&&(r.dimension.height=Math.min(r.dimension.height,t.nodeMinHeight)),t.nodeWidth)r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:t.nodeWidth;else if(n.getElementsByTagName("text").length){var o;try{var a,s=c(n.getElementsByTagName("text"));try{for(s.s();!(a=s.n()).done;){var u=a.value.getBBox();o?(u.width>o.width&&(o.width=u.width),u.height>o.height&&(o.height=u.height)):o=u}}catch(h){s.e(h)}finally{s.f()}}catch(l){return}r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:o.width+20}else r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:i.width;t.nodeMaxWidth&&(r.dimension.width=Math.max(r.dimension.width,t.nodeMaxWidth)),t.nodeMinWidth&&(r.dimension.width=Math.min(r.dimension.width,t.nodeMinWidth))}})}},{key:"redrawLines",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.animate;this.linkElements.map(function(n){var r=t.graph.edges.find(function(t){return t.id===n.nativeElement.id});r&&((0,He.Z)(n.nativeElement).select(".line").attr("d",r.oldLine).transition().ease(vo).duration(e?500:0).attr("d",r.line),(0,He.Z)(t.chartElement.nativeElement).select("#".concat(r.id)).attr("d",r.oldTextPath).transition().ease(vo).duration(e?500:0).attr("d",r.textPath),t.updateMidpointOnEdge(r,r.points))})}},{key:"calcDominantBaseline",value:function(t){var e=t.points[0],r=t.points[t.points.length-1];t.oldTextPath=t.textPath,r.x=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&t){var i=t.clientX,o=t.clientY,a=this.chart.nativeElement.querySelector("svg"),s=a.querySelector("g.chart"),u=a.createSVGPoint();u.x=i,u.y=o;var c=u.matrixTransform(s.getScreenCTM().inverse());this.pan(c.x,c.y,!0),this.zoom(n),this.pan(-c.x,-c.y,!0)}else this.zoom(n)}else this.pan(-1*t.deltaX,-1*t.deltaY)}},{key:"pan",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=n?1:this.zoomLevel;this.transformationMatrix=To(this.transformationMatrix,Ao(t/r,e/r)),this.updateTransform()}},{key:"panTo",value:function(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=To(this.transformationMatrix,Ao((-this.panOffsetX-t*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-e*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}},{key:"zoom",value:function(t){this.transformationMatrix=To(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return bo(e)&&(e=t),{a:t,c:0,e:0,b:0,d:e,f:0}}(t,t)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}},{key:"zoomTo",value:function(t){this.transformationMatrix.a=isNaN(t)?this.transformationMatrix.a:Number(t),this.transformationMatrix.d=isNaN(t)?this.transformationMatrix.d:Number(t),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}},{key:"onDrag",value:function(t){var e=this;if(this.draggingEnabled){var n=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(n,t),n.position.x+=t.movementX/this.zoomLevel,n.position.y+=t.movementY/this.zoomLevel,n.transform="translate(".concat(n.position.x-n.dimension.width/2,", ").concat(n.position.y-n.dimension.height/2,")");var r,i=c(this.graph.edges);try{var o=function(){var t=r.value;if((t.target===n.id||t.source===n.id||t.target.id===n.id||t.source.id===n.id)&&e.layout&&"string"!=typeof e.layout){var i=e.layout.updateEdge(e.graph,t),o=i instanceof yo.y?i:(0,_o.of)(i);e.graphSubscription.add(o.subscribe(function(n){e.graph=n,e.redrawEdge(t)}))}};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}this.redrawLines(!1),this.updateMinimap()}}},{key:"redrawEdge",value:function(t){var e=this.generateLine(t.points);this.calcDominantBaseline(t),t.oldLine=t.line,t.line=e}},{key:"updateTransform",value:function(){var t;this.transform="matrix("+(t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(t.a*e)/e,b:Math.round(t.b*e)/e,c:Math.round(t.c*e)/e,d:Math.round(t.d*e)/e,e:Math.round(t.e*e)/e,f:Math.round(t.f*e)/e}}(this.transformationMatrix,100)).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")"}},{key:"onClick",value:function(t){this.select.emit(t)}},{key:"onActivate",value:function(t){this.activeEntries.indexOf(t)>-1||(this.activeEntries=[t].concat(n(this.activeEntries)),this.activate.emit({value:t,entries:this.activeEntries}))}},{key:"onDeactivate",value:function(t){var e=this.activeEntries.indexOf(t);this.activeEntries.splice(e,1),this.activeEntries=n(this.activeEntries),this.deactivate.emit({value:t,entries:this.activeEntries})}},{key:"getSeriesDomain",value:function(){var t=this;return this.nodes.map(function(e){return t.groupResultsBy(e)}).reduce(function(t,e){return-1!==t.indexOf(e)?t:t.concat([e])},[]).sort()}},{key:"trackLinkBy",value:function(t,e){return e.id}},{key:"trackNodeBy",value:function(t,e){return e.id}},{key:"setColors",value:function(){this.colors=new no(this.scheme,"ordinal",this.seriesDomain,this.customColors)}},{key:"getLegendOptions",value:function(){return{scaleType:"ordinal",domain:this.seriesDomain,colors:this.colors}}},{key:"onMouseMove",value:function(t){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,t):this.isDragging&&this.draggingEnabled&&this.onDrag(t)}},{key:"onMouseDown",value:function(t){this.isMouseMoveCalled=!1}},{key:"graphClick",value:function(t){this.isMouseMoveCalled||this.clickHandler.emit(t)}},{key:"onTouchStart",value:function(t){this._touchLastX=t.changedTouches[0].clientX,this._touchLastY=t.changedTouches[0].clientY,this.isPanning=!0}},{key:"onTouchMove",value:function(t){if(this.isPanning&&this.panningEnabled){var e=t.changedTouches[0].clientX,n=t.changedTouches[0].clientY,r=e-this._touchLastX,i=n-this._touchLastY;this._touchLastX=e,this._touchLastY=n,this.pan(r,i)}}},{key:"onTouchEnd",value:function(t){this.isPanning=!1}},{key:"onMouseUp",value:function(t){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,t)}},{key:"onNodeMouseDown",value:function(t,e){this.draggingEnabled&&(this.isDragging=!0,this.draggingNode=e,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(e,t))}},{key:"onMinimapDragMouseDown",value:function(){this.isMinimapPanning=!0}},{key:"onMinimapPanTo",value:function(t){this.panTo((t.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(t.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}},{key:"center",value:function(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}},{key:"zoomToFit",value:function(){var t=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);tthis.maxZoomLevel&&(t=this.maxZoomLevel),t!==this.zoomLevel&&(this.zoomLevel=t,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}},{key:"panToNodeId",value:function(t){var e=this.graph.nodes.find(function(e){return e.id===t});e&&this.panTo(e.position.x,e.position.y)}},{key:"panWithConstraints",value:function(t,e){var n=e.movementX,r=e.movementY;switch(this.isMinimapPanning&&(n=-this.minimapScaleCoefficient*n*this.zoomLevel,r=-this.minimapScaleCoefficient*r*this.zoomLevel),t){case za.Horizontal:this.pan(n,0);break;case za.Vertical:this.pan(0,r);break;default:this.pan(n,r)}}},{key:"updateMidpointOnEdge",value:function(t,e){if(t&&e)if(e.length%2==1)t.midPoint=e[Math.floor(e.length/2)];else{var n=e[e.length/2],r=e[e.length/2-1];t.midPoint={x:(n.x+r.x)/2,y:(n.y+r.y)/2}}}}]),a}(Hi);return e.\u0275fac=function(t){return new(t||e)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(m.sBO),m.Y36(qa))},e.\u0275cmp=m.Xpm({type:e,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){var r;(1&t&&(m.Suo(n,sa,5),m.Suo(n,ua,5),m.Suo(n,ca,5),m.Suo(n,la,5),m.Suo(n,ha,5)),2&t)&&(m.iGM(r=m.CRH())&&(e.linkTemplate=r.first),m.iGM(r=m.CRH())&&(e.nodeTemplate=r.first),m.iGM(r=m.CRH())&&(e.clusterTemplate=r.first),m.iGM(r=m.CRH())&&(e.defsTemplate=r.first),m.iGM(r=m.CRH())&&(e.miniMapNodeTemplate=r.first))},viewQuery:function(t,e){var n;(1&t&&(m.Gf(Gi,7,m.SBq),m.Gf(fa,5),m.Gf(da,5)),2&t)&&(m.iGM(n=m.CRH())&&(e.chart=n.first),m.iGM(n=m.CRH())&&(e.nodeElements=n),m.iGM(n=m.CRH())&&(e.linkElements=n))},hostBindings:function(t,e){1&t&&m.NdJ("mousemove",function(t){return e.onMouseMove(t)},!1,m.evT)("mousedown",function(t){return e.onMouseDown(t)},!1,m.evT)("click",function(t){return e.graphClick(t)},!1,m.evT)("touchmove",function(t){return e.onTouchMove(t)},!1,m.evT)("mouseup",function(t){return e.onMouseUp(t)},!1,m.evT)},inputs:{legend:"legend",nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",draggingEnabled:"draggingEnabled",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapPosition:"miniMapPosition",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY",layout:"layout",curve:"curve",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layoutSettings:"layoutSettings",miniMapMaxHeight:"miniMapMaxHeight"},outputs:{activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[m.qOj,m.TTD],ngContentSelectors:Ma,decls:5,vars:11,consts:[["mouseWheel","",3,"view","showLegend","legendOptions","legendLabelClick","legendLabelActivate","legendLabelDeactivate","mouseWheelUp","mouseWheelDown"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"ngx-charts-chart",0),m.NdJ("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)})("mouseWheelUp",function(t){return e.onZoom(t,"in")})("mouseWheelDown",function(t){return e.onZoom(t,"out")}),m.YNc(1,Sa,12,12,"g",1),m.O4$(),m.TgZ(2,"clipPath"),m._UZ(3,"rect"),m.qZA(),m.YNc(4,Na,6,15,"g",2),m.qZA()),2&t&&(m.Q6J("view",m.WLB(8,Za,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),m.xp6(1),m.Q6J("ngIf",e.initialized&&e.graph),m.xp6(1),m.uIk("id",e.minimapClipPathId),m.xp6(1),m.uIk("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),m.xp6(1),m.Q6J("ngIf",e.showMiniMap))},directives:function(){return[Gi,Ja,d.O5,d.sg,d.tP]},styles:[".minimap .minimap-background{fill:rgba(0,0,0,.1)}.minimap .minimap-drag{cursor:pointer;fill:rgba(0,0,0,.2);stroke:#fff;stroke-dasharray:2px;stroke-dashoffset:2px;stroke-width:1px}.minimap .minimap-drag.panning{fill:rgba(0,0,0,.3)}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.graph .edge{fill:none;stroke:#666}.graph .edge .edge-label{fill:#251e1e;font-size:12px;stroke:none}.graph .panning-rect{cursor:move;fill:transparent}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}"],encapsulation:2,changeDetection:0}),Ye([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Ya(n.value,500,void 0)}),this[e]}}},Be("design:type",Function),Be("design:paramtypes",[]),Be("design:returntype",void 0)],e.prototype,"updateMinimap",null),e}(),Ja=function(){var t=function(){function t(){f(this,t),this.mouseWheelUp=new m.vpe,this.mouseWheelDown=new m.vpe}return p(t,[{key:"onMouseWheelChrome",value:function(t){this.mouseWheelFunc(t)}},{key:"onMouseWheelFirefox",value:function(t){this.mouseWheelFunc(t)}},{key:"onWheel",value:function(t){this.mouseWheelFunc(t)}},{key:"onMouseWheelIE",value:function(t){this.mouseWheelFunc(t)}},{key:"mouseWheelFunc",value:function(t){window.event&&(t=window.event);var e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail||t.deltaY||t.deltaX)),n=t.wheelDelta?e<0:e>0;(t.wheelDelta?e>0:e<0)?this.mouseWheelUp.emit(t):n&&this.mouseWheelDown.emit(t),t.returnValue=!1,t.preventDefault&&t.preventDefault()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=m.lG2({type:t,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&m.NdJ("mousewheel",function(t){return e.onMouseWheelChrome(t)})("DOMMouseScroll",function(t){return e.onMouseWheelFirefox(t)})("wheel",function(t){return e.onWheel(t)})("onmousewheel",function(t){return e.onMouseWheelIE(t)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),t}(),Ga=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({providers:[qa],imports:[[to]]}),t}(),Va=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[po],Ga]}),t}();function Ha(){}function Qa(t){return null==t?Ha:function(){return this.querySelector(t)}}function Wa(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Xa(){return[]}function $a(t){return null==t?Xa:function(){return this.querySelectorAll(t)}}function Ka(t){return function(){return this.matches(t)}}function ts(t){return function(e){return e.matches(t)}}var es=Array.prototype.find;function ns(){return this.firstElementChild}var rs=Array.prototype.filter;function is(){return this.children}function os(t){return new Array(t.length)}function as(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function ss(t){return function(){return t}}function us(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}as.prototype={constructor:as,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var fs="http://www.w3.org/1999/xhtml",ds={svg:"http://www.w3.org/2000/svg",xhtml:fs,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ps(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ds.hasOwnProperty(e)?{space:ds[e],local:t}:t}function gs(t){return function(){this.removeAttribute(t)}}function vs(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ms(t,e){return function(){this.setAttribute(t,e)}}function ys(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function _s(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function ws(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function bs(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function xs(t){return function(){this.style.removeProperty(t)}}function Es(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ts(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function As(t,e){return t.style.getPropertyValue(e)||bs(t).getComputedStyle(t,null).getPropertyValue(e)}function Ss(t){return function(){delete this[t]}}function ks(t,e){return function(){this[t]=e}}function Is(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Cs(t){return t.trim().split(/^|\s+/)}function Ds(t){return t.classList||new Ns(t)}function Ns(t){this._node=t,this._names=Cs(t.getAttribute("class")||"")}function Zs(t,e){for(var n=Ds(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Ks(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var iu=[null];function ou(t,e){this._groups=t,this._parents=e}function au(){return new ou([[document.documentElement]],iu)}ou.prototype=au.prototype=e({constructor:ou,select:function(t){"function"!=typeof t&&(t=Qa(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=v[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=hs);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?xs:"function"==typeof e?Ts:Es)(t,e,null==n?"":n)):As(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Ss:"function"==typeof e?Is:ks)(t,e)):this.node()[t]},classed:function(t,e){var n=Cs(t+"");if(arguments.length<2){for(var r=Ds(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ku(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ku(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=vu.exec(t))?new Du(e[1],e[2],e[3],1):(e=mu.exec(t))?new Du(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=yu.exec(t))?ku(e[1],e[2],e[3],e[4]):(e=_u.exec(t))?ku(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=wu.exec(t))?Ou(e[1],e[2]/100,e[3]/100,1):(e=bu.exec(t))?Ou(e[1],e[2]/100,e[3]/100,e[4]):xu.hasOwnProperty(t)?Su(xu[t]):"transparent"===t?new Du(NaN,NaN,NaN,0):null}function Su(t){return new Du(t>>16&255,t>>8&255,255&t,1)}function ku(t,e,n,r){return r<=0&&(t=e=n=NaN),new Du(t,e,n,r)}function Iu(t){return t instanceof lu||(t=Au(t)),t?new Du((t=t.rgb()).r,t.g,t.b,t.opacity):new Du}function Cu(t,e,n,r){return 1===arguments.length?Iu(t):new Du(t,e,n,null==r?1:r)}function Du(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Nu(){return"#"+Mu(this.r)+Mu(this.g)+Mu(this.b)}function Zu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Mu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Ou(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Lu(t,e,n,r)}function Ru(t){if(t instanceof Lu)return new Lu(t.h,t.s,t.l,t.opacity);if(t instanceof lu||(t=Au(t)),!t)return new Lu;if(t instanceof Lu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new Lu(a,s,u,t.opacity)}function Lu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Uu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Pu(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}uu(lu,Au,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Eu,formatHex:Eu,formatHsl:function(){return Ru(this).formatHsl()},formatRgb:Tu,toString:Tu}),uu(Du,Cu,cu(lu,{brighter:function(t){return t=null==t?hu:Math.pow(hu,t),new Du(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Du(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nu,formatHex:Nu,formatRgb:Zu,toString:Zu})),uu(Lu,function(t,e,n,r){return 1===arguments.length?Ru(t):new Lu(t,e,n,null==r?1:r)},cu(lu,{brighter:function(t){return t=null==t?hu:Math.pow(hu,t),new Lu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Lu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Du(Uu(t>=240?t-240:t+120,i,r),Uu(t,i,r),Uu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Fu=function(t){return function(){return t}};function qu(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Fu(isNaN(t)?e:t)}var zu=function t(e){var n=function(t){return 1==(t=+t)?qu:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Fu(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Cu(t)).r,(e=Cu(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=qu(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function ju(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return Pu((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Yu(n,r)})),o=Ju.lastIndex;return o0)throw new Error("too late; already scheduled");return n}function $u(t,e){var n=Ku(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Ku(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var tc,ec=180/Math.PI,nc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rc(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Yu(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Yu(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Yu(t,n)},{i:s-2,x:Yu(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Xu:$u;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var kc=su.prototype.constructor;function Ic(t){return function(){this.style.removeProperty(t)}}function Cc(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Dc(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Cc(t,o,n)),r}return o._value=e,o}function Nc(t){return function(e){this.textContent=t.call(this,e)}}function Zc(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Nc(r)),e}return r._value=t,r}var Mc=0;function Oc(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Rc(){return++Mc}var Lc=su.prototype;Oc.prototype=(function(t){return su().transition(t)}).prototype=e({constructor:Oc,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Qa(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},su.prototype.transition=function(t){var e,n;t instanceof Oc?(e=t._id,t=t._name):(e=Rc(),(n=Uc).time=(0,Qo.zO)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Bc.prototype,Bc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Jc,Gc=Array.prototype.map;function Vc(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s=0;)e+=n[r].value;else e=1;t.value=e}function Wc(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=$c)):void 0===e&&(e=Xc);for(var n,r,i,o,a,s=new el(t),u=[s];n=u.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)u.push(r=i[o]=new el(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(tl)}function Xc(t){return t.children}function $c(t){return Array.isArray(t)?t[1]:null}function Kc(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function tl(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function el(t){this.data=t,this.depth=this.height=0,this.parent=null}void 0===(Jc={thousands:",",grouping:[3],currency:["$",""]}).grouping||void 0===Jc.thousands||Gc.call(Jc.grouping,Number),void 0===Jc.numerals||Gc.call(Jc.numerals,String),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,v,m=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),v=l*l*g,(d=Math.max(f/v,v/h))>p){l-=s;break}p=d}m.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),el.prototype=Wc.prototype=e({constructor:el,count:function(){return this.eachAfter(Qc)},each:function(t,e){var n,r=-1,i=c(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.call(e,o,++r,this)}}catch(a){i.e(a)}finally{i.f()}return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],u=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r=0;--r)o.push(n[r]);return this},find:function(t,e){var n,r=-1,i=c(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.call(e,o,++r,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return Wc(this).eachBefore(Kc)}},Symbol.iterator,regeneratorRuntime.mark(function t(){var e,n,r,i,o,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=[o=this];case 1:e=a.reverse(),a=[];case 2:if(!(o=e.pop())){t.next=9;break}return t.next=5,o;case 5:if(!(n=o.children)){t.next=7;break}for(r=0,i=n.length;r0?t.hostView.rootNodes[0]:t.location.nativeElement}},{key:"getRootViewContainerNode",value:function(t){return this.getComponentRootNode(t)}},{key:"projectComponentBindings",value:function(t,e){if(e){if(void 0!==e.inputs){var n,r=c(Object.getOwnPropertyNames(e.inputs));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.instance[i]=e.inputs[i]}}catch(u){r.e(u)}finally{r.f()}}if(void 0!==e.outputs){var o,a=c(Object.getOwnPropertyNames(e.outputs));try{for(a.s();!(o=a.n()).done;){var s=o.value;t.instance[s]=e.outputs[s]}}catch(u){a.e(u)}finally{a.f()}}}return t}},{key:"appendComponent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;n||(n=this.getRootViewContainer());var r=this.getComponentRootNode(n),i=new Ge.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Ge.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(e){t.globalRootViewContainer=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.LFG(m.z2F),m.LFG(m._Vd),m.LFG(m.zs3))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t}();function ul(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var cl=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function ll(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function hl(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}var fl,dl,pl,gl,vl=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=ll(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}},{key:"calculateVerticalCaret",value:function(t,e,n,r){var i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);var o=ll(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}},{key:"calculateHorizontalAlignment",value:function(t,e,n){var r=hl(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}},{key:"calculateHorizontalCaret",value:function(t,e,n,r){var i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);var o=hl(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}},{key:"shouldFlip",value:function(t,e,n,r){var i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}},{key:"positionCaret",value:function(e,n,r,i,o){var a=0,s=0;return e===cl.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===cl.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===cl.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===cl.bottom&&(a=-7,s=t.calculateHorizontalCaret(r,n,i,o)),{top:a,left:s}}},{key:"positionContent",value:function(e,n,r,i,o){var a=0,s=0;return e===cl.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===cl.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===cl.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===cl.bottom&&(a=r.top+r.height+i,s=t.calculateHorizontalAlignment(r,n,o)),{top:a,left:s}}},{key:"determinePlacement",value:function(e,n,r,i){if(t.shouldFlip(r,n,e,i)){if(e===cl.right)return cl.left;if(e===cl.left)return cl.right;if(e===cl.top)return cl.bottom;if(e===cl.bottom)return cl.top}return e}}]),t}(),ml=function(){var t=function(){function t(e,n,r){f(this,t),this.element=e,this.renderer=n,this.platformId=r}return p(t,[{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-".concat(this.placement),t+=" type-".concat(this.type),t+=" ".concat(this.cssClass)}},{key:"ngAfterViewInit",value:function(){setTimeout(this.position.bind(this))}},{key:"position",value:function(){var t=this;if((0,d.NF)(this.platformId)){var e=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(n.height||n.width){var r=e.getBoundingClientRect();this.checkFlip(n,r),this.positionContent(e,n,r),this.showCaret&&this.positionCaret(n,r),setTimeout(function(){return t.renderer.addClass(e,"animate")},1)}}}},{key:"positionContent",value:function(t,e,n){var r=vl.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top","".concat(i,"px")),this.renderer.setStyle(t,"left","".concat(o,"px"))}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=vl.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top","".concat(o,"px")),this.renderer.setStyle(n,"left","".concat(a,"px"))}},{key:"checkFlip",value:function(t,e){this.placement=vl.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.Lbi))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(nl,5),2&t)&&(m.iGM(n=m.CRH())&&(e.caretElm=n.first))},hostVars:2,hostBindings:function(t,e){1&t&&m.NdJ("resize",function(){return e.onWindowResize()},!1,m.Jf7),2&t&&m.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"span",0,1),m.TgZ(3,"div",2),m.YNc(4,ol,2,4,"span",3),m.YNc(5,al,1,1,"span",4),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Gre("tooltip-caret position-",e.placement,""),m.Q6J("hidden",!e.showCaret),m.xp6(3),m.Q6J("ngIf",!e.title),m.xp6(1),m.Q6J("ngIf",e.title))},directives:[d.O5,d.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);o>3&&a&&Object.defineProperty(e,n,a)}([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:ul(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t}(),yl=function(){var t=function(t){r(n,t);var e=o(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=ml,r}return n}(function(){function t(e){f(this,t),this.injectionService=e,this.defaults={},this.components=new Map}return p(t,[{key:"getByType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return this.components.get(t)}},{key:"create",value:function(t){return this.createByType(this.type,t)}},{key:"createByType",value:function(t,e){e=this.assignDefaults(e);var n=this.injectComponent(t,e);return this.register(t,n),n}},{key:"destroy",value:function(t){var e=this.components.get(t.componentType);if(e&&e.length){var n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}},{key:"destroyAll",value:function(){this.destroyByType(this.type)}},{key:"destroyByType",value:function(t){var e=this.components.get(t);if(e&&e.length)for(var n=e.length-1;n>=0;)this.destroy(e[n--])}},{key:"injectComponent",value:function(t,e){return this.injectionService.appendComponent(t,e)}},{key:"assignDefaults",value:function(t){var e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}},{key:"register",value:function(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}]),t}());return t.\u0275fac=function(e){return new(e||t)(m.LFG(sl))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),_l=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez]]}),t}(),wl=((pl={})[pl.popover="popover"]="popover",pl[pl.tooltip="tooltip"]="tooltip",pl),bl=((dl={})[dl.left="left"]="left",dl[dl.center="center"]="center",dl[dl.right="right"]="right",dl),xl=((fl={})[fl.all="all"]="all",fl[fl.focus="focus"]="focus",fl[fl.mouseover="mouseover"]="mouseover",fl),El=((gl=function(){function t(e,n,r){f(this,t),this.tooltipService=e,this.viewContainerRef=n,this.renderer=r,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=cl.top,this.tooltipAlignment=bl.center,this.tooltipType=wl.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=xl.all,this.tooltipImmediateExit=!1,this.show=new m.vpe,this.hide=new m.vpe}return p(t,[{key:"listensForFocus",get:function(){return this.tooltipShowEvent===xl.all||this.tooltipShowEvent===xl.focus}},{key:"listensForHover",get:function(){return this.tooltipShowEvent===xl.all||this.tooltipShowEvent===xl.mouseover}},{key:"ngOnDestroy",value:function(){this.hideTooltip(!0)}},{key:"onFocus",value:function(){this.listensForFocus&&this.showTooltip()}},{key:"onBlur",value:function(){this.listensForFocus&&this.hideTooltip(!0)}},{key:"onMouseEnter",value:function(){this.listensForHover&&this.showTooltip()}},{key:"onMouseLeave",value:function(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}},{key:"onMouseClick",value:function(){this.listensForHover&&this.hideTooltip(!0)}},{key:"showTooltip",value:function(t){var e=this;if(!this.component&&!this.tooltipDisabled){var n=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.tooltipService.destroyAll();var t=e.createBoundOptions();e.component=e.tooltipService.create(t),setTimeout(function(){e.component&&e.addHideListeners(e.component.instance.element.nativeElement)},10),e.show.emit(!0)},n)}}},{key:"addHideListeners",value:function(t){var e=this;this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",function(){clearTimeout(e.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",function(){e.hideTooltip(e.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",function(n){t.contains(n.target)||e.hideTooltip()}))}},{key:"hideTooltip",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.component){var n=function(){t.mouseLeaveContentEvent&&t.mouseLeaveContentEvent(),t.mouseEnterContentEvent&&t.mouseEnterContentEvent(),t.documentClickEvent&&t.documentClickEvent(),t.hide.emit(!0),t.tooltipService.destroy(t.component),t.component=void 0};clearTimeout(this.timeout),e?n():this.timeout=setTimeout(n,this.tooltipHideTimeout)}}},{key:"createBoundOptions",value:function(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}]),t}()).\u0275fac=function(t){return new(t||gl)(m.Y36(yl),m.Y36(m.s_b),m.Y36(m.Qsj))},gl.\u0275dir=m.lG2({type:gl,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&m.NdJ("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),gl),Tl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({providers:[sl,yl],imports:[[d.ez]]}),t}();"undefined"!=typeof window?window:"undefined"!=typeof global&&global;var Al=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez,_l,Tl],d.ez,_l,Tl]}),t}(),Sl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),kl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Il=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Cl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Dl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}();Math;var Nl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Zl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al,Nl,Dl]]}),t}(),Ml=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Ol=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Rl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al,Nl,kl]]}),t}(),Ll=function(){var t=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[Al,Sl,kl,Il,Cl,Dl,Zl,Ml,Nl,Ol,Rl]}),t}();function Ul(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"mat-spinner",3),m.qZA())}function Pl(t,e){if(1&t&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m.qZA()),2&t){var n=m.oxw(3);m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),m.xp6(3),m.Oqu(n.service)}}function Fl(t,e){1&t&&(m.O4$(),m.TgZ(0,"marker",10),m._UZ(1,"path",11),m.qZA())}function ql(t,e){if(1&t&&(m.O4$(),m.TgZ(0,"g",12),m._UZ(1,"rect"),m.TgZ(2,"text",13),m._uU(3),m.qZA(),m.qZA()),2&t){var n=e.$implicit;m.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",n.tooltip),m.xp6(1),m.uIk("width",n.dimension.width)("height",n.dimension.height)("fill",n.color),m.xp6(1),m.uIk("x",10)("y",n.dimension.height/2),m.xp6(1),m.Oqu(n.label)}}function zl(t,e){if(1&t&&(m.O4$(),m.TgZ(0,"g",14),m._UZ(1,"path",15),m.TgZ(2,"text",16),m.TgZ(3,"textPath",17),m._uU(4),m.qZA(),m.qZA(),m.qZA()),2&t){var n=e.$implicit;m.xp6(3),m.uIk("href","#"+n.id),m.xp6(1),m.hij(" ",n.label," ")}}var jl=function(t,e){return[t,e]};function Yl(t,e){if(1&t&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m._uU(5),m.ALo(6,"translate"),m.TgZ(7,"strong"),m._uU(8),m.qZA(),m.YNc(9,Pl,5,4,"span",4),m.TgZ(10,"div",5),m.TgZ(11,"ngx-graph",6),m.YNc(12,Fl,2,0,"ng-template",null,7,m.W1O),m.YNc(14,ql,4,9,"ng-template",null,8,m.W1O),m.YNc(16,zl,5,2,"ng-template",null,9,m.W1O),m.qZA(),m.qZA(),m.qZA()),2&t){var n=m.oxw(2);m.xp6(1),m.hij(" ",m.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),m.xp6(3),m.AsE("",n.user.firstName," ",n.user.lastName,""),m.xp6(1),m.hij(" ",m.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),m.xp6(3),m.Oqu(n.destination),m.xp6(1),m.Q6J("ngIf","noService"!==n.service),m.xp6(2),m.Q6J("links",n.hierarchialGraph.links)("nodes",n.hierarchialGraph.nodes)("curve",n.curve)("draggingEnabled",!1)("zoomToFit$",n.zoomToFit$)("view",m.WLB(16,jl,n.innerWidth,n.innerHeight))}}function Bl(t,e){if(1&t&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m.qZA()),2&t){var n=m.oxw(3);m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),m.xp6(3),m.Oqu(n.service)}}function Jl(t,e){if(1&t&&(m._uU(0),m.ALo(1,"translate"),m.TgZ(2,"strong"),m._uU(3),m.qZA(),m._uU(4),m.ALo(5,"translate"),m.TgZ(6,"strong"),m._uU(7),m.qZA(),m.YNc(8,Bl,5,4,"span",4),m._uU(9),m.ALo(10,"translate")),2&t){var n=m.oxw(2);m.hij(" ",m.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),m.xp6(3),m.AsE("",n.user.firstName," ",n.user.lastName,""),m.xp6(1),m.hij(" ",m.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),m.xp6(3),m.Oqu(n.destination),m.xp6(1),m.Q6J("ngIf","noService"!==n.service),m.xp6(1),m.hij(" ",m.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Gl(t,e){if(1&t&&(m.YNc(0,Yl,18,19,"div",1),m.YNc(1,Jl,11,13,"ng-template",null,2,m.W1O)),2&t){var n=m.MAs(2),r=m.oxw();m.Q6J("ngIf",r.isConnected)("ngIfElse",n)}}var Vl=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c){f(this,t),this.route=e,this.facilityManager=n,this.userService=r,this.membersService=i,this.serviceService=o,this.resourceManager=a,this.groupService=s,this.voService=u,this.translate=c,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=ze,this.zoomToFit$=new je.xQ}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(function(e){console.log(e),t.destination=e.destination,t.service=e.service,t.userService.getUserById(e.user).subscribe(function(e){t.user=e,t.facilityManager.getFacilitiesByDestination(t.destination).subscribe(function(e){t.facilities=e,t.membersService.getMembersByUser(t.user.id).subscribe(function(e){if(t.membership=e,0===t.membership.length||0===t.facilities.length)return t.loading=!1,void(t.isConnected=!1);t.showGraph()})})})})}},{key:"showGraph",value:function(){var t=this,e=""+this.id();this.hierarchialGraph.nodes=[].concat(n(this.hierarchialGraph.nodes),[{id:e,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}]);var r=""+this.id(),i="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[].concat(n(this.hierarchialGraph.nodes),[{id:r,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:i}]):[].concat(n(this.hierarchialGraph.nodes),[{id:r,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:i}]);var o,a=c(this.facilities);try{var s=function(){var e=o.value;t.serviceService.getAllRichDestinationsForFacility(e.id).subscribe(function(n){t.connectToService(e,n),t.delay(2e3).then(function(){t.zoomToFit$.next(!0),t.loading=!1})})};for(a.s();!(o=a.n()).done;)s()}catch(u){a.e(u)}finally{a.f()}}},{key:"connectToService",value:function(t,e){var n=this;this.isConnectedToService(e)&&this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(function(e){for(var r=0;r0)}}function Ah(t,e){1&t&&(m.TgZ(0,"app-alert",15),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.Q6J("alert_type","info"),m.xp6(1),m.hij(" ",m.lcZ(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function Sh(t,e){1&t&&(m.TgZ(0,"app-alert",16),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function kh(t,e){1&t&&m._UZ(0,"mat-spinner",17)}var Ih=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.dialogRef=e,this.data=n,this.tableConfigService=r,this.userManager=i,this.storeService=o,this.notificator=a,this.translate=s,this.loading=!1,this.selection=new k.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=ht.Iz}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new G.NI("",[G.kI.required,G.kI.pattern(".*[\\S]+.*")])}},{key:"onAdd",value:function(){var t,e,n=this;this.loading=!0,this.isService?(t=this.selection.selected[0].id,e=this.userId):(t=this.userId,e=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(t,e).subscribe(function(){n.notificator.showSuccess(n.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),n.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSearchByString",value:function(){var t=this;if(this.searchCtrl.invalid)this.searchCtrl.markAllAsTouched();else{this.loading=!0,this.firstSearchDone=!0;var e=[bh.r.USER_DEF_ORGANIZATION,bh.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,e).subscribe(function(e){t.identities=t.filterIdentities(e),t.loading=!1},function(){t.loading=!1})}}},{key:"onKeyInput",value:function(t){"Enter"===t.key&&this.onSearchByString()}},{key:"filterIdentities",value:function(t){return t.filter(this.isService?function(t){return!t.serviceUser}:function(t){return t.serviceUser})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(D.d6),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],[3,"alert_type",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page",4,"ngIf"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page"],[3,"alert_type"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.NdJ("keyup",function(t){return e.onKeyInput(t)}),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",2),m.TgZ(5,"mat-form-field",3),m.TgZ(6,"label"),m._UZ(7,"input",4),m.ALo(8,"translate"),m.qZA(),m.TgZ(9,"mat-error"),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return e.onSearchByString()}),m.TgZ(13,"mat-icon"),m._uU(14,"search"),m.qZA(),m.qZA(),m.YNc(15,Th,2,1,"div",6),m.YNc(16,Ah,3,4,"app-alert",7),m.YNc(17,Sh,3,3,"app-alert",8),m.qZA(),m.YNc(18,kh,1,0,"mat-spinner",9),m.TgZ(19,"div",10),m.TgZ(20,"button",11),m.NdJ("click",function(){return e.onCancel()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.TgZ(23,"button",12),m.NdJ("click",function(){return e.onAdd()}),m._uU(24),m.ALo(25,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(m.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),m.xp6(5),m.s9C("placeholder",m.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),m.Q6J("formControl",e.searchCtrl),m.xp6(3),m.hij(" ",m.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),m.xp6(2),m.Q6J("disabled",e.loading),m.xp6(3),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.firstSearchDone),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(3),m.hij(" ",m.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),m.xp6(2),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[I.uh,I.xY,B.KE,J.Nt,G.Fj,G.JJ,G.oH,B.TO,Z.lW,w.Hw,d.O5,I.H8,xh.C,O.w,M.$g],pipes:[x.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t}();function Ch(t,e){1&t&&m._UZ(0,"th",12)}function Dh(t,e){if(1&t&&(m.TgZ(0,"td",13),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",m.lcZ(2,1,n)," ")}}function Nh(t,e){1&t&&m._UZ(0,"tr",14)}function Zh(t,e){1&t&&m._UZ(0,"tr",15)}var Mh=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.userManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"]}return p(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.userId=this.data.userId,this.dataSource=new C.by([this.data.specificUser]),this.isService=this.data.isService}},{key:"onConfirm",value:function(){var t,e,n=this;this.isService?(t=this.dataSource.data[0].id,e=this.userId):(t=this.userId,e=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(t,e).subscribe(function(){n.notificator.showSuccess(n.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),n.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.Fv),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-disconnect-identity-dialog"]],decls:24,vars:21,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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.TgZ(4,"div",1),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"div",2),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.TgZ(11,"table",3),m.ynx(12,4),m.YNc(13,Ch,1,0,"th",5),m.YNc(14,Dh,3,3,"td",6),m.BQk(),m.YNc(15,Nh,1,0,"tr",7),m.YNc(16,Zh,1,0,"tr",8),m.qZA(),m.qZA(),m.TgZ(17,"div",9),m.TgZ(18,"button",10),m.NdJ("click",function(){return e.onCancel()}),m._uU(19),m.ALo(20,"translate"),m.qZA(),m.TgZ(21,"button",11),m.NdJ("click",function(){return e.onConfirm()}),m._uU(22),m.ALo(23,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,11,"DIALOGS.DISCONNECT_IDENTITY.TITLE")),m.xp6(2),m.Tol(e.theme),m.xp6(3),m.Oqu(m.lcZ(7,13,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(10,15,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),m.xp6(2),m.Q6J("dataSource",e.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",e.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",e.displayedColumns),m.xp6(3),m.hij(" ",m.lcZ(20,17,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(23,19,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[I.uh,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,I.H8,Z.lW,C.ge,C.ev,C.XQ,C.Gk],pipes:[x.X$,eh.d],styles:[""]}),t}();function Oh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Rh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE")," "))}function Lh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE")," ")}}function Uh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-users-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("users",r.identities)("selection",r.selection)("displayedColumns",r.displayedColumns)}}function Ph(t,e){1&t&&(m.TgZ(0,"app-alert",11),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES")," "))}function Fh(t,e){1&t&&m._UZ(0,"mat-spinner",12)}var qh=function(){var t=function(){function t(e,n,r,i,o,a){f(this,t),this.route=e,this.dialog=n,this.router=r,this.tableConfigService=i,this.userManager=o,this.authResolver=a,this.loading=!1,this.selection=new k.Ov(!1,[]),this.identities=[],this.tableId=ht.Iz,this.displayedColumns=["select","id","user","name"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.userId=e.userId,t.userManager.getSpecificUsersByUser(t.userId).subscribe(function(e){t.identities=e,t.loading=!1})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(function(e){t.identities=e,t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1250px",e.data={userId:this.userId,theme:"user-theme",isService:!1},this.dialog.open(Ih,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme"},this.dialog.open(Mh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(I.uw),m.Y36(g.F0),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-settings-service-identities"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Oh,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Rh,3,3,"button",2),m.YNc(6,Lh,3,4,"button",3),m.YNc(7,Uh,1,4,"app-users-list",4),m.YNc(8,Ph,3,3,"app-alert",5),m.qZA(),m.YNc(9,Fh,1,0,"mat-spinner",6)),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",void 0!==e.identities&&e.identities.length>0),m.xp6(1),m.Q6J("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),m.xp6(1),m.Q6J("ngIf",e.loading))},directives:[d.O5,gt.t,Z.lW,xh.C,O.w,M.$g],pipes:[x.X$],styles:[""]}),t}(),zh=l(56238),jh=l(79996);function Yh(t,e){1&t&&m._UZ(0,"mat-spinner",7)}function Bh(t,e){if(1&t&&(m.TgZ(0,"mat-option",14),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.Q6J("value",n),m.xp6(1),m.hij(" ",n.name," ")}}function Jh(t,e){if(1&t&&(m.TgZ(0,"div"),m.TgZ(1,"mat-form-field",8),m._UZ(2,"input",9),m.ALo(3,"translate"),m.TgZ(4,"mat-error"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA(),m.TgZ(7,"mat-form-field",8),m._UZ(8,"input",10),m.ALo(9,"translate"),m.TgZ(10,"mat-error"),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.TgZ(13,"mat-autocomplete",11,12),m.YNc(15,Bh,2,2,"mat-option",13),m.ALo(16,"async"),m.qZA(),m.qZA(),m.qZA()),2&t){var n=m.MAs(14),r=m.oxw();m.xp6(2),m.s9C("placeholder",m.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),m.Q6J("formControl",r.loginControl),m.xp6(3),m.hij(" ",m.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),m.Q6J("formControl",r.extSourcesControl)("matAutocomplete",n),m.xp6(3),m.hij(" ",m.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),m.xp6(2),m.Q6J("displayWith",r.displayFn),m.xp6(2),m.Q6J("ngForOf",m.lcZ(16,17,r.filteredExtSources))}}var Gh=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;f(this,t),this.dialogRef=e,this.data=n,this.extSourcesManagerService=r,this.usersManagerService=i,this.translate=o,this.notificator=a,this.extSources=[],o.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(function(t){return s.successMessage=t})}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.loginControl=new G.NI("",[G.kI.required,G.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new G.NI("",[G.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,zh.O)(""),(0,jh.U)(function(e){return t._filter(e)})),this.extSourcesManagerService.getExtSources().subscribe(function(e){t.extSources=e,t.filteredExtSources=t.extSourcesControl.valueChanges.pipe((0,zh.O)(""),(0,jh.U)(function(e){return t._filter(e)})),t.loading=!1},function(){return t.loading=!1})}},{key:"displayFn",value:function(t){return t?t.name:null}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onAdd",value:function(){var t=this;this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"_filter",value:function(t){var e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.extSources.filter(function(t){return t.name.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KG),m.Y36(N.Fv),m.Y36(x.sK),m.Y36(D.V6))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[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"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.YNc(4,Yh,1,0,"mat-spinner",2),m.YNc(5,Jh,17,19,"div",3),m.qZA(),m.TgZ(6,"div",4),m.TgZ(7,"button",5),m.NdJ("click",function(){return e.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",6),m.NdJ("click",function(){return e.onAdd()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),m.xp6(3),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(3),m.hij(" ",m.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),m.xp6(2),m.Q6J("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),m.xp6(1),m.hij(" ",m.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[I.uh,I.xY,d.O5,I.H8,Z.lW,M.$g,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,Ie.ZL,Ie.XC,d.sg,X.ey],pipes:[x.X$,d.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t}(),Vh=l(61189),Hh=l(23888);function Qh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(n),m.oxw().addIdentity()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD")))}function Wh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().removeIdentity()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"))}}function Xh(t,e){1&t&&m._UZ(0,"mat-spinner",9)}function $h(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"perun-web-apps-user-ext-sources-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(1),m.Q6J("displayedColumns",r.displayedColumns)("selection",r.selection)("userExtSources",r.userExtSources)("pageSize",r.pageSize)}}var Kh=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.usersManagerService=e,this.storage=n,this.registrarManagerService=r,this.dialog=i,this.route=o,this.tableConfigService=a,this.authResolver=s,this.userExtSources=[],this.selection=new k.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=ht.gG}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.userId=e.userId}),this.refreshTable()}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(function(e){t.userExtSources=e,t.loading=!1},function(){return t.loading=!1})}},{key:"addIdentity",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={userId:this.userId},this.dialog.open(Gh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeIdentity",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(Vh.Lc,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.Fv),m.Y36(D.d6),m.Y36(N.tk),m.Y36(I.uw),m.Y36(g.gz),m.Y36(ht.dB),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-identities"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(4,Qh,3,3,"button",2),m.YNc(5,Wh,3,4,"button",3),m.TgZ(6,"div",4),m.YNc(7,Xh,1,0,"mat-spinner",5),m.qZA(),m.YNc(8,$h,2,4,"div",6)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,5,"USER_DETAIL.IDENTITIES.TITLE")),m.xp6(3),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,Z.lW,M.$g,Hh.j],pipes:[x.X$],styles:[""]}),t}();function tf(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function ef(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",5),m.TgZ(1,"mat-form-field"),m.TgZ(2,"input",6),m.NdJ("change",function(){return m.CHM(n),m.oxw().makePath()}),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"mat-error"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA(),m.TgZ(7,"mat-form-field"),m.TgZ(8,"input",7),m.NdJ("ngModelChange",function(t){return m.CHM(n),m.oxw().description=t}),m.ALo(9,"translate"),m.qZA(),m.qZA(),m.TgZ(10,"mat-form-field"),m._UZ(11,"input",8),m.ALo(12,"translate"),m.TgZ(13,"mat-error"),m._uU(14),m.ALo(15,"translate"),m.qZA(),m.qZA(),m.TgZ(16,"mat-form-field"),m._UZ(17,"input",8),m.ALo(18,"translate"),m.TgZ(19,"mat-error"),m._uU(20),m.ALo(21,"translate"),m.qZA(),m.qZA(),m.TgZ(22,"mat-form-field"),m._UZ(23,"input",8),m.ALo(24,"translate"),m.TgZ(25,"mat-error"),m._uU(26),m.ALo(27,"translate"),m.qZA(),m.qZA(),m.TgZ(28,"span",9),m._uU(29),m.ALo(30,"translate"),m.TgZ(31,"mat-checkbox",10),m.NdJ("ngModelChange",function(t){return m.CHM(n),m.oxw().status=t}),m._uU(32),m.ALo(33,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.s9C("placeholder",m.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),m.Q6J("formControl",r.nameControl),m.xp6(3),m.Oqu(m.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),m.xp6(3),m.s9C("placeholder",m.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),m.Q6J("ngModel",r.description),m.xp6(3),m.s9C("placeholder",m.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),m.Q6J("formControl",r.delayControl),m.xp6(3),m.Oqu(m.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),m.xp6(3),m.s9C("placeholder",m.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),m.Q6J("formControl",r.recurrenceControl),m.xp6(3),m.Oqu(m.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),m.xp6(3),m.s9C("placeholder",m.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),m.Q6J("formControl",r.pathControl),m.xp6(3),m.Oqu(m.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),m.xp6(3),m.hij("",m.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),m.xp6(2),m.Q6J("ngModel",r.status),m.xp6(1),m.Oqu(m.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function nf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",11),m.TgZ(1,"button",12),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",13),m.NdJ("click",function(){m.CHM(n);var t=m.oxw();return t.asEdit?t.onEdit():t.onCreate()}),m._uU(5),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),m.xp6(2),m.Q6J("disabled",r.nameControl.invalid||r.delayControl.invalid||r.recurrenceControl.invalid||r.pathControl.invalid),m.xp6(1),m.hij(" ",r.buttonText," ")}}var rf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.loading=!1,this.status=!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}return p(t,[{key:"ngOnInit",value:function(){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.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"))}},{key:"onCreate",value:function(){var t=this;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,id:0,beanName:""}}).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),t.dialogRef.close(!0),t.loading=!1})}},{key:"onEdit",value:function(){var t=this;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,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),t.dialogRef.close(!0),t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"makePath",value:function(){var t="./".concat(this.nameControl.value);this.pathControl.setValue(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.qZA(),m.YNc(3,tf,1,0,"mat-spinner",1),m.YNc(4,ef,34,39,"div",2),m.YNc(5,nf,6,5,"div",3),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(e.title),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,G.On,W.oG,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}(),of=l(20247),af=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"],this.dataSource=new C.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}return p(t,[{key:"ngOnInit",value:function(){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")}},{key:"onConfirm",value:function(){var t=this;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(function(){t.onConfirm(),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-delete-service-dialog"]],decls:2,vars:7,consts:[[3,"anotherMessage","entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(t){return e.onSubmit(t)}),m.qZA(),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(1),m.Q6J("anotherMessage",e.anotherMessage)("entityNames",e.dataSource)("entityType","services")("relations",e.relations))},directives:[of.e],styles:[""]}),t}();function sf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(n),m.oxw().createService()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"ADMIN.SERVICES.CREATE"),""))}function uf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().deleteService()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.SERVICES.DELETE"),"")}}function cf(t,e){1&t&&m._UZ(0,"mat-spinner",9)}function lf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-services-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("selection",r.selection)("services",r.services)("filterValue",r.filterValue)}}var hf=function(){var t=function(){function t(e,n,r,i){f(this,t),this.tableConfigService=e,this.serviceManager=n,this.dialog=r,this.authResolver=i,this.selection=new k.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=ht.NL}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.serviceManager.getServices().subscribe(function(e){t.services=e,t.refreshTable()})}},{key:"createService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"admin-theme"},this.dialog.open(rf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"deleteService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(af,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.serviceManager.getServices().subscribe(function(e){t.services=e,t.selection.clear(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(ht.dB),m.Y36(N.KK),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(5,sf,3,3,"button",2),m.YNc(6,uf,3,4,"button",3),m.TgZ(7,"perun-web-apps-immediate-filter",4),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(8,cf,1,0,"mat-spinner",5),m.YNc(9,lf,1,4,"app-services-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,6,"ADMIN.SERVICES.TITLE")),m.xp6(3),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("placeholder","ADMIN.SERVICES.FILTER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,vt.L,Z.lW,M.$g,wt.Q],pipes:[x.X$],styles:[""]}),t}(),ff=l(88884);function df(t,e){1&t&&m._UZ(0,"mat-spinner",5)}var pf=function(){return["id","name","vo","facility","description"]};function gf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-resources-list",6),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("resources",r.resources)("filterValue",r.filterValue)("displayedColumns",m.DdM(4,pf))}}var vf=function(){var t=function(){function t(e,n,r){f(this,t),this.userManager=e,this.tableConfigService=n,this.route=r,this.resources=[],this.tableId=ht.kO,this.filterValue=""}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.userManager.getAssignedRichResourcesForUser(e.userId).subscribe(function(e){t.resources=e,t.loading=!1})})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"resourceFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.Fv),m.Y36(ht.dB),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","resources","filterValue","displayedColumns","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","resources","filterValue","displayedColumns","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"perun-web-apps-immediate-filter",2),m.NdJ("filter",function(t){return e.resourceFilter(t)}),m.qZA(),m.YNc(6,df,1,0,"mat-spinner",3),m.YNc(7,gf,1,5,"perun-web-apps-resources-list",4),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),m.xp6(3),m.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,vt.L,d.O5,M.$g,ff.C],pipes:[x.X$],styles:[""]}),t}(),mf=l(13572),yf=l(40695),_f=l(41186),wf=["list"];function bf(t,e){1&t&&m._UZ(0,"mat-spinner",7)}function xf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-attributes-list",8,9),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("attributes",r.attributes)("selection",r.selection)}}var Ef=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialog=e,this.attributesManager=n,this.tableConfigService=r,this.userService=i,this.route=o,this.loading=!1,this.selection=new k.Ov(!0,[]),this.tableId=ht.rF,this.attributes=[]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(function(e){t.userService.getUserExtSourceById(e.identityId).subscribe(function(e){t.userExtSource=e,t.refreshTable()})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(function(e){t.attributes=(0,lt.MX)(e),t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1050px",e.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(yf.n,e).afterClosed().subscribe(function(e){"saved"===e&&t.refreshTable()})}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=(0,lt.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Vh.wA,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(mf.k,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.uw),m.Y36(N.H8),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(wf,5),2&t)&&(m.iGM(n=m.CRH())&&(e.list=n.first))},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"button",2),m.NdJ("click",function(){return e.onSave()}),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"button",3),m.NdJ("click",function(){return e.onAdd()}),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.TgZ(11,"button",4),m.NdJ("click",function(){return e.onRemove()}),m._uU(12),m.ALo(13,"translate"),m.qZA(),m.YNc(14,bf,1,0,"mat-spinner",5),m.YNc(15,xf,2,3,"perun-web-apps-attributes-list",6),m.qZA()),2&t&&(m.xp6(2),m.AsE("",m.lcZ(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),m.xp6(3),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),m.xp6(3),m.Oqu(m.lcZ(10,13,"SHARED.IDENTITY_DETAIL.ADD")),m.xp6(2),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,Z.lW,d.O5,M.$g,_f.p],pipes:[x.X$],styles:[""]}),t}();function Tf(t,e){1&t&&m._UZ(0,"mat-spinner",3)}function Af(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",13),m.NdJ("click",function(){return m.CHM(n),m.oxw(2).editService()}),m.TgZ(1,"mat-icon"),m._uU(2,"edit"),m.qZA(),m.qZA()}}function Sf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",14),m.NdJ("click",function(){return m.CHM(n),m.oxw(2).removeService()}),m.TgZ(1,"mat-icon"),m._uU(2,"delete_forever"),m.qZA(),m.qZA()}}var kf=function(){return{color:"black"}},If=function(t){return["/admin/services",t]};function Cf(t,e){if(1&t&&(m.TgZ(0,"div",4),m._UZ(1,"mat-icon",5),m.ALo(2,"translate"),m.TgZ(3,"div",6),m.TgZ(4,"div",7),m.TgZ(5,"a",8),m._uU(6),m.qZA(),m.TgZ(7,"span",9),m._uU(8),m.qZA(),m.YNc(9,Af,3,0,"button",10),m.YNc(10,Sf,3,0,"button",11),m.qZA(),m.TgZ(11,"span",12),m._uU(12),m.ALo(13,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(1),m.s9C("matTooltip",m.lcZ(2,9,"SERVICE_DETAIL.ENTITY")),m.Q6J("ngStyle",m.DdM(13,kf)),m.xp6(4),m.Q6J("routerLink",m.VKq(14,If,n.service.id)),m.xp6(1),m.hij(" ",n.service.name," "),m.xp6(2),m.hij(" \xa0 #",n.service.id," "),m.xp6(1),m.Q6J("ngIf",n.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",n.authResolver.isPerunAdmin()),m.xp6(2),m.AsE(" ",m.lcZ(13,11,"SERVICE_DETAIL.DESCRIPTION"),": ",n.service.description," ")}}var Df=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.route=e,this.router=n,this.serviceManager=r,this.sideMenuService=i,this.sideMenuItemService=o,this.dialog=a,this.authResolver=s,this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.serviceManager.getServiceById(e.serviceId).subscribe(function(e){t.service=e;var n=t.sideMenuItemService.parseService(t.service);t.sideMenuService.setAdminItems([n]),t.loading=!1},function(){return t.loading=!1})})}},{key:"editService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"service-theme",service:this.service},this.dialog.open(rf,e).afterClosed().subscribe(function(e){e&&t.ngOnInit()})}},{key:"removeService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"service-theme",services:[this.service]},this.dialog.open(af,e).afterClosed().subscribe(function(e){e&&(console.log(e),t.router.navigate(["/admin/services"]))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(g.F0),m.Y36(N.KK),m.Y36(y.D),m.Y36(v.V),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m._UZ(1,"perun-web-apps-back-button"),m.YNc(2,Tf,1,0,"mat-spinner",1),m.YNc(3,Cf,14,16,"div",2),m._UZ(4,"app-animated-router-outlet"),m.qZA()),2&t&&(m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&void 0!==e.service))},directives:[_.W,d.O5,b.A,M.$g,w.Hw,Y.gM,d.PC,g.yS,Z.lW],pipes:[x.X$],styles:[""],data:{animation:[yt.Ji]}}),t}(),Nf=function(){var t=function(){function t(){f(this,t),this.navItems=[]}return p(t,[{key:"ngOnInit",value:function(){this.initNavItems()}},{key:"initNavItems",value:function(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&m._UZ(0,"perun-web-apps-menu-buttons-field",0),2&t&&m.Q6J("items",e.navItems)("size","small")},directives:[A.L],styles:[""]}),t}();function Zf(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function Mf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",5),m.TgZ(1,"perun-web-apps-immediate-filter",6),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA(),m._UZ(2,"app-attr-def-list",7),m.qZA()}if(2&t){var r=m.oxw();m.xp6(1),m.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),m.xp6(1),m.Q6J("selection",r.selection)("definitions",r.attrDefinitions)("disableRouting",!0)("filterValue",r.filterValue)}}function Of(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",8),m.TgZ(1,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",10),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),m.xp6(2),m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}var Rf=function(){var t=function(){function t(e,n,r,i,o,a){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.attributesManager=i,this.notificator=o,this.translate=a,this.attrDefinitions=[],this.selection=new k.Ov(!0,[]),this.filterValue="",this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(function(e){t.attrDefinitions=e,t.loading=!1})}},{key:"onAdd",value:function(){var t=this;this.loading=!0;var e=this.selection.selected.map(function(t){return t.id});this.serviceManager.addRequiredAttributes(this.serviceId,e).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(N.H8),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Zf,1,0,"mat-spinner",1),m.YNc(5,Mf,3,5,"div",2),m.YNc(6,Of,7,7,"div",3),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,vt.L,fe,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}();function Lf(t,e){1&t&&m._UZ(0,"mat-spinner",6)}function Uf(t,e){1&t&&m._UZ(0,"th",15)}function Pf(t,e){if(1&t&&(m.TgZ(0,"td",16),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",n.friendlyName," ")}}function Ff(t,e){1&t&&m._UZ(0,"tr",17)}function qf(t,e){1&t&&m._UZ(0,"tr",18)}function zf(t,e){if(1&t&&(m.TgZ(0,"div",7),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",8),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",9),m.ynx(8,10),m.YNc(9,Uf,1,0,"th",11),m.YNc(10,Pf,2,1,"td",12),m.BQk(),m.YNc(11,Ff,1,0,"tr",13),m.YNc(12,qf,1,0,"tr",14),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.Oqu(m.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),m.xp6(2),m.Q6J("dataSource",n.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",n.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",n.displayedColumns)}}var jf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"],this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new C.by(this.data.attrDefinitions)}},{key:"onConfirm",value:function(){var t=this;this.loading=!0;var e=this.dataSource.data.map(function(t){return t.id});this.serviceManager.removeRequiredAttributes(this.serviceId,e).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.YNc(4,Lf,1,0,"mat-spinner",1),m.YNc(5,zf,13,9,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return e.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return e.onConfirm()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Tol(e.theme),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),m.xp6(2),m.Q6J("disabled",e.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[I.uh,d.O5,I.H8,Z.lW,M.$g,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk],pipes:[x.X$],styles:[""]}),t}();function Yf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Bf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function Jf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Gf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-immediate-filter",10),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA()}2&t&&m.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Vf(t,e){1&t&&m._UZ(0,"mat-spinner",11)}function Hf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-attr-def-list",12),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)})("refreshEvent",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("definitions",r.attrDefinitions)("selection",r.selection)("filterValue",r.filterValue)("disableRouting",!r.authResolver.isPerunAdmin())}}var Qf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.route=e,this.tableConfigService=n,this.attributeManager=r,this.dialog=i,this.authResolver=o,this.loading=!1,this.filterValue="",this.selection=new k.Ov(!0,[]),this.attrDefinitions=[],this.tableId=ht.JO}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.serviceId=e.serviceId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.serviceId).subscribe(function(e){t.selection.clear(),t.attrDefinitions=e,t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="950px",e.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Rf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(jf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(ht.dB),m.Y36(N.H8),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-required-attributes"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Yf,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Bf,3,3,"button",2),m.YNc(6,Jf,3,4,"button",3),m.YNc(7,Gf,1,1,"perun-web-apps-immediate-filter",4),m.YNc(8,Vf,1,0,"mat-spinner",5),m.YNc(9,Hf,1,5,"app-attr-def-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[d.O5,gt.t,Z.lW,vt.L,M.$g,fe],pipes:[x.X$],styles:[""]}),t}();function Wf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Xf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function $f(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function Kf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-users-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("users",r.associatedUsers)("selection",r.selection)("displayedColumns",r.displayedColumns)}}function td(t,e){1&t&&(m.TgZ(0,"app-alert",11),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function ed(t,e){1&t&&m._UZ(0,"mat-spinner",12)}var nd=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.route=e,this.dialog=n,this.router=r,this.tableConfigService=i,this.userManager=o,this.loading=!1,this.selection=new k.Ov(!1,[]),this.associatedUsers=[],this.tableId=ht.It,this.displayedColumns=["select","id","user","name"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.userId=e.userId,t.userManager.getUsersBySpecificUser(t.userId).subscribe(function(e){t.associatedUsers=e,t.loading=!1})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.userManager.getUsersBySpecificUser(this.userId).subscribe(function(e){t.associatedUsers=e,t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1250px",e.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(Ih,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme"},this.dialog.open(Mh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(I.uw),m.Y36(g.F0),m.Y36(ht.dB),m.Y36(N.Fv))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-settings-associated-users"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Wf,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Xf,3,3,"button",2),m.YNc(6,$f,3,4,"button",3),m.YNc(7,Kf,1,4,"app-users-list",4),m.YNc(8,td,3,3,"app-alert",5),m.qZA(),m.YNc(9,ed,1,0,"mat-spinner",6)),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),m.xp6(1),m.Q6J("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),m.xp6(1),m.Q6J("ngIf",e.loading))},directives:[d.O5,gt.t,Z.lW,xh.C,O.w,M.$g],pipes:[x.X$],styles:[""]}),t}(),rd=l(60547),id=l(94357);function od(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function ad(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function sd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAllow()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function ud(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onBlock()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function cd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-immediate-filter",10),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA()}2&t&&m.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function ld(t,e){1&t&&m._UZ(0,"mat-spinner",11)}var hd=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function fd(t,e){if(1&t&&m._UZ(0,"app-perun-web-apps-destination-list",12),2&t){var n=m.oxw();m.Q6J("destinations",n.destinations)("selection",n.selection)("pageSize",n.pageSize)("displayedColumns",m.DdM(5,hd))("filterValue",n.filterValue)}}var dd=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.route=e,this.tableConfigService=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.dialog=a,this.authResolver=s,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new k.Ov(!0,[]),this.tableId=ht.Cf}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.serviceId=e.serviceId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.serviceId).subscribe(function(e){t.selection.clear(),t.filterValue="",t.destinations=e,t.loading=!1})}},{key:"blockServiceOnDestinations",value:function(t){var e=this;if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();var n=t.pop();this.serviceManager.blockServiceOnDestination(this.serviceId,n.id).subscribe(function(){e.blockServiceOnDestinations(t)},function(){return e.loading=!1})}},{key:"onBlock",value:function(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}},{key:"allowServiceOnDestinations",value:function(t){var e=this;if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();var n=t.pop();this.serviceManager.unblockServiceOnDestinationById(this.serviceId,n.id).subscribe(function(){e.allowServiceOnDestinations(t)},function(){return e.loading=!1})}},{key:"onAllow",value:function(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="500px",e.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(rd.u,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(ht.dB),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-destinations"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","pageSize","displayedColumns","filterValue",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","pageSize","displayedColumns","filterValue"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,od,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,ad,3,4,"button",2),m.YNc(6,sd,3,4,"button",3),m.YNc(7,ud,3,4,"button",2),m.YNc(8,cd,1,1,"perun-web-apps-immediate-filter",4),m.YNc(9,ld,1,0,"mat-spinner",5),m.YNc(10,fd,1,6,"app-perun-web-apps-destination-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[d.O5,gt.t,Z.lW,vt.L,M.$g,id.q],pipes:[x.X$],styles:[""]}),t}();function pd(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function gd(t,e){1&t&&m._UZ(0,"th",13)}function vd(t,e){if(1&t&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",n.name," ")}}function md(t,e){1&t&&m._UZ(0,"tr",15)}function yd(t,e){1&t&&m._UZ(0,"tr",16)}function _d(t,e){if(1&t&&(m.TgZ(0,"div",5),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",6),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",7),m.ynx(8,8),m.YNc(9,gd,1,0,"th",9),m.YNc(10,vd,2,1,"td",10),m.BQk(),m.YNc(11,md,1,0,"tr",11),m.YNc(12,yd,1,0,"tr",12),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),m.xp6(2),m.Q6J("dataSource",n.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",n.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",n.displayedColumns)}}function wd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",17),m.TgZ(1,"button",18),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",19),m.NdJ("click",function(){return m.CHM(n),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",r.loading),m.xp6(1),m.hij(" ",m.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}var bd=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.notificator=r,this.translate=i,this.ownersManagerService=o,this.displayedColumns=["name"],this.owners=[]}return p(t,[{key:"ngOnInit",value:function(){this.dataSource=new C.by(this.data),this.owners=this.data}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(function(){t.onSubmit()},function(){return t.loading=!1}):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(function(e){t.loading=!1,t.notificator.showSuccess(e),t.dialogRef.close(!0)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(D.V6),m.Y36(x.sK),m.Y36(N.aC))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.YNc(3,pd,1,0,"mat-spinner",1),m.YNc(4,_d,13,9,"div",2),m.YNc(5,wd,7,7,"div",3)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}();function xd(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function Ed(t,e){1&t&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function Td(t,e){1&t&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function Ad(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",5),m.TgZ(2,"mat-form-field"),m._UZ(3,"input",6),m.ALo(4,"translate"),m.TgZ(5,"mat-error"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"mat-form-field"),m._UZ(9,"input",6),m.ALo(10,"translate"),m.YNc(11,Ed,3,3,"mat-error",3),m.YNc(12,Td,3,3,"mat-error",3),m.qZA(),m.TgZ(13,"mat-form-field"),m.TgZ(14,"mat-select",7),m.NdJ("valueChange",function(t){return m.CHM(n),m.oxw().type=t}),m.TgZ(15,"mat-option",8),m._uU(16),m.ALo(17,"translate"),m.qZA(),m.TgZ(18,"mat-option",9),m._uU(19),m.ALo(20,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.TgZ(21,"div",10),m.TgZ(22,"button",11),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(23),m.ALo(24,"translate"),m.qZA(),m.TgZ(25,"div",12),m.ALo(26,"translate"),m.TgZ(27,"button",13),m.NdJ("click",function(){return m.CHM(n),m.oxw().onSubmit()}),m._uU(28),m.ALo(29,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(3),m.s9C("placeholder",m.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),m.Q6J("formControl",r.nameCtrl),m.xp6(3),m.hij(" ",m.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),m.Q6J("formControl",r.contactCtrl),m.xp6(2),m.Q6J("ngIf",r.contactCtrl.hasError("required")),m.xp6(1),m.Q6J("ngIf",r.contactCtrl.invalid&&!r.contactCtrl.hasError("required")),m.xp6(2),m.Q6J("value",r.type),m.xp6(2),m.Oqu(m.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),m.xp6(3),m.Oqu(m.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),m.xp6(4),m.hij(" ",m.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),m.xp6(2),m.s9C("matTooltip",m.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),m.Q6J("matTooltipDisabled",r.nameCtrl.valid&&r.contactCtrl.valid),m.xp6(2),m.Q6J("disabled",r.nameCtrl.invalid||r.contactCtrl.invalid),m.xp6(1),m.hij(" ",m.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}var Sd=function(){var t=function(){function t(e,n,r,i){var o=this;f(this,t),this.dialogRef=e,this.notificator=n,this.ownersManagerService=r,this.translate=i,this.type="1",this.emailRegex=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,i.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(function(t){return o.successMessage=t})}return p(t,[{key:"ngOnInit",value:function(){this.nameCtrl=new G.NI(null,[G.kI.required,G.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new G.NI(null,[G.kI.required,G.kI.pattern(this.emailRegex)])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number.parseInt(this.type,10)}).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(D.V6),m.Y36(N.aC),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-owner-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"],[3,"value","valueChange"],["value","1"],["value","0"],["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(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,xd,1,0,"mat-spinner",2),m.YNc(5,Ad,30,31,"div",3),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,H.gD,X.ey,I.H8,Z.lW,Y.gM],pipes:[x.X$],styles:[""]}),t}(),kd=l(17767);function Id(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().addOwner()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function Cd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().removeOwner()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",!r.selected.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function Dd(t,e){1&t&&m._UZ(0,"mat-spinner",10)}function Nd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-owners-list",11),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("filterValue",r.filterValue)("owners",r.owners)("selection",r.selected)}}var Zd=function(){var t=function(){function t(e,n,r,i){f(this,t),this.ownersManagerService=e,this.tableConfigService=n,this.dialog=r,this.guiAuthResolver=i,this.owners=[],this.selected=new k.Ov(!0,[]),this.filterValue="",this.tableId=ht.v1}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.setAuth(),this.refreshTable()}},{key:"setAuth",value:function(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(function(e){t.owners=e,t.selected.clear(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"addOwner",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={},this.dialog.open(Sd,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeOwner",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data=this.selected.selected,this.dialog.open(bd,e).afterClosed().subscribe(function(e){e&&(t.selected.clear(),t.refreshTable())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.aC),m.Y36(ht.dB),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","selection","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",2),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(5,Id,3,3,"button",3),m.YNc(6,Cd,3,4,"button",4),m.TgZ(7,"perun-web-apps-immediate-filter",5),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(8,Dd,1,0,"mat-spinner",6),m.YNc(9,Nd,1,4,"perun-web-apps-owners-list",7),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,6,"ADMIN.OWNERS.TITLE")),m.xp6(3),m.Q6J("ngIf",e.addAuth),m.xp6(1),m.Q6J("ngIf",e.removeAuth),m.xp6(1),m.Q6J("placeholder","ADMIN.OWNERS.FILTER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,vt.L,Z.lW,M.$g,kd.Q],pipes:[x.X$],styles:[""]}),t}(),Md=l(60007);function Od(t,e){1&t&&m._UZ(0,"mat-spinner",5)}function Rd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-facilities-list",6),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("filterValue",r.filterValue)("facilities",r.facilities)("displayedColumns",r.displayedColumns)("pageSize",r.pageSize)}}var Ld=function(){var t=function(){function t(e,n,r){f(this,t),this.facilityManager=e,this.tableConfigService=n,this.route=r,this.facilities=[],this.filterValue="",this.tableId=ht.zW,this.displayedColumns=["id","name","description"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.userId=e.userId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(function(e){t.facilities=e.map(function(t){return{facility:t}}),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.IQ),m.Y36(ht.dB),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"filterValue","facilities","displayedColumns","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"filterValue","facilities","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"perun-web-apps-immediate-filter",2),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(6,Od,1,0,"mat-spinner",3),m.YNc(7,Rd,1,4,"perun-web-apps-facilities-list",4),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),m.xp6(3),m.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,vt.L,d.O5,M.$g,Md.X],pipes:[x.X$],styles:[""]}),t}(),Ud=l(19386),Pd=l(55109),Fd=l(64737),qd=l(78364),zd=l(541),jd=l(69012);function Yd(t,e){1&t&&m._UZ(0,"mat-spinner")}function Bd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-vo-search-select",4),m.NdJ("voSelected",function(t){return m.CHM(n),m.oxw().loadMember(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("vos",r.vos)}}function Jd(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function Gd(t,e){1&t&&m._UZ(0,"mat-spinner")}var Vd=function(){return["id","recent","name","description","groupStatus","expiration"]};function Hd(t,e){if(1&t&&m._UZ(0,"perun-web-apps-groups-list",13),2&t){var n=m.oxw(4);m.Q6J("displayedColumns",m.DdM(2,Vd))("groups",n.groups)}}var Qd=function(t,e){return["/organizations",t,"members",e]};function Wd(t,e){if(1&t&&(m.TgZ(0,"div"),m.TgZ(1,"div",7),m.TgZ(2,"span",8),m._uU(3),m.ALo(4,"translate"),m.qZA(),m.TgZ(5,"a",9),m._uU(6),m.qZA(),m.qZA(),m._UZ(7,"app-member-overview-membership",10),m.TgZ(8,"p",11),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.YNc(11,Hd,1,3,"perun-web-apps-groups-list",12),m.qZA()),2&t){var n=m.oxw(3);m.xp6(3),m.hij("",m.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),m.xp6(2),m.Q6J("routerLink",m.WLB(11,Qd,n.selectedVo.id,n.member.id)),m.xp6(1),m.hij("",n.member.id," "),m.xp6(1),m.Q6J("member",n.member)("vo",n.selectedVo),m.xp6(2),m.Oqu(m.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),m.xp6(2),m.Q6J("ngIf",!n.loading)}}function Xd(t,e){if(1&t&&(m.YNc(0,Gd,1,0,"mat-spinner",1),m.YNc(1,Wd,12,14,"div",1)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function $d(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function Kd(t,e){1&t&&m._UZ(0,"mat-spinner")}function tp(t,e){if(1&t&&m._UZ(0,"app-one-entity-attribute-page",15),2&t){var n=m.oxw(3);m.Q6J("entityId",n.member.id)("entity","member")}}function ep(t,e){if(1&t&&(m.YNc(0,Kd,1,0,"mat-spinner",1),m.YNc(1,tp,1,2,"app-one-entity-attribute-page",14)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function np(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function rp(t,e){1&t&&m._UZ(0,"mat-spinner")}function ip(t,e){if(1&t&&m._UZ(0,"app-two-entity-attribute-page",17),2&t){var n=m.oxw(3);m.Q6J("firstEntityId",n.member.id)("firstEntity","member")("secondEntity","group")}}function op(t,e){if(1&t&&(m.YNc(0,rp,1,0,"mat-spinner",1),m.YNc(1,ip,1,3,"app-two-entity-attribute-page",16)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function ap(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function sp(t,e){1&t&&m._UZ(0,"mat-spinner")}function up(t,e){if(1&t&&m._UZ(0,"app-two-entity-attribute-page",17),2&t){var n=m.oxw(3);m.Q6J("firstEntityId",n.member.id)("firstEntity","member")("secondEntity","resource")}}function cp(t,e){if(1&t&&(m.YNc(0,sp,1,0,"mat-spinner",1),m.YNc(1,up,1,3,"app-two-entity-attribute-page",16)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function lp(t,e){1&t&&(m.TgZ(0,"mat-tab-group"),m.TgZ(1,"mat-tab"),m.YNc(2,Jd,2,3,"ng-template",5),m.YNc(3,Xd,2,2,"ng-template",6),m.qZA(),m.TgZ(4,"mat-tab"),m.YNc(5,$d,2,3,"ng-template",5),m.YNc(6,ep,2,2,"ng-template",6),m.qZA(),m.TgZ(7,"mat-tab"),m.YNc(8,np,2,3,"ng-template",5),m.YNc(9,op,2,2,"ng-template",6),m.qZA(),m.TgZ(10,"mat-tab"),m.YNc(11,ap,2,3,"ng-template",5),m.YNc(12,cp,2,2,"ng-template",6),m.qZA(),m.qZA())}var hp,fp,dp=[{path:"",component:T,children:[{path:"",component:S,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:ye,data:{animation:"AdminAttributesPage"}},{path:"users",component:Hl.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:Zd,data:{animation:"AdminOwnersPage"}},{path:"services",component:hf,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:_e,children:[{path:"",component:xe,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:be,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:Le,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Vl,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:_h,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:sh,children:[{path:"",component:uh.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:(hp=function(){function t(e,n,r,i){f(this,t),this.route=e,this.usersService=n,this.membersService=r,this.groupService=i,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.initLoading=!0,this.route.parent.params.subscribe(function(e){t.userId=e.userId,t.usersService.getVosWhereUserIsMember(t.userId).subscribe(function(e){t.vos=e,t.initLoading=!1},function(){return t.initLoading=!1})})}},{key:"loadMember",value:function(t){var e=this;this.loading=!0,this.selectedVo=t,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(function(t){e.member=t,e.groupService.getMemberRichGroupsWithAttributesByNames(e.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(function(t){e.groups=t,e.loading=!1},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),t}(),hp.\u0275fac=function(t){return new(t||hp)(m.Y36(g.gz),m.Y36(N.Fv),m.Y36(N.uq),m.Y36(N.ff))},hp.\u0275cmp=m.Xpm({type:hp,selectors:[["app-perun-web-apps-user-accounts"]],decls:7,vars:6,consts:[[1,"page-title"],[4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","voSelected",4,"ngIf"],[1,"w-50",3,"vos","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"displayedColumns","groups",4,"ngIf"],[3,"displayedColumns","groups"],[3,"entityId","entity",4,"ngIf"],[3,"entityId","entity"],[3,"firstEntityId","firstEntity","secondEntity",4,"ngIf"],[3,"firstEntityId","firstEntity","secondEntity"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.YNc(3,Yd,1,0,"mat-spinner",1),m.TgZ(4,"div",2),m.YNc(5,Bd,1,1,"perun-web-apps-vo-search-select",3),m.qZA(),m.YNc(6,lp,13,0,"mat-tab-group",1)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"USER_DETAIL.ACCOUNTS.TITLE")),m.xp6(2),m.Q6J("ngIf",e.initLoading),m.xp6(2),m.Q6J("ngIf",!e.initLoading),m.xp6(1),m.Q6J("ngIf",!e.initLoading))},directives:[d.O5,M.$g,Ud.M,Pd.SP,Pd.uX,Pd.uD,Pd.Vc,g.yS,Fd.b,qd.W,zd.t,jd.Y],pipes:[x.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),hp),data:{animation:"UserAccountsPage"}},{path:"attributes",component:fh.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:ch.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:lh.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Kh,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:Ld,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:vf,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:Ef,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:wh.t,data:{animation:"UserRolesPage"}},{path:"settings",component:hh.L,children:[{path:"",component:dh.x,data:{animation:"UserSettingsOverviewPage"}},{path:"service-identities",component:qh,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:nd,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:Df,children:[{path:"",component:Nf,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:Qf,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:dd,data:{animation:"ServiceDestinationsPage"}}]}],pp=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[g.Bz.forChild(dp)],g.Bz]}),t}(),gp=l(28780),vp=l(22727),mp=l(22280),yp=l(6363),_p=((fp=function t(){f(this,t)}).\u0275fac=function(t){return new(t||fp)},fp.\u0275mod=m.oAB({type:fp}),fp.\u0275inj=m.cJS({imports:[[Va,Ll,d.ez,pp,gp.m,vp.r,bt.ez,mp.d4,yp.UsersModule]]}),fp)},91721:function(t,e,n){"use strict";n.d(e,{Q:function(){return F}});var r=n(31572),i=n(58623),o=n(67033),a=n(4230),s=n(84140),u=n(88426),c=n(82819),l=n(61511),h=n(29236),d=n(43691),g=n(36922),v=n(84534),m=n(57629),y=n(39571),_=n(48160);function w(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"th",16),r.TgZ(1,"mat-checkbox",17),r.NdJ("change",function(t){r.CHM(n);var e=r.oxw();return t?e.masterToggle():null}),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(1),r.Q6J("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function b(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"td",18),r.TgZ(1,"mat-checkbox",19),r.NdJ("change",function(t){var e=r.CHM(n).$implicit,i=r.oxw();return t?i.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),r.qZA(),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.xp6(1),r.Q6J("aria-label",o.checkboxLabel(i))("checked",o.selection.isSelected(i))}}function x(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function E(t,e){if(1&t&&(r.TgZ(0,"td",18),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.id)}}function T(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function A(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.name)}}function S(t,e){1&t&&r._UZ(0,"th",16)}function k(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," check_circle_outline "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function I(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," block "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function C(t,e){if(1&t&&(r.TgZ(0,"td",21),r.YNc(1,k,3,3,"mat-icon",22),r.YNc(2,I,3,3,"mat-icon",22),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Q6J("ngIf",n.enabled),r.xp6(1),r.Q6J("ngIf",!n.enabled)}}function D(t,e){1&t&&(r.TgZ(0,"th",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function N(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.script)}}function Z(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function M(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.description)}}function O(t,e){1&t&&r._UZ(0,"tr",24)}var R=function(t){return["/admin/services",t]};function L(t,e){if(1&t&&r._UZ(0,"tr",25),2&t){var n=e.$implicit,i=r.oxw();r.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),r.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:r.VKq(6,R,n.id))("routerLink",i.disableRouting?null:r.VKq(8,R,n.id))}}function U(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}var F=function(){var t=function(){function t(e,n){f(this,t),this.authResolver=e,this.tableCheckbox=n,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new a.Ov(!0,[]),this.disableRouting=!1,this.page=new r.vpe,this.pageSizeOptions=s.f7}return p(t,[{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.dataSource=new o.by(this.services),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"enabled":return t.enabled?"true":"false";case"script":return t.script;case"description":return t.description;default:return""}}},{key:"exportData",value:function(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.filterPredicate=function(e,n){return(0,s.Sd)(e,n,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,n){return(0,s.pR)(e,n,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.x4),r.Y36(u.UA))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(i.YE,7),r.Gf(s.l9,7)),2&t)&&(r.iGM(n=r.CRH())&&(e.matSort=n.first),r.iGM(n=r.CRH())&&(e.child=n.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[r.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"perun-web-apps-table-wrapper",1),r.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),r.TgZ(2,"table",2),r.ynx(3,3),r.YNc(4,w,2,3,"th",4),r.YNc(5,b,2,2,"td",5),r.BQk(),r.ynx(6,6),r.YNc(7,x,3,3,"th",7),r.YNc(8,E,2,1,"td",5),r.BQk(),r.ynx(9,8),r.YNc(10,T,3,3,"th",7),r.YNc(11,A,2,1,"td",9),r.BQk(),r.ynx(12,10),r.YNc(13,S,1,0,"th",4),r.YNc(14,C,3,2,"td",9),r.BQk(),r.ynx(15,11),r.YNc(16,D,3,3,"th",4),r.YNc(17,N,2,1,"td",9),r.BQk(),r.ynx(18,12),r.YNc(19,Z,3,3,"th",7),r.YNc(20,M,2,1,"td",9),r.BQk(),r.YNc(21,O,1,0,"tr",13),r.YNc(22,L,1,10,"tr",14),r.qZA(),r.qZA(),r.qZA(),r.YNc(23,U,3,3,"app-alert",15),r.YNc(24,P,3,3,"app-alert",15)),2&t&&(r.Q6J("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),r.xp6(1),r.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),r.xp6(1),r.Q6J("dataSource",e.dataSource),r.xp6(19),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),r.xp6(1),r.Q6J("ngIf",void 0===e.services||0===e.services.length))},directives:[c.l,o.BZ,i.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,i.nU,d.Hw,g.gM,o.XQ,o.Gk,v.YH,m.rH,y.w],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t}()},95914:function(t,e,n){"use strict";function r(t,e){return t(e={exports:{}},e.exports),e.exports}n.r(e),n.d(e,{StackParser:function(){return l},graphviz:function(){return m},graphvizSync:function(){return _},parse:function(){return h},wasmFolder:function(){return s}});var i=r(function(t,e){var n,r=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t){var e,r=void 0!==(t=t||{})?t:{},i={};for(e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);var o,a="./this.program",s="";document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=0!==s.indexOf("blob:")?s.substr(0,s.lastIndexOf("/")+1):"",o=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText};var u,c,l=r.print||console.log.bind(console),h=r.printErr||console.warn.bind(console);for(e in i)i.hasOwnProperty(e)&&(r[e]=i[e]);i=null,r.thisProgram&&(a=r.thisProgram),r.wasmBinary&&(u=r.wasmBinary),"object"!=typeof WebAssembly&&h("no native wasm support detected");var f=new WebAssembly.Table({initial:153,maximum:153,element:"anyfunc"}),d=!1;function p(t,e){t||z("Assertion failed: "+e)}var g,v,m,y,_,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(t,e,n){for(var r=e+n,i=e;t[i]&&!(i>=r);)++i;if(i-e>16&&t.subarray&&w)return w.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function x(t,e){return t?b(m,t,e):""}function E(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function T(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function A(t){g=t,r.HEAP8=v=new Int8Array(t),r.HEAP16=new Int16Array(t),r.HEAP32=y=new Int32Array(t),r.HEAPU8=m=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=_=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var S=r.TOTAL_MEMORY||16777216;function k(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(c=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:S/65536}))&&(g=c.buffer),S=g.byteLength,A(g),y[2080]=5251360;var I=[],C=[],D=[],N=[],Z=!1,M=Math.abs,O=Math.ceil,R=Math.floor,L=Math.min,U=0,P=null;function F(t){U++,r.monitorRunDependencies&&r.monitorRunDependencies(U)}function q(t){if(U--,r.monitorRunDependencies&&r.monitorRunDependencies(U),0==U&&P){var e=P;P=null,e()}}function z(t){throw r.onAbort&&r.onAbort(t),l(t+=""),h(t),d=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function j(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var Y,B,J,G="expatlib.wasm";function V(){try{if(u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}catch(h){z(h)}}j(G)||(Y=G,G=r.locateFile?r.locateFile(Y,s):s+Y);var H={1184:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";e.startElement()},1404:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";e.endElement()},1616:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";e.characterData()}};C.push({func:function(){lt()}});var Q={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Q.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return Q.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Q.normalize(t.join("/"))},join2:function(t,e){return Q.normalize(t+"/"+e)}};function W(t){return r.___errno_location&&(y[r.___errno_location()>>2]=t),t}var X={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:tt.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=X.resolve(t).substr(1),e=X.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(l(b(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(b(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(b(t.output,0)),t.output=[])}}},K={ops_table:null,mount:function(t){return K.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);K.ops_table||(K.ops_table={dir:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,lookup:K.node_ops.lookup,mknod:K.node_ops.mknod,rename:K.node_ops.rename,unlink:K.node_ops.unlink,rmdir:K.node_ops.rmdir,readdir:K.node_ops.readdir,symlink:K.node_ops.symlink},stream:{llseek:K.stream_ops.llseek}},file:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:{llseek:K.stream_ops.llseek,read:K.stream_ops.read,write:K.stream_ops.write,allocate:K.stream_ops.allocate,mmap:K.stream_ops.mmap,msync:K.stream_ops.msync}},link:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,readlink:K.node_ops.readlink},stream:{}},chrdev:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=K.ops_table.dir.node,i.stream_ops=K.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=K.ops_table.file.node,i.stream_ops=K.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=K.ops_table.link.node,i.stream_ops=K.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=K.ops_table.chrdev.node,i.stream_ops=K.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new tt.ErrnoError(32);for(var i=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=tt.root,a="/",s=0;s40)throw new tt.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(tt.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%tt.nameTable.length},hashAddNode:function(t){var e=tt.hashName(t.parent.id,t.name);t.name_next=tt.nameTable[e],tt.nameTable[e]=t},hashRemoveNode:function(t){var e=tt.hashName(t.parent.id,t.name);if(tt.nameTable[e]===t)tt.nameTable[e]=t.name_next;else for(var n=tt.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=tt.mayLookup(t);if(n)throw new tt.ErrnoError(n,t);for(var r=tt.hashName(t.id,e),i=tt.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return tt.lookup(t,e)},createNode:function(t,e,n,r){tt.FSNode||(tt.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=tt.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},tt.FSNode.prototype={},Object.defineProperties(tt.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return tt.isDir(this.mode)}},isDevice:{get:function(){return tt.isChrdev(this.mode)}}}));var i=new tt.FSNode(t,e,n,r);return tt.hashAddNode(i),i},destroyNode:function(t){tt.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=tt.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return tt.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return tt.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return tt.lookupNode(t,e),20}catch(n){}return tt.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=tt.lookupNode(t,e)}catch(o){return o.errno}var i=tt.nodePermissions(t,"wx");if(i)return i;if(n){if(!tt.isDir(r.mode))return 54;if(tt.isRoot(r)||tt.getPath(r)===tt.cwd())return 10}else if(tt.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?tt.isLink(t.mode)?32:tt.isDir(t.mode)&&("r"!==tt.flagsToPermissionString(e)||512&e)?31:tt.nodePermissions(t,tt.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||tt.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!tt.streams[n])return n;throw new tt.ErrnoError(33)},getStream:function(t){return tt.streams[t]},createStream:function(t,e,n){tt.FSStream||(tt.FSStream=function(){},tt.FSStream.prototype={},Object.defineProperties(tt.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new tt.FSStream;for(var i in t)r[i]=t[i];t=r;var o=tt.nextfd(e,n);return t.fd=o,tt.streams[o]=t,t},closeStream:function(t){tt.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=tt.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new tt.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){tt.devices[t]={stream_ops:e}},getDevice:function(t){return tt.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),tt.syncFSRequests++,tt.syncFSRequests>1&&h("warning: "+tt.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=tt.getMounts(tt.root.mount),r=0;function i(t){return tt.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&tt.root)throw new tt.ErrnoError(10);if(!i&&!o){var a=tt.lookupPath(n,{follow_mount:!1});if(n=a.path,tt.isMountpoint(r=a.node))throw new tt.ErrnoError(10);if(!tt.isDir(r.mode))throw new tt.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?tt.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=tt.lookupPath(t,{follow_mount:!1});if(!tt.isMountpoint(e.node))throw new tt.ErrnoError(28);var n=e.node,r=n.mounted,i=tt.getMounts(r);Object.keys(tt.nameTable).forEach(function(t){for(var e=tt.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&tt.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=tt.lookupPath(t,{parent:!0}).node,i=Q.basename(t);if(!i||"."===i||".."===i)throw new tt.ErrnoError(28);var o=tt.mayCreate(r,i);if(o)throw new tt.ErrnoError(o);if(!r.node_ops.mknod)throw new tt.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,tt.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,tt.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):at(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,l("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=tt.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,y[n+4>>2]=0,y[n+8>>2]=r.ino,y[n+12>>2]=r.mode,y[n+16>>2]=r.nlink,y[n+20>>2]=r.uid,y[n+24>>2]=r.gid,y[n+28>>2]=r.rdev,y[n+32>>2]=0,J=[r.size>>>0,(B=r.size,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+40>>2]=J[0],y[n+44>>2]=J[1],y[n+48>>2]=4096,y[n+52>>2]=r.blocks,y[n+56>>2]=r.atime.getTime()/1e3|0,y[n+60>>2]=0,y[n+64>>2]=r.mtime.getTime()/1e3|0,y[n+68>>2]=0,y[n+72>>2]=r.ctime.getTime()/1e3|0,y[n+76>>2]=0,J=[r.ino>>>0,(B=r.ino,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+80>>2]=J[0],y[n+84>>2]=J[1],0},doMsync:function(t,e,n,r,i){var o=m.slice(t,t+n);tt.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=Q.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),tt.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return tt.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=tt.readlink(t),i=Math.min(n,T(r)),o=v[e+i];return E(r,m,e,n+1),v[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=tt.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&tt.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=tt.getStream(n);return r&&tt.close(r),tt.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=tt.read(t,v,y[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],y[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return et.varargs+=4,y[et.varargs-4>>2]},getStr:function(){return x(et.get())},getStreamFromFD:function(t){void 0===t&&(t=et.get());var e=tt.getStream(t);if(!e)throw new tt.ErrnoError(8);return e},get64:function(){var t=et.get();return et.get(),t},getZero:function(){et.get()}};function nt(t){try{return c.grow(t-g.byteLength+65535>>16),A(c.buffer),1}catch(e){}}var rt={};function it(){if(!it.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in rt)t[e]=rt[e];var n=[];for(var e in t)n.push(e+"="+t[e]);it.strings=n}return it.strings}function ot(t,e){ot.array||(ot.array=[]);var n,r=ot.array;for(r.length=0;n=m[t++];)100===n||102===n?(r.push(_[(e=e+7&-8)>>3]),e+=8):(r.push(y[(e=e+3&-4)>>2]),e+=4);return r}function at(t,e,n){var r=n>0?n:T(t)+1,i=new Array(r),o=E(t,i,0,i.length);return e&&(i.length=o),i}tt.staticInit();var st={h:function(t,e){et.varargs=e;try{return 42}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),-n.errno}},e:function(){z()},a:function(t,e,n){var r=ot(e,n);return H[t].apply(null,r)},c:function(t,e,n){m.set(m.subarray(e,e+n),t)},d:function(t){var e=m.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),nt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},f:function(t,e){var n=it(),r=0;return n.forEach(function(n,i){var o=e+r;y[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);v[e>>0]=0}(n,o),r+=n.length+1}),0},g:function(t,e){var n=it();y[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),y[e>>2]=r,0},j:function(t){try{var e=et.getStreamFromFD(t);return tt.close(e),0}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||z(n),n.errno}},i:function(t,e,n,r,i){try{var o=et.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(tt.llseek(o,a,r),J=[o.position>>>0,(B=o.position,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[i>>2]=J[0],y[i+4>>2]=J[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||z(s),s.errno}},b:function(t,e,n,r){try{var i=et.getStreamFromFD(t),o=et.doWritev(i,e,n);return y[r>>2]=o,0}catch(a){return void 0!==tt&&a instanceof tt.ErrnoError||z(a),a.errno}},k:function(t){var e=Date.now();return y[t>>2]=e/1e3|0,y[t+4>>2]=e%1e3*1e3|0,0},memory:c,table:f},ut=function(){var t={a:st};function e(t,e){r.asm=t.exports,q()}function n(t){e(t.instance)}function i(e){return(u||"function"!=typeof fetch?new Promise(function(t,e){t(V())}):fetch(G,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+G+"'";return t.arrayBuffer()}).catch(function(){return V()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){h("failed to asynchronously prepare wasm: "+t),z(t)})}if(F(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return h("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(u||"function"!=typeof WebAssembly.instantiateStreaming||j(G)||"function"!=typeof fetch)return i(n);fetch(G,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){h("wasm streaming compile failed: "+t),h("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=ut;var ct,lt=r.___wasm_call_ctors=function(){return(lt=r.___wasm_call_ctors=r.asm.l).apply(null,arguments)},ht=r._emscripten_bind_CExpat_CExpat_0=function(){return(ht=r._emscripten_bind_CExpat_CExpat_0=r.asm.m).apply(null,arguments)},ft=r._emscripten_bind_CExpat_create_0=function(){return(ft=r._emscripten_bind_CExpat_create_0=r.asm.n).apply(null,arguments)},dt=r._emscripten_bind_CExpat_destroy_0=function(){return(dt=r._emscripten_bind_CExpat_destroy_0=r.asm.o).apply(null,arguments)},pt=r._emscripten_bind_CExpat_parse_1=function(){return(pt=r._emscripten_bind_CExpat_parse_1=r.asm.p).apply(null,arguments)},gt=r._emscripten_bind_CExpat_tag_0=function(){return(gt=r._emscripten_bind_CExpat_tag_0=r.asm.q).apply(null,arguments)},vt=r._emscripten_bind_CExpat_attrs_0=function(){return(vt=r._emscripten_bind_CExpat_attrs_0=r.asm.r).apply(null,arguments)},mt=r._emscripten_bind_CExpat_content_0=function(){return(mt=r._emscripten_bind_CExpat_content_0=r.asm.s).apply(null,arguments)},yt=r._emscripten_bind_CExpat_startElement_0=function(){return(yt=r._emscripten_bind_CExpat_startElement_0=r.asm.t).apply(null,arguments)},_t=r._emscripten_bind_CExpat_endElement_0=function(){return(_t=r._emscripten_bind_CExpat_endElement_0=r.asm.u).apply(null,arguments)},wt=r._emscripten_bind_CExpat_characterData_0=function(){return(wt=r._emscripten_bind_CExpat_characterData_0=r.asm.v).apply(null,arguments)},bt=r._emscripten_bind_CExpat___destroy___0=function(){return(bt=r._emscripten_bind_CExpat___destroy___0=r.asm.w).apply(null,arguments)},xt=r._emscripten_bind_CExpatJS_CExpatJS_0=function(){return(xt=r._emscripten_bind_CExpatJS_CExpatJS_0=r.asm.x).apply(null,arguments)},Et=r._emscripten_bind_CExpatJS_startElement_0=function(){return(Et=r._emscripten_bind_CExpatJS_startElement_0=r.asm.y).apply(null,arguments)},Tt=r._emscripten_bind_CExpatJS_endElement_0=function(){return(Tt=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},At=r._emscripten_bind_CExpatJS_characterData_0=function(){return(At=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},St=r._emscripten_bind_CExpatJS___destroy___0=function(){return(St=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},kt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(kt=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},It=r._malloc=function(){return(It=r._malloc=r.asm.D).apply(null,arguments)};function Ct(t){function e(){ct||(ct=!0,d||(Z=!0,r.noFSInit||tt.init.initialized||tt.init(),$.init(),k(C),tt.ignorePermissions=!1,k(D),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),N.unshift(t);var t;k(N)}()))}U>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),I.unshift(t);var t;k(I)}(),U>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r._free=function(){return(r._free=r.asm.E).apply(null,arguments)},r.___errno_location=function(){return(r.___errno_location=r.asm.F).apply(null,arguments)},r.stackAlloc=function(){return(r.stackAlloc=r.asm.G).apply(null,arguments)},r.dynCall_vi=function(){return(r.dynCall_vi=r.asm.H).apply(null,arguments)},r.asm=ut,r.then=function(t){if(ct)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},P=function t(){ct||Ct(),ct||(P=t)},r.run=Ct,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Dt(){}function Nt(t){return(t||Dt).__cache__}function Zt(t,e){var n=Nt(e),r=n[t];return r||((r=Object.create((e||Dt).prototype)).ptr=t,n[t]=r)}Ct(),(Dt.prototype=Object.create(Dt.prototype)).constructor=Dt,Dt.prototype.__class__=Dt,Dt.__cache__={},r.WrapperObject=Dt,r.getCache=Nt,r.wrapPointer=Zt,r.castObject=function(t,e){return Zt(t.ptr,e)},r.NULL=Zt(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Nt(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var Mt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Mt.needed){for(var t=0;t=Mt.size?(p(i>0),Mt.needed+=i,n=r._malloc(i),Mt.temps.push(n)):(n=Mt.buffer+Mt.pos,Mt.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i=r);)++i;if(i-e>16&&t.subarray&&A)return A.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function k(t,e){return t?S(b,t,e):""}function I(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function C(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function D(t){_=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=b=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=T=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var N=r.TOTAL_MEMORY||16777216;function Z(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(d=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:N/65536}))&&(_=d.buffer),N=_.byteLength,D(_),E[54772]=5462128;var M=[],O=[],R=[],L=[],U=!1,P=Math.abs,F=Math.ceil,q=Math.floor,z=Math.min,j=0,Y=null;function B(t){j++,r.monitorRunDependencies&&r.monitorRunDependencies(j)}function J(t){if(j--,r.monitorRunDependencies&&r.monitorRunDependencies(j),0==j&&Y){var e=Y;Y=null,e()}}function G(t){throw r.onAbort&&r.onAbort(t),c(t+=""),l(t),m=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function V(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var H,Q,W,X="graphvizlib.wasm";function $(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){G(l)}}V(X)||(H=X,X=r.locateFile?r.locateFile(H,u):u+H);var K={1088:function(t,e){var n=k(t),r=k(e);at.createPath("/",nt.dirname(n)),at.writeFile(nt.join("/",n),r)}};function tt(){G()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}O.push({func:function(){Et()}});var nt={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=nt.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return nt.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return nt.normalize(t.join("/"))},join2:function(t,e){return nt.normalize(t+"/"+e)}},rt={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:at.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=rt.resolve(t).substr(1),e=rt.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(c(S(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(S(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(S(t.output,0)),t.output=[])}}},ot={ops_table:null,mount:function(t){return ot.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(at.isBlkdev(n)||at.isFIFO(n))throw new at.ErrnoError(63);ot.ops_table||(ot.ops_table={dir:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,lookup:ot.node_ops.lookup,mknod:ot.node_ops.mknod,rename:ot.node_ops.rename,unlink:ot.node_ops.unlink,rmdir:ot.node_ops.rmdir,readdir:ot.node_ops.readdir,symlink:ot.node_ops.symlink},stream:{llseek:ot.stream_ops.llseek}},file:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:{llseek:ot.stream_ops.llseek,read:ot.stream_ops.read,write:ot.stream_ops.write,allocate:ot.stream_ops.allocate,mmap:ot.stream_ops.mmap,msync:ot.stream_ops.msync}},link:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,readlink:ot.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:at.chrdev_stream_ops}});var i=at.createNode(t,e,n,r);return at.isDir(i.mode)?(i.node_ops=ot.ops_table.dir.node,i.stream_ops=ot.ops_table.dir.stream,i.contents={}):at.isFile(i.mode)?(i.node_ops=ot.ops_table.file.node,i.stream_ops=ot.ops_table.file.stream,i.usedBytes=0,i.contents=null):at.isLink(i.mode)?(i.node_ops=ot.ops_table.link.node,i.stream_ops=ot.ops_table.link.stream):at.isChrdev(i.mode)&&(i.node_ops=ot.ops_table.chrdev.node,i.stream_ops=ot.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new at.ErrnoError(32);for(var i=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=at.root,a="/",s=0;s40)throw new at.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(at.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%at.nameTable.length},hashAddNode:function(t){var e=at.hashName(t.parent.id,t.name);t.name_next=at.nameTable[e],at.nameTable[e]=t},hashRemoveNode:function(t){var e=at.hashName(t.parent.id,t.name);if(at.nameTable[e]===t)at.nameTable[e]=t.name_next;else for(var n=at.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=at.mayLookup(t);if(n)throw new at.ErrnoError(n,t);for(var r=at.hashName(t.id,e),i=at.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return at.lookup(t,e)},createNode:function(t,e,n,r){at.FSNode||(at.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=at.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},at.FSNode.prototype={},Object.defineProperties(at.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return at.isDir(this.mode)}},isDevice:{get:function(){return at.isChrdev(this.mode)}}}));var i=new at.FSNode(t,e,n,r);return at.hashAddNode(i),i},destroyNode:function(t){at.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=at.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return at.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return at.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return at.lookupNode(t,e),20}catch(n){}return at.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=at.lookupNode(t,e)}catch(o){return o.errno}var i=at.nodePermissions(t,"wx");if(i)return i;if(n){if(!at.isDir(r.mode))return 54;if(at.isRoot(r)||at.getPath(r)===at.cwd())return 10}else if(at.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?at.isLink(t.mode)?32:at.isDir(t.mode)&&("r"!==at.flagsToPermissionString(e)||512&e)?31:at.nodePermissions(t,at.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||at.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!at.streams[n])return n;throw new at.ErrnoError(33)},getStream:function(t){return at.streams[t]},createStream:function(t,e,n){at.FSStream||(at.FSStream=function(){},at.FSStream.prototype={},Object.defineProperties(at.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new at.FSStream;for(var i in t)r[i]=t[i];t=r;var o=at.nextfd(e,n);return t.fd=o,at.streams[o]=t,t},closeStream:function(t){at.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=at.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new at.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){at.devices[t]={stream_ops:e}},getDevice:function(t){return at.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),at.syncFSRequests++,at.syncFSRequests>1&&l("warning: "+at.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=at.getMounts(at.root.mount),r=0;function i(t){return at.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&at.root)throw new at.ErrnoError(10);if(!i&&!o){var a=at.lookupPath(n,{follow_mount:!1});if(n=a.path,at.isMountpoint(r=a.node))throw new at.ErrnoError(10);if(!at.isDir(r.mode))throw new at.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?at.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=at.lookupPath(t,{follow_mount:!1});if(!at.isMountpoint(e.node))throw new at.ErrnoError(28);var n=e.node,r=n.mounted,i=at.getMounts(r);Object.keys(at.nameTable).forEach(function(t){for(var e=at.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&at.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=at.lookupPath(t,{parent:!0}).node,i=nt.basename(t);if(!i||"."===i||".."===i)throw new at.ErrnoError(28);var o=at.mayCreate(r,i);if(o)throw new at.ErrnoError(o);if(!r.node_ops.mknod)throw new at.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,at.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,at.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):_t(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,c("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=at.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,E[n+4>>2]=0,E[n+8>>2]=r.ino,E[n+12>>2]=r.mode,E[n+16>>2]=r.nlink,E[n+20>>2]=r.uid,E[n+24>>2]=r.gid,E[n+28>>2]=r.rdev,E[n+32>>2]=0,W=[r.size>>>0,(Q=r.size,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+40>>2]=W[0],E[n+44>>2]=W[1],E[n+48>>2]=4096,E[n+52>>2]=r.blocks,E[n+56>>2]=r.atime.getTime()/1e3|0,E[n+60>>2]=0,E[n+64>>2]=r.mtime.getTime()/1e3|0,E[n+68>>2]=0,E[n+72>>2]=r.ctime.getTime()/1e3|0,E[n+76>>2]=0,W=[r.ino>>>0,(Q=r.ino,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+80>>2]=W[0],E[n+84>>2]=W[1],0},doMsync:function(t,e,n,r,i){var o=b.slice(t,t+n);at.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=nt.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),at.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return at.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=at.readlink(t),i=Math.min(n,C(r)),o=w[e+i];return I(r,b,e,n+1),w[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=at.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&at.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=at.getStream(n);return r&&at.close(r),at.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=at.read(t,w,E[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],E[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return st.varargs+=4,E[st.varargs-4>>2]},getStr:function(){return k(st.get())},getStreamFromFD:function(t){void 0===t&&(t=st.get());var e=at.getStream(t);if(!e)throw new at.ErrnoError(8);return e},get64:function(){var t=st.get();return st.get(),t},getZero:function(){st.get()}};function ut(t,e,n){e|=0;var r,i=0,o=0,a=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;0!=(3&t);)w[t>>0]=e,t=t+1|0;for(a=e|e<<8|e<<16|e<<24,o=(i=-4&r|0)-64|0;(0|t)<=(0|o);)E[t>>2]=a,E[t+4>>2]=a,E[t+8>>2]=a,E[t+12>>2]=a,E[t+16>>2]=a,E[t+20>>2]=a,E[t+24>>2]=a,E[t+28>>2]=a,E[t+32>>2]=a,E[t+36>>2]=a,E[t+40>>2]=a,E[t+44>>2]=a,E[t+48>>2]=a,E[t+52>>2]=a,E[t+56>>2]=a,E[t+60>>2]=a,t=t+64|0;for(;(0|t)<(0|i);)E[t>>2]=a,t=t+4|0}for(;(0|t)<(0|r);)w[t>>0]=e,t=t+1|0;return r-n|0}var ct=0;function lt(t){try{return d.grow(t-_.byteLength+65535>>16),D(d.buffer),1}catch(e){}}var ht={};function ft(){if(!ft.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in ht)t[e]=ht[e];var n=[];for(var e in t)n.push(e+"="+t[e]);ft.strings=n}return ft.strings}function dt(t){return t%4==0&&(t%100!=0||t%400==0)}function pt(t,e){for(var n=0,r=0;r<=e;n+=t[r++]);return n}var gt=[31,29,31,30,31,30,31,31,30,31,30,31],vt=[31,28,31,30,31,30,31,31,30,31,30,31];function mt(t,e){for(var n=new Date(t.getTime());e>0;){var r=dt(n.getFullYear()),i=n.getMonth(),o=(r?gt:vt)[i];if(!(e>o-n.getDate()))return n.setDate(n.getDate()+e),n;e-=o-n.getDate()+1,n.setDate(1),i<11?n.setMonth(i+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function yt(t,e){yt.array||(yt.array=[]);var n,r=yt.array;for(r.length=0;n=b[t++];)100===n||102===n?(r.push(T[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function _t(t,e,n){var r=n>0?n:C(t)+1,i=new Array(r),o=I(t,i,0,i.length);return e&&(i.length=o),i}tt=function(){return performance.now()},at.staticInit();var wt={M:function(t,e){return function(t,e){var n;if(0===t)n=Date.now();else{if(1!==t&&4!==t)return et(28),-1;n=tt()}return E[e>>2]=n/1e3|0,E[e+4>>2]=n%1e3*1e3*1e3|0,0}(t,e)},k:function(t){return Ct(t)},j:function(t,e,n){throw"uncaught_exception"in Mt?Mt.uncaught_exceptions++:Mt.uncaught_exceptions=1,t},q:function(){},U:function(t,e){return et(63),-1},P:function(t,e){st.varargs=e;try{var n=st.getStr();return at.unlink(n),0}catch(r){return void 0!==at&&r instanceof at.ErrnoError||G(r),-r.errno}},R:function(t,e){st.varargs=e;try{return function(t,e,n,r,i,o){var a;o<<=12;var s=!1;if(0!=(16&r)&&t%16384!=0)return-28;if(0!=(32&r)){if(!(a=Ot(16384,e)))return-48;ut(a,0,e),s=!0}else{var u=at.getStream(i);if(!u)return-8;var c=at.mmap(u,b,t,e,o,n,r);a=c.ptr,s=c.allocated}return st.mappings[a]={malloc:a,len:e,allocated:s,fd:i,flags:r,offset:o},a}(st.get(),st.get(),st.get(),st.get(),st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},S:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doStat(at.stat,n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},T:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();return st.doStat(at.stat,n.path,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},L:function(t,e){st.varargs=e;try{return 42}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},y:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD();switch(st.get()){case 0:return(r=st.get())<0?-28:at.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=st.get();return n.flags|=r,0;case 12:return r=st.get(),x[r+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return et(28),-1;default:return-28}}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},K:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doAccess(n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},z:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get(),i=st.get();return at.open(n,r,i).fd}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},O:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();switch(r){case 21509:case 21505:return n.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var i=st.get();return E[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:return i=st.get(),at.ioctl(n,r,i);case 21523:case 21524:return n.tty?0:-59;default:G("bad ioctl syscall "+r)}}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},Q:function(t,e){st.varargs=e;try{return function(t,e){if(-1===t||0===e)return-28;var n=st.mappings[t];if(!n)return 0;if(e===n.len){var r=at.getStream(n.fd);st.doMsync(t,r,e,n.flags,n.offset),at.munmap(r),st.mappings[t]=null,n.allocated&&Dt(n.malloc)}return 0}(st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},m:function(){},w:function(){G()},C:function(t,e,n){var r=yt(e,n);return K[t].apply(null,r)},d:function(t,e){!function(t,e){throw Zt(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){b.set(b.subarray(e,e+n),t)},F:function(t){var e=b.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),lt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},I:function(t,e){var n=ft(),r=0;return n.forEach(function(n,i){var o=e+r;E[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);w[e>>0]=0}(n,o),r+=n.length+1}),0},J:function(t,e){var n=ft();E[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),E[e>>2]=r,0},l:function(t){!function(t,e){f||(m=!0,r.onExit&&r.onExit(t)),s(t,new Xt(t))}(t)},p:function(t){try{var e=st.getStreamFromFD(t);return at.close(e),0}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),n.errno}},H:function(t,e){try{var n=st.getStreamFromFD(t),r=n.tty?2:at.isDir(n.mode)?3:at.isLink(n.mode)?7:4;return w[e>>0]=r,0}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),i.errno}},N:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doReadv(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},D:function(t,e,n,r,i){try{var o=st.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(at.llseek(o,a,r),W=[o.position>>>0,(Q=o.position,+P(Q)>=1?Q>0?(0|z(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[i>>2]=W[0],E[i+4>>2]=W[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==at&&s instanceof at.ErrnoError||G(s),s.errno}},x:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doWritev(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},a:function(){return 0|p},X:function(t){var e=Date.now();return E[t>>2]=e/1e3|0,E[t+4>>2]=e%1e3*1e3|0,0},Y:function(t){var e=Qt();try{return Vt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},V:function(t,e){var n=Qt();try{return Ht(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},v:function(t){var e=Qt();try{return zt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},f:function(t,e){var n=Qt();try{return jt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},e:function t(e,n,r){var i=Qt();try{return Yt(e,n,r)}catch(t){if(Wt(i),t!==t+0&&"longjmp"!==t)throw t;Zt(1,0)}},g:function(t,e,n,r){var i=Qt();try{return Bt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},n:function(t,e,n,r,i){var o=Qt();try{return Jt(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},W:function(t,e,n,r,i,o,a){var s=Qt();try{return Gt(t,e,n,r,i,o,a)}catch(u){if(Wt(s),u!==u+0&&"longjmp"!==u)throw u;Zt(1,0)}},s:function(t){var e=Qt();try{Rt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},h:function(t,e){var n=Qt();try{Lt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},o:function(t,e,n){var r=Qt();try{Ut(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},u:function(t,e,n,r){var i=Qt();try{Pt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},t:function(t,e,n,r,i){var o=Qt();try{Ft(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},r:function(t,e,n,r,i,o){var a=Qt();try{qt(t,e,n,r,i,o)}catch(s){if(Wt(a),s!==s+0&&"longjmp"!==s)throw s;Zt(1,0)}},memory:d,i:function t(e,n,r,i){n|=0,r|=0,i|=0;var o=0;for(E[(e|=0)>>2]=ct=ct+1|0;(0|o)<(0|i);){if(0==(0|E[r+(o<<3)>>2]))return E[r+(o<<3)>>2]=ct,E[r+(4+(o<<3))>>2]=n,E[r+(8+(o<<3))>>2]=0,g(0|i),0|r;o=o+1|0}return r=0|t(0|e,0|n,0|(r=0|Nt(0|r,8*(1+(i=2*i|0)|0)|0)),0|i),g(0|i),0|r},b:function(t){g(0|t)},G:function(t,e,n,r){return function(t,e,n,r){var i=E[r+40>>2],o={tm_sec:E[r>>2],tm_min:E[r+4>>2],tm_hour:E[r+8>>2],tm_mday:E[r+12>>2],tm_mon:E[r+16>>2],tm_year:E[r+20>>2],tm_wday:E[r+24>>2],tm_yday:E[r+28>>2],tm_isdst:E[r+32>>2],tm_gmtoff:E[r+36>>2],tm_zone:i?k(i):""},a=k(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function h(t,e,n){for(var r="number"==typeof t?t.toString():t||"";r.length0?1:0}var r;return 0===(r=n(t.getFullYear()-e.getFullYear()))&&0===(r=n(t.getMonth()-e.getMonth()))&&(r=n(t.getDate()-e.getDate())),r}function p(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function g(t){var e=mt(new Date(t.tm_year+1900,0,1),t.tm_yday),n=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),i=p(n),o=p(r);return d(i,e)<=0?d(o,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var v={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return l[t.tm_mon].substring(0,3)},"%B":function(t){return l[t.tm_mon]},"%C":function(t){return f((t.tm_year+1900)/100|0,2)},"%d":function(t){return f(t.tm_mday,2)},"%e":function(t){return h(t.tm_mday,2," ")},"%g":function(t){return g(t).toString().substring(2)},"%G":function(t){return g(t)},"%H":function(t){return f(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),f(e,2)},"%j":function(t){return f(t.tm_mday+pt(dt(t.tm_year+1900)?gt:vt,t.tm_mon-1),3)},"%m":function(t){return f(t.tm_mon+1,2)},"%M":function(t){return f(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return f(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=new Date(t.tm_year+1900,0,1),n=0===e.getDay()?e:mt(e,7-e.getDay()),r=new Date(t.tm_year+1900,t.tm_mon,t.tm_mday);if(d(n,r)<0){var i=pt(dt(r.getFullYear())?gt:vt,r.getMonth()-1)-31,o=31-n.getDate()+i+r.getDate();return f(Math.ceil(o/7),2)}return 0===d(n,e)?"01":"00"},"%V":function(t){var e,n=new Date(t.tm_year+1900,0,4),r=new Date(t.tm_year+1901,0,4),i=p(n),o=p(r),a=mt(new Date(t.tm_year+1900,0,1),t.tm_yday);return d(a,i)<0?"53":d(o,a)<=0?"01":(e=i.getFullYear()=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(n?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in v)a.indexOf(u)>=0&&(a=a.replace(new RegExp(u,"g"),v[u](o)));var m=_t(a,!1);return m.length>e?0:(function(t,e){w.set(t,e)}(m,t),m.length-1)}(t,e,n,r)},table:v,c:function(t,e,n){t|=0,e|=0,n|=0;for(var r=0,i=0;(0|r)<(0|n)&&0!=(0|(i=0|E[e+(r<<3)>>2]));){if((0|i)==(0|t))return 0|E[e+(4+(r<<3))>>2];r=r+1|0}return 0},A:function(t){var e=Date.now()/1e3|0;return t&&(E[t>>2]=e),e},B:function(t){return 0!==t&&ut(t,0,16),0}},bt=function(){var t={a:wt};function e(t,e){r.asm=t.exports,J()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise(function(t,e){t($())}):fetch(X,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+X+"'";return t.arrayBuffer()}).catch(function(){return $()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){l("failed to asynchronously prepare wasm: "+t),G(t)})}if(B(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return l("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(h||"function"!=typeof WebAssembly.instantiateStreaming||V(X)||"function"!=typeof fetch)return i(n);fetch(X,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){l("wasm streaming compile failed: "+t),l("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=bt;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},Tt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(Tt=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},At=r._emscripten_bind_Main_layout_3=function(){return(At=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},St=r._emscripten_bind_Main_lastError_0=function(){return(St=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},kt=r._emscripten_bind_Main_createFile_2=function(){return(kt=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},It=r._emscripten_bind_Main___destroy___0=function(){return(It=r._emscripten_bind_Main___destroy___0=r.asm.ca).apply(null,arguments)},Ct=r._malloc=function(){return(Ct=r._malloc=r.asm.da).apply(null,arguments)},Dt=r._free=function(){return(Dt=r._free=r.asm.ea).apply(null,arguments)},Nt=r._realloc=function(){return(Nt=r._realloc=r.asm.fa).apply(null,arguments)},Zt=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Zt=r._setThrew=r.asm.ha).apply(null,arguments)}),Mt=r.__ZSt18uncaught_exceptionv=function(){return(Mt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},Ot=r._memalign=function(){return(Ot=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Lt=r.dynCall_vi=function(){return(Lt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Ut=r.dynCall_vii=function(){return(Ut=r.dynCall_vii=r.asm.ma).apply(null,arguments)},Pt=r.dynCall_viii=function(){return(Pt=r.dynCall_viii=r.asm.na).apply(null,arguments)},Ft=r.dynCall_viiii=function(){return(Ft=r.dynCall_viiii=r.asm.oa).apply(null,arguments)},qt=r.dynCall_viiiii=function(){return(qt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},zt=r.dynCall_i=function(){return(zt=r.dynCall_i=r.asm.qa).apply(null,arguments)},jt=r.dynCall_ii=function(){return(jt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Yt=r.dynCall_iii=function(){return(Yt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Bt=r.dynCall_iiii=function(){return(Bt=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Jt=r.dynCall_iiiii=function(){return(Jt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Gt=r.dynCall_iiiiiii=function(){return(Gt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Vt=r.dynCall_d=function(){return(Vt=r.dynCall_d=r.asm.wa).apply(null,arguments)},Ht=r.dynCall_di=function(){return(Ht=r.dynCall_di=r.asm.xa).apply(null,arguments)},Qt=r.stackSave=function(){return(Qt=r.stackSave=r.asm.ya).apply(null,arguments)},Wt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Wt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function Xt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function $t(t){function e(){xt||(xt=!0,m||(U=!0,r.noFSInit||at.init.initialized||at.init(),it.init(),Z(O),at.ignorePermissions=!1,Z(R),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),L.unshift(t);var t;Z(L)}()))}j>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),M.unshift(t);var t;Z(M)}(),j>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r.asm=bt,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},Y=function t(){xt||$t(),xt||(Y=t)},r.run=$t,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Kt(){}function te(t){return(t||Kt).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||Kt).prototype)).ptr=t,n[t]=r)}f=!0,$t(),(Kt.prototype=Object.create(Kt.prototype)).constructor=Kt,Kt.prototype.__class__=Kt,Kt.__cache__={},r.WrapperObject=Kt,r.getCache=te,r.wrapPointer=ee,r.castObject=function(t,e){return ee(t.ptr,e)},r.NULL=ee(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete te(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var ne={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ne.needed){for(var t=0;t=ne.size?(y(i>0),ne.needed+=i,n=r._malloc(i),ne.temps.push(n)):(n=ne.buffer+ne.pos,ne.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i\n\n'}}function v(t,e){var n,r=p({images:[],files:[]},e);(function(){for(var t=0,e=0,n=arguments.length;e>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=h.exec(t))?new A(e[1],e[2],e[3],1):(e=f.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?C(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?C(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?b(m[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function b(t){return new A(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function T(t,e,n,r){return 1===arguments.length?E(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#"+I(this.r)+I(this.g)+I(this.b)}function k(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function I(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function C(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Z(t,e,n,r)}function D(t){if(t instanceof Z)return new Z(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new Z;if(t instanceof Z)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(s=e===a?(n-r)/u+6*(n0&&c<1?0:s,new Z(s,u,c,t.opacity)}function N(t,e,n,r){return 1===arguments.length?D(t):new Z(t,e,n,null==r?1:r)}function Z(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function M(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return D(this).formatHsl()},formatRgb:_,toString:_}),(0,r.Z)(A,T,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:k,toString:k})),(0,r.Z)(Z,N,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new Z(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new Z(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(M(t>=240?t-240:t+120,i,r),M(t,i,r),M(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},80052:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},64641:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function a(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{Z:function(){return r}})},93116:function(t,e,n){"use strict";n.d(e,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},25047:function(t,e,n){"use strict";n.r(e),n.d(e,{formatDefaultLocale:function(){return r.ZP},format:function(){return r.WU},formatPrefix:function(){return r.jH},formatLocale:function(){return i.Z},formatSpecifier:function(){return o.Z},FormatSpecifier:function(){return o.v},precisionFixed:function(){return a.Z},precisionPrefix:function(){return s.Z},precisionRound:function(){return u.Z}});var r=n(3712),i=n(70592),o=n(93116),a=n(22233),s=n(65636),u=n(3218)},70592:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r,i=n(98477),o=n(93116),a=n(25169);function s(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var u={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var i=n[0],o=n[1],s=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return s===u?i:s>u?i+new Array(s-u+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+(0,a.Z)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function f(t){var e,n,a=void 0===t.grouping||void 0===t.thousands?c:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",f=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(l.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",v=void 0===t.minus?"-":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,o.Z)(t)).fill,n=t.align,i=t.sign,c=t.symbol,l=t.zero,y=t.width,_=t.comma,w=t.precision,b=t.trim,x=t.type;"n"===x?(_=!0,x="g"):u[x]||(void 0===w&&(w=12),b=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===c?s:"#"===c&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T="$"===c?f:/[%p]/.test(x)?g:"",A=u[x],S=/[defgprs%]/.test(x);function k(t){var o,s,u,c=E,f=T;if("c"===x)f=A(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:A(Math.abs(t),w),b&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),g&&0==+t&&"+"!==i&&(g=!1),c=(g?"("===i?i:v:"-"===i||"("===i?"":i)+c,f=("s"===x?h[8+r/3]:"")+f+(g&&"("===i?")":""),S)for(o=-1,s=t.length;++o(u=t.charCodeAt(o))||u>57){f=(46===u?d+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}_&&!l&&(t=a(t,1/0));var k=c.length+t.length+f.length,I=k>1)+c+t+f+I.slice(k);break;default:t=I+c+t+f}return p(t)}return w=void 0===w?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),k.toString=function(){return t+""},k}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,o.Z)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(e)/3))),a=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(a*t)+s}}}}},22233:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},65636:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3)))-(0,r.Z)(Math.abs(t)))}},3218:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.Z)(e)-(0,r.Z)(t))+1}},73180:function(t,e,n){!function(t,e,n,r,i,o,a,s,u,c){"use strict";function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0,r=e.select(this),i=t.attributes,o=r.node().attributes;if(o)for(var a=0;a0?i.children[0].text:"")}null==t.key&&(o&&("ellipse"!=n&&"polygon"!=n||(n="path")),t.key=n+"-"+e)}function v(t,e){t.id=(e?e.id+".":"")+t.key}function m(t){c[t.id]=t}function y(t,e){o&&t.id in l&&("polygon"!=e.tag&&"ellipse"!=e.tag&&"path"!=e.tag||e.tag==t.tag&&"polygon"!=t.tag||("path"!=e.tag&&(t.alternativeOld=C(e,t)),"path"!=t.tag&&(t.alternativeNew=C(t,e))))}function _(t,e){if(i&&e&&("path"==e.tag||t.alternativeOld&&"path"==t.alternativeOld.tag)){var n=(t.alternativeNew||t).attributes.d;if(t.alternativeOld)var r=g(t.alternativeOld);else r=g(e);(t.alternativeOld||(t.alternativeOld={})).points=function(t,e,n,r){for(var i=t,o=i.cloneNode(),a=i.getTotalLength(),s=(o.setAttribute("d",e),o).getTotalLength(),u=[0],c=0,l=r?n:n/Math.max(a,s);(c+=l)<1;)u.push(c);return u.push(1),u.map(function(t){var e=i.getPointAtLength(t*a),n=o.getPointAtLength(t*s);return[[e.x,e.y],[n.x,n.y]]})}(r,n,a,s)}}function w(t){var e=arguments.length>2?arguments[2]:void 0;p(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),v(t,e);var n=l[t.id];m(t),y(t,n),_(t,n);var r={};t.children.forEach(function(e){var n=e.tag;"ellipse"!=n&&"polygon"!=n||(n="path"),null==r[n]&&(r[n]=0),w(e,r[n]++,t)})}function b(t){(function(t){if(u&&t.parent&&"node"==t.parent.attributes.class&&"title"==t.tag){if(t.children.length>0)var e=t.children[0].text;else e="";h[e]=t.parent}})(t),function(t){var e=t.tag;if(u&&!l[t.id]&&t.parent&&k(t)&&("path"==e||"polygon"==e)){if("polygon"==e){var n=t.parent.children.find(function(t){return"path"==t.tag});n&&(t.totalLength=n.totalLength)}var r=function(t){return function(t){return"edge"==t.parent.attributes.class?t.parent:t.parent.parent.parent}(t).children.find(function(t){return"title"==t.tag})}(t).children[0],i=r.text.split("->");2!=i.length&&(i=r.text.split("--"));var o=i[0],a=h[o],s=f[o];if(s){if((p=a.children.findIndex(function(t,e){return"g"==t.tag}))>=0){var c=a.children[p].children.findIndex(function(t,e){return"a"==t.tag});a=a.children[p].children[c]}(p=s.children.findIndex(function(t,e){return"g"==t.tag}))>=0&&(c=s.children[p].children.findIndex(function(t,e){return"a"==t.tag}),s=s.children[p].children[c]);for(var d=a.children,p=0;p0&&this._queue.shift().call(this)}function M(t,e,n,r){var i=[t*n-(e=-e)*(r=-r),t*r+e*n];return[t=i[0],e=-(e=i[1])]}function O(t,e,n,r,i,o,a){var s=d(P.call(this,o));t.data([s]),_.call(t.node(),s),R(t,e,n,r,i,o,a)}function R(t,e,n,r,i,o,a){var s=a.shortening||0,u=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],l=r-e,h=i-n,f=Math.sqrt(l*l+h*h);if(0==f)var d=1,p=0;else d=l/f,p=h/f;if(r=e+(f-s-10-.1)*d,i=n+(f-s-10-.1)*p,o.URL||o.tooltip)var g=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),v=g.selectWithoutDataPropagation("path"),m=g.selectWithoutDataPropagation("polygon");else v=t.selectWithoutDataPropagation("path"),m=t.selectWithoutDataPropagation("polygon");var y=c.path();y.moveTo(e,n),y.lineTo(r,i),v.attr("d",y),r=e+(f-s-10)*d,i=n+(f-s-10)*p;for(var _=0;_ b ["+n+"]}","svg","dot"),s=(new window.DOMParser).parseFromString(a,"image/svg+xml");return e.select(document.createDocumentFragment()).append(function(){return s.documentElement}).select(".edge")}function F(t,e,n,r,i,o){var a=d(Y.call(this,r,i));return t.data([a]),_.call(t.node(),a),q(t,e,n,i),this}function q(t,n,r,i,o){if(i.URL||i.tooltip)var a=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else a=t;var s=a.selectAll("ellipse,polygon,path,polyline"),u=t.selectWithoutDataPropagation("text");if(0!=s.size()){var c=s.node().getBBox();c.cx=c.x+c.width/2,c.cy=c.y+c.height/2}else 0!=u.size()&&(c={x:+u.attr("x"),y:+u.attr("y"),width:0,height:0,cx:+u.attr("x"),cy:+u.attr("y")});return s.each(function(t,i){var o=e.select(this);if(o.attr("cx"))o.attr("cx",b(n)).attr("cy",b(r));else if(o.attr("points")){var a=o.attr("points").trim();o.attr("points",function(t,e,n){var r,i=(r=t.split(" ")).map(function(t){return t.split(",")});return i=r.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}),(r=i.map(function(t){return t.join(",")})).join(" ")}(a,n-c.cx,r-c.cy))}else{var s=o.attr("d");o.attr("d",function(t,e,n){(i=t.split(/[A-Z ]/)).shift();var r=t.split(/[^[A-Z ]+/),i=(i.map(function(t){return t.split(",")}),i.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}).map(function(t){return t.join(",")}));return r.reduce(function(t,e,n){return t.concat(e,i[n])},[]).join("")}(s,n-c.cx,r-c.cy))}}),0!=u.size()&&u.attr("x",b(+u.attr("x")+n-c.cx)).attr("y",b(+u.attr("y")+r-c.cy)),this}function z(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function j(){return this._drawnNode?this._drawnNode.g:e.select(null)}function Y(t,n){for(var r="",i=0,o=Object.keys(n);i2")(a)+" ",i+=s+" ".repeat(o-s.length),i+=u.format(" >5")(t-n)+" ","initEnd"!=s&&(i+=u.format(" >5")(t-r.start[e])),"dataProcessEnd"==s&&(i+=" prepare "+u.format(" >5")(t-r.layoutEnd[e])),"renderEnd"==s&&c._transition&&(i+=" transition start margin "+u.format(" >5")(c._transition.delay()-(t-r.renderStart[e])),l=c._transition.delay(),f=c._transition.duration()),"transitionStart"==s){var h=t-r.renderStart[e];i+=" transition delay "+u.format(" >5")(t-r.renderStart[e]),i+=" expected "+u.format(" >5")(l),i+=" diff "+u.format(" >5")(h-l)}if("transitionEnd"==s){var d=t-r.transitionStart[e];i+=" transition duration "+u.format(" >5")(d),i+=" expected "+u.format(" >5")(f),i+=" diff "+u.format(" >5")(d-f)}console.log(i),n=t}:null)},s=0;s5&&void 0!==arguments[5]?arguments[5]:{};if((o=Object.assign({},o)).style&&o.style.includes("invis"))var s=e.select(null);else{var u=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),c=d(P.call(this,o));s=u.append("g").data([c]),_.call(s.node(),c),O.call(this,s,t,n,r,i,o,a)}return this._drawnEdge={g:s,x1:t,y1:n,x2:r,y2:i,attributes:o},this},updateDrawnEdge:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var a=this._drawnEdge.g;return i=Object.assign(this._drawnEdge.attributes,i),this._drawnEdge.x1=t,this._drawnEdge.y1=e,this._drawnEdge.x2=n,this._drawnEdge.y2=r,!a.empty()||i.style&&i.style.includes("invis")||(a=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=a),a.empty()||O.call(this,a,t,e,n,r,i,o),this},moveDrawnEdgeEndPoint:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var r=this._drawnEdge.g,i=this._drawnEdge.x1,o=this._drawnEdge.y1,a=this._drawnEdge.attributes;return this._drawnEdge.x2=t,this._drawnEdge.y2=e,R(r,i,o,t,e,a,n),this},insertDrawnEdge:function(t){if(!this._drawnEdge)throw Error("No edge has been drawn");var e=this._drawnEdge.g;if(e.empty())return this;e.selectWithoutDataPropagation("title").text(t);var n=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),r=n.datum(),i=this._extractData(e,r.children.length,n.datum());return r.children.push(i),m(e,i),this._drawnEdge=null,this},removeDrawnEdge:L},"removeDrawnEdge",L),l(V,"drawnEdgeSelection",U),l(V,"drawnEdgeSelection",U),l(V,"drawNode",function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((i=Object.assign({},i)).style&&i.style.includes("invis"))var a=e.select(null);else{var s=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),u=d(Y.call(this,r,i));a=s.append("g").data([u]),_.call(a.node(),u),F.call(this,a,t,n,r,i,o)}return this._drawnNode={g:a,nodeId:r,x:t,y:n,attributes:i},this}),l(V,"updateDrawnNode",function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var o=this._drawnNode.g;return null==n&&(n=this._drawnNode.nodeId),r=Object.assign(this._drawnNode.attributes,r),this._drawnNode.nodeId=n,this._drawnNode.x=t,this._drawnNode.y=e,!o.empty()||r.style&&r.style.includes("invis")||(o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=o),o.empty()||F.call(this,o,t,e,n,r,i),this}),l(V,"moveDrawnNode",function(t,e){if(!this._drawnNode)throw Error("No node has been drawn");var n=this._drawnNode.g,r=this._drawnNode.attributes;return this._drawnNode.x=t,this._drawnNode.y=e,n.empty()||q(n,t,e,r),this}),l(V,"insertDrawnNode",function(t){if(!this._drawnNode)throw Error("No node has been drawn");null==t&&(t=this._drawnNode.nodeId);var e=this._drawnNode.g;if(e.empty())return this;var n=this._drawnNode.attributes;if(e.selectWithoutDataPropagation("title").text(t),n.URL||n.tooltip)var r=e.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),i=(r.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),r.selectWithoutDataPropagation("text"));else e.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),i=e.selectWithoutDataPropagation("text");i.text(n.label||t);var o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),a=o.datum(),s=this._extractData(e,a.children.length,o.datum());return a.children.push(s),m(e,s),this._drawnNode=null,this}),l(V,"removeDrawnNode",z),l(V,"removeDrawnNode",z),l(V,"drawnNodeSelection",j),l(V,"drawnNodeSelection",j),V),e.selection.prototype.graphviz=function(t){var e=this.node().__graphviz__;return e?(e.options(t),i.timeout((function(){e._dispatch.call("initEnd",this)}).bind(this),0)):e=new H(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Q,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(24967),n(58552),n(82159),n(14788),n(30853),n(59320),n(95914),n(25047),n(16809))},60053:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},M:function(){return a}});var r=n(3031),i=n(61317);function o(t,e){return((0,i.v)(e)?i.Z:a)(t,e)}function a(t,e){var n,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1];return r((n-i/e)*e,i>0?t[i-1]:2*o-a,o,a,i180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?s:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},94065:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},28917:function(t,e,n){"use strict";function r(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}n.d(e,{Z:function(){return r}})},30853:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolate:function(){return r.Z},interpolateArray:function(){return i.Z},interpolateBasis:function(){return o.Z},interpolateBasisClosed:function(){return a.Z},interpolateCubehelix:function(){return nt},interpolateCubehelixLong:function(){return rt},interpolateDate:function(){return s.Z},interpolateDiscrete:function(){return u},interpolateHcl:function(){return j},interpolateHclLong:function(){return Y},interpolateHsl:function(){return b},interpolateHslLong:function(){return x},interpolateHue:function(){return l},interpolateLab:function(){return q},interpolateNumber:function(){return h.Z},interpolateNumberArray:function(){return f.Z},interpolateObject:function(){return d.Z},interpolateRgb:function(){return y.ZP},interpolateRgbBasis:function(){return y.hD},interpolateRgbBasisClosed:function(){return y.YD},interpolateRound:function(){return p.Z},interpolateString:function(){return g.Z},interpolateTransformCss:function(){return v.Y},interpolateTransformSvg:function(){return v.w},interpolateZoom:function(){return m.Z},piecewise:function(){return it},quantize:function(){return ot}});var r=n(3031),i=n(60053),o=n(39588),a=n(17280),s=n(28917);function u(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var c=n(22656);function l(t,e){var n=(0,c.wx)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}var h=n(75306),f=n(61317),d=n(70901),p=n(47071),g=n(51882),v=n(44090),m=n(13764),y=n(38740),_=n(12314);function w(t){return function(e,n){var r=t((e=(0,_.Ym)(e)).h,(n=(0,_.Ym)(n)).h),i=(0,c.ZP)(e.s,n.s),o=(0,c.ZP)(e.l,n.l),a=(0,c.ZP)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var b=w(c.wx),x=w(c.ZP),E=n(80052),T=Math.PI/180,A=180/Math.PI,S=4/29,k=6/29,I=3*k*k;function C(t){if(t instanceof N)return new N(t.l,t.a,t.b,t.opacity);if(t instanceof P)return F(t);t instanceof _.Ss||(t=(0,_.SU)(t));var e,n,r=R(t.r),i=R(t.g),o=R(t.b),a=Z((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=Z((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Z((.0139322*r+.0971045*i+.7141733*o)/.82521)),new N(116*a-16,500*(e-a),200*(a-n),t.opacity)}function D(t,e,n,r){return 1===arguments.length?C(t):new N(t,e,n,null==r?1:r)}function N(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Z(t){return t>.008856451679035631?Math.pow(t,1/3):t/I+S}function M(t){return t>k?t*t*t:I*(t-S)}function O(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function R(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function L(t){if(t instanceof P)return new P(t.h,t.c,t.l,t.opacity);if(t instanceof N||(t=C(t)),0===t.a&&0===t.b)return new P(NaN,0u&&(s=e.slice(u,s),l[c]?l[c]+=s:l[++c]=s),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,h.push({i:c,x:(0,r.Z)(n,a)})),u=o.lastIndex;return u180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,s.Z)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,s.Z)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,s.Z)(t,n)},{i:u-2,x:(0,s.Z)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n1e-6)if(Math.abs(h*u-c*l)>1e-6&&o){var d=r-a,p=i-s,g=u*u+c*c,v=d*d+p*p,m=Math.sqrt(g),y=Math.sqrt(f),_=o*Math.tan((n-Math.acos((g+f-v)/(2*m*y)))/2),w=_/y,b=_/m;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*h)),this._+="A"+o+","+o+",0,0,"+ +(h*d>l*p)+","+(this._x1=t+b*u)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,o,a,s,u){t=+t,e=+e,u=!!u;var c=(o=+o)*Math.cos(a),l=o*Math.sin(a),h=t+c,f=e+l,d=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+h+","+f:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+h+","+f),o&&(p<0&&(p=p%r+r),p>i?this._+="A"+o+","+o+",0,1,"+d+","+(t-c)+","+(e-l)+"A"+o+","+o+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+d+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=e+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},32436:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(26669),i=n(71867);function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.P&&e.documentElement.namespaceURI===i.P?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function s(t){var e=(0,r.Z)(t);return(e.local?a:o)(e)}},24967:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return d.Z},create:function(){return o},creator:function(){return r.Z},customEvent:function(){return E._H},event:function(){return E.B},local:function(){return s},matcher:function(){return c.Z},mouse:function(){return l.Z},namespace:function(){return h.Z},namespaces:function(){return f.Z},select:function(){return i.Z},selectAll:function(){return g},selection:function(){return p.ZP},selector:function(){return v.Z},selectorAll:function(){return m.Z},style:function(){return y.S},touch:function(){return _.Z},touches:function(){return b},window:function(){return x.Z}});var r=n(32436),i=n(41036);function o(t){return(0,i.Z)((0,r.Z)(t).call(document.documentElement))}var a=0;function s(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=s.prototype={constructor:u,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var c=n(54382),l=n(38337),h=n(26669),f=n(71867),d=n(54762),p=n(42710);function g(t){return"string"==typeof t?new p.Y1([document.querySelectorAll(t)],[document.documentElement]):new p.Y1([null==t?[]:t],p.Jz)}var v=n(69309),m=n(85502),y=n(97717),_=n(45161),w=n(72732);function b(t,e){null==e&&(e=(0,w.Z)().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.Z.hasOwnProperty(e)?{space:r.Z[e],local:t}:t}},71867:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},54762:function(t,e,n){"use strict";function r(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}n.d(e,{Z:function(){return r}})},41036:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(42710);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},42710:function(t,e,n){"use strict";n.d(e,{Y1:function(){return Q},ZP:function(){return X},Jz:function(){return H}});var r=n(69309),i=n(85502),o=n(54382);function a(t){return new Array(t.length)}function s(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function u(t,e,n,r,i,o){for(var a,u=0,c=e.length,l=o.length;ue?1:t>=e?0:NaN}s.prototype={constructor:s,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var h=n(26669);function f(t){return function(){this.removeAttribute(t)}}function d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function p(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function v(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function m(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var y=n(97717);function _(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function b(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function x(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new T(t)}function T(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function A(t,e){for(var n=E(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var P=n(32436);function F(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function z(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var Y=n(92711),B=n(11130);function J(t,e,n){var r=(0,B.Z)(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function G(t,e){return function(){return J(this,t,e)}}function V(t,e){return function(){return J(this,t,e.apply(this,arguments))}}var H=[null];function Q(t,e){this._groups=t,this._parents=e}function W(){return new Q([[document.documentElement]],H)}Q.prototype=W.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o=E&&(E=x+1);!(b=_[E])&&++E=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=l);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?_:"function"==typeof e?b:w)(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var r=E(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r1?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):u(this.node(),t)}function u(t,e){return t.style.getPropertyValue(e)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(e)}},69309:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{Z:function(){return i}})},85502:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{Z:function(){return i}})},72732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92711);function i(){for(var t,e=r.B;t=e.sourceEvent;)e=t;return e}},45161:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(72732),i=n(54762);function o(t,e,n){arguments.length<3&&(n=e,e=(0,r.Z)().changedTouches);for(var o,a=0,s=e?e.length:0;a=0&&e._call.call(null,t),e=e._next;--o}function y(){c=(u=h.now())+l,o=a=0;try{m()}finally{o=0,function(){for(var t,e,n=r,o=1/0;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),c=0}}function _(){var t=h.now(),e=t-u;e>1e3&&(l-=e,u=t)}function w(t){o||(a&&(a=clearTimeout(a)),t-c>24?(t<1/0&&(a=setTimeout(y,t-h.now()-l)),s&&(s=clearInterval(s))):(s||(u=h.now(),s=setInterval(_,1e3)),o=1,f(y)))}g.prototype=v.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?d():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},82159:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return it},interrupt:function(){return d},transition:function(){return $}});var r=n(42710),i=n(64641),o=n(65244),a=n(74199),s=(0,i.Z)("start","end","cancel","interrupt"),u=[];function c(t,e,n,r,i,c){var l=t.__transition;if(l){if(n in l)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function s(o){var l,h,f,d;if(1!==n.state)return c();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return(0,a.Z)(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function h(t,e){var n=f(t,e);if(n.state>3)throw new Error("too late; already running");return n}function f(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function d(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var p=n(44090),g=n(26669);function v(t,e){var n,r;return function(){var i=h(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?l:h;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var z=n(69309),j=n(85502),Y=r.ZP.prototype.constructor,B=n(97717);function J(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function V(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&G(t,o,n)),r}return o._value=e,o}function H(t){return function(e){this.textContent=t.call(this,e)}}function Q(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&H(r)),e}return r._value=t,r}var W=0;function X(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $(t){return(0,r.ZP)().transition(t)}function K(){return++W}var tt=r.ZP.prototype;X.prototype=$.prototype={constructor:X,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,z.Z)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new X([[t]],rt,e,+r);return null}},59320:function(t,e,n){"use strict";n.r(e),n.d(e,{zoom:function(){return T},zoomIdentity:function(){return p},zoomTransform:function(){return g}});var r=n(64641),i=n(8634),o=n(13764),a=n(92711),s=n(38337),u=n(41036),c=n(45161),l=n(82159);function h(t){return function(){return t}}function f(t,e,n){this.target=t,this.type=e,this.transform=n}function d(t,e,n){this.k=t,this.x=e,this.y=n}d.prototype={constructor:d,scale:function(t){return 1===t?this:new d(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new d(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var p=new d(1,0,0);function g(t){return t.__zoom||p}function v(){a.B.stopImmediatePropagation()}function m(){a.B.preventDefault(),a.B.stopImmediatePropagation()}function y(){return!a.B.button}function _(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function w(){return this.__zoom||p}function b(){return-a.B.deltaY*(a.B.deltaMode?120:1)/500}function x(){return"ontouchstart"in this}function E(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function T(){var t,e,n=y,g=_,T=E,A=b,S=x,k=[0,1/0],I=[[-1/0,-1/0],[1/0,1/0]],C=250,D=o.Z,N=[],Z=(0,r.Z)("start","zoom","end"),M=0;function O(t){t.property("__zoom",w).on("wheel.zoom",z).on("mousedown.zoom",j).on("dblclick.zoom",Y).filter(S).on("touchstart.zoom",B).on("touchmove.zoom",J).on("touchend.zoom touchcancel.zoom",G).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(k[0],Math.min(k[1],e)))===t.k?t:new d(e,t.x,t.y)}function L(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new d(t.k,r,i)}function U(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,e,n){t.on("start.zoom",function(){F(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){F(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=F(t,r),o=g.apply(t,r),a=n||U(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,c="function"==typeof e?e.apply(t,r):e,l=D(u.invert(a).concat(s/u.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=l(t),n=s/e[2];t=new d(n,a[0]-e[0]*n,a[1]-e[1]*n)}i.zoom(null,t)}})}function F(t,e){for(var n,r=0,i=N.length;rM}t.zoom("mouse",T(L(t.that.__zoom,t.mouse[0]=(0,s.Z)(t.that),t.mouse[1]),t.extent,I))}function d(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.D)(a.B.view,t.moved),m(),t.end()}}function Y(){if(n.apply(this,arguments)){var t=this.__zoom,e=(0,s.Z)(this),r=t.invert(e),i=t.k*(a.B.shiftKey?.5:2),o=T(L(R(t,i),e,r),g.apply(this,arguments),I);m(),C>0?(0,u.Z)(this).transition().duration(C).call(P,o,e):(0,u.Z)(this).call(O.transform,o)}}function B(){if(n.apply(this,arguments)){var e,r,i,o,s=F(this,arguments),h=a.B.changedTouches,f=h.length;for(v(),r=0;r0;--u)if(r=e[u].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(e){return t.outEdges(e.v,e.w)}),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(e,n,s)}),r.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,u(e,n,o)}),t.removeNode(i.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},73363:function(t,e,n){"use strict";var r=n(91096),i=n(19265),o=n(3266),a=n(29438),s=n(45247).normalizeRanks,u=n(22877),c=n(45247).removeEmptyRanks,l=n(8131),h=n(28549),f=n(64061),d=n(41727),p=n(14588),g=n(45247),v=n(49174).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new v({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},y,A(n,m),r.pick(n,_))),r.forEach(t.nodes(),function(n){var i=S(t.node(n));e.setNode(n,r.defaults(A(i,w),b)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var i=S(t.edge(n));e.setEdge(n,r.merge({},E,A(i,x),r.pick(i,T)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){i.run(t)}),e(" nestingGraph.run",function(){l.run(t)}),e(" rank",function(){a(g.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i=t.node(e.w);g.addDummyNode(t,"edge-proxy",{rank:(i.rank-r.rank)/2+r.rank,e:e},"_ep")}})}(t)}),e(" removeEmptyRanks",function(){c(t)}),e(" nestingGraph.cleanup",function(){l.cleanup(t)}),e(" normalizeRanks",function(){s(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.forEach(t.nodes(),function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){o.run(t)}),e(" parentDummyChains",function(){u(t)}),e(" addBorderSegments",function(){h(t)}),e(" order",function(){d(t)}),e(" insertSelfEdges",function(){!function(t){var e=g.buildLayerMatrix(t);r.forEach(e,function(e){var n=0;r.forEach(e,function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){f.adjust(t)}),e(" position",function(){p(t)}),e(" positionSelfEdges",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){o.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){f.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function c(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(t.nodes(),function(e){c(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&c(n)}),e-=s,i-=u,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.forEach(t.edges(),function(n){var o=t.edge(n);r.forEach(o.points,function(t){t.x-=e,t.y-=i}),r.has(o,"x")&&(o.x-=e),r.has(o,"y")&&(o.y-=i)}),a.width=n-e+s,a.height=o-i+u}(t)}),e(" assignNodeIntersects",function(){!function(t){r.forEach(t.edges(),function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(t)}),e(" reversePoints",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){i.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.forEach(t.edges(),function(n){var i=t.edge(n),o=e.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})};var m=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],w=["width","height"],b={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function A(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},91096:function(t,e,n){var r;try{r={cloneDeep:n(38961),constant:n(60583),defaults:n(25177),each:n(97635),filter:n(9673),find:n(13963),flatten:n(38863),forEach:n(26404),forIn:n(21308),has:n(71645),isUndefined:n(96075),last:n(83074),map:n(86169),mapValues:n(7301),max:n(11653),merge:n(81940),min:n(47983),minBy:n(42707),now:n(41396),pick:n(28891),range:n(79289),reduce:n(37442),sortBy:n(36272),uniqueId:n(83798),values:n(95041),zipObject:n(3393)}}catch(i){}r||(r=window._),t.exports=r},8131:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n,a,s,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,function(r){o(t,e,n,a,s,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=l!==d?1:s-u[c]+1;t.setEdge(h,l,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(c)||t.setEdge(e,h,{weight:0,minlen:s+u[c]})}else c!==e&&t.setEdge(e,c,{weight:0,minlen:n})}t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,function(t){n(t,o+1)}),e[i]=o}return r.forEach(t.children(),function(t){n(t,1)}),e}(t),a=r.max(r.values(n))-1,s=2*a+1;t.graph().nestingRoot=e,r.forEach(t.edges(),function(e){t.edge(e).minlen*=s});var u=function(t){return r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.forEach(t.children(),function(r){o(t,e,s,u,a,n,r)}),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},3266:function(t,e,n){"use strict";var r=n(91096),i=n(45247);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,u=e.w,c=t.node(u).rank,l=e.name,h=t.edge(e),f=h.labelRank;if(c!==s+1){for(t.removeEdge(e),o=0,++s;s0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;c+=t.weight*n})),c}t.exports=function(t,e){for(var n=0,r=1;r=2),s=l.buildLayerMatrix(t);var v=o(t,s);v=t.barycenter)&&(o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},5826:function(t,e,n){var r=n(91096),i=n(25412),o=n(82764),a=n(37850);t.exports=function t(e,n,s,u){var c=e.children(n),l=e.node(n),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,function(t){return t!==h&&t!==f}));var p=i(e,c);r.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,s,u);d[n.v]=i,r.has(i,"barycenter")&&(a=i,r.isUndefined((o=n).barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a});var g=o(p,s);!function(t,e){r.forEach(t,function(t){t.vs=r.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(g,d);var v=a(g,u);if(h&&(v.vs=r.flatten([h,v.vs,f],!0),e.predecessors(h).length)){var m=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(f)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+m.order+y.order)/(v.weight+2),v.weight+=2}return v}},37850:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,a=i.partition(t,function(t){return r.has(t,"barycenter")}),s=a.lhs,u=r.sortBy(a.rhs,function(t){return-t.i}),c=[],l=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),f=o(c,u,f),r.forEach(s,function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)});var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},22877:function(t,e,n){var r=n(91096);t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),function i(o){var a=n;r.forEach(t.children(o),i),e[o]={low:a,lim:n++}}),e}(t);r.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],u=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>u||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,c=a[u],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=a[u])!==s&&t.node(c).maxRanks)&&u(n,e,c)})})}return r.reduce(e,function(e,n){var o,a=-1,s=0;return r.forEach(n,function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,e.length)}),n}),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function l(t,e,n,i){var o={},a={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){o[t]=t,a[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var u=i(t);if(u.length)for(var l=((u=r.sortBy(u,function(t){return s[t]})).length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];a[t]===t&&eu.lim&&(c=u,l=!0);var h=r.filter(e.edges(),function(e){return l===y(0,t.node(e.v),c)&&l!==y(0,t.node(e.w),c)});return r.minBy(h,function(t){return o(e,t)})}function m(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),function(t){return!e.node(t).parent}),i=s(t,n);i=i.slice(1),r.forEach(i,function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=g,l.enterEdge=v,l.exchangeEdges=m},21790:function(t,e,n){"use strict";var r=n(91096);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),function(e){return n(e.w)-t.edge(e).minlen}));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},45247:function(t,e,n){"use strict";var r=n(91096),i=n(49174).Graph;function o(t,e,n,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function a(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:o,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,c=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},32862:function(t){t.exports="0.8.5"},54204:function(t,e,n){var r=n(97078);t.exports={Graph:r.Graph,json:n(2063),alg:n(29790),version:r.version}},66451:function(t,e,n){var r=n(77241);t.exports=function(t){var e,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,e.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),function(t){e=[],o(t),e.length&&i.push(e)}),i}},70485:function(t,e,n){var r=n(77241);function i(t,e,n,o,a,s){r.has(o,e)||(o[e]=!0,n||s.push(e),r.each(a(e),function(e){i(t,e,n,o,a,s)}),n&&s.push(e))}t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);i(t,e,"post"===n,s,o,a)}),a}},85818:function(t,e,n){var r=n(26731),i=n(77241);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,o){i[o]=r(t,o,e,n)},{})}},26731:function(t,e,n){var r=n(77241),i=n(9266);t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},u=new i,c=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},8821:function(t,e,n){var r=n(77241),i=n(45759);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},24980:function(t,e,n){var r=n(77241);t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=e[n],i=o[n],a=o[t].distance+r.distance;a0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(n).forEach(c)}return a}},45759:function(t,e,n){var r=n(77241);t.exports=function(t){var e=0,n=[],i={},o=[];function a(s){var u=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))}),u.lowlink===u.index){var c,l=[];do{c=n.pop(),i[c].onStack=!1,l.push(c)}while(s!==c);o.push(l)}}return t.nodes().forEach(function(t){r.has(i,t)||a(t)}),o}},94394:function(t,e,n){var r=n(77241);function i(t){var e={},n={},i=[];if(r.each(t.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],i.push(s))}),r.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},9266:function(t,e,n){var r=n(77241);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,o=i.length;return n[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].prioritya){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function u(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};function o(t){var r=n.parent(t);return void 0===r||e.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,o(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(t,e,n);var h=u(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[l]=h,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][l]=h,this._out[t][l]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},97078:function(t,e,n){t.exports={Graph:n(10179),version:n(57160)}},2063:function(t,e,n){var r=n(77241),i=n(10179);function o(t){return r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}function a(t){return r.map(t.edges(),function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:a(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},77241:function(t,e,n){var r;try{r={clone:n(7063),constant:n(60583),each:n(97635),filter:n(9673),has:n(71645),isArray:n(47712),isEmpty:n(19129),isFunction:n(70458),isUndefined:n(96075),keys:n(48600),map:n(86169),reduce:n(37442),size:n(26809),transform:n(86987),union:n(50875),values:n(95041)}}catch(i){}r||(r=window._),t.exports=r},57160:function(t){t.exports="2.1.8"},22550:function(t,e,n){var r=n(31311)(n(58568),"DataView");t.exports=r},27868:function(t,e,n){var r=n(18944),i=n(18790),o=n(40218),a=n(80072),s=n(3575);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}},5724:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},48486:function(t,e,n){var r=n(43999)();t.exports=r},79941:function(t,e,n){var r=n(48486),i=n(48600);t.exports=function(t,e){return t&&r(t,e,i)}},91338:function(t,e,n){var r=n(21813),i=n(71241);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&ne}},50018:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},29828:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},37551:function(t,e,n){var r=n(72322),i=n(32564),o=n(39920);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},80561:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},31999:function(t,e,n){var r=n(47690),i=n(3902);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},47690:function(t,e,n){var r=n(30964),i=n(49642),o=n(97868),a=n(85234),s=n(32234),u=n(47712),c=n(80354),l=n(51156),h="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,d,p,g){var v=u(t),m=u(e),y=v?"[object Array]":s(t),_=m?"[object Array]":s(e),w=(y="[object Arguments]"==y?h:y)==h,b=(_="[object Arguments]"==_?h:_)==h,x=y==_;if(x&&c(t)){if(!c(e))return!1;v=!0,w=!1}if(x&&!w)return g||(g=new r),v||l(t)?i(t,e,n,d,p,g):o(t,e,y,n,d,p,g);if(!(1&n)){var E=w&&f.call(t,"__wrapped__"),T=b&&f.call(e,"__wrapped__");if(E||T){var A=E?t.value():t,S=T?e.value():e;return g||(g=new r),p(A,S,n,d,g)}}return!!x&&(g||(g=new r),a(t,e,n,d,p,g))}},75080:function(t,e,n){var r=n(32234),i=n(3902);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},16050:function(t,e,n){var r=n(30964),i=n(31999);t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=n[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a=200){var g=e?null:s(t);if(g)return u(g);f=!1,l=a,p=new r}else p=e?[]:d;t:for(;++ce||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},49327:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r-1?s[u?e[c]:c]:void 0}}},15395:function(t,e,n){var r=n(49727),i=n(10139),o=n(56016);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?el))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,v=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p-1&&t%1==0&&t-1}},2154:function(t,e,n){var r=n(67477);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},58289:function(t,e,n){var r=n(27868),i=n(58170),o=n(6647);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},19581:function(t,e,n){var r=n(65810);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},61608:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).get(t)}},8901:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).has(t)}},12399:function(t,e,n){var r=n(65810);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},95622:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},96878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},94667:function(t,e,n){var r=n(74884);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},54263:function(t,e,n){var r=n(31311)(Object,"create");t.exports=r},75427:function(t,e,n){var r=n(11621)(Object.keys,Object);t.exports=r},3601:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},80166:function(t,e,n){t=n.nmd(t);var r=n(52127),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},91059:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},11621:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},90877:function(t,e,n){var r=n(86932),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},31816:function(t,e,n){var r=n(58170);t.exports=function(){this.__data__=new r,this.size=0}},86246:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},95499:function(t){t.exports=function(t){return this.__data__.get(t)}},17114:function(t){t.exports=function(t){return this.__data__.has(t)}},68677:function(t,e,n){var r=n(58170),i=n(6647),o=n(98856);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},39920:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n-1&&t%1==0&&t<=9007199254740991}},49333:function(t,e,n){var r=n(75080),i=n(97633),o=n(80166),a=o&&o.isMap,s=a?i(a):r;t.exports=s},17305:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3902:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},7629:function(t,e,n){var r=n(3219),i=n(45410),o=n(3902),a=Function.prototype.toString,s=Object.prototype.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},8274:function(t,e,n){var r=n(15104),i=n(97633),o=n(80166),a=o&&o.isSet,s=a?i(a):r;t.exports=s},27764:function(t,e,n){var r=n(3219),i=n(47712),o=n(3902);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},30419:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},51156:function(t,e,n){var r=n(94154),i=n(97633),o=n(80166),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},96075:function(t){t.exports=function(t){return void 0===t}},48600:function(t,e,n){var r=n(48421),i=n(97272),o=n(9140);t.exports=function(t){return o(t)?r(t):i(t)}},10752:function(t,e,n){var r=n(48421),i=n(40623),o=n(9140);t.exports=function(t){return o(t)?r(t,!0):i(t)}},83074:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},86169:function(t,e,n){var r=n(20529),i=n(82617),o=n(26091),a=n(47712);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},7301:function(t,e,n){var r=n(61216),i=n(79941),o=n(82617);t.exports=function(t,e){var n={};return e=o(e,3),i(t,function(t,i,o){r(n,i,e(t,i,o))}),n}},11653:function(t,e,n){var r=n(91241),i=n(98109),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},74884:function(t,e,n){var r=n(98856);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},81940:function(t,e,n){var r=n(75705),i=n(57082)(function(t,e,n){r(t,e,n)});t.exports=i},47983:function(t,e,n){var r=n(91241),i=n(69661),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},42707:function(t,e,n){var r=n(91241),i=n(82617),o=n(69661);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},15533:function(t){t.exports=function(){}},41396:function(t,e,n){var r=n(58568);t.exports=function(){return r.Date.now()}},28891:function(t,e,n){var r=n(14964),i=n(9771)(function(t,e){return null==t?{}:r(t,e)});t.exports=i},57675:function(t,e,n){var r=n(80087),i=n(47044),o=n(46149),a=n(71241);t.exports=function(t){return o(t)?r(a(t)):i(t)}},79289:function(t,e,n){var r=n(15395)();t.exports=r},37442:function(t,e,n){var r=n(27971),i=n(43079),o=n(82617),a=n(95482),s=n(47712);t.exports=function(t,e,n){var u=s(t)?r:a,c=arguments.length<3;return u(t,o(e,4),n,c,i)}},26809:function(t,e,n){var r=n(97272),i=n(32234),o=n(9140),a=n(27764),s=n(3941);t.exports=function(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},36272:function(t,e,n){var r=n(9555),i=n(22824),o=n(37165),a=n(10139),s=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=s},20668:function(t){t.exports=function(){return[]}},1950:function(t){t.exports=function(){return!1}},56016:function(t,e,n){var r=n(68135);t.exports=function(t){return t?1/0===(t=r(t))||-1/0===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},82748:function(t,e,n){var r=n(56016);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},68135:function(t,e,n){var r=n(94530),i=n(17305),o=n(30419),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},65208:function(t,e,n){var r=n(79399),i=n(10752);t.exports=function(t){return r(t,i(t))}},89196:function(t,e,n){var r=n(17667);t.exports=function(t){return null==t?"":r(t)}},86987:function(t,e,n){var r=n(41492),i=n(56004),o=n(79941),a=n(82617),s=n(45410),u=n(47712),c=n(80354),l=n(70458),h=n(17305),f=n(51156);t.exports=function(t,e,n){var d=u(t),p=d||c(t)||f(t);if(e=a(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&l(g)?i(s(t)):{}}return(p?r:o)(t,function(t,r,i){return e(n,t,r,i)}),n}},50875:function(t,e,n){var r=n(9555),i=n(37165),o=n(66833),a=n(56633),s=i(function(t){return o(r(t,1,a,!0))});t.exports=s},83798:function(t,e,n){var r=n(89196),i=0;t.exports=function(t){var e=++i;return r(t)+e}},95041:function(t,e,n){var r=n(10744),i=n(48600);t.exports=function(t){return null==t?[]:r(t,i(t))}},3393:function(t,e,n){var r=n(25823),i=n(60170);t.exports=function(t,e){return i(t||[],e||[],r)}},41282:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(69812)),r(n(65098)),r(n(59895)),r(n(13408)),r(n(66082)),r(n(33839)),r(n(51390)),r(n(83807)),r(n(24232)),r(n(22267)),r(n(741)),r(n(21539)),r(n(97002)),r(n(99147)),r(n(70980)),r(n(96684))},69812:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(e){var n=t.call(this)||this,r=e;return r.trigger&&(n.trigger=r.trigger),r.kick&&(n.kick=r.kick),r.drag&&(n.drag=r.drag),r.on&&(n.on=r.on),n.dragstart=n.dragStart=o.Layout.dragStart,n.dragend=n.dragEnd=o.Layout.dragEnd,n}return i(e,t),e.prototype.trigger=function(t){},e.prototype.kick=function(){},e.prototype.drag=function(){},e.prototype.on=function(t,e){return this},e}(o.Layout);e.LayoutAdaptor=a,e.adaptor=function(t){return new a(t)}},96684:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51390),i=n(66082);e.gridify=function(t,e,n,r){return t.cola.start(0,0,0,10,!1),function(t,e,n,r){t.forEach(function(t){t.routerNode={name:t.name,bounds:t.bounds.inflate(-n)}}),e.forEach(function(e){e.routerNode={bounds:e.bounds.inflate(-r),children:(void 0!==e.groups?e.groups.map(function(e){return t.length+e.id}):[]).concat(void 0!==e.leaves?e.leaves.map(function(t){return t.index}):[])}});var o=t.concat(e).map(function(t,e){return t.routerNode.id=e,t.routerNode});return new i.GridRouter(o,{getChildren:function(t){return t.children},getBounds:function(t){return t.bounds}},n-r)}(t.cola.nodes(),t.cola.groups(),n,r).routeEdges(t.powerGraph.powerEdges,e,function(t){return t.source.routerNode.id},function(t){return t.target.routerNode.id})},e.powerGraphGridLayout=function(t,e,n){var i;t.nodes.forEach(function(t,e){return t.index=e}),(new r.Layout).avoidOverlaps(!1).nodes(t.nodes).links(t.links).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){return t.padding=n})});var o=t.nodes.length,a=[],s=t.nodes.slice(0);return s.forEach(function(t,e){return t.index=e}),i.groups.forEach(function(t){var e=t.index=t.id+o;s.push(t),void 0!==t.leaves&&t.leaves.forEach(function(t){return a.push({source:e,target:t.index})}),void 0!==t.groups&&t.groups.forEach(function(t){return a.push({source:e,target:t.id+o})})}),i.powerEdges.forEach(function(t){a.push({source:t.source.index,target:t.target.index})}),(new r.Layout).size(e).nodes(s).links(a).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new r.Layout).convergenceThreshold(.001).size(e).avoidOverlaps(!0).nodes(t.nodes).links(t.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){t.padding=n})}).start(50,0,100,0,!1),powerGraph:i}}},65098:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29738),i=n(62834);e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},29738:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(){var e=t.call(this)||this;e.event=d3.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var n=e;return e.drag=function(){if(!t)var t=d3.behavior.drag().origin(o.Layout.dragOrigin).on("dragstart.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,d3.event),n.resume()}).on("dragend.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;this.call(t)},e}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[e.type](e)},e.prototype.kick=function(){var e=this;d3.timer(function(){return t.prototype.tick.call(e)})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout);e.D3StyleLayoutAdaptor=a,e.d3adaptor=function(){return new a}},62834:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390);e.D3StyleLayoutAdaptor=function(t){function e(e){var n=t.call(this)||this;n.d3Context=e,n.event=e.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var r=n;return n.drag=function(){if(!t)var t=e.drag().subject(o.Layout.dragOrigin).on("start.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,e.event),r.resume()}).on("end.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;arguments[0].call(t)},n}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event.call(e.type,e)},e.prototype.kick=function(){var e=this,n=this.d3Context.timer(function(){return t.prototype.tick.call(e)&&n.stop()})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout)},59895:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.locks={}}return t.prototype.add=function(t,e){this.locks[t]=e},t.prototype.clear=function(){this.locks={}},t.prototype.isEmpty=function(){for(var t in this.locks)return!1;return!0},t.prototype.apply=function(t){for(var e in this.locks)t(Number(e),this.locks[e])},t}();e.Locks=n,e.Descent=function(){function t(t,e,i){void 0===i&&(i=null),this.D=e,this.G=i,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new r,this.project=null,this.x=t,this.k=t.length;var o=this.n=t[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new n,this.minD=Number.MAX_VALUE;for(var a,s=o;s--;)for(a=o;--a>s;){var u=e[s][a];u>0&&u1e-9)break;var d=this.offsetDir();for(r=0;r1&&p>g||!isFinite(g))for(r=0;r1&&(v=1);var m=g*g,y=2*v*(p-g)/(m*p),_=p*p*p,w=2*-v/(m*_);for(isFinite(y)||console.log(y),r=0;r0?A-(I+1)*x:A-(I-1)*x)&&f<=b&&(this.scaleSnapByMaxH?(this.g[r][u]+=s*E*f,this.H[r][u][u]+=s*E):(this.g[r][u]+=E*f,this.H[r][u][u]+=E))}this.locks.isEmpty()||this.locks.apply(function(n,i){for(r=0;r0;)for(var i=e;i-- >0;)n(r,i)},t.prototype.matrixApply=function(e){t.mApply(this.k,this.n,e)},t.prototype.computeNextPosition=function(t,e){var n=this;this.computeDerivatives(t);var r=this.computeStepSize(this.g);if(this.stepAndProject(t,e,this.g,r),this.project){this.matrixApply(function(r,i){return n.e[r][i]=t[r][i]-e[r][i]});var i=this.computeStepSize(this.e);i=Math.max(.2,Math.min(i,1)),this.stepAndProject(t,e,this.e,i)}},t.prototype.run=function(t){for(var e=Number.MAX_VALUE,n=!1;!n&&t-- >0;){var r=this.rungeKutta();n=Math.abs(e/r-1)>16)/this.range},t.prototype.getNextBetween=function(t,e){return t+this.getNext()*(e-t)},t}();e.PseudoRandom=r},13408:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(97002),a=function(){};e.Point=a;var s=function(t,e,n,r){this.x1=t,this.y1=e,this.x2=n,this.y2=r};function u(t,e,n){return(e.x-t.x)*(n.y-t.y)-(n.x-t.x)*(e.y-t.y)}function c(t,e,n){return u(t,e,n)>0}function l(t,e,n){return u(t,e,n)<0}function h(t,e){var n,r,i,o,a=e.length-1;if(l(t,e[1],e[0])&&!c(t,e[a-1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return c(t,e[n],e[r])?n:r;if((o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]))&&!c(t,e[i-1],e[i]))return i;c(t,e[n+1],e[n])?o||c(t,e[n],e[i])?r=i:n=i:o&&l(t,e[n],e[i])?r=i:n=i}}function f(t,e){var n,r,i,o,a=e.length-1;if(c(t,e[a-1],e[0])&&!l(t,e[1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return l(t,e[n],e[r])?n:r;if(o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]),c(t,e[i-1],e[i])&&!o)return i;l(t,e[n+1],e[n])?o?l(t,e[n],e[i])?r=i:n=i:r=i:o?n=i:c(t,e[n],e[i])?r=i:n=i}}function d(t,e,n,r,i,o){var a,s;s=r(t[a=n(e[0],t)],e);for(var u=!1;!u;){for(u=!0;a===t.length-1&&(a=0),!i(e[s],t[a],t[a+1]);)++a;for(;0===s&&(s=e.length-1),!o(t[a],e[s],e[s-1]);)--s,u=!1}return{t1:a,t2:s}}function p(t,e){return d(t,e,h,f,c,l)}e.LineSegment=s,e.PolyPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a),e.isLeft=u,e.ConvexHull=function(t){var e,n=t.slice(0).sort(function(t,e){return t.x!==e.x?e.x-t.x:e.y-t.y}),r=t.length,i=n[0].x;for(e=1;e=0&&n[e].x===l;e--);for(s=e+1,e=o;++e<=s;)if(!(u(n[0],n[s],n[e])>=0&&e1&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}c!=s&&a.push(n[c]);var h=a.length;for(e=s;--e>=o;)if(!(u(n[c],n[o],n[e])>=0&&e>o)){for(;a.length>h&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}}return a},e.clockwiseRadialSweep=function(t,e,n){e.slice(0).sort(function(e,n){return Math.atan2(e.y-t.y,e.x-t.x)-Math.atan2(n.y-t.y,n.x-t.x)}).forEach(n)},e.tangent_PolyPolyC=d,e.LRtangent_PolyPolyC=function(t,e){var n=p(e,t);return{t1:n.t2,t2:n.t1}},e.RLtangent_PolyPolyC=p,e.LLtangent_PolyPolyC=function(t,e){return d(t,e,f,f,l,l)},e.RRtangent_PolyPolyC=function(t,e){return d(t,e,h,h,c,c)};var g=function(t,e){this.t1=t,this.t2=e};e.BiTangent=g;var v=function(){};e.BiTangents=v,e.TVGPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a);var m=function(t,e,n,r){this.id=t,this.polyid=e,this.polyvertid=n,this.p=r,r.vv=this};e.VisibilityVertex=m;var y=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.length=function(){var t=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(t*t+e*e)},t}();function _(t,e){for(var n=[],r=1,i=e.length;r=0&&m>=0&&y<0&&_>=0&&w>=0&&b<0?i.ll=new g(o,a):p<=0&&m<=0&&y>0&&_<=0&&w<=0&&b>0?i.rr=new g(o,a):p<=0&&m>0&&y<=0&&_>=0&&w<0&&b>=0?i.rl=new g(o,a):p>=0&&m<0&&y>=0&&_<=0&&w>0&&b<=0&&(i.lr=new g(o,a))}return i}function b(t,e){return!t.every(function(t){return!function(t,e){for(var n=1,r=e.length;n0&&this.E.push(new y(i[o-1].vv,a))}i.length>1&&this.E.push(new y(i[0].vv,i[i.length-1].vv))}for(r=0;r0)return!0;return!1},t}(),e.tangents=w,e.polysOverlap=function(t,e){if(b(t,e))return!0;if(b(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},66082:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97002),i=n(70980),o=n(99147),a=function(t,e,n){this.id=t,this.rect=e,this.children=n,this.leaf=void 0===n||0===n.length};e.NodeWrapper=a;var s=function(t,e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),this.id=t,this.x=e,this.y=n,this.node=r,this.line=i};e.Vert=s;var u=function(){function t(e,n){this.s=e,this.t=n;var r=t.findMatch(e,n),i=n.slice(0).reverse(),o=t.findMatch(e,i);r.length>=o.length?(this.length=r.length,this.si=r.si,this.ti=r.ti,this.reversed=!1):(this.length=o.length,this.si=o.si,this.ti=n.length-o.ti-o.length,this.reversed=!0)}return t.findMatch=function(t,e){for(var n=t.length,r=e.length,i={length:0,si:-1,ti:-1},o=new Array(n),a=0;ai.length&&(i.length=u,i.si=a-u+1,i.ti=s-u+1)}else o[a][s]=0}return i},t.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},t}();e.LongestCommonSubsequence=u,e.GridRouter=function(){function t(t,e,n){var i=this;void 0===n&&(n=12),this.originalnodes=t,this.groupPadding=n,this.leaves=null,this.nodes=t.map(function(t,n){return new a(n,e.getBounds(t),e.getChildren(t))}),this.leaves=this.nodes.filter(function(t){return t.leaf}),this.groups=this.nodes.filter(function(t){return!t.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(t){return t.children.forEach(function(e){return i.nodes[e].parent=t})}),this.root={children:[]},this.nodes.forEach(function(t){void 0===t.parent&&(t.parent=i.root,i.root.children.push(t.id)),t.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(t,e){return i.getDepth(t)-i.getDepth(e)}),this.backToFront.slice(0).reverse().filter(function(t){return!t.leaf}).forEach(function(t){var e=r.Rectangle.empty();t.children.forEach(function(t){return e=e.union(i.nodes[t].rect)}),t.rect=e.inflate(i.groupPadding)});var o=this.midPoints(this.cols.map(function(t){return t.pos})),u=this.midPoints(this.rows.map(function(t){return t.pos})),c=o[0],l=o[o.length-1],h=u[0],f=u[u.length-1],d=this.rows.map(function(t){return{x1:c,x2:l,y1:t.pos,y2:t.pos}}).concat(u.map(function(t){return{x1:c,x2:l,y1:t,y2:t}})),p=this.cols.map(function(t){return{x1:t.pos,x2:t.pos,y1:h,y2:f}}).concat(o.map(function(t){return{x1:t,x2:t,y1:h,y2:f}})),g=d.concat(p);g.forEach(function(t){return t.verts=[]}),this.verts=[],this.edges=[],d.forEach(function(t){return p.forEach(function(e){var n=new s(i.verts.length,e.x1,t.y1);t.verts.push(n),e.verts.push(n),i.verts.push(n);for(var r=i.backToFront.length;r-- >0;){var o=i.backToFront[r],a=o.rect,u=Math.abs(n.x-a.cx()),c=Math.abs(n.y-a.cy());if(u0;){var r=n.filter(function(e){return e.rect["overlap"+t.toUpperCase()](n[0].rect)}),i={nodes:r,pos:this.avg(r.map(function(e){return e.rect["c"+t]()}))};e.push(i),i.nodes.forEach(function(t){return n.splice(n.indexOf(t),1)})}return e.sort(function(t,e){return t.pos-e.pos}),e},t.prototype.getDepth=function(t){for(var e=0;t.parent!==this.root;)e++,t=t.parent;return e},t.prototype.midPoints=function(t){for(var e=t[1]-t[0],n=[t[0]-e/2],r=1;r.1)&&s.push(u={pos:l[0][e],segments:[]}),u.segments.push(l)}return s},t.nudgeSegs=function(t,e,n,r,o,a){var s=r.length;if(!(s<=1)){for(var u=r.map(function(e){return new i.Variable(e[0][t])}),c=[],l=0;l=0&&c.push(new i.Constraint(u[g],u[v],a))}new i.Solver(u,c).solve(),u.forEach(function(e,i){var o=r[i],a=e.position();o[0][t]=o[1][t]=a;var s=n[o.edgeid];o.i>0&&(s[o.i-1][1][t]=a),o.iMath.PI||i<-Math.PI)&&(i=r-n),i},t.isLeft=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)<=0},t.getOrder=function(t){for(var e={},n=0;n=c.length||h.ti+h.length>=l.length)?n.push({l:r,r:i}):(h.si+h.length>=c.length||h.ti+h.length>=l.length?(o=c[h.si+1],s=c[h.si-1],a=l[h.ti-1]):(o=c[h.si+h.length-2],a=c[h.si+h.length],s=l[h.ti+h.length]),t.isLeft(o,a,s)?n.push({l:i,r:r}):n.push({l:r,r:i})))}return t.getOrder(n)},t.makeSegments=function(t){function e(t){return{x:t.x,y:t.y}}for(var n=function(t,e,n){return Math.abs((e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x))<.001},r=[],i=e(t[0]),o=1;o1&&l>1?1e3:0}).reverse().map(function(t){return n.verts[t]});return u.push(this.nodes[i.id].ports[0]),u.filter(function(t,e){return!(e0&&t.node===i&&u[e-1].node===i)})},t.getRoutePath=function(e,n,r,i){var o,a,s,u,c,l={routepath:"M "+e[0][0].x+" "+e[0][0].y+" ",arrowpath:""};if(e.length>1)for(var h=0;h0?a-=f/Math.abs(f)*n:s-=d/Math.abs(d)*n,l.routepath+="L "+a+" "+s+" ";var p=e[h+1],g=p[0].x,v=p[0].y;f=p[1].x-g,d=p[1].y-v;var m,y,_=t.angleBetween2Lines(o,p)<0?1:0;Math.abs(f)>0?(m=g+f/Math.abs(f)*n,y=v):(m=g,y=v+d/Math.abs(d)*n);var w=Math.abs(m-a),b=Math.abs(y-s);l.routepath+="A "+w+" "+b+" 0 0 "+_+" "+m+" "+y+" "}else{var x=[a,s];Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1])}}else f=(a=(o=e[0])[1].x)-o[0].x,d=(s=o[1].y)-o[0].y,x=[a,s],Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1]);return l},t}()},33839:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(1+Math.sqrt(5))/2;e.applyPacking=function(t,e,r,i,o,a){void 0===o&&(o=1),void 0===a&&(a=!0);var s=e,u=r,c=(o=void 0!==o?o:1,i=void 0!==i?i:0,0),l=0,h=0,f=0,d=[];function p(t,e){d=[],c=0,l=0,f=0;for(var n=0;n=t.height&&d[r].x+d[r].width+t.width+10-e<=1e-4){n=d[r];break}d.push(t),void 0!==n?(t.x=n.x+n.width+10,t.y=n.bottom,t.space_left=t.height,t.bottom=t.y,n.space_left-=t.height+10,n.bottom+=t.height+10):(t.y=f,f+=t.height+10,t.x=0,t.bottom=t.y,t.space_left=t.height),t.y+t.height-l>-1e-4&&(l=t.y+t.height-0),t.x+t.width-c>-1e-4&&(c=t.x+t.width-0)}0!=t.length&&(function(t){t.forEach(function(t){var e,n,r,o,a;e=t,n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=0,a=0,e.array.forEach(function(t){var e=void 0!==t.width?t.width:i,s=void 0!==t.height?t.height:i;e/=2,s/=2,o=Math.max(t.x+e,o),n=Math.min(t.x-e,n),a=Math.max(t.y+s,a),r=Math.min(t.y-s,r)}),e.width=o-n,e.height=a-r})}(t),function(t,e){var r=Number.POSITIVE_INFINITY,i=0;t.sort(function(t,e){return e.height-t.height});for(var o=g=h=t.reduce(function(t,e){return t.widthh||d>1e-4;){if(1!=l){var g=a-(a-o)/n;u=p(t,g)}if(0!=l){var v=o+(a-o)/n;c=p(t,v)}if(f=Math.abs(g-v),d=Math.abs(u-c),uc?(o=g,g=v,u=c,l=1):(a=v,v=g,c=u,l=0),s++>100)break}p(t,i)}(t),a&&function(t){t.forEach(function(t){var e={x:0,y:0};t.array.forEach(function(t){e.x+=t.x,e.y+=t.y}),e.x/=t.array.length,e.y/=t.array.length;var n=t.x-(e.x-t.width/2)+s/2-c/2,r=t.y-(e.y-t.height/2)+u/2-l/2;t.array.forEach(function(t){t.x+=n,t.y+=r})})}(t))},e.separateGraphs=function(t,e){for(var n={},r={},i=[],o=0,a=0;a0){var e=0;this._links.forEach(function(t){e=Math.max(e,t.source,t.target)}),this._nodes=new Array(++e);for(var n=0;n0?t:0:t>0&&(this._running||(this._running=!0,this.trigger({type:l.start,alpha:this._alpha=t}),this.kick())),this):this._alpha},t.prototype.getLinkLength=function(t){return"function"==typeof this._linkDistance?+this._linkDistance(t):this._linkDistance},t.setLinkLength=function(t,e){t.length=e},t.prototype.getLinkType=function(t){return"function"==typeof this._linkType?this._linkType(t):0},t.prototype.symmetricDiffLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.symmetricDiffLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.jaccardLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.jaccardLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.start=function(e,n,r,u,c,l){var h=this;void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===u&&(u=0),void 0===c&&(c=!0),void 0===l&&(l=!0);var f,d=this.nodes().length,p=d+2*this._groups.length,g=this._canvasSize[0],v=this._canvasSize[1],m=new Array(p),y=new Array(p),_=null,w=this._avoidOverlaps;this._nodes.forEach(function(t,e){t.index=e,void 0===t.x&&(t.x=g/2,t.y=v/2),m[e]=t.x,y[e]=t.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?f=this._distanceMatrix:(f=new s.Calculator(p,this._links,t.getSourceIndex,t.getTargetIndex,function(t){return h.getLinkLength(t)}).DistanceMatrix(),_=o.Descent.createSquareMatrix(p,function(){return 2}),this._links.forEach(function(t){"number"==typeof t.source&&(t.source=h._nodes[t.source]),"number"==typeof t.target&&(t.target=h._nodes[t.target])}),this._links.forEach(function(e){var n=t.getSourceIndex(e),r=t.getTargetIndex(e);_[n][r]=_[r][n]=e.weight||1}));var b=o.Descent.createSquareMatrix(p,function(t,e){return f[t][e]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var x=d;this._groups.forEach(function(t){!function(t,e,n,r){_[t][e]=_[e][t]=n,b[t][e]=b[e][t]=.1}(x,x+1,h._groupCompactness),m[x]=0,y[x++]=0,m[x]=0,y[x++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var E=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,E=E.concat(i.generateDirectedEdgeConstraints(d,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new o.Descent([m,y],b),this._descent.locks.clear(),x=0;x0&&(this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E).projectFunctions()),this._descent.run(n),this.separateOverlappingComponents(g,v,l),this.avoidOverlaps(w),w&&(this._nodes.forEach(function(t,e){t.x=m[e],t.y=y[e]}),this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E,!0).projectFunctions(),this._nodes.forEach(function(t,e){m[e]=t.x,y[e]=t.y})),this._descent.G=_,this._descent.run(r),u){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=d,this._descent.scaleSnapByMaxH=d!=p;var A=o.Descent.createSquareMatrix(p,function(t,e){return t>=d||e>=d?_[t][e]:0});this._descent.G=A,this._descent.run(u)}return this.updateNodePositions(),this.separateOverlappingComponents(g,v,l),c?this.resume():this},t.prototype.initialLayout=function(e,n,r){if(this._groups.length>0&&e>0){var i=this._nodes.length,o=this._links.map(function(t){return{source:t.source.index,target:t.target.index}}),a=this._nodes.map(function(t){return{index:t.index}});this._groups.forEach(function(t,e){a.push({index:t.index=i+e})}),this._groups.forEach(function(t,e){void 0!==t.leaves&&t.leaves.forEach(function(e){return o.push({source:t.index,target:e.index})}),void 0!==t.groups&&t.groups.forEach(function(e){return o.push({source:t.index,target:e.index})})}),(new t).size(this.size()).nodes(a).links(o).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(e,0,0,0,!1),this._nodes.forEach(function(t){n[t.index]=a[t.index].x,r[t.index]=a[t.index].y})}else this._descent.run(e)},t.prototype.separateOverlappingComponents=function(t,e,n){var r=this;if(void 0===n&&(n=!0),!this._distanceMatrix&&this._handleDisconnected){var i=this._descent.x[0],o=this._descent.x[1];this._nodes.forEach(function(t,e){t.x=i[e],t.y=o[e]});var a=c.separateGraphs(this._nodes,this._links);c.applyPacking(a,t,e,this._defaultNodeSize,1,n),this._nodes.forEach(function(t,e){r._descent.x[0][e]=t.x,r._descent.x[1][e]=t.y,t.bounds&&(t.bounds.setXCentre(t.x),t.bounds.setYCentre(t.y))})}},t.prototype.resume=function(){return this.alpha(.1)},t.prototype.stop=function(){return this.alpha(0)},t.prototype.prepareEdgeRouting=function(t){void 0===t&&(t=0),this._visibilityGraph=new u.TangentVisibilityGraph(this._nodes.map(function(e){return e.bounds.inflate(-t).vertices()}))},t.prototype.routeEdge=function(t,e,n){void 0===e&&(e=5);var r=[],i=new u.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),o={x:t.source.x,y:t.source.y},c={x:t.target.x,y:t.target.y},l=i.addPoint(o,t.source.index),h=i.addPoint(c,t.target.index);i.addEdgeIfVisible(o,c,t.source.index,t.target.index),void 0!==n&&n(i);var f=new s.Calculator(i.V.length,i.E,function(t){return t.source.id},function(t){return t.target.id},function(t){return t.length()}).PathFromNodeToNode(l.id,h.id);if(1===f.length||f.length===i.V.length){var d=a.makeEdgeBetween(t.source.innerBounds,t.target.innerBounds,e);r=[d.sourceIntersection,d.arrowStart]}else{for(var p=f.length-2,g=i.V[f[p]].p,v=i.V[f[0]].p,m=(r=[t.source.innerBounds.rayIntersection(g.x,g.y)],p);m>=0;--m)r.push(i.V[f[m]].p);r.push(a.makeEdgeTo(v,t.target.innerBounds,e))}return r},t.getSourceIndex=function(t){return"number"==typeof t.source?t.source:t.source.index},t.getTargetIndex=function(t){return"number"==typeof t.target?t.target:t.target.index},t.linkId=function(e){return t.getSourceIndex(e)+"-"+t.getTargetIndex(e)},t.dragStart=function(e){h(e)?t.storeOffset(e,t.dragOrigin(e)):(t.stopNode(e),e.fixed|=2)},t.stopNode=function(t){t.px=t.x,t.py=t.y},t.storeOffset=function(e,n){void 0!==e.leaves&&e.leaves.forEach(function(e){e.fixed|=2,t.stopNode(e),e._dragGroupOffsetX=e.x-n.x,e._dragGroupOffsetY=e.y-n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.storeOffset(e,n)})},t.dragOrigin=function(t){return h(t)?{x:t.bounds.cx(),y:t.bounds.cy()}:t},t.drag=function(e,n){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(t){e.bounds.setXCentre(n.x),e.bounds.setYCentre(n.y),t.px=t._dragGroupOffsetX+n.x,t.py=t._dragGroupOffsetY+n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.drag(e,n)})):(e.px=n.x,e.py=n.y)},t.dragEnd=function(e){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(e){t.dragEnd(e),delete e._dragGroupOffsetX,delete e._dragGroupOffsetY}),void 0!==e.groups&&e.groups.forEach(t.dragEnd)):e.fixed&=-7},t.mouseOver=function(t){t.fixed|=4,t.px=t.x,t.py=t.y},t.mouseOut=function(t){t.fixed&=-5},t}()},83807:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(99147),i=n(59895),o=n(97002),a=n(24232);e.Link3D=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.actualLength=function(t){var e=this;return Math.sqrt(t.reduce(function(t,n){var r=n[e.target]-n[e.source];return t+r*r},0))},t}(),e.Node3D=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n},e.Layout3D=function(){function t(e,n,r){var i=this;void 0===r&&(r=1),this.nodes=e,this.links=n,this.idealLinkLength=r,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(t.k);for(var o=0;o=this.R))return this.merge(e.a,e.b,t),!0}},t.prototype.nEdges=function(t,e){var n=t.incoming.intersection(e.incoming),r=t.outgoing.intersection(e.outgoing);return this.R-n.count()-r.count()},t.prototype.getGroupHierarchy=function(t){var e=this,r=[];return i(this.roots[0],{},r),this.allEdges().forEach(function(i){var o=e.modules[i.source],a=e.modules[i.target];t.push(new n(void 0===o.gid?i.source:r[o.gid],void 0===a.gid?i.target:r[a.gid],i.type))}),r},t.prototype.allEdges=function(){var e=[];return t.getEdges(this.roots[0],e),e},t.getEdges=function(e,n){e.forAll(function(e){e.getEdges(n),t.getEdges(e.children,n)})},t}();function i(t,e,n){t.forAll(function(t){if(t.isLeaf())e.leaves||(e.leaves=[]),e.leaves.push(t.id);else{var r=e;if(t.gid=n.length,!t.isIsland()||t.isPredefined()){if(r={id:t.gid},t.isPredefined())for(var o in t.definition)r[o]=t.definition[o];e.groups||(e.groups=[]),e.groups.push(t.gid),n.push(r)}i(t.children,r,n)}})}e.Configuration=r;var o=function(){function t(t,e,n,r,i){void 0===e&&(e=new s),void 0===n&&(n=new s),void 0===r&&(r=new a),this.id=t,this.outgoing=e,this.incoming=n,this.children=r,this.definition=i}return t.prototype.getEdges=function(t){var e=this;this.outgoing.forAll(function(r,i){r.forAll(function(r){t.push(new n(e.id,r.id,i))})})},t.prototype.isLeaf=function(){return 0===this.children.count()},t.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},t.prototype.isPredefined=function(){return void 0!==this.definition},t}();e.Module=o;var a=function(){function t(){this.table={}}return t.prototype.count=function(){return Object.keys(this.table).length},t.prototype.intersection=function(e){var n=new t;return n.table=function(t,e){var n={};for(var r in t)r in e&&(n[r]=t[r]);return n}(this.table,e.table),n},t.prototype.intersectionCount=function(t){return this.intersection(t).count()},t.prototype.contains=function(t){return t in this.table},t.prototype.add=function(t){this.table[t.id]=t},t.prototype.remove=function(t){delete this.table[t.id]},t.prototype.forAll=function(t){for(var e in this.table)t(this.table[e])},t.prototype.modules=function(){var t=[];return this.forAll(function(e){e.isPredefined()||t.push(e)}),t},t}();e.ModuleSet=a;var s=function(){function t(){this.sets={},this.n=0}return t.prototype.count=function(){return this.n},t.prototype.contains=function(t){var e=!1;return this.forAllModules(function(n){e||n.id!=t||(e=!0)}),e},t.prototype.add=function(t,e){(t in this.sets?this.sets[t]:this.sets[t]=new a).add(e),++this.n},t.prototype.remove=function(t,e){var n=this.sets[t];n.remove(e),0===n.count()&&delete this.sets[t],--this.n},t.prototype.forAll=function(t){for(var e in this.sets)t(this.sets[e],Number(e))},t.prototype.forAllModules=function(t){this.forAll(function(e,n){return e.forAll(t)})},t.prototype.intersection=function(e){var n=new t;return this.forAll(function(t,r){if(r in e.sets){var i=t.intersection(e.sets[r]),o=i.count();o>0&&(n.sets[r]=i,n.n+=o)}}),n},t}();e.LinkSets=s,e.getGroups=function(t,e,n,i){for(var o=new r(t.length,e,n,i);o.greedyMerge(););var a=[],s=o.getGroupHierarchy(a);return a.forEach(function(e){var n=function(n){var r=e[n];"number"==typeof r&&(e[n]=t[r])};n("source"),n("target")}),{groups:s,powerEdges:a}}},741:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(t){for(var e=this._root;null!==e;){var n=this._comparator(t,e.data);if(0===n)return e.data;e=e.get_child(n>0)}return null},t.prototype.lowerBound=function(t){return this._bound(t,this._comparator)},t.prototype.upperBound=function(t){var e=this._comparator;return this._bound(t,function(t,n){return e(n,t)})},t.prototype.min=function(){var t=this._root;if(null===t)return null;for(;null!==t.left;)t=t.left;return t.data},t.prototype.max=function(){var t=this._root;if(null===t)return null;for(;null!==t.right;)t=t.right;return t.data},t.prototype.iterator=function(){return new o(this)},t.prototype.each=function(t){for(var e,n=this.iterator();null!==(e=n.next());)t(e)},t.prototype.reach=function(t){for(var e,n=this.iterator();null!==(e=n.prev());)t(e)},t.prototype._bound=function(t,e){for(var n=this._root,r=this.iterator();null!==n;){var i=this._comparator(t,n.data);if(0===i)return r._cursor=n,r;r._ancestors.push(n),n=n.get_child(i>0)}for(var o=r._ancestors.length-1;o>=0;--o)if(e(t,(n=r._ancestors[o]).data)>0)return r._cursor=n,r._ancestors.length=o,r;return r._ancestors.length=0,r},t}();e.TreeBase=i;var o=function(){function t(t){this._tree=t,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._minNode(t)}else{var e;if(null===this._cursor.right)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===e);else this._ancestors.push(this._cursor),this._minNode(this._cursor.right)}return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._maxNode(t)}else{var e;if(null===this._cursor.left)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===e);else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left)}return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(t){for(;null!==t.left;)this._ancestors.push(t),t=t.left;this._cursor=t},t.prototype._maxNode=function(t){for(;null!==t.right;)this._ancestors.push(t),t=t.right;this._cursor=t},t}();e.Iterator=o;var a=function(){function t(t){this.data=t,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(t){return t?this.right:this.left},t.prototype.set_child=function(t,e){t?this.right=e:this.left=e},t}();e.RBTree=function(t){function e(e){var n=t.call(this)||this;return n._root=null,n._comparator=e,n.size=0,n}return r(e,t),e.prototype.insert=function(t){var n=!1;if(null===this._root)this._root=new a(t),n=!0,this.size++;else{var r=new a(void 0),i=!1,o=!1,s=null,u=r,c=null,l=this._root;for(u.right=this._root;;){if(null===l?(l=new a(t),c.set_child(i,l),n=!0,this.size++):e.is_red(l.left)&&e.is_red(l.right)&&(l.red=!0,l.left.red=!1,l.right.red=!1),e.is_red(l)&&e.is_red(c)){var h=u.right===s;l===c.get_child(o)?u.set_child(h,e.single_rotate(s,!o)):u.set_child(h,e.double_rotate(s,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==s&&(u=s),s=c,c=l,l=l.get_child(i=f<0)}this._root=r.right}return this._root.red=!1,n},e.prototype.remove=function(t){if(null===this._root)return!1;var n=new a(void 0),r=n;r.right=this._root;for(var i=null,o=null,s=null,u=!0;null!==r.get_child(u);){var c=u;o=i,i=r,r=r.get_child(u);var l=this._comparator(t,r.data);if(u=l>0,0===l&&(s=r),!e.is_red(r)&&!e.is_red(r.get_child(u)))if(e.is_red(r.get_child(!u))){var h=e.single_rotate(r,u);i.set_child(c,h),i=h}else if(!e.is_red(r.get_child(!u))){var f=i.get_child(!c);if(null!==f)if(e.is_red(f.get_child(!c))||e.is_red(f.get_child(c))){var d=o.right===i;e.is_red(f.get_child(c))?o.set_child(d,e.double_rotate(i,c)):e.is_red(f.get_child(!c))&&o.set_child(d,e.single_rotate(i,c));var p=o.get_child(d);p.red=!0,r.red=!0,p.left.red=!1,p.right.red=!1}else i.red=!1,f.red=!0,r.red=!0}}return null!==s&&(s.data=r.data,i.set_child(i.right===r,r.get_child(null===r.left)),this.size--),this._root=n.right,null!==this._root&&(this._root.red=!1),null!==s},e.is_red=function(t){return null!==t&&t.red},e.single_rotate=function(t,e){var n=t.get_child(!e);return t.set_child(!e,n.get_child(e)),n.set_child(e,t),t.red=!0,n.red=!1,n},e.double_rotate=function(t,n){return t.set_child(!n,e.single_rotate(t.get_child(!n),!n)),e.single_rotate(t,n)},e}(i)},97002:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(70980),a=n(21539);function s(t){return t.bounds=void 0!==t.leaves?t.leaves.reduce(function(t,e){return e.bounds.union(t)},u.empty()):u.empty(),void 0!==t.groups&&(t.bounds=t.groups.reduce(function(t,e){return s(e).union(t)},t.bounds)),t.bounds=t.bounds.inflate(t.padding),t.bounds}e.computeGroupBounds=s;var u=function(){function t(t,e,n,r){this.x=t,this.X=e,this.y=n,this.Y=r}return t.empty=function(){return new t(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},t.prototype.cx=function(){return(this.x+this.X)/2},t.prototype.cy=function(){return(this.y+this.Y)/2},t.prototype.overlapX=function(t){var e=this.cx(),n=t.cx();return e<=n&&t.x0?n[0]:null},t.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},t.lineIntersection=function(t,e,n,r,i,o,a,s){var u=n-t,c=a-i,l=r-e,h=s-o,f=h*u-c*l;if(0==f)return null;var d=t-i,p=e-o,g=(c*p-h*d)/f,v=(u*p-l*d)/f;return g>=0&&g<=1&&v>=0&&v<=1?{x:t+g*u,y:e+g*l}:null},t.prototype.inflate=function(e){return new t(this.x-e,this.X+e,this.y-e,this.Y+e)},t}();e.Rectangle=u,e.makeEdgeBetween=function(t,e,n){var r=t.rayIntersection(e.cx(),e.cy())||{x:t.cx(),y:t.cy()},i=e.rayIntersection(t.cx(),t.cy())||{x:e.cx(),y:e.cy()},o=i.x-r.x,a=i.y-r.y,s=Math.sqrt(o*o+a*a),u=s-n;return{sourceIntersection:r,targetIntersection:i,arrowStart:{x:r.x+u*o/s,y:r.y+u*a/s}}},e.makeEdgeTo=function(t,e,n){var r=e.rayIntersection(t.x,t.y);r||(r={x:e.cx(),y:e.cy()});var i=r.x-t.x,o=r.y-t.y,a=Math.sqrt(i*i+o*o);return{x:r.x-n*i/a,y:r.y-n*o/a}};var c=function(t,e,n){this.v=t,this.r=e,this.pos=n,this.prev=f(),this.next=f()},l=function(t,e,n){this.isOpen=t,this.v=e,this.pos=n};function h(t,e){return t.pos>e.pos?1:t.pos0&&(t[n].insert(i),i[r].insert(t))};n("next","prev"),n("prev","next")}};function g(t,e,n,r){void 0===r&&(r=!1);var i=t.padding,o=void 0!==t.groups?t.groups.length:0,a=void 0!==t.leaves?t.leaves.length:0,s=o?t.groups.reduce(function(t,r){return t.concat(g(r,e,n,!0))},[]):[],u=(r?2:0)+a+o,c=new Array(u),l=new Array(u),h=0,f=function(t,e){l[h]=t,c[h++]=e};if(r){var d=t.bounds,p=e.getCentre(d),m=e.getSize(d)/2,y=e.getOpen(d),_=e.getClose(d),w=p-m+i/2,b=p+m-i/2;t.minVar.desiredPosition=w,f(e.makeRect(y,_,w,i),t.minVar),t.maxVar.desiredPosition=b,f(e.makeRect(y,_,b,i),t.maxVar)}a&&t.leaves.forEach(function(t){return f(t.bounds,t.variable)}),o&&t.groups.forEach(function(t){var n=t.bounds;f(e.makeRect(e.getOpen(n),e.getClose(n),e.getCentre(n),e.getSize(n)),t.minVar)});var x=v(l,c,e,n);return o&&(c.forEach(function(t){t.cOut=[],t.cIn=[]}),x.forEach(function(t){t.left.cOut.push(t),t.right.cIn.push(t)}),t.groups.forEach(function(t){var n=(t.padding-e.getSize(t.bounds))/2;t.minVar.cIn.forEach(function(t){return t.gap+=n}),t.minVar.cOut.forEach(function(e){e.left=t.maxVar,e.gap+=n})})),s.concat(x)}function v(t,e,n,r){var i,a=t.length,s=2*a;console.assert(e.length>=a);var u=new Array(s);for(i=0;it[n]&&(t[n]=e)}o=t})}},t.prototype.createAlignment=function(t){var e=this,n=this.nodes[t.offsets[0].node].variable;this.makeFeasible(t);var r="x"===t.axis?this.xConstraints:this.yConstraints;t.offsets.slice(1).forEach(function(t){r.push(new o.Constraint(n,e.nodes[t.node].variable,t.offset,!0))})},t.prototype.createConstraints=function(t){var e=this,n=function(t){return void 0===t.type||"separation"===t.type};this.xConstraints=t.filter(function(t){return"x"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),this.yConstraints=t.filter(function(t){return"y"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),t.filter(function(t){return"alignment"===t.type}).forEach(function(t){return e.createAlignment(t)})},t.prototype.setupVariablesAndBounds=function(t,e,n,r){this.nodes.forEach(function(i,o){i.fixed?(i.variable.weight=i.fixedWeight?i.fixedWeight:1e3,n[o]=r(i)):i.variable.weight=1;var a=(i.width||0)/2,s=(i.height||0)/2,c=t[o],l=e[o];i.bounds=new u(c-a,c+a,l-s,l+s)})},t.prototype.xProject=function(t,e,n){(this.rootGroup||this.avoidOverlaps||this.xConstraints)&&this.project(t,e,t,n,function(t){return t.px},this.xConstraints,_,function(t){return t.bounds.setXCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.x=e-i,t.bounds.X=r+i})},t.prototype.yProject=function(t,e,n){(this.rootGroup||this.yConstraints)&&this.project(t,e,e,n,function(t){return t.py},this.yConstraints,w,function(t){return t.bounds.setYCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.y=e-i,t.bounds.Y=r+i})},t.prototype.projectFunctions=function(){var t=this;return[function(e,n,r){return t.xProject(e,n,r)},function(e,n,r){return t.yProject(e,n,r)}]},t.prototype.project=function(t,e,n,r,i,o,a,u,c){this.setupVariablesAndBounds(t,e,r,i),this.rootGroup&&this.avoidOverlaps&&(s(this.rootGroup),o=o.concat(a(this.rootGroup))),this.solve(this.variables,o,n,r),this.nodes.forEach(u),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(c),s(this.rootGroup))},t.prototype.solve=function(t,e,n,r){var i=new o.Solver(t,e);i.setStartingPositions(n),i.setDesiredPositions(r),i.solve()},t}()},99147:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(741),i=function(t,e){this.id=t,this.distance=e},o=function(t){this.id=t,this.neighbours=[]},a=function(t,e,n){this.node=t,this.prev=e,this.d=n};e.Calculator=function(){function t(t,e,n,r,a){this.n=t,this.es=e,this.neighbours=new Array(this.n);for(var s=this.n;s--;)this.neighbours[s]=new o(s);for(s=this.es.length;s--;){var u=this.es[s],c=n(u),l=r(u),h=a(u);this.neighbours[c].neighbours.push(new i(l,h)),this.neighbours[l].neighbours.push(new i(c,h))}}return t.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),e=0;eh&&(c.d=h,c.prev=s,n.reduceKey(c.q,c,function(t,e){return t.q=e}))}}return o},t}()},70980:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.weight;this.AB+=n*e*(t.offset/t.scale),this.AD+=n*e*t.desiredPosition,this.A2+=n*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();e.PositionStats=n;var r=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();e.Constraint=r;var i=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach(function(t){return n(t,t.right)}),this.cIn.forEach(function(t){return n(t,t.left)})},t}();e.Variable=i;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new n(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();e.Solver=s,e.removeOverlapInOneDimension=function(t,e,n){for(var o=t.map(function(t){return new i(t.desiredCenter)}),a=[],u=t.length,c=0;c=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function l(t,e){if(t){if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(t,e):void 0}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)this._basis.point(this._beta*t[u]+(1-this._beta)*(i+(r=u/n)*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var je=function t(e){function n(t){return 1===e?new Fe(t):new qe(t,e)}return n.beta=function(e){return t(+e)},n}(.85),ze=l(55959);function Ye(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function Be(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var Je=l(10709),Ge=l(26899),Ve=l(87254),He=l(41036),Qe=(l(92711),l(64641)),We=(l(8634),l(3031));function Xe(t){return{type:t}}function $e(t,e){return te?1:t>=e?0:NaN}function Ke(t){var e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=function(e,n){return t(e)-n},n=function(t){return function(e,n){return $e(t(e),n)}}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);var a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}l(45161),l(38337),l(82159),["w","e"].map(Xe),["n","s"].map(Xe),["n","w","e","s","nw","ne","sw","se"].map(Xe);var tn=Math.sqrt(50),en=Math.sqrt(10),nn=Math.sqrt(2);function rn(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=tn?10:o>=en?5:o>=nn?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=tn?10:o>=en?5:o>=nn?2:1)}function on(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=tn?i*=10:o>=en?i*=5:o>=nn&&(i*=2),e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return an.setTime(+e),sn.setTime(+r),t(an),t(sn),Math.floor(n(an,sn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var cn=un(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});cn.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?un(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):cn:null};var ln=cn,hn=un(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),fn=un(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()}),dn=un(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),pn=un(function(t){return t.setHours(0,0,0,0)},function(t,e){return t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1});function gn(t){return un(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var vn=gn(0),mn=(gn(1),gn(2),gn(3),gn(4),gn(5),gn(6),un(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),yn=un(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});yn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?un(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var _n=yn,wn=un(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()}),bn=un(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),xn=un(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function En(t){return un(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var Tn=En(0),An=(En(1),En(2),En(3),En(4),En(5),En(6),un(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),Sn=un(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function kn(t,e,n,r,i,o){var a=[[hn,1,1e3],[hn,5,5e3],[hn,15,15e3],[hn,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){var i=Math.abs(n-e)/r,o=Ke(function(t){return u(t,3)[2]}).right(a,i);if(o===a.length)return t.every(on(e/31536e6,n/31536e6,r));if(0===o)return ln.every(Math.max(on(e,n,r),1));var s=u(a[i/a[o-1][2]0?un(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var In=u(kn(Sn,An,Tn,xn,bn,wn),2),Cn=(In[0],In[1],u(kn(_n,mn,vn,pn,dn,fn),2)),Dn=(Cn[0],Cn[1],new Date),Nn=new Date;function Zn(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Dn.setTime(+e),Nn.setTime(+r),t(Dn),t(Nn),Math.floor(n(Dn,Nn))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function Mn(t){return Zn(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var On=Mn(0),Rn=Mn(1),Ln=(Mn(2),Mn(3),Mn(4)),Un=(Mn(5),Mn(6),Zn(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function Pn(t){return Zn(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}var Fn=Pn(0),qn=Pn(1),jn=(Pn(2),Pn(3),Pn(4)),zn=(Pn(5),Pn(6),Zn(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5},function(t){return t.getDate()-1})),Yn=Zn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Yn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Zn(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Bn=Yn,Jn=Zn(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Jn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Zn(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Gn=Jn,Vn={"-":"",_:" ",0:"0"},Hn=/[\\^$*+?|[\]().{}]/g;function Qn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o=4||0===n?jn(t):jn.ceil(t),Qn(jn.count(Bn(t),t)+(4===Bn(t).getDay()),e,2)}function hr(t){return t.getDay()}function fr(t,e){return Qn(qn.count(Bn(t)-1,t),e,2)}function dr(t,e){return Qn(t.getFullYear()%100,e,2)}function pr(t,e){return Qn(t.getFullYear()%1e4,e,4)}function gr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Qn(e/60|0,"0",2)+Qn(e%60,"0",2)}function vr(t,e){return Qn(t.getUTCDate(),e,2)}function mr(t,e){return Qn(t.getUTCHours(),e,2)}function yr(t,e){return Qn(t.getUTCHours()%12||12,e,2)}function _r(t,e){return Qn(1+Un.count(Gn(t),t),e,3)}function wr(t,e){return Qn(t.getUTCMilliseconds(),e,3)}function br(t,e){return wr(t,e)+"000"}function xr(t,e){return Qn(t.getUTCMonth()+1,e,2)}function Er(t,e){return Qn(t.getUTCMinutes(),e,2)}function Tr(t,e){return Qn(t.getUTCSeconds(),e,2)}function Ar(t){var e=t.getUTCDay();return 0===e?7:e}function Sr(t,e){return Qn(On.count(Gn(t)-1,t),e,2)}function kr(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Ln(t):Ln.ceil(t),Qn(Ln.count(Gn(t),t)+(4===Gn(t).getUTCDay()),e,2)}function Ir(t){return t.getUTCDay()}function Cr(t,e){return Qn(Rn.count(Gn(t)-1,t),e,2)}function Dr(t,e){return Qn(t.getUTCFullYear()%100,e,2)}function Nr(t,e){return Qn(t.getUTCFullYear()%1e4,e,4)}function Zr(){return"+0000"}function Mr(){return"%"}function Or(t){return+t}function Rr(t){return Math.floor(+t/1e3)}function Lr(t){return null===t?NaN:+t}!function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=(Xn(i),$n(i),Xn(o),$n(o),Xn(a),$n(a),Xn(s),$n(s),Xn(u),$n(u),{a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Kn,e:Kn,f:ir,H:tr,I:er,j:nr,L:rr,m:or,M:ar,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Or,s:Rr,S:sr,u:ur,U:cr,V:lr,w:hr,W:fr,x:null,X:null,y:dr,Y:pr,Z:gr,"%":Mr}),l={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:vr,e:vr,f:br,H:mr,I:yr,j:_r,L:wr,m:xr,M:Er,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Or,s:Rr,S:Tr,u:Ar,U:Sr,V:kr,w:Ir,W:Cr,x:null,X:null,y:Dr,Y:Nr,Z:Zr,"%":Mr};function h(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s(e=a[u-1])&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?Gr:Jr,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),Fr.Z)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,jr),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=qr.Z,l()},h.clamp=function(t){return arguments.length?(c=!!t||Yr,l()):c!==Yr},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}()(Yr,Yr)}function Qr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Wr=l(93116),Xr=l(65636),$r=l(3712),Kr=l(3218),ti=l(22233);function ei(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){var u=Math.round(t/a),c=Math.round(e/a);for(u*ae&&--c,o=new Array(i=c-u+1);++se&&--h,o=new Array(i=h-l+1);++s0;){if((i=rn(u,c,n))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function ni(){var t=Hr();return t.copy=function(){return Vr(t,ni())},Qr.apply(t,arguments),ei(t)}function ri(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r2&&void 0!==arguments[2]?arguments[2]:Lr;if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function ui(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t0?r[i-1]:e[0],i=0;)e+=n[r].value;else e=1;t.value=e}function xi(t,e){var n,r,i,o,a,s=new Si(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=Ei);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new Si(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Ai)}function Ei(t){return t.children}function Ti(t){t.data=t.data.data}function Ai(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Si(t){this.data=t,this.depth=this.height=0,this.parent=null}mi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:vi(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:vi(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new mi(t,e)}return n.tension=function(e){return t(+e)},n}(0),yi.prototype={areaStart:gi,areaEnd:gi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vi(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new yi(t,e)}return n.tension=function(e){return t(+e)},n}(0),Math,Math,Math,Math,Math,Math,Math,Math,l(12314),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,v,m=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),v=l*l*g,(d=Math.max(f/v,v/h))>p){l-=s;break}p=d}m.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),Si.prototype=xi.prototype={constructor:Si,count:function(){return this.eachAfter(bi)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return xi(this).eachBefore(Ti)}};var ki=l(30269),Ii=["caretElm"];function Ci(t,e){}var Di=function(t){return{model:t}};function Ni(t,e){if(1&t&&(m.TgZ(0,"span"),m.YNc(1,Ci,0,0,"ng-template",5),m.qZA()),2&t){var n=m.oxw();m.xp6(1),m.Q6J("ngTemplateOutlet",n.template)("ngTemplateOutletContext",m.VKq(2,Di,n.context))}}function Zi(t,e){if(1&t&&m._UZ(0,"span",6),2&t){var n=m.oxw();m.Q6J("innerHTML",n.title,m.oJD)}}function Mi(t,e){if(1&t&&(m.O4$(),m.kcU(),m._UZ(0,"ngx-charts-scale-legend",4)),2&t){var n=m.oxw();m.Q6J("horizontal",n.legendOptions&&"below"===n.legendOptions.position)("valueRange",n.legendOptions.domain)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)}}function Oi(t,e){if(1&t){var n=m.EpF();m.O4$(),m.kcU(),m.TgZ(0,"ngx-charts-legend",5),m.NdJ("labelClick",function(t){return m.CHM(n),m.oxw().legendLabelClick.emit(t)})("labelActivate",function(t){return m.CHM(n),m.oxw().legendLabelActivate.emit(t)})("labelDeactivate",function(t){return m.CHM(n),m.oxw().legendLabelDeactivate.emit(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("horizontal",r.legendOptions&&"below"===r.legendOptions.position)("data",r.legendOptions.domain)("title",r.legendOptions.title)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)("activeEntries",r.activeEntries)}}var Ri=["*"];function Li(t,e){if(1&t&&(m.TgZ(0,"header",4),m.TgZ(1,"span",5),m._uU(2),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.Oqu(n.title)}}function Ui(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"li",6),m.TgZ(1,"ngx-charts-legend-entry",7),m.NdJ("select",function(t){return m.CHM(n),m.oxw().labelClick.emit(t)})("activate",function(t){return m.CHM(n),m.oxw().activate(t)})("deactivate",function(t){return m.CHM(n),m.oxw().deactivate(t)}),m.qZA(),m.qZA()}if(2&t){var r=e.$implicit,i=m.oxw();m.xp6(1),m.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",i.isActive(r))}}var Pi=function(){var t=function(){function t(e,n,r){f(this,t),this.applicationRef=e,this.componentFactoryResolver=n,this.injector=r}return p(t,[{key:"getRootViewContainer",value:function(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}},{key:"setRootViewContainer",value:function(t){this._container=t}},{key:"getComponentRootNode",value:function(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}},{key:"getRootViewContainerNode",value:function(t){return this.getComponentRootNode(t)}},{key:"projectComponentBindings",value:function(t,e){if(e){if(void 0!==e.inputs){var n,r=c(Object.getOwnPropertyNames(e.inputs));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.instance[i]=e.inputs[i]}}catch(u){r.e(u)}finally{r.f()}}if(void 0!==e.outputs){var o,a=c(Object.getOwnPropertyNames(e.outputs));try{for(a.s();!(o=a.n()).done;){var s=o.value;t.instance[s]=e.outputs[s]}}catch(u){a.e(u)}finally{a.f()}}}return t}},{key:"appendComponent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;n||(n=this.getRootViewContainer());var r=this.getComponentRootNode(n),i=new Ge.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Ge.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(e){t.globalRootViewContainer=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.LFG(m.z2F),m.LFG(m._Vd),m.LFG(m.zs3))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t}();function Fi(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var qi=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function ji(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function zi(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}var Yi=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=ji(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}},{key:"calculateVerticalCaret",value:function(t,e,n,r){var i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);var o=ji(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}},{key:"calculateHorizontalAlignment",value:function(t,e,n){var r=zi(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}},{key:"calculateHorizontalCaret",value:function(t,e,n,r){var i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);var o=zi(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}},{key:"shouldFlip",value:function(t,e,n,r){var i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}},{key:"positionCaret",value:function(e,n,r,i,o){var a=0,s=0;return e===qi.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===qi.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===qi.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===qi.bottom&&(a=-7,s=t.calculateHorizontalCaret(r,n,i,o)),{top:a,left:s}}},{key:"positionContent",value:function(e,n,r,i,o){var a=0,s=0;return e===qi.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===qi.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===qi.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===qi.bottom&&(a=r.top+r.height+i,s=t.calculateHorizontalAlignment(r,n,o)),{top:a,left:s}}},{key:"determinePlacement",value:function(e,n,r,i){if(t.shouldFlip(r,n,e,i)){if(e===qi.right)return qi.left;if(e===qi.left)return qi.right;if(e===qi.top)return qi.bottom;if(e===qi.bottom)return qi.top}return e}}]),t}(),Bi=function(){var t=function(){function t(e,n){f(this,t),this.element=e,this.renderer=n}return p(t,[{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-".concat(this.placement),t+=" type-".concat(this.type),t+=" ".concat(this.cssClass)}},{key:"ngAfterViewInit",value:function(){setTimeout(this.position.bind(this))}},{key:"position",value:function(){var t=this,e=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(n.height||n.width){var r=e.getBoundingClientRect();this.checkFlip(n,r),this.positionContent(e,n,r),this.showCaret&&this.positionCaret(n,r),setTimeout(function(){return t.renderer.addClass(e,"animate")},1)}}},{key:"positionContent",value:function(t,e,n){var r=Yi.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top","".concat(i,"px")),this.renderer.setStyle(t,"left","".concat(o,"px"))}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=Yi.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top","".concat(o,"px")),this.renderer.setStyle(n,"left","".concat(a,"px"))}},{key:"checkFlip",value:function(t,e){this.placement=Yi.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.Qsj))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(Ii,5),2&t)&&(m.iGM(n=m.CRH())&&(e.caretElm=n.first))},hostVars:2,hostBindings:function(t,e){1&t&&m.NdJ("resize",function(){return e.onWindowResize()},!1,m.Jf7),2&t&&m.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"span",0,1),m.TgZ(3,"div",2),m.YNc(4,Ni,2,4,"span",3),m.YNc(5,Zi,1,1,"span",4),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Gre("tooltip-caret position-",e.placement,""),m.Q6J("hidden",!e.showCaret),m.xp6(3),m.Q6J("ngIf",!e.title),m.xp6(1),m.Q6J("ngIf",e.title))},directives:[d.O5,d.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),Ye([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Fi(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t}(),Ji=function(){var t=function(t){r(n,t);var e=o(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=Bi,r}return n}(function(){function t(e){f(this,t),this.injectionService=e,this.defaults={},this.components=new Map}return p(t,[{key:"getByType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return this.components.get(t)}},{key:"create",value:function(t){return this.createByType(this.type,t)}},{key:"createByType",value:function(t,e){e=this.assignDefaults(e);var n=this.injectComponent(t,e);return this.register(t,n),n}},{key:"destroy",value:function(t){var e=this.components.get(t.componentType);if(e&&e.length){var n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}},{key:"destroyAll",value:function(){this.destroyByType(this.type)}},{key:"destroyByType",value:function(t){var e=this.components.get(t);if(e&&e.length)for(var n=e.length-1;n>=0;)this.destroy(e[n--])}},{key:"injectComponent",value:function(t,e){return this.injectionService.appendComponent(t,e)}},{key:"assignDefaults",value:function(t){var e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}},{key:"register",value:function(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}]),t}());return t.\u0275fac=function(e){return new(e||t)(m.LFG(Pi))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),Gi=function(){var t=function(){function t(){f(this,t),this.showLegend=!1,this.animations=!0,this.legendLabelClick=new m.vpe,this.legendLabelActivate=new m.vpe,this.legendLabelDeactivate=new m.vpe}return p(t,[{key:"ngOnChanges",value:function(t){this.update()}},{key:"update",value:function(){var t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)}},{key:"getLegendType",value:function(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",data:"data",legendData:"legendData",colors:"colors",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[m._Bn([Ji]),m.TTD],ngContentSelectors:Ri,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"div",0),m.O4$(),m.TgZ(1,"svg",1),m.Hsn(2),m.qZA(),m.YNc(3,Mi,1,5,"ngx-charts-scale-legend",2),m.YNc(4,Oi,1,7,"ngx-charts-legend",3),m.qZA()),2&t&&(m.Udp("width",e.view[0],"px"),m.Q6J("@animationState","active")("@.disabled",!e.animations),m.xp6(1),m.uIk("width",e.chartWidth)("height",e.view[1]),m.xp6(2),m.Q6J("ngIf",e.showLegend&&"scaleLegend"===e.legendType),m.xp6(1),m.Q6J("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[d.O5,Ki,Xi]},encapsulation:2,data:{animation:[(0,Je.X$)("animationState",[(0,Je.eR)(":enter",[(0,Je.oB)({opacity:0}),(0,Je.jt)("500ms 100ms",(0,Je.oB)({opacity:1}))])])]},changeDetection:0}),t}(),Vi=function(){var t=function(){function t(e,n){f(this,t),this.element=e,this.zone=n,this.visible=new m.vpe,this.isVisible=!1,this.runCheck()}return p(t,[{key:"destroy",value:function(){clearTimeout(this.timeout)}},{key:"onVisibilityChange",value:function(){var t=this;this.zone.run(function(){t.isVisible=!0,t.visible.emit(!0)})}},{key:"runCheck",value:function(){var t=this,e=function e(){if(t.element){var n=t.element.nativeElement,r=n.offsetHeight,i=n.offsetWidth;r&&i?(clearTimeout(t.timeout),t.onVisibilityChange()):(clearTimeout(t.timeout),t.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return e()},100)}))}};this.zone.runOutsideAngular(function(){t.timeout=setTimeout(function(){return e()})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.R0b))},t.\u0275dir=m.lG2({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t}(),Hi=function(){var t=function(){function t(e,n,r){f(this,t),this.chartElement=e,this.zone=n,this.cd=r,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new m.vpe}return p(t,[{key:"ngAfterViewInit",value:function(){this.bindWindowResizeEvent(),this.visibilityObserver=new Vi(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}},{key:"ngOnDestroy",value:function(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}},{key:"ngOnChanges",value:function(t){this.update()}},{key:"update",value:function(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{var t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}},{key:"getContainerDims",value:function(){var t,e,n=this.chartElement.nativeElement;if(null!==n.parentNode){var r=n.parentNode.getBoundingClientRect();t=r.width,e=r.height}return t&&e?{width:t,height:e}:null}},{key:"formatDates",value:function(){for(var t=0;t0),m.xp6(2),m.Udp("max-height",e.height-45,"px"),m.ekj("horizontal-legend",e.horizontal),m.xp6(1),m.Q6J("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[d.O5,d.sg,$i]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t}(),$i=function(){var t=function(){function t(){f(this,t),this.isActive=!1,this.select=new m.vpe,this.activate=new m.vpe,this.deactivate=new m.vpe,this.toggle=new m.vpe}return p(t,[{key:"trimmedLabel",get:function(){return this.formattedLabel||"(empty)"}},{key:"onMouseEnter",value:function(){this.activate.emit({name:this.label})}},{key:"onMouseLeave",value:function(){this.deactivate.emit({name:this.label})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&m.NdJ("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(m.TgZ(0,"span",0),m.NdJ("click",function(){return e.select.emit(e.formattedLabel)}),m.TgZ(1,"span",1),m.NdJ("click",function(){return e.toggle.emit(e.formattedLabel)}),m.qZA(),m.TgZ(2,"span",2),m._uU(3),m.qZA(),m.qZA()),2&t&&(m.ekj("active",e.isActive),m.Q6J("title",e.formattedLabel),m.xp6(1),m.Udp("background-color",e.color),m.xp6(2),m.hij(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t}(),Ki=function(){var t=function(){function t(e){f(this,t),this.sanitizer=e,this.horizontal=!1}return p(t,[{key:"ngOnChanges",value:function(t){var e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle("linear-gradient(to ".concat(this.horizontal?"right":"bottom",", ").concat(e,")"))}},{key:"gradientString",value:function(t,e){e.push(1);var n=[];return t.reverse().forEach(function(t,r){n.push("".concat(t," ").concat(Math.round(100*e[r]),"%"))}),n.join(", ")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(ki.H7))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[m.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"span"),m._uU(3),m.qZA(),m.qZA(),m._UZ(4,"div",2),m.TgZ(5,"div",1),m.TgZ(6,"span"),m._uU(7),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.Udp("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),m.ekj("horizontal-legend",e.horizontal),m.xp6(3),m.Oqu(e.valueRange[1].toLocaleString()),m.xp6(1),m.Udp("background",e.gradient),m.xp6(3),m.Oqu(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t}(),to=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez,Qi,Wi],d.ez,Qi,Wi]}),t}(),eo=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}],no=function(){function t(e,n,r,i){f(this,t),"string"==typeof e&&(e=eo.find(function(t){return t.name===e})),this.colorDomain=e.domain,this.scaleType=n,this.domain=r,this.customColors=i,this.scale=this.generateColorScheme(e,n,this.domain)}return p(t,[{key:"generateColorScheme",value:function(t,e,r){var i;if("string"==typeof t&&(t=eo.find(function(e){return e.name===t})),"quantile"===e)i=ui().range(t.domain).domain(r);else if("ordinal"===e)i=oi().range(t.domain).domain(r);else if("linear"===e){var o=n(t.domain);1===o.length&&(o.push(o[0]),this.colorDomain=o);var a=ri(0,1,1/o.length);i=ni().domain(a).range(o)}return i}},{key:"getColor",value:function(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){var e=ni().domain(this.domain).range([0,1]);return this.scale(e(t))}if("function"==typeof this.customColors)return this.customColors(t);var n,r=t.toString();return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(function(t){return t.name.toLowerCase()===r.toLowerCase()})),n?n.value:this.scale(t)}},{key:"getLinearGradientStops",value:function(t,e){void 0===e&&(e=this.domain[0]);var n=ni().domain(this.domain).range([0,1]),r=ai().domain(this.colorDomain).range([0,1]),i=this.getColor(t),o=n(e),a=this.getColor(e),s=n(t),u=1,l=o,h=[];for(h.push({color:a,offset:o,originalOffset:o,opacity:1});l=(s-r.bandwidth()).toFixed(4))break;h.push({color:f,offset:d,opacity:1}),l=d,u++}}if(h[h.length-1].offset<100&&h.push({color:i,offset:s,opacity:1}),s===o)h[0].offset=0,h[1].offset=100;else if(100!==h[h.length-1].offset){var p,g=c(h);try{for(g.s();!(p=g.n()).done;){var v=p.value;v.offset=(v.offset-o)/(s-o)*100}}catch(m){g.e(m)}finally{g.f()}}return h}}]),t}(),ro=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),io=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),oo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),ao=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),so=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}();Math;var uo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),co=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to,uo,so]]}),t}(),lo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),ho=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to]]}),t}(),fo=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[to,uo,io]]}),t}(),po=function(){var t=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[to,ro,io,oo,ao,so,co,lo,uo,ho,fo]}),t}(),go=Math.PI;function vo(t){return(1-Math.cos(go*t))/2}var mo=l(87570),yo=l(48318),_o=l(40878),wo=l(3530);function bo(t){return void 0===t}function xo(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0;return{a:1,c:0,e:t,b:0,d:1,f:e}}"function"==typeof Symbol&&Symbol,Math,Math,Math,Math;var So=l(32975);function ko(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a,i=d,!(d=d[h=l<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a}while((h=l<<1|c)==(f=(u>=a)<<1|s>=o));return i[f]=d,i[h]=p,t}function No(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Zo(t){return t[0]}function Mo(t){return t[1]}function Oo(t,e,n){var r=new Ro(null==e?Zo:e,null==n?Mo:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Ro(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Lo(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Uo=Oo.prototype=Ro.prototype;function Po(t){return t.x+t.vx}function Fo(t){return t.y+t.vy}function qo(t){var e,n,r=1,i=1;function o(){for(var t,o,s,u,c,l,h,f=e.length,d=0;du+d||ic+d||os.index){var p=u-a.x-a.vx,g=c-a.y-a.vy,v=p*p+g*g;vt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ef||(o=u.y0)>d||(a=u.x1)=m)<<1|t>=v)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),w=y*y+_*_;if(w=(s=(p+v)/2))?p=s:v=s,(l=a>=(u=(g+m)/2))?g=u:m=u,e=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Uo.removeAll=function(t){for(var e=0,n=t.length;e1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}}function ta(){var t,e,n,r,i=Io(-30),o=1,a=1/0,s=.81;function u(r){var i,o=t.length,a=Oo(t,Wo,Xo).visitAfter(l);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=Co())*l),0===h&&(d+=(h=Co())*h),d=0}),leaves:t.childNodeIds.map(function(t){return e.inputGraph.nodes.findIndex(function(e){return e.id===t})}).filter(function(t){return t>=0})}})),links:n(this.inputGraph.edges.map(function(t){var n=e.inputGraph.nodes.findIndex(function(e){return t.source===e.id}),r=e.inputGraph.nodes.findIndex(function(e){return t.target===e.id});if(-1!==n&&-1!==r)return Object.assign(Object.assign({},t),{source:n,target:r})}).filter(function(t){return!!t})),groupLinks:n(this.inputGraph.edges.map(function(t){var n=e.inputGraph.nodes.findIndex(function(e){return t.source===e.id}),r=e.inputGraph.nodes.findIndex(function(e){return t.target===e.id});if(!(n>=0&&r>=0))return t}).filter(function(t){return!!t}))},this.outputGraph={nodes:[],clusters:[],edges:[],edgeLabels:[]},this.outputGraph$.next(this.outputGraph),this.settings=Object.assign({},this.defaultSettings,this.settings),this.settings.force&&(this.settings.force=this.settings.force.nodes(this.internalGraph.nodes).groups(this.internalGraph.groups).links(this.internalGraph.links).alpha(.5).on("tick",function(){e.settings.onTickListener&&e.settings.onTickListener(e.internalGraph),e.outputGraph$.next(e.internalGraphToOutputGraph(e.internalGraph))}),this.settings.viewDimensions&&(this.settings.force=this.settings.force.size([this.settings.viewDimensions.width,this.settings.viewDimensions.height])),this.settings.forceModifierFn&&(this.settings.force=this.settings.forceModifierFn(this.settings.force)),this.settings.force.start()),this.outputGraph$.asObservable()}},{key:"updateEdge",value:function(t,e){var n=Object.assign({},this.defaultSettings,this.settings);return n.force&&n.force.start(),this.outputGraph$.asObservable()}},{key:"internalGraphToOutputGraph",value:function(t){var e=this;return this.outputGraph.nodes=t.nodes.map(function(t){return Object.assign(Object.assign({},t),{id:t.id||Ra(),position:{x:t.x,y:t.y},dimension:{width:t.dimension&&t.dimension.width||20,height:t.dimension&&t.dimension.height||20},transform:"translate(".concat(t.x-(t.dimension&&t.dimension.width||20)/2||0,", ").concat(t.y-(t.dimension&&t.dimension.height||20)/2||0,")")})}),this.outputGraph.edges=t.links.map(function(e){var n=Pa(t.nodes,e.source),r=Pa(t.nodes,e.target);return Object.assign(Object.assign({},e),{source:n.id,target:r.id,points:[n.bounds.rayIntersection(r.bounds.cx(),r.bounds.cy()),r.bounds.rayIntersection(n.bounds.cx(),n.bounds.cy())]})}).concat(t.groupLinks.map(function(e){var n=t.nodes.find(function(t){return t.id===e.source}),r=t.nodes.find(function(t){return t.id===e.target}),i=n||t.groups.find(function(t){return t.id===e.source}),o=r||t.groups.find(function(t){return t.id===e.target});return Object.assign(Object.assign({},e),{source:i.id,target:o.id,points:[i.bounds.rayIntersection(o.bounds.cx(),o.bounds.cy()),o.bounds.rayIntersection(i.bounds.cx(),i.bounds.cy())]})})),this.outputGraph.clusters=t.groups.map(function(t,n){return Object.assign(Object.assign({},e.inputGraph.clusters[n]),{dimension:{width:t.bounds?t.bounds.width():20,height:t.bounds?t.bounds.height():20},position:{x:t.bounds?t.bounds.x+t.bounds.width()/2:0,y:t.bounds?t.bounds.y+t.bounds.height()/2:0}})}),this.outputGraph.edgeLabels=this.outputGraph.edges,this.outputGraph}},{key:"onDragStart",value:function(t,e){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(this.draggingStart={x:r.x-e.x,y:r.y-e.y},r.fixed=1,this.settings.force.start())}},{key:"onDrag",value:function(t,e){if(t){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(r.x=this.draggingStart.x+e.x,r.y=this.draggingStart.y+e.y)}}},{key:"onDragEnd",value:function(t,e){if(t){var n=this.outputGraph.nodes.findIndex(function(e){return e.id===t.id}),r=this.internalGraph.nodes[n];r&&(r.fixed=0)}}}]),t}()},qa=function(){var t=function(){function t(){f(this,t)}return p(t,[{key:"getLayout",value:function(t){if(Fa[t])return new Fa[t];throw new Error("Unknown layout type '".concat(t,"'"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),ja=function(t){return t.Both="both",t.Horizontal="horizontal",t.Vertical="vertical",t}({}),za=function(t){return t.UpperLeft="UpperLeft",t.UpperRight="UpperRight",t}({});function Ya(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var Ba=function(){var e=function(e){r(a,e);var i=o(a);function a(t,e,n,r){var o;return f(this,a),(o=i.call(this,t,e,n)).el=t,o.zone=e,o.cd=n,o.layoutService=r,o.legend=!1,o.nodes=[],o.clusters=[],o.links=[],o.activeEntries=[],o.draggingEnabled=!0,o.panningEnabled=!0,o.panningAxis=ja.Both,o.enableZoom=!0,o.zoomSpeed=.1,o.minZoomLevel=.1,o.maxZoomLevel=4,o.autoZoom=!1,o.panOnZoom=!0,o.animate=!1,o.autoCenter=!1,o.enableTrackpadSupport=!1,o.showMiniMap=!1,o.miniMapMaxWidth=100,o.miniMapPosition=za.UpperRight,o.activate=new m.vpe,o.deactivate=new m.vpe,o.zoomChange=new m.vpe,o.clickHandler=new m.vpe,o.isMouseMoveCalled=!1,o.graphSubscription=new mo.w,o.subscriptions=[],o.margin=[0,0,0,0],o.results=[],o.isPanning=!1,o.isDragging=!1,o.initialized=!1,o.graphDims={width:0,height:0},o._oldLinks=[],o.oldNodes=new Set,o.oldClusters=new Set,o.transformationMatrix={a:1,c:0,e:0,b:0,d:1,f:0},o._touchLastX=null,o._touchLastY=null,o.minimapScaleCoefficient=3,o.minimapOffsetX=0,o.minimapOffsetY=0,o.isMinimapPanning=!1,o.groupResultsBy=function(t){return t.label},o}return p(a,[{key:"zoomLevel",get:function(){return this.transformationMatrix.a},set:function(t){this.zoomTo(Number(t))}},{key:"panOffsetX",get:function(){return this.transformationMatrix.e},set:function(t){this.panTo(Number(t),null)}},{key:"panOffsetY",get:function(){return this.transformationMatrix.f},set:function(t){this.panTo(null,Number(t))}},{key:"ngOnInit",value:function(){var t=this;this.update$&&this.subscriptions.push(this.update$.subscribe(function(){t.update()})),this.center$&&this.subscriptions.push(this.center$.subscribe(function(){t.center()})),this.zoomToFit$&&this.subscriptions.push(this.zoomToFit$.subscribe(function(){t.zoomToFit()})),this.panToNode$&&this.subscriptions.push(this.panToNode$.subscribe(function(e){t.panToNodeId(e)})),this.minimapClipPathId="minimapClip".concat(Ra())}},{key:"ngOnChanges",value:function(t){var e=t.layoutSettings;this.setLayout(this.layout),e&&this.setLayoutSettings(this.layoutSettings),this.update()}},{key:"setLayout",value:function(t){this.initialized=!1,t||(t="dagre"),"string"==typeof t&&(this.layout=this.layoutService.getLayout(t),this.setLayoutSettings(this.layoutSettings))}},{key:"setLayoutSettings",value:function(t){this.layout&&"string"!=typeof this.layout&&(this.layout.settings=t)}},{key:"ngOnDestroy",value:function(){t(s(a.prototype),"ngOnDestroy",this).call(this);var e,n=c(this.subscriptions);try{for(n.s();!(e=n.n()).done;){e.value.unsubscribe()}}catch(r){n.e(r)}finally{n.f()}this.subscriptions=null}},{key:"ngAfterViewInit",value:function(){var e=this;t(s(a.prototype),"ngAfterViewInit",this).call(this),setTimeout(function(){return e.update()})}},{key:"update",value:function(){var e=this;t(s(a.prototype),"update",this).call(this),this.curve||(this.curve=je.beta(1)),this.zone.run(function(){e.dims=function(t){var e=t.width,n=t.height,r=t.margins,i=t.showXAxis,o=void 0!==i&&i,a=t.showYAxis,s=void 0!==a&&a,u=t.xAxisHeight,c=void 0===u?0:u,l=t.yAxisWidth,h=void 0===l?0:l,f=t.showXLabel,d=void 0!==f&&f,p=t.showYLabel,g=void 0!==p&&p,v=t.showLegend,m=void 0!==v&&v,y=t.legendType,_=void 0===y?"ordinal":y,w=t.legendPosition,b=void 0===w?"right":w,x=t.columns,E=void 0===x?12:x,T=r[3],A=e,S=n-r[0]-r[2];if(m&&"right"===b&&(E-="ordinal"===_?2:1),A=(A=A*E/12)-r[1]-r[3],o&&(S-=5,S-=c,d)&&(S-=30),s&&(A-=5,A-=h,T+=h,T+=10,g)){A-=30,T+=30}return A=Math.max(0,A),S=Math.max(0,S),{width:Math.floor(A),height:Math.floor(S),xOffset:Math.floor(T)}}({width:e.width,height:e.height,margins:e.margin,showLegend:e.legend}),e.seriesDomain=e.getSeriesDomain(),e.setColors(),e.legendOptions=e.getLegendOptions(),e.createGraph(),e.updateTransform(),e.initialized=!0})}},{key:"createGraph",value:function(){var t=this;this.graphSubscription.unsubscribe(),this.graphSubscription=new mo.w;var e=function(e){return e.meta||(e.meta={}),e.id||(e.id=Ra()),e.dimension?e.meta.forceDimensions=void 0===e.meta.forceDimensions||e.meta.forceDimensions:(e.dimension={width:t.nodeWidth?t.nodeWidth:30,height:t.nodeHeight?t.nodeHeight:30},e.meta.forceDimensions=!1),e.position={x:0,y:0},e.data=e.data?e.data:{},e};this.graph={nodes:this.nodes.length>0?n(this.nodes).map(e):[],clusters:this.clusters&&this.clusters.length>0?n(this.clusters).map(e):[],edges:this.links.length>0?n(this.links).map(function(t){return t.id||(t.id=Ra()),t}):[]},requestAnimationFrame(function(){return t.draw()})}},{key:"draw",value:function(){var t=this;if(this.layout&&"string"!=typeof this.layout){this.applyNodeDimensions();var e=this.layout.run(this.graph),n=e instanceof yo.y?e:(0,_o.of)(e);this.graphSubscription.add(n.subscribe(function(e){t.graph=e,t.tick()})),0!==this.graph.nodes.length&&n.pipe((0,wo.P)()).subscribe(function(){return t.applyNodeDimensions()})}}},{key:"tick",value:function(){var t=this,e=new Set;this.graph.nodes.map(function(n){n.transform="translate(".concat(n.position.x-n.dimension.width/2||0,", ").concat(n.position.y-n.dimension.height/2||0,")"),n.data||(n.data={}),n.data.color=t.colors.getColor(t.groupResultsBy(n)),e.add(n.id)});var n=new Set;(this.graph.clusters||[]).map(function(e){e.transform="translate(".concat(e.position.x-e.dimension.width/2||0,", ").concat(e.position.y-e.dimension.height/2||0,")"),e.data||(e.data={}),e.data.color=t.colors.getColor(t.groupResultsBy(e)),n.add(e.id)}),setTimeout(function(){t.oldNodes=e,t.oldClusters=n},500);var r=[],i=function(e){var n=t.graph.edgeLabels[e],i=e.replace(/[^\w-]*/g,""),o=t.layout&&"string"!=typeof t.layout&&t.layout.settings&&t.layout.settings.multigraph,a=t._oldLinks.find(o?function(t){return"".concat(t.source).concat(t.target).concat(t.id)===i}:function(t){return"".concat(t.source).concat(t.target)===i}),s=t.graph.edges.find(o?function(t){return"".concat(t.source).concat(t.target).concat(t.id)===i}:function(t){return"".concat(t.source).concat(t.target)===i});a?a.data&&s&&s.data&&JSON.stringify(a.data)!==JSON.stringify(s.data)&&(a.data=s.data):a=s||n,a.oldLine=a.line;var u=n.points,c=t.generateLine(u),l=Object.assign({},a);l.line=c,l.points=u,t.updateMidpointOnEdge(l,u);var h=u[Math.floor(u.length/2)];h&&(l.textTransform="translate(".concat(h.x||0,",").concat(h.y||0,")")),l.textAngle=0,l.oldLine||(l.oldLine=l.line),t.calcDominantBaseline(l),r.push(l)};for(var o in this.graph.edgeLabels)i(o);this.graph.edges=r,this.graph.edges&&(this._oldLinks=this.graph.edges.map(function(t){var e=Object.assign({},t);return e.oldLine=t.line,e})),this.updateMinimap(),this.autoZoom&&this.zoomToFit(),this.autoCenter&&this.center(),requestAnimationFrame(function(){return t.redrawLines()}),this.cd.markForCheck()}},{key:"getMinimapTransform",value:function(){switch(this.miniMapPosition){case za.UpperLeft:return"";case za.UpperRight:return"translate("+(this.dims.width-this.graphDims.width/this.minimapScaleCoefficient)+",0)";default:return""}}},{key:"updateGraphDims",value:function(){for(var t=1/0,e=-1/0,n=1/0,r=-1/0,i=0;ie?o.position.x+o.dimension.width:e,r=o.position.y+o.dimension.height>r?o.position.y+o.dimension.height:r}t-=100,n-=100,e+=100,r+=100,this.graphDims.width=e-t,this.graphDims.height=r-n,this.minimapOffsetX=t,this.minimapOffsetY=n}},{key:"updateMinimap",value:function(){this.graph.nodes&&this.graph.nodes.length&&(this.updateGraphDims(),this.miniMapMaxWidth&&(this.minimapScaleCoefficient=this.graphDims.width/this.miniMapMaxWidth),this.miniMapMaxHeight&&(this.minimapScaleCoefficient=Math.max(this.minimapScaleCoefficient,this.graphDims.height/this.miniMapMaxHeight)),this.minimapTransform=this.getMinimapTransform())}},{key:"applyNodeDimensions",value:function(){var t=this;this.nodeElements&&this.nodeElements.length&&this.nodeElements.map(function(e){var n=e.nativeElement,r=t.graph.nodes.find(function(t){return t.id===n.id});if(r){var i;try{if(!(i=n.getBBox()).width||!i.height)return}catch(l){return}if(r.dimension.height=t.nodeHeight?r.dimension.height&&r.meta.forceDimensions?r.dimension.height:t.nodeHeight:r.dimension.height&&r.meta.forceDimensions?r.dimension.height:i.height,t.nodeMaxHeight&&(r.dimension.height=Math.max(r.dimension.height,t.nodeMaxHeight)),t.nodeMinHeight&&(r.dimension.height=Math.min(r.dimension.height,t.nodeMinHeight)),t.nodeWidth)r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:t.nodeWidth;else if(n.getElementsByTagName("text").length){var o;try{var a,s=c(n.getElementsByTagName("text"));try{for(s.s();!(a=s.n()).done;){var u=a.value.getBBox();o?(u.width>o.width&&(o.width=u.width),u.height>o.height&&(o.height=u.height)):o=u}}catch(h){s.e(h)}finally{s.f()}}catch(l){return}r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:o.width+20}else r.dimension.width=r.dimension.width&&r.meta.forceDimensions?r.dimension.width:i.width;t.nodeMaxWidth&&(r.dimension.width=Math.max(r.dimension.width,t.nodeMaxWidth)),t.nodeMinWidth&&(r.dimension.width=Math.min(r.dimension.width,t.nodeMinWidth))}})}},{key:"redrawLines",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.animate;this.linkElements.map(function(n){var r=t.graph.edges.find(function(t){return t.id===n.nativeElement.id});r&&((0,He.Z)(n.nativeElement).select(".line").attr("d",r.oldLine).transition().ease(vo).duration(e?500:0).attr("d",r.line),(0,He.Z)(t.chartElement.nativeElement).select("#".concat(r.id)).attr("d",r.oldTextPath).transition().ease(vo).duration(e?500:0).attr("d",r.textPath),t.updateMidpointOnEdge(r,r.points))})}},{key:"calcDominantBaseline",value:function(t){var e=t.points[0],r=t.points[t.points.length-1];t.oldTextPath=t.textPath,r.x=this.maxZoomLevel)&&this.enableZoom)if(!0===this.panOnZoom&&t){var i=t.clientX,o=t.clientY,a=this.chart.nativeElement.querySelector("svg"),s=a.querySelector("g.chart"),u=a.createSVGPoint();u.x=i,u.y=o;var c=u.matrixTransform(s.getScreenCTM().inverse());this.pan(c.x,c.y,!0),this.zoom(n),this.pan(-c.x,-c.y,!0)}else this.zoom(n)}else this.pan(-1*t.deltaX,-1*t.deltaY)}},{key:"pan",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=n?1:this.zoomLevel;this.transformationMatrix=To(this.transformationMatrix,Ao(t/r,e/r)),this.updateTransform()}},{key:"panTo",value:function(t,e){null==t||isNaN(t)||null==e||isNaN(e)||(this.transformationMatrix=To(this.transformationMatrix,Ao((-this.panOffsetX-t*this.zoomLevel+this.dims.width/2)/this.zoomLevel,(-this.panOffsetY-e*this.zoomLevel+this.dims.height/2)/this.zoomLevel)),this.updateTransform())}},{key:"zoom",value:function(t){this.transformationMatrix=To(this.transformationMatrix,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return bo(e)&&(e=t),{a:t,c:0,e:0,b:0,d:e,f:0}}(t,t)),this.zoomChange.emit(this.zoomLevel),this.updateTransform()}},{key:"zoomTo",value:function(t){this.transformationMatrix.a=isNaN(t)?this.transformationMatrix.a:Number(t),this.transformationMatrix.d=isNaN(t)?this.transformationMatrix.d:Number(t),this.zoomChange.emit(this.zoomLevel),this.updateTransform(),this.update()}},{key:"onDrag",value:function(t){var e=this;if(this.draggingEnabled){var n=this.draggingNode;this.layout&&"string"!=typeof this.layout&&this.layout.onDrag&&this.layout.onDrag(n,t),n.position.x+=t.movementX/this.zoomLevel,n.position.y+=t.movementY/this.zoomLevel,n.transform="translate(".concat(n.position.x-n.dimension.width/2,", ").concat(n.position.y-n.dimension.height/2,")");var r,i=c(this.graph.edges);try{var o=function(){var t=r.value;if((t.target===n.id||t.source===n.id||t.target.id===n.id||t.source.id===n.id)&&e.layout&&"string"!=typeof e.layout){var i=e.layout.updateEdge(e.graph,t),o=i instanceof yo.y?i:(0,_o.of)(i);e.graphSubscription.add(o.subscribe(function(n){e.graph=n,e.redrawEdge(t)}))}};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}this.redrawLines(!1),this.updateMinimap()}}},{key:"redrawEdge",value:function(t){var e=this.generateLine(t.points);this.calcDominantBaseline(t),t.oldLine=t.line,t.line=e}},{key:"updateTransform",value:function(){var t;this.transform="matrix("+(t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e10;return{a:Math.round(t.a*e)/e,b:Math.round(t.b*e)/e,c:Math.round(t.c*e)/e,d:Math.round(t.d*e)/e,e:Math.round(t.e*e)/e,f:Math.round(t.f*e)/e}}(this.transformationMatrix,100)).a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")"}},{key:"onClick",value:function(t){this.select.emit(t)}},{key:"onActivate",value:function(t){this.activeEntries.indexOf(t)>-1||(this.activeEntries=[t].concat(n(this.activeEntries)),this.activate.emit({value:t,entries:this.activeEntries}))}},{key:"onDeactivate",value:function(t){var e=this.activeEntries.indexOf(t);this.activeEntries.splice(e,1),this.activeEntries=n(this.activeEntries),this.deactivate.emit({value:t,entries:this.activeEntries})}},{key:"getSeriesDomain",value:function(){var t=this;return this.nodes.map(function(e){return t.groupResultsBy(e)}).reduce(function(t,e){return-1!==t.indexOf(e)?t:t.concat([e])},[]).sort()}},{key:"trackLinkBy",value:function(t,e){return e.id}},{key:"trackNodeBy",value:function(t,e){return e.id}},{key:"setColors",value:function(){this.colors=new no(this.scheme,"ordinal",this.seriesDomain,this.customColors)}},{key:"getLegendOptions",value:function(){return{scaleType:"ordinal",domain:this.seriesDomain,colors:this.colors}}},{key:"onMouseMove",value:function(t){this.isMouseMoveCalled=!0,(this.isPanning||this.isMinimapPanning)&&this.panningEnabled?this.panWithConstraints(this.panningAxis,t):this.isDragging&&this.draggingEnabled&&this.onDrag(t)}},{key:"onMouseDown",value:function(t){this.isMouseMoveCalled=!1}},{key:"graphClick",value:function(t){this.isMouseMoveCalled||this.clickHandler.emit(t)}},{key:"onTouchStart",value:function(t){this._touchLastX=t.changedTouches[0].clientX,this._touchLastY=t.changedTouches[0].clientY,this.isPanning=!0}},{key:"onTouchMove",value:function(t){if(this.isPanning&&this.panningEnabled){var e=t.changedTouches[0].clientX,n=t.changedTouches[0].clientY,r=e-this._touchLastX,i=n-this._touchLastY;this._touchLastX=e,this._touchLastY=n,this.pan(r,i)}}},{key:"onTouchEnd",value:function(t){this.isPanning=!1}},{key:"onMouseUp",value:function(t){this.isDragging=!1,this.isPanning=!1,this.isMinimapPanning=!1,this.layout&&"string"!=typeof this.layout&&this.layout.onDragEnd&&this.layout.onDragEnd(this.draggingNode,t)}},{key:"onNodeMouseDown",value:function(t,e){this.draggingEnabled&&(this.isDragging=!0,this.draggingNode=e,this.layout&&"string"!=typeof this.layout&&this.layout.onDragStart&&this.layout.onDragStart(e,t))}},{key:"onMinimapDragMouseDown",value:function(){this.isMinimapPanning=!0}},{key:"onMinimapPanTo",value:function(t){this.panTo((t.offsetX-(this.dims.width-(this.graphDims.width+this.minimapOffsetX)/this.minimapScaleCoefficient))*this.minimapScaleCoefficient,(t.offsetY+this.minimapOffsetY/this.minimapScaleCoefficient)*this.minimapScaleCoefficient),this.isMinimapPanning=!0}},{key:"center",value:function(){this.panTo(this.graphDims.width/2,this.graphDims.height/2)}},{key:"zoomToFit",value:function(){var t=Math.min(this.dims.height/this.graphDims.height,this.dims.width/this.graphDims.width,1);tthis.maxZoomLevel&&(t=this.maxZoomLevel),t!==this.zoomLevel&&(this.zoomLevel=t,this.updateTransform(),this.zoomChange.emit(this.zoomLevel))}},{key:"panToNodeId",value:function(t){var e=this.graph.nodes.find(function(e){return e.id===t});e&&this.panTo(e.position.x,e.position.y)}},{key:"panWithConstraints",value:function(t,e){var n=e.movementX,r=e.movementY;switch(this.isMinimapPanning&&(n=-this.minimapScaleCoefficient*n*this.zoomLevel,r=-this.minimapScaleCoefficient*r*this.zoomLevel),t){case ja.Horizontal:this.pan(n,0);break;case ja.Vertical:this.pan(0,r);break;default:this.pan(n,r)}}},{key:"updateMidpointOnEdge",value:function(t,e){if(t&&e)if(e.length%2==1)t.midPoint=e[Math.floor(e.length/2)];else{var n=e[e.length/2],r=e[e.length/2-1];t.midPoint={x:(n.x+r.x)/2,y:(n.y+r.y)/2}}}}]),a}(Hi);return e.\u0275fac=function(t){return new(t||e)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(m.sBO),m.Y36(qa))},e.\u0275cmp=m.Xpm({type:e,selectors:[["ngx-graph"]],contentQueries:function(t,e,n){var r;(1&t&&(m.Suo(n,sa,5),m.Suo(n,ua,5),m.Suo(n,ca,5),m.Suo(n,la,5),m.Suo(n,ha,5)),2&t)&&(m.iGM(r=m.CRH())&&(e.linkTemplate=r.first),m.iGM(r=m.CRH())&&(e.nodeTemplate=r.first),m.iGM(r=m.CRH())&&(e.clusterTemplate=r.first),m.iGM(r=m.CRH())&&(e.defsTemplate=r.first),m.iGM(r=m.CRH())&&(e.miniMapNodeTemplate=r.first))},viewQuery:function(t,e){var n;(1&t&&(m.Gf(Gi,7,m.SBq),m.Gf(fa,5),m.Gf(da,5)),2&t)&&(m.iGM(n=m.CRH())&&(e.chart=n.first),m.iGM(n=m.CRH())&&(e.nodeElements=n),m.iGM(n=m.CRH())&&(e.linkElements=n))},hostBindings:function(t,e){1&t&&m.NdJ("mousemove",function(t){return e.onMouseMove(t)},!1,m.evT)("mousedown",function(t){return e.onMouseDown(t)},!1,m.evT)("click",function(t){return e.graphClick(t)},!1,m.evT)("touchmove",function(t){return e.onTouchMove(t)},!1,m.evT)("mouseup",function(t){return e.onMouseUp(t)},!1,m.evT)},inputs:{legend:"legend",nodes:"nodes",clusters:"clusters",links:"links",activeEntries:"activeEntries",draggingEnabled:"draggingEnabled",panningEnabled:"panningEnabled",panningAxis:"panningAxis",enableZoom:"enableZoom",zoomSpeed:"zoomSpeed",minZoomLevel:"minZoomLevel",maxZoomLevel:"maxZoomLevel",autoZoom:"autoZoom",panOnZoom:"panOnZoom",animate:"animate",autoCenter:"autoCenter",enableTrackpadSupport:"enableTrackpadSupport",showMiniMap:"showMiniMap",miniMapMaxWidth:"miniMapMaxWidth",miniMapPosition:"miniMapPosition",groupResultsBy:"groupResultsBy",zoomLevel:"zoomLevel",panOffsetX:"panOffsetX",panOffsetY:"panOffsetY",layout:"layout",curve:"curve",nodeHeight:"nodeHeight",nodeMaxHeight:"nodeMaxHeight",nodeMinHeight:"nodeMinHeight",nodeWidth:"nodeWidth",nodeMinWidth:"nodeMinWidth",nodeMaxWidth:"nodeMaxWidth",update$:"update$",center$:"center$",zoomToFit$:"zoomToFit$",panToNode$:"panToNode$",layoutSettings:"layoutSettings",miniMapMaxHeight:"miniMapMaxHeight"},outputs:{activate:"activate",deactivate:"deactivate",zoomChange:"zoomChange",clickHandler:"clickHandler"},features:[m.qOj,m.TTD],ngContentSelectors:Ma,decls:5,vars:11,consts:[["mouseWheel","",3,"view","showLegend","legendOptions","legendLabelClick","legendLabelActivate","legendLabelDeactivate","mouseWheelUp","mouseWheelDown"],["class","graph chart",3,"touchstart","touchend",4,"ngIf"],["class","minimap",4,"ngIf"],[1,"graph","chart",3,"touchstart","touchend"],[3,"ngTemplateOutlet",4,"ngIf"],["class","text-path",4,"ngFor","ngForOf"],[1,"panning-rect",3,"mousedown"],[1,"clusters"],["class","node-group",3,"old-node","id","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"links"],["class","link-group",3,"id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nodes"],["class","node-group",3,"old-node","id","click","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],[1,"text-path"],[1,"node-group",3,"id","click"],["clusterElement",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","node cluster",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node","cluster"],["alignment-baseline","central"],[1,"link-group",3,"id"],["linkElement",""],["class","edge",4,"ngIf"],[1,"edge"],[1,"node-group",3,"id","click","mousedown"],["nodeElement",""],["r","10",4,"ngIf"],["r","10"],[1,"minimap"],[1,"minimap-background",3,"mousedown"],[1,"minimap-nodes"],["class","node-group",3,"old-node","id",4,"ngFor","ngForOf","ngForTrackBy"],[1,"minimap-drag",3,"mousedown"],[1,"node-group",3,"id"]],template:function(t,e){1&t&&(m.F$t(),m.TgZ(0,"ngx-charts-chart",0),m.NdJ("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t)})("legendLabelDeactivate",function(t){return e.onDeactivate(t)})("mouseWheelUp",function(t){return e.onZoom(t,"in")})("mouseWheelDown",function(t){return e.onZoom(t,"out")}),m.YNc(1,Sa,12,12,"g",1),m.O4$(),m.TgZ(2,"clipPath"),m._UZ(3,"rect"),m.qZA(),m.YNc(4,Na,6,15,"g",2),m.qZA()),2&t&&(m.Q6J("view",m.WLB(8,Za,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions),m.xp6(1),m.Q6J("ngIf",e.initialized&&e.graph),m.xp6(1),m.uIk("id",e.minimapClipPathId),m.xp6(1),m.uIk("width",e.graphDims.width/e.minimapScaleCoefficient)("height",e.graphDims.height/e.minimapScaleCoefficient),m.xp6(1),m.Q6J("ngIf",e.showMiniMap))},directives:function(){return[Gi,Ja,d.O5,d.sg,d.tP]},styles:[".minimap .minimap-background{fill:rgba(0,0,0,.1)}.minimap .minimap-drag{cursor:pointer;fill:rgba(0,0,0,.2);stroke:#fff;stroke-dasharray:2px;stroke-dashoffset:2px;stroke-width:1px}.minimap .minimap-drag.panning{fill:rgba(0,0,0,.3)}.minimap .minimap-nodes{opacity:.5;pointer-events:none}.graph{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.graph .edge{fill:none;stroke:#666}.graph .edge .edge-label{fill:#251e1e;font-size:12px;stroke:none}.graph .panning-rect{cursor:move;fill:transparent}.graph .node-group.old-node{transition:transform .5s ease-in-out}.graph .node-group .node:focus{outline:none}.graph .cluster rect{opacity:.2}"],encapsulation:2,changeDetection:0}),Ye([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:Ya(n.value,500,void 0)}),this[e]}}},Be("design:type",Function),Be("design:paramtypes",[]),Be("design:returntype",void 0)],e.prototype,"updateMinimap",null),e}(),Ja=function(){var t=function(){function t(){f(this,t),this.mouseWheelUp=new m.vpe,this.mouseWheelDown=new m.vpe}return p(t,[{key:"onMouseWheelChrome",value:function(t){this.mouseWheelFunc(t)}},{key:"onMouseWheelFirefox",value:function(t){this.mouseWheelFunc(t)}},{key:"onWheel",value:function(t){this.mouseWheelFunc(t)}},{key:"onMouseWheelIE",value:function(t){this.mouseWheelFunc(t)}},{key:"mouseWheelFunc",value:function(t){window.event&&(t=window.event);var e=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail||t.deltaY||t.deltaX)),n=t.wheelDelta?e<0:e>0;(t.wheelDelta?e>0:e<0)?this.mouseWheelUp.emit(t):n&&this.mouseWheelDown.emit(t),t.returnValue=!1,t.preventDefault&&t.preventDefault()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=m.lG2({type:t,selectors:[["","mouseWheel",""]],hostBindings:function(t,e){1&t&&m.NdJ("mousewheel",function(t){return e.onMouseWheelChrome(t)})("DOMMouseScroll",function(t){return e.onMouseWheelFirefox(t)})("wheel",function(t){return e.onWheel(t)})("onmousewheel",function(t){return e.onMouseWheelIE(t)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),t}(),Ga=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({providers:[qa],imports:[[to]]}),t}(),Va=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[po],Ga]}),t}();function Ha(){}function Qa(t){return null==t?Ha:function(){return this.querySelector(t)}}function Wa(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Xa(){return[]}function $a(t){return null==t?Xa:function(){return this.querySelectorAll(t)}}function Ka(t){return function(){return this.matches(t)}}function ts(t){return function(e){return e.matches(t)}}var es=Array.prototype.find;function ns(){return this.firstElementChild}var rs=Array.prototype.filter;function is(){return this.children}function os(t){return new Array(t.length)}function as(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function ss(t){return function(){return t}}function us(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}as.prototype={constructor:as,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var fs="http://www.w3.org/1999/xhtml",ds={svg:"http://www.w3.org/2000/svg",xhtml:fs,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ps(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ds.hasOwnProperty(e)?{space:ds[e],local:t}:t}function gs(t){return function(){this.removeAttribute(t)}}function vs(t){return function(){this.removeAttributeNS(t.space,t.local)}}function ms(t,e){return function(){this.setAttribute(t,e)}}function ys(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function _s(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function ws(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function bs(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function xs(t){return function(){this.style.removeProperty(t)}}function Es(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ts(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function As(t,e){return t.style.getPropertyValue(e)||bs(t).getComputedStyle(t,null).getPropertyValue(e)}function Ss(t){return function(){delete this[t]}}function ks(t,e){return function(){this[t]=e}}function Is(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Cs(t){return t.trim().split(/^|\s+/)}function Ds(t){return t.classList||new Ns(t)}function Ns(t){this._node=t,this._names=Cs(t.getAttribute("class")||"")}function Zs(t,e){for(var n=Ds(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function Ks(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var iu=[null];function ou(t,e){this._groups=t,this._parents=e}function au(){return new ou([[document.documentElement]],iu)}ou.prototype=au.prototype=e({constructor:ou,select:function(t){"function"!=typeof t&&(t=Qa(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=b&&(b=w+1);!(_=v[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=hs);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?xs:"function"==typeof e?Ts:Es)(t,e,null==n?"":n)):As(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Ss:"function"==typeof e?Is:ks)(t,e)):this.node()[t]},classed:function(t,e){var n=Cs(t+"");if(arguments.length<2){for(var r=Ds(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ku(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ku(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=vu.exec(t))?new Du(e[1],e[2],e[3],1):(e=mu.exec(t))?new Du(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=yu.exec(t))?ku(e[1],e[2],e[3],e[4]):(e=_u.exec(t))?ku(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=wu.exec(t))?Ou(e[1],e[2]/100,e[3]/100,1):(e=bu.exec(t))?Ou(e[1],e[2]/100,e[3]/100,e[4]):xu.hasOwnProperty(t)?Su(xu[t]):"transparent"===t?new Du(NaN,NaN,NaN,0):null}function Su(t){return new Du(t>>16&255,t>>8&255,255&t,1)}function ku(t,e,n,r){return r<=0&&(t=e=n=NaN),new Du(t,e,n,r)}function Iu(t){return t instanceof lu||(t=Au(t)),t?new Du((t=t.rgb()).r,t.g,t.b,t.opacity):new Du}function Cu(t,e,n,r){return 1===arguments.length?Iu(t):new Du(t,e,n,null==r?1:r)}function Du(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Nu(){return"#"+Mu(this.r)+Mu(this.g)+Mu(this.b)}function Zu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Mu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Ou(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Lu(t,e,n,r)}function Ru(t){if(t instanceof Lu)return new Lu(t.h,t.s,t.l,t.opacity);if(t instanceof lu||(t=Au(t)),!t)return new Lu;if(t instanceof Lu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new Lu(a,s,u,t.opacity)}function Lu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Uu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Pu(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}uu(lu,Au,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Eu,formatHex:Eu,formatHsl:function(){return Ru(this).formatHsl()},formatRgb:Tu,toString:Tu}),uu(Du,Cu,cu(lu,{brighter:function(t){return t=null==t?hu:Math.pow(hu,t),new Du(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Du(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nu,formatHex:Nu,formatRgb:Zu,toString:Zu})),uu(Lu,function(t,e,n,r){return 1===arguments.length?Ru(t):new Lu(t,e,n,null==r?1:r)},cu(lu,{brighter:function(t){return t=null==t?hu:Math.pow(hu,t),new Lu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Lu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Du(Uu(t>=240?t-240:t+120,i,r),Uu(t,i,r),Uu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Fu=function(t){return function(){return t}};function qu(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Fu(isNaN(t)?e:t)}var ju=function t(e){var n=function(t){return 1==(t=+t)?qu:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Fu(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Cu(t)).r,(e=Cu(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=qu(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function zu(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return Pu((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Yu(n,r)})),o=Ju.lastIndex;return o0)throw new Error("too late; already scheduled");return n}function $u(t,e){var n=Ku(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Ku(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var tc,ec=180/Math.PI,nc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rc(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Yu(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,u),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Yu(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,u),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Yu(t,n)},{i:s-2,x:Yu(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var e,n=-1,r=u.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Xu:$u;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var kc=su.prototype.constructor;function Ic(t){return function(){this.style.removeProperty(t)}}function Cc(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Dc(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Cc(t,o,n)),r}return o._value=e,o}function Nc(t){return function(e){this.textContent=t.call(this,e)}}function Zc(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Nc(r)),e}return r._value=t,r}var Mc=0;function Oc(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Rc(){return++Mc}var Lc=su.prototype;Oc.prototype=(function(t){return su().transition(t)}).prototype=e({constructor:Oc,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Qa(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},su.prototype.transition=function(t){var e,n;t instanceof Oc?(e=t._id,t=t._name):(e=Rc(),(n=Uc).time=(0,Qo.zO)(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Bc.prototype,Bc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Jc,Gc=Array.prototype.map;function Vc(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s=0;)e+=n[r].value;else e=1;t.value=e}function Wc(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=$c)):void 0===e&&(e=Xc);for(var n,r,i,o,a,s=new el(t),u=[s];n=u.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)u.push(r=i[o]=new el(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(tl)}function Xc(t){return t.children}function $c(t){return Array.isArray(t)?t[1]:null}function Kc(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function tl(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function el(t){this.data=t,this.depth=this.height=0,this.parent=null}void 0===(Jc={thousands:",",grouping:[3],currency:["$",""]}).grouping||void 0===Jc.thousands||Gc.call(Jc.grouping,Number),void 0===Jc.numerals||Gc.call(Jc.numerals,String),function t(e){function n(t,n,r,i,o){!function(t,e,n,r,i,o){for(var a,s,u,c,l,h,f,d,p,g,v,m=[],y=e.children,_=0,w=0,b=y.length,x=e.value;_f&&(f=s),v=l*l*g,(d=Math.max(f/v,v/h))>p){l-=s;break}p=d}m.push(a={value:l,dice:u1?e:1)},n}((1+Math.sqrt(5))/2),el.prototype=Wc.prototype=e({constructor:el,count:function(){return this.eachAfter(Qc)},each:function(t,e){var n,r=-1,i=c(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.call(e,o,++r,this)}}catch(a){i.e(a)}finally{i.f()}return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],u=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r=0;--r)o.push(n[r]);return this},find:function(t,e){var n,r=-1,i=c(this);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.call(e,o,++r,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return Wc(this).eachBefore(Kc)}},Symbol.iterator,regeneratorRuntime.mark(function t(){var e,n,r,i,o,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=[o=this];case 1:e=a.reverse(),a=[];case 2:if(!(o=e.pop())){t.next=9;break}return t.next=5,o;case 5:if(!(n=o.children)){t.next=7;break}for(r=0,i=n.length;r0?t.hostView.rootNodes[0]:t.location.nativeElement}},{key:"getRootViewContainerNode",value:function(t){return this.getComponentRootNode(t)}},{key:"projectComponentBindings",value:function(t,e){if(e){if(void 0!==e.inputs){var n,r=c(Object.getOwnPropertyNames(e.inputs));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.instance[i]=e.inputs[i]}}catch(u){r.e(u)}finally{r.f()}}if(void 0!==e.outputs){var o,a=c(Object.getOwnPropertyNames(e.outputs));try{for(a.s();!(o=a.n()).done;){var s=o.value;t.instance[s]=e.outputs[s]}}catch(u){a.e(u)}finally{a.f()}}}return t}},{key:"appendComponent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;n||(n=this.getRootViewContainer());var r=this.getComponentRootNode(n),i=new Ge.F0(r,this.componentFactoryResolver,this.applicationRef,this.injector),o=new Ge.C5(t),a=i.attach(o);return this.projectComponentBindings(a,e),a}}],[{key:"setGlobalRootViewContainer",value:function(e){t.globalRootViewContainer=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.LFG(m.z2F),m.LFG(m._Vd),m.LFG(m.zs3))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t}();function ul(t,e,n){var r,i,o;n=n||{};var a=null,s=0;function u(){s=!1===n.leading?0:+new Date,a=null,o=t.apply(r,i)}return function(){var c=+new Date;s||!1!==n.leading||(s=c);var l=e-(c-s);return r=this,i=arguments,l<=0?(clearTimeout(a),a=null,s=c,o=t.apply(r,i)):a||!1===n.trailing||(a=setTimeout(u,l)),o}}var cl=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function ll(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function hl(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}var fl,dl,pl,gl,vl=function(){function t(){f(this,t)}return p(t,null,[{key:"calculateVerticalAlignment",value:function(t,e,n){var r=ll(t,e,n);return r+e.height>window.innerHeight&&(r=window.innerHeight-e.height),r}},{key:"calculateVerticalCaret",value:function(t,e,n,r){var i;"top"===r&&(i=t.height/2-n.height/2+7),"bottom"===r&&(i=e.height-t.height/2-n.height/2-7),"center"===r&&(i=e.height/2-n.height/2);var o=ll(t,e,r);return o+e.height>window.innerHeight&&(i+=o+e.height-window.innerHeight),i}},{key:"calculateHorizontalAlignment",value:function(t,e,n){var r=hl(t,e,n);return r+e.width>window.innerWidth&&(r=window.innerWidth-e.width),r}},{key:"calculateHorizontalCaret",value:function(t,e,n,r){var i;"left"===r&&(i=t.width/2-n.width/2+7),"right"===r&&(i=e.width-t.width/2-n.width/2-7),"center"===r&&(i=e.width/2-n.width/2);var o=hl(t,e,r);return o+e.width>window.innerWidth&&(i+=o+e.width-window.innerWidth),i}},{key:"shouldFlip",value:function(t,e,n,r){var i=!1;return"right"===n&&t.left+t.width+e.width+r>window.innerWidth&&(i=!0),"left"===n&&t.left-e.width-r<0&&(i=!0),"top"===n&&t.top-e.height-r<0&&(i=!0),"bottom"===n&&t.top+t.height+e.height+r>window.innerHeight&&(i=!0),i}},{key:"positionCaret",value:function(e,n,r,i,o){var a=0,s=0;return e===cl.right?(s=-7,a=t.calculateVerticalCaret(r,n,i,o)):e===cl.left?(s=n.width,a=t.calculateVerticalCaret(r,n,i,o)):e===cl.top?(a=n.height,s=t.calculateHorizontalCaret(r,n,i,o)):e===cl.bottom&&(a=-7,s=t.calculateHorizontalCaret(r,n,i,o)),{top:a,left:s}}},{key:"positionContent",value:function(e,n,r,i,o){var a=0,s=0;return e===cl.right?(s=r.left+r.width+i,a=t.calculateVerticalAlignment(r,n,o)):e===cl.left?(s=r.left-n.width-i,a=t.calculateVerticalAlignment(r,n,o)):e===cl.top?(a=r.top-n.height-i,s=t.calculateHorizontalAlignment(r,n,o)):e===cl.bottom&&(a=r.top+r.height+i,s=t.calculateHorizontalAlignment(r,n,o)),{top:a,left:s}}},{key:"determinePlacement",value:function(e,n,r,i){if(t.shouldFlip(r,n,e,i)){if(e===cl.right)return cl.left;if(e===cl.left)return cl.right;if(e===cl.top)return cl.bottom;if(e===cl.bottom)return cl.top}return e}}]),t}(),ml=function(){var t=function(){function t(e,n,r){f(this,t),this.element=e,this.renderer=n,this.platformId=r}return p(t,[{key:"cssClasses",get:function(){var t="ngx-charts-tooltip-content";return t+=" position-".concat(this.placement),t+=" type-".concat(this.type),t+=" ".concat(this.cssClass)}},{key:"ngAfterViewInit",value:function(){setTimeout(this.position.bind(this))}},{key:"position",value:function(){var t=this;if((0,d.NF)(this.platformId)){var e=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(n.height||n.width){var r=e.getBoundingClientRect();this.checkFlip(n,r),this.positionContent(e,n,r),this.showCaret&&this.positionCaret(n,r),setTimeout(function(){return t.renderer.addClass(e,"animate")},1)}}}},{key:"positionContent",value:function(t,e,n){var r=vl.positionContent(this.placement,n,e,this.spacing,this.alignment),i=r.top,o=r.left;this.renderer.setStyle(t,"top","".concat(i,"px")),this.renderer.setStyle(t,"left","".concat(o,"px"))}},{key:"positionCaret",value:function(t,e){var n=this.caretElm.nativeElement,r=n.getBoundingClientRect(),i=vl.positionCaret(this.placement,e,t,r,this.alignment),o=i.top,a=i.left;this.renderer.setStyle(n,"top","".concat(o,"px")),this.renderer.setStyle(n,"left","".concat(a,"px"))}},{key:"checkFlip",value:function(t,e){this.placement=vl.determinePlacement(this.placement,e,t,this.spacing)}},{key:"onWindowResize",value:function(){this.position()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.Lbi))},t.\u0275cmp=m.Xpm({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(nl,5),2&t)&&(m.iGM(n=m.CRH())&&(e.caretElm=n.first))},hostVars:2,hostBindings:function(t,e){1&t&&m.NdJ("resize",function(){return e.onWindowResize()},!1,m.Jf7),2&t&&m.Tol(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"span",0,1),m.TgZ(3,"div",2),m.YNc(4,ol,2,4,"span",3),m.YNc(5,al,1,1,"span",4),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Gre("tooltip-caret position-",e.placement,""),m.Q6J("hidden",!e.showCaret),m.xp6(3),m.Q6J("ngIf",!e.title),m.xp6(1),m.Q6J("ngIf",e.title))},directives:[d.O5,d.tP],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);o>3&&a&&Object.defineProperty(e,n,a)}([function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:ul(n.value,100,void 0)}),this[e]}}}],t.prototype,"onWindowResize",null),t}(),yl=function(){var t=function(t){r(n,t);var e=o(n);function n(t){var r;return f(this,n),(r=e.call(this,t)).type=ml,r}return n}(function(){function t(e){f(this,t),this.injectionService=e,this.defaults={},this.components=new Map}return p(t,[{key:"getByType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return this.components.get(t)}},{key:"create",value:function(t){return this.createByType(this.type,t)}},{key:"createByType",value:function(t,e){e=this.assignDefaults(e);var n=this.injectComponent(t,e);return this.register(t,n),n}},{key:"destroy",value:function(t){var e=this.components.get(t.componentType);if(e&&e.length){var n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}},{key:"destroyAll",value:function(){this.destroyByType(this.type)}},{key:"destroyByType",value:function(t){var e=this.components.get(t);if(e&&e.length)for(var n=e.length-1;n>=0;)this.destroy(e[n--])}},{key:"injectComponent",value:function(t,e){return this.injectionService.appendComponent(t,e)}},{key:"assignDefaults",value:function(t){var e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}},{key:"register",value:function(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}]),t}());return t.\u0275fac=function(e){return new(e||t)(m.LFG(sl))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t}(),_l=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez]]}),t}(),wl=((pl={})[pl.popover="popover"]="popover",pl[pl.tooltip="tooltip"]="tooltip",pl),bl=((dl={})[dl.left="left"]="left",dl[dl.center="center"]="center",dl[dl.right="right"]="right",dl),xl=((fl={})[fl.all="all"]="all",fl[fl.focus="focus"]="focus",fl[fl.mouseover="mouseover"]="mouseover",fl),El=((gl=function(){function t(e,n,r){f(this,t),this.tooltipService=e,this.viewContainerRef=n,this.renderer=r,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=cl.top,this.tooltipAlignment=bl.center,this.tooltipType=wl.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=xl.all,this.tooltipImmediateExit=!1,this.show=new m.vpe,this.hide=new m.vpe}return p(t,[{key:"listensForFocus",get:function(){return this.tooltipShowEvent===xl.all||this.tooltipShowEvent===xl.focus}},{key:"listensForHover",get:function(){return this.tooltipShowEvent===xl.all||this.tooltipShowEvent===xl.mouseover}},{key:"ngOnDestroy",value:function(){this.hideTooltip(!0)}},{key:"onFocus",value:function(){this.listensForFocus&&this.showTooltip()}},{key:"onBlur",value:function(){this.listensForFocus&&this.hideTooltip(!0)}},{key:"onMouseEnter",value:function(){this.listensForHover&&this.showTooltip()}},{key:"onMouseLeave",value:function(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}},{key:"onMouseClick",value:function(){this.listensForHover&&this.hideTooltip(!0)}},{key:"showTooltip",value:function(t){var e=this;if(!this.component&&!this.tooltipDisabled){var n=t?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300:0);clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.tooltipService.destroyAll();var t=e.createBoundOptions();e.component=e.tooltipService.create(t),setTimeout(function(){e.component&&e.addHideListeners(e.component.instance.element.nativeElement)},10),e.show.emit(!0)},n)}}},{key:"addHideListeners",value:function(t){var e=this;this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",function(){clearTimeout(e.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",function(){e.hideTooltip(e.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",function(n){t.contains(n.target)||e.hideTooltip()}))}},{key:"hideTooltip",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.component){var n=function(){t.mouseLeaveContentEvent&&t.mouseLeaveContentEvent(),t.mouseEnterContentEvent&&t.mouseEnterContentEvent(),t.documentClickEvent&&t.documentClickEvent(),t.hide.emit(!0),t.tooltipService.destroy(t.component),t.component=void 0};clearTimeout(this.timeout),e?n():this.timeout=setTimeout(n,this.tooltipHideTimeout)}}},{key:"createBoundOptions",value:function(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}]),t}()).\u0275fac=function(t){return new(t||gl)(m.Y36(yl),m.Y36(m.s_b),m.Y36(m.Qsj))},gl.\u0275dir=m.lG2({type:gl,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&m.NdJ("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),gl),Tl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({providers:[sl,yl],imports:[[d.ez]]}),t}();"undefined"!=typeof window?window:"undefined"!=typeof global&&global;var Al=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[d.ez,_l,Tl],d.ez,_l,Tl]}),t}(),Sl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),kl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Il=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Cl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Dl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}();Math;var Nl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Zl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al,Nl,Dl]]}),t}(),Ml=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Ol=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al]]}),t}(),Rl=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[Al,Nl,kl]]}),t}(),Ll=function(){var t=function t(){f(this,t),"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[Al,Sl,kl,Il,Cl,Dl,Zl,Ml,Nl,Ol,Rl]}),t}();function Ul(t,e){1&t&&(m.TgZ(0,"div"),m._UZ(1,"mat-spinner",3),m.qZA())}function Pl(t,e){if(1&t&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m.qZA()),2&t){var n=m.oxw(3);m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_3")," "),m.xp6(3),m.Oqu(n.service)}}function Fl(t,e){1&t&&(m.O4$(),m.TgZ(0,"marker",10),m._UZ(1,"path",11),m.qZA())}function ql(t,e){if(1&t&&(m.O4$(),m.TgZ(0,"g",12),m._UZ(1,"rect"),m.TgZ(2,"text",13),m._uU(3),m.qZA(),m.qZA()),2&t){var n=e.$implicit;m.Q6J("tooltipPlacement","top")("tooltipType","tooltip")("tooltipTitle",n.tooltip),m.xp6(1),m.uIk("width",n.dimension.width)("height",n.dimension.height)("fill",n.color),m.xp6(1),m.uIk("x",10)("y",n.dimension.height/2),m.xp6(1),m.Oqu(n.label)}}function jl(t,e){if(1&t&&(m.O4$(),m.TgZ(0,"g",14),m._UZ(1,"path",15),m.TgZ(2,"text",16),m.TgZ(3,"textPath",17),m._uU(4),m.qZA(),m.qZA(),m.qZA()),2&t){var n=e.$implicit;m.xp6(3),m.uIk("href","#"+n.id),m.xp6(1),m.hij(" ",n.label," ")}}var zl=function(t,e){return[t,e]};function Yl(t,e){if(1&t&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m._uU(5),m.ALo(6,"translate"),m.TgZ(7,"strong"),m._uU(8),m.qZA(),m.YNc(9,Pl,5,4,"span",4),m.TgZ(10,"div",5),m.TgZ(11,"ngx-graph",6),m.YNc(12,Fl,2,0,"ng-template",null,7,m.W1O),m.YNc(14,ql,4,9,"ng-template",null,8,m.W1O),m.YNc(16,jl,5,2,"ng-template",null,9,m.W1O),m.qZA(),m.qZA(),m.qZA()),2&t){var n=m.oxw(2);m.xp6(1),m.hij(" ",m.lcZ(2,12,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_1")," "),m.xp6(3),m.AsE("",n.user.firstName," ",n.user.lastName,""),m.xp6(1),m.hij(" ",m.lcZ(6,14,"ADMIN.VISUALIZER.USER_DESTINATION.FOUND_2")," "),m.xp6(3),m.Oqu(n.destination),m.xp6(1),m.Q6J("ngIf","noService"!==n.service),m.xp6(2),m.Q6J("links",n.hierarchialGraph.links)("nodes",n.hierarchialGraph.nodes)("curve",n.curve)("draggingEnabled",!1)("zoomToFit$",n.zoomToFit$)("view",m.WLB(16,zl,n.innerWidth,n.innerHeight))}}function Bl(t,e){if(1&t&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"translate"),m.TgZ(3,"strong"),m._uU(4),m.qZA(),m.qZA()),2&t){var n=m.oxw(3);m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_3")," "),m.xp6(3),m.Oqu(n.service)}}function Jl(t,e){if(1&t&&(m._uU(0),m.ALo(1,"translate"),m.TgZ(2,"strong"),m._uU(3),m.qZA(),m._uU(4),m.ALo(5,"translate"),m.TgZ(6,"strong"),m._uU(7),m.qZA(),m.YNc(8,Bl,5,4,"span",4),m._uU(9),m.ALo(10,"translate")),2&t){var n=m.oxw(2);m.hij(" ",m.lcZ(1,7,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_1")," "),m.xp6(3),m.AsE("",n.user.firstName," ",n.user.lastName,""),m.xp6(1),m.hij(" ",m.lcZ(5,9,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_2")," "),m.xp6(3),m.Oqu(n.destination),m.xp6(1),m.Q6J("ngIf","noService"!==n.service),m.xp6(1),m.hij(" ",m.lcZ(10,11,"ADMIN.VISUALIZER.USER_DESTINATION.NOT_FOUND_4")," ")}}function Gl(t,e){if(1&t&&(m.YNc(0,Yl,18,19,"div",1),m.YNc(1,Jl,11,13,"ng-template",null,2,m.W1O)),2&t){var n=m.MAs(2),r=m.oxw();m.Q6J("ngIf",r.isConnected)("ngIfElse",n)}}var Vl=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c){f(this,t),this.route=e,this.facilityManager=n,this.userService=r,this.membersService=i,this.serviceService=o,this.resourceManager=a,this.groupService=s,this.voService=u,this.translate=c,this.idCounter=0,this.isConnected=!1,this.loading=!0,this.hierarchialGraph={nodes:[],links:[]},this.curve=je,this.zoomToFit$=new ze.xQ}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.innerWidth=window.innerWidth<600?window.innerWidth:window.innerWidth-420,this.innerHeight=window.innerHeight,this.getLocalizedNames(),this.route.queryParams.subscribe(function(e){console.log(e),t.destination=e.destination,t.service=e.service,t.userService.getUserById(e.user).subscribe(function(e){t.user=e,t.facilityManager.getFacilitiesByDestination(t.destination).subscribe(function(e){t.facilities=e,t.membersService.getMembersByUser(t.user.id).subscribe(function(e){if(t.membership=e,0===t.membership.length||0===t.facilities.length)return t.loading=!1,void(t.isConnected=!1);t.showGraph()})})})})}},{key:"showGraph",value:function(){var t=this,e=""+this.id();this.hierarchialGraph.nodes=[].concat(n(this.hierarchialGraph.nodes),[{id:e,label:this.user.firstName+" "+this.user.lastName,tooltip:this.localUser,color:"#FFFFCC",tip:"user: "+this.user.id}]);var r=""+this.id(),i="destination no id";this.hierarchialGraph.nodes="noService"===this.service?[].concat(n(this.hierarchialGraph.nodes),[{id:r,label:this.destination,tooltip:this.localDestination+": "+this.destination,color:"#E0E0E0",tip:i}]):[].concat(n(this.hierarchialGraph.nodes),[{id:r,label:this.service+": "+this.destination,tooltip:this.localService+": "+this.service+", "+this.localDestination+": "+this.destination,color:"#E0E0E0",tip:i}]);var o,a=c(this.facilities);try{var s=function(){var e=o.value;t.serviceService.getAllRichDestinationsForFacility(e.id).subscribe(function(n){t.connectToService(e,n),t.delay(2e3).then(function(){t.zoomToFit$.next(!0),t.loading=!1})})};for(a.s();!(o=a.n()).done;)s()}catch(u){a.e(u)}finally{a.f()}}},{key:"connectToService",value:function(t,e){var n=this;this.isConnectedToService(e)&&this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(function(e){for(var r=0;r0)}}function Ah(t,e){1&t&&(m.TgZ(0,"app-alert",15),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.Q6J("alert_type","info"),m.xp6(1),m.hij(" ",m.lcZ(2,2,"DIALOGS.CONNECT_IDENTITY.SEARCH_HINT")," "))}function Sh(t,e){1&t&&(m.TgZ(0,"app-alert",16),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CONNECT_IDENTITY.NO_IDENTITIES")," "))}function kh(t,e){1&t&&m._UZ(0,"mat-spinner",17)}var Ih=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.dialogRef=e,this.data=n,this.tableConfigService=r,this.userManager=i,this.storeService=o,this.notificator=a,this.translate=s,this.loading=!1,this.selection=new k.Ov(!1,[]),this.firstSearchDone=!1,this.displayedColumns=["select","id","user","name","email","logins","organization"],this.tableId=ht.Iz}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.userId=this.data.userId,this.isService=this.data.isService,this.searchCtrl=new G.NI("",[G.kI.required,G.kI.pattern(".*[\\S]+.*")])}},{key:"onAdd",value:function(){var t,e,n=this;this.loading=!0,this.isService?(t=this.selection.selected[0].id,e=this.userId):(t=this.userId,e=this.selection.selected[0].id),this.userManager.addSpecificUserOwner(t,e).subscribe(function(){n.notificator.showSuccess(n.translate.instant("DIALOGS.CONNECT_IDENTITY.SUCCESS")),n.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSearchByString",value:function(){var t=this;if(this.searchCtrl.invalid)this.searchCtrl.markAllAsTouched();else{this.loading=!0,this.firstSearchDone=!0;var e=[bh.r.USER_DEF_ORGANIZATION,bh.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.userManager.findRichUsersWithAttributes(this.searchCtrl.value,e).subscribe(function(e){t.identities=t.filterIdentities(e),t.loading=!1},function(){t.loading=!1})}}},{key:"onKeyInput",value:function(t){"Enter"===t.key&&this.onSearchByString()}},{key:"filterIdentities",value:function(t){return t.filter(this.isService?function(t){return!t.serviceUser}:function(t){return t.serviceUser})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(D.d6),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-connect-identity-dialog"]],decls:26,vars:25,consts:[[3,"keyup"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2","search-btn",3,"disabled","click"],[4,"ngIf"],[3,"alert_type",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page",4,"ngIf"],[3,"pageSize","displayedColumns","users","disableRouting","selection","page"],[3,"alert_type"],["alert_type","warn"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.NdJ("keyup",function(t){return e.onKeyInput(t)}),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",2),m.TgZ(5,"mat-form-field",3),m.TgZ(6,"label"),m._UZ(7,"input",4),m.ALo(8,"translate"),m.qZA(),m.TgZ(9,"mat-error"),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return e.onSearchByString()}),m.TgZ(13,"mat-icon"),m._uU(14,"search"),m.qZA(),m.qZA(),m.YNc(15,Th,2,1,"div",6),m.YNc(16,Ah,3,4,"app-alert",7),m.YNc(17,Sh,3,3,"app-alert",8),m.qZA(),m.YNc(18,kh,1,0,"mat-spinner",9),m.TgZ(19,"div",10),m.TgZ(20,"button",11),m.NdJ("click",function(){return e.onCancel()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.TgZ(23,"button",12),m.NdJ("click",function(){return e.onAdd()}),m._uU(24),m.ALo(25,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(m.lcZ(3,15,"DIALOGS.CONNECT_IDENTITY.TITLE")),m.xp6(5),m.s9C("placeholder",m.lcZ(8,17,"DIALOGS.CONNECT_IDENTITY.SEARCH")),m.Q6J("formControl",e.searchCtrl),m.xp6(3),m.hij(" ",m.lcZ(11,19,"DIALOGS.CONNECT_IDENTITY.EMPTY_SEARCH_MESSAGE")," "),m.xp6(2),m.Q6J("disabled",e.loading),m.xp6(3),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.firstSearchDone),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.firstSearchDone&&0===e.identities.length),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(3),m.hij(" ",m.lcZ(22,21,"DIALOGS.CONNECT_IDENTITY.CANCEL")," "),m.xp6(2),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(25,23,"DIALOGS.CONNECT_IDENTITY.CONNECT")," "))},directives:[I.uh,I.xY,B.KE,J.Nt,G.Fj,G.JJ,G.oH,B.TO,Z.lW,w.Hw,d.O5,I.H8,xh.C,O.w,M.$g],pipes:[x.X$],styles:[".search-field[_ngcontent-%COMP%]{width:300px}.search-btn[_ngcontent-%COMP%]{width:50px}"]}),t}();function Ch(t,e){1&t&&m._UZ(0,"th",12)}function Dh(t,e){if(1&t&&(m.TgZ(0,"td",13),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",m.lcZ(2,1,n)," ")}}function Nh(t,e){1&t&&m._UZ(0,"tr",14)}function Zh(t,e){1&t&&m._UZ(0,"tr",15)}var Mh=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.userManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"]}return p(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.userId=this.data.userId,this.dataSource=new C.by([this.data.specificUser]),this.isService=this.data.isService}},{key:"onConfirm",value:function(){var t,e,n=this;this.isService?(t=this.dataSource.data[0].id,e=this.userId):(t=this.userId,e=this.dataSource.data[0].id),this.userManager.removeSpecificUserOwner(t,e).subscribe(function(){n.notificator.showSuccess(n.translate.instant("DIALOGS.DISCONNECT_IDENTITY.SUCCESS")),n.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.Fv),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-disconnect-identity-dialog"]],decls:24,vars:21,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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.TgZ(4,"div",1),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"div",2),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.TgZ(11,"table",3),m.ynx(12,4),m.YNc(13,Ch,1,0,"th",5),m.YNc(14,Dh,3,3,"td",6),m.BQk(),m.YNc(15,Nh,1,0,"tr",7),m.YNc(16,Zh,1,0,"tr",8),m.qZA(),m.qZA(),m.TgZ(17,"div",9),m.TgZ(18,"button",10),m.NdJ("click",function(){return e.onCancel()}),m._uU(19),m.ALo(20,"translate"),m.qZA(),m.TgZ(21,"button",11),m.NdJ("click",function(){return e.onConfirm()}),m._uU(22),m.ALo(23,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,11,"DIALOGS.DISCONNECT_IDENTITY.TITLE")),m.xp6(2),m.Tol(e.theme),m.xp6(3),m.Oqu(m.lcZ(7,13,"DIALOGS.DISCONNECT_IDENTITY.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(10,15,"DIALOGS.DISCONNECT_IDENTITY.ASK")," "),m.xp6(2),m.Q6J("dataSource",e.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",e.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",e.displayedColumns),m.xp6(3),m.hij(" ",m.lcZ(20,17,"DIALOGS.DISCONNECT_IDENTITY.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(23,19,"DIALOGS.DISCONNECT_IDENTITY.REMOVE")," "))},directives:[I.uh,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,I.H8,Z.lW,C.ge,C.ev,C.XQ,C.Gk],pipes:[x.X$,eh.d],styles:[""]}),t}();function Oh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Rh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.CREATE")," "))}function Lh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.DELETE")," ")}}function Uh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-users-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("users",r.identities)("selection",r.selection)("displayedColumns",r.displayedColumns)}}function Ph(t,e){1&t&&(m.TgZ(0,"app-alert",11),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.NO_IDENTITIES")," "))}function Fh(t,e){1&t&&m._UZ(0,"mat-spinner",12)}var qh=function(){var t=function(){function t(e,n,r,i,o,a){f(this,t),this.route=e,this.dialog=n,this.router=r,this.tableConfigService=i,this.userManager=o,this.authResolver=a,this.loading=!1,this.selection=new k.Ov(!1,[]),this.identities=[],this.tableId=ht.Iz,this.displayedColumns=["select","id","user","name"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.userId=e.userId,t.userManager.getSpecificUsersByUser(t.userId).subscribe(function(e){t.identities=e,t.loading=!1})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.userManager.getSpecificUsersByUser(this.userId).subscribe(function(e){t.identities=e,t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1250px",e.data={userId:this.userId,theme:"user-theme",isService:!1},this.dialog.open(Ih,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],theme:"user-theme"},this.dialog.open(Mh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(I.uw),m.Y36(g.F0),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-settings-service-identities"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Oh,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Rh,3,3,"button",2),m.YNc(6,Lh,3,4,"button",3),m.YNc(7,Uh,1,4,"app-users-list",4),m.YNc(8,Ph,3,3,"app-alert",5),m.qZA(),m.YNc(9,Fh,1,0,"mat-spinner",6)),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"USER_DETAIL.SETTINGS.SERVICE_IDENTITIES.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",void 0!==e.identities&&e.identities.length>0),m.xp6(1),m.Q6J("ngIf",!e.loading&&(void 0===e.identities||0===e.identities.length)),m.xp6(1),m.Q6J("ngIf",e.loading))},directives:[d.O5,gt.t,Z.lW,xh.C,O.w,M.$g],pipes:[x.X$],styles:[""]}),t}(),jh=l(56238),zh=l(79996);function Yh(t,e){1&t&&m._UZ(0,"mat-spinner",7)}function Bh(t,e){if(1&t&&(m.TgZ(0,"mat-option",14),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.Q6J("value",n),m.xp6(1),m.hij(" ",n.name," ")}}function Jh(t,e){if(1&t&&(m.TgZ(0,"div"),m.TgZ(1,"mat-form-field",8),m._UZ(2,"input",9),m.ALo(3,"translate"),m.TgZ(4,"mat-error"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA(),m.TgZ(7,"mat-form-field",8),m._UZ(8,"input",10),m.ALo(9,"translate"),m.TgZ(10,"mat-error"),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.TgZ(13,"mat-autocomplete",11,12),m.YNc(15,Bh,2,2,"mat-option",13),m.ALo(16,"async"),m.qZA(),m.qZA(),m.qZA()),2&t){var n=m.MAs(14),r=m.oxw();m.xp6(2),m.s9C("placeholder",m.lcZ(3,9,"DIALOGS.ADD_USER_EXT_SOURCE.LOGIN")),m.Q6J("formControl",r.loginControl),m.xp6(3),m.hij(" ",m.lcZ(6,11,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_LOGIN")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.ADD_USER_EXT_SOURCE.EXT_SOURCE")),m.Q6J("formControl",r.extSourcesControl)("matAutocomplete",n),m.xp6(3),m.hij(" ",m.lcZ(12,15,"DIALOGS.ADD_USER_EXT_SOURCE.EMPTY_EXT_SOURCE")," "),m.xp6(2),m.Q6J("displayWith",r.displayFn),m.xp6(2),m.Q6J("ngForOf",m.lcZ(16,17,r.filteredExtSources))}}var Gh=function(){var t=function(){function t(e,n,r,i,o,a){var s=this;f(this,t),this.dialogRef=e,this.data=n,this.extSourcesManagerService=r,this.usersManagerService=i,this.translate=o,this.notificator=a,this.extSources=[],o.get("DIALOGS.ADD_USER_EXT_SOURCE.SUCCESS").subscribe(function(t){return s.successMessage=t})}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.loginControl=new G.NI("",[G.kI.required,G.kI.pattern(".*[\\S]+.*")]),this.extSourcesControl=new G.NI("",[G.kI.required]),this.loginControl.markAllAsTouched(),this.extSourcesControl.markAllAsTouched(),this.filteredExtSources=this.extSourcesControl.valueChanges.pipe((0,jh.O)(""),(0,zh.U)(function(e){return t._filter(e)})),this.extSourcesManagerService.getExtSources().subscribe(function(e){t.extSources=e,t.filteredExtSources=t.extSourcesControl.valueChanges.pipe((0,jh.O)(""),(0,zh.U)(function(e){return t._filter(e)})),t.loading=!1},function(){return t.loading=!1})}},{key:"displayFn",value:function(t){return t?t.name:null}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onAdd",value:function(){var t=this;this.loading=!0,this.usersManagerService.addUserExtSource({user:this.data.userId,userExtSource:{beanName:"",extSource:this.extSourcesControl.value,id:0,login:this.loginControl.value,userId:this.data.userId}}).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"_filter",value:function(t){var e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.extSources.filter(function(t){return t.name.toLowerCase().includes(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KG),m.Y36(N.Fv),m.Y36(x.sK),m.Y36(D.V6))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-user-ext-source-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[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"],[1,"center-self","w-100"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","type","text","required","",3,"formControl","matAutocomplete","placeholder"],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.YNc(4,Yh,1,0,"mat-spinner",2),m.YNc(5,Jh,17,19,"div",3),m.qZA(),m.TgZ(6,"div",4),m.TgZ(7,"button",5),m.NdJ("click",function(){return e.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",6),m.NdJ("click",function(){return e.onAdd()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,6,"DIALOGS.ADD_USER_EXT_SOURCE.TITLE")),m.xp6(3),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(3),m.hij(" ",m.lcZ(9,8,"DIALOGS.ADD_USER_EXT_SOURCE.CANCEL")," "),m.xp6(2),m.Q6J("disabled",e.loginControl.invalid||e.extSourcesControl.invalid||e.loading),m.xp6(1),m.hij(" ",m.lcZ(12,10,"DIALOGS.ADD_USER_EXT_SOURCE.ADD")," "))},directives:[I.uh,I.xY,d.O5,I.H8,Z.lW,M.$g,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,Ie.ZL,Ie.XC,d.sg,X.ey],pipes:[x.X$,d.Ov],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.auto-width[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:auto!important}.auto-width[_ngcontent-%COMP%] .mat-select-value[_ngcontent-%COMP%]{max-width:100%;width:auto}.pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t}(),Vh=l(61189),Hh=l(23888);function Qh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(n),m.oxw().addIdentity()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"USER_DETAIL.IDENTITIES.ADD")))}function Wh(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().removeIdentity()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(2,2,"USER_DETAIL.IDENTITIES.REMOVE"))}}function Xh(t,e){1&t&&m._UZ(0,"mat-spinner",9)}function $h(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"perun-web-apps-user-ext-sources-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(1),m.Q6J("displayedColumns",r.displayedColumns)("selection",r.selection)("userExtSources",r.userExtSources)("pageSize",r.pageSize)}}var Kh=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.usersManagerService=e,this.storage=n,this.registrarManagerService=r,this.dialog=i,this.route=o,this.tableConfigService=a,this.authResolver=s,this.userExtSources=[],this.selection=new k.Ov(!1,[]),this.displayedColumns=["select","id","extSourceName","login","lastAccess"],this.tableId=ht.gG}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.userId=e.userId}),this.refreshTable()}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.selection.clear(),this.usersManagerService.getRichUserExtSources(this.userId).subscribe(function(e){t.userExtSources=e,t.loading=!1},function(){return t.loading=!1})}},{key:"addIdentity",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={userId:this.userId},this.dialog.open(Gh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeIdentity",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={showSuccess:!0,theme:"user-theme",userId:this.userId,extSources:this.selection.selected},this.dialog.open(Vh.Lc,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.Fv),m.Y36(D.d6),m.Y36(N.tk),m.Y36(I.uw),m.Y36(g.gz),m.Y36(ht.dB),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-identities"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"admin-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","selection","userExtSources","pageSize","page"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(4,Qh,3,3,"button",2),m.YNc(5,Wh,3,4,"button",3),m.TgZ(6,"div",4),m.YNc(7,Xh,1,0,"mat-spinner",5),m.qZA(),m.YNc(8,$h,2,4,"div",6)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,5,"USER_DETAIL.IDENTITIES.TITLE")),m.xp6(3),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,Z.lW,M.$g,Hh.j],pipes:[x.X$],styles:[""]}),t}();function tf(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function ef(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",5),m.TgZ(1,"mat-form-field"),m.TgZ(2,"input",6),m.NdJ("change",function(){return m.CHM(n),m.oxw().makePath()}),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"mat-error"),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA(),m.TgZ(7,"mat-form-field"),m.TgZ(8,"input",7),m.NdJ("ngModelChange",function(t){return m.CHM(n),m.oxw().description=t}),m.ALo(9,"translate"),m.qZA(),m.qZA(),m.TgZ(10,"mat-form-field"),m._UZ(11,"input",8),m.ALo(12,"translate"),m.TgZ(13,"mat-error"),m._uU(14),m.ALo(15,"translate"),m.qZA(),m.qZA(),m.TgZ(16,"mat-form-field"),m._UZ(17,"input",8),m.ALo(18,"translate"),m.TgZ(19,"mat-error"),m._uU(20),m.ALo(21,"translate"),m.qZA(),m.qZA(),m.TgZ(22,"mat-form-field"),m._UZ(23,"input",8),m.ALo(24,"translate"),m.TgZ(25,"mat-error"),m._uU(26),m.ALo(27,"translate"),m.qZA(),m.qZA(),m.TgZ(28,"span",9),m._uU(29),m.ALo(30,"translate"),m.TgZ(31,"mat-checkbox",10),m.NdJ("ngModelChange",function(t){return m.CHM(n),m.oxw().status=t}),m._uU(32),m.ALo(33,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.s9C("placeholder",m.lcZ(3,17,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),m.Q6J("formControl",r.nameControl),m.xp6(3),m.Oqu(m.lcZ(6,19,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),m.xp6(3),m.s9C("placeholder",m.lcZ(9,21,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),m.Q6J("ngModel",r.description),m.xp6(3),m.s9C("placeholder",m.lcZ(12,23,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),m.Q6J("formControl",r.delayControl),m.xp6(3),m.Oqu(m.lcZ(15,25,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),m.xp6(3),m.s9C("placeholder",m.lcZ(18,27,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),m.Q6J("formControl",r.recurrenceControl),m.xp6(3),m.Oqu(m.lcZ(21,29,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),m.xp6(3),m.s9C("placeholder",m.lcZ(24,31,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),m.Q6J("formControl",r.pathControl),m.xp6(3),m.Oqu(m.lcZ(27,33,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),m.xp6(3),m.hij("",m.lcZ(30,35,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),m.xp6(2),m.Q6J("ngModel",r.status),m.xp6(1),m.Oqu(m.lcZ(33,37,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT"))}}function nf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",11),m.TgZ(1,"button",12),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",13),m.NdJ("click",function(){m.CHM(n);var t=m.oxw();return t.asEdit?t.onEdit():t.onCreate()}),m._uU(5),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),m.xp6(2),m.Q6J("disabled",r.nameControl.invalid||r.delayControl.invalid||r.recurrenceControl.invalid||r.pathControl.invalid),m.xp6(1),m.hij(" ",r.buttonText," ")}}var rf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.loading=!1,this.status=!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}return p(t,[{key:"ngOnInit",value:function(){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.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"))}},{key:"onCreate",value:function(){var t=this;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,id:0,beanName:""}}).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),t.dialogRef.close(!0),t.loading=!1})}},{key:"onEdit",value:function(){var t=this;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,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),t.dialogRef.close(!0),t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"makePath",value:function(){var t="./".concat(this.nameControl.value);this.pathControl.setValue(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder","change"],["matInput","",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.qZA(),m.YNc(3,tf,1,0,"mat-spinner",1),m.YNc(4,ef,34,39,"div",2),m.YNc(5,nf,6,5,"div",3),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(e.title),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,G.On,W.oG,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}(),of=l(20247),af=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"],this.dataSource=new C.by(this.data.services),this.loading=!1,this.force=!1,this.relations=[]}return p(t,[{key:"ngOnInit",value:function(){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")}},{key:"onConfirm",value:function(){var t=this;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(function(){t.onConfirm(),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-delete-service-dialog"]],decls:2,vars:7,consts:[[3,"anotherMessage","entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(t){return e.onSubmit(t)}),m.qZA(),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(1),m.Q6J("anotherMessage",e.anotherMessage)("entityNames",e.dataSource)("entityType","services")("relations",e.relations))},directives:[of.e],styles:[""]}),t}();function sf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(n),m.oxw().createService()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"ADMIN.SERVICES.CREATE"),""))}function uf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().deleteService()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.SERVICES.DELETE"),"")}}function cf(t,e){1&t&&m._UZ(0,"mat-spinner",9)}function lf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-services-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("selection",r.selection)("services",r.services)("filterValue",r.filterValue)}}var hf=function(){var t=function(){function t(e,n,r,i){f(this,t),this.tableConfigService=e,this.serviceManager=n,this.dialog=r,this.authResolver=i,this.selection=new k.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=ht.NL}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.serviceManager.getServices().subscribe(function(e){t.services=e,t.refreshTable()})}},{key:"createService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"admin-theme"},this.dialog.open(rf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"deleteService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(af,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.serviceManager.getServices().subscribe(function(e){t.services=e,t.selection.clear(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(ht.dB),m.Y36(N.KK),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"ml-2",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","selection","services","filterValue","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"pageSize","selection","services","filterValue","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(5,sf,3,3,"button",2),m.YNc(6,uf,3,4,"button",3),m.TgZ(7,"perun-web-apps-immediate-filter",4),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(8,cf,1,0,"mat-spinner",5),m.YNc(9,lf,1,4,"app-services-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,6,"ADMIN.SERVICES.TITLE")),m.xp6(3),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("placeholder","ADMIN.SERVICES.FILTER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,vt.L,Z.lW,M.$g,wt.Q],pipes:[x.X$],styles:[""]}),t}(),ff=l(88884);function df(t,e){1&t&&m._UZ(0,"mat-spinner",5)}var pf=function(){return["id","name","vo","facility","description"]};function gf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-resources-list",6),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("resources",r.resources)("filterValue",r.filterValue)("displayedColumns",m.DdM(4,pf))}}var vf=function(){var t=function(){function t(e,n,r){f(this,t),this.userManager=e,this.tableConfigService=n,this.route=r,this.resources=[],this.tableId=ht.kO,this.filterValue=""}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.userManager.getAssignedRichResourcesForUser(e.userId).subscribe(function(e){t.resources=e,t.loading=!1})})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"resourceFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.Fv),m.Y36(ht.dB),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-perun-web-apps-user-resources"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","resources","filterValue","displayedColumns","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","resources","filterValue","displayedColumns","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"perun-web-apps-immediate-filter",2),m.NdJ("filter",function(t){return e.resourceFilter(t)}),m.qZA(),m.YNc(6,df,1,0,"mat-spinner",3),m.YNc(7,gf,1,5,"perun-web-apps-resources-list",4),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,4,"USER_DETAIL.RESOURCES.TITLE")),m.xp6(3),m.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,vt.L,d.O5,M.$g,ff.C],pipes:[x.X$],styles:[""]}),t}(),mf=l(13572),yf=l(40695),_f=l(41186),wf=["list"];function bf(t,e){1&t&&m._UZ(0,"mat-spinner",7)}function xf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-attributes-list",8,9),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("attributes",r.attributes)("selection",r.selection)}}var Ef=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialog=e,this.attributesManager=n,this.tableConfigService=r,this.userService=i,this.route=o,this.loading=!1,this.selection=new k.Ov(!0,[]),this.tableId=ht.rF,this.attributes=[]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(function(e){t.userService.getUserExtSourceById(e.identityId).subscribe(function(e){t.userExtSource=e,t.refreshTable()})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributesManager.getUserExtSourceAttributes(this.userExtSource.id).subscribe(function(e){t.attributes=(0,lt.MX)(e),t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1050px",e.data={entityId:this.userExtSource.id,entity:"ues",notEmptyAttributes:this.attributes,style:"user-theme"},this.dialog.open(yf.n,e).afterClosed().subscribe(function(e){"saved"===e&&t.refreshTable()})}},{key:"onSave",value:function(){var t=this;this.list.updateMapAttributes();var e=(0,lt.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(Vh.wA,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="450px",e.data={entityId:this.userExtSource.id,entity:"ues",attributes:this.selection.selected},this.dialog.open(mf.k,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.uw),m.Y36(N.H8),m.Y36(ht.dB),m.Y36(N.Fv),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-identity-detail"]],viewQuery:function(t,e){var n;(1&t&&m.Gf(wf,5),2&t)&&(m.iGM(n=m.CRH())&&(e.list=n.first))},decls:16,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"button",2),m.NdJ("click",function(){return e.onSave()}),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"button",3),m.NdJ("click",function(){return e.onAdd()}),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.TgZ(11,"button",4),m.NdJ("click",function(){return e.onRemove()}),m._uU(12),m.ALo(13,"translate"),m.qZA(),m.YNc(14,bf,1,0,"mat-spinner",5),m.YNc(15,xf,2,3,"perun-web-apps-attributes-list",6),m.qZA()),2&t&&(m.xp6(2),m.AsE("",m.lcZ(3,9,"SHARED.IDENTITY_DETAIL.TITLE")," - ",e.userExtSource?e.userExtSource.extSource.name:"",""),m.xp6(3),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(7,11,"SHARED.IDENTITY_DETAIL.SAVE")),m.xp6(3),m.Oqu(m.lcZ(10,13,"SHARED.IDENTITY_DETAIL.ADD")),m.xp6(2),m.Q6J("disabled",0===e.selection.selected.length),m.xp6(1),m.Oqu(m.lcZ(13,15,"SHARED.IDENTITY_DETAIL.REMOVE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,Z.lW,d.O5,M.$g,_f.p],pipes:[x.X$],styles:[""]}),t}();function Tf(t,e){1&t&&m._UZ(0,"mat-spinner",3)}function Af(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",15),m.NdJ("click",function(){return m.CHM(n),m.oxw(2).editService()}),m.TgZ(1,"mat-icon"),m._uU(2,"edit"),m.qZA(),m.qZA()}}function Sf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",16),m.NdJ("click",function(){return m.CHM(n),m.oxw(2).removeService()}),m.TgZ(1,"mat-icon"),m._uU(2,"delete_forever"),m.qZA(),m.qZA()}}var kf=function(){return{color:"black"}},If=function(t){return["/admin/services",t]};function Cf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",4),m._UZ(1,"mat-icon",5),m.ALo(2,"translate"),m.TgZ(3,"div",6),m.TgZ(4,"div",7),m.TgZ(5,"a",8),m._uU(6),m.qZA(),m.TgZ(7,"span",9),m._uU(8),m.qZA(),m.YNc(9,Af,3,0,"button",10),m.YNc(10,Sf,3,0,"button",11),m.qZA(),m.TgZ(11,"span",12),m._uU(12),m.ALo(13,"translate"),m.qZA(),m.TgZ(14,"div",12),m._uU(15),m.ALo(16,"translate"),m.TgZ(17,"span"),m._uU(18),m.ALo(19,"translate"),m.ALo(20,"translate"),m.TgZ(21,"button",13),m.NdJ("click",function(){return m.CHM(n),m.oxw().changeServiceStatus()}),m.TgZ(22,"mat-icon",14),m._uU(23),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(1),m.s9C("matTooltip",m.lcZ(2,12,"SERVICE_DETAIL.ENTITY")),m.Q6J("ngStyle",m.DdM(22,kf)),m.xp6(4),m.Q6J("routerLink",m.VKq(23,If,r.service.id)),m.xp6(1),m.hij(" ",r.service.name," "),m.xp6(2),m.hij(" \xa0 #",r.service.id," "),m.xp6(1),m.Q6J("ngIf",r.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",r.authResolver.isPerunAdmin()),m.xp6(2),m.AsE(" ",m.lcZ(13,14,"SERVICE_DETAIL.DESCRIPTION"),": ",r.service.description," "),m.xp6(3),m.hij(" ",m.lcZ(16,16,"SERVICE_DETAIL.STATUS"),": "),m.xp6(3),m.hij(" ",r.service.enabled?m.lcZ(19,18,"SERVICE_DETAIL.ENABLED"):m.lcZ(20,20,"SERVICE_DETAIL.DISABLED")," "),m.xp6(5),m.hij(" ",r.service.enabled?"check_circle_outline":"block"," ")}}var Df=function(){var t=function(){function t(e,n,r,i,o,a,s,u,c){f(this,t),this.route=e,this.router=n,this.serviceManager=r,this.sideMenuService=i,this.sideMenuItemService=o,this.dialog=a,this.authResolver=s,this.translate=u,this.notificator=c,this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.serviceId=e.serviceId,t.refresh()})}},{key:"refresh",value:function(){var t=this;this.serviceManager.getServiceById(this.serviceId).subscribe(function(e){t.service=e;var n=t.sideMenuItemService.parseService(t.service);t.sideMenuService.setAdminItems([n]),t.loading=!1},function(){return t.loading=!1})}},{key:"editService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"service-theme",service:this.service},this.dialog.open(rf,e).afterClosed().subscribe(function(e){e&&t.ngOnInit()})}},{key:"removeService",value:function(){var t=this,e=(0,lt.kZ)();e.width="600px",e.data={theme:"service-theme",services:[this.service]},this.dialog.open(af,e).afterClosed().subscribe(function(e){e&&t.router.navigate(["/admin/services"])})}},{key:"changeServiceStatus",value:function(){var t=this;this.loading=!0,this.serviceManager.updateService({service:{name:this.service.name,description:this.service.description,delay:this.service.delay,recurrence:this.service.recurrence,enabled:!this.service.enabled,script:this.service.script,id:this.service.id,beanName:this.service.beanName}}).subscribe(function(){t.notificator.showSuccess(t.translate.instant("SERVICE_DETAIL.STATUS_CHANGE_SUCCESS")),t.refresh()},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(g.F0),m.Y36(N.KK),m.Y36(y.D),m.Y36(v.V),m.Y36(I.uw),m.Y36(D.x4),m.Y36(x.sK),m.Y36(D.V6))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-detail-page"]],decls:5,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","service-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex page-title-headtitle",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-service",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"service-link",3,"routerLink"],[1,"text-muted"],["aria-label","Edit service","mat-icon-button","",3,"click",4,"ngIf"],["aria-label","Remove service","mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"],[1,"align-content-center"],["aria-label","Edit service","mat-icon-button","",3,"click"],["aria-label","Remove service","mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m._UZ(1,"perun-web-apps-back-button"),m.YNc(2,Tf,1,0,"mat-spinner",1),m.YNc(3,Cf,24,25,"div",2),m._UZ(4,"app-animated-router-outlet"),m.qZA()),2&t&&(m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&void 0!==e.service))},directives:[_.W,d.O5,b.A,M.$g,w.Hw,Y.gM,d.PC,g.yS,Z.lW],pipes:[x.X$],styles:[""],data:{animation:[yt.Ji]}}),t}(),Nf=function(){var t=function(){function t(){f(this,t),this.navItems=[]}return p(t,[{key:"ngOnInit",value:function(){this.initNavItems()}},{key:"initNavItems",value:function(){this.navItems=[{cssIcon:"perun-attributes",url:"required-attributes",label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",style:"service-btn"},{cssIcon:"perun-service_destination",url:"destinations",label:"MENU_ITEMS.SERVICE.DESTINATIONS",style:"service-btn"}]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-overview"]],decls:1,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&m._UZ(0,"perun-web-apps-menu-buttons-field",0),2&t&&m.Q6J("items",e.navItems)("size","small")},directives:[A.L],styles:[""]}),t}();function Zf(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function Mf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",5),m.TgZ(1,"perun-web-apps-immediate-filter",6),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA(),m._UZ(2,"app-attr-def-list",7),m.qZA()}if(2&t){var r=m.oxw();m.xp6(1),m.Q6J("placeholder","DIALOGS.ADD_REQUIRED_ATTRIBUTES.FILTER"),m.xp6(1),m.Q6J("selection",r.selection)("definitions",r.attrDefinitions)("disableRouting",!0)("filterValue",r.filterValue)}}function Of(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",8),m.TgZ(1,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",10),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.CANCEL")," "),m.xp6(2),m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(6,5,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.ADD")," ")}}var Rf=function(){var t=function(){function t(e,n,r,i,o,a){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.attributesManager=i,this.notificator=o,this.translate=a,this.attrDefinitions=[],this.selection=new k.Ov(!0,[]),this.filterValue="",this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.attributesManager.getAllAttributeDefinitions().subscribe(function(e){t.attrDefinitions=e,t.loading=!1})}},{key:"onAdd",value:function(){var t=this;this.loading=!0;var e=this.selection.selected.map(function(t){return t.id});this.serviceManager.addRequiredAttributes(this.serviceId,e).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.ADD_REQUIRED_ATTRIBUTES.SUCCESS")),t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(N.H8),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-required-attributes"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"selection","definitions","disableRouting","filterValue"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Zf,1,0,"mat-spinner",1),m.YNc(5,Mf,3,5,"div",2),m.YNc(6,Of,7,7,"div",3),m.qZA()),2&t&&(m.Tol(e.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.ADD_REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,vt.L,fe,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}();function Lf(t,e){1&t&&m._UZ(0,"mat-spinner",6)}function Uf(t,e){1&t&&m._UZ(0,"th",15)}function Pf(t,e){if(1&t&&(m.TgZ(0,"td",16),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",n.friendlyName," ")}}function Ff(t,e){1&t&&m._UZ(0,"tr",17)}function qf(t,e){1&t&&m._UZ(0,"tr",18)}function jf(t,e){if(1&t&&(m.TgZ(0,"div",7),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",8),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",9),m.ynx(8,10),m.YNc(9,Uf,1,0,"th",11),m.YNc(10,Pf,2,1,"td",12),m.BQk(),m.YNc(11,Ff,1,0,"tr",13),m.YNc(12,qf,1,0,"tr",14),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.Oqu(m.lcZ(3,5,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.DESCRIPTION")),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.ASK")," "),m.xp6(2),m.Q6J("dataSource",n.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",n.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",n.displayedColumns)}}var zf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.displayedColumns=["name"],this.loading=!1}return p(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.serviceId=this.data.serviceId,this.dataSource=new C.by(this.data.attrDefinitions)}},{key:"onConfirm",value:function(){var t=this;this.loading=!0;var e=this.dataSource.data.map(function(t){return t.id});this.serviceManager.removeRequiredAttributes(this.serviceId,e).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.SUCCESS")),t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-remove-required-attributes"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div"),m.YNc(4,Lf,1,0,"mat-spinner",1),m.YNc(5,jf,13,9,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return e.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return e.onConfirm()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,9,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Tol(e.theme),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.CANCEL"),""),m.xp6(2),m.Q6J("disabled",e.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.REMOVE_REQUIRED_ATTRIBUTES.REMOVE"),""))},directives:[I.uh,d.O5,I.H8,Z.lW,M.$g,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk],pipes:[x.X$],styles:[""]}),t}();function Yf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Bf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.ADD")," "))}function Jf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.REMOVE")," ")}}function Gf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-immediate-filter",10),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA()}2&t&&m.Q6J("placeholder","SERVICE_DETAIL.REQUIRED_ATTRIBUTES.FILTER")}function Vf(t,e){1&t&&m._UZ(0,"mat-spinner",11)}function Hf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-attr-def-list",12),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)})("refreshEvent",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("definitions",r.attrDefinitions)("selection",r.selection)("filterValue",r.filterValue)("disableRouting",!r.authResolver.isPerunAdmin())}}var Qf=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.route=e,this.tableConfigService=n,this.attributeManager=r,this.dialog=i,this.authResolver=o,this.loading=!1,this.filterValue="",this.selection=new k.Ov(!0,[]),this.attrDefinitions=[],this.tableId=ht.JO}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.serviceId=e.serviceId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.attributeManager.getRequiredAttributesDefinition(this.serviceId).subscribe(function(e){t.selection.clear(),t.attrDefinitions=e,t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="950px",e.data={serviceId:this.serviceId,theme:"service-theme"},this.dialog.open(Rf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={serviceId:this.serviceId,attrDefinitions:this.selection.selected,theme:"service-theme"},this.dialog.open(zf,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(ht.dB),m.Y36(N.H8),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-required-attributes"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","definitions","selection","filterValue","disableRouting","page","refreshEvent"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Yf,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Bf,3,3,"button",2),m.YNc(6,Jf,3,4,"button",3),m.YNc(7,Gf,1,1,"perun-web-apps-immediate-filter",4),m.YNc(8,Vf,1,0,"mat-spinner",5),m.YNc(9,Hf,1,5,"app-attr-def-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"SERVICE_DETAIL.REQUIRED_ATTRIBUTES.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[d.O5,gt.t,Z.lW,vt.L,M.$g,fe],pipes:[x.X$],styles:[""]}),t}();function Wf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function Xf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAdd()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.ADD")," "))}function $f(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.REMOVE")," ")}}function Kf(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"app-users-list",10),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("users",r.associatedUsers)("selection",r.selection)("displayedColumns",r.displayedColumns)}}function td(t,e){1&t&&(m.TgZ(0,"app-alert",11),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.NO_ASSOCIATED_USERS")," "))}function ed(t,e){1&t&&m._UZ(0,"mat-spinner",12)}var nd=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.route=e,this.dialog=n,this.router=r,this.tableConfigService=i,this.userManager=o,this.loading=!1,this.selection=new k.Ov(!1,[]),this.associatedUsers=[],this.tableId=ht.It,this.displayedColumns=["select","id","user","name"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.userId=e.userId,t.userManager.getUsersBySpecificUser(t.userId).subscribe(function(e){t.associatedUsers=e,t.loading=!1})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.userManager.getUsersBySpecificUser(this.userId).subscribe(function(e){t.associatedUsers=e,t.selection.clear(),t.loading=!1})}},{key:"onAdd",value:function(){var t=this,e=(0,lt.kZ)();e.width="1250px",e.data={userId:this.userId,theme:"user-theme",isService:!0},this.dialog.open(Ih,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="650px",e.data={identities:this.selection.selected,userId:this.userId,specificUser:this.selection.selected[0],isService:!0,theme:"user-theme"},this.dialog.open(Mh,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(I.uw),m.Y36(g.F0),m.Y36(ht.dB),m.Y36(N.Fv))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-settings-associated-users"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"pageSize","users","selection","displayedColumns","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"pageSize","users","selection","displayedColumns","page"],["alert_type","warn"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Wf,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,Xf,3,3,"button",2),m.YNc(6,$f,3,4,"button",3),m.YNc(7,Kf,1,4,"app-users-list",4),m.YNc(8,td,3,3,"app-alert",5),m.qZA(),m.YNc(9,ed,1,0,"mat-spinner",6)),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,7,"USER_DETAIL.SETTINGS.ASSOCIATED_USERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",void 0!==e.associatedUsers&&e.associatedUsers.length>0),m.xp6(1),m.Q6J("ngIf",!e.loading&&(void 0===e.associatedUsers||0===e.associatedUsers.length)),m.xp6(1),m.Q6J("ngIf",e.loading))},directives:[d.O5,gt.t,Z.lW,xh.C,O.w,M.$g],pipes:[x.X$],styles:[""]}),t}(),rd=l(60547),id=l(94357);function od(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-refresh-button",7),m.NdJ("refresh",function(){return m.CHM(n),m.oxw().refreshTable()}),m.qZA()}}function ad(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onRemove()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.REMOVE")," ")}}function sd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().onAllow()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.ALLOW")," ")}}function ud(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().onBlock()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",0===r.selection.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"SERVICE_DETAIL.DESTINATIONS.BLOCK")," ")}}function cd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-immediate-filter",10),m.NdJ("filter",function(t){return m.CHM(n),m.oxw().applyFilter(t)}),m.qZA()}2&t&&m.Q6J("placeholder","SERVICE_DETAIL.DESTINATIONS.FILTER")}function ld(t,e){1&t&&m._UZ(0,"mat-spinner",11)}var hd=function(){return["select","destinationId","facility","destination","type","status","propagationType"]};function fd(t,e){if(1&t&&m._UZ(0,"app-perun-web-apps-destination-list",12),2&t){var n=m.oxw();m.Q6J("destinations",n.destinations)("selection",n.selection)("pageSize",n.pageSize)("displayedColumns",m.DdM(5,hd))("filterValue",n.filterValue)}}var dd=function(){var t=function(){function t(e,n,r,i,o,a,s){f(this,t),this.route=e,this.tableConfigService=n,this.serviceManager=r,this.notificator=i,this.translate=o,this.dialog=a,this.authResolver=s,this.loading=!1,this.filterValue="",this.destinations=[],this.selection=new k.Ov(!0,[]),this.tableId=ht.Cf}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.serviceId=e.serviceId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.serviceManager.getAllRichDestinationsForService(this.serviceId).subscribe(function(e){t.selection.clear(),t.filterValue="",t.destinations=e,t.loading=!1})}},{key:"blockServiceOnDestinations",value:function(t){var e=this;if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();var n=t.pop();this.serviceManager.blockServiceOnDestination(this.serviceId,n.id).subscribe(function(){e.blockServiceOnDestinations(t)},function(){return e.loading=!1})}},{key:"onBlock",value:function(){this.loading=!0,this.blockServiceOnDestinations(this.selection.selected)}},{key:"allowServiceOnDestinations",value:function(t){var e=this;if(0===t.length)return this.notificator.showSuccess(this.translate.instant("SERVICE_DETAIL.DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();var n=t.pop();this.serviceManager.unblockServiceOnDestinationById(this.serviceId,n.id).subscribe(function(){e.allowServiceOnDestinations(t)},function(){return e.loading=!1})}},{key:"onAllow",value:function(){this.loading=!0,this.allowServiceOnDestinations(this.selection.selected)}},{key:"onRemove",value:function(){var t=this,e=(0,lt.kZ)();e.width="500px",e.data={destinations:this.selection.selected,theme:"admin-theme"},this.dialog.open(rd.u,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(g.gz),m.Y36(ht.dB),m.Y36(N.KK),m.Y36(D.V6),m.Y36(x.sK),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-service-destinations"]],decls:11,vars:10,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"destinations","selection","pageSize","displayedColumns","filterValue",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"destinations","selection","pageSize","displayedColumns","filterValue"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,od,1,0,"perun-web-apps-refresh-button",1),m.YNc(5,ad,3,4,"button",2),m.YNc(6,sd,3,4,"button",3),m.YNc(7,ud,3,4,"button",2),m.YNc(8,cd,1,1,"perun-web-apps-immediate-filter",4),m.YNc(9,ld,1,0,"mat-spinner",5),m.YNc(10,fd,1,6,"app-perun-web-apps-destination-list",6),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,8,"SERVICE_DETAIL.DESTINATIONS.TITLE")),m.xp6(2),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading&&e.authResolver.isPerunAdmin()),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[d.O5,gt.t,Z.lW,vt.L,M.$g,id.q],pipes:[x.X$],styles:[""]}),t}();function pd(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function gd(t,e){1&t&&m._UZ(0,"th",13)}function vd(t,e){if(1&t&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&t){var n=e.$implicit;m.xp6(1),m.hij(" ",n.name," ")}}function md(t,e){1&t&&m._UZ(0,"tr",15)}function yd(t,e){1&t&&m._UZ(0,"tr",16)}function _d(t,e){if(1&t&&(m.TgZ(0,"div",5),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",6),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",7),m.ynx(8,8),m.YNc(9,gd,1,0,"th",9),m.YNc(10,vd,2,1,"td",10),m.BQk(),m.YNc(11,md,1,0,"tr",11),m.YNc(12,yd,1,0,"tr",12),m.qZA(),m.qZA()),2&t){var n=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,"DIALOGS.DELETE_OWNER.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.DELETE_OWNER.ASK")," "),m.xp6(2),m.Q6J("dataSource",n.dataSource),m.xp6(4),m.Q6J("matHeaderRowDef",n.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",n.displayedColumns)}}function wd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",17),m.TgZ(1,"button",18),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",19),m.NdJ("click",function(){return m.CHM(n),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.DELETE_OWNER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",r.loading),m.xp6(1),m.hij(" ",m.lcZ(6,5,"DIALOGS.DELETE_OWNER.DELETE")," ")}}var bd=function(){var t=function(){function t(e,n,r,i,o){f(this,t),this.dialogRef=e,this.data=n,this.notificator=r,this.translate=i,this.ownersManagerService=o,this.displayedColumns=["name"],this.owners=[]}return p(t,[{key:"ngOnInit",value:function(){this.dataSource=new C.by(this.data),this.owners=this.data}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.owners.length?this.ownersManagerService.deleteOwner(this.owners.pop().id).subscribe(function(){t.onSubmit()},function(){return t.loading=!1}):this.translate.get("DIALOGS.DELETE_OWNER.SUCCESS").subscribe(function(e){t.loading=!1,t.notificator.showSuccess(e),t.dialogRef.close(!0)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(I.WI),m.Y36(D.V6),m.Y36(x.sK),m.Y36(N.aC))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-delete-owner-dialog"]],decls:6,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.YNc(3,pd,1,0,"mat-spinner",1),m.YNc(4,_d,13,9,"div",2),m.YNc(5,wd,7,7,"div",3)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.DELETE_OWNER.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk,I.H8,Z.lW],pipes:[x.X$],styles:[""]}),t}();function xd(t,e){1&t&&m._UZ(0,"mat-spinner",4)}function Ed(t,e){1&t&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.ADD_OWNER.FILL_CONTACT")," "))}function Td(t,e){1&t&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.ADD_OWNER.CONTACT_FORMAT")," "))}function Ad(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",5),m.TgZ(2,"mat-form-field"),m._UZ(3,"input",6),m.ALo(4,"translate"),m.TgZ(5,"mat-error"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"mat-form-field"),m._UZ(9,"input",6),m.ALo(10,"translate"),m.YNc(11,Ed,3,3,"mat-error",3),m.YNc(12,Td,3,3,"mat-error",3),m.qZA(),m.TgZ(13,"mat-form-field"),m.TgZ(14,"mat-select",7),m.NdJ("valueChange",function(t){return m.CHM(n),m.oxw().type=t}),m.TgZ(15,"mat-option",8),m._uU(16),m.ALo(17,"translate"),m.qZA(),m.TgZ(18,"mat-option",9),m._uU(19),m.ALo(20,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.TgZ(21,"div",10),m.TgZ(22,"button",11),m.NdJ("click",function(){return m.CHM(n),m.oxw().onCancel()}),m._uU(23),m.ALo(24,"translate"),m.qZA(),m.TgZ(25,"div",12),m.ALo(26,"translate"),m.TgZ(27,"button",13),m.NdJ("click",function(){return m.CHM(n),m.oxw().onSubmit()}),m._uU(28),m.ALo(29,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&t){var r=m.oxw();m.xp6(3),m.s9C("placeholder",m.lcZ(4,15,"DIALOGS.ADD_OWNER.NAME")),m.Q6J("formControl",r.nameCtrl),m.xp6(3),m.hij(" ",m.lcZ(7,17,"DIALOGS.ADD_OWNER.FILL_NAME")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(10,19,"DIALOGS.ADD_OWNER.CONTACT")),m.Q6J("formControl",r.contactCtrl),m.xp6(2),m.Q6J("ngIf",r.contactCtrl.hasError("required")),m.xp6(1),m.Q6J("ngIf",r.contactCtrl.invalid&&!r.contactCtrl.hasError("required")),m.xp6(2),m.Q6J("value",r.type),m.xp6(2),m.Oqu(m.lcZ(17,21,"DIALOGS.ADD_OWNER.TYPE1")),m.xp6(3),m.Oqu(m.lcZ(20,23,"DIALOGS.ADD_OWNER.TYPE2")),m.xp6(4),m.hij(" ",m.lcZ(24,25,"DIALOGS.ADD_OWNER.CANCEL")," "),m.xp6(2),m.s9C("matTooltip",m.lcZ(26,27,"DIALOGS.ADD_OWNER.TOOLTIP")),m.Q6J("matTooltipDisabled",r.nameCtrl.valid&&r.contactCtrl.valid),m.xp6(2),m.Q6J("disabled",r.nameCtrl.invalid||r.contactCtrl.invalid),m.xp6(1),m.hij(" ",m.lcZ(29,29,"DIALOGS.ADD_OWNER.CREATE")," ")}}var Sd=function(){var t=function(){function t(e,n,r,i){var o=this;f(this,t),this.dialogRef=e,this.notificator=n,this.ownersManagerService=r,this.translate=i,this.type="1",i.get("DIALOGS.ADD_OWNER.SUCCESS").subscribe(function(t){return o.successMessage=t})}return p(t,[{key:"ngOnInit",value:function(){this.nameCtrl=new G.NI(null,[G.kI.required,G.kI.pattern("^[\\w.-]+( [\\w.-]+)*$")]),this.contactCtrl=new G.NI(null,[G.kI.required,G.kI.pattern(lt.B2)])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.ownersManagerService.createOwner({name:this.nameCtrl.value,contact:this.contactCtrl.value,ownerType:Number.parseInt(this.type,10)}).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(I.so),m.Y36(D.V6),m.Y36(N.aC),m.Y36(x.sK))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-add-owner-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"],[3,"value","valueChange"],["value","1"],["value","0"],["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(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,xd,1,0,"mat-spinner",2),m.YNc(5,Ad,30,31,"div",3),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,3,"DIALOGS.ADD_OWNER.TITLE")),m.xp6(2),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[I.uh,d.O5,M.$g,I.xY,B.KE,J.Nt,G.Fj,G.Q7,G.JJ,G.oH,B.TO,H.gD,X.ey,I.H8,Z.lW,Y.gM],pipes:[x.X$],styles:[""]}),t}(),kd=l(17767);function Id(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",8),m.NdJ("click",function(){return m.CHM(n),m.oxw().addOwner()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}2&t&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"ADMIN.OWNERS.ADD")," "))}function Cd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"button",9),m.NdJ("click",function(){return m.CHM(n),m.oxw().removeOwner()}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("disabled",!r.selected.selected.length),m.xp6(1),m.hij(" ",m.lcZ(2,2,"ADMIN.OWNERS.DELETE")," ")}}function Dd(t,e){1&t&&m._UZ(0,"mat-spinner",10)}function Nd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-owners-list",11),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("pageSize",r.pageSize)("filterValue",r.filterValue)("owners",r.owners)("selection",r.selected)}}var Zd=function(){var t=function(){function t(e,n,r,i){f(this,t),this.ownersManagerService=e,this.tableConfigService=n,this.dialog=r,this.guiAuthResolver=i,this.owners=[],this.selected=new k.Ov(!0,[]),this.filterValue="",this.tableId=ht.v1}return p(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.setAuth(),this.refreshTable()}},{key:"setAuth",value:function(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteOwner_Owner_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createOwner_Owner_policy",[])}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(function(e){t.owners=e,t.selected.clear(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"addOwner",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data={},this.dialog.open(Sd,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeOwner",value:function(){var t=this,e=(0,lt.kZ)();e.width="400px",e.data=this.selected.selected,this.dialog.open(bd,e).afterClosed().subscribe(function(e){e&&(t.selected.clear(),t.refreshTable())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.aC),m.Y36(ht.dB),m.Y36(I.uw),m.Y36(D.x4))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-admin-owners"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","selection","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div",0),m.TgZ(1,"h1",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",2),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.YNc(5,Id,3,3,"button",3),m.YNc(6,Cd,3,4,"button",4),m.TgZ(7,"perun-web-apps-immediate-filter",5),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(8,Dd,1,0,"mat-spinner",6),m.YNc(9,Nd,1,4,"perun-web-apps-owners-list",7),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,6,"ADMIN.OWNERS.TITLE")),m.xp6(3),m.Q6J("ngIf",e.addAuth),m.xp6(1),m.Q6J("ngIf",e.removeAuth),m.xp6(1),m.Q6J("placeholder","ADMIN.OWNERS.FILTER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,d.O5,vt.L,Z.lW,M.$g,kd.Q],pipes:[x.X$],styles:[""]}),t}(),Md=l(60007);function Od(t,e){1&t&&m._UZ(0,"mat-spinner",5)}function Rd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-facilities-list",6),m.NdJ("page",function(t){return m.CHM(n),m.oxw().pageChanged(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("filterValue",r.filterValue)("facilities",r.facilities)("displayedColumns",r.displayedColumns)("pageSize",r.pageSize)}}var Ld=function(){var t=function(){function t(e,n,r){f(this,t),this.facilityManager=e,this.tableConfigService=n,this.route=r,this.facilities=[],this.filterValue="",this.tableId=ht.zW,this.displayedColumns=["id","name","description"]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.userId=e.userId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.facilityManager.getAssignedFacilitiesByUser(this.userId).subscribe(function(e){t.facilities=e.map(function(t){return{facility:t}}),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(m.Y36(N.IQ),m.Y36(ht.dB),m.Y36(g.gz))},t.\u0275cmp=m.Xpm({type:t,selectors:[["app-user-facilities"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"filterValue","facilities","displayedColumns","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"filterValue","facilities","displayedColumns","pageSize","page"]],template:function(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return e.refreshTable()}),m.qZA(),m.TgZ(5,"perun-web-apps-immediate-filter",2),m.NdJ("filter",function(t){return e.applyFilter(t)}),m.qZA(),m.YNc(6,Od,1,0,"mat-spinner",3),m.YNc(7,Rd,1,4,"perun-web-apps-facilities-list",4),m.qZA()),2&t&&(m.xp6(2),m.Oqu(m.lcZ(3,4,"USER_DETAIL.FACILITIES.TITLE")),m.xp6(3),m.Q6J("placeholder","USER_DETAIL.FACILITIES.FILTER_PLACEHOLDER"),m.xp6(1),m.Q6J("ngIf",e.loading),m.xp6(1),m.Q6J("ngIf",!e.loading))},directives:[gt.t,vt.L,d.O5,M.$g,Md.X],pipes:[x.X$],styles:[""]}),t}(),Ud=l(19386),Pd=l(55109),Fd=l(64737),qd=l(78364),jd=l(541),zd=l(69012);function Yd(t,e){1&t&&m._UZ(0,"mat-spinner")}function Bd(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"perun-web-apps-vo-search-select",4),m.NdJ("voSelected",function(t){return m.CHM(n),m.oxw().loadMember(t)}),m.qZA()}if(2&t){var r=m.oxw();m.Q6J("vos",r.vos)}}function Jd(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.STATUS")," ")}function Gd(t,e){1&t&&m._UZ(0,"mat-spinner")}var Vd=function(){return["id","recent","name","description","groupStatus","expiration"]};function Hd(t,e){if(1&t&&m._UZ(0,"perun-web-apps-groups-list",13),2&t){var n=m.oxw(4);m.Q6J("displayedColumns",m.DdM(2,Vd))("groups",n.groups)}}var Qd=function(t,e){return["/organizations",t,"members",e]};function Wd(t,e){if(1&t&&(m.TgZ(0,"div"),m.TgZ(1,"div",7),m.TgZ(2,"span",8),m._uU(3),m.ALo(4,"translate"),m.qZA(),m.TgZ(5,"a",9),m._uU(6),m.qZA(),m.qZA(),m._UZ(7,"app-member-overview-membership",10),m.TgZ(8,"p",11),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.YNc(11,Hd,1,3,"perun-web-apps-groups-list",12),m.qZA()),2&t){var n=m.oxw(3);m.xp6(3),m.hij("",m.lcZ(4,7,"USER_DETAIL.ACCOUNTS.MEMBER"),":"),m.xp6(2),m.Q6J("routerLink",m.WLB(11,Qd,n.selectedVo.id,n.member.id)),m.xp6(1),m.hij("",n.member.id," "),m.xp6(1),m.Q6J("member",n.member)("vo",n.selectedVo),m.xp6(2),m.Oqu(m.lcZ(10,9,"USER_DETAIL.ACCOUNTS.GROUPS")),m.xp6(2),m.Q6J("ngIf",!n.loading)}}function Xd(t,e){if(1&t&&(m.YNc(0,Gd,1,0,"mat-spinner",1),m.YNc(1,Wd,12,14,"div",1)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function $d(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_ATT")," ")}function Kd(t,e){1&t&&m._UZ(0,"mat-spinner")}function tp(t,e){if(1&t&&m._UZ(0,"app-one-entity-attribute-page",15),2&t){var n=m.oxw(3);m.Q6J("entityId",n.member.id)("entity","member")}}function ep(t,e){if(1&t&&(m.YNc(0,Kd,1,0,"mat-spinner",1),m.YNc(1,tp,1,2,"app-one-entity-attribute-page",14)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function np(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_GROUP_ATT")," ")}function rp(t,e){1&t&&m._UZ(0,"mat-spinner")}function ip(t,e){if(1&t&&m._UZ(0,"app-two-entity-attribute-page",17),2&t){var n=m.oxw(3);m.Q6J("firstEntityId",n.member.id)("firstEntity","member")("secondEntity","group")}}function op(t,e){if(1&t&&(m.YNc(0,rp,1,0,"mat-spinner",1),m.YNc(1,ip,1,3,"app-two-entity-attribute-page",16)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function ap(t,e){1&t&&(m._uU(0),m.ALo(1,"translate")),2&t&&m.hij(" ",m.lcZ(1,1,"USER_DETAIL.ACCOUNTS.MEMBER_RESOURCE_ATT")," ")}function sp(t,e){1&t&&m._UZ(0,"mat-spinner")}function up(t,e){if(1&t&&m._UZ(0,"app-two-entity-attribute-page",17),2&t){var n=m.oxw(3);m.Q6J("firstEntityId",n.member.id)("firstEntity","member")("secondEntity","resource")}}function cp(t,e){if(1&t&&(m.YNc(0,sp,1,0,"mat-spinner",1),m.YNc(1,up,1,3,"app-two-entity-attribute-page",16)),2&t){var n=m.oxw(2);m.Q6J("ngIf",n.loading),m.xp6(1),m.Q6J("ngIf",!n.loading)}}function lp(t,e){1&t&&(m.TgZ(0,"mat-tab-group"),m.TgZ(1,"mat-tab"),m.YNc(2,Jd,2,3,"ng-template",5),m.YNc(3,Xd,2,2,"ng-template",6),m.qZA(),m.TgZ(4,"mat-tab"),m.YNc(5,$d,2,3,"ng-template",5),m.YNc(6,ep,2,2,"ng-template",6),m.qZA(),m.TgZ(7,"mat-tab"),m.YNc(8,np,2,3,"ng-template",5),m.YNc(9,op,2,2,"ng-template",6),m.qZA(),m.TgZ(10,"mat-tab"),m.YNc(11,ap,2,3,"ng-template",5),m.YNc(12,cp,2,2,"ng-template",6),m.qZA(),m.qZA())}var hp,fp,dp=[{path:"",component:T,children:[{path:"",component:S,data:{animation:"AdminOverviewPage"}},{path:"attributes",component:ye,data:{animation:"AdminAttributesPage"}},{path:"users",component:Hl.t,data:{animation:"AdminUsersPage"}},{path:"owners",component:Zd,data:{animation:"AdminOwnersPage"}},{path:"services",component:hf,data:{animation:"AdminServicesPage"}},{path:"visualizer",component:_e,children:[{path:"",component:xe,data:{animation:"VisualizerOverviewPage"}},{path:"attrDependencies",component:be,data:{animation:"VisualizerAttrModulesPage"}},{path:"userDestinationRelationship",component:Le,data:{animation:"UserDestinationRelationshipPage"}},{path:"userDestinationRelationship/graph",component:Vl,data:{animation:"UserDestinationGraphPage"}}]},{path:"ext_sources",component:_h,data:{animation:"AdminExtSourcesPage"}}]},{path:"users/:userId",component:sh,children:[{path:"",component:uh.Z,data:{animation:"UserOverviewPage"}},{path:"accounts",component:(hp=function(){function t(e,n,r,i){f(this,t),this.route=e,this.usersService=n,this.membersService=r,this.groupService=i,this.initLoading=!1,this.loading=!1,this.vos=[],this.selectedVo=null,this.member=null,this.groups=[]}return p(t,[{key:"ngOnInit",value:function(){var t=this;this.initLoading=!0,this.route.parent.params.subscribe(function(e){t.userId=e.userId,t.usersService.getVosWhereUserIsMember(t.userId).subscribe(function(e){t.vos=e,t.initLoading=!1},function(){return t.initLoading=!1})})}},{key:"loadMember",value:function(t){var e=this;this.loading=!0,this.selectedVo=t,this.membersService.getMemberByUser(this.selectedVo.id,this.userId).subscribe(function(t){e.member=t,e.groupService.getMemberRichGroupsWithAttributesByNames(e.member.id,["urn:perun:member_group:attribute-def:virt:groupStatus"]).subscribe(function(t){e.groups=t,e.loading=!1},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),t}(),hp.\u0275fac=function(t){return new(t||hp)(m.Y36(g.gz),m.Y36(N.Fv),m.Y36(N.uq),m.Y36(N.ff))},hp.\u0275cmp=m.Xpm({type:hp,selectors:[["app-perun-web-apps-user-accounts"]],decls:7,vars:6,consts:[[1,"page-title"],[4,"ngIf"],[1,"d-flex"],["class","w-50",3,"vos","voSelected",4,"ngIf"],[1,"w-50",3,"vos","voSelected"],["matTabLabel",""],["matTabContent",""],[1,"mt-4","mb-4"],[1,"subtitle","mr-2"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[3,"member","vo"],[1,"mt-4","subtitle"],[3,"displayedColumns","groups",4,"ngIf"],[3,"displayedColumns","groups"],[3,"entityId","entity",4,"ngIf"],[3,"entityId","entity"],[3,"firstEntityId","firstEntity","secondEntity",4,"ngIf"],[3,"firstEntityId","firstEntity","secondEntity"]],template:function(t,e){1&t&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.YNc(3,Yd,1,0,"mat-spinner",1),m.TgZ(4,"div",2),m.YNc(5,Bd,1,1,"perun-web-apps-vo-search-select",3),m.qZA(),m.YNc(6,lp,13,0,"mat-tab-group",1)),2&t&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"USER_DETAIL.ACCOUNTS.TITLE")),m.xp6(2),m.Q6J("ngIf",e.initLoading),m.xp6(2),m.Q6J("ngIf",!e.initLoading),m.xp6(1),m.Q6J("ngIf",!e.initLoading))},directives:[d.O5,M.$g,Ud.M,Pd.SP,Pd.uX,Pd.uD,Pd.Vc,g.yS,Fd.b,qd.W,jd.t,zd.Y],pipes:[x.X$],styles:[".subtitle[_ngcontent-%COMP%]{font-size:1.2rem}"]}),hp),data:{animation:"UserAccountsPage"}},{path:"attributes",component:fh.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:ch.j,data:{animation:"UserOrganizationsPage",showPrincipal:!1}},{path:"groups",component:lh.u,data:{animation:"UserGroupsPage",showPrincipal:!1}},{path:"identities",component:Kh,data:{animation:"UserIdentitiesPage"}},{path:"facilities",component:Ld,data:{animation:"UserFacilitiesPage"}},{path:"resources",component:vf,data:{animation:"UserRoles"}},{path:"identities/:identityId",component:Ef,data:{animation:"UserIdentityDetailPage"}},{path:"roles",component:wh.t,data:{animation:"UserRolesPage"}},{path:"settings",component:hh.L,children:[{path:"",component:dh.x,data:{animation:"UserSettingsOverviewPage"}},{path:"service-identities",component:qh,data:{animation:"UserServiceIdentities"}},{path:"associated-users",component:nd,data:{animation:"AssociatedUsersPage"}}]}]},{path:"services/:serviceId",component:Df,children:[{path:"",component:Nf,data:{animation:"ServiceOverviewPage"}},{path:"required-attributes",component:Qf,data:{animation:"ServiceRequiredAttributesPage"}},{path:"destinations",component:dd,data:{animation:"ServiceDestinationsPage"}}]}],pp=function(){var t=function t(){f(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[[g.Bz.forChild(dp)],g.Bz]}),t}(),gp=l(28780),vp=l(22727),mp=l(22280),yp=l(6363),_p=((fp=function t(){f(this,t)}).\u0275fac=function(t){return new(t||fp)},fp.\u0275mod=m.oAB({type:fp}),fp.\u0275inj=m.cJS({imports:[[Va,Ll,d.ez,pp,gp.m,vp.r,bt.ez,mp.d4,yp.UsersModule]]}),fp)},91721:function(t,e,n){"use strict";n.d(e,{Q:function(){return F}});var r=n(31572),i=n(58623),o=n(67033),a=n(4230),s=n(84140),u=n(88426),c=n(82819),l=n(61511),h=n(29236),d=n(43691),g=n(36922),v=n(84534),m=n(57629),y=n(39571),_=n(48160);function w(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"th",16),r.TgZ(1,"mat-checkbox",17),r.NdJ("change",function(t){r.CHM(n);var e=r.oxw();return t?e.masterToggle():null}),r.qZA(),r.qZA()}if(2&t){var i=r.oxw();r.xp6(1),r.Q6J("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function b(t,e){if(1&t){var n=r.EpF();r.TgZ(0,"td",18),r.TgZ(1,"mat-checkbox",19),r.NdJ("change",function(t){var e=r.CHM(n).$implicit,i=r.oxw();return t?i.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),r.qZA(),r.qZA()}if(2&t){var i=e.$implicit,o=r.oxw();r.xp6(1),r.Q6J("aria-label",o.checkboxLabel(i))("checked",o.selection.isSelected(i))}}function x(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function E(t,e){if(1&t&&(r.TgZ(0,"td",18),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.id)}}function T(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function A(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.name)}}function S(t,e){1&t&&r._UZ(0,"th",16)}function k(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," check_circle_outline "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function I(t,e){1&t&&(r.TgZ(0,"mat-icon",23),r.ALo(1,"translate"),r._uU(2," block "),r.qZA()),2&t&&r.s9C("matTooltip",r.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function C(t,e){if(1&t&&(r.TgZ(0,"td",21),r.YNc(1,k,3,3,"mat-icon",22),r.YNc(2,I,3,3,"mat-icon",22),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Q6J("ngIf",n.enabled),r.xp6(1),r.Q6J("ngIf",!n.enabled)}}function D(t,e){1&t&&(r.TgZ(0,"th",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function N(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.script)}}function Z(t,e){1&t&&(r.TgZ(0,"th",20),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function M(t,e){if(1&t&&(r.TgZ(0,"td",21),r._uU(1),r.qZA()),2&t){var n=e.$implicit;r.xp6(1),r.Oqu(n.description)}}function O(t,e){1&t&&r._UZ(0,"tr",24)}var R=function(t){return["/admin/services",t]};function L(t,e){if(1&t&&r._UZ(0,"tr",25),2&t){var n=e.$implicit,i=r.oxw();r.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),r.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:r.VKq(6,R,n.id))("routerLink",i.disableRouting?null:r.VKq(8,R,n.id))}}function U(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(t,e){1&t&&(r.TgZ(0,"app-alert",26),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}var F=function(){var t=function(){function t(e,n){f(this,t),this.authResolver=e,this.tableCheckbox=n,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new a.Ov(!0,[]),this.disableRouting=!1,this.page=new r.vpe,this.pageSizeOptions=s.f7}return p(t,[{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.dataSource=new o.by(this.services),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"enabled":return t.enabled?"true":"false";case"script":return t.script;case"description":return t.description;default:return""}}},{key:"exportData",value:function(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.filterPredicate=function(e,n){return(0,s.Sd)(e,n,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,n){return(0,s.pR)(e,n,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.x4),r.Y36(u.UA))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-services-list"]],viewQuery:function(t,e){var n;(1&t&&(r.Gf(i.YE,7),r.Gf(s.l9,7)),2&t)&&(r.iGM(n=r.CRH())&&(e.matSort=n.first),r.iGM(n=r.CRH())&&(e.child=n.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[r.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"perun-web-apps-table-wrapper",1),r.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),r.TgZ(2,"table",2),r.ynx(3,3),r.YNc(4,w,2,3,"th",4),r.YNc(5,b,2,2,"td",5),r.BQk(),r.ynx(6,6),r.YNc(7,x,3,3,"th",7),r.YNc(8,E,2,1,"td",5),r.BQk(),r.ynx(9,8),r.YNc(10,T,3,3,"th",7),r.YNc(11,A,2,1,"td",9),r.BQk(),r.ynx(12,10),r.YNc(13,S,1,0,"th",4),r.YNc(14,C,3,2,"td",9),r.BQk(),r.ynx(15,11),r.YNc(16,D,3,3,"th",4),r.YNc(17,N,2,1,"td",9),r.BQk(),r.ynx(18,12),r.YNc(19,Z,3,3,"th",7),r.YNc(20,M,2,1,"td",9),r.BQk(),r.YNc(21,O,1,0,"tr",13),r.YNc(22,L,1,10,"tr",14),r.qZA(),r.qZA(),r.qZA(),r.YNc(23,U,3,3,"app-alert",15),r.YNc(24,P,3,3,"app-alert",15)),2&t&&(r.Q6J("hidden",void 0===e.services||0===e.services.length||0===e.dataSource.filteredData.length),r.xp6(1),r.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),r.xp6(1),r.Q6J("dataSource",e.dataSource),r.xp6(19),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(1),r.Q6J("ngIf",0===e.dataSource.filteredData.length&&void 0!==e.services&&0!==e.services.length),r.xp6(1),r.Q6J("ngIf",void 0===e.services||0===e.services.length))},directives:[c.l,o.BZ,i.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,i.nU,d.Hw,g.gM,o.XQ,o.Gk,v.YH,m.rH,y.w],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t}()},95914:function(t,e,n){"use strict";function r(t,e){return t(e={exports:{}},e.exports),e.exports}n.r(e),n.d(e,{StackParser:function(){return l},graphviz:function(){return m},graphvizSync:function(){return _},parse:function(){return h},wasmFolder:function(){return s}});var i=r(function(t,e){var n,r=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(t){var e,r=void 0!==(t=t||{})?t:{},i={};for(e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);var o,a="./this.program",s="";document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=0!==s.indexOf("blob:")?s.substr(0,s.lastIndexOf("/")+1):"",o=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText};var u,c,l=r.print||console.log.bind(console),h=r.printErr||console.warn.bind(console);for(e in i)i.hasOwnProperty(e)&&(r[e]=i[e]);i=null,r.thisProgram&&(a=r.thisProgram),r.wasmBinary&&(u=r.wasmBinary),"object"!=typeof WebAssembly&&h("no native wasm support detected");var f=new WebAssembly.Table({initial:153,maximum:153,element:"anyfunc"}),d=!1;function p(t,e){t||j("Assertion failed: "+e)}var g,v,m,y,_,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function b(t,e,n){for(var r=e+n,i=e;t[i]&&!(i>=r);)++i;if(i-e>16&&t.subarray&&w)return w.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function x(t,e){return t?b(m,t,e):""}function E(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function T(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function A(t){g=t,r.HEAP8=v=new Int8Array(t),r.HEAP16=new Int16Array(t),r.HEAP32=y=new Int32Array(t),r.HEAPU8=m=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=_=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var S=r.TOTAL_MEMORY||16777216;function k(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(c=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:S/65536}))&&(g=c.buffer),S=g.byteLength,A(g),y[2080]=5251360;var I=[],C=[],D=[],N=[],Z=!1,M=Math.abs,O=Math.ceil,R=Math.floor,L=Math.min,U=0,P=null;function F(t){U++,r.monitorRunDependencies&&r.monitorRunDependencies(U)}function q(t){if(U--,r.monitorRunDependencies&&r.monitorRunDependencies(U),0==U&&P){var e=P;P=null,e()}}function j(t){throw r.onAbort&&r.onAbort(t),l(t+=""),h(t),d=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function z(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var Y,B,J,G="expatlib.wasm";function V(){try{if(u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}catch(h){j(h)}}z(G)||(Y=G,G=r.locateFile?r.locateFile(Y,s):s+Y);var H={1184:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("startElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::startElement.";e.startElement()},1404:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("endElement"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::endElement.";e.endElement()},1616:function(t){var e=r.getCache(r.CExpatJS)[t];if(!e.hasOwnProperty("characterData"))throw"a JSImplementation must implement all functions, you forgot CExpatJS::characterData.";e.characterData()}};C.push({func:function(){lt()}});var Q={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=Q.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return Q.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return Q.normalize(t.join("/"))},join2:function(t,e){return Q.normalize(t+"/"+e)}};function W(t){return r.___errno_location&&(y[r.___errno_location()>>2]=t),t}var X={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:tt.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=X.resolve(t).substr(1),e=X.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(l(b(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(h(b(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(h(b(t.output,0)),t.output=[])}}},K={ops_table:null,mount:function(t){return K.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(tt.isBlkdev(n)||tt.isFIFO(n))throw new tt.ErrnoError(63);K.ops_table||(K.ops_table={dir:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,lookup:K.node_ops.lookup,mknod:K.node_ops.mknod,rename:K.node_ops.rename,unlink:K.node_ops.unlink,rmdir:K.node_ops.rmdir,readdir:K.node_ops.readdir,symlink:K.node_ops.symlink},stream:{llseek:K.stream_ops.llseek}},file:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:{llseek:K.stream_ops.llseek,read:K.stream_ops.read,write:K.stream_ops.write,allocate:K.stream_ops.allocate,mmap:K.stream_ops.mmap,msync:K.stream_ops.msync}},link:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr,readlink:K.node_ops.readlink},stream:{}},chrdev:{node:{getattr:K.node_ops.getattr,setattr:K.node_ops.setattr},stream:tt.chrdev_stream_ops}});var i=tt.createNode(t,e,n,r);return tt.isDir(i.mode)?(i.node_ops=K.ops_table.dir.node,i.stream_ops=K.ops_table.dir.stream,i.contents={}):tt.isFile(i.mode)?(i.node_ops=K.ops_table.file.node,i.stream_ops=K.ops_table.file.stream,i.usedBytes=0,i.contents=null):tt.isLink(i.mode)?(i.node_ops=K.ops_table.link.node,i.stream_ops=K.ops_table.link.stream):tt.isChrdev(i.mode)&&(i.node_ops=K.ops_table.chrdev.node,i.stream_ops=K.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new tt.ErrnoError(32);for(var i=Q.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=tt.root,a="/",s=0;s40)throw new tt.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(tt.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%tt.nameTable.length},hashAddNode:function(t){var e=tt.hashName(t.parent.id,t.name);t.name_next=tt.nameTable[e],tt.nameTable[e]=t},hashRemoveNode:function(t){var e=tt.hashName(t.parent.id,t.name);if(tt.nameTable[e]===t)tt.nameTable[e]=t.name_next;else for(var n=tt.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=tt.mayLookup(t);if(n)throw new tt.ErrnoError(n,t);for(var r=tt.hashName(t.id,e),i=tt.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return tt.lookup(t,e)},createNode:function(t,e,n,r){tt.FSNode||(tt.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=tt.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},tt.FSNode.prototype={},Object.defineProperties(tt.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return tt.isDir(this.mode)}},isDevice:{get:function(){return tt.isChrdev(this.mode)}}}));var i=new tt.FSNode(t,e,n,r);return tt.hashAddNode(i),i},destroyNode:function(t){tt.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=tt.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return tt.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return tt.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return tt.lookupNode(t,e),20}catch(n){}return tt.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=tt.lookupNode(t,e)}catch(o){return o.errno}var i=tt.nodePermissions(t,"wx");if(i)return i;if(n){if(!tt.isDir(r.mode))return 54;if(tt.isRoot(r)||tt.getPath(r)===tt.cwd())return 10}else if(tt.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?tt.isLink(t.mode)?32:tt.isDir(t.mode)&&("r"!==tt.flagsToPermissionString(e)||512&e)?31:tt.nodePermissions(t,tt.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||tt.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!tt.streams[n])return n;throw new tt.ErrnoError(33)},getStream:function(t){return tt.streams[t]},createStream:function(t,e,n){tt.FSStream||(tt.FSStream=function(){},tt.FSStream.prototype={},Object.defineProperties(tt.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new tt.FSStream;for(var i in t)r[i]=t[i];t=r;var o=tt.nextfd(e,n);return t.fd=o,tt.streams[o]=t,t},closeStream:function(t){tt.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=tt.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new tt.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){tt.devices[t]={stream_ops:e}},getDevice:function(t){return tt.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),tt.syncFSRequests++,tt.syncFSRequests>1&&h("warning: "+tt.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=tt.getMounts(tt.root.mount),r=0;function i(t){return tt.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&tt.root)throw new tt.ErrnoError(10);if(!i&&!o){var a=tt.lookupPath(n,{follow_mount:!1});if(n=a.path,tt.isMountpoint(r=a.node))throw new tt.ErrnoError(10);if(!tt.isDir(r.mode))throw new tt.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?tt.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=tt.lookupPath(t,{follow_mount:!1});if(!tt.isMountpoint(e.node))throw new tt.ErrnoError(28);var n=e.node,r=n.mounted,i=tt.getMounts(r);Object.keys(tt.nameTable).forEach(function(t){for(var e=tt.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&tt.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=tt.lookupPath(t,{parent:!0}).node,i=Q.basename(t);if(!i||"."===i||".."===i)throw new tt.ErrnoError(28);var o=tt.mayCreate(r,i);if(o)throw new tt.ErrnoError(o);if(!r.node_ops.mknod)throw new tt.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,tt.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,tt.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):at(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,l("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=tt.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!tt.forceLoadFile(s))throw new tt.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,y[n+4>>2]=0,y[n+8>>2]=r.ino,y[n+12>>2]=r.mode,y[n+16>>2]=r.nlink,y[n+20>>2]=r.uid,y[n+24>>2]=r.gid,y[n+28>>2]=r.rdev,y[n+32>>2]=0,J=[r.size>>>0,(B=r.size,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+40>>2]=J[0],y[n+44>>2]=J[1],y[n+48>>2]=4096,y[n+52>>2]=r.blocks,y[n+56>>2]=r.atime.getTime()/1e3|0,y[n+60>>2]=0,y[n+64>>2]=r.mtime.getTime()/1e3|0,y[n+68>>2]=0,y[n+72>>2]=r.ctime.getTime()/1e3|0,y[n+76>>2]=0,J=[r.ino>>>0,(B=r.ino,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[n+80>>2]=J[0],y[n+84>>2]=J[1],0},doMsync:function(t,e,n,r,i){var o=m.slice(t,t+n);tt.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=Q.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),tt.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return tt.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=tt.readlink(t),i=Math.min(n,T(r)),o=v[e+i];return E(r,m,e,n+1),v[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=tt.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&tt.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=tt.getStream(n);return r&&tt.close(r),tt.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=tt.read(t,v,y[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],y[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return et.varargs+=4,y[et.varargs-4>>2]},getStr:function(){return x(et.get())},getStreamFromFD:function(t){void 0===t&&(t=et.get());var e=tt.getStream(t);if(!e)throw new tt.ErrnoError(8);return e},get64:function(){var t=et.get();return et.get(),t},getZero:function(){et.get()}};function nt(t){try{return c.grow(t-g.byteLength+65535>>16),A(c.buffer),1}catch(e){}}var rt={};function it(){if(!it.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in rt)t[e]=rt[e];var n=[];for(var e in t)n.push(e+"="+t[e]);it.strings=n}return it.strings}function ot(t,e){ot.array||(ot.array=[]);var n,r=ot.array;for(r.length=0;n=m[t++];)100===n||102===n?(r.push(_[(e=e+7&-8)>>3]),e+=8):(r.push(y[(e=e+3&-4)>>2]),e+=4);return r}function at(t,e,n){var r=n>0?n:T(t)+1,i=new Array(r),o=E(t,i,0,i.length);return e&&(i.length=o),i}tt.staticInit();var st={h:function(t,e){et.varargs=e;try{return 42}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||j(n),-n.errno}},e:function(){j()},a:function(t,e,n){var r=ot(e,n);return H[t].apply(null,r)},c:function(t,e,n){m.set(m.subarray(e,e+n),t)},d:function(t){var e=m.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),nt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},f:function(t,e){var n=it(),r=0;return n.forEach(function(n,i){var o=e+r;y[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);v[e>>0]=0}(n,o),r+=n.length+1}),0},g:function(t,e){var n=it();y[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),y[e>>2]=r,0},j:function(t){try{var e=et.getStreamFromFD(t);return tt.close(e),0}catch(n){return void 0!==tt&&n instanceof tt.ErrnoError||j(n),n.errno}},i:function(t,e,n,r,i){try{var o=et.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(tt.llseek(o,a,r),J=[o.position>>>0,(B=o.position,+M(B)>=1?B>0?(0|L(+R(B/4294967296),4294967295))>>>0:~~+O((B-+(~~B>>>0))/4294967296)>>>0:0)],y[i>>2]=J[0],y[i+4>>2]=J[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==tt&&s instanceof tt.ErrnoError||j(s),s.errno}},b:function(t,e,n,r){try{var i=et.getStreamFromFD(t),o=et.doWritev(i,e,n);return y[r>>2]=o,0}catch(a){return void 0!==tt&&a instanceof tt.ErrnoError||j(a),a.errno}},k:function(t){var e=Date.now();return y[t>>2]=e/1e3|0,y[t+4>>2]=e%1e3*1e3|0,0},memory:c,table:f},ut=function(){var t={a:st};function e(t,e){r.asm=t.exports,q()}function n(t){e(t.instance)}function i(e){return(u||"function"!=typeof fetch?new Promise(function(t,e){t(V())}):fetch(G,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+G+"'";return t.arrayBuffer()}).catch(function(){return V()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){h("failed to asynchronously prepare wasm: "+t),j(t)})}if(F(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return h("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(u||"function"!=typeof WebAssembly.instantiateStreaming||z(G)||"function"!=typeof fetch)return i(n);fetch(G,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){h("wasm streaming compile failed: "+t),h("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=ut;var ct,lt=r.___wasm_call_ctors=function(){return(lt=r.___wasm_call_ctors=r.asm.l).apply(null,arguments)},ht=r._emscripten_bind_CExpat_CExpat_0=function(){return(ht=r._emscripten_bind_CExpat_CExpat_0=r.asm.m).apply(null,arguments)},ft=r._emscripten_bind_CExpat_create_0=function(){return(ft=r._emscripten_bind_CExpat_create_0=r.asm.n).apply(null,arguments)},dt=r._emscripten_bind_CExpat_destroy_0=function(){return(dt=r._emscripten_bind_CExpat_destroy_0=r.asm.o).apply(null,arguments)},pt=r._emscripten_bind_CExpat_parse_1=function(){return(pt=r._emscripten_bind_CExpat_parse_1=r.asm.p).apply(null,arguments)},gt=r._emscripten_bind_CExpat_tag_0=function(){return(gt=r._emscripten_bind_CExpat_tag_0=r.asm.q).apply(null,arguments)},vt=r._emscripten_bind_CExpat_attrs_0=function(){return(vt=r._emscripten_bind_CExpat_attrs_0=r.asm.r).apply(null,arguments)},mt=r._emscripten_bind_CExpat_content_0=function(){return(mt=r._emscripten_bind_CExpat_content_0=r.asm.s).apply(null,arguments)},yt=r._emscripten_bind_CExpat_startElement_0=function(){return(yt=r._emscripten_bind_CExpat_startElement_0=r.asm.t).apply(null,arguments)},_t=r._emscripten_bind_CExpat_endElement_0=function(){return(_t=r._emscripten_bind_CExpat_endElement_0=r.asm.u).apply(null,arguments)},wt=r._emscripten_bind_CExpat_characterData_0=function(){return(wt=r._emscripten_bind_CExpat_characterData_0=r.asm.v).apply(null,arguments)},bt=r._emscripten_bind_CExpat___destroy___0=function(){return(bt=r._emscripten_bind_CExpat___destroy___0=r.asm.w).apply(null,arguments)},xt=r._emscripten_bind_CExpatJS_CExpatJS_0=function(){return(xt=r._emscripten_bind_CExpatJS_CExpatJS_0=r.asm.x).apply(null,arguments)},Et=r._emscripten_bind_CExpatJS_startElement_0=function(){return(Et=r._emscripten_bind_CExpatJS_startElement_0=r.asm.y).apply(null,arguments)},Tt=r._emscripten_bind_CExpatJS_endElement_0=function(){return(Tt=r._emscripten_bind_CExpatJS_endElement_0=r.asm.z).apply(null,arguments)},At=r._emscripten_bind_CExpatJS_characterData_0=function(){return(At=r._emscripten_bind_CExpatJS_characterData_0=r.asm.A).apply(null,arguments)},St=r._emscripten_bind_CExpatJS___destroy___0=function(){return(St=r._emscripten_bind_CExpatJS___destroy___0=r.asm.B).apply(null,arguments)},kt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(kt=r._emscripten_bind_VoidPtr___destroy___0=r.asm.C).apply(null,arguments)},It=r._malloc=function(){return(It=r._malloc=r.asm.D).apply(null,arguments)};function Ct(t){function e(){ct||(ct=!0,d||(Z=!0,r.noFSInit||tt.init.initialized||tt.init(),$.init(),k(C),tt.ignorePermissions=!1,k(D),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),N.unshift(t);var t;k(N)}()))}U>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),I.unshift(t);var t;k(I)}(),U>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r._free=function(){return(r._free=r.asm.E).apply(null,arguments)},r.___errno_location=function(){return(r.___errno_location=r.asm.F).apply(null,arguments)},r.stackAlloc=function(){return(r.stackAlloc=r.asm.G).apply(null,arguments)},r.dynCall_vi=function(){return(r.dynCall_vi=r.asm.H).apply(null,arguments)},r.asm=ut,r.then=function(t){if(ct)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},P=function t(){ct||Ct(),ct||(P=t)},r.run=Ct,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Dt(){}function Nt(t){return(t||Dt).__cache__}function Zt(t,e){var n=Nt(e),r=n[t];return r||((r=Object.create((e||Dt).prototype)).ptr=t,n[t]=r)}Ct(),(Dt.prototype=Object.create(Dt.prototype)).constructor=Dt,Dt.prototype.__class__=Dt,Dt.__cache__={},r.WrapperObject=Dt,r.getCache=Nt,r.wrapPointer=Zt,r.castObject=function(t,e){return Zt(t.ptr,e)},r.NULL=Zt(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Nt(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var Mt={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Mt.needed){for(var t=0;t=Mt.size?(p(i>0),Mt.needed+=i,n=r._malloc(i),Mt.temps.push(n)):(n=Mt.buffer+Mt.pos,Mt.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i=r);)++i;if(i-e>16&&t.subarray&&A)return A.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function k(t,e){return t?S(b,t,e):""}function I(t,e,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&t.charCodeAt(++a)),s<=127){if(n>=o)break;e[n++]=s}else if(s<=2047){if(n+1>=o)break;e[n++]=192|s>>6,e[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;e[n++]=224|s>>12,e[n++]=128|s>>6&63,e[n++]=128|63&s}else{if(n+3>=o)break;e[n++]=240|s>>18,e[n++]=128|s>>12&63,e[n++]=128|s>>6&63,e[n++]=128|63&s}}return e[n]=0,n-i}function C(t){for(var e=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&t.charCodeAt(++n)),r<=127?++e:e+=r<=2047?2:r<=65535?3:4}return e}function D(t){_=t,r.HEAP8=w=new Int8Array(t),r.HEAP16=x=new Int16Array(t),r.HEAP32=E=new Int32Array(t),r.HEAPU8=b=new Uint8Array(t),r.HEAPU16=new Uint16Array(t),r.HEAPU32=new Uint32Array(t),r.HEAPF32=new Float32Array(t),r.HEAPF64=T=new Float64Array(t)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var N=r.TOTAL_MEMORY||16777216;function Z(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var n=e.func;"number"==typeof n?void 0===e.arg?r.dynCall_v(n):r.dynCall_vi(n,e.arg):n(void 0===e.arg?null:e.arg)}else e()}}(d=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:N/65536}))&&(_=d.buffer),N=_.byteLength,D(_),E[54772]=5462128;var M=[],O=[],R=[],L=[],U=!1,P=Math.abs,F=Math.ceil,q=Math.floor,j=Math.min,z=0,Y=null;function B(t){z++,r.monitorRunDependencies&&r.monitorRunDependencies(z)}function J(t){if(z--,r.monitorRunDependencies&&r.monitorRunDependencies(z),0==z&&Y){var e=Y;Y=null,e()}}function G(t){throw r.onAbort&&r.onAbort(t),c(t+=""),l(t),m=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function V(t){return String.prototype.startsWith?t.startsWith("data:application/octet-stream;base64,"):0===t.indexOf("data:application/octet-stream;base64,")}r.preloadedImages={},r.preloadedAudios={};var H,Q,W,X="graphvizlib.wasm";function $(){try{if(h)return new Uint8Array(h);throw"both async and sync fetching of the wasm failed"}catch(l){G(l)}}V(X)||(H=X,X=r.locateFile?r.locateFile(H,u):u+H);var K={1088:function(t,e){var n=k(t),r=k(e);at.createPath("/",nt.dirname(n)),at.writeFile(nt.join("/",n),r)}};function tt(){G()}function et(t){return r.___errno_location&&(E[r.___errno_location()>>2]=t),t}O.push({func:function(){Et()}});var nt={splitPath:function(t){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1)},normalizeArray:function(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n;n--)t.unshift("..");return t},normalize:function(t){var e="/"===t.charAt(0),n="/"===t.substr(-1);return(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},dirname:function(t){var e=nt.splitPath(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)},extname:function(t){return nt.splitPath(t)[3]},join:function(){var t=Array.prototype.slice.call(arguments,0);return nt.normalize(t.join("/"))},join2:function(t,e){return nt.normalize(t+"/"+e)}},rt={resolve:function(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:at.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,e="/"===r.charAt(0)}return(e?"/":"")+(t=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."},relative:function(t,e){function n(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=rt.resolve(t).substr(1),e=rt.resolve(e).substr(1);for(var r=n(t.split("/")),i=n(e.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s0&&(c(S(t.output,0)),t.output=[])}},default_tty1_ops:{put_char:function(t,e){null===e||10===e?(l(S(t.output,0)),t.output=[]):0!=e&&t.output.push(e)},flush:function(t){t.output&&t.output.length>0&&(l(S(t.output,0)),t.output=[])}}},ot={ops_table:null,mount:function(t){return ot.createNode(null,"/",16895,0)},createNode:function(t,e,n,r){if(at.isBlkdev(n)||at.isFIFO(n))throw new at.ErrnoError(63);ot.ops_table||(ot.ops_table={dir:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,lookup:ot.node_ops.lookup,mknod:ot.node_ops.mknod,rename:ot.node_ops.rename,unlink:ot.node_ops.unlink,rmdir:ot.node_ops.rmdir,readdir:ot.node_ops.readdir,symlink:ot.node_ops.symlink},stream:{llseek:ot.stream_ops.llseek}},file:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:{llseek:ot.stream_ops.llseek,read:ot.stream_ops.read,write:ot.stream_ops.write,allocate:ot.stream_ops.allocate,mmap:ot.stream_ops.mmap,msync:ot.stream_ops.msync}},link:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr,readlink:ot.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ot.node_ops.getattr,setattr:ot.node_ops.setattr},stream:at.chrdev_stream_ops}});var i=at.createNode(t,e,n,r);return at.isDir(i.mode)?(i.node_ops=ot.ops_table.dir.node,i.stream_ops=ot.ops_table.dir.stream,i.contents={}):at.isFile(i.mode)?(i.node_ops=ot.ops_table.file.node,i.stream_ops=ot.ops_table.file.stream,i.usedBytes=0,i.contents=null):at.isLink(i.mode)?(i.node_ops=ot.ops_table.link.node,i.stream_ops=ot.ops_table.link.stream):at.isChrdev(i.mode)&&(i.node_ops=ot.ops_table.chrdev.node,i.stream_ops=ot.ops_table.chrdev.stream),i.timestamp=Date.now(),t&&(t.contents[e]=i),i},getFileDataAsRegularArray:function(t){if(t.contents&&t.contents.subarray){for(var e=[],n=0;n=e)){e=Math.max(e,n*(n<1048576?2:1.125)|0),0!=n&&(e=Math.max(e,256));var r=t.contents;t.contents=new Uint8Array(e),t.usedBytes>0&&t.contents.set(r.subarray(0,t.usedBytes),0)}},resizeFileStorage:function(t,e){if(t.usedBytes!=e){if(0==e)return t.contents=null,void(t.usedBytes=0);if(!t.contents||t.contents.subarray){var n=t.contents;return t.contents=new Uint8Array(e),n&&t.contents.set(n.subarray(0,Math.min(e,t.usedBytes))),void(t.usedBytes=e)}if(t.contents||(t.contents=[]),t.contents.length>e)t.contents.length=e;else for(;t.contents.length=t.node.usedBytes)return 0;var a=Math.min(t.node.usedBytes-i,r);if(a>8&&o.subarray)e.set(o.subarray(i,i+a),n);else for(var s=0;s0||i+r8)throw new at.ErrnoError(32);for(var i=nt.normalizeArray(t.split("/").filter(function(t){return!!t}),!1),o=at.root,a="/",s=0;s40)throw new at.ErrnoError(32)}}return{path:a,node:o}},getPath:function(t){for(var e;;){if(at.isRoot(t)){var n=t.mount.mountpoint;return e?"/"!==n[n.length-1]?n+"/"+e:n+e:n}e=e?t.name+"/"+e:t.name,t=t.parent}},hashName:function(t,e){for(var n=0,r=0;r>>0)%at.nameTable.length},hashAddNode:function(t){var e=at.hashName(t.parent.id,t.name);t.name_next=at.nameTable[e],at.nameTable[e]=t},hashRemoveNode:function(t){var e=at.hashName(t.parent.id,t.name);if(at.nameTable[e]===t)at.nameTable[e]=t.name_next;else for(var n=at.nameTable[e];n;){if(n.name_next===t){n.name_next=t.name_next;break}n=n.name_next}},lookupNode:function(t,e){var n=at.mayLookup(t);if(n)throw new at.ErrnoError(n,t);for(var r=at.hashName(t.id,e),i=at.nameTable[r];i;i=i.name_next)if(i.parent.id===t.id&&i.name===e)return i;return at.lookup(t,e)},createNode:function(t,e,n,r){at.FSNode||(at.FSNode=function(t,e,n,r){t||(t=this),this.parent=t,this.mount=t.mount,this.mounted=null,this.id=at.nextInode++,this.name=e,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},at.FSNode.prototype={},Object.defineProperties(at.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return at.isDir(this.mode)}},isDevice:{get:function(){return at.isChrdev(this.mode)}}}));var i=new at.FSNode(t,e,n,r);return at.hashAddNode(i),i},destroyNode:function(t){at.hashRemoveNode(t)},isRoot:function(t){return t===t.parent},isMountpoint:function(t){return!!t.mounted},isFile:function(t){return 32768==(61440&t)},isDir:function(t){return 16384==(61440&t)},isLink:function(t){return 40960==(61440&t)},isChrdev:function(t){return 8192==(61440&t)},isBlkdev:function(t){return 24576==(61440&t)},isFIFO:function(t){return 4096==(61440&t)},isSocket:function(t){return 49152==(49152&t)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(t){var e=at.flagModes[t];if(void 0===e)throw new Error("Unknown file open mode: "+t);return e},flagsToPermissionString:function(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e},nodePermissions:function(t,e){return at.ignorePermissions||(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:2},mayLookup:function(t){return at.nodePermissions(t,"x")||(t.node_ops.lookup?0:2)},mayCreate:function(t,e){try{return at.lookupNode(t,e),20}catch(n){}return at.nodePermissions(t,"wx")},mayDelete:function(t,e,n){var r;try{r=at.lookupNode(t,e)}catch(o){return o.errno}var i=at.nodePermissions(t,"wx");if(i)return i;if(n){if(!at.isDir(r.mode))return 54;if(at.isRoot(r)||at.getPath(r)===at.cwd())return 10}else if(at.isDir(r.mode))return 31;return 0},mayOpen:function(t,e){return t?at.isLink(t.mode)?32:at.isDir(t.mode)&&("r"!==at.flagsToPermissionString(e)||512&e)?31:at.nodePermissions(t,at.flagsToPermissionString(e)):44},MAX_OPEN_FDS:4096,nextfd:function(t,e){e=e||at.MAX_OPEN_FDS;for(var n=t=t||0;n<=e;n++)if(!at.streams[n])return n;throw new at.ErrnoError(33)},getStream:function(t){return at.streams[t]},createStream:function(t,e,n){at.FSStream||(at.FSStream=function(){},at.FSStream.prototype={},Object.defineProperties(at.FSStream.prototype,{object:{get:function(){return this.node},set:function(t){this.node=t}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new at.FSStream;for(var i in t)r[i]=t[i];t=r;var o=at.nextfd(e,n);return t.fd=o,at.streams[o]=t,t},closeStream:function(t){at.streams[t]=null},chrdev_stream_ops:{open:function(t){var e=at.getDevice(t.node.rdev);t.stream_ops=e.stream_ops,t.stream_ops.open&&t.stream_ops.open(t)},llseek:function(){throw new at.ErrnoError(70)}},major:function(t){return t>>8},minor:function(t){return 255&t},makedev:function(t,e){return t<<8|e},registerDevice:function(t,e){at.devices[t]={stream_ops:e}},getDevice:function(t){return at.devices[t]},getMounts:function(t){for(var e=[],n=[t];n.length;){var r=n.pop();e.push(r),n.push.apply(n,r.mounts)}return e},syncfs:function(t,e){"function"==typeof t&&(e=t,t=!1),at.syncFSRequests++,at.syncFSRequests>1&&l("warning: "+at.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=at.getMounts(at.root.mount),r=0;function i(t){return at.syncFSRequests--,e(t)}function o(t){if(t)return o.errored?void 0:(o.errored=!0,i(t));++r>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return o(null);e.type.syncfs(e,t,o)})},mount:function(t,e,n){var r,i="/"===n,o=!n;if(i&&at.root)throw new at.ErrnoError(10);if(!i&&!o){var a=at.lookupPath(n,{follow_mount:!1});if(n=a.path,at.isMountpoint(r=a.node))throw new at.ErrnoError(10);if(!at.isDir(r.mode))throw new at.ErrnoError(54)}var s={type:t,opts:e,mountpoint:n,mounts:[]},u=t.mount(s);return u.mount=s,s.root=u,i?at.root=u:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),u},unmount:function(t){var e=at.lookupPath(t,{follow_mount:!1});if(!at.isMountpoint(e.node))throw new at.ErrnoError(28);var n=e.node,r=n.mounted,i=at.getMounts(r);Object.keys(at.nameTable).forEach(function(t){for(var e=at.nameTable[t];e;){var n=e.name_next;-1!==i.indexOf(e.mount)&&at.destroyNode(e),e=n}}),n.mounted=null;var o=n.mount.mounts.indexOf(r);n.mount.mounts.splice(o,1)},lookup:function(t,e){return t.node_ops.lookup(t,e)},mknod:function(t,e,n){var r=at.lookupPath(t,{parent:!0}).node,i=nt.basename(t);if(!i||"."===i||".."===i)throw new at.ErrnoError(28);var o=at.mayCreate(r,i);if(o)throw new at.ErrnoError(o);if(!r.node_ops.mknod)throw new at.ErrnoError(63);return r.node_ops.mknod(r,i,e,n)},create:function(t,e){return e=void 0!==e?e:438,e&=4095,at.mknod(t,e|=32768,0)},mkdir:function(t,e){return e=void 0!==e?e:511,e&=1023,at.mknod(t,e|=16384,0)},mkdirTree:function(t,e){for(var n=t.split("/"),r="",i=0;ithis.length-1||t<0)){var e=t%this.chunkSize;return this.getter(t/this.chunkSize|0)[e]}},o.prototype.setDataGetter=function(t){this.getter=t},o.prototype.cacheLength=function(){var t=new XMLHttpRequest;if(t.open("HEAD",n,!1),t.send(null),!(t.status>=200&&t.status<300||304===t.status))throw new Error("Couldn't load "+n+". Status: "+t.status);var e,r=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e,o=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e,a=1048576;i||(a=r);var s=this;s.setDataGetter(function(t){var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[t]&&(s.chunks[t]=function(t,e){if(t>e)throw new Error("invalid range ("+t+", "+e+") or no bytes requested!");if(e>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+t+"-"+e),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):_t(i.responseText||"",!0)}(e,i)),void 0===s.chunks[t])throw new Error("doXHR failed!");return s.chunks[t]}),!o&&r||(a=r=1,r=this.getter(0).length,a=r,c("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a,s=at.createFile(t,e,a={isDevice:!1,url:n},r,i);a.contents?s.contents=a.contents:a.url&&(s.contents=null,s.url=a.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};return Object.keys(s.stream_ops).forEach(function(t){var e=s.stream_ops[t];u[t]=function(){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);return e.apply(null,arguments)}}),u.read=function(t,e,n,r,i){if(!at.forceLoadFile(s))throw new at.ErrnoError(29);var o=t.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(o.slice)for(var u=0;u>2]=r.dev,E[n+4>>2]=0,E[n+8>>2]=r.ino,E[n+12>>2]=r.mode,E[n+16>>2]=r.nlink,E[n+20>>2]=r.uid,E[n+24>>2]=r.gid,E[n+28>>2]=r.rdev,E[n+32>>2]=0,W=[r.size>>>0,(Q=r.size,+P(Q)>=1?Q>0?(0|j(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+40>>2]=W[0],E[n+44>>2]=W[1],E[n+48>>2]=4096,E[n+52>>2]=r.blocks,E[n+56>>2]=r.atime.getTime()/1e3|0,E[n+60>>2]=0,E[n+64>>2]=r.mtime.getTime()/1e3|0,E[n+68>>2]=0,E[n+72>>2]=r.ctime.getTime()/1e3|0,E[n+76>>2]=0,W=[r.ino>>>0,(Q=r.ino,+P(Q)>=1?Q>0?(0|j(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[n+80>>2]=W[0],E[n+84>>2]=W[1],0},doMsync:function(t,e,n,r,i){var o=b.slice(t,t+n);at.msync(e,o,i,n,r)},doMkdir:function(t,e){return"/"===(t=nt.normalize(t))[t.length-1]&&(t=t.substr(0,t.length-1)),at.mkdir(t,e,0),0},doMknod:function(t,e,n){switch(61440&e){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return at.mknod(t,e,n),0},doReadlink:function(t,e,n){if(n<=0)return-28;var r=at.readlink(t),i=Math.min(n,C(r)),o=w[e+i];return I(r,b,e,n+1),w[e+i]=o,i},doAccess:function(t,e){if(-8&e)return-28;var n;if(!(n=at.lookupPath(t,{follow:!0}).node))return-44;var r="";return 4&e&&(r+="r"),2&e&&(r+="w"),1&e&&(r+="x"),r&&at.nodePermissions(n,r)?-2:0},doDup:function(t,e,n){var r=at.getStream(n);return r&&at.close(r),at.open(t,e,0,n,n).fd},doReadv:function(t,e,n,r){for(var i=0,o=0;o>2],s=at.read(t,w,E[e+8*o>>2],a,r);if(s<0)return-1;if(i+=s,s>2],E[e+(8*o+4)>>2],r);if(a<0)return-1;i+=a}return i},varargs:0,get:function(t){return st.varargs+=4,E[st.varargs-4>>2]},getStr:function(){return k(st.get())},getStreamFromFD:function(t){void 0===t&&(t=st.get());var e=at.getStream(t);if(!e)throw new at.ErrnoError(8);return e},get64:function(){var t=st.get();return st.get(),t},getZero:function(){st.get()}};function ut(t,e,n){e|=0;var r,i=0,o=0,a=0;if(r=(t|=0)+(n|=0)|0,e&=255,(0|n)>=67){for(;0!=(3&t);)w[t>>0]=e,t=t+1|0;for(a=e|e<<8|e<<16|e<<24,o=(i=-4&r|0)-64|0;(0|t)<=(0|o);)E[t>>2]=a,E[t+4>>2]=a,E[t+8>>2]=a,E[t+12>>2]=a,E[t+16>>2]=a,E[t+20>>2]=a,E[t+24>>2]=a,E[t+28>>2]=a,E[t+32>>2]=a,E[t+36>>2]=a,E[t+40>>2]=a,E[t+44>>2]=a,E[t+48>>2]=a,E[t+52>>2]=a,E[t+56>>2]=a,E[t+60>>2]=a,t=t+64|0;for(;(0|t)<(0|i);)E[t>>2]=a,t=t+4|0}for(;(0|t)<(0|r);)w[t>>0]=e,t=t+1|0;return r-n|0}var ct=0;function lt(t){try{return d.grow(t-_.byteLength+65535>>16),D(d.buffer),1}catch(e){}}var ht={};function ft(){if(!ft.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:a||"./this.program"};for(var e in ht)t[e]=ht[e];var n=[];for(var e in t)n.push(e+"="+t[e]);ft.strings=n}return ft.strings}function dt(t){return t%4==0&&(t%100!=0||t%400==0)}function pt(t,e){for(var n=0,r=0;r<=e;n+=t[r++]);return n}var gt=[31,29,31,30,31,30,31,31,30,31,30,31],vt=[31,28,31,30,31,30,31,31,30,31,30,31];function mt(t,e){for(var n=new Date(t.getTime());e>0;){var r=dt(n.getFullYear()),i=n.getMonth(),o=(r?gt:vt)[i];if(!(e>o-n.getDate()))return n.setDate(n.getDate()+e),n;e-=o-n.getDate()+1,n.setDate(1),i<11?n.setMonth(i+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function yt(t,e){yt.array||(yt.array=[]);var n,r=yt.array;for(r.length=0;n=b[t++];)100===n||102===n?(r.push(T[(e=e+7&-8)>>3]),e+=8):(r.push(E[(e=e+3&-4)>>2]),e+=4);return r}function _t(t,e,n){var r=n>0?n:C(t)+1,i=new Array(r),o=I(t,i,0,i.length);return e&&(i.length=o),i}tt=function(){return performance.now()},at.staticInit();var wt={M:function(t,e){return function(t,e){var n;if(0===t)n=Date.now();else{if(1!==t&&4!==t)return et(28),-1;n=tt()}return E[e>>2]=n/1e3|0,E[e+4>>2]=n%1e3*1e3*1e3|0,0}(t,e)},k:function(t){return Ct(t)},j:function(t,e,n){throw"uncaught_exception"in Mt?Mt.uncaught_exceptions++:Mt.uncaught_exceptions=1,t},q:function(){},U:function(t,e){return et(63),-1},P:function(t,e){st.varargs=e;try{var n=st.getStr();return at.unlink(n),0}catch(r){return void 0!==at&&r instanceof at.ErrnoError||G(r),-r.errno}},R:function(t,e){st.varargs=e;try{return function(t,e,n,r,i,o){var a;o<<=12;var s=!1;if(0!=(16&r)&&t%16384!=0)return-28;if(0!=(32&r)){if(!(a=Ot(16384,e)))return-48;ut(a,0,e),s=!0}else{var u=at.getStream(i);if(!u)return-8;var c=at.mmap(u,b,t,e,o,n,r);a=c.ptr,s=c.allocated}return st.mappings[a]={malloc:a,len:e,allocated:s,fd:i,flags:r,offset:o},a}(st.get(),st.get(),st.get(),st.get(),st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},S:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doStat(at.stat,n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},T:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();return st.doStat(at.stat,n.path,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},L:function(t,e){st.varargs=e;try{return 42}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},y:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD();switch(st.get()){case 0:return(r=st.get())<0?-28:at.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=st.get();return n.flags|=r,0;case 12:return r=st.get(),x[r+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return et(28),-1;default:return-28}}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},K:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get();return st.doAccess(n,r)}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),-i.errno}},z:function(t,e){st.varargs=e;try{var n=st.getStr(),r=st.get(),i=st.get();return at.open(n,r,i).fd}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},O:function(t,e){st.varargs=e;try{var n=st.getStreamFromFD(),r=st.get();switch(r){case 21509:case 21505:return n.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-59;case 21519:if(!n.tty)return-59;var i=st.get();return E[i>>2]=0,0;case 21520:return n.tty?-28:-59;case 21531:return i=st.get(),at.ioctl(n,r,i);case 21523:case 21524:return n.tty?0:-59;default:G("bad ioctl syscall "+r)}}catch(o){return void 0!==at&&o instanceof at.ErrnoError||G(o),-o.errno}},Q:function(t,e){st.varargs=e;try{return function(t,e){if(-1===t||0===e)return-28;var n=st.mappings[t];if(!n)return 0;if(e===n.len){var r=at.getStream(n.fd);st.doMsync(t,r,e,n.flags,n.offset),at.munmap(r),st.mappings[t]=null,n.allocated&&Dt(n.malloc)}return 0}(st.get(),st.get())}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),-n.errno}},m:function(){},w:function(){G()},C:function(t,e,n){var r=yt(e,n);return K[t].apply(null,r)},d:function(t,e){!function(t,e){throw Zt(t,e||1),"longjmp"}(t,e)},E:function(t,e,n){b.set(b.subarray(e,e+n),t)},F:function(t){var e=b.length;if(t>2147418112)return!1;for(var n,r=1;r<=4;r*=2){var i=e*(1+.2/r);if(i=Math.min(i,t+100663296),lt(Math.min(2147418112,((n=Math.max(16777216,t,i))%65536>0&&(n+=65536-n%65536),n))))return!0}return!1},I:function(t,e){var n=ft(),r=0;return n.forEach(function(n,i){var o=e+r;E[t+4*i>>2]=o,function(t,e,n){for(var r=0;r>0]=t.charCodeAt(r);w[e>>0]=0}(n,o),r+=n.length+1}),0},J:function(t,e){var n=ft();E[t>>2]=n.length;var r=0;return n.forEach(function(t){r+=t.length+1}),E[e>>2]=r,0},l:function(t){!function(t,e){f||(m=!0,r.onExit&&r.onExit(t)),s(t,new Xt(t))}(t)},p:function(t){try{var e=st.getStreamFromFD(t);return at.close(e),0}catch(n){return void 0!==at&&n instanceof at.ErrnoError||G(n),n.errno}},H:function(t,e){try{var n=st.getStreamFromFD(t),r=n.tty?2:at.isDir(n.mode)?3:at.isLink(n.mode)?7:4;return w[e>>0]=r,0}catch(i){return void 0!==at&&i instanceof at.ErrnoError||G(i),i.errno}},N:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doReadv(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},D:function(t,e,n,r,i){try{var o=st.getStreamFromFD(t),a=4294967296*n+(e>>>0);return a<=-9007199254740992||a>=9007199254740992?-61:(at.llseek(o,a,r),W=[o.position>>>0,(Q=o.position,+P(Q)>=1?Q>0?(0|j(+q(Q/4294967296),4294967295))>>>0:~~+F((Q-+(~~Q>>>0))/4294967296)>>>0:0)],E[i>>2]=W[0],E[i+4>>2]=W[1],o.getdents&&0===a&&0===r&&(o.getdents=null),0)}catch(s){return void 0!==at&&s instanceof at.ErrnoError||G(s),s.errno}},x:function(t,e,n,r){try{var i=st.getStreamFromFD(t),o=st.doWritev(i,e,n);return E[r>>2]=o,0}catch(a){return void 0!==at&&a instanceof at.ErrnoError||G(a),a.errno}},a:function(){return 0|p},X:function(t){var e=Date.now();return E[t>>2]=e/1e3|0,E[t+4>>2]=e%1e3*1e3|0,0},Y:function(t){var e=Qt();try{return Vt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},V:function(t,e){var n=Qt();try{return Ht(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},v:function(t){var e=Qt();try{return jt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},f:function(t,e){var n=Qt();try{return zt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},e:function t(e,n,r){var i=Qt();try{return Yt(e,n,r)}catch(t){if(Wt(i),t!==t+0&&"longjmp"!==t)throw t;Zt(1,0)}},g:function(t,e,n,r){var i=Qt();try{return Bt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},n:function(t,e,n,r,i){var o=Qt();try{return Jt(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},W:function(t,e,n,r,i,o,a){var s=Qt();try{return Gt(t,e,n,r,i,o,a)}catch(u){if(Wt(s),u!==u+0&&"longjmp"!==u)throw u;Zt(1,0)}},s:function(t){var e=Qt();try{Rt(t)}catch(n){if(Wt(e),n!==n+0&&"longjmp"!==n)throw n;Zt(1,0)}},h:function(t,e){var n=Qt();try{Lt(t,e)}catch(r){if(Wt(n),r!==r+0&&"longjmp"!==r)throw r;Zt(1,0)}},o:function(t,e,n){var r=Qt();try{Ut(t,e,n)}catch(i){if(Wt(r),i!==i+0&&"longjmp"!==i)throw i;Zt(1,0)}},u:function(t,e,n,r){var i=Qt();try{Pt(t,e,n,r)}catch(o){if(Wt(i),o!==o+0&&"longjmp"!==o)throw o;Zt(1,0)}},t:function(t,e,n,r,i){var o=Qt();try{Ft(t,e,n,r,i)}catch(a){if(Wt(o),a!==a+0&&"longjmp"!==a)throw a;Zt(1,0)}},r:function(t,e,n,r,i,o){var a=Qt();try{qt(t,e,n,r,i,o)}catch(s){if(Wt(a),s!==s+0&&"longjmp"!==s)throw s;Zt(1,0)}},memory:d,i:function t(e,n,r,i){n|=0,r|=0,i|=0;var o=0;for(E[(e|=0)>>2]=ct=ct+1|0;(0|o)<(0|i);){if(0==(0|E[r+(o<<3)>>2]))return E[r+(o<<3)>>2]=ct,E[r+(4+(o<<3))>>2]=n,E[r+(8+(o<<3))>>2]=0,g(0|i),0|r;o=o+1|0}return r=0|t(0|e,0|n,0|(r=0|Nt(0|r,8*(1+(i=2*i|0)|0)|0)),0|i),g(0|i),0|r},b:function(t){g(0|t)},G:function(t,e,n,r){return function(t,e,n,r){var i=E[r+40>>2],o={tm_sec:E[r>>2],tm_min:E[r+4>>2],tm_hour:E[r+8>>2],tm_mday:E[r+12>>2],tm_mon:E[r+16>>2],tm_year:E[r+20>>2],tm_wday:E[r+24>>2],tm_yday:E[r+28>>2],tm_isdst:E[r+32>>2],tm_gmtoff:E[r+36>>2],tm_zone:i?k(i):""},a=k(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in s)a=a.replace(new RegExp(u,"g"),s[u]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],l=["January","February","March","April","May","June","July","August","September","October","November","December"];function h(t,e,n){for(var r="number"==typeof t?t.toString():t||"";r.length0?1:0}var r;return 0===(r=n(t.getFullYear()-e.getFullYear()))&&0===(r=n(t.getMonth()-e.getMonth()))&&(r=n(t.getDate()-e.getDate())),r}function p(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function g(t){var e=mt(new Date(t.tm_year+1900,0,1),t.tm_yday),n=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),i=p(n),o=p(r);return d(i,e)<=0?d(o,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var v={"%a":function(t){return c[t.tm_wday].substring(0,3)},"%A":function(t){return c[t.tm_wday]},"%b":function(t){return l[t.tm_mon].substring(0,3)},"%B":function(t){return l[t.tm_mon]},"%C":function(t){return f((t.tm_year+1900)/100|0,2)},"%d":function(t){return f(t.tm_mday,2)},"%e":function(t){return h(t.tm_mday,2," ")},"%g":function(t){return g(t).toString().substring(2)},"%G":function(t){return g(t)},"%H":function(t){return f(t.tm_hour,2)},"%I":function(t){var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),f(e,2)},"%j":function(t){return f(t.tm_mday+pt(dt(t.tm_year+1900)?gt:vt,t.tm_mon-1),3)},"%m":function(t){return f(t.tm_mon+1,2)},"%M":function(t){return f(t.tm_min,2)},"%n":function(){return"\n"},"%p":function(t){return t.tm_hour>=0&&t.tm_hour<12?"AM":"PM"},"%S":function(t){return f(t.tm_sec,2)},"%t":function(){return"\t"},"%u":function(t){return t.tm_wday||7},"%U":function(t){var e=new Date(t.tm_year+1900,0,1),n=0===e.getDay()?e:mt(e,7-e.getDay()),r=new Date(t.tm_year+1900,t.tm_mon,t.tm_mday);if(d(n,r)<0){var i=pt(dt(r.getFullYear())?gt:vt,r.getMonth()-1)-31,o=31-n.getDate()+i+r.getDate();return f(Math.ceil(o/7),2)}return 0===d(n,e)?"01":"00"},"%V":function(t){var e,n=new Date(t.tm_year+1900,0,4),r=new Date(t.tm_year+1901,0,4),i=p(n),o=p(r),a=mt(new Date(t.tm_year+1900,0,1),t.tm_yday);return d(a,i)<0?"53":d(o,a)<=0?"01":(e=i.getFullYear()=0;return e=(e=Math.abs(e)/60)/60*100+e%60,(n?"+":"-")+String("0000"+e).slice(-4)},"%Z":function(t){return t.tm_zone},"%%":function(){return"%"}};for(var u in v)a.indexOf(u)>=0&&(a=a.replace(new RegExp(u,"g"),v[u](o)));var m=_t(a,!1);return m.length>e?0:(function(t,e){w.set(t,e)}(m,t),m.length-1)}(t,e,n,r)},table:v,c:function(t,e,n){t|=0,e|=0,n|=0;for(var r=0,i=0;(0|r)<(0|n)&&0!=(0|(i=0|E[e+(r<<3)>>2]));){if((0|i)==(0|t))return 0|E[e+(4+(r<<3))>>2];r=r+1|0}return 0},A:function(t){var e=Date.now()/1e3|0;return t&&(E[t>>2]=e),e},B:function(t){return 0!==t&&ut(t,0,16),0}},bt=function(){var t={a:wt};function e(t,e){r.asm=t.exports,J()}function n(t){e(t.instance)}function i(e){return(h||"function"!=typeof fetch?new Promise(function(t,e){t($())}):fetch(X,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+X+"'";return t.arrayBuffer()}).catch(function(){return $()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(t){l("failed to asynchronously prepare wasm: "+t),G(t)})}if(B(),r.instantiateWasm)try{return r.instantiateWasm(t,e)}catch(o){return l("Module.instantiateWasm callback failed with error: "+o),!1}return function(){if(h||"function"!=typeof WebAssembly.instantiateStreaming||V(X)||"function"!=typeof fetch)return i(n);fetch(X,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,t).then(n,function(t){l("wasm streaming compile failed: "+t),l("falling back to ArrayBuffer instantiation"),i(n)})})}(),{}}();r.asm=bt;var xt,Et=r.___wasm_call_ctors=function(){return(Et=r.___wasm_call_ctors=r.asm.Z).apply(null,arguments)},Tt=r._emscripten_bind_VoidPtr___destroy___0=function(){return(Tt=r._emscripten_bind_VoidPtr___destroy___0=r.asm._).apply(null,arguments)},At=r._emscripten_bind_Main_layout_3=function(){return(At=r._emscripten_bind_Main_layout_3=r.asm.$).apply(null,arguments)},St=r._emscripten_bind_Main_lastError_0=function(){return(St=r._emscripten_bind_Main_lastError_0=r.asm.aa).apply(null,arguments)},kt=r._emscripten_bind_Main_createFile_2=function(){return(kt=r._emscripten_bind_Main_createFile_2=r.asm.ba).apply(null,arguments)},It=r._emscripten_bind_Main___destroy___0=function(){return(It=r._emscripten_bind_Main___destroy___0=r.asm.ca).apply(null,arguments)},Ct=r._malloc=function(){return(Ct=r._malloc=r.asm.da).apply(null,arguments)},Dt=r._free=function(){return(Dt=r._free=r.asm.ea).apply(null,arguments)},Nt=r._realloc=function(){return(Nt=r._realloc=r.asm.fa).apply(null,arguments)},Zt=(r.___errno_location=function(){return(r.___errno_location=r.asm.ga).apply(null,arguments)},r._setThrew=function(){return(Zt=r._setThrew=r.asm.ha).apply(null,arguments)}),Mt=r.__ZSt18uncaught_exceptionv=function(){return(Mt=r.__ZSt18uncaught_exceptionv=r.asm.ia).apply(null,arguments)},Ot=r._memalign=function(){return(Ot=r._memalign=r.asm.ja).apply(null,arguments)},Rt=r.dynCall_v=function(){return(Rt=r.dynCall_v=r.asm.ka).apply(null,arguments)},Lt=r.dynCall_vi=function(){return(Lt=r.dynCall_vi=r.asm.la).apply(null,arguments)},Ut=r.dynCall_vii=function(){return(Ut=r.dynCall_vii=r.asm.ma).apply(null,arguments)},Pt=r.dynCall_viii=function(){return(Pt=r.dynCall_viii=r.asm.na).apply(null,arguments)},Ft=r.dynCall_viiii=function(){return(Ft=r.dynCall_viiii=r.asm.oa).apply(null,arguments)},qt=r.dynCall_viiiii=function(){return(qt=r.dynCall_viiiii=r.asm.pa).apply(null,arguments)},jt=r.dynCall_i=function(){return(jt=r.dynCall_i=r.asm.qa).apply(null,arguments)},zt=r.dynCall_ii=function(){return(zt=r.dynCall_ii=r.asm.ra).apply(null,arguments)},Yt=r.dynCall_iii=function(){return(Yt=r.dynCall_iii=r.asm.sa).apply(null,arguments)},Bt=r.dynCall_iiii=function(){return(Bt=r.dynCall_iiii=r.asm.ta).apply(null,arguments)},Jt=r.dynCall_iiiii=function(){return(Jt=r.dynCall_iiiii=r.asm.ua).apply(null,arguments)},Gt=r.dynCall_iiiiiii=function(){return(Gt=r.dynCall_iiiiiii=r.asm.va).apply(null,arguments)},Vt=r.dynCall_d=function(){return(Vt=r.dynCall_d=r.asm.wa).apply(null,arguments)},Ht=r.dynCall_di=function(){return(Ht=r.dynCall_di=r.asm.xa).apply(null,arguments)},Qt=r.stackSave=function(){return(Qt=r.stackSave=r.asm.ya).apply(null,arguments)},Wt=(r.stackAlloc=function(){return(r.stackAlloc=r.asm.za).apply(null,arguments)},r.stackRestore=function(){return(Wt=r.stackRestore=r.asm.Aa).apply(null,arguments)});function Xt(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function $t(t){function e(){xt||(xt=!0,m||(U=!0,r.noFSInit||at.init.initialized||at.init(),it.init(),Z(O),at.ignorePermissions=!1,Z(R),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)t=r.postRun.shift(),L.unshift(t);var t;Z(L)}()))}z>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)t=r.preRun.shift(),M.unshift(t);var t;Z(M)}(),z>0||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),e()},1)):e()))}if(r.asm=bt,r.then=function(t){if(xt)t(r);else{var e=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){e&&e(),t(r)}}return r},Y=function t(){xt||$t(),xt||(Y=t)},r.run=$t,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function Kt(){}function te(t){return(t||Kt).__cache__}function ee(t,e){var n=te(e),r=n[t];return r||((r=Object.create((e||Kt).prototype)).ptr=t,n[t]=r)}f=!0,$t(),(Kt.prototype=Object.create(Kt.prototype)).constructor=Kt,Kt.prototype.__class__=Kt,Kt.__cache__={},r.WrapperObject=Kt,r.getCache=te,r.wrapPointer=ee,r.castObject=function(t,e){return ee(t.ptr,e)},r.NULL=ee(0),r.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete te(t.__class__)[t.ptr]},r.compare=function(t,e){return t.ptr===e.ptr},r.getPointer=function(t){return t.ptr},r.getClass=function(t){return t.__class__};var ne={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ne.needed){for(var t=0;t=ne.size?(y(i>0),ne.needed+=i,n=r._malloc(i),ne.temps.push(n)):(n=ne.buffer+ne.pos,ne.pos+=i),n},copy:function(t,e,n){var r=n;switch(e.BYTES_PER_ELEMENT){case 2:r>>=1;break;case 4:r>>=2;break;case 8:r>>=3}for(var i=0;i\n\n'}}function v(t,e){var n,r=p({images:[],files:[]},e);(function(){for(var t=0,e=0,n=arguments.length;e>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=h.exec(t))?new A(e[1],e[2],e[3],1):(e=f.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?C(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?C(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?b(m[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function b(t){return new A(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function E(t){return t instanceof i||(t=w(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function T(t,e,n,r){return 1===arguments.length?E(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function S(){return"#"+I(this.r)+I(this.g)+I(this.b)}function k(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function I(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function C(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Z(t,e,n,r)}function D(t){if(t instanceof Z)return new Z(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new Z;if(t instanceof Z)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(s=e===a?(n-r)/u+6*(n0&&c<1?0:s,new Z(s,u,c,t.opacity)}function N(t,e,n,r){return 1===arguments.length?D(t):new Z(t,e,n,null==r?1:r)}function Z(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function M(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return D(this).formatHsl()},formatRgb:_,toString:_}),(0,r.Z)(A,T,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:k,toString:k})),(0,r.Z)(Z,N,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new Z(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new Z(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new A(M(t>=240?t-240:t+120,i,r),M(t,i,r),M(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},80052:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{Z:function(){return r},l:function(){return i}})},64641:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function a(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{Z:function(){return r}})},93116:function(t,e,n){"use strict";n.d(e,{Z:function(){return i},v:function(){return o}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},25047:function(t,e,n){"use strict";n.r(e),n.d(e,{formatDefaultLocale:function(){return r.ZP},format:function(){return r.WU},formatPrefix:function(){return r.jH},formatLocale:function(){return i.Z},formatSpecifier:function(){return o.Z},FormatSpecifier:function(){return o.v},precisionFixed:function(){return a.Z},precisionPrefix:function(){return s.Z},precisionRound:function(){return u.Z}});var r=n(3712),i=n(70592),o=n(93116),a=n(22233),s=n(65636),u=n(3218)},70592:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r,i=n(98477),o=n(93116),a=n(25169);function s(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var u={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var n=(0,a.Z)(t,e);if(!n)return t+"";var i=n[0],o=n[1],s=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return s===u?i:s>u?i+new Array(s-u+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+(0,a.Z)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var l=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function f(t){var e,n,a=void 0===t.grouping||void 0===t.thousands?c:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",f=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(l.call(t.numerals,String)),g=void 0===t.percent?"%":t.percent+"",v=void 0===t.minus?"-":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,o.Z)(t)).fill,n=t.align,i=t.sign,c=t.symbol,l=t.zero,y=t.width,_=t.comma,w=t.precision,b=t.trim,x=t.type;"n"===x?(_=!0,x="g"):u[x]||(void 0===w&&(w=12),b=!0,x="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var E="$"===c?s:"#"===c&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T="$"===c?f:/[%p]/.test(x)?g:"",A=u[x],S=/[defgprs%]/.test(x);function k(t){var o,s,u,c=E,f=T;if("c"===x)f=A(t)+f,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:A(Math.abs(t),w),b&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),g&&0==+t&&"+"!==i&&(g=!1),c=(g?"("===i?i:v:"-"===i||"("===i?"":i)+c,f=("s"===x?h[8+r/3]:"")+f+(g&&"("===i?")":""),S)for(o=-1,s=t.length;++o(u=t.charCodeAt(o))||u>57){f=(46===u?d+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}_&&!l&&(t=a(t,1/0));var k=c.length+t.length+f.length,I=k>1)+c+t+f+I.slice(k);break;default:t=I+c+t+f}return p(t)}return w=void 0===w?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),k.toString=function(){return t+""},k}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,o.Z)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(e)/3))),a=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(a*t)+s}}}}},22233:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t){return Math.max(0,-(0,r.Z)(Math.abs(t)))}},65636:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(e)/3)))-(0,r.Z)(Math.abs(t)))}},3218:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(98477);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.Z)(e)-(0,r.Z)(t))+1}},73180:function(t,e,n){!function(t,e,n,r,i,o,a,s,u,c){"use strict";function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:0,r=e.select(this),i=t.attributes,o=r.node().attributes;if(o)for(var a=0;a0?i.children[0].text:"")}null==t.key&&(o&&("ellipse"!=n&&"polygon"!=n||(n="path")),t.key=n+"-"+e)}function v(t,e){t.id=(e?e.id+".":"")+t.key}function m(t){c[t.id]=t}function y(t,e){o&&t.id in l&&("polygon"!=e.tag&&"ellipse"!=e.tag&&"path"!=e.tag||e.tag==t.tag&&"polygon"!=t.tag||("path"!=e.tag&&(t.alternativeOld=C(e,t)),"path"!=t.tag&&(t.alternativeNew=C(t,e))))}function _(t,e){if(i&&e&&("path"==e.tag||t.alternativeOld&&"path"==t.alternativeOld.tag)){var n=(t.alternativeNew||t).attributes.d;if(t.alternativeOld)var r=g(t.alternativeOld);else r=g(e);(t.alternativeOld||(t.alternativeOld={})).points=function(t,e,n,r){for(var i=t,o=i.cloneNode(),a=i.getTotalLength(),s=(o.setAttribute("d",e),o).getTotalLength(),u=[0],c=0,l=r?n:n/Math.max(a,s);(c+=l)<1;)u.push(c);return u.push(1),u.map(function(t){var e=i.getPointAtLength(t*a),n=o.getPointAtLength(t*s);return[[e.x,e.y],[n.x,n.y]]})}(r,n,a,s)}}function w(t){var e=arguments.length>2?arguments[2]:void 0;p(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),v(t,e);var n=l[t.id];m(t),y(t,n),_(t,n);var r={};t.children.forEach(function(e){var n=e.tag;"ellipse"!=n&&"polygon"!=n||(n="path"),null==r[n]&&(r[n]=0),w(e,r[n]++,t)})}function b(t){(function(t){if(u&&t.parent&&"node"==t.parent.attributes.class&&"title"==t.tag){if(t.children.length>0)var e=t.children[0].text;else e="";h[e]=t.parent}})(t),function(t){var e=t.tag;if(u&&!l[t.id]&&t.parent&&k(t)&&("path"==e||"polygon"==e)){if("polygon"==e){var n=t.parent.children.find(function(t){return"path"==t.tag});n&&(t.totalLength=n.totalLength)}var r=function(t){return function(t){return"edge"==t.parent.attributes.class?t.parent:t.parent.parent.parent}(t).children.find(function(t){return"title"==t.tag})}(t).children[0],i=r.text.split("->");2!=i.length&&(i=r.text.split("--"));var o=i[0],a=h[o],s=f[o];if(s){if((p=a.children.findIndex(function(t,e){return"g"==t.tag}))>=0){var c=a.children[p].children.findIndex(function(t,e){return"a"==t.tag});a=a.children[p].children[c]}(p=s.children.findIndex(function(t,e){return"g"==t.tag}))>=0&&(c=s.children[p].children.findIndex(function(t,e){return"a"==t.tag}),s=s.children[p].children[c]);for(var d=a.children,p=0;p0&&this._queue.shift().call(this)}function M(t,e,n,r){var i=[t*n-(e=-e)*(r=-r),t*r+e*n];return[t=i[0],e=-(e=i[1])]}function O(t,e,n,r,i,o,a){var s=d(P.call(this,o));t.data([s]),_.call(t.node(),s),R(t,e,n,r,i,o,a)}function R(t,e,n,r,i,o,a){var s=a.shortening||0,u=[[0,-3.5],[10,0],[0,3.5],[0,-3.5]],l=r-e,h=i-n,f=Math.sqrt(l*l+h*h);if(0==f)var d=1,p=0;else d=l/f,p=h/f;if(r=e+(f-s-10-.1)*d,i=n+(f-s-10-.1)*p,o.URL||o.tooltip)var g=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),v=g.selectWithoutDataPropagation("path"),m=g.selectWithoutDataPropagation("polygon");else v=t.selectWithoutDataPropagation("path"),m=t.selectWithoutDataPropagation("polygon");var y=c.path();y.moveTo(e,n),y.lineTo(r,i),v.attr("d",y),r=e+(f-s-10)*d,i=n+(f-s-10)*p;for(var _=0;_ b ["+n+"]}","svg","dot"),s=(new window.DOMParser).parseFromString(a,"image/svg+xml");return e.select(document.createDocumentFragment()).append(function(){return s.documentElement}).select(".edge")}function F(t,e,n,r,i,o){var a=d(Y.call(this,r,i));return t.data([a]),_.call(t.node(),a),q(t,e,n,i),this}function q(t,n,r,i,o){if(i.URL||i.tooltip)var a=t.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a");else a=t;var s=a.selectAll("ellipse,polygon,path,polyline"),u=t.selectWithoutDataPropagation("text");if(0!=s.size()){var c=s.node().getBBox();c.cx=c.x+c.width/2,c.cy=c.y+c.height/2}else 0!=u.size()&&(c={x:+u.attr("x"),y:+u.attr("y"),width:0,height:0,cx:+u.attr("x"),cy:+u.attr("y")});return s.each(function(t,i){var o=e.select(this);if(o.attr("cx"))o.attr("cx",b(n)).attr("cy",b(r));else if(o.attr("points")){var a=o.attr("points").trim();o.attr("points",function(t,e,n){var r,i=(r=t.split(" ")).map(function(t){return t.split(",")});return i=r.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}),(r=i.map(function(t){return t.join(",")})).join(" ")}(a,n-c.cx,r-c.cy))}else{var s=o.attr("d");o.attr("d",function(t,e,n){(i=t.split(/[A-Z ]/)).shift();var r=t.split(/[^[A-Z ]+/),i=(i.map(function(t){return t.split(",")}),i.map(function(t){return[b(+e+ +t.split(",")[0]),b(+n+ +t.split(",")[1])]}).map(function(t){return t.join(",")}));return r.reduce(function(t,e,n){return t.concat(e,i[n])},[]).join("")}(s,n-c.cx,r-c.cy))}}),0!=u.size()&&u.attr("x",b(+u.attr("x")+n-c.cx)).attr("y",b(+u.attr("y")+r-c.cy)),this}function j(){if(!this._drawnNode)return this;var t=this._drawnNode.g;return t.empty()||t.remove(),this._drawnNode=null,this}function z(){return this._drawnNode?this._drawnNode.g:e.select(null)}function Y(t,n){for(var r="",i=0,o=Object.keys(n);i2")(a)+" ",i+=s+" ".repeat(o-s.length),i+=u.format(" >5")(t-n)+" ","initEnd"!=s&&(i+=u.format(" >5")(t-r.start[e])),"dataProcessEnd"==s&&(i+=" prepare "+u.format(" >5")(t-r.layoutEnd[e])),"renderEnd"==s&&c._transition&&(i+=" transition start margin "+u.format(" >5")(c._transition.delay()-(t-r.renderStart[e])),l=c._transition.delay(),f=c._transition.duration()),"transitionStart"==s){var h=t-r.renderStart[e];i+=" transition delay "+u.format(" >5")(t-r.renderStart[e]),i+=" expected "+u.format(" >5")(l),i+=" diff "+u.format(" >5")(h-l)}if("transitionEnd"==s){var d=t-r.transitionStart[e];i+=" transition duration "+u.format(" >5")(d),i+=" expected "+u.format(" >5")(f),i+=" diff "+u.format(" >5")(d-f)}console.log(i),n=t}:null)},s=0;s5&&void 0!==arguments[5]?arguments[5]:{};if((o=Object.assign({},o)).style&&o.style.includes("invis"))var s=e.select(null);else{var u=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),c=d(P.call(this,o));s=u.append("g").data([c]),_.call(s.node(),c),O.call(this,s,t,n,r,i,o,a)}return this._drawnEdge={g:s,x1:t,y1:n,x2:r,y2:i,attributes:o},this},updateDrawnEdge:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var a=this._drawnEdge.g;return i=Object.assign(this._drawnEdge.attributes,i),this._drawnEdge.x1=t,this._drawnEdge.y1=e,this._drawnEdge.x2=n,this._drawnEdge.y2=r,!a.empty()||i.style&&i.style.includes("invis")||(a=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnEdge.g=a),a.empty()||O.call(this,a,t,e,n,r,i,o),this},moveDrawnEdgeEndPoint:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._drawnEdge)throw Error("No edge has been drawn");var r=this._drawnEdge.g,i=this._drawnEdge.x1,o=this._drawnEdge.y1,a=this._drawnEdge.attributes;return this._drawnEdge.x2=t,this._drawnEdge.y2=e,R(r,i,o,t,e,a,n),this},insertDrawnEdge:function(t){if(!this._drawnEdge)throw Error("No edge has been drawn");var e=this._drawnEdge.g;if(e.empty())return this;e.selectWithoutDataPropagation("title").text(t);var n=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),r=n.datum(),i=this._extractData(e,r.children.length,n.datum());return r.children.push(i),m(e,i),this._drawnEdge=null,this},removeDrawnEdge:L},"removeDrawnEdge",L),l(V,"drawnEdgeSelection",U),l(V,"drawnEdgeSelection",U),l(V,"drawNode",function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if((i=Object.assign({},i)).style&&i.style.includes("invis"))var a=e.select(null);else{var s=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),u=d(Y.call(this,r,i));a=s.append("g").data([u]),_.call(a.node(),u),F.call(this,a,t,n,r,i,o)}return this._drawnNode={g:a,nodeId:r,x:t,y:n,attributes:i},this}),l(V,"updateDrawnNode",function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this._drawnNode)throw Error("No node has been drawn");var o=this._drawnNode.g;return null==n&&(n=this._drawnNode.nodeId),r=Object.assign(this._drawnNode.attributes,r),this._drawnNode.nodeId=n,this._drawnNode.x=t,this._drawnNode.y=e,!o.empty()||r.style&&r.style.includes("invis")||(o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g").append("g"),this._drawnNode.g=o),o.empty()||F.call(this,o,t,e,n,r,i),this}),l(V,"moveDrawnNode",function(t,e){if(!this._drawnNode)throw Error("No node has been drawn");var n=this._drawnNode.g,r=this._drawnNode.attributes;return this._drawnNode.x=t,this._drawnNode.y=e,n.empty()||q(n,t,e,r),this}),l(V,"insertDrawnNode",function(t){if(!this._drawnNode)throw Error("No node has been drawn");null==t&&(t=this._drawnNode.nodeId);var e=this._drawnNode.g;if(e.empty())return this;var n=this._drawnNode.attributes;if(e.selectWithoutDataPropagation("title").text(t),n.URL||n.tooltip)var r=e.selectWithoutDataPropagation("g").selectWithoutDataPropagation("a"),i=(r.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),r.selectWithoutDataPropagation("text"));else e.selectWithoutDataPropagation("ellipse,polygon,path,polyline"),i=e.selectWithoutDataPropagation("text");i.text(n.label||t);var o=this._selection.selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g"),a=o.datum(),s=this._extractData(e,a.children.length,o.datum());return a.children.push(s),m(e,s),this._drawnNode=null,this}),l(V,"removeDrawnNode",j),l(V,"removeDrawnNode",j),l(V,"drawnNodeSelection",z),l(V,"drawnNodeSelection",z),V),e.selection.prototype.graphviz=function(t){var e=this.node().__graphviz__;return e?(e.options(t),i.timeout((function(){e._dispatch.call("initEnd",this)}).bind(this),0)):e=new H(this,t),e},e.selection.prototype.selectWithoutDataPropagation=function(t){return e.select(this.size()>0?this.node().querySelector(t):null)},t.graphviz=Q,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(24967),n(58552),n(82159),n(14788),n(30853),n(59320),n(95914),n(25047),n(16809))},60053:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},M:function(){return a}});var r=n(3031),i=n(61317);function o(t,e){return((0,i.v)(e)?i.Z:a)(t,e)}function a(t,e){var n,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1];return r((n-i/e)*e,i>0?t[i-1]:2*o-a,o,a,i180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?s:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},94065:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},28917:function(t,e,n){"use strict";function r(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}n.d(e,{Z:function(){return r}})},30853:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolate:function(){return r.Z},interpolateArray:function(){return i.Z},interpolateBasis:function(){return o.Z},interpolateBasisClosed:function(){return a.Z},interpolateCubehelix:function(){return nt},interpolateCubehelixLong:function(){return rt},interpolateDate:function(){return s.Z},interpolateDiscrete:function(){return u},interpolateHcl:function(){return z},interpolateHclLong:function(){return Y},interpolateHsl:function(){return b},interpolateHslLong:function(){return x},interpolateHue:function(){return l},interpolateLab:function(){return q},interpolateNumber:function(){return h.Z},interpolateNumberArray:function(){return f.Z},interpolateObject:function(){return d.Z},interpolateRgb:function(){return y.ZP},interpolateRgbBasis:function(){return y.hD},interpolateRgbBasisClosed:function(){return y.YD},interpolateRound:function(){return p.Z},interpolateString:function(){return g.Z},interpolateTransformCss:function(){return v.Y},interpolateTransformSvg:function(){return v.w},interpolateZoom:function(){return m.Z},piecewise:function(){return it},quantize:function(){return ot}});var r=n(3031),i=n(60053),o=n(39588),a=n(17280),s=n(28917);function u(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var c=n(22656);function l(t,e){var n=(0,c.wx)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}var h=n(75306),f=n(61317),d=n(70901),p=n(47071),g=n(51882),v=n(44090),m=n(13764),y=n(38740),_=n(12314);function w(t){return function(e,n){var r=t((e=(0,_.Ym)(e)).h,(n=(0,_.Ym)(n)).h),i=(0,c.ZP)(e.s,n.s),o=(0,c.ZP)(e.l,n.l),a=(0,c.ZP)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var b=w(c.wx),x=w(c.ZP),E=n(80052),T=Math.PI/180,A=180/Math.PI,S=4/29,k=6/29,I=3*k*k;function C(t){if(t instanceof N)return new N(t.l,t.a,t.b,t.opacity);if(t instanceof P)return F(t);t instanceof _.Ss||(t=(0,_.SU)(t));var e,n,r=R(t.r),i=R(t.g),o=R(t.b),a=Z((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=Z((.4360747*r+.3850649*i+.1430804*o)/.96422),n=Z((.0139322*r+.0971045*i+.7141733*o)/.82521)),new N(116*a-16,500*(e-a),200*(a-n),t.opacity)}function D(t,e,n,r){return 1===arguments.length?C(t):new N(t,e,n,null==r?1:r)}function N(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Z(t){return t>.008856451679035631?Math.pow(t,1/3):t/I+S}function M(t){return t>k?t*t*t:I*(t-S)}function O(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function R(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function L(t){if(t instanceof P)return new P(t.h,t.c,t.l,t.opacity);if(t instanceof N||(t=C(t)),0===t.a&&0===t.b)return new P(NaN,0u&&(s=e.slice(u,s),l[c]?l[c]+=s:l[++c]=s),(n=n[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,h.push({i:c,x:(0,r.Z)(n,a)})),u=o.lastIndex;return u180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,s.Z)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,s.Z)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:(0,s.Z)(t,n)},{i:u-2,x:(0,s.Z)(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n1e-6)if(Math.abs(h*u-c*l)>1e-6&&o){var d=r-a,p=i-s,g=u*u+c*c,v=d*d+p*p,m=Math.sqrt(g),y=Math.sqrt(f),_=o*Math.tan((n-Math.acos((g+f-v)/(2*m*y)))/2),w=_/y,b=_/m;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*h)),this._+="A"+o+","+o+",0,0,"+ +(h*d>l*p)+","+(this._x1=t+b*u)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,o,a,s,u){t=+t,e=+e,u=!!u;var c=(o=+o)*Math.cos(a),l=o*Math.sin(a),h=t+c,f=e+l,d=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+h+","+f:(Math.abs(this._x1-h)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+h+","+f),o&&(p<0&&(p=p%r+r),p>i?this._+="A"+o+","+o+",0,1,"+d+","+(t-c)+","+(e-l)+"A"+o+","+o+",0,1,"+d+","+(this._x1=h)+","+(this._y1=f):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=n)+","+d+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=e+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.Z=a},32436:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(26669),i=n(71867);function o(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.P&&e.documentElement.namespaceURI===i.P?e.createElement(t):e.createElementNS(n,t)}}function a(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function s(t){var e=(0,r.Z)(t);return(e.local?a:o)(e)}},24967:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return d.Z},create:function(){return o},creator:function(){return r.Z},customEvent:function(){return E._H},event:function(){return E.B},local:function(){return s},matcher:function(){return c.Z},mouse:function(){return l.Z},namespace:function(){return h.Z},namespaces:function(){return f.Z},select:function(){return i.Z},selectAll:function(){return g},selection:function(){return p.ZP},selector:function(){return v.Z},selectorAll:function(){return m.Z},style:function(){return y.S},touch:function(){return _.Z},touches:function(){return b},window:function(){return x.Z}});var r=n(32436),i=n(41036);function o(t){return(0,i.Z)((0,r.Z)(t).call(document.documentElement))}var a=0;function s(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=s.prototype={constructor:u,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var c=n(54382),l=n(38337),h=n(26669),f=n(71867),d=n(54762),p=n(42710);function g(t){return"string"==typeof t?new p.Y1([document.querySelectorAll(t)],[document.documentElement]):new p.Y1([null==t?[]:t],p.Jz)}var v=n(69309),m=n(85502),y=n(97717),_=n(45161),w=n(72732);function b(t,e){null==e&&(e=(0,w.Z)().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.Z.hasOwnProperty(e)?{space:r.Z[e],local:t}:t}},71867:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.Z={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},54762:function(t,e,n){"use strict";function r(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}n.d(e,{Z:function(){return r}})},41036:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(42710);function i(t){return"string"==typeof t?new r.Y1([[document.querySelector(t)]],[document.documentElement]):new r.Y1([[t]],r.Jz)}},42710:function(t,e,n){"use strict";n.d(e,{Y1:function(){return Q},ZP:function(){return X},Jz:function(){return H}});var r=n(69309),i=n(85502),o=n(54382);function a(t){return new Array(t.length)}function s(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function u(t,e,n,r,i,o){for(var a,u=0,c=e.length,l=o.length;ue?1:t>=e?0:NaN}s.prototype={constructor:s,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var h=n(26669);function f(t){return function(){this.removeAttribute(t)}}function d(t){return function(){this.removeAttributeNS(t.space,t.local)}}function p(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function v(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function m(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var y=n(97717);function _(t){return function(){delete this[t]}}function w(t,e){return function(){this[t]=e}}function b(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function x(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new T(t)}function T(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function A(t,e){for(var n=E(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var P=n(32436);function F(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function j(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function z(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var Y=n(92711),B=n(11130);function J(t,e,n){var r=(0,B.Z)(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function G(t,e){return function(){return J(this,t,e)}}function V(t,e){return function(){return J(this,t,e.apply(this,arguments))}}var H=[null];function Q(t,e){this._groups=t,this._parents=e}function W(){return new Q([[document.documentElement]],H)}Q.prototype=W.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=(0,r.Z)(t));for(var e=this._groups,n=e.length,i=new Array(n),o=0;o=E&&(E=x+1);!(b=_[E])&&++E=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=l);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?_:"function"==typeof e?b:w)(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var r=E(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r1?this.each((null==e?i:"function"==typeof e?a:o)(t,e,null==n?"":n)):u(this.node(),t)}function u(t,e){return t.style.getPropertyValue(e)||(0,r.Z)(t).getComputedStyle(t,null).getPropertyValue(e)}},69309:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{Z:function(){return i}})},85502:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{Z:function(){return i}})},72732:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92711);function i(){for(var t,e=r.B;t=e.sourceEvent;)e=t;return e}},45161:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(72732),i=n(54762);function o(t,e,n){arguments.length<3&&(n=e,e=(0,r.Z)().changedTouches);for(var o,a=0,s=e?e.length:0;a=0&&e._call.call(null,t),e=e._next;--o}function y(){c=(u=h.now())+l,o=a=0;try{m()}finally{o=0,function(){for(var t,e,n=r,o=1/0;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),c=0}}function _(){var t=h.now(),e=t-u;e>1e3&&(l-=e,u=t)}function w(t){o||(a&&(a=clearTimeout(a)),t-c>24?(t<1/0&&(a=setTimeout(y,t-h.now()-l)),s&&(s=clearInterval(s))):(s||(u=h.now(),s=setInterval(_,1e3)),o=1,f(y)))}g.prototype=v.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?d():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},82159:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return it},interrupt:function(){return d},transition:function(){return $}});var r=n(42710),i=n(64641),o=n(65244),a=n(74199),s=(0,i.Z)("start","end","cancel","interrupt"),u=[];function c(t,e,n,r,i,c){var l=t.__transition;if(l){if(n in l)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function s(o){var l,h,f,d;if(1!==n.state)return c();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return(0,a.Z)(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l0)throw new Error("too late; already scheduled");return n}function h(t,e){var n=f(t,e);if(n.state>3)throw new Error("too late; already running");return n}function f(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function d(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}var p=n(44090),g=n(26669);function v(t,e){var n,r;return function(){var i=h(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?l:h;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var j=n(69309),z=n(85502),Y=r.ZP.prototype.constructor,B=n(97717);function J(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function V(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&G(t,o,n)),r}return o._value=e,o}function H(t){return function(e){this.textContent=t.call(this,e)}}function Q(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&H(r)),e}return r._value=t,r}var W=0;function X(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $(t){return(0,r.ZP)().transition(t)}function K(){return++W}var tt=r.ZP.prototype;X.prototype=$.prototype={constructor:X,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,j.Z)(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new X([[t]],rt,e,+r);return null}},59320:function(t,e,n){"use strict";n.r(e),n.d(e,{zoom:function(){return T},zoomIdentity:function(){return p},zoomTransform:function(){return g}});var r=n(64641),i=n(8634),o=n(13764),a=n(92711),s=n(38337),u=n(41036),c=n(45161),l=n(82159);function h(t){return function(){return t}}function f(t,e,n){this.target=t,this.type=e,this.transform=n}function d(t,e,n){this.k=t,this.x=e,this.y=n}d.prototype={constructor:d,scale:function(t){return 1===t?this:new d(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new d(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var p=new d(1,0,0);function g(t){return t.__zoom||p}function v(){a.B.stopImmediatePropagation()}function m(){a.B.preventDefault(),a.B.stopImmediatePropagation()}function y(){return!a.B.button}function _(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function w(){return this.__zoom||p}function b(){return-a.B.deltaY*(a.B.deltaMode?120:1)/500}function x(){return"ontouchstart"in this}function E(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function T(){var t,e,n=y,g=_,T=E,A=b,S=x,k=[0,1/0],I=[[-1/0,-1/0],[1/0,1/0]],C=250,D=o.Z,N=[],Z=(0,r.Z)("start","zoom","end"),M=0;function O(t){t.property("__zoom",w).on("wheel.zoom",j).on("mousedown.zoom",z).on("dblclick.zoom",Y).filter(S).on("touchstart.zoom",B).on("touchmove.zoom",J).on("touchend.zoom touchcancel.zoom",G).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(t,e){return(e=Math.max(k[0],Math.min(k[1],e)))===t.k?t:new d(e,t.x,t.y)}function L(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new d(t.k,r,i)}function U(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function P(t,e,n){t.on("start.zoom",function(){F(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){F(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=F(t,r),o=g.apply(t,r),a=n||U(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,c="function"==typeof e?e.apply(t,r):e,l=D(u.invert(a).concat(s/u.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=l(t),n=s/e[2];t=new d(n,a[0]-e[0]*n,a[1]-e[1]*n)}i.zoom(null,t)}})}function F(t,e){for(var n,r=0,i=N.length;rM}t.zoom("mouse",T(L(t.that.__zoom,t.mouse[0]=(0,s.Z)(t.that),t.mouse[1]),t.extent,I))}function d(){r.on("mousemove.zoom mouseup.zoom",null),(0,i.D)(a.B.view,t.moved),m(),t.end()}}function Y(){if(n.apply(this,arguments)){var t=this.__zoom,e=(0,s.Z)(this),r=t.invert(e),i=t.k*(a.B.shiftKey?.5:2),o=T(L(R(t,i),e,r),g.apply(this,arguments),I);m(),C>0?(0,u.Z)(this).transition().duration(C).call(P,o,e):(0,u.Z)(this).call(O.transform,o)}}function B(){if(n.apply(this,arguments)){var e,r,i,o,s=F(this,arguments),h=a.B.changedTouches,f=h.length;for(v(),r=0;r0;--u)if(r=e[u].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,function(e){return t.outEdges(e.v,e.w)}),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(e,n,s)}),r.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,u(e,n,o)}),t.removeNode(i.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},73363:function(t,e,n){"use strict";var r=n(91096),i=n(19265),o=n(3266),a=n(29438),s=n(45247).normalizeRanks,u=n(22877),c=n(45247).removeEmptyRanks,l=n(8131),h=n(28549),f=n(64061),d=n(41727),p=n(14588),g=n(45247),v=n(49174).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new v({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},y,A(n,m),r.pick(n,_))),r.forEach(t.nodes(),function(n){var i=S(t.node(n));e.setNode(n,r.defaults(A(i,w),b)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var i=S(t.edge(n));e.setEdge(n,r.merge({},E,A(i,x),r.pick(i,T)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){i.run(t)}),e(" nestingGraph.run",function(){l.run(t)}),e(" rank",function(){a(g.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i=t.node(e.w);g.addDummyNode(t,"edge-proxy",{rank:(i.rank-r.rank)/2+r.rank,e:e},"_ep")}})}(t)}),e(" removeEmptyRanks",function(){c(t)}),e(" nestingGraph.cleanup",function(){l.cleanup(t)}),e(" normalizeRanks",function(){s(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.forEach(t.nodes(),function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){o.run(t)}),e(" parentDummyChains",function(){u(t)}),e(" addBorderSegments",function(){h(t)}),e(" order",function(){d(t)}),e(" insertSelfEdges",function(){!function(t){var e=g.buildLayerMatrix(t);r.forEach(e,function(e){var n=0;r.forEach(e,function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){f.adjust(t)}),e(" position",function(){p(t)}),e(" positionSelfEdges",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){o.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){f.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function c(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(t.nodes(),function(e){c(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&c(n)}),e-=s,i-=u,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.forEach(t.edges(),function(n){var o=t.edge(n);r.forEach(o.points,function(t){t.x-=e,t.y-=i}),r.has(o,"x")&&(o.x-=e),r.has(o,"y")&&(o.y-=i)}),a.width=n-e+s,a.height=o-i+u}(t)}),e(" assignNodeIntersects",function(){!function(t){r.forEach(t.edges(),function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}(t)}),e(" reversePoints",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){i.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.forEach(t.edges(),function(n){var i=t.edge(n),o=e.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})};var m=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],w=["width","height"],b={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function A(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},91096:function(t,e,n){var r;try{r={cloneDeep:n(38961),constant:n(60583),defaults:n(25177),each:n(97635),filter:n(9673),find:n(13963),flatten:n(38863),forEach:n(26404),forIn:n(21308),has:n(71645),isUndefined:n(96075),last:n(83074),map:n(86169),mapValues:n(7301),max:n(11653),merge:n(81940),min:n(47983),minBy:n(42707),now:n(41396),pick:n(28891),range:n(79289),reduce:n(37442),sortBy:n(36272),uniqueId:n(83798),values:n(95041),zipObject:n(3393)}}catch(i){}r||(r=window._),t.exports=r},8131:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n,a,s,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,function(r){o(t,e,n,a,s,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=l!==d?1:s-u[c]+1;t.setEdge(h,l,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(c)||t.setEdge(e,h,{weight:0,minlen:s+u[c]})}else c!==e&&t.setEdge(e,c,{weight:0,minlen:n})}t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,function(t){n(t,o+1)}),e[i]=o}return r.forEach(t.children(),function(t){n(t,1)}),e}(t),a=r.max(r.values(n))-1,s=2*a+1;t.graph().nestingRoot=e,r.forEach(t.edges(),function(e){t.edge(e).minlen*=s});var u=function(t){return r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.forEach(t.children(),function(r){o(t,e,s,u,a,n,r)}),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},3266:function(t,e,n){"use strict";var r=n(91096),i=n(45247);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,u=e.w,c=t.node(u).rank,l=e.name,h=t.edge(e),f=h.labelRank;if(c!==s+1){for(t.removeEdge(e),o=0,++s;s0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;c+=t.weight*n})),c}t.exports=function(t,e){for(var n=0,r=1;r=2),s=l.buildLayerMatrix(t);var v=o(t,s);v=t.barycenter)&&(o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},5826:function(t,e,n){var r=n(91096),i=n(25412),o=n(82764),a=n(37850);t.exports=function t(e,n,s,u){var c=e.children(n),l=e.node(n),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,function(t){return t!==h&&t!==f}));var p=i(e,c);r.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,s,u);d[n.v]=i,r.has(i,"barycenter")&&(a=i,r.isUndefined((o=n).barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a});var g=o(p,s);!function(t,e){r.forEach(t,function(t){t.vs=r.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(g,d);var v=a(g,u);if(h&&(v.vs=r.flatten([h,v.vs,f],!0),e.predecessors(h).length)){var m=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(f)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+m.order+y.order)/(v.weight+2),v.weight+=2}return v}},37850:function(t,e,n){var r=n(91096),i=n(45247);function o(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,a=i.partition(t,function(t){return r.has(t,"barycenter")}),s=a.lhs,u=r.sortBy(a.rhs,function(t){return-t.i}),c=[],l=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),f=o(c,u,f),r.forEach(s,function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)});var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},22877:function(t,e,n){var r=n(91096);t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),function i(o){var a=n;r.forEach(t.children(o),i),e[o]={low:a,lim:n++}}),e}(t);r.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],u=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>u||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,c=a[u],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=a[u])!==s&&t.node(c).maxRanks)&&u(n,e,c)})})}return r.reduce(e,function(e,n){var o,a=-1,s=0;return r.forEach(n,function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,e.length)}),n}),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function l(t,e,n,i){var o={},a={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){o[t]=t,a[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var u=i(t);if(u.length)for(var l=((u=r.sortBy(u,function(t){return s[t]})).length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];a[t]===t&&eu.lim&&(c=u,l=!0);var h=r.filter(e.edges(),function(e){return l===y(0,t.node(e.v),c)&&l!==y(0,t.node(e.w),c)});return r.minBy(h,function(t){return o(e,t)})}function m(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),function(t){return!e.node(t).parent}),i=s(t,n);i=i.slice(1),r.forEach(i,function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=g,l.enterEdge=v,l.exchangeEdges=m},21790:function(t,e,n){"use strict";var r=n(91096);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),function(e){return n(e.w)-t.edge(e).minlen}));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},45247:function(t,e,n){"use strict";var r=n(91096),i=n(49174).Graph;function o(t,e,n,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function a(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:o,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,c=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},32862:function(t){t.exports="0.8.5"},54204:function(t,e,n){var r=n(97078);t.exports={Graph:r.Graph,json:n(2063),alg:n(29790),version:r.version}},66451:function(t,e,n){var r=n(77241);t.exports=function(t){var e,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,e.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),function(t){e=[],o(t),e.length&&i.push(e)}),i}},70485:function(t,e,n){var r=n(77241);function i(t,e,n,o,a,s){r.has(o,e)||(o[e]=!0,n||s.push(e),r.each(a(e),function(e){i(t,e,n,o,a,s)}),n&&s.push(e))}t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);i(t,e,"post"===n,s,o,a)}),a}},85818:function(t,e,n){var r=n(26731),i=n(77241);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,o){i[o]=r(t,o,e,n)},{})}},26731:function(t,e,n){var r=n(77241),i=n(9266);t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},u=new i,c=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},8821:function(t,e,n){var r=n(77241),i=n(45759);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},24980:function(t,e,n){var r=n(77241);t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=e[n],i=o[n],a=o[t].distance+r.distance;a0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(n).forEach(c)}return a}},45759:function(t,e,n){var r=n(77241);t.exports=function(t){var e=0,n=[],i={},o=[];function a(s){var u=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))}),u.lowlink===u.index){var c,l=[];do{c=n.pop(),i[c].onStack=!1,l.push(c)}while(s!==c);o.push(l)}}return t.nodes().forEach(function(t){r.has(i,t)||a(t)}),o}},94394:function(t,e,n){var r=n(77241);function i(t){var e={},n={},i=[];if(r.each(t.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],i.push(s))}),r.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},9266:function(t,e,n){var r=n(77241);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,o=i.length;return n[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].prioritya){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function u(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};function o(t){var r=n.parent(t);return void 0===r||e.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,o(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return a&&(this._edgeLabels[l]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[l]=a?i:this._defaultEdgeLabelFn(t,e,n);var h=u(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[l]=h,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][l]=h,this._out[t][l]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},97078:function(t,e,n){t.exports={Graph:n(10179),version:n(57160)}},2063:function(t,e,n){var r=n(77241),i=n(10179);function o(t){return r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})}function a(t){return r.map(t.edges(),function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:a(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},77241:function(t,e,n){var r;try{r={clone:n(7063),constant:n(60583),each:n(97635),filter:n(9673),has:n(71645),isArray:n(47712),isEmpty:n(19129),isFunction:n(70458),isUndefined:n(96075),keys:n(48600),map:n(86169),reduce:n(37442),size:n(26809),transform:n(86987),union:n(50875),values:n(95041)}}catch(i){}r||(r=window._),t.exports=r},57160:function(t){t.exports="2.1.8"},22550:function(t,e,n){var r=n(31311)(n(58568),"DataView");t.exports=r},27868:function(t,e,n){var r=n(18944),i=n(18790),o=n(40218),a=n(80072),s=n(3575);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1}},5724:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},48486:function(t,e,n){var r=n(43999)();t.exports=r},79941:function(t,e,n){var r=n(48486),i=n(48600);t.exports=function(t,e){return t&&r(t,e,i)}},91338:function(t,e,n){var r=n(21813),i=n(71241);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&ne}},50018:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},29828:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},37551:function(t,e,n){var r=n(72322),i=n(32564),o=n(39920);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},80561:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},31999:function(t,e,n){var r=n(47690),i=n(3902);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},47690:function(t,e,n){var r=n(30964),i=n(49642),o=n(97868),a=n(85234),s=n(32234),u=n(47712),c=n(80354),l=n(51156),h="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,d,p,g){var v=u(t),m=u(e),y=v?"[object Array]":s(t),_=m?"[object Array]":s(e),w=(y="[object Arguments]"==y?h:y)==h,b=(_="[object Arguments]"==_?h:_)==h,x=y==_;if(x&&c(t)){if(!c(e))return!1;v=!0,w=!1}if(x&&!w)return g||(g=new r),v||l(t)?i(t,e,n,d,p,g):o(t,e,y,n,d,p,g);if(!(1&n)){var E=w&&f.call(t,"__wrapped__"),T=b&&f.call(e,"__wrapped__");if(E||T){var A=E?t.value():t,S=T?e.value():e;return g||(g=new r),p(A,S,n,d,g)}}return!!x&&(g||(g=new r),a(t,e,n,d,p,g))}},75080:function(t,e,n){var r=n(32234),i=n(3902);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},16050:function(t,e,n){var r=n(30964),i=n(31999);t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var c=n[a];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a=200){var g=e?null:s(t);if(g)return u(g);f=!1,l=a,p=new r}else p=e?[]:d;t:for(;++ce||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},49327:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r-1?s[u?e[c]:c]:void 0}}},15395:function(t,e,n){var r=n(49727),i=n(10139),o=n(56016);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?el))return!1;var f=u.get(t),d=u.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,v=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p-1&&t%1==0&&t-1}},2154:function(t,e,n){var r=n(67477);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},58289:function(t,e,n){var r=n(27868),i=n(58170),o=n(6647);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},19581:function(t,e,n){var r=n(65810);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},61608:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).get(t)}},8901:function(t,e,n){var r=n(65810);t.exports=function(t){return r(this,t).has(t)}},12399:function(t,e,n){var r=n(65810);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},95622:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},96878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},94667:function(t,e,n){var r=n(74884);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},54263:function(t,e,n){var r=n(31311)(Object,"create");t.exports=r},75427:function(t,e,n){var r=n(11621)(Object.keys,Object);t.exports=r},3601:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},80166:function(t,e,n){t=n.nmd(t);var r=n(52127),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},91059:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},11621:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},90877:function(t,e,n){var r=n(86932),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},31816:function(t,e,n){var r=n(58170);t.exports=function(){this.__data__=new r,this.size=0}},86246:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},95499:function(t){t.exports=function(t){return this.__data__.get(t)}},17114:function(t){t.exports=function(t){return this.__data__.has(t)}},68677:function(t,e,n){var r=n(58170),i=n(6647),o=n(98856);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},39920:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n-1&&t%1==0&&t<=9007199254740991}},49333:function(t,e,n){var r=n(75080),i=n(97633),o=n(80166),a=o&&o.isMap,s=a?i(a):r;t.exports=s},17305:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3902:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},7629:function(t,e,n){var r=n(3219),i=n(45410),o=n(3902),a=Function.prototype.toString,s=Object.prototype.hasOwnProperty,u=a.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},8274:function(t,e,n){var r=n(15104),i=n(97633),o=n(80166),a=o&&o.isSet,s=a?i(a):r;t.exports=s},27764:function(t,e,n){var r=n(3219),i=n(47712),o=n(3902);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},30419:function(t,e,n){var r=n(3219),i=n(3902);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},51156:function(t,e,n){var r=n(94154),i=n(97633),o=n(80166),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},96075:function(t){t.exports=function(t){return void 0===t}},48600:function(t,e,n){var r=n(48421),i=n(97272),o=n(9140);t.exports=function(t){return o(t)?r(t):i(t)}},10752:function(t,e,n){var r=n(48421),i=n(40623),o=n(9140);t.exports=function(t){return o(t)?r(t,!0):i(t)}},83074:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},86169:function(t,e,n){var r=n(20529),i=n(82617),o=n(26091),a=n(47712);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},7301:function(t,e,n){var r=n(61216),i=n(79941),o=n(82617);t.exports=function(t,e){var n={};return e=o(e,3),i(t,function(t,i,o){r(n,i,e(t,i,o))}),n}},11653:function(t,e,n){var r=n(91241),i=n(98109),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},74884:function(t,e,n){var r=n(98856);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},81940:function(t,e,n){var r=n(75705),i=n(57082)(function(t,e,n){r(t,e,n)});t.exports=i},47983:function(t,e,n){var r=n(91241),i=n(69661),o=n(19903);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},42707:function(t,e,n){var r=n(91241),i=n(82617),o=n(69661);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},15533:function(t){t.exports=function(){}},41396:function(t,e,n){var r=n(58568);t.exports=function(){return r.Date.now()}},28891:function(t,e,n){var r=n(14964),i=n(9771)(function(t,e){return null==t?{}:r(t,e)});t.exports=i},57675:function(t,e,n){var r=n(80087),i=n(47044),o=n(46149),a=n(71241);t.exports=function(t){return o(t)?r(a(t)):i(t)}},79289:function(t,e,n){var r=n(15395)();t.exports=r},37442:function(t,e,n){var r=n(27971),i=n(43079),o=n(82617),a=n(95482),s=n(47712);t.exports=function(t,e,n){var u=s(t)?r:a,c=arguments.length<3;return u(t,o(e,4),n,c,i)}},26809:function(t,e,n){var r=n(97272),i=n(32234),o=n(9140),a=n(27764),s=n(3941);t.exports=function(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},36272:function(t,e,n){var r=n(9555),i=n(22824),o=n(37165),a=n(10139),s=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=s},20668:function(t){t.exports=function(){return[]}},1950:function(t){t.exports=function(){return!1}},56016:function(t,e,n){var r=n(68135);t.exports=function(t){return t?1/0===(t=r(t))||-1/0===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},82748:function(t,e,n){var r=n(56016);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},68135:function(t,e,n){var r=n(94530),i=n(17305),o=n(30419),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},65208:function(t,e,n){var r=n(79399),i=n(10752);t.exports=function(t){return r(t,i(t))}},89196:function(t,e,n){var r=n(17667);t.exports=function(t){return null==t?"":r(t)}},86987:function(t,e,n){var r=n(41492),i=n(56004),o=n(79941),a=n(82617),s=n(45410),u=n(47712),c=n(80354),l=n(70458),h=n(17305),f=n(51156);t.exports=function(t,e,n){var d=u(t),p=d||c(t)||f(t);if(e=a(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&l(g)?i(s(t)):{}}return(p?r:o)(t,function(t,r,i){return e(n,t,r,i)}),n}},50875:function(t,e,n){var r=n(9555),i=n(37165),o=n(66833),a=n(56633),s=i(function(t){return o(r(t,1,a,!0))});t.exports=s},83798:function(t,e,n){var r=n(89196),i=0;t.exports=function(t){var e=++i;return r(t)+e}},95041:function(t,e,n){var r=n(10744),i=n(48600);t.exports=function(t){return null==t?[]:r(t,i(t))}},3393:function(t,e,n){var r=n(25823),i=n(60170);t.exports=function(t,e){return i(t||[],e||[],r)}},41282:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(69812)),r(n(65098)),r(n(59895)),r(n(13408)),r(n(66082)),r(n(33839)),r(n(51390)),r(n(83807)),r(n(24232)),r(n(22267)),r(n(741)),r(n(21539)),r(n(97002)),r(n(99147)),r(n(70980)),r(n(96684))},69812:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(e){var n=t.call(this)||this,r=e;return r.trigger&&(n.trigger=r.trigger),r.kick&&(n.kick=r.kick),r.drag&&(n.drag=r.drag),r.on&&(n.on=r.on),n.dragstart=n.dragStart=o.Layout.dragStart,n.dragend=n.dragEnd=o.Layout.dragEnd,n}return i(e,t),e.prototype.trigger=function(t){},e.prototype.kick=function(){},e.prototype.drag=function(){},e.prototype.on=function(t,e){return this},e}(o.Layout);e.LayoutAdaptor=a,e.adaptor=function(t){return new a(t)}},96684:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51390),i=n(66082);e.gridify=function(t,e,n,r){return t.cola.start(0,0,0,10,!1),function(t,e,n,r){t.forEach(function(t){t.routerNode={name:t.name,bounds:t.bounds.inflate(-n)}}),e.forEach(function(e){e.routerNode={bounds:e.bounds.inflate(-r),children:(void 0!==e.groups?e.groups.map(function(e){return t.length+e.id}):[]).concat(void 0!==e.leaves?e.leaves.map(function(t){return t.index}):[])}});var o=t.concat(e).map(function(t,e){return t.routerNode.id=e,t.routerNode});return new i.GridRouter(o,{getChildren:function(t){return t.children},getBounds:function(t){return t.bounds}},n-r)}(t.cola.nodes(),t.cola.groups(),n,r).routeEdges(t.powerGraph.powerEdges,e,function(t){return t.source.routerNode.id},function(t){return t.target.routerNode.id})},e.powerGraphGridLayout=function(t,e,n){var i;t.nodes.forEach(function(t,e){return t.index=e}),(new r.Layout).avoidOverlaps(!1).nodes(t.nodes).links(t.links).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){return t.padding=n})});var o=t.nodes.length,a=[],s=t.nodes.slice(0);return s.forEach(function(t,e){return t.index=e}),i.groups.forEach(function(t){var e=t.index=t.id+o;s.push(t),void 0!==t.leaves&&t.leaves.forEach(function(t){return a.push({source:e,target:t.index})}),void 0!==t.groups&&t.groups.forEach(function(t){return a.push({source:e,target:t.id+o})})}),i.powerEdges.forEach(function(t){a.push({source:t.source.index,target:t.target.index})}),(new r.Layout).size(e).nodes(s).links(a).avoidOverlaps(!1).linkDistance(30).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(100,0,0,0,!1),{cola:(new r.Layout).convergenceThreshold(.001).size(e).avoidOverlaps(!0).nodes(t.nodes).links(t.links).groupCompactness(1e-4).linkDistance(30).symmetricDiffLinkLengths(5).powerGraphGroups(function(t){(i=t).groups.forEach(function(t){t.padding=n})}).start(50,0,100,0,!1),powerGraph:i}}},65098:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(29738),i=n(62834);e.d3adaptor=function(t){return!t||function(t){return t.version&&null!==t.version.match(/^3\./)}(t)?new r.D3StyleLayoutAdaptor:new i.D3StyleLayoutAdaptor(t)}},29738:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390),a=function(t){function e(){var e=t.call(this)||this;e.event=d3.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var n=e;return e.drag=function(){if(!t)var t=d3.behavior.drag().origin(o.Layout.dragOrigin).on("dragstart.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,d3.event),n.resume()}).on("dragend.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;this.call(t)},e}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event[e.type](e)},e.prototype.kick=function(){var e=this;d3.timer(function(){return t.prototype.tick.call(e)})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout);e.D3StyleLayoutAdaptor=a,e.d3adaptor=function(){return new a}},62834:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(51390);e.D3StyleLayoutAdaptor=function(t){function e(e){var n=t.call(this)||this;n.d3Context=e,n.event=e.dispatch(o.EventType[o.EventType.start],o.EventType[o.EventType.tick],o.EventType[o.EventType.end]);var r=n;return n.drag=function(){if(!t)var t=e.drag().subject(o.Layout.dragOrigin).on("start.d3adaptor",o.Layout.dragStart).on("drag.d3adaptor",function(t){o.Layout.drag(t,e.event),r.resume()}).on("end.d3adaptor",o.Layout.dragEnd);if(!arguments.length)return t;arguments[0].call(t)},n}return i(e,t),e.prototype.trigger=function(t){var e={type:o.EventType[t.type],alpha:t.alpha,stress:t.stress};this.event.call(e.type,e)},e.prototype.kick=function(){var e=this,n=this.d3Context.timer(function(){return t.prototype.tick.call(e)&&n.stop()})},e.prototype.on=function(t,e){return this.event.on("string"==typeof t?t:o.EventType[t],e),this},e}(o.Layout)},59895:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.locks={}}return t.prototype.add=function(t,e){this.locks[t]=e},t.prototype.clear=function(){this.locks={}},t.prototype.isEmpty=function(){for(var t in this.locks)return!1;return!0},t.prototype.apply=function(t){for(var e in this.locks)t(Number(e),this.locks[e])},t}();e.Locks=n,e.Descent=function(){function t(t,e,i){void 0===i&&(i=null),this.D=e,this.G=i,this.threshold=1e-4,this.numGridSnapNodes=0,this.snapGridSize=100,this.snapStrength=1e3,this.scaleSnapByMaxH=!1,this.random=new r,this.project=null,this.x=t,this.k=t.length;var o=this.n=t[0].length;this.H=new Array(this.k),this.g=new Array(this.k),this.Hd=new Array(this.k),this.a=new Array(this.k),this.b=new Array(this.k),this.c=new Array(this.k),this.d=new Array(this.k),this.e=new Array(this.k),this.ia=new Array(this.k),this.ib=new Array(this.k),this.xtmp=new Array(this.k),this.locks=new n,this.minD=Number.MAX_VALUE;for(var a,s=o;s--;)for(a=o;--a>s;){var u=e[s][a];u>0&&u1e-9)break;var d=this.offsetDir();for(r=0;r1&&p>g||!isFinite(g))for(r=0;r1&&(v=1);var m=g*g,y=2*v*(p-g)/(m*p),_=p*p*p,w=2*-v/(m*_);for(isFinite(y)||console.log(y),r=0;r0?A-(I+1)*x:A-(I-1)*x)&&f<=b&&(this.scaleSnapByMaxH?(this.g[r][u]+=s*E*f,this.H[r][u][u]+=s*E):(this.g[r][u]+=E*f,this.H[r][u][u]+=E))}this.locks.isEmpty()||this.locks.apply(function(n,i){for(r=0;r0;)for(var i=e;i-- >0;)n(r,i)},t.prototype.matrixApply=function(e){t.mApply(this.k,this.n,e)},t.prototype.computeNextPosition=function(t,e){var n=this;this.computeDerivatives(t);var r=this.computeStepSize(this.g);if(this.stepAndProject(t,e,this.g,r),this.project){this.matrixApply(function(r,i){return n.e[r][i]=t[r][i]-e[r][i]});var i=this.computeStepSize(this.e);i=Math.max(.2,Math.min(i,1)),this.stepAndProject(t,e,this.e,i)}},t.prototype.run=function(t){for(var e=Number.MAX_VALUE,n=!1;!n&&t-- >0;){var r=this.rungeKutta();n=Math.abs(e/r-1)>16)/this.range},t.prototype.getNextBetween=function(t,e){return t+this.getNext()*(e-t)},t}();e.PseudoRandom=r},13408:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(97002),a=function(){};e.Point=a;var s=function(t,e,n,r){this.x1=t,this.y1=e,this.x2=n,this.y2=r};function u(t,e,n){return(e.x-t.x)*(n.y-t.y)-(n.x-t.x)*(e.y-t.y)}function c(t,e,n){return u(t,e,n)>0}function l(t,e,n){return u(t,e,n)<0}function h(t,e){var n,r,i,o,a=e.length-1;if(l(t,e[1],e[0])&&!c(t,e[a-1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return c(t,e[n],e[r])?n:r;if((o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]))&&!c(t,e[i-1],e[i]))return i;c(t,e[n+1],e[n])?o||c(t,e[n],e[i])?r=i:n=i:o&&l(t,e[n],e[i])?r=i:n=i}}function f(t,e){var n,r,i,o,a=e.length-1;if(c(t,e[a-1],e[0])&&!l(t,e[1],e[0]))return 0;for(n=0,r=a;;){if(r-n==1)return l(t,e[n],e[r])?n:r;if(o=l(t,e[(i=Math.floor((n+r)/2))+1],e[i]),c(t,e[i-1],e[i])&&!o)return i;l(t,e[n+1],e[n])?o?l(t,e[n],e[i])?r=i:n=i:r=i:o?n=i:c(t,e[n],e[i])?r=i:n=i}}function d(t,e,n,r,i,o){var a,s;s=r(t[a=n(e[0],t)],e);for(var u=!1;!u;){for(u=!0;a===t.length-1&&(a=0),!i(e[s],t[a],t[a+1]);)++a;for(;0===s&&(s=e.length-1),!o(t[a],e[s],e[s-1]);)--s,u=!1}return{t1:a,t2:s}}function p(t,e){return d(t,e,h,f,c,l)}e.LineSegment=s,e.PolyPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a),e.isLeft=u,e.ConvexHull=function(t){var e,n=t.slice(0).sort(function(t,e){return t.x!==e.x?e.x-t.x:e.y-t.y}),r=t.length,i=n[0].x;for(e=1;e=0&&n[e].x===l;e--);for(s=e+1,e=o;++e<=s;)if(!(u(n[0],n[s],n[e])>=0&&e1&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}c!=s&&a.push(n[c]);var h=a.length;for(e=s;--e>=o;)if(!(u(n[c],n[o],n[e])>=0&&e>o)){for(;a.length>h&&!(u(a[a.length-2],a[a.length-1],n[e])>0);)a.length-=1;0!=e&&a.push(n[e])}}return a},e.clockwiseRadialSweep=function(t,e,n){e.slice(0).sort(function(e,n){return Math.atan2(e.y-t.y,e.x-t.x)-Math.atan2(n.y-t.y,n.x-t.x)}).forEach(n)},e.tangent_PolyPolyC=d,e.LRtangent_PolyPolyC=function(t,e){var n=p(e,t);return{t1:n.t2,t2:n.t1}},e.RLtangent_PolyPolyC=p,e.LLtangent_PolyPolyC=function(t,e){return d(t,e,f,f,l,l)},e.RRtangent_PolyPolyC=function(t,e){return d(t,e,h,h,c,c)};var g=function(t,e){this.t1=t,this.t2=e};e.BiTangent=g;var v=function(){};e.BiTangents=v,e.TVGPoint=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a);var m=function(t,e,n,r){this.id=t,this.polyid=e,this.polyvertid=n,this.p=r,r.vv=this};e.VisibilityVertex=m;var y=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.length=function(){var t=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(t*t+e*e)},t}();function _(t,e){for(var n=[],r=1,i=e.length;r=0&&m>=0&&y<0&&_>=0&&w>=0&&b<0?i.ll=new g(o,a):p<=0&&m<=0&&y>0&&_<=0&&w<=0&&b>0?i.rr=new g(o,a):p<=0&&m>0&&y<=0&&_>=0&&w<0&&b>=0?i.rl=new g(o,a):p>=0&&m<0&&y>=0&&_<=0&&w>0&&b<=0&&(i.lr=new g(o,a))}return i}function b(t,e){return!t.every(function(t){return!function(t,e){for(var n=1,r=e.length;n0&&this.E.push(new y(i[o-1].vv,a))}i.length>1&&this.E.push(new y(i[0].vv,i[i.length-1].vv))}for(r=0;r0)return!0;return!1},t}(),e.tangents=w,e.polysOverlap=function(t,e){if(b(t,e))return!0;if(b(e,t))return!0;for(var n=1,r=t.length;n0)return!0}return!1}},66082:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97002),i=n(70980),o=n(99147),a=function(t,e,n){this.id=t,this.rect=e,this.children=n,this.leaf=void 0===n||0===n.length};e.NodeWrapper=a;var s=function(t,e,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),this.id=t,this.x=e,this.y=n,this.node=r,this.line=i};e.Vert=s;var u=function(){function t(e,n){this.s=e,this.t=n;var r=t.findMatch(e,n),i=n.slice(0).reverse(),o=t.findMatch(e,i);r.length>=o.length?(this.length=r.length,this.si=r.si,this.ti=r.ti,this.reversed=!1):(this.length=o.length,this.si=o.si,this.ti=n.length-o.ti-o.length,this.reversed=!0)}return t.findMatch=function(t,e){for(var n=t.length,r=e.length,i={length:0,si:-1,ti:-1},o=new Array(n),a=0;ai.length&&(i.length=u,i.si=a-u+1,i.ti=s-u+1)}else o[a][s]=0}return i},t.prototype.getSequence=function(){return this.length>=0?this.s.slice(this.si,this.si+this.length):[]},t}();e.LongestCommonSubsequence=u,e.GridRouter=function(){function t(t,e,n){var i=this;void 0===n&&(n=12),this.originalnodes=t,this.groupPadding=n,this.leaves=null,this.nodes=t.map(function(t,n){return new a(n,e.getBounds(t),e.getChildren(t))}),this.leaves=this.nodes.filter(function(t){return t.leaf}),this.groups=this.nodes.filter(function(t){return!t.leaf}),this.cols=this.getGridLines("x"),this.rows=this.getGridLines("y"),this.groups.forEach(function(t){return t.children.forEach(function(e){return i.nodes[e].parent=t})}),this.root={children:[]},this.nodes.forEach(function(t){void 0===t.parent&&(t.parent=i.root,i.root.children.push(t.id)),t.ports=[]}),this.backToFront=this.nodes.slice(0),this.backToFront.sort(function(t,e){return i.getDepth(t)-i.getDepth(e)}),this.backToFront.slice(0).reverse().filter(function(t){return!t.leaf}).forEach(function(t){var e=r.Rectangle.empty();t.children.forEach(function(t){return e=e.union(i.nodes[t].rect)}),t.rect=e.inflate(i.groupPadding)});var o=this.midPoints(this.cols.map(function(t){return t.pos})),u=this.midPoints(this.rows.map(function(t){return t.pos})),c=o[0],l=o[o.length-1],h=u[0],f=u[u.length-1],d=this.rows.map(function(t){return{x1:c,x2:l,y1:t.pos,y2:t.pos}}).concat(u.map(function(t){return{x1:c,x2:l,y1:t,y2:t}})),p=this.cols.map(function(t){return{x1:t.pos,x2:t.pos,y1:h,y2:f}}).concat(o.map(function(t){return{x1:t,x2:t,y1:h,y2:f}})),g=d.concat(p);g.forEach(function(t){return t.verts=[]}),this.verts=[],this.edges=[],d.forEach(function(t){return p.forEach(function(e){var n=new s(i.verts.length,e.x1,t.y1);t.verts.push(n),e.verts.push(n),i.verts.push(n);for(var r=i.backToFront.length;r-- >0;){var o=i.backToFront[r],a=o.rect,u=Math.abs(n.x-a.cx()),c=Math.abs(n.y-a.cy());if(u0;){var r=n.filter(function(e){return e.rect["overlap"+t.toUpperCase()](n[0].rect)}),i={nodes:r,pos:this.avg(r.map(function(e){return e.rect["c"+t]()}))};e.push(i),i.nodes.forEach(function(t){return n.splice(n.indexOf(t),1)})}return e.sort(function(t,e){return t.pos-e.pos}),e},t.prototype.getDepth=function(t){for(var e=0;t.parent!==this.root;)e++,t=t.parent;return e},t.prototype.midPoints=function(t){for(var e=t[1]-t[0],n=[t[0]-e/2],r=1;r.1)&&s.push(u={pos:l[0][e],segments:[]}),u.segments.push(l)}return s},t.nudgeSegs=function(t,e,n,r,o,a){var s=r.length;if(!(s<=1)){for(var u=r.map(function(e){return new i.Variable(e[0][t])}),c=[],l=0;l=0&&c.push(new i.Constraint(u[g],u[v],a))}new i.Solver(u,c).solve(),u.forEach(function(e,i){var o=r[i],a=e.position();o[0][t]=o[1][t]=a;var s=n[o.edgeid];o.i>0&&(s[o.i-1][1][t]=a),o.iMath.PI||i<-Math.PI)&&(i=r-n),i},t.isLeft=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)<=0},t.getOrder=function(t){for(var e={},n=0;n=c.length||h.ti+h.length>=l.length)?n.push({l:r,r:i}):(h.si+h.length>=c.length||h.ti+h.length>=l.length?(o=c[h.si+1],s=c[h.si-1],a=l[h.ti-1]):(o=c[h.si+h.length-2],a=c[h.si+h.length],s=l[h.ti+h.length]),t.isLeft(o,a,s)?n.push({l:i,r:r}):n.push({l:r,r:i})))}return t.getOrder(n)},t.makeSegments=function(t){function e(t){return{x:t.x,y:t.y}}for(var n=function(t,e,n){return Math.abs((e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x))<.001},r=[],i=e(t[0]),o=1;o1&&l>1?1e3:0}).reverse().map(function(t){return n.verts[t]});return u.push(this.nodes[i.id].ports[0]),u.filter(function(t,e){return!(e0&&t.node===i&&u[e-1].node===i)})},t.getRoutePath=function(e,n,r,i){var o,a,s,u,c,l={routepath:"M "+e[0][0].x+" "+e[0][0].y+" ",arrowpath:""};if(e.length>1)for(var h=0;h0?a-=f/Math.abs(f)*n:s-=d/Math.abs(d)*n,l.routepath+="L "+a+" "+s+" ";var p=e[h+1],g=p[0].x,v=p[0].y;f=p[1].x-g,d=p[1].y-v;var m,y,_=t.angleBetween2Lines(o,p)<0?1:0;Math.abs(f)>0?(m=g+f/Math.abs(f)*n,y=v):(m=g,y=v+d/Math.abs(d)*n);var w=Math.abs(m-a),b=Math.abs(y-s);l.routepath+="A "+w+" "+b+" 0 0 "+_+" "+m+" "+y+" "}else{var x=[a,s];Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1])}}else f=(a=(o=e[0])[1].x)-o[0].x,d=(s=o[1].y)-o[0].y,x=[a,s],Math.abs(f)>0?(u=[a-=f/Math.abs(f)*i,s+r],c=[a,s-r]):(u=[a+r,s-=d/Math.abs(d)*i],c=[a-r,s]),l.routepath+="L "+a+" "+s+" ",i>0&&(l.arrowpath="M "+x[0]+" "+x[1]+" L "+u[0]+" "+u[1]+" L "+c[0]+" "+c[1]);return l},t}()},33839:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(1+Math.sqrt(5))/2;e.applyPacking=function(t,e,r,i,o,a){void 0===o&&(o=1),void 0===a&&(a=!0);var s=e,u=r,c=(o=void 0!==o?o:1,i=void 0!==i?i:0,0),l=0,h=0,f=0,d=[];function p(t,e){d=[],c=0,l=0,f=0;for(var n=0;n=t.height&&d[r].x+d[r].width+t.width+10-e<=1e-4){n=d[r];break}d.push(t),void 0!==n?(t.x=n.x+n.width+10,t.y=n.bottom,t.space_left=t.height,t.bottom=t.y,n.space_left-=t.height+10,n.bottom+=t.height+10):(t.y=f,f+=t.height+10,t.x=0,t.bottom=t.y,t.space_left=t.height),t.y+t.height-l>-1e-4&&(l=t.y+t.height-0),t.x+t.width-c>-1e-4&&(c=t.x+t.width-0)}0!=t.length&&(function(t){t.forEach(function(t){var e,n,r,o,a;e=t,n=Number.MAX_VALUE,r=Number.MAX_VALUE,o=0,a=0,e.array.forEach(function(t){var e=void 0!==t.width?t.width:i,s=void 0!==t.height?t.height:i;e/=2,s/=2,o=Math.max(t.x+e,o),n=Math.min(t.x-e,n),a=Math.max(t.y+s,a),r=Math.min(t.y-s,r)}),e.width=o-n,e.height=a-r})}(t),function(t,e){var r=Number.POSITIVE_INFINITY,i=0;t.sort(function(t,e){return e.height-t.height});for(var o=g=h=t.reduce(function(t,e){return t.widthh||d>1e-4;){if(1!=l){var g=a-(a-o)/n;u=p(t,g)}if(0!=l){var v=o+(a-o)/n;c=p(t,v)}if(f=Math.abs(g-v),d=Math.abs(u-c),uc?(o=g,g=v,u=c,l=1):(a=v,v=g,c=u,l=0),s++>100)break}p(t,i)}(t),a&&function(t){t.forEach(function(t){var e={x:0,y:0};t.array.forEach(function(t){e.x+=t.x,e.y+=t.y}),e.x/=t.array.length,e.y/=t.array.length;var n=t.x-(e.x-t.width/2)+s/2-c/2,r=t.y-(e.y-t.height/2)+u/2-l/2;t.array.forEach(function(t){t.x+=n,t.y+=r})})}(t))},e.separateGraphs=function(t,e){for(var n={},r={},i=[],o=0,a=0;a0){var e=0;this._links.forEach(function(t){e=Math.max(e,t.source,t.target)}),this._nodes=new Array(++e);for(var n=0;n0?t:0:t>0&&(this._running||(this._running=!0,this.trigger({type:l.start,alpha:this._alpha=t}),this.kick())),this):this._alpha},t.prototype.getLinkLength=function(t){return"function"==typeof this._linkDistance?+this._linkDistance(t):this._linkDistance},t.setLinkLength=function(t,e){t.length=e},t.prototype.getLinkType=function(t){return"function"==typeof this._linkType?this._linkType(t):0},t.prototype.symmetricDiffLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.symmetricDiffLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.jaccardLinkLengths=function(t,e){var n=this;return void 0===e&&(e=1),this.linkDistance(function(e){return t*e.length}),this._linkLengthCalculator=function(){return i.jaccardLinkLengths(n._links,n.linkAccessor,e)},this},t.prototype.start=function(e,n,r,u,c,l){var h=this;void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===u&&(u=0),void 0===c&&(c=!0),void 0===l&&(l=!0);var f,d=this.nodes().length,p=d+2*this._groups.length,g=this._canvasSize[0],v=this._canvasSize[1],m=new Array(p),y=new Array(p),_=null,w=this._avoidOverlaps;this._nodes.forEach(function(t,e){t.index=e,void 0===t.x&&(t.x=g/2,t.y=v/2),m[e]=t.x,y[e]=t.y}),this._linkLengthCalculator&&this._linkLengthCalculator(),this._distanceMatrix?f=this._distanceMatrix:(f=new s.Calculator(p,this._links,t.getSourceIndex,t.getTargetIndex,function(t){return h.getLinkLength(t)}).DistanceMatrix(),_=o.Descent.createSquareMatrix(p,function(){return 2}),this._links.forEach(function(t){"number"==typeof t.source&&(t.source=h._nodes[t.source]),"number"==typeof t.target&&(t.target=h._nodes[t.target])}),this._links.forEach(function(e){var n=t.getSourceIndex(e),r=t.getTargetIndex(e);_[n][r]=_[r][n]=e.weight||1}));var b=o.Descent.createSquareMatrix(p,function(t,e){return f[t][e]});if(this._rootGroup&&void 0!==this._rootGroup.groups){var x=d;this._groups.forEach(function(t){!function(t,e,n,r){_[t][e]=_[e][t]=n,b[t][e]=b[e][t]=.1}(x,x+1,h._groupCompactness),m[x]=0,y[x++]=0,m[x]=0,y[x++]=0})}else this._rootGroup={leaves:this._nodes,groups:[]};var E=this._constraints||[];for(this._directedLinkConstraints&&(this.linkAccessor.getMinSeparation=this._directedLinkConstraints.getMinSeparation,E=E.concat(i.generateDirectedEdgeConstraints(d,this._links,this._directedLinkConstraints.axis,this.linkAccessor))),this.avoidOverlaps(!1),this._descent=new o.Descent([m,y],b),this._descent.locks.clear(),x=0;x0&&(this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E).projectFunctions()),this._descent.run(n),this.separateOverlappingComponents(g,v,l),this.avoidOverlaps(w),w&&(this._nodes.forEach(function(t,e){t.x=m[e],t.y=y[e]}),this._descent.project=new a.Projection(this._nodes,this._groups,this._rootGroup,E,!0).projectFunctions(),this._nodes.forEach(function(t,e){m[e]=t.x,y[e]=t.y})),this._descent.G=_,this._descent.run(r),u){this._descent.snapStrength=1e3,this._descent.snapGridSize=this._nodes[0].width,this._descent.numGridSnapNodes=d,this._descent.scaleSnapByMaxH=d!=p;var A=o.Descent.createSquareMatrix(p,function(t,e){return t>=d||e>=d?_[t][e]:0});this._descent.G=A,this._descent.run(u)}return this.updateNodePositions(),this.separateOverlappingComponents(g,v,l),c?this.resume():this},t.prototype.initialLayout=function(e,n,r){if(this._groups.length>0&&e>0){var i=this._nodes.length,o=this._links.map(function(t){return{source:t.source.index,target:t.target.index}}),a=this._nodes.map(function(t){return{index:t.index}});this._groups.forEach(function(t,e){a.push({index:t.index=i+e})}),this._groups.forEach(function(t,e){void 0!==t.leaves&&t.leaves.forEach(function(e){return o.push({source:t.index,target:e.index})}),void 0!==t.groups&&t.groups.forEach(function(e){return o.push({source:t.index,target:e.index})})}),(new t).size(this.size()).nodes(a).links(o).avoidOverlaps(!1).linkDistance(this.linkDistance()).symmetricDiffLinkLengths(5).convergenceThreshold(1e-4).start(e,0,0,0,!1),this._nodes.forEach(function(t){n[t.index]=a[t.index].x,r[t.index]=a[t.index].y})}else this._descent.run(e)},t.prototype.separateOverlappingComponents=function(t,e,n){var r=this;if(void 0===n&&(n=!0),!this._distanceMatrix&&this._handleDisconnected){var i=this._descent.x[0],o=this._descent.x[1];this._nodes.forEach(function(t,e){t.x=i[e],t.y=o[e]});var a=c.separateGraphs(this._nodes,this._links);c.applyPacking(a,t,e,this._defaultNodeSize,1,n),this._nodes.forEach(function(t,e){r._descent.x[0][e]=t.x,r._descent.x[1][e]=t.y,t.bounds&&(t.bounds.setXCentre(t.x),t.bounds.setYCentre(t.y))})}},t.prototype.resume=function(){return this.alpha(.1)},t.prototype.stop=function(){return this.alpha(0)},t.prototype.prepareEdgeRouting=function(t){void 0===t&&(t=0),this._visibilityGraph=new u.TangentVisibilityGraph(this._nodes.map(function(e){return e.bounds.inflate(-t).vertices()}))},t.prototype.routeEdge=function(t,e,n){void 0===e&&(e=5);var r=[],i=new u.TangentVisibilityGraph(this._visibilityGraph.P,{V:this._visibilityGraph.V,E:this._visibilityGraph.E}),o={x:t.source.x,y:t.source.y},c={x:t.target.x,y:t.target.y},l=i.addPoint(o,t.source.index),h=i.addPoint(c,t.target.index);i.addEdgeIfVisible(o,c,t.source.index,t.target.index),void 0!==n&&n(i);var f=new s.Calculator(i.V.length,i.E,function(t){return t.source.id},function(t){return t.target.id},function(t){return t.length()}).PathFromNodeToNode(l.id,h.id);if(1===f.length||f.length===i.V.length){var d=a.makeEdgeBetween(t.source.innerBounds,t.target.innerBounds,e);r=[d.sourceIntersection,d.arrowStart]}else{for(var p=f.length-2,g=i.V[f[p]].p,v=i.V[f[0]].p,m=(r=[t.source.innerBounds.rayIntersection(g.x,g.y)],p);m>=0;--m)r.push(i.V[f[m]].p);r.push(a.makeEdgeTo(v,t.target.innerBounds,e))}return r},t.getSourceIndex=function(t){return"number"==typeof t.source?t.source:t.source.index},t.getTargetIndex=function(t){return"number"==typeof t.target?t.target:t.target.index},t.linkId=function(e){return t.getSourceIndex(e)+"-"+t.getTargetIndex(e)},t.dragStart=function(e){h(e)?t.storeOffset(e,t.dragOrigin(e)):(t.stopNode(e),e.fixed|=2)},t.stopNode=function(t){t.px=t.x,t.py=t.y},t.storeOffset=function(e,n){void 0!==e.leaves&&e.leaves.forEach(function(e){e.fixed|=2,t.stopNode(e),e._dragGroupOffsetX=e.x-n.x,e._dragGroupOffsetY=e.y-n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.storeOffset(e,n)})},t.dragOrigin=function(t){return h(t)?{x:t.bounds.cx(),y:t.bounds.cy()}:t},t.drag=function(e,n){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(t){e.bounds.setXCentre(n.x),e.bounds.setYCentre(n.y),t.px=t._dragGroupOffsetX+n.x,t.py=t._dragGroupOffsetY+n.y}),void 0!==e.groups&&e.groups.forEach(function(e){return t.drag(e,n)})):(e.px=n.x,e.py=n.y)},t.dragEnd=function(e){h(e)?(void 0!==e.leaves&&e.leaves.forEach(function(e){t.dragEnd(e),delete e._dragGroupOffsetX,delete e._dragGroupOffsetY}),void 0!==e.groups&&e.groups.forEach(t.dragEnd)):e.fixed&=-7},t.mouseOver=function(t){t.fixed|=4,t.px=t.x,t.py=t.y},t.mouseOut=function(t){t.fixed&=-5},t}()},83807:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(99147),i=n(59895),o=n(97002),a=n(24232);e.Link3D=function(){function t(t,e){this.source=t,this.target=e}return t.prototype.actualLength=function(t){var e=this;return Math.sqrt(t.reduce(function(t,n){var r=n[e.target]-n[e.source];return t+r*r},0))},t}(),e.Node3D=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n},e.Layout3D=function(){function t(e,n,r){var i=this;void 0===r&&(r=1),this.nodes=e,this.links=n,this.idealLinkLength=r,this.constraints=null,this.useJaccardLinkLengths=!0,this.result=new Array(t.k);for(var o=0;o=this.R))return this.merge(e.a,e.b,t),!0}},t.prototype.nEdges=function(t,e){var n=t.incoming.intersection(e.incoming),r=t.outgoing.intersection(e.outgoing);return this.R-n.count()-r.count()},t.prototype.getGroupHierarchy=function(t){var e=this,r=[];return i(this.roots[0],{},r),this.allEdges().forEach(function(i){var o=e.modules[i.source],a=e.modules[i.target];t.push(new n(void 0===o.gid?i.source:r[o.gid],void 0===a.gid?i.target:r[a.gid],i.type))}),r},t.prototype.allEdges=function(){var e=[];return t.getEdges(this.roots[0],e),e},t.getEdges=function(e,n){e.forAll(function(e){e.getEdges(n),t.getEdges(e.children,n)})},t}();function i(t,e,n){t.forAll(function(t){if(t.isLeaf())e.leaves||(e.leaves=[]),e.leaves.push(t.id);else{var r=e;if(t.gid=n.length,!t.isIsland()||t.isPredefined()){if(r={id:t.gid},t.isPredefined())for(var o in t.definition)r[o]=t.definition[o];e.groups||(e.groups=[]),e.groups.push(t.gid),n.push(r)}i(t.children,r,n)}})}e.Configuration=r;var o=function(){function t(t,e,n,r,i){void 0===e&&(e=new s),void 0===n&&(n=new s),void 0===r&&(r=new a),this.id=t,this.outgoing=e,this.incoming=n,this.children=r,this.definition=i}return t.prototype.getEdges=function(t){var e=this;this.outgoing.forAll(function(r,i){r.forAll(function(r){t.push(new n(e.id,r.id,i))})})},t.prototype.isLeaf=function(){return 0===this.children.count()},t.prototype.isIsland=function(){return 0===this.outgoing.count()&&0===this.incoming.count()},t.prototype.isPredefined=function(){return void 0!==this.definition},t}();e.Module=o;var a=function(){function t(){this.table={}}return t.prototype.count=function(){return Object.keys(this.table).length},t.prototype.intersection=function(e){var n=new t;return n.table=function(t,e){var n={};for(var r in t)r in e&&(n[r]=t[r]);return n}(this.table,e.table),n},t.prototype.intersectionCount=function(t){return this.intersection(t).count()},t.prototype.contains=function(t){return t in this.table},t.prototype.add=function(t){this.table[t.id]=t},t.prototype.remove=function(t){delete this.table[t.id]},t.prototype.forAll=function(t){for(var e in this.table)t(this.table[e])},t.prototype.modules=function(){var t=[];return this.forAll(function(e){e.isPredefined()||t.push(e)}),t},t}();e.ModuleSet=a;var s=function(){function t(){this.sets={},this.n=0}return t.prototype.count=function(){return this.n},t.prototype.contains=function(t){var e=!1;return this.forAllModules(function(n){e||n.id!=t||(e=!0)}),e},t.prototype.add=function(t,e){(t in this.sets?this.sets[t]:this.sets[t]=new a).add(e),++this.n},t.prototype.remove=function(t,e){var n=this.sets[t];n.remove(e),0===n.count()&&delete this.sets[t],--this.n},t.prototype.forAll=function(t){for(var e in this.sets)t(this.sets[e],Number(e))},t.prototype.forAllModules=function(t){this.forAll(function(e,n){return e.forAll(t)})},t.prototype.intersection=function(e){var n=new t;return this.forAll(function(t,r){if(r in e.sets){var i=t.intersection(e.sets[r]),o=i.count();o>0&&(n.sets[r]=i,n.n+=o)}}),n},t}();e.LinkSets=s,e.getGroups=function(t,e,n,i){for(var o=new r(t.length,e,n,i);o.greedyMerge(););var a=[],s=o.getGroupHierarchy(a);return a.forEach(function(e){var n=function(n){var r=e[n];"number"==typeof r&&(e[n]=t[r])};n("source"),n("target")}),{groups:s,powerEdges:a}}},741:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.elem=t,this.subheaps=[]}return t.prototype.toString=function(t){for(var e="",n=!1,r=0;r0)}return null}}return t.prototype.clear=function(){this._root=null,this.size=0},t.prototype.find=function(t){for(var e=this._root;null!==e;){var n=this._comparator(t,e.data);if(0===n)return e.data;e=e.get_child(n>0)}return null},t.prototype.lowerBound=function(t){return this._bound(t,this._comparator)},t.prototype.upperBound=function(t){var e=this._comparator;return this._bound(t,function(t,n){return e(n,t)})},t.prototype.min=function(){var t=this._root;if(null===t)return null;for(;null!==t.left;)t=t.left;return t.data},t.prototype.max=function(){var t=this._root;if(null===t)return null;for(;null!==t.right;)t=t.right;return t.data},t.prototype.iterator=function(){return new o(this)},t.prototype.each=function(t){for(var e,n=this.iterator();null!==(e=n.next());)t(e)},t.prototype.reach=function(t){for(var e,n=this.iterator();null!==(e=n.prev());)t(e)},t.prototype._bound=function(t,e){for(var n=this._root,r=this.iterator();null!==n;){var i=this._comparator(t,n.data);if(0===i)return r._cursor=n,r;r._ancestors.push(n),n=n.get_child(i>0)}for(var o=r._ancestors.length-1;o>=0;--o)if(e(t,(n=r._ancestors[o]).data)>0)return r._cursor=n,r._ancestors.length=o,r;return r._ancestors.length=0,r},t}();e.TreeBase=i;var o=function(){function t(t){this._tree=t,this._ancestors=[],this._cursor=null}return t.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},t.prototype.next=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._minNode(t)}else{var e;if(null===this._cursor.right)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===e);else this._ancestors.push(this._cursor),this._minNode(this._cursor.right)}return null!==this._cursor?this._cursor.data:null},t.prototype.prev=function(){if(null===this._cursor){var t=this._tree._root;null!==t&&this._maxNode(t)}else{var e;if(null===this._cursor.left)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===e);else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left)}return null!==this._cursor?this._cursor.data:null},t.prototype._minNode=function(t){for(;null!==t.left;)this._ancestors.push(t),t=t.left;this._cursor=t},t.prototype._maxNode=function(t){for(;null!==t.right;)this._ancestors.push(t),t=t.right;this._cursor=t},t}();e.Iterator=o;var a=function(){function t(t){this.data=t,this.left=null,this.right=null,this.red=!0}return t.prototype.get_child=function(t){return t?this.right:this.left},t.prototype.set_child=function(t,e){t?this.right=e:this.left=e},t}();e.RBTree=function(t){function e(e){var n=t.call(this)||this;return n._root=null,n._comparator=e,n.size=0,n}return r(e,t),e.prototype.insert=function(t){var n=!1;if(null===this._root)this._root=new a(t),n=!0,this.size++;else{var r=new a(void 0),i=!1,o=!1,s=null,u=r,c=null,l=this._root;for(u.right=this._root;;){if(null===l?(l=new a(t),c.set_child(i,l),n=!0,this.size++):e.is_red(l.left)&&e.is_red(l.right)&&(l.red=!0,l.left.red=!1,l.right.red=!1),e.is_red(l)&&e.is_red(c)){var h=u.right===s;l===c.get_child(o)?u.set_child(h,e.single_rotate(s,!o)):u.set_child(h,e.double_rotate(s,!o))}var f=this._comparator(l.data,t);if(0===f)break;o=i,null!==s&&(u=s),s=c,c=l,l=l.get_child(i=f<0)}this._root=r.right}return this._root.red=!1,n},e.prototype.remove=function(t){if(null===this._root)return!1;var n=new a(void 0),r=n;r.right=this._root;for(var i=null,o=null,s=null,u=!0;null!==r.get_child(u);){var c=u;o=i,i=r,r=r.get_child(u);var l=this._comparator(t,r.data);if(u=l>0,0===l&&(s=r),!e.is_red(r)&&!e.is_red(r.get_child(u)))if(e.is_red(r.get_child(!u))){var h=e.single_rotate(r,u);i.set_child(c,h),i=h}else if(!e.is_red(r.get_child(!u))){var f=i.get_child(!c);if(null!==f)if(e.is_red(f.get_child(!c))||e.is_red(f.get_child(c))){var d=o.right===i;e.is_red(f.get_child(c))?o.set_child(d,e.double_rotate(i,c)):e.is_red(f.get_child(!c))&&o.set_child(d,e.single_rotate(i,c));var p=o.get_child(d);p.red=!0,r.red=!0,p.left.red=!1,p.right.red=!1}else i.red=!1,f.red=!0,r.red=!0}}return null!==s&&(s.data=r.data,i.set_child(i.right===r,r.get_child(null===r.left)),this.size--),this._root=n.right,null!==this._root&&(this._root.red=!1),null!==s},e.is_red=function(t){return null!==t&&t.red},e.single_rotate=function(t,e){var n=t.get_child(!e);return t.set_child(!e,n.get_child(e)),n.set_child(e,t),t.red=!0,n.red=!1,n},e.double_rotate=function(t,n){return t.set_child(!n,e.single_rotate(t.get_child(!n),!n)),e.single_rotate(t,n)},e}(i)},97002:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(70980),a=n(21539);function s(t){return t.bounds=void 0!==t.leaves?t.leaves.reduce(function(t,e){return e.bounds.union(t)},u.empty()):u.empty(),void 0!==t.groups&&(t.bounds=t.groups.reduce(function(t,e){return s(e).union(t)},t.bounds)),t.bounds=t.bounds.inflate(t.padding),t.bounds}e.computeGroupBounds=s;var u=function(){function t(t,e,n,r){this.x=t,this.X=e,this.y=n,this.Y=r}return t.empty=function(){return new t(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY)},t.prototype.cx=function(){return(this.x+this.X)/2},t.prototype.cy=function(){return(this.y+this.Y)/2},t.prototype.overlapX=function(t){var e=this.cx(),n=t.cx();return e<=n&&t.x0?n[0]:null},t.prototype.vertices=function(){return[{x:this.x,y:this.y},{x:this.X,y:this.y},{x:this.X,y:this.Y},{x:this.x,y:this.Y}]},t.lineIntersection=function(t,e,n,r,i,o,a,s){var u=n-t,c=a-i,l=r-e,h=s-o,f=h*u-c*l;if(0==f)return null;var d=t-i,p=e-o,g=(c*p-h*d)/f,v=(u*p-l*d)/f;return g>=0&&g<=1&&v>=0&&v<=1?{x:t+g*u,y:e+g*l}:null},t.prototype.inflate=function(e){return new t(this.x-e,this.X+e,this.y-e,this.Y+e)},t}();e.Rectangle=u,e.makeEdgeBetween=function(t,e,n){var r=t.rayIntersection(e.cx(),e.cy())||{x:t.cx(),y:t.cy()},i=e.rayIntersection(t.cx(),t.cy())||{x:e.cx(),y:e.cy()},o=i.x-r.x,a=i.y-r.y,s=Math.sqrt(o*o+a*a),u=s-n;return{sourceIntersection:r,targetIntersection:i,arrowStart:{x:r.x+u*o/s,y:r.y+u*a/s}}},e.makeEdgeTo=function(t,e,n){var r=e.rayIntersection(t.x,t.y);r||(r={x:e.cx(),y:e.cy()});var i=r.x-t.x,o=r.y-t.y,a=Math.sqrt(i*i+o*o);return{x:r.x-n*i/a,y:r.y-n*o/a}};var c=function(t,e,n){this.v=t,this.r=e,this.pos=n,this.prev=f(),this.next=f()},l=function(t,e,n){this.isOpen=t,this.v=e,this.pos=n};function h(t,e){return t.pos>e.pos?1:t.pos0&&(t[n].insert(i),i[r].insert(t))};n("next","prev"),n("prev","next")}};function g(t,e,n,r){void 0===r&&(r=!1);var i=t.padding,o=void 0!==t.groups?t.groups.length:0,a=void 0!==t.leaves?t.leaves.length:0,s=o?t.groups.reduce(function(t,r){return t.concat(g(r,e,n,!0))},[]):[],u=(r?2:0)+a+o,c=new Array(u),l=new Array(u),h=0,f=function(t,e){l[h]=t,c[h++]=e};if(r){var d=t.bounds,p=e.getCentre(d),m=e.getSize(d)/2,y=e.getOpen(d),_=e.getClose(d),w=p-m+i/2,b=p+m-i/2;t.minVar.desiredPosition=w,f(e.makeRect(y,_,w,i),t.minVar),t.maxVar.desiredPosition=b,f(e.makeRect(y,_,b,i),t.maxVar)}a&&t.leaves.forEach(function(t){return f(t.bounds,t.variable)}),o&&t.groups.forEach(function(t){var n=t.bounds;f(e.makeRect(e.getOpen(n),e.getClose(n),e.getCentre(n),e.getSize(n)),t.minVar)});var x=v(l,c,e,n);return o&&(c.forEach(function(t){t.cOut=[],t.cIn=[]}),x.forEach(function(t){t.left.cOut.push(t),t.right.cIn.push(t)}),t.groups.forEach(function(t){var n=(t.padding-e.getSize(t.bounds))/2;t.minVar.cIn.forEach(function(t){return t.gap+=n}),t.minVar.cOut.forEach(function(e){e.left=t.maxVar,e.gap+=n})})),s.concat(x)}function v(t,e,n,r){var i,a=t.length,s=2*a;console.assert(e.length>=a);var u=new Array(s);for(i=0;it[n]&&(t[n]=e)}o=t})}},t.prototype.createAlignment=function(t){var e=this,n=this.nodes[t.offsets[0].node].variable;this.makeFeasible(t);var r="x"===t.axis?this.xConstraints:this.yConstraints;t.offsets.slice(1).forEach(function(t){r.push(new o.Constraint(n,e.nodes[t.node].variable,t.offset,!0))})},t.prototype.createConstraints=function(t){var e=this,n=function(t){return void 0===t.type||"separation"===t.type};this.xConstraints=t.filter(function(t){return"x"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),this.yConstraints=t.filter(function(t){return"y"===t.axis&&n(t)}).map(function(t){return e.createSeparation(t)}),t.filter(function(t){return"alignment"===t.type}).forEach(function(t){return e.createAlignment(t)})},t.prototype.setupVariablesAndBounds=function(t,e,n,r){this.nodes.forEach(function(i,o){i.fixed?(i.variable.weight=i.fixedWeight?i.fixedWeight:1e3,n[o]=r(i)):i.variable.weight=1;var a=(i.width||0)/2,s=(i.height||0)/2,c=t[o],l=e[o];i.bounds=new u(c-a,c+a,l-s,l+s)})},t.prototype.xProject=function(t,e,n){(this.rootGroup||this.avoidOverlaps||this.xConstraints)&&this.project(t,e,t,n,function(t){return t.px},this.xConstraints,_,function(t){return t.bounds.setXCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.x=e-i,t.bounds.X=r+i})},t.prototype.yProject=function(t,e,n){(this.rootGroup||this.yConstraints)&&this.project(t,e,e,n,function(t){return t.py},this.yConstraints,w,function(t){return t.bounds.setYCentre(n[t.variable.index]=t.variable.position())},function(t){var e=n[t.minVar.index]=t.minVar.position(),r=n[t.maxVar.index]=t.maxVar.position(),i=t.padding/2;t.bounds.y=e-i,t.bounds.Y=r+i})},t.prototype.projectFunctions=function(){var t=this;return[function(e,n,r){return t.xProject(e,n,r)},function(e,n,r){return t.yProject(e,n,r)}]},t.prototype.project=function(t,e,n,r,i,o,a,u,c){this.setupVariablesAndBounds(t,e,r,i),this.rootGroup&&this.avoidOverlaps&&(s(this.rootGroup),o=o.concat(a(this.rootGroup))),this.solve(this.variables,o,n,r),this.nodes.forEach(u),this.rootGroup&&this.avoidOverlaps&&(this.groups.forEach(c),s(this.rootGroup))},t.prototype.solve=function(t,e,n,r){var i=new o.Solver(t,e);i.setStartingPositions(n),i.setDesiredPositions(r),i.solve()},t}()},99147:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(741),i=function(t,e){this.id=t,this.distance=e},o=function(t){this.id=t,this.neighbours=[]},a=function(t,e,n){this.node=t,this.prev=e,this.d=n};e.Calculator=function(){function t(t,e,n,r,a){this.n=t,this.es=e,this.neighbours=new Array(this.n);for(var s=this.n;s--;)this.neighbours[s]=new o(s);for(s=this.es.length;s--;){var u=this.es[s],c=n(u),l=r(u),h=a(u);this.neighbours[c].neighbours.push(new i(l,h)),this.neighbours[l].neighbours.push(new i(c,h))}}return t.prototype.DistanceMatrix=function(){for(var t=new Array(this.n),e=0;eh&&(c.d=h,c.prev=s,n.reduceKey(c.q,c,function(t,e){return t.q=e}))}}return o},t}()},70980:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.weight;this.AB+=n*e*(t.offset/t.scale),this.AD+=n*e*t.desiredPosition,this.A2+=n*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();e.PositionStats=n;var r=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();e.Constraint=r;var i=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach(function(t){return n(t,t.right)}),this.cIn.forEach(function(t){return n(t,t.left)})},t}();e.Variable=i;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new n(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();e.Solver=s,e.removeOverlapInOneDimension=function(t,e,n){for(var o=t.map(function(t){return new i(t.desiredCenter)}),a=[],u=t.length,c=0;c{class t{constructor(t,e,i,s,a,n,l){this.dialog=t,this.facilityManager=e,this.route=i,this.sideMenuService=s,this.sideMenuItemService=a,this.guiAuthResolver=n,this.router=l,this.editFacilityAuth=!1,this.deleteAuth=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t;const e=this.sideMenuItemService.parseFacility(t);this.sideMenuService.setFacilityMenuItems([e]),this.editFacilityAuth=this.guiAuthResolver.isAuthorized("updateFacility_Facility_policy",[this.facility]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteFacility_Facility_Boolean_policy",[this.facility]),(0,r.sF)("facilities",this.facility),(0,r.XI)(this.facility),this.loading=!1},()=>this.loading=!1)})}editFacility(){const t=(0,r.kZ)();t.width="450px",t.data={theme:"facility-theme",facility:this.facility,dialogType:d.Eg.FACILITY},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.facilityManager.getFacilityById(this.facility.id).subscribe(t=>{this.facility=t})})}deleteFacility(){const t=(0,r.kZ)();t.width="500px",t.data={theme:"facility-theme",facility:this.facility},this.dialog.open(h.Y,t).afterClosed().subscribe(t=>{t&&this.router.navigate([""])})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(a.gz),p.Y36(f.D),p.Y36(o.V),p.Y36(u.x4),p.Y36(a.F0))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-facility-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"facility-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p._UZ(1,"perun-web-apps-back-button"),p.YNc(2,C,1,0,"mat-spinner",1),p.YNc(3,v,17,19,"div",2),p.qZA()),2&t&&(p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&void 0!==e.facility))},directives:[m.W,s.O5,S.$g,A.Hw,T.gM,s.PC,a.yS,I.A,b.lW],pipes:[E.X$],styles:[""],data:{animation:[l.Ji]}}),t})();var O=i(8557);function D(t,e){1&t&&p._UZ(0,"mat-spinner",2)}function R(t,e){if(1&t&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-menu-buttons-field",3),p.qZA()),2&t){const t=p.oxw();p.xp6(1),p.Q6J("items",t.navItems)("size","small")}}let N=(()=>{class t{constructor(t,e,i){this.facilityManager=t,this.route=e,this.authResolver=i,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.navItems=[],this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/facilities/${this.facility.id}/resources`,label:"MENU_ITEMS.FACILITY.RESOURCES",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-user",url:`/facilities/${this.facility.id}/allowed-users`,label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-group",url:`/facilities/${this.facility.id}/allowed-groups`,label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",style:"facility-btn"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service-status",url:`/facilities/${this.facility.id}/services-status`,label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service_destination",url:`/facilities/${this.facility.id}/services-destinations`,label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",style:"facility-btn"}),this.authResolver.isFacilityAdmin()&&this.navItems.push({cssIcon:"perun-hosts",url:`/facilities/${this.facility.id}/hosts`,label:"MENU_ITEMS.FACILITY.HOSTS",style:"facility-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/facilities/${this.facility.id}/attributes`,label:"MENU_ITEMS.FACILITY.ATTRIBUTES",style:"facility-btn"}),(this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])||this.authResolver.isManagerPagePrivileged(this.facility)||this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility]))&&this.navItems.push({cssIcon:"perun-settings2",url:`/facilities/${this.facility.id}/settings`,label:"MENU_ITEMS.FACILITY.SETTINGS",style:"facility-btn"})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(p.YNc(0,D,1,0,"mat-spinner",0),p.YNc(1,R,2,2,"div",1)),2&t&&(p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,S.$g,O.L],styles:[""]}),t})();var w=i(64467),k=i(39124),Y=i(72920),M=i(76527);let F=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&p._UZ(0,"app-animated-router-outlet")},directives:[I.A],styles:[""],data:{animation:[l.Ji]}}),t})();function q(t,e){1&t&&p._UZ(0,"mat-spinner",2)}function U(t,e){if(1&t&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-menu-buttons-field",3),p.qZA()),2&t){const t=p.oxw();p.xp6(1),p.Q6J("items",t.items)("size","small")}}let J=(()=>{class t{constructor(t,e,i){this.route=t,this.facilityManager=e,this.authResolver=i,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.items=[],this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-owner-grey",url:`/facilities/${this.facility.id}/settings/owners`,label:"MENU_ITEMS.FACILITY.OWNERS",style:"facility-btn"}),this.authResolver.isManagerPagePrivileged(this.facility)&&this.items.push({cssIcon:"perun-manager",url:`/facilities/${this.facility.id}/settings/managers`,label:"MENU_ITEMS.FACILITY.MANAGERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-security-teams",url:`/facilities/${this.facility.id}/settings/security-teams`,label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",style:"facility-btn"}),this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])&&this.items.push({cssIcon:"perun-black-list",url:`/facilities/${this.facility.id}/settings/blacklist`,label:"MENU_ITEMS.FACILITY.BLACKLIST",style:"facility-btn"})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(p.YNc(0,q,1,0,"mat-spinner",0),p.YNc(1,U,2,2,"div",1)),2&t&&(p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,S.$g,O.L],styles:[""]}),t})();var Q=i(55109),z=i(541),H=i(69012);function V(t,e){1&t&&(p._uU(0),p.ALo(1,"translate")),2&t&&p.hij(" ",p.lcZ(1,1,"FACILITY_DETAIL.ENTITY")," ")}function B(t,e){if(1&t&&p._UZ(0,"app-one-entity-attribute-page",4),2&t){const t=p.oxw();p.Q6J("entity","facility")("entityId",t.facilityId)}}function P(t,e){1&t&&(p._uU(0),p.ALo(1,"translate"),p.ALo(2,"translate")),2&t&&p.AsE(" ",p.lcZ(1,2,"FACILITY_DETAIL.ENTITY")," - ",p.lcZ(2,4,"ADMIN_USER.ENTITY")," ")}function G(t,e){if(1&t&&p._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=p.oxw(2);p.Q6J("firstEntity","facility")("firstEntityId",t.facilityId)("secondEntity","user")}}function $(t,e){1&t&&(p.TgZ(0,"mat-tab"),p.YNc(1,P,3,6,"ng-template",1),p.YNc(2,G,1,3,"ng-template",2),p.qZA())}let j=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e}ngOnInit(){this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilityUserAttAuth=this.authResolver.isAuthorized("getAssignedUsers_Facility_policy",[{id:this.facilityId,beanName:"Facility"}])})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:9,vars:4,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-tab-group"),p.TgZ(5,"mat-tab"),p.YNc(6,V,2,3,"ng-template",1),p.YNc(7,B,1,2,"ng-template",2),p.qZA(),p.YNc(8,$,3,0,"mat-tab",3),p.qZA(),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,2,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),p.xp6(6),p.Q6J("ngIf",e.facilityUserAttAuth))},directives:[Q.SP,Q.uX,Q.uD,Q.Vc,s.O5,z.t,H.Y],pipes:[E.X$],styles:[""]}),t})();var K=i(77968),W=i(22927),X=i(79472),tt=i(42473),et=i(16073),it=i(56238),st=i(79996),at=i(22280),nt=i(29236),lt=i(66283),ot=i(80340),ct=i(40084),rt=i(71522),ut=i(22196);function dt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedService(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function ht(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",7),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedSerVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",8,9),p.TgZ(5,"mat-option",10),p.NdJ("onSelectionChange",function(){return p.CHM(t),p.oxw(2).onSelectedService("NOT_SELECTED")}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"mat-option",10),p.NdJ("onSelectionChange",function(){return p.CHM(t),p.oxw(2).onSelectedService("ALL")}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.YNc(11,dt,2,2,"mat-option",11),p.ALo(12,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,9,"FACILITY_DETAIL.SERVICE_CONFIG.SERVICE_SELECT")),p.Q6J("formControl",e.serviceField)("matAutocomplete",t),p.xp6(2),p.Q6J("displayWith",e.serviceDisplayFn.bind(e)),p.xp6(2),p.Q6J("value","NOT_SELECTED"),p.xp6(1),p.hij(" ",p.lcZ(7,11,"FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED")," "),p.xp6(2),p.Q6J("value","ALL"),p.xp6(1),p.hij(" ",p.lcZ(10,13,"FACILITY_DETAIL.SERVICE_CONFIG.ALL")," "),p.xp6(2),p.Q6J("ngForOf",p.lcZ(12,15,e.filteredServices))}}function pt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedResource(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function gt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",12),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedResVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",8,9),p.YNc(5,pt,2,2,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.RES_SELECT")),p.Q6J("matAutocomplete",t)("formControl",e.resourceField),p.xp6(2),p.Q6J("displayWith",e.resourceDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredResources))}}function ft(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedGroup(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function mt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",12),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedGroupVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",13,9),p.YNc(5,ft,2,2,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.GROUP_SELECT")),p.Q6J("matAutocomplete",t)("formControl",e.groupField),p.xp6(2),p.Q6J("displayWith",e.groupDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredGroups))}}function St(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedMember(e)}),p._uU(1),p.ALo(2,"userFullName"),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",p.lcZ(2,2,t.user)," ")}}function At(t,e){if(1&t&&(p.TgZ(0,"mat-form-field",6),p._UZ(1,"input",14),p.ALo(2,"translate"),p.TgZ(3,"mat-autocomplete",8,9),p.YNc(5,St,3,4,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()),2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.MEMBER_SELECT")),p.Q6J("formControl",e.memberField)("matAutocomplete",t),p.xp6(2),p.Q6J("displayWith",e.memberDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredMembers))}}function Tt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",3),p.YNc(1,ht,13,17,"mat-form-field",4),p.TgZ(2,"mat-checkbox",5),p.NdJ("change",function(e){return p.CHM(t),p.oxw().onOfferAllServices(e)}),p._uU(3),p.ALo(4,"translate"),p.qZA(),p.YNc(5,gt,7,9,"mat-form-field",4),p.YNc(6,mt,7,9,"mat-form-field",4),p.YNc(7,At,7,9,"mat-form-field",4),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("ngIf",void 0!==t.services),p.xp6(2),p.hij(" ",p.lcZ(4,5,"FACILITY_DETAIL.SERVICE_CONFIG.ALL_SERVICES")," "),p.xp6(2),p.Q6J("ngIf",void 0!==t.resources&&0!==t.resources.length),p.xp6(1),p.Q6J("ngIf",void 0!==t.selectedResource&&void 0!==t.groups&&0!==t.groups.length),p.xp6(1),p.Q6J("ngIf",void 0!==t.selectedGroup&&void 0!==t.members&&0!==t.members.length)}}function It(t,e){if(1&t&&p._UZ(0,"perun-web-apps-service-configurator",15),2&t){const t=p.oxw();p.Q6J("facility",t.facility)("resource",t.selectedResource)("group",t.selectedGroup)("service",t.selectedService)("member",t.selectedMember)}}let bt=(()=>{class t{constructor(t,e,i,s,a,n,l){this.route=t,this.facilityManager=e,this.resourceManager=i,this.serviceManager=s,this.membersManager=a,this.namePipe=n,this.translate=l,this.selectedService="NOT_SELECTED",this.attrNames=[],this.serviceField=new et.NI,this.resourceField=new et.NI,this.groupField=new et.NI,this.memberField=new et.NI,this.allowedStatuses=["INVALID","VALID"],this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.ALL").subscribe(t=>this.serviceAllTranslation=t),this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED").subscribe(t=>this.serviceNotSelectedTranslation=t)}ngOnInit(){this.route.parent.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(t=>this.resources=t),this.serviceManager.getAssignedServices(t.id).subscribe(t=>this.services=t)})}),this.filteredServices=this.serviceField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterServices(t))),this.filteredResources=this.resourceField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterResources(t))),this.filteredGroups=this.groupField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterGroups(t))),this.filteredMembers=this.memberField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterMembers(t)))}onSelectedService(t){this.selectedService=t}onSelectedResource(t){this.selectedResource=t,void 0!==this.selectedResource?(this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(t=>this.groups=t),this.selectedGroup=void 0,this.selectedMember=void 0):this.groups=void 0}onOfferAllServices(t){t.checked||this.serviceManager.getAssignedServices(this.facility.id).subscribe(t=>this.services=t)}onSelectedGroup(t){this.selectedGroup=t,void 0!==this.selectedGroup?(this.membersManager.getCompleteRichMembersForGroup(this.selectedGroup.id,!1,this.allowedStatuses,this.attrNames).subscribe(t=>this.members=t),this.selectedMember=void 0):this.members=void 0}onSelectedMember(t){this.selectedMember=t}_filterServices(t){const e=t.toString().toLowerCase();return this.services.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterResources(t){const e=t.toString().toLowerCase();return this.resources.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterGroups(t){const e=t.toString().toLowerCase();return this.groups.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterMembers(t){const e=t.toString().toLowerCase();return this.members.filter(t=>this.namePipe.transform(t.user).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}serviceDisplayFn(t){if(null!==t)return"ALL"===t?this.serviceAllTranslation:"NOT_SELECTED"===t?this.serviceNotSelectedTranslation:t.name}resourceDisplayFn(t){if(null!==t)return t.name}groupDisplayFn(t){if(null!==t)return t.name}memberDisplayFn(t){if(null!==t)return this.namePipe.transform(t.user)}updatedSerVal(t){""===t.target.value&&(this.selectedService="NOT_SELECTED")}updatedResVal(t){""===t.target.value&&(this.groups=void 0,this.members=void 0)}updatedGroupVal(t){""===t.target.value&&(this.members=void 0)}updatedMemVal(t){}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(c.xk),p.Y36(c.KK),p.Y36(c.uq),p.Y36(at.dp),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-service-config"]],decls:6,vars:5,consts:[[1,"page-subtitle"],["class","col-12 col-lg-6 mb-2",4,"ngIf"],[3,"facility","resource","group","service","member",4,"ngIf"],[1,"col-12","col-lg-6","mb-2"],["class","w-100",4,"ngIf"],[3,"change"],[1,"w-100"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete","keyup"],["autoActiveFirstOption","",3,"displayWith"],["auto","matAutocomplete"],[3,"value","onSelectionChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],["type","text","matInput","",3,"placeholder","matAutocomplete","formControl","keyup"],["autoActiveFirstOption","",3,"ngClass","displayWith"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"facility","resource","group","service","member"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,Tt,8,7,"div",1),p.YNc(5,It,1,5,"perun-web-apps-service-configurator",2),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,3,"FACILITY_DETAIL.SERVICE_CONFIG.TITLE")),p.xp6(2),p.Q6J("ngIf",!!e.facility),p.xp6(1),p.Q6J("ngIf",!!e.facility))},directives:[s.O5,nt.oG,lt.KE,ot.Nt,et.Fj,ct.ZL,et.JJ,et.oH,ct.XC,rt.ey,s.sg,s.mk],pipes:[E.X$,s.Ov,ut.d],styles:[""]}),t})();var Et=i(489);function Ct(t,e){if(1&t&&p._UZ(0,"app-managers-page",1),2&t){const t=p.oxw();p.Q6J("complementaryObject",t.facility)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Zt=(()=>{class t{constructor(t,e,i){this.facilityService=t,this.route=e,this.guiAuthResolver=i,this.availableRoles=[],this.selected="user",this.type="Facility",this.theme="facility-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.facilityService.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility")}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&p.YNc(0,Ct,1,4,"app-managers-page",0),2&t&&p.Q6J("ngIf",e.facility)},directives:[s.O5,Et.s],styles:[""]}),t})();var yt=i(60611),_t=i(4230),Lt=i(60547),vt=i(4786);function xt(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function Ot(t,e){1&t&&(p.TgZ(0,"mat-option",19),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function Dt(t,e){1&t&&(p.TgZ(0,"mat-option",20),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function Rt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function Nt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function wt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit,i=p.oxw(2);p.Q6J("value",t),p.xp6(1),p.hij(" ",i.getTypeForView(t)," ")}}function kt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function Yt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function Mt(t,e){if(1&t&&(p.TgZ(0,"mat-form-field",22),p._UZ(1,"input",23),p.YNc(2,kt,3,3,"mat-error",13),p.YNc(3,Yt,3,3,"mat-error",13),p.qZA()),2&t){const t=p.oxw(2);p.xp6(1),p.s9C("placeholder",t.getTypeForView(t.selectedType)),p.Q6J("formControl",t.destinationControl),p.xp6(1),p.Q6J("ngIf","host"===t.selectedType&&!t.useFacilityHost&&t.destinationControl.hasError("required")),p.xp6(1),p.Q6J("ngIf",t.destinationControl.hasError("invalidDestination"))}}function Ft(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",24),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw(2).useFacilityHost=e}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("ngModel",t.useFacilityHost),p.xp6(1),p.hij(" ",p.lcZ(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function qt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t," ")}}function Ut(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",7),p.TgZ(1,"div",8),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-form-field"),p.TgZ(5,"mat-select",9),p.ALo(6,"translate"),p.YNc(7,Ot,3,3,"mat-option",10),p.YNc(8,Dt,3,3,"mat-option",11),p.YNc(9,Rt,2,2,"mat-option",12),p.qZA(),p.YNc(10,Nt,3,3,"mat-error",13),p.qZA(),p.TgZ(11,"mat-checkbox",14),p.NdJ("change",function(){return p.CHM(t),p.oxw().getServices()})("ngModelChange",function(e){return p.CHM(t),p.oxw().servicesOnFacility=e}),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.TgZ(14,"mat-form-field"),p.TgZ(15,"mat-select",15),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw().selectedType=e})("selectionChange",function(){return p.CHM(t),p.oxw().destinationControl.updateValueAndValidity()}),p.ALo(16,"translate"),p.YNc(17,wt,2,2,"mat-option",12),p.qZA(),p.qZA(),p.YNc(18,Mt,4,4,"mat-form-field",16),p.YNc(19,Ft,3,4,"mat-checkbox",17),p.TgZ(20,"mat-form-field"),p.TgZ(21,"mat-select",18),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw().selectedPropagation=e}),p.ALo(22,"translate"),p.YNc(23,qt,2,2,"mat-option",12),p.qZA(),p.qZA(),p.TgZ(24,"div",8),p._uU(25),p.ALo(26,"translate"),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),p.xp6(3),p.s9C("placeholder",p.lcZ(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),p.Q6J("formControl",t.serviceControl),p.xp6(2),p.Q6J("ngIf",0!==t.services.length),p.xp6(1),p.Q6J("ngIf",0===t.services.length),p.xp6(1),p.Q6J("ngForOf",t.services),p.xp6(1),p.Q6J("ngIf",void 0===t.serviceControl.value),p.xp6(1),p.Q6J("ngModel",t.servicesOnFacility),p.xp6(1),p.Oqu(p.lcZ(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),p.xp6(3),p.s9C("placeholder",p.lcZ(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),p.Q6J("ngModel",t.selectedType),p.xp6(2),p.Q6J("ngForOf",t.types),p.xp6(1),p.Q6J("ngIf",!("host"===t.selectedType&&t.useFacilityHost)),p.xp6(1),p.Q6J("ngIf","host"===t.selectedType),p.xp6(2),p.s9C("placeholder",p.lcZ(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),p.Q6J("ngModel",t.selectedPropagation),p.xp6(2),p.Q6J("ngForOf",t.propagations),p.xp6(2),p.hij(" ",p.lcZ(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+t.selectedPropagation)," ")}}let Jt=(()=>{class t{constructor(t,e,i,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.servicesManager=s,this.services=[],this.types=["host","user@host","user@host:port","user@host-windows","host-windows-proxy","url","email","semail","service-specific"],this.selectedType="host",this.propagations=["PARALLEL","DUMMY"],this.selectedPropagation="PARALLEL",this.useFacilityHost=!1,this.loading=!1,this.emailRegex=new RegExp(r.B2),this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"),this.urlPattern=new RegExp("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;()*$']*[-a-zA-Z0-9+&@#/%=~_|()*$']$"),this.userAtHostPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$)"),this.userAtHostPortPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}):[0-9]+"),this.serviceSpecificPattern=new RegExp("^(?!-)[a-zA-Z0-9-_.:/]*$")}ngOnInit(){this.loading=!0,this.serviceControl=new et.NI(void 0,et.kI.required),this.destinationControl=new et.NI("",this.getDestinationValidator()),this.emailControl=new et.NI("",[et.kI.required,et.kI.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe(t=>{this.hosts=t,this.servicesOnFacility=!0,this.getServices(),this.loading=!1},()=>this.loading=!1)}getDestinationValidator(){return t=>{if(!t.value)return null;let e;switch(this.selectedType){case"host":case"host-windows-proxy":e=this.hostPattern;break;case"email":case"semail":e=this.emailRegex;break;case"url":e=this.urlPattern;break;case"user@host":case"user@host-windows":e=this.userAtHostPattern;break;case"user@host:port":e=this.userAtHostPortPattern;break;case"service-specific":e=this.serviceSpecificPattern;break;default:return null}return e.test(t.value)?null:{invalidDestination:{value:t.value}}}}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestinationToMultipleServices({services:this.services,facility:this.data.facility.id,destination:this.destinationControl.value,type:this.selectedType,propagationType:this.selectedPropagation}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getServices(){this.loading=!0,this.servicesOnFacility?this.servicesManager.getAssignedServices(this.data.facility.id).subscribe(t=>{this.services=t},()=>this.loading=!1):this.servicesManager.getServices().subscribe(t=>{this.services=t},()=>this.loading=!1),this.loading=!1,this.serviceControl.setValue(void 0)}getTypeForView(t){return"semail"===t?"Send Mail":"service-specific"===t?"Service Specific":t}invalidDestination(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.IQ),p.Y36(c.KK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-add-services-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-italic"],["required","",3,"formControl","placeholder"],["value","all",4,"ngIf"],["value","noService",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"],[3,"ngModel","placeholder","ngModelChange","selectionChange"],["class","w-100",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange"],["value","all"],["value","noService"],[3,"value"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,xt,1,0,"mat-spinner",1),p.YNc(5,Ut,27,30,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.Tol(e.data.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading||e.invalidDestination()||e.serviceControl.invalid||"noService"===e.serviceControl.value),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,lt.KE,vt.gD,et.Q7,et.JJ,et.oH,s.sg,nt.oG,et.On,rt.ey,lt.TO,ot.Nt,et.Fj],pipes:[E.X$],styles:[""],data:{animation:[l.BQ]}}),t})();var Qt=i(59403),zt=i(19139),Ht=i(94357);function Vt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().addDestination()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function Bt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeDestination()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function Pt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",10),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAllow()}),p.TgZ(1,"mat-icon"),p._uU(2," check_circle_outline "),p.qZA(),p._uU(3),p.ALo(4,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.allSelectedAllowed()),p.xp6(3),p.hij(" ",p.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function Gt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",10),p.NdJ("click",function(){return p.CHM(t),p.oxw().onBlock()}),p.TgZ(1,"mat-icon"),p._uU(2," block "),p.qZA(),p._uU(3),p.ALo(4,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.allSelectedBlocked()),p.xp6(3),p.hij(" ",p.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function $t(t,e){1&t&&p._UZ(0,"mat-spinner",11)}function jt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-perun-web-apps-destination-list",12),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("destinations",t.destinations)("selection",t.selected)("displayedColumns",t.displayedColumns)}}let Kt=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c){this.dialog=t,this.facilitiesManager=e,this.servicesManager=i,this.tableConfigService=s,this.translate=a,this.notificator=n,this.route=l,this.authResolver=o,this.serviceManager=c,this.selected=new _t.Ov(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.filterValue="",this.tableId=yt.Cf}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(t=>{this.destinations=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addDestination_Service_Facility_Destination_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeDestination_Service_Facility_Destination_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnDestination_Service_int_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnDestination_Service_int_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","destinationId","service","destination","type","status","propagationType"]:["destinationId","service","destination","type","status","propagationType"]}addDestination(){const t=(0,r.kZ)();t.width="600px",t.data={facility:this.facility,theme:"facility-theme"},this.dialog.open(Jt,t).afterClosed().subscribe(t=>{t&&this.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(t=>{this.refreshTable(),this.notificator.showSuccess(t)})})}removeDestination(){const t=(0,r.kZ)();t.width="600px",t.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(Lt.u,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}blockServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.blockServiceOnDestination(e.service.id,e.id).subscribe(()=>{this.blockServiceOnDestinations(t)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}allowServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.unblockServiceOnDestinationById(e.service.id,e.id).subscribe(()=>{this.allowServiceOnDestinations(t)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}allSelectedAllowed(){return this.selected.selected.reduce((t,e)=>t&&!e.blocked,!0)}allSelectedBlocked(){return this.selected.selected.reduce((t,e)=>t&&e.blocked,!0)}}return t.id="FacilityServicesDestinationsComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(c.KK),p.Y36(yt.dB),p.Y36(E.sK),p.Y36(u.V6),p.Y36(a.gz),p.Y36(u.x4),p.Y36(c.KK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:12,vars:10,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Vt,3,3,"button",2),p.YNc(6,Bt,3,4,"button",3),p.YNc(7,Pt,5,4,"button",4),p.YNc(8,Gt,5,4,"button",4),p.TgZ(9,"perun-web-apps-immediate-filter",5),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(10,$t,1,0,"mat-spinner",6),p.YNc(11,jt,1,5,"app-perun-web-apps-destination-list",7),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,8,"FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.allowAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.blockAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,zt.L,b.lW,A.Hw,S.$g,Ht.q],pipes:[E.X$],styles:[""]}),t})();var Wt=i(17767);function Xt(t,e){1&t&&p._UZ(0,"mat-spinner",3)}function te(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"perun-web-apps-immediate-filter",4),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA(),p.TgZ(2,"div",5),p.TgZ(3,"perun-web-apps-owners-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA(),p.qZA(),p.TgZ(4,"div",7),p.TgZ(5,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().onCancel()}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAdd()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("placeholder","DIALOGS.ADD_OWNERS.FILTER"),p.xp6(2),p.Q6J("filterValue",t.filterValue)("pageSize",t.pageSize)("owners",t.owners)("selection",t.selection),p.xp6(3),p.hij(" ",p.lcZ(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||t.loading),p.xp6(1),p.hij(" ",p.lcZ(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}let ee=(()=>{class t{constructor(t,e,i,s,a,n,l){this.dialogRef=t,this.data=e,this.notificator=i,this.tableConfigService=s,this.translate=a,this.ownersManagerService=n,this.facilitiesManagerService=l,this.extSources=[],this.selection=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.BV,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=t.filter(t=>!this.data.forbiddenOwners.includes(t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}onAdd(){this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe(()=>this.onAdd(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}onCancel(){this.dialogRef.close(!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(u.V6),p.Y36(yt.dB),p.Y36(E.sK),p.Y36(c.aC),p.Y36(c.IQ))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-add-facility-owner-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"font-size-1rem",3,"placeholder","filter"],["mat-dialog-content",""],[3,"filterValue","pageSize","owners","selection","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Xt,1,0,"mat-spinner",1),p.YNc(5,te,11,12,"div",2),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,6,"DIALOGS.ADD_OWNERS.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[g.uh,s.O5,S.$g,zt.L,g.xY,Wt.Q,g.H8,b.lW],pipes:[E.X$],styles:[""]}),t})();var ie=i(67033);function se(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function ae(t,e){1&t&&p._UZ(0,"th",15)}function ne(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.name," ")}}function le(t,e){1&t&&p._UZ(0,"tr",17)}function oe(t,e){1&t&&p._UZ(0,"tr",18)}function ce(t,e){if(1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,ae,1,0,"th",11),p.YNc(10,ne,2,1,"td",12),p.BQk(),p.YNc(11,le,1,0,"tr",13),p.YNc(12,oe,1,0,"tr",14),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),p.xp6(2),p.Q6J("dataSource",t.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",t.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",t.displayedColumns)}}let re=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.facilitiesManagerService=a,this.displayedColumns=["name"],s.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.dataSource=new ie.by(this.data.owners),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,0!==this.data.owners.length?this.facilitiesManagerService.removeFacilityOwner(this.data.facilityId,this.data.owners.pop().id).subscribe(()=>this.onSubmit(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(u.V6),p.Y36(E.sK),p.Y36(c.IQ))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-remove-facility-owner-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",""],[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(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,se,1,0,"mat-spinner",1),p.YNc(5,ce,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$],styles:[""]}),t})();function ue(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",7),p.NdJ("refresh",function(){return p.CHM(t),p.oxw().refreshTable()}),p.qZA()}}function de(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().onCreate()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function he(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemove()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selection.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function pe(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-immediate-filter",10),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA()}2&t&&p.Q6J("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function ge(t,e){1&t&&p._UZ(0,"mat-spinner",11)}function fe(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-owners-list",12),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("owners",t.owners)("displayedColumns",t.displayedColumns)("selection",t.selection)}}let me=(()=>{class t{constructor(t,e,i,s,a){this.facilitiesManagerService=t,this.tableConfigService=e,this.route=i,this.dialog=s,this.authResolver=a,this.owners=[],this.selection=new _t.Ov(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=yt.zp}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.filterValue="",this.route.parent.parent.params.subscribe(t=>{this.facilityId=parseInt(t.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}refreshTable(){this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facilityId).subscribe(t=>{this.owners=t,this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addOwner_Facility_Owner_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeOwner_Facility_Owner_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","contact","type"]:["id","name","contact","type"]}applyFilter(t){this.filterValue=t}onCreate(){const t=(0,r.kZ)();t.width="800px",t.data={theme:"facility-theme",facilityId:this.facilityId,forbiddenOwners:this.owners.map(t=>t.id)},this.dialog.open(ee,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,r.kZ)();t.width="600px",t.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facilityId},this.dialog.open(re,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(g.uw),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings-owners"]],decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page",4,"ngIf"],[3,"refresh"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.YNc(3,ue,1,0,"perun-web-apps-refresh-button",1),p.YNc(4,de,3,3,"button",2),p.YNc(5,he,3,4,"button",3),p.YNc(6,pe,1,1,"perun-web-apps-immediate-filter",4),p.YNc(7,ge,1,0,"mat-spinner",5),p.YNc(8,fe,1,5,"perun-web-apps-owners-list",6)),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,7,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),p.xp6(2),p.Q6J("ngIf",!e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,Qt.t,b.lW,zt.L,S.$g,Wt.Q],pipes:[E.X$],styles:[""]}),t})();function Se(t,e){1&t&&p._UZ(0,"mat-spinner",7)}function Ae(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function Te(t,e){if(1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t){const t=p.oxw(2);p.xp6(1),p.AsE(" ",p.lcZ(2,2,"DIALOGS.ADD_HOST.INVALID_HOST"),"",t.hostsCtrl.getError("invalidHost").value," ")}}function Ie(t,e){if(1&t&&(p.TgZ(0,"div",8),p.TgZ(1,"mat-form-field"),p.TgZ(2,"textarea",9),p._uU(3," "),p.qZA(),p.YNc(4,Ae,3,3,"mat-error",10),p.YNc(5,Te,3,4,"mat-error",10),p.qZA(),p.TgZ(6,"div",11),p._uU(7),p.ALo(8,"translate"),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.Q6J("formControl",t.hostsCtrl),p.xp6(2),p.Q6J("ngIf",t.hostsCtrl.hasError("required")),p.xp6(1),p.Q6J("ngIf",t.hostsCtrl.hasError("invalidHost")),p.xp6(2),p.Oqu(p.lcZ(8,4,"DIALOGS.ADD_HOST.HINT"))}}let be=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=s,this.translate=a,this.loading=!1,this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")}ngOnInit(){this.theme=this.data.theme,this.facilityName=this.data.facilityName,this.hostsCtrl=new et.NI("",[et.kI.required,this.hostsNameValidator()]),this.hostsCtrl.markAllAsTouched()}onAdd(){this.loading=!0;const t=this.hostsCtrl.value.split("\n");let e=[];for(const i of t)e=e.concat(this.parseHostName(i));this.facilitiesManager.addHosts(this.data.facilityId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}hostsNameValidator(){return t=>{let e=[];const i=t.value.split("\n");for(const s of i)e=e.concat(this.parseHostName(s));for(const s of e)if(!this.hostPattern.test(s))return{invalidHost:{value:s}};return null}}parseHostName(t){const e=new RegExp("[[0-9]+-[0-9]+]","g"),i=t.split(e),s=t.match(e);if(null==s)return""===t?[]:[t];let a=[];for(let n=0;n{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=s,this.translate=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new ie.by(this.data.hosts)}onConfirm(){this.loading=!0,this.facilitiesManager.removeHosts(this.data.facilityId,this.hosts.map(t=>t.id)).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.IQ),p.Y36(u.V6),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-remove-host-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Ee,1,0,"mat-spinner",1),p.YNc(5,Le,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onConfirm()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_HOST.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_HOST.CANCEL"),""),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_HOST.CONFIRM"),""))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$],styles:[""]}),t})();var xe=i(58623),Oe=i(82819),De=i(84534),Re=i(39571);function Ne(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",13),p.TgZ(1,"mat-checkbox",14),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function we(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",15),p.TgZ(1,"mat-checkbox",16),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function ke(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")))}function Ye(t,e){if(1&t&&(p.TgZ(0,"td",15),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Me(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")))}function Fe(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.hostname)}}function qe(t,e){1&t&&p._UZ(0,"tr",19)}const Ue=function(t,e){return["/facilities",t,"hosts",e]};function Je(t,e){if(1&t&&p._UZ(0,"tr",20),2&t){const t=e.$implicit,i=p.oxw();p.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:p.WLB(2,Ue,i.facilityId,t.id))("routerLink",i.disableRouting?null:p.WLB(5,Ue,i.facilityId,t.id))}}function Qe(t,e){1&t&&(p.TgZ(0,"app-alert",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ze(t,e){1&t&&(p.TgZ(0,"app-alert",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}let He=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.hosts=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.page=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.hosts),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.hostname;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-hosts-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:16,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Ne,2,3,"th",4),p.YNc(5,we,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,ke,3,3,"th",7),p.YNc(8,Ye,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Me,3,3,"th",7),p.YNc(11,Fe,2,1,"td",9),p.BQk(),p.YNc(12,qe,1,0,"tr",10),p.YNc(13,Je,1,8,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.YNc(14,Qe,3,3,"app-alert",12),p.YNc(15,ze,3,3,"app-alert",12)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.hosts.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(10),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.hosts.length),p.xp6(1),p.Q6J("ngIf",0===e.hosts.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,De.YH,a.rH,Re.w],pipes:[E.X$],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Ve(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",7),p.NdJ("click",function(){return p.CHM(t),p.oxw().addHost()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.HOSTS.ADD")," "))}function Be(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeHost()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.HOSTS.REMOVE")," ")}}function Pe(t,e){1&t&&p._UZ(0,"mat-spinner",9)}function Ge(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-hosts-list",10),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("hosts",t.hosts)("selection",t.selected)("displayedColumns",t.displayedColumns)("disableRouting",!t.routeAuth)("facilityId",t.facilityId)}}let $e=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=a,this.hosts=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.eq,this.displayedColumns=["id","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilitiesManager.getFacilityById(this.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getHosts(this.facilityId).subscribe(t=>{this.hosts=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addHosts_Facility_List_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}addHost(){const t=(0,r.kZ)();t.width="600px",t.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(be,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeHost(){const t=(0,r.kZ)();t.width="600px",t.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(ve,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-hosts"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Ve,3,3,"button",2),p.YNc(6,Be,3,4,"button",3),p.TgZ(7,"perun-web-apps-immediate-filter",4),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(8,Pe,1,0,"mat-spinner",5),p.YNc(9,Ge,1,7,"app-hosts-list",6),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,zt.L,b.lW,S.$g,He],pipes:[E.X$],styles:[""]}),t})();function je(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",14),p.TgZ(1,"mat-checkbox",15),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ke(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",16),p.TgZ(1,"mat-checkbox",17),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function We(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function Xe(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t[1].id)}}function ti(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function ei(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.ALo(2,"userFullName"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.lcZ(2,1,t[1]))}}function ii(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function si(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t[0].description)}}function ai(t,e){1&t&&p._UZ(0,"tr",20)}function ni(t,e){1&t&&p._UZ(0,"tr",21)}function li(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function oi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}let ci=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.bansOnFacilitiesWithUsers=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.page=new p.vpe,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"userId"!==t)),this.dataSource=new ie.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"userId":return t[1].id.toString();case"reason":return t[0].description;case"name":return(0,r.hu)(t[1]);default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t[0].userId+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[p.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,je,2,3,"th",4),p.YNc(5,Ke,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,We,3,3,"th",7),p.YNc(8,Xe,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,ti,3,3,"th",7),p.YNc(11,ei,3,3,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,ii,3,3,"th",7),p.YNc(14,si,2,1,"td",9),p.BQk(),p.YNc(15,ai,1,0,"tr",11),p.YNc(16,ni,1,0,"tr",12),p.qZA(),p.qZA(),p.qZA(),p.YNc(17,li,3,3,"app-alert",13),p.YNc(18,oi,3,3,"app-alert",13)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.bansOnFacilitiesWithUsers.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(13),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.bansOnFacilitiesWithUsers.length),p.xp6(1),p.Q6J("ngIf",0===e.bansOnFacilitiesWithUsers.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,Re.w],pipes:[E.X$,ut.d],styles:[""]}),t})();function ri(t,e){1&t&&p._UZ(0,"mat-spinner",5)}function ui(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-perun-web-apps-blacklist-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("bansOnFacilitiesWithUsers",t.bansOnFacilitiesWithUsers)("selection",t.selected)}}let di=(()=>{class t{constructor(t,e,i,s){this.facilitiesManager=t,this.usersManager=e,this.tableConfigService=i,this.route=s,this.bansOnFacilitiesWithUsers=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.NG}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.facilitiesManager.getBansForFacility(t.facilityId).subscribe(t=>{const e=t;for(const i of e){let t;this.usersManager.getUserById(i.userId).subscribe(e=>{t=e}),this.bansOnFacilitiesWithUsers.push([i,t])}this.selected.clear(),this.loading=!1})})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(c.Fv),p.Y36(yt.dB),p.Y36(a.gz))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-immediate-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.ALo(6,"translate"),p.qZA(),p.YNc(7,ri,1,0,"mat-spinner",3),p.YNc(8,ui,1,4,"app-perun-web-apps-blacklist-list",4),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),p.xp6(3),p.Q6J("placeholder",p.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,zt.L,s.O5,S.$g,ci],pipes:[E.X$],styles:[""]}),t})();var hi=i(10896),pi=i(13572),gi=i(40695),fi=i(41186);const mi=["list"];function Si(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-attributes-list",6,7),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("attributes",t.attributes)("selection",t.selected)}}let Ai=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.attributesManager=e,this.facilityManager=i,this.tableConfigService=s,this.route=a,this.attributes=[],this.selected=new _t.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=yt.rF}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.hostId=t.hostId,this.facilityManager.getHostById(this.hostId).subscribe(t=>{this.host=t}),this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(t=>{this.attributes=(0,r.MX)(t),this.selected.clear(),this.loading=!1})}onSave(){this.list.updateMapAttributes();const t=(0,r.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(d.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}addAttribute(){const t=(0,r.kZ)();t.width="1050px",t.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(gi.n,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}removeAttribute(){const t=(0,r.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(pi.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.H8),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-hosts-detail"]],viewQuery:function(t,e){if(1&t&&p.Gf(mi,5),2&t){let t;p.iGM(t=p.CRH())&&(e.list=t.first)}},decls:15,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"button",2),p.NdJ("click",function(){return e.addAttribute()}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"button",3),p.NdJ("click",function(){return e.onSave()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.TgZ(11,"button",4),p.NdJ("click",function(){return e.removeAttribute()}),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.YNc(14,Si,2,3,"perun-web-apps-attributes-list",5),p.qZA()),2&t&&(p.xp6(2),p.AsE(" ",p.lcZ(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",e.host.hostname,""),p.xp6(4),p.hij(" ",p.lcZ(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),p.xp6(2),p.Q6J("disabled",0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),p.xp6(2),p.Q6J("disabled",0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),p.xp6(2),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,b.lW,s.O5,fi.p],pipes:[E.X$],styles:[""]}),t})();function Ti(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",14),p.TgZ(1,"mat-checkbox",15),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ii(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",16),p.TgZ(1,"mat-checkbox",17),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function bi(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function Ei(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Ci(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function Zi(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.name)}}function yi(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function _i(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.description)}}function Li(t,e){1&t&&p._UZ(0,"tr",20)}function vi(t,e){1&t&&p._UZ(0,"tr",21)}function xi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Oi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}let Di=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.securityTeams=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"description":return t.description;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-security-teams-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Ti,2,3,"th",4),p.YNc(5,Ii,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,bi,3,3,"th",7),p.YNc(8,Ei,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Ci,3,3,"th",7),p.YNc(11,Zi,2,1,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,yi,3,3,"th",7),p.YNc(14,_i,2,1,"td",9),p.BQk(),p.YNc(15,Li,1,0,"tr",11),p.YNc(16,vi,1,0,"tr",12),p.qZA(),p.qZA(),p.qZA(),p.YNc(17,xi,3,3,"app-alert",13),p.YNc(18,Oi,3,3,"app-alert",13)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.securityTeams.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(13),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.securityTeams.length),p.xp6(1),p.Q6J("ngIf",0===e.securityTeams.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,Re.w],pipes:[E.X$],styles:[""]}),t})();function Ri(t,e){1&t&&p._UZ(0,"mat-spinner",5)}function Ni(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-security-teams-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("securityTeams",t.securityTeams)("displayedColumns",t.displayedColumns)("selection",t.selected)}}let wi=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=a,this.securityTeams=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.O9,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(t=>{this.securityTeams=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}applyFilter(t){this.filterValue=t}addSecurityTeam(){}removeSecurityTeam(){}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-immediate-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(6,Ri,1,0,"mat-spinner",3),p.YNc(7,Ni,1,5,"app-security-teams-list",4),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),p.xp6(3),p.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,zt.L,s.O5,S.$g,Di],pipes:[E.X$],styles:[""]}),t})();var ki=i(64359),Yi=i(8705);function Mi(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function Fi(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function qi(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.id," ")}}function Ui(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function Ji(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.destination.destination," ")}}function Qi(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function zi(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",p.xi3(2,1,t.timestamp,"d.M.y H:mm:ss")," ")}}function Hi(t,e){1&t&&p._UZ(0,"tr",19)}function Vi(t,e){1&t&&p._UZ(0,"tr",20)}function Bi(t,e){if(1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,Fi,3,3,"th",11),p.YNc(10,qi,2,1,"td",12),p.BQk(),p.ynx(11,13),p.YNc(12,Ui,3,3,"th",11),p.YNc(13,Ji,2,1,"td",12),p.BQk(),p.ynx(14,14),p.YNc(15,Qi,3,3,"th",11),p.YNc(16,zi,3,4,"td",12),p.BQk(),p.YNc(17,Hi,1,0,"tr",15),p.YNc(18,Vi,1,0,"tr",16),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),p.xp6(2),p.Q6J("dataSource",t.dataSource),p.xp6(10),p.Q6J("matHeaderRowDef",t.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",t.displayedColumns)}}let Pi=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.taskManager=i,this.notificator=s,this.translate=a,this.loading=!1,this.dataSource=new ie.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}ngOnInit(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}deleteResults(){if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(()=>{this.deleteResults()},()=>this.loading=!1)}onDelete(){this.deleteResults()}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.Ob),p.Y36(u.V6),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["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(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Mi,1,0,"mat-spinner",1),p.YNc(5,Bi,19,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onDelete()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$,s.uU],styles:[""]}),t})();var Gi=i(88884);function $i(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function ji(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",13),p.NdJ("change",function(e){return p.CHM(t),p.oxw(2).change(e)}),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskChecked),p.xp6(2),p.hij(" ",p.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function Ki(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",14),p.NdJ("change",function(e){return p.CHM(t),p.oxw(2).change(e)}),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskResultsChecked),p.xp6(2),p.hij(" ",p.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function Wi(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-resources-list",15),p.NdJ("allSelected",function(e){return p.CHM(t),p.oxw(2).disableCheckboxes(e)})("page",function(e){return p.CHM(t),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("pageSize",t.pageSize)("disableRouting",!0)("resources",t.resources)("selection",t.selected)("displayedColumns",t.displayedColumns)}}function Xi(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div"),p.YNc(5,ji,4,9,"mat-checkbox",8),p.YNc(6,Ki,4,9,"mat-checkbox",9),p.TgZ(7,"mat-checkbox",10),p.NdJ("change",function(e){return p.CHM(t),p.oxw().change(e)}),p.ALo(8,"translate"),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.TgZ(11,"p"),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.TgZ(14,"div",11),p._uU(15),p.ALo(16,"translate"),p.qZA(),p.YNc(17,Wi,1,5,"perun-web-apps-resources-list",12),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),p.xp6(3),p.Q6J("ngIf",null!==t.taskId),p.xp6(1),p.Q6J("ngIf",null!==t.taskId),p.xp6(1),p.s9C("matTooltip",p.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.destinationChecked),p.xp6(2),p.hij(" ",p.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),p.xp6(3),p.Oqu(p.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),p.xp6(3),p.hij(" ",p.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),p.xp6(2),p.Q6J("ngIf",!t.loading)}}let ts=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c){this.dialogRef=t,this.data=e,this.tableConfigService=i,this.resourcesManager=s,this.tasksManager=a,this.serviceManager=n,this.translate=l,this.notificator=o,this.cd=c,this.loading=!1,this.dataSource=new ie.by(this.data.resource),this.selected=new _t.Ov(!0,[...this.dataSource.data]),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=yt.$V}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}remove(){this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(t=>{t.forEach(t=>{this.tasksManager.deleteTaskResultById({taskResultId:t.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(t=>{t.forEach(t=>{this.serviceManager.removeDestination(this.serviceId,this.facilityId,t.destination,t.type).subscribe()})}),this.selected.selected.forEach(t=>{this.resourcesManager.removeService(t.id,this.serviceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)})}cancel(){this.dialogRef.close(!1)}disableCheckboxes(t){t&&this.checkboxesDisabled&&this.changeCheckboxes(!0),t||this.checkboxesDisabled||this.changeCheckboxes(!1)}changeCheckboxes(t){this.checkboxesDisabled=!t,this.taskChecked=t,this.taskResultsChecked=t,this.destinationChecked=t,this.cd.detectChanges()}change(t){switch(t.source.id){case"task":this.taskChecked=t.checked;break;case"taskResults":this.taskResultsChecked=t.checked;break;case"destination":this.destinationChecked=t.checked}}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(yt.dB),p.Y36(c.xk),p.Y36(c.Ob),p.Y36(c.KK),p.Y36(E.sK),p.Y36(u.V6),p.Y36(p.sBO))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,$i,1,0,"mat-spinner",1),p.YNc(5,Xi,18,21,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.cancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.remove()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading||0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,nt.oG,T.gM,Gi.C],pipes:[E.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t})();function es(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function is(t,e){1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"div",8),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&t&&(p.xp6(2),p.hij(" ",p.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}let ss=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.tasksManager=i,this.translate=s,this.notificator=a,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId}remove(){this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.Ob),p.Y36(E.sK),p.Y36(u.V6))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,es,1,0,"mat-spinner",1),p.YNc(5,is,4,3,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.cancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.remove()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY],pipes:[E.X$],styles:[""]}),t})();var as=i(8055);let ns=(()=>{class t{transform(t){return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=p.Yjl({name:"serviceStateBlockedToString",type:t,pure:!0}),t})();function ls(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",17),p.TgZ(1,"mat-checkbox",18),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e&&i.masterToggle(),i.selectionChange.emit()}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function os(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",19),p.TgZ(1,"mat-checkbox",20),p.NdJ("click",function(t){return t.stopPropagation()})("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e&&s.selection.toggle(i),s.selectionChange.emit()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("checked",i.selection.isSelected(t))("aria-label",i.checkboxLabel(t))}}function cs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")))}function rs(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(t.task.id)}}function us(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1,"0"),p.qZA())}function ds(t,e){if(1&t&&(p.TgZ(0,"td",19),p.YNc(1,rs,2,1,"div",22),p.YNc(2,us,2,0,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task),p.xp6(1),p.Q6J("ngIf",!t.task)}}function hs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")))}function ps(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.service.name)}}function gs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")))}function fs(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.status)}}function ms(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")))}function Ss(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.ALo(2,"serviceStateBlockedToString"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.lcZ(2,1,t))}}function As(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")))}function Ts(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.task.startTime,"d.M.y H:mm:ss"))}}function Is(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET"),""))}function bs(t,e){if(1&t&&(p.TgZ(0,"td",23),p.YNc(1,Ts,3,4,"div",22),p.YNc(2,Is,3,3,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task&&t.task.startTime),p.xp6(1),p.Q6J("ngIf",!t.task||!t.task.startTime)}}function Es(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")))}function Cs(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.task.endTime,"d.M.y H:mm:ss"))}}function Zs(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function ys(t,e){if(1&t&&(p.TgZ(0,"td",23),p.YNc(1,Cs,3,4,"div",22),p.YNc(2,Zs,3,3,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task&&t.task.endTime),p.xp6(1),p.Q6J("ngIf",!t.task||!t.task.endTime)}}function _s(t,e){1&t&&p._UZ(0,"tr",24)}const Ls=function(t,e){return["/facilities",t,"services-status",e]};function vs(t,e){if(1&t&&p._UZ(0,"tr",25),2&t){const t=e.$implicit,i=p.oxw();p.ekj("disable-outline",i.disableRouting||!t.task)("make-yellow","WARNING"===t.status)("make-green","DONE"===t.status)("make-red","GENERROR"===t.status||"SENDERROR"===t.status||"ERROR"===t.status)("cursor-pointer",!i.disableRouting&&null!==t.task),p.Q6J("routerLink",i.disableRouting||null===t.task?null:p.WLB(12,Ls,t.facility.id,t.taskId))("perunWebAppsMiddleClickRouterLink",i.disableRouting||null===t.task?null:p.WLB(15,Ls,t.facility.id,t.taskId))}}function xs(t,e){1&t&&(p.TgZ(0,"app-alert",26),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Os(t,e){1&t&&(p.TgZ(0,"app-alert",26),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}let Ds=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.disableRouting=!0,this.page=new p.vpe,this.selectionChange=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"task.id"!==t)),this.dataSource=new ie.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=(t,e)=>{const i=e.trim().toLowerCase(),s=t=>{let e="";return Object.values(t).forEach(t=>{"object"!=typeof t?e=e+" "+t:null!==t&&(e=e+" "+s(t))}),e.trim().toLowerCase()};return s(t).includes(i)},this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"task.id":return t.task?t.task.id.toString():t[e];case"service.name":return t.service.name;case"status":return t.status;case"blocked":return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return t.task&&t.task.startTime?(0,s.p6)(t.task.startTime,"d.M.y H:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?(0,s.p6)(t.task.endTime,"d.M.y H:mm:ss","en"):t[e];default:return t[e]}}getSortDataForColumn(t,e){switch(e){case"task.id":return t.task?t.task.id.toString():t[e];case"service.name":return t.service.name;case"status":return t.status;case"blocked":return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return t.task&&t.task.startTime?(0,s.p6)(t.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?(0,s.p6)(t.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.service.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page",selectionChange:"selectionChange"},features:[p.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,ls,2,3,"th",4),p.YNc(5,os,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,cs,3,3,"th",7),p.YNc(8,ds,3,2,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,hs,3,3,"th",7),p.YNc(11,ps,2,1,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,gs,3,3,"th",7),p.YNc(14,fs,2,1,"td",9),p.BQk(),p.ynx(15,11),p.YNc(16,ms,3,3,"th",7),p.YNc(17,Ss,3,3,"td",9),p.BQk(),p.ynx(18,12),p.YNc(19,As,3,3,"th",7),p.YNc(20,bs,3,2,"td",9),p.BQk(),p.ynx(21,13),p.YNc(22,Es,3,3,"th",7),p.YNc(23,ys,3,2,"td",9),p.BQk(),p.YNc(24,_s,1,0,"tr",14),p.YNc(25,vs,1,18,"tr",15),p.qZA(),p.qZA(),p.qZA(),p.YNc(26,xs,3,3,"app-alert",16),p.YNc(27,Os,3,3,"app-alert",16)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.servicesStatus.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(22),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.servicesStatus.length),p.xp6(1),p.Q6J("ngIf",0===e.servicesStatus.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,a.rH,De.YH,Re.w],pipes:[E.X$,ns,s.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Rs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",11),p.NdJ("click",function(){return p.CHM(t),p.oxw().forcePropagation()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function Ns(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",11),p.NdJ("click",function(){return p.CHM(t),p.oxw().allow()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.disableAllowButton),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function ws(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(t),p.oxw().block()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.disableBlockButton),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function ks(t,e){if(1&t&&(p.TgZ(0,"button",13),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()),2&t){const t=p.oxw(),e=p.MAs(10);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.disableRemoveButton)("disabled",t.disableRemoveButton)("matMenuTriggerFor",e),p.xp6(2),p.hij(" ",p.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ys(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",7),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeTaskResults()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function Ms(t,e){1&t&&p._UZ(0,"mat-spinner",14)}function Fs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-services-status-list",15),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)})("selectionChange",function(){return p.CHM(t),p.oxw().selectionChanged()}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("servicesStatus",t.servicesStates)("selection",t.selected)("disableRouting",!t.routeAuth)}}let qs=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c,r){this.route=t,this.tasksManager=e,this.tableConfigService=i,this.servicesManager=s,this.notificator=a,this.translate=n,this.authResolver=l,this.facilityManager=o,this.resourcesManager=c,this.dialog=r,this.servicesStates=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(t=>this.successFPMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(t=>this.successAllowMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(t=>this.successBlockMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(t=>this.successDeleteMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(t=>this.allreadyDeletedMessage=t)}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=parseInt(t.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}forcePropagation(){for(const t of this.selected.selected)this.servicesManager.forceServicePropagation(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successFPMessage)})}allow(){for(const t of this.selected.selected)this.servicesManager.unblockServiceOnFacility(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successAllowMessage)})}block(){for(const t of this.selected.selected)this.servicesManager.blockServiceOnFacility(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successBlockMessage)})}removeTaskResults(){this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(t=>{const e=(0,r.kZ)();e.width="600px",e.data={theme:"facility-theme",taskResults:t},this.dialog.open(Pi,e)})}removeServiceFromFacility(){this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(t=>{const e=(0,r.kZ)();e.width="600px",this.taskId=this.taskIsNull?null:this.selected.selected[0].task.id,0===t.length?(e.data={theme:"facility-theme",taskId:this.taskId},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.disableRemoveButton=!0,this.refreshTable())})):this.resourcesManager.getRichResourcesByIds(t.map(t=>t.id)).subscribe(t=>{e.data={theme:"facility-theme",taskId:this.taskId,serviceId:this.selected.selected[0].service.id,facilityId:this.selected.selected[0].facility.id,resource:t},this.dialog.open(ts,e).afterClosed().subscribe(t=>{t&&(this.disableRemoveButton=!0,this.refreshTable())})})})}refreshTable(){this.loading=!0,this.tasksManager.getFacilityServicesState(this.facilityId).subscribe(t=>{this.servicesStates=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}selectionChanged(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);for(const t of this.selected.selected)t.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.Ob),p.Y36(yt.dB),p.Y36(c.KK),p.Y36(u.V6),p.Y36(E.sK),p.Y36(u.x4),p.Y36(c.IQ),p.Y36(c.xk),p.Y36(g.uw))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Rs,3,4,"button",2),p.YNc(6,Ns,3,4,"button",2),p.YNc(7,ws,3,4,"button",3),p.YNc(8,ks,4,9,"button",4),p.TgZ(9,"mat-menu",null,5),p.YNc(11,Ys,3,3,"button",6),p.TgZ(12,"button",7),p.NdJ("click",function(){return e.removeServiceFromFacility()}),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.qZA(),p.TgZ(15,"perun-web-apps-immediate-filter",8),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(16,Ms,1,0,"mat-spinner",9),p.YNc(17,Fs,1,5,"perun-web-apps-services-status-list",10),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.propagationAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.allowAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.blockAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.deleteAuth),p.xp6(3),p.Q6J("ngIf",!e.taskIsNull),p.xp6(2),p.Oqu(p.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),p.xp6(2),p.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,as.VK,as.OP,zt.L,b.lW,T.gM,as.p6,S.$g,Ds],pipes:[E.X$],styles:[""]}),t})();var Us=i(91058),Js=i(86593);function Qs(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function zs(t,e){1&t&&(p.TgZ(0,"app-alert",7),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}const Hs=function(){return["id","name"]};function Vs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-users-list",8),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("users",t.users)("displayedColumns",p.DdM(5,Hs))("disableRouting",!t.routeAuth)("filter",t.filterValue)}}let Bs=(()=>{class t{constructor(t,e,i,s){this.route=t,this.facilityService=e,this.tableConfigService=i,this.authResolver=s,this.loading=!1,this.filterValue="",this.tableId=yt.z6}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityService.getAssignedUsers(this.facilityId).subscribe(t=>{this.users=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-allowed-users"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-debounce-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(6,Qs,1,0,"mat-spinner",3),p.YNc(7,zs,3,3,"app-alert",4),p.YNc(8,Vs,1,6,"app-users-list",5),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,5,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),p.xp6(3),p.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&(void 0===e.users||0===e.users.length)),p.xp6(1),p.Q6J("ngIf",!e.loading&&0!==e.users.length))},directives:[Qt.t,Us.P,s.O5,S.$g,Re.w,Js.C],pipes:[E.X$],styles:[""]}),t})();var Ps=i(95142);function Gs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",19),p.TgZ(1,"mat-checkbox",20),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function $s(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",21),p.TgZ(1,"mat-checkbox",22),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function js(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function Ks(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Ws(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function Xs(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.destination.destination)}}function ta(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function ea(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.destination.type.toUpperCase())}}function ia(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function sa(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.service.name)}}function aa(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function na(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.status)}}function la(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function oa(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.timestamp,"d.M.y H:mm:ss"))}}function ca(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function ra(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.returnCode)}}function ua(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function da(t,e){if(1&t&&(p.TgZ(0,"span"),p._uU(1),p._UZ(2,"br"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t)}}function ha(t,e){if(1&t&&(p.TgZ(0,"td",21),p.YNc(1,da,3,1,"span",24),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngForOf",t.standardMessage.split("\n"))}}function pa(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function ga(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.errorMessage)}}function fa(t,e){1&t&&p._UZ(0,"tr",25)}function ma(t,e){if(1&t&&p._UZ(0,"tr",26),2&t){const t=e.$implicit;p.ekj("greenTableItem","DONE"===t.status)("redTableItem","ERROR"===t.status||"DENIED"===t.status)("yellowTableItem","WARNING"===t.status)}}function Sa(t,e){1&t&&(p.TgZ(0,"app-alert",27),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Aa(t,e){1&t&&(p.TgZ(0,"app-alert",27),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}let Ta=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.pageSizeOptions=r.f7,this.taskResults=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new p.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"destination":return t.destination.destination;case"type":return t.destination.type;case"service":return t.service.name;case"status":return t.status;case"time":return(0,s.p6)(t.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return t.returnCode.toString();case"standardMessage":return t.standardMessage;case"errorMessage":return t.errorMessage;default:return""}}getSortDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"destination":return t.destination.destination;case"type":return t.destination.type;case"service":return t.service.name;case"status":return t.status;case"time":return(0,s.p6)(t.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return t.returnCode.toString();case"standardMessage":return t.standardMessage;case"errorMessage":return t.errorMessage;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this))}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Gs,2,3,"th",4),p.YNc(5,$s,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,js,3,3,"th",7),p.YNc(8,Ks,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Ws,3,3,"th",7),p.YNc(11,Xs,2,1,"td",5),p.BQk(),p.ynx(12,9),p.YNc(13,ta,3,3,"th",7),p.YNc(14,ea,2,1,"td",5),p.BQk(),p.ynx(15,10),p.YNc(16,ia,3,3,"th",7),p.YNc(17,sa,2,1,"td",5),p.BQk(),p.ynx(18,11),p.YNc(19,aa,3,3,"th",7),p.YNc(20,na,2,1,"td",5),p.BQk(),p.ynx(21,12),p.YNc(22,la,3,3,"th",7),p.YNc(23,oa,3,4,"td",5),p.BQk(),p.ynx(24,13),p.YNc(25,ca,3,3,"th",7),p.YNc(26,ra,2,1,"td",5),p.BQk(),p.ynx(27,14),p.YNc(28,ua,3,3,"th",7),p.YNc(29,ha,2,1,"td",5),p.BQk(),p.ynx(30,15),p.YNc(31,pa,3,3,"th",7),p.YNc(32,ga,2,1,"td",5),p.BQk(),p.YNc(33,fa,1,0,"tr",16),p.YNc(34,ma,1,6,"tr",17),p.qZA(),p.qZA(),p.qZA(),p.YNc(35,Sa,3,3,"app-alert",18),p.YNc(36,Aa,3,3,"app-alert",18)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.taskResults.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(31),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.taskResults.length),p.xp6(1),p.Q6J("ngIf",0===e.taskResults.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,s.sg,ie.XQ,ie.Gk,Re.w],pipes:[E.X$,s.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),t})();function Ia(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).removeTaskResult()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("disabled",0===t.selection.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function ba(t,e){1&t&&p._UZ(0,"mat-spinner",9)}function Ea(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-task-results-list",10),p.NdJ("page",function(e){return p.CHM(t),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("pageSize",t.pageSize)("selection",t.selection)("taskResults",t.taskResults)}}function Ca(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"h1",1),p._uU(2),p.ALo(3,"translate"),p.TgZ(4,"span",2),p._uU(5),p.qZA(),p.qZA(),p.TgZ(6,"perun-web-apps-refresh-button",3),p.NdJ("refresh",function(){return p.CHM(t),p.oxw().refreshTable()}),p.qZA(),p.YNc(7,Ia,3,4,"button",4),p.TgZ(8,"perun-web-apps-immediate-filter",5),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA(),p.YNc(9,ba,1,0,"mat-spinner",6),p.YNc(10,Ea,1,5,"perun-web-apps-task-results-list",7),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",t.task.service.name," "),p.xp6(3),p.hij(" \xa0#",t.task.id," "),p.xp6(2),p.Q6J("ngIf",!t.loading&&t.removeAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),p.xp6(1),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading)}}let Za=(()=>{class t{constructor(t,e,i,s,a){this.route=t,this.tableConfigService=e,this.taskManager=i,this.authResolver=s,this.dialog=a,this.loading=!1,this.filterValue="",this.selection=new _t.Ov(!0,[]),this.tableId=yt.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facility={id:parseInt(t.facilityId,10),beanName:"Facility"},this.removeAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.removeAuth||(this.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),this.route.params.subscribe(t=>{this.taskId=t.taskId,this.taskManager.getTaskById(this.taskId).subscribe(t=>{this.task=t,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(t=>{this.selection.clear(),this.taskResults=t,this.loading=!1})}removeTaskResult(){const t=(0,r.kZ)();t.width="600px",t.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(Pi,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(yt.dB),p.Y36(c.Ob),p.Y36(u.x4),p.Y36(g.uw))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-task-results"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"page-subtitle"],[1,"text-muted"],[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,"displayedColumns","filterValue","pageSize","selection","taskResults","page",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","pageSize","selection","taskResults","page"]],template:function(t,e){1&t&&p.YNc(0,Ca,11,9,"div",0),2&t&&p.Q6J("ngIf",!e.loading)},directives:[s.O5,Qt.t,zt.L,b.lW,S.$g,Ta],pipes:[E.X$],styles:[""]}),t})();var ya=i(53134);const _a=[{path:"",component:n.P},{path:":facilityId",component:x,children:[{path:"",component:N,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:j,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:w.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:Bs,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:k.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:qs,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:Za,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:bt,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:Kt,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:$e,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:Ai,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:F,children:[{path:"",component:J,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:me,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:Zt,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:wi,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:di,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:Y.b,children:[{path:"",component:M.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:X.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:tt.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Yi.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:Ps.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:ya.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:K.t,children:[{path:"",component:W.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:ki.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let La=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[a.Bz.forChild(_a)],a.Bz]}),t})();var va=i(28780),xa=i(22727),Oa=i(6363);let Da=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({providers:[at.dp],imports:[[s.ez,La,va.m,xa.r,hi.ez,at.d4,Oa.UsersModule]]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/300-es2015.a828853dfe9786d61a8d.js b/dist/apps/admin-gui/300-es2015.a828853dfe9786d61a8d.js deleted file mode 100644 index cfeda3102..000000000 --- a/dist/apps/admin-gui/300-es2015.a828853dfe9786d61a8d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[300],{55300:function(t,e,i){"use strict";i.r(e),i.d(e,{FacilitiesModule:function(){return Da}});var s=i(61511),a=i(57629),n=i(73916),l=i(17),o=i(75585),c=i(33642),r=i(84140),u=i(88426),d=i(61189),h=i(30570),p=i(31572),g=i(84608),f=i(48958),m=i(66297),S=i(67806),A=i(43691),T=i(36922),I=i(21575),b=i(15980),E=i(48160);function C(t,e){1&t&&p._UZ(0,"mat-spinner",3)}function Z(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).editFacility()}),p.TgZ(1,"mat-icon"),p._uU(2,"edit"),p.qZA(),p.qZA()}}function y(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).deleteFacility()}),p.TgZ(1,"mat-icon"),p._uU(2,"delete_forever"),p.qZA(),p.qZA()}}const _=function(){return{color:"black"}},L=function(t){return["/facilities",t]};function v(t,e){if(1&t&&(p.TgZ(0,"div"),p.TgZ(1,"div",4),p._UZ(2,"mat-icon",5),p.ALo(3,"translate"),p.TgZ(4,"div",6),p.TgZ(5,"div",7),p.TgZ(6,"a",8),p._uU(7),p.qZA(),p.TgZ(8,"span",9),p._uU(9),p.qZA(),p.YNc(10,Z,3,0,"button",10),p.YNc(11,y,3,0,"button",10),p.qZA(),p.TgZ(12,"span",11),p._uU(13),p.ALo(14,"translate"),p.ALo(15,"translate"),p.qZA(),p.qZA(),p.qZA(),p._UZ(16,"app-animated-router-outlet"),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.s9C("matTooltip",p.lcZ(3,10,"FACILITY_DETAIL.ENTITY")),p.Q6J("ngStyle",p.DdM(16,_)),p.xp6(4),p.Q6J("routerLink",p.VKq(17,L,t.facility.id)),p.xp6(1),p.Oqu(t.facility.name),p.xp6(2),p.hij(" \xa0#",t.facility.id," "),p.xp6(1),p.Q6J("ngIf",t.editFacilityAuth),p.xp6(1),p.Q6J("ngIf",t.deleteAuth),p.xp6(2),p.lnq(" ",p.lcZ(14,12,"FACILITY_DETAIL.ENTITY"),", ",p.lcZ(15,14,"FACILITY_DETAIL.DESCRIPTION"),": ",t.facility.description," ")}}let x=(()=>{class t{constructor(t,e,i,s,a,n,l){this.dialog=t,this.facilityManager=e,this.route=i,this.sideMenuService=s,this.sideMenuItemService=a,this.guiAuthResolver=n,this.router=l,this.editFacilityAuth=!1,this.deleteAuth=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t;const e=this.sideMenuItemService.parseFacility(t);this.sideMenuService.setFacilityMenuItems([e]),this.editFacilityAuth=this.guiAuthResolver.isAuthorized("updateFacility_Facility_policy",[this.facility]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteFacility_Facility_Boolean_policy",[this.facility]),(0,r.sF)("facilities",this.facility),(0,r.XI)(this.facility),this.loading=!1},()=>this.loading=!1)})}editFacility(){const t=(0,r.kZ)();t.width="450px",t.data={theme:"facility-theme",facility:this.facility,dialogType:d.Eg.FACILITY},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.facilityManager.getFacilityById(this.facility.id).subscribe(t=>{this.facility=t})})}deleteFacility(){const t=(0,r.kZ)();t.width="500px",t.data={theme:"facility-theme",facility:this.facility},this.dialog.open(h.Y,t).afterClosed().subscribe(t=>{t&&this.router.navigate([""])})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(a.gz),p.Y36(f.D),p.Y36(o.V),p.Y36(u.x4),p.Y36(a.F0))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-facility-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"facility-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p._UZ(1,"perun-web-apps-back-button"),p.YNc(2,C,1,0,"mat-spinner",1),p.YNc(3,v,17,19,"div",2),p.qZA()),2&t&&(p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&void 0!==e.facility))},directives:[m.W,s.O5,S.$g,A.Hw,T.gM,s.PC,a.yS,I.A,b.lW],pipes:[E.X$],styles:[""],data:{animation:[l.Ji]}}),t})();var O=i(8557);function D(t,e){1&t&&p._UZ(0,"mat-spinner",2)}function R(t,e){if(1&t&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-menu-buttons-field",3),p.qZA()),2&t){const t=p.oxw();p.xp6(1),p.Q6J("items",t.navItems)("size","small")}}let N=(()=>{class t{constructor(t,e,i){this.facilityManager=t,this.route=e,this.authResolver=i,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.navItems=[],this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/facilities/${this.facility.id}/resources`,label:"MENU_ITEMS.FACILITY.RESOURCES",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-user",url:`/facilities/${this.facility.id}/allowed-users`,label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-group",url:`/facilities/${this.facility.id}/allowed-groups`,label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",style:"facility-btn"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service-status",url:`/facilities/${this.facility.id}/services-status`,label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",style:"facility-btn"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[this.facility])&&this.navItems.push({cssIcon:"perun-service_destination",url:`/facilities/${this.facility.id}/services-destinations`,label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",style:"facility-btn"}),this.authResolver.isFacilityAdmin()&&this.navItems.push({cssIcon:"perun-hosts",url:`/facilities/${this.facility.id}/hosts`,label:"MENU_ITEMS.FACILITY.HOSTS",style:"facility-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/facilities/${this.facility.id}/attributes`,label:"MENU_ITEMS.FACILITY.ATTRIBUTES",style:"facility-btn"}),(this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])||this.authResolver.isManagerPagePrivileged(this.facility)||this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility]))&&this.navItems.push({cssIcon:"perun-settings2",url:`/facilities/${this.facility.id}/settings`,label:"MENU_ITEMS.FACILITY.SETTINGS",style:"facility-btn"})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(p.YNc(0,D,1,0,"mat-spinner",0),p.YNc(1,R,2,2,"div",1)),2&t&&(p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,S.$g,O.L],styles:[""]}),t})();var w=i(64467),k=i(39124),Y=i(72920),M=i(76527);let F=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&p._UZ(0,"app-animated-router-outlet")},directives:[I.A],styles:[""],data:{animation:[l.Ji]}}),t})();function q(t,e){1&t&&p._UZ(0,"mat-spinner",2)}function U(t,e){if(1&t&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-menu-buttons-field",3),p.qZA()),2&t){const t=p.oxw();p.xp6(1),p.Q6J("items",t.items)("size","small")}}let J=(()=>{class t{constructor(t,e,i){this.route=t,this.facilityManager=e,this.authResolver=i,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.items=[],this.authResolver.isAuthorized("getOwners_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-owner-grey",url:`/facilities/${this.facility.id}/settings/owners`,label:"MENU_ITEMS.FACILITY.OWNERS",style:"facility-btn"}),this.authResolver.isManagerPagePrivileged(this.facility)&&this.items.push({cssIcon:"perun-manager",url:`/facilities/${this.facility.id}/settings/managers`,label:"MENU_ITEMS.FACILITY.MANAGERS",style:"facility-btn"}),this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[this.facility])&&this.items.push({cssIcon:"perun-security-teams",url:`/facilities/${this.facility.id}/settings/security-teams`,label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",style:"facility-btn"}),this.authResolver.isAuthorized("getBansForFacility_int_policy",[this.facility])&&this.items.push({cssIcon:"perun-black-list",url:`/facilities/${this.facility.id}/settings/blacklist`,label:"MENU_ITEMS.FACILITY.BLACKLIST",style:"facility-btn"})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(p.YNc(0,q,1,0,"mat-spinner",0),p.YNc(1,U,2,2,"div",1)),2&t&&(p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,S.$g,O.L],styles:[""]}),t})();var Q=i(55109),z=i(541),H=i(69012);function V(t,e){1&t&&(p._uU(0),p.ALo(1,"translate")),2&t&&p.hij(" ",p.lcZ(1,1,"FACILITY_DETAIL.ENTITY")," ")}function B(t,e){if(1&t&&p._UZ(0,"app-one-entity-attribute-page",4),2&t){const t=p.oxw();p.Q6J("entity","facility")("entityId",t.facilityId)}}function P(t,e){1&t&&(p._uU(0),p.ALo(1,"translate"),p.ALo(2,"translate")),2&t&&p.AsE(" ",p.lcZ(1,2,"FACILITY_DETAIL.ENTITY")," - ",p.lcZ(2,4,"ADMIN_USER.ENTITY")," ")}function G(t,e){if(1&t&&p._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=p.oxw(2);p.Q6J("firstEntity","facility")("firstEntityId",t.facilityId)("secondEntity","user")}}function $(t,e){1&t&&(p.TgZ(0,"mat-tab"),p.YNc(1,P,3,6,"ng-template",1),p.YNc(2,G,1,3,"ng-template",2),p.qZA())}let j=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e}ngOnInit(){this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilityUserAttAuth=this.authResolver.isAuthorized("getAssignedUsers_Facility_policy",[{id:this.facilityId,beanName:"Facility"}])})}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:9,vars:4,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-tab-group"),p.TgZ(5,"mat-tab"),p.YNc(6,V,2,3,"ng-template",1),p.YNc(7,B,1,2,"ng-template",2),p.qZA(),p.YNc(8,$,3,0,"mat-tab",3),p.qZA(),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,2,"FACILITY_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),p.xp6(6),p.Q6J("ngIf",e.facilityUserAttAuth))},directives:[Q.SP,Q.uX,Q.uD,Q.Vc,s.O5,z.t,H.Y],pipes:[E.X$],styles:[""]}),t})();var K=i(77968),W=i(22927),X=i(79472),tt=i(42473),et=i(16073),it=i(56238),st=i(79996),at=i(22280),nt=i(29236),lt=i(66283),ot=i(80340),ct=i(40084),rt=i(71522),ut=i(22196);function dt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedService(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function ht(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",7),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedSerVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",8,9),p.TgZ(5,"mat-option",10),p.NdJ("onSelectionChange",function(){return p.CHM(t),p.oxw(2).onSelectedService("NOT_SELECTED")}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"mat-option",10),p.NdJ("onSelectionChange",function(){return p.CHM(t),p.oxw(2).onSelectedService("ALL")}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.YNc(11,dt,2,2,"mat-option",11),p.ALo(12,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,9,"FACILITY_DETAIL.SERVICE_CONFIG.SERVICE_SELECT")),p.Q6J("formControl",e.serviceField)("matAutocomplete",t),p.xp6(2),p.Q6J("displayWith",e.serviceDisplayFn.bind(e)),p.xp6(2),p.Q6J("value","NOT_SELECTED"),p.xp6(1),p.hij(" ",p.lcZ(7,11,"FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED")," "),p.xp6(2),p.Q6J("value","ALL"),p.xp6(1),p.hij(" ",p.lcZ(10,13,"FACILITY_DETAIL.SERVICE_CONFIG.ALL")," "),p.xp6(2),p.Q6J("ngForOf",p.lcZ(12,15,e.filteredServices))}}function pt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedResource(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function gt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",12),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedResVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",8,9),p.YNc(5,pt,2,2,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.RES_SELECT")),p.Q6J("matAutocomplete",t)("formControl",e.resourceField),p.xp6(2),p.Q6J("displayWith",e.resourceDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredResources))}}function ft(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedGroup(e)}),p._uU(1),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function mt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-form-field",6),p.TgZ(1,"input",12),p.NdJ("keyup",function(e){return p.CHM(t),p.oxw(2).updatedGroupVal(e)}),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-autocomplete",13,9),p.YNc(5,ft,2,2,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()}if(2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.GROUP_SELECT")),p.Q6J("matAutocomplete",t)("formControl",e.groupField),p.xp6(2),p.Q6J("displayWith",e.groupDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredGroups))}}function St(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-option",10),p.NdJ("onSelectionChange",function(){const e=p.CHM(t).$implicit;return p.oxw(3).onSelectedMember(e)}),p._uU(1),p.ALo(2,"userFullName"),p.qZA()}if(2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",p.lcZ(2,2,t.user)," ")}}function At(t,e){if(1&t&&(p.TgZ(0,"mat-form-field",6),p._UZ(1,"input",14),p.ALo(2,"translate"),p.TgZ(3,"mat-autocomplete",8,9),p.YNc(5,St,3,4,"mat-option",11),p.ALo(6,"async"),p.qZA(),p.qZA()),2&t){const t=p.MAs(4),e=p.oxw(2);p.xp6(1),p.s9C("placeholder",p.lcZ(2,5,"FACILITY_DETAIL.SERVICE_CONFIG.MEMBER_SELECT")),p.Q6J("formControl",e.memberField)("matAutocomplete",t),p.xp6(2),p.Q6J("displayWith",e.memberDisplayFn.bind(e)),p.xp6(2),p.Q6J("ngForOf",p.lcZ(6,7,e.filteredMembers))}}function Tt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",3),p.YNc(1,ht,13,17,"mat-form-field",4),p.TgZ(2,"mat-checkbox",5),p.NdJ("change",function(e){return p.CHM(t),p.oxw().onOfferAllServices(e)}),p._uU(3),p.ALo(4,"translate"),p.qZA(),p.YNc(5,gt,7,9,"mat-form-field",4),p.YNc(6,mt,7,9,"mat-form-field",4),p.YNc(7,At,7,9,"mat-form-field",4),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("ngIf",void 0!==t.services),p.xp6(2),p.hij(" ",p.lcZ(4,5,"FACILITY_DETAIL.SERVICE_CONFIG.ALL_SERVICES")," "),p.xp6(2),p.Q6J("ngIf",void 0!==t.resources&&0!==t.resources.length),p.xp6(1),p.Q6J("ngIf",void 0!==t.selectedResource&&void 0!==t.groups&&0!==t.groups.length),p.xp6(1),p.Q6J("ngIf",void 0!==t.selectedGroup&&void 0!==t.members&&0!==t.members.length)}}function It(t,e){if(1&t&&p._UZ(0,"perun-web-apps-service-configurator",15),2&t){const t=p.oxw();p.Q6J("facility",t.facility)("resource",t.selectedResource)("group",t.selectedGroup)("service",t.selectedService)("member",t.selectedMember)}}let bt=(()=>{class t{constructor(t,e,i,s,a,n,l){this.route=t,this.facilityManager=e,this.resourceManager=i,this.serviceManager=s,this.membersManager=a,this.namePipe=n,this.translate=l,this.selectedService="NOT_SELECTED",this.attrNames=[],this.serviceField=new et.NI,this.resourceField=new et.NI,this.groupField=new et.NI,this.memberField=new et.NI,this.allowedStatuses=["INVALID","VALID"],this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.ALL").subscribe(t=>this.serviceAllTranslation=t),this.translate.get("FACILITY_DETAIL.SERVICE_CONFIG.NOT_SELECTED").subscribe(t=>this.serviceNotSelectedTranslation=t)}ngOnInit(){this.route.parent.params.subscribe(t=>{this.facilityManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.facilityManager.getAssignedResourcesForFacility(t.id).subscribe(t=>this.resources=t),this.serviceManager.getAssignedServices(t.id).subscribe(t=>this.services=t)})}),this.filteredServices=this.serviceField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterServices(t))),this.filteredResources=this.resourceField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterResources(t))),this.filteredGroups=this.groupField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterGroups(t))),this.filteredMembers=this.memberField.valueChanges.pipe((0,it.O)(""),(0,st.U)(t=>this._filterMembers(t)))}onSelectedService(t){this.selectedService=t}onSelectedResource(t){this.selectedResource=t,void 0!==this.selectedResource?(this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(t=>this.groups=t),this.selectedGroup=void 0,this.selectedMember=void 0):this.groups=void 0}onOfferAllServices(t){t.checked||this.serviceManager.getAssignedServices(this.facility.id).subscribe(t=>this.services=t)}onSelectedGroup(t){this.selectedGroup=t,void 0!==this.selectedGroup?(this.membersManager.getCompleteRichMembersForGroup(this.selectedGroup.id,!1,this.allowedStatuses,this.attrNames).subscribe(t=>this.members=t),this.selectedMember=void 0):this.members=void 0}onSelectedMember(t){this.selectedMember=t}_filterServices(t){const e=t.toString().toLowerCase();return this.services.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterResources(t){const e=t.toString().toLowerCase();return this.resources.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterGroups(t){const e=t.toString().toLowerCase();return this.groups.filter(t=>t.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}_filterMembers(t){const e=t.toString().toLowerCase();return this.members.filter(t=>this.namePipe.transform(t.user).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(e))}serviceDisplayFn(t){if(null!==t)return"ALL"===t?this.serviceAllTranslation:"NOT_SELECTED"===t?this.serviceNotSelectedTranslation:t.name}resourceDisplayFn(t){if(null!==t)return t.name}groupDisplayFn(t){if(null!==t)return t.name}memberDisplayFn(t){if(null!==t)return this.namePipe.transform(t.user)}updatedSerVal(t){""===t.target.value&&(this.selectedService="NOT_SELECTED")}updatedResVal(t){""===t.target.value&&(this.groups=void 0,this.members=void 0)}updatedGroupVal(t){""===t.target.value&&(this.members=void 0)}updatedMemVal(t){}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(c.xk),p.Y36(c.KK),p.Y36(c.uq),p.Y36(at.dp),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-service-config"]],decls:6,vars:5,consts:[[1,"page-subtitle"],["class","col-12 col-lg-6 mb-2",4,"ngIf"],[3,"facility","resource","group","service","member",4,"ngIf"],[1,"col-12","col-lg-6","mb-2"],["class","w-100",4,"ngIf"],[3,"change"],[1,"w-100"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete","keyup"],["autoActiveFirstOption","",3,"displayWith"],["auto","matAutocomplete"],[3,"value","onSelectionChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],["type","text","matInput","",3,"placeholder","matAutocomplete","formControl","keyup"],["autoActiveFirstOption","",3,"ngClass","displayWith"],["type","text","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"facility","resource","group","service","member"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,Tt,8,7,"div",1),p.YNc(5,It,1,5,"perun-web-apps-service-configurator",2),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,3,"FACILITY_DETAIL.SERVICE_CONFIG.TITLE")),p.xp6(2),p.Q6J("ngIf",!!e.facility),p.xp6(1),p.Q6J("ngIf",!!e.facility))},directives:[s.O5,nt.oG,lt.KE,ot.Nt,et.Fj,ct.ZL,et.JJ,et.oH,ct.XC,rt.ey,s.sg,s.mk],pipes:[E.X$,s.Ov,ut.d],styles:[""]}),t})();var Et=i(489);function Ct(t,e){if(1&t&&p._UZ(0,"app-managers-page",1),2&t){const t=p.oxw();p.Q6J("complementaryObject",t.facility)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Zt=(()=>{class t{constructor(t,e,i){this.facilityService=t,this.route=e,this.guiAuthResolver=i,this.availableRoles=[],this.selected="user",this.type="Facility",this.theme="facility-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.facilityService.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Facility")}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&p.YNc(0,Ct,1,4,"app-managers-page",0),2&t&&p.Q6J("ngIf",e.facility)},directives:[s.O5,Et.s],styles:[""]}),t})();var yt=i(60611),_t=i(4230),Lt=i(60547),vt=i(4786);function xt(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function Ot(t,e){1&t&&(p.TgZ(0,"mat-option",19),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.SELECTION_ALL")))}function Dt(t,e){1&t&&(p.TgZ(0,"mat-option",20),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.NO_SERVICE")))}function Rt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t.name," ")}}function Nt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.CHOOSE_SERVICE")," "))}function wt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit,i=p.oxw(2);p.Q6J("value",t),p.xp6(1),p.hij(" ",i.getTypeForView(t)," ")}}function kt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.REQUIRED_FIELD")," "))}function Yt(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_SERVICE_DESTINATION.INVALID_DESTINATION")," "))}function Mt(t,e){if(1&t&&(p.TgZ(0,"mat-form-field",22),p._UZ(1,"input",23),p.YNc(2,kt,3,3,"mat-error",13),p.YNc(3,Yt,3,3,"mat-error",13),p.qZA()),2&t){const t=p.oxw(2);p.xp6(1),p.s9C("placeholder",t.getTypeForView(t.selectedType)),p.Q6J("formControl",t.destinationControl),p.xp6(1),p.Q6J("ngIf","host"===t.selectedType&&!t.useFacilityHost&&t.destinationControl.hasError("required")),p.xp6(1),p.Q6J("ngIf",t.destinationControl.hasError("invalidDestination"))}}function Ft(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",24),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw(2).useFacilityHost=e}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("ngModel",t.useFacilityHost),p.xp6(1),p.hij(" ",p.lcZ(2,2,"DIALOGS.ADD_SERVICE_DESTINATION.USE_FACILITY_HOST")," ")}}function qt(t,e){if(1&t&&(p.TgZ(0,"mat-option",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.hij(" ",t," ")}}function Ut(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",7),p.TgZ(1,"div",8),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-form-field"),p.TgZ(5,"mat-select",9),p.ALo(6,"translate"),p.YNc(7,Ot,3,3,"mat-option",10),p.YNc(8,Dt,3,3,"mat-option",11),p.YNc(9,Rt,2,2,"mat-option",12),p.qZA(),p.YNc(10,Nt,3,3,"mat-error",13),p.qZA(),p.TgZ(11,"mat-checkbox",14),p.NdJ("change",function(){return p.CHM(t),p.oxw().getServices()})("ngModelChange",function(e){return p.CHM(t),p.oxw().servicesOnFacility=e}),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.TgZ(14,"mat-form-field"),p.TgZ(15,"mat-select",15),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw().selectedType=e})("selectionChange",function(){return p.CHM(t),p.oxw().destinationControl.updateValueAndValidity()}),p.ALo(16,"translate"),p.YNc(17,wt,2,2,"mat-option",12),p.qZA(),p.qZA(),p.YNc(18,Mt,4,4,"mat-form-field",16),p.YNc(19,Ft,3,4,"mat-checkbox",17),p.TgZ(20,"mat-form-field"),p.TgZ(21,"mat-select",18),p.NdJ("ngModelChange",function(e){return p.CHM(t),p.oxw().selectedPropagation=e}),p.ALo(22,"translate"),p.YNc(23,qt,2,2,"mat-option",12),p.qZA(),p.qZA(),p.TgZ(24,"div",8),p._uU(25),p.ALo(26,"translate"),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,18,"DIALOGS.ADD_SERVICE_DESTINATION.DESCRIPTION")),p.xp6(3),p.s9C("placeholder",p.lcZ(6,20,"DIALOGS.ADD_SERVICE_DESTINATION.SERVICE")),p.Q6J("formControl",t.serviceControl),p.xp6(2),p.Q6J("ngIf",0!==t.services.length),p.xp6(1),p.Q6J("ngIf",0===t.services.length),p.xp6(1),p.Q6J("ngForOf",t.services),p.xp6(1),p.Q6J("ngIf",void 0===t.serviceControl.value),p.xp6(1),p.Q6J("ngModel",t.servicesOnFacility),p.xp6(1),p.Oqu(p.lcZ(13,22,"DIALOGS.ADD_SERVICE_DESTINATION.IS_SERVICES_ONLY_ON_FACILITY")),p.xp6(3),p.s9C("placeholder",p.lcZ(16,24,"DIALOGS.ADD_SERVICE_DESTINATION.TYPE")),p.Q6J("ngModel",t.selectedType),p.xp6(2),p.Q6J("ngForOf",t.types),p.xp6(1),p.Q6J("ngIf",!("host"===t.selectedType&&t.useFacilityHost)),p.xp6(1),p.Q6J("ngIf","host"===t.selectedType),p.xp6(2),p.s9C("placeholder",p.lcZ(22,26,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION")),p.Q6J("ngModel",t.selectedPropagation),p.xp6(2),p.Q6J("ngForOf",t.propagations),p.xp6(2),p.hij(" ",p.lcZ(26,28,"DIALOGS.ADD_SERVICE_DESTINATION.PROPAGATION_TYPE_"+t.selectedPropagation)," ")}}let Jt=(()=>{class t{constructor(t,e,i,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.servicesManager=s,this.services=[],this.types=["host","user@host","user@host:port","user@host-windows","host-windows-proxy","url","email","semail","service-specific"],this.selectedType="host",this.propagations=["PARALLEL","DUMMY"],this.selectedPropagation="PARALLEL",this.useFacilityHost=!1,this.loading=!1,this.emailRegex=new RegExp(/^(([^<>()[\]\\.,;:\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]{2,}))$/),this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"),this.urlPattern=new RegExp("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;()*$']*[-a-zA-Z0-9+&@#/%=~_|()*$']$"),this.userAtHostPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$)"),this.userAtHostPortPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}):[0-9]+"),this.serviceSpecificPattern=new RegExp("^(?!-)[a-zA-Z0-9-_.:/]*$")}ngOnInit(){this.loading=!0,this.serviceControl=new et.NI(void 0,et.kI.required),this.destinationControl=new et.NI("",this.getDestinationValidator()),this.emailControl=new et.NI("",[et.kI.required,et.kI.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe(t=>{this.hosts=t,this.servicesOnFacility=!0,this.getServices(),this.loading=!1},()=>this.loading=!1)}getDestinationValidator(){return t=>{if(!t.value)return null;let e;switch(this.selectedType){case"host":case"host-windows-proxy":e=this.hostPattern;break;case"email":case"semail":e=this.emailRegex;break;case"url":e=this.urlPattern;break;case"user@host":case"user@host-windows":e=this.userAtHostPattern;break;case"user@host:port":e=this.userAtHostPortPattern;break;case"service-specific":e=this.serviceSpecificPattern;break;default:return null}return e.test(t.value)?null:{invalidDestination:{value:t.value}}}}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestinationToMultipleServices({services:this.services,facility:this.data.facility.id,destination:this.destinationControl.value,type:this.selectedType,propagationType:this.selectedPropagation}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getServices(){this.loading=!0,this.servicesOnFacility?this.servicesManager.getAssignedServices(this.data.facility.id).subscribe(t=>{this.services=t},()=>this.loading=!1):this.servicesManager.getServices().subscribe(t=>{this.services=t},()=>this.loading=!1),this.loading=!1,this.serviceControl.setValue(void 0)}getTypeForView(t){return"semail"===t?"Send Mail":"service-specific"===t?"Service Specific":t}invalidDestination(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.IQ),p.Y36(c.KK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-add-services-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-italic"],["required","",3,"formControl","placeholder"],["value","all",4,"ngIf"],["value","noService",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"],[3,"ngModel","placeholder","ngModelChange","selectionChange"],["class","w-100",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange"],["value","all"],["value","noService"],[3,"value"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,xt,1,0,"mat-spinner",1),p.YNc(5,Ut,27,30,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.Tol(e.data.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading||e.invalidDestination()||e.serviceControl.invalid||"noService"===e.serviceControl.value),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,lt.KE,vt.gD,et.Q7,et.JJ,et.oH,s.sg,nt.oG,et.On,rt.ey,lt.TO,ot.Nt,et.Fj],pipes:[E.X$],styles:[""],data:{animation:[l.BQ]}}),t})();var Qt=i(59403),zt=i(19139),Ht=i(94357);function Vt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().addDestination()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function Bt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeDestination()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function Pt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",10),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAllow()}),p.TgZ(1,"mat-icon"),p._uU(2," check_circle_outline "),p.qZA(),p._uU(3),p.ALo(4,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.allSelectedAllowed()),p.xp6(3),p.hij(" ",p.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function Gt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",10),p.NdJ("click",function(){return p.CHM(t),p.oxw().onBlock()}),p.TgZ(1,"mat-icon"),p._uU(2," block "),p.qZA(),p._uU(3),p.ALo(4,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.allSelectedBlocked()),p.xp6(3),p.hij(" ",p.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function $t(t,e){1&t&&p._UZ(0,"mat-spinner",11)}function jt(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-perun-web-apps-destination-list",12),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("destinations",t.destinations)("selection",t.selected)("displayedColumns",t.displayedColumns)}}let Kt=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c){this.dialog=t,this.facilitiesManager=e,this.servicesManager=i,this.tableConfigService=s,this.translate=a,this.notificator=n,this.route=l,this.authResolver=o,this.serviceManager=c,this.selected=new _t.Ov(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.filterValue="",this.tableId=yt.Cf}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(t=>{this.destinations=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addDestination_Service_Facility_Destination_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeDestination_Service_Facility_Destination_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnDestination_Service_int_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnDestination_Service_int_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","destinationId","service","destination","type","status","propagationType"]:["destinationId","service","destination","type","status","propagationType"]}addDestination(){const t=(0,r.kZ)();t.width="600px",t.data={facility:this.facility,theme:"facility-theme"},this.dialog.open(Jt,t).afterClosed().subscribe(t=>{t&&this.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(t=>{this.refreshTable(),this.notificator.showSuccess(t)})})}removeDestination(){const t=(0,r.kZ)();t.width="600px",t.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(Lt.u,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}blockServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.blockServiceOnDestination(e.service.id,e.id).subscribe(()=>{this.blockServiceOnDestinations(t)},()=>this.loading=!1)}onBlock(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}allowServiceOnDestinations(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();const e=t.pop();this.serviceManager.unblockServiceOnDestinationById(e.service.id,e.id).subscribe(()=>{this.allowServiceOnDestinations(t)},()=>this.loading=!1)}onAllow(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}allSelectedAllowed(){return this.selected.selected.reduce((t,e)=>t&&!e.blocked,!0)}allSelectedBlocked(){return this.selected.selected.reduce((t,e)=>t&&e.blocked,!0)}}return t.id="FacilityServicesDestinationsComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(c.KK),p.Y36(yt.dB),p.Y36(E.sK),p.Y36(u.V6),p.Y36(a.gz),p.Y36(u.x4),p.Y36(c.KK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:12,vars:10,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Vt,3,3,"button",2),p.YNc(6,Bt,3,4,"button",3),p.YNc(7,Pt,5,4,"button",4),p.YNc(8,Gt,5,4,"button",4),p.TgZ(9,"perun-web-apps-immediate-filter",5),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(10,$t,1,0,"mat-spinner",6),p.YNc(11,jt,1,5,"app-perun-web-apps-destination-list",7),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,8,"FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.allowAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.blockAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,zt.L,b.lW,A.Hw,S.$g,Ht.q],pipes:[E.X$],styles:[""]}),t})();var Wt=i(17767);function Xt(t,e){1&t&&p._UZ(0,"mat-spinner",3)}function te(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"perun-web-apps-immediate-filter",4),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA(),p.TgZ(2,"div",5),p.TgZ(3,"perun-web-apps-owners-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA(),p.qZA(),p.TgZ(4,"div",7),p.TgZ(5,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().onCancel()}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAdd()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("placeholder","DIALOGS.ADD_OWNERS.FILTER"),p.xp6(2),p.Q6J("filterValue",t.filterValue)("pageSize",t.pageSize)("owners",t.owners)("selection",t.selection),p.xp6(3),p.hij(" ",p.lcZ(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||t.loading),p.xp6(1),p.hij(" ",p.lcZ(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}let ee=(()=>{class t{constructor(t,e,i,s,a,n,l){this.dialogRef=t,this.data=e,this.notificator=i,this.tableConfigService=s,this.translate=a,this.ownersManagerService=n,this.facilitiesManagerService=l,this.extSources=[],this.selection=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.BV,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=t.filter(t=>!this.data.forbiddenOwners.includes(t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}onAdd(){this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe(()=>this.onAdd(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}onCancel(){this.dialogRef.close(!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(u.V6),p.Y36(yt.dB),p.Y36(E.sK),p.Y36(c.aC),p.Y36(c.IQ))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-add-facility-owner-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"font-size-1rem",3,"placeholder","filter"],["mat-dialog-content",""],[3,"filterValue","pageSize","owners","selection","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Xt,1,0,"mat-spinner",1),p.YNc(5,te,11,12,"div",2),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,6,"DIALOGS.ADD_OWNERS.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[g.uh,s.O5,S.$g,zt.L,g.xY,Wt.Q,g.H8,b.lW],pipes:[E.X$],styles:[""]}),t})();var ie=i(67033);function se(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function ae(t,e){1&t&&p._UZ(0,"th",15)}function ne(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.name," ")}}function le(t,e){1&t&&p._UZ(0,"tr",17)}function oe(t,e){1&t&&p._UZ(0,"tr",18)}function ce(t,e){if(1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,ae,1,0,"th",11),p.YNc(10,ne,2,1,"td",12),p.BQk(),p.YNc(11,le,1,0,"tr",13),p.YNc(12,oe,1,0,"tr",14),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),p.xp6(2),p.Q6J("dataSource",t.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",t.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",t.displayedColumns)}}let re=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.facilitiesManagerService=a,this.displayedColumns=["name"],s.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.dataSource=new ie.by(this.data.owners),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,0!==this.data.owners.length?this.facilitiesManagerService.removeFacilityOwner(this.data.facilityId,this.data.owners.pop().id).subscribe(()=>this.onSubmit(),()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(u.V6),p.Y36(E.sK),p.Y36(c.IQ))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-remove-facility-owner-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",""],[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(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,se,1,0,"mat-spinner",1),p.YNc(5,ce,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$],styles:[""]}),t})();function ue(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",7),p.NdJ("refresh",function(){return p.CHM(t),p.oxw().refreshTable()}),p.qZA()}}function de(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().onCreate()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function he(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",9),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemove()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selection.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function pe(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-immediate-filter",10),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA()}2&t&&p.Q6J("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function ge(t,e){1&t&&p._UZ(0,"mat-spinner",11)}function fe(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-owners-list",12),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("owners",t.owners)("displayedColumns",t.displayedColumns)("selection",t.selection)}}let me=(()=>{class t{constructor(t,e,i,s,a){this.facilitiesManagerService=t,this.tableConfigService=e,this.route=i,this.dialog=s,this.authResolver=a,this.owners=[],this.selection=new _t.Ov(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=yt.zp}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.filterValue="",this.route.parent.parent.params.subscribe(t=>{this.facilityId=parseInt(t.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}refreshTable(){this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facilityId).subscribe(t=>{this.owners=t,this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addOwner_Facility_Owner_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeOwner_Facility_Owner_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","contact","type"]:["id","name","contact","type"]}applyFilter(t){this.filterValue=t}onCreate(){const t=(0,r.kZ)();t.width="800px",t.data={theme:"facility-theme",facilityId:this.facilityId,forbiddenOwners:this.owners.map(t=>t.id)},this.dialog.open(ee,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,r.kZ)();t.width="600px",t.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facilityId},this.dialog.open(re,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(g.uw),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-settings-owners"]],decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page",4,"ngIf"],[3,"refresh"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.YNc(3,ue,1,0,"perun-web-apps-refresh-button",1),p.YNc(4,de,3,3,"button",2),p.YNc(5,he,3,4,"button",3),p.YNc(6,pe,1,1,"perun-web-apps-immediate-filter",4),p.YNc(7,ge,1,0,"mat-spinner",5),p.YNc(8,fe,1,5,"perun-web-apps-owners-list",6)),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,7,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),p.xp6(2),p.Q6J("ngIf",!e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[s.O5,Qt.t,b.lW,zt.L,S.$g,Wt.Q],pipes:[E.X$],styles:[""]}),t})();function Se(t,e){1&t&&p._UZ(0,"mat-spinner",7)}function Ae(t,e){1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function Te(t,e){if(1&t&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t){const t=p.oxw(2);p.xp6(1),p.AsE(" ",p.lcZ(2,2,"DIALOGS.ADD_HOST.INVALID_HOST"),"",t.hostsCtrl.getError("invalidHost").value," ")}}function Ie(t,e){if(1&t&&(p.TgZ(0,"div",8),p.TgZ(1,"mat-form-field"),p.TgZ(2,"textarea",9),p._uU(3," "),p.qZA(),p.YNc(4,Ae,3,3,"mat-error",10),p.YNc(5,Te,3,4,"mat-error",10),p.qZA(),p.TgZ(6,"div",11),p._uU(7),p.ALo(8,"translate"),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.Q6J("formControl",t.hostsCtrl),p.xp6(2),p.Q6J("ngIf",t.hostsCtrl.hasError("required")),p.xp6(1),p.Q6J("ngIf",t.hostsCtrl.hasError("invalidHost")),p.xp6(2),p.Oqu(p.lcZ(8,4,"DIALOGS.ADD_HOST.HINT"))}}let be=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=s,this.translate=a,this.loading=!1,this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")}ngOnInit(){this.theme=this.data.theme,this.facilityName=this.data.facilityName,this.hostsCtrl=new et.NI("",[et.kI.required,this.hostsNameValidator()]),this.hostsCtrl.markAllAsTouched()}onAdd(){this.loading=!0;const t=this.hostsCtrl.value.split("\n");let e=[];for(const i of t)e=e.concat(this.parseHostName(i));this.facilitiesManager.addHosts(this.data.facilityId,e).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}hostsNameValidator(){return t=>{let e=[];const i=t.value.split("\n");for(const s of i)e=e.concat(this.parseHostName(s));for(const s of e)if(!this.hostPattern.test(s))return{invalidHost:{value:s}};return null}}parseHostName(t){const e=new RegExp("[[0-9]+-[0-9]+]","g"),i=t.split(e),s=t.match(e);if(null==s)return""===t?[]:[t];let a=[];for(let n=0;n{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=s,this.translate=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.hosts=this.data.hosts,this.dataSource=new ie.by(this.data.hosts)}onConfirm(){this.loading=!0,this.facilitiesManager.removeHosts(this.data.facilityId,this.hosts.map(t=>t.id)).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_HOST.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.IQ),p.Y36(u.V6),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-remove-host-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Ee,1,0,"mat-spinner",1),p.YNc(5,Le,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onConfirm()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_HOST.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_HOST.CANCEL"),""),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_HOST.CONFIRM"),""))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$],styles:[""]}),t})();var xe=i(58623),Oe=i(82819),De=i(84534),Re=i(39571);function Ne(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",13),p.TgZ(1,"mat-checkbox",14),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function we(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",15),p.TgZ(1,"mat-checkbox",16),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function ke(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_ID")))}function Ye(t,e){if(1&t&&(p.TgZ(0,"td",15),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Me(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.TABLE_HOST_NAME")))}function Fe(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.hostname)}}function qe(t,e){1&t&&p._UZ(0,"tr",19)}const Ue=function(t,e){return["/facilities",t,"hosts",e]};function Je(t,e){if(1&t&&p._UZ(0,"tr",20),2&t){const t=e.$implicit,i=p.oxw();p.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:p.WLB(2,Ue,i.facilityId,t.id))("routerLink",i.disableRouting?null:p.WLB(5,Ue,i.facilityId,t.id))}}function Qe(t,e){1&t&&(p.TgZ(0,"app-alert",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ze(t,e){1&t&&(p.TgZ(0,"app-alert",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.HOSTS_LIST.NO_HOST_WARNING"),"\n"))}let He=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.hosts=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.displayedColumns=["select","id","name"],this.page=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.hosts),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.hostname;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-hosts-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{hosts:"hosts",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",facilityId:"facilityId",disableRouting:"disableRouting",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:16,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Ne,2,3,"th",4),p.YNc(5,we,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,ke,3,3,"th",7),p.YNc(8,Ye,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Me,3,3,"th",7),p.YNc(11,Fe,2,1,"td",9),p.BQk(),p.YNc(12,qe,1,0,"tr",10),p.YNc(13,Je,1,8,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.YNc(14,Qe,3,3,"app-alert",12),p.YNc(15,ze,3,3,"app-alert",12)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.hosts.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(10),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.hosts.length),p.xp6(1),p.Q6J("ngIf",0===e.hosts.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,De.YH,a.rH,Re.w],pipes:[E.X$],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Ve(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",7),p.NdJ("click",function(){return p.CHM(t),p.oxw().addHost()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.HOSTS.ADD")," "))}function Be(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeHost()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.HOSTS.REMOVE")," ")}}function Pe(t,e){1&t&&p._UZ(0,"mat-spinner",9)}function Ge(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-hosts-list",10),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("hosts",t.hosts)("selection",t.selected)("displayedColumns",t.displayedColumns)("disableRouting",!t.routeAuth)("facilityId",t.facilityId)}}let $e=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=a,this.hosts=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.eq,this.displayedColumns=["id","name"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilitiesManager.getFacilityById(this.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getHosts(this.facilityId).subscribe(t=>{this.hosts=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addHosts_Facility_List_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}addHost(){const t=(0,r.kZ)();t.width="600px",t.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(be,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeHost(){const t=(0,r.kZ)();t.width="600px",t.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(ve,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-hosts"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Ve,3,3,"button",2),p.YNc(6,Be,3,4,"button",3),p.TgZ(7,"perun-web-apps-immediate-filter",4),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(8,Pe,1,0,"mat-spinner",5),p.YNc(9,Ge,1,7,"app-hosts-list",6),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.addAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.removeAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,zt.L,b.lW,S.$g,He],pipes:[E.X$],styles:[""]}),t})();function je(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",14),p.TgZ(1,"mat-checkbox",15),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ke(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",16),p.TgZ(1,"mat-checkbox",17),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function We(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function Xe(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t[1].id)}}function ti(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function ei(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.ALo(2,"userFullName"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.lcZ(2,1,t[1]))}}function ii(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function si(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t[0].description)}}function ai(t,e){1&t&&p._UZ(0,"tr",20)}function ni(t,e){1&t&&p._UZ(0,"tr",21)}function li(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function oi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}let ci=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.bansOnFacilitiesWithUsers=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.page=new p.vpe,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"userId"!==t)),this.dataSource=new ie.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"userId":return t[1].id.toString();case"reason":return t[0].description;case"name":return(0,r.hu)(t[1]);default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t[0].userId+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[p.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,je,2,3,"th",4),p.YNc(5,Ke,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,We,3,3,"th",7),p.YNc(8,Xe,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,ti,3,3,"th",7),p.YNc(11,ei,3,3,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,ii,3,3,"th",7),p.YNc(14,si,2,1,"td",9),p.BQk(),p.YNc(15,ai,1,0,"tr",11),p.YNc(16,ni,1,0,"tr",12),p.qZA(),p.qZA(),p.qZA(),p.YNc(17,li,3,3,"app-alert",13),p.YNc(18,oi,3,3,"app-alert",13)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.bansOnFacilitiesWithUsers.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(13),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.bansOnFacilitiesWithUsers.length),p.xp6(1),p.Q6J("ngIf",0===e.bansOnFacilitiesWithUsers.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,Re.w],pipes:[E.X$,ut.d],styles:[""]}),t})();function ri(t,e){1&t&&p._UZ(0,"mat-spinner",5)}function ui(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-perun-web-apps-blacklist-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("bansOnFacilitiesWithUsers",t.bansOnFacilitiesWithUsers)("selection",t.selected)}}let di=(()=>{class t{constructor(t,e,i,s){this.facilitiesManager=t,this.usersManager=e,this.tableConfigService=i,this.route=s,this.bansOnFacilitiesWithUsers=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.NG}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.facilitiesManager.getBansForFacility(t.facilityId).subscribe(t=>{const e=t;for(const i of e){let t;this.usersManager.getUserById(i.userId).subscribe(e=>{t=e}),this.bansOnFacilitiesWithUsers.push([i,t])}this.selected.clear(),this.loading=!1})})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(c.IQ),p.Y36(c.Fv),p.Y36(yt.dB),p.Y36(a.gz))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-immediate-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.ALo(6,"translate"),p.qZA(),p.YNc(7,ri,1,0,"mat-spinner",3),p.YNc(8,ui,1,4,"app-perun-web-apps-blacklist-list",4),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),p.xp6(3),p.Q6J("placeholder",p.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),p.xp6(2),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,zt.L,s.O5,S.$g,ci],pipes:[E.X$],styles:[""]}),t})();var hi=i(41939),pi=i(13572),gi=i(40695),fi=i(41186);const mi=["list"];function Si(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-attributes-list",6,7),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("attributes",t.attributes)("selection",t.selected)}}let Ai=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.attributesManager=e,this.facilityManager=i,this.tableConfigService=s,this.route=a,this.attributes=[],this.selected=new _t.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=yt.rF}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.hostId=t.hostId,this.facilityManager.getHostById(this.hostId).subscribe(t=>{this.host=t}),this.refreshTable()})}refreshTable(){this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(t=>{this.attributes=(0,r.MX)(t),this.selected.clear(),this.loading=!1})}onSave(){this.list.updateMapAttributes();const t=(0,r.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(d.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}addAttribute(){const t=(0,r.kZ)();t.width="1050px",t.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(gi.n,t).afterClosed().subscribe(t=>{"saved"===t&&this.refreshTable()})}removeAttribute(){const t=(0,r.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(pi.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.H8),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-hosts-detail"]],viewQuery:function(t,e){if(1&t&&p.Gf(mi,5),2&t){let t;p.iGM(t=p.CRH())&&(e.list=t.first)}},decls:15,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"button",2),p.NdJ("click",function(){return e.addAttribute()}),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"button",3),p.NdJ("click",function(){return e.onSave()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.TgZ(11,"button",4),p.NdJ("click",function(){return e.removeAttribute()}),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.YNc(14,Si,2,3,"perun-web-apps-attributes-list",5),p.qZA()),2&t&&(p.xp6(2),p.AsE(" ",p.lcZ(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",e.host.hostname,""),p.xp6(4),p.hij(" ",p.lcZ(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),p.xp6(2),p.Q6J("disabled",0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),p.xp6(2),p.Q6J("disabled",0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),p.xp6(2),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,b.lW,s.O5,fi.p],pipes:[E.X$],styles:[""]}),t})();function Ti(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",14),p.TgZ(1,"mat-checkbox",15),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Ii(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",16),p.TgZ(1,"mat-checkbox",17),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function bi(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function Ei(t,e){if(1&t&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Ci(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function Zi(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.name)}}function yi(t,e){1&t&&(p.TgZ(0,"th",18),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function _i(t,e){if(1&t&&(p.TgZ(0,"td",19),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.description)}}function Li(t,e){1&t&&p._UZ(0,"tr",20)}function vi(t,e){1&t&&p._UZ(0,"tr",21)}function xi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Oi(t,e){1&t&&(p.TgZ(0,"app-alert",22),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}let Di=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.securityTeams=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"description":return t.description;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-security-teams-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Ti,2,3,"th",4),p.YNc(5,Ii,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,bi,3,3,"th",7),p.YNc(8,Ei,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Ci,3,3,"th",7),p.YNc(11,Zi,2,1,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,yi,3,3,"th",7),p.YNc(14,_i,2,1,"td",9),p.BQk(),p.YNc(15,Li,1,0,"tr",11),p.YNc(16,vi,1,0,"tr",12),p.qZA(),p.qZA(),p.qZA(),p.YNc(17,xi,3,3,"app-alert",13),p.YNc(18,Oi,3,3,"app-alert",13)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.securityTeams.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(13),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.securityTeams.length),p.xp6(1),p.Q6J("ngIf",0===e.securityTeams.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,Re.w],pipes:[E.X$],styles:[""]}),t})();function Ri(t,e){1&t&&p._UZ(0,"mat-spinner",5)}function Ni(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-security-teams-list",6),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("securityTeams",t.securityTeams)("displayedColumns",t.displayedColumns)("selection",t.selected)}}let wi=(()=>{class t{constructor(t,e,i,s,a){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=a,this.securityTeams=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.O9,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(t=>{this.securityTeams=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}applyFilter(t){this.filterValue=t}addSecurityTeam(){}removeSecurityTeam(){}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.uw),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(a.gz),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-immediate-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(6,Ri,1,0,"mat-spinner",3),p.YNc(7,Ni,1,5,"app-security-teams-list",4),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),p.xp6(3),p.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,zt.L,s.O5,S.$g,Di],pipes:[E.X$],styles:[""]}),t})();var ki=i(64359),Yi=i(75374);function Mi(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function Fi(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function qi(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.id," ")}}function Ui(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function Ji(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",t.destination.destination," ")}}function Qi(t,e){1&t&&(p.TgZ(0,"th",17),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function zi(t,e){if(1&t&&(p.TgZ(0,"td",18),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.hij(" ",p.xi3(2,1,t.timestamp,"d.M.y H:mm:ss")," ")}}function Hi(t,e){1&t&&p._UZ(0,"tr",19)}function Vi(t,e){1&t&&p._UZ(0,"tr",20)}function Bi(t,e){if(1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,Fi,3,3,"th",11),p.YNc(10,qi,2,1,"td",12),p.BQk(),p.ynx(11,13),p.YNc(12,Ui,3,3,"th",11),p.YNc(13,Ji,2,1,"td",12),p.BQk(),p.ynx(14,14),p.YNc(15,Qi,3,3,"th",11),p.YNc(16,zi,3,4,"td",12),p.BQk(),p.YNc(17,Hi,1,0,"tr",15),p.YNc(18,Vi,1,0,"tr",16),p.qZA(),p.qZA()),2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),p.xp6(2),p.Q6J("dataSource",t.dataSource),p.xp6(10),p.Q6J("matHeaderRowDef",t.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",t.displayedColumns)}}let Pi=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.taskManager=i,this.notificator=s,this.translate=a,this.loading=!1,this.dataSource=new ie.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}ngOnInit(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}deleteResults(){if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(()=>{this.deleteResults()},()=>this.loading=!1)}onDelete(){this.deleteResults()}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.Ob),p.Y36(u.V6),p.Y36(E.sK))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["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(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,Mi,1,0,"mat-spinner",1),p.YNc(5,Bi,19,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.onDelete()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,ie.BZ,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,ie.ge,ie.ev,ie.XQ,ie.Gk],pipes:[E.X$,s.uU],styles:[""]}),t})();var Gi=i(88884);function $i(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function ji(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",13),p.NdJ("change",function(e){return p.CHM(t),p.oxw(2).change(e)}),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskChecked),p.xp6(2),p.hij(" ",p.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function Ki(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"mat-checkbox",14),p.NdJ("change",function(e){return p.CHM(t),p.oxw(2).change(e)}),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.taskResultsChecked),p.xp6(2),p.hij(" ",p.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function Wi(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-resources-list",15),p.NdJ("allSelected",function(e){return p.CHM(t),p.oxw(2).disableCheckboxes(e)})("page",function(e){return p.CHM(t),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("pageSize",t.pageSize)("disableRouting",!0)("resources",t.resources)("selection",t.selected)("displayedColumns",t.displayedColumns)}}function Xi(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div"),p.YNc(5,ji,4,9,"mat-checkbox",8),p.YNc(6,Ki,4,9,"mat-checkbox",9),p.TgZ(7,"mat-checkbox",10),p.NdJ("change",function(e){return p.CHM(t),p.oxw().change(e)}),p.ALo(8,"translate"),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.TgZ(11,"p"),p._uU(12),p.ALo(13,"translate"),p.qZA(),p.TgZ(14,"div",11),p._uU(15),p.ALo(16,"translate"),p.qZA(),p.YNc(17,Wi,1,5,"perun-web-apps-resources-list",12),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.Oqu(p.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),p.xp6(3),p.Q6J("ngIf",null!==t.taskId),p.xp6(1),p.Q6J("ngIf",null!==t.taskId),p.xp6(1),p.s9C("matTooltip",p.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.checkboxesDisabled)("disabled",t.checkboxesDisabled)("checked",t.destinationChecked),p.xp6(2),p.hij(" ",p.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),p.xp6(3),p.Oqu(p.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),p.xp6(3),p.hij(" ",p.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),p.xp6(2),p.Q6J("ngIf",!t.loading)}}let ts=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c){this.dialogRef=t,this.data=e,this.tableConfigService=i,this.resourcesManager=s,this.tasksManager=a,this.serviceManager=n,this.translate=l,this.notificator=o,this.cd=c,this.loading=!1,this.dataSource=new ie.by(this.data.resource),this.selected=new _t.Ov(!0,[...this.dataSource.data]),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=yt.$V}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}remove(){this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(t=>{t.forEach(t=>{this.tasksManager.deleteTaskResultById({taskResultId:t.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(t=>{t.forEach(t=>{this.serviceManager.removeDestination(this.serviceId,this.facilityId,t.destination,t.type).subscribe()})}),this.selected.selected.forEach(t=>{this.resourcesManager.removeService(t.id,this.serviceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)})}cancel(){this.dialogRef.close(!1)}disableCheckboxes(t){t&&this.checkboxesDisabled&&this.changeCheckboxes(!0),t||this.checkboxesDisabled||this.changeCheckboxes(!1)}changeCheckboxes(t){this.checkboxesDisabled=!t,this.taskChecked=t,this.taskResultsChecked=t,this.destinationChecked=t,this.cd.detectChanges()}change(t){switch(t.source.id){case"task":this.taskChecked=t.checked;break;case"taskResults":this.taskResultsChecked=t.checked;break;case"destination":this.destinationChecked=t.checked}}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(yt.dB),p.Y36(c.xk),p.Y36(c.Ob),p.Y36(c.KK),p.Y36(E.sK),p.Y36(u.V6),p.Y36(p.sBO))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,$i,1,0,"mat-spinner",1),p.YNc(5,Xi,18,21,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.cancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.remove()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading||0===e.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY,nt.oG,T.gM,Gi.C],pipes:[E.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t})();function es(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function is(t,e){1&t&&(p.TgZ(0,"div",7),p.TgZ(1,"div",8),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&t&&(p.xp6(2),p.hij(" ",p.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}let ss=(()=>{class t{constructor(t,e,i,s,a){this.dialogRef=t,this.data=e,this.tasksManager=i,this.translate=s,this.notificator=a,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.taskId=this.data.taskId}remove(){this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(g.so),p.Y36(g.WI),p.Y36(c.Ob),p.Y36(E.sK),p.Y36(u.V6))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div"),p.YNc(4,es,1,0,"mat-spinner",1),p.YNc(5,is,4,3,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return e.cancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return e.remove()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),p.xp6(2),p.Tol(e.theme),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),p.xp6(2),p.Q6J("disabled",e.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[g.uh,s.O5,g.H8,b.lW,S.$g,g.xY],pipes:[E.X$],styles:[""]}),t})();var as=i(8055);let ns=(()=>{class t{transform(t){return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=p.Yjl({name:"serviceStateBlockedToString",type:t,pure:!0}),t})();function ls(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",17),p.TgZ(1,"mat-checkbox",18),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e&&i.masterToggle(),i.selectionChange.emit()}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function os(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",19),p.TgZ(1,"mat-checkbox",20),p.NdJ("click",function(t){return t.stopPropagation()})("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e&&s.selection.toggle(i),s.selectionChange.emit()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("checked",i.selection.isSelected(t))("aria-label",i.checkboxLabel(t))}}function cs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")))}function rs(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(t.task.id)}}function us(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1,"0"),p.qZA())}function ds(t,e){if(1&t&&(p.TgZ(0,"td",19),p.YNc(1,rs,2,1,"div",22),p.YNc(2,us,2,0,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task),p.xp6(1),p.Q6J("ngIf",!t.task)}}function hs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")))}function ps(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.service.name)}}function gs(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")))}function fs(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.status)}}function ms(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")))}function Ss(t,e){if(1&t&&(p.TgZ(0,"td",23),p._uU(1),p.ALo(2,"serviceStateBlockedToString"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.lcZ(2,1,t))}}function As(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")))}function Ts(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.task.startTime,"d.M.y H:mm:ss"))}}function Is(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET"),""))}function bs(t,e){if(1&t&&(p.TgZ(0,"td",23),p.YNc(1,Ts,3,4,"div",22),p.YNc(2,Is,3,3,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task&&t.task.startTime),p.xp6(1),p.Q6J("ngIf",!t.task||!t.task.startTime)}}function Es(t,e){1&t&&(p.TgZ(0,"th",21),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")))}function Cs(t,e){if(1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=p.oxw().$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.task.endTime,"d.M.y H:mm:ss"))}}function Zs(t,e){1&t&&(p.TgZ(0,"div"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function ys(t,e){if(1&t&&(p.TgZ(0,"td",23),p.YNc(1,Cs,3,4,"div",22),p.YNc(2,Zs,3,3,"div",22),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngIf",t.task&&t.task.endTime),p.xp6(1),p.Q6J("ngIf",!t.task||!t.task.endTime)}}function _s(t,e){1&t&&p._UZ(0,"tr",24)}const Ls=function(t,e){return["/facilities",t,"services-status",e]};function vs(t,e){if(1&t&&p._UZ(0,"tr",25),2&t){const t=e.$implicit,i=p.oxw();p.ekj("disable-outline",i.disableRouting||!t.task)("make-yellow","WARNING"===t.status)("make-green","DONE"===t.status)("make-red","GENERROR"===t.status||"SENDERROR"===t.status||"ERROR"===t.status)("cursor-pointer",!i.disableRouting&&null!==t.task),p.Q6J("routerLink",i.disableRouting||null===t.task?null:p.WLB(12,Ls,t.facility.id,t.taskId))("perunWebAppsMiddleClickRouterLink",i.disableRouting||null===t.task?null:p.WLB(15,Ls,t.facility.id,t.taskId))}}function xs(t,e){1&t&&(p.TgZ(0,"app-alert",26),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Os(t,e){1&t&&(p.TgZ(0,"app-alert",26),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}let Ds=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.disableRouting=!0,this.page=new p.vpe,this.selectionChange=new p.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"task.id"!==t)),this.dataSource=new ie.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=(t,e)=>{const i=e.trim().toLowerCase(),s=t=>{let e="";return Object.values(t).forEach(t=>{"object"!=typeof t?e=e+" "+t:null!==t&&(e=e+" "+s(t))}),e.trim().toLowerCase()};return s(t).includes(i)},this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"task.id":return t.task?t.task.id.toString():t[e];case"service.name":return t.service.name;case"status":return t.status;case"blocked":return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return t.task&&t.task.startTime?(0,s.p6)(t.task.startTime,"d.M.y H:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?(0,s.p6)(t.task.endTime,"d.M.y H:mm:ss","en"):t[e];default:return t[e]}}getSortDataForColumn(t,e){switch(e){case"task.id":return t.task?t.task.id.toString():t[e];case"service.name":return t.service.name;case"status":return t.status;case"blocked":return t.blockedOnFacility?"BLOCKED":t.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return t.task&&t.task.startTime?(0,s.p6)(t.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];case"task.endTime":return t.task&&t.task.endTime?(0,s.p6)(t.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):t[e];default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.service.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page",selectionChange:"selectionChange"},features:[p.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,ls,2,3,"th",4),p.YNc(5,os,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,cs,3,3,"th",7),p.YNc(8,ds,3,2,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,hs,3,3,"th",7),p.YNc(11,ps,2,1,"td",9),p.BQk(),p.ynx(12,10),p.YNc(13,gs,3,3,"th",7),p.YNc(14,fs,2,1,"td",9),p.BQk(),p.ynx(15,11),p.YNc(16,ms,3,3,"th",7),p.YNc(17,Ss,3,3,"td",9),p.BQk(),p.ynx(18,12),p.YNc(19,As,3,3,"th",7),p.YNc(20,bs,3,2,"td",9),p.BQk(),p.ynx(21,13),p.YNc(22,Es,3,3,"th",7),p.YNc(23,ys,3,2,"td",9),p.BQk(),p.YNc(24,_s,1,0,"tr",14),p.YNc(25,vs,1,18,"tr",15),p.qZA(),p.qZA(),p.qZA(),p.YNc(26,xs,3,3,"app-alert",16),p.YNc(27,Os,3,3,"app-alert",16)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.servicesStatus.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(22),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.servicesStatus.length),p.xp6(1),p.Q6J("ngIf",0===e.servicesStatus.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,ie.XQ,ie.Gk,a.rH,De.YH,Re.w],pipes:[E.X$,ns,s.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Rs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",11),p.NdJ("click",function(){return p.CHM(t),p.oxw().forcePropagation()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function Ns(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",11),p.NdJ("click",function(){return p.CHM(t),p.oxw().allow()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.disableAllowButton),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function ws(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(t),p.oxw().block()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",0===t.selected.selected.length||t.disableBlockButton),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function ks(t,e){if(1&t&&(p.TgZ(0,"button",13),p.ALo(1,"translate"),p._uU(2),p.ALo(3,"translate"),p.qZA()),2&t){const t=p.oxw(),e=p.MAs(10);p.s9C("matTooltip",p.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),p.Q6J("matTooltipDisabled",!t.disableRemoveButton)("disabled",t.disableRemoveButton)("matMenuTriggerFor",e),p.xp6(2),p.hij(" ",p.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ys(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",7),p.NdJ("click",function(){return p.CHM(t),p.oxw().removeTaskResults()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function Ms(t,e){1&t&&p._UZ(0,"mat-spinner",14)}function Fs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-services-status-list",15),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)})("selectionChange",function(){return p.CHM(t),p.oxw().selectionChanged()}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("servicesStatus",t.servicesStates)("selection",t.selected)("disableRouting",!t.routeAuth)}}let qs=(()=>{class t{constructor(t,e,i,s,a,n,l,o,c,r){this.route=t,this.tasksManager=e,this.tableConfigService=i,this.servicesManager=s,this.notificator=a,this.translate=n,this.authResolver=l,this.facilityManager=o,this.resourcesManager=c,this.dialog=r,this.servicesStates=[],this.selected=new _t.Ov(!0,[]),this.filterValue="",this.tableId=yt.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(t=>this.successFPMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(t=>this.successAllowMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(t=>this.successBlockMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(t=>this.successDeleteMessage=t),n.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(t=>this.allreadyDeletedMessage=t)}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=parseInt(t.facilityId,10),this.facility={id:this.facilityId,beanName:"Facility"},this.refreshTable()})}forcePropagation(){for(const t of this.selected.selected)this.servicesManager.forceServicePropagation(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successFPMessage)})}allow(){for(const t of this.selected.selected)this.servicesManager.unblockServiceOnFacility(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successAllowMessage)})}block(){for(const t of this.selected.selected)this.servicesManager.blockServiceOnFacility(t.service.id,t.facility.id).subscribe(()=>{this.refreshTable(),this.notificator.showSuccess(this.successBlockMessage)})}removeTaskResults(){this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(t=>{const e=(0,r.kZ)();e.width="600px",e.data={theme:"facility-theme",taskResults:t},this.dialog.open(Pi,e)})}removeServiceFromFacility(){this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(t=>{const e=(0,r.kZ)();e.width="600px",this.taskId=this.taskIsNull?null:this.selected.selected[0].task.id,0===t.length?(e.data={theme:"facility-theme",taskId:this.taskId},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.disableRemoveButton=!0,this.refreshTable())})):this.resourcesManager.getRichResourcesByIds(t.map(t=>t.id)).subscribe(t=>{e.data={theme:"facility-theme",taskId:this.taskId,serviceId:this.selected.selected[0].service.id,facilityId:this.selected.selected[0].facility.id,resource:t},this.dialog.open(ts,e).afterClosed().subscribe(t=>{t&&(this.disableRemoveButton=!0,this.refreshTable())})})})}refreshTable(){this.loading=!0,this.tasksManager.getFacilityServicesState(this.facilityId).subscribe(t=>{this.servicesStates=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}selectionChanged(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);for(const t of this.selected.selected)t.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.Ob),p.Y36(yt.dB),p.Y36(c.KK),p.Y36(u.V6),p.Y36(E.sK),p.Y36(u.x4),p.Y36(c.IQ),p.Y36(c.xk),p.Y36(g.uw))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.YNc(5,Rs,3,4,"button",2),p.YNc(6,Ns,3,4,"button",2),p.YNc(7,ws,3,4,"button",3),p.YNc(8,ks,4,9,"button",4),p.TgZ(9,"mat-menu",null,5),p.YNc(11,Ys,3,3,"button",6),p.TgZ(12,"button",7),p.NdJ("click",function(){return e.removeServiceFromFacility()}),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.qZA(),p.TgZ(15,"perun-web-apps-immediate-filter",8),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(16,Ms,1,0,"mat-spinner",9),p.YNc(17,Fs,1,5,"perun-web-apps-services-status-list",10),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),p.xp6(3),p.Q6J("ngIf",!e.loading&&e.propagationAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.allowAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.blockAuth),p.xp6(1),p.Q6J("ngIf",!e.loading&&e.deleteAuth),p.xp6(3),p.Q6J("ngIf",!e.taskIsNull),p.xp6(2),p.Oqu(p.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),p.xp6(2),p.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[Qt.t,s.O5,as.VK,as.OP,zt.L,b.lW,T.gM,as.p6,S.$g,Ds],pipes:[E.X$],styles:[""]}),t})();var Us=i(91058),Js=i(86593);function Qs(t,e){1&t&&p._UZ(0,"mat-spinner",6)}function zs(t,e){1&t&&(p.TgZ(0,"app-alert",7),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}const Hs=function(){return["id","name"]};function Vs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"app-users-list",8),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("pageSize",t.pageSize)("users",t.users)("displayedColumns",p.DdM(5,Hs))("disableRouting",!t.routeAuth)("filter",t.filterValue)}}let Bs=(()=>{class t{constructor(t,e,i,s){this.route=t,this.facilityService=e,this.tableConfigService=i,this.authResolver=s,this.loading=!1,this.filterValue="",this.tableId=yt.z6}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.refreshTable()})}refreshTable(){this.loading=!0,this.facilityService.getAssignedUsers(this.facilityId).subscribe(t=>{this.users=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(c.IQ),p.Y36(yt.dB),p.Y36(u.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-allowed-users"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"perun-web-apps-refresh-button",1),p.NdJ("refresh",function(){return e.refreshTable()}),p.qZA(),p.TgZ(5,"perun-web-apps-debounce-filter",2),p.NdJ("filter",function(t){return e.applyFilter(t)}),p.qZA(),p.YNc(6,Qs,1,0,"mat-spinner",3),p.YNc(7,zs,3,3,"app-alert",4),p.YNc(8,Vs,1,6,"app-users-list",5),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,5,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),p.xp6(3),p.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading&&(void 0===e.users||0===e.users.length)),p.xp6(1),p.Q6J("ngIf",!e.loading&&0!==e.users.length))},directives:[Qt.t,Us.P,s.O5,S.$g,Re.w,Js.C],pipes:[E.X$],styles:[""]}),t})();var Ps=i(95142);function Gs(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"th",19),p.TgZ(1,"mat-checkbox",20),p.NdJ("change",function(e){p.CHM(t);const i=p.oxw();return e?i.masterToggle():null}),p.qZA(),p.qZA()}if(2&t){const t=p.oxw();p.xp6(1),p.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function $s(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"td",21),p.TgZ(1,"mat-checkbox",22),p.NdJ("change",function(e){const i=p.CHM(t).$implicit,s=p.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),p.qZA(),p.qZA()}if(2&t){const t=e.$implicit,i=p.oxw();p.xp6(1),p.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function js(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function Ks(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.id)}}function Ws(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function Xs(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.destination.destination)}}function ta(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function ea(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.destination.type.toUpperCase())}}function ia(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function sa(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.service.name)}}function aa(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function na(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.status)}}function la(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function oa(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.ALo(2,"date"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(p.xi3(2,1,t.timestamp,"d.M.y H:mm:ss"))}}function ca(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function ra(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.returnCode)}}function ua(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function da(t,e){if(1&t&&(p.TgZ(0,"span"),p._uU(1),p._UZ(2,"br"),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t)}}function ha(t,e){if(1&t&&(p.TgZ(0,"td",21),p.YNc(1,da,3,1,"span",24),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Q6J("ngForOf",t.standardMessage.split("\n"))}}function pa(t,e){1&t&&(p.TgZ(0,"th",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function ga(t,e){if(1&t&&(p.TgZ(0,"td",21),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.xp6(1),p.Oqu(t.errorMessage)}}function fa(t,e){1&t&&p._UZ(0,"tr",25)}function ma(t,e){if(1&t&&p._UZ(0,"tr",26),2&t){const t=e.$implicit;p.ekj("greenTableItem","DONE"===t.status)("redTableItem","ERROR"===t.status||"DENIED"===t.status)("yellowTableItem","WARNING"===t.status)}}function Sa(t,e){1&t&&(p.TgZ(0,"app-alert",27),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Aa(t,e){1&t&&(p.TgZ(0,"app-alert",27),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}let Ta=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.pageSizeOptions=r.f7,this.taskResults=[],this.selection=new _t.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new p.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new ie.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"destination":return t.destination.destination;case"type":return t.destination.type;case"service":return t.service.name;case"status":return t.status;case"time":return(0,s.p6)(t.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return t.returnCode.toString();case"standardMessage":return t.standardMessage;case"errorMessage":return t.errorMessage;default:return""}}getSortDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"destination":return t.destination.destination;case"type":return t.destination.type;case"service":return t.service.name;case"status":return t.status;case"time":return(0,s.p6)(t.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return t.returnCode.toString();case"standardMessage":return t.standardMessage;case"errorMessage":return t.errorMessage;default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this))}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(u.x4),p.Y36(u.UA))},t.\u0275cmp=p.Xpm({type:t,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(t,e){if(1&t&&(p.Gf(xe.YE,7),p.Gf(r.l9,7)),2&t){let t;p.iGM(t=p.CRH())&&(e.matSort=t.first),p.iGM(t=p.CRH())&&(e.child=t.first)}},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[p.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"perun-web-apps-table-wrapper",1),p.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),p.TgZ(2,"table",2),p.ynx(3,3),p.YNc(4,Gs,2,3,"th",4),p.YNc(5,$s,2,2,"td",5),p.BQk(),p.ynx(6,6),p.YNc(7,js,3,3,"th",7),p.YNc(8,Ks,2,1,"td",5),p.BQk(),p.ynx(9,8),p.YNc(10,Ws,3,3,"th",7),p.YNc(11,Xs,2,1,"td",5),p.BQk(),p.ynx(12,9),p.YNc(13,ta,3,3,"th",7),p.YNc(14,ea,2,1,"td",5),p.BQk(),p.ynx(15,10),p.YNc(16,ia,3,3,"th",7),p.YNc(17,sa,2,1,"td",5),p.BQk(),p.ynx(18,11),p.YNc(19,aa,3,3,"th",7),p.YNc(20,na,2,1,"td",5),p.BQk(),p.ynx(21,12),p.YNc(22,la,3,3,"th",7),p.YNc(23,oa,3,4,"td",5),p.BQk(),p.ynx(24,13),p.YNc(25,ca,3,3,"th",7),p.YNc(26,ra,2,1,"td",5),p.BQk(),p.ynx(27,14),p.YNc(28,ua,3,3,"th",7),p.YNc(29,ha,2,1,"td",5),p.BQk(),p.ynx(30,15),p.YNc(31,pa,3,3,"th",7),p.YNc(32,ga,2,1,"td",5),p.BQk(),p.YNc(33,fa,1,0,"tr",16),p.YNc(34,ma,1,6,"tr",17),p.qZA(),p.qZA(),p.qZA(),p.YNc(35,Sa,3,3,"app-alert",18),p.YNc(36,Aa,3,3,"app-alert",18)),2&t&&(p.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.taskResults.length),p.xp6(1),p.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),p.xp6(1),p.Q6J("dataSource",e.dataSource),p.xp6(31),p.Q6J("matHeaderRowDef",e.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",e.displayedColumns),p.xp6(1),p.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.taskResults.length),p.xp6(1),p.Q6J("ngIf",0===e.taskResults.length))},directives:[Oe.l,ie.BZ,xe.YE,ie.w1,ie.fO,ie.Dz,ie.as,ie.nj,s.O5,ie.ge,nt.oG,ie.ev,xe.nU,s.sg,ie.XQ,ie.Gk,Re.w],pipes:[E.X$,s.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),t})();function Ia(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",8),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).removeTaskResult()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("disabled",0===t.selection.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function ba(t,e){1&t&&p._UZ(0,"mat-spinner",9)}function Ea(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-task-results-list",10),p.NdJ("page",function(e){return p.CHM(t),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw(2);p.Q6J("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("pageSize",t.pageSize)("selection",t.selection)("taskResults",t.taskResults)}}function Ca(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"h1",1),p._uU(2),p.ALo(3,"translate"),p.TgZ(4,"span",2),p._uU(5),p.qZA(),p.qZA(),p.TgZ(6,"perun-web-apps-refresh-button",3),p.NdJ("refresh",function(){return p.CHM(t),p.oxw().refreshTable()}),p.qZA(),p.YNc(7,Ia,3,4,"button",4),p.TgZ(8,"perun-web-apps-immediate-filter",5),p.NdJ("filter",function(e){return p.CHM(t),p.oxw().applyFilter(e)}),p.qZA(),p.YNc(9,ba,1,0,"mat-spinner",6),p.YNc(10,Ea,1,5,"perun-web-apps-task-results-list",7),p.qZA()}if(2&t){const t=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",t.task.service.name," "),p.xp6(3),p.hij(" \xa0#",t.task.id," "),p.xp6(2),p.Q6J("ngIf",!t.loading&&t.removeAuth),p.xp6(1),p.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),p.xp6(1),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading)}}let Za=(()=>{class t{constructor(t,e,i,s,a){this.route=t,this.tableConfigService=e,this.taskManager=i,this.authResolver=s,this.dialog=a,this.loading=!1,this.filterValue="",this.selection=new _t.Ov(!0,[]),this.tableId=yt.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facility={id:parseInt(t.facilityId,10),beanName:"Facility"},this.removeAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.removeAuth||(this.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),this.route.params.subscribe(t=>{this.taskId=t.taskId,this.taskManager.getTaskById(this.taskId).subscribe(t=>{this.task=t,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(t=>{this.selection.clear(),this.taskResults=t,this.loading=!1})}removeTaskResult(){const t=(0,r.kZ)();t.width="600px",t.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(Pi,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(p.Y36(a.gz),p.Y36(yt.dB),p.Y36(c.Ob),p.Y36(u.x4),p.Y36(g.uw))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-facility-task-results"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"page-subtitle"],[1,"text-muted"],[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,"displayedColumns","filterValue","pageSize","selection","taskResults","page",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","pageSize","selection","taskResults","page"]],template:function(t,e){1&t&&p.YNc(0,Ca,11,9,"div",0),2&t&&p.Q6J("ngIf",!e.loading)},directives:[s.O5,Qt.t,zt.L,b.lW,S.$g,Ta],pipes:[E.X$],styles:[""]}),t})();var ya=i(53134);const _a=[{path:"",component:n.P},{path:":facilityId",component:x,children:[{path:"",component:N,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:j,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:w.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:Bs,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:k.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:qs,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:Za,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:bt,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:Kt,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:$e,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:Ai,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:F,children:[{path:"",component:J,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:me,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:Zt,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:wi,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:di,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:Y.b,children:[{path:"",component:M.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:X.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:tt.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Yi.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:Ps.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:ya.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:K.t,children:[{path:"",component:W.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:ki.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let La=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[a.Bz.forChild(_a)],a.Bz]}),t})();var va=i(28780),xa=i(22727),Oa=i(6363);let Da=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({providers:[at.dp],imports:[[s.ez,La,va.m,xa.r,hi.ez,at.d4,Oa.UsersModule]]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/300-es5.380c59923665a5c71713.js b/dist/apps/admin-gui/300-es5.380c59923665a5c71713.js new file mode 100644 index 000000000..6b130488c --- /dev/null +++ b/dist/apps/admin-gui/300-es5.380c59923665a5c71713.js @@ -0,0 +1 @@ +!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var a,n,s=[],l=!0,r=!1;try{for(i=i.call(e);!(l=(a=i.next()).done)&&(s.push(a.value),!t||s.length!==t);l=!0);}catch(o){r=!0,n=o}finally{try{l||null==i.return||i.return()}finally{if(r)throw n}}return s}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=a(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,r=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){o=!0,l=e},f:function(){try{r||null==i.return||i.return()}finally{if(o)throw l}}}}function a(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}},{key:"addHost",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(Zt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"removeHost",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(Rt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-hosts"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.YNc(5,jt,3,3,"button",2),v.YNc(6,Kt,3,4,"button",3),v.TgZ(7,"perun-web-apps-immediate-filter",4),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(8,Wt,1,0,"mat-spinner",5),v.YNc(9,Xt,1,7,"app-hosts-list",6),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),v.xp6(3),v.Q6J("ngIf",!t.loading&&t.addAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.removeAuth),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Pe.t,o.O5,Ge.L,Z.lW,y.$g,$t],pipes:[_.X$],styles:[""]}),e}();function ti(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",14),v.TgZ(1,"mat-checkbox",15),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function ii(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",16),v.TgZ(1,"mat-checkbox",17),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function ai(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function ni(e,t){if(1&e&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i[1].id)}}function si(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function li(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.ALo(2,"userFullName"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,i[1]))}}function ri(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function oi(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i[0].description)}}function ci(e,t){1&e&&v._UZ(0,"tr",20)}function ui(e,t){1&e&&v._UZ(0,"tr",21)}function di(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function hi(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}var fi=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.bansOnFacilitiesWithUsers=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.page=new v.vpe,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"userId"!==e})),this.dataSource=new rt.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"userId":return e[1].id.toString();case"reason":return e[0].description;case"name":return(0,p.hu)(e[1]);default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e[0].userId+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[v.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,ti,2,3,"th",4),v.YNc(5,ii,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,ai,3,3,"th",7),v.YNc(8,ni,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,si,3,3,"th",7),v.YNc(11,li,3,3,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,ri,3,3,"th",7),v.YNc(14,oi,2,1,"td",9),v.BQk(),v.YNc(15,ci,1,0,"tr",11),v.YNc(16,ui,1,0,"tr",12),v.qZA(),v.qZA(),v.qZA(),v.YNc(17,di,3,3,"app-alert",13),v.YNc(18,hi,3,3,"app-alert",13)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.bansOnFacilitiesWithUsers.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.bansOnFacilitiesWithUsers.length),v.xp6(1),v.Q6J("ngIf",0===t.bansOnFacilitiesWithUsers.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$,ge.d],styles:[""]}),e}();function pi(e,t){1&e&&v._UZ(0,"mat-spinner",5)}function gi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-perun-web-apps-blacklist-list",6),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("bansOnFacilitiesWithUsers",a.bansOnFacilitiesWithUsers)("selection",a.selected)}}var mi=function(){var e=function(){function e(t,i,a,n){s(this,e),this.facilitiesManager=t,this.usersManager=i,this.tableConfigService=a,this.route=n,this.bansOnFacilitiesWithUsers=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.NG}return r(e,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.facilitiesManager.getBansForFacility(t.facilityId).subscribe(function(t){var a,n=i(t);try{for(n.s();!(a=n.n()).done;){var s=a.value,l=void 0;e.usersManager.getUserById(s.userId).subscribe(function(e){l=e}),e.bansOnFacilitiesWithUsers.push([s,l])}}catch(r){n.e(r)}finally{n.f()}e.selected.clear(),e.loading=!1})})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(f.IQ),v.Y36(f.Fv),v.Y36(xe.dB),v.Y36(c.gz))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-immediate-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.ALo(6,"translate"),v.qZA(),v.YNc(7,pi,1,0,"mat-spinner",3),v.YNc(8,gi,1,4,"app-perun-web-apps-blacklist-list",4),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),v.xp6(3),v.Q6J("placeholder",v.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),v.xp6(2),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Pe.t,Ge.L,o.O5,y.$g,fi],pipes:[_.X$],styles:[""]}),e}(),Si=l(10896),vi=l(13572),Ai=l(40695),Ti=l(41186),Ii=["list"];function yi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-attributes-list",6,7),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("attributes",a.attributes)("selection",a.selected)}}var bi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialog=t,this.attributesManager=i,this.facilityManager=a,this.tableConfigService=n,this.route=l,this.attributes=[],this.selected=new Oe.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=xe.rF}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(function(t){e.hostId=t.hostId,e.facilityManager.getHostById(e.hostId).subscribe(function(t){e.host=t}),e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(function(t){e.attributes=(0,p.MX)(t),e.selected.clear(),e.loading=!1})}},{key:"onSave",value:function(){var e=this;this.list.updateMapAttributes();var t=(0,p.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(m.wA,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"addAttribute",value:function(){var e=this,t=(0,p.kZ)();t.width="1050px",t.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(Ai.n,t).afterClosed().subscribe(function(t){"saved"===t&&e.refreshTable()})}},{key:"removeAttribute",value:function(){var e=this,t=(0,p.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(vi.k,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.H8),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,t){var i;(1&e&&v.Gf(Ii,5),2&e)&&(v.iGM(i=v.CRH())&&(t.list=i.first))},decls:15,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"button",2),v.NdJ("click",function(){return t.addAttribute()}),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.TgZ(8,"button",3),v.NdJ("click",function(){return t.onSave()}),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.TgZ(11,"button",4),v.NdJ("click",function(){return t.removeAttribute()}),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.YNc(14,yi,2,3,"perun-web-apps-attributes-list",5),v.qZA()),2&e&&(v.xp6(2),v.AsE(" ",v.lcZ(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",t.host.hostname,""),v.xp6(4),v.hij(" ",v.lcZ(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),v.xp6(2),v.Q6J("disabled",0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),v.xp6(2),v.Q6J("disabled",0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),v.xp6(2),v.Q6J("ngIf",!t.loading))},directives:[Pe.t,Z.lW,o.O5,Ti.p],pipes:[_.X$],styles:[""]}),e}();function Ei(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",14),v.TgZ(1,"mat-checkbox",15),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function Ci(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",16),v.TgZ(1,"mat-checkbox",17),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function Zi(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function _i(e,t){if(1&e&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.id)}}function ki(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function Li(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.name)}}function xi(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function Oi(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.description)}}function Di(e,t){1&e&&v._UZ(0,"tr",20)}function Ri(e,t){1&e&&v._UZ(0,"tr",21)}function Ni(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function wi(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}var Yi=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.securityTeams=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new v.vpe,this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new rt.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"description":return e.description;default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-security-teams-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[v.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,Ei,2,3,"th",4),v.YNc(5,Ci,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,Zi,3,3,"th",7),v.YNc(8,_i,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,ki,3,3,"th",7),v.YNc(11,Li,2,1,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,xi,3,3,"th",7),v.YNc(14,Oi,2,1,"td",9),v.BQk(),v.YNc(15,Di,1,0,"tr",11),v.YNc(16,Ri,1,0,"tr",12),v.qZA(),v.qZA(),v.qZA(),v.YNc(17,Ni,3,3,"app-alert",13),v.YNc(18,wi,3,3,"app-alert",13)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.securityTeams.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.securityTeams.length),v.xp6(1),v.Q6J("ngIf",0===t.securityTeams.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$],styles:[""]}),e}();function Mi(e,t){1&e&&v._UZ(0,"mat-spinner",5)}function Fi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-security-teams-list",6),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("securityTeams",a.securityTeams)("displayedColumns",a.displayedColumns)("selection",a.selected)}}var qi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialog=t,this.facilitiesManager=i,this.tableConfigService=a,this.route=n,this.authResolver=l,this.securityTeams=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.O9,this.displayedColumns=[]}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilitiesManager.getFacilityById(t.facilityId).subscribe(function(t){e.facility=t,e.refreshTable()})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(function(t){e.securityTeams=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"addSecurityTeam",value:function(){}},{key:"removeSecurityTeam",value:function(){}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-immediate-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(6,Mi,1,0,"mat-spinner",3),v.YNc(7,Fi,1,5,"app-security-teams-list",4),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),v.xp6(3),v.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Pe.t,Ge.L,o.O5,y.$g,Yi],pipes:[_.X$],styles:[""]}),e}(),Ui=l(64359),Ji=l(8705);function Qi(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function zi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function Hi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",i.id," ")}}function Vi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function Bi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",i.destination.destination," ")}}function Pi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function Gi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",v.xi3(2,1,i.timestamp,"d.M.y H:mm:ss")," ")}}function $i(e,t){1&e&&v._UZ(0,"tr",19)}function ji(e,t){1&e&&v._UZ(0,"tr",20)}function Ki(e,t){if(1&e&&(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,zi,3,3,"th",11),v.YNc(10,Hi,2,1,"td",12),v.BQk(),v.ynx(11,13),v.YNc(12,Vi,3,3,"th",11),v.YNc(13,Bi,2,1,"td",12),v.BQk(),v.ynx(14,14),v.YNc(15,Pi,3,3,"th",11),v.YNc(16,Gi,3,4,"td",12),v.BQk(),v.YNc(17,$i,1,0,"tr",15),v.YNc(18,ji,1,0,"tr",16),v.qZA(),v.qZA()),2&e){var i=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),v.xp6(2),v.Q6J("dataSource",i.dataSource),v.xp6(10),v.Q6J("matHeaderRowDef",i.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",i.displayedColumns)}}var Wi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialogRef=t,this.data=i,this.taskManager=a,this.notificator=n,this.translate=l,this.loading=!1,this.dataSource=new rt.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}return r(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}},{key:"deleteResults",value:function(){var e=this;if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(function(){e.deleteResults()},function(){return e.loading=!1})}},{key:"onDelete",value:function(){this.deleteResults()}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(f.Ob),v.Y36(g.V6),v.Y36(_.sK))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["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&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,Qi,1,0,"mat-spinner",1),v.YNc(5,Ki,19,9,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.onDelete()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,rt.BZ,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,rt.ge,rt.ev,rt.XQ,rt.Gk],pipes:[_.X$,o.uU],styles:[""]}),e}(),Xi=l(88884);function ea(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function ta(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"mat-checkbox",13),v.NdJ("change",function(e){return v.CHM(i),v.oxw(2).change(e)}),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.taskChecked),v.xp6(2),v.hij(" ",v.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function ia(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"mat-checkbox",14),v.NdJ("change",function(e){return v.CHM(i),v.oxw(2).change(e)}),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.taskResultsChecked),v.xp6(2),v.hij(" ",v.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function aa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-resources-list",15),v.NdJ("allSelected",function(e){return v.CHM(i),v.oxw(2).disableCheckboxes(e)})("page",function(e){return v.CHM(i),v.oxw(2).pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("pageSize",a.pageSize)("disableRouting",!0)("resources",a.resources)("selection",a.selected)("displayedColumns",a.displayedColumns)}}function na(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"div",7),v.TgZ(1,"p"),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div"),v.YNc(5,ta,4,9,"mat-checkbox",8),v.YNc(6,ia,4,9,"mat-checkbox",9),v.TgZ(7,"mat-checkbox",10),v.NdJ("change",function(e){return v.CHM(i),v.oxw().change(e)}),v.ALo(8,"translate"),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.qZA(),v.TgZ(11,"p"),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.TgZ(14,"div",11),v._uU(15),v.ALo(16,"translate"),v.qZA(),v.YNc(17,aa,1,5,"perun-web-apps-resources-list",12),v.qZA()}if(2&e){var a=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),v.xp6(3),v.Q6J("ngIf",null!==a.taskId),v.xp6(1),v.Q6J("ngIf",null!==a.taskId),v.xp6(1),v.s9C("matTooltip",v.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.destinationChecked),v.xp6(2),v.hij(" ",v.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),v.xp6(3),v.Oqu(v.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),v.xp6(2),v.Q6J("ngIf",!a.loading)}}var sa=function(){var t=function(){function t(i,a,n,l,r,o,c,u,d){s(this,t),this.dialogRef=i,this.data=a,this.tableConfigService=n,this.resourcesManager=l,this.tasksManager=r,this.serviceManager=o,this.translate=c,this.notificator=u,this.cd=d,this.loading=!1,this.dataSource=new rt.by(this.data.resource),this.selected=new Oe.Ov(!0,e(this.dataSource.data)),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=xe.$V}return r(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}},{key:"remove",value:function(){var e=this;this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(function(t){t.forEach(function(t){e.tasksManager.deleteTaskResultById({taskResultId:t.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(function(t){t.forEach(function(t){e.serviceManager.removeDestination(e.serviceId,e.facilityId,t.destination,t.type).subscribe()})}),this.selected.selected.forEach(function(t){e.resourcesManager.removeService(t.id,e.serviceId).subscribe(function(){e.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"disableCheckboxes",value:function(e){e&&this.checkboxesDisabled&&this.changeCheckboxes(!0),e||this.checkboxesDisabled||this.changeCheckboxes(!1)}},{key:"changeCheckboxes",value:function(e){this.checkboxesDisabled=!e,this.taskChecked=e,this.taskResultsChecked=e,this.destinationChecked=e,this.cd.detectChanges()}},{key:"change",value:function(e){switch(e.source.id){case"task":this.taskChecked=e.checked;break;case"taskResults":this.taskResultsChecked=e.checked;break;case"destination":this.destinationChecked=e.checked}}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(v.Y36(A.so),v.Y36(A.WI),v.Y36(xe.dB),v.Y36(f.xk),v.Y36(f.Ob),v.Y36(f.KK),v.Y36(_.sK),v.Y36(g.V6),v.Y36(v.sBO))},t.\u0275cmp=v.Xpm({type:t,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,ea,1,0,"mat-spinner",1),v.YNc(5,na,18,21,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.cancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.remove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading||0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,ue.oG,E.gM,Xi.C],pipes:[_.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t}();function la(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function ra(e,t){1&e&&(v.TgZ(0,"div",7),v.TgZ(1,"div",8),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.qZA()),2&e&&(v.xp6(2),v.hij(" ",v.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}var oa=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialogRef=t,this.data=i,this.tasksManager=a,this.translate=n,this.notificator=l,this.loading=!1}return r(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskId=this.data.taskId}},{key:"remove",value:function(){var e=this;this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(function(){e.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(f.Ob),v.Y36(_.sK),v.Y36(g.V6))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,la,1,0,"mat-spinner",1),v.YNc(5,ra,4,3,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.cancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.remove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY],pipes:[_.X$],styles:[""]}),e}(),ca=l(8055),ua=function(){var e=function(){function e(){s(this,e)}return r(e,[{key:"transform",value:function(e){return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=v.Yjl({name:"serviceStateBlockedToString",type:e,pure:!0}),e}();function da(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",17),v.TgZ(1,"mat-checkbox",18),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e&&t.masterToggle(),t.selectionChange.emit()}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())("aria-label",a.checkboxLabel())}}function ha(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",19),v.TgZ(1,"mat-checkbox",20),v.NdJ("click",function(e){return e.stopPropagation()})("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e&&a.selection.toggle(t),a.selectionChange.emit()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("checked",n.selection.isSelected(a))("aria-label",n.checkboxLabel(a))}}function fa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")))}function pa(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(i.task.id)}}function ga(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1,"0"),v.qZA())}function ma(e,t){if(1&e&&(v.TgZ(0,"td",19),v.YNc(1,pa,2,1,"div",22),v.YNc(2,ga,2,0,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task),v.xp6(1),v.Q6J("ngIf",!i.task)}}function Sa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")))}function va(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.service.name)}}function Aa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")))}function Ta(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.status)}}function Ia(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")))}function ya(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.ALo(2,"serviceStateBlockedToString"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,i))}}function ba(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")))}function Ea(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.task.startTime,"d.M.y H:mm:ss"))}}function Ca(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET"),""))}function Za(e,t){if(1&e&&(v.TgZ(0,"td",23),v.YNc(1,Ea,3,4,"div",22),v.YNc(2,Ca,3,3,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task&&i.task.startTime),v.xp6(1),v.Q6J("ngIf",!i.task||!i.task.startTime)}}function _a(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")))}function ka(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.task.endTime,"d.M.y H:mm:ss"))}}function La(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function xa(e,t){if(1&e&&(v.TgZ(0,"td",23),v.YNc(1,ka,3,4,"div",22),v.YNc(2,La,3,3,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task&&i.task.endTime),v.xp6(1),v.Q6J("ngIf",!i.task||!i.task.endTime)}}function Oa(e,t){1&e&&v._UZ(0,"tr",24)}var Da=function(e,t){return["/facilities",e,"services-status",t]};function Ra(e,t){if(1&e&&v._UZ(0,"tr",25),2&e){var i=t.$implicit,a=v.oxw();v.ekj("disable-outline",a.disableRouting||!i.task)("make-yellow","WARNING"===i.status)("make-green","DONE"===i.status)("make-red","GENERROR"===i.status||"SENDERROR"===i.status||"ERROR"===i.status)("cursor-pointer",!a.disableRouting&&null!==i.task),v.Q6J("routerLink",a.disableRouting||null===i.task?null:v.WLB(12,Da,i.facility.id,i.taskId))("perunWebAppsMiddleClickRouterLink",a.disableRouting||null===i.task?null:v.WLB(15,Da,i.facility.id,i.taskId))}}function Na(e,t){1&e&&(v.TgZ(0,"app-alert",26),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function wa(e,t){1&e&&(v.TgZ(0,"app-alert",26),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}var Ya=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.disableRouting=!0,this.page=new v.vpe,this.selectionChange=new v.vpe,this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"task.id"!==e})),this.dataSource=new rt.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=function(e,t){var i=t.trim().toLowerCase();return function e(t){var i="";return Object.values(t).forEach(function(t){"object"!=typeof t?i=i+" "+t:null!==t&&(i=i+" "+e(t))}),i.trim().toLowerCase()}(e).includes(i)},this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"task.id":return e.task?e.task.id.toString():e[t];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,o.p6)(e.task.startTime,"d.M.y H:mm:ss","en"):e[t];case"task.endTime":return e.task&&e.task.endTime?(0,o.p6)(e.task.endTime,"d.M.y H:mm:ss","en"):e[t];default:return e[t]}}},{key:"getSortDataForColumn",value:function(e,t){switch(t){case"task.id":return e.task?e.task.id.toString():e[t];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,o.p6)(e.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):e[t];case"task.endTime":return e.task&&e.task.endTime?(0,o.p6)(e.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):e[t];default:return e[t]}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getSortDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.service.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page",selectionChange:"selectionChange"},features:[v.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,da,2,3,"th",4),v.YNc(5,ha,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,fa,3,3,"th",7),v.YNc(8,ma,3,2,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,Sa,3,3,"th",7),v.YNc(11,va,2,1,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,Aa,3,3,"th",7),v.YNc(14,Ta,2,1,"td",9),v.BQk(),v.ynx(15,11),v.YNc(16,Ia,3,3,"th",7),v.YNc(17,ya,3,3,"td",9),v.BQk(),v.ynx(18,12),v.YNc(19,ba,3,3,"th",7),v.YNc(20,Za,3,2,"td",9),v.BQk(),v.ynx(21,13),v.YNc(22,_a,3,3,"th",7),v.YNc(23,xa,3,2,"td",9),v.BQk(),v.YNc(24,Oa,1,0,"tr",14),v.YNc(25,Ra,1,18,"tr",15),v.qZA(),v.qZA(),v.qZA(),v.YNc(26,Na,3,3,"app-alert",16),v.YNc(27,wa,3,3,"app-alert",16)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.servicesStatus.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(22),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.servicesStatus.length),v.xp6(1),v.Q6J("ngIf",0===t.servicesStatus.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,c.rH,Yt.YH,Mt.w],pipes:[_.X$,ua,o.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}();function Ma(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",11),v.NdJ("click",function(){return v.CHM(i),v.oxw().forcePropagation()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function Fa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",11),v.NdJ("click",function(){return v.CHM(i),v.oxw().allow()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.disableAllowButton),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function qa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",12),v.NdJ("click",function(){return v.CHM(i),v.oxw().block()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.disableBlockButton),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function Ua(e,t){if(1&e&&(v.TgZ(0,"button",13),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()),2&e){var i=v.oxw(),a=v.MAs(10);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!i.disableRemoveButton)("disabled",i.disableRemoveButton)("matMenuTriggerFor",a),v.xp6(2),v.hij(" ",v.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ja(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",7),v.NdJ("click",function(){return v.CHM(i),v.oxw().removeTaskResults()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function Qa(e,t){1&e&&v._UZ(0,"mat-spinner",14)}function za(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-services-status-list",15),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)})("selectionChange",function(){return v.CHM(i),v.oxw().selectionChanged()}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("servicesStatus",a.servicesStates)("selection",a.selected)("disableRouting",!a.routeAuth)}}var Ha=function(){var e=function(){function e(t,i,a,n,l,r,o,c,u,d){var h=this;s(this,e),this.route=t,this.tasksManager=i,this.tableConfigService=a,this.servicesManager=n,this.notificator=l,this.translate=r,this.authResolver=o,this.facilityManager=c,this.resourcesManager=u,this.dialog=d,this.servicesStates=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(function(e){return h.successFPMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(function(e){return h.successAllowMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(function(e){return h.successBlockMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(function(e){return h.successDeleteMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(function(e){return h.allreadyDeletedMessage=e})}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilityId=parseInt(t.facilityId,10),e.facility={id:e.facilityId,beanName:"Facility"},e.refreshTable()})}},{key:"forcePropagation",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.forceServicePropagation(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successFPMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"allow",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.unblockServiceOnFacility(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successAllowMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"block",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.blockServiceOnFacility(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successBlockMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"removeTaskResults",value:function(){var e=this;this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(function(t){var i=(0,p.kZ)();i.width="600px",i.data={theme:"facility-theme",taskResults:t},e.dialog.open(Wi,i)})}},{key:"removeServiceFromFacility",value:function(){var e=this;this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(function(t){var i=(0,p.kZ)();i.width="600px",e.taskId=e.taskIsNull?null:e.selected.selected[0].task.id,0===t.length?(i.data={theme:"facility-theme",taskId:e.taskId},e.dialog.open(oa,i).afterClosed().subscribe(function(t){t&&(e.disableRemoveButton=!0,e.refreshTable())})):e.resourcesManager.getRichResourcesByIds(t.map(function(e){return e.id})).subscribe(function(t){i.data={theme:"facility-theme",taskId:e.taskId,serviceId:e.selected.selected[0].service.id,facilityId:e.selected.selected[0].facility.id,resource:t},e.dialog.open(sa,i).afterClosed().subscribe(function(t){t&&(e.disableRemoveButton=!0,e.refreshTable())})})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.tasksManager.getFacilityServicesState(this.facilityId).subscribe(function(t){e.servicesStates=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"selectionChanged",value:function(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);var e,t=i(this.selected.selected);try{for(t.s();!(e=t.n()).done;){e.value.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}catch(a){t.e(a)}finally{t.f()}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(f.Ob),v.Y36(xe.dB),v.Y36(f.KK),v.Y36(g.V6),v.Y36(_.sK),v.Y36(g.x4),v.Y36(f.IQ),v.Y36(f.xk),v.Y36(A.uw))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.YNc(5,Ma,3,4,"button",2),v.YNc(6,Fa,3,4,"button",2),v.YNc(7,qa,3,4,"button",3),v.YNc(8,Ua,4,9,"button",4),v.TgZ(9,"mat-menu",null,5),v.YNc(11,Ja,3,3,"button",6),v.TgZ(12,"button",7),v.NdJ("click",function(){return t.removeServiceFromFacility()}),v._uU(13),v.ALo(14,"translate"),v.qZA(),v.qZA(),v.TgZ(15,"perun-web-apps-immediate-filter",8),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(16,Qa,1,0,"mat-spinner",9),v.YNc(17,za,1,5,"perun-web-apps-services-status-list",10),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),v.xp6(3),v.Q6J("ngIf",!t.loading&&t.propagationAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.allowAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.blockAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.deleteAuth),v.xp6(3),v.Q6J("ngIf",!t.taskIsNull),v.xp6(2),v.Oqu(v.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),v.xp6(2),v.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Pe.t,o.O5,ca.VK,ca.OP,Ge.L,Z.lW,E.gM,ca.p6,y.$g,Ya],pipes:[_.X$],styles:[""]}),e}(),Va=l(91058),Ba=l(86593);function Pa(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function Ga(e,t){1&e&&(v.TgZ(0,"app-alert",7),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}var $a=function(){return["id","name"]};function ja(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-users-list",8),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("users",a.users)("displayedColumns",v.DdM(5,$a))("disableRouting",!a.routeAuth)("filter",a.filterValue)}}var Ka=function(){var e=function(){function e(t,i,a,n){s(this,e),this.route=t,this.facilityService=i,this.tableConfigService=a,this.authResolver=n,this.loading=!1,this.filterValue="",this.tableId=xe.z6}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilityId=t.facilityId,e.routeAuth=e.authResolver.isPerunAdminOrObserver(),e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilityService.getAssignedUsers(this.facilityId).subscribe(function(t){e.users=t,e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-allowed-users"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-debounce-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(6,Pa,1,0,"mat-spinner",3),v.YNc(7,Ga,3,3,"app-alert",4),v.YNc(8,ja,1,6,"app-users-list",5),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,5,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),v.xp6(3),v.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading&&(void 0===t.users||0===t.users.length)),v.xp6(1),v.Q6J("ngIf",!t.loading&&0!==t.users.length))},directives:[Pe.t,Va.P,o.O5,y.$g,Mt.w,Ba.C],pipes:[_.X$],styles:[""]}),e}(),Wa=l(95142);function Xa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",19),v.TgZ(1,"mat-checkbox",20),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function en(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",21),v.TgZ(1,"mat-checkbox",22),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function tn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function an(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.id)}}function nn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function sn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.destination.destination)}}function ln(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function rn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.destination.type.toUpperCase())}}function on(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function cn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.service.name)}}function un(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function dn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.status)}}function hn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function fn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.timestamp,"d.M.y H:mm:ss"))}}function pn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function gn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.returnCode)}}function mn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function Sn(e,t){if(1&e&&(v.TgZ(0,"span"),v._uU(1),v._UZ(2,"br"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i)}}function vn(e,t){if(1&e&&(v.TgZ(0,"td",21),v.YNc(1,Sn,3,1,"span",24),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngForOf",i.standardMessage.split("\n"))}}function An(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function Tn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.errorMessage)}}function In(e,t){1&e&&v._UZ(0,"tr",25)}function yn(e,t){if(1&e&&v._UZ(0,"tr",26),2&e){var i=t.$implicit;v.ekj("greenTableItem","DONE"===i.status)("redTableItem","ERROR"===i.status||"DENIED"===i.status)("yellowTableItem","WARNING"===i.status)}}function bn(e,t){1&e&&(v.TgZ(0,"app-alert",27),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function En(e,t){1&e&&(v.TgZ(0,"app-alert",27),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}var Cn=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.pageSizeOptions=p.f7,this.taskResults=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new v.vpe}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new rt.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,o.p6)(e.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}},{key:"getSortDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,o.p6)(e.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getSortDataForColumn,e)})}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[v.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,Xa,2,3,"th",4),v.YNc(5,en,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,tn,3,3,"th",7),v.YNc(8,an,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,nn,3,3,"th",7),v.YNc(11,sn,2,1,"td",5),v.BQk(),v.ynx(12,9),v.YNc(13,ln,3,3,"th",7),v.YNc(14,rn,2,1,"td",5),v.BQk(),v.ynx(15,10),v.YNc(16,on,3,3,"th",7),v.YNc(17,cn,2,1,"td",5),v.BQk(),v.ynx(18,11),v.YNc(19,un,3,3,"th",7),v.YNc(20,dn,2,1,"td",5),v.BQk(),v.ynx(21,12),v.YNc(22,hn,3,3,"th",7),v.YNc(23,fn,3,4,"td",5),v.BQk(),v.ynx(24,13),v.YNc(25,pn,3,3,"th",7),v.YNc(26,gn,2,1,"td",5),v.BQk(),v.ynx(27,14),v.YNc(28,mn,3,3,"th",7),v.YNc(29,vn,2,1,"td",5),v.BQk(),v.ynx(30,15),v.YNc(31,An,3,3,"th",7),v.YNc(32,Tn,2,1,"td",5),v.BQk(),v.YNc(33,In,1,0,"tr",16),v.YNc(34,yn,1,6,"tr",17),v.qZA(),v.qZA(),v.qZA(),v.YNc(35,bn,3,3,"app-alert",18),v.YNc(36,En,3,3,"app-alert",18)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.taskResults.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(31),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.taskResults.length),v.xp6(1),v.Q6J("ngIf",0===t.taskResults.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,o.sg,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$,o.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),e}();function Zn(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(i),v.oxw(2).removeTaskResult()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("disabled",0===a.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function _n(e,t){1&e&&v._UZ(0,"mat-spinner",9)}function kn(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-task-results-list",10),v.NdJ("page",function(e){return v.CHM(i),v.oxw(2).pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("displayedColumns",a.displayedColumns)("filterValue",a.filterValue)("pageSize",a.pageSize)("selection",a.selection)("taskResults",a.taskResults)}}function Ln(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"h1",1),v._uU(2),v.ALo(3,"translate"),v.TgZ(4,"span",2),v._uU(5),v.qZA(),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return v.CHM(i),v.oxw().refreshTable()}),v.qZA(),v.YNc(7,Zn,3,4,"button",4),v.TgZ(8,"perun-web-apps-immediate-filter",5),v.NdJ("filter",function(e){return v.CHM(i),v.oxw().applyFilter(e)}),v.qZA(),v.YNc(9,_n,1,0,"mat-spinner",6),v.YNc(10,kn,1,5,"perun-web-apps-task-results-list",7),v.qZA()}if(2&e){var a=v.oxw();v.xp6(2),v.AsE("",v.lcZ(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",a.task.service.name," "),v.xp6(3),v.hij(" \xa0#",a.task.id," "),v.xp6(2),v.Q6J("ngIf",!a.loading&&a.removeAuth),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),v.xp6(1),v.Q6J("ngIf",a.loading),v.xp6(1),v.Q6J("ngIf",!a.loading)}}var xn,On=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.route=t,this.tableConfigService=i,this.taskManager=a,this.authResolver=n,this.dialog=l,this.loading=!1,this.filterValue="",this.selection=new Oe.Ov(!0,[]),this.tableId=xe.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facility={id:parseInt(t.facilityId,10),beanName:"Facility"},e.removeAuth=e.authResolver.isAuthorized("deleteTask_Task_policy",[e.facility]),e.removeAuth||(e.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),e.route.params.subscribe(function(t){e.taskId=t.taskId,e.taskManager.getTaskById(e.taskId).subscribe(function(t){e.task=t,e.refreshTable()})})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(function(t){e.selection.clear(),e.taskResults=t,e.loading=!1})}},{key:"removeTaskResult",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(Wi,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(xe.dB),v.Y36(f.Ob),v.Y36(g.x4),v.Y36(A.uw))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-task-results"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"page-subtitle"],[1,"text-muted"],[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,"displayedColumns","filterValue","pageSize","selection","taskResults","page",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","pageSize","selection","taskResults","page"]],template:function(e,t){1&e&&v.YNc(0,Ln,11,9,"div",0),2&e&&v.Q6J("ngIf",!t.loading)},directives:[o.O5,Pe.t,Ge.L,Z.lW,y.$g,Cn],pipes:[_.X$],styles:[""]}),e}(),Dn=l(53134),Rn=[{path:"",component:u.P},{path:":facilityId",component:N,children:[{path:"",component:F,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:te,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:q.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:Ka,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:U.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:Ha,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:On,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:Ze,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:it,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:ei,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:bi,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:z,children:[{path:"",component:B,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:It,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:Le,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:qi,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:mi,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:J.b,children:[{path:"",component:Q.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:ne.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:se.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Ji.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:Wa.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Dn.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:ie.t,children:[{path:"",component:ae.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:Ui.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}],Nn=function(){var e=function e(){s(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v.oAB({type:e}),e.\u0275inj=v.cJS({imports:[[c.Bz.forChild(Rn)],c.Bz]}),e}(),wn=l(28780),Yn=l(22727),Mn=l(6363),Fn=((xn=function e(){s(this,e)}).\u0275fac=function(e){return new(e||xn)},xn.\u0275mod=v.oAB({type:xn}),xn.\u0275inj=v.cJS({providers:[ce.dp],imports:[[o.ez,Nn,wn.m,Yn.r,Si.ez,ce.d4,Mn.UsersModule]]}),xn)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/300-es5.a828853dfe9786d61a8d.js b/dist/apps/admin-gui/300-es5.a828853dfe9786d61a8d.js deleted file mode 100644 index 25d8786e0..000000000 --- a/dist/apps/admin-gui/300-es5.a828853dfe9786d61a8d.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var a,n,s=[],l=!0,r=!1;try{for(i=i.call(e);!(l=(a=i.next()).done)&&(s.push(a.value),!t||s.length!==t);l=!0);}catch(o){r=!0,n=o}finally{try{l||null==i.return||i.return()}finally{if(r)throw n}}return s}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=a(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,r=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){o=!0,l=e},f:function(){try{r||null==i.return||i.return()}finally{if(o)throw l}}}}function a(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i()[\]\\.,;:\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]{2,}))$/),this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$"),this.urlPattern=new RegExp("^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;()*$']*[-a-zA-Z0-9+&@#/%=~_|()*$']$"),this.userAtHostPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$)"),this.userAtHostPortPattern=new RegExp("^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\\$)@(?:(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)|(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}):[0-9]+"),this.serviceSpecificPattern=new RegExp("^(?!-)[a-zA-Z0-9-_.:/]*$")}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.serviceControl=new le.NI(void 0,le.kI.required),this.destinationControl=new le.NI("",this.getDestinationValidator()),this.emailControl=new le.NI("",[le.kI.required,le.kI.pattern(this.emailRegex)]),this.facilitiesManager.getHosts(this.data.facility.id).subscribe(function(t){e.hosts=t,e.servicesOnFacility=!0,e.getServices(),e.loading=!1},function(){return e.loading=!1})}},{key:"getDestinationValidator",value:function(){var e=this;return function(t){if(!t.value)return null;var i;switch(e.selectedType){case"host":case"host-windows-proxy":i=e.hostPattern;break;case"email":case"semail":i=e.emailRegex;break;case"url":i=e.urlPattern;break;case"user@host":case"user@host-windows":i=e.userAtHostPattern;break;case"user@host:port":i=e.userAtHostPortPattern;break;case"service-specific":i=e.serviceSpecificPattern;break;default:return null}return i.test(t.value)?null:{invalidDestination:{value:t.value}}}}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,"all"===this.serviceControl.value?this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility({services:this.services,facility:this.data.facility.id}).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1}):this.servicesManager.addDestinationToMultipleServices({services:this.services,facility:this.data.facility.id,destination:this.destinationControl.value,type:this.selectedType,propagationType:this.selectedPropagation}).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1}):this.useFacilityHost?this.servicesManager.addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(this.serviceControl.value.id,this.data.facility.id).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1}):this.servicesManager.addDestination(this.serviceControl.value.id,this.data.facility.id,this.destinationControl.value,this.selectedType,this.selectedPropagation).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"getServices",value:function(){var e=this;this.loading=!0,this.servicesOnFacility?this.servicesManager.getAssignedServices(this.data.facility.id).subscribe(function(t){e.services=t},function(){return e.loading=!1}):this.servicesManager.getServices().subscribe(function(t){e.services=t},function(){return e.loading=!1}),this.loading=!1,this.serviceControl.setValue(void 0)}},{key:"getTypeForView",value:function(e){return"semail"===e?"Send Mail":"service-specific"===e?"Service Specific":e}},{key:"invalidDestination",value:function(){return("host"!==this.selectedType||!this.useFacilityHost)&&this.destinationControl.invalid}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(f.IQ),v.Y36(f.KK))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-add-services-destination-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-italic"],["required","",3,"formControl","placeholder"],["value","all",4,"ngIf"],["value","noService",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"],[3,"ngModel","placeholder","ngModelChange","selectionChange"],["class","w-100",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange"],["value","all"],["value","noService"],[3,"value"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[3,"ngModel","ngModelChange"]],template:function(e,t){1&e&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,Ne,1,0,"mat-spinner",1),v.YNc(5,Ve,27,30,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.onSubmit()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.Tol(t.data.theme),v.xp6(2),v.Oqu(v.lcZ(3,9,"DIALOGS.ADD_SERVICE_DESTINATION.TITLE")),v.xp6(2),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.ADD_SERVICE_DESTINATION.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading||t.invalidDestination()||t.serviceControl.invalid||"noService"===t.serviceControl.value),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.ADD_SERVICE_DESTINATION.ADD")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,de.KE,Re.gD,le.Q7,le.JJ,le.oH,o.sg,ue.oG,le.On,pe.ey,de.TO,he.Nt,le.Fj],pipes:[_.X$],styles:[""],data:{animation:[d.BQ]}}),e}(),Be=l(59403),Ge=l(19139),$e=l(94357);function je(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(i),v.oxw().addDestination()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD")," "))}function Ke(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",9),v.NdJ("click",function(){return v.CHM(i),v.oxw().removeDestination()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.REMOVE")," ")}}function We(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",10),v.NdJ("click",function(){return v.CHM(i),v.oxw().onAllow()}),v.TgZ(1,"mat-icon"),v._uU(2," check_circle_outline "),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.allSelectedAllowed()),v.xp6(3),v.hij(" ",v.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW")," ")}}function Xe(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",10),v.NdJ("click",function(){return v.CHM(i),v.oxw().onBlock()}),v.TgZ(1,"mat-icon"),v._uU(2," block "),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.allSelectedBlocked()),v.xp6(3),v.hij(" ",v.lcZ(4,2,"FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK")," ")}}function et(e,t){1&e&&v._UZ(0,"mat-spinner",11)}function tt(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-perun-web-apps-destination-list",12),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("destinations",a.destinations)("selection",a.selected)("displayedColumns",a.displayedColumns)}}var it=function(){var e=function(){function e(t,i,a,n,l,r,o,c,u){s(this,e),this.dialog=t,this.facilitiesManager=i,this.servicesManager=a,this.tableConfigService=n,this.translate=l,this.notificator=r,this.route=o,this.authResolver=c,this.serviceManager=u,this.selected=new Oe.Ov(!0,[]),this.displayedColumns=["select","destinationId","service","destination","type","propagationType"],this.filterValue="",this.tableId=xe.Cf}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(t){e.facilitiesManager.getFacilityById(t.facilityId).subscribe(function(t){e.facility=t,e.refreshTable()})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.servicesManager.getAllRichDestinationsForFacility(this.facility.id).subscribe(function(t){e.destinations=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("addDestination_Service_Facility_Destination_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeDestination_Service_Facility_Destination_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnDestination_Service_int_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnDestination_Service_int_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","destinationId","service","destination","type","status","propagationType"]:["destinationId","service","destination","type","status","propagationType"]}},{key:"addDestination",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={facility:this.facility,theme:"facility-theme"},this.dialog.open(Pe,t).afterClosed().subscribe(function(t){t&&e.translate.get("FACILITY_DETAIL.SERVICES_DESTINATIONS.ADD_SUCCESS").subscribe(function(t){e.refreshTable(),e.notificator.showSuccess(t)})})}},{key:"removeDestination",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={destinations:this.selected.selected,theme:"facility-theme"},this.dialog.open(De.u,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"blockServiceOnDestinations",value:function(e){var t=this;if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.BLOCK_SUCCESS")),void this.refreshTable();var i=e.pop();this.serviceManager.blockServiceOnDestination(i.service.id,i.id).subscribe(function(){t.blockServiceOnDestinations(e)},function(){return t.loading=!1})}},{key:"onBlock",value:function(){this.loading=!0,this.blockServiceOnDestinations(this.selected.selected)}},{key:"allowServiceOnDestinations",value:function(e){var t=this;if(0===e.length)return this.notificator.showSuccess(this.translate.instant("FACILITY_DETAIL.SERVICES_DESTINATIONS.ALLOW_SUCCESS")),void this.refreshTable();var i=e.pop();this.serviceManager.unblockServiceOnDestinationById(i.service.id,i.id).subscribe(function(){t.allowServiceOnDestinations(e)},function(){return t.loading=!1})}},{key:"onAllow",value:function(){this.loading=!0,this.allowServiceOnDestinations(this.selected.selected)}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"allSelectedAllowed",value:function(){return this.selected.selected.reduce(function(e,t){return e&&!t.blocked},!0)}},{key:"allSelectedBlocked",value:function(){return this.selected.selected.reduce(function(e,t){return e&&t.blocked},!0)}}]),e}();return e.id="FacilityServicesDestinationsComponent",e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.IQ),v.Y36(f.KK),v.Y36(xe.dB),v.Y36(_.sK),v.Y36(g.V6),v.Y36(c.gz),v.Y36(g.x4),v.Y36(f.KK))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-facility-services-destinations"]],hostVars:2,hostBindings:function(e,t){2&e&&v.ekj("router-component",t.true)},decls:12,vars:10,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","destinations","selection","displayedColumns","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.YNc(5,je,3,3,"button",2),v.YNc(6,Ke,3,4,"button",3),v.YNc(7,We,5,4,"button",4),v.YNc(8,Xe,5,4,"button",4),v.TgZ(9,"perun-web-apps-immediate-filter",5),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(10,et,1,0,"mat-spinner",6),v.YNc(11,tt,1,5,"app-perun-web-apps-destination-list",7),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,8,"FACILITY_DETAIL.SERVICES_DESTINATIONS.TITLE")),v.xp6(3),v.Q6J("ngIf",!t.loading&&t.addAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.removeAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.allowAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.blockAuth),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.SERVICES_DESTINATIONS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Be.t,o.O5,Ge.L,Z.lW,b.Hw,y.$g,$e.q],pipes:[_.X$],styles:[""]}),e}(),at=l(17767);function nt(e,t){1&e&&v._UZ(0,"mat-spinner",3)}function st(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"perun-web-apps-immediate-filter",4),v.NdJ("filter",function(e){return v.CHM(i),v.oxw().applyFilter(e)}),v.qZA(),v.TgZ(2,"div",5),v.TgZ(3,"perun-web-apps-owners-list",6),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA(),v.qZA(),v.TgZ(4,"div",7),v.TgZ(5,"button",8),v.NdJ("click",function(){return v.CHM(i),v.oxw().onCancel()}),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.TgZ(8,"button",9),v.NdJ("click",function(){return v.CHM(i),v.oxw().onAdd()}),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("placeholder","DIALOGS.ADD_OWNERS.FILTER"),v.xp6(2),v.Q6J("filterValue",a.filterValue)("pageSize",a.pageSize)("owners",a.owners)("selection",a.selection),v.xp6(3),v.hij(" ",v.lcZ(7,8,"DIALOGS.ADD_OWNERS.CANCEL")," "),v.xp6(2),v.Q6J("disabled",0===a.selection.selected.length||a.loading),v.xp6(1),v.hij(" ",v.lcZ(10,10,"DIALOGS.ADD_OWNERS.ADD")," ")}}var lt=function(){var e=function(){function e(t,i,a,n,l,r,o){var c=this;s(this,e),this.dialogRef=t,this.data=i,this.notificator=a,this.tableConfigService=n,this.translate=l,this.ownersManagerService=r,this.facilitiesManagerService=o,this.extSources=[],this.selection=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.BV,this.owners=[],this.translate.get("DIALOGS.ADD_OWNERS.SUCCESS").subscribe(function(e){return c.successMessage=e})}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.loading=!0,this.ownersManagerService.getAllOwners().subscribe(function(t){e.owners=t.filter(function(t){return!e.data.forbiddenOwners.includes(t.id)}),e.loading=!1},function(){return e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"onAdd",value:function(){var e=this;this.loading=!0,0!==this.selection.selected.length?this.facilitiesManagerService.addFacilityOwner(this.data.facilityId,this.selection.selected.pop().id).subscribe(function(){return e.onAdd()},function(){return e.loading=!1}):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(g.V6),v.Y36(xe.dB),v.Y36(_.sK),v.Y36(f.aC),v.Y36(f.IQ))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-add-facility-owner-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"font-size-1rem",3,"placeholder","filter"],["mat-dialog-content",""],[3,"filterValue","pageSize","owners","selection","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,nt,1,0,"mat-spinner",1),v.YNc(5,st,11,12,"div",2),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,6,"DIALOGS.ADD_OWNERS.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[A.uh,o.O5,y.$g,Ge.L,A.xY,at.Q,A.H8,Z.lW],pipes:[_.X$],styles:[""]}),e}(),rt=l(67033);function ot(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function ct(e,t){1&e&&v._UZ(0,"th",15)}function ut(e,t){if(1&e&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",i.name," ")}}function dt(e,t){1&e&&v._UZ(0,"tr",17)}function ht(e,t){1&e&&v._UZ(0,"tr",18)}function ft(e,t){if(1&e&&(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,ct,1,0,"th",11),v.YNc(10,ut,2,1,"td",12),v.BQk(),v.YNc(11,dt,1,0,"tr",13),v.YNc(12,ht,1,0,"tr",14),v.qZA(),v.qZA()),2&e){var i=v.oxw();v.xp6(2),v.hij(" ",v.lcZ(3,5,"DIALOGS.REMOVE_OWNERS.DESCRIPTION")," "),v.xp6(3),v.hij(" ",v.lcZ(6,7,"DIALOGS.REMOVE_OWNERS.ASK")," "),v.xp6(2),v.Q6J("dataSource",i.dataSource),v.xp6(4),v.Q6J("matHeaderRowDef",i.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",i.displayedColumns)}}var pt=function(){var e=function(){function e(t,i,a,n,l){var r=this;s(this,e),this.dialogRef=t,this.data=i,this.notificator=a,this.translate=n,this.facilitiesManagerService=l,this.displayedColumns=["name"],n.get("DIALOGS.REMOVE_OWNERS.SUCCESS").subscribe(function(e){return r.successMessage=e})}return r(e,[{key:"ngOnInit",value:function(){this.dataSource=new rt.by(this.data.owners),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,0!==this.data.owners.length?this.facilitiesManagerService.removeFacilityOwner(this.data.facilityId,this.data.owners.pop().id).subscribe(function(){return e.onSubmit()},function(){return e.loading=!1}):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(g.V6),v.Y36(_.sK),v.Y36(f.IQ))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-remove-facility-owner-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",""],[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(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,ot,1,0,"mat-spinner",1),v.YNc(5,ft,13,9,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.onSubmit()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.REMOVE_OWNERS.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.REMOVE_OWNERS.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.REMOVE_OWNERS.DELETE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,rt.BZ,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,rt.ge,rt.ev,rt.XQ,rt.Gk],pipes:[_.X$],styles:[""]}),e}();function gt(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-refresh-button",7),v.NdJ("refresh",function(){return v.CHM(i),v.oxw().refreshTable()}),v.qZA()}}function mt(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(i),v.oxw().onCreate()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.SETTINGS.OWNERS.ADD"),"\n"))}function St(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",9),v.NdJ("click",function(){return v.CHM(i),v.oxw().onRemove()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SETTINGS.OWNERS.DELETE"),"\n")}}function vt(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-immediate-filter",10),v.NdJ("filter",function(e){return v.CHM(i),v.oxw().applyFilter(e)}),v.qZA()}2&e&&v.Q6J("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function At(e,t){1&e&&v._UZ(0,"mat-spinner",11)}function Tt(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-owners-list",12),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("owners",a.owners)("displayedColumns",a.displayedColumns)("selection",a.selection)}}var It=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.facilitiesManagerService=t,this.tableConfigService=i,this.route=a,this.dialog=n,this.authResolver=l,this.owners=[],this.selection=new Oe.Ov(!0,[]),this.displayedColumns=["id","name","contact","type"],this.tableId=xe.zp}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.filterValue="",this.route.parent.parent.params.subscribe(function(t){e.facilityId=parseInt(t.facilityId,10),e.facility={id:e.facilityId,beanName:"Facility"},e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.selection.clear(),this.facilitiesManagerService.getFacilityOwners(this.facilityId).subscribe(function(t){e.owners=t,e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("addOwner_Facility_Owner_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeOwner_Facility_Owner_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","contact","type"]:["id","name","contact","type"]}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"onCreate",value:function(){var e=this,t=(0,p.kZ)();t.width="800px",t.data={theme:"facility-theme",facilityId:this.facilityId,forbiddenOwners:this.owners.map(function(e){return e.id})},this.dialog.open(lt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"onRemove",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={theme:"facility-theme",owners:this.selection.selected,facilityId:this.facilityId},this.dialog.open(pt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz),v.Y36(A.uw),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-settings-owners"]],decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page",4,"ngIf"],[3,"refresh"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","owners","displayedColumns","selection","page"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.YNc(3,gt,1,0,"perun-web-apps-refresh-button",1),v.YNc(4,mt,3,3,"button",2),v.YNc(5,St,3,4,"button",3),v.YNc(6,vt,1,1,"perun-web-apps-immediate-filter",4),v.YNc(7,At,1,0,"mat-spinner",5),v.YNc(8,Tt,1,5,"perun-web-apps-owners-list",6)),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,7,"FACILITY_DETAIL.SETTINGS.OWNERS.TITLE")),v.xp6(2),v.Q6J("ngIf",!t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.addAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.removeAuth),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[o.O5,Be.t,Z.lW,Ge.L,y.$g,at.Q],pipes:[_.X$],styles:[""]}),e}();function yt(e,t){1&e&&v._UZ(0,"mat-spinner",7)}function bt(e,t){1&e&&(v.TgZ(0,"mat-error"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.ADD_HOST.EMPTY_MESSAGE")," "))}function Et(e,t){if(1&e&&(v.TgZ(0,"mat-error"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e){var i=v.oxw(2);v.xp6(1),v.AsE(" ",v.lcZ(2,2,"DIALOGS.ADD_HOST.INVALID_HOST"),"",i.hostsCtrl.getError("invalidHost").value," ")}}function Ct(e,t){if(1&e&&(v.TgZ(0,"div",8),v.TgZ(1,"mat-form-field"),v.TgZ(2,"textarea",9),v._uU(3," "),v.qZA(),v.YNc(4,bt,3,3,"mat-error",10),v.YNc(5,Et,3,4,"mat-error",10),v.qZA(),v.TgZ(6,"div",11),v._uU(7),v.ALo(8,"translate"),v.qZA(),v.qZA()),2&e){var i=v.oxw();v.xp6(2),v.Q6J("formControl",i.hostsCtrl),v.xp6(2),v.Q6J("ngIf",i.hostsCtrl.hasError("required")),v.xp6(1),v.Q6J("ngIf",i.hostsCtrl.hasError("invalidHost")),v.xp6(2),v.Oqu(v.lcZ(8,4,"DIALOGS.ADD_HOST.HINT"))}}var Zt=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialogRef=t,this.data=i,this.facilitiesManager=a,this.notificator=n,this.translate=l,this.loading=!1,this.hostPattern=new RegExp("^(?!:\\/\\/)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$|^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")}return r(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.facilityName=this.data.facilityName,this.hostsCtrl=new le.NI("",[le.kI.required,this.hostsNameValidator()]),this.hostsCtrl.markAllAsTouched()}},{key:"onAdd",value:function(){var e=this;this.loading=!0;var t,a=[],n=i(this.hostsCtrl.value.split("\n"));try{for(n.s();!(t=n.n()).done;){var s=t.value;a=a.concat(this.parseHostName(s))}}catch(l){n.e(l)}finally{n.f()}this.facilitiesManager.addHosts(this.data.facilityId,a).subscribe(function(){e.notificator.showSuccess(e.translate.instant("DIALOGS.ADD_HOST.SUCCESS")),e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"hostsNameValidator",value:function(){var e=this;return function(t){var a,n=[],s=i(t.value.split("\n"));try{for(s.s();!(a=s.n()).done;){var l=a.value;n=n.concat(e.parseHostName(l))}}catch(u){s.e(u)}finally{s.f()}var r,o=i(n);try{for(o.s();!(r=o.n()).done;){var c=r.value;if(!e.hostPattern.test(c))return{invalidHost:{value:c}}}}catch(u){o.e(u)}finally{o.f()}return null}}},{key:"parseHostName",value:function(e){var i=new RegExp("[[0-9]+-[0-9]+]","g"),a=e.split(i),n=e.match(i);if(null==n)return""===e?[]:[e];for(var s=[],l=0;l_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeHosts_List_Facility_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"],0!==this.hosts.length&&(this.routeAuth=this.authResolver.isAuthorized("getHostById_int_policy",[this.facility,this.hosts[0]]))}},{key:"addHost",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={facilityId:this.facility.id,facilityName:this.facility.name,theme:"facility-theme"},this.dialog.open(Zt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"removeHost",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={facilityId:this.facility.id,theme:"facility-theme",hosts:this.selected.selected},this.dialog.open(Rt,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-hosts"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","hosts","selection","displayedColumns","disableRouting","facilityId","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.YNc(5,jt,3,3,"button",2),v.YNc(6,Kt,3,4,"button",3),v.TgZ(7,"perun-web-apps-immediate-filter",4),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(8,Wt,1,0,"mat-spinner",5),v.YNc(9,Xt,1,7,"app-hosts-list",6),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,6,"FACILITY_DETAIL.HOSTS.TITLE")),v.xp6(3),v.Q6J("ngIf",!t.loading&&t.addAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.removeAuth),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.HOSTS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Be.t,o.O5,Ge.L,Z.lW,y.$g,$t],pipes:[_.X$],styles:[""]}),e}();function ti(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",14),v.TgZ(1,"mat-checkbox",15),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function ii(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",16),v.TgZ(1,"mat-checkbox",17),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function ai(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.USER_ID")))}function ni(e,t){if(1&e&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i[1].id)}}function si(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NAME")))}function li(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.ALo(2,"userFullName"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,i[1]))}}function ri(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.REASON")))}function oi(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i[0].description)}}function ci(e,t){1&e&&v._UZ(0,"tr",20)}function ui(e,t){1&e&&v._UZ(0,"tr",21)}function di(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function hi(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED.COMPONENTS.BLACKLIST_LIST.NO_BANS_WARNING"),"\n"))}var fi=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.bansOnFacilitiesWithUsers=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.page=new v.vpe,this.displayedColumns=["select","userId","name","reason"],this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"userId"!==e})),this.dataSource=new rt.by(this.bansOnFacilitiesWithUsers),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"userId":return e[1].id.toString();case"reason":return e[0].description;case"name":return(0,p.hu)(e[1]);default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e[0].userId+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-blacklist-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{bansOnFacilitiesWithUsers:"bansOnFacilitiesWithUsers",selection:"selection",filterValue:"filterValue",pageSize:"pageSize"},outputs:{page:"page"},features:[v.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","reason"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,ti,2,3,"th",4),v.YNc(5,ii,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,ai,3,3,"th",7),v.YNc(8,ni,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,si,3,3,"th",7),v.YNc(11,li,3,3,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,ri,3,3,"th",7),v.YNc(14,oi,2,1,"td",9),v.BQk(),v.YNc(15,ci,1,0,"tr",11),v.YNc(16,ui,1,0,"tr",12),v.qZA(),v.qZA(),v.qZA(),v.YNc(17,di,3,3,"app-alert",13),v.YNc(18,hi,3,3,"app-alert",13)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.bansOnFacilitiesWithUsers.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.bansOnFacilitiesWithUsers.length),v.xp6(1),v.Q6J("ngIf",0===t.bansOnFacilitiesWithUsers.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$,ge.d],styles:[""]}),e}();function pi(e,t){1&e&&v._UZ(0,"mat-spinner",5)}function gi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-perun-web-apps-blacklist-list",6),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("bansOnFacilitiesWithUsers",a.bansOnFacilitiesWithUsers)("selection",a.selected)}}var mi=function(){var e=function(){function e(t,i,a,n){s(this,e),this.facilitiesManager=t,this.usersManager=i,this.tableConfigService=a,this.route=n,this.bansOnFacilitiesWithUsers=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.NG}return r(e,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.facilitiesManager.getBansForFacility(t.facilityId).subscribe(function(t){var a,n=i(t);try{for(n.s();!(a=n.n()).done;){var s=a.value,l=void 0;e.usersManager.getUserById(s.userId).subscribe(function(e){l=e}),e.bansOnFacilitiesWithUsers.push([s,l])}}catch(r){n.e(r)}finally{n.f()}e.selected.clear(),e.loading=!1})})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(f.IQ),v.Y36(f.Fv),v.Y36(xe.dB),v.Y36(c.gz))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-perun-web-apps-facility-settings-blacklist"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","bansOnFacilitiesWithUsers","selection","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-immediate-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.ALo(6,"translate"),v.qZA(),v.YNc(7,pi,1,0,"mat-spinner",3),v.YNc(8,gi,1,4,"app-perun-web-apps-blacklist-list",4),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,4,"FACILITY_DETAIL.SETTINGS.BLACKLIST.TITLE")),v.xp6(3),v.Q6J("placeholder",v.lcZ(6,6,"FACILITY_DETAIL.SETTINGS.BLACKLIST.FILTER")),v.xp6(2),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Be.t,Ge.L,o.O5,y.$g,fi],pipes:[_.X$],styles:[""]}),e}(),Si=l(41939),vi=l(13572),Ai=l(40695),Ti=l(41186),Ii=["list"];function yi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-attributes-list",6,7),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("attributes",a.attributes)("selection",a.selected)}}var bi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialog=t,this.attributesManager=i,this.facilityManager=a,this.tableConfigService=n,this.route=l,this.attributes=[],this.selected=new Oe.Ov(!0,[]),this.host={beanName:"",id:0},this.tableId=xe.rF}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(function(t){e.hostId=t.hostId,e.facilityManager.getHostById(e.hostId).subscribe(function(t){e.host=t}),e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.attributesManager.getHostAttributes(this.hostId).subscribe(function(t){e.attributes=(0,p.MX)(t),e.selected.clear(),e.loading=!1})}},{key:"onSave",value:function(){var e=this;this.list.updateMapAttributes();var t=(0,p.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected},this.dialog.open(m.wA,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"addAttribute",value:function(){var e=this,t=(0,p.kZ)();t.width="1050px",t.data={entityId:this.hostId,entity:"host",notEmptyAttributes:this.attributes,style:"facility-theme"},this.dialog.open(Ai.n,t).afterClosed().subscribe(function(t){"saved"===t&&e.refreshTable()})}},{key:"removeAttribute",value:function(){var e=this,t=(0,p.kZ)();t.width="450px",t.data={entityId:this.hostId,entity:"host",attributes:this.selected.selected,theme:"facility-theme"},this.dialog.open(vi.k,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.H8),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-hosts-detail"]],viewQuery:function(e,t){var i;(1&e&&v.Gf(Ii,5),2&e)&&(v.iGM(i=v.CRH())&&(t.list=i.first))},decls:15,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"pageSize","attributes","selection","page",4,"ngIf"],[3,"pageSize","attributes","selection","page"],["list",""]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"button",2),v.NdJ("click",function(){return t.addAttribute()}),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.TgZ(8,"button",3),v.NdJ("click",function(){return t.onSave()}),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.TgZ(11,"button",4),v.NdJ("click",function(){return t.removeAttribute()}),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.YNc(14,yi,2,3,"perun-web-apps-attributes-list",5),v.qZA()),2&e&&(v.xp6(2),v.AsE(" ",v.lcZ(3,8,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.TITLE")," ",t.host.hostname,""),v.xp6(4),v.hij(" ",v.lcZ(7,10,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.ADD")," "),v.xp6(2),v.Q6J("disabled",0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(10,12,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.SAVE")," "),v.xp6(2),v.Q6J("disabled",0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(13,14,"FACILITY_DETAIL.HOSTS.HOSTS_DETAIL.REMOVE")," "),v.xp6(2),v.Q6J("ngIf",!t.loading))},directives:[Be.t,Z.lW,o.O5,Ti.p],pipes:[_.X$],styles:[""]}),e}();function Ei(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",14),v.TgZ(1,"mat-checkbox",15),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function Ci(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",16),v.TgZ(1,"mat-checkbox",17),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function Zi(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.ID")))}function _i(e,t){if(1&e&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.id)}}function ki(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NAME")))}function Li(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.name)}}function xi(e,t){1&e&&(v.TgZ(0,"th",18),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.DESCRIPTION")))}function Oi(e,t){if(1&e&&(v.TgZ(0,"td",19),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.description)}}function Di(e,t){1&e&&v._UZ(0,"tr",20)}function Ri(e,t){1&e&&v._UZ(0,"tr",21)}function Ni(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function wi(e,t){1&e&&(v.TgZ(0,"app-alert",22),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED.COMPONENTS.SECURITY_TEAMS_LIST.NO_SECURITY_TEAMS_WARNING"),"\n"))}var Yi=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.securityTeams=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","description"],this.page=new v.vpe,this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new rt.by(this.securityTeams),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"description":return e.description;default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-security-teams-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{securityTeams:"securityTeams",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[v.TTD],decls:19,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,Ei,2,3,"th",4),v.YNc(5,Ci,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,Zi,3,3,"th",7),v.YNc(8,_i,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,ki,3,3,"th",7),v.YNc(11,Li,2,1,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,xi,3,3,"th",7),v.YNc(14,Oi,2,1,"td",9),v.BQk(),v.YNc(15,Di,1,0,"tr",11),v.YNc(16,Ri,1,0,"tr",12),v.qZA(),v.qZA(),v.qZA(),v.YNc(17,Ni,3,3,"app-alert",13),v.YNc(18,wi,3,3,"app-alert",13)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.securityTeams.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.securityTeams.length),v.xp6(1),v.Q6J("ngIf",0===t.securityTeams.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$],styles:[""]}),e}();function Mi(e,t){1&e&&v._UZ(0,"mat-spinner",5)}function Fi(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-security-teams-list",6),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("securityTeams",a.securityTeams)("displayedColumns",a.displayedColumns)("selection",a.selected)}}var qi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialog=t,this.facilitiesManager=i,this.tableConfigService=a,this.route=n,this.authResolver=l,this.securityTeams=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.O9,this.displayedColumns=[]}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilitiesManager.getFacilityById(t.facilityId).subscribe(function(t){e.facility=t,e.refreshTable()})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilitiesManager.getAssignedSecurityTeams(this.facility.id).subscribe(function(t){e.securityTeams=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("assignSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("removeSecurityTeam_Facility_SecurityTeam_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","description"]:["id","name","description"]}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"addSecurityTeam",value:function(){}},{key:"removeSecurityTeam",value:function(){}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.uw),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(c.gz),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-security-teams"]],decls:8,vars:6,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","securityTeams","displayedColumns","selection","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-immediate-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(6,Mi,1,0,"mat-spinner",3),v.YNc(7,Fi,1,5,"app-security-teams-list",4),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,4,"FACILITY_DETAIL.SECURITY_TEAMS.TITLE")),v.xp6(3),v.Q6J("placeholder","FACILITY_DETAIL.SECURITY_TEAMS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Be.t,Ge.L,o.O5,y.$g,Yi],pipes:[_.X$],styles:[""]}),e}(),Ui=l(64359),Ji=l(75374);function Qi(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function zi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.RESULT_ID")))}function Hi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",i.id," ")}}function Vi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.DESTINATION")))}function Pi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",i.destination.destination," ")}}function Bi(e,t){1&e&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"DIALOGS.DELETE_TASK_RESULT.TIME")))}function Gi(e,t){if(1&e&&(v.TgZ(0,"td",18),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.hij(" ",v.xi3(2,1,i.timestamp,"d.M.y H:mm:ss")," ")}}function $i(e,t){1&e&&v._UZ(0,"tr",19)}function ji(e,t){1&e&&v._UZ(0,"tr",20)}function Ki(e,t){if(1&e&&(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,zi,3,3,"th",11),v.YNc(10,Hi,2,1,"td",12),v.BQk(),v.ynx(11,13),v.YNc(12,Vi,3,3,"th",11),v.YNc(13,Pi,2,1,"td",12),v.BQk(),v.ynx(14,14),v.YNc(15,Bi,3,3,"th",11),v.YNc(16,Gi,3,4,"td",12),v.BQk(),v.YNc(17,$i,1,0,"tr",15),v.YNc(18,ji,1,0,"tr",16),v.qZA(),v.qZA()),2&e){var i=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,5,"DIALOGS.DELETE_TASK_RESULT.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(6,7,"DIALOGS.DELETE_TASK_RESULT.ASK")," "),v.xp6(2),v.Q6J("dataSource",i.dataSource),v.xp6(10),v.Q6J("matHeaderRowDef",i.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",i.displayedColumns)}}var Wi=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialogRef=t,this.data=i,this.taskManager=a,this.notificator=n,this.translate=l,this.loading=!1,this.dataSource=new rt.by(this.data.taskResults),this.displayedColumns=["id","destination","time"]}return r(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskResults=this.data.taskResults}},{key:"deleteResults",value:function(){var e=this;if(this.loading=!0,0===this.taskResults.length)return this.dialogRef.close(!0),this.loading=!1,void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_TASK_RESULT.SUCCESS"));this.taskManager.deleteTaskResultById({taskResultId:this.taskResults.pop().id}).subscribe(function(){e.deleteResults()},function(){return e.loading=!1})}},{key:"onDelete",value:function(){this.deleteResults()}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(f.Ob),v.Y36(g.V6),v.Y36(_.sK))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-delete-task-result-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","destination"],["matColumnDef","time"],["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&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,Qi,1,0,"mat-spinner",1),v.YNc(5,Ki,19,9,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.onDelete()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.DELETE_TASK_RESULT.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.DELETE_TASK_RESULT.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.DELETE_TASK_RESULT.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,rt.BZ,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,rt.ge,rt.ev,rt.XQ,rt.Gk],pipes:[_.X$,o.uU],styles:[""]}),e}(),Xi=l(88884);function ea(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function ta(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"mat-checkbox",13),v.NdJ("change",function(e){return v.CHM(i),v.oxw(2).change(e)}),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.taskChecked),v.xp6(2),v.hij(" ",v.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_AND_TASK_RESULTS")," ")}}function ia(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"mat-checkbox",14),v.NdJ("change",function(e){return v.CHM(i),v.oxw(2).change(e)}),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.taskResultsChecked),v.xp6(2),v.hij(" ",v.lcZ(3,7,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_TASK_RESULTS")," ")}}function aa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-resources-list",15),v.NdJ("allSelected",function(e){return v.CHM(i),v.oxw(2).disableCheckboxes(e)})("page",function(e){return v.CHM(i),v.oxw(2).pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("pageSize",a.pageSize)("disableRouting",!0)("resources",a.resources)("selection",a.selected)("displayedColumns",a.displayedColumns)}}function na(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"div",7),v.TgZ(1,"p"),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div"),v.YNc(5,ta,4,9,"mat-checkbox",8),v.YNc(6,ia,4,9,"mat-checkbox",9),v.TgZ(7,"mat-checkbox",10),v.NdJ("change",function(e){return v.CHM(i),v.oxw().change(e)}),v.ALo(8,"translate"),v._uU(9),v.ALo(10,"translate"),v.qZA(),v.qZA(),v.TgZ(11,"p"),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.TgZ(14,"div",11),v._uU(15),v.ALo(16,"translate"),v.qZA(),v.YNc(17,aa,1,5,"perun-web-apps-resources-list",12),v.qZA()}if(2&e){var a=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DESCRIPTION")),v.xp6(3),v.Q6J("ngIf",null!==a.taskId),v.xp6(1),v.Q6J("ngIf",null!==a.taskId),v.xp6(1),v.s9C("matTooltip",v.lcZ(8,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!a.checkboxesDisabled)("disabled",a.checkboxesDisabled)("checked",a.destinationChecked),v.xp6(2),v.hij(" ",v.lcZ(10,15,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOX_DESTINATION")," "),v.xp6(3),v.Oqu(v.lcZ(13,17,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(16,19,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.ASK")," "),v.xp6(2),v.Q6J("ngIf",!a.loading)}}var sa=function(){var t=function(){function t(i,a,n,l,r,o,c,u,d){s(this,t),this.dialogRef=i,this.data=a,this.tableConfigService=n,this.resourcesManager=l,this.tasksManager=r,this.serviceManager=o,this.translate=c,this.notificator=u,this.cd=d,this.loading=!1,this.dataSource=new rt.by(this.data.resource),this.selected=new Oe.Ov(!0,e(this.dataSource.data)),this.resources=[],this.displayedColumns=["select","id","vo","name"],this.checkboxesDisabled=!1,this.taskChecked=!0,this.taskResultsChecked=!0,this.destinationChecked=!0,this.tableId=xe.$V}return r(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.taskId=this.data.taskId,this.serviceId=this.data.serviceId,this.facilityId=this.data.facilityId,this.resources=this.data.resource}},{key:"remove",value:function(){var e=this;this.loading=!0,this.taskResultsChecked&&!this.taskChecked&&null!==this.taskId&&this.tasksManager.getTaskResultsForGUIByTask(this.taskId).subscribe(function(t){t.forEach(function(t){e.tasksManager.deleteTaskResultById({taskResultId:t.id}).subscribe()})}),this.taskChecked&&null!==this.taskId&&this.tasksManager.deleteTask({task:this.taskId}).subscribe(),this.destinationChecked&&this.serviceManager.getDestinations(this.serviceId,this.facilityId).subscribe(function(t){t.forEach(function(t){e.serviceManager.removeDestination(e.serviceId,e.facilityId,t.destination,t.type).subscribe()})}),this.selected.selected.forEach(function(t){e.resourcesManager.removeService(t.id,e.serviceId).subscribe(function(){e.translate.get("DIALOGS.REMOVE_SERVICE_FROM_FACILITY.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"disableCheckboxes",value:function(e){e&&this.checkboxesDisabled&&this.changeCheckboxes(!0),e||this.checkboxesDisabled||this.changeCheckboxes(!1)}},{key:"changeCheckboxes",value:function(e){this.checkboxesDisabled=!e,this.taskChecked=e,this.taskResultsChecked=e,this.destinationChecked=e,this.cd.detectChanges()}},{key:"change",value:function(e){switch(e.source.id){case"task":this.taskChecked=e.checked;break;case"taskResults":this.taskResultsChecked=e.checked;break;case"destination":this.destinationChecked=e.checked}}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(v.Y36(A.so),v.Y36(A.WI),v.Y36(xe.dB),v.Y36(f.xk),v.Y36(f.Ob),v.Y36(f.KK),v.Y36(_.sK),v.Y36(g.V6),v.Y36(v.sBO))},t.\u0275cmp=v.Xpm({type:t,selectors:[["app-delete-service-from-facility"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["id","task","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","taskResults","class","right-space","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change",4,"ngIf"],["id","destination","color","warn",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[1,"font-weight-bold"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page",4,"ngIf"],["id","task","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],["id","taskResults","color","warn",1,"right-space",3,"matTooltip","matTooltipDisabled","disabled","checked","change"],[3,"pageSize","disableRouting","resources","selection","displayedColumns","allSelected","page"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,ea,1,0,"mat-spinner",1),v.YNc(5,na,18,21,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.cancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.remove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading||0===t.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY,ue.oG,E.gM,Xi.C],pipes:[_.X$],styles:[".right-space[_ngcontent-%COMP%]{margin-right:40px}"]}),t}();function la(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function ra(e,t){1&e&&(v.TgZ(0,"div",7),v.TgZ(1,"div",8),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.qZA()),2&e&&(v.xp6(2),v.hij(" ",v.lcZ(3,1,"DIALOGS.DELETE_TASK.DESCRIPTION")," "))}var oa=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.dialogRef=t,this.data=i,this.tasksManager=a,this.translate=n,this.notificator=l,this.loading=!1}return r(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.taskId=this.data.taskId}},{key:"remove",value:function(){var e=this;this.loading=!0,this.tasksManager.deleteTask({task:this.taskId}).subscribe(function(){e.translate.get("DIALOGS.DELETE_TASK.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(A.so),v.Y36(A.WI),v.Y36(f.Ob),v.Y36(_.sK),v.Y36(g.V6))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-delete-task-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"]],template:function(e,t){1&e&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,la,1,0,"mat-spinner",1),v.YNc(5,ra,4,3,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return t.cancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return t.remove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.DELETE_TASK.TITLE")),v.xp6(2),v.Tol(t.theme),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.DELETE_TASK.CANCEL")," "),v.xp6(2),v.Q6J("disabled",t.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.DELETE_TASK.DELETE")," "))},directives:[A.uh,o.O5,A.H8,Z.lW,y.$g,A.xY],pipes:[_.X$],styles:[""]}),e}(),ca=l(8055),ua=function(){var e=function(){function e(){s(this,e)}return r(e,[{key:"transform",value:function(e){return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=v.Yjl({name:"serviceStateBlockedToString",type:e,pure:!0}),e}();function da(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",17),v.TgZ(1,"mat-checkbox",18),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e&&t.masterToggle(),t.selectionChange.emit()}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())("aria-label",a.checkboxLabel())}}function ha(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",19),v.TgZ(1,"mat-checkbox",20),v.NdJ("click",function(e){return e.stopPropagation()})("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e&&a.selection.toggle(t),a.selectionChange.emit()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("checked",n.selection.isSelected(a))("aria-label",n.checkboxLabel(a))}}function fa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TASK_ID")))}function pa(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(i.task.id)}}function ga(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1,"0"),v.qZA())}function ma(e,t){if(1&e&&(v.TgZ(0,"td",19),v.YNc(1,pa,2,1,"div",22),v.YNc(2,ga,2,0,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task),v.xp6(1),v.Q6J("ngIf",!i.task)}}function Sa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.SERVICE_NAME")))}function va(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.service.name)}}function Aa(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STATUS")))}function Ta(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.status)}}function Ia(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.BLOCKED")))}function ya(e,t){if(1&e&&(v.TgZ(0,"td",23),v._uU(1),v.ALo(2,"serviceStateBlockedToString"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,i))}}function ba(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.STARTED")))}function Ea(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.task.startTime,"d.M.y H:mm:ss"))}}function Ca(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET"),""))}function Za(e,t){if(1&e&&(v.TgZ(0,"td",23),v.YNc(1,Ea,3,4,"div",22),v.YNc(2,Ca,3,3,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task&&i.task.startTime),v.xp6(1),v.Q6J("ngIf",!i.task||!i.task.startTime)}}function _a(e,t){1&e&&(v.TgZ(0,"th",21),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.ENDED")))}function ka(e,t){if(1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=v.oxw().$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.task.endTime,"d.M.y H:mm:ss"))}}function La(e,t){1&e&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NOT_YET")," "))}function xa(e,t){if(1&e&&(v.TgZ(0,"td",23),v.YNc(1,ka,3,4,"div",22),v.YNc(2,La,3,3,"div",22),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngIf",i.task&&i.task.endTime),v.xp6(1),v.Q6J("ngIf",!i.task||!i.task.endTime)}}function Oa(e,t){1&e&&v._UZ(0,"tr",24)}var Da=function(e,t){return["/facilities",e,"services-status",t]};function Ra(e,t){if(1&e&&v._UZ(0,"tr",25),2&e){var i=t.$implicit,a=v.oxw();v.ekj("disable-outline",a.disableRouting||!i.task)("make-yellow","WARNING"===i.status)("make-green","DONE"===i.status)("make-red","GENERROR"===i.status||"SENDERROR"===i.status||"ERROR"===i.status)("cursor-pointer",!a.disableRouting&&null!==i.task),v.Q6J("routerLink",a.disableRouting||null===i.task?null:v.WLB(12,Da,i.facility.id,i.taskId))("perunWebAppsMiddleClickRouterLink",a.disableRouting||null===i.task?null:v.WLB(15,Da,i.facility.id,i.taskId))}}function Na(e,t){1&e&&(v.TgZ(0,"app-alert",26),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function wa(e,t){1&e&&(v.TgZ(0,"app-alert",26),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.NO_SERVICES_STATUS_WARNING"),"\n"))}var Ya=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.servicesStatus=[],this.displayedColumns=["select","task.id","service.name","status","blocked","task.startTime","task.endTime"],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.disableRouting=!0,this.page=new v.vpe,this.selectionChange=new v.vpe,this.pageSizeOptions=p.f7}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"task.id"!==e})),this.dataSource=new rt.by(this.servicesStatus),this.setDataSource(),this.dataSource.filterPredicate=function(e,t){var i=t.trim().toLowerCase();return function e(t){var i="";return Object.values(t).forEach(function(t){"object"!=typeof t?i=i+" "+t:null!==t&&(i=i+" "+e(t))}),i.trim().toLowerCase()}(e).includes(i)},this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"task.id":return e.task?e.task.id.toString():e[t];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,o.p6)(e.task.startTime,"d.M.y H:mm:ss","en"):e[t];case"task.endTime":return e.task&&e.task.endTime?(0,o.p6)(e.task.endTime,"d.M.y H:mm:ss","en"):e[t];default:return e[t]}}},{key:"getSortDataForColumn",value:function(e,t){switch(t){case"task.id":return e.task?e.task.id.toString():e[t];case"service.name":return e.service.name;case"status":return e.status;case"blocked":return e.blockedOnFacility?"BLOCKED":e.blockedGlobally?"BLOCKED GLOBALLY":"ALLOWED";case"task.startTime":return e.task&&e.task.startTime?(0,o.p6)(e.task.startTime,"yyyy.MM.dd HH:mm:ss","en"):e[t];case"task.endTime":return e.task&&e.task.endTime?(0,o.p6)(e.task.endTime,"yyyy.MM.dd HH:mm:ss","en"):e[t];default:return e[t]}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getSortDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.service.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["perun-web-apps-services-status-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{servicesStatus:"servicesStatus",displayedColumns:"displayedColumns",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page",selectionChange:"selectionChange"},features:[v.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","service.name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","task.id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","service.name"],["mat-cell","",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","blocked"],["matColumnDef","task.startTime"],["matColumnDef","task.endTime"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"disable-outline","make-yellow","make-green","make-red","cursor-pointer","routerLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],[4,"ngIf"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"routerLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,da,2,3,"th",4),v.YNc(5,ha,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,fa,3,3,"th",7),v.YNc(8,ma,3,2,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,Sa,3,3,"th",7),v.YNc(11,va,2,1,"td",9),v.BQk(),v.ynx(12,10),v.YNc(13,Aa,3,3,"th",7),v.YNc(14,Ta,2,1,"td",9),v.BQk(),v.ynx(15,11),v.YNc(16,Ia,3,3,"th",7),v.YNc(17,ya,3,3,"td",9),v.BQk(),v.ynx(18,12),v.YNc(19,ba,3,3,"th",7),v.YNc(20,Za,3,2,"td",9),v.BQk(),v.ynx(21,13),v.YNc(22,_a,3,3,"th",7),v.YNc(23,xa,3,2,"td",9),v.BQk(),v.YNc(24,Oa,1,0,"tr",14),v.YNc(25,Ra,1,18,"tr",15),v.qZA(),v.qZA(),v.qZA(),v.YNc(26,Na,3,3,"app-alert",16),v.YNc(27,wa,3,3,"app-alert",16)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.servicesStatus.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(22),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.servicesStatus.length),v.xp6(1),v.Q6J("ngIf",0===t.servicesStatus.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,rt.XQ,rt.Gk,c.rH,Yt.YH,Mt.w],pipes:[_.X$,ua,o.uU],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.make-green[_ngcontent-%COMP%]{background-color:#c4ffcb}.make-yellow[_ngcontent-%COMP%]{background-color:#fffde7}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}();function Ma(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",11),v.NdJ("click",function(){return v.CHM(i),v.oxw().forcePropagation()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.FORCE_PROPAGATION")," ")}}function Fa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",11),v.NdJ("click",function(){return v.CHM(i),v.oxw().allow()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.disableAllowButton),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.ALLOW")," ")}}function qa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",12),v.NdJ("click",function(){return v.CHM(i),v.oxw().block()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("disabled",0===a.selected.selected.length||a.disableBlockButton),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.SERVICES_STATUS.BLOCK")," ")}}function Ua(e,t){if(1&e&&(v.TgZ(0,"button",13),v.ALo(1,"translate"),v._uU(2),v.ALo(3,"translate"),v.qZA()),2&e){var i=v.oxw(),a=v.MAs(10);v.s9C("matTooltip",v.lcZ(1,5,"DIALOGS.REMOVE_SERVICE_FROM_FACILITY.CHECKBOXES_DISABLED")),v.Q6J("matTooltipDisabled",!i.disableRemoveButton)("disabled",i.disableRemoveButton)("matMenuTriggerFor",a),v.xp6(2),v.hij(" ",v.lcZ(3,7,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE")," ")}}function Ja(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",7),v.NdJ("click",function(){return v.CHM(i),v.oxw().removeTaskResults()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_TASK_RESULTS")," "))}function Qa(e,t){1&e&&v._UZ(0,"mat-spinner",14)}function za(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-services-status-list",15),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)})("selectionChange",function(){return v.CHM(i),v.oxw().selectionChanged()}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("servicesStatus",a.servicesStates)("selection",a.selected)("disableRouting",!a.routeAuth)}}var Ha=function(){var e=function(){function e(t,i,a,n,l,r,o,c,u,d){var h=this;s(this,e),this.route=t,this.tasksManager=i,this.tableConfigService=a,this.servicesManager=n,this.notificator=l,this.translate=r,this.authResolver=o,this.facilityManager=c,this.resourcesManager=u,this.dialog=d,this.servicesStates=[],this.selected=new Oe.Ov(!0,[]),this.filterValue="",this.tableId=xe.oK,this.disableAllowButton=!0,this.disableBlockButton=!0,this.disableRemoveButton=!0,r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_FORCE_PROPAGATION").subscribe(function(e){return h.successFPMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_ALLOW").subscribe(function(e){return h.successAllowMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_BLOCK").subscribe(function(e){return h.successBlockMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.SUCCESS_DELETE").subscribe(function(e){return h.successDeleteMessage=e}),r.get("FACILITY_DETAIL.SERVICES_STATUS.ALREADY_DELETED").subscribe(function(e){return h.allreadyDeletedMessage=e})}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilityId=parseInt(t.facilityId,10),e.facility={id:e.facilityId,beanName:"Facility"},e.refreshTable()})}},{key:"forcePropagation",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.forceServicePropagation(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successFPMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"allow",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.unblockServiceOnFacility(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successAllowMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"block",value:function(){var e,t=this,a=i(this.selected.selected);try{for(a.s();!(e=a.n()).done;){var n=e.value;this.servicesManager.blockServiceOnFacility(n.service.id,n.facility.id).subscribe(function(){t.refreshTable(),t.notificator.showSuccess(t.successBlockMessage)})}}catch(s){a.e(s)}finally{a.f()}}},{key:"removeTaskResults",value:function(){var e=this;this.tasksManager.getTaskResultsForGUIByTask(this.selected.selected[0].task.id).subscribe(function(t){var i=(0,p.kZ)();i.width="600px",i.data={theme:"facility-theme",taskResults:t},e.dialog.open(Wi,i)})}},{key:"removeServiceFromFacility",value:function(){var e=this;this.facilityManager.getAssignedResourcesByAssignedServiceForFacility(this.selected.selected[0].facility.id,this.selected.selected[0].service.id).subscribe(function(t){var i=(0,p.kZ)();i.width="600px",e.taskId=e.taskIsNull?null:e.selected.selected[0].task.id,0===t.length?(i.data={theme:"facility-theme",taskId:e.taskId},e.dialog.open(oa,i).afterClosed().subscribe(function(t){t&&(e.disableRemoveButton=!0,e.refreshTable())})):e.resourcesManager.getRichResourcesByIds(t.map(function(e){return e.id})).subscribe(function(t){i.data={theme:"facility-theme",taskId:e.taskId,serviceId:e.selected.selected[0].service.id,facilityId:e.selected.selected[0].facility.id,resource:t},e.dialog.open(sa,i).afterClosed().subscribe(function(t){t&&(e.disableRemoveButton=!0,e.refreshTable())})})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.tasksManager.getFacilityServicesState(this.facilityId).subscribe(function(t){e.servicesStates=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){this.propagationAuth=this.authResolver.isAuthorized("forceServicePropagation_Facility_Service_policy",[this.facility]),this.blockAuth=this.authResolver.isAuthorized("blockServiceOnFacility_Service_Facility_policy",[this.facility]),this.allowAuth=this.authResolver.isAuthorized("unblockServiceOnFacility_Service_Facility_policy",[this.facility]),this.deleteAuth=this.authResolver.isAuthorized("deleteTask_Task_policy",[this.facility]),this.routeAuth=this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[this.facility])}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"selectionChanged",value:function(){this.disableBlockButton=!0,this.disableAllowButton=!0,this.disableRemoveButton=1!==this.selected.selected.length,this.disableRemoveButton||(this.taskIsNull=null===this.selected.selected[0].task);var e,t=i(this.selected.selected);try{for(t.s();!(e=t.n()).done;){e.value.blockedOnFacility?this.disableAllowButton=!1:this.disableBlockButton=!1}}catch(a){t.e(a)}finally{t.f()}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(f.Ob),v.Y36(xe.dB),v.Y36(f.KK),v.Y36(g.V6),v.Y36(_.sK),v.Y36(g.x4),v.Y36(f.IQ),v.Y36(f.xk),v.Y36(A.uw))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-service-status"]],decls:18,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mr-2","dropdown-toggle",3,"matTooltip","matTooltipDisabled","disabled","matMenuTriggerFor"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","servicesStatus","selection","disableRouting","page","selectionChange"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.YNc(5,Ma,3,4,"button",2),v.YNc(6,Fa,3,4,"button",2),v.YNc(7,qa,3,4,"button",3),v.YNc(8,Ua,4,9,"button",4),v.TgZ(9,"mat-menu",null,5),v.YNc(11,Ja,3,3,"button",6),v.TgZ(12,"button",7),v.NdJ("click",function(){return t.removeServiceFromFacility()}),v._uU(13),v.ALo(14,"translate"),v.qZA(),v.qZA(),v.TgZ(15,"perun-web-apps-immediate-filter",8),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(16,Qa,1,0,"mat-spinner",9),v.YNc(17,za,1,5,"perun-web-apps-services-status-list",10),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,10,"FACILITY_DETAIL.SERVICES_STATUS.TITLE")),v.xp6(3),v.Q6J("ngIf",!t.loading&&t.propagationAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.allowAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.blockAuth),v.xp6(1),v.Q6J("ngIf",!t.loading&&t.deleteAuth),v.xp6(3),v.Q6J("ngIf",!t.taskIsNull),v.xp6(2),v.Oqu(v.lcZ(14,12,"FACILITY_DETAIL.SERVICES_STATUS.REMOVE_SERVICE_FROM_FACILITY")),v.xp6(2),v.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.SERVICES_STATUS_LIST.TABLE_SEARCH"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading))},directives:[Be.t,o.O5,ca.VK,ca.OP,Ge.L,Z.lW,E.gM,ca.p6,y.$g,Ya],pipes:[_.X$],styles:[""]}),e}(),Va=l(91058),Pa=l(86593);function Ba(e,t){1&e&&v._UZ(0,"mat-spinner",6)}function Ga(e,t){1&e&&(v.TgZ(0,"app-alert",7),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_USERS.NO_USERS")," "))}var $a=function(){return["id","name"]};function ja(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"app-users-list",8),v.NdJ("page",function(e){return v.CHM(i),v.oxw().pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw();v.Q6J("pageSize",a.pageSize)("users",a.users)("displayedColumns",v.DdM(5,$a))("disableRouting",!a.routeAuth)("filter",a.filterValue)}}var Ka=function(){var e=function(){function e(t,i,a,n){s(this,e),this.route=t,this.facilityService=i,this.tableConfigService=a,this.authResolver=n,this.loading=!1,this.filterValue="",this.tableId=xe.z6}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilityId=t.facilityId,e.routeAuth=e.authResolver.isPerunAdminOrObserver(),e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilityService.getAssignedUsers(this.facilityId).subscribe(function(t){e.users=t,e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(f.IQ),v.Y36(xe.dB),v.Y36(g.x4))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-allowed-users"]],decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[3,"pageSize","users","displayedColumns","disableRouting","filter","page"]],template:function(e,t){1&e&&(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 t.refreshTable()}),v.qZA(),v.TgZ(5,"perun-web-apps-debounce-filter",2),v.NdJ("filter",function(e){return t.applyFilter(e)}),v.qZA(),v.YNc(6,Ba,1,0,"mat-spinner",3),v.YNc(7,Ga,3,3,"app-alert",4),v.YNc(8,ja,1,6,"app-users-list",5),v.qZA()),2&e&&(v.xp6(2),v.Oqu(v.lcZ(3,5,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),v.xp6(3),v.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),v.xp6(1),v.Q6J("ngIf",t.loading),v.xp6(1),v.Q6J("ngIf",!t.loading&&(void 0===t.users||0===t.users.length)),v.xp6(1),v.Q6J("ngIf",!t.loading&&0!==t.users.length))},directives:[Be.t,Va.P,o.O5,y.$g,Mt.w,Pa.C],pipes:[_.X$],styles:[""]}),e}(),Wa=l(95142);function Xa(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"th",19),v.TgZ(1,"mat-checkbox",20),v.NdJ("change",function(e){v.CHM(i);var t=v.oxw();return e?t.masterToggle():null}),v.qZA(),v.qZA()}if(2&e){var a=v.oxw();v.xp6(1),v.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function en(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"td",21),v.TgZ(1,"mat-checkbox",22),v.NdJ("change",function(e){var t=v.CHM(i).$implicit,a=v.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),v.qZA(),v.qZA()}if(2&e){var a=t.$implicit,n=v.oxw();v.xp6(1),v.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function tn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RESULT_ID")))}function an(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.id)}}function nn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.DESTINATION")))}function sn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.destination.destination)}}function ln(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TYPE")))}function rn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.destination.type.toUpperCase())}}function on(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.SERVICE")))}function cn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.service.name)}}function un(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STATUS")))}function dn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.status)}}function hn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.TIME")))}function fn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.ALo(2,"date"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,i.timestamp,"d.M.y H:mm:ss"))}}function pn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.RETURN_CODE")))}function gn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.returnCode)}}function mn(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.STANDARD_MESSAGE")))}function Sn(e,t){if(1&e&&(v.TgZ(0,"span"),v._uU(1),v._UZ(2,"br"),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i)}}function vn(e,t){if(1&e&&(v.TgZ(0,"td",21),v.YNc(1,Sn,3,1,"span",24),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Q6J("ngForOf",i.standardMessage.split("\n"))}}function An(e,t){1&e&&(v.TgZ(0,"th",23),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.ERROR_MESSAGE")))}function Tn(e,t){if(1&e&&(v.TgZ(0,"td",21),v._uU(1),v.qZA()),2&e){var i=t.$implicit;v.xp6(1),v.Oqu(i.errorMessage)}}function In(e,t){1&e&&v._UZ(0,"tr",25)}function yn(e,t){if(1&e&&v._UZ(0,"tr",26),2&e){var i=t.$implicit;v.ekj("greenTableItem","DONE"===i.status)("redTableItem","ERROR"===i.status||"DENIED"===i.status)("yellowTableItem","WARNING"===i.status)}}function bn(e,t){1&e&&(v.TgZ(0,"app-alert",27),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function En(e,t){1&e&&(v.TgZ(0,"app-alert",27),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&e&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.TASK_RESULTS_LIST.NO_RESULTS_WARNING"),"\n"))}var Cn=function(){var e=function(){function e(t,i){s(this,e),this.authResolver=t,this.tableCheckbox=i,this.pageSizeOptions=p.f7,this.taskResults=[],this.selection=new Oe.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.page=new v.vpe}return r(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new rt.by(this.taskResults),this.setDataSource(),this.dataSource.filter=this.filterValue}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,o.p6)(e.timestamp.toString(),"d.M.y H:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}},{key:"getSortDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"destination":return e.destination.destination;case"type":return e.destination.type;case"service":return e.service.name;case"status":return e.status;case"time":return(0,o.p6)(e.timestamp.toString(),"yyyy.MM.dd HH:mm:ss","en");case"returnCode":return e.returnCode.toString();case"standardMessage":return e.standardMessage;case"errorMessage":return e.errorMessage;default:return""}}},{key:"exportData",value:function(e){(0,p.O6)((0,p.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue,this.dataSource.filterPredicate=function(t,i){return(0,p.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,p.pR)(t,i,e.getSortDataForColumn,e)})}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(g.x4),v.Y36(g.UA))},e.\u0275cmp=v.Xpm({type:e,selectors:[["perun-web-apps-task-results-list"]],viewQuery:function(e,t){var i;(1&e&&(v.Gf(Nt.YE,7),v.Gf(p.l9,7)),2&e)&&(v.iGM(i=v.CRH())&&(t.matSort=i.first),v.iGM(i=v.CRH())&&(t.child=i.first))},inputs:{taskResults:"taskResults",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[v.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","time","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","destination"],["matColumnDef","type"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","time"],["matColumnDef","returnCode"],["matColumnDef","standardMessage"],["matColumnDef","errorMessage"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"greenTableItem","redTableItem","yellowTableItem",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],[4,"ngFor","ngForOf"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),v.TgZ(2,"table",2),v.ynx(3,3),v.YNc(4,Xa,2,3,"th",4),v.YNc(5,en,2,2,"td",5),v.BQk(),v.ynx(6,6),v.YNc(7,tn,3,3,"th",7),v.YNc(8,an,2,1,"td",5),v.BQk(),v.ynx(9,8),v.YNc(10,nn,3,3,"th",7),v.YNc(11,sn,2,1,"td",5),v.BQk(),v.ynx(12,9),v.YNc(13,ln,3,3,"th",7),v.YNc(14,rn,2,1,"td",5),v.BQk(),v.ynx(15,10),v.YNc(16,on,3,3,"th",7),v.YNc(17,cn,2,1,"td",5),v.BQk(),v.ynx(18,11),v.YNc(19,un,3,3,"th",7),v.YNc(20,dn,2,1,"td",5),v.BQk(),v.ynx(21,12),v.YNc(22,hn,3,3,"th",7),v.YNc(23,fn,3,4,"td",5),v.BQk(),v.ynx(24,13),v.YNc(25,pn,3,3,"th",7),v.YNc(26,gn,2,1,"td",5),v.BQk(),v.ynx(27,14),v.YNc(28,mn,3,3,"th",7),v.YNc(29,vn,2,1,"td",5),v.BQk(),v.ynx(30,15),v.YNc(31,An,3,3,"th",7),v.YNc(32,Tn,2,1,"td",5),v.BQk(),v.YNc(33,In,1,0,"tr",16),v.YNc(34,yn,1,6,"tr",17),v.qZA(),v.qZA(),v.qZA(),v.YNc(35,bn,3,3,"app-alert",18),v.YNc(36,En,3,3,"app-alert",18)),2&e&&(v.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.taskResults.length),v.xp6(1),v.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),v.xp6(1),v.Q6J("dataSource",t.dataSource),v.xp6(31),v.Q6J("matHeaderRowDef",t.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",t.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.taskResults.length),v.xp6(1),v.Q6J("ngIf",0===t.taskResults.length))},directives:[wt.l,rt.BZ,Nt.YE,rt.w1,rt.fO,rt.Dz,rt.as,rt.nj,o.O5,rt.ge,ue.oG,rt.ev,Nt.nU,o.sg,rt.XQ,rt.Gk,Mt.w],pipes:[_.X$,o.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}"]}),e}();function Zn(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(i),v.oxw(2).removeTaskResult()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("disabled",0===a.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"FACILITY_DETAIL.TASK_RESULTS.REMOVE")," ")}}function _n(e,t){1&e&&v._UZ(0,"mat-spinner",9)}function kn(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"perun-web-apps-task-results-list",10),v.NdJ("page",function(e){return v.CHM(i),v.oxw(2).pageChanged(e)}),v.qZA()}if(2&e){var a=v.oxw(2);v.Q6J("displayedColumns",a.displayedColumns)("filterValue",a.filterValue)("pageSize",a.pageSize)("selection",a.selection)("taskResults",a.taskResults)}}function Ln(e,t){if(1&e){var i=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"h1",1),v._uU(2),v.ALo(3,"translate"),v.TgZ(4,"span",2),v._uU(5),v.qZA(),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return v.CHM(i),v.oxw().refreshTable()}),v.qZA(),v.YNc(7,Zn,3,4,"button",4),v.TgZ(8,"perun-web-apps-immediate-filter",5),v.NdJ("filter",function(e){return v.CHM(i),v.oxw().applyFilter(e)}),v.qZA(),v.YNc(9,_n,1,0,"mat-spinner",6),v.YNc(10,kn,1,5,"perun-web-apps-task-results-list",7),v.qZA()}if(2&e){var a=v.oxw();v.xp6(2),v.AsE("",v.lcZ(3,7,"FACILITY_DETAIL.TASK_RESULTS.TITLE")," - ",a.task.service.name," "),v.xp6(3),v.hij(" \xa0#",a.task.id," "),v.xp6(2),v.Q6J("ngIf",!a.loading&&a.removeAuth),v.xp6(1),v.Q6J("placeholder","FACILITY_DETAIL.TASK_RESULTS.FILTER"),v.xp6(1),v.Q6J("ngIf",a.loading),v.xp6(1),v.Q6J("ngIf",!a.loading)}}var xn,On=function(){var e=function(){function e(t,i,a,n,l){s(this,e),this.route=t,this.tableConfigService=i,this.taskManager=a,this.authResolver=n,this.dialog=l,this.loading=!1,this.filterValue="",this.selection=new Oe.Ov(!0,[]),this.tableId=xe.e5,this.displayedColumns=["select","id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"],this.removeAuth=!1}return r(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facility={id:parseInt(t.facilityId,10),beanName:"Facility"},e.removeAuth=e.authResolver.isAuthorized("deleteTask_Task_policy",[e.facility]),e.removeAuth||(e.displayedColumns=["id","destination","type","service","status","time","returnCode","standardMessage","errorMessage"]),e.route.params.subscribe(function(t){e.taskId=t.taskId,e.taskManager.getTaskById(e.taskId).subscribe(function(t){e.task=t,e.refreshTable()})})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.taskManager.getTaskResultsForGUIByTask(this.taskId).subscribe(function(t){e.selection.clear(),e.taskResults=t,e.loading=!1})}},{key:"removeTaskResult",value:function(){var e=this,t=(0,p.kZ)();t.width="600px",t.data={theme:"facility-theme",taskResults:this.selection.selected},this.dialog.open(Wi,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Y36(c.gz),v.Y36(xe.dB),v.Y36(f.Ob),v.Y36(g.x4),v.Y36(A.uw))},e.\u0275cmp=v.Xpm({type:e,selectors:[["app-facility-task-results"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"page-subtitle"],[1,"text-muted"],[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,"displayedColumns","filterValue","pageSize","selection","taskResults","page",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filterValue","pageSize","selection","taskResults","page"]],template:function(e,t){1&e&&v.YNc(0,Ln,11,9,"div",0),2&e&&v.Q6J("ngIf",!t.loading)},directives:[o.O5,Be.t,Ge.L,Z.lW,y.$g,Cn],pipes:[_.X$],styles:[""]}),e}(),Dn=l(53134),Rn=[{path:"",component:u.P},{path:":facilityId",component:N,children:[{path:"",component:F,data:{animation:"FacilityOverviewPage"}},{path:"attributes",component:te,data:{animation:"FacilityAttributesPage"}},{path:"resources",component:q.f,data:{animation:"FacilityResourcesPage"}},{path:"allowed-users",component:Ka,data:{animation:"FacilityAllowedUsersPage"}},{path:"allowed-groups",component:U.o,data:{animation:"FacilityAllowedGroupsPage"}},{path:"services-status",component:Ha,data:{animation:"FacilityServiceStatusPage"}},{path:"services-status/:taskId",component:On,data:{animation:"FacilityTaskResultsPage"}},{path:"service-config",component:Ze,data:{animation:"FacilityServiceConfigPage"}},{path:"services-destinations",component:it,data:{animation:"FacilityServicesDestinationsPage"}},{path:"hosts",component:ei,data:{animation:"FacilityHostsPage"}},{path:"hosts/:hostId",component:bi,data:{animation:"FacilityHostsDetailPage"}},{path:"settings",component:z,children:[{path:"",component:P,data:{animation:"FacilitySettingsOverviewPage"}},{path:"owners",component:It,data:{animation:"FacilitySettingOwnersPage"}},{path:"managers",component:Le,data:{animation:"FacilitySettingsManagersPage"}},{path:"security-teams",component:qi,data:{animation:"FacilitySecurityTeamsPage"}},{path:"blacklist",component:mi,data:{animation:"FacilitySettingsBlackListPage"}}]}]},{path:":facilityId/resources/:resourceId",component:J.b,children:[{path:"",component:Q.H,data:{animation:"ResourceOverviewPage"}},{path:"attributes",component:ne.X,data:{animation:"ResourceAttributesPage"}},{path:"groups",component:se.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:Ji.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"members",component:Wa.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Dn.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:ie.t,children:[{path:"",component:ae.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:Ui.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}],Nn=function(){var e=function e(){s(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v.oAB({type:e}),e.\u0275inj=v.cJS({imports:[[c.Bz.forChild(Rn)],c.Bz]}),e}(),wn=l(28780),Yn=l(22727),Mn=l(6363),Fn=((xn=function e(){s(this,e)}).\u0275fac=function(e){return new(e||xn)},xn.\u0275mod=v.oAB({type:xn}),xn.\u0275inj=v.cJS({providers:[ce.dp],imports:[[o.ez,Nn,wn.m,Yn.r,Si.ez,ce.d4,Mn.UsersModule]]}),xn)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/363-es2015.9c3a7cea17cb338ca650.js b/dist/apps/admin-gui/363-es2015.6854c45126452ae56e78.js similarity index 99% rename from dist/apps/admin-gui/363-es2015.9c3a7cea17cb338ca650.js rename to dist/apps/admin-gui/363-es2015.6854c45126452ae56e78.js index ffe92252c..1b57e9e9e 100644 --- a/dist/apps/admin-gui/363-es2015.9c3a7cea17cb338ca650.js +++ b/dist/apps/admin-gui/363-es2015.6854c45126452ae56e78.js @@ -1 +1 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[363],{95690:function(e,t,s){"use strict";s.d(t,{u:function(){return f}});var i=s(88426),n=s(31572),r=s(57629),a=s(55109),o=s(61511),c=s(541),p=s(69012),l=s(48160);function u(e,t){1&e&&(n._uU(0),n.ALo(1,"translate")),2&e&&n.hij(" ",n.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function g(e,t){if(1&e&&n._UZ(0,"app-one-entity-attribute-page",5),2&e){const e=n.oxw();n.Q6J("entityId",e.userId)("entity","user")}}function d(e,t){1&e&&(n._uU(0),n.ALo(1,"translate"),n.ALo(2,"translate")),2&e&&n.AsE(" ",n.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",n.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function m(e,t){if(1&e&&n._UZ(0,"app-two-entity-attribute-page",6),2&e){const e=n.oxw(2);n.Q6J("firstEntity","user")("firstEntityId",e.userId)("secondEntity","facility")}}function h(e,t){1&e&&(n.TgZ(0,"mat-tab"),n.YNc(1,d,3,6,"ng-template",2),n.YNc(2,m,1,3,"ng-template",3),n.qZA())}let f=(()=>{class e{constructor(e,t,s){this.route=e,this.store=t,this.authResolver=s}ngOnInit(){this.route.parent.params.subscribe(e=>{this.userId=e.userId,void 0===this.userId&&(this.userId=this.store.getPerunPrincipal().userId),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{id:this.userId,beanName:"User"}])})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(i.d6),n.Y36(i.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-user-settings-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("router-component",t.true)},decls:8,vars:4,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entityId","entity"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"mat-tab-group"),n.TgZ(4,"mat-tab",1),n.YNc(5,u,2,3,"ng-template",2),n.YNc(6,g,1,2,"ng-template",3),n.qZA(),n.YNc(7,h,3,0,"mat-tab",4),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,2,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),n.xp6(6),n.Q6J("ngIf",t.userFacilityAttAuth))},directives:[a.SP,a.uX,a.uD,a.Vc,o.O5,c.t,p.Y],pipes:[l.X$],styles:[""]}),e})()},31612:function(e,t,s){"use strict";s.d(t,{u:function(){return T}});var i=s(88426),n=s(33642),r=s(60611),a=s(31572),o=s(57629),c=s(61511),p=s(59403),l=s(19139),u=s(67806),g=s(78364),d=s(48160);function m(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_MEMBER"),"\n"))}function f(e,t){1&e&&a._UZ(0,"mat-spinner",7)}const Z=function(){return["id","vo","name","description","status"]};function I(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw().pageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("pageSize",e.pageSize)("groups",e.membersGroups)("displayedColumns",a.DdM(5,Z))("disableMembers",!1)("filter",e.memberFilterValue)}}function S(e,t){1&e&&a._UZ(0,"mat-spinner",7)}const A=function(){return["id","vo","name","description"]};function E(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw(2).adminPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("pageSize",e.adminPageSize)("groups",e.adminsGroups)("displayedColumns",a.DdM(5,A))("disableMembers",!1)("filter",e.adminFilterValue)}}function b(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",9),a.TgZ(1,"h1",6),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return a.CHM(e),a.oxw().refreshAdminTable()}),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(t){return a.CHM(e),a.oxw().adminFilter(t)}),a.qZA(),a.YNc(6,S,1,0,"mat-spinner",3),a.YNc(7,E,1,6,"perun-web-apps-groups-list",4),a.qZA()}if(2&e){const e=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,4,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_ADMIN")," "),a.xp6(3),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",e.adminRefresh),a.xp6(1),a.Q6J("ngIf",!e.adminRefresh)}}let T=(()=>{class e{constructor(e,t,s,i,n,a){this.usersService=e,this.memberService=t,this.tableConfigService=s,this.groupService=i,this.store=n,this.route=a,this.memberFilterValue="",this.adminFilterValue="",this.vos=[],this.membersGroups=[],this.adminsGroups=[],this.tableId=r.KE,this.adminTableId=r.Sb}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(e=>this.userId=e.userId),this.refreshAdminTable(),this.refreshMemberTable()}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}adminPageChanged(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}memberFilter(e){this.memberFilterValue=e}adminFilter(e){this.adminFilterValue=e}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(e=>{this.adminsGroups=e,this.adminRefresh=!1})}refreshMemberTable(){this.memberRefresh=!0,this.membersGroups=[],this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e;for(const t of this.vos)this.memberService.getMemberByUser(t.id,this.userId).subscribe(e=>{this.groupService.getMemberGroups(e.id).subscribe(e=>{this.membersGroups=this.membersGroups.concat(e),this.vos.indexOf(t)===this.vos.length-1&&(this.memberRefresh=!1)})});0===e.length&&(this.memberRefresh=!1)})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.Fv),a.Y36(n.uq),a.Y36(r.dB),a.Y36(n.ff),a.Y36(i.d6),a.Y36(o.gz))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,t){1&e&&(a.YNc(0,m,3,3,"h1",0),a.YNc(1,h,3,3,"h1",0),a.TgZ(2,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return t.refreshMemberTable()}),a.qZA(),a.TgZ(3,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(e){return t.memberFilter(e)}),a.qZA(),a.YNc(4,f,1,0,"mat-spinner",3),a.YNc(5,I,1,6,"perun-web-apps-groups-list",4),a.YNc(6,b,8,6,"div",5)),2&e&&(a.Q6J("ngIf",t.showPrincipal),a.xp6(1),a.Q6J("ngIf",!t.showPrincipal),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.showPrincipal))},directives:[c.O5,p.t,l.L,u.$g,g.W],pipes:[d.X$],styles:[""]}),e})()},15879:function(e,t,s){"use strict";s.d(t,{j:function(){return E}});var i=s(33642),n=s(88426),r=s(60611),a=s(31572),o=s(57629),c=s(61511),p=s(59403),l=s(19139),u=s(67806),g=s(97162),d=s(48160);function m(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function f(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function Z(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-vos-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw().memberPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("displayedColumns",e.displayedColumns)("pageSize",e.memberPageSize)("filterValue",e.memberFilterValue)("vos",e.vosWhereIsMember)}}function I(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function S(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-vos-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw(2).adminPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("displayedColumns",e.displayedColumns)("pageSize",e.adminPageSize)("filterValue",e.adminFilterValue)("vos",e.vosWhereIsAdmin)}}function A(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",9),a.TgZ(1,"h1",6),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return a.CHM(e),a.oxw().refreshAdminTable()}),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(t){return a.CHM(e),a.oxw().applyAdminFilter(t)}),a.qZA(),a.YNc(6,I,1,0,"mat-spinner",3),a.YNc(7,S,1,4,"perun-web-apps-vos-list",4),a.qZA()}if(2&e){const e=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),a.xp6(3),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",e.adminRefresh),a.xp6(1),a.Q6J("ngIf",!e.adminRefresh)}}let E=(()=>{class e{constructor(e,t,s,i,n){this.usersService=e,this.authResolver=t,this.tableConfigService=s,this.store=i,this.route=n,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=r.YF,this.memberTableId=r.gc}ngOnInit(){this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),this.memberPageSize=this.tableConfigService.getTablePageSize(this.memberTableId),!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(e=>this.userId=e.userId),this.refreshAdminTable(),this.refreshMemberTable()}refreshMemberTable(){this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vosWhereIsMember=e,this.memberRefresh=!1},()=>this.memberRefresh=!1)}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vosWhereIsAdmin=e,this.adminRefresh=!1},()=>this.adminRefresh=!1)}applyMemberFilter(e){this.memberFilterValue=e}adminPageChanged(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}memberPageChanged(e){this.memberPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.memberTableId,e.pageSize)}applyAdminFilter(e){this.adminFilterValue=e}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.Fv),a.Y36(n.x4),a.Y36(r.dB),a.Y36(n.d6),a.Y36(o.gz))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","pageSize","filterValue","vos","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","pageSize","filterValue","vos","page"],[1,"mt-5"]],template:function(e,t){1&e&&(a.YNc(0,m,3,3,"h1",0),a.YNc(1,h,3,3,"h1",0),a.TgZ(2,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return t.refreshMemberTable()}),a.qZA(),a.TgZ(3,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(e){return t.applyMemberFilter(e)}),a.qZA(),a.YNc(4,f,1,0,"mat-spinner",3),a.YNc(5,Z,1,4,"perun-web-apps-vos-list",4),a.YNc(6,A,8,6,"div",5)),2&e&&(a.Q6J("ngIf",t.isMyProfile),a.xp6(1),a.Q6J("ngIf",!t.isMyProfile),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.isMyProfile))},directives:[c.O5,p.t,l.L,u.$g,g.Z],pipes:[d.X$],styles:[""]}),e})()},71956:function(e,t,s){"use strict";s.d(t,{Z:function(){return R}});var i=s(33642),n=s(67033),r=s(88426),a=s(67004),o=s(84140),c=s(61189),p=s(31572),l=s(57629),u=s(84608),g=s(61511),d=s(8557),m=s(27439),h=s(15980),f=s(43691),Z=s(48160);function I(e,t){1&e&&p._UZ(0,"th",12)}function S(e,t){if(1&e&&(p.TgZ(0,"td",13),p._uU(1),p.qZA()),2&e){const e=t.$implicit;p.xp6(1),p.hij(" ",e.displayName,": ")}}function A(e,t){1&e&&p._UZ(0,"th",12)}function E(e,t){if(1&e){const e=p.EpF();p.TgZ(0,"td",14),p._uU(1),p.TgZ(2,"button",15),p.NdJ("click",function(){return p.CHM(e),p.oxw(2).changeEmail()}),p.TgZ(3,"mat-icon"),p._uU(4,"edit"),p.qZA(),p.qZA(),p.qZA()}if(2&e){const e=t.$implicit;p.xp6(1),p.hij(" ",e.value," ")}}function b(e,t){1&e&&p._UZ(0,"tr",16)}function T(e,t){if(1&e&&(p.TgZ(0,"div",2),p.TgZ(1,"mat-card",3),p.TgZ(2,"mat-card-header"),p.TgZ(3,"mat-card-title"),p.TgZ(4,"h1",4),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(7,"mat-card-content"),p.TgZ(8,"table",5),p.ynx(9,6),p.YNc(10,I,1,0,"th",7),p.YNc(11,S,2,1,"td",8),p.BQk(),p.ynx(12,9),p.YNc(13,A,1,0,"th",7),p.YNc(14,E,5,1,"td",10),p.BQk(),p.YNc(15,b,1,0,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){const e=p.oxw();p.xp6(5),p.Oqu(p.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),p.xp6(3),p.Q6J("dataSource",e.mailDataSource),p.xp6(7),p.Q6J("matRowDefColumns",e.displayedColumns)}}let R=(()=>{class e{constructor(e,t,s,i,n){this.userService=e,this.attributeService=t,this.storeService=s,this.route=i,this.dialog=n,this.navItems=[],this.displayedColumns=["name","value"],this.inMyProfile=!1}ngOnInit(){this.route.params.subscribe(e=>{void 0!==e.userId?this.userService.getUserById(e.userId).subscribe(e=>{this.user=e,this.initNavItems()}):(this.inMyProfile=!0,this.userID=this.storeService.getPerunPrincipal().user.id,this.attributeService.getUserAttributeByName(this.userID,a.r.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.by([this.preferredMail]),this.initNavItems()}))})}initNavItems(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-group",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-group",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"},{cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}changeEmail(){const e=(0,o.kZ)();e.width="350px",e.data={userId:this.userID},this.dialog.open(c.gr,e).afterClosed().subscribe(e=>{e&&this.attributeService.getUserAttributeByName(this.userID,a.r.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.by([this.preferredMail])})})}handleMailNotDefined(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,o.Cz)(a.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}return e.\u0275fac=function(t){return new(t||e)(p.Y36(i.Fv),p.Y36(i.H8),p.Y36(r.d6),p.Y36(l.gz),p.Y36(u.uw))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&p.ekj("router-component",t.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(e,t){1&e&&(p.YNc(0,T,16,5,"div",0),p._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(p.Q6J("ngIf",t.inMyProfile),p.xp6(1),p.Q6J("items",t.navItems)("size","small"))},directives:[g.O5,d.L,m.a8,m.dk,m.n5,m.dn,n.BZ,n.w1,n.fO,n.Dz,n.nj,n.ge,n.ev,h.lW,f.Hw,n.Gk],pipes:[Z.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e})()},7233:function(e,t,s){"use strict";s.d(t,{t:function(){return Pe}});var i=s(33642),n=s(88426),r=s(31572),a=s(57629),o=s(61511),c=s(67806),p=s(45001),l=s(43691),u=s(27439),g=s(97162),d=s(86593),m=s(78364),h=s(88884),f=s(60007),Z=s(4252),I=s(48160);function S(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function A(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function E(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function b(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_VOS")," "))}function T(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function R(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}const v=function(){return["user","id","name"]};function x(e,t){if(1&e&&(r.TgZ(0,"div",11),r.YNc(1,T,3,3,"div",2),r.YNc(2,R,3,3,"div",2),r._UZ(3,"app-users-list",12),r.qZA()),2&e){const e=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!e.showDescription),r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("users",e.users)("disableRouting",!0)("displayedColumns",r.DdM(5,v))}}const N=function(){return["id","name","shortName"]};function U(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,E,3,3,"div",2),r.YNc(2,b,3,3,"div",2),r._UZ(3,"perun-web-apps-vos-list",9),r.YNc(4,x,4,6,"div",10),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",!e.showDescription),r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(5,N))("vos",e.vos),r.xp6(1),r.Q6J("ngIf",e.users.length)}}function O(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getSelfData()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,A,1,0,"mat-spinner",1),r.YNc(8,U,5,6,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SELF")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function _(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function M(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}const q=function(){return["id","vo","name","description"]};function w(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,M,3,3,"div",2),r._UZ(2,"perun-web-apps-groups-list",14),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("groups",e.groups)("displayedColumns",r.DdM(3,q))}}function C(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminGroupsAndVos()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",13),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,_,1,0,"mat-spinner",1),r.YNc(8,w,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.GROUPADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function L(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function Y(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}const J=function(){return["id","recent","vo","name","description"]};function P(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,Y,3,3,"div",2),r._UZ(2,"perun-web-apps-groups-list",14),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("groups",e.groups)("displayedColumns",r.DdM(3,J))}}function y(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",13),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,L,1,0,"mat-spinner",1),r.YNc(8,P,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.GROUPOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function D(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function F(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function Q(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,F,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function V(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminVos()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,D,1,0,"mat-spinner",1),r.YNc(8,Q,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.VOADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function z(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function B(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function G(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,B,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function k(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("VOOBSERVER").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,z,1,0,"mat-spinner",1),r.YNc(8,G,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.VOOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function H(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function j(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function W(e,t){if(1&e&&(r.TgZ(0,"div"),r.TgZ(1,"div"),r.YNc(2,j,3,3,"div",2),r._UZ(3,"perun-web-apps-vos-list",9),r.qZA(),r.qZA()),2&e){const e=r.oxw(3);r.xp6(2),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function X(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,H,1,0,"mat-spinner",1),r.YNc(8,W,4,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function $(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function K(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ee(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,K,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function te(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("TOPGROUPCREATOR").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,$,1,0,"mat-spinner",1),r.YNc(8,ee,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function se(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ie(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}const ne=function(){return["id","name","vo","facility","description"]};function re(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ie,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function ae(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCEADMIN")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,se,1,0,"mat-spinner",1),r.YNc(8,re,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCEADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function oe(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ce(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function pe(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ce,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function le(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCEOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,oe,1,0,"mat-spinner",1),r.YNc(8,pe,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function ue(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ge(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function de(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ge,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function me(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,ue,1,0,"mat-spinner",1),r.YNc(8,de,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function he(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function fe(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}const Ze=function(){return["id","name","description"]};function Ie(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,fe,3,3,"div",2),r._UZ(2,"perun-web-apps-facilities-list",19),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,Ze))("facilities",e.facilities)}}function Se(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminFacilities()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",18),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,he,1,0,"mat-spinner",1),r.YNc(8,Ie,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.FACILITYADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Ae(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function Ee(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function be(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,Ee,3,3,"div",2),r._UZ(2,"perun-web-apps-facilities-list",19),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,Ze))("facilities",e.facilities)}}function Te(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getFacilities("FACILITYOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",18),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Ae,1,0,"mat-spinner",1),r.YNc(8,be,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.FACILITYOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Re(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ve(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}const xe=function(){return["id","fullName","sponsored"]};function Ne(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ve,3,3,"div",2),r._UZ(2,"perun-web-apps-members-list",20),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("members",e.members)("displayedColumns",r.DdM(3,xe))}}function Ue(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getMembers()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Re,1,0,"mat-spinner",1),r.YNc(8,Ne,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SPONSORSHIP")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Oe(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function _e(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function Me(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,_e,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function qe(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("SPONSOR").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Oe,1,0,"mat-spinner",1),r.YNc(8,Me,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SPONSOR")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function we(e,t){1&e&&(r.TgZ(0,"mat-expansion-panel"),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(5),r.Oqu(r.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function Ce(e,t){1&e&&(r.TgZ(0,"mat-expansion-panel"),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(5),r.Oqu(r.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Le(e,t){if(1&e&&(r.TgZ(0,"p",22),r._uU(1),r.qZA()),2&e){const e=t.$implicit;r.xp6(1),r.AsE("",e[0]," ids: ",e[1],"")}}function Ye(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){const t=r.CHM(e).$implicit;return r.oxw(2).getInnerKeys(t)}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.qZA(),r.qZA(),r.qZA(),r.YNc(6,Le,2,2,"p",21),r.qZA()}if(2&e){const e=t.$implicit,s=r.oxw(2);r.xp6(5),r.Oqu(e),r.xp6(1),r.Q6J("ngForOf",s.currentIds)}}function Je(e,t){if(1&e&&(r.TgZ(0,"mat-accordion"),r.YNc(1,O,9,5,"mat-expansion-panel",4),r.YNc(2,C,9,5,"mat-expansion-panel",4),r.YNc(3,y,9,5,"mat-expansion-panel",4),r.YNc(4,V,9,5,"mat-expansion-panel",4),r.YNc(5,k,9,5,"mat-expansion-panel",4),r.YNc(6,X,9,5,"mat-expansion-panel",4),r.YNc(7,te,9,5,"mat-expansion-panel",4),r.YNc(8,ae,9,5,"mat-expansion-panel",4),r.YNc(9,le,9,5,"mat-expansion-panel",4),r.YNc(10,me,9,5,"mat-expansion-panel",4),r.YNc(11,Se,9,5,"mat-expansion-panel",4),r.YNc(12,Te,9,5,"mat-expansion-panel",4),r.YNc(13,Ue,9,5,"mat-expansion-panel",4),r.YNc(14,qe,9,5,"mat-expansion-panel",4),r.YNc(15,we,7,3,"mat-expansion-panel",2),r.YNc(16,Ce,7,3,"mat-expansion-panel",2),r.YNc(17,Ye,7,2,"mat-expansion-panel",5),r.qZA()),2&e){const e=r.oxw();r.xp6(1),r.Q6J("ngIf",e.isSelf),r.xp6(1),r.Q6J("ngIf",e.isGroupAdmin),r.xp6(1),r.Q6J("ngIf",e.isGroupObserver),r.xp6(1),r.Q6J("ngIf",e.isVoAdmin),r.xp6(1),r.Q6J("ngIf",e.isVoObserver),r.xp6(1),r.Q6J("ngIf",e.isTrustedFacilityAdmin),r.xp6(1),r.Q6J("ngIf",e.isTopGroupCreator),r.xp6(1),r.Q6J("ngIf",e.isResourceAdmin),r.xp6(1),r.Q6J("ngIf",e.isResourceObserver),r.xp6(1),r.Q6J("ngIf",e.isResourceSelfService),r.xp6(1),r.Q6J("ngIf",e.isFacilityAdmin),r.xp6(1),r.Q6J("ngIf",e.isFacilityObserver),r.xp6(1),r.Q6J("ngIf",e.hasSponsorship),r.xp6(1),r.Q6J("ngIf",e.isSponsor),r.xp6(1),r.Q6J("ngIf",e.isPerunAdmin),r.xp6(1),r.Q6J("ngIf",e.isPerunObserver),r.xp6(1),r.Q6J("ngForOf",e.roleNames)}}let Pe=(()=>{class e{constructor(e,t,s,i,n,r,a,o,c){this.authzResolverService=e,this.usersManagerService=t,this.vosManagerService=s,this.facilitiesManagerService=i,this.resourcesManagerService=n,this.membersManagerService=r,this.groupsManagerService=a,this.route=o,this.store=c,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}ngOnInit(){this.outerLoading=!0,this.route.parent.params.subscribe(e=>{e.userId?(this.userId=e.userId,this.authzResolverService.getUserRoleNames(this.userId).subscribe(e=>{this.roleNames=e.map(e=>e.toUpperCase()),this.authzResolverService.getUserRoles(this.userId).subscribe(e=>{this.prepareRoles(e)})})):(this.showDescription=!0,this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.userId,this.roleNames=Object.keys(this.principal.roles),this.prepareRoles(this.principal.roles))})}prepareRoles(e){this.roleNames.forEach(t=>{const s=new Map;switch(Object.keys(e[t]).forEach(i=>{s.set(i,e[t][i])}),t){case"SELF":this.isSelf=!0;break;case"GROUPADMIN":this.isGroupAdmin=!0;break;case"VOADMIN":this.isVoAdmin=!0;break;case"RESOURCEADMIN":this.isResourceAdmin=!0;break;case"FACILITYADMIN":this.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":this.isTopGroupCreator=!0;break;case"SPONSORSHIP":this.hasSponsorship=!0;break;case"SPONSOR":this.isSponsor=!0;break;case"RESOURCESELFSERVICE":this.isResourceSelfService=!0;break;case"VOOBSERVER":this.isVoObserver=!0;break;case"RESOURCEOBSERVER":this.isResourceObserver=!0;break;case"GROUPOBSERVER":this.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":this.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":this.isFacilityObserver=!0;break;case"PERUNADMIN":this.isPerunAdmin=!0;break;case"PERUNOBSERVER":this.isPerunObserver=!0}this.roles.set(t,s)}),this.roleNames=this.roleNames.filter(e=>!this.roleFilter.includes(e)),this.outerLoading=!1}getAdminGroupsAndVos(){this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(e=>{this.groups=e;const t=[...new Set(this.groups.map(e=>e.voId))];this.getVos(t)})}getVos(e){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(e).subscribe(e=>{this.vos=e,this.loading=!1})}getInnerKeys(e){if(this.roles.get(e)){const t=this.roles.get(e).entries(),s=[];let i=t.next().value;for(;i;)s.push(i),i=t.next().value;this.currentIds=s}else this.currentIds=[]}getAdminVos(){this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vos=e,this.loading=!1})}getAdminFacilities(){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(e=>{this.facilities=e.map(e=>({facility:e})),this.loading=!1})}getSelfData(){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e;const t=this.roles.get("SELF").get("User");t?this.usersManagerService.getUsersByIds(t).subscribe(e=>{this.users=e,this.loading=!1}):this.loading=!1})}getResourcesData(e){this.loading=!0;const t=this.roles.get(e).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(t).subscribe(e=>{this.resources=e,this.vos=this.resources.map(e=>e.vo).filter((e,t,s)=>s.indexOf(e)===t),this.facilities=this.resources.map(e=>({facility:e.facility})).filter((e,t,s)=>s.indexOf(e)===t),this.loading=!1})}getMembers(){this.loading=!0;const e=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(e).subscribe(e=>{this.members=e,this.loading=!1})}getGroupsAndVos(e){this.loading=!0;const t=this.roles.get(e).get("Vo"),s=this.roles.get(e).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(s).subscribe(e=>{this.groups=e,this.vosManagerService.getVosByIds(t).subscribe(e=>{this.vos=e,this.loading=!1})})}getFacilities(e){this.loading=!0,this.facilities=[];const t=this.roles.get(e).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(t).subscribe(e=>{this.facilities=e.map(e=>({facility:e})),this.loading=!1})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.Ct),r.Y36(i.Fv),r.Y36(i.YF),r.Y36(i.IQ),r.Y36(i.xk),r.Y36(i.uq),r.Y36(i.ff),r.Y36(a.gz),r.Y36(n.d6))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("router-component",t.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[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","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,t){1&e&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,S,1,0,"mat-spinner",1),r.YNc(4,Je,18,17,"mat-accordion",2)),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,3,"ROLES.TITLE")),r.xp6(2),r.Q6J("ngIf",t.outerLoading),r.xp6(1),r.Q6J("ngIf",!t.outerLoading))},directives:[o.O5,c.$g,p.pp,o.sg,p.ib,p.yz,p.yK,l.Hw,u.kc,g.Z,d.C,m.W,h.C,f.X,Z.O],pipes:[I.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),e})()},68787:function(e,t,s){"use strict";s.d(t,{x:function(){return u}});var i=s(33642),n=s(31572),r=s(57629),a=s(61511),o=s(67806),c=s(8557);function p(e,t){1&e&&n._UZ(0,"mat-spinner",2)}function l(e,t){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"perun-web-apps-menu-buttons-field",3),n.qZA()),2&e){const e=n.oxw();n.xp6(1),n.Q6J("items",e.navItems)("size","small")}}let u=(()=>{class e{constructor(e,t){this.route=e,this.userManager=t,this.navItems=[],this.loading=!1}ngOnInit(){window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.userManager.getUserById(e.userId).subscribe(e=>{this.isServiceUser=e.serviceUser,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})):this.initNavItems()}initNavItems(){this.navItems=[],window.location.pathname.startsWith("/admin")?this.navItems.push(this.isServiceUser?{cssIcon:"perun-service-identity",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}):this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings2",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(i.Fv))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(n.YNc(0,p,1,0,"mat-spinner",0),n.YNc(1,l,2,2,"div",1)),2&e&&(n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading))},directives:[a.O5,o.$g,c.L],styles:[""]}),e})()},40790:function(e,t,s){"use strict";s.d(t,{L:function(){return r}});var i=s(31572),n=s(21575);let r=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"app-animated-router-outlet")},directives:[n.A],styles:[""]}),e})()},6363:function(e,t,s){"use strict";s.r(t),s.d(t,{UsersModule:function(){return ge}});var i=s(61511),n=s(57629),r=s(15879),a=s(31612),o=s(40790),c=s(68787),p=s(95690),l=s(41939),u=s(84140),g=s(13857),d=s(31572),m=s(66283),h=s(4786),f=s(71522),Z=s(48160);function I(e,t){if(1&e&&(d.TgZ(0,"mat-option",5),d._uU(1),d.qZA()),2&e){const e=t.$implicit;d.Q6J("value",e),d.xp6(1),d.hij(" ",e," ")}}let S=(()=>{class e{constructor(e){this.guiConfigService=e,this.tablePageSizeOptions=u.f7}ngOnInit(){this.preferredTablePageSize=this.guiConfigService.getNumber(g.Rc)}updatePreferredTablePageSize(){this.guiConfigService.setNumber(g.Rc,this.preferredTablePageSize)}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(g.Ng))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(d.TgZ(0,"h1",0),d._uU(1),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"div",1),d.TgZ(4,"mat-form-field",2),d.TgZ(5,"mat-label"),d._uU(6),d.ALo(7,"translate"),d.qZA(),d.TgZ(8,"mat-select",3),d.NdJ("valueChange",function(e){return t.preferredTablePageSize=e})("valueChange",function(){return t.updatePreferredTablePageSize()}),d.YNc(9,I,2,2,"mat-option",4),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.xp6(1),d.Oqu(d.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),d.xp6(5),d.Oqu(d.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),d.xp6(2),d.Q6J("value",t.preferredTablePageSize),d.xp6(1),d.Q6J("ngForOf",t.tablePageSizeOptions))},directives:[m.KE,m.hX,h.gD,i.sg,f.ey],pipes:[Z.X$],styles:[""]}),e})();var A=s(71956),E=s(88426),b=s(48958),T=s(66297),R=s(43691),v=s(36922),x=s(21575),N=s(22196);const U=function(){return{color:"black"}},O=function(){return["/myProfile"]};function _(e,t){if(1&e&&(d.TgZ(0,"div",1),d._UZ(1,"perun-web-apps-back-button"),d.TgZ(2,"div",2),d._UZ(3,"mat-icon",3),d.ALo(4,"translate"),d.TgZ(5,"div",4),d.TgZ(6,"div",5),d.TgZ(7,"a",6),d._uU(8),d.ALo(9,"userFullName"),d.qZA(),d.TgZ(10,"span",7),d._uU(11),d.qZA(),d.qZA(),d.TgZ(12,"span",8),d._uU(13),d.ALo(14,"translate"),d.ALo(15,"translate"),d.qZA(),d.qZA(),d.qZA(),d._UZ(16,"app-animated-router-outlet"),d.qZA()),2&e){const e=d.oxw();d.xp6(3),d.s9C("matTooltip",d.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),d.Q6J("ngStyle",d.DdM(16,U)),d.xp6(4),d.Q6J("routerLink",d.DdM(17,O)),d.xp6(1),d.hij(" ",d.lcZ(9,10,e.user)," "),d.xp6(3),d.hij(" \xa0#",e.user.id," "),d.xp6(2),d.lnq(" ",d.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",d.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",e.getUserType()," ")}}let M=(()=>{class e{constructor(e,t,s){this.sideMenuService=e,this.store=t,this.router=s}ngOnInit(){this.path=this.router.url,this.router.events.subscribe(()=>{this.path=this.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}getUserType(){return this.user.serviceUser?"Service":"Person"}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(b.D),d.Y36(E.d6),d.Y36(n.F0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(e,t){1&e&&d.YNc(0,_,17,18,"div",0),2&e&&d.Q6J("ngIf",void 0!==t.user)},directives:[i.O5,T.W,R.Hw,v.gM,i.PC,n.yS,x.A],pipes:[Z.X$,N.d],styles:[""]}),e})();var q=s(7233);const w=[{path:"",component:M,children:[{path:"",component:A.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:p.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:r.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:a.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:q.t,data:{animation:"UserRolesPage"}},{path:"settings",component:o.L,children:[{path:"",component:c.x,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:l.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:S,data:{animation:"UserAppConfigurationPage"}}]}]}];let C=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[n.Bz.forChild(w)],n.Bz]}),e})();var L=s(40084),Y=s(80340),J=s(16073),P=s(25122),y=s(45001),D=s(15980),F=s(58623),Q=s(67033),V=s(55109),z=s(91010),B=s(29236),G=s(84608),k=s(71403),H=s(67806),j=s(45994),W=s(27521),X=s(15812),$=s(54810),K=s(27679),ee=s(73005),te=s(27439),se=s(70663),ie=s(88975),ne=s(10033),re=s(8055),ae=s(4253),oe=s(22727),ce=s(41050),pe=s(7423),le=s(22280),ue=s(28780);let ge=(()=>{class e{constructor(e){this.translate=e,e.addLangs(["en","cs"])}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(Z.sK))},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[i.ez,C,L.Bb,Y.c,m.lN,J.UX,J.u5,R.Ps,P.SJ,y.To,Z.aw.forChild({}),D.ot,F.JX,Q.p0,V.Nh,z.dp,D.ot,B.p9,G.Is,h.LD,k.ZX,H.Cq,j.Cv,v.AV,W.rP,X.FA,f.XK,$.Fk,K.t,f.si,ee.TU,te.QW,se.T5,ie._t,te.QW,ne.Hi,re.Tx,ae.Cl,oe.r,ce.g,l.ez,pe.r,le.d4,ue.m]]}),e})()}}]); \ No newline at end of file +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[363],{95690:function(e,t,s){"use strict";s.d(t,{u:function(){return f}});var i=s(88426),n=s(31572),r=s(57629),a=s(55109),o=s(61511),c=s(541),p=s(69012),l=s(48160);function u(e,t){1&e&&(n._uU(0),n.ALo(1,"translate")),2&e&&n.hij(" ",n.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function g(e,t){if(1&e&&n._UZ(0,"app-one-entity-attribute-page",5),2&e){const e=n.oxw();n.Q6J("entityId",e.userId)("entity","user")}}function d(e,t){1&e&&(n._uU(0),n.ALo(1,"translate"),n.ALo(2,"translate")),2&e&&n.AsE(" ",n.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",n.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function m(e,t){if(1&e&&n._UZ(0,"app-two-entity-attribute-page",6),2&e){const e=n.oxw(2);n.Q6J("firstEntity","user")("firstEntityId",e.userId)("secondEntity","facility")}}function h(e,t){1&e&&(n.TgZ(0,"mat-tab"),n.YNc(1,d,3,6,"ng-template",2),n.YNc(2,m,1,3,"ng-template",3),n.qZA())}let f=(()=>{class e{constructor(e,t,s){this.route=e,this.store=t,this.authResolver=s}ngOnInit(){this.route.parent.params.subscribe(e=>{this.userId=e.userId,void 0===this.userId&&(this.userId=this.store.getPerunPrincipal().userId),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{id:this.userId,beanName:"User"}])})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(i.d6),n.Y36(i.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-user-settings-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("router-component",t.true)},decls:8,vars:4,consts:[[1,"page-subtitle"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entityId","entity"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"mat-tab-group"),n.TgZ(4,"mat-tab",1),n.YNc(5,u,2,3,"ng-template",2),n.YNc(6,g,1,2,"ng-template",3),n.qZA(),n.YNc(7,h,3,0,"mat-tab",4),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,2,"USER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),n.xp6(6),n.Q6J("ngIf",t.userFacilityAttAuth))},directives:[a.SP,a.uX,a.uD,a.Vc,o.O5,c.t,p.Y],pipes:[l.X$],styles:[""]}),e})()},31612:function(e,t,s){"use strict";s.d(t,{u:function(){return T}});var i=s(88426),n=s(33642),r=s(60611),a=s(31572),o=s(57629),c=s(61511),p=s(59403),l=s(19139),u=s(67806),g=s(78364),d=s(48160);function m(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_MEMBER"),"\n"))}function f(e,t){1&e&&a._UZ(0,"mat-spinner",7)}const Z=function(){return["id","vo","name","description","status"]};function I(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw().pageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("pageSize",e.pageSize)("groups",e.membersGroups)("displayedColumns",a.DdM(5,Z))("disableMembers",!1)("filter",e.memberFilterValue)}}function S(e,t){1&e&&a._UZ(0,"mat-spinner",7)}const A=function(){return["id","vo","name","description"]};function E(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw(2).adminPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("pageSize",e.adminPageSize)("groups",e.adminsGroups)("displayedColumns",a.DdM(5,A))("disableMembers",!1)("filter",e.adminFilterValue)}}function b(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",9),a.TgZ(1,"h1",6),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return a.CHM(e),a.oxw().refreshAdminTable()}),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(t){return a.CHM(e),a.oxw().adminFilter(t)}),a.qZA(),a.YNc(6,S,1,0,"mat-spinner",3),a.YNc(7,E,1,6,"perun-web-apps-groups-list",4),a.qZA()}if(2&e){const e=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,4,"SHARED.COMPONENTS.USER_DETAIL.GROUPS.USER_IS_ADMIN")," "),a.xp6(3),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",e.adminRefresh),a.xp6(1),a.Q6J("ngIf",!e.adminRefresh)}}let T=(()=>{class e{constructor(e,t,s,i,n,a){this.usersService=e,this.memberService=t,this.tableConfigService=s,this.groupService=i,this.store=n,this.route=a,this.memberFilterValue="",this.adminFilterValue="",this.vos=[],this.membersGroups=[],this.adminsGroups=[],this.tableId=r.KE,this.adminTableId=r.Sb}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),!0===(this.showPrincipal=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(e=>this.userId=e.userId),this.refreshAdminTable(),this.refreshMemberTable()}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}adminPageChanged(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}memberFilter(e){this.memberFilterValue=e}adminFilter(e){this.adminFilterValue=e}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(e=>{this.adminsGroups=e,this.adminRefresh=!1})}refreshMemberTable(){this.memberRefresh=!0,this.membersGroups=[],this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e;for(const t of this.vos)this.memberService.getMemberByUser(t.id,this.userId).subscribe(e=>{this.groupService.getMemberGroups(e.id).subscribe(e=>{this.membersGroups=this.membersGroups.concat(e),this.vos.indexOf(t)===this.vos.length-1&&(this.memberRefresh=!1)})});0===e.length&&(this.memberRefresh=!1)})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.Fv),a.Y36(n.uq),a.Y36(r.dB),a.Y36(n.ff),a.Y36(i.d6),a.Y36(o.gz))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,t){1&e&&(a.YNc(0,m,3,3,"h1",0),a.YNc(1,h,3,3,"h1",0),a.TgZ(2,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return t.refreshMemberTable()}),a.qZA(),a.TgZ(3,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(e){return t.memberFilter(e)}),a.qZA(),a.YNc(4,f,1,0,"mat-spinner",3),a.YNc(5,I,1,6,"perun-web-apps-groups-list",4),a.YNc(6,b,8,6,"div",5)),2&e&&(a.Q6J("ngIf",t.showPrincipal),a.xp6(1),a.Q6J("ngIf",!t.showPrincipal),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.showPrincipal))},directives:[c.O5,p.t,l.L,u.$g,g.W],pipes:[d.X$],styles:[""]}),e})()},15879:function(e,t,s){"use strict";s.d(t,{j:function(){return E}});var i=s(33642),n=s(88426),r=s(60611),a=s(31572),o=s(57629),c=s(61511),p=s(59403),l=s(19139),u=s(67806),g=s(97162),d=s(48160);function m(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function h(e,t){1&e&&(a.TgZ(0,"h1",6),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function f(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function Z(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-vos-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw().memberPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("displayedColumns",e.displayedColumns)("pageSize",e.memberPageSize)("filterValue",e.memberFilterValue)("vos",e.vosWhereIsMember)}}function I(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function S(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"perun-web-apps-vos-list",8),a.NdJ("page",function(t){return a.CHM(e),a.oxw(2).adminPageChanged(t)}),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("displayedColumns",e.displayedColumns)("pageSize",e.adminPageSize)("filterValue",e.adminFilterValue)("vos",e.vosWhereIsAdmin)}}function A(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",9),a.TgZ(1,"h1",6),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return a.CHM(e),a.oxw().refreshAdminTable()}),a.qZA(),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(t){return a.CHM(e),a.oxw().applyAdminFilter(t)}),a.qZA(),a.YNc(6,I,1,0,"mat-spinner",3),a.YNc(7,S,1,4,"perun-web-apps-vos-list",4),a.qZA()}if(2&e){const e=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),a.xp6(3),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",e.adminRefresh),a.xp6(1),a.Q6J("ngIf",!e.adminRefresh)}}let E=(()=>{class e{constructor(e,t,s,i,n){this.usersService=e,this.authResolver=t,this.tableConfigService=s,this.store=i,this.route=n,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=r.YF,this.memberTableId=r.gc}ngOnInit(){this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),this.memberPageSize=this.tableConfigService.getTablePageSize(this.memberTableId),!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(e=>this.userId=e.userId),this.refreshAdminTable(),this.refreshMemberTable()}refreshMemberTable(){this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vosWhereIsMember=e,this.memberRefresh=!1},()=>this.memberRefresh=!1)}refreshAdminTable(){this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vosWhereIsAdmin=e,this.adminRefresh=!1},()=>this.adminRefresh=!1)}applyMemberFilter(e){this.memberFilterValue=e}adminPageChanged(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}memberPageChanged(e){this.memberPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.memberTableId,e.pageSize)}applyAdminFilter(e){this.adminFilterValue=e}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.Fv),a.Y36(n.x4),a.Y36(r.dB),a.Y36(n.d6),a.Y36(o.gz))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","pageSize","filterValue","vos","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","pageSize","filterValue","vos","page"],[1,"mt-5"]],template:function(e,t){1&e&&(a.YNc(0,m,3,3,"h1",0),a.YNc(1,h,3,3,"h1",0),a.TgZ(2,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return t.refreshMemberTable()}),a.qZA(),a.TgZ(3,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(e){return t.applyMemberFilter(e)}),a.qZA(),a.YNc(4,f,1,0,"mat-spinner",3),a.YNc(5,Z,1,4,"perun-web-apps-vos-list",4),a.YNc(6,A,8,6,"div",5)),2&e&&(a.Q6J("ngIf",t.isMyProfile),a.xp6(1),a.Q6J("ngIf",!t.isMyProfile),a.xp6(2),a.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),a.xp6(1),a.Q6J("ngIf",t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.memberRefresh),a.xp6(1),a.Q6J("ngIf",!t.isMyProfile))},directives:[c.O5,p.t,l.L,u.$g,g.Z],pipes:[d.X$],styles:[""]}),e})()},71956:function(e,t,s){"use strict";s.d(t,{Z:function(){return R}});var i=s(33642),n=s(67033),r=s(88426),a=s(67004),o=s(84140),c=s(61189),p=s(31572),l=s(57629),u=s(84608),g=s(61511),d=s(8557),m=s(27439),h=s(15980),f=s(43691),Z=s(48160);function I(e,t){1&e&&p._UZ(0,"th",12)}function S(e,t){if(1&e&&(p.TgZ(0,"td",13),p._uU(1),p.qZA()),2&e){const e=t.$implicit;p.xp6(1),p.hij(" ",e.displayName,": ")}}function A(e,t){1&e&&p._UZ(0,"th",12)}function E(e,t){if(1&e){const e=p.EpF();p.TgZ(0,"td",14),p._uU(1),p.TgZ(2,"button",15),p.NdJ("click",function(){return p.CHM(e),p.oxw(2).changeEmail()}),p.TgZ(3,"mat-icon"),p._uU(4,"edit"),p.qZA(),p.qZA(),p.qZA()}if(2&e){const e=t.$implicit;p.xp6(1),p.hij(" ",e.value," ")}}function b(e,t){1&e&&p._UZ(0,"tr",16)}function T(e,t){if(1&e&&(p.TgZ(0,"div",2),p.TgZ(1,"mat-card",3),p.TgZ(2,"mat-card-header"),p.TgZ(3,"mat-card-title"),p.TgZ(4,"h1",4),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(7,"mat-card-content"),p.TgZ(8,"table",5),p.ynx(9,6),p.YNc(10,I,1,0,"th",7),p.YNc(11,S,2,1,"td",8),p.BQk(),p.ynx(12,9),p.YNc(13,A,1,0,"th",7),p.YNc(14,E,5,1,"td",10),p.BQk(),p.YNc(15,b,1,0,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){const e=p.oxw();p.xp6(5),p.Oqu(p.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),p.xp6(3),p.Q6J("dataSource",e.mailDataSource),p.xp6(7),p.Q6J("matRowDefColumns",e.displayedColumns)}}let R=(()=>{class e{constructor(e,t,s,i,n){this.userService=e,this.attributeService=t,this.storeService=s,this.route=i,this.dialog=n,this.navItems=[],this.displayedColumns=["name","value"],this.inMyProfile=!1}ngOnInit(){this.route.params.subscribe(e=>{void 0!==e.userId?this.userService.getUserById(e.userId).subscribe(e=>{this.user=e,this.initNavItems()}):(this.inMyProfile=!0,this.userID=this.storeService.getPerunPrincipal().user.id,this.attributeService.getUserAttributeByName(this.userID,a.r.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.by([this.preferredMail]),this.initNavItems()}))})}initNavItems(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-group",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-group",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"},{cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}changeEmail(){const e=(0,o.kZ)();e.width="350px",e.data={userId:this.userID},this.dialog.open(c.gr,e).afterClosed().subscribe(e=>{e&&this.attributeService.getUserAttributeByName(this.userID,a.r.USER_DEF_PREFERRED_MAIL).subscribe(e=>{this.preferredMail=e,this.handleMailNotDefined(),this.mailDataSource=new n.by([this.preferredMail])})})}handleMailNotDefined(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,o.Cz)(a.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}return e.\u0275fac=function(t){return new(t||e)(p.Y36(i.Fv),p.Y36(i.H8),p.Y36(r.d6),p.Y36(l.gz),p.Y36(u.uw))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&p.ekj("router-component",t.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(e,t){1&e&&(p.YNc(0,T,16,5,"div",0),p._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(p.Q6J("ngIf",t.inMyProfile),p.xp6(1),p.Q6J("items",t.navItems)("size","small"))},directives:[g.O5,d.L,m.a8,m.dk,m.n5,m.dn,n.BZ,n.w1,n.fO,n.Dz,n.nj,n.ge,n.ev,h.lW,f.Hw,n.Gk],pipes:[Z.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e})()},7233:function(e,t,s){"use strict";s.d(t,{t:function(){return Pe}});var i=s(33642),n=s(88426),r=s(31572),a=s(57629),o=s(61511),c=s(67806),p=s(45001),l=s(43691),u=s(27439),g=s(97162),d=s(86593),m=s(78364),h=s(88884),f=s(60007),Z=s(4252),I=s(48160);function S(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function A(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function E(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function b(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_VOS")," "))}function T(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function R(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}const v=function(){return["user","id","name"]};function x(e,t){if(1&e&&(r.TgZ(0,"div",11),r.YNc(1,T,3,3,"div",2),r.YNc(2,R,3,3,"div",2),r._UZ(3,"app-users-list",12),r.qZA()),2&e){const e=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!e.showDescription),r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("users",e.users)("disableRouting",!0)("displayedColumns",r.DdM(5,v))}}const N=function(){return["id","name","shortName"]};function U(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,E,3,3,"div",2),r.YNc(2,b,3,3,"div",2),r._UZ(3,"perun-web-apps-vos-list",9),r.YNc(4,x,4,6,"div",10),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",!e.showDescription),r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(5,N))("vos",e.vos),r.xp6(1),r.Q6J("ngIf",e.users.length)}}function O(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getSelfData()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,A,1,0,"mat-spinner",1),r.YNc(8,U,5,6,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SELF")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function _(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function M(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}const q=function(){return["id","vo","name","description"]};function w(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,M,3,3,"div",2),r._UZ(2,"perun-web-apps-groups-list",14),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("groups",e.groups)("displayedColumns",r.DdM(3,q))}}function C(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminGroupsAndVos()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",13),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,_,1,0,"mat-spinner",1),r.YNc(8,w,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.GROUPADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function L(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function Y(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}const J=function(){return["id","recent","vo","name","description"]};function P(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,Y,3,3,"div",2),r._UZ(2,"perun-web-apps-groups-list",14),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("groups",e.groups)("displayedColumns",r.DdM(3,J))}}function y(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",13),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,L,1,0,"mat-spinner",1),r.YNc(8,P,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.GROUPOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function D(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function F(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function Q(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,F,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function V(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminVos()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,D,1,0,"mat-spinner",1),r.YNc(8,Q,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.VOADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function z(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function B(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function G(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,B,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function k(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("VOOBSERVER").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,z,1,0,"mat-spinner",1),r.YNc(8,G,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.VOOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function H(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function j(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function W(e,t){if(1&e&&(r.TgZ(0,"div"),r.TgZ(1,"div"),r.YNc(2,j,3,3,"div",2),r._UZ(3,"perun-web-apps-vos-list",9),r.qZA(),r.qZA()),2&e){const e=r.oxw(3);r.xp6(2),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function X(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,H,1,0,"mat-spinner",1),r.YNc(8,W,4,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function $(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function K(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ee(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,K,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function te(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("TOPGROUPCREATOR").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",15),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,$,1,0,"mat-spinner",1),r.YNc(8,ee,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function se(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ie(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}const ne=function(){return["id","name","vo","facility","description"]};function re(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ie,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function ae(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCEADMIN")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,se,1,0,"mat-spinner",1),r.YNc(8,re,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCEADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function oe(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ce(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function pe(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ce,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function le(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCEOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,oe,1,0,"mat-spinner",1),r.YNc(8,pe,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function ue(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ge(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function de(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ge,3,3,"div",2),r._UZ(2,"perun-web-apps-resources-list",17),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("resources",e.resources)("routingVo",!0)("displayedColumns",r.DdM(4,ne))}}function me(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",16),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,ue,1,0,"mat-spinner",1),r.YNc(8,de,3,5,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function he(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function fe(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}const Ze=function(){return["id","name","description"]};function Ie(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,fe,3,3,"div",2),r._UZ(2,"perun-web-apps-facilities-list",19),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,Ze))("facilities",e.facilities)}}function Se(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getAdminFacilities()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",18),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,he,1,0,"mat-spinner",1),r.YNc(8,Ie,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.FACILITYADMIN")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Ae(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function Ee(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function be(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,Ee,3,3,"div",2),r._UZ(2,"perun-web-apps-facilities-list",19),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,Ze))("facilities",e.facilities)}}function Te(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getFacilities("FACILITYOBSERVER")}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",18),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Ae,1,0,"mat-spinner",1),r.YNc(8,be,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.FACILITYOBSERVER")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Re(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function ve(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}const xe=function(){return["id","fullName","sponsored"]};function Ne(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ve,3,3,"div",2),r._UZ(2,"perun-web-apps-members-list",20),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("members",e.members)("displayedColumns",r.DdM(3,xe))}}function Ue(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){return r.CHM(e),r.oxw(2).getMembers()}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Re,1,0,"mat-spinner",1),r.YNc(8,Ne,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SPONSORSHIP")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function Oe(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function _e(e,t){1&e&&(r.TgZ(0,"div"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function Me(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,_e,3,3,"div",2),r._UZ(2,"perun-web-apps-vos-list",9),r.qZA()),2&e){const e=r.oxw(3);r.xp6(1),r.Q6J("ngIf",e.showDescription),r.xp6(1),r.Q6J("displayedColumns",r.DdM(3,N))("vos",e.vos)}}function qe(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){r.CHM(e);const t=r.oxw(2);return t.getVos(t.roles.get("SPONSOR").get("Vo"))}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.YNc(7,Oe,1,0,"mat-spinner",1),r.YNc(8,Me,3,4,"div",2),r.qZA()}if(2&e){const e=r.oxw(2);r.xp6(5),r.Oqu(r.lcZ(6,3,"ROLES.SPONSOR")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading)}}function we(e,t){1&e&&(r.TgZ(0,"mat-expansion-panel"),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(5),r.Oqu(r.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function Ce(e,t){1&e&&(r.TgZ(0,"mat-expansion-panel"),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(5),r.Oqu(r.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Le(e,t){if(1&e&&(r.TgZ(0,"p",22),r._uU(1),r.qZA()),2&e){const e=t.$implicit;r.xp6(1),r.AsE("",e[0]," ids: ",e[1],"")}}function Ye(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"mat-expansion-panel",6),r.NdJ("opened",function(){const t=r.CHM(e).$implicit;return r.oxw(2).getInnerKeys(t)}),r.TgZ(1,"mat-expansion-panel-header"),r.TgZ(2,"mat-panel-title"),r._UZ(3,"mat-icon",7),r.TgZ(4,"p",8),r._uU(5),r.qZA(),r.qZA(),r.qZA(),r.YNc(6,Le,2,2,"p",21),r.qZA()}if(2&e){const e=t.$implicit,s=r.oxw(2);r.xp6(5),r.Oqu(e),r.xp6(1),r.Q6J("ngForOf",s.currentIds)}}function Je(e,t){if(1&e&&(r.TgZ(0,"mat-accordion"),r.YNc(1,O,9,5,"mat-expansion-panel",4),r.YNc(2,C,9,5,"mat-expansion-panel",4),r.YNc(3,y,9,5,"mat-expansion-panel",4),r.YNc(4,V,9,5,"mat-expansion-panel",4),r.YNc(5,k,9,5,"mat-expansion-panel",4),r.YNc(6,X,9,5,"mat-expansion-panel",4),r.YNc(7,te,9,5,"mat-expansion-panel",4),r.YNc(8,ae,9,5,"mat-expansion-panel",4),r.YNc(9,le,9,5,"mat-expansion-panel",4),r.YNc(10,me,9,5,"mat-expansion-panel",4),r.YNc(11,Se,9,5,"mat-expansion-panel",4),r.YNc(12,Te,9,5,"mat-expansion-panel",4),r.YNc(13,Ue,9,5,"mat-expansion-panel",4),r.YNc(14,qe,9,5,"mat-expansion-panel",4),r.YNc(15,we,7,3,"mat-expansion-panel",2),r.YNc(16,Ce,7,3,"mat-expansion-panel",2),r.YNc(17,Ye,7,2,"mat-expansion-panel",5),r.qZA()),2&e){const e=r.oxw();r.xp6(1),r.Q6J("ngIf",e.isSelf),r.xp6(1),r.Q6J("ngIf",e.isGroupAdmin),r.xp6(1),r.Q6J("ngIf",e.isGroupObserver),r.xp6(1),r.Q6J("ngIf",e.isVoAdmin),r.xp6(1),r.Q6J("ngIf",e.isVoObserver),r.xp6(1),r.Q6J("ngIf",e.isTrustedFacilityAdmin),r.xp6(1),r.Q6J("ngIf",e.isTopGroupCreator),r.xp6(1),r.Q6J("ngIf",e.isResourceAdmin),r.xp6(1),r.Q6J("ngIf",e.isResourceObserver),r.xp6(1),r.Q6J("ngIf",e.isResourceSelfService),r.xp6(1),r.Q6J("ngIf",e.isFacilityAdmin),r.xp6(1),r.Q6J("ngIf",e.isFacilityObserver),r.xp6(1),r.Q6J("ngIf",e.hasSponsorship),r.xp6(1),r.Q6J("ngIf",e.isSponsor),r.xp6(1),r.Q6J("ngIf",e.isPerunAdmin),r.xp6(1),r.Q6J("ngIf",e.isPerunObserver),r.xp6(1),r.Q6J("ngForOf",e.roleNames)}}let Pe=(()=>{class e{constructor(e,t,s,i,n,r,a,o,c){this.authzResolverService=e,this.usersManagerService=t,this.vosManagerService=s,this.facilitiesManagerService=i,this.resourcesManagerService=n,this.membersManagerService=r,this.groupsManagerService=a,this.route=o,this.store=c,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}ngOnInit(){this.outerLoading=!0,this.route.parent.params.subscribe(e=>{e.userId?(this.userId=e.userId,this.authzResolverService.getUserRoleNames(this.userId).subscribe(e=>{this.roleNames=e.map(e=>e.toUpperCase()),this.authzResolverService.getUserRoles(this.userId).subscribe(e=>{this.prepareRoles(e)})})):(this.showDescription=!0,this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.userId,this.roleNames=Object.keys(this.principal.roles),this.prepareRoles(this.principal.roles))})}prepareRoles(e){this.roleNames.forEach(t=>{const s=new Map;switch(Object.keys(e[t]).forEach(i=>{s.set(i,e[t][i])}),t){case"SELF":this.isSelf=!0;break;case"GROUPADMIN":this.isGroupAdmin=!0;break;case"VOADMIN":this.isVoAdmin=!0;break;case"RESOURCEADMIN":this.isResourceAdmin=!0;break;case"FACILITYADMIN":this.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":this.isTopGroupCreator=!0;break;case"SPONSORSHIP":this.hasSponsorship=!0;break;case"SPONSOR":this.isSponsor=!0;break;case"RESOURCESELFSERVICE":this.isResourceSelfService=!0;break;case"VOOBSERVER":this.isVoObserver=!0;break;case"RESOURCEOBSERVER":this.isResourceObserver=!0;break;case"GROUPOBSERVER":this.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":this.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":this.isFacilityObserver=!0;break;case"PERUNADMIN":this.isPerunAdmin=!0;break;case"PERUNOBSERVER":this.isPerunObserver=!0}this.roles.set(t,s)}),this.roleNames=this.roleNames.filter(e=>!this.roleFilter.includes(e)),this.outerLoading=!1}getAdminGroupsAndVos(){this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(e=>{this.groups=e;const t=[...new Set(this.groups.map(e=>e.voId))];this.getVos(t)})}getVos(e){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(e).subscribe(e=>{this.vos=e,this.loading=!1})}getInnerKeys(e){if(this.roles.get(e)){const t=this.roles.get(e).entries(),s=[];let i=t.next().value;for(;i;)s.push(i),i=t.next().value;this.currentIds=s}else this.currentIds=[]}getAdminVos(){this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vos=e,this.loading=!1})}getAdminFacilities(){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(e=>{this.facilities=e.map(e=>({facility:e})),this.loading=!1})}getSelfData(){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e;const t=this.roles.get("SELF").get("User");t?this.usersManagerService.getUsersByIds(t).subscribe(e=>{this.users=e,this.loading=!1}):this.loading=!1})}getResourcesData(e){this.loading=!0;const t=this.roles.get(e).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(t).subscribe(e=>{this.resources=e,this.vos=this.resources.map(e=>e.vo).filter((e,t,s)=>s.indexOf(e)===t),this.facilities=this.resources.map(e=>({facility:e.facility})).filter((e,t,s)=>s.indexOf(e)===t),this.loading=!1})}getMembers(){this.loading=!0;const e=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(e).subscribe(e=>{this.members=e,this.loading=!1})}getGroupsAndVos(e){this.loading=!0;const t=this.roles.get(e).get("Vo"),s=this.roles.get(e).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(s).subscribe(e=>{this.groups=e,this.vosManagerService.getVosByIds(t).subscribe(e=>{this.vos=e,this.loading=!1})})}getFacilities(e){this.loading=!0,this.facilities=[];const t=this.roles.get(e).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(t).subscribe(e=>{this.facilities=e.map(e=>({facility:e})),this.loading=!1})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.Ct),r.Y36(i.Fv),r.Y36(i.YF),r.Y36(i.IQ),r.Y36(i.xk),r.Y36(i.uq),r.Y36(i.ff),r.Y36(a.gz),r.Y36(n.d6))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("router-component",t.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[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","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,t){1&e&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,S,1,0,"mat-spinner",1),r.YNc(4,Je,18,17,"mat-accordion",2)),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,3,"ROLES.TITLE")),r.xp6(2),r.Q6J("ngIf",t.outerLoading),r.xp6(1),r.Q6J("ngIf",!t.outerLoading))},directives:[o.O5,c.$g,p.pp,o.sg,p.ib,p.yz,p.yK,l.Hw,u.kc,g.Z,d.C,m.W,h.C,f.X,Z.O],pipes:[I.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),e})()},68787:function(e,t,s){"use strict";s.d(t,{x:function(){return u}});var i=s(33642),n=s(31572),r=s(57629),a=s(61511),o=s(67806),c=s(8557);function p(e,t){1&e&&n._UZ(0,"mat-spinner",2)}function l(e,t){if(1&e&&(n.TgZ(0,"div"),n._UZ(1,"perun-web-apps-menu-buttons-field",3),n.qZA()),2&e){const e=n.oxw();n.xp6(1),n.Q6J("items",e.navItems)("size","small")}}let u=(()=>{class e{constructor(e,t){this.route=e,this.userManager=t,this.navItems=[],this.loading=!1}ngOnInit(){window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.userManager.getUserById(e.userId).subscribe(e=>{this.isServiceUser=e.serviceUser,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})):this.initNavItems()}initNavItems(){this.navItems=[],window.location.pathname.startsWith("/admin")?this.navItems.push(this.isServiceUser?{cssIcon:"perun-service-identity",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}):this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings2",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(i.Fv))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(n.YNc(0,p,1,0,"mat-spinner",0),n.YNc(1,l,2,2,"div",1)),2&e&&(n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading))},directives:[a.O5,o.$g,c.L],styles:[""]}),e})()},40790:function(e,t,s){"use strict";s.d(t,{L:function(){return r}});var i=s(31572),n=s(21575);let r=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"app-animated-router-outlet")},directives:[n.A],styles:[""]}),e})()},6363:function(e,t,s){"use strict";s.r(t),s.d(t,{UsersModule:function(){return ge}});var i=s(61511),n=s(57629),r=s(15879),a=s(31612),o=s(40790),c=s(68787),p=s(95690),l=s(10896),u=s(84140),g=s(13857),d=s(31572),m=s(66283),h=s(4786),f=s(71522),Z=s(48160);function I(e,t){if(1&e&&(d.TgZ(0,"mat-option",5),d._uU(1),d.qZA()),2&e){const e=t.$implicit;d.Q6J("value",e),d.xp6(1),d.hij(" ",e," ")}}let S=(()=>{class e{constructor(e){this.guiConfigService=e,this.tablePageSizeOptions=u.f7}ngOnInit(){this.preferredTablePageSize=this.guiConfigService.getNumber(g.Rc)}updatePreferredTablePageSize(){this.guiConfigService.setNumber(g.Rc,this.preferredTablePageSize)}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(g.Ng))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(d.TgZ(0,"h1",0),d._uU(1),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"div",1),d.TgZ(4,"mat-form-field",2),d.TgZ(5,"mat-label"),d._uU(6),d.ALo(7,"translate"),d.qZA(),d.TgZ(8,"mat-select",3),d.NdJ("valueChange",function(e){return t.preferredTablePageSize=e})("valueChange",function(){return t.updatePreferredTablePageSize()}),d.YNc(9,I,2,2,"mat-option",4),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.xp6(1),d.Oqu(d.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),d.xp6(5),d.Oqu(d.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),d.xp6(2),d.Q6J("value",t.preferredTablePageSize),d.xp6(1),d.Q6J("ngForOf",t.tablePageSizeOptions))},directives:[m.KE,m.hX,h.gD,i.sg,f.ey],pipes:[Z.X$],styles:[""]}),e})();var A=s(71956),E=s(88426),b=s(48958),T=s(66297),R=s(43691),v=s(36922),x=s(21575),N=s(22196);const U=function(){return{color:"black"}},O=function(){return["/myProfile"]};function _(e,t){if(1&e&&(d.TgZ(0,"div",1),d._UZ(1,"perun-web-apps-back-button"),d.TgZ(2,"div",2),d._UZ(3,"mat-icon",3),d.ALo(4,"translate"),d.TgZ(5,"div",4),d.TgZ(6,"div",5),d.TgZ(7,"a",6),d._uU(8),d.ALo(9,"userFullName"),d.qZA(),d.TgZ(10,"span",7),d._uU(11),d.qZA(),d.qZA(),d.TgZ(12,"span",8),d._uU(13),d.ALo(14,"translate"),d.ALo(15,"translate"),d.qZA(),d.qZA(),d.qZA(),d._UZ(16,"app-animated-router-outlet"),d.qZA()),2&e){const e=d.oxw();d.xp6(3),d.s9C("matTooltip",d.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),d.Q6J("ngStyle",d.DdM(16,U)),d.xp6(4),d.Q6J("routerLink",d.DdM(17,O)),d.xp6(1),d.hij(" ",d.lcZ(9,10,e.user)," "),d.xp6(3),d.hij(" \xa0#",e.user.id," "),d.xp6(2),d.lnq(" ",d.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",d.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",e.getUserType()," ")}}let M=(()=>{class e{constructor(e,t,s){this.sideMenuService=e,this.store=t,this.router=s}ngOnInit(){this.path=this.router.url,this.router.events.subscribe(()=>{this.path=this.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}getUserType(){return this.user.serviceUser?"Service":"Person"}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(b.D),d.Y36(E.d6),d.Y36(n.F0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(e,t){1&e&&d.YNc(0,_,17,18,"div",0),2&e&&d.Q6J("ngIf",void 0!==t.user)},directives:[i.O5,T.W,R.Hw,v.gM,i.PC,n.yS,x.A],pipes:[Z.X$,N.d],styles:[""]}),e})();var q=s(7233);const w=[{path:"",component:M,children:[{path:"",component:A.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:p.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:r.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:a.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:q.t,data:{animation:"UserRolesPage"}},{path:"settings",component:o.L,children:[{path:"",component:c.x,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:l.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:S,data:{animation:"UserAppConfigurationPage"}}]}]}];let C=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[n.Bz.forChild(w)],n.Bz]}),e})();var L=s(40084),Y=s(80340),J=s(16073),P=s(25122),y=s(45001),D=s(15980),F=s(58623),Q=s(67033),V=s(55109),z=s(91010),B=s(29236),G=s(84608),k=s(71403),H=s(67806),j=s(45994),W=s(27521),X=s(15812),$=s(54810),K=s(27679),ee=s(73005),te=s(27439),se=s(70663),ie=s(88975),ne=s(10033),re=s(8055),ae=s(4253),oe=s(22727),ce=s(41050),pe=s(7423),le=s(22280),ue=s(28780);let ge=(()=>{class e{constructor(e){this.translate=e,e.addLangs(["en","cs"])}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(Z.sK))},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[i.ez,C,L.Bb,Y.c,m.lN,J.UX,J.u5,R.Ps,P.SJ,y.To,Z.aw.forChild({}),D.ot,F.JX,Q.p0,V.Nh,z.dp,D.ot,B.p9,G.Is,h.LD,k.ZX,H.Cq,j.Cv,v.AV,W.rP,X.FA,f.XK,$.Fk,K.t,f.si,ee.TU,te.QW,se.T5,ie._t,te.QW,ne.Hi,re.Tx,ae.Cl,oe.r,ce.g,l.ez,pe.r,le.d4,ue.m]]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/363-es5.9c3a7cea17cb338ca650.js b/dist/apps/admin-gui/363-es5.6854c45126452ae56e78.js similarity index 99% rename from dist/apps/admin-gui/363-es5.9c3a7cea17cb338ca650.js rename to dist/apps/admin-gui/363-es5.6854c45126452ae56e78.js index e6c652bd7..b5dc81c01 100644 --- a/dist/apps/admin-gui/363-es5.9c3a7cea17cb338ca650.js +++ b/dist/apps/admin-gui/363-es5.6854c45126452ae56e78.js @@ -1 +1 @@ -!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||n(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){if(e){if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}function t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(u)throw a}}}}(e.vos);try{var s=function(){var n=i.value;e.memberService.getMemberByUser(n.id,e.userId).subscribe(function(t){e.groupService.getMemberGroups(t.id).subscribe(function(t){e.membersGroups=e.membersGroups.concat(t),e.vos.indexOf(n)===e.vos.length-1&&(e.memberRefresh=!1)})})};for(r.s();!(i=r.n()).done;)s()}catch(a){r.e(a)}finally{r.f()}0===t.length&&(e.memberRefresh=!1)})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(c.Y36(o.Fv),c.Y36(o.uq),c.Y36(u.dB),c.Y36(o.ff),c.Y36(a.d6),c.Y36(l.gz))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,n){2&e&&c.ekj("router-component",n.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,n){1&e&&(c.YNc(0,h,3,3,"h1",0),c.YNc(1,Z,3,3,"h1",0),c.TgZ(2,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return n.refreshMemberTable()}),c.qZA(),c.TgZ(3,"perun-web-apps-immediate-filter",2),c.NdJ("filter",function(e){return n.memberFilter(e)}),c.qZA(),c.YNc(4,I,1,0,"mat-spinner",3),c.YNc(5,A,1,6,"perun-web-apps-groups-list",4),c.YNc(6,R,8,6,"div",5)),2&e&&(c.Q6J("ngIf",n.showPrincipal),c.xp6(1),c.Q6J("ngIf",!n.showPrincipal),c.xp6(2),c.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),c.xp6(1),c.Q6J("ngIf",n.memberRefresh),c.xp6(1),c.Q6J("ngIf",!n.memberRefresh),c.xp6(1),c.Q6J("ngIf",!n.showPrincipal))},directives:[p.O5,f.t,g.L,d.$g,m.W],pipes:[v.X$],styles:[""]}),e}()},15879:function(e,n,t){"use strict";t.d(n,{j:function(){return E}});var r=t(33642),a=t(88426),o=t(60611),u=t(31572),c=t(57629),l=t(61511),p=t(59403),f=t(19139),g=t(67806),d=t(97162),m=t(48160);function v(e,n){1&e&&(u.TgZ(0,"h1",6),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function h(e,n){1&e&&(u.TgZ(0,"h1",6),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function Z(e,n){1&e&&u._UZ(0,"mat-spinner",7)}function I(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"perun-web-apps-vos-list",8),u.NdJ("page",function(e){return u.CHM(t),u.oxw().memberPageChanged(e)}),u.qZA()}if(2&e){var i=u.oxw();u.Q6J("displayedColumns",i.displayedColumns)("pageSize",i.memberPageSize)("filterValue",i.memberFilterValue)("vos",i.vosWhereIsMember)}}function S(e,n){1&e&&u._UZ(0,"mat-spinner",7)}function A(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"perun-web-apps-vos-list",8),u.NdJ("page",function(e){return u.CHM(t),u.oxw(2).adminPageChanged(e)}),u.qZA()}if(2&e){var i=u.oxw(2);u.Q6J("displayedColumns",i.displayedColumns)("pageSize",i.adminPageSize)("filterValue",i.adminFilterValue)("vos",i.vosWhereIsAdmin)}}function b(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"div",9),u.TgZ(1,"h1",6),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().refreshAdminTable()}),u.qZA(),u.TgZ(5,"perun-web-apps-immediate-filter",2),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyAdminFilter(e)}),u.qZA(),u.YNc(6,S,1,0,"mat-spinner",3),u.YNc(7,A,1,4,"perun-web-apps-vos-list",4),u.qZA()}if(2&e){var i=u.oxw();u.xp6(2),u.Oqu(u.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),u.xp6(3),u.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),u.xp6(1),u.Q6J("ngIf",i.adminRefresh),u.xp6(1),u.Q6J("ngIf",!i.adminRefresh)}}var E=function(){var e=function(){function e(n,t,r,s,a){i(this,e),this.usersService=n,this.authResolver=t,this.tableConfigService=r,this.store=s,this.route=a,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=o.YF,this.memberTableId=o.gc}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),this.memberPageSize=this.tableConfigService.getTablePageSize(this.memberTableId),!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(function(n){return e.userId=n.userId}),this.refreshAdminTable(),this.refreshMemberTable()}},{key:"refreshMemberTable",value:function(){var e=this;this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(n){e.vosWhereIsMember=n,e.memberRefresh=!1},function(){return e.memberRefresh=!1})}},{key:"refreshAdminTable",value:function(){var e=this;this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(function(n){e.vosWhereIsAdmin=n,e.adminRefresh=!1},function(){return e.adminRefresh=!1})}},{key:"applyMemberFilter",value:function(e){this.memberFilterValue=e}},{key:"adminPageChanged",value:function(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}},{key:"memberPageChanged",value:function(e){this.memberPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.memberTableId,e.pageSize)}},{key:"applyAdminFilter",value:function(e){this.adminFilterValue=e}}]),e}();return e.\u0275fac=function(n){return new(n||e)(u.Y36(r.Fv),u.Y36(a.x4),u.Y36(o.dB),u.Y36(a.d6),u.Y36(c.gz))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,n){2&e&&u.ekj("router-component",n.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","pageSize","filterValue","vos","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","pageSize","filterValue","vos","page"],[1,"mt-5"]],template:function(e,n){1&e&&(u.YNc(0,v,3,3,"h1",0),u.YNc(1,h,3,3,"h1",0),u.TgZ(2,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return n.refreshMemberTable()}),u.qZA(),u.TgZ(3,"perun-web-apps-immediate-filter",2),u.NdJ("filter",function(e){return n.applyMemberFilter(e)}),u.qZA(),u.YNc(4,Z,1,0,"mat-spinner",3),u.YNc(5,I,1,4,"perun-web-apps-vos-list",4),u.YNc(6,b,8,6,"div",5)),2&e&&(u.Q6J("ngIf",n.isMyProfile),u.xp6(1),u.Q6J("ngIf",!n.isMyProfile),u.xp6(2),u.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),u.xp6(1),u.Q6J("ngIf",n.memberRefresh),u.xp6(1),u.Q6J("ngIf",!n.memberRefresh),u.xp6(1),u.Q6J("ngIf",!n.isMyProfile))},directives:[l.O5,p.t,f.L,g.$g,d.Z],pipes:[m.X$],styles:[""]}),e}()},71956:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var r=t(33642),a=t(67033),o=t(88426),u=t(67004),c=t(84140),l=t(61189),p=t(31572),f=t(57629),g=t(84608),d=t(61511),m=t(8557),v=t(27439),h=t(15980),Z=t(43691),I=t(48160);function S(e,n){1&e&&p._UZ(0,"th",12)}function A(e,n){if(1&e&&(p.TgZ(0,"td",13),p._uU(1),p.qZA()),2&e){var t=n.$implicit;p.xp6(1),p.hij(" ",t.displayName,": ")}}function b(e,n){1&e&&p._UZ(0,"th",12)}function E(e,n){if(1&e){var t=p.EpF();p.TgZ(0,"td",14),p._uU(1),p.TgZ(2,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).changeEmail()}),p.TgZ(3,"mat-icon"),p._uU(4,"edit"),p.qZA(),p.qZA(),p.qZA()}if(2&e){var i=n.$implicit;p.xp6(1),p.hij(" ",i.value," ")}}function T(e,n){1&e&&p._UZ(0,"tr",16)}function R(e,n){if(1&e&&(p.TgZ(0,"div",2),p.TgZ(1,"mat-card",3),p.TgZ(2,"mat-card-header"),p.TgZ(3,"mat-card-title"),p.TgZ(4,"h1",4),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(7,"mat-card-content"),p.TgZ(8,"table",5),p.ynx(9,6),p.YNc(10,S,1,0,"th",7),p.YNc(11,A,2,1,"td",8),p.BQk(),p.ynx(12,9),p.YNc(13,b,1,0,"th",7),p.YNc(14,E,5,1,"td",10),p.BQk(),p.YNc(15,T,1,0,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){var t=p.oxw();p.xp6(5),p.Oqu(p.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),p.xp6(3),p.Q6J("dataSource",t.mailDataSource),p.xp6(7),p.Q6J("matRowDefColumns",t.displayedColumns)}}var x=function(){var e=function(){function e(n,t,r,s,a){i(this,e),this.userService=n,this.attributeService=t,this.storeService=r,this.route=s,this.dialog=a,this.navItems=[],this.displayedColumns=["name","value"],this.inMyProfile=!1}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(n){void 0!==n.userId?e.userService.getUserById(n.userId).subscribe(function(n){e.user=n,e.initNavItems()}):(e.inMyProfile=!0,e.userID=e.storeService.getPerunPrincipal().user.id,e.attributeService.getUserAttributeByName(e.userID,u.r.USER_DEF_PREFERRED_MAIL).subscribe(function(n){e.preferredMail=n,e.handleMailNotDefined(),e.mailDataSource=new a.by([e.preferredMail]),e.initNavItems()}))})}},{key:"initNavItems",value:function(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-group",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-group",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"},{cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}},{key:"changeEmail",value:function(){var e=this,n=(0,c.kZ)();n.width="350px",n.data={userId:this.userID},this.dialog.open(l.gr,n).afterClosed().subscribe(function(n){n&&e.attributeService.getUserAttributeByName(e.userID,u.r.USER_DEF_PREFERRED_MAIL).subscribe(function(n){e.preferredMail=n,e.handleMailNotDefined(),e.mailDataSource=new a.by([e.preferredMail])})})}},{key:"handleMailNotDefined",value:function(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,c.Cz)(u.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(p.Y36(r.Fv),p.Y36(r.H8),p.Y36(o.d6),p.Y36(f.gz),p.Y36(g.uw))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,n){2&e&&p.ekj("router-component",n.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(e,n){1&e&&(p.YNc(0,R,16,5,"div",0),p._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(p.Q6J("ngIf",n.inMyProfile),p.xp6(1),p.Q6J("items",n.navItems)("size","small"))},directives:[d.O5,m.L,v.a8,v.dk,v.n5,v.dn,a.BZ,a.w1,a.fO,a.Dz,a.nj,a.ge,a.ev,h.lW,Z.Hw,a.Gk],pipes:[I.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e}()},7233:function(n,t,r){"use strict";r.d(t,{t:function(){return Fe}});var a=r(33642),o=r(88426),u=r(31572),c=r(57629),l=r(61511),p=r(67806),f=r(45001),g=r(43691),d=r(27439),m=r(97162),v=r(86593),h=r(78364),Z=r(88884),I=r(60007),S=r(4252),A=r(48160);function b(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function E(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function T(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function R(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_VOS")," "))}function x(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function N(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}var U=function(){return["user","id","name"]};function O(e,n){if(1&e&&(u.TgZ(0,"div",11),u.YNc(1,x,3,3,"div",2),u.YNc(2,N,3,3,"div",2),u._UZ(3,"app-users-list",12),u.qZA()),2&e){var t=u.oxw(4);u.xp6(1),u.Q6J("ngIf",!t.showDescription),u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("users",t.users)("disableRouting",!0)("displayedColumns",u.DdM(5,U))}}var _=function(){return["id","name","shortName"]};function y(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,T,3,3,"div",2),u.YNc(2,R,3,3,"div",2),u._UZ(3,"perun-web-apps-vos-list",9),u.YNc(4,O,4,6,"div",10),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",!t.showDescription),u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(5,_))("vos",t.vos),u.xp6(1),u.Q6J("ngIf",t.users.length)}}function M(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getSelfData()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,E,1,0,"mat-spinner",1),u.YNc(8,y,5,6,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SELF")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function w(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function q(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}var C=function(){return["id","vo","name","description"]};function L(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,q,3,3,"div",2),u._UZ(2,"perun-web-apps-groups-list",14),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("groups",t.groups)("displayedColumns",u.DdM(3,C))}}function Y(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminGroupsAndVos()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",13),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,w,1,0,"mat-spinner",1),u.YNc(8,L,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.GROUPADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function J(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function P(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}var D=function(){return["id","recent","vo","name","description"]};function F(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,P,3,3,"div",2),u._UZ(2,"perun-web-apps-groups-list",14),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("groups",t.groups)("displayedColumns",u.DdM(3,D))}}function Q(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",13),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,J,1,0,"mat-spinner",1),u.YNc(8,F,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.GROUPOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function V(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function k(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function z(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,k,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function B(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminVos()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,V,1,0,"mat-spinner",1),u.YNc(8,z,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.VOADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function G(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function j(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function H(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,j,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function W(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("VOOBSERVER").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,G,1,0,"mat-spinner",1),u.YNc(8,H,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.VOOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function X(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function $(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function K(e,n){if(1&e&&(u.TgZ(0,"div"),u.TgZ(1,"div"),u.YNc(2,$,3,3,"div",2),u._UZ(3,"perun-web-apps-vos-list",9),u.qZA(),u.qZA()),2&e){var t=u.oxw(3);u.xp6(2),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function ee(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,X,1,0,"mat-spinner",1),u.YNc(8,K,4,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function ne(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function te(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ie(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,te,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function re(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("TOPGROUPCREATOR").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,ne,1,0,"mat-spinner",1),u.YNc(8,ie,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function se(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function ae(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}var oe=function(){return["id","name","vo","facility","description"]};function ue(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,ae,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function ce(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCEADMIN")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,se,1,0,"mat-spinner",1),u.YNc(8,ue,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCEADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function le(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function pe(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function fe(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,pe,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function ge(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCEOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,le,1,0,"mat-spinner",1),u.YNc(8,fe,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function de(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function me(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function ve(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,me,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function he(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,de,1,0,"mat-spinner",1),u.YNc(8,ve,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ze(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Ie(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}var Se=function(){return["id","name","description"]};function Ae(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Ie,3,3,"div",2),u._UZ(2,"perun-web-apps-facilities-list",19),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,Se))("facilities",t.facilities)}}function be(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminFacilities()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",18),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ze,1,0,"mat-spinner",1),u.YNc(8,Ae,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.FACILITYADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ee(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Te(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function Re(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Te,3,3,"div",2),u._UZ(2,"perun-web-apps-facilities-list",19),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,Se))("facilities",t.facilities)}}function xe(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getFacilities("FACILITYOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",18),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ee,1,0,"mat-spinner",1),u.YNc(8,Re,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.FACILITYOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ne(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Ue(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}var Oe=function(){return["id","fullName","sponsored"]};function _e(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Ue,3,3,"div",2),u._UZ(2,"perun-web-apps-members-list",20),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("members",t.members)("displayedColumns",u.DdM(3,Oe))}}function ye(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getMembers()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ne,1,0,"mat-spinner",1),u.YNc(8,_e,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SPONSORSHIP")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Me(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function we(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function qe(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,we,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function Ce(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("SPONSOR").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Me,1,0,"mat-spinner",1),u.YNc(8,qe,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SPONSOR")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Le(e,n){1&e&&(u.TgZ(0,"mat-expansion-panel"),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(5),u.Oqu(u.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function Ye(e,n){1&e&&(u.TgZ(0,"mat-expansion-panel"),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(5),u.Oqu(u.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Je(e,n){if(1&e&&(u.TgZ(0,"p",22),u._uU(1),u.qZA()),2&e){var t=n.$implicit;u.xp6(1),u.AsE("",t[0]," ids: ",t[1],"")}}function Pe(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){var e=u.CHM(t).$implicit;return u.oxw(2).getInnerKeys(e)}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.qZA(),u.qZA(),u.qZA(),u.YNc(6,Je,2,2,"p",21),u.qZA()}if(2&e){var i=n.$implicit,r=u.oxw(2);u.xp6(5),u.Oqu(i),u.xp6(1),u.Q6J("ngForOf",r.currentIds)}}function De(e,n){if(1&e&&(u.TgZ(0,"mat-accordion"),u.YNc(1,M,9,5,"mat-expansion-panel",4),u.YNc(2,Y,9,5,"mat-expansion-panel",4),u.YNc(3,Q,9,5,"mat-expansion-panel",4),u.YNc(4,B,9,5,"mat-expansion-panel",4),u.YNc(5,W,9,5,"mat-expansion-panel",4),u.YNc(6,ee,9,5,"mat-expansion-panel",4),u.YNc(7,re,9,5,"mat-expansion-panel",4),u.YNc(8,ce,9,5,"mat-expansion-panel",4),u.YNc(9,ge,9,5,"mat-expansion-panel",4),u.YNc(10,he,9,5,"mat-expansion-panel",4),u.YNc(11,be,9,5,"mat-expansion-panel",4),u.YNc(12,xe,9,5,"mat-expansion-panel",4),u.YNc(13,ye,9,5,"mat-expansion-panel",4),u.YNc(14,Ce,9,5,"mat-expansion-panel",4),u.YNc(15,Le,7,3,"mat-expansion-panel",2),u.YNc(16,Ye,7,3,"mat-expansion-panel",2),u.YNc(17,Pe,7,2,"mat-expansion-panel",5),u.qZA()),2&e){var t=u.oxw();u.xp6(1),u.Q6J("ngIf",t.isSelf),u.xp6(1),u.Q6J("ngIf",t.isGroupAdmin),u.xp6(1),u.Q6J("ngIf",t.isGroupObserver),u.xp6(1),u.Q6J("ngIf",t.isVoAdmin),u.xp6(1),u.Q6J("ngIf",t.isVoObserver),u.xp6(1),u.Q6J("ngIf",t.isTrustedFacilityAdmin),u.xp6(1),u.Q6J("ngIf",t.isTopGroupCreator),u.xp6(1),u.Q6J("ngIf",t.isResourceAdmin),u.xp6(1),u.Q6J("ngIf",t.isResourceObserver),u.xp6(1),u.Q6J("ngIf",t.isResourceSelfService),u.xp6(1),u.Q6J("ngIf",t.isFacilityAdmin),u.xp6(1),u.Q6J("ngIf",t.isFacilityObserver),u.xp6(1),u.Q6J("ngIf",t.hasSponsorship),u.xp6(1),u.Q6J("ngIf",t.isSponsor),u.xp6(1),u.Q6J("ngIf",t.isPerunAdmin),u.xp6(1),u.Q6J("ngIf",t.isPerunObserver),u.xp6(1),u.Q6J("ngForOf",t.roleNames)}}var Fe=function(){var n=function(){function n(e,t,r,s,a,o,u,c,l){i(this,n),this.authzResolverService=e,this.usersManagerService=t,this.vosManagerService=r,this.facilitiesManagerService=s,this.resourcesManagerService=a,this.membersManagerService=o,this.groupsManagerService=u,this.route=c,this.store=l,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}return s(n,[{key:"ngOnInit",value:function(){var e=this;this.outerLoading=!0,this.route.parent.params.subscribe(function(n){n.userId?(e.userId=n.userId,e.authzResolverService.getUserRoleNames(e.userId).subscribe(function(n){e.roleNames=n.map(function(e){return e.toUpperCase()}),e.authzResolverService.getUserRoles(e.userId).subscribe(function(n){e.prepareRoles(n)})})):(e.showDescription=!0,e.principal=e.store.getPerunPrincipal(),e.userId=e.principal.userId,e.roleNames=Object.keys(e.principal.roles),e.prepareRoles(e.principal.roles))})}},{key:"prepareRoles",value:function(e){var n=this;this.roleNames.forEach(function(t){var i=new Map;switch(Object.keys(e[t]).forEach(function(n){i.set(n,e[t][n])}),t){case"SELF":n.isSelf=!0;break;case"GROUPADMIN":n.isGroupAdmin=!0;break;case"VOADMIN":n.isVoAdmin=!0;break;case"RESOURCEADMIN":n.isResourceAdmin=!0;break;case"FACILITYADMIN":n.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":n.isTopGroupCreator=!0;break;case"SPONSORSHIP":n.hasSponsorship=!0;break;case"SPONSOR":n.isSponsor=!0;break;case"RESOURCESELFSERVICE":n.isResourceSelfService=!0;break;case"VOOBSERVER":n.isVoObserver=!0;break;case"RESOURCEOBSERVER":n.isResourceObserver=!0;break;case"GROUPOBSERVER":n.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":n.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":n.isFacilityObserver=!0;break;case"PERUNADMIN":n.isPerunAdmin=!0;break;case"PERUNOBSERVER":n.isPerunObserver=!0}n.roles.set(t,i)}),this.roleNames=this.roleNames.filter(function(e){return!n.roleFilter.includes(e)}),this.outerLoading=!1}},{key:"getAdminGroupsAndVos",value:function(){var n=this;this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(function(t){n.groups=t;var i=e(new Set(n.groups.map(function(e){return e.voId})));n.getVos(i)})}},{key:"getVos",value:function(e){var n=this;this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(e).subscribe(function(e){n.vos=e,n.loading=!1})}},{key:"getInnerKeys",value:function(e){if(this.roles.get(e)){for(var n=this.roles.get(e).entries(),t=[],i=n.next().value;i;)t.push(i),i=n.next().value;this.currentIds=t}else this.currentIds=[]}},{key:"getAdminVos",value:function(){var e=this;this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(function(n){e.vos=n,e.loading=!1})}},{key:"getAdminFacilities",value:function(){var e=this;this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(function(n){e.facilities=n.map(function(e){return{facility:e}}),e.loading=!1})}},{key:"getSelfData",value:function(){var e=this;this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(function(n){e.vos=n;var t=e.roles.get("SELF").get("User");t?e.usersManagerService.getUsersByIds(t).subscribe(function(n){e.users=n,e.loading=!1}):e.loading=!1})}},{key:"getResourcesData",value:function(e){var n=this;this.loading=!0;var t=this.roles.get(e).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(t).subscribe(function(e){n.resources=e,n.vos=n.resources.map(function(e){return e.vo}).filter(function(e,n,t){return t.indexOf(e)===n}),n.facilities=n.resources.map(function(e){return{facility:e.facility}}).filter(function(e,n,t){return t.indexOf(e)===n}),n.loading=!1})}},{key:"getMembers",value:function(){var e=this;this.loading=!0;var n=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(n).subscribe(function(n){e.members=n,e.loading=!1})}},{key:"getGroupsAndVos",value:function(e){var n=this;this.loading=!0;var t=this.roles.get(e).get("Vo"),i=this.roles.get(e).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(i).subscribe(function(e){n.groups=e,n.vosManagerService.getVosByIds(t).subscribe(function(e){n.vos=e,n.loading=!1})})}},{key:"getFacilities",value:function(e){var n=this;this.loading=!0,this.facilities=[];var t=this.roles.get(e).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(t).subscribe(function(e){n.facilities=e.map(function(e){return{facility:e}}),n.loading=!1})}}]),n}();return n.\u0275fac=function(e){return new(e||n)(u.Y36(a.Ct),u.Y36(a.Fv),u.Y36(a.YF),u.Y36(a.IQ),u.Y36(a.xk),u.Y36(a.uq),u.Y36(a.ff),u.Y36(c.gz),u.Y36(o.d6))},n.\u0275cmp=u.Xpm({type:n,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,n){2&e&&u.ekj("router-component",n.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[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","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,n){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.YNc(3,b,1,0,"mat-spinner",1),u.YNc(4,De,18,17,"mat-accordion",2)),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"ROLES.TITLE")),u.xp6(2),u.Q6J("ngIf",n.outerLoading),u.xp6(1),u.Q6J("ngIf",!n.outerLoading))},directives:[l.O5,p.$g,f.pp,l.sg,f.ib,f.yz,f.yK,g.Hw,d.kc,m.Z,v.C,h.W,Z.C,I.X,S.O],pipes:[A.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n}()},68787:function(e,n,t){"use strict";t.d(n,{x:function(){return g}});var r=t(33642),a=t(31572),o=t(57629),u=t(61511),c=t(67806),l=t(8557);function p(e,n){1&e&&a._UZ(0,"mat-spinner",2)}function f(e,n){if(1&e&&(a.TgZ(0,"div"),a._UZ(1,"perun-web-apps-menu-buttons-field",3),a.qZA()),2&e){var t=a.oxw();a.xp6(1),a.Q6J("items",t.navItems)("size","small")}}var g=function(){var e=function(){function e(n,t){i(this,e),this.route=n,this.userManager=t,this.navItems=[],this.loading=!1}return s(e,[{key:"ngOnInit",value:function(){var e=this;window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(function(n){e.userManager.getUserById(n.userId).subscribe(function(n){e.isServiceUser=n.serviceUser,e.initNavItems(),e.loading=!1},function(){return e.loading=!1})})):this.initNavItems()}},{key:"initNavItems",value:function(){this.navItems=[],window.location.pathname.startsWith("/admin")?this.navItems.push(this.isServiceUser?{cssIcon:"perun-service-identity",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}):this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings2",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(a.Y36(o.gz),a.Y36(r.Fv))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,n){2&e&&a.ekj("router-component",n.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,n){1&e&&(a.YNc(0,p,1,0,"mat-spinner",0),a.YNc(1,f,2,2,"div",1)),2&e&&(a.Q6J("ngIf",n.loading),a.xp6(1),a.Q6J("ngIf",!n.loading))},directives:[u.O5,c.$g,l.L],styles:[""]}),e}()},40790:function(e,n,t){"use strict";t.d(n,{L:function(){return a}});var r=t(31572),s=t(21575),a=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,n){2&e&&r.ekj("router-component",n.true)},decls:1,vars:0,template:function(e,n){1&e&&r._UZ(0,"app-animated-router-outlet")},directives:[s.A],styles:[""]}),e}()},6363:function(e,n,t){"use strict";t.r(n),t.d(n,{UsersModule:function(){return me}});var r=t(61511),a=t(57629),o=t(15879),u=t(31612),c=t(40790),l=t(68787),p=t(95690),f=t(41939),g=t(84140),d=t(13857),m=t(31572),v=t(66283),h=t(4786),Z=t(71522),I=t(48160);function S(e,n){if(1&e&&(m.TgZ(0,"mat-option",5),m._uU(1),m.qZA()),2&e){var t=n.$implicit;m.Q6J("value",t),m.xp6(1),m.hij(" ",t," ")}}var A=function(){var e=function(){function e(n){i(this,e),this.guiConfigService=n,this.tablePageSizeOptions=g.f7}return s(e,[{key:"ngOnInit",value:function(){this.preferredTablePageSize=this.guiConfigService.getNumber(d.Rc)}},{key:"updatePreferredTablePageSize",value:function(){this.guiConfigService.setNumber(d.Rc,this.preferredTablePageSize)}}]),e}();return e.\u0275fac=function(n){return new(n||e)(m.Y36(d.Ng))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,n){1&e&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"mat-form-field",2),m.TgZ(5,"mat-label"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"mat-select",3),m.NdJ("valueChange",function(e){return n.preferredTablePageSize=e})("valueChange",function(){return n.updatePreferredTablePageSize()}),m.YNc(9,S,2,2,"mat-option",4),m.qZA(),m.qZA(),m.qZA()),2&e&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),m.xp6(5),m.Oqu(m.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),m.xp6(2),m.Q6J("value",n.preferredTablePageSize),m.xp6(1),m.Q6J("ngForOf",n.tablePageSizeOptions))},directives:[v.KE,v.hX,h.gD,r.sg,Z.ey],pipes:[I.X$],styles:[""]}),e}(),b=t(71956),E=t(88426),T=t(48958),R=t(66297),x=t(43691),N=t(36922),U=t(21575),O=t(22196),_=function(){return{color:"black"}},y=function(){return["/myProfile"]};function M(e,n){if(1&e&&(m.TgZ(0,"div",1),m._UZ(1,"perun-web-apps-back-button"),m.TgZ(2,"div",2),m._UZ(3,"mat-icon",3),m.ALo(4,"translate"),m.TgZ(5,"div",4),m.TgZ(6,"div",5),m.TgZ(7,"a",6),m._uU(8),m.ALo(9,"userFullName"),m.qZA(),m.TgZ(10,"span",7),m._uU(11),m.qZA(),m.qZA(),m.TgZ(12,"span",8),m._uU(13),m.ALo(14,"translate"),m.ALo(15,"translate"),m.qZA(),m.qZA(),m.qZA(),m._UZ(16,"app-animated-router-outlet"),m.qZA()),2&e){var t=m.oxw();m.xp6(3),m.s9C("matTooltip",m.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),m.Q6J("ngStyle",m.DdM(16,_)),m.xp6(4),m.Q6J("routerLink",m.DdM(17,y)),m.xp6(1),m.hij(" ",m.lcZ(9,10,t.user)," "),m.xp6(3),m.hij(" \xa0#",t.user.id," "),m.xp6(2),m.lnq(" ",m.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",m.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",t.getUserType()," ")}}var w,q=function(){var e=function(){function e(n,t,r){i(this,e),this.sideMenuService=n,this.store=t,this.router=r}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.path=this.router.url,this.router.events.subscribe(function(){e.path=e.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}},{key:"getUserType",value:function(){return this.user.serviceUser?"Service":"Person"}}]),e}();return e.\u0275fac=function(n){return new(n||e)(m.Y36(T.D),m.Y36(E.d6),m.Y36(a.F0))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(e,n){1&e&&m.YNc(0,M,17,18,"div",0),2&e&&m.Q6J("ngIf",void 0!==n.user)},directives:[r.O5,R.W,x.Hw,N.gM,r.PC,a.yS,U.A],pipes:[I.X$,O.d],styles:[""]}),e}(),C=t(7233),L=[{path:"",component:q,children:[{path:"",component:b.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:p.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:o.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:u.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:C.t,data:{animation:"UserRolesPage"}},{path:"settings",component:c.L,children:[{path:"",component:l.x,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:f.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:A,data:{animation:"UserAppConfigurationPage"}}]}]}],Y=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=m.oAB({type:e}),e.\u0275inj=m.cJS({imports:[[a.Bz.forChild(L)],a.Bz]}),e}(),J=t(40084),P=t(80340),D=t(16073),F=t(25122),Q=t(45001),V=t(15980),k=t(58623),z=t(67033),B=t(55109),G=t(91010),j=t(29236),H=t(84608),W=t(71403),X=t(67806),$=t(45994),K=t(27521),ee=t(15812),ne=t(54810),te=t(27679),ie=t(73005),re=t(27439),se=t(70663),ae=t(88975),oe=t(10033),ue=t(8055),ce=t(4253),le=t(22727),pe=t(41050),fe=t(7423),ge=t(22280),de=t(28780),me=((w=function e(n){i(this,e),this.translate=n,n.addLangs(["en","cs"])}).\u0275fac=function(e){return new(e||w)(m.LFG(I.sK))},w.\u0275mod=m.oAB({type:w}),w.\u0275inj=m.cJS({imports:[[r.ez,Y,J.Bb,P.c,v.lN,D.UX,D.u5,x.Ps,F.SJ,Q.To,I.aw.forChild({}),V.ot,k.JX,z.p0,B.Nh,G.dp,V.ot,j.p9,H.Is,h.LD,W.ZX,X.Cq,$.Cv,N.AV,K.rP,ee.FA,Z.XK,ne.Fk,te.t,Z.si,ie.TU,re.QW,se.T5,ae._t,re.QW,oe.Hi,ue.Tx,ce.Cl,le.r,pe.g,f.ez,fe.r,ge.d4,de.m]]}),w)}}])}(); \ No newline at end of file +!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||n(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){if(e){if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}function t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(u)throw a}}}}(e.vos);try{var s=function(){var n=i.value;e.memberService.getMemberByUser(n.id,e.userId).subscribe(function(t){e.groupService.getMemberGroups(t.id).subscribe(function(t){e.membersGroups=e.membersGroups.concat(t),e.vos.indexOf(n)===e.vos.length-1&&(e.memberRefresh=!1)})})};for(r.s();!(i=r.n()).done;)s()}catch(a){r.e(a)}finally{r.f()}0===t.length&&(e.memberRefresh=!1)})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(c.Y36(o.Fv),c.Y36(o.uq),c.Y36(u.dB),c.Y36(o.ff),c.Y36(a.d6),c.Y36(l.gz))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-user-groups"]],hostVars:2,hostBindings:function(e,n){2&e&&c.ekj("router-component",n.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","displayedColumns","disableMembers","filter","page"],[1,"mt-5"]],template:function(e,n){1&e&&(c.YNc(0,h,3,3,"h1",0),c.YNc(1,Z,3,3,"h1",0),c.TgZ(2,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return n.refreshMemberTable()}),c.qZA(),c.TgZ(3,"perun-web-apps-immediate-filter",2),c.NdJ("filter",function(e){return n.memberFilter(e)}),c.qZA(),c.YNc(4,I,1,0,"mat-spinner",3),c.YNc(5,A,1,6,"perun-web-apps-groups-list",4),c.YNc(6,R,8,6,"div",5)),2&e&&(c.Q6J("ngIf",n.showPrincipal),c.xp6(1),c.Q6J("ngIf",!n.showPrincipal),c.xp6(2),c.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),c.xp6(1),c.Q6J("ngIf",n.memberRefresh),c.xp6(1),c.Q6J("ngIf",!n.memberRefresh),c.xp6(1),c.Q6J("ngIf",!n.showPrincipal))},directives:[p.O5,f.t,g.L,d.$g,m.W],pipes:[v.X$],styles:[""]}),e}()},15879:function(e,n,t){"use strict";t.d(n,{j:function(){return E}});var r=t(33642),a=t(88426),o=t(60611),u=t(31572),c=t(57629),l=t(61511),p=t(59403),f=t(19139),g=t(67806),d=t(97162),m=t(48160);function v(e,n){1&e&&(u.TgZ(0,"h1",6),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.YOU_ARE_MEMBER"),"\n"))}function h(e,n){1&e&&(u.TgZ(0,"h1",6),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_MEMBER"),"\n"))}function Z(e,n){1&e&&u._UZ(0,"mat-spinner",7)}function I(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"perun-web-apps-vos-list",8),u.NdJ("page",function(e){return u.CHM(t),u.oxw().memberPageChanged(e)}),u.qZA()}if(2&e){var i=u.oxw();u.Q6J("displayedColumns",i.displayedColumns)("pageSize",i.memberPageSize)("filterValue",i.memberFilterValue)("vos",i.vosWhereIsMember)}}function S(e,n){1&e&&u._UZ(0,"mat-spinner",7)}function A(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"perun-web-apps-vos-list",8),u.NdJ("page",function(e){return u.CHM(t),u.oxw(2).adminPageChanged(e)}),u.qZA()}if(2&e){var i=u.oxw(2);u.Q6J("displayedColumns",i.displayedColumns)("pageSize",i.adminPageSize)("filterValue",i.adminFilterValue)("vos",i.vosWhereIsAdmin)}}function b(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"div",9),u.TgZ(1,"h1",6),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().refreshAdminTable()}),u.qZA(),u.TgZ(5,"perun-web-apps-immediate-filter",2),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyAdminFilter(e)}),u.qZA(),u.YNc(6,S,1,0,"mat-spinner",3),u.YNc(7,A,1,4,"perun-web-apps-vos-list",4),u.qZA()}if(2&e){var i=u.oxw();u.xp6(2),u.Oqu(u.lcZ(3,4,"SHARED_LIB.PERUN.ORGANIZATIONS.USER_IS_ADMIN")),u.xp6(3),u.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),u.xp6(1),u.Q6J("ngIf",i.adminRefresh),u.xp6(1),u.Q6J("ngIf",!i.adminRefresh)}}var E=function(){var e=function(){function e(n,t,r,s,a){i(this,e),this.usersService=n,this.authResolver=t,this.tableConfigService=r,this.store=s,this.route=a,this.adminFilterValue="",this.memberFilterValue="",this.displayedColumns=["id","name"],this.adminTableId=o.YF,this.memberTableId=o.gc}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.adminPageSize=this.tableConfigService.getTablePageSize(this.adminTableId),this.memberPageSize=this.tableConfigService.getTablePageSize(this.memberTableId),!0===(this.isMyProfile=this.route.snapshot.data.showPrincipal)?this.userId=this.store.getPerunPrincipal().user.id:this.route.parent.params.subscribe(function(n){return e.userId=n.userId}),this.refreshAdminTable(),this.refreshMemberTable()}},{key:"refreshMemberTable",value:function(){var e=this;this.memberRefresh=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(n){e.vosWhereIsMember=n,e.memberRefresh=!1},function(){return e.memberRefresh=!1})}},{key:"refreshAdminTable",value:function(){var e=this;this.adminRefresh=!0,this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(function(n){e.vosWhereIsAdmin=n,e.adminRefresh=!1},function(){return e.adminRefresh=!1})}},{key:"applyMemberFilter",value:function(e){this.memberFilterValue=e}},{key:"adminPageChanged",value:function(e){this.adminPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.adminTableId,e.pageSize)}},{key:"memberPageChanged",value:function(e){this.memberPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.memberTableId,e.pageSize)}},{key:"applyAdminFilter",value:function(e){this.adminFilterValue=e}}]),e}();return e.\u0275fac=function(n){return new(n||e)(u.Y36(r.Fv),u.Y36(a.x4),u.Y36(o.dB),u.Y36(a.d6),u.Y36(c.gz))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-user-organizations"]],hostVars:2,hostBindings:function(e,n){2&e&&u.ekj("router-component",n.true)},decls:7,vars:6,consts:[["class","page-subtitle",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","pageSize","filterValue","vos","page",4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"page-subtitle"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","pageSize","filterValue","vos","page"],[1,"mt-5"]],template:function(e,n){1&e&&(u.YNc(0,v,3,3,"h1",0),u.YNc(1,h,3,3,"h1",0),u.TgZ(2,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return n.refreshMemberTable()}),u.qZA(),u.TgZ(3,"perun-web-apps-immediate-filter",2),u.NdJ("filter",function(e){return n.applyMemberFilter(e)}),u.qZA(),u.YNc(4,Z,1,0,"mat-spinner",3),u.YNc(5,I,1,4,"perun-web-apps-vos-list",4),u.YNc(6,b,8,6,"div",5)),2&e&&(u.Q6J("ngIf",n.isMyProfile),u.xp6(1),u.Q6J("ngIf",!n.isMyProfile),u.xp6(2),u.Q6J("placeholder","SHARED_LIB.PERUN.ORGANIZATIONS.FILTER"),u.xp6(1),u.Q6J("ngIf",n.memberRefresh),u.xp6(1),u.Q6J("ngIf",!n.memberRefresh),u.xp6(1),u.Q6J("ngIf",!n.isMyProfile))},directives:[l.O5,p.t,f.L,g.$g,d.Z],pipes:[m.X$],styles:[""]}),e}()},71956:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var r=t(33642),a=t(67033),o=t(88426),u=t(67004),c=t(84140),l=t(61189),p=t(31572),f=t(57629),g=t(84608),d=t(61511),m=t(8557),v=t(27439),h=t(15980),Z=t(43691),I=t(48160);function S(e,n){1&e&&p._UZ(0,"th",12)}function A(e,n){if(1&e&&(p.TgZ(0,"td",13),p._uU(1),p.qZA()),2&e){var t=n.$implicit;p.xp6(1),p.hij(" ",t.displayName,": ")}}function b(e,n){1&e&&p._UZ(0,"th",12)}function E(e,n){if(1&e){var t=p.EpF();p.TgZ(0,"td",14),p._uU(1),p.TgZ(2,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw(2).changeEmail()}),p.TgZ(3,"mat-icon"),p._uU(4,"edit"),p.qZA(),p.qZA(),p.qZA()}if(2&e){var i=n.$implicit;p.xp6(1),p.hij(" ",i.value," ")}}function T(e,n){1&e&&p._UZ(0,"tr",16)}function R(e,n){if(1&e&&(p.TgZ(0,"div",2),p.TgZ(1,"mat-card",3),p.TgZ(2,"mat-card-header"),p.TgZ(3,"mat-card-title"),p.TgZ(4,"h1",4),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(7,"mat-card-content"),p.TgZ(8,"table",5),p.ynx(9,6),p.YNc(10,S,1,0,"th",7),p.YNc(11,A,2,1,"td",8),p.BQk(),p.ynx(12,9),p.YNc(13,b,1,0,"th",7),p.YNc(14,E,5,1,"td",10),p.BQk(),p.YNc(15,T,1,0,"tr",11),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){var t=p.oxw();p.xp6(5),p.Oqu(p.lcZ(6,3,"USER_DETAIL.OVERVIEW.GENERAL_SETTINGS")),p.xp6(3),p.Q6J("dataSource",t.mailDataSource),p.xp6(7),p.Q6J("matRowDefColumns",t.displayedColumns)}}var x=function(){var e=function(){function e(n,t,r,s,a){i(this,e),this.userService=n,this.attributeService=t,this.storeService=r,this.route=s,this.dialog=a,this.navItems=[],this.displayedColumns=["name","value"],this.inMyProfile=!1}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(n){void 0!==n.userId?e.userService.getUserById(n.userId).subscribe(function(n){e.user=n,e.initNavItems()}):(e.inMyProfile=!0,e.userID=e.storeService.getPerunPrincipal().user.id,e.attributeService.getUserAttributeByName(e.userID,u.r.USER_DEF_PREFERRED_MAIL).subscribe(function(n){e.preferredMail=n,e.handleMailNotDefined(),e.mailDataSource=new a.by([e.preferredMail]),e.initNavItems()}))})}},{key:"initNavItems",value:function(){this.navItems=[{cssIcon:"perun-vo",url:"organizations",label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",style:"user-btn"},{cssIcon:"perun-group",url:"groups",label:"MENU_ITEMS.ADMIN.GROUPS",style:"user-btn"}],window.location.pathname.startsWith("/admin")&&this.navItems.push({cssIcon:"perun-user",url:"accounts",label:"MENU_ITEMS.USER.ACCOUNTS",style:"user-btn"},{cssIcon:"perun-group",url:"identities",label:"MENU_ITEMS.USER.IDENTITIES",style:"user-btn"},{cssIcon:"perun-facility-white",url:"facilities",label:"MENU_ITEMS.USER.FACILITIES",style:"user-btn"},{cssIcon:"perun-resource",url:"resources",label:"MENU_ITEMS.USER.RESOURCES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"attributes",label:"MENU_ITEMS.USER.ATTRIBUTES",style:"user-btn"}),this.navItems.push({cssIcon:"perun-group",url:"roles",label:"MENU_ITEMS.USER.ROLES",style:"user-btn"},{cssIcon:"perun-settings2",url:"settings",label:"MENU_ITEMS.ADMIN.SETTINGS",style:"user-btn"})}},{key:"changeEmail",value:function(){var e=this,n=(0,c.kZ)();n.width="350px",n.data={userId:this.userID},this.dialog.open(l.gr,n).afterClosed().subscribe(function(n){n&&e.attributeService.getUserAttributeByName(e.userID,u.r.USER_DEF_PREFERRED_MAIL).subscribe(function(n){e.preferredMail=n,e.handleMailNotDefined(),e.mailDataSource=new a.by([e.preferredMail])})})}},{key:"handleMailNotDefined",value:function(){null==this.preferredMail&&(this.preferredMail={id:-1,beanName:"Attribute",displayName:(0,c.Cz)(u.r.USER_DEF_PREFERRED_MAIL.split(":").pop()),value:Object("-")})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(p.Y36(r.Fv),p.Y36(r.H8),p.Y36(o.d6),p.Y36(f.gz),p.Y36(g.uw))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-user-overview"]],hostVars:2,hostBindings:function(e,n){2&e&&p.ekj("router-component",n.true)},decls:2,vars:3,consts:[["class","align-cards",4,"ngIf"],[3,"items","size"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-icon-button","",1,"ml-3",3,"click"],["mat-row",""]],template:function(e,n){1&e&&(p.YNc(0,R,16,5,"div",0),p._UZ(1,"perun-web-apps-menu-buttons-field",1)),2&e&&(p.Q6J("ngIf",n.inMyProfile),p.xp6(1),p.Q6J("items",n.navItems)("size","small"))},directives:[d.O5,m.L,v.a8,v.dk,v.n5,v.dn,a.BZ,a.w1,a.fO,a.Dz,a.nj,a.ge,a.ev,h.lW,Z.Hw,a.Gk],pipes:[I.X$],styles:[".align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}"]}),e}()},7233:function(n,t,r){"use strict";r.d(t,{t:function(){return Fe}});var a=r(33642),o=r(88426),u=r(31572),c=r(57629),l=r(61511),p=r(67806),f=r(45001),g=r(43691),d=r(27439),m=r(97162),v=r(86593),h=r(78364),Z=r(88884),I=r(60007),S=r(4252),A=r(48160);function b(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function E(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function T(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_VOS_ADMIN")," "))}function R(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_VOS")," "))}function x(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_IDENTITIES_ADMIN")," "))}function N(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SELF_IDENTITIES")," "))}var U=function(){return["user","id","name"]};function O(e,n){if(1&e&&(u.TgZ(0,"div",11),u.YNc(1,x,3,3,"div",2),u.YNc(2,N,3,3,"div",2),u._UZ(3,"app-users-list",12),u.qZA()),2&e){var t=u.oxw(4);u.xp6(1),u.Q6J("ngIf",!t.showDescription),u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("users",t.users)("disableRouting",!0)("displayedColumns",u.DdM(5,U))}}var _=function(){return["id","name","shortName"]};function y(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,T,3,3,"div",2),u.YNc(2,R,3,3,"div",2),u._UZ(3,"perun-web-apps-vos-list",9),u.YNc(4,O,4,6,"div",10),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",!t.showDescription),u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(5,_))("vos",t.vos),u.xp6(1),u.Q6J("ngIf",t.users.length)}}function M(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getSelfData()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,E,1,0,"mat-spinner",1),u.YNc(8,y,5,6,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SELF")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function w(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function q(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.GROUPADMIN_GROUPS")," "))}var C=function(){return["id","vo","name","description"]};function L(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,q,3,3,"div",2),u._UZ(2,"perun-web-apps-groups-list",14),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("groups",t.groups)("displayedColumns",u.DdM(3,C))}}function Y(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminGroupsAndVos()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",13),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,w,1,0,"mat-spinner",1),u.YNc(8,L,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.GROUPADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function J(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function P(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS")," "))}var D=function(){return["id","recent","vo","name","description"]};function F(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,P,3,3,"div",2),u._UZ(2,"perun-web-apps-groups-list",14),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("groups",t.groups)("displayedColumns",u.DdM(3,D))}}function Q(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getGroupsAndVos("GROUPOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",13),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,J,1,0,"mat-spinner",1),u.YNc(8,F,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.GROUPOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function V(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function k(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.VOADMIN_VOS")," "))}function z(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,k,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function B(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminVos()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,V,1,0,"mat-spinner",1),u.YNc(8,z,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.VOADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function G(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function j(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.VOOBSERVER_VOS")," "))}function H(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,j,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function W(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("VOOBSERVER").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,G,1,0,"mat-spinner",1),u.YNc(8,H,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.VOOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function X(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function $(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS")," "))}function K(e,n){if(1&e&&(u.TgZ(0,"div"),u.TgZ(1,"div"),u.YNc(2,$,3,3,"div",2),u._UZ(3,"perun-web-apps-vos-list",9),u.qZA(),u.qZA()),2&e){var t=u.oxw(3);u.xp6(2),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function ee(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,X,1,0,"mat-spinner",1),u.YNc(8,K,4,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function ne(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function te(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS")," "))}function ie(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,te,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function re(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("TOPGROUPCREATOR").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",15),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,ne,1,0,"mat-spinner",1),u.YNc(8,ie,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function se(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function ae(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES")," "))}var oe=function(){return["id","name","vo","facility","description"]};function ue(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,ae,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function ce(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCEADMIN")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,se,1,0,"mat-spinner",1),u.YNc(8,ue,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCEADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function le(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function pe(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES")," "))}function fe(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,pe,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function ge(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCEOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,le,1,0,"mat-spinner",1),u.YNc(8,fe,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function de(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function me(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES")," "))}function ve(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,me,3,3,"div",2),u._UZ(2,"perun-web-apps-resources-list",17),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("resources",t.resources)("routingVo",!0)("displayedColumns",u.DdM(4,oe))}}function he(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getResourcesData("RESOURCESELFSERVICE")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",16),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,de,1,0,"mat-spinner",1),u.YNc(8,ve,3,5,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ze(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Ie(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES")," "))}var Se=function(){return["id","name","description"]};function Ae(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Ie,3,3,"div",2),u._UZ(2,"perun-web-apps-facilities-list",19),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,Se))("facilities",t.facilities)}}function be(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getAdminFacilities()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",18),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ze,1,0,"mat-spinner",1),u.YNc(8,Ae,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.FACILITYADMIN")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ee(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Te(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES")," "))}function Re(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Te,3,3,"div",2),u._UZ(2,"perun-web-apps-facilities-list",19),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,Se))("facilities",t.facilities)}}function xe(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getFacilities("FACILITYOBSERVER")}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",18),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ee,1,0,"mat-spinner",1),u.YNc(8,Re,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.FACILITYOBSERVER")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Ne(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function Ue(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS")," "))}var Oe=function(){return["id","fullName","sponsored"]};function _e(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Ue,3,3,"div",2),u._UZ(2,"perun-web-apps-members-list",20),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("members",t.members)("displayedColumns",u.DdM(3,Oe))}}function ye(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){return u.CHM(t),u.oxw(2).getMembers()}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Ne,1,0,"mat-spinner",1),u.YNc(8,_e,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SPONSORSHIP")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Me(e,n){1&e&&u._UZ(0,"mat-spinner",3)}function we(e,n){1&e&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"ROLES.SPONSOR_VOS")," "))}function qe(e,n){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,we,3,3,"div",2),u._UZ(2,"perun-web-apps-vos-list",9),u.qZA()),2&e){var t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",t.showDescription),u.xp6(1),u.Q6J("displayedColumns",u.DdM(3,_))("vos",t.vos)}}function Ce(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){u.CHM(t);var e=u.oxw(2);return e.getVos(e.roles.get("SPONSOR").get("Vo"))}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(7,Me,1,0,"mat-spinner",1),u.YNc(8,qe,3,4,"div",2),u.qZA()}if(2&e){var i=u.oxw(2);u.xp6(5),u.Oqu(u.lcZ(6,3,"ROLES.SPONSOR")),u.xp6(2),u.Q6J("ngIf",i.loading),u.xp6(1),u.Q6J("ngIf",!i.loading)}}function Le(e,n){1&e&&(u.TgZ(0,"mat-expansion-panel"),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(5),u.Oqu(u.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function Ye(e,n){1&e&&(u.TgZ(0,"mat-expansion-panel"),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(5),u.Oqu(u.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function Je(e,n){if(1&e&&(u.TgZ(0,"p",22),u._uU(1),u.qZA()),2&e){var t=n.$implicit;u.xp6(1),u.AsE("",t[0]," ids: ",t[1],"")}}function Pe(e,n){if(1&e){var t=u.EpF();u.TgZ(0,"mat-expansion-panel",6),u.NdJ("opened",function(){var e=u.CHM(t).$implicit;return u.oxw(2).getInnerKeys(e)}),u.TgZ(1,"mat-expansion-panel-header"),u.TgZ(2,"mat-panel-title"),u._UZ(3,"mat-icon",7),u.TgZ(4,"p",8),u._uU(5),u.qZA(),u.qZA(),u.qZA(),u.YNc(6,Je,2,2,"p",21),u.qZA()}if(2&e){var i=n.$implicit,r=u.oxw(2);u.xp6(5),u.Oqu(i),u.xp6(1),u.Q6J("ngForOf",r.currentIds)}}function De(e,n){if(1&e&&(u.TgZ(0,"mat-accordion"),u.YNc(1,M,9,5,"mat-expansion-panel",4),u.YNc(2,Y,9,5,"mat-expansion-panel",4),u.YNc(3,Q,9,5,"mat-expansion-panel",4),u.YNc(4,B,9,5,"mat-expansion-panel",4),u.YNc(5,W,9,5,"mat-expansion-panel",4),u.YNc(6,ee,9,5,"mat-expansion-panel",4),u.YNc(7,re,9,5,"mat-expansion-panel",4),u.YNc(8,ce,9,5,"mat-expansion-panel",4),u.YNc(9,ge,9,5,"mat-expansion-panel",4),u.YNc(10,he,9,5,"mat-expansion-panel",4),u.YNc(11,be,9,5,"mat-expansion-panel",4),u.YNc(12,xe,9,5,"mat-expansion-panel",4),u.YNc(13,ye,9,5,"mat-expansion-panel",4),u.YNc(14,Ce,9,5,"mat-expansion-panel",4),u.YNc(15,Le,7,3,"mat-expansion-panel",2),u.YNc(16,Ye,7,3,"mat-expansion-panel",2),u.YNc(17,Pe,7,2,"mat-expansion-panel",5),u.qZA()),2&e){var t=u.oxw();u.xp6(1),u.Q6J("ngIf",t.isSelf),u.xp6(1),u.Q6J("ngIf",t.isGroupAdmin),u.xp6(1),u.Q6J("ngIf",t.isGroupObserver),u.xp6(1),u.Q6J("ngIf",t.isVoAdmin),u.xp6(1),u.Q6J("ngIf",t.isVoObserver),u.xp6(1),u.Q6J("ngIf",t.isTrustedFacilityAdmin),u.xp6(1),u.Q6J("ngIf",t.isTopGroupCreator),u.xp6(1),u.Q6J("ngIf",t.isResourceAdmin),u.xp6(1),u.Q6J("ngIf",t.isResourceObserver),u.xp6(1),u.Q6J("ngIf",t.isResourceSelfService),u.xp6(1),u.Q6J("ngIf",t.isFacilityAdmin),u.xp6(1),u.Q6J("ngIf",t.isFacilityObserver),u.xp6(1),u.Q6J("ngIf",t.hasSponsorship),u.xp6(1),u.Q6J("ngIf",t.isSponsor),u.xp6(1),u.Q6J("ngIf",t.isPerunAdmin),u.xp6(1),u.Q6J("ngIf",t.isPerunObserver),u.xp6(1),u.Q6J("ngForOf",t.roleNames)}}var Fe=function(){var n=function(){function n(e,t,r,s,a,o,u,c,l){i(this,n),this.authzResolverService=e,this.usersManagerService=t,this.vosManagerService=r,this.facilitiesManagerService=s,this.resourcesManagerService=a,this.membersManagerService=o,this.groupsManagerService=u,this.route=c,this.store=l,this.currentIds=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSORSHIP","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"],this.roleNames=[],this.groups=[],this.vos=[],this.facilities=[],this.users=[],this.resources=[],this.members=[]}return s(n,[{key:"ngOnInit",value:function(){var e=this;this.outerLoading=!0,this.route.parent.params.subscribe(function(n){n.userId?(e.userId=n.userId,e.authzResolverService.getUserRoleNames(e.userId).subscribe(function(n){e.roleNames=n.map(function(e){return e.toUpperCase()}),e.authzResolverService.getUserRoles(e.userId).subscribe(function(n){e.prepareRoles(n)})})):(e.showDescription=!0,e.principal=e.store.getPerunPrincipal(),e.userId=e.principal.userId,e.roleNames=Object.keys(e.principal.roles),e.prepareRoles(e.principal.roles))})}},{key:"prepareRoles",value:function(e){var n=this;this.roleNames.forEach(function(t){var i=new Map;switch(Object.keys(e[t]).forEach(function(n){i.set(n,e[t][n])}),t){case"SELF":n.isSelf=!0;break;case"GROUPADMIN":n.isGroupAdmin=!0;break;case"VOADMIN":n.isVoAdmin=!0;break;case"RESOURCEADMIN":n.isResourceAdmin=!0;break;case"FACILITYADMIN":n.isFacilityAdmin=!0;break;case"TOPGROUPCREATOR":n.isTopGroupCreator=!0;break;case"SPONSORSHIP":n.hasSponsorship=!0;break;case"SPONSOR":n.isSponsor=!0;break;case"RESOURCESELFSERVICE":n.isResourceSelfService=!0;break;case"VOOBSERVER":n.isVoObserver=!0;break;case"RESOURCEOBSERVER":n.isResourceObserver=!0;break;case"GROUPOBSERVER":n.isGroupObserver=!0;break;case"TRUSTEDFACILITYADMIN":n.isTrustedFacilityAdmin=!0;break;case"FACILITYOBSERVER":n.isFacilityObserver=!0;break;case"PERUNADMIN":n.isPerunAdmin=!0;break;case"PERUNOBSERVER":n.isPerunObserver=!0}n.roles.set(t,i)}),this.roleNames=this.roleNames.filter(function(e){return!n.roleFilter.includes(e)}),this.outerLoading=!1}},{key:"getAdminGroupsAndVos",value:function(){var n=this;this.loading=!0,this.groups=[],this.usersManagerService.getGroupsWhereUserIsAdmin(this.userId).subscribe(function(t){n.groups=t;var i=e(new Set(n.groups.map(function(e){return e.voId})));n.getVos(i)})}},{key:"getVos",value:function(e){var n=this;this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(e).subscribe(function(e){n.vos=e,n.loading=!1})}},{key:"getInnerKeys",value:function(e){if(this.roles.get(e)){for(var n=this.roles.get(e).entries(),t=[],i=n.next().value;i;)t.push(i),i=n.next().value;this.currentIds=t}else this.currentIds=[]}},{key:"getAdminVos",value:function(){var e=this;this.loading=!0,this.vos=[],this.usersManagerService.getVosWhereUserIsAdmin(this.userId).subscribe(function(n){e.vos=n,e.loading=!1})}},{key:"getAdminFacilities",value:function(){var e=this;this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesWhereUserIsAdmin(this.userId).subscribe(function(n){e.facilities=n.map(function(e){return{facility:e}}),e.loading=!1})}},{key:"getSelfData",value:function(){var e=this;this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(function(n){e.vos=n;var t=e.roles.get("SELF").get("User");t?e.usersManagerService.getUsersByIds(t).subscribe(function(n){e.users=n,e.loading=!1}):e.loading=!1})}},{key:"getResourcesData",value:function(e){var n=this;this.loading=!0;var t=this.roles.get(e).get("Resource");this.vos=[],this.facilities=[],this.resources=[],this.resourcesManagerService.getRichResourcesByIds(t).subscribe(function(e){n.resources=e,n.vos=n.resources.map(function(e){return e.vo}).filter(function(e,n,t){return t.indexOf(e)===n}),n.facilities=n.resources.map(function(e){return{facility:e.facility}}).filter(function(e,n,t){return t.indexOf(e)===n}),n.loading=!1})}},{key:"getMembers",value:function(){var e=this;this.loading=!0;var n=this.roles.get("SPONSORSHIP").get("Member");this.members=[],this.membersManagerService.getRichMembersByIds(n).subscribe(function(n){e.members=n,e.loading=!1})}},{key:"getGroupsAndVos",value:function(e){var n=this;this.loading=!0;var t=this.roles.get(e).get("Vo"),i=this.roles.get(e).get("Group");this.vos=[],this.groups=[],this.groupsManagerService.getGroupsByIds(i).subscribe(function(e){n.groups=e,n.vosManagerService.getVosByIds(t).subscribe(function(e){n.vos=e,n.loading=!1})})}},{key:"getFacilities",value:function(e){var n=this;this.loading=!0,this.facilities=[];var t=this.roles.get(e).get("Facility");this.facilitiesManagerService.getFacilitiesByIds(t).subscribe(function(e){n.facilities=e.map(function(e){return{facility:e}}),n.loading=!1})}}]),n}();return n.\u0275fac=function(e){return new(e||n)(u.Y36(a.Ct),u.Y36(a.Fv),u.Y36(a.YF),u.Y36(a.IQ),u.Y36(a.xk),u.Y36(a.uq),u.Y36(a.ff),u.Y36(c.gz),u.Y36(o.d6))},n.\u0275cmp=u.Xpm({type:n,selectors:[["app-user-roles"]],hostVars:2,hostBindings:function(e,n){2&e&&u.ekj("router-component",n.true)},decls:5,vars:5,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[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","vos"],["class","mt-5",4,"ngIf"],[1,"mt-5"],[3,"users","disableRouting","displayedColumns"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"groups","displayedColumns"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","routingVo","displayedColumns"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"members","displayedColumns"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"]],template:function(e,n){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.YNc(3,b,1,0,"mat-spinner",1),u.YNc(4,De,18,17,"mat-accordion",2)),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"ROLES.TITLE")),u.xp6(2),u.Q6J("ngIf",n.outerLoading),u.xp6(1),u.Q6J("ngIf",!n.outerLoading))},directives:[l.O5,p.$g,f.pp,l.sg,f.ib,f.yz,f.yK,g.Hw,d.kc,m.Z,v.C,h.W,Z.C,I.X,S.O],pipes:[A.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n}()},68787:function(e,n,t){"use strict";t.d(n,{x:function(){return g}});var r=t(33642),a=t(31572),o=t(57629),u=t(61511),c=t(67806),l=t(8557);function p(e,n){1&e&&a._UZ(0,"mat-spinner",2)}function f(e,n){if(1&e&&(a.TgZ(0,"div"),a._UZ(1,"perun-web-apps-menu-buttons-field",3),a.qZA()),2&e){var t=a.oxw();a.xp6(1),a.Q6J("items",t.navItems)("size","small")}}var g=function(){var e=function(){function e(n,t){i(this,e),this.route=n,this.userManager=t,this.navItems=[],this.loading=!1}return s(e,[{key:"ngOnInit",value:function(){var e=this;window.location.pathname.startsWith("/admin")?(this.loading=!0,this.route.parent.parent.params.subscribe(function(n){e.userManager.getUserById(n.userId).subscribe(function(n){e.isServiceUser=n.serviceUser,e.initNavItems(),e.loading=!1},function(){return e.loading=!1})})):this.initNavItems()}},{key:"initNavItems",value:function(){this.navItems=[],window.location.pathname.startsWith("/admin")?this.navItems.push(this.isServiceUser?{cssIcon:"perun-service-identity",url:"associated-users",label:"MENU_ITEMS.USER.ASSOCIATED_USERS",style:"user-btn"}:{cssIcon:"perun-service-identity",url:"service-identities",label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",style:"user-btn"}):this.navItems.push({cssIcon:"perun-settings2",url:"passwordReset",label:"MENU_ITEMS.USER.PASSWORD_RESET",style:"user-btn"},{cssIcon:"perun-settings2",url:"guiConfig",label:"MENU_ITEMS.USER.GUI_CONFIG",style:"user-btn"})}}]),e}();return e.\u0275fac=function(n){return new(n||e)(a.Y36(o.gz),a.Y36(r.Fv))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-user-settings-overview"]],hostVars:2,hostBindings:function(e,n){2&e&&a.ekj("router-component",n.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,n){1&e&&(a.YNc(0,p,1,0,"mat-spinner",0),a.YNc(1,f,2,2,"div",1)),2&e&&(a.Q6J("ngIf",n.loading),a.xp6(1),a.Q6J("ngIf",!n.loading))},directives:[u.O5,c.$g,l.L],styles:[""]}),e}()},40790:function(e,n,t){"use strict";t.d(n,{L:function(){return a}});var r=t(31572),s=t(21575),a=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-user-settings"]],hostVars:2,hostBindings:function(e,n){2&e&&r.ekj("router-component",n.true)},decls:1,vars:0,template:function(e,n){1&e&&r._UZ(0,"app-animated-router-outlet")},directives:[s.A],styles:[""]}),e}()},6363:function(e,n,t){"use strict";t.r(n),t.d(n,{UsersModule:function(){return me}});var r=t(61511),a=t(57629),o=t(15879),u=t(31612),c=t(40790),l=t(68787),p=t(95690),f=t(10896),g=t(84140),d=t(13857),m=t(31572),v=t(66283),h=t(4786),Z=t(71522),I=t(48160);function S(e,n){if(1&e&&(m.TgZ(0,"mat-option",5),m._uU(1),m.qZA()),2&e){var t=n.$implicit;m.Q6J("value",t),m.xp6(1),m.hij(" ",t," ")}}var A=function(){var e=function(){function e(n){i(this,e),this.guiConfigService=n,this.tablePageSizeOptions=g.f7}return s(e,[{key:"ngOnInit",value:function(){this.preferredTablePageSize=this.guiConfigService.getNumber(d.Rc)}},{key:"updatePreferredTablePageSize",value:function(){this.guiConfigService.setNumber(d.Rc,this.preferredTablePageSize)}}]),e}();return e.\u0275fac=function(n){return new(n||e)(m.Y36(d.Ng))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-user-settings-app-configuration"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[1,"col-12","col-lg-6","p-0"],[1,"w-100"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,n){1&e&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"mat-form-field",2),m.TgZ(5,"mat-label"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"mat-select",3),m.NdJ("valueChange",function(e){return n.preferredTablePageSize=e})("valueChange",function(){return n.updatePreferredTablePageSize()}),m.YNc(9,S,2,2,"mat-option",4),m.qZA(),m.qZA(),m.qZA()),2&e&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"USER_DETAIL.SETTINGS.GUI_CONFIG.TITLE")),m.xp6(5),m.Oqu(m.lcZ(7,6,"USER_DETAIL.SETTINGS.GUI_CONFIG.PREF_TABLE_PAGE_SIZE")),m.xp6(2),m.Q6J("value",n.preferredTablePageSize),m.xp6(1),m.Q6J("ngForOf",n.tablePageSizeOptions))},directives:[v.KE,v.hX,h.gD,r.sg,Z.ey],pipes:[I.X$],styles:[""]}),e}(),b=t(71956),E=t(88426),T=t(48958),R=t(66297),x=t(43691),N=t(36922),U=t(21575),O=t(22196),_=function(){return{color:"black"}},y=function(){return["/myProfile"]};function M(e,n){if(1&e&&(m.TgZ(0,"div",1),m._UZ(1,"perun-web-apps-back-button"),m.TgZ(2,"div",2),m._UZ(3,"mat-icon",3),m.ALo(4,"translate"),m.TgZ(5,"div",4),m.TgZ(6,"div",5),m.TgZ(7,"a",6),m._uU(8),m.ALo(9,"userFullName"),m.qZA(),m.TgZ(10,"span",7),m._uU(11),m.qZA(),m.qZA(),m.TgZ(12,"span",8),m._uU(13),m.ALo(14,"translate"),m.ALo(15,"translate"),m.qZA(),m.qZA(),m.qZA(),m._UZ(16,"app-animated-router-outlet"),m.qZA()),2&e){var t=m.oxw();m.xp6(3),m.s9C("matTooltip",m.lcZ(4,8,"MENU_ITEMS.USER.ENTITY")),m.Q6J("ngStyle",m.DdM(16,_)),m.xp6(4),m.Q6J("routerLink",m.DdM(17,y)),m.xp6(1),m.hij(" ",m.lcZ(9,10,t.user)," "),m.xp6(3),m.hij(" \xa0#",t.user.id," "),m.xp6(2),m.lnq(" ",m.lcZ(14,12,"MENU_ITEMS.USER.ENTITY"),", ",m.lcZ(15,14,"MENU_ITEMS.USER.USER_TYPE"),": ",t.getUserType()," ")}}var w,q=function(){var e=function(){function e(n,t,r){i(this,e),this.sideMenuService=n,this.store=t,this.router=r}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.path=this.router.url,this.router.events.subscribe(function(){e.path=e.router.url}),this.principal=this.store.getPerunPrincipal(),this.user=this.principal.user,this.sideMenuService.setUserItems([])}},{key:"getUserType",value:function(){return this.user.serviceUser?"Service":"Person"}}]),e}();return e.\u0275fac=function(n){return new(n||e)(m.Y36(T.D),m.Y36(E.d6),m.Y36(a.F0))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"user-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"]],template:function(e,n){1&e&&m.YNc(0,M,17,18,"div",0),2&e&&m.Q6J("ngIf",void 0!==n.user)},directives:[r.O5,R.W,x.Hw,N.gM,r.PC,a.yS,U.A],pipes:[I.X$,O.d],styles:[""]}),e}(),C=t(7233),L=[{path:"",component:q,children:[{path:"",component:b.Z,data:{animation:"UserOverviewPage"}},{path:"attributes",component:p.u,data:{animation:"UserAttributesPage"}},{path:"organizations",component:o.j,data:{animation:"UserOrganizationsPage",showPrincipal:!0}},{path:"groups",component:u.u,data:{animation:"UserGroupsPage",showPrincipal:!0}},{path:"roles",component:C.t,data:{animation:"UserRolesPage"}},{path:"settings",component:c.L,children:[{path:"",component:l.x,data:{animation:"UserSettingsOverviewPage"}},{path:"passwordReset",component:f.Nj,data:{animation:"PasswordResetPage"}},{path:"guiConfig",component:A,data:{animation:"UserAppConfigurationPage"}}]}]}],Y=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=m.oAB({type:e}),e.\u0275inj=m.cJS({imports:[[a.Bz.forChild(L)],a.Bz]}),e}(),J=t(40084),P=t(80340),D=t(16073),F=t(25122),Q=t(45001),V=t(15980),k=t(58623),z=t(67033),B=t(55109),G=t(91010),j=t(29236),H=t(84608),W=t(71403),X=t(67806),$=t(45994),K=t(27521),ee=t(15812),ne=t(54810),te=t(27679),ie=t(73005),re=t(27439),se=t(70663),ae=t(88975),oe=t(10033),ue=t(8055),ce=t(4253),le=t(22727),pe=t(41050),fe=t(7423),ge=t(22280),de=t(28780),me=((w=function e(n){i(this,e),this.translate=n,n.addLangs(["en","cs"])}).\u0275fac=function(e){return new(e||w)(m.LFG(I.sK))},w.\u0275mod=m.oAB({type:w}),w.\u0275inj=m.cJS({imports:[[r.ez,Y,J.Bb,P.c,v.lN,D.UX,D.u5,x.Ps,F.SJ,Q.To,I.aw.forChild({}),V.ot,k.JX,z.p0,B.Nh,G.dp,V.ot,j.p9,H.Is,h.LD,W.ZX,X.Cq,$.Cv,N.AV,K.rP,ee.FA,Z.XK,ne.Fk,te.t,Z.si,ie.TU,re.QW,se.T5,ae._t,re.QW,oe.Hi,ue.Tx,ce.Cl,le.r,pe.g,f.ez,fe.r,ge.d4,de.m]]}),w)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/3rdpartylicenses.txt b/dist/apps/admin-gui/3rdpartylicenses.txt index 6b33f2f49..9385e5f0d 100644 --- a/dist/apps/admin-gui/3rdpartylicenses.txt +++ b/dist/apps/admin-gui/3rdpartylicenses.txt @@ -299,6 +299,17 @@ Apache-2.0 @ngx-translate/core MIT +angular-oauth2-oidc +MIT +Copyright (c) 2017 Manfred Steyer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + bootstrap MIT The MIT License (MIT) @@ -888,60 +899,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -oidc-client -Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and -You must cause any modified files to carry prominent notices stating that You changed the files; and -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - querystring MIT diff --git a/dist/apps/admin-gui/427-es2015.1c911b592f126adfd085.js b/dist/apps/admin-gui/427-es2015.1c911b592f126adfd085.js deleted file mode 100644 index c20b3f90f..000000000 --- a/dist/apps/admin-gui/427-es2015.1c911b592f126adfd085.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[427],{67427:function(t,e,i){"use strict";i.r(e),i.d(e,{VosModule:function(){return ql}});var o=i(61511),a=i(57629),s=i(17249),n=i(75585),r=i(17),l=i(33642),c=i(84140),u=i(88426),p=i(67004),d=i(61189),g=i(43491),h=i(31572),m=i(48958),A=i(84608),I=i(66297),T=i(67806),f=i(43691),E=i(36922),Z=i(21575),b=i(15980),_=i(48160),S=i(44385),N=i(52984),O=i(51392);function v(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function x(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).editGroup()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function C(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).deleteGroup()}),h.TgZ(1,"mat-icon"),h._uU(2,"delete_forever"),h.qZA(),h.qZA()}}function L(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(3).onSyncDetail()}),h.ALo(1,"groupSyncIcon"),h.TgZ(2,"mat-icon"),h.ALo(3,"groupSyncIconColor"),h._uU(4),h.ALo(5,"groupSyncIcon"),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.Q6J("disabled","sync_disabled"===h.lcZ(1,5,t.group)),h.xp6(2),h.Tol(h.lcZ(3,7,t.group)),h.xp6(2),h.hij(" ",h.lcZ(5,9,t.group)," ")}}function R(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"span",15),h.ALo(4,"translate"),h.ALo(5,"groupSyncToolTip"),h.YNc(6,L,6,11,"button",16),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.hij(" , ",h.lcZ(2,4,"GROUP_DETAIL.SYNCHRONIZATION"),": "),h.xp6(2),h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(4,6,h.lcZ(5,8,t.group))),h.xp6(3),h.Q6J("ngIf",t.syncAuth)}}const M=function(){return{color:"black"}},D=function(t,e){return["/organizations",t,"groups",e]},U=function(t){return["/organizations",t]};function q(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.YNc(10,x,3,0,"button",10),h.YNc(11,C,3,0,"button",11),h.qZA(),h.TgZ(12,"div"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"span",12),h._uU(16),h.ALo(17,"translate"),h.ALo(18,"translate"),h.TgZ(19,"a",8),h._uU(20),h.qZA(),h._uU(21),h.ALo(22,"translate"),h.YNc(23,R,7,10,"span",2),h.qZA(),h.qZA(),h.qZA(),h._UZ(24,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,16,"GROUP_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(26,M)),h.xp6(4),h.Q6J("routerLink",h.WLB(27,D,t.vo.id,t.group.id)),h.xp6(1),h.hij(" ",t.group.shortName," "),h.xp6(2),h.hij(" \xa0#",t.group.id," "),h.xp6(1),h.Q6J("ngIf","members"!==t.group.name&&t.editAuth),h.xp6(1),h.Q6J("ngIf","members"!==t.group.name&&t.deleteAuth),h.xp6(2),h.AsE(" ",h.lcZ(14,18,"GROUP_DETAIL.UUID"),": ",t.group.uuid," "),h.xp6(3),h.AsE(" ",h.lcZ(17,20,"GROUP_DETAIL.ENTITY"),", ",h.lcZ(18,22,"GROUP_DETAIL.VO_NAME"),": "),h.xp6(3),h.Q6J("routerLink",h.VKq(30,U,t.vo.id)),h.xp6(1),h.Oqu(t.vo.name),h.xp6(1),h.AsE(", ",h.lcZ(22,24,"GROUP_DETAIL.DESCRIPTION"),": ",t.group.description," "),h.xp6(2),h.Q6J("ngIf",t.syncEnabled)}}let w=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.sideMenuService=t,this.voService=e,this.route=i,this.sideMenuItemService=o,this.groupService=a,this.dialog=s,this.guiAuthResolver=n,this.router=r,this.editAuth=!1,this.deleteAuth=!1,this.loading=!1,this.syncAuth=!1,this.syncEnabled=!1,this.attrNames=[p.r.GROUP_SYNC_ENABLED,p.r.GROUP_LAST_SYNC_STATE,p.r.GROUP_LAST_SYNC_TIMESTAMP,p.r.GROUP_STRUCTURE_SYNC_ENABLED,p.r.GROUP_LAST_STRUCTURE_SYNC_STATE,p.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.groupId;this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.groupService.getGroupById(e).subscribe(i=>{this.group=i,(0,c.sF)("groups",this.group),(0,c.XI)(this.group),this.guiAuthResolver.isAuthorized("getRichGroupByIdWithAttributesByNames_int_List_policy",[this.group])?this.groupService.getRichGroupByIdWithAttributesByNames(e,this.attrNames).subscribe(t=>{this.group=t,this.syncEnabled=this.isSynchronized(),this.syncAuth=this.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group])},()=>this.loading=!1):this.syncEnabled=!1,this.editAuth=this.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.group]);const o=this.sideMenuItemService.parseVo(t),a=this.sideMenuItemService.parseGroup(i);this.sideMenuService.setAccessMenuItems([o,a]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}isSynchronized(){return this.group.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}onSyncDetail(){const t=(0,c.kZ)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(d.Bp,t)}editGroup(){const t=(0,c.kZ)();t.width="450px",t.data={theme:"group-theme",group:this.group,dialogType:d.Eg.GROUP},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.groupService.getGroupById(this.group.id).subscribe(t=>{this.group=t})})}deleteGroup(){const t=(0,c.kZ)();t.width="500px",t.data={theme:"group-theme",groups:[this.group]},this.dialog.open(g.P,t).afterClosed().subscribe(t=>{t&&this.router.navigate(["../"],{relativeTo:this.route})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(n.V),h.Y36(l.ff),h.Y36(A.uw),h.Y36(u.x4),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,v,1,0,"mat-spinner",1),h.YNc(3,q,25,32,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A,b.lW],pipes:[_.X$,S.r,N.J,O.F],styles:[""],data:{animation:[r.Ji]}}),t})();function P(t,e){1&t&&h._UZ(0,"mat-spinner",3)}const G=function(t){return["/admin","users",t]};function y(t,e){if(1&t&&(h.TgZ(0,"a",8),h._uU(1),h.qZA()),2&t){const t=h.oxw(2);h.Q6J("routerLink",h.VKq(2,G,t.member.userId)),h.xp6(1),h.hij(" ",t.member.userId," ")}}function Y(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Oqu(t.member.userId)}}const J=function(){return{color:"black"}},V=function(t,e){return["/organizations",t,"members",e]};function F(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.qZA(),h.TgZ(10,"span",10),h._uU(11),h.ALo(12,"translate"),h.ALo(13,"translate"),h.YNc(14,y,2,4,"a",11),h.YNc(15,Y,2,1,"span",2),h.qZA(),h.qZA(),h.qZA(),h._UZ(16,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(15,J)),h.xp6(4),h.Q6J("routerLink",h.WLB(16,V,t.vo.id,t.member.id)),h.xp6(1),h.hij(" ",t.fullName," "),h.xp6(2),h.hij(" \xa0#",t.member.id," "),h.xp6(2),h.AsE(" ",h.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",h.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),h.xp6(3),h.Q6J("ngIf",t.isAuthorized),h.xp6(1),h.Q6J("ngIf",!t.isAuthorized)}}let Q=(()=>{class t{constructor(t,e,i,o,a,s,n){this.sideMenuItemService=t,this.translate=e,this.sideMenuService=i,this.membersService=o,this.voService=a,this.route=s,this.authResolver=n,this.fullName="",this.isAuthorized=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.voId,i=t.memberId;this.isAuthorized=this.authResolver.isPerunAdminOrObserver(),this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.membersService.getRichMemberWithAttributes(i).subscribe(t=>{this.member=t;const e=this.sideMenuItemService.parseVo(this.vo),i=this.sideMenuItemService.parseMember(this.member,this.vo);this.fullName=i.label,this.sideMenuService.setAccessMenuItems([e,i]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(n.V),h.Y36(_.sK),h.Y36(m.D),h.Y36(l.uq),h.Y36(l.YF),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,P,1,0,"mat-spinner",1),h.YNc(3,F,17,19,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A],pipes:[_.X$],styles:[""],data:{animation:[r.Ji]}}),t})();var k=i(8557);function z(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function B(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.navItems)("size","small")}}let H=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.route=i,this.router=o,this.authResolver=a,this.items=[],this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})}initNavItems(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/members`,label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups`,label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.vo.id}/resources`,label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.vo.id}/applications`,label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/sponsoredMembers`,label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:`/organizations/${this.vo.id}/serviceAccounts`,label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/attributes`,label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.vo.id}/statistics`,label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.vo.id}/settings`,label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(a.F0),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,z,1,0,"mat-spinner",0),h.YNc(1,B,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var j=i(48002),$=i(28940),X=i(99608);function W(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function K(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).editVo()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function tt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).removeVo()}),h.TgZ(1,"mat-icon"),h._uU(2,"delete_forever"),h.qZA(),h.qZA()}}const et=function(){return{color:"black"}},it=function(t){return["/organizations/",t]};function ot(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.YNc(10,K,3,0,"button",10),h.YNc(11,tt,3,0,"button",11),h.qZA(),h.TgZ(12,"span",12),h._uU(13),h.ALo(14,"translate"),h.ALo(15,"translate"),h.qZA(),h.qZA(),h.qZA(),h._UZ(16,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,10,"VO_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(16,et)),h.xp6(4),h.Q6J("routerLink",h.VKq(17,it,t.vo.id)),h.xp6(1),h.hij(" ",t.vo.name," "),h.xp6(2),h.hij(" \xa0#",t.vo.id," "),h.xp6(1),h.Q6J("ngIf",t.editAuth),h.xp6(1),h.Q6J("ngIf",t.removeAuth),h.xp6(2),h.lnq(" ",h.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",h.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",t.vo.shortName," ")}}let at=(()=>{class t{constructor(t,e,i,o,a,s,n){this.sideMenuService=t,this.voService=e,this.route=i,this.router=o,this.sideMenuItemService=a,this.dialog=s,this.authResolver=n,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.editAuth=this.authResolver.isAuthorized("updateVo_Vo_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("deleteVo_Vo_policy",[this.vo]);const e=this.sideMenuItemService.parseVo(t);this.sideMenuService.setAccessMenuItems([e]),(0,c.sF)("vos",this.vo),(0,c.XI)(this.vo),this.loading=!1},()=>this.loading=!1)})}editVo(){const t=(0,c.kZ)();t.width="450px",t.data={theme:"vo-theme",vo:this.vo,dialogType:d.Eg.VO},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.voService.getVoById(this.vo.id).subscribe(t=>{this.vo=t})})}removeVo(){const t=(0,c.kZ)();t.width="500px",t.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(X.o,t).afterClosed().subscribe(t=>{t&&this.router.navigate([""])})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(a.F0),h.Y36(n.V),h.Y36(A.uw),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,W,1,0,"mat-spinner",1),h.YNc(3,ot,17,19,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A,b.lW],pipes:[_.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[r.Ji]}}),t})();var st=i(67033),nt=i(95121),rt=i(79592),lt=i(27439),ct=i(64737),ut=i(37665),pt=i(39571),dt=i(74842),gt=i(37043),ht=i(73669),mt=i(58506);function At(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-group-search-select",7),h.NdJ("groupSelected",function(e){return h.CHM(t),h.oxw().groupIsSelected(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("groups",t.groups)("firstSelectedGroup",t.selectedGroup)}}function It(t,e){1&t&&h._UZ(0,"mat-spinner",8)}function Tt(t,e){1&t&&(h.TgZ(0,"app-alert",9),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function ft(t,e){1&t&&h._UZ(0,"th",17)}function Et(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t,": ")}}function Zt(t,e){1&t&&h._UZ(0,"th",17)}function bt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",22),h.NdJ("click",function(){return h.CHM(t),h.oxw(4).changeStatus()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function _t(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"i"),h.ALo(2,"memberStatusIconColor"),h._uU(3),h.ALo(4,"memberStatusIcon"),h.qZA(),h.TgZ(5,"b",20),h._uU(6),h.ALo(7,"transformMemberStatus"),h.qZA(),h.YNc(8,bt,3,0,"button",21),h.qZA()),2&t){const t=h.oxw(3);h.xp6(1),h.Gre("material-icons vert-center mr-1 ",h.lcZ(2,6,t.selectedMember.groupStatus),""),h.xp6(2),h.hij(" ",h.lcZ(4,8,t.selectedMember.groupStatus)," "),h.xp6(3),h.hij(" ",h.lcZ(7,10,t.selectedMember.groupStatus)," "),h.xp6(2),h.Q6J("ngIf",t.authResolver.isThisVoAdmin(t.vo.id)||t.authResolver.isThisGroupAdmin(t.selectedGroup.id))}}function St(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",22),h.NdJ("click",function(){return h.CHM(t),h.oxw(4).changeExpiration()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function Nt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"i",2),h._uU(2),h.ALo(3,"parseDate"),h.qZA(),h.YNc(4,St,3,0,"button",21),h.qZA()),2&t){const t=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,t.expiration)," "),h.xp6(2),h.Q6J("ngIf",t.authResolver.isThisVoAdmin(t.vo.id)||t.authResolver.isThisGroupAdmin(t.selectedGroup.id))}}function Ot(t,e){if(1&t&&(h.TgZ(0,"td",19),h.YNc(1,_t,9,12,"div",6),h.YNc(2,Nt,5,4,"div",6),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Q6J("ngIf","Status"===t),h.xp6(1),h.Q6J("ngIf","Expiration"===t)}}function vt(t,e){1&t&&h._UZ(0,"tr",23)}function xt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"table",10),h.ynx(2,11),h.YNc(3,ft,1,0,"th",12),h.YNc(4,Et,2,1,"td",13),h.BQk(),h.ynx(5,14),h.YNc(6,Zt,1,0,"th",12),h.YNc(7,Ot,3,2,"td",15),h.BQk(),h.YNc(8,vt,1,0,"tr",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("dataSource",t.groupMembershipDataSource),h.xp6(7),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Ct=(()=>{class t{constructor(t,e,i,o){this.groupsManager=t,this.authResolver=e,this.translate=i,this.dialog=o,this.noGroups=!1,this.groupMembershipDataSource=new st.by,this.expiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new st.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(t=>{if(this.groups=t,0===this.groups.length)return void(this.noGroups=!0);const e=this.findInitiallySelectedGroupId();this.groupIsSelected(e),this.initLoading=!1})}findInitiallySelectedGroupId(){if(this.recentIds=(0,c.vL)("groups"),this.recentIds){const t=this.groups.find(t=>t.id===this.recentIds[0]);if(t)return t}return this.groups[0]}groupIsSelected(t){this.loading=!0,this.selectedGroup=t,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[p.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(t=>{this.selectedMember=t[0],this.expirationAtt=this.selectedMember.memberAttributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName),this.expirationAtt?(this.groupMembershipDataSource=new st.by(["Status","Expiration"]),this.expiration=this.expirationAtt.value?this.expirationAtt.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):this.groupMembershipDataSource=new st.by(["Status"]),this.loading=!1})}changeExpiration(t=!1){const e=(0,c.kZ)();e.width="400px",e.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:t},this.dialog.open(d.u3,e).afterClosed().subscribe(t=>{t&&this.groupIsSelected(this.selectedGroup)})}changeStatus(){const t=(0,c.kZ)();t.width="600px",t.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(d.pf,t).afterClosed().subscribe(t=>{t&&(this.selectedMember=t,this.changeExpiration(!0))})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.ff),h.Y36(u.x4),h.Y36(_.sK),h.Y36(A.uw))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[h.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","info"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"mat-card",0),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",1),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content",2),h.YNc(7,At,1,2,"perun-web-apps-group-search-select",3),h.YNc(8,It,1,0,"mat-spinner",4),h.YNc(9,Tt,3,3,"app-alert",5),h.YNc(10,xt,9,2,"div",6),h.qZA(),h.qZA()),2&t&&(h.xp6(4),h.Oqu(h.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),h.xp6(3),h.Q6J("ngIf",!e.initLoading),h.xp6(1),h.Q6J("ngIf",(e.loading||e.initLoading)&&!e.noGroups),h.xp6(1),h.Q6J("ngIf",e.noGroups),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[lt.a8,lt.dk,lt.n5,lt.dn,o.O5,ut.h,T.$g,pt.w,st.BZ,st.w1,st.fO,st.Dz,st.nj,st.ge,st.ev,b.lW,f.Hw,st.Gk],pipes:[_.X$,dt.u,gt.f,ht.r,mt.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),t})(),Lt=(()=>{class t{transform(t){return(0,c.Cz)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=h.Yjl({name:"attributeFriendlyName",type:t,pure:!0}),t})();var Rt=i(22196);function Mt(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function Dt(t,e){1&t&&h._UZ(0,"th",17)}function Ut(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){const t=h.oxw().$implicit,e=h.oxw(2);h.xp6(1),h.hij(" ",e.attributes.get(t)[0],": ")}}function qt(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"attributeFriendlyName"),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,t),": ")}}function wt(t,e){if(1&t&&(h.TgZ(0,"td",18),h.YNc(1,Ut,2,1,"span",1),h.YNc(2,qt,3,3,"span",1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",null!==i.attributes.get(t)[0]),h.xp6(1),h.Q6J("ngIf",null===i.attributes.get(t)[0])}}function Pt(t,e){1&t&&h._UZ(0,"th",17)}function Gt(t,e){if(1&t&&(h.TgZ(0,"td",19),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.hij(" ",i.attributes.get(t)[1]," ")}}function yt(t,e){1&t&&h._UZ(0,"tr",20)}function Yt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-card",5),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",6),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content",21),h.TgZ(7,"div",22),h.ALo(8,"translate"),h.TgZ(9,"button",23),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).requestPwdReset()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(4),h.Oqu(h.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),h.xp6(3),h.Q6J("matTooltip",h.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",t.logins.length>0),h.xp6(2),h.Q6J("disabled",!t.logins.length),h.xp6(1),h.hij(" ",h.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Jt(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function Vt(t,e){if(1&t&&(h.TgZ(0,"td",33),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,t.user)," ")}}function Ft(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function Qt(t,e){if(1&t&&(h.TgZ(0,"td",33),h.TgZ(1,"span",34),h._uU(2),h.ALo(3,"parseDate"),h.qZA(),h.qZA()),2&t){const t=e.$implicit;h.xp6(2),h.Oqu(h.lcZ(3,1,t.validityTo))}}function kt(t,e){1&t&&h._UZ(0,"tr",35)}function zt(t,e){1&t&&h._UZ(0,"tr",20)}const Bt=function(){return["sponsors","expiration"]};function Ht(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-card-content"),h.TgZ(1,"h6",26),h._uU(2),h.ALo(3,"translate"),h.TgZ(4,"button",27),h.NdJ("click",function(){return h.CHM(t),h.oxw(3).changeSponsors()}),h.TgZ(5,"mat-icon"),h._uU(6,"edit"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"table",28),h.ynx(8,29),h.YNc(9,Jt,3,3,"th",9),h.YNc(10,Vt,3,3,"td",30),h.BQk(),h.ynx(11,31),h.YNc(12,Ft,3,3,"th",9),h.YNc(13,Qt,4,3,"td",30),h.BQk(),h.YNc(14,kt,1,0,"tr",32),h.YNc(15,zt,1,0,"tr",13),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),h.xp6(5),h.Q6J("dataSource",t.sponsorsDataSource),h.xp6(7),h.Q6J("matHeaderRowDef",h.DdM(6,Bt)),h.xp6(1),h.Q6J("matRowDefColumns",h.DdM(7,Bt))}}function jt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"mat-card",24),h.TgZ(2,"mat-card-header"),h.TgZ(3,"mat-card-title"),h.TgZ(4,"h1",6),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.TgZ(7,"mat-card-subtitle",25),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.qZA(),h.YNc(10,Ht,16,8,"mat-card-content",1),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(5),h.Oqu(h.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),h.xp6(3),h.hij(" ",h.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),h.xp6(2),h.Q6J("ngIf",0!==t.sponsors.length)}}function $t(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",3),h.TgZ(2,"div",4),h.TgZ(3,"mat-card",5),h.TgZ(4,"mat-card-header"),h.TgZ(5,"mat-card-title"),h.TgZ(6,"h1",6),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(9,"mat-card-content"),h.TgZ(10,"table",7),h.ynx(11,8),h.YNc(12,Dt,1,0,"th",9),h.YNc(13,wt,3,2,"td",10),h.BQk(),h.ynx(14,11),h.YNc(15,Pt,1,0,"th",9),h.YNc(16,Gt,2,1,"td",12),h.BQk(),h.YNc(17,yt,1,0,"tr",13),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(18,"div",4),h._UZ(19,"app-member-overview-membership",14),h._UZ(20,"app-member-overview-groups",14),h.qZA(),h.TgZ(21,"div",4),h.YNc(22,Yt,12,11,"mat-card",15),h.YNc(23,jt,11,7,"div",1),h.qZA(),h.qZA(),h.TgZ(24,"div"),h._UZ(25,"perun-web-apps-menu-buttons-field",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(7),h.Oqu(h.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),h.xp6(3),h.Q6J("dataSource",t.dataSource),h.xp6(7),h.Q6J("matRowDefColumns",t.displayedColumns),h.xp6(2),h.Q6J("member",t.member)("vo",t.vo),h.xp6(1),h.Q6J("member",t.member)("vo",t.vo),h.xp6(2),h.Q6J("ngIf",t.pwdResetAuth),h.xp6(1),h.Q6J("ngIf",t.member.sponsored),h.xp6(2),h.Q6J("items",t.navItems)("size","small")}}let Xt=(()=>{class t{constructor(t,e,i,o,a,s,n){this.attributesManager=t,this.membersService=e,this.usersManager=i,this.route=o,this.dialog=a,this.authResolver=s,this.storeService=n,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new st.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new st.by,this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{const e=t.memberId;this.attributeNames=this.storeService.getMemberProfileAttributeNames(),this.membersService.getRichMemberWithAttributes(e).subscribe(t=>{const e=this.storeService.get("password_namespace_attributes").map(t=>(t=t.split(":"))[t.length-1]);this.attributesManager.getLogins(t.userId).subscribe(i=>{this.logins=i.filter(t=>e.includes(t.friendlyNameParameter)),this.member=t,this.initAttributes(),this.dataSource=new st.by(Array.from(this.attributes.keys())),this.vo={id:t.voId,beanName:"Vo"},this.pwdResetAuth=this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[this.vo,this.member]),this.member.sponsored&&this.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[this.member])?this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(t=>{this.sponsors=t,this.sponsorsDataSource=new st.by(this.sponsors),this.initNavItems(),this.refreshData()}):(this.initNavItems(),this.refreshData())},()=>this.loading=!1)})})}initAttributes(){this.attributeNames.forEach(t=>{this.attributes.set(t,[null,"-"])}),this.filterAttributes()}filterAttributes(){null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(t=>{this.attributeNames.includes(t.friendlyName)&&this.attributes.set(t.friendlyName,[t.displayName,t.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(t=>{this.attributeNames.includes(t.friendlyName)&&this.attributes.set(t.friendlyName,[t.displayName,t.value.toString()])})}initNavItems(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.member.voId}/members/${this.member.id}/groups`,label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.member.voId}/members/${this.member.id}/applications`,label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:`/organizations/${this.member.voId}/members/${this.member.id}/resources`,label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/members/${this.member.id}/attributes`,label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}refreshData(){this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(t=>{this.member=t,this.loading=!1},()=>this.loading=!1)}requestPwdReset(){const t=(0,c.kZ)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(nt.m,t)}changeSponsors(){const t=(0,c.kZ)();t.width="650px",t.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(rt.H,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(t=>{this.member=t,this.member.sponsored&&this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(t=>{this.sponsors=t,this.sponsorsDataSource.data=this.sponsors}),this.loading=!1}))})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(l.uq),h.Y36(l.Fv),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.x4),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(t,e){1&t&&(h.YNc(0,Mt,1,0,"mat-spinner",0),h.YNc(1,$t,26,13,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,lt.a8,lt.dk,lt.n5,lt.dn,st.BZ,st.w1,st.fO,st.Dz,st.nj,ct.b,Ct,k.L,st.ge,st.ev,st.Gk,E.gM,b.lW,lt.$j,f.Hw,st.as,st.XQ],pipes:[_.X$,Lt,Rt.d,mt.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),t})();var Wt=i(81835);function Kt(t,e){1&t&&h._UZ(0,"mat-spinner",2)}const te=function(t,e){return["/organizations",t,"groups",e]};function ee(t,e){if(1&t&&(h.TgZ(0,"p"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"a",4),h._uU(4),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.hij(" ",h.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),h.xp6(2),h.Q6J("routerLink",h.WLB(5,te,t.parentGroup.voId,t.parentGroup.id)),h.xp6(1),h.hij(" ",t.parentGroup.name," ")}}function ie(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,ee,5,8,"p",1),h._UZ(2,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",null!==t.parentGroup),h.xp6(1),h.Q6J("items",t.navItems)("size","small")}}let oe=(()=>{class t{constructor(t,e,i,o,a,s,n){this.route=t,this.groupService=e,this.voService=i,this.guiAuthResolver=o,this.apiRequest=a,this.attributesManager=s,this.notificator=n,this.navItems=[],this.parentGroup=null,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.groupId=t.groupId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,null!==this.group.parentGroupId?this.loadParentGroupData():(this.parentGroup=null,this.initNavItems(),this.loading=!1)},()=>this.loading=!1)})}loadParentGroupData(){this.groupService.getGroupById(this.group.parentGroupId).subscribe(t=>{this.parentGroup=t,this.initNavItems(),this.loading=!1},()=>this.loading=!1)}initNavItems(){this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.group.voId}/groups/${this.groupId}/members`,label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.groupId}/subgroups`,label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.group.voId}/groups/${this.groupId}/resources`,label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.group.voId}/groups/${this.groupId}/applications`,label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.group.voId}/groups/${this.group.id}/attributes`,label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});const t=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),e=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),i=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);t&&i&&e&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.group.voId}/groups/${this.group.id}/statistics`,label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});let o=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{o=!0},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)});const a=this.guiAuthResolver.isManagerPagePrivileged(this.group),s=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),n=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),r=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(o||a||s||n||r)&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.group.voId}/groups/${this.groupId}/settings`,label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(l.YF),h.Y36(u.x4),h.Y36(u.F5),h.Y36(l.H8),h.Y36(u.V6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(t,e){1&t&&(h.YNc(0,Kt,1,0,"mat-spinner",0),h.YNc(1,ie,3,3,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L,a.yS],pipes:[_.X$],styles:[""]}),t})();var ae=i(82044);let se=(()=>{class t{constructor(t){this.route=t}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var ne=i(40659);let re=(()=>{class t{constructor(t,e){this.route=t,this.router=e,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=e.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),e.events.subscribe(t=>{t instanceof a.m2&&(this.currentUrl=t.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl))})}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var le=i(541);let ce=(()=>{class t{constructor(t){this.route=t}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._UZ(4,"app-one-entity-attribute-page",1),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(2),h.Q6J("entityId",e.voId)("entity","vo"))},directives:[le.t],pipes:[_.X$],styles:[""]}),t})();function ue(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function pe(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.items)("size","small")}}let de=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=o,this.router=a,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.items=[],this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/settings/expiration`,label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/settings/managers`,label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/settings/applicationForm`,label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/settings/notifications`,label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/settings/extsources`,label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(u.x4),h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,ue,1,0,"mat-spinner",0),h.YNc(1,pe,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var ge=i(27521),he=i(16073),me=i(54810);const Ae=["*"];let Ie=(()=>{class t{constructor(){this.modelChange=new h.vpe}get model(){return this.modelValue}set model(t){this.modelValue=t}ngAfterViewInit(){this.toggle.change.subscribe(()=>this.valueChanged())}valueChanged(){this.modelChange.emit(this.toggle.checked)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){if(1&t&&h.Gf(ge.Rr,7),2&t){let t;h.iGM(t=h.CRH())&&(e.toggle=t.first)}},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:Ae,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(t,e){if(1&t){const t=h.EpF();h.F$t(),h.TgZ(0,"div",0),h.TgZ(1,"div",1),h.TgZ(2,"label",2),h.NdJ("click",function(){return h.CHM(t),h.MAs(5).toggle()||e.valueChanged()}),h._uU(3),h.qZA(),h.TgZ(4,"mat-slide-toggle",3,4),h.NdJ("ngModelChange",function(t){return e.modelValue=t}),h.qZA(),h.qZA(),h.TgZ(6,"div",5),h.Hsn(7),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(5);h.xp6(2),h.ekj("unselected-setting",!t.checked),h.xp6(1),h.hij(" ",e.title," "),h.xp6(1),h.Q6J("ngModel",e.modelValue),h.xp6(2),h.Q6J("@openClose",t.checked?"open":"closed")}},directives:[ge.Rr,he.JJ,he.On],styles:[""],data:{animation:[r.BQ]}}),t})();var Te=i(66283),fe=i(4786),Ee=i(80340),Ze=i(71522),be=i(29236);function _e(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",25),h.TgZ(1,"mat-form-field",26),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodStatic=e}),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-hint"),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(2),h.s9C("pattern",t.datePattern),h.s9C("placeholder",h.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),h.Q6J("ngModel",t.currentConfiguration.periodStatic),h.xp6(3),h.Oqu(h.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Se(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Ne(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",18),h.TgZ(1,"mat-form-field",19),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodDynamic=e}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodDynamicUnit=e}),h.YNc(9,Se,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(2),h.s9C("pattern",t.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),h.Q6J("ngModel",t.currentConfiguration.periodDynamic),h.xp6(4),h.Oqu(h.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",t.currentConfiguration.periodDynamicUnit),h.xp6(1),h.Q6J("ngForOf",t.amountOptions)}}function Oe(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.Oqu(t)}}function ve(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.Oqu(t)}}function xe(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Ce(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function Le(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",25),h.TgZ(1,"mat-form-field",26),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodStatic=e}),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-hint"),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.s9C("pattern",t.datePattern),h.s9C("placeholder",h.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodStatic),h.xp6(3),h.Oqu(h.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Re(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Me(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",18),h.TgZ(1,"mat-form-field",19),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodDynamic=e}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=e}),h.YNc(9,Re,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.s9C("pattern",t.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodDynamic),h.xp6(4),h.Oqu(h.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodDynamicUnit),h.xp6(1),h.Q6J("ngForOf",t.amountOptions)}}function De(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",28),h.TgZ(1,"mat-radio-group",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.specialLoaPeriodType=e}),h.TgZ(2,"mat-radio-button",9,29),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"mat-radio-button",11,30),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.qZA(),h.YNc(10,Le,7,8,"div",13),h.YNc(11,Me,10,10,"div",14),h.TgZ(12,"div"),h.TgZ(13,"mat-checkbox",31),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=e}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(3),e=h.MAs(7),i=h.oxw(2);h.xp6(1),h.Q6J("ngModel",i.currentConfiguration.specialLoaPeriodType),h.xp6(3),h.hij(" ",h.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),h.xp6(4),h.hij(" ",h.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),h.xp6(2),h.Q6J("ngIf",t.checked),h.xp6(1),h.Q6J("ngIf",e.checked),h.xp6(2),h.Q6J("ngModel",i.currentConfiguration.specialLoaPeriodExtendExpiredMembers),h.xp6(1),h.hij(" ",h.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Ue(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",1),h.TgZ(1,"div",2),h.TgZ(2,"h1",3),h.NdJ("click",function(){return h.CHM(t),h.MAs(6).toggle()}),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.TgZ(5,"mat-slide-toggle",4,5),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.enabled=e}),h.qZA(),h.qZA(),h.TgZ(7,"div"),h.TgZ(8,"label",6),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div",7),h.TgZ(12,"mat-radio-group",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.periodType=e}),h.TgZ(13,"mat-radio-button",9,10),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"mat-radio-button",11,12),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.qZA(),h.YNc(21,_e,7,8,"div",13),h.YNc(22,Ne,10,10,"div",14),h.qZA(),h.TgZ(23,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotAllowLoasEnabled=e}),h.ALo(24,"translate"),h.TgZ(25,"mat-form-field"),h.TgZ(26,"mat-placeholder"),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"mat-select",16),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotAllowLoas=e}),h.YNc(30,Oe,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.TgZ(31,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotExtendLoasEnabled=e}),h.ALo(32,"translate"),h.TgZ(33,"mat-form-field"),h.TgZ(34,"mat-placeholder"),h._uU(35),h.ALo(36,"translate"),h.qZA(),h.TgZ(37,"mat-select",16),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotExtendLoas=e}),h.YNc(38,ve,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.TgZ(39,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriodEnabled=e}),h.ALo(40,"translate"),h.TgZ(41,"div",18),h.TgZ(42,"mat-form-field",19),h.TgZ(43,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriod=e}),h.ALo(44,"translate"),h.qZA(),h.qZA(),h.TgZ(45,"mat-form-field"),h.TgZ(46,"mat-label"),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.TgZ(49,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriodUnit=e}),h.YNc(50,xe,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(51,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.specialLoaPeriodEnabled=e}),h.ALo(52,"translate"),h.TgZ(53,"div",7),h.TgZ(54,"div"),h.TgZ(55,"mat-form-field"),h.TgZ(56,"mat-label"),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.TgZ(59,"mat-select",8,21),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.specialLoa=e}),h.YNc(61,Ce,2,2,"mat-option",17),h.qZA(),h.qZA(),h.YNc(62,De,16,13,"div",22),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(63,"div",23),h.ALo(64,"translate"),h.TgZ(65,"button",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().saveChanges()}),h._uU(66),h.ALo(67,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(6),e=h.MAs(14),i=h.MAs(18),o=h.oxw();h.xp6(2),h.ekj("unselected-setting",!t.checked),h.xp6(1),h.hij(" ",h.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.enabled),h.xp6(2),h.Q6J("@openClose",t.checked?"open":"closed"),h.xp6(2),h.Oqu(h.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),h.xp6(3),h.Q6J("ngModel",o.currentConfiguration.periodType),h.xp6(3),h.hij(" ",h.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),h.xp6(4),h.hij(" ",h.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),h.xp6(2),h.Q6J("ngIf",e.checked),h.xp6(1),h.Q6J("ngIf",i.checked),h.xp6(1),h.Q6J("model",o.currentConfiguration.doNotAllowLoasEnabled)("title",h.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),h.xp6(4),h.Oqu(h.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.doNotAllowLoas),h.xp6(1),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("model",o.currentConfiguration.doNotExtendLoasEnabled)("title",h.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),h.xp6(4),h.Oqu(h.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.doNotExtendLoas),h.xp6(1),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("model",o.currentConfiguration.gracePeriodEnabled)("title",h.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),h.xp6(4),h.s9C("pattern",o.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),h.Q6J("ngModel",o.currentConfiguration.gracePeriod),h.xp6(4),h.Oqu(h.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.gracePeriodUnit),h.xp6(1),h.Q6J("ngForOf",o.amountOptions),h.xp6(1),h.Q6J("model",o.currentConfiguration.specialLoaPeriodEnabled)("title",h.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),h.xp6(6),h.Oqu(h.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.specialLoa),h.xp6(2),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("ngIf",null!==o.currentConfiguration.specialLoa),h.xp6(1),h.s9C("matTooltip",h.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),h.Q6J("matTooltipDisabled",o.expirationAttribute.writable)("matTooltipPosition","above"),h.xp6(2),h.Q6J("disabled",!o.areChangesMade()||!o.expirationAttribute.writable),h.xp6(1),h.hij(" ",h.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}let qe=(()=>{class t{constructor(){this.saveAttribute=new h.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}ngOnInit(){const t=new Map;this.loas.forEach(e=>t.set(e,"")),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}ngOnChanges(t){t.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}saveChanges(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}areChangesMade(){const t=this.parseAttributeValueFromConfig(this.currentConfiguration),e=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===e?null!==t:null===t||t.period!==e.period||t.gracePeriod!==e.gracePeriod||t.doNotExtendLoa!==e.doNotExtendLoa||t.doNotAllowLoa!==e.doNotAllowLoa||t.periodLoa!==e.periodLoa}parseExpirationRulesAttribute(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}parsePeriod(t){switch(t.periodType){case"dynamic":return this.parseDynamicPeriod(t);case"static":return this.parseStaticPeriod(t)}}createInitConfiguration(){const t=new Map;return this.loas.forEach(e=>t.set(e,"")),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}unParseAttrValue(t){let e=this.createInitConfiguration();return null==t||(void 0!==t.period&&t.period.length>0&&(e=this.setPeriodValues(t,e)),void 0!==t.doNotAllowLoa&&t.doNotAllowLoa.length>0&&(e=this.setDoNotAllowLoasValues(t,e)),void 0!==t.doNotExtendLoa&&t.doNotExtendLoa.length>0&&(e=this.setDoNotExtendLoasValues(t,e)),void 0!==t.gracePeriod&&t.gracePeriod.length>0&&(e=this.setGracePeriodValues(t,e)),void 0!==t.periodLoa&&t.periodLoa.length>0&&(e=this.setSpecialLoaPeriodValues(t,e))),e}setPeriodValues(t,e){if(e.enabled=!0,t.period.startsWith("+")){e.periodType="dynamic";const i=t.period.charAt(t.period.length-1);e.periodDynamic=t.period.substring(1,t.period.length-1),e.periodDynamicUnit=i}else e.periodType="static",e.periodStatic=t.period;return e}setDoNotAllowLoasValues(t,e){const i=[];return t.doNotAllowLoa.split(",").forEach(t=>i.push(parseInt(t.trim(),10))),e.doNotAllowLoas=i,i.length>0&&(e.doNotAllowLoasEnabled=!0),e}setDoNotExtendLoasValues(t,e){const i=[];return t.doNotExtendLoa.split(",").forEach(t=>i.push(parseInt(t.trim(),10))),e.doNotExtendLoas=i,i.length>0&&(e.doNotExtendLoasEnabled=!0),e}setGracePeriodValues(t,e){e.gracePeriodEnabled=!0;const i=t.gracePeriod.charAt(t.gracePeriod.length-1);return e.gracePeriod=t.gracePeriod.substring(0,t.gracePeriod.length-1),e.gracePeriodUnit=i,e}setSpecialLoaPeriodValues(t,e){e.specialLoa=parseInt(t.periodLoa.substring(0,t.periodLoa.indexOf("|")),10),e.specialLoaPeriodEnabled=!0;let i=t.periodLoa.substring(t.periodLoa.indexOf("|")+1,t.periodLoa.length);if(i.startsWith("+")){i.endsWith(".")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="dynamic";const t=i.charAt(i.length-1);e.specialLoaPeriodDynamic=i.substring(1,i.length-1),e.specialLoaPeriodDynamicUnit=t}else i.endsWith("..")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="static",e.specialLoaPeriodStatic=i;return e}parseDynamicPeriod(t){return"+"+t.periodDynamic+t.periodDynamicUnit}parseStaticPeriod(t){return t.periodStatic}parseDontAllowLoas(t){if(!t.doNotAllowLoasEnabled)return null;let e="";return t.doNotAllowLoas.forEach(t=>e+=t+","),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}parseDontExtendLoas(t){if(!t.doNotExtendLoasEnabled)return null;let e="";return t.doNotExtendLoas.forEach(t=>e+=t+","),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}parseGracePeriod(t){return t.gracePeriodEnabled?t.gracePeriod+t.gracePeriodUnit:null}parseSpecialLoaPeriod(t){if(!t.specialLoaPeriodEnabled)return null;let e=t.specialLoa+"|";switch(t.specialLoaPeriodType){case"static":e+=this.parseSpecialLoaPeriodStatic(t);break;case"dynamic":e+=this.parseSpecialLoaPeriodDynamic(t)}return null!=e&&t.specialLoaPeriodExtendExpiredMembers&&(e+="."),e}parseSpecialLoaPeriodStatic(t){return t.specialLoaPeriodStatic}parseSpecialLoaPeriodDynamic(t){return"+"+t.specialLoaPeriodDynamic+t.specialLoaPeriodDynamicUnit}parseAttributeValueFromConfig(t){if(!t.enabled)return null;const e=this.parsePeriod(t),i=this.parseDontAllowLoas(t),o=this.parseDontExtendLoas(t),a=this.parseGracePeriod(t),s=this.parseSpecialLoaPeriod(t),n={period:e};return null!==o&&(n.doNotExtendLoa=o),null!==i&&(n.doNotAllowLoa=i),null!==a&&(n.gracePeriod=a),null!==s&&(n.periodLoa=s),n}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[h.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&h.YNc(0,Ue,68,70,"div",0),2&t&&h.Q6J("ngIf",e.currentConfiguration)},directives:[o.O5,ge.Rr,he.JJ,he.On,me.VQ,me.U0,Ie,Te.KE,Te.UY,fe.gD,o.sg,Ee.Nt,he.Fj,he.c5,Te.hX,E.gM,b.lW,Te.bx,Ze.ey,be.oG],pipes:[_.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[r.BQ]}}),t})();function we(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-expiration-settings",1),h.NdJ("saveAttribute",function(e){return h.CHM(t),h.oxw().saveExpirationAttribute(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("expirationAttribute",t.expirationAttribute)}}let Pe=(()=>{class t{constructor(t,e,i,o,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=o,this.apiRequest=a,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.loadSettings()})}loadSettings(){this.attributesManager.getVoAttributeByName(this.voId,p.r.VO_DEF_EXPIRATION_RULES).subscribe(t=>{this.expirationAttribute=t})}saveExpirationAttribute(t){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.voId,attribute:t}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},t=>{console.log(t),this.notificator.showRPCError(t.error,this.errorMessage)})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.V6),h.Y36(u.F5))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&h.YNc(0,we,1,1,"app-expiration-settings",0),2&t&&h.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[o.O5,qe],styles:[""],data:{animation:[r.BQ]}}),t})();var Ge=i(62284),ye=i(489);function Ye(t,e){if(1&t&&h._UZ(0,"app-managers-page",1),2&t){const t=h.oxw();h.Q6J("complementaryObject",t.vo)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Je=(()=>{class t{constructor(t,e,i,o){this.dialog=t,this.voService=e,this.route=i,this.guiAuthResolver=o,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.uw),h.Y36(l.YF),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h.YNc(0,Ye,1,4,"app-managers-page",0),2&t&&h.Q6J("ngIf",e.vo)},directives:[o.O5,ye.s],styles:[""]}),t})();function Ve(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Fe(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"textarea",17),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).reason=e}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),h.xp6(3),h.Q6J("ngModel",t.reason)}}function Qe(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"mat-select",9),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().mailType=e}),h.TgZ(5,"mat-option",10),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-option",11),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"mat-option",12),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"mat-option",13),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"mat-option",14),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.TgZ(20,"mat-option",15),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(23,Fe,5,4,"div",16),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.hij(" ",h.lcZ(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),h.xp6(3),h.Q6J("value",t.mailType),h.xp6(2),h.Oqu(h.lcZ(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),h.xp6(3),h.Oqu(h.lcZ(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),h.xp6(3),h.Oqu(h.lcZ(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),h.xp6(3),h.Oqu(h.lcZ(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),h.xp6(3),h.Oqu(h.lcZ(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),h.xp6(3),h.Oqu(h.lcZ(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),h.xp6(2),h.Q6J("ngIf","APP_REJECTED_USER"===t.mailType)}}let ke=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=o,this.registrarManager=a,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(_.sK),h.Y36(u.V6),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ve,1,0,"mat-spinner",1),h.YNc(5,Qe,24,23,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Gre("",e.theme,"}"),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,fe.gD,Ze.ey,Ee.Nt,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();function ze(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Be(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"textarea",9),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().reason=e}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),h.xp6(3),h.Q6J("ngModel",t.reason)}}let He=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=o,this.registrarManager=a,this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(()=>{this.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(_.sK),h.Y36(u.V6),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,ze,1,0,"mat-spinner",1),h.YNc(5,Be,5,4,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,Ee.Nt,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();function je(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function $e(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function Xe(t,e){if(1&t&&(h.TgZ(0,"mat-form-field"),h.TgZ(1,"label"),h._UZ(2,"input",9),h.qZA(),h.YNc(3,$e,3,3,"mat-error",8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Q6J("formControl",t.emailControl),h.xp6(1),h.Q6J("ngIf",t.emailControl.invalid)}}function We(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function Ke(t,e){if(1&t&&(h.TgZ(0,"mat-form-field"),h._UZ(1,"input",10),h.YNc(2,We,3,3,"mat-error",8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("formControl",t.inputControl),h.xp6(1),h.Q6J("ngIf",t.inputControl.invalid)}}function ti(t,e){if(1&t&&(h.TgZ(0,"div",7),h.YNc(1,Xe,4,2,"mat-form-field",8),h.YNc(2,Ke,3,2,"mat-form-field",8),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",null!==t.emailControl),h.xp6(1),h.Q6J("ngIf",null!==t.inputControl)}}let ei=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translateService=o,this.registrarService=a,this.loading=!1,this.inputControl=null,this.emailControl=null}ngOnInit(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new he.NI(this.formItemData.value,[he.kI.required,he.kI.email]):this.inputControl=new he.NI(this.formItemData.value,[he.kI.required])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(()=>{this.notificator.showSuccess(this.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}getLabel(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(_.sK),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,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"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,je,1,0,"mat-spinner",1),h.YNc(5,ti,3,2,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.AsE("",h.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),h.xp6(1),h.hij(" ",h.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,Ee.Nt,he.Fj,he.Q7,he.JJ,he.oH,Te.TO],pipes:[_.X$],styles:[""]}),t})();var ii=i(27679),oi=i(84650);function ai(t,e){if(1&t&&(h.TgZ(0,"span",5),h._uU(1),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.hij(" #",t.application.id," ")}}function si(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function ni(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).verifyApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function ri(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).approveApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function li(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).rejectApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function ci(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).deleteApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function ui(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",19),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).resendNotification()}),h.TgZ(1,"i",14),h._uU(2," mail_outline "),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function pi(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),h.xp6(2),h.hij(": ",t.application.vo.name," ")}}function di(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.TgZ(5,"span",10),h._uU(6),h.ALo(7,"translate"),h.qZA(),h._uU(8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),h.xp6(2),h.hij(": ",t.application.group.name," "),h.xp6(2),h.Oqu(h.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),h.xp6(2),h.hij(": ",t.application.vo.name," ")}}function gi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3," Initial "),h.qZA())}function hi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"restore"),h.qZA(),h._uU(3," Extension "),h.qZA())}function mi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"nat"),h.qZA(),h._uU(3," Embedded "),h.qZA())}function Ai(t,e){if(1&t&&(h.TgZ(0,"div",21),h.TgZ(1,"mat-card-title"),h.TgZ(2,"i",22),h._uU(3,"clear"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"div"),h.TgZ(7,"span",10),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._uU(10),h.ALo(11,"date"),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(4),h.AsE(" ",h.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),h.xp6(4),h.Oqu(h.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ii(t,e){if(1&t&&(h.TgZ(0,"div",21),h.TgZ(1,"mat-card-title"),h.TgZ(2,"i",23),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"div"),h.TgZ(7,"span",10),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._uU(10),h.ALo(11,"date"),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(4),h.AsE(" ",h.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),h.xp6(4),h.Oqu(h.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ti(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),h.xp6(2),h.hij(": ",t.userMail,"")}}function fi(t,e){1&t&&h._UZ(0,"th",32)}function Ei(t,e){if(1&t&&(h.TgZ(0,"td",33),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.getLabel(t.formItem),"",t.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function Zi(t,e){1&t&&h._UZ(0,"th",32)}function bi(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",36),h.NdJ("click",function(){h.CHM(t);const e=h.oxw().$implicit;return h.oxw(3).editApplicationData(e)}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function _i(t,e){if(1&t&&(h.TgZ(0,"td",34),h._uU(1),h.YNc(2,bi,3,0,"button",35),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3);h.xp6(1),h.hij(" ",t.value," "),h.xp6(1),h.Q6J("ngIf",!t.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===i.application.state||"VERIFIED"===i.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==t.formItem.type)}}function Si(t,e){1&t&&h._UZ(0,"tr",37)}function Ni(t,e){1&t&&h._UZ(0,"tr",38)}function Oi(t,e){if(1&t&&(h.TgZ(0,"table",24),h.ynx(1,25),h.YNc(2,fi,1,0,"th",26),h.YNc(3,Ei,2,2,"td",27),h.BQk(),h.ynx(4,28),h.YNc(5,Zi,1,0,"th",26),h.YNc(6,_i,3,2,"td",29),h.BQk(),h.YNc(7,Si,1,0,"tr",30),h.YNc(8,Ni,1,0,"tr",31),h.qZA()),2&t){const t=h.oxw(2);h.Q6J("dataSource",t.dataSource),h.xp6(7),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}function vi(t,e){1&t&&(h.TgZ(0,"div",39),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij("*",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function xi(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,ni,3,3,"button",7),h.YNc(2,ri,3,3,"button",7),h.YNc(3,li,3,3,"button",8),h.YNc(4,ci,3,3,"button",8),h.YNc(5,ui,5,3,"button",9),h.YNc(6,pi,5,4,"div",4),h.YNc(7,di,9,8,"div",4),h.TgZ(8,"div"),h.TgZ(9,"span",10),h._uU(10),h.ALo(11,"translate"),h.qZA(),h._uU(12,": "),h._UZ(13,"span",11),h.ALo(14,"applicationState"),h.qZA(),h.TgZ(15,"div"),h.TgZ(16,"span",10),h._uU(17),h.ALo(18,"translate"),h.qZA(),h._uU(19,": "),h.YNc(20,gi,4,0,"span",4),h.YNc(21,hi,4,0,"span",4),h.YNc(22,mi,4,0,"span",4),h.qZA(),h.YNc(23,Ai,12,11,"div",12),h.YNc(24,Ii,12,11,"div",12),h.TgZ(25,"div",13),h.TgZ(26,"mat-card-title"),h.TgZ(27,"i",14),h._uU(28,"redo"),h.qZA(),h._uU(29),h.ALo(30,"translate"),h.ALo(31,"userFullName"),h.qZA(),h.YNc(32,Ti,5,4,"div",4),h.TgZ(33,"div"),h.TgZ(34,"span",10),h._uU(35),h.ALo(36,"translate"),h.qZA(),h._uU(37),h.qZA(),h.TgZ(38,"div"),h.TgZ(39,"span",10),h._uU(40),h.ALo(41,"translate"),h.qZA(),h._uU(42),h.qZA(),h.TgZ(43,"div"),h.TgZ(44,"span",10),h._uU(45),h.ALo(46,"translate"),h.qZA(),h._uU(47),h.ALo(48,"date"),h.qZA(),h.YNc(49,Oi,9,3,"table",15),h.YNc(50,vi,3,3,"div",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf","NEW"===t.application.state&&t.verifyAuth),h.xp6(1),h.Q6J("ngIf",("VERIFIED"===t.application.state||"NEW"===t.application.state)&&t.approveAuth),h.xp6(1),h.Q6J("ngIf",("VERIFIED"===t.application.state||"NEW"===t.application.state)&&t.rejectAuth),h.xp6(1),h.Q6J("ngIf",("REJECTED"===t.application.state||"NEW"===t.application.state)&&t.deleteAuth),h.xp6(1),h.Q6J("ngIf",t.resendAuth),h.xp6(1),h.Q6J("ngIf",!t.application.group),h.xp6(1),h.Q6J("ngIf",t.application.group),h.xp6(3),h.Oqu(h.lcZ(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),h.xp6(3),h.Q6J("outerHTML",h.lcZ(14,28,t.application.state),h.oJD),h.xp6(4),h.Oqu(h.lcZ(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),h.xp6(3),h.Q6J("ngIf","INITIAL"===t.application.type),h.xp6(1),h.Q6J("ngIf","EXTENSION"===t.application.type),h.xp6(1),h.Q6J("ngIf","EMBEDDED"===t.application.type),h.xp6(1),h.Q6J("ngIf","REJECTED"===t.application.state),h.xp6(1),h.Q6J("ngIf","APPROVED"===t.application.state),h.xp6(5),h.AsE(" ",h.lcZ(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===t.application.user?t.submittedBy():h.lcZ(31,34,t.application.user),""),h.xp6(3),h.Q6J("ngIf",t.userMail),h.xp6(3),h.Oqu(h.lcZ(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),h.xp6(2),h.hij(": ",t.application.extSourceName,""),h.xp6(3),h.Oqu(h.lcZ(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),h.xp6(2),h.hij(": ",t.application.extSourceLoa,""),h.xp6(3),h.Oqu(h.lcZ(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(48,42,t.application.createdAt,"d.M.y H:mm:ss"),""),h.xp6(2),h.Q6J("ngIf",0!==t.userData.length),h.xp6(1),h.Q6J("ngIf",0!==t.userData.length)}}let Ci=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.registrarManager=t,this.dialog=e,this.translate=i,this.route=o,this.notificator=a,this.router=s,this.authResolver=n,this.usersService=r,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.route.parent.params.subscribe(e=>{this.dialogTheme=e.groupId?"group-theme":e.memberId?"member-theme":"vo-theme",this.registrarManager.getApplicationById(t.applicationId).subscribe(t=>{this.application=t,"EMBEDDED"===this.application.type&&this.application.user?this.usersService.getRichUserWithAttributes(this.application.user.id).subscribe(t=>{var e;const i=t.userAttributes.find(t=>"preferredMail"===t.friendlyName);this.userMail=null===(e=null==i?void 0:i.value)||void 0===e?void 0:e.toString(),this.setAuthRights(),this.loading=!1}):this.registrarManager.getApplicationDataById(this.application.id).subscribe(t=>{this.userData=t,this.dataSource=new st.by(this.userData),this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}getLabel(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}submittedBy(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}getModifiedAtName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}resendNotification(){const t=(0,c.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(ke,t)}deleteApplication(){this.loading=!0,this.registrarManager.deleteApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t),this.router.navigateByUrl(this.router.url.substring(0,this.router.url.lastIndexOf("/")))})})}rejectApplication(){const t=(0,c.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(He,t).afterClosed().subscribe(()=>{this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1},()=>this.loading=!1)})}approveApplication(){this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t)}),this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}verifyApplication(){this.registrarManager.verifyApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t)}),this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1})})}editApplicationData(t){const e=(0,c.kZ)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(ei,e)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(A.uw),h.Y36(_.sK),h.Y36(a.gz),h.Y36(u.V6),h.Y36(a.F0),h.Y36(u.x4),h.Y36(l.Fv))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["class","font-italic",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""],[1,"font-italic"]],template:function(t,e){1&t&&(h.TgZ(0,"h2",0),h._uU(1),h.ALo(2,"translate"),h.YNc(3,ai,2,1,"span",1),h.qZA(),h._UZ(4,"mat-divider",2),h.YNc(5,si,1,0,"mat-spinner",3),h.YNc(6,xi,51,45,"div",4)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),h.xp6(2),h.Q6J("ngIf",!!e.application),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,ii.d,T.$g,lt.n5,b.lW,f.Hw,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$,oi.h,Rt.d,o.uU],styles:[""]}),t})();var Li=i(11930),Ri=i(7433);let Mi=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var Di=i(55109),Ui=i(69012);function qi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function wi(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",4),2&t){const t=h.oxw();h.Q6J("entity","group")("entityId",t.groupId)}}function Pi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",h.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Gi(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=h.oxw(2);h.Q6J("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","member")}}function yi(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,Pi,3,6,"ng-template",1),h.YNc(2,Gi,1,3,"ng-template",2),h.qZA())}function Yi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",h.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Ji(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=h.oxw(2);h.Q6J("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","resource")}}function Vi(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,Yi,3,6,"ng-template",1),h.YNc(2,Ji,1,3,"ng-template",2),h.qZA())}let Fi=(()=>{class t{constructor(t,e,i){this.route=t,this.groupManager=e,this.authResolver=i}ngOnInit(){this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.groupManager.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.groupResourceAttAuth=this.authResolver.isAuthorized("getAssignedResources_Group_policy",[this.group]),this.groupMemberAttAuth=this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[this.group])})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-tab-group"),h.TgZ(5,"mat-tab"),h.YNc(6,qi,2,3,"ng-template",1),h.YNc(7,wi,1,2,"ng-template",2),h.qZA(),h.YNc(8,yi,3,0,"mat-tab",3),h.YNc(9,Vi,3,0,"mat-tab",3),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(6),h.Q6J("ngIf",e.groupMemberAttAuth),h.xp6(1),h.Q6J("ngIf",e.groupResourceAttAuth))},directives:[Di.SP,Di.uX,Di.uD,Di.Vc,o.O5,le.t,Ui.Y],pipes:[_.X$],styles:[""]}),t})();function Qi(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function ki(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.items)("size","small")}}let zi=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.sideMenuService=t,this.voService=e,this.groupService=i,this.route=o,this.router=a,this.guiAuthResolver=s,this.apiRequest=n,this.attributesManager=r,this.notificator=l,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{const e=t.voId;this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.initItems(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}initItems(){this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/expiration`,label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/managers`,label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/applicationForm`,label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/notifications`,label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/relations`,label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/extsources`,label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(l.ff),h.Y36(a.gz),h.Y36(a.F0),h.Y36(u.x4),h.Y36(u.F5),h.Y36(l.H8),h.Y36(u.V6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,Qi,1,0,"mat-spinner",0),h.YNc(1,ki,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var Bi=i(14527);function Hi(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function ji(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).switchToInitial()}),h.TgZ(1,"i",11),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function $i(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).switchToExtension()}),h.TgZ(1,"i",11),h._uU(2,"cached"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function Xi(t,e){if(1&t&&(h.TgZ(0,"mat-option",12),h._uU(1),h.ALo(2,"translate"),h.ALo(3,"uppercase"),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",h.lcZ(2,2,h.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function Wi(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Ki(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function to(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",19),h.qZA(),h.qZA(),h.TgZ(6,"div",20),h.YNc(7,Wi,2,1,"mat-icon",21),h.YNc(8,Ki,2,1,"mat-icon",21),h.TgZ(9,"span",22),h._uU(10),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function eo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function io(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function oo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",24),h.qZA(),h.qZA(),h.TgZ(6,"div",20),h.YNc(7,eo,2,1,"mat-icon",21),h.YNc(8,io,2,1,"mat-icon",21),h.TgZ(9,"span",22),h._uU(10),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(4),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function ao(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function so(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function no(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",25),h._UZ(6,"br"),h._UZ(7,"input",19),h.qZA(),h.qZA(),h.TgZ(8,"div",20),h.YNc(9,ao,2,1,"mat-icon",21),h.YNc(10,so,2,1,"mat-icon",21),h.TgZ(11,"span",22),h._uU(12),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function ro(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"input",27),h._uU(2),h._UZ(3,"br"),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3).$implicit;h.xp6(1),h.Q6J("disabled","ALWAYS"===i.disabled),h.xp6(1),h.hij(" ",t,"")}}function lo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function co(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function uo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"form",18),h.YNc(5,ro,4,2,"div",9),h._UZ(6,"input",26),h.ALo(7,"translate"),h.qZA(),h.qZA(),h.TgZ(8,"div",20),h.YNc(9,lo,2,1,"mat-icon",21),h.YNc(10,co,2,1,"mat-icon",21),h.TgZ(11,"span",22),h._uU(12),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(1),h.s9C("value",h.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function po(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"span",28),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("innerHTML",e.getLocalizedLabel(t),h.oJD)}}function go(t,e){if(1&t&&(h.TgZ(0,"option"),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t)}}function ho(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function mo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Ao(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",29),h.YNc(6,go,2,1,"option",9),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"div",20),h.YNc(8,ho,2,1,"mat-icon",21),h.YNc(9,mo,2,1,"mat-icon",21),h.TgZ(10,"span",22),h._uU(11),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Io(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function To(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function fo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h._UZ(4,"textarea",30),h.qZA(),h.TgZ(5,"div",20),h.YNc(6,Io,2,1,"mat-icon",21),h.YNc(7,To,2,1,"mat-icon",21),h.TgZ(8,"span",22),h._uU(9),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Eo(t,e){if(1&t&&(h.TgZ(0,"option",35),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t)}}function Zo(t,e){1&t&&(h.TgZ(0,"div",36),h.TgZ(1,"form"),h._UZ(2,"input",37),h.qZA(),h.qZA())}function bo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function _o(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function So(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",31),h.NdJ("ngModelChange",function(e){h.CHM(t);const i=h.oxw(2).$implicit;return h.oxw(2).mapForCombobox[i.id]=e}),h.TgZ(6,"option",32),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.YNc(9,Eo,2,1,"option",33),h.qZA(),h.YNc(10,Zo,3,0,"div",34),h.qZA(),h.qZA(),h.TgZ(11,"div",20),h.YNc(12,bo,2,1,"mat-icon",21),h.YNc(13,_o,2,1,"mat-icon",21),h.TgZ(14,"span",22),h._uU(15),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("ngModel",e.mapForCombobox[t.id])("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Oqu(h.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),h.xp6(2),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(1),h.Q6J("ngIf","true"===e.mapForCombobox[t.id]),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function No(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"input",38),h._uU(2),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3).$implicit;h.xp6(1),h.Q6J("disabled","ALWAYS"===i.disabled),h.xp6(1),h.hij(" ",t," ")}}function Oo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function vo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function xo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"form",36),h.YNc(6,No,3,2,"div",9),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"div",20),h.YNc(8,Oo,2,1,"mat-icon",21),h.YNc(9,vo,2,1,"mat-icon",21),h.TgZ(10,"span",22),h._uU(11),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(3),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Co(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Lo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Ro(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"form",36),h._UZ(6,"input",38),h._uU(7," example group1 "),h._UZ(8,"br"),h._UZ(9,"input",38),h._uU(10," example group2 "),h._UZ(11,"br"),h._UZ(12,"input",38),h._uU(13," example group3 "),h.qZA(),h.qZA(),h.qZA(),h.TgZ(14,"div",20),h.YNc(15,Co,2,1,"mat-icon",21),h.YNc(16,Lo,2,1,"mat-icon",21),h.TgZ(17,"span",22),h._uU(18),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Mo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Do(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Uo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"button",39),h._uU(2),h.qZA(),h.YNc(3,Mo,2,1,"mat-icon",40),h.YNc(4,Do,2,1,"mat-icon",40),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden)}}function qo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function wo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Po(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"button",39),h._uU(2),h.qZA(),h.YNc(3,qo,2,1,"mat-icon",40),h.YNc(4,wo,2,1,"mat-icon",40),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden)}}function Go(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function yo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Yo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",42),h.TgZ(6,"option",43),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"option",44),h._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),h.qZA(),h.TgZ(11,"option",45),h._uU(12,"(GMT -11:00) Midway Island, Samoa"),h.qZA(),h.TgZ(13,"option",46),h._uU(14,"(GMT -10:00) Hawaii"),h.qZA(),h.TgZ(15,"option",47),h._uU(16,"(GMT -9:30) Taiohae"),h.qZA(),h.TgZ(17,"option",48),h._uU(18,"(GMT -9:00) Alaska"),h.qZA(),h.TgZ(19,"option",49),h._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),h.qZA(),h.TgZ(21,"option",50),h._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),h.qZA(),h.TgZ(23,"option",51),h._uU(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),h.qZA(),h.TgZ(25,"option",52),h._uU(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),h.qZA(),h.TgZ(27,"option",53),h._uU(28,"(GMT -4:30) Caracas"),h.qZA(),h.TgZ(29,"option",54),h._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),h.qZA(),h.TgZ(31,"option",55),h._uU(32,"(GMT -3:30) Newfoundland"),h.qZA(),h.TgZ(33,"option",56),h._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),h.qZA(),h.TgZ(35,"option",57),h._uU(36,"(GMT -2:00) Mid-Atlantic"),h.qZA(),h.TgZ(37,"option",58),h._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),h.qZA(),h.TgZ(39,"option",59),h._uU(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),h.qZA(),h.TgZ(41,"option",60),h._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),h.qZA(),h.TgZ(43,"option",61),h._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),h.qZA(),h.TgZ(45,"option",62),h._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),h.qZA(),h.TgZ(47,"option",63),h._uU(48,"(GMT +3:30) Tehran"),h.qZA(),h.TgZ(49,"option",64),h._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),h.qZA(),h.TgZ(51,"option",65),h._uU(52,"(GMT +4:30) Kabul"),h.qZA(),h.TgZ(53,"option",66),h._uU(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),h.qZA(),h.TgZ(55,"option",67),h._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),h.qZA(),h.TgZ(57,"option",68),h._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),h.qZA(),h.TgZ(59,"option",69),h._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),h.qZA(),h.TgZ(61,"option",70),h._uU(62,"(GMT +6:30) Yangon, Mandalay"),h.qZA(),h.TgZ(63,"option",71),h._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),h.qZA(),h.TgZ(65,"option",72),h._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),h.qZA(),h.TgZ(67,"option",73),h._uU(68,"(GMT +8:45) Eucla"),h.qZA(),h.TgZ(69,"option",74),h._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),h.qZA(),h.TgZ(71,"option",75),h._uU(72,"(GMT +9:30) Adelaide, Darwin"),h.qZA(),h.TgZ(73,"option",76),h._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),h.qZA(),h.TgZ(75,"option",77),h._uU(76,"(GMT +10:30) Lord Howe Island"),h.qZA(),h.TgZ(77,"option",78),h._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),h.qZA(),h.TgZ(79,"option",79),h._uU(80,"(GMT +11:30) Norfolk Island"),h.qZA(),h.TgZ(81,"option",80),h._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),h.qZA(),h.TgZ(83,"option",81),h._uU(84,"(GMT +12:45) Chatham Islands"),h.qZA(),h.TgZ(85,"option",82),h._uU(86,"(GMT +13:00) Apia, Nukualofa"),h.qZA(),h.TgZ(87,"option",83),h._uU(88,"(GMT +14:00) Line Islands, Tokelau"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(89,"div",20),h.YNc(90,Go,2,1,"mat-icon",21),h.YNc(91,yo,2,1,"mat-icon",21),h.TgZ(92,"span",22),h._uU(93),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.hij(" ",h.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),h.xp6(83),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Jo(t,e){if(1&t&&(h.TgZ(0,"div",14),h.YNc(1,to,11,5,"div",15),h.YNc(2,oo,11,4,"div",15),h.YNc(3,no,13,6,"div",15),h.YNc(4,uo,13,9,"div",15),h.YNc(5,po,2,1,"div",2),h.YNc(6,Ao,12,6,"div",15),h.YNc(7,fo,10,5,"div",15),h.YNc(8,So,16,11,"div",15),h.YNc(9,xo,12,5,"div",15),h.YNc(10,Ro,19,7,"div",15),h.YNc(11,Uo,5,4,"div",15),h.YNc(12,Po,5,4,"div",2),h.YNc(13,Yo,94,8,"div",15),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",("TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type)&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","FROM_FEDERATION_SHOW"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","PASSWORD"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","RADIO"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf",("HEADING"===t.type||"HTML_COMMENT"===t.type)&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","SELECTIONBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","TEXTAREA"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","COMBOBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","CHECKBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","TIMEZONE"===t.type&&"ALWAYS"!==t.hidden)}}function Vo(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Jo,14,13,"div",13),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",i.isValid(t))}}function Fo(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",4),h.YNc(2,ji,5,3,"button",5),h.YNc(3,$i,5,3,"button",5),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",6),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().currentLanguage=e}),h.YNc(9,Xi,4,6,"mat-option",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(10,"div",8),h.YNc(11,Vo,2,1,"div",9),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",!t.initialPage),h.xp6(1),h.Q6J("ngIf",t.initialPage),h.xp6(3),h.Oqu(h.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),h.xp6(2),h.Q6J("value",t.currentLanguage),h.xp6(1),h.Q6J("ngForOf",t.languages),h.xp6(2),h.Q6J("ngForOf",t.applicationFormItems)}}let Qo=(()=>{class t{constructor(t,e,i){this.route=t,this.translate=e,this.store=i,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}ngOnInit(){this.languages=this.store.get("supportedLanguages"),this.route.queryParamMap.subscribe(t=>{this.applicationFormItems=JSON.parse(t.get("applicationFormItems")),this.loading=!1})}switchToInitial(){this.initialPage=!0}switchToExtension(){this.initialPage=!1}getLocalizedOptions(t){if(t.i18n[this.currentLanguage]){const e=t.i18n[this.currentLanguage].options;if(null!==e&&""!==e){const t=[];for(const i of e.split("|"))t.push(i.split("#")[1]);return t}}return[]}isValid(t){if(t.forDelete)return!1;for(const e of t.applicationTypes){if("INITIAL"===e&&this.initialPage)return!0;if("EXTENSION"===e&&!this.initialPage)return!0}return!1}disabledTooltip(t){let e,i,o;switch(t.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${o}`;case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${o}`;default:return""}}hiddenTooltip(t){let e,i,o;switch(t.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${o}`;case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${o}`;default:return""}}getLocalizedLabel(t){return t.i18n[this.currentLanguage]&&t.i18n[this.currentLanguage].label?t.i18n[this.currentLanguage].label:t.shortname}getLocalizedHint(t){return t.i18n[this.currentLanguage]?t.i18n[this.currentLanguage].help:""}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text","disabled","",1,"w-100"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["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"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,Hi,1,0,"mat-spinner",1),h.YNc(4,Fo,12,8,"div",2)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Te.KE,Te.hX,fe.gD,o.sg,b.lW,Ze.ey,f.Hw,E.gM,he._Y,he.JL,he.F,he.YN,he.Kr,he.EJ,he.JJ,he.On],pipes:[_.X$,o.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function ko(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function zo(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",5),2&t){const t=h.oxw();h.Q6J("entity","member")("entityId",t.memberId)}}function Bo(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",h.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function Ho(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","group")}}function jo(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,Bo,3,6,"ng-template",1),h.YNc(2,Ho,1,3,"ng-template",2),h.qZA())}function $o(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",h.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Xo(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","resource")}}function Wo(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,$o,3,6,"ng-template",1),h.YNc(2,Xo,1,3,"ng-template",2),h.qZA())}function Ko(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function ta(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",7),2&t){const t=h.oxw();h.Q6J("entityId",t.member.userId)("entity","user")}}function ea(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",h.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function ia(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","user")("firstEntityId",t.member.userId)("secondEntity","facility")}}function oa(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,ea,3,6,"ng-template",1),h.YNc(2,ia,1,3,"ng-template",2),h.qZA())}let aa=(()=>{class t{constructor(t,e,i){this.route=t,this.authResolver=e,this.memberManager=i}ngOnInit(){this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberManager.getMemberById(this.memberId).subscribe(t=>{this.member=t,this.memberGroupAttAuth=this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.member]),this.memberResourceAttAuth=this.authResolver.isAuthorized("getAllowedResources_Member_policy",[this.member]),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:t.userId}])})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(u.x4),h.Y36(l.uq))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-tab-group"),h.TgZ(5,"mat-tab"),h.YNc(6,ko,2,3,"ng-template",1),h.YNc(7,zo,1,2,"ng-template",2),h.qZA(),h.YNc(8,jo,3,0,"mat-tab",3),h.YNc(9,Wo,3,0,"mat-tab",3),h.TgZ(10,"mat-tab",4),h.YNc(11,Ko,2,3,"ng-template",1),h.YNc(12,ta,1,2,"ng-template",2),h.qZA(),h.YNc(13,oa,3,0,"mat-tab",3),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(6),h.Q6J("ngIf",e.memberGroupAttAuth),h.xp6(1),h.Q6J("ngIf",e.memberResourceAttAuth),h.xp6(4),h.Q6J("ngIf",e.userFacilityAttAuth))},directives:[Di.SP,Di.uX,Di.uD,Di.Vc,o.O5,le.t,Ui.Y],pipes:[_.X$],styles:[""]}),t})(),sa=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=o,this.router=a,this.items=[]}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initItems()})})}initItems(){this.items=[{cssIcon:"perun-resource",url:`/organizations/${this.vo.id}/resources/preview`,label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:`/organizations/${this.vo.id}/resources/tags`,label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:`/organizations/${this.vo.id}/resources/states`,label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(u.x4),h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",0),h.qZA()),2&t&&(h.xp6(1),h.Q6J("items",e.items)("size","small"))},directives:[k.L],styles:[""]}),t})();var na=i(88227),ra=i(97397),la=i(4230),ca=i(24923);function ua(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function pa(t,e){1&t&&h._UZ(0,"th",15)}function da(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.tagName," ")}}function ga(t,e){1&t&&h._UZ(0,"tr",17)}function ha(t,e){1&t&&h._UZ(0,"tr",18)}function ma(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,pa,1,0,"th",11),h.YNc(10,da,2,1,"td",12),h.BQk(),h.YNc(11,ga,1,0,"tr",13),h.YNc(12,ha,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Aa=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.resourceManager=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.tagsForDelete)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;for(const t of this.data.tagsForDelete)this.resourceManager.deleteResourceTag({resourceTag:t}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.dialogRef.close(!0))}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.xk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,ua,1,0,"mat-spinner",1),h.YNc(5,ma,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var Ia=i(60611),Ta=i(59403),fa=i(19139),Ea=i(4196);function Za(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().create()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function ba(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().deleteTag()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function _a(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function Sa(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-resources-tags-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("selection",t.selection)("pageSize",t.pageSize)("resourceTags",t.resourceTag)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)("entity","vo")}}let Na=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.route=t,this.resourceManager=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translator=s,this.authResolver=n,this.voService=r,this.loading=!1,this.resourceTag=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.O7,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.updateData()})})}deleteTag(){const t=(0,c.kZ)();t.width="450px",t.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(Aa,t).afterClosed().subscribe(t=>{t&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateData())})}create(){const t=(0,c.kZ)();t.width="450px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(ca.p,t).afterClosed().subscribe(t=>{t&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.voId).subscribe(t=>{this.resourceTag=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.xk),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.YF))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.updateData()}),h.qZA(),h.YNc(4,Za,3,3,"button",2),h.YNc(5,ba,3,4,"button",3),h.TgZ(6,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(7,_a,1,0,"mat-spinner",5),h.YNc(8,Sa,1,6,"app-resources-tags-list",6)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),h.xp6(3),h.Q6J("ngIf",e.createAuth),h.xp6(1),h.Q6J("ngIf",e.deleteAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,Ea.o],pipes:[_.X$],styles:[""]}),t})();function Oa(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-expiration-settings",1),h.NdJ("saveAttribute",function(e){return h.CHM(t),h.oxw().saveExpirationAttribute(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("expirationAttribute",t.expirationAttribute)}}let va=(()=>{class t{constructor(t,e,i,o,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=o,this.apiRequest=a,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.groupId=t.groupId,this.loadSettings()})}loadSettings(){this.attributesManager.getGroupAttributeByName(this.groupId,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(t=>{this.expirationAttribute=t})}saveExpirationAttribute(t){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.groupId,attribute:t}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},t=>this.notificator.showRPCError(t.error,this.errorMessage))}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.V6),h.Y36(u.F5))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&h.YNc(0,Oa,1,1,"app-expiration-settings",0),2&t&&h.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[o.O5,qe],styles:[""]}),t})();function xa(t,e){if(1&t&&h._UZ(0,"app-managers-page",1),2&t){const t=h.oxw();h.Q6J("complementaryObject",t.group)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Ca=(()=>{class t{constructor(t,e,i){this.groupService=t,this.route=e,this.guiAuthResolver=i,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.ff),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h.YNc(0,xa,1,4,"app-managers-page",0),2&t&&h.Q6J("ngIf",e.group)},directives:[o.O5,ye.s],styles:[""]}),t})();function La(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Ra(t,e){1&t&&h._UZ(0,"th",15)}function Ma(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.hij(" ",i.getMailType(t)," ")}}function Da(t,e){1&t&&h._UZ(0,"tr",17)}function Ua(t,e){1&t&&h._UZ(0,"tr",18)}function qa(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,Ra,1,0,"th",11),h.YNc(10,Ma,2,1,"td",12),h.BQk(),h.YNc(11,Da,1,0,"tr",13),h.YNc(12,Ua,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let wa=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=o,this.registrarService=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.mails)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.groupId)for(const t of this.data.mails)this.registrarService.deleteApplicationMailForGroup(this.data.groupId,t.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1);else for(const t of this.data.mails)this.registrarService.deleteApplicationMailForVo(this.data.voId,t.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getMailType(t){let e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(t=>{e=t}),e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(_.sK),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,La,1,0,"mat-spinner",1),h.YNc(5,qa,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var Pa=i(10901);function Ga(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function ya(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",8),h.TgZ(1,"div"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"textarea",9),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().mailFooter=e}),h.qZA(),h.qZA(),h.TgZ(6,"div",10),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),h.xp6(3),h.Q6J("cdkTextareaAutosize",!0)("ngModel",t.mailFooter),h.xp6(2),h.Oqu(h.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}let Ya=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.attributesManager=e,this.translateService=i,this.notificator=o,this.data=a,this.mailFooter="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}submit(){this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1)}cancel(){this.dialogRef.close()}getFooterForVo(){this.attributesManager.getVoAttributeByName(this.data.voId,p.r.VO_DEF_MAIL_FOOTER).subscribe(t=>{this.mailAttribute=t,this.editAuth=this.mailAttribute.writable,this.mailFooter=t.value?t.value:""})}getFooterForGroup(){this.attributesManager.getGroupAttributeByName(this.data.groupId,p.r.GROUP_DEF_MAIL_FOOTER).subscribe(t=>{this.mailAttribute=t,this.editAuth=this.mailAttribute.writable,this.mailFooter=t.value?t.value:""})}notificateSuccess(){this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.H8),h.Y36(_.sK),h.Y36(u.V6),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ga,1,0,"mat-spinner",1),h.YNc(5,ya,9,8,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.cancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"div",5),h.ALo(11,"translate"),h.TgZ(12,"button",6),h.NdJ("click",function(){return e.submit()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),h.Q6J("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),h.xp6(2),h.Q6J("disabled",e.loading||!e.editAuth),h.xp6(1),h.hij(" ",h.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[A.uh,o.O5,A.H8,b.lW,E.gM,T.$g,A.xY,Te.KE,Ee.Nt,Pa.IC,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();var Ja=i(4253);function Va(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",1),h.TgZ(2,"button",2),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().addTag("{"+e[0]+"}")}),h.ALo(3,"translate"),h._uU(4),h.qZA(),h.TgZ(5,"span",3),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.qZA(),h._UZ(8,"mat-divider",4),h.qZA()}if(2&t){const t=e.$implicit;h.xp6(2),h.s9C("matTooltip",h.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),h.xp6(2),h.hij(" ",t[0]," "),h.xp6(2),h.hij(" ",h.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+t[1])," ")}}let Fa=(()=>{class t{constructor(){this.tags=[],this.addedTag=new h.vpe}addTag(t){this.addedTag.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["mat-flat-button","","matTooltipPosition","above",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(t,e){1&t&&h.YNc(0,Va,9,7,"div",0),2&t&&h.Q6J("ngForOf",e.tags)},directives:[o.sg,b.lW,E.gM,ii.d],pipes:[_.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),t})(),Qa=(()=>{class t{constructor(){this.addedTag=new h.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}ngOnInit(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}getApplicationRelatedTags(){const t=[];t.push(["appId","APPID_DESCRIPTION"]),t.push(["actor","ACTOR_DESCRIPTION"]),t.push(["extSource","EXTSOURCE_DESCRIPTION"]),t.push(["voName","VONAME_DESCRIPTION"]),t.push(["groupName","GROUPNAME_DESCRIPTION"]),t.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),t.push(["errors","ERRORS_DESCRIPTION"]),t.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),t.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=t}getUserRelatedTags(){const t=[];t.push(["firstName","FIRSTNAME_DESCRIPTION"]),t.push(["lastName","LASTNAME_DESCRIPTION"]),t.push(["displayName","DISPLAYNAME_DESCRIPTION"]),t.push(["mail","MAIL_DESCRIPTION"]),t.push(["phone","PHONE_DESCRIPTION"]),t.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),t.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=t}getValidationLinksUsersTags(){const t=[];t.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),t.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),t.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),t.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),t.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),t.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=t}getApplicationLinksUsersTags(){const t=[];t.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),t.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),t.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),t.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),t.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=t}getApplicationLinksAdministratorsTags(){const t=[];t.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),t.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),t.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),t.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=t}getPerunLinksAdministratorsTags(){const t=[];t.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),t.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),t.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),t.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=t}getUserInvitationsTags(){const t=[];t.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),t.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),t.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),t.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),t.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),t.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),t.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),t.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),t.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=t}addTag(t){this.addedTag.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(t,e){1&t&&(h.TgZ(0,"app-alert",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div",1),h.TgZ(4,"div",2),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(8,"div",4),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(12,"div",4),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"div",5),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.TgZ(18,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(19,"div",4),h._uU(20),h.ALo(21,"translate"),h.qZA(),h.TgZ(22,"div",5),h._uU(23),h.ALo(24,"translate"),h.qZA(),h.TgZ(25,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(26,"div",4),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"div",5),h._uU(30),h.ALo(31,"translate"),h.qZA(),h.TgZ(32,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(33,"div",4),h._uU(34),h.ALo(35,"translate"),h.qZA(),h.TgZ(36,"div",5),h._uU(37),h.ALo(38,"translate"),h.qZA(),h.TgZ(39,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(40,"div",4),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"div",5),h._uU(44),h.ALo(45,"translate"),h.qZA(),h.TgZ(46,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),h.xp6(4),h.hij("",h.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),h.xp6(2),h.Q6J("tags",e.applicationRelatedTags),h.xp6(2),h.hij("",h.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),h.xp6(2),h.Q6J("tags",e.userRelatedTags),h.xp6(2),h.hij("",h.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.validationLinksUsersTags),h.xp6(2),h.hij("",h.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.applicationLinksUsersTags),h.xp6(2),h.hij("",h.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.applicationLinksAdministratorsTags),h.xp6(2),h.hij("",h.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.perunLinksAdministratorsTags),h.xp6(2),h.hij("",h.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.userInvitationsTags))},directives:[pt.w,Ja.PQ,Fa],pipes:[_.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),t})();function ka(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",9),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function za(t,e){1&t&&(h.TgZ(0,"h1",9),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function Ba(t,e){1&t&&h._UZ(0,"mat-spinner",10)}function Ha(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function ja(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function $a(t,e){1&t&&(h.TgZ(0,"mat-option",36),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function Xa(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function Wa(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function Ka(t,e){1&t&&h._UZ(0,"mat-divider",50)}function ts(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",38),h.TgZ(1,"div",39),h.TgZ(2,"div",40),h.TgZ(3,"button",41),h.NdJ("click",function(){h.CHM(t);const e=h.oxw(3);return e.showTags=!e.showTags}),h._uU(4),h.ALo(5,"translate"),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"span",42),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",18),h.TgZ(11,"input",43,44),h.NdJ("focus",function(){return h.CHM(t),h.oxw(3).isTextFocused=!1})("ngModelChange",function(e){h.CHM(t);const i=h.oxw().$implicit;return h.oxw(2).applicationMail.message[i].subject=e}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(13,"div",45),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"mat-form-field",18),h.TgZ(17,"textarea",46,47),h.NdJ("focus",function(){return h.CHM(t),h.oxw(3).isTextFocused=!0})("ngModelChange",function(e){h.CHM(t);const i=h.oxw().$implicit;return h.oxw(2).applicationMail.message[i].text=e}),h._uU(19," "),h.qZA(),h.qZA(),h.qZA(),h.YNc(20,Ka,1,0,"mat-divider",48),h.TgZ(21,"div"),h.TgZ(22,"app-tag-bar",49),h.NdJ("addedTag",function(e){h.CHM(t);const i=h.MAs(12),o=h.MAs(18),a=h.oxw().$implicit;return h.oxw(2).addTag(i,o,a,e)}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw().$implicit,e=h.oxw(2);h.xp6(4),h.hij(" ",e.showTags?h.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):h.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),h.xp6(4),h.hij(" ",h.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),h.xp6(3),h.Q6J("ngModel",e.applicationMail.message[t].subject),h.xp6(3),h.hij(" ",h.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),h.xp6(3),h.Q6J("ngModel",e.applicationMail.message[t].text),h.xp6(3),h.Q6J("ngIf",e.showTags),h.xp6(1),h.Q6J("@tagsOpenClose",e.showTags?"open":"closed")}}function es(t,e){1&t&&(h.TgZ(0,"mat-tab",14),h.ALo(1,"translate"),h.ALo(2,"uppercase"),h.YNc(3,ts,23,15,"ng-template",37),h.qZA()),2&t&&h.s9C("label",h.lcZ(1,1,h.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+e.$implicit)))}function is(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",11),h.TgZ(1,"div"),h.TgZ(2,"app-alert",12),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.qZA(),h.TgZ(5,"mat-tab-group",13),h.TgZ(6,"mat-tab",14),h.ALo(7,"translate"),h.TgZ(8,"div",15),h.TgZ(9,"span",16),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"div",17),h.TgZ(13,"mat-form-field",18),h.TgZ(14,"mat-select",19),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.mailType=e})("selectionChange",function(){return h.CHM(t),h.oxw().notificationExist()}),h.TgZ(15,"mat-option",20),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.TgZ(18,"mat-option",21),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-option",22),h._uU(22),h.ALo(23,"translate"),h.qZA(),h.TgZ(24,"mat-option",23),h._uU(25),h.ALo(26,"translate"),h.qZA(),h.TgZ(27,"mat-option",24),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-option",25),h._uU(31),h.ALo(32,"translate"),h.qZA(),h.TgZ(33,"mat-option",26),h._uU(34),h.ALo(35,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(36,"div",27),h._UZ(37,"span",28),h.YNc(38,Ha,3,3,"div",29),h.YNc(39,ja,3,3,"div",29),h.qZA(),h.TgZ(40,"div",15),h.TgZ(41,"span",30),h._uU(42),h.ALo(43,"translate"),h.qZA(),h.TgZ(44,"div",17),h.TgZ(45,"mat-form-field",18),h.TgZ(46,"mat-select",19),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.appType=e})("selectionChange",function(){return h.CHM(t),h.oxw().notificationExist()}),h.TgZ(47,"mat-option",31),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.YNc(50,$a,3,3,"mat-option",32),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(51,"div",27),h._UZ(52,"span",28),h.YNc(53,Xa,3,3,"div",29),h.YNc(54,Wa,3,3,"div",29),h.qZA(),h.TgZ(55,"div",15),h.TgZ(56,"span",30),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.TgZ(59,"div",17),h.TgZ(60,"mat-checkbox",33),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.send=e}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(61,"div",27),h._UZ(62,"span",28),h.TgZ(63,"div",34),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(66,es,4,5,"mat-tab",35),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("@openClose",t.invalidNotification?"open":"closed"),h.xp6(2),h.Oqu(h.lcZ(4,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),h.xp6(3),h.s9C("label",h.lcZ(7,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),h.xp6(4),h.hij("",h.lcZ(11,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),h.xp6(4),h.Q6J("ngModel",t.applicationMail.mailType)("disabled",!t.data.createMailNotification),h.xp6(2),h.hij(" ",h.lcZ(17,32,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(20,34,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),h.xp6(3),h.hij(" ",h.lcZ(23,36,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),h.xp6(3),h.hij(" ",h.lcZ(26,38,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(29,40,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(32,42,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),h.xp6(3),h.hij(" ",h.lcZ(35,44,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),h.xp6(4),h.Q6J("ngIf",!t.data.createMailNotification),h.xp6(1),h.Q6J("ngIf",t.data.createMailNotification),h.xp6(3),h.hij("",h.lcZ(43,46,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),h.xp6(4),h.Q6J("ngModel",t.applicationMail.appType)("disabled",!t.data.createMailNotification),h.xp6(2),h.hij(" ",h.lcZ(49,48,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),h.xp6(2),h.Q6J("ngIf","USER_INVITE"!==t.applicationMail.mailType),h.xp6(3),h.Q6J("ngIf",!t.data.createMailNotification),h.xp6(1),h.Q6J("ngIf",t.data.createMailNotification),h.xp6(3),h.hij("",h.lcZ(58,50,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),h.xp6(3),h.Q6J("ngModel",t.applicationMail.send),h.xp6(4),h.hij(" ",h.lcZ(65,52,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),h.xp6(2),h.Q6J("ngForOf",t.languages)}}function os(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){return h.CHM(t),h.oxw().create()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.invalidNotification||t.loading),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function as(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){return h.CHM(t),h.oxw().save()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.loading||!t.editAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}let ss=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.registrarService=e,this.data=i,this.authResolver=o,this.groupsService=a,this.store=s,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supportedLanguages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(t=>{this.editAuth=this.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[t])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}cancel(){this.dialogRef.close()}create(){this.notificationExist(),this.invalidNotification||(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}save(){this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}addTag(t,e,i,o){let a;a=this.isTextFocused?e:t;const s=a.selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,s)+o+this.applicationMail.message[i].text.substring(s):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,s)+o+this.applicationMail.message[i].subject.substring(s),a.focus()}notificationExist(){for(const t of this.data.applicationMails)if(t.mailType===this.applicationMail.mailType&&t.appType===this.applicationMail.appType)return void(this.invalidNotification=!0);this.invalidNotification=!1}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.tk),h.Y36(A.WI),h.Y36(u.x4),h.Y36(l.ff),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.YNc(2,ka,4,3,"div",1),h.YNc(3,za,3,3,"ng-template",null,2,h.W1O),h.YNc(5,Ba,1,0,"mat-spinner",3),h.YNc(6,is,67,54,"div",4),h.TgZ(7,"div",5),h.TgZ(8,"button",6),h.NdJ("click",function(){return e.cancel()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.YNc(11,os,3,4,"button",7),h.TgZ(12,"div",8),h.ALo(13,"translate"),h.YNc(14,as,3,4,"button",7),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.MAs(4);h.Gre("",e.theme," h-100"),h.xp6(2),h.Q6J("ngIf",e.data.createMailNotification)("ngIfElse",t),h.xp6(3),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("ngIf",e.data.createMailNotification),h.xp6(1),h.s9C("matTooltip",h.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),h.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),h.xp6(2),h.Q6J("ngIf",!e.data.createMailNotification)}},directives:[o.O5,A.H8,b.lW,E.gM,A.uh,T.$g,A.xY,pt.w,Di.SP,Di.uX,Te.KE,fe.gD,he.JJ,he.On,Ze.ey,be.oG,o.sg,Di.Vc,Ee.Nt,he.Fj,Qa,ii.d],pipes:[_.X$,o.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[r.es,r.BQ]}}),t})();var ns=i(19386);function rs(t,e){1&t&&h._UZ(0,"mat-spinner",9)}let ls=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.voService=e,this.groupService=i,this.translateService=o,this.registrarService=a,this.data=s,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=t=>t.name}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(t=>{this.fakeGroup={id:-1,name:t,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},this.selectedGroup=this.fakeGroup,this.voService.getAllVos().subscribe(t=>{this.vos=t,this.vos=t.sort((t,e)=>t.name>e.name?1:t.namethis.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.loading=!0,this.data.groupId?this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}voSelected(t){this.selectedVo=t,this.getGroups()}getGroups(){null!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(t=>{this.groups=[this.fakeGroup].concat(t)}):this.groups=[this.fakeGroup]}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.YF),h.Y36(l.ff),h.Y36(_.sK),h.Y36(l.tk),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-notifications-copy-mails-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,rs,1,0,"mat-spinner",1),h.TgZ(5,"div",2),h.TgZ(6,"div",3),h._uU(7),h.ALo(8,"translate"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.TgZ(11,"perun-web-apps-vo-search-select",4),h.NdJ("voSelected",function(t){return e.voSelected(t)}),h.qZA(),h._uU(12),h.ALo(13,"translate"),h.TgZ(14,"perun-web-apps-group-search-select",5),h.NdJ("groupSelected",function(t){return e.selectedGroup=t}),h.qZA(),h.qZA(),h.TgZ(15,"div",6),h.TgZ(16,"button",7),h.NdJ("click",function(){return e.cancel()}),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.TgZ(19,"button",8),h.NdJ("click",function(){return e.submit()}),h._uU(20),h.ALo(21,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,15,"DIALOGS.NOTIFICATIONS_COPY_MAILS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("hidden",e.loading),h.xp6(2),h.Oqu(h.lcZ(8,17,"DIALOGS.NOTIFICATIONS_COPY_MAILS.DESCRIPTION")),h.xp6(2),h.hij(" ",h.lcZ(10,19,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_VO"),": "),h.xp6(2),h.Q6J("vos",e.vos),h.xp6(1),h.hij(" ",h.lcZ(13,21,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_GROUP"),": "),h.xp6(2),h.Q6J("groups",e.groups)("disableAutoSelect",!0),h.xp6(3),h.hij(" ",h.lcZ(18,23,"DIALOGS.NOTIFICATIONS_COPY_MAILS.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("disabled",null===e.selectedVo||null===e.selectedGroup||e.loading),h.xp6(1),h.hij(" ",h.lcZ(21,25,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SUBMIT_BUTTON")," "))},directives:[A.uh,o.O5,A.xY,ns.M,ut.h,A.H8,b.lW,T.$g],pipes:[_.X$],styles:[""],data:{animation:[r.BQ]}}),t})();var cs=i(58623),us=i(82819);function ps(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"th",13),h.TgZ(1,"mat-checkbox",14),h.NdJ("change",function(e){h.CHM(t);const i=h.oxw();return e?i.masterToggle():null}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function ds(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"td",15),h.TgZ(1,"mat-checkbox",16),h.NdJ("change",function(e){const i=h.CHM(t).$implicit,o=h.oxw();return e?o.toggle(i):null})("click",function(t){return t.stopPropagation()}),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function gs(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function hs(t,e){if(1&t&&(h.TgZ(0,"td",15),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t.id)}}function ms(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function As(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.Oqu(i.getMailType(t))}}function Is(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function Ts(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"mat-icon",21),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()),2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function fs(t,e){1&t&&(h.TgZ(0,"mat-icon",22),h._uU(1,"cached"),h.qZA(),h._uU(2),h.ALo(3,"translate")),2&t&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function Es(t,e){if(1&t&&(h.TgZ(0,"td",18),h.YNc(1,Ts,5,3,"div",19),h.YNc(2,fs,4,3,"ng-template",null,20,h.W1O),h.qZA()),2&t){const t=e.$implicit,i=h.MAs(3);h.xp6(1),h.Q6J("ngIf","INITIAL"===t.appType)("ngIfElse",i)}}function Zs(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function bs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"td",18),h.TgZ(1,"section"),h.TgZ(2,"mat-checkbox",23),h.NdJ("change",function(){const e=h.CHM(t).$implicit;return h.oxw().changeSending(e)})("click",function(t){return t.stopPropagation()}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),h.Q6J("disabled",i.disableSend)("matTooltipDisabled",!i.disableSend)("ngModel",t.send)}}function _s(t,e){1&t&&h._UZ(0,"tr",24)}function Ss(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"tr",25),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().openApplicationMailDetail(e)}),h.qZA()}2&t&&h.ekj("cursor-pointer",!0)}let Ns=(()=>{class t{constructor(t,e,i,o,a,s){this.registrarService=t,this.translate=e,this.notificator=i,this.dialog=o,this.authResolver=a,this.tableCheckbox=s,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new la.Ov(!0,[]),this.pageSize=10,this.selectionChange=new h.vpe,this.page=new h.vpe,this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new st.by(this.applicationMails),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeSending(t){t.send?this.registrarService.setSendingEnabled({mails:[t],enabled:!1}).subscribe(()=>{t.send=!1}):this.registrarService.setSendingEnabled({mails:[t],enabled:!0}).subscribe(()=>{t.send=!0})}openApplicationMailDetail(t){const e=(0,c.kZ)();e.width="1400px",e.height="700px",e.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:t},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.EDIT_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.selectionChange.emit(this.selection),this.update())})}getMailType(t){let e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(t=>{e=t}),e}update(){this.groupId?this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.updateTable(t)}):this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.updateTable(t)})}toggle(t){this.selection.toggle(t),this.selectionChange.emit(this.selection)}updateTable(t){this.applicationMails=t,this.dataSource=new st.by(this.applicationMails),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(_.sK),h.Y36(u.V6),h.Y36(A.uw),h.Y36(u.x4),h.Y36(u.UA))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-notification-list"]],viewQuery:function(t,e){if(1&t&&(h.Gf(cs.YE,7),h.Gf(c.l9,7)),2&t){let t;h.iGM(t=h.CRH())&&(e.matSort=t.first),h.iGM(t=h.CRH())&&(e.child=t.first)}},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",pageSize:"pageSize",theme:"theme"},outputs:{selectionChange:"selectionChange",page:"page"},features:[h.TTD],decls:19,vars:7,consts:[[3,"dataLength","hideExport","pageSizeOptions","pageSize","page"],["mat-table","","matSort","","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","mailType"],["mat-cell","",4,"matCellDef"],["matColumnDef","appType"],["matColumnDef","send"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["extension",""],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],[3,"disabled","matTooltipDisabled","ngModel","matTooltip","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"perun-web-apps-table-wrapper",0),h.NdJ("page",function(t){return e.page.emit(t)}),h.TgZ(1,"table",1),h.ynx(2,2),h.YNc(3,ps,2,3,"th",3),h.YNc(4,ds,2,2,"td",4),h.BQk(),h.ynx(5,5),h.YNc(6,gs,3,3,"th",6),h.YNc(7,hs,2,1,"td",4),h.BQk(),h.ynx(8,7),h.YNc(9,ms,3,3,"th",6),h.YNc(10,As,2,1,"td",8),h.BQk(),h.ynx(11,9),h.YNc(12,Is,3,3,"th",6),h.YNc(13,Es,4,2,"td",8),h.BQk(),h.ynx(14,10),h.YNc(15,Zs,3,3,"th",6),h.YNc(16,bs,4,6,"td",8),h.BQk(),h.YNc(17,_s,1,0,"tr",11),h.YNc(18,Ss,1,2,"tr",12),h.qZA(),h.qZA()),2&t&&(h.Q6J("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),h.xp6(1),h.Q6J("dataSource",e.dataSource),h.xp6(16),h.Q6J("matHeaderRowDef",e.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",e.displayedColumns))},directives:[us.l,st.BZ,cs.YE,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,be.oG,st.ev,cs.nU,o.O5,f.Hw,E.gM,he.JJ,he.On,st.XQ,st.Gk],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Os(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().add()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function vs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw().remove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function xs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(t),h.oxw().changeEmailFooter()}),h.TgZ(1,"i",12),h._uU(2,"email"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "))}function Cs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw().copy()}),h.TgZ(1,"i",12),h._uU(2,"file_copy"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Ls(t,e){1&t&&h._UZ(0,"mat-spinner",14)}function Rs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",15),h.TgZ(1,"app-notification-list",16),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)})("selectionChange",function(e){return h.CHM(t),h.oxw().changeSelection(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("applicationMails",t.applicationMails)("pageSize",t.pageSize)("voId",t.voId)("displayedColumns",t.displayedColumns)("disableSend",!t.addAuth)("selection",t.selection)("theme","vo-theme")}}function Ms(t,e){1&t&&(h.TgZ(0,"app-alert",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}let Ds=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.route=t,this.registrarService=e,this.translate=i,this.dialog=o,this.tableConfigService=a,this.notificator=s,this.authResolver=n,this.voService=r,this.store=l,this.loading=!1,this.applicationMails=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.VR,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.registrarService.getVoApplicationForm(this.voId).subscribe(t=>{this.applicationForm=t,this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.applicationMails=t,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("vo-deleteMailById_ApplicationForm_Integer_policy",[this.vo]),this.copyAuth=this.authResolver.isAuthorized("copyMailsFromVoToVo_Vo_Vo_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const t=this.store.get("supportedLanguages"),e=(0,c.i5)(t);e.formId=this.applicationForm.id;const i=(0,c.kZ)();i.width="1400px",i.height="700px",i.data={theme:"vo-theme",voId:this.voId,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(ss,i).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}remove(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open(wa,t).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}copy(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(ls,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.applicationMails=t,this.loading=!1})}changeEmailFooter(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Ya,t)}changeSelection(t){this.selection=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.tk),h.Y36(_.sK),h.Y36(A.uw),h.Y36(Ia.dB),h.Y36(u.V6),h.Y36(u.x4),h.Y36(l.YF),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:11,vars:10,consts:[[1,"page-subtitle"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],[3,"alert_type",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["mat-stroked-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[3,"applicationMails","pageSize","voId","displayedColumns","disableSend","selection","theme","page","selectionChange"],[3,"alert_type"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div",1),h.YNc(4,Os,3,3,"button",2),h.YNc(5,vs,3,4,"button",3),h.YNc(6,xs,5,3,"button",4),h.YNc(7,Cs,5,3,"button",5),h.qZA(),h.YNc(8,Ls,1,0,"mat-spinner",6),h.YNc(9,Rs,2,7,"div",7),h.YNc(10,Ms,3,4,"app-alert",8)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,8,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),h.xp6(3),h.Q6J("ngIf",!e.loading&&e.addAuth),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.removeAuth),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.copyAuth),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",0!==e.applicationMails.length&&!e.loading),h.xp6(1),h.Q6J("ngIf",0===e.applicationMails.length&&!e.loading))},directives:[o.O5,b.lW,T.$g,Ns,pt.w],pipes:[_.X$],styles:[""]}),t})();var Us=i(65423);function qs(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function ws(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).add()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function Ps(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).remove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Gs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).copy()}),h.TgZ(1,"i",8),h._uU(2,"file_copy"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function ys(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",15),h.TgZ(1,"app-notification-list",16),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).pageChanged(e)})("selectionChange",function(e){return h.CHM(t),h.oxw(2).changeSelection(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("disableSend",!t.addAuth)("displayedColumns",t.displayedColumns)("applicationMails",t.applicationMails)("pageSize",t.pageSize)("groupId",t.groupId)("selection",t.selection)("theme","group-theme")}}function Ys(t,e){1&t&&(h.TgZ(0,"app-alert",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS")," "))}function Js(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",4),h.YNc(2,ws,3,3,"button",5),h.YNc(3,Ps,3,4,"button",6),h.TgZ(4,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().changeEmailFooter()}),h.TgZ(5,"i",8),h._uU(6,"email"),h.qZA(),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.YNc(9,Gs,5,3,"button",9),h.qZA(),h.YNc(10,ys,2,7,"div",10),h.YNc(11,Ys,3,3,"app-alert",11),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",t.addAuth),h.xp6(1),h.Q6J("ngIf",t.removeAuth),h.xp6(4),h.hij(" ",h.lcZ(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),h.xp6(2),h.Q6J("ngIf",t.copyAuth),h.xp6(1),h.Q6J("ngIf",0!==t.applicationMails.length),h.xp6(1),h.Q6J("ngIf",0===t.applicationMails.length)}}function Vs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",19),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).createEmptyApplicationForm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function Fs(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",17),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Vs,3,3,"button",18),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.Oqu(h.lcZ(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),h.xp6(2),h.Q6J("ngIf",t.createFormAuth)}}let Qs=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l,c){this.route=t,this.registrarService=e,this.translate=i,this.dialog=o,this.apiRequest=a,this.tableConfigService=s,this.notificator=n,this.groupsService=r,this.guiAuthResolver=l,this.attributesService=c,this.loading=!1,this.applicationMails=[],this.selection=new la.Ov(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=Ia.AA}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupsService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.apiRequest.dontHandleErrorForNext(),this.registrarService.getGroupApplicationForm(this.groupId).subscribe(t=>{this.applicationForm=t,this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.applicationMails=t,this.apiRequest.dontHandleErrorForNext(),this.attributesService.getGroupAttributeByName(this.groupId,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.setAuthRights(),this.loading=!1},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t),this.setAuthRights(),this.loading=!1})})},t=>{"FormNotExistsException"===t.error.name?(this.setAuthRights(),this.loading=!1):this.notificator.showRPCError(t)})})})}setAuthRights(){this.createFormAuth=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.addAuth=this.guiAuthResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("group-deleteMailById_ApplicationForm_Integer_policy",[this.group]),this.copyAuth=this.guiAuthResolver.isAuthorized("copyMailsFromVoToGroup_Vo_Group_boolean_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const t=(0,c.i5)();t.formId=this.applicationForm.id;const e=(0,c.kZ)();e.width="1400px",e.height="700px",e.data={theme:"group-theme",voId:this.voId,groupId:this.groupId,createMailNotification:!0,applicationMail:t,applicationMails:this.applicationMails},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}remove(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,mails:this.selection.selected,theme:"group-theme"},this.dialog.open(wa,t).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}copy(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(ls,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.applicationMails=t,this.loading=!1})}changeEmailFooter(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(Ya,t)}changeSelection(t){this.selection=t}createEmptyApplicationForm(){this.registrarService.createApplicationFormInGroup(this.groupId).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.tk),h.Y36(_.sK),h.Y36(A.uw),h.Y36(u.F5),h.Y36(Ia.dB),h.Y36(u.V6),h.Y36(l.ff),h.Y36(u.x4),h.Y36(l.H8))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"ml-auto",3,"click"],[1,"card","mt-2"],[3,"disableSend","displayedColumns","applicationMails","pageSize","groupId","selection","theme","page","selectionChange"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,qs,1,0,"mat-spinner",1),h.YNc(4,Js,12,8,"div",2),h.YNc(5,Fs,5,4,"div",2)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,4,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.noApplicationForm&&!e.loading),h.xp6(1),h.Q6J("ngIf",e.noApplicationForm&&!e.loading))},directives:[o.O5,T.$g,b.lW,Ns,pt.w],pipes:[_.X$],styles:[""]}),t})();var ks=i(4359);function zs(t,e){1&t&&h._UZ(0,"mat-spinner",8)}function Bs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",9),h.TgZ(1,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("filterValue",t.filterValue)("selection",t.selection)}}let Hs=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.extSources=[],this.selection=new la.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=Ia.BV}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.data.groupId?this.extSourceService.getVoExtSources(this.data.voId).subscribe(t=>{this.extSources=t.filter(t=>!this.data.extSources.some(({id:e})=>e===t.id)),this.loading=!1},()=>this.loading=!1):this.extSourceService.getExtSources().subscribe(t=>{this.extSources=t.filter(t=>!this.data.extSources.some(({id:e})=>e===t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}addVoExtSource(t){if(0===t.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const e=t.pop();this.extSourceService.addExtSourceWithVoSource(this.data.voId,e.id).subscribe(()=>{this.addVoExtSource(t)},()=>this.loading=!1)}addGroupExtSource(t){if(0===t.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const e=t.pop();this.extSourceService.addExtSourceWithGroupSource(this.data.groupId,e.id).subscribe(()=>{this.addGroupExtSource(t)},()=>this.loading=!1)}onAdd(){this.loading=!0,this.data.groupId?this.addGroupExtSource(this.selection.selected):this.addVoExtSource(this.selection.selected)}onCancel(){this.dialogRef.close(!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.KG),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-ext-source-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"pageSize","extSources","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.TgZ(2,"h1",1),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.TgZ(5,"perun-web-apps-immediate-filter",2),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.qZA(),h.YNc(6,zs,1,0,"mat-spinner",3),h.YNc(7,Bs,2,4,"div",4),h.TgZ(8,"div",5),h.TgZ(9,"button",6),h.NdJ("click",function(){return e.onCancel()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",7),h.NdJ("click",function(){return e.onAdd()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(3),h.Oqu(h.lcZ(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),h.xp6(2),h.Q6J("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),h.xp6(2),h.Q6J("disabled",0===e.selection.selected.length||e.loading),h.xp6(1),h.hij(" ",h.lcZ(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[A.uh,fa.L,o.O5,A.H8,b.lW,T.$g,A.xY,ks.D],pipes:[_.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})();function js(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function $s(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1,"id"),h.qZA())}function Xs(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.id," ")}}function Ws(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1,"name"),h.qZA())}function Ks(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.name," ")}}function tn(t,e){1&t&&h._UZ(0,"tr",19)}function en(t,e){1&t&&h._UZ(0,"tr",20)}function on(t,e){if(1&t&&(h.TgZ(0,"div",8),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",9),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",10),h.ynx(8,11),h.YNc(9,$s,2,0,"th",12),h.YNc(10,Xs,2,1,"td",13),h.BQk(),h.ynx(11,14),h.YNc(12,Ws,2,0,"th",12),h.YNc(13,Ks,2,1,"td",13),h.BQk(),h.YNc(14,tn,1,0,"tr",15),h.YNc(15,en,1,0,"tr",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.extSources),h.xp6(7),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let an=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.extSources=[],this.displayedColumns=["id","name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.extSources=this.data.extSources}removeVoExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const t=this.extSources.pop();this.extSourceService.removeExtSourceWithVoSource(this.data.voId,t.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}removeGroupExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const t=this.extSources.pop();this.extSourceService.removeExtSourceWithGroupSource(this.data.groupId,t.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}onRemove(){this.loading=!0,this.data.groupId?this.removeGroupExtSource():this.removeVoExtSource()}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.KG),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-remove-ext-source-dialog"]],decls:14,vars:14,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"mr-auto","ml-auto"],["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",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.TgZ(2,"h1",1),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.qZA(),h.YNc(5,js,1,0,"mat-spinner",2),h.YNc(6,on,16,9,"div",3),h.TgZ(7,"div",4),h.TgZ(8,"button",5),h.NdJ("click",function(){return e.onCancel()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"button",6),h.NdJ("click",function(){return e.onRemove()}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(3),h.Oqu(h.lcZ(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();function sn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAdd()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function nn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function rn(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function ln(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("selection",t.selection)}}let cn=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.authResolver=n,this.voService=r,this.extSources=[],this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.qV,this.displayedColumns=[],this.translate.get("VO_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.refreshTable()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Vo_ExtSource_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Vo_ExtSource_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getVoExtSources(this.voId).subscribe(t=>{this.extSources=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}onAdd(){const t=(0,c.kZ)();t.width="1000px",t.data={voId:this.voId,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(Hs,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,c.kZ)();t.width="600px",t.data={voId:this.voId,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(an,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.KG),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.YF))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,sn,3,3,"button",2),h.YNc(6,nn,3,4,"button",3),h.TgZ(7,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(8,rn,1,0,"mat-spinner",5),h.YNc(9,ln,1,5,"app-ext-sources-list",6),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,ks.D],pipes:[_.X$],styles:[""]}),t})();var un=i(78364);function pn(t,e){1&t&&h._UZ(0,"mat-spinner",3)}const dn=function(){return["select","id","name","description"]};function gn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.qZA(),h.TgZ(2,"div",5),h.TgZ(3,"perun-web-apps-groups-list",6),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA(),h.TgZ(4,"div",7),h.TgZ(5,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().onSubmit()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.Tol(t.theme),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),h.xp6(2),h.Q6J("groupsToDisable",t.groupsToDisable)("disableGroups",!0)("pageSize",t.pageSize)("groups",t.groups)("selection",t.selection)("displayedColumns",h.DdM(21,dn))("filter",t.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),h.xp6(3),h.hij(" ",h.lcZ(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",t.loading||0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}let hn=(()=>{class t{constructor(t,e,i,o,a,s,n){this.dialogRef=t,this.groupService=e,this.notificator=i,this.translate=o,this.tableConfigService=a,this.guiAuthResolver=s,this.data=n,this.selection=new la.Ov(!1,[]),this.filterValue="",this.tableId=Ia.RS,this.groupsToDisable=new Set,o.get("DIALOGS.CREATE_RELATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.groupService.getGroupUnions(this.data.group.id,!this.data.reverse).subscribe(t=>{t=t.concat(this.data.groups),this.groupService.getAllGroups(this.data.voId).subscribe(e=>{const i=t.map(t=>t.id);this.groups=e.filter(t=>!i.includes(t.id)&&t.id!==this.data.group.id),this.setGroupsToDisable(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.groupService.createGroupUnion(this.data.group.id,this.selection.selected[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}setGroupsToDisable(){for(const t of this.groups)this.guiAuthResolver.isAuthorized("createGroupUnion_Group_Group_policy",[this.data.group,t])||this.groupsToDisable.add(t.id)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.ff),h.Y36(u.V6),h.Y36(_.sK),h.Y36(Ia.dB),h.Y36(u.x4),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-create-relation-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"class",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"placeholder","filter"],["mat-dialog-content","",1,"dialog-container"],[3,"groupsToDisable","disableGroups","pageSize","groups","selection","displayedColumns","filter","disableHeadCheckbox","disableRouting","authType","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div"),h.YNc(4,pn,1,0,"mat-spinner",1),h.qZA(),h.YNc(5,gn,11,22,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"DIALOGS.CREATE_RELATION.TITLE")),h.xp6(2),h.Tol(e.theme),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[A.uh,o.O5,T.$g,fa.L,A.xY,un.W,A.H8,b.lW],pipes:[_.X$],styles:[""]}),t})();function mn(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function An(t,e){1&t&&h._UZ(0,"th",15)}function In(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.name," ")}}function Tn(t,e){1&t&&h._UZ(0,"tr",17)}function fn(t,e){1&t&&h._UZ(0,"tr",18)}function En(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,An,1,0,"th",11),h.YNc(10,In,2,1,"td",12),h.BQk(),h.YNc(11,Tn,1,0,"tr",13),h.YNc(12,fn,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Zn=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.groupService=o,this.translate=a,this.displayedColumns=["name"],a.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.groups)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,1===this.data.groups.length)this.groupService.removeGroupUnion(this.data.reverse?this.data.groups[0].id:this.data.groupId,this.data.reverse?this.data.groupId:this.data.groups[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1);else{const t=this.data.reverse?this.data.groups.shift().id:this.data.groupId,e=this.data.reverse?this.data.groupId:this.data.groups.shift().id;this.groupService.removeGroupUnion(t,e).subscribe(()=>{this.onSubmit(),this.dialogRef.close(!0)},()=>this.loading=!1)}}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(l.ff),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-remove-relation-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,mn,1,0,"mat-spinner",1),h.YNc(5,En,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var bn=i(41939);const _n=["list"];function Sn(t,e){1&t&&h._UZ(0,"mat-spinner",8)}const Nn=function(){return["select","id","vo","name","description"]};function On(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",9,10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("groups",t.groups)("parentGroup",t.group)("authType","group-relations")("selection",t.selection)("filter",t.filterValue)("displayedColumns",h.DdM(8,Nn))("disableHeadCheckbox",!0)}}let vn=(()=>{class t{constructor(t,e,i,o){this.route=t,this.groupService=e,this.tableConfigService=i,this.dialog=o,this.selection=new la.Ov(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=Ia._7}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.groupId=t.groupId,this.voId=t.voId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.refreshTable()})})}onCreate(){const t=(0,c.kZ)();t.width="1050px",t.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.voId,reverse:this.reverse},this.dialog.open(hn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,c.kZ)();t.width="450px",t.data={groups:this.selection.selected,theme:"group-theme",groupId:+this.groupId,reverse:this.reverse},this.dialog.open(Zn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getGroupUnions(this.groupId,this.reverse).subscribe(t=>{this.groups=t,this.selection.clear(),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}showReverseUnions(){this.reverse=!this.reverse,this.refreshTable()}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(Ia.dB),h.Y36(A.uw))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-relations"]],viewQuery:function(t,e){if(1&t&&h.Gf(_n,5),2&t){let t;h.iGM(t=h.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:18,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"matTooltip","matTooltipDisabled","disabled","click"],[3,"placeholder","filter"],[3,"change"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox","page"],["list",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.TgZ(5,"button",2),h.NdJ("click",function(){return e.onCreate()}),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"button",3),h.NdJ("click",function(){return e.onDelete()}),h.ALo(9,"translate"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.TgZ(13,"mat-checkbox",5),h.NdJ("change",function(){return e.showReverseUnions()}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.YNc(16,Sn,1,0,"mat-spinner",6),h.YNc(17,On,2,9,"perun-web-apps-groups-list",7),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),h.xp6(4),h.hij(" ",h.lcZ(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),h.Q6J("matTooltipDisabled",0===e.selection.selected.length||void 0!==e.list&&e.list.removeAuth)("disabled",0===e.selection.selected.length||void 0!==e.list&&!e.list.removeAuth),h.xp6(2),h.hij(" ",h.lcZ(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),h.xp6(2),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),h.xp6(2),h.Oqu(h.lcZ(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,b.lW,E.gM,fa.L,be.oG,o.O5,T.$g,un.W],pipes:[_.X$],styles:[""]}),t})();var xn=i(21548),Cn=i(29851);function Ln(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",6),h.NdJ("click",function(){return h.CHM(t),h.oxw().showAllDetails=!0}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function Rn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",6),h.NdJ("click",function(){return h.CHM(t),h.oxw().showAllDetails=!1}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function Mn(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function Dn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-applications-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)("displayedColumns",t.displayedColumns)}}function Un(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-perun-web-apps-application-list-details",11),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).detailPageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)}}function qn(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Dn,1,5,"app-applications-list",8),h.YNc(2,Un,1,4,"app-perun-web-apps-application-list-details",9),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",!t.showAllDetails),h.xp6(1),h.Q6J("ngIf",t.showAllDetails)}}let wn=(()=>{class t{constructor(t,e,i,o){this.registrarManager=t,this.memberManager=e,this.tableConfigService=i,this.route=o,this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=Ia.d7,this.tableId=Ia.vq}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberManager.getMemberById(this.memberId).subscribe(t=>{this.member=t}),this.registrarManager.getApplicationsForMember(this.memberId).subscribe(t=>{this.applications=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.registrarManager.getApplicationsForMember(this.memberId).subscribe(t=>{this.applications=t,this.loading=!1})}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(l.uq),h.Y36(Ia.dB),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-applications"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","member","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","member","page",4,"ngIf"],[3,"pageSize","filterValue","applications","member","displayedColumns","page"],[3,"pageSize","filterValue","applications","member","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div"),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,Ln,3,3,"button",2),h.YNc(6,Rn,3,3,"button",2),h.TgZ(7,"perun-web-apps-immediate-filter",3),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.qZA(),h.YNc(8,Mn,1,0,"mat-spinner",4),h.YNc(9,qn,3,2,"div",5)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),h.xp6(4),h.Q6J("ngIf",!e.showAllDetails),h.xp6(1),h.Q6J("ngIf",e.showAllDetails),h.xp6(1),h.Q6J("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,xn.M,Cn.w],pipes:[_.X$],styles:[""]}),t})();var Pn=i(56238),Gn=i(79996),yn=i(70663),Yn=i(40084);function Jn(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function Vn(t,e){1&t&&h._UZ(0,"mat-spinner",13)}function Fn(t,e){if(1&t&&(h.TgZ(0,"mat-option",24),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function Qn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-option",25),h.NdJ("click",function(){const e=h.CHM(t).$implicit,i=h.oxw(2),o=h.MAs(6);return i.setResource(e),o.selected.completed=!0}),h._uU(1),h.qZA()}if(2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t.name," ")}}function kn(t,e){if(1&t&&(h.TgZ(0,"div",22),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t.name)}}function zn(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div"),h.TgZ(2,"mat-form-field",14),h._UZ(3,"input",15),h.ALo(4,"translate"),h.TgZ(5,"mat-autocomplete",16,17),h.YNc(7,Fn,2,2,"mat-option",18),h.ALo(8,"async"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(9,"div"),h.TgZ(10,"mat-form-field",14),h.TgZ(11,"mat-select",19),h.ALo(12,"translate"),h.YNc(13,Qn,2,2,"mat-option",20),h.ALo(14,"async"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(15,"div"),h.TgZ(16,"span",21),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.TgZ(19,"div",22),h._uU(20),h.qZA(),h.qZA(),h.TgZ(21,"div"),h.TgZ(22,"span",21),h._uU(23),h.ALo(24,"translate"),h.qZA(),h.YNc(25,kn,2,1,"div",23),h.qZA(),h.qZA()),2&t){const t=h.MAs(6),e=h.oxw();h.xp6(3),h.s9C("placeholder",h.lcZ(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),h.Q6J("formControl",e.facilityCtrl)("matAutocomplete",t),h.xp6(4),h.Q6J("ngForOf",h.lcZ(8,12,e.filteredFacilities)),h.xp6(4),h.s9C("placeholder",h.lcZ(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),h.xp6(2),h.Q6J("ngForOf",h.lcZ(14,16,e.filteredResources)),h.xp6(4),h.Oqu(h.lcZ(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),h.xp6(3),h.hij(" ",e.description," "),h.xp6(3),h.Oqu(h.lcZ(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),h.xp6(2),h.Q6J("ngForOf",e.services)}}function Bn(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function Hn(t,e){1&t&&h._UZ(0,"mat-spinner",13)}const jn=function(){return["select","id","name","description"]};function $n(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-groups-list",26),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisable",t.membersGroupsId)("groups",t.groups)("displayedColumns",h.DdM(7,jn))("selection",t.selectedGroups)}}function Xn(t,e){1&t&&(h.TgZ(0,"app-alert",27),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}let Wn=(()=>{class t{constructor(t,e,i,o,a,s,n){this.dialogRef=t,this.data=e,this.resourceManager=i,this.groupManager=o,this.notificator=a,this.translate=s,this.authResolver=n,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new he.NI,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new la.Ov(!1,[])}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getRichResources(this.data.voId).subscribe(t=>{this.resources=t,this.getResourceFacilities(),this.loading=!1},()=>this.loading=!1)}getResourceFacilities(){const t=new Set;for(const e of this.resources)t.add(e.facility.name);this.facilitiesNames=Array.from(t),this.filteredFacilities=this.facilityCtrl.valueChanges.pipe((0,Pn.O)(""),(0,Gn.U)(t=>this.filterFacilities(t))),this.filteredResources=this.facilityCtrl.valueChanges.pipe((0,Pn.O)(""),(0,Gn.U)(t=>this.filterResources(t)))}filterFacilities(t){const e=t.toLowerCase();return this.facilitiesNames.filter(t=>t.toLowerCase().indexOf(e)>=0).sort((t,e)=>t.toLowerCase().localeCompare(e.toLowerCase()))}filterResources(t){if(null==t)return this.resources;const e=t.toLowerCase();return this.resources.filter(t=>0===t.facility.name.toLowerCase().indexOf(e)).sort((t,e)=>t.name.toLowerCase().localeCompare(e.name.toLowerCase()))}setResource(t){this.processing=!0,this.selectedResource=t,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(t=>{this.services=t,this.processing=!1},()=>this.processing=!1),this.description=this.selectedResource.description}loadGroups(){this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(t=>{this.groups=t,this.groupManager.getAllMemberGroups(this.data.memberId).subscribe(t=>{this.membersGroupsId=new Set(t.map(t=>t.id)),this.groups.forEach(t=>{this.authResolver.isAuthorized("addMember_Group_Member_policy",[t])||this.membersGroupsId.add(t.id)}),this.processing=!1},()=>this.processing=!1)})}onFinish(){this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),this.dialogRef.close(!0)},()=>this.processing=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.xk),h.Y36(l.ff),h.Y36(u.V6),h.Y36(_.sK),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-member-to-resource-dialog"]],decls:30,vars:26,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto",3,"click"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisable","groups","displayedColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-horizontal-stepper",2,3),h.TgZ(7,"mat-step",4),h.YNc(8,Jn,2,3,"ng-template",5),h.YNc(9,Vn,1,0,"mat-spinner",6),h.YNc(10,zn,26,22,"div",7),h.TgZ(11,"div",8),h.TgZ(12,"button",9),h.NdJ("click",function(){return e.onCancel()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"button",10),h.NdJ("click",function(){return e.loadGroups()}),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(18,"mat-step"),h.YNc(19,Bn,2,3,"ng-template",5),h.YNc(20,Hn,1,0,"mat-spinner",6),h.YNc(21,$n,2,8,"div",7),h.YNc(22,Xn,3,3,"app-alert",11),h.TgZ(23,"div",8),h.TgZ(24,"button",12),h.NdJ("click",function(){return e.selectedGroups.clear()}),h._uU(25),h.ALo(26,"translate"),h.qZA(),h.TgZ(27,"button",10),h.NdJ("click",function(){return e.onFinish()}),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),h.xp6(3),h.Q6J("linear",!0),h.xp6(4),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.Oqu(h.lcZ(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),h.xp6(2),h.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),h.xp6(1),h.Oqu(h.lcZ(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),h.xp6(4),h.Q6J("ngIf",e.processing),h.xp6(1),h.Q6J("ngIf",0!==e.groups.length&&!e.processing),h.xp6(1),h.Q6J("ngIf",0===e.groups.length&&!e.processing),h.xp6(3),h.hij(" ",h.lcZ(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),h.xp6(2),h.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),h.xp6(1),h.hij(" ",h.lcZ(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[A.uh,A.xY,yn.Vq,yn.C0,yn.VY,o.O5,A.H8,b.lW,yn.Ic,yn.fd,T.$g,Te.KE,Ee.Nt,he.Fj,Yn.ZL,he.JJ,he.oH,Yn.XC,o.sg,fe.gD,Ze.ey,un.W,pt.w],pipes:[_.X$,o.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t})();var Kn=i(88884);function tr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-refresh-button",6),h.NdJ("refresh",function(){return h.CHM(t),h.oxw().refreshTable()}),h.qZA()}}function er(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().addResource()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function ir(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-immediate-filter",8),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.qZA()}2&t&&h.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function or(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-resources-list",9),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)("routingVo",!0)("disableRouting",!t.routeAuth)("resources",t.resources)}}function ar(t,e){1&t&&h._UZ(0,"mat-spinner",10)}let sr=(()=>{class t{constructor(t,e,i,o,a,s){this.dialog=t,this.tableConfigService=e,this.memberManager=i,this.resourceManager=o,this.route=a,this.authResolver=s,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=Ia.aL}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.memberManager.getMemberById(t.memberId).subscribe(t=>{this.member=t,this.refreshTable()})})}addResource(){const t=(0,c.kZ)();t.width="1200px",t.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(Wn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(t=>{this.resources=t,this.setAuthRights(),this.loading=!1})}setAuthRights(){const t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[t]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[t,this.resources[0]]))}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.uw),h.Y36(Ia.dB),h.Y36(l.uq),h.Y36(l.xk),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-resources"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mr-2",3,"placeholder","filter",4,"ngIf"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],[1,"mr-2",3,"placeholder","filter"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,tr,1,0,"perun-web-apps-refresh-button",1),h.YNc(5,er,3,3,"button",2),h.YNc(6,ir,1,1,"perun-web-apps-immediate-filter",3),h.YNc(7,or,1,6,"perun-web-apps-resources-list",4),h.qZA(),h.YNc(8,ar,1,0,"mat-spinner",5)),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),h.xp6(2),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.addAuth),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",e.loading))},directives:[o.O5,Ta.t,b.lW,fa.L,Kn.C,T.$g],pipes:[_.X$],styles:[""]}),t})();var nr=i(72920),rr=i(76527),lr=i(42473),cr=i(77968),ur=i(22927),pr=i(79472),dr=i(64359),gr=i(75374),hr=i(95142),mr=i(48666);function Ar(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAdd()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Ir(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Tr(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function fr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("selection",t.selection)}}let Er=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.authResolver=n,this.groupService=r,this.extSources=[],this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.refreshTable()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getGroupExtSources(this.groupId).subscribe(t=>{this.extSources=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}onAdd(){const t=(0,c.kZ)();t.width="1000px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(Hs,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,c.kZ)();t.width="600px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(an,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.KG),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.ff))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,Ar,3,3,"button",2),h.YNc(6,Ir,3,4,"button",3),h.TgZ(7,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(8,Tr,1,0,"mat-spinner",5),h.YNc(9,fr,1,5,"app-ext-sources-list",6),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,ks.D],pipes:[_.X$],styles:[""]}),t})();function Zr(t,e){1&t&&h._UZ(0,"th",9)}function br(t,e){if(1&t&&(h.TgZ(0,"td",10),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t,": ")}}function _r(t,e){1&t&&h._UZ(0,"th",9)}function Sr(t,e){if(1&t&&(h.TgZ(0,"td",11),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.hij(" ",i.statistics.get(t.toLowerCase())," ")}}function Nr(t,e){1&t&&h._UZ(0,"tr",12)}let Or=(()=>{class t{constructor(){this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}ngOnInit(){this.dataSource=new st.by(this.rowNames)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"mat-card",0),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",1),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content"),h.TgZ(7,"table",2),h.ynx(8,3),h.YNc(9,Zr,1,0,"th",4),h.YNc(10,br,2,1,"td",5),h.BQk(),h.ynx(11,6),h.YNc(12,_r,1,0,"th",4),h.YNc(13,Sr,2,1,"td",7),h.BQk(),h.YNc(14,Nr,1,0,"tr",8),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.xp6(4),h.Oqu(h.lcZ(5,3,e.title)),h.xp6(3),h.Q6J("dataSource",e.dataSource),h.xp6(7),h.Q6J("matRowDefColumns",e.displayedColumns))},directives:[lt.a8,lt.dk,lt.n5,lt.dn,st.BZ,st.w1,st.fO,st.Dz,st.nj,st.ge,st.ev,st.Gk],pipes:[_.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t})();function vr(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function xr(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-statistics-card",4),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("rowNames",t.rowNames)("statistics",t.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}let Cr=(()=>{class t{constructor(t,e){this.voService=t,this.route=e,this.loading=!1,this.dataSource=new st.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.dataSource=new st.by(this.rowNames),this.voService.getVoMembersCountsByStatus(this.voId).subscribe(t=>{this.allMembersCount=0;for(const e of Object.keys(t))this.membersCount.set(e.toLowerCase(),t[e]),this.allMembersCount+=t[e];this.membersCount.set("members",this.allMembersCount),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.YF),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,vr,1,0,"mat-spinner",1),h.YNc(4,xr,2,3,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,3,"VO_DETAIL.STATISTICS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Or],pipes:[_.X$],styles:[""]}),t})();function Lr(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function Rr(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-statistics-card",4),h._UZ(2,"app-statistics-card",4),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("rowNames",t.voStatusCountsRowNames)("statistics",t.membersCountsByVoStatus)("title","GROUP_DETAIL.STATISTICS.VO_STATUS_COUNT"),h.xp6(1),h.Q6J("rowNames",t.groupStatusCountsRowNames)("statistics",t.membersCountsByGroupStatus)("title","GROUP_DETAIL.STATISTICS.GROUP_STATUS_COUNT")}}let Mr=(()=>{class t{constructor(t,e){this.route=t,this.groupService=e,this.loading=!1,this.voStatusCountsRowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCountsByVoStatus=new Map,this.groupStatusCountsRowNames=["Members","Valid","Expired"],this.membersCountsByGroupStatus=new Map}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.groupService.getGroupMembersCount(this.groupId).subscribe(t=>{this.membersCountsByVoStatus.set("members",t),this.membersCountsByGroupStatus.set("members",t),this.groupService.getGroupMembersCountsByVoStatus(this.groupId).subscribe(t=>{Object.entries(t).forEach(([t,e])=>this.membersCountsByVoStatus.set(t.toLowerCase(),e)),this.groupService.getGroupMembersCountsByGroupStatus(this.groupId).subscribe(t=>{Object.entries(t).forEach(([t,e])=>this.membersCountsByGroupStatus.set(t.toLowerCase(),e)),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,Lr,1,0,"mat-spinner",1),h.YNc(4,Rr,3,6,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,3,"GROUP_DETAIL.STATISTICS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Or],pipes:[_.X$],styles:[""]}),t})();var Dr=i(91058);function Ur(t,e){1&t&&h._UZ(0,"mat-spinner",6)}const qr=function(){return["select","id","name","description"]};function wr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h.TgZ(1,"perun-web-apps-debounce-filter",8),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-groups-list",9),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.s9C("placeholder",h.lcZ(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),h.xp6(2),h.Q6J("pageSize",t.pageSize)("groups",t.unAssignedGroups)("selection",t.selection)("filter",t.filterValue)("displayedColumns",h.DdM(10,qr))("disableRouting",!0)("disableMembers",!0)}}let Pr=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.groupService=i,this.registrarService=o,this.tableConfigService=a,this.loading=!1,this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.Is}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.groupService.getAllGroups(this.data.voId).subscribe(t=>{this.unAssignedGroups=t.filter(t=>this.data.assignedGroups.indexOf(t.id)<=-1),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.registrarService.addGroupsToAutoRegistration(this.selection.selected.map(t=>t.id)).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.ff),h.Y36(l.tk),h.Y36(Ia.dB))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-group-to-registration"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ur,1,0,"mat-spinner",1),h.YNc(5,wr,4,11,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onAdd()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("disabled",0===e.selection.selected.length||e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Dr.P,un.W],pipes:[_.X$],styles:[""]}),t})();const Gr=["list"];function yr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAddGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.ADD"),"\n"))}function Yr(t,e){1&t&&h._UZ(0,"mat-spinner",10)}const Jr=function(){return["select","id","name","description"]};function Vr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",11,12),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("selection",t.selected)("pageSize",t.pageSize)("displayedColumns",h.DdM(7,Jr))("disableRouting",!0)("filter",t.filterValue)("authType","application-form-manage-groups")("groups",t.groups)}}let Fr=(()=>{class t{constructor(t,e,i,o,a){this.tableConfigService=t,this.registrarService=e,this.authResolver=i,this.dialog=o,this.route=a,this.groups=[],this.selected=new la.Ov(!0,[]),this.tableId=Ia.CE,this.filterValue=""}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.loadGroups()})}loadGroups(){this.loading=!0,this.registrarService.getGroupsToAutoRegistration(this.voId).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}onAddGroup(){const t=(0,c.kZ)();t.width="900px",t.data={voId:this.voId,assignedGroups:this.groups.map(t=>t.id),theme:"vo-theme"},this.dialog.open(Pr,t).afterClosed().subscribe(t=>{t&&this.loadGroups()})}removeGroup(){const t=(0,c.kZ)();t.width="450px",t.data={items:this.selected.selected.map(t=>t.name),title:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_TITLE",description:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_DESCRIPTION",theme:"vo-theme"},this.dialog.open(d.Tf,t).afterClosed().subscribe(t=>{t&&this.registrarService.deleteGroupsFromAutoRegistration(this.selected.selected.map(t=>t.id)).subscribe(()=>{this.loadGroups()})})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[{id:this.voId,beanName:"Vo"}])}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(Ia.dB),h.Y36(l.tk),h.Y36(u.x4),h.Y36(A.uw),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){if(1&t&&h.Gf(Gr,5),2&t){let t;h.iGM(t=h.CRH())&&(e.list=t.first)}},decls:17,vars:22,consts:[[1,"page-subtitle"],[3,"alert_type"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"app-alert",1),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"perun-web-apps-refresh-button",2),h.NdJ("refresh",function(){return e.loadGroups()}),h.qZA(),h.YNc(8,yr,3,3,"button",3),h.TgZ(9,"span",4),h.ALo(10,"translate"),h.TgZ(11,"button",5),h.NdJ("click",function(){return e.removeGroup()}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.qZA(),h.TgZ(14,"perun-web-apps-immediate-filter",6),h.NdJ("filter",function(t){return e.filterValue=t}),h.qZA(),h.YNc(15,Yr,1,0,"mat-spinner",7),h.YNc(16,Vr,2,8,"perun-web-apps-groups-list",8)),2&t&&(h.xp6(1),h.AsE(" ",h.lcZ(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",h.lcZ(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),h.xp6(3),h.Q6J("alert_type","info"),h.xp6(1),h.hij(" ",h.lcZ(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),h.xp6(2),h.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[pt.w,Ta.t,o.O5,E.gM,b.lW,fa.L,T.$g,un.W],pipes:[_.X$],styles:[""]}),t})();var Qr=i(53134),kr=i(47701),zr=i(90611),Br=i(44689),Hr=i(85250),jr=i(4252);function $r(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function Xr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function Wr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function Kr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function tl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function el(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function il(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function ol(t,e){if(1&t&&(h.TgZ(0,"mat-option",37),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function al(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function sl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function nl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function rl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function ll(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function cl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_WEAK")))}function ul(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_SHORT")))}function pl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function dl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_DONT_MATCH")))}function gl(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function hl(t,e){if(1&t&&(h.TgZ(0,"span",43),h._uU(1),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.hij("#",t.id,"")}}function ml(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-list-item"),h.TgZ(1,"p",38),h._uU(2),h.ALo(3,"userFullName"),h.YNc(4,hl,2,1,"span",39),h.TgZ(5,"span",40),h.ALo(6,"translate"),h.TgZ(7,"button",41),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw(2).removeUser(e)}),h.TgZ(8,"mat-icon",42),h._uU(9,"close"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(2),h.hij("",h.lcZ(3,5,t.user)," "),h.xp6(2),h.Q6J("ngIf",t.id),h.xp6(1),h.Q6J("matTooltipDisabled",i.assignedMembers.length>1)("matTooltip",h.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),h.xp6(2),h.Q6J("disabled",1===i.assignedMembers.length)}}function Al(t,e){1&t&&h._UZ(0,"mat-spinner",44)}const Il=function(){return["checkbox","id","fullName"]};function Tl(t,e){if(1&t&&h._UZ(0,"perun-web-apps-members-list",47),2&t){const t=h.oxw(3);h.Q6J("disableRouting",!0)("displayedColumns",h.DdM(5,Il))("members",t.members)("pageSize",t.pageSize)("selection",t.selection)}}function fl(t,e){1&t&&(h.TgZ(0,"app-alert",48),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.Q6J("alert_type","info"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function El(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Tl,1,6,"perun-web-apps-members-list",45),h.YNc(2,fl,3,4,"app-alert",46),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("ngIf",t.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!t.firstSearchDone)}}function Zl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",4),h.TgZ(1,"mat-stepper",5),h.TgZ(2,"mat-step",6),h.TgZ(3,"form",7),h.YNc(4,$r,2,3,"ng-template",8),h.TgZ(5,"div",9),h.TgZ(6,"mat-form-field"),h.TgZ(7,"mat-label"),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._UZ(10,"input",10),h.YNc(11,Xr,3,3,"mat-error",11),h.qZA(),h.TgZ(12,"mat-form-field"),h.TgZ(13,"mat-label"),h._uU(14),h.ALo(15,"translate"),h.qZA(),h._UZ(16,"input",12),h.YNc(17,Wr,3,3,"mat-error",11),h.YNc(18,Kr,3,3,"mat-error",11),h.qZA(),h.TgZ(19,"mat-form-field"),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h._UZ(23,"input",13),h.YNc(24,tl,3,3,"mat-error",11),h.qZA(),h.TgZ(25,"mat-form-field"),h.TgZ(26,"mat-label"),h._uU(27),h.ALo(28,"translate"),h.qZA(),h._UZ(29,"input",14),h.YNc(30,el,3,3,"mat-error",11),h.qZA(),h.qZA(),h.qZA(),h.TgZ(31,"div",15),h.TgZ(32,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.TgZ(35,"button",17),h._uU(36),h.ALo(37,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(38,"mat-step",6),h.TgZ(39,"form",7),h.YNc(40,il,2,3,"ng-template",8),h.TgZ(41,"div",9),h.TgZ(42,"mat-form-field"),h.TgZ(43,"mat-label"),h._uU(44),h.ALo(45,"translate"),h.qZA(),h.TgZ(46,"mat-select",18),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().onNamespaceChanged(e)}),h.YNc(47,ol,2,2,"mat-option",19),h.qZA(),h.qZA(),h.TgZ(48,"mat-form-field",20),h.ALo(49,"translate"),h.TgZ(50,"mat-label"),h._uU(51),h.ALo(52,"translate"),h.qZA(),h._UZ(53,"input",21),h.YNc(54,al,3,3,"mat-error",11),h.YNc(55,sl,3,3,"mat-error",11),h.YNc(56,nl,3,3,"mat-error",11),h.YNc(57,rl,3,3,"mat-error",11),h.YNc(58,ll,3,3,"mat-error",11),h.qZA(),h.TgZ(59,"mat-radio-group",22),h.NdJ("ngModelChange",function(){return h.CHM(t),h.oxw().passwordOptionChanged()}),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",23),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.TgZ(64,"mat-radio-button",23),h._uU(65),h.ALo(66,"translate"),h.qZA(),h.qZA(),h.TgZ(67,"div",9),h.TgZ(68,"mat-form-field",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),h.TgZ(69,"mat-label"),h._uU(70),h.ALo(71,"translate"),h.qZA(),h._UZ(72,"input",25),h.YNc(73,cl,3,3,"mat-error",11),h.YNc(74,ul,3,3,"mat-error",11),h.qZA(),h.TgZ(75,"mat-form-field",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),h.TgZ(76,"mat-label"),h._uU(77),h.ALo(78,"translate"),h.qZA(),h._UZ(79,"input",26),h.YNc(80,pl,3,3,"mat-error",11),h.YNc(81,dl,3,3,"mat-error",11),h.qZA(),h.TgZ(82,"p",27),h._uU(83),h.ALo(84,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(85,"div",15),h.TgZ(86,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(87),h.ALo(88,"translate"),h.qZA(),h.TgZ(89,"button",28),h._uU(90),h.ALo(91,"translate"),h.qZA(),h.TgZ(92,"button",29),h._uU(93),h.ALo(94,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(95,"mat-step"),h.YNc(96,gl,2,3,"ng-template",8),h.TgZ(97,"h6"),h._uU(98),h.ALo(99,"translate"),h.qZA(),h.TgZ(100,"mat-list"),h.YNc(101,ml,10,9,"mat-list-item",30),h.qZA(),h.TgZ(102,"h6",31),h._uU(103),h.ALo(104,"translate"),h.qZA(),h.TgZ(105,"mat-form-field",32),h.TgZ(106,"input",33),h.NdJ("keyup.enter",function(){h.CHM(t);const e=h.oxw();return 0!==e.searchCtrl.value.length&&e.onSearchByString()}),h.ALo(107,"translate"),h.qZA(),h.qZA(),h.TgZ(108,"button",34),h.NdJ("click",function(){return h.CHM(t),h.oxw().onSearchByString()}),h.TgZ(109,"mat-icon"),h._uU(110,"search"),h.qZA(),h.qZA(),h.TgZ(111,"button",35),h.NdJ("click",function(){return h.CHM(t),h.oxw().addUsers()}),h._uU(112),h.ALo(113,"translate"),h.qZA(),h.YNc(114,Al,1,0,"mat-spinner",3),h.YNc(115,El,3,2,"div",11),h.TgZ(116,"div",15),h.TgZ(117,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(118),h.ALo(119,"translate"),h.qZA(),h.TgZ(120,"button",28),h._uU(121),h.ALo(122,"translate"),h.qZA(),h.TgZ(123,"button",36),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCreate()}),h._uU(124),h.ALo(125,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(1),h.Q6J("stepControl",t.firstFormGroup),h.xp6(1),h.Q6J("formGroup",t.firstFormGroup),h.xp6(5),h.Oqu(h.lcZ(9,66,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),h.xp6(3),h.Q6J("ngIf",t.firstFormGroup.get("nameCtrl").hasError("required")),h.xp6(3),h.Oqu(h.lcZ(15,68,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),h.xp6(3),h.Q6J("ngIf",t.firstFormGroup.get("emailCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("emailCtrl").hasError("pattern")),h.xp6(3),h.Oqu(h.lcZ(22,70,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),h.xp6(2),h.Q6J("required",!!t.firstFormGroup.get("issuerCtrl").value&&0!==t.firstFormGroup.get("issuerCtrl").value.trim().length),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("subjectCtrl").hasError("required")),h.xp6(3),h.Oqu(h.lcZ(28,72,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),h.xp6(2),h.Q6J("required",!!t.firstFormGroup.get("subjectCtrl").value&&0!==t.firstFormGroup.get("subjectCtrl").value.trim().length),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("issuerCtrl").hasError("required")),h.xp6(3),h.hij(" ",h.lcZ(34,74,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",t.firstFormGroup.invalid||t.firstFormGroup.pending),h.xp6(1),h.hij(" ",h.lcZ(37,76,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),h.xp6(2),h.Q6J("stepControl",t.secondFormGroup),h.xp6(1),h.Q6J("formGroup",t.secondFormGroup),h.xp6(5),h.Oqu(h.lcZ(45,78,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),h.xp6(3),h.Q6J("ngForOf",t.passwordNamespaces),h.xp6(1),h.s9C("matTooltip",h.lcZ(49,80,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",t.secondFormGroup.get("loginCtrl").enabled),h.xp6(3),h.Oqu(h.lcZ(52,82,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),h.xp6(3),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("loginExists")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("pattern")&&!t.secondFormGroup.get("loginCtrl").hasError("minlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("maxlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("minlength")),h.xp6(1),h.s9C("matTooltip",h.lcZ(60,84,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),h.Q6J("matTooltipDisabled","Not selected"!==t.secondFormGroup.get("namespaceCtrl").value),h.xp6(2),h.Q6J("checked",t.secondFormGroup.get("generatePasswordCtrl").value&&t.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),h.xp6(1),h.hij(" ",h.lcZ(63,86,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),h.xp6(2),h.Q6J("checked",!t.secondFormGroup.get("generatePasswordCtrl").value&&t.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),h.xp6(1),h.hij(" ",h.lcZ(66,88,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),h.xp6(2),h.ekj("input-disabled",t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(3),h.Oqu(h.lcZ(71,90,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD")),h.xp6(2),h.Q6J("required",!t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordCtrl").hasError("isWeak")&&!t.secondFormGroup.get("passwordCtrl").hasError("minlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordCtrl").hasError("minlength")),h.xp6(3),h.Oqu(h.lcZ(78,92,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_AGAIN")),h.xp6(2),h.Q6J("required",!t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordAgainCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),h.xp6(2),h.Oqu(h.lcZ(84,94,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_INFO")),h.xp6(4),h.hij(" ",h.lcZ(88,96,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(91,98,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),h.xp6(2),h.Q6J("disabled",t.secondFormGroup.invalid||t.secondFormGroup.pending),h.xp6(1),h.hij(" ",h.lcZ(94,100,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),h.xp6(5),h.Oqu(h.lcZ(99,102,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),h.xp6(3),h.Q6J("ngForOf",t.assignedMembers),h.xp6(2),h.Oqu(h.lcZ(104,104,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),h.xp6(3),h.s9C("placeholder",h.lcZ(107,106,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),h.Q6J("formControl",t.searchCtrl),h.xp6(2),h.Q6J("disabled",t.loading||0===t.searchCtrl.value.length),h.xp6(3),h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.Oqu(h.lcZ(113,108,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")),h.xp6(2),h.Q6J("ngIf",t.loading),h.xp6(1),h.Q6J("ngIf",!t.loading),h.xp6(3),h.hij(" ",h.lcZ(119,110,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(122,112,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),h.xp6(2),h.Q6J("disabled",t.firstFormGroup.invalid||"Not selected"!==t.secondFormGroup.get("namespaceCtrl").value&&t.secondFormGroup.invalid),h.xp6(1),h.Oqu(h.lcZ(125,114,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE"))}}function bl(t,e){1&t&&h._UZ(0,"mat-spinner",44)}let _l=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.usersManagerService=o,this.notificator=a,this.translate=s,this.store=n,this._formBuilder=r,this.tableConfigService=l,this.passwordNamespaces=[],this.firstSearchDone=!1,this.searchCtrl=new he.NI(""),this.members=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(t=>this.successMessageMember=t),s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(t=>this.successMessagePwd=t)}ngOnInit(){this.firstFormGroup=this._formBuilder.group({nameCtrl:["",he.kI.required],emailCtrl:["",[he.kI.required,he.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[he.kI.pattern("^[a-z][a-z0-9_-]+$"),he.kI.maxLength(15),he.kI.minLength(2)]],passwordCtrl:["",he.kI.compose([c.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),he.kI.minLength(10)])],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validator:c.dN.passwordMatchValidator}),this.onNamespaceChanged("Not selected"),this.passwordNamespaces=["Not selected"].concat(this.store.get("password_namespace_attributes").map(t=>t.split(":")[6].toUpperCase())),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(t.id).subscribe(e=>{let i={};for(const t of e)t.voId===this.data.voId&&(i=t);i.user=t,this.assignedMembers.push(i)})}existingLoginValidator(){return t=>{let e=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return e="not selected"===e?"mu":e,t.valueChanges.pipe((0,kr.b)(500),(0,zr.q)(1),(0,Br.w)(()=>this.usersManagerService.isLoginAvailable(e,t.value).pipe((0,Gn.U)(t=>t?null:{loginExists:!0}))))}}onCreate(){this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value,"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes[`urn:perun:user:attribute-def:def:login-namespace:${this.secondFormGroup.get("namespaceCtrl").value.toLowerCase()}`]=this.secondFormGroup.get("loginCtrl").value);const t=this.firstFormGroup.get("subjectCtrl");t&&t.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=t.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509"),this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(t=>t.user),candidate:this.candidate}).subscribe(t=>{this.membersManagerService.validateMemberAsync(t.id).subscribe(t=>{this.notificator.showSuccess(this.successMessageMember),"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value?this.setPassword(t,this.secondFormGroup.get("generatePasswordCtrl").value):(this.dialogRef.close(!0),this.processing=!1)},()=>this.processing=!1)},()=>this.processing=!1)}setPassword(t,e){const i=this.secondFormGroup.get("loginCtrl").value,o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),a=this.secondFormGroup.get("passwordCtrl").value;e?this.usersManagerService.reserveRandomPassword(t.userId,o).subscribe(()=>{this.usersManagerService.validatePasswordForUser(t.userId,o).subscribe(()=>{this.validateMember(t.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)}):this.usersManagerService.reservePasswordForLogin(i,o,a).subscribe(()=>{this.usersManagerService.validatePasswordForLogin(i,o).subscribe(()=>{this.validateMember(t.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}validateMember(t){this.membersManagerService.validateMemberAsync(t).subscribe(()=>{this.notificator.showSuccess(this.successMessagePwd),this.dialogRef.close(!0),this.processing=!1},()=>{this.processing=!1,this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(t=>{this.members=t.filter(t=>!t.user.specificUser),this.firstSearchDone=!0,this.loading=!1})}addUsers(){const t=this.assignedMembers.map(t=>t.id);this.selection.selected.forEach(e=>{t.includes(e.id)||this.assignedMembers.push(e)}),this.selection.clear()}removeUser(t){this.assignedMembers=this.assignedMembers.filter(e=>e.id!==t.id)}onNamespaceChanged(t){const e=this.secondFormGroup.get("loginCtrl"),i=this.secondFormGroup.get("passwordCtrl"),o=this.secondFormGroup.get("passwordAgainCtrl"),a=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==t){const t=[he.kI.required,he.kI.pattern("^[a-z][a-z0-9_-]+$"),he.kI.maxLength(15),he.kI.minLength(2)];(0,c.mH)(e,t,[this.existingLoginValidator()]),(0,c.mH)(a,[]),this.passwordOptionChanged()}else e.disable(),e.setValue(""),i.disable(),i.setValue(""),o.disable(),o.setValue(""),a.disable(),a.dirty||a.setValue(!0)}passwordOptionChanged(){const t=this.secondFormGroup.get("passwordCtrl"),e=this.secondFormGroup.get("passwordAgainCtrl");if(this.secondFormGroup.get("generatePasswordCtrl").value)t.disable(),t.setValue(""),e.disable(),e.setValue("");else{const i=[he.kI.required,c.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),he.kI.minLength(10)];(0,c.mH)(t,i),(0,c.mH)(e,[])}}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.uq),h.Y36(l.Fv),h.Y36(u.V6),h.Y36(_.sK),h.Y36(u.d6),h.Y36(he.qu),h.Y36(Ia.dB))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-create-service-member-dialog"]],decls:6,vars:5,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-auto",3,"disabled"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltipDisabled","matTooltip"],["formControlName","loginCtrl","matInput","","required",""],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"click"],["formControlName","passwordCtrl","matInput","","type","password",3,"required"],["formControlName","passwordAgainCtrl","matInput","","type","password",3,"required"],[1,"white-space-pre"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","pageSize","selection",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"disableRouting","displayedColumns","members","pageSize","selection"],[3,"alert_type"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Zl,126,116,"div",2),h.YNc(5,bl,1,0,"mat-spinner",3),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),h.xp6(2),h.Q6J("ngIf",!e.processing),h.xp6(1),h.Q6J("ngIf",e.processing))},directives:[o.O5,A.xY,yn.Vq,yn.C0,he._Y,he.JL,he.sg,yn.VY,Te.KE,Te.hX,he.Fj,Ee.Nt,he.JJ,he.u,he.Q7,A.H8,b.lW,yn.Ic,fe.gD,o.sg,E.gM,me.VQ,me.U0,yn.fd,Hr.i$,he.oH,f.Hw,Te.TO,Ze.ey,Hr.Tg,T.$g,jr.O,pt.w],pipes:[_.X$,Rt.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),t})();var Sl=i(4374);function Nl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().createServiceMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"))}function Ol(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function vl(t,e){1&t&&h._UZ(0,"mat-spinner",9)}const xl=function(){return["checkbox","id","type","fullName","status"]};function Cl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-members-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("displayedColumns",h.DdM(5,xl))("filter",t.searchString)("members",t.members)("pageSize",t.pageSize)("selection",t.selection)}}const Ll=[{path:"",component:s.Y},{path:":voId",component:at,children:[{path:"",component:H,data:{animation:"VoOverviewPage"}},{path:"attributes",component:ce,data:{animation:"VoAttributesPage"}},{path:"groups",component:j.G,data:{animation:"VoGroupsPage"}},{path:"members",component:$.y,data:{animation:"VoMembersPage"}},{path:"resources",component:se,children:[{path:"",component:sa,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:na.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:ra.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:Na,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ne.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:Ci,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:mr.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:(()=>{class t{constructor(t,e,i,o,a,s){this.membersManager=t,this.route=e,this.dialog=i,this.authResolver=o,this.tableConfigService=a,this.authzService=s,this.members=[],this.selection=new la.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=Ia._c}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.refresh()}),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[{beanName:"",id:this.voId}])}createServiceMember(){const t=(0,c.kZ)();t.width="750px",t.data={voId:this.voId},this.dialog.open(_l,t).afterClosed().subscribe(t=>{t&&this.refresh()})}onRemoveMembers(){const t=(0,c.kZ)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(Sl.X,t).afterClosed().subscribe(t=>{t&&(this.refresh(),this.selection.clear())})}applyFilter(t){this.searchString=t}refresh(){this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.voId,[null],"(Service)").subscribe(t=>{this.members=t,this.loading=!1})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.uq),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.x4),h.Y36(Ia.dB),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-service-members"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","filter","members","pageSize","selection","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filter","members","pageSize","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refresh()}),h.qZA(),h.YNc(4,Nl,3,3,"button",2),h.YNc(5,Ol,3,4,"button",3),h.TgZ(6,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(7,vl,1,0,"mat-spinner",5),h.YNc(8,Cl,1,6,"perun-web-apps-members-list",6)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),h.xp6(3),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,jr.O],pipes:[_.X$],styles:[""]}),t})(),data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:Cr,data:{animation:"VoStatisticsPage"}},{path:"settings",component:re,children:[{path:"",component:de,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:Pe,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:Je,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:Bi.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Qo,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Fr},{path:"notifications",component:Ds,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:cn,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:Q,children:[{path:"",component:Xt,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:aa,data:{animation:"MemberAttributesPage"}},{path:"groups",component:Wt.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:wn,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Ci,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:sr,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:w,children:[{path:"",component:oe,data:{animation:"GroupOverviewPage"}},{path:"members",component:Li.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:ae.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Ge.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ri.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Fi,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:Mr,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:Mi,children:[{path:"",component:zi,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:va,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Ca,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:Us.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Qo},{path:"notifications",component:Qs,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:vn,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:Er,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Ci,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:nr.b,children:[{path:"",component:rr.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:lr.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:gr.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:pr.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:hr.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Qr.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:cr.t,children:[{path:"",component:ur.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:dr.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let Rl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[a.Bz.forChild(Ll)],a.Bz]}),t})();var Ml=i(28780),Dl=i(22727),Ul=i(22280);let ql=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[o.ez,Rl,Ml.m,Dl.r,bn.ez,Ul.d4,c.Je]]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/427-es2015.e77dcafd30825535e3e2.js b/dist/apps/admin-gui/427-es2015.e77dcafd30825535e3e2.js new file mode 100644 index 000000000..29a401253 --- /dev/null +++ b/dist/apps/admin-gui/427-es2015.e77dcafd30825535e3e2.js @@ -0,0 +1 @@ +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[427],{67427:function(t,e,i){"use strict";i.r(e),i.d(e,{VosModule:function(){return ql}});var o=i(61511),a=i(57629),s=i(17249),n=i(75585),r=i(17),l=i(33642),c=i(84140),u=i(88426),p=i(67004),d=i(61189),g=i(43491),h=i(31572),m=i(48958),A=i(84608),I=i(66297),T=i(67806),f=i(43691),E=i(36922),Z=i(21575),b=i(15980),_=i(48160),S=i(44385),N=i(52984),O=i(51392);function v(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function x(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).editGroup()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function C(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).deleteGroup()}),h.TgZ(1,"mat-icon"),h._uU(2,"delete_forever"),h.qZA(),h.qZA()}}function L(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(3).onSyncDetail()}),h.ALo(1,"groupSyncIcon"),h.TgZ(2,"mat-icon"),h.ALo(3,"groupSyncIconColor"),h._uU(4),h.ALo(5,"groupSyncIcon"),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.Q6J("disabled","sync_disabled"===h.lcZ(1,5,t.group)),h.xp6(2),h.Tol(h.lcZ(3,7,t.group)),h.xp6(2),h.hij(" ",h.lcZ(5,9,t.group)," ")}}function R(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"span",15),h.ALo(4,"translate"),h.ALo(5,"groupSyncToolTip"),h.YNc(6,L,6,11,"button",16),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.hij(" , ",h.lcZ(2,4,"GROUP_DETAIL.SYNCHRONIZATION"),": "),h.xp6(2),h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(4,6,h.lcZ(5,8,t.group))),h.xp6(3),h.Q6J("ngIf",t.syncAuth)}}const M=function(){return{color:"black"}},D=function(t,e){return["/organizations",t,"groups",e]},U=function(t){return["/organizations",t]};function q(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.YNc(10,x,3,0,"button",10),h.YNc(11,C,3,0,"button",11),h.qZA(),h.TgZ(12,"div"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"span",12),h._uU(16),h.ALo(17,"translate"),h.ALo(18,"translate"),h.TgZ(19,"a",8),h._uU(20),h.qZA(),h._uU(21),h.ALo(22,"translate"),h.YNc(23,R,7,10,"span",2),h.qZA(),h.qZA(),h.qZA(),h._UZ(24,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,16,"GROUP_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(26,M)),h.xp6(4),h.Q6J("routerLink",h.WLB(27,D,t.vo.id,t.group.id)),h.xp6(1),h.hij(" ",t.group.shortName," "),h.xp6(2),h.hij(" \xa0#",t.group.id," "),h.xp6(1),h.Q6J("ngIf","members"!==t.group.name&&t.editAuth),h.xp6(1),h.Q6J("ngIf","members"!==t.group.name&&t.deleteAuth),h.xp6(2),h.AsE(" ",h.lcZ(14,18,"GROUP_DETAIL.UUID"),": ",t.group.uuid," "),h.xp6(3),h.AsE(" ",h.lcZ(17,20,"GROUP_DETAIL.ENTITY"),", ",h.lcZ(18,22,"GROUP_DETAIL.VO_NAME"),": "),h.xp6(3),h.Q6J("routerLink",h.VKq(30,U,t.vo.id)),h.xp6(1),h.Oqu(t.vo.name),h.xp6(1),h.AsE(", ",h.lcZ(22,24,"GROUP_DETAIL.DESCRIPTION"),": ",t.group.description," "),h.xp6(2),h.Q6J("ngIf",t.syncEnabled)}}let P=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.sideMenuService=t,this.voService=e,this.route=i,this.sideMenuItemService=o,this.groupService=a,this.dialog=s,this.guiAuthResolver=n,this.router=r,this.editAuth=!1,this.deleteAuth=!1,this.loading=!1,this.syncAuth=!1,this.syncEnabled=!1,this.attrNames=[p.r.GROUP_SYNC_ENABLED,p.r.GROUP_LAST_SYNC_STATE,p.r.GROUP_LAST_SYNC_TIMESTAMP,p.r.GROUP_STRUCTURE_SYNC_ENABLED,p.r.GROUP_LAST_STRUCTURE_SYNC_STATE,p.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.groupId;this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.groupService.getGroupById(e).subscribe(i=>{this.group=i,(0,c.sF)("groups",this.group),(0,c.XI)(this.group,t.name),this.guiAuthResolver.isAuthorized("getRichGroupByIdWithAttributesByNames_int_List_policy",[this.group])?this.groupService.getRichGroupByIdWithAttributesByNames(e,this.attrNames).subscribe(t=>{this.group=t,this.syncEnabled=this.isSynchronized(),this.syncAuth=this.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group])},()=>this.loading=!1):this.syncEnabled=!1,this.editAuth=this.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.group]);const o=this.sideMenuItemService.parseVo(t),a=this.sideMenuItemService.parseGroup(i);this.sideMenuService.setAccessMenuItems([o,a]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}isSynchronized(){return this.group.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}onSyncDetail(){const t=(0,c.kZ)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(d.Bp,t)}editGroup(){const t=(0,c.kZ)();t.width="450px",t.data={theme:"group-theme",group:this.group,dialogType:d.Eg.GROUP},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.groupService.getGroupById(this.group.id).subscribe(t=>{this.group=t})})}deleteGroup(){const t=(0,c.kZ)();t.width="500px",t.data={theme:"group-theme",groups:[this.group]},this.dialog.open(g.P,t).afterClosed().subscribe(t=>{t&&this.router.navigate(["../"],{relativeTo:this.route})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(n.V),h.Y36(l.ff),h.Y36(A.uw),h.Y36(u.x4),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,v,1,0,"mat-spinner",1),h.YNc(3,q,25,32,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A,b.lW],pipes:[_.X$,S.r,N.J,O.F],styles:[""],data:{animation:[r.Ji]}}),t})();function w(t,e){1&t&&h._UZ(0,"mat-spinner",3)}const G=function(t){return["/admin","users",t]};function y(t,e){if(1&t&&(h.TgZ(0,"a",8),h._uU(1),h.qZA()),2&t){const t=h.oxw(2);h.Q6J("routerLink",h.VKq(2,G,t.member.userId)),h.xp6(1),h.hij(" ",t.member.userId," ")}}function Y(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Oqu(t.member.userId)}}const J=function(){return{color:"black"}},V=function(t,e){return["/organizations",t,"members",e]};function F(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.qZA(),h.TgZ(10,"span",10),h._uU(11),h.ALo(12,"translate"),h.ALo(13,"translate"),h.YNc(14,y,2,4,"a",11),h.YNc(15,Y,2,1,"span",2),h.qZA(),h.qZA(),h.qZA(),h._UZ(16,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(15,J)),h.xp6(4),h.Q6J("routerLink",h.WLB(16,V,t.vo.id,t.member.id)),h.xp6(1),h.hij(" ",t.fullName," "),h.xp6(2),h.hij(" \xa0#",t.member.id," "),h.xp6(2),h.AsE(" ",h.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",h.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),h.xp6(3),h.Q6J("ngIf",t.isAuthorized),h.xp6(1),h.Q6J("ngIf",!t.isAuthorized)}}let Q=(()=>{class t{constructor(t,e,i,o,a,s,n){this.sideMenuItemService=t,this.translate=e,this.sideMenuService=i,this.membersService=o,this.voService=a,this.route=s,this.authResolver=n,this.fullName="",this.isAuthorized=!1,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{const e=t.voId,i=t.memberId;this.isAuthorized=this.authResolver.isPerunAdminOrObserver(),this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.membersService.getRichMemberWithAttributes(i).subscribe(t=>{this.member=t;const e=this.sideMenuItemService.parseVo(this.vo),i=this.sideMenuItemService.parseMember(this.member,this.vo);this.fullName=i.label,this.sideMenuService.setAccessMenuItems([e,i]),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(n.V),h.Y36(_.sK),h.Y36(m.D),h.Y36(l.uq),h.Y36(l.YF),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,w,1,0,"mat-spinner",1),h.YNc(3,F,17,19,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A],pipes:[_.X$],styles:[""],data:{animation:[r.Ji]}}),t})();var k=i(8557);function z(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function B(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.navItems)("size","small")}}let H=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.route=i,this.router=o,this.authResolver=a,this.items=[],this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initNavItems(),this.loading=!1},()=>this.loading=!1)})}initNavItems(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/members`,label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups`,label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.vo.id}/resources`,label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.vo.id}/applications`,label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.vo.id}/sponsoredMembers`,label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:`/organizations/${this.vo.id}/serviceAccounts`,label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/attributes`,label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.vo.id}/statistics`,label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.vo.id}/settings`,label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(a.F0),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,z,1,0,"mat-spinner",0),h.YNc(1,B,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var j=i(48002),$=i(28940),X=i(99608);function W(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function K(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).editVo()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function tt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).removeVo()}),h.TgZ(1,"mat-icon"),h._uU(2,"delete_forever"),h.qZA(),h.qZA()}}const et=function(){return{color:"black"}},it=function(t){return["/organizations/",t]};function ot(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",4),h._UZ(2,"mat-icon",5),h.ALo(3,"translate"),h.TgZ(4,"div",6),h.TgZ(5,"div",7),h.TgZ(6,"a",8),h._uU(7),h.qZA(),h.TgZ(8,"span",9),h._uU(9),h.qZA(),h.YNc(10,K,3,0,"button",10),h.YNc(11,tt,3,0,"button",11),h.qZA(),h.TgZ(12,"span",12),h._uU(13),h.ALo(14,"translate"),h.ALo(15,"translate"),h.qZA(),h.qZA(),h.qZA(),h._UZ(16,"app-animated-router-outlet"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,10,"VO_DETAIL.ENTITY")),h.Q6J("ngStyle",h.DdM(16,et)),h.xp6(4),h.Q6J("routerLink",h.VKq(17,it,t.vo.id)),h.xp6(1),h.hij(" ",t.vo.name," "),h.xp6(2),h.hij(" \xa0#",t.vo.id," "),h.xp6(1),h.Q6J("ngIf",t.editAuth),h.xp6(1),h.Q6J("ngIf",t.removeAuth),h.xp6(2),h.lnq(" ",h.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",h.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",t.vo.shortName," ")}}let at=(()=>{class t{constructor(t,e,i,o,a,s,n){this.sideMenuService=t,this.voService=e,this.route=i,this.router=o,this.sideMenuItemService=a,this.dialog=s,this.authResolver=n,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.editAuth=this.authResolver.isAuthorized("updateVo_Vo_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("deleteVo_Vo_policy",[this.vo]);const e=this.sideMenuItemService.parseVo(t);this.sideMenuService.setAccessMenuItems([e]),(0,c.sF)("vos",this.vo),(0,c.XI)(this.vo),this.loading=!1},()=>this.loading=!1)})}editVo(){const t=(0,c.kZ)();t.width="450px",t.data={theme:"vo-theme",vo:this.vo,dialogType:d.Eg.VO},this.dialog.open(d.rd,t).afterClosed().subscribe(t=>{t&&this.voService.getVoById(this.vo.id).subscribe(t=>{this.vo=t})})}removeVo(){const t=(0,c.kZ)();t.width="500px",t.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(X.o,t).afterClosed().subscribe(t=>{t&&this.router.navigate([""])})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(a.gz),h.Y36(a.F0),h.Y36(n.V),h.Y36(A.uw),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h._UZ(1,"perun-web-apps-back-button"),h.YNc(2,W,1,0,"mat-spinner",1),h.YNc(3,ot,17,19,"div",2),h.qZA()),2&t&&(h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&void 0!==e.vo))},directives:[I.W,o.O5,T.$g,f.Hw,E.gM,o.PC,a.yS,Z.A,b.lW],pipes:[_.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[r.Ji]}}),t})();var st=i(67033),nt=i(95121),rt=i(79592),lt=i(27439),ct=i(64737),ut=i(37665),pt=i(39571),dt=i(74842),gt=i(37043),ht=i(73669),mt=i(58506);function At(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-group-search-select",7),h.NdJ("groupSelected",function(e){return h.CHM(t),h.oxw().groupIsSelected(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("groups",t.groups)("firstSelectedGroup",t.selectedGroup)}}function It(t,e){1&t&&h._UZ(0,"mat-spinner",8)}function Tt(t,e){1&t&&(h.TgZ(0,"app-alert",9),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function ft(t,e){1&t&&h._UZ(0,"th",17)}function Et(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t,": ")}}function Zt(t,e){1&t&&h._UZ(0,"th",17)}function bt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",22),h.NdJ("click",function(){return h.CHM(t),h.oxw(4).changeStatus()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function _t(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"i"),h.ALo(2,"memberStatusIconColor"),h._uU(3),h.ALo(4,"memberStatusIcon"),h.qZA(),h.TgZ(5,"b",20),h._uU(6),h.ALo(7,"transformMemberStatus"),h.qZA(),h.YNc(8,bt,3,0,"button",21),h.qZA()),2&t){const t=h.oxw(3);h.xp6(1),h.Gre("material-icons vert-center mr-1 ",h.lcZ(2,6,t.selectedMember.groupStatus),""),h.xp6(2),h.hij(" ",h.lcZ(4,8,t.selectedMember.groupStatus)," "),h.xp6(3),h.hij(" ",h.lcZ(7,10,t.selectedMember.groupStatus)," "),h.xp6(2),h.Q6J("ngIf",t.authResolver.isThisVoAdmin(t.vo.id)||t.authResolver.isThisGroupAdmin(t.selectedGroup.id))}}function St(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",22),h.NdJ("click",function(){return h.CHM(t),h.oxw(4).changeExpiration()}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function Nt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"i",2),h._uU(2),h.ALo(3,"parseDate"),h.qZA(),h.YNc(4,St,3,0,"button",21),h.qZA()),2&t){const t=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,t.expiration)," "),h.xp6(2),h.Q6J("ngIf",t.authResolver.isThisVoAdmin(t.vo.id)||t.authResolver.isThisGroupAdmin(t.selectedGroup.id))}}function Ot(t,e){if(1&t&&(h.TgZ(0,"td",19),h.YNc(1,_t,9,12,"div",6),h.YNc(2,Nt,5,4,"div",6),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Q6J("ngIf","Status"===t),h.xp6(1),h.Q6J("ngIf","Expiration"===t)}}function vt(t,e){1&t&&h._UZ(0,"tr",23)}function xt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"table",10),h.ynx(2,11),h.YNc(3,ft,1,0,"th",12),h.YNc(4,Et,2,1,"td",13),h.BQk(),h.ynx(5,14),h.YNc(6,Zt,1,0,"th",12),h.YNc(7,Ot,3,2,"td",15),h.BQk(),h.YNc(8,vt,1,0,"tr",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("dataSource",t.groupMembershipDataSource),h.xp6(7),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Ct=(()=>{class t{constructor(t,e,i,o){this.groupsManager=t,this.authResolver=e,this.translate=i,this.dialog=o,this.noGroups=!1,this.groupMembershipDataSource=new st.by,this.expiration="",this.displayedColumns=["attName","attValue"]}ngOnChanges(){this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new st.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(t=>{if(this.groups=t,0===this.groups.length)return void(this.noGroups=!0);const e=this.findInitiallySelectedGroupId();this.groupIsSelected(e),this.initLoading=!1})}findInitiallySelectedGroupId(){if(this.recentIds=(0,c.vL)("groups"),this.recentIds){const t=this.groups.find(t=>t.id===this.recentIds[0]);if(t)return t}return this.groups[0]}groupIsSelected(t){this.loading=!0,this.selectedGroup=t,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[p.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(t=>{this.selectedMember=t[0],this.expirationAtt=this.selectedMember.memberAttributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName),this.expirationAtt?(this.groupMembershipDataSource=new st.by(["Status","Expiration"]),this.expiration=this.expirationAtt.value?this.expirationAtt.value:this.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):this.groupMembershipDataSource=new st.by(["Status"]),this.loading=!1})}changeExpiration(t=!1){const e=(0,c.kZ)();e.width="400px",e.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:t},this.dialog.open(d.u3,e).afterClosed().subscribe(t=>{t&&this.groupIsSelected(this.selectedGroup)})}changeStatus(){const t=(0,c.kZ)();t.width="600px",t.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(d.pf,t).afterClosed().subscribe(t=>{t&&(this.selectedMember=t,this.changeExpiration(!0))})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.ff),h.Y36(u.x4),h.Y36(_.sK),h.Y36(A.uw))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[h.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","info"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"mat-card",0),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",1),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content",2),h.YNc(7,At,1,2,"perun-web-apps-group-search-select",3),h.YNc(8,It,1,0,"mat-spinner",4),h.YNc(9,Tt,3,3,"app-alert",5),h.YNc(10,xt,9,2,"div",6),h.qZA(),h.qZA()),2&t&&(h.xp6(4),h.Oqu(h.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),h.xp6(3),h.Q6J("ngIf",!e.initLoading),h.xp6(1),h.Q6J("ngIf",(e.loading||e.initLoading)&&!e.noGroups),h.xp6(1),h.Q6J("ngIf",e.noGroups),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[lt.a8,lt.dk,lt.n5,lt.dn,o.O5,ut.h,T.$g,pt.w,st.BZ,st.w1,st.fO,st.Dz,st.nj,st.ge,st.ev,b.lW,f.Hw,st.Gk],pipes:[_.X$,dt.u,gt.f,ht.r,mt.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),t})(),Lt=(()=>{class t{transform(t){return(0,c.Cz)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=h.Yjl({name:"attributeFriendlyName",type:t,pure:!0}),t})();var Rt=i(22196);function Mt(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function Dt(t,e){1&t&&h._UZ(0,"th",17)}function Ut(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){const t=h.oxw().$implicit,e=h.oxw(2);h.xp6(1),h.hij(" ",e.attributes.get(t)[0],": ")}}function qt(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"attributeFriendlyName"),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,t),": ")}}function Pt(t,e){if(1&t&&(h.TgZ(0,"td",18),h.YNc(1,Ut,2,1,"span",1),h.YNc(2,qt,3,3,"span",1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",null!==i.attributes.get(t)[0]),h.xp6(1),h.Q6J("ngIf",null===i.attributes.get(t)[0])}}function wt(t,e){1&t&&h._UZ(0,"th",17)}function Gt(t,e){if(1&t&&(h.TgZ(0,"td",19),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.hij(" ",i.attributes.get(t)[1]," ")}}function yt(t,e){1&t&&h._UZ(0,"tr",20)}function Yt(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-card",5),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",6),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content",21),h.TgZ(7,"div",22),h.ALo(8,"translate"),h.TgZ(9,"button",23),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).requestPwdReset()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(4),h.Oqu(h.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),h.xp6(3),h.Q6J("matTooltip",h.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",t.logins.length>0),h.xp6(2),h.Q6J("disabled",!t.logins.length),h.xp6(1),h.hij(" ",h.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Jt(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function Vt(t,e){if(1&t&&(h.TgZ(0,"td",33),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,t.user)," ")}}function Ft(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function Qt(t,e){if(1&t&&(h.TgZ(0,"td",33),h.TgZ(1,"span",34),h._uU(2),h.ALo(3,"parseDate"),h.qZA(),h.qZA()),2&t){const t=e.$implicit;h.xp6(2),h.Oqu(h.lcZ(3,1,t.validityTo))}}function kt(t,e){1&t&&h._UZ(0,"tr",35)}function zt(t,e){1&t&&h._UZ(0,"tr",20)}const Bt=function(){return["sponsors","expiration"]};function Ht(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-card-content"),h.TgZ(1,"h6",26),h._uU(2),h.ALo(3,"translate"),h.TgZ(4,"button",27),h.NdJ("click",function(){return h.CHM(t),h.oxw(3).changeSponsors()}),h.TgZ(5,"mat-icon"),h._uU(6,"edit"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"table",28),h.ynx(8,29),h.YNc(9,Jt,3,3,"th",9),h.YNc(10,Vt,3,3,"td",30),h.BQk(),h.ynx(11,31),h.YNc(12,Ft,3,3,"th",9),h.YNc(13,Qt,4,3,"td",30),h.BQk(),h.YNc(14,kt,1,0,"tr",32),h.YNc(15,zt,1,0,"tr",13),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),h.xp6(5),h.Q6J("dataSource",t.sponsorsDataSource),h.xp6(7),h.Q6J("matHeaderRowDef",h.DdM(6,Bt)),h.xp6(1),h.Q6J("matRowDefColumns",h.DdM(7,Bt))}}function jt(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"mat-card",24),h.TgZ(2,"mat-card-header"),h.TgZ(3,"mat-card-title"),h.TgZ(4,"h1",6),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.TgZ(7,"mat-card-subtitle",25),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.qZA(),h.YNc(10,Ht,16,8,"mat-card-content",1),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(5),h.Oqu(h.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),h.xp6(3),h.hij(" ",h.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),h.xp6(2),h.Q6J("ngIf",0!==t.sponsors.length)}}function $t(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",3),h.TgZ(2,"div",4),h.TgZ(3,"mat-card",5),h.TgZ(4,"mat-card-header"),h.TgZ(5,"mat-card-title"),h.TgZ(6,"h1",6),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(9,"mat-card-content"),h.TgZ(10,"table",7),h.ynx(11,8),h.YNc(12,Dt,1,0,"th",9),h.YNc(13,Pt,3,2,"td",10),h.BQk(),h.ynx(14,11),h.YNc(15,wt,1,0,"th",9),h.YNc(16,Gt,2,1,"td",12),h.BQk(),h.YNc(17,yt,1,0,"tr",13),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(18,"div",4),h._UZ(19,"app-member-overview-membership",14),h._UZ(20,"app-member-overview-groups",14),h.qZA(),h.TgZ(21,"div",4),h.YNc(22,Yt,12,11,"mat-card",15),h.YNc(23,jt,11,7,"div",1),h.qZA(),h.qZA(),h.TgZ(24,"div"),h._UZ(25,"perun-web-apps-menu-buttons-field",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(7),h.Oqu(h.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),h.xp6(3),h.Q6J("dataSource",t.dataSource),h.xp6(7),h.Q6J("matRowDefColumns",t.displayedColumns),h.xp6(2),h.Q6J("member",t.member)("vo",t.vo),h.xp6(1),h.Q6J("member",t.member)("vo",t.vo),h.xp6(2),h.Q6J("ngIf",t.pwdResetAuth),h.xp6(1),h.Q6J("ngIf",t.member.sponsored),h.xp6(2),h.Q6J("items",t.navItems)("size","small")}}let Xt=(()=>{class t{constructor(t,e,i,o,a,s,n){this.attributesManager=t,this.membersService=e,this.usersManager=i,this.route=o,this.dialog=a,this.authResolver=s,this.storeService=n,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new st.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new st.by,this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{const e=t.memberId;this.attributeNames=this.storeService.getMemberProfileAttributeNames(),this.membersService.getRichMemberWithAttributes(e).subscribe(t=>{const e=this.storeService.get("password_namespace_attributes").map(t=>(t=t.split(":"))[t.length-1]);this.attributesManager.getLogins(t.userId).subscribe(i=>{this.logins=i.filter(t=>e.includes(t.friendlyNameParameter)),this.member=t,this.initAttributes(),this.dataSource=new st.by(Array.from(this.attributes.keys())),this.vo={id:t.voId,beanName:"Vo"},this.pwdResetAuth=this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[this.vo,this.member]),this.member.sponsored&&this.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[this.member])?this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(t=>{this.sponsors=t,this.sponsorsDataSource=new st.by(this.sponsors),this.initNavItems(),this.refreshData()}):(this.initNavItems(),this.refreshData())},()=>this.loading=!1)})})}initAttributes(){this.attributeNames.forEach(t=>{this.attributes.set(t,[null,"-"])}),this.filterAttributes()}filterAttributes(){null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(t=>{this.attributeNames.includes(t.friendlyName)&&this.attributes.set(t.friendlyName,[t.displayName,t.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(t=>{this.attributeNames.includes(t.friendlyName)&&this.attributes.set(t.friendlyName,[t.displayName,t.value.toString()])})}initNavItems(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.member.voId}/members/${this.member.id}/groups`,label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.member.voId}/members/${this.member.id}/applications`,label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:`/organizations/${this.member.voId}/members/${this.member.id}/resources`,label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.vo.id}/members/${this.member.id}/attributes`,label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}refreshData(){this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(t=>{this.member=t,this.loading=!1},()=>this.loading=!1)}requestPwdReset(){const t=(0,c.kZ)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(nt.m,t)}changeSponsors(){const t=(0,c.kZ)();t.width="650px",t.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(rt.H,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(t=>{this.member=t,this.member.sponsored&&this.usersManager.getSponsorsForMember(this.member.id,null).subscribe(t=>{this.sponsors=t,this.sponsorsDataSource.data=this.sponsors}),this.loading=!1}))})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(l.uq),h.Y36(l.Fv),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.x4),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(t,e){1&t&&(h.YNc(0,Mt,1,0,"mat-spinner",0),h.YNc(1,$t,26,13,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,lt.a8,lt.dk,lt.n5,lt.dn,st.BZ,st.w1,st.fO,st.Dz,st.nj,ct.b,Ct,k.L,st.ge,st.ev,st.Gk,E.gM,b.lW,lt.$j,f.Hw,st.as,st.XQ],pipes:[_.X$,Lt,Rt.d,mt.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),t})();var Wt=i(81835);function Kt(t,e){1&t&&h._UZ(0,"mat-spinner",2)}const te=function(t,e){return["/organizations",t,"groups",e]};function ee(t,e){if(1&t&&(h.TgZ(0,"p"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"a",4),h._uU(4),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.hij(" ",h.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),h.xp6(2),h.Q6J("routerLink",h.WLB(5,te,t.parentGroup.voId,t.parentGroup.id)),h.xp6(1),h.hij(" ",t.parentGroup.name," ")}}function ie(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,ee,5,8,"p",1),h._UZ(2,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",null!==t.parentGroup),h.xp6(1),h.Q6J("items",t.navItems)("size","small")}}let oe=(()=>{class t{constructor(t,e,i,o,a,s,n){this.route=t,this.groupService=e,this.voService=i,this.guiAuthResolver=o,this.apiRequest=a,this.attributesManager=s,this.notificator=n,this.navItems=[],this.parentGroup=null,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.groupId=t.groupId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,null!==this.group.parentGroupId?this.loadParentGroupData():(this.parentGroup=null,this.initNavItems(),this.loading=!1)},()=>this.loading=!1)})}loadParentGroupData(){this.groupService.getGroupById(this.group.parentGroupId).subscribe(t=>{this.parentGroup=t,this.initNavItems(),this.loading=!1},()=>this.loading=!1)}initNavItems(){this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:`/organizations/${this.group.voId}/groups/${this.groupId}/members`,label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:`/organizations/${this.group.voId}/groups/${this.groupId}/subgroups`,label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:`/organizations/${this.group.voId}/groups/${this.groupId}/resources`,label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:`/organizations/${this.group.voId}/groups/${this.groupId}/applications`,label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`/organizations/${this.group.voId}/groups/${this.group.id}/attributes`,label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});const t=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),e=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),i=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);t&&i&&e&&this.navItems.push({cssIcon:"perun-statistics",url:`/organizations/${this.group.voId}/groups/${this.group.id}/statistics`,label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});let o=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{o=!0},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)});const a=this.guiAuthResolver.isManagerPagePrivileged(this.group),s=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),n=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),r=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(o||a||s||n||r)&&this.navItems.push({cssIcon:"perun-settings2",url:`/organizations/${this.group.voId}/groups/${this.groupId}/settings`,label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(l.YF),h.Y36(u.x4),h.Y36(u.F5),h.Y36(l.H8),h.Y36(u.V6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(t,e){1&t&&(h.YNc(0,Kt,1,0,"mat-spinner",0),h.YNc(1,ie,3,3,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L,a.yS],pipes:[_.X$],styles:[""]}),t})();var ae=i(82044);let se=(()=>{class t{constructor(t){this.route=t}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var ne=i(40659);let re=(()=>{class t{constructor(t,e){this.route=t,this.router=e,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=e.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),e.events.subscribe(t=>{t instanceof a.m2&&(this.currentUrl=t.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl))})}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var le=i(541);let ce=(()=>{class t{constructor(t){this.route=t}ngOnInit(){this.route.parent.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._UZ(4,"app-one-entity-attribute-page",1),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(2),h.Q6J("entityId",e.voId)("entity","vo"))},directives:[le.t],pipes:[_.X$],styles:[""]}),t})();function ue(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function pe(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.items)("size","small")}}let de=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=o,this.router=a,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initItems(),this.loading=!1},()=>this.loading=!1)})}initItems(){this.items=[],this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/settings/expiration`,label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/settings/managers`,label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/settings/applicationForm`,label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/settings/notifications`,label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/settings/extsources`,label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(u.x4),h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,ue,1,0,"mat-spinner",0),h.YNc(1,pe,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var ge=i(27521),he=i(16073),me=i(54810);const Ae=["*"];let Ie=(()=>{class t{constructor(){this.modelChange=new h.vpe}get model(){return this.modelValue}set model(t){this.modelValue=t}ngAfterViewInit(){this.toggle.change.subscribe(()=>this.valueChanged())}valueChanged(){this.modelChange.emit(this.toggle.checked)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){if(1&t&&h.Gf(ge.Rr,7),2&t){let t;h.iGM(t=h.CRH())&&(e.toggle=t.first)}},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:Ae,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(t,e){if(1&t){const t=h.EpF();h.F$t(),h.TgZ(0,"div",0),h.TgZ(1,"div",1),h.TgZ(2,"label",2),h.NdJ("click",function(){return h.CHM(t),h.MAs(5).toggle()||e.valueChanged()}),h._uU(3),h.qZA(),h.TgZ(4,"mat-slide-toggle",3,4),h.NdJ("ngModelChange",function(t){return e.modelValue=t}),h.qZA(),h.qZA(),h.TgZ(6,"div",5),h.Hsn(7),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(5);h.xp6(2),h.ekj("unselected-setting",!t.checked),h.xp6(1),h.hij(" ",e.title," "),h.xp6(1),h.Q6J("ngModel",e.modelValue),h.xp6(2),h.Q6J("@openClose",t.checked?"open":"closed")}},directives:[ge.Rr,he.JJ,he.On],styles:[""],data:{animation:[r.BQ]}}),t})();var Te=i(66283),fe=i(4786),Ee=i(80340),Ze=i(71522),be=i(29236);function _e(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",25),h.TgZ(1,"mat-form-field",26),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodStatic=e}),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-hint"),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(2),h.s9C("pattern",t.datePattern),h.s9C("placeholder",h.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),h.Q6J("ngModel",t.currentConfiguration.periodStatic),h.xp6(3),h.Oqu(h.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Se(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Ne(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",18),h.TgZ(1,"mat-form-field",19),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodDynamic=e}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.periodDynamicUnit=e}),h.YNc(9,Se,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(2),h.s9C("pattern",t.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),h.Q6J("ngModel",t.currentConfiguration.periodDynamic),h.xp6(4),h.Oqu(h.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",t.currentConfiguration.periodDynamicUnit),h.xp6(1),h.Q6J("ngForOf",t.amountOptions)}}function Oe(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.Oqu(t)}}function ve(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.Oqu(t)}}function xe(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Ce(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function Le(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",25),h.TgZ(1,"mat-form-field",26),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodStatic=e}),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-hint"),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.s9C("pattern",t.datePattern),h.s9C("placeholder",h.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodStatic),h.xp6(3),h.Oqu(h.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Re(t,e){if(1&t&&(h.TgZ(0,"mat-option",27),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t.value),h.xp6(1),h.Oqu(t.text)}}function Me(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",18),h.TgZ(1,"mat-form-field",19),h.TgZ(2,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodDynamic=e}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=e}),h.YNc(9,Re,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(3);h.xp6(2),h.s9C("pattern",t.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodDynamic),h.xp6(4),h.Oqu(h.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",t.currentConfiguration.specialLoaPeriodDynamicUnit),h.xp6(1),h.Q6J("ngForOf",t.amountOptions)}}function De(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",28),h.TgZ(1,"mat-radio-group",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.specialLoaPeriodType=e}),h.TgZ(2,"mat-radio-button",9,29),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"mat-radio-button",11,30),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.qZA(),h.YNc(10,Le,7,8,"div",13),h.YNc(11,Me,10,10,"div",14),h.TgZ(12,"div"),h.TgZ(13,"mat-checkbox",31),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=e}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(3),e=h.MAs(7),i=h.oxw(2);h.xp6(1),h.Q6J("ngModel",i.currentConfiguration.specialLoaPeriodType),h.xp6(3),h.hij(" ",h.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),h.xp6(4),h.hij(" ",h.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),h.xp6(2),h.Q6J("ngIf",t.checked),h.xp6(1),h.Q6J("ngIf",e.checked),h.xp6(2),h.Q6J("ngModel",i.currentConfiguration.specialLoaPeriodExtendExpiredMembers),h.xp6(1),h.hij(" ",h.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Ue(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",1),h.TgZ(1,"div",2),h.TgZ(2,"h1",3),h.NdJ("click",function(){return h.CHM(t),h.MAs(6).toggle()}),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.TgZ(5,"mat-slide-toggle",4,5),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.enabled=e}),h.qZA(),h.qZA(),h.TgZ(7,"div"),h.TgZ(8,"label",6),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div",7),h.TgZ(12,"mat-radio-group",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.periodType=e}),h.TgZ(13,"mat-radio-button",9,10),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"mat-radio-button",11,12),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.qZA(),h.YNc(21,_e,7,8,"div",13),h.YNc(22,Ne,10,10,"div",14),h.qZA(),h.TgZ(23,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotAllowLoasEnabled=e}),h.ALo(24,"translate"),h.TgZ(25,"mat-form-field"),h.TgZ(26,"mat-placeholder"),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"mat-select",16),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotAllowLoas=e}),h.YNc(30,Oe,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.TgZ(31,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotExtendLoasEnabled=e}),h.ALo(32,"translate"),h.TgZ(33,"mat-form-field"),h.TgZ(34,"mat-placeholder"),h._uU(35),h.ALo(36,"translate"),h.qZA(),h.TgZ(37,"mat-select",16),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.doNotExtendLoas=e}),h.YNc(38,ve,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.TgZ(39,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriodEnabled=e}),h.ALo(40,"translate"),h.TgZ(41,"div",18),h.TgZ(42,"mat-form-field",19),h.TgZ(43,"input",20),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriod=e}),h.ALo(44,"translate"),h.qZA(),h.qZA(),h.TgZ(45,"mat-form-field"),h.TgZ(46,"mat-label"),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.TgZ(49,"mat-select",8),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.gracePeriodUnit=e}),h.YNc(50,xe,2,2,"mat-option",17),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(51,"app-settings-toggle-item",15),h.NdJ("modelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.specialLoaPeriodEnabled=e}),h.ALo(52,"translate"),h.TgZ(53,"div",7),h.TgZ(54,"div"),h.TgZ(55,"mat-form-field"),h.TgZ(56,"mat-label"),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.TgZ(59,"mat-select",8,21),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().currentConfiguration.specialLoa=e}),h.YNc(61,Ce,2,2,"mat-option",17),h.qZA(),h.qZA(),h.YNc(62,De,16,13,"div",22),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(63,"div",23),h.ALo(64,"translate"),h.TgZ(65,"button",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().saveChanges()}),h._uU(66),h.ALo(67,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(6),e=h.MAs(14),i=h.MAs(18),o=h.oxw();h.xp6(2),h.ekj("unselected-setting",!t.checked),h.xp6(1),h.hij(" ",h.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.enabled),h.xp6(2),h.Q6J("@openClose",t.checked?"open":"closed"),h.xp6(2),h.Oqu(h.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),h.xp6(3),h.Q6J("ngModel",o.currentConfiguration.periodType),h.xp6(3),h.hij(" ",h.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),h.xp6(4),h.hij(" ",h.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),h.xp6(2),h.Q6J("ngIf",e.checked),h.xp6(1),h.Q6J("ngIf",i.checked),h.xp6(1),h.Q6J("model",o.currentConfiguration.doNotAllowLoasEnabled)("title",h.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),h.xp6(4),h.Oqu(h.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.doNotAllowLoas),h.xp6(1),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("model",o.currentConfiguration.doNotExtendLoasEnabled)("title",h.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),h.xp6(4),h.Oqu(h.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.doNotExtendLoas),h.xp6(1),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("model",o.currentConfiguration.gracePeriodEnabled)("title",h.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),h.xp6(4),h.s9C("pattern",o.dynamicAmountPattern),h.s9C("placeholder",h.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),h.Q6J("ngModel",o.currentConfiguration.gracePeriod),h.xp6(4),h.Oqu(h.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.gracePeriodUnit),h.xp6(1),h.Q6J("ngForOf",o.amountOptions),h.xp6(1),h.Q6J("model",o.currentConfiguration.specialLoaPeriodEnabled)("title",h.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),h.xp6(6),h.Oqu(h.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),h.xp6(2),h.Q6J("ngModel",o.currentConfiguration.specialLoa),h.xp6(2),h.Q6J("ngForOf",o.loas),h.xp6(1),h.Q6J("ngIf",null!==o.currentConfiguration.specialLoa),h.xp6(1),h.s9C("matTooltip",h.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),h.Q6J("matTooltipDisabled",o.expirationAttribute.writable)("matTooltipPosition","above"),h.xp6(2),h.Q6J("disabled",!o.areChangesMade()||!o.expirationAttribute.writable),h.xp6(1),h.hij(" ",h.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}let qe=(()=>{class t{constructor(){this.saveAttribute=new h.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}ngOnInit(){const t=new Map;this.loas.forEach(e=>t.set(e,"")),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}ngOnChanges(t){t.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}saveChanges(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}areChangesMade(){const t=this.parseAttributeValueFromConfig(this.currentConfiguration),e=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===e?null!==t:null===t||t.period!==e.period||t.gracePeriod!==e.gracePeriod||t.doNotExtendLoa!==e.doNotExtendLoa||t.doNotAllowLoa!==e.doNotAllowLoa||t.periodLoa!==e.periodLoa}parseExpirationRulesAttribute(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}parsePeriod(t){switch(t.periodType){case"dynamic":return this.parseDynamicPeriod(t);case"static":return this.parseStaticPeriod(t)}}createInitConfiguration(){const t=new Map;return this.loas.forEach(e=>t.set(e,"")),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}unParseAttrValue(t){let e=this.createInitConfiguration();return null==t||(void 0!==t.period&&t.period.length>0&&(e=this.setPeriodValues(t,e)),void 0!==t.doNotAllowLoa&&t.doNotAllowLoa.length>0&&(e=this.setDoNotAllowLoasValues(t,e)),void 0!==t.doNotExtendLoa&&t.doNotExtendLoa.length>0&&(e=this.setDoNotExtendLoasValues(t,e)),void 0!==t.gracePeriod&&t.gracePeriod.length>0&&(e=this.setGracePeriodValues(t,e)),void 0!==t.periodLoa&&t.periodLoa.length>0&&(e=this.setSpecialLoaPeriodValues(t,e))),e}setPeriodValues(t,e){if(e.enabled=!0,t.period.startsWith("+")){e.periodType="dynamic";const i=t.period.charAt(t.period.length-1);e.periodDynamic=t.period.substring(1,t.period.length-1),e.periodDynamicUnit=i}else e.periodType="static",e.periodStatic=t.period;return e}setDoNotAllowLoasValues(t,e){const i=[];return t.doNotAllowLoa.split(",").forEach(t=>i.push(parseInt(t.trim(),10))),e.doNotAllowLoas=i,i.length>0&&(e.doNotAllowLoasEnabled=!0),e}setDoNotExtendLoasValues(t,e){const i=[];return t.doNotExtendLoa.split(",").forEach(t=>i.push(parseInt(t.trim(),10))),e.doNotExtendLoas=i,i.length>0&&(e.doNotExtendLoasEnabled=!0),e}setGracePeriodValues(t,e){e.gracePeriodEnabled=!0;const i=t.gracePeriod.charAt(t.gracePeriod.length-1);return e.gracePeriod=t.gracePeriod.substring(0,t.gracePeriod.length-1),e.gracePeriodUnit=i,e}setSpecialLoaPeriodValues(t,e){e.specialLoa=parseInt(t.periodLoa.substring(0,t.periodLoa.indexOf("|")),10),e.specialLoaPeriodEnabled=!0;let i=t.periodLoa.substring(t.periodLoa.indexOf("|")+1,t.periodLoa.length);if(i.startsWith("+")){i.endsWith(".")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="dynamic";const t=i.charAt(i.length-1);e.specialLoaPeriodDynamic=i.substring(1,i.length-1),e.specialLoaPeriodDynamicUnit=t}else i.endsWith("..")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="static",e.specialLoaPeriodStatic=i;return e}parseDynamicPeriod(t){return"+"+t.periodDynamic+t.periodDynamicUnit}parseStaticPeriod(t){return t.periodStatic}parseDontAllowLoas(t){if(!t.doNotAllowLoasEnabled)return null;let e="";return t.doNotAllowLoas.forEach(t=>e+=t+","),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}parseDontExtendLoas(t){if(!t.doNotExtendLoasEnabled)return null;let e="";return t.doNotExtendLoas.forEach(t=>e+=t+","),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}parseGracePeriod(t){return t.gracePeriodEnabled?t.gracePeriod+t.gracePeriodUnit:null}parseSpecialLoaPeriod(t){if(!t.specialLoaPeriodEnabled)return null;let e=t.specialLoa+"|";switch(t.specialLoaPeriodType){case"static":e+=this.parseSpecialLoaPeriodStatic(t);break;case"dynamic":e+=this.parseSpecialLoaPeriodDynamic(t)}return null!=e&&t.specialLoaPeriodExtendExpiredMembers&&(e+="."),e}parseSpecialLoaPeriodStatic(t){return t.specialLoaPeriodStatic}parseSpecialLoaPeriodDynamic(t){return"+"+t.specialLoaPeriodDynamic+t.specialLoaPeriodDynamicUnit}parseAttributeValueFromConfig(t){if(!t.enabled)return null;const e=this.parsePeriod(t),i=this.parseDontAllowLoas(t),o=this.parseDontExtendLoas(t),a=this.parseGracePeriod(t),s=this.parseSpecialLoaPeriod(t),n={period:e};return null!==o&&(n.doNotExtendLoa=o),null!==i&&(n.doNotAllowLoa=i),null!==a&&(n.gracePeriod=a),null!==s&&(n.periodLoa=s),n}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[h.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&h.YNc(0,Ue,68,70,"div",0),2&t&&h.Q6J("ngIf",e.currentConfiguration)},directives:[o.O5,ge.Rr,he.JJ,he.On,me.VQ,me.U0,Ie,Te.KE,Te.UY,fe.gD,o.sg,Ee.Nt,he.Fj,he.c5,Te.hX,E.gM,b.lW,Te.bx,Ze.ey,be.oG],pipes:[_.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[r.BQ]}}),t})();function Pe(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-expiration-settings",1),h.NdJ("saveAttribute",function(e){return h.CHM(t),h.oxw().saveExpirationAttribute(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("expirationAttribute",t.expirationAttribute)}}let we=(()=>{class t{constructor(t,e,i,o,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=o,this.apiRequest=a,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.loadSettings()})}loadSettings(){this.attributesManager.getVoAttributeByName(this.voId,p.r.VO_DEF_EXPIRATION_RULES).subscribe(t=>{this.expirationAttribute=t})}saveExpirationAttribute(t){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.voId,attribute:t}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},t=>{console.log(t),this.notificator.showRPCError(t.error,this.errorMessage)})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.V6),h.Y36(u.F5))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&h.YNc(0,Pe,1,1,"app-expiration-settings",0),2&t&&h.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[o.O5,qe],styles:[""],data:{animation:[r.BQ]}}),t})();var Ge=i(62284),ye=i(489);function Ye(t,e){if(1&t&&h._UZ(0,"app-managers-page",1),2&t){const t=h.oxw();h.Q6J("complementaryObject",t.vo)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Je=(()=>{class t{constructor(t,e,i,o){this.dialog=t,this.voService=e,this.route=i,this.guiAuthResolver=o,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.uw),h.Y36(l.YF),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h.YNc(0,Ye,1,4,"app-managers-page",0),2&t&&h.Q6J("ngIf",e.vo)},directives:[o.O5,ye.s],styles:[""]}),t})();function Ve(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Fe(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"textarea",17),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw(2).reason=e}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),h.xp6(3),h.Q6J("ngModel",t.reason)}}function Qe(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"mat-select",9),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().mailType=e}),h.TgZ(5,"mat-option",10),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-option",11),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"mat-option",12),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"mat-option",13),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"mat-option",14),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.TgZ(20,"mat-option",15),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(23,Fe,5,4,"div",16),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.hij(" ",h.lcZ(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),h.xp6(3),h.Q6J("value",t.mailType),h.xp6(2),h.Oqu(h.lcZ(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),h.xp6(3),h.Oqu(h.lcZ(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),h.xp6(3),h.Oqu(h.lcZ(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),h.xp6(3),h.Oqu(h.lcZ(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),h.xp6(3),h.Oqu(h.lcZ(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),h.xp6(3),h.Oqu(h.lcZ(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),h.xp6(2),h.Q6J("ngIf","APP_REJECTED_USER"===t.mailType)}}let ke=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=o,this.registrarManager=a,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(()=>{this.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(_.sK),h.Y36(u.V6),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ve,1,0,"mat-spinner",1),h.YNc(5,Qe,24,23,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Gre("",e.theme,"}"),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,fe.gD,Ze.ey,Ee.Nt,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();function ze(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Be(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h._uU(1),h.ALo(2,"translate"),h.TgZ(3,"mat-form-field",8),h.TgZ(4,"textarea",9),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().reason=e}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),h.xp6(3),h.Q6J("ngModel",t.reason)}}let He=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=o,this.registrarManager=a,this.reason="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(()=>{this.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(_.sK),h.Y36(u.V6),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,ze,1,0,"mat-spinner",1),h.YNc(5,Be,5,4,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,Ee.Nt,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();function je(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function $e(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function Xe(t,e){if(1&t&&(h.TgZ(0,"mat-form-field"),h.TgZ(1,"label"),h._UZ(2,"input",9),h.qZA(),h.YNc(3,$e,3,3,"mat-error",8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Q6J("formControl",t.emailControl),h.xp6(1),h.Q6J("ngIf",t.emailControl.invalid)}}function We(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function Ke(t,e){if(1&t&&(h.TgZ(0,"mat-form-field"),h._UZ(1,"input",10),h.YNc(2,We,3,3,"mat-error",8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("formControl",t.inputControl),h.xp6(1),h.Q6J("ngIf",t.inputControl.invalid)}}function ti(t,e){if(1&t&&(h.TgZ(0,"div",7),h.YNc(1,Xe,4,2,"mat-form-field",8),h.YNc(2,Ke,3,2,"mat-form-field",8),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",null!==t.emailControl),h.xp6(1),h.Q6J("ngIf",null!==t.inputControl)}}let ei=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translateService=o,this.registrarService=a,this.loading=!1,this.inputControl=null,this.emailControl=null}ngOnInit(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new he.NI(this.formItemData.value,[he.kI.required,he.kI.email]):this.inputControl=new he.NI(this.formItemData.value,[he.kI.required])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(()=>{this.notificator.showSuccess(this.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}getLabel(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(_.sK),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,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"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,je,1,0,"mat-spinner",1),h.YNc(5,ti,3,2,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.AsE("",h.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),h.xp6(1),h.hij(" ",h.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Te.KE,Ee.Nt,he.Fj,he.Q7,he.JJ,he.oH,Te.TO],pipes:[_.X$],styles:[""]}),t})();var ii=i(27679),oi=i(84650);function ai(t,e){if(1&t&&(h.TgZ(0,"span",5),h._uU(1),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.hij(" #",t.application.id," ")}}function si(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function ni(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).verifyApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function ri(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).approveApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function li(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).rejectApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function ci(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).deleteApplication()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function ui(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",19),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).resendNotification()}),h.TgZ(1,"i",14),h._uU(2," mail_outline "),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function pi(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),h.xp6(2),h.hij(": ",t.application.vo.name," ")}}function di(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.TgZ(5,"span",10),h._uU(6),h.ALo(7,"translate"),h.qZA(),h._uU(8),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),h.xp6(2),h.hij(": ",t.application.group.name," "),h.xp6(2),h.Oqu(h.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),h.xp6(2),h.hij(": ",t.application.vo.name," ")}}function gi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3," Initial "),h.qZA())}function hi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"restore"),h.qZA(),h._uU(3," Extension "),h.qZA())}function mi(t,e){1&t&&(h.TgZ(0,"span"),h.TgZ(1,"mat-icon",20),h._uU(2,"nat"),h.qZA(),h._uU(3," Embedded "),h.qZA())}function Ai(t,e){if(1&t&&(h.TgZ(0,"div",21),h.TgZ(1,"mat-card-title"),h.TgZ(2,"i",22),h._uU(3,"clear"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"div"),h.TgZ(7,"span",10),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._uU(10),h.ALo(11,"date"),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(4),h.AsE(" ",h.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),h.xp6(4),h.Oqu(h.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ii(t,e){if(1&t&&(h.TgZ(0,"div",21),h.TgZ(1,"mat-card-title"),h.TgZ(2,"i",23),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.TgZ(6,"div"),h.TgZ(7,"span",10),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._uU(10),h.ALo(11,"date"),h.qZA(),h.qZA()),2&t){const t=h.oxw(2);h.xp6(4),h.AsE(" ",h.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",t.getModifiedAtName(t.application.modifiedBy),""),h.xp6(4),h.Oqu(h.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(11,8,t.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ti(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",10),h._uU(2),h.ALo(3,"translate"),h.qZA(),h._uU(4),h.qZA()),2&t){const t=h.oxw(2);h.xp6(2),h.Oqu(h.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),h.xp6(2),h.hij(": ",t.userMail,"")}}function fi(t,e){1&t&&h._UZ(0,"th",32)}function Ei(t,e){if(1&t&&(h.TgZ(0,"td",33),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.getLabel(t.formItem),"",t.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function Zi(t,e){1&t&&h._UZ(0,"th",32)}function bi(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",36),h.NdJ("click",function(){h.CHM(t);const e=h.oxw().$implicit;return h.oxw(3).editApplicationData(e)}),h.TgZ(1,"mat-icon"),h._uU(2,"edit"),h.qZA(),h.qZA()}}function _i(t,e){if(1&t&&(h.TgZ(0,"td",34),h._uU(1),h.YNc(2,bi,3,0,"button",35),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3);h.xp6(1),h.hij(" ",t.value," "),h.xp6(1),h.Q6J("ngIf",!t.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===i.application.state||"VERIFIED"===i.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==t.formItem.type)}}function Si(t,e){1&t&&h._UZ(0,"tr",37)}function Ni(t,e){1&t&&h._UZ(0,"tr",38)}function Oi(t,e){if(1&t&&(h.TgZ(0,"table",24),h.ynx(1,25),h.YNc(2,fi,1,0,"th",26),h.YNc(3,Ei,2,2,"td",27),h.BQk(),h.ynx(4,28),h.YNc(5,Zi,1,0,"th",26),h.YNc(6,_i,3,2,"td",29),h.BQk(),h.YNc(7,Si,1,0,"tr",30),h.YNc(8,Ni,1,0,"tr",31),h.qZA()),2&t){const t=h.oxw(2);h.Q6J("dataSource",t.dataSource),h.xp6(7),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}function vi(t,e){1&t&&(h.TgZ(0,"div",39),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij("*",h.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function xi(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,ni,3,3,"button",7),h.YNc(2,ri,3,3,"button",7),h.YNc(3,li,3,3,"button",8),h.YNc(4,ci,3,3,"button",8),h.YNc(5,ui,5,3,"button",9),h.YNc(6,pi,5,4,"div",4),h.YNc(7,di,9,8,"div",4),h.TgZ(8,"div"),h.TgZ(9,"span",10),h._uU(10),h.ALo(11,"translate"),h.qZA(),h._uU(12,": "),h._UZ(13,"span",11),h.ALo(14,"applicationState"),h.qZA(),h.TgZ(15,"div"),h.TgZ(16,"span",10),h._uU(17),h.ALo(18,"translate"),h.qZA(),h._uU(19,": "),h.YNc(20,gi,4,0,"span",4),h.YNc(21,hi,4,0,"span",4),h.YNc(22,mi,4,0,"span",4),h.qZA(),h.YNc(23,Ai,12,11,"div",12),h.YNc(24,Ii,12,11,"div",12),h.TgZ(25,"div",13),h.TgZ(26,"mat-card-title"),h.TgZ(27,"i",14),h._uU(28,"redo"),h.qZA(),h._uU(29),h.ALo(30,"translate"),h.ALo(31,"userFullName"),h.qZA(),h.YNc(32,Ti,5,4,"div",4),h.TgZ(33,"div"),h.TgZ(34,"span",10),h._uU(35),h.ALo(36,"translate"),h.qZA(),h._uU(37),h.qZA(),h.TgZ(38,"div"),h.TgZ(39,"span",10),h._uU(40),h.ALo(41,"translate"),h.qZA(),h._uU(42),h.qZA(),h.TgZ(43,"div"),h.TgZ(44,"span",10),h._uU(45),h.ALo(46,"translate"),h.qZA(),h._uU(47),h.ALo(48,"date"),h.qZA(),h.YNc(49,Oi,9,3,"table",15),h.YNc(50,vi,3,3,"div",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf","NEW"===t.application.state&&t.verifyAuth),h.xp6(1),h.Q6J("ngIf",("VERIFIED"===t.application.state||"NEW"===t.application.state)&&t.approveAuth),h.xp6(1),h.Q6J("ngIf",("VERIFIED"===t.application.state||"NEW"===t.application.state)&&t.rejectAuth),h.xp6(1),h.Q6J("ngIf",("REJECTED"===t.application.state||"NEW"===t.application.state)&&t.deleteAuth),h.xp6(1),h.Q6J("ngIf",t.resendAuth),h.xp6(1),h.Q6J("ngIf",!t.application.group),h.xp6(1),h.Q6J("ngIf",t.application.group),h.xp6(3),h.Oqu(h.lcZ(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),h.xp6(3),h.Q6J("outerHTML",h.lcZ(14,28,t.application.state),h.oJD),h.xp6(4),h.Oqu(h.lcZ(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),h.xp6(3),h.Q6J("ngIf","INITIAL"===t.application.type),h.xp6(1),h.Q6J("ngIf","EXTENSION"===t.application.type),h.xp6(1),h.Q6J("ngIf","EMBEDDED"===t.application.type),h.xp6(1),h.Q6J("ngIf","REJECTED"===t.application.state),h.xp6(1),h.Q6J("ngIf","APPROVED"===t.application.state),h.xp6(5),h.AsE(" ",h.lcZ(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===t.application.user?t.submittedBy():h.lcZ(31,34,t.application.user),""),h.xp6(3),h.Q6J("ngIf",t.userMail),h.xp6(3),h.Oqu(h.lcZ(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),h.xp6(2),h.hij(": ",t.application.extSourceName,""),h.xp6(3),h.Oqu(h.lcZ(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),h.xp6(2),h.hij(": ",t.application.extSourceLoa,""),h.xp6(3),h.Oqu(h.lcZ(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),h.xp6(2),h.hij(": ",h.xi3(48,42,t.application.createdAt,"d.M.y H:mm:ss"),""),h.xp6(2),h.Q6J("ngIf",0!==t.userData.length),h.xp6(1),h.Q6J("ngIf",0!==t.userData.length)}}let Ci=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.registrarManager=t,this.dialog=e,this.translate=i,this.route=o,this.notificator=a,this.router=s,this.authResolver=n,this.usersService=r,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}ngOnInit(){this.loading=!0,this.route.params.subscribe(t=>{this.route.parent.params.subscribe(e=>{this.dialogTheme=e.groupId?"group-theme":e.memberId?"member-theme":"vo-theme",this.registrarManager.getApplicationById(t.applicationId).subscribe(t=>{this.application=t,"EMBEDDED"===this.application.type&&this.application.user?this.usersService.getRichUserWithAttributes(this.application.user.id).subscribe(t=>{var e;const i=t.userAttributes.find(t=>"preferredMail"===t.friendlyName);this.userMail=null===(e=null==i?void 0:i.value)||void 0===e?void 0:e.toString(),this.setAuthRights(),this.loading=!1}):this.registrarManager.getApplicationDataById(this.application.id).subscribe(t=>{this.userData=t,this.dataSource=new st.by(this.userData),this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}getLabel(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}submittedBy(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}getModifiedAtName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}resendNotification(){const t=(0,c.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(ke,t)}deleteApplication(){const t=(0,c.kZ)();t.width="450px",t.data={items:[this.application.id],title:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_TITLE",description:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_DESCRIPTION",theme:"vo-theme"},this.dialog.open(d.Tf,t).afterClosed().subscribe(t=>{t&&this.registrarManager.deleteApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t),this.router.navigateByUrl(this.router.url.substring(0,this.router.url.lastIndexOf("/")))})})})}rejectApplication(){const t=(0,c.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(He,t).afterClosed().subscribe(()=>{this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1},()=>this.loading=!1)})}approveApplication(){this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t)}),this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}verifyApplication(){this.registrarManager.verifyApplication(this.application.id).subscribe(()=>{this.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(t=>{this.notificator.showSuccess(t)}),this.loading=!0,this.registrarManager.getApplicationById(this.application.id).subscribe(t=>{this.application=t,this.loading=!1})})}editApplicationData(t){const e=(0,c.kZ)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(ei,e)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(A.uw),h.Y36(_.sK),h.Y36(a.gz),h.Y36(u.V6),h.Y36(a.F0),h.Y36(u.x4),h.Y36(l.Fv))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["class","font-italic",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""],[1,"font-italic"]],template:function(t,e){1&t&&(h.TgZ(0,"h2",0),h._uU(1),h.ALo(2,"translate"),h.YNc(3,ai,2,1,"span",1),h.qZA(),h._UZ(4,"mat-divider",2),h.YNc(5,si,1,0,"mat-spinner",3),h.YNc(6,xi,51,45,"div",4)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),h.xp6(2),h.Q6J("ngIf",!!e.application),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,ii.d,T.$g,lt.n5,b.lW,f.Hw,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$,oi.h,Rt.d,o.uU],styles:[""]}),t})();var Li=i(11930),Ri=i(7433);let Mi=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&h._UZ(0,"app-animated-router-outlet")},directives:[Z.A],styles:[""],data:{animation:[r.Ji]}}),t})();var Di=i(55109),Ui=i(69012);function qi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function Pi(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",4),2&t){const t=h.oxw();h.Q6J("entity","group")("entityId",t.groupId)}}function wi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",h.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Gi(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=h.oxw(2);h.Q6J("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","member")}}function yi(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,wi,3,6,"ng-template",1),h.YNc(2,Gi,1,3,"ng-template",2),h.qZA())}function Yi(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",h.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Ji(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",5),2&t){const t=h.oxw(2);h.Q6J("firstEntity","group")("firstEntityId",t.groupId)("secondEntity","resource")}}function Vi(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,Yi,3,6,"ng-template",1),h.YNc(2,Ji,1,3,"ng-template",2),h.qZA())}let Fi=(()=>{class t{constructor(t,e,i){this.route=t,this.groupManager=e,this.authResolver=i}ngOnInit(){this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.groupManager.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.groupResourceAttAuth=this.authResolver.isAuthorized("getAssignedResources_Group_policy",[this.group]),this.groupMemberAttAuth=this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[this.group])})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-tab-group"),h.TgZ(5,"mat-tab"),h.YNc(6,qi,2,3,"ng-template",1),h.YNc(7,Pi,1,2,"ng-template",2),h.qZA(),h.YNc(8,yi,3,0,"mat-tab",3),h.YNc(9,Vi,3,0,"mat-tab",3),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(6),h.Q6J("ngIf",e.groupMemberAttAuth),h.xp6(1),h.Q6J("ngIf",e.groupResourceAttAuth))},directives:[Di.SP,Di.uX,Di.uD,Di.Vc,o.O5,le.t,Ui.Y],pipes:[_.X$],styles:[""]}),t})();function Qi(t,e){1&t&&h._UZ(0,"mat-spinner",2)}function ki(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",3),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("items",t.items)("size","small")}}let zi=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.sideMenuService=t,this.voService=e,this.groupService=i,this.route=o,this.router=a,this.guiAuthResolver=s,this.apiRequest=n,this.attributesManager=r,this.notificator=l,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{const e=t.voId;this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.initItems(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)})}initItems(){this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/expiration`,label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/managers`,label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/applicationForm`,label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/notifications`,label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/relations`,label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:`/organizations/${this.vo.id}/groups/${this.group.id}/settings/extsources`,label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(l.ff),h.Y36(a.gz),h.Y36(a.F0),h.Y36(u.x4),h.Y36(u.F5),h.Y36(l.H8),h.Y36(u.V6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(h.YNc(0,Qi,1,0,"mat-spinner",0),h.YNc(1,ki,2,2,"div",1)),2&t&&(h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,k.L],styles:[""]}),t})();var Bi=i(14527);function Hi(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function ji(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).switchToInitial()}),h.TgZ(1,"i",11),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function $i(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).switchToExtension()}),h.TgZ(1,"i",11),h._uU(2,"cached"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function Xi(t,e){if(1&t&&(h.TgZ(0,"mat-option",12),h._uU(1),h.ALo(2,"translate"),h.ALo(3,"uppercase"),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",h.lcZ(2,2,h.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function Wi(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Ki(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function to(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",19),h.qZA(),h.qZA(),h.TgZ(6,"div",20),h.YNc(7,Wi,2,1,"mat-icon",21),h.YNc(8,Ki,2,1,"mat-icon",21),h.TgZ(9,"span",22),h._uU(10),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function eo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function io(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function oo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",24),h.qZA(),h.qZA(),h.TgZ(6,"div",20),h.YNc(7,eo,2,1,"mat-icon",21),h.YNc(8,io,2,1,"mat-icon",21),h.TgZ(9,"span",22),h._uU(10),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(4),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function ao(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function so(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function no(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h._UZ(5,"input",25),h._UZ(6,"br"),h._UZ(7,"input",19),h.qZA(),h.qZA(),h.TgZ(8,"div",20),h.YNc(9,ao,2,1,"mat-icon",21),h.YNc(10,so,2,1,"mat-icon",21),h.TgZ(11,"span",22),h._uU(12),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function ro(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"input",27),h._uU(2),h._UZ(3,"br"),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3).$implicit;h.xp6(1),h.Q6J("disabled","ALWAYS"===i.disabled),h.xp6(1),h.hij(" ",t,"")}}function lo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function co(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function uo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"form",18),h.YNc(5,ro,4,2,"div",9),h._UZ(6,"input",26),h.ALo(7,"translate"),h.qZA(),h.qZA(),h.TgZ(8,"div",20),h.YNc(9,lo,2,1,"mat-icon",21),h.YNc(10,co,2,1,"mat-icon",21),h.TgZ(11,"span",22),h._uU(12),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(1),h.s9C("value",h.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function po(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"span",28),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("innerHTML",e.getLocalizedLabel(t),h.oJD)}}function go(t,e){if(1&t&&(h.TgZ(0,"option"),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t)}}function ho(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function mo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Ao(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",29),h.YNc(6,go,2,1,"option",9),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"div",20),h.YNc(8,ho,2,1,"mat-icon",21),h.YNc(9,mo,2,1,"mat-icon",21),h.TgZ(10,"span",22),h._uU(11),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Io(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function To(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function fo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h._UZ(4,"textarea",30),h.qZA(),h.TgZ(5,"div",20),h.YNc(6,Io,2,1,"mat-icon",21),h.YNc(7,To,2,1,"mat-icon",21),h.TgZ(8,"span",22),h._uU(9),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Eo(t,e){if(1&t&&(h.TgZ(0,"option",35),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t)}}function Zo(t,e){1&t&&(h.TgZ(0,"div",36),h.TgZ(1,"form"),h._UZ(2,"input",37),h.qZA(),h.qZA())}function bo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function _o(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function So(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",31),h.NdJ("ngModelChange",function(e){h.CHM(t);const i=h.oxw(2).$implicit;return h.oxw(2).mapForCombobox[i.id]=e}),h.TgZ(6,"option",32),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.YNc(9,Eo,2,1,"option",33),h.qZA(),h.YNc(10,Zo,3,0,"div",34),h.qZA(),h.qZA(),h.TgZ(11,"div",20),h.YNc(12,bo,2,1,"mat-icon",21),h.YNc(13,_o,2,1,"mat-icon",21),h.TgZ(14,"span",22),h._uU(15),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("ngModel",e.mapForCombobox[t.id])("disabled","ALWAYS"===t.disabled),h.xp6(2),h.Oqu(h.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),h.xp6(2),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(1),h.Q6J("ngIf","true"===e.mapForCombobox[t.id]),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function No(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"input",38),h._uU(2),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(3).$implicit;h.xp6(1),h.Q6J("disabled","ALWAYS"===i.disabled),h.xp6(1),h.hij(" ",t," ")}}function Oo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function vo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function xo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"form",36),h.YNc(6,No,3,2,"div",9),h.qZA(),h.qZA(),h.qZA(),h.TgZ(7,"div",20),h.YNc(8,Oo,2,1,"mat-icon",21),h.YNc(9,vo,2,1,"mat-icon",21),h.TgZ(10,"span",22),h._uU(11),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(3),h.Q6J("ngForOf",e.getLocalizedOptions(t)),h.xp6(2),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Co(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Lo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Ro(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"form",36),h._UZ(6,"input",38),h._uU(7," example group1 "),h._UZ(8,"br"),h._UZ(9,"input",38),h._uU(10," example group2 "),h._UZ(11,"br"),h._UZ(12,"input",38),h._uU(13," example group3 "),h.qZA(),h.qZA(),h.qZA(),h.TgZ(14,"div",20),h.YNc(15,Co,2,1,"mat-icon",21),h.YNc(16,Lo,2,1,"mat-icon",21),h.TgZ(17,"span",22),h._uU(18),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(3),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Mo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Do(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Uo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"button",39),h._uU(2),h.qZA(),h.YNc(3,Mo,2,1,"mat-icon",40),h.YNc(4,Do,2,1,"mat-icon",40),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden)}}function qo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function Po(t,e){if(1&t&&(h.TgZ(0,"mat-icon",41),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function wo(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"button",39),h._uU(2),h.qZA(),h.YNc(3,qo,2,1,"mat-icon",40),h.YNc(4,Po,2,1,"mat-icon",40),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(1),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(1),h.Oqu(e.getLocalizedLabel(t)),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden)}}function Go(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"lock"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.disabledTooltip(t))}}function yo(t,e){if(1&t&&(h.TgZ(0,"mat-icon",23),h._uU(1,"visibility_off"),h.qZA()),2&t){const t=h.oxw(3).$implicit,e=h.oxw(2);h.Q6J("matTooltip",e.hiddenTooltip(t))}}function Yo(t,e){if(1&t&&(h.TgZ(0,"div",16),h.TgZ(1,"div",17),h.TgZ(2,"span",18),h._uU(3),h.qZA(),h.TgZ(4,"div",18),h.TgZ(5,"select",42),h.TgZ(6,"option",43),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"option",44),h._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),h.qZA(),h.TgZ(11,"option",45),h._uU(12,"(GMT -11:00) Midway Island, Samoa"),h.qZA(),h.TgZ(13,"option",46),h._uU(14,"(GMT -10:00) Hawaii"),h.qZA(),h.TgZ(15,"option",47),h._uU(16,"(GMT -9:30) Taiohae"),h.qZA(),h.TgZ(17,"option",48),h._uU(18,"(GMT -9:00) Alaska"),h.qZA(),h.TgZ(19,"option",49),h._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),h.qZA(),h.TgZ(21,"option",50),h._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),h.qZA(),h.TgZ(23,"option",51),h._uU(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),h.qZA(),h.TgZ(25,"option",52),h._uU(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),h.qZA(),h.TgZ(27,"option",53),h._uU(28,"(GMT -4:30) Caracas"),h.qZA(),h.TgZ(29,"option",54),h._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),h.qZA(),h.TgZ(31,"option",55),h._uU(32,"(GMT -3:30) Newfoundland"),h.qZA(),h.TgZ(33,"option",56),h._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),h.qZA(),h.TgZ(35,"option",57),h._uU(36,"(GMT -2:00) Mid-Atlantic"),h.qZA(),h.TgZ(37,"option",58),h._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),h.qZA(),h.TgZ(39,"option",59),h._uU(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),h.qZA(),h.TgZ(41,"option",60),h._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),h.qZA(),h.TgZ(43,"option",61),h._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),h.qZA(),h.TgZ(45,"option",62),h._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),h.qZA(),h.TgZ(47,"option",63),h._uU(48,"(GMT +3:30) Tehran"),h.qZA(),h.TgZ(49,"option",64),h._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),h.qZA(),h.TgZ(51,"option",65),h._uU(52,"(GMT +4:30) Kabul"),h.qZA(),h.TgZ(53,"option",66),h._uU(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),h.qZA(),h.TgZ(55,"option",67),h._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),h.qZA(),h.TgZ(57,"option",68),h._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),h.qZA(),h.TgZ(59,"option",69),h._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),h.qZA(),h.TgZ(61,"option",70),h._uU(62,"(GMT +6:30) Yangon, Mandalay"),h.qZA(),h.TgZ(63,"option",71),h._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),h.qZA(),h.TgZ(65,"option",72),h._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),h.qZA(),h.TgZ(67,"option",73),h._uU(68,"(GMT +8:45) Eucla"),h.qZA(),h.TgZ(69,"option",74),h._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),h.qZA(),h.TgZ(71,"option",75),h._uU(72,"(GMT +9:30) Adelaide, Darwin"),h.qZA(),h.TgZ(73,"option",76),h._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),h.qZA(),h.TgZ(75,"option",77),h._uU(76,"(GMT +10:30) Lord Howe Island"),h.qZA(),h.TgZ(77,"option",78),h._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),h.qZA(),h.TgZ(79,"option",79),h._uU(80,"(GMT +11:30) Norfolk Island"),h.qZA(),h.TgZ(81,"option",80),h._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),h.qZA(),h.TgZ(83,"option",81),h._uU(84,"(GMT +12:45) Chatham Islands"),h.qZA(),h.TgZ(85,"option",82),h._uU(86,"(GMT +13:00) Apia, Nukualofa"),h.qZA(),h.TgZ(87,"option",83),h._uU(88,"(GMT +14:00) Line Islands, Tokelau"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(89,"div",20),h.YNc(90,Go,2,1,"mat-icon",21),h.YNc(91,yo,2,1,"mat-icon",21),h.TgZ(92,"span",22),h._uU(93),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.oxw(2).$implicit,e=h.oxw(2);h.xp6(3),h.Oqu(e.getLocalizedLabel(t)),h.xp6(2),h.Q6J("disabled","ALWAYS"===t.disabled),h.xp6(2),h.hij(" ",h.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),h.xp6(83),h.Q6J("ngIf","NEVER"!==t.disabled),h.xp6(1),h.Q6J("ngIf","NEVER"!==t.hidden),h.xp6(2),h.Oqu(e.getLocalizedHint(t))}}function Jo(t,e){if(1&t&&(h.TgZ(0,"div",14),h.YNc(1,to,11,5,"div",15),h.YNc(2,oo,11,4,"div",15),h.YNc(3,no,13,6,"div",15),h.YNc(4,uo,13,9,"div",15),h.YNc(5,po,2,1,"div",2),h.YNc(6,Ao,12,6,"div",15),h.YNc(7,fo,10,5,"div",15),h.YNc(8,So,16,11,"div",15),h.YNc(9,xo,12,5,"div",15),h.YNc(10,Ro,19,7,"div",15),h.YNc(11,Uo,5,4,"div",15),h.YNc(12,wo,5,4,"div",2),h.YNc(13,Yo,94,8,"div",15),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",("TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type)&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","FROM_FEDERATION_SHOW"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","PASSWORD"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","RADIO"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf",("HEADING"===t.type||"HTML_COMMENT"===t.type)&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","SELECTIONBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","TEXTAREA"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","COMBOBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","CHECKBOX"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===t.type&&"ALWAYS"!==t.hidden),h.xp6(1),h.Q6J("ngIf","TIMEZONE"===t.type&&"ALWAYS"!==t.hidden)}}function Vo(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Jo,14,13,"div",13),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",i.isValid(t))}}function Fo(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",4),h.YNc(2,ji,5,3,"button",5),h.YNc(3,$i,5,3,"button",5),h.TgZ(4,"mat-form-field"),h.TgZ(5,"mat-label"),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"mat-select",6),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().currentLanguage=e}),h.YNc(9,Xi,4,6,"mat-option",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(10,"div",8),h.YNc(11,Vo,2,1,"div",9),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",!t.initialPage),h.xp6(1),h.Q6J("ngIf",t.initialPage),h.xp6(3),h.Oqu(h.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),h.xp6(2),h.Q6J("value",t.currentLanguage),h.xp6(1),h.Q6J("ngForOf",t.languages),h.xp6(2),h.Q6J("ngForOf",t.applicationFormItems)}}let Qo=(()=>{class t{constructor(t,e,i){this.route=t,this.translate=e,this.store=i,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}ngOnInit(){this.languages=this.store.get("supported_languages"),this.route.queryParamMap.subscribe(t=>{this.applicationFormItems=JSON.parse(t.get("applicationFormItems")),this.loading=!1})}switchToInitial(){this.initialPage=!0}switchToExtension(){this.initialPage=!1}getLocalizedOptions(t){if(t.i18n[this.currentLanguage]){const e=t.i18n[this.currentLanguage].options;if(null!==e&&""!==e){const t=[];for(const i of e.split("|"))t.push(i.split("#")[1]);return t}}return[]}isValid(t){if(t.forDelete)return!1;for(const e of t.applicationTypes){if("INITIAL"===e&&this.initialPage)return!0;if("EXTENSION"===e&&!this.initialPage)return!0}return!1}disabledTooltip(t){let e,i,o;switch(t.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${o}`;case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${o}`;default:return""}}hiddenTooltip(t){let e,i,o;switch(t.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),`${e} ${i} ${o}`;case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,o=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),`${e} ${i} ${o}`;default:return""}}getLocalizedLabel(t){return t.i18n[this.currentLanguage]&&t.i18n[this.currentLanguage].label?t.i18n[this.currentLanguage].label:t.shortname}getLocalizedHint(t){return t.i18n[this.currentLanguage]?t.i18n[this.currentLanguage].help:""}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text","disabled","",1,"w-100"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["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"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,Hi,1,0,"mat-spinner",1),h.YNc(4,Fo,12,8,"div",2)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Te.KE,Te.hX,fe.gD,o.sg,b.lW,Ze.ey,f.Hw,E.gM,he._Y,he.JL,he.F,he.YN,he.Kr,he.EJ,he.JJ,he.On],pipes:[_.X$,o.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function ko(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function zo(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",5),2&t){const t=h.oxw();h.Q6J("entity","member")("entityId",t.memberId)}}function Bo(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",h.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function Ho(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","group")}}function jo(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,Bo,3,6,"ng-template",1),h.YNc(2,Ho,1,3,"ng-template",2),h.qZA())}function $o(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",h.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Xo(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","member")("firstEntityId",t.memberId)("secondEntity","resource")}}function Wo(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,$o,3,6,"ng-template",1),h.YNc(2,Xo,1,3,"ng-template",2),h.qZA())}function Ko(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.hij(" ",h.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function ta(t,e){if(1&t&&h._UZ(0,"app-one-entity-attribute-page",7),2&t){const t=h.oxw();h.Q6J("entityId",t.member.userId)("entity","user")}}function ea(t,e){1&t&&(h._uU(0),h.ALo(1,"translate"),h.ALo(2,"translate")),2&t&&h.AsE(" ",h.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",h.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function ia(t,e){if(1&t&&h._UZ(0,"app-two-entity-attribute-page",6),2&t){const t=h.oxw(2);h.Q6J("firstEntity","user")("firstEntityId",t.member.userId)("secondEntity","facility")}}function oa(t,e){1&t&&(h.TgZ(0,"mat-tab"),h.YNc(1,ea,3,6,"ng-template",1),h.YNc(2,ia,1,3,"ng-template",2),h.qZA())}let aa=(()=>{class t{constructor(t,e,i){this.route=t,this.authResolver=e,this.memberManager=i}ngOnInit(){this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberManager.getMemberById(this.memberId).subscribe(t=>{this.member=t,this.memberGroupAttAuth=this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.member]),this.memberResourceAttAuth=this.authResolver.isAuthorized("getAssignedResourcesWithStatus_Member_policy",[this.member]),this.userFacilityAttAuth=this.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:t.userId}])})})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(u.x4),h.Y36(l.uq))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-tab-group"),h.TgZ(5,"mat-tab"),h.YNc(6,ko,2,3,"ng-template",1),h.YNc(7,zo,1,2,"ng-template",2),h.qZA(),h.YNc(8,jo,3,0,"mat-tab",3),h.YNc(9,Wo,3,0,"mat-tab",3),h.TgZ(10,"mat-tab",4),h.YNc(11,Ko,2,3,"ng-template",1),h.YNc(12,ta,1,2,"ng-template",2),h.qZA(),h.YNc(13,oa,3,0,"mat-tab",3),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),h.xp6(6),h.Q6J("ngIf",e.memberGroupAttAuth),h.xp6(1),h.Q6J("ngIf",e.memberResourceAttAuth),h.xp6(4),h.Q6J("ngIf",e.userFacilityAttAuth))},directives:[Di.SP,Di.uX,Di.uD,Di.Vc,o.O5,le.t,Ui.Y],pipes:[_.X$],styles:[""]}),t})(),sa=(()=>{class t{constructor(t,e,i,o,a){this.sideMenuService=t,this.voService=e,this.authResolver=i,this.route=o,this.router=a,this.items=[]}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.initItems()})})}initItems(){this.items=[{cssIcon:"perun-resource",url:`/organizations/${this.vo.id}/resources/preview`,label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:`/organizations/${this.vo.id}/resources/tags`,label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:`/organizations/${this.vo.id}/resources/states`,label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.D),h.Y36(l.YF),h.Y36(u.x4),h.Y36(a.gz),h.Y36(a.F0))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-menu-buttons-field",0),h.qZA()),2&t&&(h.xp6(1),h.Q6J("items",e.items)("size","small"))},directives:[k.L],styles:[""]}),t})();var na=i(88227),ra=i(97397),la=i(4230),ca=i(24923);function ua(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function pa(t,e){1&t&&h._UZ(0,"th",15)}function da(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.tagName," ")}}function ga(t,e){1&t&&h._UZ(0,"tr",17)}function ha(t,e){1&t&&h._UZ(0,"tr",18)}function ma(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,pa,1,0,"th",11),h.YNc(10,da,2,1,"td",12),h.BQk(),h.YNc(11,ga,1,0,"tr",13),h.YNc(12,ha,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Aa=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.resourceManager=i,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.tagsForDelete)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;for(const t of this.data.tagsForDelete)this.resourceManager.deleteResourceTag({resourceTag:t}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.dialogRef.close(!0))}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.xk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,ua,1,0,"mat-spinner",1),h.YNc(5,ma,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var Ia=i(60611),Ta=i(59403),fa=i(19139),Ea=i(4196);function Za(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().create()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function ba(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().deleteTag()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function _a(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function Sa(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-resources-tags-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("selection",t.selection)("pageSize",t.pageSize)("resourceTags",t.resourceTag)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)("entity","vo")}}let Na=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.route=t,this.resourceManager=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translator=s,this.authResolver=n,this.voService=r,this.loading=!1,this.resourceTag=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.O7,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.updateData()})})}deleteTag(){const t=(0,c.kZ)();t.width="450px",t.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(Aa,t).afterClosed().subscribe(t=>{t&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateData())})}create(){const t=(0,c.kZ)();t.width="450px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(ca.p,t).afterClosed().subscribe(t=>{t&&(this.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.voId).subscribe(t=>{this.resourceTag=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.xk),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.YF))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.updateData()}),h.qZA(),h.YNc(4,Za,3,3,"button",2),h.YNc(5,ba,3,4,"button",3),h.TgZ(6,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(7,_a,1,0,"mat-spinner",5),h.YNc(8,Sa,1,6,"app-resources-tags-list",6)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),h.xp6(3),h.Q6J("ngIf",e.createAuth),h.xp6(1),h.Q6J("ngIf",e.deleteAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,Ea.o],pipes:[_.X$],styles:[""]}),t})();function Oa(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-expiration-settings",1),h.NdJ("saveAttribute",function(e){return h.CHM(t),h.oxw().saveExpirationAttribute(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("expirationAttribute",t.expirationAttribute)}}let va=(()=>{class t{constructor(t,e,i,o,a){this.attributesManager=t,this.route=e,this.translate=i,this.notificator=o,this.apiRequest=a,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.groupId=t.groupId,this.loadSettings()})}loadSettings(){this.attributesManager.getGroupAttributeByName(this.groupId,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(t=>{this.expirationAttribute=t})}saveExpirationAttribute(t){this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.groupId,attribute:t}).subscribe(()=>{this.loadSettings(),this.notificator.showSuccess(this.successMessage)},t=>this.notificator.showRPCError(t.error,this.errorMessage))}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.H8),h.Y36(a.gz),h.Y36(_.sK),h.Y36(u.V6),h.Y36(u.F5))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&h.YNc(0,Oa,1,1,"app-expiration-settings",0),2&t&&h.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[o.O5,qe],styles:[""]}),t})();function xa(t,e){if(1&t&&h._UZ(0,"app-managers-page",1),2&t){const t=h.oxw();h.Q6J("complementaryObject",t.group)("complementaryObjectType",t.type)("theme",t.theme)("availableRoles",t.availableRoles)}}let Ca=(()=>{class t{constructor(t,e,i){this.groupService=t,this.route=e,this.guiAuthResolver=i,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.ff),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&h.YNc(0,xa,1,4,"app-managers-page",0),2&t&&h.Q6J("ngIf",e.group)},directives:[o.O5,ye.s],styles:[""]}),t})();function La(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function Ra(t,e){1&t&&h._UZ(0,"th",15)}function Ma(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(1),h.hij(" ",i.getMailType(t)," ")}}function Da(t,e){1&t&&h._UZ(0,"tr",17)}function Ua(t,e){1&t&&h._UZ(0,"tr",18)}function qa(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,Ra,1,0,"th",11),h.YNc(10,Ma,2,1,"td",12),h.BQk(),h.YNc(11,Da,1,0,"tr",13),h.YNc(12,Ua,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Pa=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=o,this.registrarService=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.mails)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.groupId)for(const t of this.data.mails)this.registrarService.deleteApplicationMailForGroup(this.data.groupId,t.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1);else for(const t of this.data.mails)this.registrarService.deleteApplicationMailForVo(this.data.voId,t.id).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}getMailType(t){let e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(t=>{e=t}),e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(_.sK),h.Y36(l.tk))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,La,1,0,"mat-spinner",1),h.YNc(5,qa,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var wa=i(10901);function Ga(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function ya(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",8),h.TgZ(1,"div"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-form-field"),h.TgZ(5,"textarea",9),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().mailFooter=e}),h.qZA(),h.qZA(),h.TgZ(6,"div",10),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),h.xp6(3),h.Q6J("cdkTextareaAutosize",!0)("ngModel",t.mailFooter),h.xp6(2),h.Oqu(h.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}let Ya=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.attributesManager=e,this.translateService=i,this.notificator=o,this.data=a,this.mailFooter="",this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}submit(){this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(()=>{this.notificateSuccess(),this.dialogRef.close()},()=>this.loading=!1)}cancel(){this.dialogRef.close()}getFooterForVo(){this.attributesManager.getVoAttributeByName(this.data.voId,p.r.VO_DEF_MAIL_FOOTER).subscribe(t=>{this.mailAttribute=t,this.editAuth=this.mailAttribute.writable,this.mailFooter=t.value?t.value:""})}getFooterForGroup(){this.attributesManager.getGroupAttributeByName(this.data.groupId,p.r.GROUP_DEF_MAIL_FOOTER).subscribe(t=>{this.mailAttribute=t,this.editAuth=this.mailAttribute.writable,this.mailFooter=t.value?t.value:""})}notificateSuccess(){this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close()})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.H8),h.Y36(_.sK),h.Y36(u.V6),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ga,1,0,"mat-spinner",1),h.YNc(5,ya,9,8,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.cancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"div",5),h.ALo(11,"translate"),h.TgZ(12,"button",6),h.NdJ("click",function(){return e.submit()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),h.Q6J("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),h.xp6(2),h.Q6J("disabled",e.loading||!e.editAuth),h.xp6(1),h.hij(" ",h.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[A.uh,o.O5,A.H8,b.lW,E.gM,T.$g,A.xY,Te.KE,Ee.Nt,wa.IC,he.Fj,he.JJ,he.On],pipes:[_.X$],styles:[""]}),t})();var Ja=i(4253);function Va(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",1),h.TgZ(2,"button",2),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().addTag("{"+e[0]+"}")}),h.ALo(3,"translate"),h._uU(4),h.qZA(),h.TgZ(5,"span",3),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.qZA(),h._UZ(8,"mat-divider",4),h.qZA()}if(2&t){const t=e.$implicit;h.xp6(2),h.s9C("matTooltip",h.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),h.xp6(2),h.hij(" ",t[0]," "),h.xp6(2),h.hij(" ",h.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+t[1])," ")}}let Fa=(()=>{class t{constructor(){this.tags=[],this.addedTag=new h.vpe}addTag(t){this.addedTag.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["mat-flat-button","","matTooltipPosition","above",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(t,e){1&t&&h.YNc(0,Va,9,7,"div",0),2&t&&h.Q6J("ngForOf",e.tags)},directives:[o.sg,b.lW,E.gM,ii.d],pipes:[_.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),t})(),Qa=(()=>{class t{constructor(){this.addedTag=new h.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}ngOnInit(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}getApplicationRelatedTags(){const t=[];t.push(["appId","APPID_DESCRIPTION"]),t.push(["actor","ACTOR_DESCRIPTION"]),t.push(["extSource","EXTSOURCE_DESCRIPTION"]),t.push(["voName","VONAME_DESCRIPTION"]),t.push(["groupName","GROUPNAME_DESCRIPTION"]),t.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),t.push(["errors","ERRORS_DESCRIPTION"]),t.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),t.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=t}getUserRelatedTags(){const t=[];t.push(["firstName","FIRSTNAME_DESCRIPTION"]),t.push(["lastName","LASTNAME_DESCRIPTION"]),t.push(["displayName","DISPLAYNAME_DESCRIPTION"]),t.push(["mail","MAIL_DESCRIPTION"]),t.push(["phone","PHONE_DESCRIPTION"]),t.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),t.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=t}getValidationLinksUsersTags(){const t=[];t.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),t.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),t.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),t.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),t.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),t.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=t}getApplicationLinksUsersTags(){const t=[];t.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),t.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),t.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),t.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),t.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=t}getApplicationLinksAdministratorsTags(){const t=[];t.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),t.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),t.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),t.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=t}getPerunLinksAdministratorsTags(){const t=[];t.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),t.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),t.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),t.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=t}getUserInvitationsTags(){const t=[];t.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),t.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),t.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),t.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),t.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),t.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),t.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),t.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),t.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=t}addTag(t){this.addedTag.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(t,e){1&t&&(h.TgZ(0,"app-alert",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div",1),h.TgZ(4,"div",2),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(8,"div",4),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(12,"div",4),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"div",5),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.TgZ(18,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(19,"div",4),h._uU(20),h.ALo(21,"translate"),h.qZA(),h.TgZ(22,"div",5),h._uU(23),h.ALo(24,"translate"),h.qZA(),h.TgZ(25,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(26,"div",4),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"div",5),h._uU(30),h.ALo(31,"translate"),h.qZA(),h.TgZ(32,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(33,"div",4),h._uU(34),h.ALo(35,"translate"),h.qZA(),h.TgZ(36,"div",5),h._uU(37),h.ALo(38,"translate"),h.qZA(),h.TgZ(39,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.TgZ(40,"div",4),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"div",5),h._uU(44),h.ALo(45,"translate"),h.qZA(),h.TgZ(46,"app-tag-section",3),h.NdJ("addedTag",function(t){return e.addTag(t)}),h.qZA(),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),h.xp6(4),h.hij("",h.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),h.xp6(2),h.Q6J("tags",e.applicationRelatedTags),h.xp6(2),h.hij("",h.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),h.xp6(2),h.Q6J("tags",e.userRelatedTags),h.xp6(2),h.hij("",h.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.validationLinksUsersTags),h.xp6(2),h.hij("",h.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.applicationLinksUsersTags),h.xp6(2),h.hij("",h.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.applicationLinksAdministratorsTags),h.xp6(2),h.hij("",h.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.perunLinksAdministratorsTags),h.xp6(2),h.hij("",h.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),h.xp6(3),h.hij(" ",h.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),h.xp6(2),h.Q6J("tags",e.userInvitationsTags))},directives:[pt.w,Ja.PQ,Fa],pipes:[_.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),t})();function ka(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",9),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function za(t,e){1&t&&(h.TgZ(0,"h1",9),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function Ba(t,e){1&t&&h._UZ(0,"mat-spinner",10)}function Ha(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function ja(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function $a(t,e){1&t&&(h.TgZ(0,"mat-option",36),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function Xa(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function Wa(t,e){1&t&&(h.TgZ(0,"div",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function Ka(t,e){1&t&&h._UZ(0,"mat-divider",50)}function ts(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",38),h.TgZ(1,"div",39),h.TgZ(2,"div",40),h.TgZ(3,"button",41),h.NdJ("click",function(){h.CHM(t);const e=h.oxw(3);return e.showTags=!e.showTags}),h._uU(4),h.ALo(5,"translate"),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"span",42),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",18),h.TgZ(11,"input",43,44),h.NdJ("focus",function(){return h.CHM(t),h.oxw(3).isTextFocused=!1})("ngModelChange",function(e){h.CHM(t);const i=h.oxw().$implicit;return h.oxw(2).applicationMail.message[i].subject=e}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(13,"div",45),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"mat-form-field",18),h.TgZ(17,"textarea",46,47),h.NdJ("focus",function(){return h.CHM(t),h.oxw(3).isTextFocused=!0})("ngModelChange",function(e){h.CHM(t);const i=h.oxw().$implicit;return h.oxw(2).applicationMail.message[i].text=e}),h._uU(19," "),h.qZA(),h.qZA(),h.qZA(),h.YNc(20,Ka,1,0,"mat-divider",48),h.TgZ(21,"div"),h.TgZ(22,"app-tag-bar",49),h.NdJ("addedTag",function(e){h.CHM(t);const i=h.MAs(12),o=h.MAs(18),a=h.oxw().$implicit;return h.oxw(2).addTag(i,o,a,e)}),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw().$implicit,e=h.oxw(2);h.xp6(4),h.hij(" ",e.showTags?h.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):h.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),h.xp6(4),h.hij(" ",h.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),h.xp6(3),h.Q6J("ngModel",e.applicationMail.message[t].subject),h.xp6(3),h.hij(" ",h.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),h.xp6(3),h.Q6J("ngModel",e.applicationMail.message[t].text),h.xp6(3),h.Q6J("ngIf",e.showTags),h.xp6(1),h.Q6J("@tagsOpenClose",e.showTags?"open":"closed")}}function es(t,e){1&t&&(h.TgZ(0,"mat-tab",14),h.ALo(1,"translate"),h.ALo(2,"uppercase"),h.YNc(3,ts,23,15,"ng-template",37),h.qZA()),2&t&&h.s9C("label",h.lcZ(1,1,h.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+e.$implicit)))}function is(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",11),h.TgZ(1,"div"),h.TgZ(2,"app-alert",12),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.qZA(),h.TgZ(5,"mat-tab-group",13),h.TgZ(6,"mat-tab",14),h.ALo(7,"translate"),h.TgZ(8,"div",15),h.TgZ(9,"span",16),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"div",17),h.TgZ(13,"mat-form-field",18),h.TgZ(14,"mat-select",19),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.mailType=e})("selectionChange",function(){return h.CHM(t),h.oxw().notificationExist()}),h.TgZ(15,"mat-option",20),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.TgZ(18,"mat-option",21),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-option",22),h._uU(22),h.ALo(23,"translate"),h.qZA(),h.TgZ(24,"mat-option",23),h._uU(25),h.ALo(26,"translate"),h.qZA(),h.TgZ(27,"mat-option",24),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-option",25),h._uU(31),h.ALo(32,"translate"),h.qZA(),h.TgZ(33,"mat-option",26),h._uU(34),h.ALo(35,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(36,"div",27),h._UZ(37,"span",28),h.YNc(38,Ha,3,3,"div",29),h.YNc(39,ja,3,3,"div",29),h.qZA(),h.TgZ(40,"div",15),h.TgZ(41,"span",30),h._uU(42),h.ALo(43,"translate"),h.qZA(),h.TgZ(44,"div",17),h.TgZ(45,"mat-form-field",18),h.TgZ(46,"mat-select",19),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.appType=e})("selectionChange",function(){return h.CHM(t),h.oxw().notificationExist()}),h.TgZ(47,"mat-option",31),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.YNc(50,$a,3,3,"mat-option",32),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(51,"div",27),h._UZ(52,"span",28),h.YNc(53,Xa,3,3,"div",29),h.YNc(54,Wa,3,3,"div",29),h.qZA(),h.TgZ(55,"div",15),h.TgZ(56,"span",30),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.TgZ(59,"div",17),h.TgZ(60,"mat-checkbox",33),h.NdJ("ngModelChange",function(e){return h.CHM(t),h.oxw().applicationMail.send=e}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(61,"div",27),h._UZ(62,"span",28),h.TgZ(63,"div",34),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(66,es,4,5,"mat-tab",35),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("@openClose",t.invalidNotification?"open":"closed"),h.xp6(2),h.Oqu(h.lcZ(4,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),h.xp6(3),h.s9C("label",h.lcZ(7,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),h.xp6(4),h.hij("",h.lcZ(11,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),h.xp6(4),h.Q6J("ngModel",t.applicationMail.mailType)("disabled",!t.data.createMailNotification),h.xp6(2),h.hij(" ",h.lcZ(17,32,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(20,34,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),h.xp6(3),h.hij(" ",h.lcZ(23,36,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),h.xp6(3),h.hij(" ",h.lcZ(26,38,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(29,40,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),h.xp6(3),h.hij(" ",h.lcZ(32,42,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),h.xp6(3),h.hij(" ",h.lcZ(35,44,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),h.xp6(4),h.Q6J("ngIf",!t.data.createMailNotification),h.xp6(1),h.Q6J("ngIf",t.data.createMailNotification),h.xp6(3),h.hij("",h.lcZ(43,46,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),h.xp6(4),h.Q6J("ngModel",t.applicationMail.appType)("disabled",!t.data.createMailNotification),h.xp6(2),h.hij(" ",h.lcZ(49,48,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),h.xp6(2),h.Q6J("ngIf","USER_INVITE"!==t.applicationMail.mailType),h.xp6(3),h.Q6J("ngIf",!t.data.createMailNotification),h.xp6(1),h.Q6J("ngIf",t.data.createMailNotification),h.xp6(3),h.hij("",h.lcZ(58,50,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),h.xp6(3),h.Q6J("ngModel",t.applicationMail.send),h.xp6(4),h.hij(" ",h.lcZ(65,52,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),h.xp6(2),h.Q6J("ngForOf",t.languages)}}function os(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){return h.CHM(t),h.oxw().create()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.invalidNotification||t.loading),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function as(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){return h.CHM(t),h.oxw().save()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.loading||!t.editAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}let ss=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.registrarService=e,this.data=i,this.authResolver=o,this.groupsService=a,this.store=s,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(t=>{this.editAuth=this.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[t])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}cancel(){this.dialogRef.close()}create(){this.notificationExist(),this.invalidNotification||(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}save(){this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}addTag(t,e,i,o){let a;a=this.isTextFocused?e:t;const s=a.selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,s)+o+this.applicationMail.message[i].text.substring(s):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,s)+o+this.applicationMail.message[i].subject.substring(s),a.focus()}notificationExist(){for(const t of this.data.applicationMails)if(t.mailType===this.applicationMail.mailType&&t.appType===this.applicationMail.appType)return void(this.invalidNotification=!0);this.invalidNotification=!1}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.tk),h.Y36(A.WI),h.Y36(u.x4),h.Y36(l.ff),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.YNc(2,ka,4,3,"div",1),h.YNc(3,za,3,3,"ng-template",null,2,h.W1O),h.YNc(5,Ba,1,0,"mat-spinner",3),h.YNc(6,is,67,54,"div",4),h.TgZ(7,"div",5),h.TgZ(8,"button",6),h.NdJ("click",function(){return e.cancel()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.YNc(11,os,3,4,"button",7),h.TgZ(12,"div",8),h.ALo(13,"translate"),h.YNc(14,as,3,4,"button",7),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.MAs(4);h.Gre("",e.theme," h-100"),h.xp6(2),h.Q6J("ngIf",e.data.createMailNotification)("ngIfElse",t),h.xp6(3),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("ngIf",e.data.createMailNotification),h.xp6(1),h.s9C("matTooltip",h.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),h.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),h.xp6(2),h.Q6J("ngIf",!e.data.createMailNotification)}},directives:[o.O5,A.H8,b.lW,E.gM,A.uh,T.$g,A.xY,pt.w,Di.SP,Di.uX,Te.KE,fe.gD,he.JJ,he.On,Ze.ey,be.oG,o.sg,Di.Vc,Ee.Nt,he.Fj,Qa,ii.d],pipes:[_.X$,o.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[r.es,r.BQ]}}),t})();var ns=i(19386);function rs(t,e){1&t&&h._UZ(0,"mat-spinner",9)}let ls=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.voService=e,this.groupService=i,this.translateService=o,this.registrarService=a,this.data=s,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=t=>t.name}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(t=>{this.fakeGroup={id:-1,name:t,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},this.selectedGroup=this.fakeGroup,this.voService.getAllVos().subscribe(t=>{this.vos=t,this.vos=t.sort((t,e)=>t.name>e.name?1:t.namethis.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.loading=!0,this.data.groupId?this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.selectedGroup===this.fakeGroup?this.registrarService.copyMailsFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1):this.registrarService.copyMailsFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}voSelected(t){this.selectedVo=t,this.getGroups()}getGroups(){null!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(t=>{this.groups=[this.fakeGroup].concat(t)}):this.groups=[this.fakeGroup]}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.YF),h.Y36(l.ff),h.Y36(_.sK),h.Y36(l.tk),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-notifications-copy-mails-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,rs,1,0,"mat-spinner",1),h.TgZ(5,"div",2),h.TgZ(6,"div",3),h._uU(7),h.ALo(8,"translate"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.TgZ(11,"perun-web-apps-vo-search-select",4),h.NdJ("voSelected",function(t){return e.voSelected(t)}),h.qZA(),h._uU(12),h.ALo(13,"translate"),h.TgZ(14,"perun-web-apps-group-search-select",5),h.NdJ("groupSelected",function(t){return e.selectedGroup=t}),h.qZA(),h.qZA(),h.TgZ(15,"div",6),h.TgZ(16,"button",7),h.NdJ("click",function(){return e.cancel()}),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.TgZ(19,"button",8),h.NdJ("click",function(){return e.submit()}),h._uU(20),h.ALo(21,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,15,"DIALOGS.NOTIFICATIONS_COPY_MAILS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("hidden",e.loading),h.xp6(2),h.Oqu(h.lcZ(8,17,"DIALOGS.NOTIFICATIONS_COPY_MAILS.DESCRIPTION")),h.xp6(2),h.hij(" ",h.lcZ(10,19,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_VO"),": "),h.xp6(2),h.Q6J("vos",e.vos),h.xp6(1),h.hij(" ",h.lcZ(13,21,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SOURCE_GROUP"),": "),h.xp6(2),h.Q6J("groups",e.groups)("disableAutoSelect",!0),h.xp6(3),h.hij(" ",h.lcZ(18,23,"DIALOGS.NOTIFICATIONS_COPY_MAILS.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("disabled",null===e.selectedVo||null===e.selectedGroup||e.loading),h.xp6(1),h.hij(" ",h.lcZ(21,25,"DIALOGS.NOTIFICATIONS_COPY_MAILS.SUBMIT_BUTTON")," "))},directives:[A.uh,o.O5,A.xY,ns.M,ut.h,A.H8,b.lW,T.$g],pipes:[_.X$],styles:[""],data:{animation:[r.BQ]}}),t})();var cs=i(58623),us=i(82819);function ps(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"th",13),h.TgZ(1,"mat-checkbox",14),h.NdJ("change",function(e){h.CHM(t);const i=h.oxw();return e?i.masterToggle():null}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function ds(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"td",15),h.TgZ(1,"mat-checkbox",16),h.NdJ("change",function(e){const i=h.CHM(t).$implicit,o=h.oxw();return e?o.toggle(i):null})("click",function(t){return t.stopPropagation()}),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function gs(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_ID")," "))}function hs(t,e){if(1&t&&(h.TgZ(0,"td",15),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t.id)}}function ms(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_EMAIL_TYPE")," "))}function As(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.Oqu(i.getMailType(t))}}function Is(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE")," "))}function Ts(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"mat-icon",21),h._uU(2,"arrow_right_alt"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()),2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_INITIAL")," "))}function fs(t,e){1&t&&(h.TgZ(0,"mat-icon",22),h._uU(1,"cached"),h.qZA(),h._uU(2),h.ALo(3,"translate")),2&t&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_APPLICATION_TYPE_EXTENSION")," "))}function Es(t,e){if(1&t&&(h.TgZ(0,"td",18),h.YNc(1,Ts,5,3,"div",19),h.YNc(2,fs,4,3,"ng-template",null,20,h.W1O),h.qZA()),2&t){const t=e.$implicit,i=h.MAs(3);h.xp6(1),h.Q6J("ngIf","INITIAL"===t.appType)("ngIfElse",i)}}function Zs(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TABLE_SENDING_ENABLED")," "))}function bs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"td",18),h.TgZ(1,"section"),h.TgZ(2,"mat-checkbox",23),h.NdJ("change",function(){const e=h.CHM(t).$implicit;return h.oxw().changeSending(e)})("click",function(t){return t.stopPropagation()}),h.ALo(3,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw();h.xp6(2),h.s9C("matTooltip",h.lcZ(3,4,"VO_DETAIL.SETTINGS.NOTIFICATIONS.DISABLED_HINT")),h.Q6J("disabled",i.disableSend)("matTooltipDisabled",!i.disableSend)("ngModel",t.send)}}function _s(t,e){1&t&&h._UZ(0,"tr",24)}function Ss(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"tr",25),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().openApplicationMailDetail(e)}),h.qZA()}2&t&&h.ekj("cursor-pointer",!0)}let Ns=(()=>{class t{constructor(t,e,i,o,a,s){this.registrarService=t,this.translate=e,this.notificator=i,this.dialog=o,this.authResolver=a,this.tableCheckbox=s,this.displayedColumns=["select","id","mailType","appType","send"],this.disableSend=!1,this.selection=new la.Ov(!0,[]),this.pageSize=10,this.selectionChange=new h.vpe,this.page=new h.vpe,this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new st.by(this.applicationMails),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeSending(t){t.send?this.registrarService.setSendingEnabled({mails:[t],enabled:!1}).subscribe(()=>{t.send=!1}):this.registrarService.setSendingEnabled({mails:[t],enabled:!0}).subscribe(()=>{t.send=!0})}openApplicationMailDetail(t){const e=(0,c.kZ)();e.width="1400px",e.height="700px",e.data={theme:this.theme,voId:this.voId,groupId:this.groupId,createMailNotification:!1,applicationMail:t},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.EDIT_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.selectionChange.emit(this.selection),this.update())})}getMailType(t){let e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(t=>{e=t}),e}update(){this.groupId?this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.updateTable(t)}):this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.updateTable(t)})}toggle(t){this.selection.toggle(t),this.selectionChange.emit(this.selection)}updateTable(t){this.applicationMails=t,this.dataSource=new st.by(this.applicationMails),this.setDataSource()}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(_.sK),h.Y36(u.V6),h.Y36(A.uw),h.Y36(u.x4),h.Y36(u.UA))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-notification-list"]],viewQuery:function(t,e){if(1&t&&(h.Gf(cs.YE,7),h.Gf(c.l9,7)),2&t){let t;h.iGM(t=h.CRH())&&(e.matSort=t.first),h.iGM(t=h.CRH())&&(e.child=t.first)}},inputs:{applicationMails:"applicationMails",voId:"voId",groupId:"groupId",displayedColumns:"displayedColumns",disableSend:"disableSend",selection:"selection",pageSize:"pageSize",theme:"theme"},outputs:{selectionChange:"selectionChange",page:"page"},features:[h.TTD],decls:19,vars:7,consts:[[3,"dataLength","hideExport","pageSizeOptions","pageSize","page"],["mat-table","","matSort","","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","mailType"],["mat-cell","",4,"matCellDef"],["matColumnDef","appType"],["matColumnDef","send"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["extension",""],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],[3,"disabled","matTooltipDisabled","ngModel","matTooltip","change","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"perun-web-apps-table-wrapper",0),h.NdJ("page",function(t){return e.page.emit(t)}),h.TgZ(1,"table",1),h.ynx(2,2),h.YNc(3,ps,2,3,"th",3),h.YNc(4,ds,2,2,"td",4),h.BQk(),h.ynx(5,5),h.YNc(6,gs,3,3,"th",6),h.YNc(7,hs,2,1,"td",4),h.BQk(),h.ynx(8,7),h.YNc(9,ms,3,3,"th",6),h.YNc(10,As,2,1,"td",8),h.BQk(),h.ynx(11,9),h.YNc(12,Is,3,3,"th",6),h.YNc(13,Es,4,2,"td",8),h.BQk(),h.ynx(14,10),h.YNc(15,Zs,3,3,"th",6),h.YNc(16,bs,4,6,"td",8),h.BQk(),h.YNc(17,_s,1,0,"tr",11),h.YNc(18,Ss,1,2,"tr",12),h.qZA(),h.qZA()),2&t&&(h.Q6J("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),h.xp6(1),h.Q6J("dataSource",e.dataSource),h.xp6(16),h.Q6J("matHeaderRowDef",e.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",e.displayedColumns))},directives:[us.l,st.BZ,cs.YE,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,be.oG,st.ev,cs.nU,o.O5,f.Hw,E.gM,he.JJ,he.On,st.XQ,st.Gk],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function Os(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().add()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function vs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(t),h.oxw().remove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function xs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(t),h.oxw().changeEmailFooter()}),h.TgZ(1,"i",12),h._uU(2,"email"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "))}function Cs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw().copy()}),h.TgZ(1,"i",12),h._uU(2,"file_copy"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"VO_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function Ls(t,e){1&t&&h._UZ(0,"mat-spinner",14)}function Rs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",15),h.TgZ(1,"app-notification-list",16),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)})("selectionChange",function(e){return h.CHM(t),h.oxw().changeSelection(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("applicationMails",t.applicationMails)("pageSize",t.pageSize)("voId",t.voId)("displayedColumns",t.displayedColumns)("disableSend",!t.addAuth)("selection",t.selection)("theme","vo-theme")}}function Ms(t,e){1&t&&(h.TgZ(0,"app-alert",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS"),"\n"))}let Ds=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.route=t,this.registrarService=e,this.translate=i,this.dialog=o,this.tableConfigService=a,this.notificator=s,this.authResolver=n,this.voService=r,this.store=l,this.loading=!1,this.applicationMails=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.VR,this.displayedColumns=[]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.registrarService.getVoApplicationForm(this.voId).subscribe(t=>{this.applicationForm=t,this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.applicationMails=t,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("vo-deleteMailById_ApplicationForm_Integer_policy",[this.vo]),this.copyAuth=this.authResolver.isAuthorized("copyMailsFromVoToVo_Vo_Vo_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const t=this.store.get("supported_languages"),e=(0,c.i5)(t);e.formId=this.applicationForm.id;const i=(0,c.kZ)();i.width="1400px",i.height="700px",i.data={theme:"vo-theme",voId:this.voId,createMailNotification:!0,applicationMail:e,applicationMails:this.applicationMails},this.dialog.open(ss,i).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}remove(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,mails:this.selection.selected,theme:"vo-theme"},this.dialog.open(Pa,t).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}copy(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(ls,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForVo(this.voId).subscribe(t=>{this.applicationMails=t,this.loading=!1})}changeEmailFooter(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Ya,t)}changeSelection(t){this.selection=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.tk),h.Y36(_.sK),h.Y36(A.uw),h.Y36(Ia.dB),h.Y36(u.V6),h.Y36(u.x4),h.Y36(l.YF),h.Y36(u.d6))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:11,vars:10,consts:[[1,"page-subtitle"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],[3,"alert_type",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["mat-stroked-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[3,"applicationMails","pageSize","voId","displayedColumns","disableSend","selection","theme","page","selectionChange"],[3,"alert_type"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div",1),h.YNc(4,Os,3,3,"button",2),h.YNc(5,vs,3,4,"button",3),h.YNc(6,xs,5,3,"button",4),h.YNc(7,Cs,5,3,"button",5),h.qZA(),h.YNc(8,Ls,1,0,"mat-spinner",6),h.YNc(9,Rs,2,7,"div",7),h.YNc(10,Ms,3,4,"app-alert",8)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,8,"VO_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),h.xp6(3),h.Q6J("ngIf",!e.loading&&e.addAuth),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.removeAuth),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.copyAuth),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",0!==e.applicationMails.length&&!e.loading),h.xp6(1),h.Q6J("ngIf",0===e.applicationMails.length&&!e.loading))},directives:[o.O5,b.lW,T.$g,Ns,pt.w],pipes:[_.X$],styles:[""]}),t})();var Us=i(65423);function qs(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function Ps(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).add()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD")," "))}function ws(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",13),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).remove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.REMOVE")," ")}}function Gs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).copy()}),h.TgZ(1,"i",8),h._uU(2,"file_copy"),h.qZA(),h._uU(3),h.ALo(4,"translate"),h.qZA()}2&t&&(h.xp6(3),h.hij(" ",h.lcZ(4,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.COPY_FROM_VO")," "))}function ys(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",15),h.TgZ(1,"app-notification-list",16),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).pageChanged(e)})("selectionChange",function(e){return h.CHM(t),h.oxw(2).changeSelection(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("disableSend",!t.addAuth)("displayedColumns",t.displayedColumns)("applicationMails",t.applicationMails)("pageSize",t.pageSize)("groupId",t.groupId)("selection",t.selection)("theme","group-theme")}}function Ys(t,e){1&t&&(h.TgZ(0,"app-alert",17),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_EMAILS")," "))}function Js(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",4),h.YNc(2,Ps,3,3,"button",5),h.YNc(3,ws,3,4,"button",6),h.TgZ(4,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().changeEmailFooter()}),h.TgZ(5,"i",8),h._uU(6,"email"),h.qZA(),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.YNc(9,Gs,5,3,"button",9),h.qZA(),h.YNc(10,ys,2,7,"div",10),h.YNc(11,Ys,3,3,"app-alert",11),h.qZA()}if(2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",t.addAuth),h.xp6(1),h.Q6J("ngIf",t.removeAuth),h.xp6(4),h.hij(" ",h.lcZ(8,6,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.EMAIL_FOOTER")," "),h.xp6(2),h.Q6J("ngIf",t.copyAuth),h.xp6(1),h.Q6J("ngIf",0!==t.applicationMails.length),h.xp6(1),h.Q6J("ngIf",0===t.applicationMails.length)}}function Vs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",19),h.NdJ("click",function(){return h.CHM(t),h.oxw(2).createEmptyApplicationForm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.CREATE_APPLICATION_FORM")," "))}function Fs(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",17),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Vs,3,3,"button",18),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.Oqu(h.lcZ(3,2,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.NO_APPLICATION_FORM")),h.xp6(2),h.Q6J("ngIf",t.createFormAuth)}}let Qs=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l,c){this.route=t,this.registrarService=e,this.translate=i,this.dialog=o,this.apiRequest=a,this.tableConfigService=s,this.notificator=n,this.groupsService=r,this.guiAuthResolver=l,this.attributesService=c,this.loading=!1,this.applicationMails=[],this.selection=new la.Ov(!0,[]),this.noApplicationForm=!1,this.editEmailFooterAuth=!1,this.addAuth=!1,this.removeAuth=!1,this.copyAuth=!1,this.createFormAuth=!1,this.displayedColumns=[],this.tableId=Ia.AA}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupsService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.apiRequest.dontHandleErrorForNext(),this.registrarService.getGroupApplicationForm(this.groupId).subscribe(t=>{this.applicationForm=t,this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.applicationMails=t,this.apiRequest.dontHandleErrorForNext(),this.attributesService.getGroupAttributeByName(this.groupId,p.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{this.setAuthRights(),this.loading=!1},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t),this.setAuthRights(),this.loading=!1})})},t=>{"FormNotExistsException"===t.error.name?(this.setAuthRights(),this.loading=!1):this.notificator.showRPCError(t)})})})}setAuthRights(){this.createFormAuth=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.addAuth=this.guiAuthResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("group-deleteMailById_ApplicationForm_Integer_policy",[this.group]),this.copyAuth=this.guiAuthResolver.isAuthorized("copyMailsFromVoToGroup_Vo_Group_boolean_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","mailType","appType","send"]:["id","mailType","appType","send"]}add(){const t=(0,c.i5)();t.formId=this.applicationForm.id;const e=(0,c.kZ)();e.width="1400px",e.height="700px",e.data={theme:"group-theme",voId:this.voId,groupId:this.groupId,createMailNotification:!0,applicationMail:t,applicationMails:this.applicationMails},this.dialog.open(ss,e).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.ADD_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}remove(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,mails:this.selection.selected,theme:"group-theme"},this.dialog.open(Pa,t).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.NOTIFICATIONS.DELETE_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.selection.clear(),this.updateTable())})}copy(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(ls,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable())})}updateTable(){this.loading=!0,this.registrarService.getApplicationMailsForGroup(this.groupId).subscribe(t=>{this.applicationMails=t,this.loading=!1})}changeEmailFooter(){const t=(0,c.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(Ya,t)}changeSelection(t){this.selection=t}createEmptyApplicationForm(){this.registrarService.createApplicationFormInGroup(this.groupId).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.tk),h.Y36(_.sK),h.Y36(A.uw),h.Y36(u.F5),h.Y36(Ia.dB),h.Y36(u.V6),h.Y36(l.ff),h.Y36(u.x4),h.Y36(l.H8))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-notifications"]],hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","d-flex"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"ml-auto",3,"click"],[1,"card","mt-2"],[3,"disableSend","displayedColumns","applicationMails","pageSize","groupId","selection","theme","page","selectionChange"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,qs,1,0,"mat-spinner",1),h.YNc(4,Js,12,8,"div",2),h.YNc(5,Fs,5,4,"div",2)),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,4,"GROUP_DETAIL.SETTINGS.NOTIFICATIONS.TITLE"),"\n"),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.noApplicationForm&&!e.loading),h.xp6(1),h.Q6J("ngIf",e.noApplicationForm&&!e.loading))},directives:[o.O5,T.$g,b.lW,Ns,pt.w],pipes:[_.X$],styles:[""]}),t})();var ks=i(4359);function zs(t,e){1&t&&h._UZ(0,"mat-spinner",8)}function Bs(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",9),h.TgZ(1,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("filterValue",t.filterValue)("selection",t.selection)}}let Hs=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.extSources=[],this.selection=new la.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=Ia.BV}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.data.groupId?this.extSourceService.getVoExtSources(this.data.voId).subscribe(t=>{this.extSources=t.filter(t=>!this.data.extSources.some(({id:e})=>e===t.id)),this.loading=!1},()=>this.loading=!1):this.extSourceService.getExtSources().subscribe(t=>{this.extSources=t.filter(t=>!this.data.extSources.some(({id:e})=>e===t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}addVoExtSource(t){if(0===t.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const e=t.pop();this.extSourceService.addExtSourceWithVoSource(this.data.voId,e.id).subscribe(()=>{this.addVoExtSource(t)},()=>this.loading=!1)}addGroupExtSource(t){if(0===t.length)return void this.translate.get("DIALOGS.ADD_EXT_SOURCES.SUCCESS_ADDED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const e=t.pop();this.extSourceService.addExtSourceWithGroupSource(this.data.groupId,e.id).subscribe(()=>{this.addGroupExtSource(t)},()=>this.loading=!1)}onAdd(){this.loading=!0,this.data.groupId?this.addGroupExtSource(this.selection.selected):this.addVoExtSource(this.selection.selected)}onCancel(){this.dialogRef.close(!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.KG),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-ext-source-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"pageSize","extSources","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.TgZ(2,"h1",1),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.TgZ(5,"perun-web-apps-immediate-filter",2),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.qZA(),h.YNc(6,zs,1,0,"mat-spinner",3),h.YNc(7,Bs,2,4,"div",4),h.TgZ(8,"div",5),h.TgZ(9,"button",6),h.NdJ("click",function(){return e.onCancel()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",7),h.NdJ("click",function(){return e.onAdd()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(3),h.Oqu(h.lcZ(4,10,"DIALOGS.ADD_EXT_SOURCES.TITLE")),h.xp6(2),h.Q6J("placeholder","DIALOGS.ADD_EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(11,12,"DIALOGS.ADD_EXT_SOURCES.CANCEL")," "),h.xp6(2),h.Q6J("disabled",0===e.selection.selected.length||e.loading),h.xp6(1),h.hij(" ",h.lcZ(14,14,"DIALOGS.ADD_EXT_SOURCES.ADD")," "))},directives:[A.uh,fa.L,o.O5,A.H8,b.lW,T.$g,A.xY,ks.D],pipes:[_.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})();function js(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function $s(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1,"id"),h.qZA())}function Xs(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.id," ")}}function Ws(t,e){1&t&&(h.TgZ(0,"th",17),h._uU(1,"name"),h.qZA())}function Ks(t,e){if(1&t&&(h.TgZ(0,"td",18),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.name," ")}}function tn(t,e){1&t&&h._UZ(0,"tr",19)}function en(t,e){1&t&&h._UZ(0,"tr",20)}function on(t,e){if(1&t&&(h.TgZ(0,"div",8),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",9),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",10),h.ynx(8,11),h.YNc(9,$s,2,0,"th",12),h.YNc(10,Xs,2,1,"td",13),h.BQk(),h.ynx(11,14),h.YNc(12,Ws,2,0,"th",12),h.YNc(13,Ks,2,1,"td",13),h.BQk(),h.YNc(14,tn,1,0,"tr",15),h.YNc(15,en,1,0,"tr",16),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.REMOVE_EXT_SOURCES.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.REMOVE_EXT_SOURCES.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.extSources),h.xp6(7),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let an=(()=>{class t{constructor(t,e,i,o,a,s){this.dialogRef=t,this.data=e,this.extSourceService=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.extSources=[],this.displayedColumns=["id","name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.extSources=this.data.extSources}removeVoExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const t=this.extSources.pop();this.extSourceService.removeExtSourceWithVoSource(this.data.voId,t.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}removeGroupExtSource(){if(0===this.extSources.length)return void this.translate.get("DIALOGS.REMOVE_EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)});const t=this.extSources.pop();this.extSourceService.removeExtSourceWithGroupSource(this.data.groupId,t.id).subscribe(()=>{this.onRemove()},()=>this.loading=!1)}onRemove(){this.loading=!0,this.data.groupId?this.removeGroupExtSource():this.removeVoExtSource()}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.KG),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-remove-ext-source-dialog"]],decls:14,vars:14,consts:[["mat-dialog-title",""],[1,"page-subtitle"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"mr-auto","ml-auto"],["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",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div",0),h.TgZ(2,"h1",1),h._uU(3),h.ALo(4,"translate"),h.qZA(),h.qZA(),h.YNc(5,js,1,0,"mat-spinner",2),h.YNc(6,on,16,9,"div",3),h.TgZ(7,"div",4),h.TgZ(8,"button",5),h.NdJ("click",function(){return e.onCancel()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"button",6),h.NdJ("click",function(){return e.onRemove()}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(3),h.Oqu(h.lcZ(4,8,"DIALOGS.REMOVE_EXT_SOURCES.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(10,10,"DIALOGS.REMOVE_EXT_SOURCES.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(13,12,"DIALOGS.REMOVE_EXT_SOURCES.REMOVE")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();function sn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAdd()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function nn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function rn(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function ln(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("selection",t.selection)}}let cn=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.authResolver=n,this.voService=r,this.extSources=[],this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.qV,this.displayedColumns=[],this.translate.get("VO_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.refreshTable()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Vo_ExtSource_policy",[this.vo]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Vo_ExtSource_policy",[this.vo]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getVoExtSources(this.voId).subscribe(t=>{this.extSources=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}onAdd(){const t=(0,c.kZ)();t.width="1000px",t.data={voId:this.voId,extSources:this.extSources,theme:"vo-theme"},this.dialog.open(Hs,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,c.kZ)();t.width="600px",t.data={voId:this.voId,extSources:this.selection.selected,theme:"vo-theme"},this.dialog.open(an,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.KG),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.YF))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,sn,3,3,"button",2),h.YNc(6,nn,3,4,"button",3),h.TgZ(7,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(8,rn,1,0,"mat-spinner",5),h.YNc(9,ln,1,5,"app-ext-sources-list",6),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"VO_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,ks.D],pipes:[_.X$],styles:[""]}),t})();var un=i(78364);function pn(t,e){1&t&&h._UZ(0,"mat-spinner",3)}const dn=function(){return["select","id","name","description"]};function gn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.qZA(),h.TgZ(2,"div",5),h.TgZ(3,"perun-web-apps-groups-list",6),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA(),h.TgZ(4,"div",7),h.TgZ(5,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().onSubmit()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.Tol(t.theme),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),h.xp6(2),h.Q6J("groupsToDisable",t.groupsToDisable)("disableGroups",!0)("pageSize",t.pageSize)("groups",t.groups)("selection",t.selection)("displayedColumns",h.DdM(21,dn))("filter",t.filterValue)("disableHeadCheckbox",!0)("disableRouting",!0)("authType","create-relation-dialog"),h.xp6(3),h.hij(" ",h.lcZ(7,17,"DIALOGS.CREATE_RELATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",t.loading||0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(10,19,"DIALOGS.CREATE_RELATION.CREATE")," ")}}let hn=(()=>{class t{constructor(t,e,i,o,a,s,n){this.dialogRef=t,this.groupService=e,this.notificator=i,this.translate=o,this.tableConfigService=a,this.guiAuthResolver=s,this.data=n,this.selection=new la.Ov(!1,[]),this.filterValue="",this.tableId=Ia.RS,this.groupsToDisable=new Set,o.get("DIALOGS.CREATE_RELATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.groupService.getGroupUnions(this.data.group.id,!this.data.reverse).subscribe(t=>{t=t.concat(this.data.groups),this.groupService.getAllGroups(this.data.voId).subscribe(e=>{const i=t.map(t=>t.id);this.groups=e.filter(t=>!i.includes(t.id)&&t.id!==this.data.group.id),this.setGroupsToDisable(),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.groupService.createGroupUnion(this.data.group.id,this.selection.selected[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}setGroupsToDisable(){for(const t of this.groups)this.guiAuthResolver.isAuthorized("createGroupUnion_Group_Group_policy",[this.data.group,t])||this.groupsToDisable.add(t.id)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(l.ff),h.Y36(u.V6),h.Y36(_.sK),h.Y36(Ia.dB),h.Y36(u.x4),h.Y36(A.WI))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-create-relation-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"class",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"placeholder","filter"],["mat-dialog-content","",1,"dialog-container"],[3,"groupsToDisable","disableGroups","pageSize","groups","selection","displayedColumns","filter","disableHeadCheckbox","disableRouting","authType","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div"),h.YNc(4,pn,1,0,"mat-spinner",1),h.qZA(),h.YNc(5,gn,11,22,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"DIALOGS.CREATE_RELATION.TITLE")),h.xp6(2),h.Tol(e.theme),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[A.uh,o.O5,T.$g,fa.L,A.xY,un.W,A.H8,b.lW],pipes:[_.X$],styles:[""]}),t})();function mn(t,e){1&t&&h._UZ(0,"mat-spinner",6)}function An(t,e){1&t&&h._UZ(0,"th",15)}function In(t,e){if(1&t&&(h.TgZ(0,"td",16),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.name," ")}}function Tn(t,e){1&t&&h._UZ(0,"tr",17)}function fn(t,e){1&t&&h._UZ(0,"tr",18)}function En(t,e){if(1&t&&(h.TgZ(0,"div",7),h.TgZ(1,"p"),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",8),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"table",9),h.ynx(8,10),h.YNc(9,An,1,0,"th",11),h.YNc(10,In,2,1,"td",12),h.BQk(),h.YNc(11,Tn,1,0,"tr",13),h.YNc(12,fn,1,0,"tr",14),h.qZA(),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.REMOVE_RELATION.DESCRIPTION")," "),h.xp6(3),h.hij(" ",h.lcZ(6,7,"DIALOGS.REMOVE_RELATION.ASK")," "),h.xp6(2),h.Q6J("dataSource",t.dataSource),h.xp6(4),h.Q6J("matHeaderRowDef",t.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",t.displayedColumns)}}let Zn=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.notificator=i,this.groupService=o,this.translate=a,this.displayedColumns=["name"],a.get("DIALOGS.REMOVE_RELATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new st.by(this.data.groups)}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,1===this.data.groups.length)this.groupService.removeGroupUnion(this.data.reverse?this.data.groups[0].id:this.data.groupId,this.data.reverse?this.data.groupId:this.data.groups[0].id).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1);else{const t=this.data.reverse?this.data.groups.shift().id:this.data.groupId,e=this.data.reverse?this.data.groupId:this.data.groups.shift().id;this.groupService.removeGroupUnion(t,e).subscribe(()=>{this.onSubmit(),this.dialogRef.close(!0)},()=>this.loading=!1)}}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(u.V6),h.Y36(l.ff),h.Y36(_.sK))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-remove-relation-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,mn,1,0,"mat-spinner",1),h.YNc(5,En,13,9,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onSubmit()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.REMOVE_RELATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.REMOVE_RELATION.CANCEL")," "),h.xp6(2),h.Q6J("disabled",e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.REMOVE_RELATION.DELETE")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,st.BZ,st.w1,st.fO,st.Dz,st.as,st.nj,st.ge,st.ev,st.XQ,st.Gk],pipes:[_.X$],styles:[""]}),t})();var bn=i(10896);const _n=["list"];function Sn(t,e){1&t&&h._UZ(0,"mat-spinner",8)}const Nn=function(){return["select","id","vo","name","description"]};function On(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",9,10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("groups",t.groups)("parentGroup",t.group)("authType","group-relations")("selection",t.selection)("filter",t.filterValue)("displayedColumns",h.DdM(8,Nn))("disableHeadCheckbox",!0)}}let vn=(()=>{class t{constructor(t,e,i,o){this.route=t,this.groupService=e,this.tableConfigService=i,this.dialog=o,this.selection=new la.Ov(!0,[]),this.groups=[],this.reverse=!1,this.filterValue="",this.tableId=Ia._7}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.groupId=t.groupId,this.voId=t.voId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.refreshTable()})})}onCreate(){const t=(0,c.kZ)();t.width="1050px",t.data={groups:this.groups,theme:"group-theme",group:this.group,voId:this.voId,reverse:this.reverse},this.dialog.open(hn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,c.kZ)();t.width="450px",t.data={groups:this.selection.selected,theme:"group-theme",groupId:+this.groupId,reverse:this.reverse},this.dialog.open(Zn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getGroupUnions(this.groupId,this.reverse).subscribe(t=>{this.groups=t,this.selection.clear(),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}showReverseUnions(){this.reverse=!this.reverse,this.refreshTable()}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff),h.Y36(Ia.dB),h.Y36(A.uw))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-relations"]],viewQuery:function(t,e){if(1&t&&h.Gf(_n,5),2&t){let t;h.iGM(t=h.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&h.ekj("router-component",e.true)},decls:18,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"matTooltip","matTooltipDisabled","disabled","click"],[3,"placeholder","filter"],[3,"change"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","groups","parentGroup","authType","selection","filter","displayedColumns","disableHeadCheckbox","page"],["list",""]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.TgZ(5,"button",2),h.NdJ("click",function(){return e.onCreate()}),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"button",3),h.NdJ("click",function(){return e.onDelete()}),h.ALo(9,"translate"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.TgZ(13,"mat-checkbox",5),h.NdJ("change",function(){return e.showReverseUnions()}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.YNc(16,Sn,1,0,"mat-spinner",6),h.YNc(17,On,2,9,"perun-web-apps-groups-list",7),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"GROUP_DETAIL.SETTINGS.RELATIONS.TITLE")),h.xp6(4),h.hij(" ",h.lcZ(7,12,"GROUP_DETAIL.SETTINGS.RELATIONS.CREATE")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,14,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE_TOOLTIP")),h.Q6J("matTooltipDisabled",0===e.selection.selected.length||void 0!==e.list&&e.list.removeAuth)("disabled",0===e.selection.selected.length||void 0!==e.list&&!e.list.removeAuth),h.xp6(2),h.hij(" ",h.lcZ(11,16,"GROUP_DETAIL.SETTINGS.RELATIONS.DELETE")," "),h.xp6(2),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.RELATIONS.FILTER"),h.xp6(2),h.Oqu(h.lcZ(15,18,"GROUP_DETAIL.SETTINGS.RELATIONS.REVERSE_UNIONS")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,b.lW,E.gM,fa.L,be.oG,o.O5,T.$g,un.W],pipes:[_.X$],styles:[""]}),t})();var xn=i(21548),Cn=i(29851);function Ln(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",6),h.NdJ("click",function(){return h.CHM(t),h.oxw().showAllDetails=!0}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_ALL_DETAILS")," "))}function Rn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",6),h.NdJ("click",function(){return h.CHM(t),h.oxw().showAllDetails=!1}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.APPLICATIONS.SHOW_LESS_DETAILS")," "))}function Mn(t,e){1&t&&h._UZ(0,"mat-spinner",7)}function Dn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-applications-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)("displayedColumns",t.displayedColumns)}}function Un(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-perun-web-apps-application-list-details",11),h.NdJ("page",function(e){return h.CHM(t),h.oxw(2).detailPageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw(2);h.Q6J("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)("member",t.member)}}function qn(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Dn,1,5,"app-applications-list",8),h.YNc(2,Un,1,4,"app-perun-web-apps-application-list-details",9),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("ngIf",!t.showAllDetails),h.xp6(1),h.Q6J("ngIf",t.showAllDetails)}}let Pn=(()=>{class t{constructor(t,e,i,o){this.registrarManager=t,this.memberManager=e,this.tableConfigService=i,this.route=o,this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=Ia.d7,this.tableId=Ia.vq}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberManager.getMemberById(this.memberId).subscribe(t=>{this.member=t}),this.registrarManager.getApplicationsForMember(this.memberId).subscribe(t=>{this.applications=t,this.loading=!1})})}refreshTable(){this.loading=!0,this.registrarManager.getApplicationsForMember(this.memberId).subscribe(t=>{this.applications=t,this.loading=!1})}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.tk),h.Y36(l.uq),h.Y36(Ia.dB),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-applications"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","member","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","member","page",4,"ngIf"],[3,"pageSize","filterValue","applications","member","displayedColumns","page"],[3,"pageSize","filterValue","applications","member","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"div"),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,Ln,3,3,"button",2),h.YNc(6,Rn,3,3,"button",2),h.TgZ(7,"perun-web-apps-immediate-filter",3),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.qZA(),h.YNc(8,Mn,1,0,"mat-spinner",4),h.YNc(9,qn,3,2,"div",5)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"MEMBER_DETAIL.APPLICATIONS.TITLE")),h.xp6(4),h.Q6J("ngIf",!e.showAllDetails),h.xp6(1),h.Q6J("ngIf",e.showAllDetails),h.xp6(1),h.Q6J("placeholder","MEMBER_DETAIL.APPLICATIONS.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,xn.M,Cn.w],pipes:[_.X$],styles:[""]}),t})();var wn=i(56238),Gn=i(79996),yn=i(70663),Yn=i(40084);function Jn(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECT_RESOURCE"))}function Vn(t,e){1&t&&h._UZ(0,"mat-spinner",13)}function Fn(t,e){if(1&t&&(h.TgZ(0,"mat-option",24),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function Qn(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-option",25),h.NdJ("click",function(){const e=h.CHM(t).$implicit,i=h.oxw(2),o=h.MAs(6);return i.setResource(e),o.selected.completed=!0}),h._uU(1),h.qZA()}if(2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t.name," ")}}function kn(t,e){if(1&t&&(h.TgZ(0,"div",22),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.Oqu(t.name)}}function zn(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"div"),h.TgZ(2,"mat-form-field",14),h._UZ(3,"input",15),h.ALo(4,"translate"),h.TgZ(5,"mat-autocomplete",16,17),h.YNc(7,Fn,2,2,"mat-option",18),h.ALo(8,"async"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(9,"div"),h.TgZ(10,"mat-form-field",14),h.TgZ(11,"mat-select",19),h.ALo(12,"translate"),h.YNc(13,Qn,2,2,"mat-option",20),h.ALo(14,"async"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(15,"div"),h.TgZ(16,"span",21),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.TgZ(19,"div",22),h._uU(20),h.qZA(),h.qZA(),h.TgZ(21,"div"),h.TgZ(22,"span",21),h._uU(23),h.ALo(24,"translate"),h.qZA(),h.YNc(25,kn,2,1,"div",23),h.qZA(),h.qZA()),2&t){const t=h.MAs(6),e=h.oxw();h.xp6(3),h.s9C("placeholder",h.lcZ(4,10,"DIALOGS.ADD_MEMBER_TO_RESOURCE.FILTER")),h.Q6J("formControl",e.facilityCtrl)("matAutocomplete",t),h.xp6(4),h.Q6J("ngForOf",h.lcZ(8,12,e.filteredFacilities)),h.xp6(4),h.s9C("placeholder",h.lcZ(12,14,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SELECTED")),h.xp6(2),h.Q6J("ngForOf",h.lcZ(14,16,e.filteredResources)),h.xp6(4),h.Oqu(h.lcZ(18,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.DESCRIPTION")),h.xp6(3),h.hij(" ",e.description," "),h.xp6(3),h.Oqu(h.lcZ(24,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SERVICES")),h.xp6(2),h.Q6J("ngForOf",e.services)}}function Bn(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.ADD_GROUP"))}function Hn(t,e){1&t&&h._UZ(0,"mat-spinner",13)}const jn=function(){return["select","id","name","description"]};function $n(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"perun-web-apps-groups-list",26),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("disableGroups",!0)("disableHeadCheckbox",!0)("disableRouting",!0)("groupsToDisable",t.membersGroupsId)("groups",t.groups)("displayedColumns",h.DdM(7,jn))("selection",t.selectedGroups)}}function Xn(t,e){1&t&&(h.TgZ(0,"app-alert",27),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.ADD_MEMBER_TO_RESOURCE.NO_GROUPS")," "))}let Wn=(()=>{class t{constructor(t,e,i,o,a,s,n){this.dialogRef=t,this.data=e,this.resourceManager=i,this.groupManager=o,this.notificator=a,this.translate=s,this.authResolver=n,this.loading=!1,this.processing=!1,this.membersGroupsId=new Set,this.facilityCtrl=new he.NI,this.facilitiesNames=[],this.resources=[],this.selectedResource=null,this.services=[],this.description="",this.groups=[],this.selectedGroups=new la.Ov(!1,[])}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.resourceManager.getRichResources(this.data.voId).subscribe(t=>{this.resources=t,this.getResourceFacilities(),this.loading=!1},()=>this.loading=!1)}getResourceFacilities(){const t=new Set;for(const e of this.resources)t.add(e.facility.name);this.facilitiesNames=Array.from(t),this.filteredFacilities=this.facilityCtrl.valueChanges.pipe((0,wn.O)(""),(0,Gn.U)(t=>this.filterFacilities(t))),this.filteredResources=this.facilityCtrl.valueChanges.pipe((0,wn.O)(""),(0,Gn.U)(t=>this.filterResources(t)))}filterFacilities(t){const e=t.toLowerCase();return this.facilitiesNames.filter(t=>t.toLowerCase().indexOf(e)>=0).sort((t,e)=>t.toLowerCase().localeCompare(e.toLowerCase()))}filterResources(t){if(null==t)return this.resources;const e=t.toLowerCase();return this.resources.filter(t=>0===t.facility.name.toLowerCase().indexOf(e)).sort((t,e)=>t.name.toLowerCase().localeCompare(e.name.toLowerCase()))}setResource(t){this.processing=!0,this.selectedResource=t,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(t=>{this.services=t,this.processing=!1},()=>this.processing=!1),this.description=this.selectedResource.description}loadGroups(){this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(t=>{this.groups=t,this.groupManager.getAllMemberGroups(this.data.memberId).subscribe(t=>{this.membersGroupsId=new Set(t.map(t=>t.id)),this.groups.forEach(t=>{this.authResolver.isAuthorized("addMember_Group_Member_policy",[t])||this.membersGroupsId.add(t.id)}),this.processing=!1},()=>this.processing=!1)})}onFinish(){this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),this.dialogRef.close(!0)},()=>this.processing=!1)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.xk),h.Y36(l.ff),h.Y36(u.V6),h.Y36(_.sK),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-member-to-resource-dialog"]],decls:30,vars:26,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto",3,"click"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisable","groups","displayedColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-horizontal-stepper",2,3),h.TgZ(7,"mat-step",4),h.YNc(8,Jn,2,3,"ng-template",5),h.YNc(9,Vn,1,0,"mat-spinner",6),h.YNc(10,zn,26,22,"div",7),h.TgZ(11,"div",8),h.TgZ(12,"button",9),h.NdJ("click",function(){return e.onCancel()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"button",10),h.NdJ("click",function(){return e.loadGroups()}),h._uU(16),h.ALo(17,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(18,"mat-step"),h.YNc(19,Bn,2,3,"ng-template",5),h.YNc(20,Hn,1,0,"mat-spinner",6),h.YNc(21,$n,2,8,"div",7),h.YNc(22,Xn,3,3,"app-alert",11),h.TgZ(23,"div",8),h.TgZ(24,"button",12),h.NdJ("click",function(){return e.selectedGroups.clear()}),h._uU(25),h.ALo(26,"translate"),h.qZA(),h.TgZ(27,"button",10),h.NdJ("click",function(){return e.onFinish()}),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),h.xp6(3),h.Q6J("linear",!0),h.xp6(4),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.Oqu(h.lcZ(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),h.xp6(2),h.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),h.xp6(1),h.Oqu(h.lcZ(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),h.xp6(4),h.Q6J("ngIf",e.processing),h.xp6(1),h.Q6J("ngIf",0!==e.groups.length&&!e.processing),h.xp6(1),h.Q6J("ngIf",0===e.groups.length&&!e.processing),h.xp6(3),h.hij(" ",h.lcZ(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),h.xp6(2),h.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),h.xp6(1),h.hij(" ",h.lcZ(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[A.uh,A.xY,yn.Vq,yn.C0,yn.VY,o.O5,A.H8,b.lW,yn.Ic,yn.fd,T.$g,Te.KE,Ee.Nt,he.Fj,Yn.ZL,he.JJ,he.oH,Yn.XC,o.sg,fe.gD,Ze.ey,un.W,pt.w],pipes:[_.X$,o.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t})();var Kn=i(88884);function tr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-refresh-button",6),h.NdJ("refresh",function(){return h.CHM(t),h.oxw().refreshTable()}),h.qZA()}}function er(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().addResource()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function ir(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-immediate-filter",8),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.qZA()}2&t&&h.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function or(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-resources-list",9),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("displayedColumns",t.displayedColumns)("routingVo",!0)("disableRouting",!t.routeAuth)("resources",t.resources)}}function ar(t,e){1&t&&h._UZ(0,"mat-spinner",10)}let sr=(()=>{class t{constructor(t,e,i,o,a,s){this.dialog=t,this.tableConfigService=e,this.memberManager=i,this.resourceManager=o,this.route=a,this.authResolver=s,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=Ia.aL}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.memberManager.getMemberById(t.memberId).subscribe(t=>{this.member=t,this.refreshTable()})})}addResource(){const t=(0,c.kZ)();t.width="1200px",t.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(Wn,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(t=>{this.resources=t,this.setAuthRights(),this.loading=!1})}setAuthRights(){const t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[t]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[t,this.resources[0]]))}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.uw),h.Y36(Ia.dB),h.Y36(l.uq),h.Y36(l.xk),h.Y36(a.gz),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-member-resources"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mr-2",3,"placeholder","filter",4,"ngIf"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],[1,"mr-2",3,"placeholder","filter"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,tr,1,0,"perun-web-apps-refresh-button",1),h.YNc(5,er,3,3,"button",2),h.YNc(6,ir,1,1,"perun-web-apps-immediate-filter",3),h.YNc(7,or,1,6,"perun-web-apps-resources-list",4),h.qZA(),h.YNc(8,ar,1,0,"mat-spinner",5)),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),h.xp6(2),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading&&e.addAuth),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",e.loading))},directives:[o.O5,Ta.t,b.lW,fa.L,Kn.C,T.$g],pipes:[_.X$],styles:[""]}),t})();var nr=i(72920),rr=i(76527),lr=i(42473),cr=i(77968),ur=i(22927),pr=i(79472),dr=i(64359),gr=i(8705),hr=i(95142),mr=i(48666);function Ar(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAdd()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Ir(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemove()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Tr(t,e){1&t&&h._UZ(0,"mat-spinner",9)}function fr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"app-ext-sources-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("pageSize",t.pageSize)("extSources",t.extSources)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("selection",t.selection)}}let Er=(()=>{class t{constructor(t,e,i,o,a,s,n,r){this.extSourceService=t,this.route=e,this.dialog=i,this.notificator=o,this.tableConfigService=a,this.translate=s,this.authResolver=n,this.groupService=r,this.extSources=[],this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(t=>this.successMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.refreshTable()})})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}refreshTable(){this.loading=!0,this.extSourceService.getGroupExtSources(this.groupId).subscribe(t=>{this.extSources=t,this.selection.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}onAdd(){const t=(0,c.kZ)();t.width="1000px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(Hs,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onRemove(){const t=(0,c.kZ)();t.width="600px",t.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(an,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.KG),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.V6),h.Y36(Ia.dB),h.Y36(_.sK),h.Y36(u.x4),h.Y36(l.ff))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refreshTable()}),h.qZA(),h.YNc(5,Ar,3,3,"button",2),h.YNc(6,Ir,3,4,"button",3),h.TgZ(7,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(8,Tr,1,0,"mat-spinner",5),h.YNc(9,fr,1,5,"app-ext-sources-list",6),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,ks.D],pipes:[_.X$],styles:[""]}),t})();function Zr(t,e){1&t&&h._UZ(0,"th",9)}function br(t,e){if(1&t&&(h.TgZ(0,"td",10),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t,": ")}}function _r(t,e){1&t&&h._UZ(0,"th",9)}function Sr(t,e){if(1&t&&(h.TgZ(0,"td",11),h._uU(1),h.qZA()),2&t){const t=e.$implicit,i=h.oxw();h.xp6(1),h.hij(" ",i.statistics.get(t.toLowerCase())," ")}}function Nr(t,e){1&t&&h._UZ(0,"tr",12)}let Or=(()=>{class t{constructor(){this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}ngOnInit(){this.dataSource=new st.by(this.rowNames)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(t,e){1&t&&(h.TgZ(0,"mat-card",0),h.TgZ(1,"mat-card-header"),h.TgZ(2,"mat-card-title"),h.TgZ(3,"h1",1),h._uU(4),h.ALo(5,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"mat-card-content"),h.TgZ(7,"table",2),h.ynx(8,3),h.YNc(9,Zr,1,0,"th",4),h.YNc(10,br,2,1,"td",5),h.BQk(),h.ynx(11,6),h.YNc(12,_r,1,0,"th",4),h.YNc(13,Sr,2,1,"td",7),h.BQk(),h.YNc(14,Nr,1,0,"tr",8),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.xp6(4),h.Oqu(h.lcZ(5,3,e.title)),h.xp6(3),h.Q6J("dataSource",e.dataSource),h.xp6(7),h.Q6J("matRowDefColumns",e.displayedColumns))},directives:[lt.a8,lt.dk,lt.n5,lt.dn,st.BZ,st.w1,st.fO,st.Dz,st.nj,st.ge,st.ev,st.Gk],pipes:[_.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t})();function vr(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function xr(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-statistics-card",4),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("rowNames",t.rowNames)("statistics",t.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}let Cr=(()=>{class t{constructor(t,e){this.voService=t,this.route=e,this.loading=!1,this.dataSource=new st.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.dataSource=new st.by(this.rowNames),this.voService.getVoMembersCountsByStatus(this.voId).subscribe(t=>{this.allMembersCount=0;for(const e of Object.keys(t))this.membersCount.set(e.toLowerCase(),t[e]),this.allMembersCount+=t[e];this.membersCount.set("members",this.allMembersCount),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.YF),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,vr,1,0,"mat-spinner",1),h.YNc(4,xr,2,3,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,3,"VO_DETAIL.STATISTICS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Or],pipes:[_.X$],styles:[""]}),t})();function Lr(t,e){1&t&&h._UZ(0,"mat-spinner",3)}function Rr(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-statistics-card",4),h._UZ(2,"app-statistics-card",4),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Q6J("rowNames",t.voStatusCountsRowNames)("statistics",t.membersCountsByVoStatus)("title","GROUP_DETAIL.STATISTICS.VO_STATUS_COUNT"),h.xp6(1),h.Q6J("rowNames",t.groupStatusCountsRowNames)("statistics",t.membersCountsByGroupStatus)("title","GROUP_DETAIL.STATISTICS.GROUP_STATUS_COUNT")}}let Mr=(()=>{class t{constructor(t,e){this.route=t,this.groupService=e,this.loading=!1,this.voStatusCountsRowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCountsByVoStatus=new Map,this.groupStatusCountsRowNames=["Members","Valid","Expired"],this.membersCountsByGroupStatus=new Map}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.groupService.getGroupMembersCount(this.groupId).subscribe(t=>{this.membersCountsByVoStatus.set("members",t),this.membersCountsByGroupStatus.set("members",t),this.groupService.getGroupMembersCountsByVoStatus(this.groupId).subscribe(t=>{Object.entries(t).forEach(([t,e])=>this.membersCountsByVoStatus.set(t.toLowerCase(),e)),this.groupService.getGroupMembersCountsByGroupStatus(this.groupId).subscribe(t=>{Object.entries(t).forEach(([t,e])=>this.membersCountsByGroupStatus.set(t.toLowerCase(),e)),this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.gz),h.Y36(l.ff))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-group-statistics"]],decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"rowNames","statistics","title"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,Lr,1,0,"mat-spinner",1),h.YNc(4,Rr,3,6,"div",2)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,3,"GROUP_DETAIL.STATISTICS.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[o.O5,T.$g,Or],pipes:[_.X$],styles:[""]}),t})();var Dr=i(91058);function Ur(t,e){1&t&&h._UZ(0,"mat-spinner",6)}const qr=function(){return["select","id","name","description"]};function Pr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",7),h.TgZ(1,"perun-web-apps-debounce-filter",8),h.NdJ("filter",function(e){return h.CHM(t),h.oxw().applyFilter(e)}),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-groups-list",9),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.s9C("placeholder",h.lcZ(2,8,"DIALOGS.ADD_GROUP_TO_REGISTRATION.FILTER_DESCRIPTION")),h.xp6(2),h.Q6J("pageSize",t.pageSize)("groups",t.unAssignedGroups)("selection",t.selection)("filter",t.filterValue)("displayedColumns",h.DdM(10,qr))("disableRouting",!0)("disableMembers",!0)}}let wr=(()=>{class t{constructor(t,e,i,o,a){this.dialogRef=t,this.data=e,this.groupService=i,this.registrarService=o,this.tableConfigService=a,this.loading=!1,this.selection=new la.Ov(!0,[]),this.filterValue="",this.tableId=Ia.Is}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.groupService.getAllGroups(this.data.voId).subscribe(t=>{this.unAssignedGroups=t.filter(t=>this.data.assignedGroups.indexOf(t.id)<=-1),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.loading=!0,this.registrarService.addGroupsToAutoRegistration(this.selection.selected.map(t=>t.id)).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.ff),h.Y36(l.tk),h.Y36(Ia.dB))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-add-group-to-registration"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(t,e){1&t&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Ur,1,0,"mat-spinner",1),h.YNc(5,Pr,4,11,"div",2),h.TgZ(6,"div",3),h.TgZ(7,"button",4),h.NdJ("click",function(){return e.onCancel()}),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"button",5),h.NdJ("click",function(){return e.onAdd()}),h._uU(11),h.ALo(12,"translate"),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.Tol(e.theme),h.xp6(2),h.Oqu(h.lcZ(3,9,"DIALOGS.ADD_GROUP_TO_REGISTRATION.TITLE")),h.xp6(2),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading),h.xp6(3),h.hij(" ",h.lcZ(9,11,"DIALOGS.ADD_GROUP_TO_REGISTRATION.CANCEL_BUTTON")," "),h.xp6(2),h.Q6J("disabled",0===e.selection.selected.length||e.loading),h.xp6(1),h.hij(" ",h.lcZ(12,13,"DIALOGS.ADD_GROUP_TO_REGISTRATION.ADD_BUTTON")," "))},directives:[A.uh,o.O5,A.H8,b.lW,T.$g,A.xY,Dr.P,un.W],pipes:[_.X$],styles:[""]}),t})();const Gr=["list"];function yr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",9),h.NdJ("click",function(){return h.CHM(t),h.oxw().onAddGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.ADD"),"\n"))}function Yr(t,e){1&t&&h._UZ(0,"mat-spinner",10)}const Jr=function(){return["select","id","name","description"]};function Vr(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",11,12),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("selection",t.selected)("pageSize",t.pageSize)("displayedColumns",h.DdM(7,Jr))("disableRouting",!0)("filter",t.filterValue)("authType","application-form-manage-groups")("groups",t.groups)}}let Fr=(()=>{class t{constructor(t,e,i,o,a){this.tableConfigService=t,this.registrarService=e,this.authResolver=i,this.dialog=o,this.route=a,this.groups=[],this.selected=new la.Ov(!0,[]),this.tableId=Ia.CE,this.filterValue=""}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.loadGroups()})}loadGroups(){this.loading=!0,this.registrarService.getGroupsToAutoRegistration(this.voId).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}onAddGroup(){const t=(0,c.kZ)();t.width="900px",t.data={voId:this.voId,assignedGroups:this.groups.map(t=>t.id),theme:"vo-theme"},this.dialog.open(wr,t).afterClosed().subscribe(t=>{t&&this.loadGroups()})}removeGroup(){const t=(0,c.kZ)();t.width="450px",t.data={items:this.selected.selected.map(t=>t.name),title:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_TITLE",description:"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_GROUP_DIALOG_DESCRIPTION",theme:"vo-theme"},this.dialog.open(d.Tf,t).afterClosed().subscribe(t=>{t&&this.registrarService.deleteGroupsFromAutoRegistration(this.selected.selected.map(t=>t.id)).subscribe(()=>{this.loadGroups()})})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[{id:this.voId,beanName:"Vo"}])}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(Ia.dB),h.Y36(l.tk),h.Y36(u.x4),h.Y36(A.uw),h.Y36(a.gz))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){if(1&t&&h.Gf(Gr,5),2&t){let t;h.iGM(t=h.CRH())&&(e.list=t.first)}},decls:17,vars:22,consts:[[1,"page-subtitle"],[3,"alert_type"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"app-alert",1),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"perun-web-apps-refresh-button",2),h.NdJ("refresh",function(){return e.loadGroups()}),h.qZA(),h.YNc(8,yr,3,3,"button",3),h.TgZ(9,"span",4),h.ALo(10,"translate"),h.TgZ(11,"button",5),h.NdJ("click",function(){return e.removeGroup()}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.qZA(),h.TgZ(14,"perun-web-apps-immediate-filter",6),h.NdJ("filter",function(t){return e.filterValue=t}),h.qZA(),h.YNc(15,Yr,1,0,"mat-spinner",7),h.YNc(16,Vr,2,8,"perun-web-apps-groups-list",8)),2&t&&(h.xp6(1),h.AsE(" ",h.lcZ(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",h.lcZ(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),h.xp6(3),h.Q6J("alert_type","info"),h.xp6(1),h.hij(" ",h.lcZ(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),h.xp6(3),h.Q6J("ngIf",e.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),h.xp6(2),h.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[pt.w,Ta.t,o.O5,E.gM,b.lW,fa.L,T.$g,un.W],pipes:[_.X$],styles:[""]}),t})();var Qr=i(53134),kr=i(47701),zr=i(90611),Br=i(44689),Hr=i(85250),jr=i(4252);function $r(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function Xr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function Wr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function Kr(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function tl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function el(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function il(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function ol(t,e){if(1&t&&(h.TgZ(0,"mat-option",37),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.Q6J("value",t),h.xp6(1),h.hij(" ",t," ")}}function al(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function sl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function nl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function rl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function ll(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function cl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_WEAK")))}function ul(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_SHORT")))}function pl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function dl(t,e){1&t&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_DONT_MATCH")))}function gl(t,e){1&t&&(h._uU(0),h.ALo(1,"translate")),2&t&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function hl(t,e){if(1&t&&(h.TgZ(0,"span",43),h._uU(1),h.qZA()),2&t){const t=h.oxw().$implicit;h.xp6(1),h.hij("#",t.id,"")}}function ml(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-list-item"),h.TgZ(1,"p",38),h._uU(2),h.ALo(3,"userFullName"),h.YNc(4,hl,2,1,"span",39),h.TgZ(5,"span",40),h.ALo(6,"translate"),h.TgZ(7,"button",41),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw(2).removeUser(e)}),h.TgZ(8,"mat-icon",42),h._uU(9,"close"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=e.$implicit,i=h.oxw(2);h.xp6(2),h.hij("",h.lcZ(3,5,t.user)," "),h.xp6(2),h.Q6J("ngIf",t.id),h.xp6(1),h.Q6J("matTooltipDisabled",i.assignedMembers.length>1)("matTooltip",h.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),h.xp6(2),h.Q6J("disabled",1===i.assignedMembers.length)}}function Al(t,e){1&t&&h._UZ(0,"mat-spinner",44)}const Il=function(){return["checkbox","id","fullName"]};function Tl(t,e){if(1&t&&h._UZ(0,"perun-web-apps-members-list",47),2&t){const t=h.oxw(3);h.Q6J("disableRouting",!0)("displayedColumns",h.DdM(5,Il))("members",t.members)("pageSize",t.pageSize)("selection",t.selection)}}function fl(t,e){1&t&&(h.TgZ(0,"app-alert",48),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&t&&(h.Q6J("alert_type","info"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function El(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Tl,1,6,"perun-web-apps-members-list",45),h.YNc(2,fl,3,4,"app-alert",46),h.qZA()),2&t){const t=h.oxw(2);h.xp6(1),h.Q6J("ngIf",t.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!t.firstSearchDone)}}function Zl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"div",4),h.TgZ(1,"mat-stepper",5),h.TgZ(2,"mat-step",6),h.TgZ(3,"form",7),h.YNc(4,$r,2,3,"ng-template",8),h.TgZ(5,"div",9),h.TgZ(6,"mat-form-field"),h.TgZ(7,"mat-label"),h._uU(8),h.ALo(9,"translate"),h.qZA(),h._UZ(10,"input",10),h.YNc(11,Xr,3,3,"mat-error",11),h.qZA(),h.TgZ(12,"mat-form-field"),h.TgZ(13,"mat-label"),h._uU(14),h.ALo(15,"translate"),h.qZA(),h._UZ(16,"input",12),h.YNc(17,Wr,3,3,"mat-error",11),h.YNc(18,Kr,3,3,"mat-error",11),h.qZA(),h.TgZ(19,"mat-form-field"),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h._UZ(23,"input",13),h.YNc(24,tl,3,3,"mat-error",11),h.qZA(),h.TgZ(25,"mat-form-field"),h.TgZ(26,"mat-label"),h._uU(27),h.ALo(28,"translate"),h.qZA(),h._UZ(29,"input",14),h.YNc(30,el,3,3,"mat-error",11),h.qZA(),h.qZA(),h.qZA(),h.TgZ(31,"div",15),h.TgZ(32,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.TgZ(35,"button",17),h._uU(36),h.ALo(37,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(38,"mat-step",6),h.TgZ(39,"form",7),h.YNc(40,il,2,3,"ng-template",8),h.TgZ(41,"div",9),h.TgZ(42,"mat-form-field"),h.TgZ(43,"mat-label"),h._uU(44),h.ALo(45,"translate"),h.qZA(),h.TgZ(46,"mat-select",18),h.NdJ("valueChange",function(e){return h.CHM(t),h.oxw().onNamespaceChanged(e)}),h.YNc(47,ol,2,2,"mat-option",19),h.qZA(),h.qZA(),h.TgZ(48,"mat-form-field",20),h.ALo(49,"translate"),h.TgZ(50,"mat-label"),h._uU(51),h.ALo(52,"translate"),h.qZA(),h._UZ(53,"input",21),h.YNc(54,al,3,3,"mat-error",11),h.YNc(55,sl,3,3,"mat-error",11),h.YNc(56,nl,3,3,"mat-error",11),h.YNc(57,rl,3,3,"mat-error",11),h.YNc(58,ll,3,3,"mat-error",11),h.qZA(),h.TgZ(59,"mat-radio-group",22),h.NdJ("ngModelChange",function(){return h.CHM(t),h.oxw().passwordOptionChanged()}),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",23),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.TgZ(64,"mat-radio-button",23),h._uU(65),h.ALo(66,"translate"),h.qZA(),h.qZA(),h.TgZ(67,"div",9),h.TgZ(68,"mat-form-field",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),h.TgZ(69,"mat-label"),h._uU(70),h.ALo(71,"translate"),h.qZA(),h._UZ(72,"input",25),h.YNc(73,cl,3,3,"mat-error",11),h.YNc(74,ul,3,3,"mat-error",11),h.qZA(),h.TgZ(75,"mat-form-field",24),h.NdJ("click",function(){return h.CHM(t),h.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),h.TgZ(76,"mat-label"),h._uU(77),h.ALo(78,"translate"),h.qZA(),h._UZ(79,"input",26),h.YNc(80,pl,3,3,"mat-error",11),h.YNc(81,dl,3,3,"mat-error",11),h.qZA(),h.TgZ(82,"p",27),h._uU(83),h.ALo(84,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(85,"div",15),h.TgZ(86,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(87),h.ALo(88,"translate"),h.qZA(),h.TgZ(89,"button",28),h._uU(90),h.ALo(91,"translate"),h.qZA(),h.TgZ(92,"button",29),h._uU(93),h.ALo(94,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(95,"mat-step"),h.YNc(96,gl,2,3,"ng-template",8),h.TgZ(97,"h6"),h._uU(98),h.ALo(99,"translate"),h.qZA(),h.TgZ(100,"mat-list"),h.YNc(101,ml,10,9,"mat-list-item",30),h.qZA(),h.TgZ(102,"h6",31),h._uU(103),h.ALo(104,"translate"),h.qZA(),h.TgZ(105,"mat-form-field",32),h.TgZ(106,"input",33),h.NdJ("keyup.enter",function(){h.CHM(t);const e=h.oxw();return 0!==e.searchCtrl.value.length&&e.onSearchByString()}),h.ALo(107,"translate"),h.qZA(),h.qZA(),h.TgZ(108,"button",34),h.NdJ("click",function(){return h.CHM(t),h.oxw().onSearchByString()}),h.TgZ(109,"mat-icon"),h._uU(110,"search"),h.qZA(),h.qZA(),h.TgZ(111,"button",35),h.NdJ("click",function(){return h.CHM(t),h.oxw().addUsers()}),h._uU(112),h.ALo(113,"translate"),h.qZA(),h.YNc(114,Al,1,0,"mat-spinner",3),h.YNc(115,El,3,2,"div",11),h.TgZ(116,"div",15),h.TgZ(117,"button",16),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCancel()}),h._uU(118),h.ALo(119,"translate"),h.qZA(),h.TgZ(120,"button",28),h._uU(121),h.ALo(122,"translate"),h.qZA(),h.TgZ(123,"button",36),h.NdJ("click",function(){return h.CHM(t),h.oxw().onCreate()}),h._uU(124),h.ALo(125,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(1),h.Q6J("stepControl",t.firstFormGroup),h.xp6(1),h.Q6J("formGroup",t.firstFormGroup),h.xp6(5),h.Oqu(h.lcZ(9,66,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),h.xp6(3),h.Q6J("ngIf",t.firstFormGroup.get("nameCtrl").hasError("required")),h.xp6(3),h.Oqu(h.lcZ(15,68,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),h.xp6(3),h.Q6J("ngIf",t.firstFormGroup.get("emailCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("emailCtrl").hasError("pattern")),h.xp6(3),h.Oqu(h.lcZ(22,70,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),h.xp6(2),h.Q6J("required",!!t.firstFormGroup.get("issuerCtrl").value&&0!==t.firstFormGroup.get("issuerCtrl").value.trim().length),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("subjectCtrl").hasError("required")),h.xp6(3),h.Oqu(h.lcZ(28,72,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),h.xp6(2),h.Q6J("required",!!t.firstFormGroup.get("subjectCtrl").value&&0!==t.firstFormGroup.get("subjectCtrl").value.trim().length),h.xp6(1),h.Q6J("ngIf",t.firstFormGroup.get("issuerCtrl").hasError("required")),h.xp6(3),h.hij(" ",h.lcZ(34,74,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",t.firstFormGroup.invalid||t.firstFormGroup.pending),h.xp6(1),h.hij(" ",h.lcZ(37,76,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),h.xp6(2),h.Q6J("stepControl",t.secondFormGroup),h.xp6(1),h.Q6J("formGroup",t.secondFormGroup),h.xp6(5),h.Oqu(h.lcZ(45,78,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),h.xp6(3),h.Q6J("ngForOf",t.passwordNamespaces),h.xp6(1),h.s9C("matTooltip",h.lcZ(49,80,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",t.secondFormGroup.get("loginCtrl").enabled),h.xp6(3),h.Oqu(h.lcZ(52,82,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),h.xp6(3),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("loginExists")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("pattern")&&!t.secondFormGroup.get("loginCtrl").hasError("minlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("maxlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("loginCtrl").hasError("minlength")),h.xp6(1),h.s9C("matTooltip",h.lcZ(60,84,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),h.Q6J("matTooltipDisabled","Not selected"!==t.secondFormGroup.get("namespaceCtrl").value),h.xp6(2),h.Q6J("checked",t.secondFormGroup.get("generatePasswordCtrl").value&&t.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),h.xp6(1),h.hij(" ",h.lcZ(63,86,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),h.xp6(2),h.Q6J("checked",!t.secondFormGroup.get("generatePasswordCtrl").value&&t.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),h.xp6(1),h.hij(" ",h.lcZ(66,88,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),h.xp6(2),h.ekj("input-disabled",t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(3),h.Oqu(h.lcZ(71,90,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD")),h.xp6(2),h.Q6J("required",!t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordCtrl").hasError("isWeak")&&!t.secondFormGroup.get("passwordCtrl").hasError("minlength")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordCtrl").hasError("minlength")),h.xp6(3),h.Oqu(h.lcZ(78,92,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_AGAIN")),h.xp6(2),h.Q6J("required",!t.secondFormGroup.get("generatePasswordCtrl").value),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordAgainCtrl").hasError("required")),h.xp6(1),h.Q6J("ngIf",t.secondFormGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),h.xp6(2),h.Oqu(h.lcZ(84,94,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_INFO")),h.xp6(4),h.hij(" ",h.lcZ(88,96,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(91,98,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),h.xp6(2),h.Q6J("disabled",t.secondFormGroup.invalid||t.secondFormGroup.pending),h.xp6(1),h.hij(" ",h.lcZ(94,100,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),h.xp6(5),h.Oqu(h.lcZ(99,102,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),h.xp6(3),h.Q6J("ngForOf",t.assignedMembers),h.xp6(2),h.Oqu(h.lcZ(104,104,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),h.xp6(3),h.s9C("placeholder",h.lcZ(107,106,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),h.Q6J("formControl",t.searchCtrl),h.xp6(2),h.Q6J("disabled",t.loading||0===t.searchCtrl.value.length),h.xp6(3),h.Q6J("disabled",0===t.selection.selected.length),h.xp6(1),h.Oqu(h.lcZ(113,108,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")),h.xp6(2),h.Q6J("ngIf",t.loading),h.xp6(1),h.Q6J("ngIf",!t.loading),h.xp6(3),h.hij(" ",h.lcZ(119,110,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),h.xp6(3),h.hij(" ",h.lcZ(122,112,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),h.xp6(2),h.Q6J("disabled",t.firstFormGroup.invalid||"Not selected"!==t.secondFormGroup.get("namespaceCtrl").value&&t.secondFormGroup.invalid),h.xp6(1),h.Oqu(h.lcZ(125,114,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE"))}}function bl(t,e){1&t&&h._UZ(0,"mat-spinner",44)}let _l=(()=>{class t{constructor(t,e,i,o,a,s,n,r,l){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.usersManagerService=o,this.notificator=a,this.translate=s,this.store=n,this._formBuilder=r,this.tableConfigService=l,this.passwordNamespaces=[],this.firstSearchDone=!1,this.searchCtrl=new he.NI(""),this.members=[],this.selection=new la.Ov(!0,[]),this.tableId=Ia.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(t=>this.successMessageMember=t),s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(t=>this.successMessagePwd=t)}ngOnInit(){this.firstFormGroup=this._formBuilder.group({nameCtrl:["",he.kI.required],emailCtrl:["",[he.kI.required,he.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[he.kI.pattern("^[a-z][a-z0-9_-]+$"),he.kI.maxLength(15),he.kI.minLength(2)]],passwordCtrl:["",he.kI.compose([c.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),he.kI.minLength(10)])],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validator:c.dN.passwordMatchValidator}),this.onNamespaceChanged("Not selected"),this.passwordNamespaces=["Not selected"].concat(this.store.get("password_namespace_attributes").map(t=>t.split(":")[6].toUpperCase())),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(t.id).subscribe(e=>{let i={};for(const t of e)t.voId===this.data.voId&&(i=t);i.user=t,this.assignedMembers.push(i)})}existingLoginValidator(){return t=>{let e=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return e="not selected"===e?"mu":e,t.valueChanges.pipe((0,kr.b)(500),(0,zr.q)(1),(0,Br.w)(()=>this.usersManagerService.isLoginAvailable(e,t.value).pipe((0,Gn.U)(t=>t?null:{loginExists:!0}))))}}onCreate(){this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value,"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes[`urn:perun:user:attribute-def:def:login-namespace:${this.secondFormGroup.get("namespaceCtrl").value.toLowerCase()}`]=this.secondFormGroup.get("loginCtrl").value);const t=this.firstFormGroup.get("subjectCtrl");t&&t.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=t.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509"),this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(t=>t.user),candidate:this.candidate}).subscribe(t=>{this.membersManagerService.validateMemberAsync(t.id).subscribe(t=>{this.notificator.showSuccess(this.successMessageMember),"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value?this.setPassword(t,this.secondFormGroup.get("generatePasswordCtrl").value):(this.dialogRef.close(!0),this.processing=!1)},()=>this.processing=!1)},()=>this.processing=!1)}setPassword(t,e){const i=this.secondFormGroup.get("loginCtrl").value,o=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),a=this.secondFormGroup.get("passwordCtrl").value;e?this.usersManagerService.reserveRandomPassword(t.userId,o).subscribe(()=>{this.usersManagerService.validatePasswordForUser(t.userId,o).subscribe(()=>{this.validateMember(t.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)}):this.usersManagerService.reservePasswordForLogin(i,o,a).subscribe(()=>{this.usersManagerService.validatePasswordForLogin(i,o).subscribe(()=>{this.validateMember(t.id)},()=>{this.processing=!1,this.dialogRef.close(!0)})},()=>{this.processing=!1,this.dialogRef.close(!0)})}validateMember(t){this.membersManagerService.validateMemberAsync(t).subscribe(()=>{this.notificator.showSuccess(this.successMessagePwd),this.dialogRef.close(!0),this.processing=!1},()=>{this.processing=!1,this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}onSearchByString(){this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(t=>{this.members=t.filter(t=>!t.user.specificUser),this.firstSearchDone=!0,this.loading=!1})}addUsers(){const t=this.assignedMembers.map(t=>t.id);this.selection.selected.forEach(e=>{t.includes(e.id)||this.assignedMembers.push(e)}),this.selection.clear()}removeUser(t){this.assignedMembers=this.assignedMembers.filter(e=>e.id!==t.id)}onNamespaceChanged(t){const e=this.secondFormGroup.get("loginCtrl"),i=this.secondFormGroup.get("passwordCtrl"),o=this.secondFormGroup.get("passwordAgainCtrl"),a=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==t){const t=[he.kI.required,he.kI.pattern("^[a-z][a-z0-9_-]+$"),he.kI.maxLength(15),he.kI.minLength(2)];(0,c.mH)(e,t,[this.existingLoginValidator()]),(0,c.mH)(a,[]),this.passwordOptionChanged()}else e.disable(),e.setValue(""),i.disable(),i.setValue(""),o.disable(),o.setValue(""),a.disable(),a.dirty||a.setValue(!0)}passwordOptionChanged(){const t=this.secondFormGroup.get("passwordCtrl"),e=this.secondFormGroup.get("passwordAgainCtrl");if(this.secondFormGroup.get("generatePasswordCtrl").value)t.disable(),t.setValue(""),e.disable(),e.setValue("");else{const i=[he.kI.required,c.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),he.kI.minLength(10)];(0,c.mH)(t,i),(0,c.mH)(e,[])}}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A.so),h.Y36(A.WI),h.Y36(l.uq),h.Y36(l.Fv),h.Y36(u.V6),h.Y36(_.sK),h.Y36(u.d6),h.Y36(he.qu),h.Y36(Ia.dB))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-create-service-member-dialog"]],decls:6,vars:5,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-auto",3,"disabled"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltipDisabled","matTooltip"],["formControlName","loginCtrl","matInput","","required",""],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"click"],["formControlName","passwordCtrl","matInput","","type","password",3,"required"],["formControlName","passwordAgainCtrl","matInput","","type","password",3,"required"],[1,"white-space-pre"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","pageSize","selection",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"disableRouting","displayedColumns","members","pageSize","selection"],[3,"alert_type"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,Zl,126,116,"div",2),h.YNc(5,bl,1,0,"mat-spinner",3),h.qZA()),2&t&&(h.xp6(2),h.Oqu(h.lcZ(3,3,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),h.xp6(2),h.Q6J("ngIf",!e.processing),h.xp6(1),h.Q6J("ngIf",e.processing))},directives:[o.O5,A.xY,yn.Vq,yn.C0,he._Y,he.JL,he.sg,yn.VY,Te.KE,Te.hX,he.Fj,Ee.Nt,he.JJ,he.u,he.Q7,A.H8,b.lW,yn.Ic,fe.gD,o.sg,E.gM,me.VQ,me.U0,yn.fd,Hr.i$,he.oH,f.Hw,Te.TO,Ze.ey,Hr.Tg,T.$g,jr.O,pt.w],pipes:[_.X$,Rt.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),t})();var Sl=i(4374);function Nl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",7),h.NdJ("click",function(){return h.CHM(t),h.oxw().createServiceMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&t&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"))}function Ol(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(t),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("disabled",t.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function vl(t,e){1&t&&h._UZ(0,"mat-spinner",9)}const xl=function(){return["checkbox","id","type","fullName","status"]};function Cl(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"perun-web-apps-members-list",10),h.NdJ("page",function(e){return h.CHM(t),h.oxw().pageChanged(e)}),h.qZA()}if(2&t){const t=h.oxw();h.Q6J("displayedColumns",h.DdM(5,xl))("filter",t.searchString)("members",t.members)("pageSize",t.pageSize)("selection",t.selection)}}const Ll=[{path:"",component:s.Y},{path:":voId",component:at,children:[{path:"",component:H,data:{animation:"VoOverviewPage"}},{path:"attributes",component:ce,data:{animation:"VoAttributesPage"}},{path:"groups",component:j.G,data:{animation:"VoGroupsPage"}},{path:"members",component:$.y,data:{animation:"VoMembersPage"}},{path:"resources",component:se,children:[{path:"",component:sa,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:na.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:ra.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:Na,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ne.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:Ci,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:mr.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:(()=>{class t{constructor(t,e,i,o,a,s){this.membersManager=t,this.route=e,this.dialog=i,this.authResolver=o,this.tableConfigService=a,this.authzService=s,this.members=[],this.selection=new la.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=Ia._c}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.refresh()}),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[{beanName:"",id:this.voId}])}createServiceMember(){const t=(0,c.kZ)();t.width="750px",t.data={voId:this.voId},this.dialog.open(_l,t).afterClosed().subscribe(t=>{t&&this.refresh()})}onRemoveMembers(){const t=(0,c.kZ)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(Sl.X,t).afterClosed().subscribe(t=>{t&&(this.refresh(),this.selection.clear())})}applyFilter(t){this.searchString=t}refresh(){this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.voId,[null],"(Service)").subscribe(t=>{this.members=t,this.loading=!1})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(l.uq),h.Y36(a.gz),h.Y36(A.uw),h.Y36(u.x4),h.Y36(Ia.dB),h.Y36(u.x4))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-vo-settings-service-members"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","filter","members","pageSize","selection","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filter","members","pageSize","selection","page"]],template:function(t,e){1&t&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.TgZ(3,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return e.refresh()}),h.qZA(),h.YNc(4,Nl,3,3,"button",2),h.YNc(5,Ol,3,4,"button",3),h.TgZ(6,"perun-web-apps-immediate-filter",4),h.NdJ("filter",function(t){return e.applyFilter(t)}),h.qZA(),h.YNc(7,vl,1,0,"mat-spinner",5),h.YNc(8,Cl,1,6,"perun-web-apps-members-list",6)),2&t&&(h.xp6(1),h.Oqu(h.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),h.xp6(3),h.Q6J("ngIf",!e.loading),h.xp6(1),h.Q6J("ngIf",e.removeAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",e.loading),h.xp6(1),h.Q6J("ngIf",!e.loading))},directives:[Ta.t,o.O5,fa.L,b.lW,T.$g,jr.O],pipes:[_.X$],styles:[""]}),t})(),data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:Cr,data:{animation:"VoStatisticsPage"}},{path:"settings",component:re,children:[{path:"",component:de,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:we,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:Je,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:Bi.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Qo,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Fr},{path:"notifications",component:Ds,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:cn,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:Q,children:[{path:"",component:Xt,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:aa,data:{animation:"MemberAttributesPage"}},{path:"groups",component:Wt.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:Pn,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Ci,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:sr,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:P,children:[{path:"",component:oe,data:{animation:"GroupOverviewPage"}},{path:"members",component:Li.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:ae.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Ge.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ri.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Fi,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:Mr,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:Mi,children:[{path:"",component:zi,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:va,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Ca,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:Us.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Qo},{path:"notifications",component:Qs,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:vn,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:Er,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Ci,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:nr.b,children:[{path:"",component:rr.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:lr.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:gr.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:pr.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:hr.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:Qr.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:cr.t,children:[{path:"",component:ur.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:dr.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}];let Rl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[a.Bz.forChild(Ll)],a.Bz]}),t})();var Ml=i(28780),Dl=i(22727),Ul=i(22280);let ql=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[o.ez,Rl,Ml.m,Dl.r,bn.ez,Ul.d4,c.Je]]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/427-es5.1c911b592f126adfd085.js b/dist/apps/admin-gui/427-es5.1c911b592f126adfd085.js deleted file mode 100644 index 577bff496..000000000 --- a/dist/apps/admin-gui/427-es5.1c911b592f126adfd085.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function t(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var a,n,o=[],r=!0,s=!1;try{for(i=i.call(t);!(r=(a=i.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(l){s=!0,n=l}finally{try{r||null==i.return||i.return()}finally{if(s)throw n}}return o}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=i(t))||e&&t&&"number"==typeof t.length){a&&(t=a);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return s=t.done,t},e:function(t){l=!0,r=t},f:function(){try{s||null==a.return||a.return()}finally{if(l)throw r}}}}function i(t,e){if(t){if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i_policy",[t.group])?t.groupService.getRichGroupByIdWithAttributesByNames(i,t.attrNames).subscribe(function(e){t.group=e,t.syncEnabled=t.isSynchronized(),t.syncAuth=t.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[t.group])},function(){return t.loading=!1}):t.syncEnabled=!1,t.editAuth=t.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[t.group]),t.deleteAuth=t.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[t.group]);var n=t.sideMenuItemService.parseVo(e),o=t.sideMenuItemService.parseGroup(a);t.sideMenuService.setAccessMenuItems([n,o]),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}},{key:"isSynchronized",value:function(){return this.group.attributes.some(function(t){return"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString()})}},{key:"onSyncDetail",value:function(){var t=(0,g.kZ)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(f.Bp,t)}},{key:"editGroup",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={theme:"group-theme",group:this.group,dialogType:f.Eg.GROUP},this.dialog.open(f.rd,e).afterClosed().subscribe(function(e){e&&t.groupService.getGroupById(t.group.id).subscribe(function(e){t.group=e})})}},{key:"deleteGroup",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={theme:"group-theme",groups:[this.group]},this.dialog.open(A.P,e).afterClosed().subscribe(function(e){e&&t.router.navigate(["../"],{relativeTo:t.route})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(c.V),I.Y36(d.ff),I.Y36(v.uw),I.Y36(h.x4),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,R,1,0,"mat-spinner",1),I.YNc(3,G,25,32,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A,N.lW],pipes:[O.X$,x.r,C.J,L.F],styles:[""],data:{animation:[p.Ji]}}),t}();function Y(t,e){1&t&&I._UZ(0,"mat-spinner",3)}var J=function(t){return["/admin","users",t]};function V(t,e){if(1&t&&(I.TgZ(0,"a",8),I._uU(1),I.qZA()),2&t){var i=I.oxw(2);I.Q6J("routerLink",I.VKq(2,J,i.member.userId)),I.xp6(1),I.hij(" ",i.member.userId," ")}}function F(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Oqu(i.member.userId)}}var Q=function(){return{color:"black"}},z=function(t,e){return["/organizations",t,"members",e]};function B(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",4),I._UZ(2,"mat-icon",5),I.ALo(3,"translate"),I.TgZ(4,"div",6),I.TgZ(5,"div",7),I.TgZ(6,"a",8),I._uU(7),I.qZA(),I.TgZ(8,"span",9),I._uU(9),I.qZA(),I.qZA(),I.TgZ(10,"span",10),I._uU(11),I.ALo(12,"translate"),I.ALo(13,"translate"),I.YNc(14,V,2,4,"a",11),I.YNc(15,F,2,1,"span",2),I.qZA(),I.qZA(),I.qZA(),I._UZ(16,"app-animated-router-outlet"),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.s9C("matTooltip",I.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),I.Q6J("ngStyle",I.DdM(15,Q)),I.xp6(4),I.Q6J("routerLink",I.WLB(16,z,i.vo.id,i.member.id)),I.xp6(1),I.hij(" ",i.fullName," "),I.xp6(2),I.hij(" \xa0#",i.member.id," "),I.xp6(2),I.AsE(" ",I.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",I.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),I.xp6(3),I.Q6J("ngIf",i.isAuthorized),I.xp6(1),I.Q6J("ngIf",!i.isAuthorized)}}var j=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.sideMenuItemService=e,this.translate=i,this.sideMenuService=a,this.membersService=o,this.voService=r,this.route=s,this.authResolver=l,this.fullName="",this.isAuthorized=!1,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){var i=e.voId,a=e.memberId;t.isAuthorized=t.authResolver.isPerunAdminOrObserver(),t.voService.getVoById(i).subscribe(function(e){t.vo=e,t.membersService.getRichMemberWithAttributes(a).subscribe(function(e){t.member=e;var i=t.sideMenuItemService.parseVo(t.vo),a=t.sideMenuItemService.parseMember(t.member,t.vo);t.fullName=a.label,t.sideMenuService.setAccessMenuItems([i,a]),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(c.V),I.Y36(O.sK),I.Y36(T.D),I.Y36(d.uq),I.Y36(d.YF),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,Y,1,0,"mat-spinner",1),I.YNc(3,B,17,19,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A],pipes:[O.X$],styles:[""],data:{animation:[p.Ji]}}),t}(),H=o(8557);function X(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function $(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.navItems)("size","small")}}var W=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.route=a,this.router=o,this.authResolver=r,this.items=[],this.navItems=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initNavItems(),t.loading=!1},function(){return t.loading=!1})})}},{key:"initNavItems",value:function(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.vo.id,"/members"),label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/groups"),label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:"/organizations/".concat(this.vo.id,"/resources"),label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.vo.id,"/applications"),label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.vo.id,"/sponsoredMembers"),label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:"/organizations/".concat(this.vo.id,"/serviceAccounts"),label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.vo.id,"/attributes"),label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:"/organizations/".concat(this.vo.id,"/statistics"),label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:"/organizations/".concat(this.vo.id,"/settings"),label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(l.F0),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,X,1,0,"mat-spinner",0),I.YNc(1,$,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),K=o(48002),tt=o(28940),et=o(99608);function it(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function at(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",13),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).editVo()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function nt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",14),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).removeVo()}),I.TgZ(1,"mat-icon"),I._uU(2,"delete_forever"),I.qZA(),I.qZA()}}var ot=function(){return{color:"black"}},rt=function(t){return["/organizations/",t]};function st(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",4),I._UZ(2,"mat-icon",5),I.ALo(3,"translate"),I.TgZ(4,"div",6),I.TgZ(5,"div",7),I.TgZ(6,"a",8),I._uU(7),I.qZA(),I.TgZ(8,"span",9),I._uU(9),I.qZA(),I.YNc(10,at,3,0,"button",10),I.YNc(11,nt,3,0,"button",11),I.qZA(),I.TgZ(12,"span",12),I._uU(13),I.ALo(14,"translate"),I.ALo(15,"translate"),I.qZA(),I.qZA(),I.qZA(),I._UZ(16,"app-animated-router-outlet"),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.s9C("matTooltip",I.lcZ(3,10,"VO_DETAIL.ENTITY")),I.Q6J("ngStyle",I.DdM(16,ot)),I.xp6(4),I.Q6J("routerLink",I.VKq(17,rt,i.vo.id)),I.xp6(1),I.hij(" ",i.vo.name," "),I.xp6(2),I.hij(" \xa0#",i.vo.id," "),I.xp6(1),I.Q6J("ngIf",i.editAuth),I.xp6(1),I.Q6J("ngIf",i.removeAuth),I.xp6(2),I.lnq(" ",I.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",I.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",i.vo.shortName," ")}}var lt=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.sideMenuService=e,this.voService=i,this.route=a,this.router=o,this.sideMenuItemService=r,this.dialog=s,this.authResolver=l,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.editAuth=t.authResolver.isAuthorized("updateVo_Vo_policy",[t.vo]),t.removeAuth=t.authResolver.isAuthorized("deleteVo_Vo_policy",[t.vo]);var i=t.sideMenuItemService.parseVo(e);t.sideMenuService.setAccessMenuItems([i]),(0,g.sF)("vos",t.vo),(0,g.XI)(t.vo),t.loading=!1},function(){return t.loading=!1})})}},{key:"editVo",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={theme:"vo-theme",vo:this.vo,dialogType:f.Eg.VO},this.dialog.open(f.rd,e).afterClosed().subscribe(function(e){e&&t.voService.getVoById(t.vo.id).subscribe(function(e){t.vo=e})})}},{key:"removeVo",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(et.o,e).afterClosed().subscribe(function(e){e&&t.router.navigate([""])})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(l.F0),I.Y36(c.V),I.Y36(v.uw),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo",3,"click"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,it,1,0,"mat-spinner",1),I.YNc(3,st,17,19,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A,N.lW],pipes:[O.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[p.Ji]}}),t}(),ut=o(67033),ct=o(95121),pt=o(79592),dt=o(27439),gt=o(64737),ht=o(37665),mt=o(39571),ft=o(74842),At=o(37043),It=o(73669),Tt=o(58506);function vt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-group-search-select",7),I.NdJ("groupSelected",function(t){return I.CHM(i),I.oxw().groupIsSelected(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("groups",a.groups)("firstSelectedGroup",a.selectedGroup)}}function Et(t,e){1&t&&I._UZ(0,"mat-spinner",8)}function Zt(t,e){1&t&&(I.TgZ(0,"app-alert",9),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function bt(t,e){1&t&&I._UZ(0,"th",17)}function _t(t,e){if(1&t&&(I.TgZ(0,"td",18),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i,": ")}}function St(t,e){1&t&&I._UZ(0,"th",17)}function Nt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",22),I.NdJ("click",function(){return I.CHM(i),I.oxw(4).changeStatus()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Ot(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"i"),I.ALo(2,"memberStatusIconColor"),I._uU(3),I.ALo(4,"memberStatusIcon"),I.qZA(),I.TgZ(5,"b",20),I._uU(6),I.ALo(7,"transformMemberStatus"),I.qZA(),I.YNc(8,Nt,3,0,"button",21),I.qZA()),2&t){var i=I.oxw(3);I.xp6(1),I.Gre("material-icons vert-center mr-1 ",I.lcZ(2,6,i.selectedMember.groupStatus),""),I.xp6(2),I.hij(" ",I.lcZ(4,8,i.selectedMember.groupStatus)," "),I.xp6(3),I.hij(" ",I.lcZ(7,10,i.selectedMember.groupStatus)," "),I.xp6(2),I.Q6J("ngIf",i.authResolver.isThisVoAdmin(i.vo.id)||i.authResolver.isThisGroupAdmin(i.selectedGroup.id))}}function xt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",22),I.NdJ("click",function(){return I.CHM(i),I.oxw(4).changeExpiration()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Ct(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"i",2),I._uU(2),I.ALo(3,"parseDate"),I.qZA(),I.YNc(4,xt,3,0,"button",21),I.qZA()),2&t){var i=I.oxw(3);I.xp6(2),I.hij(" ",I.lcZ(3,2,i.expiration)," "),I.xp6(2),I.Q6J("ngIf",i.authResolver.isThisVoAdmin(i.vo.id)||i.authResolver.isThisGroupAdmin(i.selectedGroup.id))}}function Lt(t,e){if(1&t&&(I.TgZ(0,"td",19),I.YNc(1,Ot,9,12,"div",6),I.YNc(2,Ct,5,4,"div",6),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Q6J("ngIf","Status"===i),I.xp6(1),I.Q6J("ngIf","Expiration"===i)}}function Rt(t,e){1&t&&I._UZ(0,"tr",23)}function Mt(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"table",10),I.ynx(2,11),I.YNc(3,bt,1,0,"th",12),I.YNc(4,_t,2,1,"td",13),I.BQk(),I.ynx(5,14),I.YNc(6,St,1,0,"th",12),I.YNc(7,Lt,3,2,"td",15),I.BQk(),I.YNc(8,Rt,1,0,"tr",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("dataSource",i.groupMembershipDataSource),I.xp6(7),I.Q6J("matRowDefColumns",i.displayedColumns)}}var Dt=function(){var t=function(){function t(e,i,a,o){n(this,t),this.groupsManager=e,this.authResolver=i,this.translate=a,this.dialog=o,this.noGroups=!1,this.groupMembershipDataSource=new ut.by,this.expiration="",this.displayedColumns=["attName","attValue"]}return r(t,[{key:"ngOnChanges",value:function(){var t=this;this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new ut.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(function(e){if(t.groups=e,0!==t.groups.length){var i=t.findInitiallySelectedGroupId();t.groupIsSelected(i),t.initLoading=!1}else t.noGroups=!0})}},{key:"findInitiallySelectedGroupId",value:function(){var t=this;if(this.recentIds=(0,g.vL)("groups"),this.recentIds){var e=this.groups.find(function(e){return e.id===t.recentIds[0]});if(e)return e}return this.groups[0]}},{key:"groupIsSelected",value:function(t){var e=this;this.loading=!0,this.selectedGroup=t,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[m.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(function(t){e.selectedMember=t[0],e.expirationAtt=e.selectedMember.memberAttributes.find(function(t){return"groupMembershipExpiration"===t.baseFriendlyName}),e.expirationAtt?(e.groupMembershipDataSource=new ut.by(["Status","Expiration"]),e.expiration=e.expirationAtt.value?e.expirationAtt.value:e.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):e.groupMembershipDataSource=new ut.by(["Status"]),e.loading=!1})}},{key:"changeExpiration",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=(0,g.kZ)();i.width="400px",i.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:e},this.dialog.open(f.u3,i).afterClosed().subscribe(function(e){e&&t.groupIsSelected(t.selectedGroup)})}},{key:"changeStatus",value:function(){var t=this,e=(0,g.kZ)();e.width="600px",e.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(f.pf,e).afterClosed().subscribe(function(e){e&&(t.selectedMember=e,t.changeExpiration(!0))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.ff),I.Y36(h.x4),I.Y36(O.sK),I.Y36(v.uw))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[I.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","info"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"mat-card",0),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",1),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content",2),I.YNc(7,vt,1,2,"perun-web-apps-group-search-select",3),I.YNc(8,Et,1,0,"mat-spinner",4),I.YNc(9,Zt,3,3,"app-alert",5),I.YNc(10,Mt,9,2,"div",6),I.qZA(),I.qZA()),2&t&&(I.xp6(4),I.Oqu(I.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),I.xp6(3),I.Q6J("ngIf",!e.initLoading),I.xp6(1),I.Q6J("ngIf",(e.loading||e.initLoading)&&!e.noGroups),I.xp6(1),I.Q6J("ngIf",e.noGroups),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[dt.a8,dt.dk,dt.n5,dt.dn,s.O5,ht.h,Z.$g,mt.w,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,ut.ge,ut.ev,N.lW,b.Hw,ut.Gk],pipes:[O.X$,ft.u,At.f,It.r,Tt.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),t}(),yt=function(){var t=function(){function t(){n(this,t)}return r(t,[{key:"transform",value:function(t){return(0,g.Cz)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=I.Yjl({name:"attributeFriendlyName",type:t,pure:!0}),t}(),Ut=o(22196);function qt(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function wt(t,e){1&t&&I._UZ(0,"th",17)}function Pt(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.qZA()),2&t){var i=I.oxw().$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.attributes.get(i)[0],": ")}}function Gt(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.ALo(2,"attributeFriendlyName"),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.hij(" ",I.lcZ(2,1,i),": ")}}function kt(t,e){if(1&t&&(I.TgZ(0,"td",18),I.YNc(1,Pt,2,1,"span",1),I.YNc(2,Gt,3,3,"span",1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("ngIf",null!==a.attributes.get(i)[0]),I.xp6(1),I.Q6J("ngIf",null===a.attributes.get(i)[0])}}function Yt(t,e){1&t&&I._UZ(0,"th",17)}function Jt(t,e){if(1&t&&(I.TgZ(0,"td",19),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.attributes.get(i)[1]," ")}}function Vt(t,e){1&t&&I._UZ(0,"tr",20)}function Ft(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-card",5),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",6),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content",21),I.TgZ(7,"div",22),I.ALo(8,"translate"),I.TgZ(9,"button",23),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).requestPwdReset()}),I._uU(10),I.ALo(11,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(4),I.Oqu(I.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),I.xp6(3),I.Q6J("matTooltip",I.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",a.logins.length>0),I.xp6(2),I.Q6J("disabled",!a.logins.length),I.xp6(1),I.hij(" ",I.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Qt(t,e){1&t&&(I.TgZ(0,"th",17),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function zt(t,e){if(1&t&&(I.TgZ(0,"td",33),I._uU(1),I.ALo(2,"userFullName"),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",I.lcZ(2,1,i.user)," ")}}function Bt(t,e){1&t&&(I.TgZ(0,"th",17),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function jt(t,e){if(1&t&&(I.TgZ(0,"td",33),I.TgZ(1,"span",34),I._uU(2),I.ALo(3,"parseDate"),I.qZA(),I.qZA()),2&t){var i=e.$implicit;I.xp6(2),I.Oqu(I.lcZ(3,1,i.validityTo))}}function Ht(t,e){1&t&&I._UZ(0,"tr",35)}function Xt(t,e){1&t&&I._UZ(0,"tr",20)}var $t=function(){return["sponsors","expiration"]};function Wt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-card-content"),I.TgZ(1,"h6",26),I._uU(2),I.ALo(3,"translate"),I.TgZ(4,"button",27),I.NdJ("click",function(){return I.CHM(i),I.oxw(3).changeSponsors()}),I.TgZ(5,"mat-icon"),I._uU(6,"edit"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"table",28),I.ynx(8,29),I.YNc(9,Qt,3,3,"th",9),I.YNc(10,zt,3,3,"td",30),I.BQk(),I.ynx(11,31),I.YNc(12,Bt,3,3,"th",9),I.YNc(13,jt,4,3,"td",30),I.BQk(),I.YNc(14,Ht,1,0,"tr",32),I.YNc(15,Xt,1,0,"tr",13),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.hij(" ",I.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),I.xp6(5),I.Q6J("dataSource",a.sponsorsDataSource),I.xp6(7),I.Q6J("matHeaderRowDef",I.DdM(6,$t)),I.xp6(1),I.Q6J("matRowDefColumns",I.DdM(7,$t))}}function Kt(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"mat-card",24),I.TgZ(2,"mat-card-header"),I.TgZ(3,"mat-card-title"),I.TgZ(4,"h1",6),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.TgZ(7,"mat-card-subtitle",25),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.qZA(),I.YNc(10,Wt,16,8,"mat-card-content",1),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(5),I.Oqu(I.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),I.xp6(3),I.hij(" ",I.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),I.xp6(2),I.Q6J("ngIf",0!==i.sponsors.length)}}function te(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",3),I.TgZ(2,"div",4),I.TgZ(3,"mat-card",5),I.TgZ(4,"mat-card-header"),I.TgZ(5,"mat-card-title"),I.TgZ(6,"h1",6),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(9,"mat-card-content"),I.TgZ(10,"table",7),I.ynx(11,8),I.YNc(12,wt,1,0,"th",9),I.YNc(13,kt,3,2,"td",10),I.BQk(),I.ynx(14,11),I.YNc(15,Yt,1,0,"th",9),I.YNc(16,Jt,2,1,"td",12),I.BQk(),I.YNc(17,Vt,1,0,"tr",13),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(18,"div",4),I._UZ(19,"app-member-overview-membership",14),I._UZ(20,"app-member-overview-groups",14),I.qZA(),I.TgZ(21,"div",4),I.YNc(22,Ft,12,11,"mat-card",15),I.YNc(23,Kt,11,7,"div",1),I.qZA(),I.qZA(),I.TgZ(24,"div"),I._UZ(25,"perun-web-apps-menu-buttons-field",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(7),I.Oqu(I.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),I.xp6(3),I.Q6J("dataSource",i.dataSource),I.xp6(7),I.Q6J("matRowDefColumns",i.displayedColumns),I.xp6(2),I.Q6J("member",i.member)("vo",i.vo),I.xp6(1),I.Q6J("member",i.member)("vo",i.vo),I.xp6(2),I.Q6J("ngIf",i.pwdResetAuth),I.xp6(1),I.Q6J("ngIf",i.member.sponsored),I.xp6(2),I.Q6J("items",i.navItems)("size","small")}}var ee=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.attributesManager=e,this.membersService=i,this.usersManager=a,this.route=o,this.dialog=r,this.authResolver=s,this.storeService=l,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new ut.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new ut.by,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){var i=e.memberId;t.attributeNames=t.storeService.getMemberProfileAttributeNames(),t.membersService.getRichMemberWithAttributes(i).subscribe(function(e){var i=t.storeService.get("password_namespace_attributes").map(function(t){return(t=t.split(":"))[t.length-1]});t.attributesManager.getLogins(e.userId).subscribe(function(a){t.logins=a.filter(function(t){return i.includes(t.friendlyNameParameter)}),t.member=e,t.initAttributes(),t.dataSource=new ut.by(Array.from(t.attributes.keys())),t.vo={id:e.voId,beanName:"Vo"},t.pwdResetAuth=t.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[t.vo,t.member]),t.member.sponsored&&t.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[t.member])?t.usersManager.getSponsorsForMember(t.member.id,null).subscribe(function(e){t.sponsors=e,t.sponsorsDataSource=new ut.by(t.sponsors),t.initNavItems(),t.refreshData()}):(t.initNavItems(),t.refreshData())},function(){return t.loading=!1})})})}},{key:"initAttributes",value:function(){var t=this;this.attributeNames.forEach(function(e){t.attributes.set(e,[null,"-"])}),this.filterAttributes()}},{key:"filterAttributes",value:function(){var t=this;null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(function(e){t.attributeNames.includes(e.friendlyName)&&t.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(function(e){t.attributeNames.includes(e.friendlyName)&&t.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])})}},{key:"initNavItems",value:function(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/groups"),label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/applications"),label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/resources"),label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.vo.id,"/members/").concat(this.member.id,"/attributes"),label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}},{key:"refreshData",value:function(){var t=this;this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(function(e){t.member=e,t.loading=!1},function(){return t.loading=!1})}},{key:"requestPwdReset",value:function(){var t=(0,g.kZ)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(ct.m,t)}},{key:"changeSponsors",value:function(){var t=this,e=(0,g.kZ)();e.width="650px",e.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(pt.H,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.membersService.getRichMemberWithAttributes(t.member.id).subscribe(function(e){t.member=e,t.member.sponsored&&t.usersManager.getSponsorsForMember(t.member.id,null).subscribe(function(e){t.sponsors=e,t.sponsorsDataSource.data=t.sponsors}),t.loading=!1}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(d.uq),I.Y36(d.Fv),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.x4),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(t,e){1&t&&(I.YNc(0,qt,1,0,"mat-spinner",0),I.YNc(1,te,26,13,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,dt.a8,dt.dk,dt.n5,dt.dn,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,gt.b,Dt,H.L,ut.ge,ut.ev,ut.Gk,_.gM,N.lW,dt.$j,b.Hw,ut.as,ut.XQ],pipes:[O.X$,yt,Ut.d,Tt.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),t}(),ie=o(81835);function ae(t,e){1&t&&I._UZ(0,"mat-spinner",2)}var ne=function(t,e){return["/organizations",t,"groups",e]};function oe(t,e){if(1&t&&(I.TgZ(0,"p"),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"a",4),I._uU(4),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.hij(" ",I.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),I.xp6(2),I.Q6J("routerLink",I.WLB(5,ne,i.parentGroup.voId,i.parentGroup.id)),I.xp6(1),I.hij(" ",i.parentGroup.name," ")}}function re(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,oe,5,8,"p",1),I._UZ(2,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf",null!==i.parentGroup),I.xp6(1),I.Q6J("items",i.navItems)("size","small")}}var se=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.route=e,this.groupService=i,this.voService=a,this.guiAuthResolver=o,this.apiRequest=r,this.attributesManager=s,this.notificator=l,this.navItems=[],this.parentGroup=null,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.groupId=e.groupId,t.groupService.getGroupById(t.groupId).subscribe(function(e){t.group=e,null!==t.group.parentGroupId?t.loadParentGroupData():(t.parentGroup=null,t.initNavItems(),t.loading=!1)},function(){return t.loading=!1})})}},{key:"loadParentGroupData",value:function(){var t=this;this.groupService.getGroupById(this.group.parentGroupId).subscribe(function(e){t.parentGroup=e,t.initNavItems(),t.loading=!1},function(){return t.loading=!1})}},{key:"initNavItems",value:function(){var t=this;this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/members"),label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/subgroups"),label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/resources"),label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/applications"),label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.group.id,"/attributes"),label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});var e=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),i=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);e&&a&&i&&this.navItems.push({cssIcon:"perun-statistics",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.group.id,"/statistics"),label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});var n=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){n=!0},function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)});var o=this.guiAuthResolver.isManagerPagePrivileged(this.group),r=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),s=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),l=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(n||o||r||s||l)&&this.navItems.push({cssIcon:"perun-settings2",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/settings"),label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.ff),I.Y36(d.YF),I.Y36(h.x4),I.Y36(h.F5),I.Y36(d.H8),I.Y36(h.V6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(t,e){1&t&&(I.YNc(0,ae,1,0,"mat-spinner",0),I.YNc(1,re,3,3,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L,l.yS],pipes:[O.X$],styles:[""]}),t}(),le=o(82044),ue=function(){var t=function(){function t(e){n(this,t),this.route=e}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),ce=o(40659),pe=function(){var t=function(){function t(e,i){var a=this;n(this,t),this.route=e,this.router=i,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=i.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),i.events.subscribe(function(t){t instanceof l.m2&&(a.currentUrl=t.url,a.backButtonDisplayed=a.backButtonRegex.test(a.currentUrl))})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),de=o(541),ge=function(){var t=function(){function t(e){n(this,t),this.route=e}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._UZ(4,"app-one-entity-attribute-page",1),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(2),I.Q6J("entityId",e.voId)("entity","vo"))},directives:[de.t],pipes:[O.X$],styles:[""]}),t}();function he(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function me(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.items)("size","small")}}var fe=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=a,this.route=o,this.router=r,this.items=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initItems(),t.loading=!1},function(){return t.loading=!1})})}},{key:"initItems",value:function(){this.items=[],this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/settings/expiration"),label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:"/organizations/".concat(this.vo.id,"/settings/managers"),label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-application-form",url:"/organizations/".concat(this.vo.id,"/settings/applicationForm"),label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-notification",url:"/organizations/".concat(this.vo.id,"/settings/notifications"),label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:"/organizations/".concat(this.vo.id,"/settings/extsources"),label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(h.x4),I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,he,1,0,"mat-spinner",0),I.YNc(1,me,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),Ae=o(27521),Ie=o(16073),Te=o(54810),ve=["*"],Ee=function(){var t=function(){function t(){n(this,t),this.modelChange=new I.vpe}return r(t,[{key:"model",get:function(){return this.modelValue},set:function(t){this.modelValue=t}},{key:"ngAfterViewInit",value:function(){var t=this;this.toggle.change.subscribe(function(){return t.valueChanged()})}},{key:"valueChanged",value:function(){this.modelChange.emit(this.toggle.checked)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){var i;(1&t&&I.Gf(Ae.Rr,7),2&t)&&(I.iGM(i=I.CRH())&&(e.toggle=i.first))},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:ve,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(t,e){if(1&t){var i=I.EpF();I.F$t(),I.TgZ(0,"div",0),I.TgZ(1,"div",1),I.TgZ(2,"label",2),I.NdJ("click",function(){return I.CHM(i),I.MAs(5).toggle()||e.valueChanged()}),I._uU(3),I.qZA(),I.TgZ(4,"mat-slide-toggle",3,4),I.NdJ("ngModelChange",function(t){return e.modelValue=t}),I.qZA(),I.qZA(),I.TgZ(6,"div",5),I.Hsn(7),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(5);I.xp6(2),I.ekj("unselected-setting",!a.checked),I.xp6(1),I.hij(" ",e.title," "),I.xp6(1),I.Q6J("ngModel",e.modelValue),I.xp6(2),I.Q6J("@openClose",a.checked?"open":"closed")}},directives:[Ae.Rr,Ie.JJ,Ie.On],styles:[""],data:{animation:[p.BQ]}}),t}(),Ze=o(66283),be=o(4786),_e=o(80340),Se=o(71522),Ne=o(29236);function Oe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",25),I.TgZ(1,"mat-form-field",26),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodStatic=t}),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-hint"),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(2),I.s9C("pattern",a.datePattern),I.s9C("placeholder",I.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),I.Q6J("ngModel",a.currentConfiguration.periodStatic),I.xp6(3),I.Oqu(I.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function xe(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function Ce(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",18),I.TgZ(1,"mat-form-field",19),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodDynamic=t}),I.ALo(3,"translate"),I.qZA(),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodDynamicUnit=t}),I.YNc(9,xe,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(2),I.s9C("pattern",a.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),I.Q6J("ngModel",a.currentConfiguration.periodDynamic),I.xp6(4),I.Oqu(I.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",a.currentConfiguration.periodDynamicUnit),I.xp6(1),I.Q6J("ngForOf",a.amountOptions)}}function Le(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.Oqu(i)}}function Re(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.Oqu(i)}}function Me(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function De(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",i," ")}}function ye(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",25),I.TgZ(1,"mat-form-field",26),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodStatic=t}),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-hint"),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.s9C("pattern",a.datePattern),I.s9C("placeholder",I.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodStatic),I.xp6(3),I.Oqu(I.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Ue(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function qe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",18),I.TgZ(1,"mat-form-field",19),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodDynamic=t}),I.ALo(3,"translate"),I.qZA(),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=t}),I.YNc(9,Ue,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.s9C("pattern",a.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodDynamic),I.xp6(4),I.Oqu(I.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodDynamicUnit),I.xp6(1),I.Q6J("ngForOf",a.amountOptions)}}function we(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",28),I.TgZ(1,"mat-radio-group",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.specialLoaPeriodType=t}),I.TgZ(2,"mat-radio-button",9,29),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"mat-radio-button",11,30),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.qZA(),I.YNc(10,ye,7,8,"div",13),I.YNc(11,qe,10,10,"div",14),I.TgZ(12,"div"),I.TgZ(13,"mat-checkbox",31),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=t}),I._uU(14),I.ALo(15,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(3),n=I.MAs(7),o=I.oxw(2);I.xp6(1),I.Q6J("ngModel",o.currentConfiguration.specialLoaPeriodType),I.xp6(3),I.hij(" ",I.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),I.xp6(4),I.hij(" ",I.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),I.xp6(2),I.Q6J("ngIf",a.checked),I.xp6(1),I.Q6J("ngIf",n.checked),I.xp6(2),I.Q6J("ngModel",o.currentConfiguration.specialLoaPeriodExtendExpiredMembers),I.xp6(1),I.hij(" ",I.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Pe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",1),I.TgZ(1,"div",2),I.TgZ(2,"h1",3),I.NdJ("click",function(){return I.CHM(i),I.MAs(6).toggle()}),I._uU(3),I.ALo(4,"translate"),I.qZA(),I.TgZ(5,"mat-slide-toggle",4,5),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.enabled=t}),I.qZA(),I.qZA(),I.TgZ(7,"div"),I.TgZ(8,"label",6),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"div",7),I.TgZ(12,"mat-radio-group",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.periodType=t}),I.TgZ(13,"mat-radio-button",9,10),I._uU(15),I.ALo(16,"translate"),I.qZA(),I.TgZ(17,"mat-radio-button",11,12),I._uU(19),I.ALo(20,"translate"),I.qZA(),I.qZA(),I.YNc(21,Oe,7,8,"div",13),I.YNc(22,Ce,10,10,"div",14),I.qZA(),I.TgZ(23,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotAllowLoasEnabled=t}),I.ALo(24,"translate"),I.TgZ(25,"mat-form-field"),I.TgZ(26,"mat-placeholder"),I._uU(27),I.ALo(28,"translate"),I.qZA(),I.TgZ(29,"mat-select",16),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotAllowLoas=t}),I.YNc(30,Le,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.TgZ(31,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotExtendLoasEnabled=t}),I.ALo(32,"translate"),I.TgZ(33,"mat-form-field"),I.TgZ(34,"mat-placeholder"),I._uU(35),I.ALo(36,"translate"),I.qZA(),I.TgZ(37,"mat-select",16),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotExtendLoas=t}),I.YNc(38,Re,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.TgZ(39,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriodEnabled=t}),I.ALo(40,"translate"),I.TgZ(41,"div",18),I.TgZ(42,"mat-form-field",19),I.TgZ(43,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriod=t}),I.ALo(44,"translate"),I.qZA(),I.qZA(),I.TgZ(45,"mat-form-field"),I.TgZ(46,"mat-label"),I._uU(47),I.ALo(48,"translate"),I.qZA(),I.TgZ(49,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriodUnit=t}),I.YNc(50,Me,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(51,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.specialLoaPeriodEnabled=t}),I.ALo(52,"translate"),I.TgZ(53,"div",7),I.TgZ(54,"div"),I.TgZ(55,"mat-form-field"),I.TgZ(56,"mat-label"),I._uU(57),I.ALo(58,"translate"),I.qZA(),I.TgZ(59,"mat-select",8,21),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.specialLoa=t}),I.YNc(61,De,2,2,"mat-option",17),I.qZA(),I.qZA(),I.YNc(62,we,16,13,"div",22),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(63,"div",23),I.ALo(64,"translate"),I.TgZ(65,"button",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().saveChanges()}),I._uU(66),I.ALo(67,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(6),n=I.MAs(14),o=I.MAs(18),r=I.oxw();I.xp6(2),I.ekj("unselected-setting",!a.checked),I.xp6(1),I.hij(" ",I.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.enabled),I.xp6(2),I.Q6J("@openClose",a.checked?"open":"closed"),I.xp6(2),I.Oqu(I.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),I.xp6(3),I.Q6J("ngModel",r.currentConfiguration.periodType),I.xp6(3),I.hij(" ",I.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),I.xp6(4),I.hij(" ",I.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),I.xp6(2),I.Q6J("ngIf",n.checked),I.xp6(1),I.Q6J("ngIf",o.checked),I.xp6(1),I.Q6J("model",r.currentConfiguration.doNotAllowLoasEnabled)("title",I.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),I.xp6(4),I.Oqu(I.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.doNotAllowLoas),I.xp6(1),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("model",r.currentConfiguration.doNotExtendLoasEnabled)("title",I.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),I.xp6(4),I.Oqu(I.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.doNotExtendLoas),I.xp6(1),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("model",r.currentConfiguration.gracePeriodEnabled)("title",I.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),I.xp6(4),I.s9C("pattern",r.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),I.Q6J("ngModel",r.currentConfiguration.gracePeriod),I.xp6(4),I.Oqu(I.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.gracePeriodUnit),I.xp6(1),I.Q6J("ngForOf",r.amountOptions),I.xp6(1),I.Q6J("model",r.currentConfiguration.specialLoaPeriodEnabled)("title",I.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),I.xp6(6),I.Oqu(I.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.specialLoa),I.xp6(2),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("ngIf",null!==r.currentConfiguration.specialLoa),I.xp6(1),I.s9C("matTooltip",I.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),I.Q6J("matTooltipDisabled",r.expirationAttribute.writable)("matTooltipPosition","above"),I.xp6(2),I.Q6J("disabled",!r.areChangesMade()||!r.expirationAttribute.writable),I.xp6(1),I.hij(" ",I.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}var Ge=function(){var t=function(){function t(){n(this,t),this.saveAttribute=new I.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}return r(t,[{key:"ngOnInit",value:function(){var t=new Map;this.loas.forEach(function(e){return t.set(e,"")}),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}},{key:"ngOnChanges",value:function(t){t.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}},{key:"saveChanges",value:function(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}},{key:"areChangesMade",value:function(){var t=this.parseAttributeValueFromConfig(this.currentConfiguration),e=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===e?null!==t:null===t||t.period!==e.period||t.gracePeriod!==e.gracePeriod||t.doNotExtendLoa!==e.doNotExtendLoa||t.doNotAllowLoa!==e.doNotAllowLoa||t.periodLoa!==e.periodLoa}},{key:"parseExpirationRulesAttribute",value:function(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}},{key:"parsePeriod",value:function(t){switch(t.periodType){case"dynamic":return this.parseDynamicPeriod(t);case"static":return this.parseStaticPeriod(t)}}},{key:"createInitConfiguration",value:function(){var t=new Map;return this.loas.forEach(function(e){return t.set(e,"")}),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}},{key:"unParseAttrValue",value:function(t){var e=this.createInitConfiguration();return null==t||(void 0!==t.period&&t.period.length>0&&(e=this.setPeriodValues(t,e)),void 0!==t.doNotAllowLoa&&t.doNotAllowLoa.length>0&&(e=this.setDoNotAllowLoasValues(t,e)),void 0!==t.doNotExtendLoa&&t.doNotExtendLoa.length>0&&(e=this.setDoNotExtendLoasValues(t,e)),void 0!==t.gracePeriod&&t.gracePeriod.length>0&&(e=this.setGracePeriodValues(t,e)),void 0!==t.periodLoa&&t.periodLoa.length>0&&(e=this.setSpecialLoaPeriodValues(t,e))),e}},{key:"setPeriodValues",value:function(t,e){if(e.enabled=!0,t.period.startsWith("+")){e.periodType="dynamic";var i=t.period.charAt(t.period.length-1);e.periodDynamic=t.period.substring(1,t.period.length-1),e.periodDynamicUnit=i}else e.periodType="static",e.periodStatic=t.period;return e}},{key:"setDoNotAllowLoasValues",value:function(t,e){var i=[];return t.doNotAllowLoa.split(",").forEach(function(t){return i.push(parseInt(t.trim(),10))}),e.doNotAllowLoas=i,i.length>0&&(e.doNotAllowLoasEnabled=!0),e}},{key:"setDoNotExtendLoasValues",value:function(t,e){var i=[];return t.doNotExtendLoa.split(",").forEach(function(t){return i.push(parseInt(t.trim(),10))}),e.doNotExtendLoas=i,i.length>0&&(e.doNotExtendLoasEnabled=!0),e}},{key:"setGracePeriodValues",value:function(t,e){e.gracePeriodEnabled=!0;var i=t.gracePeriod.charAt(t.gracePeriod.length-1);return e.gracePeriod=t.gracePeriod.substring(0,t.gracePeriod.length-1),e.gracePeriodUnit=i,e}},{key:"setSpecialLoaPeriodValues",value:function(t,e){e.specialLoa=parseInt(t.periodLoa.substring(0,t.periodLoa.indexOf("|")),10),e.specialLoaPeriodEnabled=!0;var i=t.periodLoa.substring(t.periodLoa.indexOf("|")+1,t.periodLoa.length);if(i.startsWith("+")){i.endsWith(".")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="dynamic";var a=i.charAt(i.length-1);e.specialLoaPeriodDynamic=i.substring(1,i.length-1),e.specialLoaPeriodDynamicUnit=a}else i.endsWith("..")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="static",e.specialLoaPeriodStatic=i;return e}},{key:"parseDynamicPeriod",value:function(t){return"+"+t.periodDynamic+t.periodDynamicUnit}},{key:"parseStaticPeriod",value:function(t){return t.periodStatic}},{key:"parseDontAllowLoas",value:function(t){if(!t.doNotAllowLoasEnabled)return null;var e="";return t.doNotAllowLoas.forEach(function(t){return e+=t+","}),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}},{key:"parseDontExtendLoas",value:function(t){if(!t.doNotExtendLoasEnabled)return null;var e="";return t.doNotExtendLoas.forEach(function(t){return e+=t+","}),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}},{key:"parseGracePeriod",value:function(t){return t.gracePeriodEnabled?t.gracePeriod+t.gracePeriodUnit:null}},{key:"parseSpecialLoaPeriod",value:function(t){if(!t.specialLoaPeriodEnabled)return null;var e=t.specialLoa+"|";switch(t.specialLoaPeriodType){case"static":e+=this.parseSpecialLoaPeriodStatic(t);break;case"dynamic":e+=this.parseSpecialLoaPeriodDynamic(t)}return null!=e&&t.specialLoaPeriodExtendExpiredMembers&&(e+="."),e}},{key:"parseSpecialLoaPeriodStatic",value:function(t){return t.specialLoaPeriodStatic}},{key:"parseSpecialLoaPeriodDynamic",value:function(t){return"+"+t.specialLoaPeriodDynamic+t.specialLoaPeriodDynamicUnit}},{key:"parseAttributeValueFromConfig",value:function(t){if(!t.enabled)return null;var e=this.parsePeriod(t),i=this.parseDontAllowLoas(t),a=this.parseDontExtendLoas(t),n=this.parseGracePeriod(t),o=this.parseSpecialLoaPeriod(t),r={period:e};return null!==a&&(r.doNotExtendLoa=a),null!==i&&(r.doNotAllowLoa=i),null!==n&&(r.gracePeriod=n),null!==o&&(r.periodLoa=o),r}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[I.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&I.YNc(0,Pe,68,70,"div",0),2&t&&I.Q6J("ngIf",e.currentConfiguration)},directives:[s.O5,Ae.Rr,Ie.JJ,Ie.On,Te.VQ,Te.U0,Ee,Ze.KE,Ze.UY,be.gD,s.sg,_e.Nt,Ie.Fj,Ie.c5,Ze.hX,_.gM,N.lW,Ze.bx,Se.ey,Ne.oG],pipes:[O.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[p.BQ]}}),t}();function ke(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-expiration-settings",1),I.NdJ("saveAttribute",function(t){return I.CHM(i),I.oxw().saveExpirationAttribute(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("expirationAttribute",a.expirationAttribute)}}var Ye=function(){var t=function(){function t(e,i,a,o,r){var s=this;n(this,t),this.attributesManager=e,this.route=i,this.translate=a,this.notificator=o,this.apiRequest=r,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(function(t){return s.successMessage=t}),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(function(t){return s.errorMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.loadSettings()})}},{key:"loadSettings",value:function(){var t=this;this.attributesManager.getVoAttributeByName(this.voId,m.r.VO_DEF_EXPIRATION_RULES).subscribe(function(e){t.expirationAttribute=e})}},{key:"saveExpirationAttribute",value:function(t){var e=this;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.voId,attribute:t}).subscribe(function(){e.loadSettings(),e.notificator.showSuccess(e.successMessage)},function(t){console.log(t),e.notificator.showRPCError(t.error,e.errorMessage)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.V6),I.Y36(h.F5))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&I.YNc(0,ke,1,1,"app-expiration-settings",0),2&t&&I.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[s.O5,Ge],styles:[""],data:{animation:[p.BQ]}}),t}(),Je=o(62284),Ve=o(489);function Fe(t,e){if(1&t&&I._UZ(0,"app-managers-page",1),2&t){var i=I.oxw();I.Q6J("complementaryObject",i.vo)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var Qe=function(){var t=function(){function t(e,i,a,o){n(this,t),this.dialog=e,this.voService=i,this.route=a,this.guiAuthResolver=o,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.uw),I.Y36(d.YF),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&I.YNc(0,Fe,1,4,"app-managers-page",0),2&t&&I.Q6J("ngIf",e.vo)},directives:[s.O5,Ve.s],styles:[""]}),t}();function ze(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function Be(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"textarea",17),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).reason=t}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),I.xp6(3),I.Q6J("ngModel",a.reason)}}function je(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",7),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"mat-select",9),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().mailType=t}),I.TgZ(5,"mat-option",10),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-option",11),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"mat-option",12),I._uU(12),I.ALo(13,"translate"),I.qZA(),I.TgZ(14,"mat-option",13),I._uU(15),I.ALo(16,"translate"),I.qZA(),I.TgZ(17,"mat-option",14),I._uU(18),I.ALo(19,"translate"),I.qZA(),I.TgZ(20,"mat-option",15),I._uU(21),I.ALo(22,"translate"),I.qZA(),I.qZA(),I.qZA(),I.YNc(23,Be,5,4,"div",16),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.hij(" ",I.lcZ(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),I.xp6(3),I.Q6J("value",a.mailType),I.xp6(2),I.Oqu(I.lcZ(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),I.xp6(3),I.Oqu(I.lcZ(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),I.xp6(3),I.Oqu(I.lcZ(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),I.xp6(3),I.Oqu(I.lcZ(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),I.xp6(3),I.Oqu(I.lcZ(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),I.xp6(3),I.Oqu(I.lcZ(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),I.xp6(2),I.Q6J("ngIf","APP_REJECTED_USER"===a.mailType)}}var He=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.translate=a,this.notificator=o,this.registrarManager=r,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(function(){t.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1}):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(function(){t.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(O.sK),I.Y36(h.V6),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,ze,1,0,"mat-spinner",1),I.YNc(5,je,24,23,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Gre("",e.theme,"}"),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,be.gD,Se.ey,_e.Nt,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}();function Xe(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function $e(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",7),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"textarea",9),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().reason=t}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),I.xp6(3),I.Q6J("ngModel",a.reason)}}var We=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.translate=a,this.notificator=o,this.registrarManager=r,this.reason="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(function(){t.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(O.sK),I.Y36(h.V6),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Xe,1,0,"mat-spinner",1),I.YNc(5,$e,5,4,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,_e.Nt,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}();function Ke(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function ti(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function ei(t,e){if(1&t&&(I.TgZ(0,"mat-form-field"),I.TgZ(1,"label"),I._UZ(2,"input",9),I.qZA(),I.YNc(3,ti,3,3,"mat-error",8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Q6J("formControl",i.emailControl),I.xp6(1),I.Q6J("ngIf",i.emailControl.invalid)}}function ii(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function ai(t,e){if(1&t&&(I.TgZ(0,"mat-form-field"),I._UZ(1,"input",10),I.YNc(2,ii,3,3,"mat-error",8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Q6J("formControl",i.inputControl),I.xp6(1),I.Q6J("ngIf",i.inputControl.invalid)}}function ni(t,e){if(1&t&&(I.TgZ(0,"div",7),I.YNc(1,ei,4,2,"mat-form-field",8),I.YNc(2,ai,3,2,"mat-form-field",8),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf",null!==i.emailControl),I.xp6(1),I.Q6J("ngIf",null!==i.inputControl)}}var oi=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.notificator=a,this.translateService=o,this.registrarService=r,this.loading=!1,this.inputControl=null,this.emailControl=null}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new Ie.NI(this.formItemData.value,[Ie.kI.required,Ie.kI.email]):this.inputControl=new Ie.NI(this.formItemData.value,[Ie.kI.required])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(function(){t.notificator.showSuccess(t.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"getLabel",value:function(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(h.V6),I.Y36(O.sK),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,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"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Ke,1,0,"mat-spinner",1),I.YNc(5,ni,3,2,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.AsE("",I.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),I.xp6(1),I.hij(" ",I.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,_e.Nt,Ie.Fj,Ie.Q7,Ie.JJ,Ie.oH,Ze.TO],pipes:[O.X$],styles:[""]}),t}(),ri=o(27679),si=o(84650);function li(t,e){if(1&t&&(I.TgZ(0,"span",5),I._uU(1),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.hij(" #",i.application.id," ")}}function ui(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function ci(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",17),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).verifyApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function pi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",17),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).approveApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function di(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",18),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).rejectApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function gi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",18),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).deleteApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function hi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",19),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).resendNotification()}),I.TgZ(1,"i",14),I._uU(2," mail_outline "),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function mi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),I.xp6(2),I.hij(": ",i.application.vo.name," ")}}function fi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.TgZ(5,"span",10),I._uU(6),I.ALo(7,"translate"),I.qZA(),I._uU(8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),I.xp6(2),I.hij(": ",i.application.group.name," "),I.xp6(2),I.Oqu(I.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),I.xp6(2),I.hij(": ",i.application.vo.name," ")}}function Ai(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"arrow_right_alt"),I.qZA(),I._uU(3," Initial "),I.qZA())}function Ii(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"restore"),I.qZA(),I._uU(3," Extension "),I.qZA())}function Ti(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"nat"),I.qZA(),I._uU(3," Embedded "),I.qZA())}function vi(t,e){if(1&t&&(I.TgZ(0,"div",21),I.TgZ(1,"mat-card-title"),I.TgZ(2,"i",22),I._uU(3,"clear"),I.qZA(),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"div"),I.TgZ(7,"span",10),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._uU(10),I.ALo(11,"date"),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(4),I.AsE(" ",I.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),I.xp6(4),I.Oqu(I.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ei(t,e){if(1&t&&(I.TgZ(0,"div",21),I.TgZ(1,"mat-card-title"),I.TgZ(2,"i",23),I._uU(3,"done"),I.qZA(),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"div"),I.TgZ(7,"span",10),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._uU(10),I.ALo(11,"date"),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(4),I.AsE(" ",I.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),I.xp6(4),I.Oqu(I.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Zi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),I.xp6(2),I.hij(": ",i.userMail,"")}}function bi(t,e){1&t&&I._UZ(0,"th",32)}function _i(t,e){if(1&t&&(I.TgZ(0,"td",33),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3);I.xp6(1),I.AsE("",a.getLabel(i.formItem),"",i.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function Si(t,e){1&t&&I._UZ(0,"th",32)}function Ni(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",36),I.NdJ("click",function(){I.CHM(i);var t=I.oxw().$implicit;return I.oxw(3).editApplicationData(t)}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Oi(t,e){if(1&t&&(I.TgZ(0,"td",34),I._uU(1),I.YNc(2,Ni,3,0,"button",35),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3);I.xp6(1),I.hij(" ",i.value," "),I.xp6(1),I.Q6J("ngIf",!i.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===a.application.state||"VERIFIED"===a.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==i.formItem.type)}}function xi(t,e){1&t&&I._UZ(0,"tr",37)}function Ci(t,e){1&t&&I._UZ(0,"tr",38)}function Li(t,e){if(1&t&&(I.TgZ(0,"table",24),I.ynx(1,25),I.YNc(2,bi,1,0,"th",26),I.YNc(3,_i,2,2,"td",27),I.BQk(),I.ynx(4,28),I.YNc(5,Si,1,0,"th",26),I.YNc(6,Oi,3,2,"td",29),I.BQk(),I.YNc(7,xi,1,0,"tr",30),I.YNc(8,Ci,1,0,"tr",31),I.qZA()),2&t){var i=I.oxw(2);I.Q6J("dataSource",i.dataSource),I.xp6(7),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}function Ri(t,e){1&t&&(I.TgZ(0,"div",39),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij("*",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function Mi(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,ci,3,3,"button",7),I.YNc(2,pi,3,3,"button",7),I.YNc(3,di,3,3,"button",8),I.YNc(4,gi,3,3,"button",8),I.YNc(5,hi,5,3,"button",9),I.YNc(6,mi,5,4,"div",4),I.YNc(7,fi,9,8,"div",4),I.TgZ(8,"div"),I.TgZ(9,"span",10),I._uU(10),I.ALo(11,"translate"),I.qZA(),I._uU(12,": "),I._UZ(13,"span",11),I.ALo(14,"applicationState"),I.qZA(),I.TgZ(15,"div"),I.TgZ(16,"span",10),I._uU(17),I.ALo(18,"translate"),I.qZA(),I._uU(19,": "),I.YNc(20,Ai,4,0,"span",4),I.YNc(21,Ii,4,0,"span",4),I.YNc(22,Ti,4,0,"span",4),I.qZA(),I.YNc(23,vi,12,11,"div",12),I.YNc(24,Ei,12,11,"div",12),I.TgZ(25,"div",13),I.TgZ(26,"mat-card-title"),I.TgZ(27,"i",14),I._uU(28,"redo"),I.qZA(),I._uU(29),I.ALo(30,"translate"),I.ALo(31,"userFullName"),I.qZA(),I.YNc(32,Zi,5,4,"div",4),I.TgZ(33,"div"),I.TgZ(34,"span",10),I._uU(35),I.ALo(36,"translate"),I.qZA(),I._uU(37),I.qZA(),I.TgZ(38,"div"),I.TgZ(39,"span",10),I._uU(40),I.ALo(41,"translate"),I.qZA(),I._uU(42),I.qZA(),I.TgZ(43,"div"),I.TgZ(44,"span",10),I._uU(45),I.ALo(46,"translate"),I.qZA(),I._uU(47),I.ALo(48,"date"),I.qZA(),I.YNc(49,Li,9,3,"table",15),I.YNc(50,Ri,3,3,"div",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf","NEW"===i.application.state&&i.verifyAuth),I.xp6(1),I.Q6J("ngIf",("VERIFIED"===i.application.state||"NEW"===i.application.state)&&i.approveAuth),I.xp6(1),I.Q6J("ngIf",("VERIFIED"===i.application.state||"NEW"===i.application.state)&&i.rejectAuth),I.xp6(1),I.Q6J("ngIf",("REJECTED"===i.application.state||"NEW"===i.application.state)&&i.deleteAuth),I.xp6(1),I.Q6J("ngIf",i.resendAuth),I.xp6(1),I.Q6J("ngIf",!i.application.group),I.xp6(1),I.Q6J("ngIf",i.application.group),I.xp6(3),I.Oqu(I.lcZ(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),I.xp6(3),I.Q6J("outerHTML",I.lcZ(14,28,i.application.state),I.oJD),I.xp6(4),I.Oqu(I.lcZ(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),I.xp6(3),I.Q6J("ngIf","INITIAL"===i.application.type),I.xp6(1),I.Q6J("ngIf","EXTENSION"===i.application.type),I.xp6(1),I.Q6J("ngIf","EMBEDDED"===i.application.type),I.xp6(1),I.Q6J("ngIf","REJECTED"===i.application.state),I.xp6(1),I.Q6J("ngIf","APPROVED"===i.application.state),I.xp6(5),I.AsE(" ",I.lcZ(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===i.application.user?i.submittedBy():I.lcZ(31,34,i.application.user),""),I.xp6(3),I.Q6J("ngIf",i.userMail),I.xp6(3),I.Oqu(I.lcZ(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),I.xp6(2),I.hij(": ",i.application.extSourceName,""),I.xp6(3),I.Oqu(I.lcZ(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),I.xp6(2),I.hij(": ",i.application.extSourceLoa,""),I.xp6(3),I.Oqu(I.lcZ(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(48,42,i.application.createdAt,"d.M.y H:mm:ss"),""),I.xp6(2),I.Q6J("ngIf",0!==i.userData.length),I.xp6(1),I.Q6J("ngIf",0!==i.userData.length)}}var Di=function(){var t=function(){function t(e,i,a,o,r,s,l,u){n(this,t),this.registrarManager=e,this.dialog=i,this.translate=a,this.route=o,this.notificator=r,this.router=s,this.authResolver=l,this.usersService=u,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.route.parent.params.subscribe(function(i){t.dialogTheme=i.groupId?"group-theme":i.memberId?"member-theme":"vo-theme",t.registrarManager.getApplicationById(e.applicationId).subscribe(function(e){t.application=e,"EMBEDDED"===t.application.type&&t.application.user?t.usersService.getRichUserWithAttributes(t.application.user.id).subscribe(function(e){var i,a=e.userAttributes.find(function(t){return"preferredMail"===t.friendlyName});t.userMail=null===(i=null==a?void 0:a.value)||void 0===i?void 0:i.toString(),t.setAuthRights(),t.loading=!1}):t.registrarManager.getApplicationDataById(t.application.id).subscribe(function(e){t.userData=e,t.dataSource=new ut.by(t.userData),t.setAuthRights(),t.loading=!1})})})})}},{key:"setAuthRights",value:function(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}},{key:"getLabel",value:function(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}},{key:"submittedBy",value:function(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}},{key:"getModifiedAtName",value:function(t){var e=t.lastIndexOf("/CN=");if(-1!==e){var i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}},{key:"resendNotification",value:function(){var t=(0,g.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(He,t)}},{key:"deleteApplication",value:function(){var t=this;this.loading=!0,this.registrarManager.deleteApplication(this.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e),t.router.navigateByUrl(t.router.url.substring(0,t.router.url.lastIndexOf("/")))})})}},{key:"rejectApplication",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(We,e).afterClosed().subscribe(function(){t.loading=!0,t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1},function(){return t.loading=!1})})}},{key:"approveApplication",value:function(){var t=this;this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e)}),t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"verifyApplication",value:function(){var t=this;this.registrarManager.verifyApplication(this.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e)}),t.loading=!0,t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1})})}},{key:"editApplicationData",value:function(t){var e=(0,g.kZ)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(oi,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.tk),I.Y36(v.uw),I.Y36(O.sK),I.Y36(l.gz),I.Y36(h.V6),I.Y36(l.F0),I.Y36(h.x4),I.Y36(d.Fv))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["class","font-italic",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""],[1,"font-italic"]],template:function(t,e){1&t&&(I.TgZ(0,"h2",0),I._uU(1),I.ALo(2,"translate"),I.YNc(3,li,2,1,"span",1),I.qZA(),I._UZ(4,"mat-divider",2),I.YNc(5,ui,1,0,"mat-spinner",3),I.YNc(6,Mi,51,45,"div",4)),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),I.xp6(2),I.Q6J("ngIf",!!e.application),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,ri.d,Z.$g,dt.n5,N.lW,b.Hw,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$,si.h,Ut.d,s.uU],styles:[""]}),t}(),yi=o(11930),Ui=o(7433),qi=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),wi=o(55109),Pi=o(69012);function Gi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function ki(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",4),2&t){var i=I.oxw();I.Q6J("entity","group")("entityId",i.groupId)}}function Yi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",I.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Ji(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",5),2&t){var i=I.oxw(2);I.Q6J("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","member")}}function Vi(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Yi,3,6,"ng-template",1),I.YNc(2,Ji,1,3,"ng-template",2),I.qZA())}function Fi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",I.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Qi(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",5),2&t){var i=I.oxw(2);I.Q6J("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","resource")}}function zi(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Fi,3,6,"ng-template",1),I.YNc(2,Qi,1,3,"ng-template",2),I.qZA())}var Bi=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.groupManager=i,this.authResolver=a}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.groupId=e.groupId,t.groupManager.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.groupResourceAttAuth=t.authResolver.isAuthorized("getAssignedResources_Group_policy",[t.group]),t.groupMemberAttAuth=t.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[t.group])})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.ff),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-tab-group"),I.TgZ(5,"mat-tab"),I.YNc(6,Gi,2,3,"ng-template",1),I.YNc(7,ki,1,2,"ng-template",2),I.qZA(),I.YNc(8,Vi,3,0,"mat-tab",3),I.YNc(9,zi,3,0,"mat-tab",3),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(6),I.Q6J("ngIf",e.groupMemberAttAuth),I.xp6(1),I.Q6J("ngIf",e.groupResourceAttAuth))},directives:[wi.SP,wi.uX,wi.uD,wi.Vc,s.O5,de.t,Pi.Y],pipes:[O.X$],styles:[""]}),t}();function ji(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function Hi(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.items)("size","small")}}var Xi=function(){var t=function(){function t(e,i,a,o,r,s,l,u,c){n(this,t),this.sideMenuService=e,this.voService=i,this.groupService=a,this.route=o,this.router=r,this.guiAuthResolver=s,this.apiRequest=l,this.attributesManager=u,this.notificator=c,this.items=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){var i=e.voId;t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e,t.voService.getVoById(i).subscribe(function(e){t.vo=e,t.initItems(),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}},{key:"initItems",value:function(){var t=this;this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){t.items.push({cssIcon:"perun-group",url:"/organizations/".concat(t.vo.id,"/groups/").concat(t.group.id,"/settings/expiration"),label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/managers"),label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/applicationForm"),label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/notifications"),label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/relations"),label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/extsources"),label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(d.ff),I.Y36(l.gz),I.Y36(l.F0),I.Y36(h.x4),I.Y36(h.F5),I.Y36(d.H8),I.Y36(h.V6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,ji,1,0,"mat-spinner",0),I.YNc(1,Hi,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),$i=o(14527);function Wi(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function Ki(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",10),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).switchToInitial()}),I.TgZ(1,"i",11),I._uU(2,"arrow_right_alt"),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function ta(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",10),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).switchToExtension()}),I.TgZ(1,"i",11),I._uU(2,"cached"),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function ea(t,e){if(1&t&&(I.TgZ(0,"mat-option",12),I._uU(1),I.ALo(2,"translate"),I.ALo(3,"uppercase"),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",I.lcZ(2,2,I.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function ia(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function aa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function na(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",19),I.qZA(),I.qZA(),I.TgZ(6,"div",20),I.YNc(7,ia,2,1,"mat-icon",21),I.YNc(8,aa,2,1,"mat-icon",21),I.TgZ(9,"span",22),I._uU(10),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function oa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ra(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function sa(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",24),I.qZA(),I.qZA(),I.TgZ(6,"div",20),I.YNc(7,oa,2,1,"mat-icon",21),I.YNc(8,ra,2,1,"mat-icon",21),I.TgZ(9,"span",22),I._uU(10),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(4),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function la(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ua(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ca(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",25),I._UZ(6,"br"),I._UZ(7,"input",19),I.qZA(),I.qZA(),I.TgZ(8,"div",20),I.YNc(9,la,2,1,"mat-icon",21),I.YNc(10,ua,2,1,"mat-icon",21),I.TgZ(11,"span",22),I._uU(12),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function pa(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"input",27),I._uU(2),I._UZ(3,"br"),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3).$implicit;I.xp6(1),I.Q6J("disabled","ALWAYS"===a.disabled),I.xp6(1),I.hij(" ",i,"")}}function da(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ga(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ha(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"form",18),I.YNc(5,pa,4,2,"div",9),I._UZ(6,"input",26),I.ALo(7,"translate"),I.qZA(),I.qZA(),I.TgZ(8,"div",20),I.YNc(9,da,2,1,"mat-icon",21),I.YNc(10,ga,2,1,"mat-icon",21),I.TgZ(11,"span",22),I._uU(12),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(1),I.s9C("value",I.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function ma(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"span",28),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("innerHTML",a.getLocalizedLabel(i),I.oJD)}}function fa(t,e){if(1&t&&(I.TgZ(0,"option"),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Oqu(i)}}function Aa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ia(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Ta(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",29),I.YNc(6,fa,2,1,"option",9),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"div",20),I.YNc(8,Aa,2,1,"mat-icon",21),I.YNc(9,Ia,2,1,"mat-icon",21),I.TgZ(10,"span",22),I._uU(11),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function va(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ea(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Za(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I._UZ(4,"textarea",30),I.qZA(),I.TgZ(5,"div",20),I.YNc(6,va,2,1,"mat-icon",21),I.YNc(7,Ea,2,1,"mat-icon",21),I.TgZ(8,"span",22),I._uU(9),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function ba(t,e){if(1&t&&(I.TgZ(0,"option",35),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Oqu(i)}}function _a(t,e){1&t&&(I.TgZ(0,"div",36),I.TgZ(1,"form"),I._UZ(2,"input",37),I.qZA(),I.qZA())}function Sa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Na(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Oa(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",31),I.NdJ("ngModelChange",function(t){I.CHM(i);var e=I.oxw(2).$implicit;return I.oxw(2).mapForCombobox[e.id]=t}),I.TgZ(6,"option",32),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.YNc(9,ba,2,1,"option",33),I.qZA(),I.YNc(10,_a,3,0,"div",34),I.qZA(),I.qZA(),I.TgZ(11,"div",20),I.YNc(12,Sa,2,1,"mat-icon",21),I.YNc(13,Na,2,1,"mat-icon",21),I.TgZ(14,"span",22),I._uU(15),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2).$implicit,n=I.oxw(2);I.xp6(3),I.Oqu(n.getLocalizedLabel(a)),I.xp6(2),I.Q6J("ngModel",n.mapForCombobox[a.id])("disabled","ALWAYS"===a.disabled),I.xp6(2),I.Oqu(I.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),I.xp6(2),I.Q6J("ngForOf",n.getLocalizedOptions(a)),I.xp6(1),I.Q6J("ngIf","true"===n.mapForCombobox[a.id]),I.xp6(2),I.Q6J("ngIf","NEVER"!==a.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==a.hidden),I.xp6(2),I.Oqu(n.getLocalizedHint(a))}}function xa(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"input",38),I._uU(2),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3).$implicit;I.xp6(1),I.Q6J("disabled","ALWAYS"===a.disabled),I.xp6(1),I.hij(" ",i," ")}}function Ca(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function La(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Ra(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"form",36),I.YNc(6,xa,3,2,"div",9),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"div",20),I.YNc(8,Ca,2,1,"mat-icon",21),I.YNc(9,La,2,1,"mat-icon",21),I.TgZ(10,"span",22),I._uU(11),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(3),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Ma(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Da(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ya(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"form",36),I._UZ(6,"input",38),I._uU(7," example group1 "),I._UZ(8,"br"),I._UZ(9,"input",38),I._uU(10," example group2 "),I._UZ(11,"br"),I._UZ(12,"input",38),I._uU(13," example group3 "),I.qZA(),I.qZA(),I.qZA(),I.TgZ(14,"div",20),I.YNc(15,Ma,2,1,"mat-icon",21),I.YNc(16,Da,2,1,"mat-icon",21),I.TgZ(17,"span",22),I._uU(18),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Ua(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function qa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function wa(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"button",39),I._uU(2),I.qZA(),I.YNc(3,Ua,2,1,"mat-icon",40),I.YNc(4,qa,2,1,"mat-icon",40),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden)}}function Pa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ga(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ka(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"button",39),I._uU(2),I.qZA(),I.YNc(3,Pa,2,1,"mat-icon",40),I.YNc(4,Ga,2,1,"mat-icon",40),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden)}}function Ya(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ja(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Va(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",42),I.TgZ(6,"option",43),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.TgZ(9,"option",44),I._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),I.qZA(),I.TgZ(11,"option",45),I._uU(12,"(GMT -11:00) Midway Island, Samoa"),I.qZA(),I.TgZ(13,"option",46),I._uU(14,"(GMT -10:00) Hawaii"),I.qZA(),I.TgZ(15,"option",47),I._uU(16,"(GMT -9:30) Taiohae"),I.qZA(),I.TgZ(17,"option",48),I._uU(18,"(GMT -9:00) Alaska"),I.qZA(),I.TgZ(19,"option",49),I._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),I.qZA(),I.TgZ(21,"option",50),I._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),I.qZA(),I.TgZ(23,"option",51),I._uU(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),I.qZA(),I.TgZ(25,"option",52),I._uU(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),I.qZA(),I.TgZ(27,"option",53),I._uU(28,"(GMT -4:30) Caracas"),I.qZA(),I.TgZ(29,"option",54),I._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),I.qZA(),I.TgZ(31,"option",55),I._uU(32,"(GMT -3:30) Newfoundland"),I.qZA(),I.TgZ(33,"option",56),I._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),I.qZA(),I.TgZ(35,"option",57),I._uU(36,"(GMT -2:00) Mid-Atlantic"),I.qZA(),I.TgZ(37,"option",58),I._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),I.qZA(),I.TgZ(39,"option",59),I._uU(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),I.qZA(),I.TgZ(41,"option",60),I._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),I.qZA(),I.TgZ(43,"option",61),I._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),I.qZA(),I.TgZ(45,"option",62),I._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),I.qZA(),I.TgZ(47,"option",63),I._uU(48,"(GMT +3:30) Tehran"),I.qZA(),I.TgZ(49,"option",64),I._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),I.qZA(),I.TgZ(51,"option",65),I._uU(52,"(GMT +4:30) Kabul"),I.qZA(),I.TgZ(53,"option",66),I._uU(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),I.qZA(),I.TgZ(55,"option",67),I._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),I.qZA(),I.TgZ(57,"option",68),I._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),I.qZA(),I.TgZ(59,"option",69),I._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),I.qZA(),I.TgZ(61,"option",70),I._uU(62,"(GMT +6:30) Yangon, Mandalay"),I.qZA(),I.TgZ(63,"option",71),I._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),I.qZA(),I.TgZ(65,"option",72),I._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),I.qZA(),I.TgZ(67,"option",73),I._uU(68,"(GMT +8:45) Eucla"),I.qZA(),I.TgZ(69,"option",74),I._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),I.qZA(),I.TgZ(71,"option",75),I._uU(72,"(GMT +9:30) Adelaide, Darwin"),I.qZA(),I.TgZ(73,"option",76),I._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),I.qZA(),I.TgZ(75,"option",77),I._uU(76,"(GMT +10:30) Lord Howe Island"),I.qZA(),I.TgZ(77,"option",78),I._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),I.qZA(),I.TgZ(79,"option",79),I._uU(80,"(GMT +11:30) Norfolk Island"),I.qZA(),I.TgZ(81,"option",80),I._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),I.qZA(),I.TgZ(83,"option",81),I._uU(84,"(GMT +12:45) Chatham Islands"),I.qZA(),I.TgZ(85,"option",82),I._uU(86,"(GMT +13:00) Apia, Nukualofa"),I.qZA(),I.TgZ(87,"option",83),I._uU(88,"(GMT +14:00) Line Islands, Tokelau"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(89,"div",20),I.YNc(90,Ya,2,1,"mat-icon",21),I.YNc(91,Ja,2,1,"mat-icon",21),I.TgZ(92,"span",22),I._uU(93),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.hij(" ",I.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),I.xp6(83),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Fa(t,e){if(1&t&&(I.TgZ(0,"div",14),I.YNc(1,na,11,5,"div",15),I.YNc(2,sa,11,4,"div",15),I.YNc(3,ca,13,6,"div",15),I.YNc(4,ha,13,9,"div",15),I.YNc(5,ma,2,1,"div",2),I.YNc(6,Ta,12,6,"div",15),I.YNc(7,Za,10,5,"div",15),I.YNc(8,Oa,16,11,"div",15),I.YNc(9,Ra,12,5,"div",15),I.YNc(10,ya,19,7,"div",15),I.YNc(11,wa,5,4,"div",15),I.YNc(12,ka,5,4,"div",2),I.YNc(13,Va,94,8,"div",15),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.Q6J("ngIf",("TEXTFIELD"===i.type||"VALIDATED_EMAIL"===i.type||"USERNAME"===i.type)&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","FROM_FEDERATION_SHOW"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","PASSWORD"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","RADIO"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf",("HEADING"===i.type||"HTML_COMMENT"===i.type)&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","SELECTIONBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","TEXTAREA"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","COMBOBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","CHECKBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","TIMEZONE"===i.type&&"ALWAYS"!==i.hidden)}}function Qa(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,Fa,14,13,"div",13),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("ngIf",a.isValid(i))}}function za(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"div",4),I.YNc(2,Ki,5,3,"button",5),I.YNc(3,ta,5,3,"button",5),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",6),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().currentLanguage=t}),I.YNc(9,ea,4,6,"mat-option",7),I.qZA(),I.qZA(),I.qZA(),I.TgZ(10,"div",8),I.YNc(11,Qa,2,1,"div",9),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(2),I.Q6J("ngIf",!a.initialPage),I.xp6(1),I.Q6J("ngIf",a.initialPage),I.xp6(3),I.Oqu(I.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),I.xp6(2),I.Q6J("value",a.currentLanguage),I.xp6(1),I.Q6J("ngForOf",a.languages),I.xp6(2),I.Q6J("ngForOf",a.applicationFormItems)}}var Ba=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.translate=i,this.store=a,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.languages=this.store.get("supportedLanguages"),this.route.queryParamMap.subscribe(function(e){t.applicationFormItems=JSON.parse(e.get("applicationFormItems")),t.loading=!1})}},{key:"switchToInitial",value:function(){this.initialPage=!0}},{key:"switchToExtension",value:function(){this.initialPage=!1}},{key:"getLocalizedOptions",value:function(t){if(t.i18n[this.currentLanguage]){var i=t.i18n[this.currentLanguage].options;if(null!==i&&""!==i){var a,n=[],o=e(i.split("|"));try{for(o.s();!(a=o.n()).done;){var r=a.value;n.push(r.split("#")[1])}}catch(s){o.e(s)}finally{o.f()}return n}}return[]}},{key:"isValid",value:function(t){if(t.forDelete)return!1;var i,a=e(t.applicationTypes);try{for(a.s();!(i=a.n()).done;){var n=i.value;if("INITIAL"===n&&this.initialPage)return!0;if("EXTENSION"===n&&!this.initialPage)return!0}}catch(o){a.e(o)}finally{a.f()}return!1}},{key:"disabledTooltip",value:function(t){var e,i,a;switch(t.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(a);case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(a);default:return""}}},{key:"hiddenTooltip",value:function(t){var e,i,a;switch(t.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(a);case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(a);default:return""}}},{key:"getLocalizedLabel",value:function(t){return t.i18n[this.currentLanguage]&&t.i18n[this.currentLanguage].label?t.i18n[this.currentLanguage].label:t.shortname}},{key:"getLocalizedHint",value:function(t){return t.i18n[this.currentLanguage]?t.i18n[this.currentLanguage].help:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text","disabled","",1,"w-100"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["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"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.YNc(3,Wi,1,0,"mat-spinner",1),I.YNc(4,za,12,8,"div",2)),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,Ze.KE,Ze.hX,be.gD,s.sg,N.lW,Se.ey,b.Hw,_.gM,Ie._Y,Ie.JL,Ie.F,Ie.YN,Ie.Kr,Ie.EJ,Ie.JJ,Ie.On],pipes:[O.X$,s.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}();function ja(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function Ha(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",5),2&t){var i=I.oxw();I.Q6J("entity","member")("entityId",i.memberId)}}function Xa(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",I.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function $a(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","group")}}function Wa(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Xa,3,6,"ng-template",1),I.YNc(2,$a,1,3,"ng-template",2),I.qZA())}function Ka(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",I.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function tn(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","resource")}}function en(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Ka,3,6,"ng-template",1),I.YNc(2,tn,1,3,"ng-template",2),I.qZA())}function an(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function nn(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",7),2&t){var i=I.oxw();I.Q6J("entityId",i.member.userId)("entity","user")}}function on(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",I.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function rn(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","user")("firstEntityId",i.member.userId)("secondEntity","facility")}}function sn(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,on,3,6,"ng-template",1),I.YNc(2,rn,1,3,"ng-template",2),I.qZA())}var ln=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.authResolver=i,this.memberManager=a}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.memberId=e.memberId,t.memberManager.getMemberById(t.memberId).subscribe(function(e){t.member=e,t.memberGroupAttAuth=t.authResolver.isAuthorized("getMemberGroups_Member_policy",[t.member]),t.memberResourceAttAuth=t.authResolver.isAuthorized("getAllowedResources_Member_policy",[t.member]),t.userFacilityAttAuth=t.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:e.userId}])})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(h.x4),I.Y36(d.uq))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-tab-group"),I.TgZ(5,"mat-tab"),I.YNc(6,ja,2,3,"ng-template",1),I.YNc(7,Ha,1,2,"ng-template",2),I.qZA(),I.YNc(8,Wa,3,0,"mat-tab",3),I.YNc(9,en,3,0,"mat-tab",3),I.TgZ(10,"mat-tab",4),I.YNc(11,an,2,3,"ng-template",1),I.YNc(12,nn,1,2,"ng-template",2),I.qZA(),I.YNc(13,sn,3,0,"mat-tab",3),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(6),I.Q6J("ngIf",e.memberGroupAttAuth),I.xp6(1),I.Q6J("ngIf",e.memberResourceAttAuth),I.xp6(4),I.Q6J("ngIf",e.userFacilityAttAuth))},directives:[wi.SP,wi.uX,wi.uD,wi.Vc,s.O5,de.t,Pi.Y],pipes:[O.X$],styles:[""]}),t}(),un=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=a,this.route=o,this.router=r,this.items=[]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initItems()})})}},{key:"initItems",value:function(){this.items=[{cssIcon:"perun-resource",url:"/organizations/".concat(this.vo.id,"/resources/preview"),label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:"/organizations/".concat(this.vo.id,"/resources/tags"),label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:"/organizations/".concat(this.vo.id,"/resources/states"),label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(h.x4),I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",0),I.qZA()),2&t&&(I.xp6(1),I.Q6J("items",e.items)("size","small"))},directives:[H.L],styles:[""]}),t}(),cn=o(88227),pn=o(97397),dn=o(4230),gn=o(24923);function hn(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function mn(t,e){1&t&&I._UZ(0,"th",15)}function fn(t,e){if(1&t&&(I.TgZ(0,"td",16),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i.tagName," ")}}function An(t,e){1&t&&I._UZ(0,"tr",17)}function In(t,e){1&t&&I._UZ(0,"tr",18)}function Tn(t,e){if(1&t&&(I.TgZ(0,"div",7),I.TgZ(1,"p"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"div",8),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"table",9),I.ynx(8,10),I.YNc(9,mn,1,0,"th",11),I.YNc(10,fn,2,1,"td",12),I.BQk(),I.YNc(11,An,1,0,"tr",13),I.YNc(12,In,1,0,"tr",14),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),I.xp6(3),I.hij(" ",I.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),I.xp6(2),I.Q6J("dataSource",i.dataSource),I.xp6(4),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}var vn=function(){var t=function(){function t(e,i,a){n(this,t),this.dialogRef=e,this.data=i,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new ut.by(this.data.tagsForDelete)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var i,a=e(this.data.tagsForDelete);try{for(a.s();!(i=a.n()).done;){var n=i.value;this.resourceManager.deleteResourceTag({resourceTag:n}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.dialogRef.close(!0)})}}catch(o){a.e(o)}finally{a.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.xk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,hn,1,0,"mat-spinner",1),I.YNc(5,Tn,13,9,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$],styles:[""]}),t}(),En=o(60611),Zn=o(59403),bn=o(19139),_n=o(4196);function Sn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().create()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function Nn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().deleteTag()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.hij(" ",I.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function On(t,e){1&t&&I._UZ(0,"mat-spinner",9)}function xn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-resources-tags-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTag)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","vo")}}var Cn=function(){var t=function(){function t(e,i,a,o,r,s,l,u){n(this,t),this.route=e,this.resourceManager=i,this.dialog=a,this.notificator=o,this.tableConfigService=r,this.translator=s,this.authResolver=l,this.voService=u,this.loading=!1,this.resourceTag=[],this.selection=new dn.Ov(!0,[]),this.tableId=En.O7,this.displayedColumns=[]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.voService.getVoById(t.voId).subscribe(function(e){t.vo=e,t.updateData()})})}},{key:"deleteTag",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(vn,e).afterClosed().subscribe(function(e){e&&(t.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateData())})}},{key:"create",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(gn.p,e).afterClosed().subscribe(function(e){e&&(t.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateData())})}},{key:"updateData",value:function(){var t=this;this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.voId).subscribe(function(e){t.resourceTag=e,t.selection.clear(),t.setAuthRights(),t.loading=!1})}},{key:"setAuthRights",value:function(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.xk),I.Y36(v.uw),I.Y36(h.V6),I.Y36(En.dB),I.Y36(O.sK),I.Y36(h.x4),I.Y36(d.YF))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.updateData()}),I.qZA(),I.YNc(4,Sn,3,3,"button",2),I.YNc(5,Nn,3,4,"button",3),I.TgZ(6,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(7,On,1,0,"mat-spinner",5),I.YNc(8,xn,1,6,"app-resources-tags-list",6)),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),I.xp6(3),I.Q6J("ngIf",e.createAuth),I.xp6(1),I.Q6J("ngIf",e.deleteAuth),I.xp6(1),I.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,_n.o],pipes:[O.X$],styles:[""]}),t}();function Ln(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-expiration-settings",1),I.NdJ("saveAttribute",function(t){return I.CHM(i),I.oxw().saveExpirationAttribute(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("expirationAttribute",a.expirationAttribute)}}var Rn=function(){var t=function(){function t(e,i,a,o,r){var s=this;n(this,t),this.attributesManager=e,this.route=i,this.translate=a,this.notificator=o,this.apiRequest=r,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(function(t){return s.successMessage=t}),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(function(t){return s.errorMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.groupId=e.groupId,t.loadSettings()})}},{key:"loadSettings",value:function(){var t=this;this.attributesManager.getGroupAttributeByName(this.groupId,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(e){t.expirationAttribute=e})}},{key:"saveExpirationAttribute",value:function(t){var e=this;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.groupId,attribute:t}).subscribe(function(){e.loadSettings(),e.notificator.showSuccess(e.successMessage)},function(t){return e.notificator.showRPCError(t.error,e.errorMessage)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.V6),I.Y36(h.F5))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&I.YNc(0,Ln,1,1,"app-expiration-settings",0),2&t&&I.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[s.O5,Ge],styles:[""]}),t}();function Mn(t,e){if(1&t&&I._UZ(0,"app-managers-page",1),2&t){var i=I.oxw();I.Q6J("complementaryObject",i.group)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var Dn=function(){var t=function(){function t(e,i,a){n(this,t),this.groupService=e,this.route=i,this.guiAuthResolver=a,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.ff),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&I.YNc(0,Mn,1,4,"app-managers-page",0),2&t&&I.Q6J("ngIf",e.group)},directives:[s.O5,Ve.s],styles:[""]}),t}();function yn(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function Un(t,e){1&t&&I._UZ(0,"th",15)}function qn(t,e){if(1&t&&(I.TgZ(0,"td",16),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.getMailType(i)," ")}}function wn(t,e){1&t&&I._UZ(0,"tr",17)}function Pn(t,e){1&t&&I._UZ(0,"tr",18)}function Gn(t,e){if(1&t&&(I.TgZ(0,"div",7),I.TgZ(1,"p"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"div",8),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"table",9),I.ynx(8,10),I.YNc(9,Un,1,0,"th",11),I.YNc(10,qn,2,1,"td",12),I.BQk(),I.YNc(11,wn,1,0,"tr",13),I.YNc(12,Pn,1,0,"tr",14),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),I.xp6(3),I.hij(" ",I.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),I.xp6(2),I.Q6J("dataSource",i.dataSource),I.xp6(4),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}var kn=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.notificator=a,this.translate=o,this.registrarService=r,this.displayedColumns=["name"],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new ut.by(this.data.mails)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;if(this.loading=!0,this.data.groupId){var i,a=e(this.data.mails);try{for(a.s();!(i=a.n()).done;){var n=i.value;this.registrarService.deleteApplicationMailForGroup(this.data.groupId,n.id).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}}catch(l){a.e(l)}finally{a.f()}}else{var o,r=e(this.data.mails);try{for(r.s();!(o=r.n()).done;){var s=o.value;this.registrarService.deleteApplicationMailForVo(this.data.voId,s.id).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}}catch(l){r.e(l)}finally{r.f()}}}},{key:"getMailType",value:function(t){var e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(function(t){e=t}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(h.V6),I.Y36(O.sK),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,yn,1,0,"mat-spinner",1),I.YNc(5,Gn,13,9,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$],styles:[""]}),t}(),Yn=o(10901);function Jn(t,e){1&t&&I._UZ(0,"mat-spinner",7)}function Vn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",8),I.TgZ(1,"div"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"textarea",9),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().mailFooter=t}),I.qZA(),I.qZA(),I.TgZ(6,"div",10),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),I.xp6(3),I.Q6J("cdkTextareaAutosize",!0)("ngModel",a.mailFooter),I.xp6(2),I.Oqu(I.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}var Fn=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.attributesManager=i,this.translateService=a,this.notificator=o,this.data=r,this.mailFooter="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}},{key:"submit",value:function(){var t=this;this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(function(){t.notificateSuccess(),t.dialogRef.close()},function(){return t.loading=!1}):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(function(){t.notificateSuccess(),t.dialogRef.close()},function(){return t.loading=!1})}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"getFooterForVo",value:function(){var t=this;this.attributesManager.getVoAttributeByName(this.data.voId,m.r.VO_DEF_MAIL_FOOTER).subscribe(function(e){t.mailAttribute=e,t.editAuth=t.mailAttribute.writable,t.mailFooter=e.value?e.value:""})}},{key:"getFooterForGroup",value:function(){var t=this;this.attributesManager.getGroupAttributeByName(this.data.groupId,m.r.GROUP_DEF_MAIL_FOOTER).subscribe(function(e){t.mailAttribute=e,t.editAuth=t.mailAttribute.writable,t.mailFooter=e.value?e.value:""})}},{key:"notificateSuccess",value:function(){var t=this;this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(d.H8),I.Y36(O.sK),I.Y36(h.V6),I.Y36(v.WI))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Jn,1,0,"mat-spinner",1),I.YNc(5,Vn,9,8,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.cancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"div",5),I.ALo(11,"translate"),I.TgZ(12,"button",6),I.NdJ("click",function(){return e.submit()}),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),I.xp6(2),I.s9C("matTooltip",I.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),I.Q6J("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),I.xp6(2),I.Q6J("disabled",e.loading||!e.editAuth),I.xp6(1),I.hij(" ",I.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[v.uh,s.O5,v.H8,N.lW,_.gM,Z.$g,v.xY,Ze.KE,_e.Nt,Yn.IC,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}(),Qn=o(4253);function zn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"div",1),I.TgZ(2,"button",2),I.NdJ("click",function(){var t=I.CHM(i).$implicit;return I.oxw().addTag("{"+t[0]+"}")}),I.ALo(3,"translate"),I._uU(4),I.qZA(),I.TgZ(5,"span",3),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.qZA(),I._UZ(8,"mat-divider",4),I.qZA()}if(2&t){var a=e.$implicit;I.xp6(2),I.s9C("matTooltip",I.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),I.xp6(2),I.hij(" ",a[0]," "),I.xp6(2),I.hij(" ",I.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+a[1])," ")}}var Bn=function(){var t=function(){function t(){n(this,t),this.tags=[],this.addedTag=new I.vpe}return r(t,[{key:"addTag",value:function(t){this.addedTag.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["mat-flat-button","","matTooltipPosition","above",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(t,e){1&t&&I.YNc(0,zn,9,7,"div",0),2&t&&I.Q6J("ngForOf",e.tags)},directives:[s.sg,N.lW,_.gM,ri.d],pipes:[O.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),t}(),jn=function(){var t=function(){function t(){n(this,t),this.addedTag=new I.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}return r(t,[{key:"ngOnInit",value:function(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}},{key:"getApplicationRelatedTags",value:function(){var t=[];t.push(["appId","APPID_DESCRIPTION"]),t.push(["actor","ACTOR_DESCRIPTION"]),t.push(["extSource","EXTSOURCE_DESCRIPTION"]),t.push(["voName","VONAME_DESCRIPTION"]),t.push(["groupName","GROUPNAME_DESCRIPTION"]),t.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),t.push(["errors","ERRORS_DESCRIPTION"]),t.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),t.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=t}},{key:"getUserRelatedTags",value:function(){var t=[];t.push(["firstName","FIRSTNAME_DESCRIPTION"]),t.push(["lastName","LASTNAME_DESCRIPTION"]),t.push(["displayName","DISPLAYNAME_DESCRIPTION"]),t.push(["mail","MAIL_DESCRIPTION"]),t.push(["phone","PHONE_DESCRIPTION"]),t.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),t.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=t}},{key:"getValidationLinksUsersTags",value:function(){var t=[];t.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),t.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),t.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),t.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),t.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),t.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=t}},{key:"getApplicationLinksUsersTags",value:function(){var t=[];t.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),t.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),t.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),t.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),t.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=t}},{key:"getApplicationLinksAdministratorsTags",value:function(){var t=[];t.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),t.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),t.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),t.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=t}},{key:"getPerunLinksAdministratorsTags",value:function(){var t=[];t.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),t.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),t.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),t.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=t}},{key:"getUserInvitationsTags",value:function(){var t=[];t.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),t.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),t.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),t.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),t.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),t.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),t.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),t.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),t.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=t}},{key:"addTag",value:function(t){this.addedTag.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(t,e){1&t&&(I.TgZ(0,"app-alert",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"div",1),I.TgZ(4,"div",2),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(8,"div",4),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(12,"div",4),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.TgZ(15,"div",5),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.TgZ(18,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(19,"div",4),I._uU(20),I.ALo(21,"translate"),I.qZA(),I.TgZ(22,"div",5),I._uU(23),I.ALo(24,"translate"),I.qZA(),I.TgZ(25,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(26,"div",4),I._uU(27),I.ALo(28,"translate"),I.qZA(),I.TgZ(29,"div",5),I._uU(30),I.ALo(31,"translate"),I.qZA(),I.TgZ(32,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(33,"div",4),I._uU(34),I.ALo(35,"translate"),I.qZA(),I.TgZ(36,"div",5),I._uU(37),I.ALo(38,"translate"),I.qZA(),I.TgZ(39,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(40,"div",4),I._uU(41),I.ALo(42,"translate"),I.qZA(),I.TgZ(43,"div",5),I._uU(44),I.ALo(45,"translate"),I.qZA(),I.TgZ(46,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),I.xp6(4),I.hij("",I.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),I.xp6(2),I.Q6J("tags",e.applicationRelatedTags),I.xp6(2),I.hij("",I.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),I.xp6(2),I.Q6J("tags",e.userRelatedTags),I.xp6(2),I.hij("",I.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.validationLinksUsersTags),I.xp6(2),I.hij("",I.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.applicationLinksUsersTags),I.xp6(2),I.hij("",I.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.applicationLinksAdministratorsTags),I.xp6(2),I.hij("",I.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.perunLinksAdministratorsTags),I.xp6(2),I.hij("",I.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.userInvitationsTags))},directives:[mt.w,Qn.PQ,Bn],pipes:[O.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),t}();function Hn(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",9),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function Xn(t,e){1&t&&(I.TgZ(0,"h1",9),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function $n(t,e){1&t&&I._UZ(0,"mat-spinner",10)}function Wn(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function Kn(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function to(t,e){1&t&&(I.TgZ(0,"mat-option",36),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function eo(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function io(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function ao(t,e){1&t&&I._UZ(0,"mat-divider",50)}function no(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",38),I.TgZ(1,"div",39),I.TgZ(2,"div",40),I.TgZ(3,"button",41),I.NdJ("click",function(){I.CHM(i);var t=I.oxw(3);return t.showTags=!t.showTags}),I._uU(4),I.ALo(5,"translate"),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"span",42),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"mat-form-field",18),I.TgZ(11,"input",43,44),I.NdJ("focus",function(){return I.CHM(i),I.oxw(3).isTextFocused=!1})("ngModelChange",function(t){I.CHM(i);var e=I.oxw().$implicit;return I.oxw(2).applicationMail.message[e].subject=t}),I.qZA(),I.qZA(),I.qZA(),I.TgZ(13,"div",45),I._uU(14),I.ALo(15,"translate"),I.qZA(),I.TgZ(16,"mat-form-field",18),I.TgZ(17,"textarea",46,47),I.NdJ("focus",function(){return I.CHM(i),I.oxw(3).isTextFocused=!0})("ngModelChange",function(t){I.CHM(i);var e=I.oxw().$implicit;return I.oxw(2).applicationMail.message[e].text=t}),I._uU(19," "),I.qZA(),I.qZA(),I.qZA(),I.YNc(20,ao,1,0,"mat-divider",48),I.TgZ(21,"div"),I.TgZ(22,"app-tag-bar",49),I.NdJ("addedTag",function(t){I.CHM(i);var e=I.MAs(12),a=I.MAs(18),n=I.oxw().$implicit;return I.oxw(2).addTag(e,a,n,t)}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw().$implicit,n=I.oxw(2);I.xp6(4),I.hij(" ",n.showTags?I.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):I.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),I.xp6(4),I.hij(" ",I.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),I.xp6(3),I.Q6J("ngModel",n.applicationMail.message[a].subject),I.xp6(3),I.hij(" ",I.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),I.xp6(3),I.Q6J("ngModel",n.applicationMail.message[a].text),I.xp6(3),I.Q6J("ngIf",n.showTags),I.xp6(1),I.Q6J("@tagsOpenClose",n.showTags?"open":"closed")}}function oo(t,e){1&t&&(I.TgZ(0,"mat-tab",14),I.ALo(1,"translate"),I.ALo(2,"uppercase"),I.YNc(3,no,23,15,"ng-template",37),I.qZA()),2&t&&I.s9C("label",I.lcZ(1,1,I.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+e.$implicit)))}function ro(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",11),I.TgZ(1,"div"),I.TgZ(2,"app-alert",12),I._uU(3),I.ALo(4,"translate"),I.qZA(),I.qZA(),I.TgZ(5,"mat-tab-group",13),I.TgZ(6,"mat-tab",14),I.ALo(7,"translate"),I.TgZ(8,"div",15),I.TgZ(9,"span",16),I._uU(10),I.ALo(11,"translate"),I.qZA(),I.TgZ(12,"div",17),I.TgZ(13,"mat-form-field",18),I.TgZ(14,"mat-select",19),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.mailType=t})("selectionChange",function(){return I.CHM(i),I.oxw().notificationExist()}),I.TgZ(15,"mat-option",20),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.TgZ(18,"mat-option",21),I._uU(19),I.ALo(20,"translate"),I.qZA(),I.TgZ(21,"mat-option",22),I._uU(22),I.ALo(23,"translate"),I.qZA(),I.TgZ(24,"mat-option",23),I._uU(25),I.ALo(26,"translate"),I.qZA(),I.TgZ(27,"mat-option",24),I._uU(28),I.ALo(29,"translate"),I.qZA(),I.TgZ(30,"mat-option",25),I._uU(31),I.ALo(32,"translate"),I.qZA(),I.TgZ(33,"mat-option",26),I._uU(34),I.ALo(35,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(36,"div",27),I._UZ(37,"span",28),I.YNc(38,Wn,3,3,"div",29),I.YNc(39,Kn,3,3,"div",29),I.qZA(),I.TgZ(40,"div",15),I.TgZ(41,"span",30),I._uU(42),I.ALo(43,"translate"),I.qZA(),I.TgZ(44,"div",17),I.TgZ(45,"mat-form-field",18),I.TgZ(46,"mat-select",19),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.appType=t})("selectionChange",function(){return I.CHM(i),I.oxw().notificationExist()}),I.TgZ(47,"mat-option",31),I._uU(48),I.ALo(49,"translate"),I.qZA(),I.YNc(50,to,3,3,"mat-option",32),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(51,"div",27),I._UZ(52,"span",28),I.YNc(53,eo,3,3,"div",29),I.YNc(54,io,3,3,"div",29),I.qZA(),I.TgZ(55,"div",15),I.TgZ(56,"span",30),I._uU(57),I.ALo(58,"translate"),I.qZA(),I.TgZ(59,"div",17),I.TgZ(60,"mat-checkbox",33),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.send=t}),I.qZA(),I.qZA(),I.qZA(),I.TgZ(61,"div",27),I._UZ(62,"span",28),I.TgZ(63,"div",34),I._uU(64),I.ALo(65,"translate"),I.qZA(),I.qZA(),I.qZA(),I.YNc(66,oo,4,5,"mat-tab",35),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.Q6J("@openClose",a.invalidNotification?"open":"closed"),I.xp6(2),I.Oqu(I.lcZ(4,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),I.xp6(3),I.s9C("label",I.lcZ(7,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),I.xp6(4),I.hij("",I.lcZ(11,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),I.xp6(4),I.Q6J("ngModel",a.applicationMail.mailType)("disabled",!a.data.createMailNotification),I.xp6(2),I.hij(" ",I.lcZ(17,32,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(20,34,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),I.xp6(3),I.hij(" ",I.lcZ(23,36,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),I.xp6(3),I.hij(" ",I.lcZ(26,38,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(29,40,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(32,42,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),I.xp6(3),I.hij(" ",I.lcZ(35,44,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),I.xp6(4),I.Q6J("ngIf",!a.data.createMailNotification),I.xp6(1),I.Q6J("ngIf",a.data.createMailNotification),I.xp6(3),I.hij("",I.lcZ(43,46,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),I.xp6(4),I.Q6J("ngModel",a.applicationMail.appType)("disabled",!a.data.createMailNotification),I.xp6(2),I.hij(" ",I.lcZ(49,48,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),I.xp6(2),I.Q6J("ngIf","USER_INVITE"!==a.applicationMail.mailType),I.xp6(3),I.Q6J("ngIf",!a.data.createMailNotification),I.xp6(1),I.Q6J("ngIf",a.data.createMailNotification),I.xp6(3),I.hij("",I.lcZ(58,50,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),I.xp6(3),I.Q6J("ngModel",a.applicationMail.send),I.xp6(4),I.hij(" ",I.lcZ(65,52,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),I.xp6(2),I.Q6J("ngForOf",a.languages)}}function so(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",51),I.NdJ("click",function(){return I.CHM(i),I.oxw().create()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.invalidNotification||a.loading),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function lo(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",51),I.NdJ("click",function(){return I.CHM(i),I.oxw().save()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.loading||!a.editAuth),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}var uo=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialogRef=e,this.registrarService=i,this.data=a,this.authResolver=o,this.groupsService=r,this.store=s,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.languages=this.store.get("supportedLanguages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(function(e){t.editAuth=t.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[e])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"create",value:function(){var t=this;this.notificationExist(),this.invalidNotification||(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1}):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1}))}},{key:"save",value:function(){var t=this;this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"addTag",value:function(t,e,i,a){var n,o=(n=this.isTextFocused?e:t).selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,o)+a+this.applicationMail.message[i].text.substring(o):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,o)+a+this.applicationMail.message[i].subject.substring(o),n.focus()}},{key:"notificationExist",value:function(){var t,i=e(this.data.applicationMails);try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a.mailType===this.applicationMail.mailType&&a.appType===this.applicationMail.appType)return void(this.invalidNotification=!0)}}catch(n){i.e(n)}finally{i.f()}this.invalidNotification=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(d.tk),I.Y36(v.WI),I.Y36(h.x4),I.Y36(d.ff),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",0),I.YNc(2,Hn,4,3,"div",1),I.YNc(3,Xn,3,3,"ng-template",null,2,I.W1O),I.YNc(5,$n,1,0,"mat-spinner",3),I.YNc(6,ro,67,54,"div",4),I.TgZ(7,"div",5),I.TgZ(8,"button",6),I.NdJ("click",function(){return e.cancel()}),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.YNc(11,so,3,4,"button",7),I.TgZ(12,"div",8),I.ALo(13,"translate"),I.YNc(14,lo,3,4,"button",7),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.MAs(4);I.Gre("",e.theme," h-100"),I.xp6(2),I.Q6J("ngIf",e.data.createMailNotification)("ngIfElse",i),I.xp6(3),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),I.xp6(2),I.Q6J("ngIf",e.data.createMailNotification),I.xp6(1),I.s9C("matTooltip",I.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),I.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),I.xp6(2),I.Q6J("ngIf",!e.data.createMailNotification)}},directives:[s.O5,v.H8,N.lW,_.gM,v.uh,Z.$g,v.xY,mt.w,wi.SP,wi.uX,Ze.KE,be.gD,Ie.JJ,Ie.On,Se.ey,Ne.oG,s.sg,wi.Vc,_e.Nt,Ie.Fj,jn,ri.d],pipes:[O.X$,s.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[p.es,p.BQ]}}),t}(),co=o(19386);function po(t,e){1&t&&I._UZ(0,"mat-spinner",9)}var go=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialogRef=e,this.voService=i,this.groupService=a,this.translateService=o,this.registrarService=r,this.data=s,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=function(t){return t.name}}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(function(e){t.fakeGroup={id:-1,name:e,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},t.selectedGroup=t.fakeGroup,t.voService.getAllVos().subscribe(function(e){t.vos=e,t.vos=e.sort(function(t,e){return t.name>e.name?1:t.name=0}).sort(function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())})}},{key:"filterResources",value:function(t){if(null==t)return this.resources;var e=t.toLowerCase();return this.resources.filter(function(t){return 0===t.facility.name.toLowerCase().indexOf(e)}).sort(function(t,e){return t.name.toLowerCase().localeCompare(e.name.toLowerCase())})}},{key:"setResource",value:function(t){var e=this;this.processing=!0,this.selectedResource=t,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(function(t){e.services=t,e.processing=!1},function(){return e.processing=!1}),this.description=this.selectedResource.description}},{key:"loadGroups",value:function(){var t=this;this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(function(e){t.groups=e,t.groupManager.getAllMemberGroups(t.data.memberId).subscribe(function(e){t.membersGroupsId=new Set(e.map(function(t){return t.id})),t.groups.forEach(function(e){t.authResolver.isAuthorized("addMember_Group_Member_policy",[e])||t.membersGroupsId.add(e.id)}),t.processing=!1},function(){return t.processing=!1})})}},{key:"onFinish",value:function(){var t=this;this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),t.dialogRef.close(!0)},function(){return t.processing=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.xk),I.Y36(d.ff),I.Y36(h.V6),I.Y36(O.sK),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-add-member-to-resource-dialog"]],decls:30,vars:26,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto",3,"click"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisable","groups","displayedColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(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,"mat-horizontal-stepper",2,3),I.TgZ(7,"mat-step",4),I.YNc(8,Qr,2,3,"ng-template",5),I.YNc(9,zr,1,0,"mat-spinner",6),I.YNc(10,Xr,26,22,"div",7),I.TgZ(11,"div",8),I.TgZ(12,"button",9),I.NdJ("click",function(){return e.onCancel()}),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.TgZ(15,"button",10),I.NdJ("click",function(){return e.loadGroups()}),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(18,"mat-step"),I.YNc(19,$r,2,3,"ng-template",5),I.YNc(20,Wr,1,0,"mat-spinner",6),I.YNc(21,ts,2,8,"div",7),I.YNc(22,es,3,3,"app-alert",11),I.TgZ(23,"div",8),I.TgZ(24,"button",12),I.NdJ("click",function(){return e.selectedGroups.clear()}),I._uU(25),I.ALo(26,"translate"),I.qZA(),I.TgZ(27,"button",10),I.NdJ("click",function(){return e.onFinish()}),I._uU(28),I.ALo(29,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),I.xp6(3),I.Q6J("linear",!0),I.xp6(4),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.Oqu(I.lcZ(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),I.xp6(2),I.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),I.xp6(1),I.Oqu(I.lcZ(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),I.xp6(4),I.Q6J("ngIf",e.processing),I.xp6(1),I.Q6J("ngIf",0!==e.groups.length&&!e.processing),I.xp6(1),I.Q6J("ngIf",0===e.groups.length&&!e.processing),I.xp6(3),I.hij(" ",I.lcZ(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),I.xp6(2),I.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),I.xp6(1),I.hij(" ",I.lcZ(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[v.uh,v.xY,Vr.Vq,Vr.C0,Vr.VY,s.O5,v.H8,N.lW,Vr.Ic,Vr.fd,Z.$g,Ze.KE,_e.Nt,Ie.Fj,Fr.ZL,Ie.JJ,Ie.oH,Fr.XC,s.sg,be.gD,Se.ey,hr.W,mt.w],pipes:[O.X$,s.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t}(),as=o(88884);function ns(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-refresh-button",6),I.NdJ("refresh",function(){return I.CHM(i),I.oxw().refreshTable()}),I.qZA()}}function os(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().addResource()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function rs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-immediate-filter",8),I.NdJ("filter",function(t){return I.CHM(i),I.oxw().applyFilter(t)}),I.qZA()}2&t&&I.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function ss(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-resources-list",9),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("routingVo",!0)("disableRouting",!a.routeAuth)("resources",a.resources)}}function ls(t,e){1&t&&I._UZ(0,"mat-spinner",10)}var us=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialog=e,this.tableConfigService=i,this.memberManager=a,this.resourceManager=o,this.route=r,this.authResolver=s,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=En.aL}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.memberManager.getMemberById(e.memberId).subscribe(function(e){t.member=e,t.refreshTable()})})}},{key:"addResource",value:function(){var t=this,e=(0,g.kZ)();e.width="1200px",e.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(is,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(function(e){t.resources=e,t.setAuthRights(),t.loading=!1})}},{key:"setAuthRights",value:function(){var t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[t]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[t,this.resources[0]]))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.uw),I.Y36(En.dB),I.Y36(d.uq),I.Y36(d.xk),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-resources"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mr-2",3,"placeholder","filter",4,"ngIf"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],[1,"mr-2",3,"placeholder","filter"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,ns,1,0,"perun-web-apps-refresh-button",1),I.YNc(5,os,3,3,"button",2),I.YNc(6,rs,1,1,"perun-web-apps-immediate-filter",3),I.YNc(7,ss,1,6,"perun-web-apps-resources-list",4),I.qZA(),I.YNc(8,ls,1,0,"mat-spinner",5)),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),I.xp6(2),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&e.addAuth),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",e.loading))},directives:[s.O5,Zn.t,N.lW,bn.L,as.C,Z.$g],pipes:[O.X$],styles:[""]}),t}(),cs=o(72920),ps=o(76527),ds=o(42473),gs=o(77968),hs=o(22927),ms=o(79472),fs=o(64359),As=o(75374),Is=o(95142),Ts=o(48666);function vs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().onAdd()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Es(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().onRemove()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.hij(" ",I.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Zs(t,e){1&t&&I._UZ(0,"mat-spinner",9)}function bs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-ext-sources-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("pageSize",a.pageSize)("extSources",a.extSources)("displayedColumns",a.displayedColumns)("filterValue",a.filterValue)("selection",a.selection)}}var _s=function(){var t=function(){function t(e,i,a,o,r,s,l,u){var c=this;n(this,t),this.extSourceService=e,this.route=i,this.dialog=a,this.notificator=o,this.tableConfigService=r,this.translate=s,this.authResolver=l,this.groupService=u,this.extSources=[],this.selection=new dn.Ov(!0,[]),this.filterValue="",this.tableId=En.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(function(t){return c.successMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.groupId=e.groupId,t.groupService.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.refreshTable()})})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.extSourceService.getGroupExtSources(this.groupId).subscribe(function(e){t.extSources=e,t.selection.clear(),t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"onAdd",value:function(){var t=this,e=(0,g.kZ)();e.width="1000px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(Ko,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,g.kZ)();e.width="600px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(lr,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.KG),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.V6),I.Y36(En.dB),I.Y36(O.sK),I.Y36(h.x4),I.Y36(d.ff))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.refreshTable()}),I.qZA(),I.YNc(5,vs,3,3,"button",2),I.YNc(6,Es,3,4,"button",3),I.TgZ(7,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(8,Zs,1,0,"mat-spinner",5),I.YNc(9,bs,1,5,"app-ext-sources-list",6),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),I.xp6(3),I.Q6J("ngIf",e.addAuth),I.xp6(1),I.Q6J("ngIf",e.removeAuth),I.xp6(1),I.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,Xo.D],pipes:[O.X$],styles:[""]}),t}();function Ss(t,e){1&t&&I._UZ(0,"th",9)}function Ns(t,e){if(1&t&&(I.TgZ(0,"td",10),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i,": ")}}function Os(t,e){1&t&&I._UZ(0,"th",9)}function xs(t,e){if(1&t&&(I.TgZ(0,"td",11),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw();I.xp6(1),I.hij(" ",a.statistics.get(i.toLowerCase())," ")}}function Cs(t,e){1&t&&I._UZ(0,"tr",12)}var Ls=function(){var t=function(){function t(){n(this,t),this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}return r(t,[{key:"ngOnInit",value:function(){this.dataSource=new ut.by(this.rowNames)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"mat-card",0),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",1),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content"),I.TgZ(7,"table",2),I.ynx(8,3),I.YNc(9,Ss,1,0,"th",4),I.YNc(10,Ns,2,1,"td",5),I.BQk(),I.ynx(11,6),I.YNc(12,Os,1,0,"th",4),I.YNc(13,xs,2,1,"td",7),I.BQk(),I.YNc(14,Cs,1,0,"tr",8),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.xp6(4),I.Oqu(I.lcZ(5,3,e.title)),I.xp6(3),I.Q6J("dataSource",e.dataSource),I.xp6(7),I.Q6J("matRowDefColumns",e.displayedColumns))},directives:[dt.a8,dt.dk,dt.n5,dt.dn,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,ut.ge,ut.ev,ut.Gk],pipes:[O.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t}();function Rs(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function Ms(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"app-statistics-card",4),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("rowNames",i.rowNames)("statistics",i.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}var Ds=function(){var t=function(){function t(e,i){n(this,t),this.voService=e,this.route=i,this.loading=!1,this.dataSource=new ut.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.voId=e.voId,t.dataSource=new ut.by(t.rowNames),t.voService.getVoMembersCountsByStatus(t.voId).subscribe(function(e){t.allMembersCount=0;for(var i=0,a=Object.keys(e);i_policy",[{id:this.voId,beanName:"Vo"}])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(En.dB),I.Y36(d.tk),I.Y36(h.x4),I.Y36(v.uw),I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){var i;(1&t&&I.Gf(Js,5),2&t)&&(I.iGM(i=I.CRH())&&(e.list=i.first))},decls:17,vars:22,consts:[[1,"page-subtitle"],[3,"alert_type"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"app-alert",1),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"perun-web-apps-refresh-button",2),I.NdJ("refresh",function(){return e.loadGroups()}),I.qZA(),I.YNc(8,Vs,3,3,"button",3),I.TgZ(9,"span",4),I.ALo(10,"translate"),I.TgZ(11,"button",5),I.NdJ("click",function(){return e.removeGroup()}),I._uU(12),I.ALo(13,"translate"),I.qZA(),I.qZA(),I.TgZ(14,"perun-web-apps-immediate-filter",6),I.NdJ("filter",function(t){return e.filterValue=t}),I.qZA(),I.YNc(15,Fs,1,0,"mat-spinner",7),I.YNc(16,zs,2,8,"perun-web-apps-groups-list",8)),2&t&&(I.xp6(1),I.AsE(" ",I.lcZ(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",I.lcZ(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),I.xp6(3),I.Q6J("alert_type","info"),I.xp6(1),I.hij(" ",I.lcZ(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),I.xp6(3),I.Q6J("ngIf",e.addAuth),I.xp6(1),I.s9C("matTooltip",I.lcZ(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),I.Q6J("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),I.xp6(2),I.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),I.xp6(1),I.hij(" ",I.lcZ(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),I.xp6(2),I.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[mt.w,Zn.t,s.O5,_.gM,N.lW,bn.L,Z.$g,hr.W],pipes:[O.X$],styles:[""]}),t}(),js=o(53134),Hs=o(47701),Xs=o(90611),$s=o(44689),Ws=o(85250),Ks=o(4252);function tl(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function el(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function il(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function al(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function nl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function ol(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function rl(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function sl(t,e){if(1&t&&(I.TgZ(0,"mat-option",37),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",i," ")}}function ll(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function ul(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function cl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function pl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function dl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function gl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_WEAK")))}function hl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_SHORT")))}function ml(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function fl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_DONT_MATCH")))}function Al(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function Il(t,e){if(1&t&&(I.TgZ(0,"span",43),I._uU(1),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.hij("#",i.id,"")}}function Tl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-list-item"),I.TgZ(1,"p",38),I._uU(2),I.ALo(3,"userFullName"),I.YNc(4,Il,2,1,"span",39),I.TgZ(5,"span",40),I.ALo(6,"translate"),I.TgZ(7,"button",41),I.NdJ("click",function(){var t=I.CHM(i).$implicit;return I.oxw(2).removeUser(t)}),I.TgZ(8,"mat-icon",42),I._uU(9,"close"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=e.$implicit,n=I.oxw(2);I.xp6(2),I.hij("",I.lcZ(3,5,a.user)," "),I.xp6(2),I.Q6J("ngIf",a.id),I.xp6(1),I.Q6J("matTooltipDisabled",n.assignedMembers.length>1)("matTooltip",I.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),I.xp6(2),I.Q6J("disabled",1===n.assignedMembers.length)}}function vl(t,e){1&t&&I._UZ(0,"mat-spinner",44)}var El=function(){return["checkbox","id","fullName"]};function Zl(t,e){if(1&t&&I._UZ(0,"perun-web-apps-members-list",47),2&t){var i=I.oxw(3);I.Q6J("disableRouting",!0)("displayedColumns",I.DdM(5,El))("members",i.members)("pageSize",i.pageSize)("selection",i.selection)}}function bl(t,e){1&t&&(I.TgZ(0,"app-alert",48),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.Q6J("alert_type","info"),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function _l(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,Zl,1,6,"perun-web-apps-members-list",45),I.YNc(2,bl,3,4,"app-alert",46),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Q6J("ngIf",i.firstSearchDone),I.xp6(1),I.Q6J("ngIf",!i.firstSearchDone)}}function Sl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",4),I.TgZ(1,"mat-stepper",5),I.TgZ(2,"mat-step",6),I.TgZ(3,"form",7),I.YNc(4,tl,2,3,"ng-template",8),I.TgZ(5,"div",9),I.TgZ(6,"mat-form-field"),I.TgZ(7,"mat-label"),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._UZ(10,"input",10),I.YNc(11,el,3,3,"mat-error",11),I.qZA(),I.TgZ(12,"mat-form-field"),I.TgZ(13,"mat-label"),I._uU(14),I.ALo(15,"translate"),I.qZA(),I._UZ(16,"input",12),I.YNc(17,il,3,3,"mat-error",11),I.YNc(18,al,3,3,"mat-error",11),I.qZA(),I.TgZ(19,"mat-form-field"),I.TgZ(20,"mat-label"),I._uU(21),I.ALo(22,"translate"),I.qZA(),I._UZ(23,"input",13),I.YNc(24,nl,3,3,"mat-error",11),I.qZA(),I.TgZ(25,"mat-form-field"),I.TgZ(26,"mat-label"),I._uU(27),I.ALo(28,"translate"),I.qZA(),I._UZ(29,"input",14),I.YNc(30,ol,3,3,"mat-error",11),I.qZA(),I.qZA(),I.qZA(),I.TgZ(31,"div",15),I.TgZ(32,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(33),I.ALo(34,"translate"),I.qZA(),I.TgZ(35,"button",17),I._uU(36),I.ALo(37,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(38,"mat-step",6),I.TgZ(39,"form",7),I.YNc(40,rl,2,3,"ng-template",8),I.TgZ(41,"div",9),I.TgZ(42,"mat-form-field"),I.TgZ(43,"mat-label"),I._uU(44),I.ALo(45,"translate"),I.qZA(),I.TgZ(46,"mat-select",18),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().onNamespaceChanged(t)}),I.YNc(47,sl,2,2,"mat-option",19),I.qZA(),I.qZA(),I.TgZ(48,"mat-form-field",20),I.ALo(49,"translate"),I.TgZ(50,"mat-label"),I._uU(51),I.ALo(52,"translate"),I.qZA(),I._UZ(53,"input",21),I.YNc(54,ll,3,3,"mat-error",11),I.YNc(55,ul,3,3,"mat-error",11),I.YNc(56,cl,3,3,"mat-error",11),I.YNc(57,pl,3,3,"mat-error",11),I.YNc(58,dl,3,3,"mat-error",11),I.qZA(),I.TgZ(59,"mat-radio-group",22),I.NdJ("ngModelChange",function(){return I.CHM(i),I.oxw().passwordOptionChanged()}),I.ALo(60,"translate"),I.TgZ(61,"mat-radio-button",23),I._uU(62),I.ALo(63,"translate"),I.qZA(),I.TgZ(64,"mat-radio-button",23),I._uU(65),I.ALo(66,"translate"),I.qZA(),I.qZA(),I.TgZ(67,"div",9),I.TgZ(68,"mat-form-field",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),I.TgZ(69,"mat-label"),I._uU(70),I.ALo(71,"translate"),I.qZA(),I._UZ(72,"input",25),I.YNc(73,gl,3,3,"mat-error",11),I.YNc(74,hl,3,3,"mat-error",11),I.qZA(),I.TgZ(75,"mat-form-field",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),I.TgZ(76,"mat-label"),I._uU(77),I.ALo(78,"translate"),I.qZA(),I._UZ(79,"input",26),I.YNc(80,ml,3,3,"mat-error",11),I.YNc(81,fl,3,3,"mat-error",11),I.qZA(),I.TgZ(82,"p",27),I._uU(83),I.ALo(84,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(85,"div",15),I.TgZ(86,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(87),I.ALo(88,"translate"),I.qZA(),I.TgZ(89,"button",28),I._uU(90),I.ALo(91,"translate"),I.qZA(),I.TgZ(92,"button",29),I._uU(93),I.ALo(94,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(95,"mat-step"),I.YNc(96,Al,2,3,"ng-template",8),I.TgZ(97,"h6"),I._uU(98),I.ALo(99,"translate"),I.qZA(),I.TgZ(100,"mat-list"),I.YNc(101,Tl,10,9,"mat-list-item",30),I.qZA(),I.TgZ(102,"h6",31),I._uU(103),I.ALo(104,"translate"),I.qZA(),I.TgZ(105,"mat-form-field",32),I.TgZ(106,"input",33),I.NdJ("keyup.enter",function(){I.CHM(i);var t=I.oxw();return 0!==t.searchCtrl.value.length&&t.onSearchByString()}),I.ALo(107,"translate"),I.qZA(),I.qZA(),I.TgZ(108,"button",34),I.NdJ("click",function(){return I.CHM(i),I.oxw().onSearchByString()}),I.TgZ(109,"mat-icon"),I._uU(110,"search"),I.qZA(),I.qZA(),I.TgZ(111,"button",35),I.NdJ("click",function(){return I.CHM(i),I.oxw().addUsers()}),I._uU(112),I.ALo(113,"translate"),I.qZA(),I.YNc(114,vl,1,0,"mat-spinner",3),I.YNc(115,_l,3,2,"div",11),I.TgZ(116,"div",15),I.TgZ(117,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(118),I.ALo(119,"translate"),I.qZA(),I.TgZ(120,"button",28),I._uU(121),I.ALo(122,"translate"),I.qZA(),I.TgZ(123,"button",36),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCreate()}),I._uU(124),I.ALo(125,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.Q6J("linear",!0),I.xp6(1),I.Q6J("stepControl",a.firstFormGroup),I.xp6(1),I.Q6J("formGroup",a.firstFormGroup),I.xp6(5),I.Oqu(I.lcZ(9,66,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),I.xp6(3),I.Q6J("ngIf",a.firstFormGroup.get("nameCtrl").hasError("required")),I.xp6(3),I.Oqu(I.lcZ(15,68,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),I.xp6(3),I.Q6J("ngIf",a.firstFormGroup.get("emailCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("emailCtrl").hasError("pattern")),I.xp6(3),I.Oqu(I.lcZ(22,70,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),I.xp6(2),I.Q6J("required",!!a.firstFormGroup.get("issuerCtrl").value&&0!==a.firstFormGroup.get("issuerCtrl").value.trim().length),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("subjectCtrl").hasError("required")),I.xp6(3),I.Oqu(I.lcZ(28,72,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),I.xp6(2),I.Q6J("required",!!a.firstFormGroup.get("subjectCtrl").value&&0!==a.firstFormGroup.get("subjectCtrl").value.trim().length),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("issuerCtrl").hasError("required")),I.xp6(3),I.hij(" ",I.lcZ(34,74,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(2),I.Q6J("disabled",a.firstFormGroup.invalid||a.firstFormGroup.pending),I.xp6(1),I.hij(" ",I.lcZ(37,76,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),I.xp6(2),I.Q6J("stepControl",a.secondFormGroup),I.xp6(1),I.Q6J("formGroup",a.secondFormGroup),I.xp6(5),I.Oqu(I.lcZ(45,78,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),I.xp6(3),I.Q6J("ngForOf",a.passwordNamespaces),I.xp6(1),I.s9C("matTooltip",I.lcZ(49,80,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED")),I.Q6J("matTooltipDisabled",a.secondFormGroup.get("loginCtrl").enabled),I.xp6(3),I.Oqu(I.lcZ(52,82,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),I.xp6(3),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("loginExists")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("pattern")&&!a.secondFormGroup.get("loginCtrl").hasError("minlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("maxlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("minlength")),I.xp6(1),I.s9C("matTooltip",I.lcZ(60,84,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),I.Q6J("matTooltipDisabled","Not selected"!==a.secondFormGroup.get("namespaceCtrl").value),I.xp6(2),I.Q6J("checked",a.secondFormGroup.get("generatePasswordCtrl").value&&a.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),I.xp6(1),I.hij(" ",I.lcZ(63,86,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),I.xp6(2),I.Q6J("checked",!a.secondFormGroup.get("generatePasswordCtrl").value&&a.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),I.xp6(1),I.hij(" ",I.lcZ(66,88,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),I.xp6(2),I.ekj("input-disabled",a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(3),I.Oqu(I.lcZ(71,90,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD")),I.xp6(2),I.Q6J("required",!a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordCtrl").hasError("isWeak")&&!a.secondFormGroup.get("passwordCtrl").hasError("minlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordCtrl").hasError("minlength")),I.xp6(3),I.Oqu(I.lcZ(78,92,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_AGAIN")),I.xp6(2),I.Q6J("required",!a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordAgainCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),I.xp6(2),I.Oqu(I.lcZ(84,94,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_INFO")),I.xp6(4),I.hij(" ",I.lcZ(88,96,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(3),I.hij(" ",I.lcZ(91,98,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),I.xp6(2),I.Q6J("disabled",a.secondFormGroup.invalid||a.secondFormGroup.pending),I.xp6(1),I.hij(" ",I.lcZ(94,100,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),I.xp6(5),I.Oqu(I.lcZ(99,102,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),I.xp6(3),I.Q6J("ngForOf",a.assignedMembers),I.xp6(2),I.Oqu(I.lcZ(104,104,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),I.xp6(3),I.s9C("placeholder",I.lcZ(107,106,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),I.Q6J("formControl",a.searchCtrl),I.xp6(2),I.Q6J("disabled",a.loading||0===a.searchCtrl.value.length),I.xp6(3),I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.Oqu(I.lcZ(113,108,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")),I.xp6(2),I.Q6J("ngIf",a.loading),I.xp6(1),I.Q6J("ngIf",!a.loading),I.xp6(3),I.hij(" ",I.lcZ(119,110,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(3),I.hij(" ",I.lcZ(122,112,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),I.xp6(2),I.Q6J("disabled",a.firstFormGroup.invalid||"Not selected"!==a.secondFormGroup.get("namespaceCtrl").value&&a.secondFormGroup.invalid),I.xp6(1),I.Oqu(I.lcZ(125,114,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE"))}}function Nl(t,e){1&t&&I._UZ(0,"mat-spinner",44)}var Ol=function(){var t=function(){function t(e,i,a,o,r,s,l,u,c){var p=this;n(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=a,this.usersManagerService=o,this.notificator=r,this.translate=s,this.store=l,this._formBuilder=u,this.tableConfigService=c,this.passwordNamespaces=[],this.firstSearchDone=!1,this.searchCtrl=new Ie.NI(""),this.members=[],this.selection=new dn.Ov(!0,[]),this.tableId=En.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(function(t){return p.successMessageMember=t}),s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(function(t){return p.successMessagePwd=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.firstFormGroup=this._formBuilder.group({nameCtrl:["",Ie.kI.required],emailCtrl:["",[Ie.kI.required,Ie.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[Ie.kI.pattern("^[a-z][a-z0-9_-]+$"),Ie.kI.maxLength(15),Ie.kI.minLength(2)]],passwordCtrl:["",Ie.kI.compose([g.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),Ie.kI.minLength(10)])],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validator:g.dN.passwordMatchValidator}),this.onNamespaceChanged("Not selected"),this.passwordNamespaces=["Not selected"].concat(this.store.get("password_namespace_attributes").map(function(t){return t.split(":")[6].toUpperCase()})),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);var i=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(i.id).subscribe(function(a){var n,o={},r=e(a);try{for(r.s();!(n=r.n()).done;){var s=n.value;s.voId===t.data.voId&&(o=s)}}catch(l){r.e(l)}finally{r.f()}o.user=i,t.assignedMembers.push(o)})}},{key:"existingLoginValidator",value:function(){var t=this;return function(e){var i=t.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return i="not selected"===i?"mu":i,e.valueChanges.pipe((0,Hs.b)(500),(0,Xs.q)(1),(0,$s.w)(function(){return t.usersManagerService.isLoginAvailable(i,e.value).pipe((0,Jr.U)(function(t){return t?null:{loginExists:!0}}))}))}}},{key:"onCreate",value:function(){var t=this;this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value,"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes["urn:perun:user:attribute-def:def:login-namespace:".concat(this.secondFormGroup.get("namespaceCtrl").value.toLowerCase())]=this.secondFormGroup.get("loginCtrl").value);var e=this.firstFormGroup.get("subjectCtrl");e&&e.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=e.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509"),this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(function(t){return t.user}),candidate:this.candidate}).subscribe(function(e){t.membersManagerService.validateMemberAsync(e.id).subscribe(function(e){t.notificator.showSuccess(t.successMessageMember),"Not selected"!==t.secondFormGroup.get("namespaceCtrl").value?t.setPassword(e,t.secondFormGroup.get("generatePasswordCtrl").value):(t.dialogRef.close(!0),t.processing=!1)},function(){return t.processing=!1})},function(){return t.processing=!1})}},{key:"setPassword",value:function(t,e){var i=this,a=this.secondFormGroup.get("loginCtrl").value,n=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),o=this.secondFormGroup.get("passwordCtrl").value;e?this.usersManagerService.reserveRandomPassword(t.userId,n).subscribe(function(){i.usersManagerService.validatePasswordForUser(t.userId,n).subscribe(function(){i.validateMember(t.id)},function(){i.processing=!1,i.dialogRef.close(!0)})},function(){i.processing=!1,i.dialogRef.close(!0)}):this.usersManagerService.reservePasswordForLogin(a,n,o).subscribe(function(){i.usersManagerService.validatePasswordForLogin(a,n).subscribe(function(){i.validateMember(t.id)},function(){i.processing=!1,i.dialogRef.close(!0)})},function(){i.processing=!1,i.dialogRef.close(!0)})}},{key:"validateMember",value:function(t){var e=this;this.membersManagerService.validateMemberAsync(t).subscribe(function(){e.notificator.showSuccess(e.successMessagePwd),e.dialogRef.close(!0),e.processing=!1},function(){e.processing=!1,e.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSearchByString",value:function(){var t=this;this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(function(e){t.members=e.filter(function(t){return!t.user.specificUser}),t.firstSearchDone=!0,t.loading=!1})}},{key:"addUsers",value:function(){var t=this,e=this.assignedMembers.map(function(t){return t.id});this.selection.selected.forEach(function(i){e.includes(i.id)||t.assignedMembers.push(i)}),this.selection.clear()}},{key:"removeUser",value:function(t){this.assignedMembers=this.assignedMembers.filter(function(e){return e.id!==t.id})}},{key:"onNamespaceChanged",value:function(t){var e=this.secondFormGroup.get("loginCtrl"),i=this.secondFormGroup.get("passwordCtrl"),a=this.secondFormGroup.get("passwordAgainCtrl"),n=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==t){var o=[Ie.kI.required,Ie.kI.pattern("^[a-z][a-z0-9_-]+$"),Ie.kI.maxLength(15),Ie.kI.minLength(2)];(0,g.mH)(e,o,[this.existingLoginValidator()]),(0,g.mH)(n,[]),this.passwordOptionChanged()}else e.disable(),e.setValue(""),i.disable(),i.setValue(""),a.disable(),a.setValue(""),n.disable(),n.dirty||n.setValue(!0)}},{key:"passwordOptionChanged",value:function(){var t=this.secondFormGroup.get("passwordCtrl"),e=this.secondFormGroup.get("passwordAgainCtrl");if(this.secondFormGroup.get("generatePasswordCtrl").value)t.disable(),t.setValue(""),e.disable(),e.setValue("");else{var i=[Ie.kI.required,g.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),Ie.kI.minLength(10)];(0,g.mH)(t,i),(0,g.mH)(e,[])}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.uq),I.Y36(d.Fv),I.Y36(h.V6),I.Y36(O.sK),I.Y36(h.d6),I.Y36(Ie.qu),I.Y36(En.dB))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-create-service-member-dialog"]],decls:6,vars:5,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-auto",3,"disabled"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltipDisabled","matTooltip"],["formControlName","loginCtrl","matInput","","required",""],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"click"],["formControlName","passwordCtrl","matInput","","type","password",3,"required"],["formControlName","passwordAgainCtrl","matInput","","type","password",3,"required"],[1,"white-space-pre"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","pageSize","selection",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"disableRouting","displayedColumns","members","pageSize","selection"],[3,"alert_type"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I.TgZ(1,"h1",1),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Sl,126,116,"div",2),I.YNc(5,Nl,1,0,"mat-spinner",3),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),I.xp6(2),I.Q6J("ngIf",!e.processing),I.xp6(1),I.Q6J("ngIf",e.processing))},directives:[s.O5,v.xY,Vr.Vq,Vr.C0,Ie._Y,Ie.JL,Ie.sg,Vr.VY,Ze.KE,Ze.hX,Ie.Fj,_e.Nt,Ie.JJ,Ie.u,Ie.Q7,v.H8,N.lW,Vr.Ic,be.gD,s.sg,_.gM,Te.VQ,Te.U0,Vr.fd,Ws.i$,Ie.oH,b.Hw,Ze.TO,Se.ey,Ws.Tg,Z.$g,Ks.O,mt.w],pipes:[O.X$,Ut.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),t}(),xl=o(4374);function Cl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().createServiceMember()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"))}function Ll(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().onRemoveMembers()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.selection.isEmpty()),I.xp6(1),I.hij(" ",I.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function Rl(t,e){1&t&&I._UZ(0,"mat-spinner",9)}var Ml=function(){return["checkbox","id","type","fullName","status"]};function Dl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-members-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("displayedColumns",I.DdM(5,Ml))("filter",a.searchString)("members",a.members)("pageSize",a.pageSize)("selection",a.selection)}}var yl,Ul,ql=[{path:"",component:u.Y},{path:":voId",component:lt,children:[{path:"",component:W,data:{animation:"VoOverviewPage"}},{path:"attributes",component:ge,data:{animation:"VoAttributesPage"}},{path:"groups",component:K.G,data:{animation:"VoGroupsPage"}},{path:"members",component:tt.y,data:{animation:"VoMembersPage"}},{path:"resources",component:ue,children:[{path:"",component:un,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:cn.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:pn.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:Cn,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ce.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:Di,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:Ts.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:(yl=function(){function t(e,i,a,o,r,s){n(this,t),this.membersManager=e,this.route=i,this.dialog=a,this.authResolver=o,this.tableConfigService=r,this.authzService=s,this.members=[],this.selection=new dn.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=En._c}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.voId=e.voId,t.refresh()}),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[{beanName:"",id:this.voId}])}},{key:"createServiceMember",value:function(){var t=this,e=(0,g.kZ)();e.width="750px",e.data={voId:this.voId},this.dialog.open(Ol,e).afterClosed().subscribe(function(e){e&&t.refresh()})}},{key:"onRemoveMembers",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(xl.X,e).afterClosed().subscribe(function(e){e&&(t.refresh(),t.selection.clear())})}},{key:"applyFilter",value:function(t){this.searchString=t}},{key:"refresh",value:function(){var t=this;this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.voId,[null],"(Service)").subscribe(function(e){t.members=e,t.loading=!1})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}(),yl.\u0275fac=function(t){return new(t||yl)(I.Y36(d.uq),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.x4),I.Y36(En.dB),I.Y36(h.x4))},yl.\u0275cmp=I.Xpm({type:yl,selectors:[["app-vo-settings-service-members"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","filter","members","pageSize","selection","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filter","members","pageSize","selection","page"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.refresh()}),I.qZA(),I.YNc(4,Cl,3,3,"button",2),I.YNc(5,Ll,3,4,"button",3),I.TgZ(6,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(7,Rl,1,0,"mat-spinner",5),I.YNc(8,Dl,1,6,"perun-web-apps-members-list",6)),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),I.xp6(3),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",e.removeAuth),I.xp6(1),I.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,Ks.O],pipes:[O.X$],styles:[""]}),yl),data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:Ds,data:{animation:"VoStatisticsPage"}},{path:"settings",component:pe,children:[{path:"",component:fe,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:Ye,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:Qe,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:$i.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Ba,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Bs},{path:"notifications",component:Po,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:gr,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:j,children:[{path:"",component:ee,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:ln,data:{animation:"MemberAttributesPage"}},{path:"groups",component:ie.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:kr,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Di,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:us,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:k,children:[{path:"",component:se,data:{animation:"GroupOverviewPage"}},{path:"members",component:yi.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:le.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Je.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ui.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Bi,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:qs,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:qi,children:[{path:"",component:Xi,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:Rn,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Dn,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:Go.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Ba},{path:"notifications",component:Ho,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:Rr,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:_s,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Di,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:cs.b,children:[{path:"",component:ps.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:ds.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:As.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:ms.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:Is.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:js.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:gs.t,children:[{path:"",component:hs.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:fs.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}],wl=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=I.oAB({type:t}),t.\u0275inj=I.cJS({imports:[[l.Bz.forChild(ql)],l.Bz]}),t}(),Pl=o(28780),Gl=o(22727),kl=o(22280),Yl=((Ul=function t(){n(this,t)}).\u0275fac=function(t){return new(t||Ul)},Ul.\u0275mod=I.oAB({type:Ul}),Ul.\u0275inj=I.cJS({imports:[[s.ez,wl,Pl.m,Gl.r,Nr.ez,kl.d4,g.Je]]}),Ul)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/427-es5.e77dcafd30825535e3e2.js b/dist/apps/admin-gui/427-es5.e77dcafd30825535e3e2.js new file mode 100644 index 000000000..20c86d32a --- /dev/null +++ b/dist/apps/admin-gui/427-es5.e77dcafd30825535e3e2.js @@ -0,0 +1 @@ +!function(){function t(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var a,n,o=[],r=!0,s=!1;try{for(i=i.call(t);!(r=(a=i.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(l){s=!0,n=l}finally{try{r||null==i.return||i.return()}finally{if(s)throw n}}return o}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=i(t))||e&&t&&"number"==typeof t.length){a&&(t=a);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return s=t.done,t},e:function(t){l=!0,r=t},f:function(){try{s||null==a.return||a.return()}finally{if(l)throw r}}}}function i(t,e){if(t){if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i_policy",[t.group])?t.groupService.getRichGroupByIdWithAttributesByNames(i,t.attrNames).subscribe(function(e){t.group=e,t.syncEnabled=t.isSynchronized(),t.syncAuth=t.guiAuthResolver.isAuthorized("forceGroupSynchronization_Group_policy",[t.group])},function(){return t.loading=!1}):t.syncEnabled=!1,t.editAuth=t.guiAuthResolver.isAuthorized("updateGroup_Group_policy",[t.group]),t.deleteAuth=t.guiAuthResolver.isAuthorized("deleteGroup_Group_boolean_policy",[t.group]);var n=t.sideMenuItemService.parseVo(e),o=t.sideMenuItemService.parseGroup(a);t.sideMenuService.setAccessMenuItems([n,o]),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}},{key:"isSynchronized",value:function(){return this.group.attributes.some(function(t){return"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString()})}},{key:"onSyncDetail",value:function(){var t=(0,g.kZ)();t.data={groupId:this.group.id,theme:"group-theme"},this.dialog.open(f.Bp,t)}},{key:"editGroup",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={theme:"group-theme",group:this.group,dialogType:f.Eg.GROUP},this.dialog.open(f.rd,e).afterClosed().subscribe(function(e){e&&t.groupService.getGroupById(t.group.id).subscribe(function(e){t.group=e})})}},{key:"deleteGroup",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={theme:"group-theme",groups:[this.group]},this.dialog.open(A.P,e).afterClosed().subscribe(function(e){e&&t.router.navigate(["../"],{relativeTo:t.route})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(c.V),I.Y36(d.ff),I.Y36(v.uw),I.Y36(h.x4),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","group-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-group-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit group",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit group",3,"click"],["mat-icon-button","",3,"click"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,R,1,0,"mat-spinner",1),I.YNc(3,G,25,32,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.group))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A,N.lW],pipes:[O.X$,x.r,C.J,L.F],styles:[""],data:{animation:[p.Ji]}}),t}();function Y(t,e){1&t&&I._UZ(0,"mat-spinner",3)}var J=function(t){return["/admin","users",t]};function V(t,e){if(1&t&&(I.TgZ(0,"a",8),I._uU(1),I.qZA()),2&t){var i=I.oxw(2);I.Q6J("routerLink",I.VKq(2,J,i.member.userId)),I.xp6(1),I.hij(" ",i.member.userId," ")}}function F(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Oqu(i.member.userId)}}var Q=function(){return{color:"black"}},z=function(t,e){return["/organizations",t,"members",e]};function B(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",4),I._UZ(2,"mat-icon",5),I.ALo(3,"translate"),I.TgZ(4,"div",6),I.TgZ(5,"div",7),I.TgZ(6,"a",8),I._uU(7),I.qZA(),I.TgZ(8,"span",9),I._uU(9),I.qZA(),I.qZA(),I.TgZ(10,"span",10),I._uU(11),I.ALo(12,"translate"),I.ALo(13,"translate"),I.YNc(14,V,2,4,"a",11),I.YNc(15,F,2,1,"span",2),I.qZA(),I.qZA(),I.qZA(),I._UZ(16,"app-animated-router-outlet"),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.s9C("matTooltip",I.lcZ(3,9,"MEMBER_DETAIL.ENTITY")),I.Q6J("ngStyle",I.DdM(15,Q)),I.xp6(4),I.Q6J("routerLink",I.WLB(16,z,i.vo.id,i.member.id)),I.xp6(1),I.hij(" ",i.fullName," "),I.xp6(2),I.hij(" \xa0#",i.member.id," "),I.xp6(2),I.AsE(" ",I.lcZ(12,11,"MEMBER_DETAIL.ENTITY"),", ",I.lcZ(13,13,"MEMBER_DETAIL.USER_ID"),": "),I.xp6(3),I.Q6J("ngIf",i.isAuthorized),I.xp6(1),I.Q6J("ngIf",!i.isAuthorized)}}var j=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.sideMenuItemService=e,this.translate=i,this.sideMenuService=a,this.membersService=o,this.voService=r,this.route=s,this.authResolver=l,this.fullName="",this.isAuthorized=!1,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){var i=e.voId,a=e.memberId;t.isAuthorized=t.authResolver.isPerunAdminOrObserver(),t.voService.getVoById(i).subscribe(function(e){t.vo=e,t.membersService.getRichMemberWithAttributes(a).subscribe(function(e){t.member=e;var i=t.sideMenuItemService.parseVo(t.vo),a=t.sideMenuItemService.parseMember(t.member,t.vo);t.fullName=a.label,t.sideMenuService.setAccessMenuItems([i,a]),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(c.V),I.Y36(O.sK),I.Y36(T.D),I.Y36(d.uq),I.Y36(d.YF),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","member-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-user-dark",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"member-link",3,"routerLink"],[1,"text-muted"],[1,"mt-1","entity-info"],["class","member-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,Y,1,0,"mat-spinner",1),I.YNc(3,B,17,19,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo&&void 0!==e.member))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A],pipes:[O.X$],styles:[""],data:{animation:[p.Ji]}}),t}(),H=o(8557);function X(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function $(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.navItems)("size","small")}}var W=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.route=a,this.router=o,this.authResolver=r,this.items=[],this.navItems=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initNavItems(),t.loading=!1},function(){return t.loading=!1})})}},{key:"initNavItems",value:function(){this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.vo.id,"/members"),label:"MENU_ITEMS.VO.MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/groups"),label:"MENU_ITEMS.VO.GROUPS",style:"vo-btn"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-manage-facility",url:"/organizations/".concat(this.vo.id,"/resources"),label:"MENU_ITEMS.VO.RESOURCES",style:"vo-btn"}),this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.vo.id,"/applications"),label:"MENU_ITEMS.VO.APPLICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.vo.id,"/sponsoredMembers"),label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",style:"vo-btn"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-service-identity",url:"/organizations/".concat(this.vo.id,"/serviceAccounts"),label:"MENU_ITEMS.VO.SERVICE_MEMBERS",style:"vo-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.vo.id,"/attributes"),label:"MENU_ITEMS.VO.ATTRIBUTES",style:"vo-btn"}),this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[this.vo])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-statistics",url:"/organizations/".concat(this.vo.id,"/statistics"),label:"MENU_ITEMS.VO.STATISTICS",style:"vo-btn"}),(this.authResolver.isManagerPagePrivileged(this.vo)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])||this.authResolver.isThisVoAdminOrObserver(this.vo.id))&&this.navItems.push({cssIcon:"perun-settings2",url:"/organizations/".concat(this.vo.id,"/settings"),label:"MENU_ITEMS.VO.SETTINGS",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(l.F0),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-overview"]],decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,X,1,0,"mat-spinner",0),I.YNc(1,$,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),K=o(48002),tt=o(28940),et=o(99608);function it(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function at(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",13),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).editVo()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function nt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",14),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).removeVo()}),I.TgZ(1,"mat-icon"),I._uU(2,"delete_forever"),I.qZA(),I.qZA()}}var ot=function(){return{color:"black"}},rt=function(t){return["/organizations/",t]};function st(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",4),I._UZ(2,"mat-icon",5),I.ALo(3,"translate"),I.TgZ(4,"div",6),I.TgZ(5,"div",7),I.TgZ(6,"a",8),I._uU(7),I.qZA(),I.TgZ(8,"span",9),I._uU(9),I.qZA(),I.YNc(10,at,3,0,"button",10),I.YNc(11,nt,3,0,"button",11),I.qZA(),I.TgZ(12,"span",12),I._uU(13),I.ALo(14,"translate"),I.ALo(15,"translate"),I.qZA(),I.qZA(),I.qZA(),I._UZ(16,"app-animated-router-outlet"),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.s9C("matTooltip",I.lcZ(3,10,"VO_DETAIL.ENTITY")),I.Q6J("ngStyle",I.DdM(16,ot)),I.xp6(4),I.Q6J("routerLink",I.VKq(17,rt,i.vo.id)),I.xp6(1),I.hij(" ",i.vo.name," "),I.xp6(2),I.hij(" \xa0#",i.vo.id," "),I.xp6(1),I.Q6J("ngIf",i.editAuth),I.xp6(1),I.Q6J("ngIf",i.removeAuth),I.xp6(2),I.lnq(" ",I.lcZ(14,12,"VO_DETAIL.ENTITY"),", ",I.lcZ(15,14,"VO_DETAIL.SHORT_NAME"),": ",i.vo.shortName," ")}}var lt=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.sideMenuService=e,this.voService=i,this.route=a,this.router=o,this.sideMenuItemService=r,this.dialog=s,this.authResolver=l,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.editAuth=t.authResolver.isAuthorized("updateVo_Vo_policy",[t.vo]),t.removeAuth=t.authResolver.isAuthorized("deleteVo_Vo_policy",[t.vo]);var i=t.sideMenuItemService.parseVo(e);t.sideMenuService.setAccessMenuItems([i]),(0,g.sF)("vos",t.vo),(0,g.XI)(t.vo),t.loading=!1},function(){return t.loading=!1})})}},{key:"editVo",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={theme:"vo-theme",vo:this.vo,dialogType:f.Eg.VO},this.dialog.open(f.rd,e).afterClosed().subscribe(function(e){e&&t.voService.getVoById(t.vo.id).subscribe(function(e){t.vo=e})})}},{key:"removeVo",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={theme:"vo-theme",vos:[this.vo]},this.dialog.open(et.o,e).afterClosed().subscribe(function(e){e&&t.router.navigate([""])})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(l.gz),I.Y36(l.F0),I.Y36(c.V),I.Y36(v.uw),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-vo-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"vo-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit Vo",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Remove Vo",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["mat-icon-button","","aria-label","Edit Vo",3,"click"],["mat-icon-button","","aria-label","Remove Vo",3,"click"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I._UZ(1,"perun-web-apps-back-button"),I.YNc(2,it,1,0,"mat-spinner",1),I.YNc(3,st,17,19,"div",2),I.qZA()),2&t&&(I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&void 0!==e.vo))},directives:[E.W,s.O5,Z.$g,b.Hw,_.gM,s.PC,l.yS,S.A,N.lW],pipes:[O.X$],styles:[".shortname[_ngcontent-%COMP%]{font-size:medium}"],data:{animation:[p.Ji]}}),t}(),ut=o(67033),ct=o(95121),pt=o(79592),dt=o(27439),gt=o(64737),ht=o(37665),mt=o(39571),ft=o(74842),At=o(37043),It=o(73669),Tt=o(58506);function vt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-group-search-select",7),I.NdJ("groupSelected",function(t){return I.CHM(i),I.oxw().groupIsSelected(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("groups",a.groups)("firstSelectedGroup",a.selectedGroup)}}function Et(t,e){1&t&&I._UZ(0,"mat-spinner",8)}function Zt(t,e){1&t&&(I.TgZ(0,"app-alert",9),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.NO_GROUPS_FOUND")))}function bt(t,e){1&t&&I._UZ(0,"th",17)}function _t(t,e){if(1&t&&(I.TgZ(0,"td",18),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i,": ")}}function St(t,e){1&t&&I._UZ(0,"th",17)}function Nt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",22),I.NdJ("click",function(){return I.CHM(i),I.oxw(4).changeStatus()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Ot(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"i"),I.ALo(2,"memberStatusIconColor"),I._uU(3),I.ALo(4,"memberStatusIcon"),I.qZA(),I.TgZ(5,"b",20),I._uU(6),I.ALo(7,"transformMemberStatus"),I.qZA(),I.YNc(8,Nt,3,0,"button",21),I.qZA()),2&t){var i=I.oxw(3);I.xp6(1),I.Gre("material-icons vert-center mr-1 ",I.lcZ(2,6,i.selectedMember.groupStatus),""),I.xp6(2),I.hij(" ",I.lcZ(4,8,i.selectedMember.groupStatus)," "),I.xp6(3),I.hij(" ",I.lcZ(7,10,i.selectedMember.groupStatus)," "),I.xp6(2),I.Q6J("ngIf",i.authResolver.isThisVoAdmin(i.vo.id)||i.authResolver.isThisGroupAdmin(i.selectedGroup.id))}}function xt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",22),I.NdJ("click",function(){return I.CHM(i),I.oxw(4).changeExpiration()}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Ct(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"i",2),I._uU(2),I.ALo(3,"parseDate"),I.qZA(),I.YNc(4,xt,3,0,"button",21),I.qZA()),2&t){var i=I.oxw(3);I.xp6(2),I.hij(" ",I.lcZ(3,2,i.expiration)," "),I.xp6(2),I.Q6J("ngIf",i.authResolver.isThisVoAdmin(i.vo.id)||i.authResolver.isThisGroupAdmin(i.selectedGroup.id))}}function Lt(t,e){if(1&t&&(I.TgZ(0,"td",19),I.YNc(1,Ot,9,12,"div",6),I.YNc(2,Ct,5,4,"div",6),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Q6J("ngIf","Status"===i),I.xp6(1),I.Q6J("ngIf","Expiration"===i)}}function Rt(t,e){1&t&&I._UZ(0,"tr",23)}function Mt(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"table",10),I.ynx(2,11),I.YNc(3,bt,1,0,"th",12),I.YNc(4,_t,2,1,"td",13),I.BQk(),I.ynx(5,14),I.YNc(6,St,1,0,"th",12),I.YNc(7,Lt,3,2,"td",15),I.BQk(),I.YNc(8,Rt,1,0,"tr",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("dataSource",i.groupMembershipDataSource),I.xp6(7),I.Q6J("matRowDefColumns",i.displayedColumns)}}var Dt=function(){var t=function(){function t(e,i,a,o){n(this,t),this.groupsManager=e,this.authResolver=i,this.translate=a,this.dialog=o,this.noGroups=!1,this.groupMembershipDataSource=new ut.by,this.expiration="",this.displayedColumns=["attName","attValue"]}return r(t,[{key:"ngOnChanges",value:function(){var t=this;this.loading=!0,this.initLoading=!0,this.groupMembershipDataSource=new ut.by(["Status","Expiration"]),this.groupsManager.getMemberGroups(this.member.id).subscribe(function(e){if(t.groups=e,0!==t.groups.length){var i=t.findInitiallySelectedGroupId();t.groupIsSelected(i),t.initLoading=!1}else t.noGroups=!0})}},{key:"findInitiallySelectedGroupId",value:function(){var t=this;if(this.recentIds=(0,g.vL)("groups"),this.recentIds){var e=this.groups.find(function(e){return e.id===t.recentIds[0]});if(e)return e}return this.groups[0]}},{key:"groupIsSelected",value:function(t){var e=this;this.loading=!0,this.selectedGroup=t,this.groupsManager.getGroupRichMembersByIds(this.selectedGroup.id,[this.member.id],[m.r.MEMBER_DEF_GROUP_EXPIRATION]).subscribe(function(t){e.selectedMember=t[0],e.expirationAtt=e.selectedMember.memberAttributes.find(function(t){return"groupMembershipExpiration"===t.baseFriendlyName}),e.expirationAtt?(e.groupMembershipDataSource=new ut.by(["Status","Expiration"]),e.expiration=e.expirationAtt.value?e.expirationAtt.value:e.translate.instant("MEMBER_DETAIL.OVERVIEW.NEVER_EXPIRES")):e.groupMembershipDataSource=new ut.by(["Status"]),e.loading=!1})}},{key:"changeExpiration",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=(0,g.kZ)();i.width="400px",i.data={memberId:this.member.id,groupId:this.selectedGroup.id,expirationAttr:this.expirationAtt,status:this.selectedMember.groupStatus,statusChanged:e},this.dialog.open(f.u3,i).afterClosed().subscribe(function(e){e&&t.groupIsSelected(t.selectedGroup)})}},{key:"changeStatus",value:function(){var t=this,e=(0,g.kZ)();e.width="600px",e.data={member:this.selectedMember,voId:this.vo.id,groupId:this.selectedGroup.id},this.dialog.open(f.pf,e).afterClosed().subscribe(function(e){e&&(t.selectedMember=e,t.changeExpiration(!0))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.ff),I.Y36(h.x4),I.Y36(O.sK),I.Y36(v.uw))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-overview-groups"]],inputs:{vo:"vo",member:"member"},features:[I.TTD],decls:11,vars:7,consts:[[1,"mat-elevation-z3","groups-card","mt-4"],[1,"page-subtitle"],[1,"column-center"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],[4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[1,"mr-auto","ml-auto"],["alert_type","info"],["mat-table","",1,"ml-auto","mr-auto",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],[1,"vert-top"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"mat-card",0),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",1),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content",2),I.YNc(7,vt,1,2,"perun-web-apps-group-search-select",3),I.YNc(8,Et,1,0,"mat-spinner",4),I.YNc(9,Zt,3,3,"app-alert",5),I.YNc(10,Mt,9,2,"div",6),I.qZA(),I.qZA()),2&t&&(I.xp6(4),I.Oqu(I.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.GROUP_MEMBERSHIP")),I.xp6(3),I.Q6J("ngIf",!e.initLoading),I.xp6(1),I.Q6J("ngIf",(e.loading||e.initLoading)&&!e.noGroups),I.xp6(1),I.Q6J("ngIf",e.noGroups),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[dt.a8,dt.dk,dt.n5,dt.dn,s.O5,ht.h,Z.$g,mt.w,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,ut.ge,ut.ev,N.lW,b.Hw,ut.Gk],pipes:[O.X$,ft.u,At.f,It.r,Tt.M],styles:[".groups-card[_ngcontent-%COMP%]{max-width:400px}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.vert-center[_ngcontent-%COMP%]{vertical-align:middle!important}"]}),t}(),yt=function(){var t=function(){function t(){n(this,t)}return r(t,[{key:"transform",value:function(t){return(0,g.Cz)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=I.Yjl({name:"attributeFriendlyName",type:t,pure:!0}),t}(),Ut=o(22196);function qt(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function wt(t,e){1&t&&I._UZ(0,"th",17)}function Pt(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.qZA()),2&t){var i=I.oxw().$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.attributes.get(i)[0],": ")}}function Gt(t,e){if(1&t&&(I.TgZ(0,"span"),I._uU(1),I.ALo(2,"attributeFriendlyName"),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.hij(" ",I.lcZ(2,1,i),": ")}}function kt(t,e){if(1&t&&(I.TgZ(0,"td",18),I.YNc(1,Pt,2,1,"span",1),I.YNc(2,Gt,3,3,"span",1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("ngIf",null!==a.attributes.get(i)[0]),I.xp6(1),I.Q6J("ngIf",null===a.attributes.get(i)[0])}}function Yt(t,e){1&t&&I._UZ(0,"th",17)}function Jt(t,e){if(1&t&&(I.TgZ(0,"td",19),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.attributes.get(i)[1]," ")}}function Vt(t,e){1&t&&I._UZ(0,"tr",20)}function Ft(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-card",5),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",6),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content",21),I.TgZ(7,"div",22),I.ALo(8,"translate"),I.TgZ(9,"button",23),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).requestPwdReset()}),I._uU(10),I.ALo(11,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(4),I.Oqu(I.lcZ(5,5,"MEMBER_DETAIL.OVERVIEW.RESET_PASSWORD")),I.xp6(3),I.Q6J("matTooltip",I.lcZ(8,7,"MEMBER_DETAIL.OVERVIEW.RESET_DISABLED"))("matTooltipDisabled",a.logins.length>0),I.xp6(2),I.Q6J("disabled",!a.logins.length),I.xp6(1),I.hij(" ",I.lcZ(11,9,"MEMBER_DETAIL.OVERVIEW.SEND_REQUEST")," ")}}function Qt(t,e){1&t&&(I.TgZ(0,"th",17),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.SPONSOR_NAME")))}function zt(t,e){if(1&t&&(I.TgZ(0,"td",33),I._uU(1),I.ALo(2,"userFullName"),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",I.lcZ(2,1,i.user)," ")}}function Bt(t,e){1&t&&(I.TgZ(0,"th",17),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"MEMBER_DETAIL.OVERVIEW.EXPIRATION_TABLE")))}function jt(t,e){if(1&t&&(I.TgZ(0,"td",33),I.TgZ(1,"span",34),I._uU(2),I.ALo(3,"parseDate"),I.qZA(),I.qZA()),2&t){var i=e.$implicit;I.xp6(2),I.Oqu(I.lcZ(3,1,i.validityTo))}}function Ht(t,e){1&t&&I._UZ(0,"tr",35)}function Xt(t,e){1&t&&I._UZ(0,"tr",20)}var $t=function(){return["sponsors","expiration"]};function Wt(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-card-content"),I.TgZ(1,"h6",26),I._uU(2),I.ALo(3,"translate"),I.TgZ(4,"button",27),I.NdJ("click",function(){return I.CHM(i),I.oxw(3).changeSponsors()}),I.TgZ(5,"mat-icon"),I._uU(6,"edit"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"table",28),I.ynx(8,29),I.YNc(9,Qt,3,3,"th",9),I.YNc(10,zt,3,3,"td",30),I.BQk(),I.ynx(11,31),I.YNc(12,Bt,3,3,"th",9),I.YNc(13,jt,4,3,"td",30),I.BQk(),I.YNc(14,Ht,1,0,"tr",32),I.YNc(15,Xt,1,0,"tr",13),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.hij(" ",I.lcZ(3,4,"MEMBER_DETAIL.OVERVIEW.SPONSORS"),": "),I.xp6(5),I.Q6J("dataSource",a.sponsorsDataSource),I.xp6(7),I.Q6J("matHeaderRowDef",I.DdM(6,$t)),I.xp6(1),I.Q6J("matRowDefColumns",I.DdM(7,$t))}}function Kt(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"mat-card",24),I.TgZ(2,"mat-card-header"),I.TgZ(3,"mat-card-title"),I.TgZ(4,"h1",6),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.TgZ(7,"mat-card-subtitle",25),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.qZA(),I.YNc(10,Wt,16,8,"mat-card-content",1),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(5),I.Oqu(I.lcZ(6,3,"MEMBER_DETAIL.OVERVIEW.SPONSORSHIP")),I.xp6(3),I.hij(" ",I.lcZ(9,5,"MEMBER_DETAIL.OVERVIEW.SPONSORED_BY")," "),I.xp6(2),I.Q6J("ngIf",0!==i.sponsors.length)}}function te(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",3),I.TgZ(2,"div",4),I.TgZ(3,"mat-card",5),I.TgZ(4,"mat-card-header"),I.TgZ(5,"mat-card-title"),I.TgZ(6,"h1",6),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(9,"mat-card-content"),I.TgZ(10,"table",7),I.ynx(11,8),I.YNc(12,wt,1,0,"th",9),I.YNc(13,kt,3,2,"td",10),I.BQk(),I.ynx(14,11),I.YNc(15,Yt,1,0,"th",9),I.YNc(16,Jt,2,1,"td",12),I.BQk(),I.YNc(17,Vt,1,0,"tr",13),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(18,"div",4),I._UZ(19,"app-member-overview-membership",14),I._UZ(20,"app-member-overview-groups",14),I.qZA(),I.TgZ(21,"div",4),I.YNc(22,Ft,12,11,"mat-card",15),I.YNc(23,Kt,11,7,"div",1),I.qZA(),I.qZA(),I.TgZ(24,"div"),I._UZ(25,"perun-web-apps-menu-buttons-field",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(7),I.Oqu(I.lcZ(8,11,"MEMBER_DETAIL.OVERVIEW.PERSONAL")),I.xp6(3),I.Q6J("dataSource",i.dataSource),I.xp6(7),I.Q6J("matRowDefColumns",i.displayedColumns),I.xp6(2),I.Q6J("member",i.member)("vo",i.vo),I.xp6(1),I.Q6J("member",i.member)("vo",i.vo),I.xp6(2),I.Q6J("ngIf",i.pwdResetAuth),I.xp6(1),I.Q6J("ngIf",i.member.sponsored),I.xp6(2),I.Q6J("items",i.navItems)("size","small")}}var ee=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.attributesManager=e,this.membersService=i,this.usersManager=a,this.route=o,this.dialog=r,this.authResolver=s,this.storeService=l,this.expiration="",this.logins=[],this.member=null,this.navItems=[],this.attributeNames=[],this.attributes=new Map,this.dataSource=new ut.by,this.displayedColumns=["attName","attValue"],this.sponsors=[],this.sponsorsDataSource=new ut.by,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){var i=e.memberId;t.attributeNames=t.storeService.getMemberProfileAttributeNames(),t.membersService.getRichMemberWithAttributes(i).subscribe(function(e){var i=t.storeService.get("password_namespace_attributes").map(function(t){return(t=t.split(":"))[t.length-1]});t.attributesManager.getLogins(e.userId).subscribe(function(a){t.logins=a.filter(function(t){return i.includes(t.friendlyNameParameter)}),t.member=e,t.initAttributes(),t.dataSource=new ut.by(Array.from(t.attributes.keys())),t.vo={id:e.voId,beanName:"Vo"},t.pwdResetAuth=t.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[t.vo,t.member]),t.member.sponsored&&t.authResolver.isAuthorized("getSponsorsForMember_Member_List_policy",[t.member])?t.usersManager.getSponsorsForMember(t.member.id,null).subscribe(function(e){t.sponsors=e,t.sponsorsDataSource=new ut.by(t.sponsors),t.initNavItems(),t.refreshData()}):(t.initNavItems(),t.refreshData())},function(){return t.loading=!1})})})}},{key:"initAttributes",value:function(){var t=this;this.attributeNames.forEach(function(e){t.attributes.set(e,[null,"-"])}),this.filterAttributes()}},{key:"filterAttributes",value:function(){var t=this;null!==this.member.memberAttributes&&this.member.memberAttributes.forEach(function(e){t.attributeNames.includes(e.friendlyName)&&t.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])}),null!==this.member.userAttributes&&this.member.userAttributes.forEach(function(e){t.attributeNames.includes(e.friendlyName)&&t.attributes.set(e.friendlyName,[e.displayName,e.value.toString()])})}},{key:"initNavItems",value:function(){this.navItems=[],this.authResolver.isAuthorized("getMemberGroups_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/groups"),label:"MENU_ITEMS.MEMBER.GROUPS",style:"member-btn"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/applications"),label:"MENU_ITEMS.MEMBER.APPLICATIONS",style:"member-btn"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[this.vo])&&this.navItems.push({cssIcon:"perun-resource",url:"/organizations/".concat(this.member.voId,"/members/").concat(this.member.id,"/resources"),label:"MENU_ITEMS.MEMBER.RESOURCES",style:"member-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.vo.id,"/members/").concat(this.member.id,"/attributes"),label:"MENU_ITEMS.MEMBER.ATTRIBUTES",style:"member-btn"})}},{key:"refreshData",value:function(){var t=this;this.loading=!0,this.membersService.getRichMemberWithAttributes(this.member.id).subscribe(function(e){t.member=e,t.loading=!1},function(){return t.loading=!1})}},{key:"requestPwdReset",value:function(){var t=(0,g.kZ)();t.width="400px",t.data={userId:this.member.userId,memberId:this.member.id,logins:this.logins},this.dialog.open(ct.m,t)}},{key:"changeSponsors",value:function(){var t=this,e=(0,g.kZ)();e.width="650px",e.data={sponsors:this.sponsors,member:this.member,theme:"member-theme"},this.dialog.open(pt.H,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.membersService.getRichMemberWithAttributes(t.member.id).subscribe(function(e){t.member=e,t.member.sponsored&&t.usersManager.getSponsorsForMember(t.member.id,null).subscribe(function(e){t.sponsors=e,t.sponsorsDataSource.data=t.sponsors}),t.loading=!1}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(d.uq),I.Y36(d.Fv),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.x4),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"member-cards"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"page-subtitle"],["mat-table","",3,"dataSource"],["matColumnDef","attName"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","attValue"],["class","column-center","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"member","vo"],["class","mat-elevation-z3",4,"ngIf"],[3,"items","size"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"column-center"],["mat-row",""],[1,"column-center"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"mat-elevation-z3","mt-4"],[1,"mt-n3"],[1,"d-flex"],["mat-icon-button","",1,"ml-auto","mt-n2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","sponsors"],["mat-cell","",4,"matCellDef"],["matColumnDef","expiration"],["mat-header-row","",4,"matHeaderRowDef"],["mat-cell",""],[1,"font-italic"],["mat-header-row",""]],template:function(t,e){1&t&&(I.YNc(0,qt,1,0,"mat-spinner",0),I.YNc(1,te,26,13,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,dt.a8,dt.dk,dt.n5,dt.dn,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,gt.b,Dt,H.L,ut.ge,ut.ev,ut.Gk,_.gM,N.lW,dt.$j,b.Hw,ut.as,ut.XQ],pipes:[O.X$,yt,Ut.d,Tt.M],styles:[".vert-center[_ngcontent-%COMP%]{vertical-align:inherit!important}.vert-top[_ngcontent-%COMP%]{vertical-align:top}.column-center[_ngcontent-%COMP%]{text-align:center}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top}.member-cards[_ngcontent-%COMP%]{margin:0 -1rem}"]}),t}(),ie=o(81835);function ae(t,e){1&t&&I._UZ(0,"mat-spinner",2)}var ne=function(t,e){return["/organizations",t,"groups",e]};function oe(t,e){if(1&t&&(I.TgZ(0,"p"),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"a",4),I._uU(4),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.hij(" ",I.lcZ(2,3,"GROUP_DETAIL.SUBGROUP_INFO")," "),I.xp6(2),I.Q6J("routerLink",I.WLB(5,ne,i.parentGroup.voId,i.parentGroup.id)),I.xp6(1),I.hij(" ",i.parentGroup.name," ")}}function re(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,oe,5,8,"p",1),I._UZ(2,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf",null!==i.parentGroup),I.xp6(1),I.Q6J("items",i.navItems)("size","small")}}var se=function(){var t=function(){function t(e,i,a,o,r,s,l){n(this,t),this.route=e,this.groupService=i,this.voService=a,this.guiAuthResolver=o,this.apiRequest=r,this.attributesManager=s,this.notificator=l,this.navItems=[],this.parentGroup=null,this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.groupId=e.groupId,t.groupService.getGroupById(t.groupId).subscribe(function(e){t.group=e,null!==t.group.parentGroupId?t.loadParentGroupData():(t.parentGroup=null,t.initNavItems(),t.loading=!1)},function(){return t.loading=!1})})}},{key:"loadParentGroupData",value:function(){var t=this;this.groupService.getGroupById(this.group.parentGroupId).subscribe(function(e){t.parentGroup=e,t.initNavItems(),t.loading=!1},function(){return t.loading=!1})}},{key:"initNavItems",value:function(){var t=this;this.navItems=[],this.guiAuthResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[this.group])&&this.navItems.push({cssIcon:"perun-user",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/members"),label:"MENU_ITEMS.GROUP.MEMBERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[this.group])&&"members"!==this.group.name&&this.navItems.push({cssIcon:"perun-group",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/subgroups"),label:"MENU_ITEMS.GROUP.SUBGROUPS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getAssignedRichResources_Group_policy",[this.group])&&this.navItems.push({cssIcon:"perun-manage-facility",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/resources"),label:"MENU_ITEMS.GROUP.RESOURCES",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[this.group])&&this.navItems.push({cssIcon:"perun-applications",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/applications"),label:"MENU_ITEMS.GROUP.APPLICATIONS",style:"group-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.group.id,"/attributes"),label:"MENU_ITEMS.GROUP.ATTRIBUTES",style:"group-btn"});var e=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[this.group]),i=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[this.group]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[this.group]);e&&a&&i&&this.navItems.push({cssIcon:"perun-statistics",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.group.id,"/statistics"),label:"MENU_ITEMS.GROUP.STATISTICS",style:"group-btn"});var n=!1;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){n=!0},function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)});var o=this.guiAuthResolver.isManagerPagePrivileged(this.group),r=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),s=this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group]),l=this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group]);(n||o||r||s||l)&&this.navItems.push({cssIcon:"perun-settings2",url:"/organizations/".concat(this.group.voId,"/groups/").concat(this.groupId,"/settings"),label:"MENU_ITEMS.GROUP.SETTINGS",style:"group-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.ff),I.Y36(d.YF),I.Y36(h.x4),I.Y36(h.F5),I.Y36(d.H8),I.Y36(h.V6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"],["queryParamsHandling","merge",1,"group-link",3,"routerLink"]],template:function(t,e){1&t&&(I.YNc(0,ae,1,0,"mat-spinner",0),I.YNc(1,re,3,3,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L,l.yS],pipes:[O.X$],styles:[""]}),t}(),le=o(82044),ue=function(){var t=function(){function t(e){n(this,t),this.route=e}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),ce=o(40659),pe=function(){var t=function(){function t(e,i){var a=this;n(this,t),this.route=e,this.router=i,this.backButtonRegex=new RegExp("/organizations/\\d+/settings/\\w+$"),this.backButtonDisplayed=!1,this.currentUrl=i.url,this.backButtonDisplayed=this.backButtonRegex.test(this.currentUrl),i.events.subscribe(function(t){t instanceof l.m2&&(a.currentUrl=t.url,a.backButtonDisplayed=a.backButtonRegex.test(a.currentUrl))})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),de=o(541),ge=function(){var t=function(){function t(e){n(this,t),this.route=e}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.voId=e.voId})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],[3,"entityId","entity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._UZ(4,"app-one-entity-attribute-page",1),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"VO_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(2),I.Q6J("entityId",e.voId)("entity","vo"))},directives:[de.t],pipes:[O.X$],styles:[""]}),t}();function he(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function me(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.items)("size","small")}}var fe=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=a,this.route=o,this.router=r,this.items=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initItems(),t.loading=!1},function(){return t.loading=!1})})}},{key:"initItems",value:function(){this.items=[],this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/settings/expiration"),label:"MENU_ITEMS.VO.EXPIRATION",style:"vo-btn"}),this.authResolver.isManagerPagePrivileged(this.vo)&&this.items.push({cssIcon:"perun-manager",url:"/organizations/".concat(this.vo.id,"/settings/managers"),label:"MENU_ITEMS.VO.MANAGERS",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-application-form",url:"/organizations/".concat(this.vo.id,"/settings/applicationForm"),label:"MENU_ITEMS.VO.APPLICATION_FORM",style:"vo-btn"}),this.authResolver.isThisVoAdminOrObserver(this.vo.id)&&this.items.push({cssIcon:"perun-notification",url:"/organizations/".concat(this.vo.id,"/settings/notifications"),label:"MENU_ITEMS.VO.NOTIFICATIONS",style:"vo-btn"}),this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-external-sources",url:"/organizations/".concat(this.vo.id,"/settings/extsources"),label:"MENU_ITEMS.VO.EXTSOURCES",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(h.x4),I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,he,1,0,"mat-spinner",0),I.YNc(1,me,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),Ae=o(27521),Ie=o(16073),Te=o(54810),ve=["*"],Ee=function(){var t=function(){function t(){n(this,t),this.modelChange=new I.vpe}return r(t,[{key:"model",get:function(){return this.modelValue},set:function(t){this.modelValue=t}},{key:"ngAfterViewInit",value:function(){var t=this;this.toggle.change.subscribe(function(){return t.valueChanged()})}},{key:"valueChanged",value:function(){this.modelChange.emit(this.toggle.checked)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-settings-toggle-item"]],viewQuery:function(t,e){var i;(1&t&&I.Gf(Ae.Rr,7),2&t)&&(I.iGM(i=I.CRH())&&(e.toggle=i.first))},inputs:{title:"title",model:"model"},outputs:{modelChange:"modelChange"},ngContentSelectors:ve,decls:8,vars:5,consts:[[1,"mt-3"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"setting-item","clickable",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["toggle",""],[1,"ml-1"]],template:function(t,e){if(1&t){var i=I.EpF();I.F$t(),I.TgZ(0,"div",0),I.TgZ(1,"div",1),I.TgZ(2,"label",2),I.NdJ("click",function(){return I.CHM(i),I.MAs(5).toggle()||e.valueChanged()}),I._uU(3),I.qZA(),I.TgZ(4,"mat-slide-toggle",3,4),I.NdJ("ngModelChange",function(t){return e.modelValue=t}),I.qZA(),I.qZA(),I.TgZ(6,"div",5),I.Hsn(7),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(5);I.xp6(2),I.ekj("unselected-setting",!a.checked),I.xp6(1),I.hij(" ",e.title," "),I.xp6(1),I.Q6J("ngModel",e.modelValue),I.xp6(2),I.Q6J("@openClose",a.checked?"open":"closed")}},directives:[Ae.Rr,Ie.JJ,Ie.On],styles:[""],data:{animation:[p.BQ]}}),t}(),Ze=o(66283),be=o(4786),_e=o(80340),Se=o(71522),Ne=o(29236);function Oe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",25),I.TgZ(1,"mat-form-field",26),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodStatic=t}),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-hint"),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(2),I.s9C("pattern",a.datePattern),I.s9C("placeholder",I.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),I.Q6J("ngModel",a.currentConfiguration.periodStatic),I.xp6(3),I.Oqu(I.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function xe(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function Ce(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",18),I.TgZ(1,"mat-form-field",19),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodDynamic=t}),I.ALo(3,"translate"),I.qZA(),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.periodDynamicUnit=t}),I.YNc(9,xe,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(2),I.s9C("pattern",a.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),I.Q6J("ngModel",a.currentConfiguration.periodDynamic),I.xp6(4),I.Oqu(I.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",a.currentConfiguration.periodDynamicUnit),I.xp6(1),I.Q6J("ngForOf",a.amountOptions)}}function Le(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.Oqu(i)}}function Re(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.Oqu(i)}}function Me(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function De(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",i," ")}}function ye(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",25),I.TgZ(1,"mat-form-field",26),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodStatic=t}),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-hint"),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.s9C("pattern",a.datePattern),I.s9C("placeholder",I.lcZ(3,4,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_INPUT_STATIC")),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodStatic),I.xp6(3),I.Oqu(I.lcZ(6,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DP_HINT"))}}function Ue(t,e){if(1&t&&(I.TgZ(0,"mat-option",27),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i.value),I.xp6(1),I.Oqu(i.text)}}function qe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",18),I.TgZ(1,"mat-form-field",19),I.TgZ(2,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodDynamic=t}),I.ALo(3,"translate"),I.qZA(),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(3).currentConfiguration.specialLoaPeriodDynamicUnit=t}),I.YNc(9,Ue,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(3);I.xp6(2),I.s9C("pattern",a.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(3,6,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_VALUE")),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodDynamic),I.xp6(4),I.Oqu(I.lcZ(7,8,"VO_MANAGEMENT.SETTINGS.EXPIRATION.AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",a.currentConfiguration.specialLoaPeriodDynamicUnit),I.xp6(1),I.Q6J("ngForOf",a.amountOptions)}}function we(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",28),I.TgZ(1,"mat-radio-group",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.specialLoaPeriodType=t}),I.TgZ(2,"mat-radio-button",9,29),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"mat-radio-button",11,30),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.qZA(),I.YNc(10,ye,7,8,"div",13),I.YNc(11,qe,10,10,"div",14),I.TgZ(12,"div"),I.TgZ(13,"mat-checkbox",31),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).currentConfiguration.specialLoaPeriodExtendExpiredMembers=t}),I._uU(14),I.ALo(15,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(3),n=I.MAs(7),o=I.oxw(2);I.xp6(1),I.Q6J("ngModel",o.currentConfiguration.specialLoaPeriodType),I.xp6(3),I.hij(" ",I.lcZ(5,7,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),I.xp6(4),I.hij(" ",I.lcZ(9,9,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),I.xp6(2),I.Q6J("ngIf",a.checked),I.xp6(1),I.Q6J("ngIf",n.checked),I.xp6(2),I.Q6J("ngModel",o.currentConfiguration.specialLoaPeriodExtendExpiredMembers),I.xp6(1),I.hij(" ",I.lcZ(15,11,"VO_MANAGEMENT.SETTINGS.EXPIRATION.EXTEND_EXPIRED_MEMBERS_CHECKBOX")," ")}}function Pe(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",1),I.TgZ(1,"div",2),I.TgZ(2,"h1",3),I.NdJ("click",function(){return I.CHM(i),I.MAs(6).toggle()}),I._uU(3),I.ALo(4,"translate"),I.qZA(),I.TgZ(5,"mat-slide-toggle",4,5),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.enabled=t}),I.qZA(),I.qZA(),I.TgZ(7,"div"),I.TgZ(8,"label",6),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"div",7),I.TgZ(12,"mat-radio-group",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.periodType=t}),I.TgZ(13,"mat-radio-button",9,10),I._uU(15),I.ALo(16,"translate"),I.qZA(),I.TgZ(17,"mat-radio-button",11,12),I._uU(19),I.ALo(20,"translate"),I.qZA(),I.qZA(),I.YNc(21,Oe,7,8,"div",13),I.YNc(22,Ce,10,10,"div",14),I.qZA(),I.TgZ(23,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotAllowLoasEnabled=t}),I.ALo(24,"translate"),I.TgZ(25,"mat-form-field"),I.TgZ(26,"mat-placeholder"),I._uU(27),I.ALo(28,"translate"),I.qZA(),I.TgZ(29,"mat-select",16),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotAllowLoas=t}),I.YNc(30,Le,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.TgZ(31,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotExtendLoasEnabled=t}),I.ALo(32,"translate"),I.TgZ(33,"mat-form-field"),I.TgZ(34,"mat-placeholder"),I._uU(35),I.ALo(36,"translate"),I.qZA(),I.TgZ(37,"mat-select",16),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.doNotExtendLoas=t}),I.YNc(38,Re,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.TgZ(39,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriodEnabled=t}),I.ALo(40,"translate"),I.TgZ(41,"div",18),I.TgZ(42,"mat-form-field",19),I.TgZ(43,"input",20),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriod=t}),I.ALo(44,"translate"),I.qZA(),I.qZA(),I.TgZ(45,"mat-form-field"),I.TgZ(46,"mat-label"),I._uU(47),I.ALo(48,"translate"),I.qZA(),I.TgZ(49,"mat-select",8),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.gracePeriodUnit=t}),I.YNc(50,Me,2,2,"mat-option",17),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(51,"app-settings-toggle-item",15),I.NdJ("modelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.specialLoaPeriodEnabled=t}),I.ALo(52,"translate"),I.TgZ(53,"div",7),I.TgZ(54,"div"),I.TgZ(55,"mat-form-field"),I.TgZ(56,"mat-label"),I._uU(57),I.ALo(58,"translate"),I.qZA(),I.TgZ(59,"mat-select",8,21),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().currentConfiguration.specialLoa=t}),I.YNc(61,De,2,2,"mat-option",17),I.qZA(),I.qZA(),I.YNc(62,we,16,13,"div",22),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(63,"div",23),I.ALo(64,"translate"),I.TgZ(65,"button",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().saveChanges()}),I._uU(66),I.ALo(67,"translate"),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.MAs(6),n=I.MAs(14),o=I.MAs(18),r=I.oxw();I.xp6(2),I.ekj("unselected-setting",!a.checked),I.xp6(1),I.hij(" ",I.lcZ(4,40,"VO_MANAGEMENT.SETTINGS.EXPIRATION.TITLE")," "),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.enabled),I.xp6(2),I.Q6J("@openClose",a.checked?"open":"closed"),I.xp6(2),I.Oqu(I.lcZ(10,42,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_LABEL")),I.xp6(3),I.Q6J("ngModel",r.currentConfiguration.periodType),I.xp6(3),I.hij(" ",I.lcZ(16,44,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_STATIC")," "),I.xp6(4),I.hij(" ",I.lcZ(20,46,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERIOD_TYPE_DYNAMIC")," "),I.xp6(2),I.Q6J("ngIf",n.checked),I.xp6(1),I.Q6J("ngIf",o.checked),I.xp6(1),I.Q6J("model",r.currentConfiguration.doNotAllowLoasEnabled)("title",I.lcZ(24,48,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_LABEL")),I.xp6(4),I.Oqu(I.lcZ(28,50,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_ALLOW_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.doNotAllowLoas),I.xp6(1),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("model",r.currentConfiguration.doNotExtendLoasEnabled)("title",I.lcZ(32,52,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_LABEL")),I.xp6(4),I.Oqu(I.lcZ(36,54,"VO_MANAGEMENT.SETTINGS.EXPIRATION.DONT_EXTEND_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.doNotExtendLoas),I.xp6(1),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("model",r.currentConfiguration.gracePeriodEnabled)("title",I.lcZ(40,56,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_PERIOD_LABEL")),I.xp6(4),I.s9C("pattern",r.dynamicAmountPattern),I.s9C("placeholder",I.lcZ(44,58,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_VALUE")),I.Q6J("ngModel",r.currentConfiguration.gracePeriod),I.xp6(4),I.Oqu(I.lcZ(48,60,"VO_MANAGEMENT.SETTINGS.EXPIRATION.GRACE_AMOUNT_TYPE")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.gracePeriodUnit),I.xp6(1),I.Q6J("ngForOf",r.amountOptions),I.xp6(1),I.Q6J("model",r.currentConfiguration.specialLoaPeriodEnabled)("title",I.lcZ(52,62,"VO_MANAGEMENT.SETTINGS.EXPIRATION.LOA_PERIOD_LABEL")),I.xp6(6),I.Oqu(I.lcZ(58,64,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SPECIAL_LOA_SELECT")),I.xp6(2),I.Q6J("ngModel",r.currentConfiguration.specialLoa),I.xp6(2),I.Q6J("ngForOf",r.loas),I.xp6(1),I.Q6J("ngIf",null!==r.currentConfiguration.specialLoa),I.xp6(1),I.s9C("matTooltip",I.lcZ(64,66,"VO_MANAGEMENT.SETTINGS.EXPIRATION.PERMISSION_DENIED_HINT")),I.Q6J("matTooltipDisabled",r.expirationAttribute.writable)("matTooltipPosition","above"),I.xp6(2),I.Q6J("disabled",!r.areChangesMade()||!r.expirationAttribute.writable),I.xp6(1),I.hij(" ",I.lcZ(67,68,"VO_MANAGEMENT.SETTINGS.EXPIRATION.SAVE")," ")}}var Ge=function(){var t=function(){function t(){n(this,t),this.saveAttribute=new I.vpe,this.loas=[0,1,2],this.datePattern="^(3[01]|[12][0-9]|0?[1-9])\\.(1[012]|0?[1-9])\\.$",this.dynamicAmountPattern="^[1-9]+$",this.amountOptions=[{value:"d",text:"Days"},{value:"m",text:"Months"},{value:"y",text:"Years"}]}return r(t,[{key:"ngOnInit",value:function(){var t=new Map;this.loas.forEach(function(e){return t.set(e,"")}),this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value),this.currentConfiguration=this.unParseAttrValue(this.expirationAttribute.value)}},{key:"ngOnChanges",value:function(t){t.expirationAttribute&&(this.initialConfiguration=this.unParseAttrValue(this.expirationAttribute.value))}},{key:"saveChanges",value:function(){this.saveAttribute.emit(this.parseExpirationRulesAttribute())}},{key:"areChangesMade",value:function(){var t=this.parseAttributeValueFromConfig(this.currentConfiguration),e=this.parseAttributeValueFromConfig(this.initialConfiguration);return null===e?null!==t:null===t||t.period!==e.period||t.gracePeriod!==e.gracePeriod||t.doNotExtendLoa!==e.doNotExtendLoa||t.doNotAllowLoa!==e.doNotAllowLoa||t.periodLoa!==e.periodLoa}},{key:"parseExpirationRulesAttribute",value:function(){return this.expirationAttribute.value=this.parseAttributeValueFromConfig(this.currentConfiguration),this.expirationAttribute}},{key:"parsePeriod",value:function(t){switch(t.periodType){case"dynamic":return this.parseDynamicPeriod(t);case"static":return this.parseStaticPeriod(t)}}},{key:"createInitConfiguration",value:function(){var t=new Map;return this.loas.forEach(function(e){return t.set(e,"")}),{enabled:!1,periodType:null,periodStatic:"",periodDynamic:"",periodDynamicUnit:"m",doNotAllowLoas:[],doNotAllowLoasEnabled:!1,doNotExtendLoas:[],doNotExtendLoasEnabled:!1,gracePeriodEnabled:!1,gracePeriod:null,gracePeriodUnit:null,specialLoaPeriodEnabled:!1,specialLoaPeriod:"",specialLoa:null,specialLoaPeriodType:null,specialLoaPeriodDynamic:"",specialLoaPeriodDynamicUnit:"m",specialLoaPeriodStatic:"",specialLoaPeriodExtendExpiredMembers:!1}}},{key:"unParseAttrValue",value:function(t){var e=this.createInitConfiguration();return null==t||(void 0!==t.period&&t.period.length>0&&(e=this.setPeriodValues(t,e)),void 0!==t.doNotAllowLoa&&t.doNotAllowLoa.length>0&&(e=this.setDoNotAllowLoasValues(t,e)),void 0!==t.doNotExtendLoa&&t.doNotExtendLoa.length>0&&(e=this.setDoNotExtendLoasValues(t,e)),void 0!==t.gracePeriod&&t.gracePeriod.length>0&&(e=this.setGracePeriodValues(t,e)),void 0!==t.periodLoa&&t.periodLoa.length>0&&(e=this.setSpecialLoaPeriodValues(t,e))),e}},{key:"setPeriodValues",value:function(t,e){if(e.enabled=!0,t.period.startsWith("+")){e.periodType="dynamic";var i=t.period.charAt(t.period.length-1);e.periodDynamic=t.period.substring(1,t.period.length-1),e.periodDynamicUnit=i}else e.periodType="static",e.periodStatic=t.period;return e}},{key:"setDoNotAllowLoasValues",value:function(t,e){var i=[];return t.doNotAllowLoa.split(",").forEach(function(t){return i.push(parseInt(t.trim(),10))}),e.doNotAllowLoas=i,i.length>0&&(e.doNotAllowLoasEnabled=!0),e}},{key:"setDoNotExtendLoasValues",value:function(t,e){var i=[];return t.doNotExtendLoa.split(",").forEach(function(t){return i.push(parseInt(t.trim(),10))}),e.doNotExtendLoas=i,i.length>0&&(e.doNotExtendLoasEnabled=!0),e}},{key:"setGracePeriodValues",value:function(t,e){e.gracePeriodEnabled=!0;var i=t.gracePeriod.charAt(t.gracePeriod.length-1);return e.gracePeriod=t.gracePeriod.substring(0,t.gracePeriod.length-1),e.gracePeriodUnit=i,e}},{key:"setSpecialLoaPeriodValues",value:function(t,e){e.specialLoa=parseInt(t.periodLoa.substring(0,t.periodLoa.indexOf("|")),10),e.specialLoaPeriodEnabled=!0;var i=t.periodLoa.substring(t.periodLoa.indexOf("|")+1,t.periodLoa.length);if(i.startsWith("+")){i.endsWith(".")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="dynamic";var a=i.charAt(i.length-1);e.specialLoaPeriodDynamic=i.substring(1,i.length-1),e.specialLoaPeriodDynamicUnit=a}else i.endsWith("..")&&(e.specialLoaPeriodExtendExpiredMembers=!0,i=i.substring(0,i.length-1)),e.specialLoaPeriodType="static",e.specialLoaPeriodStatic=i;return e}},{key:"parseDynamicPeriod",value:function(t){return"+"+t.periodDynamic+t.periodDynamicUnit}},{key:"parseStaticPeriod",value:function(t){return t.periodStatic}},{key:"parseDontAllowLoas",value:function(t){if(!t.doNotAllowLoasEnabled)return null;var e="";return t.doNotAllowLoas.forEach(function(t){return e+=t+","}),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}},{key:"parseDontExtendLoas",value:function(t){if(!t.doNotExtendLoasEnabled)return null;var e="";return t.doNotExtendLoas.forEach(function(t){return e+=t+","}),e.length>0&&(e=e.substring(0,e.length-1)),e.length>0?e:null}},{key:"parseGracePeriod",value:function(t){return t.gracePeriodEnabled?t.gracePeriod+t.gracePeriodUnit:null}},{key:"parseSpecialLoaPeriod",value:function(t){if(!t.specialLoaPeriodEnabled)return null;var e=t.specialLoa+"|";switch(t.specialLoaPeriodType){case"static":e+=this.parseSpecialLoaPeriodStatic(t);break;case"dynamic":e+=this.parseSpecialLoaPeriodDynamic(t)}return null!=e&&t.specialLoaPeriodExtendExpiredMembers&&(e+="."),e}},{key:"parseSpecialLoaPeriodStatic",value:function(t){return t.specialLoaPeriodStatic}},{key:"parseSpecialLoaPeriodDynamic",value:function(t){return"+"+t.specialLoaPeriodDynamic+t.specialLoaPeriodDynamicUnit}},{key:"parseAttributeValueFromConfig",value:function(t){if(!t.enabled)return null;var e=this.parsePeriod(t),i=this.parseDontAllowLoas(t),a=this.parseDontExtendLoas(t),n=this.parseGracePeriod(t),o=this.parseSpecialLoaPeriod(t),r={period:e};return null!==a&&(r.doNotExtendLoa=a),null!==i&&(r.doNotAllowLoa=i),null!==n&&(r.gracePeriod=n),null!==o&&(r.periodLoa=o),r}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-expiration-settings"]],inputs:{expirationAttribute:"expirationAttribute"},outputs:{saveAttribute:"saveAttribute"},features:[I.TTD],decls:1,vars:1,consts:[["class","card settings-card col-12 col-md-12 col-xl-6",4,"ngIf"],[1,"card","settings-card","col-12","col-md-12","col-xl-6"],[1,"d-flex","flex-row","align-items-baseline","justify-content-between"],[1,"settings-header",3,"click"],["color","primary",1,"ml-4",3,"ngModel","ngModelChange"],["mainToggle",""],[1,"setting-item","pt-2"],[1,"ml-1"],[3,"ngModel","ngModelChange"],["color","primary","value","static",1,"mr-3"],["staticPeriod",""],["color","primary","value","dynamic"],["dynamicPeriod",""],["class","form-container",4,"ngIf"],["class","d-flex flex-row",4,"ngIf"],[3,"model","title","modelChange"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],[1,"mr-2","amount-field"],["matInput","",3,"pattern","ngModel","placeholder","ngModelChange"],["specialLoaSelect",""],["class","mt-2",4,"ngIf"],[1,"ml-auto",3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["mat-flat-button","","color","primary",1,"ml-auto",3,"disabled","click"],[1,"form-container"],[1,"date-field"],[3,"value"],[1,"mt-2"],["loaStaticRadioButton",""],["loaDynamicRadioButton",""],["color","primary",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&I.YNc(0,Pe,68,70,"div",0),2&t&&I.Q6J("ngIf",e.currentConfiguration)},directives:[s.O5,Ae.Rr,Ie.JJ,Ie.On,Te.VQ,Te.U0,Ee,Ze.KE,Ze.UY,be.gD,s.sg,_e.Nt,Ie.Fj,Ie.c5,Ze.hX,_.gM,N.lW,Ze.bx,Se.ey,Ne.oG],pipes:[O.X$],styles:[".period-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:1.5rem}.amount-field[_ngcontent-%COMP%]{width:80px}.date-field[_ngcontent-%COMP%]{width:100%}.settings-header[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;font-size:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.settings-card[_ngcontent-%COMP%]{padding:.5rem 1.5rem}"],data:{animation:[p.BQ]}}),t}();function ke(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-expiration-settings",1),I.NdJ("saveAttribute",function(t){return I.CHM(i),I.oxw().saveExpirationAttribute(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("expirationAttribute",a.expirationAttribute)}}var Ye=function(){var t=function(){function t(e,i,a,o,r){var s=this;n(this,t),this.attributesManager=e,this.route=i,this.translate=a,this.notificator=o,this.apiRequest=r,this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(function(t){return s.successMessage=t}),this.translate.get("VO_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(function(t){return s.errorMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.loadSettings()})}},{key:"loadSettings",value:function(){var t=this;this.attributesManager.getVoAttributeByName(this.voId,m.r.VO_DEF_EXPIRATION_RULES).subscribe(function(e){t.expirationAttribute=e})}},{key:"saveExpirationAttribute",value:function(t){var e=this;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setVoAttribute({vo:this.voId,attribute:t}).subscribe(function(){e.loadSettings(),e.notificator.showSuccess(e.successMessage)},function(t){console.log(t),e.notificator.showRPCError(t.error,e.errorMessage)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.V6),I.Y36(h.F5))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&I.YNc(0,ke,1,1,"app-expiration-settings",0),2&t&&I.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[s.O5,Ge],styles:[""],data:{animation:[p.BQ]}}),t}(),Je=o(62284),Ve=o(489);function Fe(t,e){if(1&t&&I._UZ(0,"app-managers-page",1),2&t){var i=I.oxw();I.Q6J("complementaryObject",i.vo)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var Qe=function(){var t=function(){function t(e,i,a,o){n(this,t),this.dialog=e,this.voService=i,this.route=a,this.guiAuthResolver=o,this.availableRoles=[],this.selected="user",this.type="Vo",this.theme="vo-theme"}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Vo")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.uw),I.Y36(d.YF),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&I.YNc(0,Fe,1,4,"app-managers-page",0),2&t&&I.Q6J("ngIf",e.vo)},directives:[s.O5,Ve.s],styles:[""]}),t}();function ze(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function Be(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"textarea",17),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw(2).reason=t}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2);I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.RE_SEND_NOTIFICATION.REASON"),": "),I.xp6(3),I.Q6J("ngModel",a.reason)}}function je(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",7),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"mat-select",9),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().mailType=t}),I.TgZ(5,"mat-option",10),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-option",11),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"mat-option",12),I._uU(12),I.ALo(13,"translate"),I.qZA(),I.TgZ(14,"mat-option",13),I._uU(15),I.ALo(16,"translate"),I.qZA(),I.TgZ(17,"mat-option",14),I._uU(18),I.ALo(19,"translate"),I.qZA(),I.TgZ(20,"mat-option",15),I._uU(21),I.ALo(22,"translate"),I.qZA(),I.qZA(),I.qZA(),I.YNc(23,Be,5,4,"div",16),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.hij(" ",I.lcZ(2,9,"DIALOGS.RE_SEND_NOTIFICATION.SELECT"),": "),I.xp6(3),I.Q6J("value",a.mailType),I.xp6(2),I.Oqu(I.lcZ(7,11,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_USER")),I.xp6(3),I.Oqu(I.lcZ(10,13,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_CREATED_VO_ADMIN")),I.xp6(3),I.Oqu(I.lcZ(13,15,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.MAIL_VALIDATION")),I.xp6(3),I.Oqu(I.lcZ(16,17,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_APPROVED_USER")),I.xp6(3),I.Oqu(I.lcZ(19,19,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_REJECTED_USER")),I.xp6(3),I.Oqu(I.lcZ(22,21,"DIALOGS.RE_SEND_NOTIFICATION.NOTIFICATION_TYPE.APP_ERROR_VO_ADMIN")),I.xp6(2),I.Q6J("ngIf","APP_REJECTED_USER"===a.mailType)}}var He=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.translate=a,this.notificator=o,this.registrarManager=r,this.mailType="APP_CREATED_USER",this.reason="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,"APP_REJECTED_USER"===this.mailType?this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType,reason:this.reason}).subscribe(function(){t.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1}):this.registrarManager.sendMessage({appId:this.data.applicationId,mailType:this.mailType}).subscribe(function(){t.translate.get("DIALOGS.RE_SEND_NOTIFICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(O.sK),I.Y36(h.V6),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-re-send-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,ze,1,0,"mat-spinner",1),I.YNc(5,je,24,23,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Gre("",e.theme,"}"),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.RE_SEND_NOTIFICATION.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.RE_SEND_NOTIFICATION.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.RE_SEND_NOTIFICATION.SEND")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,be.gD,Se.ey,_e.Nt,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}();function Xe(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function $e(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",7),I._uU(1),I.ALo(2,"translate"),I.TgZ(3,"mat-form-field",8),I.TgZ(4,"textarea",9),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().reason=t}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.REJECT_APPLICATION.TEXT")," "),I.xp6(3),I.Q6J("ngModel",a.reason)}}var We=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.translate=a,this.notificator=o,this.registrarManager=r,this.reason="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.registrarManager.rejectApplication(this.data.applicationId,this.reason).subscribe(function(){t.translate.get("DIALOGS.REJECT_APPLICATION.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(O.sK),I.Y36(h.V6),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-reject-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Xe,1,0,"mat-spinner",1),I.YNc(5,$e,5,4,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.REJECT_APPLICATION.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.REJECT_APPLICATION.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.REJECT_APPLICATION.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,_e.Nt,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}();function Ke(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function ti(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.INVALID_EMAIL")))}function ei(t,e){if(1&t&&(I.TgZ(0,"mat-form-field"),I.TgZ(1,"label"),I._UZ(2,"input",9),I.qZA(),I.YNc(3,ti,3,3,"mat-error",8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Q6J("formControl",i.emailControl),I.xp6(1),I.Q6J("ngIf",i.emailControl.invalid)}}function ii(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.EMPTY_INPUT")))}function ai(t,e){if(1&t&&(I.TgZ(0,"mat-form-field"),I._UZ(1,"input",10),I.YNc(2,ii,3,3,"mat-error",8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Q6J("formControl",i.inputControl),I.xp6(1),I.Q6J("ngIf",i.inputControl.invalid)}}function ni(t,e){if(1&t&&(I.TgZ(0,"div",7),I.YNc(1,ei,4,2,"mat-form-field",8),I.YNc(2,ai,3,2,"mat-form-field",8),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf",null!==i.emailControl),I.xp6(1),I.Q6J("ngIf",null!==i.inputControl)}}var oi=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.notificator=a,this.translateService=o,this.registrarService=r,this.loading=!1,this.inputControl=null,this.emailControl=null}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.formItemData=this.data.formItemData,this.itemName=this.getLabel(this.formItemData.formItem),this.itemName.toLowerCase().includes("mail")?this.emailControl=new Ie.NI(this.formItemData.value,[Ie.kI.required,Ie.kI.email]):this.inputControl=new Ie.NI(this.formItemData.value,[Ie.kI.required])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.formItemData.value=null!==this.inputControl?this.inputControl.value:this.emailControl.value,this.registrarService.updateFormItemData({appId:this.data.applicationId,data:{id:this.formItemData.id,formItem:this.formItemData.formItem,shortname:this.formItemData.shortname,value:this.formItemData.value,assuranceLevel:this.formItemData.assuranceLevel,prefilledValue:this.formItemData.prefilledValue}}).subscribe(function(){t.notificator.showSuccess(t.translateService.instant("DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUCCESS")),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"getLabel",value:function(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(h.V6),I.Y36(O.sK),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-edit-application-form-item-data-dialog"]],decls:13,vars:16,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"],[4,"ngIf"],["matInput","","required","",3,"formControl"],["type","text","matInput","","required","",3,"formControl"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Ke,1,0,"mat-spinner",1),I.YNc(5,ni,3,2,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.AsE("",I.lcZ(3,10,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.TITLE")," ",e.itemName,""),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,12,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading||null!==e.inputControl&&e.inputControl.invalid||null!==e.emailControl&&e.emailControl.invalid),I.xp6(1),I.hij(" ",I.lcZ(12,14,"DIALOGS.EDIT_APPLICATION_FORM_ITEM_DATA.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,Ze.KE,_e.Nt,Ie.Fj,Ie.Q7,Ie.JJ,Ie.oH,Ze.TO],pipes:[O.X$],styles:[""]}),t}(),ri=o(27679),si=o(84650);function li(t,e){if(1&t&&(I.TgZ(0,"span",5),I._uU(1),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.hij(" #",i.application.id," ")}}function ui(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function ci(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",17),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).verifyApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY")," "))}function pi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",17),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).approveApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE")," "))}function di(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",18),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).rejectApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECT")," "))}function gi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",18),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).deleteApplication()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE")," "))}function hi(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",19),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).resendNotification()}),I.TgZ(1,"i",14),I._uU(2," mail_outline "),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SEND_NOTIFICATION")," "))}function mi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_VO")),I.xp6(2),I.hij(": ",i.application.vo.name," ")}}function fi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.TgZ(5,"span",10),I._uU(6),I.ALo(7,"translate"),I.qZA(),I._uU(8),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_FOR_GROUP")),I.xp6(2),I.hij(": ",i.application.group.name," "),I.xp6(2),I.Oqu(I.lcZ(7,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPLICATION_IN_VO")),I.xp6(2),I.hij(": ",i.application.vo.name," ")}}function Ai(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"arrow_right_alt"),I.qZA(),I._uU(3," Initial "),I.qZA())}function Ii(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"restore"),I.qZA(),I._uU(3," Extension "),I.qZA())}function Ti(t,e){1&t&&(I.TgZ(0,"span"),I.TgZ(1,"mat-icon",20),I._uU(2,"nat"),I.qZA(),I._uU(3," Embedded "),I.qZA())}function vi(t,e){if(1&t&&(I.TgZ(0,"div",21),I.TgZ(1,"mat-card-title"),I.TgZ(2,"i",22),I._uU(3,"clear"),I.qZA(),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"div"),I.TgZ(7,"span",10),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._uU(10),I.ALo(11,"date"),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(4),I.AsE(" ",I.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.REJECTED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),I.xp6(4),I.Oqu(I.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Ei(t,e){if(1&t&&(I.TgZ(0,"div",21),I.TgZ(1,"mat-card-title"),I.TgZ(2,"i",23),I._uU(3,"done"),I.qZA(),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.TgZ(6,"div"),I.TgZ(7,"span",10),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._uU(10),I.ALo(11,"date"),I.qZA(),I.qZA()),2&t){var i=I.oxw(2);I.xp6(4),I.AsE(" ",I.lcZ(5,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVED_BY"),": ",i.getModifiedAtName(i.application.modifiedBy),""),I.xp6(4),I.Oqu(I.lcZ(9,6,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(11,8,i.application.modifiedAt,"d.M.y H:mm:ss"),"")}}function Zi(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"span",10),I._uU(2),I.ALo(3,"translate"),I.qZA(),I._uU(4),I.qZA()),2&t){var i=I.oxw(2);I.xp6(2),I.Oqu(I.lcZ(3,2,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.MAIL")),I.xp6(2),I.hij(": ",i.userMail,"")}}function bi(t,e){1&t&&I._UZ(0,"th",32)}function _i(t,e){if(1&t&&(I.TgZ(0,"td",33),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3);I.xp6(1),I.AsE("",a.getLabel(i.formItem),"",i.formItem.type.startsWith("FROM_FEDERATION")?"*":"","")}}function Si(t,e){1&t&&I._UZ(0,"th",32)}function Ni(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",36),I.NdJ("click",function(){I.CHM(i);var t=I.oxw().$implicit;return I.oxw(3).editApplicationData(t)}),I.TgZ(1,"mat-icon"),I._uU(2,"edit"),I.qZA(),I.qZA()}}function Oi(t,e){if(1&t&&(I.TgZ(0,"td",34),I._uU(1),I.YNc(2,Ni,3,0,"button",35),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3);I.xp6(1),I.hij(" ",i.value," "),I.xp6(1),I.Q6J("ngIf",!i.formItem.type.startsWith("FROM_FEDERATION")&&("NEW"===a.application.state||"VERIFIED"===a.application.state)&&"EMBEDDED_GROUP_APPLICATION"!==i.formItem.type)}}function xi(t,e){1&t&&I._UZ(0,"tr",37)}function Ci(t,e){1&t&&I._UZ(0,"tr",38)}function Li(t,e){if(1&t&&(I.TgZ(0,"table",24),I.ynx(1,25),I.YNc(2,bi,1,0,"th",26),I.YNc(3,_i,2,2,"td",27),I.BQk(),I.ynx(4,28),I.YNc(5,Si,1,0,"th",26),I.YNc(6,Oi,3,2,"td",29),I.BQk(),I.YNc(7,xi,1,0,"tr",30),I.YNc(8,Ci,1,0,"tr",31),I.qZA()),2&t){var i=I.oxw(2);I.Q6J("dataSource",i.dataSource),I.xp6(7),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}function Ri(t,e){1&t&&(I.TgZ(0,"div",39),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij("*",I.lcZ(2,1,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VALUE_BY_EXTERNALS"),""))}function Mi(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,ci,3,3,"button",7),I.YNc(2,pi,3,3,"button",7),I.YNc(3,di,3,3,"button",8),I.YNc(4,gi,3,3,"button",8),I.YNc(5,hi,5,3,"button",9),I.YNc(6,mi,5,4,"div",4),I.YNc(7,fi,9,8,"div",4),I.TgZ(8,"div"),I.TgZ(9,"span",10),I._uU(10),I.ALo(11,"translate"),I.qZA(),I._uU(12,": "),I._UZ(13,"span",11),I.ALo(14,"applicationState"),I.qZA(),I.TgZ(15,"div"),I.TgZ(16,"span",10),I._uU(17),I.ALo(18,"translate"),I.qZA(),I._uU(19,": "),I.YNc(20,Ai,4,0,"span",4),I.YNc(21,Ii,4,0,"span",4),I.YNc(22,Ti,4,0,"span",4),I.qZA(),I.YNc(23,vi,12,11,"div",12),I.YNc(24,Ei,12,11,"div",12),I.TgZ(25,"div",13),I.TgZ(26,"mat-card-title"),I.TgZ(27,"i",14),I._uU(28,"redo"),I.qZA(),I._uU(29),I.ALo(30,"translate"),I.ALo(31,"userFullName"),I.qZA(),I.YNc(32,Zi,5,4,"div",4),I.TgZ(33,"div"),I.TgZ(34,"span",10),I._uU(35),I.ALo(36,"translate"),I.qZA(),I._uU(37),I.qZA(),I.TgZ(38,"div"),I.TgZ(39,"span",10),I._uU(40),I.ALo(41,"translate"),I.qZA(),I._uU(42),I.qZA(),I.TgZ(43,"div"),I.TgZ(44,"span",10),I._uU(45),I.ALo(46,"translate"),I.qZA(),I._uU(47),I.ALo(48,"date"),I.qZA(),I.YNc(49,Li,9,3,"table",15),I.YNc(50,Ri,3,3,"div",16),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("ngIf","NEW"===i.application.state&&i.verifyAuth),I.xp6(1),I.Q6J("ngIf",("VERIFIED"===i.application.state||"NEW"===i.application.state)&&i.approveAuth),I.xp6(1),I.Q6J("ngIf",("VERIFIED"===i.application.state||"NEW"===i.application.state)&&i.rejectAuth),I.xp6(1),I.Q6J("ngIf",("REJECTED"===i.application.state||"NEW"===i.application.state)&&i.deleteAuth),I.xp6(1),I.Q6J("ngIf",i.resendAuth),I.xp6(1),I.Q6J("ngIf",!i.application.group),I.xp6(1),I.Q6J("ngIf",i.application.group),I.xp6(3),I.Oqu(I.lcZ(11,26,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.STATE")),I.xp6(3),I.Q6J("outerHTML",I.lcZ(14,28,i.application.state),I.oJD),I.xp6(4),I.Oqu(I.lcZ(18,30,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TYPE")),I.xp6(3),I.Q6J("ngIf","INITIAL"===i.application.type),I.xp6(1),I.Q6J("ngIf","EXTENSION"===i.application.type),I.xp6(1),I.Q6J("ngIf","EMBEDDED"===i.application.type),I.xp6(1),I.Q6J("ngIf","REJECTED"===i.application.state),I.xp6(1),I.Q6J("ngIf","APPROVED"===i.application.state),I.xp6(5),I.AsE(" ",I.lcZ(30,32,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.SUBMITTED_BY"),": ",null===i.application.user?i.submittedBy():I.lcZ(31,34,i.application.user),""),I.xp6(3),I.Q6J("ngIf",i.userMail),I.xp6(3),I.Oqu(I.lcZ(36,36,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.EXT_SRC")),I.xp6(2),I.hij(": ",i.application.extSourceName,""),I.xp6(3),I.Oqu(I.lcZ(41,38,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.LOA")),I.xp6(2),I.hij(": ",i.application.extSourceLoa,""),I.xp6(3),I.Oqu(I.lcZ(46,40,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DATE")),I.xp6(2),I.hij(": ",I.xi3(48,42,i.application.createdAt,"d.M.y H:mm:ss"),""),I.xp6(2),I.Q6J("ngIf",0!==i.userData.length),I.xp6(1),I.Q6J("ngIf",0!==i.userData.length)}}var Di=function(){var t=function(){function t(e,i,a,o,r,s,l,u){n(this,t),this.registrarManager=e,this.dialog=i,this.translate=a,this.route=o,this.notificator=r,this.router=s,this.authResolver=l,this.usersService=u,this.userData=[],this.displayedColumns=["label","value"],this.loading=!0}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.params.subscribe(function(e){t.route.parent.params.subscribe(function(i){t.dialogTheme=i.groupId?"group-theme":i.memberId?"member-theme":"vo-theme",t.registrarManager.getApplicationById(e.applicationId).subscribe(function(e){t.application=e,"EMBEDDED"===t.application.type&&t.application.user?t.usersService.getRichUserWithAttributes(t.application.user.id).subscribe(function(e){var i,a=e.userAttributes.find(function(t){return"preferredMail"===t.friendlyName});t.userMail=null===(i=null==a?void 0:a.value)||void 0===i?void 0:i.toString(),t.setAuthRights(),t.loading=!1}):t.registrarManager.getApplicationDataById(t.application.id).subscribe(function(e){t.userData=e,t.dataSource=new ut.by(t.userData),t.setAuthRights(),t.loading=!1})})})})}},{key:"setAuthRights",value:function(){"group-theme"===this.dialogTheme?(this.verifyAuth=this.authResolver.isAuthorized("group-verifyApplication_int_policy",[this.application.group]),this.approveAuth=this.authResolver.isAuthorized("group-approveApplicationInternal_int_policy",[this.application.group]),this.rejectAuth=this.authResolver.isAuthorized("group-rejectApplication_int_String_policy",[this.application.group]),this.deleteAuth=this.authResolver.isAuthorized("group-deleteApplication_Application_policy",[this.application.group]),this.resendAuth=this.authResolver.isAuthorized("group-sendMessage_Application_MailType_String_policy",[this.application.group])):(this.verifyAuth=this.authResolver.isAuthorized("vo-verifyApplication_int_policy",[this.application.vo]),this.approveAuth=this.authResolver.isAuthorized("vo-approveApplicationInternal_int_policy",[this.application.vo]),this.rejectAuth=this.authResolver.isAuthorized("vo-rejectApplication_int_String_policy",[this.application.vo]),this.deleteAuth=this.authResolver.isAuthorized("vo-deleteApplication_Application_policy",[this.application.vo]),this.resendAuth=this.authResolver.isAuthorized("vo-sendMessage_Application_MailType_String_policy",[this.application.vo]))}},{key:"getLabel",value:function(t){return null!==t.i18n.en.label&&0!==t.i18n.en.label.length?t.i18n.en.label:t.shortname}},{key:"submittedBy",value:function(){return this.application.createdBy.slice(this.application.createdBy.lastIndexOf("=")+1,this.application.createdBy.length)}},{key:"getModifiedAtName",value:function(t){var e=t.lastIndexOf("/CN=");if(-1!==e){var i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}},{key:"resendNotification",value:function(){var t=(0,g.kZ)();t.width="500px",t.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(He,t)}},{key:"deleteApplication",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={items:[this.application.id],title:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_TITLE",description:"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_APPLICATION_DESCRIPTION",theme:"vo-theme"},this.dialog.open(f.Tf,e).afterClosed().subscribe(function(e){e&&t.registrarManager.deleteApplication(t.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.DELETE_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e),t.router.navigateByUrl(t.router.url.substring(0,t.router.url.lastIndexOf("/")))})})})}},{key:"rejectApplication",value:function(){var t=this,e=(0,g.kZ)();e.width="500px",e.data={applicationId:this.application.id,theme:this.dialogTheme},this.dialog.open(We,e).afterClosed().subscribe(function(){t.loading=!0,t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1},function(){return t.loading=!1})})}},{key:"approveApplication",value:function(){var t=this;this.loading=!0,this.registrarManager.approveApplication(this.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.APPROVE_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e)}),t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"verifyApplication",value:function(){var t=this;this.registrarManager.verifyApplication(this.application.id).subscribe(function(){t.translate.get("VO_DETAIL.APPLICATION.APPLICATION_DETAIL.VERIFY_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e)}),t.loading=!0,t.registrarManager.getApplicationById(t.application.id).subscribe(function(e){t.application=e,t.loading=!1})})}},{key:"editApplicationData",value:function(t){var e=(0,g.kZ)();e.width="600px",e.data={theme:this.dialogTheme,applicationId:this.application.id,formItemData:t},this.dialog.open(oi,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.tk),I.Y36(v.uw),I.Y36(O.sK),I.Y36(l.gz),I.Y36(h.V6),I.Y36(l.F0),I.Y36(h.x4),I.Y36(d.Fv))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-detail"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:7,vars:6,consts:[[1,"page-subtitle"],["class","text-muted",4,"ngIf"],[1,"mb-4"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"text-muted"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-2 mb-2",3,"click",4,"ngIf"],[1,"font-weight-bold"],[3,"outerHTML"],["class","card p-3 mt-2",4,"ngIf"],[1,"card","p-4","mt-2"],[1,"material-icons"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["class","font-italic",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-stroked-button","",1,"mr-2","mb-2",3,"click"],[1,"align-text-top"],[1,"card","p-3","mt-2"],[1,"material-icons","red"],[1,"material-icons","green"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","label"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","font-weight-bold",4,"matCellDef"],["matColumnDef","value"],["class","word-break-all","mat-cell","",4,"matCellDef"],["mat-header-row","","class","h-50",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell","",1,"word-break-all"],["mat-icon-button","","aria-label","Edit Application data",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Edit Application data",3,"click"],["mat-header-row","",1,"h-50"],["mat-row",""],[1,"font-italic"]],template:function(t,e){1&t&&(I.TgZ(0,"h2",0),I._uU(1),I.ALo(2,"translate"),I.YNc(3,li,2,1,"span",1),I.qZA(),I._UZ(4,"mat-divider",2),I.YNc(5,ui,1,0,"mat-spinner",3),I.YNc(6,Mi,51,45,"div",4)),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,4,"VO_DETAIL.APPLICATION.APPLICATION_DETAIL.TITLE")," "),I.xp6(2),I.Q6J("ngIf",!!e.application),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,ri.d,Z.$g,dt.n5,N.lW,b.Hw,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$,si.h,Ut.d,s.uU],styles:[""]}),t}(),yi=o(11930),Ui=o(7433),qi=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:0,template:function(t,e){1&t&&I._UZ(0,"app-animated-router-outlet")},directives:[S.A],styles:[""],data:{animation:[p.Ji]}}),t}(),wi=o(55109),Pi=o(69012);function Gi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"GROUP_DETAIL.ENTITY")," ")}function ki(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",4),2&t){var i=I.oxw();I.Q6J("entity","group")("entityId",i.groupId)}}function Yi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",I.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function Ji(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",5),2&t){var i=I.oxw(2);I.Q6J("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","member")}}function Vi(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Yi,3,6,"ng-template",1),I.YNc(2,Ji,1,3,"ng-template",2),I.qZA())}function Fi(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"GROUP_DETAIL.ENTITY")," - ",I.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function Qi(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",5),2&t){var i=I.oxw(2);I.Q6J("firstEntity","group")("firstEntityId",i.groupId)("secondEntity","resource")}}function zi(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Fi,3,6,"ng-template",1),I.YNc(2,Qi,1,3,"ng-template",2),I.qZA())}var Bi=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.groupManager=i,this.authResolver=a}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.groupId=e.groupId,t.groupManager.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.groupResourceAttAuth=t.authResolver.isAuthorized("getAssignedResources_Group_policy",[t.group]),t.groupMemberAttAuth=t.authResolver.isAuthorized("getCompleteRichMembers_Group_List_List_List_boolean_policy",[t.group])})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.ff),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-tab-group"),I.TgZ(5,"mat-tab"),I.YNc(6,Gi,2,3,"ng-template",1),I.YNc(7,ki,1,2,"ng-template",2),I.qZA(),I.YNc(8,Vi,3,0,"mat-tab",3),I.YNc(9,zi,3,0,"mat-tab",3),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"GROUP_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(6),I.Q6J("ngIf",e.groupMemberAttAuth),I.xp6(1),I.Q6J("ngIf",e.groupResourceAttAuth))},directives:[wi.SP,wi.uX,wi.uD,wi.Vc,s.O5,de.t,Pi.Y],pipes:[O.X$],styles:[""]}),t}();function ji(t,e){1&t&&I._UZ(0,"mat-spinner",2)}function Hi(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",3),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("items",i.items)("size","small")}}var Xi=function(){var t=function(){function t(e,i,a,o,r,s,l,u,c){n(this,t),this.sideMenuService=e,this.voService=i,this.groupService=a,this.route=o,this.router=r,this.guiAuthResolver=s,this.apiRequest=l,this.attributesManager=u,this.notificator=c,this.items=[],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){var i=e.voId;t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e,t.voService.getVoById(i).subscribe(function(e){t.vo=e,t.initItems(),t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})})}},{key:"initItems",value:function(){var t=this;this.items=[],this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(this.group.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){t.items.push({cssIcon:"perun-group",url:"/organizations/".concat(t.vo.id,"/groups/").concat(t.group.id,"/settings/expiration"),label:"MENU_ITEMS.GROUP.EXPIRATION",style:"group-btn"})},function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)}),this.guiAuthResolver.isManagerPagePrivileged(this.group)&&this.items.push({cssIcon:"perun-manager",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/managers"),label:"MENU_ITEMS.GROUP.MANAGERS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-application-form",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/applicationForm"),label:"MENU_ITEMS.GROUP.APPLICATION_FORM",style:"group-btn"}),this.guiAuthResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[this.group])&&this.items.push({cssIcon:"perun-notification",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/notifications"),label:"MENU_ITEMS.GROUP.NOTIFICATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[this.group])&&this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/relations"),label:"MENU_ITEMS.GROUP.RELATIONS",style:"group-btn"}),this.guiAuthResolver.isAuthorized("getGroupExtSources_Group_policy",[this.group])&&this.items.push({cssIcon:"perun-external-sources",url:"/organizations/".concat(this.vo.id,"/groups/").concat(this.group.id,"/settings/extsources"),label:"MENU_ITEMS.GROUP.EXTSOURCES",style:"group-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(d.ff),I.Y36(l.gz),I.Y36(l.F0),I.Y36(h.x4),I.Y36(h.F5),I.Y36(d.H8),I.Y36(h.V6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(t,e){1&t&&(I.YNc(0,ji,1,0,"mat-spinner",0),I.YNc(1,Hi,2,2,"div",1)),2&t&&(I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,H.L],styles:[""]}),t}(),$i=o(14527);function Wi(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function Ki(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",10),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).switchToInitial()}),I.TgZ(1,"i",11),I._uU(2,"arrow_right_alt"),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_INITIAL")," "))}function ta(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",10),I.NdJ("click",function(){return I.CHM(i),I.oxw(2).switchToExtension()}),I.TgZ(1,"i",11),I._uU(2,"cached"),I.qZA(),I._uU(3),I.ALo(4,"translate"),I.qZA()}2&t&&(I.xp6(3),I.hij(" ",I.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.SWITCH_EXTENSION")," "))}function ea(t,e){if(1&t&&(I.TgZ(0,"mat-option",12),I._uU(1),I.ALo(2,"translate"),I.ALo(3,"uppercase"),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",I.lcZ(2,2,I.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function ia(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function aa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function na(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",19),I.qZA(),I.qZA(),I.TgZ(6,"div",20),I.YNc(7,ia,2,1,"mat-icon",21),I.YNc(8,aa,2,1,"mat-icon",21),I.TgZ(9,"span",22),I._uU(10),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function oa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ra(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function sa(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",24),I.qZA(),I.qZA(),I.TgZ(6,"div",20),I.YNc(7,oa,2,1,"mat-icon",21),I.YNc(8,ra,2,1,"mat-icon",21),I.TgZ(9,"span",22),I._uU(10),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(4),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function la(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ua(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ca(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I._UZ(5,"input",25),I._UZ(6,"br"),I._UZ(7,"input",19),I.qZA(),I.qZA(),I.TgZ(8,"div",20),I.YNc(9,la,2,1,"mat-icon",21),I.YNc(10,ua,2,1,"mat-icon",21),I.TgZ(11,"span",22),I._uU(12),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function pa(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"input",27),I._uU(2),I._UZ(3,"br"),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3).$implicit;I.xp6(1),I.Q6J("disabled","ALWAYS"===a.disabled),I.xp6(1),I.hij(" ",i,"")}}function da(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function ga(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ha(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"form",18),I.YNc(5,pa,4,2,"div",9),I._UZ(6,"input",26),I.ALo(7,"translate"),I.qZA(),I.qZA(),I.TgZ(8,"div",20),I.YNc(9,da,2,1,"mat-icon",21),I.YNc(10,ga,2,1,"mat-icon",21),I.TgZ(11,"span",22),I._uU(12),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(1),I.s9C("value",I.lcZ(7,7,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION")),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function ma(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"span",28),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("innerHTML",a.getLocalizedLabel(i),I.oJD)}}function fa(t,e){if(1&t&&(I.TgZ(0,"option"),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Oqu(i)}}function Aa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ia(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Ta(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",29),I.YNc(6,fa,2,1,"option",9),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"div",20),I.YNc(8,Aa,2,1,"mat-icon",21),I.YNc(9,Ia,2,1,"mat-icon",21),I.TgZ(10,"span",22),I._uU(11),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function va(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ea(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Za(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I._UZ(4,"textarea",30),I.qZA(),I.TgZ(5,"div",20),I.YNc(6,va,2,1,"mat-icon",21),I.YNc(7,Ea,2,1,"mat-icon",21),I.TgZ(8,"span",22),I._uU(9),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function ba(t,e){if(1&t&&(I.TgZ(0,"option",35),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.Oqu(i)}}function _a(t,e){1&t&&(I.TgZ(0,"div",36),I.TgZ(1,"form"),I._UZ(2,"input",37),I.qZA(),I.qZA())}function Sa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Na(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Oa(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",31),I.NdJ("ngModelChange",function(t){I.CHM(i);var e=I.oxw(2).$implicit;return I.oxw(2).mapForCombobox[e.id]=t}),I.TgZ(6,"option",32),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.YNc(9,ba,2,1,"option",33),I.qZA(),I.YNc(10,_a,3,0,"div",34),I.qZA(),I.qZA(),I.TgZ(11,"div",20),I.YNc(12,Sa,2,1,"mat-icon",21),I.YNc(13,Na,2,1,"mat-icon",21),I.TgZ(14,"span",22),I._uU(15),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw(2).$implicit,n=I.oxw(2);I.xp6(3),I.Oqu(n.getLocalizedLabel(a)),I.xp6(2),I.Q6J("ngModel",n.mapForCombobox[a.id])("disabled","ALWAYS"===a.disabled),I.xp6(2),I.Oqu(I.lcZ(8,9,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),I.xp6(2),I.Q6J("ngForOf",n.getLocalizedOptions(a)),I.xp6(1),I.Q6J("ngIf","true"===n.mapForCombobox[a.id]),I.xp6(2),I.Q6J("ngIf","NEVER"!==a.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==a.hidden),I.xp6(2),I.Oqu(n.getLocalizedHint(a))}}function xa(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"input",38),I._uU(2),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(3).$implicit;I.xp6(1),I.Q6J("disabled","ALWAYS"===a.disabled),I.xp6(1),I.hij(" ",i," ")}}function Ca(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function La(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Ra(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"form",36),I.YNc(6,xa,3,2,"div",9),I.qZA(),I.qZA(),I.qZA(),I.TgZ(7,"div",20),I.YNc(8,Ca,2,1,"mat-icon",21),I.YNc(9,La,2,1,"mat-icon",21),I.TgZ(10,"span",22),I._uU(11),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(3),I.Q6J("ngForOf",a.getLocalizedOptions(i)),I.xp6(2),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Ma(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Da(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ya(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"form",36),I._UZ(6,"input",38),I._uU(7," example group1 "),I._UZ(8,"br"),I._UZ(9,"input",38),I._uU(10," example group2 "),I._UZ(11,"br"),I._UZ(12,"input",38),I._uU(13," example group3 "),I.qZA(),I.qZA(),I.qZA(),I.TgZ(14,"div",20),I.YNc(15,Ma,2,1,"mat-icon",21),I.YNc(16,Da,2,1,"mat-icon",21),I.TgZ(17,"span",22),I._uU(18),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(3),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Ua(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function qa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function wa(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"button",39),I._uU(2),I.qZA(),I.YNc(3,Ua,2,1,"mat-icon",40),I.YNc(4,qa,2,1,"mat-icon",40),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden)}}function Pa(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ga(t,e){if(1&t&&(I.TgZ(0,"mat-icon",41),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function ka(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"button",39),I._uU(2),I.qZA(),I.YNc(3,Pa,2,1,"mat-icon",40),I.YNc(4,Ga,2,1,"mat-icon",40),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(1),I.Oqu(a.getLocalizedLabel(i)),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden)}}function Ya(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"lock"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.disabledTooltip(i))}}function Ja(t,e){if(1&t&&(I.TgZ(0,"mat-icon",23),I._uU(1,"visibility_off"),I.qZA()),2&t){var i=I.oxw(3).$implicit,a=I.oxw(2);I.Q6J("matTooltip",a.hiddenTooltip(i))}}function Va(t,e){if(1&t&&(I.TgZ(0,"div",16),I.TgZ(1,"div",17),I.TgZ(2,"span",18),I._uU(3),I.qZA(),I.TgZ(4,"div",18),I.TgZ(5,"select",42),I.TgZ(6,"option",43),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.TgZ(9,"option",44),I._uU(10,"(GMT -12:00) Eniwetok, Kwajalein"),I.qZA(),I.TgZ(11,"option",45),I._uU(12,"(GMT -11:00) Midway Island, Samoa"),I.qZA(),I.TgZ(13,"option",46),I._uU(14,"(GMT -10:00) Hawaii"),I.qZA(),I.TgZ(15,"option",47),I._uU(16,"(GMT -9:30) Taiohae"),I.qZA(),I.TgZ(17,"option",48),I._uU(18,"(GMT -9:00) Alaska"),I.qZA(),I.TgZ(19,"option",49),I._uU(20,"(GMT -8:00) Pacific Time (US & Canada)"),I.qZA(),I.TgZ(21,"option",50),I._uU(22,"(GMT -7:00) Mountain Time (US & Canada)"),I.qZA(),I.TgZ(23,"option",51),I._uU(24,"(GMT -6:00) Central Time (US & Canada), Mexico City"),I.qZA(),I.TgZ(25,"option",52),I._uU(26,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),I.qZA(),I.TgZ(27,"option",53),I._uU(28,"(GMT -4:30) Caracas"),I.qZA(),I.TgZ(29,"option",54),I._uU(30,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),I.qZA(),I.TgZ(31,"option",55),I._uU(32,"(GMT -3:30) Newfoundland"),I.qZA(),I.TgZ(33,"option",56),I._uU(34,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),I.qZA(),I.TgZ(35,"option",57),I._uU(36,"(GMT -2:00) Mid-Atlantic"),I.qZA(),I.TgZ(37,"option",58),I._uU(38,"(GMT -1:00) Azores, Cape Verde Islands"),I.qZA(),I.TgZ(39,"option",59),I._uU(40,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),I.qZA(),I.TgZ(41,"option",60),I._uU(42,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),I.qZA(),I.TgZ(43,"option",61),I._uU(44,"(GMT +2:00) Kaliningrad, South Africa"),I.qZA(),I.TgZ(45,"option",62),I._uU(46,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),I.qZA(),I.TgZ(47,"option",63),I._uU(48,"(GMT +3:30) Tehran"),I.qZA(),I.TgZ(49,"option",64),I._uU(50,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),I.qZA(),I.TgZ(51,"option",65),I._uU(52,"(GMT +4:30) Kabul"),I.qZA(),I.TgZ(53,"option",66),I._uU(54,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),I.qZA(),I.TgZ(55,"option",67),I._uU(56,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),I.qZA(),I.TgZ(57,"option",68),I._uU(58,"(GMT +5:45) Kathmandu, Pokhara"),I.qZA(),I.TgZ(59,"option",69),I._uU(60,"(GMT +6:00) Almaty, Dhaka, Colombo"),I.qZA(),I.TgZ(61,"option",70),I._uU(62,"(GMT +6:30) Yangon, Mandalay"),I.qZA(),I.TgZ(63,"option",71),I._uU(64,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),I.qZA(),I.TgZ(65,"option",72),I._uU(66,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),I.qZA(),I.TgZ(67,"option",73),I._uU(68,"(GMT +8:45) Eucla"),I.qZA(),I.TgZ(69,"option",74),I._uU(70,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),I.qZA(),I.TgZ(71,"option",75),I._uU(72,"(GMT +9:30) Adelaide, Darwin"),I.qZA(),I.TgZ(73,"option",76),I._uU(74,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),I.qZA(),I.TgZ(75,"option",77),I._uU(76,"(GMT +10:30) Lord Howe Island"),I.qZA(),I.TgZ(77,"option",78),I._uU(78,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),I.qZA(),I.TgZ(79,"option",79),I._uU(80,"(GMT +11:30) Norfolk Island"),I.qZA(),I.TgZ(81,"option",80),I._uU(82,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),I.qZA(),I.TgZ(83,"option",81),I._uU(84,"(GMT +12:45) Chatham Islands"),I.qZA(),I.TgZ(85,"option",82),I._uU(86,"(GMT +13:00) Apia, Nukualofa"),I.qZA(),I.TgZ(87,"option",83),I._uU(88,"(GMT +14:00) Line Islands, Tokelau"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(89,"div",20),I.YNc(90,Ya,2,1,"mat-icon",21),I.YNc(91,Ja,2,1,"mat-icon",21),I.TgZ(92,"span",22),I._uU(93),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.oxw(2).$implicit,a=I.oxw(2);I.xp6(3),I.Oqu(a.getLocalizedLabel(i)),I.xp6(2),I.Q6J("disabled","ALWAYS"===i.disabled),I.xp6(2),I.hij(" ",I.lcZ(8,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "),I.xp6(83),I.Q6J("ngIf","NEVER"!==i.disabled),I.xp6(1),I.Q6J("ngIf","NEVER"!==i.hidden),I.xp6(2),I.Oqu(a.getLocalizedHint(i))}}function Fa(t,e){if(1&t&&(I.TgZ(0,"div",14),I.YNc(1,na,11,5,"div",15),I.YNc(2,sa,11,4,"div",15),I.YNc(3,ca,13,6,"div",15),I.YNc(4,ha,13,9,"div",15),I.YNc(5,ma,2,1,"div",2),I.YNc(6,Ta,12,6,"div",15),I.YNc(7,Za,10,5,"div",15),I.YNc(8,Oa,16,11,"div",15),I.YNc(9,Ra,12,5,"div",15),I.YNc(10,ya,19,7,"div",15),I.YNc(11,wa,5,4,"div",15),I.YNc(12,ka,5,4,"div",2),I.YNc(13,Va,94,8,"div",15),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.Q6J("ngIf",("TEXTFIELD"===i.type||"VALIDATED_EMAIL"===i.type||"USERNAME"===i.type)&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","FROM_FEDERATION_SHOW"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","PASSWORD"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","RADIO"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf",("HEADING"===i.type||"HTML_COMMENT"===i.type)&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","SELECTIONBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","TEXTAREA"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","COMBOBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","CHECKBOX"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===i.type&&"ALWAYS"!==i.hidden),I.xp6(1),I.Q6J("ngIf","TIMEZONE"===i.type&&"ALWAYS"!==i.hidden)}}function Qa(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,Fa,14,13,"div",13),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.Q6J("ngIf",a.isValid(i))}}function za(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"div",4),I.YNc(2,Ki,5,3,"button",5),I.YNc(3,ta,5,3,"button",5),I.TgZ(4,"mat-form-field"),I.TgZ(5,"mat-label"),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.TgZ(8,"mat-select",6),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().currentLanguage=t}),I.YNc(9,ea,4,6,"mat-option",7),I.qZA(),I.qZA(),I.qZA(),I.TgZ(10,"div",8),I.YNc(11,Qa,2,1,"div",9),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(2),I.Q6J("ngIf",!a.initialPage),I.xp6(1),I.Q6J("ngIf",a.initialPage),I.xp6(3),I.Oqu(I.lcZ(7,6,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),I.xp6(2),I.Q6J("value",a.currentLanguage),I.xp6(1),I.Q6J("ngForOf",a.languages),I.xp6(2),I.Q6J("ngForOf",a.applicationFormItems)}}var Ba=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.translate=i,this.store=a,this.loading=!0,this.applicationFormItems=[],this.currentLanguage="en",this.languages=["en"],this.initialPage=!0,this.mapForCombobox=new Map}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.languages=this.store.get("supported_languages"),this.route.queryParamMap.subscribe(function(e){t.applicationFormItems=JSON.parse(e.get("applicationFormItems")),t.loading=!1})}},{key:"switchToInitial",value:function(){this.initialPage=!0}},{key:"switchToExtension",value:function(){this.initialPage=!1}},{key:"getLocalizedOptions",value:function(t){if(t.i18n[this.currentLanguage]){var i=t.i18n[this.currentLanguage].options;if(null!==i&&""!==i){var a,n=[],o=e(i.split("|"));try{for(o.s();!(a=o.n()).done;){var r=a.value;n.push(r.split("#")[1])}}catch(s){o.e(s)}finally{o.f()}return n}}return[]}},{key:"isValid",value:function(t){if(t.forDelete)return!1;var i,a=e(t.applicationTypes);try{for(a.s();!(i=a.n()).done;){var n=i.value;if("INITIAL"===n&&this.initialPage)return!0;if("EXTENSION"===n&&!this.initialPage)return!0}}catch(o){a.e(o)}finally{a.f()}return!1}},{key:"disabledTooltip",value:function(t){var e,i,a;switch(t.disabled){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(a);case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.DISABLED_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(a);default:return""}}},{key:"hiddenTooltip",value:function(t){var e,i,a;switch(t.hidden){case"ALWAYS":return this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN");case"IF_PREFILLED":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_PREFILLED"),"".concat(e," ").concat(i," ").concat(a);case"IF_EMPTY":return e=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.HIDDEN_WHEN"),i=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,a=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.DISABLED_HIDDEN_ICON.IS_EMPTY"),"".concat(e," ").concat(i," ").concat(a);default:return""}}},{key:"getLocalizedLabel",value:function(t){return t.i18n[this.currentLanguage]&&t.i18n[this.currentLanguage].label?t.i18n[this.currentLanguage].label:t.shortname}},{key:"getLocalizedHint",value:function(t){return t.i18n[this.currentLanguage]?t.i18n[this.currentLanguage].help:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-form-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"w-100","mb-2"],["class","mr-2","mat-stroked-button","",3,"click",4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"card","mb-4","p-5"],[4,"ngFor","ngForOf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"material-icons"],[3,"value"],["class","mb-2",4,"ngIf"],[1,"mb-2"],["class","d-flex",4,"ngIf"],[1,"d-flex"],[1,"w-50","d-flex"],[1,"w-50"],["type","text",1,"w-100",3,"disabled"],[1,"w-50","d-flex","left"],["class","pointer",3,"matTooltip",4,"ngIf"],[1,"ml-2"],[1,"pointer",3,"matTooltip"],["type","text","disabled","",1,"w-100"],["type","text",1,"mb-1","w-100",3,"disabled"],["type","reset",3,"disabled","value"],["type","radio","name","temp",3,"disabled"],[3,"innerHTML"],[1,"w-100",3,"disabled"],[1,"w-50",3,"disabled"],[1,"w-100",3,"ngModel","disabled","ngModelChange"],["value","true","selected",""],["value","false",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["value","false"],[1,"w-100"],["type","text"],["type","checkbox",3,"disabled"],["mat-flat-button","","color","accent",3,"disabled"],["class","pointer left",3,"matTooltip",4,"ngIf"],[1,"pointer","left",3,"matTooltip"],["name","timezone_offset","id","timezone-offset",1,"w-100",3,"disabled"],["value","-12:00","selected","selected"],["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"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.YNc(3,Wi,1,0,"mat-spinner",1),I.YNc(4,za,12,8,"div",2)),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_PAGE.TITLE"),"\n"),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[s.O5,Z.$g,Ze.KE,Ze.hX,be.gD,s.sg,N.lW,Se.ey,b.Hw,_.gM,Ie._Y,Ie.JL,Ie.F,Ie.YN,Ie.Kr,Ie.EJ,Ie.JJ,Ie.On],pipes:[O.X$,s.gd],styles:[".left[_ngcontent-%COMP%]{margin-left:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}();function ja(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"MEMBER_DETAIL.ENTITY")," ")}function Ha(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",5),2&t){var i=I.oxw();I.Q6J("entity","member")("entityId",i.memberId)}}function Xa(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",I.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function $a(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","group")}}function Wa(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Xa,3,6,"ng-template",1),I.YNc(2,$a,1,3,"ng-template",2),I.qZA())}function Ka(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"MEMBER_DETAIL.ENTITY")," - ",I.lcZ(2,4,"RESOURCE_DETAIL.ENTITY")," ")}function tn(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","member")("firstEntityId",i.memberId)("secondEntity","resource")}}function en(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,Ka,3,6,"ng-template",1),I.YNc(2,tn,1,3,"ng-template",2),I.qZA())}function an(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.hij(" ",I.lcZ(1,1,"ADMIN_USER.ENTITY")," ")}function nn(t,e){if(1&t&&I._UZ(0,"app-one-entity-attribute-page",7),2&t){var i=I.oxw();I.Q6J("entityId",i.member.userId)("entity","user")}}function on(t,e){1&t&&(I._uU(0),I.ALo(1,"translate"),I.ALo(2,"translate")),2&t&&I.AsE(" ",I.lcZ(1,2,"ADMIN_USER.ENTITY")," - ",I.lcZ(2,4,"FACILITY_DETAIL.ENTITY")," ")}function rn(t,e){if(1&t&&I._UZ(0,"app-two-entity-attribute-page",6),2&t){var i=I.oxw(2);I.Q6J("firstEntity","user")("firstEntityId",i.member.userId)("secondEntity","facility")}}function sn(t,e){1&t&&(I.TgZ(0,"mat-tab"),I.YNc(1,on,3,6,"ng-template",1),I.YNc(2,rn,1,3,"ng-template",2),I.qZA())}var ln=function(){var t=function(){function t(e,i,a){n(this,t),this.route=e,this.authResolver=i,this.memberManager=a}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.params.subscribe(function(e){t.memberId=e.memberId,t.memberManager.getMemberById(t.memberId).subscribe(function(e){t.member=e,t.memberGroupAttAuth=t.authResolver.isAuthorized("getMemberGroups_Member_policy",[t.member]),t.memberResourceAttAuth=t.authResolver.isAuthorized("getAssignedResourcesWithStatus_Member_policy",[t.member]),t.userFacilityAttAuth=t.authResolver.isAuthorized("getAssignedFacilities_User_policy",[{beanName:"User",id:e.userId}])})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(h.x4),I.Y36(d.uq))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-attributes"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:14,vars:6,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[1,"mb-2"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"],[3,"entityId","entity"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-tab-group"),I.TgZ(5,"mat-tab"),I.YNc(6,ja,2,3,"ng-template",1),I.YNc(7,Ha,1,2,"ng-template",2),I.qZA(),I.YNc(8,Wa,3,0,"mat-tab",3),I.YNc(9,en,3,0,"mat-tab",3),I.TgZ(10,"mat-tab",4),I.YNc(11,an,2,3,"ng-template",1),I.YNc(12,nn,1,2,"ng-template",2),I.qZA(),I.YNc(13,sn,3,0,"mat-tab",3),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,4,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),I.xp6(6),I.Q6J("ngIf",e.memberGroupAttAuth),I.xp6(1),I.Q6J("ngIf",e.memberResourceAttAuth),I.xp6(4),I.Q6J("ngIf",e.userFacilityAttAuth))},directives:[wi.SP,wi.uX,wi.uD,wi.Vc,s.O5,de.t,Pi.Y],pipes:[O.X$],styles:[""]}),t}(),un=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.sideMenuService=e,this.voService=i,this.authResolver=a,this.route=o,this.router=r,this.items=[]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.initItems()})})}},{key:"initItems",value:function(){this.items=[{cssIcon:"perun-resource",url:"/organizations/".concat(this.vo.id,"/resources/preview"),label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",style:"vo-btn"}],this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resource-tags",url:"/organizations/".concat(this.vo.id,"/resources/tags"),label:"MENU_ITEMS.VO.RESOURCE_TAGS",style:"vo-btn"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[this.vo])&&this.items.push({cssIcon:"perun-resources-state",url:"/organizations/".concat(this.vo.id,"/resources/states"),label:"MENU_ITEMS.VO.RESOURCE_STATES",style:"vo-btn"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(T.D),I.Y36(d.YF),I.Y36(h.x4),I.Y36(l.gz),I.Y36(l.F0))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources-overview"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:2,vars:2,consts:[[3,"items","size"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I._UZ(1,"perun-web-apps-menu-buttons-field",0),I.qZA()),2&t&&(I.xp6(1),I.Q6J("items",e.items)("size","small"))},directives:[H.L],styles:[""]}),t}(),cn=o(88227),pn=o(97397),dn=o(4230),gn=o(24923);function hn(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function mn(t,e){1&t&&I._UZ(0,"th",15)}function fn(t,e){if(1&t&&(I.TgZ(0,"td",16),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i.tagName," ")}}function An(t,e){1&t&&I._UZ(0,"tr",17)}function In(t,e){1&t&&I._UZ(0,"tr",18)}function Tn(t,e){if(1&t&&(I.TgZ(0,"div",7),I.TgZ(1,"p"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"div",8),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"table",9),I.ynx(8,10),I.YNc(9,mn,1,0,"th",11),I.YNc(10,fn,2,1,"td",12),I.BQk(),I.YNc(11,An,1,0,"tr",13),I.YNc(12,In,1,0,"tr",14),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,5,"DIALOGS.DELETE_RESOURCE_TAG.DESCRIPTION")," "),I.xp6(3),I.hij(" ",I.lcZ(6,7,"DIALOGS.DELETE_RESOURCE_TAG.ASK")," "),I.xp6(2),I.Q6J("dataSource",i.dataSource),I.xp6(4),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}var vn=function(){var t=function(){function t(e,i,a){n(this,t),this.dialogRef=e,this.data=i,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new ut.by(this.data.tagsForDelete)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var i,a=e(this.data.tagsForDelete);try{for(a.s();!(i=a.n()).done;){var n=i.value;this.resourceManager.deleteResourceTag({resourceTag:n}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.dialogRef.close(!0)})}}catch(o){a.e(o)}finally{a.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.xk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-delete-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,hn,1,0,"mat-spinner",1),I.YNc(5,Tn,13,9,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.DELETE_RESOURCE_TAG.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.DELETE_RESOURCE_TAG.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.DELETE_RESOURCE_TAG.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$],styles:[""]}),t}(),En=o(60611),Zn=o(59403),bn=o(19139),_n=o(4196);function Sn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().create()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function Nn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().deleteTag()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.hij(" ",I.lcZ(2,2,"VO_DETAIL.RESOURCES.TAGS.DELETE_BUTTON"),"\n")}}function On(t,e){1&t&&I._UZ(0,"mat-spinner",9)}function xn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-resources-tags-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTag)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","vo")}}var Cn=function(){var t=function(){function t(e,i,a,o,r,s,l,u){n(this,t),this.route=e,this.resourceManager=i,this.dialog=a,this.notificator=o,this.tableConfigService=r,this.translator=s,this.authResolver=l,this.voService=u,this.loading=!1,this.resourceTag=[],this.selection=new dn.Ov(!0,[]),this.tableId=En.O7,this.displayedColumns=[]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.voService.getVoById(t.voId).subscribe(function(e){t.vo=e,t.updateData()})})}},{key:"deleteTag",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={tagsForDelete:this.selection.selected,theme:"vo-theme"},this.dialog.open(vn,e).afterClosed().subscribe(function(e){e&&(t.translator.get("VO_DETAIL.RESOURCES.TAGS.DELETE_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateData())})}},{key:"create",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(gn.p,e).afterClosed().subscribe(function(e){e&&(t.translator.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateData())})}},{key:"updateData",value:function(){var t=this;this.loading=!0,this.selection.clear(),this.resourceManager.getAllResourcesTagsForVo(this.voId).subscribe(function(e){t.resourceTag=e,t.selection.clear(),t.setAuthRights(),t.loading=!1})}},{key:"setAuthRights",value:function(){this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[this.vo]),this.deleteAuth=this.authResolver.isAuthorized("deleteResourceTag_ResourceTag_policy",[this.vo]),this.editAuth=this.authResolver.isAuthorized("updateResourceTag_ResourceTag_policy",[this.vo]),this.displayedColumns=this.deleteAuth?["select","id","name"]:["id","name"],this.editAuth&&this.displayedColumns.push("edit")}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(l.gz),I.Y36(d.xk),I.Y36(v.uw),I.Y36(h.V6),I.Y36(En.dB),I.Y36(O.sK),I.Y36(h.x4),I.Y36(d.YF))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-vo-resources-tags"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.updateData()}),I.qZA(),I.YNc(4,Sn,3,3,"button",2),I.YNc(5,Nn,3,4,"button",3),I.TgZ(6,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(7,On,1,0,"mat-spinner",5),I.YNc(8,xn,1,6,"app-resources-tags-list",6)),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,6,"VO_DETAIL.RESOURCES.TAGS.TITLE")),I.xp6(3),I.Q6J("ngIf",e.createAuth),I.xp6(1),I.Q6J("ngIf",e.deleteAuth),I.xp6(1),I.Q6J("placeholder","VO_DETAIL.RESOURCES.TAGS.SEARCH"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,_n.o],pipes:[O.X$],styles:[""]}),t}();function Ln(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-expiration-settings",1),I.NdJ("saveAttribute",function(t){return I.CHM(i),I.oxw().saveExpirationAttribute(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("expirationAttribute",a.expirationAttribute)}}var Rn=function(){var t=function(){function t(e,i,a,o,r){var s=this;n(this,t),this.attributesManager=e,this.route=i,this.translate=a,this.notificator=o,this.apiRequest=r,this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.SUCCESS_MESSAGE").subscribe(function(t){return s.successMessage=t}),this.translate.get("GROUP_DETAIL.SETTINGS.EXPIRATION.ERROR_MESSAGE").subscribe(function(t){return s.errorMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.groupId=e.groupId,t.loadSettings()})}},{key:"loadSettings",value:function(){var t=this;this.attributesManager.getGroupAttributeByName(this.groupId,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(e){t.expirationAttribute=e})}},{key:"saveExpirationAttribute",value:function(t){var e=this;this.apiRequest.dontHandleErrorForNext(),this.attributesManager.setGroupAttribute({group:this.groupId,attribute:t}).subscribe(function(){e.loadSettings(),e.notificator.showSuccess(e.successMessage)},function(t){return e.notificator.showRPCError(t.error,e.errorMessage)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.H8),I.Y36(l.gz),I.Y36(O.sK),I.Y36(h.V6),I.Y36(h.F5))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-expiration"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"expirationAttribute","saveAttribute",4,"ngIf"],[3,"expirationAttribute","saveAttribute"]],template:function(t,e){1&t&&I.YNc(0,Ln,1,1,"app-expiration-settings",0),2&t&&I.Q6J("ngIf",void 0!==e.expirationAttribute)},directives:[s.O5,Ge],styles:[""]}),t}();function Mn(t,e){if(1&t&&I._UZ(0,"app-managers-page",1),2&t){var i=I.oxw();I.Q6J("complementaryObject",i.group)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var Dn=function(){var t=function(){function t(e,i,a){n(this,t),this.groupService=e,this.route=i,this.guiAuthResolver=a,this.availableRoles=[],this.selected="user",this.type="Group",this.theme="group-theme"}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.route.parent.parent.params.subscribe(function(e){t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Group")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.ff),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-managers"]],hostVars:2,hostBindings:function(t,e){2&t&&I.ekj("router-component",e.true)},decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(t,e){1&t&&I.YNc(0,Mn,1,4,"app-managers-page",0),2&t&&I.Q6J("ngIf",e.group)},directives:[s.O5,Ve.s],styles:[""]}),t}();function yn(t,e){1&t&&I._UZ(0,"mat-spinner",6)}function Un(t,e){1&t&&I._UZ(0,"th",15)}function qn(t,e){if(1&t&&(I.TgZ(0,"td",16),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw(2);I.xp6(1),I.hij(" ",a.getMailType(i)," ")}}function wn(t,e){1&t&&I._UZ(0,"tr",17)}function Pn(t,e){1&t&&I._UZ(0,"tr",18)}function Gn(t,e){if(1&t&&(I.TgZ(0,"div",7),I.TgZ(1,"p"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"div",8),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"table",9),I.ynx(8,10),I.YNc(9,Un,1,0,"th",11),I.YNc(10,qn,2,1,"td",12),I.BQk(),I.YNc(11,wn,1,0,"tr",13),I.YNc(12,Pn,1,0,"tr",14),I.qZA(),I.qZA()),2&t){var i=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,5,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.DESCRIPTION")," "),I.xp6(3),I.hij(" ",I.lcZ(6,7,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CONFIRMATION")," "),I.xp6(2),I.Q6J("dataSource",i.dataSource),I.xp6(4),I.Q6J("matHeaderRowDef",i.displayedColumns),I.xp6(1),I.Q6J("matRowDefColumns",i.displayedColumns)}}var kn=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.data=i,this.notificator=a,this.translate=o,this.registrarService=r,this.displayedColumns=["name"],this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new ut.by(this.data.mails)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;if(this.loading=!0,this.data.groupId){var i,a=e(this.data.mails);try{for(a.s();!(i=a.n()).done;){var n=i.value;this.registrarService.deleteApplicationMailForGroup(this.data.groupId,n.id).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}}catch(l){a.e(l)}finally{a.f()}}else{var o,r=e(this.data.mails);try{for(r.s();!(o=r.n()).done;){var s=o.value;this.registrarService.deleteApplicationMailForVo(this.data.voId,s.id).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}}catch(l){r.e(l)}finally{r.f()}}}},{key:"getMailType",value:function(t){var e="";return null==t.mailType||""===t.mailType?e="":this.translate.get("VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_"+t.mailType).subscribe(function(t){e=t}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(h.V6),I.Y36(O.sK),I.Y36(d.tk))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-delete-notification-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,yn,1,0,"mat-spinner",1),I.YNc(5,Gn,13,9,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.onCancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"button",5),I.NdJ("click",function(){return e.onSubmit()}),I._uU(11),I.ALo(12,"translate"),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,9,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,11,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.CANCEL")," "),I.xp6(2),I.Q6J("disabled",e.loading),I.xp6(1),I.hij(" ",I.lcZ(12,13,"DIALOGS.APPLICATION_FORM_DELETE_MAIL.SUBMIT")," "))},directives:[v.uh,s.O5,v.H8,N.lW,Z.$g,v.xY,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.as,ut.nj,ut.ge,ut.ev,ut.XQ,ut.Gk],pipes:[O.X$],styles:[""]}),t}(),Yn=o(10901);function Jn(t,e){1&t&&I._UZ(0,"mat-spinner",7)}function Vn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",8),I.TgZ(1,"div"),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"mat-form-field"),I.TgZ(5,"textarea",9),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().mailFooter=t}),I.qZA(),I.qZA(),I.TgZ(6,"div",10),I._uU(7),I.ALo(8,"translate"),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(2),I.hij(" ",I.lcZ(3,4,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.LABEL"),": "),I.xp6(3),I.Q6J("cdkTextareaAutosize",!0)("ngModel",a.mailFooter),I.xp6(2),I.Oqu(I.lcZ(8,6,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.DESCRIPTION"))}}var Fn=function(){var t=function(){function t(e,i,a,o,r){n(this,t),this.dialogRef=e,this.attributesManager=i,this.translateService=a,this.notificator=o,this.data=r,this.mailFooter="",this.loading=!1}return r(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.loading=!0,this.data.groupId?this.getFooterForGroup():this.getFooterForVo(),this.loading=!1}},{key:"submit",value:function(){var t=this;this.loading=!0,this.mailAttribute.value=this.mailFooter,this.data.groupId?this.attributesManager.setGroupAttribute({group:this.data.groupId,attribute:this.mailAttribute}).subscribe(function(){t.notificateSuccess(),t.dialogRef.close()},function(){return t.loading=!1}):this.attributesManager.setVoAttribute({vo:this.data.voId,attribute:this.mailAttribute}).subscribe(function(){t.notificateSuccess(),t.dialogRef.close()},function(){return t.loading=!1})}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"getFooterForVo",value:function(){var t=this;this.attributesManager.getVoAttributeByName(this.data.voId,m.r.VO_DEF_MAIL_FOOTER).subscribe(function(e){t.mailAttribute=e,t.editAuth=t.mailAttribute.writable,t.mailFooter=e.value?e.value:""})}},{key:"getFooterForGroup",value:function(){var t=this;this.attributesManager.getGroupAttributeByName(this.data.groupId,m.r.GROUP_DEF_MAIL_FOOTER).subscribe(function(e){t.mailAttribute=e,t.editAuth=t.mailAttribute.writable,t.mailFooter=e.value?e.value:""})}},{key:"notificateSuccess",value:function(){var t=this;this.translateService.get("DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(d.H8),I.Y36(O.sK),I.Y36(h.V6),I.Y36(v.WI))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-edit-email-footer-dialog"]],decls:15,vars:20,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"mt-2","font-italic","text-muted"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Jn,1,0,"mat-spinner",1),I.YNc(5,Vn,9,8,"div",2),I.TgZ(6,"div",3),I.TgZ(7,"button",4),I.NdJ("click",function(){return e.cancel()}),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"div",5),I.ALo(11,"translate"),I.TgZ(12,"button",6),I.NdJ("click",function(){return e.submit()}),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,12,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.TITLE")),I.xp6(2),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(9,14,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.CANCEL_BUTTON")," "),I.xp6(2),I.s9C("matTooltip",I.lcZ(11,16,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.HINT")),I.Q6J("matTooltipDisabled",e.editAuth)("matTooltipPosition","above"),I.xp6(2),I.Q6J("disabled",e.loading||!e.editAuth),I.xp6(1),I.hij(" ",I.lcZ(14,18,"DIALOGS.NOTIFICATIONS_EDIT_FOOTER.SUBMIT_BUTTON")," "))},directives:[v.uh,s.O5,v.H8,N.lW,_.gM,Z.$g,v.xY,Ze.KE,_e.Nt,Yn.IC,Ie.Fj,Ie.JJ,Ie.On],pipes:[O.X$],styles:[""]}),t}(),Qn=o(4253);function zn(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div"),I.TgZ(1,"div",1),I.TgZ(2,"button",2),I.NdJ("click",function(){var t=I.CHM(i).$implicit;return I.oxw().addTag("{"+t[0]+"}")}),I.ALo(3,"translate"),I._uU(4),I.qZA(),I.TgZ(5,"span",3),I._uU(6),I.ALo(7,"translate"),I.qZA(),I.qZA(),I._UZ(8,"mat-divider",4),I.qZA()}if(2&t){var a=e.$implicit;I.xp6(2),I.s9C("matTooltip",I.lcZ(3,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAG_HINT")),I.xp6(2),I.hij(" ",a[0]," "),I.xp6(2),I.hij(" ",I.lcZ(7,5,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL."+a[1])," ")}}var Bn=function(){var t=function(){function t(){n(this,t),this.tags=[],this.addedTag=new I.vpe}return r(t,[{key:"addTag",value:function(t){this.addedTag.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-tag-section"]],inputs:{tags:"tags"},outputs:{addedTag:"addedTag"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"d-flex","flex-row"],["mat-flat-button","","matTooltipPosition","above",1,"tag-text","w-25",3,"matTooltip","click"],[1,"w-75"],[1,"mt-1","mb-1"]],template:function(t,e){1&t&&I.YNc(0,zn,9,7,"div",0),2&t&&I.Q6J("ngForOf",e.tags)},directives:[s.sg,N.lW,_.gM,ri.d],pipes:[O.X$],styles:[".tag-text[_ngcontent-%COMP%]{font-size:.9rem;font-weight:700}"]}),t}(),jn=function(){var t=function(){function t(){n(this,t),this.addedTag=new I.vpe,this.applicationRelatedTags=[],this.userRelatedTags=[],this.validationLinksUsersTags=[],this.applicationLinksUsersTags=[],this.applicationLinksAdministratorsTags=[],this.perunLinksAdministratorsTags=[],this.userInvitationsTags=[]}return r(t,[{key:"ngOnInit",value:function(){this.getApplicationRelatedTags(),this.getUserRelatedTags(),this.getValidationLinksUsersTags(),this.getApplicationLinksUsersTags(),this.getApplicationLinksAdministratorsTags(),this.getPerunLinksAdministratorsTags(),this.getUserInvitationsTags()}},{key:"getApplicationRelatedTags",value:function(){var t=[];t.push(["appId","APPID_DESCRIPTION"]),t.push(["actor","ACTOR_DESCRIPTION"]),t.push(["extSource","EXTSOURCE_DESCRIPTION"]),t.push(["voName","VONAME_DESCRIPTION"]),t.push(["groupName","GROUPNAME_DESCRIPTION"]),t.push(["mailFooter","MAILFOOTER_DESCRIPTION"]),t.push(["errors","ERRORS_DESCRIPTION"]),t.push(["customMessage","CUSTOMMESSAGE_DESCRIPTION"]),t.push(["fromApp-itemName","FROMAPPITEMNAME_DESCRIPTION"]),this.applicationRelatedTags=t}},{key:"getUserRelatedTags",value:function(){var t=[];t.push(["firstName","FIRSTNAME_DESCRIPTION"]),t.push(["lastName","LASTNAME_DESCRIPTION"]),t.push(["displayName","DISPLAYNAME_DESCRIPTION"]),t.push(["mail","MAIL_DESCRIPTION"]),t.push(["phone","PHONE_DESCRIPTION"]),t.push(["login-namespace","LOGINNAMESPACE_DESCRIPTION"]),t.push(["membershipExpiration","MEMBERSHIPEXPIRATION_DESCRIPTION"]),this.userRelatedTags=t}},{key:"getValidationLinksUsersTags",value:function(){var t=[];t.push(["validationLink","VALIDATIONLINK_DESCRIPTION"]),t.push(["validationLink-krb","VALIDATIONKRB_DESCRIPTION"]),t.push(["validationLink-fed","VALIDATIONFED_DESCRIPTION"]),t.push(["validationLink-cert","VALIDATIONCERT_DESCRIPTION"]),t.push(["validationLink-non","VALIDATIONNON_DESCRIPTION"]),t.push(["redirectUrl","REDIRECTURL_DESCRIPTION"]),this.validationLinksUsersTags=t}},{key:"getApplicationLinksUsersTags",value:function(){var t=[];t.push(["appGuiUrl","APPGUIURL_DESCRIPTION"]),t.push(["appGuiUrl-krb","APPGUIURLKRB_DESCRIPTION"]),t.push(["appGuiUrl-fed","APPGUIURLFED_DESCRIPTION"]),t.push(["appGuiUrl-cert","APPGUIURLCERT_DESCRIPTION"]),t.push(["appGuiUrl-non","APPGUIURLNON_DESCRIPTION"]),this.applicationLinksUsersTags=t}},{key:"getApplicationLinksAdministratorsTags",value:function(){var t=[];t.push(["appDetailUrl","APPDETAILURL_DESCRIPTION"]),t.push(["appDetailUrl-krb","APPDETAILURLKRB_DESCRIPTION"]),t.push(["appDetailUrl-fed","APPDETAILURLFED_DESCRIPTION"]),t.push(["appDetailUrl-cert","APPDETAILURLCERT_DESCRIPTION"]),this.applicationLinksAdministratorsTags=t}},{key:"getPerunLinksAdministratorsTags",value:function(){var t=[];t.push(["perunGuiUrl","PERUNGUIURL_DESCRIPTION"]),t.push(["perunGuiUrl-krb","PERUNGUIURLKRB_DESCRIPTION"]),t.push(["perunGuiUrl-fed","PERUNGUIURLFED_DESCRIPTION"]),t.push(["perunGuiUrl-cert","PERUNGUIURLCERT_DESCRIPTION"]),this.perunLinksAdministratorsTags=t}},{key:"getUserInvitationsTags",value:function(){var t=[];t.push(["voName","USER_INVITATIONS_VONAME_DESCRIPTION"]),t.push(["groupName","USER_INVITATIONS_GROUPNAME_DESCRIPTION"]),t.push(["displayName","USER_INVITATIONS_DISPLAYNAME_DESCRIPTION"]),t.push(["mailFooter","USER_INVITATIONS_MAILFOOTER_DESCRIPTION"]),t.push(["invitationLink","INVITATIONLINK_DESCRIPTION"]),t.push(["invitationLink-krb","INVITATIONLINKKRB_DESCRIPTION"]),t.push(["invitationLink-fed","INVITATIONLINKFED_DESCRIPTION"]),t.push(["invitationLink-cert","INVITATIONLINKCERT_DESCRIPTION"]),t.push(["invitationLink-non","INVITATIONLINKNON_DESCRIPTION"]),this.userInvitationsTags=t}},{key:"addTag",value:function(t){this.addedTag.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-tag-bar"]],outputs:{addedTag:"addedTag"},decls:47,vars:46,consts:[["alert_type","info"],["cdkScrollable","",1,"scrollable"],[1,"font-weight-bold"],[3,"tags","addedTag"],[1,"font-weight-bold","pt-2"],[1,"font-italic","text-muted"]],template:function(t,e){1&t&&(I.TgZ(0,"app-alert",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"div",1),I.TgZ(4,"div",2),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(8,"div",4),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.TgZ(11,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(12,"div",4),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.TgZ(15,"div",5),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.TgZ(18,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(19,"div",4),I._uU(20),I.ALo(21,"translate"),I.qZA(),I.TgZ(22,"div",5),I._uU(23),I.ALo(24,"translate"),I.qZA(),I.TgZ(25,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(26,"div",4),I._uU(27),I.ALo(28,"translate"),I.qZA(),I.TgZ(29,"div",5),I._uU(30),I.ALo(31,"translate"),I.qZA(),I.TgZ(32,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(33,"div",4),I._uU(34),I.ALo(35,"translate"),I.qZA(),I.TgZ(36,"div",5),I._uU(37),I.ALo(38,"translate"),I.qZA(),I.TgZ(39,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.TgZ(40,"div",4),I._uU(41),I.ALo(42,"translate"),I.qZA(),I.TgZ(43,"div",5),I._uU(44),I.ALo(45,"translate"),I.qZA(),I.TgZ(46,"app-tag-section",3),I.NdJ("addedTag",function(t){return e.addTag(t)}),I.qZA(),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,20,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TAGS_DESCRIPTION"),"\n"),I.xp6(4),I.hij("",I.lcZ(6,22,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_RELATED_SECTION"),":"),I.xp6(2),I.Q6J("tags",e.applicationRelatedTags),I.xp6(2),I.hij("",I.lcZ(10,24,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_RELATED_SECTION"),":"),I.xp6(2),I.Q6J("tags",e.userRelatedTags),I.xp6(2),I.hij("",I.lcZ(14,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_USERS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(17,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.VALIDATION_LINKS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.validationLinksUsersTags),I.xp6(2),I.hij("",I.lcZ(21,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_USERS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(24,32,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.applicationLinksUsersTags),I.xp6(2),I.hij("",I.lcZ(28,34,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(31,36,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_LINKS_ADMINISTRATOR_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.applicationLinksAdministratorsTags),I.xp6(2),I.hij("",I.lcZ(35,38,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(38,40,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.PERUN_LINKS_ADMINISTRATOR_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.perunLinksAdministratorsTags),I.xp6(2),I.hij("",I.lcZ(42,42,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_SECTION"),":"),I.xp6(3),I.hij(" ",I.lcZ(45,44,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.USER_INVITATIONS_DESCRIPTION")," "),I.xp6(2),I.Q6J("tags",e.userInvitationsTags))},directives:[mt.w,Qn.PQ,Bn],pipes:[O.X$],styles:[".scrollable[_ngcontent-%COMP%]{height:370px;overflow:auto}"]}),t}();function Hn(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",9),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_CREATE")))}function Xn(t,e){1&t&&(I.TgZ(0,"h1",9),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TITLE_EDIT")))}function $n(t,e){1&t&&I._UZ(0,"mat-spinner",10)}function Wn(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_EDIT")," "))}function Kn(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE_DESCRIPTION_CREATE")," "))}function to(t,e){1&t&&(I.TgZ(0,"mat-option",36),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EXTENSION")," "))}function eo(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_EDIT")," "))}function io(t,e){1&t&&(I.TgZ(0,"div",34),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE_DESCRIPTION_CREATE")," "))}function ao(t,e){1&t&&I._UZ(0,"mat-divider",50)}function no(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",38),I.TgZ(1,"div",39),I.TgZ(2,"div",40),I.TgZ(3,"button",41),I.NdJ("click",function(){I.CHM(i);var t=I.oxw(3);return t.showTags=!t.showTags}),I._uU(4),I.ALo(5,"translate"),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"span",42),I._uU(8),I.ALo(9,"translate"),I.qZA(),I.TgZ(10,"mat-form-field",18),I.TgZ(11,"input",43,44),I.NdJ("focus",function(){return I.CHM(i),I.oxw(3).isTextFocused=!1})("ngModelChange",function(t){I.CHM(i);var e=I.oxw().$implicit;return I.oxw(2).applicationMail.message[e].subject=t}),I.qZA(),I.qZA(),I.qZA(),I.TgZ(13,"div",45),I._uU(14),I.ALo(15,"translate"),I.qZA(),I.TgZ(16,"mat-form-field",18),I.TgZ(17,"textarea",46,47),I.NdJ("focus",function(){return I.CHM(i),I.oxw(3).isTextFocused=!0})("ngModelChange",function(t){I.CHM(i);var e=I.oxw().$implicit;return I.oxw(2).applicationMail.message[e].text=t}),I._uU(19," "),I.qZA(),I.qZA(),I.qZA(),I.YNc(20,ao,1,0,"mat-divider",48),I.TgZ(21,"div"),I.TgZ(22,"app-tag-bar",49),I.NdJ("addedTag",function(t){I.CHM(i);var e=I.MAs(12),a=I.MAs(18),n=I.oxw().$implicit;return I.oxw(2).addTag(e,a,n,t)}),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw().$implicit,n=I.oxw(2);I.xp6(4),I.hij(" ",n.showTags?I.lcZ(5,7,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.HIDE_TAGS"):I.lcZ(6,9,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SHOW_TAGS")," "),I.xp6(4),I.hij(" ",I.lcZ(9,11,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SUBJECT"),": "),I.xp6(3),I.Q6J("ngModel",n.applicationMail.message[a].subject),I.xp6(3),I.hij(" ",I.lcZ(15,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.TEXT"),": "),I.xp6(3),I.Q6J("ngModel",n.applicationMail.message[a].text),I.xp6(3),I.Q6J("ngIf",n.showTags),I.xp6(1),I.Q6J("@tagsOpenClose",n.showTags?"open":"closed")}}function oo(t,e){1&t&&(I.TgZ(0,"mat-tab",14),I.ALo(1,"translate"),I.ALo(2,"uppercase"),I.YNc(3,no,23,15,"ng-template",37),I.qZA()),2&t&&I.s9C("label",I.lcZ(1,1,I.lcZ(2,3,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.LANG_"+e.$implicit)))}function ro(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",11),I.TgZ(1,"div"),I.TgZ(2,"app-alert",12),I._uU(3),I.ALo(4,"translate"),I.qZA(),I.qZA(),I.TgZ(5,"mat-tab-group",13),I.TgZ(6,"mat-tab",14),I.ALo(7,"translate"),I.TgZ(8,"div",15),I.TgZ(9,"span",16),I._uU(10),I.ALo(11,"translate"),I.qZA(),I.TgZ(12,"div",17),I.TgZ(13,"mat-form-field",18),I.TgZ(14,"mat-select",19),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.mailType=t})("selectionChange",function(){return I.CHM(i),I.oxw().notificationExist()}),I.TgZ(15,"mat-option",20),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.TgZ(18,"mat-option",21),I._uU(19),I.ALo(20,"translate"),I.qZA(),I.TgZ(21,"mat-option",22),I._uU(22),I.ALo(23,"translate"),I.qZA(),I.TgZ(24,"mat-option",23),I._uU(25),I.ALo(26,"translate"),I.qZA(),I.TgZ(27,"mat-option",24),I._uU(28),I.ALo(29,"translate"),I.qZA(),I.TgZ(30,"mat-option",25),I._uU(31),I.ALo(32,"translate"),I.qZA(),I.TgZ(33,"mat-option",26),I._uU(34),I.ALo(35,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(36,"div",27),I._UZ(37,"span",28),I.YNc(38,Wn,3,3,"div",29),I.YNc(39,Kn,3,3,"div",29),I.qZA(),I.TgZ(40,"div",15),I.TgZ(41,"span",30),I._uU(42),I.ALo(43,"translate"),I.qZA(),I.TgZ(44,"div",17),I.TgZ(45,"mat-form-field",18),I.TgZ(46,"mat-select",19),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.appType=t})("selectionChange",function(){return I.CHM(i),I.oxw().notificationExist()}),I.TgZ(47,"mat-option",31),I._uU(48),I.ALo(49,"translate"),I.qZA(),I.YNc(50,to,3,3,"mat-option",32),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(51,"div",27),I._UZ(52,"span",28),I.YNc(53,eo,3,3,"div",29),I.YNc(54,io,3,3,"div",29),I.qZA(),I.TgZ(55,"div",15),I.TgZ(56,"span",30),I._uU(57),I.ALo(58,"translate"),I.qZA(),I.TgZ(59,"div",17),I.TgZ(60,"mat-checkbox",33),I.NdJ("ngModelChange",function(t){return I.CHM(i),I.oxw().applicationMail.send=t}),I.qZA(),I.qZA(),I.qZA(),I.TgZ(61,"div",27),I._UZ(62,"span",28),I.TgZ(63,"div",34),I._uU(64),I.ALo(65,"translate"),I.qZA(),I.qZA(),I.qZA(),I.YNc(66,oo,4,5,"mat-tab",35),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.Q6J("@openClose",a.invalidNotification?"open":"closed"),I.xp6(2),I.Oqu(I.lcZ(4,26,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INVALID_NOTIFICATION")),I.xp6(3),I.s9C("label",I.lcZ(7,28,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.BASIC_SETTINGS")),I.xp6(4),I.hij("",I.lcZ(11,30,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EMAIL_TYPE")," :"),I.xp6(4),I.Q6J("ngModel",a.applicationMail.mailType)("disabled",!a.data.createMailNotification),I.xp6(2),I.hij(" ",I.lcZ(17,32,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(20,34,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_CREATED_VO_ADMIN")," "),I.xp6(3),I.hij(" ",I.lcZ(23,36,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_MAIL_VALIDATION")," "),I.xp6(3),I.hij(" ",I.lcZ(26,38,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_APPROVED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(29,40,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_REJECTED_USER")," "),I.xp6(3),I.hij(" ",I.lcZ(32,42,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_APP_ERROR_VO_ADMIN")," "),I.xp6(3),I.hij(" ",I.lcZ(35,44,"VO_DETAIL.SETTINGS.NOTIFICATIONS.MAIL_TYPE_USER_INVITE")," "),I.xp6(4),I.Q6J("ngIf",!a.data.createMailNotification),I.xp6(1),I.Q6J("ngIf",a.data.createMailNotification),I.xp6(3),I.hij("",I.lcZ(43,46,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.APPLICATION_TYPE")," :"),I.xp6(4),I.Q6J("ngModel",a.applicationMail.appType)("disabled",!a.data.createMailNotification),I.xp6(2),I.hij(" ",I.lcZ(49,48,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.INITIAL")," "),I.xp6(2),I.Q6J("ngIf","USER_INVITE"!==a.applicationMail.mailType),I.xp6(3),I.Q6J("ngIf",!a.data.createMailNotification),I.xp6(1),I.Q6J("ngIf",a.data.createMailNotification),I.xp6(3),I.hij("",I.lcZ(58,50,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED")," :"),I.xp6(3),I.Q6J("ngModel",a.applicationMail.send),I.xp6(4),I.hij(" ",I.lcZ(65,52,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SENDING_ENABLED_DESCRIPTION")," "),I.xp6(2),I.Q6J("ngForOf",a.languages)}}function so(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",51),I.NdJ("click",function(){return I.CHM(i),I.oxw().create()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.invalidNotification||a.loading),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CREATE_BUTTON")," ")}}function lo(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",51),I.NdJ("click",function(){return I.CHM(i),I.oxw().save()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.loading||!a.editAuth),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.SAVE_BUTTON")," ")}}var uo=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialogRef=e,this.registrarService=i,this.data=a,this.authResolver=o,this.groupsService=r,this.store=s,this.showTags=!1,this.isTextFocused=!0,this.invalidNotification=!1,this.loading=!1,this.languages=["en"]}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.languages=this.store.get("supported_languages"),this.applicationMail=this.data.applicationMail,this.theme=this.data.theme,this.data.groupId?this.groupsService.getGroupById(this.data.groupId).subscribe(function(e){t.editAuth=t.authResolver.isAuthorized("group-addMail_ApplicationForm_ApplicationMail_policy",[e])}):this.data.voId&&(this.editAuth=this.authResolver.isAuthorized("vo-addMail_ApplicationForm_ApplicationMail_policy",[{id:this.data.voId,beanName:"Vo"}]))}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"create",value:function(){var t=this;this.notificationExist(),this.invalidNotification||(this.loading=!0,this.data.groupId?this.registrarService.addApplicationMailForGroup({group:this.data.groupId,mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1}):this.registrarService.addApplicationMailForVo({vo:this.data.voId,mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1}))}},{key:"save",value:function(){var t=this;this.loading=!0,this.registrarService.updateApplicationMail({mail:this.applicationMail}).subscribe(function(){t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"addTag",value:function(t,e,i,a){var n,o=(n=this.isTextFocused?e:t).selectionStart;this.isTextFocused?this.applicationMail.message[i].text=this.applicationMail.message[i].text.substring(0,o)+a+this.applicationMail.message[i].text.substring(o):this.applicationMail.message[i].subject=this.applicationMail.message[i].subject.substring(0,o)+a+this.applicationMail.message[i].subject.substring(o),n.focus()}},{key:"notificationExist",value:function(){var t,i=e(this.data.applicationMails);try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a.mailType===this.applicationMail.mailType&&a.appType===this.applicationMail.appType)return void(this.invalidNotification=!0)}}catch(n){i.e(n)}finally{i.f()}this.invalidNotification=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(d.tk),I.Y36(v.WI),I.Y36(h.x4),I.Y36(d.ff),I.Y36(h.d6))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-add-edit-notification-dialog"]],decls:15,vars:17,consts:[[1,"h-100","d-flex","flex-column"],[4,"ngIf","ngIfElse"],["edit",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["alert_type","error"],["color","primary"],[3,"label"],[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"w-100"],["disableOptionCentering","",3,"ngModel","disabled","ngModelChange","selectionChange"],["value","APP_CREATED_USER"],["value","APP_CREATED_VO_ADMIN"],["value","MAIL_VALIDATION"],["value","APP_APPROVED_USER"],["value","APP_REJECTED_USER"],["value","APP_ERROR_VO_ADMIN"],["value","USER_INVITE"],[1,"d-flex","mb-3"],[1,"w-25"],["class","w-75 font-italic text-muted",4,"ngIf"],[1,"w-25","font-weight-bold"],["value","INITIAL"],["value","EXTENSION",4,"ngIf"],[3,"ngModel","ngModelChange"],[1,"w-75","font-italic","text-muted"],[3,"label",4,"ngFor","ngForOf"],["value","EXTENSION"],["matTabContent",""],[1,"d-flex","w-100"],[1,"pr-2","w-100"],[1,"pt-2"],["mat-stroked-button","",1,"right-button",3,"click"],[1,"font-weight-bold","pr-2"],["matInput","",3,"ngModel","focus","ngModelChange"],["Input",""],[1,"font-weight-bold"],["matInput","","rows","17",3,"ngModel","focus","ngModelChange"],["Textarea",""],["class","ml-3 mr-3","vertical","true",4,"ngIf"],[3,"addedTag"],["vertical","true",1,"ml-3","mr-3"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){if(1&t&&(I.TgZ(0,"div"),I.TgZ(1,"div",0),I.YNc(2,Hn,4,3,"div",1),I.YNc(3,Xn,3,3,"ng-template",null,2,I.W1O),I.YNc(5,$n,1,0,"mat-spinner",3),I.YNc(6,ro,67,54,"div",4),I.TgZ(7,"div",5),I.TgZ(8,"button",6),I.NdJ("click",function(){return e.cancel()}),I._uU(9),I.ALo(10,"translate"),I.qZA(),I.YNc(11,so,3,4,"button",7),I.TgZ(12,"div",8),I.ALo(13,"translate"),I.YNc(14,lo,3,4,"button",7),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t){var i=I.MAs(4);I.Gre("",e.theme," h-100"),I.xp6(2),I.Q6J("ngIf",e.data.createMailNotification)("ngIfElse",i),I.xp6(3),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.hij(" ",I.lcZ(10,13,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.CANCEL_BUTTON")," "),I.xp6(2),I.Q6J("ngIf",e.data.createMailNotification),I.xp6(1),I.s9C("matTooltip",I.lcZ(13,15,"DIALOGS.NOTIFICATIONS_ADD_EDIT_MAIL.EDIT_HINT")),I.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.editAuth),I.xp6(2),I.Q6J("ngIf",!e.data.createMailNotification)}},directives:[s.O5,v.H8,N.lW,_.gM,v.uh,Z.$g,v.xY,mt.w,wi.SP,wi.uX,Ze.KE,be.gD,Ie.JJ,Ie.On,Se.ey,Ne.oG,s.sg,wi.Vc,_e.Nt,Ie.Fj,jn,ri.d],pipes:[O.X$,s.gd],styles:[".right-button[_ngcontent-%COMP%]{display:block;margin-left:auto}"],data:{animation:[p.es,p.BQ]}}),t}(),co=o(19386);function po(t,e){1&t&&I._UZ(0,"mat-spinner",9)}var go=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialogRef=e,this.voService=i,this.groupService=a,this.translateService=o,this.registrarService=r,this.data=s,this.vos=[],this.groups=[],this.selectedVo=null,this.selectedGroup=null,this.loading=!1,this.nameFunction=function(t){return t.name}}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.theme=this.data.theme,this.loading=!0,this.translateService.get("DIALOGS.NOTIFICATIONS_COPY_MAILS.NO_GROUP_SELECTED").subscribe(function(e){t.fakeGroup={id:-1,name:e,voId:0,parentGroupId:0,shortName:"",description:"",beanName:"group"},t.selectedGroup=t.fakeGroup,t.voService.getAllVos().subscribe(function(e){t.vos=e,t.vos=e.sort(function(t,e){return t.name>e.name?1:t.name=0}).sort(function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())})}},{key:"filterResources",value:function(t){if(null==t)return this.resources;var e=t.toLowerCase();return this.resources.filter(function(t){return 0===t.facility.name.toLowerCase().indexOf(e)}).sort(function(t,e){return t.name.toLowerCase().localeCompare(e.name.toLowerCase())})}},{key:"setResource",value:function(t){var e=this;this.processing=!0,this.selectedResource=t,this.resourceManager.getAssignedServicesToResource(this.selectedResource.id).subscribe(function(t){e.services=t,e.processing=!1},function(){return e.processing=!1}),this.description=this.selectedResource.description}},{key:"loadGroups",value:function(){var t=this;this.processing=!0,this.resourceManager.getAssignedGroups(this.selectedResource.id).subscribe(function(e){t.groups=e,t.groupManager.getAllMemberGroups(t.data.memberId).subscribe(function(e){t.membersGroupsId=new Set(e.map(function(t){return t.id})),t.groups.forEach(function(e){t.authResolver.isAuthorized("addMember_Group_Member_policy",[e])||t.membersGroupsId.add(e.id)}),t.processing=!1},function(){return t.processing=!1})})}},{key:"onFinish",value:function(){var t=this;this.processing=!0,this.groupManager.addMembers(this.selectedGroups.selected[0].id,[this.data.memberId]).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.ADD_MEMBER_TO_RESOURCE.SUCCESS")),t.dialogRef.close(!0)},function(){return t.processing=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.xk),I.Y36(d.ff),I.Y36(h.V6),I.Y36(O.sK),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-add-member-to-resource-dialog"]],decls:30,vars:26,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],["completed","false"],["matStepLabel",""],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto",3,"click"],[1,"mr-auto","ml-auto"],[1,"input-style"],["aria-label","Number","matInput","","type","text",3,"formControl","matAutocomplete","placeholder"],["autoActiveFirstOption",""],["autoFacility","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["disableOptionCentering","true",3,"placeholder"],[3,"value","click",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"ml-5"],["class","ml-5",4,"ngFor","ngForOf"],[3,"value"],[3,"value","click"],[3,"disableGroups","disableHeadCheckbox","disableRouting","groupsToDisable","groups","displayedColumns","selection"],["alert_type","warn"]],template:function(t,e){1&t&&(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,"mat-horizontal-stepper",2,3),I.TgZ(7,"mat-step",4),I.YNc(8,Qr,2,3,"ng-template",5),I.YNc(9,zr,1,0,"mat-spinner",6),I.YNc(10,Xr,26,22,"div",7),I.TgZ(11,"div",8),I.TgZ(12,"button",9),I.NdJ("click",function(){return e.onCancel()}),I._uU(13),I.ALo(14,"translate"),I.qZA(),I.TgZ(15,"button",10),I.NdJ("click",function(){return e.loadGroups()}),I._uU(16),I.ALo(17,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(18,"mat-step"),I.YNc(19,$r,2,3,"ng-template",5),I.YNc(20,Wr,1,0,"mat-spinner",6),I.YNc(21,ts,2,8,"div",7),I.YNc(22,es,3,3,"app-alert",11),I.TgZ(23,"div",8),I.TgZ(24,"button",12),I.NdJ("click",function(){return e.selectedGroups.clear()}),I._uU(25),I.ALo(26,"translate"),I.qZA(),I.TgZ(27,"button",10),I.NdJ("click",function(){return e.onFinish()}),I._uU(28),I.ALo(29,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.Tol(e.theme),I.xp6(2),I.Oqu(I.lcZ(3,16,"DIALOGS.ADD_MEMBER_TO_RESOURCE.TITLE")),I.xp6(3),I.Q6J("linear",!0),I.xp6(4),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(3),I.Oqu(I.lcZ(14,18,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CANCEL")),I.xp6(2),I.Q6J("disabled",null===e.selectedResource||e.processing||e.loading),I.xp6(1),I.Oqu(I.lcZ(17,20,"DIALOGS.ADD_MEMBER_TO_RESOURCE.CONTINUE")),I.xp6(4),I.Q6J("ngIf",e.processing),I.xp6(1),I.Q6J("ngIf",0!==e.groups.length&&!e.processing),I.xp6(1),I.Q6J("ngIf",0===e.groups.length&&!e.processing),I.xp6(3),I.hij(" ",I.lcZ(26,22,"DIALOGS.ADD_MEMBER_TO_RESOURCE.BACK"),""),I.xp6(2),I.Q6J("disabled",0===e.selectedGroups.selected.length||e.processing),I.xp6(1),I.hij(" ",I.lcZ(29,24,"DIALOGS.ADD_MEMBER_TO_RESOURCE.SUBMIT"),""))},directives:[v.uh,v.xY,Vr.Vq,Vr.C0,Vr.VY,s.O5,v.H8,N.lW,Vr.Ic,Vr.fd,Z.$g,Ze.KE,_e.Nt,Ie.Fj,Fr.ZL,Ie.JJ,Ie.oH,Fr.XC,s.sg,be.gD,Se.ey,hr.W,mt.w],pipes:[O.X$,s.Ov],styles:[".input-style[_ngcontent-%COMP%]{margin-left:50px;width:75%}"]}),t}(),as=o(88884);function ns(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-refresh-button",6),I.NdJ("refresh",function(){return I.CHM(i),I.oxw().refreshTable()}),I.qZA()}}function os(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().addResource()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"MEMBER_DETAIL.RESOURCES.ADD")," "))}function rs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-immediate-filter",8),I.NdJ("filter",function(t){return I.CHM(i),I.oxw().applyFilter(t)}),I.qZA()}2&t&&I.Q6J("placeholder","MEMBER_DETAIL.RESOURCES.FILTER")}function ss(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-resources-list",9),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("pageSize",a.pageSize)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("routingVo",!0)("disableRouting",!a.routeAuth)("resources",a.resources)}}function ls(t,e){1&t&&I._UZ(0,"mat-spinner",10)}var us=function(){var t=function(){function t(e,i,a,o,r,s){n(this,t),this.dialog=e,this.tableConfigService=i,this.memberManager=a,this.resourceManager=o,this.route=r,this.authResolver=s,this.resources=[],this.filterValue="",this.loading=!1,this.displayedColumns=["id","name","vo","facility","tags","description"],this.tableId=En.aL}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.memberManager.getMemberById(e.memberId).subscribe(function(e){t.member=e,t.refreshTable()})})}},{key:"addResource",value:function(){var t=this,e=(0,g.kZ)();e.width="1200px",e.data={memberId:this.member.id,voId:this.member.voId,theme:"member-theme"},this.dialog.open(is,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.resourceManager.getAssignedRichResourcesWithMember(this.member.id).subscribe(function(e){t.resources=e,t.setAuthRights(),t.loading=!1})}},{key:"setAuthRights",value:function(){var t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])&&this.authResolver.isAuthorized("addMembers_Group_List_policy",[t]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[t,this.resources[0]]))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.uw),I.Y36(En.dB),I.Y36(d.uq),I.Y36(d.xk),I.Y36(l.gz),I.Y36(h.x4))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-member-resources"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mr-2",3,"placeholder","filter",4,"ngIf"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],[1,"mr-2",3,"placeholder","filter"],[3,"pageSize","filterValue","displayedColumns","routingVo","disableRouting","resources","page"],[1,"mr-auto","ml-auto"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,ns,1,0,"perun-web-apps-refresh-button",1),I.YNc(5,os,3,3,"button",2),I.YNc(6,rs,1,1,"perun-web-apps-immediate-filter",3),I.YNc(7,ss,1,6,"perun-web-apps-resources-list",4),I.qZA(),I.YNc(8,ls,1,0,"mat-spinner",5)),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,6,"MEMBER_DETAIL.RESOURCES.TITLE")),I.xp6(2),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading&&e.addAuth),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",e.loading))},directives:[s.O5,Zn.t,N.lW,bn.L,as.C,Z.$g],pipes:[O.X$],styles:[""]}),t}(),cs=o(72920),ps=o(76527),ds=o(42473),gs=o(77968),hs=o(22927),ms=o(79472),fs=o(64359),As=o(8705),Is=o(95142),Ts=o(48666);function vs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().onAdd()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.ADD")," "))}function Es(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().onRemove()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.hij(" ",I.lcZ(2,2,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.REMOVE")," ")}}function Zs(t,e){1&t&&I._UZ(0,"mat-spinner",9)}function bs(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"app-ext-sources-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("pageSize",a.pageSize)("extSources",a.extSources)("displayedColumns",a.displayedColumns)("filterValue",a.filterValue)("selection",a.selection)}}var _s=function(){var t=function(){function t(e,i,a,o,r,s,l,u){var c=this;n(this,t),this.extSourceService=e,this.route=i,this.dialog=a,this.notificator=o,this.tableConfigService=r,this.translate=s,this.authResolver=l,this.groupService=u,this.extSources=[],this.selection=new dn.Ov(!0,[]),this.filterValue="",this.tableId=En.S7,this.displayedColumns=[],this.translate.get("GROUP_DETAIL.SETTINGS.EXT_SOURCES.SUCCESS_REMOVED").subscribe(function(t){return c.successMessage=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.groupId=e.groupId,t.groupService.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.refreshTable()})})}},{key:"setAuthRights",value:function(){this.addAuth=this.authResolver.isAuthorized("addExtSource_Group_ExtSource_policy",[this.group]),this.removeAuth=this.authResolver.isAuthorized("removeExtSource_Group_ExtSource_policy",[this.group]),this.displayedColumns=this.removeAuth?["select","id","name","type"]:["id","name","type"]}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.extSourceService.getGroupExtSources(this.groupId).subscribe(function(e){t.extSources=e,t.selection.clear(),t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"onAdd",value:function(){var t=this,e=(0,g.kZ)();e.width="1000px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.extSources,theme:"group-theme"},this.dialog.open(Ko,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"onRemove",value:function(){var t=this,e=(0,g.kZ)();e.width="600px",e.data={voId:this.voId,groupId:this.groupId,extSources:this.selection.selected,theme:"group-theme"},this.dialog.open(lr,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(d.KG),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.V6),I.Y36(En.dB),I.Y36(O.sK),I.Y36(h.x4),I.Y36(d.ff))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-group-settings-extsources"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","extSources","displayedColumns","filterValue","selection","page"]],template:function(t,e){1&t&&(I.TgZ(0,"div"),I.TgZ(1,"h1",0),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.refreshTable()}),I.qZA(),I.YNc(5,vs,3,3,"button",2),I.YNc(6,Es,3,4,"button",3),I.TgZ(7,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(8,Zs,1,0,"mat-spinner",5),I.YNc(9,bs,1,5,"app-ext-sources-list",6),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,6,"GROUP_DETAIL.SETTINGS.EXT_SOURCES.TITLE")),I.xp6(3),I.Q6J("ngIf",e.addAuth),I.xp6(1),I.Q6J("ngIf",e.removeAuth),I.xp6(1),I.Q6J("placeholder","GROUP_DETAIL.SETTINGS.EXT_SOURCES.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,Xo.D],pipes:[O.X$],styles:[""]}),t}();function Ss(t,e){1&t&&I._UZ(0,"th",9)}function Ns(t,e){if(1&t&&(I.TgZ(0,"td",10),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.xp6(1),I.hij(" ",i,": ")}}function Os(t,e){1&t&&I._UZ(0,"th",9)}function xs(t,e){if(1&t&&(I.TgZ(0,"td",11),I._uU(1),I.qZA()),2&t){var i=e.$implicit,a=I.oxw();I.xp6(1),I.hij(" ",a.statistics.get(i.toLowerCase())," ")}}function Cs(t,e){1&t&&I._UZ(0,"tr",12)}var Ls=function(){var t=function(){function t(){n(this,t),this.rowNames=[],this.title="",this.statistics=new Map,this.dataSource=null,this.displayedColumns=["name","value"]}return r(t,[{key:"ngOnInit",value:function(){this.dataSource=new ut.by(this.rowNames)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-statistics-card"]],inputs:{rowNames:"rowNames",title:"title",statistics:"statistics"},decls:15,vars:5,consts:[[1,"mat-elevation-z3","align-card"],[1,"page-subtitle"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],["mat-row",""]],template:function(t,e){1&t&&(I.TgZ(0,"mat-card",0),I.TgZ(1,"mat-card-header"),I.TgZ(2,"mat-card-title"),I.TgZ(3,"h1",1),I._uU(4),I.ALo(5,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(6,"mat-card-content"),I.TgZ(7,"table",2),I.ynx(8,3),I.YNc(9,Ss,1,0,"th",4),I.YNc(10,Ns,2,1,"td",5),I.BQk(),I.ynx(11,6),I.YNc(12,Os,1,0,"th",4),I.YNc(13,xs,2,1,"td",7),I.BQk(),I.YNc(14,Cs,1,0,"tr",8),I.qZA(),I.qZA(),I.qZA()),2&t&&(I.xp6(4),I.Oqu(I.lcZ(5,3,e.title)),I.xp6(3),I.Q6J("dataSource",e.dataSource),I.xp6(7),I.Q6J("matRowDefColumns",e.displayedColumns))},directives:[dt.a8,dt.dk,dt.n5,dt.dn,ut.BZ,ut.w1,ut.fO,ut.Dz,ut.nj,ut.ge,ut.ev,ut.Gk],pipes:[O.X$],styles:[".align-card[_ngcontent-%COMP%]{margin:1rem 1rem 1rem 0;display:inline-block;vertical-align:top}"]}),t}();function Rs(t,e){1&t&&I._UZ(0,"mat-spinner",3)}function Ms(t,e){if(1&t&&(I.TgZ(0,"div"),I._UZ(1,"app-statistics-card",4),I.qZA()),2&t){var i=I.oxw();I.xp6(1),I.Q6J("rowNames",i.rowNames)("statistics",i.membersCount)("title","VO_DETAIL.STATISTICS.MEMBERS_COUNT")}}var Ds=function(){var t=function(){function t(e,i){n(this,t),this.voService=e,this.route=i,this.loading=!1,this.dataSource=new ut.by,this.displayedColumns=["status","count"],this.rowNames=["Members","Valid","Invalid","Expired","Disabled"],this.membersCount=new Map([["members",0],["valid",0],["invalid",0],["expired",0],["disabled",0]])}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.params.subscribe(function(e){t.voId=e.voId,t.dataSource=new ut.by(t.rowNames),t.voService.getVoMembersCountsByStatus(t.voId).subscribe(function(e){t.allMembersCount=0;for(var i=0,a=Object.keys(e);i_policy",[{id:this.voId,beanName:"Vo"}])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(En.dB),I.Y36(d.tk),I.Y36(h.x4),I.Y36(v.uw),I.Y36(l.gz))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-application-form-manage-groups"]],viewQuery:function(t,e){var i;(1&t&&I.Gf(Js,5),2&t)&&(I.iGM(i=I.CRH())&&(e.list=i.first))},decls:17,vars:22,consts:[[1,"page-subtitle"],[3,"alert_type"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],["theme","vo-theme",3,"selection","pageSize","displayedColumns","disableRouting","filter","authType","groups","page"],["list",""]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.ALo(3,"translate"),I.qZA(),I.TgZ(4,"app-alert",1),I._uU(5),I.ALo(6,"translate"),I.qZA(),I.TgZ(7,"perun-web-apps-refresh-button",2),I.NdJ("refresh",function(){return e.loadGroups()}),I.qZA(),I.YNc(8,Vs,3,3,"button",3),I.TgZ(9,"span",4),I.ALo(10,"translate"),I.TgZ(11,"button",5),I.NdJ("click",function(){return e.removeGroup()}),I._uU(12),I.ALo(13,"translate"),I.qZA(),I.qZA(),I.TgZ(14,"perun-web-apps-immediate-filter",6),I.NdJ("filter",function(t){return e.filterValue=t}),I.qZA(),I.YNc(15,Fs,1,0,"mat-spinner",7),I.YNc(16,zs,2,8,"perun-web-apps-groups-list",8)),2&t&&(I.xp6(1),I.AsE(" ",I.lcZ(2,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE")," - ",I.lcZ(3,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.TITLE"),"\n"),I.xp6(3),I.Q6J("alert_type","info"),I.xp6(1),I.hij(" ",I.lcZ(6,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.HELP"),"\n"),I.xp6(3),I.Q6J("ngIf",e.addAuth),I.xp6(1),I.s9C("matTooltip",I.lcZ(10,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE_PERMISSION_HINT")),I.Q6J("matTooltipDisabled",void 0===e.list||void 0!==e.list&&e.list.removeAuth),I.xp6(2),I.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),I.xp6(1),I.hij(" ",I.lcZ(13,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.REMOVE")," "),I.xp6(2),I.Q6J("placeholder","VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS_PAGE.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[mt.w,Zn.t,s.O5,_.gM,N.lW,bn.L,Z.$g,hr.W],pipes:[O.X$],styles:[""]}),t}(),js=o(53134),Hs=o(47701),Xs=o(90611),$s=o(44689),Ws=o(85250),Ks=o(4252);function tl(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE_IDENTITY"))}function el(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function il(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function al(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL_INVALID")))}function nl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function ol(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function rl(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.SET_CREDENTIALS"))}function sl(t,e){if(1&t&&(I.TgZ(0,"mat-option",37),I._uU(1),I.qZA()),2&t){var i=e.$implicit;I.Q6J("value",i),I.xp6(1),I.hij(" ",i," ")}}function ll(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function ul(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_EXISTS")))}function cl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_FORMAT")))}function pl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_LONG")))}function dl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_SHORT")))}function gl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_WEAK")))}function hl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_SHORT")))}function ml(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.FIELD_EMPTY")))}function fl(t,e){1&t&&(I.TgZ(0,"mat-error"),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,1,"DIALOGS.CREATE_SERVICE_MEMBER.PWD_DONT_MATCH")))}function Al(t,e){1&t&&(I._uU(0),I.ALo(1,"translate")),2&t&&I.Oqu(I.lcZ(1,1,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATE_USERS"))}function Il(t,e){if(1&t&&(I.TgZ(0,"span",43),I._uU(1),I.qZA()),2&t){var i=I.oxw().$implicit;I.xp6(1),I.hij("#",i.id,"")}}function Tl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"mat-list-item"),I.TgZ(1,"p",38),I._uU(2),I.ALo(3,"userFullName"),I.YNc(4,Il,2,1,"span",39),I.TgZ(5,"span",40),I.ALo(6,"translate"),I.TgZ(7,"button",41),I.NdJ("click",function(){var t=I.CHM(i).$implicit;return I.oxw(2).removeUser(t)}),I.TgZ(8,"mat-icon",42),I._uU(9,"close"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=e.$implicit,n=I.oxw(2);I.xp6(2),I.hij("",I.lcZ(3,5,a.user)," "),I.xp6(2),I.Q6J("ngIf",a.id),I.xp6(1),I.Q6J("matTooltipDisabled",n.assignedMembers.length>1)("matTooltip",I.lcZ(6,7,"DIALOGS.CREATE_SERVICE_MEMBER.MINIMAL_USERS")),I.xp6(2),I.Q6J("disabled",1===n.assignedMembers.length)}}function vl(t,e){1&t&&I._UZ(0,"mat-spinner",44)}var El=function(){return["checkbox","id","fullName"]};function Zl(t,e){if(1&t&&I._UZ(0,"perun-web-apps-members-list",47),2&t){var i=I.oxw(3);I.Q6J("disableRouting",!0)("displayedColumns",I.DdM(5,El))("members",i.members)("pageSize",i.pageSize)("selection",i.selection)}}function bl(t,e){1&t&&(I.TgZ(0,"app-alert",48),I._uU(1),I.ALo(2,"translate"),I.qZA()),2&t&&(I.Q6J("alert_type","info"),I.xp6(1),I.hij(" ",I.lcZ(2,2,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")," "))}function _l(t,e){if(1&t&&(I.TgZ(0,"div"),I.YNc(1,Zl,1,6,"perun-web-apps-members-list",45),I.YNc(2,bl,3,4,"app-alert",46),I.qZA()),2&t){var i=I.oxw(2);I.xp6(1),I.Q6J("ngIf",i.firstSearchDone),I.xp6(1),I.Q6J("ngIf",!i.firstSearchDone)}}function Sl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"div",4),I.TgZ(1,"mat-stepper",5),I.TgZ(2,"mat-step",6),I.TgZ(3,"form",7),I.YNc(4,tl,2,3,"ng-template",8),I.TgZ(5,"div",9),I.TgZ(6,"mat-form-field"),I.TgZ(7,"mat-label"),I._uU(8),I.ALo(9,"translate"),I.qZA(),I._UZ(10,"input",10),I.YNc(11,el,3,3,"mat-error",11),I.qZA(),I.TgZ(12,"mat-form-field"),I.TgZ(13,"mat-label"),I._uU(14),I.ALo(15,"translate"),I.qZA(),I._UZ(16,"input",12),I.YNc(17,il,3,3,"mat-error",11),I.YNc(18,al,3,3,"mat-error",11),I.qZA(),I.TgZ(19,"mat-form-field"),I.TgZ(20,"mat-label"),I._uU(21),I.ALo(22,"translate"),I.qZA(),I._UZ(23,"input",13),I.YNc(24,nl,3,3,"mat-error",11),I.qZA(),I.TgZ(25,"mat-form-field"),I.TgZ(26,"mat-label"),I._uU(27),I.ALo(28,"translate"),I.qZA(),I._UZ(29,"input",14),I.YNc(30,ol,3,3,"mat-error",11),I.qZA(),I.qZA(),I.qZA(),I.TgZ(31,"div",15),I.TgZ(32,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(33),I.ALo(34,"translate"),I.qZA(),I.TgZ(35,"button",17),I._uU(36),I.ALo(37,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(38,"mat-step",6),I.TgZ(39,"form",7),I.YNc(40,rl,2,3,"ng-template",8),I.TgZ(41,"div",9),I.TgZ(42,"mat-form-field"),I.TgZ(43,"mat-label"),I._uU(44),I.ALo(45,"translate"),I.qZA(),I.TgZ(46,"mat-select",18),I.NdJ("valueChange",function(t){return I.CHM(i),I.oxw().onNamespaceChanged(t)}),I.YNc(47,sl,2,2,"mat-option",19),I.qZA(),I.qZA(),I.TgZ(48,"mat-form-field",20),I.ALo(49,"translate"),I.TgZ(50,"mat-label"),I._uU(51),I.ALo(52,"translate"),I.qZA(),I._UZ(53,"input",21),I.YNc(54,ll,3,3,"mat-error",11),I.YNc(55,ul,3,3,"mat-error",11),I.YNc(56,cl,3,3,"mat-error",11),I.YNc(57,pl,3,3,"mat-error",11),I.YNc(58,dl,3,3,"mat-error",11),I.qZA(),I.TgZ(59,"mat-radio-group",22),I.NdJ("ngModelChange",function(){return I.CHM(i),I.oxw().passwordOptionChanged()}),I.ALo(60,"translate"),I.TgZ(61,"mat-radio-button",23),I._uU(62),I.ALo(63,"translate"),I.qZA(),I.TgZ(64,"mat-radio-button",23),I._uU(65),I.ALo(66,"translate"),I.qZA(),I.qZA(),I.TgZ(67,"div",9),I.TgZ(68,"mat-form-field",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),I.TgZ(69,"mat-label"),I._uU(70),I.ALo(71,"translate"),I.qZA(),I._UZ(72,"input",25),I.YNc(73,gl,3,3,"mat-error",11),I.YNc(74,hl,3,3,"mat-error",11),I.qZA(),I.TgZ(75,"mat-form-field",24),I.NdJ("click",function(){return I.CHM(i),I.oxw().secondFormGroup.get("generatePasswordCtrl").setValue(!1)}),I.TgZ(76,"mat-label"),I._uU(77),I.ALo(78,"translate"),I.qZA(),I._UZ(79,"input",26),I.YNc(80,ml,3,3,"mat-error",11),I.YNc(81,fl,3,3,"mat-error",11),I.qZA(),I.TgZ(82,"p",27),I._uU(83),I.ALo(84,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.TgZ(85,"div",15),I.TgZ(86,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(87),I.ALo(88,"translate"),I.qZA(),I.TgZ(89,"button",28),I._uU(90),I.ALo(91,"translate"),I.qZA(),I.TgZ(92,"button",29),I._uU(93),I.ALo(94,"translate"),I.qZA(),I.qZA(),I.qZA(),I.TgZ(95,"mat-step"),I.YNc(96,Al,2,3,"ng-template",8),I.TgZ(97,"h6"),I._uU(98),I.ALo(99,"translate"),I.qZA(),I.TgZ(100,"mat-list"),I.YNc(101,Tl,10,9,"mat-list-item",30),I.qZA(),I.TgZ(102,"h6",31),I._uU(103),I.ALo(104,"translate"),I.qZA(),I.TgZ(105,"mat-form-field",32),I.TgZ(106,"input",33),I.NdJ("keyup.enter",function(){I.CHM(i);var t=I.oxw();return 0!==t.searchCtrl.value.length&&t.onSearchByString()}),I.ALo(107,"translate"),I.qZA(),I.qZA(),I.TgZ(108,"button",34),I.NdJ("click",function(){return I.CHM(i),I.oxw().onSearchByString()}),I.TgZ(109,"mat-icon"),I._uU(110,"search"),I.qZA(),I.qZA(),I.TgZ(111,"button",35),I.NdJ("click",function(){return I.CHM(i),I.oxw().addUsers()}),I._uU(112),I.ALo(113,"translate"),I.qZA(),I.YNc(114,vl,1,0,"mat-spinner",3),I.YNc(115,_l,3,2,"div",11),I.TgZ(116,"div",15),I.TgZ(117,"button",16),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCancel()}),I._uU(118),I.ALo(119,"translate"),I.qZA(),I.TgZ(120,"button",28),I._uU(121),I.ALo(122,"translate"),I.qZA(),I.TgZ(123,"button",36),I.NdJ("click",function(){return I.CHM(i),I.oxw().onCreate()}),I._uU(124),I.ALo(125,"translate"),I.qZA(),I.qZA(),I.qZA(),I.qZA(),I.qZA()}if(2&t){var a=I.oxw();I.xp6(1),I.Q6J("linear",!0),I.xp6(1),I.Q6J("stepControl",a.firstFormGroup),I.xp6(1),I.Q6J("formGroup",a.firstFormGroup),I.xp6(5),I.Oqu(I.lcZ(9,66,"DIALOGS.CREATE_SERVICE_MEMBER.NAME")),I.xp6(3),I.Q6J("ngIf",a.firstFormGroup.get("nameCtrl").hasError("required")),I.xp6(3),I.Oqu(I.lcZ(15,68,"DIALOGS.CREATE_SERVICE_MEMBER.EMAIL")),I.xp6(3),I.Q6J("ngIf",a.firstFormGroup.get("emailCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("emailCtrl").hasError("pattern")),I.xp6(3),I.Oqu(I.lcZ(22,70,"DIALOGS.CREATE_SERVICE_MEMBER.SUBJECT_DN")),I.xp6(2),I.Q6J("required",!!a.firstFormGroup.get("issuerCtrl").value&&0!==a.firstFormGroup.get("issuerCtrl").value.trim().length),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("subjectCtrl").hasError("required")),I.xp6(3),I.Oqu(I.lcZ(28,72,"DIALOGS.CREATE_SERVICE_MEMBER.ISSUER_DN")),I.xp6(2),I.Q6J("required",!!a.firstFormGroup.get("subjectCtrl").value&&0!==a.firstFormGroup.get("subjectCtrl").value.trim().length),I.xp6(1),I.Q6J("ngIf",a.firstFormGroup.get("issuerCtrl").hasError("required")),I.xp6(3),I.hij(" ",I.lcZ(34,74,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(2),I.Q6J("disabled",a.firstFormGroup.invalid||a.firstFormGroup.pending),I.xp6(1),I.hij(" ",I.lcZ(37,76,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),I.xp6(2),I.Q6J("stepControl",a.secondFormGroup),I.xp6(1),I.Q6J("formGroup",a.secondFormGroup),I.xp6(5),I.Oqu(I.lcZ(45,78,"DIALOGS.CREATE_SERVICE_MEMBER.NAMESPACE")),I.xp6(3),I.Q6J("ngForOf",a.passwordNamespaces),I.xp6(1),I.s9C("matTooltip",I.lcZ(49,80,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN_DISABLED")),I.Q6J("matTooltipDisabled",a.secondFormGroup.get("loginCtrl").enabled),I.xp6(3),I.Oqu(I.lcZ(52,82,"DIALOGS.CREATE_SERVICE_MEMBER.LOGIN")),I.xp6(3),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("loginExists")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("pattern")&&!a.secondFormGroup.get("loginCtrl").hasError("minlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("maxlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("loginCtrl").hasError("minlength")),I.xp6(1),I.s9C("matTooltip",I.lcZ(60,84,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_NOT_SUPPORTED")),I.Q6J("matTooltipDisabled","Not selected"!==a.secondFormGroup.get("namespaceCtrl").value),I.xp6(2),I.Q6J("checked",a.secondFormGroup.get("generatePasswordCtrl").value&&a.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!0),I.xp6(1),I.hij(" ",I.lcZ(63,86,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_RANDOM")," "),I.xp6(2),I.Q6J("checked",!a.secondFormGroup.get("generatePasswordCtrl").value&&a.secondFormGroup.get("generatePasswordCtrl").enabled)("value",!1),I.xp6(1),I.hij(" ",I.lcZ(66,88,"DIALOGS.CREATE_SERVICE_MEMBER.ENTER_PASSWORD")," "),I.xp6(2),I.ekj("input-disabled",a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(3),I.Oqu(I.lcZ(71,90,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD")),I.xp6(2),I.Q6J("required",!a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordCtrl").hasError("isWeak")&&!a.secondFormGroup.get("passwordCtrl").hasError("minlength")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordCtrl").hasError("minlength")),I.xp6(3),I.Oqu(I.lcZ(78,92,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_AGAIN")),I.xp6(2),I.Q6J("required",!a.secondFormGroup.get("generatePasswordCtrl").value),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordAgainCtrl").hasError("required")),I.xp6(1),I.Q6J("ngIf",a.secondFormGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),I.xp6(2),I.Oqu(I.lcZ(84,94,"DIALOGS.CREATE_SERVICE_MEMBER.PASSWORD_INFO")),I.xp6(4),I.hij(" ",I.lcZ(88,96,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(3),I.hij(" ",I.lcZ(91,98,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),I.xp6(2),I.Q6J("disabled",a.secondFormGroup.invalid||a.secondFormGroup.pending),I.xp6(1),I.hij(" ",I.lcZ(94,100,"DIALOGS.CREATE_SERVICE_MEMBER.NEXT")," "),I.xp6(5),I.Oqu(I.lcZ(99,102,"DIALOGS.CREATE_SERVICE_MEMBER.ASSOCIATED_USERS")),I.xp6(3),I.Q6J("ngForOf",a.assignedMembers),I.xp6(2),I.Oqu(I.lcZ(104,104,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_INFO")),I.xp6(3),I.s9C("placeholder",I.lcZ(107,106,"DIALOGS.CREATE_SERVICE_MEMBER.SEARCH_PLACEHOLDER")),I.Q6J("formControl",a.searchCtrl),I.xp6(2),I.Q6J("disabled",a.loading||0===a.searchCtrl.value.length),I.xp6(3),I.Q6J("disabled",0===a.selection.selected.length),I.xp6(1),I.Oqu(I.lcZ(113,108,"DIALOGS.CREATE_SERVICE_MEMBER.ADD_USER")),I.xp6(2),I.Q6J("ngIf",a.loading),I.xp6(1),I.Q6J("ngIf",!a.loading),I.xp6(3),I.hij(" ",I.lcZ(119,110,"DIALOGS.CREATE_SERVICE_MEMBER.CANCEL")," "),I.xp6(3),I.hij(" ",I.lcZ(122,112,"DIALOGS.CREATE_SERVICE_MEMBER.BACK")," "),I.xp6(2),I.Q6J("disabled",a.firstFormGroup.invalid||"Not selected"!==a.secondFormGroup.get("namespaceCtrl").value&&a.secondFormGroup.invalid),I.xp6(1),I.Oqu(I.lcZ(125,114,"DIALOGS.CREATE_SERVICE_MEMBER.CREATE"))}}function Nl(t,e){1&t&&I._UZ(0,"mat-spinner",44)}var Ol=function(){var t=function(){function t(e,i,a,o,r,s,l,u,c){var p=this;n(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=a,this.usersManagerService=o,this.notificator=r,this.translate=s,this.store=l,this._formBuilder=u,this.tableConfigService=c,this.passwordNamespaces=[],this.firstSearchDone=!1,this.searchCtrl=new Ie.NI(""),this.members=[],this.selection=new dn.Ov(!0,[]),this.tableId=En.j1,this.assignedMembers=[],this.candidate={},this.successMessageMember="",this.successMessagePwd="",s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_MEMBER").subscribe(function(t){return p.successMessageMember=t}),s.get("DIALOGS.CREATE_SERVICE_MEMBER.SUCCESS_PWD").subscribe(function(t){return p.successMessagePwd=t})}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.firstFormGroup=this._formBuilder.group({nameCtrl:["",Ie.kI.required],emailCtrl:["",[Ie.kI.required,Ie.kI.pattern("\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(.\\w{2,3})+")]],subjectCtrl:[null],issuerCtrl:[null]}),this.secondFormGroup=this._formBuilder.group({namespaceCtrl:["Not selected"],loginCtrl:["",[Ie.kI.pattern("^[a-z][a-z0-9_-]+$"),Ie.kI.maxLength(15),Ie.kI.minLength(2)]],passwordCtrl:["",Ie.kI.compose([g.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),Ie.kI.minLength(10)])],passwordAgainCtrl:[""],generatePasswordCtrl:[!0]},{validator:g.dN.passwordMatchValidator}),this.onNamespaceChanged("Not selected"),this.passwordNamespaces=["Not selected"].concat(this.store.get("password_namespace_attributes").map(function(t){return t.split(":")[6].toUpperCase()})),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);var i=this.store.getPerunPrincipal().user;this.membersManagerService.getMembersByUser(i.id).subscribe(function(a){var n,o={},r=e(a);try{for(r.s();!(n=r.n()).done;){var s=n.value;s.voId===t.data.voId&&(o=s)}}catch(l){r.e(l)}finally{r.f()}o.user=i,t.assignedMembers.push(o)})}},{key:"existingLoginValidator",value:function(){var t=this;return function(e){var i=t.secondFormGroup.get("namespaceCtrl").value.toLowerCase();return i="not selected"===i?"mu":i,e.valueChanges.pipe((0,Hs.b)(500),(0,Xs.q)(1),(0,$s.w)(function(){return t.usersManagerService.isLoginAvailable(i,e.value).pipe((0,Jr.U)(function(t){return t?null:{loginExists:!0}}))}))}}},{key:"onCreate",value:function(){var t=this;this.processing=!0,this.candidate.firstName="",this.candidate.lastName=this.firstFormGroup.get("nameCtrl").value,this.candidate.attributes={},this.candidate.attributes["urn:perun:member:attribute-def:def:mail"]=this.firstFormGroup.get("emailCtrl").value,"Not selected"!==this.secondFormGroup.get("namespaceCtrl").value&&(this.candidate.attributes["urn:perun:user:attribute-def:def:login-namespace:".concat(this.secondFormGroup.get("namespaceCtrl").value.toLowerCase())]=this.secondFormGroup.get("loginCtrl").value);var e=this.firstFormGroup.get("subjectCtrl");e&&e.value&&(this.candidate.userExtSource={},this.candidate.userExtSource.login=e.value,this.candidate.userExtSource.loa=0,this.candidate.userExtSource.extSource={},this.candidate.userExtSource.extSource.name=this.firstFormGroup.get("issuerCtrl").value,this.candidate.userExtSource.extSource.type="cz.metacentrum.perun.core.impl.ExtSourceX509"),this.membersManagerService.createSpecificMember({vo:this.data.voId,specificUserType:"SERVICE",specificUserOwners:this.assignedMembers.map(function(t){return t.user}),candidate:this.candidate}).subscribe(function(e){t.membersManagerService.validateMemberAsync(e.id).subscribe(function(e){t.notificator.showSuccess(t.successMessageMember),"Not selected"!==t.secondFormGroup.get("namespaceCtrl").value?t.setPassword(e,t.secondFormGroup.get("generatePasswordCtrl").value):(t.dialogRef.close(!0),t.processing=!1)},function(){return t.processing=!1})},function(){return t.processing=!1})}},{key:"setPassword",value:function(t,e){var i=this,a=this.secondFormGroup.get("loginCtrl").value,n=this.secondFormGroup.get("namespaceCtrl").value.toLowerCase(),o=this.secondFormGroup.get("passwordCtrl").value;e?this.usersManagerService.reserveRandomPassword(t.userId,n).subscribe(function(){i.usersManagerService.validatePasswordForUser(t.userId,n).subscribe(function(){i.validateMember(t.id)},function(){i.processing=!1,i.dialogRef.close(!0)})},function(){i.processing=!1,i.dialogRef.close(!0)}):this.usersManagerService.reservePasswordForLogin(a,n,o).subscribe(function(){i.usersManagerService.validatePasswordForLogin(a,n).subscribe(function(){i.validateMember(t.id)},function(){i.processing=!1,i.dialogRef.close(!0)})},function(){i.processing=!1,i.dialogRef.close(!0)})}},{key:"validateMember",value:function(t){var e=this;this.membersManagerService.validateMemberAsync(t).subscribe(function(){e.notificator.showSuccess(e.successMessagePwd),e.dialogRef.close(!0),e.processing=!1},function(){e.processing=!1,e.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSearchByString",value:function(){var t=this;this.loading=!0,this.membersManagerService.findCompleteRichMembersForVo(this.data.voId,[null],this.searchCtrl.value).subscribe(function(e){t.members=e.filter(function(t){return!t.user.specificUser}),t.firstSearchDone=!0,t.loading=!1})}},{key:"addUsers",value:function(){var t=this,e=this.assignedMembers.map(function(t){return t.id});this.selection.selected.forEach(function(i){e.includes(i.id)||t.assignedMembers.push(i)}),this.selection.clear()}},{key:"removeUser",value:function(t){this.assignedMembers=this.assignedMembers.filter(function(e){return e.id!==t.id})}},{key:"onNamespaceChanged",value:function(t){var e=this.secondFormGroup.get("loginCtrl"),i=this.secondFormGroup.get("passwordCtrl"),a=this.secondFormGroup.get("passwordAgainCtrl"),n=this.secondFormGroup.get("generatePasswordCtrl");if("Not selected"!==t){var o=[Ie.kI.required,Ie.kI.pattern("^[a-z][a-z0-9_-]+$"),Ie.kI.maxLength(15),Ie.kI.minLength(2)];(0,g.mH)(e,o,[this.existingLoginValidator()]),(0,g.mH)(n,[]),this.passwordOptionChanged()}else e.disable(),e.setValue(""),i.disable(),i.setValue(""),a.disable(),a.setValue(""),n.disable(),n.dirty||n.setValue(!0)}},{key:"passwordOptionChanged",value:function(){var t=this.secondFormGroup.get("passwordCtrl"),e=this.secondFormGroup.get("passwordAgainCtrl");if(this.secondFormGroup.get("generatePasswordCtrl").value)t.disable(),t.setValue(""),e.disable(),e.setValue("");else{var i=[Ie.kI.required,g.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),Ie.kI.minLength(10)];(0,g.mH)(t,i),(0,g.mH)(e,[])}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(I.Y36(v.so),I.Y36(v.WI),I.Y36(d.uq),I.Y36(d.Fv),I.Y36(h.V6),I.Y36(O.sK),I.Y36(h.d6),I.Y36(Ie.qu),I.Y36(En.dB))},t.\u0275cmp=I.Xpm({type:t,selectors:[["app-create-service-member-dialog"]],decls:6,vars:5,consts:[[1,"vo-theme"],[1,"mat-dialog-title"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"display-flex"],["formControlName","nameCtrl","matInput","","required",""],[4,"ngIf"],["formControlName","emailCtrl","matInput","","required","","type","email"],["formControlName","subjectCtrl","matInput","",3,"required"],["formControlName","issuerCtrl","matInput","",3,"required"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-auto",3,"disabled"],["formControlName","namespaceCtrl",3,"valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltipDisabled","matTooltip"],["formControlName","loginCtrl","matInput","","required",""],["formControlName","generatePasswordCtrl","matTooltipPosition","left",1,"display-flex","mt-3",3,"matTooltipDisabled","matTooltip","ngModelChange"],[3,"checked","value"],[3,"click"],["formControlName","passwordCtrl","matInput","","type","password",3,"required"],["formControlName","passwordAgainCtrl","matInput","","type","password",3,"required"],[1,"white-space-pre"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["color","accent","mat-flat-button","","matStepperNext","",1,"ml-2",3,"disabled"],[4,"ngFor","ngForOf"],[1,"mt-3"],[1,"mr-2","w-50"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","primary","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"truncate","center-content"],["class","text-muted",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-icon-button","",1,"ml-1",3,"disabled","click"],[1,"margin-bottom"],[1,"text-muted"],[1,"ml-auto","mr-auto"],[3,"disableRouting","displayedColumns","members","pageSize","selection",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"disableRouting","displayedColumns","members","pageSize","selection"],[3,"alert_type"]],template:function(t,e){1&t&&(I.TgZ(0,"div",0),I.TgZ(1,"h1",1),I._uU(2),I.ALo(3,"translate"),I.qZA(),I.YNc(4,Sl,126,116,"div",2),I.YNc(5,Nl,1,0,"mat-spinner",3),I.qZA()),2&t&&(I.xp6(2),I.Oqu(I.lcZ(3,3,"DIALOGS.CREATE_SERVICE_MEMBER.TITLE")),I.xp6(2),I.Q6J("ngIf",!e.processing),I.xp6(1),I.Q6J("ngIf",e.processing))},directives:[s.O5,v.xY,Vr.Vq,Vr.C0,Ie._Y,Ie.JL,Ie.sg,Vr.VY,Ze.KE,Ze.hX,Ie.Fj,_e.Nt,Ie.JJ,Ie.u,Ie.Q7,v.H8,N.lW,Vr.Ic,be.gD,s.sg,_.gM,Te.VQ,Te.U0,Vr.fd,Ws.i$,Ie.oH,b.Hw,Ze.TO,Se.ey,Ws.Tg,Z.$g,Ks.O,mt.w],pipes:[O.X$,Ut.d],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.input-disabled[_ngcontent-%COMP%]{pointer-events:none;color:#888}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}.margin-bottom[_ngcontent-%COMP%]{margin-bottom:6px}"]}),t}(),xl=o(4374);function Cl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",7),I.NdJ("click",function(){return I.CHM(i),I.oxw().createServiceMember()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}2&t&&(I.xp6(1),I.hij(" ",I.lcZ(2,1,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.CREATE"),"\n"))}function Ll(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"button",8),I.NdJ("click",function(){return I.CHM(i),I.oxw().onRemoveMembers()}),I._uU(1),I.ALo(2,"translate"),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("disabled",a.selection.isEmpty()),I.xp6(1),I.hij(" ",I.lcZ(2,2,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.DELETE"),"\n")}}function Rl(t,e){1&t&&I._UZ(0,"mat-spinner",9)}var Ml=function(){return["checkbox","id","type","fullName","status"]};function Dl(t,e){if(1&t){var i=I.EpF();I.TgZ(0,"perun-web-apps-members-list",10),I.NdJ("page",function(t){return I.CHM(i),I.oxw().pageChanged(t)}),I.qZA()}if(2&t){var a=I.oxw();I.Q6J("displayedColumns",I.DdM(5,Ml))("filter",a.searchString)("members",a.members)("pageSize",a.pageSize)("selection",a.selection)}}var yl,Ul,ql=[{path:"",component:u.Y},{path:":voId",component:lt,children:[{path:"",component:W,data:{animation:"VoOverviewPage"}},{path:"attributes",component:ge,data:{animation:"VoAttributesPage"}},{path:"groups",component:K.G,data:{animation:"VoGroupsPage"}},{path:"members",component:tt.y,data:{animation:"VoMembersPage"}},{path:"resources",component:ue,children:[{path:"",component:un,data:{animation:"VoResourcesOverviewPage"}},{path:"preview",component:cn.z,data:{animation:"VoResourcesPreviewPage"}},{path:"states",component:pn.z,data:{animation:"VoResourcesStatesPage"}},{path:"tags",component:Cn,data:{animation:"VoResourcesTagsPage"}}]},{path:"applications",component:ce.c,data:{animation:"VoApplicationsPage"}},{path:"applications/:applicationId",component:Di,data:{animation:"VoApplicationDetailPage"}},{path:"sponsoredMembers",component:Ts.T,data:{animation:"VoSettingsSponsoredMembersPage"}},{path:"serviceAccounts",component:(yl=function(){function t(e,i,a,o,r,s){n(this,t),this.membersManager=e,this.route=i,this.dialog=a,this.authResolver=o,this.tableConfigService=r,this.authzService=s,this.members=[],this.selection=new dn.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=En._c}return r(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.voId=e.voId,t.refresh()}),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[{beanName:"",id:this.voId}])}},{key:"createServiceMember",value:function(){var t=this,e=(0,g.kZ)();e.width="750px",e.data={voId:this.voId},this.dialog.open(Ol,e).afterClosed().subscribe(function(e){e&&t.refresh()})}},{key:"onRemoveMembers",value:function(){var t=this,e=(0,g.kZ)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(xl.X,e).afterClosed().subscribe(function(e){e&&(t.refresh(),t.selection.clear())})}},{key:"applyFilter",value:function(t){this.searchString=t}},{key:"refresh",value:function(){var t=this;this.loading=!0,this.membersManager.findCompleteRichMembersForVo(this.voId,[null],"(Service)").subscribe(function(e){t.members=e,t.loading=!1})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}(),yl.\u0275fac=function(t){return new(t||yl)(I.Y36(d.uq),I.Y36(l.gz),I.Y36(v.uw),I.Y36(h.x4),I.Y36(En.dB),I.Y36(h.x4))},yl.\u0275cmp=I.Xpm({type:yl,selectors:[["app-vo-settings-service-members"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","filter","members","pageSize","selection","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","filter","members","pageSize","selection","page"]],template:function(t,e){1&t&&(I.TgZ(0,"h1",0),I._uU(1),I.ALo(2,"translate"),I.qZA(),I.TgZ(3,"perun-web-apps-refresh-button",1),I.NdJ("refresh",function(){return e.refresh()}),I.qZA(),I.YNc(4,Cl,3,3,"button",2),I.YNc(5,Ll,3,4,"button",3),I.TgZ(6,"perun-web-apps-immediate-filter",4),I.NdJ("filter",function(t){return e.applyFilter(t)}),I.qZA(),I.YNc(7,Rl,1,0,"mat-spinner",5),I.YNc(8,Dl,1,6,"perun-web-apps-members-list",6)),2&t&&(I.xp6(1),I.Oqu(I.lcZ(2,6,"VO_DETAIL.SETTINGS.SERVICE_MEMBERS.TITLE")),I.xp6(3),I.Q6J("ngIf",!e.loading),I.xp6(1),I.Q6J("ngIf",e.removeAuth),I.xp6(1),I.Q6J("placeholder","VO_DETAIL.SETTINGS.SERVICE_MEMBERS.FILTER"),I.xp6(1),I.Q6J("ngIf",e.loading),I.xp6(1),I.Q6J("ngIf",!e.loading))},directives:[Zn.t,s.O5,bn.L,N.lW,Z.$g,Ks.O],pipes:[O.X$],styles:[""]}),yl),data:{animation:"VoSettingsServiceMembersPage"}},{path:"statistics",component:Ds,data:{animation:"VoStatisticsPage"}},{path:"settings",component:pe,children:[{path:"",component:fe,data:{animation:"VoSettingsOverviewPage"}},{path:"expiration",component:Ye,data:{animation:"VoSettingsExpirationPage"}},{path:"managers",component:Qe,data:{animation:"VoSettingsManagersPage"}},{path:"applicationForm",component:$i.w,data:{animation:"SettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Ba,data:{animation:"SettingsApplicationFormPreviewPage"}},{path:"applicationForm/manageGroups",component:Bs},{path:"notifications",component:Po,data:{animation:"SettingsApplicationFormNotificationsPage"}},{path:"extsources",component:gr,data:{animation:"VoSettingsExtSourcesPage"}}]}]},{path:":voId/members/:memberId",component:j,children:[{path:"",component:ee,data:{animation:"MemberOverviewPage"}},{path:"attributes",component:ln,data:{animation:"MemberAttributesPage"}},{path:"groups",component:ie.j,data:{animation:"MemberGroupsPage"}},{path:"applications",component:kr,data:{animation:"MemberApplicationsPage"}},{path:"applications/:applicationId",component:Di,data:{animation:"MemberApplicationDetailPage"}},{path:"resources",component:us,data:{animation:"MemberResourcesPage"}}]},{path:":voId/groups/:groupId",component:k,children:[{path:"",component:se,data:{animation:"GroupOverviewPage"}},{path:"members",component:yi.y,data:{animation:"GroupMembersPage"}},{path:"subgroups",component:le.u,data:{animation:"GroupSubgroupsPage"}},{path:"applications",component:Je.W,data:{animation:"GroupApplicationsPage"}},{path:"resources",component:Ui.q,data:{animation:"GroupResourcesPage"}},{path:"attributes",component:Bi,data:{animation:"GroupAttributesPage"}},{path:"statistics",component:qs,data:{animation:"GroupStatisticsPage"}},{path:"settings",component:qi,children:[{path:"",component:Xi,data:{animation:"GroupSettingsOverviewPage"}},{path:"expiration",component:Rn,data:{animation:"GroupSettingsExpirationPage"}},{path:"managers",component:Dn,data:{animation:"GroupSettingsManagersPage"}},{path:"applicationForm",component:Go.Z,data:{animation:"GroupSettingsApplicationFormPage"}},{path:"applicationForm/preview",component:Ba},{path:"notifications",component:Ho,data:{animation:"GroupSettingsNotificationsPage"}},{path:"relations",component:Rr,data:{animation:"GroupSettingsRelationsPage"}},{path:"extsources",component:_s,data:{animation:"GroupSettingsExtsourcesPage"}}]},{path:"applications/:applicationId",component:Di,data:{animation:"GroupApplicationDetailPage"}}]},{path:":voId/resources/:resourceId",component:cs.b,children:[{path:"",component:ps.H,data:{animation:"ResourceOverviewPage"}},{path:"groups",component:ds.K,data:{animation:"ResourceGroupsComponent"}},{path:"services",component:As.D,data:{animation:"ResourceAssignedServicesComponent"}},{path:"attributes",component:ms.X,data:{animation:"ResourceAttributesPage"}},{path:"members",component:Is.y,data:{animation:"ResourceAssignedMembersComponent"}},{path:"tags",component:js.v,data:{animation:"ResourceTagsComponent"}},{path:"settings",component:gs.t,children:[{path:"",component:hs.h,data:{animation:"ResourceSettingsOverviewPage"}},{path:"managers",component:fs.O,data:{animation:"ResourceSettingsManagersPage"}}]}]}],wl=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=I.oAB({type:t}),t.\u0275inj=I.cJS({imports:[[l.Bz.forChild(ql)],l.Bz]}),t}(),Pl=o(28780),Gl=o(22727),kl=o(22280),Yl=((Ul=function t(){n(this,t)}).\u0275fac=function(t){return new(t||Ul)},Ul.\u0275mod=I.oAB({type:Ul}),Ul.\u0275inj=I.cJS({imports:[[s.ez,wl,Pl.m,Gl.r,Nr.ez,kl.d4,g.Je]]}),Ul)}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/579-es2015.a7ecabb9fc862945e886.js b/dist/apps/admin-gui/579-es2015.a7ecabb9fc862945e886.js deleted file mode 100644 index d4bfb4635..000000000 --- a/dist/apps/admin-gui/579-es2015.a7ecabb9fc862945e886.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[579],{21575:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var s=i(17),n=i(31572),a=i(57629);let r=(()=>{class t{constructor(){}prepareRoute(t){return t&&t.activatedRouteData&&t.activatedRouteData.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(t,e){1&t&&(n.TgZ(0,"div"),n._UZ(1,"router-outlet",null,0),n.qZA())},directives:[a.lC],styles:[""],data:{animation:[s.Ji]}}),t})()},40695:function(t,e,i){"use strict";i.d(e,{n:function(){return S}});var s=i(84608),n=i(4230),a=i(88426),r=i(33642),c=i(60611),o=(i(41939),i(31572)),l=i(48160),u=i(19139),d=i(61511),h=i(15980),b=i(39571),p=i(67806),g=i(41186);const f=["list"];function E(t,e){1&t&&(o.TgZ(0,"app-alert",10),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function m(t,e){1&t&&o._UZ(0,"mat-spinner",11)}function y(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"perun-web-apps-attributes-list",12,13),o.NdJ("page",function(e){return o.CHM(t),o.oxw().pageChanged(e)}),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("attributes",t.attributes)("filterValue",t.filterValue)("inDialog",!0)("pageSize",t.pageSize)("selection",t.selected)}}let S=(()=>{class t{constructor(t,e,i,s,a,r){this.dialogRef=t,this.data=e,this.attributesManager=i,this.notificator=s,this.tableConfigService=a,this.translate=r,this.selected=new n.Ov(!0,[]),this.showError=!1,this.filterValue="",this.tableId=c.rF,this.translate.get("DIALOGS.CREATE_ATTRIBUTE.SUCCESS_SAVE").subscribe(t=>this.saveSuccessMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=new Array;let e,i,s,n,a,r,c,o;switch(this.data.notEmptyAttributes.forEach(e=>{t.push(e.id)}),this.data.entity){case"member":e=this.data.entityId;break;case"user":i=this.data.entityId;break;case"vo":s=this.data.entityId;break;case"group":n=this.data.entityId;break;case"resource":a=this.data.entityId;break;case"facility":r=this.data.entityId;break;case"host":c=this.data.entityId;break;case"ues":o=this.data.entityId}switch(this.data.secondEntity){case"member":e=this.data.secondEntityId;break;case"user":i=this.data.secondEntityId;break;case"vo":s=this.data.secondEntityId;break;case"group":n=this.data.secondEntityId;break;case"resource":a=this.data.secondEntityId;break;case"facility":r=this.data.secondEntityId;break;case"host":c=this.data.secondEntityId;break;case"ues":o=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(e,i,s,n,a,r,c,o).subscribe(e=>{this.attributes=e,this.attributes=this.attributes.filter(e=>!t.includes(e.id)&&this.twoEntityValid(e)),this.loading=!1})}onCancel(){this.dialogRef.close()}onSave(){this.list.updateMapAttributes();let t=!1;for(const e of this.selected.selected)"java.util.ArrayList"===e.type&&0===e.value.length&&(t=!0),void 0===e.value&&(t=!0);if(t)return this.showError=!0,void setTimeout(()=>{this.showError=!1},5e3);switch(this.data.entity){case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}}applyFilter(t){this.filterValue=t}handleSuccess(){this.notificator.showSuccess(this.saveSuccessMessage),this.selected.clear(),this.dialogRef.close("saved")}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}twoEntityValid(t){return!this.data.secondEntity||t.entity===`${this.data.entity}_${this.data.secondEntity}`}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.so),o.Y36(s.WI),o.Y36(r.H8),o.Y36(a.V6),o.Y36(c.dB),o.Y36(l.sK))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-create-attribute-dialog"]],viewQuery:function(t,e){if(1&t&&o.Gf(f,5),2&t){let t;o.iGM(t=o.CRH())&&(e.list=t.first)}},decls:17,vars:17,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","ml-3 font-size-1rem","alert_type","error",4,"ngIf"],["mat-dialog-content",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"attributes","filterValue","inDialog","pageSize","selection","page",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","error",1,"ml-3","font-size-1rem"],[1,"ml-auto","mr-auto"],[3,"attributes","filterValue","inDialog","pageSize","selection","page"],["list",""]],template:function(t,e){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",0),o.TgZ(2,"h1",1),o._uU(3),o.ALo(4,"translate"),o.qZA(),o.TgZ(5,"perun-web-apps-immediate-filter",2),o.NdJ("filter",function(t){return e.applyFilter(t)}),o.qZA(),o.YNc(6,E,3,3,"app-alert",3),o.qZA(),o.TgZ(7,"div",4),o.YNc(8,m,1,0,"mat-spinner",5),o.YNc(9,y,2,5,"perun-web-apps-attributes-list",6),o.qZA(),o.TgZ(10,"div",7),o.TgZ(11,"button",8),o.NdJ("click",function(){return e.onCancel()}),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"button",9),o.NdJ("click",function(){return e.onSave()}),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Tol(e.data.style),o.xp6(3),o.Oqu(o.lcZ(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),o.xp6(2),o.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),o.xp6(1),o.Q6J("ngIf",e.showError),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",void 0!==e.attributes&&!e.loading),o.xp6(3),o.hij(" ",o.lcZ(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),o.xp6(2),o.Q6J("disabled",0===e.selected.selected.length),o.xp6(1),o.hij(" ",o.lcZ(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[s.uh,u.L,d.O5,s.xY,s.H8,h.lW,b.w,p.$g,g.p],pipes:[l.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})()},13572:function(t,e,i){"use strict";i.d(e,{k:function(){return m}});var s=i(84608),n=i(67033),a=i(88426),r=i(33642),c=i(31572),o=i(48160),l=i(61511),u=i(15980),d=i(67806);function h(t,e){1&t&&c._UZ(0,"mat-spinner",6)}function b(t,e){1&t&&c._UZ(0,"th",15)}function p(t,e){if(1&t&&(c.TgZ(0,"td",16),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",t.displayName," ")}}function g(t,e){1&t&&c._UZ(0,"tr",17)}function f(t,e){1&t&&c._UZ(0,"tr",18)}function E(t,e){if(1&t&&(c.TgZ(0,"div",7),c.TgZ(1,"div"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",8),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",9),c.ynx(8,10),c.YNc(9,b,1,0,"th",11),c.YNc(10,p,2,1,"td",12),c.BQk(),c.YNc(11,g,1,0,"tr",13),c.YNc(12,f,1,0,"tr",14),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),c.xp6(2),c.Q6J("dataSource",t.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",t.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",t.displayedColumns)}}let m=(()=>{class t{constructor(t,e,i,s,n){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.attributesManager=n,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.dataSource=new n.by(this.data.attributes),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=[];for(const i of this.data.attributes)t.push(i.id);const e={};switch(e[this.data.entity]=this.data.entityId,e.attributes=t,void 0!==this.data.secondEntity&&(e[this.data.secondEntity]=this.data.secondEntityId),this.loading=!0,this.data.entity){case"vo":this.attributesManager.removeVoAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.removeGroupResourceAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeGroupAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.removeUserFacilityAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeUserAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.removeMemberResourceAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":this.attributesManager.removeMemberGroupAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeMemberAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"facility":this.attributesManager.removeFacilityAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"host":this.attributesManager.removeHostAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"ues":this.attributesManager.removeUesAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.removeResourceAttributes(this.data.entityId,t).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.DELETE_ATTRIBUTES.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(s.so),c.Y36(s.WI),c.Y36(a.V6),c.Y36(o.sK),c.Y36(r.H8))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-delete-attribute-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,h,1,0,"mat-spinner",1),c.YNc(5,E,13,9,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return e.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return e.onSubmit()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.Tol(e.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[s.uh,l.O5,s.H8,u.lW,d.$g,s.xY,n.BZ,n.w1,n.fO,n.Dz,n.as,n.nj,n.ge,n.ev,n.XQ,n.Gk],pipes:[o.X$],styles:[""]}),t})()},541:function(t,e,i){"use strict";i.d(e,{t:function(){return A}});var s=i(33642),n=i(4230),a=i(84140),r=i(40695),c=i(61189),o=i(13572),l=(i(41939),i(60611)),u=i(31572),d=i(84608),h=i(59403),b=i(15980),p=i(19139),g=i(61511),f=i(67806),E=i(41186),m=i(48160);const y=["list"];function S(t,e){1&t&&u._UZ(0,"mat-spinner",7)}function I(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-attributes-list",8,9),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("attributes",t.attributes)("selection",t.selection)}}let A=(()=>{class t{constructor(t,e,i){this.attributesManagerService=t,this.tableConfigService=e,this.dialog=i,this.attributes=[],this.selection=new n.Ov(!0,[]),this.filterValue="",this.tableId=l.rF,this.loading=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){switch(this.loading=!0,this.entity){case"member":this.attributesManagerService.getMemberAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"group":this.attributesManagerService.getGroupAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"user":this.attributesManagerService.getUserAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"resource":this.attributesManagerService.getResourceAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"facility":this.attributesManagerService.getFacilityAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"vo":this.attributesManagerService.getVoAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1})}}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCreate(){const t=(0,a.kZ)();t.width="1050px",t.data={entityId:this.entityId,entity:this.entity,notEmptyAttributes:this.attributes,style:this.entity+"-theme"},this.dialog.open(r.n,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=(0,a.kZ)();t.width="450px",t.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(c.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,a.kZ)();t.width="450px",t.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(o.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(s.H8),u.Y36(l.dB),u.Y36(d.uw))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-one-entity-attribute-page"]],viewQuery:function(t,e){if(1&t&&u.Gf(y,5),2&t){let t;u.iGM(t=u.CRH())&&(e.list=t.first)}},inputs:{entity:"entity",entityId:"entityId"},decls:13,vars:14,consts:[[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mt-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(u.TgZ(0,"perun-web-apps-refresh-button",0),u.NdJ("refresh",function(){return e.refreshTable()}),u.qZA(),u.TgZ(1,"button",1),u.NdJ("click",function(){return e.onCreate()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"button",2),u.NdJ("click",function(){return e.onSave()}),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"button",3),u.NdJ("click",function(){return e.onDelete()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"perun-web-apps-immediate-filter",4),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.qZA(),u.YNc(11,S,1,0,"mat-spinner",5),u.YNc(12,I,2,4,"perun-web-apps-attributes-list",6)),2&t&&(u.xp6(2),u.hij(" ",u.lcZ(3,8,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE"),"\n"),u.xp6(2),u.Q6J("disabled",0===e.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(6,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE"),"\n"),u.xp6(2),u.Q6J("disabled",0===e.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE"),"\n"),u.xp6(2),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[h.t,b.lW,p.L,g.O5,f.$g,E.p],pipes:[m.X$],styles:[""]}),t})()},69012:function(t,e,i){"use strict";i.d(e,{Y:function(){return O}});var s=i(33642),n=(i(41939),i(4230)),a=i(13572),r=i(84140),c=i(61189),o=i(40695),l=i(67004),u=i(31572),d=i(84608),h=i(61511),b=i(67806),p=i(39571),g=i(59403),f=i(15980),E=i(37665),m=i(44973),y=i(48160);let S=(()=>{class t{constructor(){this.resourceSelected=new u.vpe,this.nameFunction=t=>t.name}ngOnInit(){this.resources=this.resources.sort(r.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=u.Xpm({type:t,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resources:"resources"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(u.TgZ(0,"perun-web-apps-entity-search-select",0),u.NdJ("entitySelected",function(t){return e.resourceSelected.emit(t)}),u.ALo(1,"translate"),u.ALo(2,"translate"),u.ALo(3,"translate"),u.qZA()),2&t&&u.Q6J("entities",e.resources)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",u.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",u.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",u.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})(),I=(()=>{class t{constructor(){this.memberSelected=new u.vpe,this.memberFullNameFunction=t=>(0,r.bD)(t.user)}ngOnInit(){this.members=this.members.sort(r.fx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=u.Xpm({type:t,selectors:[["perun-web-apps-member-search-select"]],inputs:{members:"members"},outputs:{memberSelected:"memberSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(u.TgZ(0,"perun-web-apps-entity-search-select",0),u.NdJ("entitySelected",function(t){return e.memberSelected.emit(t)}),u.ALo(1,"translate"),u.ALo(2,"translate"),u.ALo(3,"translate"),u.qZA()),2&t&&u.Q6J("entities",e.members)("searchFunction",e.memberFullNameFunction)("mainTextFunction",e.memberFullNameFunction)("selectPlaceholder",u.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",u.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",u.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})(),A=(()=>{class t{constructor(){this.facilitySelected=new u.vpe,this.nameFunction=t=>t.name}ngOnInit(){this.facilities=this.facilities.sort(r.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=u.Xpm({type:t,selectors:[["perun-web-apps-facility-search-select"]],inputs:{facilities:"facilities"},outputs:{facilitySelected:"facilitySelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(u.TgZ(0,"perun-web-apps-entity-search-select",0),u.NdJ("entitySelected",function(t){return e.facilitySelected.emit(t)}),u.ALo(1,"translate"),u.ALo(2,"translate"),u.ALo(3,"translate"),u.qZA()),2&t&&u.Q6J("entities",e.facilities)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",u.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",u.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",u.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})();var T=i(7927),w=i(41186);const M=["list"];function Z(t,e){1&t&&u._UZ(0,"mat-spinner",4)}function v(t,e){if(1&t&&(u.TgZ(0,"app-alert",5),u._uU(1),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Oqu(t.noEntityMessage)}}function C(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-group-search-select",17),u.NdJ("groupSelected",function(e){return u.CHM(t),u.oxw(2).specifySecondEntity(e)}),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("groups",t.entityValues)}}function R(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-resource-search-select",18),u.NdJ("resourceSelected",function(e){return u.CHM(t),u.oxw(2).specifySecondEntity(e)}),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("resources",t.entityValues)}}function x(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-member-search-select",19),u.NdJ("memberSelected",function(e){return u.CHM(t),u.oxw(2).specifySecondEntity(e)}),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("members",t.entityValues)}}function _(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-facility-search-select",20),u.NdJ("facilitySelected",function(e){return u.CHM(t),u.oxw(2).specifySecondEntity(e)}),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("facilities",t.entityValues)}}function L(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-user-search-select",21),u.NdJ("userSelected",function(e){return u.CHM(t),u.oxw(2).specifySecondEntity(e)}),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("users",t.entityValues)}}function N(t,e){1&t&&u._UZ(0,"mat-spinner",4)}function k(t,e){if(1&t&&u._UZ(0,"perun-web-apps-attributes-list",22,23),2&t){const t=u.oxw(2);u.Q6J("attributes",t.attributes)("selection",t.selection)}}function U(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",6),u.YNc(2,C,1,1,"perun-web-apps-group-search-select",7),u.YNc(3,R,1,1,"perun-web-apps-resource-search-select",8),u.YNc(4,x,1,1,"perun-web-apps-member-search-select",9),u.YNc(5,_,1,1,"perun-web-apps-facility-search-select",10),u.YNc(6,L,1,1,"perun-web-apps-user-search-select",11),u.qZA(),u.TgZ(7,"perun-web-apps-refresh-button",12),u.NdJ("refresh",function(){u.CHM(t);const e=u.oxw();return e.getAttributes(e.specificSecondEntity.id)}),u.qZA(),u.TgZ(8,"button",13),u.NdJ("click",function(){u.CHM(t);const e=u.oxw();return e.onAdd(e.specificSecondEntity.id)}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.TgZ(11,"button",14),u.NdJ("click",function(){u.CHM(t);const e=u.oxw();return e.onSave(e.specificSecondEntity.id)}),u._uU(12),u.ALo(13,"translate"),u.qZA(),u.TgZ(14,"button",15),u.NdJ("click",function(){u.CHM(t);const e=u.oxw();return e.onDelete(e.specificSecondEntity.id)}),u._uU(15),u.ALo(16,"translate"),u.qZA(),u.YNc(17,N,1,0,"mat-spinner",1),u.YNc(18,k,2,2,"perun-web-apps-attributes-list",16),u.qZA()}if(2&t){const t=u.oxw();u.xp6(2),u.Q6J("ngIf","group"===t.secondEntity),u.xp6(1),u.Q6J("ngIf","resource"===t.secondEntity),u.xp6(1),u.Q6J("ngIf","member"===t.secondEntity),u.xp6(1),u.Q6J("ngIf","facility"===t.secondEntity),u.xp6(1),u.Q6J("ngIf","user"===t.secondEntity),u.xp6(3),u.hij(" ",u.lcZ(10,12,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(13,14,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(16,16,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),u.xp6(2),u.Q6J("ngIf",t.innerLoading),u.xp6(1),u.Q6J("ngIf",!t.innerLoading)}}let O=(()=>{class t{constructor(t,e,i,s,a,r){this.attributesManagerService=t,this.resourcesManagerService=e,this.facilitiesManagerService=i,this.groupsManagerService=s,this.membersManager=a,this.dialog=r,this.entityValues=[],this.attributes=[],this.selection=new n.Ov(!0,[]),this.allowedStatuses=["INVALID","VALID"],this.loading=!1,this.innerLoading=!1}ngOnInit(){this.loadEntityValues(),this.setMessages(this.secondEntity.toLowerCase())}loadEntityValues(){switch(this.loading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAllowedResources(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"group":this.groupsManagerService.getMemberGroups(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAssignedResourcesWithGroup(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"member":this.membersManager.getCompleteRichMembersForGroup(this.firstEntityId,!1,this.allowedStatuses,null,[l.r.MEMBER_CORE_ID]).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"user":this.facilitiesManagerService.getAssignedFacilitiesByUser(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"resource":switch(this.secondEntity){case"member":this.resourcesManagerService.getAssignedRichMembers(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"group":this.resourcesManagerService.getAssignedGroups(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"facility":this.facilitiesManagerService.getAssignedUsers(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}}preselectEntity(){0!==this.entityValues.length&&this.specifySecondEntity(this.entityValues[0])}getAttributes(t){switch(this.innerLoading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.attributesManagerService.getMemberResourceAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"group":this.attributesManagerService.getMemberGroupAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.attributesManagerService.getGroupResourceAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"member":this.attributesManagerService.getMemberGroupAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"user":this.attributesManagerService.getUserFacilityAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"resource":switch(this.secondEntity){case"member":this.attributesManagerService.getMemberResourceAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"group":this.attributesManagerService.getGroupResourceAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"facility":this.attributesManagerService.getUserFacilityAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}}setMessages(t){this.noEntityMessage=`No ${t} assigned`}onSave(t){this.list.updateMapAttributes();const e=(0,r.kZ)();e.width="450px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,attributes:this.selection.selected},this.dialog.open(c.wA,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onDelete(t){const e=(0,r.kZ)();e.width="450px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,attributes:this.selection.selected,theme:`${this.firstEntity}-theme`},this.dialog.open(a.k,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onAdd(t){const e=(0,r.kZ)();e.width="1050px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,notEmptyAttributes:this.attributes,style:`${this.firstEntity}-theme`},this.dialog.open(o.n,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}specifySecondEntity(t){t&&(this.specificSecondEntity=t,this.getAttributes(this.specificSecondEntity.id))}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(s.H8),u.Y36(s.xk),u.Y36(s.IQ),u.Y36(s.ff),u.Y36(s.uq),u.Y36(d.uw))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-two-entity-attribute-page"]],viewQuery:function(t,e){if(1&t&&u.Gf(M,5),2&t){let t;u.iGM(t=u.CRH())&&(e.list=t.first)}},inputs:{firstEntityId:"firstEntityId",firstEntity:"firstEntity",secondEntity:"secondEntity"},decls:4,vars:3,consts:[[1,"mt-3"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"flex-row"],[3,"groups","groupSelected",4,"ngIf"],[3,"resources","resourceSelected",4,"ngIf"],[3,"members","memberSelected",4,"ngIf"],[3,"facilities","facilitySelected",4,"ngIf"],[3,"users","userSelected",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"attributes","selection",4,"ngIf"],[3,"groups","groupSelected"],[3,"resources","resourceSelected"],[3,"members","memberSelected"],[3,"facilities","facilitySelected"],[3,"users","userSelected"],[3,"attributes","selection"],["list",""]],template:function(t,e){1&t&&(u.TgZ(0,"div",0),u.YNc(1,Z,1,0,"mat-spinner",1),u.YNc(2,v,2,1,"app-alert",2),u.YNc(3,U,19,18,"div",3),u.qZA()),2&t&&(u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",0===e.entityValues.length&&!e.loading),u.xp6(1),u.Q6J("ngIf",0!==e.entityValues.length))},directives:[h.O5,b.$g,p.w,g.t,f.lW,E.h,S,I,A,T.S,w.p],pipes:[y.X$],styles:[".w-35[_ngcontent-%COMP%]{width:35%}"]}),t})()},8557:function(t,e,i){"use strict";i.d(e,{L:function(){return h}});var s=i(31572),n=i(84608),a=i(57629),r=i(61511),c=i(71522),o=i(43691),l=i(48160);function u(t,e){if(1&t&&(s.TgZ(0,"div",3),s.TgZ(1,"a",4),s._UZ(2,"mat-icon",5),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Gre("",t.style," item-itself"),s.Q6J("routerLink",t.url),s.xp6(1),s.Q6J("svgIcon",t.cssIcon),s.xp6(1),s.hij(" ",s.lcZ(4,6,t.label)," ")}}function d(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,u,5,8,"div",2),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.items)}}let h=(()=>{class t{constructor(t,e){this.dialog=t,this.route=e,this.size="large"}ngOnInit(){this.route.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.uw),s.Y36(a.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-menu-buttons-field"]],inputs:{items:"items",size:"size"},decls:1,vars:1,consts:[["class","items-container",4,"ngIf"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&s.YNc(0,d,2,1,"div",0),2&t&&s.Q6J("ngIf","small"===e.size)},directives:[r.O5,r.sg,c.wG,a.yS,o.Hw],pipes:[l.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}.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;align-items:center;font-size:1.25rem}.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}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}"]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/579-es2015.ddd625fed6493381003c.js b/dist/apps/admin-gui/579-es2015.ddd625fed6493381003c.js new file mode 100644 index 000000000..325055343 --- /dev/null +++ b/dist/apps/admin-gui/579-es2015.ddd625fed6493381003c.js @@ -0,0 +1 @@ +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[579],{21575:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var s=i(17),n=i(31572),a=i(57629);let r=(()=>{class t{constructor(){}prepareRoute(t){return t&&t.activatedRouteData&&t.activatedRouteData.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-animated-router-outlet"]],decls:3,vars:0,consts:[["outlet","outlet"]],template:function(t,e){1&t&&(n.TgZ(0,"div"),n._UZ(1,"router-outlet",null,0),n.qZA())},directives:[a.lC],styles:[""],data:{animation:[s.Ji]}}),t})()},40695:function(t,e,i){"use strict";i.d(e,{n:function(){return S}});var s=i(84608),n=i(4230),a=i(88426),r=i(33642),c=i(60611),o=(i(10896),i(31572)),u=i(48160),l=i(19139),d=i(61511),h=i(15980),b=i(39571),p=i(67806),g=i(41186);const f=["list"];function E(t,e){1&t&&(o.TgZ(0,"app-alert",10),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"DIALOGS.CREATE_ATTRIBUTE.ERROR_EMPTY_VALUE")," "))}function m(t,e){1&t&&o._UZ(0,"mat-spinner",11)}function y(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"perun-web-apps-attributes-list",12,13),o.NdJ("page",function(e){return o.CHM(t),o.oxw().pageChanged(e)}),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("attributes",t.attributes)("filterValue",t.filterValue)("inDialog",!0)("emptyListText","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_ATTRIBUTES")("pageSize",t.pageSize)("selection",t.selected)}}let S=(()=>{class t{constructor(t,e,i,s,a,r){this.dialogRef=t,this.data=e,this.attributesManager=i,this.notificator=s,this.tableConfigService=a,this.translate=r,this.selected=new n.Ov(!0,[]),this.showError=!1,this.filterValue="",this.tableId=c.rF,this.translate.get("DIALOGS.CREATE_ATTRIBUTE.SUCCESS_SAVE").subscribe(t=>this.saveSuccessMessage=t)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=new Array;let e,i,s,n,a,r,c,o;switch(this.data.notEmptyAttributes.forEach(e=>{t.push(e.id)}),this.data.entity){case"member":e=this.data.entityId;break;case"user":i=this.data.entityId;break;case"vo":s=this.data.entityId;break;case"group":n=this.data.entityId;break;case"resource":a=this.data.entityId;break;case"facility":r=this.data.entityId;break;case"host":c=this.data.entityId;break;case"ues":o=this.data.entityId}switch(this.data.secondEntity){case"member":e=this.data.secondEntityId;break;case"user":i=this.data.secondEntityId;break;case"vo":s=this.data.secondEntityId;break;case"group":n=this.data.secondEntityId;break;case"resource":a=this.data.secondEntityId;break;case"facility":r=this.data.secondEntityId;break;case"host":c=this.data.secondEntityId;break;case"ues":o=this.data.secondEntityId}this.loading=!0,this.attributesManager.getAttributesDefinitionWithRights(e,i,s,n,a,r,c,o).subscribe(e=>{this.attributes=e,this.attributes=this.attributes.filter(e=>!t.includes(e.id)&&this.twoEntityValid(e)),this.loading=!1})}onCancel(){this.dialogRef.close()}onSave(){this.list.updateMapAttributes();let t=!1;for(const e of this.selected.selected)"java.util.ArrayList"===e.type&&0===e.value.length&&(t=!0),void 0===e.value&&(t=!0);if(t)return this.showError=!0,void setTimeout(()=>{this.showError=!1},5e3);switch(this.data.entity){case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;default:this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}break;case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.selected.selected}).subscribe(()=>{this.handleSuccess()})}}applyFilter(t){this.filterValue=t}handleSuccess(){this.notificator.showSuccess(this.saveSuccessMessage),this.selected.clear(),this.dialogRef.close("saved")}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}twoEntityValid(t){return!this.data.secondEntity||t.entity===`${this.data.entity}_${this.data.secondEntity}`}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.so),o.Y36(s.WI),o.Y36(r.H8),o.Y36(a.V6),o.Y36(c.dB),o.Y36(u.sK))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-create-attribute-dialog"]],viewQuery:function(t,e){if(1&t&&o.Gf(f,5),2&t){let t;o.iGM(t=o.CRH())&&(e.list=t.first)}},decls:17,vars:17,consts:[["mat-dialog-title",""],[1,"page-subtitle"],[1,"font-size-1rem",3,"placeholder","filter"],["class","ml-3 font-size-1rem","alert_type","error",4,"ngIf"],["mat-dialog-content",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"attributes","filterValue","inDialog","emptyListText","pageSize","selection","page",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","error",1,"ml-3","font-size-1rem"],[1,"ml-auto","mr-auto"],[3,"attributes","filterValue","inDialog","emptyListText","pageSize","selection","page"],["list",""]],template:function(t,e){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",0),o.TgZ(2,"h1",1),o._uU(3),o.ALo(4,"translate"),o.qZA(),o.TgZ(5,"perun-web-apps-immediate-filter",2),o.NdJ("filter",function(t){return e.applyFilter(t)}),o.qZA(),o.YNc(6,E,3,3,"app-alert",3),o.qZA(),o.TgZ(7,"div",4),o.YNc(8,m,1,0,"mat-spinner",5),o.YNc(9,y,2,6,"perun-web-apps-attributes-list",6),o.qZA(),o.TgZ(10,"div",7),o.TgZ(11,"button",8),o.NdJ("click",function(){return e.onCancel()}),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"button",9),o.NdJ("click",function(){return e.onSave()}),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Tol(e.data.style),o.xp6(3),o.Oqu(o.lcZ(4,11,"DIALOGS.CREATE_ATTRIBUTE.SET_NEW")),o.xp6(2),o.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),o.xp6(1),o.Q6J("ngIf",e.showError),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",void 0!==e.attributes&&!e.loading),o.xp6(3),o.hij(" ",o.lcZ(13,13,"DIALOGS.CREATE_ATTRIBUTE.CANCEL")," "),o.xp6(2),o.Q6J("disabled",0===e.selected.selected.length),o.xp6(1),o.hij(" ",o.lcZ(16,15,"DIALOGS.CREATE_ATTRIBUTE.SAVE")," "))},directives:[s.uh,l.L,d.O5,s.xY,s.H8,h.lW,b.w,p.$g,g.p],pipes:[u.X$],styles:[".font-size-1rem[_ngcontent-%COMP%]{font-size:1rem!important}"]}),t})()},13572:function(t,e,i){"use strict";i.d(e,{k:function(){return m}});var s=i(84608),n=i(67033),a=i(88426),r=i(33642),c=i(31572),o=i(48160),u=i(61511),l=i(15980),d=i(67806);function h(t,e){1&t&&c._UZ(0,"mat-spinner",6)}function b(t,e){1&t&&c._UZ(0,"th",15)}function p(t,e){if(1&t&&(c.TgZ(0,"td",16),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",t.displayName," ")}}function g(t,e){1&t&&c._UZ(0,"tr",17)}function f(t,e){1&t&&c._UZ(0,"tr",18)}function E(t,e){if(1&t&&(c.TgZ(0,"div",7),c.TgZ(1,"div"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",8),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",9),c.ynx(8,10),c.YNc(9,b,1,0,"th",11),c.YNc(10,p,2,1,"td",12),c.BQk(),c.YNc(11,g,1,0,"tr",13),c.YNc(12,f,1,0,"tr",14),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.DELETE_ATTRIBUTES.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.DELETE_ATTRIBUTES.ASK")," "),c.xp6(2),c.Q6J("dataSource",t.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",t.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",t.displayedColumns)}}let m=(()=>{class t{constructor(t,e,i,s,n){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.attributesManager=n,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.dataSource=new n.by(this.data.attributes),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=[];for(const i of this.data.attributes)t.push(i.id);const e={};switch(e[this.data.entity]=this.data.entityId,e.attributes=t,void 0!==this.data.secondEntity&&(e[this.data.secondEntity]=this.data.secondEntityId),this.loading=!0,this.data.entity){case"vo":this.attributesManager.removeVoAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.removeGroupResourceAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeGroupAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.removeUserFacilityAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeUserAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.removeMemberResourceAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"group":this.attributesManager.removeMemberGroupAttributes(this.data.entityId,this.data.secondEntityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;default:this.attributesManager.removeMemberAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1)}break;case"facility":this.attributesManager.removeFacilityAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"host":this.attributesManager.removeHostAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()},()=>this.loading=!1);break;case"ues":this.attributesManager.removeUesAttributes(this.data.entityId,t).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.removeResourceAttributes(this.data.entityId,t).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.DELETE_ATTRIBUTES.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(s.so),c.Y36(s.WI),c.Y36(a.V6),c.Y36(o.sK),c.Y36(r.H8))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-delete-attribute-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,h,1,0,"mat-spinner",1),c.YNc(5,E,13,9,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return e.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return e.onSubmit()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.Tol(e.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.DELETE_ATTRIBUTES.TITLE")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.DELETE_ATTRIBUTES.CANCEL")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.DELETE_ATTRIBUTES.DELETE")," "))},directives:[s.uh,u.O5,s.H8,l.lW,d.$g,s.xY,n.BZ,n.w1,n.fO,n.Dz,n.as,n.nj,n.ge,n.ev,n.XQ,n.Gk],pipes:[o.X$],styles:[""]}),t})()},541:function(t,e,i){"use strict";i.d(e,{t:function(){return A}});var s=i(33642),n=i(4230),a=i(84140),r=i(40695),c=i(61189),o=i(13572),u=(i(10896),i(60611)),l=i(31572),d=i(84608),h=i(59403),b=i(15980),p=i(19139),g=i(61511),f=i(67806),E=i(41186),m=i(48160);const y=["list"];function S(t,e){1&t&&l._UZ(0,"mat-spinner",7)}function I(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-attributes-list",8,9),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("attributes",t.attributes)("selection",t.selection)}}let A=(()=>{class t{constructor(t,e,i){this.attributesManagerService=t,this.tableConfigService=e,this.dialog=i,this.attributes=[],this.selection=new n.Ov(!0,[]),this.filterValue="",this.tableId=u.rF,this.loading=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){switch(this.loading=!0,this.entity){case"member":this.attributesManagerService.getMemberAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"group":this.attributesManagerService.getGroupAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"user":this.attributesManagerService.getUserAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"resource":this.attributesManagerService.getResourceAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"facility":this.attributesManagerService.getFacilityAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1});break;case"vo":this.attributesManagerService.getVoAttributes(this.entityId).subscribe(t=>{this.attributes=t,this.selection.clear(),this.loading=!1})}}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onCreate(){const t=(0,a.kZ)();t.width="1050px",t.data={entityId:this.entityId,entity:this.entity,notEmptyAttributes:this.attributes,style:this.entity+"-theme"},this.dialog.open(r.n,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onSave(){this.list.updateMapAttributes();const t=(0,a.kZ)();t.width="450px",t.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(c.wA,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}onDelete(){const t=(0,a.kZ)();t.width="450px",t.data={entityId:this.entityId,entity:this.entity,attributes:this.selection.selected},this.dialog.open(o.k,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.H8),l.Y36(u.dB),l.Y36(d.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-one-entity-attribute-page"]],viewQuery:function(t,e){if(1&t&&l.Gf(y,5),2&t){let t;l.iGM(t=l.CRH())&&(e.list=t.first)}},inputs:{entity:"entity",entityId:"entityId"},decls:13,vars:14,consts:[[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"disabled","click"],["mat-flat-button","","color","warn",1,"mt-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","attributes","selection","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","attributes","selection","page"],["list",""]],template:function(t,e){1&t&&(l.TgZ(0,"perun-web-apps-refresh-button",0),l.NdJ("refresh",function(){return e.refreshTable()}),l.qZA(),l.TgZ(1,"button",1),l.NdJ("click",function(){return e.onCreate()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"button",2),l.NdJ("click",function(){return e.onSave()}),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"button",3),l.NdJ("click",function(){return e.onDelete()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"perun-web-apps-immediate-filter",4),l.NdJ("filter",function(t){return e.applyFilter(t)}),l.qZA(),l.YNc(11,S,1,0,"mat-spinner",5),l.YNc(12,I,2,4,"perun-web-apps-attributes-list",6)),2&t&&(l.xp6(2),l.hij(" ",l.lcZ(3,8,"USER_DETAIL.SETTINGS.ATTRIBUTES.CREATE"),"\n"),l.xp6(2),l.Q6J("disabled",0===e.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(6,10,"USER_DETAIL.SETTINGS.ATTRIBUTES.SAVE"),"\n"),l.xp6(2),l.Q6J("disabled",0===e.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(9,12,"USER_DETAIL.SETTINGS.ATTRIBUTES.DELETE"),"\n"),l.xp6(2),l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.FILTER"),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[h.t,b.lW,p.L,g.O5,f.$g,E.p],pipes:[m.X$],styles:[""]}),t})()},69012:function(t,e,i){"use strict";i.d(e,{Y:function(){return O}});var s=i(33642),n=(i(10896),i(4230)),a=i(13572),r=i(84140),c=i(61189),o=i(40695),u=i(67004),l=i(31572),d=i(84608),h=i(61511),b=i(67806),p=i(39571),g=i(59403),f=i(15980),E=i(37665),m=i(44973),y=i(48160);let S=(()=>{class t{constructor(){this.resourceSelected=new l.vpe,this.nameFunction=t=>t.name}ngOnInit(){this.resources=this.resources.sort(r.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resources:"resources"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(l.TgZ(0,"perun-web-apps-entity-search-select",0),l.NdJ("entitySelected",function(t){return e.resourceSelected.emit(t)}),l.ALo(1,"translate"),l.ALo(2,"translate"),l.ALo(3,"translate"),l.qZA()),2&t&&l.Q6J("entities",e.resources)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",l.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",l.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",l.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})(),I=(()=>{class t{constructor(){this.memberSelected=new l.vpe,this.memberFullNameFunction=t=>(0,r.bD)(t.user)}ngOnInit(){this.members=this.members.sort(r.fx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["perun-web-apps-member-search-select"]],inputs:{members:"members"},outputs:{memberSelected:"memberSelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(l.TgZ(0,"perun-web-apps-entity-search-select",0),l.NdJ("entitySelected",function(t){return e.memberSelected.emit(t)}),l.ALo(1,"translate"),l.ALo(2,"translate"),l.ALo(3,"translate"),l.qZA()),2&t&&l.Q6J("entities",e.members)("searchFunction",e.memberFullNameFunction)("mainTextFunction",e.memberFullNameFunction)("selectPlaceholder",l.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.SELECT_MEMBER"))("findPlaceholder",l.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.FIND_MEMBER"))("noEntriesText",l.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_SEARCH_SELECT.NO_MEMBER_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})(),A=(()=>{class t{constructor(){this.facilitySelected=new l.vpe,this.nameFunction=t=>t.name}ngOnInit(){this.facilities=this.facilities.sort(r.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Xpm({type:t,selectors:[["perun-web-apps-facility-search-select"]],inputs:{facilities:"facilities"},outputs:{facilitySelected:"facilitySelected"},decls:4,vars:12,consts:[[3,"entities","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(l.TgZ(0,"perun-web-apps-entity-search-select",0),l.NdJ("entitySelected",function(t){return e.facilitySelected.emit(t)}),l.ALo(1,"translate"),l.ALo(2,"translate"),l.ALo(3,"translate"),l.qZA()),2&t&&l.Q6J("entities",e.facilities)("searchFunction",e.nameFunction)("mainTextFunction",e.nameFunction)("selectPlaceholder",l.lcZ(1,6,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.SELECT_FACILITY"))("findPlaceholder",l.lcZ(2,8,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.FIND_FACILITY"))("noEntriesText",l.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.FACILITY_SEARCH_SELECT.NO_FACILITY_FOUND"))},directives:[m.i],pipes:[y.X$],styles:[""]}),t})();var T=i(7927),w=i(41186);const M=["list"];function Z(t,e){1&t&&l._UZ(0,"mat-spinner",4)}function C(t,e){if(1&t&&(l.TgZ(0,"app-alert",5),l._uU(1),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Oqu(t.noEntityMessage)}}function v(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-group-search-select",17),l.NdJ("groupSelected",function(e){return l.CHM(t),l.oxw(2).specifySecondEntity(e)}),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("groups",t.entityValues)("firstSelectedGroup",t.specificSecondEntity)}}function R(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-resource-search-select",18),l.NdJ("resourceSelected",function(e){return l.CHM(t),l.oxw(2).specifySecondEntity(e)}),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("resources",t.entityValues)}}function x(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-member-search-select",19),l.NdJ("memberSelected",function(e){return l.CHM(t),l.oxw(2).specifySecondEntity(e)}),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("members",t.entityValues)}}function _(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-facility-search-select",20),l.NdJ("facilitySelected",function(e){return l.CHM(t),l.oxw(2).specifySecondEntity(e)}),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("facilities",t.entityValues)}}function L(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-user-search-select",21),l.NdJ("userSelected",function(e){return l.CHM(t),l.oxw(2).specifySecondEntity(e)}),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("users",t.entityValues)}}function N(t,e){1&t&&l._UZ(0,"mat-spinner",4)}function k(t,e){if(1&t&&l._UZ(0,"perun-web-apps-attributes-list",22,23),2&t){const t=l.oxw(2);l.Q6J("attributes",t.attributes)("selection",t.selection)}}function U(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",6),l.YNc(2,v,1,2,"perun-web-apps-group-search-select",7),l.YNc(3,R,1,1,"perun-web-apps-resource-search-select",8),l.YNc(4,x,1,1,"perun-web-apps-member-search-select",9),l.YNc(5,_,1,1,"perun-web-apps-facility-search-select",10),l.YNc(6,L,1,1,"perun-web-apps-user-search-select",11),l.qZA(),l.TgZ(7,"perun-web-apps-refresh-button",12),l.NdJ("refresh",function(){l.CHM(t);const e=l.oxw();return e.getAttributes(e.specificSecondEntity.id)}),l.qZA(),l.TgZ(8,"button",13),l.NdJ("click",function(){l.CHM(t);const e=l.oxw();return e.onAdd(e.specificSecondEntity.id)}),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"button",14),l.NdJ("click",function(){l.CHM(t);const e=l.oxw();return e.onSave(e.specificSecondEntity.id)}),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.TgZ(14,"button",15),l.NdJ("click",function(){l.CHM(t);const e=l.oxw();return e.onDelete(e.specificSecondEntity.id)}),l._uU(15),l.ALo(16,"translate"),l.qZA(),l.YNc(17,N,1,0,"mat-spinner",1),l.YNc(18,k,2,2,"perun-web-apps-attributes-list",16),l.qZA()}if(2&t){const t=l.oxw();l.xp6(2),l.Q6J("ngIf","group"===t.secondEntity),l.xp6(1),l.Q6J("ngIf","resource"===t.secondEntity),l.xp6(1),l.Q6J("ngIf","member"===t.secondEntity),l.xp6(1),l.Q6J("ngIf","facility"===t.secondEntity),l.xp6(1),l.Q6J("ngIf","user"===t.secondEntity),l.xp6(3),l.hij(" ",l.lcZ(10,12,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.CREATE")," "),l.xp6(2),l.Q6J("disabled",0===t.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(13,14,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.SAVE")," "),l.xp6(2),l.Q6J("disabled",0===t.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(16,16,"MEMBER_DETAIL.SETTINGS.ATTRIBUTES.DELETE")," "),l.xp6(2),l.Q6J("ngIf",t.innerLoading),l.xp6(1),l.Q6J("ngIf",!t.innerLoading)}}let O=(()=>{class t{constructor(t,e,i,s,a,r){this.attributesManagerService=t,this.resourcesManagerService=e,this.facilitiesManagerService=i,this.groupsManagerService=s,this.membersManager=a,this.dialog=r,this.entityValues=[],this.attributes=[],this.selection=new n.Ov(!0,[]),this.allowedStatuses=["INVALID","VALID"],this.loading=!1,this.innerLoading=!1}ngOnInit(){this.loadEntityValues(),this.setMessages(this.secondEntity.toLowerCase())}loadEntityValues(){switch(this.loading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAssignedResourcesWithStatus(this.firstEntityId).subscribe(t=>{this.entityValues=t.map(t=>t.enrichedResource.resource),this.preselectEntity(),this.loading=!1});break;case"group":this.groupsManagerService.getMemberGroups(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.resourcesManagerService.getAssignedResourcesWithGroup(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"member":this.membersManager.getCompleteRichMembersForGroup(this.firstEntityId,!1,this.allowedStatuses,null,[u.r.MEMBER_CORE_ID]).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"user":this.facilitiesManagerService.getAssignedFacilitiesByUser(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1});break;case"resource":switch(this.secondEntity){case"member":this.resourcesManagerService.getAssignedMembersWithStatus(this.firstEntityId).subscribe(t=>{this.entityValues=t.map(t=>t.richMember),this.preselectEntity(),this.loading=!1});break;case"group":this.resourcesManagerService.getAssignedGroups(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}break;case"facility":this.facilitiesManagerService.getAssignedUsers(this.firstEntityId).subscribe(t=>{this.entityValues=t,this.preselectEntity(),this.loading=!1})}}preselectEntity(){0!==this.entityValues.length&&this.findInitiallySelectedEntity()}findInitiallySelectedEntity(){let t=this.entityValues[0];const e=(0,r.vL)(this.entityKey());if(e)for(const i of this.entityValues)if(i.id===e[0]){t=i;break}this.specifySecondEntity(t)}entityKey(){switch(this.secondEntity){case"group":return"groups";default:return""}}getAttributes(t){switch(this.innerLoading=!0,this.firstEntity){case"member":switch(this.secondEntity){case"resource":this.attributesManagerService.getMemberResourceAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"group":this.attributesManagerService.getMemberGroupAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"group":switch(this.secondEntity){case"resource":this.attributesManagerService.getGroupResourceAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"member":this.attributesManagerService.getMemberGroupAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"user":this.attributesManagerService.getUserFacilityAttributes(this.firstEntityId,t).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"resource":switch(this.secondEntity){case"member":this.attributesManagerService.getMemberResourceAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1});break;case"group":this.attributesManagerService.getGroupResourceAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}break;case"facility":this.attributesManagerService.getUserFacilityAttributes(t,this.firstEntityId).subscribe(t=>{this.attributes=t,this.innerLoading=!1})}}setMessages(t){this.noEntityMessage=`No ${t} assigned`}onSave(t){this.list.updateMapAttributes();const e=(0,r.kZ)();e.width="450px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,attributes:this.selection.selected},this.dialog.open(c.wA,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onDelete(t){const e=(0,r.kZ)();e.width="450px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,attributes:this.selection.selected,theme:`${this.firstEntity}-theme`},this.dialog.open(a.k,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}onAdd(t){const e=(0,r.kZ)();e.width="1050px",e.data={entityId:this.firstEntityId,entity:this.firstEntity,secondEntity:this.secondEntity,secondEntityId:t,notEmptyAttributes:this.attributes,style:`${this.firstEntity}-theme`},this.dialog.open(o.n,e).afterClosed().subscribe(e=>{e&&(this.selection.clear(),this.getAttributes(t))})}specifySecondEntity(t){t&&(this.specificSecondEntity=t,this.getAttributes(this.specificSecondEntity.id))}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.H8),l.Y36(s.xk),l.Y36(s.IQ),l.Y36(s.ff),l.Y36(s.uq),l.Y36(d.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-two-entity-attribute-page"]],viewQuery:function(t,e){if(1&t&&l.Gf(M,5),2&t){let t;l.iGM(t=l.CRH())&&(e.list=t.first)}},inputs:{firstEntityId:"firstEntityId",firstEntity:"firstEntity",secondEntity:"secondEntity"},decls:4,vars:3,consts:[[1,"mt-3"],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"flex-row"],[3,"groups","firstSelectedGroup","groupSelected",4,"ngIf"],[3,"resources","resourceSelected",4,"ngIf"],[3,"members","memberSelected",4,"ngIf"],[3,"facilities","facilitySelected",4,"ngIf"],[3,"users","userSelected",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"attributes","selection",4,"ngIf"],[3,"groups","firstSelectedGroup","groupSelected"],[3,"resources","resourceSelected"],[3,"members","memberSelected"],[3,"facilities","facilitySelected"],[3,"users","userSelected"],[3,"attributes","selection"],["list",""]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l.YNc(1,Z,1,0,"mat-spinner",1),l.YNc(2,C,2,1,"app-alert",2),l.YNc(3,U,19,18,"div",3),l.qZA()),2&t&&(l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",0===e.entityValues.length&&!e.loading),l.xp6(1),l.Q6J("ngIf",0!==e.entityValues.length))},directives:[h.O5,b.$g,p.w,g.t,f.lW,E.h,S,I,A,T.S,w.p],pipes:[y.X$],styles:[".w-35[_ngcontent-%COMP%]{width:35%}"]}),t})()},8557:function(t,e,i){"use strict";i.d(e,{L:function(){return p}});var s=i(31572),n=i(84608),a=i(57629),r=i(61511),c=i(71522),o=i(84534),u=i(43691),l=i(48160);const d=function(t){return[t]};function h(t,e){if(1&t&&(s.TgZ(0,"div",3),s.TgZ(1,"a",4),s._UZ(2,"mat-icon",5),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Gre("",t.style," item-itself"),s.Q6J("perunWebAppsMiddleClickRouterLink",s.VKq(9,d,t.url))("routerLink",t.url),s.xp6(1),s.Q6J("svgIcon",t.cssIcon),s.xp6(1),s.hij(" ",s.lcZ(4,7,t.label)," ")}}function b(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,h,5,11,"div",2),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.items)}}let p=(()=>{class t{constructor(t,e){this.dialog=t,this.route=e,this.size="large"}ngOnInit(){this.route.params.subscribe(t=>{this.voId=t.voId})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.uw),s.Y36(a.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-menu-buttons-field"]],inputs:{items:"items",size:"size"},decls:1,vars:1,consts:[["class","items-container",4,"ngIf"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&s.YNc(0,b,2,1,"div",0),2&t&&s.Q6J("ngIf","small"===e.size)},directives:[r.O5,r.sg,c.wG,a.yS,o.YH,u.Hw],pipes:[l.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}.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;align-items:center;font-size:1.25rem}.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}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}"]}),t})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/579-es5.a7ecabb9fc862945e886.js b/dist/apps/admin-gui/579-es5.a7ecabb9fc862945e886.js deleted file mode 100644 index 926bd5bf1..000000000 --- a/dist/apps/admin-gui/579-es5.a7ecabb9fc862945e886.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function t(t,i){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,i){if(!t)return;if("string"==typeof t)return e(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,i)}(t))||i&&t&&"number"==typeof t.length){n&&(t=n);var s=0,a=function(){};return{s:a,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,o=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){o=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(o)throw r}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,r=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw r}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i{class e{constructor(e,t,s,i){this.route=e,this.resourceService=t,this.tableConfigService=s,this.authResolver=i,this.loading=!1,this.filterValue="",this.tableId=a.iQ}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceService.getAssignedRichMembers(this.resourceId).subscribe(e=>{this.members=e,this.setAuthRights(),this.loading=!1})}setAuthRights(){0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.members[0]]))}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(i.xk),n.Y36(a.dB),n.Y36(o.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-resource-assigned-members"]],decls:7,vars:7,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","filter","displayedColumns","members","pageSize","page","updateTable",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filter","displayedColumns","members","pageSize","page","updateTable"]],template:function(e,t){1&e&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.YNc(3,p,1,0,"perun-web-apps-refresh-button",1),n.YNc(4,m,1,1,"perun-web-apps-debounce-filter",2),n.YNc(5,f,1,0,"mat-spinner",3),n.YNc(6,S,1,6,"perun-web-apps-members-list",4)),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,5,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),n.xp6(2),n.Q6J("ngIf",!t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading),n.xp6(1),n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading))},directives:[l.O5,c.t,u.P,d.$g,g.O],pipes:[h.X$],styles:[""]}),e})()},8705:function(e,t,s){"use strict";s.d(t,{D:function(){return M}});var i=s(33642),a=s(60611),o=s(4230),n=s(84140),r=s(84608),l=s(88426),c=s(31572),u=s(48160),d=s(61511),g=s(15980),h=s(67806),p=s(44973);let m=(()=>{class e{constructor(){this.servicePackages=[],this.packageSelected=new c.vpe,this.nameFunction=e=>e.name,this.shortNameFunction=e=>e.description,this.searchFunction=e=>e.name+e.description}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["perun-web-apps-service-package-search-select"]],inputs:{servicePackages:"servicePackages"},outputs:{packageSelected:"packageSelected"},decls:4,vars:13,consts:[[3,"entities","findPlaceholder","mainTextFunction","noEntriesText","searchFunction","secondaryTextFunction","selectPlaceholder","entitySelected"]],template:function(e,t){1&e&&(c.TgZ(0,"perun-web-apps-entity-search-select",0),c.NdJ("entitySelected",function(e){return t.packageSelected.emit(e)}),c.ALo(1,"translate"),c.ALo(2,"translate"),c.ALo(3,"translate"),c.qZA()),2&e&&c.Q6J("entities",t.servicePackages)("findPlaceholder",c.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.FIND_PACKAGE"))("mainTextFunction",t.nameFunction)("noEntriesText",c.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.NO_PACKAGE_FOUND"))("searchFunction",t.searchFunction)("secondaryTextFunction",t.shortNameFunction)("selectPlaceholder",c.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_PACKAGE_SEARCH_SELECT.SELECT_PACKAGE"))},directives:[p.i],pipes:[u.X$],styles:[""]}),e})();var f=s(91058),A=s(91721);function S(e,t){1&e&&c._UZ(0,"mat-spinner",6)}function b(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"app-services-list",11),c.NdJ("page",function(t){return c.CHM(e),c.oxw(2).pageChanged(t)}),c.qZA()}if(2&e){const e=c.oxw(2);c.Q6J("pageSize",e.pageSize)("disableRouting",!0)("services",e.unAssignedServices)("filterValue",e.filterValue)("selection",e.selection)}}function E(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",7),c.TgZ(1,"p"),c.TgZ(2,"strong"),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA(),c.TgZ(5,"perun-web-apps-service-package-search-select",8),c.NdJ("packageSelected",function(t){return c.CHM(e),c.oxw().servicePackageSelected(t)}),c.qZA(),c.TgZ(6,"p"),c.TgZ(7,"strong"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"perun-web-apps-debounce-filter",9),c.NdJ("filter",function(t){return c.CHM(e),c.oxw().applyFilter(t)}),c.ALo(11,"translate"),c.qZA(),c.YNc(12,b,1,5,"app-services-list",10),c.qZA()}if(2&e){const e=c.oxw();c.xp6(3),c.Oqu(c.lcZ(4,5,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_PACKAGE")),c.xp6(2),c.Q6J("servicePackages",e.servicePackages),c.xp6(3),c.Oqu(c.lcZ(9,7,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SELECT_SERVICE")),c.xp6(2),c.s9C("placeholder",c.lcZ(11,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),c.xp6(2),c.Q6J("ngIf",!e.loading)}}let R=(()=>{class e{constructor(e,t,s,i,n,r,l){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.resourceManager=n,this.servicesManager=r,this.tableConfigService=l,this.loading=!1,this.servicePackages=[],this.selectedPackage={name:"Not selected",description:"",id:-1,beanName:"ServicePackage"},this.selection=new o.Ov(!0,[]),this.tableId=a.DR,this.filterValue=""}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resourceManager.getAssignedServicesToResource(this.data.resourceId).subscribe(e=>{this.servicesManager.getServices().subscribe(t=>{this.servicesManager.getServicesPackages().subscribe(s=>{this.servicePackages.push(this.selectedPackage),this.servicePackages=this.servicePackages.concat(s),this.unAssignedServices=t;for(const i of e)for(const e of t)i.id===e.id&&this.unAssignedServices.splice(this.unAssignedServices.indexOf(e),1);this.filteredServices=this.unAssignedServices,this.loading=!1})})})}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0,-1!==this.selectedPackage.id?this.addServicePackage():this.addServices()}addServicePackage(){this.resourceManager.assignServicesPackage(this.data.resourceId,this.selectedPackage.id).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.PACKAGE_SUCCESS_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e),0!==this.selection.selected.length?this.addServices():this.dialogRef.close(!0)})},()=>this.loading=!1)}addServices(){const e=[];for(const t of this.selection.selected)e.push(t.id);this.resourceManager.assignServices(this.data.resourceId,e).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SERVICE_SUCCESS_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}servicePackageSelected(e){this.selectedPackage=e}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(r.so),c.Y36(r.WI),c.Y36(l.V6),c.Y36(u.sK),c.Y36(i.xk),c.Y36(i.KK),c.Y36(a.dB))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-assign-service-to-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"servicePackages","packageSelected"],[3,"placeholder","filter"],[3,"pageSize","disableRouting","services","filterValue","selection","page",4,"ngIf"],[3,"pageSize","disableRouting","services","filterValue","selection","page"]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,S,1,0,"mat-spinner",1),c.YNc(5,E,13,11,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return t.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return t.onAdd()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Tol(t.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),c.xp6(2),c.Q6J("disabled",0===t.selection.selected.length&&-1===t.selectedPackage.id||t.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.ADD_BUTTON")," "))},directives:[r.uh,d.O5,r.H8,g.lW,h.$g,r.xY,m,f.P,A.Q],pipes:[u.X$],styles:[""]}),e})();var T=s(67033);function Z(e,t){1&e&&c._UZ(0,"mat-spinner",6)}function I(e,t){1&e&&c._UZ(0,"th",15)}function C(e,t){if(1&e&&(c.TgZ(0,"td",16),c._uU(1),c.qZA()),2&e){const e=t.$implicit;c.xp6(1),c.hij(" ",e.name," ")}}function v(e,t){1&e&&c._UZ(0,"tr",17)}function _(e,t){1&e&&c._UZ(0,"tr",18)}function O(e,t){if(1&e&&(c.TgZ(0,"div",7),c.TgZ(1,"p"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",8),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",9),c.ynx(8,10),c.YNc(9,I,1,0,"th",11),c.YNc(10,C,2,1,"td",12),c.BQk(),c.YNc(11,v,1,0,"tr",13),c.YNc(12,_,1,0,"tr",14),c.qZA(),c.qZA()),2&e){const e=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),c.xp6(2),c.Q6J("dataSource",e.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",e.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",e.displayedColumns)}}let x=(()=>{class e{constructor(e,t,s,i,a){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.resourcesManager=a,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new T.by(this.data.services)}onSubmit(){this.loading=!0;const e=[];for(const t of this.data.services)e.push(t.id);this.resourcesManager.removeServices(this.data.resourceId,e).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(r.so),c.Y36(r.WI),c.Y36(l.V6),c.Y36(u.sK),c.Y36(i.xk))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-remove-service-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,Z,1,0,"mat-spinner",1),c.YNc(5,O,13,9,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return t.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return t.onSubmit()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Tol(t.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[r.uh,d.O5,r.H8,g.lW,h.$g,r.xY,T.BZ,T.w1,T.fO,T.Dz,T.as,T.nj,T.ge,T.ev,T.XQ,T.Gk],pipes:[u.X$],styles:[""]}),e})();var N=s(57629),D=s(59403),U=s(19139);function L(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"button",7),c.NdJ("click",function(){return c.CHM(e),c.oxw().addService()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&e&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_SERVICES.ADD_SERVICE"),"\n"))}function w(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(e),c.oxw().removeServices()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}if(2&e){const e=c.oxw();c.Q6J("disabled",0===e.selected.selected.length),c.xp6(1),c.hij(" ",c.lcZ(2,2,"RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE"),"\n")}}function y(e,t){1&e&&c._UZ(0,"mat-spinner",9)}function G(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"app-services-list",10),c.NdJ("page",function(t){return c.CHM(e),c.oxw().pageChanged(t)}),c.qZA()}if(2&e){const e=c.oxw();c.Q6J("pageSize",e.pageSize)("services",e.assignedServices)("selection",e.selected)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("disableRouting",!e.serviceRoutingAuth)}}let M=(()=>{class e{constructor(e,t,s,i,n){this.route=e,this.resourcesManager=t,this.tableConfigService=s,this.dialog=i,this.guiAuthResolver=n,this.assignedServices=[],this.selected=new o.Ov(!0,[]),this.tableId=a.uC,this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.getDataForAuthorization(),this.loadAllServices()})})}loadAllServices(){this.loading=!0,this.resourcesManager.getAssignedServicesToResource(this.resourceId).subscribe(e=>{this.assignedServices=e,this.selected.clear(),this.loading=!1})}addService(){const e=(0,n.kZ)();e.width="800px",e.data={theme:"resource-theme",resourceId:this.resourceId},this.dialog.open(R,e).afterClosed().subscribe(e=>{e&&this.loadAllServices()})}removeServices(){const e=(0,n.kZ)();e.width="500px",e.data={theme:"resource-theme",resourceId:this.resourceId,services:this.selected.selected},this.dialog.open(x,e).afterClosed().subscribe(e=>{e&&this.loadAllServices()})}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}getDataForAuthorization(){this.assignServiceAuth=this.guiAuthResolver.isAuthorized("assignServices_Resource_List_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(N.gz),c.Y36(i.xk),c.Y36(a.dB),c.Y36(r.uw),c.Y36(l.x4))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page"]],template:function(e,t){1&e&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return t.loadAllServices()}),c.qZA(),c.YNc(4,L,3,3,"button",2),c.YNc(5,w,3,4,"button",3),c.TgZ(6,"perun-web-apps-immediate-filter",4),c.NdJ("filter",function(e){return t.applyFilter(e)}),c.qZA(),c.YNc(7,y,1,0,"mat-spinner",5),c.YNc(8,G,1,6,"app-services-list",6)),2&e&&(c.xp6(1),c.Oqu(c.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),c.xp6(3),c.Q6J("ngIf",!t.loadingResource&&t.assignServiceAuth),c.xp6(1),c.Q6J("ngIf",!t.loadingResource&&t.removeServiceAuth),c.xp6(1),c.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),c.xp6(1),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[D.t,d.O5,U.L,g.lW,h.$g,A.Q],pipes:[u.X$],styles:[""]}),e})()},79472:function(e,t,s){"use strict";s.d(t,{X:function(){return E}});var i=s(88426),a=s(33642),o=s(31572),n=s(57629),r=s(55109),l=s(61511),c=s(541),u=s(69012),d=s(48160);function g(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function h(e,t){if(1&e&&o._UZ(0,"app-one-entity-attribute-page",4),2&e){const e=o.oxw();o.Q6J("entity","resource")("entityId",e.resourceId)}}function p(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function m(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){const e=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","member")}}function f(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,p,3,6,"ng-template",1),o.YNc(2,m,1,3,"ng-template",2),o.qZA())}function A(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function S(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){const e=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","group")}}function b(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,A,3,6,"ng-template",1),o.YNc(2,S,1,3,"ng-template",2),o.qZA())}let E=(()=>{class e{constructor(e,t,s){this.route=e,this.authResolver=t,this.resourceManager=s}ngOnInit(){this.route.parent.params.subscribe(e=>{this.resourceId=parseInt(e.resourceId,10),this.resourceManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.resourceGroupAttAuth=this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource]),this.resourceMemberAttAuth=this.authResolver.isAuthorized("getAssignedMembersWithStatus_Resource_policy",[this.resource])})})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(i.x4),o.Y36(a.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,g,2,3,"ng-template",1),o.YNc(7,h,1,2,"ng-template",2),o.qZA(),o.YNc(8,f,3,0,"mat-tab",3),o.YNc(9,b,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",t.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",t.resourceGroupAttAuth))},directives:[r.SP,r.uX,r.uD,r.Vc,l.O5,c.t,u.Y],pipes:[d.X$],styles:[""]}),e})()},72920:function(e,t,s){"use strict";s.d(t,{b:function(){return y}});var i=s(17),a=s(75585),o=s(33642),n=s(84140),r=s(88426),l=s(22280),c=s(61189),u=s(95909),d=s(31572),g=s(57629),h=s(48958),p=s(84608),m=s(66297),f=s(61511),A=s(67806),S=s(43691),b=s(36922),E=s(21575),R=s(15980),T=s(48160);function Z(e,t){1&e&&d._UZ(0,"mat-spinner",3)}function I(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"button",15),d.NdJ("click",function(){return d.CHM(e),d.oxw(2).editResource()}),d.TgZ(1,"mat-icon"),d._uU(2,"edit"),d.qZA(),d.qZA()}}function C(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"button",16),d.NdJ("click",function(){return d.CHM(e),d.oxw(2).deleteResource()}),d.TgZ(1,"mat-icon"),d._uU(2,"delete_forever"),d.qZA(),d.qZA()}}const v=function(e){return["/organizations",e]};function _(e,t){if(1&e&&(d.TgZ(0,"a",8),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.Q6J("routerLink",d.VKq(2,v,e.resource.vo.id)),d.xp6(1),d.Oqu(e.resource.vo.name)}}function O(e,t){if(1&e&&(d.TgZ(0,"span"),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.xp6(1),d.hij(" ",e.resource.vo.name," ")}}const x=function(e){return["/facilities",e]};function N(e,t){if(1&e&&(d.TgZ(0,"a",8),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.Q6J("routerLink",d.VKq(2,x,e.resource.facilityId)),d.xp6(1),d.Oqu(e.resource.facility.name)}}function D(e,t){if(1&e&&(d.TgZ(0,"span"),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.xp6(1),d.hij(" ",e.resource.facility.name," ")}}const U=function(){return{color:"black"}},L=function(e){return[e]};function w(e,t){if(1&e&&(d.TgZ(0,"div"),d.TgZ(1,"div",4),d._UZ(2,"mat-icon",5),d.ALo(3,"translate"),d.TgZ(4,"div",6),d.TgZ(5,"div",7),d.TgZ(6,"a",8),d._uU(7),d.qZA(),d.TgZ(8,"span",9),d._uU(9),d.qZA(),d.YNc(10,I,3,0,"button",10),d.YNc(11,C,3,0,"button",11),d.qZA(),d.TgZ(12,"div"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.TgZ(15,"span",12),d._uU(16),d.ALo(17,"translate"),d.ALo(18,"translate"),d.YNc(19,_,2,4,"a",13),d.YNc(20,O,2,1,"span",2),d._uU(21),d.ALo(22,"translate"),d.YNc(23,N,2,4,"a",14),d.YNc(24,D,2,1,"span",2),d._uU(25),d.ALo(26,"translate"),d.qZA(),d.qZA(),d.qZA(),d._UZ(27,"app-animated-router-outlet"),d.qZA()),2&e){const e=d.oxw();d.xp6(2),d.s9C("matTooltip",d.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),d.Q6J("ngStyle",d.DdM(32,U)),d.xp6(4),d.Q6J("routerLink",d.VKq(33,L,e.baseUrl)),d.xp6(1),d.hij(" ",e.resource.name," "),d.xp6(2),d.hij(" \xa0#",e.resource.id," "),d.xp6(1),d.Q6J("ngIf",e.editResourceAuth),d.xp6(1),d.Q6J("ngIf",e.deleteAuth),d.xp6(2),d.AsE(" ",d.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",e.resource.uuid," "),d.xp6(3),d.AsE(" ",d.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",d.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),d.xp6(3),d.Q6J("ngIf",e.voLinkAuth),d.xp6(1),d.Q6J("ngIf",!e.voLinkAuth),d.xp6(1),d.AsE(" #",e.resource.voId,", ",d.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),d.xp6(2),d.Q6J("ngIf",e.facilityLinkAuth),d.xp6(1),d.Q6J("ngIf",!e.facilityLinkAuth),d.xp6(1),d.lnq(" #",e.resource.facilityId,", ",d.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",e.resource.description," ")}}let y=(()=>{class e{constructor(e,t,s,i,a,o,n,r,l){this.route=e,this.facilityManager=t,this.vosManagerService=s,this.resourcesManager=i,this.sideMenuService=a,this.sideMenuItemService=o,this.dialog=n,this.guiAuthResolver=r,this.router=l,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.resourcesManager.getRichResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.setAuth(),"facilities"===this.route.parent.snapshot.url[0].path?(this.baseUrl=(new l.r5).transform(e,!1),this.facilityManager.getFacilityById(e.facilityId).subscribe(t=>{const s=this.sideMenuItemService.parseFacility(t),i=this.sideMenuItemService.parseResource(e,!1);this.sideMenuService.setFacilityMenuItems([s,i]),this.loading=!1},()=>this.loading=!1)):(this.baseUrl=(new l.r5).transform(e,!0),this.vosManagerService.getVoById(e.voId).subscribe(t=>{const s=this.sideMenuItemService.parseVo(t),i=this.sideMenuItemService.parseResource(e,!0);this.sideMenuService.setAccessMenuItems([s,i]),this.loading=!1},()=>this.loading=!1)),(0,n.sF)("resources",this.resource)})})}setAuth(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}editResource(){let e;this.resourcesManager.getResourceById(this.resource.id).subscribe(t=>{e=t;const s=(0,n.kZ)();s.width="450px",s.data={theme:"resource-theme",resource:e,dialogType:c.Eg.RESOURCE},this.dialog.open(c.rd,s).afterClosed().subscribe(e=>{e&&this.resourcesManager.getRichResourceById(this.resource.id).subscribe(e=>{this.resource=e})})})}deleteResource(){const e=(0,n.kZ)();e.width="500px",e.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(u.f,e).afterClosed().subscribe(e=>{e&&this.router.navigate(["../"],{relativeTo:this.route})})}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(g.gz),d.Y36(o.IQ),d.Y36(o.YF),d.Y36(o.xk),d.Y36(h.D),d.Y36(a.V),d.Y36(p.uw),d.Y36(r.x4),d.Y36(g.F0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(e,t){1&e&&(d.TgZ(0,"div",0),d._UZ(1,"perun-web-apps-back-button"),d.YNc(2,Z,1,0,"mat-spinner",1),d.YNc(3,w,28,35,"div",2),d.qZA()),2&e&&(d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading&&void 0!==t.resource))},directives:[m.W,f.O5,A.$g,S.Hw,b.gM,f.PC,g.yS,E.A,R.lW],pipes:[T.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[i.Ji]}}),e})()},42473:function(e,t,s){"use strict";s.d(t,{K:function(){return Q}});var i=s(33642),a=s(4230),o=s(84608),n=s(67033),r=s(88426),l=s(31572),c=s(48160),u=s(61511),d=s(15980),g=s(67806);function h(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function p(e,t){1&e&&l._UZ(0,"th",15)}function m(e,t){if(1&e&&(l.TgZ(0,"td",16),l._uU(1),l.qZA()),2&e){const e=t.$implicit;l.xp6(1),l.hij(" ",e.name," ")}}function f(e,t){1&e&&l._UZ(0,"tr",17)}function A(e,t){1&e&&l._UZ(0,"tr",18)}function S(e,t){if(1&e&&(l.TgZ(0,"div",7),l.TgZ(1,"p"),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",8),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"table",9),l.ynx(8,10),l.YNc(9,p,1,0,"th",11),l.YNc(10,m,2,1,"td",12),l.BQk(),l.YNc(11,f,1,0,"tr",13),l.YNc(12,A,1,0,"tr",14),l.qZA(),l.qZA()),2&e){const e=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),l.xp6(3),l.hij(" ",l.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),l.xp6(2),l.Q6J("dataSource",e.dataSource),l.xp6(4),l.Q6J("matHeaderRowDef",e.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",e.displayedColumns)}}let b=(()=>{class e{constructor(e,t,s,i,a){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new n.by(this.data.groups)}onCancel(){this.dialogRef.close()}onSubmit(){const e=[];for(const t of this.data.groups)e.push(t.id);this.loading=!0,this.resourceManager.removeGroupsFromResource(e,this.data.resourceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(o.so),l.Y36(o.WI),l.Y36(r.V6),l.Y36(c.sK),l.Y36(i.xk))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,h,1,0,"mat-spinner",1),l.YNc(5,S,13,9,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return t.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return t.onSubmit()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(3),l.hij(" ",l.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),l.xp6(2),l.Q6J("disabled",t.loading),l.xp6(1),l.hij(" ",l.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[o.uh,u.O5,o.H8,d.lW,g.$g,o.xY,n.BZ,n.w1,n.fO,n.Dz,n.as,n.nj,n.ge,n.ev,n.XQ,n.Gk],pipes:[c.X$],styles:[""]}),e})();var E=s(60611),R=s(29236),T=s(36922),Z=s(16073),I=s(91058),C=s(78364);function v(e,t){1&e&&l._UZ(0,"mat-spinner",7)}const _=function(){return["select","id","name","description"]};function O(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"div",8),l.TgZ(1,"perun-web-apps-debounce-filter",9),l.NdJ("filter",function(t){return l.CHM(e),l.oxw().applyFilter(t)}),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"perun-web-apps-groups-list",10),l.NdJ("page",function(t){return l.CHM(e),l.oxw().pageChanged(t)}),l.qZA(),l.qZA()}if(2&e){const e=l.oxw();l.xp6(1),l.s9C("placeholder",l.lcZ(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),l.xp6(2),l.Q6J("pageSize",e.pageSize)("groups",e.unAssignedGroups)("selection",e.selection)("filter",e.filterValue)("displayedColumns",l.DdM(10,_))("disableRouting",!0)("disableMembers",!1)}}let x=(()=>{class e{constructor(e,t,s,i,o,n,r,l){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.resourceManager=o,this.tableConfigService=n,this.groupService=r,this.guiAuthResolver=l,this.loading=!1,this.checkGroups=!1,this.async=!0,this.selection=new a.Ov(!0,[]),this.filterValue="",this.tableId=E.cL}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resource=this.data.resource,this.resourceManager.getAssignedGroups(this.resource.id).subscribe(e=>{this.groupService.getAllGroups(this.resource.voId).subscribe(t=>{this.unAssignedGroups=t;for(const s of e)for(const e of t)s.id===e.id&&this.unAssignedGroups.splice(this.unAssignedGroups.indexOf(e),1);this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}onAdd(){if(this.checkGroups);else{this.loading=!0;const e=[];for(const t of this.selection.selected)e.push(t.id);this.resourceManager.assignGroupsToResource(e,this.resource.id,this.async).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}canAddGroups(){let e=!0;return this.selection.selected.forEach(t=>{this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,t])||(e=!1)}),e}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(o.so),l.Y36(o.WI),l.Y36(r.V6),l.Y36(c.sK),l.Y36(i.xk),l.Y36(E.dB),l.Y36(i.ff),l.Y36(r.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:18,vars:26,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","matTooltip","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,v,1,0,"mat-spinner",1),l.YNc(5,O,4,11,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"mat-checkbox",4),l.NdJ("ngModelChange",function(e){return t.async=e}),l.ALo(8,"translate"),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"button",5),l.NdJ("click",function(){return t.onCancel()}),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.TgZ(14,"button",6),l.NdJ("click",function(){return t.onAdd()}),l.ALo(15,"translate"),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,14,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(2),l.s9C("matTooltip",l.lcZ(8,16,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT_DESCRIPTION")),l.Q6J("ngModel",t.async),l.xp6(2),l.hij(" ",l.lcZ(10,18,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),l.xp6(3),l.hij(" ",l.lcZ(13,20,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(15,22,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),l.Q6J("disabled",0===t.selection.selected.length||!t.canAddGroups()||t.loading)("matTooltipDisabled",t.canAddGroups()),l.xp6(2),l.hij(" ",l.lcZ(17,24,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[o.uh,u.O5,o.H8,R.oG,T.gM,Z.JJ,Z.On,d.lW,g.$g,o.xY,I.P,C.W],pipes:[c.X$],styles:[""]}),e})();var N=s(84140),D=s(67004),U=s(57629),L=s(59403),w=s(39571);const y=["checkbox"];function G(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"button",9),l.NdJ("click",function(){return l.CHM(e),l.oxw().addGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function M(e,t){1&e&&l._UZ(0,"mat-spinner",10)}const Y=function(e){return[e]},q=function(){return["select","id","name","status","description"]};function J(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"div",11),l.TgZ(1,"perun-web-apps-groups-list",12),l.NdJ("page",function(t){return l.CHM(e),l.oxw().pageChanged(t)})("refreshTable",function(){return l.CHM(e),l.oxw().loadAllGroups()}),l.qZA(),l.qZA()}if(2&e){const e=l.oxw();l.xp6(1),l.Q6J("pageSize",e.pageSize)("groups",e.assignedGroups)("filter",e.filteredValue)("selection",e.selected)("disableMembers",!1)("resourceId",e.resourceId)("disableRouting",!e.guiAuthResolver.isAuthorized("getGroupById_int_policy",l.VKq(8,Y,e.assignedGroups[0])))("displayedColumns",l.DdM(10,q))}}function k(e,t){1&e&&(l.TgZ(0,"app-alert",13),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}let Q=(()=>{class e{constructor(e,t,s,i,o,n){this.route=e,this.resourcesManager=t,this.vosManagerService=s,this.tableConfigService=i,this.dialog=o,this.guiAuthResolver=n,this.assignedGroups=[],this.selected=new a.Ov(!0,[]),this.filteredValue="",this.tableId=E.Ad}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.getDataForAuthorization(),this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.resourcesManager.getGroupAssignments(this.resourceId,[D.r.GROUP_SYNC_ENABLED]).subscribe(e=>{this.assignedGroups=e.map(e=>{const t=e.enrichedGroup.group;return t.status=e.status,t.failureCause=e.failureCause,t}),this.selected.clear(),this.loading=!1})}addGroup(){const e=(0,N.kZ)();e.width="800px",e.data={theme:"resource-theme",resource:this.resource},this.dialog.open(x,e).afterClosed().subscribe(e=>{e&&this.loadAllGroups()})}removeGroups(){const e=(0,N.kZ)();e.width="500px",e.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(b,e).afterClosed().subscribe(e=>{e&&this.loadAllGroups()})}canRemoveGroups(){let e=!0;return this.selected.selected.forEach(t=>{this.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[this.resource,t])||(e=!1)}),e}applyFilter(e){this.filteredValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}getDataForAuthorization(){this.loadingResource=!0,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.loadingResource=!1})}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(U.gz),l.Y36(i.xk),l.Y36(i.YF),l.Y36(E.dB),l.Y36(o.uw),l.Y36(r.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){if(1&e&&l.Gf(y,7),2&e){let e;l.iGM(e=l.CRH())&&(t.checkbox=e.first)}},decls:14,vars:18,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"pageSize","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","page","refreshTable"],["alert_type","warn"]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"perun-web-apps-refresh-button",1),l.NdJ("refresh",function(){return t.loadAllGroups()}),l.qZA(),l.YNc(4,G,3,3,"button",2),l.TgZ(5,"button",3),l.NdJ("click",function(){return t.removeGroups()}),l.TgZ(6,"span",4),l.ALo(7,"translate"),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.qZA(),l.TgZ(10,"perun-web-apps-debounce-filter",5),l.NdJ("filter",function(e){return t.applyFilter(e)}),l.qZA(),l.YNc(11,M,1,0,"mat-spinner",6),l.YNc(12,J,2,11,"div",7),l.YNc(13,k,3,3,"app-alert",8)),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),l.xp6(3),l.Q6J("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",l.VKq(16,Y,t.resource))),l.xp6(1),l.Q6J("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),l.xp6(1),l.s9C("matTooltip",l.lcZ(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),l.Q6J("matTooltipDisabled",t.canRemoveGroups()),l.xp6(2),l.hij(" ",l.lcZ(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),l.xp6(2),l.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading&&0!==t.assignedGroups.length),l.xp6(1),l.Q6J("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[L.t,u.O5,d.lW,T.gM,I.P,g.$g,C.W,w.w],pipes:[c.X$],styles:[""]}),e})()},76527:function(e,t,s){"use strict";s.d(t,{H:function(){return g}});var i=s(33642),a=s(88426),o=s(31572),n=s(57629),r=s(61511),l=s(67806),c=s(8557);function u(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function d(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Q6J("items",e.navItems)("size","small")}}let g=(()=>{class e{constructor(e,t,s){this.resourcesManager=e,this.route=t,this.guiAuthResolver=s,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.resourcesManager.getResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.initItems("facilities"!==this.route.parent.parent.snapshot.url[0].path),this.loading=!1},()=>this.loading=!1)})}initItems(e){const t=e?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`;this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:`${t}/resources/${this.resource.id}/groups`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:`/${t}/resources/${this.resource.id}/services`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:`${t}/resources/${this.resource.id}/members`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:`${t}/resources/${this.resource.id}/tags`,label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`${t}/resources/${this.resource.id}/attributes`,label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:`${t}/resources/${this.resource.id}/settings`,label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.xk),o.Y36(n.gz),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,u,1,0,"mat-spinner",0),o.YNc(1,d,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[r.O5,l.$g,c.L],styles:[""]}),e})()},64359:function(e,t,s){"use strict";s.d(t,{O:function(){return u}});var i=s(33642),a=s(88426),o=s(31572),n=s(57629),r=s(61511),l=s(489);function c(e,t){if(1&e&&o._UZ(0,"app-managers-page",1),2&e){const e=o.oxw();o.Q6J("complementaryObject",e.resource)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)}}let u=(()=>{class e{constructor(e,t,s){this.route=e,this.resourceService=t,this.guiAuthResolver=s,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(e=>{this.resourceService.getResourceById(e.resourceId).subscribe(e=>{this.resource=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(i.xk),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-managers"]],decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,t){1&e&&o.YNc(0,c,1,4,"app-managers-page",0),2&e&&o.Q6J("ngIf",t.resource)},directives:[r.O5,l.s],styles:[""]}),e})()},22927:function(e,t,s){"use strict";s.d(t,{h:function(){return g}});var i=s(33642),a=s(88426),o=s(31572),n=s(57629),r=s(61511),l=s(67806),c=s(8557);function u(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function d(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Q6J("items",e.items)("size","small")}}let g=(()=>{class e{constructor(e,t,s){this.route=e,this.resourceManager=t,this.authResolver=s,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.resourceManager.getResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.initItems("facilities"!==this.route.parent.parent.parent.snapshot.url[0].path),this.loading=!1},()=>this.loading=!1)})}initItems(e){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:`${e?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`}/resources/${this.resource.id}/settings/managers`,label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(i.xk),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,u,1,0,"mat-spinner",0),o.YNc(1,d,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[r.O5,l.$g,c.L],styles:[""]}),e})()},77968:function(e,t,s){"use strict";s.d(t,{t:function(){return n}});var i=s(17),a=s(31572),o=s(21575);let n=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&a._UZ(0,"app-animated-router-outlet")},directives:[o.A],styles:[""],data:{animation:[i.Ji]}}),e})()},53134:function(e,t,s){"use strict";s.d(t,{v:function(){return O}});var i=s(33642),a=s(4230),o=s(60611),n=s(84140),r=s(88426),l=s(61189),c=s(84608),u=s(31572),d=s(61511),g=s(15980),h=s(67806),p=s(4196),m=s(48160);function f(e,t){1&e&&u._UZ(0,"mat-spinner",8)}function A(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-resources-tags-list",9),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("selection",e.selection)("pageSize",e.pageSize)("resourceTags",e.resourceTags)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","resource")}}let S=(()=>{class e{constructor(e,t,s,i){this.dialogRef=e,this.data=t,this.tableConfigService=s,this.resourcesManager=i,this.tableId=o.g,this.selection=new a.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(e=>{this.resourceTags=e.filter(e=>this.assignedTags.map(e=>e.id).indexOf(e.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}onSubmit(e){if(0===e.length)return this.dialogRef.close(!0);const t=e.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:t}).subscribe(()=>{this.onSubmit(e)})}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(c.so),u.Y36(c.WI),u.Y36(o.dB),u.Y36(i.xk))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",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,"mr-auto","ml-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.YNc(6,f,1,0,"mat-spinner",3),u.qZA(),u.YNc(7,A,1,6,"app-resources-tags-list",4),u.qZA(),u.TgZ(8,"div",5),u.TgZ(9,"button",6),u.NdJ("click",function(){return t.onCancel()}),u._uU(10),u.ALo(11,"translate"),u.qZA(),u.TgZ(12,"button",7),u.NdJ("click",function(){return t.onSubmit(t.selection.selected)}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),u.xp6(4),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading),u.xp6(3),u.hij(" ",u.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading||0===t.resourceTags.length),u.xp6(1),u.hij(" ",u.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[c.uh,c.xY,d.O5,c.H8,g.lW,h.$g,p.o],pipes:[m.X$],styles:[""]}),e})();var b=s(24923),E=s(57629),R=s(59403),T=s(19139);function Z(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(e),u.oxw().create()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function I(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",9),u.NdJ("click",function(){return u.CHM(e),u.oxw().addTag()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function C(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",10),u.NdJ("click",function(){return u.CHM(e),u.oxw().removeTags()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("disabled",0===e.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function v(e,t){1&e&&u._UZ(0,"mat-spinner",11)}function _(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-resources-tags-list",12),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("selection",e.selection)("pageSize",e.pageSize)("resourceTags",e.resourceTags)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","resource")}}let O=(()=>{class e{constructor(e,t,s,i,n,r,l,c){this.route=e,this.authResolver=t,this.tableConfigService=s,this.resourcesManager=i,this.voService=n,this.dialog=r,this.notificator=l,this.translate=c,this.loading=!1,this.resourceTags=[],this.selection=new a.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.updateData()})})}removeTags(){const e=(0,n.kZ)();e.width="450px",e.data={items:this.selection.selected.map(e=>e.tagName),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(l.Tf,e).afterClosed().subscribe(e=>{e&&this.removeTag(this.selection.selected)})}removeTag(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();const t=e.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resourceId,resourceTag:t}).subscribe(()=>{this.removeTag(e)})}addTag(){const e=(0,n.kZ)();e.width="600px",e.data={voId:this.resource.voId,resourceId:this.resourceId,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(S,e).afterClosed().subscribe(e=>{e&&(this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),this.updateData())})}create(){const e=(0,n.kZ)();e.width="450px",e.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(b.p,e).afterClosed().subscribe(e=>{e&&(this.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resourceId).subscribe(e=>{this.resourceTags=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){const e={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[e]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(E.gz),u.Y36(r.x4),u.Y36(o.dB),u.Y36(i.xk),u.Y36(i.YF),u.Y36(c.uw),u.Y36(r.V6),u.Y36(m.sK))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return t.updateData()}),u.qZA(),u.YNc(4,Z,3,3,"button",2),u.YNc(5,I,3,3,"button",3),u.YNc(6,C,3,4,"button",4),u.TgZ(7,"perun-web-apps-immediate-filter",5),u.NdJ("filter",function(e){return t.applyFilter(e)}),u.qZA(),u.YNc(8,v,1,0,"mat-spinner",6),u.YNc(9,_,1,6,"app-resources-tags-list",7)),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),u.xp6(3),u.Q6J("ngIf",t.createAuth),u.xp6(1),u.Q6J("ngIf",t.addAuth),u.xp6(1),u.Q6J("ngIf",t.removeAuth),u.xp6(1),u.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading))},directives:[R.t,d.O5,T.L,g.lW,h.$g,p.o],pipes:[m.X$],styles:[""]}),e})()},24923:function(e,t,s){"use strict";s.d(t,{p:function(){return m}});var i=s(84608),a=s(33642),o=s(31572),n=s(61511),r=s(15980),l=s(67806),c=s(66283),u=s(80340),d=s(16073),g=s(48160);function h(e,t){1&e&&o._UZ(0,"mat-spinner",6)}function p(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(t){return o.CHM(e),o.oxw().name=t}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&e){const e=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",e.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}let m=(()=>{class e{constructor(e,t,s){this.dialogRef=e,this.data=t,this.resourceManager=s,this.name="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.so),o.Y36(i.WI),o.Y36(a.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,h,1,0,"mat-spinner",1),o.YNc(5,p,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return t.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return t.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.Tol(t.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",t.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[i.uh,n.O5,i.H8,r.lW,l.$g,i.xY,c.KE,u.Nt,d.Fj,d.Q7,d.JJ,d.On,c.TO],pipes:[g.X$],styles:[""]}),e})()},489:function(e,t,s){"use strict";s.d(t,{s:function(){return De}});var i=s(4230),a=s(84608),o=s(88426),n=s(33642),r=s(60611),l=s(67004),c=s(16073),u=s(31572),d=s(48160),g=s(57629),h=s(66283),p=s(4786),m=s(61511),f=s(80340),A=s(15980),S=s(71522),b=s(67806),E=s(39571),R=s(86593);let T=(()=>{class e{constructor(e){this.translate=e,this.prefix="ROLES."}transform(e){const t=this.prefix.concat(e);return this.translate.instant(t)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(d.sK,16))},e.\u0275pipe=u.Yjl({name:"displayedRole",type:e,pure:!0}),e})();function Z(e,t){if(1&e&&(u.TgZ(0,"mat-option",15),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function I(e,t){1&e&&u._UZ(0,"mat-spinner",16)}function C(e,t){1&e&&(u.TgZ(0,"app-alert",20),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}const v=function(){return["select","id","name","email","logins","organization"]};function _(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-users-list",21),u.NdJ("page",function(t){return u.CHM(e),u.oxw(2).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("pageSize",e.pageSize)("disableRouting",!0)("selection",e.selection)("displayedColumns",u.DdM(5,v))("users",e.users)}}function O(e,t){if(1&e&&(u.TgZ(0,"div",17),u.YNc(1,C,3,3,"app-alert",18),u.YNc(2,_,1,6,"app-users-list",19),u.qZA()),2&e){const e=u.oxw();u.xp6(1),u.Q6J("ngIf",0===e.users.length&&e.firstSearchDone),u.xp6(1),u.Q6J("ngIf",0!==e.users.length)}}let x=(()=>{class e{constructor(e,t,s,a,o,n,l,c,u,d){this.dialogRef=e,this.data=t,this.authzService=s,this.usersService=a,this.translate=o,this.notificator=n,this.storeService=l,this.route=c,this.router=u,this.tableConfigService=d,this.selection=new i.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=r.H2,o.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(e=>this.title=e),o.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(e=>this.successMessage=e)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new c.NI("",[c.kI.required,c.kI.pattern(".*[\\S]+.*")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.selection.clear();let e=[l.r.USER_DEF_ORGANIZATION,l.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,e).subscribe(e=>{this.users=e,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.Ct),u.Y36(n.Fv),u.Y36(d.sK),u.Y36(o.V6),u.Y36(o.d6),u.Y36(g.gz),u.Y36(g.F0),u.Y36(r.dB))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page",4,"ngIf"],["alert_type","warn"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.TgZ(6,"mat-form-field",3),u.TgZ(7,"mat-label"),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"mat-select",4),u.NdJ("valueChange",function(e){return t.selectedRole=e}),u.YNc(11,Z,3,4,"mat-option",5),u.qZA(),u.qZA(),u.TgZ(12,"mat-form-field",6),u.TgZ(13,"label"),u.TgZ(14,"input",7),u.NdJ("keyup.enter",function(){return t.onSearchByString()}),u.ALo(15,"translate"),u.qZA(),u.qZA(),u.TgZ(16,"mat-error"),u._uU(17),u.ALo(18,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(19,"button",8),u.NdJ("click",function(){return t.onSearchByString()}),u._uU(20),u.ALo(21,"translate"),u.qZA(),u.TgZ(22,"div",9),u.YNc(23,I,1,0,"mat-spinner",10),u.qZA(),u.YNc(24,O,3,2,"div",11),u.qZA(),u.TgZ(25,"div",12),u.TgZ(26,"button",13),u.NdJ("click",function(){return t.onCancel()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.TgZ(29,"button",14),u.NdJ("click",function(){return t.onSubmit()}),u._uU(30),u.ALo(31,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),u.xp6(6),u.Oqu(u.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",t.selectedRole),u.xp6(1),u.Q6J("ngForOf",t.availableRoles),u.xp6(3),u.s9C("placeholder",u.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),u.Q6J("formControl",t.searchCtrl),u.xp6(3),u.hij(" ",u.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),u.xp6(3),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",null!==t.users&&!t.loading),u.xp6(3),u.hij(" ",u.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length||void 0===t.selectedRole||t.loading),u.xp6(1),u.hij(" ",u.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[a.uh,a.xY,h.KE,h.hX,p.gD,m.sg,f.Nt,c.Fj,c.JJ,c.oH,h.TO,A.lW,m.O5,a.H8,S.ey,b.$g,E.w,R.C],pipes:[d.X$,T],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),e})();var N=s(67033);function D(e,t){1&e&&u._UZ(0,"th",14)}function U(e,t){if(1&e&&(u.TgZ(0,"td",15),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.xp6(1),u.AsE(" ",e.firstName," ",e.lastName,"")}}function L(e,t){1&e&&u._UZ(0,"tr",16)}function w(e,t){1&e&&u._UZ(0,"tr",17)}function y(e,t){if(1&e&&(u.TgZ(0,"div",6),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",7),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",8),u.ynx(8,9),u.YNc(9,D,1,0,"th",10),u.YNc(10,U,2,2,"td",11),u.BQk(),u.YNc(11,L,1,0,"tr",12),u.YNc(12,w,1,0,"tr",13),u.qZA(),u.qZA()),2&e){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),u.xp6(2),u.Q6J("dataSource",e.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",e.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",e.displayedColumns)}}function G(e,t){1&e&&u._UZ(0,"mat-spinner",18)}let M=(()=>{class e{constructor(e,t,s,i,a){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.authzService=a,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new N.by(this.data.managers),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(o.V6),u.Y36(d.sK),u.Y36(n.Ct))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["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",""],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,y,13,9,"div",1),u.YNc(5,G,1,0,"mat-spinner",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return t.onSubmit()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),u.xp6(2),u.Q6J("ngIf",!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(3),u.hij(" ",u.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[a.uh,m.O5,a.H8,A.lW,a.xY,N.BZ,N.w1,N.fO,N.Dz,N.as,N.nj,N.ge,N.ev,N.XQ,N.Gk,b.$g],pipes:[d.X$],styles:[""]}),e})();function Y(e,t){1&e&&u._UZ(0,"mat-spinner",6)}function q(e,t){1&e&&u._UZ(0,"th",15)}function J(e,t){if(1&e&&(u.TgZ(0,"td",16),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.xp6(1),u.hij(" ",e.name,"")}}function k(e,t){1&e&&u._UZ(0,"tr",17)}function Q(e,t){1&e&&u._UZ(0,"tr",18)}function z(e,t){if(1&e&&(u.TgZ(0,"div",7),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",9),u.ynx(8,10),u.YNc(9,q,1,0,"th",11),u.YNc(10,J,2,1,"td",12),u.BQk(),u.YNc(11,k,1,0,"tr",13),u.YNc(12,Q,1,0,"tr",14),u.qZA(),u.qZA()),2&e){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),u.xp6(2),u.Q6J("dataSource",e.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",e.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",e.displayedColumns)}}let P=(()=>{class e{constructor(e,t,s,i,a){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=i,this.authzService=a,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new N.by(this.data.groups),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(o.V6),u.Y36(d.sK),u.Y36(n.Ct))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,Y,1,0,"mat-spinner",1),u.YNc(5,z,13,9,"div",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return t.onSubmit()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),u.xp6(2),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading),u.xp6(3),u.hij(" ",u.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[a.uh,m.O5,a.H8,A.lW,b.$g,a.xY,N.BZ,N.w1,N.fO,N.Dz,N.as,N.nj,N.ge,N.ev,N.XQ,N.Gk],pipes:[d.X$],styles:[""]}),e})();var V=s(56238),F=s(79996),H=s(40084),j=s(91058),$=s(78364);function B(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function X(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.hij(" ",e.name," ")}}function W(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-debounce-filter",18),u.NdJ("filter",function(t){return u.CHM(e),u.oxw().applyFilter(t)}),u.ALo(1,"translate"),u.qZA()}2&e&&u.s9C("placeholder",u.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function K(e,t){1&e&&u._UZ(0,"mat-spinner",19)}const ee=function(){return["select","id","name","description"]};function te(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"div",20),u.TgZ(1,"perun-web-apps-groups-list",21),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA(),u.qZA()}if(2&e){const e=u.oxw();u.xp6(1),u.Q6J("pageSize",e.pageSize)("disableRouting",!0)("displayedColumns",u.DdM(7,ee))("selection",e.selection)("filter",e.filterValue)("groups",e.groups)("disableMembers",!1)}}let se=(()=>{class e{constructor(e,t,s,a,o,n,l,u,d,g){this.dialogRef=e,this.data=t,this.authzService=s,this.voService=a,this.groupService=o,this.translate=n,this.notificator=l,this.route=u,this.tableConfigService=d,this.router=g,this.searchString="",this.selection=new i.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new c.NI,this.firstSearchDone=!1,this.tableId=r.kZ,n.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(e=>this.title=e),n.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(e=>this.successMessage=e)}displayFn(e){return e?e.name:null}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}ngOnInit(){this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(e=>{this.filteredOptions=this.myControl.valueChanges.pipe((0,V.O)(""),(0,F.U)(e=>this._filter(e))),this.vos=e,this.loading=!1},()=>this.loading=!1)}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(e=>e.name.toLowerCase().includes(t))}showVoGroups(e){this.loading=!0,this.groupService.getAllGroups(e.option.value.id).subscribe(e=>{this.groups=e,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}applyFilter(e){this.filterValue=e}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.Ct),u.Y36(n.YF),u.Y36(n.ff),u.Y36(d.sK),u.Y36(o.V6),u.Y36(g.gz),u.Y36(r.dB),u.Y36(g.F0))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"pageSize","disableRouting","displayedColumns","selection","filter","groups","disableMembers","page"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.TgZ(6,"mat-form-field",3),u.TgZ(7,"mat-label"),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"mat-select",4),u.NdJ("valueChange",function(e){return t.selectedRole=e}),u.YNc(11,B,3,4,"mat-option",5),u.qZA(),u.qZA(),u.TgZ(12,"mat-form-field",6),u.TgZ(13,"mat-label"),u._uU(14),u.ALo(15,"translate"),u.qZA(),u._UZ(16,"input",7),u.ALo(17,"translate"),u.TgZ(18,"mat-autocomplete",8,9),u.NdJ("optionSelected",function(e){return t.showVoGroups(e)}),u.YNc(20,X,2,2,"mat-option",5),u.ALo(21,"async"),u.qZA(),u.qZA(),u.qZA(),u.YNc(22,W,2,3,"perun-web-apps-debounce-filter",10),u.TgZ(23,"div",11),u.YNc(24,K,1,0,"mat-spinner",12),u.qZA(),u.YNc(25,te,2,8,"div",13),u.qZA(),u.TgZ(26,"div",14),u.TgZ(27,"button",15),u.NdJ("click",function(){return t.onCancel()}),u._uU(28),u.ALo(29,"translate"),u.qZA(),u.TgZ(30,"button",16),u.NdJ("click",function(){return t.onSubmit()}),u._uU(31),u.ALo(32,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const e=u.MAs(19);u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),u.xp6(6),u.Oqu(u.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",t.selectedRole),u.xp6(1),u.Q6J("ngForOf",t.availableRoles),u.xp6(3),u.Oqu(u.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),u.xp6(2),u.s9C("placeholder",u.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),u.Q6J("formControl",t.myControl)("matAutocomplete",e),u.xp6(2),u.Q6J("displayWith",t.displayFn),u.xp6(2),u.Q6J("ngForOf",u.lcZ(21,27,t.filteredOptions)),u.xp6(2),u.Q6J("ngIf",null!==t.groups&&t.groups.length>0&&!t.loading),u.xp6(2),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",null!==t.groups&&!t.loading),u.xp6(3),u.hij(" ",u.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length||t.loading),u.xp6(1),u.hij(" ",u.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[a.uh,a.xY,h.KE,h.hX,p.gD,m.sg,f.Nt,c.Fj,H.ZL,c.JJ,c.oH,H.XC,m.O5,a.H8,A.lW,S.ey,j.P,b.$g,$.W],pipes:[d.X$,m.Ov,T],styles:[""]}),e})();var ie=s(84140),ae=s(55109),oe=s(59403);function ne(e,t){1&e&&(u._uU(0),u.ALo(1,"translate")),2&e&&u.hij(" ",u.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function re(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",11),u.NdJ("refresh",function(){return u.CHM(e),u.oxw(2).refreshUsers()}),u.qZA()}}function le(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",12),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).addManager()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function ce(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",13),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).removeManager()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("disabled",0===e.selectionUsers.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function ue(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function de(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"mat-form-field",14),u.TgZ(1,"mat-label"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"mat-select",15),u.NdJ("valueChange",function(t){return u.CHM(e),u.oxw(2).selectedRole=t})("selectionChange",function(){return u.CHM(e),u.oxw(2).refreshUsers()}),u.YNc(5,ue,3,4,"mat-option",16),u.qZA(),u.qZA()}if(2&e){const e=u.oxw(2);u.xp6(2),u.Oqu(u.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",e.selectedRole),u.xp6(1),u.Q6J("ngForOf",e.availableRoles)}}function ge(e,t){1&e&&u._UZ(0,"mat-spinner",18)}const he=function(){return["select","id","name","email","logins","organization"]},pe=function(){return["id","name","email","logins","organization"]};function me(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-users-list",20),u.NdJ("page",function(t){return u.CHM(e),u.oxw(3).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(3);u.Q6J("pageSize",e.pageSize)("users",e.managers)("disableRouting",!e.routeAuth)("displayedColumns",e.manageAuth?u.DdM(5,he):u.DdM(6,pe))("selection",e.selectionUsers)}}function fe(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,me,1,7,"app-users-list",19),u.qZA()),2&e){const e=u.oxw(2);u.xp6(1),u.Q6J("ngIf",e.managers)}}function Ae(e,t){if(1&e&&(u.YNc(0,re,1,0,"perun-web-apps-refresh-button",5),u.YNc(1,le,3,3,"button",6),u.YNc(2,ce,3,4,"button",7),u.YNc(3,de,6,5,"mat-form-field",8),u.YNc(4,ge,1,0,"mat-spinner",9),u.YNc(5,fe,2,1,"div",10)),2&e){const e=u.oxw();u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading)}}function Se(e,t){1&e&&(u._uU(0),u.ALo(1,"translate")),2&e&&u.hij(" ",u.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function be(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",11),u.NdJ("refresh",function(){return u.CHM(e),u.oxw(2).refreshGroups()}),u.qZA()}}function Ee(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",12),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).addGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Re(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",13),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).removeGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("disabled",0===e.selectionGroups.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Te(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function Ze(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"mat-form-field",14),u.TgZ(1,"mat-label"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"mat-select",15),u.NdJ("valueChange",function(t){return u.CHM(e),u.oxw(2).selectedRole=t})("selectionChange",function(){return u.CHM(e),u.oxw(2).refreshGroups()}),u.YNc(5,Te,3,4,"mat-option",16),u.qZA(),u.qZA()}if(2&e){const e=u.oxw(2);u.xp6(2),u.Oqu(u.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",e.selectedRole),u.xp6(1),u.Q6J("ngForOf",e.availableRoles)}}function Ie(e,t){1&e&&u._UZ(0,"mat-spinner",18)}const Ce=function(){return["select","id","vo","name","description"]},ve=function(){return["id","vo","name","description"]};function _e(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-groups-list",22),u.NdJ("page",function(t){return u.CHM(e),u.oxw(3).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(3);u.Q6J("pageSize",e.pageSize)("displayedColumns",e.manageAuth?u.DdM(5,Ce):u.DdM(6,ve))("groups",e.groups)("selection",e.selectionGroups)("disableMembers",!1)}}function Oe(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,_e,1,7,"perun-web-apps-groups-list",21),u.qZA()),2&e){const e=u.oxw(2);u.xp6(1),u.Q6J("ngIf",e.groups)}}function xe(e,t){if(1&e&&(u.YNc(0,be,1,0,"perun-web-apps-refresh-button",5),u.YNc(1,Ee,3,3,"button",6),u.YNc(2,Re,3,4,"button",7),u.YNc(3,Ze,6,5,"mat-form-field",8),u.YNc(4,Ie,1,0,"mat-spinner",9),u.YNc(5,Oe,2,1,"div",10)),2&e){const e=u.oxw();u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading)}}function Ne(e,t){1&e&&(u.TgZ(0,"app-alert",23),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}let De=(()=>{class e{constructor(e,t,s,a,o){this.dialog=e,this.tableConfigService=t,this.authzService=s,this.storeService=a,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new i.Ov(!0,[]),this.selectionGroups=new i.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=r.HC,this.availableRolesPrivileges=new Map}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(e=>this.availableRolesPrivileges.get(e).readAuth),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.refreshUsers()}changeRolePrivileges(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;let e=!1;for(const t of this.roleModes)if(this.selectedMode===t.toLowerCase()){e=!0;break}e||(this.selectedMode=this.roleModes[0].toLowerCase())}tabChanged(e){this.loading=!0,0===e.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}refreshUsers(){this.loading=!0,this.changeRolePrivileges();let e=[l.r.USER_DEF_ORGANIZATION,l.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,e,!1,!0).subscribe(e=>{this.managers=e,this.selectionUsers.clear(),this.loading=!1},()=>{this.loading=!1})}refreshGroups(){this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(e=>{this.groups=e,this.selectionGroups.clear(),this.loading=!1},()=>{this.loading=!1})}addManager(){const e=(0,ie.kZ)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(x,e).afterClosed().subscribe(e=>{e&&this.refreshUsers()})}removeManager(){const e=(0,ie.kZ)();e.width="450px",e.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(M,e).afterClosed().subscribe(e=>{e&&this.refreshUsers()})}removeGroup(){const e=(0,ie.kZ)();e.width="450px",e.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(P,e).afterClosed().subscribe(e=>{e&&this.refreshGroups()})}addGroup(){const e=(0,ie.kZ)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(se,e).afterClosed().subscribe(e=>{e&&this.refreshGroups()})}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.uw),u.Y36(r.dB),u.Y36(n.Ct),u.Y36(o.d6),u.Y36(o.x4))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("router-component",t.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],["class","mt-2",3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 mt-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],["class","mr-2 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page",4,"ngIf"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"mat-tab-group",1),u.NdJ("selectedTabChange",function(e){return t.tabChanged(e)}),u.TgZ(4,"mat-tab"),u.YNc(5,ne,2,3,"ng-template",2),u.YNc(6,Ae,6,6,"ng-template",3),u.qZA(),u.TgZ(7,"mat-tab"),u.YNc(8,Se,2,3,"ng-template",2),u.YNc(9,xe,6,6,"ng-template",3),u.qZA(),u.qZA(),u.YNc(10,Ne,3,3,"app-alert",4)),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),u.xp6(9),u.Q6J("ngIf",0===t.availableRoles.length))},directives:[ae.SP,ae.uX,ae.uD,ae.Vc,m.O5,oe.t,A.lW,h.KE,h.hX,p.gD,m.sg,S.ey,b.$g,R.C,$.W,E.w],pipes:[d.X$,T],styles:[""]}),e})()},4196:function(e,t,s){"use strict";s.d(t,{o:function(){return M}});var i=s(31572),a=s(58623),o=s(67033),n=s(4230),r=s(88426),l=s(33642),c=s(84140),u=s(48160),d=s(82819),g=s(61511),h=s(29236),p=s(66283),m=s(80340),f=s(16073),A=s(15980),S=s(36922),b=s(43691),E=s(39571);function R(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"th",14),i.TgZ(1,"mat-checkbox",15),i.NdJ("change",function(t){i.CHM(e);const s=i.oxw();return t?s.masterToggle():null}),i.qZA(),i.qZA()}if(2&e){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 T(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(t){const s=i.CHM(e).$implicit,a=i.oxw();return t?a.selection.toggle(s):null})("click",function(e){return e.stopPropagation()}),i.qZA(),i.qZA()}if(2&e){const e=t.$implicit,s=i.oxw();i.xp6(1),i.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function Z(e,t){1&e&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")))}function I(e,t){if(1&e&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e.id)}}function C(e,t){1&e&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")))}function v(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.qZA()),2&e){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",e.tagName," ")}}function _(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"mat-form-field"),i.TgZ(2,"input",21),i.NdJ("ngModelChange",function(t){return i.CHM(e),i.oxw().$implicit.tagName=t}),i.qZA(),i.qZA(),i.qZA()}if(2&e){const e=i.oxw().$implicit;i.xp6(2),i.Q6J("ngModel",e.tagName)}}function O(e,t){if(1&e&&(i.TgZ(0,"td",19),i.YNc(1,v,2,1,"div",20),i.YNc(2,_,3,1,"div",20),i.qZA()),2&e){const e=t.$implicit,s=i.oxw();i.xp6(1),i.Q6J("ngIf",!s.isChanging.isSelected(e)),i.xp6(1),i.Q6J("ngIf",s.isChanging.isSelected(e))}}function x(e,t){1&e&&i._UZ(0,"th",14)}function N(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"button",24),i.NdJ("click",function(){i.CHM(e);const t=i.oxw().$implicit;return i.oxw().edit(t)}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"edit"),i.qZA(),i.qZA()}2&e&&i.s9C("matTooltip",i.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function D(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"button",24),i.NdJ("click",function(){i.CHM(e);const t=i.oxw().$implicit;return i.oxw().save(t)}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"save"),i.qZA(),i.qZA()}2&e&&i.s9C("matTooltip",i.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function U(e,t){if(1&e&&(i.TgZ(0,"td",19),i.TgZ(1,"div",22),i.YNc(2,N,4,3,"button",23),i.YNc(3,D,4,3,"button",23),i.qZA(),i.qZA()),2&e){const e=t.$implicit,s=i.oxw();i.xp6(2),i.Q6J("ngIf",!s.isChanging.isSelected(e)),i.xp6(1),i.Q6J("ngIf",s.isChanging.isSelected(e))}}function L(e,t){1&e&&i._UZ(0,"tr",25)}function w(e,t){1&e&&i._UZ(0,"tr",26)}function y(e,t){if(1&e&&(i.TgZ(0,"app-alert",27),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"translate"),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.hij(" ","vo"===e.entity?i.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):i.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function G(e,t){1&e&&(i.TgZ(0,"app-alert",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let M=(()=>{class e{constructor(e,t,s,a,o){this.resourceManager=e,this.notificator=t,this.translator=s,this.authResolver=a,this.tableCheckbox=o,this.resourceTags=[],this.selection=new n.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","edit"],this.page=new i.vpe,this.isChanging=new n.Ov(!0,[]),this.pageSizeOptions=c.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new o.by(this.resourceTags),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.tagName;default:return""}}exportData(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>(0,c.Sd)(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>(0,c.pR)(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.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"}save(e){this.resourceManager.updateResourceTag({resourceTag:e}).subscribe(()=>{this.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e)}),this.isChanging.deselect(e)})}edit(e){this.isChanging.select(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(l.xk),i.Y36(r.V6),i.Y36(u.sK),i.Y36(r.x4),i.Y36(r.UA))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-resources-tags-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(a.YE,7),i.Gf(c.l9,7)),2&e){let e;i.iGM(e=i.CRH())&&(t.matSort=e.first),i.iGM(e=i.CRH())&&(t.child=e.first)}},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",pageSize:"pageSize",displayedColumns:"displayedColumns",entity:"entity"},outputs:{page:"page"},features:[i.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","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(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,R,2,3,"th",4),i.YNc(5,T,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Z,3,3,"th",7),i.YNc(8,I,2,1,"td",5),i.BQk(),i.ynx(9,8),i.YNc(10,C,3,3,"th",4),i.YNc(11,O,3,2,"td",9),i.BQk(),i.ynx(12,10),i.YNc(13,x,1,0,"th",4),i.YNc(14,U,4,2,"td",9),i.BQk(),i.YNc(15,L,1,0,"tr",11),i.YNc(16,w,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,y,4,5,"app-alert",13),i.YNc(18,G,3,3,"app-alert",13)),2&e&&(i.Q6J("hidden",0===t.resourceTags.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),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.resourceTags.length),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resourceTags.length))},directives:[d.l,o.BZ,a.YE,o.w1,o.fO,o.Dz,o.as,o.nj,g.O5,o.ge,h.oG,o.ev,a.nU,p.KE,m.Nt,f.Fj,f.JJ,f.On,A.lW,S.gM,b.Hw,o.XQ,o.Gk,E.w],pipes:[u.X$],styles:[""]}),e})()},91721:function(e,t,s){"use strict";s.d(t,{Q:function(){return M}});var i=s(31572),a=s(58623),o=s(67033),n=s(4230),r=s(84140),l=s(88426),c=s(82819),u=s(61511),d=s(29236),g=s(43691),h=s(36922),p=s(84534),m=s(57629),f=s(39571),A=s(48160);function S(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(t){i.CHM(e);const s=i.oxw();return t?s.masterToggle():null}),i.qZA(),i.qZA()}if(2&e){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 b(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(t){const s=i.CHM(e).$implicit,a=i.oxw();return t?a.selection.toggle(s):null})("click",function(e){return e.stopPropagation()}),i.qZA(),i.qZA()}if(2&e){const e=t.$implicit,s=i.oxw();i.xp6(1),i.Q6J("aria-label",s.checkboxLabel(e))("checked",s.selection.isSelected(e))}}function E(e,t){1&e&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function R(e,t){if(1&e&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e.id)}}function T(e,t){1&e&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function Z(e,t){if(1&e&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e.name)}}function I(e,t){1&e&&i._UZ(0,"th",16)}function C(e,t){1&e&&(i.TgZ(0,"mat-icon",23),i.ALo(1,"translate"),i._uU(2," check_circle_outline "),i.qZA()),2&e&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function v(e,t){1&e&&(i.TgZ(0,"mat-icon",23),i.ALo(1,"translate"),i._uU(2," block "),i.qZA()),2&e&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function _(e,t){if(1&e&&(i.TgZ(0,"td",21),i.YNc(1,C,3,3,"mat-icon",22),i.YNc(2,v,3,3,"mat-icon",22),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Q6J("ngIf",e.enabled),i.xp6(1),i.Q6J("ngIf",!e.enabled)}}function O(e,t){1&e&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function x(e,t){if(1&e&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e.script)}}function N(e,t){1&e&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function D(e,t){if(1&e&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&e){const e=t.$implicit;i.xp6(1),i.Oqu(e.description)}}function U(e,t){1&e&&i._UZ(0,"tr",24)}const L=function(e){return["/admin/services",e]};function w(e,t){if(1&e&&i._UZ(0,"tr",25),2&e){const e=t.$implicit,s=i.oxw();i.ekj("cursor-pointer",!s.disableRouting)("disable-outline",s.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",s.disableRouting?null:i.VKq(6,L,e.id))("routerLink",s.disableRouting?null:i.VKq(8,L,e.id))}}function y(e,t){1&e&&(i.TgZ(0,"app-alert",26),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function G(e,t){1&e&&(i.TgZ(0,"app-alert",26),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let M=(()=>{class e{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new n.Ov(!0,[]),this.disableRouting=!1,this.page=new i.vpe,this.pageSizeOptions=r.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new o.by(this.services),this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"enabled":return e.enabled?"true":"false";case"script":return e.script;case"description":return e.description;default:return""}}exportData(e){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>(0,r.Sd)(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>(0,r.pR)(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.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.dataSource.paginator=this.child.paginator}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(l.x4),i.Y36(l.UA))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-services-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(a.YE,7),i.Gf(r.l9,7)),2&e){let e;i.iGM(e=i.CRH())&&(t.matSort=e.first),i.iGM(e=i.CRH())&&(t.child=e.first)}},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[i.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["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(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,S,2,3,"th",4),i.YNc(5,b,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,E,3,3,"th",7),i.YNc(8,R,2,1,"td",5),i.BQk(),i.ynx(9,8),i.YNc(10,T,3,3,"th",7),i.YNc(11,Z,2,1,"td",9),i.BQk(),i.ynx(12,10),i.YNc(13,I,1,0,"th",4),i.YNc(14,_,3,2,"td",9),i.BQk(),i.ynx(15,11),i.YNc(16,O,3,3,"th",4),i.YNc(17,x,2,1,"td",9),i.BQk(),i.ynx(18,12),i.YNc(19,N,3,3,"th",7),i.YNc(20,D,2,1,"td",9),i.BQk(),i.YNc(21,U,1,0,"tr",13),i.YNc(22,w,1,10,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,y,3,3,"app-alert",15),i.YNc(24,G,3,3,"app-alert",15)),2&e&&(i.Q6J("hidden",void 0===t.services||0===t.services.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),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&&void 0!==t.services&&0!==t.services.length),i.xp6(1),i.Q6J("ngIf",void 0===t.services||0===t.services.length))},directives:[c.l,o.BZ,a.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,d.oG,o.ev,a.nU,g.Hw,h.gM,o.XQ,o.Gk,p.YH,m.rH,f.w],pipes:[A.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/622-es5.821b26e4eb3cd47c7b63.js b/dist/apps/admin-gui/622-es5.821b26e4eb3cd47c7b63.js new file mode 100644 index 000000000..aa0b0ede3 --- /dev/null +++ b/dist/apps/admin-gui/622-es5.821b26e4eb3cd47c7b63.js @@ -0,0 +1 @@ +!function(){function e(e,i){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(e,i)}(e))||i&&e&&"number"==typeof e.length){a&&(e=a);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return o=e.done,e},e:function(e){c=!0,r=e},f:function(){try{o||null==a.return||a.return()}finally{if(c)throw r}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(k.gz),g.Y36(r.xk),g.Y36(o.dB),g.Y36(u.uw),g.Y36(d.x4))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page"]],template:function(e,t){1&e&&(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 t.loadAllServices()}),g.qZA(),g.YNc(4,L,3,3,"button",2),g.YNc(5,G,3,4,"button",3),g.TgZ(6,"perun-web-apps-immediate-filter",4),g.NdJ("filter",function(e){return t.applyFilter(e)}),g.qZA(),g.YNc(7,M,1,0,"mat-spinner",5),g.YNc(8,Y,1,6,"app-services-list",6)),2&e&&(g.xp6(1),g.Oqu(g.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),g.xp6(3),g.Q6J("ngIf",!t.loadingResource&&t.assignServiceAuth),g.xp6(1),g.Q6J("ngIf",!t.loadingResource&&t.removeServiceAuth),g.xp6(1),g.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),g.xp6(1),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading))},directives:[w.t,h.O5,U.L,f.lW,m.$g,b.Q],pipes:[p.X$],styles:[""]}),e}()},79472:function(e,t,a){"use strict";a.d(t,{X:function(){return R}});var s=a(88426),r=a(33642),o=a(31572),c=a(57629),l=a(55109),u=a(61511),d=a(541),g=a(69012),p=a(48160);function h(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function f(e,t){if(1&e&&o._UZ(0,"app-one-entity-attribute-page",4),2&e){var i=o.oxw();o.Q6J("entity","resource")("entityId",i.resourceId)}}function m(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function v(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){var i=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","member")}}function A(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,m,3,6,"ng-template",1),o.YNc(2,v,1,3,"ng-template",2),o.qZA())}function S(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function b(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){var i=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","group")}}function E(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,S,3,6,"ng-template",1),o.YNc(2,b,1,3,"ng-template",2),o.qZA())}var R=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.authResolver=a,this.resourceManager=n}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.route.parent.params.subscribe(function(t){e.resourceId=parseInt(t.resourceId,10),e.resourceManager.getResourceById(e.resourceId).subscribe(function(t){e.resource=t,e.resourceGroupAttAuth=e.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[e.resource]),e.resourceMemberAttAuth=e.authResolver.isAuthorized("getAssignedMembersWithStatus_Resource_policy",[e.resource])})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(c.gz),o.Y36(s.x4),o.Y36(r.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,h,2,3,"ng-template",1),o.YNc(7,f,1,2,"ng-template",2),o.qZA(),o.YNc(8,A,3,0,"mat-tab",3),o.YNc(9,E,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",t.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",t.resourceGroupAttAuth))},directives:[l.SP,l.uX,l.uD,l.Vc,u.O5,d.t,g.Y],pipes:[p.X$],styles:[""]}),e}()},72920:function(e,t,a){"use strict";a.d(t,{b:function(){return G}});var s=a(17),r=a(75585),o=a(33642),c=a(84140),l=a(88426),u=a(22280),d=a(61189),g=a(95909),p=a(31572),h=a(57629),f=a(48958),m=a(84608),v=a(66297),A=a(61511),S=a(67806),b=a(43691),E=a(36922),R=a(21575),T=a(15980),Z=a(48160);function I(e,t){1&e&&p._UZ(0,"mat-spinner",3)}function C(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).editResource()}),p.TgZ(1,"mat-icon"),p._uU(2,"edit"),p.qZA(),p.qZA()}}function _(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).deleteResource()}),p.TgZ(1,"mat-icon"),p._uU(2,"delete_forever"),p.qZA(),p.qZA()}}var O=function(e){return["/organizations",e]};function y(e,t){if(1&e&&(p.TgZ(0,"a",8),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.Q6J("routerLink",p.VKq(2,O,i.resource.vo.id)),p.xp6(1),p.Oqu(i.resource.vo.name)}}function x(e,t){if(1&e&&(p.TgZ(0,"span"),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.hij(" ",i.resource.vo.name," ")}}var N=function(e){return["/facilities",e]};function D(e,t){if(1&e&&(p.TgZ(0,"a",8),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.Q6J("routerLink",p.VKq(2,N,i.resource.facilityId)),p.xp6(1),p.Oqu(i.resource.facility.name)}}function k(e,t){if(1&e&&(p.TgZ(0,"span"),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.hij(" ",i.resource.facility.name," ")}}var w=function(){return{color:"black"}},U=function(e){return[e]};function L(e,t){if(1&e&&(p.TgZ(0,"div"),p.TgZ(1,"div",4),p._UZ(2,"mat-icon",5),p.ALo(3,"translate"),p.TgZ(4,"div",6),p.TgZ(5,"div",7),p.TgZ(6,"a",8),p._uU(7),p.qZA(),p.TgZ(8,"span",9),p._uU(9),p.qZA(),p.YNc(10,C,3,0,"button",10),p.YNc(11,_,3,0,"button",11),p.qZA(),p.TgZ(12,"div"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"span",12),p._uU(16),p.ALo(17,"translate"),p.ALo(18,"translate"),p.YNc(19,y,2,4,"a",13),p.YNc(20,x,2,1,"span",2),p._uU(21),p.ALo(22,"translate"),p.YNc(23,D,2,4,"a",14),p.YNc(24,k,2,1,"span",2),p._uU(25),p.ALo(26,"translate"),p.qZA(),p.qZA(),p.qZA(),p._UZ(27,"app-animated-router-outlet"),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.s9C("matTooltip",p.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),p.Q6J("ngStyle",p.DdM(32,w)),p.xp6(4),p.Q6J("routerLink",p.VKq(33,U,i.baseUrl)),p.xp6(1),p.hij(" ",i.resource.name," "),p.xp6(2),p.hij(" \xa0#",i.resource.id," "),p.xp6(1),p.Q6J("ngIf",i.editResourceAuth),p.xp6(1),p.Q6J("ngIf",i.deleteAuth),p.xp6(2),p.AsE(" ",p.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",i.resource.uuid," "),p.xp6(3),p.AsE(" ",p.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",p.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),p.xp6(3),p.Q6J("ngIf",i.voLinkAuth),p.xp6(1),p.Q6J("ngIf",!i.voLinkAuth),p.xp6(1),p.AsE(" #",i.resource.voId,", ",p.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),p.xp6(2),p.Q6J("ngIf",i.facilityLinkAuth),p.xp6(1),p.Q6J("ngIf",!i.facilityLinkAuth),p.xp6(1),p.lnq(" #",i.resource.facilityId,", ",p.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",i.resource.description," ")}}var G=function(){var e=function(){function e(t,a,n,s,r,o,c,l,u){i(this,e),this.route=t,this.facilityManager=a,this.vosManagerService=n,this.resourcesManager=s,this.sideMenuService=r,this.sideMenuItemService=o,this.dialog=c,this.guiAuthResolver=l,this.router=u,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.params.subscribe(function(t){e.resourcesManager.getRichResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.setAuth(),"facilities"===e.route.parent.snapshot.url[0].path?(e.baseUrl=(new u.r5).transform(t,!1),e.facilityManager.getFacilityById(t.facilityId).subscribe(function(i){var a=e.sideMenuItemService.parseFacility(i),n=e.sideMenuItemService.parseResource(t,!1);e.sideMenuService.setFacilityMenuItems([a,n]),e.loading=!1},function(){return e.loading=!1})):(e.baseUrl=(new u.r5).transform(t,!0),e.vosManagerService.getVoById(t.voId).subscribe(function(i){var a=e.sideMenuItemService.parseVo(i),n=e.sideMenuItemService.parseResource(t,!0);e.sideMenuService.setAccessMenuItems([a,n]),e.loading=!1},function(){return e.loading=!1})),(0,c.sF)("resources",e.resource)})})}},{key:"setAuth",value:function(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}},{key:"editResource",value:function(){var e,t=this;this.resourcesManager.getResourceById(this.resource.id).subscribe(function(i){e=i;var a=(0,c.kZ)();a.width="450px",a.data={theme:"resource-theme",resource:e,dialogType:d.Eg.RESOURCE},t.dialog.open(d.rd,a).afterClosed().subscribe(function(e){e&&t.resourcesManager.getRichResourceById(t.resource.id).subscribe(function(e){t.resource=e})})})}},{key:"deleteResource",value:function(){var e=this,t=(0,c.kZ)();t.width="500px",t.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(g.f,t).afterClosed().subscribe(function(t){t&&e.router.navigate(["../"],{relativeTo:e.route})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(h.gz),p.Y36(o.IQ),p.Y36(o.YF),p.Y36(o.xk),p.Y36(f.D),p.Y36(r.V),p.Y36(m.uw),p.Y36(l.x4),p.Y36(h.F0))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(e,t){1&e&&(p.TgZ(0,"div",0),p._UZ(1,"perun-web-apps-back-button"),p.YNc(2,I,1,0,"mat-spinner",1),p.YNc(3,L,28,35,"div",2),p.qZA()),2&e&&(p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading&&void 0!==t.resource))},directives:[v.W,A.O5,S.$g,b.Hw,E.gM,A.PC,h.yS,R.A,T.lW],pipes:[Z.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[s.Ji]}}),e}()},42473:function(t,a,s){"use strict";s.d(a,{K:function(){return V}});var r=s(33642),o=s(4230),c=s(84608),l=s(67033),u=s(88426),d=s(31572),g=s(48160),p=s(61511),h=s(15980),f=s(67806);function m(e,t){1&e&&d._UZ(0,"mat-spinner",6)}function v(e,t){1&e&&d._UZ(0,"th",15)}function A(e,t){if(1&e&&(d.TgZ(0,"td",16),d._uU(1),d.qZA()),2&e){var i=t.$implicit;d.xp6(1),d.hij(" ",i.name," ")}}function S(e,t){1&e&&d._UZ(0,"tr",17)}function b(e,t){1&e&&d._UZ(0,"tr",18)}function E(e,t){if(1&e&&(d.TgZ(0,"div",7),d.TgZ(1,"p"),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"div",8),d._uU(5),d.ALo(6,"translate"),d.qZA(),d.TgZ(7,"table",9),d.ynx(8,10),d.YNc(9,v,1,0,"th",11),d.YNc(10,A,2,1,"td",12),d.BQk(),d.YNc(11,S,1,0,"tr",13),d.YNc(12,b,1,0,"tr",14),d.qZA(),d.qZA()),2&e){var i=d.oxw();d.xp6(2),d.hij(" ",d.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),d.xp6(3),d.hij(" ",d.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),d.xp6(2),d.Q6J("dataSource",i.dataSource),d.xp6(4),d.Q6J("matHeaderRowDef",i.displayedColumns),d.xp6(1),d.Q6J("matRowDefColumns",i.displayedColumns)}}var R=function(){var t=function(){function t(e,a,n,s,r){i(this,t),this.dialogRef=e,this.data=a,this.notificator=n,this.translate=s,this.resourceManager=r,this.displayedColumns=["name"],this.loading=!1}return n(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new l.by(this.data.groups)}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t,i=this,a=[],n=e(this.data.groups);try{for(n.s();!(t=n.n()).done;){var s=t.value;a.push(s.id)}}catch(r){n.e(r)}finally{n.f()}this.loading=!0,this.resourceManager.removeGroupsFromResource(a,this.data.resourceId).subscribe(function(){i.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(function(e){i.notificator.showSuccess(e),i.dialogRef.close(!0)})},function(){return i.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(c.so),d.Y36(c.WI),d.Y36(u.V6),d.Y36(g.sK),d.Y36(r.xk))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.YNc(4,m,1,0,"mat-spinner",1),d.YNc(5,E,13,9,"div",2),d.TgZ(6,"div",3),d.TgZ(7,"button",4),d.NdJ("click",function(){return t.onCancel()}),d._uU(8),d.ALo(9,"translate"),d.qZA(),d.TgZ(10,"button",5),d.NdJ("click",function(){return t.onSubmit()}),d._uU(11),d.ALo(12,"translate"),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.Tol(t.theme),d.xp6(2),d.Oqu(d.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(3),d.hij(" ",d.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),d.xp6(2),d.Q6J("disabled",t.loading),d.xp6(1),d.hij(" ",d.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[c.uh,p.O5,c.H8,h.lW,f.$g,c.xY,l.BZ,l.w1,l.fO,l.Dz,l.as,l.nj,l.ge,l.ev,l.XQ,l.Gk],pipes:[g.X$],styles:[""]}),t}(),T=s(60611),Z=s(29236),I=s(36922),C=s(16073),_=s(91058),O=s(78364);function y(e,t){1&e&&d._UZ(0,"mat-spinner",7)}var x=function(){return["select","id","name","description"]};function N(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"div",8),d.TgZ(1,"perun-web-apps-debounce-filter",9),d.NdJ("filter",function(e){return d.CHM(i),d.oxw().applyFilter(e)}),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"perun-web-apps-groups-list",10),d.NdJ("page",function(e){return d.CHM(i),d.oxw().pageChanged(e)}),d.qZA(),d.qZA()}if(2&e){var a=d.oxw();d.xp6(1),d.s9C("placeholder",d.lcZ(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),d.xp6(2),d.Q6J("pageSize",a.pageSize)("groups",a.unAssignedGroups)("selection",a.selection)("filter",a.filterValue)("displayedColumns",d.DdM(10,x))("disableRouting",!0)("disableMembers",!1)}}var D=function(){var t=function(){function t(e,a,n,s,r,c,l,u){i(this,t),this.dialogRef=e,this.data=a,this.notificator=n,this.translate=s,this.resourceManager=r,this.tableConfigService=c,this.groupService=l,this.guiAuthResolver=u,this.loading=!1,this.checkGroups=!1,this.async=!0,this.selection=new o.Ov(!0,[]),this.filterValue="",this.tableId=T.cL}return n(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resource=this.data.resource,this.resourceManager.getAssignedGroups(this.resource.id).subscribe(function(i){t.groupService.getAllGroups(t.resource.voId).subscribe(function(a){t.unAssignedGroups=a;var n,s=e(i);try{for(s.s();!(n=s.n()).done;){var r,o=n.value,c=e(a);try{for(c.s();!(r=c.n()).done;){var l=r.value;o.id===l.id&&t.unAssignedGroups.splice(t.unAssignedGroups.indexOf(l),1)}}catch(u){c.e(u)}finally{c.f()}}}catch(u){s.e(u)}finally{s.f()}t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onAdd",value:function(){var t=this;if(this.checkGroups);else{this.loading=!0;var i,a=[],n=e(this.selection.selected);try{for(n.s();!(i=n.n()).done;){var s=i.value;a.push(s.id)}}catch(r){n.e(r)}finally{n.f()}this.resourceManager.assignGroupsToResource(a,this.resource.id,this.async).subscribe(function(){t.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"canAddGroups",value:function(){var e=this,t=!0;return this.selection.selected.forEach(function(i){e.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[e.resource,i])||(t=!1)}),t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(c.so),d.Y36(c.WI),d.Y36(u.V6),d.Y36(g.sK),d.Y36(r.xk),d.Y36(T.dB),d.Y36(r.ff),d.Y36(u.x4))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:18,vars:26,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","matTooltip","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(e,t){1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.YNc(4,y,1,0,"mat-spinner",1),d.YNc(5,N,4,11,"div",2),d.TgZ(6,"div",3),d.TgZ(7,"mat-checkbox",4),d.NdJ("ngModelChange",function(e){return t.async=e}),d.ALo(8,"translate"),d._uU(9),d.ALo(10,"translate"),d.qZA(),d.TgZ(11,"button",5),d.NdJ("click",function(){return t.onCancel()}),d._uU(12),d.ALo(13,"translate"),d.qZA(),d.TgZ(14,"button",6),d.NdJ("click",function(){return t.onAdd()}),d.ALo(15,"translate"),d._uU(16),d.ALo(17,"translate"),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.Tol(t.theme),d.xp6(2),d.Oqu(d.lcZ(3,14,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(2),d.s9C("matTooltip",d.lcZ(8,16,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT_DESCRIPTION")),d.Q6J("ngModel",t.async),d.xp6(2),d.hij(" ",d.lcZ(10,18,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),d.xp6(3),d.hij(" ",d.lcZ(13,20,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),d.xp6(2),d.s9C("matTooltip",d.lcZ(15,22,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),d.Q6J("disabled",0===t.selection.selected.length||!t.canAddGroups()||t.loading)("matTooltipDisabled",t.canAddGroups()),d.xp6(2),d.hij(" ",d.lcZ(17,24,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[c.uh,p.O5,c.H8,Z.oG,I.gM,C.JJ,C.On,h.lW,f.$g,c.xY,_.P,O.W],pipes:[g.X$],styles:[""]}),t}(),k=s(84140),w=s(67004),U=s(57629),L=s(59403),G=s(39571),M=["checkbox"];function Y(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(i),d.oxw().addGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function q(e,t){1&e&&d._UZ(0,"mat-spinner",10)}var J=function(e){return[e]},Q=function(){return["select","id","name","status","description"]};function z(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"div",11),d.TgZ(1,"perun-web-apps-groups-list",12),d.NdJ("page",function(e){return d.CHM(i),d.oxw().pageChanged(e)})("refreshTable",function(){return d.CHM(i),d.oxw().loadAllGroups()}),d.qZA(),d.qZA()}if(2&e){var a=d.oxw();d.xp6(1),d.Q6J("pageSize",a.pageSize)("groups",a.assignedGroups)("filter",a.filteredValue)("selection",a.selected)("disableMembers",!1)("resourceId",a.resourceId)("disableRouting",!a.guiAuthResolver.isAuthorized("getGroupById_int_policy",d.VKq(8,J,a.assignedGroups[0])))("displayedColumns",d.DdM(10,Q))}}function P(e,t){1&e&&(d.TgZ(0,"app-alert",13),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}var V=function(){var e=function(){function e(t,a,n,s,r,c){i(this,e),this.route=t,this.resourcesManager=a,this.vosManagerService=n,this.tableConfigService=s,this.dialog=r,this.guiAuthResolver=c,this.assignedGroups=[],this.selected=new o.Ov(!0,[]),this.filteredValue="",this.tableId=T.Ad}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(t){e.resourceId=t.resourceId,e.getDataForAuthorization(),e.loadAllGroups()})}},{key:"loadAllGroups",value:function(){var e=this;this.loading=!0,this.resourcesManager.getGroupAssignments(this.resourceId,[w.r.GROUP_SYNC_ENABLED]).subscribe(function(t){e.assignedGroups=t.map(function(e){var t=e.enrichedGroup.group;return t.status=e.status,t.failureCause=e.failureCause,t}),e.selected.clear(),e.loading=!1})}},{key:"addGroup",value:function(){var e=this,t=(0,k.kZ)();t.width="800px",t.data={theme:"resource-theme",resource:this.resource},this.dialog.open(D,t).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"removeGroups",value:function(){var e=this,t=(0,k.kZ)();t.width="500px",t.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(R,t).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"canRemoveGroups",value:function(){var e=this,t=!0;return this.selected.selected.forEach(function(i){e.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[e.resource,i])||(t=!1)}),t}},{key:"applyFilter",value:function(e){this.filteredValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"getDataForAuthorization",value:function(){var e=this;this.loadingResource=!0,this.resourcesManager.getResourceById(this.resourceId).subscribe(function(t){e.resource=t,e.loadingResource=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Y36(U.gz),d.Y36(r.xk),d.Y36(r.YF),d.Y36(T.dB),d.Y36(c.uw),d.Y36(u.x4))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){var i;(1&e&&d.Gf(M,7),2&e)&&(d.iGM(i=d.CRH())&&(t.checkbox=i.first))},decls:14,vars:18,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"pageSize","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","page","refreshTable"],["alert_type","warn"]],template:function(e,t){1&e&&(d.TgZ(0,"h1",0),d._uU(1),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return t.loadAllGroups()}),d.qZA(),d.YNc(4,Y,3,3,"button",2),d.TgZ(5,"button",3),d.NdJ("click",function(){return t.removeGroups()}),d.TgZ(6,"span",4),d.ALo(7,"translate"),d._uU(8),d.ALo(9,"translate"),d.qZA(),d.qZA(),d.TgZ(10,"perun-web-apps-debounce-filter",5),d.NdJ("filter",function(e){return t.applyFilter(e)}),d.qZA(),d.YNc(11,q,1,0,"mat-spinner",6),d.YNc(12,z,2,11,"div",7),d.YNc(13,P,3,3,"app-alert",8)),2&e&&(d.xp6(1),d.Oqu(d.lcZ(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",d.VKq(16,J,t.resource))),d.xp6(1),d.Q6J("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),d.xp6(1),d.s9C("matTooltip",d.lcZ(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),d.Q6J("matTooltipDisabled",t.canRemoveGroups()),d.xp6(2),d.hij(" ",d.lcZ(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),d.xp6(2),d.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),d.xp6(1),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading&&0!==t.assignedGroups.length),d.xp6(1),d.Q6J("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[L.t,p.O5,h.lW,I.gM,_.P,f.$g,O.W,G.w],pipes:[g.X$],styles:[""]}),e}()},76527:function(e,t,a){"use strict";a.d(t,{H:function(){return h}});var s=a(33642),r=a(88426),o=a(31572),c=a(57629),l=a(61511),u=a(67806),d=a(8557);function g(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function p(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){var i=o.oxw();o.xp6(1),o.Q6J("items",i.navItems)("size","small")}}var h=function(){var e=function(){function e(t,a,n){i(this,e),this.resourcesManager=t,this.route=a,this.guiAuthResolver=n,this.navItems=[],this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.params.subscribe(function(t){e.resourcesManager.getResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.initItems("facilities"!==e.route.parent.parent.snapshot.url[0].path),e.loading=!1},function(){return e.loading=!1})})}},{key:"initItems",value:function(e){var t=e?"/organizations/".concat(this.resource.voId):"/facilities/".concat(this.resource.facilityId);this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:"".concat(t,"/resources/").concat(this.resource.id,"/groups"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:"/".concat(t,"/resources/").concat(this.resource.id,"/services"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:"".concat(t,"/resources/").concat(this.resource.id,"/members"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:"".concat(t,"/resources/").concat(this.resource.id,"/tags"),label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"".concat(t,"/resources/").concat(this.resource.id,"/attributes"),label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:"".concat(t,"/resources/").concat(this.resource.id,"/settings"),label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.xk),o.Y36(c.gz),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,g,1,0,"mat-spinner",0),o.YNc(1,p,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[l.O5,u.$g,d.L],styles:[""]}),e}()},64359:function(e,t,a){"use strict";a.d(t,{O:function(){return g}});var s=a(33642),r=a(88426),o=a(31572),c=a(57629),l=a(61511),u=a(489);function d(e,t){if(1&e&&o._UZ(0,"app-managers-page",1),2&e){var i=o.oxw();o.Q6J("complementaryObject",i.resource)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var g=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.resourceService=a,this.guiAuthResolver=n,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.route.parent.parent.params.subscribe(function(t){e.resourceService.getResourceById(t.resourceId).subscribe(function(t){e.resource=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(c.gz),o.Y36(s.xk),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-managers"]],decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,t){1&e&&o.YNc(0,d,1,4,"app-managers-page",0),2&e&&o.Q6J("ngIf",t.resource)},directives:[l.O5,u.s],styles:[""]}),e}()},22927:function(e,t,a){"use strict";a.d(t,{h:function(){return h}});var s=a(33642),r=a(88426),o=a(31572),c=a(57629),l=a(61511),u=a(67806),d=a(8557);function g(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function p(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){var i=o.oxw();o.xp6(1),o.Q6J("items",i.items)("size","small")}}var h=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.resourceManager=a,this.authResolver=n,this.items=[],this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.resourceManager.getResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.initItems("facilities"!==e.route.parent.parent.parent.snapshot.url[0].path),e.loading=!1},function(){return e.loading=!1})})}},{key:"initItems",value:function(e){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:"".concat(e?"/organizations/".concat(this.resource.voId):"/facilities/".concat(this.resource.facilityId),"/resources/").concat(this.resource.id,"/settings/managers"),label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(c.gz),o.Y36(s.xk),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,g,1,0,"mat-spinner",0),o.YNc(1,p,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[l.O5,u.$g,d.L],styles:[""]}),e}()},77968:function(e,t,a){"use strict";a.d(t,{t:function(){return o}});var n=a(17),s=a(31572),r=a(21575),o=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&s._UZ(0,"app-animated-router-outlet")},directives:[r.A],styles:[""],data:{animation:[n.Ji]}}),e}()},53134:function(e,t,a){"use strict";a.d(t,{v:function(){return x}});var s=a(33642),r=a(4230),o=a(60611),c=a(84140),l=a(88426),u=a(61189),d=a(84608),g=a(31572),p=a(61511),h=a(15980),f=a(67806),m=a(4196),v=a(48160);function A(e,t){1&e&&g._UZ(0,"mat-spinner",8)}function S(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"app-resources-tags-list",9),g.NdJ("page",function(e){return g.CHM(i),g.oxw().pageChanged(e)}),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTags)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","resource")}}var b=function(){var e=function(){function e(t,a,n,s){i(this,e),this.dialogRef=t,this.data=a,this.tableConfigService=n,this.resourcesManager=s,this.tableId=o.g,this.selection=new r.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(function(t){e.resourceTags=t.filter(function(t){return e.assignedTags.map(function(e){return e.id}).indexOf(t.id)<=-1}),e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(e){var t=this;if(0===e.length)return this.dialogRef.close(!0);var i=e.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:i}).subscribe(function(){t.onSubmit(e)})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(d.so),g.Y36(d.WI),g.Y36(o.dB),g.Y36(s.xk))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",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,"mr-auto","ml-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.TgZ(4,"div",1),g.TgZ(5,"div",2),g.YNc(6,A,1,0,"mat-spinner",3),g.qZA(),g.YNc(7,S,1,6,"app-resources-tags-list",4),g.qZA(),g.TgZ(8,"div",5),g.TgZ(9,"button",6),g.NdJ("click",function(){return t.onCancel()}),g._uU(10),g.ALo(11,"translate"),g.qZA(),g.TgZ(12,"button",7),g.NdJ("click",function(){return t.onSubmit(t.selection.selected)}),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.qZA(),g.qZA()),2&e&&(g.Tol(t.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),g.xp6(4),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading),g.xp6(3),g.hij(" ",g.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),g.xp6(2),g.Q6J("disabled",t.loading||0===t.resourceTags.length),g.xp6(1),g.hij(" ",g.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[d.uh,d.xY,p.O5,d.H8,h.lW,f.$g,m.o],pipes:[v.X$],styles:[""]}),e}(),E=a(24923),R=a(57629),T=a(59403),Z=a(19139);function I(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",8),g.NdJ("click",function(){return g.CHM(i),g.oxw().create()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function C(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",9),g.NdJ("click",function(){return g.CHM(i),g.oxw().addTag()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function _(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",10),g.NdJ("click",function(){return g.CHM(i),g.oxw().removeTags()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("disabled",0===a.selection.selected.length),g.xp6(1),g.hij(" ",g.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function O(e,t){1&e&&g._UZ(0,"mat-spinner",11)}function y(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"app-resources-tags-list",12),g.NdJ("page",function(e){return g.CHM(i),g.oxw().pageChanged(e)}),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTags)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","resource")}}var x=function(){var e=function(){function e(t,a,n,s,c,l,u,d){i(this,e),this.route=t,this.authResolver=a,this.tableConfigService=n,this.resourcesManager=s,this.voService=c,this.dialog=l,this.notificator=u,this.translate=d,this.loading=!1,this.resourceTags=[],this.selection=new r.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.resourceId=t.resourceId,e.resourcesManager.getResourceById(e.resourceId).subscribe(function(t){e.resource=t,e.updateData()})})}},{key:"removeTags",value:function(){var e=this,t=(0,c.kZ)();t.width="450px",t.data={items:this.selection.selected.map(function(e){return e.tagName}),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(u.Tf,t).afterClosed().subscribe(function(t){t&&e.removeTag(e.selection.selected)})}},{key:"removeTag",value:function(e){var t=this;if(0===e.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();var i=e.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resourceId,resourceTag:i}).subscribe(function(){t.removeTag(e)})}},{key:"addTag",value:function(){var e=this,t=(0,c.kZ)();t.width="600px",t.data={voId:this.resource.voId,resourceId:this.resourceId,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(b,t).afterClosed().subscribe(function(t){t&&(e.notificator.showSuccess(e.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),e.updateData())})}},{key:"create",value:function(){var e=this,t=(0,c.kZ)();t.width="450px",t.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(E.p,t).afterClosed().subscribe(function(t){t&&(e.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.updateData())})}},{key:"updateData",value:function(){var e=this;this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resourceId).subscribe(function(t){e.resourceTags=t,e.selection.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){var e={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[e]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(R.gz),g.Y36(l.x4),g.Y36(o.dB),g.Y36(s.xk),g.Y36(s.YF),g.Y36(d.uw),g.Y36(l.V6),g.Y36(v.sK))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(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 t.updateData()}),g.qZA(),g.YNc(4,I,3,3,"button",2),g.YNc(5,C,3,3,"button",3),g.YNc(6,_,3,4,"button",4),g.TgZ(7,"perun-web-apps-immediate-filter",5),g.NdJ("filter",function(e){return t.applyFilter(e)}),g.qZA(),g.YNc(8,O,1,0,"mat-spinner",6),g.YNc(9,y,1,6,"app-resources-tags-list",7)),2&e&&(g.xp6(1),g.Oqu(g.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),g.xp6(3),g.Q6J("ngIf",t.createAuth),g.xp6(1),g.Q6J("ngIf",t.addAuth),g.xp6(1),g.Q6J("ngIf",t.removeAuth),g.xp6(1),g.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),g.xp6(1),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading))},directives:[T.t,p.O5,Z.L,h.lW,f.$g,m.o],pipes:[v.X$],styles:[""]}),e}()},24923:function(e,t,a){"use strict";a.d(t,{p:function(){return v}});var s=a(84608),r=a(33642),o=a(31572),c=a(61511),l=a(15980),u=a(67806),d=a(66283),g=a(80340),p=a(16073),h=a(48160);function f(e,t){1&e&&o._UZ(0,"mat-spinner",6)}function m(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(e){return o.CHM(i),o.oxw().name=e}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&e){var a=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",a.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}var v=function(){var e=function(){function e(t,a,n){i(this,e),this.dialogRef=t,this.data=a,this.resourceManager=n,this.name="",this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.so),o.Y36(s.WI),o.Y36(r.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,f,1,0,"mat-spinner",1),o.YNc(5,m,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return t.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return t.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.Tol(t.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",t.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[s.uh,c.O5,s.H8,l.lW,u.$g,s.xY,d.KE,g.Nt,p.Fj,p.Q7,p.JJ,p.On,d.TO],pipes:[h.X$],styles:[""]}),e}()},489:function(t,a,s){"use strict";s.d(a,{s:function(){return we}});var r=s(4230),o=s(84608),c=s(88426),l=s(33642),u=s(60611),d=s(67004),g=s(16073),p=s(31572),h=s(48160),f=s(57629),m=s(66283),v=s(4786),A=s(61511),S=s(80340),b=s(15980),E=s(71522),R=s(67806),T=s(39571),Z=s(86593),I=function(){var e=function(){function e(t){i(this,e),this.translate=t,this.prefix="ROLES."}return n(e,[{key:"transform",value:function(e){var t=this.prefix.concat(e);return this.translate.instant(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(h.sK,16))},e.\u0275pipe=p.Yjl({name:"displayedRole",type:e,pure:!0}),e}();function C(e,t){if(1&e&&(p.TgZ(0,"mat-option",15),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function _(e,t){1&e&&p._UZ(0,"mat-spinner",16)}function O(e,t){1&e&&(p.TgZ(0,"app-alert",20),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}var y=function(){return["select","id","name","email","logins","organization"]};function x(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"app-users-list",21),p.NdJ("page",function(e){return p.CHM(i),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("pageSize",a.pageSize)("disableRouting",!0)("selection",a.selection)("displayedColumns",p.DdM(5,y))("users",a.users)}}function N(e,t){if(1&e&&(p.TgZ(0,"div",17),p.YNc(1,O,3,3,"app-alert",18),p.YNc(2,x,1,6,"app-users-list",19),p.qZA()),2&e){var i=p.oxw();p.xp6(1),p.Q6J("ngIf",0===i.users.length&&i.firstSearchDone),p.xp6(1),p.Q6J("ngIf",0!==i.users.length)}}var D=function(){var e=function(){function e(t,a,n,s,o,c,l,d,g,p){var h=this;i(this,e),this.dialogRef=t,this.data=a,this.authzService=n,this.usersService=s,this.translate=o,this.notificator=c,this.storeService=l,this.route=d,this.router=g,this.tableConfigService=p,this.selection=new r.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=u.H2,o.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(function(e){return h.title=e}),o.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(function(e){return h.successMessage=e})}return n(e,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new g.NI("",[g.kI.required,g.kI.pattern(".*[\\S]+.*")])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onSearchByString",value:function(){var e=this;if(this.searchCtrl.invalid)this.searchCtrl.markAllAsTouched();else{this.loading=!0,this.selection.clear();var t=[d.r.USER_DEF_ORGANIZATION,d.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,t).subscribe(function(t){e.users=t,e.loading=!1,e.firstSearchDone=!0},function(){return e.loading=!1})}}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(l.Ct),p.Y36(l.Fv),p.Y36(h.sK),p.Y36(c.V6),p.Y36(c.d6),p.Y36(f.gz),p.Y36(f.F0),p.Y36(u.dB))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page",4,"ngIf"],["alert_type","warn"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page"]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",1),p.TgZ(5,"div",2),p.TgZ(6,"mat-form-field",3),p.TgZ(7,"mat-label"),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"mat-select",4),p.NdJ("valueChange",function(e){return t.selectedRole=e}),p.YNc(11,C,3,4,"mat-option",5),p.qZA(),p.qZA(),p.TgZ(12,"mat-form-field",6),p.TgZ(13,"label"),p.TgZ(14,"input",7),p.NdJ("keyup.enter",function(){return t.onSearchByString()}),p.ALo(15,"translate"),p.qZA(),p.qZA(),p.TgZ(16,"mat-error"),p._uU(17),p.ALo(18,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(19,"button",8),p.NdJ("click",function(){return t.onSearchByString()}),p._uU(20),p.ALo(21,"translate"),p.qZA(),p.TgZ(22,"div",9),p.YNc(23,_,1,0,"mat-spinner",10),p.qZA(),p.YNc(24,N,3,2,"div",11),p.qZA(),p.TgZ(25,"div",12),p.TgZ(26,"button",13),p.NdJ("click",function(){return t.onCancel()}),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.TgZ(29,"button",14),p.NdJ("click",function(){return t.onSubmit()}),p._uU(30),p.ALo(31,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),p.xp6(6),p.Oqu(p.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",t.selectedRole),p.xp6(1),p.Q6J("ngForOf",t.availableRoles),p.xp6(3),p.s9C("placeholder",p.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),p.Q6J("formControl",t.searchCtrl),p.xp6(3),p.hij(" ",p.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),p.xp6(3),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",null!==t.users&&!t.loading),p.xp6(3),p.hij(" ",p.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||void 0===t.selectedRole||t.loading),p.xp6(1),p.hij(" ",p.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[o.uh,o.xY,m.KE,m.hX,v.gD,A.sg,S.Nt,g.Fj,g.JJ,g.oH,m.TO,b.lW,A.O5,o.H8,E.ey,R.$g,T.w,Z.C],pipes:[h.X$,I],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),e}(),k=s(67033);function w(e,t){1&e&&p._UZ(0,"th",14)}function U(e,t){if(1&e&&(p.TgZ(0,"td",15),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.xp6(1),p.AsE(" ",i.firstName," ",i.lastName,"")}}function L(e,t){1&e&&p._UZ(0,"tr",16)}function G(e,t){1&e&&p._UZ(0,"tr",17)}function M(e,t){if(1&e&&(p.TgZ(0,"div",6),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",7),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",8),p.ynx(8,9),p.YNc(9,w,1,0,"th",10),p.YNc(10,U,2,2,"td",11),p.BQk(),p.YNc(11,L,1,0,"tr",12),p.YNc(12,G,1,0,"tr",13),p.qZA(),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),p.xp6(2),p.Q6J("dataSource",i.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",i.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",i.displayedColumns)}}function Y(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var q=function(){var e=function(){function e(t,a,n,s,r){i(this,e),this.dialogRef=t,this.data=a,this.notificator=n,this.translate=s,this.authzService=r,this.displayedColumns=["name"]}return n(e,[{key:"ngOnInit",value:function(){this.dataSource=new k.by(this.data.managers),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(c.V6),p.Y36(h.sK),p.Y36(l.Ct))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["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",""],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,M,13,9,"div",1),p.YNc(5,Y,1,0,"mat-spinner",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return t.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return t.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),p.xp6(2),p.Q6J("ngIf",!t.loading),p.xp6(1),p.Q6J("ngIf",t.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[o.uh,A.O5,o.H8,b.lW,o.xY,k.BZ,k.w1,k.fO,k.Dz,k.as,k.nj,k.ge,k.ev,k.XQ,k.Gk,R.$g],pipes:[h.X$],styles:[""]}),e}();function J(e,t){1&e&&p._UZ(0,"mat-spinner",6)}function Q(e,t){1&e&&p._UZ(0,"th",15)}function z(e,t){if(1&e&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.xp6(1),p.hij(" ",i.name,"")}}function P(e,t){1&e&&p._UZ(0,"tr",17)}function V(e,t){1&e&&p._UZ(0,"tr",18)}function F(e,t){if(1&e&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,Q,1,0,"th",11),p.YNc(10,z,2,1,"td",12),p.BQk(),p.YNc(11,P,1,0,"tr",13),p.YNc(12,V,1,0,"tr",14),p.qZA(),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),p.xp6(2),p.Q6J("dataSource",i.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",i.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",i.displayedColumns)}}var H=function(){var e=function(){function e(t,a,n,s,r){i(this,e),this.dialogRef=t,this.data=a,this.notificator=n,this.translate=s,this.authzService=r,this.displayedColumns=["name"]}return n(e,[{key:"ngOnInit",value:function(){this.dataSource=new k.by(this.data.groups),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(c.V6),p.Y36(h.sK),p.Y36(l.Ct))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,J,1,0,"mat-spinner",1),p.YNc(5,F,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return t.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return t.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[o.uh,A.O5,o.H8,b.lW,R.$g,o.xY,k.BZ,k.w1,k.fO,k.Dz,k.as,k.nj,k.ge,k.ev,k.XQ,k.Gk],pipes:[h.X$],styles:[""]}),e}(),j=s(56238),B=s(79996),$=s(40084),X=s(91058),W=s(78364);function K(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function ee(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.hij(" ",i.name," ")}}function te(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-debounce-filter",18),p.NdJ("filter",function(e){return p.CHM(i),p.oxw().applyFilter(e)}),p.ALo(1,"translate"),p.qZA()}2&e&&p.s9C("placeholder",p.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function ie(e,t){1&e&&p._UZ(0,"mat-spinner",19)}var ae=function(){return["select","id","name","description"]};function ne(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"div",20),p.TgZ(1,"perun-web-apps-groups-list",21),p.NdJ("page",function(e){return p.CHM(i),p.oxw().pageChanged(e)}),p.qZA(),p.qZA()}if(2&e){var a=p.oxw();p.xp6(1),p.Q6J("pageSize",a.pageSize)("disableRouting",!0)("displayedColumns",p.DdM(7,ae))("selection",a.selection)("filter",a.filterValue)("groups",a.groups)("disableMembers",!1)}}var se=function(){var e=function(){function e(t,a,n,s,o,c,l,d,p,h){var f=this;i(this,e),this.dialogRef=t,this.data=a,this.authzService=n,this.voService=s,this.groupService=o,this.translate=c,this.notificator=l,this.route=d,this.tableConfigService=p,this.router=h,this.searchString="",this.selection=new r.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new g.NI,this.firstSearchDone=!1,this.tableId=u.kZ,c.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(function(e){return f.title=e}),c.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(function(e){return f.successMessage=e})}return n(e,[{key:"displayFn",value:function(e){return e?e.name:null}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close()},function(){return e.loading=!1})}},{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(function(t){e.filteredOptions=e.myControl.valueChanges.pipe((0,j.O)(""),(0,B.U)(function(t){return e._filter(t)})),e.vos=t,e.loading=!1},function(){return e.loading=!1})}},{key:"_filter",value:function(e){var t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(function(e){return e.name.toLowerCase().includes(t)})}},{key:"showVoGroups",value:function(e){var t=this;this.loading=!0,this.groupService.getAllGroups(e.option.value.id).subscribe(function(e){t.groups=e,t.loading=!1,t.firstSearchDone=!0},function(){return t.loading=!1})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"applyFilter",value:function(e){this.filterValue=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(l.Ct),p.Y36(l.YF),p.Y36(l.ff),p.Y36(h.sK),p.Y36(c.V6),p.Y36(f.gz),p.Y36(u.dB),p.Y36(f.F0))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"pageSize","disableRouting","displayedColumns","selection","filter","groups","disableMembers","page"]],template:function(e,t){if(1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",1),p.TgZ(5,"div",2),p.TgZ(6,"mat-form-field",3),p.TgZ(7,"mat-label"),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"mat-select",4),p.NdJ("valueChange",function(e){return t.selectedRole=e}),p.YNc(11,K,3,4,"mat-option",5),p.qZA(),p.qZA(),p.TgZ(12,"mat-form-field",6),p.TgZ(13,"mat-label"),p._uU(14),p.ALo(15,"translate"),p.qZA(),p._UZ(16,"input",7),p.ALo(17,"translate"),p.TgZ(18,"mat-autocomplete",8,9),p.NdJ("optionSelected",function(e){return t.showVoGroups(e)}),p.YNc(20,ee,2,2,"mat-option",5),p.ALo(21,"async"),p.qZA(),p.qZA(),p.qZA(),p.YNc(22,te,2,3,"perun-web-apps-debounce-filter",10),p.TgZ(23,"div",11),p.YNc(24,ie,1,0,"mat-spinner",12),p.qZA(),p.YNc(25,ne,2,8,"div",13),p.qZA(),p.TgZ(26,"div",14),p.TgZ(27,"button",15),p.NdJ("click",function(){return t.onCancel()}),p._uU(28),p.ALo(29,"translate"),p.qZA(),p.TgZ(30,"button",16),p.NdJ("click",function(){return t.onSubmit()}),p._uU(31),p.ALo(32,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e){var i=p.MAs(19);p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),p.xp6(6),p.Oqu(p.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",t.selectedRole),p.xp6(1),p.Q6J("ngForOf",t.availableRoles),p.xp6(3),p.Oqu(p.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),p.xp6(2),p.s9C("placeholder",p.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),p.Q6J("formControl",t.myControl)("matAutocomplete",i),p.xp6(2),p.Q6J("displayWith",t.displayFn),p.xp6(2),p.Q6J("ngForOf",p.lcZ(21,27,t.filteredOptions)),p.xp6(2),p.Q6J("ngIf",null!==t.groups&&t.groups.length>0&&!t.loading),p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",null!==t.groups&&!t.loading),p.xp6(3),p.hij(" ",p.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||t.loading),p.xp6(1),p.hij(" ",p.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[o.uh,o.xY,m.KE,m.hX,v.gD,A.sg,S.Nt,g.Fj,$.ZL,g.JJ,g.oH,$.XC,A.O5,o.H8,b.lW,E.ey,X.P,R.$g,W.W],pipes:[h.X$,A.Ov,I],styles:[""]}),e}(),re=s(84140),oe=s(55109),ce=s(59403);function le(e,t){1&e&&(p._uU(0),p.ALo(1,"translate")),2&e&&p.hij(" ",p.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function ue(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",11),p.NdJ("refresh",function(){return p.CHM(i),p.oxw(2).refreshUsers()}),p.qZA()}}function de(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).addManager()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function ge(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",13),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).removeManager()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("disabled",0===a.selectionUsers.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function pe(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function he(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"mat-form-field",14),p.TgZ(1,"mat-label"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-select",15),p.NdJ("valueChange",function(e){return p.CHM(i),p.oxw(2).selectedRole=e})("selectionChange",function(){return p.CHM(i),p.oxw(2).refreshUsers()}),p.YNc(5,pe,3,4,"mat-option",16),p.qZA(),p.qZA()}if(2&e){var a=p.oxw(2);p.xp6(2),p.Oqu(p.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",a.selectedRole),p.xp6(1),p.Q6J("ngForOf",a.availableRoles)}}function fe(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var me=function(){return["select","id","name","email","logins","organization"]},ve=function(){return["id","name","email","logins","organization"]};function Ae(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"app-users-list",20),p.NdJ("page",function(e){return p.CHM(i),p.oxw(3).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(3);p.Q6J("pageSize",a.pageSize)("users",a.managers)("disableRouting",!a.routeAuth)("displayedColumns",a.manageAuth?p.DdM(5,me):p.DdM(6,ve))("selection",a.selectionUsers)}}function Se(e,t){if(1&e&&(p.TgZ(0,"div"),p.YNc(1,Ae,1,7,"app-users-list",19),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.Q6J("ngIf",i.managers)}}function be(e,t){if(1&e&&(p.YNc(0,ue,1,0,"perun-web-apps-refresh-button",5),p.YNc(1,de,3,3,"button",6),p.YNc(2,ge,3,4,"button",7),p.YNc(3,he,6,5,"mat-form-field",8),p.YNc(4,fe,1,0,"mat-spinner",9),p.YNc(5,Se,2,1,"div",10)),2&e){var i=p.oxw();p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading)}}function Ee(e,t){1&e&&(p._uU(0),p.ALo(1,"translate")),2&e&&p.hij(" ",p.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function Re(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",11),p.NdJ("refresh",function(){return p.CHM(i),p.oxw(2).refreshGroups()}),p.qZA()}}function Te(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).addGroup()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Ze(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",13),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).removeGroup()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("disabled",0===a.selectionGroups.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Ie(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function Ce(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"mat-form-field",14),p.TgZ(1,"mat-label"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-select",15),p.NdJ("valueChange",function(e){return p.CHM(i),p.oxw(2).selectedRole=e})("selectionChange",function(){return p.CHM(i),p.oxw(2).refreshGroups()}),p.YNc(5,Ie,3,4,"mat-option",16),p.qZA(),p.qZA()}if(2&e){var a=p.oxw(2);p.xp6(2),p.Oqu(p.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",a.selectedRole),p.xp6(1),p.Q6J("ngForOf",a.availableRoles)}}function _e(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var Oe=function(){return["select","id","vo","name","description"]},ye=function(){return["id","vo","name","description"]};function xe(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-groups-list",22),p.NdJ("page",function(e){return p.CHM(i),p.oxw(3).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(3);p.Q6J("pageSize",a.pageSize)("displayedColumns",a.manageAuth?p.DdM(5,Oe):p.DdM(6,ye))("groups",a.groups)("selection",a.selectionGroups)("disableMembers",!1)}}function Ne(e,t){if(1&e&&(p.TgZ(0,"div"),p.YNc(1,xe,1,7,"perun-web-apps-groups-list",21),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.Q6J("ngIf",i.groups)}}function De(e,t){if(1&e&&(p.YNc(0,Re,1,0,"perun-web-apps-refresh-button",5),p.YNc(1,Te,3,3,"button",6),p.YNc(2,Ze,3,4,"button",7),p.YNc(3,Ce,6,5,"mat-form-field",8),p.YNc(4,_e,1,0,"mat-spinner",9),p.YNc(5,Ne,2,1,"div",10)),2&e){var i=p.oxw();p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading)}}function ke(e,t){1&e&&(p.TgZ(0,"app-alert",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}var we=function(){var t=function(){function t(e,a,n,s,o){i(this,t),this.dialog=e,this.tableConfigService=a,this.authzService=n,this.storeService=s,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new r.Ov(!0,[]),this.selectionGroups=new r.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=u.HC,this.availableRolesPrivileges=new Map}return n(t,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(function(t){return e.availableRolesPrivileges.get(t).readAuth}),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.refreshUsers()}},{key:"changeRolePrivileges",value:function(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;var t,i=!1,a=e(this.roleModes);try{for(a.s();!(t=a.n()).done;){var n=t.value;if(this.selectedMode===n.toLowerCase()){i=!0;break}}}catch(s){a.e(s)}finally{a.f()}i||(this.selectedMode=this.roleModes[0].toLowerCase())}},{key:"tabChanged",value:function(e){this.loading=!0,0===e.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}},{key:"refreshUsers",value:function(){var e=this;this.loading=!0,this.changeRolePrivileges();var t=[d.r.USER_DEF_ORGANIZATION,d.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,t,!1,!0).subscribe(function(t){e.managers=t,e.selectionUsers.clear(),e.loading=!1},function(){e.loading=!1})}},{key:"refreshGroups",value:function(){var e=this;this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(function(t){e.groups=t,e.selectionGroups.clear(),e.loading=!1},function(){e.loading=!1})}},{key:"addManager",value:function(){var e=this,t=(0,re.kZ)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(D,t).afterClosed().subscribe(function(t){t&&e.refreshUsers()})}},{key:"removeManager",value:function(){var e=this,t=(0,re.kZ)();t.width="450px",t.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(q,t).afterClosed().subscribe(function(t){t&&e.refreshUsers()})}},{key:"removeGroup",value:function(){var e=this,t=(0,re.kZ)();t.width="450px",t.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(H,t).afterClosed().subscribe(function(t){t&&e.refreshGroups()})}},{key:"addGroup",value:function(){var e=this,t=(0,re.kZ)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(se,t).afterClosed().subscribe(function(t){t&&e.refreshGroups()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(p.Y36(o.uw),p.Y36(u.dB),p.Y36(l.Ct),p.Y36(c.d6),p.Y36(c.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(e,t){2&e&&p.ekj("router-component",t.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],["class","mt-2",3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 mt-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],["class","mr-2 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page",4,"ngIf"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(e,t){1&e&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-tab-group",1),p.NdJ("selectedTabChange",function(e){return t.tabChanged(e)}),p.TgZ(4,"mat-tab"),p.YNc(5,le,2,3,"ng-template",2),p.YNc(6,be,6,6,"ng-template",3),p.qZA(),p.TgZ(7,"mat-tab"),p.YNc(8,Ee,2,3,"ng-template",2),p.YNc(9,De,6,6,"ng-template",3),p.qZA(),p.qZA(),p.YNc(10,ke,3,3,"app-alert",4)),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),p.xp6(9),p.Q6J("ngIf",0===t.availableRoles.length))},directives:[oe.SP,oe.uX,oe.uD,oe.Vc,A.O5,ce.t,b.lW,m.KE,m.hX,v.gD,A.sg,E.ey,R.$g,Z.C,W.W,T.w],pipes:[h.X$,I],styles:[""]}),t}()},4196:function(e,t,a){"use strict";a.d(t,{o:function(){return Y}});var s=a(31572),r=a(58623),o=a(67033),c=a(4230),l=a(88426),u=a(33642),d=a(84140),g=a(48160),p=a(82819),h=a(61511),f=a(29236),m=a(66283),v=a(80340),A=a(16073),S=a(15980),b=a(36922),E=a(43691),R=a(39571);function T(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"th",14),s.TgZ(1,"mat-checkbox",15),s.NdJ("change",function(e){s.CHM(i);var t=s.oxw();return e?t.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){var a=s.oxw();s.xp6(1),s.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function Z(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"td",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){var t=s.CHM(i).$implicit,a=s.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){var a=t.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function I(e,t){1&e&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")))}function C(e,t){if(1&e&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.id)}}function _(e,t){1&e&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")))}function O(e,t){if(1&e&&(s.TgZ(0,"div"),s._uU(1),s.qZA()),2&e){var i=s.oxw().$implicit;s.xp6(1),s.hij(" ",i.tagName," ")}}function y(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-form-field"),s.TgZ(2,"input",21),s.NdJ("ngModelChange",function(e){return s.CHM(i),s.oxw().$implicit.tagName=e}),s.qZA(),s.qZA(),s.qZA()}if(2&e){var a=s.oxw().$implicit;s.xp6(2),s.Q6J("ngModel",a.tagName)}}function x(e,t){if(1&e&&(s.TgZ(0,"td",19),s.YNc(1,O,2,1,"div",20),s.YNc(2,y,3,1,"div",20),s.qZA()),2&e){var i=t.$implicit,a=s.oxw();s.xp6(1),s.Q6J("ngIf",!a.isChanging.isSelected(i)),s.xp6(1),s.Q6J("ngIf",a.isChanging.isSelected(i))}}function N(e,t){1&e&&s._UZ(0,"th",14)}function D(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(i);var e=s.oxw().$implicit;return s.oxw().edit(e)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"edit"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function k(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(i);var e=s.oxw().$implicit;return s.oxw().save(e)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"save"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function w(e,t){if(1&e&&(s.TgZ(0,"td",19),s.TgZ(1,"div",22),s.YNc(2,D,4,3,"button",23),s.YNc(3,k,4,3,"button",23),s.qZA(),s.qZA()),2&e){var i=t.$implicit,a=s.oxw();s.xp6(2),s.Q6J("ngIf",!a.isChanging.isSelected(i)),s.xp6(1),s.Q6J("ngIf",a.isChanging.isSelected(i))}}function U(e,t){1&e&&s._UZ(0,"tr",25)}function L(e,t){1&e&&s._UZ(0,"tr",26)}function G(e,t){if(1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"translate"),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.hij(" ","vo"===i.entity?s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):s.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function M(e,t){1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var Y=function(){var e=function(){function e(t,a,n,r,o){i(this,e),this.resourceManager=t,this.notificator=a,this.translator=n,this.authResolver=r,this.tableCheckbox=o,this.resourceTags=[],this.selection=new c.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","edit"],this.page=new s.vpe,this.isChanging=new c.Ov(!0,[]),this.pageSizeOptions=d.f7}return n(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new o.by(this.resourceTags),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.tagName;default:return""}}},{key:"exportData",value:function(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,d.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,d.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"save",value:function(e){var t=this;this.resourceManager.updateResourceTag({resourceTag:e}).subscribe(function(){t.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.isChanging.deselect(e)})}},{key:"edit",value:function(e){this.isChanging.select(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(u.xk),s.Y36(l.V6),s.Y36(g.sK),s.Y36(l.x4),s.Y36(l.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-resources-tags-list"]],viewQuery:function(e,t){var i;(1&e&&(s.Gf(r.YE,7),s.Gf(d.l9,7)),2&e)&&(s.iGM(i=s.CRH())&&(t.matSort=i.first),s.iGM(i=s.CRH())&&(t.child=i.first))},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",pageSize:"pageSize",displayedColumns:"displayedColumns",entity:"entity"},outputs:{page:"page"},features:[s.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,T,2,3,"th",4),s.YNc(5,Z,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,I,3,3,"th",7),s.YNc(8,C,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,_,3,3,"th",4),s.YNc(11,x,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,N,1,0,"th",4),s.YNc(14,w,4,2,"td",9),s.BQk(),s.YNc(15,U,1,0,"tr",11),s.YNc(16,L,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(17,G,4,5,"app-alert",13),s.YNc(18,M,3,3,"app-alert",13)),2&e&&(s.Q6J("hidden",0===t.resourceTags.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.resourceTags.length),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resourceTags.length))},directives:[p.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,f.oG,o.ev,r.nU,m.KE,v.Nt,A.Fj,A.JJ,A.On,S.lW,b.gM,E.Hw,o.XQ,o.Gk,R.w],pipes:[g.X$],styles:[""]}),e}()},91721:function(e,t,a){"use strict";a.d(t,{Q:function(){return Y}});var s=a(31572),r=a(58623),o=a(67033),c=a(4230),l=a(84140),u=a(88426),d=a(82819),g=a(61511),p=a(29236),h=a(43691),f=a(36922),m=a(84534),v=a(57629),A=a(39571),S=a(48160);function b(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"th",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){s.CHM(i);var t=s.oxw();return e?t.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){var a=s.oxw();s.xp6(1),s.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function E(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"td",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){var t=s.CHM(i).$implicit,a=s.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){var a=t.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function R(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function T(e,t){if(1&e&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.id)}}function Z(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function I(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.name)}}function C(e,t){1&e&&s._UZ(0,"th",16)}function _(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," check_circle_outline "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function O(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," block "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function y(e,t){if(1&e&&(s.TgZ(0,"td",21),s.YNc(1,_,3,3,"mat-icon",22),s.YNc(2,O,3,3,"mat-icon",22),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Q6J("ngIf",i.enabled),s.xp6(1),s.Q6J("ngIf",!i.enabled)}}function x(e,t){1&e&&(s.TgZ(0,"th",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function N(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.script)}}function D(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function k(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.description)}}function w(e,t){1&e&&s._UZ(0,"tr",24)}var U=function(e){return["/admin/services",e]};function L(e,t){if(1&e&&s._UZ(0,"tr",25),2&e){var i=t.$implicit,a=s.oxw();s.ekj("cursor-pointer",!a.disableRouting)("disable-outline",a.disableRouting),s.Q6J("perunWebAppsMiddleClickRouterLink",a.disableRouting?null:s.VKq(6,U,i.id))("routerLink",a.disableRouting?null:s.VKq(8,U,i.id))}}function G(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function M(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}var Y=function(){var e=function(){function e(t,a){i(this,e),this.authResolver=t,this.tableCheckbox=a,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new c.Ov(!0,[]),this.disableRouting=!1,this.page=new s.vpe,this.pageSizeOptions=l.f7}return n(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new o.by(this.services),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"enabled":return e.enabled?"true":"false";case"script":return e.script;case"description":return e.description;default:return""}}},{key:"exportData",value:function(e){(0,l.O6)((0,l.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,l.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,l.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(u.x4),s.Y36(u.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-services-list"]],viewQuery:function(e,t){var i;(1&e&&(s.Gf(r.YE,7),s.Gf(l.l9,7)),2&e)&&(s.iGM(i=s.CRH())&&(t.matSort=i.first),s.iGM(i=s.CRH())&&(t.child=i.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[s.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,b,2,3,"th",4),s.YNc(5,E,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,R,3,3,"th",7),s.YNc(8,T,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,Z,3,3,"th",7),s.YNc(11,I,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,C,1,0,"th",4),s.YNc(14,y,3,2,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,x,3,3,"th",4),s.YNc(17,N,2,1,"td",9),s.BQk(),s.ynx(18,12),s.YNc(19,D,3,3,"th",7),s.YNc(20,k,2,1,"td",9),s.BQk(),s.YNc(21,w,1,0,"tr",13),s.YNc(22,L,1,10,"tr",14),s.qZA(),s.qZA(),s.qZA(),s.YNc(23,G,3,3,"app-alert",15),s.YNc(24,M,3,3,"app-alert",15)),2&e&&(s.Q6J("hidden",void 0===t.services||0===t.services.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(19),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&void 0!==t.services&&0!==t.services.length),s.xp6(1),s.Q6J("ngIf",void 0===t.services||0===t.services.length))},directives:[d.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,g.O5,o.ge,p.oG,o.ev,r.nU,h.Hw,f.gM,o.XQ,o.Gk,m.YH,v.rH,A.w],pipes:[S.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e}()}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/756-es2015.191260c437bd1ee35217.js b/dist/apps/admin-gui/756-es2015.fd8c1941495de039c410.js similarity index 100% rename from dist/apps/admin-gui/756-es2015.191260c437bd1ee35217.js rename to dist/apps/admin-gui/756-es2015.fd8c1941495de039c410.js diff --git a/dist/apps/admin-gui/756-es5.191260c437bd1ee35217.js b/dist/apps/admin-gui/756-es5.fd8c1941495de039c410.js similarity index 100% rename from dist/apps/admin-gui/756-es5.191260c437bd1ee35217.js rename to dist/apps/admin-gui/756-es5.fd8c1941495de039c410.js diff --git a/dist/apps/admin-gui/827-es2015.48873b00486d65bdb035.js b/dist/apps/admin-gui/827-es2015.48873b00486d65bdb035.js deleted file mode 100644 index 5c64c2cf0..000000000 --- a/dist/apps/admin-gui/827-es2015.48873b00486d65bdb035.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[827],{95142:function(e,t,i){"use strict";i.d(t,{y:function(){return b}});var s=i(33642),a=i(60611),o=i(88426),n=i(31572),r=i(57629),l=i(61511),c=i(59403),u=i(91058),d=i(67806),g=i(4252),h=i(48160);function p(e,t){if(1&e){const e=n.EpF();n.TgZ(0,"perun-web-apps-refresh-button",5),n.NdJ("refresh",function(){return n.CHM(e),n.oxw().refreshTable()}),n.qZA()}}function m(e,t){if(1&e){const e=n.EpF();n.TgZ(0,"perun-web-apps-debounce-filter",6),n.NdJ("filter",function(t){return n.CHM(e),n.oxw().applyFilter(t)}),n.qZA()}2&e&&n.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_MEMBERS.FILTER")}function f(e,t){1&e&&n._UZ(0,"mat-spinner",7)}const A=function(){return["id","fullName"]};function S(e,t){if(1&e){const e=n.EpF();n.TgZ(0,"perun-web-apps-members-list",8),n.NdJ("page",function(t){return n.CHM(e),n.oxw().pageChanged(t)})("updateTable",function(){return n.CHM(e),n.oxw().refreshTable()}),n.qZA()}if(2&e){const e=n.oxw();n.Q6J("disableRouting",!e.routeAuth)("filter",e.filterValue)("displayedColumns",n.DdM(5,A))("members",e.members)("pageSize",e.pageSize)}}let b=(()=>{class e{constructor(e,t,i,s){this.route=e,this.resourceService=t,this.tableConfigService=i,this.authResolver=s,this.loading=!1,this.filterValue="",this.tableId=a.iQ}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.refreshTable()})}refreshTable(){this.loading=!0,this.resourceService.getAssignedRichMembers(this.resourceId).subscribe(e=>{this.members=e,this.setAuthRights(),this.loading=!1})}setAuthRights(){0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.members[0]]))}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(s.xk),n.Y36(a.dB),n.Y36(o.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-resource-assigned-members"]],decls:7,vars:7,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","filter","displayedColumns","members","pageSize","page","updateTable",4,"ngIf"],[3,"refresh"],[3,"placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filter","displayedColumns","members","pageSize","page","updateTable"]],template:function(e,t){1&e&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.YNc(3,p,1,0,"perun-web-apps-refresh-button",1),n.YNc(4,m,1,1,"perun-web-apps-debounce-filter",2),n.YNc(5,f,1,0,"mat-spinner",3),n.YNc(6,S,1,6,"perun-web-apps-members-list",4)),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,5,"RESOURCE_DETAIL.ASSIGNED_MEMBERS.TITLE")),n.xp6(2),n.Q6J("ngIf",!t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading),n.xp6(1),n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading))},directives:[l.O5,c.t,u.P,d.$g,g.O],pipes:[h.X$],styles:[""]}),e})()},75374:function(e,t,i){"use strict";i.d(t,{D:function(){return y}});var s=i(33642),a=i(60611),o=i(4230),n=i(84140),r=i(84608),l=i(88426),c=i(31572),u=i(48160),d=i(61511),g=i(15980),h=i(67806),p=i(91058),m=i(91721);function f(e,t){1&e&&c._UZ(0,"mat-spinner",6)}function A(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"app-services-list",10),c.NdJ("page",function(t){return c.CHM(e),c.oxw(2).pageChanged(t)}),c.qZA()}if(2&e){const e=c.oxw(2);c.Q6J("pageSize",e.pageSize)("disableRouting",!0)("services",e.unAssignedServices)("filterValue",e.filterValue)("selection",e.selection)}}function S(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",7),c.TgZ(1,"perun-web-apps-debounce-filter",8),c.NdJ("filter",function(t){return c.CHM(e),c.oxw().applyFilter(t)}),c.ALo(2,"translate"),c.qZA(),c.YNc(3,A,1,5,"app-services-list",9),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.s9C("placeholder",c.lcZ(2,2,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.FILTER_DESCRIPTION")),c.xp6(2),c.Q6J("ngIf",!e.loading)}}let b=(()=>{class e{constructor(e,t,i,s,n,r,l){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.resourceManager=n,this.servicesManager=r,this.tableConfigService=l,this.loading=!1,this.selection=new o.Ov(!0,[]),this.tableId=a.DR,this.filterValue=""}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resourceManager.getAssignedServicesToResource(this.data.resourceId).subscribe(e=>{this.servicesManager.getServices().subscribe(t=>{this.unAssignedServices=t;for(const i of e)for(const e of t)i.id===e.id&&this.unAssignedServices.splice(this.unAssignedServices.indexOf(e),1);this.filteredServices=this.unAssignedServices,this.loading=!1})})}onCancel(){this.dialogRef.close()}onAdd(){this.loading=!0;const e=[];for(const t of this.selection.selected)e.push(t.id);this.resourceManager.assignServices(this.data.resourceId,e).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(r.so),c.Y36(r.WI),c.Y36(l.V6),c.Y36(u.sK),c.Y36(s.xk),c.Y36(s.KK),c.Y36(a.dB))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-assign-service-to-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[3,"placeholder","filter"],[3,"pageSize","disableRouting","services","filterValue","selection","page",4,"ngIf"],[3,"pageSize","disableRouting","services","filterValue","selection","page"]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,f,1,0,"mat-spinner",1),c.YNc(5,S,4,4,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return t.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return t.onAdd()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Tol(t.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.TITLE")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.CANCEL_BUTTON")," "),c.xp6(2),c.Q6J("disabled",0===t.selection.selected.length||t.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.ASSIGN_SERVICE_TO_RESOURCE.ADD_BUTTON")," "))},directives:[r.uh,d.O5,r.H8,g.lW,h.$g,r.xY,p.P,m.Q],pipes:[u.X$],styles:[""]}),e})();var R=i(67033);function E(e,t){1&e&&c._UZ(0,"mat-spinner",6)}function Z(e,t){1&e&&c._UZ(0,"th",15)}function T(e,t){if(1&e&&(c.TgZ(0,"td",16),c._uU(1),c.qZA()),2&e){const e=t.$implicit;c.xp6(1),c.hij(" ",e.name," ")}}function I(e,t){1&e&&c._UZ(0,"tr",17)}function C(e,t){1&e&&c._UZ(0,"tr",18)}function v(e,t){if(1&e&&(c.TgZ(0,"div",7),c.TgZ(1,"p"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",8),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",9),c.ynx(8,10),c.YNc(9,Z,1,0,"th",11),c.YNc(10,T,2,1,"td",12),c.BQk(),c.YNc(11,I,1,0,"tr",13),c.YNc(12,C,1,0,"tr",14),c.qZA(),c.qZA()),2&e){const e=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.ASK")," "),c.xp6(2),c.Q6J("dataSource",e.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",e.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",e.displayedColumns)}}let O=(()=>{class e{constructor(e,t,i,s,a){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.resourcesManager=a,this.displayedColumns=["name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new R.by(this.data.services)}onSubmit(){this.loading=!0;const e=[];for(const t of this.data.services)e.push(t.id);this.resourcesManager.removeServices(this.data.resourceId,e).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(r.so),c.Y36(r.WI),c.Y36(l.V6),c.Y36(u.sK),c.Y36(s.xk))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-remove-service-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,E,1,0,"mat-spinner",1),c.YNc(5,v,13,9,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"button",4),c.NdJ("click",function(){return t.onCancel()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"button",5),c.NdJ("click",function(){return t.onSubmit()}),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Tol(t.theme),c.xp6(2),c.Oqu(c.lcZ(3,9,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.TITLE")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(3),c.hij(" ",c.lcZ(9,11,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.CANCEL")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(12,13,"DIALOGS.REMOVE_SERVICE_FROM_RESOURCE.DELETE")," "))},directives:[r.uh,d.O5,r.H8,g.lW,h.$g,r.xY,R.BZ,R.w1,R.fO,R.Dz,R.as,R.nj,R.ge,R.ev,R.XQ,R.Gk],pipes:[u.X$],styles:[""]}),e})();var _=i(57629),x=i(59403),N=i(19139);function D(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"button",7),c.NdJ("click",function(){return c.CHM(e),c.oxw().addService()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&e&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_SERVICES.ADD_SERVICE"),"\n"))}function U(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(e),c.oxw().removeServices()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}if(2&e){const e=c.oxw();c.Q6J("disabled",0===e.selected.selected.length),c.xp6(1),c.hij(" ",c.lcZ(2,2,"RESOURCE_DETAIL.ASSIGNED_SERVICES.REMOVE_SERVICE"),"\n")}}function w(e,t){1&e&&c._UZ(0,"mat-spinner",9)}function L(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"app-services-list",10),c.NdJ("page",function(t){return c.CHM(e),c.oxw().pageChanged(t)}),c.qZA()}if(2&e){const e=c.oxw();c.Q6J("pageSize",e.pageSize)("services",e.assignedServices)("selection",e.selected)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("disableRouting",!e.serviceRoutingAuth)}}let y=(()=>{class e{constructor(e,t,i,s,n){this.route=e,this.resourcesManager=t,this.tableConfigService=i,this.dialog=s,this.guiAuthResolver=n,this.assignedServices=[],this.selected=new o.Ov(!0,[]),this.tableId=a.uC,this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.getDataForAuthorization(),this.loadAllServices()})})}loadAllServices(){this.loading=!0,this.resourcesManager.getAssignedServicesToResource(this.resourceId).subscribe(e=>{this.assignedServices=e,this.selected.clear(),this.loading=!1})}addService(){const e=(0,n.kZ)();e.width="800px",e.data={theme:"resource-theme",resourceId:this.resourceId},this.dialog.open(b,e).afterClosed().subscribe(e=>{e&&this.loadAllServices()})}removeServices(){const e=(0,n.kZ)();e.width="500px",e.data={theme:"resource-theme",resourceId:this.resourceId,services:this.selected.selected},this.dialog.open(O,e).afterClosed().subscribe(e=>{e&&this.loadAllServices()})}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}getDataForAuthorization(){this.assignServiceAuth=this.guiAuthResolver.isAuthorized("assignServices_Resource_List_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(_.gz),c.Y36(s.xk),c.Y36(a.dB),c.Y36(r.uw),c.Y36(l.x4))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page"]],template:function(e,t){1&e&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return t.loadAllServices()}),c.qZA(),c.YNc(4,D,3,3,"button",2),c.YNc(5,U,3,4,"button",3),c.TgZ(6,"perun-web-apps-immediate-filter",4),c.NdJ("filter",function(e){return t.applyFilter(e)}),c.qZA(),c.YNc(7,w,1,0,"mat-spinner",5),c.YNc(8,L,1,6,"app-services-list",6)),2&e&&(c.xp6(1),c.Oqu(c.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),c.xp6(3),c.Q6J("ngIf",!t.loadingResource&&t.assignServiceAuth),c.xp6(1),c.Q6J("ngIf",!t.loadingResource&&t.removeServiceAuth),c.xp6(1),c.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),c.xp6(1),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[x.t,d.O5,N.L,g.lW,h.$g,m.Q],pipes:[u.X$],styles:[""]}),e})()},79472:function(e,t,i){"use strict";i.d(t,{X:function(){return R}});var s=i(88426),a=i(33642),o=i(31572),n=i(57629),r=i(55109),l=i(61511),c=i(541),u=i(69012),d=i(48160);function g(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function h(e,t){if(1&e&&o._UZ(0,"app-one-entity-attribute-page",4),2&e){const e=o.oxw();o.Q6J("entity","resource")("entityId",e.resourceId)}}function p(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function m(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){const e=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","member")}}function f(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,p,3,6,"ng-template",1),o.YNc(2,m,1,3,"ng-template",2),o.qZA())}function A(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function S(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){const e=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",e.resourceId)("secondEntity","group")}}function b(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,A,3,6,"ng-template",1),o.YNc(2,S,1,3,"ng-template",2),o.qZA())}let R=(()=>{class e{constructor(e,t,i){this.route=e,this.authResolver=t,this.resourceManager=i}ngOnInit(){this.route.parent.params.subscribe(e=>{this.resourceId=parseInt(e.resourceId,10),this.resourceManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.resourceGroupAttAuth=this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource]),this.resourceMemberAttAuth=this.authResolver.isAuthorized("getAssignedRichMembers_Resource_policy",[this.resource])})})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(s.x4),o.Y36(a.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,g,2,3,"ng-template",1),o.YNc(7,h,1,2,"ng-template",2),o.qZA(),o.YNc(8,f,3,0,"mat-tab",3),o.YNc(9,b,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",t.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",t.resourceGroupAttAuth))},directives:[r.SP,r.uX,r.uD,r.Vc,l.O5,c.t,u.Y],pipes:[d.X$],styles:[""]}),e})()},72920:function(e,t,i){"use strict";i.d(t,{b:function(){return y}});var s=i(17),a=i(75585),o=i(33642),n=i(84140),r=i(88426),l=i(22280),c=i(61189),u=i(95909),d=i(31572),g=i(57629),h=i(48958),p=i(84608),m=i(66297),f=i(61511),A=i(67806),S=i(43691),b=i(36922),R=i(21575),E=i(15980),Z=i(48160);function T(e,t){1&e&&d._UZ(0,"mat-spinner",3)}function I(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"button",15),d.NdJ("click",function(){return d.CHM(e),d.oxw(2).editResource()}),d.TgZ(1,"mat-icon"),d._uU(2,"edit"),d.qZA(),d.qZA()}}function C(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"button",16),d.NdJ("click",function(){return d.CHM(e),d.oxw(2).deleteResource()}),d.TgZ(1,"mat-icon"),d._uU(2,"delete_forever"),d.qZA(),d.qZA()}}const v=function(e){return["/organizations",e]};function O(e,t){if(1&e&&(d.TgZ(0,"a",8),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.Q6J("routerLink",d.VKq(2,v,e.resource.vo.id)),d.xp6(1),d.Oqu(e.resource.vo.name)}}function _(e,t){if(1&e&&(d.TgZ(0,"span"),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.xp6(1),d.hij(" ",e.resource.vo.name," ")}}const x=function(e){return["/facilities",e]};function N(e,t){if(1&e&&(d.TgZ(0,"a",8),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.Q6J("routerLink",d.VKq(2,x,e.resource.facilityId)),d.xp6(1),d.Oqu(e.resource.facility.name)}}function D(e,t){if(1&e&&(d.TgZ(0,"span"),d._uU(1),d.qZA()),2&e){const e=d.oxw(2);d.xp6(1),d.hij(" ",e.resource.facility.name," ")}}const U=function(){return{color:"black"}},w=function(e){return[e]};function L(e,t){if(1&e&&(d.TgZ(0,"div"),d.TgZ(1,"div",4),d._UZ(2,"mat-icon",5),d.ALo(3,"translate"),d.TgZ(4,"div",6),d.TgZ(5,"div",7),d.TgZ(6,"a",8),d._uU(7),d.qZA(),d.TgZ(8,"span",9),d._uU(9),d.qZA(),d.YNc(10,I,3,0,"button",10),d.YNc(11,C,3,0,"button",11),d.qZA(),d.TgZ(12,"div"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.TgZ(15,"span",12),d._uU(16),d.ALo(17,"translate"),d.ALo(18,"translate"),d.YNc(19,O,2,4,"a",13),d.YNc(20,_,2,1,"span",2),d._uU(21),d.ALo(22,"translate"),d.YNc(23,N,2,4,"a",14),d.YNc(24,D,2,1,"span",2),d._uU(25),d.ALo(26,"translate"),d.qZA(),d.qZA(),d.qZA(),d._UZ(27,"app-animated-router-outlet"),d.qZA()),2&e){const e=d.oxw();d.xp6(2),d.s9C("matTooltip",d.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),d.Q6J("ngStyle",d.DdM(32,U)),d.xp6(4),d.Q6J("routerLink",d.VKq(33,w,e.baseUrl)),d.xp6(1),d.hij(" ",e.resource.name," "),d.xp6(2),d.hij(" \xa0#",e.resource.id," "),d.xp6(1),d.Q6J("ngIf",e.editResourceAuth),d.xp6(1),d.Q6J("ngIf",e.deleteAuth),d.xp6(2),d.AsE(" ",d.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",e.resource.uuid," "),d.xp6(3),d.AsE(" ",d.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",d.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),d.xp6(3),d.Q6J("ngIf",e.voLinkAuth),d.xp6(1),d.Q6J("ngIf",!e.voLinkAuth),d.xp6(1),d.AsE(" #",e.resource.voId,", ",d.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),d.xp6(2),d.Q6J("ngIf",e.facilityLinkAuth),d.xp6(1),d.Q6J("ngIf",!e.facilityLinkAuth),d.xp6(1),d.lnq(" #",e.resource.facilityId,", ",d.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",e.resource.description," ")}}let y=(()=>{class e{constructor(e,t,i,s,a,o,n,r,l){this.route=e,this.facilityManager=t,this.vosManagerService=i,this.resourcesManager=s,this.sideMenuService=a,this.sideMenuItemService=o,this.dialog=n,this.guiAuthResolver=r,this.router=l,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.resourcesManager.getRichResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.setAuth(),"facilities"===this.route.parent.snapshot.url[0].path?(this.baseUrl=(new l.r5).transform(e,!1),this.facilityManager.getFacilityById(e.facilityId).subscribe(t=>{const i=this.sideMenuItemService.parseFacility(t),s=this.sideMenuItemService.parseResource(e,!1);this.sideMenuService.setFacilityMenuItems([i,s]),this.loading=!1},()=>this.loading=!1)):(this.baseUrl=(new l.r5).transform(e,!0),this.vosManagerService.getVoById(e.voId).subscribe(t=>{const i=this.sideMenuItemService.parseVo(t),s=this.sideMenuItemService.parseResource(e,!0);this.sideMenuService.setAccessMenuItems([i,s]),this.loading=!1},()=>this.loading=!1)),(0,n.sF)("resources",this.resource)})})}setAuth(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}editResource(){let e;this.resourcesManager.getResourceById(this.resource.id).subscribe(t=>{e=t;const i=(0,n.kZ)();i.width="450px",i.data={theme:"resource-theme",resource:e,dialogType:c.Eg.RESOURCE},this.dialog.open(c.rd,i).afterClosed().subscribe(e=>{e&&this.resourcesManager.getRichResourceById(this.resource.id).subscribe(e=>{this.resource=e})})})}deleteResource(){const e=(0,n.kZ)();e.width="500px",e.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(u.f,e).afterClosed().subscribe(e=>{e&&this.router.navigate(["../"],{relativeTo:this.route})})}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(g.gz),d.Y36(o.IQ),d.Y36(o.YF),d.Y36(o.xk),d.Y36(h.D),d.Y36(a.V),d.Y36(p.uw),d.Y36(r.x4),d.Y36(g.F0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(e,t){1&e&&(d.TgZ(0,"div",0),d._UZ(1,"perun-web-apps-back-button"),d.YNc(2,T,1,0,"mat-spinner",1),d.YNc(3,L,28,35,"div",2),d.qZA()),2&e&&(d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading&&void 0!==t.resource))},directives:[m.W,f.O5,A.$g,S.Hw,b.gM,f.PC,g.yS,R.A,E.lW],pipes:[Z.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[s.Ji]}}),e})()},42473:function(e,t,i){"use strict";i.d(t,{K:function(){return Q}});var s=i(33642),a=i(4230),o=i(84608),n=i(67033),r=i(88426),l=i(31572),c=i(48160),u=i(61511),d=i(15980),g=i(67806);function h(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function p(e,t){1&e&&l._UZ(0,"th",15)}function m(e,t){if(1&e&&(l.TgZ(0,"td",16),l._uU(1),l.qZA()),2&e){const e=t.$implicit;l.xp6(1),l.hij(" ",e.name," ")}}function f(e,t){1&e&&l._UZ(0,"tr",17)}function A(e,t){1&e&&l._UZ(0,"tr",18)}function S(e,t){if(1&e&&(l.TgZ(0,"div",7),l.TgZ(1,"p"),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",8),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"table",9),l.ynx(8,10),l.YNc(9,p,1,0,"th",11),l.YNc(10,m,2,1,"td",12),l.BQk(),l.YNc(11,f,1,0,"tr",13),l.YNc(12,A,1,0,"tr",14),l.qZA(),l.qZA()),2&e){const e=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),l.xp6(3),l.hij(" ",l.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),l.xp6(2),l.Q6J("dataSource",e.dataSource),l.xp6(4),l.Q6J("matHeaderRowDef",e.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",e.displayedColumns)}}let b=(()=>{class e{constructor(e,t,i,s,a){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.resourceManager=a,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new n.by(this.data.groups)}onCancel(){this.dialogRef.close()}onSubmit(){const e=[];for(const t of this.data.groups)e.push(t.id);this.loading=!0,this.resourceManager.removeGroupsFromResource(e,this.data.resourceId).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(o.so),l.Y36(o.WI),l.Y36(r.V6),l.Y36(c.sK),l.Y36(s.xk))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,h,1,0,"mat-spinner",1),l.YNc(5,S,13,9,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return t.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return t.onSubmit()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(3),l.hij(" ",l.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),l.xp6(2),l.Q6J("disabled",t.loading),l.xp6(1),l.hij(" ",l.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[o.uh,u.O5,o.H8,d.lW,g.$g,o.xY,n.BZ,n.w1,n.fO,n.Dz,n.as,n.nj,n.ge,n.ev,n.XQ,n.Gk],pipes:[c.X$],styles:[""]}),e})();var R=i(60611),E=i(29236),Z=i(36922),T=i(16073),I=i(91058),C=i(78364);function v(e,t){1&e&&l._UZ(0,"mat-spinner",7)}const O=function(){return["select","id","name","description"]};function _(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"div",8),l.TgZ(1,"perun-web-apps-debounce-filter",9),l.NdJ("filter",function(t){return l.CHM(e),l.oxw().applyFilter(t)}),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"perun-web-apps-groups-list",10),l.NdJ("page",function(t){return l.CHM(e),l.oxw().pageChanged(t)}),l.qZA(),l.qZA()}if(2&e){const e=l.oxw();l.xp6(1),l.s9C("placeholder",l.lcZ(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),l.xp6(2),l.Q6J("pageSize",e.pageSize)("groups",e.unAssignedGroups)("selection",e.selection)("filter",e.filterValue)("displayedColumns",l.DdM(10,O))("disableRouting",!0)("disableMembers",!1)}}let x=(()=>{class e{constructor(e,t,i,s,o,n,r,l){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.resourceManager=o,this.tableConfigService=n,this.groupService=r,this.guiAuthResolver=l,this.loading=!1,this.checkGroups=!1,this.async=!0,this.selection=new a.Ov(!0,[]),this.filterValue="",this.tableId=R.cL}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resource=this.data.resource,this.resourceManager.getAssignedGroups(this.resource.id).subscribe(e=>{this.groupService.getAllGroups(this.resource.voId).subscribe(t=>{this.unAssignedGroups=t;for(const i of e)for(const e of t)i.id===e.id&&this.unAssignedGroups.splice(this.unAssignedGroups.indexOf(e),1);this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close()}onAdd(){if(this.checkGroups);else{this.loading=!0;const e=[];for(const t of this.selection.selected)e.push(t.id);this.resourceManager.assignGroupsToResource(e,this.resource.id,this.async).subscribe(()=>{this.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)})},()=>this.loading=!1)}}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}canAddGroups(){let e=!0;return this.selection.selected.forEach(t=>{this.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[this.resource,t])||(e=!1)}),e}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(o.so),l.Y36(o.WI),l.Y36(r.V6),l.Y36(c.sK),l.Y36(s.xk),l.Y36(R.dB),l.Y36(s.ff),l.Y36(r.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:18,vars:26,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","matTooltip","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,v,1,0,"mat-spinner",1),l.YNc(5,_,4,11,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"mat-checkbox",4),l.NdJ("ngModelChange",function(e){return t.async=e}),l.ALo(8,"translate"),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"button",5),l.NdJ("click",function(){return t.onCancel()}),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.TgZ(14,"button",6),l.NdJ("click",function(){return t.onAdd()}),l.ALo(15,"translate"),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,14,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(2),l.s9C("matTooltip",l.lcZ(8,16,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT_DESCRIPTION")),l.Q6J("ngModel",t.async),l.xp6(2),l.hij(" ",l.lcZ(10,18,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),l.xp6(3),l.hij(" ",l.lcZ(13,20,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(15,22,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),l.Q6J("disabled",0===t.selection.selected.length||!t.canAddGroups()||t.loading)("matTooltipDisabled",t.canAddGroups()),l.xp6(2),l.hij(" ",l.lcZ(17,24,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[o.uh,u.O5,o.H8,E.oG,Z.gM,T.JJ,T.On,d.lW,g.$g,o.xY,I.P,C.W],pipes:[c.X$],styles:[""]}),e})();var N=i(84140),D=i(67004),U=i(57629),w=i(59403),L=i(39571);const y=["checkbox"];function M(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"button",9),l.NdJ("click",function(){return l.CHM(e),l.oxw().addGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function G(e,t){1&e&&l._UZ(0,"mat-spinner",10)}const Y=function(e){return[e]},q=function(){return["select","id","name","status","description"]};function J(e,t){if(1&e){const e=l.EpF();l.TgZ(0,"div",11),l.TgZ(1,"perun-web-apps-groups-list",12),l.NdJ("page",function(t){return l.CHM(e),l.oxw().pageChanged(t)})("refreshTable",function(){return l.CHM(e),l.oxw().loadAllGroups()}),l.qZA(),l.qZA()}if(2&e){const e=l.oxw();l.xp6(1),l.Q6J("pageSize",e.pageSize)("groups",e.assignedGroups)("filter",e.filteredValue)("selection",e.selected)("disableMembers",!1)("resourceId",e.resourceId)("disableRouting",!e.guiAuthResolver.isAuthorized("getGroupById_int_policy",l.VKq(8,Y,e.assignedGroups[0])))("displayedColumns",l.DdM(10,q))}}function k(e,t){1&e&&(l.TgZ(0,"app-alert",13),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}let Q=(()=>{class e{constructor(e,t,i,s,o,n){this.route=e,this.resourcesManager=t,this.vosManagerService=i,this.tableConfigService=s,this.dialog=o,this.guiAuthResolver=n,this.assignedGroups=[],this.selected=new a.Ov(!0,[]),this.filteredValue="",this.tableId=R.Ad}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.getDataForAuthorization(),this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.resourcesManager.getGroupAssignments(this.resourceId,[D.r.GROUP_SYNC_ENABLED]).subscribe(e=>{this.assignedGroups=e.map(e=>{const t=e.enrichedGroup.group;return t.status=e.status,t.failureCause=e.failureCause,t}),this.selected.clear(),this.loading=!1})}addGroup(){const e=(0,N.kZ)();e.width="800px",e.data={theme:"resource-theme",resource:this.resource},this.dialog.open(x,e).afterClosed().subscribe(e=>{e&&this.loadAllGroups()})}removeGroups(){const e=(0,N.kZ)();e.width="500px",e.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(b,e).afterClosed().subscribe(e=>{e&&this.loadAllGroups()})}canRemoveGroups(){let e=!0;return this.selected.selected.forEach(t=>{this.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[this.resource,t])||(e=!1)}),e}applyFilter(e){this.filteredValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}getDataForAuthorization(){this.loadingResource=!0,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.loadingResource=!1})}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(U.gz),l.Y36(s.xk),l.Y36(s.YF),l.Y36(R.dB),l.Y36(o.uw),l.Y36(r.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){if(1&e&&l.Gf(y,7),2&e){let e;l.iGM(e=l.CRH())&&(t.checkbox=e.first)}},decls:14,vars:18,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"pageSize","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","page","refreshTable"],["alert_type","warn"]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"perun-web-apps-refresh-button",1),l.NdJ("refresh",function(){return t.loadAllGroups()}),l.qZA(),l.YNc(4,M,3,3,"button",2),l.TgZ(5,"button",3),l.NdJ("click",function(){return t.removeGroups()}),l.TgZ(6,"span",4),l.ALo(7,"translate"),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.qZA(),l.TgZ(10,"perun-web-apps-debounce-filter",5),l.NdJ("filter",function(e){return t.applyFilter(e)}),l.qZA(),l.YNc(11,G,1,0,"mat-spinner",6),l.YNc(12,J,2,11,"div",7),l.YNc(13,k,3,3,"app-alert",8)),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),l.xp6(3),l.Q6J("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",l.VKq(16,Y,t.resource))),l.xp6(1),l.Q6J("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),l.xp6(1),l.s9C("matTooltip",l.lcZ(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),l.Q6J("matTooltipDisabled",t.canRemoveGroups()),l.xp6(2),l.hij(" ",l.lcZ(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),l.xp6(2),l.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading&&0!==t.assignedGroups.length),l.xp6(1),l.Q6J("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[w.t,u.O5,d.lW,Z.gM,I.P,g.$g,C.W,L.w],pipes:[c.X$],styles:[""]}),e})()},76527:function(e,t,i){"use strict";i.d(t,{H:function(){return g}});var s=i(33642),a=i(88426),o=i(31572),n=i(57629),r=i(61511),l=i(67806),c=i(8557);function u(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function d(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Q6J("items",e.navItems)("size","small")}}let g=(()=>{class e{constructor(e,t,i){this.resourcesManager=e,this.route=t,this.guiAuthResolver=i,this.navItems=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{this.resourcesManager.getResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.initItems("facilities"!==this.route.parent.parent.snapshot.url[0].path),this.loading=!1},()=>this.loading=!1)})}initItems(e){const t=e?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`;this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:`${t}/resources/${this.resource.id}/groups`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:`/${t}/resources/${this.resource.id}/services`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:`${t}/resources/${this.resource.id}/members`,label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:`${t}/resources/${this.resource.id}/tags`,label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:`${t}/resources/${this.resource.id}/attributes`,label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:`${t}/resources/${this.resource.id}/settings`,label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.xk),o.Y36(n.gz),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,u,1,0,"mat-spinner",0),o.YNc(1,d,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[r.O5,l.$g,c.L],styles:[""]}),e})()},64359:function(e,t,i){"use strict";i.d(t,{O:function(){return u}});var s=i(33642),a=i(88426),o=i(31572),n=i(57629),r=i(61511),l=i(489);function c(e,t){if(1&e&&o._UZ(0,"app-managers-page",1),2&e){const e=o.oxw();o.Q6J("complementaryObject",e.resource)("complementaryObjectType",e.type)("theme",e.theme)("availableRoles",e.availableRoles)}}let u=(()=>{class e{constructor(e,t,i){this.route=e,this.resourceService=t,this.guiAuthResolver=i,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}ngOnInit(){this.route.parent.parent.params.subscribe(e=>{this.resourceService.getResourceById(e.resourceId).subscribe(e=>{this.resource=e})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(s.xk),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-managers"]],decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,t){1&e&&o.YNc(0,c,1,4,"app-managers-page",0),2&e&&o.Q6J("ngIf",t.resource)},directives:[r.O5,l.s],styles:[""]}),e})()},22927:function(e,t,i){"use strict";i.d(t,{h:function(){return g}});var s=i(33642),a=i(88426),o=i(31572),n=i(57629),r=i(61511),l=i(67806),c=i(8557);function u(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function d(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Q6J("items",e.items)("size","small")}}let g=(()=>{class e{constructor(e,t,i){this.route=e,this.resourceManager=t,this.authResolver=i,this.items=[],this.loading=!1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(e=>{this.resourceManager.getResourceById(e.resourceId).subscribe(e=>{this.resource=e,this.initItems("facilities"!==this.route.parent.parent.parent.snapshot.url[0].path),this.loading=!1},()=>this.loading=!1)})}initItems(e){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:`${e?`/organizations/${this.resource.voId}`:`/facilities/${this.resource.facilityId}`}/resources/${this.resource.id}/settings/managers`,label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.gz),o.Y36(s.xk),o.Y36(a.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,u,1,0,"mat-spinner",0),o.YNc(1,d,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[r.O5,l.$g,c.L],styles:[""]}),e})()},77968:function(e,t,i){"use strict";i.d(t,{t:function(){return n}});var s=i(17),a=i(31572),o=i(21575);let n=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&a._UZ(0,"app-animated-router-outlet")},directives:[o.A],styles:[""],data:{animation:[s.Ji]}}),e})()},53134:function(e,t,i){"use strict";i.d(t,{v:function(){return _}});var s=i(33642),a=i(4230),o=i(60611),n=i(84140),r=i(88426),l=i(61189),c=i(84608),u=i(31572),d=i(61511),g=i(15980),h=i(67806),p=i(4196),m=i(48160);function f(e,t){1&e&&u._UZ(0,"mat-spinner",8)}function A(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-resources-tags-list",9),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("selection",e.selection)("pageSize",e.pageSize)("resourceTags",e.resourceTags)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","resource")}}let S=(()=>{class e{constructor(e,t,i,s){this.dialogRef=e,this.data=t,this.tableConfigService=i,this.resourcesManager=s,this.tableId=o.g,this.selection=new a.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(e=>{this.resourceTags=e.filter(e=>this.assignedTags.map(e=>e.id).indexOf(e.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close(!1)}onSubmit(e){if(0===e.length)return this.dialogRef.close(!0);const t=e.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:t}).subscribe(()=>{this.onSubmit(e)})}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(c.so),u.Y36(c.WI),u.Y36(o.dB),u.Y36(s.xk))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",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,"mr-auto","ml-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.YNc(6,f,1,0,"mat-spinner",3),u.qZA(),u.YNc(7,A,1,6,"app-resources-tags-list",4),u.qZA(),u.TgZ(8,"div",5),u.TgZ(9,"button",6),u.NdJ("click",function(){return t.onCancel()}),u._uU(10),u.ALo(11,"translate"),u.qZA(),u.TgZ(12,"button",7),u.NdJ("click",function(){return t.onSubmit(t.selection.selected)}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),u.xp6(4),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading),u.xp6(3),u.hij(" ",u.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading||0===t.resourceTags.length),u.xp6(1),u.hij(" ",u.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[c.uh,c.xY,d.O5,c.H8,g.lW,h.$g,p.o],pipes:[m.X$],styles:[""]}),e})();var b=i(24923),R=i(57629),E=i(59403),Z=i(19139);function T(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(e),u.oxw().create()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function I(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",9),u.NdJ("click",function(){return u.CHM(e),u.oxw().addTag()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function C(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",10),u.NdJ("click",function(){return u.CHM(e),u.oxw().removeTags()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("disabled",0===e.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function v(e,t){1&e&&u._UZ(0,"mat-spinner",11)}function O(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-resources-tags-list",12),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw();u.Q6J("selection",e.selection)("pageSize",e.pageSize)("resourceTags",e.resourceTags)("filterValue",e.filterValue)("displayedColumns",e.displayedColumns)("entity","resource")}}let _=(()=>{class e{constructor(e,t,i,s,n,r,l,c){this.route=e,this.authResolver=t,this.tableConfigService=i,this.resourcesManager=s,this.voService=n,this.dialog=r,this.notificator=l,this.translate=c,this.loading=!1,this.resourceTags=[],this.selection=new a.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(e=>{this.resourceId=e.resourceId,this.resourcesManager.getResourceById(this.resourceId).subscribe(e=>{this.resource=e,this.updateData()})})}removeTags(){const e=(0,n.kZ)();e.width="450px",e.data={items:this.selection.selected.map(e=>e.tagName),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(l.Tf,e).afterClosed().subscribe(e=>{e&&this.removeTag(this.selection.selected)})}removeTag(e){if(0===e.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();const t=e.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resourceId,resourceTag:t}).subscribe(()=>{this.removeTag(e)})}addTag(){const e=(0,n.kZ)();e.width="600px",e.data={voId:this.resource.voId,resourceId:this.resourceId,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(S,e).afterClosed().subscribe(e=>{e&&(this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),this.updateData())})}create(){const e=(0,n.kZ)();e.width="450px",e.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(b.p,e).afterClosed().subscribe(e=>{e&&(this.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e)}),this.updateData())})}updateData(){this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resourceId).subscribe(e=>{this.resourceTags=e,this.selection.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){const e={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[e]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}applyFilter(e){this.filterValue=e}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(R.gz),u.Y36(r.x4),u.Y36(o.dB),u.Y36(s.xk),u.Y36(s.YF),u.Y36(c.uw),u.Y36(r.V6),u.Y36(m.sK))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return t.updateData()}),u.qZA(),u.YNc(4,T,3,3,"button",2),u.YNc(5,I,3,3,"button",3),u.YNc(6,C,3,4,"button",4),u.TgZ(7,"perun-web-apps-immediate-filter",5),u.NdJ("filter",function(e){return t.applyFilter(e)}),u.qZA(),u.YNc(8,v,1,0,"mat-spinner",6),u.YNc(9,O,1,6,"app-resources-tags-list",7)),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),u.xp6(3),u.Q6J("ngIf",t.createAuth),u.xp6(1),u.Q6J("ngIf",t.addAuth),u.xp6(1),u.Q6J("ngIf",t.removeAuth),u.xp6(1),u.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading))},directives:[E.t,d.O5,Z.L,g.lW,h.$g,p.o],pipes:[m.X$],styles:[""]}),e})()},24923:function(e,t,i){"use strict";i.d(t,{p:function(){return m}});var s=i(84608),a=i(33642),o=i(31572),n=i(61511),r=i(15980),l=i(67806),c=i(66283),u=i(80340),d=i(16073),g=i(48160);function h(e,t){1&e&&o._UZ(0,"mat-spinner",6)}function p(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(t){return o.CHM(e),o.oxw().name=t}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&e){const e=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",e.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}let m=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this.data=t,this.resourceManager=i,this.name="",this.loading=!1}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(()=>{this.dialogRef.close(!0)},()=>this.loading=!1))}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.so),o.Y36(s.WI),o.Y36(a.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,h,1,0,"mat-spinner",1),o.YNc(5,p,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return t.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return t.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.Tol(t.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",t.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[s.uh,n.O5,s.H8,r.lW,l.$g,s.xY,c.KE,u.Nt,d.Fj,d.Q7,d.JJ,d.On,c.TO],pipes:[g.X$],styles:[""]}),e})()},489:function(e,t,i){"use strict";i.d(t,{s:function(){return De}});var s=i(4230),a=i(84608),o=i(88426),n=i(33642),r=i(60611),l=i(67004),c=i(16073),u=i(31572),d=i(48160),g=i(57629),h=i(66283),p=i(4786),m=i(61511),f=i(80340),A=i(15980),S=i(71522),b=i(67806),R=i(39571),E=i(86593);let Z=(()=>{class e{constructor(e){this.translate=e,this.prefix="ROLES."}transform(e){const t=this.prefix.concat(e);return this.translate.instant(t)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(d.sK,16))},e.\u0275pipe=u.Yjl({name:"displayedRole",type:e,pure:!0}),e})();function T(e,t){if(1&e&&(u.TgZ(0,"mat-option",15),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function I(e,t){1&e&&u._UZ(0,"mat-spinner",16)}function C(e,t){1&e&&(u.TgZ(0,"app-alert",20),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}const v=function(){return["select","id","name","email","logins","organization"]};function O(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-users-list",21),u.NdJ("page",function(t){return u.CHM(e),u.oxw(2).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("pageSize",e.pageSize)("disableRouting",!0)("selection",e.selection)("displayedColumns",u.DdM(5,v))("users",e.users)}}function _(e,t){if(1&e&&(u.TgZ(0,"div",17),u.YNc(1,C,3,3,"app-alert",18),u.YNc(2,O,1,6,"app-users-list",19),u.qZA()),2&e){const e=u.oxw();u.xp6(1),u.Q6J("ngIf",0===e.users.length&&e.firstSearchDone),u.xp6(1),u.Q6J("ngIf",0!==e.users.length)}}let x=(()=>{class e{constructor(e,t,i,a,o,n,l,c,u,d){this.dialogRef=e,this.data=t,this.authzService=i,this.usersService=a,this.translate=o,this.notificator=n,this.storeService=l,this.route=c,this.router=u,this.tableConfigService=d,this.selection=new s.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=r.H2,o.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(e=>this.title=e),o.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(e=>this.successMessage=e)}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new c.NI("",[c.kI.required,c.kI.pattern(".*[\\S]+.*")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSearchByString(){if(this.searchCtrl.invalid)return void this.searchCtrl.markAllAsTouched();this.loading=!0,this.selection.clear();let e=[l.r.USER_DEF_ORGANIZATION,l.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,e).subscribe(e=>{this.users=e,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.Ct),u.Y36(n.Fv),u.Y36(d.sK),u.Y36(o.V6),u.Y36(o.d6),u.Y36(g.gz),u.Y36(g.F0),u.Y36(r.dB))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page",4,"ngIf"],["alert_type","warn"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.TgZ(6,"mat-form-field",3),u.TgZ(7,"mat-label"),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"mat-select",4),u.NdJ("valueChange",function(e){return t.selectedRole=e}),u.YNc(11,T,3,4,"mat-option",5),u.qZA(),u.qZA(),u.TgZ(12,"mat-form-field",6),u.TgZ(13,"label"),u.TgZ(14,"input",7),u.NdJ("keyup.enter",function(){return t.onSearchByString()}),u.ALo(15,"translate"),u.qZA(),u.qZA(),u.TgZ(16,"mat-error"),u._uU(17),u.ALo(18,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(19,"button",8),u.NdJ("click",function(){return t.onSearchByString()}),u._uU(20),u.ALo(21,"translate"),u.qZA(),u.TgZ(22,"div",9),u.YNc(23,I,1,0,"mat-spinner",10),u.qZA(),u.YNc(24,_,3,2,"div",11),u.qZA(),u.TgZ(25,"div",12),u.TgZ(26,"button",13),u.NdJ("click",function(){return t.onCancel()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.TgZ(29,"button",14),u.NdJ("click",function(){return t.onSubmit()}),u._uU(30),u.ALo(31,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),u.xp6(6),u.Oqu(u.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",t.selectedRole),u.xp6(1),u.Q6J("ngForOf",t.availableRoles),u.xp6(3),u.s9C("placeholder",u.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),u.Q6J("formControl",t.searchCtrl),u.xp6(3),u.hij(" ",u.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),u.xp6(3),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",null!==t.users&&!t.loading),u.xp6(3),u.hij(" ",u.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length||void 0===t.selectedRole||t.loading),u.xp6(1),u.hij(" ",u.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[a.uh,a.xY,h.KE,h.hX,p.gD,m.sg,f.Nt,c.Fj,c.JJ,c.oH,h.TO,A.lW,m.O5,a.H8,S.ey,b.$g,R.w,E.C],pipes:[d.X$,Z],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),e})();var N=i(67033);function D(e,t){1&e&&u._UZ(0,"th",14)}function U(e,t){if(1&e&&(u.TgZ(0,"td",15),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.xp6(1),u.AsE(" ",e.firstName," ",e.lastName,"")}}function w(e,t){1&e&&u._UZ(0,"tr",16)}function L(e,t){1&e&&u._UZ(0,"tr",17)}function y(e,t){if(1&e&&(u.TgZ(0,"div",6),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",7),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",8),u.ynx(8,9),u.YNc(9,D,1,0,"th",10),u.YNc(10,U,2,2,"td",11),u.BQk(),u.YNc(11,w,1,0,"tr",12),u.YNc(12,L,1,0,"tr",13),u.qZA(),u.qZA()),2&e){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),u.xp6(2),u.Q6J("dataSource",e.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",e.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",e.displayedColumns)}}function M(e,t){1&e&&u._UZ(0,"mat-spinner",18)}let G=(()=>{class e{constructor(e,t,i,s,a){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.authzService=a,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new N.by(this.data.managers),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(o.V6),u.Y36(d.sK),u.Y36(n.Ct))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["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",""],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,y,13,9,"div",1),u.YNc(5,M,1,0,"mat-spinner",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return t.onSubmit()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),u.xp6(2),u.Q6J("ngIf",!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(3),u.hij(" ",u.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[a.uh,m.O5,a.H8,A.lW,a.xY,N.BZ,N.w1,N.fO,N.Dz,N.as,N.nj,N.ge,N.ev,N.XQ,N.Gk,b.$g],pipes:[d.X$],styles:[""]}),e})();function Y(e,t){1&e&&u._UZ(0,"mat-spinner",6)}function q(e,t){1&e&&u._UZ(0,"th",15)}function J(e,t){if(1&e&&(u.TgZ(0,"td",16),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.xp6(1),u.hij(" ",e.name,"")}}function k(e,t){1&e&&u._UZ(0,"tr",17)}function Q(e,t){1&e&&u._UZ(0,"tr",18)}function z(e,t){if(1&e&&(u.TgZ(0,"div",7),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",9),u.ynx(8,10),u.YNc(9,q,1,0,"th",11),u.YNc(10,J,2,1,"td",12),u.BQk(),u.YNc(11,k,1,0,"tr",13),u.YNc(12,Q,1,0,"tr",14),u.qZA(),u.qZA()),2&e){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),u.xp6(2),u.Q6J("dataSource",e.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",e.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",e.displayedColumns)}}let V=(()=>{class e{constructor(e,t,i,s,a){this.dialogRef=e,this.data=t,this.notificator=i,this.translate=s,this.authzService=a,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new N.by(this.data.groups),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(o.V6),u.Y36(d.sK),u.Y36(n.Ct))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,Y,1,0,"mat-spinner",1),u.YNc(5,z,13,9,"div",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return t.onSubmit()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),u.xp6(2),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading),u.xp6(3),u.hij(" ",u.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[a.uh,m.O5,a.H8,A.lW,b.$g,a.xY,N.BZ,N.w1,N.fO,N.Dz,N.as,N.nj,N.ge,N.ev,N.XQ,N.Gk],pipes:[d.X$],styles:[""]}),e})();var P=i(56238),F=i(79996),H=i(40084),j=i(91058),$=i(78364);function B(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function X(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.hij(" ",e.name," ")}}function W(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-debounce-filter",18),u.NdJ("filter",function(t){return u.CHM(e),u.oxw().applyFilter(t)}),u.ALo(1,"translate"),u.qZA()}2&e&&u.s9C("placeholder",u.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function K(e,t){1&e&&u._UZ(0,"mat-spinner",19)}const ee=function(){return["select","id","name","description"]};function te(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"div",20),u.TgZ(1,"perun-web-apps-groups-list",21),u.NdJ("page",function(t){return u.CHM(e),u.oxw().pageChanged(t)}),u.qZA(),u.qZA()}if(2&e){const e=u.oxw();u.xp6(1),u.Q6J("pageSize",e.pageSize)("disableRouting",!0)("displayedColumns",u.DdM(7,ee))("selection",e.selection)("filter",e.filterValue)("groups",e.groups)("disableMembers",!1)}}let ie=(()=>{class e{constructor(e,t,i,a,o,n,l,u,d,g){this.dialogRef=e,this.data=t,this.authzService=i,this.voService=a,this.groupService=o,this.translate=n,this.notificator=l,this.route=u,this.tableConfigService=d,this.router=g,this.searchString="",this.selection=new s.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new c.NI,this.firstSearchDone=!1,this.tableId=r.kZ,n.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(e=>this.title=e),n.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(e=>this.successMessage=e)}displayFn(e){return e?e.name:null}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(e=>e.id),complementaryObject:this.data.complementaryObject}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}ngOnInit(){this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(e=>{this.filteredOptions=this.myControl.valueChanges.pipe((0,P.O)(""),(0,F.U)(e=>this._filter(e))),this.vos=e,this.loading=!1},()=>this.loading=!1)}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(e=>e.name.toLowerCase().includes(t))}showVoGroups(e){this.loading=!0,this.groupService.getAllGroups(e.option.value.id).subscribe(e=>{this.groups=e,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1)}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}applyFilter(e){this.filterValue=e}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.Ct),u.Y36(n.YF),u.Y36(n.ff),u.Y36(d.sK),u.Y36(o.V6),u.Y36(g.gz),u.Y36(r.dB),u.Y36(g.F0))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"pageSize","disableRouting","displayedColumns","selection","filter","groups","disableMembers","page"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"div",2),u.TgZ(6,"mat-form-field",3),u.TgZ(7,"mat-label"),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"mat-select",4),u.NdJ("valueChange",function(e){return t.selectedRole=e}),u.YNc(11,B,3,4,"mat-option",5),u.qZA(),u.qZA(),u.TgZ(12,"mat-form-field",6),u.TgZ(13,"mat-label"),u._uU(14),u.ALo(15,"translate"),u.qZA(),u._UZ(16,"input",7),u.ALo(17,"translate"),u.TgZ(18,"mat-autocomplete",8,9),u.NdJ("optionSelected",function(e){return t.showVoGroups(e)}),u.YNc(20,X,2,2,"mat-option",5),u.ALo(21,"async"),u.qZA(),u.qZA(),u.qZA(),u.YNc(22,W,2,3,"perun-web-apps-debounce-filter",10),u.TgZ(23,"div",11),u.YNc(24,K,1,0,"mat-spinner",12),u.qZA(),u.YNc(25,te,2,8,"div",13),u.qZA(),u.TgZ(26,"div",14),u.TgZ(27,"button",15),u.NdJ("click",function(){return t.onCancel()}),u._uU(28),u.ALo(29,"translate"),u.qZA(),u.TgZ(30,"button",16),u.NdJ("click",function(){return t.onSubmit()}),u._uU(31),u.ALo(32,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const e=u.MAs(19);u.Tol(t.theme),u.xp6(2),u.Oqu(u.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),u.xp6(6),u.Oqu(u.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",t.selectedRole),u.xp6(1),u.Q6J("ngForOf",t.availableRoles),u.xp6(3),u.Oqu(u.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),u.xp6(2),u.s9C("placeholder",u.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),u.Q6J("formControl",t.myControl)("matAutocomplete",e),u.xp6(2),u.Q6J("displayWith",t.displayFn),u.xp6(2),u.Q6J("ngForOf",u.lcZ(21,27,t.filteredOptions)),u.xp6(2),u.Q6J("ngIf",null!==t.groups&&t.groups.length>0&&!t.loading),u.xp6(2),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",null!==t.groups&&!t.loading),u.xp6(3),u.hij(" ",u.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length||t.loading),u.xp6(1),u.hij(" ",u.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[a.uh,a.xY,h.KE,h.hX,p.gD,m.sg,f.Nt,c.Fj,H.ZL,c.JJ,c.oH,H.XC,m.O5,a.H8,A.lW,S.ey,j.P,b.$g,$.W],pipes:[d.X$,m.Ov,Z],styles:[""]}),e})();var se=i(84140),ae=i(55109),oe=i(59403);function ne(e,t){1&e&&(u._uU(0),u.ALo(1,"translate")),2&e&&u.hij(" ",u.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function re(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",11),u.NdJ("refresh",function(){return u.CHM(e),u.oxw(2).refreshUsers()}),u.qZA()}}function le(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",12),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).addManager()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function ce(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",13),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).removeManager()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("disabled",0===e.selectionUsers.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function ue(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function de(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"mat-form-field",14),u.TgZ(1,"mat-label"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"mat-select",15),u.NdJ("valueChange",function(t){return u.CHM(e),u.oxw(2).selectedRole=t})("selectionChange",function(){return u.CHM(e),u.oxw(2).refreshUsers()}),u.YNc(5,ue,3,4,"mat-option",16),u.qZA(),u.qZA()}if(2&e){const e=u.oxw(2);u.xp6(2),u.Oqu(u.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",e.selectedRole),u.xp6(1),u.Q6J("ngForOf",e.availableRoles)}}function ge(e,t){1&e&&u._UZ(0,"mat-spinner",18)}const he=function(){return["select","id","name","email","logins","organization"]},pe=function(){return["id","name","email","logins","organization"]};function me(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"app-users-list",20),u.NdJ("page",function(t){return u.CHM(e),u.oxw(3).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(3);u.Q6J("pageSize",e.pageSize)("users",e.managers)("disableRouting",!e.routeAuth)("displayedColumns",e.manageAuth?u.DdM(5,he):u.DdM(6,pe))("selection",e.selectionUsers)}}function fe(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,me,1,7,"app-users-list",19),u.qZA()),2&e){const e=u.oxw(2);u.xp6(1),u.Q6J("ngIf",e.managers)}}function Ae(e,t){if(1&e&&(u.YNc(0,re,1,0,"perun-web-apps-refresh-button",5),u.YNc(1,le,3,3,"button",6),u.YNc(2,ce,3,4,"button",7),u.YNc(3,de,6,5,"mat-form-field",8),u.YNc(4,ge,1,0,"mat-spinner",9),u.YNc(5,fe,2,1,"div",10)),2&e){const e=u.oxw();u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading)}}function Se(e,t){1&e&&(u._uU(0),u.ALo(1,"translate")),2&e&&u.hij(" ",u.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function be(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",11),u.NdJ("refresh",function(){return u.CHM(e),u.oxw(2).refreshGroups()}),u.qZA()}}function Re(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",12),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).addGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Ee(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"button",13),u.NdJ("click",function(){return u.CHM(e),u.oxw(2).removeGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){const e=u.oxw(2);u.Q6J("disabled",0===e.selectionGroups.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Ze(e,t){if(1&e&&(u.TgZ(0,"mat-option",17),u._uU(1),u.ALo(2,"displayedRole"),u.qZA()),2&e){const e=t.$implicit;u.Q6J("value",e),u.xp6(1),u.Oqu(u.lcZ(2,2,e))}}function Te(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"mat-form-field",14),u.TgZ(1,"mat-label"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"mat-select",15),u.NdJ("valueChange",function(t){return u.CHM(e),u.oxw(2).selectedRole=t})("selectionChange",function(){return u.CHM(e),u.oxw(2).refreshGroups()}),u.YNc(5,Ze,3,4,"mat-option",16),u.qZA(),u.qZA()}if(2&e){const e=u.oxw(2);u.xp6(2),u.Oqu(u.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),u.xp6(2),u.Q6J("value",e.selectedRole),u.xp6(1),u.Q6J("ngForOf",e.availableRoles)}}function Ie(e,t){1&e&&u._UZ(0,"mat-spinner",18)}const Ce=function(){return["select","id","vo","name","description"]},ve=function(){return["id","vo","name","description"]};function Oe(e,t){if(1&e){const e=u.EpF();u.TgZ(0,"perun-web-apps-groups-list",22),u.NdJ("page",function(t){return u.CHM(e),u.oxw(3).pageChanged(t)}),u.qZA()}if(2&e){const e=u.oxw(3);u.Q6J("pageSize",e.pageSize)("displayedColumns",e.manageAuth?u.DdM(5,Ce):u.DdM(6,ve))("groups",e.groups)("selection",e.selectionGroups)("disableMembers",!1)}}function _e(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,Oe,1,7,"perun-web-apps-groups-list",21),u.qZA()),2&e){const e=u.oxw(2);u.xp6(1),u.Q6J("ngIf",e.groups)}}function xe(e,t){if(1&e&&(u.YNc(0,be,1,0,"perun-web-apps-refresh-button",5),u.YNc(1,Re,3,3,"button",6),u.YNc(2,Ee,3,4,"button",7),u.YNc(3,Te,6,5,"mat-form-field",8),u.YNc(4,Ie,1,0,"mat-spinner",9),u.YNc(5,_e,2,1,"div",10)),2&e){const e=u.oxw();u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.manageAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading)}}function Ne(e,t){1&e&&(u.TgZ(0,"app-alert",23),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}let De=(()=>{class e{constructor(e,t,i,a,o){this.dialog=e,this.tableConfigService=t,this.authzService=i,this.storeService=a,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new s.Ov(!0,[]),this.selectionGroups=new s.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=r.HC,this.availableRolesPrivileges=new Map}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(e=>this.availableRolesPrivileges.get(e).readAuth),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.refreshUsers()}changeRolePrivileges(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;let e=!1;for(const t of this.roleModes)if(this.selectedMode===t.toLowerCase()){e=!0;break}e||(this.selectedMode=this.roleModes[0].toLowerCase())}tabChanged(e){this.loading=!0,0===e.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}refreshUsers(){this.loading=!0,this.changeRolePrivileges();let e=[l.r.USER_DEF_ORGANIZATION,l.r.USER_DEF_PREFERRED_MAIL];e=e.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,e,!1,!0).subscribe(e=>{this.managers=e,this.selectionUsers.clear(),this.loading=!1},()=>{this.loading=!1})}refreshGroups(){this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(e=>{this.groups=e,this.selectionGroups.clear(),this.loading=!1},()=>{this.loading=!1})}addManager(){const e=(0,se.kZ)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(x,e).afterClosed().subscribe(e=>{e&&this.refreshUsers()})}removeManager(){const e=(0,se.kZ)();e.width="450px",e.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(G,e).afterClosed().subscribe(e=>{e&&this.refreshUsers()})}removeGroup(){const e=(0,se.kZ)();e.width="450px",e.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(V,e).afterClosed().subscribe(e=>{e&&this.refreshGroups()})}addGroup(){const e=(0,se.kZ)();e.width="1000px",e.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(ie,e).afterClosed().subscribe(e=>{e&&this.refreshGroups()})}pageChanged(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(a.uw),u.Y36(r.dB),u.Y36(n.Ct),u.Y36(o.d6),u.Y36(o.x4))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("router-component",t.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],["class","mt-2",3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 mt-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],["class","mr-2 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page",4,"ngIf"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"mat-tab-group",1),u.NdJ("selectedTabChange",function(e){return t.tabChanged(e)}),u.TgZ(4,"mat-tab"),u.YNc(5,ne,2,3,"ng-template",2),u.YNc(6,Ae,6,6,"ng-template",3),u.qZA(),u.TgZ(7,"mat-tab"),u.YNc(8,Se,2,3,"ng-template",2),u.YNc(9,xe,6,6,"ng-template",3),u.qZA(),u.qZA(),u.YNc(10,Ne,3,3,"app-alert",4)),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),u.xp6(9),u.Q6J("ngIf",0===t.availableRoles.length))},directives:[ae.SP,ae.uX,ae.uD,ae.Vc,m.O5,oe.t,A.lW,h.KE,h.hX,p.gD,m.sg,S.ey,b.$g,E.C,$.W,R.w],pipes:[d.X$,Z],styles:[""]}),e})()},4196:function(e,t,i){"use strict";i.d(t,{o:function(){return G}});var s=i(31572),a=i(58623),o=i(67033),n=i(4230),r=i(88426),l=i(33642),c=i(84140),u=i(48160),d=i(82819),g=i(61511),h=i(29236),p=i(66283),m=i(80340),f=i(16073),A=i(15980),S=i(36922),b=i(43691),R=i(39571);function E(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"th",14),s.TgZ(1,"mat-checkbox",15),s.NdJ("change",function(t){s.CHM(e);const i=s.oxw();return t?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){const e=s.oxw();s.xp6(1),s.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Z(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"td",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(t){const i=s.CHM(e).$implicit,a=s.oxw();return t?a.selection.toggle(i):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){const e=t.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function T(e,t){1&e&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")))}function I(e,t){if(1&e&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Oqu(e.id)}}function C(e,t){1&e&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")))}function v(e,t){if(1&e&&(s.TgZ(0,"div"),s._uU(1),s.qZA()),2&e){const e=s.oxw().$implicit;s.xp6(1),s.hij(" ",e.tagName," ")}}function O(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-form-field"),s.TgZ(2,"input",21),s.NdJ("ngModelChange",function(t){return s.CHM(e),s.oxw().$implicit.tagName=t}),s.qZA(),s.qZA(),s.qZA()}if(2&e){const e=s.oxw().$implicit;s.xp6(2),s.Q6J("ngModel",e.tagName)}}function _(e,t){if(1&e&&(s.TgZ(0,"td",19),s.YNc(1,v,2,1,"div",20),s.YNc(2,O,3,1,"div",20),s.qZA()),2&e){const e=t.$implicit,i=s.oxw();s.xp6(1),s.Q6J("ngIf",!i.isChanging.isSelected(e)),s.xp6(1),s.Q6J("ngIf",i.isChanging.isSelected(e))}}function x(e,t){1&e&&s._UZ(0,"th",14)}function N(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(e);const t=s.oxw().$implicit;return s.oxw().edit(t)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"edit"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function D(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(e);const t=s.oxw().$implicit;return s.oxw().save(t)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"save"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function U(e,t){if(1&e&&(s.TgZ(0,"td",19),s.TgZ(1,"div",22),s.YNc(2,N,4,3,"button",23),s.YNc(3,D,4,3,"button",23),s.qZA(),s.qZA()),2&e){const e=t.$implicit,i=s.oxw();s.xp6(2),s.Q6J("ngIf",!i.isChanging.isSelected(e)),s.xp6(1),s.Q6J("ngIf",i.isChanging.isSelected(e))}}function w(e,t){1&e&&s._UZ(0,"tr",25)}function L(e,t){1&e&&s._UZ(0,"tr",26)}function y(e,t){if(1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"translate"),s.qZA()),2&e){const e=s.oxw();s.xp6(1),s.hij(" ","vo"===e.entity?s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):s.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function M(e,t){1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let G=(()=>{class e{constructor(e,t,i,a,o){this.resourceManager=e,this.notificator=t,this.translator=i,this.authResolver=a,this.tableCheckbox=o,this.resourceTags=[],this.selection=new n.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","edit"],this.page=new s.vpe,this.isChanging=new n.Ov(!0,[]),this.pageSizeOptions=c.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new o.by(this.resourceTags),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.tagName;default:return""}}exportData(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>(0,c.Sd)(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>(0,c.pR)(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.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"}save(e){this.resourceManager.updateResourceTag({resourceTag:e}).subscribe(()=>{this.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e)}),this.isChanging.deselect(e)})}edit(e){this.isChanging.select(e)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(l.xk),s.Y36(r.V6),s.Y36(u.sK),s.Y36(r.x4),s.Y36(r.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-resources-tags-list"]],viewQuery:function(e,t){if(1&e&&(s.Gf(a.YE,7),s.Gf(c.l9,7)),2&e){let e;s.iGM(e=s.CRH())&&(t.matSort=e.first),s.iGM(e=s.CRH())&&(t.child=e.first)}},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",pageSize:"pageSize",displayedColumns:"displayedColumns",entity:"entity"},outputs:{page:"page"},features:[s.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,E,2,3,"th",4),s.YNc(5,Z,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,T,3,3,"th",7),s.YNc(8,I,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,C,3,3,"th",4),s.YNc(11,_,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,x,1,0,"th",4),s.YNc(14,U,4,2,"td",9),s.BQk(),s.YNc(15,w,1,0,"tr",11),s.YNc(16,L,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(17,y,4,5,"app-alert",13),s.YNc(18,M,3,3,"app-alert",13)),2&e&&(s.Q6J("hidden",0===t.resourceTags.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.resourceTags.length),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resourceTags.length))},directives:[d.l,o.BZ,a.YE,o.w1,o.fO,o.Dz,o.as,o.nj,g.O5,o.ge,h.oG,o.ev,a.nU,p.KE,m.Nt,f.Fj,f.JJ,f.On,A.lW,S.gM,b.Hw,o.XQ,o.Gk,R.w],pipes:[u.X$],styles:[""]}),e})()},91721:function(e,t,i){"use strict";i.d(t,{Q:function(){return G}});var s=i(31572),a=i(58623),o=i(67033),n=i(4230),r=i(84140),l=i(88426),c=i(82819),u=i(61511),d=i(29236),g=i(43691),h=i(36922),p=i(84534),m=i(57629),f=i(39571),A=i(48160);function S(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"th",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(t){s.CHM(e);const i=s.oxw();return t?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){const e=s.oxw();s.xp6(1),s.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function b(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"td",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(t){const i=s.CHM(e).$implicit,a=s.oxw();return t?a.selection.toggle(i):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){const e=t.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(e))("checked",i.selection.isSelected(e))}}function R(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function E(e,t){if(1&e&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Oqu(e.id)}}function Z(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function T(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Oqu(e.name)}}function I(e,t){1&e&&s._UZ(0,"th",16)}function C(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," check_circle_outline "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function v(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," block "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function O(e,t){if(1&e&&(s.TgZ(0,"td",21),s.YNc(1,C,3,3,"mat-icon",22),s.YNc(2,v,3,3,"mat-icon",22),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Q6J("ngIf",e.enabled),s.xp6(1),s.Q6J("ngIf",!e.enabled)}}function _(e,t){1&e&&(s.TgZ(0,"th",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function x(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Oqu(e.script)}}function N(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function D(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){const e=t.$implicit;s.xp6(1),s.Oqu(e.description)}}function U(e,t){1&e&&s._UZ(0,"tr",24)}const w=function(e){return["/admin/services",e]};function L(e,t){if(1&e&&s._UZ(0,"tr",25),2&e){const e=t.$implicit,i=s.oxw();s.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),s.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:s.VKq(6,w,e.id))("routerLink",i.disableRouting?null:s.VKq(8,w,e.id))}}function y(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function M(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let G=(()=>{class e{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new n.Ov(!0,[]),this.disableRouting=!1,this.page=new s.vpe,this.pageSizeOptions=r.f7}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new o.by(this.services),this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"enabled":return e.enabled?"true":"false";case"script":return e.script;case"description":return e.description;default:return""}}exportData(e){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>(0,r.Sd)(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>(0,r.pR)(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.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.dataSource.paginator=this.child.paginator}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(l.x4),s.Y36(l.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-services-list"]],viewQuery:function(e,t){if(1&e&&(s.Gf(a.YE,7),s.Gf(r.l9,7)),2&e){let e;s.iGM(e=s.CRH())&&(t.matSort=e.first),s.iGM(e=s.CRH())&&(t.child=e.first)}},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[s.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,S,2,3,"th",4),s.YNc(5,b,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,R,3,3,"th",7),s.YNc(8,E,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,Z,3,3,"th",7),s.YNc(11,T,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,I,1,0,"th",4),s.YNc(14,O,3,2,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,_,3,3,"th",4),s.YNc(17,x,2,1,"td",9),s.BQk(),s.ynx(18,12),s.YNc(19,N,3,3,"th",7),s.YNc(20,D,2,1,"td",9),s.BQk(),s.YNc(21,U,1,0,"tr",13),s.YNc(22,L,1,10,"tr",14),s.qZA(),s.qZA(),s.qZA(),s.YNc(23,y,3,3,"app-alert",15),s.YNc(24,M,3,3,"app-alert",15)),2&e&&(s.Q6J("hidden",void 0===t.services||0===t.services.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(19),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&void 0!==t.services&&0!==t.services.length),s.xp6(1),s.Q6J("ngIf",void 0===t.services||0===t.services.length))},directives:[c.l,o.BZ,a.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,d.oG,o.ev,a.nU,g.Hw,h.gM,o.XQ,o.Gk,p.YH,m.rH,f.w],pipes:[A.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e})()}}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/827-es5.48873b00486d65bdb035.js b/dist/apps/admin-gui/827-es5.48873b00486d65bdb035.js deleted file mode 100644 index 355c591b8..000000000 --- a/dist/apps/admin-gui/827-es5.48873b00486d65bdb035.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function e(e,i){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(e,i)}(e))||i&&e&&"number"==typeof e.length){a&&(e=a);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==a.return||a.return()}finally{if(l)throw r}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i_policy",[this.resource]),this.removeServiceAuth=this.guiAuthResolver.isAuthorized("removeServices_Resource_List_policy",[this.resource]),this.displayedColumns=this.removeServiceAuth?["select","id","name","enabled","script","description"]:["id","name","enabled","script","description"],this.serviceRoutingAuth=this.guiAuthResolver.isPerunAdminOrObserver()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(N.gz),g.Y36(r.xk),g.Y36(o.dB),g.Y36(u.uw),g.Y36(d.x4))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-perun-web-apps-resource-assigned-services"]],decls:9,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","ml-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","services","selection","filterValue","displayedColumns","disableRouting","page"]],template:function(e,t){1&e&&(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 t.loadAllServices()}),g.qZA(),g.YNc(4,U,3,3,"button",2),g.YNc(5,L,3,4,"button",3),g.TgZ(6,"perun-web-apps-immediate-filter",4),g.NdJ("filter",function(e){return t.applyFilter(e)}),g.qZA(),g.YNc(7,k,1,0,"mat-spinner",5),g.YNc(8,M,1,6,"app-services-list",6)),2&e&&(g.xp6(1),g.Oqu(g.lcZ(2,6,"RESOURCE_DETAIL.ASSIGNED_SERVICES.TITLE")),g.xp6(3),g.Q6J("ngIf",!t.loadingResource&&t.assignServiceAuth),g.xp6(1),g.Q6J("ngIf",!t.loadingResource&&t.removeServiceAuth),g.xp6(1),g.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_SERVICES.FILTER_SERVICES"),g.xp6(1),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading))},directives:[D.t,h.O5,w.L,f.lW,m.$g,A.Q],pipes:[p.X$],styles:[""]}),e}()},79472:function(e,t,a){"use strict";a.d(t,{X:function(){return E}});var s=a(88426),r=a(33642),o=a(31572),l=a(57629),c=a(55109),u=a(61511),d=a(541),g=a(69012),p=a(48160);function h(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"RESOURCE_DETAIL.ENTITY")," ")}function f(e,t){if(1&e&&o._UZ(0,"app-one-entity-attribute-page",4),2&e){var i=o.oxw();o.Q6J("entity","resource")("entityId",i.resourceId)}}function m(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"MEMBER_DETAIL.ENTITY")," ")}function v(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){var i=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","member")}}function A(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,m,3,6,"ng-template",1),o.YNc(2,v,1,3,"ng-template",2),o.qZA())}function S(e,t){1&e&&(o._uU(0),o.ALo(1,"translate"),o.ALo(2,"translate")),2&e&&o.AsE(" ",o.lcZ(1,2,"RESOURCE_DETAIL.ENTITY")," - ",o.lcZ(2,4,"GROUP_DETAIL.ENTITY")," ")}function b(e,t){if(1&e&&o._UZ(0,"app-two-entity-attribute-page",5),2&e){var i=o.oxw(2);o.Q6J("firstEntity","resource")("firstEntityId",i.resourceId)("secondEntity","group")}}function R(e,t){1&e&&(o.TgZ(0,"mat-tab"),o.YNc(1,S,3,6,"ng-template",1),o.YNc(2,b,1,3,"ng-template",2),o.qZA())}var E=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.authResolver=a,this.resourceManager=n}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.route.parent.params.subscribe(function(t){e.resourceId=parseInt(t.resourceId,10),e.resourceManager.getResourceById(e.resourceId).subscribe(function(t){e.resource=t,e.resourceGroupAttAuth=e.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[e.resource]),e.resourceMemberAttAuth=e.authResolver.isAuthorized("getAssignedRichMembers_Resource_policy",[e.resource])})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(l.gz),o.Y36(s.x4),o.Y36(r.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-attributes"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:10,vars:5,consts:[[1,"page-subtitle"],["matTabLabel",""],["matTabContent",""],[4,"ngIf"],[3,"entity","entityId"],[3,"firstEntity","firstEntityId","secondEntity"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-tab-group"),o.TgZ(5,"mat-tab"),o.YNc(6,h,2,3,"ng-template",1),o.YNc(7,f,1,2,"ng-template",2),o.qZA(),o.YNc(8,A,3,0,"mat-tab",3),o.YNc(9,R,3,0,"mat-tab",3),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.Oqu(o.lcZ(3,3,"RESOURCE_DETAIL.SETTINGS.ATTRIBUTES.TITLE")),o.xp6(6),o.Q6J("ngIf",t.resourceMemberAttAuth),o.xp6(1),o.Q6J("ngIf",t.resourceGroupAttAuth))},directives:[c.SP,c.uX,c.uD,c.Vc,u.O5,d.t,g.Y],pipes:[p.X$],styles:[""]}),e}()},72920:function(e,t,a){"use strict";a.d(t,{b:function(){return M}});var s=a(17),r=a(75585),o=a(33642),l=a(84140),c=a(88426),u=a(22280),d=a(61189),g=a(95909),p=a(31572),h=a(57629),f=a(48958),m=a(84608),v=a(66297),A=a(61511),S=a(67806),b=a(43691),R=a(36922),E=a(21575),Z=a(15980),T=a(48160);function I(e,t){1&e&&p._UZ(0,"mat-spinner",3)}function C(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).editResource()}),p.TgZ(1,"mat-icon"),p._uU(2,"edit"),p.qZA(),p.qZA()}}function O(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).deleteResource()}),p.TgZ(1,"mat-icon"),p._uU(2,"delete_forever"),p.qZA(),p.qZA()}}var _=function(e){return["/organizations",e]};function y(e,t){if(1&e&&(p.TgZ(0,"a",8),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.Q6J("routerLink",p.VKq(2,_,i.resource.vo.id)),p.xp6(1),p.Oqu(i.resource.vo.name)}}function x(e,t){if(1&e&&(p.TgZ(0,"span"),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.hij(" ",i.resource.vo.name," ")}}var N=function(e){return["/facilities",e]};function D(e,t){if(1&e&&(p.TgZ(0,"a",8),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.Q6J("routerLink",p.VKq(2,N,i.resource.facilityId)),p.xp6(1),p.Oqu(i.resource.facility.name)}}function w(e,t){if(1&e&&(p.TgZ(0,"span"),p._uU(1),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.hij(" ",i.resource.facility.name," ")}}var U=function(){return{color:"black"}},L=function(e){return[e]};function k(e,t){if(1&e&&(p.TgZ(0,"div"),p.TgZ(1,"div",4),p._UZ(2,"mat-icon",5),p.ALo(3,"translate"),p.TgZ(4,"div",6),p.TgZ(5,"div",7),p.TgZ(6,"a",8),p._uU(7),p.qZA(),p.TgZ(8,"span",9),p._uU(9),p.qZA(),p.YNc(10,C,3,0,"button",10),p.YNc(11,O,3,0,"button",11),p.qZA(),p.TgZ(12,"div"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"span",12),p._uU(16),p.ALo(17,"translate"),p.ALo(18,"translate"),p.YNc(19,y,2,4,"a",13),p.YNc(20,x,2,1,"span",2),p._uU(21),p.ALo(22,"translate"),p.YNc(23,D,2,4,"a",14),p.YNc(24,w,2,1,"span",2),p._uU(25),p.ALo(26,"translate"),p.qZA(),p.qZA(),p.qZA(),p._UZ(27,"app-animated-router-outlet"),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.s9C("matTooltip",p.lcZ(3,20,"RESOURCE_DETAIL.ENTITY")),p.Q6J("ngStyle",p.DdM(32,U)),p.xp6(4),p.Q6J("routerLink",p.VKq(33,L,i.baseUrl)),p.xp6(1),p.hij(" ",i.resource.name," "),p.xp6(2),p.hij(" \xa0#",i.resource.id," "),p.xp6(1),p.Q6J("ngIf",i.editResourceAuth),p.xp6(1),p.Q6J("ngIf",i.deleteAuth),p.xp6(2),p.AsE(" ",p.lcZ(14,22,"RESOURCE_DETAIL.UUID"),": ",i.resource.uuid," "),p.xp6(3),p.AsE(" ",p.lcZ(17,24,"RESOURCE_DETAIL.ENTITY"),", ",p.lcZ(18,26,"RESOURCE_DETAIL.VO"),": "),p.xp6(3),p.Q6J("ngIf",i.voLinkAuth),p.xp6(1),p.Q6J("ngIf",!i.voLinkAuth),p.xp6(1),p.AsE(" #",i.resource.voId,", ",p.lcZ(22,28,"RESOURCE_DETAIL.FACILITY"),": "),p.xp6(2),p.Q6J("ngIf",i.facilityLinkAuth),p.xp6(1),p.Q6J("ngIf",!i.facilityLinkAuth),p.xp6(1),p.lnq(" #",i.resource.facilityId,", ",p.lcZ(26,30,"RESOURCE_DETAIL.DESCRIPTION"),": ",i.resource.description," ")}}var M=function(){var e=function(){function e(t,a,n,s,r,o,l,c,u){i(this,e),this.route=t,this.facilityManager=a,this.vosManagerService=n,this.resourcesManager=s,this.sideMenuService=r,this.sideMenuItemService=o,this.dialog=l,this.guiAuthResolver=c,this.router=u,this.deleteAuth=!1,this.baseUrl="",this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.params.subscribe(function(t){e.resourcesManager.getRichResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.setAuth(),"facilities"===e.route.parent.snapshot.url[0].path?(e.baseUrl=(new u.r5).transform(t,!1),e.facilityManager.getFacilityById(t.facilityId).subscribe(function(i){var a=e.sideMenuItemService.parseFacility(i),n=e.sideMenuItemService.parseResource(t,!1);e.sideMenuService.setFacilityMenuItems([a,n]),e.loading=!1},function(){return e.loading=!1})):(e.baseUrl=(new u.r5).transform(t,!0),e.vosManagerService.getVoById(t.voId).subscribe(function(i){var a=e.sideMenuItemService.parseVo(i),n=e.sideMenuItemService.parseResource(t,!0);e.sideMenuService.setAccessMenuItems([a,n]),e.loading=!1},function(){return e.loading=!1})),(0,l.sF)("resources",e.resource)})})}},{key:"setAuth",value:function(){this.facilityLinkAuth=this.guiAuthResolver.isAuthorized("getFacilityById_int_policy",[this.resource]),this.editResourceAuth=this.guiAuthResolver.isAuthorized("updateResource_Resource_policy",[this.resource]),this.voLinkAuth=this.guiAuthResolver.isAuthorized("getVoById_int_policy",[this.resource]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteResource_Resource_policy",[this.resource])}},{key:"editResource",value:function(){var e,t=this;this.resourcesManager.getResourceById(this.resource.id).subscribe(function(i){e=i;var a=(0,l.kZ)();a.width="450px",a.data={theme:"resource-theme",resource:e,dialogType:d.Eg.RESOURCE},t.dialog.open(d.rd,a).afterClosed().subscribe(function(e){e&&t.resourcesManager.getRichResourceById(t.resource.id).subscribe(function(e){t.resource=e})})})}},{key:"deleteResource",value:function(){var e=this,t=(0,l.kZ)();t.width="500px",t.data={theme:"resource-theme",resources:[this.resource]},this.dialog.open(g.f,t).afterClosed().subscribe(function(t){t&&e.router.navigate(["../"],{relativeTo:e.route})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(h.gz),p.Y36(o.IQ),p.Y36(o.YF),p.Y36(o.xk),p.Y36(f.D),p.Y36(r.V),p.Y36(m.uw),p.Y36(c.x4),p.Y36(h.F0))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-resource-detail-page"]],decls:4,vars:2,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","resource-theme"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"d-flex","page-title-headtitle"],["svgIcon","perun-resource-black",1,"perun-icon","perun-icon-detail",3,"matTooltip","ngStyle"],[1,"page-title-block"],[1,"page-title-headline","d-flex","align-items-center"],["queryParamsHandling","merge",1,"resource-link",3,"routerLink"],[1,"text-muted"],["mat-icon-button","","aria-label","Edit resource",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"mt-1","entity-info"],["queryParamsHandling","merge","class","resource-link",3,"routerLink",4,"ngIf"],["class","resource-link","queryParamsHandling","merge",3,"routerLink",4,"ngIf"],["mat-icon-button","","aria-label","Edit resource",3,"click"],["mat-icon-button","",3,"click"]],template:function(e,t){1&e&&(p.TgZ(0,"div",0),p._UZ(1,"perun-web-apps-back-button"),p.YNc(2,I,1,0,"mat-spinner",1),p.YNc(3,k,28,35,"div",2),p.qZA()),2&e&&(p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading&&void 0!==t.resource))},directives:[v.W,A.O5,S.$g,b.Hw,R.gM,A.PC,h.yS,E.A,Z.lW],pipes:[T.X$],styles:[".break-line[_ngcontent-%COMP%]{display:inline-block}"],data:{animation:[s.Ji]}}),e}()},42473:function(t,a,s){"use strict";s.d(a,{K:function(){return P}});var r=s(33642),o=s(4230),l=s(84608),c=s(67033),u=s(88426),d=s(31572),g=s(48160),p=s(61511),h=s(15980),f=s(67806);function m(e,t){1&e&&d._UZ(0,"mat-spinner",6)}function v(e,t){1&e&&d._UZ(0,"th",15)}function A(e,t){if(1&e&&(d.TgZ(0,"td",16),d._uU(1),d.qZA()),2&e){var i=t.$implicit;d.xp6(1),d.hij(" ",i.name," ")}}function S(e,t){1&e&&d._UZ(0,"tr",17)}function b(e,t){1&e&&d._UZ(0,"tr",18)}function R(e,t){if(1&e&&(d.TgZ(0,"div",7),d.TgZ(1,"p"),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"div",8),d._uU(5),d.ALo(6,"translate"),d.qZA(),d.TgZ(7,"table",9),d.ynx(8,10),d.YNc(9,v,1,0,"th",11),d.YNc(10,A,2,1,"td",12),d.BQk(),d.YNc(11,S,1,0,"tr",13),d.YNc(12,b,1,0,"tr",14),d.qZA(),d.qZA()),2&e){var i=d.oxw();d.xp6(2),d.hij(" ",d.lcZ(3,5,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DESCRIPTION")," "),d.xp6(3),d.hij(" ",d.lcZ(6,7,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.ASK")," "),d.xp6(2),d.Q6J("dataSource",i.dataSource),d.xp6(4),d.Q6J("matHeaderRowDef",i.displayedColumns),d.xp6(1),d.Q6J("matRowDefColumns",i.displayedColumns)}}var E=function(){var t=function(){function t(e,a,n,s,r){i(this,t),this.dialogRef=e,this.data=a,this.notificator=n,this.translate=s,this.resourceManager=r,this.displayedColumns=["name"],this.loading=!1}return n(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new c.by(this.data.groups)}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t,i=this,a=[],n=e(this.data.groups);try{for(n.s();!(t=n.n()).done;){var s=t.value;a.push(s.id)}}catch(r){n.e(r)}finally{n.f()}this.loading=!0,this.resourceManager.removeGroupsFromResource(a,this.data.resourceId).subscribe(function(){i.translate.get("DIALOGS.REMOVE_GROUP_FROM_RESOURCE.SUCCESS").subscribe(function(e){i.notificator.showSuccess(e),i.dialogRef.close(!0)})},function(){return i.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(l.so),d.Y36(l.WI),d.Y36(u.V6),d.Y36(g.sK),d.Y36(r.xk))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-perun-web-apps-remove-group-from-resource-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.YNc(4,m,1,0,"mat-spinner",1),d.YNc(5,R,13,9,"div",2),d.TgZ(6,"div",3),d.TgZ(7,"button",4),d.NdJ("click",function(){return t.onCancel()}),d._uU(8),d.ALo(9,"translate"),d.qZA(),d.TgZ(10,"button",5),d.NdJ("click",function(){return t.onSubmit()}),d._uU(11),d.ALo(12,"translate"),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.Tol(t.theme),d.xp6(2),d.Oqu(d.lcZ(3,9,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.TITLE")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(3),d.hij(" ",d.lcZ(9,11,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.CANCEL")," "),d.xp6(2),d.Q6J("disabled",t.loading),d.xp6(1),d.hij(" ",d.lcZ(12,13,"DIALOGS.REMOVE_GROUP_FROM_RESOURCE.DELETE")," "))},directives:[l.uh,p.O5,l.H8,h.lW,f.$g,l.xY,c.BZ,c.w1,c.fO,c.Dz,c.as,c.nj,c.ge,c.ev,c.XQ,c.Gk],pipes:[g.X$],styles:[""]}),t}(),Z=s(60611),T=s(29236),I=s(36922),C=s(16073),O=s(91058),_=s(78364);function y(e,t){1&e&&d._UZ(0,"mat-spinner",7)}var x=function(){return["select","id","name","description"]};function N(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"div",8),d.TgZ(1,"perun-web-apps-debounce-filter",9),d.NdJ("filter",function(e){return d.CHM(i),d.oxw().applyFilter(e)}),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"perun-web-apps-groups-list",10),d.NdJ("page",function(e){return d.CHM(i),d.oxw().pageChanged(e)}),d.qZA(),d.qZA()}if(2&e){var a=d.oxw();d.xp6(1),d.s9C("placeholder",d.lcZ(2,8,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.FILTER_DESCRIPTION")),d.xp6(2),d.Q6J("pageSize",a.pageSize)("groups",a.unAssignedGroups)("selection",a.selection)("filter",a.filterValue)("displayedColumns",d.DdM(10,x))("disableRouting",!0)("disableMembers",!1)}}var D=function(){var t=function(){function t(e,a,n,s,r,l,c,u){i(this,t),this.dialogRef=e,this.data=a,this.notificator=n,this.translate=s,this.resourceManager=r,this.tableConfigService=l,this.groupService=c,this.guiAuthResolver=u,this.loading=!1,this.checkGroups=!1,this.async=!0,this.selection=new o.Ov(!0,[]),this.filterValue="",this.tableId=Z.cL}return n(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.resource=this.data.resource,this.resourceManager.getAssignedGroups(this.resource.id).subscribe(function(i){t.groupService.getAllGroups(t.resource.voId).subscribe(function(a){t.unAssignedGroups=a;var n,s=e(i);try{for(s.s();!(n=s.n()).done;){var r,o=n.value,l=e(a);try{for(l.s();!(r=l.n()).done;){var c=r.value;o.id===c.id&&t.unAssignedGroups.splice(t.unAssignedGroups.indexOf(c),1)}}catch(u){l.e(u)}finally{l.f()}}}catch(u){s.e(u)}finally{s.f()}t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onAdd",value:function(){var t=this;if(this.checkGroups);else{this.loading=!0;var i,a=[],n=e(this.selection.selected);try{for(n.s();!(i=n.n()).done;){var s=i.value;a.push(s.id)}}catch(r){n.e(r)}finally{n.f()}this.resourceManager.assignGroupsToResource(a,this.resource.id,this.async).subscribe(function(){t.translate.get("DIALOGS.ASSIGN_GROUP_TO_RESOURCE.SUCCESS_MESSAGE").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"canAddGroups",value:function(){var e=this,t=!0;return this.selection.selected.forEach(function(i){e.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",[e.resource,i])||(t=!1)}),t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(l.so),d.Y36(l.WI),d.Y36(u.V6),d.Y36(g.sK),d.Y36(r.xk),d.Y36(Z.dB),d.Y36(r.ff),d.Y36(u.x4))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-perun-web-apps-assign-group-to-resource-dialog"]],decls:18,vars:26,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","matTooltipPosition","above",1,"ml-2",3,"disabled","matTooltipDisabled","matTooltip","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"pageSize","groups","selection","filter","displayedColumns","disableRouting","disableMembers","page"]],template:function(e,t){1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.YNc(4,y,1,0,"mat-spinner",1),d.YNc(5,N,4,11,"div",2),d.TgZ(6,"div",3),d.TgZ(7,"mat-checkbox",4),d.NdJ("ngModelChange",function(e){return t.async=e}),d.ALo(8,"translate"),d._uU(9),d.ALo(10,"translate"),d.qZA(),d.TgZ(11,"button",5),d.NdJ("click",function(){return t.onCancel()}),d._uU(12),d.ALo(13,"translate"),d.qZA(),d.TgZ(14,"button",6),d.NdJ("click",function(){return t.onAdd()}),d.ALo(15,"translate"),d._uU(16),d.ALo(17,"translate"),d.qZA(),d.qZA(),d.qZA()),2&e&&(d.Tol(t.theme),d.xp6(2),d.Oqu(d.lcZ(3,14,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.TITLE")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(2),d.s9C("matTooltip",d.lcZ(8,16,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT_DESCRIPTION")),d.Q6J("ngModel",t.async),d.xp6(2),d.hij(" ",d.lcZ(10,18,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ASYNC_OPT")," "),d.xp6(3),d.hij(" ",d.lcZ(13,20,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.CANCEL_BUTTON")," "),d.xp6(2),d.s9C("matTooltip",d.lcZ(15,22,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_TOOLTIP")),d.Q6J("disabled",0===t.selection.selected.length||!t.canAddGroups()||t.loading)("matTooltipDisabled",t.canAddGroups()),d.xp6(2),d.hij(" ",d.lcZ(17,24,"DIALOGS.ASSIGN_GROUP_TO_RESOURCE.ADD_BUTTON")," "))},directives:[l.uh,p.O5,l.H8,T.oG,I.gM,C.JJ,C.On,h.lW,f.$g,l.xY,O.P,_.W],pipes:[g.X$],styles:[""]}),t}(),w=s(84140),U=s(67004),L=s(57629),k=s(59403),M=s(39571),G=["checkbox"];function Y(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(i),d.oxw().addGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.ADD_GROUP"),"\n"))}function q(e,t){1&e&&d._UZ(0,"mat-spinner",10)}var J=function(e){return[e]},Q=function(){return["select","id","name","status","description"]};function z(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"div",11),d.TgZ(1,"perun-web-apps-groups-list",12),d.NdJ("page",function(e){return d.CHM(i),d.oxw().pageChanged(e)})("refreshTable",function(){return d.CHM(i),d.oxw().loadAllGroups()}),d.qZA(),d.qZA()}if(2&e){var a=d.oxw();d.xp6(1),d.Q6J("pageSize",a.pageSize)("groups",a.assignedGroups)("filter",a.filteredValue)("selection",a.selected)("disableMembers",!1)("resourceId",a.resourceId)("disableRouting",!a.guiAuthResolver.isAuthorized("getGroupById_int_policy",d.VKq(8,J,a.assignedGroups[0])))("displayedColumns",d.DdM(10,Q))}}function V(e,t){1&e&&(d.TgZ(0,"app-alert",13),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"RESOURCE_DETAIL.ASSIGNED_GROUPS.NO_GROUPS"),"\n"))}var P=function(){var e=function(){function e(t,a,n,s,r,l){i(this,e),this.route=t,this.resourcesManager=a,this.vosManagerService=n,this.tableConfigService=s,this.dialog=r,this.guiAuthResolver=l,this.assignedGroups=[],this.selected=new o.Ov(!0,[]),this.filteredValue="",this.tableId=Z.Ad}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(t){e.resourceId=t.resourceId,e.getDataForAuthorization(),e.loadAllGroups()})}},{key:"loadAllGroups",value:function(){var e=this;this.loading=!0,this.resourcesManager.getGroupAssignments(this.resourceId,[U.r.GROUP_SYNC_ENABLED]).subscribe(function(t){e.assignedGroups=t.map(function(e){var t=e.enrichedGroup.group;return t.status=e.status,t.failureCause=e.failureCause,t}),e.selected.clear(),e.loading=!1})}},{key:"addGroup",value:function(){var e=this,t=(0,w.kZ)();t.width="800px",t.data={theme:"resource-theme",resource:this.resource},this.dialog.open(D,t).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"removeGroups",value:function(){var e=this,t=(0,w.kZ)();t.width="500px",t.data={resourceId:this.resourceId,groups:this.selected.selected,theme:"resource-theme"},this.dialog.open(E,t).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"canRemoveGroups",value:function(){var e=this,t=!0;return this.selected.selected.forEach(function(i){e.guiAuthResolver.isAuthorized("removeGroupsFromResource_List_Resource_policy",[e.resource,i])||(t=!1)}),t}},{key:"applyFilter",value:function(e){this.filteredValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"getDataForAuthorization",value:function(){var e=this;this.loadingResource=!0,this.resourcesManager.getResourceById(this.resourceId).subscribe(function(t){e.resource=t,e.loadingResource=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Y36(L.gz),d.Y36(r.xk),d.Y36(r.YF),d.Y36(Z.dB),d.Y36(l.uw),d.Y36(u.x4))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-perun-web-apps-resource-groups"]],viewQuery:function(e,t){var i;(1&e&&d.Gf(G,7),2&e)&&(d.iGM(i=d.CRH())&&(t.checkbox=i.first))},decls:14,vars:18,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-flat-button","",1,"ml-2","mr-2",3,"disabled","click"],[3,"matTooltipDisabled","matTooltip"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["color","accent","mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"pageSize","groups","filter","selection","disableMembers","resourceId","disableRouting","displayedColumns","page","refreshTable"],["alert_type","warn"]],template:function(e,t){1&e&&(d.TgZ(0,"h1",0),d._uU(1),d.ALo(2,"translate"),d.qZA(),d.TgZ(3,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return t.loadAllGroups()}),d.qZA(),d.YNc(4,Y,3,3,"button",2),d.TgZ(5,"button",3),d.NdJ("click",function(){return t.removeGroups()}),d.TgZ(6,"span",4),d.ALo(7,"translate"),d._uU(8),d.ALo(9,"translate"),d.qZA(),d.qZA(),d.TgZ(10,"perun-web-apps-debounce-filter",5),d.NdJ("filter",function(e){return t.applyFilter(e)}),d.qZA(),d.YNc(11,q,1,0,"mat-spinner",6),d.YNc(12,z,2,11,"div",7),d.YNc(13,V,3,3,"app-alert",8)),2&e&&(d.xp6(1),d.Oqu(d.lcZ(2,10,"RESOURCE_DETAIL.ASSIGNED_GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!t.loadingResource&&t.guiAuthResolver.isAuthorized("assignGroupsToResource_List_Resource_policy",d.VKq(16,J,t.resource))),d.xp6(1),d.Q6J("disabled",0===t.selected.selected.length||!t.canRemoveGroups()),d.xp6(1),d.s9C("matTooltip",d.lcZ(7,12,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_TOOLTIP")),d.Q6J("matTooltipDisabled",t.canRemoveGroups()),d.xp6(2),d.hij(" ",d.lcZ(9,14,"RESOURCE_DETAIL.ASSIGNED_GROUPS.REMOVE_GROUP")," "),d.xp6(2),d.Q6J("placeholder","RESOURCE_DETAIL.ASSIGNED_GROUPS.FILTER_GROUPS"),d.xp6(1),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading&&0!==t.assignedGroups.length),d.xp6(1),d.Q6J("ngIf",0===t.assignedGroups.length&&!t.loading))},directives:[k.t,p.O5,h.lW,I.gM,O.P,f.$g,_.W,M.w],pipes:[g.X$],styles:[""]}),e}()},76527:function(e,t,a){"use strict";a.d(t,{H:function(){return h}});var s=a(33642),r=a(88426),o=a(31572),l=a(57629),c=a(61511),u=a(67806),d=a(8557);function g(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function p(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){var i=o.oxw();o.xp6(1),o.Q6J("items",i.navItems)("size","small")}}var h=function(){var e=function(){function e(t,a,n){i(this,e),this.resourcesManager=t,this.route=a,this.guiAuthResolver=n,this.navItems=[],this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.params.subscribe(function(t){e.resourcesManager.getResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.initItems("facilities"!==e.route.parent.parent.snapshot.url[0].path),e.loading=!1},function(){return e.loading=!1})})}},{key:"initItems",value:function(e){var t=e?"/organizations/".concat(this.resource.voId):"/facilities/".concat(this.resource.facilityId);this.navItems=[],this.guiAuthResolver.isAuthorized("getAssignedGroups_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-group",url:"".concat(t,"/resources/").concat(this.resource.id,"/groups"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedServices_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-service",url:"/".concat(t,"/resources/").concat(this.resource.id,"/services"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAssignedMembers_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-user",url:"".concat(t,"/resources/").concat(this.resource.id,"/members"),label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",style:"resource-btn"}),this.guiAuthResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[this.resource])&&this.navItems.push({cssIcon:"perun-resource-tags",url:"".concat(t,"/resources/").concat(this.resource.id,"/tags"),label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",style:"resource-btn"}),this.navItems.push({cssIcon:"perun-attributes",url:"".concat(t,"/resources/").concat(this.resource.id,"/attributes"),label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",style:"resource-btn"}),this.guiAuthResolver.isManagerPagePrivileged(this.resource)&&this.navItems.push({cssIcon:"perun-settings2",url:"".concat(t,"/resources/").concat(this.resource.id,"/settings"),label:"MENU_ITEMS.RESOURCE.SETTINGS",style:"resource-btn"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.xk),o.Y36(l.gz),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,g,1,0,"mat-spinner",0),o.YNc(1,p,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[c.O5,u.$g,d.L],styles:[""]}),e}()},64359:function(e,t,a){"use strict";a.d(t,{O:function(){return g}});var s=a(33642),r=a(88426),o=a(31572),l=a(57629),c=a(61511),u=a(489);function d(e,t){if(1&e&&o._UZ(0,"app-managers-page",1),2&e){var i=o.oxw();o.Q6J("complementaryObject",i.resource)("complementaryObjectType",i.type)("theme",i.theme)("availableRoles",i.availableRoles)}}var g=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.resourceService=a,this.guiAuthResolver=n,this.availableRoles=[],this.type="Resource",this.theme="resource-theme"}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.route.parent.parent.params.subscribe(function(t){e.resourceService.getResourceById(t.resourceId).subscribe(function(t){e.resource=t})}),this.guiAuthResolver.assignAvailableRoles(this.availableRoles,"Resource")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(l.gz),o.Y36(s.xk),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-managers"]],decls:1,vars:1,consts:[[3,"complementaryObject","complementaryObjectType","theme","availableRoles",4,"ngIf"],[3,"complementaryObject","complementaryObjectType","theme","availableRoles"]],template:function(e,t){1&e&&o.YNc(0,d,1,4,"app-managers-page",0),2&e&&o.Q6J("ngIf",t.resource)},directives:[c.O5,u.s],styles:[""]}),e}()},22927:function(e,t,a){"use strict";a.d(t,{h:function(){return h}});var s=a(33642),r=a(88426),o=a(31572),l=a(57629),c=a(61511),u=a(67806),d=a(8557);function g(e,t){1&e&&o._UZ(0,"mat-spinner",2)}function p(e,t){if(1&e&&(o.TgZ(0,"div"),o._UZ(1,"perun-web-apps-menu-buttons-field",3),o.qZA()),2&e){var i=o.oxw();o.xp6(1),o.Q6J("items",i.items)("size","small")}}var h=function(){var e=function(){function e(t,a,n){i(this,e),this.route=t,this.resourceManager=a,this.authResolver=n,this.items=[],this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.resourceManager.getResourceById(t.resourceId).subscribe(function(t){e.resource=t,e.initItems("facilities"!==e.route.parent.parent.parent.snapshot.url[0].path),e.loading=!1},function(){return e.loading=!1})})}},{key:"initItems",value:function(e){this.items=[],this.authResolver.isManagerPagePrivileged(this.resource)&&this.items.push({cssIcon:"perun-manager",url:"".concat(e?"/organizations/".concat(this.resource.voId):"/facilities/".concat(this.resource.facilityId),"/resources/").concat(this.resource.id,"/settings/managers"),label:"MENU_ITEMS.RESOURCE.MANAGERS",style:"resource-btn"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(l.gz),o.Y36(s.xk),o.Y36(r.x4))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-resource-settings-overview"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:2,vars:2,consts:[["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"items","size"]],template:function(e,t){1&e&&(o.YNc(0,g,1,0,"mat-spinner",0),o.YNc(1,p,2,2,"div",1)),2&e&&(o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[c.O5,u.$g,d.L],styles:[""]}),e}()},77968:function(e,t,a){"use strict";a.d(t,{t:function(){return o}});var n=a(17),s=a(31572),r=a(21575),o=function(){var e=function e(){i(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-resource-settings"]],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("router-component",t.true)},decls:1,vars:0,template:function(e,t){1&e&&s._UZ(0,"app-animated-router-outlet")},directives:[r.A],styles:[""],data:{animation:[n.Ji]}}),e}()},53134:function(e,t,a){"use strict";a.d(t,{v:function(){return x}});var s=a(33642),r=a(4230),o=a(60611),l=a(84140),c=a(88426),u=a(61189),d=a(84608),g=a(31572),p=a(61511),h=a(15980),f=a(67806),m=a(4196),v=a(48160);function A(e,t){1&e&&g._UZ(0,"mat-spinner",8)}function S(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"app-resources-tags-list",9),g.NdJ("page",function(e){return g.CHM(i),g.oxw().pageChanged(e)}),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTags)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","resource")}}var b=function(){var e=function(){function e(t,a,n,s){i(this,e),this.dialogRef=t,this.data=a,this.tableConfigService=n,this.resourcesManager=s,this.tableId=o.g,this.selection=new r.Ov(!0,[]),this.resourceTags=[],this.displayedColumns=["select","id","name"]}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.voId=this.data.voId,this.resourceId=this.data.resourceId,this.assignedTags=this.data.assignedTags,this.resourcesManager.getAllResourcesTagsForVo(this.voId).subscribe(function(t){e.resourceTags=t.filter(function(t){return e.assignedTags.map(function(e){return e.id}).indexOf(t.id)<=-1}),e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(e){var t=this;if(0===e.length)return this.dialogRef.close(!0);var i=e.pop();this.resourcesManager.assignResourceTagToResource({resource:this.resourceId,resourceTag:i}).subscribe(function(){t.onSubmit(e)})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(d.so),g.Y36(d.WI),g.Y36(o.dB),g.Y36(s.xk))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-add-resource-tag-to-resource-dialog"]],decls:15,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",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,"mr-auto","ml-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.TgZ(4,"div",1),g.TgZ(5,"div",2),g.YNc(6,A,1,0,"mat-spinner",3),g.qZA(),g.YNc(7,S,1,6,"app-resources-tags-list",4),g.qZA(),g.TgZ(8,"div",5),g.TgZ(9,"button",6),g.NdJ("click",function(){return t.onCancel()}),g._uU(10),g.ALo(11,"translate"),g.qZA(),g.TgZ(12,"button",7),g.NdJ("click",function(){return t.onSubmit(t.selection.selected)}),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.qZA(),g.qZA()),2&e&&(g.Tol(t.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"RESOURCE_DETAIL.TAGS.ADD_TAGS")),g.xp6(4),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading),g.xp6(3),g.hij(" ",g.lcZ(11,11,"RESOURCE_DETAIL.TAGS.CANCEL")," "),g.xp6(2),g.Q6J("disabled",t.loading||0===t.resourceTags.length),g.xp6(1),g.hij(" ",g.lcZ(14,13,"RESOURCE_DETAIL.TAGS.ADD_BUTTON")," "))},directives:[d.uh,d.xY,p.O5,d.H8,h.lW,f.$g,m.o],pipes:[v.X$],styles:[""]}),e}(),R=a(24923),E=a(57629),Z=a(59403),T=a(19139);function I(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",8),g.NdJ("click",function(){return g.CHM(i),g.oxw().create()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.CREATE_BUTTON"),"\n"))}function C(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",9),g.NdJ("click",function(){return g.CHM(i),g.oxw().addTag()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"RESOURCE_DETAIL.TAGS.ADD_BUTTON"),"\n"))}function O(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"button",10),g.NdJ("click",function(){return g.CHM(i),g.oxw().removeTags()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("disabled",0===a.selection.selected.length),g.xp6(1),g.hij(" ",g.lcZ(2,2,"RESOURCE_DETAIL.TAGS.REMOVE_BUTTON"),"\n")}}function _(e,t){1&e&&g._UZ(0,"mat-spinner",11)}function y(e,t){if(1&e){var i=g.EpF();g.TgZ(0,"app-resources-tags-list",12),g.NdJ("page",function(e){return g.CHM(i),g.oxw().pageChanged(e)}),g.qZA()}if(2&e){var a=g.oxw();g.Q6J("selection",a.selection)("pageSize",a.pageSize)("resourceTags",a.resourceTags)("filterValue",a.filterValue)("displayedColumns",a.displayedColumns)("entity","resource")}}var x=function(){var e=function(){function e(t,a,n,s,l,c,u,d){i(this,e),this.route=t,this.authResolver=a,this.tableConfigService=n,this.resourcesManager=s,this.voService=l,this.dialog=c,this.notificator=u,this.translate=d,this.loading=!1,this.resourceTags=[],this.selection=new r.Ov(!0,[]),this.tableId=o.M8,this.displayedColumns=[]}return n(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.resourceId=t.resourceId,e.resourcesManager.getResourceById(e.resourceId).subscribe(function(t){e.resource=t,e.updateData()})})}},{key:"removeTags",value:function(){var e=this,t=(0,l.kZ)();t.width="450px",t.data={items:this.selection.selected.map(function(e){return e.tagName}),title:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_TITLE",description:"RESOURCE_DETAIL.TAGS.REMOVE_TAGS_DIALOG_DESCRIPTION",theme:"resource-theme"},this.dialog.open(u.Tf,t).afterClosed().subscribe(function(t){t&&e.removeTag(e.selection.selected)})}},{key:"removeTag",value:function(e){var t=this;if(0===e.length)return this.notificator.showSuccess(this.translate.instant("RESOURCE_DETAIL.TAGS.REMOVED_SUCCESSFULLY")),this.updateData();var i=e.pop();this.resourcesManager.removeResourceTagFromResource({resource:this.resourceId,resourceTag:i}).subscribe(function(){t.removeTag(e)})}},{key:"addTag",value:function(){var e=this,t=(0,l.kZ)();t.width="600px",t.data={voId:this.resource.voId,resourceId:this.resourceId,assignedTags:this.resourceTags,theme:"resource-theme"},this.dialog.open(b,t).afterClosed().subscribe(function(t){t&&(e.notificator.showSuccess(e.translate.instant("RESOURCE_DETAIL.TAGS.ADDED_SUCCESSFULLY")),e.updateData())})}},{key:"create",value:function(){var e=this,t=(0,l.kZ)();t.width="450px",t.data={voId:this.resource.voId,theme:"resource-theme"},this.dialog.open(R.p,t).afterClosed().subscribe(function(t){t&&(e.translate.get("VO_DETAIL.RESOURCES.TAGS.CREATE_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.updateData())})}},{key:"updateData",value:function(){var e=this;this.loading=!0,this.selection.clear(),this.resourcesManager.getAllResourcesTagsForResource(this.resourceId).subscribe(function(t){e.resourceTags=t,e.selection.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){var e={id:this.resource.voId,beanName:"Vo"};this.displayedColumns=[],this.createAuth=this.authResolver.isAuthorized("createResourceTag_ResourceTag_Vo_policy",[e]),this.addAuth=this.authResolver.isAuthorized("assignResourceTagToResource_ResourceTag_Resource_policy",[this.resource]),this.removeAuth=this.authResolver.isAuthorized("removeResourceTagFromResource_ResourceTag_Resource_policy",[this.resource]),this.displayedColumns=this.removeAuth?["select","id","name"]:["id","name"]}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(g.Y36(E.gz),g.Y36(c.x4),g.Y36(o.dB),g.Y36(s.xk),g.Y36(s.YF),g.Y36(d.uw),g.Y36(c.V6),g.Y36(v.sK))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-perun-web-apps-resource-tags"]],decls:10,vars:9,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-2","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"selection","pageSize","resourceTags","filterValue","displayedColumns","entity","page"]],template:function(e,t){1&e&&(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 t.updateData()}),g.qZA(),g.YNc(4,I,3,3,"button",2),g.YNc(5,C,3,3,"button",3),g.YNc(6,O,3,4,"button",4),g.TgZ(7,"perun-web-apps-immediate-filter",5),g.NdJ("filter",function(e){return t.applyFilter(e)}),g.qZA(),g.YNc(8,_,1,0,"mat-spinner",6),g.YNc(9,y,1,6,"app-resources-tags-list",7)),2&e&&(g.xp6(1),g.Oqu(g.lcZ(2,7,"RESOURCE_DETAIL.TAGS.TITLE")),g.xp6(3),g.Q6J("ngIf",t.createAuth),g.xp6(1),g.Q6J("ngIf",t.addAuth),g.xp6(1),g.Q6J("ngIf",t.removeAuth),g.xp6(1),g.Q6J("placeholder","RESOURCE_DETAIL.TAGS.SEARCH"),g.xp6(1),g.Q6J("ngIf",t.loading),g.xp6(1),g.Q6J("ngIf",!t.loading))},directives:[Z.t,p.O5,T.L,h.lW,f.$g,m.o],pipes:[v.X$],styles:[""]}),e}()},24923:function(e,t,a){"use strict";a.d(t,{p:function(){return v}});var s=a(84608),r=a(33642),o=a(31572),l=a(61511),c=a(15980),u=a(67806),d=a(66283),g=a(80340),p=a(16073),h=a(48160);function f(e,t){1&e&&o._UZ(0,"mat-spinner",6)}function m(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"mat-form-field"),o.TgZ(2,"input",8),o.NdJ("ngModelChange",function(e){return o.CHM(i),o.oxw().name=e}),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-error"),o._uU(5),o.ALo(6,"translate"),o.qZA(),o.qZA(),o.qZA()}if(2&e){var a=o.oxw();o.xp6(2),o.s9C("placeholder",o.lcZ(3,3,"DIALOGS.CREATE_RESOURCE_TAG.NAME")),o.Q6J("ngModel",a.name),o.xp6(3),o.Oqu(o.lcZ(6,5,"DIALOGS.CREATE_RESOURCE_TAG.EMPTY_NAME"))}}var v=function(){var e=function(){function e(t,a,n){i(this,e),this.dialogRef=t,this.data=a,this.resourceManager=n,this.name="",this.loading=!1}return n(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;""!==this.name&&(this.loading=!0,this.resourceManager.createResourceTagWithTagName(this.name,this.data.voId).subscribe(function(){e.dialogRef.close(!0)},function(){return e.loading=!1}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(s.so),o.Y36(s.WI),o.Y36(r.xk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-create-resource-tag-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","ngModel","ngModelChange"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,f,1,0,"mat-spinner",1),o.YNc(5,m,7,7,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return t.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return t.onSubmit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.Tol(t.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.CREATE_RESOURCE_TAG.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.CREATE_RESOURCE_TAG.CANCEL")," "),o.xp6(2),o.Q6J("disabled",t.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.CREATE_RESOURCE_TAG.CREATE")," "))},directives:[s.uh,l.O5,s.H8,c.lW,u.$g,s.xY,d.KE,g.Nt,p.Fj,p.Q7,p.JJ,p.On,d.TO],pipes:[h.X$],styles:[""]}),e}()},489:function(t,a,s){"use strict";s.d(a,{s:function(){return Ue}});var r=s(4230),o=s(84608),l=s(88426),c=s(33642),u=s(60611),d=s(67004),g=s(16073),p=s(31572),h=s(48160),f=s(57629),m=s(66283),v=s(4786),A=s(61511),S=s(80340),b=s(15980),R=s(71522),E=s(67806),Z=s(39571),T=s(86593),I=function(){var e=function(){function e(t){i(this,e),this.translate=t,this.prefix="ROLES."}return n(e,[{key:"transform",value:function(e){var t=this.prefix.concat(e);return this.translate.instant(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(h.sK,16))},e.\u0275pipe=p.Yjl({name:"displayedRole",type:e,pure:!0}),e}();function C(e,t){if(1&e&&(p.TgZ(0,"mat-option",15),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function O(e,t){1&e&&p._UZ(0,"mat-spinner",16)}function _(e,t){1&e&&(p.TgZ(0,"app-alert",20),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"DIALOGS.ADD_MANAGERS.NO_USERS_FOUND")," "))}var y=function(){return["select","id","name","email","logins","organization"]};function x(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"app-users-list",21),p.NdJ("page",function(e){return p.CHM(i),p.oxw(2).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("pageSize",a.pageSize)("disableRouting",!0)("selection",a.selection)("displayedColumns",p.DdM(5,y))("users",a.users)}}function N(e,t){if(1&e&&(p.TgZ(0,"div",17),p.YNc(1,_,3,3,"app-alert",18),p.YNc(2,x,1,6,"app-users-list",19),p.qZA()),2&e){var i=p.oxw();p.xp6(1),p.Q6J("ngIf",0===i.users.length&&i.firstSearchDone),p.xp6(1),p.Q6J("ngIf",0!==i.users.length)}}var D=function(){var e=function(){function e(t,a,n,s,o,l,c,d,g,p){var h=this;i(this,e),this.dialogRef=t,this.data=a,this.authzService=n,this.usersService=s,this.translate=o,this.notificator=l,this.storeService=c,this.route=d,this.router=g,this.tableConfigService=p,this.selection=new r.Ov(!0,[]),this.users=[],this.firstSearchDone=!1,this.tableId=u.H2,o.get("DIALOGS.ADD_MANAGERS.TITLE").subscribe(function(e){return h.title=e}),o.get("DIALOGS.ADD_MANAGERS.SUCCESS").subscribe(function(e){return h.successMessage=e})}return n(e,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.searchCtrl=new g.NI("",[g.kI.required,g.kI.pattern(".*[\\S]+.*")])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.setRoleWithUserComplementaryObject({role:this.selectedRole,users:this.selection.selected.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onSearchByString",value:function(){var e=this;if(this.searchCtrl.invalid)this.searchCtrl.markAllAsTouched();else{this.loading=!0,this.selection.clear();var t=[d.r.USER_DEF_ORGANIZATION,d.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.usersService.findRichUsersWithAttributes(this.searchCtrl.value,t).subscribe(function(t){e.users=t,e.loading=!1,e.firstSearchDone=!0},function(){return e.loading=!1})}}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(c.Ct),p.Y36(c.Fv),p.Y36(h.sK),p.Y36(l.V6),p.Y36(l.d6),p.Y36(f.gz),p.Y36(f.F0),p.Y36(u.dB))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-add-manager-dialog"]],decls:32,vars:31,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-100"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page",4,"ngIf"],["alert_type","warn"],[3,"pageSize","disableRouting","selection","displayedColumns","users","page"]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",1),p.TgZ(5,"div",2),p.TgZ(6,"mat-form-field",3),p.TgZ(7,"mat-label"),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"mat-select",4),p.NdJ("valueChange",function(e){return t.selectedRole=e}),p.YNc(11,C,3,4,"mat-option",5),p.qZA(),p.qZA(),p.TgZ(12,"mat-form-field",6),p.TgZ(13,"label"),p.TgZ(14,"input",7),p.NdJ("keyup.enter",function(){return t.onSearchByString()}),p.ALo(15,"translate"),p.qZA(),p.qZA(),p.TgZ(16,"mat-error"),p._uU(17),p.ALo(18,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(19,"button",8),p.NdJ("click",function(){return t.onSearchByString()}),p._uU(20),p.ALo(21,"translate"),p.qZA(),p.TgZ(22,"div",9),p.YNc(23,O,1,0,"mat-spinner",10),p.qZA(),p.YNc(24,N,3,2,"div",11),p.qZA(),p.TgZ(25,"div",12),p.TgZ(26,"button",13),p.NdJ("click",function(){return t.onCancel()}),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.TgZ(29,"button",14),p.NdJ("click",function(){return t.onSubmit()}),p._uU(30),p.ALo(31,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,17,"DIALOGS.ADD_MANAGERS.TITLE")),p.xp6(6),p.Oqu(p.lcZ(9,19,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",t.selectedRole),p.xp6(1),p.Q6J("ngForOf",t.availableRoles),p.xp6(3),p.s9C("placeholder",p.lcZ(15,21,"DIALOGS.ADD_MANAGERS.DESCRIPTION")),p.Q6J("formControl",t.searchCtrl),p.xp6(3),p.hij(" ",p.lcZ(18,23,"DIALOGS.ADD_MANAGERS.EMPTY_SEARCH_MESSAGE")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(21,25,"DIALOGS.ADD_MANAGERS.SEARCH")," "),p.xp6(3),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",null!==t.users&&!t.loading),p.xp6(3),p.hij(" ",p.lcZ(28,27,"DIALOGS.ADD_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||void 0===t.selectedRole||t.loading),p.xp6(1),p.hij(" ",p.lcZ(31,29,"DIALOGS.ADD_MANAGERS.CREATE")," "))},directives:[o.uh,o.xY,m.KE,m.hX,v.gD,A.sg,S.Nt,g.Fj,g.JJ,g.oH,m.TO,b.lW,A.O5,o.H8,R.ey,E.$g,Z.w,T.C],pipes:[h.X$,I],styles:[".inline-dialog-items[_ngcontent-%COMP%]{display:flex;align-items:flex-end}"]}),e}(),w=s(67033);function U(e,t){1&e&&p._UZ(0,"th",14)}function L(e,t){if(1&e&&(p.TgZ(0,"td",15),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.xp6(1),p.AsE(" ",i.firstName," ",i.lastName,"")}}function k(e,t){1&e&&p._UZ(0,"tr",16)}function M(e,t){1&e&&p._UZ(0,"tr",17)}function G(e,t){if(1&e&&(p.TgZ(0,"div",6),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",7),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",8),p.ynx(8,9),p.YNc(9,U,1,0,"th",10),p.YNc(10,L,2,2,"td",11),p.BQk(),p.YNc(11,k,1,0,"tr",12),p.YNc(12,M,1,0,"tr",13),p.qZA(),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_MANAGERS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_MANAGERS.ASK")," "),p.xp6(2),p.Q6J("dataSource",i.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",i.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",i.displayedColumns)}}function Y(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var q=function(){var e=function(){function e(t,a,n,s,r){i(this,e),this.dialogRef=t,this.data=a,this.notificator=n,this.translate=s,this.authzService=r,this.displayedColumns=["name"]}return n(e,[{key:"ngOnInit",value:function(){this.dataSource=new w.by(this.data.managers),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.unsetRoleWithUserComplementaryObject({role:this.data.role,users:this.data.managers.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.translate.get("DIALOGS.REMOVE_MANAGERS.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(l.V6),p.Y36(h.sK),p.Y36(c.Ct))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-remove-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["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",""],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,G,13,9,"div",1),p.YNc(5,Y,1,0,"mat-spinner",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return t.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return t.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.REMOVE_MANAGERS.TITLE")),p.xp6(2),p.Q6J("ngIf",!t.loading),p.xp6(1),p.Q6J("ngIf",t.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_MANAGERS.DELETE")," "))},directives:[o.uh,A.O5,o.H8,b.lW,o.xY,w.BZ,w.w1,w.fO,w.Dz,w.as,w.nj,w.ge,w.ev,w.XQ,w.Gk,E.$g],pipes:[h.X$],styles:[""]}),e}();function J(e,t){1&e&&p._UZ(0,"mat-spinner",6)}function Q(e,t){1&e&&p._UZ(0,"th",15)}function z(e,t){if(1&e&&(p.TgZ(0,"td",16),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.xp6(1),p.hij(" ",i.name,"")}}function V(e,t){1&e&&p._UZ(0,"tr",17)}function P(e,t){1&e&&p._UZ(0,"tr",18)}function F(e,t){if(1&e&&(p.TgZ(0,"div",7),p.TgZ(1,"p"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",8),p._uU(5),p.ALo(6,"translate"),p.qZA(),p.TgZ(7,"table",9),p.ynx(8,10),p.YNc(9,Q,1,0,"th",11),p.YNc(10,z,2,1,"td",12),p.BQk(),p.YNc(11,V,1,0,"tr",13),p.YNc(12,P,1,0,"tr",14),p.qZA(),p.qZA()),2&e){var i=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,5,"DIALOGS.REMOVE_GROUPS.DESCRIPTION")," "),p.xp6(3),p.hij(" ",p.lcZ(6,7,"DIALOGS.REMOVE_GROUPS.ASK")," "),p.xp6(2),p.Q6J("dataSource",i.dataSource),p.xp6(4),p.Q6J("matHeaderRowDef",i.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",i.displayedColumns)}}var j=function(){var e=function(){function e(t,a,n,s,r){i(this,e),this.dialogRef=t,this.data=a,this.notificator=n,this.translate=s,this.authzService=r,this.displayedColumns=["name"]}return n(e,[{key:"ngOnInit",value:function(){this.dataSource=new w.by(this.data.groups),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.unsetRoleWithGroupComplementaryObject({role:this.data.role,authorizedGroups:this.data.groups.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.translate.get("DIALOGS.REMOVE_GROUPS.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(l.V6),p.Y36(h.sK),p.Y36(c.Ct))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-remove-group-manager-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.YNc(4,J,1,0,"mat-spinner",1),p.YNc(5,F,13,9,"div",2),p.TgZ(6,"div",3),p.TgZ(7,"button",4),p.NdJ("click",function(){return t.onCancel()}),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"button",5),p.NdJ("click",function(){return t.onSubmit()}),p._uU(11),p.ALo(12,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,9,"DIALOGS.REMOVE_GROUPS.TITLE")),p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",!t.loading),p.xp6(3),p.hij(" ",p.lcZ(9,11,"DIALOGS.REMOVE_GROUPS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",t.loading),p.xp6(1),p.hij(" ",p.lcZ(12,13,"DIALOGS.REMOVE_GROUPS.DELETE")," "))},directives:[o.uh,A.O5,o.H8,b.lW,E.$g,o.xY,w.BZ,w.w1,w.fO,w.Dz,w.as,w.nj,w.ge,w.ev,w.XQ,w.Gk],pipes:[h.X$],styles:[""]}),e}(),H=s(56238),B=s(79996),$=s(40084),X=s(91058),W=s(78364);function K(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function ee(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.hij(" ",i.name," ")}}function te(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-debounce-filter",18),p.NdJ("filter",function(e){return p.CHM(i),p.oxw().applyFilter(e)}),p.ALo(1,"translate"),p.qZA()}2&e&&p.s9C("placeholder",p.lcZ(1,1,"DIALOGS.ADD_GROUPS.FILTER_GROUPS"))}function ie(e,t){1&e&&p._UZ(0,"mat-spinner",19)}var ae=function(){return["select","id","name","description"]};function ne(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"div",20),p.TgZ(1,"perun-web-apps-groups-list",21),p.NdJ("page",function(e){return p.CHM(i),p.oxw().pageChanged(e)}),p.qZA(),p.qZA()}if(2&e){var a=p.oxw();p.xp6(1),p.Q6J("pageSize",a.pageSize)("disableRouting",!0)("displayedColumns",p.DdM(7,ae))("selection",a.selection)("filter",a.filterValue)("groups",a.groups)("disableMembers",!1)}}var se=function(){var e=function(){function e(t,a,n,s,o,l,c,d,p,h){var f=this;i(this,e),this.dialogRef=t,this.data=a,this.authzService=n,this.voService=s,this.groupService=o,this.translate=l,this.notificator=c,this.route=d,this.tableConfigService=p,this.router=h,this.searchString="",this.selection=new r.Ov(!0,[]),this.groups=[],this.vos=[],this.filterValue="",this.myControl=new g.NI,this.firstSearchDone=!1,this.tableId=u.kZ,l.get("DIALOGS.ADD_GROUPS.TITLE").subscribe(function(e){return f.title=e}),l.get("DIALOGS.ADD_GROUPS.SUCCESS").subscribe(function(e){return f.successMessage=e})}return n(e,[{key:"displayFn",value:function(e){return e?e.name:null}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.authzService.setRoleWithGroupComplementaryObject({role:this.selectedRole,authorizedGroups:this.selection.selected.map(function(e){return e.id}),complementaryObject:this.data.complementaryObject}).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close()},function(){return e.loading=!1})}},{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.availableRoles=this.data.availableRoles,this.selectedRole=this.data.selectedRole,this.theme=this.data.theme,this.voService.getMyVos().subscribe(function(t){e.filteredOptions=e.myControl.valueChanges.pipe((0,H.O)(""),(0,B.U)(function(t){return e._filter(t)})),e.vos=t,e.loading=!1},function(){return e.loading=!1})}},{key:"_filter",value:function(e){var t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(function(e){return e.name.toLowerCase().includes(t)})}},{key:"showVoGroups",value:function(e){var t=this;this.loading=!0,this.groupService.getAllGroups(e.option.value.id).subscribe(function(e){t.groups=e,t.loading=!1,t.firstSearchDone=!0},function(){return t.loading=!1})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"applyFilter",value:function(e){this.filterValue=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Y36(o.so),p.Y36(o.WI),p.Y36(c.Ct),p.Y36(c.YF),p.Y36(c.ff),p.Y36(h.sK),p.Y36(l.V6),p.Y36(f.gz),p.Y36(u.dB),p.Y36(f.F0))},e.\u0275cmp=p.Xpm({type:e,selectors:[["app-add-group-manager-dialog"]],decls:33,vars:33,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"inline-dialog-items"],[1,"mr-2"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],[3,"placeholder","filter",4,"ngIf"],[1,"overflow-hidden"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"pageSize","disableRouting","displayedColumns","selection","filter","groups","disableMembers","page"]],template:function(e,t){if(1&e&&(p.TgZ(0,"div"),p.TgZ(1,"h1",0),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",1),p.TgZ(5,"div",2),p.TgZ(6,"mat-form-field",3),p.TgZ(7,"mat-label"),p._uU(8),p.ALo(9,"translate"),p.qZA(),p.TgZ(10,"mat-select",4),p.NdJ("valueChange",function(e){return t.selectedRole=e}),p.YNc(11,K,3,4,"mat-option",5),p.qZA(),p.qZA(),p.TgZ(12,"mat-form-field",6),p.TgZ(13,"mat-label"),p._uU(14),p.ALo(15,"translate"),p.qZA(),p._UZ(16,"input",7),p.ALo(17,"translate"),p.TgZ(18,"mat-autocomplete",8,9),p.NdJ("optionSelected",function(e){return t.showVoGroups(e)}),p.YNc(20,ee,2,2,"mat-option",5),p.ALo(21,"async"),p.qZA(),p.qZA(),p.qZA(),p.YNc(22,te,2,3,"perun-web-apps-debounce-filter",10),p.TgZ(23,"div",11),p.YNc(24,ie,1,0,"mat-spinner",12),p.qZA(),p.YNc(25,ne,2,8,"div",13),p.qZA(),p.TgZ(26,"div",14),p.TgZ(27,"button",15),p.NdJ("click",function(){return t.onCancel()}),p._uU(28),p.ALo(29,"translate"),p.qZA(),p.TgZ(30,"button",16),p.NdJ("click",function(){return t.onSubmit()}),p._uU(31),p.ALo(32,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e){var i=p.MAs(19);p.Tol(t.theme),p.xp6(2),p.Oqu(p.lcZ(3,19,"DIALOGS.ADD_GROUPS.TITLE")),p.xp6(6),p.Oqu(p.lcZ(9,21,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",t.selectedRole),p.xp6(1),p.Q6J("ngForOf",t.availableRoles),p.xp6(3),p.Oqu(p.lcZ(15,23,"DIALOGS.ADD_GROUPS.SELECT_VO")),p.xp6(2),p.s9C("placeholder",p.lcZ(17,25,"DIALOGS.ADD_GROUPS.SELECT_VO")),p.Q6J("formControl",t.myControl)("matAutocomplete",i),p.xp6(2),p.Q6J("displayWith",t.displayFn),p.xp6(2),p.Q6J("ngForOf",p.lcZ(21,27,t.filteredOptions)),p.xp6(2),p.Q6J("ngIf",null!==t.groups&&t.groups.length>0&&!t.loading),p.xp6(2),p.Q6J("ngIf",t.loading),p.xp6(1),p.Q6J("ngIf",null!==t.groups&&!t.loading),p.xp6(3),p.hij(" ",p.lcZ(29,29,"DIALOGS.ADD_MANAGERS.CANCEL")," "),p.xp6(2),p.Q6J("disabled",0===t.selection.selected.length||t.loading),p.xp6(1),p.hij(" ",p.lcZ(32,31,"DIALOGS.ADD_MANAGERS.CREATE")," ")}},directives:[o.uh,o.xY,m.KE,m.hX,v.gD,A.sg,S.Nt,g.Fj,$.ZL,g.JJ,g.oH,$.XC,A.O5,o.H8,b.lW,R.ey,X.P,E.$g,W.W],pipes:[h.X$,A.Ov,I],styles:[""]}),e}(),re=s(84140),oe=s(55109),le=s(59403);function ce(e,t){1&e&&(p._uU(0),p.ALo(1,"translate")),2&e&&p.hij(" ",p.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.USER")," ")}function ue(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",11),p.NdJ("refresh",function(){return p.CHM(i),p.oxw(2).refreshUsers()}),p.qZA()}}function de(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).addManager()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function ge(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",13),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).removeManager()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("disabled",0===a.selectionUsers.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function pe(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function he(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"mat-form-field",14),p.TgZ(1,"mat-label"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-select",15),p.NdJ("valueChange",function(e){return p.CHM(i),p.oxw(2).selectedRole=e})("selectionChange",function(){return p.CHM(i),p.oxw(2).refreshUsers()}),p.YNc(5,pe,3,4,"mat-option",16),p.qZA(),p.qZA()}if(2&e){var a=p.oxw(2);p.xp6(2),p.Oqu(p.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",a.selectedRole),p.xp6(1),p.Q6J("ngForOf",a.availableRoles)}}function fe(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var me=function(){return["select","id","name","email","logins","organization"]},ve=function(){return["id","name","email","logins","organization"]};function Ae(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"app-users-list",20),p.NdJ("page",function(e){return p.CHM(i),p.oxw(3).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(3);p.Q6J("pageSize",a.pageSize)("users",a.managers)("disableRouting",!a.routeAuth)("displayedColumns",a.manageAuth?p.DdM(5,me):p.DdM(6,ve))("selection",a.selectionUsers)}}function Se(e,t){if(1&e&&(p.TgZ(0,"div"),p.YNc(1,Ae,1,7,"app-users-list",19),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.Q6J("ngIf",i.managers)}}function be(e,t){if(1&e&&(p.YNc(0,ue,1,0,"perun-web-apps-refresh-button",5),p.YNc(1,de,3,3,"button",6),p.YNc(2,ge,3,4,"button",7),p.YNc(3,he,6,5,"mat-form-field",8),p.YNc(4,fe,1,0,"mat-spinner",9),p.YNc(5,Se,2,1,"div",10)),2&e){var i=p.oxw();p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading)}}function Re(e,t){1&e&&(p._uU(0),p.ALo(1,"translate")),2&e&&p.hij(" ",p.lcZ(1,1,"SHARED.COMPONENTS.MANAGERS_PAGE.GROUP")," ")}function Ee(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-refresh-button",11),p.NdJ("refresh",function(){return p.CHM(i),p.oxw(2).refreshGroups()}),p.qZA()}}function Ze(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",12),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).addGroup()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.ADD")," "))}function Te(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"button",13),p.NdJ("click",function(){return p.CHM(i),p.oxw(2).removeGroup()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&e){var a=p.oxw(2);p.Q6J("disabled",0===a.selectionGroups.selected.length),p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.REMOVE")," ")}}function Ie(e,t){if(1&e&&(p.TgZ(0,"mat-option",17),p._uU(1),p.ALo(2,"displayedRole"),p.qZA()),2&e){var i=t.$implicit;p.Q6J("value",i),p.xp6(1),p.Oqu(p.lcZ(2,2,i))}}function Ce(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"mat-form-field",14),p.TgZ(1,"mat-label"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"mat-select",15),p.NdJ("valueChange",function(e){return p.CHM(i),p.oxw(2).selectedRole=e})("selectionChange",function(){return p.CHM(i),p.oxw(2).refreshGroups()}),p.YNc(5,Ie,3,4,"mat-option",16),p.qZA(),p.qZA()}if(2&e){var a=p.oxw(2);p.xp6(2),p.Oqu(p.lcZ(3,3,"SHARED.COMPONENTS.MANAGERS_PAGE.SELECT_ROLE")),p.xp6(2),p.Q6J("value",a.selectedRole),p.xp6(1),p.Q6J("ngForOf",a.availableRoles)}}function Oe(e,t){1&e&&p._UZ(0,"mat-spinner",18)}var _e=function(){return["select","id","vo","name","description"]},ye=function(){return["id","vo","name","description"]};function xe(e,t){if(1&e){var i=p.EpF();p.TgZ(0,"perun-web-apps-groups-list",22),p.NdJ("page",function(e){return p.CHM(i),p.oxw(3).pageChanged(e)}),p.qZA()}if(2&e){var a=p.oxw(3);p.Q6J("pageSize",a.pageSize)("displayedColumns",a.manageAuth?p.DdM(5,_e):p.DdM(6,ye))("groups",a.groups)("selection",a.selectionGroups)("disableMembers",!1)}}function Ne(e,t){if(1&e&&(p.TgZ(0,"div"),p.YNc(1,xe,1,7,"perun-web-apps-groups-list",21),p.qZA()),2&e){var i=p.oxw(2);p.xp6(1),p.Q6J("ngIf",i.groups)}}function De(e,t){if(1&e&&(p.YNc(0,Ee,1,0,"perun-web-apps-refresh-button",5),p.YNc(1,Ze,3,3,"button",6),p.YNc(2,Te,3,4,"button",7),p.YNc(3,Ce,6,5,"mat-form-field",8),p.YNc(4,Oe,1,0,"mat-spinner",9),p.YNc(5,Ne,2,1,"div",10)),2&e){var i=p.oxw();p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading&&i.manageAuth),p.xp6(1),p.Q6J("ngIf",!i.loading),p.xp6(1),p.Q6J("ngIf",i.loading),p.xp6(1),p.Q6J("ngIf",!i.loading)}}function we(e,t){1&e&&(p.TgZ(0,"app-alert",23),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED.COMPONENTS.MANAGERS_PAGE.NO_AVAILABLE_ROLES"),"\n"))}var Ue=function(){var t=function(){function t(e,a,n,s,o){i(this,t),this.dialog=e,this.tableConfigService=a,this.authzService=n,this.storeService=s,this.guiAuthResolver=o,this.groups=null,this.managers=null,this.selectionUsers=new r.Ov(!0,[]),this.selectionGroups=new r.Ov(!0,[]),this.selectedMode="",this.loading=!1,this.tableId=u.HC,this.availableRolesPrivileges=new Map}return n(t,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.guiAuthResolver.getRolesAuthorization(this.availableRoles,this.complementaryObject,this.availableRolesPrivileges),this.availableRoles=this.availableRoles.filter(function(t){return e.availableRolesPrivileges.get(t).readAuth}),0!==this.availableRoles.length&&(this.selectedRole=this.availableRoles[0]),this.routeAuth=this.guiAuthResolver.isPerunAdminOrObserver(),this.refreshUsers()}},{key:"changeRolePrivileges",value:function(){this.manageAuth=this.availableRolesPrivileges.get(this.selectedRole).manageAuth,this.roleModes=this.availableRolesPrivileges.get(this.selectedRole).modes;var t,i=!1,a=e(this.roleModes);try{for(a.s();!(t=a.n()).done;){var n=t.value;if(this.selectedMode===n.toLowerCase()){i=!0;break}}}catch(s){a.e(s)}finally{a.f()}i||(this.selectedMode=this.roleModes[0].toLowerCase())}},{key:"tabChanged",value:function(e){this.loading=!0,0===e.index?(this.selectedMode="user",this.refreshUsers()):(this.selectedMode="group",this.refreshGroups())}},{key:"refreshUsers",value:function(){var e=this;this.loading=!0,this.changeRolePrivileges();var t=[d.r.USER_DEF_ORGANIZATION,d.r.USER_DEF_PREFERRED_MAIL];t=t.concat(this.storeService.getLoginAttributeNames()),this.authzService.getAuthzRichAdmins(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType,t,!1,!0).subscribe(function(t){e.managers=t,e.selectionUsers.clear(),e.loading=!1},function(){e.loading=!1})}},{key:"refreshGroups",value:function(){var e=this;this.loading=!0,this.changeRolePrivileges(),this.authzService.getAuthzAdminGroups(this.selectedRole,this.complementaryObject.id,this.complementaryObjectType).subscribe(function(t){e.groups=t,e.selectionGroups.clear(),e.loading=!1},function(){e.loading=!1})}},{key:"addManager",value:function(){var e=this,t=(0,re.kZ)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,theme:this.theme,availableRoles:this.availableRoles,selectedRole:this.selectedRole},this.dialog.open(D,t).afterClosed().subscribe(function(t){t&&e.refreshUsers()})}},{key:"removeManager",value:function(){var e=this,t=(0,re.kZ)();t.width="450px",t.data={managers:this.selectionUsers.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(q,t).afterClosed().subscribe(function(t){t&&e.refreshUsers()})}},{key:"removeGroup",value:function(){var e=this,t=(0,re.kZ)();t.width="450px",t.data={groups:this.selectionGroups.selected,complementaryObject:this.complementaryObject,role:this.selectedRole,theme:this.theme},this.dialog.open(j,t).afterClosed().subscribe(function(t){t&&e.refreshGroups()})}},{key:"addGroup",value:function(){var e=this,t=(0,re.kZ)();t.width="1000px",t.data={complementaryObject:this.complementaryObject,availableRoles:this.availableRoles,theme:this.theme,selectedRole:this.selectedRole},this.dialog.open(se,t).afterClosed().subscribe(function(t){t&&e.refreshGroups()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(p.Y36(o.uw),p.Y36(u.dB),p.Y36(c.Ct),p.Y36(l.d6),p.Y36(l.x4))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-managers-page"]],hostVars:2,hostBindings:function(e,t){2&e&&p.ekj("router-component",t.true)},inputs:{complementaryObject:"complementaryObject",availableRoles:"availableRoles",complementaryObjectType:"complementaryObjectType",theme:"theme"},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"selectedTabChange"],["matTabLabel",""],["matTabContent",""],["alert_type","warn",4,"ngIf"],["class","mt-2",3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 mt-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2 mt-2",3,"disabled","click",4,"ngIf"],["class","mr-2 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"mt-2",3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2","mt-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2","mt-2",3,"disabled","click"],[1,"mr-2","mt-2"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page",4,"ngIf"],[3,"pageSize","users","disableRouting","displayedColumns","selection","page"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page",4,"ngIf"],[3,"pageSize","displayedColumns","groups","selection","disableMembers","page"],["alert_type","warn"]],template:function(e,t){1&e&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"mat-tab-group",1),p.NdJ("selectedTabChange",function(e){return t.tabChanged(e)}),p.TgZ(4,"mat-tab"),p.YNc(5,ce,2,3,"ng-template",2),p.YNc(6,be,6,6,"ng-template",3),p.qZA(),p.TgZ(7,"mat-tab"),p.YNc(8,Re,2,3,"ng-template",2),p.YNc(9,De,6,6,"ng-template",3),p.qZA(),p.qZA(),p.YNc(10,we,3,3,"app-alert",4)),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,2,"SHARED.COMPONENTS.MANAGERS_PAGE.TITLE"),"\n"),p.xp6(9),p.Q6J("ngIf",0===t.availableRoles.length))},directives:[oe.SP,oe.uX,oe.uD,oe.Vc,A.O5,le.t,b.lW,m.KE,m.hX,v.gD,A.sg,R.ey,E.$g,T.C,W.W,Z.w],pipes:[h.X$,I],styles:[""]}),t}()},4196:function(e,t,a){"use strict";a.d(t,{o:function(){return Y}});var s=a(31572),r=a(58623),o=a(67033),l=a(4230),c=a(88426),u=a(33642),d=a(84140),g=a(48160),p=a(82819),h=a(61511),f=a(29236),m=a(66283),v=a(80340),A=a(16073),S=a(15980),b=a(36922),R=a(43691),E=a(39571);function Z(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"th",14),s.TgZ(1,"mat-checkbox",15),s.NdJ("change",function(e){s.CHM(i);var t=s.oxw();return e?t.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){var a=s.oxw();s.xp6(1),s.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function T(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"td",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){var t=s.CHM(i).$implicit,a=s.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){var a=t.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function I(e,t){1&e&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_ID")))}function C(e,t){if(1&e&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.id)}}function O(e,t){1&e&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.TAG_NAME")))}function _(e,t){if(1&e&&(s.TgZ(0,"div"),s._uU(1),s.qZA()),2&e){var i=s.oxw().$implicit;s.xp6(1),s.hij(" ",i.tagName," ")}}function y(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-form-field"),s.TgZ(2,"input",21),s.NdJ("ngModelChange",function(e){return s.CHM(i),s.oxw().$implicit.tagName=e}),s.qZA(),s.qZA(),s.qZA()}if(2&e){var a=s.oxw().$implicit;s.xp6(2),s.Q6J("ngModel",a.tagName)}}function x(e,t){if(1&e&&(s.TgZ(0,"td",19),s.YNc(1,_,2,1,"div",20),s.YNc(2,y,3,1,"div",20),s.qZA()),2&e){var i=t.$implicit,a=s.oxw();s.xp6(1),s.Q6J("ngIf",!a.isChanging.isSelected(i)),s.xp6(1),s.Q6J("ngIf",a.isChanging.isSelected(i))}}function N(e,t){1&e&&s._UZ(0,"th",14)}function D(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(i);var e=s.oxw().$implicit;return s.oxw().edit(e)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"edit"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.EDIT_BUTTON"))}function w(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(i);var e=s.oxw().$implicit;return s.oxw().save(e)}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"save"),s.qZA(),s.qZA()}2&e&&s.s9C("matTooltip",s.lcZ(1,1,"VO_DETAIL.RESOURCES.TAGS.SAVE_BUTTON"))}function U(e,t){if(1&e&&(s.TgZ(0,"td",19),s.TgZ(1,"div",22),s.YNc(2,D,4,3,"button",23),s.YNc(3,w,4,3,"button",23),s.qZA(),s.qZA()),2&e){var i=t.$implicit,a=s.oxw();s.xp6(2),s.Q6J("ngIf",!a.isChanging.isSelected(i)),s.xp6(1),s.Q6J("ngIf",a.isChanging.isSelected(i))}}function L(e,t){1&e&&s._UZ(0,"tr",25)}function k(e,t){1&e&&s._UZ(0,"tr",26)}function M(e,t){if(1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"translate"),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.hij(" ","vo"===i.entity?s.lcZ(2,1,"VO_DETAIL.RESOURCES.TAGS.NO_TAGS"):s.lcZ(3,3,"RESOURCE_DETAIL.TAGS.NO_TAGS"),"\n")}}function G(e,t){1&e&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var Y=function(){var e=function(){function e(t,a,n,r,o){i(this,e),this.resourceManager=t,this.notificator=a,this.translator=n,this.authResolver=r,this.tableCheckbox=o,this.resourceTags=[],this.selection=new l.Ov(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","edit"],this.page=new s.vpe,this.isChanging=new l.Ov(!0,[]),this.pageSizeOptions=d.f7}return n(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new o.by(this.resourceTags),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.tagName;default:return""}}},{key:"exportData",value:function(e){(0,d.O6)((0,d.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,d.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,d.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"save",value:function(e){var t=this;this.resourceManager.updateResourceTag({resourceTag:e}).subscribe(function(){t.translator.get("SHARED.COMPONENTS.RESOURCES_TAGS_LIST.EDIT_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.isChanging.deselect(e)})}},{key:"edit",value:function(e){this.isChanging.select(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(u.xk),s.Y36(c.V6),s.Y36(g.sK),s.Y36(c.x4),s.Y36(c.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-resources-tags-list"]],viewQuery:function(e,t){var i;(1&e&&(s.Gf(r.YE,7),s.Gf(d.l9,7)),2&e)&&(s.iGM(i=s.CRH())&&(t.matSort=i.first),s.iGM(i=s.CRH())&&(t.child=i.first))},inputs:{resourceTags:"resourceTags",filterValue:"filterValue",selection:"selection",pageSize:"pageSize",displayedColumns:"displayedColumns",entity:"entity"},outputs:{page:"page"},features:[s.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","edit"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf"],["matInput","",3,"ngModel","ngModelChange"],[1,"d-flex","justify-content-end"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,Z,2,3,"th",4),s.YNc(5,T,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,I,3,3,"th",7),s.YNc(8,C,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,O,3,3,"th",4),s.YNc(11,x,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,N,1,0,"th",4),s.YNc(14,U,4,2,"td",9),s.BQk(),s.YNc(15,L,1,0,"tr",11),s.YNc(16,k,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(17,M,4,5,"app-alert",13),s.YNc(18,G,3,3,"app-alert",13)),2&e&&(s.Q6J("hidden",0===t.resourceTags.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.resourceTags.length),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resourceTags.length))},directives:[p.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,f.oG,o.ev,r.nU,m.KE,v.Nt,A.Fj,A.JJ,A.On,S.lW,b.gM,R.Hw,o.XQ,o.Gk,E.w],pipes:[g.X$],styles:[""]}),e}()},91721:function(e,t,a){"use strict";a.d(t,{Q:function(){return Y}});var s=a(31572),r=a(58623),o=a(67033),l=a(4230),c=a(84140),u=a(88426),d=a(82819),g=a(61511),p=a(29236),h=a(43691),f=a(36922),m=a(84534),v=a(57629),A=a(39571),S=a(48160);function b(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"th",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){s.CHM(i);var t=s.oxw();return e?t.masterToggle():null}),s.qZA(),s.qZA()}if(2&e){var a=s.oxw();s.xp6(1),s.Q6J("aria-label",a.checkboxLabel())("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected())}}function R(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"td",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){var t=s.CHM(i).$implicit,a=s.oxw();return e?a.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),s.qZA(),s.qZA()}if(2&e){var a=t.$implicit,n=s.oxw();s.xp6(1),s.Q6J("aria-label",n.checkboxLabel(a))("checked",n.selection.isSelected(a))}}function E(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")))}function Z(e,t){if(1&e&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.id)}}function T(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")))}function I(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.name)}}function C(e,t){1&e&&s._UZ(0,"th",16)}function O(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," check_circle_outline "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function _(e,t){1&e&&(s.TgZ(0,"mat-icon",23),s.ALo(1,"translate"),s._uU(2," block "),s.qZA()),2&e&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function y(e,t){if(1&e&&(s.TgZ(0,"td",21),s.YNc(1,O,3,3,"mat-icon",22),s.YNc(2,_,3,3,"mat-icon",22),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Q6J("ngIf",i.enabled),s.xp6(1),s.Q6J("ngIf",!i.enabled)}}function x(e,t){1&e&&(s.TgZ(0,"th",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")))}function N(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.script)}}function D(e,t){1&e&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")))}function w(e,t){if(1&e&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.Oqu(i.description)}}function U(e,t){1&e&&s._UZ(0,"tr",24)}var L=function(e){return["/admin/services",e]};function k(e,t){if(1&e&&s._UZ(0,"tr",25),2&e){var i=t.$implicit,a=s.oxw();s.ekj("cursor-pointer",!a.disableRouting)("disable-outline",a.disableRouting),s.Q6J("perunWebAppsMiddleClickRouterLink",a.disableRouting?null:s.VKq(6,L,i.id))("routerLink",a.disableRouting?null:s.VKq(8,L,i.id))}}function M(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function G(e,t){1&e&&(s.TgZ(0,"app-alert",26),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}var Y=function(){var e=function(){function e(t,a){i(this,e),this.authResolver=t,this.tableCheckbox=a,this.services=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new l.Ov(!0,[]),this.disableRouting=!1,this.page=new s.vpe,this.pageSizeOptions=c.f7}return n(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new o.by(this.services),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"enabled":return e.enabled?"true":"false";case"script":return e.script;case"description":return e.description;default:return""}}},{key:"exportData",value:function(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,c.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,c.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(u.x4),s.Y36(u.UA))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-services-list"]],viewQuery:function(e,t){var i;(1&e&&(s.Gf(r.YE,7),s.Gf(c.l9,7)),2&e)&&(s.iGM(i=s.CRH())&&(t.matSort=i.first),s.iGM(i=s.CRH())&&(t.child=i.first))},inputs:{services:"services",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{page:"page"},features:[s.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","enabled"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,b,2,3,"th",4),s.YNc(5,R,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,E,3,3,"th",7),s.YNc(8,Z,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,T,3,3,"th",7),s.YNc(11,I,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,C,1,0,"th",4),s.YNc(14,y,3,2,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,x,3,3,"th",4),s.YNc(17,N,2,1,"td",9),s.BQk(),s.ynx(18,12),s.YNc(19,D,3,3,"th",7),s.YNc(20,w,2,1,"td",9),s.BQk(),s.YNc(21,U,1,0,"tr",13),s.YNc(22,k,1,10,"tr",14),s.qZA(),s.qZA(),s.qZA(),s.YNc(23,M,3,3,"app-alert",15),s.YNc(24,G,3,3,"app-alert",15)),2&e&&(s.Q6J("hidden",void 0===t.services||0===t.services.length||0===t.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(19),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.filteredData.length&&void 0!==t.services&&0!==t.services.length),s.xp6(1),s.Q6J("ngIf",void 0===t.services||0===t.services.length))},directives:[d.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,g.O5,o.ge,p.oG,o.ev,r.nU,h.Hw,f.gM,o.XQ,o.Gk,m.YH,v.rH,A.w],pipes:[S.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e}()}}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/901-es2015.5b604fcd09c050f65159.js b/dist/apps/admin-gui/901-es2015.888dd3ad307f2e618d50.js similarity index 100% rename from dist/apps/admin-gui/901-es2015.5b604fcd09c050f65159.js rename to dist/apps/admin-gui/901-es2015.888dd3ad307f2e618d50.js diff --git a/dist/apps/admin-gui/901-es5.5b604fcd09c050f65159.js b/dist/apps/admin-gui/901-es5.888dd3ad307f2e618d50.js similarity index 100% rename from dist/apps/admin-gui/901-es5.5b604fcd09c050f65159.js rename to dist/apps/admin-gui/901-es5.888dd3ad307f2e618d50.js diff --git a/dist/apps/admin-gui/assets/config/defaultConfig.json b/dist/apps/admin-gui/assets/config/defaultConfig.json index 0700d9c2b..705a88c7c 100644 --- a/dist/apps/admin-gui/assets/config/defaultConfig.json +++ b/dist/apps/admin-gui/assets/config/defaultConfig.json @@ -1,12 +1,12 @@ { "config": "default", "api_url": "https://perun-dev.cesnet.cz/oauth/rpc/", - "isInstanceFaviconContained": false, + "instance_favicon": false, "document_title": "Perun Web Gui", - "supportedLanguages": [ + "supported_languages": [ "en" ], - "isDevel": false, + "is_devel": false, "display_warning": false, "warning_message": "BETA version of new Perun GUI. It doesn’t contain all functionality. Please report any issues to support mail below.", "auto_auth_redirect": true, @@ -46,8 +46,8 @@ ], "pwd_reset_base_url": "https://perun-dev.cesnet.cz/fed/pwd-reset/", "skip_oidc": false, - "groupNameSecondaryRegex": "^[-a-zA-Z.0-9_ ]+$", - "groupNameErrorMessage": "Name cannot be empty and can contain only characters a-z, A-Z, numbers, spaces, dots, '_' and '-'", + "group_name_secondary_regex": "^[-a-zA-Z.0-9_ ]+$", + "group_name_error_message": "Name cannot be empty and can contain only characters a-z, A-Z, numbers, spaces, dots, '_' and '-'", "footer": { "columns": [ { @@ -109,12 +109,10 @@ }, "log_out_enabled": true, "profile_label_en": "Profile", - "logo_padding": "16px 8px", "logo": "image/svg+xml\n\n\t.st0{fill:#FFFFFF;}\n\n\n\n\t\n\t\n\n", "theme": { "content_bg_color": "", - "backButtonColor": "#000000", - + "back_button_color": "#000000", "nav_bg_color": "#102027", "nav_text_color": "#ffffff", "nav_icon_color": "#ffffff", diff --git a/dist/apps/admin-gui/assets/config/version.json b/dist/apps/admin-gui/assets/config/version.json index b0616139c..a1ac22091 100644 --- a/dist/apps/admin-gui/assets/config/version.json +++ b/dist/apps/admin-gui/assets/config/version.json @@ -1 +1 @@ -{"version":"2.0.0"} +{"version":"3.0.0"} diff --git a/dist/apps/admin-gui/assets/i18n/en.json b/dist/apps/admin-gui/assets/i18n/en.json index 363d97bd3..c3f9b5f67 100644 --- a/dist/apps/admin-gui/assets/i18n/en.json +++ b/dist/apps/admin-gui/assets/i18n/en.json @@ -551,6 +551,8 @@ "DATE": "Date", "VALUE_BY_EXTERNALS": "Value provided by external source.", "VERIFY": "Verify", + "DELETE_APPLICATION_TITLE": "Delete application", + "DELETE_APPLICATION_DESCRIPTION": "Application with following ID will be deleted.", "DELETE_MESSAGE": "Application was deleted", "APPROVE_MESSAGE": "Application was approved", "VERIFY_MESSAGE": "Application was verified" @@ -755,6 +757,10 @@ }, "SERVICE_DETAIL": { "ENTITY": "Service", + "STATUS": "Status", + "STATUS_CHANGE_SUCCESS": "Service status was successfully changed", + "ENABLED": "Enabled", + "DISABLED": "Disabled", "DESCRIPTION": "Description", "REQUIRED_ATTRIBUTES": { "TITLE": "Required attributes", @@ -1423,10 +1429,13 @@ }, "ASSIGN_SERVICE_TO_RESOURCE": { "TITLE": "Assign service", + "SELECT_PACKAGE": "Select service package", + "SELECT_SERVICE": "Select individual services", "FILTER_DESCRIPTION": "Find service", "ADD_BUTTON": "Add", "CANCEL_BUTTON": "Cancel", - "SUCCESS_MESSAGE": "Selected services were assigned to resource" + "SERVICE_SUCCESS_MESSAGE": "Selected services were assigned to resource", + "PACKAGE_SUCCESS_MESSAGE": "Selected service package was assigned to resource" }, "REMOVE_SERVICE_FROM_RESOURCE": { "TITLE": "Confirm removal", @@ -2347,7 +2356,20 @@ "SIGN_IN": "Sign in", "TEXT": "You must sign in to continue." }, + "LOGIN_SERVICE_ACCESS": { + "LABEL": "Sign in", + "USERNAME": "Username:", + "USERNAME_ERROR": "Username cannot be empty", + "PASSWORD": "Password:", + "PASSWORD_ERROR": "Password cannot be empty", + "SIGN_IN": "Sign in", + "WRONG_LOGIN_OR_PASSWORD": "Wrong username or password. Please try it again." + }, "COMPONENTS": { + "UNIVERSAL_CONFIRMATION_DIALOG": { + "CANCEL_BUTTON": "Cancel", + "SUBMIT_BUTTON": "Ok" + }, "GROUPS_LIST": { "TABLE_GROUP_ID": "Id", "TABLE_VO_NAME": "Organization", @@ -2381,6 +2403,11 @@ "FIND_VO": "Find organization...", "NO_VO_FOUND": "No matching vo found" }, + "SERVICE_PACKAGE_SEARCH_SELECT": { + "SELECT_PACKAGE": "Select service package", + "FIND_PACKAGE": "Find service package...", + "NO_PACKAGE_FOUND": "No matching service package found" + }, "RESOURCES_LIST": { "TITLE": "Resources", "DELETE": "Remove selected", @@ -2441,7 +2468,8 @@ "VALUE": "Value", "DESCRIPTION": "Description", "DISABLED_HINT": "You don't have permission to change this attribute.", - "EMPTY": "No settings found. Use 'Add' button to add new setting.", + "EMPTY_ATTRIBUTES": "No attributes found.", + "EMPTY_SETTINGS": "No settings found. Use 'Add' button to add new setting.", "CHECKBOX_TOOLTIP": "You don't have privileges to edit this attribute" }, "USER_DONT_EXIST": { diff --git a/dist/apps/admin-gui/index.html b/dist/apps/admin-gui/index.html index c4eafe17d..b45ca0a1f 100644 --- a/dist/apps/admin-gui/index.html +++ b/dist/apps/admin-gui/index.html @@ -6,25 +6,13 @@ - - + + -
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
- + diff --git a/dist/apps/admin-gui/main-es2015.af0cb7e3f45c254d3a3f.js b/dist/apps/admin-gui/main-es2015.af0cb7e3f45c254d3a3f.js deleted file mode 100644 index a8b03276d..000000000 --- a/dist/apps/admin-gui/main-es2015.af0cb7e3f45c254d3a3f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[179],{27622:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=27622,t.exports=e},71313:function(t,e,i){"use strict";i.d(e,{t:function(){return C}});var n=i(33642),s=i(60611),o=i(67004),r=i(88426),a=i(16073),c=i(31572),u=i(66283),l=i(80340),h=i(15980),d=i(43691),p=i(61511),g=i(67806),f=i(86593),m=i(39571),b=i(48160);function w(t,e){1&t&&c._UZ(0,"mat-spinner",8)}const _=function(){return["user","id","name","email","logins","organization"]};function y(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-users-list",11),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).pageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.pageSize)("displayedColumns",c.DdM(3,_))("users",t.users)}}function A(t,e){1&t&&(c.TgZ(0,"app-alert",12),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&t&&(c.Q6J("alert_type","info"),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ADMIN.USERS.SEARCH_INFO")," "))}function v(t,e){1&t&&(c.TgZ(0,"app-alert",12),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&t&&(c.Q6J("alert_type","warn"),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ADMIN.USERS.NO_USERS_FOUND")," "))}function T(t,e){if(1&t&&(c.TgZ(0,"div"),c.YNc(1,y,1,4,"app-users-list",9),c.YNc(2,A,3,4,"app-alert",10),c.YNc(3,v,3,4,"app-alert",10),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",void 0!==t.users&&t.users.length>0),c.xp6(1),c.Q6J("ngIf",!t.firstSearchDone),c.xp6(1),c.Q6J("ngIf",t.firstSearchDone&&0===t.users.length)}}let C=(()=>{class t{constructor(t,e,i){this.usersService=t,this.storeService=e,this.tableConfigService=i,this.loading=!1,this.firstSearchDone=!1,this.tableId=s.xx,this.attributes=[]}ngOnInit(){this.searchControl=new a.NI("",[a.kI.required,a.kI.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(){this.searchControl.invalid?this.searchControl.markAllAsTouched():(this.loading=!0,this.firstSearchDone=!0,this.usersService.findRichUsersWithAttributes(this.searchControl.value,this.attributes).subscribe(t=>{this.users=t,this.loading=!1},()=>{this.loading=!1}))}onKeyInput(t){"Enter"===t.key&&this.onSearchByString()}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}findUsersWithoutVO(){this.loading=!0,this.firstSearchDone=!0,this.usersService.getRichUsersWithoutVoWithAttributes(this.attributes).subscribe(t=>{this.users=t,this.loading=!1},()=>this.loading=!1)}}return t.id="AdminUsersComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(n.Fv),c.Y36(r.d6),c.Y36(s.dB))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:18,vars:17,consts:[[3,"keyup"],[1,"page-subtitle"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","users","page",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"pageSize","displayedColumns","users","page"],[3,"alert_type"]],template:function(t,e){1&t&&(c.TgZ(0,"div",0),c.NdJ("keyup",function(t){return e.onKeyInput(t)}),c.TgZ(1,"h1",1),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"mat-form-field",2),c._UZ(5,"input",3),c.ALo(6,"translate"),c.TgZ(7,"mat-error"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"button",4),c.NdJ("click",function(){return e.onSearchByString()}),c.TgZ(11,"mat-icon"),c._uU(12,"search"),c.qZA(),c.qZA(),c.TgZ(13,"button",5),c.NdJ("click",function(){return e.findUsersWithoutVO()}),c._uU(14),c.ALo(15,"translate"),c.qZA(),c.YNc(16,w,1,0,"mat-spinner",6),c.YNc(17,T,4,3,"div",7),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"ADMIN.USERS.TITLE")),c.xp6(3),c.s9C("placeholder",c.lcZ(6,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),c.Q6J("formControl",e.searchControl),c.xp6(3),c.hij(" ",c.lcZ(9,13,"ADMIN.USERS.EMPTY_SEARCH")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(3),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(15,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[u.KE,l.Nt,a.Fj,a.JJ,a.oH,u.TO,h.lW,d.Hw,p.O5,g.$g,f.C,m.w],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),t})()},61601:function(t,e,i){"use strict";i.d(e,{y:function(){return T}});var n=i(88426),s=i(38289),o=i(29063),r=i(84140),a=i(31572),c=i(84608),u=i(15980),l=i(48160);let h=(()=>{class t{constructor(t){this.dialogRef=t}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(c.so))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div",2),a.TgZ(5,"p"),a._uU(6),a.ALo(7,"translate"),a.qZA(),a.qZA(),a.TgZ(8,"div",3),a.TgZ(9,"button",4),a.NdJ("click",function(){return e.onClose()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"button",5),a.NdJ("click",function(){return e.onReload()}),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),a.xp6(5),a.hij(" ",a.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),a.xp6(4),a.hij(" ",a.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),a.xp6(3),a.hij(" ",a.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[c.uh,c.xY,c.H8,u.lW],pipes:[l.X$],styles:[""]}),t})();var d=i(57629),p=i(43835);let g=(()=>{class t{constructor(t,e){this.router=t,this.routeReuseStrategy=e;const i=e;t.events.subscribe(t=>{t instanceof d.OD&&i.setLastNavigationType("popstate"===t.navigationTrigger?"back":"direct")})}init(){}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(d.F0),a.LFG(d.wN))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function f(t,e){if(1&t&&(a.TgZ(0,"div",3),a.TgZ(1,"mat-icon"),a._uU(2,"alert"),a.qZA(),a._uU(3),a.qZA()),2&t){const t=a.oxw();a.xp6(3),a.hij(" ",t.warningMessage,"\n")}}const m=function(t,e){return{top:t,background:e}},b=function(t,e){return{"margin-top":t,"min-height":e}},w=function(t){return{"border-color":t}},_=function(t){return{background:t}},y=function(t,e){return{"min-height":t,"background-color":e}};function A(t,e){if(1&t&&(a._UZ(0,"app-perun-nav-menu",4),a.TgZ(1,"mat-sidenav-container",5),a.TgZ(2,"mat-sidenav",6,7),a.TgZ(4,"perfect-scrollbar",8),a._UZ(5,"app-side-menu",9),a.qZA(),a.qZA(),a.TgZ(6,"mat-sidenav-content",10),a.TgZ(7,"div",11),a._UZ(8,"router-outlet"),a.qZA(),a.TgZ(9,"div",12),a._UZ(10,"perun-web-apps-footer"),a.qZA(),a.qZA(),a.qZA()),2&t){const t=a.MAs(3),e=a.oxw();a.Q6J("ngStyle",a.WLB(13,m,e.getNavMenuTop(),e.navBackgroundColor))("sideNav",t)("principal",e.principal),a.xp6(1),a.Q6J("ngStyle",a.WLB(16,b,e.getSideNavMarginTop(),e.getSideNavMinHeight())),a.xp6(1),a.Q6J("ngStyle",a.VKq(19,w,e.sideBarBorderColor))("mode",e.sidebarMode)("opened",!e.isMobile())("fixedInViewport",!0)("fixedTopGap",e.getTopGap()),a.xp6(2),a.Q6J("ngStyle",a.VKq(21,_,e.sideMenubackgroundColor))("scrollIndicators",!0),a.xp6(1),a.Q6J("sideNav",t),a.xp6(1),a.Q6J("ngStyle",a.WLB(23,y,e.getContentInnerMinHeight(),e.contentBackgroundColor))}}function v(t,e){1&t&&a._UZ(0,"perun-web-apps-login-screen-base",13),2&t&&a.Q6J("application","admin-gui")}let T=(()=>{class t{constructor(t,e,n,s,o,r){this.cache=t,this.store=e,this.http=n,this.dialog=s,this.router=o,this.initAuth=r,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=i(60306).i8,this.cache.init(),this.getScreenSize()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}isMobile(){return window.innerWidth<=t.minWidth}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),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,s.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,p.h)(t=>t instanceof d.OD)).subscribe(t=>{this.updateInitAccessedPage(t)})}updateInitAccessedPage(t){t.url===sessionStorage.getItem("initPage")?("imperative"===t.navigationTrigger&&t.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===t.navigationTrigger&&(t.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(t.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const t=new o.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:t}).subscribe(t=>{const e=t.version;if(e)if(this.version&&"SNAPSHOT"!==e&&this.version!==e){const t=(0,r.kZ)();this.dialog.open(h,t)}else this.version=e},()=>{})}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"}getContentInnerMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(a.Y36(g),a.Y36(n.d6),a.Y36(o.eN),a.Y36(c.uw),a.Y36(d.F0),a.Y36(n.v0))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&a.NdJ("resize",function(t){return e.getScreenSize(t)},!1,a.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application"]],template:function(t,e){1&t&&(a.YNc(0,f,4,1,"div",0),a._UZ(1,"perun-web-apps-notificator",1),a.YNc(2,A,11,26,"ng-template",2),a.YNc(3,v,1,1,"ng-template",2)),2&t&&(a.Q6J("ngIf",e.displayWarning),a.xp6(1),a.Q6J("displayWarning",e.displayWarning),a.xp6(1),a.Q6J("ngIf",!e.isLoginScreenShow),a.xp6(1),a.Q6J("ngIf",e.isLoginScreenShow))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width:768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.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}"]}),t})()},48958:function(t,e,i){"use strict";i.d(e,{D:function(){return s}});var n=i(31572);let s=(()=>{class t{constructor(){this.accessItemsChange=new n.vpe,this.facilityItemsChange=new n.vpe,this.adminItemsChange=new n.vpe,this.userItemsChange=new n.vpe,this.resetChange=new n.vpe,this.homeItemsChange=new n.vpe}setHomeItems(t){this.homeItemsChange.emit(t)}setAccessMenuItems(t){this.accessItemsChange.emit(t)}setFacilityMenuItems(t){this.facilityItemsChange.emit(t)}setAdminItems(t){this.adminItemsChange.emit(t)}setUserItems(t){this.userItemsChange.emit(t)}reset(){this.resetChange.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},39124:function(t,e,i){"use strict";i.d(e,{o:function(){return T}});var n=i(33642),s=i(60611),o=i(88426),r=i(31572),a=i(57629),c=i(59403),u=i(66283),l=i(4786),h=i(71522),d=i(61511),p=i(19139),g=i(67806),f=i(78364),m=i(39571),b=i(48160);function w(t,e){if(1&t&&(r.TgZ(0,"mat-option",9),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t.id),r.xp6(1),r.hij(" ",t.name," ")}}function _(t,e){1&t&&r._UZ(0,"mat-spinner",10)}const y=function(){return["id","vo","name","description"]};function A(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-groups-list",11),r.NdJ("page",function(e){return r.CHM(t),r.oxw().pageChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("pageSize",t.pageSize)("displayedColumns",r.DdM(6,y))("groups",t.groupsToShow)("groupsToDisable",t.groupsWithoutRouteAuth)("filter",t.filterValue)("disableMembers",!1)}}function v(t,e){1&t&&(r.TgZ(0,"app-alert",12),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_GROUPS.NO_GROUPS_ALERT")," "))}let T=(()=>{class t{constructor(t,e,i,n){this.facilityManager=t,this.route=e,this.tableConfigService=i,this.authResolver=n,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=s.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilityManager.getAllowedVos(this.facilityId).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.filterValue="",this.vos.forEach(t=>{this.facilityManager.getAllowedGroups(this.facilityId,t.id).subscribe(e=>{this.groups=this.groups.concat(e),this.groupsToShow=this.groups,this.setAuthRights(t,e),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(t,e){e.forEach(e=>{this.authResolver.isAuthorized("getGroupById_int_policy",[t,e])||this.groupsWithoutRouteAuth.add(e.id)})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilityAllowedGroupsComponent",t.\u0275fac=function(e){return new(e||t)(r.Y36(n.IQ),r.Y36(a.gz),r.Y36(s.dB),r.Y36(o.x4))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("router-component",e.true)},inputs:{groups:"groups"},decls:18,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"perun-web-apps-refresh-button",1),r.NdJ("refresh",function(){return e.refreshTable()}),r.qZA(),r.TgZ(5,"mat-form-field"),r.TgZ(6,"mat-label"),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"mat-select",2),r.NdJ("valueChange",function(t){return e.selected=t})("selectionChange",function(){return e.showGroup()}),r.TgZ(10,"mat-option",3),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,w,2,2,"mat-option",4),r.qZA(),r.qZA(),r.TgZ(14,"perun-web-apps-immediate-filter",5),r.NdJ("filter",function(t){return e.applyFilter(t)}),r.qZA(),r.YNc(15,_,1,0,"mat-spinner",6),r.YNc(16,A,1,7,"perun-web-apps-groups-list",7),r.YNc(17,v,3,3,"app-alert",8),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,9,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),r.xp6(5),r.Oqu(r.lcZ(8,11,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),r.xp6(2),r.Q6J("value",e.selected),r.xp6(2),r.Oqu(r.lcZ(12,13,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),r.xp6(2),r.Q6J("ngForOf",e.vos),r.xp6(1),r.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),r.xp6(1),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading&&0!==e.groupsToShow.length),r.xp6(1),r.Q6J("ngIf",0===e.groupsToShow.length&&!e.loading))},directives:[c.t,u.KE,u.hX,l.gD,h.ey,d.sg,p.L,d.O5,g.$g,f.W,m.w],pipes:[b.X$],styles:[""]}),t})()},64467:function(t,e,i){"use strict";i.d(e,{f:function(){return I}});var n=i(4230),s=i(95909),o=i(33642),r=i(16073),a=i(84608),c=i(88426),u=i(31572),l=i(48160),h=i(61511),d=i(15980),p=i(67806),g=i(19386),f=i(66283),m=i(80340);function b(t,e){1&t&&u._UZ(0,"mat-spinner",5)}function w(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",6),u.TgZ(1,"perun-web-apps-vo-search-select",7),u.NdJ("voSelected",function(e){return u.CHM(t),u.oxw().selectedVo=e}),u.qZA(),u.TgZ(2,"mat-form-field"),u._UZ(3,"input",8),u.ALo(4,"translate"),u.TgZ(5,"mat-error"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.qZA(),u.TgZ(8,"mat-form-field"),u._UZ(9,"input",8),u.ALo(10,"translate"),u.TgZ(11,"mat-error"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(1),u.Q6J("vos",t.vos),u.xp6(2),u.s9C("placeholder",u.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),u.Q6J("formControl",t.nameCtrl),u.xp6(3),u.hij(" ",u.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),u.xp6(3),u.s9C("placeholder",u.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),u.Q6J("formControl",t.descriptionCtrl),u.xp6(3),u.hij(" ",u.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let _=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.resourcesManager=o,this.vos=[],this.selectedVo=null,s.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(t=>{this.vos=t,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new r.NI(null,[r.kI.required,r.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new r.NI(null,[r.kI.required,r.kI.pattern(".*[\\S]+.*")])}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 t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(c.V6),u.Y36(o.YF),u.Y36(l.sK),u.Y36(o.xk))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"long-input",3,"vos","voSelected"],["matInput","","required","",3,"placeholder","formControl"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.YNc(1,b,1,0,"mat-spinner",0),u.YNc(2,w,14,15,"div",1),u.TgZ(3,"div",2),u.TgZ(4,"button",3),u.NdJ("click",function(){return e.onCancel()}),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"button",4),u.NdJ("click",function(){return e.onSubmit()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(3),u.Oqu(u.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),u.xp6(2),u.Q6J("disabled",e.nameCtrl.invalid||e.descriptionCtrl.invalid||null===e.selectedVo||e.loading),u.xp6(1),u.Oqu(u.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[h.O5,a.H8,d.lW,p.$g,a.xY,g.M,f.KE,m.Nt,r.Fj,r.Q7,r.JJ,r.oH,f.TO],pipes:[l.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),t})();var y=i(60611),A=i(84140),v=i(57629),T=i(59403),C=i(19139),S=i(88884);function E(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",7),u.NdJ("click",function(){return u.CHM(t),u.oxw().createResource()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function k(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(t),u.oxw().removeResource()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("disabled",0===t.selected.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function x(t,e){1&t&&u._UZ(0,"mat-spinner",9)}function R(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-resources-list",10),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("selection",t.selected)("disableRouting",!t.routeAuth)("displayedColumns",t.displayedColumns)}}let I=(()=>{class t{constructor(t,e,i,s,o){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=o,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=y.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}removeResource(){const t=(0,A.kZ)();t.width="450px",t.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(s.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(t=>{this.resources=t,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(t){this.filterValue=t}createResource(){const t=(0,A.kZ)();t.width="1350px",t.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(_,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilityResourcesComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(a.uw),u.Y36(o.IQ),u.Y36(y.dB),u.Y36(v.gz),u.Y36(c.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return e.refreshTable()}),u.qZA(),u.YNc(5,E,3,3,"button",2),u.YNc(6,k,3,4,"button",3),u.TgZ(7,"perun-web-apps-immediate-filter",4),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.qZA(),u.YNc(8,x,1,0,"mat-spinner",5),u.YNc(9,R,1,6,"perun-web-apps-resources-list",6),u.qZA()),2&t&&(u.xp6(2),u.Oqu(u.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),u.xp6(3),u.Q6J("ngIf",!e.loading&&e.addAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.removeAuth),u.xp6(1),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[T.t,h.O5,C.L,d.lW,p.$g,S.C],pipes:[l.X$],styles:[""]}),t})()},73916:function(t,e,i){"use strict";i.d(e,{P:function(){return z}});var n=i(33642),s=i(84140),o=i(60611),r=i(4230),a=i(84608),c=i(88426),u=i(16073),l=i(31572),h=i(48160),d=i(61511),p=i(15980),g=i(67806),f=i(66283),m=i(80340),b=i(4786),w=i(71522);function _(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function y(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"mat-option",13),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw(2).srcFacility=e}),l._uU(1),l.qZA()}if(2&t){const t=e.$implicit;l.Q6J("value",t),l.xp6(1),l.hij(" ",t.name," ")}}function A(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",7),l.TgZ(1,"mat-form-field"),l._UZ(2,"input",8),l.ALo(3,"translate"),l.TgZ(4,"mat-error"),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA(),l.TgZ(7,"mat-form-field"),l._UZ(8,"input",9),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"mat-form-field"),l.TgZ(11,"mat-select",10),l.ALo(12,"translate"),l.TgZ(13,"mat-option",11),l.NdJ("click",function(){return l.CHM(t),l.oxw().srcFacility=null}),l._uU(14),l.ALo(15,"translate"),l.qZA(),l.YNc(16,y,2,2,"mat-option",12),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(2),l.s9C("placeholder",l.lcZ(3,8,"DIALOGS.CREATE_FACILITY.NAME")),l.Q6J("formControl",t.nameControl),l.xp6(3),l.Oqu(l.lcZ(6,10,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),l.xp6(3),l.s9C("placeholder",l.lcZ(9,12,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),l.Q6J("formControl",t.descControl),l.xp6(3),l.s9C("placeholder",l.lcZ(12,14,"DIALOGS.CREATE_FACILITY.AS_COPY")),l.xp6(3),l.hij(" ",l.lcZ(15,16,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),l.xp6(2),l.Q6J("ngForOf",t.facilities)}}let v=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=n,this.translate=s,this.nameControl=new u.NI("",[u.kI.required]),this.descControl=new u.NI(""),this.srcFacility=null,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(t=>{this.facilities=t,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(t){this.facilitiesManager.copyAttributes(this.srcFacility.id,t).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,t).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,t).subscribe(()=>{this.handleSuccess()},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(){this.loading=!0,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(t=>{null!==this.srcFacility?this.copyFacilitySettings(t.id):this.handleSuccess()})}handleSuccess(){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(a.so),l.Y36(a.WI),l.Y36(n.IQ),l.Y36(c.V6),l.Y36(h.sK))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-create-facility-dialog"]],decls:13,vars:15,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,A,17,18,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onCreate()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.CREATE_FACILITY.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.Oqu(l.lcZ(9,11,"DIALOGS.CREATE_FACILITY.CANCEL")),l.xp6(2),l.Q6J("disabled",0===e.nameControl.value.trim().length||e.loading),l.xp6(1),l.Oqu(l.lcZ(12,13,"DIALOGS.CREATE_FACILITY.CREATE")))},directives:[d.O5,a.H8,p.lW,g.$g,a.xY,f.KE,m.Nt,u.Fj,u.Q7,u.JJ,u.oH,f.TO,b.gD,w.ey,d.sg],pipes:[h.X$],styles:[""]}),t})();var T=i(30570),C=i(48958),S=i(66297),E=i(43691),k=i(59403),x=i(19139),R=i(60007);function I(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(t),l.oxw().refreshTable()}),l.qZA()}}function O(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(t),l.oxw().onCreate()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"FACILITY_MANAGEMENT.CREATE")))}function P(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(t),l.oxw().onDelete()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("disabled",0===t.selection.selected.length),l.xp6(1),l.Oqu(l.lcZ(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function D(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(t),l.oxw().applyFilter(e)}),l.qZA()}2&t&&l.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function M(t,e){1&t&&l._UZ(0,"mat-spinner",13)}function L(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-facilities-list",14),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("selection",t.selection)("filterValue",t.filterValue)("facilities",t.facilities)("recentIds",t.recentIds)}}const N=function(){return{color:"black"}};let z=(()=>{class t{constructor(t,e,i,n){this.facilityManager=t,this.sideMenuService=e,this.tableConfigService=i,this.dialog=n,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=o.xt,this.selection=new r.Ov(!1,[])}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(t=>{this.selection.clear(),this.facilities=t,this.recentIds=(0,s.vL)("facilities"),this.loading=!1})}onCreate(){const t=(0,s.kZ)();t.width="800px",t.data={theme:"facility-theme"},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onDelete(){const t=(0,s.kZ)();t.width="500px",t.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(T.Y,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilitySelectPageComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(n.IQ),l.Y36(C.D),l.Y36(o.dB),l.Y36(a.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:12,vars:11,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",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","selection","filterValue","facilities","recentIds","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","selection","filterValue","facilities","recentIds","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,I,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,O,3,3,"button",4),l.YNc(8,P,3,4,"button",5),l.YNc(9,D,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,M,1,0,"mat-spinner",7),l.YNc(11,L,1,5,"perun-web-apps-facilities-list",8),l.qZA()),2&t&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,N)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"FACILITY_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[S.W,E.Hw,d.PC,d.O5,k.t,p.lW,x.L,g.$g,R.X],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},92438:function(t,e,i){"use strict";i.d(e,{J:function(){return y}});var n=i(84608),s=i(88426),o=i(33642),r=i(84140),a=i(16073),c=i(31572),u=i(48160),l=i(66283),h=i(80340),d=i(4786),p=i(61511),g=i(15980),f=i(71522);let m=(()=>{class t{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(t=>{this.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_HIDDEN").subscribe(t=>{this.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(t=>{this.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_SHOW").subscribe(t=>{this.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(t=>{this.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(t=>{this.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(t=>{this.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(t=>{this.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(t=>{this.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(t=>{this.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(t=>{this.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(t=>{this.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(t=>{this.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(t=>{this.returnData=t});break;default:return t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(u.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormWidgetDescription",type:t,pure:!0}),t})();var b=i(65050);function w(t,e){if(1&t&&(c.TgZ(0,"mat-option",9),c._uU(1),c.ALo(2,"applicationFormItemType"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function _(t,e){if(1&t&&(c.TgZ(0,"mat-option",9),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",t," ")}}let y=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.translateService=i,this.store=n,this.languages=this.store.get("supportedLanguages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","FROM_FEDERATION_HIDDEN","HTML_COMMENT","TEXTFIELD","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(t=>{this.nameCtrl=new a.NI("",[a.kI.required,a.kI.pattern(".*[\\S]+.*"),a.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(t);for(const e of this.data.applicationFormItems)this.items.push(e.shortname),e.type===o.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(t=>t!==o.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=t})}cancel(){this.dialogRef.close(!1)}submit(){const t=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,t])}createApplicationItem(){const t=(0,r.dv)(this.languages);t.id=this.data.fakeId,t.shortname=this.nameCtrl.value,t.type=this.selectedWidget;for(let e=0;e{class t{constructor(t){this.guiAuthResolver=t,this.pageSize=10,this.page=new l.vpe,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=c.f7,this.addAuth=!1}set matSort(t){this.sort=t,this.setDataSource()}getDataForColumn(t,e,i){var n,s;switch(e){case"status":return t.member&&null!==(n=t.member.status)&&void 0!==n?n:"";case"fullName":{const e=t.richUser?t.richUser:t.candidate;return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:""}case"voExtSource":return t.richUser?(0,c.OV)(t.richUser):(0,c.v$)(t.candidate);case"email":return t.richUser||t.member?(0,c.kN)(t.richUser):i.getEmail(t);case"logins":return i.getLogins(t);case"alreadyMember":return i.getAlreadyMember(t);case"local":return t.richUser?"Local":"External identity";default:return t[e]}}getExportDataForColumn(t,e,i){var n;switch(e){case"status":return t.member&&null!==(n=t.member.status)&&void 0!==n?n:"";case"fullName":return(0,c.bD)(t.richUser?t.richUser:t.candidate);case"voExtSource":return t.richUser?(0,c.OV)(t.richUser):(0,c.v$)(t.candidate);case"email":return t.richUser||t.member?(0,c.kN)(t.richUser):i.getEmail(t);case"logins":return i.getLogins(t);case"alreadyMember":return i.getAlreadyMember(t);case"local":return t.richUser?"Local":"External identity";default:return t[e]}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){null!=this.child&&this.child.paginator&&this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new d.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t)),this.setAddAuth()}getEmail(t){let e;if(t.richUser){for(const i of t.richUser.userAttributes)if(i.namespace+":"+i.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){e=i;break}return null!=e&&null!=e.value&&"null"!==e.value.toString().toLowerCase()?e.value.toString().replace(","," "):""}return(0,c.Jc)(t.candidate)}getOrganization(t){return(0,c.v$)(t)}getLogins(t){if(t.richUser)return this.getLoginsForRichUser(t.richUser);{let e=this.getLoginsForCandidate(t.candidate);return null!=e&&""!==e||(e=t.candidate.userExtSource.login),e}}getLoginsForRichUser(t){let e="";for(const i of t.userAttributes)i.friendlyName.startsWith("login-namespace")&&null!=i.value&&(e.length>0&&(e+=", "),e+=i.friendlyName.substring(16)+": "+i.value);return e}getLoginsForCandidate(t){let e="";for(const i in t.attributes)Object.prototype.hasOwnProperty.call(t.attributes,i)&&-1!==i.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=t.attributes[i]&&(e.length>0&&(e+=", "),e+=i.substring(49)+": "+t.attributes[i]);return e}getAlreadyMember(t){if("vo"===this.type){if(null!=t.member)return"Member of VO"}else{if(null!=t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType)return"Member of Group";if(null!=t.member&&0!==t.member.sourceGroupId&&"INDIRECT"===t.member.membershipType)return"Indirect member of Group";if(null!=t.member)return"Member of VO"}return""}isCheckboxDisabled(t){return"vo"===this.type?null!=t.member:!!t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(t){this.selection.toggle(t),this.setAddAuth()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(t,e){if(1&t&&(l.Gf(h.YE,5),l.Gf(c.l9,7)),2&t){let t;l.iGM(t=l.CRH())&&(e.matSort=t.first),l.iGM(t=l.CRH())&&(e.child=t.first)}},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[l.TTD],decls:29,vars:6,consts:[[1,"card","mt-2"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,v,1,0,"th",4),l.YNc(5,T,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,C,3,3,"th",7),l.YNc(8,E,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,k,3,3,"th",7),l.YNc(11,x,4,5,"td",8),l.BQk(),l.ynx(12,10),l.YNc(13,R,3,3,"th",7),l.YNc(14,I,3,3,"td",8),l.BQk(),l.ynx(15,11),l.YNc(16,O,3,3,"th",7),l.YNc(17,P,2,1,"td",8),l.BQk(),l.ynx(18,12),l.YNc(19,D,3,3,"th",7),l.YNc(20,M,2,1,"td",8),l.BQk(),l.ynx(21,13),l.YNc(22,L,3,3,"th",7),l.YNc(23,N,2,1,"td",8),l.BQk(),l.ynx(24,14),l.YNc(25,z,1,0,"th",7),l.YNc(26,F,2,1,"td",8),l.BQk(),l.YNc(27,Z,1,0,"tr",15),l.YNc(28,B,1,0,"tr",16),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.xp6(1),l.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),l.xp6(1),l.Q6J("dataSource",e.dataSource),l.xp6(25),l.Q6J("matHeaderRowDef",e.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",e.displayedColumns))},directives:[p.l,d.BZ,h.YE,d.w1,d.fO,d.Dz,d.as,d.nj,d.ge,d.ev,g.oG,h.nU,f.O5,m.gM,d.XQ,d.Gk],pipes:[b.X$,w.u,_.f,y.d,A.Z],styles:[""]}),t})();var U=i(16073),H=i(57629),j=i(66283),G=i(80340),Y=i(15980),V=i(67806),K=i(39571),J=i(8055);const $=["list"];function Q(t,e){1&t&&l._UZ(0,"mat-spinner",10)}function W(t,e){1&t&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function X(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"app-members-candidates-list",15,16),l.NdJ("page",function(e){return l.CHM(t),l.oxw(3).pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw(3);l.Q6J("group",t.data.group)("pageSize",t.pageSize)("selection",t.selection)("members",t.members)("type",t.data.type)}}function tt(t,e){if(1&t&&(l.TgZ(0,"div",11),l.YNc(1,W,3,3,"app-alert",12),l.YNc(2,X,2,5,"app-members-candidates-list",13),l.qZA()),2&t){const t=l.oxw(2);l.xp6(1),l.Q6J("ngIf",0===t.members.length&&t.firstSearchDone),l.xp6(1),l.Q6J("ngIf",0!==t.members.length)}}function et(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",4),l.TgZ(1,"mat-form-field",5),l.TgZ(2,"label"),l.TgZ(3,"input",6),l.NdJ("keyup.enter",function(){return l.CHM(t),l.oxw().onSearchByString()}),l.ALo(4,"translate"),l.qZA(),l.qZA(),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"button",7),l.NdJ("click",function(){return l.CHM(t),l.oxw().onSearchByString()}),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"div",8),l.YNc(12,Q,1,0,"mat-spinner",2),l.qZA(),l.YNc(13,tt,3,2,"div",9),l.qZA()}if(2&t){const t=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),l.Q6J("formControl",t.searchCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),l.xp6(2),l.Q6J("disabled",t.loading),l.xp6(1),l.hij(" ",l.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),l.xp6(3),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!!t.members&&!t.loading)}}function it(t,e){1&t&&l._UZ(0,"mat-spinner",10)}function nt(t,e){if(1&t&&(l.TgZ(0,"button",24),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t){l.oxw();const t=l.MAs(8),e=l.oxw();l.Q6J("disabled",0===e.selection.selected.length||e.loading)("matMenuTriggerFor",t),l.xp6(1),l.hij(" ",l.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function st(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw(2).onInvite(e)}),l._uU(1),l.ALo(2,"translate"),l.ALo(3,"uppercase"),l.qZA()}if(2&t){const t=e.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,l.lcZ(3,3,"SHARED_LIB.LANGUAGES."+t))," ")}}function ot(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",17),l.TgZ(1,"button",18),l.NdJ("click",function(){return l.CHM(t),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"span",19),l.ALo(5,"translate"),l.YNc(6,nt,3,5,"button",20),l.TgZ(7,"mat-menu",null,21),l.YNc(9,st,4,5,"button",22),l.qZA(),l.qZA(),l.TgZ(10,"button",23),l.NdJ("click",function(){return l.CHM(t),l.oxw().onAdd()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),l.Q6J("matTooltipDisabled",0===t.selection.selected.length||"group"!==t.data.type||void 0!==t.list&&t.list.addAuth),l.xp6(2),l.Q6J("ngIf","group"!==t.data.type||"group"===t.data.type&&t.inviteAuth),l.xp6(3),l.Q6J("ngForOf",t.languages),l.xp6(1),l.Q6J("disabled",0===t.selection.selected.length||t.loading||"group"===t.data.type&&void 0!==t.list&&!t.list.addAuth),l.xp6(1),l.hij(" ",l.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let rt=(()=>{class t{constructor(t,e,i,n,s,r,a,c,l,h,d,p,g){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.groupService=n,this.voService=s,this.registrarManager=r,this.translate=a,this.notificator=c,this.route=l,this.tableConfigService=h,this.router=d,this.guiAuthResolver=p,this.store=g,this.languages=["en"],this.selection=new o.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=u.tY,this.inviteAuth=!1,a.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(t=>this.title=t)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const t=this.selection.selected[0];"vo"===this.data.type?t.richUser?this.addUserToVo(t):this.addCandidateToVo(t):"group"===this.data.type&&(t.member?this.addMemberToGroup(t):t.richUser?this.addUserToGroup(t):t.candidate&&this.addCandidateToGroup(t))}onInvite(t){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,c.Jc)(this.selection.selected[0].candidate),t,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,c.Jc)(this.selection.selected[0].candidate),t,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[a.r.USER_DEF_ORGANIZATION,a.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[a.r.USER_DEF_ORGANIZATION,a.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supportedLanguages"),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new U.NI("",[U.kI.required,U.kI.pattern(".*[\\S]+.*")])}addUserToVo(t){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:t.richUser.id}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(t){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(t.candidate)}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(t){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:t.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(t){this.groupService.addMembers(this.data.entityId,[t.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(t){const e={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(t.candidate),groups:[e]}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}createCandidate(t){return{userExtSource:t.userExtSource,additionalUserExtSources:t.additionalUserExtSources,attributes:t.attributes,firstName:t.firstName,lastName:t.lastName,middleName:t.middleName,titleBefore:t.titleBefore,titleAfter:t.titleAfter,id:t.id}}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(n.so),l.Y36(n.WI),l.Y36(r.uq),l.Y36(r.ff),l.Y36(r.YF),l.Y36(r.tk),l.Y36(b.sK),l.Y36(s.V6),l.Y36(H.gz),l.Y36(u.dB),l.Y36(H.F0),l.Y36(s.x4),l.Y36(s.d6))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(t,e){if(1&t&&l.Gf($,5),2&t){let t;l.iGM(t=l.CRH())&&(e.list=t.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"group","pageSize","selection","members","type","page",4,"ngIf"],["alert_type","warn"],[3,"group","pageSize","selection","members","type","page"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,et,14,13,"div",1),l.YNc(5,it,1,0,"mat-spinner",2),l.YNc(6,ot,13,13,"div",3),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),l.xp6(2),l.Q6J("ngIf",!e.processing),l.xp6(1),l.Q6J("ngIf",e.processing),l.xp6(1),l.Q6J("ngIf",!e.processing))},directives:[n.uh,f.O5,n.xY,j.KE,G.Nt,U.Fj,U.JJ,U.oH,j.TO,Y.lW,V.$g,K.w,q,n.H8,m.gM,J.VK,f.sg,J.p6,J.OP],pipes:[b.X$,f.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t})()},68570:function(t,e,i){"use strict";i.d(e,{W:function(){return g}});var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),u=i(19386),l=i(37665),h=i(15980),d=i(67806);function p(t,e){1&t&&r._UZ(0,"mat-spinner",9)}let g=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.dialogRef=t,this.voService=e,this.groupService=i,this.translateService=n,this.registrarManager=s,this.notificatorService=o,this.apiRequest=r,this.data=a,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=t=>t.name,n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(t=>this.successMessage=t),n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(t=>this.privilegeMessage=t),n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(t=>this.noFormMessage=t)}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(t=>{this.vos=t.sort((t,e)=>t.name>e.name?1:t.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(t){this.selectedVo=t,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(t=>{this.groups=t}):this.groups=[],this.selectedGroup=null}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(s.YF),r.Y36(s.ff),r.Y36(a.sK),r.Y36(s.tk),r.Y36(o.V6),r.Y36(o.F5),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,p,1,0,"mat-spinner",1),r.TgZ(5,"div",2),r.TgZ(6,"div",3),r._uU(7),r.ALo(8,"translate"),r.qZA(),r._uU(9),r.ALo(10,"translate"),r.TgZ(11,"perun-web-apps-vo-search-select",4),r.NdJ("voSelected",function(t){return e.voSelected(t)}),r.qZA(),r._uU(12),r.ALo(13,"translate"),r.TgZ(14,"perun-web-apps-group-search-select",5),r.NdJ("groupSelected",function(t){return e.selectedGroup=t}),r.qZA(),r.qZA(),r.TgZ(15,"div",6),r.TgZ(16,"button",7),r.NdJ("click",function(){return e.cancel()}),r._uU(17),r.ALo(18,"translate"),r.qZA(),r.TgZ(19,"button",8),r.NdJ("click",function(){return e.submit()}),r._uU(20),r.ALo(21,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("hidden",e.loading),r.xp6(2),r.Oqu(r.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")),r.xp6(2),r.hij(" ",r.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),r.xp6(2),r.Q6J("vos",e.vos),r.xp6(1),r.hij(" ",r.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),r.xp6(2),r.Q6J("groups",e.groups)("disableAutoSelect",!0),r.xp6(3),r.hij(" ",r.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",!e.selectedVo&&!e.selectedGroup||e.loading),r.xp6(1),r.hij(" ",r.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[n.uh,c.O5,n.xY,u.M,l.h,n.H8,h.lW,d.$g],pipes:[a.X$],styles:[""]}),t})()},88419:function(t,e,i){"use strict";i.d(e,{y:function(){return y}});var n=i(84608),s=i(88426),o=i(33642),r=i(16073),a=i(31572),c=i(48160),u=i(61511),l=i(67806),h=i(66283),d=i(80340),p=i(15980),g=i(29236),f=i(37665);function m(t,e){1&t&&a._UZ(0,"mat-spinner",3)}function b(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-checkbox",13),a.NdJ("click",function(){return a.CHM(t),a.oxw(2).loadVoGroups()})("ngModelChange",function(e){return a.CHM(t),a.oxw(2).asSubgroup=e}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("labelPosition","before")("ngModel",t.asSubgroup),a.xp6(1),a.hij(" ",a.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function w(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"perun-web-apps-group-search-select",14),a.NdJ("groupSelected",function(e){return a.CHM(t),a.oxw(2).selectedParent=e}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("disableAutoSelect",!0)("groups",t.voGroups)}}function _(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",4),a.TgZ(2,"mat-form-field"),a.TgZ(3,"label",5),a._UZ(4,"input",6),a.ALo(5,"translate"),a.qZA(),a.TgZ(6,"mat-error"),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.qZA(),a.TgZ(9,"mat-form-field",7),a.TgZ(10,"label",5),a._UZ(11,"textarea",6),a.ALo(12,"translate"),a.qZA(),a.TgZ(13,"mat-error"),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA(),a.YNc(16,b,3,5,"mat-checkbox",8),a.YNc(17,w,1,2,"perun-web-apps-group-search-select",9),a.qZA(),a.TgZ(18,"div",10),a.TgZ(19,"button",11),a.NdJ("click",function(){return a.CHM(t),a.oxw().onCancel()}),a._uU(20),a.ALo(21,"translate"),a.qZA(),a.TgZ(22,"button",12),a.NdJ("click",function(){return a.CHM(t),a.oxw().onSubmit()}),a._uU(23),a.ALo(24,"translate"),a.qZA(),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(4),a.s9C("placeholder",a.lcZ(5,11,"DIALOGS.CREATE_GROUP.NAME")),a.Q6J("formControl",t.nameControl),a.xp6(3),a.hij(" ",t.invalidNameMessage.length?t.invalidNameMessage:a.lcZ(8,13,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),a.xp6(4),a.s9C("placeholder",a.lcZ(12,15,"DIALOGS.CREATE_GROUP.DESCRIPTION")),a.Q6J("formControl",t.descriptionControl),a.xp6(3),a.hij(" ",a.lcZ(15,17,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),a.xp6(2),a.Q6J("ngIf",t.isNotSubGroup),a.xp6(1),a.Q6J("ngIf",t.asSubgroup),a.xp6(3),a.hij(" ",a.lcZ(21,19,"DIALOGS.CREATE_GROUP.CANCEL")," "),a.xp6(2),a.Q6J("disabled",t.nameControl.invalid||t.descriptionControl.invalid||t.asSubgroup&&null===t.selectedParent||t.loading),a.xp6(1),a.hij(" ",a.lcZ(24,21,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let y=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.groupService=i,this.translate=n,this.notificator=s,this.store=o,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("groupNameErrorMessage"),this.secondaryRegex=this.store.get("groupNameSecondaryRegex"),this.voGroups=[],this.nameFunction=t=>t.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?n.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(t=>this.title=t):n.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(t=>{this.title=t+this.data.parentGroup.name}),n.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(t=>this.successMessage=t),n.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(t=>this.successSubGroupMessage=t)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new r.NI("",[r.kI.required,r.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),r.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new r.NI("",[r.kI.required,r.kI.maxLength(129)]),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(t=>"members"!==t.name)})}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.ff),a.Y36(c.sK),a.Y36(s.V6),a.Y36(s.d6))},t.\u0275cmp=a.Xpm({type:t,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","","required","",3,"formControl","placeholder"],[1,"mt-4"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div"),a.YNc(3,m,1,0,"mat-spinner",1),a.YNc(4,_,25,23,"div",2),a.qZA()),2&t&&(a.xp6(1),a.Oqu(e.title),a.xp6(1),a.Tol(e.theme),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,n.xY,h.KE,d.Nt,r.Fj,r.Q7,r.JJ,r.oH,h.TO,n.H8,p.lW,g.oG,r.On,f.h],pipes:[c.X$],styles:[""]}),t})()},20247:function(t,e,i){"use strict";i.d(e,{e:function(){return O}});var n=i(31572),s=i(16073),o=i(67033),r=i(61511),a=i(84608),c=i(15980),u=i(43691),l=i(85250),h=i(39571),d=i(66283),p=i(80340),g=i(48160);function f(t,e){if(1&t&&(n.TgZ(0,"div",14),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"translate"),n.TgZ(4,"span",15),n._uU(5),n.ALo(6,"translate"),n.qZA(),n._uU(7),n.ALo(8,"translate"),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.lnq(" ",n.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",n.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",t.entityType," "),n.xp6(4),n.Oqu(n.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),n.xp6(2),n.AsE(" ",t.entityType," ",n.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function m(t,e){if(1&t&&(n.TgZ(0,"div",14),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.AsE(" ",n.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",t.entityType," ? ")}}function b(t,e){1&t&&n._UZ(0,"th",16)}function w(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.name," ")}}function _(t,e){1&t&&n._UZ(0,"tr",18)}function y(t,e){1&t&&n._UZ(0,"tr",19)}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",12),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).force=!0}),n.TgZ(1,"mat-icon"),n._uU(2,"warning"),n.qZA(),n._uU(3),n.ALo(4,"translate"),n.ALo(5,"translate"),n.qZA()}2&t&&(n.xp6(3),n.AsE(" ",n.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const v=function(){return["name"]};function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",2),n.YNc(5,f,9,14,"div",3),n.YNc(6,m,3,4,"div",3),n.TgZ(7,"table",4),n.ynx(8,5),n.YNc(9,b,1,0,"th",6),n.YNc(10,w,2,1,"td",7),n.BQk(),n.YNc(11,_,1,0,"tr",8),n.YNc(12,y,1,0,"tr",9),n.qZA(),n.qZA(),n.TgZ(13,"div",10),n.TgZ(14,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw().onCancel()}),n._uU(15),n.ALo(16,"translate"),n.qZA(),n.TgZ(17,"button",12),n.NdJ("click",function(){return n.CHM(t),n.oxw().onDelete()}),n._uU(18),n.ALo(19,"translate"),n.qZA(),n.YNc(20,A,6,6,"button",13),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(2),n.AsE("",n.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType,""),n.xp6(3),n.Q6J("ngIf",!t.disableForce),n.xp6(1),n.Q6J("ngIf",t.disableForce),n.xp6(1),n.Q6J("dataSource",t.entityNames),n.xp6(4),n.Q6J("matHeaderRowDef",n.DdM(16,v)),n.xp6(1),n.Q6J("matRowDefColumns",n.DdM(17,v)),n.xp6(3),n.hij(" ",n.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.xp6(3),n.hij(" ",n.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),n.xp6(2),n.Q6J("ngIf",!t.disableForce)}}function C(t,e){if(1&t&&(n.TgZ(0,"mat-list-item"),n.TgZ(1,"span"),n.TgZ(2,"mat-icon",24),n._uU(3,"fiber_manual_record"),n.qZA(),n._uU(4),n.qZA(),n.qZA()),2&t){const t=e.$implicit;n.xp6(4),n.hij(" ",t," ")}}function S(t,e){if(1&t&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.anotherMessage," ")}}function E(t,e){1&t&&n._UZ(0,"th",16)}function k(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.name," ")}}function x(t,e){1&t&&n._UZ(0,"tr",18)}function R(t,e){1&t&&n._UZ(0,"tr",19)}function I(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"div",2),n.TgZ(6,"div",14),n._uU(7),n.ALo(8,"translate"),n.TgZ(9,"mat-list"),n.YNc(10,C,5,1,"mat-list-item",20),n.qZA(),n.YNc(11,S,2,1,"div",0),n.TgZ(12,"app-alert",21),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"table",4),n.ynx(16,5),n.YNc(17,E,1,0,"th",6),n.YNc(18,k,2,1,"td",7),n.BQk(),n.YNc(19,x,1,0,"tr",8),n.YNc(20,R,1,0,"tr",9),n.qZA(),n.qZA(),n.TgZ(21,"mat-form-field"),n._UZ(22,"input",22),n.ALo(23,"translate"),n.qZA(),n.qZA(),n.TgZ(24,"div",10),n.TgZ(25,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw().onCancel()}),n._uU(26),n.ALo(27,"translate"),n.qZA(),n.TgZ(28,"button",23),n.NdJ("click",function(){return n.CHM(t),n.oxw().onDelete()}),n.TgZ(29,"mat-icon"),n._uU(30,"warning"),n.qZA(),n._uU(31),n.ALo(32,"translate"),n.ALo(33,"translate"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(2),n.lnq("",n.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType," ",n.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS"),""),n.xp6(5),n.hij(" ",n.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),n.xp6(3),n.Q6J("ngForOf",t.relations),n.xp6(1),n.Q6J("ngIf",t.anotherMessage),n.xp6(2),n.AsE(" ",n.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",t.entityType," ? "),n.xp6(2),n.Q6J("dataSource",t.entityNames),n.xp6(4),n.Q6J("matHeaderRowDef",n.DdM(33,v)),n.xp6(1),n.Q6J("matRowDefColumns",n.DdM(34,v)),n.xp6(2),n.s9C("placeholder",n.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),n.Q6J("formControl",t.deleteControl),n.xp6(4),n.hij(" ",n.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.xp6(2),n.Q6J("disabled",t.deleteControl.invalid),n.xp6(3),n.AsE(" ",n.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let O=(()=>{class t{constructor(){this.entityNames=new o.by,this.relations=[],this.disableForce=!1,this.deleted=new n.vpe,this.loading=!1,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new s.NI("",[s.kI.required,s.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce"},outputs:{deleted:"deleted"},decls:2,vars:2,consts:[[4,"ngIf"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn",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",""],[4,"ngFor","ngForOf"],["alert_type","warn"],["matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(t,e){1&t&&(n.YNc(0,T,21,18,"div",0),n.YNc(1,I,34,35,"div",0)),2&t&&(n.Q6J("ngIf",!e.force),n.xp6(1),n.Q6J("ngIf",e.force))},directives:[r.O5,a.uh,a.xY,o.BZ,o.w1,o.fO,o.Dz,o.as,o.nj,a.H8,c.lW,o.ge,o.ev,o.XQ,o.Gk,u.Hw,l.i$,r.sg,h.w,d.KE,p.Nt,s.Fj,s.JJ,s.oH,l.Tg],pipes:[g.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),t})()},30570:function(t,e,i){"use strict";i.d(e,{Y:function(){return l}});var n=i(33642),s=i(84608),o=i(88426),r=i(67033),a=i(31572),c=i(48160),u=i(20247);let l=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=n,this.translate=s,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new r.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(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(s.so),a.Y36(s.WI),a.Y36(n.IQ),a.Y36(o.V6),a.Y36(c.sK))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-delete-facility-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","facilities")("relations",e.relations))},directives:[u.e],styles:[""]}),t})()},43491:function(t,e,i){"use strict";i.d(e,{P:function(){return l}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),u=i(20247);let l=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.groupService=s,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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,this.groupService.deleteGroups(this.data.groups.map(t=>t.id),this.force).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(t){this.force=t.force,t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(c.sK),a.Y36(r.ff))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-delete-group-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","groups")("relations",e.relations))},directives:[u.e],styles:[""]}),t})()},75954:function(t,e,i){"use strict";i.d(e,{_:function(){return it}});var n=i(84608),s=i(33642),o=i(84140),r=i(41939),a=i(88426),c=i(31572),u=i(48160),l=i(61511),h=i(15980),d=i(67806),p=i(55109);const g=["*"];let f=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:g,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(t,e){1&t&&(c.F$t(),c.TgZ(0,"div",0),c.TgZ(1,"span",1),c._uU(2),c.qZA(),c.TgZ(3,"div",2),c.Hsn(4),c.qZA(),c.qZA(),c.TgZ(5,"div",3),c._UZ(6,"span",4),c.TgZ(7,"div",5),c._uU(8),c.qZA(),c.qZA()),2&t&&(c.xp6(2),c.hij("",e.label,":"),c.xp6(6),c.hij(" ",e.description," "))},styles:[""]}),t})();var m=i(66283),b=i(80340),w=i(16073),_=i(29236),y=i(4786),A=i(71522),v=i(30725),T=i(10901),C=i(36922),S=i(43691),E=i(65050);let k=(()=>{class t{constructor(t){this.translateService=t}transform(t){switch(t){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+t);default:return t}}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(u.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormItemDisabled",type:t,pure:!0}),t})(),x=(()=>{class t{constructor(t){this.translateService=t}transform(t){switch(t){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+t);default:return t}}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(u.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormItemHidden",type:t,pure:!0}),t})();function R(t,e){1&t&&c._UZ(0,"mat-spinner",7)}function I(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"section"),c.TgZ(5,"mat-checkbox",21),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(3).applicationFormItem.updatable=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(3);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.updatable)}}function O(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function P(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function D(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function M(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",12),c.TgZ(1,"mat-form-field",12),c.TgZ(2,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(3).applicationFormItem.federationAttribute=e}),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(3);c.xp6(2),c.Q6J("ngModel",t.applicationFormItem.federationAttribute)}}function L(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"section"),c.TgZ(5,"mat-checkbox",21),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.required=e}),c.qZA(),c.qZA(),c.qZA(),c.YNc(6,I,6,7,"div",16),c.TgZ(7,"app-edit-application-form-item-line",11),c.ALo(8,"translate"),c.ALo(9,"translate"),c.TgZ(10,"mat-form-field",12),c.TgZ(11,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.perunSourceAttribute=e}),c.YNc(12,O,2,2,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(13,"app-edit-application-form-item-line",11),c.ALo(14,"translate"),c.ALo(15,"translate"),c.TgZ(16,"mat-form-field",12),c.TgZ(17,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.perunDestinationAttribute=e}),c.YNc(18,P,2,2,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(19,"app-edit-application-form-item-line",11),c.ALo(20,"translate"),c.ALo(21,"translate"),c.TgZ(22,"mat-form-field",12),c.TgZ(23,"mat-select",22),c.NdJ("selectionChange",function(){return c.CHM(t),c.oxw(2).federationAttributeschanged()})("valueChange",function(e){return c.CHM(t),c.oxw(2).federationAttribute=e}),c.YNc(24,D,2,2,"mat-option",18),c.qZA(),c.qZA(),c.YNc(25,M,3,1,"div",23),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",c.lcZ(3,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.required),c.xp6(1),c.Q6J("ngIf",t.typesWithUpdatable.indexOf(t.applicationFormItem.type)>-1),c.xp6(1),c.Q6J("label",c.lcZ(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",c.lcZ(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.perunSourceAttribute),c.xp6(1),c.Q6J("ngForOf",t.sourceAttributes),c.xp6(1),c.Q6J("label",c.lcZ(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",c.lcZ(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.perunDestinationAttribute),c.xp6(1),c.Q6J("ngForOf",t.destinationAttributes),c.xp6(1),c.Q6J("label",c.lcZ(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",c.lcZ(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.federationAttribute),c.xp6(1),c.Q6J("ngForOf",t.federationAttributes),c.xp6(1),c.Q6J("ngIf","custom"===t.federationAttribute)}}function N(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.regex=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.regex)}}function z(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemDisabled"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function F(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(t),c.oxw(3).disabledDependencyItem=e}),c.qZA()}if(2&t){const t=c.oxw(3);c.Q6J("item",t.disabledDependencyItem)("items",t.possibleDependencyItems)}}function Z(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.disabled=e}),c.YNc(6,z,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(7,"app-edit-application-form-item-line",11),c.ALo(8,"translate"),c.ALo(9,"translate"),c.TgZ(10,"div",12),c.YNc(11,F,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",c.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.disabled),c.xp6(1),c.Q6J("ngForOf",t.disabledValues),c.xp6(1),c.Q6J("label",c.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",c.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==t.disabledDependencyItem)}}function B(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemHidden"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function q(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(t),c.oxw(2).hiddenDependencyItem=e}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("item",t.hiddenDependencyItem)("items",t.possibleDependencyItems)}}function U(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",26),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),c.xp6(4),c.Q6J("cdkTextareaAutosize",!0)("ngModel",e.applicationFormItem.i18n[t].label)}}function H(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(6,"app-edit-application-form-item-line",11),c.ALo(7,"translate"),c.ALo(8,"translate"),c.TgZ(9,"mat-form-field",12),c.TgZ(10,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].help=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(11,"app-edit-application-form-item-line",11),c.ALo(12,"translate"),c.ALo(13,"translate"),c.TgZ(14,"mat-form-field",12),c.TgZ(15,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].errorMessage=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].label),c.xp6(1),c.Q6J("label",c.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",c.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].help),c.xp6(1),c.Q6J("label",c.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",c.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].errorMessage)}}function j(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].label)}}function G(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.TgZ(3,"mat-form-field"),c.TgZ(4,"input",13),c.NdJ("ngModelChange",function(t){return e.$implicit[0]=t}),c.qZA(),c.qZA(),c._uU(5),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field"),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(t){return e.$implicit[1]=t}),c.qZA(),c.qZA(),c.TgZ(9,"button",35),c.NdJ("click",function(){const e=c.CHM(t).$implicit,i=c.oxw(2).$implicit;return c.oxw(2).removeOption(e,i)}),c.ALo(10,"translate"),c.TgZ(11,"mat-icon"),c._uU(12,"clear"),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",c.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),c.xp6(3),c.Q6J("ngModel",t[0]),c.xp6(1),c.hij(" ",c.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),c.xp6(3),c.Q6J("ngModel",t[1]),c.xp6(1),c.s9C("matTooltip",c.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Y(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",27),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",28),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"div",29),c.TgZ(8,"button",30),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).sortOptionsAZ(e)}),c.TgZ(9,"i",31),c._uU(10,"arrow_downward"),c.qZA(),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.TgZ(13,"button",32),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).sortOptionsZA(e)}),c.TgZ(14,"i",31),c._uU(15,"arrow_upward"),c.qZA(),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.qZA(),c.YNc(18,G,13,11,"div",33),c.TgZ(19,"button",34),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).addOption(e)}),c._uU(20),c.ALo(21,"translate"),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(2),c.hij("",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),c.xp6(3),c.hij(" ",c.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),c.xp6(6),c.hij(" ",c.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),c.xp6(5),c.hij(" ",c.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),c.xp6(2),c.Q6J("ngForOf",e.options[t]),c.xp6(2),c.hij(" ",c.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const V=function(){return["HEADING","HTML_COMMENT"]},K=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},J=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},$=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function Q(t,e){if(1&t&&(c.TgZ(0,"mat-tab",10),c.ALo(1,"translate"),c.ALo(2,"uppercase"),c.YNc(3,U,6,8,"div",16),c.YNc(4,H,16,21,"div",16),c.YNc(5,j,6,7,"div",16),c.YNc(6,Y,22,16,"div",16),c.qZA()),2&t){const t=e.$implicit,i=c.oxw(2);c.s9C("label",c.lcZ(1,5,c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+t))),c.xp6(3),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(9,V))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(10,K))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(11,J))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(12,$)))}}const W=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},X=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function tt(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",8),c.TgZ(1,"mat-tab-group",9),c.TgZ(2,"mat-tab",10),c.ALo(3,"translate"),c.TgZ(4,"app-edit-application-form-item-line",11),c.ALo(5,"translate"),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field",12),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw().applicationFormItem.shortname=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(9,"app-edit-application-form-item-line",11),c.ALo(10,"translate"),c.ALo(11,"translate"),c._uU(12),c.ALo(13,"applicationFormItemType"),c.qZA(),c.TgZ(14,"app-edit-application-form-item-line",11),c.ALo(15,"translate"),c.ALo(16,"translate"),c.TgZ(17,"section"),c.TgZ(18,"mat-checkbox",14),c.NdJ("change",function(){return c.CHM(t),c.oxw().onChangingType("INITIAL")}),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-checkbox",15),c.NdJ("change",function(){return c.CHM(t),c.oxw().onChangingType("EXTENSION")}),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(24,L,26,33,"div",16),c.YNc(25,N,6,7,"div",16),c.YNc(26,Z,12,15,"div",16),c.TgZ(27,"app-edit-application-form-item-line",11),c.ALo(28,"translate"),c.ALo(29,"translate"),c.TgZ(30,"mat-form-field",12),c.TgZ(31,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw().applicationFormItem.hidden=e}),c.YNc(32,B,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(33,"app-edit-application-form-item-line",11),c.ALo(34,"translate"),c.ALo(35,"translate"),c.TgZ(36,"div",12),c.YNc(37,q,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA(),c.YNc(38,Q,7,13,"mat-tab",20),c.qZA(),c.qZA()}if(2&t){const t=c.oxw();c.xp6(2),c.s9C("label",c.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),c.xp6(2),c.Q6J("label",c.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",c.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.shortname),c.xp6(1),c.Q6J("label",c.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",c.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),c.xp6(3),c.hij(" ",c.lcZ(13,34,t.applicationFormItem.type)," "),c.xp6(2),c.Q6J("label",c.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",c.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.applicationTypes.includes("INITIAL")),c.xp6(1),c.hij(" ",c.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),c.xp6(2),c.Q6J("ngModel",t.applicationFormItem.applicationTypes.includes("EXTENSION")),c.xp6(1),c.hij(" ",c.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),c.xp6(2),c.Q6J("ngIf",t.isApplicationFormItemOfType(c.DdM(52,W))),c.xp6(1),c.Q6J("ngIf",t.isApplicationFormItemOfType(c.DdM(53,X))),c.xp6(1),c.Q6J("ngIf",t.typesWithDisabled.indexOf(t.applicationFormItem.type)>-1),c.xp6(1),c.Q6J("label",c.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",c.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.hidden),c.xp6(1),c.Q6J("ngForOf",t.hiddenValues),c.xp6(1),c.Q6J("label",c.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",c.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==t.hiddenDependencyItem),c.xp6(1),c.Q6J("ngForOf",t.languages)}}class et{constructor(t,e){this.value=e,this.displayName=t}}let it=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.attributesManager=i,this.translateService=n,this.store=s,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supportedLanguages"),this.hiddenDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=r.Sx),this.disabledDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=r.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,o.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attributeDefinitions=t,this.getDestinationAndSourceAttributes(),this.loading=!1},()=>this.loading=!1),this.getFederationAttributes(),this.getFederationAttribute(),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[r.Sx].concat(this.data.allItems.filter(t=>this.dependencyTypes.indexOf(t.type)>-1).filter(t=>t.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===r.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===r.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(t){if(this.applicationFormItem.applicationTypes.includes(t)){const e=this.applicationFormItem.applicationTypes.indexOf(t);this.applicationFormItem.applicationTypes.splice(e,1)}else this.applicationFormItem.applicationTypes.push(t)}getDestinationAndSourceAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(t=>{this.sourceAttributes.push(new et(t,"")),this.destinationAttributes.push(new et(t,""))});for(const t of this.attributeDefinitions)"user"===t.entity.toLowerCase()||"member"===t.entity.toLowerCase()?(this.sourceAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName)),this.destinationAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName))):("vo"===t.entity.toLowerCase()||"group"===t.entity.toLowerCase()&&this.data.group)&&this.sourceAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName))}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(t=>{this.federationAttributes.push(new et(t,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(t=>{this.federationAttributes.push(new et(t,"custom")),this.federationAttributes.push(new et("Display name","displayName")),this.federationAttributes.push(new et("Common name","cn")),this.federationAttributes.push(new et("Mail","mail")),this.federationAttributes.push(new et("Organization","o")),this.federationAttributes.push(new et("Level of Assurance (LoA)","loa")),this.federationAttributes.push(new et("First name","givenName")),this.federationAttributes.push(new et("Surname","sn")),this.federationAttributes.push(new et("EPPN","eppn")),this.federationAttributes.push(new et("IdP Category","md_entityCategory")),this.federationAttributes.push(new et("IdP Affiliation","affiliation")),this.federationAttributes.push(new et("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.federationAttributes.push(new et("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.federationAttributes.push(new et("schacHomeOrganization","schacHomeOrganization")),this.federationAttributes.push(new et("Login","uid")),this.federationAttributes.push(new et("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){if(this.applicationFormItem.federationAttribute){for(const t of this.federationAttributes)if(t.value===this.applicationFormItem.federationAttribute)return void(this.federationAttribute=t.value);this.federationAttribute="custom"}}federationAttributeschanged(){this.applicationFormItem.federationAttribute="custom"!==this.federationAttribute?this.federationAttribute:""}getDefinition(t){const e=t.namespace.split(":");return null===e[4]?"null":e[4]}addOption(t){this.options[t].push(["",""])}removeOption(t,e){this.options[e]=this.options[e].filter(e=>!(e[0]===t[0]&&e[1]===t[1]))}updateOption(t){let e="";if(this.options&&this.options[t])for(const i of this.options[t])""!==i[0]&&""!==i[1]&&(e=""===e?i[0]+"#"+i[1]:e+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n[t].options=e}updateOptions(){for(const t of this.languages)this.updateOption(t)}copy(t,e){e.applicationTypes=t.applicationTypes,e.federationAttribute=t.federationAttribute,e.forDelete=t.forDelete;for(const i of this.languages)e.i18n[i].errorMessage=t.i18n[i].errorMessage,e.i18n[i].help=t.i18n[i].help,e.i18n[i].label=t.i18n[i].label,e.i18n[i].options=t.i18n[i].options;e.id=t.id,e.ordnum=t.ordnum,e.perunDestinationAttribute=t.perunDestinationAttribute,e.perunSourceAttribute=t.perunSourceAttribute,e.regex=t.regex,e.required=t.required,e.shortname=t.shortname,e.type=t.type,e.updatable=t.updatable,e.disabled=t.disabled,e.hidden=t.hidden,e.disabledDependencyItemId=t.disabledDependencyItemId,e.hiddenDependencyItemId=t.hiddenDependencyItemId}sortOptionsAZ(t){this.options[t]=this.options[t].sort((t,e)=>t[1]>e[1]?1:t[1]t[1]>e[1]?-1:t[1]-1}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(n.so),c.Y36(n.WI),c.Y36(s.H8),c.Y36(u.sK),c.Y36(a.d6))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-edit-application-form-item-dialog"]],decls:14,vars:16,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"div",0),c.TgZ(2,"h1",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.YNc(5,R,1,0,"mat-spinner",2),c.YNc(6,tt,39,54,"div",3),c.TgZ(7,"div",4),c.TgZ(8,"button",5),c.NdJ("click",function(){return e.cancel()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"button",6),c.NdJ("click",function(){return e.submit()}),c._uU(12),c.ALo(13,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.Gre("",e.theme," h-100"),c.xp6(3),c.AsE("",c.lcZ(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",e.applicationFormItem.shortname,""),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(3),c.hij(" ",c.lcZ(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.uh,l.O5,n.H8,h.lW,d.$g,n.xY,p.SP,p.uX,f,m.KE,b.Nt,w.Fj,w.JJ,w.On,_.oG,y.gD,l.sg,A.ey,v.Y,T.IC,C.gM,S.Hw],pipes:[u.X$,E.c,k,x,l.gd],styles:[""]}),t})()},79592:function(t,e,i){"use strict";i.d(e,{H:function(){return P}});var n=i(33642),s=i(84608),o=i(88426),r=i(67033),a=i(84140),c=i(61189),u=i(61511),l=i(31572),h=i(48160),d=i(15980),p=i(67806),g=i(43691),f=i(36922),m=i(22196);function b(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function w(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function _(t,e){if(1&t&&(l.TgZ(0,"td",18),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.xp6(1),l.hij(" ",t.user.id," ")}}function y(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function A(t,e){if(1&t&&(l.TgZ(0,"td",18),l._uU(1),l.ALo(2,"userFullName"),l.qZA()),2&t){const t=e.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,t.user)," ")}}function v(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function T(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",20),l.NdJ("click",function(){l.CHM(t);const e=l.oxw().$implicit;return l.oxw(2).changeExpiration(e)}),l.TgZ(1,"mat-icon"),l._uU(2," today "),l.qZA(),l.qZA()}}function C(t,e){if(1&t&&(l.TgZ(0,"td",18),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.YNc(3,T,3,0,"button",19),l.qZA()),2&t){const t=e.$implicit,i=l.oxw(2);l.xp6(2),l.Oqu(i.parseDate(t.validityTo)),l.xp6(1),l.Q6J("ngIf",i.isExpirationAuthorized(t))}}function S(t,e){1&t&&l._UZ(0,"th",17)}function E(t,e){1&t&&(l.TgZ(0,"mat-icon",25),l._uU(1,"clear"),l.qZA())}function k(t,e){1&t&&(l.TgZ(0,"mat-icon"),l._uU(1,"settings_backup_restore"),l.qZA())}function x(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"td",18),l.TgZ(1,"div",21),l.ALo(2,"translate"),l.TgZ(3,"button",22),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw(2).markSponsor(e)}),l.YNc(4,E,2,0,"mat-icon",23),l.YNc(5,k,2,0,"mat-icon",24),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=e.$implicit,i=l.oxw(2);l.xp6(1),l.s9C("matTooltip",l.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",i.isRemoveAuthorized(t)),l.xp6(2),l.Q6J("disabled",!i.isRemoveAuthorized(t)),l.xp6(1),l.Q6J("ngIf",!i.sponsorsToRemove.has(t.user.id)),l.xp6(1),l.Q6J("ngIf",i.sponsorsToRemove.has(t.user.id))}}function R(t,e){1&t&&l._UZ(0,"tr",26)}function I(t,e){if(1&t&&l._UZ(0,"tr",27),2&t){const t=e.$implicit,i=l.oxw(2);l.ekj("make-red",i.sponsorsToRemove.has(t.user.id))}}function O(t,e){if(1&t&&(l.TgZ(0,"div",7),l.TgZ(1,"table",8),l.ynx(2,9),l.YNc(3,w,3,3,"th",10),l.YNc(4,_,2,1,"td",11),l.BQk(),l.ynx(5,12),l.YNc(6,y,3,3,"th",10),l.YNc(7,A,3,3,"td",11),l.BQk(),l.ynx(8,13),l.YNc(9,v,3,3,"th",10),l.YNc(10,C,4,2,"td",11),l.BQk(),l.ynx(11,14),l.YNc(12,S,1,0,"th",10),l.YNc(13,x,6,8,"td",11),l.BQk(),l.YNc(14,R,1,0,"tr",15),l.YNc(15,I,1,2,"tr",16),l.qZA(),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Q6J("dataSource",t.dataSource),l.xp6(13),l.Q6J("matHeaderRowDef",t.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",t.displayedColumns)}}let P=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.dialogRef=t,this.data=e,this.memberService=i,this.userService=n,this.notificator=s,this.authResolver=o,this.translate=r,this.dialog=a,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new r.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(t){this.sponsorsToRemove.has(t.user.id)?this.sponsorsToRemove.delete(t.user.id):this.sponsorsToRemove.add(t.user.id)}removeSponsors(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const e=t.pop();this.memberService.removeSponsor(this.data.member.id,e).subscribe(()=>{this.removeSponsors(t)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const t=Array.from(this.sponsorsToRemove);this.removeSponsors(t)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(t){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[t.user])}isExpirationAuthorized(t){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[t.user,this.vo])}parseDate(t){return null===t?"Never expire":(0,u.p6)(t,"d.M.y","en")}changeExpiration(t){const e=(0,a.kZ)();e.width="400px",e.data={memberId:this.data.member.id,sponsor:t},this.dialog.open(c.hd,e).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(t=>{this.sponsors=t,this.dataSource=new r.by(this.sponsors),this.loading=!1}))})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.uq),l.Y36(n.Fv),l.Y36(o.V6),l.Y36(o.x4),l.Y36(h.sK),l.Y36(s.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"div"),l.YNc(4,b,1,0,"mat-spinner",1),l.YNc(5,O,16,3,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onSubmit()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),l.xp6(2),l.Tol(e.theme),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.hij(" ",l.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),l.xp6(2),l.Q6J("disabled",e.loading||0===e.sponsorsToRemove.size),l.xp6(1),l.hij(" ",l.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[s.uh,u.O5,s.H8,d.lW,p.$g,s.xY,r.BZ,r.w1,r.fO,r.Dz,r.as,r.nj,r.ge,r.ev,g.Hw,f.gM,r.XQ,r.Gk],pipes:[h.X$,m.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),t})()},88690:function(t,e,i){"use strict";i.d(e,{R:function(){return T}});var n=i(84608),s=i(16073),o=i(33642),r=i(88426),a=i(31572),c=i(48160),u=i(61511),l=i(15980),h=i(67806),d=i(66283),p=i(80340),g=i(4786),f=i(71522);function m(t,e){1&t&&a._UZ(0,"mat-spinner",6)}function b(t,e){1&t&&(a.TgZ(0,"div",14),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function w(t,e){1&t&&(a.TgZ(0,"div",14),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function _(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function y(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function A(t,e){if(1&t&&(a.TgZ(0,"mat-option",15),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"uppercase"),a.qZA()),2&t){const t=e.$implicit;a.s9C("value",t),a.xp6(1),a.Oqu(a.lcZ(2,2,a.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t)))}}function v(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",7),a.YNc(1,b,3,3,"div",8),a.YNc(2,w,3,3,"div",8),a.TgZ(3,"mat-form-field",9),a._UZ(4,"input",10),a.ALo(5,"translate"),a.YNc(6,_,3,3,"mat-error",11),a.qZA(),a.TgZ(7,"mat-form-field",9),a._UZ(8,"textarea",10),a.ALo(9,"translate"),a.YNc(10,y,3,3,"mat-error",11),a.qZA(),a.TgZ(11,"mat-form-field",9),a.TgZ(12,"mat-label"),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"mat-select",12),a.NdJ("valueChange",function(e){return a.CHM(t),a.oxw().currentLanguage=e}),a.YNc(16,A,4,6,"mat-option",13),a.qZA(),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",!t.data.groupId),a.xp6(1),a.Q6J("ngIf",t.data.groupId),a.xp6(2),a.s9C("placeholder",a.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),a.Q6J("formControl",t.name),a.xp6(2),a.Q6J("ngIf",t.name.invalid),a.xp6(2),a.s9C("placeholder",a.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),a.Q6J("formControl",t.emailForm),a.xp6(2),a.Q6J("ngIf",t.emailForm.invalid),a.xp6(3),a.Oqu(a.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),a.xp6(2),a.Q6J("value",t.currentLanguage),a.xp6(1),a.Q6J("ngForOf",t.languages)}}let T=(()=>{class t{constructor(t,e,i,n,o,r){this.dialogRef=t,this.data=e,this.registrarManager=i,this.notificator=n,this.translate=o,this.store=r,this.emailForm=new s.NI("",[s.kI.required,s.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new s.NI("",s.kI.required),this.loading=!1}ngOnInit(){this.languages=this.store.get("supportedLanguages"),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(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.tk),a.Y36(r.V6),a.Y36(c.sK),a.Y36(r.d6))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,m,1,0,"mat-spinner",1),a.YNc(5,v,17,17,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return e.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return e.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),a.xp6(2),a.Q6J("disabled",e.emailForm.invalid||e.name.invalid||e.loading),a.xp6(1),a.hij(" ",a.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.uh,u.O5,n.H8,l.lW,h.$g,n.xY,d.KE,p.Nt,s.Fj,s.Q7,s.JJ,s.oH,d.hX,g.gD,u.sg,d.TO,f.ey],pipes:[c.X$,u.gd],styles:[""]}),t})()},57820:function(t,e,i){"use strict";i.d(e,{c:function(){return x}});var n=i(84608),s=i(16073),o=i(56238),r=i(79996),a=i(17),c=i(88426),u=i(33642),l=i(31572),h=i(48160),d=i(54810),p=i(61511),g=i(15980),f=i(36922),m=i(39571),b=i(66283),w=i(80340),_=i(40084),y=i(71522),A=i(67806);function v(t,e){1&t&&(l.TgZ(0,"mat-radio-button",12),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function T(t,e){1&t&&(l.TgZ(0,"mat-radio-button",13),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function C(t,e){1&t&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function S(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"mat-option",20),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw(2).selectedGroup=e}),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()}if(2&t){const t=e.$implicit;l.Q6J("value",t),l.xp6(2),l.Oqu(t.name)}}function E(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"mat-form-field",15),l.TgZ(1,"input",16),l.NdJ("change",function(){return l.CHM(t),l.oxw().selectedGroup=null}),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"mat-autocomplete",17,18),l.YNc(5,S,3,2,"mat-option",19),l.ALo(6,"async"),l.qZA(),l.qZA()}if(2&t){const t=l.MAs(4),e=l.oxw();l.Q6J("@openClose","toGroup"===e.moveOption?"open":"closed"),l.xp6(1),l.s9C("placeholder",l.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),l.Q6J("matAutocomplete",t)("formControl",e.otherGroupsCtrl),l.xp6(2),l.Q6J("displayWith",e.displayFn),l.xp6(2),l.Q6J("ngForOf",l.lcZ(6,8,e.filteredGroups))}}function k(t,e){1&t&&l._UZ(0,"mat-spinner",21)}let x=(()=>{class t{constructor(t,e,i,n,o,r,a){this.dialogRef=t,this.data=e,this.groupService=i,this.notificator=n,this.translate=o,this.apiRequest=r,this.authResolver=a,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new s.NI(null,[s.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(t=>this.successMessage=t),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(t=>{this.otherGroups=t.filter(t=>t.id!==this.data.group.id&&"members"!==t.name&&this.canMove(t)),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,o.O)(""),(0,r.U)(t=>t?this._filterGroups(t):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(t){return t?t.name:t}_filterGroups(t){if("object"==typeof t)return[];const e=t.toLowerCase();return t?this.otherGroups.filter(t=>t.name.toLowerCase().indexOf(e)>-1):this.otherGroups}canMove(t){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[t,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,t])}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)},t=>{this.notificator.showRPCError(t,this.errorMessage),this.dialogRef.close(!1)})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(n.so),l.Y36(n.WI),l.Y36(u.ff),l.Y36(c.V6),l.Y36(h.sK),l.Y36(c.F5),l.Y36(c.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",1),l.TgZ(5,"p"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.TgZ(8,"mat-radio-group",2),l.NdJ("ngModelChange",function(t){return e.moveOption=t}),l.YNc(9,v,3,3,"mat-radio-button",3),l.YNc(10,T,3,3,"mat-radio-button",4),l.qZA(),l.YNc(11,C,3,3,"app-alert",5),l.YNc(12,E,7,10,"mat-form-field",6),l.qZA(),l.YNc(13,k,1,0,"mat-spinner",7),l.TgZ(14,"div",8),l.TgZ(15,"button",9),l.NdJ("click",function(){return e.close()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"span",10),l.ALo(19,"translate"),l.TgZ(20,"button",11),l.NdJ("click",function(){return e.confirm()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.data.theme),l.xp6(2),l.AsE("",l.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",e.data.group.name,""),l.xp6(4),l.hij(" ",l.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),l.xp6(2),l.Q6J("ngModel",e.moveOption),l.xp6(1),l.Q6J("ngIf",!e.toRootOptionDisabled),l.xp6(1),l.Q6J("ngIf",!e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",e.toRootOptionDisabled&&e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",!e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(3),l.hij(" ",l.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==e.selectedGroup||"toRoot"===e.moveOption),l.xp6(2),l.Q6J("disabled",(e.otherGroupsCtrl.invalid||null===e.selectedGroup)&&"toRoot"!==e.moveOption||e.loading),l.xp6(1),l.hij(" ",l.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.uh,n.xY,d.VQ,s.JJ,s.On,p.O5,n.H8,g.lW,f.gM,d.U0,m.w,b.KE,w.Nt,_.ZL,s.Fj,s.Q7,s.oH,_.XC,p.sg,y.ey,A.$g],pipes:[h.X$,p.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[a.BQ]}}),t})()},95121:function(t,e,i){"use strict";i.d(e,{m:function(){return _}});var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),u=i(15980),l=i(67806),h=i(66283),d=i(4786),p=i(71522);function g(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function f(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",t.friendlyNameParameter," ")}}function m(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"uppercase"),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",r.lcZ(2,2,r.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function b(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",t," ")}}function w(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.TgZ(1,"mat-form-field"),r.TgZ(2,"mat-label"),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedLogin=e}),r.YNc(6,f,2,2,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(7,"mat-form-field"),r.TgZ(8,"mat-label"),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.TgZ(11,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedLang=e}),r.YNc(12,m,4,6,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(13,"mat-form-field"),r.TgZ(14,"mat-label"),r._uU(15),r.ALo(16,"translate"),r.qZA(),r.TgZ(17,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedMail=e}),r.YNc(18,b,2,2,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(19,"div",11),r.TgZ(20,"p",12),r._uU(21),r.ALo(22,"translate"),r.qZA(),r.TgZ(23,"p"),r._uU(24),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(3),r.Oqu(r.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),r.xp6(2),r.Q6J("value",t.selectedLogin),r.xp6(1),r.Q6J("ngForOf",t.logins),r.xp6(3),r.Oqu(r.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),r.xp6(2),r.Q6J("value",t.selectedLang),r.xp6(1),r.Q6J("ngForOf",t.languages),r.xp6(3),r.Oqu(r.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),r.xp6(2),r.Q6J("value",t.selectedMail),r.xp6(1),r.Q6J("ngForOf",t.mails),r.xp6(3),r.Oqu(r.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),r.xp6(3),r.Oqu(t.selectedLogin.value)}}let _=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.attributesManagerService=n,this.store=s,this.translate=o,this.notificator=r,this.languages=this.store.get("supportedLanguages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],o.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,this.selectedLogin.friendlyNameParameter,this.pwdMails.get(this.selectedMail),this.selectedLang).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.uq),r.Y36(s.H8),r.Y36(o.d6),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.YNc(4,g,1,0,"mat-spinner",2),r.qZA(),r.YNc(5,w,25,19,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"button",5),r.NdJ("click",function(){return e.onCancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",6),r.NdJ("click",function(){return e.onSubmit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),r.xp6(3),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,d.gD,c.sg,p.ey],pipes:[a.X$,c.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),t})()},4374:function(t,e,i){"use strict";i.d(e,{X:function(){return v}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),u=i(61511),l=i(67806),h=i(15980),d=i(22196);function p(t,e){1&t&&a._UZ(0,"th",13)}function g(t,e){if(1&t&&(a.TgZ(0,"td",14),a._uU(1),a.qZA()),2&t){const t=e.$implicit;a.xp6(1),a.hij(" ",t.id," ")}}function f(t,e){1&t&&a._UZ(0,"th",13)}function m(t,e){if(1&t&&(a.TgZ(0,"td",14),a._uU(1),a.ALo(2,"userFullName"),a.qZA()),2&t){const t=e.$implicit;a.xp6(1),a.hij(" ",a.lcZ(2,1,t.user)," ")}}function b(t,e){1&t&&a._UZ(0,"tr",15)}function w(t,e){1&t&&a._UZ(0,"tr",16)}function _(t,e){if(1&t&&(a.TgZ(0,"div",4),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",5),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"table",6),a.ynx(8,7),a.YNc(9,p,1,0,"th",8),a.YNc(10,g,2,1,"td",9),a.BQk(),a.ynx(11,10),a.YNc(12,f,1,0,"th",8),a.YNc(13,m,3,3,"td",9),a.BQk(),a.YNc(14,b,1,0,"tr",11),a.YNc(15,w,1,0,"tr",12),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,5,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),a.xp6(3),a.hij(" ",a.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),a.xp6(2),a.Q6J("dataSource",t.dataSource),a.xp6(7),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns)}}function y(t,e){1&t&&a._UZ(0,"mat-spinner",17)}function A(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",18),a.TgZ(1,"button",19),a.NdJ("click",function(){return a.CHM(t),a.oxw().onCancel()}),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"button",20),a.NdJ("click",function(){return a.CHM(t),a.oxw().onSubmit()}),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),a.xp6(3),a.hij(" ",a.lcZ(6,4,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let v=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.membersService=i,this.groupService=n,this.notificator=s,this.translate=o,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t=>t.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(t=>t.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const t=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(t),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.ff),a.Y36(o.V6),a.Y36(c.sK))},t.\u0275cmp=a.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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,_,16,9,"div",1),a.YNc(5,y,1,0,"mat-spinner",2),a.YNc(6,A,7,6,"div",3),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),a.xp6(2),a.Q6J("ngIf",!e.loading),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,n.xY,s.BZ,s.w1,s.fO,s.Dz,s.as,s.nj,s.ge,s.ev,s.XQ,s.Gk,l.$g,n.H8,h.lW],pipes:[c.X$,d.d],styles:[""]}),t})()},95909:function(t,e,i){"use strict";i.d(e,{f:function(){return l}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),u=i(20247);let l=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourcesManager=s,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(t){t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(c.sK),a.Y36(r.xk))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","resources")("disableForce",!0))},directives:[u.e],styles:[""]}),t})()},99608:function(t,e,i){"use strict";i.d(e,{o:function(){return l}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),u=i(20247);let l=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.force=!1,this.displayedColumns=["name"],this.relations=[],s.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t){this.force=t.force,t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(r.YF),a.Y36(c.sK))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","organizations")("relations",e.relations))},directives:[u.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),t})()},24555:function(t,e,i){"use strict";i.d(e,{E:function(){return w}});var n=i(84608),s=i(33642),o=i(31572),r=i(61511),a=i(15980),c=i(67806),u=i(66283),l=i(80340),h=i(16073),d=i(4786),p=i(71522),g=i(48160);function f(t,e){1&t&&o._UZ(0,"mat-spinner",6)}function m(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.TgZ(3,"mat-form-field",9),o.TgZ(4,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw(2).embeddedState=e}),o.TgZ(5,"mat-option",11),o._uU(6),o.ALo(7,"translate"),o.qZA(),o.TgZ(8,"mat-option",12),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=o.oxw(2);o.xp6(1),o.hij(" ",o.lcZ(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),o.xp6(3),o.Q6J("value",t.embeddedState),o.xp6(2),o.Oqu(o.lcZ(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function b(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"div"),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-form-field"),o.TgZ(5,"input",8),o.NdJ("ngModelChange",function(e){return o.CHM(t),o.oxw().moduleName=e}),o.qZA(),o.qZA(),o.TgZ(6,"div"),o._uU(7),o.ALo(8,"translate"),o.qZA(),o.TgZ(9,"mat-form-field",9),o.TgZ(10,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw().initialState=e}),o.TgZ(11,"mat-option",11),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"mat-option",12),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"div"),o._uU(18),o.ALo(19,"translate"),o.qZA(),o.TgZ(20,"mat-form-field",9),o.TgZ(21,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw().extensionState=e}),o.TgZ(22,"mat-option",11),o._uU(23),o.ALo(24,"translate"),o.qZA(),o.TgZ(25,"mat-option",12),o._uU(26),o.ALo(27,"translate"),o.qZA(),o.qZA(),o.qZA(),o.YNc(28,m,11,10,"div",13),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Oqu(o.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),o.xp6(3),o.Q6J("ngModel",t.moduleName),o.xp6(2),o.hij(" ",o.lcZ(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),o.xp6(3),o.Q6J("value",t.initialState),o.xp6(2),o.Oqu(o.lcZ(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(3),o.hij(" ",o.lcZ(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),o.xp6(3),o.Q6J("value",t.extensionState),o.xp6(2),o.Oqu(o.lcZ(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(2),o.Q6J("ngIf","group"===t.entity&&t.autoRegistrationEnabled)}}let w=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.registrarManager=i,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(t=>{this.dialogRef.close(t)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.so),o.Y36(n.WI),o.Y36(s.tk))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(t,e){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,f,1,0,"mat-spinner",1),o.YNc(5,b,29,25,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return e.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return e.submit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Tol(e.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),o.xp6(2),o.Q6J("disabled",e.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.uh,r.O5,n.H8,a.lW,c.$g,n.xY,u.KE,l.Nt,h.Fj,h.JJ,h.On,d.gD,p.ey],pipes:[g.X$],styles:[""]}),t})()},86593:function(t,e,i){"use strict";i.d(e,{C:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(88426),u=i(82819),l=i(61511),h=i(29236),d=i(43691),p=i(36922),g=i(84534),f=i(39571),m=i(48160),b=i(22196),w=i(35887);let _=(()=>{class t{transform(t){return(0,a.kN)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userEmail",type:t,pure:!0}),t})(),y=(()=>{class t{transform(t){return(0,a.$0)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userLogins",type:t,pure:!0}),t})();function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw(2);return e?i.masterToggle():null}),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function v(t,e){if(1&t&&(n.TgZ(0,"th",17),n.YNc(1,A,1,3,"mat-checkbox",18),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",t.selection.isMultipleSelection())}}function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function C(t,e){1&t&&n._UZ(0,"th",17)}function S(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," account_circle "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function E(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," traffic "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.SERVICE"))}function k(t,e){if(1&t&&(n.TgZ(0,"td",20),n.YNc(1,S,3,3,"mat-icon",22),n.YNc(2,E,3,3,"mat-icon",22),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.serviceUser),n.xp6(1),n.Q6J("ngIf",t.serviceUser)}}function x(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ID")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.id," ")}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.NAME")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userVo"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function F(t,e){1&t&&n._UZ(0,"tr",26)}const Z=function(t){return["/admin/users",t]};function B(t,e){if(1&t&&n._UZ(0,"tr",27),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsForceRouterLink",i.disableRouting?null:n.VKq(4,Z,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.VKq(6,Z,t.id))}}function q(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let H=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.selection=new r.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.pageSizeOptions=a.f7}set matSort(t){this.sort=t}getDataForColumn(t,e){var i;switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"true":"false";case"name":return t?t.lastName?t.lastName:null!==(i=t.firstName)&&void 0!==i?i:"":"";case"organization":return(0,a.OV)(t);case"email":return(0,a.kN)(t);case"logins":return(0,a.lt)(t);default:return""}}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"service-user":"user";case"name":return t?(0,a.bD)(t):"";case"organization":return(0,a.OV)(t);case"email":return(0,a.kN)(t);case"logins":return(0,a.lt)(t);default:return""}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.x4),n.Y36(c.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-users-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,v,2,1,"th",4),n.YNc(5,T,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,C,1,0,"th",4),n.YNc(8,k,3,2,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,x,3,3,"th",8),n.YNc(11,R,2,1,"td",5),n.BQk(),n.ynx(12,9),n.YNc(13,I,3,3,"th",8),n.YNc(14,O,3,3,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,P,3,3,"th",8),n.YNc(17,D,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,M,3,3,"th",8),n.YNc(20,L,3,3,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,N,3,3,"th",8),n.YNc(23,z,3,3,"td",10),n.BQk(),n.YNc(24,F,1,0,"tr",14),n.YNc(25,B,1,8,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,q,3,3,"app-alert",16),n.YNc(27,U,3,3,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.users.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.users.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.users.length))},directives:[u.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,d.Hw,p.gM,s.nU,o.XQ,o.Gk,g.Kd,g.YH,f.w],pipes:[m.X$,b.d,w.Z,_,y],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},65050:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(31572),s=i(48160);let o=(()=>{class t{constructor(t){this.translateService=t,this.returnData=""}transform(t){switch(t){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_HIDDEN").subscribe(t=>{this.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(t=>{this.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_SHOW").subscribe(t=>{this.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(t=>{this.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(t=>{this.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(t=>{this.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(t=>{this.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(t=>{this.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(t=>{this.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(t=>{this.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(t=>{this.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(t=>{this.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(t=>{this.returnData=t});break;default:return t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationFormItemType",type:t,pure:!0}),t})()},84650:function(t,e,i){"use strict";i.d(e,{h:function(){return o}});var n=i(31572),s=i(48160);let o=(()=>{class t{constructor(t){this.translate=t,this.returnData=""}transform(t){switch(t){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(t=>{this.returnData=`done${t}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(t=>{this.returnData=`clear${t}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(t=>{this.returnData=`contact_mail ${t}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(t=>{this.returnData=`gavel${t}`});break;default:this.returnData=t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationState",type:t,pure:!1}),t})()},99373:function(t,e,i){"use strict";i.d(e,{A:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){return t.substring(40)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"extSourceType",type:t,pure:!0}),t})()},35887:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.OV)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"userVo",type:t,pure:!0}),t})()},28780:function(t,e,i){"use strict";i.d(e,{m:function(){return Et}});var n=i(61511),s=i(57629),o=i(40084),r=i(15980),a=i(29236),c=i(71522),u=i(15812),l=i(84608),h=i(27679),d=i(45001),p=i(66283),g=i(43691),f=i(80340),m=i(73005),b=i(45994),w=i(67806),_=i(54810),y=i(4786),A=i(25122),v=i(27521),T=i(71403),C=i(58623),S=i(67033),E=i(55109),k=i(36922),x=i(91010),R=i(27439),I=i(41050),O=i(10033),P=i(8055),D=i(70663),M=i(16073),L=i(24081),N=i(17),z=i(88426),F=i(31572),Z=i(84534),B=i(48160);const q=["collapse"],U=function(){return{color:"linkTextColor"}};function H(t,e){1&t&&(F.TgZ(0,"mat-icon",14),F._uU(1,"keyboard_arrow_right"),F.qZA()),2&t&&F.Q6J("ngStyle",F.DdM(1,U))}function j(t,e){1&t&&(F.TgZ(0,"mat-icon",14),F._uU(1,"keyboard_arrow_down"),F.qZA()),2&t&&F.Q6J("ngStyle",F.DdM(1,U))}function G(t,e){if(1&t&&(F.TgZ(0,"span",12),F.YNc(1,H,2,2,"mat-icon",13),F.YNc(2,j,2,2,"mat-icon",13),F.qZA()),2&t){const t=F.oxw().$implicit,e=F.oxw(2);F.xp6(1),F.Q6J("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),F.xp6(1),F.Q6J("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const Y=function(t,e){return{color:t,"border-color":e}};function V(t,e){if(1&t){const t=F.EpF();F.TgZ(0,"a",17),F.NdJ("click",function(){const e=F.CHM(t).$implicit;return F.oxw(4).navigate(e.url)}),F._uU(1),F.ALo(2,"translate"),F.qZA()}if(2&t){const t=e.$implicit,i=F.oxw(4);F.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),F.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:"")("ngStyle",F.WLB(9,Y,i.linkTextColor,i.linkTextColor)),F.xp6(1),F.hij(" ",F.lcZ(2,7,t.label)," ")}}function K(t,e){if(1&t&&(F.TgZ(0,"div",15),F.YNc(1,V,3,12,"a",16),F.qZA()),2&t){const t=F.oxw().$implicit;F.Q6J("@rollInOut",void 0),F.xp6(1),F.Q6J("ngForOf",null==t?null:t.children)}}function J(t,e){if(1&t){const t=F.EpF();F.TgZ(0,"div"),F.TgZ(1,"a",9),F.NdJ("click",function(){const e=F.CHM(t).$implicit;return F.oxw(2).navigate(e.url)}),F._uU(2),F.ALo(3,"translate"),F.YNc(4,G,3,2,"span",10),F.qZA(),F.YNc(5,K,2,2,"div",11),F.qZA()}if(2&t){const t=e.$implicit,i=F.oxw(2);F.xp6(1),F.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),F.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:"")("ngStyle",F.WLB(11,Y,i.linkTextColor,i.linkTextColor)),F.xp6(1),F.hij(" ",F.lcZ(3,9,t.label)," "),F.xp6(2),F.Q6J("ngIf",t.children),F.xp6(1),F.Q6J("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}function $(t,e){if(1&t&&(F.TgZ(0,"div"),F.YNc(1,J,6,14,"div",8),F.qZA()),2&t){const t=F.oxw();F.Q6J("@rollInOut",void 0),F.xp6(1),F.Q6J("ngForOf",t.item.links)}}const Q=function(t,e){return{background:t,"border-top":e}},W=function(t){return{color:t}},X=function(){return{color:"currentColor"}},tt=function(t){return{background:t}};let et=(()=>{class t{constructor(t,e){this.router=t,this.store=e,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=t.url,t.events.subscribe(t=>{t instanceof s.m2&&(this.currentUrl=t.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(t,e){return new RegExp(e).test(t)}navigate(t){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(t)):this.router.navigate(t)}}return t.\u0275fac=function(e){return new(e||t)(F.Y36(s.F0),F.Y36(z.d6))},t.\u0275cmp=F.Xpm({type:t,selectors:[["app-side-menu-item"]],viewQuery:function(t,e){if(1&t&&F.Gf(q,5),2&t){let t;F.iGM(t=F.CRH())&&(e.collapseDiv=t.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(t,e){1&t&&(F.TgZ(0,"div",0),F.TgZ(1,"div",1),F.NdJ("click",function(){return e.toggle()}),F.TgZ(2,"div",2),F.TgZ(3,"a",3),F.TgZ(4,"div"),F._UZ(5,"mat-icon",4),F.qZA(),F.TgZ(6,"div",5),F._uU(7),F.ALo(8,"translate"),F.qZA(),F.qZA(),F.qZA(),F.qZA(),F.TgZ(9,"div"),F.TgZ(10,"div",6),F.YNc(11,$,2,2,"div",7),F.qZA(),F.qZA(),F.qZA()),2&t&&(F.xp6(1),F.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",F.WLB(18,Q,e.item.backgroundColorCss,e.index?e.dividerStyle:"none")),F.xp6(1),F.Gre("entity-menu-item-link ",e.item.labelClass,""),F.Q6J("perunWebAppsMiddleClickRouterLink",e.item.baseLink),F.xp6(1),F.Q6J("ngStyle",F.VKq(21,W,e.item.textColorCss)),F.xp6(2),F.Q6J("ngStyle",F.DdM(23,X))("svgIcon",e.item.icon),F.xp6(2),F.Oqu(F.lcZ(8,16,e.item.label)),F.xp6(2),F.Q6J("@openClose",e.expanded?"open":"closed"),F.xp6(1),F.Gre("side-entity-menu ",e.item.linksClass,""),F.Q6J("ngStyle",F.VKq(24,tt,e.linkBgColor)),F.xp6(1),F.Q6J("ngIf",e.showLinks))},directives:[c.wG,n.PC,Z.YH,g.Hw,n.O5,n.sg,n.mk],pipes:[B.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:[N.BQ,N.Ly]}}),t})(),it=(()=>{class t{transform(t){if(void 0===t.value)return"";switch(t.type){case"java.lang.String":return t.value;case"java.lang.Integer":return t.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(t.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(t.value);case"java.lang.Boolean":return t.value.toString();default:return t.value}}whenValueIsArray(t){let e="";return t.forEach(function(t){e=e.concat(t+", ")}),e}whenValueIsMap(t){let e="";return t.forEach((t,i)=>{e=e.concat(i+": "+t+", ")}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=F.Yjl({name:"anyToString",type:t,pure:!0}),t})();const nt=["collapse"],st=function(){return{color:"linkTextColor"}};function ot(t,e){1&t&&(F.TgZ(0,"mat-icon",12),F._uU(1,"keyboard_arrow_right"),F.qZA()),2&t&&F.Q6J("ngStyle",F.DdM(1,st))}function rt(t,e){1&t&&(F.TgZ(0,"mat-icon",12),F._uU(1,"keyboard_arrow_down"),F.qZA()),2&t&&F.Q6J("ngStyle",F.DdM(1,st))}function at(t,e){if(1&t&&(F.TgZ(0,"span",10),F.YNc(1,ot,2,2,"mat-icon",11),F.YNc(2,rt,2,2,"mat-icon",11),F.qZA()),2&t){const t=F.oxw().$implicit,e=F.oxw();F.xp6(1),F.Q6J("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),F.xp6(1),F.Q6J("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const ct=function(t,e){return{color:t,"border-color":e}};function ut(t,e){if(1&t){const t=F.EpF();F.TgZ(0,"a",14),F.NdJ("click",function(){const e=F.CHM(t).$implicit;return F.oxw(3).navigate(e.url)}),F._uU(1),F.ALo(2,"translate"),F.qZA()}if(2&t){const t=e.$implicit,i=F.oxw(3);F.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),F.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",F.WLB(9,ct,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),F.xp6(1),F.hij(" ",F.lcZ(2,7,t.label)," ")}}function lt(t,e){if(1&t&&(F.TgZ(0,"div"),F.YNc(1,ut,3,12,"a",13),F.qZA()),2&t){const t=F.oxw().$implicit;F.Q6J("@rollInOut",void 0),F.xp6(1),F.Q6J("ngForOf",null==t?null:t.children)}}function ht(t,e){if(1&t){const t=F.EpF();F.TgZ(0,"div"),F.TgZ(1,"a",7),F.NdJ("click",function(){const e=F.CHM(t).$implicit;return F.oxw().navigate(e.url)}),F._uU(2),F.ALo(3,"translate"),F.YNc(4,at,3,2,"span",8),F.qZA(),F.YNc(5,lt,2,2,"div",9),F.qZA()}if(2&t){const t=e.$implicit,i=F.oxw();F.xp6(1),F.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),F.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",F.WLB(11,ct,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),F.xp6(1),F.hij(" ",F.lcZ(3,9,t.label)," "),F.xp6(2),F.Q6J("ngIf",t.children),F.xp6(1),F.Q6J("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}const dt=function(t){return{background:t}},pt=function(t){return{color:t}},gt=function(){return{color:"currentColor"}};let ft=(()=>{class t{constructor(t,e){this.router=t,this.store=e,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.currentUrl=t.url,t.events.subscribe(t=>{t instanceof s.m2&&(this.currentUrl=t.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(t,e){return new RegExp(e).test(t)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(t){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(t)):this.router.navigate(t)}}return t.\u0275fac=function(e){return new(e||t)(F.Y36(s.F0),F.Y36(z.d6))},t.\u0275cmp=F.Xpm({type:t,selectors:[["app-side-menu-root-item"]],viewQuery:function(t,e){if(1&t&&F.Gf(nt,5),2&t){let t;F.iGM(t=F.CRH())&&(e.collapseDiv=t.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[F.TTD],decls:12,vars:27,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(t,e){1&t&&(F.TgZ(0,"div",0),F.TgZ(1,"div",1),F.NdJ("click",function(){return e.toggle()}),F.TgZ(2,"div"),F.TgZ(3,"a",2),F.TgZ(4,"div"),F._UZ(5,"mat-icon",3),F.qZA(),F.TgZ(6,"div",4),F._uU(7),F.ALo(8,"translate"),F.qZA(),F.qZA(),F.qZA(),F.qZA(),F.TgZ(9,"div"),F.TgZ(10,"div",5),F.YNc(11,ht,6,14,"div",6),F.qZA(),F.qZA(),F.qZA()),2&t&&(F.xp6(1),F.ekj("root-header-activated",e.isActive(e.currentUrl,e.item.baseColorClassRegex)),F.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",F.VKq(20,dt,e.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",e.item.baseLink),F.xp6(1),F.Gre("entity-menu-item-link ",e.item.labelClass,""),F.xp6(1),F.Q6J("ngStyle",F.VKq(22,pt,e.item.textColorCss)),F.xp6(2),F.Q6J("ngStyle",F.DdM(24,gt))("svgIcon",e.item.icon),F.xp6(2),F.Oqu(F.lcZ(8,18,e.item.label)),F.xp6(2),F.Q6J("@openClose",e.expanded?"open":"closed"),F.xp6(1),F.Gre("side-entity-menu ",e.item.linksClass,""),F.Q6J("ngStyle",F.VKq(25,dt,e.linkBgColor)),F.xp6(1),F.Q6J("ngForOf",e.item.links))},directives:[c.wG,n.PC,Z.YH,g.Hw,n.sg,n.mk,n.O5],pipes:[B.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:[N.BQ,N.Ly]}}),t})();var mt=i(88975),bt=i(4253),wt=i(22727),_t=i(99373),yt=i(41939),At=i(7423),vt=i(22280),Tt=i(30146),Ct=i(85250),St=i(84140);let Et=(()=>{class t{constructor(t){this.translate=t,t.addLangs(["en","cs"])}}return t.\u0275fac=function(e){return new(e||t)(F.LFG(B.sK))},t.\u0275mod=F.oAB({type:t}),t.\u0275inj=F.cJS({providers:[it,_t.A],imports:[[n.ez,s.Bz,o.Bb,f.c,p.lN,M.UX,M.u5,g.Ps,A.SJ,d.To,B.aw.forChild({}),r.ot,C.JX,S.p0,E.Nh,x.dp,r.ot,a.p9,l.Is,y.LD,T.ZX,w.Cq,b.Cv,k.AV,v.rP,u.FA,c.XK,_.Fk,h.t,c.si,m.TU,R.QW,D.T5,mt._t,R.QW,O.Hi,P.Tx,bt.Cl,wt.r,I.g,yt.ez,At.r,vt.d4,Tt.Co,Ct.ie,St.Je],Tt.Co,o.Bb,f.c,s.Bz,M.UX,M.u5,g.Ps,A.SJ,B.aw,C.JX,S.p0,E.Nh,x.dp,r.ot,a.p9,l.Is,y.LD,T.ZX,w.Cq,b.Cv,k.AV,v.rP,u.FA,c.XK,_.Fk,h.t,R.QW,D.T5,c.si,m.TU,mt._t,O.Hi,O.Hi,d.To,P.Tx,bt.Cl,bt.Cl,bt.Cl,At.r]}),t})();F.B6R(L.V,[ft,n.sg,et,n.O5],[])},75585:function(t,e,i){"use strict";i.d(e,{V:function(){return l}});var n=i(88426),s=i(33642),o=i(84140),r=i(22280),a=i(67004),c=i(31572),u=i(48160);let l=(()=>{class t{constructor(t,e,i,n,s,o,r){this.translate=t,this.authResolver=e,this.store=i,this.apiRequest=n,this.attributesManager=s,this.notificator=o,this.guiAuthResolver=r,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:"^dont-use$",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.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$"}]}}parseFacility(t){return{label:t.name,baseLink:[`/facilities/${t.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(t),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(t,e){const i=(new r.r5).transform(t,e);return{label:t.name,baseLink:[i],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(i,e?"/organizations":"/facilities",t),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(t,e,i){const n=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[t],activatedRegex:`${e}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[t,"groups"],activatedRegex:`${e}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[t,"services"],activatedRegex:`${e}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[t,"members"],activatedRegex:`${e}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[t,"tags"],activatedRegex:`${e}/\\d+/resources/\\d+/tags$`}),n.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[t,"attributes"],activatedRegex:`${e}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(i)&&n.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[t,"settings"],activatedRegex:`${e}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[t,"settings","managers"],activatedRegex:`${e}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${e}/\\d+/resources/\\d+/settings`}),n}parseGroup(t){return{label:t.name,baseLink:[`/organizations/${t.voId}/groups/${t.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(t),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(t){return{label:t.name,baseLink:[`/organizations/${t.id}`],links:this.getVoLinks(t),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(t,e){return{label:(0,o.bD)(t.user),baseLink:[`/organizations/${t.voId}/members/${t.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(t,e),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(t,e,i){return{label:(0,o.bD)(t),baseLink:[e],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(t,e,i),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(t){return{label:t.name,baseLink:[`/admin/services/${t.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${t.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${t.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${t.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(t){const e=[];if(e.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${t.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${t.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${t.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])){const i=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${t.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${t.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${t.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),e.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${t.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:i,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[t])&&e.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${t.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${t.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${t.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),e.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[t])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${t.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const i=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[t]),n=this.authResolver.isManagerPagePrivileged(t),s=this.authResolver.isThisVoAdminOrObserver(t.id);if(n||i||s){const o=[];s&&o.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${t.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),n&&o.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${t.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),s&&o.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${t.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),s&&o.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${t.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),i&&o.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${t.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),e.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${t.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:o,showChildrenRegex:"/organizations/\\d+/settings"})}return e}getUserLinks(t,e,i){const n=[];return n.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[e],activatedRegex:`${i}$`}),n.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${e}/organizations`],activatedRegex:`${i}/organizations`}),n.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${e}/groups`],activatedRegex:`${i}/groups`}),n.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${e}/accounts`],activatedRegex:`${i}/accounts`}),n.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${e}/identities`],activatedRegex:`${i}/identities`}),n.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${e}/facilities`],activatedRegex:`${i}/facilities`}),n.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${e}/resources`],activatedRegex:`${i}/resources`}),n.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${e}/attributes`],activatedRegex:`${i}/attributes`}),n.push({label:"MENU_ITEMS.USER.ROLES",url:[`${e}/roles`],activatedRegex:`^${e}/roles`}),n.push({label:"MENU_ITEMS.ADMIN.SETTINGS",url:[`${e}/settings`],activatedRegex:`${i}/settings$`,children:[],showChildrenRegex:`${i}/settings`}),n[n.length-1].children.push(t.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${e}/settings/associated-users`],activatedRegex:`^${e}/settings/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${e}/settings/service-identities`],activatedRegex:`^${e}/settings/service-identities`}),n}getMemberLinks(t,e){const i=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${t.voId}/members/${t.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${t.voId}/members/${t.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${t.voId}/members/${t.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${t.voId}/members/${t.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),i.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${t.voId}/members/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),i}getFacilityLinks(t){const e=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${t.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${t.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${t.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${t.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${t.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${t.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&e.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${t.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),e.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",t.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const i=this.authResolver.isAuthorized("getBansForFacility_int_policy",[t]),n=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[t]),s=this.authResolver.isAuthorized("getOwners_Facility_policy",[t]),o=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[t]);if(i||n||s||o){const r=[];s&&r.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",t.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),n&&r.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",t.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),o&&r.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${t.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),i&&r.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",t.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),e.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",t.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:r,showChildrenRegex:"/facilities/\\d+/settings"})}return e}getGroupLinks(t){const e=[],i=[];e.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${t.voId}/groups/${t.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${t.voId}/groups/${t.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[t])&&"members"!==t.name&&e.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${t.voId}/groups/${t.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${t.voId}/groups/${t.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),e.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${t.voId}/groups/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const n=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[t]),s=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[t]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[t]);return n&&s&&o&&e.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${t.voId}/groups/${t.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(t.id,a.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{i.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${t.voId}/groups/${t.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)}),this.authResolver.isManagerPagePrivileged(t)&&i.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${t.voId}/groups/${t.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${t.voId}/groups/${t.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==i.length&&e.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${t.voId}/groups/${t.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:i,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),e}}return t.\u0275fac=function(e){return new(e||t)(c.LFG(u.sK),c.LFG(n.x4),c.LFG(n.d6),c.LFG(n.F5),c.LFG(s.H8),c.LFG(n.V6),c.LFG(n.x4))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},24081:function(t,e,i){"use strict";i.d(e,{V:function(){return w}});var n=i(61601),s=i(75585),o=i(88426),r=i(17),a=i(31572),c=i(48958);function u(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",9),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)}}function l(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.accessItems.length-1)}}function h(t,e){if(1&t&&a._UZ(0,"app-side-menu-root-item",2),2&t){const t=a.oxw();a.Q6J("sideNav",t.sideNav)("item",t.facilityItem)}}function d(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw(2);a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.facilityItems.length-1)}}function p(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,d,2,5,"div",3),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngForOf",t.facilityItems)}}function g(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.userItems.length-1)}}function f(t,e){if(1&t&&a._UZ(0,"app-side-menu-root-item",6),2&t){const t=a.oxw();a.Q6J("sideNav",t.sideNav)("showOpen",t.adminItemOpened)("item",t.adminItem)}}function m(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw(2);a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",!0)}}function b(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,m,2,5,"div",3),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngForOf",t.adminItems)}}let w=(()=>{class t{constructor(t,e,i,n){this.sideMenuService=t,this.sideMenuItemService=e,this.authResolver=i,this.store=n,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=n.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(t=>{this.setFacilityItems(t)}),this.sideMenuService.accessItemsChange.subscribe(t=>{this.setAccessItems(t)}),this.sideMenuService.adminItemsChange.subscribe(t=>{this.setAdminItems(t)}),this.sideMenuService.userItemsChange.subscribe(t=>{this.setUserItems(t)}),this.sideMenuService.homeItemsChange.subscribe(t=>{this.setHomeItems(t)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(t){this.resetExceptHome(),this.setNewItems(this.homeItems,t)}setFacilityItems(t){this.resetExceptFacility(),this.setNewItems(this.facilityItems,t)}setAccessItems(t){this.resetExceptAccess(),this.setNewItems(this.accessItems,t)}setUserItems(t){this.userItemOpened=!0,this.resetExceptUser(),this.setNewItems(this.userItems,t)}setAdminItems(t){this.adminItemOpened=0===t.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,t)}setNewItems(t,e){const i=t.length>e.length?t.length:e.length;for(let n=0;nt.length-1)t.push(e[n]);else{if(n>e.length-1){const e=t.length;for(let i=0;i{class t{constructor(t){this.dialogRef=t}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.so))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"div",2),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"div"),n._uU(8),n.ALo(9,"translate"),n.qZA(),n.TgZ(10,"div",3),n._uU(11),n.ALo(12,"translate"),n.qZA(),n.qZA(),n.TgZ(13,"div",4),n.TgZ(14,"button",5),n.NdJ("click",function(){return e.onCancel()}),n._uU(15),n.ALo(16,"translate"),n.qZA(),n.TgZ(17,"button",6),n.NdJ("click",function(){return e.submit()}),n._uU(18),n.ALo(19,"translate"),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),n.xp6(4),n.Oqu(n.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")),n.xp6(3),n.Oqu(n.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),n.xp6(3),n.Oqu(n.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),n.xp6(4),n.hij(" ",n.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),n.xp6(3),n.hij(" ",n.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[o.uh,o.xY,o.H8,r.lW],pipes:[a.X$],styles:[""]}),t})();var u=i(88426),l=i(75954),h=i(84140),d=i(57629),p=i(61511),g=i(67806),f=i(67033),m=i(43691),b=i(36922),w=i(16073),_=i(39571),y=i(65050);const A=["table"];function v(t,e){1&t&&n._UZ(0,"mat-spinner",3)}function T(t,e){1&t&&n._UZ(0,"th",24)}function C(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"button",26),n.NdJ("mousedown",function(){return n.CHM(t),n.oxw(2).dragDisabled=!1}),n.TgZ(2,"mat-icon"),n._uU(3,"drag_indicator"),n.qZA(),n.qZA(),n.qZA()}}function S(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")))}function E(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.shortname)}}function k(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")))}function x(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"applicationFormItemType"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.type))}}function R(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")))}function I(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",30),n._uU(2,"lock"),n.qZA(),n._UZ(3,"br"),n._uU(4),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("matTooltip",e.disabledTooltip(t)),n.xp6(3),n.hij(" ",e.disabledHiddenDependency(t,t.disabled,t.disabledDependencyItemId)," ")}}function O(t,e){if(1&t&&(n.TgZ(0,"td",28),n.YNc(1,I,5,2,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","NEVER"!==t.disabled)}}function P(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")))}function D(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",30),n._uU(2,"visibility_off"),n.qZA(),n._UZ(3,"br"),n._uU(4),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("matTooltip",e.hiddenTooltip(t)),n.xp6(3),n.hij(" ",e.disabledHiddenDependency(t,t.hidden,t.hiddenDependencyItemId)," ")}}function M(t,e){if(1&t&&(n.TgZ(0,"td",28),n.YNc(1,D,5,2,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","NEVER"!==t.hidden)}}function L(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")))}function N(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",32),n.qZA(),n.qZA())}function z(t,e){1&t&&(n.TgZ(0,"div",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_VALUE")," "))}function F(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",34),n.qZA(),n.qZA())}function Z(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",35),n._UZ(3,"br"),n._UZ(4,"input",32),n.qZA(),n.qZA())}function B(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"input",38),n._uU(2),n._UZ(3,"br"),n.qZA()),2&t){const t=e.$implicit;n.xp6(2),n.hij(" ",t,"")}}function q(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n.YNc(2,B,4,1,"div",36),n._UZ(3,"input",37),n.ALo(4,"translate"),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t)),n.xp6(1),n.s9C("value",n.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function U(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"span",39),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",e.getLocalizedLabel(t),n.oJD)}}function H(t,e){if(1&t&&(n.TgZ(0,"option"),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t)}}function j(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"select"),n.YNc(2,H,2,1,"option",36),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t))}}function G(t,e){1&t&&(n.TgZ(0,"div"),n._UZ(1,"textarea"),n.qZA())}function Y(t,e){if(1&t&&(n.TgZ(0,"option",43),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t)}}function V(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",32),n.qZA(),n.qZA())}function K(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"select",40),n.NdJ("ngModelChange",function(e){n.CHM(t);const i=n.oxw().$implicit;return n.oxw(2).mapForCombobox[i.id]=e}),n.YNc(2,Y,2,1,"option",41),n.TgZ(3,"option",42),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA(),n.YNc(6,V,3,0,"div",29),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("ngModel",e.mapForCombobox[t.id]),n.xp6(1),n.Q6J("ngForOf",e.getLocalizedOptions(t)),n.xp6(2),n.Oqu(n.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),n.xp6(2),n.Q6J("ngIf","true"===e.mapForCombobox[t.id])}}function J(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"input",44),n._uU(2),n.qZA()),2&t){const t=e.$implicit;n.xp6(2),n.hij(" ",t," ")}}function $(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n.YNc(2,J,3,1,"div",36),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t))}}function Q(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",45),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Oqu(e.getLocalizedLabel(t))}}function W(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"select",46),n.TgZ(2,"option",47),n._uU(3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"option",48),n._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),n.qZA(),n.TgZ(7,"option",49),n._uU(8,"(GMT -11:00) Midway Island, Samoa"),n.qZA(),n.TgZ(9,"option",50),n._uU(10,"(GMT -10:00) Hawaii"),n.qZA(),n.TgZ(11,"option",51),n._uU(12,"(GMT -9:30) Taiohae"),n.qZA(),n.TgZ(13,"option",52),n._uU(14,"(GMT -9:00) Alaska"),n.qZA(),n.TgZ(15,"option",53),n._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),n.qZA(),n.TgZ(17,"option",54),n._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),n.qZA(),n.TgZ(19,"option",55),n._uU(20,"(GMT -6:00) Central Time (US & Canada), Mexico City"),n.qZA(),n.TgZ(21,"option",56),n._uU(22,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),n.qZA(),n.TgZ(23,"option",57),n._uU(24,"(GMT -4:30) Caracas"),n.qZA(),n.TgZ(25,"option",58),n._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),n.qZA(),n.TgZ(27,"option",59),n._uU(28,"(GMT -3:30) Newfoundland"),n.qZA(),n.TgZ(29,"option",60),n._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),n.qZA(),n.TgZ(31,"option",61),n._uU(32,"(GMT -2:00) Mid-Atlantic"),n.qZA(),n.TgZ(33,"option",62),n._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),n.qZA(),n.TgZ(35,"option",63),n._uU(36,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),n.qZA(),n.TgZ(37,"option",64),n._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),n.qZA(),n.TgZ(39,"option",65),n._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),n.qZA(),n.TgZ(41,"option",66),n._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),n.qZA(),n.TgZ(43,"option",67),n._uU(44,"(GMT +3:30) Tehran"),n.qZA(),n.TgZ(45,"option",68),n._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),n.qZA(),n.TgZ(47,"option",69),n._uU(48,"(GMT +4:30) Kabul"),n.qZA(),n.TgZ(49,"option",70),n._uU(50,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),n.qZA(),n.TgZ(51,"option",71),n._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),n.qZA(),n.TgZ(53,"option",72),n._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),n.qZA(),n.TgZ(55,"option",73),n._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),n.qZA(),n.TgZ(57,"option",74),n._uU(58,"(GMT +6:30) Yangon, Mandalay"),n.qZA(),n.TgZ(59,"option",75),n._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),n.qZA(),n.TgZ(61,"option",76),n._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),n.qZA(),n.TgZ(63,"option",77),n._uU(64,"(GMT +8:45) Eucla"),n.qZA(),n.TgZ(65,"option",78),n._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),n.qZA(),n.TgZ(67,"option",79),n._uU(68,"(GMT +9:30) Adelaide, Darwin"),n.qZA(),n.TgZ(69,"option",80),n._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),n.qZA(),n.TgZ(71,"option",81),n._uU(72,"(GMT +10:30) Lord Howe Island"),n.qZA(),n.TgZ(73,"option",82),n._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),n.qZA(),n.TgZ(75,"option",83),n._uU(76,"(GMT +11:30) Norfolk Island"),n.qZA(),n.TgZ(77,"option",84),n._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),n.qZA(),n.TgZ(79,"option",85),n._uU(80,"(GMT +12:45) Chatham Islands"),n.qZA(),n.TgZ(81,"option",86),n._uU(82,"(GMT +13:00) Apia, Nukualofa"),n.qZA(),n.TgZ(83,"option",87),n._uU(84,"(GMT +14:00) Line Islands, Tokelau"),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(3),n.Oqu(n.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")))}function X(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",45),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Oqu(e.getLocalizedLabel(t))}}function tt(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",44),n._uU(3," example group1 "),n._UZ(4,"br"),n._UZ(5,"input",44),n._uU(6," example group2 "),n._UZ(7,"br"),n._UZ(8,"input",44),n._uU(9," example group3 "),n.qZA(),n.qZA())}function et(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,N,3,0,"div",29),n.YNc(2,z,3,3,"div",31),n.YNc(3,F,3,0,"div",29),n.YNc(4,Z,5,0,"div",29),n.YNc(5,q,5,4,"div",29),n.YNc(6,U,2,1,"div",29),n.YNc(7,j,3,1,"div",29),n.YNc(8,G,2,0,"div",29),n.YNc(9,K,7,6,"div",29),n.YNc(10,$,3,1,"div",29),n.YNc(11,Q,3,1,"div",29),n.YNc(12,W,85,3,"div",29),n.YNc(13,X,3,1,"div",29),n.YNc(14,tt,10,0,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type),n.xp6(1),n.Q6J("ngIf","FROM_FEDERATION_HIDDEN"===t.type),n.xp6(1),n.Q6J("ngIf","FROM_FEDERATION_SHOW"===t.type),n.xp6(1),n.Q6J("ngIf","PASSWORD"===t.type),n.xp6(1),n.Q6J("ngIf","RADIO"===t.type),n.xp6(1),n.Q6J("ngIf","HEADING"===t.type||"HTML_COMMENT"===t.type),n.xp6(1),n.Q6J("ngIf","SELECTIONBOX"===t.type),n.xp6(1),n.Q6J("ngIf","TEXTAREA"===t.type),n.xp6(1),n.Q6J("ngIf","COMBOBOX"===t.type),n.xp6(1),n.Q6J("ngIf","CHECKBOX"===t.type),n.xp6(1),n.Q6J("ngIf","SUBMIT_BUTTON"===t.type),n.xp6(1),n.Q6J("ngIf","TIMEZONE"===t.type),n.xp6(1),n.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===t.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type)}}function it(t,e){1&t&&n._UZ(0,"th",24)}function nt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",89),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).openManagingGroups(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"supervised_user_circle"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function st(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,nt,4,3,"button",88),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&!t.forDelete)}}function ot(t,e){1&t&&n._UZ(0,"th",24)}function rt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",92),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).edit(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"edit"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function at(t,e){1&t&&(n.TgZ(0,"div",93),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function ct(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,rt,4,3,"button",90),n.YNc(2,at,3,3,"div",91),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.forDelete),n.xp6(1),n.Q6J("ngIf",t.forDelete)}}function ut(t,e){1&t&&n._UZ(0,"th",24)}function lt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",95),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).delete(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"delete"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}function ht(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",89),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).restore(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"settings_backup_restore"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function dt(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,lt,4,3,"button",94),n.YNc(2,ht,4,3,"button",88),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.forDelete),n.xp6(1),n.Q6J("ngIf",t.forDelete)}}function pt(t,e){1&t&&n._UZ(0,"tr",96)}function gt(t,e){if(1&t&&n._UZ(0,"tr",97),2&t){const t=e.$implicit,i=n.oxw(2);n.ekj("make-green",t.id<=0)("make-red",t.forDelete)("make-yellow",-1!==i.itemsChanged.indexOf(t.id)&&!t.forDelete&&t.id>0),n.Q6J("cdkDragData",t)}}function ft(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",4),n.TgZ(1,"div",5),n.TgZ(2,"div",6),n.TgZ(3,"table",7,8),n.NdJ("cdkDropListDropped",function(e){return n.CHM(t),n.oxw().drop(e)}),n.ynx(5,9),n.YNc(6,T,1,0,"th",10),n.YNc(7,C,4,0,"td",11),n.BQk(),n.ynx(8,12),n.YNc(9,S,3,3,"th",10),n.YNc(10,E,2,1,"td",11),n.BQk(),n.ynx(11,13),n.YNc(12,k,3,3,"th",10),n.YNc(13,x,3,3,"td",11),n.BQk(),n.ynx(14,14),n.YNc(15,R,3,3,"th",15),n.YNc(16,O,2,1,"td",16),n.BQk(),n.ynx(17,17),n.YNc(18,P,3,3,"th",15),n.YNc(19,M,2,1,"td",16),n.BQk(),n.ynx(20,18),n.YNc(21,L,3,3,"th",10),n.YNc(22,et,15,14,"td",11),n.BQk(),n.ynx(23,19),n.YNc(24,it,1,0,"th",10),n.YNc(25,st,2,1,"td",11),n.BQk(),n.ynx(26,20),n.YNc(27,ot,1,0,"th",10),n.YNc(28,ct,3,2,"td",11),n.BQk(),n.ynx(29,21),n.YNc(30,ut,1,0,"th",10),n.YNc(31,dt,3,2,"td",11),n.BQk(),n.YNc(32,pt,1,0,"tr",22),n.YNc(33,gt,1,7,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(3),n.Q6J("cdkDropListDisabled",t.dragDisabled)("dataSource",t.dataSource),n.xp6(29),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns)}}function mt(t,e){1&t&&(n.TgZ(0,"app-alert",98),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let bt=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.notificator=e,this.router=i,this.translate=s,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new n.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}disabledHiddenDependency(t,e,i){let n="";if("IF_EMPTY"===e||"IF_PREFILLED"===e){const t=null===i?"":this.applicationFormItems.find(t=>t.id===i).shortname;n="IF_EMPTY"===e?`(${this.ifEmpty} ${t})`:`(${this.ifPrefilled} ${t})`}return n}disabledTooltip(t){let e;switch(t.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${e} ${this.isEmpty}`;case"IF_PREFILLED":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${e} ${this.isPrefilled}`}}hiddenTooltip(t){let e;switch(t.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${e} ${this.isEmpty}`;case"IF_PREFILLED":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${e} ${this.isPrefilled}`}}edit(t){const e=(0,h.kZ)();e.width="600px",e.height="600px",e.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:t,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(l._,e).afterClosed().subscribe(e=>{e&&(this.itemsChanged.push(t.id),this.applicationFormItemsChange.emit())})}delete(t){const e=(0,h.kZ)();e.width="500px",this.dialog.open(c,e).afterClosed().subscribe(e=>{e&&(t.forDelete=!0,0===t.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(t),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(t){this.dragDisabled=!0;const e=this.applicationFormItems.indexOf(t.item.data);(0,s.bA)(this.applicationFormItems,e,t.currentIndex),this.itemsChanged.push(this.applicationFormItems[t.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(t){if(t.i18n[this.translate.getDefaultLang()]){const e=t.i18n[this.translate.getDefaultLang()].options;if(null!==e&&""!==e){const t=[];for(const i of e.split("|"))t.push(i.split("#")[1]);return t}}return[]}getLocalizedLabel(t){return t.i18n[this.translate.getDefaultLang()]?t.i18n[this.translate.getDefaultLang()].label:t.shortname}restore(t){t.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.uw),n.Y36(u.V6),n.Y36(d.F0),n.Y36(a.sK))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-application-form-list"]],viewQuery:function(t,e){if(1&t&&n.Gf(A,5),2&t){let t;n.iGM(t=n.CRH())&&(e.table=t.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.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"],["class","font-italic disabled",4,"ngIf"],["type","text"],[1,"font-italic","disabled"],["disabled",""],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(t,e){1&t&&(n.YNc(0,v,1,0,"mat-spinner",0),n.YNc(1,ft,34,4,"div",1),n.YNc(2,mt,3,3,"app-alert",2)),2&t&&(n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",0!==e.applicationFormItems.length&&!e.loading),n.xp6(1),n.Q6J("ngIf",0===e.applicationFormItems.length&&!e.loading))},directives:[p.O5,g.$g,f.BZ,s.Wj,f.w1,f.fO,f.Dz,f.as,f.nj,f.ge,f.ev,r.lW,m.Hw,b.gM,w._Y,w.JL,w.F,p.sg,w.YN,w.Kr,w.EJ,w.JJ,w.On,f.XQ,f.Gk,s.Zt,_.w],pipes:[a.X$,y.c],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .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}"]}),t})()},29851:function(t,e,i){"use strict";i.d(e,{w:function(){return et}});var n=i(31572),s=i(33642),o=i(67033),r=i(84140),a=i(88426),c=i(57629),u=i(82819),l=i(61511),h=i(84534),d=i(67806),p=i(39571),g=i(48160),f=i(22196);function m(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function b(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function w(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_ID")))}function _(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.id)}}function y(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_NAME")))}function A(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.name)}}function v(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_ID")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.group?t.group.id:"")}}function C(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function S(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.group?t.group.name:"")}}function E(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.type)}}function x(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.state)}}function I(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.extSourceName)}}function P(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.extSourceType)}}function M(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_USER")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.user?n.lcZ(2,1,t.user):"null"," ")}}function N(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_BY")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function F(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.createdAt,"d.M.y"))}}function B(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function q(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.getFriendlyName(t.modifiedBy))}}function U(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT")))}function H(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.modifiedAt,"d.M.y"))}}function j(t,e){if(1&t&&(n.TgZ(0,"th",26),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(t)}}function G(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw().$implicit;n.xp6(1),n.Oqu(t[i])}}function Y(t,e){1&t&&(n.ynx(0,29),n.YNc(1,j,2,1,"th",4),n.YNc(2,G,2,1,"td",11),n.BQk()),2&t&&n.Q6J("matColumnDef",e.$implicit)}function V(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_FEDINFO")))}function K(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.fedInfo)}}function J(t,e){1&t&&n._UZ(0,"tr",30)}function $(t,e){if(1&t&&n._UZ(0,"tr",31),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))("routerLink",i.selectApplication(t))}}function Q(t,e){1&t&&n._UZ(0,"mat-spinner",32)}function W(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND")," "))}function X(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")," "))}function tt(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,W,3,3,"app-alert",33),n.YNc(2,X,3,3,"app-alert",33),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",0===t.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.table.length)}}let et=(()=>{class t{constructor(t,e,i){this.router=t,this.authResolver=e,this.registrarManager=i,this.applications=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.displayedColumns=["id","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","createdAt","modifiedBy","modifiedAt","fedInfo"],this.loading=!1,this.table=[],this.addedColumns=new Set,this.pageSizeOptions=r.f7}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.loading=!0,this.table=[],this.initialize(),this.getApplicationsData(0)}getExportDataForColumn(t,e){var i,n,s,o;switch(e){case"id":return t.id.toString();case"voId":return t.vo.id.toString();case"voName":return t.vo.name;case"groupId":return null!==(n=null===(i=t.group)||void 0===i?void 0:i.id.toString())&&void 0!==n?n:"";case"groupName":return null!==(o=null===(s=t.group)||void 0===s?void 0:s.name)&&void 0!==o?o:"";case"type":return t.type;case"fedInfo":return t.fedInfo;case"state":return t.state;case"extSourceName":return t.extSourceName;case"extSourceType":return t.extSourceType;case"user":return t.user?(0,r.bD)(t.user):"";case"createdBy":return t.createdBy;case"createdAt":return t.createdAt;case"modifiedBy":return t.modifiedBy;case"modifiedAt":return t.modifiedAt;default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}getApplicationsData(t){if(this.applications.length===t)return void this.initialize();const e=this.applications[t],i={};i.id=e.id,i.vo=e.vo,i.group=e.group,i.type=e.type,i.fedInfo=e.fedInfo,i.state=e.state,i.extSourceName=e.extSourceName,i.extSourceType=e.extSourceType,i.extSourceLoa=e.extSourceLoa,i.user=e.user,i.createdBy=e.createdBy,i.createdAt=e.createdAt,i.modifiedBy=e.modifiedBy,i.modifiedAt=e.modifiedAt,this.registrarManager.getApplicationDataById(e.id).subscribe(e=>{for(const t of e)null!==t.formItem.i18n.en.label&&0!==t.formItem.i18n.en.label.length?(i[t.formItem.i18n.en.label]=t.value,this.addedColumns.add(t.formItem.i18n.en.label)):(i[t.shortname]=t.value,this.addedColumns.add(t.shortname));this.table.push(i),this.getApplicationsData(t+1)})}initialize(){for(const t of this.addedColumns)this.displayedColumns.push(t);this.dataSource=new o.by(this.table),this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage(),this.loading=!1}getFriendlyName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}selectApplication(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.F0),n.Y36(a.x4),n.Y36(s.tk))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-perun-web-apps-application-list-details"]],viewQuery:function(t,e){if(1&t&&n.Gf(r.l9,7),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{applications:"applications",group:"group",member:"member",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:53,vars:12,consts:[[1,"card","mt-2","w-100",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","voId"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","createdAt"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","fedInfo"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[1,"ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,3,3,"th",4),n.YNc(5,b,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,w,3,3,"th",4),n.YNc(8,_,2,1,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,y,3,3,"th",4),n.YNc(11,A,2,1,"td",5),n.BQk(),n.ynx(12,8),n.YNc(13,v,3,3,"th",4),n.YNc(14,T,2,1,"td",5),n.BQk(),n.ynx(15,9),n.YNc(16,C,3,3,"th",4),n.YNc(17,S,2,1,"td",5),n.BQk(),n.ynx(18,10),n.YNc(19,E,3,3,"th",4),n.YNc(20,k,2,1,"td",11),n.BQk(),n.ynx(21,12),n.YNc(22,x,3,3,"th",4),n.YNc(23,R,2,1,"td",11),n.BQk(),n.ynx(24,13),n.YNc(25,I,3,3,"th",4),n.YNc(26,O,2,1,"td",11),n.BQk(),n.ynx(27,14),n.YNc(28,P,3,3,"th",4),n.YNc(29,D,2,1,"td",11),n.BQk(),n.ynx(30,15),n.YNc(31,M,3,3,"th",4),n.YNc(32,L,3,3,"td",11),n.BQk(),n.ynx(33,16),n.YNc(34,N,3,3,"th",4),n.YNc(35,z,2,1,"td",11),n.BQk(),n.ynx(36,17),n.YNc(37,F,3,3,"th",4),n.YNc(38,Z,3,4,"td",11),n.BQk(),n.ynx(39,18),n.YNc(40,B,3,3,"th",4),n.YNc(41,q,2,1,"td",11),n.BQk(),n.ynx(42,19),n.YNc(43,U,3,3,"th",4),n.YNc(44,H,3,4,"td",11),n.BQk(),n.YNc(45,Y,3,1,"ng-container",20),n.ynx(46,21),n.YNc(47,V,3,3,"th",4),n.YNc(48,K,2,1,"td",11),n.BQk(),n.YNc(49,J,1,0,"tr",22),n.YNc(50,$,1,4,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.YNc(51,Q,1,0,"mat-spinner",24),n.YNc(52,tt,3,2,"div",25)),2&t&&(n.ekj("hide-table",e.loading),n.Q6J("hidden",0===e.table.length||!!e.dataSource&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(43),n.Q6J("ngForOf",e.addedColumns),n.xp6(4),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",!e.loading))},directives:[u.l,o.BZ,o.w1,o.fO,o.Dz,l.sg,o.as,o.nj,l.O5,o.ge,o.ev,o.XQ,o.Gk,h.YH,c.rH,d.$g,p.w],pipes:[g.X$,f.d,l.uU],styles:[".mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%], mat-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding:8px!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},21548:function(t,e,i){"use strict";i.d(e,{M:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),u=i(61511),l=i(43691),h=i(36922),d=i(84534),p=i(57629),g=i(39571),f=i(48160),m=i(84650),b=i(22196);function w(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function _(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function y(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function A(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.createdAt,"d.M.y"))}}function v(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function T(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",20),n._uU(2,"arrow_right_alt"),n.qZA(),n.qZA())}function C(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",21),n._uU(2,"restore"),n.qZA(),n.qZA())}function S(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",22),n._uU(2,"nat"),n.qZA(),n.qZA())}function E(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,T,3,0,"div",19),n.YNc(2,C,3,0,"div",19),n.YNc(3,S,3,0,"div",19),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","INITIAL"===t.type),n.xp6(1),n.Q6J("ngIf","EXTENSION"===t.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED"===t.type)}}function k(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function x(t,e){if(1&t&&(n.TgZ(0,"td",18),n._UZ(1,"span",23),n.ALo(2,"applicationState"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("outerHTML",n.lcZ(2,1,t.state),n.oJD)}}function R(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function I(t,e){if(1&t&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.hij(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function O(t,e){if(1&t&&(n._uU(0),n.ALo(1,"userFullName")),2&t){const t=n.oxw().$implicit;n.hij(" ",n.lcZ(1,1,t.user)," ")}}function P(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,I,2,1,"div",24),n.YNc(2,O,2,3,"ng-template",null,25,n.W1O),n.qZA()),2&t){const t=e.$implicit,i=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===t.user)("ngIfElse",i)}}function D(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function M(t,e){1&t&&(n.TgZ(0,"div",28),n._uU(1," - "),n.qZA())}function L(t,e){if(1&t&&n._uU(0),2&t){const t=n.oxw().$implicit;n.hij(" ",t.group.name," ")}}function N(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,M,2,0,"div",26),n.YNc(2,L,1,1,"ng-template",null,27,n.W1O),n.qZA()),2&t){const t=e.$implicit,i=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===t.group)("ngIfElse",i)}}function z(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.getFriendlyName(t.modifiedBy))}}function Z(t,e){1&t&&n._UZ(0,"tr",29)}function B(t,e){if(1&t&&n._UZ(0,"tr",30),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))("routerLink",i.selectApplication(t))}}function q(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let H=(()=>{class t{constructor(t){this.authResolver=t,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){this.setDataSource()}getSortDataForColumn(t,e,i){var n;switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?(0,r.bD)(t.user):t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}parseModifiedBy(t){const e=t.modifiedBy.lastIndexOf("/CN=");if(-1!==e){const i=t.modifiedBy.slice(e+4,t.modifiedBy.length).replace("/unstructuredName="," ").toLowerCase();return-1!==i.lastIndexOf("\\")?t.modifiedBy.slice(t.modifiedBy.lastIndexOf("=")+1,t.modifiedBy.length):i}return t.modifiedBy.toLowerCase()}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.applications}getFriendlyName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}selectApplication(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-applications-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","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","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","user"],["matColumnDef","group"],["matColumnDef","modifiedBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],["class","font-italic text-muted",4,"ngIf","ngIfElse"],["groupName",""],[1,"font-italic","text-muted"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,w,3,3,"th",4),n.YNc(5,_,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,y,3,3,"th",4),n.YNc(8,A,3,4,"td",7),n.BQk(),n.ynx(9,8),n.YNc(10,v,3,3,"th",4),n.YNc(11,E,4,3,"td",7),n.BQk(),n.ynx(12,9),n.YNc(13,k,3,3,"th",4),n.YNc(14,x,3,3,"td",7),n.BQk(),n.ynx(15,10),n.YNc(16,R,3,3,"th",4),n.YNc(17,P,4,2,"td",7),n.BQk(),n.ynx(18,11),n.YNc(19,D,3,3,"th",4),n.YNc(20,N,4,2,"td",7),n.BQk(),n.ynx(21,12),n.YNc(22,z,3,3,"th",4),n.YNc(23,F,2,1,"td",7),n.BQk(),n.YNc(24,Z,1,0,"tr",13),n.YNc(25,B,1,4,"tr",14),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,q,3,3,"app-alert",15),n.YNc(27,U,3,3,"app-alert",15)),2&t&&(n.Q6J("hidden",0===e.applications.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.applications.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.applications.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,s.nU,o.ev,l.Hw,h.gM,o.XQ,o.Gk,d.YH,p.rH,g.w],pipes:[f.X$,u.uU,m.h,b.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},62284:function(t,e,i){"use strict";i.d(e,{W:function(){return k}});var n=i(33642),s=i(60611),o=i(88426),r=i(16073),a=i(61511),c=i(31572),u=i(57629),l=i(59403),h=i(66283),d=i(4786),p=i(71522),g=i(91058),f=i(51613),m=i(15980),b=i(67806),w=i(21548),_=i(29851),y=i(48160);function A(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(t),c.oxw().showAllDetails=!0}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function v(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(t),c.oxw().showAllDetails=!1}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function T(t,e){1&t&&c._UZ(0,"mat-spinner",16)}function C(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-applications-list",19),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).pageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.pageSize)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)("applications",t.applications)("displayedColumns",t.displayedColumns)("group",t.group)}}function S(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-perun-web-apps-application-list-details",20),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).detailPageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.detailPageSize)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)("applications",t.applications)("group",t.group)}}function E(t,e){if(1&t&&(c.TgZ(0,"div"),c.YNc(1,C,1,6,"app-applications-list",17),c.YNc(2,S,1,5,"app-perun-web-apps-application-list-details",18),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",!t.showAllDetails),c.xp6(1),c.Q6J("ngIf",t.showAllDetails)}}let k=(()=>{class t{constructor(t,e,i,n,o,r){this.groupService=t,this.registrarManager=e,this.tableConfigService=i,this.route=n,this.guiAuthResolver=o,this.store=r,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=s.Af,this.tableId=s.gB,this.routeAuth=!1}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,this.setData(["NEW","VERIFIED"])}),this.startDate=new r.NI((0,a.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new r.NI((0,a.p6)(new Date,"yyyy-MM-dd","en-GB"))})}setAuth(){0!==this.applications.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("group-getApplicationById_int_policy",[this.group]))}setData(t){this.registrarManager.getApplicationsForGroup(this.group.id,t,(0,a.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,a.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(t=>{this.applications=t,this.setAuth(),this.loading=!1})}select(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}yearAgo(){const t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="GroupApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(n.ff),c.Y36(n.tk),c.Y36(s.dB),c.Y36(u.gz),c.Y36(o.x4),c.Y36(o.d6))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:34,vars:32,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page"],[3,"pageSize","disableRouting","filterValue","applications","group","page"]],template:function(t,e){1&t&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"div"),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.select()}),c.qZA(),c.YNc(5,A,3,3,"button",2),c.YNc(6,v,3,3,"button",2),c.TgZ(7,"mat-form-field",3),c.TgZ(8,"mat-label"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"mat-select",4),c.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),c.TgZ(12,"mat-option",5),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.TgZ(15,"mat-option",6),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"mat-option",7),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-option",8),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.TgZ(24,"mat-option",9),c._uU(25),c.ALo(26,"translate"),c.qZA(),c.TgZ(27,"mat-option",10),c._uU(28),c.ALo(29,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(30,"perun-web-apps-debounce-filter",11),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.TgZ(31,"perun-web-apps-date-range",12),c.NdJ("datePicker",function(){return e.select()}),c.qZA(),c.qZA(),c.YNc(32,T,1,0,"mat-spinner",13),c.YNc(33,E,3,2,"div",14)),2&t&&(c.xp6(1),c.Oqu(c.lcZ(2,16,"VO_DETAIL.APPLICATION.TITLE")),c.xp6(4),c.Q6J("ngIf",!e.showAllDetails),c.xp6(1),c.Q6J("ngIf",e.showAllDetails),c.xp6(3),c.Oqu(c.lcZ(10,18,"VO_DETAIL.APPLICATION.TABLE_STATE")),c.xp6(2),c.Q6J("value",e.state),c.xp6(2),c.Oqu(c.lcZ(14,20,"VO_DETAIL.APPLICATION.SELECTION_ALL")),c.xp6(3),c.Oqu(c.lcZ(17,22,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),c.xp6(3),c.Oqu(c.lcZ(20,24,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),c.xp6(3),c.Oqu(c.lcZ(23,26,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),c.xp6(3),c.Oqu(c.lcZ(26,28,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),c.xp6(3),c.Oqu(c.lcZ(29,30,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),c.xp6(2),c.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),c.xp6(1),c.Q6J("startDate",e.startDate)("endDate",e.endDate),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[l.t,a.O5,h.KE,h.hX,d.gD,p.ey,g.P,f.S,m.lW,b.$g,w.M,_.w],pipes:[y.X$],styles:[""]}),t})()},11930:function(t,e,i){"use strict";i.d(e,{y:function(){return N}});var n=i(4230),s=i(88426),o=i(67004),r=i(85613),a=i(4374),c=i(33642),u=i(60611),l=i(84140),h=i(88690),d=i(16073),p=i(31572),g=i(57629),f=i(84608),m=i(61511),b=i(59403),w=i(36922),_=i(66283),y=i(4786),A=i(91058),v=i(39571),T=i(15980),C=i(71522),S=i(67806),E=i(91779),k=i(48160);function x(t,e){1&t&&(p.TgZ(0,"app-alert",14),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function R(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAddMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.synchEnabled||t.blockManualMemberAdding),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function I(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onInviteMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.synchEnabled),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function O(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemoveMembers()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.selection.isEmpty()||t.synchEnabled),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function P(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function D(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function M(t,e){1&t&&p._UZ(0,"mat-spinner",18)}function L(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-members-dynamic-list",19),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("voId",t.group.voId)("groupId",t.group.id)("pageSize",t.pageSize)("selection",t.selection)("displayedColumns",t.displayedColumns)("updateTable",t.updateTable)("searchString",t.searchString)("selectedStatuses",t.selectedStatuses)("selectedGroupStatuses",t.selectedGroupStatuses)("attrNames",t.memberAttrNames)}}let N=(()=>{class t{constructor(t,e,i,n,s,r,a,c,l){this.groupService=t,this.route=e,this.tableConfigService=i,this.dialog=n,this.guiAuthResolver=s,this.storeService=r,this.attributesManager=a,this.apiRequest=c,this.notificator=l,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=u.dI,this.memberAttrNames=[o.r.MEMBER_DEF_ORGANIZATION,o.r.MEMBER_DEF_MAIL,o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL,o.r.MEMBER_DEF_EXPIRATION,o.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[o.r.GROUP_SYNC_ENABLED,o.r.GROUP_LAST_SYNC_STATE,o.r.GROUP_LAST_SYNC_TIMESTAMP,o.r.GROUP_STRUCTURE_SYNC_ENABLED,o.r.GROUP_LAST_STRUCTURE_SYNC_STATE,o.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new d.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new d.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new n.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(t=>{const e=t.groupId;this.isManualAddingBlocked(t.voId,e).then(()=>this.loadPage(e))})}loadPage(t){this.groupService.getRichGroupByIdWithAttributesByNames(t,this.groupAttrNames).subscribe(t=>{this.group=t,this.synchEnabled=this.isSynchronized(),this.setAuthRights(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(t){this.searchString=t,this.updateTable=!this.updateTable}onAddMember(){const t=(0,l.kZ)();t.width="1000px",t.data={voId:this.group.voId,group:this.group,entityId:this.group.id,theme:"group-theme",type:"group"},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const t=(0,l.kZ)();t.width="450px",t.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(a.X,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const t=(0,l.kZ)();t.width="650px",t.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.R,t)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(t,e){return new Promise(i=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,!0!==this.blockManualMemberAdding?(this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(e,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,i()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),i()})):i()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),i()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return t.id="GroupMembersComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(c.ff),p.Y36(g.gz),p.Y36(u.dB),p.Y36(f.uw),p.Y36(s.x4),p.Y36(s.d6),p.Y36(c.H8),p.Y36(s.F5),p.Y36(s.V6))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:36,vars:41,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page",4,"ngIf"],["alert_type","warn"],["color","accent","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.YNc(3,x,3,3,"app-alert",1),p.TgZ(4,"div",2),p.TgZ(5,"perun-web-apps-refresh-button",3),p.NdJ("click",function(){return e.updateTable=!e.updateTable}),p.qZA(),p.TgZ(6,"span",4),p.ALo(7,"translate"),p.TgZ(8,"div",5),p.ALo(9,"translate"),p.YNc(10,R,3,4,"button",6),p.qZA(),p.qZA(),p.TgZ(11,"span",4),p.ALo(12,"translate"),p.YNc(13,I,3,4,"button",6),p.qZA(),p.TgZ(14,"span",4),p.ALo(15,"translate"),p.YNc(16,O,3,4,"button",7),p.qZA(),p.TgZ(17,"mat-form-field",8),p.TgZ(18,"mat-label"),p._uU(19),p.ALo(20,"translate"),p.qZA(),p.TgZ(21,"mat-select",9),p.NdJ("closed",function(){return e.changeVoStatuses()}),p.TgZ(22,"mat-select-trigger"),p._uU(23),p.qZA(),p.YNc(24,P,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(25,"mat-form-field",8),p.TgZ(26,"mat-label"),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.TgZ(29,"mat-select",9),p.NdJ("closed",function(){return e.changeGroupStatuses()}),p.TgZ(30,"mat-select-trigger"),p._uU(31),p.qZA(),p.YNc(32,D,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(33,"perun-web-apps-debounce-filter",11),p.NdJ("filter",function(t){return e.onSearchByString(t)}),p.qZA(),p.qZA(),p.YNc(34,M,1,0,"mat-spinner",12),p.YNc(35,L,1,10,"perun-web-apps-members-dynamic-list",13)),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),p.xp6(2),p.Q6J("ngIf",e.synchEnabled),p.xp6(3),p.s9C("matTooltip",p.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.s9C("matTooltip",p.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),p.xp6(2),p.Q6J("ngIf",e.addAuth),p.xp6(1),p.s9C("matTooltip",p.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.Q6J("ngIf",e.inviteAuth),p.xp6(1),p.s9C("matTooltip",p.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.Q6J("ngIf",e.removeAuth),p.xp6(3),p.Oqu(p.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),p.xp6(2),p.Q6J("formControl",e.statuses),p.xp6(2),p.hij(" ",e.displaySelectedStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.statusList),p.xp6(3),p.Oqu(p.lcZ(28,39,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),p.xp6(2),p.Q6J("formControl",e.groupStatuses),p.xp6(2),p.hij(" ",e.displaySelectedGroupStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.groupStatusList),p.xp6(1),p.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[m.O5,b.t,w.gM,_.KE,_.hX,y.gD,d.JJ,d.oH,y.$L,m.sg,A.P,v.w,T.lW,C.ey,S.$g,E.m],pipes:[k.X$],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}"]}),t})()},7433:function(t,e,i){"use strict";i.d(e,{q:function(){return B}});var n=i(4230),s=i(33642),o=i(60611),r=i(84608),a=i(88426),c=(i(41939),i(31572)),u=i(48160),l=i(19139),h=i(61511),d=i(67806),p=i(88884),g=i(29236),f=i(36922),m=i(16073),b=i(15980);const w=["list"];function _(t,e){1&t&&c._UZ(0,"mat-spinner",4)}const y=function(){return["select","id","name","facility","tags","description"]};function A(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",5),c._UZ(2,"perun-web-apps-resources-list",6,7),c.qZA(),c.TgZ(4,"div",8),c.TgZ(5,"mat-checkbox",9),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw().async=e}),c.ALo(6,"translate"),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.TgZ(9,"button",10),c.NdJ("click",function(){return c.CHM(t),c.oxw().onCancel()}),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.TgZ(12,"span",11),c.ALo(13,"translate"),c.TgZ(14,"button",12),c.NdJ("click",function(){return c.CHM(t),c.oxw().onSubmit()}),c._uU(15),c.ALo(16,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.MAs(3),e=c.oxw();c.xp6(2),c.Q6J("resources",e.resources)("disableRouting",!0)("selection",e.selection)("groupToResource",e.data.group)("displayedColumns",c.DdM(24,y))("filterValue",e.filterValue),c.xp6(3),c.s9C("matTooltip",c.lcZ(6,14,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT_DESCRIPTION")),c.Q6J("ngModel",e.async),c.xp6(2),c.hij(" ",c.lcZ(8,16,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),c.xp6(3),c.hij(" ",c.lcZ(11,18,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),c.xp6(2),c.s9C("matTooltip",c.lcZ(13,20,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),c.Q6J("matTooltipDisabled",void 0===t||t.addAuth),c.xp6(2),c.Q6J("disabled",0===e.selection.selected.length||e.loading||void 0!==t&&!t.addAuth),c.xp6(1),c.hij(" ",c.lcZ(16,22,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}let v=(()=>{class t{constructor(t,e,i,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.resourcesManager=o,this.filterValue="",this.resources=[],this.selection=new n.Ov(!0,[]),this.theme="",this.async=!0}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.resourcesManager.getRichResources(this.data.voId).subscribe(t=>{this.resources=t.filter(t=>!this.data.unwantedResources.includes(t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=this.selection.selected.map(t=>t.id);this.resourcesManager.assignGroupToResources(this.data.group.id,t,this.async).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(r.so),c.Y36(r.WI),c.Y36(a.V6),c.Y36(u.sK),c.Y36(s.xk))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(t,e){if(1&t&&c.Gf(w,5),2&t){let t;c.iGM(t=c.CRH())&&(e.list=t.first)}},decls:8,vars:11,consts:[["mat-dialog-title",""],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-immediate-filter",1),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.ALo(5,"translate"),c.qZA(),c.YNc(6,_,1,0,"mat-spinner",2),c.YNc(7,A,17,25,"div",3),c.qZA()),2&t&&(c.Tol(e.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),c.xp6(2),c.Q6J("placeholder",c.lcZ(5,9,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[r.uh,l.L,h.O5,d.$g,r.xY,p.C,r.H8,g.oG,f.gM,m.JJ,m.On,b.lW],pipes:[u.X$],styles:[""]}),t})();var T=i(67033);function C(t,e){1&t&&c._UZ(0,"mat-spinner",4)}function S(t,e){1&t&&c._UZ(0,"th",13)}function E(t,e){if(1&t&&(c.TgZ(0,"td",14),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",t.name," ")}}function k(t,e){1&t&&c._UZ(0,"tr",15)}function x(t,e){1&t&&c._UZ(0,"tr",16)}function R(t,e){if(1&t&&(c.TgZ(0,"div",5),c.TgZ(1,"p"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",6),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",7),c.ynx(8,8),c.YNc(9,S,1,0,"th",9),c.YNc(10,E,2,1,"td",10),c.BQk(),c.YNc(11,k,1,0,"tr",11),c.YNc(12,x,1,0,"tr",12),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),c.xp6(2),c.Q6J("dataSource",t.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",t.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",t.displayedColumns)}}function I(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",17),c.TgZ(1,"button",18),c.NdJ("click",function(){return c.CHM(t),c.oxw().onCancel()}),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"button",19),c.NdJ("click",function(){return c.CHM(t),c.oxw().onSubmit()}),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA()}if(2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let O=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourcesManager=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new T.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=this.data.resources.map(t=>t.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,t).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(r.so),c.Y36(r.WI),c.Y36(a.V6),c.Y36(u.sK),c.Y36(s.xk))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,C,1,0,"mat-spinner",1),c.YNc(5,R,13,9,"div",2),c.YNc(6,I,7,7,"div",3),c.qZA()),2&t&&(c.Tol(e.data.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[r.uh,h.O5,d.$g,r.xY,T.BZ,T.w1,T.fO,T.Dz,T.as,T.nj,T.ge,T.ev,T.XQ,T.Gk,r.H8,b.lW],pipes:[u.X$],styles:[""]}),t})();var P=i(84140),D=i(57629),M=i(59403);const L=["list"];function N(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(t),c.oxw().addResource()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function z(t,e){1&t&&c._UZ(0,"mat-spinner",9)}const F=function(){return["select","id","name","status","facility","tags","description"]};function Z(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-resources-list",10,11),c.NdJ("page",function(e){return c.CHM(t),c.oxw().pageChanged(e)})("refreshTable",function(){return c.CHM(t),c.oxw().refreshTable()}),c.qZA()}if(2&t){const t=c.oxw();c.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routingAuth)("selection",t.selected)("groupToResource",t.group)("groupId",t.groupId)("displayedColumns",c.DdM(9,F))}}let B=(()=>{class t{constructor(t,e,i,s,r,a){this.resourcesManager=t,this.groupService=e,this.tableConfigService=i,this.route=s,this.dialog=r,this.guiAuthResolver=a,this.resources=null,this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=o.v1,this.addAuth=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.voId=t.voId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,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(t=>{this.resources=t.map(t=>{const e=t.enrichedResource.resource;return e.facility=t.facility,e.status=t.status,e.resourceTags=t.resourceTags,e.failureCause=t.failureCause,e}),this.selected.clear(),this.setAuthorization(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addResource(){const t=(0,P.kZ)();t.width="1000px",t.data={theme:"group-theme",group:this.group,voId:this.voId,unwantedResources:this.resources.map(t=>t.id)},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeResource(){const t=(0,P.kZ)();t.width="450px",t.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(O,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.id="GroupResourcesComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(s.xk),c.Y36(s.ff),c.Y36(o.dB),c.Y36(D.gz),c.Y36(r.uw),c.Y36(a.x4))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-group-resources"]],viewQuery:function(t,e){if(1&t&&c.Gf(L,5),2&t){let t;c.iGM(t=c.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.refreshTable()}),c.qZA(),c.YNc(5,N,3,3,"button",2),c.TgZ(6,"span",3),c.ALo(7,"translate"),c.TgZ(8,"button",4),c.NdJ("click",function(){return e.removeResource()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.TgZ(11,"perun-web-apps-immediate-filter",5),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.YNc(12,z,1,0,"mat-spinner",6),c.YNc(13,Z,2,10,"perun-web-apps-resources-list",7),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),c.xp6(3),c.Q6J("ngIf",e.addAuth),c.xp6(1),c.s9C("matTooltip",c.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),c.Q6J("matTooltipDisabled",0===e.selected.selected.length||void 0!==e.list&&e.list.removeAuth),c.xp6(2),c.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),c.xp6(1),c.hij(" ",c.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),c.xp6(2),c.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",e.resources&&!e.loading))},directives:[M.t,h.O5,f.gM,b.lW,l.L,d.$g,p.C],pipes:[u.X$],styles:[""]}),t})()},65423:function(t,e,i){"use strict";i.d(e,{Z:function(){return Z}});var n=i(88426),s=i(92438),o=i(75954),r=i(68570),a=i(24555),c=i(33642),u=i(84140),l=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),f=i(67806),m=i(43691),b=i(36922),w=i(27679),_=i(59403),y=i(15980),A=i(92846),v=i(27521),T=i(16073),C=i(39571);const S=["autoRegToggle"];function E(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function k(t,e){if(1&t&&(l.TgZ(0,"span"),l._uU(1," , "),l.TgZ(2,"mat-icon",21),l._uU(3,"nat"),l.qZA(),l._uU(4),l.ALo(5,"translate"),l.ALo(6,"translate"),l.qZA()),2&t){const t=l.oxw(2);l.xp6(4),l.hij(" ",t.applicationForm.automaticApprovalEmbedded?l.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function x(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"mat-slide-toggle",22,23),l.NdJ("change",function(){return l.CHM(t),l.oxw(2).updateAutoRegistration()}),l._uU(3),l.ALo(4,"translate"),l.qZA(),l.qZA()}if(2&t){const t=l.oxw(2);l.xp6(1),l.Q6J("disabled",!t.changeAutoRegistration)("ngModel",t.autoRegistrationEnabled),l.xp6(2),l.hij(" ",l.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function R(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function I(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function O(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",26),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("disabled",!t.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function P(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",27),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function D(t,e){1&t&&(l.TgZ(0,"app-alert",28),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const M=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},L=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function N(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.YNc(21,k,7,5,"span",2),l.qZA(),l.YNc(22,x,5,5,"div",2),l.qZA(),l.TgZ(23,"div",9),l.YNc(24,R,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(25,"mat-divider",11),l.TgZ(26,"div",12),l.TgZ(27,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(t),l.oxw().updateFormItems()}),l.qZA(),l.YNc(28,I,3,3,"button",14),l.YNc(29,O,5,4,"button",15),l.YNc(30,P,5,3,"button",16),l.TgZ(31,"button",17),l.NdJ("click",function(){return l.CHM(t),l.oxw().preview()}),l.TgZ(32,"i",18),l._uU(33,"search"),l.qZA(),l._uU(34),l.ALo(35,"translate"),l.qZA(),l.qZA(),l.YNc(36,D,3,3,"app-alert",19),l.TgZ(37,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(t),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(2),l.Q6J("ngClass",t.autoRegistrationEnabled?"w-75":"w-50"),l.xp6(2),l.AsE("",l.lcZ(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",t.applicationForm.automaticApproval?l.lcZ(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",t.applicationForm.automaticApprovalExtension?l.lcZ(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(3),l.Q6J("ngIf",t.autoRegistrationEnabled),l.xp6(1),l.Q6J("ngIf",t.voHasEmbeddedGroupApplication),l.xp6(2),l.Q6J("ngIf",t.editAuth),l.xp6(4),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("ngIf",t.editAuth),l.xp6(4),l.hij(" ",l.lcZ(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","group-theme")("displayedColumns",t.editAuth?l.DdM(33,M):l.DdM(34,L))}}function z(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",17),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).createEmptyApplicationForm()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function F(t,e){if(1&t&&(l.TgZ(0,"div"),l.TgZ(1,"app-alert",29),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,z,3,3,"button",30),l.qZA()),2&t){const t=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),l.xp6(2),l.Q6J("ngIf",t.createEmptyForm)}}let Z=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.registrarManager=t,this.route=e,this.dialog=i,this.notificator=n,this.translate=s,this.apiRequest=o,this.router=r,this.guiAuthResolver=a,this.groupsManager=c,this.attributesManager=u,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupsManager.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.groupId).subscribe(t=>{this.applicationForm=t,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(t=>{this.applicationFormItems=t,this.attributesManager.getGroupAttributeByName(this.groupId,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(t=>{this.voHasEmbeddedGroupApplication=null!==t.value,this.autoRegistrationEnabled=!!t.value,this.setAuth(),this.loading=!1})},()=>this.loading=!1)},t=>{"FormNotExistsException"===t.error.name?(this.noApplicationForm=!0,this.setAuth(),this.loading=!1):this.notificator.showRPCError(t.error)})},()=>this.loading=!1)})}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 t=(0,u.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(s.J,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=(0,u.kZ)(),t.width="600px",t.height="600px",t.data={voId:this.voId,groupId:this.groupId,applicationFormItem:e[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(o._,t),this.itemsChanged=!0)})}copy(){const t=(0,u.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(r.W,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=(0,u.kZ)();t.width="400px",t.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(a.E,t).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.applicationForm=t)})}preview(){this.router.navigate(["/organizations",this.voId,"groups",this.groupId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(t=>{this.applicationFormItems=t,this.itemsChanged=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.groupId).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let t=0;for(const e of this.applicationFormItems)e.ordnum=t,e.forDelete||t++;this.registrarManager.updateFormItemsForGroup({group:this.groupId,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),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(t=>{this.notificator.showSuccess(t)}),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(t=>{this.notificator.showSuccess(t)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return t.id="GroupSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(c.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(n.V6),l.Y36(p.sK),l.Y36(n.F5),l.Y36(h.F0),l.Y36(n.x4),l.Y36(c.ff),l.Y36(c.H8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-group-settings-application-form"]],viewQuery:function(t,e){if(1&t&&l.Gf(S,5),2&t){let t;l.iGM(t=l.CRH())&&(e.autoRegToggle=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,E,1,0,"mat-spinner",1),l.YNc(4,N,38,35,"div",2),l.YNc(5,F,5,4,"div",2)),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&!e.noApplicationForm),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.noApplicationForm))},directives:[g.O5,f.$g,g.mk,m.Hw,b.gM,w.d,_.t,y.lW,A.b,v.Rr,T.JJ,T.On,C.w],pipes:[p.X$],styles:[""]}),t})()},82044:function(t,e,i){"use strict";i.d(e,{u:function(){return F}});var n=i(88419),s=i(4230),o=i(43491),r=i(84140),a=i(33642),c=i(67004),u=i(60611),l=i(57820),h=i(88426),d=(i(41939),i(31572)),p=i(84608),g=i(57629),f=i(59403),m=i(61511),b=i(91058),w=i(27521),_=i(16073),y=i(15980),A=i(36922),v=i(67806),T=i(11441),C=i(78364),S=i(48160);const E=["tree"],k=["list"],x=["toggle"];function R(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(t),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function I(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("disabled",0===t.selected.selected.length||void 0!==t.tree&&!t.tree.removeAuth||void 0!==t.list&&!t.list.removeAuth),d.xp6(1),d.hij(" ",d.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function O(t,e){if(1&t&&(d.TgZ(0,"span",10),d.ALo(1,"translate"),d.YNc(2,I,3,4,"button",11),d.qZA()),2&t){const t=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===t.tree&&void 0===t.list||void 0!==t.tree&&t.tree.removeAuth||void 0!==t.list&&t.list.removeAuth),d.xp6(2),d.Q6J("ngIf",!t.loading&&t.deleteAuth)}}function P(t,e){1&t&&d._UZ(0,"mat-spinner",13)}function D(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",17,18),d.NdJ("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("groups",t.groups)("expandAll",t.filtering)("hideCheckbox",!t.deleteAuth)("selection",t.selected)("filterValue",t.filterValue)("disableRouting",!t.routeAuth)}}const M=function(){return["select","id","name","description","menu"]},L=function(){return["id","name","description","menu"]};function N(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",19,20),d.NdJ("page",function(e){return d.CHM(t),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!t.routeAuth)("displayedColumns",t.deleteAuth?d.DdM(8,M):d.DdM(9,L))("filter",t.filterValue)}}function z(t,e){if(1&t&&(d.TgZ(0,"div",14),d.YNc(1,D,2,6,"perun-web-apps-groups-tree",15),d.YNc(2,N,2,10,"perun-web-apps-groups-list",16),d.qZA()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",!t.showGroupList),d.xp6(1),d.Q6J("ngIf",t.showGroupList)}}let F=(()=>{class t{constructor(t,e,i,n,o,r){this.dialog=t,this.groupService=e,this.tableConfigService=i,this.route=n,this.guiAuthResolver=o,this.initAuthService=r,this.groups=[],this.selected=new s.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=u.bf,this.filterValue=""}onCreateGroup(){const t=(0,r.kZ)();t.width="450px",t.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"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.route.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,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 t=(0,r.kZ)();t.width="450px",t.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(o.P,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[c.r.GROUP_DEF_MAIL_FOOTER,c.r.GROUP_SYNC_ENABLED,c.r.GROUP_LAST_SYNC_STATE,c.r.GROUP_LAST_SYNC_TIMESTAMP,c.r.GROUP_STRUCTURE_SYNC_ENABLED,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t,this.filtering=""!==t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onMoveGroup(t){const e=(0,r.kZ)();e.width="550px",e.data={group:t,theme:"group-theme"},this.dialog.open(l.c,e).afterClosed().subscribe(t=>{t&&this.refreshTable()})}}return t.id="GroupSubgroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(p.uw),d.Y36(a.ff),d.Y36(u.dB),d.Y36(g.gz),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-group-subgroups"]],viewQuery:function(t,e){if(1&t&&(d.Gf(E,5),d.Gf(k,5),d.Gf(x,7)),2&t){let t;d.iGM(t=d.CRH())&&(e.tree=t.first),d.iGM(t=d.CRH())&&(e.list=t.first),d.iGM(t=d.CRH())&&(e.toggle=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:17,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled",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","mat-flat-button","",1,"mr-2",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.refreshTable()}),d.qZA(),d.YNc(5,R,3,3,"button",2),d.YNc(6,O,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.selected.clear()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,P,1,0,"mat-spinner",7),d.YNc(16,z,3,2,"div",8),d.qZA()),2&t){const t=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",t.inputId),d.xp6(1),d.Oqu(d.lcZ(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading)}},directives:[f.t,m.O5,b.P,w.Rr,_.JJ,_.On,y.lW,A.gM,v.$g,T.I,C.W],pipes:[S.X$],styles:[""]}),t})()},81835:function(t,e,i){"use strict";i.d(e,{j:function(){return H}});var n=i(33642),s=i(60611),o=i(4230),r=i(84140),a=i(84608),c=i(88426),u=i(67004),l=i(31572),h=i(48160),d=i(61511),p=i(67806),g=i(19139),f=i(78364),m=i(15980);function b(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function w(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",7),l.NdJ("filter",function(e){return l.CHM(t),l.oxw().applyFilter(e)}),l.qZA()}2&t&&l.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const _=function(){return["select","id","name","description"]};function y(t,e){if(1&t&&l._UZ(0,"perun-web-apps-groups-list",8),2&t){const t=l.oxw();l.Q6J("groups",t.groups)("selection",t.selection)("displayedColumns",l.DdM(8,_))("filter",t.filterValue)("groupsToDisable",t.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function A(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",9),l.TgZ(1,"button",10),l.NdJ("click",function(){return l.CHM(t),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"button",11),l.NdJ("click",function(){return l.CHM(t),l.oxw().onAdd()}),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",0===t.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let v=(()=>{class t{constructor(t,e,i,n,s,r,a){this.dialogRef=t,this.data=e,this.groupManager=i,this.memberManager=n,this.notificator=s,this.translate=r,this.authResolver=a,this.loading=!1,this.groups=[],this.selection=new o.Ov(!0,[]),this.attrNames=[u.r.GROUP_SYNC_ENABLED,u.r.GROUP_LAST_SYNC_STATE,u.r.GROUP_LAST_SYNC_TIMESTAMP,u.r.GROUP_STRUCTURE_SYNC_ENABLED,u.r.GROUP_LAST_STRUCTURE_SYNC_STATE,u.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(t=>{this.member=t,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(t=>{this.groups=t.filter(t=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[t])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const t=this.selection.selected.map(t=>t.id);this.loading=!0,this.groupManager.addMember(t,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(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(a.so),l.Y36(a.WI),l.Y36(n.ff),l.Y36(n.uq),l.Y36(c.V6),l.Y36(h.sK),l.Y36(c.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,b,1,0,"mat-spinner",1),l.TgZ(5,"div",2),l.YNc(6,w,1,1,"perun-web-apps-immediate-filter",3),l.YNc(7,y,1,9,"perun-web-apps-groups-list",4),l.qZA(),l.YNc(8,A,7,7,"div",5),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[a.uh,d.O5,a.xY,p.$g,g.L,f.W,a.H8,m.lW],pipes:[h.X$],styles:[""]}),t})();var T=i(67033);function C(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function S(t,e){1&t&&l._UZ(0,"th",15)}function E(t,e){if(1&t&&(l.TgZ(0,"td",16),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.xp6(1),l.hij(" ",t.name," ")}}function k(t,e){1&t&&l._UZ(0,"tr",17)}function x(t,e){1&t&&l._UZ(0,"tr",18)}function R(t,e){if(1&t&&(l.TgZ(0,"div",7),l.TgZ(1,"p"),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",8),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"table",9),l.ynx(8,10),l.YNc(9,S,1,0,"th",11),l.YNc(10,E,2,1,"td",12),l.BQk(),l.YNc(11,k,1,0,"tr",13),l.YNc(12,x,1,0,"tr",14),l.qZA(),l.qZA()),2&t){const t=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),l.xp6(3),l.hij(" ",l.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),l.xp6(2),l.Q6J("dataSource",t.dataSource),l.xp6(4),l.Q6J("matHeaderRowDef",t.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",t.displayedColumns)}}let I=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.groupManager=i,this.notificator=n,this.translate=s,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 t=this.dataSource.data.map(t=>t.id);this.groupManager.removeMember(t,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 t.\u0275fac=function(e){return new(e||t)(l.Y36(a.so),l.Y36(a.WI),l.Y36(n.ff),l.Y36(c.V6),l.Y36(h.sK))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,C,1,0,"mat-spinner",1),l.YNc(5,R,13,9,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onRemove()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.hij("",l.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",e.loading),l.xp6(1),l.hij("",l.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[a.uh,d.O5,a.H8,m.lW,p.$g,a.xY,T.BZ,T.w1,T.fO,T.Dz,T.as,T.nj,T.ge,T.ev,T.XQ,T.Gk],pipes:[h.X$],styles:[""]}),t})();i(41939);var O=i(57629),P=i(59403),D=i(36922);const M=["list"];function L(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",7),l.NdJ("refresh",function(){return l.CHM(t),l.oxw().refreshTable()}),l.qZA()}}function N(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",8),l.NdJ("click",function(){return l.CHM(t),l.oxw().addGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function z(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).removeGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("disabled",0===t.selection.selected.length||void 0!==t.list&&!t.list.removeAuth),l.xp6(1),l.hij(" ",l.lcZ(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function F(t,e){if(1&t&&(l.TgZ(0,"span",9),l.ALo(1,"translate"),l.YNc(2,z,3,4,"button",10),l.qZA()),2&t){const t=l.oxw();l.s9C("matTooltip",l.lcZ(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),l.Q6J("matTooltipDisabled",void 0===t.list||void 0!==t.list&&t.list.removeAuth),l.xp6(2),l.Q6J("ngIf",!t.loading)}}function Z(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(t),l.oxw().applyFilter(e)}),l.qZA()}2&t&&l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function B(t,e){1&t&&l._UZ(0,"mat-spinner",13)}const q=function(){return["select","id","vo","name","description","expiration"]};function U(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-groups-list",14,15),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)})("refreshTable",function(){return l.CHM(t),l.oxw().refreshTable()}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("groups",t.groups)("displayedColumns",l.DdM(9,q))("selection",t.selection)("filter",t.filterValue)("memberId",t.memberId)("memberGroupStatus",t.member.groupStatus)("disableRouting",!t.routeAuth)("authType","member-groups")}}let H=(()=>{class t{constructor(t,e,i,n,r,a){this.groupsService=t,this.tableConfigService=e,this.route=i,this.dialog=n,this.authResolver=r,this.memberService=a,this.filterValue="",this.tableId=s.W1,this.selection=new o.Ov(!0,[])}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberService.getMemberById(this.memberId).subscribe(t=>{this.member=t,this.groupsService.getAllGroups(this.member.voId).subscribe(t=>{this.allGroups=t,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(t=>{this.selection.clear(),this.filterValue="",this.groups=t,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((t,e)=>t||this.authResolver.isAuthorized("addMember_Group_Member_policy",[e]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[t,this.groups[0]]))}addGroup(){const t=(0,r.kZ)();t.width="850px",t.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(t=>t.id)),theme:"member-theme"},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeGroup(){const t=(0,r.kZ)();t.width="650px",t.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(I,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="MemberGroupsComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(n.ff),l.Y36(s.dB),l.Y36(O.gz),l.Y36(a.uw),l.Y36(c.x4),l.Y36(n.uq))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-member-groups"]],viewQuery:function(t,e){if(1&t&&l.Gf(M,5),2&t){let t;l.iGM(t=l.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,L,1,0,"perun-web-apps-refresh-button",1),l.YNc(4,N,3,3,"button",2),l.YNc(5,F,3,5,"span",3),l.YNc(6,Z,1,1,"perun-web-apps-immediate-filter",4),l.YNc(7,B,1,0,"mat-spinner",5),l.YNc(8,U,2,10,"perun-web-apps-groups-list",6)),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.addAuth),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[d.O5,P.t,m.lW,D.gM,g.L,p.$g,f.W],pipes:[h.X$],styles:[""]}),t})()},40659:function(t,e,i){"use strict";i.d(e,{c:function(){return k}});var n=i(33642),s=i(60611),o=i(16073),r=i(61511),a=i(31572),c=i(57629),u=i(59403),l=i(66283),h=i(4786),d=i(71522),p=i(91058),g=i(51613),f=i(29236),m=i(15980),b=i(67806),w=i(21548),_=i(29851),y=i(48160);function A(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(t),a.oxw().showAllDetails=!0}),a._uU(1),a.ALo(2,"translate"),a.qZA()}2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function v(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(t),a.oxw().showAllDetails=!1}),a._uU(1),a.ALo(2,"translate"),a.qZA()}2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function T(t,e){1&t&&a._UZ(0,"mat-spinner",17)}function C(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"app-applications-list",20),a.NdJ("page",function(e){return a.CHM(t),a.oxw(2).pageChanged(e)}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("displayedColumns",t.displayedColumns)}}function S(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"app-perun-web-apps-application-list-details",21),a.NdJ("page",function(e){return a.CHM(t),a.oxw(2).detailPageChanged(e)}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)}}function E(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,C,1,4,"app-applications-list",18),a.YNc(2,S,1,3,"app-perun-web-apps-application-list-details",19),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",!t.showAllDetails),a.xp6(1),a.Q6J("ngIf",t.showAllDetails)}}let k=(()=>{class t{constructor(t,e,i,n){this.voService=t,this.registrarManager=e,this.tableConfigService=i,this.route=n,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=s.Jf,this.tableId=s.Hi,this.checked=!1}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.setData(["NEW","VERIFIED"])}),this.startDate=new o.NI((0,r.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new o.NI((0,r.p6)(new Date,"yyyy-MM-dd","en-GB"))})}setData(t){this.registrarManager.getApplicationsForVo(this.vo.id,t,(0,r.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,r.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(t=>{this.applications=!1===this.checked?t.filter(t=>null===t.group):t,this.loading=!1})}select(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}yearAgo(){const t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}showGroupApplications(t){this.checked=t.checked,this.select()}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(a.Y36(n.YF),a.Y36(n.tk),a.Y36(s.dB),a.Y36(c.gz))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("router-component",e.true)},decls:38,vars:36,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","page",4,"ngIf"],[3,"pageSize","filterValue","applications","displayedColumns","page"],[3,"pageSize","filterValue","applications","page"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div"),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return e.select()}),a.qZA(),a.YNc(5,A,3,3,"button",2),a.YNc(6,v,3,3,"button",2),a.TgZ(7,"mat-form-field",3),a.TgZ(8,"mat-label"),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.TgZ(11,"mat-select",4),a.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),a.TgZ(12,"mat-option",5),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"mat-option",6),a._uU(16),a.ALo(17,"translate"),a.qZA(),a.TgZ(18,"mat-option",7),a._uU(19),a.ALo(20,"translate"),a.qZA(),a.TgZ(21,"mat-option",8),a._uU(22),a.ALo(23,"translate"),a.qZA(),a.TgZ(24,"mat-option",9),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.TgZ(27,"mat-option",10),a._uU(28),a.ALo(29,"translate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(30,"perun-web-apps-debounce-filter",11),a.NdJ("filter",function(t){return e.applyFilter(t)}),a.qZA(),a.TgZ(31,"perun-web-apps-date-range",12),a.NdJ("datePicker",function(){return e.select()}),a.qZA(),a.TgZ(32,"div"),a.TgZ(33,"mat-checkbox",13),a.NdJ("change",function(t){return e.showGroupApplications(t)}),a._uU(34),a.ALo(35,"translate"),a.qZA(),a.qZA(),a.qZA(),a.YNc(36,T,1,0,"mat-spinner",14),a.YNc(37,E,3,2,"div",15)),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,18,"VO_DETAIL.APPLICATION.TITLE")),a.xp6(4),a.Q6J("ngIf",!e.showAllDetails),a.xp6(1),a.Q6J("ngIf",e.showAllDetails),a.xp6(3),a.Oqu(a.lcZ(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),a.xp6(2),a.Q6J("value",e.state),a.xp6(2),a.Oqu(a.lcZ(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),a.xp6(3),a.Oqu(a.lcZ(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),a.xp6(3),a.Oqu(a.lcZ(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),a.xp6(3),a.Oqu(a.lcZ(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),a.xp6(3),a.Oqu(a.lcZ(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),a.xp6(3),a.Oqu(a.lcZ(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),a.xp6(2),a.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),a.xp6(1),a.Q6J("startDate",e.startDate)("endDate",e.endDate),a.xp6(2),a.Q6J("checked",e.checked),a.xp6(1),a.hij(" ",a.lcZ(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[u.t,r.O5,l.KE,l.hX,h.gD,d.ey,p.P,g.S,f.oG,m.lW,b.$g,w.M,_.w],pipes:[y.X$],styles:[""]}),t})()},48002:function(t,e,i){"use strict";i.d(e,{G:function(){return B}});var n=i(88419),s=i(43491),o=i(4230),r=i(57820),a=i(84140),c=i(33642),u=i(60611),l=i(67004),h=i(88426),d=(i(41939),i(31572)),p=i(84608),g=i(48958),f=i(57629),m=i(59403),b=i(61511),w=i(91058),_=i(27521),y=i(16073),A=i(15980),v=i(36922),T=i(67806),C=i(11441),S=i(78364),E=i(39571),k=i(48160);const x=["toggle"],R=["tree"],I=["list"];function O(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",10),d.NdJ("click",function(){return d.CHM(t),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function P(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",13),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("disabled",0===t.selected.selected.length||t.disableRemove()),d.xp6(1),d.hij(" ",d.lcZ(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function D(t,e){if(1&t&&(d.TgZ(0,"span",11),d.ALo(1,"translate"),d.YNc(2,P,3,4,"button",12),d.qZA()),2&t){const t=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===t.tree&&void 0===t.list||t.disableTooltip()),d.xp6(2),d.Q6J("ngIf",!t.loading)}}function M(t,e){1&t&&d._UZ(0,"mat-spinner",14)}function L(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",18,19),d.NdJ("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("groups",t.groups)("expandAll",t.filtering)("vo",t.vo)("selection",t.selected)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)}}const N=function(){return["select","id","name","description","menu"]};function z(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",20,21),d.NdJ("page",function(e){return d.CHM(t),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("disableMembers",!0)("displayedColumns",d.DdM(8,N))("disableRouting",!t.routeAuth)("authType","vo-groups")("filter",t.filterValue)}}function F(t,e){if(1&t&&(d.TgZ(0,"div",15),d.YNc(1,L,2,6,"perun-web-apps-groups-tree",16),d.YNc(2,z,2,9,"perun-web-apps-groups-list",17),d.qZA()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",!t.showGroupList),d.xp6(1),d.Q6J("ngIf",t.showGroupList)}}function Z(t,e){1&t&&(d.TgZ(0,"app-alert",22),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let B=(()=>{class t{constructor(t,e,i,n,s,r,a,c){this.dialog=t,this.groupService=e,this.sideMenuService=i,this.voService=n,this.route=s,this.tableConfigService=r,this.authResolver=a,this.initAuthService=c,this.groups=[],this.showGroupList=!1,this.selected=new o.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=u.rc}onCreateGroup(){const t=(0,a.kZ)();t.width="450px",t.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"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.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.loadAllGroups()})})}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const t=(0,a.kZ)();t.width="450px",t.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(s.P,t).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(t){const e=(0,a.kZ)();e.width="550px",e.data={group:t,theme:"vo-theme"},this.dialog.open(r.c,e).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[l.r.GROUP_SYNC_ENABLED,l.r.GROUP_LAST_SYNC_STATE,l.r.GROUP_LAST_SYNC_TIMESTAMP,l.r.GROUP_STRUCTURE_SYNC_ENABLED,l.r.GROUP_LAST_STRUCTURE_SYNC_STATE,l.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t,this.filtering=""!==t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoGroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(p.uw),d.Y36(c.ff),d.Y36(g.D),d.Y36(c.YF),d.Y36(f.gz),d.Y36(u.dB),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-vo-groups"]],viewQuery:function(t,e){if(1&t&&(d.Gf(x,7),d.Gf(R,5),d.Gf(I,5)),2&t){let t;d.iGM(t=d.CRH())&&(e.toggle=t.first),d.iGM(t=d.CRH())&&(e.tree=t.first),d.iGM(t=d.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:18,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",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"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.loadAllGroups()}),d.qZA(),d.YNc(5,O,3,3,"button",2),d.YNc(6,D,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.removeAllGroups()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,M,1,0,"mat-spinner",7),d.YNc(16,F,3,2,"div",8),d.YNc(17,Z,3,3,"app-alert",9),d.qZA()),2&t){const t=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,11,"VO_DETAIL.GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",t.inputId),d.xp6(1),d.Oqu(d.lcZ(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading&&0!==e.groups.length),d.xp6(1),d.Q6J("ngIf",0===e.groups.length&&!e.loading)}},directives:[m.t,b.O5,w.P,_.Rr,y.JJ,y.On,A.lW,v.gM,T.$g,C.I,S.W,E.w],pipes:[k.X$],styles:[""]}),t})()},28940:function(t,e,i){"use strict";i.d(e,{y:function(){return D}});var n=i(4230),s=i(88426),o=i(4374),r=i(85613),a=i(33642),c=i(67004),u=i(16073),l=i(60611),h=i(84140),d=i(88690),p=i(31572),g=i(57629),f=i(84608),m=i(59403),b=i(36922),w=i(61511),_=i(66283),y=i(4786),A=i(91058),v=i(15980),T=i(71522),C=i(67806),S=i(91779),E=i(48160);function k(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",14),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAddMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.blockManualMemberAdding),p.xp6(1),p.hij(" ",p.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function x(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onInviteMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function R(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemoveMembers()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.selection.isEmpty()),p.xp6(1),p.hij(" ",p.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function I(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function O(t,e){1&t&&p._UZ(0,"mat-spinner",18)}function P(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-members-dynamic-list",19),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("voId",t.vo.id)("pageSize",t.pageSize)("selection",t.selection)("displayedColumns",t.displayedColumns)("attrNames",t.attrNames)("searchString",t.searchString)("selectedStatuses",t.selectedStatuses)("updateTable",t.updateTable)}}let D=(()=>{class t{constructor(t,e,i,s,o,r,a,h,d){this.voService=t,this.route=e,this.notificator=i,this.tableConfigService=s,this.dialog=o,this.authzService=r,this.storeService=a,this.attributesManager=h,this.apiRequest=d,this.members=null,this.selection=new n.Ov(!0,[]),this.loading=!1,this.attrNames=[c.r.MEMBER_DEF_ORGANIZATION,c.r.MEMBER_DEF_MAIL,c.r.USER_DEF_ORGANIZATION,c.r.USER_DEF_PREFERRED_MAIL,c.r.MEMBER_DEF_EXPIRATION],this.statuses=new u.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=l.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(t=>{const e=t.voId;this.isManualAddingBlocked(e).then(()=>{this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.setAuthRights(),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(t){this.searchString=t,this.updateTable=!this.updateTable}onAddMember(){const t=(0,h.kZ)();t.width="1000px",t.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const t=(0,h.kZ)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(o.X,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const t=(0,h.kZ)();t.width="650px",t.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.R,t)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}isManualAddingBlocked(t){return new Promise(e=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,e()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),e()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return t.id="VoMembersComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(a.YF),p.Y36(g.gz),p.Y36(s.V6),p.Y36(l.dB),p.Y36(f.uw),p.Y36(s.x4),p.Y36(s.d6),p.Y36(a.H8),p.Y36(s.F5))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:22,vars:19,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"h1",1),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",2),p.TgZ(5,"perun-web-apps-refresh-button",3),p.NdJ("click",function(){return e.updateTable=!e.updateTable}),p.qZA(),p.TgZ(6,"div",4),p.ALo(7,"translate"),p.YNc(8,k,3,4,"button",5),p.qZA(),p.YNc(9,x,3,3,"button",6),p.YNc(10,R,3,4,"button",7),p.TgZ(11,"mat-form-field",8),p.TgZ(12,"mat-label"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"mat-select",9),p.NdJ("closed",function(){return e.changeStatuses()}),p.TgZ(16,"mat-select-trigger"),p._uU(17),p.qZA(),p.YNc(18,I,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(19,"perun-web-apps-debounce-filter",11),p.NdJ("filter",function(t){return e.onSearchByString(t)}),p.qZA(),p.qZA(),p.YNc(20,O,1,0,"mat-spinner",12),p.YNc(21,P,1,8,"perun-web-apps-members-dynamic-list",13),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),p.xp6(4),p.s9C("matTooltip",p.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),p.xp6(2),p.Q6J("ngIf",e.addAuth),p.xp6(1),p.Q6J("ngIf",e.inviteAuth),p.xp6(1),p.Q6J("ngIf",e.removeAuth),p.xp6(3),p.Oqu(p.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),p.xp6(2),p.Q6J("formControl",e.statuses),p.xp6(2),p.hij(" ",e.displaySelectedStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.statusList),p.xp6(1),p.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[m.t,b.gM,w.O5,_.KE,_.hX,y.gD,u.JJ,u.oH,y.$L,w.sg,A.P,v.lW,T.ey,C.$g,S.m],pipes:[E.X$],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}"]}),t})()},88227:function(t,e,i){"use strict";i.d(e,{z:function(){return v}});var n=i(4230),s=i(33642),o=i(95909),r=i(60611),a=i(84140),c=i(88426),u=i(31572),l=i(57629),h=i(84608),d=i(59403),p=i(61511),g=i(19139),f=i(15980),m=i(67806),b=i(88884),w=i(48160);function _(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",6),u.NdJ("click",function(){return u.CHM(t),u.oxw().deleteSelectedResources()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("disabled",0===t.selected.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function y(t,e){1&t&&u._UZ(0,"mat-spinner",7)}function A(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-resources-list",8),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routeAuth)("selection",t.selected)("displayedColumns",t.displayedColumns)}}let v=(()=>{class t{constructor(t,e,i,s,o,a){this.resourcesManager=t,this.voService=e,this.route=i,this.tableConfigService=s,this.dialog=o,this.authResolver=a,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=r.nT,this.routeAuth=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,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(t=>{this.resources=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}deleteSelectedResources(){const t=(0,a.kZ)();t.width="450px",t.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(o.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoResourcesPreviewComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(s.xk),u.Y36(s.YF),u.Y36(l.gz),u.Y36(r.dB),u.Y36(h.uw),u.Y36(c.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return e.refreshTable()}),u.qZA(),u.YNc(5,_,3,4,"button",2),u.TgZ(6,"perun-web-apps-immediate-filter",3),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.qZA(),u.YNc(7,y,1,0,"mat-spinner",4),u.YNc(8,A,1,7,"perun-web-apps-resources-list",5),u.qZA()),2&t&&(u.xp6(2),u.Oqu(u.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),u.xp6(3),u.Q6J("ngIf",!e.loading&&e.removeAuth),u.xp6(1),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[d.t,p.O5,g.L,f.lW,m.$g,b.C],pipes:[w.X$],styles:[""]}),t})()},97397:function(t,e,i){"use strict";i.d(e,{z:function(){return Q}});var n=i(88426),s=i(33642),o=i(31572),r=i(57629),a=i(61511),c=i(67806),u=i(59403),l=i(55109),h=i(67033),d=i(45001),p=i(27679),g=i(48160);function f(t,e){if(1&t&&(o.TgZ(0,"mat-panel-description"),o.TgZ(1,"div"),o.TgZ(2,"i",7),o._uU(3," error "),o.qZA(),o._uU(4),o.ALo(5,"translate"),o.ALo(6,"translate"),o.qZA(),o.qZA()),2&t){const t=o.oxw().$implicit,e=o.oxw();o.xp6(4),o.HOy(" ",e.getErrorCountStates(t)," ",o.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",t.taskList.length," ",o.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function m(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function b(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.id)}}function w(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function _(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.service.name)}}function y(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function A(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.status)}}function v(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function T(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function C(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function S(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,T,3,4,"div",22),o.YNc(2,C,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.schedule)("ngIfElse",i)}}function E(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function k(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function x(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function R(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,k,3,4,"div",22),o.YNc(2,x,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.startTime)("ngIfElse",i)}}function I(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function O(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function P(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function D(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,O,3,4,"div",22),o.YNc(2,P,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.endTime)("ngIfElse",i)}}function M(t,e){1&t&&o._UZ(0,"tr",25)}const L=function(t,e,i){return{redTableItem:t,greenTableItem:e,yellowTableItem:i}};function N(t,e){if(1&t&&o._UZ(0,"tr",26),2&t){const t=e.$implicit;o.Q6J("ngClass",o.kEZ(1,L,"ERROR"===t.status||"SENDERROR"===t.status||"GENERROR"===t.status,"DONE"===t.status,"WARNING"===t.status))}}function z(t,e){if(1&t&&(o.TgZ(0,"table",9),o.ynx(1,10),o.YNc(2,m,3,3,"th",11),o.YNc(3,b,2,1,"td",12),o.BQk(),o.ynx(4,13),o.YNc(5,w,3,3,"th",11),o.YNc(6,_,2,1,"td",12),o.BQk(),o.ynx(7,14),o.YNc(8,y,3,3,"th",11),o.YNc(9,A,2,1,"td",12),o.BQk(),o.ynx(10,15),o.YNc(11,v,3,3,"th",11),o.YNc(12,S,4,2,"td",12),o.BQk(),o.ynx(13,16),o.YNc(14,E,3,3,"th",11),o.YNc(15,R,4,2,"td",12),o.BQk(),o.ynx(16,17),o.YNc(17,I,3,3,"th",11),o.YNc(18,D,4,2,"td",12),o.BQk(),o.YNc(19,M,1,0,"tr",18),o.YNc(20,N,1,5,"tr",19),o.qZA()),2&t){const t=o.oxw(2).$implicit,e=o.oxw();o.Q6J("dataSource",e.datasources[e.propagation.indexOf(t)]),o.xp6(19),o.Q6J("matHeaderRowDef",e.displayedColumns),o.xp6(1),o.Q6J("matRowDefColumns",e.displayedColumns)}}function F(t,e){1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Z(t,e){if(1&t&&(o._UZ(0,"mat-divider"),o.YNc(1,z,21,3,"table",8),o.YNc(2,F,3,3,"div",5)),2&t){const t=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",0!==t.taskList.length),o.xp6(1),o.Q6J("ngIf",0===t.taskList.length)}}function B(t,e){if(1&t&&(o.TgZ(0,"mat-expansion-panel"),o.TgZ(1,"mat-expansion-panel-header"),o.TgZ(2,"mat-panel-title"),o._UZ(3,"img",3),o.TgZ(4,"div",4),o._uU(5),o.qZA(),o.qZA(),o.YNc(6,f,7,8,"mat-panel-description",5),o.qZA(),o.YNc(7,Z,3,2,"ng-template",6),o.qZA()),2&t){const t=e.$implicit,i=o.oxw();o.xp6(5),o.hij(" ",t.resource.name," "),o.xp6(1),o.Q6J("ngIf",0!==i.getErrorCountStates(t))}}let q=(()=>{class t{constructor(){this.propagation=[],this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}ngOnInit(){this.getDataSource()}getErrorCountStates(t){let e=0;for(const i of t.taskList)"ERROR"!==i.status&&"GENERROR"!==i.status&&"SENDERROR"!==i.status||e++;return e}getDataSource(){for(const t of this.propagation)this.datasources.push(new h.by(t.taskList))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-state-tab"]],inputs:{propagation:"propagation"},decls:3,vars:1,consts:[[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-accordion",1),o.YNc(2,B,8,2,"mat-expansion-panel",2),o.qZA(),o.qZA()),2&t&&(o.xp6(2),o.Q6J("ngForOf",e.propagation))},directives:[d.pp,a.sg,d.ib,d.yz,d.yK,a.O5,d.HS,d.u4,p.d,h.BZ,h.w1,h.fO,h.Dz,h.as,h.nj,h.ge,h.ev,h.XQ,h.Gk,a.mk],pipes:[g.X$,a.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_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}"]}),t})();var U=i(39571);function H(t,e){1&t&&o._UZ(0,"mat-spinner",3)}function j(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",8),o._uU(3),o.qZA()),2&t){const t=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),o.xp6(3),o.Oqu(t.errorPropagation.length)}}function G(t,e){1&t&&(o.TgZ(0,"app-alert",11),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.Q6J("alert_type","warn"),o.xp6(1),o.hij(" ",o.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function Y(t,e){if(1&t&&(o.YNc(0,G,3,4,"app-alert",9),o._UZ(1,"app-state-tab",10)),2&t){const t=o.oxw(2);o.Q6J("ngIf",0===t.errorPropagation.length),o.xp6(1),o.Q6J("propagation",t.errorPropagation)}}function V(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",12),o._uU(3),o.qZA()),2&t){const t=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),o.xp6(3),o.Oqu(t.okPropagation.length)}}function K(t,e){1&t&&(o.TgZ(0,"app-alert",14),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function J(t,e){if(1&t&&(o.YNc(0,K,3,3,"app-alert",13),o._UZ(1,"app-state-tab",10)),2&t){const t=o.oxw(2);o.Q6J("ngIf",0===t.okPropagation.length),o.xp6(1),o.Q6J("propagation",t.okPropagation)}}function $(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"perun-web-apps-refresh-button",4),o.NdJ("refresh",function(){return o.CHM(t),o.oxw().refreshTable()}),o.qZA(),o.TgZ(2,"mat-tab-group",5),o.NdJ("selectedIndexChange",function(e){return o.CHM(t),o.oxw().selectedIndex=e}),o.TgZ(3,"mat-tab"),o.YNc(4,j,4,4,"ng-template",6),o.YNc(5,Y,2,2,"ng-template",7),o.qZA(),o.TgZ(6,"mat-tab"),o.YNc(7,V,4,4,"ng-template",6),o.YNc(8,J,2,2,"ng-template",7),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Q6J("selectedIndex",t.selectedIndex)}}let Q=(()=>{class t{constructor(t,e,i){this.route=t,this.taskService=e,this.customIconService=i,this.loading=!1,this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.customIconService.registerPerunRefreshIcon(),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.refreshTable()})}refreshTable(){console.log(this.selectedIndex),this.loading=!0,this.taskService.getAllResourcesState(this.voId).subscribe(t=>{this.resourceStates=t,this.okPropagation=[],this.errorPropagation=[];for(const e of t){let t=!0;for(const i of e.taskList)if("ERROR"===i.status||"GENERROR"===i.status||"SENDERROR"===i.status){t=!1;break}t?this.okPropagation.push(e):this.errorPropagation.push(e)}this.loading=!1})}}return t.id="VoResourcesStatesComponent",t.\u0275fac=function(e){return new(e||t)(o.Y36(r.gz),o.Y36(s.Ob),o.Y36(n.EB))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],[3,"alert_type",4,"ngIf"],[3,"propagation"],[3,"alert_type"],[1,"badge","badge-success","ml-1"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.YNc(3,H,1,0,"mat-spinner",1),o.YNc(4,$,9,1,"div",2)),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading))},directives:[a.O5,c.$g,u.t,l.SP,l.uX,l.uD,l.Vc,q,U.w],pipes:[g.X$],styles:[""]}),t})()},14527:function(t,e,i){"use strict";i.d(e,{w:function(){return I}});var n=i(24555),s=i(88426),o=i(68570),r=i(92438),a=i(75954),c=i(33642),u=i(84140),l=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),f=i(67806),m=i(43691),b=i(36922),w=i(27679),_=i(59403),y=i(15980),A=i(92846),v=i(39571);function T(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function C(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",21),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function S(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",22),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function E(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",23),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&t){const t=l.oxw(2);l.Q6J("disabled",!t.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function k(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function x(t,e){1&t&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.Q6J("alert_type","info"),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}function R(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.qZA(),l.qZA(),l.TgZ(21,"div",9),l.YNc(22,C,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(23,"mat-divider",11),l.TgZ(24,"div",12),l.TgZ(25,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(t),l.oxw().updateFormItems()}),l.qZA(),l.YNc(26,S,3,3,"button",14),l.YNc(27,E,5,4,"button",15),l.YNc(28,k,5,3,"button",16),l.TgZ(29,"button",17),l.NdJ("click",function(){return l.CHM(t),l.oxw().preview()}),l.TgZ(30,"i",18),l._uU(31,"search"),l.qZA(),l._uU(32),l.ALo(33,"translate"),l.qZA(),l.qZA(),l.YNc(34,x,3,4,"app-alert",19),l.TgZ(35,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(t),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(4),l.AsE("",l.lcZ(5,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",t.applicationForm.automaticApproval?l.lcZ(14,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,22,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",t.applicationForm.automaticApprovalExtension?l.lcZ(19,24,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,26,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(4),l.Q6J("ngIf",t.editAuth),l.xp6(4),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("ngIf",t.editAuth),l.xp6(4),l.hij(" ",l.lcZ(33,28,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",t.editAuth),l.xp6(1),l.Q6J("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","vo-theme")("displayedColumns",t.displayedColumns)}}let I=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.registrarManager=t,this.route=e,this.dialog=i,this.notificator=n,this.translate=s,this.router=o,this.authResolver=r,this.voService=a,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.idCounter=-1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{const e=t.voId;this.voId=e,this.registrarManager.getVoApplicationForm(e).subscribe(t=>{this.applicationForm=t,this.registrarManager.getFormItemsForVo(e).subscribe(t=>{this.applicationFormItems=t,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let t=(0,u.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.J,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=(0,u.kZ)(),t.width="600px",t.height="600px",t.data={voId:this.voId,applicationFormItem:e[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(a._,t),this.itemsChanged=!0)})}copy(){const t=(0,u.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(o.W,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=(0,u.kZ)();t.width="400px",t.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.E,t).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.applicationForm=t)})}preview(){this.router.navigate(["/organizations",this.voId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.registrarManager.getFormItemsForVo(this.voId).subscribe(t=>{this.applicationFormItems=t,this.itemsChanged=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let t=0;for(const e of this.applicationFormItems)e.ordnum=t,e.forDelete||t++;this.registrarManager.updateFormItemsForVo({vo:this.voId,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(t=>t.forDelete=!0),this.itemsChanged=!0}}return t.id="VoSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(c.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(s.V6),l.Y36(p.sK),l.Y36(h.F0),l.Y36(s.x4),l.Y36(c.YF))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],[3,"alert_type",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[3,"alert_type"]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,T,1,0,"mat-spinner",1),l.YNc(4,R,36,30,"div",2)),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[g.O5,f.$g,m.Hw,b.gM,w.d,_.t,y.lW,A.b,v.w],pipes:[p.X$],styles:[""]}),t})()},48666:function(t,e,i){"use strict";i.d(e,{T:function(){return pe}});var n=i(33642),s=i(4230),o=i(60611),r=i(84140),a=i(84608),c=i(88426),u=i(16073),l=i(61511),h=i(14732),d=i(81110),p=i(40878),g=i(44689),f=i(79996),m=i(47727),b=i(31572),w=i(48160),_=i(67806),y=i(70663),A=i(66283),v=i(80340),T=i(15980),C=i(4786),S=i(36922),E=i(29236),k=i(54810),x=i(15812);let R=(()=>{class t{constructor(){this.expiration="never",this.expirationControl=new u.NI(null),this.datePicker=new b.vpe}ngOnInit(){const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationControl.setValue((0,l.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=b.Xpm({type:t,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(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"mat-radio-group",0),b.NdJ("ngModelChange",function(t){return e.expiration=t})("change",function(){return e.emitDate()}),b.TgZ(1,"mat-radio-button",1),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"mat-radio-button",2),b.TgZ(5,"mat-form-field",3),b.NdJ("click",function(){return b.CHM(t),b.MAs(12).open()}),b.TgZ(6,"mat-label"),b._uU(7),b.ALo(8,"translate"),b.qZA(),b.TgZ(9,"input",4),b.NdJ("dateChange",function(){return e.setExpiration()}),b.qZA(),b._UZ(10,"mat-datepicker-toggle",5),b._UZ(11,"mat-datepicker",6,7),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.MAs(12);b.Q6J("ngModel",e.expiration),b.xp6(2),b.hij(" ",b.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),b.xp6(2),b.s9C("value",e.expirationControl.value),b.xp6(3),b.Oqu(b.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),b.xp6(2),b.Q6J("min",e.minDate)("formControl",e.expirationControl)("matDatepicker",t),b.xp6(1),b.Q6J("for",t)("disabled",!1),b.xp6(1),b.Q6J("disabled",!1)}},directives:[k.VQ,u.JJ,u.On,k.U0,A.KE,A.hX,v.Nt,u.Fj,x.hl,u.oH,x.nW,A.R9,x.Mq],pipes:[w.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();var I=i(39571),O=i(71522),P=i(43691),D=i(7927),M=i(22196);function L(t,e){1&t&&(b.TgZ(0,"h1",4),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function N(t,e){1&t&&b._UZ(0,"mat-spinner",5)}function z(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function F(t,e){1&t&&(b.TgZ(0,"app-alert",42),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function Z(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function B(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function q(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function U(t,e){if(1&t&&(b.TgZ(0,"mat-option",43),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.Q6J("value",t),b.xp6(1),b.hij(" ",t," ")}}function H(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function j(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function G(t,e){1&t&&b._UZ(0,"mat-spinner",44),2&t&&b.Q6J("diameter",18)}function Y(t,e){1&t&&(b.TgZ(0,"mat-icon",45),b.ALo(1,"translate"),b._uU(2," error "),b.qZA()),2&t&&b.Q6J("matTooltip",b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function V(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function K(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function J(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function $(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Q(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"perun-web-apps-user-search-select",46),b.NdJ("userSelected",function(e){return b.CHM(t),b.oxw(2).selectedSponsor=e}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(1),b.Q6J("users",t.voSponsors)("disableAutoSelect",!0)}}function W(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",6),b.TgZ(1,"mat-horizontal-stepper",7),b.TgZ(2,"mat-step",8),b.YNc(3,z,2,3,"ng-template",9),b.YNc(4,F,3,3,"app-alert",10),b.TgZ(5,"form",11),b.TgZ(6,"h5",12),b._uU(7),b.ALo(8,"translate"),b.qZA(),b.TgZ(9,"mat-form-field",13),b._UZ(10,"input",14),b.ALo(11,"translate"),b.YNc(12,Z,3,3,"mat-error",15),b.qZA(),b.TgZ(13,"mat-form-field"),b._UZ(14,"input",16),b.ALo(15,"translate"),b.YNc(16,B,3,3,"mat-error",15),b.qZA(),b.TgZ(17,"mat-form-field"),b._UZ(18,"input",17),b.ALo(19,"translate"),b.qZA(),b.TgZ(20,"mat-form-field"),b._UZ(21,"input",18),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.TgZ(23,"div",19),b.TgZ(24,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"button",21),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"mat-step",8),b.YNc(31,q,2,3,"ng-template",9),b.TgZ(32,"h5",12),b._uU(33),b.ALo(34,"translate"),b.qZA(),b.TgZ(35,"form",22),b.TgZ(36,"mat-form-field"),b.TgZ(37,"mat-select",23),b.NdJ("valueChange",function(e){return b.CHM(t),b.oxw().onNamespaceChanged(e)}),b.ALo(38,"translate"),b.YNc(39,U,2,2,"mat-option",24),b.qZA(),b.YNc(40,H,3,3,"mat-error",15),b.qZA(),b.TgZ(41,"mat-form-field",25),b.ALo(42,"translate"),b._UZ(43,"input",26),b.ALo(44,"translate"),b.YNc(45,j,3,3,"mat-error",15),b.qZA(),b.TgZ(46,"span",25),b.ALo(47,"translate"),b.TgZ(48,"mat-checkbox",27),b.NdJ("change",function(){return b.CHM(t),b.oxw().passwordResetChange()}),b._uU(49),b.ALo(50,"translate"),b.qZA(),b.qZA(),b.TgZ(51,"mat-form-field",25),b._UZ(52,"input",28),b.ALo(53,"translate"),b.YNc(54,G,1,1,"mat-spinner",29),b.YNc(55,Y,3,3,"mat-icon",30),b.YNc(56,V,3,3,"mat-error",15),b.YNc(57,K,3,3,"mat-error",15),b.qZA(),b.TgZ(58,"mat-checkbox",31),b._uU(59),b.ALo(60,"translate"),b.qZA(),b.TgZ(61,"mat-form-field"),b._UZ(62,"input",32),b.ALo(63,"translate"),b.YNc(64,J,3,3,"mat-error",15),b.qZA(),b.TgZ(65,"div",19),b.TgZ(66,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(67),b.ALo(68,"translate"),b.qZA(),b.TgZ(69,"button",33),b._uU(70),b.ALo(71,"translate"),b.qZA(),b.TgZ(72,"button",34),b._uU(73),b.ALo(74,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.TgZ(75,"mat-step"),b.YNc(76,$,2,3,"ng-template",9),b.TgZ(77,"div",35),b.TgZ(78,"h5",12),b._uU(79),b.ALo(80,"translate"),b.qZA(),b.TgZ(81,"div",13),b.TgZ(82,"h6"),b._uU(83),b.ALo(84,"translate"),b.qZA(),b.TgZ(85,"mat-radio-group",36),b.NdJ("ngModelChange",function(e){return b.CHM(t),b.oxw().sponsorType=e}),b.TgZ(86,"span",37),b.ALo(87,"translate"),b.TgZ(88,"mat-radio-button",38),b.NdJ("click",function(){return b.CHM(t),b.oxw().selectedSponsor=null}),b._uU(89),b.ALo(90,"translate"),b.qZA(),b.qZA(),b.TgZ(91,"span",37),b.ALo(92,"translate"),b.TgZ(93,"mat-radio-button",39),b._uU(94),b.ALo(95,"translate"),b.qZA(),b.qZA(),b.qZA(),b.YNc(96,Q,2,2,"div",15),b.qZA(),b.TgZ(97,"h6",13),b._uU(98),b.ALo(99,"translate"),b.qZA(),b.TgZ(100,"perun-web-apps-expiration-select",40),b.NdJ("datePicker",function(e){return b.CHM(t),b.oxw().setExpiration(e)}),b.qZA(),b.qZA(),b.TgZ(101,"div",19),b.TgZ(102,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(103),b.ALo(104,"translate"),b.qZA(),b.TgZ(105,"button",33),b._uU(106),b.ALo(107,"translate"),b.qZA(),b.TgZ(108,"button",41),b.NdJ("click",function(){return b.CHM(t),b.oxw().onConfirm()}),b._uU(109),b.ALo(110,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("linear",!0),b.xp6(1),b.Q6J("stepControl",t.userControl),b.xp6(2),b.Q6J("ngIf",t.functionalityNotSupported),b.xp6(1),b.Q6J("formGroup",t.userControl),b.xp6(2),b.hij(" ",b.lcZ(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),b.xp6(2),b.Q6J("ngIf",t.userControl.hasError("required","firstName")),b.xp6(2),b.s9C("placeholder",b.lcZ(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),b.xp6(2),b.Q6J("ngIf",t.userControl.hasError("required","lastName")),b.xp6(2),b.s9C("placeholder",b.lcZ(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),b.xp6(3),b.s9C("placeholder",b.lcZ(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),b.xp6(4),b.hij(" ",b.lcZ(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(2),b.Q6J("disabled",t.userControl.invalid),b.xp6(1),b.hij(" ",b.lcZ(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.xp6(2),b.Q6J("stepControl",t.namespaceControl),b.xp6(3),b.Oqu(b.lcZ(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),b.xp6(2),b.Q6J("formGroup",t.namespaceControl),b.xp6(2),b.s9C("placeholder",b.lcZ(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),b.xp6(2),b.Q6J("ngForOf",t.namespaceOptions),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.hasError("required","namespace")),b.xp6(1),b.s9C("matTooltip",b.lcZ(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),b.Q6J("matTooltipDisabled",t.namespaceControl.get("login").enabled),b.xp6(2),b.s9C("placeholder",b.lcZ(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.hasError("required","login")),b.xp6(1),b.s9C("matTooltip",b.lcZ(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),b.Q6J("matTooltipDisabled",t.namespaceControl.get("passwordReset").enabled),b.xp6(3),b.hij("",b.lcZ(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),b.xp6(2),b.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.namespaceControl.get("password").enabled),b.xp6(1),b.s9C("placeholder",b.lcZ(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),b.Q6J("type",t.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",t.passwordStateMatcher),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.get("password").pending),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").dirty&&null!==t.namespaceControl.get("password").errors),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").hasError("required")),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").hasError("backendError")),b.xp6(2),b.hij(" ",b.lcZ(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.hasError("required","email")||t.namespaceControl.hasError("pattern","email")),b.xp6(3),b.hij(" ",b.lcZ(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.xp6(2),b.Q6J("disabled",t.namespaceControl.invalid||t.namespaceControl.get("password").pending),b.xp6(1),b.hij(" ",b.lcZ(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),b.xp6(4),b.Oqu(b.lcZ(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),b.xp6(2),b.Q6J("ngModel",t.sponsorType),b.xp6(1),b.s9C("matTooltip",b.lcZ(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),b.Q6J("matTooltipDisabled",t.isSponsor),b.xp6(2),b.Q6J("disabled",!t.isSponsor),b.xp6(1),b.hij(" ",b.lcZ(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),b.Q6J("matTooltipDisabled",t.isPerunAdmin),b.xp6(2),b.Q6J("disabled",!t.isPerunAdmin),b.xp6(1),b.hij(" ",b.lcZ(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),b.xp6(2),b.Q6J("ngIf","other"===t.sponsorType),b.xp6(2),b.Oqu(b.lcZ(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),b.xp6(5),b.hij(" ",b.lcZ(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.sponsorType||"other"===t.sponsorType&&null===t.selectedSponsor),b.xp6(1),b.hij(" ",b.lcZ(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function X(t,e){if(1&t&&(b.TgZ(0,"div",6),b.TgZ(1,"div",47),b.TgZ(2,"mat-icon",48),b._uU(3,"done"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.TgZ(6,"i"),b._uU(7),b.ALo(8,"userFullName"),b.qZA(),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"div"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.TgZ(14,"div"),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.TgZ(17,"app-alert",49),b._uU(18),b.ALo(19,"translate"),b.qZA(),b.qZA()),2&t){const t=b.oxw();b.xp6(4),b.hij(" ",b.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),b.xp6(3),b.Oqu(b.lcZ(8,10,t.createdMember.user)),b.xp6(2),b.hij(" ",b.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),b.xp6(3),b.AsE("",b.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",t.loginThatWasSet,""),b.xp6(3),b.AsE("",b.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",t.namespaceControl.get("password").value," "),b.xp6(3),b.Oqu(b.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function tt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",19),b.TgZ(1,"button",50),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.qZA()}2&t&&(b.xp6(2),b.hij(" ",b.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}class et{isErrorState(t){return!!(t&&t.invalid&&t.dirty)}}const it=(t,e,i,n=500)=>s=>(0,d.H)(n).pipe((0,g.w)(()=>(i.dontHandleErrorForNext(),null===t||"No namespace"===t?(0,p.of)(null):e.checkPasswordStrength(s.value,t))),(0,f.U)(()=>null),(0,m.K)(t=>(0,p.of)({backendError:t.error.message.substr(t.error.message.indexOf(":")+1)})));let nt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.dialogRef=t,this.data=e,this.membersService=i,this.apiRequestConfiguration=n,this.usersService=s,this.store=o,this.translator=r,this.authzService=a,this.guiAuthResolver=c,this.formBuilder=u,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.parsedRules=new Map,this.emailRegx=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,this.userControl=null,this.namespaceControl=null,this.passwordStateMatcher=new et,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(h.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",u.kI.required],lastName:["",u.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",u.kI.required],login:["",[u.kI.required]],password:["",u.kI.required,[it(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[u.kI.required,u.kI.pattern(this.emailRegx)]]}),this.membersService.getAllNamespacesRules().subscribe(t=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(t),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1})}parseNamespaceRules(){for(const t of this.namespaceRules){this.namespaceOptions.push(t.namespaceName);const e={login:"disabled",password:"disabled"};this.parseAttributes(e,t.requiredAttributes,"required"),this.parseAttributes(e,t.optionalAttributes,"optional"),this.parsedRules.set(t.namespaceName,e)}}parseAttributes(t,e,i){for(const n of e)switch(n){case"login":t.login=i;break;case"password":t.password=i}}onConfirm(){this.loading=!0;const t={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},e=this.namespaceControl.get("namespace").value,i=this.parsedRules.get(e);"No namespace"!==e&&(t.userData.namespace=e),"disabled"!==i.login&&(t.userData.login=this.namespaceControl.get("login").value),"disabled"!==i.password&&(t.sendActivationLink=this.namespaceControl.get("passwordReset").value,t.userData.password=this.namespaceControl.get("password").value),"never"!==this.expiration&&(t.validityTo=this.expiration),this.membersService.createSponsoredMember(t).subscribe(t=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=t,t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>t.friendlyNameParameter===e).filter(t=>null!==t.value).forEach(t=>{this.loginThatWasSet=t.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(t){const e=this.parsedRules.get(t),i=this.namespaceControl.get("login"),n=this.namespaceControl.get("password"),s=this.namespaceControl.get("passwordReset"),o=this.namespaceControl.get("showPassword");"disabled"!==e.login?(0,r.mH)(i,"optional"===e.login?[]:[u.kI.required]):(i.disable(),i.setValue("")),"disabled"!==e.password?((0,r.mH)(n,"optional"===e.password?[]:[u.kI.required],[it(t,this.usersService,this.apiRequestConfiguration)]),(0,r.mH)(s,[]),(0,r.mH)(o,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(n.disable(),n.setValue(""),s.disable(),s.setValue(!1),o.disable(),o.setValue(!1))}passwordResetChange(){const t=this.namespaceControl.get("password");this.namespaceControl.get("passwordReset").value?(t.disable(),t.setValue("")):t.enable()}setExpiration(t){this.expiration="never"===t?"never":(0,l.p6)(t,"yyyy-MM-dd","en-GB")}getPasswordDisabledTooltip(){return this.namespaceControl.get("passwordReset").value?this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_VIA_EMAIL"):this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_DISABLED")}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(n.uq),b.Y36(c.F5),b.Y36(n.Fv),b.Y36(c.d6),b.Y36(w.sK),b.Y36(n.Ct),b.Y36(c.x4),b.Y36(u.qu))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-create-sponsored-member-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[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"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],["matInput","","formControlName","password",3,"type","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["color","warn","matSuffix","",3,"matTooltip",4,"ngIf"],["formControlName","showPassword",1,"example-margin"],["matInput","","required","","formControlName","email",3,"placeholder"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled"],[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"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","error"],[3,"value"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",3,"matTooltip"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.YNc(1,L,3,3,"h1",0),b.YNc(2,N,1,0,"mat-spinner",1),b.YNc(3,W,111,118,"div",2),b.YNc(4,X,20,20,"div",2),b.YNc(5,tt,4,3,"div",3),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(1),b.Q6J("ngIf",!e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading&&!e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",!e.loading&&e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",e.successfullyCreated))},directives:[l.O5,a.uh,_.$g,a.xY,y.Vq,y.C0,y.VY,u._Y,u.JL,u.sg,A.KE,v.Nt,u.Fj,u.JJ,u.u,u.Q7,a.H8,T.lW,y.Ic,C.gD,l.sg,S.gM,E.oG,y.fd,k.VQ,u.On,k.U0,R,I.w,A.TO,O.ey,A.R9,P.Hw,D.S],pipes:[w.X$,M.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}"]}),t})();var st=i(67004),ot=i(43005),rt=i(19139),at=i(78364);function ct(t,e){1&t&&b._UZ(0,"mat-spinner",3)}function ut(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function lt(t,e){1&t&&(b.TgZ(0,"app-alert",32),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function ht(t,e){if(1&t&&(b.TgZ(0,"mat-option",33),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.Q6J("value",t),b.xp6(1),b.hij(" ",t," ")}}function dt(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function pt(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function gt(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function ft(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function mt(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function bt(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function wt(t,e){1&t&&(b.TgZ(0,"app-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function _t(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"mat-radio-group",35),b.NdJ("ngModelChange",function(e){return b.CHM(t),b.oxw(2).passwordReset=e}),b.TgZ(1,"mat-radio-button",36),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"mat-radio-button",37),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.Q6J("ngModel",t.passwordReset),b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),b.xp6(3),b.hij(" ",b.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function yt(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function At(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function vt(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",38),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.qZA()),2&t&&(b.xp6(2),b.Oqu(b.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Tt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"h5",39),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-create-group-form",40),b.NdJ("nameChanged",function(e){return b.CHM(t),b.oxw(2).name=e})("descriptionChanged",function(e){return b.CHM(t),b.oxw(2).description=e})("parentGroupChanged",function(e){return b.CHM(t),b.oxw(2).parentGroup=e})("asSubgroupChanged",function(e){return b.CHM(t),b.oxw(2).asSubGroup=e}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(2),b.Oqu(b.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")),b.xp6(2),b.Q6J("voGroups",t.allVoGroups)}}const Ct=function(){return["select","id","name","description"]};function St(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"h5",39),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-immediate-filter",41),b.NdJ("filter",function(e){return b.CHM(t),b.oxw(2).applyFilter(e)}),b.qZA(),b.TgZ(5,"perun-web-apps-groups-list",42),b.NdJ("page",function(e){return b.CHM(t),b.oxw(2).groupTablePageChanged(e)}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("groups",t.assignableGroups)("selection",t.selection)("displayedColumns",b.DdM(10,Ct))("disableRouting",!0)("pageSize",t.pageSize)("filter",t.filterValue)}}function Et(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",4),b.TgZ(1,"mat-horizontal-stepper",5),b.TgZ(2,"mat-step",6),b.YNc(3,ut,2,3,"ng-template",7),b.YNc(4,lt,3,3,"app-alert",8),b.TgZ(5,"h5",9),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"form",10),b.TgZ(9,"mat-form-field"),b.TgZ(10,"mat-select",11),b.ALo(11,"translate"),b.YNc(12,ht,2,2,"mat-option",12),b.qZA(),b.YNc(13,dt,3,3,"mat-error",13),b.qZA(),b.TgZ(14,"div"),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.TgZ(17,"div",14),b._uU(18),b.qZA(),b.TgZ(19,"mat-form-field",15),b.TgZ(20,"mat-label"),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.TgZ(23,"textarea",16),b._uU(24," "),b.qZA(),b.YNc(25,pt,3,3,"mat-error",13),b.YNc(26,gt,3,4,"mat-error",13),b.YNc(27,ft,3,4,"mat-error",13),b.YNc(28,mt,3,4,"mat-error",13),b.qZA(),b.TgZ(29,"div",17),b.TgZ(30,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(31),b.ALo(32,"translate"),b.qZA(),b.TgZ(33,"button",19),b._uU(34),b.ALo(35,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.TgZ(36,"mat-step"),b.YNc(37,bt,2,3,"ng-template",7),b.TgZ(38,"div",9),b.TgZ(39,"h5",20),b._uU(40),b.ALo(41,"translate"),b.qZA(),b.YNc(42,wt,3,3,"app-alert",21),b.YNc(43,_t,7,7,"mat-radio-group",22),b.qZA(),b.TgZ(44,"div",17),b.TgZ(45,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(46),b.ALo(47,"translate"),b.qZA(),b.TgZ(48,"button",23),b._uU(49),b.ALo(50,"translate"),b.qZA(),b.TgZ(51,"button",24),b._uU(52),b.ALo(53,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(54,"mat-step"),b.YNc(55,yt,2,3,"ng-template",7),b.TgZ(56,"div",9),b.TgZ(57,"h5",20),b._uU(58),b.ALo(59,"translate"),b.qZA(),b.TgZ(60,"perun-web-apps-expiration-select",25),b.NdJ("datePicker",function(e){return b.CHM(t),b.oxw().setExpiration(e)}),b.qZA(),b.qZA(),b.TgZ(61,"div",17),b.TgZ(62,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(63),b.ALo(64,"translate"),b.qZA(),b.TgZ(65,"button",23),b._uU(66),b.ALo(67,"translate"),b.qZA(),b.TgZ(68,"button",24),b._uU(69),b.ALo(70,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(71,"mat-step"),b.YNc(72,At,2,3,"ng-template",7),b.TgZ(73,"div",9),b.TgZ(74,"h5",20),b._uU(75),b.ALo(76,"translate"),b.qZA(),b.TgZ(77,"mat-radio-group",26),b.NdJ("change",function(){return b.CHM(t),b.oxw().groupAssigmentChanged()})("ngModelChange",function(e){return b.CHM(t),b.oxw().groupAssignment=e}),b.TgZ(78,"mat-radio-button",27),b._uU(79),b.ALo(80,"translate"),b.qZA(),b.TgZ(81,"span",28),b.ALo(82,"translate"),b.TgZ(83,"mat-radio-button",29),b._uU(84),b.ALo(85,"translate"),b.qZA(),b.qZA(),b.TgZ(86,"span",28),b.ALo(87,"translate"),b.TgZ(88,"mat-radio-button",30),b._uU(89),b.ALo(90,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.YNc(91,vt,4,3,"div",13),b.YNc(92,Tt,5,4,"div",13),b.YNc(93,St,6,11,"div",13),b.TgZ(94,"div",17),b.TgZ(95,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(96),b.ALo(97,"translate"),b.qZA(),b.TgZ(98,"button",23),b._uU(99),b.ALo(100,"translate"),b.qZA(),b.TgZ(101,"button",31),b.NdJ("click",function(){return b.CHM(t),b.oxw().onSubmit()}),b._uU(102),b.ALo(103,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("linear",!0),b.xp6(1),b.Q6J("stepControl",t.usersInfoFormGroup),b.xp6(2),b.Q6J("ngIf",t.functionalityNotSupported),b.xp6(2),b.Oqu(b.lcZ(7,50,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),b.xp6(2),b.Q6J("formGroup",t.usersInfoFormGroup),b.xp6(2),b.s9C("placeholder",b.lcZ(11,52,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),b.xp6(2),b.Q6J("ngForOf",t.namespaceOptions),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("required","namespace")),b.xp6(2),b.Oqu(b.lcZ(16,54,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),b.xp6(3),b.Oqu(t.getSelectedNamespaceRules().csvGenHeaderDescription),b.xp6(3),b.Oqu(b.lcZ(22,56,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),b.xp6(2),b.s9C("placeholder",t.getSelectedNamespaceRules().csvGenPlaceholder),b.xp6(2),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("required","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),b.xp6(3),b.hij(" ",b.lcZ(32,58,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",t.usersInfoFormGroup.invalid),b.xp6(1),b.hij(" ",b.lcZ(35,60,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(41,62,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")),b.xp6(2),b.Q6J("ngIf","No namespace"===t.getSelectedNamespaceRules().namespaceName),b.xp6(1),b.Q6J("ngIf","No namespace"!==t.getSelectedNamespaceRules().namespaceName),b.xp6(3),b.hij(" ",b.lcZ(47,64,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(50,66,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.passwordReset),b.xp6(1),b.hij(" ",b.lcZ(53,68,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(59,70,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),b.xp6(2),b.Q6J("expiration",t.expiration),b.xp6(3),b.hij(" ",b.lcZ(64,72,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(67,74,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.expiration),b.xp6(1),b.hij("",b.lcZ(70,76,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(76,78,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),b.xp6(2),b.Q6J("ngModel",t.groupAssignment),b.xp6(2),b.hij(" ",b.lcZ(80,80,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(82,82,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),b.Q6J("matTooltipDisabled",!t.manualMemberAddingBlocked&&t.createGroupAuth),b.xp6(2),b.Q6J("disabled",t.manualMemberAddingBlocked||!t.createGroupAuth),b.xp6(1),b.hij(" ",b.lcZ(85,84,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(87,86,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),b.Q6J("matTooltipDisabled",!t.manualMemberAddingBlocked&&0!==t.assignableGroups.length),b.xp6(2),b.Q6J("disabled",t.manualMemberAddingBlocked||0===t.assignableGroups.length),b.xp6(1),b.hij(" ",b.lcZ(90,88,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),b.xp6(2),b.Q6J("ngIf","none"===t.groupAssignment),b.xp6(1),b.Q6J("ngIf","new"===t.groupAssignment),b.xp6(1),b.Q6J("ngIf","existing"===t.groupAssignment),b.xp6(3),b.hij(" ",b.lcZ(97,90,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(100,92,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.groupAssignment||"existing"===t.groupAssignment&&0===t.selection.selected.length||"new"===t.groupAssignment&&(0===t.name.length||0===t.description.length)||!0===t.asSubGroup&&null===t.parentGroup),b.xp6(1),b.hij(" ",b.lcZ(103,94,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}let kt=(()=>{class t{constructor(t,e,i,n,r,a,c,u,l,h,d){this.dialogRef=t,this.data=e,this.store=i,this.membersService=n,this.notificator=r,this.translate=a,this.guiAuthResolver=c,this.groupsService=u,this.attributesService=l,this.formBuilder=h,this.tableConfigService=d,this.loading=!1,this.functionalityNotSupported=!1,this.emailRegx=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,this.namespaceOptions=[],this.namespaceRules=[],this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new s.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=o.rc,this.groupAttrNames=[st.r.GROUP_SYNC_ENABLED,st.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}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.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",u.kI.required],sponsoredMembers:["",[u.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(t=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(t,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(t=>{this.allVoGroups=t.filter(t=>"members"!==t.name),this.assignableGroups=this.filterAssignableGroups(t),this.membersService.getAllNamespacesRules().subscribe(t=>{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(t),this.namespaceRules.forEach(t=>this.namespaceOptions.push(t.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1})},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1)}filterAssignableGroups(t){const e=[];for(const i of t)this.hasAttributeEnabled(i.attributes,"synchronizationEnabled")||this.hasAttributeEnabled(i.attributes,"blockManualMemberAdding")||!this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[i])||e.push(i);return e}hasAttributeEnabled(t,e){return t.some(t=>t.friendlyName===e&&null!==t.value&&"true"===t.value.toString())}createOutputObjects(t){let e="",i="",n="",s="";const o=[];for(const r of Object.keys(t)){e=r.replace(";"," ").split(";")[0];for(const e of Object.keys(t[r]))switch(e){case"status":i=t[r][e];break;case"login":n=t[r][e];break;case"password":s=t[r][e]}o.push({name:e,status:i,login:n,password:s})}return o}onGenerate(){this.loading=!0;const t=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),e=this.getSelectedNamespaceRules().csvGenHeader,i=[];for(const s of t){const t=this.parseMemberLine(s);if("format"===t||"email"===t)return void(this.loading=!1);""!==t&&i.push(t)}const n={data:i,header:e,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(n.groups=this.groupIds),"never"!==this.expiration&&(n.validityTo=(0,l.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(n.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(n).subscribe(t=>{(0,r.O6)(this.createOutputObjects(t),"csv","member-logins"),this.notificator.showSuccess(this.translate.instant("DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}parseMemberLine(t){const e=t.trim();if(""===e)return"";const i=e.split(";"),n=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(i.length!==n.length)return"format";if("mail"===n[2].slice(n[2].length-4).toLowerCase()&&!i[2].trim().match(this.emailRegx))return"email";if("login"===n[3]&&""===i[3].trim())return"login";let s="";for(const o of i)s+=o.trim()+";";return s.slice(0,-1)}userInputValidator(){return t=>{const e=t.value.split("\n");for(const i of e){const t=this.parseMemberLine(i);if("format"===t)return{invalidFormat:{value:i}};if("email"===t)return{invalidEmail:{value:i}};if("login"===t)return{invalidLogin:{value:i}}}return null}}setExpiration(t){this.expiration="never"===t?"never":(0,l.p6)(t,"yyyy-MM-dd","en-GB")}groupTablePageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}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(t=>{this.groupIds.push(t.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(t=>{this.groupIds.push(t.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(t=>t.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(t=>t.namespaceName===this.usersInfoFormGroup.get("namespace").value)}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(c.d6),b.Y36(n.uq),b.Y36(c.V6),b.Y36(w.sK),b.Y36(c.x4),b.Y36(n.ff),b.Y36(n.H8),b.Y36(u.qu),b.Y36(o.dB))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-generate-sponsored-members-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","color","accent","matStepperNext","",3,"disabled"],[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"],["mat-flat-button","","color","accent",3,"disabled","click"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","pageSize","filter","page"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ct,1,0,"mat-spinner",1),b.YNc(5,Et,104,96,"div",2),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),b.xp6(2),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading))},directives:[a.uh,l.O5,_.$g,a.xY,y.Vq,y.C0,y.VY,u._Y,u.JL,u.sg,A.KE,C.gD,u.Q7,u.JJ,u.u,l.sg,A.hX,v.Nt,u.Fj,a.H8,T.lW,y.Ic,y.fd,R,k.VQ,u.On,k.U0,S.gM,I.w,O.ey,A.TO,ot.r,rt.L,at.W],pipes:[w.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();var xt=i(4252);function Rt(t,e){1&t&&b._UZ(0,"mat-spinner",12)}const It=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ot(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"perun-web-apps-members-list",13),b.NdJ("page",function(e){return b.CHM(t),b.oxw().pageChanged(e)}),b.qZA()}if(2&t){const t=b.oxw();b.Q6J("pageSize",t.pageSize)("hidden",t.loading)("members",t.members)("selection",t.selection)("displayedColumns",b.DdM(6,It))("disableRouting",!0)}}function Pt(t,e){1&t&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let Dt=(()=>{class t{constructor(t,e,i,n,r,a,c){this.dialogRef=t,this.data=e,this.store=i,this.membersService=n,this.notificator=r,this.translate=a,this.tableConfigService=c,this.loading=!1,this.tableId=o.US,this.expiration="never",this.searchCtrl=new u.NI("",[u.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new s.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId)}onCancel(){this.dialogRef.close(!1)}sponsor(t){if(this.loading=!0,0===t.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const e=t.pop();e.sponsored?this.membersService.sponsorMember(e.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(t)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(e.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(t)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const t=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(t)}setExpiration(t){this.expiration="never"===t?"never":(0,l.p6)(t,"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,[st.r.MEMBER_DEF_EXPIRATION,st.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1},()=>this.loading=!1))}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(c.d6),b.Y36(n.uq),b.Y36(c.V6),b.Y36(w.sK),b.Y36(o.dB))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","hidden","members","selection","displayedColumns","disableRouting","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","hidden","members","selection","displayedColumns","disableRouting","page"],["alert_type","warn"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"mat-form-field",2),b.TgZ(6,"label"),b.TgZ(7,"input",3),b.NdJ("keyup.enter",function(){return e.onSearchByString()}),b.ALo(8,"translate"),b.qZA(),b.qZA(),b.TgZ(9,"mat-error"),b._uU(10),b.ALo(11,"translate"),b.qZA(),b.qZA(),b.TgZ(12,"button",4),b.NdJ("click",function(){return e.onSearchByString()}),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.YNc(15,Rt,1,0,"mat-spinner",5),b.YNc(16,Ot,1,7,"perun-web-apps-members-list",6),b.YNc(17,Pt,3,3,"app-alert",7),b.TgZ(18,"div"),b._UZ(19,"br"),b.TgZ(20,"h6"),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.TgZ(23,"perun-web-apps-expiration-select",8),b.NdJ("datePicker",function(t){return e.setExpiration(t)}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(24,"div",9),b.TgZ(25,"button",10),b.NdJ("click",function(){return e.onCancel()}),b._uU(26),b.ALo(27,"translate"),b.qZA(),b.TgZ(28,"button",11),b.NdJ("click",function(){return e.onSubmit()}),b._uU(29),b.ALo(30,"translate"),b.qZA(),b.qZA(),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(2),b.Oqu(b.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),b.xp6(5),b.s9C("placeholder",b.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),b.Q6J("formControl",e.searchCtrl),b.xp6(3),b.hij(" ",b.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),b.xp6(2),b.Q6J("disabled",e.loading),b.xp6(1),b.hij(" ",b.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),b.xp6(2),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",e.firstSearchDone),b.xp6(1),b.Q6J("ngIf",!e.firstSearchDone),b.xp6(4),b.Oqu(b.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),b.xp6(5),b.hij(" ",b.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),b.xp6(2),b.Q6J("disabled",e.loading||0===e.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[a.uh,a.xY,A.KE,v.Nt,u.Fj,u.JJ,u.oH,A.TO,T.lW,l.O5,R,a.H8,_.$g,xt.O,I.w],pipes:[w.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),t})();var Mt=i(57629),Lt=i(59403),Nt=i(8055),zt=i(58623),Ft=i(67033),Zt=i(79592),Bt=i(95121),qt=i(82819),Ut=i(84534);function Ht(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"th",15),b.TgZ(1,"mat-checkbox",16),b.NdJ("change",function(e){b.CHM(t);const i=b.oxw();return e?i.masterToggle():null}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function jt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"td",17),b.TgZ(1,"mat-checkbox",18),b.NdJ("change",function(e){const i=b.CHM(t).$implicit,n=b.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),b.qZA(),b.qZA()}if(2&t){const t=e.$implicit,i=b.oxw();b.xp6(1),b.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function Gt(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")))}function Yt(t,e){if(1&t&&(b.TgZ(0,"td",17),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Oqu(t.member.id)}}function Vt(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")))}function Kt(t,e){if(1&t&&(b.TgZ(0,"td",20),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,t.member.user))}}function Jt(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")))}function $t(t,e){if(1&t&&(b.TgZ(0,"span"),b._uU(1),b.ALo(2,"userFullName"),b._UZ(3,"br"),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,1,t.user),"")}}function Qt(t,e){if(1&t&&(b.TgZ(0,"td",20),b.YNc(1,$t,4,3,"span",21),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Q6J("ngForOf",t.sponsors)}}function Wt(t,e){1&t&&b._UZ(0,"th",19)}function Xt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"span",24),b.ALo(1,"translate"),b.TgZ(2,"button",25),b.NdJ("mouseenter",function(){return b.CHM(t),b.oxw(2).disableRouting=!0})("mouseleave",function(){b.CHM(t);const e=b.oxw(2);return e.disableRouting=e.routingStrategy})("click",function(){b.CHM(t);const e=b.oxw().$implicit;return b.oxw().resetPassword(e)}),b.TgZ(3,"mat-icon"),b._uU(4,"vpn_key"),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.Q6J("matTooltipPosition","above")("matTooltip",b.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),b.xp6(2),b.Q6J("disabled",t.loading)}}function te(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"td",20),b.TgZ(1,"button",22),b.NdJ("click",function(){const e=b.CHM(t).$implicit;return b.oxw().showSponsors(e)})("mouseenter",function(){return b.CHM(t),b.oxw().disableRouting=!0})("mouseleave",function(){b.CHM(t);const e=b.oxw();return e.disableRouting=e.routingStrategy}),b.TgZ(2,"mat-icon"),b._uU(3,"edit"),b.qZA(),b.qZA(),b.YNc(4,Xt,5,5,"span",23),b.qZA()}if(2&t){const t=e.$implicit,i=b.oxw();b.xp6(4),b.Q6J("ngIf",i.passwdResetAuth(t))}}function ee(t,e){1&t&&b._UZ(0,"tr",26)}const ie=function(t,e){return["/organizations",t,"members",e]};function ne(t,e){if(1&t&&b._UZ(0,"tr",27),2&t){const t=e.$implicit,i=b.oxw();b.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:b.WLB(6,ie,t.member.voId,t.member.id))("routerLink",i.disableRouting?null:b.WLB(9,ie,t.member.voId,t.member.id))}}function se(t,e){1&t&&(b.TgZ(0,"app-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function oe(t,e){1&t&&(b.TgZ(0,"app-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let re=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.authResolver=e,this.storeService=i,this.attributesManager=n,this.tableCheckbox=s,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.pageSize=10,this.page=new b.vpe,this.refreshTable=new b.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(t,e){var i;switch(e){case"id":return t.member.id.toString();case"name":return t.member.user?t.member.user.lastName?t.member.user.lastName:null!==(i=t.member.user.firstName)&&void 0!==i?i:"":"";case"sponsors":return t.sponsors.length.toString();default:return""}}getDataForColumn(t,e){switch(e){case"id":return t.member.id.toString();case"name":return t.member.user?(0,r.bD)(t.member.user):"";case"sponsors":return t.sponsors.map(t=>(0,r.bD)(t.user)).join();default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new Ft.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(t){const e=(0,r.kZ)();e.width="650px",e.data={sponsors:t.sponsors,member:t.member,theme:"vo-theme"},this.dialog.open(Zt.H,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(t){this.loading=!0;const e=this.storeService.get("password_namespace_attributes").map(t=>(t=t.split(":"))[t.length-1]);this.attributesManager.getLogins(t.member.userId).subscribe(i=>{const n=i.filter(t=>e.includes(t.friendlyNameParameter)),s=(0,r.kZ)();s.width="400px",s.data={userId:t.member.userId,memberId:t.member.id,logins:n},this.dialog.open(Bt.m,s).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(t){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:t.member.voId,beanName:"Vo"},t.member])}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.uw),b.Y36(c.x4),b.Y36(c.d6),b.Y36(n.H8),b.Y36(c.UA))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-sponsored-members-list"]],viewQuery:function(t,e){if(1&t&&(b.Gf(zt.YE,7),b.Gf(r.l9,7)),2&t){let t;b.iGM(t=b.CRH())&&(e.matSort=t.first),b.iGM(t=b.CRH())&&(e.child=t.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSize:"pageSize"},outputs:{page:"page",refreshTable:"refreshTable"},features:[b.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,Ht,2,3,"th",4),b.YNc(5,jt,2,2,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,Gt,3,3,"th",7),b.YNc(8,Yt,2,1,"td",5),b.BQk(),b.ynx(9,8),b.YNc(10,Vt,3,3,"th",7),b.YNc(11,Kt,3,3,"td",9),b.BQk(),b.ynx(12,10),b.YNc(13,Jt,3,3,"th",7),b.YNc(14,Qt,2,1,"td",9),b.BQk(),b.ynx(15,11),b.YNc(16,Wt,1,0,"th",7),b.YNc(17,te,5,1,"td",9),b.BQk(),b.YNc(18,ee,1,0,"tr",12),b.YNc(19,ne,1,12,"tr",13),b.qZA(),b.qZA(),b.qZA(),b.YNc(20,se,3,3,"app-alert",14),b.YNc(21,oe,3,3,"app-alert",14)),2&t&&(b.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.sponsoredMembers.length),b.xp6(1),b.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),b.xp6(1),b.Q6J("dataSource",e.dataSource),b.xp6(16),b.Q6J("matHeaderRowDef",e.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",e.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.sponsoredMembers.length),b.xp6(1),b.Q6J("ngIf",0===e.sponsoredMembers.length))},directives:[qt.l,Ft.BZ,zt.YE,Ft.w1,Ft.fO,Ft.Dz,Ft.as,Ft.nj,l.O5,Ft.ge,E.oG,Ft.ev,zt.nU,l.sg,T.lW,P.Hw,S.gM,Ft.XQ,Ft.Gk,Ut.YH,Mt.rH,I.w],pipes:[w.X$,M.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function ae(t,e){if(1&t&&(b.TgZ(0,"button",10),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(),e=b.MAs(9);b.Q6J("disabled",t.findSponsorsAuth&&0===t.voSponsors.length)("matMenuTriggerFor",e),b.xp6(1),b.hij(" ",b.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function ce(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",11),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCreate()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function ue(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",11),b.NdJ("click",function(){return b.CHM(t),b.oxw().onGenerate()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function le(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",12),b.NdJ("click",function(){return b.CHM(t),b.oxw().onSponsorExistingMember()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function he(t,e){1&t&&b._UZ(0,"mat-spinner",13)}function de(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"app-sponsored-members-list",14),b.NdJ("page",function(e){return b.CHM(t),b.oxw().pageChanged(e)})("refreshTable",function(){return b.CHM(t),b.oxw().refresh()}),b.qZA()}if(2&t){const t=b.oxw();b.Q6J("sponsoredMembers",t.members)("disableRouting",!t.routeAuth)("selection",t.selection)("filterValue",t.searchString)("pageSize",t.pageSize)}}let pe=(()=>{class t{constructor(t,e,i,n,r,a,c){this.membersManager=t,this.route=e,this.dialog=i,this.authResolver=n,this.tableConfigService=r,this.storeService=a,this.authzResolver=c,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new s.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=o.Bf}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.vo={id:this.voId,beanName:"Vo"};const e=["SPONSOR"],i=new Map;this.authResolver.getRolesAuthorization(e,this.vo,i),this.findSponsorsAuth=i.get(e[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(h.u.SPONSOR,this.vo.id,"Vo",[st.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(t=>{this.voSponsors=t,this.setAuthRights(),this.refresh()}):(this.setAuthRights(),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 t=(0,r.kZ)();t.width="620px",t.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(nt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onGenerate(){const t=(0,r.kZ)();t.width="750px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(kt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onSponsorExistingMember(){const t=(0,r.kZ)();t.width="650px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Dt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.voId,this.attrNames).subscribe(t=>{this.selection.clear(),this.members=t,this.setAuthRights(),this.loading=!1})}applyFilter(t){this.searchString=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoSponsoredMembersComponent",t.\u0275fac=function(e){return new(e||t)(b.Y36(n.uq),b.Y36(Mt.gz),b.Y36(a.uw),b.Y36(c.x4),b.Y36(o.dB),b.Y36(c.d6),b.Y36(n.Ct))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(t,e){2&t&&b.ekj("router-component",e.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return e.refresh()}),b.qZA(),b.TgZ(5,"span",2),b.ALo(6,"translate"),b.YNc(7,ae,3,5,"button",3),b.qZA(),b.TgZ(8,"mat-menu",null,4),b.YNc(10,ce,3,3,"button",5),b.YNc(11,ue,3,3,"button",5),b.qZA(),b.YNc(12,le,3,3,"button",6),b.TgZ(13,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(t){return e.applyFilter(t)}),b.qZA(),b.YNc(14,he,1,0,"mat-spinner",8),b.YNc(15,de,1,5,"app-sponsored-members-list",9),b.qZA()),2&t&&(b.xp6(2),b.Oqu(b.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),b.xp6(3),b.s9C("matTooltip",b.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),b.Q6J("matTooltipDisabled",!(e.findSponsorsAuth&&0===e.voSponsors.length)),b.xp6(2),b.Q6J("ngIf",!e.loading&&(e.createAuth||e.generateAuth)),b.xp6(3),b.Q6J("ngIf",e.createAuth),b.xp6(1),b.Q6J("ngIf",e.generateAuth),b.xp6(1),b.Q6J("ngIf",!e.loading&&e.setSponsorshipAuth),b.xp6(1),b.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),b.xp6(1),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading))},directives:[Lt.t,S.gM,l.O5,Nt.VK,rt.L,T.lW,Nt.p6,Nt.OP,_.$g,re],pipes:[w.X$],styles:[""]}),t})()},17249:function(t,e,i){"use strict";i.d(e,{Y:function(){return N}});var n=i(33642),s=i(84140),o=i(88426),r=i(99608),a=i(4230),c=i(84608),u=i(16073),l=i(31572),h=i(48160),d=i(57629),p=i(61511),g=i(67806),f=i(66283),m=i(80340),b=i(15980),w=i(36922);function _(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function y(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"mat-form-field"),l._UZ(3,"input",5),l.ALo(4,"translate"),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"mat-form-field"),l._UZ(9,"input",5),l.ALo(10,"translate"),l.TgZ(11,"mat-error"),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(14,"div",6),l.TgZ(15,"button",7),l.NdJ("click",function(){return l.CHM(t),l.oxw().onCancel()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"div",8),l.ALo(19,"translate"),l.TgZ(20,"button",9),l.NdJ("click",function(){return l.CHM(t),l.oxw().onSubmit()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),l.Q6J("formControl",t.fullNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),l.xp6(3),l.s9C("placeholder",l.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),l.Q6J("formControl",t.shortNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),l.xp6(4),l.hij(" ",l.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),l.Q6J("matTooltipDisabled",t.shortNameCtrl.valid&&t.fullNameCtrl.valid),l.xp6(2),l.Q6J("disabled",t.shortNameCtrl.invalid||t.fullNameCtrl.invalid),l.xp6(1),l.hij(" ",l.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let A=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.router=o,s.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new u.NI(null,[u.kI.required,u.kI.pattern("^[\\w.-]+$"),u.kI.maxLength(33)]),this.fullNameCtrl=new u.NI(null,[u.kI.required,u.kI.pattern(".*[\\S]+.*"),u.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(t=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0),this.router.navigate(["/organizations",t.id])},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(c.so),l.Y36(c.WI),l.Y36(o.V6),l.Y36(n.YF),l.Y36(h.sK),l.Y36(d.F0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],["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(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,y,23,25,"div",2),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[c.uh,p.O5,g.$g,c.xY,f.KE,m.Nt,u.Fj,u.Q7,u.JJ,u.oH,f.TO,c.H8,b.lW,w.gM],pipes:[h.X$],styles:[""]}),t})();var v=i(60611),T=i(48958),C=i(66297),S=i(43691),E=i(59403),k=i(19139),x=i(97162);function R(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(t),l.oxw().refreshTable()}),l.qZA()}}function I(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(t),l.oxw().onCreateVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function O(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(t),l.oxw().onRemoveVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("disabled",0===t.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function P(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(t),l.oxw().applyFilter(e)}),l.qZA()}2&t&&l.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function D(t,e){1&t&&l._UZ(0,"mat-spinner",13)}function M(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-vos-list",14),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("recentIds",t.recentIds)("selection",t.selection)("vos",t.vos)}}const L=function(){return{color:"black"}};let N=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.sideMenuService=t,this.voService=e,this.guiAuthResolver=i,this.tableConfigService=n,this.dialog=s,this.notificator=o,this.apiRequest=r,this.initAuthService=a,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=v.tw}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new a.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(t=>{this.vos=t,this.recentIds=(0,s.vL)("vos"),this.loading=!1},t=>{"PrivilegeException"===t.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(t)})}applyFilter(t){this.filterValue=t}onCreateVo(){const t=(0,s.kZ)();t.width="600px",t.data={theme:"vo-theme"},this.dialog.open(A,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const t=(0,s.kZ)();t.width="500px",t.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoSelectPageComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(T.D),l.Y36(n.YF),l.Y36(o.x4),l.Y36(v.dB),l.Y36(c.uw),l.Y36(o.V6),l.Y36(o.F5),l.Y36(o.v0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.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",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,R,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,I,3,3,"button",4),l.YNc(8,O,3,4,"button",5),l.YNc(9,P,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,D,1,0,"mat-spinner",7),l.YNc(11,M,1,6,"perun-web-apps-vos-list",8),l.qZA()),2&t&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,L)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.createAuth),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.deleteAuth),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[C.W,S.Hw,p.PC,p.O5,E.t,b.lW,k.L,g.$g,x.Z],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},15291:function(t,e,i){"use strict";var n=i(30269),s=i(31572),o=i(57629);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})();var a=i(33642),c=i(88426),u=i(84140),l=i(61189),h=i(48958),d=i(48160),p=i(84608),g=i(25122),f=i(29236),m=i(16073),b=i(61511),w=i(43691),_=i(15980),y=i(39571),A=i(71522),v=i(36922);function T(t,e){1&t&&(s.TgZ(0,"app-alert",2),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function C(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"a",6),s.TgZ(2,"span",7),s._uU(3),s.qZA(),s._UZ(4,"mat-icon",8),s._uU(5),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Gre("",t.style," item-itself"),s.s9C("matTooltip",t.tooltip),s.Q6J("matTooltipDisabled",t.label===t.tooltip)("routerLink",t.url),s.xp6(2),s.Oqu(t.type),s.xp6(1),s.Q6J("svgIcon",t.cssIcon),s.xp6(1),s.hij(" ",t.label," ")}}function S(t,e){if(1&t&&(s.TgZ(0,"div",3),s.YNc(1,C,6,9,"div",4),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.items)}}let E=(()=>{class t{constructor(t,e,i){this.vosManager=t,this.groupsManager=e,this.facilitiesManager=i,this.vosIds=[],this.items=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[]}ngOnInit(){let t=(0,u.vL)("recent");for(const e of t)switch(e.type){case"Vo":this.vosIds.push(e.id);break;case"Group":this.groupsIds.push(e.id);break;case"Facility":this.facilitiesIds.push(e.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.vosManager.getVosByIds(this.vosIds).subscribe(e=>{this.existingRecentIds.push(...e.map(t=>t.id)),this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(e=>{this.existingRecentIds.push(...e.map(t=>t.id)),this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(e=>{this.existingRecentIds.push(...e.map(t=>t.id)),t=t.filter(t=>this.existingRecentIds.indexOf(t.id)>-1),this.addRecentlyViewedToDashboard(t)})})})}addRecentlyViewedToDashboard(t){for(const e of t)switch(e.type){case"Vo":this.items.push({cssIcon:"perun-vo",url:`/organizations/${e.id}`,label:e.name,style:"vo-btn",type:"Organization"});break;case"Group":this.items.push({cssIcon:"perun-group",url:`/organizations/${e.voId}/groups/${e.id}`,label:e.name,tooltip:e.fullName,style:"group-btn",type:"Group"});break;case"Facility":this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${e.id}`,label:e.name,style:"facility-btn",type:"Facility"})}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.YF),s.Y36(a.ff),s.Y36(a.IQ))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:2,vars:2,consts:[["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"matTooltipDisabled","routerLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(s.YNc(0,T,3,3,"app-alert",0),s.YNc(1,S,2,1,"div",1)),2&t&&(s.Q6J("ngIf",0===e.items.length),s.xp6(1),s.Q6J("ngIf",e.items.length>0))},directives:[b.O5,y.w,b.sg,A.wG,o.yS,v.gM,w.Hw],pipes:[d.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}.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;align-items:center;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}"]}),t})();var k=i(67806),x=i(97162),R=i(78364),I=i(88884),O=i(60007);function P(t,e){1&t&&s._UZ(0,"mat-spinner",7)}const D=function(){return["id","recent","shortName","name"]};function M(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-vos-list",8),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("displayedColumns",s.DdM(5,D))("recentIds",t.recentIds)("vos",t.objects)}}const L=function(){return["id","recent","vo","name","description"]};function N(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-groups-list",9),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("groups",t.objects)("recentIds",t.recentIds)("displayedColumns",s.DdM(5,L))}}const z=function(){return["id","recent","name","vo","facility"]};function F(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-resources-list",10),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("resources",t.objects)("displayedColumns",s.DdM(6,z))("recentIds",t.recentIds)("routingVo",!0)}}const Z=function(){return["id","recent","name","description"]};function B(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-facilities-list",11),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("facilities",t.objects)("recentIds",t.recentIds)("displayedColumns",s.DdM(5,Z))}}function q(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,M,2,6,"span",6),s.YNc(2,N,2,6,"span",6),s.YNc(3,F,2,7,"span",6),s.YNc(4,B,2,6,"span",6),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf","Vo"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Group"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Resource"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Facility"===t.primaryObject)}}let U=(()=>{class t{constructor(t,e,i){this.authzResolver=t,this.guiAuthResolver=e,this.resourceService=i,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(t=>{this.objects=t,this.recentIds=(0,u.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t,this.recentIds=(0,u.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(t=>{this.objects=t,this.recentIds=(0,u.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t.map(t=>({facility:t})),this.recentIds=(0,u.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Ct),s.Y36(c.x4),s.Y36(a.xk))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","pageSize","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s._UZ(2,"mat-icon",2),s._uU(3),s.ALo(4,"translate"),s.TgZ(5,"span",3),s.ALo(6,"translate"),s.TgZ(7,"mat-icon",4),s._uU(8,"info_outline"),s.qZA(),s.qZA(),s.qZA(),s.YNc(9,P,1,0,"mat-spinner",5),s.YNc(10,q,5,4,"div",6),s.qZA()),2&t&&(s.xp6(2),s.Q6J("svgIcon",e.svgIcon),s.xp6(1),s.hij(" ",s.lcZ(4,5,e.title)," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(6,7,e.roleTooltipInfo)),s.xp6(4),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[w.Hw,v.gM,b.O5,k.$g,x.Z,R.W,I.C,O.X],pipes:[d.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}"]}),t})();var H=i(22196);function j(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-checkbox",8),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.changeRoleView(i):null}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("checked",i.isRoleShowed(t)),s.xp6(1),s.Oqu(s.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+t))}}function G(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",15),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).rightSettingOpened=!0}),s.TgZ(1,"mat-icon"),s._uU(2,"settings"),s.qZA(),s.qZA()}}function Y(t,e){1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function V(t,e){1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function K(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).goToUserProfile()}),s.TgZ(1,"mat-icon",24),s._uU(2,"exit_to_app"),s.qZA(),s._uU(3),s.ALo(4,"translate"),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(3),s.AsE("",s.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",t.userProfileName," ")}}const J=function(){return["/myProfile"]};function $(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",16),s.TgZ(2,"div",17),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",18),s.YNc(6,Y,3,3,"span",14),s.YNc(7,V,3,3,"span",14),s.qZA(),s.TgZ(8,"div",19),s.TgZ(9,"button",20),s._UZ(10,"mat-icon",21),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.YNc(13,K,5,4,"button",22),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(3),s.hij(" ",s.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),s.xp6(3),s.Q6J("ngIf",!t.userProfileUrl),s.xp6(1),s.Q6J("ngIf",t.userProfileUrl),s.xp6(2),s.Q6J("routerLink",s.DdM(10,J)),s.xp6(2),s.hij(" ",s.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),s.xp6(2),s.Q6J("ngIf",t.userProfileUrl)}}function Q(t,e){1&t&&(s.TgZ(0,"span"),s.TgZ(1,"div",3),s._uU(2),s.ALo(3,"translate"),s.qZA(),s._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),s.qZA()),2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function W(t,e){1&t&&(s.TgZ(0,"div",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function X(t,e){if(1&t&&s._UZ(0,"app-perun-web-apps-dashboard-card",30),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("roleName",t)("role",e.roles[t])}}function tt(t,e){if(1&t&&(s.TgZ(0,"div",28),s.YNc(1,X,1,2,"app-perun-web-apps-dashboard-card",29),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(3);s.xp6(1),s.Q6J("ngIf",i.isRoleShowed(t))}}function et(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,Q,5,3,"span",14),s.YNc(2,W,3,3,"div",25),s.TgZ(3,"div"),s.YNc(4,tt,2,1,"div",26),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.recentlyViewedShow),s.xp6(1),s.Q6J("ngIf",t.rolesToHide.toString()!==t.roleNames.toString()),s.xp6(2),s.Q6J("ngForOf",t.roleNames)}}function it(t,e){if(1&t&&(s.TgZ(0,"div",9),s.TgZ(1,"h1",10),s._UZ(2,"mat-icon",11),s.TgZ(3,"span",12),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"userFullName"),s.qZA(),s.YNc(7,G,3,0,"button",13),s.qZA(),s.YNc(8,$,14,11,"div",14),s.YNc(9,et,5,3,"div",14),s.qZA()),2&t){const t=s.oxw();s.xp6(4),s.AsE("",s.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",s.lcZ(6,7,t.user),""),s.xp6(3),s.Q6J("ngIf",!t.isOnlySelfRole),s.xp6(1),s.Q6J("ngIf",t.isOnlySelfRole),s.xp6(1),s.Q6J("ngIf",!t.isOnlySelfRole)}}let nt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.userManager=t,this.storeService=e,this.sideMenuService=i,this.route=n,this.router=s,this.notificator=o,this.translateService=r,this.dialog=a,this.apiRequestConfiguration=c,this.utilsService=u,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"],r.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(t=>this.mailSuccessMessage=t)}ngOnInit(){this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const t=Object.keys(this.roles);this.isOnlySelfRole=t.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(e=>t.includes(e)),this.getDashboardSettings(),this.sideMenuService.setHomeItems([])}validatePreferredMailChange(){const t=this.route.snapshot.queryParamMap,e=t.get("token"),i=t.get("u");e&&i&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(e,Number.parseInt(i,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const t=(0,u.kZ)();t.width="600px",this.dialog.open(l.qD,t).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const t=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===t||t;const e=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===e?[]:e}changeRoleView(t){if(this.isRoleShowed(t)){const e=[];for(const i of this.roleNames)this.isRoleShowed(i)||e.push(i),i===t&&e.push(i);this.rolesToHide=e}else this.rolesToHide=this.rolesToHide.filter(e=>e!==t);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(t){for(const e of this.rolesToHide)if(e===t)return!1;return!0}getUserProfile(){this.utilsService.getAppsConfig().subscribe(t=>{this.userProfileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null}),this.userProfileName=this.storeService.get("profile_label_en")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Fv),s.Y36(c.d6),s.Y36(h.D),s.Y36(o.gz),s.Y36(o.F0),s.Y36(c.V6),s.Y36(d.sK),s.Y36(p.uw),s.Y36(c.F5),s.Y36(a.FW))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.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"],[1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-sidenav-container",0),s.TgZ(1,"mat-sidenav",1),s.NdJ("openedChange",function(t){return e.rightSettingOpened=t}),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"mat-checkbox",4),s.NdJ("ngModelChange",function(t){return e.recentlyViewedShow=t})("change",function(t){return t?e.recentlyViewedChanged():null}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"div",5),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.YNc(13,j,4,4,"div",6),s.qZA(),s.qZA(),s.TgZ(14,"mat-sidenav-content"),s.YNc(15,it,10,9,"div",7),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("opened",e.rightSettingOpened),s.xp6(3),s.Oqu(s.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),s.xp6(3),s.Q6J("ngModel",e.recentlyViewedShow),s.xp6(1),s.Oqu(s.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),s.xp6(3),s.Oqu(s.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),s.xp6(2),s.Q6J("ngForOf",e.roleNames),s.xp6(2),s.Q6J("ngIf",void 0!==e.user))},directives:[g.TM,g.JX,f.oG,m.JJ,m.On,b.sg,g.Rh,b.O5,w.Hw,_.lW,o.rH,E,U],pipes:[d.X$,H.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;grid-column-gap:1rem;-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 - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),t})();var st=i(66297);let ot=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.TgZ(2,"h1",1),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Oqu(s.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[st.W],pipes:[d.X$],styles:[""]}),t})();var rt=i(41939);let at=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez,_.ot,w.Ps,o.Bz,rt.ez,d.aw]]}),t})(),ct=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.e8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con","vo-theme"],[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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h4",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.startAuth()}),s._uU(7),s.ALo(8,"translate"),s.TgZ(9,"mat-icon"),s._uU(10," login "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),s.xp6(3),s.hij(" ",s.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[_.lW,w.Hw],pipes:[d.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();var ut=i(16306);const lt=function(t){return{padding:t}},ht=function(){return{height:"56px"}};function dt(t,e){if(1&t&&(s.TgZ(0,"div",9),s._UZ(1,"div",10),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngStyle",s.VKq(3,lt,t.logoPadding)),s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)("ngStyle",s.DdM(5,ht))}}function pt(t,e){if(1&t&&(s.TgZ(0,"div",11),s._UZ(1,"div",12),s._UZ(2,"mat-icon",13),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)}}function gt(t,e){if(1&t&&(s.TgZ(0,"div",14),s._UZ(1,"a",15),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)}}const ft=function(t){return{color:t}};function mt(t,e){if(1&t&&(s.TgZ(0,"p",16),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngStyle",s.VKq(2,ft,t.textColor)),s.xp6(1),s.hij(" ",t.headerTitle," ")}}const bt=function(t,e){return{background:t,color:e}},wt=function(t,e){return{"min-height":t,"background-color":e}};let _t=(()=>{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):"",this.logoPadding="admin-gui"===this.application?this.storeService.get("logo_padding"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.d6),s.Y36(n.H7))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["style","padding-top: 16px",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"],[3,"ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],[2,"display","flex","flex-direction","row"],[1,"router-icon-scale",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[2,"padding-top","16px"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,dt,2,6,"div",1),s.YNc(2,pt,3,1,"div",2),s.YNc(3,gt,2,1,"div",3),s.YNc(4,mt,2,4,"p",4),s.qZA(),s.TgZ(5,"div",5),s.TgZ(6,"div",6),s.TgZ(7,"div",7),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",8),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Q6J("ngStyle",s.WLB(6,bt,e.headerBackgroundColor,e.headerTextColor)),s.xp6(1),s.Q6J("ngIf","admin-gui"===e.application),s.xp6(1),s.Q6J("ngIf","publications"===e.application),s.xp6(1),s.Q6J("ngIf","user-profile"===e.application),s.xp6(1),s.Q6J("ngIf",!!e.headerTitle),s.xp6(2),s.Q6J("ngStyle",s.WLB(9,wt,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[b.PC,b.O5,o.lC,ut.$,w.Hw],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}.router-icon-scale[_ngcontent-%COMP%]{transform:scale(.75);margin-top:.3rem}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),t})();const yt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:rt.t$},{path:"api-callback",component:r},{path:"login",component:ct},{path:"organizations",loadChildren:()=>Promise.all([i.e(579),i.e(827),i.e(901),i.e(427)]).then(i.bind(i,67427)).then(t=>t.VosModule)},{path:"admin",loadChildren:()=>Promise.all([i.e(579),i.e(363),i.e(756),i.e(901),i.e(285)]).then(i.bind(i,1285)).then(t=>t.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([i.e(579),i.e(363),i.e(827),i.e(756),i.e(300)]).then(i.bind(i,55300)).then(t=>t.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([i.e(579),i.e(363)]).then(i.bind(i,6363)).then(t=>t.UsersModule)},{path:"home",component:nt},{path:"**",component:ot}];let At=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.Bz.forRoot(yt,{preloadingStrategy:o.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],o.Bz]}),t})();var vt=i(61601),Tt=i(28780);class Ct{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}var St=i(29063),Et=i(43490);let kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[c.e8],imports:[[b.ez]]}),t})();var xt=i(28940),Rt=i(48002),It=i(40659),Ot=i(62284),Pt=i(7433),Dt=i(82044),Mt=i(11930),Lt=i(39124),Nt=i(64467),zt=i(81835),Ft=i(88227),Zt=i(97397),Bt=i(71313),qt=i(14527),Ut=i(65423),Ht=i(17249),jt=i(73916),Gt=i(48666);let Yt=(()=>{class t{constructor(){this.allowCachePages=[{type:"vo",components:[xt.y.id,Rt.G.id,It.c.id,Ft.z.id,Zt.z.id,qt.w.id,Gt.T.id]},{type:"group",components:[Mt.y.id,Dt.u.id,Pt.q.id,Ot.W.id,Ut.Z.id]},{type:"facility",components:[Lt.o.id,Nt.f.id]},{type:"member",components:[zt.j.id]},{type:"admin",components:[Bt.t.id]},{type:"entitySelect",components:[Ht.Y.id,jt.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 t of this.allowCachePages)this.typeToComponentToHandlers.set(t.type,new Map)}setLastNavigationType(t){this.isUserNavigatingBack="back"===t}checkResets(t){const e=this.getPath(t);for(const i of this.resets)if(i.resetPath===e){const e=t.params[i.param];null!==i.lastValue&&i.lastValue!==e&&this.typeToComponentToHandlers.get(i.resetType).clear(),i.lastValue=e}}shouldReuseRoute(t,e){return this.checkResets(e),t.routeConfig===e.routeConfig}retrieve(t){if(t.component){const e=this.getComponentName(t.component);for(const t of this.allowCachePages)if(-1!==t.components.indexOf(e)){const i=this.typeToComponentToHandlers.get(t.type).get(e);return void 0===i?null:i.routeHandle}}return null}shouldAttach(t){if(!this.isUserNavigatingBack)return!1;if(t.component){const e=this.getComponentName(t.component);for(const t of this.allowCachePages){const i=this.typeToComponentToHandlers.get(t.type).get(e);if(void 0!==i&&this.getCurrentTimestamp()-i.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const i=this.getComponentType(t);this.typeToComponentToHandlers.get(i).set(this.getComponentName(t.component),{routeHandle:e,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(t){return t.id}getComponentType(t){const e=this.getComponentName(t.component);for(const i of this.allowCachePages)if(-1!==i.components.indexOf(e))return i.type;return null}getPath(t){return null!==t.routeConfig&&null!==t.routeConfig.path?t.routeConfig.path:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Vt=new s.OlP("perun-api-service");let Kt=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[Jt(tinycolor(n).lighten(52),"50"),Jt(tinycolor(n).lighten(37),"100"),Jt(tinycolor(n).lighten(26),"200"),Jt(tinycolor(n).lighten(12),"300"),Jt(tinycolor(n).lighten(6),"400"),Jt(tinycolor(n),"500"),Jt(tinycolor(n).darken(6),"600"),Jt(tinycolor(n).darken(12),"700"),Jt(tinycolor(n).darken(18),"800"),Jt(tinycolor(n).darken(24),"900"),Jt(tinycolor(n).lighten(50).saturate(30),"A100"),Jt(tinycolor(n).lighten(30).saturate(30),"A200"),Jt(tinycolor(n).lighten(10).saturate(15),"A400"),Jt(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new St.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("isInstanceFaviconContained")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(St.eN),s.LFG(c.d6))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Jt(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let $t=(()=>{class t{constructor(t,e){this.data=t,this.location=e}redirect(){this.location.go("/"),location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.WI),s.Y36(b.Ye))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h2"),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"p"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"button",0),s.NdJ("click",function(){return e.redirect()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,e.data.title),"\n"),s.xp6(3),s.hij(" ",s.lcZ(5,5,e.data.message),"\n"),s.xp6(4),s.hij(" ",s.lcZ(9,7,e.data.action)," "))},pipes:[d.X$],styles:[""]}),t})(),Qt=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}refresh(){location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.so),s.Y36(p.WI))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h2"),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"p"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"button",0),s.NdJ("click",function(){return e.refresh()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,e.data.title),"\n"),s.xp6(3),s.hij(" ",s.lcZ(5,5,e.data.message),"\n"),s.xp6(4),s.hij(" ",s.lcZ(9,7,e.data.action)," "))},pipes:[d.X$],styles:[""]}),t})(),Wt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.initAuthService=t,this.appConfigService=e,this.store=i,this.authzSevice=n,this.dialog=s,this.location=o,this.translate=r,this.guiAuthResolver=a,this.titleService=c,this.router=u,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.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(t=>{if("Invalid path"!==t)throw console.error(t),this.location.go("/"),location.reload(),t;this.handleErr(t)}).then(t=>t?this.initAuthService.loadPrincipal().catch(t=>this.handleErr(t)).then(()=>this.loadPolicies()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{this.authzSevice.configuration.basePath=this.store.get("api_url"),this.titleService.setTitle(this.store.get("document_title")),t()})}handleErr(t){const e=(0,u.kZ)();throw"Invalid path"===t?(e.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open($t,e)):(e.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===t.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":t.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(Qt,e)),console.error(t),t}loadPolicies(){return new Promise((t,e)=>{this.authzSevice.getAllPolicies().subscribe(e=>{this.guiAuthResolver.setPerunPolicies(e),t()},t=>e(t))})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.v0),s.LFG(Kt),s.LFG(c.d6),s.LFG(a.Ct),s.LFG(p.uw),s.LFG(b.Ye),s.LFG(d.sK),s.LFG(c.x4),s.LFG(n.Dx),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez,p.Is,_.ot,d.aw]]}),t})();var te=i(64762),ee=i(55959),ie=i(87254),ne=i(31906),se=i(30810),oe=i(25416),re=i(98720),ae=i(88414);function ce(t){return getComputedStyle(t)}function ue(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function le(t){var e=document.createElement("div");return e.className=t,e}var he="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function de(t,e){if(!he)throw new Error("No element matching method supported");return he.call(t,e)}function pe(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function ge(t,e){return Array.prototype.filter.call(t.children,function(t){return de(t,e)})}var fe=function(t){return"ps__thumb-"+t},me=function(t){return"ps__rail-"+t},be=function(t){return"ps--active-"+t},we=function(t){return"ps--scrolling-"+t},_e={x:null,y:null};function ye(t,e){var i=t.element.classList,n=we(e);i.contains(n)?clearTimeout(_e[e]):i.add(n)}function Ae(t,e){_e[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(we(e))},t.settings.scrollingThreshold)}var ve=function(t){this.element=t,this.handlers={}},Te={isEmpty:{configurable:!0}};ve.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},ve.prototype.unbind=function(t,e){var i=this;this.handlers[t]=this.handlers[t].filter(function(n){return!(!e||n===e)||(i.element.removeEventListener(t,n,!1),!1)})},ve.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},Te.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(ve.prototype,Te);var Ce=function(){this.eventElements=[]};function Se(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function Ee(t,e,i,n,s){var o;if(void 0===n&&(n=!0),void 0===s&&(s=!1),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,i,n,s){var o=i[0],r=i[1],a=i[2],c=i[3],u=i[4],l=i[5];void 0===n&&(n=!0),void 0===s&&(s=!1);var h=t.element;t.reach[c]=null,h[a]<1&&(t.reach[c]="start"),h[a]>t[o]-t[r]-1&&(t.reach[c]="end"),e&&(h.dispatchEvent(Se("ps-scroll-"+c)),e<0?h.dispatchEvent(Se("ps-scroll-"+u)):e>0&&h.dispatchEvent(Se("ps-scroll-"+l)),n&&function(t,e){ye(t,e),Ae(t,e)}(t,c)),t.reach[c]&&(e||s)&&h.dispatchEvent(Se("ps-"+c+"-reach-"+t.reach[c]))}(t,i,o,n,s)}function ke(t){return parseInt(t,10)||0}Ce.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new ve(t),this.eventElements.push(e)),e},Ce.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},Ce.prototype.unbind=function(t,e,i){var n=this.eventElement(t);n.unbind(e,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},Ce.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},Ce.prototype.once=function(t,e,i){var n=this.eventElement(t),s=function(t){n.unbind(e,s),i(t)};n.bind(e,s)};var xe={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Re(t){var e=t.element,i=Math.floor(e.scrollTop),n=e.getBoundingClientRect();t.containerWidth=Math.ceil(n.width),t.containerHeight=Math.ceil(n.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(ge(e,me("x")).forEach(function(t){return pe(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(ge(e,me("y")).forEach(function(t){return pe(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var i={width:e.railXWidth},n=Math.floor(t.scrollTop);i.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-n:i.top=e.scrollbarXTop+n,ue(e.scrollbarXRail,i);var s={top:n,height:e.railYHeight};e.isScrollbarYUsingRight?s.right=e.isRtl?e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:e.scrollbarYRight-t.scrollLeft:s.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:e.scrollbarYLeft+t.scrollLeft,ue(e.scrollbarYRail,s),ue(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),ue(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(be("x")):(e.classList.remove(be("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(be("y")):(e.classList.remove(be("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function Ie(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function Oe(t,e){var i=e[0],n=e[1],s=e[2],o=e[3],r=e[4],a=e[5],c=e[6],u=e[7],l=e[8],h=t.element,d=null,p=null,g=null;function f(e){e.touches&&e.touches[0]&&(e[s]=e.touches[0].pageY),h[c]=d+g*(e[s]-p),ye(t,u),Re(t),e.stopPropagation(),e.preventDefault()}function m(){Ae(t,u),t[l].classList.remove("ps--clicking"),t.event.unbind(t.ownerDocument,"mousemove",f)}function b(e,r){d=h[c],r&&e.touches&&(e[s]=e.touches[0].pageY),p=e[s],g=(t[n]-t[i])/(t[o]-t[a]),r?t.event.bind(t.ownerDocument,"touchmove",f):(t.event.bind(t.ownerDocument,"mousemove",f),t.event.once(t.ownerDocument,"mouseup",m),e.preventDefault()),t[l].classList.add("ps--clicking"),e.stopPropagation()}t.event.bind(t[r],"mousedown",function(t){b(t)}),t.event.bind(t[r],"touchstart",function(t){b(t,!0)})}var Pe={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top;t.element.scrollTop+=(i>t.scrollbarYTop?1:-1)*t.containerHeight,Re(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left;t.element.scrollLeft+=(i>t.scrollbarXLeft?1:-1)*t.containerWidth,Re(t),e.stopPropagation()})},"drag-thumb":function(t){Oe(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Oe(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(de(e,":hover")||de(t.scrollbarX,":focus")||de(t.scrollbarY,":focus"))){var n,s=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(s){if("IFRAME"===s.tagName)s=s.contentDocument.activeElement;else for(;s.shadowRoot;)s=s.shadowRoot.activeElement;if(de(n=s,"input,[contenteditable]")||de(n,"select,[contenteditable]")||de(n,"textarea,[contenteditable]")||de(n,"button,[contenteditable]"))return}var o=0,r=0;switch(i.which){case 37:o=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:r=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:o=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:r=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:r=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:r=t.containerHeight;break;case 34:r=-t.containerHeight;break;case 36:r=t.contentHeight;break;case 35:r=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==r||(e.scrollTop-=r,e.scrollLeft+=o,Re(t),function(i,n){var s=Math.floor(e.scrollTop);if(0===i){if(!t.scrollbarYActive)return!1;if(0===s&&n>0||s>=t.contentHeight-t.containerHeight&&n<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===n){if(!t.scrollbarXActive)return!1;if(0===o&&i<0||o>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(o,r)&&i.preventDefault())}})},wheel:function(t){var e=t.element;function i(i){var n=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(i),s=n[0],o=n[1];if(!function(t,i,n){if(!xe.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains("ps__child--consume"))return!0;var o=ce(s);if(n&&o.overflowY.match(/(scroll|auto)/)){var r=s.scrollHeight-s.clientHeight;if(r>0&&(s.scrollTop>0&&n<0||s.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft0))return!0}s=s.parentNode}return!1}(i.target,s,o)){var r=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?e.scrollTop-=o*t.settings.wheelSpeed:e.scrollTop+=s*t.settings.wheelSpeed,r=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(s?e.scrollLeft+=s*t.settings.wheelSpeed:e.scrollLeft-=o*t.settings.wheelSpeed,r=!0):(e.scrollTop-=o*t.settings.wheelSpeed,e.scrollLeft+=s*t.settings.wheelSpeed),Re(t),(r=r||function(i,n){var s=Math.floor(e.scrollTop),o=0===e.scrollTop,r=s+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,c=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(n)>Math.abs(i)?o||r:a||c)||!t.settings.wheelPropagation}(s,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",i):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",i)},touch:function(t){if(xe.supportsTouch||xe.supportsIePointer){var e=t.element,i={},n=0,s={},o=null;xe.supportsTouch?(t.event.bind(e,"touchstart",u),t.event.bind(e,"touchmove",l),t.event.bind(e,"touchend",h)):xe.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",u),t.event.bind(e,"pointermove",l),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",u),t.event.bind(e,"MSPointerMove",l),t.event.bind(e,"MSPointerUp",h)))}function r(i,n){e.scrollTop-=n,e.scrollLeft-=i,Re(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function u(t){if(c(t)){var e=a(t);i.pageX=e.pageX,i.pageY=e.pageY,n=(new Date).getTime(),null!==o&&clearInterval(o)}}function l(o){if(c(o)){var u=a(o),l={pageX:u.pageX,pageY:u.pageY},h=l.pageX-i.pageX,d=l.pageY-i.pageY;if(function(t,i,n){if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains("ps__child--consume"))return!0;var o=ce(s);if(n&&o.overflowY.match(/(scroll|auto)/)){var r=s.scrollHeight-s.clientHeight;if(r>0&&(s.scrollTop>0&&n<0||s.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft0))return!0}s=s.parentNode}return!1}(o.target,h,d))return;r(h,d),i=l;var p=(new Date).getTime(),g=p-n;g>0&&(s.x=h/g,s.y=d/g,n=p),function(i,n){var s=Math.floor(e.scrollTop),o=e.scrollLeft,r=Math.abs(i),a=Math.abs(n);if(a>r){if(n<0&&s===t.contentHeight-t.containerHeight||n>0&&0===s)return 0===window.scrollY&&n>0&&xe.isChrome}else if(r>a&&(i<0&&o===t.contentWidth-t.containerWidth||i>0&&0===o))return!0;return!0}(h,d)&&o.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){t.isInitialized?clearInterval(o):s.x||s.y?Math.abs(s.x)<.01&&Math.abs(s.y)<.01?clearInterval(o):(r(30*s.x,30*s.y),s.x*=.8,s.y*=.8):clearInterval(o)},10))}}},De=function(t,e){var i=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var n in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[n]=e[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,o,r=function(){return t.classList.add("ps--focus")},a=function(){return t.classList.remove("ps--focus")};this.isRtl="rtl"===ce(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=o,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Ce,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=le(me("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=le(fe("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=ce(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=ke(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=ke(c.borderLeftWidth)+ke(c.borderRightWidth),ue(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=ke(c.marginLeft)+ke(c.marginRight),ue(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=le(me("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=le(fe("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=ce(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=ke(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=ce(t);return ke(e.width)+ke(e.paddingLeft)+ke(e.paddingRight)+ke(e.borderLeftWidth)+ke(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=ke(u.borderTopWidth)+ke(u.borderBottomWidth),ue(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=ke(u.marginTop)+ke(u.marginBottom),ue(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return Pe[t](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return i.onScroll(t)}),Re(this)};De.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,ue(this.scrollbarXRail,{display:"block"}),ue(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=ke(ce(this.scrollbarXRail).marginLeft)+ke(ce(this.scrollbarXRail).marginRight),this.railYMarginHeight=ke(ce(this.scrollbarYRail).marginTop)+ke(ce(this.scrollbarYRail).marginBottom),ue(this.scrollbarXRail,{display:"none"}),ue(this.scrollbarYRail,{display:"none"}),Re(this),Ee(this,"top",0,!1,!0),Ee(this,"left",0,!1,!0),ue(this.scrollbarXRail,{display:""}),ue(this.scrollbarYRail,{display:""}))},De.prototype.onScroll=function(t){this.isAlive&&(Re(this),Ee(this,"top",this.element.scrollTop-this.lastScrollTop),Ee(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},De.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),pe(this.scrollbarX),pe(this.scrollbarY),pe(this.scrollbarXRail),pe(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},De.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var Me=De,Le=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some(function(t,n){return t[0]===e&&(i=n,!0)}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i0},t.prototype.connect_=function(){Ne&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Be?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Ne&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;Ze.some(function(t){return!!~i.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Ue=function(t,e){for(var i=0,n=Object.keys(e);i0},t}(),We="undefined"!=typeof WeakMap?new WeakMap:new Le,Xe=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=qe.getInstance(),n=new Qe(e,i,this);We.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){Xe.prototype[t]=function(){var e;return(e=We.get(this))[t].apply(e,arguments)}});var ti=void 0!==ze.ResizeObserver?ze.ResizeObserver:Xe;function ei(t,e){if(1&t&&(s.TgZ(0,"div",3),s._UZ(1,"div",4),s._UZ(2,"div",5),s._UZ(3,"div",6),s._UZ(4,"div",7),s.qZA()),2&t){const t=s.oxw();s.ekj("ps-at-top",t.states.top)("ps-at-left",t.states.left)("ps-at-right",t.states.right)("ps-at-bottom",t.states.bottom),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorY&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorX&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorX&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorY&&t.interaction)}}const ii=["*"],ni=new s.OlP("PERFECT_SCROLLBAR_CONFIG");class si{constructor(t,e,i,n){this.x=t,this.y=e,this.w=i,this.h=n}}class oi{constructor(t,e){this.x=t,this.y=e}}const ri=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ai{constructor(t={}){this.assign(t)}assign(t={}){for(const e in t)this[e]=t[e]}}let ci=(()=>{let t=class{constructor(t,e,i,n,o){this.zone=t,this.differs=e,this.elementRef=i,this.platformId=n,this.defaults=o,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new ee.xQ,this.disabled=!1,this.psScrollY=new s.vpe,this.psScrollX=new s.vpe,this.psScrollUp=new s.vpe,this.psScrollDown=new s.vpe,this.psScrollLeft=new s.vpe,this.psScrollRight=new s.vpe,this.psYReachEnd=new s.vpe,this.psYReachStart=new s.vpe,this.psXReachEnd=new s.vpe,this.psXReachStart=new s.vpe}ngOnInit(){if(!this.disabled&&(0,b.NF)(this.platformId)){const t=new ai(this.defaults);t.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Me(this.elementRef.nativeElement,t)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new ti(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ri.forEach(t=>{const e=t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`);(0,ie.R)(this.elementRef.nativeElement,e).pipe((0,se.e)(20),(0,oe.R)(this.ngDestroy)).subscribe(e=>{this[t].emit(e)})})})}}ngOnDestroy(){(0,b.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,b.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(t){t.disabled&&!t.disabled.isFirstChange()&&(0,b.NF)(this.platformId)&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.ngOnDestroy():!1===t.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(t){}},0))}geometry(t="scroll"){return new si(this.elementRef.nativeElement[t+"Left"],this.elementRef.nativeElement[t+"Top"],this.elementRef.nativeElement[t+"Width"],this.elementRef.nativeElement[t+"Height"])}position(t=!1){return!t&&this.instance?new oi(this.instance.reach.x||0,this.instance.reach.y||0):new oi(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(t="any"){const e=this.elementRef.nativeElement;return"any"===t?e.classList.contains("ps--active-x")||e.classList.contains("ps--active-y"):"both"===t?e.classList.contains("ps--active-x")&&e.classList.contains("ps--active-y"):e.classList.contains("ps--active-"+t)}scrollTo(t,e,i){this.disabled||(null==e&&null==i?this.animateScrolling("scrollTop",t,i):(null!=t&&this.animateScrolling("scrollLeft",t,i),null!=e&&this.animateScrolling("scrollTop",e,i)))}scrollToX(t,e){this.animateScrolling("scrollLeft",t,e)}scrollToY(t,e){this.animateScrolling("scrollTop",t,e)}scrollToTop(t,e){this.animateScrolling("scrollTop",t||0,e)}scrollToLeft(t,e){this.animateScrolling("scrollLeft",t||0,e)}scrollToRight(t,e){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(t||0),e)}scrollToBottom(t,e){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(t||0),e)}scrollToElement(t,e,i){const n=this.elementRef.nativeElement.querySelector(t);if(n){const t=n.getBoundingClientRect(),s=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",t.left-s.left+this.elementRef.nativeElement.scrollLeft+(e||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",t.top-s.top+this.elementRef.nativeElement.scrollTop+(e||0),i)}}animateScrolling(t,e,i){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(e!==this.elementRef.nativeElement[t]){let n=0,s=0,o=performance.now(),r=this.elementRef.nativeElement[t];const a=(r-e)/2,c=u=>{s+=Math.PI/(i/(u-o)),n=Math.round(e+a+a*Math.cos(s)),this.elementRef.nativeElement[t]===r&&(s>=Math.PI?this.animateScrolling(t,e,0):(this.elementRef.nativeElement[t]=n,r=this.elementRef.nativeElement[t],o=u,this.animation=window.requestAnimationFrame(c)))};window.requestAnimationFrame(c)}}else this.elementRef.nativeElement[t]=e}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Lbi),s.Y36(ni,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[s.TTD]}),t=(0,te.gn)([(0,te.fM)(3,(0,s.tBr)(s.Lbi)),(0,te.fM)(4,(0,s.FiY)()),(0,te.fM)(4,(0,s.tBr)(ni))],t),t})(),ui=(()=>{let t=class{constructor(t,e,i){this.zone=t,this.cdRef=e,this.platformId=i,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new ee.xQ,this.stateUpdate=new ee.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new s.vpe,this.psScrollX=new s.vpe,this.psScrollUp=new s.vpe,this.psScrollDown=new s.vpe,this.psScrollLeft=new s.vpe,this.psScrollRight=new s.vpe,this.psYReachEnd=new s.vpe,this.psYReachStart=new s.vpe,this.psXReachEnd=new s.vpe,this.psXReachStart=new s.vpe}ngOnInit(){(0,b.NF)(this.platformId)&&(this.stateUpdate.pipe((0,oe.R)(this.ngDestroy),(0,re.x)((t,e)=>t===e&&!this.stateTimeout)).subscribe(t=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===t||"y"===t?(this.interaction=!1,"x"===t?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===t&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===t||"right"===t?(this.states.left=!1,this.states.right=!1,this.states[t]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):"top"!==t&&"bottom"!==t||(this.states.top=!1,this.states.bottom=!1,this.states[t]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const t=this.directiveRef.elementRef.nativeElement;(0,ie.R)(t,"wheel").pipe((0,oe.R)(this.ngDestroy)).subscribe(t=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(t,t.deltaX,t.deltaY)}),(0,ie.R)(t,"touchmove").pipe((0,oe.R)(this.ngDestroy)).subscribe(t=>{if(!this.disabled&&this.autoPropagation){const e=t.touches[0].clientX,i=t.touches[0].clientY;this.checkPropagation(t,e-this.scrollPositionX,i-this.scrollPositionY),this.scrollPositionX=e,this.scrollPositionY=i}}),(0,ne.T)((0,ie.R)(t,"ps-scroll-x").pipe((0,ae.h)("x")),(0,ie.R)(t,"ps-scroll-y").pipe((0,ae.h)("y")),(0,ie.R)(t,"ps-x-reach-end").pipe((0,ae.h)("right")),(0,ie.R)(t,"ps-y-reach-end").pipe((0,ae.h)("bottom")),(0,ie.R)(t,"ps-x-reach-start").pipe((0,ae.h)("left")),(0,ie.R)(t,"ps-y-reach-start").pipe((0,ae.h)("top"))).pipe((0,oe.R)(this.ngDestroy)).subscribe(t=>{this.disabled||!this.autoPropagation&&!this.scrollIndicators||this.stateUpdate.next(t)})}}),window.setTimeout(()=>{ri.forEach(t=>{this.directiveRef&&(this.directiveRef[t]=this[t])})},0))}ngOnDestroy(){(0,b.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,b.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const t=this.directiveRef.elementRef.nativeElement;this.usePropagationX=t.classList.contains("ps--active-x"),this.usePropagationY=t.classList.contains("ps--active-y")}}checkPropagation(t,e,i){this.interaction=!0;const n=e<0?-1:1,s=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==n)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==s))&&(t.preventDefault(),t.stopPropagation()),e&&(this.scrollDirectionX=n),i&&(this.scrollDirectionY=s),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(s.Lbi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perfect-scrollbar"]],viewQuery:function(t,e){if(1&t&&s.Gf(ci,7),2&t){let t;s.iGM(t=s.CRH())&&(e.directiveRef=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("ps-show-limits",e.autoPropagation)("ps-show-active",e.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:ii,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.YNc(3,ei,5,16,"div",2),s.qZA()),2&t&&(s.ekj("ps",e.usePSClass),s.Q6J("perfectScrollbar",e.config)("disabled",e.disabled),s.xp6(3),s.Q6J("ngIf",e.scrollIndicators))},directives:[ci,b.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],encapsulation:2}),t=(0,te.gn)([(0,te.fM)(2,(0,s.tBr)(s.Lbi))],t),t})(),li=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez],b.ez]}),t})();var hi=i(17),di=i(11418);function pi(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-notification",2),s.NdJ("closeNotification",function(){const e=s.CHM(t).index;return s.oxw().removeNotification(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("@flyInOut",void 0),s.xp6(1),s.Q6J("data",t)("newNotification",!0)}}const gi=function(t){return{top:t}};let fi=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.V6),s.Y36(c.SZ))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,pi,2,3,"div",1),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(2,gi,e.getNotificatorTop())),s.xp6(1),s.Q6J("ngForOf",e.notifications))},directives:[b.PC,b.sg,di.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;bottom:0}}"],data:{animation:[hi.Pd]}}),t})();var mi=i(4253);function bi(t,e){if(1&t&&(s.TgZ(0,"div",9),s._UZ(1,"perun-web-apps-notification",10),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("data",t)("inDialog",!0)}}function wi(t,e){if(1&t&&(s.TgZ(0,"div",6),s.TgZ(1,"cdk-virtual-scroll-viewport",7),s.YNc(2,bi,2,2,"div",8),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("cdkVirtualForOf",t.notifications)}}function _i(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let yi=(()=>{class t{constructor(t,e){this.dialogRef=t,this.notificationStorageService=e}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.so),s.Y36(c.SZ))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,wi,3,1,"div",1),s.YNc(4,_i,3,3,"app-alert",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.onClear()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),s.xp6(2),s.Q6J("ngIf",0!==e.notifications.length),s.xp6(1),s.Q6J("ngIf",0===e.notifications.length),s.xp6(3),s.hij(" ",s.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),s.xp6(3),s.hij(" ",s.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[p.uh,b.O5,p.H8,_.lW,mi.N7,mi.xd,mi.x0,di.c,y.w],pipes:[d.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),t})();var Ai=i(41050),vi=i(66438);function Ti(t,e){1&t&&(s.TgZ(0,"div",11),s.TgZ(1,"span",12),s._uU(2," ~ \ud83d\uddf2\xa0 "),s.qZA(),s.TgZ(3,"span",13),s._uU(4," DEVEL "),s.qZA(),s.TgZ(5,"span",12),s._uU(6," \xa0\ud83d\uddf2 ~ "),s.qZA(),s.qZA())}const Ci=function(t){return{color:t}},Si=function(){return["/"]},Ei=function(t){return{padding:t}},ki=function(){return{height:"56px"}};let xi=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.storeService=t,this.authService=e,this.authzResolverService=i,this.dialog=n,this.notificator=s,this.translateService=o,this.store=r,this.sanitizer=a,this.notificationStorageService=c,this.utilsService=u,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.logoPadding=this.storeService.get("logo_padding"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("isDevel"),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.utilsService.getAppsConfig().subscribe(t=>{this.profileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null})}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const t=(0,u.kZ)();t.width="520px",this.dialog.open(yi,t)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.d6),s.Y36(c.e8),s.Y36(a.Ct),s.Y36(p.uw),s.Y36(c.V6),s.Y36(d.sK),s.Y36(c.d6),s.Y36(n.H7),s.Y36(c.SZ),s.Y36(a.FW))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:14,vars:33,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",3,"routerLink","ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],["logoContainer",""],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"button",1),s.NdJ("click",function(){return e.sideNav.toggle()}),s.TgZ(2,"mat-icon",2),s._uU(3," menu "),s.qZA(),s.qZA(),s.TgZ(4,"a",3),s._UZ(5,"div",4,5),s.qZA(),s.qZA(),s.YNc(7,Ti,7,0,"div",6),s.TgZ(8,"div",7),s.TgZ(9,"button",8),s.NdJ("click",function(){return e.showNotificationHistory()}),s.ALo(10,"translate"),s.TgZ(11,"mat-icon",9),s._uU(12),s.qZA(),s.qZA(),s._UZ(13,"perun-web-apps-header-menu",10),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(21,Ci,e.navTextColor)),s.xp6(2),s.Q6J("ngStyle",s.VKq(23,Ci,e.iconColor)),s.xp6(2),s.Q6J("routerLink",s.DdM(25,Si))("ngStyle",s.VKq(26,Ei,e.logoPadding)),s.xp6(1),s.Q6J("innerHTML",e.logo,s.oJD)("ngStyle",s.DdM(28,ki)),s.xp6(2),s.Q6J("ngIf",e.isDevel),s.xp6(1),s.Q6J("ngStyle",s.VKq(29,Ci,e.navTextColor)),s.xp6(1),s.Q6J("matTooltip",s.lcZ(10,19,"NAV.NOTIFICATIONS_TOOLTIP")),s.xp6(2),s.s9C("matBadge",e.getNewNotificationsCount()>5?"5+":e.getNewNotificationsCount()),s.Q6J("ngStyle",s.VKq(31,Ci,e.iconColor))("matBadgeHidden",0===e.getNewNotificationsCount()),s.xp6(1),s.hij(" ",e.getNewNotificationsCount()?"notifications_active":"notifications"," "),s.xp6(1),s.Q6J("url",e.profileUrl)("label",e.profileLabel)("user",e.principal.user)("logoutEnabled",e.logoutEnabled)("iconColor",e.iconColor)("textColor",e.navTextColor))},directives:[b.PC,_.lW,w.Hw,o.yS,b.O5,v.gM,Ai.k,vi.X],pipes:[d.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%] [_ngcontent-%COMP%]::slotted(svg){height:56px}#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}"]}),t})();var Ri=i(24081);const Ii={provide:St.TP,useExisting:(0,s.Gpc)(()=>c.yC),multi:!0};function Oi(t){return new Ct(t,"./assets/i18n/",".json")}function Pi(t){const e={basePath:t.get("api_url")};return new a.VK(e)}const Di=t=>()=>t.initialize(),Mi={suppressScrollX:!0};let Li=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.EB),s.LFG(d.sK))},t.\u0275mod=s.oAB({type:t,bootstrap:[vt.y]}),t.\u0275inj=s.cJS({providers:[Wt,{provide:s.ip1,useFactory:Di,multi:!0,deps:[Wt]},{provide:a.VK,useFactory:Pi,deps:[c.d6]},{provide:o.wN,useClass:Yt},c.EB,{provide:Vt,useClass:c.sM},c.yC,Ii,{provide:ni,useValue:Mi}],imports:[[Et.PW,n.b2,St.JF,Tt.m,kt,At,w.Ps,Xt,d.aw.forRoot({loader:{provide:d.Zw,useFactory:Oi,deps:[St.eN]}}),a.au,li,rt.ez,at]]}),t})();s.B6R(vt.y,[b.O5,w.Hw,fi,xi,b.PC,g.TM,g.JX,ui,Ri.V,g.Rh,o.lC,ut.$,_t],[]),(0,s.G48)(),n.q6().bootstrapModule(Li).catch(t=>console.error(t))},7423:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(61511),s=i(31572);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})()},13857:function(t,e,i){"use strict";i.d(e,{Rc:function(){return s},pI:function(){return o},Ng:function(){return r}});var n=i(31572);const s="GUI_CONFIG.PREF_PAGE_SIZE",o="GUI_CONFIG.PREF_PAGE_SIZE.";let r=(()=>{class t{constructor(){}getString(t){return localStorage.getItem(t)}getNumber(t){return parseInt(localStorage.getItem(t),10)}setNumber(t,e){localStorage.setItem(t,e.toString())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},60611:function(t,e,i){"use strict";i.d(e,{dB:function(){return o},CP:function(){return r},tw:function(){return a},nT:function(){return c},YF:function(){return u},gc:function(){return l},v1:function(){return h},AA:function(){return d},VR:function(){return p},uM:function(){return g},xx:function(){return f},H2:function(){return m},xt:function(){return b},dI:function(){return w},j1:function(){return _},Wv:function(){return y},qy:function(){return A},BV:function(){return v},qV:function(){return T},tY:function(){return C},Af:function(){return S},O7:function(){return E},gB:function(){return k},Hi:function(){return x},Jf:function(){return R},W1:function(){return I},rF:function(){return O},Aj:function(){return P},Ad:function(){return D},kZ:function(){return M},cL:function(){return L},RS:function(){return N},HC:function(){return z},KE:function(){return F},Sb:function(){return Z},_7:function(){return B},bf:function(){return q},rc:function(){return U},Cf:function(){return H},eq:function(){return j},NG:function(){return G},O9:function(){return Y},d7:function(){return V},vq:function(){return K},NL:function(){return J},kO:function(){return $},aL:function(){return Q},DR:function(){return W},uC:function(){return X},JO:function(){return tt},oK:function(){return et},Iz:function(){return it},It:function(){return nt},z6:function(){return st},iQ:function(){return ot},e5:function(){return rt},Bf:function(){return at},zp:function(){return ct},US:function(){return ut},gG:function(){return lt},$V:function(){return ht},S7:function(){return dt},zW:function(){return pt},CE:function(){return gt},Is:function(){return ft},M8:function(){return mt},g:function(){return bt},_c:function(){return wt}});var n=i(13857),s=i(31572);let o=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber(n.pI+t);if(!isNaN(e))return e;const i=this.guiConfigService.getNumber(n.Rc);return isNaN(i)?10:i}setTablePageSize(t,e){this.guiConfigService.setNumber(n.pI+t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.Ng))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const r="0",a="1",c="2",u="3",l="4",h="5",d="6",p="7",g="8",f="9",m="10",b="11",w="12",_="13",y="14",A="15",v="16",T="17",C="18",S="19",E="20",k="21",x="22",R="23",I="24",O="25",P="26",D="27",M="28",L="29",N="30",z="31",F="32",Z="33",B="34",q="35",U="36",H="37",j="42",G="43",Y="44",V="45",K="46",J="47",$="48",Q="49",W="50",X="51",tt="52",et="53",it="54",nt="55",st="56",ot="57",rt="58",at="59",ct="62",ut="63",lt="64",ht="65",dt="66",pt="69",gt="71",ft="72",mt="75",bt="76",wt="77"},17:function(t,e,i){"use strict";i.d(e,{Ji:function(){return a},Pd:function(){return o},BQ:function(){return s},Ly:function(){return r},GH:function(){return l},Ls:function(){return h},SG:function(){return u},es:function(){return c}});var n=i(10709);const s=(0,n.X$)("openClose",[(0,n.SB)("open",(0,n.oB)({overflow:"hidden"})),(0,n.SB)("closed",(0,n.oB)({height:"0px",overflow:"hidden"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),o=(0,n.X$)("flyInOut",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".5s",(0,n.oB)({transform:"translateX(100%)"}))])]),r=(0,n.X$)("rollInOut",[(0,n.eR)(":enter",[(0,n.oB)({height:"0px"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".25s",(0,n.oB)({height:"0px"}))])]),a=(0,n.X$)("routeAnimations",[(0,n.eR)("* => *",[(0,n.oB)({position:"relative"}),(0,n.IO)(":enter",[(0,n.oB)({width:"100%",opacity:0})],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({position:"absolute",width:"100%",opacity:1}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,n.IO)(":enter",[(0,n.oB)({position:"absolute",width:"100%",opacity:0}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c=(0,n.X$)("tagsOpenClose",[(0,n.SB)("open",(0,n.oB)({})),(0,n.SB)("closed",(0,n.oB)({width:"0px",height:"0px"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),u=(0,n.X$)("switchAnimations",[(0,n.eR)("true => false",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(-100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,n.eR)("false => true",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),l=(0,n.X$)("slideInOutLeft",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),h=(0,n.X$)("slideInOutRight",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)",position:"fixed"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(100%)"}))])])},41939:function(t,e,i){"use strict";i.d(e,{Mw:function(){return N.M},Sx:function(){return W.S},Nj:function(){return $},ez:function(){return L},t$:function(){return Q}});var n=i(61511),s=i(29236),o=i(67033),r=i(48160),a=i(57629),c=i(58623),u=i(73005),l=i(67806),h=i(22727),d=i(43691),p=i(8055),g=i(15980),f=i(36922),m=i(66283),b=i(16073),w=i(80340),_=i(10033),y=i(88975),A=i(71522),v=i(22280),T=i(81391),C=i(91010),S=i(15812),E=i(54810),k=i(4786),x=i(30146),R=i(4253),I=i(84608),O=i(84140),P=i(31572);let D=(()=>{class t extends A.LF{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=P.n5z(t)))(i||t)}}(),t.\u0275prov=P.Yz7({token:t,factory:t.\u0275fac}),t})();const M={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 L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=P.oAB({type:t}),t.\u0275inj=P.cJS({providers:[{provide:A._A,useClass:D},{provide:A.sG,useValue:M}],imports:[[n.ez,s.p9,o.p0,b.u5,_.Hi,y._t,r.aw,a.Bz,c.JX,u.TU,l.Cq,h.r,d.Ps,p.Tx,g.ot,f.AV,m.lN,b.UX,w.c,A.si,v.d4,T.Iq,C.dp,S.FA,E.Fk,A.Ng,k.LD,x.Co,R.Cl,I.Is,O.Je]]}),t})();i(41186);var N=i(51556),z=(i(76021),i(84584),i(22230),i(33596),i(88884),i(11418),i(23888),i(33642)),F=i(88426),Z=i(39571),B=i(83787);function q(t,e){1&t&&(P.TgZ(0,"app-alert"),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function U(t,e){1&t&&(P.TgZ(0,"th",15),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function H(t,e){if(1&t&&(P.TgZ(0,"td",16),P._uU(1),P.qZA()),2&t){const t=e.$implicit;P.xp6(1),P.Oqu(t.friendlyNameParameter)}}function j(t,e){1&t&&(P.TgZ(0,"th",15),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function G(t,e){if(1&t&&(P.TgZ(0,"td",17),P._uU(1),P.qZA()),2&t){const t=e.$implicit;P.xp6(1),P.Oqu(t.value)}}function Y(t,e){1&t&&P._UZ(0,"th",15)}function V(t,e){if(1&t){const t=P.EpF();P.TgZ(0,"td",18),P.TgZ(1,"button",19),P.NdJ("click",function(){const e=P.CHM(t).$implicit;return P.oxw().changePassword(e.friendlyNameParameter)}),P._uU(2),P.ALo(3,"translate"),P.ALo(4,"customTranslate"),P.qZA(),P.qZA()}if(2&t){const t=e.$implicit,i=P.oxw();P.xp6(1),P.Q6J("disabled",!i.logins.includes(t)),P.xp6(1),P.Oqu(P.lcZ(3,2,P.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function K(t,e){1&t&&P._UZ(0,"tr",20)}function J(t,e){1&t&&P._UZ(0,"tr",21)}let $=(()=>{class t{constructor(t,e){this.attributesManagerService=t,this.store=e,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(t=>{const e=this.nameSpaces.map(t=>{const e=t.split(":");return e[e.length-1]});this.logins=t.filter(t=>e.includes(t.friendlyNameParameter)),this.dataSource=new o.by(t)})}changePassword(t){const e=this.store.get("pwd_reset_base_url");location.href=`${e}?login-namespace=${t}`}}return t.\u0275fac=function(e){return new(e||t)(P.Y36(z.H8),P.Y36(F.d6))},t.\u0275cmp=P.Xpm({type:t,selectors:[["perun-web-apps-password-reset"]],decls:20,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","change"],["mat-cell","",4,"matCellDef"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(P.TgZ(0,"h1",0),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA(),P.YNc(4,q,4,5,"app-alert",1),P.TgZ(5,"div",2),P.TgZ(6,"div",3),P.TgZ(7,"div",4),P.TgZ(8,"table",5),P.ynx(9,6),P.YNc(10,U,4,5,"th",7),P.YNc(11,H,2,1,"td",8),P.BQk(),P.ynx(12,9),P.YNc(13,j,4,5,"th",7),P.YNc(14,G,2,1,"td",10),P.BQk(),P.ynx(15,11),P.YNc(16,Y,1,0,"th",7),P.YNc(17,V,5,6,"td",12),P.BQk(),P.YNc(18,K,1,0,"tr",13),P.YNc(19,J,1,0,"tr",14),P.qZA(),P.qZA(),P.qZA(),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,5,P.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),P.xp6(3),P.Q6J("ngIf",!e.logins.length),P.xp6(4),P.Q6J("dataSource",e.dataSource),P.xp6(10),P.Q6J("matHeaderRowDef",e.displayedColumns),P.xp6(1),P.Q6J("matRowDefColumns",e.displayedColumns))},directives:[n.O5,o.BZ,c.YE,o.w1,o.fO,o.Dz,o.as,o.nj,Z.w,o.ge,o.ev,g.lW,o.XQ,o.Gk],pipes:[r.X$,B.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})(),Q=(()=>{class t{constructor(t,e,i,n){this.router=t,this.route=e,this.location=i,this.forceRoute=n}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(t=>{this.router.navigate([t.redirectTo])}):this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(P.Y36(a.F0),P.Y36(a.gz),P.Y36(n.Ye),P.Y36(F.xw))},t.\u0275cmp=P.Xpm({type:t,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})();i(78364),i(11441),i(16306),i(43005);var W=i(30725);i(66438)},30725:function(t,e,i){"use strict";i.d(e,{S:function(){return r},Y:function(){return a}});var n=i(31572),s=(i(33642),i(48160)),o=i(44973);const r={};let a=(()=>{class t{constructor(t){this.translate=t,this.item=null,this.itemSelected=new n.vpe,this.nameFunction=t=>t===r?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):t.shortname,this.secondaryFunction=t=>t===r?"":t.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+t.id,this.searchFunction=t=>t===r?"":t.shortname+t.id}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.itemSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.items)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.secondaryFunction)("entity",e.item)("disableAutoSelect",!0)("selectPlaceholder",n.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[o.i],pipes:[s.X$],styles:[""]}),t})()},76021:function(t,e,i){"use strict";i.d(e,{u:function(){return h}});var n=i(31572),s=i(84140),o=i(61511),r=i(29236),a=i(16073),c=i(66283);function u(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",2),n.NdJ("change",function(){return n.CHM(t),n.oxw()._sendEventToParent()})("ngModelChange",function(e){return n.CHM(t),n.oxw().attribute.value=e}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("ngModel",t.attribute.value)}}function l(t,e){if(1&t&&(n.TgZ(0,"mat-label"),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(t.attribute.value)}}let h=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,u,1,1,"mat-checkbox",0),n.YNc(2,l,2,1,"mat-label",1),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",!e.readonly),n.xp6(1),n.Q6J("ngIf",e.readonly))},directives:[o.O5,r.oG,a.JJ,a.On,c.hX],styles:[""]}),t})()},84584:function(t,e,i){"use strict";i.d(e,{H:function(){return C}});var n=i(31572),s=i(75842),o=i(88975),r=i(61189),a=i(84140),c=i(84608),u=i(10033),l=i(61511),h=i(43691),d=i(36922),p=i(15980),g=i(66283),f=i(80340);function m(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",9),n.NdJ("mousedown",function(){return n.CHM(t),n.oxw(2).dragDisabled=!1}),n._uU(1,"drag_indicator"),n.qZA()}}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",10),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().edit(e)}),n._uU(1,"edit"),n.qZA()}}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",11),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().remove(e)}),n._uU(1,"cancel"),n.qZA()}}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-chip",4),n.NdJ("removed",function(){const e=n.CHM(t).$implicit,i=n.oxw();return i.remove(e),i._sendEventToParent()}),n.YNc(1,m,2,0,"mat-icon",5),n.TgZ(2,"div",6),n.NdJ("click",function(){const e=n.CHM(t).$implicit,i=n.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)}),n._uU(3),n.qZA(),n.YNc(4,b,2,0,"mat-icon",7),n.YNc(5,w,2,0,"mat-icon",8),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.Q6J("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),n.xp6(1),n.Q6J("ngIf",i.removable),n.xp6(1),n.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),n.xp6(1),n.Oqu(t),n.xp6(1),n.Q6J("ngIf",i.removable),n.xp6(1),n.Q6J("ngIf",i.removable)}}function y(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function A(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function v(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",12),n.TgZ(1,"span",13),n.TgZ(2,"button",14),n.NdJ("click",function(){return n.CHM(t),n.oxw().onShowChange()}),n.YNc(3,y,2,0,"mat-icon",15),n.YNc(4,A,2,0,"mat-icon",15),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(2),n.Q6J("ngIf",!t.showMore),n.xp6(1),n.Q6J("ngIf",t.showMore)}}function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-form-field",12),n.TgZ(1,"input",16),n.NdJ("matChipInputTokenEnd",function(e){return n.CHM(t),n.oxw().add(e)})("change",function(){return n.CHM(t),n.oxw()._sendEventToParent()}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(),e=n.MAs(2);n.xp6(1),n.Q6J("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let C=(()=>{class t{constructor(t){this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[s.K5,s.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,a.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,a.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(t){const e=t.input,i=t.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),e&&(e.value=""),this.sendEventToParent.emit()}remove(t){const e=(0,a.kZ)();e.width="400px",e.data={name:t},this.dialog.open(r.Wr,e).afterClosed().subscribe(e=>{if(e){const e=this.attribute.value.indexOf(t);this.attribute.value.splice(e,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(t){this.dragDisabled=!0,(0,o.bA)(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=(0,a.kZ)();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(r.r2,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=(0,a.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(r.mk,i)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.uw))},t.\u0275cmp=n.Xpm({type:t,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-chip-list",0,1),n.NdJ("cdkDropListDropped",function(t){return e.drop(t),e._sendEventToParent()}),n.YNc(3,_,6,9,"mat-chip",2),n.YNc(4,v,5,4,"div",3),n.YNc(5,T,2,3,"mat-form-field",3),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.Q6J("cdkDropListDisabled",e.dragDisabled),n.xp6(2),n.Q6J("ngForOf",e.values.slice(0,e.itemsShown)),n.xp6(1),n.Q6J("ngIf",e.values.length>e.defaultItemsShown),n.xp6(1),n.Q6J("ngIf",!e.readonly))},directives:[u.qn,o.Wj,l.sg,l.O5,u.HS,o.Zt,h.Hw,d.gM,p.lW,g.KE,f.Nt,u.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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})()},22230:function(t,e,i){"use strict";i.d(e,{$:function(){return y}});var n=i(61189),s=i(84140),o=i(31572),r=i(84608),a=i(16073),c=i(61511),u=i(36922),l=i(66283),h=i(80340),d=i(15980),p=i(43691);function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",15),o.NdJ("click",function(){o.CHM(t);const e=o.oxw().index;return o.oxw().removeValue(e)}),o.TgZ(1,"mat-icon"),o._uU(2," indeterminate_check_box "),o.qZA(),o.qZA()}}function f(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",9),o.TgZ(1,"mat-form-field",10),o._UZ(2,"label",11),o.TgZ(3,"input",12),o.NdJ("click",function(){const e=o.CHM(t).index,i=o.oxw();return i.readonly&&i.attribute.displayName&&i.showValue(i.keys[e],i.attribute.displayName)})("ngModelChange",function(e){const i=o.CHM(t).index;return o.oxw().keys[i]=e}),o.qZA(),o.qZA(),o.TgZ(4,"mat-form-field",10),o._UZ(5,"label",11),o.TgZ(6,"input",13),o.NdJ("click",function(){const e=o.CHM(t).$implicit,i=o.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)})("ngModelChange",function(e){const i=o.CHM(t).index;return o.oxw().values[i]=e}),o.qZA(),o.qZA(),o.YNc(7,g,3,0,"button",14),o.qZA()}if(2&t){const t=e.index,i=o.oxw();o.xp6(1),o.s9C("appearance",i.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",i.attribute.id,"-key-",t,""),o.xp6(1),o.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.hYB("id","",i.attribute.id,"-key-",t,""),o.MGl("name","key-",t,""),o.Q6J("ngModel",i.keys[t])("readonly",i.readonly),o.xp6(1),o.s9C("appearance",i.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",i.attribute.id,"-value-",t,""),o.xp6(1),o.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.MGl("name","value-",t,""),o.hYB("id","",i.attribute.id,"-value-",t,""),o.Q6J("readonly",i.readonly)("ngModel",i.values[t]),o.xp6(1),o.Q6J("ngIf",!i.readonly)}}function m(t,e){1&t&&(o.TgZ(0,"mat-icon"),o._uU(1,"more_horiz"),o.qZA())}function b(t,e){1&t&&(o.TgZ(0,"mat-icon"),o._uU(1,"keyboard_arrow_up"),o.qZA())}function w(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",16),o.NdJ("click",function(){return o.CHM(t),o.oxw().onShowChange()}),o.YNc(1,m,2,0,"mat-icon",17),o.YNc(2,b,2,0,"mat-icon",17),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("ngIf",!t.showMore),o.xp6(1),o.Q6J("ngIf",t.showMore)}}function _(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",18),o.NdJ("click",function(){return o.CHM(t),o.oxw().addValue()}),o.TgZ(1,"mat-icon"),o._uU(2," add_box "),o.qZA(),o.qZA()}}let y=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(void 0!==this.attribute.value){const t=this.attribute.value;for(const[e,i]of Object.entries(t))this.keys.push(e),this.values.push(i)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,s.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 e=0;ee.defaultItemsShown),o.xp6(1),o.Q6J("ngIf",!e.readonly))},directives:[a._Y,a.JL,a.F,c.sg,u.gM,c.O5,l.KE,h.Nt,a.Fj,a.Q7,a.JJ,a.On,d.lW,p.Hw],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}"]}),t})()},33596:function(t,e,i){"use strict";i.d(e,{_:function(){return l}});var n=i(31572),s=i(84140),o=i(61189),r=i(84608),a=i(66283),c=i(80340),u=i(16073);let l=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=(0,s.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(o.mk,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.uw))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.value&&e.showValue(e.value,e.attribute.displayName)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[a.KE,c.Nt,u.Fj,u.JJ,u.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})()},51556:function(t,e,i){"use strict";i.d(e,{M:function(){return v}});var n=i(31572),s=i(22230),o=i(61511),r=i(76021),a=i(84584),c=i(33596),u=i(84140),l=i(61189),h=i(84608),d=i(66283),p=i(80340),g=i(16073);let f=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.readonly||(this.readonly=(0,u.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=(0,u.kZ)();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(l.mk,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(h.uw))},t.\u0275cmp=n.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(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.attribute.value&&e.showValue(e.attribute)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.attribute.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[d.KE,p.Nt,g.wV,g.Fj,g.JJ,g.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const m=["map"];function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-boolean",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-list",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function _(t,e){if(1&t&&n._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-string",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-integer",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}let v=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new n.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){if(1&t&&n.Gf(m,5),2&t){let t;n.iGM(t=n.CRH())&&(e.mapComponent=t.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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,b,1,2,"perun-web-apps-attribute-value-boolean",0),n.YNc(2,w,1,2,"perun-web-apps-attribute-value-list",0),n.TgZ(3,"div",1),n.NdJ("click",function(){return e._sendEventToParent2()}),n.YNc(4,_,2,2,"perun-web-apps-attribute-value-map",2),n.qZA(),n.YNc(5,y,1,2,"perun-web-apps-attribute-value-string",0),n.YNc(6,A,1,2,"perun-web-apps-attribute-value-integer",0),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","java.lang.Boolean"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.util.ArrayList"===e.attribute.type),n.xp6(2),n.Q6J("ngIf","java.util.LinkedHashMap"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.Integer"===e.attribute.type))},directives:[o.O5,r.u,a.H,s.$,c._,f],styles:[""]}),t})()},41186:function(t,e,i){"use strict";i.d(e,{p:function(){return O}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(51556),c=i(84140),u=i(88426),l=i(82819),h=i(61511),d=i(29236),p=i(36922),g=i(39571);let f=(()=>{class t{transform(t){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"isVirtualAttribute",type:t,pure:!0}),t})();var m=i(48160);function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",15),n.TgZ(1,"mat-checkbox",16),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",17),n.TgZ(1,"mat-checkbox",18),n.NdJ("click",function(t){return t.stopPropagation()})("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null}),n.ALo(2,"isVirtualAttribute"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("checked",i.selection.isSelected(t))("disabled",n.lcZ(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function _(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function y(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function A(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function v(t,e){if(1&t&&(n.TgZ(0,"td",20),n.TgZ(1,"div",21),n._uU(2),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.s9C("matTooltip",i.getAttributeFullName(t)),n.xp6(1),n.hij(" ",t.displayName," ")}}function T(t,e){1&t&&(n.TgZ(0,"th",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function C(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"perun-web-apps-attribute-value",22),n.NdJ("sendEventToParent2",function(){const e=n.CHM(t).$implicit;return n.oxw().onValueChange(e)}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("attribute",t)("readonly",i.readonly||!t.writable)}}function S(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function E(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function k(t,e){1&t&&n._UZ(0,"tr",23)}function x(t,e){if(1&t&&(n._UZ(0,"tr",24),n.ALo(1,"translate")),2&t){const t=e.$implicit,i=n.oxw();n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.Q6J("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function R(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function I(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}let O=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new r.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.vpe,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new o.by((0,c.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"displayName":return t.displayName;case"description":return t.description;case"value":return JSON.stringify(t.value);default:return""}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hiddenColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}onValueChange(t){this.canBeSelected(t)&&this.selection.select(t)}canBeSelected(t){return!(0,c.Hm)(t)&&t.writable}getAttributeFullName(t){return`${t.namespace}:${t.friendlyName}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.x4),n.Y36(u.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(c.l9,7),n.Gf(a.M,5)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.items=t)}},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,b,2,3,"th",4),n.YNc(5,w,3,5,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,_,3,3,"th",7),n.YNc(8,y,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,A,3,3,"th",7),n.YNc(11,v,3,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,T,3,3,"th",4),n.YNc(14,C,2,2,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,S,3,3,"th",7),n.YNc(17,E,2,1,"td",9),n.BQk(),n.YNc(18,k,1,0,"tr",12),n.YNc(19,x,2,5,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,I,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.data.length))},directives:[l.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,d.oG,o.ev,s.nU,p.gM,a.M,o.XQ,o.Gk,g.w],pipes:[f,m.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),t})()},66297:function(t,e,i){"use strict";i.d(e,{W:function(){return h}});var n=i(88426),s=i(31572),o=i(61511),r=i(15980),a=i(36922),c=i(43691),u=i(48160);const l=function(t){return{color:t}};let h=(()=>{class t{constructor(t,e){this.location=t,this.storeService=e}ngOnInit(){this.backButtonColor=this.storeService.get("theme","backButtonColor")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.Ye),s.Y36(n.d6))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return e.goBack()}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",1),s._uU(3,"arrow_right_alt"),s.qZA(),s.qZA()),2&t&&(s.s9C("matTooltip",s.lcZ(1,2,"Back")),s.Q6J("ngStyle",s.VKq(4,l,e.backButtonColor)))},directives:[r.lW,o.PC,a.gM,c.Hw],pipes:[u.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),t})()},43005:function(t,e,i){"use strict";i.d(e,{r:function(){return g}});var n=i(31572),s=i(16073),o=i(88426),r=i(66283),a=i(80340),c=i(61511),u=i(29236),l=i(37665),h=i(48160);function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",7),n.NdJ("change",function(){return n.CHM(t),n.oxw().emitAsSubGroup()})("ngModelChange",function(e){return n.CHM(t),n.oxw().asSubgroup=e}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("labelPosition","before")("ngModel",t.asSubgroup),n.xp6(1),n.hij(" ",n.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function p(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-group-search-select",8),n.NdJ("groupSelected",function(e){return n.CHM(t),n.oxw().emitParentGroup(e)}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("disableAutoSelect",!0)("groups",t.voGroups)}}let g=(()=>{class t{constructor(t){this.store=t,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("groupNameErrorMessage"),this.secondaryRegex=this.store.get("groupNameSecondaryRegex"),this.nameChanged=new n.vpe,this.descriptionChanged=new n.vpe,this.parentGroupChanged=new n.vpe,this.asSubgroupChanged=new n.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new s.NI("",[s.kI.required,s.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),s.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new s.NI("",[s.kI.required,s.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(t=>"members"!==t.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(t){this.selectedParent=t,this.parentGroupChanged.emit(t)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"mat-form-field",1),n.NdJ("keyup",function(){return e.emitName()}),n.TgZ(2,"label",2),n._UZ(3,"input",3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"mat-error"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("keyup",function(){return e.emitDescription()}),n.TgZ(9,"label",2),n._UZ(10,"textarea",3),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"mat-error"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.qZA(),n.YNc(15,d,3,5,"mat-checkbox",5),n.YNc(16,p,1,2,"perun-web-apps-group-search-select",6),n.qZA()),2&t&&(n.xp6(3),n.s9C("placeholder",n.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),n.Q6J("formControl",e.nameControl),n.xp6(3),n.hij(" ",e.invalidNameMessage.length?e.invalidNameMessage:n.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),n.xp6(4),n.s9C("placeholder",n.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),n.Q6J("formControl",e.descriptionControl),n.xp6(3),n.hij(" ",n.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),n.xp6(2),n.Q6J("ngIf",e.isNotSubGroup),n.xp6(1),n.Q6J("ngIf",e.asSubgroup))},directives:[r.KE,a.Nt,s.Fj,s.Q7,s.JJ,s.oH,r.TO,c.O5,u.oG,s.On,l.h],pipes:[h.X$],styles:[""]}),t})()},51613:function(t,e,i){"use strict";i.d(e,{S:function(){return u}});var n=i(31572),s=i(66283),o=i(80340),r=i(15812),a=i(16073),c=i(48160);let u=(()=>{class t{constructor(){this.datePicker=new n.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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"space-right",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-form-field",0),n.NdJ("click",function(){return n.CHM(t),n.MAs(7).open()}),n.TgZ(1,"mat-label"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(5,"mat-datepicker-toggle",2),n._UZ(6,"mat-datepicker",null,3),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("click",function(){return n.CHM(t),n.MAs(15).open()}),n.TgZ(9,"mat-label"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(13,"mat-datepicker-toggle",2),n._UZ(14,"mat-datepicker",null,5),n.qZA()}if(2&t){const t=n.MAs(7),i=n.MAs(15);n.xp6(2),n.Oqu(n.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.xp6(2),n.Q6J("matDatepicker",t)("min",e.startMinDate)("max",e.startMaxDate)("formControl",e.startDate),n.xp6(1),n.Q6J("for",t),n.xp6(5),n.Oqu(n.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.xp6(2),n.Q6J("matDatepicker",i)("min",e.endMinDate)("max",e.endMaxDate)("formControl",e.endDate),n.xp6(1),n.Q6J("for",i)}},directives:[s.KE,s.hX,o.Nt,r.hl,a.Fj,a.JJ,a.oH,r.nW,s.R9,r.Mq],pipes:[c.X$],styles:[""]}),t})()},91058:function(t,e,i){"use strict";i.d(e,{P:function(){return d}});var n=i(31572),s=i(87254),o=i(79996),r=i(47701),a=i(98720),c=i(66283),u=i(80340),l=i(48160);const h=["groupFilterInput"];let d=(()=>{class t{constructor(){this.filter=new n.vpe}ngOnInit(){(0,s.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,o.U)(t=>t.target.value),(0,r.b)(500),(0,a.x)()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){if(1&t&&n.Gf(h,7),2&t){let t;n.iGM(t=n.CRH())&&(e.groupFilterInput=t.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n._UZ(1,"input",1,2),n.ALo(3,"translate"),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",n.lcZ(3,1,e.placeholder)))},directives:[c.KE,u.Nt],pipes:[l.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})()},44973:function(t,e,i){"use strict";i.d(e,{i:function(){return w}});var n=i(31572),s=i(16073),o=i(66994),r=i(55959),a=i(25416),c=i(96577),u=i(66283),l=i(4786),h=i(71522),d=i(30146),p=i(61511),g=i(4253);const f=["scrollViewport"];function m(t,e){if(1&t&&(n.TgZ(0,"mat-option",7),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.Q6J("value",null==t.entitiesCtrl?null:t.entitiesCtrl.value),n.xp6(1),n.hij(" ",t.mainTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value)," "),n.xp6(2),n.Oqu(t.secondaryTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value))}}function b(t,e){if(1&t&&(n.TgZ(0,"mat-option",9),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.Q6J("value",t),n.xp6(1),n.hij(" ",i.mainTextFunction(t)," "),n.xp6(2),n.Oqu(i.secondaryTextFunction(t))}}let w=(()=>{class t{constructor(t){this.cd=t,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.entitySelected=new n.vpe,this.entitiesCtrl=new s.NI,this.entityFilterCtrl=new s.NI,this.filteredEntities=new o.t(1),this.entitiesLen=0,this._onDestroy=new r.xQ,this.mainTextFunction=t=>(0,c.stringify)(t),this.secondaryTextFunction=t=>"#"+t.id}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(t=>this.entitySelected.emit(t)),this.disableAutoSelect||null!==this.entity||this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(t=>this.entitiesLen=t.length),this.entityFilterCtrl.valueChanges.pipe((0,a.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}ngOnChanges(t){t.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let t=this.entityFilterCtrl.value;if(!t)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();t=this.normalize(t),this.filteredEntities.next(this.entities.filter(e=>this.normalize(this.searchFunction(e)).indexOf(t)>=0)),this.cd.detectChanges()}normalize(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let t=48*this.entitiesLen;return t>192&&(t=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),t}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(t,e){if(1&t&&n.Gf(f,5),2&t){let t;n.iGM(t=n.CRH())&&(e.scrollViewport=t.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[n.TTD],decls:9,vars:14,consts:[[1,"w-100"],[3,"placeholder","formControl","openedChange"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted","muted"],[3,"value"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"mat-select",1),n.NdJ("openedChange",function(){return e.openChange()}),n.TgZ(2,"mat-option"),n._UZ(3,"ngx-mat-select-search",2),n.qZA(),n.YNc(4,m,4,3,"mat-option",3),n.TgZ(5,"cdk-virtual-scroll-viewport",4,5),n.YNc(7,b,4,3,"mat-option",6),n.ALo(8,"async"),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",e.selectPlaceholder),n.Q6J("formControl",e.entitiesCtrl),n.xp6(2),n.s9C("placeholderLabel",e.findPlaceholder),n.s9C("noEntriesFoundLabel",e.noEntriesText),n.Q6J("clearSearchInput",!1)("formControl",e.entityFilterCtrl),n.xp6(1),n.Q6J("ngIf",null==e.entitiesCtrl?null:e.entitiesCtrl.value),n.xp6(1),n.Udp("height",e.getViewportHeight(),"px"),n.Q6J("minBufferPx",240)("maxBufferPx",480),n.xp6(2),n.Q6J("cdkVirtualForOf",n.lcZ(8,12,e.filteredEntities)))},directives:[u.KE,l.gD,s.JJ,s.oH,h.ey,d.nu,p.O5,g.N7,g.xd,g.x0],pipes:[p.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),t})()},60007:function(t,e,i){"use strict";i.d(e,{X:function(){return J}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),u=i(61511),l=i(29236),h=i(72953),d=i(16073),p=i(36922),g=i(15980),f=i(43691);function m(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.hij(" ",t[i.paramName]," ")}}function b(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function w(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(t),n.oxw().onShowChange()}),n.YNc(1,b,2,0,"mat-icon",8),n.YNc(2,w,2,0,"mat-icon",8),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",!t.showMore),n.xp6(1),n.Q6J("ngIf",t.showMore)}}let y=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.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(t,e){1&t&&(n.TgZ(0,"form",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.YNc(3,m,2,1,"div",3),n.qZA(),n.TgZ(4,"div"),n.TgZ(5,"span",4),n.YNc(6,_,3,2,"button",5),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(3),n.Q6J("ngForOf",e.objects.slice(0,e.itemsShown)),n.xp6(2),n.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(1),n.Q6J("ngIf",e.objects.length>e.defaultItemsShown))},directives:[d._Y,d.JL,d.F,u.sg,p.gM,u.O5,g.lW,f.Hw],styles:[""]}),t})();var A=i(84534),v=i(57629),T=i(39571),C=i(48160),S=i(48853);let E=(()=>{class t{transform(t,e,i){return t.filter(t=>t[i].includes(e)).filter((t,e,n)=>n.findIndex(e=>e[i]===t[i])===e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"filterUniqueObjects",type:t,pure:!0}),t})();function k(t,e){1&t&&n._UZ(0,"th",18)}function x(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",19),n.TgZ(1,"mat-checkbox",20),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function R(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.id)}}function O(t,e){1&t&&n._UZ(0,"th",18)}function P(t,e){if(1&t&&(n.TgZ(0,"td",22),n._UZ(1,"perun-web-apps-recently-viewed-icon",23),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("id",t.facility.id)("recentIds",i.recentIds)}}function D(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function M(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.name)}}function L(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function N(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.description)}}function z(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"technicalOwners"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.owners))}}function Z(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function B(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,t.destinations,i.filterValue,"destination"))("paramName","destination")}}function q(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function U(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,t.hosts,i.filterValue,"hostname"))("paramName","hostname")}}function H(t,e){1&t&&n._UZ(0,"tr",25)}const j=function(t){return["/facilities",t]},G=function(){return[]};function Y(t,e){if(1&t&&n._UZ(0,"tr",26),2&t){const t=e.$implicit,i=n.oxw();n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(2,j,t.facility.id))("routerLink",i.disableRouting?n.DdM(4,G):n.VKq(5,j,t.facility.id))}}function V(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function K(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let J=(()=>{class t{constructor(t){this.authResolver=t,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=r.f7,this.page=new n.vpe}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource()}getDataForColumn(t,e,i){switch(e){case"id":return t.facility.id.toString();case"name":return t.facility.name;case"description":return t.facility.description;case"technicalOwners":return(0,r.te)(t.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(t.facility.id)>-1?"#".repeat(i.recentIds.indexOf(t.facility.id)):t.name;case"destinations":return t.destinations.map(t=>t.destination).join(" ; ");case"hosts":return t.hosts.map(t=>t.hostname).join(" ; ");default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t))}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,k,1,0,"th",4),n.YNc(5,x,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,I,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",4),n.YNc(11,P,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,D,3,3,"th",7),n.YNc(14,M,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,L,3,3,"th",4),n.YNc(17,N,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,z,3,3,"th",4),n.YNc(20,F,3,3,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,Z,3,3,"th",4),n.YNc(23,B,3,6,"td",9),n.BQk(),n.ynx(24,14),n.YNc(25,q,3,3,"th",4),n.YNc(26,U,3,6,"td",9),n.BQk(),n.YNc(27,H,1,0,"tr",15),n.YNc(28,Y,1,7,"tr",16),n.qZA(),n.qZA(),n.qZA(),n.YNc(29,V,3,3,"app-alert",17),n.YNc(30,K,3,3,"app-alert",17)),2&t&&(n.Q6J("hidden",!e.dataSource||0===e.dataSource.filteredData.length||0===e.facilities.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(25),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.facilities.length),n.xp6(1),n.Q6J("ngIf",0===e.facilities.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,o.ev,l.oG,s.nU,h.W,y,o.XQ,o.Gk,A.YH,v.rH,T.w],pipes:[C.X$,S.J,E],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},54930:function(t,e,i){"use strict";i.d(e,{i:function(){return T}});var n=i(31572),s=i(88426),o=i(61511),r=i(15980),a=i(81391),c=i(36922),u=i(43691),l=i(8055),h=i(48160),d=i(44385),p=i(52984),g=i(51392);function f(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.ALo(2,"groupSyncToolTip"),n.TgZ(3,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onSyncDetail()}),n.ALo(4,"groupSyncIcon"),n.TgZ(5,"mat-icon"),n.ALo(6,"groupSyncIconColor"),n._uU(7),n.ALo(8,"groupSyncIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("matTooltipPosition","above")("matTooltip",n.lcZ(1,7,n.lcZ(2,9,t.group))),n.xp6(3),n.Q6J("disabled","sync_disabled"===n.lcZ(4,11,t.group)),n.xp6(2),n.Tol(n.lcZ(6,13,t.group)),n.xp6(2),n.hij(" ",n.lcZ(8,15,t.group)," ")}}function m(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onMoveGroup()}),n.TgZ(3,"mat-icon"),n._uU(4,"arrow_right_alt"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",t.disabled)}}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onChangeNameDescription()}),n.TgZ(3,"mat-icon"),n._uU(4,"text_format"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",t.disabled)}}function w(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"button",3),n.ALo(2,"translate"),n.TgZ(3,"mat-icon"),n._uU(4," file_copy "),n.qZA(),n.qZA(),n.YNc(5,f,9,17,"span",4),n.YNc(6,m,5,5,"span",4),n.YNc(7,b,5,5,"span",4),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Q6J("cdkCopyToClipboard",t.group.name)("matTooltipPosition","above"),n.xp6(4),n.Q6J("ngIf",t.syncAuth),n.xp6(1),n.Q6J("ngIf",t.moveAuth),n.xp6(1),n.Q6J("ngIf",t.editAuth)}}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onSyncDetail()}),n.ALo(1,"groupSyncIcon"),n.TgZ(2,"mat-icon"),n.ALo(3,"groupSyncIconColor"),n._uU(4),n.ALo(5,"groupSyncIcon"),n.qZA(),n.TgZ(6,"span"),n._uU(7),n.ALo(8,"translate"),n.ALo(9,"groupSyncToolTip"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled","sync_disabled"===n.lcZ(1,6,t.group)),n.xp6(2),n.Tol(n.lcZ(3,8,t.group)),n.xp6(2),n.hij(" ",n.lcZ(5,10,t.group)," "),n.xp6(3),n.Oqu(n.lcZ(8,12,n.lcZ(9,14,t.group)))}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onMoveGroup()}),n.TgZ(1,"mat-icon"),n._uU(2,"arrow_right_alt"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled",t.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onChangeNameDescription()}),n.TgZ(1,"mat-icon"),n._uU(2,"text_format"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled",t.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function v(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",7),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,8),n.TgZ(6,"button",9),n.TgZ(7,"mat-icon"),n._uU(8," file_copy "),n.qZA(),n.TgZ(9,"span"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.YNc(12,_,10,16,"button",10),n.YNc(13,y,6,4,"button",10),n.YNc(14,A,6,4,"button",10),n.qZA(),n.qZA()),2&t){const t=n.MAs(5),e=n.oxw();n.xp6(1),n.Q6J("mat-menu-trigger-for",t),n.xp6(5),n.Q6J("cdkCopyToClipboard",e.group.name),n.xp6(4),n.Oqu(n.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.xp6(2),n.Q6J("ngIf",e.syncAuth),n.xp6(1),n.Q6J("ngIf",e.moveAuth),n.xp6(1),n.Q6J("ngIf",e.editAuth)}}let T=(()=>{class t{constructor(t){this.authResolver=t,this.disabled=!1,this.moveGroup=new n.vpe,this.syncGroup=new n.vpe,this.changeNameDescription=new n.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 t.\u0275fac=function(e){return new(e||t)(n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.YNc(0,w,8,8,"div",0),n.YNc(1,v,15,8,"div",1)),2&t&&(n.Q6J("ngIf",e.displayButtons),n.xp6(1),n.Q6J("ngIf",!e.displayButtons))},directives:[o.O5,r.lW,a.i3,c.gM,u.Hw,l.p6,l.VK,l.OP],pipes:[h.X$,d.r,p.J,g.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),t})()},46837:function(t,e,i){"use strict";i.d(e,{x:function(){return f}});var n=i(31572),s=i(84140),o=i(61189),r=i(84608),a=i(61511),c=i(36922),u=i(43691),l=i(48160);function h(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(t),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",4),n._uU(3,"check_circle_outline"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(t),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",5),n._uU(3,"block"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function p(t,e){if(1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",7),n._uU(3,"report"),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.hYB("matTooltip","",n.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",t.failureCause,"")}}function g(t,e){1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",8),n._uU(3,"autorenew"),n.qZA(),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let f=(()=>{class t{constructor(t){this.dialog=t,this.status="",this.statusChange=new n.vpe}changeStatus(){const t=(0,s.kZ)();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(o.Qu,t).afterClosed().subscribe(t=>{t&&this.statusChange.emit()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.uw))},t.\u0275cmp=n.Xpm({type:t,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.YNc(1,h,4,3,"span",1),n.YNc(2,d,4,3,"span",1),n.YNc(3,p,4,4,"span",2),n.YNc(4,g,4,3,"span",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","ACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","INACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","FAILED"===e.status),n.xp6(1),n.Q6J("ngIf","PROCESSING"===e.status))},directives:[a.O5,c.gM,u.Hw],pipes:[l.X$],styles:[""]}),t})()},37665:function(t,e,i){"use strict";i.d(e,{h:function(){return a}});var n=i(31572),s=i(84140),o=i(44973),r=i(48160);let a=(()=>{class t{constructor(){this.groupSelected=new n.vpe,this.disableAutoSelect=!1,this.nameFunction=t=>t.name}ngOnInit(){this.groups=this.groups.sort(s.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup"},outputs:{groupSelected:"groupSelected"},decls:4,vars:14,consts:[[1,"long-input",3,"entities","entity","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){if(1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.groupSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t){let t;n.Q6J("entities",e.groups)("entity",null!==(t=e.firstSelectedGroup)&&void 0!==t?t:null)("disableAutoSelect",e.disableAutoSelect)("mainTextFunction",e.nameFunction)("searchFunction",e.nameFunction)("selectPlaceholder",n.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",n.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",n.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[o.i],pipes:[r.X$],styles:[""]}),t})()},78364:function(t,e,i){"use strict";i.d(e,{W:function(){return it}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(33642),c=i(84140),u=i(61189),l=i(88426),h=i(61511),d=i(84608),p=i(82819),g=i(29236),f=i(36922),m=i(72953),b=i(46837),w=i(15980),_=i(43691),y=i(54930),A=i(84534),v=i(57629),T=i(39571),C=i(48160),S=i(74842),E=i(37043),k=i(58506);let x=(()=>{class t{transform(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return e&&e.value?e.value:"Never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"groupExpiration",type:t,pure:!0}),t})();function R(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw(2);return e?i.masterToggle():null}),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function I(t,e){if(1&t&&(n.TgZ(0,"th",21),n.YNc(1,R,1,3,"mat-checkbox",22),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",!t.disableHeadCheckbox)}}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"span",25),n.ALo(2,"translate"),n.TgZ(3,"mat-checkbox",26),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,i.getCheckboxTooltipMessage(t))),n.Q6J("matTooltipPosition","above")("matTooltipDisabled",!i.disableSelect(t)),n.xp6(2),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","members"===t.name&&i.disableMembers||i.disableSelect(t))}}function P(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function M(t,e){1&t&&n._UZ(0,"th",21)}function L(t,e){if(1&t&&(n.TgZ(0,"td",28),n._UZ(1,"perun-web-apps-recently-viewed-icon",29),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function N(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.voNames.get(t.voId))}}function F(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function B(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function q(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",30),n.TgZ(1,"perun-web-apps-group-resource-status",31),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(t),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("theme","resource-theme")("groupId",t.id)("resourceId",i.resourceId)("failureCause",t.failureCause)("status",t.status)}}function U(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function H(t,e){if(1&t&&(n.TgZ(0,"td",28),n.TgZ(1,"i",32),n.ALo(2,"memberStatusIconColor"),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,i.getStatusAttribute(t)),""),n.s9C("matTooltip",i.getStatusAttribute(t)),n.xp6(3),n.hij(" ",n.lcZ(5,7,i.getStatusAttribute(t))," ")}}function j(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function G(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function Y(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function V(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",34),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().changeExpiration(e)})("mouseenter",function(){return n.CHM(t),n.oxw(2).disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw(2);return e.disabledRouting=e.disableRouting}),n.TgZ(1,"mat-icon"),n._uU(2,"edit"),n.qZA(),n.qZA()}}function K(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.ALo(2,"parseDate"),n.ALo(3,"groupExpiration"),n.YNc(4,V,3,0,"button",33),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,2,n.lcZ(3,4,t))," "),n.xp6(3),n.Q6J("ngIf",i.canManageGroup(t))}}function J(t,e){1&t&&n._UZ(0,"th",21)}function $(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",28),n.TgZ(1,"perun-web-apps-group-menu",35),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("moveGroup",function(){const e=n.CHM(t).$implicit;return n.oxw().onMoveGroup(e)})("changeNameDescription",function(){const e=n.CHM(t).$implicit;return n.oxw().onChangeNameDescription(e)})("syncGroup",function(){const e=n.CHM(t).$implicit;return n.oxw().onSyncDetail(e)}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("disabled","members"===t.name)("displayButtons",i.displayButtons)("group",t)}}function Q(t,e){1&t&&n._UZ(0,"tr",36)}const W=function(t,e){return["/organizations",t,"groups",e]};function X(t,e){if(1&t&&n._UZ(0,"tr",37),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting&&!i.groupsToDisable.has(t.id))("disable-outline",i.disabledRouting||i.groupsToDisable.has(t.id)),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.WLB(6,W,t.voId,t.id))("routerLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.WLB(9,W,t.voId,t.id))}}function tt(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function et(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let it=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.voService=i,this.tableCheckbox=s,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new n.vpe,this.groups=[],this.selection=new r.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","name","status","groupStatus","description","expiration","menu"],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=c.f7,this.recentIds=[],this.resourceId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=t=>!("members"===t.name&&this.disableMembers||this.disableSelect(t))}set matSort(t){this.sort=t}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 t of this.groups)if("members"===t.name)return!0;return!1}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":{const e=(0,c.x2)(t);return(0,c.sG)(e)}case"recent":return"";case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}getSortDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":{const e=(0,c.x2)(t);return e&&"never"!==e.toLowerCase()?(0,h.p6)(e,"yyyy.MM.dd","en"):e}case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"status":return t.status;default:return t[e]}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.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.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(t){return this.disableGroups&&(this.groupsToDisable.has(t.id)||this.isSynchronized(t))}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(t=>"id"!==t))}onMoveGroup(t){this.moveGroup.emit(t)}onSyncDetail(t){const e=(0,c.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(u.Bp,e)}onChangeNameDescription(t){const e=(0,c.kZ)();e.data={theme:"group-theme",group:t,dialogType:u.Eg.GROUP},this.dialog.open(u.rd,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[e]),!0):"group-relations"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,e]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,e]),!0):"member-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[e]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,e]),!0):void 0}itemSelectionToggle(t){this.selection.toggle(t),this.removeAuth=this.setAuth()}isSynchronized(t){return!!t.attributes&&t.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}getCheckboxTooltipMessage(t){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(t)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(t=>{this.voIds.has(t.voId)||this.voIds.add(t.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(t=>{t.forEach(t=>{this.voNames.set(t.id,t.name)})}))}changeExpiration(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName),i=(0,c.kZ)();i.width="400px",i.data={memberId:this.memberId,groupId:t.id,expirationAttr:e,mode:"group",status:this.memberGroupStatus},this.dialog.open(u.u3,i).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}canManageGroup(t){return this.authResolver.isThisGroupAdmin(t.id)||this.authResolver.isThisVoAdmin(t.voId)}getStatusAttribute(t){return t.attributes.find(t=>"groupStatus"===t.baseFriendlyName).value.toString()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(d.uw),n.Y36(l.x4),n.Y36(a.YF),n.Y36(l.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(c.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,I,2,1,"th",4),n.YNc(5,O,4,8,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,P,3,3,"th",7),n.YNc(8,D,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,M,1,0,"th",4),n.YNc(11,L,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,N,3,3,"th",7),n.YNc(14,z,2,1,"td",5),n.BQk(),n.ynx(15,11),n.YNc(16,F,3,3,"th",7),n.YNc(17,Z,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,B,3,3,"th",7),n.YNc(20,q,2,5,"td",13),n.BQk(),n.ynx(21,14),n.YNc(22,U,3,3,"th",7),n.YNc(23,H,6,9,"td",9),n.BQk(),n.ynx(24,15),n.YNc(25,j,3,3,"th",7),n.YNc(26,G,2,1,"td",13),n.BQk(),n.ynx(27,16),n.YNc(28,Y,3,3,"th",7),n.YNc(29,K,5,6,"td",13),n.BQk(),n.ynx(30,17),n.YNc(31,J,1,0,"th",4),n.YNc(32,$,2,3,"td",9),n.BQk(),n.YNc(33,Q,1,0,"tr",18),n.YNc(34,X,1,12,"tr",19),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,tt,3,3,"app-alert",20),n.YNc(36,et,3,3,"app-alert",20)),2&t&&(n.Q6J("hidden",0===e.groups.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.groups.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.groups.length))},directives:[p.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,g.oG,o.ev,f.gM,s.nU,m.W,b.x,w.lW,_.Hw,y.i,o.XQ,o.Gk,A.YH,v.rH,T.w],pipes:[C.X$,S.u,E.f,k.M,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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},11441:function(t,e,i){"use strict";i.d(e,{I:function(){return O}});var n=i(31572),s=i(91010),o=i(71709),r=i(4230),a=i(14732),c=i(84140),u=i(61189),l=i(88426),h=i(84608),d=i(61511),p=i(4253),g=i(57629),f=i(15980),m=i(36922),b=i(54930),w=i(29236),_=i(43691),y=i(39571),A=i(48160);const v=["scrollViewport"];function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).itemSelectionToggle(e)}),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.Q6J("disabled","members"===t.fullName)("checked",e.selection.isSelected(t))("indeterminate",e.descendantsPartiallySelected(t))}}function C(t,e){if(1&t&&(n.TgZ(0,"mat-icon",20),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.hij(" ",e.treeControl.isExpanded(t)?"expand_more":"chevron_right"," ")}}function S(t,e){if(1&t&&(n.TgZ(0,"span",21),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.hij(" #",t.id," ")}}const E=function(t,e){return["/organizations",t,"groups",e]};function k(t,e){if(1&t){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",6),n.YNc(2,T,1,3,"mat-checkbox",7),n.TgZ(3,"a",8),n.TgZ(4,"button",9),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw(2).disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw(2).disableRouting=!1})("click",function(){const e=n.CHM(t).$implicit;return n.oxw(2).treeControl.toggle(e)}),n.YNc(5,C,2,1,"mat-icon",10),n.qZA(),n.TgZ(6,"div",11),n.TgZ(7,"span",12),n._uU(8),n.qZA(),n.YNc(9,S,2,1,"span",13),n.qZA(),n.TgZ(10,"div",14,15),n.TgZ(12,"span",16),n._uU(13),n.qZA(),n.qZA(),n.qZA(),n.TgZ(14,"div",17),n.TgZ(15,"perun-web-apps-group-menu",18),n.NdJ("moveGroup",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onMoveGroup(e)})("syncGroup",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onSyncDetail(e)})("changeNameDescription",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onChangeNameDescription(e)}),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&t){const t=e.$implicit,i=n.oxw(2);n.xp6(1),n.Udp("padding-left",24*t.level+"px"),n.xp6(1),n.Q6J("ngIf",!i.hideCheckbox),n.xp6(1),n.Q6J("routerLink",i.disableRouting?null:n.WLB(14,E,t.voId,t.id)),n.xp6(1),n.Q6J("disabled",!t.expandable),n.uIk("aria-label","toggle "+t.name),n.xp6(1),n.Q6J("ngIf",t.expandable),n.xp6(3),n.hij(" ",t.name," "),n.xp6(1),n.Q6J("ngIf",i.authResolver.isPerunAdminOrObserver()),n.xp6(3),n.s9C("matTooltip",t.description),n.xp6(1),n.hij(" ",t.description," "),n.xp6(2),n.Q6J("disabled","members"===t.fullName)("displayButtons",i.displayButtons)("group",t)}}const x=function(t){return{height:t}};function R(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"cdk-virtual-scroll-viewport",3,4),n.YNc(3,k,16,17,"ng-container",5),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",n.VKq(4,x,t.getTreeViewHeight())),n.xp6(2),n.Q6J("cdkVirtualForOf",t.dataSource)}}function I(t,e){1&t&&(n.TgZ(0,"app-alert",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let O=(()=>{class t{constructor(t,e,i){this.cd=t,this.dialog=e,this.authResolver=i,this.transformer=(t,e)=>({expandable:!!t.children&&t.children.length>0,name:t.shortName,fullName:t.name,parentGroupId:t.parentGroupId,level:e,id:t.id,voId:t.voId,attributes:t.attributes,beanName:t.beanName,description:t.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new n.vpe,this.refreshTable=new n.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new r.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.C2(t=>t.level,t=>t.expandable),this.treeFlattener=new s.JZ(this.transformer,t=>t.level,t=>t.expandable,t=>t.children),this.dataSource=new s.kc(this.treeControl,this.treeFlattener),this.hasChild=(t,e)=>e.expandable,this.getLevel=t=>t.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(t=>{var e,i;return(null===(e=t.name)||void 0===e?void 0:e.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(i=t.description)||void 0===i?void 0:i.toLowerCase().includes(this.filterValue.toLowerCase()))||t.id.toString().includes(this.filterValue.toLowerCase())||t.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const t of this.filteredGroups)t.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,c.oU)(t.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(t){const e=(0,c.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(u.Bp,e)}onChangeNameDescription(t){const e=(0,c.kZ)();e.data={theme:"group-theme",group:t,dialogType:u.Eg.GROUP},this.dialog.open(u.rd,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}createGroupTrees(t){const e=new Map;for(const s of t)e.set(s.id,new a.m(s));const i=new Set;e.forEach((t,e,n)=>{const s=n.get(t.parentGroupId);void 0!==s&&(s.addChild(t),n.set(t.parentGroupId,s)),null!==t.parentGroupId&&void 0===s&&i.add(t.id)});const n=[];e.forEach(t=>{(null===t.parentGroupId||i.has(t.id))&&n.push(t)}),this.dataSource.data=n,this.cd.detectChanges()}getParentNode(t){const e=this.getLevel(t);if(e<1)return null;for(let i=this.treeControl.dataNodes.indexOf(t)-1;i>=0;i--){const t=this.treeControl.dataNodes[i];if(this.getLevel(t)this.selection.isSelected(t));e&&!i&&this.selection.deselect(t)}checkAllParentsSelection(t){let e=this.getParentNode(t);for(;e;)this.checkRootNodeSelection(e),e=this.getParentNode(e);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(t=>this.selection.isSelected(t))&&!this.selection.isSelected(t)}itemSelectionToggle(t){this.selection.toggle(t);const e=this.treeControl.getDescendants(t);this.selection.isSelected(t)?this.selection.select(...e):this.selection.deselect(...e),e.every(t=>this.selection.isSelected(t)),this.checkAllParentsSelection(t)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(t,e)=>t&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,e]):(t,e)=>t&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[e]),!0)}onMoveGroup(t){this.moveGroup.emit(t)}getTreeViewHeight(){let t=0;this.scrollViewport&&(t=this.scrollViewport.getDataLength());let e=48*t;return e>672&&(e=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),e+"px"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO),n.Y36(h.uw),n.Y36(l.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(t,e){if(1&t&&n.Gf(v,5),2&t){let t;n.iGM(t=n.CRH())&&(e.scrollViewport=t.first)}},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[n.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(t,e){1&t&&(n.YNc(0,R,4,6,"div",0),n.YNc(1,I,3,3,"app-alert",1)),2&t&&(n.Q6J("ngIf",0!==e.filteredGroups.length),n.xp6(1),n.Q6J("ngIf",0===e.filteredGroups.length))},directives:[d.O5,p.N7,p.xd,d.PC,p.x0,g.yS,f.lW,m.gM,b.i,w.oG,_.Hw,y.w],pipes:[A.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}.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:rgba(0,0,0,.05)}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),t})()},66438:function(t,e,i){"use strict";i.d(e,{X:function(){return f}});var n=i(33642),s=i(88426),o=i(31572),r=i(48160),a=i(61511),c=i(8055),u=i(15980),l=i(43691),h=i(36922);const d=function(t){return{color:t}};function p(t,e){if(1&t&&(o.TgZ(0,"button",8),o.ALo(1,"translate"),o.TgZ(2,"mat-icon",4),o._uU(3," apps "),o.qZA(),o.qZA()),2&t){const t=o.oxw(),e=o.MAs(2);o.Q6J("matMenuTriggerFor",e)("matTooltip",o.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),o.xp6(2),o.Q6J("ngStyle",o.VKq(5,d,t.iconColor))}}function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",2),o.NdJ("click",function(){return o.CHM(t),o.oxw().onLogOut()}),o._uU(1),o.ALo(2,"translate"),o.qZA()}2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"NAV.LOGOUT")))}let f=(()=>{class t{constructor(t,e,i,n){this.authService=t,this.authzResolverService=e,this.notificator=i,this.translateService=n}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.e8),o.Y36(n.Ct),o.Y36(s.V6),o.Y36(r.sK))},t.\u0275cmp=o.Xpm({type:t,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(t,e){if(1&t&&(o.YNc(0,p,4,7,"button",0),o.TgZ(1,"mat-menu",null,1),o.TgZ(3,"button",2),o.NdJ("click",function(){return e.redirectToUrl()}),o.TgZ(4,"span"),o._uU(5),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"button",3),o.TgZ(7,"mat-icon",4),o._uU(8," person "),o.qZA(),o.TgZ(9,"span",5),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"mat-menu",null,6),o.YNc(13,g,3,3,"button",7),o.qZA()),2&t){const t=o.MAs(12);o.Q6J("ngIf",e.url),o.xp6(5),o.Oqu(e.label),o.xp6(1),o.Q6J("matMenuTriggerFor",t),o.xp6(1),o.Q6J("ngStyle",o.VKq(11,d,e.iconColor)),o.xp6(2),o.Q6J("ngStyle",o.VKq(13,d,e.textColor)),o.xp6(1),o.xDo(" ",e.user.titleBefore," ",e.user.firstName," ",e.user.middleName," ",e.user.lastName," ",e.user.titleAfter," "),o.xp6(3),o.Q6J("ngIf",e.logoutEnabled)}},directives:[a.O5,c.VK,c.OP,u.lW,c.p6,l.Hw,a.PC,h.gM],pipes:[r.X$],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),t})()},19139:function(t,e,i){"use strict";i.d(e,{L:function(){return d}});var n=i(31572),s=i(16073),o=i(66283),r=i(61511),a=i(80340),c=i(84534),u=i(48160);function l(t,e){if(1&t&&(n._UZ(0,"input",3),n.ALo(1,"translate")),2&t){const t=n.oxw();n.s9C("placeholder",n.lcZ(1,2,t.placeholder)),n.Q6J("formControl",t.formControl)}}function h(t,e){if(1&t&&(n._UZ(0,"input",4),n.ALo(1,"translate")),2&t){const t=n.oxw();n.s9C("placeholder",n.lcZ(1,2,t.placeholder)),n.Q6J("formControl",t.formControl)}}let d=(()=>{class t{constructor(){this.filter=new n.vpe,this.autoFocus=!1,this.formControl=new s.NI}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.YNc(1,l,2,4,"input",1),n.YNc(2,h,2,4,"input",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",e.autoFocus),n.xp6(1),n.Q6J("ngIf",!e.autoFocus))},directives:[o.KE,r.O5,a.Nt,s.Fj,c.hT,s.JJ,s.oH],pipes:[u.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),t})()},91779:function(t,e,i){"use strict";i.d(e,{m:function(){return X}});var n=i(31572),s=i(58623),o=i(84140),r=i(61189),a=i(88426),c=i(31906),u=i(66599),l=i(84608),h=i(82819),d=i(61511),p=i(67033),g=i(67806),f=i(29236),m=i(43691),b=i(36922),w=i(84534),_=i(57629),y=i(39571),A=i(48160),v=i(22196),T=i(74842),C=i(91322),S=i(37043),E=i(99197),k=i(63720),x=i(1157);function R(t,e){1&t&&(n.TgZ(0,"div",20),n._UZ(1,"mat-spinner",21),n.qZA())}function I(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function P(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function M(t,e){1&t&&n._UZ(0,"th",26)}function L(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(e){n.CHM(t);const i=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e,i)}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function N(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,L,3,3,"mat-icon",28),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==t.membershipType)}}function z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.user))}}function Z(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function B(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.status),""),n.s9C("matTooltip",n.xi3(3,7,t,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.status)," ")}}function q(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function U(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,t,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.groupStatus)," ")}}function H(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function j(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function G(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function V(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function K(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function J(t,e){1&t&&n._UZ(0,"tr",31)}const $=function(t,e){return["/organizations",t,"members",e]};function Q(t,e){if(1&t&&n._UZ(0,"tr",32),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",i.dataSource.routeAuth)("italic_font","INDIRECT"===t.membershipType)("disable-outline",!i.dataSource.routeAuth),n.Q6J("perunWebAppsMiddleClickRouterLink",i.dataSource.routeAuth?n.WLB(8,$,t.voId,t.id):null)("routerLink",i.dataSource.routeAuth?n.WLB(11,$,t.voId,t.id):null)}}function W(t,e){1&t&&(n.TgZ(0,"app-alert",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let X=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.dynamicPaginatingService=s,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.vpe,this.exporting=!1,this.pageSizeOptions=o.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,c.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,u.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new a.Ct(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.pageSize,"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(t=>this.selection.select(t))}isAllSelected(){return this.selection.selected.length===this.pageSize}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(t,e){if(t.stopPropagation(),"INVALID"===e.status){const t=(0,o.kZ)();t.width="500px",t.data={member:e},this.dialog.open(r.pf,t).afterClosed().subscribe(t=>{t&&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(t){(0,o.O6)((0,o.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),t)}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,o.bD)(t.user):"";case"status":return t.status;case"groupStatus":return t.groupStatus;case"organization":return(0,o.Gw)(t);case"email":return(0,o.g$)(t);case"logins":return(0,o.lt)(t);default:return""}}viewMemberGroupTree(t,e){t.stopPropagation();const i=(0,o.kZ)();i.width="800px",i.data={member:e,groupId:this.groupId},this.dialog.open(r.jd,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.uw),n.Y36(a.x4),n.Y36(a.UA),n.Y36(a.ly))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(o.l9,7),n.Gf(s.YE,5)),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.sort=t.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["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"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.ALo(1,"async"),n.TgZ(2,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.YNc(3,R,2,0,"div",2),n.ALo(4,"async"),n.TgZ(5,"table",3),n.ynx(6,4),n.YNc(7,I,2,3,"th",5),n.YNc(8,O,2,2,"td",6),n.BQk(),n.ynx(9,7),n.YNc(10,P,3,3,"th",8),n.YNc(11,D,2,1,"td",6),n.BQk(),n.ynx(12,9),n.YNc(13,M,1,0,"th",8),n.YNc(14,N,2,1,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,z,3,3,"th",8),n.YNc(17,F,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,Z,3,3,"th",5),n.YNc(20,B,7,12,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,q,3,3,"th",5),n.YNc(23,U,7,12,"td",10),n.BQk(),n.ynx(24,14),n.YNc(25,H,3,3,"th",5),n.YNc(26,j,3,3,"td",10),n.BQk(),n.ynx(27,15),n.YNc(28,G,3,3,"th",5),n.YNc(29,Y,3,3,"td",10),n.BQk(),n.ynx(30,16),n.YNc(31,V,3,3,"th",5),n.YNc(32,K,3,3,"td",10),n.BQk(),n.YNc(33,J,1,0,"tr",17),n.YNc(34,Q,1,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,W,3,4,"app-alert",19),n.ALo(36,"async")),2&t&&(n.Q6J("hidden",0===e.dataSource.allMemberCount&&!1===n.lcZ(1,9,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataLength",e.dataSource.allMemberCount)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,11,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.allMemberCount&&!1===n.lcZ(36,13,e.dataSource.loading$)))},directives:[h.l,d.O5,p.BZ,s.YE,p.w1,p.fO,p.Dz,p.as,p.nj,g.$g,p.ge,f.oG,p.ev,s.nU,m.Hw,b.gM,p.XQ,p.Gk,w.YH,_.rH,y.w],pipes:[d.Ov,A.X$,v.d,T.u,C.i,S.f,E.M,k.D,x.p],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.italic_font[_ngcontent-%COMP%]{font-style:italic}"]}),t})()},4252:function(t,e,i){"use strict";i.d(e,{O:function(){return tt}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(61189),u=i(88426),l=i(84608),h=i(57629),d=i(82819),p=i(61511),g=i(29236),f=i(36922),m=i(43691),b=i(84534),w=i(39571),_=i(48160),y=i(22196),A=i(74842),v=i(91322),T=i(37043),C=i(99197),S=i(63720),E=i(1157);function k(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function x(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.ALo(2,"translate"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","DIRECT"!==t.membershipType)("matTooltip","DIRECT"!==t.membershipType?n.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function R(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function O(t,e){1&t&&n._UZ(0,"th",26)}function P(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e)})("mouseenter",function(){return n.CHM(t),n.oxw(2).disableRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw(2);return e.disableRouting=e.disabledRouting}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function D(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,P,3,3,"mat-icon",28),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==t.membershipType)}}function M(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.user))}}function N(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function z(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.status),""),n.s9C("matTooltip",n.xi3(3,7,t,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.status)," ")}}function F(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function Z(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,t,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.groupStatus)," ")}}function B(t,e){1&t&&(n.TgZ(0,"th",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")))}function q(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"check_circle_outline"),n.qZA())}function U(t,e){if(1&t&&(n.TgZ(0,"td",32),n.YNc(1,q,2,0,"mat-icon",33),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",t.sponsored)}}function H(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function j(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function G(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function V(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function K(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function J(t,e){1&t&&n._UZ(0,"tr",34)}const $=function(t,e){return["/organizations",t,"members",e]};function Q(t,e){if(1&t&&n._UZ(0,"tr",35),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disabledRouting)("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.WLB(6,$,t.voId,t.id))("routerLink",i.disableRouting?null:n.WLB(9,$,t.voId,t.id))}}function W(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function X(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let tt=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.route=s,this.selection=new r.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.updateTable=new n.vpe,this.pageSizeOptions=a.f7,this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(t){this.sort=t}getSortDataForColumn(t,e,i){var n;switch(e){case"id":return t.id.toString();case"fullName":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,a.Gw)(t);case"email":return(0,a.g$)(t);default:return""}}getFilterDataForColumn(t,e){switch(e){case"fullName":return t.user?(0,a.bD)(t.user):"";case"email":return(0,a.g$)(t);case"logins":return(0,a.lt)(t);default:return""}}getExportDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,a.bD)(t.user):"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,a.Gw)(t);case"email":return(0,a.g$)(t);case"logins":return(0,a.lt)(t);default:return""}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){var t;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(t=this.route.parent)||void 0===t||t.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.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.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(t,e){if(t.stopPropagation(),"INVALID"===e.status){const t=(0,a.kZ)();t.width="500px",t.data={member:e},this.dialog.open(c.pf,t).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}viewMemberGroupTree(t){const e=(0,a.kZ)();e.width="800px",e.data={member:t,groupId:this.groupId},this.dialog.open(c.jd,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.uw),n.Y36(u.x4),n.Y36(u.UA),n.Y36(h.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page",updateTable:"updateTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["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-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,k,2,3,"th",4),n.YNc(5,x,3,6,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,I,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",7),n.YNc(11,D,2,1,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,M,3,3,"th",7),n.YNc(14,L,3,3,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,N,3,3,"th",7),n.YNc(17,z,7,12,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,F,3,3,"th",7),n.YNc(20,Z,7,12,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,B,3,3,"th",14),n.YNc(23,U,2,1,"td",15),n.BQk(),n.ynx(24,16),n.YNc(25,H,3,3,"th",7),n.YNc(26,j,3,3,"td",9),n.BQk(),n.ynx(27,17),n.YNc(28,G,3,3,"th",7),n.YNc(29,Y,3,3,"td",9),n.BQk(),n.ynx(30,18),n.YNc(31,V,3,3,"th",4),n.YNc(32,K,3,3,"td",9),n.BQk(),n.YNc(33,J,1,0,"tr",19),n.YNc(34,Q,1,12,"tr",20),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,W,3,4,"app-alert",21),n.YNc(36,X,3,4,"app-alert",21)),2&t&&(n.Q6J("hidden",0===e.members.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0!==e.members.length&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("ngIf",0===e.members.length))},directives:[d.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,p.O5,o.ge,g.oG,o.ev,f.gM,s.nU,m.Hw,o.XQ,o.Gk,b.YH,h.rH,w.w],pipes:[_.X$,y.d,A.u,v.i,T.f,C.M,S.D,E.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_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}"]}),t})()},11418:function(t,e,i){"use strict";i.d(e,{c:function(){return p}});var n=i(31572),s=i(88426),o=i(84140),r=i(61189),a=i(84608),c=i(61511),u=i(43691),l=i(48160);function h(t,e){if(1&t&&(n.TgZ(0,"div",5),n.TgZ(1,"mat-icon"),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.xp6(2),n.Oqu(t.data.icon)}}function d(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.hij(" ",t.showTimestamp()," ")}}let p=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new n.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 t=(0,o.kZ)();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(r.FM,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,o.ys)(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.uw),n.Y36(s.SZ))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"div",0),n.NdJ("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),n.YNc(2,h,3,1,"div",1),n.TgZ(3,"div",2),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.YNc(6,d,2,1,"div",3),n.TgZ(7,"div",4),n.NdJ("click",function(){return e.waiting=!0,e.doAction()}),n._uU(8),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.Gre("notification ",e.inDialog?"":"mat-elevation-z7",""),n.ekj("error","error"===e.data.type)("success","success"===e.data.type),n.xp6(2),n.Q6J("ngIf",null!==e.data.icon),n.xp6(2),n.hij(" ",n.lcZ(5,12,e.data.title)," "),n.xp6(2),n.Q6J("ngIf",e.inDialog),n.xp6(1),n.Q6J("hidden",e.alreadyPressed),n.xp6(1),n.hij(" ",e.data.actionText," "))},directives:[c.O5,u.Hw],pipes:[l.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}"]}),t})()},16306:function(t,e,i){"use strict";i.d(e,{$:function(){return x}});var n=i(31572),s=i(88426),o=i(33642),r=i(84608),a=i(48160),c=i(66283),u=i(80340),l=i(16073),h=i(61511),d=i(15980);function p(t,e){1&t&&(n.TgZ(0,"mat-error"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let g=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(60306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.so),n.Y36(a.sK),n.Y36(s.V6),n.Y36(o.Hr),n.Y36(s.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"mat-form-field"),n.TgZ(5,"mat-label"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(t){return e.subject=t}),n.qZA(),n.YNc(10,p,3,3,"mat-error",4),n.qZA(),n.TgZ(11,"mat-form-field"),n.TgZ(12,"mat-label"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"textarea",5),n.NdJ("ngModelChange",function(t){return e.message=t}),n.ALo(16,"translate"),n._uU(17," "),n.qZA(),n.TgZ(18,"mat-hint"),n._uU(19),n.ALo(20,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(21,"div",6),n.TgZ(22,"div",7),n.TgZ(23,"button",8),n.NdJ("click",function(){return e.close()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.TgZ(26,"button",9),n.NdJ("click",function(){return e.sendBugReport()}),n._uU(27),n.ALo(28,"translate"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=n.MAs(9);n.xp6(1),n.Oqu(n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),n.xp6(5),n.Oqu(n.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),n.xp6(2),n.Q6J("ngModel",e.subject),n.xp6(2),n.Q6J("ngIf",t.invalid),n.xp6(3),n.Oqu(n.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),n.xp6(2),n.s9C("placeholder",n.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),n.Q6J("ngModel",e.message),n.xp6(4),n.Oqu(n.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),n.xp6(5),n.hij(" ",n.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),n.xp6(2),n.Q6J("disabled",t.invalid),n.xp6(1),n.hij(" ",n.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[r.uh,r.xY,c.KE,c.hX,u.Nt,l.Fj,l.Q7,l.JJ,l.On,h.O5,c.bx,r.H8,d.lW,c.TO],pipes:[a.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();var f=i(84140);let m=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedText",type:t,pure:!0}),t})(),b=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedLink",type:t,pure:!0}),t})();const w=function(t){return{color:t}};function _(t,e){if(1&t&&(n.TgZ(0,"i",16),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(2,w,e.linksTextColor)),n.xp6(1),n.hij(" ",t.icon," ")}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",17),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(3).openDialog(e.dialog)}),n._uU(1),n.ALo(2,"localisedText"),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,w,e.linksTextColor)),n.xp6(1),n.hij("",n.Dn7(2,2,t,e.language,"label")," ")}}function A(t,e){if(1&t&&(n.TgZ(0,"a",18),n.ALo(1,"localisedLink"),n._uU(2),n.ALo(3,"localisedText"),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("href",n.xi3(1,3,t,e.language),n.LSH)("ngStyle",n.VKq(10,w,e.linksTextColor)),n.xp6(2),n.Oqu(n.Dn7(3,6,t,e.language,"label"))}}function v(t,e){if(1&t&&(n.TgZ(0,"span",19),n._uU(1),n.ALo(2,"localisedText"),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,w,e.linksTextColor)),n.xp6(1),n.Oqu(n.Dn7(2,2,t,e.language,"label"))}}function T(t,e){if(1&t&&(n.TgZ(0,"div",11),n.YNc(1,_,2,4,"i",12),n.YNc(2,y,3,8,"span",13),n.YNc(3,A,4,12,"a",14),n.ALo(4,"localisedLink"),n.YNc(5,v,3,8,"span",15),n.ALo(6,"localisedLink"),n.qZA()),2&t){const t=e.$implicit,i=n.oxw(3);n.xp6(1),n.Q6J("ngIf",t.icon),n.xp6(1),n.Q6J("ngIf",t.dialog),n.xp6(1),n.Q6J("ngIf",n.xi3(4,4,t,i.language)&&!t.dialog),n.xp6(2),n.Q6J("ngIf",!n.xi3(6,7,t,i.language)&&!t.dialog)}}function C(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,T,7,10,"div",10),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",t.elements)}}function S(t,e){if(1&t&&(n.TgZ(0,"div",7),n.TgZ(1,"h6",8),n._uU(2),n.ALo(3,"localisedText"),n.qZA(),n.YNc(4,C,2,1,"div",9),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("ngStyle",n.VKq(7,w,i.headersTextColor)),n.xp6(1),n.hij(" ",n.Dn7(3,3,t,i.language,"title")," "),n.xp6(2),n.Q6J("ngIf",t.elements)}}function E(t,e){if(1&t&&(n.TgZ(0,"span"),n.TgZ(1,"a",6),n._uU(2),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=e.index,s=n.oxw();n.xp6(1),n.Q6J("href",t.url,n.LSH)("ngStyle",n.VKq(3,w,s.copyrightTextColor)),n.xp6(1),n.Oqu(i?", "+t.name:t.name)}}const k=function(t){return{background:t}};let x=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new n.vpe}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(60306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=(0,f.kZ)();switch(t){case"reportIssue":e.width="550px",this.dialog.open(g,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(){this.recentIds=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&n.YNc(0,c,3,3,"mat-icon",0),2&t&&n.Q6J("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[s.O5,o.Hw,r.gM],pipes:[a.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})()},59403:function(t,e,i){"use strict";i.d(e,{t:function(){return c}});var n=i(31572),s=i(15980),o=i(36922),r=i(43691),a=i(48160);let c=(()=>{class t{constructor(){this.refresh=new n.vpe}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(n.TgZ(0,"button",0),n.NdJ("click",function(t){return e.onClickbutton(t)}),n.ALo(1,"translate"),n._UZ(2,"mat-icon",1),n.qZA()),2&t&&(n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.Q6J("disabled",e.disabled),n.xp6(2),n.s9C("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[s.lW,o.gM,r.Hw],pipes:[a.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),t})()},88884:function(t,e,i){"use strict";i.d(e,{C:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(88426),u=i(82819),l=i(61511),h=i(29236),d=i(72953),p=i(46837),g=i(84534),f=i(57629),m=i(39571),b=i(48160);let w=(()=>{class t{transform(t){if(null==t)return null;let e="";return t.forEach(function(t){e=e.concat(t.tagName)}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"resourceTagsToString",type:t,pure:!0}),t})();var _=i(95603);function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function v(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function C(t,e){1&t&&n._UZ(0,"th",20)}function S(t,e){if(1&t&&(n.TgZ(0,"td",25),n._UZ(1,"perun-web-apps-recently-viewed-icon",26),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function E(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function x(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.name)}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"perun-web-apps-group-resource-status",27),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(t),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("theme","group-theme")("resourceId",t.id)("groupId",i.groupId)("failureCause",t.failureCause)("status",t.status)}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.name)}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"resourceTagsToString"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.resourceTags))}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function F(t,e){1&t&&n._UZ(0,"tr",28)}const Z=function(t){return[t]};function B(t,e){if(1&t&&(n._UZ(0,"tr",29),n.ALo(1,"getResourceRoute"),n.ALo(2,"getResourceRoute")),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(12,Z,i.disabledRouting?null:n.xi3(1,6,t,i.routingVo)))("routerLink",i.disabledRouting?null:n.xi3(2,9,t,i.routingVo))}}function q(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let H=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new r.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=a.f7,this.groupId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.allSelected=new n.vpe,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.setAuth()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return t.vo.name;case"name":return t.name;case"facility":return t.facility.name;case"description":return t.description;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"tags":{if(!t.resourceTags)return t[e];let i="";return t.resourceTags.forEach(function(t){i=i.concat(t.tagName)}),i}case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(t),t}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i])),!0),this.addAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i])),!0)}itemSelectionToggle(t){this.selection.toggle(t),this.setAuth()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.x4),n.Y36(c.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[n.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,y,2,3,"th",4),n.YNc(5,A,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,v,3,3,"th",7),n.YNc(8,T,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,C,1,0,"th",4),n.YNc(11,S,2,2,"td",10),n.BQk(),n.ynx(12,11),n.YNc(13,E,3,3,"th",7),n.YNc(14,k,2,1,"td",10),n.BQk(),n.ynx(15,12),n.YNc(16,x,3,3,"th",7),n.YNc(17,R,2,1,"td",10),n.BQk(),n.ynx(18,13),n.YNc(19,I,3,3,"th",7),n.YNc(20,O,2,5,"td",10),n.BQk(),n.ynx(21,14),n.YNc(22,P,3,3,"th",7),n.YNc(23,D,2,1,"td",10),n.BQk(),n.ynx(24,15),n.YNc(25,M,3,3,"th",7),n.YNc(26,L,3,3,"td",10),n.BQk(),n.ynx(27,16),n.YNc(28,N,3,3,"th",7),n.YNc(29,z,2,1,"td",10),n.BQk(),n.YNc(30,F,1,0,"tr",17),n.YNc(31,B,3,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(32,q,3,3,"app-alert",19),n.YNc(33,U,3,3,"app-alert",19)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),n.xp6(1),n.Q6J("ngIf",0===e.resources.length))},directives:[u.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,s.nU,d.W,p.x,o.XQ,o.Gk,g.YH,f.rH,m.w],pipes:[b.X$,w,_.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},23888:function(t,e,i){"use strict";i.d(e,{j:function(){return M}});var n=i(31572),s=i(4230),o=i(58623),r=i(67033),a=i(88426),c=i(84140),u=i(57629),l=i(82819),h=i(61511),d=i(29236),p=i(84534),g=i(39571),f=i(48160),m=i(83787);let b=(()=>{class t{transform(t){const e=t.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"getMailFromAttributes",type:t,pure:!0}),t})();function w(t,e){1&t&&n._UZ(0,"th",17)}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",18),n.TgZ(1,"mat-checkbox",19),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function y(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function A(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.id)}}function v(t,e){1&t&&(n.TgZ(0,"th",17),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function T(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.ALo(2,"getMailFromAttributes"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.attributes))}}function C(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function S(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.extSource.name)}}function E(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function k(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.login)}}function x(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function R(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function I(t,e){1&t&&n._UZ(0,"tr",23)}const O=function(t,e){return["/admin","users",t,"identities",e]};function P(t,e){if(1&t&&n._UZ(0,"tr",24),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.WLB(6,O,i.userId,t.userExtSource.id))("routerLink",i.disableRouting?null:n.WLB(9,O,i.userId,t.userExtSource.id))}}function D(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let M=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new s.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new n.vpe,this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.by(this.userExtSources),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.userExtSource.id.toString();case"mail":{const e=t.attributes.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}case"extSourceName":return t.userExtSource.extSource.name;case"login":return t.userExtSource.login;case"lastAccess":return t.userExtSource.lastAccess.split(".")[0];default:return""}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.gz),n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(c.l9,7),n.Gf(o.YE,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.matSort=t.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,w,1,0,"th",4),n.YNc(5,_,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,y,4,5,"th",7),n.YNc(8,A,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,v,4,5,"th",4),n.YNc(11,T,3,3,"td",8),n.BQk(),n.ynx(12,10),n.YNc(13,C,4,5,"th",7),n.YNc(14,S,2,1,"td",8),n.BQk(),n.ynx(15,11),n.YNc(16,E,4,5,"th",7),n.YNc(17,k,2,1,"td",8),n.BQk(),n.ynx(18,12),n.YNc(19,x,4,5,"th",7),n.YNc(20,R,3,4,"td",13),n.BQk(),n.YNc(21,I,1,0,"tr",14),n.YNc(22,P,1,12,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(23,D,4,5,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(19),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.userExtSources.length))},directives:[l.l,r.BZ,o.YE,r.w1,r.fO,r.Dz,r.as,r.nj,h.O5,r.ge,r.ev,d.oG,o.nU,r.XQ,r.Gk,p.YH,u.rH,g.w],pipes:[f.X$,m.a,b,h.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})()},7927:function(t,e,i){"use strict";i.d(e,{S:function(){return a}});var n=i(31572),s=i(84140),o=i(44973),r=i(48160);let a=(()=>{class t{constructor(){this.disableAutoSelect=!1,this.userSelected=new n.vpe,this.userFullNameFunction=s.bD}ngOnInit(){this.users=this.users.sort(s.fx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.userSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.users)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.userFullNameFunction)("mainTextFunction",e.userFullNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[o.i],pipes:[r.X$],styles:[""]}),t})()},19386:function(t,e,i){"use strict";i.d(e,{M:function(){return r}});var n=i(31572),s=i(44973),o=i(48160);let r=(()=>{class t{constructor(){this.voSelected=new n.vpe,this.nameFunction=t=>t.name,this.shortNameFunction=t=>t.shortName,this.searchFunction=t=>t.name+t.shortName+t.id}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:13,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.voSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.vos)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[s.i],pipes:[o.X$],styles:[""]}),t})()},97162:function(t,e,i){"use strict";i.d(e,{Z:function(){return O}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),u=i(61511),l=i(29236),h=i(72953),d=i(84534),p=i(57629),g=i(39571),f=i(48160);function m(t,e){1&t&&n._UZ(0,"th",15)}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",16),n.TgZ(1,"mat-checkbox",17),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function w(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")))}function _(t,e){if(1&t&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function y(t,e){1&t&&n._UZ(0,"th",15)}function A(t,e){if(1&t&&(n.TgZ(0,"td",19),n._UZ(1,"perun-web-apps-recently-viewed-icon",20),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function v(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.shortName)}}function C(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")))}function S(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function E(t,e){1&t&&n._UZ(0,"tr",21)}const k=function(t){return["/organizations",t]};function x(t,e){if(1&t&&n._UZ(0,"tr",22),2&t){const t=e.$implicit,i=n.oxw();n.ekj("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.VKq(4,k,t.id))("routerLink",i.disableRouting?null:n.VKq(6,k,t.id))}}function R(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function I(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let O=(()=>{class t{constructor(t){this.authResolver=t,this.vos=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.pageSizeOptions=r.f7,this.page=new n.vpe}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"shortName":return t.shortName;case"name":return t.name;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,1,0,"th",4),n.YNc(5,b,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,w,3,3,"th",7),n.YNc(8,_,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,y,1,0,"th",4),n.YNc(11,A,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,v,3,3,"th",7),n.YNc(14,T,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,C,3,3,"th",7),n.YNc(17,S,2,1,"td",9),n.BQk(),n.YNc(18,E,1,0,"tr",12),n.YNc(19,x,1,8,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,I,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.vos.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.vos.length),n.xp6(1),n.Q6J("ngIf",0===e.vos.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,o.ev,l.oG,s.nU,h.W,o.XQ,o.Gk,d.YH,p.rH,g.w],pipes:[f.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},61189:function(t,e,i){"use strict";i.d(e,{Wr:function(){return ut},r2:function(){return ct},gr:function(){return pt},u3:function(){return Vt},Qu:function(){return ce},pf:function(){return w},hd:function(){return Xt},kZ:function(){return $t},wA:function(){return at},rd:function(){return I},Eg:function(){return R},Bp:function(){return F},qD:function(){return Ft},jd:function(){return Nt},FM:function(){return j},Lc:function(){return X},mk:function(){return it},Tf:function(){return yt}}),i(22280);var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),u=i(15980),l=i(67806),h=i(66283),d=i(4786),p=i(71522);function g(t,e){1&t&&r._UZ(0,"mat-spinner",6)}function f(t,e){if(1&t&&(r.TgZ(0,"mat-option",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.Oqu(t)}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-form-field",13),r.TgZ(1,"mat-label"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-select",14),r.NdJ("selectionChange",function(e){return r.CHM(t),r.oxw(2).changeStatus(e)}),r.YNc(5,f,2,2,"mat-option",15),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.xp6(2),r.Oqu(r.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),r.xp6(3),r.Q6J("ngForOf",t.allStatuses)}}function b(t,e){if(1&t&&(r.TgZ(0,"div",7),r.TgZ(1,"div",8),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"div",9),r._uU(5),r.qZA(),r.TgZ(6,"div",8),r._uU(7),r.ALo(8,"translate"),r.YNc(9,m,6,4,"mat-form-field",10),r.qZA(),r.TgZ(10,"div",11),r._UZ(11,"i",12),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.AsE("",r.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",t.actualStatus,""),r.xp6(3),r.Oqu(t.description),r.xp6(2),r.hij(" ",r.lcZ(8,8,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),r.xp6(2),r.Q6J("ngIf",!t.loading),r.xp6(2),r.Q6J("innerHTML",t.changeMessage,r.oJD)}}let w=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.memberManager=i,this.groupsManager=n,this.notificatorService=s,this.translate=o,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.allStatuses=this.data.groupId?"VALID"===this.actualStatus?["EXPIRED"]:["VALID"]:"INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(t=>t!==this.actualStatus),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.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(t){this.selectedStatus=t.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(t,e){if("VALID"===t)switch(e){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(e){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(t=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(e=>{this.notificatorService.showSuccess(e),this.dialogRef.close(t)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(t=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(e=>{this.notificatorService.showSuccess(e),this.dialogRef.close(t)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.uq),r.Y36(s.ff),r.Y36(o.V6),r.Y36(a.sK))},t.\u0275cmp=r.Xpm({type:t,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","mr-2 mt-2",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,g,1,0,"mat-spinner",1),r.YNc(5,b,12,10,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(11),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.loading||!e.selectedStatus),r.xp6(1),r.hij(" ",e.submitButtonText," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,d.gD,c.sg,p.ey],pipes:[a.X$],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t})();var _=i(16073),y=i(80340);function A(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")))}function v(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")))}function T(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")))}function C(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")))}function S(t,e){1&t&&r._UZ(0,"mat-spinner",8)}function E(t,e){if(1&t&&(r.TgZ(0,"mat-form-field"),r._UZ(1,"input",13),r.ALo(2,"translate"),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.MGl("placeholder","",r.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),r.Q6J("value",t.shortName)}}function k(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",14),r._UZ(1,"textarea",15),r.ALo(2,"translate"),r.TgZ(3,"mat-error"),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.MGl("placeholder","",r.lcZ(2,3,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),r.Q6J("formControl",t.descriptionCtrl),r.xp6(3),r.hij(" ",r.lcZ(5,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_DESCRIPTION")," ")}}function x(t,e){if(1&t&&(r.TgZ(0,"div",9),r.YNc(1,E,3,4,"mat-form-field",10),r.TgZ(2,"mat-form-field"),r._UZ(3,"input",11),r.ALo(4,"translate"),r.TgZ(5,"mat-error"),r._uU(6),r.ALo(7,"translate"),r.qZA(),r.qZA(),r.YNc(8,k,6,7,"mat-form-field",12),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngIf",2===t.dialogType),r.xp6(2),r.MGl("placeholder","",r.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),r.Q6J("formControl",t.nameCtrl),r.xp6(3),r.hij(" ",t.invalidNameMessage.length?t.invalidNameMessage:r.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),r.xp6(2),r.Q6J("ngIf",2!==t.dialogType)}}var R=function(t){return t[t.FACILITY=0]="FACILITY",t[t.RESOURCE=1]="RESOURCE",t[t.VO=2]="VO",t[t.GROUP=3]="GROUP",t}({});let I=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this.dialogRef=t,this.data=e,this.notificator=i,this.translateService=n,this.facilitiesManager=s,this.resourcesManager=o,this.groupsManager=r,this.vosManager=a,this.store=c,this.invalidNameMessage=this.data.dialogType===R.GROUP?this.store.get("groupNameErrorMessage"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===R.GROUP?this.store.get("groupNameSecondaryRegex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case R.FACILITY:this.nameCtrl=new _.NI(this.data.facility.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.facility.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break;case R.RESOURCE:this.nameCtrl=new _.NI(this.data.resource.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.resource.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break;case R.GROUP:{const t=this.data.group.name.split(":");this.nameCtrl=new _.NI(t[t.length-1],[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.pattern(this.secondaryRegex),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.group.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break}case R.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new _.NI(this.data.vo.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case R.FACILITY:this.editFacility();break;case R.RESOURCE:this.editResource();break;case R.GROUP:this.editGroup();break;case R.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(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(t=>{const e=t;e.name=this.nameCtrl.value,e.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:e}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(o.V6),r.Y36(a.sK),r.Y36(s.IQ),r.Y36(s.xk),r.Y36(s.ff),r.Y36(s.YF),r.Y36(o.d6))},t.\u0275cmp=r.Xpm({type:t,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","","required","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.YNc(1,A,3,3,"h1",0),r.YNc(2,v,3,3,"h1",0),r.YNc(3,T,3,3,"h1",0),r.YNc(4,C,3,3,"h1",0),r.TgZ(5,"div",1),r.YNc(6,S,1,0,"mat-spinner",2),r.YNc(7,x,9,9,"div",3),r.qZA(),r.TgZ(8,"div",4),r.TgZ(9,"button",5),r.NdJ("click",function(){return e.cancel()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.TgZ(12,"button",6),r.NdJ("click",function(){return e.submit()}),r._uU(13),r.ALo(14,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(1),r.Q6J("ngIf",0===e.dialogType),r.xp6(1),r.Q6J("ngIf",1===e.dialogType),r.xp6(1),r.Q6J("ngIf",2===e.dialogType),r.xp6(1),r.Q6J("ngIf",3===e.dialogType),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",e.loading||e.nameCtrl.invalid||e.descriptionCtrl.invalid),r.xp6(1),r.hij(" ",r.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[c.O5,n.xY,n.H8,u.lW,n.uh,l.$g,h.KE,y.Nt,_.Fj,_.Q7,_.JJ,_.oH,h.TO,y.D7],pipes:[a.X$],styles:[""]}),t})();var O=i(67004),P=i(84140),D=i(43691);function M(t,e){1&t&&r._UZ(0,"mat-spinner",8)}function L(t,e){if(1&t&&(r.TgZ(0,"div",9),r.TgZ(1,"span"),r._uU(2),r.ALo(3,"translate"),r.TgZ(4,"b"),r._uU(5),r.qZA(),r.qZA(),r._UZ(6,"br"),r.TgZ(7,"span"),r._uU(8),r.ALo(9,"translate"),r.TgZ(10,"b"),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r._UZ(13,"br"),r.TgZ(14,"span"),r._uU(15),r.ALo(16,"translate"),r.TgZ(17,"b"),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.qZA(),r._UZ(20,"br"),r.TgZ(21,"span"),r._uU(22),r.ALo(23,"translate"),r.TgZ(24,"b"),r._uU(25),r.ALo(26,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),r.xp6(3),r.Oqu(t.group.name),r.xp6(3),r.hij(" ",r.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),r.xp6(3),r.Oqu(r.lcZ(12,12,t.getSynchronizationType())),r.xp6(4),r.hij(" ",r.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),r.xp6(3),r.Oqu(r.lcZ(19,16,t.getLastSyncState())),r.xp6(4),r.hij(" ",r.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),r.xp6(3),r.Oqu(r.lcZ(26,20,t.getLastSyncTime()))}}function N(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(t),r.oxw().onForceStructure()}),r._uU(1),r.ALo(2,"translate"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function z(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(t),r.oxw().onForce()}),r._uU(1),r.ALo(2,"translate"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let F=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.groupService=i,this.notificator=n,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,[O.r.GROUP_SYNC_ENABLED,O.r.GROUP_LAST_SYNC_STATE,O.r.GROUP_LAST_SYNC_TIMESTAMP,O.r.GROUP_STRUCTURE_SYNC_ENABLED,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE,O.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.group=t,this.syncEnabled=(0,P.IL)(this.group.attributes,O.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,P.IL)(this.group.attributes,O.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,P.IL)(this.group.attributes,O.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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.ff),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,M,1,0,"mat-spinner",1),r.YNc(5,L,27,22,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"div",4),r.TgZ(8,"button",5),r.NdJ("click",function(){return e.refresh()}),r.TgZ(9,"mat-icon"),r._uU(10,"refresh"),r.qZA(),r.qZA(),r.YNc(11,N,3,4,"button",6),r.YNc(12,z,3,4,"button",6),r.TgZ(13,"button",7),r.NdJ("click",function(){return e.onCancel()}),r._uU(14),r.ALo(15,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(6),r.Q6J("ngIf",e.isStructured()),r.xp6(1),r.Q6J("ngIf",e.isBasic()||e.isStructured()),r.xp6(2),r.hij(" ",r.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[n.uh,c.O5,n.H8,u.lW,D.Hw,l.$g,n.xY],pipes:[a.X$],styles:[""]}),t})();function Z(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function B(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function q(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function U(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.TgZ(1,"mat-form-field"),r.TgZ(2,"mat-label"),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"input",9,10),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().subject=e}),r.qZA(),r.YNc(7,B,3,3,"mat-error",11),r.qZA(),r.TgZ(8,"mat-form-field"),r.TgZ(9,"mat-label"),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.TgZ(12,"textarea",12,13),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().message=e}),r.ALo(14,"translate"),r._uU(15," "),r.qZA(),r.YNc(16,q,3,3,"mat-error",11),r.qZA(),r.qZA()}if(2&t){const t=r.MAs(6),e=r.MAs(13),i=r.oxw();r.xp6(3),r.Oqu(r.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),r.xp6(2),r.Q6J("ngModel",i.subject),r.xp6(2),r.Q6J("ngIf",t.invalid),r.xp6(3),r.Oqu(r.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),r.xp6(2),r.s9C("placeholder",r.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),r.Q6J("ngModel",i.message),r.xp6(4),r.Q6J("ngIf",e.invalid)}}let H=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=o,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(60306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(a.sK),r.Y36(o.V6),r.Y36(s.Hr),r.Y36(n.WI),r.Y36(o.d6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,Z,1,0,"mat-spinner",1),r.YNc(4,U,17,13,"div",2),r.TgZ(5,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"button",5),r.NdJ("click",function(){return e.dialogRef.close()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",6),r.NdJ("click",function(){return e.sendBugReport()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(4),r.hij(" ",r.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),r.xp6(2),r.Q6J("disabled",""===e.message||""===e.subject||e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,y.Nt,_.Fj,_.Q7,_.JJ,_.On,h.TO],pipes:[a.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),j=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=(0,P.kZ)();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(H,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.uw),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r._uU(3),r.qZA(),r.TgZ(4,"div",2),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.onBugReportClick()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r.NdJ("click",function(){return e.onCloseClick()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(e.data.title),r.xp6(2),r.hij("\n",e.data.description,"\n"),r.xp6(3),r.Q6J("hidden","error"!==e.data.type),r.xp6(1),r.hij(" ",r.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),r.xp6(3),r.hij(" ",r.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[n.uh,n.xY,n.H8,u.lW],pipes:[a.X$],styles:[""]}),t})();var G=i(67033),Y=i(83787);function V(t,e){1&t&&r._UZ(0,"mat-spinner",3)}function K(t,e){1&t&&r._UZ(0,"th",15)}function J(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t.userExtSource.extSource.name," ")}}function $(t,e){1&t&&r._UZ(0,"tr",17)}function Q(t,e){1&t&&r._UZ(0,"tr",18)}function W(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div",4),r.TgZ(2,"p"),r._uU(3),r.ALo(4,"translate"),r.ALo(5,"customTranslate"),r.qZA(),r.TgZ(6,"div",5),r._uU(7),r.ALo(8,"translate"),r.ALo(9,"customTranslate"),r.qZA(),r.TgZ(10,"table",6),r.ynx(11,7),r.YNc(12,K,1,0,"th",8),r.YNc(13,J,2,1,"td",9),r.BQk(),r.YNc(14,$,1,0,"tr",10),r.YNc(15,Q,1,0,"tr",11),r.qZA(),r.qZA(),r.TgZ(16,"div",12),r.TgZ(17,"button",13),r.NdJ("click",function(){return r.CHM(t),r.oxw().onCancel()}),r._uU(18),r.ALo(19,"translate"),r.ALo(20,"customTranslate"),r.qZA(),r.TgZ(21,"button",14),r.NdJ("click",function(){return r.CHM(t),r.oxw().onSubmit()}),r._uU(22),r.ALo(23,"translate"),r.ALo(24,"customTranslate"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,7,r.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),r.xp6(4),r.hij(" ",r.lcZ(8,11,r.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),r.xp6(3),r.Q6J("dataSource",t.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",t.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",t.displayedColumns),r.xp6(3),r.hij(" ",r.lcZ(19,15,r.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),r.xp6(4),r.hij(" ",r.lcZ(23,19,r.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let X=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.translate=n,this.notificator=s,this.force=!1,this.displayedColumns=["name"],n.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.Fv),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA(),r.TgZ(4,"div"),r.YNc(5,V,1,0,"mat-spinner",1),r.YNc(6,W,25,23,"div",2),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,r.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),r.xp6(3),r.Tol(e.theme),r.xp6(1),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,l.$g,n.xY,G.BZ,G.w1,G.fO,G.Dz,G.as,G.nj,n.H8,u.lW,G.ge,G.ev,G.XQ,G.Gk],pipes:[a.X$,Y.a],styles:[""]}),t})();var tt=i(10901),et=i(81391);let it=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r.TgZ(3,"textarea",2),r._uU(4),r.qZA(),r.qZA(),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.onCancel()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(e.title),r.xp6(3),r.Oqu(e.value),r.xp6(3),r.hij(" ",r.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),r.xp6(2),r.Q6J("cdkCopyToClipboard",e.value),r.xp6(1),r.hij(" ",r.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[n.uh,n.xY,tt.IC,y.Nt,n.H8,u.lW,et.i3],pipes:[a.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})();function nt(t,e){1&t&&r._UZ(0,"th",12)}function st(t,e){if(1&t&&(r.TgZ(0,"td",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t.displayName," ")}}function ot(t,e){1&t&&r._UZ(0,"tr",14)}function rt(t,e){1&t&&r._UZ(0,"tr",15)}let at=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.attributesManager=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new G.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=[];for(const i of this.data.attributes)t.push(i.id);const e={};switch(e[this.data.entity]=this.data.entityId,e.attributes=t,void 0!==this.data.secondEntity&&(e[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default: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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(o.V6),r.Y36(a.sK),r.Y36(s.H8))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"div"),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"div",2),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"table",3),r.ynx(11,4),r.YNc(12,nt,1,0,"th",5),r.YNc(13,st,2,1,"td",6),r.BQk(),r.YNc(14,ot,1,0,"tr",7),r.YNc(15,rt,1,0,"tr",8),r.qZA(),r.qZA(),r.TgZ(16,"div",9),r.TgZ(17,"button",10),r.NdJ("click",function(){return e.onCancel()}),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.TgZ(20,"button",11),r.NdJ("click",function(){return e.onSubmit()}),r._uU(21),r.ALo(22,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),r.xp6(4),r.hij(" ",r.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),r.xp6(3),r.hij(" ",r.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),r.xp6(2),r.Q6J("dataSource",e.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(3),r.hij(" ",r.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),r.xp6(3),r.hij(" ",r.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[n.uh,n.xY,G.BZ,G.w1,G.fO,G.Dz,G.as,G.nj,n.H8,u.lW,G.ge,G.ev,G.XQ,G.Gk],pipes:[a.X$],styles:[""]}),t})(),ct=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"mat-form-field"),r.TgZ(5,"textarea",2),r.NdJ("ngModelChange",function(t){return e.attributeValue=t}),r.qZA(),r.qZA(),r.qZA(),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),r.xp6(4),r.Q6J("ngModel",e.attributeValue),r.xp6(3),r.hij(" ",r.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),r.xp6(3),r.hij(" ",r.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,h.KE,tt.IC,y.Nt,_.Fj,_.JJ,_.On,n.H8,u.lW],pipes:[a.X$],styles:[""]}),t})(),ut=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"div"),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"div",2),r._uU(8),r.qZA(),r.qZA(),r.TgZ(9,"div",3),r.TgZ(10,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.TgZ(13,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(14),r.ALo(15,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),r.xp6(4),r.hij(" ",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),r.xp6(3),r.hij(" ",e.data.name," "),r.xp6(3),r.hij(" ",r.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),r.xp6(3),r.hij(" ",r.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,n.H8,u.lW],pipes:[a.X$],styles:[""]}),t})();var lt=i(39571);function ht(t,e){if(1&t&&(r.TgZ(0,"app-alert",9),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.pendingEmailsMessage)}}function dt(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,r.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let pt=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.usersManagerService=s,this.authService=o,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(t=>this.successMessage=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(t=>this.pendingEmailsMessageStart=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(t=>this.pendingEmailsMessageEnd=t)}ngOnInit(){this.emailControl=new _.NI(null,[_.kI.required,_.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(t=>{this.pendingMails=t.filter((t,e,i)=>e===i.indexOf(t));let e="";this.pendingMails.forEach(t=>e+=`${t===this.pendingMails[0]?"":", "}${t}`),console.log(e),this.pendingEmailsMessage=this.pendingEmailsMessageStart+e+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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(a.sK),r.Y36(o.V6),r.Y36(s.Fv),r.Y36(o.e8))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA(),r.TgZ(4,"div",1),r.YNc(5,ht,2,1,"app-alert",2),r.TgZ(6,"mat-form-field",3),r.TgZ(7,"label",3),r._UZ(8,"input",4),r.ALo(9,"translate"),r.ALo(10,"customTranslate"),r.qZA(),r.YNc(11,dt,4,5,"mat-error",5),r.qZA(),r.qZA(),r.TgZ(12,"div",6),r.TgZ(13,"button",7),r.NdJ("click",function(){return e.onCancel()}),r._uU(14),r.ALo(15,"translate"),r.ALo(16,"customTranslate"),r.qZA(),r.TgZ(17,"button",8),r.NdJ("click",function(){return e.onSubmit()}),r._uU(18),r.ALo(19,"translate"),r.ALo(20,"customTranslate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,8,r.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),r.xp6(4),r.Q6J("ngIf",e.pendingMails.length),r.xp6(3),r.s9C("placeholder",r.lcZ(9,12,r.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),r.Q6J("formControl",e.emailControl),r.xp6(3),r.Q6J("ngIf",e.emailControl.invalid),r.xp6(3),r.hij(" ",r.lcZ(15,16,r.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),r.xp6(3),r.Q6J("disabled",!e.emailControl.valid),r.xp6(1),r.hij(" ",r.lcZ(19,20,r.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[n.uh,n.xY,c.O5,h.KE,y.Nt,_.Fj,_.Q7,_.JJ,_.oH,n.H8,u.lW,lt.w,h.TO],pipes:[a.X$,Y.a],styles:[""]}),t})();function gt(t,e){1&t&&r._UZ(0,"mat-spinner",6)}function ft(t,e){1&t&&r._UZ(0,"th",15)}function mt(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function bt(t,e){1&t&&r._UZ(0,"tr",17)}function wt(t,e){1&t&&r._UZ(0,"tr",18)}function _t(t,e){if(1&t&&(r.TgZ(0,"div",7),r.TgZ(1,"p"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"div",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"table",9),r.ynx(8,10),r.YNc(9,ft,1,0,"th",11),r.YNc(10,mt,2,1,"td",12),r.BQk(),r.YNc(11,bt,1,0,"tr",13),r.YNc(12,wt,1,0,"tr",14),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,5,t.data.description)," "),r.xp6(3),r.hij(" ",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),r.xp6(2),r.Q6J("dataSource",t.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",t.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",t.displayedColumns)}}let yt=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,gt,1,0,"mat-spinner",1),r.YNc(5,_t,13,9,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.onCancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.onSubmit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,e.data.title)),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,G.BZ,G.w1,G.fO,G.Dz,G.as,G.nj,G.ge,G.ev,G.XQ,G.Gk],pipes:[a.X$],styles:[""]}),t})();var At=i(71709),vt=i(91010);let Tt=(()=>{class t{transform(t){const e=t.split(":");return e[e.length-1]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"parseGroupName",type:t,pure:!0}),t})();function Ct(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function St(t,e){1&t&&(r.TgZ(0,"app-alert"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function Et(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function kt(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const xt=function(t){return{"min-width":t}};function Rt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-tree-node",16),r.TgZ(1,"li",17),r.TgZ(2,"div",18),r.NdJ("click",function(){const e=r.CHM(t).$implicit;return r.oxw(3).navigate(e.id,e.include)}),r._UZ(3,"button",19),r.TgZ(4,"div",20),r.TgZ(5,"span"),r._uU(6),r.ALo(7,"parseGroupName"),r.qZA(),r.YNc(8,Et,3,3,"span",21),r.YNc(9,kt,3,3,"span",21),r.qZA(),r.TgZ(10,"span",22),r._uU(11),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,i=r.oxw(3);r.xp6(2),r.ekj("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),r.xp6(2),r.Q6J("ngStyle",r.VKq(11,xt,i.getMinWidth(t.level))),r.xp6(2),r.Oqu(r.lcZ(7,9,t.name)),r.xp6(2),r.Q6J("ngIf",t.direct),r.xp6(1),r.Q6J("ngIf",t.include),r.xp6(2),r.Oqu(t.description)}}function It(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Ot(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Pt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-nested-tree-node"),r.TgZ(1,"li"),r.TgZ(2,"div",17),r.TgZ(3,"button",24),r.TgZ(4,"mat-icon",25),r._uU(5),r.qZA(),r.qZA(),r.TgZ(6,"div",18),r.NdJ("click",function(){const e=r.CHM(t).$implicit;return r.oxw(3).navigate(e.id,e.include)}),r.TgZ(7,"div",20),r.TgZ(8,"span"),r._uU(9),r.ALo(10,"parseGroupName"),r.qZA(),r.YNc(11,It,3,3,"span",21),r.YNc(12,Ot,3,3,"span",21),r.qZA(),r.TgZ(13,"span",22),r._uU(14),r.qZA(),r.qZA(),r.qZA(),r.TgZ(15,"ul"),r.GkF(16,26),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,i=r.oxw(3);r.xp6(3),r.uIk("aria-label","Toggle "+t.name),r.xp6(2),r.hij(" ",i.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),r.xp6(1),r.ekj("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),r.xp6(1),r.Q6J("ngStyle",r.VKq(15,xt,i.getMinWidth(t.level))),r.xp6(2),r.Oqu(r.lcZ(10,13,t.name)),r.xp6(2),r.Q6J("ngIf",t.direct),r.xp6(1),r.Q6J("ngIf",t.include),r.xp6(2),r.Oqu(t.description),r.xp6(1),r.ekj("example-tree-invisible",!i.treeControl.isExpanded(t))}}function Dt(t,e){if(1&t&&(r.TgZ(0,"mat-tree",13),r.YNc(1,Rt,12,13,"mat-tree-node",14),r.YNc(2,Pt,17,17,"mat-nested-tree-node",15),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("dataSource",t.dataSource)("treeControl",t.treeControl),r.xp6(2),r.Q6J("matTreeNodeDefWhen",t.hasChild)}}function Mt(t,e){if(1&t&&(r.TgZ(0,"div",8),r.TgZ(1,"p"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-form-field",9),r._UZ(5,"input",10),r.ALo(6,"translate"),r.qZA(),r.YNc(7,St,3,3,"app-alert",11),r.YNc(8,Dt,3,3,"mat-tree",12),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Oqu(r.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),r.xp6(3),r.s9C("placeholder",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),r.Q6J("formControl",t.formControl),r.xp6(2),r.Q6J("ngIf",!t.dataSource.data.length),r.xp6(1),r.Q6J("ngIf",t.dataSource.data.length)}}const Lt=function(t){return{name:t}};let Nt=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.groupsManagerService=i,this.treeControl=new At.VY(t=>t.children),this.dataSource=new vt.WX,this.groupTree=[],this.paths=[],this.formControl=new _.NI(""),this.userName="",this.hasChild=(t,e)=>!!e.children&&e.children.length>0}recursiveSearch(t,e,i){for(let n=0;n{this.groupTree=this.recursiveSearch(this.groupTree,t,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(t=>{this.paths=t,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(t=>{const e=t.trim().toLowerCase(),i=this.paths.filter(t=>t.filter(t=>t.name.includes(e)).length);this.createGroupTree(i),this.dataSource.data=this.groupTree}),this.userName=(0,P.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(t,e=!1){window.open(`/organizations/${this.data.member.voId}/groups/${t}${e?"/settings/relations":""}`,"_blank")}getMinWidth(t){return 400-40*t+"px"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.ff))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Ct,1,0,"mat-spinner",2),r.YNc(5,Mt,9,9,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"div",5),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.onCancel()}),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",r.VKq(9,Lt,e.userName))),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(4),r.hij(" ",r.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,y.Nt,_.Fj,_.JJ,_.oH,lt.w,vt.gi,vt.fQ,vt.uo,vt.eu,c.PC,vt.GZ,D.Hw,vt.Ar],pipes:[a.X$,Tt],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] ul[_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:auto!important}"]}),t})();var zt=i(57629);let Ft=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(zt.F0))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"app-alert",2),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.TgZ(7,"div",3),r.TgZ(8,"button",4),r.NdJ("click",function(){return e.onClose()}),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),r.xp6(4),r.Oqu(r.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),r.xp6(4),r.hij(" ",r.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[n.uh,n.xY,lt.w,n.H8,u.lW],pipes:[a.X$],styles:[""]}),t})();var Zt=i(54810),Bt=i(15812),qt=i(58506);function Ut(t,e){1&t&&(r.TgZ(0,"mat-radio-button",15),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Ht(t,e){1&t&&(r.TgZ(0,"mat-radio-button",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}let jt=(()=>{class t{constructor(t){this.dialogRef=t,this.canExtendMembership=!1,this.expirationChanged=new r.vpe,this.expirationControl=new _.NI(null)}ngOnInit(){"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}onChange(){this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close(!1)}setExpiration(){this.newExpiration=(0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode"},outputs:{expirationChanged:"expirationChanged"},decls:36,vars:36,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"],["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"]],template:function(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"p"),r.TgZ(3,"strong"),r._uU(4),r.ALo(5,"translate"),r.qZA(),r._uU(6),r.ALo(7,"parseDate"),r.qZA(),r.TgZ(8,"p"),r.TgZ(9,"strong"),r._uU(10),r.ALo(11,"translate"),r.qZA(),r._uU(12),r.ALo(13,"parseDate"),r.qZA(),r.TgZ(14,"mat-radio-group",2),r.NdJ("ngModelChange",function(t){return e.newExpiration=t}),r.TgZ(15,"mat-radio-button",3),r.TgZ(16,"mat-form-field",4),r.NdJ("click",function(){return r.CHM(t),r.MAs(23).open()}),r.TgZ(17,"mat-label"),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.TgZ(20,"input",5),r.NdJ("dateChange",function(){return e.setExpiration()}),r.qZA(),r._UZ(21,"mat-datepicker-toggle",6),r._UZ(22,"mat-datepicker",7,8),r.qZA(),r.qZA(),r.YNc(24,Ut,3,3,"mat-radio-button",9),r.YNc(25,Ht,3,3,"mat-radio-button",10),r.TgZ(26,"mat-radio-button",11),r._uU(27),r.ALo(28,"translate"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(29,"div",12),r.TgZ(30,"button",13),r.NdJ("click",function(){return e.onCancel()}),r._uU(31),r.ALo(32,"translate"),r.qZA(),r.TgZ(33,"button",14),r.NdJ("click",function(){return e.onChange()}),r._uU(34),r.ALo(35,"translate"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.MAs(23);r.xp6(4),r.Oqu(r.lcZ(5,20,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),r.xp6(2),r.hij(" ",r.lcZ(7,22,e.currentExpiration),""),r.xp6(4),r.Oqu(r.lcZ(11,24,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),r.xp6(2),r.hij(" ",e.newExpiration?r.lcZ(13,26,e.newExpiration):"never",""),r.xp6(2),r.Q6J("ngModel",e.newExpiration),r.xp6(1),r.s9C("value",e.expirationControl.value),r.xp6(3),r.Oqu(r.lcZ(19,28,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),r.xp6(2),r.Q6J("min",e.minDate)("max",e.maxDate)("formControl",e.expirationControl)("matDatepicker",t),r.xp6(1),r.Q6J("for",t)("disabled",!1),r.xp6(1),r.Q6J("disabled",!1),r.xp6(2),r.Q6J("ngIf",e.canExtendMembership&&"vo"===e.mode),r.xp6(1),r.Q6J("ngIf",e.canExtendMembership&&"group"===e.mode),r.xp6(2),r.hij(" ",r.lcZ(28,30,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),r.xp6(4),r.hij(" ",r.lcZ(32,32,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.expirationControl.invalid),r.xp6(1),r.hij(" ",r.lcZ(35,34,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[n.xY,Zt.VQ,_.JJ,_.On,Zt.U0,h.KE,h.hX,y.Nt,_.Fj,Bt.hl,_.oH,Bt.nW,h.R9,Bt.Mq,c.O5,n.H8,u.lW],pipes:[a.X$,qt.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}"]}),t})();function Gt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function Yt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("maxDate",t.maxDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("canExtendMembership",t.canExtendMembership)("mode","group")}}let Vt=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.groupManager=s,this.translate=o,this.notificator=r,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0;const t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,O.r.GROUP_DEF_EXPIRATION_RULES).subscribe(t=>{null!==t.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(t=>{this.canExtendMembership=!!t,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(t){this.loading=!0,"groupRules"===t?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(s.ff),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Gt,1,0,"mat-spinner",2),r.YNc(5,Yt,1,6,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,l.$g,jt],pipes:[a.X$],styles:[""]}),t})();function Kt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function Jt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("maxDate",t.maxDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("canExtendMembership",t.canExtendMembership)("mode","vo")}}let $t=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.translate=s,this.notificator=o,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,s.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0;const t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,O.r.VO_DEF_EXPIRATION_RULES).subscribe(t=>{null!==t.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(t=>{this.canExtendMembership=!!t,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(t){this.loading=!0,"voRules"===t?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Kt,1,0,"mat-spinner",2),r.YNc(5,Jt,1,6,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,l.$g,jt],pipes:[a.X$],styles:[""]}),t})();function Qt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function Wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("mode","sponsor")}}let Xt=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.groupManager=s,this.translate=o,this.notificator=r,this.loading=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.loading=!1}onExpirationChanged(t){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===t?null:t).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(s.ff),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Qt,1,0,"mat-spinner",2),r.YNc(5,Wt,1,4,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,l.$g,jt],pipes:[a.X$],styles:[""]}),t})();function te(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function ee(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function ie(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function ne(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-radio-group",12),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(2).asyncValidation=e}),r.TgZ(1,"span",13),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-radio-button",14),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"mat-radio-button",14),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("ngModel",t.asyncValidation),r.xp6(2),r.hij(" ",r.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),r.xp6(2),r.Q6J("value",!1),r.xp6(1),r.hij(" ",r.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),r.xp6(2),r.Q6J("value",!0),r.xp6(1),r.hij(" ",r.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function se(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function oe(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function re(t,e){if(1&t&&(r.TgZ(0,"div",5),r.TgZ(1,"p",6),r._uU(2),r.TgZ(3,"span",7),r._uU(4),r.qZA(),r._uU(5),r.TgZ(6,"span",7),r._uU(7),r.qZA(),r.qZA(),r.TgZ(8,"p"),r.TgZ(9,"strong",8),r._uU(10),r.ALo(11,"translate"),r.qZA(),r._uU(12),r.qZA(),r.TgZ(13,"p"),r.TgZ(14,"strong",8),r._uU(15),r.ALo(16,"translate"),r.qZA(),r._uU(17),r.qZA(),r.YNc(18,ee,3,3,"span",9),r.YNc(19,ie,3,3,"span",9),r.YNc(20,ne,10,12,"mat-radio-group",10),r.YNc(21,se,3,3,"span",9),r.YNc(22,oe,3,3,"span",9),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",t.group.name," "),r.xp6(2),r.hij("#",t.group.id,""),r.xp6(1),r.hij(" - ",t.resource.name," "),r.xp6(2),r.hij("#",t.resource.id,""),r.xp6(3),r.hij("",r.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),r.xp6(2),r.hij(" ",t.status," "),r.xp6(3),r.hij("",r.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),r.xp6(2),r.hij(" ",t.getReversedStatus()," "),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","ACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status&&!1===t.asyncValidation),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status&&!0===t.asyncValidation)}}function ae(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",15),r.TgZ(1,"button",16),r.NdJ("click",function(){return r.CHM(t),r.oxw().onCancel()}),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"button",17),r.NdJ("click",function(){return r.CHM(t),r.oxw().onSubmit()}),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),r.xp6(2),r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}let ce=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.resourceService=i,this.groupService=n,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(t=>{this.resource=t,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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.xk),r.Y36(s.ff))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,te,1,0,"mat-spinner",1),r.YNc(5,re,23,17,"div",2),r.YNc(6,ae,7,7,"div",3),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,l.$g,n.xY,Zt.VQ,_.JJ,_.On,Zt.U0,n.H8,u.lW],pipes:[a.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),t})()},84534:function(t,e,i){"use strict";i.d(e,{hT:function(){return s},Kd:function(){return r},YH:function(){return a}});var n=i(31572);let s=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})();var o=i(88426);let r=(()=>{class t{constructor(t,e){this.el=t,this.router=e}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(o.xw))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),t})(),a=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})()},14732:function(t,e,i){"use strict";i.d(e,{u:function(){return n},m:function(){return s}});var n=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});class s{constructor(t){this.id=t.id,this.name=t.name,this.parentGroupId=t.parentGroupId,this.voId=t.voId,this.shortName=t.shortName,this.description=t.description,this.attributes=t.attributes,this.beanName=t.beanName}addChild(t){null==this.children?this.children=[t]:this.children.push(t)}}},33642:function(t,e,i){"use strict";i.d(e,{Us:function(){return k},au:function(){return D},H8:function(){return c},Ct:function(){return l},VK:function(){return a},KG:function(){return p},IQ:function(){return g},ff:function(){return m},uq:function(){return b},aC:function(){return w},Hr:function(){return _},tk:function(){return y},xk:function(){return A},KK:function(){return v},Ob:function(){return T},Dy:function(){return P},Fv:function(){return C},FW:function(){return S},YF:function(){return E}});var n=i(29063);class s{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}var o=i(31572);const r=new o.OlP("basePath");class a{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let c=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attribute",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,s,o,r,a,c,u,l,h,d="body",p=!1){let g=new n.LE({encoder:this.encoder});null!=t&&(g=g.set("attributeName",t)),null!=e&&(g=g.set("attributeId",e)),null!=i&&(g=g.set("facility",i)),null!=s&&(g=g.set("user",s)),null!=o&&(g=g.set("vo",o)),null!=r&&(g=g.set("resource",r)),null!=a&&(g=g.set("member",a)),null!=c&&(g=g.set("group",c)),null!=u&&(g=g.set("host",u)),null!=l&&(g=g.set("userExtSource",l)),null!=h&&(g=g.set("key",h));let f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+t)}const m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(f=f.set("Accept",m)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:g,withCredentials:this.configuration.withCredentials,headers:f,observe:d,reportProgress:p})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("format",t)),null!=e&&(o=o.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("format",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,s,o,r,a,c,u="body",l=!1){let h=new n.LE({encoder:this.encoder});null!=t&&(h=h.set("member",t)),null!=e&&(h=h.set("user",e)),null!=i&&(h=h.set("vo",i)),null!=s&&(h=h.set("group",s)),null!=o&&(h=h.set("resource",o)),null!=r&&(h=h.set("facility",r)),null!=a&&(h=h.set("host",a)),null!=c&&(h=h.set("userExtSource",c));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+t)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:u,reportProgress:l})}getEntitylessAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("key",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attrName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("attrName",t)),e&&e.forEach(t=>{o=o.append("keys[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityResourceUserMemberAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=s&&(a=a.set("member",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getFacilityUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupResourceAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupResourceAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAndUserAttributesByNames(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroupAndUserAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getMemberGroupAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroupAttributesByNames(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAndUserFacilityAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getMemberResourceAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesFacilityServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("services[]",t)}),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesGroupResourceService(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesHostService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesMemberGroup(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberGroupResourceService(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("service",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("member",s)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}getRequiredAttributesMemberGroupService(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesMemberResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberResourceService(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("member",i)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesResourceServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("services[]",t)}),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesVoService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceGroupAndGroupAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithGroupAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourceGroupAndGroupAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithGroupAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getResourceGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceGroupMemberAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getUserAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserFacilityAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserFacilityAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserFacilityAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let u=new n.LE({encoder:this.encoder});null!=t&&(u=u.set("facility",t)),null!=e&&(u=u.set("resource",e)),null!=i&&(u=u.set("group",i)),null!=s&&(u=u.set("user",s)),null!=o&&(u=u.set("member",o)),r&&r.forEach(t=>{u=u.append("attributes[]",t)});let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(l=l.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}removeAttributesForFacilityResourceUserMember(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("user",i)),null!=s&&(c=c.set("member",s)),o&&o.forEach(t=>{c=c.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}removeEntitylessAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("key",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupResourceAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeGroupResourceAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attributes[]",t)}),null!=s&&(a=a.set("workWithGroupAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeHostAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHostAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttributesWorkWithUserAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attributes[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attributes[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeMemberResourceAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberResourceAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeResourceAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUesAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserExtSourceAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserFacilityAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeUserFacilityAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeVoAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}auditMessagesManagerLog(t,e="body",i=!1){if(null==t)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("msg",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/log`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createAuditerConsumer(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/createAuditerConsumer`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllAuditerConsumers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuditerMessagesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getLastMessageId(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMessages(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("count",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMessagesByCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("count",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessagesByCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}pollConsumerMessages(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/pollConsumerMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}setLastProcessedId(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==e)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("consumerName",t)),null!=e&&(o=o.set("lastProcessedId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/setLastProcessedId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("role",t)),null!=e&&(r=r.set("complementaryObjectId",e)),null!=i&&(r=r.set("complementaryObjectName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAuthzRichAdmins(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new n.LE({encoder:this.encoder});null!=t&&(u=u.set("role",t)),null!=e&&(u=u.set("complementaryObjectId",e)),null!=i&&(u=u.set("complementaryObjectName",i)),s&&s.forEach(t=>{u=u.append("specificAttributes",t)}),null!=o&&(u=u.set("allUserAttributes",o)),null!=r&&(u=u.set("onlyDirectAdmins",r));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(l=l.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}getFacilitiesWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("groupId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isFacilityAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),h=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}createAutorship(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryCat(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryNR(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAuthorship(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==e)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("publicationId",t)),null!=e&&(o=o.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deletePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deletePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findAllAuthors(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}findAuthorsByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findExternalPublications(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==e)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("yearSince",e)),null!=i&&(a=a.set("yearTill",i)),null!=s&&(a=a.set("pubSysNamespace",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}findNewAuthors(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findPublicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findPublicationsByFilter(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let r=new n.LE({encoder:this.encoder});null!=e&&(r=r.set("yearSince",e)),null!=i&&(r=r.set("yearTill",i)),null!=t&&(r=r.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findPublicationsByGUIFilter(t,e,i,s,o,r,a,c,u,l="body",h=!1){let d=new n.LE({encoder:this.encoder});null!=t&&(d=d.set("title",t)),null!=e&&(d=d.set("isbn",e)),null!=i&&(d=d.set("doi",i)),null!=s&&(d=d.set("id",s)),null!=o&&(d=d.set("year",o)),null!=r&&(d=d.set("category",r)),null!=a&&(d=d.set("yearSince",a)),null!=c&&(d=d.set("yearTill",c)),null!=u&&(d=d.set("userId",u));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(p=p.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:l,reportProgress:h})}findSimilarPublications(t,e,i,s="body",o=!1){let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("title",t)),null!=e&&(r=r.set("doi",e)),null!=i&&(r=r.set("isbn",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCategories(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPublicationSystems(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRank(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRank.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichThanksByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}lockPublications(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getCurrentDatabaseVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseDriverInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTimeOfQueryPerformance(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),p=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addExtSourceWithGroupSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addExtSourceWithVoSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createExtSourceFromExtSourceObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createExtSourceWithNameType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==e)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSourceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSources(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGroupExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}loadExtSourcesDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeExtSourceWithGroupSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeExtSourceWithVoSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addFacilityAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminGroupByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminUserByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByFacilityNameOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHost(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHostByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHostsByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignSecurityTeam(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignSecurityTeamByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwners(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllowedGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedGroupsByFacilityName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedRichGroupsWithAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(t=>{a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=s&&(a=a.set("service",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllowedRichGroupsWithAttributesByFacilityName(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(t=>{a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=s&&(a=a.set("service",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllowedUsersOfFacility(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedUsersOfFacilityByFacilityName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedVos(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedVosByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesByAssignedServiceForFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedSecurityTeams(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedSecurityTeamsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedUsers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedUsersByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getBansForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facilityId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEnrichedFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getEnrichedHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilitiesByAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==e)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("attributeName",t)),null!=e&&(o=o.set("attributeValue",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilitiesByDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesByHostName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAdminUsers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAdminUsersByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityBan(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityForHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityOwners(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityOwnersByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHosts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsCountByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getOwnerFacilities(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("owner",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeBanByUserIdFacilityId(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminGroupByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminUserByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeFacilityOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByFacilityNameOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeHostByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHostsByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSecurityTeam(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSecurityTeamByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),f=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getFacilityAdminGroupsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}canExtendMembershipInGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createGroupUnion(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resultGroup",t)),null!=e&&(o=o.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createGroupWithParentGroupNameDescription(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("parentGroup",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createGroupWithVoNameDescription(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}deleteGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("forceDelete",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}extendMembershipInGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMemberById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("members[]",t)}),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupUnions(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("reverseDirection",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichGroupByIdWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("groupId",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isGroupMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("destinationGroup",e)),null!=t&&(o=o.set("movingGroup",t));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupUnion(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resultGroup",t)),null!=e&&(o=o.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setGroupsMemberStatus(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("status",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=e&&(r=r.set("searchString",e)),i&&i.forEach(t=>{r=r.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findCompleteRichMembersForGroup(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let u=new n.LE({encoder:this.encoder});null!=t&&(u=u.set("group",t)),e&&e.forEach(t=>{u=u.append("attrsNames[]",t)}),o&&o.forEach(t=>{u=u.append("allowedStatuses[]",t)}),r&&r.forEach(t=>{u=u.append("allowedGroupStatuses[]",t)}),null!=i&&(u=u.set("searchString",i)),null!=s&&(u=u.set("lookingInParentGroup",s));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(l=l.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}findCompleteRichMembersForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("attrsNames[]",t)}),s&&s.forEach(t=>{a=a.append("allowedStatuses[]",t)}),null!=i&&(a=a.set("searchString",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}findMembersInVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findSponsoredCompleteRichMembersForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("attrsNames[]",t)}),null!=i&&(a=a.set("searchString",i)),null!=s&&(a=a.set("onlySponsored",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getCompleteRichMembersForGroup(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("group",t)),i&&i.forEach(t=>{c=c.append("allowedStatuses[]",t)}),s&&s.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=e&&(c=c.set("lookingInParentGroup",e)),o&&o.forEach(t=>{c=c.append("attrsNames[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}getCompleteRichMembersForGroupResource(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attrsNames[]",t)}),s&&s.forEach(t=>{a=a.append("allowedStatuses[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getCompleteRichMembersForVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberByExtSourceNameAndExtLogin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extLogin",e)),null!=i&&(r=r.set("extSourceName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("ids[]",t)}),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsByMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsByVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}moveMembership(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("sourceUser",e)),null!=i&&(r=r.set("targetUser",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeSponsor(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendAccountActivationLinkEmail(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=s&&(a=a.set("language",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendPasswordResetLinkEmail(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=s&&(a=a.set("language",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("sponsoredMember",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}setStatus(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sponsorMember(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}updateSponsorshipValidity(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),w=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}createOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("owner",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllOwners(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getOwnerById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getOwnerByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("owner",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}sentMessageToRTWithMemberQueue(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("memberId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=s&&(a=a.set("text",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sentMessageToRTWithQueue(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("queue",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithVoQueue(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("voId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=s&&(a=a.set("text",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),y=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromGroupToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromVoToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromVoToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromGroupToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromGroupToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromVoToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromVoToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteApplicationMailForVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),e&&e.forEach(t=>{a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=s&&(a=a.set("dateTo",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getApplicationsForMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationsForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=s&&(a=a.set("dateTo",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),null!=e&&(o=o.set("reason",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendInvitation(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let a=new n.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendInvitationForGroup(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let c=new n.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=s&&(c=c.set("groupId",s)),null!=o&&(c=c.set("name",o)),null!=t&&(c=c.set("email",t)),null!=e&&(c=c.set("language",e));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}sendInvitationGroupToExistingUser(t,e,i,s="body",o=!1){let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e)),null!=i&&(r=r.set("groupId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendInvitationToExistingUser(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userId",t)),null!=e&&(o=o.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),A=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}activateGroupResourceAssignment(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}addAdminToGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addAdminToUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addResourceSelfServiceGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addResourceSelfServiceUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}allowGroupsToResources(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupToResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupToResources(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupsToResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("name",i)),null!=s&&(a=a.set("description",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("tagName",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deactivateGroupResourceAssignment(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAdmins(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEnrichedResourcesForFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEnrichedResourcesForVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAssignments(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceBan(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourcesWhereGroupIsAdmin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("group",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourcesWhereUserIsAdmin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichAdmins(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),e&&e.forEach(t=>{a=a.append("specificAttributes",t)}),null!=i&&(a=a.set("allUserAttributes",i)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAdminResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupFromResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupFromResources(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupsFromResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceSelfServiceUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAdminResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),e&&e.forEach(t=>{o=o.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),v=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addDestination(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestination.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("service",t)),null!=e&&(c=c.set("facility",e)),null!=i&&(c=c.set("destination",i)),null!=s&&(c=c.set("type",s)),null!=o&&(c=c.set("propagationType",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}addDestinationToMultipleServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addDestinationsForAllServicesOnFacility(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("destination",e)),null!=i&&(a=a.set("type",i)),null!=s&&(a=a.set("propagationType",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}addRequiredAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addRequiredAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addServiceToServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("servicesPackage",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}blockAllServicesOnDestinationByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("destination",t)),null!=e&&(o=o.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}blockServiceOnDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockServiceOnDestinationWithNameAndType(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}blockServiceOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createService(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",e)),null!=i&&(r=r.set("script",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createServiceWithService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackageByNameAndDescription(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling deleteService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceServicePropagation(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllDestinations(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRichDestinationsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllRichDestinationsForService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getDataWithGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getDataWithVos(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getDestinationsCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAssignedServicesForGUI(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFlatData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHashedDataWithGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHashedHierarchicalData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHierarchicalData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getServiceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServiceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServices(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getServicesBlockedOnDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesBlockedOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesByAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesFromServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackageById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackageByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackages(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isServiceBlockedOnDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isServiceBlockedOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}planServicePropagation(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAllDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAllRequiredAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeDestination(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("destination",i)),null!=s&&(a=a.set("type",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeRequiredAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeRequiredAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServiceFromServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("servicesPackage",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}unblockAllServicesOnDestinationByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("destination",t)),null!=e&&(o=o.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}unblockServiceOnDestinationById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockServiceOnDestinationByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}unblockServiceOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),T=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}countTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}deleteTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllFacilitiesStates(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("voId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityServicesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTask(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getTask.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getTaskById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("taskResult",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResults(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTaskResultsByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("destinations[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForGUIByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForGUIByTaskAndDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("task",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getTaskResultsForGUIByTaskOnlyNewest(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isThereSuchTask(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}listAllTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}listAllTasksForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}suspendTasksPropagation(t,e="body",i=!1){if(null==t)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("suspend",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),C=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addSpecificUserOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("password",e)),null!=i&&(r=r.set("lang",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}changePasswordForLogin(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("login",t)),null!=e&&(c=c.set("namespace",e)),null!=i&&(c=c.set("newPassword",i)),null!=s&&(c=c.set("oldPassword",s)),null!=o&&(c=c.set("checkOldPassword",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}changePasswordForUser(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("namespace",e)),null!=i&&(c=c.set("newPassword",i)),null!=s&&(c=c.set("oldPassword",s)),null!=o&&(c=c.set("checkOldPassword",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("password",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createAlternativePassword(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("description",e)),null!=i&&(a=a.set("loginNamespace",i)),null!=s&&(a=a.set("password",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("loginNamespace",e)),null!=i&&(r=r.set("passwordId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}deletePasswordForLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deletePasswordForUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("searchString",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsForResourceWhereUserIsActive(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsForMemberByVoAndLogin(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getUserByExtSourceNameAndExtLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("extLogin",t)),null!=e&&(o=o.set("extSourceName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("specificUser",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("loginNamespace",t)),null!=e&&(o=o.set("login",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}loginExist(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSpecificUserOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserExtSource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("force",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}requestPreferredEmailChange(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let u=new n.LE({encoder:this.encoder});null!=t&&(u=u.set("user",t)),null!=e&&(u=u.set("email",e)),null!=i&&(u=u.set("lang",i)),null!=s&&(u=u.set("linkPath",s)),null!=o&&(u=u.set("customUrl",o)),null!=r&&(u=u.set("idpFilter",r));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(l=l.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}reservePasswordForLogin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}reservePasswordForUser(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}reserveRandomPassword(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}validatePasswordForUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}validatePreferredEmailChangeWithToken(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("token",t)),null!=e&&(o=o.set("u",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),S=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addSponsorRoleToGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addSponsorRoleToUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addVoAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addVoAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createVoWithName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findCandidates(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("searchString",e)),null!=i&&(r=r.set("maxNumOfResults",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findCandidatesForGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCompleteCandidatesForVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("vo",t)),null!=e&&(c=c.set("role",e)),i&&i.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}getVoAdminGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("role",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAdminUsers(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e)),null!=i&&(r=r.set("onlyDirectAdmins",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("shortName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSponsorRoleFromUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const k={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"};var x,R,I,O;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(x||(x={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(R||(R={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(I||(I={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(O||(O={}));const P={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",FROMFEDERATIONSHOW:"FROM_FEDERATION_SHOW",FROMFEDERATIONHIDDEN:"FROM_FEDERATION_HIDDEN",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let D=(()=>{class t{constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)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:t,providers:[{provide:a,useFactory:e}]}}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(t,12),o.LFG(n.eN,8))},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[c,u,l,h,d,p,g,f,m,b,w,_,y,A,v,T,C,S,E],imports:[[]]}),t})()},22280:function(t,e,i){"use strict";i.d(e,{r5:function(){return a.r},d4:function(){return o},dp:function(){return r.d}});var n=i(61511),s=i(31572);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})();var r=i(22196),a=(i(83787),i(95603));i(91322),i(63720),i(1157),i(48853)},83787:function(t,e,i){"use strict";i.d(e,{a:function(){return r}});var n=i(88426),s=i(31572),o=i(48160);let r=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e="en"){const i=this.storage.get("custom_labels");if(i){const n=Object.keys(i);for(const i of n){const n=this.storage.get("custom_labels",i);if(n.label===t)return n[e]}}return t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.sK,16),s.Y36(n.d6,16))},t.\u0275pipe=s.Yjl({name:"customTranslate",type:t,pure:!0}),t})()},95603:function(t,e,i){"use strict";i.d(e,{r:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t,e){return e?`/organizations/${t.voId}/resources/${t.id}`:`/facilities/${t.facilityId}/resources/${t.id}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"getResourceRoute",type:t,pure:!0}),t})()},51392:function(t,e,i){"use strict";i.d(e,{F:function(){return r}});var n=i(84140),s=i(67004),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=(0,n.IL)(t.attributes,s.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(t.attributes,s.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const o=i.value;if("true"===e.value){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"red":null!==r&&r.trim().length>0?"green":""}if(o){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"red":null!==r&&r.trim().length>0?"green":""}return""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIconColor",type:t,pure:!0}),t})()},52984:function(t,e,i){"use strict";i.d(e,{J:function(){return r}});var n=i(67004),s=i(84140),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"";const e=(0,s.IL)(t.attributes,n.r.GROUP_SYNC_ENABLED),i=(0,s.IL)(t.attributes,n.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"";const o=i.value;if("true"===e.value){const e=(0,s.IL)(t.attributes,n.r.GROUP_LAST_SYNC_STATE),i=(0,s.IL)(t.attributes,n.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"sync_problem":(null!==r&&r.trim(),"sync")}if(o){const e=(0,s.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,s.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"sync_problem":(null!==r&&r.trim(),"sync")}return"sync_disabled"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIcon",type:t,pure:!0}),t})()},44385:function(t,e,i){"use strict";i.d(e,{r:function(){return r}});var n=i(84140),s=i(67004),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=(0,n.IL)(t.attributes,s.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(t.attributes,s.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const o=i.value;if("true"===e.value){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==r&&r.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(o){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==r&&r.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncToolTip",type:t,pure:!0}),t})()},63720:function(t,e,i){"use strict";i.d(e,{D:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.g$)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberEmail",type:t,pure:!0}),t})()},1157:function(t,e,i){"use strict";i.d(e,{p:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.lt)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberLogins",type:t,pure:!0}),t})()},99197:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.Gw)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberOrganization",type:t,pure:!0}),t})()},74842:function(t,e,i){"use strict";i.d(e,{u:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){switch(t){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIconColor",type:t,pure:!0}),t})()},37043:function(t,e,i){"use strict";i.d(e,{f:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){switch(t){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return t}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIcon",type:t,pure:!0}),t})()},91322:function(t,e,i){"use strict";i.d(e,{i:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t,e){let i=null,s=null;null!==t.memberAttributes&&(i=t.memberAttributes.find(t=>"membershipExpiration"===t.friendlyName),s=t.memberAttributes.find(t=>"groupMembershipExpiration"===t.friendlyName));let o="";return o=e?`\n Group status: ${(0,n.Oe)(t.groupStatus)}, Expiration: ${s&&s.value?s.value:"never"}`:`Status: ${(0,n.Oe)(t.status,t.groupStatus)}\n Vo status: ${(0,n.Oe)(t.status)}, Expiration: ${i&&i.value?i.value:"never"}`,o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberStatusTooltip",type:t,pure:!0}),t})()},58506:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(61511),s=i(31572);let o=(()=>{class t{transform(t,e){return"voRules"===t?"Vo rules":"groupRules"===t?"Group rules":t&&"never"!==t.toLowerCase()?(0,n.p6)(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"parseDate",type:t,pure:!0}),t})()},48853:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.te)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"technicalOwners",type:t,pure:!0}),t})()},22196:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userFullName",type:t,pure:!0}),t})()},88426:function(t,e,i){"use strict";i.d(e,{yC:function(){return R},F5:function(){return k},sM:function(){return P},e8:function(){return w},EB:function(){return T},ly:function(){return L},xw:function(){return D},x4:function(){return r},v0:function(){return y},Ct:function(){return Z},SZ:function(){return I},V6:function(){return x},d6:function(){return b},UA:function(){return M}});var n=i(33642),s=i(14732),o=i(31572);let r=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const o of i)n=n.concat(o.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER,s.u.FACILITYADMIN,s.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(s.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(s.u.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(s.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.VOOBSERVER,s.u.PERUNOBSERVER)}isThisVoObserver(t){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],o=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))o="User"===t?[t].concat(o):o.concat(t);break}const r=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,r),c=this.resolveAuthorization(s,r);i.set(n,{readAuth:a,manageAuth:c,modes:o})}}voCustomSort(t){for(let e=0;e{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(p.so))},t.\u0275cmp=o.Xpm({type:t,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(t,e){1&t&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.TgZ(3,"div",1),o._uU(4),o.ALo(5,"translate"),o.qZA(),o.TgZ(6,"div",2),o.TgZ(7,"div",3),o.TgZ(8,"button",4),o.NdJ("click",function(){return e.close()}),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),o.xp6(3),o.hij(" ",o.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),o.xp6(5),o.hij(" ",o.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[p.uh,p.xY,p.H8,g.lW],pipes:[f.X$],styles:[""]}),t})(),b=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new o.vpe,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(h.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientSettings(){const t=this.setIdpFilter(),e={authority:this.store.get("oidc_client","oauth_authority"),client_id:this.store.get("oidc_client","oauth_client_id"),redirect_uri:this.store.get("oidc_client","oauth_redirect_uri"),post_logout_redirect_uri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),response_type:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),filterProtocolClaims:!0,loadUserInfo:this.store.get("oidc_client","oauth_load_user_info"),automaticSilentRenew:!0,silent_redirect_uri:this.store.get("oidc_client","oauth_silent_redirect_uri")};return t&&(e.extraQueryParams={acr_values:t}),e}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}getUserManager(){return this.manager}startIdpFilterKeeper(){this.router.events.pipe((0,u.h)(t=>t instanceof h.m2)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.manager=new a.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=(0,d.kZ)();t.width="450px",this.dialog.open(m,t).afterClosed().subscribe(()=>{this.startAuthentication().then(()=>{})})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){this.manager.signoutRedirect().catch(function(t){console.log(t)})}isLoggedInPromise(){return(0,c.D)(this.manager.getUser()).pipe((0,l.U)(t=>!!t&&!t.expired))}isLoggedIn(){return null!=this.user&&!this.user.expired}getClaims(){return this.user.profile}getAuthorizationHeaderValue(){return this.user?"Bearer "+this.user.access_token:""}startAuthentication(){return this.manager.signinRedirect()}completeAuthentication(){return this.manager.signinRedirectCallback().then(t=>{this.user=t,this.userSet.emit(this.user)})}startSigninMainWindow(){this.manager.signinRedirect({data:this.redirectUrl}).then(function(){console.log("signinRedirect done")}).catch(function(t){console.log(t)})}setUser(){this.manager.getUser().then(t=>{this.user=t})}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}verifyAuthentication(t,e){return this.isLoggedInPromise().toPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}handleAuthCallback(){return this.completeAuthentication().then(()=>!0)}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.zs3),o.LFG(b),o.LFG(p.uw),o.LFG(h.gz))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(p.so))},t.\u0275cmp=o.Xpm({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(o.TgZ(0,"h2",0),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[p.xY],pipes:[f.X$],styles:[""]}),t})(),y=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=o,this.loginScreenShown=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}verifyAuth(){return this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth()}startAuth(){return this.authService.startAuthentication()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=(0,d.kZ)();this.dialog.open(_,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}redirectToOriginDestination(){return this.authService.redirectToOriginDestination()}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(w),o.LFG(b),o.LFG(r),o.LFG(n.Ct),o.LFG(p.uw),o.LFG(h.F0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var A=i(43691),v=i(30269);let T=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(A.jv),o.LFG(v.H7))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();var C=i(29063),S=i(31225),E=i(66599);let k=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),x=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new o.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(f.sK))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),R=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=o}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()){const t=(0,d.kZ)();t.width="450px",this.dialog.open(m,t).afterClosed().subscribe(()=>{this.authService.startAuthentication().then(()=>{})})}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe((0,E.b)(t=>{t instanceof C.Zn&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?(0,S._)(e):n?void this.notificator.showRPCError(i):(0,S._)(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(w),o.LFG(k),o.LFG(x),o.LFG(b),o.LFG(p.uw),o.LFG(y))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var O=i(47727);let P=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),(0,S._)(s)}getHeaders(){let t=new C.WM;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new C.LE,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe((0,O.K)(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe((0,O.K)(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:o}).pipe((0,O.K)(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe((0,O.K)(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(C.eN),o.LFG(x),o.LFG(w),o.LFG(b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),D=(()=>{class t{constructor(t){this.router=t,this.lastState="forward",this.history=new Set,t.events.subscribe(t=>{t instanceof h.OD&&("popstate"===t.navigationTrigger?this.history.has(t.restoredState.navigationId)?(this.lastState="back",this.history.delete(t.restoredState.navigationId)):(this.lastState="forward",this.history.add(t.id)):(this.history.add(t.id),this.lastState="forward"))})}forceNavigate(t,e){if(null===t)return;let i="";t.forEach(t=>i+="/"+t),i.length>0&&(i=i.substring(1)),void 0===e&&(e={}),e.queryParams={redirectTo:i},this.router.navigate(["redirect"],e)}getLastState(){return this.lastState}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(h.F0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),M=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,o,r,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,r).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator{class t{constructor(t){this.membersService=t}getMembers(t,e,i,n,s,o,r,a,c,u){return this.membersService.getMembersPage({vo:t,attrNames:e,query:{pageSize:s,offset:n*s,order:i,sortColumn:o,statuses:r,searchString:a,groupId:c,groupStatuses:u}})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.uq))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var N=i(78512),z=i(40878),F=i(11520);class Z{constructor(t,e){this.dynamicPaginatingService=t,this.authzService=e,this.membersSubject=new N.X([]),this.loadingSubject=new N.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allMemberCount=0,this.routeAuth=!0}loadMembers(t,e,i,n,s,o,r,a,c,u){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const l=this.latestQueryTime;this.dynamicPaginatingService.getMembers(t,e,i,n,s,o,r,a,c,u).pipe((0,O.K)(()=>(0,z.of)([])),(0,F.x)(()=>this.loadingSubject.next(!1))).subscribe(e=>{if(this.latestQueryTime<=l){const i=e.data;null!==i&&0!==i.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:t},i[0]])),this.allMemberCount=e.totalCount,this.membersSubject.next(e.data)}})}connect(){return this.membersSubject.asObservable()}disconnect(){this.membersSubject.complete(),this.loadingSubject.complete()}getData(){return this.membersSubject.value}}},67004:function(t,e,i){"use strict";i.d(e,{r:function(){return n}});let n=(()=>{class t{}return t.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",t.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",t.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",t.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",t.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",t.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",t.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",t.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",t.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",t.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",t.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",t.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",t.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",t.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",t.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",t.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",t.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",t.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",t.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",t.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",t.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",t})()},84140:function(t,e,i){"use strict";i.d(e,{dN:function(){return p},Je:function(){return l},f7:function(){return h.f7},l9:function(){return d.l},sF:function(){return h.sF},XI:function(){return h.XI},aC:function(){return h.aC},fx:function(){return h.fx},dv:function(){return h.dv},i5:function(){return h.i5},Sd:function(){return h.Sd},pR:function(){return h.pR},ys:function(){return h.ys},O6:function(){return h.O6},mH:function(){return h.mH},MX:function(){return h.MX},oU:function(){return h.oU},IL:function(){return h.IL},Jc:function(){return h.Jc},Xn:function(){return h.Xn},kZ:function(){return h.kZ},v$:function(){return h.v$},x2:function(){return h.x2},vL:function(){return h.vL},Hm:function(){return h.Hm},Cz:function(){return h.Cz},sG:function(){return h.sG},g$:function(){return h.g$},bD:function(){return h.bD},lt:function(){return h.lt},Oe:function(){return h.Oe},hu:function(){return h.hu},Gw:function(){return h.Gw},te:function(){return h.te},kN:function(){return h.kN},$0:function(){return h.$0},OV:function(){return h.OV}});var n=i(73005),s=i(8055),o=i(43691),r=i(15980),a=i(48160),c=i(61511),u=i(31572);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[],imports:[[n.TU,s.Tx,o.Ps,r.ot,a.aw,c.ez]]}),t})();var h=i(38457),d=i(82819);class p{static passwordMatchValidator(t){t.get("passwordCtrl").value!==t.get("passwordAgainCtrl").value&&t.get("passwordAgainCtrl").setErrors({noPasswordMatch:!0})}static patternValidator(t){return e=>{if(!e.value)return null;let i=0;for(const n of t)i+=n.test(e.value)?1:0;return i>=3?null:{isWeak:!0}}}}},38457:function(t,e,i){"use strict";i.d(e,{f7:function(){return a},g$:function(){return c},kN:function(){return u},$0:function(){return l},lt:function(){return h},bD:function(){return d},hu:function(){return p},Cz:function(){return g},te:function(){return f},ys:function(){return m},vL:function(){return b},sF:function(){return w},XI:function(){return _},OV:function(){return y},MX:function(){return A},oU:function(){return v},IL:function(){return T},Jc:function(){return C},v$:function(){return S},i5:function(){return E},kZ:function(){return k},dv:function(){return x},Hm:function(){return R},Oe:function(){return I},Gw:function(){return O},x2:function(){return P},sG:function(){return D},pR:function(){return L},Sd:function(){return N},Xn:function(){return z},O6:function(){return F},aC:function(){return Z},fx:function(){return B},mH:function(){return q}});var n=i(64762),s=i(84608),o=i(61511),r=i(82051);const a=[5,10,25,100];function c(t){let e="";return t&&null!==t.userAttributes&&(t.userAttributes.forEach(t=>{"preferredMail"===t.friendlyName&&(e=t.value)}),e&&0===e.length&&null!==t.memberAttributes&&t.memberAttributes.forEach(t=>{"mail"===t.friendlyName&&null!==t.value&&(e=t.value)})),e}function u(t){let e="";return t&&t.userAttributes.forEach(t=>{"preferredMail"===t.friendlyName&&(e=t.value)}),e}function l(t){let e="";return t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>null!==t.value).forEach(t=>{e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function h(t){let e="";return t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>null!==t.value).forEach(t=>{e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function d(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function p(t){let e="";return null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function g(t){let e="";return t.split(/(?=[A-Z])/g).forEach(t=>{e=e.concat(t.toLowerCase()),e=e.concat(" ")}),e=e.charAt(0).toUpperCase()+e.slice(1,e.length-1),e}function f(t){let e="";for(const i of t)"technical"===i.type&&(e+=i.name+", ");return e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function m(t,e){return(0,n.mG)(this,void 0,void 0,function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()})}function b(t){return JSON.parse(localStorage.getItem(t))||[]}function w(t,e){if(null===localStorage.getItem(t)){const i=[];i.unshift(e.id),localStorage.setItem(t,JSON.stringify(i))}else{const i=JSON.parse(localStorage.getItem(t)),n=function(t,e){for(let i=0;i0&&i.splice(n,1),0!==n&&i.unshift(e.id),i.length>5&&i.pop(),localStorage.setItem(t,JSON.stringify(i))}}function _(t){if(null===localStorage.getItem("recent")){let e;e="Group"===t.beanName?[{id:t.id,name:t.shortName,type:t.beanName,voId:t.voId}]:[{id:t.id,name:t.name,type:t.beanName,voId:t.voId}],localStorage.setItem("recent",JSON.stringify(e))}else{const e=JSON.parse(localStorage.getItem("recent"));let i;i="Group"===t.beanName?{id:t.id,name:t.shortName,fullName:t.name,type:t.beanName,voId:t.voId}:{id:t.id,name:t.name,type:t.beanName,voId:t.voId};const n=function(t,e){for(let i=0;i0&&e.splice(n,1),0!==n&&e.unshift(i),e.length>5&&e.pop(),localStorage.setItem("recent",JSON.stringify(e))}}function y(t){let e="";return t&&t.userAttributes.forEach(t=>{"organization"===t.friendlyName&&(e=t.value)}),e}function A(t){return t.filter(t=>!t.namespace.includes("def:core"))}function v(t,e){const i=e.find(e=>e.id===t);return i?i.parentGroupId?v(i.parentGroupId,e).concat(i):[i]:[]}function T(t,e){for(const i of t)if(i.namespace+":"+i.friendlyName===e)return i;return null}function C(t){return null!=t.attributes["urn:perun:member:attribute-def:def:mail"]?t.attributes["urn:perun:member:attribute-def:def:mail"]:null!=t.attributes["urn:perun:user:attribute-def:def:preferredMail"]?t.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function S(t){return t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function(t){if(t.includes("/CN=")){const i=t.split("/");for(const t in i)if(t.startsWith("CN="))return e=t.substring(3),decodeURIComponent(e.replace(/\\x/g,"%"))}var e;return t}(t.userExtSource.extSource.name):t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function(t){switch(t){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":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":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"@mojeid.extidp.cesnet.cz":return"MojeID";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@elixir-europe.org":return"Elixir Europe";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return t}}(t.userExtSource.extSource.name):t.userExtSource.extSource.name}function E(t=["en","cs"]){const e={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return t.forEach(t=>{e.message[t]={locale:t,subject:"",text:""}}),e}function k(){const t=new s.vA;return t.disableClose=!0,t.autoFocus=!1,t}function x(t){const e={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 i of t)e.i18n[i]={locale:i,errorMessage:"",help:"",label:"",options:""};return e}function R(t){return"virt"===t.namespace.split(":")[4]}function I(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?t:"ACTIVE"}function O(t){let e="";return t&&null!==t.memberAttributes&&(t.memberAttributes.forEach(t=>{"organization"===t.friendlyName&&null!==t.value&&(e=t.value)}),0===e.length&&null!==t.userAttributes&&t.userAttributes.forEach(t=>{"organization"===t.friendlyName&&(e=t.value)})),e}function P(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return e&&e.value?e.value:"Never"}function D(t){return t&&"never"!==t.toLowerCase()?(0,o.p6)(t,"d.M.yyyy","en"):t}const M=new Intl.Collator("cs",{numeric:!0});function L(t,e,i,n){const s=e.active,o=e.direction;return s&&""!==o?t.sort((t,e)=>{const r=i(t,s,n),a=i(e,s,n);return M.compare(r,a)*("asc"===o?1:-1)}):t}function N(t,e,i,n,s,o){e=e.toLowerCase();let r="";return i.forEach(e=>{r+=";"+n(t,e,s)}),o&&(r+=";"+n(t,"uuid",s)),-1!==r.toLowerCase().indexOf(e)}function z(t,e,i,n){const s=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!o.includes(t)),t.forEach(t=>{const o={};e.forEach(e=>{var s;o[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(o)}),s}function F(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),o=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));o.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const a=o.join("\r\n"),c=new Blob([a],{type:"text/csv"});(0,r.saveAs)(c,`${i}.${e}`)}}}function Z(t,e){return t.name.toLowerCase()>e.name.toLowerCase()?1:t.name.toLowerCase()===e.name.toLowerCase()?0:-1}function B(t,e){var i,n,s,o;let r,a;return t.user?(r=t.user.lastName?t.user.lastName:null!==(i=t.user.firstName)&&void 0!==i?i:"",a=e.user.lastName?e.user.lastName:null!==(n=e.user.firstName)&&void 0!==n?n:""):(r=t.lastName?t.lastName:null!==(s=t.firstName)&&void 0!==s?s:"",a=e.lastName?e.lastName:null!==(o=e.firstName)&&void 0!==o?o:""),r>a?1:r===a?0:-1}function q(t,e,i=[]){t.enable(),t.clearValidators(),t.clearAsyncValidators(),t.setValidators(e),t.setAsyncValidators(i),t.updateValueAndValidity()}},82819:function(t,e,i){"use strict";i.d(e,{l:function(){return g}});var n=i(31572),s=i(73005),o=i(38457),r=i(61511),a=i(15980),c=i(8055),u=i(43691),l=i(48160);let h=(()=>{class t{constructor(){this.exportData=new n.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"button",1),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,2),n.TgZ(6,"button",3),n._uU(7),n.ALo(8,"translate"),n.qZA(),n.qZA(),n.TgZ(9,"mat-menu",null,4),n.TgZ(11,"button",5),n.NdJ("click",function(){return e.exportData.emit("csv")}),n._uU(12,"Csv"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=n.MAs(5),e=n.MAs(10);n.xp6(1),n.Q6J("matMenuTriggerFor",t),n.xp6(5),n.Q6J("matMenuTriggerFor",e),n.xp6(1),n.hij(" ",n.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[a.lW,c.p6,u.Hw,c.VK,c.OP],pipes:[l.X$],styles:[""]}),t})();function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-table-options",6),n.NdJ("exportData",function(e){return n.CHM(t),n.oxw().exportData.emit(e)}),n.qZA()}}const p=["*"];let g=(()=>{class t{constructor(){this.hideExport=!1,this.page=new n.vpe,this.pageSizeOptions=o.f7,this.pageSize=5,this.dataLength=0,this.exportData=new n.vpe}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&n.Gf(s.NW,7),2&t){let t;n.iGM(t=n.CRH())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:p,decls:7,vars:8,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(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"mat-paginator",2),n.NdJ("page",function(t){return e.page.emit(t)}),n.qZA(),n.YNc(3,d,1,0,"perun-web-apps-table-options",3),n.qZA(),n.TgZ(4,"div",4),n.Hsn(5),n.qZA(),n.TgZ(6,"mat-paginator",5),n.NdJ("page",function(t){return e.pageChanged(t)}),n.qZA(),n.qZA()),2&t&&(n.xp6(2),n.Q6J("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",!e.hideExport),n.xp6(3),n.Q6J("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[s.NW,r.O5,h],styles:[""]}),t})()},39571:function(t,e,i){"use strict";i.d(e,{w:function(){return c}});var n=i(31572),s=i(61511),o=i(43691);function r(t,e){1&t&&(n.TgZ(0,"mat-icon",2),n._uU(1," error "),n.qZA())}const a=["*"];let c=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:a,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,r,2,0,"mat-icon",1),n.Hsn(2),n.qZA()),2&t&&(n.ekj("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),n.xp6(1),n.Q6J("ngIf","error"!==e.alert_type))},directives:[s.O5,o.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})()},22727:function(t,e,i){"use strict";i.d(e,{r:function(){return r}});var n=i(43691),s=i(61511),o=i(31572);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.Ps,s.ez]]}),t})()},10709:function(t,e,i){"use strict";i.d(e,{l3:function(){return o},_j:function(){return n},LC:function(){return s},ZN:function(){return b},jt:function(){return a},pV:function(){return g},ru:function(){return c},F4:function(){return d},IO:function(){return f},vP:function(){return u},SB:function(){return h},oB:function(){return l},eR:function(){return p},X$:function(){return r},ZE:function(){return w},k1:function(){return _}});class n{}class s{}const o="*";function r(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function h(t,e,i){return{type:0,name:t,styles:e,options:i}}function d(t){return{type:5,steps:t}}function p(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function g(t=null){return{type:9,options:t}}function f(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function m(t){Promise.resolve(null).then(t)}class b{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class w{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const _="!"},24621:function(t,e,i){"use strict";i.d(e,{rt:function(){return G},s1:function(){return S},$s:function(){return A},Qr:function(){return N},kH:function(){return H},mK:function(){return P},Em:function(){return E},tE:function(){return q},qV:function(){return O},qm:function(){return j},Kd:function(){return L},X6:function(){return z},yG:function(){return F}});var n=i(61511),s=i(31572),o=i(55959),r=i(87570),a=i(40878),c=i(75842),u=i(66599),l=i(47701),h=i(43835),d=i(79996),p=i(90611),g=i(19861),f=i(11353),m=i(36337);function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let w=0;const _=new Map;let y=null,A=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=v(e,i);"string"!=typeof e?(T(e),_.set(n,{messageElement:e,referenceCount:0})):_.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=v(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=_.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}y&&0===y.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=_.get(e);!function(t,e,i){const n=b(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(t,e){const i=_.get(e);i.referenceCount--,function(t,e,i){const n=b(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const i=b(t,"aria-describedby"),n=_.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();function v(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function T(t){t.id||(t.id="cdk-describedby-message-"+w++)}class C{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.xQ,this._typeaheadSubscription=r.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new o.xQ,this.change=new o.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(t=>this._pressedLetters.push(t)),(0,l.b)(t),(0,h.h)(()=>this._pressedLetters.length>0),(0,d.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,c.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.A&&e<=c.Z||e>=c.xE&&e<=c.aO)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class S extends C{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class E extends C{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let k=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===R(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=R(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||x(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(f.t4))},token:t,providedIn:"root"}),t})();function x(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function R(t){if(!x(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class I{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(t)}}let O=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new I(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(k),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,g.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,g.Ig)(t)}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(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,f.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(O),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();"undefined"!=typeof Element&∈const D=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),M=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let L=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,i,n){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=i,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(L),s.Y36(m.yq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function z(t){return 0===t.buttons}function F(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const Z=new s.OlP("cdk-focus-monitor-default-options"),B=(0,f.i$)({passive:!0,capture:!0});let q=(()=>{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=z(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{F(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=U(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=U(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=(0,g.fI)(t);if(!this._platform.isBrowser||1!==i.nodeType)return(0,a.of)(null);const n=(0,f.kV)(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const r={checkChildren:e,subject:new o.xQ,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=(0,g.fI)(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=(0,g.fI)(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=U(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===U(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,B),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,B)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,B),t.addEventListener("mousedown",this._documentMousedownListener,B),t.addEventListener("touchstart",this._documentTouchstartListener,B),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,B),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,B),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,B),t.removeEventListener("mousedown",this._documentMousedownListener,B),t.removeEventListener("touchstart",this._documentTouchstartListener,B),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(f.t4),s.LFG(n.K0,8),s.LFG(Z,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(f.t4),s.LFG(n.K0,8),s.LFG(Z,8))},token:t,providedIn:"root"}),t})();function U(t){return t.composedPath?t.composedPath()[0]:t.target}let H=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(q))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),j=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f.t4),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(f.t4),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),G=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(j))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[f.ud,m.Q8]]}),t})()},22526:function(t,e,i){"use strict";i.d(e,{vT:function(){return a},Is:function(){return r}});var n=i(31572),s=i(61511);const o=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.f3M)(s.K0)}});let r=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new n.vpe,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(o,8))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(o,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},81391:function(t,e,i){"use strict";i.d(e,{i3:function(){return c},TU:function(){return r},Iq:function(){return u}});var n=i(61511),s=i(31572);class o{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}copy(){const t=this._textarea;let e=!1;try{if(t){const i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(i){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let r=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),i=e.copy();return e.destroy(),i}beginCopy(t){return new o(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();const a=new s.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let c=(()=>{class t{constructor(t,e,i){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new s.vpe,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}copy(t=this.attempts){if(t>1){let e=t;const i=this._clipboard.beginCopy(this.text);this._pending.add(i);const n=()=>{const t=i.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(n,1))};n()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(r),s.Y36(s.R0b),s.Y36(a,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})()},19861:function(t,e,i){"use strict";i.d(e,{t6:function(){return r},Eq:function(){return a},Ig:function(){return s},HM:function(){return c},fI:function(){return u},su:function(){return o},du:function(){return l}});var n=i(31572);function s(t){return null!=t&&"false"!=`${t}`}function o(t,e=0){return r(t)?Number(t):e}function r(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function c(t){return null==t?"":"string"==typeof t?t:`${t}px`}function u(t){return t instanceof n.SBq?t.nativeElement:t}function l(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}},4230:function(t,e,i){"use strict";i.d(e,{P3:function(){return u},o2:function(){return a},Ov:function(){return d},A8:function(){return p},yy:function(){return l},eX:function(){return h},k:function(){return g},Z9:function(){return c}});var n=i(4710),s=i(40878),o=i(55959),r=i(31572);class a{}function c(t){return t&&"function"==typeof t.connect}class u extends a{constructor(t){super(),this._data=t}connect(){return(0,n.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class l{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,o)=>{let r,a;if(null==t.previousIndex){const s=i(t,n,o);r=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==o?(e.remove(n),a=3):(r=e.get(n),e.move(r,o),a=2);s&&s({context:null==r?void 0:r.context,operation:a,record:t})})}detach(){}}class h{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,i,n,s){t.forEachOperation((t,o,r)=>{let a,c;null==t.previousIndex?(a=this._insertView(()=>i(t,o,r),r,e,n(t)),c=a?1:0):null==r?(this._detachAndCacheView(o,e),c=3):(a=this._moveView(o,r,e,n(t)),c=2),s&&s({context:null==a?void 0:a.context,operation:c,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,i,n){const s=this._insertViewFromCache(e,i);if(s)return void(s.context.$implicit=n);const o=t();return i.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(t,e){const i=e.detach(t);this._maybeCacheView(i,e)}_moveView(t,e,i,n){const s=i.get(t);return i.move(s,e),s.context.$implicit=n,s}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let p=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const g=new r.OlP("_ViewRepeater")},88975:function(t,e,i){"use strict";i.d(e,{Zt:function(){return pt},Wj:function(){return ut},_t:function(){return ft},bA:function(){return Y}});var n=i(31572),s=i(61511),o=i(4253),r=i(11353),a=i(19861),c=i(55959),u=i(87570),l=i(38289),h=i(91741),d=i(48318),p=i(31906),g=i(25416),f=i(56238),m=i(79996),b=i(90611),w=i(66599),_=i(44689),y=i(22526);function A(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function v(t,e){const i=e?"":"none";A(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function T(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function C(t,e){return e?t+" "+e:t}function S(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function E(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function k(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function x(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function R(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function I(t,e,i,n){const{top:s,right:o,bottom:r,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>s-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:k(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let o,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,r=t.left}else o=e.scrollTop,r=e.scrollLeft;const a=s.top-o,c=s.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&R(t.clientRect,a,c)}),s.top=o,s.left=r,{top:a,left:c}}}function P(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new O(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=(0,a.Ig)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>v(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>(0,a.fI)(t)),this._handles.forEach(t=>v(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=(0,a.fI)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,F),e.addEventListener("touchstart",this._pointerDown,z)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?(0,a.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&U(this._rootElement),U(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),v(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),v(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&U(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&U(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){H(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),T(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,o).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=H(e),s=!n&&0!==e.button,o=this._rootElement,r=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=k(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){T(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=j(s,this._document),this._previewRef=s,t.matchSize?G(n,e):n.style.transform=B(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=P(t),G(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return A(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),v(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=E(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),o=E(e,"transition-duration"),r=E(e,"transition-delay");return S(o[s])+S(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=j(this._placeholderRef,this._document)):i=P(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,o=H(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-r.left),y:s.top-i.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=H(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+e,a=s.bottom-(o.height-e);i=q(i,s.left+t,s.right-(o.width-t)),n=q(n,r,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),r=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),r>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,v(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,F),t.removeEventListener("touchstart",this._pointerDown,z)}_applyRootElementTransform(t,e){const i=B(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=C(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=B(t,e);this._preview.style.transform=C(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,o=n.right-i.right,r=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>n.height?(r>0&&(e+=r),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:H(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&R(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,r.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return(0,a.fI)(i)}}function B(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function q(t,e,i){return Math.max(e,Math.min(i,t))}function U(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t){return"t"===t.type[0]}function j(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function G(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=B(e.left,e.top)}function Y(t,e,i){const n=V(e,t.length-1),s=V(i,t.length-1);if(n===s)return;const o=t[n],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new c.xQ,this.entered=new c.xQ,this.exited=new c.xQ,this.dropped=new c.xQ,this.sorted=new c.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=u.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new c.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,l.F)(0,h.r).pipe((0,g.R)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?$(t,-e):2===this._verticalScrollDirection&&$(t,e),1===this._horizontalScrollDirection?Q(t,-e):2===this._horizontalScrollDirection&&Q(t,e)})},this.element=(0,a.fI)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new O(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const o=this._activeDraggables,r=o.indexOf(t),c=t.getPlaceholderElement();let u=o[s];if(u===t&&(u=o[s+1]),r>-1&&o.splice(r,1),u&&!this._dragDropRegistry.isDragging(u)){const e=u.getRootElement();e.parentElement.insertBefore(c,e),o.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=o[0].getRootElement();e.parentNode.insertBefore(c,e),o.unshift(t)}else(0,a.fI)(this.element).appendChild(c),o.push(t);c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,o,r){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:r})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=(0,a.fI)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?J("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!I(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=J(s,e=>e.drag===t),c=s[o],u=c.clientRect,l=a>o?1:-1,h=this._getItemOffsetPx(s[a].clientRect,u,l),d=this._getSiblingOffsetPx(a,s,l),p=s.slice();Y(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:t}),s.forEach((e,i)=>{if(p[i]===e)return;const n=e.drag===t,s=n?h:d,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=C(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),R(e.clientRect,0,s)):(o.style.transform=C(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),R(e.clientRect,s,0))}),this._previousSwap.overlaps=x(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=r?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!i&&I(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=W(e,n),o=X(e,i);let r=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,t,e),(n||s)&&(i=r))}),!n&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};n=W(a,e),s=X(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=(0,a.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=(0,a.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:k(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=(0,a.fI)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let r=s[n?"width":"height"]*i;if(o){const t=n?"left":"top",e=n?"right":"bottom";-1===i?r-=o.clientRect[t]-s[e]:r+=s[t]-o.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,o=J(this._itemPositions,({drag:o,clientRect:r},a,c)=>{if(o===t)return c.length<2;if(n){const t=s?n.x:n.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!x(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=(0,a.fI)(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{R(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 t=(0,r.kV)((0,a.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function J(t,e){for(let i=0;i=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function X(t,e){const{left:i,right:n,width:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}const tt=(0,r.i$)({passive:!1,capture:!0});let et=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new c.xQ,this.pointerUp=new c.xQ,this.scroll=new c.xQ,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,tt)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,tt)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:tt}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:tt}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.R0b),n.LFG(s.K0))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(n.R0b),n.LFG(s.K0))},token:t,providedIn:"root"}),t})();const it={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let nt=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=it){return new Z(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new K(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(s.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(et))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(s.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(et))},token:t,providedIn:"root"}),t})();const st=new n.OlP("CDK_DRAG_PARENT"),ot=new n.OlP("CdkDropListGroup"),rt=new n.OlP("CDK_DRAG_CONFIG");let at=0;const ct=new n.OlP("CdkDropList");let ut=(()=>{class t{constructor(e,i,s,o,r,a,u){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=o,this._dir=r,this._group=a,this._destroyed=new c.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+at++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.sorted=new n.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,i)=>this.sortPredicate(t,e.data,i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),a&&a._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=(0,a.Ig)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._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((0,f.O)(this._dir.value),(0,g.R)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=(0,a.Eq)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===i.indexOf(t)&&i.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=(0,a.Ig)(this.sortingDisabled),e.autoScrollDisabled=(0,a.Ig)(this.autoScrollDisabled),e.autoScrollStep=(0,a.su)(this.autoScrollStep,2),e.connectedTo(i.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.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(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:s,listOrientation:o}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=s&&s,this.orientation=o||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(nt),n.Y36(n.sBO),n.Y36(o.mF),n.Y36(y.Is,8),n.Y36(ot,12),n.Y36(rt,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(n.uIk("id",e.id),n.ekj("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n._Bn([{provide:ot,useValue:void 0},{provide:ct,useExisting:t}])]}),t._dropLists=[],t})();const lt=new n.OlP("CdkDragHandle"),ht=new n.OlP("CdkDragPlaceholder"),dt=new n.OlP("CdkDragPreview");let pt=(()=>{class t{constructor(e,i,s,o,r,a,u,l,h,p,g){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=r,this._dir=u,this._changeDetectorRef=h,this._selfHandle=p,this._parentDrag=g,this._destroyed=new c.xQ,this.started=new n.vpe,this.released=new n.vpe,this.ended=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.dropped=new n.vpe,this.moved=new d.y(t=>{const e=this._dragRef.moved.pipe((0,m.U)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=l.createDrag(e,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),a&&this._assignDefaults(a),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=(0,a.Ig)(t),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.onStable.pipe((0,b.q)(1),(0,g.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe((0,f.O)(this._handles),(0,w.b)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),(0,_.w)(t=>(0,p.T)(...t.map(t=>t._stateChanges.pipe((0,f.O)(t))))),(0,g.R)(this._destroyed)).subscribe(t=>{const e=this._dragRef,i=t.element.nativeElement;t.disabled?e.disableHandle(i):e.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?gt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?gt(this.element.nativeElement,t):(0,a.fI)(t):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=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 i&&i?i:(0,a.su)(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,b.q)(1)).subscribe(()=>{var i,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(i=s.classList)||void 0===i?void 0:i.contains("cdk-drag")){e.withParent((null===(n=t._dragInstances.find(t=>t.element.nativeElement===s))||void 0===n?void 0:n._dragRef)||null);break}s=s.parentElement}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.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(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a,previewContainer:c}=t;this.disabled=null!=r&&r,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),s&&(this.previewClass=s),o&&(this.boundaryElement=o),a&&(this.rootElementSelector=a),c&&(this.previewContainer=c)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(ct,12),n.Y36(s.K0),n.Y36(n.R0b),n.Y36(n.s_b),n.Y36(rt,8),n.Y36(y.Is,8),n.Y36(nt),n.Y36(n.sBO),n.Y36(lt,10),n.Y36(st,12))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){if(1&t&&(n.Suo(i,dt,5),n.Suo(i,ht,5),n.Suo(i,lt,5)),2&t){let t;n.iGM(t=n.CRH())&&(e._previewTemplate=t.first),n.iGM(t=n.CRH())&&(e._placeholderTemplate=t.first),n.iGM(t=n.CRH())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&n.ekj("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n._Bn([{provide:st,useExisting:t}]),n.TTD]}),t._dragInstances=[],t})();function gt(t,e){let i=t.parentElement;for(;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}let ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[nt],imports:[o.ZD]}),t})()},75842:function(t,e,i){"use strict";i.d(e,{A:function(){return _},ZH:function(){return n},OC:function(){return A},yY:function(){return m},JH:function(){return f},uR:function(){return l},K5:function(){return o},hY:function(){return r},Sd:function(){return h},oh:function(){return d},aO:function(){return w},VM:function(){return u},Ku:function(){return c},SV:function(){return g},L_:function(){return a},Mf:function(){return s},LH:function(){return p},Z:function(){return y},xE:function(){return b},Vb:function(){return v}});const n=8,s=9,o=13,r=27,a=32,c=33,u=34,l=35,h=36,d=37,p=38,g=39,f=40,m=46,b=48,w=57,_=65,y=90,A=188;function v(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},36337:function(t,e,i){"use strict";i.d(e,{wD:function(){return l},yq:function(){return u},Q8:function(){return h}});var n=i(19861),s=i(31572),o=i(48318),r=i(55959),a=i(47701);let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,n.fI)(t);return new o.y(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new r.xQ,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(c))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,n.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,n.su)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(u),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[c]}),t})()},2522:function(t,e,i){"use strict";i.d(e,{pI:function(){return J},xu:function(){return K},_G:function(){return z},aV:function(){return G},X_:function(){return k},Xj:function(){return M},U8:function(){return Q}});var n=i(4253),s=i(31572),o=i(11353),r=i(22526),a=i(61511),c=i(19861),u=i(26899),l=i(55959),h=i(87570),d=i(31906),p=i(96673);class g{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new f(t,this.predicate,this.inclusive))}}class f extends p.L{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}var m=i(90611),b=i(25416),w=i(75842);const _=(0,o.Mq)();class y{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,c.HM)(-this._previousScrollPosition.left),t.style.top=(0,c.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),_&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class A{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function T(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function C(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class S{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();T(t,[{width:e,height:i,bottom:i,right:e,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 E=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new v,this.close=t=>new A(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.mF),s.LFG(n.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.mF),s.LFG(n.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class k{constructor(t){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class x{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class R{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let I=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),O=(()=>{class t extends I{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t extends I{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(o.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(o.t4))},token:t,providedIn:"root"}),t})();const D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let M=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new l.xQ,this._outsidePointerEvents=new l.xQ,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,c.HM)(this._config.width),t.height=(0,c.HM)(this._config.height),t.minWidth=(0,c.HM)(this._config.minWidth),t.minHeight=(0,c.HM)(this._config.minHeight),t.maxWidth=(0,c.HM)(this._config.maxWidth),t.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;(0,c.Eq)(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,b.R)((0,d.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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const N=/([A-Za-z%]+)$/;class z{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new l.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(t,o),a=this._getOverlayPoint(r,e,o),c=this._getOverlayFit(a,e,i,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:o,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&F(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=B(e);let{x:o,y:r}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(o+=a),c&&(r+=c);let u=0-r,l=r+s.height-i.height,h=this._subtractOverflows(s.width,0-o,o+s.width-i.width),d=this._subtractOverflows(s.height,u,l),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,o=Z(this._overlayRef.getConfig().minHeight),r=Z(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=s;return(t.fitsInViewportVertically||null!=o&&o<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=B(e),s=this._viewportRect,o=Math.max(t.x+n.width-s.width,0),r=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let u=0,l=0;return u=n.width<=s.width?c||-o:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)u=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:o,left:c,bottom:r,right:u,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=(0,c.HM)(i.height),n.top=(0,c.HM)(i.top),n.bottom=(0,c.HM)(i.bottom),n.width=(0,c.HM)(i.width),n.left=(0,c.HM)(i.left),n.right=(0,c.HM)(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=(0,c.HM)(t)),s&&(n.maxWidth=(0,c.HM)(s))}this._lastBoundingBoxSize=i,F(this._boundingBox.style,n)}_resetBoundingBoxStyles(){F(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){F(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();F(i,this._getExactOverlayY(e,t,n)),F(i,this._getExactOverlayX(e,t,n))}else i.position="static";let r="",a=this._getOffset(e,"x"),u=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),u&&(r+=`translateY(${u}px)`),i.transform=r.trim(),o.maxHeight&&(n?i.maxHeight=(0,c.HM)(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=(0,c.HM)(o.maxWidth):s&&(i.maxWidth="")),F(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=(0,c.HM)(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=(0,c.HM)(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:C(t,i),isOriginOutsideView:T(t,i),isOverlayClipped:C(e,i),isOverlayOutsideView:T(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,c.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function F(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Z(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(N);return i&&"px"!==i?null:parseFloat(e)}return t||null}function B(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class q{constructor(t,e,i,n,s,o,r){this._preferredPositions=[],this._positionStrategy=new z(i,n,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new x(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class U{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:o,maxHeight:r}=i,a=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let H=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new U}connectedTo(t,e,i){return new q(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new z(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.rL),s.LFG(a.K0),s.LFG(o.t4),s.LFG(M))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.rL),s.LFG(a.K0),s.LFG(o.t4),s.LFG(M))},token:t,providedIn:"root"}),t})(),j=0,G=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new k(t);return s.direction=s.direction||this._directionality.value,new L(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+j++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new u.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(E),s.LFG(M),s.LFG(s._Vd),s.LFG(H),s.LFG(O),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(r.Is),s.LFG(a.Ye),s.LFG(P))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Y=[{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"}],V=new s.OlP("cdk-connected-overlay-scroll-strategy");let K=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),J=(()=>{class t{constructor(t,e,i,n,o){this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new u.UE(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,c.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,c.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,c.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,c.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,c.Ig)(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==w.hY||this.disableClose||(0,w.Vb)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new k({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new g(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(G),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(V),s.Y36(r.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const $={provide:V,deps:[G],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[G,$],imports:[[r.vT,u.eL,n.Cl],n.Cl]}),t})()},11353:function(t,e,i){"use strict";i.d(e,{t4:function(){return a},ud:function(){return c},ht:function(){return _},kV:function(){return w},_i:function(){return b},qK:function(){return l},i$:function(){return f},Mq:function(){return m}});var n=i(31572),s=i(61511);let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){o=!1}let r,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.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&&!o)&&"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 t.\u0275fac=function(e){return new(e||t)(n.LFG(n.Lbi))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(n.Lbi))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function l(){if(r)return r;if("object"!=typeof document||!document)return r=new Set(u),r;let t=document.createElement("input");return r=new Set(u.filter(e=>(t.setAttribute("type",e),t.type===e))),r}let h,d,p,g;function f(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function m(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function b(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function w(t){if(function(){if(null==g){const t="undefined"!=typeof document?document.head:null;g=!(!t||!t.createShadowRoot&&!t.attachShadow)}return g}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function _(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},26899:function(t,e,i){"use strict";i.d(e,{en:function(){return u},ig:function(){return d},Pl:function(){return p},C5:function(){return r},F0:function(){return h},u0:function(){return l},eL:function(){return g},UE:function(){return a}});var n=i(31572),s=i(61511);class o{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class r extends o{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class a extends o{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class c extends o{constructor(t){super(),this.element=t instanceof n.SBq?t.nativeElement:t}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof r?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class l extends u{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class h extends l{}let d=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Rgc),n.Y36(n.s_b))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]}),t})(),p=(()=>{class t extends u{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(s.K0))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},4253:function(t,e,i){"use strict";i.d(e,{xd:function(){return P},PQ:function(){return M},ZD:function(){return B},x0:function(){return Z},N7:function(){return z},mF:function(){return D},Cl:function(){return q},rL:function(){return L}});var n=i(19861),s=i(31572),o=i(55959),r=i(40878),a=i(48318),c=i(87254),u=i(91741),l=i(92709),h=i(87570),d=i(4710),p=i(96673);class g{call(t,e){return e.subscribe(new f(t))}}class f extends p.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}var m=i(98720),b=i(30810),w=i(43835),_=i(25416),y=i(56238),A=i(44689),v=i(68303),T=i(11353),C=i(61511),S=i(22526),E=i(4230);const k=["contentWrapper"],x=["*"],R=new s.OlP("VIRTUAL_SCROLL_STRATEGY");class I{constructor(t,e,i){this._scrolledIndexChange=new o.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,m.x)()),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,i){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},i=this._viewport.getViewportSize(),n=this._viewport.getDataLength();let s=this._viewport.measureScrollOffset(),o=this._itemSize>0?s/this._itemSize:0;if(e.end>n){const t=Math.ceil(i/this._itemSize),r=Math.max(0,Math.min(o,n-t));o!=r&&(o=r,s=r*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(n,e.start+t))}const r=s-e.start*this._itemSize;if(r0&&(e.end=Math.min(n,e.end+i),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}}function O(t){return t._scrollStrategy}let P=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new I(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=(0,n.su)(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=(0,n.su)(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=(0,n.su)(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[s._Bn([{provide:R,useFactory:O,deps:[(0,s.Gpc)(()=>t)]}]),s.TTD]}),t})(),D=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new o.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe((0,b.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,r.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,w.h)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=(0,n.fI)(e),s=t.getElementRef().nativeElement;do{if(i==s)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,c.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(T.t4),s.LFG(C.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(T.t4),s.LFG(C.K0,8))},token:t,providedIn:"root"}),t})(),M=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new o.xQ,this._elementScrolled=new a.y(t=>this.ngZone.runOutsideAngular(()=>(0,c.R)(this.elementRef.nativeElement,"scroll").pipe((0,_.R)(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=(0,T._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,T._i)()?t.left=t.right:1==(0,T._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;(0,T.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==(0,T._i)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==(0,T._i)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(D),s.Y36(s.R0b),s.Y36(S.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),L=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new o.xQ,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,b.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(C.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(C.K0,8))},token:t,providedIn:"root"}),t})();const N="undefined"!=typeof requestAnimationFrame?u.r:l.e;let z=(()=>{class t extends M{constructor(t,e,i,n,s,r,c){super(t,r,i,s),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=n,this._detachedSubject=new o.xQ,this._renderedRangeSubject=new o.xQ,this._orientation="vertical",this.scrolledIndexChange=new a.y(t=>this._scrollStrategy.scrolledIndexChange.subscribe(e=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(e))))),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=h.w.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,y.O)(null),(0,b.e)(0,N)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe((0,_.R)(this._detachedSubject)).subscribe(t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,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(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){var e,i;((e=this._renderedRange).start!=(i=t).start||e.end!=i.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const i="horizontal"==this.orientation,n=i?"X":"Y";let s=`translate${n}(${Number((i&&this.dir&&"rtl"==this.dir.value?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(s+=` translate${n}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,e="auto"){const i={behavior:e};"horizontal"===this.orientation?i.start=t:i.top=t,this.scrollTo(i)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return super.measureScrollOffset(t||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),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 t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(R,8),s.Y36(S.Is,8),s.Y36(D),s.Y36(L))},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){if(1&t&&s.Gf(k,7),2&t){let t;s.iGM(t=s.CRH())&&(e._contentWrapper=t.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[s._Bn([{provide:M,useExisting:t}]),s.qOj],ngContentSelectors:x,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&t&&(s.xp6(3),s.Udp("width",e._totalContentWidth)("height",e._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}),t})();function F(t,e,i){if(!i.getBoundingClientRect)return 0;const n=i.getBoundingClientRect();return"horizontal"===t?"start"===e?n.left:n.right:"start"===e?n.top:n.bottom}let Z=(()=>{class t{constructor(t,e,i,n,s,r){this._viewContainerRef=t,this._template=e,this._differs=i,this._viewRepeater=n,this._viewport=s,this.viewChange=new o.xQ,this._dataSourceChanges=new o.xQ,this.dataStream=this._dataSourceChanges.pipe((0,y.O)(null),t=>t.lift(new g),(0,A.w)(([t,e])=>this._changeDataSource(t,e)),(0,v.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.xQ,this.dataStream.subscribe(t=>{this._data=t,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,_.R)(this._destroyed)).subscribe(t=>{this._renderedRange=t,r.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,(0,E.Z9)(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new E.P3((0,d.b)(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,i)=>t(e+(this._renderedRange?this._renderedRange.start:0),i):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=(0,n.su)(t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;const i=t.start-this._renderedRange.start,n=t.end-t.start;let s,o;for(let r=0;r-1;r--){const t=this._viewContainerRef.get(r+i);if(t&&t.rootNodes.length){o=t.rootNodes[t.rootNodes.length-1];break}}return s&&o?F(e,"end",o)-F(e,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):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((t,e)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,e):e)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):(0,r.of)()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){const i=this._viewContainerRef.get(e);i.context.index=this._renderedRange.start+e,i.context.count=t,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(t,e,i)=>this._getEmbeddedViewArgs(t,i),t=>t.item),t.forEachIdentityChange(t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});const e=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const t=this._viewContainerRef.get(i);t.context.index=this._renderedRange.start+i,t.context.count=e,this._updateComputedContextProperties(t.context)}}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_getEmbeddedViewArgs(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(E.k),s.Y36(z,4),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[s._Bn([{provide:E.k,useClass:E.eX}])]}),t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[S.vT,T.ud,B],S.vT,B]}),t})()},10901:function(t,e,i){"use strict";i.d(e,{Lq:function(){return p},IC:function(){return g},Ky:function(){return f}});var n=i(11353),s=i(31572),o=i(19861),r=i(70653),a=i(55959),c=i(87254),u=i(30810),l=i(25416),h=i(61511);const d=(0,n.i$)({passive:!0});let p=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return r.E;const e=(0,o.fI)(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,d),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",c,d)}}),n}stopMonitoring(t){const e=(0,o.fI)(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new a.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=(0,o.su)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=(0,o.su)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=(0,o.Ig)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(t){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=t,this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();(0,c.R)(t,"resize").pipe((0,u.e)(16),(0,l.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){this._textareaElement.classList.add(this._measuringClass);const t=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),t}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const t=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=t}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=this._measureScrollHeight(),s=Math.max(n,this._cachedPlaceholderHeight||0);e.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=i,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(t){const{selectionStart:e,selectionEnd:i}=t,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(h.K0,8))},t.\u0275dir=s.lG2({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&s.NdJ("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ud]]}),t})()},71709:function(t,e,i){"use strict";i.d(e,{HI:function(){return b},Xx:function(){return C},_0:function(){return A},nZ:function(){return x},Hs:function(){return v},rO:function(){return y},cu:function(){return w},XJ:function(){return E},Ud:function(){return k},C2:function(){return f},VY:function(){return m}});var n=i(4230),s=i(4710),o=i(55959),r=i(78512),a=i(40878),c=i(90611),u=i(43835),l=i(25416),h=i(31572),d=i(19861),p=i(22526);class g{constructor(){this.expansionModel=new n.Ov(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}class f extends g{constructor(t,e,i){super(),this.getLevel=t,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const e=[];for(let i=this.dataNodes.indexOf(t)+1;ithis._trackByValue(t)))}}class m extends g{constructor(t,e){super(),this.getChildren=t,this.options=e,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const t=this.dataNodes.reduce((t,e)=>[...t,...this.getDescendants(e),e],[]);this.expansionModel.select(...t.map(t=>this._trackByValue(t)))}getDescendants(t){const e=[];return this._getDescendants(e,t),e.splice(1)}_getDescendants(t,e){t.push(e);const i=this.getChildren(e);Array.isArray(i)?i.forEach(e=>this._getDescendants(t,e)):(0,s.b)(i)&&i.pipe((0,c.q)(1),(0,u.h)(Boolean)).subscribe(e=>{for(const i of e)this._getDescendants(t,i)})}}const b=new h.OlP("CDK_TREE_NODE_OUTLET_NODE");let w=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.s_b),h.Y36(b,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class _{constructor(t){this.$implicit=t}}let y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.Rgc))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),A=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new o.xQ,this._levels=new Map,this.viewChange=new r.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}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 t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;(0,n.Z9)(this._dataSource)?t=this._dataSource.connect(this):(0,s.b)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=(0,a.of)(this._dataSource)),t&&(this._dataSubscription=t.pipe((0,l.R)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,i=this._nodeOutlet.viewContainer,n){const s=e.diff(t);s&&(s.forEachOperation((e,s,o)=>{if(null==e.previousIndex)this.insertNode(t[o],o,i,n);else if(null==o)i.remove(s),this._levels.delete(e.item);else{const t=i.get(s);i.move(t,o)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(i=>i.when&&i.when(e,t))||this._defaultNodeDef}insertNode(t,e,i,n){const s=this._getNodeDef(t,e),o=new _(t);o.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==n&&this._levels.has(n)?this._levels.get(n)+1:0,this._levels.set(t,o.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,o,e),v.mostRecentTreeNode&&(v.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.ZZ4),h.Y36(h.sBO))},t.\u0275cmp=h.Xpm({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,i){if(1&t&&h.Suo(i,y,5),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&h.Gf(w,7),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&h.GkF(0,0)},directives:[w],encapsulation:2}),t})(),v=(()=>{class t{constructor(e,i){this._elementRef=e,this._tree=i,this._destroyed=new o.xQ,this._dataChanges=new o.xQ,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",`${t}`)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!T(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?(0,d.su)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(A))},t.\u0275dir=h.lG2({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function T(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let C=(()=>{class t extends v{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this._differs=i,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):(0,s.b)(t)&&t.pipe((0,l.R)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe((0,l.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(A),h.Y36(h.ZZ4))},t.\u0275dir=h.lG2({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,i){if(1&t&&h.Suo(i,w,5),2&t){let t;h.iGM(t=h.CRH())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[h._Bn([{provide:v,useExisting:t},{provide:b,useExisting:t}]),h.qOj]}),t})();const S=/([A-Za-z%]+)$/;let E=(()=>{class t{constructor(t,e,i,n){this._treeNode=t,this._tree=e,this._element=i,this._dir=n,this._destroyed=new o.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),n&&n.change.pipe((0,l.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,i=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",n="paddingLeft"===i?"paddingRight":"paddingLeft";t.style[i]=e||"",t.style[n]="",this._currentPadding=e}}_setLevelInput(t){this._level=(0,d.su)(t,null),this._setPadding()}_setIndentInput(t){let e=t,i="px";if("string"==typeof t){const n=t.split(S);e=n[0],i=n[1]||i}this.indentUnits=i,this._indent=(0,d.su)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(v),h.Y36(A),h.Y36(h.SBq),h.Y36(p.Is,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),k=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=(0,d.Ig)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(A),h.Y36(v))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&h.NdJ("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({}),t})()},61511:function(t,e,i){"use strict";i.d(e,{mr:function(){return y},Ov:function(){return Et},ez:function(){return Rt},K0:function(){return c},uU:function(){return xt},Do:function(){return v},V_:function(){return h},Ye:function(){return T},S$:function(){return w},mk:function(){return ct},sg:function(){return lt},O5:function(){return dt},PC:function(){return _t},RF:function(){return mt},n9:function(){return bt},ED:function(){return wt},tP:function(){return yt},b0:function(){return A},lw:function(){return u},gd:function(){return kt},EM:function(){return Dt},JF:function(){return Nt},p6:function(){return G},NF:function(){return Ot},PM:function(){return Pt},w_:function(){return a},bD:function(){return It},q:function(){return o},Mx:function(){return at},HT:function(){return r}});var n=i(31572);let s=null;function o(){return s}function r(t){s||(s=t)}class a{}const c=new n.OlP("DocumentToken");let u=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:l,token:t,providedIn:"platform"}),t})();function l(){return(0,n.LFG)(d)}const h=new n.OlP("Location Initialized");let d=(()=>{class t extends u{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){p()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){p()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(c))},t.\u0275prov=(0,n.Yz7)({factory:g,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function g(){return new d((0,n.LFG)(c))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let w=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:_,token:t,providedIn:"root"}),t})();function _(t){const e=(0,n.LFG)(c).location;return new A((0,n.LFG)(u),e&&e.origin||"")}const y=new n.OlP("appBaseHref");let A=(()=>{class t extends w{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+b(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+b(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(y,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends w{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+b(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+b(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(y,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t,e){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(S(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,S(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(w),n.LFG(u))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=m,t.\u0275prov=(0,n.Yz7)({factory:C,token:t,providedIn:"root"}),t})();function C(){return new T((0,n.LFG)(w),(0,n.LFG)(u))}function S(t){return t.replace(/\/index.html$/,"")}var E=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),k=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),x=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),R=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),I=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function O(t,e){return z((0,n.cg1)(t)[n.wAp.DateFormat],e)}function P(t,e){return z((0,n.cg1)(t)[n.wAp.TimeFormat],e)}function D(t,e){return z((0,n.cg1)(t)[n.wAp.DateTimeFormat],e)}function M(t,e){const i=(0,n.cg1)(t),s=i[n.wAp.NumberSymbols][e];if(void 0===s){if(e===I.CurrencyDecimal)return i[n.wAp.NumberSymbols][I.Decimal];if(e===I.CurrencyGroup)return i[n.wAp.NumberSymbols][I.Group]}return s}const L=n.kL8;function N(t){if(!t[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function z(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function F(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const Z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,B={},q=/((?:[^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 U=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),H=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),j=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function G(t,e,i,n){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return Y(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(Z))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const r=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,r,a,c,u),e}(i)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=V(i,e)||e;let o,r=[];for(;e;){if(o=q.exec(e),!o){r.push(e);break}{r=r.concat(o.slice(1));const t=r.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=nt(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,n)-n))}(s,n));let c="";return r.forEach(t=>{const e=function(t){if(it[t])return it[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(j.Eras,x.Abbreviated);break;case"GGGG":e=Q(j.Eras,x.Wide);break;case"GGGGG":e=Q(j.Eras,x.Narrow);break;case"y":e=$(H.FullYear,1,0,!1,!0);break;case"yy":e=$(H.FullYear,2,0,!0,!0);break;case"yyy":e=$(H.FullYear,3,0,!1,!0);break;case"yyyy":e=$(H.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=$(H.Month,1,1);break;case"MM":case"LL":e=$(H.Month,2,1);break;case"MMM":e=Q(j.Months,x.Abbreviated);break;case"MMMM":e=Q(j.Months,x.Wide);break;case"MMMMM":e=Q(j.Months,x.Narrow);break;case"LLL":e=Q(j.Months,x.Abbreviated,k.Standalone);break;case"LLLL":e=Q(j.Months,x.Wide,k.Standalone);break;case"LLLLL":e=Q(j.Months,x.Narrow,k.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=$(H.Date,1);break;case"dd":e=$(H.Date,2);break;case"c":case"cc":e=$(H.Day,1);break;case"ccc":e=Q(j.Days,x.Abbreviated,k.Standalone);break;case"cccc":e=Q(j.Days,x.Wide,k.Standalone);break;case"ccccc":e=Q(j.Days,x.Narrow,k.Standalone);break;case"cccccc":e=Q(j.Days,x.Short,k.Standalone);break;case"E":case"EE":case"EEE":e=Q(j.Days,x.Abbreviated);break;case"EEEE":e=Q(j.Days,x.Wide);break;case"EEEEE":e=Q(j.Days,x.Narrow);break;case"EEEEEE":e=Q(j.Days,x.Short);break;case"a":case"aa":case"aaa":e=Q(j.DayPeriods,x.Abbreviated);break;case"aaaa":e=Q(j.DayPeriods,x.Wide);break;case"aaaaa":e=Q(j.DayPeriods,x.Narrow);break;case"b":case"bb":case"bbb":e=Q(j.DayPeriods,x.Abbreviated,k.Standalone,!0);break;case"bbbb":e=Q(j.DayPeriods,x.Wide,k.Standalone,!0);break;case"bbbbb":e=Q(j.DayPeriods,x.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(j.DayPeriods,x.Abbreviated,k.Format,!0);break;case"BBBB":e=Q(j.DayPeriods,x.Wide,k.Format,!0);break;case"BBBBB":e=Q(j.DayPeriods,x.Narrow,k.Format,!0);break;case"h":e=$(H.Hours,1,-12);break;case"hh":e=$(H.Hours,2,-12);break;case"H":e=$(H.Hours,1);break;case"HH":e=$(H.Hours,2);break;case"m":e=$(H.Minutes,1);break;case"mm":e=$(H.Minutes,2);break;case"s":e=$(H.Seconds,1);break;case"ss":e=$(H.Seconds,2);break;case"S":e=$(H.FractionalSeconds,1);break;case"SS":e=$(H.FractionalSeconds,2);break;case"SSS":e=$(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=W(U.Short);break;case"ZZZZZ":e=W(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=W(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=W(U.Long);break;default:return null}return it[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Y(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function V(t,e){const i=function(t){return(0,n.cg1)(t)[n.wAp.LocaleId]}(t);if(B[i]=B[i]||{},B[i][e])return B[i][e];let s="";switch(e){case"shortDate":s=O(t,R.Short);break;case"mediumDate":s=O(t,R.Medium);break;case"longDate":s=O(t,R.Long);break;case"fullDate":s=O(t,R.Full);break;case"shortTime":s=P(t,R.Short);break;case"mediumTime":s=P(t,R.Medium);break;case"longTime":s=P(t,R.Long);break;case"fullTime":s=P(t,R.Full);break;case"short":const e=V(t,"shortTime"),i=V(t,"shortDate");s=K(D(t,R.Short),[e,i]);break;case"medium":const n=V(t,"mediumTime"),o=V(t,"mediumDate");s=K(D(t,R.Medium),[n,o]);break;case"long":const r=V(t,"longTime"),a=V(t,"longDate");s=K(D(t,R.Long),[r,a]);break;case"full":const c=V(t,"fullTime"),u=V(t,"fullDate");s=K(D(t,R.Full),[c,u])}return s&&(B[i][e]=s),s}function K(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function J(t,e,i="-",n,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=i));let r=String(t);for(;r.length0||a>-i)&&(a+=i),t===H.Hours)0===a&&-12===i&&(a=12);else if(t===H.FractionalSeconds)return c=e,J(a,3).substr(0,c);var c;const u=M(r,I.MinusSign);return J(a,e,u,n,s)}}function Q(t,e,i=k.Format,s=!1){return function(o,r){return function(t,e,i,s,o,r){switch(i){case j.Months:return function(t,e,i){const s=(0,n.cg1)(t),o=z([s[n.wAp.MonthsFormat],s[n.wAp.MonthsStandalone]],e);return z(o,i)}(e,o,s)[t.getMonth()];case j.Days:return function(t,e,i){const s=(0,n.cg1)(t),o=z([s[n.wAp.DaysFormat],s[n.wAp.DaysStandalone]],e);return z(o,i)}(e,o,s)[t.getDay()];case j.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(r){const t=function(t){const e=(0,n.cg1)(t);return N(e),(e[n.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?F(t):[F(t[0]),F(t[1])])}(e),i=function(t,e,i){const s=(0,n.cg1)(t);N(s);const o=z([s[n.wAp.ExtraData][0],s[n.wAp.ExtraData][1]],e)||[];return z(o,i)||[]}(e,o,s),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=a>=e.hours&&c>=e.minutes,s=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case U.Short:return(s>=0?"+":"")+J(r,2,o)+J(Math.abs(s%60),2,o);case U.ShortGMT:return"GMT"+(s>=0?"+":"")+J(r,1,o);case U.Long:return"GMT"+(s>=0?"+":"")+J(r,2,o)+":"+J(Math.abs(s%60),2,o);case U.Extended:return 0===n?"Z":(s>=0?"+":"")+J(r,2,o)+":"+J(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t){return Y(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=X(i),e=function(t){const e=Y(t,0,1).getDay();return Y(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return J(s,t,M(n,I.MinusSign))}}function et(t,e=!1){return function(i,n){return J(X(i).getFullYear(),t,M(n,I.MinusSign),e)}}const it={};function nt(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class ot{}let rt=(()=>{class t extends ot{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(L(e||this.locale)(t)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.soG))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let ct=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ut{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 lt=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new ut(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new ht(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const o=new ht(t,s);e.push(o)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){gt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){gt("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function gt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,n.AaK)(e)}'.`)}class ft{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new ft(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),wt=(()=>{class t{constructor(t,e,i){i._addDefault(new ft(t,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),_t=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),yt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.TTD]}),t})();function At(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,n.AaK)(t)}'`)}class vt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Tt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Ct=new Tt,St=new vt;let Et=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,n.QGY)(e))return Ct;if((0,n.F4k)(e))return St;throw At(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"async",type:t,pure:!1}),t})(),kt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw At(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"uppercase",type:t,pure:!0}),t})(),xt=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return G(e,i,s||this.locale,n)}catch(o){throw At(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.soG,16))},t.\u0275pipe=n.Yjl({name:"date",type:t,pure:!0}),t})(),Rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:ot,useClass:rt}]}),t})();const It="browser";function Ot(t){return t===It}function Pt(t){return"server"===t}let Dt=(()=>{class t{}return t.\u0275prov=(0,n.Yz7)({token:t,providedIn:"root",factory:()=>new Mt((0,n.LFG)(c),window)}),t})();class Mt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Lt(this.window.history)||Lt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Lt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Nt{}},29063:function(t,e,i){"use strict";i.d(e,{TP:function(){return I},eN:function(){return x},JF:function(){return q},WM:function(){return d},LE:function(){return m},Zn:function(){return S}});var n=i(61511),s=i(31572),o=i(40878),r=i(48318),a=i(436),c=i(43835),u=i(79996);class l{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function g(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function f(t){return`${t}`}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,o]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],r=i.get(s)||[];r.push(o),i.set(s,r)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(f(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(f(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function w(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class A{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new b),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),u)),new A(i,n,o,{params:u,headers:c,context:l,reportProgress:a,responseType:s,withCredentials:r})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class T{constructor(t,e=200,i="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends T{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends T{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends T{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function k(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let x=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof A)n=t;else{let s,o;s=i.headers instanceof d?i.headers:new d(i.headers),i.params&&(o=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new A(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:o,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=(0,o.of)(n).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof A||"events"===i.observe)return s;const r=s.pipe((0,c.h)(t=>t instanceof S));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe((0,u.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe((0,u.U)(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,k(i,e))}post(t,e,i={}){return this.request("POST",t,k(i,e))}put(t,e,i={}){return this.request("PUT",t,k(i,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class R{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new s.OlP("HTTP_INTERCEPTORS");let O=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const P=/^\)\]\}',?\n/;let D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.y(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",o=new d(i.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new C({headers:o,status:e,statusText:n,url:r}),s},r=()=>{let{headers:n,status:s,statusText:r,url:a}=o(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(P,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new S({body:c,headers:n,status:s,statusText:r,url:a||void 0})),e.complete()):e.error(new E({error:c,headers:n,status:s,statusText:r,url:a||void 0}))},a=t=>{const{url:n}=o(),s=new E({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const u=n=>{c||(e.next(o()),c=!0);let s={type:v.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},l=t=>{let i={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",r),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:v.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",r),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",u),null!==n&&i.upload&&i.upload.removeEventListener("progress",l)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),L=new s.OlP("XSRF_HEADER_NAME");class N{}let z=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(N),s.LFG(L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new R(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:F,useClass:O}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[F,{provide:I,useExisting:F,multi:!0},{provide:N,useClass:z},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[x,{provide:l,useClass:Z},D,{provide:h,useExisting:D}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},31572:function(t,e,i){"use strict";i.d(e,{deG:function(){return ni},tb:function(){return au},AFp:function(){return iu},ip1:function(){return tu},CZH:function(){return eu},hGG:function(){return tl},z2F:function(){return ju},sBO:function(){return Ya},Sil:function(){return wu},_Vd:function(){return ma},EJc:function(){return lu},SBq:function(){return ya},qLn:function(){return Tn},vpe:function(){return Mc},gxx:function(){return po},tBr:function(){return Ti},XFs:function(){return R},OlP:function(){return ii},zs3:function(){return xo},ZZ4:function(){return Za},aQg:function(){return qa},soG:function(){return uu},YKP:function(){return ic},v3s:function(){return Yu},h0i:function(){return ec},PXZ:function(){return Zu},R0b:function(){return Au},FiY:function(){return Ci},Lbi:function(){return ru},g9A:function(){return ou},n_E:function(){return Nc},Qsj:function(){return Ta},FYo:function(){return va},JOm:function(){return Rn},Tiy:function(){return Sa},q3G:function(){return gn},tp0:function(){return Si},EAV:function(){return Ju},Rgc:function(){return Qa},dDg:function(){return xu},DyG:function(){return si},GfV:function(){return Ea},s_b:function(){return sc},ifc:function(){return L},eFA:function(){return Bu},G48:function(){return zu},Gpc:function(){return p},f3M:function(){return yi},X6Q:function(){return Nu},_c5:function(){return Wu},VLi:function(){return Ou},c2e:function(){return cu},zSh:function(){return fo},wAp:function(){return na},vHH:function(){return m},EiD:function(){return dn},mCW:function(){return Ki},qzn:function(){return zi},JVY:function(){return Zi},pB0:function(){return Hi},eBb:function(){return qi},L6k:function(){return Bi},LAX:function(){return Ui},cg1:function(){return ta},Tjo:function(){return Qu},kL8:function(){return ea},yhl:function(){return Fi},dqk:function(){return B},sIi:function(){return Fo},CqO:function(){return cr},QGY:function(){return rr},F4k:function(){return ar},RDi:function(){return Tt},AaK:function(){return l},z3N:function(){return Ni},qOj:function(){return Io},TTD:function(){return bt},_Bn:function(){return pa},xp6:function(){return fs},uIk:function(){return Go},Tol:function(){return Rr},Gre:function(){return Kr},ekj:function(){return xr},Suo:function(){return Kc},Xpm:function(){return Q},lG2:function(){return ot},Yz7:function(){return y},cJS:function(){return A},oAB:function(){return it},Yjl:function(){return rt},Y36:function(){return $o},_UZ:function(){return er},GkF:function(){return sr},BQk:function(){return nr},ynx:function(){return ir},qZA:function(){return tr},TgZ:function(){return Xo},EpF:function(){return or},n5z:function(){return We},Ikx:function(){return Jr},LFG:function(){return _i},$8M:function(){return ti},NdJ:function(){return ur},CRH:function(){return Jc},kcU:function(){return be},O4$:function(){return me},oxw:function(){return gr},ALo:function(){return kc},lcZ:function(){return xc},xi3:function(){return Rc},Dn7:function(){return Ic},Hsn:function(){return br},F$t:function(){return mr},Q6J:function(){return Qo},s9C:function(){return wr},MGl:function(){return _r},hYB:function(){return yr},DdM:function(){return _c},VKq:function(){return yc},WLB:function(){return Ac},kEZ:function(){return vc},iGM:function(){return Yc},MAs:function(){return Jo},pYS:function(){return kn},evT:function(){return En},Jf7:function(){return Sn},CHM:function(){return Ut},oJD:function(){return fn},LSH:function(){return mn},B6R:function(){return W},kYT:function(){return nt},Udp:function(){return kr},WFA:function(){return lr},d8E:function(){return $r},YNc:function(){return Ko},W1O:function(){return Xc},_uU:function(){return qr},Oqu:function(){return Ur},hij:function(){return Hr},AsE:function(){return jr},lnq:function(){return Gr},HOy:function(){return Yr},xDo:function(){return Vr},Gf:function(){return Vc}});var n=i(55959),s=i(87570),o=i(48318),r=i(31906),a=i(1055);function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function u(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function l(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(l).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return l(this())},t}function g(t){return f(t)?t():t}function f(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function w(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function _(t,e){const i=e?` in ${e}`:"";throw new m("201",`No provider for ${w(t)} found${i}`)}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function A(t){return{providers:t.providers||[],imports:t.imports||[]}}function v(t){return T(t,S)||T(t,k)}function T(t,e){return t.hasOwnProperty(e)?t[e]:null}function C(t){return t&&(t.hasOwnProperty(E)||t.hasOwnProperty(x))?t[E]:null}const S=c({"\u0275prov":c}),E=c({"\u0275inj":c}),k=c({ngInjectableDef:c}),x=c({ngInjectorDef:c});var R=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let I;function O(t){const e=I;return I=t,e}function P(t,e,i){const n=v(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&R.Optional?null:void 0!==e?e:void _(l(t),"Injector")}function D(t){return{toString:t}.toString()}var M=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),L=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const N="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,F="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,B=N||Z||z||F,q={},U=[],H=c({"\u0275cmp":c}),j=c({"\u0275dir":c}),G=c({"\u0275pipe":c}),Y=c({"\u0275mod":c}),V=c({"\u0275loc":c}),K=c({"\u0275fac":c}),J=c({__NG_ELEMENT_ID__:c});let $=0;function Q(t){return D(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===M.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||U,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||L.Emulated,id:"c",styles:t.styles||U,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,o=t.pipes;return i.id+=$++,i.inputs=st(t.inputs,e),i.outputs=st(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(X):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(tt):null,i})}function W(t,e,i){const n=t.\u0275cmp;n.directiveDefs=()=>e.map(X),n.pipeDefs=()=>i.map(tt)}function X(t){return at(t)||function(t){return t[j]||null}(t)}function tt(t){return function(t){return t[G]||null}(t)}const et={};function it(t){return D(()=>{const e={type:t.type,bootstrap:t.bootstrap||U,declarations:t.declarations||U,imports:t.imports||U,exports:t.exports||U,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function nt(t,e){return D(()=>{const i=ct(t,!0);i.declarations=e.declarations||U,i.imports=e.imports||U,i.exports=e.exports||U})}function st(t,e){if(null==t)return q;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),i[s]=n,e&&(e[s]=o)}return i}const ot=Q;function rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[H]||null}function ct(t,e){const i=t[Y]||null;if(!i&&!0===e)throw new Error(`Type ${l(t)} does not have '\u0275mod' property.`);return i}function ut(t){return Array.isArray(t)&&"object"==typeof t[1]}function lt(t){return Array.isArray(t)&&!0===t[1]}function ht(t){return 0!=(8&t.flags)}function dt(t){return 2==(2&t.flags)}function pt(t){return 1==(1&t.flags)}function gt(t){return null!==t.template}function ft(t,e){return t.hasOwnProperty(K)?t[K]:null}class mt{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function bt(){return wt}function wt(t){return t.type.prototype.ngOnChanges&&(t.setInput=yt),_t}function _t(){const t=At(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===q)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yt(t,e,i,n){const s=At(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:q,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[i],c=r[a];o[a]=new mt(c&&c.currentValue,e,r===q),t[n]=e}function At(t){return t.__ngSimpleChanges__||null}let vt;function Tt(t){vt=t}function Ct(){return void 0!==vt?vt:"undefined"!=typeof document?document:void 0}function St(t){return!!t.listen}bt.ngInherit=!0;const Et={createRenderer:(t,e)=>Ct()};function kt(t){for(;Array.isArray(t);)t=t[0];return t}function xt(t,e){return kt(e[t])}function Rt(t,e){return kt(e[t.index])}function It(t,e){return t.data[e]}function Ot(t,e){return t[e]}function Pt(t,e){const i=e[t];return ut(i)?i:i[0]}function Dt(t){return 4==(4&t[2])}function Mt(t){return 128==(128&t[2])}function Lt(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function zt(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const Ft={lFrame:ue(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zt(){return Ft.bindingsEnabled}function Bt(){return Ft.lFrame.lView}function qt(){return Ft.lFrame.tView}function Ut(t){return Ft.lFrame.contextLView=t,t[8]}function Ht(){let t=jt();for(;null!==t&&64===t.type;)t=t.parent;return t}function jt(){return Ft.lFrame.currentTNode}function Gt(t,e){const i=Ft.lFrame;i.currentTNode=t,i.isParent=e}function Yt(){return Ft.lFrame.isParent}function Vt(){Ft.lFrame.isParent=!1}function Kt(){return Ft.isInCheckNoChangesMode}function Jt(t){Ft.isInCheckNoChangesMode=t}function $t(){const t=Ft.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qt(){return Ft.lFrame.bindingIndex}function Wt(){return Ft.lFrame.bindingIndex++}function Xt(t){const e=Ft.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function te(t,e){const i=Ft.lFrame;i.bindingIndex=i.bindingRootIndex=t,ee(e)}function ee(t){Ft.lFrame.currentDirectiveIndex=t}function ie(t){const e=Ft.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ne(){return Ft.lFrame.currentQueryIndex}function se(t){Ft.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function re(t,e,i){if(i&R.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&R.Host||(n=oe(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=Ft.lFrame=ce();return n.currentTNode=e,n.lView=t,!0}function ae(t){const e=ce(),i=t[1];Ft.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function ce(){const t=Ft.lFrame,e=null===t?null:t.child;return null===e?ue(t):e}function ue(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function le(){const t=Ft.lFrame;return Ft.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const he=le;function de(){const t=le();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pe(){return Ft.lFrame.selectedIndex}function ge(t){Ft.lFrame.selectedIndex=t}function fe(){const t=Ft.lFrame;return It(t.tView,t.selectedIndex)}function me(){Ft.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function be(){Ft.lFrame.currentNamespace=null}function we(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(r>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(r)}finally{}}}else try{o.call(r)}finally{}}class Ce{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Se(t,e,i){const n=St(t);let s=0;for(;se){r=o-1;break}}}for(;o>16,n=e;for(;i>0;)n=n[15],i--;return n}let De=!0;function Me(t){const e=De;return De=t,e}let Le=0;function Ne(t,e){const i=Fe(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,ze(n.data,t),ze(e,null),ze(n.blueprint,null));const s=Ze(t,e),o=t.injectorIndex;if(Ie(s)){const t=Oe(s),i=Pe(s,e),n=i[1].data;for(let s=0;s<8;s++)e[o+s]=i[t+s]|n[t+s]}return e[o+8]=s,o}function ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ze(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return-1;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function Be(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(J)&&(n=i[J]),null==n&&(n=i[J]=Le++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:Ge:e}(i);if("function"==typeof o){if(!re(e,t,n))return n&R.Host?qe(s,i,n):Ue(e,i,n,s);try{const t=o(n);if(null!=t||n&R.Optional)return t;_(i)}finally{he()}}else if("number"==typeof o){let s=null,r=Fe(t,e),a=-1,c=n&R.Host?e[16][6]:null;for((-1===r||n&R.SkipSelf)&&(a=-1===r?Ze(t,e):e[r+8],-1!==a&&$e(n,!1)?(s=e[1],r=Oe(a),e=Pe(a,e)):r=-1);-1!==r;){const t=e[1];if(Je(o,r,t.data)){const t=Ye(r,e,i,s,n,c);if(t!==je)return t}a=e[r+8],-1!==a&&$e(n,e[1].data[r+8]===c)&&Je(o,r,e)?(s=t,r=Oe(a),e=Pe(a,e)):r=-1}}}return Ue(e,i,n,s)}const je={};function Ge(){return new Qe(Ht(),Bt())}function Ye(t,e,i,n,s,o){const r=e[1],a=r.data[t+8],c=Ve(a,r,i,null==n?dt(a)&&De:n!=r&&0!=(3&a.type),s&R.Host&&o===a);return null!==c?Ke(e,r,c,a):je}function Ve(t,e,i,n,s){const o=t.providerIndexes,r=e.data,a=1048575&o,c=t.directiveStart,u=o>>20,l=s?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(s){const t=r[c];if(t&>(t)&&t.type===i)return c}return null}function Ke(t,e,i,n){let s=t[i];const o=e.data;if(s instanceof Ce){const r=s;r.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(w(o[i]));const a=Me(r.canSeeViewProviders);r.resolving=!0;const c=r.injectImpl?O(r.injectImpl):null;re(t,n,R.Default);try{s=t[i]=r.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(n){const n=wt(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),o&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,o),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,o))}(i,o[i],e)}finally{null!==c&&O(c),Me(a),r.resolving=!1,he()}}return s}function Je(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[K]||Xe(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[K]||Xe(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Xe(t){return f(t)?()=>{const e=Xe(g(t));return e&&e()}:ft(t)}function ti(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class ii{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ni=new ii("AnalyzeForEntryComponents"),si=Function;function oi(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?ri(t,e):e(t))}function ai(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ci(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ui(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function hi(t,e){const i=di(t,e);if(i>=0)return t[1|i]}function di(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),o=t[i<<1];if(e===o)return i<<1;o>e?s=i:n=i+1}return~(s<<1)}(t,e)}const pi={},gi=/\n/gm,fi=c({provide:String,useValue:c});let mi;function bi(t){const e=mi;return mi=t,e}function wi(t,e=R.Default){if(void 0===mi)throw new Error("inject() must be called from an injection context");return null===mi?P(t,void 0,e):mi.get(t,e&R.Optional?null:void 0,e)}function _i(t,e=R.Default){return(I||wi)(g(t),e)}const yi=_i;function Ai(t){const e=[];for(let i=0;i({token:t})),-1),Ci=vi(ei("Optional"),8),Si=vi(ei("SkipSelf"),4);let Ei,ki;function xi(t){var e;return(null===(e=function(){if(void 0===Ei&&(Ei=null,B.trustedTypes))try{Ei=B.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Ei}())||void 0===e?void 0:e.createHTML(t))||t}function Ri(t){var e;return(null===(e=function(){if(void 0===ki&&(ki=null,B.trustedTypes))try{ki=B.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return ki}())||void 0===e?void 0:e.createHTML(t))||t}class Ii{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Oi extends Ii{getTypeName(){return"HTML"}}class Pi extends Ii{getTypeName(){return"Style"}}class Di extends Ii{getTypeName(){return"Script"}}class Mi extends Ii{getTypeName(){return"URL"}}class Li extends Ii{getTypeName(){return"ResourceURL"}}function Ni(t){return t instanceof Ii?t.changingThisBreaksApplicationSecurity:t}function zi(t,e){const i=Fi(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function Fi(t){return t instanceof Ii&&t.getTypeName()||null}function Zi(t){return new Oi(t)}function Bi(t){return new Pi(t)}function qi(t){return new Di(t)}function Ui(t){return new Mi(t)}function Hi(t){return new Li(t)}class ji{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(xi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Gi{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=xi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=xi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Ki(t.trim())).join(", ")),this.buf.push(" ",e,'="',ln(r),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();en.hasOwnProperty(e)&&!Qi.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(ln(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,un=/([^\#-~ |!])/g;function ln(t){return t.replace(/&/g,"&").replace(cn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(un,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let hn;function dn(t,e){let i=null;try{hn=hn||function(t){const e=new Gi(t);return function(){try{return!!(new window.DOMParser).parseFromString(xi(""),"text/html")}catch(t){return!1}}()?new ji(e):e}(t);let n=e?String(e):"";i=hn.getInertBodyElement(n);let s=5,o=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=o,o=i.innerHTML,i=hn.getInertBodyElement(n)}while(n!==o);return xi((new an).sanitizeChildren(pn(i)||i))}finally{if(i){const t=pn(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function pn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function fn(t){const e=bn();return e?Ri(e.sanitize(gn.HTML,t)||""):zi(t,"HTML")?Ri(Ni(t)):dn(Ct(),b(t))}function mn(t){const e=bn();return e?e.sanitize(gn.URL,t)||"":zi(t,"URL")?Ni(t):Ki(b(t))}function bn(){const t=Bt();return t&&t[12]}function wn(t,e){t.__ngContext__=e}function _n(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function yn(t){return t.ngDebugContext}function An(t){return t.ngOriginalError}function vn(t,...e){t.error(...e)}class Tn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||vn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?yn(t)?yn(t):this._findContext(An(t)):null}_findOriginalError(t){let e=An(t);for(;e&&An(e);)e=An(e);return e}}const Cn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function Sn(t){return t.ownerDocument.defaultView}function En(t){return t.ownerDocument}function kn(t){return t.ownerDocument.body}function xn(t){return t instanceof Function?t():t}var Rn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function In(t,e){return(void 0)(t,e)}function On(t){const e=t[3];return lt(e)?e[3]:e}function Pn(t){return Mn(t[13])}function Dn(t){return Mn(t[4])}function Mn(t){for(;null!==t&&!lt(t);)t=t[4];return t}function Ln(t,e,i,n,s){if(null!=n){let o,r=!1;lt(n)?o=n:ut(n)&&(r=!0,n=n[0]);const a=kt(n);0===t&&null!==i?null==s?Hn(e,i,a):Un(e,i,a,s||null,!0):1===t&&null!==i?Un(e,i,a,s||null,!0):2===t?function(t,e,i){const n=Gn(t,e);n&&function(t,e,i,n){St(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,r):3===t&&e.destroyNode(a),null!=o&&function(t,e,i,n,s){const o=i[7];o!==kt(i)&&Ln(e,t,n,o,s);for(let r=10;r0&&(t[i-1][4]=n[4]);const r=ci(t,10+e);Xn(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function Zn(t,e){if(!(256&e[2])){const i=e[11];St(i)&&i.destroyNode&&Xn(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return Bn(t[1],t);for(;e;){let i=null;if(ut(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)ut(e)&&Bn(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&Bn(e[1],e),i=e&&e[4]}e=i}}(e)}}function Bn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),o+=2}else{const t=n[s=i[o+1]];i[o].call(t)}if(null!==n){for(let t=s+1;to?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==ns(e,u,0)||2&n&&u!==t){if(cs(n))return!1;r=!0}}}}else{if(!r&&!cs(n)&&!cs(c))return!1;if(r&&cs(c))continue;r=!1,n=c|1&n}}return cs(n)||r}function cs(t){return 0==(1&t)}function us(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+r:4&n&&(s+=" "+r);else""===s||cs(r)||(e+=ds(o,s),s=""),n=r,o=o||!cs(n);i++}return""!==s&&(e+=ds(o,s)),e}const gs={};function fs(t){ms(qt(),Bt(),pe()+t,Kt())}function ms(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&_e(e,n,i)}else{const n=t.preOrderHooks;null!==n&&ye(e,n,0,i)}ge(i)}function bs(t,e){return t<<17|e<<2}function ws(t){return t>>17&32767}function _s(t){return 2|t}function ys(t){return(131068&t)>>2}function As(t,e){return-131069&t|e<<2}function vs(t){return 1|t}function Ts(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&ms(t,e,20,Kt()),i(n,s)}finally{ge(o)}}function Os(t,e,i){if(ht(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=o&&i.push(o),i.push(n,s,r)}}function qs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Us(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Hs(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&Qs(i)}}function Qs(t){for(let i=Pn(t);null!==i;i=Dn(i))for(let t=10;t0&&Qs(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Qs(n)}}function Ws(t,e){const i=Pt(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function oo(t){return t[7]||(t[7]=[])}function ro(t){return t.cleanup||(t.cleanup=[])}function ao(t,e,i){return(null===t||gt(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function co(t,e){const i=t[9],n=i?i.get(Tn,null):null;n&&n.handleError(e)}function uo(t,e,i,n,s){for(let o=0;othis.processProvider(i,t,e)),ri([t],t=>this.processInjectorType(t,[],s)),this.records.set(po,Co(void 0,this));const o=this.records.get(fo);this.scope=null!=o?o.value:null,this.source=n||("object"==typeof t?null:l(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=pi,i=R.Default){this.assertNotDestroyed();const n=bi(this);try{if(!(i&R.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof ii)&&v(t);e=i&&this.injectableDefInScope(i)?Co(vo(t),mo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&R.Self?_o():this.parent).get(t,e=i&R.Optional&&e===pi?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(l(t)),n)throw o;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=l(e);if(Array.isArray(e))s=e.map(l).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):l(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(gi,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{bi(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(l(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=g(t)))return!1;let n=C(t);const s=null==n&&t.ngModule||void 0,o=void 0===s?t:s,r=-1!==i.indexOf(o);if(void 0!==s&&(n=C(s)),null==n)return!1;if(null!=n.imports&&!r){let t;i.push(o);try{ri(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||U))}}this.injectorDefTypes.add(o);const a=ft(o)||(()=>new o);this.records.set(o,Co(a,mo));const c=n.providers;if(null!=c&&!r){const e=t;ri(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=Eo(t=g(t))?t:g(t&&t.provide);const s=function(t,e,i){return So(t)?Co(void 0,t.useValue):Co(To(t),mo)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=Co(void 0,mo,!0),e.factory=()=>Ai(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===mo&&(e.value=bo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function vo(t){const e=v(t),i=null!==e?e.factory:ft(t);if(null!==i)return i;if(t instanceof ii)throw new Error(`Token ${l(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=ui(e,"?");throw new Error(`Can't resolve all parameters for ${l(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[S]||t[k]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function To(t,e,i){let n;if(Eo(t)){const e=g(t);return ft(e)||vo(e)}if(So(t))n=()=>g(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...Ai(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>_i(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ft(e)||vo(e);n=()=>new e(...Ai(t.deps))}var s;return n}function Co(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function So(t){return null!==t&&"object"==typeof t&&fi in t}function Eo(t){return"function"==typeof t}const ko=function(t,e,i){return function(t,e=null,i=null,n){const s=yo(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let xo=(()=>{class t{static create(t,e){return Array.isArray(t)?ko(t,e,""):ko(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=pi,t.NULL=new go,t.\u0275prov=y({token:t,providedIn:"any",factory:()=>_i(po)}),t.__NG_ELEMENT_ID__=-1,t})();function Ro(t,e){we(_n(t)[1],Ht())}function Io(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(gt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=Oo(t.inputs),e.declaredInputs=Oo(t.declaredInputs),e.outputs=Oo(t.outputs);const i=s.hostBindings;i&&Mo(t,i);const o=s.viewQuery,r=s.contentQueries;if(o&&Po(t,o),r&&Do(t,r),u(t.inputs,s.inputs),u(t.declaredInputs,s.declaredInputs),u(t.outputs,s.outputs),gt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=xe(s.hostAttrs,i=xe(i,s.hostAttrs))}}(n)}function Oo(t){return t===q?{}:t===U?[]:t}function Po(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function Do(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function Mo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let Lo=null;function No(){if(!Lo){const t=B.Symbol;if(t&&t.iterator)Lo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(kt(t[n.index])):n.index;if(St(i)){let r=null;if(!a&&c&&(r=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let o=0;oi?t[i]:null}"string"==typeof t&&(o+=2)}return null}(t,e,s,n.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,h=!1;else{o=pr(n,e,0,o,!1);const t=i.listen(p,s,o);l.push(o,t),u&&u.push(s,f,g,g+1)}}else o=pr(n,e,0,o,!0),p.addEventListener(s,o,r),l.push(o),u&&u.push(s,f,g,r)}else o=pr(n,e,0,o,!1);const d=n.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,Ft.lFrame.contextLView))[8]}(t)}function fr(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cr(t){return t.substring(Tr.key,Tr.keyEnd)}function Sr(t,e){const i=Tr.textEnd;return i===e?-1:(e=Tr.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Tr.key=e,i),Er(t,e,i))}function Er(t,e,i){for(;e=0;i=Sr(e,i))li(t,Cr(e),!0)}function Or(t,e,i,n){const s=Bt(),o=qt(),r=Xt(2);o.firstUpdatePass&&Mr(o,t,r,n),e!==gs&&qo(s,r,e)&&zr(o,o.data[pe()],s,s[11],t,s[r+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=l(Ni(t)))),t}(e,i),n,r)}function Pr(t,e,i,n){const s=qt(),o=Xt(2);s.firstUpdatePass&&Mr(s,null,o,n);const r=Bt();if(i!==gs&&qo(r,o,i)){const a=s.data[pe()];if(Br(a,n)&&!Dr(s,o)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=h(t,i||"")),Wo(s,a,r,i,n)}else!function(t,e,i,n,s,o,r,a){s===gs&&(s=U);let c=0,u=0,l=0=t.expandoStartIndex}function Mr(t,e,i,n){const s=t.data;if(null===s[i+1]){const o=s[pe()],r=Dr(t,i);Br(o,n)&&null===e&&!r&&(e=!1),e=function(t,e,i,n){const s=ie(t);let o=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Nr(i=Lr(null,t,e,i,n),e.attrs,n),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(i=Lr(s,t,e,i,n),null===o){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==ys(n))return t[ws(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Lr(null,t,e,i[1],n),i=Nr(i,e.attrs,n),function(t,e,i,n){t[ws(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else o=function(t,e,i){let n;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=ws(t[a+1]);t[n+1]=bs(e,a),0!==e&&(t[e+1]=As(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=bs(a,0),0!==a&&(t[a+1]=As(t[a+1],n)),a=n;else t[n+1]=bs(c,0),0===a?a=n:t[c+1]=As(t[c+1],n),c=n;l&&(t[n+1]=_s(t[n+1])),Ar(t,u,n,!0),Ar(t,u,n,!1),function(t,e,i,n,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&di(o,e)>=0&&(i[n+1]=vs(i[n+1]))}(e,u,t,n,o),r=bs(a,c),o?e.classBindings=r:e.styleBindings=r}(s,o,e,i,r,n)}}function Lr(t,e,i,n,s){let o=null;const r=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],o=Array.isArray(e),c=o?e[1]:e,u=null===c;let l=i[s+1];l===gs&&(l=u?U:void 0);let h=u?hi(l,n):c===n?l:void 0;if(o&&!Zr(h)&&(h=hi(e,n)),Zr(h)&&(a=h,r))return a;const d=t[s+1];s=r?ws(d):ys(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=hi(t,n))}return a}function Zr(t){return void 0!==t}function Br(t,e){return 0!=(t.flags&(e?16:32))}function qr(t,e=""){const i=Bt(),n=qt(),s=t+20,o=n.firstCreatePass?Ss(n,s,1,e,null):n.data[s],r=i[s]=function(t,e){return St(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Kn(n,i,r,o),Gt(o,!1)}function Ur(t){return Hr("",t,""),Ur}function Hr(t,e,i){const n=Bt(),s=Yo(n,t,e,i);return s!==gs&&lo(n,pe(),s),Hr}function jr(t,e,i,n,s){const o=Bt(),r=Vo(o,t,e,i,n,s);return r!==gs&&lo(o,pe(),r),jr}function Gr(t,e,i,n,s,o,r){const a=Bt(),c=function(t,e,i,n,s,o,r,a){const c=Ho(t,Qt(),i,s,r);return Xt(3),c?e+b(i)+n+b(s)+o+b(r)+a:gs}(a,t,e,i,n,s,o,r);return c!==gs&&lo(a,pe(),c),Gr}function Yr(t,e,i,n,s,o,r,a,c){const u=Bt(),l=function(t,e,i,n,s,o,r,a,c,u){const l=jo(t,Qt(),i,s,r,c);return Xt(4),l?e+b(i)+n+b(s)+o+b(r)+a+b(c)+u:gs}(u,t,e,i,n,s,o,r,a,c);return l!==gs&&lo(u,pe(),l),Yr}function Vr(t,e,i,n,s,o,r,a,c,u,l){const h=Bt(),d=function(t,e,i,n,s,o,r,a,c,u,l,h){const d=Qt();let p=jo(t,d,i,s,r,c);return p=qo(t,d+4,l)||p,Xt(5),p?e+b(i)+n+b(s)+o+b(r)+a+b(c)+u+b(l)+h:gs}(h,t,e,i,n,s,o,r,a,c,u,l);return d!==gs&&lo(h,pe(),d),Vr}function Kr(t,e,i){Pr(li,Ir,Yo(Bt(),t,e,i),!0)}function Jr(t,e,i){const n=Bt();return qo(n,Wt(),e)&&Fs(qt(),fe(),n,t,e,n[11],i,!0),Jr}function $r(t,e,i){const n=Bt();if(qo(n,Wt(),e)){const s=qt(),o=fe();Fs(s,o,n,t,e,ao(ie(s.data),o,n),i,!0)}return $r}const Qr=void 0;var Wr=["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(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Xr={};function ta(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=ia(e);if(i)return i;const n=e.split("-")[0];if(i=ia(n),i)return i;if("en"===n)return Wr;throw new Error(`Missing locale data for the locale "${t}".`)}function ea(t){return ta(t)[na.PluralCase]}function ia(t){return t in Xr||(Xr[t]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[t]),Xr[t]}var na=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let sa="en-US";function oa(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(sa=t.toLowerCase().replace(/_/g,"-"))}function ra(t,e,i,n,s){if(t=g(t),Array.isArray(t))for(let o=0;o>20;if(Eo(t)||!t.multi){const n=new Ce(c,s,$o),p=ua(a,e,s?l:l+d,h);-1===p?(Be(Ne(u,r),o,a),aa(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(n),r.push(n)):(i[p]=n,r[p]=n)}else{const p=ua(a,e,l+d,h),g=ua(a,e,l,l+d),f=p>=0&&i[p],m=g>=0&&i[g];if(s&&!m||!s&&!f){Be(Ne(u,r),o,a);const l=function(t,e,i,n,s){const o=new Ce(t,i,$o);return o.multi=[],o.index=e,o.componentProviders=0,ca(o,s,n&&!i),o}(s?ha:la,i.length,s,n,c);!s&&m&&(i[g].providerFactory=l),aa(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),r.push(l)}else aa(o,t,p>-1?p:g,ca(i[s?g:p],c,!s&&n));!s&&n&&m&&i[g].componentProviders++}}}function aa(t,e,i,n){const s=Eo(e);if(s||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const r=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=r.indexOf(i);-1===t?r.push(i,[n,o]):r[t+1].push(n,o)}else r.push(i,o)}}}function ca(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function ua(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=qt();if(n.firstCreatePass){const s=gt(t);ra(i,n.data,n.blueprint,s,!0),ra(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class ga{}class fa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${l(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ma=(()=>{class t{}return t.NULL=new fa,t})();function ba(...t){}function wa(t,e){return new ya(Rt(t,e))}const _a=function(){return wa(Ht(),Bt())};let ya=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=_a,t})();function Aa(t){return t instanceof ya?t.nativeElement:t}class va{}let Ta=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ca(),t})();const Ca=function(){const t=Bt(),e=Pt(Ht().index,t);return function(t){return t[11]}(ut(e)?e:t)};let Sa=(()=>{class t{}return t.\u0275prov=y({token:t,providedIn:"root",factory:()=>null}),t})();class Ea{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ka=new Ea("12.0.5");class xa{constructor(){}supports(t){return Fo(t)}create(t){return new Ia(t)}}const Ra=(t,e)=>e;class Ia{constructor(t){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=t||Ra}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(o&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new Oa(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Da),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Da),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Oa{constructor(t,e){this.item=t,this.trackById=e,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 Pa{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Da{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new Pa,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ma(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new za(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class za{constructor(t){this.key=t,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 Fa(){return new Za([new xa])}let Za=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Fa()),deps:[[t,new Si,new Ci]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=y({token:t,providedIn:"root",factory:Fa}),t})();function Ba(){return new qa([new La])}let qa=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ba()),deps:[[t,new Si,new Ci]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=y({token:t,providedIn:"root",factory:Ba}),t})();function Ua(t,e,i,n,s=!1){for(;null!==i;){const o=e[i.index];if(null!==o&&n.push(kt(o)),lt(o))for(let t=10;t-1&&(Fn(t,i),ci(e,i))}this._attachedToViewContainer=!1}Zn(this._lView[1],this._lView)}onDestroy(t){Ns(this._lView[1],this._lView,null,t)}markForCheck(){to(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){eo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){Jt(!0);try{eo(t,e,i)}finally{Jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Xn(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class ja extends Ha{constructor(t){super(t),this._view=t}detectChanges(){io(this._view)}checkNoChanges(){!function(t){Jt(!0);try{io(t)}finally{Jt(!1)}}(this._view)}get context(){return null}}const Ga=function(t){return function(t,e,i){if(dt(t)&&!i){const i=Pt(t.index,e);return new Ha(i,i)}return 47&t.type?new Ha(e[16],e):null}(Ht(),Bt(),16==(16&t))};let Ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ga,t})();const Va=[new La],Ka=new Za([new xa]),Ja=new qa(Va),$a=function(){return tc(Ht(),Bt())};let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=$a,t})();const Wa=Qa,Xa=class extends Wa{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Cs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),ks(e,i,t),new Ha(i)}};function tc(t,e){return 4&t.type?new Xa(e,t,wa(t,e)):null}class ec{}class ic{}const nc=function(){return uc(Ht(),Bt())};let sc=(()=>{class t{}return t.__NG_ELEMENT_ID__=nc,t})();const oc=sc,rc=class extends oc{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ze(this._hostTNode,this._hostLView);if(Ie(t)){const e=Pe(t,this._hostLView),i=Oe(t);return new Qe(e[1].data[i+8],e)}return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ac(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const o=i||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(ec,null);t&&(s=t)}const r=t.create(o,n,void 0,s);return this.insert(r.hostView,e),r}insert(t,e){const i=t._lView,n=i[1];if(lt(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new rc(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,i,n){const s=10+n,o=i.length;n>0&&(i[s-1][4]=e),nCn});class gc extends ga{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ps).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return dc(this.componentDef.inputs)}get outputs(){return dc(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const o=t.get(i,lc,s);return o!==lc||n===lc?o:e.get(i,n,s)}}}(t,n.injector):t,o=s.get(va,Et),r=s.get(Sa,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(St(t))return t.selectRootElement(e,i===L.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Nn(o.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:Cn,clean:so,playerHandler:null,flags:0},d=Ls(0,null,null,1,0,null,null,null,null,null),p=Cs(null,d,h,l,null,null,o,a,r,s);let g,f;ae(p);try{const t=function(t,e,i,n,s,o){const r=i[1];i[20]=t;const a=Ss(r,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(ho(a,c,!0),null!==t&&(Se(s,t,c),null!==a.classes&&is(s,t,a.classes),null!==a.styles&&es(s,t,a.styles)));const u=n.createRenderer(t,e),l=Cs(i,Ms(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return r.firstCreatePass&&(Be(Ne(a,i),r,e.type),Us(r,a),js(a,i.length,1)),Xs(i,l),i[20]=l}(u,this.componentDef,p,o,a);if(u)if(i)Se(a,u,["ng-version",ka.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&is(a,u,e.join(" "))}if(f=It(d,20),void 0!==e){const t=f.projection=[];for(let i=0;it(r,e)),e.contentQueries){const t=Ht();e.contentQueries(1,r,t.directiveStart)}const a=Ht();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ge(a.index),Bs(i[1],a,0,a.directiveStart,a.directiveEnd,e),qs(e,r)),r}(t,this.componentDef,p,h,[Ro]),ks(d,p,null)}finally{de()}return new fc(this.componentType,g,wa(f,p),p,f)}}class fc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new ja(n),this.componentType=t}get injector(){return new Qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const mc=new Map;class bc extends ec{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hc(this);const i=ct(t),n=t[V]||null;n&&oa(n),this._bootstrapComponents=xn(i.bootstrap),this._r3Injector=yo(t,e,[{provide:ec,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],l(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=xo.THROW_IF_NOT_FOUND,i=R.Default){return t===xo||t===ec||t===po?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wc extends ic{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(i){const n=ct(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${l(e)} vs ${l(e.name)}`)}(s,mc.get(s),i),mc.set(s,i));const o=xn(n.imports);for(const r of o)e.has(r)||(e.add(r),t(r))}(t)}(t)}create(t){return new bc(this.moduleType,t)}}function _c(t,e,i){const n=$t()+t,s=Bt();return s[n]===gs?Bo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function yc(t,e,i,n){return Cc(Bt(),$t(),t,e,i,n)}function Ac(t,e,i,n,s){return Sc(Bt(),$t(),t,e,i,n,s)}function vc(t,e,i,n,s,o){return Ec(Bt(),$t(),t,e,i,n,s,o)}function Tc(t,e){const i=t[e];return i===gs?void 0:i}function Cc(t,e,i,n,s,o){const r=e+i;return qo(t,r,s)?Bo(t,r+1,o?n.call(o,s):n(s)):Tc(t,r+1)}function Sc(t,e,i,n,s,o,r){const a=e+i;return Uo(t,a,s,o)?Bo(t,a+2,r?n.call(r,s,o):n(s,o)):Tc(t,a+2)}function Ec(t,e,i,n,s,o,r,a){const c=e+i;return Ho(t,c,s,o,r)?Bo(t,c+3,a?n.call(a,s,o,r):n(s,o,r)):Tc(t,c+3)}function kc(t,e){const i=qt();let n;const s=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new m("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const o=n.factory||(n.factory=ft(n.type)),r=O($o);try{const t=Me(!1),e=o();return Me(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,Bt(),s,e),e}finally{O(r)}}function xc(t,e,i){const n=t+20,s=Bt(),o=Ot(s,n);return Pc(s,Oc(s,n)?Cc(s,$t(),e,o.transform,i,o):o.transform(i))}function Rc(t,e,i,n){const s=t+20,o=Bt(),r=Ot(o,s);return Pc(o,Oc(o,s)?Sc(o,$t(),e,r.transform,i,n,r):r.transform(i,n))}function Ic(t,e,i,n,s){const o=t+20,r=Bt(),a=Ot(r,o);return Pc(r,Oc(r,o)?Ec(r,$t(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function Oc(t,e){return t[1].data[e].pure}function Pc(t,e){return zo.isWrapped(e)&&(e=zo.unwrap(e),t[Qt()]=gs),e}function Dc(t){return e=>{setTimeout(t,void 0,e)}}const Mc=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,o,r;let a=t,c=e||(()=>null),u=i;if(t&&"object"==typeof t){const e=t;a=null===(n=e.next)||void 0===n?void 0:n.bind(e),c=null===(o=e.error)||void 0===o?void 0:o.bind(e),u=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(c=Dc(c),a&&(a=Dc(a)),u&&(u=Dc(u)));const l=super.subscribe({next:a,error:c,complete:u});return t instanceof s.w&&t.add(l),l}};function Lc(){return this._results[No()]()}class Nc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=No(),i=Nc.prototype;i[e]||(i[e]=Lc)}get changes(){return this._changes||(this._changes=new Mc)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const i=oi(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(r[t/2]);else{const s=o[t+1],r=e[-i];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=ba,this.reject=ba,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(_i(tu,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const iu=new ii("AppId"),nu={provide:iu,useFactory:function(){return`${su()}${su()}${su()}`},deps:[]};function su(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ou=new ii("Platform Initializer"),ru=new ii("Platform ID"),au=new ii("appBootstrapListener");let cu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const uu=new ii("LocaleId"),lu=new ii("DefaultCurrencyCode");class hu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const du=function(t){return new wc(t)},pu=du,gu=function(t){return Promise.resolve(du(t))},fu=function(t){const e=du(t),i=xn(ct(t).declarations).reduce((t,e)=>{const i=at(e);return i&&t.push(new gc(i)),t},[]);return new hu(e,i)},mu=fu,bu=function(t){return Promise.resolve(fu(t))};let wu=(()=>{class t{constructor(){this.compileModuleSync=pu,this.compileModuleAsync=gu,this.compileModuleAndAllComponentsSync=mu,this.compileModuleAndAllComponentsAsync=bu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const _u=(()=>Promise.resolve(0))();function yu(t){"undefined"==typeof Zone?_u.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Au{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mc(!1),this.onMicrotaskEmpty=new Mc(!1),this.onStable=new Mc(!1),this.onError=new Mc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!i&&e,this.shouldCoalesceRunChangeDetection=i,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=B.requestAnimationFrame,e=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(B,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Cu(t),t.isCheckStableRunning=!0,Tu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Cu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,o,r,a)=>{try{return Su(t),i.invokeTask(s,o,r,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Eu(t)}},onInvoke:(i,n,s,o,r,a,c)=>{try{return Su(t),i.invoke(s,o,r,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Eu(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Cu(t),Tu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Au.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Au.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+n,t,vu,ba,ba);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const vu={};function Tu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Cu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Su(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Eu(t){t._nesting--,Tu(t)}class ku{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mc,this.onMicrotaskEmpty=new Mc,this.onStable=new Mc,this.onError=new Mc}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let xu=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Au.assertNotInAngularZone(),yu(()=>{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())yu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(_i(Au))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})(),Ru=(()=>{class t{constructor(){this._applications=new Map,Du.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Du.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();class Iu{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}function Ou(t){Du=t}let Pu,Du=new Iu,Mu=!0,Lu=!1;function Nu(){return Lu=!0,Mu}function zu(){if(Lu)throw new Error("Cannot enable prod mode after platform setup.");Mu=!1}const Fu=new ii("AllowMultipleToken");class Zu{constructor(t,e){this.name=t,this.token=e}}function Bu(t,e,i=[]){const n=`Platform: ${e}`,s=new ii(n);return(e=[])=>{let o=qu();if(!o||o.injector.get(Fu,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:fo,useValue:"platform"});!function(t){if(Pu&&!Pu.destroyed&&!Pu.injector.get(Fu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Pu=t.get(Uu);const e=t.get(ou,null);e&&e.forEach(t=>t())}(xo.create({providers:t,name:n}))}return function(t){const e=qu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function qu(){return Pu&&!Pu.destroyed?Pu:null}let Uu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new ku:("zone.js"===t?void 0:t)||new Au({enableLongStackTrace:Nu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:Au,useValue:i}];return i.run(()=>{const e=xo.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Tn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{o.handleError(t)}});s.onDestroy(()=>{Gu(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return rr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(o,i,()=>{const t=s.injector.get(eu);return t.runInitializers(),t.donePromise.then(()=>(oa(s.injector.get(uu,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=Hu({},e);return function(t,e,i){const n=new wc(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(ju);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${l(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(_i(xo))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function Hu(t,e){return Array.isArray(e)?e.reduce(Hu,t):Object.assign(Object.assign({},t),e)}let ju=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 c=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Au.assertNotInAngularZone(),yu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Au.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=(0,r.T)(c,u.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof ga?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(ec),s=i.create(xo.NULL,[],e||i.selector,n),o=s.location.nativeElement,r=s.injector.get(xu,null),a=r&&s.injector.get(Ru);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),Gu(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Gu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(au,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(_i(Au),_i(xo),_i(Tn),_i(ma),_i(eu))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function Gu(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Yu{}class Vu{}const Ku={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ju=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Ku}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(27622)(e).then(t=>t[n]).then(t=>$u(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(27622)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>$u(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(_i(wu),_i(Vu,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function $u(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const Qu=function(t){return null},Wu=Bu(null,"core",[{provide:ru,useValue:"unknown"},{provide:Uu,deps:[xo]},{provide:Ru,deps:[]},{provide:cu,deps:[]}]),Xu=[{provide:ju,useClass:ju,deps:[Au,xo,Tn,ma,eu]},{provide:pc,deps:[Au],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:eu,useClass:eu,deps:[[new Ci,tu]]},{provide:wu,useClass:wu,deps:[]},nu,{provide:Za,useFactory:function(){return Ka},deps:[]},{provide:qa,useFactory:function(){return Ja},deps:[]},{provide:uu,useFactory:function(t){return oa(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Ti(uu),new Ci,new Si]]},{provide:lu,useValue:"USD"}];let tl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(_i(ju))},t.\u0275mod=it({type:t}),t.\u0275inj=A({providers:Xu}),t})()},16073:function(t,e,i){"use strict";i.d(e,{Zs:function(){return zt},gN:function(){return z},Fj:function(){return p},qu:function(){return Ht},NI:function(){return rt},oH:function(){return At},u:function(){return St},sg:function(){return Tt},u5:function(){return qt},Cf:function(){return m},JU:function(){return l},a5:function(){return F},JJ:function(){return B},JL:function(){return q},F:function(){return ht},On:function(){return gt},YN:function(){return Rt},wV:function(){return bt},c5:function(){return Zt},UX:function(){return Ut},Q7:function(){return Nt},EJ:function(){return xt},kI:function(){return _},_Y:function(){return ft},Kr:function(){return Dt}});var n=i(31572),s=i(61511),o=i(19764),r=i(3148),a=i(79996);let c=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t}),t})(),u=(()=>{class t extends c{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const l=new n.OlP("NgValueAccessor"),h={provide:l,useExisting:(0,n.Gpc)(()=>p),multi:!0},d=new n.OlP("CompositionEventMode");let p=(()=>{class t extends c{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(d,8))},t.\u0275dir=n.lG2({type:t,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(t,e){1&t&&n.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[n._Bn([h]),n.qOj]}),t})();function g(t){return null==t||0===t.length}function f(t){return null!=t&&"number"==typeof t.length}const m=new n.OlP("NgValidators"),b=new n.OlP("NgAsyncValidators"),w=/^(?=.{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 _{static min(t){return function(t){return e=>{if(g(e.value)||g(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(g(e.value)||g(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return y(t)}static requiredTrue(t){return A(t)}static email(t){return function(t){return g(t.value)||w.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>g(e.value)||!f(e.value)?null:e.value.lengthf(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return v(t)}static nullValidator(t){return null}static compose(t){return R(t)}static composeAsync(t){return O(t)}}function y(t){return g(t.value)?{required:!0}:null}function A(t){return!0===t.value?null:{required:!0}}function v(t){if(!t)return T;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(g(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function T(t){return null}function C(t){return null!=t}function S(t){const e=(0,n.QGY)(t)?(0,o.D)(t):t;return(0,n.CqO)(e),e}function E(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function k(t,e){return e.map(e=>e(t))}function x(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function R(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return E(k(t,e))}}function I(t){return null!=t?R(x(t)):null}function O(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const i=k(t,e).map(S);return(0,r.D)(i).pipe((0,a.U)(E))}}function P(t){return null!=t?O(x(t)):null}function D(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function M(t){return t._rawValidators}function L(t){return t._rawAsyncValidators}let N=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=I(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t}),t})(),z=(()=>{class t extends N{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();class F extends N{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Z{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let B=(()=>{class t extends Z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(F,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t})(),q=(()=>{class t extends Z{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(z,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t})();function U(t,e){return[...e.path,t]}function H(t,e){Y(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&K(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&K(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function j(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),V(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function G(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Y(t,e){const i=M(t);null!==e.validator?t.setValidators(D(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=L(t);null!==e.asyncValidator?t.setAsyncValidators(D(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();G(e._rawValidators,s),G(e._rawAsyncValidators,s)}function V(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=M(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=L(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return G(e._rawValidators,n),G(e._rawAsyncValidators,n),i}function K(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function J(t,e){Y(t,e)}function $(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Q(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function W(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===p?i=t:Object.getPrototypeOf(t.constructor)===u?n=t:s=t}),s||n||i||null}function X(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function tt(t){return(st(t)?t.validators:t)||null}function et(t){return Array.isArray(t)?I(t):t||null}function it(t,e){return(st(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?P(t):t||null}function st(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ot{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=et(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=et(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=S(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof at?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof ct&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){st(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class rt extends ot{constructor(t=null,e,i){super(tt(e),it(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){X(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){X(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class at extends ot{constructor(t,e,i){super(tt(e),it(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof rt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class ct extends ot{constructor(t,e,i){super(tt(e),it(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof rt?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const ut={provide:z,useExisting:(0,n.Gpc)(()=>ht)},lt=(()=>Promise.resolve(null))();let ht=(()=>{class t extends z{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.vpe,this.form=new at({},I(t),P(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){lt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),H(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){lt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),X(this._directives,t)})}addFormGroup(t){lt.then(()=>{const e=this._findContainer(t.path),i=new at({});J(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){lt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){lt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Q(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10))},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ut]),n.qOj]}),t})();const dt={provide:F,useExisting:(0,n.Gpc)(()=>gt)},pt=(()=>Promise.resolve(null))();let gt=(()=>{class t extends F{constructor(t,e,i,s){super(),this.control=new rt,this._registered=!1,this.update=new n.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=W(0,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),$(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?U(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){H(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(t){pt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;pt.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(z,9),n.Y36(m,10),n.Y36(b,10),n.Y36(l,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([dt]),n.qOj,n.TTD]}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const mt={provide:l,useExisting:(0,n.Gpc)(()=>bt),multi:!0};let bt=(()=>{class t extends u{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&n.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[n._Bn([mt]),n.qOj]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const _t=new n.OlP("NgModelWithFormControlWarning"),yt={provide:F,useExisting:(0,n.Gpc)(()=>At)};let At=(()=>{class t extends F{constructor(t,e,i,s){super(),this._ngModelWarningConfig=s,this.update=new n.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=W(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&j(e,this,!1),H(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}$(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&j(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10),n.Y36(l,10),n.Y36(_t,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([yt]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t})();const vt={provide:z,useExisting:(0,n.Gpc)(()=>Tt)};let Tt=(()=>{class t extends z{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(V(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return H(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){j(t.control||null,t,!1),X(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Q(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(j(e||null,t),i instanceof rt&&(H(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);J(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return V(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&V(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([vt]),n.qOj,n.TTD]}),t})();const Ct={provide:F,useExisting:(0,n.Gpc)(()=>St)};let St=(()=>{class t extends F{constructor(t,e,i,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=W(0,s)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),$(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return U(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 t.\u0275fac=function(e){return new(e||t)(n.Y36(z,13),n.Y36(m,10),n.Y36(b,10),n.Y36(l,10),n.Y36(_t,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([Ct]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t})();const Et={provide:l,useExisting:(0,n.Gpc)(()=>xt),multi:!0};function kt(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let xt=(()=>{class t extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);const i=kt(e,t);this.setProperty("value",i)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&n.NdJ("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([Et]),n.qOj]}),t})(),Rt=(()=>{class t{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(kt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(xt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const It={provide:l,useExisting:(0,n.Gpc)(()=>Pt),multi:!0};function Ot(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Pt=(()=>{class t extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{class t{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Pt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Mt={provide:m,useExisting:(0,n.Gpc)(()=>Nt),multi:!0},Lt={provide:m,useExisting:(0,n.Gpc)(()=>zt),multi:!0};let Nt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?y(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[n._Bn([Mt])]}),t})(),zt=(()=>{class t extends Nt{validate(t){return this.required?A(t):null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("required",e.required?"":null)},features:[n._Bn([Lt]),n.qOj]}),t})();const Ft={provide:m,useExisting:(0,n.Gpc)(()=>Zt),multi:!0};let Zt=(()=>{class t{constructor(){this._validator=T}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=v(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[n._Bn([Ft]),n.TTD]}),t})(),Bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[wt]]}),t})(),qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[Bt]}),t})(),Ut=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:_t,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[Bt]}),t})(),Ht=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n,s=null,o=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,n=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new at(i,{asyncValidators:o,updateOn:n,validators:s})}control(t,e,i){return new rt(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new ct(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach(i=>{e[i]=this._createControl(t[i])}),e}_createControl(t){return t instanceof rt||t instanceof at||t instanceof ct?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:function(){return new t},token:t,providedIn:Ut}),t})()},40084:function(t,e,i){"use strict";i.d(e,{XC:function(){return z},Bb:function(){return H},ZL:function(){return U}});var n=i(24621),s=i(19861),o=i(11353),r=i(31572),a=i(71522),c=i(87570),u=i(55959),l=i(31450),h=i(31906),d=i(40878),p=i(87254),g=i(61511),f=i(2522),m=i(4253),b=i(75842),w=i(26899),_=i(16073),y=i(66283),A=i(90611),v=i(44689),T=i(43835),C=i(79996),S=i(66599),E=i(82628),k=i(22526);const x=["panel"];function R(t,e){if(1&t&&(r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA()),2&t){const t=e.id,i=r.oxw();r.Q6J("id",i.id)("ngClass",i._classList),r.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const I=["*"];let O=0;class P{constructor(t,e){this.source=t,this.option=e}}class D{}const M=(0,a.Kr)(D),L=new r.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let N=(()=>{class t extends M{constructor(t,e,i,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=c.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new r.vpe,this.opened=new r.vpe,this.closed=new r.vpe,this.optionActivated=new r.vpe,this._classList={},this.id="mat-autocomplete-"+O++,this.inertGroups=(null==n?void 0:n.SAFARI)||!1,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=(0,s.Ig)(t)}set classList(t){this._classList=t&&t.length?(0,s.du)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(L),r.Y36(o.t4))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(r.Rgc,7),r.Gf(x,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.template=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[r.qOj]}),t})(),z=(()=>{class t extends N{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,a.K7,5),r.Suo(i,a.ey,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.optionGroups=t),r.iGM(t=r.CRH())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[r._Bn([{provide:a.HF,useExisting:t}]),r.qOj],ngContentSelectors:I,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,R,3,4,"ng-template"))},directives:[g.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}),t})();const F=new r.OlP("mat-autocomplete-scroll-strategy"),Z={provide:F,deps:[f.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},B={provide:_.JU,useExisting:(0,r.Gpc)(()=>U),multi:!0};let q=(()=>{class t{constructor(t,e,i,n,s,o,r,a,d,p,g){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=s,this._dir=r,this._formField=a,this._document=d,this._viewportRuler=p,this._defaults=g,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=c.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new u.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,l.P)(()=>this.autocomplete&&this.autocomplete.options?(0,h.T)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe((0,A.q)(1),(0,v.w)(()=>this.optionSelections))),this._scrollStrategy=o}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,s.Ig)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,h.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,T.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,T.h)(()=>this._overlayAttached)):(0,d.of)()).pipe((0,C.U)(t=>t instanceof a.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,h.T)((0,p.R)(this._document,"click"),(0,p.R)(this._document,"auxclick"),(0,p.R)(this._document,"touchend")).pipe((0,T.h)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null,n=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.contains(e))&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==b.hY||(0,b.Vb)(t)||t.preventDefault(),this.activeOption&&e===b.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,n=e===b.LH||e===b.JH;this.panelOpen||e===b.Mf?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,A.q)(1)),e=this.autocomplete.options.changes.pipe((0,S.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,E.g)(0));return(0,h.T)(t,e).pipe((0,v.w)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,A.q)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!(0,o.kV)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new w.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===b.hY&&!(0,b.Vb)(t)||t.keyCode===b.LH&&(0,b.Vb)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,n=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let s;s="above"===this.position?n:"below"===this.position?e:[...e,...n],t.withPositions(s)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,i=(0,a.CB)(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else if(e.panel){const i=e.options.toArray()[t];if(i){const t=i._getHostElement(),n=(0,a.jH)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(n)}}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(f.aV),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(F),r.Y36(k.Is,8),r.Y36(y.G_,9),r.Y36(g.K0,8),r.Y36(m.rL),r.Y36(L,8))},t.\u0275dir=r.lG2({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[r.TTD]}),t})(),U=(()=>{class t extends q{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&r.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[r._Bn([B]),r.qOj]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[Z],imports:[[f.U8,a.Ng,a.BQ,g.ez],m.ZD,a.Ng,a.BQ]}),t})()},41050:function(t,e,i){"use strict";i.d(e,{k:function(){return h},g:function(){return d}});var n=i(71522),s=i(24621),o=i(19861),r=i(43490),a=i(31572);let c=0;class u{}const l=(0,n.Id)(u);let h=(()=>{class t extends l{constructor(t,e,i,n,s){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=i,this._renderer=n,this._animationMode=s,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=c++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,o.Ig)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,o.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&`${t}`.trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id",`mat-badge-content-${this._id}`),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}_updateHostAriaDescription(t,e){const i=this._updateTextContent();e&&this._ariaDescriber.removeDescription(i,e),t&&this._ariaDescriber.describe(i,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove(`mat-badge-${this._color}`),t&&e.add(`mat-badge-${t}`)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let i=e.children.length;for(;i--;){const n=e.children[i];n.classList.contains(t)&&e.removeChild(n)}}_stringifyContent(){const t=this.content;return null==t?"":`${t}`}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(s.$s),a.Y36(a.Qsj),a.Y36(r.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&a.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[a.qOj,a.TTD]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.rt,n.BQ],n.BQ]}),t})()},15980:function(t,e,i){"use strict";i.d(e,{lW:function(){return d},ot:function(){return p}});var n=i(71522),s=i(43490),o=i(31572),r=i(24621);const a=["mat-button",""],c=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class l{constructor(t){this._elementRef=t}}const h=(0,n.pj)((0,n.Id)((0,n.Kr)(l)));let d=(()=>{class t extends h{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of u)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(r.tE),o.Y36(s.Qb,8))},t.\u0275cmp=o.Xpm({type:t,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(t,e){if(1&t&&o.Gf(n.wG,5),2&t){let t;o.iGM(t=o.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(o.uIk("disabled",e.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:a,ngContentSelectors:c,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(t,e){1&t&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1),o._UZ(3,"span",2)),2&t&&(o.xp6(2),o.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[n.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.si,n.BQ],n.BQ]}),t})()},27439:function(t,e,i){"use strict";i.d(e,{a8:function(){return g},kc:function(){return p},dn:function(){return l},dk:function(){return f},QW:function(){return m},$j:function(){return d},n5:function(){return h}});var n=i(43490),s=i(71522),o=i(31572);const r=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"],c=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],u=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t})(),g=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.Qb,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(o.F$t(r),o.Hsn(0),o.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}.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}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:u,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(o.F$t(c),o.Hsn(0),o.TgZ(1,"div",0),o.Hsn(2,1),o.qZA(),o.Hsn(3,2))},encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.BQ],s.BQ]}),t})()},29236:function(t,e,i){"use strict";i.d(e,{oG:function(){return A},p9:function(){return T}});var n=i(19861),s=i(31572),o=i(16073),r=i(71522),a=i(43490),c=i(36337),u=i(24621);const l=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent",clickAction:"check-indeterminate"}}let f=0;const m=g(),b={provide:o.JU,useExisting:(0,s.Gpc)(()=>A),multi:!0};class w{}class _{constructor(t){this._elementRef=t}}const y=(0,r.sb)((0,r.pj)((0,r.Kr)((0,r.Id)(_))));let A=(()=>{class t extends y{constructor(t,e,i,n,o,r,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++f,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||m,this.color=this.defaultColor=this._options.color||m.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,n.Ig)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=(0,n.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=(0,n.Ig)(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new w;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(u.tE),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(a.Qb,8),s.Y36(p,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(l,5),s.Gf(r.wG,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([b]),s.qOj],ngContentSelectors:d,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,h,"NoopAnimations"===e._animationMode?0:150))}},directives:[r.wG,c.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.si,r.BQ,c.Q8,v],r.BQ,v]}),t})()},10033:function(t,e,i){"use strict";i.d(e,{HS:function(){return E},oH:function(){return M},qn:function(){return P},Hi:function(){return N}});var n=i(75842),s=i(31572),o=i(71522),r=i(19861),a=i(61511),c=i(43490),u=i(55959),l=i(31906),h=i(90611),d=i(25416),p=i(56238),g=i(24621),f=i(4230),m=i(66283),b=i(11353),w=i(22526),_=i(16073);const y=["*"],A=new s.OlP("MatChipRemove"),v=new s.OlP("MatChipAvatar"),T=new s.OlP("MatChipTrailingIcon");class C{constructor(t){this._elementRef=t}}const S=(0,o.sb)((0,o.pj)((0,o.Kr)(C),"primary"),-1);let E=(()=>{class t extends S{constructor(t,e,i,n,r,a,c,l){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new u.xQ,this._onBlur=new u.xQ,this.selectionChange=new s.vpe,this.destroyed=new s.vpe,this.removed=new s.vpe,this._addHostClassName(),this._chipRippleTarget=a.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new o.IR(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===c,this.tabIndex=null!=l&&parseInt(l)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=(0,r.Ig)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,r.Ig)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t)}get removable(){return this._removable}set removable(t){this._removable=(0,r.Ig)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):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(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),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(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case n.yY:case n.ZH:this.remove(),t.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(b.t4),s.Y36(o.Y2,8),s.Y36(s.sBO),s.Y36(a.K0),s.Y36(c.Qb,8),s.$8M("tabindex"))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,v,5),s.Suo(i,T,5),s.Suo(i,A,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.avatar=t.first),s.iGM(t=s.CRH())&&(e.trailingIcon=t.first),s.iGM(t=s.CRH())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(s.uIk("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),s.ekj("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._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:[s.qOj]}),t})();const k=new s.OlP("mat-chips-default-options");class x{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const R=(0,o.FD)(x);let I=0;class O{constructor(t,e){this.source=t,this.value=e}}let P=(()=>{class t extends R{constructor(t,e,i,n,o,r,a){super(r,n,o,a),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this.ngControl=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new u.xQ,this._uid="mat-chip-list-"+I++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,r.Ig)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,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(t){this._disabled=(0,r.Ig)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,r.Ig)(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return(0,l.T)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return(0,l.T)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return(0,l.T)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return(0,l.T)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new g.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,p.O)(null),(0,d.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 f.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(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&tt.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}}_selectValue(t,e=!0){const i=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new O(this,e)),this.valueChange.emit(e),this._onChange(e),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(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&e._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(w.Is,8),s.Y36(_.F,8),s.Y36(_.sg,8),s.Y36(o.rD),s.Y36(_.a5,10))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,E,5),2&t){let t;s.iGM(t=s.CRH())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.Ikx("id",e._uid),s.uIk("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),s.ekj("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[s._Bn([{provide:m.Eo,useExisting:t}]),s.qOj],ngContentSelectors:y,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),D=0,M=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new s.vpe,this.placeholder="",this.id="mat-chip-list-input-"+D++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=(0,r.Ig)(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=(0,r.Ig)(t)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(t){if(t){if(t.keyCode!==n.Mf||(0,n.Vb)(t,"shiftKey")||this._chipList._allowFocusEscape(),t.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&t.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this.inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this.inputElement.focus(t)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(t){return!(0,n.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(k))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(s.Ikx("id",e.id),s.uIk("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[s.TTD]}),t})();const L={separatorKeyCodes:[n.K5]};let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[o.rD,{provide:k,useValue:L}],imports:[[o.BQ]]}),t})()},71522:function(t,e,i){"use strict";i.d(e,{yN:function(){return w},mZ:function(){return _},_A:function(){return I},rD:function(){return U},sG:function(){return O},K7:function(){return ut},HF:function(){return st},Y2:function(){return X},BQ:function(){return v},X2:function(){return H},uc:function(){return Y},XK:function(){return q},ey:function(){return pt},Ng:function(){return mt},rN:function(){return ht},nP:function(){return it},us:function(){return nt},wG:function(){return tt},si:function(){return et},LF:function(){return F},IR:function(){return W},CB:function(){return gt},jH:function(){return ft},pj:function(){return C},Kr:function(){return S},Id:function(){return T},FD:function(){return k},dB:function(){return x},sb:function(){return E},E0:function(){return j}});var n=i(31572),s=i(24621),o=i(22526);const r=new n.GfV("12.0.5");var a=i(61511),c=i(19861),u=i(55959),l=i(48318),h=i(11353),d=i(56238),p=i(43490),g=i(75842);function f(t,e){if(1&t&&n._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=n.oxw();n.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function m(t,e){if(1&t&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.hij("(",t.group.label,")")}}const b=["*"];let w=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),_=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const y=new n.GfV("12.0.5"),A=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let v=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,n.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&y.full!==r.full&&console.warn("The Angular Material version ("+y.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(s.qm),n.LFG(A,8),n.LFG(a.K0))},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[o.vT],o.vT]}),t})();function T(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function S(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,c.Ig)(t)}}}function E(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,c.su)(t):this.defaultTabIndex}}}function k(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new u.xQ}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function x(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new l.y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const R=new n.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,n.f3M)(n.soG)}});class I{constructor(){this._localeChanges=new u.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const O=new n.OlP("mat-date-formats");let P;try{P="undefined"!=typeof Intl}catch(bt){P=!1}const D={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},M=z(31,t=>String(t+1)),L={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},N=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function z(t,e){const i=Array(t);for(let n=0;n{class t extends I{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return z(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return D[t]}getDateNames(){if(P){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return z(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return M}getDayOfWeekNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return z(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return L[t]}getYearName(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(P){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(N.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(R,8),n.LFG(h.t4))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:I,useClass:F}],imports:[[h.ud]]}),t})();const B={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 q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:O,useValue:B}],imports:[[Z]]}),t})(),U=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function j(t,e,i="mat"){t.changes.pipe((0,d.O)(t)).subscribe(({length:t})=>{G(e,`${i}-2-line`,!1),G(e,`${i}-3-line`,!1),G(e,`${i}-multi-line`,!1),2===t||3===t?G(e,`${i}-${t}-line`,!0):t>3&&G(e,`${i}-multi-line`,!0)})}function G(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v],v]}),t})();class V{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const K={enterDuration:450,exitDuration:400},J=(0,h.i$)({passive:!0}),$=["mousedown","touchstart"],Q=["mouseup","mouseleave","touchend","touchcancel"];class W{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=(0,c.fI)(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},K),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const o=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),r=t-n.left,a=e-n.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=r-o+"px",u.style.top=a-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const l=new V(this,u,i);return l.state=0,this._activeRipples.add(l),i.persistent||(this._mostRecentTransientRipple=l),this._runTimeoutOutsideZone(()=>{const t=l===this._mostRecentTransientRipple;l.state=1,i.persistent||t&&this._isPointerDown||l.fadeOut()},c),l}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},K),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,c.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents($))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Q),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,J)})})}_removeTriggerEvents(){this._triggerElement&&($.forEach(t=>{this._triggerElement.removeEventListener(t,this,J)}),this._pointerUpEventsRegistered&&Q.forEach(t=>{this._triggerElement.removeEventListener(t,this,J)}))}}const X=new n.OlP("mat-ripple-global-options");let tt=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new W(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(h.t4),n.Y36(X,8),n.Y36(p.Qb,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v,h.ud],v]}),t})(),it=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(p.Qb,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v]]}),t})();const st=new n.OlP("MAT_OPTION_PARENT_COMPONENT");class ot{}const rt=T(ot);let at=0,ct=(()=>{class t extends rt{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+at++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(st,8))},t.\u0275dir=n.lG2({type:t,inputs:{label:"label"},features:[n.qOj]}),t})();const ut=new n.OlP("MatOptgroup");let lt=0;class ht{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let dt=(()=>{class t{constructor(t,e,i,s){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,this.onSelectionChange=new n.vpe,this._stateChanges=new u.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==g.K5&&t.keyCode!==g.L_||(0,g.Vb)(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ht(this,t))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(void 0),n.Y36(ct))},t.\u0275dir=n.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),pt=(()=>{class t extends dt{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(st,8),n.Y36(ut,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(n.Ikx("id",e.id),n.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),n.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:b,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(t,e){1&t&&(n.F$t(),n.YNc(0,f,1,2,"mat-pseudo-checkbox",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,m,2,1,"span",2),n._UZ(4,"div",3)),2&t&&(n.Q6J("ngIf",e.multiple),n.xp6(3),n.Q6J("ngIf",e.group&&e.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,tt,it],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function gt(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),o=0;for(let e=0;ei+n?Math.max(0,t-n+e):i}let mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[et,a.ez,v,nt]]}),t})()},15812:function(t,e,i){"use strict";i.d(e,{Mq:function(){return bt},hl:function(){return vt},FA:function(){return St},nW:function(){return Ct}});var n=i(24621),s=i(2522),o=i(26899),r=i(61511),a=i(31572),c=i(15980),u=i(4253),l=i(71522),h=i(55959),d=i(87570),p=i(31906),g=i(40878),f=i(75842),m=i(90611),b=i(56238),w=i(43835),_=i(19861),y=i(11353),A=i(10709),v=i(16073),T=i(66283),C=i(80340),S=i(22526);const E=["mat-calendar-body",""];function k(t,e){if(1&t&&(a.TgZ(0,"tr",2),a.TgZ(1,"td",3),a._uU(2),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t.numCols),a.xp6(1),a.hij(" ",t.label," ")}}function x(t,e){if(1&t&&(a.TgZ(0,"td",7),a._uU(1),a.qZA()),2&t){const t=a.oxw(2);a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t._firstRowOffset),a.xp6(1),a.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function R(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"td",8),a.NdJ("click",function(e){const i=a.CHM(t).$implicit;return a.oxw(2)._cellClicked(i,e)}),a.TgZ(1,"div",9),a._uU(2),a.qZA(),a._UZ(3,"div",10),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw().index,s=a.oxw();a.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(n,i))("mat-calendar-body-range-start",s._isRangeStart(t.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",s._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(t.compareValue,n,i))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(t.compareValue,n,i))("mat-calendar-body-comparison-start",s._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",s._isInPreview(t.compareValue)),a.Q6J("ngClass",t.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),a.uIk("data-mat-row",n)("data-mat-col",i)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s._isSelected(t.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",s._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",s.todayValue===t.compareValue),a.xp6(1),a.hij(" ",t.displayValue," ")}}function I(t,e){if(1&t&&(a.TgZ(0,"tr",4),a.YNc(1,x,2,6,"td",5),a.YNc(2,R,4,46,"td",6),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.xp6(1),a.Q6J("ngIf",0===i&&n._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",t)}}function O(t,e){if(1&t&&(a.TgZ(0,"th",5),a._uU(1),a.qZA()),2&t){const t=e.$implicit;a.uIk("aria-label",t.long),a.xp6(1),a.Oqu(t.narrow)}}const P=["*"];function D(t,e){}function M(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("_userSelection",function(e){return a.CHM(t),a.oxw()._dateSelected(e)}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("monthSelected",function(e){return a.CHM(t),a.oxw()._monthSelectedInYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"month")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function N(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("yearSelected",function(e){return a.CHM(t),a.oxw()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"year")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function z(t,e){}const F=["button"];function Z(t,e){1&t&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const B=[[["","matDatepickerToggleIcon",""]]],q=["[matDatepickerToggleIcon]"];let U=(()=>{class t{constructor(){this.changes=new h.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class H{constructor(t,e,i,n,s={},o=t,r){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s,this.compareValue=o,this.rawValue=r}}let j=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&G(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:i,numCols:n}=this;(t.rows||e)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!e&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return Y(t,this.startValue,this.endValue)}_isRangeEnd(t){return V(t,this.startValue,this.endValue)}_isInRange(t){return K(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Y(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,i){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let n=this.rows[e][i-1];if(!n){const t=this.rows[e-1];n=t&&t[t.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(t,e,i){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let n=this.rows[e][i+1];if(!n){const t=this.rows[e+1];n=t&&t[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(t){return V(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return K(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Y(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return V(t,this.previewStart,this.previewEnd)}_isInPreview(t){return K(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(G(t)?e=t:G(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b))},t.\u0275cmp=a.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:E,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(a.YNc(0,k,3,6,"tr",0),a.YNc(1,I,3,2,"tr",1)),2&t&&(a.Q6J("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function G(t){return"TD"===t.nodeName}function Y(t,e,i){return null!==i&&e!==i&&t=e&&t===i}function K(t,e,i,n){return n&&null!==e&&null!==i&&e!==i&&t>=e&&t<=i}class J{constructor(t,e){this.start=t,this.end=e}}let $=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new h.xQ,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){const i=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(void 0),a.LFG(l._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})(),Q=(()=>{class t extends ${constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(l._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})();const W={provide:$,deps:[[new a.FiY,new a.tp0,$],l._A],useFactory:function(t,e){return t||new Q(e)}},X=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let tt=(()=>{class t{constructor(t,e,i,n,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rangeStrategy=s,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,i=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(i,n,e);let o,r;this._selected instanceof J?(o=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):o=r=this._getDateInCurrentMonth(this._selected),o===e&&r===e||this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case f.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case f.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case f.K5:case f.L_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case f.hY:return void(null==this._previewEnd||(0,f.Vb)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_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 t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const i=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((t,i)=>({long:t,narrow:e[i]}));this._weekdays=i.slice(t).concat(i.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),i=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof J?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36(l.sG,8),a.Y36(l._A,8),a.Y36(S.Is,8),a.Y36(X,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&a.Gf(j,5),2&t){let t;a.iGM(t=a.CRH())&&(e._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:[a.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a.YNc(3,O,2,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA(),a.qZA(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.qZA(),a.qZA()),2&t&&(a.xp6(3),a.Q6J("ngForOf",e._weekdays),a.xp6(3),a.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[r.sg,j],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{constructor(t,e,i){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),it(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,i=[];e<24;e++)i.push(t+e),4==i.length&&(this._years.push(i.map(t=>this._createCellForYear(t))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));this.selectedChange.emit(this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case f.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case f.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case f.K5:case f.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),i=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new H(t,i,i,this._shouldEnableYear(t),n)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(i);const n=this._dateAdapter.getNumDaysInMonth(i);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case f.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case f.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case f.K5:case f.L_:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(i,"year"):void 0;return new H(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(i)==t;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>i||t===i&&e>n}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,i,n,s){this._intl=t,this.calendar=e,this._dateAdapter=i,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+rt++,this.calendar.stateChanges.subscribe(()=>s.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)-nt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(i,n)}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(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):it(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36((0,a.Gpc)(()=>ct)),a.Y36(l._A,8),a.Y36(l.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:P,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[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(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"button",2),a.NdJ("click",function(){return e.currentPeriodClicked()}),a.TgZ(3,"span"),a._uU(4),a.qZA(),a._UZ(5,"div",3),a.qZA(),a._UZ(6,"div",4),a.Hsn(7),a.TgZ(8,"button",5),a.NdJ("click",function(){return e.previousClicked()}),a.qZA(),a.TgZ(9,"button",6),a.NdJ("click",function(){return e.nextClicked()}),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(2),a.uIk("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),a.xp6(1),a.uIk("id",e._buttonDescriptionId),a.xp6(1),a.Oqu(e.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==e.calendar.currentView),a.xp6(3),a.Q6J("disabled",!e.previousEnabled()),a.uIk("aria-label",e.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!e.nextEnabled()),a.uIk("aria-label",e.nextButtonLabel))},directives:[c.lW,n.Qr],encapsulation:2,changeDetection:0}),t})(),ct=(()=>{class t{constructor(t,e,i,n){this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this.stateChanges=new h.xQ,this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof J?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new o.C5(this.headerComponent||at),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(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof J||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36(l._A,8),a.Y36(l.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(a.Gf(tt,5),a.Gf(ot,5),a.Gf(et,5)),2&t){let t;a.iGM(t=a.CRH())&&(e.monthView=t.first),a.iGM(t=a.CRH())&&(e.yearView=t.first),a.iGM(t=a.CRH())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a._Bn([W]),a.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(t,e){1&t&&(a.YNc(0,D,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,M,1,8,"mat-month-view",2),a.YNc(3,L,1,6,"mat-year-view",3),a.YNc(4,N,1,6,"mat-multi-year-view",4),a.qZA()),2&t&&(a.Q6J("cdkPortalOutlet",e._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",e.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},directives:[o.Pl,n.kH,r.RF,r.n9,tt,ot,et],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(33% / 7 - 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:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;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}.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}),t})();const ut={transformPanel:(0,A.X$)("transformPanel",[(0,A.eR)("void => enter-dropdown",(0,A.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,A.F4)([(0,A.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,A.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,A.eR)("void => enter-dialog",(0,A.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,A.F4)([(0,A.oB)({opacity:0,transform:"scale(0.7)"}),(0,A.oB)({transform:"none",opacity:1})]))),(0,A.eR)("* => void",(0,A.jt)("100ms linear",(0,A.oB)({opacity:0})))]),fadeInCalendar:(0,A.X$)("fadeInCalendar",[(0,A.SB)("void",(0,A.oB)({opacity:0})),(0,A.SB)("enter",(0,A.oB)({opacity:1})),(0,A.eR)("void => *",(0,A.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let lt=0;const ht=new a.OlP("mat-datepicker-scroll-strategy"),dt={provide:ht,deps:[s.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class pt{constructor(t){this._elementRef=t}}const gt=(0,l.pj)(pt);let ft=(()=>{class t extends gt{constructor(t,e,i,n,s,o){super(t),this._changeDetectorRef=e,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=s,this._subscriptions=new d.w,this._animationDone=new h.xQ,this._actionsPortal=null,this._closeButtonText=o.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(t){const e=this._model.selection,i=t.value,n=e instanceof J;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(i,e,t.event);this._model.updateSelection(n,this)}else!i||!n&&this._dateAdapter.sameDate(i,e)||this._model.add(i);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 t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36($),a.Y36(l._A),a.Y36(X,8),a.Y36(U))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&a.Gf(ct,5),2&t){let t;a.iGM(t=a.CRH())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&a.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(a.d8E("@transformPanel",e._animationState),a.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",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(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"mat-calendar",1),a.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),a.qZA(),a.YNc(2,z,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),a._uU(4),a.qZA(),a.qZA()),2&t&&(a.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),a.xp6(1),a.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),a.xp6(1),a.Q6J("cdkPortalOutlet",e._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!e._closeButtonFocused),a.Q6J("color",e.color||"primary"),a.xp6(1),a.Oqu(e._closeButtonText))},directives:[n.mK,ct,r.mk,o.Pl,c.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[ut.transformPanel,ut.fadeInCalendar]},changeDetection:0}),t})(),mt=(()=>{class t{constructor(t,e,i,n,s,o,r,c,u){this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=o,this._dir=r,this._model=u,this._inputStateChanges=d.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+lt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.xQ,this._scrollStrategy=s}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=(0,_.Ig)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=(0,_.Ig)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=(0,_.Ig)(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,_.du)(t)}get opened(){return this._opened}set opened(t){(0,_.Ig)(t)?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(t){const e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){const t=this._overlayRef.getConfig().positionStrategy;t instanceof s._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(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,y.ht)(),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,m.q)(1)).subscribe(()=>this._destroyOverlay())}const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const t=this.touchUi,e=this.datepickerInput.getOverlayLabelId(),i=new o.C5(ft,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new s.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),r=n.overlayElement;r.setAttribute("role","dialog"),e&&r.setAttribute("aria-labelledby",e),t&&r.setAttribute("aria-modal","true"),this._getCloseStream(n).subscribe(t=>{t&&t.preventDefault(),this.close()}),this._componentRef=n.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>n.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",i="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",s="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:s,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:s},{originX:i,originY:s,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:s}])}_getCloseStream(t){return(0,p.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,w.h)(t=>t.keyCode===f.hY&&!(0,f.Vb)(t)||this.datepickerInput&&(0,f.Vb)(t,"altKey")&&t.keyCode===f.LH)))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(s.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ht),a.Y36(l._A,8),a.Y36(S.Is,8),a.Y36(r.K0,8),a.Y36($))},t.\u0275dir=a.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),t})(),bt=(()=>{class t extends mt{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=a.n5z(t)))(i||t)}}(),t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([W,{provide:mt,useExisting:t}]),a.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();class wt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let _t=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new h.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=d.w.EMPTY,this._localeSubscription=d.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMinDate();return!i||!e||this._dateAdapter.compareDate(i,e)<=0?null:{matDatepickerMin:{min:i,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMaxDate();return!i||!e||this._dateAdapter.compareDate(i,e)>=0?null:{matDatepickerMax:{max:i,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=(0,_.Ig)(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&i.blur&&i.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new wt(this,this._elementRef.nativeElement)),this.dateChange.emit(new wt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const i=Object.keys(t);for(let n of i){const{previousValue:i,currentValue:s}=t[n];if(!e.isDateInstance(i)||!e.isDateInstance(s))return!0;if(!e.sameDate(i,s))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===f.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._dateAdapter.sameDate(i,this.value)?(t&&!this.value&&this._cvaOnChange(i),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(i),this._cvaOnChange(i),this.dateInput.emit(new wt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new wt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(l._A,8),a.Y36(l.sG,8))},t.\u0275dir=a.lG2({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),t})();const yt={provide:v.JU,useExisting:(0,a.Gpc)(()=>vt),multi:!0},At={provide:v.Cf,useExisting:(0,a.Gpc)(()=>vt),multi:!0};let vt=(()=>{class t extends _t{constructor(t,e,i,n){super(t,e,i),this._formField=n,this._closedSubscription=d.w.EMPTY,this._validator=v.kI.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&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(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(l._A,8),a.Y36(l.sG,8),a.Y36(T.G_,8))},t.\u0275dir=a.lG2({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&a.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(a.Ikx("disabled",e.disabled),a.uIk("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([yt,At,{provide:C.Jk,useExisting:t}]),a.qOj]}),t})(),Tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Ct=(()=>{class t{constructor(t,e,i){this._intl=t,this._changeDetectorRef=e,this._stateChanges=d.w.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=(0,_.Ig)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,g.of)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,g.of)(),i=this.datepicker?(0,p.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,g.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,p.T)(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36(a.sBO),a.$8M("tabindex"))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,Tt,5),2&t){let t;a.iGM(t=a.CRH())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(F,5),2&t){let t;a.iGM(t=a.CRH())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&a.NdJ("click",function(t){return e._open(t)}),2&t&&(a.uIk("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:q,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(t,e){1&t&&(a.F$t(B),a.TgZ(0,"button",0,1),a.YNc(2,Z,2,0,"svg",2),a.Hsn(3),a.qZA()),2&t&&(a.Q6J("disabled",e.disabled)("disableRipple",e.disableRipple),a.uIk("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),a.xp6(2),a.Q6J("ngIf",!e._customIcon))},directives:[c.lW,r.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}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[U,dt],imports:[[r.ez,c.ot,s.U8,n.rt,o.eL,l.BQ],u.ZD]}),t})()},84608:function(t,e,i){"use strict";i.d(e,{WI:function(){return k},uw:function(){return P},H8:function(){return N},vA:function(){return y},xY:function(){return L},Is:function(){return z},so:function(){return S},uh:function(){return M}});var n=i(2522),s=i(26899),o=i(31572),r=i(71522),a=i(22526),c=i(61511),u=i(55959),l=i(31450),h=i(40878),d=i(43835),p=i(90611),g=i(56238),f=i(11353),m=i(10709),b=i(75842),w=i(24621);function _(t,e){}class y{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const A={dialogContainer:(0,m.X$)("dialogContainer",[(0,m.SB)("void, exit",(0,m.oB)({opacity:0,transform:"scale(0.7)"})),(0,m.SB)("enter",(0,m.oB)({transform:"none"})),(0,m.eR)("* => enter",(0,m.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,m.oB)({transform:"none",opacity:1}))),(0,m.eR)("* => void, * => exit",(0,m.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,m.oB)({opacity:0})))])};let v=(()=>{class t extends s.en{constructor(t,e,i,n,s,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._focusMonitor=r,this._animationStateChanged=new o.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,f.ht)(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,f.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,f.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(w.qV),o.Y36(o.sBO),o.Y36(c.K0,8),o.Y36(y),o.Y36(w.tE))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(s.Pl,7),2&t){let t;o.iGM(t=o.CRH())&&(e._portalOutlet=t.first)}},features:[o.qOj]}),t})(),T=(()=>{class t extends v{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(o.Ikx("id",e._id),o.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o.d8E("@dialogContainer",e._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.YNc(0,_,0,0,"ng-template",0)},directives:[s.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:[A.dialogContainer]}}),t})(),C=0;class S{constructor(t,e,i="mat-dialog-"+C++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new u.xQ,this._afterClosed=new u.xQ,this._beforeClosed=new u.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===b.hY&&!this.disableClose&&!(0,b.Vb)(t))).subscribe(t=>{t.preventDefault(),E(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():E(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function E(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const k=new o.OlP("MatDialogData"),x=new o.OlP("mat-dialog-default-options"),R=new o.OlP("mat-dialog-scroll-strategy"),I={provide:R,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let O=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new u.xQ,this._afterOpenedAtThisLevel=new u.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,l.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,g.O)(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),n=new s.C5(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const r=new this._dialogRefConstructor(i,e,n.id);if(t instanceof o.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:n.data,dialogRef:r}));else{const i=this._createInjector(n,r,e),o=e.attachComponentPortal(new s.C5(t,n.viewContainerRef,i));r.componentInstance=o.instance}return r.updateSize(n.width,n.height).updatePosition(n.position),r}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(a.Is,null,o.XFs.Optional)||s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),o.zs3.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(n.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},t.\u0275dir=o.lG2({type:t}),t})(),P=(()=>{class t extends O{constructor(t,e,i,n,s,o,r){super(t,e,n,o,r,s,S,T,k)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.aV),o.LFG(o.zs3),o.LFG(c.Ye,8),o.LFG(x,8),o.LFG(R),o.LFG(t,12),o.LFG(n.Xj))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),D=0,M=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+D++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(S,8),o.Y36(o.SBq),o.Y36(P))},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[P,I],imports:[[n.U8,s.eL,r.BQ],r.BQ]}),t})()},27679:function(t,e,i){"use strict";i.d(e,{d:function(){return r},t:function(){return a}});var n=i(19861),s=i(71522),o=i(31572);let r=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,n.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,n.Ig)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},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}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.BQ],s.BQ]}),t})()},45001:function(t,e,i){"use strict";i.d(e,{pp:function(){return H},To:function(){return j},ib:function(){return Z},HS:function(){return N},u4:function(){return q},yz:function(){return B},yK:function(){return U}});var n=i(31572),s=i(19861),o=i(55959),r=i(87570),a=i(4230);let c=0;const u=new n.OlP("CdkAccordion");let l=(()=>{class t{constructor(){this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+c++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,s.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n._Bn([{provide:u,useExisting:t}]),n.TTD]}),t})(),h=0,d=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=r.w.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+h++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,s.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=(0,s.Ig)(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(u,12),n.Y36(n.sBO),n.Y36(a.A8))},t.\u0275dir=n.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:u,useValue:void 0}])]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var g=i(26899),f=i(61511),m=i(71522),b=i(24621),w=i(98720),_=i(56238),y=i(43835),A=i(90611),v=i(75842),T=i(43490),C=i(70653),S=i(31906),E=i(10709);const k=["body"];function x(t,e){}const R=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],I=["mat-expansion-panel-header","*","mat-action-row"];function O(t,e){if(1&t&&n._UZ(0,"span",2),2&t){const t=n.oxw();n.Q6J("@indicatorRotate",t._getExpandedState())}}const P=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],D=["mat-panel-title","mat-panel-description","*"],M=new n.OlP("MAT_ACCORDION"),L={indicatorRotate:(0,E.X$)("indicatorRotate",[(0,E.SB)("collapsed, void",(0,E.oB)({transform:"rotate(0deg)"})),(0,E.SB)("expanded",(0,E.oB)({transform:"rotate(180deg)"})),(0,E.eR)("expanded <=> collapsed, void => collapsed",(0,E.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,E.X$)("bodyExpansion",[(0,E.SB)("collapsed, void",(0,E.oB)({height:"0px",visibility:"hidden"})),(0,E.SB)("expanded",(0,E.oB)({height:"*",visibility:"visible"})),(0,E.eR)("expanded <=> collapsed, void => collapsed",(0,E.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let N=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),z=0;const F=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Z=(()=>{class t extends d{constructor(t,e,i,s,r,a,c){super(t,e,i),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new o.xQ,this._headerId="mat-expansion-panel-header-"+z++,this._bodyAnimationDone=new o.xQ,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe((0,w.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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,_.O)(null),(0,y.h)(()=>this.expanded&&!this._portal),(0,A.q)(1)).subscribe(()=>{this._portal=new g.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(M,12),n.Y36(n.sBO),n.Y36(a.A8),n.Y36(n.s_b),n.Y36(f.K0),n.Y36(T.Qb,8),n.Y36(F,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,N,5),2&t){let t;n.iGM(t=n.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&n.Gf(k,5),2&t){let t;n.iGM(t=n.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&n.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:M,useValue:void 0}]),n.qOj,n.TTD],ngContentSelectors:I,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(n.F$t(R),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,x,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),n.uIk("aria-labelledby",e._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",e._portal))},directives:[g.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[L.bodyExpansion]},changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,i,n,s,o){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=o,this._parentChangeSubscription=r.w.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe((0,y.h)(t=>!(!t.hideToggle&&!t.togglePosition))):C.E;this._parentChangeSubscription=(0,S.T)(t.opened,t.closed,a,t._inputChanges.pipe((0,y.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,y.h)(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case v.L_:case v.K5:(0,v.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Z,1),n.Y36(n.SBq),n.Y36(b.tE),n.Y36(n.sBO),n.Y36(F,8),n.Y36(T.Qb,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(n.uIk("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),n.Udp("height",e._getHeaderHeight()),n.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:D,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(n.F$t(P),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,O,1,1,"span",1)),2&t&&(n.xp6(4),n.Q6J("ngIf",e._showToggle()))},directives:[f.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}[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:""}\n'],encapsulation:2,data:{animation:[L.indicatorRotate]},changeDetection:0}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),H=(()=>{class t extends l{constructor(){super(...arguments),this._ownHeaders=new n.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,_.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new b.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,B,5),2&t){let t;n.iGM(t=n.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n._Bn([{provide:M,useExisting:t}]),n.qOj]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[f.ez,m.BQ,p,g.eL]]}),t})()},66283:function(t,e,i){"use strict";i.d(e,{G_:function(){return W},TO:function(){return z},KE:function(){return X},Eo:function(){return Z},lN:function(){return tt},bx:function(){return U},hX:function(){return H},UY:function(){return j},R9:function(){return V}});var n=i(36337),s=i(61511),o=i(31572),r=i(71522),a=i(19861),c=i(55959),u=i(31906),l=i(87254),h=i(56238),d=i(25416),p=i(90611),g=i(10709),f=i(43490),m=i(22526),b=i(11353);const w=["underline"],_=["connectionContainer"],y=["inputContainer"],A=["label"];function v(t,e){1&t&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function T(t,e){1&t&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function C(t,e){if(1&t&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&t){const t=o.oxw(2);o.xp6(3),o.Oqu(t._control.placeholder)}}function S(t,e){1&t&&o.Hsn(0,3,["*ngSwitchCase","true"])}function E(t,e){1&t&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function k(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(t),o.oxw().updateOutlineGap()}),o.YNc(2,C,4,1,"ng-container",12),o.YNc(3,S,1,0,"ng-content",12),o.YNc(4,E,2,0,"span",22),o.qZA()}if(2&t){const t=o.oxw();o.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),o.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),o.uIk("for",t._control.id)("aria-owns",t._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function x(t,e){1&t&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function R(t,e){if(1&t&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&t){const t=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function I(t,e){if(1&t&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&t){const t=o.oxw();o.Q6J("@transitionMessages",t._subscriptAnimationState)}}function O(t,e){if(1&t&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.Q6J("id",t._hintLabelId),o.xp6(1),o.Oqu(t.hintLabel)}}function P(t,e){if(1&t&&(o.TgZ(0,"div",28),o.YNc(1,O,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&t){const t=o.oxw();o.Q6J("@transitionMessages",t._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",t.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let L=0;const N=new o.OlP("MatError");let z=(()=>{class t{constructor(t,e){this.id="mat-error-"+L++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(o.$8M("aria-live"),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("id",e.id)},inputs:{id:"id"},features:[o._Bn([{provide:N,useExisting:t}])]}),t})();const F={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t}),t})(),B=0;const q=new o.OlP("MatHint");let U=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+B++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o.uIk("id",e.id)("align",null),o.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[o._Bn([{provide:q,useExisting:t}])]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-label"]]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const G=new o.OlP("MatPrefix"),Y=new o.OlP("MatSuffix");let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:Y,useExisting:t}])]}),t})(),K=0;class J{constructor(t){this._elementRef=t}}const $=(0,r.pj)(J,"primary"),Q=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),W=new o.OlP("MatFormField");let X=(()=>{class t extends ${constructor(t,e,i,n,s,o,r,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new c.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+K++,this._labelId="mat-form-field-label-"+K++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,u.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,l.R)(this._label.nativeElement,"transitionend").pipe((0,p.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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=t.children,a=this._getStartEnd(r[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.ez,r.BQ,n.Q8],r.BQ]}),t})()},43691:function(t,e,i){"use strict";i.d(e,{Hw:function(){return D},Ps:function(){return M},jv:function(){return C}});var n=i(31572),s=i(71522),o=i(19861),r=i(61511),a=i(40878),c=i(31225),u=i(3148),l=i(87570),h=i(66599),d=i(79996),p=i(47727),g=i(11520),f=i(1055),m=i(90611),b=i(29063),w=i(30269);const _=["*"];function y(t){return Error(`Unable to find icon with the name "${t}"`)}function A(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function v(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class T{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let C=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new T(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,s){const o=this._sanitizer.sanitize(n.q3G.HTML,i);if(!o)throw v(i);return this._addSvgIconConfig(t,e,new T("",o,s))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new T(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const s=this._sanitizer.sanitize(n.q3G.HTML,e);if(!s)throw v(e);return this._addSvgIconSetConfig(t,new T("",s,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t);if(!e)throw A(t);const i=this._cachedIconsByUrl.get(e);return i?(0,a.of)(S(i)):this._loadSvgIconFromConfig(new T(t,null)).pipe((0,h.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,d.U)(t=>S(t)))}getNamedSvgIcon(t,e=""){const i=E(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,c._)(y(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,a.of)(S(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,d.U)(t=>S(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);if(i)return(0,a.of)(i);const s=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,p.K)(e=>{const i=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),(0,a.of)(null)})));return(0,u.D)(s).pipe((0,d.U)(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw y(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e),(0,d.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,a.of)(null):this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const o=this._svgElementFromString("");return o.appendChild(s),this._setSvgAttributes(o,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),(0,f.B)());return this._inProgressUrlFetches.set(r,c),c}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(E(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),I=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],O=I.map(t=>`[${t}]`).join(", "),P=/^url\(['"]?#(.*?)['"]?\)$/;let D=(()=>{class t extends x{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=l.w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,o.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(O),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],o=s.getAttribute(t),r=o?o.match(P):null;if(r){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:r[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe((0,m.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(C),n.$8M("aria-hidden"),n.Y36(R),n.Y36(n.qLn))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(n.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),n.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:_,decls:1,vars:0,template:function(t,e){1&t&&(n.F$t(),n.Hsn(0))},styles:[".mat-icon{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}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.BQ],s.BQ]}),t})()},80340:function(t,e,i){"use strict";i.d(e,{Jk:function(){return d},Nt:function(){return b},c:function(){return w},D7:function(){return h}});var n=i(10901),s=i(31572),o=i(19861),r=i(11353),a=i(71522),c=i(66283),u=i(55959),l=i(16073);let h=(()=>{class t extends n.IC{get matAutosizeMinRows(){return this.minRows}set matAutosizeMinRows(t){this.minRows=t}get matAutosizeMaxRows(){return this.maxRows}set matAutosizeMaxRows(t){this.maxRows=t}get matAutosize(){return this.enabled}set matAutosize(t){this.enabled=t}get matTextareaAutosize(){return this.enabled}set matTextareaAutosize(t){this.enabled=t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[s.qOj]}),t})();const d=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class f{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const m=(0,a.FD)(f);let b=(()=>{class t extends m{constructor(t,e,i,n,s,o,a,c,l,h){super(o,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new u.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,r.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=a||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&l.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,r.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,o.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(r.t4),s.Y36(l.a5,10),s.Y36(l.F,8),s.Y36(l.sg,8),s.Y36(a.rD),s.Y36(d,10),s.Y36(n.Lq),s.Y36(s.R0b),s.Y36(c.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:c.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[a.rD],imports:[[n.Ky,c.lN,a.BQ],n.Ky,c.lN]}),t})()},85250:function(t,e,i){"use strict";i.d(e,{i$:function(){return _},Tg:function(){return v},ie:function(){return T}});var n=i(61511),s=i(31572),o=i(71522),r=i(19861),a=i(55959),c=i(25416),u=(i(56238),i(24621),i(4230),i(75842),i(16073),i(27679));const l=["*"],h=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],d=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class p{}const g=(0,o.Id)((0,o.Kr)(p));class f{}const m=(0,o.Kr)(f),b=new s.OlP("MatList"),w=new s.OlP("MatNavList");let _=(()=>{class t extends g{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.xQ,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s._Bn([{provide:b,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:l,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),v=(()=>{class t extends m{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.xQ,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,c.R)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=(0,r.Ig)(t)}ngAfterContentInit(){(0,o.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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(w,8),s.Y36(b,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,y,5),s.Suo(i,A,5),s.Suo(i,o.X2,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:d,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(t,e){1&t&&(s.F$t(h),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.Hsn(2),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[o.wG],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.uc,o.si,o.BQ,o.us,n.ez],o.uc,o.BQ,o.us,u.t]}),t})()},8055:function(t,e,i){"use strict";i.d(e,{VK:function(){return F},OP:function(){return M},Tx:function(){return j},p6:function(){return U}});var n=i(24621),s=i(19861),o=i(75842),r=i(31572),a=i(55959),c=i(87570),u=i(31906),l=i(40878),h=i(92709),d=i(56238),p=i(44689),g=i(90611),f=i(43835),m=i(25416),b=i(82628),w=i(10709),_=i(26899),y=i(61511),A=i(71522),v=i(2522),T=i(11353),C=i(4253),S=i(22526);const E=["mat-menu-item",""],k=["*"];function x(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",0),r.NdJ("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)})("click",function(){return r.CHM(t),r.oxw().closed.emit("click")})("@transformMenu.start",function(e){return r.CHM(t),r.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return r.CHM(t),r.oxw()._onAnimationDone(e)}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),r.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const R={transformMenu:(0,w.X$)("transformMenu",[(0,w.SB)("void",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.eR)("void => enter",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({opacity:1,transform:"scale(1)"}))),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))]),fadeInItems:(0,w.X$)("fadeInItems",[(0,w.SB)("showing",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",[(0,w.oB)({opacity:0}),(0,w.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},I=new r.OlP("MatMenuContent"),O=new r.OlP("MAT_MENU_PANEL");class P{}const D=(0,A.Kr)((0,A.Id)(P));let M=(()=>{class t extends D{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new a.xQ,this._focused=new a.xQ,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new r.n_E,this._tabSubscription=c.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+N++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,s.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,s.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,u.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,u.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case o.hY:(0,o.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case o.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case o.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==o.LH&&e!==o.JH||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(L))},t.\u0275dir=r.lG2({type:t,contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,I,5),r.Suo(i,M,5),r.Suo(i,M,4)),2&t){let t;r.iGM(t=r.CRH())&&(e.lazyContent=t.first),r.iGM(t=r.CRH())&&(e._allItems=t),r.iGM(t=r.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(r.Rgc,5),2&t){let t;r.iGM(t=r.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),F=(()=>{class t extends z{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(L))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&r.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[r._Bn([{provide:O,useExisting:t}]),r.qOj],ngContentSelectors:k,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,x,3,6,"ng-template"))},directives:[y.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[R.transformMenu,R.fadeInItems]},changeDetection:0}),t})();const Z=new r.OlP("mat-menu-scroll-strategy"),B={provide:Z,deps:[v.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},q=(0,T.i$)({passive:!0});let U=(()=>{class t{constructor(t,e,i,s,o,a,u,l){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=a,this._dir=u,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w.EMPTY,this._hoverSubscription=c.w.EMPTY,this._menuCloseSubscription=c.w.EMPTY,this._handleTouchStart=t=>{(0,n.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=o instanceof z?o:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,q),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,q),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof z&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof z?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,f.h)(t=>"void"===t.toState),(0,g.q)(1),(0,m.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new v.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[n,s],[a,c]=[e,i],u=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",u="bottom"===n?8:-8):this.menu.overlapTrigger||(o="top"===n?"bottom":"top",r="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:o,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:o,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:r,overlayX:a,overlayY:s,offsetY:-u},{originX:i,originY:r,overlayX:c,overlayY:s,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,l.of)(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,f.h)(t=>t!==this._menuItemInstance),(0,f.h)(()=>this._menuOpen)):(0,l.of)();return(0,u.T)(t,i,n,e)}_handleMousedown(t){(0,n.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==o.K5&&e!==o.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===o.SV&&"ltr"===this.dir||e===o.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,f.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,b.g)(0,h.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof z&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),(0,b.g)(0,h.e),(0,m.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new _.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(v.aV),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(Z),r.Y36(O,8),r.Y36(M,10),r.Y36(S.Is,8),r.Y36(n.tE))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&r.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[B],imports:[A.BQ]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[B],imports:[[y.ez,A.BQ,A.si,v.U8,H],C.ZD,A.BQ,H]}),t})()},73005:function(t,e,i){"use strict";i.d(e,{NW:function(){return C},TU:function(){return S}});var n=i(61511),s=i(31572),o=i(71522),r=i(15980),a=i(4786),c=i(36922),u=i(19861),l=i(55959),h=i(66283);function d(t,e){if(1&t&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function p(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",16),s.TgZ(1,"mat-select",17),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw(2)._changePageSize(e.value)}),s.YNc(2,d,2,2,"mat-option",18),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("appearance",t._formFieldAppearance)("color",t.color),s.xp6(1),s.Q6J("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",t._displayedPageSizeOptions)}}function g(t,e){if(1&t&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.pageSize)}}function f(t,e){if(1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,p,3,6,"mat-form-field",14),s.YNc(4,g,2,1,"div",15),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function m(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(t),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.uIk("aria-label",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.uIk("aria-label",t._intl.lastPageLabel)}}let w=(()=>{class t{constructor(){this.changes=new l.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const _={provide:w,deps:[[new s.FiY,new s.tp0,w]],useFactory:function(t){return t||new w}},y=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS");class A{}const v=(0,o.Id)((0,o.dB)(A));let T=(()=>{class t extends v{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max((0,u.su)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=(0,u.su)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max((0,u.su)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>(0,u.su)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=(0,u.Ig)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=(0,u.Ig)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(w),s.Y36(s.sBO),s.Y36(void 0))},t.\u0275dir=s.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[s.qOj]}),t})(),C=(()=>{class t extends T{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(w),s.Y36(s.sBO),s.Y36(y,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,f,5,3,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,m,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return e.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA(),s.qZA(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return e.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA(),s.qZA(),s.YNc(13,b,3,5,"button",11),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hidePageSize),s.xp6(3),s.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.xp6(1),s.Q6J("ngIf",e.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.uIk("aria-label",e._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.uIk("aria-label",e._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",e.showFirstLastButtons))},directives:[n.O5,r.lW,c.gM,h.KE,a.gD,n.sg,o.ey],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)}\n"],encapsulation:2,changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[_],imports:[[n.ez,r.ot,a.LD,c.AV,o.BQ]]}),t})()},45994:function(t,e,i){"use strict";i.d(e,{Cv:function(){return r}});var n=i(31572),s=i(61511),o=i(71522);i(19861),i(43490),i(87570),i(87254),i(43835);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.ez,o.BQ],o.BQ]}),t})()},67806:function(t,e,i){"use strict";i.d(e,{Cq:function(){return _},$g:function(){return w}});var n=i(31572),s=i(61511),o=i(71522),r=i(19861),a=i(11353),c=i(43490);function u(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function l(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}const p=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class g{constructor(t){this._elementRef=t}}const f=(0,o.pj)(g,"primary"),m=new n.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b=(()=>{class t extends f{constructor(e,i,n,s,o){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,r.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,r.su)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,r.su)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=(0,a.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(a.t4),n.Y36(s.K0,8),n.Y36(c.Qb,8),n.Y36(m))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(n.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),n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[n.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(n.O4$(),n.TgZ(0,"svg",0),n.YNc(1,u,1,9,"circle",1),n.YNc(2,l,1,7,"circle",2),n.qZA()),2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.Q6J("ngSwitch","indeterminate"===e.mode),n.uIk("viewBox",e._getViewBox()),n.xp6(1),n.Q6J("ngSwitchCase",!0),n.xp6(1),n.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),w=(()=>{class t extends b{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(a.t4),n.Y36(s.K0,8),n.Y36(c.Qb,8),n.Y36(m))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[n.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(n.O4$(),n.TgZ(0,"svg",0),n.YNc(1,h,1,9,"circle",1),n.YNc(2,d,1,7,"circle",2),n.qZA()),2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.Q6J("ngSwitch","indeterminate"===e.mode),n.uIk("viewBox",e._getViewBox()),n.xp6(1),n.Q6J("ngSwitchCase",!0),n.xp6(1),n.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[o.BQ,s.ez],o.BQ]}),t})()},54810:function(t,e,i){"use strict";i.d(e,{U0:function(){return T},VQ:function(){return _},Fk:function(){return C}});var n=i(31572),s=i(71522),o=i(19861),r=i(16073),a=i(43490),c=i(24621),u=i(4230);const l=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new n.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let g=0;const f={provide:r.JU,useExisting:(0,n.Gpc)(()=>_),multi:!0};class m{constructor(t,e){this.source=t,this.value=e}}const b=new n.OlP("MatRadioGroup");let w=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+g++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.vpe}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._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 m(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO))},t.\u0275dir=n.lG2({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),_=(()=>{class t extends w{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,T,5),2&t){let t;n.iGM(t=n.CRH())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n._Bn([f,{provide:b,useExisting:t}]),n.qOj]}),t})();class y{constructor(t){this._elementRef=t}}const A=(0,s.Kr)((0,s.sb)(y));let v=(()=>{class t extends A{constructor(t,e,i,s,r,a,c,u){super(e),this._changeDetector=i,this._focusMonitor=s,this._radioDispatcher=r,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++g,this.id=this._uniqueId,this.change=new n.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===a,u&&(this.tabIndex=(0,o.su)(u,0)),this._removeUniqueSelectionListener=r.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=(0,o.Ig)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled((0,o.Ig)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=(0,o.Ig)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new m(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(w),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(c.tE),n.Y36(u.A8),n.Y36(String),n.Y36(void 0),n.Y36(String))},t.\u0275dir=n.lG2({type:t,viewQuery:function(t,e){if(1&t&&n.Gf(l,5),2&t){let t;n.iGM(t=n.CRH())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[n.qOj]}),t})(),T=(()=>{class t extends v{constructor(t,e,i,n,s,o,r,a){super(t,e,i,n,s,o,r,a)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(b,8),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(c.tE),n.Y36(u.A8),n.Y36(a.Qb,8),n.Y36(p,8),n.$8M("tabindex"))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&n.NdJ("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(n.uIk("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.ekj("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable",e._noopAnimations)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.qOj],ngContentSelectors:d,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(n.F$t(),n.TgZ(0,"label",0,1),n.TgZ(2,"span",2),n._UZ(3,"span",3),n._UZ(4,"span",4),n.TgZ(5,"input",5,6),n.NdJ("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),n.qZA(),n.TgZ(7,"span",7),n._UZ(8,"span",8),n.qZA(),n.qZA(),n.TgZ(9,"span",9),n.TgZ(10,"span",10),n._uU(11,"\xa0"),n.qZA(),n.Hsn(12),n.qZA(),n.qZA()),2&t){const t=n.MAs(1);n.uIk("for",e.inputId),n.xp6(5),n.Q6J("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),n.uIk("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),n.xp6(2),n.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.VKq(18,h,e._noopAnimations?0:150)),n.xp6(2),n.ekj("mat-radio-label-before","before"==e.labelPosition)}},directives:[s.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.si,s.BQ],s.BQ]}),t})()},4786:function(t,e,i){"use strict";i.d(e,{gD:function(){return Y},LD:function(){return V},$L:function(){return j}});var n=i(2522),s=i(61511),o=i(31572),r=i(71522),a=i(66283),c=i(4253),u=i(24621),l=i(19861),h=i(4230),d=i(75842),p=i(55959),g=i(31450),f=i(31906),m=i(56238),b=i(44689),w=i(90611),_=i(43835),y=i(79996),A=i(98720),v=i(25416),T=i(10709),C=i(22526),S=i(16073);const E=["trigger"],k=["panel"];function x(t,e){if(1&t&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Oqu(t.placeholder)}}function R(t,e){if(1&t&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.xp6(1),o.Oqu(t.triggerValue)}}function I(t,e){1&t&&o.Hsn(0,0,["*ngSwitchCase","true"])}function O(t,e){if(1&t&&(o.TgZ(0,"span",9),o.YNc(1,R,2,1,"span",10),o.YNc(2,I,1,0,"ng-content",11),o.qZA()),2&t){const t=o.oxw();o.Q6J("ngSwitch",!!t.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function P(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",13),o.TgZ(1,"div",14,15),o.NdJ("@transformPanel.done",function(e){return o.CHM(t),o.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return o.CHM(t),o.oxw()._handleKeydown(e)}),o.Hsn(3,1),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("@transformPanelWrap",void 0),o.xp6(1),o.Gre("mat-select-panel ",t._getPanelTheme(),""),o.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),o.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),o.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,T.X$)("transformPanelWrap",[(0,T.eR)("* => void",(0,T.IO)("@transformPanel",[(0,T.pV)()],{optional:!0}))]),transformPanel:(0,T.X$)("transformPanel",[(0,T.SB)("void",(0,T.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,T.SB)("showing",(0,T.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,T.SB)("showing-multiple",(0,T.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,T.eR)("void => *",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,T.eR)("* => void",(0,T.jt)("100ms 25ms linear",(0,T.oB)({opacity:0})))])};let N=0;const z=new o.OlP("mat-select-scroll-strategy"),F=new o.OlP("MAT_SELECT_CONFIG"),Z={provide:z,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class B{constructor(t,e){this.source=t,this.value=e}}class q{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const U=(0,r.Kr)((0,r.sb)((0,r.Id)((0,r.FD)(q)))),H=new o.OlP("MatSelectTrigger");let j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-select-trigger"]],features:[o._Bn([{provide:H,useExisting:t}])]}),t})(),G=(()=>{class t extends U{constructor(t,e,i,n,s,r,a,c,u,l,h,d,A,v){var T,C,S;super(s,n,a,c,l),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=u,this.ngControl=l,this._liveAnnouncer=A,this._defaultOptions=v,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+N++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+N++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(T=this._defaultOptions)||void 0===T?void 0:T.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(S=null===(C=this._defaultOptions)||void 0===C?void 0:C.disableOptionCentering)&&void 0!==S&&S,this.ariaLabel="",this.optionSelectionChanges=(0,g.P)(()=>{const t=this.options;return t?t.changes.pipe((0,m.O)(t),(0,b.w)(()=>(0,f.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,w.q)(1),(0,b.w)(()=>this.optionSelectionChanges))}),this.openedChange=new o.vpe,this._openedStream=this.openedChange.pipe((0,_.h)(t=>t),(0,y.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,_.h)(t=>!t),(0,y.U)(()=>{})),this.selectionChange=new o.vpe,this.valueChange=new o.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=v.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,l.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,l.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,l.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,l.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,A.x)(),(0,v.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,v.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,m.O)(null),(0,v.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=e===d.JH||e===d.LH||e===d.oh||e===d.SV,n=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&n&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===d.JH||i===d.LH,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==d.K5&&i!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&i===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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,w.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,v.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,v.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 t=(0,f.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,v.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,f.T)(...this.options.map(t=>t._stateChanges)).pipe((0,v.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(c.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(r.rD),o.Y36(o.SBq),o.Y36(C.Is,8),o.Y36(S.F,8),o.Y36(S.sg,8),o.Y36(a.G_,8),o.Y36(S.a5,10),o.$8M("tabindex"),o.Y36(z),o.Y36(u.Kd),o.Y36(F,8))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&(o.Gf(E,5),o.Gf(k,5),o.Gf(n.pI,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.trigger=t.first),o.iGM(t=o.CRH())&&(e.panel=t.first),o.iGM(t=o.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),t})(),Y=(()=>{class t extends G{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,v.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,w.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,r.CB)(t,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,r.jH)((t+e)*i,i,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new B(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const o=0-(t.left+s-(i?n:0)),r=t.right+s-e.width+(i?0:n);o>0?s+=o+8:r>0&&(s-=r+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,o=Math.floor(256/n);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-o))*n+(n-(this._getItemCount()*n-256)%n):e-n/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>n?this._adjustPanelDown(o,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,r.CB)(s,this.options,this.optionGroups);const o=i/2;this._scrollTop=this._calculateOverlayScroll(s,o,n),this._offsetY=this._calculateOverlayOffsetY(s,o,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,H,5),o.Suo(i,r.ey,5),o.Suo(i,r.K7,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.customTrigger=t.first),o.iGM(t=o.CRH())&&(e.options=t),o.iGM(t=o.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&o.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(o.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),o.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:a.Eo,useExisting:t},{provide:r.HF,useExisting:t}]),o.qOj],ngContentSelectors:M,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(t,e){if(1&t&&(o.F$t(D),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return e.toggle()}),o.TgZ(3,"div",2),o.YNc(4,x,2,1,"span",3),o.YNc(5,O,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,P,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=o.MAs(1);o.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",e.empty),o.uIk("id",e._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[n.xu,s.RF,s.n9,n.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[Z],imports:[[s.ez,n.U8,r.Ng,r.BQ],c.ZD,a.lN,r.Ng,r.BQ]}),t})()},25122:function(t,e,i){"use strict";i.d(e,{JX:function(){return U},TM:function(){return H},Rh:function(){return q},SJ:function(){return j}});var n=i(11353),s=i(4253),o=i(61511),r=i(31572),a=i(71522),c=i(19861),u=i(75842),l=i(55959),h=i(87254),d=i(31906),p=i(43835),g=i(79996),f=i(88414),m=i(25416),b=i(98720),w=i(90611),_=i(56238),y=i(47701),A=i(10709),v=i(43490),T=i(24621),C=i(22526);const S=["*"];function E(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",2),r.NdJ("click",function(){return r.CHM(t),r.oxw()._onBackdropClicked()}),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function k(t,e){1&t&&(r.TgZ(0,"mat-drawer-content"),r.Hsn(1,2),r.qZA())}const x=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],R=["mat-drawer","mat-drawer-content","*"];function I(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",2),r.NdJ("click",function(){return r.CHM(t),r.oxw()._onBackdropClicked()}),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function O(t,e){1&t&&(r.TgZ(0,"mat-sidenav-content",3),r.Hsn(1,2),r.qZA())}const P=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],D=["mat-sidenav","mat-sidenav-content","*"],M=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",L={transformDrawer:(0,A.X$)("transform",[(0,A.SB)("open, open-instant",(0,A.oB)({transform:"none",visibility:"visible"})),(0,A.SB)("void",(0,A.oB)({"box-shadow":"none",visibility:"hidden"})),(0,A.eR)("void => open-instant",(0,A.jt)("0ms")),(0,A.eR)("void <=> open, open-instant => void",(0,A.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},N=new r.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),z=new r.OlP("MAT_DRAWER_CONTAINER");let F=(()=>{class t extends s.PQ{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36((0,r.Gpc)(()=>B)),r.Y36(r.SBq),r.Y36(s.mF),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.qOj],ngContentSelectors:S,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),Z=(()=>{class t{constructor(t,e,i,n,s,o,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=o,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new l.xQ,this._animationEnd=new l.xQ,this._animationState="void",this.openedChange=new r.vpe(!0),this._openedStream=this.openedChange.pipe((0,p.h)(t=>t),(0,g.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,f.h)(void 0)),this._closedStream=this.openedChange.pipe((0,p.h)(t=>!t),(0,g.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,f.h)(void 0)),this._destroyed=new l.xQ,this.onPositionChanged=new r.vpe,this._modeChanged=new l.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,h.R)(this._elementRef.nativeElement,"keydown").pipe((0,p.h)(t=>t.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(t)),(0,m.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,b.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,c.Ig)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=(0,c.Ig)(t)}get opened(){return this._opened}set opened(t){this.toggle((0,c.Ig)(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,w.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(T.qV),r.Y36(T.tE),r.Y36(n.t4),r.Y36(r.R0b),r.Y36(o.K0,8),r.Y36(z,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&r.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(r.uIk("align",null),r.d8E("@transform",e._animationState),r.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:S,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},directives:[s.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,i,n,s,o=!1,a){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new r.n_E,this.backdropClick=new r.vpe,this._destroyed=new l.xQ,this._doCheckSubject=new l.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new l.xQ,t&&t.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe((0,m.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=o}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,c.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,c.Ig)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,_.O)(this._allDrawers),(0,m.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,_.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,y.b)(10),(0,m.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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState),(0,m.R)(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"!==t.mode&&t.openedChange.pipe((0,m.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,m.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,w.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,m.R)((0,d.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(C.Is,8),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(s.rL),r.Y36(N),r.Y36(v.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,F,5),r.Suo(i,Z,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._content=t.first),r.iGM(t=r.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(F,5),2&t){let t;r.iGM(t=r.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[r._Bn([{provide:z,useExisting:t}])],ngContentSelectors:R,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(t,e){1&t&&(r.F$t(x),r.YNc(0,E,1,2,"div",0),r.Hsn(1),r.Hsn(2,1),r.YNc(3,k,2,0,"mat-drawer-content",1)),2&t&&(r.Q6J("ngIf",e.hasBackdrop),r.xp6(3),r.Q6J("ngIf",!e._content))},directives:[o.O5,F],styles:[M],encapsulation:2,changeDetection:0}),t})(),q=(()=>{class t extends F{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36((0,r.Gpc)(()=>H)),r.Y36(r.SBq),r.Y36(s.mF),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.qOj],ngContentSelectors:S,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),U=(()=>{class t extends Z{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,c.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,c.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,c.su)(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(r.uIk("align",null),r.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),r.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[r.qOj],ngContentSelectors:S,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},directives:[s.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t})(),H=(()=>{class t extends B{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,q,5),r.Suo(i,U,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._content=t.first),r.iGM(t=r.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[r._Bn([{provide:z,useExisting:t}]),r.qOj],ngContentSelectors:D,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(r.F$t(P),r.YNc(0,I,1,2,"div",0),r.Hsn(1),r.Hsn(2,1),r.YNc(3,O,2,0,"mat-sidenav-content",1)),2&t&&(r.Q6J("ngIf",e.hasBackdrop),r.xp6(3),r.Q6J("ngIf",!e._content))},directives:[o.O5,q,s.PQ],styles:[M],encapsulation:2,changeDetection:0}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.ez,a.BQ,n.ud,s.ZD],s.ZD,a.BQ]}),t})()},27521:function(t,e,i){"use strict";i.d(e,{Rr:function(){return A},rP:function(){return T}});var n=i(36337),s=i(31572),o=i(71522),r=i(19861),a=i(16073),c=i(43490),u=i(24621);const l=["thumbContainer"],h=["toggleBar"],d=["input"],p=function(t){return{enterDuration:t}},g=["*"],f=new s.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let m=0;const b={provide:a.JU,useExisting:(0,s.Gpc)(()=>A),multi:!0};class w{constructor(t,e){this.source=t,this.checked=e}}class _{constructor(t){this._elementRef=t}}const y=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(_))));let A=(()=>{class t extends y{constructor(t,e,i,n,o,r){super(t),this._focusMonitor=e,this._changeDetectorRef=i,this.defaults=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++m,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 s.vpe,this.toggleChange=new s.vpe,this.tabIndex=parseInt(n)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===r}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,r.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new w(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(u.tE),s.Y36(s.sBO),s.$8M("tabindex"),s.Y36(f),s.Y36(c.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(s.Gf(l,5),s.Gf(h,5),s.Gf(d,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._thumbEl=t.first),s.iGM(t=s.CRH())&&(e._thumbBarEl=t.first),s.iGM(t=s.CRH())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),s.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[s._Bn([b]),s.qOj],ngContentSelectors:g,decls:16,vars:19,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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"div",2,3),s.TgZ(4,"input",4,5),s.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(6,"div",6,7),s._UZ(8,"div",8),s.TgZ(9,"div",9),s._UZ(10,"div",10),s.qZA(),s.qZA(),s.qZA(),s.TgZ(11,"span",11,12),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(13,"span",13),s._uU(14,"\xa0"),s.qZA(),s.Hsn(15),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(12);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(2),s.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),s.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),s.xp6(5),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.VKq(17,p,e._noopAnimations?0:150))}},directives:[o.wG,n.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{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%}.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}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[v,o.si,o.BQ,n.Q8],v,o.BQ]}),t})()},71403:function(t,e,i){"use strict";i.d(e,{ZX:function(){return u}});var n=i(2522),s=i(26899),o=i(61511),r=i(31572),a=i(71522),c=i(15980);i(55959),i(90611),i(10709),i(11353);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[n.U8,s.eL,o.ez,c.ot,a.BQ],a.BQ]}),t})()},58623:function(t,e,i){"use strict";i.d(e,{YE:function(){return w},nU:function(){return S},JX:function(){return E}});var n=i(31572),s=i(19861),o=i(71522),r=i(75842),a=i(55959),c=i(31906),u=i(10709),l=i(61511),h=i(24621);const d=["mat-sort-header",""];function p(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",3),n.NdJ("@arrowPosition.start",function(){return n.CHM(t),n.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return n.CHM(t),n.oxw()._disableViewStateAnimation=!1}),n._UZ(1,"div",4),n.TgZ(2,"div",5),n._UZ(3,"div",6),n._UZ(4,"div",7),n._UZ(5,"div",8),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),n.xp6(2),n.Q6J("@indicator",t._getArrowDirectionState()),n.xp6(1),n.Q6J("@leftPointer",t._getArrowDirectionState()),n.xp6(1),n.Q6J("@rightPointer",t._getArrowDirectionState())}}const g=["*"],f=new n.OlP("MAT_SORT_DEFAULT_OPTIONS");class m{}const b=(0,o.dB)((0,o.Id)(m));let w=(()=>{class t extends b{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new a.xQ,this.start="asc",this._direction="",this.sortChange=new n.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let o=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[n.qOj,n.TTD]}),t})();const _=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,y={indicator:(0,u.X$)("indicator",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"translateY(0px)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"translateY(10px)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(_))]),leftPointer:(0,u.X$)("leftPointer",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"rotate(-45deg)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"rotate(45deg)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(_))]),rightPointer:(0,u.X$)("rightPointer",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"rotate(45deg)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"rotate(-45deg)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(_))]),arrowOpacity:(0,u.X$)("arrowOpacity",[(0,u.SB)("desc-to-active, asc-to-active, active",(0,u.oB)({opacity:1})),(0,u.SB)("desc-to-hint, asc-to-hint, hint",(0,u.oB)({opacity:.54})),(0,u.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,u.oB)({opacity:0})),(0,u.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,u.jt)("0ms")),(0,u.eR)("* <=> *",(0,u.jt)(_))]),arrowPosition:(0,u.X$)("arrowPosition",[(0,u.eR)("* => desc-to-hint, * => desc-to-active",(0,u.jt)(_,(0,u.F4)([(0,u.oB)({transform:"translateY(-25%)"}),(0,u.oB)({transform:"translateY(0)"})]))),(0,u.eR)("* => hint-to-desc, * => active-to-desc",(0,u.jt)(_,(0,u.F4)([(0,u.oB)({transform:"translateY(0)"}),(0,u.oB)({transform:"translateY(25%)"})]))),(0,u.eR)("* => asc-to-hint, * => asc-to-active",(0,u.jt)(_,(0,u.F4)([(0,u.oB)({transform:"translateY(25%)"}),(0,u.oB)({transform:"translateY(0)"})]))),(0,u.eR)("* => hint-to-asc, * => active-to-asc",(0,u.jt)(_,(0,u.F4)([(0,u.oB)({transform:"translateY(0)"}),(0,u.oB)({transform:"translateY(-25%)"})]))),(0,u.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,u.oB)({transform:"translateY(0)"})),(0,u.SB)("hint-to-desc, active-to-desc, desc",(0,u.oB)({transform:"translateY(-25%)"})),(0,u.SB)("hint-to-asc, active-to-asc, asc",(0,u.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,u.X$)("allowChildren",[(0,u.eR)("* <=> *",[(0,u.IO)("@*",(0,u.pV)(),{optional:!0})])])};let A=(()=>{class t{constructor(){this.changes=new a.xQ}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const v={provide:A,deps:[[new n.FiY,new n.tp0,A]],useFactory:function(t){return t||new A}};class T{}const C=(0,o.Id)(T);let S=(()=>{class t extends C{constructor(t,e,i,n,s,o){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||t.keyCode!==r.L_&&t.keyCode!==r.K5||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=(0,c.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 t.\u0275fac=function(e){return new(e||t)(n.Y36(A),n.Y36(n.sBO),n.Y36(w,8),n.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),n.Y36(h.tE),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(n.uIk("aria-sort",e._getAriaSortAttribute()),n.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.qOj],attrs:d,ngContentSelectors:g,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA(),n.YNc(3,p,6,6,"div",2),n.qZA()),2&t&&(n.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),n.uIk("tabindex",e._isDisabled()?null:0),n.xp6(3),n.Q6J("ngIf",e._renderArrow()))},directives:[l.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[y.indicator,y.leftPointer,y.rightPointer,y.arrowOpacity,y.arrowPosition,y.allowChildren]},changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[v],imports:[[l.ez,o.BQ]]}),t})()},70663:function(t,e,i){"use strict";i.d(e,{C0:function(){return at},VY:function(){return W},Vq:function(){return ht},T5:function(){return gt},Ic:function(){return dt},fd:function(){return pt}});var n=i(26899),s=i(24621),o=i(22526),r=i(19861),a=i(75842),c=i(61511),u=i(31572),l=i(55959),h=i(40878),d=i(56238),p=i(25416);function g(t,e){1&t&&u.Hsn(0)}const f=["*"];let m=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),b=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.Rgc))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),w=0;const _=new u.OlP("STEPPER_GLOBAL_OPTIONS");let y=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new u.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=(0,r.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,r.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,r.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,r.Ig)(t)}_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))}}return t.\u0275fac=function(e){return new(e||t)(u.Y36((0,u.Gpc)(()=>A)),u.Y36(_,8))},t.\u0275cmp=u.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){if(1&t&&u.Suo(i,b,5),2&t){let t;u.iGM(t=u.CRH())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&u.Gf(u.Rgc,7),2&t){let t;u.iGM(t=u.CRH())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[u.TTD],ngContentSelectors:f,decls:1,vars:0,template:function(t,e){1&t&&(u.F$t(),u.YNc(0,g,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),A=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new l.xQ,this.steps=new u.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new u.vpe,this._orientation="horizontal",this._groupId=w++,this._document=n}get linear(){return this._linear}set linear(t){this._linear=(0,r.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var e;const i=(0,r.su)(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,p.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new s.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,h.of)()).pipe((0,d.O)(this._layoutDirection()),(0,p.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),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._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(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const i=this.steps.toArray()[t],n=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,i="number"){return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?i:t.editable&&e?"edit":i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=(0,a.Vb)(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==a.L_&&i!==a.K5?n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(A))},t.\u0275dir=u.lG2({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&u.NdJ("click",function(){return e._handleClick()}),2&t&&u.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),T=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(A))},t.\u0275dir=u.lG2({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&u.NdJ("click",function(){return e._handleClick()}),2&t&&u.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[o.vT]]}),t})();var S=i(15980),E=i(71522),k=i(43691),x=i(87570),R=i(44689),I=i(79996),O=i(98720),P=i(10709);function D(t,e){if(1&t&&u.GkF(0,8),2&t){const t=u.oxw();u.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function M(t,e){if(1&t&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&t){const t=u.oxw(2);u.xp6(1),u.Oqu(t._getDefaultTextForState(t.state))}}function L(t,e){if(1&t&&(u.TgZ(0,"mat-icon"),u._uU(1),u.qZA()),2&t){const t=u.oxw(2);u.xp6(1),u.Oqu(t._getDefaultTextForState(t.state))}}function N(t,e){if(1&t&&(u.ynx(0,9),u.YNc(1,M,2,1,"span",10),u.YNc(2,L,2,1,"mat-icon",11),u.BQk()),2&t){const t=u.oxw();u.Q6J("ngSwitch",t.state),u.xp6(1),u.Q6J("ngSwitchCase","number")}}function z(t,e){if(1&t&&(u.TgZ(0,"div",12),u.GkF(1,13),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function F(t,e){if(1&t&&(u.TgZ(0,"div",12),u._uU(1),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Oqu(t.label)}}function Z(t,e){if(1&t&&(u.TgZ(0,"div",14),u._uU(1),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Oqu(t._intl.optionalLabel)}}function B(t,e){if(1&t&&(u.TgZ(0,"div",15),u._uU(1),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Oqu(t.errorMessage)}}function q(t,e){}function U(t,e){if(1&t&&(u.Hsn(0),u.YNc(1,q,0,0,"ng-template",0)),2&t){const t=u.oxw();u.xp6(1),u.Q6J("cdkPortalOutlet",t._portal)}}const H=["*"];function j(t,e){1&t&&u._UZ(0,"div",9)}const G=function(t,e){return{step:t,i:e}};function Y(t,e){if(1&t&&(u.ynx(0),u.GkF(1,7),u.YNc(2,j,1,0,"div",8),u.BQk()),2&t){const t=e.$implicit,i=e.index,n=e.last;u.oxw(2);const s=u.MAs(4);u.xp6(1),u.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",u.WLB(3,G,t,i)),u.xp6(1),u.Q6J("ngIf",!n)}}function V(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",10),u.NdJ("@horizontalStepTransition.done",function(e){return u.CHM(t),u.oxw(2)._animationDone.next(e)}),u.GkF(1,11),u.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=u.oxw(2);u.Q6J("@horizontalStepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),u.uIk("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),u.xp6(1),u.Q6J("ngTemplateOutlet",t.content)}}function K(t,e){if(1&t&&(u.ynx(0),u.TgZ(1,"div",3),u.YNc(2,Y,3,6,"ng-container",4),u.qZA(),u.TgZ(3,"div",5),u.YNc(4,V,2,5,"div",6),u.qZA(),u.BQk()),2&t){const t=u.oxw();u.xp6(2),u.Q6J("ngForOf",t.steps),u.xp6(2),u.Q6J("ngForOf",t.steps)}}function J(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",13),u.GkF(1,7),u.TgZ(2,"div",14),u.TgZ(3,"div",15),u.NdJ("@verticalStepTransition.done",function(e){return u.CHM(t),u.oxw(2)._animationDone.next(e)}),u.TgZ(4,"div",16),u.GkF(5,11),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=u.oxw(2),o=u.MAs(4);u.xp6(1),u.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",u.WLB(9,G,t,i)),u.xp6(1),u.ekj("mat-stepper-vertical-line",!n),u.xp6(1),u.Q6J("@verticalStepTransition",s._getAnimationDirection(i))("id",s._getStepContentId(i)),u.uIk("aria-labelledby",s._getStepLabelId(i))("aria-expanded",s.selectedIndex===i),u.xp6(2),u.Q6J("ngTemplateOutlet",t.content)}}function $(t,e){if(1&t&&(u.ynx(0),u.YNc(1,J,6,12,"div",12),u.BQk()),2&t){const t=u.oxw();u.xp6(1),u.Q6J("ngForOf",t.steps)}}function Q(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"mat-step-header",17),u.NdJ("click",function(){return e.step.select()})("keydown",function(e){return u.CHM(t),u.oxw()._onKeydown(e)}),u.qZA()}if(2&t){const t=e.step,i=e.i,n=u.oxw();u.ekj("mat-horizontal-stepper-header","horizontal"===n.orientation)("mat-vertical-stepper-header","vertical"===n.orientation),u.Q6J("tabIndex",n._getFocusIndex()===i?0:-1)("id",n._getStepLabelId(i))("index",i)("state",n._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===i)("active",t.completed||n.selectedIndex===i||!n.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple)("color",t.color||n.color),u.uIk("aria-posinset",i+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)}}let W=(()=>{class t extends b{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,selectors:[["","matStepLabel",""]],features:[u.qOj]}),t})(),X=(()=>{class t{constructor(){this.changes=new l.xQ,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=u.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const tt={provide:X,deps:[[new u.FiY,new u.tp0,X]],useFactory:function(t){return t||new X}};class et extends m{constructor(t){super(t)}}const it=(0,E.pj)(et,"primary");let nt=(()=>{class t extends it{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof W?null:this.label}_templateLabel(){return this.label instanceof W?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(X),u.Y36(s.tE),u.Y36(u.SBq),u.Y36(u.sBO))},t.\u0275cmp=u.Xpm({type:t,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:[u.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"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(u._UZ(0,"div",0),u.TgZ(1,"div"),u.TgZ(2,"div",1),u.YNc(3,D,1,2,"ng-container",2),u.YNc(4,N,3,2,"ng-container",3),u.qZA(),u.qZA(),u.TgZ(5,"div",4),u.YNc(6,z,2,1,"div",5),u.YNc(7,F,2,1,"div",5),u.YNc(8,Z,2,1,"div",6),u.YNc(9,B,2,1,"div",7),u.qZA()),2&t&&(u.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),u.xp6(1),u.Gre("mat-step-icon-state-",e.state," mat-step-icon"),u.ekj("mat-step-icon-selected",e.selected),u.xp6(1),u.Q6J("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(2),u.ekj("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),u.xp6(1),u.Q6J("ngIf",e._templateLabel()),u.xp6(1),u.Q6J("ngIf",e._stringLabel()),u.xp6(1),u.Q6J("ngIf",e.optional&&"error"!=e.state),u.xp6(1),u.Q6J("ngIf","error"==e.state))},directives:[E.wG,c.RF,c.n9,c.ED,c.O5,c.tP,k.Hw],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.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,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.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}),t})();const st={horizontalStepTransition:(0,P.X$)("horizontalStepTransition",[(0,P.SB)("previous",(0,P.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,P.SB)("current",(0,P.oB)({transform:"none",visibility:"inherit"})),(0,P.SB)("next",(0,P.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,P.eR)("* => *",(0,P.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,P.X$)("verticalStepTransition",[(0,P.SB)("previous",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("next",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("current",(0,P.oB)({height:"*",visibility:"inherit"})),(0,P.eR)("* <=> current",(0,P.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let ot=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.Rgc))},t.\u0275dir=u.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),rt=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.Rgc))},t.\u0275dir=u.lG2({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),at=(()=>{class t extends y{constructor(t,e,i,n){super(t,n),this._errorStateMatcher=e,this._viewContainerRef=i,this._isSelected=x.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,R.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(t=>t.selectedStep===this),(0,d.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new n.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(u.Y36((0,u.Gpc)(()=>ht)),u.Y36(E.rD,4),u.Y36(u.s_b),u.Y36(_,8))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){if(1&t&&(u.Suo(i,W,5),u.Suo(i,rt,5)),2&t){let t;u.iGM(t=u.CRH())&&(e.stepLabel=t.first),u.iGM(t=u.CRH())&&(e._lazyContent=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[u._Bn([{provide:E.rD,useExisting:t},{provide:y,useExisting:t}]),u.qOj],ngContentSelectors:H,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(u.F$t(),u.YNc(0,U,2,1,"ng-template"))},directives:[n.Pl],encapsulation:2,changeDetection:0}),t})(),ct=(()=>{class t extends A{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,features:[u.qOj]}),t})(),ut=(()=>{class t extends ct{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,selectors:[["mat-horizontal-stepper"]],features:[u.qOj]}),t})(),lt=(()=>{class t extends ct{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,selectors:[["mat-vertical-stepper"]],features:[u.qOj]}),t})(),ht=(()=>{class t extends A{constructor(t,e,i,n){super(t,e,i,n),this.steps=new u.n_E,this.animationDone=new u.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new l.xQ;const s=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===s?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,O.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),(0,p.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(o.Is,8),u.Y36(u.sBO),u.Y36(u.SBq),u.Y36(c.K0))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,i){if(1&t&&(u.Suo(i,at,5),u.Suo(i,ot,5)),2&t){let t;u.iGM(t=u.CRH())&&(e._steps=t),u.iGM(t=u.CRH())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&u.Gf(nt,5),2&t){let t;u.iGM(t=u.CRH())&&(e._stepHeader=t)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(u.uIk("aria-orientation",e.orientation),u.ekj("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[u._Bn([{provide:A,useExisting:t},{provide:ut,useExisting:t},{provide:lt,useExisting:t}]),u.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(t,e){1&t&&(u.ynx(0,0),u.YNc(1,K,5,2,"ng-container",1),u.YNc(2,$,2,1,"ng-container",1),u.BQk(),u.YNc(3,Q,1,22,"ng-template",null,2,u.W1O)),2&t&&(u.Q6J("ngSwitch",e.orientation),u.xp6(1),u.Q6J("ngSwitchCase","horizontal"),u.xp6(1),u.Q6J("ngSwitchCase","vertical"))},directives:[c.RF,c.n9,c.sg,c.tP,c.O5,nt],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[st.horizontalStepTransition,st.verticalStepTransition]},changeDetection:0}),t})(),dt=(()=>{class t extends v{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&u.Ikx("type",e.type)},inputs:{type:"type"},features:[u.qOj]}),t})(),pt=(()=>{class t extends T{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=u.n5z(t)))(i||t)}}(),t.\u0275dir=u.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&u.Ikx("type",e.type)},inputs:{type:"type"},features:[u.qOj]}),t})(),gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[tt,E.rD],imports:[[E.BQ,c.ez,n.eL,S.ot,C,k.Ps,E.si],E.BQ]}),t})()},67033:function(t,e,i){"use strict";i.d(e,{ev:function(){return dt},Dz:function(){return ct},w1:function(){return lt},ge:function(){return ht},fO:function(){return ut},XQ:function(){return ft},as:function(){return pt},Gk:function(){return mt},nj:function(){return gt},BZ:function(){return at},by:function(){return _t},p0:function(){return bt}});var n=i(19861),s=i(4230),o=i(31572),r=i(22526),a=i(11353),c=i(4253),u=i(61511),l=i(55959),h=i(19764),d=i(78512),p=i(4710),g=i(40878),f=i(25416),m=i(90611);const b=[[["caption"]],[["colgroup"],["col"]]],w=["caption","colgroup, col"];function _(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=(0,n.Ig)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const y=new o.OlP("CDK_TABLE");let A=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t})(),v=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),T=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class C{}const S=_(C);let E=(()=>{class t extends S{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=(0,n.Ig)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(y,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,A,5),o.Suo(i,v,5),o.Suo(i,T,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.cell=t.first),o.iGM(t=o.CRH())&&(e.headerCell=t.first),o.iGM(t=o.CRH())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.qOj]}),t})();class k{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let x=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(E),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]}),t})(),R=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(E),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[o.qOj]}),t})();class I{constructor(){this.tasks=[],this.endTasks=[]}}const O=new o.OlP("_COALESCED_STYLE_SCHEDULER");let P=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new l.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new I,this._getScheduleObservable().pipe((0,f.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new I;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,h.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,m.q)(1))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.R0b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof N?t.headerCell.template:this instanceof Z?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4))},t.\u0275dir=o.lG2({type:t,features:[o.TTD]}),t})();class M extends D{}const L=_(M);let N=(()=>{class t extends L{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(y,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),t})();class z extends D{}const F=_(z);let Z=(()=>{class t extends F{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(y,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),t})(),B=(()=>{class t extends D{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(y,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]}),t})(),q=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[q],encapsulation:2}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[q],encapsulation:2}),t})(),j=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const G=["top","bottom","left","right"];class Y{constructor(t,e,i,n,s=!0,o=!0,r){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=r,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,r=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(r,e),c=this._getStickyEndColumnPositions(r,i),u=e.lastIndexOf(!0),l=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const r of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===l?[]:r.slice(l).map((t,e)=>i[e+l]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],r=[],a=[];for(let u=0,l=0;u{var t,e;for(let r=0;r{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);G.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of G)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const V=new o.OlP("CDK_SPL");let K=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","rowOutlet",""]]}),t})(),J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),W=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,h){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=r,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=u,this._stickyPositioningListener=h,this._onDestroy=new l.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,n.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,n.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe((0,f.R)(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),X(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_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 t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,s.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,p.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,g.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,f.R)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))q.mostRecentCellOutlet&&q.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Y(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,g.of)()).pipe((0,f.R)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(r.Is,8),o.Y36(u.K0),o.Y36(a.t4),o.Y36(s.k),o.Y36(O),o.Y36(c.rL),o.Y36(V,12))},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,j,5),o.Suo(i,E,5),o.Suo(i,B,5),o.Suo(i,N,5),o.Suo(i,Z,5)),2&t){let t;o.iGM(t=o.CRH())&&(e._noDataRow=t.first),o.iGM(t=o.CRH())&&(e._contentColumnDefs=t),o.iGM(t=o.CRH())&&(e._contentRowDefs=t),o.iGM(t=o.CRH())&&(e._contentHeaderRowDefs=t),o.iGM(t=o.CRH())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(o.Gf(K,7),o.Gf(J,7),o.Gf($,7),o.Gf(Q,7)),2&t){let t;o.iGM(t=o.CRH())&&(e._rowOutlet=t.first),o.iGM(t=o.CRH())&&(e._headerRowOutlet=t.first),o.iGM(t=o.CRH())&&(e._footerRowOutlet=t.first),o.iGM(t=o.CRH())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[o._Bn([{provide:y,useExisting:t},{provide:s.k,useClass:s.yy},{provide:O,useClass:P},{provide:V,useValue:null}])],ngContentSelectors:w,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.F$t(b),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0),o.GkF(3,1),o.GkF(4,2),o.GkF(5,3))},directives:[J,K,Q,$],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function X(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[c.Cl]]}),t})();var et=i(71522),it=i(31906),nt=i(31305),st=i(79996);const ot=[[["caption"]],[["colgroup"],["col"]]],rt=["caption","colgroup, col"];let at=(()=>{class t extends W{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[o._Bn([{provide:s.k,useClass:s.yy},{provide:W,useExisting:t},{provide:y,useExisting:t},{provide:O,useClass:P},{provide:V,useValue:null}]),o.qOj],ngContentSelectors:rt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.F$t(ot),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0),o.GkF(3,1),o.GkF(4,2),o.GkF(5,3))},directives:[J,K,Q,$],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),ct=(()=>{class t extends A{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matCellDef",""]],features:[o._Bn([{provide:A,useExisting:t}]),o.qOj]}),t})(),ut=(()=>{class t extends v{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[o._Bn([{provide:v,useExisting:t}]),o.qOj]}),t})(),lt=(()=>{class t extends E{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o._Bn([{provide:E,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.qOj]}),t})(),ht=(()=>{class t extends x{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[o.qOj]}),t})(),dt=(()=>{class t extends R{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[o.qOj]}),t})(),pt=(()=>{class t extends N{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o._Bn([{provide:N,useExisting:t}]),o.qOj]}),t})(),gt=(()=>{class t extends B{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o._Bn([{provide:B,useExisting:t}]),o.qOj]}),t})(),ft=(()=>{class t extends U{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[o._Bn([{provide:U,useExisting:t}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[q],encapsulation:2}),t})(),mt=(()=>{class t extends H{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[o._Bn([{provide:H,useExisting:t}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[q],encapsulation:2}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[tt,et.BQ],et.BQ]}),t})();class wt extends s.o2{constructor(t=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new l.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if((0,n.t6)(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),o=this.sortingDataAccessor(e,i);const r=typeof s,a=typeof o;r!==a&&("number"===r&&(s+=""),"number"===a&&(o+=""));let c=0;return null!=s&&null!=o?s>o?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new d.X(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?(0,it.T)(this._sort.sortChange,this._sort.initialized):(0,g.of)(null),i=this._paginator?(0,it.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,g.of)(null),n=(0,nt.aj)([this._data,this._filter]).pipe((0,st.U)(([t])=>this._filterData(t))),s=(0,nt.aj)([n,e]).pipe((0,st.U)(([t])=>this._orderData(t))),o=(0,nt.aj)([s,i]).pipe((0,st.U)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}class _t extends wt{}},55109:function(t,e,i){"use strict";i.d(e,{uX:function(){return $},Vc:function(){return j},SP:function(){return at},uD:function(){return Y},Nh:function(){return ft}});var n=i(24621),s=i(36337),o=i(26899),r=i(61511),a=i(31572),c=i(71522),u=i(43490),l=i(55959),h=i(87570),d=i(31906),p=i(87254),g=i(40878),f=i(81110),m=i(10709),b=i(56238),w=i(98720),_=i(25416),y=i(19861),A=i(11353),v=i(75842),T=i(22526),C=i(4253);function S(t,e){1&t&&a.Hsn(0)}const E=["*"];function k(t,e){}const x=function(t){return{animationDuration:t}},R=function(t,e){return{value:t,params:e}},I=["tabBodyWrapper"],O=["tabHeader"];function P(t,e){}function D(t,e){if(1&t&&a.YNc(0,P,0,0,"ng-template",9),2&t){const t=a.oxw().$implicit;a.Q6J("cdkPortalOutlet",t.templateLabel)}}function M(t,e){if(1&t&&a._uU(0),2&t){const t=a.oxw().$implicit;a.Oqu(t.textLabel)}}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){const e=a.CHM(t),i=e.$implicit,n=e.index,s=a.oxw(),o=a.MAs(1);return s._handleClick(i,o,n)})("cdkFocusChange",function(e){const i=a.CHM(t).index;return a.oxw()._tabFocusChanged(e,i)}),a.TgZ(1,"div",7),a.YNc(2,D,1,1,"ng-template",8),a.YNc(3,M,1,1,"ng-template",8),a.qZA(),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.ekj("mat-tab-label-active",n.selectedIndex==i),a.Q6J("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),a.uIk("tabIndex",n._getTabIndex(t,i))("aria-posinset",i+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),a.xp6(2),a.Q6J("ngIf",t.templateLabel),a.xp6(1),a.Q6J("ngIf",!t.templateLabel)}}function N(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-tab-body",10),a.NdJ("_onCentered",function(){return a.CHM(t),a.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return a.CHM(t),a.oxw()._setTabBodyWrapperHeight(e)}),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.ekj("mat-tab-body-active",n.selectedIndex==i),a.Q6J("id",n._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",n.animationDuration),a.uIk("aria-labelledby",n._getTabLabelId(i))}}const z=["tabListContainer"],F=["tabList"],Z=["nextPaginator"],B=["previousPaginator"],q=new a.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let U=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=i,this._animationMode=n}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),i=this._elementRef.nativeElement;i.style.left=e.left,i.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(q),a.Y36(u.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const H=new a.OlP("MatTabContent");let j=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabContent",""]],features:[a._Bn([{provide:H,useExisting:t}])]}),t})();const G=new a.OlP("MatTabLabel");let Y=(()=>{class t extends o.ig{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=a.n5z(t)))(i||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a._Bn([{provide:G,useExisting:t}]),a.qOj]}),t})();class V{}const K=(0,c.Id)(V),J=new a.OlP("MAT_TAB_GROUP");let $=(()=>{class t extends K{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new l.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new o.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.s_b),a.Y36(J,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){if(1&t&&(a.Suo(i,G,5),a.Suo(i,H,7,a.Rgc)),2&t){let t;a.iGM(t=a.CRH())&&(e.templateLabel=t.first),a.iGM(t=a.CRH())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(a.Rgc,7),2&t){let t;a.iGM(t=a.CRH())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.qOj,a.TTD],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(a.F$t(),a.YNc(0,S,1,0,"ng-template"))},encapsulation:2}),t})();const Q={translateTab:(0,m.X$)("translateTab",[(0,m.SB)("center, void, left-origin-center, right-origin-center",(0,m.oB)({transform:"none"})),(0,m.SB)("left",(0,m.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,m.SB)("right",(0,m.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,m.eR)("* => left, * => right, left => center, right => center",(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,m.eR)("void => left-origin-center",[(0,m.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,m.eR)("void => right-origin-center",[(0,m.oB)({transform:"translate3d(100%, 0, 0)"}),(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let W=(()=>{class t extends o.Pl{constructor(t,e,i,n){super(t,e,n),this._host=i,this._centeringSub=h.w.EMPTY,this._leavingSub=h.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,b.O)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!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 t.\u0275fac=function(e){return new(e||t)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36((0,a.Gpc)(()=>tt)),a.Y36(r.K0))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabBodyHost",""]],features:[a.qOj]}),t})(),X=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.w.EMPTY,this._translateTabComplete=new l.xQ,this._onCentering=new a.vpe,this._beforeCentering=new a.vpe,this._afterLeavingCenter=new a.vpe,this._onCentered=new a.vpe(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe((0,w.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(T.Is,8),a.Y36(a.sBO))},t.\u0275dir=a.lG2({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),tt=(()=>{class t extends X{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(T.Is,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&a.Gf(o.Pl,5),2&t){let t;a.iGM(t=a.CRH())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[a.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(a.TgZ(0,"div",0,1),a.NdJ("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),a.YNc(2,k,0,0,"ng-template",2),a.qZA()),2&t&&a.Q6J("@translateTab",a.WLB(3,R,e._position,a.VKq(1,x,e.animationDuration)))},directives:[W],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[Q.translateTab]}}),t})();const et=new a.OlP("MAT_TABS_CONFIG");let it=0;class nt{}class st{constructor(t){this._elementRef=t}}const ot=(0,c.pj)((0,c.Kr)(st),"primary");let rt=(()=>{class t extends ot{constructor(t,e,i,n){super(t),this._changeDetectorRef=e,this._animationMode=n,this._tabs=new a.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.w.EMPTY,this._tabLabelSubscription=h.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.vpe,this.focusChange=new a.vpe,this.animationDone=new a.vpe,this.selectedTabChange=new a.vpe(!0),this._groupId=it++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,this.dynamicHeight=!(!i||null==i.dynamicHeight)&&i.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=(0,y.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=(0,y.su)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));const e=this._tabBodyWrapper.nativeElement;e.style.minHeight=e.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,i)=>{e.position=i-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e{this._tabs.reset(t.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()}focusTab(t){const e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,d.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,i){t.disabled||(this.selectedIndex=e.focusIndex=i)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}_tabFocusChanged(t,e){t&&(this._tabHeader.focusIndex=e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(et,8),a.Y36(u.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.qOj]}),t})(),at=(()=>{class t extends rt{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(et,8),a.Y36(u.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,$,5),2&t){let t;a.iGM(t=a.CRH())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(I,5),a.Gf(O,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._tabBodyWrapper=t.first),a.iGM(t=a.CRH())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a._Bn([{provide:J,useExisting:t}]),a.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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(a.TgZ(0,"mat-tab-header",0,1),a.NdJ("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),a.YNc(2,L,4,14,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.YNc(5,N,1,8,"mat-tab-body",5),a.qZA()),2&t&&(a.Q6J("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),a.xp6(2),a.Q6J("ngForOf",e._tabs),a.xp6(1),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(2),a.Q6J("ngForOf",e._tabs))},directives:function(){return[gt,r.sg,lt,c.wG,n.kH,r.O5,o.Pl,tt]},styles:[".mat-tab-group{display:flex;flex-direction:column}.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;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}),t})();class ct{}const ut=(0,c.Id)(ct);let lt=(()=>{class t extends ut{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(a.uIk("aria-disabled",!!e.disabled),a.ekj("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[a.qOj]}),t})();const ht=(0,A.i$)({passive:!0});let dt=(()=>{class t{constructor(t,e,i,n,s,o,r){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=i,this._dir=n,this._ngZone=s,this._platform=o,this._animationMode=r,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.vpe,this.indexFocused=new a.vpe,s.runOutsideAngular(()=>{(0,p.R)(t.nativeElement,"mouseleave").pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,y.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",ht).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",ht).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,g.of)("ltr"),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),(0,d.T)(t,e,this._items.changes).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(i)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,_.R)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}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(t){if(!(0,v.Vb)(t))switch(t.keyCode){case v.K5:case v.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",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(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,i=this._getLayoutDirection();e.scrollLeft="ltr"==i?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:s}=e.elementRef.nativeElement;let o,r;"ltr"==this._getLayoutDirection()?(o=n,r=o+s):(r=this._tabList.nativeElement.offsetWidth-n,o=r-s);const a=this.scrollDistance,c=this.scrollDistance+i;oc&&(this.scrollDistance+=r-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_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._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),(0,f.H)(650,100).pipe((0,_.R)((0,d.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:i}=this._scrollHeader(t);(0===i||i>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(A.t4),a.Y36(u.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),pt=(()=>{class t extends dt{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,y.Ig)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(A.t4),a.Y36(u.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disableRipple:"disableRipple"},features:[a.qOj]}),t})(),gt=(()=>{class t extends pt{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(A.t4),a.Y36(u.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,lt,4),2&t){let t;a.iGM(t=a.CRH())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(U,7),a.Gf(z,7),a.Gf(F,7),a.Gf(Z,5),a.Gf(B,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._inkBar=t.first),a.iGM(t=a.CRH())&&(e._tabListContainer=t.first),a.iGM(t=a.CRH())&&(e._tabList=t.first),a.iGM(t=a.CRH())&&(e._nextPaginator=t.first),a.iGM(t=a.CRH())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.qOj],ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a._UZ(2,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.NdJ("keydown",function(t){return e._handleKeydown(t)}),a.TgZ(5,"div",5,6),a.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),a.TgZ(7,"div",7),a.Hsn(8),a.qZA(),a._UZ(9,"mat-ink-bar"),a.qZA(),a.qZA(),a.TgZ(10,"div",8,9),a.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a._UZ(12,"div",2),a.qZA()),2&t&&(a.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.xp6(5),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(5),a.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.wG,s.wD,U],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[r.ez,c.BQ,o.eL,c.si,s.Q8,n.rt],c.BQ]}),t})()},36922:function(t,e,i){"use strict";i.d(e,{gM:function(){return Z},AV:function(){return U}});var n=i(2522),s=i(24621),o=i(61511),r=i(31572),a=i(71522),c=i(4253),u=i(19861),l=i(75842),h=i(55959),d=i(31305),p=i(47930),g=i(48318),f=i(90611),m=i(96673);class b{constructor(t){this.total=t}call(t,e){return e.subscribe(new w(t,this.total))}}class w extends m.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var _=i(47701),y=i(79996),A=i(56238),v=i(25416),T=i(11353);const C=new Set;let S,E=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!C.has(t))try{S||(S=document.createElement("style"),S.setAttribute("type","text/css"),document.head.appendChild(S)),S.sheet&&(S.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),C.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(T.t4))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(T.t4))},token:t,providedIn:"root"}),t})();function k(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let x=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new h.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return R((0,u.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=R((0,u.Eq)(t)).map(t=>this._registerQuery(t).observable);let i=(0,d.aj)(e);return i=(0,p.z)(i.pipe((0,f.q)(1)),i.pipe(t=>t.lift(new b(1)),(0,_.b)(0))),i.pipe((0,y.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new g.y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe((0,A.O)(e),(0,y.U)(({matches:e})=>({query:t,matches:e})),(0,v.R)(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(E),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E),r.LFG(r.R0b))},token:t,providedIn:"root"}),t})();function R(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var I=i(26899),O=i(10709),P=i(22526);const D={tooltipState:(0,O.X$)("state",[(0,O.SB)("initial, void, hidden",(0,O.oB)({opacity:0,transform:"scale(0)"})),(0,O.SB)("visible",(0,O.oB)({transform:"scale(1)"})),(0,O.eR)("* => visible",(0,O.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,O.F4)([(0,O.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,O.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,O.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,O.eR)("* => hidden",(0,O.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({opacity:0})))])},M=(0,T.i$)({passive:!0}),L=new r.OlP("mat-tooltip-scroll-strategy"),N={provide:L,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},z=new r.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let F=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,d,p){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=u,this._defaultOptions=d,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 h.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===l.hY&&!(0,l.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=p,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),u.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,u.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,v.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,M)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,v.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,v.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,v.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,v.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,M)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.aV),r.Y36(r.SBq),r.Y36(c.mF),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(T.t4),r.Y36(s.$s),r.Y36(s.tE),r.Y36(void 0),r.Y36(P.Is),r.Y36(void 0),r.Y36(o.K0))},t.\u0275dir=r.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),Z=(()=>{class t extends F{constructor(t,e,i,n,s,o,r,a,c,u,l,h){super(t,e,i,n,s,o,r,a,c,u,l,h),this._tooltipComponent=q}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.aV),r.Y36(r.SBq),r.Y36(c.mF),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(T.t4),r.Y36(s.$s),r.Y36(s.tE),r.Y36(L),r.Y36(P.Is,8),r.Y36(z,8),r.Y36(o.K0))},t.\u0275dir=r.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[r.qOj]}),t})(),B=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t}),t})(),q=(()=>{class t extends B{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(x))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._handleBodyInteraction()},!1,r.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,r.pYS),2&t&&r.Udp("zoom","visible"===e._visibility?1:null)},features:[r.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(r.TgZ(0,"div",0),r.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.ALo(1,"async"),r._uU(2),r.qZA()),2&t){let t;r.ekj("mat-tooltip-handset",null==(t=r.lcZ(1,5,e._isHandset))?null:t.matches),r.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),r.xp6(2),r.Oqu(e.message)}},directives:[o.mk],pipes:[o.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[D.tooltipState]},changeDetection:0}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[N],imports:[[s.rt,o.ez,n.U8,a.BQ],a.BQ,c.ZD]}),t})()},91010:function(t,e,i){"use strict";i.d(e,{GZ:function(){return f},gi:function(){return b},kc:function(){return A},JZ:function(){return y},dp:function(){return _},WX:function(){return v},uo:function(){return p},fQ:function(){return g},Ar:function(){return m},eu:function(){return w}});var n=i(71709),s=i(71522),o=i(19861),r=i(4230),a=i(78512),c=i(31906),u=i(90611),l=i(79996),h=i(31572);const d=(0,s.sb)((0,s.Id)(n.Hs));let p=(()=>{class t extends d{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(i)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(n._0),h.$8M("tabindex"))},t.\u0275dir=h.lG2({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[h._Bn([{provide:n.Hs,useExisting:t}]),h.qOj]}),t})(),g=(()=>{class t extends n.rO{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[h._Bn([{provide:n.rO,useExisting:t}]),h.qOj]}),t})(),f=(()=>{class t extends n.Xx{constructor(t,e,i,n){super(t,e,i),this._elementRef=t,this._tree=e,this._differs=i,this._disabled=!1,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-nested-tree-node")}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:0}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(n._0),h.Y36(h.ZZ4),h.$8M("tabindex"))},t.\u0275dir=h.lG2({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[h._Bn([{provide:n.Xx,useExisting:t},{provide:n.Hs,useExisting:t},{provide:n.HI,useExisting:t}]),h.qOj]}),t})(),m=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.s_b),h.Y36(n.HI,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[h._Bn([{provide:n.cu,useExisting:t}])]}),t})(),b=(()=>{class t extends n._0{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275cmp=h.Xpm({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&h.Gf(m,7),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[h._Bn([{provide:n._0,useExisting:t}]),h.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&h.GkF(0,0)},directives:[m],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}),t})(),w=(()=>{class t extends n.Ud{get recursive(){return this._recursive}set recursive(t){this._recursive=(0,o.Ig)(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[h._Bn([{provide:n.Ud,useExisting:t}]),h.qOj]}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[n.nZ,s.BQ],s.BQ]}),t})();class y{constructor(t,e,i,n){this.transformFunction=t,this.getLevel=e,this.isExpandable=i,this.getChildren=n}_flattenNode(t,e,i,n){const s=this.transformFunction(t,e);if(i.push(s),this.isExpandable(s)){const s=this.getChildren(t);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,n):s.pipe((0,u.q)(1)).subscribe(t=>{this._flattenChildren(t,e,i,n)}))}return i}_flattenChildren(t,e,i,n){t.forEach((s,o)=>{let r=n.slice();r.push(o!=t.length-1),this._flattenNode(s,e+1,i,r)})}flattenNodes(t){let e=[];return t.forEach(t=>this._flattenNode(t,0,e,[])),e}expandFlattenedNodes(t,e){let i=[],n=[];return n[0]=!0,t.forEach(t=>{let s=!0;for(let e=0;e<=this.getLevel(t);e++)s=s&&n[e];s&&i.push(t),this.isExpandable(t)&&(n[this.getLevel(t)+1]=e.isExpanded(t))}),i}}class A extends r.o2{constructor(t,e,i){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new a.X([]),this._expandedData=new a.X([]),this._data=new a.X([]),i&&(this.data=i)}get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(t){return(0,c.T)(t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,l.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class v extends r.o2{constructor(){super(...arguments),this._data=new a.X([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return(0,c.T)(t.viewChange,this._data).pipe((0,l.U)(()=>this.data))}disconnect(){}}},43490:function(t,e,i){"use strict";i.d(e,{Qb:function(){return be},PW:function(){return Ae}});var n=i(31572),s=i(30269),o=i(10709);function r(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function c(t){switch(t.length){case 0:return new o.ZN;case 1:return t[0];default:return new o.ZE(t)}}function u(t,e,i,n,s={},r={}){const a=[],c=[];let u=-1,l=null;if(n.forEach(t=>{const i=t.offset,n=i==u,h=n&&l||{};Object.keys(t).forEach(i=>{let n=i,c=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,a),c){case o.k1:c=s[i];break;case o.l3:c=r[i];break;default:c=e.normalizeStyleValue(i,n,c,a)}h[n]=c}),n||c.push(h),l=h,u=i}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function l(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&h(i,"start",t)));break;case"done":t.onDone(()=>n(i&&h(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&h(i,"destroy",t)))}}function h(t,e,i){const n=i.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),o=t._data;return null!=o&&(s._data=o),s}function d(t,e,i,n,s="",o=0,r){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:o,disabled:!!r}}function p(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function g(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,m=(t,e)=>!1,b=(t,e,i)=>[];const w=a();(w||"undefined"!=typeof Element)&&(f=r()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),m=(()=>{if(w||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):m}})(),b=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let E=(()=>{class t{validateStyleProperty(t){return A(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],a){return new o.ZN(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new E,t})();function x(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:R(parseFloat(e[1]),e[2])}function R(t,e){switch(e){case"s":return 1e3*t;default:return t}}function I(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,o="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=R(parseFloat(i[1]),i[2]);const r=i[3];null!=r&&(s=R(parseFloat(r),i[4]));const a=i[5];a&&(o=a)}else n=t;if(!i){let i=!1,o=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:o}}(t,e,i)}function O(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function P(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else O(t,i);return i}function D(t,e,i){return i?e+":"+i+";":""}function M(t){let e="";for(let i=0;i{const s=H(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),a()&&M(t))}function N(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=H(e);t.style[i]=""}),a()&&M(t))}function z(t){return Array.isArray(t)?1==t.length?t[0]:(0,o.vP)(t):t}const F=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(t){let e=[];if("string"==typeof t){let i;for(;i=F.exec(t);)e.push(i[1]);F.lastIndex=0}return e}function B(t,e,i){const n=t.toString(),s=n.replace(F,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function q(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const U=/-+([a-z0-9])/g;function H(t){return t.replace(U,(...t)=>t[1].toUpperCase())}function j(t,e){return 0===t||0===e}function G(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let o=e[0],r=[];if(n.forEach(t=>{o.hasOwnProperty(t)||r.push(t),o[t]=i[t]}),r.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],o=n[2],r=n[3];e.push(Q(s,r)),"<"!=o[0]||"*"==s&&"*"==r||e.push(Q(r,s))}(t,i,e)):i.push(t),i}const J=new Set(["true","1"]),$=new Set(["false","0"]);function Q(t,e){const i=J.has(t)||$.has(t),n=J.has(e)||$.has(e);return(s,o)=>{let r="*"==t||t==s,a="*"==e||e==o;return!r&&i&&"boolean"==typeof s&&(r=s?J.has(t):$.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?J.has(e):$.has(e)),r&&a}}const W=new RegExp("s*:selfs*,?","g");function X(t,e,i){return new tt(t).build(e,i)}class tt{constructor(t){this._driver=t}build(t,e){const i=new et(e);return this._resetContextStyleTimingState(i),Y(this,z(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,o.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=n||{};if(i.styles.forEach(t=>{if(it(t)){const e=t;Object.keys(e).forEach(t=>{Z(e[t]).forEach(t=>{o.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=q(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Y(this,z(t.animation),e);return{type:1,matchers:K(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Y(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Y(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:nt(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return st(I(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=st(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||I(n,e),st(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:(0,o.oB)({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};i.easing&&(t.easing=i.easing),s=(0,o.oB)(t)}e.currentTime+=i.duration+i.delay;const a=this.visitStyle(s,e);a.isEmptyStep=r,n=a}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==o.l3?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(it(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],r=o[i];let a=!0;r&&(s!=n&&s>=r.startTime&&n<=r.endTime&&(e.errors.push(`The CSS property "${i}" 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 "${s}ms" and "${n}ms"`),a=!1),s=r.startTime),a&&(o[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=Z(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let o=!1,r=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(it(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(it(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),u=0;return null!=c&&(n++,u=i.offset=c),r=r||u<0||u>1,o=o||u0&&n{const o=l>0?n==h?1:l*n:s[n],r=o*g;e.currentTime=d+p.delay+r,p.duration=r,this._validateStyleAst(t,e),t.offset=o,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Y(this,z(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const r=Y(this,z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:r,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:I(t.timings,e.errors,!0);return{type:12,animation:Y(this,z(t.animation),e),timings:i,options:null}}}class et{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function it(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=O(t)).params&&(t.params=(e=t.params)?O(e):null):t={},t}function st(t,e,i){return{duration:t,delay:e,easing:i}}function ot(t,e,i,n,s,o,r=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class rt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(":enter","g"),ct=new RegExp(":leave","g");function ut(t,e,i,n,s,o={},r={},a,c,u=[]){return(new lt).buildKeyframes(t,e,i,n,s,o,r,a,c,u)}class lt{buildKeyframes(t,e,i,n,s,o,r,a,c,u=[]){c=c||new rt;const l=new dt(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),Y(this,i,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(r).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([r],null,l.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ot(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?x(i.duration):null,o=null!=i.delay?x(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,o);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Y(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ht);const t=x(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Y(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?x(t.options.delay):0;t.steps.forEach(o=>{const r=e.createSubContext(t.options);s&&r.delayNextStep(s),Y(this,o,r),n=Math.max(n,r.currentTimeline.currentTime),i.push(r.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return I(e.params?B(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,o=e.createSubContext().currentTimeline;o.easing=i.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*s),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?x(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let o=i;const r=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=r.length;let a=null;r.forEach((i,n)=>{e.currentQueryIndex=n;const r=e.createSubContext(t.options,i);s&&r.delayNextStep(s),i===e.element&&(a=r.currentTimeline),Y(this,t.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),r=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;Y(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,i,n,s,o,r,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=x(i.duration)),null!=i.delay&&(n.delay=x(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=B(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new dt(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new gt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,o){let r=[];if(n&&r.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(ct,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),r.push(...e)}return s||0!=r.length||o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),r}}class pt{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new pt(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||o.l3,this._currentKeyframe[t]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},r=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]=o.l3})):P(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=B(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:o.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const a=P(s,!0);Object.keys(a).forEach(i=>{const n=a[i];n==o.k1?t.add(i):n==o.l3&&e.add(i)}),i||(a.offset=r/this.duration),n.push(a)});const s=t.size?q(t.values()):[],r=e.size?q(e.values()):[];if(i){const t=n[0],e=O(t);t.offset=0,e.offset=1,n=[t,e]}return ot(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class gt extends pt{constructor(t,e,i,n,s,o,r=!1){super(t,e,o.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,r=e/o,a=P(t[0],!1);a.offset=0,s.push(a);const c=P(t[0],!1);c.offset=ft(r),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let r=P(t[n],!1);r.offset=ft((e+r.offset*i)/o),s.push(r)}i=o,e=0,n="",t=s}return ot(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function ft(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class mt{}class bt extends mt{normalizePropertyName(t,e){return H(t)}normalizeStyleValue(t,e,i,n){let s="";const o=i.toString().trim();if(wt[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return o+s}}const wt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 _t(t,e,i,n,s,o,r,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:o,toState:n,toStyles:r,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const yt={};class At{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],o=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,n,s,o,r,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||yt,d=this.buildStyles(i,r&&r.params||yt,l),g=a&&a.params||yt,f=this.buildStyles(n,g,l),m=new Set,b=new Map,w=new Map,_="void"===n,y={params:Object.assign(Object.assign({},h),g)},A=u?[]:ut(t,e,this.ast.animation,s,o,d,f,y,c,l);let v=0;if(A.forEach(t=>{v=Math.max(t.duration+t.delay,v)}),l.length)return _t(e,this._triggerName,i,n,_,d,f,[],[],b,w,v,l);A.forEach(t=>{const i=t.element,n=p(b,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=p(w,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&m.add(i)});const T=q(m.values());return _t(e,this._triggerName,i,n,_,d,f,A,T,b,w,v)}}class vt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=O(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let o=s[t];o.length>1&&(o=B(o,n,e)),i[t]=o})}}),i}}class Tt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new vt(t.style,t.options&&t.options.params||{})}),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new At(t,e,this.states))}),this.fallbackTransition=new At(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function Ct(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const St=new rt;class Et{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=X(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=u(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let r;const a=new Map;if(s?(r=ut(this._driver,e,s,"ng-enter","ng-leave",{},{},i,St,n),r.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,o.l3)})});const u=c(r.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=d(e,"","","");return l(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const kt=[],xt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class It{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=O(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const Ot=new It("void");class Pt{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Zt(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const o=p(this._elementListeners,t,[]),r={name:e,phase:i,callback:n};o.push(r);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),a[e]=Ot),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(r);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),o=new Mt(this.id,e,t);let r=this._engine.statesByElement.get(t);r||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,r={}));let a=r[e];const c=new It(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),r[e]=c,a||(a=Ot),"void"!==c.value&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{N(t,i),L(t,n)})}return}const u=p(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Zt(t,"ng-animate-queued"),o.onStart(()=>{Bt(t,"ng-animate-queued")})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(o);t>=0&&i.splice(t,1)}}),this.players.push(o),u.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const o=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&o.push(i)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&c(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const o=this._triggers[s].fallbackTransition,r=i[s]||Ot,a=new It("void"),c=new Mt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:o,fromState:r,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==xt||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Zt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(e=>{if(e.name==i.triggerName){const n=d(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,l(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new Pt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Bt(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(Lt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return Lt(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return c(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=xt,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?c(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new rt,n=[],s=new Map,r=[],a=new Map,u=new Map,l=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+b++;m.set(e,i),t.forEach(t=>Zt(t,i))});const w=[],_=new Set,y=new Set;for(let o=0;o_.add(t)):y.add(t))}const A=new Map,v=Ft(g,Array.from(_));v.forEach((t,e)=>{const i="ng-leave"+b++;A.set(e,i),t.forEach(t=>Zt(t,i))}),t.push(()=>{f.forEach((t,e)=>{const i=m.get(e);t.forEach(t=>Bt(t,i))}),v.forEach((t,e)=>{const i=A.get(e);t.forEach(t=>Bt(t,i))}),w.forEach(t=>{this.processLeaveNode(t)})});const T=[],C=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(T.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const o=!d||!this.driver.containsElement(d,s),c=A.get(s),h=m.get(s),g=this._buildInstruction(t,i,h,c,o);if(g.errors&&g.errors.length)C.push(g);else{if(o)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>L(s,g.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>L(s,g.toStyles)),void n.push(e);g.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,g.timelines),r.push({instruction:g,player:e,element:s}),g.queriedElements.forEach(t=>p(a,t,[]).push(e)),g.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=u.get(e);t||u.set(e,t=new Set),i.forEach(e=>t.add(e))}}),g.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=l.get(e);n||l.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),T.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,E=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(S,e,[]).push(t),t.destroy()})});const k=w.filter(t=>Ht(t,u,l)),x=new Map;zt(x,this.driver,y,l,o.l3).forEach(t=>{Ht(t,u,l)&&k.push(t)});const R=new Map;f.forEach((t,e)=>{zt(R,this.driver,new Set(t),u,o.k1)}),k.forEach(t=>{const e=x.get(t),i=R.get(t);x.set(t,Object.assign(Object.assign({},e),i))});const I=[],O=[],P={};r.forEach(t=>{const{element:e,player:o,instruction:r}=t;if(i.has(e)){if(h.has(e))return o.onDestroy(()=>L(e,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void n.push(o);let t=P;if(E.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=E.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>E.set(e,t))}const i=this._buildAnimation(o.namespaceId,r,S,s,R,x);if(o.setRealPlayer(i),t===P)I.push(o);else{const e=this.playersByElement.get(t);e&&e.length&&(o.parentPlayer=c(e)),n.push(o)}}else N(e,r.fromStyles),o.onDestroy(()=>L(e,r.toStyles)),O.push(o),h.has(e)&&n.push(o)}),O.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=c(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let o=0;o!t.destroyed);n.length?qt(this,t,n):this.processLeaveNode(t)}return w.length=0,I.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),I}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&o.push(e)})}}return(i||n)&&(o=o.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),o}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const t=r.element,a=t!==n,c=p(i,t,[]);this._getPreviousPlayers(t,a,s,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}N(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,r){const a=e.triggerName,l=e.element,h=[],d=new Set,g=new Set,f=e.timelines.map(e=>{const c=e.element;d.add(c);const p=c.__ng_removed;if(p&&p.removedBeforeQueried)return new o.ZN(e.duration,e.delay);const f=c!==l,m=function(t){const e=[];return Ut(t,e),e}((i.get(c)||kt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===c),b=s.get(c),w=r.get(c),_=u(0,this._normalizer,0,e.keyframes,b,w),y=this._buildPlayer(e,_,m);if(e.subTimeline&&n&&g.add(c),f){const e=new Mt(t,a,c);e.setRealPlayer(y),h.push(e)}return y});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Zt(t,"ng-animating"));const m=c(f);return m.onDestroy(()=>{d.forEach(t=>Bt(t,"ng-animating")),L(l,e.toStyles)}),g.forEach(t=>{p(n,t,[]).push(m)}),m}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new o.ZN(t.duration,t.delay)}}class Mt{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>l(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){p(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Lt(t){return t&&1===t.nodeType}function Nt(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function zt(t,e,i,n,s){const o=[];i.forEach(t=>o.push(Nt(t)));const r=[];n.forEach((i,n)=>{const o={};i.forEach(t=>{const i=o[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=Rt,r.push(n))}),t.set(n,o)});let a=0;return i.forEach(t=>Nt(t,o[a++])),r}function Ft(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function o(t){if(!t)return 1;let e=s.get(t);if(e)return e;const r=t.parentNode;return e=i.has(r)?r:n.has(r)?1:o(r),s.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&i.get(e).push(t)}),i}function Zt(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Bt(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function qt(t,e,i){c(i).onDone(()=>t.processLeaveNode(e))}function Ut(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class jt{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,i),this._timelineEngine=new Et(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const o=t+"-"+n;let r=this._triggerCache[o];if(!r){const t=[],e=X(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);r=function(t,e){return new Tt(t,e)}(n,e),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(e,n,r)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=g(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=g(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Gt(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Vt(e[0]),e.length>1&&(n=Vt(e[e.length-1]))):e&&(i=Vt(e)),i||n?new Yt(t,i,n):null}let Yt=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Vt(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=ee(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=ee(t,"").split(","),n=Wt(i,e);n>=0&&(i.splice(n,1),te(t,"",i.join(",")))}(this._element,this._name))}}function $t(t,e,i){te(t,"PlayState",i,Qt(t,e))}function Qt(t,e){const i=ee(t,"");return i.indexOf(",")>0?Wt(i.split(","),e):Wt([i],e)}function Wt(t,e){for(let i=0;i=0)return i;return-1}function Xt(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,i,n){const s="animation"+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function ee(t,e){return t.style["animation"+e]||""}class ie{constructor(t,e,i,n,s,o,r,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:V(this.element,i))})}this.currentSnapshot=t}}class ne extends o.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class se{constructor(){this._count=0}validateStyleProperty(t){return A(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>S(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const o=document.createElement("style");return o.textContent=n,o}animate(t,e,i,n,s,o=[],r){const a=o.filter(t=>t instanceof ie),c={};j(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=G(t,e,c));if(0==i)return new ne(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=Gt(t,e),p=new ie(t,e,l,i,n,s,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class oe{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:V(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new se}validateStyleProperty(t){return A(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,o);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},u=o.filter(t=>t instanceof oe);j(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=Gt(t,e=G(t,e=e.map(t=>P(t,!1)),c));return new oe(t,e,a,l)}}function ae(){return r()&&Element.prototype.animate||{}}var ce=i(61511);let ue=(()=>{class t extends o._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:n.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?(0,o.vP)(t):t;return de(this._renderer,null,e,"register",[i]),new le(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.FYo),n.LFG(ce.K0))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class le extends o.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return de(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function de(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let pe=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new ge("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(o),new fe(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(n.LFG(n.FYo),n.LFG(jt),n.LFG(n.R0b))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class ge{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class fe extends ge{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let me=(()=>{class t extends jt{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(ce.K0),n.LFG(k),n.LFG(mt))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();const be=new n.OlP("AnimationModuleType"),we=[{provide:o._j,useClass:ue},{provide:mt,useFactory:function(){return new bt}},{provide:jt,useClass:me},{provide:n.FYo,useFactory:function(t,e,i){return new pe(t,e,i)},deps:[s.se,jt,n.R0b]}],_e=[{provide:k,useFactory:function(){return"function"==typeof ae()?new re:new se}},{provide:be,useValue:"BrowserAnimations"},...we],ye=[{provide:k,useClass:E},{provide:be,useValue:"NoopAnimations"},...we];let Ae=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ye:_e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:_e,imports:[s.b2]}),t})()},30269:function(t,e,i){"use strict";i.d(e,{b2:function(){return F},H7:function(){return D},Dx:function(){return B},q6:function(){return N},se:function(){return T}});var n=i(61511),s=i(31572);class o extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends o{static makeCurrent(){(0,n.HT)(new r)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(c=c||document.querySelector("base"),c?c.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,n.Mx)(document.cookie,t)}}let a,c=null;const u=new s.OlP("TRANSITION_ID"),l=[{provide:s.ip1,useFactory:function(t,e,i){return()=>{i.get(s.CZH).donePromise.then(()=>{const i=(0,n.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[u,n.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let i=e.length,n=!1;const o=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:i?(0,n.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let g=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),b=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(w),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(w))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function w(t){(0,n.q)().remove(t)}const _={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/"},y=/%COMP%/g;function A(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let T=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case s.ifc.ShadowDom:return new E(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(g),s.LFG(b),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(_[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=_[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=_[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,i,n&s.JOm.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(i)):this.eventManager.addEventListener(t,e,v(i))}}class S extends C{constructor(t,e,i,n){super(t),this.component=i;const s=A(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(y,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(y,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class E extends C{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=A(n.id,n.styles,[]);for(let o=0;o{class t extends f{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const x=["alt","control","meta","shift"],R={"\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"},I={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"},O={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let P=(()=>{class t extends f{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),r=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(e,o.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let o="";if(x.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),o+=t+".")}),o+=s,0!=i.length||0===s.length)return null;const r={};return r.domEventName=n,r.fullKey=o,r}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&I.hasOwnProperty(e)&&(e=I[e]))}return R[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),x.forEach(n=>{n!=i&&(0,O[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(L)},token:t,providedIn:"root"}),t})();function M(t){return new L(t.get(n.K0))}let L=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return M((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:n.bD},{provide:s.g9A,useValue:function(){r.makeCurrent(),h.init()},multi:!0},{provide:n.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),z=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:k,multi:!0,deps:[n.K0,s.R0b,s.Lbi]},{provide:p,useClass:P,multi:!0,deps:[n.K0]},[],{provide:T,useClass:T,deps:[g,b,s.AFp]},{provide:s.FYo,useExisting:T},{provide:m,useExisting:b},{provide:b,useClass:b,deps:[n.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:g,useClass:g,deps:[p,s.R0b]},{provide:n.JF,useClass:d,deps:[]},[]];let F=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:u,useExisting:s.AFp},l]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:z,imports:[n.ez,s.hGG]}),t})();function Z(){return new B((0,s.LFG)(n.K0))}let B=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:Z,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},57629:function(t,e,i){"use strict";i.d(e,{gz:function(){return Yt},m2:function(){return U},OD:function(){return q},GZ:function(){return vi},wN:function(){return ni},F0:function(){return fi},rH:function(){return mi},yS:function(){return bi},Bz:function(){return Ri},lC:function(){return _i}});var n=i(61511),s=i(31572),o=i(19764),r=i(40878),a=i(78512),c=i(31305),u=i(48318),l=i(39665),h=i(47930),d=i(31450),p=i(70653),g=i(42875),f=i(55959),m=i(96673);function b(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new w(t,e,i))}}class w{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new _(t,this.accumulator,this.seed,this.hasSeed))}}class _ extends m.L{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var y=i(43835),A=i(98402);function v(t){return function(e){return 0===t?(0,p.c)():e.lift(new T(t))}}class T{constructor(t){if(this.total=t,this.total<0)throw new A.W}call(t,e){return e.subscribe(new C(t,this.total))}}class C extends m.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;st.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function ut(t){return Array.prototype.concat.apply([],t)}function lt(t){return t.length>0?t[t.length-1]:null}function ht(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function dt(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,r.of)(t)}const pt={exact:function t(e,i,n){if(!vt(e.segments,i.segments))return!1;if(!wt(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:mt},gt={exact:function(t,e){return at(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>ct(t[i],e[i]))},ignored:()=>!0};function ft(t,e,i){return pt[i.paths](t.root,e.root,i.matrixParams)&>[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function mt(t,e,i){return bt(t,e,e.segments,i)}function bt(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!vt(s,i)&&!e.hasChildren()&&!!wt(s,i,n)}if(t.segments.length===i.length){if(!vt(t.segments,i))return!1;if(!wt(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!mt(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!vt(t.segments,s)&&!!wt(t.segments,s,n)&&!!t.children.primary&&bt(t.children.primary,e,o,n)}}function wt(t,e,i){return e.every((e,n)=>gt[i](t[n].parameters,e.parameters))}class _t{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class yt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ht(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Et(this)}}class At{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap}toString(){return Dt(this)}}function vt(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class Tt{}class Ct{parse(t){const e=new Ft(t);return new _t(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${kt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Rt(e)}=${Rt(t)}`).join("&"):`${Rt(e)}=${Rt(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const St=new Ct;function Et(t){return t.segments.map(t=>Dt(t)).join("/")}function kt(t,e){if(!t.hasChildren())return Et(t);if(e){const e=t.children.primary?kt(t.children.primary,!1):"",i=[];return ht(t.children,(t,e)=>{"primary"!==e&&i.push(`${e}:${kt(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return ht(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),ht(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>"primary"===i?[kt(t.children.primary,!1)]:[`${i}:${kt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Et(t)}/${e[0]}`:`${Et(t)}/(${e.join("//")})`}}function xt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(t){return xt(t).replace(/%3B/gi,";")}function It(t){return xt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(t){return decodeURIComponent(t)}function Pt(t){return Ot(t.replace(/\+/g,"%20"))}function Dt(t){return`${It(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${It(t)}=${It(e[t])}`).join("")}`;var e}const Mt=/^[^\/()?;=#]+/;function Lt(t){const e=t.match(Mt);return e?e[0]:""}const Nt=/^[^=?&#]+/,zt=/^[^?&#]+/;class Ft{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yt([],{}):new yt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new yt(t,e)),i}parseSegment(){const t=Lt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new At(Ot(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Lt(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Lt(this.remaining);t&&(i=t,this.capture(i))}t[Ot(e)]=Ot(i)}parseQueryParam(t){const e=function(t){const e=t.match(Nt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(zt);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Pt(e),s=Pt(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Lt(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const o=this.parseChildren();e[s]=1===Object.keys(o).length?o.primary:new yt([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Zt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Bt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Bt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=qt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return qt(t,this._root).map(t=>t.value)}}function Bt(t,e){if(t===e.value)return e;for(const i of e.children){const e=Bt(t,i);if(e)return e}return null}function qt(t,e){if(t===e.value)return[e];for(const i of e.children){const n=qt(t,i);if(n.length)return n.unshift(e),n}return[]}class Ut{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ht(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class jt extends Zt{constructor(t,e){super(t),this.snapshot=e,$t(this,t)}toString(){return this.snapshot.toString()}}function Gt(t,e){const i=function(t,e){const i=new Kt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Jt("",new Ut(i,[]))}(t,e),n=new a.X([new At("",{})]),s=new a.X({}),o=new a.X({}),r=new a.X({}),c=new a.X(""),u=new Yt(n,s,r,c,o,"primary",e,i.root);return u.snapshot=i.root,new jt(new Ut(u,[]),i)}class Yt{constructor(t,e,i,n,s,o,r,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}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,x.U)(t=>st(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,x.U)(t=>st(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vt(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class Kt{constructor(t,e,i,n,s,o,r,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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=st(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Jt extends Zt{constructor(t,e){super(e),this.url=t,$t(this,e)}toString(){return Qt(this._root)}}function $t(t,e){e.value._routerState=t,e.children.forEach(e=>$t(t,e))}function Qt(t){const e=t.children.length>0?` { ${t.children.map(Qt).join(", ")} } `:"";return`${t.value}${e}`}function Wt(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,at(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),at(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;iat(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Xt(t.parent,e.parent))}function te(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return te(t,e,n);return te(t,e)})}(t,e,i);return new Ut(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return ee(e,t),t}}const i=new Yt(new a.X((n=e.value).url),new a.X(n.params),new a.X(n.queryParams),new a.X(n.fragment),new a.X(n.data),n.outlet,n.component,n),s=e.children.map(e=>te(t,e));return new Ut(i,s)}var n}function ee(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new _t(i.root===t?e:oe(i.root,t,e),o,s)}function oe(t,e,i){const n={};return ht(t.children,(t,s)=>{n[s]=t===e?i:oe(t,e,i)}),new yt(t.segments,n)}class re{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&ie(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(ne);if(n&&n!==lt(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ae{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function ce(t,e,i){if(t||(t=new yt([],{})),0===t.segments.length&&t.hasChildren())return ue(t,e,i);const n=function(t,e,i){let n=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return o;const e=t.segments[s],r=i[n];if(ne(r))break;const a=`${r}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!pe(a,c,e))return o;n+=2}else{if(!pe(a,{},e))return o;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=ce(t.children[n],e,i))}),ht(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new yt(t.segments,s)}}function le(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=le(new yt([],{}),0,t))}),e}function de(t){const e={};return ht(t,(t,i)=>e[i]=`${t}`),e}function pe(t,e,i){return t==i.path&&at(e,i.parameters)}class ge{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),Wt(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Ht(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),ht(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=Ht(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=Ht(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new et(t.value.snapshot))}),t.children.length&&this.forwardEvent(new X(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(Wt(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),fe(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function fe(t){Wt(t.value),t.children.forEach(fe)}class me{constructor(t,e){this.routes=t,this.module=e}}function be(t){return"function"==typeof t}function we(t){return t instanceof _t}const _e=Symbol("INITIAL_VALUE");function ye(){return(0,R.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,I.q)(1),(0,O.O)(_e)))).pipe(b((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==_e)return t;if(n===_e&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||we(n))return n}return t},t)},_e),(0,y.h)(t=>t!==_e),(0,x.U)(t=>we(t)?t:!0===t),(0,I.q)(1)))}let Ae=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[_i]},encapsulation:2}),t})();function ve(t,e=""){for(let i=0;iEe(t)===e);return i.push(...t.filter(t=>Ee(t)!==e)),i}const xe={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Re(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},xe):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||rt)(i,t,e);if(!s)return Object.assign({},xe);const o={};ht(s.posParams,(t,e)=>{o[e]=t.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function Ie(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>Oe(t,e,i)&&"primary"!==Ee(i))}(t,i,n)){const s=new yt(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const o of i)if(""===o.path&&"primary"!==Ee(o)){const i=new yt([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[Ee(o)]=i}return s}(t,e,n,new yt(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>Oe(t,e,i))}(t,i,n)){const o=new yt(t.segments,function(t,e,i,n,s,o){const r={};for(const a of n)if(Oe(t,i,a)&&!s[Ee(a)]){const i=new yt([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===o?t.segments.length:e.length,r[Ee(a)]=i}return Object.assign(Object.assign({},s),r)}(t,e,i,n,t.children,s));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}const o=new yt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}function Oe(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function Pe(t,e,i,n){return!!(Ee(t)===n||"primary"!==n&&Oe(e,i,t))&&("**"===t.path||Re(e,t,i).matched)}function De(t,e,i){return 0===e.length&&!t.children[i]}class Me{constructor(t){this.segmentGroup=t||null}}class Le{constructor(t){this.urlTree=t}}function Ne(t){return new u.y(e=>e.error(new Me(t)))}function ze(t){return new u.y(e=>e.error(new Le(t)))}function Fe(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ze{constructor(t,e,i,n,o){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Ie(this.urlTree.root,[],[],this.config).segmentGroup,e=new yt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,x.U)(t=>this.createUrlTree(Be(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,P.K)(t=>{if(t instanceof Le)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Me)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,x.U)(e=>this.createUrlTree(Be(e),t.queryParams,t.fragment))).pipe((0,P.K)(t=>{if(t instanceof Me)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new yt([],{primary:t}):t;return new _t(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe((0,x.U)(t=>new yt([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return(0,o.D)(n).pipe((0,D.b)(n=>{const s=i.children[n],o=ke(e,n);return this.expandSegmentGroup(t,o,s,n).pipe((0,x.U)(t=>({segment:t,outlet:n})))}),b((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?(0,y.h)((e,i)=>t(e,i,n)):k.y,v(1),i?(0,E.d)(e):(0,S.T)(()=>new l.K))}())}expandSegment(t,e,i,n,s,a){return(0,o.D)(i).pipe((0,D.b)(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,s,a).pipe((0,P.K)(t=>{if(t instanceof Me)return(0,r.of)(null);throw t}))),(0,M.P)(t=>!!t),(0,P.K)((t,i)=>{if(t instanceof l.K||"EmptyError"===t.name){if(De(e,n,s))return(0,r.of)(new yt([],{}));throw new Me(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,o,r){return Pe(n,e,s,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o):Ne(e):Ne(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ze(s):this.lineralizeSegments(i,s).pipe((0,L.zg)(i=>{const s=new yt(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){const{matched:r,consumedSegments:a,lastChild:c,positionalParamSegments:u}=Re(e,n,s);if(!r)return Ne(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?ze(l):this.lineralizeSegments(n,l).pipe((0,L.zg)(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),o,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,r.of)(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe((0,x.U)(t=>(i._loadedConfig=t,new yt(n,{})))):(0,r.of)(new yt(n,{}));const{matched:o,consumedSegments:a,lastChild:c}=Re(e,i,n);if(!o)return Ne(e);const u=n.slice(c);return this.getChildConfig(t,i,n).pipe((0,L.zg)(t=>{const n=t.module,o=t.routes,{segmentGroup:c,slicedSegments:l}=Ie(e,a,u,o),h=new yt(c.segments,c.children);if(0===l.length&&h.hasChildren())return this.expandChildren(n,o,h).pipe((0,x.U)(t=>new yt(a,t)));if(0===o.length&&0===l.length)return(0,r.of)(new yt(a,{}));const d=Ee(i)===s;return this.expandSegment(n,h,o,l,d?"primary":s,!0).pipe((0,x.U)(t=>new yt(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?(0,r.of)(new me(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,r.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe((0,L.zg)(i=>i?this.configLoader.load(t.injector,e).pipe((0,x.U)(t=>(e._loadedConfig=t,t))):function(t){return new u.y(e=>e.error(ot(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,r.of)(new me([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;if(!n||0===n.length)return(0,r.of)(!0);const s=n.map(n=>{const s=t.get(n);let o;if(function(t){return t&&be(t.canLoad)}(s))o=s.canLoad(e,i);else{if(!be(s))throw new Error("Invalid CanLoad guard");o=s(e,i)}return dt(o)});return(0,r.of)(s).pipe(ye(),(0,N.b)(t=>{if(!we(t))return;const e=ot(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,x.U)(t=>!0===t))}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,r.of)(i);if(n.numberOfChildren>1||!n.children.primary)return Fe(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new _t(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return ht(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let o={};return ht(e.children,(e,s)=>{o[s]=this.createSegmentGroup(t,e,i,n)}),new yt(s,o)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function Be(t){const e={};for(const i of Object.keys(t.children)){const n=Be(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new yt(t.segments.concat(e.segments),e.children)}return t}(new yt(t.segments,e))}class qe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ue{constructor(t,e){this.component=t,this.route=e}}function He(t,e,i){const n=t._root;return Ge(n,e?e._root:null,i,[n.value])}function je(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function Ge(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ht(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,r=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!vt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!vt(t.url,e.url)||!at(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xt(t,e)||!at(t.queryParams,e.queryParams);case"paramsChange":default:return!Xt(t,e)}}(r,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new qe(n)):(o.data=r.data,o._resolvedData=r._resolvedData),Ge(t,e,o.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Ue(a.outlet.component,r))}else r&&Ye(e,a,s),s.canActivateChecks.push(new qe(n)),Ge(t,null,o.component?a?a.children:null:i,n,s)}(t,o[t.value.outlet],i,n.concat([t.value]),s),delete o[t.value.outlet]}),ht(o,(t,e)=>Ye(t,i.getContext(e),s)),s}function Ye(t,e,i){const n=Ht(t),s=t.value;ht(n,(t,n)=>{Ye(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Ue(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Ve{}function Ke(t){return new u.y(e=>e.error(t))}class Je{constructor(t,e,i,n,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Ie(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const i=new Kt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Ut(i,e),s=new Jt(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=Vt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],o=ke(t,s),r=this.processSegmentGroup(o,n,s);if(null===r)return null;i.push(...r)}const n=Qe(i);return n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return De(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!Pe(t,e,i,n))return null;let s,o=[],r=[];if("**"===t.path){const n=i.length>0?lt(i).parameters:{};s=new Kt(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ti(t),Ee(t),t.component,t,We(e),Xe(e)+i.length,ei(t))}else{const n=Re(e,t,i);if(!n.matched)return null;o=n.consumedSegments,r=i.slice(n.lastChild),s=new Kt(o,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ti(t),Ee(t),t.component,t,We(e),Xe(e)+o.length,ei(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=Ie(e,o,r,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new Ut(s,t)]}if(0===a.length&&0===u.length)return[new Ut(s,[])];const l=Ee(t)===n,h=this.processSegment(a,c,u,l?"primary":n);return null===h?null:[new Ut(s,h)]}}function $e(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Qe(t){const e=[],i=new Set;for(const n of t){if(!$e(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=Qe(n.children);e.push(new Ut(n.value,t))}return e.filter(t=>!i.has(t))}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Xe(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function ti(t){return t.data||{}}function ei(t){return t.resolve||{}}function ii(t){return(0,R.w)(e=>{const i=t(e);return i?(0,o.D)(i).pipe((0,x.U)(()=>e)):(0,r.of)(e)})}class ni{}class si extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const oi=new s.OlP("ROUTES");class ri{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe((0,x.U)(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new me(ut(n.injector.get(oi,void 0,s.XFs.Self|s.XFs.Optional)).map(Se),n)}),(0,P.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new g.c(i,()=>new f.xQ).pipe((0,z.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):dt(t()).pipe((0,L.zg)(t=>t instanceof s.YKP?(0,r.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class ai{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ci,this.attachRef=null}}class ci{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new ai,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class ui{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function li(t){throw t}function hi(t,e,i){return e.parse("/")}function di(t,e){return(0,r.of)(null)}const pi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fi=(()=>{class t{constructor(t,e,i,n,o,r,c,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new f.xQ,this.errorHandler=li,this.malformedUriErrorHandler=hi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:di,afterPreactivation:di},this.urlHandlingStrategy=new ui,this.routeReuseStrategy=new si,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);const l=o.get(s.R0b);this.isNgZoneEnabled=l instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new _t(new yt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ri(r,c,t=>this.triggerEvent(new $(t)),t=>this.triggerEvent(new Q(t))),this.routerState=Gt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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()}setupNavigations(t){const e=this.events;return t.pipe((0,y.h)(t=>0!==t.id),(0,x.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,R.w)(t=>{let i=!1,n=!1;return(0,r.of)(t).pipe((0,N.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,R.w)(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,r.of)(t).pipe((0,R.w)(t=>{const i=this.transitions.getValue();return e.next(new q(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?p.E:Promise.resolve(t)}),(n=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,a=this.config,(0,R.w)(t=>function(t,e,i,n,s){return new Ze(t,e,i,n,s).apply()}(n,s,o,t.extractedUrl,a).pipe((0,x.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,N.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return(0,L.zg)(o=>function(t,e,i,n,s="emptyOnly",o="legacy"){try{const a=new Je(t,e,i,n,s,o).recognize();return null===a?Ke(new Ve):(0,r.of)(a)}catch(a){return Ke(a)}}(t,e,o.urlAfterRedirects,i(o.urlAfterRedirects),n,s).pipe((0,x.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,N.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,o,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:o,extras:a}=t,c=new q(i,this.serializeUrl(n),s,o);e.next(c);const u=Gt(n,this.rootComponentType).snapshot;return(0,r.of)(Object.assign(Object.assign({},t),{targetSnapshot:u,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),ii(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,N.b)(t=>{const e=new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,x.U)(t=>Object.assign(Object.assign({},t),{guards:He(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,L.zg)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:c}}=i;return 0===c.length&&0===a.length?(0,r.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return(0,o.D)(t).pipe((0,L.zg)(t=>function(t,e,i,n,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,r.of)(!0);const a=o.map(o=>{const r=je(o,e,s);let a;if(function(t){return t&&be(t.canDeactivate)}(r))a=dt(r.canDeactivate(t,e,i,n));else{if(!be(r))throw new Error("Invalid CanDeactivate guard");a=dt(r(t,e,i,n))}return a.pipe((0,M.P)())});return(0,r.of)(a).pipe(ye())}(t.component,t.route,i,e,n)),(0,M.P)(t=>!0!==t,!0))}(c,n,s,t).pipe((0,L.zg)(i=>i&&"boolean"==typeof i?function(t,e,i,n){return(0,o.D)(e).pipe((0,D.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new W(t)),(0,r.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new tt(t)),(0,r.of)(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const o=je(s,e.node,i);let r;if(function(t){return t&&be(t.canActivateChild)}(o))r=dt(o.canActivateChild(n,t));else{if(!be(o))throw new Error("Invalid CanActivateChild guard");r=dt(o(n,t))}return r.pipe((0,M.P)())});return(0,r.of)(s).pipe(ye())}));return(0,r.of)(s).pipe(ye())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,r.of)(!0);const s=n.map(n=>(0,d.P)(()=>{const s=je(n,e,i);let o;if(function(t){return t&&be(t.canActivate)}(s))o=dt(s.canActivate(e,t));else{if(!be(s))throw new Error("Invalid CanActivate guard");o=dt(s(e,t))}return o.pipe((0,M.P)())}));return(0,r.of)(s).pipe(ye())}(t,e.route,i))),(0,M.P)(t=>!0!==t,!0))}(n,a,t,e):(0,r.of)(i)),(0,x.U)(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,N.b)(t=>{if(we(t.guardsResult)){const e=ot(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,y.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),ii(t=>{if(t.guards.canActivateChecks.length)return(0,r.of)(t).pipe((0,N.b)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,R.w)(t=>{let e=!1;return(0,r.of)(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,(0,L.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,r.of)(t);let a=0;return(0,o.D)(s).pipe((0,D.b)(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return(0,r.of)({});const a={};return(0,o.D)(s).pipe((0,L.zg)(s=>function(t,e,i,n){const s=je(t,e,n);return dt(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe((0,N.b)(t=>{a[s]=t}))),v(1),(0,L.zg)(()=>Object.keys(a).length===s.length?(0,r.of)(a):p.E))}(t._resolve,t,e,n).pipe((0,x.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Vt(t,i).resolve),null)))}(t.route,e,i,n)),(0,N.b)(()=>a++),v(1),(0,L.zg)(e=>a===s.length?(0,r.of)(t):p.E))})),(0,N.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),(0,N.b)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),ii(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,x.U)(t=>{const e=function(t,e,i){const n=te(t,e._root,i?i._root:void 0);return new jt(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,N.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,a=this.routeReuseStrategy,c=t=>this.triggerEvent(t),(0,x.U)(t=>(new ge(a,t.targetRouterState,t.currentRouterState,c).activate(s),t))),(0,N.b)({next(){i=!0},complete(){i=!0}}),(0,F.x)(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),(0,P.K)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=we(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new H(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new j(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(o){t.reject(o)}}var s;return p.E}));var s,a,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ve(t),this.config=t.map(Se),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:o,preserveFragment:r}=e,a=i||this.routerState.root,c=r?this.currentUrlTree.fragment:s;let u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,i,n,s){if(0===i.length)return se(e.root,e.root,e,n,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new re(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return ht(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new re(i,e,n)}(i);if(o.toRoot())return se(e.root,new yt([],{}),e,n,s);const r=function(t,e,i){if(t.isAbsolute)return new ae(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new ae(t,t===e.root,0)}const n=ie(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,o=i;for(;o>s;){if(o-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new ae(n,!1,s-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(o,e,t),a=r.processChildren?ue(r.segmentGroup,r.index,o.commands):ce(r.segmentGroup,r.index,o.commands);return se(r.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,u,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=we(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==e&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===t.toString();if(r&&a)return Promise.resolve(!0);let c,u,l;s?(c=s.resolve,u=s.reject,l=s.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new H(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Tt),s.LFG(ci),s.LFG(n.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),mi=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new f.xQ,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:wi(this.skipLocationChange),replaceUrl:wi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wi(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(fi),s.Y36(Yt),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),bi=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new f.xQ,this.subscription=t.events.subscribe(t=>{t instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:wi(this.skipLocationChange),replaceUrl:wi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:wi(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(fi),s.Y36(Yt),s.Y36(n.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function wi(t){return""===t||!!t}let _i=(()=>{class t{constructor(t,e,i,n,o){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=n||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new yi(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class yi{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Yt?this.route:t===ci?this.childContexts:this.parent.get(t,e)}}class Ai{}class vi{preload(t,e){return(0,r.of)(null)}}let Ti=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new ri(e,i,e=>t.triggerEvent(new $(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(t=>t instanceof U),(0,D.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return(0,o.D)(i).pipe((0,Z.J)(),(0,x.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,r.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,L.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fi),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Ai))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Ci=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof q?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof U&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof it&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new it(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fi),s.LFG(n.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Si=new s.OlP("ROUTER_CONFIGURATION"),Ei=new s.OlP("ROUTER_FORROOT_GUARD"),ki=[n.Ye,{provide:Tt,useClass:Ct},{provide:fi,useFactory:function(t,e,i,n,s,o,r,a={},c,u){const l=new fi(null,t,e,i,n,s,o,ut(r));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,l),a.enableTracing&&l.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[Tt,ci,n.Ye,s.zs3,s.v3s,s.Sil,oi,Si,[class{},new s.FiY],[ni,new s.FiY]]},ci,{provide:Yt,useFactory:function(t){return t.routerState.root},deps:[fi]},{provide:s.v3s,useClass:s.EAV},Ti,vi,class{preload(t,e){return e().pipe((0,P.K)(()=>(0,r.of)(null)))}},{provide:Si,useValue:{enableTracing:!1}}];function xi(){return new s.PXZ("Router",fi)}let Ri=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[ki,Di(e),{provide:Ei,useFactory:Pi,deps:[[fi,new s.FiY,new s.tp0]]},{provide:Si,useValue:i||{}},{provide:n.S$,useFactory:Oi,deps:[n.lw,[new s.tBr(n.mr),new s.FiY],Si]},{provide:Ci,useFactory:Ii,deps:[fi,n.EM,Si]},{provide:Ai,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:vi},{provide:s.PXZ,multi:!0,useFactory:xi},[Mi,{provide:s.ip1,multi:!0,useFactory:Li,deps:[Mi]},{provide:zi,useFactory:Ni,deps:[Mi]},{provide:s.tb,multi:!0,useExisting:zi}]]}}static forChild(e){return{ngModule:t,providers:[Di(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ei,8),s.LFG(fi,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Ii(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Ci(t,e,i)}function Oi(t,e,i={}){return i.useHash?new n.Do(t,e):new n.b0(t,e)}function Pi(t){return"guarded"}function Di(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:oi,multi:!0,useValue:t}]}let Mi=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.xQ}appInitializer(){return this.injector.get(n.V_,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(fi),n=this.injector.get(Si);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?(0,r.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Si),i=this.injector.get(Ti),n=this.injector.get(Ci),o=this.injector.get(fi),r=this.injector.get(s.z2F);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Li(t){return t.appInitializer.bind(t)}function Ni(t){return t.bootstrapListener.bind(t)}const zi=new s.OlP("Router Initializer")},48160:function(t,e,i){"use strict";i.d(e,{Zw:function(){return g},aw:function(){return D},X$:function(){return P},sK:function(){return O}});var n=i(31572),s=i(40878),o=i(4710),r=i(3148),a=i(47930),c=i(31450),u=i(90611),l=i(68303),h=i(79996),d=i(436),p=i(44689);class g{}let f=(()=>{class t extends g{getTranslation(t){return(0,s.of)({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class m{}let b=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function w(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!w(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{y(e[n])?n in t?i[n]=A(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class v{}let T=(()=>{class t extends v{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!_(t)||!_(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return _(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class C{}let S=(()=>{class t extends C{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class E{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.vpe,this.onLangChange=new n.vpe,this.onDefaultLangChange=new n.vpe}}const k=new n.OlP("USE_STORE"),x=new n.OlP("USE_DEFAULT_LANG"),R=new n.OlP("DEFAULT_LANGUAGE"),I=new n.OlP("USE_EXTEND");let O=(()=>{class t{constructor(t,e,i,s,o,r=!0,a=!1,c=!1,u){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=s,this.missingTranslationHandler=o,this.useDefaultLang=r,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new n.vpe,this._onLangChange=new n.vpe,this._onDefaultLangChange=new n.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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,u.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,s.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,u.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,s.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe((0,l.d)(1),(0,u.q)(1));return this.loadingTranslations=e.pipe((0,h.U)(e=>this.compiler.compileTranslations(e,t)),(0,l.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?A(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},a=!1;for(let s of e)n[s]=this.getParsedResult(t,s,i),(0,o.b)(n[s])&&(a=!0);if(a){const t=e.map(t=>(0,o.b)(n[t])?n[t]:(0,s.of)(n[t]));return(0,r.D)(t).pipe((0,h.U)(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i}))}return n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!_(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(i=>(i=this.getParsedResult(i,t,e),(0,o.b)(i)?i:(0,s.of)(i))));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return(0,o.b)(i)?i:(0,s.of)(i)}}getStreamOnTranslationChange(t,e){if(!_(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,c.P)(()=>this.get(t,e)),this.onTranslationChange.pipe((0,p.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:(0,s.of)(n)})))}stream(t,e){if(!_(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,c.P)(()=>this.get(t,e)),this.onLangChange.pipe((0,p.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return(0,o.b)(n)?n:(0,s.of)(n)})))}instant(t,e){if(!_(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if((0,o.b)(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(E),n.LFG(g),n.LFG(C),n.LFG(v),n.LFG(m),n.LFG(x),n.LFG(k),n.LFG(I),n.LFG(R))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);(0,o.b)(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(w(t,this.lastKey)&&w(e,this.lastParams))return this.value;let i;if(_(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(n.Y36(O,16),n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:g,useClass:f},e.compiler||{provide:C,useClass:S},e.parser||{provide:v,useClass:T},e.missingTranslationHandler||{provide:m,useClass:b},E,{provide:k,useValue:e.isolate},{provide:x,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:R,useValue:e.defaultLanguage},O]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:g,useClass:f},e.compiler||{provide:C,useClass:S},e.parser||{provide:v,useClass:T},e.missingTranslationHandler||{provide:m,useClass:b},{provide:k,useValue:e.isolate},{provide:x,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:R,useValue:e.defaultLanguage},O]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},82051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){r(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(t,o,r){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=o=o||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,o,r):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,o){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),s);else if(i(t))e(t,s,o);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){n(r)})}}:function(t,i,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=r.saveAs=r,t.exports=r})?i.apply(e,[]):i)||(t.exports=n)},30146:function(t,e,i){"use strict";i.d(e,{nu:function(){return H},Co:function(){return j}});var n=i(64762),s=i(31572),o=i(16073),r=i(71522),a=i(4786),c=i(66283),u=i(75842),l=i(78512),h=i(40878),d=i(31305),p=i(55959),g=i(44689),f=i(79996),m=i(56238),b=i(82628),w=i(25416),_=i(90611),y=i(43835),A=i(66599),v=i(15980),T=i(29236),C=i(43691),S=i(67806),E=i(36922),k=i(61511),x=i(4253),R=i(24621);const I=["searchSelectInput"],O=["innerSelectSearch"];function P(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-checkbox",9),s.NdJ("change",function(e){return s.CHM(t),s.oxw()._emitSelectAllBooleanToParent(e.checked)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("color",null==t.matFormField?null:t.matFormField.color)("checked",t.toggleAllCheckboxChecked)("indeterminate",t.toggleAllCheckboxIndeterminate)("matTooltip",t.toggleAllCheckboxTooltipMessage)("matTooltipPosition",t.toogleAllCheckboxTooltipPosition)}}function D(t,e){1&t&&s._UZ(0,"mat-spinner",10)}function M(t,e){1&t&&s.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function L(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"close"),s.qZA())}function N(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw()._reset(!0)}),s.YNc(1,M,1,0,"ng-content",12),s.YNc(2,L,2,0,"ng-template",null,13,s.W1O),s.qZA()}if(2&t){const t=s.MAs(3),e=s.oxw();s.xp6(1),s.Q6J("ngIf",e.clearIcon)("ngIfElse",t)}}function z(t,e){if(1&t&&(s.TgZ(0,"div",14),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.noEntriesFoundLabel,"\n")}}const F=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],Z=function(t,e){return{"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":e}},B=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let q=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t})();var U;let H=(()=>{let t=U=class{constructor(t,e,i,n=null,r,a=null){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=n,this.liveAnnouncer=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new s.vpe,this.onTouched=t=>{},this._options$=new l.X(null),this.optionsList$=this._options$.pipe((0,g.w)(t=>t?t.changes.pipe((0,f.U)(t=>t.toArray()),(0,m.O)(t.toArray())):(0,h.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,f.U)(t=>t?t.length:0)),this._formControl=new o.NI(""),this._showNoEntriesFound$=(0,d.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,f.U)(([t,e])=>this.noEntriesFoundLabel&&t&&e===this.getOptionsLengthOffset())),this._onDestroy=new p.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,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,b.g)(1),(0,w.R)(this._onDestroy)).subscribe(t=>{t?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,_.q)(1)).pipe((0,w.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,w.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,w.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const e=this._options.toArray(),i=e[this.getOptionsLengthOffset()],n=this.matSelect._keyManager;n&&this.matSelect.panelOpen&&(!!this.matSelect.compareWith(t,i)&&n.activeItem&&e.find(t=>this.matSelect.compareWith(t,n.activeItem))||n.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),t=i})})}),this._showNoEntriesFound$.pipe((0,w.R)(this._onDestroy)).subscribe(t=>{this.matOption&&(t?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,w.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,w.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=u.A&&t.keyCode<=u.Z||t.keyCode>=u.xE&&t.keyCode<=u.aO||t.keyCode===u.L_||this.preventHomeEndKeyPropagation&&(t.keyCode===u.Sd||t.keyCode===u.uR))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&t.keyCode===u.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&t.keyCode===u.hY&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(t.keyCode===u.LH||t.keyCode===u.JH){const t=this.matSelect._getAriaActiveDescendant(),e=this._options.toArray().findIndex(e=>e.id===t);if(-1!==e){const t=this._options.toArray()[e];this.liveAnnouncer.announce(t.viewValue+" "+this.getAriaIndex(e)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(t){return 0===this.getOptionsLengthOffset()?t+1:t}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe((0,y.h)(t=>t!==this._lastExternalInputValue),(0,A.b)(()=>this._lastExternalInputValue=void 0),(0,w.R)(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,w.R)(this._onDestroy)).subscribe(t=>{let e=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){t&&Array.isArray(t)||(t=[]);const i=this.matSelect.options.map(t=>t.value);this.previousSelectedValues.forEach(n=>{t.some(t=>this.matSelect.compareWith(t,n))||i.some(t=>this.matSelect.compareWith(t,n))||(t.push(n),e=!0)})}this.previousSelectedValues=t,e&&this.matSelect._onChange(t)})):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 t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=(0,r.CB)(e,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+e,s=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,a=Math.floor((256-o)/t),c=Math.round((s+o)/t)-1;c>=n?this.matSelect.panel.nativeElement.scrollTop=n*t:c+a<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*t-(256-o))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let t,e=this.innerSelectSearch.nativeElement;for(;e=e.parentElement;)if(e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.gD),s.Y36(s.sBO),s.Y36(x.rL),s.Y36(r.ey,8),s.Y36(R.Kd),s.Y36(c.KE,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,q,5),2&t){let t;s.iGM(t=s.CRH())&&(e.clearIcon=t.first)}},viewQuery:function(t,e){if(1&t&&(s.Gf(I,7,s.SBq),s.Gf(O,7,s.SBq)),2&t){let t;s.iGM(t=s.CRH())&&(e.searchSelectInput=t.first),s.iGM(t=s.CRH())&&(e.innerSelectSearch=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-select-search-inside-mat-option",e.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[s._Bn([{provide:o.JU,useExisting:(0,s.Gpc)(()=>U),multi:!0}])],ngContentSelectors:B,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(t,e){1&t&&(s.F$t(F),s._UZ(0,"input",0),s.TgZ(1,"div",1,2),s.YNc(3,P,1,5,"mat-checkbox",3),s.TgZ(4,"input",4,5),s.NdJ("keydown",function(t){return e._handleKeydown(t)})("keyup",function(t){return e._handleKeyup(t)})("blur",function(){return e.onBlur()}),s.qZA(),s.YNc(6,D,1,0,"mat-spinner",6),s.YNc(7,N,4,2,"button",7),s.Hsn(8),s.qZA(),s.YNc(9,z,2,1,"div",8),s.ALo(10,"async")),2&t&&(s.xp6(1),s.Q6J("ngClass",s.WLB(11,Z,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),s.xp6(2),s.Q6J("ngIf",e._isToggleAllCheckboxVisible()),s.xp6(1),s.Q6J("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),s.uIk("aria-label",e.ariaLabel),s.xp6(2),s.Q6J("ngIf",e.searching),s.xp6(1),s.Q6J("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),s.xp6(2),s.Q6J("ngIf",s.lcZ(10,9,e._showNoEntriesFound$)))},directives:[k.mk,k.O5,o.Fj,o.JJ,o.oH,T.oG,E.gM,S.$g,v.lW,C.Hw],pipes:[k.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}),t=U=(0,n.gn)([(0,n.fM)(0,(0,s.tBr)(a.gD)),(0,n.fM)(3,(0,s.FiY)()),(0,n.fM)(3,(0,s.tBr)(r.ey)),(0,n.fM)(5,(0,s.FiY)()),(0,n.fM)(5,(0,s.tBr)(c.KE))],t),t})(),j=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[k.ez,o.UX,v.ot,T.p9,C.Ps,S.Cq,E.AV]]}),t})()},59997:function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,(function(e){return t[e]}).bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=22)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i=4){for(var t=arguments.length,e=Array(t),i=0;i=3){for(var t=arguments.length,e=Array(t),i=0;i=2){for(var t=arguments.length,e=Array(t),i=0;i=1){for(var t=arguments.length,e=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new i(["application/jwk-set+json"])}return t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(s.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(s.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(e){return s.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=e,e})):(s.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then(function(i){if(s.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===i[t]){if(!0===e)return void s.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw s.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return i[t]})},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(s.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(e){return s.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then(function(e){if(s.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw s.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys})})},n(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var n=i(0),s=i(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,i){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(i)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global;"string"!=typeof t&&(t=i.location.href);var o=t.lastIndexOf(e);o>=0&&(t=t.substr(o+1)),"?"===e&&(o=t.indexOf("#"))>=0&&(t=t.substr(0,o));for(var r,a={},c=/([^&=]+)=([^&]*)/g,u=0;r=c.exec(t);)if(a[decodeURIComponent(r[1])]=decodeURIComponent(r[2]),u++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var l in a)return a;return{}},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var n=i(25),s=function(t){return t&&t.__esModule?t:{default:t}}(i(32));e.JoseUtil=(0,s.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.authority,s=e.metadataUrl,o=e.metadata,h=e.signingKeys,d=e.client_id,p=e.client_secret,g=e.response_type,f=void 0===g?u:g,m=e.scope,b=void 0===m?l:m,w=e.redirect_uri,_=e.post_logout_redirect_uri,y=e.prompt,A=e.display,v=e.max_age,T=e.ui_locales,C=e.acr_values,S=e.resource,E=e.response_mode,k=e.filterProtocolClaims,x=void 0===k||k,R=e.loadUserInfo,I=void 0===R||R,O=e.staleStateAge,P=void 0===O?900:O,D=e.clockSkew,M=void 0===D?300:D,L=e.userInfoJwtIssuer,N=void 0===L?"OP":L,z=e.stateStore,F=void 0===z?new r.WebStorageStateStore:z,Z=e.ResponseValidatorCtor,B=void 0===Z?a.ResponseValidator:Z,q=e.MetadataServiceCtor,U=void 0===q?c.MetadataService:q,H=e.extraQueryParams,j=void 0===H?{}:H,G=e.extraTokenParams,Y=void 0===G?{}:G;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._authority=i,this._metadataUrl=s,this._metadata=o,this._signingKeys=h,this._client_id=d,this._client_secret=p,this._response_type=f,this._scope=b,this._redirect_uri=w,this._post_logout_redirect_uri=_,this._prompt=y,this._display=A,this._max_age=v,this._ui_locales=T,this._acr_values=C,this._resource=S,this._response_mode=E,this._filterProtocolClaims=!!x,this._loadUserInfo=!!I,this._staleStateAge=P,this._clockSkew=M,this._userInfoJwtIssuer=N,this._stateStore=F,this._validator=new B(this),this._metadataService=new U(this),this._extraQueryParams="object"===(void 0===j?"undefined":n(j))?j:{},this._extraTokenParams="object"===(void 0===Y?"undefined":n(Y))?Y:{}}return s(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw o.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw o.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){this._extraQueryParams="object"===(void 0===t?"undefined":n(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":n(t))?t:{}}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=i(0),s=i(1);e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.prefix,n=void 0===i?"oidc.":i,o=e.store,r=void 0===o?s.Global.localStorage:o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._store=r,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){n.Log.debug("WebStorageStateStore.remove",t);var e=this._store.getItem(t=this._prefix+t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=i,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise(function(s,o){var r=new i._XMLHttpRequest;r.open("GET",t);var a=i._contentTypes,c=i._jwtHandler;r.onload=function(){if(n.Log.debug("JsonService.getJson: HTTP response received, status",r.status),200===r.status){var e=r.getResponseHeader("Content-Type");if(e){var i=a.find(function(t){if(e.startsWith(t))return!0});if("application/jwt"==i)return void c(r).then(s,o);if(i)try{return void s(JSON.parse(r.responseText))}catch(s){return n.Log.error("JsonService.getJson: Error parsing JSON response",s.message),void o(s)}}o(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else o(Error(r.statusText+" ("+r.status+")"))},r.onerror=function(){n.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),r.setRequestHeader("Authorization","Bearer "+e)),r.send()})},t.prototype.postForm=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise(function(s,o){var r=new i._XMLHttpRequest;r.open("POST",t);var a=i._contentTypes;r.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",r.status),200!==r.status){if(400===r.status&&(i=r.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{var e=JSON.parse(r.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void o(new Error(e.error))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void o(s)}o(Error(r.statusText+" ("+r.status+")"))}else{var i;if((i=r.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{return void s(JSON.parse(r.responseText))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void o(s)}o(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},r.onerror=function(){n.Log.error("JsonService.postForm: network error"),o(Error("Network Error"))};var c="";for(var u in e){var l=e[u];l&&(c.length>0&&(c+="&"),c+=encodeURIComponent(u),c+="=",c+=encodeURIComponent(l))}r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.send(c)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,n=e.data,s=e.created,r=e.request_type;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=i||(0,o.default)(),this._data=n,this._created="number"==typeof s&&s>0?s:parseInt(Date.now()/1e3),this._request_type=r}return t.prototype.toStorageString=function(){return s.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return s.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,i){var n=Date.now()/1e3-i;return e.getAllKeys().then(function(i){s.Log.debug("State.clearStaleState: got keys",i);for(var o=[],r=function(r){var a=i[r];c=e.get(a).then(function(i){var o=!1;if(i)try{var r=t.fromStorageString(i);s.Log.debug("State.clearStaleState: got item from key: ",a,r.created),r.created<=n&&(o=!0)}catch(t){s.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),o=!0}else s.Log.debug("State.clearStaleState: no item in storage for key: ",a),o=!0;if(o)return s.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)}),o.push(c)},a=0;a0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._settings=e instanceof o.OidcClientSettings?e:new o.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.response_type,n=e.scope,o=e.redirect_uri,r=e.data,c=e.state,u=e.prompt,l=e.display,h=e.max_age,d=e.ui_locales,p=e.id_token_hint,g=e.login_hint,f=e.acr_values,m=e.resource,b=e.request,w=e.request_uri,_=e.response_mode,y=e.extraQueryParams,A=e.extraTokenParams,v=e.request_type,T=e.skipUserInfo,C=arguments[1];s.Log.debug("OidcClient.createSigninRequest");var S=this._settings.client_id;n=n||this._settings.scope,o=o||this._settings.redirect_uri,u=u||this._settings.prompt,l=l||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,f=f||this._settings.acr_values,m=m||this._settings.resource,_=_||this._settings.response_mode,y=y||this._settings.extraQueryParams,A=A||this._settings.extraTokenParams;var E=this._settings.authority;return a.SigninRequest.isCode(i=i||this._settings.response_type)&&"code"!==i?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(e){s.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var k=new a.SigninRequest({url:e,client_id:S,redirect_uri:o,response_type:i,scope:n,data:r||c,authority:E,prompt:u,display:l,max_age:h,ui_locales:d,id_token_hint:p,login_hint:g,acr_values:f,resource:m,request:b,request_uri:w,extraQueryParams:y,extraTokenParams:A,request_type:v,response_mode:_,client_secret:t._settings.client_secret,skipUserInfo:T}),x=k.state;return(C=C||t._stateStore).set(x.id,x.toStorageString()).then(function(){return k})})},t.prototype.readSigninResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type)?"?":"#",o=new c.SigninResponse(t,n);return o.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(o.state).then(function(t){if(!t)throw s.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(t),response:o}})):(s.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},t.prototype.processSigninResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return s.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),i._validator.validateSigninResponse(e,n)})},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id_token_hint,n=e.data,o=e.state,r=e.post_logout_redirect_uri,a=e.extraQueryParams,c=e.request_type,l=arguments[1];return s.Log.debug("OidcClient.createSignoutRequest"),r=r||this._settings.post_logout_redirect_uri,a=a||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(e){if(!e)throw s.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");s.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var h=new u.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:r,data:n||o,extraQueryParams:a,request_type:c}),d=h.state;return d&&(s.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(l=l||t._stateStore).set(d.id,d.toStorageString())),h})},t.prototype.readSignoutResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSignoutResponseState");var n=new l.SignoutResponse(t);if(!n.state)return s.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(s.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new r.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var o=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(o).then(function(t){if(!t)throw s.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(t),response:n}})},t.prototype.processSignoutResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return e?(s.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),i._validator.validateSignoutResponse(e,n)):(s.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)})},t.prototype.clearStaleState=function(t){return s.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},n(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var n=i(7),s=i(2),o=i(0);e.TokenClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw o.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i,this._metadataService=new r(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri,e.code?e.redirect_uri?e.code_verifier?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return o.Log.debug("TokenClient.exchangeCode: response received"),t})}):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.refresh_token?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),t})}):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var n=i(0);e.ErrorResponse=function(t){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.error,o=i.error_description,r=i.error_uri,a=i.state,c=i.session_state;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!s)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,o||s));return u.name="ErrorResponse",u.error=s,u.error_description=o,u.error_uri=r,u.state=a,u.session_state=c,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=i(0),s=i(3),o=i(13);e.SigninRequest=function(){function t(e){var i=e.url,r=e.client_id,a=e.redirect_uri,c=e.response_type,u=e.scope,l=e.authority,h=e.data,d=e.prompt,p=e.display,g=e.max_age,f=e.ui_locales,m=e.id_token_hint,b=e.login_hint,w=e.acr_values,_=e.resource,y=e.response_mode,A=e.request,v=e.request_uri,T=e.extraQueryParams,C=e.request_type,S=e.client_secret,E=e.extraTokenParams,k=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!r)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!c)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!u)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!l)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var x=t.isOidc(c),R=t.isCode(c);y||(y=t.isCode(c)?"query":null),this.state=new o.SigninState({nonce:x,data:h,client_id:r,authority:l,redirect_uri:a,code_verifier:R,request_type:C,response_mode:y,client_secret:S,scope:u,extraTokenParams:E,skipUserInfo:k}),i=s.UrlUtility.addQueryParam(i,"client_id",r),i=s.UrlUtility.addQueryParam(i,"redirect_uri",a),i=s.UrlUtility.addQueryParam(i,"response_type",c),i=s.UrlUtility.addQueryParam(i,"scope",u),i=s.UrlUtility.addQueryParam(i,"state",this.state.id),x&&(i=s.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),R&&(i=s.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=s.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var I={prompt:d,display:p,max_age:g,ui_locales:f,id_token_hint:m,login_hint:b,acr_values:w,resource:_,request:A,request_uri:v,response_mode:y};for(var O in I)I[O]&&(i=s.UrlUtility.addQueryParam(i,O,I[O]));for(var P in T)i=s.UrlUtility.addQueryParam(i,P,T[P]);this.url=i}return t.isOidc=function(t){return!!t.split(/\s+/g).filter(function(t){return"id_token"===t})[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter(function(t){return"token"===t})[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter(function(t){return"code"===t})[0]},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.nonce,s=i.authority,o=i.client_id,c=i.redirect_uri,u=i.code_verifier,l=i.response_mode,h=i.client_secret,d=i.scope,p=i.extraTokenParams,g=i.skipUserInfo;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var f=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));if(!0===n?f._nonce=(0,a.default)():n&&(f._nonce=n),!0===u?f._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():u&&(f._code_verifier=u),f.code_verifier){var m=r.JoseUtil.hashString(f.code_verifier,"SHA256");f._code_challenge=r.JoseUtil.hexToBase64Url(m)}return f._redirect_uri=c,f._authority=s,f._client_id=o,f._response_mode=l,f._client_secret=h,f._scope=d,f._extraTokenParams=p,f._skipUserInfo=g,f}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return s.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return s.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},n(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(o.State)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.default)().replace(/-/g,"")};var n=function(t){return t&&t.__esModule?t:{default:t}}(i(33));t.exports=e.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var i=0;i0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var n=i(0),s=i(48);e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.accessTokenExpiringNotificationTime,n=void 0===i?60:i,o=e.accessTokenExpiringTimer,r=void 0===o?new s.Timer("Access token expiring"):o,a=e.accessTokenExpiredTimer,c=void 0===a?new s.Timer("Access token expired"):a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=r,this._accessTokenExpired=c}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var i=e-this._accessTokenExpiringNotificationTime;i<=0&&(i=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",i),this._accessTokenExpiring.init(i)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var s=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",s),this._accessTokenExpired.init(s)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var n=i(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex(function(e){return e===t});e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){n.Log.debug("Event: Raising event: "+this._name);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.Global.timer;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=a,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then(function(t){t?i._start(t):i._settings.monitorAnonymousSession&&i._userManager.querySessionStatus().then(function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),i._start(e)}).catch(function(t){s.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)})}).catch(function(t){s.Log.error("SessionMonitor ctor: error from getUser:",t.message)})}return t.prototype._start=function(t){var e=this,i=t.session_state;i&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,s.Log.debug("SessionMonitor._start: session_state:",i,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,s.Log.debug("SessionMonitor._start: session_state:",i,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(i):this._metadataService.getCheckSessionIframe().then(function(t){if(t){s.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,o=e._checkSessionInterval,r=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,o,r),e._checkSessionIFrame.load().then(function(){e._checkSessionIFrame.start(i)})}else s.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(t){s.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)}))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(s.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval(function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then(function(e){var i={session_state:e.session_state};e.sub&&e.sid&&(i.profile={sub:e.sub,sid:e.sid}),t._start(i)}).catch(function(t){s.Log.error("SessionMonitor: error from querySessionStatus:",t.message)})},1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then(function(e){var i=!0;e?e.sub===t._sub?(i=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):s.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):s.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),i&&(t._sub?(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))}).catch(function(e){t._sub&&(s.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())})},n(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var n=i(0);e.CheckSessionIFrame=function(){function t(e,i,n,s){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._callback=e,this._client_id=i,this._url=n,this._interval=s||2e3,this._stopOnError=o;var r=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.substr(0,r),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=n}return t.prototype.load=function(){var t=this;return new Promise(function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)})},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var i=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var n=i(0),s=i(2),o=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=i,this._metadataService=new r(this._settings)}return t.prototype.revoke=function(t,e){var i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==s&&"refresh_token"!=s)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(o){if(o)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+s),i._revoke(o,i._settings.client_id,i._settings.client_secret,t,s);if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},t.prototype._revoke=function(t,e,i,s,o){var r=this;return new Promise(function(a,c){var u=new r._XMLHttpRequestCtor;u.open("POST",t),u.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",u.status),200===u.status?a():c(Error(u.statusText+" ("+u.status+")"))},u.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),c("Network Error")};var l="client_id="+encodeURIComponent(e);i&&(l+="&client_secret="+encodeURIComponent(i)),l+="&token_type_hint="+encodeURIComponent(o),l+="&token="+encodeURIComponent(s),u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(l)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.UserInfoService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new i(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=c,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var i=this;return s.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: state processed"),i._validateTokens(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),i._processClaims(t,e).then(function(t){return s.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t})})})},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(s.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(s.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return s.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return s.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return s.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return s.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return s.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return s.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):t.nonce&&!e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(s.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(s.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var i=this;if(e.isOpenIdConnect){if(s.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return s.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then(function(t){return s.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(s.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(e.profile=i._mergeClaims(e.profile,t),s.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)});s.Log.debug("ResponseValidator._processClaims: not loading user info")}else s.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var i=Object.assign({},t);for(var s in e){var o=e[s];Array.isArray(o)||(o=[o]);for(var r=0;r1)return s.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));c=a[0]}if(!c)return s.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=t.client_id,l=i._settings.clockSkew;return s.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(e.id_token,c,r,u,l).then(function(){return s.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(s.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return s.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];i="EC"}return s.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),s.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",i,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return s.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return s.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return s.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return s.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var i=e.header.alg;if(!i||5!==i.length)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i),Promise.reject(new Error("Unsupported alg: "+i));var n=i.substr(2,3);if(!n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));var o="sha"+n,r=this._joseUtil.hashString(t.access_token,o);if(!r)return s.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var a=r.substr(0,r.length/2),c=this._joseUtil.hexToBase64Url(a);return c!==t.profile.at_hash?(s.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(s.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=i(7),s=i(2),o=i(0),r=i(4);e.UserInfoService=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.JoseUtil;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw o.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new a(this._settings),this._joseUtil=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then(function(i){return o.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then(function(t){return o.Log.debug("UserInfoService.getClaims: claims received",t),t})}):(o.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function t(e){var i=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var s=n.header.kid,r=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":r=this._metadataService.getIssuer();break;case"ANY":r=Promise.resolve(n.payload.iss);break;default:r=Promise.resolve(this._settings.userInfoJwtIssuer)}return r.then(function(t){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then(function(r){if(!r)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(s)a=r.filter(function(t){return t.kid===s})[0];else{if((r=i._filterByAlg(r,n.header.alg)).length>1)return o.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));a=r[0]}if(!a)return o.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var c=i._settings.client_id,u=i._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",u),i._joseUtil.validateJwt(e.responseText,a,t,c,u,void 0,!0).then(function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload})})})}catch(t){return o.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",i,t.length),t},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=i(26);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={userAgent:!1},s={};if(void 0===o)var o={};o.lang={extend:function(e,i,s){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var o=function(){};if(o.prototype=i.prototype,e.prototype=new o,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),s){var r;for(r in s)e.prototype[r]=s[r];var a=function(){},c=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(a=function(t,e){for(r=0;r>>2]|=(i[o>>>2]>>>24-o%4*8&255)<<24-(n+o)%4*8;else for(o=0;o>>2]=i[o>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=r.ceil(e/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i>>2]>>>24-s%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new l.init(i,e/2)}},p=h.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],s=0;s>>2]>>>24-s%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new l.init(i,e)}},g=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},f=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=g.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,n=e.sigBytes,s=this.blockSize,o=n/(4*s),a=(o=t?r.ceil(o):r.max((0|o)-this._minBufferSize,0))*s,c=r.min(4*a,n);if(a){for(var u=0;u>>2]>>>24-s%4*8&255)<<16|(e[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e[s+2>>>2]>>>24-(s+2)%4*8&255,r=0;4>r&&s+.75*r>>6*(3-r)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var i=e.length,n=this._map;(s=n.charAt(64))&&-1!=(s=e.indexOf(s))&&(i=s);for(var s=[],o=0,r=0;r>>6-r%4*2;s[o>>>2]|=(a|c)<<24-o%4*8,o++}return t.create(s,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=b,i=(s=e.lib).WordArray,n=s.Hasher,s=e.algo,o=[],r=[],a=function(t){return 4294967296*(t-(0|t))|0},c=2,u=0;64>u;){var l;t:{for(var h=t.sqrt(l=c),d=2;d<=h;d++)if(!(l%d)){l=!1;break t}l=!0}l&&(8>u&&(o[u]=a(t.pow(c,.5))),r[u]=a(t.pow(c,1/3)),u++),c++}var p=[];s=s.SHA256=n.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],s=i[1],o=i[2],a=i[3],c=i[4],u=i[5],l=i[6],h=i[7],d=0;64>d;d++){if(16>d)p[d]=0|t[e+d];else{var g=p[d-15],f=p[d-2];p[d]=((g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3)+p[d-7]+((f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10)+p[d-16]}g=h+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&l)+r[d]+p[d],f=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&s^n&o^s&o),h=l,l=u,u=c,c=a+g|0,a=o,o=s,s=n,n=g+f|0}i[0]=i[0]+n|0,i[1]=i[1]+s|0,i[2]=i[2]+o|0,i[3]=i[3]+a|0,i[4]=i[4]+c|0,i[5]=i[5]+u|0,i[6]=i[6]+l|0,i[7]=i[7]+h|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,s=8*e.sigBytes;return i[s>>>5]|=128<<24-s%32,i[14+(s+64>>>9<<4)]=t.floor(n/4294967296),i[15+(s+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(s),e.HmacSHA256=n._createHmacHelper(s)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=b,i=e.lib.Hasher,n=(o=e.x64).Word,s=o.WordArray,o=e.algo,r=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],c=0;80>c;c++)a[c]=t();o=o.SHA512=i.extend({_doReset:function(){this._hash=new s.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var i=(h=this._hash.words)[0],n=h[1],s=h[2],o=h[3],c=h[4],u=h[5],l=h[6],h=h[7],d=i.high,p=i.low,g=n.high,f=n.low,m=s.high,b=s.low,w=o.high,_=o.low,y=c.high,A=c.low,v=u.high,T=u.low,C=l.high,S=l.low,E=h.high,k=h.low,x=d,R=p,I=g,O=f,P=m,D=b,M=w,L=_,N=y,z=A,F=v,Z=T,B=C,q=S,U=E,H=k,j=0;80>j;j++){var G=a[j];if(16>j)var Y=G.high=0|t[e+2*j],V=G.low=0|t[e+2*j+1];else{Y=((V=(Y=a[j-15]).high)>>>1|(K=Y.low)<<31)^(V>>>8|K<<24)^V>>>7;var K=(K>>>1|V<<31)^(K>>>8|V<<24)^(K>>>7|V<<25),J=((V=(J=a[j-2]).high)>>>19|($=J.low)<<13)^(V<<3|$>>>29)^V>>>6,$=($>>>19|V<<13)^($<<3|V>>>29)^($>>>6|V<<26),Q=(V=a[j-7]).high,W=(X=a[j-16]).high,X=X.low;Y=(Y=(Y=Y+Q+((V=K+V.low)>>>0>>0?1:0))+J+((V+=$)>>>0<$>>>0?1:0))+W+((V+=X)>>>0>>0?1:0),G.high=Y,G.low=V}G=x&I^x&P^I&P;var tt=R&O^R&D^O&D,et=(K=(x>>>28|R<<4)^(x<<30|R>>>2)^(x<<25|R>>>7),J=(R>>>28|x<<4)^(R<<30|x>>>2)^(R<<25|x>>>7),($=r[j]).high),it=$.low;W=(W=(W=(W=U+((N>>>14|z<<18)^(N>>>18|z<<14)^(N<<23|z>>>9))+(($=H+((z>>>14|N<<18)^(z>>>18|N<<14)^(z<<23|N>>>9)))>>>0>>0?1:0))+(Q=N&F^~N&B)+(($+=X=z&Z^~z&q)>>>0>>0?1:0))+et+(($+=it)>>>0>>0?1:0))+Y+(($+=V)>>>0>>0?1:0),U=B,H=q,B=F,q=Z,F=N,Z=z,N=M+W+((z=L+$|0)>>>0>>0?1:0)|0,M=P,L=D,P=I,D=O,I=x,O=R,x=W+(G=K+G+((V=J+tt)>>>0>>0?1:0))+((R=$+V|0)>>>0<$>>>0?1:0)|0}p=i.low=p+R,i.high=d+x+(p>>>0>>0?1:0),f=n.low=f+O,n.high=g+I+(f>>>0>>0?1:0),b=s.low=b+D,s.high=m+P+(b>>>0>>0?1:0),_=o.low=_+L,o.high=w+M+(_>>>0>>0?1:0),A=c.low=A+z,c.high=y+N+(A>>>0>>0?1:0),T=u.low=T+Z,u.high=v+F+(T>>>0>>0?1:0),S=l.low=S+q,l.high=C+B+(S>>>0>>0?1:0),k=h.low=k+H,h.high=E+U+(k>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),e[31+(n+128>>>10<<5)]=i,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=i._createHelper(o),e.HmacSHA512=i._createHmacHelper(o)}(),function(){var t=b,e=(s=t.x64).Word,i=s.WordArray,n=(s=t.algo).SHA512,s=s.SHA384=n.extend({_doReset:function(){this._hash=new i.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=n._createHelper(s),t.HmacSHA384=n._createHmacHelper(s)}();var w,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function y(t){var e,i,n="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),n+=_.charAt(i>>6)+_.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=_.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=_.charAt(i>>2)+_.charAt((3&i)<<4));(3&n.length)>0;)n+="=";return n}function A(t){var e,i,n,s="",o=0;for(e=0;e>2),i=3&n,o=1):1==o?(s+=x(i<<2|n>>4),i=15&n,o=2):2==o?(s+=x(i),s+=x(n>>2),i=3&n,o=3):(s+=x(i<<2|n>>4),s+=x(15&n),o=0));return 1==o&&(s+=x(i<<2)),s}function v(t){var e,i=A(t),n=new Array;for(e=0;2*e>15;--o>=0;){var c=32767&this[t],u=this[t++]>>15,l=a*c+u*r;s=((c=r*c+((32767&l)<<15)+i[n]+(1073741823&s))>>>30)+(l>>>15)+a*u+(s>>>30),i[n++]=1073741823&c}return s},w=30):"Netscape"!=n.appName?(T.prototype.am=function(t,e,i,n,s,o){for(;--o>=0;){var r=e*this[t++]+i[n]+s;s=Math.floor(r/67108864),i[n++]=67108863&r}return s},w=26):(T.prototype.am=function(t,e,i,n,s,o){for(var r=16383&e,a=e>>14;--o>=0;){var c=16383&this[t],u=this[t++]>>14,l=a*c+u*r;s=((c=r*c+((16383&l)<<14)+i[n]+s)>>28)+(l>>14)+a*u,i[n++]=268435455&c}return s},w=28),T.prototype.DB=w,T.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function P(t){this.m=t}function D(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function Z(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function B(){}function q(t){return t}function U(t){this.r2=C(),this.q3=C(),T.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}P.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},P.prototype.revert=function(t){return t},P.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},P.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},P.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},D.prototype.convert=function(t){var e=C();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(T.ZERO)>0&&this.m.subTo(e,e),e},D.prototype.revert=function(t){var e=C();return t.copyTo(e),this.reduce(e),e},D.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},D.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},D.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},T.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},T.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},T.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,s=!1,o=0;--n>=0;){var r=8==i?255&t[n]:R(t,n);r<0?"-"==t.charAt(n)&&(s=!0):(s=!1,0==o?this[this.t++]=r:o+i>this.DB?(this[this.t-1]|=(r&(1<>this.DB-o):this[this.t-1]|=r<=this.DB&&(o-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},T.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},T.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+r+1]=this[i]>>s|a,a=(this[i]&o)<=0;--i)e[i]=0;e[r]=a,e.t=this.t+r+1,e.s=this.s,e.clamp()},T.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,s=this.DB-n,o=(1<>n;for(var r=i+1;r>n;n>0&&(e[this.t-i-1]|=(this.s&o)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},T.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),s=i.t;for(e.t=s+n.t;--s>=0;)e[s]=0;for(s=0;s=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},T.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var s=this.abs();if(s.t0?(n.lShiftTo(c,o),s.lShiftTo(c,i)):(n.copyTo(o),s.copyTo(i));var u=o.t,l=o[u-1];if(0!=l){var h=l*(1<1?o[u-2]>>this.F2:0),d=this.FV/h,p=(1<=0&&(i[i.t++]=1,i.subTo(b,i)),T.ONE.dlShiftTo(u,b),b.subTo(o,o);o.t=0;){var w=i[--f]==l?this.DM:Math.floor(i[f]*d+(i[f-1]+g)*p);if((i[f]+=o.am(0,w,i,m,0,u))0&&i.rShiftTo(c,i),r<0&&T.ZERO.subTo(i,i)}}},T.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},T.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},T.prototype.exp=function(t,e){if(t>4294967295||t<1)return T.ONE;var i=C(),n=C(),s=e.convert(this),o=O(t)-1;for(s.copyTo(i);--o>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,s,i);else{var r=i;i=n,n=r}return e.revert(i)},T.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<0)for(a>a)>0&&(s=!0,o=x(i));r>=0;)a>(a+=this.DB-e)):(i=this[r]>>(a-=e)&n,a<=0&&(a+=this.DB,--r)),i>0&&(s=!0),s&&(o+=x(i));return s?o:"0"},T.prototype.negate=function(){var t=C();return T.ZERO.subTo(this,t),t},T.prototype.abs=function(){return this.s<0?this.negate():this},T.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},T.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+O(this[this.t-1]^this.s&this.DM)},T.prototype.mod=function(t){var e=C();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(T.ZERO)>0&&t.subTo(e,e),e},T.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new P(e):new D(e),this.exp(t,i)},T.ZERO=I(0),T.ONE=I(1),B.prototype.convert=q,B.prototype.revert=q,B.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},B.prototype.sqrTo=function(t,e){t.squareTo(e)},U.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=C();return t.copyTo(e),this.reduce(e),e},U.prototype.revert=function(t){return t},U.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},U.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},U.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var H,j,G,Y=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],V=(1<<26)/Y[Y.length-1];function K(){this.i=0,this.j=0,this.S=new Array}function J(){!function(t){j[G++]^=255&t,j[G++]^=t>>8&255,j[G++]^=t>>16&255,j[G++]^=t>>24&255,G>=256&&(G-=256)}((new Date).getTime())}if(T.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},T.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=I(i),s=C(),o=C(),r="";for(this.divRemTo(n,s,o);s.signum()>0;)r=(i+o.intValue()).toString(t).substr(1)+r,s.divRemTo(n,s,o);return o.intValue().toString(t)+r},T.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),s=!1,o=0,r=0,a=0;a=i&&(this.dMultiply(n),this.dAddOffset(r,0),o=0,r=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(r,0)),s&&T.ZERO.subTo(this,this)},T.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(T.ONE.shiftLeft(t-1),L,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(T.ONE.shiftLeft(t-1),this);else{var n=new Array,s=7&t;n.length=1+(t>>3),e.nextBytes(n),s>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},T.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},T.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},T.prototype.multiplyLowerTo=function(t,e,i){var n,s=Math.min(this.t+t.t,e);for(i.s=0,i.t=s;s>0;)i[--s]=0;for(n=i.t-this.t;s=0;)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},T.prototype.millerRabin=function(t){var e=this.subtract(T.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var n=e.shiftRight(i);(t=t+1>>1)>Y.length&&(t=Y.length);for(var s=C(),o=0;o>24},T.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},T.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},T.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,s=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[s++]=i|this.s<=0;)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==s&&(128&this.s)!=(128&i)&&++s,(s>0||i!=this.s)&&(e[s++]=i);return e},T.prototype.equals=function(t){return 0==this.compareTo(t)},T.prototype.min=function(t){return this.compareTo(t)<0?this:t},T.prototype.max=function(t){return this.compareTo(t)>0?this:t},T.prototype.and=function(t){var e=C();return this.bitwiseTo(t,M,e),e},T.prototype.or=function(t){var e=C();return this.bitwiseTo(t,L,e),e},T.prototype.xor=function(t){var e=C();return this.bitwiseTo(t,N,e),e},T.prototype.andNot=function(t){var e=C();return this.bitwiseTo(t,z,e),e},T.prototype.not=function(){for(var t=C(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var l=C();for(n.sqrTo(r[1],l);a<=u;)r[a]=C(),n.mulTo(l,r[a-2],r[a]),a+=2}var h,d,p=t.t-1,g=!0,f=C();for(s=O(t[p])-1;p>=0;){for(s>=c?h=t[p]>>s-c&u:(h=(t[p]&(1<0&&(h|=t[p-1]>>this.DB+s-c)),a=i;0==(1&h);)h>>=1,--a;if((s-=a)<0&&(s+=this.DB,--p),g)r[h].copyTo(o),g=!1;else{for(;a>1;)n.sqrTo(o,f),n.sqrTo(f,o),a-=2;a>0?n.sqrTo(o,f):(d=o,o=f,f=d),n.mulTo(f,r[h],o)}for(;p>=0&&0==(t[p]&1<=0?(i.subTo(n,i),e&&s.subTo(r,s),o.subTo(a,o)):(n.subTo(i,n),e&&r.subTo(s,r),a.subTo(o,a))}return 0!=n.compareTo(T.ONE)?T.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},T.prototype.pow=function(t){return this.exp(t,new B)},T.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var s=e.getLowestSetBit(),o=i.getLowestSetBit();if(o<0)return e;for(s0&&(e.rShiftTo(o,e),i.rShiftTo(o,i));e.signum()>0;)(s=e.getLowestSetBit())>0&&e.rShiftTo(s,e),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return o>0&&i.lShiftTo(o,i),i},T.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=Y[Y.length-1]){for(e=0;e>>8,j[G++]=255&$;G=0,J()}function tt(){if(null==H){for(J(),(H=new K).init(j),G=0;G>24,(16711680&s)>>16,(65280&s)>>8,255&s]))),s+=1;return n}function st(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function ot(t,e){this.x=e,this.q=t}function rt(t,e,i,n){this.curve=t,this.x=e,this.y=i,this.z=null==n?T.ONE:n,this.zinv=null}function at(t,e,i){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(i),this.infinity=new rt(this,null,null)}et.prototype.nextBytes=function(t){var e;for(e=0;e0&&e.length>0))throw"Invalid RSA public key";this.n=it(t,16),this.e=parseInt(e,16)}},st.prototype.encrypt=function(t){var e=function(t,e){if(e=0&&e>0;){var s=t.charCodeAt(n--);s<128?i[--e]=s:s>127&&s<2048?(i[--e]=63&s|128,i[--e]=s>>6|192):(i[--e]=63&s|128,i[--e]=s>>6&63|128,i[--e]=s>>12|224)}i[--e]=0;for(var o=new et,r=new Array;e>2;){for(r[0]=0;0==r[0];)o.nextBytes(r);i[--e]=r[0]}return i[--e]=2,i[--e]=0,new T(i)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n},st.prototype.encryptOAEP=function(t,e,i){var n=function(t,e,i,n){var s=ut.crypto.MessageDigest,o=ut.crypto.Util,r=null;if(i||(i="sha1"),"string"==typeof i&&(r=s.getCanonicalAlgName(i),n=s.getHashLength(r),i=function(t){return Tt(o.hashHex(Ct(t),r))}),t.length+2*n+2>e)throw"Message too long for RSA";var a,c="";for(a=0;a>3,e,i);if(null==n)return null;var s=this.doPublic(n);if(null==s)return null;var o=s.toString(16);return 0==(1&o.length)?o:"0"+o},st.prototype.type="RSA",ot.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},ot.prototype.toBigInteger=function(){return this.x},ot.prototype.negate=function(){return new ot(this.q,this.x.negate().mod(this.q))},ot.prototype.add=function(t){return new ot(this.q,this.x.add(t.toBigInteger()).mod(this.q))},ot.prototype.subtract=function(t){return new ot(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},ot.prototype.multiply=function(t){return new ot(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},ot.prototype.square=function(){return new ot(this.q,this.x.square().mod(this.q))},ot.prototype.divide=function(t){return new ot(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},rt.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},rt.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},rt.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(T.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(T.ZERO))},rt.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(T.ZERO)&&!this.y.toBigInteger().equals(T.ZERO)},rt.prototype.negate=function(){return new rt(this.curve,this.x,this.y.negate(),this.z)},rt.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),i=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(T.ZERO.equals(i))return T.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new T("3"),s=this.x.toBigInteger(),o=this.y.toBigInteger(),r=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),a=r.multiply(i),c=s.multiply(r),u=e.square().multiply(this.z),l=u.subtract(c.shiftLeft(1)).multiply(t.z).subtract(a).multiply(i).mod(this.curve.q),h=c.multiply(n).multiply(e).subtract(o.multiply(a)).subtract(u.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),d=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new rt(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(h),d)},rt.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new T("3"),e=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),s=n.multiply(i).mod(this.curve.q),o=this.curve.a.toBigInteger(),r=e.square().multiply(t);T.ZERO.equals(o)||(r=r.add(this.z.square().multiply(o)));var a=(r=r.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(n).mod(this.curve.q),c=r.multiply(t).multiply(e).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(r.square().multiply(r)).mod(this.curve.q),u=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new rt(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(c),u)},rt.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new T("3")),s=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var r=n.testBit(e);r!=i.testBit(e)&&(o=o.add(r?this:s))}return o},rt.prototype.multiplyTwo=function(t,e,i){var n;n=t.bitLength()>i.bitLength()?t.bitLength()-1:i.bitLength()-1;for(var s=this.curve.getInfinity(),o=this.add(e);n>=0;)s=s.twice(),t.testBit(n)?s=i.testBit(n)?s.add(o):s.add(this):i.testBit(n)&&(s=s.add(e)),--n;return s},at.prototype.getQ=function(){return this.q},at.prototype.getA=function(){return this.a},at.prototype.getB=function(){return this.b},at.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},at.prototype.getInfinity=function(){return this.infinity},at.prototype.fromBigInteger=function(t){return new ot(this.q,t)},at.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var e=(t.length-2)/2,i=t.substr(2,e),n=t.substr(e+2,e);return new rt(this,this.fromBigInteger(new T(i,16)),this.fromBigInteger(new T(n,16)));default:return null}},ot.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},rt.prototype.getEncoded=function(t){var e=function(t,e){var i=t.toByteArrayUnsigned();if(ei.length;)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),s=e(i,32);return t?n.isEven()?s.unshift(2):s.unshift(3):(s.unshift(4),s=s.concat(e(n,32))),s},rt.decodeFrom=function(t,e){var i=e.length-1,n=e.slice(1,1+i/2),s=e.slice(1+i/2,1+i);n.unshift(0),s.unshift(0);var o=new T(n),r=new T(s);return new rt(t,t.fromBigInteger(o),t.fromBigInteger(r))},rt.decodeFromHex=function(t,e){e.substr(0,2);var i=e.length-2,n=e.substr(2,i/2),s=e.substr(2+i/2,i/2),o=new T(n,16),r=new T(s,16);return new rt(t,t.fromBigInteger(o),t.fromBigInteger(r))},rt.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),i=t.y.subtract(this.y).divide(e),n=i.square().subtract(this.x).subtract(t.x),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new rt(this.curve,n,s)},rt.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(T.valueOf(2)),e=this.curve.fromBigInteger(T.valueOf(3)),i=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),n=i.square().subtract(this.x.multiply(t)),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new rt(this.curve,n,s)},rt.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new T("3")),s=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var r=n.testBit(e);r!=i.testBit(e)&&(o=o.add2D(r?this:s))}return o},rt.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),s=this.curve.getQ(),o=e.multiply(e).mod(s),r=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(s);return o.equals(r)},rt.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},rt.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),i=this.getY().toBigInteger();if(e.compareTo(T.ONE)<0||e.compareTo(t.subtract(T.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(T.ONE)<0||i.compareTo(t.subtract(T.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ct=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function s(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var o=new String(""),r=Object.hasOwnProperty;return function(n,a){var c,u,l=n.match(t),h=l[0],d=!1;"{"===h?c={}:"["===h?c=[]:(c=[],d=!0);for(var p=[c],g=1-d,f=l.length;g=0;)delete s[o[l]]}return a.call(e,n,s)}({"":c},"")),c}}();void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.asn1&&ut.asn1||(ut.asn1={}),ut.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var n="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ut.asn1.DERAbstractString=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=At(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},o.lang.extend(ut.asn1.DERAbstractString,ut.asn1.ASN1Object),ut.asn1.DERAbstractTime=function(t){ut.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var n=this.zeroPadding,s=this.localDateToUTC(t),o=String(s.getFullYear());"utc"==e&&(o=o.substr(2,2));var r=o+n(String(s.getMonth()+1),2)+n(String(s.getDate()),2)+n(String(s.getHours()),2)+n(String(s.getMinutes()),2)+n(String(s.getSeconds()),2);if(!0===i){var a=s.getMilliseconds();if(0!=a){var c=n(String(a),3);r=r+"."+(c=c.replace(/[0]+$/,""))}}return r+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=mt(t)},this.setByDateValue=function(t,e,i,n,s,o){var r=new Date(Date.UTC(t,e-1,i,n,s,o,0));this.setByDate(r)},this.getFreshValueHex=function(){return this.hV}},o.lang.extend(ut.asn1.DERAbstractTime,ut.asn1.ASN1Object),ut.asn1.DERAbstractStructured=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},o.lang.extend(ut.asn1.DERAbstractStructured,ut.asn1.ASN1Object),ut.asn1.DERBoolean=function(){ut.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},o.lang.extend(ut.asn1.DERBoolean,ut.asn1.ASN1Object),ut.asn1.DERInteger=function(t){ut.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ut.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new T(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},o.lang.extend(ut.asn1.DERInteger,ut.asn1.ASN1Object),ut.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ut.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ut.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7s.length&&(s=n[i]);return(t=t.replace(s,"::")).slice(1,-1)}function Nt(t){var e="malformed hex value";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?Lt(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function zt(t){for(var e=encodeURIComponent(t),i="",n=0;n"7"?"00"+t:t}dt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var i=parseInt(t.substr(e+3,1));return 0==i?-1:0=2*o)break;if(a>=200)break;n.push(c),r=c,a++}return n},dt.getNthChildIdx=function(t,e,i){return dt.getChildIdx(t,e)[i]},dt.getIdxbyList=function(t,e,i,n){var s,o,r=dt;if(0==i.length){if(void 0!==n&&t.substr(e,2)!==n)throw"checking tag doesn't match: "+t.substr(e,2)+"!="+n;return e}return s=i.shift(),o=r.getChildIdx(t,e),r.getIdxbyList(t,o[s],i,n)},dt.getTLVbyList=function(t,e,i,n){var s=dt,o=s.getIdxbyList(t,e,i);if(void 0===o)throw"can't find nthList object";if(void 0!==n&&t.substr(o,2)!=n)throw"checking tag doesn't match: "+t.substr(o,2)+"!="+n;return s.getTLV(t,o)},dt.getVbyList=function(t,e,i,n,s){var o,r,a=dt;if(void 0===(o=a.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return r=a.getV(t,o),!0===s&&(r=r.substr(2)),r},dt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},i=[],n=t.substr(0,2),s=parseInt(n,16);i[0]=new String(Math.floor(s/40)),i[1]=new String(s%40);for(var o=t.substr(2),r=[],a=0;a0&&(l=l+"."+c.join(".")),l},dt.dump=function(t,e,i,n){var s=dt,o=s.getV,r=s.dump,a=s.getChildIdx,c=t;t instanceof ut.asn1.ASN1Object&&(c=t.getEncodedHex());var u=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===i&&(i=0),void 0===n&&(n="");var l=e.ommit_long_octet;if("01"==c.substr(i,2))return"00"==(h=o(c,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==c.substr(i,2))return n+"INTEGER "+u(h=o(c,i),l)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+u(h=o(c,i),l)+"\n";if("04"==c.substr(i,2)){var h=o(c,i);return s.isASN1HEX(h)?(v=n+"OCTETSTRING, encapsulates\n")+r(h,e,0,n+" "):n+"OCTETSTRING "+u(h,l)+"\n"}if("05"==c.substr(i,2))return n+"NULL\n";if("06"==c.substr(i,2)){var d=o(c,i),p=ut.asn1.ASN1Util.oidHexToInt(d),g=ut.asn1.x509.OID.oid2name(p),f=p.replace(/\./g," ");return""!=g?n+"ObjectIdentifier "+g+" ("+f+")\n":n+"ObjectIdentifier ("+f+")\n"}if("0c"==c.substr(i,2))return n+"UTF8String '"+vt(o(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+vt(o(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+vt(o(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+vt(o(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+vt(o(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+vt(o(c,i))+"\n";if("30"==c.substr(i,2)){if("3000"==c.substr(i,4))return n+"SEQUENCE {}\n";v=n+"SEQUENCE\n";var m=e;if((2==(_=a(c,i)).length||3==_.length)&&"06"==c.substr(_[0],2)&&"04"==c.substr(_[_.length-1],2)){g=s.oidname(o(c,_[0]));var b=JSON.parse(JSON.stringify(e));b.x509ExtName=g,m=b}for(var w=0;w<_.length;w++)v+=r(c,m,_[w],n+" ");return v}if("31"==c.substr(i,2)){v=n+"SET\n";var _=a(c,i);for(w=0;w<_.length;w++)v+=r(c,e,_[w],n+" ");return v}var y=parseInt(c.substr(i,2),16);if(0!=(128&y)){var A=31&y;if(0!=(32&y)){var v=n+"["+A+"]\n";for(_=a(c,i),w=0;w<_.length;w++)v+=r(c,e,_[w],n+" ");return v}return"68747470"==(h=o(c,i)).substr(0,8)&&(h=vt(h)),"subjectAltName"===e.x509ExtName&&2==A&&(h=vt(h)),n+"["+A+"] "+h+"\n"}return n+"UNKNOWN("+c.substr(i,2)+") "+o(c,i)+"\n"},dt.isASN1HEX=function(t){var e=dt;if(t.length%2==1)return!1;var i=e.getVblen(t,0),n=t.substr(0,2),s=e.getL(t,0);return t.length-n.length-s.length==2*i},dt.oidname=function(t){var e=ut.asn1;ut.lang.String.isHex(t)&&(t=e.ASN1Util.oidHexToInt(t));var i=e.x509.OID.oid2name(t);return""===i&&(i=t),i},void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.lang&&ut.lang||(ut.lang={}),ut.lang.String=function(){},"function"==typeof t?(e.utf8tob64u=lt=function(e){return bt(new t(e,"utf8").toString("base64"))},e.b64utoutf8=ht=function(e){return new t(wt(e),"base64").toString("utf8")}):(e.utf8tob64u=lt=function(t){return _t(Pt(zt(t)))},e.b64utoutf8=ht=function(t){return decodeURIComponent(Dt(yt(t)))}),ut.lang.String.isInteger=function(t){return!!t.match(/^[0-9]+$/)||!!t.match(/^-[0-9]+$/)},ut.lang.String.isHex=function(t){return!(t.length%2!=0||!t.match(/^[0-9a-f]+$/)&&!t.match(/^[0-9A-F]+$/))},ut.lang.String.isBase64=function(t){return!(!(t=t.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||t.length%4!=0)},ut.lang.String.isBase64URL=function(t){return!t.match(/[+/=]/)&&(t=wt(t),ut.lang.String.isBase64(t))},ut.lang.String.isIntegerArray=function(t){return!!(t=t.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.crypto&&ut.crypto||(ut.crypto={}),ut.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:b.algo.MD5,sha1:b.algo.SHA1,sha224:b.algo.SHA224,sha256:b.algo.SHA256,sha384:b.algo.SHA384,sha512:b.algo.SHA512,ripemd160:b.algo.RIPEMD160},this.getDigestInfoHex=function(t,e){if(void 0===this.DIGESTINFOHEAD[e])throw"alg not supported in Util.DIGESTINFOHEAD: "+e;return this.DIGESTINFOHEAD[e]+t},this.getPaddedDigestInfoHex=function(t,e,i){var n=this.getDigestInfoHex(t,e),s=i/4;if(n.length+22>s)throw"key is too short for SigAlg: keylen="+i+","+e;for(var o="0001",r="00"+n,a="",c=s-o.length-r.length,u=0;u=0)return!1;if(i.compareTo(T.ONE)<0||i.compareTo(s)>=0)return!1;var r=i.modInverse(s),a=t.multiply(r).mod(s),c=e.multiply(r).mod(s);return o.multiply(a).add(n.multiply(c)).getX().toBigInteger().mod(s).equals(e)},this.serializeSig=function(t,e){var i=t.toByteArraySigned(),n=e.toByteArraySigned(),s=[];return s.push(2),s.push(i.length),(s=s.concat(i)).push(2),s.push(n.length),(s=s.concat(n)).unshift(s.length),s.unshift(48),s},this.parseSig=function(t){var e;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[e=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error("Second element in signature must be a DERInteger");var n=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:T.fromByteArrayUnsigned(i),s:T.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var e=t[0]-27;if(e<0||e>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:T.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:T.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=o(t,0,[2,0],"06"),i=o(t,0,[1],"04");try{n=o(t,0,[3,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{o(t,0,[1,0],"06"),e=o(t,0,[1,1],"06"),i=o(t,0,[2,0,1],"04");try{n=o(t,0,[2,0,2,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){var e,i,n=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{s(t,0,[0,0],"06"),e=s(t,0,[0,1],"06"),i=s(t,0,[1],"03").substr(2)}catch(t){throw"malformed PKCS#8 ECC public key"}if(this.curveName=n(e),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(t,e){5!==e&&(e=6);var i,n,s=ut.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=o(t,0,[0,e,0,1],"06"),n=o(t,0,[0,e,1],"03").substr(2)}catch(t){throw"malformed X.509 certificate ECC public key"}if(this.curveName=s(i),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},ut.crypto.ECDSA.parseSigHex=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new T(e.r,16),s:new T(e.s,16)}},ut.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=dt.getChildIdx,i=dt.getV;if("30"!=t.substr(0,2))throw"signature is not a ASN.1 sequence";var n=e(t,0);if(2!=n.length)throw"number of signature ASN.1 sequence elements seem wrong";var s=n[0],o=n[1];if("02"!=t.substr(s,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(o,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,s),s:i(t,o)}},ut.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t),i=e.r,n=e.s;if("00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),i.length%32==30&&(i="00"+i),n.length%32==30&&(n="00"+n),i.length%32!=0)throw"unknown ECDSA sig r length error";if(n.length%32!=0)throw"unknown ECDSA sig s length error";return i+n},ut.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),i=t.substr(t.length/2);return ut.crypto.ECDSA.hexRSSigToASN1Sig(e,i)},ut.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var i=new T(t,16),n=new T(e,16);return ut.crypto.ECDSA.biRSSigToASN1Sig(i,n)},ut.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var i=ut.asn1,n=new i.DERInteger({bigint:t}),s=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,s]}).getEncodedHex()},ut.crypto.ECDSA.getName=function(t){return"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.crypto&&ut.crypto||(ut.crypto={}),ut.crypto.ECParameterDB=new function(){var t={},e={};function i(t){return new T(t,16)}this.getByName=function(i){var n=i;if(void 0!==e[n]&&(n=e[i]),void 0!==t[n])return t[n];throw"unregistered EC curve name: "+n},this.regist=function(n,s,o,r,a,c,u,l,h,d,p,g){t[n]={};var f=i(o),m=i(r),b=i(a),w=i(c),_=i(u),y=new at(f,m,b),A=y.decodePointHex("04"+l+h);t[n].name=n,t[n].keylen=s,t[n].curve=y,t[n].G=A,t[n].n=w,t[n].h=_,t[n].oid=p,t[n].info=g;for(var v=0;v=2*a)break}var h={};return h.keyhex=c.substr(0,2*s[t].keylen),h.ivhex=c.substr(2*s[t].keylen,2*s[t].ivlen),h},a=function(t,e,i,n){var o=b.enc.Base64.parse(t),r=b.enc.Hex.stringify(o);return(0,s[e].proc)(r,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return o(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,i){return r(t,e,i)},decryptKeyB64:function(t,e,i,n){return a(t,e,i,n)},getDecryptedKeyHex:function(t,e){var i=o(t),n=i.cipher,s=i.ivsalt,c=i.data,u=r(n,e,s).keyhex;return a(c,n,u,s)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,o){var a="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===s[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==o&&null!=o||(o=function(t){var e=b.lib.WordArray.random(t);return b.enc.Hex.stringify(e)}(s[n].ivlen).toUpperCase()),a="-----BEGIN "+t+" PRIVATE KEY-----\r\n",a+="Proc-Type: 4,ENCRYPTED\r\n",a+="DEK-Info: "+n+","+o+"\r\n",a+="\r\n",(a+=function(t,e,i,n){return(0,s[e].eproc)(t,i,n)}(e,n,r(n,i,o).keyhex,o).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var i=dt.getChildIdx,n=dt.getV,s={},o=i(e,0);if(2!=o.length)throw"malformed format: SEQUENCE(0).items != 2: "+o.length;s.ciphertext=n(e,o[1]);var r=i(e,o[0]);if(2!=r.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+r.length;if("2a864886f70d01050d"!=n(e,r[0]))throw"this only supports pkcs5PBES2";var a=i(e,r[1]);if(2!=r.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+a.length;var c=i(e,a[1]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+c.length;if("2a864886f70d0307"!=n(e,c[0]))throw"this only supports TripleDES";s.encryptionSchemeAlg="TripleDES",s.encryptionSchemeIV=n(e,c[1]);var u=i(e,a[0]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length;if("2a864886f70d01050c"!=n(e,u[0]))throw"this only supports pkcs5PBKDF2";var l=i(e,u[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;s.pbkdf2Salt=n(e,l[0]);var h=n(e,l[1]);try{s.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return s},getPBKDF2KeyHexFromParam:function(t,e){var i=b.enc.Hex.parse(t.pbkdf2Salt),n=b.PBKDF2(e,i,{keySize:6,iterations:t.pbkdf2Iter});return b.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var i=Rt(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),s=Zt.getPBKDF2KeyHexFromParam(n,e),o={};o.ciphertext=b.enc.Hex.parse(n.ciphertext);var r=b.enc.Hex.parse(s),a=b.enc.Hex.parse(n.encryptionSchemeIV),c=b.TripleDES.decrypt(o,r,{iv:a});return b.enc.Hex.stringify(c)},getKeyFromEncryptedPKCS8PEM:function(t,e){var i=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(i)},parsePlainPrivatePKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var o=i(t,0);if(3!=o.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(o[1],2))throw"malformed PKCS8 private key(code:003)";var r=i(t,o[1]);if(2!=r.length)throw"malformed PKCS8 private key(code:004)";if("06"!=t.substr(r[0],2))throw"malformed PKCS8 private key(code:005)";if(s.algoid=n(t,r[0]),"06"==t.substr(r[1],2)&&(s.algparam=n(t,r[1])),"04"!=t.substr(o[2],2))throw"malformed PKCS8 private key(code:006)";return s.keyidx=e.getVidx(t,o[2]),s},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=Rt(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,i=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==i.algoid)e=new st;else if("2a8648ce380401"==i.algoid)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";e=new ut.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,i=dt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===i)e=new st;else if("2a8648ce380401"===i)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";e=new ut.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=dt.getChildIdx,i=dt.getV,n={};if("30"!=t.substr(0,2))throw"malformed RSA key(code:001)";var s=e(t,0);if(2!=s.length)throw"malformed RSA key(code:002)";if("02"!=t.substr(s[0],2))throw"malformed RSA key(code:003)";if(n.n=i(t,s[0]),"02"!=t.substr(s[1],2))throw"malformed RSA key(code:004)";return n.e=i(t,s[1]),n},parsePublicPKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null},o=i(t,0);if(2!=o.length)throw"outer DERSequence shall have 2 elements: "+o.length;var r=o[0];if("30"!=t.substr(r,2))throw"malformed PKCS8 public key(code:001)";var a=i(t,r);if(2!=a.length)throw"malformed PKCS8 public key(code:002)";if("06"!=t.substr(a[0],2))throw"malformed PKCS8 public key(code:003)";if(s.algoid=n(t,a[0]),"06"==t.substr(a[1],2)?s.algparam=n(t,a[1]):"30"==t.substr(a[1],2)&&(s.algparam={},s.algparam.p=e.getVbyList(t,a[1],[0],"02"),s.algparam.q=e.getVbyList(t,a[1],[1],"02"),s.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(o[1],2))throw"malformed PKCS8 public key(code:004)";return s.key=n(t,o[1]).substr(2),s}}}();Zt.getKey=function(t,e,i){var n,s=(b=dt).getChildIdx,o=b.getVbyList,r=ut.crypto,a=r.ECDSA,c=r.DSA,u=st,l=Rt,h=Zt;if(void 0!==u&&t instanceof u)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==c&&t instanceof c)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new a({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new a({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new u).setPublic(t.n,t.e),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(R=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(R=new u).setPrivate(t.n,t.e,t.d),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(R=new c).setPublic(t.p,t.q,t.g,t.y),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(R=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new u).setPublic(yt(t.n),yt(t.e)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(R=new u).setPrivateEx(yt(t.n),yt(t.e),yt(t.d),yt(t.p),yt(t.q),yt(t.dp),yt(t.dq),yt(t.qi)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(R=new u).setPrivate(yt(t.n),yt(t.e),yt(t.d)),R;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(x=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+yt(t.x)).slice(-d)+("0000000000"+yt(t.y)).slice(-d);return x.setPublicKeyHex(p),x}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(x=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+yt(t.x)).slice(-d)+("0000000000"+yt(t.y)).slice(-d);var g=("0000000000"+yt(t.d)).slice(-d);return x.setPublicKeyHex(p),x.setPrivateKeyHex(g),x}if("pkcs5prv"===i){var f,m=t,b=dt;if(9===(f=s(m,0)).length)(R=new u).readPKCS5PrvKeyHex(m);else if(6===f.length)(R=new c).readPKCS5PrvKeyHex(m);else{if(!(f.length>2&&"04"===m.substr(f[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(R=new a).readPKCS5PrvKeyHex(m)}return R}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return jt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return jt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var w=Rt(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(w)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var _=l(t,"RSA PRIVATE KEY");return h.getKey(_,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var y=o(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),A=o(n,0,[2],"02"),v=o(n,0,[3],"02"),C=o(n,0,[4],"02"),S=o(n,0,[5],"02");return(R=new c).setPrivate(new T(y,16),new T(A,16),new T(v,16),new T(C,16),new T(S,16)),R}if(-1!=t.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var E=h.getDecryptedKeyHex(t,e),k=new st;return k.readPKCS5PrvKeyHex(E),k}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var x,R=o(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),I=o(n,0,[2,0],"06"),O=o(n,0,[3,0],"03").substr(2);if(void 0===ut.crypto.OID.oidhex2name[I])throw"undefined OID(hex) in KJUR.crypto.OID: "+I;return(x=new a({curve:ut.crypto.OID.oidhex2name[I]})).setPublicKeyHex(O),x.setPrivateKeyHex(R),x.isPublic=!1,x}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return y=o(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),A=o(n,0,[2],"02"),v=o(n,0,[3],"02"),C=o(n,0,[4],"02"),S=o(n,0,[5],"02"),(R=new c).setPrivate(new T(y,16),new T(A,16),new T(v,16),new T(C,16),new T(S,16)),R;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Zt.generateKeypair=function(t,e){if("RSA"==t){var i=e;(r=new st).generate(i,"10001"),r.isPrivate=!0,r.isPublic=!0;var n=new st,s=r.n.toString(16),o=r.e.toString(16);return n.setPublic(s,o),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=r,a.pubKeyObj=n,a}if("EC"==t){var r,a,c=e,u=new ut.crypto.ECDSA({curve:c}).generateKeyPairHex();return(r=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),r.setPrivateKeyHex(u.ecprvhex),r.isPrivate=!0,r.isPublic=!1,(n=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=r,a.pubKeyObj=n,a}throw"unknown algorithm: "+t},Zt.getPEM=function(t,e,i,n,s,o){var r=ut.asn1,a=r.DERObjectIdentifier,c=r.DERInteger,u=r.ASN1Util.newObject,l=ut.crypto,h=l.DSA,d=l.ECDSA,p=st;function g(t){return u({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function f(t){return u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function m(t){return u({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==p&&t instanceof p||void 0!==h&&t instanceof h||void 0!==d&&t instanceof d)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return xt(A=new(0,r.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==p&&t instanceof p&&(void 0===i||null==i)&&1==t.isPrivate)return xt(A=g(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var w=new a({name:t.curveName}).getEncodedHex(),_=f(t).getEncodedHex(),y="";return(y+=xt(w,"EC PARAMETERS"))+xt(_,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return xt(A=m(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==p&&t instanceof p&&void 0!==i&&null!=i&&1==t.isPrivate){var A=g(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",A,i,n,o)}if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==i&&null!=i&&1==t.isPrivate)return A=f(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",A,i,n,o);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return A=m(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",A,i,n,o);var v=function(t,e){var i=T(t,e);return new u({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:i.pbkdf2Salt}},{int:i.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:i.encryptionSchemeIV}}]}]}]},{octstr:{hex:i.ciphertext}}]}).getEncodedHex()},T=function(t,e){var i=b.lib.WordArray.random(8),n=b.lib.WordArray.random(8),s=b.PBKDF2(e,i,{keySize:6,iterations:100}),o=b.enc.Hex.parse(t),r=b.TripleDES.encrypt(o,s,{iv:n})+"",a={};return a.ciphertext=r,a.pbkdf2Salt=b.enc.Hex.stringify(i),a.pbkdf2Iter=100,a.encryptionSchemeAlg="DES-EDE3-CBC",a.encryptionSchemeIV=b.enc.Hex.stringify(n),a};if("PKCS8PRV"==e&&null!=p&&t instanceof p&&1==t.isPrivate){var C=g(t).getEncodedHex();return A=u({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===i||null==i?xt(A,"PRIVATE KEY"):xt(_=v(A,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return C=new u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),A=u({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===i||null==i?xt(A,"PRIVATE KEY"):xt(_=v(A,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return C=new c({bigint:t.x}).getEncodedHex(),A=u({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===i||null==i?xt(A,"PRIVATE KEY"):xt(_=v(A,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Zt.getKeyFromCSRPEM=function(t){var e=Rt(t,"CERTIFICATE REQUEST");return Zt.getKeyFromCSRHex(e)},Zt.getKeyFromCSRHex=function(t){var e=Zt.parseCSRHex(t);return Zt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Zt.parseCSRHex=function(t){var e=dt.getChildIdx,i=dt.getTLV,n={},s=t;if("30"!=s.substr(0,2))throw"malformed CSR(code:001)";var o=e(s,0);if(o.length<1)throw"malformed CSR(code:002)";if("30"!=s.substr(o[0],2))throw"malformed CSR(code:003)";var r=e(s,o[0]);if(r.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(s,r[2]),n},Zt.getJWKFromKey=function(t){var e={};if(t instanceof st&&t.isPrivate)return e.kty="RSA",e.n=_t(t.n.toString(16)),e.e=_t(t.e.toString(16)),e.d=_t(t.d.toString(16)),e.p=_t(t.p.toString(16)),e.q=_t(t.q.toString(16)),e.dp=_t(t.dmp1.toString(16)),e.dq=_t(t.dmq1.toString(16)),e.qi=_t(t.coeff.toString(16)),e;if(t instanceof st&&t.isPublic)return e.kty="RSA",e.n=_t(t.n.toString(16)),e.e=_t(t.e.toString(16)),e;if(t instanceof ut.crypto.ECDSA&&t.isPrivate){if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;var i=t.getPublicKeyXYHex();return e.kty="EC",e.crv=n,e.x=_t(i.x),e.y=_t(i.y),e.d=_t(t.prvKeyHex),e}if(t instanceof ut.crypto.ECDSA&&t.isPublic){var n;if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;return i=t.getPublicKeyXYHex(),e.kty="EC",e.crv=n,e.x=_t(i.x),e.y=_t(i.y),e}throw"not supported key object"},st.getPosArrayOfChildrenFromHex=function(t){return dt.getChildIdx(t,0)},st.getHexValueArrayOfChildrenFromHex=function(t){var e,i=dt.getV,n=i(t,(e=st.getPosArrayOfChildrenFromHex(t))[0]),s=i(t,e[1]),o=i(t,e[2]),r=i(t,e[3]),a=i(t,e[4]),c=i(t,e[5]),u=i(t,e[6]),l=i(t,e[7]),h=i(t,e[8]);return(e=new Array).push(n,s,o,r,a,c,u,l,h),e},st.prototype.readPrivateKeyFromPEMString=function(t){var e=Rt(t),i=st.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8])},st.prototype.readPKCS5PrvKeyHex=function(t){var e=st.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},st.prototype.readPKCS8PrvKeyHex=function(t){var e,i,n,s,o,r,a,c,u=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=u(t,0,[2,0,1],"02"),i=u(t,0,[2,0,2],"02"),n=u(t,0,[2,0,3],"02"),s=u(t,0,[2,0,4],"02"),o=u(t,0,[2,0,5],"02"),r=u(t,0,[2,0,6],"02"),a=u(t,0,[2,0,7],"02"),c=u(t,0,[2,0,8],"02")}catch(t){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(e,i,n,s,o,r,a,c)},st.prototype.readPKCS5PubKeyHex=function(t){var e=dt,i=e.getV;if(!1===e.isASN1HEX(t))throw"keyHex is not ASN.1 hex string";var n=e.getChildIdx(t,0);if(2!==n.length||"02"!==t.substr(n[0],2)||"02"!==t.substr(n[1],2))throw"wrong hex for PKCS#5 public key";var s=i(t,n[0]),o=i(t,n[1]);this.setPublic(s,o)},st.prototype.readPKCS8PubKeyHex=function(t){var e=dt;if(!1===e.isASN1HEX(t))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==e.getTLVbyList(t,0,[0,0]))throw"not PKCS8 RSA public key";var i=e.getTLVbyList(t,0,[1,0]);this.readPKCS5PubKeyHex(i)},st.prototype.readCertPubKeyHex=function(t,e){var i,n;(i=new jt).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var Bt=new RegExp("");function qt(t,e){for(var i="",n=e/4-t.length,s=0;s>24,(16711680&s)>>16,(65280&s)>>8,255&s])))),s+=1;return n}function Ht(t){for(var e in ut.crypto.Util.DIGESTINFOHEAD){var i=ut.crypto.Util.DIGESTINFOHEAD[e],n=i.length;if(t.substring(0,n)==i)return[e,t.substring(n)]}return[]}function jt(){var t=dt,e=t.getChildIdx,i=t.getV,n=t.getTLV,s=t.getVbyList,o=t.getTLVbyList,r=t.getIdxbyList,a=t.getVidx,c=t.oidname,u=jt,l=Rt;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==o(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return s(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return c(s(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return o(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return o(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=s(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=s(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return t.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return r(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return r(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return Zt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return c(s(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return s(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmName(),i=this.getSignatureValueHex(),n=o(this.hex,0,[0],"30"),s=new ut.crypto.Signature({alg:e});return s.init(t),s.updateHex(n),s.verify(i)},this.parseExt=function(){if(3!==this.version)return-1;var i=r(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var o=0;o0&&(u=new Array(i),(new et).nextBytes(u),u=String.fromCharCode.apply(String,u));var l=Tt(c(Ct("\0\0\0\0\0\0\0\0"+s+u))),h=[];for(n=0;n>8*a-r&255),n=0;nthis.n.bitLength())return 0;var n=Ht(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var s=n[0];return n[1]==function(t){return ut.crypto.Util.hashString(t,s)}(t)},st.prototype.verifyWithMessageHash=function(t,e){var i=it(e=(e=e.replace(Bt,"")).replace(/[ \n]+/g,""),16);if(i.bitLength()>this.n.bitLength())return 0;var n=Ht(this.doPublic(i).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==t},st.prototype.verifyPSS=function(t,e,i,n){var s=function(t){return ut.crypto.Util.hashHex(t,i)}(Ct(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(s,e,i,n)},st.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var s=new T(e,16);if(s.bitLength()>this.n.bitLength())return!1;var o,r=function(t){return ut.crypto.Util.hashHex(t,i)},a=Tt(t),c=a.length,u=this.n.bitLength()-1,l=Math.ceil(u/8);if(-1===n||void 0===n)n=c;else if(-2===n)n=l-c-2;else if(n<-2)throw"invalid salt length";if(l>8*l-u&255;if(0!=(d.charCodeAt(0)&g))throw"bits beyond keysize not zero";var f=Ut(p,d.length,r),m=[];for(o=0;o0&&-1==(":"+n.join(":")+":").indexOf(":"+m+":"))throw"algorithm '"+m+"' not accepted in the list";if("none"!=m&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Zt.getKey(e)),!("RS"!=d&&"PS"!=d||e instanceof s))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(e instanceof c))throw"key shall be a ECDSA obj for ES* algs";var b=null;if(void 0===o.jwsalg2sigalg[f.alg])throw"unsupported alg name: "+m;if("none"==(b=o.jwsalg2sigalg[m]))throw"not supported";if("Hmac"==b.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var w=new u({alg:b,pass:e});return w.updateString(p),g==w.doFinal()}if(-1!=b.indexOf("withECDSA")){var _,y=null;try{y=c.concatSigToASN1Sig(g)}catch(t){return!1}return(_=new l({alg:b})).init(e),_.updateString(p),_.verify(y)}return(_=new l({alg:b})).init(e),_.updateString(p),_.verify(g)},ut.jws.JWS.parse=function(t){var e,i,n=t.split("."),s={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=n[1],3==n.length&&(i=n[2]),s.headerObj=ut.jws.JWS.readSafeJSONString(ht(n[0])),s.payloadObj=ut.jws.JWS.readSafeJSONString(ht(e)),s.headerPP=JSON.stringify(s.headerObj,null," "),s.payloadPP=null==s.payloadObj?ht(e):JSON.stringify(s.payloadObj,null," "),void 0!==i&&(s.sigHex=yt(i)),s},ut.jws.JWS.verifyJWT=function(t,e,n){var s=ut.jws,o=s.JWS,r=o.readSafeJSONString,a=o.inArray,c=o.includedArray,u=t.split("."),l=u[0],h=u[1],d=(yt(u[2]),r(ht(l))),p=r(ht(h));if(void 0===d.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!a(d.alg,n.alg))return!1;if(void 0!==p.iss&&"object"===i(n.iss)&&!a(p.iss,n.iss))return!1;if(void 0!==p.sub&&"object"===i(n.sub)&&!a(p.sub,n.sub))return!1;if(void 0!==p.aud&&"object"===i(n.aud))if("string"==typeof p.aud){if(!a(p.aud,n.aud))return!1}else if("object"==i(p.aud)&&!c(p.aud,n.aud))return!1;var g=s.IntDate.getNow();return void 0!==n.verifyAt&&"number"==typeof n.verifyAt&&(g=n.verifyAt),void 0!==n.gracePeriod&&"number"==typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==p.exp&&"number"==typeof p.exp&&p.exp+n.gracePeriode.length&&(i=e.length);for(var n=0;n=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function g(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(t).length;default:if(n)return B(t).length;e=(""+e).toLowerCase(),n=!0}}function f(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function m(t,e,i,n,s){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=s?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(s)return-1;i=t.length-1}else if(i<0){if(!s)return-1;i=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:b(t,e,i,n,s);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):b(t,[e],i,n,s);throw new TypeError("val must be string, number or Buffer")}function b(t,e,i,n,s){var o,r=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;r=2,a/=2,c/=2,i/=2}function u(t,e){return 1===r?t[e]:t.readUInt16BE(e*r)}if(s){var l=-1;for(o=i;oa&&(i=a-c),o=i;o>=0;o--){for(var h=!0,d=0;ds&&(n=s):n=s;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var r=0;r>8,s.push(i%256),s.push(n);return s}(e,t.length-i),t,i,n)}function C(t,e,i){return n.fromByteArray(0===e&&i===t.length?t:t.slice(e,i))}function S(t,e,i){i=Math.min(t.length,i);for(var n=[],s=e;s239?4:u>223?3:u>191?2:1;if(s+h<=i)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(o=t[s+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:r=t[s+2],128==(192&(o=t[s+1]))&&128==(192&r)&&(c=(15&u)<<12|(63&o)<<6|63&r)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:r=t[s+2],a=t[s+3],128==(192&(o=t[s+1]))&&128==(192&r)&&128==(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&r)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),s+=h}return function(t){var e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);for(var i="",n=0;nthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,i);case"utf8":case"utf-8":return S(this,e,i);case"ascii":return k(this,e,i);case"latin1":case"binary":return x(this,e,i);case"base64":return C(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}).apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},c.prototype.compare=function(t,e,i,n,s){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),e<0||i>t.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&e>=i)return 0;if(n>=s)return-1;if(e>=i)return 1;if(this===t)return 0;for(var o=(s>>>=0)-(n>>>=0),r=(i>>>=0)-(e>>>=0),a=Math.min(o,r),u=this.slice(n,s),l=t.slice(e,i),h=0;hs)&&(i=s),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,t,e,i);case"utf8":case"utf-8":return _(this,t,e,i);case"ascii":return y(this,t,e,i);case"latin1":case"binary":return A(this,t,e,i);case"base64":return v(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function k(t,e,i){var n="";i=Math.min(t.length,i);for(var s=e;sn)&&(i=n);for(var s="",o=e;oi)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,i,n,s,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}function D(t,e,i,n){e<0&&(e=65535+e+1);for(var s=0,o=Math.min(t.length-i,2);s>>8*(n?s:1-s)}function M(t,e,i,n){e<0&&(e=4294967295+e+1);for(var s=0,o=Math.min(t.length-i,4);s>>8*(n?s:3-s)&255}function L(t,e,i,n,s,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,n,o){return o||L(t,0,i,4),s.write(t,e,i,n,23,4),i+4}function z(t,e,i,n,o){return o||L(t,0,i,8),s.write(t,e,i,n,52,8),i+8}c.prototype.slice=function(t,e){var i,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(s*=256);)n+=this[t+--e]*s;return n},c.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||O(t,e,this.length);for(var n=this[t],s=1,o=0;++o=(s*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||O(t,e,this.length);for(var n=e,s=1,o=this[t+--n];n>0&&(s*=256);)o+=this[t+--n]*s;return o>=(s*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),s.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),s.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),s.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),s.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||P(this,t,e,i,Math.pow(2,8*i)-1,0);var s=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+s]=t/o&255;return e+i},c.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);P(this,t,e,i,s-1,-s)}var o=0,r=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+i},c.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);P(this,t,e,i,s-1,-s)}var o=i-1,r=1,a=0;for(this[e+o]=255&t;--o>=0&&(r*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/r>>0)-a&255;return e+i},c.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},c.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},c.prototype.writeDoubleLE=function(t,e,i){return z(this,t,e,!0,i)},c.prototype.writeDoubleBE=function(t,e,i){return z(this,t,e,!1,i)},c.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--s)t[s+e]=this[s+i];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(s=0;s>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&i<57344){if(!s){if(i>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(r+1===n){(e-=3)>-1&&o.push(239,191,189);continue}s=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),s=i;continue}i=65536+(s-55296<<10|i-56320)}else s&&(e-=3)>-1&&o.push(239,191,189);if(s=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,i,n){for(var s=0;s=e.length||s>=t.length);++s)e[s+i]=t[s];return s}}).call(this,i(28))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";e.byteLength=function(t){var e=u(t),i=e[1];return 3*(e[0]+i)/4-i},e.toByteArray=function(t){for(var e,i=u(t),n=i[0],r=i[1],a=new o(function(t,e,i){return 3*(e+i)/4-i}(0,n,r)),c=0,l=r>0?n-4:n,h=0;h>16&255,a[c++]=e>>8&255,a[c++]=255&e;return 2===r&&(e=s[t.charCodeAt(h)]<<2|s[t.charCodeAt(h+1)]>>4,a[c++]=255&e),1===r&&(e=s[t.charCodeAt(h)]<<10|s[t.charCodeAt(h+1)]<<4|s[t.charCodeAt(h+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e),a},e.fromByteArray=function(t){for(var e,i=t.length,s=i%3,o=[],r=0,a=i-s;ra?a:r+16383));return 1===s?o.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===s&&o.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],s=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=r.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var s,o=[],r=e;r>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return o.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,s){var o,r,a=8*s-n-1,c=(1<>1,l=-7,h=i?s-1:0,d=i?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+t[e+h],h+=d,l-=8);for(r=o&(1<<-l)-1,o>>=-l,l+=n;l>0;r=256*r+t[e+h],h+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return r?NaN:1/0*(p?-1:1);r+=Math.pow(2,n),o-=u}return(p?-1:1)*r*Math.pow(2,o-n)},e.write=function(t,e,i,n,s,o){var r,a,c,u=8*o-s-1,l=(1<>1,d=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,g=n?1:-1,f=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,r=l):(r=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-r))<1&&(r--,c*=2),(e+=r+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(r++,c/=2),r+h>=l?(a=0,r=l):r+h>=1?(a=(e*c-1)*Math.pow(2,s),r+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,s),r=0));s>=8;t[i+p]=255&a,p+=g,a/=256,s-=8);for(r=r<0;t[i+p]=255&r,p+=g,r/=256,u-=8);t[i+p-g]|=128*f}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.jws,i=t.KeyUtil,s=t.X509,o=t.crypto,r=t.hextob64u,a=t.b64tohex,c=t.AllowedSigningAlgs;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.parseJwt=function t(i){n.Log.debug("JoseUtil.parseJwt");try{var s=e.JWS.parse(i);return{header:s.headerObj,payload:s.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,o,r,c,u,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===o.kty)if(o.e&&o.n)o=i.getKey(o);else{if(!o.x5c||!o.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",o),Promise.reject(new Error("RSA key missing key material"));var d=a(o.x5c[0]);o=s.getPublicKeyFromCertHex(d)}else{if("EC"!==o.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",o&&o.kty),Promise.reject(new Error(o.kty));if(!(o.crv&&o.x&&o.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",o),Promise.reject(new Error("EC key missing key material"));o=i.getKey(o)}return t._validateJwt(e,o,r,c,u,l,h)}catch(t){return n.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,i,s,o,r,a){o||(o=0),r||(r=parseInt(Date.now()/1e3));var c=t.parseJwt(e).payload;if(!c.iss)return n.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(c.iss!==i)return n.Log.error("JoseUtil._validateJwt: Invalid issuer in token",c.iss),Promise.reject(new Error("Invalid issuer in token: "+c.iss));if(!c.aud)return n.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(c.aud===s||Array.isArray(c.aud)&&c.aud.indexOf(s)>=0))return n.Log.error("JoseUtil._validateJwt: Invalid audience in token",c.aud),Promise.reject(new Error("Invalid audience in token: "+c.aud));if(c.azp&&c.azp!==s)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",c.azp),Promise.reject(new Error("Invalid azp in token: "+c.azp));if(!a){var u=r+o,l=r-o;if(!c.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(u>>((3&e)<<3)&255;return s}}},function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"#";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=s.UrlUtility.parseUrlFragment(e,i);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutRequest=void 0;var n=i(0),s=i(3),o=i(8);e.SignoutRequest=function t(e){var i=e.url,r=e.id_token_hint,a=e.post_logout_redirect_uri,c=e.data,u=e.extraQueryParams,l=e.request_type;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in r&&(i=s.UrlUtility.addQueryParam(i,"id_token_hint",r)),a&&(i=s.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",a),c&&(this.state=new o.State({data:c,request_type:l}),i=s.UrlUtility.addQueryParam(i,"state",this.state.id))),u)i=s.UrlUtility.addQueryParam(i,h,u[h]);this.url=i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var n=i(3);e.SignoutResponse=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var i=n.UrlUtility.parseUrlFragment(e,"?");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryWebStorage=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:p.JoseUtil;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i instanceof r.UserManagerSettings||(i=new r.UserManagerSettings(i));var m=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return m._events=new c.UserManagerEvents(i),m._silentRenewService=new n(m),m.settings.automaticSilentRenew&&(s.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),m.startSilentRenew()),m.settings.monitorSession&&(s.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),m._sessionMonitor=new o(m)),m._tokenRevocationClient=new a(m._settings),m._tokenClient=new g(m._settings),m._joseUtil=f,m}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function(){var t=this;return this._loadUser().then(function(e){return e?(s.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(s.Log.info("UserManager.getUser: user not found in storage"),null)})},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then(function(){s.Log.info("UserManager.removeUser: user removed from storage"),t._events.unload()})},e.prototype.signinRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:r";var e={useReplaceToNavigate:t.useReplaceToNavigate};return this._signinStart(t,this._redirectNavigator,e).then(function(){s.Log.info("UserManager.signinRedirect: successful")})},e.prototype.signinRedirectCallback=function(t){return this._signinEnd(t||this._redirectNavigator.url).then(function(t){return t.profile&&t.profile.sub?s.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinRedirectCallback: no sub"),t})},e.prototype.signinPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:p";var e=t.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.display="popup",this._signin(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopup: no sub")),t})):(s.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},e.prototype.signinPopupCallback=function(t){return this._signinCallback(t,this._popupNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopupCallback: no sub")),t}).catch(function(t){s.Log.error(t.message)})},e.prototype.signinSilent=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).request_type="si:s",this._loadUser().then(function(i){return i&&i.refresh_token?(e.refresh_token=i.refresh_token,t._useRefreshToken(e)):(e.id_token_hint=e.id_token_hint||t.settings.includeIdTokenInSilentRenew&&i&&i.id_token,i&&t._settings.validateSubOnSilentRenew&&(s.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",i.profile.sub),e.current_sub=i.profile.sub),t._signinSilentIframe(e))})},e.prototype._useRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(e).then(function(e){return e?e.access_token?t._loadUser().then(function(i){if(i){var n=Promise.resolve();return e.id_token&&(n=t._validateIdTokenFromTokenRefreshToken(i.profile,e.id_token)),n.then(function(){return s.Log.debug("UserManager._useRefreshToken: refresh token response success"),i.id_token=e.id_token,i.access_token=e.access_token,i.refresh_token=e.refresh_token||i.refresh_token,i.expires_in=e.expires_in,t.storeUser(i).then(function(){return t._events.load(i),i})})}return null}):(s.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(s.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},e.prototype._validateIdTokenFromTokenRefreshToken=function(t,e){var i=this;return this._metadataService.getIssuer().then(function(n){return i._joseUtil.validateJwtAttributes(e,n,i._settings.client_id,i._settings.clockSkew).then(function(e){return e?e.sub!==t.sub?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):e.auth_time&&e.auth_time!==t.auth_time?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):e.azp&&e.azp!==t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!e.azp&&t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})},e.prototype._signinSilentIframe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.prompt=t.prompt||"none",this._signin(t,this._iframeNavigator,{startUrl:e,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilent: no sub")),t})):(s.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype.signinSilentCallback=function(t){return this._signinCallback(t,this._iframeNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilentCallback: no sub")),t})},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then(function(i){var n=i.state;return"si:r"===n.request_type?e.signinRedirectCallback(t):"si:p"===n.request_type?e.signinPopupCallback(t):"si:s"===n.request_type?e.signinSilentCallback(t):Promise.reject(new Error("invalid response_type in state"))})},e.prototype.signoutCallback=function(t,e){var i=this;return this.readSignoutResponseState(t).then(function(n){var s=n.state,o=n.response;return s?"so:r"===s.request_type?i.signoutRedirectCallback(t):"so:p"===s.request_type?i.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):o})},e.prototype.querySessionStatus=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:s";var i=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return i?(e.redirect_uri=i,e.prompt="none",e.response_type=e.response_type||this.settings.query_status_response_type,e.scope=e.scope||"openid",e.skipUserInfo=!0,this._signinStart(e,this._iframeNavigator,{startUrl:i,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(e){return t.processSigninResponse(e.url).then(function(t){if(s.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};s.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(e){if(e.session_state&&t.settings.monitorAnonymousSession&&("login_required"==e.message||"consent_required"==e.message||"interaction_required"==e.message||"account_selection_required"==e.message))return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e})})):(s.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype._signin=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,n).then(function(e){return i._signinEnd(e.url,t)})},e.prototype._signinStart=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(n).then(function(e){return s.Log.debug("UserManager._signinStart: got navigator window handle"),i.createSigninRequest(t).then(function(t){return s.Log.debug("UserManager._signinStart: got signin request"),n.url=t.url,n.id=t.state.id,e.navigate(n)}).catch(function(t){throw e.close&&(s.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),e.close()),t})})},e.prototype._signinEnd=function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(t).then(function(t){s.Log.debug("UserManager._signinEnd: got signin response");var n=new a.User(t);if(i.current_sub){if(i.current_sub!==n.profile.sub)return s.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",n.profile.sub),Promise.reject(new Error("login_required"));s.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(n).then(function(){return s.Log.debug("UserManager._signinEnd: user stored"),e._events.load(n),n})})},e.prototype._signinCallback=function(t,e){return s.Log.debug("UserManager._signinCallback"),e.callback(t)},e.prototype.signoutRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:r";var e=t.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;e&&(t.post_logout_redirect_uri=e);var i={useReplaceToNavigate:t.useReplaceToNavigate};return this._signoutStart(t,this._redirectNavigator,i).then(function(){s.Log.info("UserManager.signoutRedirect: successful")})},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then(function(t){return s.Log.info("UserManager.signoutRedirectCallback: successful"),t})},e.prototype.signoutPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:p";var e=t.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return t.post_logout_redirect_uri=e,t.display="popup",t.post_logout_redirect_uri&&(t.state=t.state||{}),this._signout(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){s.Log.info("UserManager.signoutPopup: successful")})},e.prototype.signoutPopupCallback=function(t,e){return void 0===e&&"boolean"==typeof t&&(e=t,t=null),this._popupNavigator.callback(t,e,"?").then(function(){s.Log.info("UserManager.signoutPopupCallback: successful")})},e.prototype._signout=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,n).then(function(t){return i._signoutEnd(t.url)})},e.prototype._signoutStart=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,i=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.prepare(n).then(function(i){return s.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then(function(o){return s.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(o):Promise.resolve()).then(function(){var r=t.id_token_hint||o&&o.id_token;return r&&(s.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=r),e.removeUser().then(function(){return s.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then(function(t){return s.Log.debug("UserManager._signoutStart: got signout request"),n.url=t.url,t.state&&(n.id=t.state.id),i.navigate(n)})})})}).catch(function(t){throw i.close&&(s.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),i.close()),t})})},e.prototype._signoutEnd=function(t){return this.processSignoutResponse(t).then(function(t){return s.Log.debug("UserManager._signoutEnd: got signout response"),t})},e.prototype.revokeAccessToken=function(){var t=this;return this._loadUser().then(function(e){return t._revokeInternal(e,!0).then(function(i){if(i)return s.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),e.access_token=null,e.refresh_token=null,e.expires_at=null,e.token_type=null,t.storeUser(e).then(function(){s.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)})})}).then(function(){s.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},e.prototype._revokeInternal=function(t,e){var i=this;if(t){var n=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then(function(t){return i._revokeRefreshTokenInternal(n,e).then(function(e){return t||e||s.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),t||e})})}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function(t,e){return!t||t.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(t,e).then(function(){return!0})},e.prototype._revokeRefreshTokenInternal=function(t,e){return t?this._tokenRevocationClient.revoke(t,e,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},e.prototype.startSilentRenew=function(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},e.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(t){return t?(s.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(t)):(s.Log.debug("UserManager._loadUser: no user storageString"),null)})},e.prototype.storeUser=function(t){if(t){s.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return s.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},n(e,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),e}(o.OidcClient)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.popup_redirect_uri,s=i.popup_post_logout_redirect_uri,h=i.popupWindowFeatures,d=i.popupWindowTarget,p=i.silent_redirect_uri,g=i.silentRequestTimeout,f=i.automaticSilentRenew,m=void 0!==f&&f,b=i.validateSubOnSilentRenew,w=void 0!==b&&b,_=i.includeIdTokenInSilentRenew,y=void 0===_||_,A=i.monitorSession,v=void 0===A||A,T=i.monitorAnonymousSession,C=void 0!==T&&T,S=i.checkSessionInterval,E=void 0===S?2e3:S,k=i.stopCheckSessionOnError,x=void 0===k||k,R=i.query_status_response_type,I=i.revokeAccessTokenOnSignout,O=void 0!==I&&I,P=i.accessTokenExpiringNotificationTime,D=void 0===P?60:P,M=i.redirectNavigator,L=void 0===M?new o.RedirectNavigator:M,N=i.popupNavigator,z=void 0===N?new r.PopupNavigator:N,F=i.iframeNavigator,Z=void 0===F?new a.IFrameNavigator:F,B=i.userStore,q=void 0===B?new c.WebStorageStateStore({store:u.Global.sessionStorage}):B;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var U=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));return U._popup_redirect_uri=n,U._popup_post_logout_redirect_uri=s,U._popupWindowFeatures=h,U._popupWindowTarget=d,U._silent_redirect_uri=p,U._silentRequestTimeout=g,U._automaticSilentRenew=m,U._validateSubOnSilentRenew=w,U._includeIdTokenInSilentRenew=y,U._accessTokenExpiringNotificationTime=D,U._monitorSession=v,U._monitorAnonymousSession=C,U._checkSessionInterval=E,U._stopCheckSessionOnError=x,U._query_status_response_type=R||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),U._revokeAccessTokenOnSignout=O,U._redirectNavigator=L,U._popupNavigator=z,U._iframeNavigator=Z,U._userStore=q,U}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),e}(s.OidcClientSettings)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1])||arguments[1];n.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),i&&this._userLoaded.raise(e)},e.prototype.unload=function(){n.Log.debug("UserManagerEvents.unload"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function(t){this._userLoaded.addHandler(t)},e.prototype.removeUserLoaded=function(t){this._userLoaded.removeHandler(t)},e.prototype.addUserUnloaded=function(t){this._userUnloaded.addHandler(t)},e.prototype.removeUserUnloaded=function(t){this._userUnloaded.removeHandler(t)},e.prototype.addSilentRenewError=function(t){this._silentRenewError.addHandler(t)},e.prototype.removeSilentRenewError=function(t){this._silentRenewError.removeHandler(t)},e.prototype._raiseSilentRenewError=function(t){n.Log.debug("UserManagerEvents._raiseSilentRenewError",t.message),this._silentRenewError.raise(t)},e.prototype.addUserSignedIn=function(t){this._userSignedIn.addHandler(t)},e.prototype.removeUserSignedIn=function(t){this._userSignedIn.removeHandler(t)},e.prototype._raiseUserSignedIn=function(){n.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function(t){this._userSignedOut.addHandler(t)},e.prototype.removeUserSignedOut=function(t){this._userSignedOut.removeHandler(t)},e.prototype._raiseUserSignedOut=function(){n.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function(t){this._userSessionChanged.addHandler(t)},e.prototype.removeUserSessionChanged=function(t){this._userSessionChanged.removeHandler(t)},e.prototype._raiseUserSessionChanged=function(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(s.AccessTokenEvents)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return r._timer=n,r._nowFunc=s||function(){return Date.now()/1e3},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function(t){t<=0&&(t=1),t=parseInt(t);var e=this.now+t;if(this.expiration===e&&this._timerHandle)s.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),s.Log.debug("Timer.init timer "+this._name+" for duration:",t),this._expiration=e;var i=5;t0&&c>a&&(c=a);for(var u=0;u=0?(l=g.substr(0,f),h=g.substr(f+1)):(l=g,h=""),d=decodeURIComponent(l),p=decodeURIComponent(h),e(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},15341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var o=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return o+encodeURIComponent(e(t))}).join(i):o+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},96577:function(t,e,i){"use strict";i(40963),e.stringify=i(15341)},78512:function(t,e,i){"use strict";i.d(e,{X:function(){return o}});var n=i(55959),s=i(13895);class o extends n.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},99867:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(96673);class s extends n.L{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},3103:function(t,e,i){"use strict";i.d(e,{P:function(){return r}});var n=i(70653),s=i(40878),o=i(31225);let r=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},48318:function(t,e,i){"use strict";i.d(e,{y:function(){return u}});var n=i(96673),s=i(55331),o=i(57498),r=i(56197),a=i(13392),c=i(51484);let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:r}=this,a=function(t,e,i){if(t){if(t instanceof n.L)return t;if(t[s.b])return t[s.b]()}return t||e||i?new n.L(t,e,i):new n.L(o.c)}(t,e,i);if(a.add(r?r.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:s}=t;if(e||s)return!1;t=i&&i instanceof n.L?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=l(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[r.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=l(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function l(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},57498:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(51484),s=i(14294);const o={closed:!0,next(t){},error(t){if(n.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},59829:function(t,e,i){"use strict";i.d(e,{L:function(){return s}});var n=i(96673);class s extends n.L{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},66994:function(t,e,i){"use strict";i.d(e,{t:function(){return m}});var n=i(55959),s=i(8277);class o extends s.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}var r=i(91098);class a extends r.v{}const c=new a(o);var u=i(87570),l=i(96673),h=i(3103);class d extends l.L{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(h.P.createNext(t))}_error(t){this.scheduleMessage(h.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var g=i(13895),f=i(19291);class m extends n.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let o;if(this.closed)throw new g.N;if(this.isStopped||this.hasError?o=u.w.EMPTY:(this.observers.push(t),o=new f.W(this,t)),n&&t.add(t=new d(t,n)),e)for(let r=0;re&&(o=Math.max(o,s-e)),o>0&&n.splice(0,o),n}}class b{constructor(t,e){this.time=t,this.value=e}}},55959:function(t,e,i){"use strict";i.d(e,{Yc:function(){return u},xQ:function(){return l}});var n=i(48318),s=i(96673),o=i(87570),r=i(13895),a=i(19291),c=i(55331);class u extends s.L{constructor(t){super(t),this.destination=t}}let l=(()=>{class t extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.b](){return new u(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new r.N;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew h(t,e),t})();class h extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):o.w.EMPTY}}},19291:function(t,e,i){"use strict";i.d(e,{W:function(){return s}});var n=i(87570);class s extends n.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}},96673:function(t,e,i){"use strict";i.d(e,{L:function(){return u}});var n=i(85024),s=i(57498),o=i(87570),r=i(55331),a=i(51484),c=i(14294);class u extends o.w{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,e,i)}}[r.b](){return this}static create(t,e,i){const n=new u(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class l extends u{constructor(t,e,i,o){let r;super(),this._parentSubscriber=t;let a=this;(0,n.m)(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==s.c&&(a=Object.create(e),(0,n.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=a.v;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;(0,c.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw i;(0,c.z)(i)}}__tryOrSetError(t,e,i){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):((0,c.z)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},87570:function(t,e,i){"use strict";i.d(e,{w:function(){return a}});var n=i(98470),s=i(82056),o=i(85024);const r=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:a,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof r?e.errors:e),[])}},51484:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},42875:function(t,e,i){"use strict";i.d(e,{c:function(){return a},N:function(){return c}});var n=i(55959),s=i(48318),o=i(87570),r=i(21564);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.w,t.add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,r.x)()(this)}}const c=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class u extends n.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},31305:function(t,e,i){"use strict";i.d(e,{aj:function(){return u}});var n=i(76163),s=i(98470),o=i(59829),r=i(6268),a=i(99342);const c={};function u(...t){let e=null,i=null;return(0,n.K)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,a.n)(t,i).lift(new l(e))}class l{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{let i;try{i=t()}catch(n){return void e.error(n)}return(i?(0,s.D)(i):(0,o.c)()).subscribe(e)})}},70653:function(t,e,i){"use strict";i.d(e,{E:function(){return s},c:function(){return o}});var n=i(48318);const s=new n.y(t=>t.complete());function o(t){return t?function(t){return new n.y(e=>t.schedule(()=>e.complete()))}(t):s}},3148:function(t,e,i){"use strict";i.d(e,{D:function(){return c}});var n=i(48318),s=i(98470),o=i(79996),r=i(82056),a=i(19764);function c(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return u(e,null);if((0,r.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,o.U)(t=>e(...t)))}return u(t,null)}function u(t,e){return new n.y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let o=0,r=0;for(let c=0;c{l||(l=!0,r++),s[c]=t},error:t=>i.error(t),complete:()=>{o++,o!==n&&l||(r===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}},19764:function(t,e,i){"use strict";i.d(e,{D:function(){return h}});var n=i(48318),s=i(16015),o=i(87570),r=i(56197),a=i(62570),c=i(25686),u=i(5168),l=i(59653);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>{const s=t[r.L]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if((0,u.t)(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if((0,l.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[c.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.y(i=>{const n=new o.w;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[c.hZ](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof n.y?t:new n.y((0,s.s)(t))}},99342:function(t,e,i){"use strict";i.d(e,{n:function(){return r}});var n=i(48318),s=i(30625),o=i(62570);function r(t,e){return e?(0,o.r)(t,e):new n.y((0,s.V)(t))}},87254:function(t,e,i){"use strict";i.d(e,{R:function(){return a}});var n=i(48318),s=i(98470),o=i(85024),r=i(79996);function a(t,e,i,u){return(0,o.m)(i)&&(u=i,i=void 0),u?a(t,e,i).pipe((0,r.U)(t=>(0,s.k)(t)?u(...t):u(t))):new n.y(n=>{c(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function c(t,e,i,n,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),o=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),o=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),o=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,r=t.length;o(i.add(e.schedule(a,t,{subscriber:i,counter:0,period:t})),i))}function a(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}},31906:function(t,e,i){"use strict";i.d(e,{T:function(){return a}});var n=i(48318),s=i(76163),o=i(97471),r=i(99342);function a(...t){let e=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return(0,s.K)(a)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof n.y?t[0]:(0,o.J)(e)((0,r.n)(t,i))}},40878:function(t,e,i){"use strict";i.d(e,{of:function(){return r}});var n=i(76163),s=i(99342),o=i(62570);function r(...t){let e=t[t.length-1];return(0,n.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,s.n)(t)}},31225:function(t,e,i){"use strict";i.d(e,{_:function(){return s}});var n=i(48318);function s(t,e){return new n.y(e?i=>e.schedule(o,0,{error:t,subscriber:i}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},81110:function(t,e,i){"use strict";i.d(e,{H:function(){return a}});var n=i(48318),s=i(48569),o=i(62293),r=i(76163);function a(t=0,e,i){let a=-1;return(0,o.k)(e)?a=Number(e)<1?1:Number(e):(0,r.K)(e)&&(i=e),(0,r.K)(i)||(i=s.P),new n.y(e=>{const n=(0,o.k)(t)?t:+t-i.now();return i.schedule(c,n,{index:0,period:a,subscriber:e})})}function c(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}},30810:function(t,e,i){"use strict";i.d(e,{e:function(){return u}});var n=i(48569),s=i(59829),o=i(6268);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new a(t,this.durationSelector))}}class a extends s.L{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=(0,o.D)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var c=i(81110);function u(t,e=n.P){return i=()=>(0,c.H)(t,e),function(t){return t.lift(new r(i))};var i}},47727:function(t,e,i){"use strict";i.d(e,{K:function(){return r}});var n=i(59829),s=i(99867),o=i(6268);function r(t){return function(e){const i=new a(t),n=e.lift(i);return i.caught=n}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}class c extends n.L{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new s.d(this,void 0,void 0);this.add(n);const r=(0,o.D)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}},436:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(73982);function s(t,e){return(0,n.zg)(t,e,1)}},47701:function(t,e,i){"use strict";i.d(e,{b:function(){return o}});var n=i(96673),s=i(48569);function o(t,e=s.P){return i=>i.lift(new r(t,e))}class r{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends n.L{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},7768:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(96673);function s(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new r(t,this.defaultValue))}}class r extends n.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},82628:function(t,e,i){"use strict";i.d(e,{g:function(){return r}});var n=i(48569),s=i(96673),o=i(3103);function r(t,e=n.P){var i;const s=(i=t)instanceof Date&&!isNaN(+i)?+t-e.now():Math.abs(t);return t=>t.lift(new a(s,e))}class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))}}class c extends s.L{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new u(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},98720:function(t,e,i){"use strict";i.d(e,{x:function(){return s}});var n=i(96673);function s(t,e){return i=>i.lift(new o(t,e))}class o{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new r(t,this.compare,this.keySelector))}}class r extends n.L{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}},43835:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(96673);function s(t,e){return function(i){return i.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.predicate,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}},11520:function(t,e,i){"use strict";i.d(e,{x:function(){return o}});var n=i(96673),s=i(87570);function o(t){return e=>e.lift(new r(t))}class r{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends n.L{constructor(t,e){super(t),this.add(new s.w(e))}}},3530:function(t,e,i){"use strict";i.d(e,{P:function(){return u}});var n=i(39665),s=i(43835),o=i(90611),r=i(7768),a=i(90790),c=i(13392);function u(t,e){const i=arguments.length>=2;return u=>u.pipe(t?(0,s.h)((e,i)=>t(e,i,u)):c.y,(0,o.q)(1),i?(0,r.d)(e):(0,a.T)(()=>new n.K))}},79996:function(t,e,i){"use strict";i.d(e,{U:function(){return s}});var n=i(96673);function s(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new o(t,e))}}class o{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.project,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}},88414:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(96673);function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.value=t}call(t,e){return e.subscribe(new r(t,this.value))}}class r extends n.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},97471:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(73982),s=i(13392);function o(t=Number.POSITIVE_INFINITY){return(0,n.zg)(s.y,t)}},73982:function(t,e,i){"use strict";i.d(e,{zg:function(){return c}});var n=i(6268),s=i(59829),o=i(99867),r=i(79996),a=i(19764);function c(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new u(t,i)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.L{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},21564:function(t,e,i){"use strict";i.d(e,{x:function(){return s}});var n=i(96673);function s(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new r(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class r extends n.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}},1055:function(t,e,i){"use strict";i.d(e,{B:function(){return a}});var n=i(42875),s=i(21564),o=i(55959);function r(){return new o.xQ}function a(){return t=>{return(0,s.x)()((e=r,function(t){let i;i="function"==typeof e?e:function(){return e};const s=Object.create(t,n.N);return s.source=t,s.subjectFactory=i,s})(t));var e}}},68303:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(66994);function s(t,e,i){let s;return s=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:s}){let o,r,a=0,c=!1,u=!1;return function(l){a++,o&&!c||(c=!1,o=new n.t(t,e,s),r=l.subscribe({next(t){o.next(t)},error(t){c=!0,o.error(t)},complete(){u=!0,r=void 0,o.complete()}}));const h=o.subscribe(this);this.add(()=>{a--,h.unsubscribe(),r&&!u&&i&&0===a&&(r.unsubscribe(),r=void 0,o=void 0)})}}(s))}},56238:function(t,e,i){"use strict";i.d(e,{O:function(){return o}});var n=i(47930),s=i(76163);function o(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),i=>(0,n.z)(t,i,e)):e=>(0,n.z)(t,e)}},44689:function(t,e,i){"use strict";i.d(e,{w:function(){return c}});var n=i(59829),s=i(99867),o=i(6268),r=i(79996),a=i(19764);function c(t,e){return"function"==typeof e?i=>i.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))))):e=>e.lift(new u(t))}class u{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends n.L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new s.d(this,e,i),a=this.destination;a.add(r),this.innerSubscription=(0,o.D)(this,t,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}},90611:function(t,e,i){"use strict";i.d(e,{q:function(){return r}});var n=i(96673),s=i(98402),o=i(70653);function r(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends n.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}},25416:function(t,e,i){"use strict";i.d(e,{R:function(){return o}});var n=i(59829),s=i(6268);function o(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const i=new a(t),n=(0,s.D)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class a extends n.L{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},66599:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(96673);function s(){}var o=i(85024);function r(t,e,i){return function(n){return n.lift(new a(t,e,i))}}class a{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends n.L{constructor(t,e,i,n){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=i||s,this._tapComplete=n||s,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},90790:function(t,e,i){"use strict";i.d(e,{T:function(){return o}});var n=i(39665),s=i(96673);function o(t=c){return e=>e.lift(new r(t))}class r{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new n.K}},62570:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(48318),s=i(87570);function o(t,e){return new n.y(i=>{const n=new s.w;let o=0;return n.add(e.schedule(function(){o!==t.length?(i.next(t[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:function(t,e,i){"use strict";i.d(e,{o:function(){return o}});var n=i(87570);class s extends n.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},91098:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class s extends n{constructor(t,e=n.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}},91741:function(t,e,i){"use strict";i.d(e,{r:function(){return a}});var n=i(8277);class s extends n.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var o=i(91098);class r extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),o={};function r(t){return t in o&&(delete o[t],!0)}const a={setImmediate(t){const e=n++;return o[e]=!0,s.then(()=>r(e)&&t()),e},clearImmediate(t){r(t)}};var c=i(8277);class u extends c.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var l=i(91098);class h extends l.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++n"function"==typeof Symbol&&Symbol.observable||"@@observable")()},55331:function(t,e,i){"use strict";i.d(e,{b:function(){return n}});const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},98402:function(t,e,i){"use strict";i.d(e,{W:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},39665:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},13895:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},14294:function(t,e,i){"use strict";function n(t){setTimeout(()=>{throw t},0)}i.d(e,{z:function(){return n}})},13392:function(t,e,i){"use strict";function n(t){return t}i.d(e,{y:function(){return n}})},98470:function(t,e,i){"use strict";i.d(e,{k:function(){return n}});const n=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},59653:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});const n=t=>t&&"number"==typeof t.length&&"function"!=typeof t},85024:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.d(e,{m:function(){return n}})},62293:function(t,e,i){"use strict";i.d(e,{k:function(){return s}});var n=i(98470);function s(t){return!(0,n.k)(t)&&t-parseFloat(t)+1>=0}},82056:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,{K:function(){return n}})},4710:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(48318);function s(t){return!!t&&(t instanceof n.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},5168:function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,{t:function(){return n}})},76163:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,{K:function(){return n}})},16015:function(t,e,i){"use strict";i.d(e,{s:function(){return l}});var n=i(30625),s=i(14294),o=i(25686),r=i(56197),a=i(59653),c=i(5168),u=i(82056);const l=t=>{if(t&&"function"==typeof t[r.L])return l=t,t=>{const e=l[r.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,n.V)(t);if((0,c.t)(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[o.hZ])return e=t,t=>{const i=e[o.hZ]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=(0,u.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i,l}},30625:function(t,e,i){"use strict";i.d(e,{V:function(){return n}});const n=t=>e=>{for(let i=0,n=t.length;i=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(e,i,r):s(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r}function s(t,e){return function(i,n){e(i,n,t)}}function o(t,e,i,n){return new(i||(i=Promise))(function(s,o){function r(t){try{c(n.next(t))}catch(e){o(e)}}function a(t){try{c(n.throw(t))}catch(e){o(e)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(r,a)}c((n=n.apply(t,e||[])).next())})}i.d(e,{gn:function(){return n},fM:function(){return s},mG:function(){return o}})},60306:function(t){"use strict";t.exports={i8:"2.0.0"}}},function(t){"use strict";t(t.s=15291)}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/main-es2015.e82f0220ef323c65b80b.js b/dist/apps/admin-gui/main-es2015.e82f0220ef323c65b80b.js new file mode 100644 index 000000000..0e45759b6 --- /dev/null +++ b/dist/apps/admin-gui/main-es2015.e82f0220ef323c65b80b.js @@ -0,0 +1 @@ +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[179],{27622:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=27622,t.exports=e},71313:function(t,e,i){"use strict";i.d(e,{t:function(){return C}});var n=i(33642),s=i(60611),o=i(67004),r=i(88426),a=i(16073),c=i(31572),l=i(66283),u=i(80340),h=i(15980),d=i(43691),p=i(61511),g=i(67806),f=i(86593),m=i(39571),b=i(48160);function _(t,e){1&t&&c._UZ(0,"mat-spinner",8)}const w=function(){return["user","id","name","email","logins","organization"]};function A(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-users-list",11),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).pageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.pageSize)("displayedColumns",c.DdM(3,w))("users",t.users)}}function y(t,e){1&t&&(c.TgZ(0,"app-alert",12),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&t&&(c.Q6J("alert_type","info"),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ADMIN.USERS.SEARCH_INFO")," "))}function v(t,e){1&t&&(c.TgZ(0,"app-alert",12),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&t&&(c.Q6J("alert_type","warn"),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ADMIN.USERS.NO_USERS_FOUND")," "))}function T(t,e){if(1&t&&(c.TgZ(0,"div"),c.YNc(1,A,1,4,"app-users-list",9),c.YNc(2,y,3,4,"app-alert",10),c.YNc(3,v,3,4,"app-alert",10),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",void 0!==t.users&&t.users.length>0),c.xp6(1),c.Q6J("ngIf",!t.firstSearchDone),c.xp6(1),c.Q6J("ngIf",t.firstSearchDone&&0===t.users.length)}}let C=(()=>{class t{constructor(t,e,i){this.usersService=t,this.storeService=e,this.tableConfigService=i,this.loading=!1,this.firstSearchDone=!1,this.tableId=s.xx,this.attributes=[]}ngOnInit(){this.searchControl=new a.NI("",[a.kI.required,a.kI.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(){this.searchControl.invalid?this.searchControl.markAllAsTouched():(this.loading=!0,this.firstSearchDone=!0,this.usersService.findRichUsersWithAttributes(this.searchControl.value,this.attributes).subscribe(t=>{this.users=t,this.loading=!1},()=>{this.loading=!1}))}onKeyInput(t){"Enter"===t.key&&this.onSearchByString()}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}findUsersWithoutVO(){this.loading=!0,this.firstSearchDone=!0,this.usersService.getRichUsersWithoutVoWithAttributes(this.attributes).subscribe(t=>{this.users=t,this.loading=!1},()=>this.loading=!1)}}return t.id="AdminUsersComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(n.Fv),c.Y36(r.d6),c.Y36(s.dB))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:18,vars:17,consts:[[3,"keyup"],[1,"page-subtitle"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","users","page",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"pageSize","displayedColumns","users","page"],[3,"alert_type"]],template:function(t,e){1&t&&(c.TgZ(0,"div",0),c.NdJ("keyup",function(t){return e.onKeyInput(t)}),c.TgZ(1,"h1",1),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"mat-form-field",2),c._UZ(5,"input",3),c.ALo(6,"translate"),c.TgZ(7,"mat-error"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"button",4),c.NdJ("click",function(){return e.onSearchByString()}),c.TgZ(11,"mat-icon"),c._uU(12,"search"),c.qZA(),c.qZA(),c.TgZ(13,"button",5),c.NdJ("click",function(){return e.findUsersWithoutVO()}),c._uU(14),c.ALo(15,"translate"),c.qZA(),c.YNc(16,_,1,0,"mat-spinner",6),c.YNc(17,T,4,3,"div",7),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"ADMIN.USERS.TITLE")),c.xp6(3),c.s9C("placeholder",c.lcZ(6,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),c.Q6J("formControl",e.searchControl),c.xp6(3),c.hij(" ",c.lcZ(9,13,"ADMIN.USERS.EMPTY_SEARCH")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(3),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(15,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[l.KE,u.Nt,a.Fj,a.JJ,a.oH,l.TO,h.lW,d.Hw,p.O5,g.$g,f.C,m.w],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),t})()},61601:function(t,e,i){"use strict";i.d(e,{y:function(){return T}});var n=i(88426),s=i(38289),o=i(29063),r=i(84140),a=i(31572),c=i(84608),l=i(15980),u=i(48160);let h=(()=>{class t{constructor(t){this.dialogRef=t}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(c.so))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div",2),a.TgZ(5,"p"),a._uU(6),a.ALo(7,"translate"),a.qZA(),a.qZA(),a.TgZ(8,"div",3),a.TgZ(9,"button",4),a.NdJ("click",function(){return e.onClose()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"button",5),a.NdJ("click",function(){return e.onReload()}),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),a.xp6(5),a.hij(" ",a.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),a.xp6(4),a.hij(" ",a.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),a.xp6(3),a.hij(" ",a.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[c.uh,c.xY,c.H8,l.lW],pipes:[u.X$],styles:[""]}),t})();var d=i(57629),p=i(43835);let g=(()=>{class t{constructor(t,e){this.router=t,this.routeReuseStrategy=e;const i=e;t.events.subscribe(t=>{t instanceof d.OD&&i.setLastNavigationType("popstate"===t.navigationTrigger?"back":"direct")})}init(){}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(d.F0),a.LFG(d.wN))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function f(t,e){if(1&t&&(a.TgZ(0,"div",3),a.TgZ(1,"mat-icon"),a._uU(2,"alert"),a.qZA(),a._uU(3),a.qZA()),2&t){const t=a.oxw();a.xp6(3),a.hij(" ",t.warningMessage,"\n")}}const m=function(t,e){return{top:t,background:e}},b=function(t,e){return{"margin-top":t,"min-height":e}},_=function(t){return{"border-color":t}},w=function(t){return{background:t}},A=function(t,e){return{"min-height":t,"background-color":e}};function y(t,e){if(1&t&&(a._UZ(0,"app-perun-nav-menu",4),a.TgZ(1,"mat-sidenav-container",5),a.TgZ(2,"mat-sidenav",6,7),a.TgZ(4,"perfect-scrollbar",8),a._UZ(5,"app-side-menu",9),a.qZA(),a.qZA(),a.TgZ(6,"mat-sidenav-content",10),a.TgZ(7,"div",11),a._UZ(8,"router-outlet"),a.qZA(),a.TgZ(9,"div",12),a._UZ(10,"perun-web-apps-footer"),a.qZA(),a.qZA(),a.qZA()),2&t){const t=a.MAs(3),e=a.oxw();a.Q6J("ngStyle",a.WLB(13,m,e.getNavMenuTop(),e.navBackgroundColor))("sideNav",t)("principal",e.principal),a.xp6(1),a.Q6J("ngStyle",a.WLB(16,b,e.getSideNavMarginTop(),e.getSideNavMinHeight())),a.xp6(1),a.Q6J("ngStyle",a.VKq(19,_,e.sideBarBorderColor))("mode",e.sidebarMode)("opened",!e.isMobile())("fixedInViewport",!0)("fixedTopGap",e.getTopGap()),a.xp6(2),a.Q6J("ngStyle",a.VKq(21,w,e.sideMenubackgroundColor))("scrollIndicators",!0),a.xp6(1),a.Q6J("sideNav",t),a.xp6(1),a.Q6J("ngStyle",a.WLB(23,A,e.getContentInnerMinHeight(),e.contentBackgroundColor))}}function v(t,e){1&t&&a._UZ(0,"perun-web-apps-login-screen-base",13),2&t&&a.Q6J("application","admin-gui")}let T=(()=>{class t{constructor(t,e,n,s,o,r){this.cache=t,this.store=e,this.http=n,this.dialog=s,this.router=o,this.initAuth=r,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=i(60306).i8,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<=t.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,s.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,p.h)(t=>t instanceof d.OD)).subscribe(t=>{this.updateInitAccessedPage(t)})}updateInitAccessedPage(t){t.url===sessionStorage.getItem("initPage")?("imperative"===t.navigationTrigger&&t.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===t.navigationTrigger&&(t.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(t.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const t=new o.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:t}).subscribe(t=>{const e=t.version;if(e)if(this.version&&"SNAPSHOT"!==e&&this.version!==e){const t=(0,r.kZ)();this.dialog.open(h,t)}else this.version=e},()=>{})}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"}getContentInnerMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(a.Y36(g),a.Y36(n.d6),a.Y36(o.eN),a.Y36(c.uw),a.Y36(d.F0),a.Y36(n.v0))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&a.NdJ("resize",function(t){return e.getScreenSize(t)},!1,a.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application"]],template:function(t,e){1&t&&(a.YNc(0,f,4,1,"div",0),a._UZ(1,"perun-web-apps-notificator",1),a.YNc(2,y,11,26,"ng-template",2),a.YNc(3,v,1,1,"ng-template",2)),2&t&&(a.Q6J("ngIf",e.displayWarning),a.xp6(1),a.Q6J("displayWarning",e.displayWarning),a.xp6(1),a.Q6J("ngIf",!e.isLoginScreenShow&&!e.isServiceAccess&&!e.isServiceLogin()),a.xp6(1),a.Q6J("ngIf",e.isLoginScreenShow||e.isServiceAccess||e.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width:768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.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}"]}),t})()},48958:function(t,e,i){"use strict";i.d(e,{D:function(){return s}});var n=i(31572);let s=(()=>{class t{constructor(){this.accessItemsChange=new n.vpe,this.facilityItemsChange=new n.vpe,this.adminItemsChange=new n.vpe,this.userItemsChange=new n.vpe,this.resetChange=new n.vpe,this.homeItemsChange=new n.vpe}setHomeItems(t){this.homeItemsChange.emit(t)}setAccessMenuItems(t){this.accessItemsChange.emit(t)}setFacilityMenuItems(t){this.facilityItemsChange.emit(t)}setAdminItems(t){this.adminItemsChange.emit(t)}setUserItems(t){this.userItemsChange.emit(t)}reset(){this.resetChange.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},39124:function(t,e,i){"use strict";i.d(e,{o:function(){return T}});var n=i(33642),s=i(60611),o=i(88426),r=i(31572),a=i(57629),c=i(59403),l=i(66283),u=i(4786),h=i(71522),d=i(61511),p=i(19139),g=i(67806),f=i(78364),m=i(39571),b=i(48160);function _(t,e){if(1&t&&(r.TgZ(0,"mat-option",9),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t.id),r.xp6(1),r.hij(" ",t.name," ")}}function w(t,e){1&t&&r._UZ(0,"mat-spinner",10)}const A=function(){return["id","vo","name","description"]};function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-groups-list",11),r.NdJ("page",function(e){return r.CHM(t),r.oxw().pageChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("pageSize",t.pageSize)("displayedColumns",r.DdM(6,A))("groups",t.groupsToShow)("groupsToDisable",t.groupsWithoutRouteAuth)("filter",t.filterValue)("disableMembers",!1)}}function v(t,e){1&t&&(r.TgZ(0,"app-alert",12),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_GROUPS.NO_GROUPS_ALERT")," "))}let T=(()=>{class t{constructor(t,e,i,n){this.facilityManager=t,this.route=e,this.tableConfigService=i,this.authResolver=n,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=s.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilityId=t.facilityId,this.facilityManager.getAllowedVos(this.facilityId).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.filterValue="",this.vos.forEach(t=>{this.facilityManager.getAllowedGroups(this.facilityId,t.id).subscribe(e=>{this.groups=this.groups.concat(e),this.groupsToShow=this.groups,this.setAuthRights(t,e),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(t,e){e.forEach(e=>{this.authResolver.isAuthorized("getGroupById_int_policy",[t,e])||this.groupsWithoutRouteAuth.add(e.id)})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilityAllowedGroupsComponent",t.\u0275fac=function(e){return new(e||t)(r.Y36(n.IQ),r.Y36(a.gz),r.Y36(s.dB),r.Y36(o.x4))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("router-component",e.true)},inputs:{groups:"groups"},decls:18,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"perun-web-apps-refresh-button",1),r.NdJ("refresh",function(){return e.refreshTable()}),r.qZA(),r.TgZ(5,"mat-form-field"),r.TgZ(6,"mat-label"),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"mat-select",2),r.NdJ("valueChange",function(t){return e.selected=t})("selectionChange",function(){return e.showGroup()}),r.TgZ(10,"mat-option",3),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,_,2,2,"mat-option",4),r.qZA(),r.qZA(),r.TgZ(14,"perun-web-apps-immediate-filter",5),r.NdJ("filter",function(t){return e.applyFilter(t)}),r.qZA(),r.YNc(15,w,1,0,"mat-spinner",6),r.YNc(16,y,1,7,"perun-web-apps-groups-list",7),r.YNc(17,v,3,3,"app-alert",8),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,9,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),r.xp6(5),r.Oqu(r.lcZ(8,11,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),r.xp6(2),r.Q6J("value",e.selected),r.xp6(2),r.Oqu(r.lcZ(12,13,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),r.xp6(2),r.Q6J("ngForOf",e.vos),r.xp6(1),r.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),r.xp6(1),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading&&0!==e.groupsToShow.length),r.xp6(1),r.Q6J("ngIf",0===e.groupsToShow.length&&!e.loading))},directives:[c.t,l.KE,l.hX,u.gD,h.ey,d.sg,p.L,d.O5,g.$g,f.W,m.w],pipes:[b.X$],styles:[""]}),t})()},64467:function(t,e,i){"use strict";i.d(e,{f:function(){return x}});var n=i(4230),s=i(95909),o=i(33642),r=i(16073),a=i(84608),c=i(88426),l=i(31572),u=i(48160),h=i(61511),d=i(15980),p=i(67806),g=i(19386),f=i(66283),m=i(80340);function b(t,e){1&t&&l._UZ(0,"mat-spinner",5)}function _(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",6),l.TgZ(1,"perun-web-apps-vo-search-select",7),l.NdJ("voSelected",function(e){return l.CHM(t),l.oxw().selectedVo=e}),l.qZA(),l.TgZ(2,"mat-form-field"),l._UZ(3,"input",8),l.ALo(4,"translate"),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"mat-form-field"),l._UZ(9,"input",8),l.ALo(10,"translate"),l.TgZ(11,"mat-error"),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(1),l.Q6J("vos",t.vos),l.xp6(2),l.s9C("placeholder",l.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),l.Q6J("formControl",t.nameCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),l.xp6(3),l.s9C("placeholder",l.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),l.Q6J("formControl",t.descriptionCtrl),l.xp6(3),l.hij(" ",l.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let w=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.resourcesManager=o,this.vos=[],this.selectedVo=null,s.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(t=>{this.vos=t,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new r.NI(null,[r.kI.required,r.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new r.NI(null,[r.kI.required,r.kI.pattern(".*[\\S]+.*")])}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 t.\u0275fac=function(e){return new(e||t)(l.Y36(a.so),l.Y36(a.WI),l.Y36(c.V6),l.Y36(o.YF),l.Y36(u.sK),l.Y36(o.xk))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"long-input",3,"vos","voSelected"],["matInput","","required","",3,"placeholder","formControl"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.YNc(1,b,1,0,"mat-spinner",0),l.YNc(2,_,14,15,"div",1),l.TgZ(3,"div",2),l.TgZ(4,"button",3),l.NdJ("click",function(){return e.onCancel()}),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onSubmit()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.Oqu(l.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),l.xp6(2),l.Q6J("disabled",e.nameCtrl.invalid||e.descriptionCtrl.invalid||null===e.selectedVo||e.loading),l.xp6(1),l.Oqu(l.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[h.O5,a.H8,d.lW,p.$g,a.xY,g.M,f.KE,m.Nt,r.Fj,r.Q7,r.JJ,r.oH,f.TO],pipes:[u.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),t})();var A=i(60611),y=i(84140),v=i(57629),T=i(59403),C=i(19139),E=i(88884);function S(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",7),l.NdJ("click",function(){return l.CHM(t),l.oxw().createResource()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function k(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",8),l.NdJ("click",function(){return l.CHM(t),l.oxw().removeResource()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("disabled",0===t.selected.selected.length),l.xp6(1),l.hij(" ",l.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function I(t,e){1&t&&l._UZ(0,"mat-spinner",9)}function R(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-resources-list",10),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("selection",t.selected)("disableRouting",!t.routeAuth)("displayedColumns",t.displayedColumns)}}let x=(()=>{class t{constructor(t,e,i,s,o){this.dialog=t,this.facilitiesManager=e,this.tableConfigService=i,this.route=s,this.authResolver=o,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=A.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.facilitiesManager.getFacilityById(t.facilityId).subscribe(t=>{this.facility=t,this.refreshTable()})})}removeResource(){const t=(0,y.kZ)();t.width="450px",t.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(s.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(t=>{this.resources=t,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(t){this.filterValue=t}createResource(){const t=(0,y.kZ)();t.width="1350px",t.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(w,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilityResourcesComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(a.uw),l.Y36(o.IQ),l.Y36(A.dB),l.Y36(v.gz),l.Y36(c.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"perun-web-apps-refresh-button",1),l.NdJ("refresh",function(){return e.refreshTable()}),l.qZA(),l.YNc(5,S,3,3,"button",2),l.YNc(6,k,3,4,"button",3),l.TgZ(7,"perun-web-apps-immediate-filter",4),l.NdJ("filter",function(t){return e.applyFilter(t)}),l.qZA(),l.YNc(8,I,1,0,"mat-spinner",5),l.YNc(9,R,1,6,"perun-web-apps-resources-list",6),l.qZA()),2&t&&(l.xp6(2),l.Oqu(l.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),l.xp6(3),l.Q6J("ngIf",!e.loading&&e.addAuth),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.removeAuth),l.xp6(1),l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[T.t,h.O5,C.L,d.lW,p.$g,E.C],pipes:[u.X$],styles:[""]}),t})()},73916:function(t,e,i){"use strict";i.d(e,{P:function(){return z}});var n=i(33642),s=i(84140),o=i(60611),r=i(4230),a=i(84608),c=i(88426),l=i(16073),u=i(31572),h=i(48160),d=i(61511),p=i(15980),g=i(67806),f=i(66283),m=i(80340),b=i(4786),_=i(71522);function w(t,e){1&t&&u._UZ(0,"mat-spinner",6)}function A(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"mat-option",13),u.NdJ("click",function(){const e=u.CHM(t).$implicit;return u.oxw(2).srcFacility=e}),u._uU(1),u.qZA()}if(2&t){const t=e.$implicit;u.Q6J("value",t),u.xp6(1),u.hij(" ",t.name," ")}}function y(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",7),u.TgZ(1,"mat-form-field"),u._UZ(2,"input",8),u.ALo(3,"translate"),u.TgZ(4,"mat-error"),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA(),u.TgZ(7,"mat-form-field"),u._UZ(8,"input",9),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"mat-form-field"),u.TgZ(11,"mat-select",10),u.ALo(12,"translate"),u.TgZ(13,"mat-option",11),u.NdJ("click",function(){return u.CHM(t),u.oxw().srcFacility=null}),u._uU(14),u.ALo(15,"translate"),u.qZA(),u.YNc(16,A,2,2,"mat-option",12),u.qZA(),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(2),u.s9C("placeholder",u.lcZ(3,8,"DIALOGS.CREATE_FACILITY.NAME")),u.Q6J("formControl",t.nameControl),u.xp6(3),u.Oqu(u.lcZ(6,10,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),u.xp6(3),u.s9C("placeholder",u.lcZ(9,12,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),u.Q6J("formControl",t.descControl),u.xp6(3),u.s9C("placeholder",u.lcZ(12,14,"DIALOGS.CREATE_FACILITY.AS_COPY")),u.xp6(3),u.hij(" ",u.lcZ(15,16,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),u.xp6(2),u.Q6J("ngForOf",t.facilities)}}let v=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=n,this.translate=s,this.nameControl=new l.NI("",[l.kI.required]),this.descControl=new l.NI(""),this.srcFacility=null,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(t=>{this.facilities=t,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(t){this.facilitiesManager.copyAttributes(this.srcFacility.id,t).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,t).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,t).subscribe(()=>{this.handleSuccess()},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(){this.loading=!0,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(t=>{null!==this.srcFacility?this.copyFacilitySettings(t.id):this.handleSuccess()})}handleSuccess(){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.IQ),u.Y36(c.V6),u.Y36(h.sK))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-create-facility-dialog"]],decls:13,vars:15,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,w,1,0,"mat-spinner",1),u.YNc(5,y,17,18,"div",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return e.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return e.onCreate()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.CREATE_FACILITY.TITLE")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(3),u.Oqu(u.lcZ(9,11,"DIALOGS.CREATE_FACILITY.CANCEL")),u.xp6(2),u.Q6J("disabled",0===e.nameControl.value.trim().length||e.loading),u.xp6(1),u.Oqu(u.lcZ(12,13,"DIALOGS.CREATE_FACILITY.CREATE")))},directives:[d.O5,a.H8,p.lW,g.$g,a.xY,f.KE,m.Nt,l.Fj,l.Q7,l.JJ,l.oH,f.TO,b.gD,_.ey,d.sg],pipes:[h.X$],styles:[""]}),t})();var T=i(30570),C=i(48958),E=i(66297),S=i(43691),k=i(59403),I=i(19139),R=i(60007);function x(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",9),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().refreshTable()}),u.qZA()}}function O(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",10),u.NdJ("click",function(){return u.CHM(t),u.oxw().onCreate()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"FACILITY_MANAGEMENT.CREATE")))}function P(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",11),u.NdJ("click",function(){return u.CHM(t),u.oxw().onDelete()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("disabled",0===t.selection.selected.length),u.xp6(1),u.Oqu(u.lcZ(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function D(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-immediate-filter",12),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyFilter(e)}),u.qZA()}2&t&&u.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function M(t,e){1&t&&u._UZ(0,"mat-spinner",13)}function L(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-facilities-list",14),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("selection",t.selection)("filterValue",t.filterValue)("facilities",t.facilities)("recentIds",t.recentIds)}}const N=function(){return{color:"black"}};let z=(()=>{class t{constructor(t,e,i,n){this.facilityManager=t,this.sideMenuService=e,this.tableConfigService=i,this.dialog=n,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=o.xt,this.selection=new r.Ov(!1,[])}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(t=>{this.selection.clear(),this.facilities=t,this.recentIds=(0,s.vL)("facilities"),this.loading=!1})}onCreate(){const t=(0,s.kZ)();t.width="800px",t.data={theme:"facility-theme"},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onDelete(){const t=(0,s.kZ)();t.width="500px",t.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(T.Y,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="FacilitySelectPageComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(n.IQ),u.Y36(C.D),u.Y36(o.dB),u.Y36(a.uw))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:12,vars:11,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",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","selection","filterValue","facilities","recentIds","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","selection","filterValue","facilities","recentIds","page"]],template:function(t,e){1&t&&(u.TgZ(0,"div",0),u._UZ(1,"perun-web-apps-back-button"),u.TgZ(2,"h1",1),u._UZ(3,"mat-icon",2),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.YNc(6,x,1,0,"perun-web-apps-refresh-button",3),u.YNc(7,O,3,3,"button",4),u.YNc(8,P,3,4,"button",5),u.YNc(9,D,1,2,"perun-web-apps-immediate-filter",6),u.YNc(10,M,1,0,"mat-spinner",7),u.YNc(11,L,1,5,"perun-web-apps-facilities-list",8),u.qZA()),2&t&&(u.xp6(3),u.Q6J("ngStyle",u.DdM(10,N)),u.xp6(1),u.hij(" ",u.lcZ(5,8,"FACILITY_MANAGEMENT.TITLE")," "),u.xp6(2),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[E.W,S.Hw,d.PC,d.O5,k.t,p.lW,I.L,g.$g,R.X],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},92438:function(t,e,i){"use strict";i.d(e,{J:function(){return A}});var n=i(84608),s=i(88426),o=i(33642),r=i(84140),a=i(16073),c=i(31572),l=i(48160),u=i(66283),h=i(80340),d=i(4786),p=i(61511),g=i(15980),f=i(71522);let m=(()=>{class t{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(t=>{this.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_HIDDEN").subscribe(t=>{this.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(t=>{this.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_SHOW").subscribe(t=>{this.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(t=>{this.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(t=>{this.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(t=>{this.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(t=>{this.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(t=>{this.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(t=>{this.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(t=>{this.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(t=>{this.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(t=>{this.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(t=>{this.returnData=t});break;default:return t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(l.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormWidgetDescription",type:t,pure:!0}),t})();var b=i(65050);function _(t,e){if(1&t&&(c.TgZ(0,"mat-option",9),c._uU(1),c.ALo(2,"applicationFormItemType"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function w(t,e){if(1&t&&(c.TgZ(0,"mat-option",9),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",t," ")}}let A=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.translateService=i,this.store=n,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","FROM_FEDERATION_HIDDEN","HTML_COMMENT","TEXTFIELD","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(t=>{this.nameCtrl=new a.NI("",[a.kI.required,a.kI.pattern(".*[\\S]+.*"),a.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(t);for(const e of this.data.applicationFormItems)this.items.push(e.shortname),e.type===o.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(t=>t!==o.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=t})}cancel(){this.dialogRef.close(!1)}submit(){const t=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,t])}createApplicationItem(){const t=(0,r.dv)(this.languages);t.id=this.data.fakeId,t.shortname=this.nameCtrl.value,t.type=this.selectedWidget;for(let e=0;e{class t{constructor(t){this.guiAuthResolver=t,this.pageSize=10,this.page=new u.vpe,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=c.f7,this.addAuth=!1}set matSort(t){this.sort=t,this.setDataSource()}getDataForColumn(t,e,i){var n,s;switch(e){case"status":return t.member&&null!==(n=t.member.status)&&void 0!==n?n:"";case"fullName":{const e=t.richUser?t.richUser:t.candidate;return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:""}case"voExtSource":return t.richUser?(0,c.OV)(t.richUser):(0,c.v$)(t.candidate);case"email":return t.richUser||t.member?(0,c.kN)(t.richUser):i.getEmail(t);case"logins":return i.getLogins(t);case"alreadyMember":return i.getAlreadyMember(t);case"local":return t.richUser?"Local":"External identity";default:return t[e]}}getExportDataForColumn(t,e,i){var n;switch(e){case"status":return t.member&&null!==(n=t.member.status)&&void 0!==n?n:"";case"fullName":return(0,c.bD)(t.richUser?t.richUser:t.candidate);case"voExtSource":return t.richUser?(0,c.OV)(t.richUser):(0,c.v$)(t.candidate);case"email":return t.richUser||t.member?(0,c.kN)(t.richUser):i.getEmail(t);case"logins":return i.getLogins(t);case"alreadyMember":return i.getAlreadyMember(t);case"local":return t.richUser?"Local":"External identity";default:return t[e]}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){null!=this.child&&this.child.paginator&&this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new d.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t)),this.setAddAuth()}getEmail(t){let e;if(t.richUser){for(const i of t.richUser.userAttributes)if(i.namespace+":"+i.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){e=i;break}return null!=e&&null!=e.value&&"null"!==e.value.toString().toLowerCase()?e.value.toString().replace(","," "):""}return(0,c.Jc)(t.candidate)}getOrganization(t){return(0,c.v$)(t)}getLogins(t){if(t.richUser)return this.getLoginsForRichUser(t.richUser);{let e=this.getLoginsForCandidate(t.candidate);return null!=e&&""!==e||(e=t.candidate.userExtSource.login),e}}getLoginsForRichUser(t){let e="";for(const i of t.userAttributes)i.friendlyName.startsWith("login-namespace")&&null!=i.value&&(e.length>0&&(e+=", "),e+=i.friendlyName.substring(16)+": "+i.value);return e}getLoginsForCandidate(t){let e="";for(const i in t.attributes)Object.prototype.hasOwnProperty.call(t.attributes,i)&&-1!==i.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=t.attributes[i]&&(e.length>0&&(e+=", "),e+=i.substring(49)+": "+t.attributes[i]);return e}getAlreadyMember(t){if("vo"===this.type){if(null!=t.member)return"Member of VO"}else{if(null!=t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType)return"Member of Group";if(null!=t.member&&0!==t.member.sourceGroupId&&"INDIRECT"===t.member.membershipType)return"Indirect member of Group";if(null!=t.member)return"Member of VO"}return""}isCheckboxDisabled(t){return"vo"===this.type?null!=t.member:!!t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(t){this.selection.toggle(t),this.setAddAuth()}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(s.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(t,e){if(1&t&&(u.Gf(h.YE,5),u.Gf(c.l9,7)),2&t){let t;u.iGM(t=u.CRH())&&(e.matSort=t.first),u.iGM(t=u.CRH())&&(e.child=t.first)}},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[u.TTD],decls:29,vars:6,consts:[[1,"card","mt-2"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(u.TgZ(0,"div",0),u.TgZ(1,"perun-web-apps-table-wrapper",1),u.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),u.TgZ(2,"table",2),u.ynx(3,3),u.YNc(4,v,1,0,"th",4),u.YNc(5,T,2,2,"td",5),u.BQk(),u.ynx(6,6),u.YNc(7,C,3,3,"th",7),u.YNc(8,S,2,1,"td",8),u.BQk(),u.ynx(9,9),u.YNc(10,k,3,3,"th",7),u.YNc(11,I,4,5,"td",8),u.BQk(),u.ynx(12,10),u.YNc(13,R,3,3,"th",7),u.YNc(14,x,3,3,"td",8),u.BQk(),u.ynx(15,11),u.YNc(16,O,3,3,"th",7),u.YNc(17,P,2,1,"td",8),u.BQk(),u.ynx(18,12),u.YNc(19,D,3,3,"th",7),u.YNc(20,M,2,1,"td",8),u.BQk(),u.ynx(21,13),u.YNc(22,L,3,3,"th",7),u.YNc(23,N,2,1,"td",8),u.BQk(),u.ynx(24,14),u.YNc(25,z,1,0,"th",7),u.YNc(26,Z,2,1,"td",8),u.BQk(),u.YNc(27,B,1,0,"tr",15),u.YNc(28,q,1,0,"tr",16),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.xp6(1),u.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),u.xp6(1),u.Q6J("dataSource",e.dataSource),u.xp6(25),u.Q6J("matHeaderRowDef",e.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",e.displayedColumns))},directives:[p.l,d.BZ,h.YE,d.w1,d.fO,d.Dz,d.as,d.nj,d.ge,d.ev,g.oG,h.nU,f.O5,m.gM,d.XQ,d.Gk],pipes:[b.X$,_.u,w.f,A.d,y.Z],styles:[""]}),t})();var U=i(16073),H=i(57629),G=i(66283),j=i(80340),Y=i(15980),K=i(67806),V=i(39571),$=i(8055);const J=["list"];function Q(t,e){1&t&&u._UZ(0,"mat-spinner",10)}function W(t,e){1&t&&(u.TgZ(0,"app-alert",14),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function X(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"app-members-candidates-list",15,16),u.NdJ("page",function(e){return u.CHM(t),u.oxw(3).pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw(3);u.Q6J("group",t.data.group)("pageSize",t.pageSize)("selection",t.selection)("members",t.members)("type",t.data.type)}}function tt(t,e){if(1&t&&(u.TgZ(0,"div",11),u.YNc(1,W,3,3,"app-alert",12),u.YNc(2,X,2,5,"app-members-candidates-list",13),u.qZA()),2&t){const t=u.oxw(2);u.xp6(1),u.Q6J("ngIf",0===t.members.length&&t.firstSearchDone),u.xp6(1),u.Q6J("ngIf",0!==t.members.length)}}function et(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",4),u.TgZ(1,"mat-form-field",5),u.TgZ(2,"label"),u.TgZ(3,"input",6),u.NdJ("keyup.enter",function(){return u.CHM(t),u.oxw().onSearchByString()}),u.ALo(4,"translate"),u.qZA(),u.qZA(),u.TgZ(5,"mat-error"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.qZA(),u.TgZ(8,"button",7),u.NdJ("click",function(){return u.CHM(t),u.oxw().onSearchByString()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.TgZ(11,"div",8),u.YNc(12,Q,1,0,"mat-spinner",2),u.qZA(),u.YNc(13,tt,3,2,"div",9),u.qZA()}if(2&t){const t=u.oxw();u.xp6(3),u.s9C("placeholder",u.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),u.Q6J("formControl",t.searchCtrl),u.xp6(3),u.hij(" ",u.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),u.xp6(2),u.Q6J("disabled",t.loading),u.xp6(1),u.hij(" ",u.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),u.xp6(3),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!!t.members&&!t.loading)}}function it(t,e){1&t&&u._UZ(0,"mat-spinner",10)}function nt(t,e){if(1&t&&(u.TgZ(0,"button",24),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t){u.oxw();const t=u.MAs(8),e=u.oxw();u.Q6J("disabled",0===e.selection.selected.length||e.loading)("matMenuTriggerFor",t),u.xp6(1),u.hij(" ",u.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function st(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",25),u.NdJ("click",function(){const e=u.CHM(t).$implicit;return u.oxw(2).onInvite(e)}),u._uU(1),u.ALo(2,"translate"),u.ALo(3,"uppercase"),u.qZA()}if(2&t){const t=e.$implicit;u.xp6(1),u.hij(" ",u.lcZ(2,1,u.lcZ(3,3,"SHARED_LIB.LANGUAGES."+t))," ")}}function ot(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",17),u.TgZ(1,"button",18),u.NdJ("click",function(){return u.CHM(t),u.oxw().onCancel()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"span",19),u.ALo(5,"translate"),u.YNc(6,nt,3,5,"button",20),u.TgZ(7,"mat-menu",null,21),u.YNc(9,st,4,5,"button",22),u.qZA(),u.qZA(),u.TgZ(10,"button",23),u.NdJ("click",function(){return u.CHM(t),u.oxw().onAdd()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),u.xp6(2),u.s9C("matTooltip",u.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),u.Q6J("matTooltipDisabled",0===t.selection.selected.length||"group"!==t.data.type||void 0!==t.list&&t.list.addAuth),u.xp6(2),u.Q6J("ngIf","group"!==t.data.type||"group"===t.data.type&&t.inviteAuth),u.xp6(3),u.Q6J("ngForOf",t.languages),u.xp6(1),u.Q6J("disabled",0===t.selection.selected.length||t.loading||"group"===t.data.type&&void 0!==t.list&&!t.list.addAuth),u.xp6(1),u.hij(" ",u.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let rt=(()=>{class t{constructor(t,e,i,n,s,r,a,c,u,h,d,p,g){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.groupService=n,this.voService=s,this.registrarManager=r,this.translate=a,this.notificator=c,this.route=u,this.tableConfigService=h,this.router=d,this.guiAuthResolver=p,this.store=g,this.languages=["en"],this.selection=new o.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=l.tY,this.inviteAuth=!1,a.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(t=>this.title=t)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const t=this.selection.selected[0];"vo"===this.data.type?t.richUser?this.addUserToVo(t):this.addCandidateToVo(t):"group"===this.data.type&&(t.member?this.addMemberToGroup(t):t.richUser?this.addUserToGroup(t):t.candidate&&this.addCandidateToGroup(t))}onInvite(t){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,c.Jc)(this.selection.selected[0].candidate),t,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,c.Jc)(this.selection.selected[0].candidate),t,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[a.r.USER_DEF_ORGANIZATION,a.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[a.r.USER_DEF_ORGANIZATION,a.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supported_languages"),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new U.NI("",[U.kI.required,U.kI.pattern(".*[\\S]+.*")])}addUserToVo(t){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:t.richUser.id}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(t){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(t.candidate)}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(t){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:t.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(t){this.groupService.addMembers(this.data.entityId,[t.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(t){const e={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(t.candidate),groups:[e]}).subscribe(t=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(t.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}createCandidate(t){return{userExtSource:t.userExtSource,additionalUserExtSources:t.additionalUserExtSources,attributes:t.attributes,firstName:t.firstName,lastName:t.lastName,middleName:t.middleName,titleBefore:t.titleBefore,titleAfter:t.titleAfter,id:t.id}}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(n.so),u.Y36(n.WI),u.Y36(r.uq),u.Y36(r.ff),u.Y36(r.YF),u.Y36(r.tk),u.Y36(b.sK),u.Y36(s.V6),u.Y36(H.gz),u.Y36(l.dB),u.Y36(H.F0),u.Y36(s.x4),u.Y36(s.d6))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(t,e){if(1&t&&u.Gf(J,5),2&t){let t;u.iGM(t=u.CRH())&&(e.list=t.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"group","pageSize","selection","members","type","page",4,"ngIf"],["alert_type","warn"],[3,"group","pageSize","selection","members","type","page"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,et,14,13,"div",1),u.YNc(5,it,1,0,"mat-spinner",2),u.YNc(6,ot,13,13,"div",3),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),u.xp6(2),u.Q6J("ngIf",!e.processing),u.xp6(1),u.Q6J("ngIf",e.processing),u.xp6(1),u.Q6J("ngIf",!e.processing))},directives:[n.uh,f.O5,n.xY,G.KE,j.Nt,U.Fj,U.JJ,U.oH,G.TO,Y.lW,K.$g,V.w,F,n.H8,m.gM,$.VK,f.sg,$.p6,$.OP],pipes:[b.X$,f.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t})()},68570:function(t,e,i){"use strict";i.d(e,{W:function(){return g}});var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),l=i(19386),u=i(37665),h=i(15980),d=i(67806);function p(t,e){1&t&&r._UZ(0,"mat-spinner",9)}let g=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.dialogRef=t,this.voService=e,this.groupService=i,this.translateService=n,this.registrarManager=s,this.notificatorService=o,this.apiRequest=r,this.data=a,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=t=>t.name,n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(t=>this.successMessage=t),n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(t=>this.privilegeMessage=t),n.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(t=>this.noFormMessage=t)}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(t=>{this.vos=t.sort((t,e)=>t.name>e.name?1:t.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},t=>{"FormNotExistsException"===t.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===t.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(t){this.selectedVo=t,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(t=>{this.groups=t}):this.groups=[],this.selectedGroup=null}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(s.YF),r.Y36(s.ff),r.Y36(a.sK),r.Y36(s.tk),r.Y36(o.V6),r.Y36(o.F5),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,p,1,0,"mat-spinner",1),r.TgZ(5,"div",2),r.TgZ(6,"div",3),r._uU(7),r.ALo(8,"translate"),r.qZA(),r._uU(9),r.ALo(10,"translate"),r.TgZ(11,"perun-web-apps-vo-search-select",4),r.NdJ("voSelected",function(t){return e.voSelected(t)}),r.qZA(),r._uU(12),r.ALo(13,"translate"),r.TgZ(14,"perun-web-apps-group-search-select",5),r.NdJ("groupSelected",function(t){return e.selectedGroup=t}),r.qZA(),r.qZA(),r.TgZ(15,"div",6),r.TgZ(16,"button",7),r.NdJ("click",function(){return e.cancel()}),r._uU(17),r.ALo(18,"translate"),r.qZA(),r.TgZ(19,"button",8),r.NdJ("click",function(){return e.submit()}),r._uU(20),r.ALo(21,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("hidden",e.loading),r.xp6(2),r.Oqu(r.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")),r.xp6(2),r.hij(" ",r.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),r.xp6(2),r.Q6J("vos",e.vos),r.xp6(1),r.hij(" ",r.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),r.xp6(2),r.Q6J("groups",e.groups)("disableAutoSelect",!0),r.xp6(3),r.hij(" ",r.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",!e.selectedVo&&!e.selectedGroup||e.loading),r.xp6(1),r.hij(" ",r.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[n.uh,c.O5,n.xY,l.M,u.h,n.H8,h.lW,d.$g],pipes:[a.X$],styles:[""]}),t})()},88419:function(t,e,i){"use strict";i.d(e,{y:function(){return A}});var n=i(84608),s=i(88426),o=i(33642),r=i(16073),a=i(31572),c=i(48160),l=i(61511),u=i(67806),h=i(66283),d=i(80340),p=i(15980),g=i(29236),f=i(37665);function m(t,e){1&t&&a._UZ(0,"mat-spinner",3)}function b(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-checkbox",13),a.NdJ("click",function(){return a.CHM(t),a.oxw(2).loadVoGroups()})("ngModelChange",function(e){return a.CHM(t),a.oxw(2).asSubgroup=e}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("labelPosition","before")("ngModel",t.asSubgroup),a.xp6(1),a.hij(" ",a.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function _(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"perun-web-apps-group-search-select",14),a.NdJ("groupSelected",function(e){return a.CHM(t),a.oxw(2).selectedParent=e}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("disableAutoSelect",!0)("groups",t.voGroups)}}function w(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",4),a.TgZ(2,"mat-form-field"),a.TgZ(3,"label",5),a._UZ(4,"input",6),a.ALo(5,"translate"),a.qZA(),a.TgZ(6,"mat-error"),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.qZA(),a.TgZ(9,"mat-form-field",7),a.TgZ(10,"label",5),a._UZ(11,"textarea",6),a.ALo(12,"translate"),a.qZA(),a.TgZ(13,"mat-error"),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA(),a.YNc(16,b,3,5,"mat-checkbox",8),a.YNc(17,_,1,2,"perun-web-apps-group-search-select",9),a.qZA(),a.TgZ(18,"div",10),a.TgZ(19,"button",11),a.NdJ("click",function(){return a.CHM(t),a.oxw().onCancel()}),a._uU(20),a.ALo(21,"translate"),a.qZA(),a.TgZ(22,"button",12),a.NdJ("click",function(){return a.CHM(t),a.oxw().onSubmit()}),a._uU(23),a.ALo(24,"translate"),a.qZA(),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(4),a.s9C("placeholder",a.lcZ(5,11,"DIALOGS.CREATE_GROUP.NAME")),a.Q6J("formControl",t.nameControl),a.xp6(3),a.hij(" ",t.invalidNameMessage.length?t.invalidNameMessage:a.lcZ(8,13,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),a.xp6(4),a.s9C("placeholder",a.lcZ(12,15,"DIALOGS.CREATE_GROUP.DESCRIPTION")),a.Q6J("formControl",t.descriptionControl),a.xp6(3),a.hij(" ",a.lcZ(15,17,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),a.xp6(2),a.Q6J("ngIf",t.isNotSubGroup),a.xp6(1),a.Q6J("ngIf",t.asSubgroup),a.xp6(3),a.hij(" ",a.lcZ(21,19,"DIALOGS.CREATE_GROUP.CANCEL")," "),a.xp6(2),a.Q6J("disabled",t.nameControl.invalid||t.descriptionControl.invalid||t.asSubgroup&&null===t.selectedParent||t.loading),a.xp6(1),a.hij(" ",a.lcZ(24,21,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let A=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.groupService=i,this.translate=n,this.notificator=s,this.store=o,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.voGroups=[],this.nameFunction=t=>t.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?n.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(t=>this.title=t):n.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(t=>{this.title=t+this.data.parentGroup.name}),n.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(t=>this.successMessage=t),n.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(t=>this.successSubGroupMessage=t)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new r.NI("",[r.kI.required,r.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),r.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new r.NI("",[r.kI.required,r.kI.maxLength(129)]),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(t=>"members"!==t.name)})}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.ff),a.Y36(c.sK),a.Y36(s.V6),a.Y36(s.d6))},t.\u0275cmp=a.Xpm({type:t,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","","required","",3,"formControl","placeholder"],[1,"mt-4"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div"),a.YNc(3,m,1,0,"mat-spinner",1),a.YNc(4,w,25,23,"div",2),a.qZA()),2&t&&(a.xp6(1),a.Oqu(e.title),a.xp6(1),a.Tol(e.theme),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,l.O5,u.$g,n.xY,h.KE,d.Nt,r.Fj,r.Q7,r.JJ,r.oH,h.TO,n.H8,p.lW,g.oG,r.On,f.h],pipes:[c.X$],styles:[""]}),t})()},20247:function(t,e,i){"use strict";i.d(e,{e:function(){return O}});var n=i(31572),s=i(16073),o=i(67033),r=i(61511),a=i(84608),c=i(15980),l=i(43691),u=i(85250),h=i(39571),d=i(66283),p=i(80340),g=i(48160);function f(t,e){if(1&t&&(n.TgZ(0,"div",14),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"translate"),n.TgZ(4,"span",15),n._uU(5),n.ALo(6,"translate"),n.qZA(),n._uU(7),n.ALo(8,"translate"),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.lnq(" ",n.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",n.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",t.entityType," "),n.xp6(4),n.Oqu(n.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),n.xp6(2),n.AsE(" ",t.entityType," ",n.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function m(t,e){if(1&t&&(n.TgZ(0,"div",14),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.AsE(" ",n.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",t.entityType," ? ")}}function b(t,e){1&t&&n._UZ(0,"th",16)}function _(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.name," ")}}function w(t,e){1&t&&n._UZ(0,"tr",18)}function A(t,e){1&t&&n._UZ(0,"tr",19)}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",12),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).force=!0}),n.TgZ(1,"mat-icon"),n._uU(2,"warning"),n.qZA(),n._uU(3),n.ALo(4,"translate"),n.ALo(5,"translate"),n.qZA()}2&t&&(n.xp6(3),n.AsE(" ",n.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const v=function(){return["name"]};function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"div",2),n.YNc(5,f,9,14,"div",3),n.YNc(6,m,3,4,"div",3),n.TgZ(7,"table",4),n.ynx(8,5),n.YNc(9,b,1,0,"th",6),n.YNc(10,_,2,1,"td",7),n.BQk(),n.YNc(11,w,1,0,"tr",8),n.YNc(12,A,1,0,"tr",9),n.qZA(),n.qZA(),n.TgZ(13,"div",10),n.TgZ(14,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw().onCancel()}),n._uU(15),n.ALo(16,"translate"),n.qZA(),n.TgZ(17,"button",12),n.NdJ("click",function(){return n.CHM(t),n.oxw().onDelete()}),n._uU(18),n.ALo(19,"translate"),n.qZA(),n.YNc(20,y,6,6,"button",13),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(2),n.AsE("",n.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType,""),n.xp6(3),n.Q6J("ngIf",!t.disableForce),n.xp6(1),n.Q6J("ngIf",t.disableForce),n.xp6(1),n.Q6J("dataSource",t.entityNames),n.xp6(4),n.Q6J("matHeaderRowDef",n.DdM(16,v)),n.xp6(1),n.Q6J("matRowDefColumns",n.DdM(17,v)),n.xp6(3),n.hij(" ",n.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.xp6(3),n.hij(" ",n.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),n.xp6(2),n.Q6J("ngIf",!t.disableForce)}}function C(t,e){if(1&t&&(n.TgZ(0,"mat-list-item"),n.TgZ(1,"span"),n.TgZ(2,"mat-icon",24),n._uU(3,"fiber_manual_record"),n.qZA(),n._uU(4),n.qZA(),n.qZA()),2&t){const t=e.$implicit;n.xp6(4),n.hij(" ",t," ")}}function E(t,e){if(1&t&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&t){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.anotherMessage," ")}}function S(t,e){1&t&&n._UZ(0,"th",16)}function k(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.name," ")}}function I(t,e){1&t&&n._UZ(0,"tr",18)}function R(t,e){1&t&&n._UZ(0,"tr",19)}function x(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"h1",1),n._uU(2),n.ALo(3,"translate"),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"div",2),n.TgZ(6,"div",14),n._uU(7),n.ALo(8,"translate"),n.TgZ(9,"mat-list"),n.YNc(10,C,5,1,"mat-list-item",20),n.qZA(),n.YNc(11,E,2,1,"div",0),n.TgZ(12,"app-alert",21),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"table",4),n.ynx(16,5),n.YNc(17,S,1,0,"th",6),n.YNc(18,k,2,1,"td",7),n.BQk(),n.YNc(19,I,1,0,"tr",8),n.YNc(20,R,1,0,"tr",9),n.qZA(),n.qZA(),n.TgZ(21,"mat-form-field"),n._UZ(22,"input",22),n.ALo(23,"translate"),n.qZA(),n.qZA(),n.TgZ(24,"div",10),n.TgZ(25,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw().onCancel()}),n._uU(26),n.ALo(27,"translate"),n.qZA(),n.TgZ(28,"button",23),n.NdJ("click",function(){return n.CHM(t),n.oxw().onDelete()}),n.TgZ(29,"mat-icon"),n._uU(30,"warning"),n.qZA(),n._uU(31),n.ALo(32,"translate"),n.ALo(33,"translate"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(2),n.lnq("",n.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",t.entityType," ",n.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS"),""),n.xp6(5),n.hij(" ",n.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),n.xp6(3),n.Q6J("ngForOf",t.relations),n.xp6(1),n.Q6J("ngIf",t.anotherMessage),n.xp6(2),n.AsE(" ",n.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",t.entityType," ? "),n.xp6(2),n.Q6J("dataSource",t.entityNames),n.xp6(4),n.Q6J("matHeaderRowDef",n.DdM(33,v)),n.xp6(1),n.Q6J("matRowDefColumns",n.DdM(34,v)),n.xp6(2),n.s9C("placeholder",n.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),n.Q6J("formControl",t.deleteControl),n.xp6(4),n.hij(" ",n.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),n.xp6(2),n.Q6J("disabled",t.deleteControl.invalid),n.xp6(3),n.AsE(" ",n.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",n.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let O=(()=>{class t{constructor(){this.entityNames=new o.by,this.relations=[],this.disableForce=!1,this.deleted=new n.vpe,this.loading=!1,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new s.NI("",[s.kI.required,s.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce"},outputs:{deleted:"deleted"},decls:2,vars:2,consts:[[4,"ngIf"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn",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",""],[4,"ngFor","ngForOf"],["alert_type","warn"],["matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(t,e){1&t&&(n.YNc(0,T,21,18,"div",0),n.YNc(1,x,34,35,"div",0)),2&t&&(n.Q6J("ngIf",!e.force),n.xp6(1),n.Q6J("ngIf",e.force))},directives:[r.O5,a.uh,a.xY,o.BZ,o.w1,o.fO,o.Dz,o.as,o.nj,a.H8,c.lW,o.ge,o.ev,o.XQ,o.Gk,l.Hw,u.i$,r.sg,h.w,d.KE,p.Nt,s.Fj,s.JJ,s.oH,u.Tg],pipes:[g.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),t})()},30570:function(t,e,i){"use strict";i.d(e,{Y:function(){return u}});var n=i(33642),s=i(84608),o=i(88426),r=i(67033),a=i(31572),c=i(48160),l=i(20247);let u=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.facilitiesManager=i,this.notificator=n,this.translate=s,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new r.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(t){this.force=t.force,t.deleted?this.onConfirm():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(s.so),a.Y36(s.WI),a.Y36(n.IQ),a.Y36(o.V6),a.Y36(c.sK))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-delete-facility-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","facilities")("relations",e.relations))},directives:[l.e],styles:[""]}),t})()},43491:function(t,e,i){"use strict";i.d(e,{P:function(){return u}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),l=i(20247);let u=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.groupService=s,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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,this.groupService.deleteGroups(this.data.groups.map(t=>t.id),this.force).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(t){this.force=t.force,t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(c.sK),a.Y36(r.ff))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-delete-group-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","groups")("relations",e.relations))},directives:[l.e],styles:[""]}),t})()},75954:function(t,e,i){"use strict";i.d(e,{_:function(){return it}});var n=i(84608),s=i(33642),o=i(84140),r=i(10896),a=i(88426),c=i(31572),l=i(48160),u=i(61511),h=i(15980),d=i(67806),p=i(55109);const g=["*"];let f=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:g,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(t,e){1&t&&(c.F$t(),c.TgZ(0,"div",0),c.TgZ(1,"span",1),c._uU(2),c.qZA(),c.TgZ(3,"div",2),c.Hsn(4),c.qZA(),c.qZA(),c.TgZ(5,"div",3),c._UZ(6,"span",4),c.TgZ(7,"div",5),c._uU(8),c.qZA(),c.qZA()),2&t&&(c.xp6(2),c.hij("",e.label,":"),c.xp6(6),c.hij(" ",e.description," "))},styles:[""]}),t})();var m=i(66283),b=i(80340),_=i(16073),w=i(29236),A=i(4786),y=i(71522),v=i(30725),T=i(10901),C=i(36922),E=i(43691),S=i(65050);let k=(()=>{class t{constructor(t){this.translateService=t}transform(t){switch(t){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+t);default:return t}}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(l.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormItemDisabled",type:t,pure:!0}),t})(),I=(()=>{class t{constructor(t){this.translateService=t}transform(t){switch(t){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+t);default:return t}}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(l.sK,16))},t.\u0275pipe=c.Yjl({name:"applicationFormItemHidden",type:t,pure:!0}),t})();function R(t,e){1&t&&c._UZ(0,"mat-spinner",7)}function x(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"section"),c.TgZ(5,"mat-checkbox",21),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(3).applicationFormItem.updatable=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(3);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.updatable)}}function O(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function P(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function D(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t.value),c.xp6(1),c.hij(" ",t.displayName," ")}}function M(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",12),c.TgZ(1,"mat-form-field",12),c.TgZ(2,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(3).applicationFormItem.federationAttribute=e}),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(3);c.xp6(2),c.Q6J("ngModel",t.applicationFormItem.federationAttribute)}}function L(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"section"),c.TgZ(5,"mat-checkbox",21),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.required=e}),c.qZA(),c.qZA(),c.qZA(),c.YNc(6,x,6,7,"div",16),c.TgZ(7,"app-edit-application-form-item-line",11),c.ALo(8,"translate"),c.ALo(9,"translate"),c.TgZ(10,"mat-form-field",12),c.TgZ(11,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.perunSourceAttribute=e}),c.YNc(12,O,2,2,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(13,"app-edit-application-form-item-line",11),c.ALo(14,"translate"),c.ALo(15,"translate"),c.TgZ(16,"mat-form-field",12),c.TgZ(17,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.perunDestinationAttribute=e}),c.YNc(18,P,2,2,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(19,"app-edit-application-form-item-line",11),c.ALo(20,"translate"),c.ALo(21,"translate"),c.TgZ(22,"mat-form-field",12),c.TgZ(23,"mat-select",22),c.NdJ("selectionChange",function(){return c.CHM(t),c.oxw(2).federationAttributeschanged()})("valueChange",function(e){return c.CHM(t),c.oxw(2).federationAttribute=e}),c.YNc(24,D,2,2,"mat-option",18),c.qZA(),c.qZA(),c.YNc(25,M,3,1,"div",23),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",c.lcZ(3,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.required),c.xp6(1),c.Q6J("ngIf",t.typesWithUpdatable.indexOf(t.applicationFormItem.type)>-1),c.xp6(1),c.Q6J("label",c.lcZ(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",c.lcZ(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.perunSourceAttribute),c.xp6(1),c.Q6J("ngForOf",t.sourceAttributes),c.xp6(1),c.Q6J("label",c.lcZ(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",c.lcZ(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.perunDestinationAttribute),c.xp6(1),c.Q6J("ngForOf",t.destinationAttributes),c.xp6(1),c.Q6J("label",c.lcZ(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",c.lcZ(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.federationAttribute),c.xp6(1),c.Q6J("ngForOf",t.federationAttributes),c.xp6(1),c.Q6J("ngIf","custom"===t.federationAttribute)}}function N(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.regex=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.regex)}}function z(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemDisabled"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function Z(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(t),c.oxw(3).disabledDependencyItem=e}),c.qZA()}if(2&t){const t=c.oxw(3);c.Q6J("item",t.disabledDependencyItem)("items",t.possibleDependencyItems)}}function B(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw(2).applicationFormItem.disabled=e}),c.YNc(6,z,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(7,"app-edit-application-form-item-line",11),c.ALo(8,"translate"),c.ALo(9,"translate"),c.TgZ(10,"div",12),c.YNc(11,Z,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",c.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.disabled),c.xp6(1),c.Q6J("ngForOf",t.disabledValues),c.xp6(1),c.Q6J("label",c.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",c.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==t.disabledDependencyItem)}}function q(t,e){if(1&t&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemHidden"),c.qZA()),2&t){const t=e.$implicit;c.Q6J("value",t),c.xp6(1),c.hij(" ",c.lcZ(2,2,t)," ")}}function F(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(t),c.oxw(2).hiddenDependencyItem=e}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("item",t.hiddenDependencyItem)("items",t.possibleDependencyItems)}}function U(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",26),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),c.xp6(4),c.Q6J("cdkTextareaAutosize",!0)("ngModel",e.applicationFormItem.i18n[t].label)}}function H(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(6,"app-edit-application-form-item-line",11),c.ALo(7,"translate"),c.ALo(8,"translate"),c.TgZ(9,"mat-form-field",12),c.TgZ(10,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].help=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(11,"app-edit-application-form-item-line",11),c.ALo(12,"translate"),c.ALo(13,"translate"),c.TgZ(14,"mat-form-field",12),c.TgZ(15,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].errorMessage=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].label),c.xp6(1),c.Q6J("label",c.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",c.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].help),c.xp6(1),c.Q6J("label",c.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",c.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].errorMessage)}}function G(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(t);const i=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[i].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",e.applicationFormItem.i18n[t].label)}}function j(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.TgZ(3,"mat-form-field"),c.TgZ(4,"input",13),c.NdJ("ngModelChange",function(t){return e.$implicit[0]=t}),c.qZA(),c.qZA(),c._uU(5),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field"),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(t){return e.$implicit[1]=t}),c.qZA(),c.qZA(),c.TgZ(9,"button",35),c.NdJ("click",function(){const e=c.CHM(t).$implicit,i=c.oxw(2).$implicit;return c.oxw(2).removeOption(e,i)}),c.ALo(10,"translate"),c.TgZ(11,"mat-icon"),c._uU(12,"clear"),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",c.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),c.xp6(3),c.Q6J("ngModel",t[0]),c.xp6(1),c.hij(" ",c.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),c.xp6(3),c.Q6J("ngModel",t[1]),c.xp6(1),c.s9C("matTooltip",c.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Y(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",27),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",28),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"div",29),c.TgZ(8,"button",30),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).sortOptionsAZ(e)}),c.TgZ(9,"i",31),c._uU(10,"arrow_downward"),c.qZA(),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.TgZ(13,"button",32),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).sortOptionsZA(e)}),c.TgZ(14,"i",31),c._uU(15,"arrow_upward"),c.qZA(),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.qZA(),c.YNc(18,j,13,11,"div",33),c.TgZ(19,"button",34),c.NdJ("click",function(){c.CHM(t);const e=c.oxw().$implicit;return c.oxw(2).addOption(e)}),c._uU(20),c.ALo(21,"translate"),c.qZA(),c.qZA()}if(2&t){const t=c.oxw().$implicit,e=c.oxw(2);c.xp6(2),c.hij("",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),c.xp6(3),c.hij(" ",c.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),c.xp6(6),c.hij(" ",c.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),c.xp6(5),c.hij(" ",c.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),c.xp6(2),c.Q6J("ngForOf",e.options[t]),c.xp6(2),c.hij(" ",c.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const K=function(){return["HEADING","HTML_COMMENT"]},V=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},$=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},J=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function Q(t,e){if(1&t&&(c.TgZ(0,"mat-tab",10),c.ALo(1,"translate"),c.ALo(2,"uppercase"),c.YNc(3,U,6,8,"div",16),c.YNc(4,H,16,21,"div",16),c.YNc(5,G,6,7,"div",16),c.YNc(6,Y,22,16,"div",16),c.qZA()),2&t){const t=e.$implicit,i=c.oxw(2);c.s9C("label",c.lcZ(1,5,c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+t))),c.xp6(3),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(9,K))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(10,V))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(11,$))),c.xp6(1),c.Q6J("ngIf",i.isApplicationFormItemOfType(c.DdM(12,J)))}}const W=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},X=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function tt(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",8),c.TgZ(1,"mat-tab-group",9),c.TgZ(2,"mat-tab",10),c.ALo(3,"translate"),c.TgZ(4,"app-edit-application-form-item-line",11),c.ALo(5,"translate"),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field",12),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw().applicationFormItem.shortname=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(9,"app-edit-application-form-item-line",11),c.ALo(10,"translate"),c.ALo(11,"translate"),c._uU(12),c.ALo(13,"applicationFormItemType"),c.qZA(),c.TgZ(14,"app-edit-application-form-item-line",11),c.ALo(15,"translate"),c.ALo(16,"translate"),c.TgZ(17,"section"),c.TgZ(18,"mat-checkbox",14),c.NdJ("change",function(){return c.CHM(t),c.oxw().onChangingType("INITIAL")}),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-checkbox",15),c.NdJ("change",function(){return c.CHM(t),c.oxw().onChangingType("EXTENSION")}),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(24,L,26,33,"div",16),c.YNc(25,N,6,7,"div",16),c.YNc(26,B,12,15,"div",16),c.TgZ(27,"app-edit-application-form-item-line",11),c.ALo(28,"translate"),c.ALo(29,"translate"),c.TgZ(30,"mat-form-field",12),c.TgZ(31,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(t),c.oxw().applicationFormItem.hidden=e}),c.YNc(32,q,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(33,"app-edit-application-form-item-line",11),c.ALo(34,"translate"),c.ALo(35,"translate"),c.TgZ(36,"div",12),c.YNc(37,F,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA(),c.YNc(38,Q,7,13,"mat-tab",20),c.qZA(),c.qZA()}if(2&t){const t=c.oxw();c.xp6(2),c.s9C("label",c.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),c.xp6(2),c.Q6J("label",c.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",c.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.shortname),c.xp6(1),c.Q6J("label",c.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",c.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),c.xp6(3),c.hij(" ",c.lcZ(13,34,t.applicationFormItem.type)," "),c.xp6(2),c.Q6J("label",c.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",c.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",t.applicationFormItem.applicationTypes.includes("INITIAL")),c.xp6(1),c.hij(" ",c.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),c.xp6(2),c.Q6J("ngModel",t.applicationFormItem.applicationTypes.includes("EXTENSION")),c.xp6(1),c.hij(" ",c.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),c.xp6(2),c.Q6J("ngIf",t.isApplicationFormItemOfType(c.DdM(52,W))),c.xp6(1),c.Q6J("ngIf",t.isApplicationFormItemOfType(c.DdM(53,X))),c.xp6(1),c.Q6J("ngIf",t.typesWithDisabled.indexOf(t.applicationFormItem.type)>-1),c.xp6(1),c.Q6J("label",c.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",c.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),c.xp6(4),c.Q6J("value",t.applicationFormItem.hidden),c.xp6(1),c.Q6J("ngForOf",t.hiddenValues),c.xp6(1),c.Q6J("label",c.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",c.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==t.hiddenDependencyItem),c.xp6(1),c.Q6J("ngForOf",t.languages)}}class et{constructor(t,e){this.value=e,this.displayName=t}}let it=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.attributesManager=i,this.translateService=n,this.store=s,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=r.Sx),this.disabledDependencyItem=this.data.allItems.find(t=>t.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=r.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,o.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(t=>{this.attributeDefinitions=t,this.getDestinationAndSourceAttributes(),this.loading=!1},()=>this.loading=!1),this.getFederationAttributes(),this.getFederationAttribute(),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[r.Sx].concat(this.data.allItems.filter(t=>this.dependencyTypes.indexOf(t.type)>-1).filter(t=>t.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===r.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===r.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(t){if(this.applicationFormItem.applicationTypes.includes(t)){const e=this.applicationFormItem.applicationTypes.indexOf(t);this.applicationFormItem.applicationTypes.splice(e,1)}else this.applicationFormItem.applicationTypes.push(t)}getDestinationAndSourceAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(t=>{this.sourceAttributes.push(new et(t,"")),this.destinationAttributes.push(new et(t,""))});for(const t of this.attributeDefinitions)"user"===t.entity.toLowerCase()||"member"===t.entity.toLowerCase()?(this.sourceAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName)),this.destinationAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName))):("vo"===t.entity.toLowerCase()||"group"===t.entity.toLowerCase()&&this.data.group)&&this.sourceAttributes.push(new et(t.friendlyName+" ("+t.entity+" / "+this.getDefinition(t)+")",t.namespace+":"+t.friendlyName))}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(t=>{this.federationAttributes.push(new et(t,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(t=>{this.federationAttributes.push(new et(t,"custom")),this.federationAttributes.push(new et("Display name","displayName")),this.federationAttributes.push(new et("Common name","cn")),this.federationAttributes.push(new et("Mail","mail")),this.federationAttributes.push(new et("Organization","o")),this.federationAttributes.push(new et("Level of Assurance (LoA)","loa")),this.federationAttributes.push(new et("First name","givenName")),this.federationAttributes.push(new et("Surname","sn")),this.federationAttributes.push(new et("EPPN","eppn")),this.federationAttributes.push(new et("IdP Category","md_entityCategory")),this.federationAttributes.push(new et("IdP Affiliation","affiliation")),this.federationAttributes.push(new et("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.federationAttributes.push(new et("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.federationAttributes.push(new et("schacHomeOrganization","schacHomeOrganization")),this.federationAttributes.push(new et("Login","uid")),this.federationAttributes.push(new et("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){if(this.applicationFormItem.federationAttribute){for(const t of this.federationAttributes)if(t.value===this.applicationFormItem.federationAttribute)return void(this.federationAttribute=t.value);this.federationAttribute="custom"}}federationAttributeschanged(){this.applicationFormItem.federationAttribute="custom"!==this.federationAttribute?this.federationAttribute:""}getDefinition(t){const e=t.namespace.split(":");return null===e[4]?"null":e[4]}addOption(t){this.options[t].push(["",""])}removeOption(t,e){this.options[e]=this.options[e].filter(e=>!(e[0]===t[0]&&e[1]===t[1]))}updateOption(t){let e="";if(this.options&&this.options[t])for(const i of this.options[t])""!==i[0]&&""!==i[1]&&(e=""===e?i[0]+"#"+i[1]:e+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n[t].options=e}updateOptions(){for(const t of this.languages)this.updateOption(t)}copy(t,e){e.applicationTypes=t.applicationTypes,e.federationAttribute=t.federationAttribute,e.forDelete=t.forDelete;for(const i of this.languages)e.i18n[i].errorMessage=t.i18n[i].errorMessage,e.i18n[i].help=t.i18n[i].help,e.i18n[i].label=t.i18n[i].label,e.i18n[i].options=t.i18n[i].options;e.id=t.id,e.ordnum=t.ordnum,e.perunDestinationAttribute=t.perunDestinationAttribute,e.perunSourceAttribute=t.perunSourceAttribute,e.regex=t.regex,e.required=t.required,e.shortname=t.shortname,e.type=t.type,e.updatable=t.updatable,e.disabled=t.disabled,e.hidden=t.hidden,e.disabledDependencyItemId=t.disabledDependencyItemId,e.hiddenDependencyItemId=t.hiddenDependencyItemId}sortOptionsAZ(t){this.options[t]=this.options[t].sort((t,e)=>t[1]>e[1]?1:t[1]t[1]>e[1]?-1:t[1]-1}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(n.so),c.Y36(n.WI),c.Y36(s.H8),c.Y36(l.sK),c.Y36(a.d6))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-edit-application-form-item-dialog"]],decls:14,vars:16,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"div",0),c.TgZ(2,"h1",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.YNc(5,R,1,0,"mat-spinner",2),c.YNc(6,tt,39,54,"div",3),c.TgZ(7,"div",4),c.TgZ(8,"button",5),c.NdJ("click",function(){return e.cancel()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"button",6),c.NdJ("click",function(){return e.submit()}),c._uU(12),c.ALo(13,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.Gre("",e.theme," h-100"),c.xp6(3),c.AsE("",c.lcZ(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",e.applicationFormItem.shortname,""),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(3),c.hij(" ",c.lcZ(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),c.xp6(2),c.Q6J("disabled",e.loading),c.xp6(1),c.hij(" ",c.lcZ(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.uh,u.O5,n.H8,h.lW,d.$g,n.xY,p.SP,p.uX,f,m.KE,b.Nt,_.Fj,_.JJ,_.On,w.oG,A.gD,u.sg,y.ey,v.Y,T.IC,C.gM,E.Hw],pipes:[l.X$,S.c,k,I,u.gd],styles:[""]}),t})()},79592:function(t,e,i){"use strict";i.d(e,{H:function(){return P}});var n=i(33642),s=i(84608),o=i(88426),r=i(67033),a=i(84140),c=i(61189),l=i(61511),u=i(31572),h=i(48160),d=i(15980),p=i(67806),g=i(43691),f=i(36922),m=i(22196);function b(t,e){1&t&&u._UZ(0,"mat-spinner",6)}function _(t,e){1&t&&(u.TgZ(0,"th",17),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function w(t,e){if(1&t&&(u.TgZ(0,"td",18),u._uU(1),u.qZA()),2&t){const t=e.$implicit;u.xp6(1),u.hij(" ",t.user.id," ")}}function A(t,e){1&t&&(u.TgZ(0,"th",17),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function y(t,e){if(1&t&&(u.TgZ(0,"td",18),u._uU(1),u.ALo(2,"userFullName"),u.qZA()),2&t){const t=e.$implicit;u.xp6(1),u.hij(" ",u.lcZ(2,1,t.user)," ")}}function v(t,e){1&t&&(u.TgZ(0,"th",17),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function T(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",20),u.NdJ("click",function(){u.CHM(t);const e=u.oxw().$implicit;return u.oxw(2).changeExpiration(e)}),u.TgZ(1,"mat-icon"),u._uU(2," today "),u.qZA(),u.qZA()}}function C(t,e){if(1&t&&(u.TgZ(0,"td",18),u.TgZ(1,"span"),u._uU(2),u.qZA(),u.YNc(3,T,3,0,"button",19),u.qZA()),2&t){const t=e.$implicit,i=u.oxw(2);u.xp6(2),u.Oqu(i.parseDate(t.validityTo)),u.xp6(1),u.Q6J("ngIf",i.isExpirationAuthorized(t))}}function E(t,e){1&t&&u._UZ(0,"th",17)}function S(t,e){1&t&&(u.TgZ(0,"mat-icon",25),u._uU(1,"clear"),u.qZA())}function k(t,e){1&t&&(u.TgZ(0,"mat-icon"),u._uU(1,"settings_backup_restore"),u.qZA())}function I(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"td",18),u.TgZ(1,"div",21),u.ALo(2,"translate"),u.TgZ(3,"button",22),u.NdJ("click",function(){const e=u.CHM(t).$implicit;return u.oxw(2).markSponsor(e)}),u.YNc(4,S,2,0,"mat-icon",23),u.YNc(5,k,2,0,"mat-icon",24),u.qZA(),u.qZA(),u.qZA()}if(2&t){const t=e.$implicit,i=u.oxw(2);u.xp6(1),u.s9C("matTooltip",u.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),u.Q6J("matTooltipPosition","above")("matTooltipDisabled",i.isRemoveAuthorized(t)),u.xp6(2),u.Q6J("disabled",!i.isRemoveAuthorized(t)),u.xp6(1),u.Q6J("ngIf",!i.sponsorsToRemove.has(t.user.id)),u.xp6(1),u.Q6J("ngIf",i.sponsorsToRemove.has(t.user.id))}}function R(t,e){1&t&&u._UZ(0,"tr",26)}function x(t,e){if(1&t&&u._UZ(0,"tr",27),2&t){const t=e.$implicit,i=u.oxw(2);u.ekj("make-red",i.sponsorsToRemove.has(t.user.id))}}function O(t,e){if(1&t&&(u.TgZ(0,"div",7),u.TgZ(1,"table",8),u.ynx(2,9),u.YNc(3,_,3,3,"th",10),u.YNc(4,w,2,1,"td",11),u.BQk(),u.ynx(5,12),u.YNc(6,A,3,3,"th",10),u.YNc(7,y,3,3,"td",11),u.BQk(),u.ynx(8,13),u.YNc(9,v,3,3,"th",10),u.YNc(10,C,4,2,"td",11),u.BQk(),u.ynx(11,14),u.YNc(12,E,1,0,"th",10),u.YNc(13,I,6,8,"td",11),u.BQk(),u.YNc(14,R,1,0,"tr",15),u.YNc(15,x,1,2,"tr",16),u.qZA(),u.qZA()),2&t){const t=u.oxw();u.xp6(1),u.Q6J("dataSource",t.dataSource),u.xp6(13),u.Q6J("matHeaderRowDef",t.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",t.displayedColumns)}}let P=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.dialogRef=t,this.data=e,this.memberService=i,this.userService=n,this.notificator=s,this.authResolver=o,this.translate=r,this.dialog=a,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new r.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(t){this.sponsorsToRemove.has(t.user.id)?this.sponsorsToRemove.delete(t.user.id):this.sponsorsToRemove.add(t.user.id)}removeSponsors(t){if(0===t.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const e=t.pop();this.memberService.removeSponsor(this.data.member.id,e).subscribe(()=>{this.removeSponsors(t)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const t=Array.from(this.sponsorsToRemove);this.removeSponsors(t)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(t){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[t.user])}isExpirationAuthorized(t){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[t.user,this.vo])}parseDate(t){return null===t?"Never expire":(0,l.p6)(t,"d.M.y","en")}changeExpiration(t){const e=(0,a.kZ)();e.width="400px",e.data={memberId:this.data.member.id,sponsor:t},this.dialog.open(c.hd,e).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(t=>{this.sponsors=t,this.dataSource=new r.by(this.sponsors),this.loading=!1}))})}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(s.so),u.Y36(s.WI),u.Y36(n.uq),u.Y36(n.Fv),u.Y36(o.V6),u.Y36(o.x4),u.Y36(h.sK),u.Y36(s.uw))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div"),u.YNc(4,b,1,0,"mat-spinner",1),u.YNc(5,O,16,3,"div",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return e.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return e.onSubmit()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),u.xp6(2),u.Tol(e.theme),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(3),u.hij(" ",u.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),u.xp6(2),u.Q6J("disabled",e.loading||0===e.sponsorsToRemove.size),u.xp6(1),u.hij(" ",u.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[s.uh,l.O5,s.H8,d.lW,p.$g,s.xY,r.BZ,r.w1,r.fO,r.Dz,r.as,r.nj,r.ge,r.ev,g.Hw,f.gM,r.XQ,r.Gk],pipes:[h.X$,m.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),t})()},88690:function(t,e,i){"use strict";i.d(e,{R:function(){return T}});var n=i(84608),s=i(16073),o=i(33642),r=i(88426),a=i(31572),c=i(48160),l=i(61511),u=i(15980),h=i(67806),d=i(66283),p=i(80340),g=i(4786),f=i(71522);function m(t,e){1&t&&a._UZ(0,"mat-spinner",6)}function b(t,e){1&t&&(a.TgZ(0,"div",14),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function _(t,e){1&t&&(a.TgZ(0,"div",14),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function w(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function A(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function y(t,e){if(1&t&&(a.TgZ(0,"mat-option",15),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"uppercase"),a.qZA()),2&t){const t=e.$implicit;a.s9C("value",t),a.xp6(1),a.Oqu(a.lcZ(2,2,a.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t)))}}function v(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",7),a.YNc(1,b,3,3,"div",8),a.YNc(2,_,3,3,"div",8),a.TgZ(3,"mat-form-field",9),a._UZ(4,"input",10),a.ALo(5,"translate"),a.YNc(6,w,3,3,"mat-error",11),a.qZA(),a.TgZ(7,"mat-form-field",9),a._UZ(8,"textarea",10),a.ALo(9,"translate"),a.YNc(10,A,3,3,"mat-error",11),a.qZA(),a.TgZ(11,"mat-form-field",9),a.TgZ(12,"mat-label"),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"mat-select",12),a.NdJ("valueChange",function(e){return a.CHM(t),a.oxw().currentLanguage=e}),a.YNc(16,y,4,6,"mat-option",13),a.qZA(),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",!t.data.groupId),a.xp6(1),a.Q6J("ngIf",t.data.groupId),a.xp6(2),a.s9C("placeholder",a.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),a.Q6J("formControl",t.name),a.xp6(2),a.Q6J("ngIf",t.name.invalid),a.xp6(2),a.s9C("placeholder",a.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),a.Q6J("formControl",t.emailForm),a.xp6(2),a.Q6J("ngIf",t.emailForm.invalid),a.xp6(3),a.Oqu(a.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),a.xp6(2),a.Q6J("value",t.currentLanguage),a.xp6(1),a.Q6J("ngForOf",t.languages)}}let T=(()=>{class t{constructor(t,e,i,n,o,r){this.dialogRef=t,this.data=e,this.registrarManager=i,this.notificator=n,this.translate=o,this.store=r,this.emailForm=new s.NI("",[s.kI.required,s.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new s.NI("",s.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(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.tk),a.Y36(r.V6),a.Y36(c.sK),a.Y36(r.d6))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,m,1,0,"mat-spinner",1),a.YNc(5,v,17,17,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return e.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return e.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),a.xp6(2),a.Q6J("disabled",e.emailForm.invalid||e.name.invalid||e.loading),a.xp6(1),a.hij(" ",a.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.uh,l.O5,n.H8,u.lW,h.$g,n.xY,d.KE,p.Nt,s.Fj,s.Q7,s.JJ,s.oH,d.hX,g.gD,l.sg,d.TO,f.ey],pipes:[c.X$,l.gd],styles:[""]}),t})()},57820:function(t,e,i){"use strict";i.d(e,{c:function(){return I}});var n=i(84608),s=i(16073),o=i(56238),r=i(79996),a=i(17),c=i(88426),l=i(33642),u=i(31572),h=i(48160),d=i(54810),p=i(61511),g=i(15980),f=i(36922),m=i(39571),b=i(66283),_=i(80340),w=i(40084),A=i(71522),y=i(67806);function v(t,e){1&t&&(u.TgZ(0,"mat-radio-button",12),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function T(t,e){1&t&&(u.TgZ(0,"mat-radio-button",13),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function C(t,e){1&t&&(u.TgZ(0,"app-alert",14),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function E(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"mat-option",20),u.NdJ("click",function(){const e=u.CHM(t).$implicit;return u.oxw(2).selectedGroup=e}),u.TgZ(1,"span"),u._uU(2),u.qZA(),u.qZA()}if(2&t){const t=e.$implicit;u.Q6J("value",t),u.xp6(2),u.Oqu(t.name)}}function S(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"mat-form-field",15),u.TgZ(1,"input",16),u.NdJ("change",function(){return u.CHM(t),u.oxw().selectedGroup=null}),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"mat-autocomplete",17,18),u.YNc(5,E,3,2,"mat-option",19),u.ALo(6,"async"),u.qZA(),u.qZA()}if(2&t){const t=u.MAs(4),e=u.oxw();u.Q6J("@openClose","toGroup"===e.moveOption?"open":"closed"),u.xp6(1),u.s9C("placeholder",u.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),u.Q6J("matAutocomplete",t)("formControl",e.otherGroupsCtrl),u.xp6(2),u.Q6J("displayWith",e.displayFn),u.xp6(2),u.Q6J("ngForOf",u.lcZ(6,8,e.filteredGroups))}}function k(t,e){1&t&&u._UZ(0,"mat-spinner",21)}let I=(()=>{class t{constructor(t,e,i,n,o,r,a){this.dialogRef=t,this.data=e,this.groupService=i,this.notificator=n,this.translate=o,this.apiRequest=r,this.authResolver=a,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new s.NI(null,[s.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(t=>this.successMessage=t),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(t=>this.errorMessage=t)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(t=>{this.otherGroups=t.filter(t=>t.id!==this.data.group.id&&"members"!==t.name&&this.canMove(t)),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,o.O)(""),(0,r.U)(t=>t?this._filterGroups(t):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(t){return t?t.name:t}_filterGroups(t){if("object"==typeof t)return[];const e=t.toLowerCase();return t?this.otherGroups.filter(t=>t.name.toLowerCase().indexOf(e)>-1):this.otherGroups}canMove(t){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[t,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,t])}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)},t=>{this.notificator.showRPCError(t,this.errorMessage),this.dialogRef.close(!1)})}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(n.so),u.Y36(n.WI),u.Y36(l.ff),u.Y36(c.V6),u.Y36(h.sK),u.Y36(c.F5),u.Y36(c.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",1),u.TgZ(5,"p"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.TgZ(8,"mat-radio-group",2),u.NdJ("ngModelChange",function(t){return e.moveOption=t}),u.YNc(9,v,3,3,"mat-radio-button",3),u.YNc(10,T,3,3,"mat-radio-button",4),u.qZA(),u.YNc(11,C,3,3,"app-alert",5),u.YNc(12,S,7,10,"mat-form-field",6),u.qZA(),u.YNc(13,k,1,0,"mat-spinner",7),u.TgZ(14,"div",8),u.TgZ(15,"button",9),u.NdJ("click",function(){return e.close()}),u._uU(16),u.ALo(17,"translate"),u.qZA(),u.TgZ(18,"span",10),u.ALo(19,"translate"),u.TgZ(20,"button",11),u.NdJ("click",function(){return e.confirm()}),u._uU(21),u.ALo(22,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.Tol(e.data.theme),u.xp6(2),u.AsE("",u.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",e.data.group.name,""),u.xp6(4),u.hij(" ",u.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),u.xp6(2),u.Q6J("ngModel",e.moveOption),u.xp6(1),u.Q6J("ngIf",!e.toRootOptionDisabled),u.xp6(1),u.Q6J("ngIf",!e.toGroupOptionDisabled),u.xp6(1),u.Q6J("ngIf",e.toRootOptionDisabled&&e.toGroupOptionDisabled),u.xp6(1),u.Q6J("ngIf",!e.toGroupOptionDisabled),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(3),u.hij(" ",u.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),u.xp6(2),u.s9C("matTooltip",u.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),u.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==e.selectedGroup||"toRoot"===e.moveOption),u.xp6(2),u.Q6J("disabled",(e.otherGroupsCtrl.invalid||null===e.selectedGroup)&&"toRoot"!==e.moveOption||e.loading),u.xp6(1),u.hij(" ",u.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.uh,n.xY,d.VQ,s.JJ,s.On,p.O5,n.H8,g.lW,f.gM,d.U0,m.w,b.KE,_.Nt,w.ZL,s.Fj,s.Q7,s.oH,w.XC,p.sg,A.ey,y.$g],pipes:[h.X$,p.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[a.BQ]}}),t})()},95121:function(t,e,i){"use strict";i.d(e,{m:function(){return w}});var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),l=i(15980),u=i(67806),h=i(66283),d=i(4786),p=i(71522);function g(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function f(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",t.friendlyNameParameter," ")}}function m(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"uppercase"),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",r.lcZ(2,2,r.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function b(t,e){if(1&t&&(r.TgZ(0,"mat-option",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.hij(" ",t," ")}}function _(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.TgZ(1,"mat-form-field"),r.TgZ(2,"mat-label"),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedLogin=e}),r.YNc(6,f,2,2,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(7,"mat-form-field"),r.TgZ(8,"mat-label"),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.TgZ(11,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedLang=e}),r.YNc(12,m,4,6,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(13,"mat-form-field"),r.TgZ(14,"mat-label"),r._uU(15),r.ALo(16,"translate"),r.qZA(),r.TgZ(17,"mat-select",9),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw().selectedMail=e}),r.YNc(18,b,2,2,"mat-option",10),r.qZA(),r.qZA(),r.TgZ(19,"div",11),r.TgZ(20,"p",12),r._uU(21),r.ALo(22,"translate"),r.qZA(),r.TgZ(23,"p"),r._uU(24),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(3),r.Oqu(r.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),r.xp6(2),r.Q6J("value",t.selectedLogin),r.xp6(1),r.Q6J("ngForOf",t.logins),r.xp6(3),r.Oqu(r.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),r.xp6(2),r.Q6J("value",t.selectedLang),r.xp6(1),r.Q6J("ngForOf",t.languages),r.xp6(3),r.Oqu(r.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),r.xp6(2),r.Q6J("value",t.selectedMail),r.xp6(1),r.Q6J("ngForOf",t.mails),r.xp6(3),r.Oqu(r.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),r.xp6(3),r.Oqu(t.selectedLogin.value)}}let w=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.membersManagerService=i,this.attributesManagerService=n,this.store=s,this.translate=o,this.notificator=r,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],o.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,this.selectedLogin.friendlyNameParameter,this.pwdMails.get(this.selectedMail),this.selectedLang).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.uq),r.Y36(s.H8),r.Y36(o.d6),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.YNc(4,g,1,0,"mat-spinner",2),r.qZA(),r.YNc(5,_,25,19,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"button",5),r.NdJ("click",function(){return e.onCancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",6),r.NdJ("click",function(){return e.onSubmit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),r.xp6(3),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.uh,c.O5,n.H8,l.lW,u.$g,n.xY,h.KE,h.hX,d.gD,c.sg,p.ey],pipes:[a.X$,c.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),t})()},4374:function(t,e,i){"use strict";i.d(e,{X:function(){return v}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),l=i(61511),u=i(67806),h=i(15980),d=i(22196);function p(t,e){1&t&&a._UZ(0,"th",13)}function g(t,e){if(1&t&&(a.TgZ(0,"td",14),a._uU(1),a.qZA()),2&t){const t=e.$implicit;a.xp6(1),a.hij(" ",t.id," ")}}function f(t,e){1&t&&a._UZ(0,"th",13)}function m(t,e){if(1&t&&(a.TgZ(0,"td",14),a._uU(1),a.ALo(2,"userFullName"),a.qZA()),2&t){const t=e.$implicit;a.xp6(1),a.hij(" ",a.lcZ(2,1,t.user)," ")}}function b(t,e){1&t&&a._UZ(0,"tr",15)}function _(t,e){1&t&&a._UZ(0,"tr",16)}function w(t,e){if(1&t&&(a.TgZ(0,"div",4),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",5),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"table",6),a.ynx(8,7),a.YNc(9,p,1,0,"th",8),a.YNc(10,g,2,1,"td",9),a.BQk(),a.ynx(11,10),a.YNc(12,f,1,0,"th",8),a.YNc(13,m,3,3,"td",9),a.BQk(),a.YNc(14,b,1,0,"tr",11),a.YNc(15,_,1,0,"tr",12),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,5,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),a.xp6(3),a.hij(" ",a.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),a.xp6(2),a.Q6J("dataSource",t.dataSource),a.xp6(7),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns)}}function A(t,e){1&t&&a._UZ(0,"mat-spinner",17)}function y(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",18),a.TgZ(1,"button",19),a.NdJ("click",function(){return a.CHM(t),a.oxw().onCancel()}),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"button",20),a.NdJ("click",function(){return a.CHM(t),a.oxw().onSubmit()}),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA()}if(2&t){const t=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),a.xp6(3),a.hij(" ",a.lcZ(6,4,t.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let v=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.membersService=i,this.groupService=n,this.notificator=s,this.translate=o,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t=>t.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(t=>t.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const t=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(t),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.ff),a.Y36(o.V6),a.Y36(c.sK))},t.\u0275cmp=a.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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,w,16,9,"div",1),a.YNc(5,A,1,0,"mat-spinner",2),a.YNc(6,y,7,6,"div",3),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),a.xp6(2),a.Q6J("ngIf",!e.loading),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,l.O5,n.xY,s.BZ,s.w1,s.fO,s.Dz,s.as,s.nj,s.ge,s.ev,s.XQ,s.Gk,u.$g,n.H8,h.lW],pipes:[c.X$,d.d],styles:[""]}),t})()},95909:function(t,e,i){"use strict";i.d(e,{f:function(){return u}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),l=i(20247);let u=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourcesManager=s,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(t){t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(c.sK),a.Y36(r.xk))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","resources")("disableForce",!0))},directives:[l.e],styles:[""]}),t})()},99608:function(t,e,i){"use strict";i.d(e,{o:function(){return u}});var n=i(84608),s=i(67033),o=i(88426),r=i(33642),a=i(31572),c=i(48160),l=i(20247);let u=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.force=!1,this.displayedColumns=["name"],this.relations=[],s.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new s.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(t){this.force=t.force,t.deleted?this.onDelete():this.onCancel()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(r.YF),a.Y36(c.sK))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"app-delete-entity-dialog",0),a.NdJ("deleted",function(t){return e.onSubmit(t)}),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("entityNames",e.dataSource)("entityType","organizations")("relations",e.relations))},directives:[l.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),t})()},24555:function(t,e,i){"use strict";i.d(e,{E:function(){return _}});var n=i(84608),s=i(33642),o=i(31572),r=i(61511),a=i(15980),c=i(67806),l=i(66283),u=i(80340),h=i(16073),d=i(4786),p=i(71522),g=i(48160);function f(t,e){1&t&&o._UZ(0,"mat-spinner",6)}function m(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.TgZ(3,"mat-form-field",9),o.TgZ(4,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw(2).embeddedState=e}),o.TgZ(5,"mat-option",11),o._uU(6),o.ALo(7,"translate"),o.qZA(),o.TgZ(8,"mat-option",12),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=o.oxw(2);o.xp6(1),o.hij(" ",o.lcZ(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),o.xp6(3),o.Q6J("value",t.embeddedState),o.xp6(2),o.Oqu(o.lcZ(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function b(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"div"),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-form-field"),o.TgZ(5,"input",8),o.NdJ("ngModelChange",function(e){return o.CHM(t),o.oxw().moduleName=e}),o.qZA(),o.qZA(),o.TgZ(6,"div"),o._uU(7),o.ALo(8,"translate"),o.qZA(),o.TgZ(9,"mat-form-field",9),o.TgZ(10,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw().initialState=e}),o.TgZ(11,"mat-option",11),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"mat-option",12),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"div"),o._uU(18),o.ALo(19,"translate"),o.qZA(),o.TgZ(20,"mat-form-field",9),o.TgZ(21,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(t),o.oxw().extensionState=e}),o.TgZ(22,"mat-option",11),o._uU(23),o.ALo(24,"translate"),o.qZA(),o.TgZ(25,"mat-option",12),o._uU(26),o.ALo(27,"translate"),o.qZA(),o.qZA(),o.qZA(),o.YNc(28,m,11,10,"div",13),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Oqu(o.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),o.xp6(3),o.Q6J("ngModel",t.moduleName),o.xp6(2),o.hij(" ",o.lcZ(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),o.xp6(3),o.Q6J("value",t.initialState),o.xp6(2),o.Oqu(o.lcZ(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(3),o.hij(" ",o.lcZ(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),o.xp6(3),o.Q6J("value",t.extensionState),o.xp6(2),o.Oqu(o.lcZ(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(2),o.Q6J("ngIf","group"===t.entity&&t.autoRegistrationEnabled)}}let _=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.registrarManager=i,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(t=>{this.dialogRef.close(t)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.so),o.Y36(n.WI),o.Y36(s.tk))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(t,e){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,f,1,0,"mat-spinner",1),o.YNc(5,b,29,25,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return e.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return e.submit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Tol(e.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),o.xp6(2),o.Q6J("disabled",e.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.uh,r.O5,n.H8,a.lW,c.$g,n.xY,l.KE,u.Nt,h.Fj,h.JJ,h.On,d.gD,p.ey],pipes:[g.X$],styles:[""]}),t})()},86593:function(t,e,i){"use strict";i.d(e,{C:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(88426),l=i(82819),u=i(61511),h=i(29236),d=i(43691),p=i(36922),g=i(84534),f=i(39571),m=i(48160),b=i(22196),_=i(35887);let w=(()=>{class t{transform(t){return(0,a.kN)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userEmail",type:t,pure:!0}),t})(),A=(()=>{class t{transform(t){return(0,a.$0)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userLogins",type:t,pure:!0}),t})();function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw(2);return e?i.masterToggle():null}),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function v(t,e){if(1&t&&(n.TgZ(0,"th",17),n.YNc(1,y,1,3,"mat-checkbox",18),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",t.selection.isMultipleSelection())}}function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function C(t,e){1&t&&n._UZ(0,"th",17)}function E(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," account_circle "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function S(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," traffic "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.SERVICE"))}function k(t,e){if(1&t&&(n.TgZ(0,"td",20),n.YNc(1,E,3,3,"mat-icon",22),n.YNc(2,S,3,3,"mat-icon",22),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.serviceUser),n.xp6(1),n.Q6J("ngIf",t.serviceUser)}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ID")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.id," ")}}function x(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.NAME")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userVo"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function Z(t,e){1&t&&n._UZ(0,"tr",26)}const B=function(t){return["/admin/users",t]};function q(t,e){if(1&t&&n._UZ(0,"tr",27),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsForceRouterLink",i.disableRouting?null:n.VKq(4,B,t.id))("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.VKq(6,B,t.id))}}function F(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let H=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.selection=new r.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.pageSizeOptions=a.f7}set matSort(t){this.sort=t}getDataForColumn(t,e){var i;switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"true":"false";case"name":return t?t.lastName?t.lastName:null!==(i=t.firstName)&&void 0!==i?i:"":"";case"organization":return(0,a.OV)(t);case"email":return(0,a.kN)(t);case"logins":return(0,a.lt)(t);default:return""}}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"service-user":"user";case"name":return t?(0,a.bD)(t):"";case"organization":return(0,a.OV)(t);case"email":return(0,a.kN)(t);case"logins":return(0,a.lt)(t);default:return""}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.x4),n.Y36(c.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-users-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,v,2,1,"th",4),n.YNc(5,T,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,C,1,0,"th",4),n.YNc(8,k,3,2,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,I,3,3,"th",8),n.YNc(11,R,2,1,"td",5),n.BQk(),n.ynx(12,9),n.YNc(13,x,3,3,"th",8),n.YNc(14,O,3,3,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,P,3,3,"th",8),n.YNc(17,D,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,M,3,3,"th",8),n.YNc(20,L,3,3,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,N,3,3,"th",8),n.YNc(23,z,3,3,"td",10),n.BQk(),n.YNc(24,Z,1,0,"tr",14),n.YNc(25,q,1,8,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,F,3,3,"app-alert",16),n.YNc(27,U,3,3,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.users.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.users.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.users.length))},directives:[l.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,h.oG,o.ev,d.Hw,p.gM,s.nU,o.XQ,o.Gk,g.Kd,g.YH,f.w],pipes:[m.X$,b.d,_.Z,w,A],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},65050:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(31572),s=i(48160);let o=(()=>{class t{constructor(t){this.translateService=t,this.returnData=""}transform(t){switch(t){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_HIDDEN").subscribe(t=>{this.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(t=>{this.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(t=>{this.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_SHOW").subscribe(t=>{this.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(t=>{this.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(t=>{this.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(t=>{this.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(t=>{this.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(t=>{this.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(t=>{this.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(t=>{this.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(t=>{this.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(t=>{this.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(t=>{this.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(t=>{this.returnData=t});break;default:return t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationFormItemType",type:t,pure:!0}),t})()},84650:function(t,e,i){"use strict";i.d(e,{h:function(){return o}});var n=i(31572),s=i(48160);let o=(()=>{class t{constructor(t){this.translate=t,this.returnData=""}transform(t){switch(t){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(t=>{this.returnData=`done${t}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(t=>{this.returnData=`clear${t}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(t=>{this.returnData=`contact_mail ${t}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(t=>{this.returnData=`gavel${t}`});break;default:this.returnData=t}return this.returnData}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationState",type:t,pure:!1}),t})()},99373:function(t,e,i){"use strict";i.d(e,{A:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){return t.substring(40)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"extSourceType",type:t,pure:!0}),t})()},35887:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.OV)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"userVo",type:t,pure:!0}),t})()},28780:function(t,e,i){"use strict";i.d(e,{m:function(){return St}});var n=i(61511),s=i(57629),o=i(40084),r=i(15980),a=i(29236),c=i(71522),l=i(15812),u=i(84608),h=i(27679),d=i(45001),p=i(66283),g=i(43691),f=i(80340),m=i(73005),b=i(45994),_=i(67806),w=i(54810),A=i(4786),y=i(25122),v=i(27521),T=i(71403),C=i(58623),E=i(67033),S=i(55109),k=i(36922),I=i(91010),R=i(27439),x=i(41050),O=i(10033),P=i(8055),D=i(70663),M=i(16073),L=i(24081),N=i(17),z=i(88426),Z=i(31572),B=i(84534),q=i(48160);const F=["collapse"],U=function(){return{color:"linkTextColor"}};function H(t,e){1&t&&(Z.TgZ(0,"mat-icon",14),Z._uU(1,"keyboard_arrow_right"),Z.qZA()),2&t&&Z.Q6J("ngStyle",Z.DdM(1,U))}function G(t,e){1&t&&(Z.TgZ(0,"mat-icon",14),Z._uU(1,"keyboard_arrow_down"),Z.qZA()),2&t&&Z.Q6J("ngStyle",Z.DdM(1,U))}function j(t,e){if(1&t&&(Z.TgZ(0,"span",12),Z.YNc(1,H,2,2,"mat-icon",13),Z.YNc(2,G,2,2,"mat-icon",13),Z.qZA()),2&t){const t=Z.oxw().$implicit,e=Z.oxw(2);Z.xp6(1),Z.Q6J("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),Z.xp6(1),Z.Q6J("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const Y=function(t,e){return{color:t,"border-color":e}};function K(t,e){if(1&t){const t=Z.EpF();Z.TgZ(0,"a",17),Z.NdJ("click",function(){const e=Z.CHM(t).$implicit;return Z.oxw(4).navigate(e.url)}),Z._uU(1),Z.ALo(2,"translate"),Z.qZA()}if(2&t){const t=e.$implicit,i=Z.oxw(4);Z.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:"")("ngStyle",Z.WLB(9,Y,i.linkTextColor,i.linkTextColor)),Z.xp6(1),Z.hij(" ",Z.lcZ(2,7,t.label)," ")}}function V(t,e){if(1&t&&(Z.TgZ(0,"div",15),Z.YNc(1,K,3,12,"a",16),Z.qZA()),2&t){const t=Z.oxw().$implicit;Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",null==t?null:t.children)}}function $(t,e){if(1&t){const t=Z.EpF();Z.TgZ(0,"div"),Z.TgZ(1,"a",9),Z.NdJ("click",function(){const e=Z.CHM(t).$implicit;return Z.oxw(2).navigate(e.url)}),Z._uU(2),Z.ALo(3,"translate"),Z.YNc(4,j,3,2,"span",10),Z.qZA(),Z.YNc(5,V,2,2,"div",11),Z.qZA()}if(2&t){const t=e.$implicit,i=Z.oxw(2);Z.xp6(1),Z.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:"")("ngStyle",Z.WLB(11,Y,i.linkTextColor,i.linkTextColor)),Z.xp6(1),Z.hij(" ",Z.lcZ(3,9,t.label)," "),Z.xp6(2),Z.Q6J("ngIf",t.children),Z.xp6(1),Z.Q6J("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}function J(t,e){if(1&t&&(Z.TgZ(0,"div"),Z.YNc(1,$,6,14,"div",8),Z.qZA()),2&t){const t=Z.oxw();Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",t.item.links)}}const Q=function(t,e){return{background:t,"border-top":e}},W=function(t){return{color:t}},X=function(){return{color:"currentColor"}},tt=function(t){return{background:t}};let et=(()=>{class t{constructor(t,e){this.router=t,this.store=e,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=t.url,t.events.subscribe(t=>{t instanceof s.m2&&(this.currentUrl=t.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(t,e){return new RegExp(e).test(t)}navigate(t){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(t)):this.router.navigate(t)}}return t.\u0275fac=function(e){return new(e||t)(Z.Y36(s.F0),Z.Y36(z.d6))},t.\u0275cmp=Z.Xpm({type:t,selectors:[["app-side-menu-item"]],viewQuery:function(t,e){if(1&t&&Z.Gf(F,5),2&t){let t;Z.iGM(t=Z.CRH())&&(e.collapseDiv=t.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(t,e){1&t&&(Z.TgZ(0,"div",0),Z.TgZ(1,"div",1),Z.NdJ("click",function(){return e.toggle()}),Z.TgZ(2,"div",2),Z.TgZ(3,"a",3),Z.TgZ(4,"div"),Z._UZ(5,"mat-icon",4),Z.qZA(),Z.TgZ(6,"div",5),Z._uU(7),Z.ALo(8,"translate"),Z.qZA(),Z.qZA(),Z.qZA(),Z.qZA(),Z.TgZ(9,"div"),Z.TgZ(10,"div",6),Z.YNc(11,J,2,2,"div",7),Z.qZA(),Z.qZA(),Z.qZA()),2&t&&(Z.xp6(1),Z.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(18,Q,e.item.backgroundColorCss,e.index?e.dividerStyle:"none")),Z.xp6(1),Z.Gre("entity-menu-item-link ",e.item.labelClass,""),Z.Q6J("perunWebAppsMiddleClickRouterLink",e.item.baseLink),Z.xp6(1),Z.Q6J("ngStyle",Z.VKq(21,W,e.item.textColorCss)),Z.xp6(2),Z.Q6J("ngStyle",Z.DdM(23,X))("svgIcon",e.item.icon),Z.xp6(2),Z.Oqu(Z.lcZ(8,16,e.item.label)),Z.xp6(2),Z.Q6J("@openClose",e.expanded?"open":"closed"),Z.xp6(1),Z.Gre("side-entity-menu ",e.item.linksClass,""),Z.Q6J("ngStyle",Z.VKq(24,tt,e.linkBgColor)),Z.xp6(1),Z.Q6J("ngIf",e.showLinks))},directives:[c.wG,n.PC,B.YH,g.Hw,n.O5,n.sg,n.mk],pipes:[q.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:[N.BQ,N.Ly]}}),t})(),it=(()=>{class t{transform(t){if(void 0===t.value)return"";switch(t.type){case"java.lang.String":return t.value;case"java.lang.Integer":return t.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(t.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(t.value);case"java.lang.Boolean":return t.value.toString();default:return t.value}}whenValueIsArray(t){let e="";return t.forEach(function(t){e=e.concat(t+", ")}),e}whenValueIsMap(t){let e="";return t.forEach((t,i)=>{e=e.concat(i+": "+t+", ")}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Z.Yjl({name:"anyToString",type:t,pure:!0}),t})();const nt=["collapse"],st=function(){return{color:"linkTextColor"}};function ot(t,e){1&t&&(Z.TgZ(0,"mat-icon",12),Z._uU(1,"keyboard_arrow_right"),Z.qZA()),2&t&&Z.Q6J("ngStyle",Z.DdM(1,st))}function rt(t,e){1&t&&(Z.TgZ(0,"mat-icon",12),Z._uU(1,"keyboard_arrow_down"),Z.qZA()),2&t&&Z.Q6J("ngStyle",Z.DdM(1,st))}function at(t,e){if(1&t&&(Z.TgZ(0,"span",10),Z.YNc(1,ot,2,2,"mat-icon",11),Z.YNc(2,rt,2,2,"mat-icon",11),Z.qZA()),2&t){const t=Z.oxw().$implicit,e=Z.oxw();Z.xp6(1),Z.Q6J("ngIf",!e.isActive(e.currentUrl,t.showChildrenRegex)),Z.xp6(1),Z.Q6J("ngIf",e.isActive(e.currentUrl,t.showChildrenRegex))}}const ct=function(t,e){return{color:t,"border-color":e}};function lt(t,e){if(1&t){const t=Z.EpF();Z.TgZ(0,"a",14),Z.NdJ("click",function(){const e=Z.CHM(t).$implicit;return Z.oxw(3).navigate(e.url)}),Z._uU(1),Z.ALo(2,"translate"),Z.qZA()}if(2&t){const t=e.$implicit,i=Z.oxw(3);Z.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(9,ct,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),Z.xp6(1),Z.hij(" ",Z.lcZ(2,7,t.label)," ")}}function ut(t,e){if(1&t&&(Z.TgZ(0,"div"),Z.YNc(1,lt,3,12,"a",13),Z.qZA()),2&t){const t=Z.oxw().$implicit;Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",null==t?null:t.children)}}function ht(t,e){if(1&t){const t=Z.EpF();Z.TgZ(0,"div"),Z.TgZ(1,"a",7),Z.NdJ("click",function(){const e=Z.CHM(t).$implicit;return Z.oxw().navigate(e.url)}),Z._uU(2),Z.ALo(3,"translate"),Z.YNc(4,at,3,2,"span",8),Z.qZA(),Z.YNc(5,ut,2,2,"div",9),Z.qZA()}if(2&t){const t=e.$implicit,i=Z.oxw();Z.xp6(1),Z.ekj("activated",i.isActive(i.currentUrl,t.activatedRegex)&&void 0===i.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",t.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(11,ct,i.linkTextColor,i.linkTextColor))("ngClass",i.isActive(i.currentUrl,t.activatedRegex)&&void 0!==i.item.activatedClass?i.item.activatedClass:""),Z.xp6(1),Z.hij(" ",Z.lcZ(3,9,t.label)," "),Z.xp6(2),Z.Q6J("ngIf",t.children),Z.xp6(1),Z.Q6J("ngIf",i.isActive(i.currentUrl,t.showChildrenRegex))}}const dt=function(t){return{background:t}},pt=function(t){return{color:t}},gt=function(){return{color:"currentColor"}};let ft=(()=>{class t{constructor(t,e){this.router=t,this.store=e,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.currentUrl=t.url,t.events.subscribe(t=>{t instanceof s.m2&&(this.currentUrl=t.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(t,e){return new RegExp(e).test(t)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(t){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(t)):this.router.navigate(t)}}return t.\u0275fac=function(e){return new(e||t)(Z.Y36(s.F0),Z.Y36(z.d6))},t.\u0275cmp=Z.Xpm({type:t,selectors:[["app-side-menu-root-item"]],viewQuery:function(t,e){if(1&t&&Z.Gf(nt,5),2&t){let t;Z.iGM(t=Z.CRH())&&(e.collapseDiv=t.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[Z.TTD],decls:12,vars:27,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(t,e){1&t&&(Z.TgZ(0,"div",0),Z.TgZ(1,"div",1),Z.NdJ("click",function(){return e.toggle()}),Z.TgZ(2,"div"),Z.TgZ(3,"a",2),Z.TgZ(4,"div"),Z._UZ(5,"mat-icon",3),Z.qZA(),Z.TgZ(6,"div",4),Z._uU(7),Z.ALo(8,"translate"),Z.qZA(),Z.qZA(),Z.qZA(),Z.qZA(),Z.TgZ(9,"div"),Z.TgZ(10,"div",5),Z.YNc(11,ht,6,14,"div",6),Z.qZA(),Z.qZA(),Z.qZA()),2&t&&(Z.xp6(1),Z.ekj("root-header-activated",e.isActive(e.currentUrl,e.item.baseColorClassRegex)),Z.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.VKq(20,dt,e.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",e.item.baseLink),Z.xp6(1),Z.Gre("entity-menu-item-link ",e.item.labelClass,""),Z.xp6(1),Z.Q6J("ngStyle",Z.VKq(22,pt,e.item.textColorCss)),Z.xp6(2),Z.Q6J("ngStyle",Z.DdM(24,gt))("svgIcon",e.item.icon),Z.xp6(2),Z.Oqu(Z.lcZ(8,18,e.item.label)),Z.xp6(2),Z.Q6J("@openClose",e.expanded?"open":"closed"),Z.xp6(1),Z.Gre("side-entity-menu ",e.item.linksClass,""),Z.Q6J("ngStyle",Z.VKq(25,dt,e.linkBgColor)),Z.xp6(1),Z.Q6J("ngForOf",e.item.links))},directives:[c.wG,n.PC,B.YH,g.Hw,n.sg,n.mk,n.O5],pipes:[q.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:[N.BQ,N.Ly]}}),t})();var mt=i(88975),bt=i(4253),_t=i(22727),wt=i(99373),At=i(10896),yt=i(7423),vt=i(22280),Tt=i(30146),Ct=i(85250),Et=i(84140);let St=(()=>{class t{constructor(t){this.translate=t,t.addLangs(["en","cs"])}}return t.\u0275fac=function(e){return new(e||t)(Z.LFG(q.sK))},t.\u0275mod=Z.oAB({type:t}),t.\u0275inj=Z.cJS({providers:[it,wt.A],imports:[[n.ez,s.Bz,o.Bb,f.c,p.lN,M.UX,M.u5,g.Ps,y.SJ,d.To,q.aw.forChild({}),r.ot,C.JX,E.p0,S.Nh,I.dp,r.ot,a.p9,u.Is,A.LD,T.ZX,_.Cq,b.Cv,k.AV,v.rP,l.FA,c.XK,w.Fk,h.t,c.si,m.TU,R.QW,D.T5,mt._t,R.QW,O.Hi,P.Tx,bt.Cl,_t.r,x.g,At.ez,yt.r,vt.d4,Tt.Co,Ct.ie,Et.Je],Tt.Co,o.Bb,f.c,s.Bz,M.UX,M.u5,g.Ps,y.SJ,q.aw,C.JX,E.p0,S.Nh,I.dp,r.ot,a.p9,u.Is,A.LD,T.ZX,_.Cq,b.Cv,k.AV,v.rP,l.FA,c.XK,w.Fk,h.t,R.QW,D.T5,c.si,m.TU,mt._t,O.Hi,O.Hi,d.To,P.Tx,bt.Cl,bt.Cl,bt.Cl,yt.r]}),t})();Z.B6R(L.V,[ft,n.sg,et,n.O5],[])},75585:function(t,e,i){"use strict";i.d(e,{V:function(){return u}});var n=i(88426),s=i(33642),o=i(84140),r=i(22280),a=i(67004),c=i(31572),l=i(48160);let u=(()=>{class t{constructor(t,e,i,n,s,o,r){this.translate=t,this.authResolver=e,this.store=i,this.apiRequest=n,this.attributesManager=s,this.notificator=o,this.guiAuthResolver=r,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:"^dont-use$",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.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$"}]}}parseFacility(t){return{label:t.name,baseLink:[`/facilities/${t.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(t),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(t,e){const i=(new r.r5).transform(t,e);return{label:t.name,baseLink:[i],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(i,e?"/organizations":"/facilities",t),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(t,e,i){const n=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[t],activatedRegex:`${e}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[t,"groups"],activatedRegex:`${e}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[t,"services"],activatedRegex:`${e}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[t,"members"],activatedRegex:`${e}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[t,"tags"],activatedRegex:`${e}/\\d+/resources/\\d+/tags$`}),n.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[t,"attributes"],activatedRegex:`${e}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(i)&&n.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[t,"settings"],activatedRegex:`${e}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[t,"settings","managers"],activatedRegex:`${e}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${e}/\\d+/resources/\\d+/settings`}),n}parseGroup(t){return{label:t.name,baseLink:[`/organizations/${t.voId}/groups/${t.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(t),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(t){return{label:t.name,baseLink:[`/organizations/${t.id}`],links:this.getVoLinks(t),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(t,e){return{label:(0,o.bD)(t.user),baseLink:[`/organizations/${t.voId}/members/${t.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(t,e),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(t,e,i){return{label:(0,o.bD)(t),baseLink:[e],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(t,e,i),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(t){return{label:t.name,baseLink:[`/admin/services/${t.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${t.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${t.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${t.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(t){const e=[];if(e.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${t.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${t.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${t.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])){const i=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${t.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${t.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${t.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),e.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${t.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:i,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[t])&&e.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${t.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${t.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${t.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),e.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[t])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${t.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const i=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[t]),n=this.authResolver.isManagerPagePrivileged(t),s=this.authResolver.isThisVoAdminOrObserver(t.id);if(n||i||s){const o=[];s&&o.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${t.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),n&&o.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${t.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),s&&o.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${t.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),s&&o.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${t.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),i&&o.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${t.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),e.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${t.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:o,showChildrenRegex:"/organizations/\\d+/settings"})}return e}getUserLinks(t,e,i){const n=[];return n.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[e],activatedRegex:`${i}$`}),n.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${e}/organizations`],activatedRegex:`${i}/organizations`}),n.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${e}/groups`],activatedRegex:`${i}/groups`}),n.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${e}/accounts`],activatedRegex:`${i}/accounts`}),n.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${e}/identities`],activatedRegex:`${i}/identities`}),n.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${e}/facilities`],activatedRegex:`${i}/facilities`}),n.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${e}/resources`],activatedRegex:`${i}/resources`}),n.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${e}/attributes`],activatedRegex:`${i}/attributes`}),n.push({label:"MENU_ITEMS.USER.ROLES",url:[`${e}/roles`],activatedRegex:`^${e}/roles`}),n.push({label:"MENU_ITEMS.ADMIN.SETTINGS",url:[`${e}/settings`],activatedRegex:`${i}/settings$`,children:[],showChildrenRegex:`${i}/settings`}),n[n.length-1].children.push(t.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${e}/settings/associated-users`],activatedRegex:`^${e}/settings/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${e}/settings/service-identities`],activatedRegex:`^${e}/settings/service-identities`}),n}getMemberLinks(t,e){const i=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${t.voId}/members/${t.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${t.voId}/members/${t.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${t.voId}/members/${t.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${t.voId}/members/${t.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),i.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${t.voId}/members/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),i}getFacilityLinks(t){const e=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${t.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${t.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${t.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${t.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${t.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${t.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&e.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${t.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),e.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",t.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const i=this.authResolver.isAuthorized("getBansForFacility_int_policy",[t]),n=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[t]),s=this.authResolver.isAuthorized("getOwners_Facility_policy",[t]),o=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[t]);if(i||n||s||o){const r=[];s&&r.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",t.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),n&&r.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",t.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),o&&r.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${t.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),i&&r.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",t.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),e.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",t.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:r,showChildrenRegex:"/facilities/\\d+/settings"})}return e}getGroupLinks(t){const e=[],i=[];e.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${t.voId}/groups/${t.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${t.voId}/groups/${t.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[t])&&"members"!==t.name&&e.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${t.voId}/groups/${t.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${t.voId}/groups/${t.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[t])&&e.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),e.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${t.voId}/groups/${t.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const n=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[t]),s=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[t]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[t]);return n&&s&&o&&e.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${t.voId}/groups/${t.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(t.id,a.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{i.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${t.voId}/groups/${t.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},t=>{"HttpErrorResponse"!==t.name&&this.notificator.showRPCError(t)}),this.authResolver.isManagerPagePrivileged(t)&&i.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${t.voId}/groups/${t.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${t.voId}/groups/${t.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${t.voId}/groups/${t.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==i.length&&e.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${t.voId}/groups/${t.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:i,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),e}}return t.\u0275fac=function(e){return new(e||t)(c.LFG(l.sK),c.LFG(n.x4),c.LFG(n.d6),c.LFG(n.F5),c.LFG(s.H8),c.LFG(n.V6),c.LFG(n.x4))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},24081:function(t,e,i){"use strict";i.d(e,{V:function(){return _}});var n=i(61601),s=i(75585),o=i(88426),r=i(17),a=i(31572),c=i(48958);function l(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",9),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)}}function u(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.accessItems.length-1)}}function h(t,e){if(1&t&&a._UZ(0,"app-side-menu-root-item",2),2&t){const t=a.oxw();a.Q6J("sideNav",t.sideNav)("item",t.facilityItem)}}function d(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw(2);a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.facilityItems.length-1)}}function p(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,d,2,5,"div",3),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngForOf",t.facilityItems)}}function g(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",i===n.userItems.length-1)}}function f(t,e){if(1&t&&a._UZ(0,"app-side-menu-root-item",6),2&t){const t=a.oxw();a.Q6J("sideNav",t.sideNav)("showOpen",t.adminItemOpened)("item",t.adminItem)}}function m(t,e){if(1&t&&(a.TgZ(0,"div",8),a._UZ(1,"app-side-menu-item",10),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw(2);a.Q6J("@rollInOut",void 0),a.xp6(1),a.Q6J("sideNav",n.sideNav)("item",t)("index",i)("showLinks",!0)}}function b(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,m,2,5,"div",3),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngForOf",t.adminItems)}}let _=(()=>{class t{constructor(t,e,i,n){this.sideMenuService=t,this.sideMenuItemService=e,this.authResolver=i,this.store=n,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=n.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(t=>{this.setFacilityItems(t)}),this.sideMenuService.accessItemsChange.subscribe(t=>{this.setAccessItems(t)}),this.sideMenuService.adminItemsChange.subscribe(t=>{this.setAdminItems(t)}),this.sideMenuService.userItemsChange.subscribe(t=>{this.setUserItems(t)}),this.sideMenuService.homeItemsChange.subscribe(t=>{this.setHomeItems(t)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(t){this.resetExceptHome(),this.setNewItems(this.homeItems,t)}setFacilityItems(t){this.resetExceptFacility(),this.setNewItems(this.facilityItems,t)}setAccessItems(t){this.resetExceptAccess(),this.setNewItems(this.accessItems,t)}setUserItems(t){this.userItemOpened=!0,this.resetExceptUser(),this.setNewItems(this.userItems,t)}setAdminItems(t){this.adminItemOpened=0===t.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,t)}setNewItems(t,e){const i=t.length>e.length?t.length:e.length;for(let n=0;nt.length-1)t.push(e[n]);else{if(n>e.length-1){const e=t.length;for(let i=0;i{class t{constructor(t){this.dialogRef=t}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.so))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"div",2),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"div"),n._uU(8),n.ALo(9,"translate"),n.qZA(),n.TgZ(10,"div",3),n._uU(11),n.ALo(12,"translate"),n.qZA(),n.qZA(),n.TgZ(13,"div",4),n.TgZ(14,"button",5),n.NdJ("click",function(){return e.onCancel()}),n._uU(15),n.ALo(16,"translate"),n.qZA(),n.TgZ(17,"button",6),n.NdJ("click",function(){return e.submit()}),n._uU(18),n.ALo(19,"translate"),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),n.xp6(4),n.Oqu(n.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")),n.xp6(3),n.Oqu(n.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),n.xp6(3),n.Oqu(n.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),n.xp6(4),n.hij(" ",n.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),n.xp6(3),n.hij(" ",n.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[o.uh,o.xY,o.H8,r.lW],pipes:[a.X$],styles:[""]}),t})();var l=i(88426),u=i(75954),h=i(84140),d=i(57629),p=i(61511),g=i(67806),f=i(67033),m=i(43691),b=i(36922),_=i(16073),w=i(39571),A=i(65050);const y=["table"];function v(t,e){1&t&&n._UZ(0,"mat-spinner",3)}function T(t,e){1&t&&n._UZ(0,"th",24)}function C(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"button",26),n.NdJ("mousedown",function(){return n.CHM(t),n.oxw(2).dragDisabled=!1}),n.TgZ(2,"mat-icon"),n._uU(3,"drag_indicator"),n.qZA(),n.qZA(),n.qZA()}}function E(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")))}function S(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.shortname)}}function k(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"applicationFormItemType"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.type))}}function R(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")))}function x(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",30),n._uU(2,"lock"),n.qZA(),n._UZ(3,"br"),n._uU(4),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("matTooltip",e.disabledTooltip(t)),n.xp6(3),n.hij(" ",e.disabledHiddenDependency(t,t.disabled,t.disabledDependencyItemId)," ")}}function O(t,e){if(1&t&&(n.TgZ(0,"td",28),n.YNc(1,x,5,2,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","NEVER"!==t.disabled)}}function P(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")))}function D(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",30),n._uU(2,"visibility_off"),n.qZA(),n._UZ(3,"br"),n._uU(4),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("matTooltip",e.hiddenTooltip(t)),n.xp6(3),n.hij(" ",e.disabledHiddenDependency(t,t.hidden,t.hiddenDependencyItemId)," ")}}function M(t,e){if(1&t&&(n.TgZ(0,"td",28),n.YNc(1,D,5,2,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","NEVER"!==t.hidden)}}function L(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")))}function N(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",32),n.qZA(),n.qZA())}function z(t,e){1&t&&(n.TgZ(0,"div",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_VALUE")," "))}function Z(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",34),n.qZA(),n.qZA())}function B(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",35),n._UZ(3,"br"),n._UZ(4,"input",32),n.qZA(),n.qZA())}function q(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"input",38),n._uU(2),n._UZ(3,"br"),n.qZA()),2&t){const t=e.$implicit;n.xp6(2),n.hij(" ",t,"")}}function F(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n.YNc(2,q,4,1,"div",36),n._UZ(3,"input",37),n.ALo(4,"translate"),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t)),n.xp6(1),n.s9C("value",n.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function U(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"span",39),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("innerHTML",e.getLocalizedLabel(t),n.oJD)}}function H(t,e){if(1&t&&(n.TgZ(0,"option"),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t)}}function G(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"select"),n.YNc(2,H,2,1,"option",36),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t))}}function j(t,e){1&t&&(n.TgZ(0,"div"),n._UZ(1,"textarea"),n.qZA())}function Y(t,e){if(1&t&&(n.TgZ(0,"option",43),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t)}}function K(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",32),n.qZA(),n.qZA())}function V(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div"),n.TgZ(1,"select",40),n.NdJ("ngModelChange",function(e){n.CHM(t);const i=n.oxw().$implicit;return n.oxw(2).mapForCombobox[i.id]=e}),n.YNc(2,Y,2,1,"option",41),n.TgZ(3,"option",42),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA(),n.YNc(6,K,3,0,"div",29),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.Q6J("ngModel",e.mapForCombobox[t.id]),n.xp6(1),n.Q6J("ngForOf",e.getLocalizedOptions(t)),n.xp6(2),n.Oqu(n.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")),n.xp6(2),n.Q6J("ngIf","true"===e.mapForCombobox[t.id])}}function $(t,e){if(1&t&&(n.TgZ(0,"div"),n._UZ(1,"input",44),n._uU(2),n.qZA()),2&t){const t=e.$implicit;n.xp6(2),n.hij(" ",t," ")}}function J(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n.YNc(2,$,3,1,"div",36),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.getLocalizedOptions(t))}}function Q(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",45),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Oqu(e.getLocalizedLabel(t))}}function W(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"select",46),n.TgZ(2,"option",47),n._uU(3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"option",48),n._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),n.qZA(),n.TgZ(7,"option",49),n._uU(8,"(GMT -11:00) Midway Island, Samoa"),n.qZA(),n.TgZ(9,"option",50),n._uU(10,"(GMT -10:00) Hawaii"),n.qZA(),n.TgZ(11,"option",51),n._uU(12,"(GMT -9:30) Taiohae"),n.qZA(),n.TgZ(13,"option",52),n._uU(14,"(GMT -9:00) Alaska"),n.qZA(),n.TgZ(15,"option",53),n._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),n.qZA(),n.TgZ(17,"option",54),n._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),n.qZA(),n.TgZ(19,"option",55),n._uU(20,"(GMT -6:00) Central Time (US & Canada), Mexico City"),n.qZA(),n.TgZ(21,"option",56),n._uU(22,"(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima"),n.qZA(),n.TgZ(23,"option",57),n._uU(24,"(GMT -4:30) Caracas"),n.qZA(),n.TgZ(25,"option",58),n._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),n.qZA(),n.TgZ(27,"option",59),n._uU(28,"(GMT -3:30) Newfoundland"),n.qZA(),n.TgZ(29,"option",60),n._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),n.qZA(),n.TgZ(31,"option",61),n._uU(32,"(GMT -2:00) Mid-Atlantic"),n.qZA(),n.TgZ(33,"option",62),n._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),n.qZA(),n.TgZ(35,"option",63),n._uU(36,"(GMT) Western Europe Time, London, Lisbon, Casablanca"),n.qZA(),n.TgZ(37,"option",64),n._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),n.qZA(),n.TgZ(39,"option",65),n._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),n.qZA(),n.TgZ(41,"option",66),n._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),n.qZA(),n.TgZ(43,"option",67),n._uU(44,"(GMT +3:30) Tehran"),n.qZA(),n.TgZ(45,"option",68),n._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),n.qZA(),n.TgZ(47,"option",69),n._uU(48,"(GMT +4:30) Kabul"),n.qZA(),n.TgZ(49,"option",70),n._uU(50,"(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent"),n.qZA(),n.TgZ(51,"option",71),n._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),n.qZA(),n.TgZ(53,"option",72),n._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),n.qZA(),n.TgZ(55,"option",73),n._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),n.qZA(),n.TgZ(57,"option",74),n._uU(58,"(GMT +6:30) Yangon, Mandalay"),n.qZA(),n.TgZ(59,"option",75),n._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),n.qZA(),n.TgZ(61,"option",76),n._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),n.qZA(),n.TgZ(63,"option",77),n._uU(64,"(GMT +8:45) Eucla"),n.qZA(),n.TgZ(65,"option",78),n._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),n.qZA(),n.TgZ(67,"option",79),n._uU(68,"(GMT +9:30) Adelaide, Darwin"),n.qZA(),n.TgZ(69,"option",80),n._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),n.qZA(),n.TgZ(71,"option",81),n._uU(72,"(GMT +10:30) Lord Howe Island"),n.qZA(),n.TgZ(73,"option",82),n._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),n.qZA(),n.TgZ(75,"option",83),n._uU(76,"(GMT +11:30) Norfolk Island"),n.qZA(),n.TgZ(77,"option",84),n._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),n.qZA(),n.TgZ(79,"option",85),n._uU(80,"(GMT +12:45) Chatham Islands"),n.qZA(),n.TgZ(81,"option",86),n._uU(82,"(GMT +13:00) Apia, Nukualofa"),n.qZA(),n.TgZ(83,"option",87),n._uU(84,"(GMT +14:00) Line Islands, Tokelau"),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(3),n.Oqu(n.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")))}function X(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",45),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Oqu(e.getLocalizedLabel(t))}}function tt(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"form"),n._UZ(2,"input",44),n._uU(3," example group1 "),n._UZ(4,"br"),n._UZ(5,"input",44),n._uU(6," example group2 "),n._UZ(7,"br"),n._UZ(8,"input",44),n._uU(9," example group3 "),n.qZA(),n.qZA())}function et(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,N,3,0,"div",29),n.YNc(2,z,3,3,"div",31),n.YNc(3,Z,3,0,"div",29),n.YNc(4,B,5,0,"div",29),n.YNc(5,F,5,4,"div",29),n.YNc(6,U,2,1,"div",29),n.YNc(7,G,3,1,"div",29),n.YNc(8,j,2,0,"div",29),n.YNc(9,V,7,6,"div",29),n.YNc(10,J,3,1,"div",29),n.YNc(11,Q,3,1,"div",29),n.YNc(12,W,85,3,"div",29),n.YNc(13,X,3,1,"div",29),n.YNc(14,tt,10,0,"div",29),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","TEXTFIELD"===t.type||"VALIDATED_EMAIL"===t.type||"USERNAME"===t.type),n.xp6(1),n.Q6J("ngIf","FROM_FEDERATION_HIDDEN"===t.type),n.xp6(1),n.Q6J("ngIf","FROM_FEDERATION_SHOW"===t.type),n.xp6(1),n.Q6J("ngIf","PASSWORD"===t.type),n.xp6(1),n.Q6J("ngIf","RADIO"===t.type),n.xp6(1),n.Q6J("ngIf","HEADING"===t.type||"HTML_COMMENT"===t.type),n.xp6(1),n.Q6J("ngIf","SELECTIONBOX"===t.type),n.xp6(1),n.Q6J("ngIf","TEXTAREA"===t.type),n.xp6(1),n.Q6J("ngIf","COMBOBOX"===t.type),n.xp6(1),n.Q6J("ngIf","CHECKBOX"===t.type),n.xp6(1),n.Q6J("ngIf","SUBMIT_BUTTON"===t.type),n.xp6(1),n.Q6J("ngIf","TIMEZONE"===t.type),n.xp6(1),n.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===t.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type)}}function it(t,e){1&t&&n._UZ(0,"th",24)}function nt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",89),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).openManagingGroups(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"supervised_user_circle"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function st(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,nt,4,3,"button",88),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===t.type&&!t.forDelete)}}function ot(t,e){1&t&&n._UZ(0,"th",24)}function rt(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",92),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).edit(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"edit"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function at(t,e){1&t&&(n.TgZ(0,"div",93),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function ct(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,rt,4,3,"button",90),n.YNc(2,at,3,3,"div",91),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.forDelete),n.xp6(1),n.Q6J("ngIf",t.forDelete)}}function lt(t,e){1&t&&n._UZ(0,"th",24)}function ut(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",95),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).delete(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"delete"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}function ht(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",89),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).restore(e)}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon"),n._uU(3,"settings_backup_restore"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function dt(t,e){if(1&t&&(n.TgZ(0,"td",25),n.YNc(1,ut,4,3,"button",94),n.YNc(2,ht,4,3,"button",88),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",!t.forDelete),n.xp6(1),n.Q6J("ngIf",t.forDelete)}}function pt(t,e){1&t&&n._UZ(0,"tr",96)}function gt(t,e){if(1&t&&n._UZ(0,"tr",97),2&t){const t=e.$implicit,i=n.oxw(2);n.ekj("make-green",t.id<=0)("make-red",t.forDelete)("make-yellow",-1!==i.itemsChanged.indexOf(t.id)&&!t.forDelete&&t.id>0),n.Q6J("cdkDragData",t)}}function ft(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",4),n.TgZ(1,"div",5),n.TgZ(2,"div",6),n.TgZ(3,"table",7,8),n.NdJ("cdkDropListDropped",function(e){return n.CHM(t),n.oxw().drop(e)}),n.ynx(5,9),n.YNc(6,T,1,0,"th",10),n.YNc(7,C,4,0,"td",11),n.BQk(),n.ynx(8,12),n.YNc(9,E,3,3,"th",10),n.YNc(10,S,2,1,"td",11),n.BQk(),n.ynx(11,13),n.YNc(12,k,3,3,"th",10),n.YNc(13,I,3,3,"td",11),n.BQk(),n.ynx(14,14),n.YNc(15,R,3,3,"th",15),n.YNc(16,O,2,1,"td",16),n.BQk(),n.ynx(17,17),n.YNc(18,P,3,3,"th",15),n.YNc(19,M,2,1,"td",16),n.BQk(),n.ynx(20,18),n.YNc(21,L,3,3,"th",10),n.YNc(22,et,15,14,"td",11),n.BQk(),n.ynx(23,19),n.YNc(24,it,1,0,"th",10),n.YNc(25,st,2,1,"td",11),n.BQk(),n.ynx(26,20),n.YNc(27,ot,1,0,"th",10),n.YNc(28,ct,3,2,"td",11),n.BQk(),n.ynx(29,21),n.YNc(30,lt,1,0,"th",10),n.YNc(31,dt,3,2,"td",11),n.BQk(),n.YNc(32,pt,1,0,"tr",22),n.YNc(33,gt,1,7,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(3),n.Q6J("cdkDropListDisabled",t.dragDisabled)("dataSource",t.dataSource),n.xp6(29),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns)}}function mt(t,e){1&t&&(n.TgZ(0,"app-alert",98),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let bt=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.notificator=e,this.router=i,this.translate=s,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new n.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}disabledHiddenDependency(t,e,i){let n="";if("IF_EMPTY"===e||"IF_PREFILLED"===e){const t=null===i?"":this.applicationFormItems.find(t=>t.id===i).shortname;n="IF_EMPTY"===e?`(${this.ifEmpty} ${t})`:`(${this.ifPrefilled} ${t})`}return n}disabledTooltip(t){let e;switch(t.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${e} ${this.isEmpty}`;case"IF_PREFILLED":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${e} ${this.isPrefilled}`}}hiddenTooltip(t){let e;switch(t.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${e} ${this.isEmpty}`;case"IF_PREFILLED":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(e=>e.id===t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${e} ${this.isPrefilled}`}}edit(t){const e=(0,h.kZ)();e.width="600px",e.height="600px",e.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:t,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(u._,e).afterClosed().subscribe(e=>{e&&(this.itemsChanged.push(t.id),this.applicationFormItemsChange.emit())})}delete(t){const e=(0,h.kZ)();e.width="500px",this.dialog.open(c,e).afterClosed().subscribe(e=>{e&&(t.forDelete=!0,0===t.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(t),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(t){this.dragDisabled=!0;const e=this.applicationFormItems.indexOf(t.item.data);(0,s.bA)(this.applicationFormItems,e,t.currentIndex),this.itemsChanged.push(this.applicationFormItems[t.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(t){if(t.i18n[this.translate.getDefaultLang()]){const e=t.i18n[this.translate.getDefaultLang()].options;if(null!==e&&""!==e){const t=[];for(const i of e.split("|"))t.push(i.split("#")[1]);return t}}return[]}getLocalizedLabel(t){return t.i18n[this.translate.getDefaultLang()]?t.i18n[this.translate.getDefaultLang()].label:t.shortname}restore(t){t.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.uw),n.Y36(l.V6),n.Y36(d.F0),n.Y36(a.sK))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-application-form-list"]],viewQuery:function(t,e){if(1&t&&n.Gf(y,5),2&t){let t;n.iGM(t=n.CRH())&&(e.table=t.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.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"],["class","font-italic disabled",4,"ngIf"],["type","text"],[1,"font-italic","disabled"],["disabled",""],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(t,e){1&t&&(n.YNc(0,v,1,0,"mat-spinner",0),n.YNc(1,ft,34,4,"div",1),n.YNc(2,mt,3,3,"app-alert",2)),2&t&&(n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",0!==e.applicationFormItems.length&&!e.loading),n.xp6(1),n.Q6J("ngIf",0===e.applicationFormItems.length&&!e.loading))},directives:[p.O5,g.$g,f.BZ,s.Wj,f.w1,f.fO,f.Dz,f.as,f.nj,f.ge,f.ev,r.lW,m.Hw,b.gM,_._Y,_.JL,_.F,p.sg,_.YN,_.Kr,_.EJ,_.JJ,_.On,f.XQ,f.Gk,s.Zt,w.w],pipes:[a.X$,A.c],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .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}"]}),t})()},29851:function(t,e,i){"use strict";i.d(e,{w:function(){return et}});var n=i(31572),s=i(33642),o=i(67033),r=i(84140),a=i(88426),c=i(57629),l=i(82819),u=i(61511),h=i(84534),d=i(67806),p=i(39571),g=i(48160),f=i(22196);function m(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function b(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function _(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_ID")))}function w(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.id)}}function A(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_NAME")))}function y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.name)}}function v(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_ID")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.group?t.group.id:"")}}function C(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function E(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.group?t.group.name:"")}}function S(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.type)}}function I(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.state)}}function x(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.extSourceName)}}function P(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.extSourceType)}}function M(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_USER")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.user?n.lcZ(2,1,t.user):"null"," ")}}function N(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_BY")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.hij(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function Z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.createdAt,"d.M.y"))}}function q(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.getFriendlyName(t.modifiedBy))}}function U(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT")))}function H(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.modifiedAt,"d.M.y"))}}function G(t,e){if(1&t&&(n.TgZ(0,"th",26),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.Oqu(t)}}function j(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw().$implicit;n.xp6(1),n.Oqu(t[i])}}function Y(t,e){1&t&&(n.ynx(0,29),n.YNc(1,G,2,1,"th",4),n.YNc(2,j,2,1,"td",11),n.BQk()),2&t&&n.Q6J("matColumnDef",e.$implicit)}function K(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_FEDINFO")))}function V(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.fedInfo)}}function $(t,e){1&t&&n._UZ(0,"tr",30)}function J(t,e){if(1&t&&n._UZ(0,"tr",31),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))("routerLink",i.selectApplication(t))}}function Q(t,e){1&t&&n._UZ(0,"mat-spinner",32)}function W(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND")," "))}function X(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")," "))}function tt(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,W,3,3,"app-alert",33),n.YNc(2,X,3,3,"app-alert",33),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",0===t.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.table.length)}}let et=(()=>{class t{constructor(t,e,i){this.router=t,this.authResolver=e,this.registrarManager=i,this.applications=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.displayedColumns=["id","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","createdAt","modifiedBy","modifiedAt","fedInfo"],this.loading=!1,this.table=[],this.addedColumns=new Set,this.pageSizeOptions=r.f7}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.loading=!0,this.table=[],this.initialize(),this.getApplicationsData(0)}getExportDataForColumn(t,e){var i,n,s,o;switch(e){case"id":return t.id.toString();case"voId":return t.vo.id.toString();case"voName":return t.vo.name;case"groupId":return null!==(n=null===(i=t.group)||void 0===i?void 0:i.id.toString())&&void 0!==n?n:"";case"groupName":return null!==(o=null===(s=t.group)||void 0===s?void 0:s.name)&&void 0!==o?o:"";case"type":return t.type;case"fedInfo":return t.fedInfo;case"state":return t.state;case"extSourceName":return t.extSourceName;case"extSourceType":return t.extSourceType;case"user":return t.user?(0,r.bD)(t.user):"";case"createdBy":return t.createdBy;case"createdAt":return t.createdAt;case"modifiedBy":return t.modifiedBy;case"modifiedAt":return t.modifiedAt;default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}getApplicationsData(t){if(this.applications.length===t)return void this.initialize();const e=this.applications[t],i={};i.id=e.id,i.vo=e.vo,i.group=e.group,i.type=e.type,i.fedInfo=e.fedInfo,i.state=e.state,i.extSourceName=e.extSourceName,i.extSourceType=e.extSourceType,i.extSourceLoa=e.extSourceLoa,i.user=e.user,i.createdBy=e.createdBy,i.createdAt=e.createdAt,i.modifiedBy=e.modifiedBy,i.modifiedAt=e.modifiedAt,this.registrarManager.getApplicationDataById(e.id).subscribe(e=>{for(const t of e)null!==t.formItem.i18n.en.label&&0!==t.formItem.i18n.en.label.length?(i[t.formItem.i18n.en.label]=t.value,this.addedColumns.add(t.formItem.i18n.en.label)):(i[t.shortname]=t.value,this.addedColumns.add(t.shortname));this.table.push(i),this.getApplicationsData(t+1)})}initialize(){for(const t of this.addedColumns)this.displayedColumns.push(t);this.dataSource=new o.by(this.table),this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage(),this.loading=!1}getFriendlyName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}selectApplication(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.F0),n.Y36(a.x4),n.Y36(s.tk))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-perun-web-apps-application-list-details"]],viewQuery:function(t,e){if(1&t&&n.Gf(r.l9,7),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{applications:"applications",group:"group",member:"member",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:53,vars:12,consts:[[1,"card","mt-2","w-100",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","voId"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","createdAt"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","fedInfo"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[1,"ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,3,3,"th",4),n.YNc(5,b,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,_,3,3,"th",4),n.YNc(8,w,2,1,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,A,3,3,"th",4),n.YNc(11,y,2,1,"td",5),n.BQk(),n.ynx(12,8),n.YNc(13,v,3,3,"th",4),n.YNc(14,T,2,1,"td",5),n.BQk(),n.ynx(15,9),n.YNc(16,C,3,3,"th",4),n.YNc(17,E,2,1,"td",5),n.BQk(),n.ynx(18,10),n.YNc(19,S,3,3,"th",4),n.YNc(20,k,2,1,"td",11),n.BQk(),n.ynx(21,12),n.YNc(22,I,3,3,"th",4),n.YNc(23,R,2,1,"td",11),n.BQk(),n.ynx(24,13),n.YNc(25,x,3,3,"th",4),n.YNc(26,O,2,1,"td",11),n.BQk(),n.ynx(27,14),n.YNc(28,P,3,3,"th",4),n.YNc(29,D,2,1,"td",11),n.BQk(),n.ynx(30,15),n.YNc(31,M,3,3,"th",4),n.YNc(32,L,3,3,"td",11),n.BQk(),n.ynx(33,16),n.YNc(34,N,3,3,"th",4),n.YNc(35,z,2,1,"td",11),n.BQk(),n.ynx(36,17),n.YNc(37,Z,3,3,"th",4),n.YNc(38,B,3,4,"td",11),n.BQk(),n.ynx(39,18),n.YNc(40,q,3,3,"th",4),n.YNc(41,F,2,1,"td",11),n.BQk(),n.ynx(42,19),n.YNc(43,U,3,3,"th",4),n.YNc(44,H,3,4,"td",11),n.BQk(),n.YNc(45,Y,3,1,"ng-container",20),n.ynx(46,21),n.YNc(47,K,3,3,"th",4),n.YNc(48,V,2,1,"td",11),n.BQk(),n.YNc(49,$,1,0,"tr",22),n.YNc(50,J,1,4,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.YNc(51,Q,1,0,"mat-spinner",24),n.YNc(52,tt,3,2,"div",25)),2&t&&(n.ekj("hide-table",e.loading),n.Q6J("hidden",0===e.table.length||!!e.dataSource&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(43),n.Q6J("ngForOf",e.addedColumns),n.xp6(4),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",!e.loading))},directives:[l.l,o.BZ,o.w1,o.fO,o.Dz,u.sg,o.as,o.nj,u.O5,o.ge,o.ev,o.XQ,o.Gk,h.YH,c.rH,d.$g,p.w],pipes:[g.X$,f.d,u.uU],styles:[".mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%], mat-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding:8px!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},21548:function(t,e,i){"use strict";i.d(e,{M:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),l=i(61511),u=i(43691),h=i(36922),d=i(84534),p=i(57629),g=i(39571),f=i(48160),m=i(84650),b=i(22196);function _(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function w(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function A(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function y(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.createdAt,"d.M.y"))}}function v(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function T(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",20),n._uU(2,"arrow_right_alt"),n.qZA(),n.qZA())}function C(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",21),n._uU(2,"restore"),n.qZA(),n.qZA())}function E(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",22),n._uU(2,"nat"),n.qZA(),n.qZA())}function S(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,T,3,0,"div",19),n.YNc(2,C,3,0,"div",19),n.YNc(3,E,3,0,"div",19),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","INITIAL"===t.type),n.xp6(1),n.Q6J("ngIf","EXTENSION"===t.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED"===t.type)}}function k(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",18),n._UZ(1,"span",23),n.ALo(2,"applicationState"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("outerHTML",n.lcZ(2,1,t.state),n.oJD)}}function R(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function x(t,e){if(1&t&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.hij(" ",t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length)," ")}}function O(t,e){if(1&t&&(n._uU(0),n.ALo(1,"userFullName")),2&t){const t=n.oxw().$implicit;n.hij(" ",n.lcZ(1,1,t.user)," ")}}function P(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,x,2,1,"div",24),n.YNc(2,O,2,3,"ng-template",null,25,n.W1O),n.qZA()),2&t){const t=e.$implicit,i=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===t.user)("ngIfElse",i)}}function D(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function M(t,e){1&t&&(n.TgZ(0,"div",28),n._uU(1," - "),n.qZA())}function L(t,e){if(1&t&&n._uU(0),2&t){const t=n.oxw().$implicit;n.hij(" ",t.group.name," ")}}function N(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,M,2,0,"div",26),n.YNc(2,L,1,1,"ng-template",null,27,n.W1O),n.qZA()),2&t){const t=e.$implicit,i=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===t.group)("ngIfElse",i)}}function z(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.getFriendlyName(t.modifiedBy))}}function B(t,e){1&t&&n._UZ(0,"tr",29)}function q(t,e){if(1&t&&n._UZ(0,"tr",30),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.selectApplication(t))("routerLink",i.selectApplication(t))}}function F(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let H=(()=>{class t{constructor(t){this.authResolver=t,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){this.setDataSource()}getSortDataForColumn(t,e,i){var n;switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?(0,r.bD)(t.user):t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}parseModifiedBy(t){const e=t.modifiedBy.lastIndexOf("/CN=");if(-1!==e){const i=t.modifiedBy.slice(e+4,t.modifiedBy.length).replace("/unstructuredName="," ").toLowerCase();return-1!==i.lastIndexOf("\\")?t.modifiedBy.slice(t.modifiedBy.lastIndexOf("=")+1,t.modifiedBy.length):i}return t.modifiedBy.toLowerCase()}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.applications}getFriendlyName(t){const e=t.lastIndexOf("/CN=");if(-1!==e){const i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}selectApplication(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-applications-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","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","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","user"],["matColumnDef","group"],["matColumnDef","modifiedBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],["class","font-italic text-muted",4,"ngIf","ngIfElse"],["groupName",""],[1,"font-italic","text-muted"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,_,3,3,"th",4),n.YNc(5,w,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,3,3,"th",4),n.YNc(8,y,3,4,"td",7),n.BQk(),n.ynx(9,8),n.YNc(10,v,3,3,"th",4),n.YNc(11,S,4,3,"td",7),n.BQk(),n.ynx(12,9),n.YNc(13,k,3,3,"th",4),n.YNc(14,I,3,3,"td",7),n.BQk(),n.ynx(15,10),n.YNc(16,R,3,3,"th",4),n.YNc(17,P,4,2,"td",7),n.BQk(),n.ynx(18,11),n.YNc(19,D,3,3,"th",4),n.YNc(20,N,4,2,"td",7),n.BQk(),n.ynx(21,12),n.YNc(22,z,3,3,"th",4),n.YNc(23,Z,2,1,"td",7),n.BQk(),n.YNc(24,B,1,0,"tr",13),n.YNc(25,q,1,4,"tr",14),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,F,3,3,"app-alert",15),n.YNc(27,U,3,3,"app-alert",15)),2&t&&(n.Q6J("hidden",0===e.applications.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.applications.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.applications.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,s.nU,o.ev,u.Hw,h.gM,o.XQ,o.Gk,d.YH,p.rH,g.w],pipes:[f.X$,l.uU,m.h,b.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},62284:function(t,e,i){"use strict";i.d(e,{W:function(){return k}});var n=i(33642),s=i(60611),o=i(88426),r=i(16073),a=i(61511),c=i(31572),l=i(57629),u=i(59403),h=i(66283),d=i(4786),p=i(71522),g=i(91058),f=i(51613),m=i(15980),b=i(67806),_=i(21548),w=i(29851),A=i(48160);function y(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(t),c.oxw().showAllDetails=!0}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function v(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(t),c.oxw().showAllDetails=!1}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function T(t,e){1&t&&c._UZ(0,"mat-spinner",16)}function C(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-applications-list",19),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).pageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.pageSize)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)("applications",t.applications)("displayedColumns",t.displayedColumns)("group",t.group)}}function E(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"app-perun-web-apps-application-list-details",20),c.NdJ("page",function(e){return c.CHM(t),c.oxw(2).detailPageChanged(e)}),c.qZA()}if(2&t){const t=c.oxw(2);c.Q6J("pageSize",t.detailPageSize)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)("applications",t.applications)("group",t.group)}}function S(t,e){if(1&t&&(c.TgZ(0,"div"),c.YNc(1,C,1,6,"app-applications-list",17),c.YNc(2,E,1,5,"app-perun-web-apps-application-list-details",18),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",!t.showAllDetails),c.xp6(1),c.Q6J("ngIf",t.showAllDetails)}}let k=(()=>{class t{constructor(t,e,i,n,o,r){this.groupService=t,this.registrarManager=e,this.tableConfigService=i,this.route=n,this.guiAuthResolver=o,this.store=r,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=s.Af,this.tableId=s.gB,this.routeAuth=!1}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,this.setData(["NEW","VERIFIED"])}),this.startDate=new r.NI((0,a.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new r.NI((0,a.p6)(new Date,"yyyy-MM-dd","en-GB"))})}setAuth(){0!==this.applications.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("group-getApplicationById_int_policy",[this.group]))}setData(t){this.registrarManager.getApplicationsForGroup(this.group.id,t,(0,a.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,a.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(t=>{this.applications=t,this.setAuth(),this.loading=!1})}select(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}yearAgo(){const t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="GroupApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(n.ff),c.Y36(n.tk),c.Y36(s.dB),c.Y36(l.gz),c.Y36(o.x4),c.Y36(o.d6))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:34,vars:32,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page"],[3,"pageSize","disableRouting","filterValue","applications","group","page"]],template:function(t,e){1&t&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"div"),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.select()}),c.qZA(),c.YNc(5,y,3,3,"button",2),c.YNc(6,v,3,3,"button",2),c.TgZ(7,"mat-form-field",3),c.TgZ(8,"mat-label"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"mat-select",4),c.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),c.TgZ(12,"mat-option",5),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.TgZ(15,"mat-option",6),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"mat-option",7),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-option",8),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.TgZ(24,"mat-option",9),c._uU(25),c.ALo(26,"translate"),c.qZA(),c.TgZ(27,"mat-option",10),c._uU(28),c.ALo(29,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(30,"perun-web-apps-debounce-filter",11),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.TgZ(31,"perun-web-apps-date-range",12),c.NdJ("datePicker",function(){return e.select()}),c.qZA(),c.qZA(),c.YNc(32,T,1,0,"mat-spinner",13),c.YNc(33,S,3,2,"div",14)),2&t&&(c.xp6(1),c.Oqu(c.lcZ(2,16,"VO_DETAIL.APPLICATION.TITLE")),c.xp6(4),c.Q6J("ngIf",!e.showAllDetails),c.xp6(1),c.Q6J("ngIf",e.showAllDetails),c.xp6(3),c.Oqu(c.lcZ(10,18,"VO_DETAIL.APPLICATION.TABLE_STATE")),c.xp6(2),c.Q6J("value",e.state),c.xp6(2),c.Oqu(c.lcZ(14,20,"VO_DETAIL.APPLICATION.SELECTION_ALL")),c.xp6(3),c.Oqu(c.lcZ(17,22,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),c.xp6(3),c.Oqu(c.lcZ(20,24,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),c.xp6(3),c.Oqu(c.lcZ(23,26,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),c.xp6(3),c.Oqu(c.lcZ(26,28,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),c.xp6(3),c.Oqu(c.lcZ(29,30,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),c.xp6(2),c.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),c.xp6(1),c.Q6J("startDate",e.startDate)("endDate",e.endDate),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[u.t,a.O5,h.KE,h.hX,d.gD,p.ey,g.P,f.S,m.lW,b.$g,_.M,w.w],pipes:[A.X$],styles:[""]}),t})()},11930:function(t,e,i){"use strict";i.d(e,{y:function(){return N}});var n=i(4230),s=i(88426),o=i(67004),r=i(85613),a=i(4374),c=i(33642),l=i(60611),u=i(84140),h=i(88690),d=i(16073),p=i(31572),g=i(57629),f=i(84608),m=i(61511),b=i(59403),_=i(36922),w=i(66283),A=i(4786),y=i(91058),v=i(39571),T=i(15980),C=i(71522),E=i(67806),S=i(91779),k=i(48160);function I(t,e){1&t&&(p.TgZ(0,"app-alert",14),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function R(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAddMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.synchEnabled||t.blockManualMemberAdding),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function x(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onInviteMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.synchEnabled),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function O(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemoveMembers()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.selection.isEmpty()||t.synchEnabled),p.xp6(1),p.hij(" ",p.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function P(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function D(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function M(t,e){1&t&&p._UZ(0,"mat-spinner",18)}function L(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-members-dynamic-list",19),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("voId",t.group.voId)("groupId",t.group.id)("pageSize",t.pageSize)("selection",t.selection)("displayedColumns",t.displayedColumns)("updateTable",t.updateTable)("searchString",t.searchString)("selectedStatuses",t.selectedStatuses)("selectedGroupStatuses",t.selectedGroupStatuses)("attrNames",t.memberAttrNames)}}let N=(()=>{class t{constructor(t,e,i,n,s,r,a,c,u){this.groupService=t,this.route=e,this.tableConfigService=i,this.dialog=n,this.guiAuthResolver=s,this.storeService=r,this.attributesManager=a,this.apiRequest=c,this.notificator=u,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=l.dI,this.memberAttrNames=[o.r.MEMBER_DEF_ORGANIZATION,o.r.MEMBER_DEF_MAIL,o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL,o.r.MEMBER_DEF_EXPIRATION,o.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[o.r.GROUP_SYNC_ENABLED,o.r.GROUP_LAST_SYNC_STATE,o.r.GROUP_LAST_SYNC_TIMESTAMP,o.r.GROUP_STRUCTURE_SYNC_ENABLED,o.r.GROUP_LAST_STRUCTURE_SYNC_STATE,o.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new d.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new d.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new n.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(t=>{const e=t.groupId;this.isManualAddingBlocked(t.voId,e).then(()=>this.loadPage(e))})}loadPage(t){this.groupService.getRichGroupByIdWithAttributesByNames(t,this.groupAttrNames).subscribe(t=>{this.group=t,this.synchEnabled=this.isSynchronized(),this.setAuthRights(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(t){this.searchString=t,this.updateTable=!this.updateTable}onAddMember(){const t=(0,u.kZ)();t.width="1000px",t.data={voId:this.group.voId,group:this.group,entityId:this.group.id,theme:"group-theme",type:"group"},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const t=(0,u.kZ)();t.width="450px",t.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(a.X,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const t=(0,u.kZ)();t.width="650px",t.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.R,t)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(t,e){return new Promise(i=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,!0!==this.blockManualMemberAdding?(this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(e,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,i()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),i()})):i()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),i()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return t.id="GroupMembersComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(c.ff),p.Y36(g.gz),p.Y36(l.dB),p.Y36(f.uw),p.Y36(s.x4),p.Y36(s.d6),p.Y36(c.H8),p.Y36(s.F5),p.Y36(s.V6))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:36,vars:41,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page",4,"ngIf"],["alert_type","warn"],["color","accent","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(t,e){1&t&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.YNc(3,I,3,3,"app-alert",1),p.TgZ(4,"div",2),p.TgZ(5,"perun-web-apps-refresh-button",3),p.NdJ("click",function(){return e.updateTable=!e.updateTable}),p.qZA(),p.TgZ(6,"span",4),p.ALo(7,"translate"),p.TgZ(8,"div",5),p.ALo(9,"translate"),p.YNc(10,R,3,4,"button",6),p.qZA(),p.qZA(),p.TgZ(11,"span",4),p.ALo(12,"translate"),p.YNc(13,x,3,4,"button",6),p.qZA(),p.TgZ(14,"span",4),p.ALo(15,"translate"),p.YNc(16,O,3,4,"button",7),p.qZA(),p.TgZ(17,"mat-form-field",8),p.TgZ(18,"mat-label"),p._uU(19),p.ALo(20,"translate"),p.qZA(),p.TgZ(21,"mat-select",9),p.NdJ("closed",function(){return e.changeVoStatuses()}),p.TgZ(22,"mat-select-trigger"),p._uU(23),p.qZA(),p.YNc(24,P,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(25,"mat-form-field",8),p.TgZ(26,"mat-label"),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.TgZ(29,"mat-select",9),p.NdJ("closed",function(){return e.changeGroupStatuses()}),p.TgZ(30,"mat-select-trigger"),p._uU(31),p.qZA(),p.YNc(32,D,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(33,"perun-web-apps-debounce-filter",11),p.NdJ("filter",function(t){return e.onSearchByString(t)}),p.qZA(),p.qZA(),p.YNc(34,M,1,0,"mat-spinner",12),p.YNc(35,L,1,10,"perun-web-apps-members-dynamic-list",13)),2&t&&(p.xp6(1),p.Oqu(p.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),p.xp6(2),p.Q6J("ngIf",e.synchEnabled),p.xp6(3),p.s9C("matTooltip",p.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.s9C("matTooltip",p.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),p.xp6(2),p.Q6J("ngIf",e.addAuth),p.xp6(1),p.s9C("matTooltip",p.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.Q6J("ngIf",e.inviteAuth),p.xp6(1),p.s9C("matTooltip",p.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),p.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),p.xp6(2),p.Q6J("ngIf",e.removeAuth),p.xp6(3),p.Oqu(p.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),p.xp6(2),p.Q6J("formControl",e.statuses),p.xp6(2),p.hij(" ",e.displaySelectedStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.statusList),p.xp6(3),p.Oqu(p.lcZ(28,39,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),p.xp6(2),p.Q6J("formControl",e.groupStatuses),p.xp6(2),p.hij(" ",e.displaySelectedGroupStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.groupStatusList),p.xp6(1),p.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[m.O5,b.t,_.gM,w.KE,w.hX,A.gD,d.JJ,d.oH,A.$L,m.sg,y.P,v.w,T.lW,C.ey,E.$g,S.m],pipes:[k.X$],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}"]}),t})()},7433:function(t,e,i){"use strict";i.d(e,{q:function(){return q}});var n=i(4230),s=i(33642),o=i(60611),r=i(84608),a=i(88426),c=(i(10896),i(31572)),l=i(48160),u=i(19139),h=i(61511),d=i(67806),p=i(88884),g=i(29236),f=i(36922),m=i(16073),b=i(15980);const _=["list"];function w(t,e){1&t&&c._UZ(0,"mat-spinner",4)}const A=function(){return["select","id","name","facility","tags","description"]};function y(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",5),c._UZ(2,"perun-web-apps-resources-list",6,7),c.qZA(),c.TgZ(4,"div",8),c.TgZ(5,"mat-checkbox",9),c.NdJ("ngModelChange",function(e){return c.CHM(t),c.oxw().async=e}),c.ALo(6,"translate"),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.TgZ(9,"button",10),c.NdJ("click",function(){return c.CHM(t),c.oxw().onCancel()}),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.TgZ(12,"span",11),c.ALo(13,"translate"),c.TgZ(14,"button",12),c.NdJ("click",function(){return c.CHM(t),c.oxw().onSubmit()}),c._uU(15),c.ALo(16,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&t){const t=c.MAs(3),e=c.oxw();c.xp6(2),c.Q6J("resources",e.resources)("disableRouting",!0)("selection",e.selection)("groupToResource",e.data.group)("displayedColumns",c.DdM(24,A))("filterValue",e.filterValue),c.xp6(3),c.s9C("matTooltip",c.lcZ(6,14,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT_DESCRIPTION")),c.Q6J("ngModel",e.async),c.xp6(2),c.hij(" ",c.lcZ(8,16,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),c.xp6(3),c.hij(" ",c.lcZ(11,18,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),c.xp6(2),c.s9C("matTooltip",c.lcZ(13,20,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),c.Q6J("matTooltipDisabled",void 0===t||t.addAuth),c.xp6(2),c.Q6J("disabled",0===e.selection.selected.length||e.loading||void 0!==t&&!t.addAuth),c.xp6(1),c.hij(" ",c.lcZ(16,22,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}let v=(()=>{class t{constructor(t,e,i,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=s,this.resourcesManager=o,this.filterValue="",this.resources=[],this.selection=new n.Ov(!0,[]),this.theme="",this.async=!0}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.resourcesManager.getRichResources(this.data.voId).subscribe(t=>{this.resources=t.filter(t=>!this.data.unwantedResources.includes(t.id)),this.loading=!1},()=>this.loading=!1)}applyFilter(t){this.filterValue=t}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=this.selection.selected.map(t=>t.id);this.resourcesManager.assignGroupToResources(this.data.group.id,t,this.async).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(r.so),c.Y36(r.WI),c.Y36(a.V6),c.Y36(l.sK),c.Y36(s.xk))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(t,e){if(1&t&&c.Gf(_,5),2&t){let t;c.iGM(t=c.CRH())&&(e.list=t.first)}},decls:8,vars:11,consts:[["mat-dialog-title",""],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-immediate-filter",1),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.ALo(5,"translate"),c.qZA(),c.YNc(6,w,1,0,"mat-spinner",2),c.YNc(7,y,17,25,"div",3),c.qZA()),2&t&&(c.Tol(e.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),c.xp6(2),c.Q6J("placeholder",c.lcZ(5,9,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[r.uh,u.L,h.O5,d.$g,r.xY,p.C,r.H8,g.oG,f.gM,m.JJ,m.On,b.lW],pipes:[l.X$],styles:[""]}),t})();var T=i(67033);function C(t,e){1&t&&c._UZ(0,"mat-spinner",4)}function E(t,e){1&t&&c._UZ(0,"th",13)}function S(t,e){if(1&t&&(c.TgZ(0,"td",14),c._uU(1),c.qZA()),2&t){const t=e.$implicit;c.xp6(1),c.hij(" ",t.name," ")}}function k(t,e){1&t&&c._UZ(0,"tr",15)}function I(t,e){1&t&&c._UZ(0,"tr",16)}function R(t,e){if(1&t&&(c.TgZ(0,"div",5),c.TgZ(1,"p"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",6),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",7),c.ynx(8,8),c.YNc(9,E,1,0,"th",9),c.YNc(10,S,2,1,"td",10),c.BQk(),c.YNc(11,k,1,0,"tr",11),c.YNc(12,I,1,0,"tr",12),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),c.xp6(2),c.Q6J("dataSource",t.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",t.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",t.displayedColumns)}}function x(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",17),c.TgZ(1,"button",18),c.NdJ("click",function(){return c.CHM(t),c.oxw().onCancel()}),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"button",19),c.NdJ("click",function(){return c.CHM(t),c.oxw().onSubmit()}),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA()}if(2&t){const t=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let O=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.resourcesManager=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new T.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const t=this.data.resources.map(t=>t.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,t).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(r.so),c.Y36(r.WI),c.Y36(a.V6),c.Y36(l.sK),c.Y36(s.xk))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,C,1,0,"mat-spinner",1),c.YNc(5,R,13,9,"div",2),c.YNc(6,x,7,7,"div",3),c.qZA()),2&t&&(c.Tol(e.data.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),c.xp6(2),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[r.uh,h.O5,d.$g,r.xY,T.BZ,T.w1,T.fO,T.Dz,T.as,T.nj,T.ge,T.ev,T.XQ,T.Gk,r.H8,b.lW],pipes:[l.X$],styles:[""]}),t})();var P=i(84140),D=i(57629),M=i(59403);const L=["list"];function N(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(t),c.oxw().addResource()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function z(t,e){1&t&&c._UZ(0,"mat-spinner",9)}const Z=function(){return["select","id","name","status","facility","tags","description"]};function B(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"perun-web-apps-resources-list",10,11),c.NdJ("page",function(e){return c.CHM(t),c.oxw().pageChanged(e)})("refreshTable",function(){return c.CHM(t),c.oxw().refreshTable()}),c.qZA()}if(2&t){const t=c.oxw();c.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routingAuth)("selection",t.selected)("groupToResource",t.group)("groupId",t.groupId)("displayedColumns",c.DdM(9,Z))}}let q=(()=>{class t{constructor(t,e,i,s,r,a){this.resourcesManager=t,this.groupService=e,this.tableConfigService=i,this.route=s,this.dialog=r,this.guiAuthResolver=a,this.resources=null,this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=o.v1,this.addAuth=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.groupId=t.groupId,this.voId=t.voId,this.groupService.getGroupById(this.groupId).subscribe(t=>{this.group=t,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(t=>{this.resources=t.map(t=>{const e=t.enrichedResource.resource;return e.facility=t.facility,e.status=t.status,e.resourceTags=t.resourceTags,e.failureCause=t.failureCause,e}),this.selected.clear(),this.setAuthorization(),this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addResource(){const t=(0,P.kZ)();t.width="1000px",t.data={theme:"group-theme",group:this.group,voId:this.voId,unwantedResources:this.resources.map(t=>t.id)},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeResource(){const t=(0,P.kZ)();t.width="450px",t.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(O,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.id="GroupResourcesComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(s.xk),c.Y36(s.ff),c.Y36(o.dB),c.Y36(D.gz),c.Y36(r.uw),c.Y36(a.x4))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-group-resources"]],viewQuery:function(t,e){if(1&t&&c.Gf(L,5),2&t){let t;c.iGM(t=c.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.refreshTable()}),c.qZA(),c.YNc(5,N,3,3,"button",2),c.TgZ(6,"span",3),c.ALo(7,"translate"),c.TgZ(8,"button",4),c.NdJ("click",function(){return e.removeResource()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.TgZ(11,"perun-web-apps-immediate-filter",5),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.YNc(12,z,1,0,"mat-spinner",6),c.YNc(13,B,2,10,"perun-web-apps-resources-list",7),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),c.xp6(3),c.Q6J("ngIf",e.addAuth),c.xp6(1),c.s9C("matTooltip",c.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),c.Q6J("matTooltipDisabled",0===e.selected.selected.length||void 0!==e.list&&e.list.removeAuth),c.xp6(2),c.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),c.xp6(1),c.hij(" ",c.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),c.xp6(2),c.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",e.resources&&!e.loading))},directives:[M.t,h.O5,f.gM,b.lW,u.L,d.$g,p.C],pipes:[l.X$],styles:[""]}),t})()},65423:function(t,e,i){"use strict";i.d(e,{Z:function(){return B}});var n=i(88426),s=i(92438),o=i(75954),r=i(68570),a=i(24555),c=i(33642),l=i(84140),u=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),f=i(67806),m=i(43691),b=i(36922),_=i(27679),w=i(59403),A=i(15980),y=i(92846),v=i(27521),T=i(16073),C=i(39571);const E=["autoRegToggle"];function S(t,e){1&t&&u._UZ(0,"mat-spinner",3)}function k(t,e){if(1&t&&(u.TgZ(0,"span"),u._uU(1," , "),u.TgZ(2,"mat-icon",21),u._uU(3,"nat"),u.qZA(),u._uU(4),u.ALo(5,"translate"),u.ALo(6,"translate"),u.qZA()),2&t){const t=u.oxw(2);u.xp6(4),u.hij(" ",t.applicationForm.automaticApprovalEmbedded?u.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function I(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"mat-slide-toggle",22,23),u.NdJ("change",function(){return u.CHM(t),u.oxw(2).updateAutoRegistration()}),u._uU(3),u.ALo(4,"translate"),u.qZA(),u.qZA()}if(2&t){const t=u.oxw(2);u.xp6(1),u.Q6J("disabled",!t.changeAutoRegistration)("ngModel",t.autoRegistrationEnabled),u.xp6(2),u.hij(" ",u.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function R(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",24),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).settings()}),u.TgZ(1,"i",18),u._uU(2,"edit"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}2&t&&(u.xp6(3),u.hij(" ",u.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function x(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",25),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).add()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function O(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",26),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).save()}),u.TgZ(1,"i",18),u._uU(2,"save"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("disabled",!t.itemsChanged),u.xp6(3),u.hij(" ",u.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function P(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",27),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).copy()}),u.TgZ(1,"i",18),u._uU(2,"file_copy"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}2&t&&(u.xp6(3),u.hij(" ",u.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function D(t,e){1&t&&(u.TgZ(0,"app-alert",28),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const M=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},L=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function N(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",4),u.TgZ(2,"div",5),u.TgZ(3,"div",6),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div"),u.TgZ(7,"span",6),u._uU(8),u.ALo(9,"translate"),u.qZA(),u._uU(10,": "),u.TgZ(11,"mat-icon",7),u._uU(12,"arrow_right_alt"),u.qZA(),u._uU(13),u.ALo(14,"translate"),u.ALo(15,"translate"),u.TgZ(16,"mat-icon",8),u._uU(17,"restore"),u.qZA(),u._uU(18),u.ALo(19,"translate"),u.ALo(20,"translate"),u.YNc(21,k,7,5,"span",2),u.qZA(),u.YNc(22,I,5,5,"div",2),u.qZA(),u.TgZ(23,"div",9),u.YNc(24,R,5,3,"button",10),u.qZA(),u.qZA(),u._UZ(25,"mat-divider",11),u.TgZ(26,"div",12),u.TgZ(27,"perun-web-apps-refresh-button",13),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().updateFormItems()}),u.qZA(),u.YNc(28,x,3,3,"button",14),u.YNc(29,O,5,4,"button",15),u.YNc(30,P,5,3,"button",16),u.TgZ(31,"button",17),u.NdJ("click",function(){return u.CHM(t),u.oxw().preview()}),u.TgZ(32,"i",18),u._uU(33,"search"),u.qZA(),u._uU(34),u.ALo(35,"translate"),u.qZA(),u.qZA(),u.YNc(36,D,3,3,"app-alert",19),u.TgZ(37,"app-application-form-list",20),u.NdJ("applicationFormItemsChange",function(){return u.CHM(t),u.oxw().changeItems()}),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(2),u.Q6J("ngClass",t.autoRegistrationEnabled?"w-75":"w-50"),u.xp6(2),u.AsE("",u.lcZ(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),u.xp6(4),u.Oqu(u.lcZ(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),u.xp6(5),u.hij(" ",t.applicationForm.automaticApproval?u.lcZ(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.lcZ(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),u.xp6(5),u.hij(" ",t.applicationForm.automaticApprovalExtension?u.lcZ(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.lcZ(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),u.xp6(3),u.Q6J("ngIf",t.autoRegistrationEnabled),u.xp6(1),u.Q6J("ngIf",t.voHasEmbeddedGroupApplication),u.xp6(2),u.Q6J("ngIf",t.editAuth),u.xp6(4),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("ngIf",t.editAuth),u.xp6(4),u.hij(" ",u.lcZ(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),u.xp6(2),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","group-theme")("displayedColumns",t.editAuth?u.DdM(33,M):u.DdM(34,L))}}function z(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",17),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).createEmptyApplicationForm()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Z(t,e){if(1&t&&(u.TgZ(0,"div"),u.TgZ(1,"app-alert",29),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,z,3,3,"button",30),u.qZA()),2&t){const t=u.oxw();u.xp6(2),u.Oqu(u.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),u.xp6(2),u.Q6J("ngIf",t.createEmptyForm)}}let B=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l){this.registrarManager=t,this.route=e,this.dialog=i,this.notificator=n,this.translate=s,this.apiRequest=o,this.router=r,this.guiAuthResolver=a,this.groupsManager=c,this.attributesManager=l,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.groupId=t.groupId,this.groupsManager.getGroupById(this.groupId).subscribe(t=>{this.group=t,this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.groupId).subscribe(t=>{this.applicationForm=t,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(t=>{this.applicationFormItems=t,this.attributesManager.getGroupAttributeByName(this.groupId,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(t=>{this.voHasEmbeddedGroupApplication=null!==t.value,this.autoRegistrationEnabled=!!t.value,this.setAuth(),this.loading=!1})},()=>this.loading=!1)},t=>{"FormNotExistsException"===t.error.name?(this.noApplicationForm=!0,this.setAuth(),this.loading=!1):this.notificator.showRPCError(t.error)})},()=>this.loading=!1)})}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 t=(0,l.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(s.J,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=(0,l.kZ)(),t.width="600px",t.height="600px",t.data={voId:this.voId,groupId:this.groupId,applicationFormItem:e[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(o._,t),this.itemsChanged=!0)})}copy(){const t=(0,l.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(r.W,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=(0,l.kZ)();t.width="400px",t.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(a.E,t).afterClosed().subscribe(t=>{t&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.applicationForm=t)})}preview(){this.router.navigate(["/organizations",this.voId,"groups",this.groupId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(t=>{this.applicationFormItems=t,this.itemsChanged=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.groupId).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let t=0;for(const e of this.applicationFormItems)e.ordnum=t,e.forDelete||t++;this.registrarManager.updateFormItemsForGroup({group:this.groupId,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),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(t=>{this.notificator.showSuccess(t)}),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(t=>{this.notificator.showSuccess(t)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return t.id="GroupSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(c.tk),u.Y36(h.gz),u.Y36(d.uw),u.Y36(n.V6),u.Y36(p.sK),u.Y36(n.F5),u.Y36(h.F0),u.Y36(n.x4),u.Y36(c.ff),u.Y36(c.H8))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-group-settings-application-form"]],viewQuery:function(t,e){if(1&t&&u.Gf(E,5),2&t){let t;u.iGM(t=u.CRH())&&(e.autoRegToggle=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"]],template:function(t,e){1&t&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.YNc(3,S,1,0,"mat-spinner",1),u.YNc(4,N,38,35,"div",2),u.YNc(5,Z,5,4,"div",2)),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&!e.noApplicationForm),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.noApplicationForm))},directives:[g.O5,f.$g,g.mk,m.Hw,b.gM,_.d,w.t,A.lW,y.b,v.Rr,T.JJ,T.On,C.w],pipes:[p.X$],styles:[""]}),t})()},82044:function(t,e,i){"use strict";i.d(e,{u:function(){return Z}});var n=i(88419),s=i(4230),o=i(43491),r=i(84140),a=i(33642),c=i(67004),l=i(60611),u=i(57820),h=i(88426),d=(i(10896),i(31572)),p=i(84608),g=i(57629),f=i(59403),m=i(61511),b=i(91058),_=i(27521),w=i(16073),A=i(15980),y=i(36922),v=i(67806),T=i(11441),C=i(78364),E=i(48160);const S=["tree"],k=["list"],I=["toggle"];function R(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(t),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function x(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("disabled",0===t.selected.selected.length||void 0!==t.tree&&!t.tree.removeAuth||void 0!==t.list&&!t.list.removeAuth),d.xp6(1),d.hij(" ",d.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function O(t,e){if(1&t&&(d.TgZ(0,"span",10),d.ALo(1,"translate"),d.YNc(2,x,3,4,"button",11),d.qZA()),2&t){const t=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===t.tree&&void 0===t.list||void 0!==t.tree&&t.tree.removeAuth||void 0!==t.list&&t.list.removeAuth),d.xp6(2),d.Q6J("ngIf",!t.loading&&t.deleteAuth)}}function P(t,e){1&t&&d._UZ(0,"mat-spinner",13)}function D(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",17,18),d.NdJ("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("groups",t.groups)("expandAll",t.filtering)("hideCheckbox",!t.deleteAuth)("selection",t.selected)("filterValue",t.filterValue)("disableRouting",!t.routeAuth)}}const M=function(){return["select","id","name","description","menu"]},L=function(){return["id","name","description","menu"]};function N(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",19,20),d.NdJ("page",function(e){return d.CHM(t),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!t.routeAuth)("displayedColumns",t.deleteAuth?d.DdM(8,M):d.DdM(9,L))("filter",t.filterValue)}}function z(t,e){if(1&t&&(d.TgZ(0,"div",14),d.YNc(1,D,2,6,"perun-web-apps-groups-tree",15),d.YNc(2,N,2,10,"perun-web-apps-groups-list",16),d.qZA()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",!t.showGroupList),d.xp6(1),d.Q6J("ngIf",t.showGroupList)}}let Z=(()=>{class t{constructor(t,e,i,n,o,r){this.dialog=t,this.groupService=e,this.tableConfigService=i,this.route=n,this.guiAuthResolver=o,this.initAuthService=r,this.groups=[],this.selected=new s.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=l.bf,this.filterValue=""}onCreateGroup(){const t=(0,r.kZ)();t.width="450px",t.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"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.route.parent.params.subscribe(t=>{this.groupService.getGroupById(t.groupId).subscribe(t=>{this.group=t,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 t=(0,r.kZ)();t.width="450px",t.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(o.P,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[c.r.GROUP_DEF_MAIL_FOOTER,c.r.GROUP_SYNC_ENABLED,c.r.GROUP_LAST_SYNC_STATE,c.r.GROUP_LAST_SYNC_TIMESTAMP,c.r.GROUP_STRUCTURE_SYNC_ENABLED,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t,this.filtering=""!==t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}onMoveGroup(t){const e=(0,r.kZ)();e.width="550px",e.data={group:t,theme:"group-theme"},this.dialog.open(u.c,e).afterClosed().subscribe(t=>{t&&this.refreshTable()})}}return t.id="GroupSubgroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(p.uw),d.Y36(a.ff),d.Y36(l.dB),d.Y36(g.gz),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-group-subgroups"]],viewQuery:function(t,e){if(1&t&&(d.Gf(S,5),d.Gf(k,5),d.Gf(I,7)),2&t){let t;d.iGM(t=d.CRH())&&(e.tree=t.first),d.iGM(t=d.CRH())&&(e.list=t.first),d.iGM(t=d.CRH())&&(e.toggle=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:17,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled",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","mat-flat-button","",1,"mr-2",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.refreshTable()}),d.qZA(),d.YNc(5,R,3,3,"button",2),d.YNc(6,O,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.selected.clear()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,P,1,0,"mat-spinner",7),d.YNc(16,z,3,2,"div",8),d.qZA()),2&t){const t=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",t.inputId),d.xp6(1),d.Oqu(d.lcZ(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading)}},directives:[f.t,m.O5,b.P,_.Rr,w.JJ,w.On,A.lW,y.gM,v.$g,T.I,C.W],pipes:[E.X$],styles:[""]}),t})()},81835:function(t,e,i){"use strict";i.d(e,{j:function(){return H}});var n=i(33642),s=i(60611),o=i(4230),r=i(84140),a=i(84608),c=i(88426),l=i(67004),u=i(31572),h=i(48160),d=i(61511),p=i(67806),g=i(19139),f=i(78364),m=i(15980);function b(t,e){1&t&&u._UZ(0,"mat-spinner",6)}function _(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-immediate-filter",7),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyFilter(e)}),u.qZA()}2&t&&u.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const w=function(){return["select","id","name","description"]};function A(t,e){if(1&t&&u._UZ(0,"perun-web-apps-groups-list",8),2&t){const t=u.oxw();u.Q6J("groups",t.groups)("selection",t.selection)("displayedColumns",u.DdM(8,w))("filter",t.filterValue)("groupsToDisable",t.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function y(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div",9),u.TgZ(1,"button",10),u.NdJ("click",function(){return u.CHM(t),u.oxw().onCancel()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"button",11),u.NdJ("click",function(){return u.CHM(t),u.oxw().onAdd()}),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),u.xp6(2),u.Q6J("disabled",0===t.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let v=(()=>{class t{constructor(t,e,i,n,s,r,a){this.dialogRef=t,this.data=e,this.groupManager=i,this.memberManager=n,this.notificator=s,this.translate=r,this.authResolver=a,this.loading=!1,this.groups=[],this.selection=new o.Ov(!0,[]),this.attrNames=[l.r.GROUP_SYNC_ENABLED,l.r.GROUP_LAST_SYNC_STATE,l.r.GROUP_LAST_SYNC_TIMESTAMP,l.r.GROUP_STRUCTURE_SYNC_ENABLED,l.r.GROUP_LAST_STRUCTURE_SYNC_STATE,l.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(t=>{this.member=t,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(t=>{this.groups=t.filter(t=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[t])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const t=this.selection.selected.map(t=>t.id);this.loading=!0,this.groupManager.addMember(t,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(t){this.filterValue=t}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.ff),u.Y36(n.uq),u.Y36(c.V6),u.Y36(h.sK),u.Y36(c.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,b,1,0,"mat-spinner",1),u.TgZ(5,"div",2),u.YNc(6,_,1,1,"perun-web-apps-immediate-filter",3),u.YNc(7,A,1,9,"perun-web-apps-groups-list",4),u.qZA(),u.YNc(8,y,7,7,"div",5),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(2),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[a.uh,d.O5,a.xY,p.$g,g.L,f.W,a.H8,m.lW],pipes:[h.X$],styles:[""]}),t})();var T=i(67033);function C(t,e){1&t&&u._UZ(0,"mat-spinner",6)}function E(t,e){1&t&&u._UZ(0,"th",15)}function S(t,e){if(1&t&&(u.TgZ(0,"td",16),u._uU(1),u.qZA()),2&t){const t=e.$implicit;u.xp6(1),u.hij(" ",t.name," ")}}function k(t,e){1&t&&u._UZ(0,"tr",17)}function I(t,e){1&t&&u._UZ(0,"tr",18)}function R(t,e){if(1&t&&(u.TgZ(0,"div",7),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",8),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",9),u.ynx(8,10),u.YNc(9,E,1,0,"th",11),u.YNc(10,S,2,1,"td",12),u.BQk(),u.YNc(11,k,1,0,"tr",13),u.YNc(12,I,1,0,"tr",14),u.qZA(),u.qZA()),2&t){const t=u.oxw();u.xp6(2),u.Oqu(u.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),u.xp6(2),u.Q6J("dataSource",t.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",t.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",t.displayedColumns)}}let x=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.groupManager=i,this.notificator=n,this.translate=s,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 t=this.dataSource.data.map(t=>t.id);this.groupManager.removeMember(t,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 t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(n.ff),u.Y36(c.V6),u.Y36(h.sK))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,C,1,0,"mat-spinner",1),u.YNc(5,R,13,9,"div",2),u.TgZ(6,"div",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return e.onCancel()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.TgZ(10,"button",5),u.NdJ("click",function(){return e.onRemove()}),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(3),u.hij("",u.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),u.xp6(2),u.Q6J("disabled",e.loading),u.xp6(1),u.hij("",u.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[a.uh,d.O5,a.H8,m.lW,p.$g,a.xY,T.BZ,T.w1,T.fO,T.Dz,T.as,T.nj,T.ge,T.ev,T.XQ,T.Gk],pipes:[h.X$],styles:[""]}),t})();i(10896);var O=i(57629),P=i(59403),D=i(36922);const M=["list"];function L(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",7),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().refreshTable()}),u.qZA()}}function N(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(t),u.oxw().addGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function z(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",11),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).removeGroup()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("disabled",0===t.selection.selected.length||void 0!==t.list&&!t.list.removeAuth),u.xp6(1),u.hij(" ",u.lcZ(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function Z(t,e){if(1&t&&(u.TgZ(0,"span",9),u.ALo(1,"translate"),u.YNc(2,z,3,4,"button",10),u.qZA()),2&t){const t=u.oxw();u.s9C("matTooltip",u.lcZ(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),u.Q6J("matTooltipDisabled",void 0===t.list||void 0!==t.list&&t.list.removeAuth),u.xp6(2),u.Q6J("ngIf",!t.loading)}}function B(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-immediate-filter",12),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyFilter(e)}),u.qZA()}2&t&&u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function q(t,e){1&t&&u._UZ(0,"mat-spinner",13)}const F=function(){return["select","id","vo","name","description","expiration"]};function U(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-groups-list",14,15),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)})("refreshTable",function(){return u.CHM(t),u.oxw().refreshTable()}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("groups",t.groups)("displayedColumns",u.DdM(9,F))("selection",t.selection)("filter",t.filterValue)("memberId",t.memberId)("memberGroupStatus",t.member.groupStatus)("disableRouting",!t.routeAuth)("authType","member-groups")}}let H=(()=>{class t{constructor(t,e,i,n,r,a){this.groupsService=t,this.tableConfigService=e,this.route=i,this.dialog=n,this.authResolver=r,this.memberService=a,this.filterValue="",this.tableId=s.W1,this.selection=new o.Ov(!0,[])}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.memberId=t.memberId,this.memberService.getMemberById(this.memberId).subscribe(t=>{this.member=t,this.groupsService.getAllGroups(this.member.voId).subscribe(t=>{this.allGroups=t,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(t=>{this.selection.clear(),this.filterValue="",this.groups=t,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((t,e)=>t||this.authResolver.isAuthorized("addMember_Group_Member_policy",[e]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[t,this.groups[0]]))}addGroup(){const t=(0,r.kZ)();t.width="850px",t.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(t=>t.id)),theme:"member-theme"},this.dialog.open(v,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeGroup(){const t=(0,r.kZ)();t.width="650px",t.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(x,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="MemberGroupsComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(n.ff),u.Y36(s.dB),u.Y36(O.gz),u.Y36(a.uw),u.Y36(c.x4),u.Y36(n.uq))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-member-groups"]],viewQuery:function(t,e){if(1&t&&u.Gf(M,5),2&t){let t;u.iGM(t=u.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.YNc(3,L,1,0,"perun-web-apps-refresh-button",1),u.YNc(4,N,3,3,"button",2),u.YNc(5,Z,3,5,"span",3),u.YNc(6,B,1,1,"perun-web-apps-immediate-filter",4),u.YNc(7,q,1,0,"mat-spinner",5),u.YNc(8,U,2,10,"perun-web-apps-groups-list",6)),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),u.xp6(2),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.addAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[d.O5,P.t,m.lW,D.gM,g.L,p.$g,f.W],pipes:[h.X$],styles:[""]}),t})()},40659:function(t,e,i){"use strict";i.d(e,{c:function(){return k}});var n=i(33642),s=i(60611),o=i(16073),r=i(61511),a=i(31572),c=i(57629),l=i(59403),u=i(66283),h=i(4786),d=i(71522),p=i(91058),g=i(51613),f=i(29236),m=i(15980),b=i(67806),_=i(21548),w=i(29851),A=i(48160);function y(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(t),a.oxw().showAllDetails=!0}),a._uU(1),a.ALo(2,"translate"),a.qZA()}2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function v(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(t),a.oxw().showAllDetails=!1}),a._uU(1),a.ALo(2,"translate"),a.qZA()}2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function T(t,e){1&t&&a._UZ(0,"mat-spinner",17)}function C(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"app-applications-list",20),a.NdJ("page",function(e){return a.CHM(t),a.oxw(2).pageChanged(e)}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("applications",t.applications)("displayedColumns",t.displayedColumns)}}function E(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"app-perun-web-apps-application-list-details",21),a.NdJ("page",function(e){return a.CHM(t),a.oxw(2).detailPageChanged(e)}),a.qZA()}if(2&t){const t=a.oxw(2);a.Q6J("pageSize",t.detailPageSize)("filterValue",t.filterValue)("applications",t.applications)}}function S(t,e){if(1&t&&(a.TgZ(0,"div"),a.YNc(1,C,1,4,"app-applications-list",18),a.YNc(2,E,1,3,"app-perun-web-apps-application-list-details",19),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Q6J("ngIf",!t.showAllDetails),a.xp6(1),a.Q6J("ngIf",t.showAllDetails)}}let k=(()=>{class t{constructor(t,e,i,n){this.voService=t,this.registrarManager=e,this.tableConfigService=i,this.route=n,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=s.Jf,this.tableId=s.Hi,this.checked=!1}ngOnInit(){this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.setData(["NEW","VERIFIED"])}),this.startDate=new o.NI((0,r.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new o.NI((0,r.p6)(new Date,"yyyy-MM-dd","en-GB"))})}setData(t){this.registrarManager.getApplicationsForVo(this.vo.id,t,(0,r.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,r.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(t=>{this.applications=!1===this.checked?t.filter(t=>null===t.group):t,this.loading=!1})}select(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}yearAgo(){const t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}showGroupApplications(t){this.checked=t.checked,this.select()}applyFilter(t){this.filterValue=t}detailPageChanged(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(a.Y36(n.YF),a.Y36(n.tk),a.Y36(s.dB),a.Y36(c.gz))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("router-component",e.true)},decls:38,vars:36,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","page",4,"ngIf"],[3,"pageSize","filterValue","applications","displayedColumns","page"],[3,"pageSize","filterValue","applications","page"]],template:function(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div"),a.TgZ(4,"perun-web-apps-refresh-button",1),a.NdJ("refresh",function(){return e.select()}),a.qZA(),a.YNc(5,y,3,3,"button",2),a.YNc(6,v,3,3,"button",2),a.TgZ(7,"mat-form-field",3),a.TgZ(8,"mat-label"),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.TgZ(11,"mat-select",4),a.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),a.TgZ(12,"mat-option",5),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"mat-option",6),a._uU(16),a.ALo(17,"translate"),a.qZA(),a.TgZ(18,"mat-option",7),a._uU(19),a.ALo(20,"translate"),a.qZA(),a.TgZ(21,"mat-option",8),a._uU(22),a.ALo(23,"translate"),a.qZA(),a.TgZ(24,"mat-option",9),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.TgZ(27,"mat-option",10),a._uU(28),a.ALo(29,"translate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(30,"perun-web-apps-debounce-filter",11),a.NdJ("filter",function(t){return e.applyFilter(t)}),a.qZA(),a.TgZ(31,"perun-web-apps-date-range",12),a.NdJ("datePicker",function(){return e.select()}),a.qZA(),a.TgZ(32,"div"),a.TgZ(33,"mat-checkbox",13),a.NdJ("change",function(t){return e.showGroupApplications(t)}),a._uU(34),a.ALo(35,"translate"),a.qZA(),a.qZA(),a.qZA(),a.YNc(36,T,1,0,"mat-spinner",14),a.YNc(37,S,3,2,"div",15)),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,18,"VO_DETAIL.APPLICATION.TITLE")),a.xp6(4),a.Q6J("ngIf",!e.showAllDetails),a.xp6(1),a.Q6J("ngIf",e.showAllDetails),a.xp6(3),a.Oqu(a.lcZ(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),a.xp6(2),a.Q6J("value",e.state),a.xp6(2),a.Oqu(a.lcZ(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),a.xp6(3),a.Oqu(a.lcZ(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),a.xp6(3),a.Oqu(a.lcZ(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),a.xp6(3),a.Oqu(a.lcZ(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),a.xp6(3),a.Oqu(a.lcZ(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),a.xp6(3),a.Oqu(a.lcZ(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),a.xp6(2),a.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),a.xp6(1),a.Q6J("startDate",e.startDate)("endDate",e.endDate),a.xp6(2),a.Q6J("checked",e.checked),a.xp6(1),a.hij(" ",a.lcZ(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[l.t,r.O5,u.KE,u.hX,h.gD,d.ey,p.P,g.S,f.oG,m.lW,b.$g,_.M,w.w],pipes:[A.X$],styles:[""]}),t})()},48002:function(t,e,i){"use strict";i.d(e,{G:function(){return q}});var n=i(88419),s=i(43491),o=i(4230),r=i(57820),a=i(84140),c=i(33642),l=i(60611),u=i(67004),h=i(88426),d=(i(10896),i(31572)),p=i(84608),g=i(48958),f=i(57629),m=i(59403),b=i(61511),_=i(91058),w=i(27521),A=i(16073),y=i(15980),v=i(36922),T=i(67806),C=i(11441),E=i(78364),S=i(39571),k=i(48160);const I=["toggle"],R=["tree"],x=["list"];function O(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",10),d.NdJ("click",function(){return d.CHM(t),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function P(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"button",13),d.NdJ("click",function(){return d.CHM(t),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("disabled",0===t.selected.selected.length||t.disableRemove()),d.xp6(1),d.hij(" ",d.lcZ(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function D(t,e){if(1&t&&(d.TgZ(0,"span",11),d.ALo(1,"translate"),d.YNc(2,P,3,4,"button",12),d.qZA()),2&t){const t=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===t.tree&&void 0===t.list||t.disableTooltip()),d.xp6(2),d.Q6J("ngIf",!t.loading)}}function M(t,e){1&t&&d._UZ(0,"mat-spinner",14)}function L(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",18,19),d.NdJ("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("groups",t.groups)("expandAll",t.filtering)("vo",t.vo)("selection",t.selected)("disableRouting",!t.routeAuth)("filterValue",t.filterValue)}}const N=function(){return["select","id","name","description","menu"]};function z(t,e){if(1&t){const t=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",20,21),d.NdJ("page",function(e){return d.CHM(t),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(t),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(t),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){const t=d.oxw(2);d.Q6J("pageSize",t.pageSize)("groups",t.groups)("selection",t.selected)("disableMembers",!0)("displayedColumns",d.DdM(8,N))("disableRouting",!t.routeAuth)("authType","vo-groups")("filter",t.filterValue)}}function Z(t,e){if(1&t&&(d.TgZ(0,"div",15),d.YNc(1,L,2,6,"perun-web-apps-groups-tree",16),d.YNc(2,z,2,9,"perun-web-apps-groups-list",17),d.qZA()),2&t){const t=d.oxw();d.xp6(1),d.Q6J("ngIf",!t.showGroupList),d.xp6(1),d.Q6J("ngIf",t.showGroupList)}}function B(t,e){1&t&&(d.TgZ(0,"app-alert",22),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let q=(()=>{class t{constructor(t,e,i,n,s,r,a,c){this.dialog=t,this.groupService=e,this.sideMenuService=i,this.voService=n,this.route=s,this.tableConfigService=r,this.authResolver=a,this.initAuthService=c,this.groups=[],this.showGroupList=!1,this.selected=new o.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=l.rc}onCreateGroup(){const t=(0,a.kZ)();t.width="450px",t.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"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.route.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,this.loadAllGroups()})})}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const t=(0,a.kZ)();t.width="450px",t.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(s.P,t).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(t){const e=(0,a.kZ)();e.width="550px",e.data={group:t,theme:"vo-theme"},this.dialog.open(r.c,e).afterClosed().subscribe(t=>{t&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[u.r.GROUP_SYNC_ENABLED,u.r.GROUP_LAST_SYNC_STATE,u.r.GROUP_LAST_SYNC_TIMESTAMP,u.r.GROUP_STRUCTURE_SYNC_ENABLED,u.r.GROUP_LAST_STRUCTURE_SYNC_STATE,u.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.groups=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t,this.filtering=""!==t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoGroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(p.uw),d.Y36(c.ff),d.Y36(g.D),d.Y36(c.YF),d.Y36(f.gz),d.Y36(l.dB),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-vo-groups"]],viewQuery:function(t,e){if(1&t&&(d.Gf(I,7),d.Gf(R,5),d.Gf(x,5)),2&t){let t;d.iGM(t=d.CRH())&&(e.toggle=t.first),d.iGM(t=d.CRH())&&(e.tree=t.first),d.iGM(t=d.CRH())&&(e.list=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:18,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",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"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.loadAllGroups()}),d.qZA(),d.YNc(5,O,3,3,"button",2),d.YNc(6,D,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.removeAllGroups()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,M,1,0,"mat-spinner",7),d.YNc(16,Z,3,2,"div",8),d.YNc(17,B,3,3,"app-alert",9),d.qZA()),2&t){const t=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,11,"VO_DETAIL.GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",t.inputId),d.xp6(1),d.Oqu(d.lcZ(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading&&0!==e.groups.length),d.xp6(1),d.Q6J("ngIf",0===e.groups.length&&!e.loading)}},directives:[m.t,b.O5,_.P,w.Rr,A.JJ,A.On,y.lW,v.gM,T.$g,C.I,E.W,S.w],pipes:[k.X$],styles:[""]}),t})()},28940:function(t,e,i){"use strict";i.d(e,{y:function(){return D}});var n=i(4230),s=i(88426),o=i(4374),r=i(85613),a=i(33642),c=i(67004),l=i(16073),u=i(60611),h=i(84140),d=i(88690),p=i(31572),g=i(57629),f=i(84608),m=i(59403),b=i(36922),_=i(61511),w=i(66283),A=i(4786),y=i(91058),v=i(15980),T=i(71522),C=i(67806),E=i(91779),S=i(48160);function k(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",14),p.NdJ("click",function(){return p.CHM(t),p.oxw().onAddMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.blockManualMemberAdding),p.xp6(1),p.hij(" ",p.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function I(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",15),p.NdJ("click",function(){return p.CHM(t),p.oxw().onInviteMember()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}2&t&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function R(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"button",16),p.NdJ("click",function(){return p.CHM(t),p.oxw().onRemoveMembers()}),p._uU(1),p.ALo(2,"translate"),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("disabled",t.selection.isEmpty()),p.xp6(1),p.hij(" ",p.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function x(t,e){if(1&t&&(p.TgZ(0,"mat-option",17),p._uU(1),p.qZA()),2&t){const t=e.$implicit;p.Q6J("value",t),p.xp6(1),p.Oqu(t)}}function O(t,e){1&t&&p._UZ(0,"mat-spinner",18)}function P(t,e){if(1&t){const t=p.EpF();p.TgZ(0,"perun-web-apps-members-dynamic-list",19),p.NdJ("page",function(e){return p.CHM(t),p.oxw().pageChanged(e)}),p.qZA()}if(2&t){const t=p.oxw();p.Q6J("voId",t.vo.id)("pageSize",t.pageSize)("selection",t.selection)("displayedColumns",t.displayedColumns)("attrNames",t.attrNames)("searchString",t.searchString)("selectedStatuses",t.selectedStatuses)("updateTable",t.updateTable)}}let D=(()=>{class t{constructor(t,e,i,s,o,r,a,h,d){this.voService=t,this.route=e,this.notificator=i,this.tableConfigService=s,this.dialog=o,this.authzService=r,this.storeService=a,this.attributesManager=h,this.apiRequest=d,this.members=null,this.selection=new n.Ov(!0,[]),this.loading=!1,this.attrNames=[c.r.MEMBER_DEF_ORGANIZATION,c.r.MEMBER_DEF_MAIL,c.r.USER_DEF_ORGANIZATION,c.r.USER_DEF_PREFERRED_MAIL,c.r.MEMBER_DEF_EXPIRATION],this.statuses=new l.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=u.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(t=>{const e=t.voId;this.isManualAddingBlocked(e).then(()=>{this.voService.getVoById(e).subscribe(t=>{this.vo=t,this.setAuthRights(),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(t){this.searchString=t,this.updateTable=!this.updateTable}onAddMember(){const t=(0,h.kZ)();t.width="1000px",t.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const t=(0,h.kZ)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(o.X,t).afterClosed().subscribe(t=>{t&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const t=(0,h.kZ)();t.width="650px",t.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.R,t)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}isManualAddingBlocked(t){return new Promise(e=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(t=>{this.blockManualMemberAdding=null!==t.value,e()},t=>{"PrivilegeException"!==t.error.name&&this.notificator.showError(t),e()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return t.id="VoMembersComponent",t.\u0275fac=function(e){return new(e||t)(p.Y36(a.YF),p.Y36(g.gz),p.Y36(s.V6),p.Y36(u.dB),p.Y36(f.uw),p.Y36(s.x4),p.Y36(s.d6),p.Y36(a.H8),p.Y36(s.F5))},t.\u0275cmp=p.Xpm({type:t,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(t,e){2&t&&p.ekj("router-component",e.true)},decls:22,vars:19,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(t,e){1&t&&(p.TgZ(0,"div",0),p.TgZ(1,"h1",1),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.TgZ(4,"div",2),p.TgZ(5,"perun-web-apps-refresh-button",3),p.NdJ("click",function(){return e.updateTable=!e.updateTable}),p.qZA(),p.TgZ(6,"div",4),p.ALo(7,"translate"),p.YNc(8,k,3,4,"button",5),p.qZA(),p.YNc(9,I,3,3,"button",6),p.YNc(10,R,3,4,"button",7),p.TgZ(11,"mat-form-field",8),p.TgZ(12,"mat-label"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"mat-select",9),p.NdJ("closed",function(){return e.changeStatuses()}),p.TgZ(16,"mat-select-trigger"),p._uU(17),p.qZA(),p.YNc(18,x,2,2,"mat-option",10),p.qZA(),p.qZA(),p.TgZ(19,"perun-web-apps-debounce-filter",11),p.NdJ("filter",function(t){return e.onSearchByString(t)}),p.qZA(),p.qZA(),p.YNc(20,O,1,0,"mat-spinner",12),p.YNc(21,P,1,8,"perun-web-apps-members-dynamic-list",13),p.qZA()),2&t&&(p.xp6(2),p.Oqu(p.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),p.xp6(4),p.s9C("matTooltip",p.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),p.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),p.xp6(2),p.Q6J("ngIf",e.addAuth),p.xp6(1),p.Q6J("ngIf",e.inviteAuth),p.xp6(1),p.Q6J("ngIf",e.removeAuth),p.xp6(3),p.Oqu(p.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),p.xp6(2),p.Q6J("formControl",e.statuses),p.xp6(2),p.hij(" ",e.displaySelectedStatuses()," "),p.xp6(1),p.Q6J("ngForOf",e.statusList),p.xp6(1),p.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),p.xp6(1),p.Q6J("ngIf",e.loading),p.xp6(1),p.Q6J("ngIf",!e.loading))},directives:[m.t,b.gM,_.O5,w.KE,w.hX,A.gD,l.JJ,l.oH,A.$L,_.sg,y.P,v.lW,T.ey,C.$g,E.m],pipes:[S.X$],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}"]}),t})()},88227:function(t,e,i){"use strict";i.d(e,{z:function(){return v}});var n=i(4230),s=i(33642),o=i(95909),r=i(60611),a=i(84140),c=i(88426),l=i(31572),u=i(57629),h=i(84608),d=i(59403),p=i(61511),g=i(19139),f=i(15980),m=i(67806),b=i(88884),_=i(48160);function w(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",6),l.NdJ("click",function(){return l.CHM(t),l.oxw().deleteSelectedResources()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("disabled",0===t.selected.selected.length),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function A(t,e){1&t&&l._UZ(0,"mat-spinner",7)}function y(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"perun-web-apps-resources-list",8),l.NdJ("page",function(e){return l.CHM(t),l.oxw().pageChanged(e)}),l.qZA()}if(2&t){const t=l.oxw();l.Q6J("pageSize",t.pageSize)("filterValue",t.filterValue)("resources",t.resources)("routingVo",!0)("disableRouting",!t.routeAuth)("selection",t.selected)("displayedColumns",t.displayedColumns)}}let v=(()=>{class t{constructor(t,e,i,s,o,a){this.resourcesManager=t,this.voService=e,this.route=i,this.tableConfigService=s,this.dialog=o,this.authResolver=a,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=r.nT,this.routeAuth=!1}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(t=>{this.voService.getVoById(t.voId).subscribe(t=>{this.vo=t,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(t=>{this.resources=t,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(t){this.filterValue=t}deleteSelectedResources(){const t=(0,a.kZ)();t.width="450px",t.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(o.f,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoResourcesPreviewComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(s.xk),l.Y36(s.YF),l.Y36(u.gz),l.Y36(r.dB),l.Y36(h.uw),l.Y36(c.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"perun-web-apps-refresh-button",1),l.NdJ("refresh",function(){return e.refreshTable()}),l.qZA(),l.YNc(5,w,3,4,"button",2),l.TgZ(6,"perun-web-apps-immediate-filter",3),l.NdJ("filter",function(t){return e.applyFilter(t)}),l.qZA(),l.YNc(7,A,1,0,"mat-spinner",4),l.YNc(8,y,1,7,"perun-web-apps-resources-list",5),l.qZA()),2&t&&(l.xp6(2),l.Oqu(l.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),l.xp6(3),l.Q6J("ngIf",!e.loading&&e.removeAuth),l.xp6(1),l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[d.t,p.O5,g.L,f.lW,m.$g,b.C],pipes:[_.X$],styles:[""]}),t})()},97397:function(t,e,i){"use strict";i.d(e,{z:function(){return Q}});var n=i(88426),s=i(33642),o=i(31572),r=i(57629),a=i(61511),c=i(67806),l=i(59403),u=i(55109),h=i(67033),d=i(45001),p=i(27679),g=i(48160);function f(t,e){if(1&t&&(o.TgZ(0,"mat-panel-description"),o.TgZ(1,"div"),o.TgZ(2,"i",7),o._uU(3," error "),o.qZA(),o._uU(4),o.ALo(5,"translate"),o.ALo(6,"translate"),o.qZA(),o.qZA()),2&t){const t=o.oxw().$implicit,e=o.oxw();o.xp6(4),o.HOy(" ",e.getErrorCountStates(t)," ",o.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",t.taskList.length," ",o.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function m(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function b(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.id)}}function _(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function w(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.service.name)}}function A(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function y(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){const t=e.$implicit;o.xp6(1),o.Oqu(t.status)}}function v(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function T(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function C(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function E(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,T,3,4,"div",22),o.YNc(2,C,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.schedule)("ngIfElse",i)}}function S(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function k(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function I(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function R(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,k,3,4,"div",22),o.YNc(2,I,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.startTime)("ngIfElse",i)}}function x(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function O(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,t.schedule,"d.M.y H:mm:ss")," ")}}function P(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function D(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,O,3,4,"div",22),o.YNc(2,P,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){const t=e.$implicit,i=o.MAs(3);o.xp6(1),o.Q6J("ngIf",t.endTime)("ngIfElse",i)}}function M(t,e){1&t&&o._UZ(0,"tr",25)}const L=function(t,e,i){return{redTableItem:t,greenTableItem:e,yellowTableItem:i}};function N(t,e){if(1&t&&o._UZ(0,"tr",26),2&t){const t=e.$implicit;o.Q6J("ngClass",o.kEZ(1,L,"ERROR"===t.status||"SENDERROR"===t.status||"GENERROR"===t.status,"DONE"===t.status,"WARNING"===t.status))}}function z(t,e){if(1&t&&(o.TgZ(0,"table",9),o.ynx(1,10),o.YNc(2,m,3,3,"th",11),o.YNc(3,b,2,1,"td",12),o.BQk(),o.ynx(4,13),o.YNc(5,_,3,3,"th",11),o.YNc(6,w,2,1,"td",12),o.BQk(),o.ynx(7,14),o.YNc(8,A,3,3,"th",11),o.YNc(9,y,2,1,"td",12),o.BQk(),o.ynx(10,15),o.YNc(11,v,3,3,"th",11),o.YNc(12,E,4,2,"td",12),o.BQk(),o.ynx(13,16),o.YNc(14,S,3,3,"th",11),o.YNc(15,R,4,2,"td",12),o.BQk(),o.ynx(16,17),o.YNc(17,x,3,3,"th",11),o.YNc(18,D,4,2,"td",12),o.BQk(),o.YNc(19,M,1,0,"tr",18),o.YNc(20,N,1,5,"tr",19),o.qZA()),2&t){const t=o.oxw(2).$implicit,e=o.oxw();o.Q6J("dataSource",e.datasources[e.propagation.indexOf(t)]),o.xp6(19),o.Q6J("matHeaderRowDef",e.displayedColumns),o.xp6(1),o.Q6J("matRowDefColumns",e.displayedColumns)}}function Z(t,e){1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function B(t,e){if(1&t&&(o._UZ(0,"mat-divider"),o.YNc(1,z,21,3,"table",8),o.YNc(2,Z,3,3,"div",5)),2&t){const t=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",0!==t.taskList.length),o.xp6(1),o.Q6J("ngIf",0===t.taskList.length)}}function q(t,e){if(1&t&&(o.TgZ(0,"mat-expansion-panel"),o.TgZ(1,"mat-expansion-panel-header"),o.TgZ(2,"mat-panel-title"),o._UZ(3,"img",3),o.TgZ(4,"div",4),o._uU(5),o.qZA(),o.qZA(),o.YNc(6,f,7,8,"mat-panel-description",5),o.qZA(),o.YNc(7,B,3,2,"ng-template",6),o.qZA()),2&t){const t=e.$implicit,i=o.oxw();o.xp6(5),o.hij(" ",t.resource.name," "),o.xp6(1),o.Q6J("ngIf",0!==i.getErrorCountStates(t))}}let F=(()=>{class t{constructor(){this.propagation=[],this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}ngOnInit(){this.getDataSource()}getErrorCountStates(t){let e=0;for(const i of t.taskList)"ERROR"!==i.status&&"GENERROR"!==i.status&&"SENDERROR"!==i.status||e++;return e}getDataSource(){for(const t of this.propagation)this.datasources.push(new h.by(t.taskList))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-state-tab"]],inputs:{propagation:"propagation"},decls:3,vars:1,consts:[[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-accordion",1),o.YNc(2,q,8,2,"mat-expansion-panel",2),o.qZA(),o.qZA()),2&t&&(o.xp6(2),o.Q6J("ngForOf",e.propagation))},directives:[d.pp,a.sg,d.ib,d.yz,d.yK,a.O5,d.HS,d.u4,p.d,h.BZ,h.w1,h.fO,h.Dz,h.as,h.nj,h.ge,h.ev,h.XQ,h.Gk,a.mk],pipes:[g.X$,a.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_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}"]}),t})();var U=i(39571);function H(t,e){1&t&&o._UZ(0,"mat-spinner",3)}function G(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",8),o._uU(3),o.qZA()),2&t){const t=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),o.xp6(3),o.Oqu(t.errorPropagation.length)}}function j(t,e){1&t&&(o.TgZ(0,"app-alert",11),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.Q6J("alert_type","warn"),o.xp6(1),o.hij(" ",o.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function Y(t,e){if(1&t&&(o.YNc(0,j,3,4,"app-alert",9),o._UZ(1,"app-state-tab",10)),2&t){const t=o.oxw(2);o.Q6J("ngIf",0===t.errorPropagation.length),o.xp6(1),o.Q6J("propagation",t.errorPropagation)}}function K(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",12),o._uU(3),o.qZA()),2&t){const t=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),o.xp6(3),o.Oqu(t.okPropagation.length)}}function V(t,e){1&t&&(o.TgZ(0,"app-alert",14),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function $(t,e){if(1&t&&(o.YNc(0,V,3,3,"app-alert",13),o._UZ(1,"app-state-tab",10)),2&t){const t=o.oxw(2);o.Q6J("ngIf",0===t.okPropagation.length),o.xp6(1),o.Q6J("propagation",t.okPropagation)}}function J(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"perun-web-apps-refresh-button",4),o.NdJ("refresh",function(){return o.CHM(t),o.oxw().refreshTable()}),o.qZA(),o.TgZ(2,"mat-tab-group",5),o.NdJ("selectedIndexChange",function(e){return o.CHM(t),o.oxw().selectedIndex=e}),o.TgZ(3,"mat-tab"),o.YNc(4,G,4,4,"ng-template",6),o.YNc(5,Y,2,2,"ng-template",7),o.qZA(),o.TgZ(6,"mat-tab"),o.YNc(7,K,4,4,"ng-template",6),o.YNc(8,$,2,2,"ng-template",7),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Q6J("selectedIndex",t.selectedIndex)}}let Q=(()=>{class t{constructor(t,e,i){this.route=t,this.taskService=e,this.customIconService=i,this.loading=!1,this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.customIconService.registerPerunRefreshIcon(),this.loading=!0,this.route.parent.parent.params.subscribe(t=>{this.voId=t.voId,this.refreshTable()})}refreshTable(){console.log(this.selectedIndex),this.loading=!0,this.taskService.getAllResourcesState(this.voId).subscribe(t=>{this.resourceStates=t,this.okPropagation=[],this.errorPropagation=[];for(const e of t){let t=!0;for(const i of e.taskList)if("ERROR"===i.status||"GENERROR"===i.status||"SENDERROR"===i.status){t=!1;break}t?this.okPropagation.push(e):this.errorPropagation.push(e)}this.loading=!1})}}return t.id="VoResourcesStatesComponent",t.\u0275fac=function(e){return new(e||t)(o.Y36(r.gz),o.Y36(s.Ob),o.Y36(n.EB))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],[3,"alert_type",4,"ngIf"],[3,"propagation"],[3,"alert_type"],[1,"badge","badge-success","ml-1"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.YNc(3,H,1,0,"mat-spinner",1),o.YNc(4,J,9,1,"div",2)),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading))},directives:[a.O5,c.$g,l.t,u.SP,u.uX,u.uD,u.Vc,F,U.w],pipes:[g.X$],styles:[""]}),t})()},14527:function(t,e,i){"use strict";i.d(e,{w:function(){return x}});var n=i(24555),s=i(88426),o=i(68570),r=i(92438),a=i(75954),c=i(33642),l=i(84140),u=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),f=i(67806),m=i(43691),b=i(36922),_=i(27679),w=i(59403),A=i(15980),y=i(92846),v=i(39571);function T(t,e){1&t&&u._UZ(0,"mat-spinner",3)}function C(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",21),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).settings()}),u.TgZ(1,"i",18),u._uU(2,"edit"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}2&t&&(u.xp6(3),u.hij(" ",u.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function E(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",22),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).add()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function S(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",23),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).save()}),u.TgZ(1,"i",18),u._uU(2,"save"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}if(2&t){const t=u.oxw(2);u.Q6J("disabled",!t.itemsChanged),u.xp6(3),u.hij(" ",u.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function k(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",24),u.NdJ("click",function(){return u.CHM(t),u.oxw(2).copy()}),u.TgZ(1,"i",18),u._uU(2,"file_copy"),u.qZA(),u._uU(3),u.ALo(4,"translate"),u.qZA()}2&t&&(u.xp6(3),u.hij(" ",u.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function I(t,e){1&t&&(u.TgZ(0,"app-alert",25),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&t&&(u.Q6J("alert_type","info"),u.xp6(1),u.hij(" ",u.lcZ(2,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}function R(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",4),u.TgZ(2,"div",5),u.TgZ(3,"div",6),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div"),u.TgZ(7,"span",6),u._uU(8),u.ALo(9,"translate"),u.qZA(),u._uU(10,": "),u.TgZ(11,"mat-icon",7),u._uU(12,"arrow_right_alt"),u.qZA(),u._uU(13),u.ALo(14,"translate"),u.ALo(15,"translate"),u.TgZ(16,"mat-icon",8),u._uU(17,"restore"),u.qZA(),u._uU(18),u.ALo(19,"translate"),u.ALo(20,"translate"),u.qZA(),u.qZA(),u.TgZ(21,"div",9),u.YNc(22,C,5,3,"button",10),u.qZA(),u.qZA(),u._UZ(23,"mat-divider",11),u.TgZ(24,"div",12),u.TgZ(25,"perun-web-apps-refresh-button",13),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().updateFormItems()}),u.qZA(),u.YNc(26,E,3,3,"button",14),u.YNc(27,S,5,4,"button",15),u.YNc(28,k,5,3,"button",16),u.TgZ(29,"button",17),u.NdJ("click",function(){return u.CHM(t),u.oxw().preview()}),u.TgZ(30,"i",18),u._uU(31,"search"),u.qZA(),u._uU(32),u.ALo(33,"translate"),u.qZA(),u.qZA(),u.YNc(34,I,3,4,"app-alert",19),u.TgZ(35,"app-application-form-list",20),u.NdJ("applicationFormItemsChange",function(){return u.CHM(t),u.oxw().changeItems()}),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(4),u.AsE("",u.lcZ(5,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",t.applicationForm.moduleClassName," "),u.xp6(4),u.Oqu(u.lcZ(9,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),u.xp6(5),u.hij(" ",t.applicationForm.automaticApproval?u.lcZ(14,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.lcZ(15,22,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),u.xp6(5),u.hij(" ",t.applicationForm.automaticApprovalExtension?u.lcZ(19,24,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):u.lcZ(20,26,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),u.xp6(4),u.Q6J("ngIf",t.editAuth),u.xp6(4),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("ngIf",t.editAuth),u.xp6(4),u.hij(" ",u.lcZ(33,28,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),u.xp6(2),u.Q6J("ngIf",t.editAuth),u.xp6(1),u.Q6J("loading",t.loading)("applicationForm",t.applicationForm)("applicationFormItems",t.applicationFormItems)("theme","vo-theme")("displayedColumns",t.displayedColumns)}}let x=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.registrarManager=t,this.route=e,this.dialog=i,this.notificator=n,this.translate=s,this.router=o,this.authResolver=r,this.voService=a,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.idCounter=-1}ngOnInit(){this.loading=!0,this.route.parent.parent.params.subscribe(t=>{const e=t.voId;this.voId=e,this.registrarManager.getVoApplicationForm(e).subscribe(t=>{this.applicationForm=t,this.registrarManager.getFormItemsForVo(e).subscribe(t=>{this.applicationFormItems=t,this.voService.getVoById(this.voId).subscribe(t=>{this.vo=t,this.setAuthRights(),this.loading=!1})})})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let t=(0,l.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.J,t).afterClosed().subscribe(e=>{e&&(this.applicationFormItems=Object.assign([],e[0]),t=(0,l.kZ)(),t.width="600px",t.height="600px",t.data={voId:this.voId,applicationFormItem:e[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(a._,t),this.itemsChanged=!0)})}copy(){const t=(0,l.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(o.W,t).afterClosed().subscribe(t=>{t&&this.updateFormItems()})}settings(){const t=(0,l.kZ)();t.width="400px",t.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.E,t).afterClosed().subscribe(t=>{t&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.applicationForm=t)})}preview(){this.router.navigate(["/organizations",this.voId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.registrarManager.getFormItemsForVo(this.voId).subscribe(t=>{this.applicationFormItems=t,this.itemsChanged=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let t=0;for(const e of this.applicationFormItems)e.ordnum=t,e.forDelete||t++;this.registrarManager.updateFormItemsForVo({vo:this.voId,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(t=>t.forDelete=!0),this.itemsChanged=!0}}return t.id="VoSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(c.tk),u.Y36(h.gz),u.Y36(d.uw),u.Y36(s.V6),u.Y36(p.sK),u.Y36(h.F0),u.Y36(s.x4),u.Y36(c.YF))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],[3,"alert_type",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[3,"alert_type"]],template:function(t,e){1&t&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.YNc(3,T,1,0,"mat-spinner",1),u.YNc(4,R,36,30,"div",2)),2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[g.O5,f.$g,m.Hw,b.gM,_.d,w.t,A.lW,y.b,v.w],pipes:[p.X$],styles:[""]}),t})()},48666:function(t,e,i){"use strict";i.d(e,{T:function(){return pe}});var n=i(33642),s=i(4230),o=i(60611),r=i(84140),a=i(84608),c=i(88426),l=i(16073),u=i(61511),h=i(14732),d=i(81110),p=i(40878),g=i(44689),f=i(79996),m=i(47727),b=i(31572),_=i(48160),w=i(67806),A=i(70663),y=i(66283),v=i(80340),T=i(15980),C=i(4786),E=i(36922),S=i(29236),k=i(54810),I=i(15812);let R=(()=>{class t{constructor(){this.expiration="never",this.expirationControl=new l.NI(null),this.datePicker=new b.vpe}ngOnInit(){const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationControl.setValue((0,u.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,u.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,u.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=b.Xpm({type:t,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(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"mat-radio-group",0),b.NdJ("ngModelChange",function(t){return e.expiration=t})("change",function(){return e.emitDate()}),b.TgZ(1,"mat-radio-button",1),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"mat-radio-button",2),b.TgZ(5,"mat-form-field",3),b.NdJ("click",function(){return b.CHM(t),b.MAs(12).open()}),b.TgZ(6,"mat-label"),b._uU(7),b.ALo(8,"translate"),b.qZA(),b.TgZ(9,"input",4),b.NdJ("dateChange",function(){return e.setExpiration()}),b.qZA(),b._UZ(10,"mat-datepicker-toggle",5),b._UZ(11,"mat-datepicker",6,7),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.MAs(12);b.Q6J("ngModel",e.expiration),b.xp6(2),b.hij(" ",b.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),b.xp6(2),b.s9C("value",e.expirationControl.value),b.xp6(3),b.Oqu(b.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),b.xp6(2),b.Q6J("min",e.minDate)("formControl",e.expirationControl)("matDatepicker",t),b.xp6(1),b.Q6J("for",t)("disabled",!1),b.xp6(1),b.Q6J("disabled",!1)}},directives:[k.VQ,l.JJ,l.On,k.U0,y.KE,y.hX,v.Nt,l.Fj,I.hl,l.oH,I.nW,y.R9,I.Mq],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();var x=i(39571),O=i(71522),P=i(43691),D=i(7927),M=i(22196);function L(t,e){1&t&&(b.TgZ(0,"h1",4),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function N(t,e){1&t&&b._UZ(0,"mat-spinner",5)}function z(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Z(t,e){1&t&&(b.TgZ(0,"app-alert",42),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function B(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function q(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function F(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function U(t,e){if(1&t&&(b.TgZ(0,"mat-option",43),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.Q6J("value",t),b.xp6(1),b.hij(" ",t," ")}}function H(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function G(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function j(t,e){1&t&&b._UZ(0,"mat-spinner",44),2&t&&b.Q6J("diameter",18)}function Y(t,e){1&t&&(b.TgZ(0,"mat-icon",45),b.ALo(1,"translate"),b._uU(2," error "),b.qZA()),2&t&&b.Q6J("matTooltip",b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function K(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function V(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function $(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function J(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Q(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"perun-web-apps-user-search-select",46),b.NdJ("userSelected",function(e){return b.CHM(t),b.oxw(2).selectedSponsor=e}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(1),b.Q6J("users",t.voSponsors)("disableAutoSelect",!0)}}function W(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",6),b.TgZ(1,"mat-horizontal-stepper",7),b.TgZ(2,"mat-step",8),b.YNc(3,z,2,3,"ng-template",9),b.YNc(4,Z,3,3,"app-alert",10),b.TgZ(5,"form",11),b.TgZ(6,"h5",12),b._uU(7),b.ALo(8,"translate"),b.qZA(),b.TgZ(9,"mat-form-field",13),b._UZ(10,"input",14),b.ALo(11,"translate"),b.YNc(12,B,3,3,"mat-error",15),b.qZA(),b.TgZ(13,"mat-form-field"),b._UZ(14,"input",16),b.ALo(15,"translate"),b.YNc(16,q,3,3,"mat-error",15),b.qZA(),b.TgZ(17,"mat-form-field"),b._UZ(18,"input",17),b.ALo(19,"translate"),b.qZA(),b.TgZ(20,"mat-form-field"),b._UZ(21,"input",18),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.TgZ(23,"div",19),b.TgZ(24,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"button",21),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"mat-step",8),b.YNc(31,F,2,3,"ng-template",9),b.TgZ(32,"h5",12),b._uU(33),b.ALo(34,"translate"),b.qZA(),b.TgZ(35,"form",22),b.TgZ(36,"mat-form-field"),b.TgZ(37,"mat-select",23),b.NdJ("valueChange",function(e){return b.CHM(t),b.oxw().onNamespaceChanged(e)}),b.ALo(38,"translate"),b.YNc(39,U,2,2,"mat-option",24),b.qZA(),b.YNc(40,H,3,3,"mat-error",15),b.qZA(),b.TgZ(41,"mat-form-field",25),b.ALo(42,"translate"),b._UZ(43,"input",26),b.ALo(44,"translate"),b.YNc(45,G,3,3,"mat-error",15),b.qZA(),b.TgZ(46,"span",25),b.ALo(47,"translate"),b.TgZ(48,"mat-checkbox",27),b.NdJ("change",function(){return b.CHM(t),b.oxw().passwordResetChange()}),b._uU(49),b.ALo(50,"translate"),b.qZA(),b.qZA(),b.TgZ(51,"mat-form-field",25),b._UZ(52,"input",28),b.ALo(53,"translate"),b.YNc(54,j,1,1,"mat-spinner",29),b.YNc(55,Y,3,3,"mat-icon",30),b.YNc(56,K,3,3,"mat-error",15),b.YNc(57,V,3,3,"mat-error",15),b.qZA(),b.TgZ(58,"mat-checkbox",31),b._uU(59),b.ALo(60,"translate"),b.qZA(),b.TgZ(61,"mat-form-field"),b._UZ(62,"input",32),b.ALo(63,"translate"),b.YNc(64,$,3,3,"mat-error",15),b.qZA(),b.TgZ(65,"div",19),b.TgZ(66,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(67),b.ALo(68,"translate"),b.qZA(),b.TgZ(69,"button",33),b._uU(70),b.ALo(71,"translate"),b.qZA(),b.TgZ(72,"button",34),b._uU(73),b.ALo(74,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.TgZ(75,"mat-step"),b.YNc(76,J,2,3,"ng-template",9),b.TgZ(77,"div",35),b.TgZ(78,"h5",12),b._uU(79),b.ALo(80,"translate"),b.qZA(),b.TgZ(81,"div",13),b.TgZ(82,"h6"),b._uU(83),b.ALo(84,"translate"),b.qZA(),b.TgZ(85,"mat-radio-group",36),b.NdJ("ngModelChange",function(e){return b.CHM(t),b.oxw().sponsorType=e}),b.TgZ(86,"span",37),b.ALo(87,"translate"),b.TgZ(88,"mat-radio-button",38),b.NdJ("click",function(){return b.CHM(t),b.oxw().selectedSponsor=null}),b._uU(89),b.ALo(90,"translate"),b.qZA(),b.qZA(),b.TgZ(91,"span",37),b.ALo(92,"translate"),b.TgZ(93,"mat-radio-button",39),b._uU(94),b.ALo(95,"translate"),b.qZA(),b.qZA(),b.qZA(),b.YNc(96,Q,2,2,"div",15),b.qZA(),b.TgZ(97,"h6",13),b._uU(98),b.ALo(99,"translate"),b.qZA(),b.TgZ(100,"perun-web-apps-expiration-select",40),b.NdJ("datePicker",function(e){return b.CHM(t),b.oxw().setExpiration(e)}),b.qZA(),b.qZA(),b.TgZ(101,"div",19),b.TgZ(102,"button",20),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(103),b.ALo(104,"translate"),b.qZA(),b.TgZ(105,"button",33),b._uU(106),b.ALo(107,"translate"),b.qZA(),b.TgZ(108,"button",41),b.NdJ("click",function(){return b.CHM(t),b.oxw().onConfirm()}),b._uU(109),b.ALo(110,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("linear",!0),b.xp6(1),b.Q6J("stepControl",t.userControl),b.xp6(2),b.Q6J("ngIf",t.functionalityNotSupported),b.xp6(1),b.Q6J("formGroup",t.userControl),b.xp6(2),b.hij(" ",b.lcZ(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),b.xp6(2),b.Q6J("ngIf",t.userControl.hasError("required","firstName")),b.xp6(2),b.s9C("placeholder",b.lcZ(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),b.xp6(2),b.Q6J("ngIf",t.userControl.hasError("required","lastName")),b.xp6(2),b.s9C("placeholder",b.lcZ(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),b.xp6(3),b.s9C("placeholder",b.lcZ(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),b.xp6(4),b.hij(" ",b.lcZ(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(2),b.Q6J("disabled",t.userControl.invalid),b.xp6(1),b.hij(" ",b.lcZ(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.xp6(2),b.Q6J("stepControl",t.namespaceControl),b.xp6(3),b.Oqu(b.lcZ(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),b.xp6(2),b.Q6J("formGroup",t.namespaceControl),b.xp6(2),b.s9C("placeholder",b.lcZ(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),b.xp6(2),b.Q6J("ngForOf",t.namespaceOptions),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.hasError("required","namespace")),b.xp6(1),b.s9C("matTooltip",b.lcZ(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),b.Q6J("matTooltipDisabled",t.namespaceControl.get("login").enabled),b.xp6(2),b.s9C("placeholder",b.lcZ(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.hasError("required","login")),b.xp6(1),b.s9C("matTooltip",b.lcZ(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),b.Q6J("matTooltipDisabled",t.namespaceControl.get("passwordReset").enabled),b.xp6(3),b.hij("",b.lcZ(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),b.xp6(2),b.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.namespaceControl.get("password").enabled),b.xp6(1),b.s9C("placeholder",b.lcZ(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),b.Q6J("type",t.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",t.passwordStateMatcher),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.get("password").pending),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").dirty&&null!==t.namespaceControl.get("password").errors),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").hasError("required")),b.xp6(1),b.Q6J("ngIf",t.namespaceControl.get("password").hasError("backendError")),b.xp6(2),b.hij(" ",b.lcZ(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),b.xp6(2),b.Q6J("ngIf",t.namespaceControl.hasError("required","email")||t.namespaceControl.hasError("pattern","email")),b.xp6(3),b.hij(" ",b.lcZ(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.xp6(2),b.Q6J("disabled",t.namespaceControl.invalid||t.namespaceControl.get("password").pending),b.xp6(1),b.hij(" ",b.lcZ(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),b.xp6(4),b.Oqu(b.lcZ(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),b.xp6(2),b.Q6J("ngModel",t.sponsorType),b.xp6(1),b.s9C("matTooltip",b.lcZ(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),b.Q6J("matTooltipDisabled",t.isSponsor),b.xp6(2),b.Q6J("disabled",!t.isSponsor),b.xp6(1),b.hij(" ",b.lcZ(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),b.Q6J("matTooltipDisabled",t.isPerunAdmin),b.xp6(2),b.Q6J("disabled",!t.isPerunAdmin),b.xp6(1),b.hij(" ",b.lcZ(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),b.xp6(2),b.Q6J("ngIf","other"===t.sponsorType),b.xp6(2),b.Oqu(b.lcZ(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),b.xp6(5),b.hij(" ",b.lcZ(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.sponsorType||"other"===t.sponsorType&&null===t.selectedSponsor),b.xp6(1),b.hij(" ",b.lcZ(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function X(t,e){if(1&t&&(b.TgZ(0,"div",6),b.TgZ(1,"div",47),b.TgZ(2,"mat-icon",48),b._uU(3,"done"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.TgZ(6,"i"),b._uU(7),b.ALo(8,"userFullName"),b.qZA(),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"div"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.TgZ(14,"div"),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.TgZ(17,"app-alert",49),b._uU(18),b.ALo(19,"translate"),b.qZA(),b.qZA()),2&t){const t=b.oxw();b.xp6(4),b.hij(" ",b.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),b.xp6(3),b.Oqu(b.lcZ(8,10,t.createdMember.user)),b.xp6(2),b.hij(" ",b.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),b.xp6(3),b.AsE("",b.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",t.loginThatWasSet,""),b.xp6(3),b.AsE("",b.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",t.namespaceControl.get("password").value," "),b.xp6(3),b.Oqu(b.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function tt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",19),b.TgZ(1,"button",50),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.qZA()}2&t&&(b.xp6(2),b.hij(" ",b.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}class et{isErrorState(t){return!!(t&&t.invalid&&t.dirty)}}const it=(t,e,i,n=500)=>s=>(0,d.H)(n).pipe((0,g.w)(()=>(i.dontHandleErrorForNext(),null===t||"No namespace"===t?(0,p.of)(null):e.checkPasswordStrength(s.value,t))),(0,f.U)(()=>null),(0,m.K)(t=>(0,p.of)({backendError:t.error.message.substr(t.error.message.indexOf(":")+1)})));let nt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l){this.dialogRef=t,this.data=e,this.membersService=i,this.apiRequestConfiguration=n,this.usersService=s,this.store=o,this.translator=r,this.authzService=a,this.guiAuthResolver=c,this.formBuilder=l,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.passwordStateMatcher=new et,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(h.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",l.kI.required],lastName:["",l.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",l.kI.required],login:["",[l.kI.required]],password:["",l.kI.required,[it(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[l.kI.required,l.kI.pattern(r.B2)]]}),this.membersService.getAllNamespacesRules().subscribe(t=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(t),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1})}parseNamespaceRules(){for(const t of this.namespaceRules){this.namespaceOptions.push(t.namespaceName);const e={login:"disabled",password:"disabled"};this.parseAttributes(e,t.requiredAttributes,"required"),this.parseAttributes(e,t.optionalAttributes,"optional"),this.parsedRules.set(t.namespaceName,e)}}parseAttributes(t,e,i){for(const n of e)switch(n){case"login":t.login=i;break;case"password":t.password=i}}onConfirm(){this.loading=!0;const t={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},e=this.namespaceControl.get("namespace").value,i=this.parsedRules.get(e);"No namespace"!==e&&(t.userData.namespace=e),"disabled"!==i.login&&(t.userData.login=this.namespaceControl.get("login").value),"disabled"!==i.password&&(t.sendActivationLink=this.namespaceControl.get("passwordReset").value,t.userData.password=this.namespaceControl.get("password").value),"never"!==this.expiration&&(t.validityTo=this.expiration),this.membersService.createSponsoredMember(t).subscribe(t=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=t,t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>t.friendlyNameParameter===e).filter(t=>null!==t.value).forEach(t=>{this.loginThatWasSet=t.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(t){const e=this.parsedRules.get(t),i=this.namespaceControl.get("login"),n=this.namespaceControl.get("password"),s=this.namespaceControl.get("passwordReset"),o=this.namespaceControl.get("showPassword");"disabled"!==e.login?(0,r.mH)(i,"optional"===e.login?[]:[l.kI.required]):(i.disable(),i.setValue("")),"disabled"!==e.password?((0,r.mH)(n,"optional"===e.password?[]:[l.kI.required],[it(t,this.usersService,this.apiRequestConfiguration)]),(0,r.mH)(s,[]),(0,r.mH)(o,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(n.disable(),n.setValue(""),s.disable(),s.setValue(!1),o.disable(),o.setValue(!1))}passwordResetChange(){const t=this.namespaceControl.get("password");this.namespaceControl.get("passwordReset").value?(t.disable(),t.setValue("")):t.enable()}setExpiration(t){this.expiration="never"===t?"never":(0,u.p6)(t,"yyyy-MM-dd","en-GB")}getPasswordDisabledTooltip(){return this.namespaceControl.get("passwordReset").value?this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_VIA_EMAIL"):this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_DISABLED")}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(n.uq),b.Y36(c.F5),b.Y36(n.Fv),b.Y36(c.d6),b.Y36(_.sK),b.Y36(n.Ct),b.Y36(c.x4),b.Y36(l.qu))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-create-sponsored-member-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[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"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],["matInput","","formControlName","password",3,"type","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["color","warn","matSuffix","",3,"matTooltip",4,"ngIf"],["formControlName","showPassword",1,"example-margin"],["matInput","","required","","formControlName","email",3,"placeholder"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled"],[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"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","error"],[3,"value"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",3,"matTooltip"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.YNc(1,L,3,3,"h1",0),b.YNc(2,N,1,0,"mat-spinner",1),b.YNc(3,W,111,118,"div",2),b.YNc(4,X,20,20,"div",2),b.YNc(5,tt,4,3,"div",3),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(1),b.Q6J("ngIf",!e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading&&!e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",!e.loading&&e.successfullyCreated),b.xp6(1),b.Q6J("ngIf",e.successfullyCreated))},directives:[u.O5,a.uh,w.$g,a.xY,A.Vq,A.C0,A.VY,l._Y,l.JL,l.sg,y.KE,v.Nt,l.Fj,l.JJ,l.u,l.Q7,a.H8,T.lW,A.Ic,C.gD,u.sg,E.gM,S.oG,A.fd,k.VQ,l.On,k.U0,R,x.w,y.TO,O.ey,y.R9,P.Hw,D.S],pipes:[_.X$,M.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}"]}),t})();var st=i(67004),ot=i(43005),rt=i(19139),at=i(78364);function ct(t,e){1&t&&b._UZ(0,"mat-spinner",3)}function lt(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function ut(t,e){1&t&&(b.TgZ(0,"app-alert",32),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function ht(t,e){if(1&t&&(b.TgZ(0,"mat-option",33),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.Q6J("value",t),b.xp6(1),b.hij(" ",t," ")}}function dt(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function pt(t,e){1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function gt(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function ft(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function mt(t,e){if(1&t&&(b.TgZ(0,"mat-error"),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(2);b.xp6(1),b.AsE(" ",b.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",t.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function bt(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function _t(t,e){1&t&&(b.TgZ(0,"app-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function wt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"mat-radio-group",35),b.NdJ("ngModelChange",function(e){return b.CHM(t),b.oxw(2).passwordReset=e}),b.TgZ(1,"mat-radio-button",36),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"mat-radio-button",37),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.Q6J("ngModel",t.passwordReset),b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),b.xp6(3),b.hij(" ",b.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function At(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function yt(t,e){1&t&&(b._uU(0),b.ALo(1,"translate")),2&t&&b.Oqu(b.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function vt(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",38),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.qZA()),2&t&&(b.xp6(2),b.Oqu(b.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Tt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"h5",39),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-create-group-form",40),b.NdJ("nameChanged",function(e){return b.CHM(t),b.oxw(2).name=e})("descriptionChanged",function(e){return b.CHM(t),b.oxw(2).description=e})("parentGroupChanged",function(e){return b.CHM(t),b.oxw(2).parentGroup=e})("asSubgroupChanged",function(e){return b.CHM(t),b.oxw(2).asSubGroup=e}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(2),b.Oqu(b.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")),b.xp6(2),b.Q6J("voGroups",t.allVoGroups)}}const Ct=function(){return["select","id","name","description"]};function Et(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"h5",39),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-immediate-filter",41),b.NdJ("filter",function(e){return b.CHM(t),b.oxw(2).applyFilter(e)}),b.qZA(),b.TgZ(5,"perun-web-apps-groups-list",42),b.NdJ("page",function(e){return b.CHM(t),b.oxw(2).groupTablePageChanged(e)}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("groups",t.assignableGroups)("selection",t.selection)("displayedColumns",b.DdM(10,Ct))("disableRouting",!0)("pageSize",t.pageSize)("filter",t.filterValue)}}function St(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"div",4),b.TgZ(1,"mat-horizontal-stepper",5),b.TgZ(2,"mat-step",6),b.YNc(3,lt,2,3,"ng-template",7),b.YNc(4,ut,3,3,"app-alert",8),b.TgZ(5,"h5",9),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"form",10),b.TgZ(9,"mat-form-field"),b.TgZ(10,"mat-select",11),b.ALo(11,"translate"),b.YNc(12,ht,2,2,"mat-option",12),b.qZA(),b.YNc(13,dt,3,3,"mat-error",13),b.qZA(),b.TgZ(14,"div"),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.TgZ(17,"div",14),b._uU(18),b.qZA(),b.TgZ(19,"mat-form-field",15),b.TgZ(20,"mat-label"),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.TgZ(23,"textarea",16),b._uU(24," "),b.qZA(),b.YNc(25,pt,3,3,"mat-error",13),b.YNc(26,gt,3,4,"mat-error",13),b.YNc(27,ft,3,4,"mat-error",13),b.YNc(28,mt,3,4,"mat-error",13),b.qZA(),b.TgZ(29,"div",17),b.TgZ(30,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(31),b.ALo(32,"translate"),b.qZA(),b.TgZ(33,"button",19),b._uU(34),b.ALo(35,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.TgZ(36,"mat-step"),b.YNc(37,bt,2,3,"ng-template",7),b.TgZ(38,"div",9),b.TgZ(39,"h5",20),b._uU(40),b.ALo(41,"translate"),b.qZA(),b.YNc(42,_t,3,3,"app-alert",21),b.YNc(43,wt,7,7,"mat-radio-group",22),b.qZA(),b.TgZ(44,"div",17),b.TgZ(45,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(46),b.ALo(47,"translate"),b.qZA(),b.TgZ(48,"button",23),b._uU(49),b.ALo(50,"translate"),b.qZA(),b.TgZ(51,"button",24),b._uU(52),b.ALo(53,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(54,"mat-step"),b.YNc(55,At,2,3,"ng-template",7),b.TgZ(56,"div",9),b.TgZ(57,"h5",20),b._uU(58),b.ALo(59,"translate"),b.qZA(),b.TgZ(60,"perun-web-apps-expiration-select",25),b.NdJ("datePicker",function(e){return b.CHM(t),b.oxw().setExpiration(e)}),b.qZA(),b.qZA(),b.TgZ(61,"div",17),b.TgZ(62,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(63),b.ALo(64,"translate"),b.qZA(),b.TgZ(65,"button",23),b._uU(66),b.ALo(67,"translate"),b.qZA(),b.TgZ(68,"button",24),b._uU(69),b.ALo(70,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(71,"mat-step"),b.YNc(72,yt,2,3,"ng-template",7),b.TgZ(73,"div",9),b.TgZ(74,"h5",20),b._uU(75),b.ALo(76,"translate"),b.qZA(),b.TgZ(77,"mat-radio-group",26),b.NdJ("change",function(){return b.CHM(t),b.oxw().groupAssigmentChanged()})("ngModelChange",function(e){return b.CHM(t),b.oxw().groupAssignment=e}),b.TgZ(78,"mat-radio-button",27),b._uU(79),b.ALo(80,"translate"),b.qZA(),b.TgZ(81,"span",28),b.ALo(82,"translate"),b.TgZ(83,"mat-radio-button",29),b._uU(84),b.ALo(85,"translate"),b.qZA(),b.qZA(),b.TgZ(86,"span",28),b.ALo(87,"translate"),b.TgZ(88,"mat-radio-button",30),b._uU(89),b.ALo(90,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.YNc(91,vt,4,3,"div",13),b.YNc(92,Tt,5,4,"div",13),b.YNc(93,Et,6,11,"div",13),b.TgZ(94,"div",17),b.TgZ(95,"button",18),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCancel()}),b._uU(96),b.ALo(97,"translate"),b.qZA(),b.TgZ(98,"button",23),b._uU(99),b.ALo(100,"translate"),b.qZA(),b.TgZ(101,"button",31),b.NdJ("click",function(){return b.CHM(t),b.oxw().onSubmit()}),b._uU(102),b.ALo(103,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("linear",!0),b.xp6(1),b.Q6J("stepControl",t.usersInfoFormGroup),b.xp6(2),b.Q6J("ngIf",t.functionalityNotSupported),b.xp6(2),b.Oqu(b.lcZ(7,50,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),b.xp6(2),b.Q6J("formGroup",t.usersInfoFormGroup),b.xp6(2),b.s9C("placeholder",b.lcZ(11,52,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),b.xp6(2),b.Q6J("ngForOf",t.namespaceOptions),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("required","namespace")),b.xp6(2),b.Oqu(b.lcZ(16,54,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),b.xp6(3),b.Oqu(t.getSelectedNamespaceRules().csvGenHeaderDescription),b.xp6(3),b.Oqu(b.lcZ(22,56,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),b.xp6(2),b.s9C("placeholder",t.getSelectedNamespaceRules().csvGenPlaceholder),b.xp6(2),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("required","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),b.xp6(1),b.Q6J("ngIf",t.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),b.xp6(3),b.hij(" ",b.lcZ(32,58,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",t.usersInfoFormGroup.invalid),b.xp6(1),b.hij(" ",b.lcZ(35,60,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(41,62,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")),b.xp6(2),b.Q6J("ngIf","No namespace"===t.getSelectedNamespaceRules().namespaceName),b.xp6(1),b.Q6J("ngIf","No namespace"!==t.getSelectedNamespaceRules().namespaceName),b.xp6(3),b.hij(" ",b.lcZ(47,64,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(50,66,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.passwordReset),b.xp6(1),b.hij(" ",b.lcZ(53,68,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(59,70,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),b.xp6(2),b.Q6J("expiration",t.expiration),b.xp6(3),b.hij(" ",b.lcZ(64,72,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(67,74,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.expiration),b.xp6(1),b.hij("",b.lcZ(70,76,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),b.xp6(6),b.Oqu(b.lcZ(76,78,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),b.xp6(2),b.Q6J("ngModel",t.groupAssignment),b.xp6(2),b.hij(" ",b.lcZ(80,80,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(82,82,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),b.Q6J("matTooltipDisabled",!t.manualMemberAddingBlocked&&t.createGroupAuth),b.xp6(2),b.Q6J("disabled",t.manualMemberAddingBlocked||!t.createGroupAuth),b.xp6(1),b.hij(" ",b.lcZ(85,84,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(87,86,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),b.Q6J("matTooltipDisabled",!t.manualMemberAddingBlocked&&0!==t.assignableGroups.length),b.xp6(2),b.Q6J("disabled",t.manualMemberAddingBlocked||0===t.assignableGroups.length),b.xp6(1),b.hij(" ",b.lcZ(90,88,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),b.xp6(2),b.Q6J("ngIf","none"===t.groupAssignment),b.xp6(1),b.Q6J("ngIf","new"===t.groupAssignment),b.xp6(1),b.Q6J("ngIf","existing"===t.groupAssignment),b.xp6(3),b.hij(" ",b.lcZ(97,90,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),b.xp6(3),b.hij(" ",b.lcZ(100,92,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),b.xp6(2),b.Q6J("disabled",null===t.groupAssignment||"existing"===t.groupAssignment&&0===t.selection.selected.length||"new"===t.groupAssignment&&(0===t.name.length||0===t.description.length)||!0===t.asSubGroup&&null===t.parentGroup),b.xp6(1),b.hij(" ",b.lcZ(103,94,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}let kt=(()=>{class t{constructor(t,e,i,n,r,a,c,l,u,h,d){this.dialogRef=t,this.data=e,this.store=i,this.membersService=n,this.notificator=r,this.translate=a,this.guiAuthResolver=c,this.groupsService=l,this.attributesService=u,this.formBuilder=h,this.tableConfigService=d,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new s.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=o.rc,this.groupAttrNames=[st.r.GROUP_SYNC_ENABLED,st.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}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.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",l.kI.required],sponsoredMembers:["",[l.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(t=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(t,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(t=>{this.allVoGroups=t.filter(t=>"members"!==t.name),this.assignableGroups=this.filterAssignableGroups(t),this.membersService.getAllNamespacesRules().subscribe(t=>{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(t),this.namespaceRules.forEach(t=>this.namespaceOptions.push(t.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1})},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1)}filterAssignableGroups(t){const e=[];for(const i of t)this.hasAttributeEnabled(i.attributes,"synchronizationEnabled")||this.hasAttributeEnabled(i.attributes,"blockManualMemberAdding")||!this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[i])||e.push(i);return e}hasAttributeEnabled(t,e){return t.some(t=>t.friendlyName===e&&null!==t.value&&"true"===t.value.toString())}createOutputObjects(t){let e="",i="",n="",s="";const o=[];for(const r of Object.keys(t)){e=r.replace(";"," ").split(";")[0];for(const e of Object.keys(t[r]))switch(e){case"status":i=t[r][e];break;case"login":n=t[r][e];break;case"password":s=t[r][e]}o.push({name:e,status:i,login:n,password:s})}return o}onGenerate(){this.loading=!0;const t=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),e=this.getSelectedNamespaceRules().csvGenHeader,i=[];for(const s of t){const t=this.parseMemberLine(s);if("format"===t||"email"===t)return void(this.loading=!1);""!==t&&i.push(t)}const n={data:i,header:e,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(n.groups=this.groupIds),"never"!==this.expiration&&(n.validityTo=(0,u.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(n.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(n).subscribe(t=>{(0,r.O6)(this.createOutputObjects(t),"csv","member-logins"),this.notificator.showSuccess(this.translate.instant("DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}parseMemberLine(t){const e=t.trim();if(""===e)return"";const i=e.split(";"),n=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(i.length!==n.length)return"format";if("mail"===n[2].slice(n[2].length-4).toLowerCase()&&!i[2].trim().match(r.B2))return"email";if("login"===n[3]&&""===i[3].trim())return"login";let s="";for(const o of i)s+=o.trim()+";";return s.slice(0,-1)}userInputValidator(){return t=>{const e=t.value.split("\n");for(const i of e){const t=this.parseMemberLine(i);if("format"===t)return{invalidFormat:{value:i}};if("email"===t)return{invalidEmail:{value:i}};if("login"===t)return{invalidLogin:{value:i}}}return null}}setExpiration(t){this.expiration="never"===t?"never":(0,u.p6)(t,"yyyy-MM-dd","en-GB")}groupTablePageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}applyFilter(t){this.filterValue=t}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(t=>{this.groupIds.push(t.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(t=>{this.groupIds.push(t.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(t=>t.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(t=>t.namespaceName===this.usersInfoFormGroup.get("namespace").value)}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(c.d6),b.Y36(n.uq),b.Y36(c.V6),b.Y36(_.sK),b.Y36(c.x4),b.Y36(n.ff),b.Y36(n.H8),b.Y36(l.qu),b.Y36(o.dB))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-generate-sponsored-members-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","color","accent","matStepperNext","",3,"disabled"],[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"],["mat-flat-button","","color","accent",3,"disabled","click"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","pageSize","filter","page"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ct,1,0,"mat-spinner",1),b.YNc(5,St,104,96,"div",2),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),b.xp6(2),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading))},directives:[a.uh,u.O5,w.$g,a.xY,A.Vq,A.C0,A.VY,l._Y,l.JL,l.sg,y.KE,C.gD,l.Q7,l.JJ,l.u,u.sg,y.hX,v.Nt,l.Fj,a.H8,T.lW,A.Ic,A.fd,R,k.VQ,l.On,k.U0,E.gM,x.w,O.ey,y.TO,ot.r,rt.L,at.W],pipes:[_.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();var It=i(4252);function Rt(t,e){1&t&&b._UZ(0,"mat-spinner",12)}const xt=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ot(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"perun-web-apps-members-list",13),b.NdJ("page",function(e){return b.CHM(t),b.oxw().pageChanged(e)}),b.qZA()}if(2&t){const t=b.oxw();b.Q6J("pageSize",t.pageSize)("hidden",t.loading)("members",t.members)("selection",t.selection)("displayedColumns",b.DdM(6,xt))("disableRouting",!0)}}function Pt(t,e){1&t&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let Dt=(()=>{class t{constructor(t,e,i,n,r,a,c){this.dialogRef=t,this.data=e,this.store=i,this.membersService=n,this.notificator=r,this.translate=a,this.tableConfigService=c,this.loading=!1,this.tableId=o.US,this.expiration="never",this.searchCtrl=new l.NI("",[l.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new s.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId)}onCancel(){this.dialogRef.close(!1)}sponsor(t){if(this.loading=!0,0===t.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const e=t.pop();e.sponsored?this.membersService.sponsorMember(e.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(t)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(e.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(t)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const t=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(t)}setExpiration(t){this.expiration="never"===t?"never":(0,u.p6)(t,"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,[st.r.MEMBER_DEF_EXPIRATION,st.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(t=>{this.members=t,this.loading=!1},()=>this.loading=!1))}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.so),b.Y36(a.WI),b.Y36(c.d6),b.Y36(n.uq),b.Y36(c.V6),b.Y36(_.sK),b.Y36(o.dB))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","hidden","members","selection","displayedColumns","disableRouting","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","hidden","members","selection","displayedColumns","disableRouting","page"],["alert_type","warn"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"mat-form-field",2),b.TgZ(6,"label"),b.TgZ(7,"input",3),b.NdJ("keyup.enter",function(){return e.onSearchByString()}),b.ALo(8,"translate"),b.qZA(),b.qZA(),b.TgZ(9,"mat-error"),b._uU(10),b.ALo(11,"translate"),b.qZA(),b.qZA(),b.TgZ(12,"button",4),b.NdJ("click",function(){return e.onSearchByString()}),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.YNc(15,Rt,1,0,"mat-spinner",5),b.YNc(16,Ot,1,7,"perun-web-apps-members-list",6),b.YNc(17,Pt,3,3,"app-alert",7),b.TgZ(18,"div"),b._UZ(19,"br"),b.TgZ(20,"h6"),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.TgZ(23,"perun-web-apps-expiration-select",8),b.NdJ("datePicker",function(t){return e.setExpiration(t)}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(24,"div",9),b.TgZ(25,"button",10),b.NdJ("click",function(){return e.onCancel()}),b._uU(26),b.ALo(27,"translate"),b.qZA(),b.TgZ(28,"button",11),b.NdJ("click",function(){return e.onSubmit()}),b._uU(29),b.ALo(30,"translate"),b.qZA(),b.qZA(),b.qZA()),2&t&&(b.Tol(e.theme),b.xp6(2),b.Oqu(b.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),b.xp6(5),b.s9C("placeholder",b.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),b.Q6J("formControl",e.searchCtrl),b.xp6(3),b.hij(" ",b.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),b.xp6(2),b.Q6J("disabled",e.loading),b.xp6(1),b.hij(" ",b.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),b.xp6(2),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",e.firstSearchDone),b.xp6(1),b.Q6J("ngIf",!e.firstSearchDone),b.xp6(4),b.Oqu(b.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),b.xp6(5),b.hij(" ",b.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),b.xp6(2),b.Q6J("disabled",e.loading||0===e.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[a.uh,a.xY,y.KE,v.Nt,l.Fj,l.JJ,l.oH,y.TO,T.lW,u.O5,R,a.H8,w.$g,It.O,x.w],pipes:[_.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),t})();var Mt=i(57629),Lt=i(59403),Nt=i(8055),zt=i(58623),Zt=i(67033),Bt=i(79592),qt=i(95121),Ft=i(82819),Ut=i(84534);function Ht(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"th",15),b.TgZ(1,"mat-checkbox",16),b.NdJ("change",function(e){b.CHM(t);const i=b.oxw();return e?i.masterToggle():null}),b.qZA(),b.qZA()}if(2&t){const t=b.oxw();b.xp6(1),b.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Gt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"td",17),b.TgZ(1,"mat-checkbox",18),b.NdJ("change",function(e){const i=b.CHM(t).$implicit,n=b.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),b.qZA(),b.qZA()}if(2&t){const t=e.$implicit,i=b.oxw();b.xp6(1),b.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function jt(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")))}function Yt(t,e){if(1&t&&(b.TgZ(0,"td",17),b._uU(1),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Oqu(t.member.id)}}function Kt(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")))}function Vt(t,e){if(1&t&&(b.TgZ(0,"td",20),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,t.member.user))}}function $t(t,e){1&t&&(b.TgZ(0,"th",19),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")))}function Jt(t,e){if(1&t&&(b.TgZ(0,"span"),b._uU(1),b.ALo(2,"userFullName"),b._UZ(3,"br"),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,1,t.user),"")}}function Qt(t,e){if(1&t&&(b.TgZ(0,"td",20),b.YNc(1,Jt,4,3,"span",21),b.qZA()),2&t){const t=e.$implicit;b.xp6(1),b.Q6J("ngForOf",t.sponsors)}}function Wt(t,e){1&t&&b._UZ(0,"th",19)}function Xt(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"span",24),b.ALo(1,"translate"),b.TgZ(2,"button",25),b.NdJ("mouseenter",function(){return b.CHM(t),b.oxw(2).disableRouting=!0})("mouseleave",function(){b.CHM(t);const e=b.oxw(2);return e.disableRouting=e.routingStrategy})("click",function(){b.CHM(t);const e=b.oxw().$implicit;return b.oxw().resetPassword(e)}),b.TgZ(3,"mat-icon"),b._uU(4,"vpn_key"),b.qZA(),b.qZA(),b.qZA()}if(2&t){const t=b.oxw(2);b.Q6J("matTooltipPosition","above")("matTooltip",b.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),b.xp6(2),b.Q6J("disabled",t.loading)}}function te(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"td",20),b.TgZ(1,"button",22),b.NdJ("click",function(){const e=b.CHM(t).$implicit;return b.oxw().showSponsors(e)})("mouseenter",function(){return b.CHM(t),b.oxw().disableRouting=!0})("mouseleave",function(){b.CHM(t);const e=b.oxw();return e.disableRouting=e.routingStrategy}),b.TgZ(2,"mat-icon"),b._uU(3,"edit"),b.qZA(),b.qZA(),b.YNc(4,Xt,5,5,"span",23),b.qZA()}if(2&t){const t=e.$implicit,i=b.oxw();b.xp6(4),b.Q6J("ngIf",i.passwdResetAuth(t))}}function ee(t,e){1&t&&b._UZ(0,"tr",26)}const ie=function(t,e){return["/organizations",t,"members",e]};function ne(t,e){if(1&t&&b._UZ(0,"tr",27),2&t){const t=e.$implicit,i=b.oxw();b.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:b.WLB(6,ie,t.member.voId,t.member.id))("routerLink",i.disableRouting?null:b.WLB(9,ie,t.member.voId,t.member.id))}}function se(t,e){1&t&&(b.TgZ(0,"app-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function oe(t,e){1&t&&(b.TgZ(0,"app-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let re=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.authResolver=e,this.storeService=i,this.attributesManager=n,this.tableCheckbox=s,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.pageSize=10,this.page=new b.vpe,this.refreshTable=new b.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=r.f7}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(t,e){var i;switch(e){case"id":return t.member.id.toString();case"name":return t.member.user?t.member.user.lastName?t.member.user.lastName:null!==(i=t.member.user.firstName)&&void 0!==i?i:"":"";case"sponsors":return t.sponsors.length.toString();default:return""}}getDataForColumn(t,e){switch(e){case"id":return t.member.id.toString();case"name":return t.member.user?(0,r.bD)(t.member.user):"";case"sponsors":return t.sponsors.map(t=>(0,r.bD)(t.user)).join();default:return""}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new Zt.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(t){const e=(0,r.kZ)();e.width="650px",e.data={sponsors:t.sponsors,member:t.member,theme:"vo-theme"},this.dialog.open(Bt.H,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(t){this.loading=!0;const e=this.storeService.get("password_namespace_attributes").map(t=>(t=t.split(":"))[t.length-1]);this.attributesManager.getLogins(t.member.userId).subscribe(i=>{const n=i.filter(t=>e.includes(t.friendlyNameParameter)),s=(0,r.kZ)();s.width="400px",s.data={userId:t.member.userId,memberId:t.member.id,logins:n},this.dialog.open(qt.m,s).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(t){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:t.member.voId,beanName:"Vo"},t.member])}}return t.\u0275fac=function(e){return new(e||t)(b.Y36(a.uw),b.Y36(c.x4),b.Y36(c.d6),b.Y36(n.H8),b.Y36(c.UA))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-sponsored-members-list"]],viewQuery:function(t,e){if(1&t&&(b.Gf(zt.YE,7),b.Gf(r.l9,7)),2&t){let t;b.iGM(t=b.CRH())&&(e.matSort=t.first),b.iGM(t=b.CRH())&&(e.child=t.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSize:"pageSize"},outputs:{page:"page",refreshTable:"refreshTable"},features:[b.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,Ht,2,3,"th",4),b.YNc(5,Gt,2,2,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,jt,3,3,"th",7),b.YNc(8,Yt,2,1,"td",5),b.BQk(),b.ynx(9,8),b.YNc(10,Kt,3,3,"th",7),b.YNc(11,Vt,3,3,"td",9),b.BQk(),b.ynx(12,10),b.YNc(13,$t,3,3,"th",7),b.YNc(14,Qt,2,1,"td",9),b.BQk(),b.ynx(15,11),b.YNc(16,Wt,1,0,"th",7),b.YNc(17,te,5,1,"td",9),b.BQk(),b.YNc(18,ee,1,0,"tr",12),b.YNc(19,ne,1,12,"tr",13),b.qZA(),b.qZA(),b.qZA(),b.YNc(20,se,3,3,"app-alert",14),b.YNc(21,oe,3,3,"app-alert",14)),2&t&&(b.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.sponsoredMembers.length),b.xp6(1),b.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),b.xp6(1),b.Q6J("dataSource",e.dataSource),b.xp6(16),b.Q6J("matHeaderRowDef",e.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",e.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.sponsoredMembers.length),b.xp6(1),b.Q6J("ngIf",0===e.sponsoredMembers.length))},directives:[Ft.l,Zt.BZ,zt.YE,Zt.w1,Zt.fO,Zt.Dz,Zt.as,Zt.nj,u.O5,Zt.ge,S.oG,Zt.ev,zt.nU,u.sg,T.lW,P.Hw,E.gM,Zt.XQ,Zt.Gk,Ut.YH,Mt.rH,x.w],pipes:[_.X$,M.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();function ae(t,e){if(1&t&&(b.TgZ(0,"button",10),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&t){const t=b.oxw(),e=b.MAs(9);b.Q6J("disabled",t.findSponsorsAuth&&0===t.voSponsors.length)("matMenuTriggerFor",e),b.xp6(1),b.hij(" ",b.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function ce(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",11),b.NdJ("click",function(){return b.CHM(t),b.oxw().onCreate()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function le(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",11),b.NdJ("click",function(){return b.CHM(t),b.oxw().onGenerate()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function ue(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"button",12),b.NdJ("click",function(){return b.CHM(t),b.oxw().onSponsorExistingMember()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&t&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function he(t,e){1&t&&b._UZ(0,"mat-spinner",13)}function de(t,e){if(1&t){const t=b.EpF();b.TgZ(0,"app-sponsored-members-list",14),b.NdJ("page",function(e){return b.CHM(t),b.oxw().pageChanged(e)})("refreshTable",function(){return b.CHM(t),b.oxw().refresh()}),b.qZA()}if(2&t){const t=b.oxw();b.Q6J("sponsoredMembers",t.members)("disableRouting",!t.routeAuth)("selection",t.selection)("filterValue",t.searchString)("pageSize",t.pageSize)}}let pe=(()=>{class t{constructor(t,e,i,n,r,a,c){this.membersManager=t,this.route=e,this.dialog=i,this.authResolver=n,this.tableConfigService=r,this.storeService=a,this.authzResolver=c,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new s.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=o.Bf}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(t=>{this.voId=t.voId,this.vo={id:this.voId,beanName:"Vo"};const e=["SPONSOR"],i=new Map;this.authResolver.getRolesAuthorization(e,this.vo,i),this.findSponsorsAuth=i.get(e[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(h.u.SPONSOR,this.vo.id,"Vo",[st.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(t=>{this.voSponsors=t,this.setAuthRights(),this.refresh()}):(this.setAuthRights(),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 t=(0,r.kZ)();t.width="620px",t.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(nt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onGenerate(){const t=(0,r.kZ)();t.width="750px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(kt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}onSponsorExistingMember(){const t=(0,r.kZ)();t.width="650px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Dt,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(t=>{this.storeService.setPerunPrincipal(t),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.voId,this.attrNames).subscribe(t=>{this.selection.clear(),this.members=t,this.setAuthRights(),this.loading=!1})}applyFilter(t){this.searchString=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoSponsoredMembersComponent",t.\u0275fac=function(e){return new(e||t)(b.Y36(n.uq),b.Y36(Mt.gz),b.Y36(a.uw),b.Y36(c.x4),b.Y36(o.dB),b.Y36(c.d6),b.Y36(n.Ct))},t.\u0275cmp=b.Xpm({type:t,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(t,e){2&t&&b.ekj("router-component",e.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable"]],template:function(t,e){1&t&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return e.refresh()}),b.qZA(),b.TgZ(5,"span",2),b.ALo(6,"translate"),b.YNc(7,ae,3,5,"button",3),b.qZA(),b.TgZ(8,"mat-menu",null,4),b.YNc(10,ce,3,3,"button",5),b.YNc(11,le,3,3,"button",5),b.qZA(),b.YNc(12,ue,3,3,"button",6),b.TgZ(13,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(t){return e.applyFilter(t)}),b.qZA(),b.YNc(14,he,1,0,"mat-spinner",8),b.YNc(15,de,1,5,"app-sponsored-members-list",9),b.qZA()),2&t&&(b.xp6(2),b.Oqu(b.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),b.xp6(3),b.s9C("matTooltip",b.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),b.Q6J("matTooltipDisabled",!(e.findSponsorsAuth&&0===e.voSponsors.length)),b.xp6(2),b.Q6J("ngIf",!e.loading&&(e.createAuth||e.generateAuth)),b.xp6(3),b.Q6J("ngIf",e.createAuth),b.xp6(1),b.Q6J("ngIf",e.generateAuth),b.xp6(1),b.Q6J("ngIf",!e.loading&&e.setSponsorshipAuth),b.xp6(1),b.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),b.xp6(1),b.Q6J("ngIf",e.loading),b.xp6(1),b.Q6J("ngIf",!e.loading))},directives:[Lt.t,E.gM,u.O5,Nt.VK,rt.L,T.lW,Nt.p6,Nt.OP,w.$g,re],pipes:[_.X$],styles:[""]}),t})()},17249:function(t,e,i){"use strict";i.d(e,{Y:function(){return N}});var n=i(33642),s=i(84140),o=i(88426),r=i(99608),a=i(4230),c=i(84608),l=i(16073),u=i(31572),h=i(48160),d=i(57629),p=i(61511),g=i(67806),f=i(66283),m=i(80340),b=i(15980),_=i(36922);function w(t,e){1&t&&u._UZ(0,"mat-spinner",3)}function A(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",4),u.TgZ(2,"mat-form-field"),u._UZ(3,"input",5),u.ALo(4,"translate"),u.TgZ(5,"mat-error"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.qZA(),u.TgZ(8,"mat-form-field"),u._UZ(9,"input",5),u.ALo(10,"translate"),u.TgZ(11,"mat-error"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(14,"div",6),u.TgZ(15,"button",7),u.NdJ("click",function(){return u.CHM(t),u.oxw().onCancel()}),u._uU(16),u.ALo(17,"translate"),u.qZA(),u.TgZ(18,"div",8),u.ALo(19,"translate"),u.TgZ(20,"button",9),u.NdJ("click",function(){return u.CHM(t),u.oxw().onSubmit()}),u._uU(21),u.ALo(22,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){const t=u.oxw();u.xp6(3),u.s9C("placeholder",u.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),u.Q6J("formControl",t.fullNameCtrl),u.xp6(3),u.hij(" ",u.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),u.xp6(3),u.s9C("placeholder",u.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),u.Q6J("formControl",t.shortNameCtrl),u.xp6(3),u.hij(" ",u.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),u.xp6(4),u.hij(" ",u.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),u.xp6(2),u.s9C("matTooltip",u.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),u.Q6J("matTooltipDisabled",t.shortNameCtrl.valid&&t.fullNameCtrl.valid),u.xp6(2),u.Q6J("disabled",t.shortNameCtrl.invalid||t.fullNameCtrl.invalid),u.xp6(1),u.hij(" ",u.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let y=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.voService=n,this.translate=s,this.router=o,s.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new l.NI(null,[l.kI.required,l.kI.pattern("^[\\w.-]+$"),l.kI.maxLength(33)]),this.fullNameCtrl=new l.NI(null,[l.kI.required,l.kI.pattern(".*[\\S]+.*"),l.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(t=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0),this.router.navigate(["/organizations",t.id])},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(u.Y36(c.so),u.Y36(c.WI),u.Y36(o.V6),u.Y36(n.YF),u.Y36(h.sK),u.Y36(d.F0))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],["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(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,w,1,0,"mat-spinner",1),u.YNc(5,A,23,25,"div",2),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[c.uh,p.O5,g.$g,c.xY,f.KE,m.Nt,l.Fj,l.Q7,l.JJ,l.oH,f.TO,c.H8,b.lW,_.gM],pipes:[h.X$],styles:[""]}),t})();var v=i(60611),T=i(48958),C=i(66297),E=i(43691),S=i(59403),k=i(19139),I=i(97162);function R(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-refresh-button",9),u.NdJ("refresh",function(){return u.CHM(t),u.oxw().refreshTable()}),u.qZA()}}function x(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",10),u.NdJ("click",function(){return u.CHM(t),u.oxw().onCreateVo()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function O(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"button",11),u.NdJ("click",function(){return u.CHM(t),u.oxw().onRemoveVo()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("disabled",0===t.selection.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function P(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-immediate-filter",12),u.NdJ("filter",function(e){return u.CHM(t),u.oxw().applyFilter(e)}),u.qZA()}2&t&&u.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function D(t,e){1&t&&u._UZ(0,"mat-spinner",13)}function M(t,e){if(1&t){const t=u.EpF();u.TgZ(0,"perun-web-apps-vos-list",14),u.NdJ("page",function(e){return u.CHM(t),u.oxw().pageChanged(e)}),u.qZA()}if(2&t){const t=u.oxw();u.Q6J("pageSize",t.pageSize)("displayedColumns",t.displayedColumns)("filterValue",t.filterValue)("recentIds",t.recentIds)("selection",t.selection)("vos",t.vos)}}const L=function(){return{color:"black"}};let N=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.sideMenuService=t,this.voService=e,this.guiAuthResolver=i,this.tableConfigService=n,this.dialog=s,this.notificator=o,this.apiRequest=r,this.initAuthService=a,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=v.tw}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new a.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(t=>{this.vos=t,this.recentIds=(0,s.vL)("vos"),this.loading=!1},t=>{"PrivilegeException"===t.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(t)})}applyFilter(t){this.filterValue=t}onCreateVo(){const t=(0,s.kZ)();t.width="600px",t.data={theme:"vo-theme"},this.dialog.open(y,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const t=(0,s.kZ)();t.width="500px",t.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(r.o,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.id="VoSelectPageComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(T.D),u.Y36(n.YF),u.Y36(o.x4),u.Y36(v.dB),u.Y36(c.uw),u.Y36(o.V6),u.Y36(o.F5),u.Y36(o.v0))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.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",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page"]],template:function(t,e){1&t&&(u.TgZ(0,"div",0),u._UZ(1,"perun-web-apps-back-button"),u.TgZ(2,"h1",1),u._UZ(3,"mat-icon",2),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.YNc(6,R,1,0,"perun-web-apps-refresh-button",3),u.YNc(7,x,3,3,"button",4),u.YNc(8,O,3,4,"button",5),u.YNc(9,P,1,2,"perun-web-apps-immediate-filter",6),u.YNc(10,D,1,0,"mat-spinner",7),u.YNc(11,M,1,6,"perun-web-apps-vos-list",8),u.qZA()),2&t&&(u.xp6(3),u.Q6J("ngStyle",u.DdM(10,L)),u.xp6(1),u.hij(" ",u.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),u.xp6(2),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.createAuth),u.xp6(1),u.Q6J("ngIf",!e.loading&&e.deleteAuth),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[C.W,E.Hw,p.PC,p.O5,S.t,b.lW,k.L,g.$g,I.Z],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t})()},73868:function(t,e,i){"use strict";var n=i(30269),s=i(31572),o=i(57629);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})();var a=i(33642),c=i(88426),l=i(84140),u=i(61189),h=i(48958),d=i(48160),p=i(84608),g=i(25122),f=i(29236),m=i(16073),b=i(61511),_=i(43691),w=i(15980),A=i(67806),y=i(39571),v=i(71522),T=i(84534),C=i(36922);function E(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function S(t,e){1&t&&(s.TgZ(0,"app-alert",4),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}const k=function(t){return[t]};function I(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"a",8),s.TgZ(2,"span",9),s._uU(3),s.qZA(),s._UZ(4,"mat-icon",10),s._uU(5),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Gre("",t.style," item-itself"),s.s9C("matTooltip",t.tooltip),s.Q6J("perunWebAppsMiddleClickRouterLink",s.VKq(9,k,t.url))("routerLink",t.url),s.xp6(2),s.Oqu(t.type),s.xp6(1),s.Q6J("svgIcon",t.cssIcon),s.xp6(1),s.hij(" ",t.label," ")}}function R(t,e){if(1&t&&(s.TgZ(0,"div",5),s.YNc(1,I,6,11,"div",6),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.items)}}let x=(()=>{class t{constructor(t,e,i,n){this.vosManager=t,this.groupsManager=e,this.authResolver=i,this.facilitiesManager=n,this.vosIds=[],this.items=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,l.vL)("recent");for(const t of this.recentItems)switch(t.type){case"Vo":this.vosIds.push(t.id);break;case"Group":this.groupsIds.push(t.id);break;case"Facility":this.facilitiesIds.push(t.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(t=>{this.vos=t,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(t=>{this.groups=t,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(t=>{this.facilities=t,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const t of this.recentItems)switch(t.type){case"Vo":{const e=this.vos.filter(e=>e.id===t.id)[0];e&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${e.id}`,label:e.name,tooltip:e.name,style:"vo-btn",type:"Organization"});break}case"Group":{const e=this.groups.filter(e=>e.id===t.id)[0];e&&this.items.push({cssIcon:"perun-group",url:`/organizations/${e.voId}/groups/${e.id}`,label:e.shortName,tooltip:`${t.voName} : ${e.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const e=this.facilities.filter(e=>e.id===t.id)[0];e&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${e.id}`,label:e.name,tooltip:e.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.YF),s.Y36(a.ff),s.Y36(c.x4),s.Y36(a.IQ))},t.\u0275cmp=s.Xpm({type:t,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,"perunWebAppsMiddleClickRouterLink","routerLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(s.YNc(0,E,1,0,"mat-spinner",0),s.YNc(1,S,3,3,"app-alert",1),s.YNc(2,R,2,1,"div",2)),2&t&&(s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",0===e.items.length&&!e.loading),s.xp6(1),s.Q6J("ngIf",e.items.length>0))},directives:[b.O5,A.$g,y.w,b.sg,v.wG,o.yS,T.YH,C.gM,_.Hw],pipes:[d.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}.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;align-items:center;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}"]}),t})();var O=i(97162),P=i(78364),D=i(88884),M=i(60007);function L(t,e){1&t&&s._UZ(0,"mat-spinner",7)}const N=function(){return["id","recent","shortName","name"]};function z(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-vos-list",8),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("displayedColumns",s.DdM(5,N))("recentIds",t.recentIds)("vos",t.objects)}}const Z=function(){return["id","recent","vo","name","description"]};function B(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-groups-list",9),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("groups",t.objects)("recentIds",t.recentIds)("displayedColumns",s.DdM(5,Z))}}const q=function(){return["id","recent","name","vo","facility"]};function F(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-resources-list",10),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("resources",t.objects)("displayedColumns",s.DdM(6,q))("recentIds",t.recentIds)("routingVo",!0)}}const U=function(){return["id","recent","name","description"]};function H(t,e){if(1&t&&(s.TgZ(0,"span"),s._UZ(1,"perun-web-apps-facilities-list",11),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("pageSizeOptions",null)("pageSize",5)("facilities",t.objects)("recentIds",t.recentIds)("displayedColumns",s.DdM(5,U))}}function G(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,z,2,6,"span",6),s.YNc(2,B,2,6,"span",6),s.YNc(3,F,2,7,"span",6),s.YNc(4,H,2,6,"span",6),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf","Vo"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Group"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Resource"===t.primaryObject),s.xp6(1),s.Q6J("ngIf","Facility"===t.primaryObject)}}let j=(()=>{class t{constructor(t,e,i){this.authzResolver=t,this.guiAuthResolver=e,this.resourceService=i,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(t=>{this.objects=t,this.recentIds=(0,l.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t,this.recentIds=(0,l.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(t=>{this.objects=t,this.recentIds=(0,l.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(t=>{this.objects=t.map(t=>({facility:t})),this.recentIds=(0,l.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Ct),s.Y36(c.x4),s.Y36(a.xk))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","pageSize","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s._UZ(2,"mat-icon",2),s._uU(3),s.ALo(4,"translate"),s.TgZ(5,"span",3),s.ALo(6,"translate"),s.TgZ(7,"mat-icon",4),s._uU(8,"info_outline"),s.qZA(),s.qZA(),s.qZA(),s.YNc(9,L,1,0,"mat-spinner",5),s.YNc(10,G,5,4,"div",6),s.qZA()),2&t&&(s.xp6(2),s.Q6J("svgIcon",e.svgIcon),s.xp6(1),s.hij(" ",s.lcZ(4,5,e.title)," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(6,7,e.roleTooltipInfo)),s.xp6(4),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[_.Hw,C.gM,b.O5,A.$g,O.Z,P.W,D.C,M.X],pipes:[d.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}"]}),t})();var Y=i(22196);function K(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-checkbox",8),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.changeRoleView(i):null}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("checked",i.isRoleShowed(t)),s.xp6(1),s.Oqu(s.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+t))}}function V(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",15),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).rightSettingOpened=!0}),s.TgZ(1,"mat-icon"),s._uU(2,"settings"),s.qZA(),s.qZA()}}function $(t,e){1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function J(t,e){1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function Q(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).goToUserProfile()}),s.TgZ(1,"mat-icon",24),s._uU(2,"exit_to_app"),s.qZA(),s._uU(3),s.ALo(4,"translate"),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(3),s.AsE("",s.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",t.userProfileName," ")}}const W=function(){return["/myProfile"]};function X(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",16),s.TgZ(2,"div",17),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",18),s.YNc(6,$,3,3,"span",14),s.YNc(7,J,3,3,"span",14),s.qZA(),s.TgZ(8,"div",19),s.TgZ(9,"button",20),s._UZ(10,"mat-icon",21),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.YNc(13,Q,5,4,"button",22),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(3),s.hij(" ",s.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),s.xp6(3),s.Q6J("ngIf",!t.userProfileUrl),s.xp6(1),s.Q6J("ngIf",t.userProfileUrl),s.xp6(2),s.Q6J("routerLink",s.DdM(10,W)),s.xp6(2),s.hij(" ",s.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),s.xp6(2),s.Q6J("ngIf",t.userProfileUrl)}}function tt(t,e){1&t&&(s.TgZ(0,"span"),s.TgZ(1,"div",3),s._uU(2),s.ALo(3,"translate"),s.qZA(),s._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),s.qZA()),2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function et(t,e){1&t&&(s.TgZ(0,"div",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function it(t,e){if(1&t&&s._UZ(0,"app-perun-web-apps-dashboard-card",30),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("roleName",t)("role",e.roles[t])}}function nt(t,e){if(1&t&&(s.TgZ(0,"div",28),s.YNc(1,it,1,2,"app-perun-web-apps-dashboard-card",29),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(3);s.xp6(1),s.Q6J("ngIf",i.isRoleShowed(t))}}function st(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,tt,5,3,"span",14),s.YNc(2,et,3,3,"div",25),s.TgZ(3,"div"),s.YNc(4,nt,2,1,"div",26),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.recentlyViewedShow),s.xp6(1),s.Q6J("ngIf",t.rolesToHide.toString()!==t.roleNames.toString()),s.xp6(2),s.Q6J("ngForOf",t.roleNames)}}function ot(t,e){if(1&t&&(s.TgZ(0,"div",9),s.TgZ(1,"h1",10),s._UZ(2,"mat-icon",11),s.TgZ(3,"span",12),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"userFullName"),s.qZA(),s.YNc(7,V,3,0,"button",13),s.qZA(),s.YNc(8,X,14,11,"div",14),s.YNc(9,st,5,3,"div",14),s.qZA()),2&t){const t=s.oxw();s.xp6(4),s.AsE("",s.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",s.lcZ(6,7,t.user),""),s.xp6(3),s.Q6J("ngIf",!t.isOnlySelfRole),s.xp6(1),s.Q6J("ngIf",t.isOnlySelfRole),s.xp6(1),s.Q6J("ngIf",!t.isOnlySelfRole)}}let rt=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l){this.userManager=t,this.storeService=e,this.sideMenuService=i,this.route=n,this.router=s,this.notificator=o,this.translateService=r,this.dialog=a,this.apiRequestConfiguration=c,this.utilsService=l,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"],r.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(t=>this.mailSuccessMessage=t)}ngOnInit(){this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const t=Object.keys(this.roles);this.isOnlySelfRole=t.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(e=>t.includes(e)),this.getDashboardSettings(),this.sideMenuService.setHomeItems([])}validatePreferredMailChange(){const t=this.route.snapshot.queryParamMap,e=t.get("token"),i=t.get("u");e&&i&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(e,Number.parseInt(i,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const t=(0,l.kZ)();t.width="600px",this.dialog.open(u.qD,t).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const t=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===t||t;const e=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===e?[]:e}changeRoleView(t){if(this.isRoleShowed(t)){const e=[];for(const i of this.roleNames)this.isRoleShowed(i)||e.push(i),i===t&&e.push(i);this.rolesToHide=e}else this.rolesToHide=this.rolesToHide.filter(e=>e!==t);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(t){for(const e of this.rolesToHide)if(e===t)return!1;return!0}getUserProfile(){this.utilsService.getAppsConfig().subscribe(t=>{this.userProfileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null}),this.userProfileName=this.storeService.get("profile_label_en")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Fv),s.Y36(c.d6),s.Y36(h.D),s.Y36(o.gz),s.Y36(o.F0),s.Y36(c.V6),s.Y36(d.sK),s.Y36(p.uw),s.Y36(c.F5),s.Y36(a.FW))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.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"],[1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-sidenav-container",0),s.TgZ(1,"mat-sidenav",1),s.NdJ("openedChange",function(t){return e.rightSettingOpened=t}),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"mat-checkbox",4),s.NdJ("ngModelChange",function(t){return e.recentlyViewedShow=t})("change",function(t){return t?e.recentlyViewedChanged():null}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.TgZ(10,"div",5),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.YNc(13,K,4,4,"div",6),s.qZA(),s.qZA(),s.TgZ(14,"mat-sidenav-content"),s.YNc(15,ot,10,9,"div",7),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("opened",e.rightSettingOpened),s.xp6(3),s.Oqu(s.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),s.xp6(3),s.Q6J("ngModel",e.recentlyViewedShow),s.xp6(1),s.Oqu(s.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),s.xp6(3),s.Oqu(s.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),s.xp6(2),s.Q6J("ngForOf",e.roleNames),s.xp6(2),s.Q6J("ngIf",void 0!==e.user))},directives:[g.TM,g.JX,f.oG,m.JJ,m.On,b.sg,g.Rh,b.O5,_.Hw,w.lW,o.rH,x,j],pipes:[d.X$,Y.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;grid-column-gap:1rem;-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 - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),t})();var at=i(66297);let ct=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"perun-web-apps-back-button"),s.TgZ(2,"h1",1),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Oqu(s.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[at.W],pipes:[d.X$],styles:[""]}),t})();var lt=i(10896),ut=i(66283),ht=i(80340),dt=i(22727);let pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez,w.ot,_.Ps,o.Bz,lt.ez,d.aw,ut.lN,m.UX,ht.c,dt.r]]}),t})(),gt=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.e8))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h4",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.startAuth()}),s._uU(7),s.ALo(8,"translate"),s.TgZ(9,"mat-icon"),s._uU(10," login "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),s.xp6(3),s.hij(" ",s.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[w.lW,_.Hw],pipes:[d.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();var ft=i(16306);function mt(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"div",9),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)}}function bt(t,e){if(1&t&&(s.TgZ(0,"div",10),s._UZ(1,"div",11),s._UZ(2,"mat-icon",12),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)}}function _t(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"a",9),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("innerHTML",t.logo,s.oJD)}}const wt=function(t){return{color:t}};function At(t,e){if(1&t&&(s.TgZ(0,"p",13),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngStyle",s.VKq(2,wt,t.textColor)),s.xp6(1),s.hij(" ",t.headerTitle," ")}}const yt=function(t,e){return{background:t,color:e}},vt=function(t,e){return{"min-height":t,"background-color":e}};let Tt=(()=>{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.d6),s.Y36(n.H7))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,mt,2,1,"div",1),s.YNc(2,bt,3,1,"div",2),s.YNc(3,_t,2,1,"div",1),s.YNc(4,At,2,4,"p",3),s.qZA(),s.TgZ(5,"div",4),s.TgZ(6,"div",5),s.TgZ(7,"div",6),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",7),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Q6J("ngStyle",s.WLB(6,yt,e.headerBackgroundColor,e.headerTextColor)),s.xp6(1),s.Q6J("ngIf","admin-gui"===e.application),s.xp6(1),s.Q6J("ngIf","publications"===e.application),s.xp6(1),s.Q6J("ngIf","user-profile"===e.application),s.xp6(1),s.Q6J("ngIf",!!e.headerTitle),s.xp6(2),s.Q6J("ngStyle",s.WLB(9,vt,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[b.PC,b.O5,o.lC,ft.$,_.Hw],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}"]}),t})();function Ct(t,e){1&t&&(s.TgZ(0,"app-alert",8),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const Et=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:lt.t$},{path:"api-callback",component:r},{path:"login",component:gt},{path:"service-access",component:(()=>{class t{constructor(t,e,i){this.authzService=t,this.dialog=e,this.translate=i,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new m.NI(null,[m.kI.required]),this.passwordCtrl=new m.NI(null,[m.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(t=>{sessionStorage.setItem("baPrincipal",JSON.stringify(t)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Ct),s.Y36(p.uw),s.Y36(d.sK))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h2"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.YNc(6,Ct,3,3,"app-alert",3),s.TgZ(7,"mat-form-field",4),s.TgZ(8,"mat-label"),s._uU(9),s.ALo(10,"translate"),s.qZA(),s._UZ(11,"input",5),s.TgZ(12,"mat-error"),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.TgZ(15,"mat-form-field",4),s.TgZ(16,"mat-label"),s._uU(17),s.ALo(18,"translate"),s.qZA(),s._UZ(19,"input",6),s.TgZ(20,"mat-error"),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA(),s.TgZ(23,"button",7),s.NdJ("click",function(){return e.startAuth()}),s._uU(24),s.ALo(25,"translate"),s.TgZ(26,"mat-icon"),s._uU(27," login "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.Oqu(s.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),s.xp6(2),s.Q6J("ngIf",e.wrongUsernameOrPassword),s.xp6(3),s.Oqu(s.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),s.xp6(2),s.Q6J("formControl",e.usernameCtrl),s.xp6(2),s.hij(" ",s.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),s.xp6(4),s.Oqu(s.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),s.xp6(2),s.Q6J("formControl",e.passwordCtrl)("type","password"),s.xp6(2),s.hij(" ",s.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),s.xp6(2),s.Q6J("disabled",e.usernameCtrl.invalid||e.passwordCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,ut.KE,ut.hX,ht.Nt,m.Fj,m.Q7,m.JJ,m.oH,ut.TO,w.lW,_.Hw,y.w],pipes:[d.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}"]}),t})()},{path:"organizations",loadChildren:()=>Promise.all([i.e(579),i.e(622),i.e(901),i.e(427)]).then(i.bind(i,67427)).then(t=>t.VosModule)},{path:"admin",loadChildren:()=>Promise.all([i.e(579),i.e(363),i.e(756),i.e(901),i.e(285)]).then(i.bind(i,1285)).then(t=>t.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([i.e(579),i.e(363),i.e(622),i.e(756),i.e(300)]).then(i.bind(i,55300)).then(t=>t.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([i.e(579),i.e(363)]).then(i.bind(i,6363)).then(t=>t.UsersModule)},{path:"home",component:rt},{path:"**",component:ct}];let St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.Bz.forRoot(Et,{preloadingStrategy:o.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],o.Bz]}),t})();var kt=i(61601),It=i(28780);class Rt{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}var xt=i(29063),Ot=i(43490);let Pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[c.e8],imports:[[b.ez]]}),t})();var Dt=i(28940),Mt=i(48002),Lt=i(40659),Nt=i(62284),zt=i(7433),Zt=i(82044),Bt=i(11930),qt=i(39124),Ft=i(64467),Ut=i(81835),Ht=i(88227),Gt=i(97397),jt=i(71313),Yt=i(14527),Kt=i(65423),Vt=i(17249),$t=i(73916),Jt=i(48666);let Qt=(()=>{class t{constructor(){this.allowCachePages=[{type:"vo",components:[Dt.y.id,Mt.G.id,Lt.c.id,Ht.z.id,Gt.z.id,Yt.w.id,Jt.T.id]},{type:"group",components:[Bt.y.id,Zt.u.id,zt.q.id,Nt.W.id,Kt.Z.id]},{type:"facility",components:[qt.o.id,Ft.f.id]},{type:"member",components:[Ut.j.id]},{type:"admin",components:[jt.t.id]},{type:"entitySelect",components:[Vt.Y.id,$t.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 t of this.allowCachePages)this.typeToComponentToHandlers.set(t.type,new Map)}setLastNavigationType(t){this.isUserNavigatingBack="back"===t}checkResets(t){const e=this.getPath(t);for(const i of this.resets)if(i.resetPath===e){const e=t.params[i.param];null!==i.lastValue&&i.lastValue!==e&&this.typeToComponentToHandlers.get(i.resetType).clear(),i.lastValue=e}}shouldReuseRoute(t,e){return this.checkResets(e),t.routeConfig===e.routeConfig}retrieve(t){if(t.component){const e=this.getComponentName(t.component);for(const t of this.allowCachePages)if(-1!==t.components.indexOf(e)){const i=this.typeToComponentToHandlers.get(t.type).get(e);return void 0===i?null:i.routeHandle}}return null}shouldAttach(t){if(!this.isUserNavigatingBack)return!1;if(t.component){const e=this.getComponentName(t.component);for(const t of this.allowCachePages){const i=this.typeToComponentToHandlers.get(t.type).get(e);if(void 0!==i&&this.getCurrentTimestamp()-i.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const i=this.getComponentType(t);this.typeToComponentToHandlers.get(i).set(this.getComponentName(t.component),{routeHandle:e,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(t){return t.id}getComponentType(t){const e=this.getComponentName(t.component);for(const i of this.allowCachePages)if(-1!==i.components.indexOf(e))return i.type;return null}getPath(t){return null!==t.routeConfig&&null!==t.routeConfig.path?t.routeConfig.path:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Wt=new s.OlP("perun-api-service");let Xt=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[te(tinycolor(n).lighten(52),"50"),te(tinycolor(n).lighten(37),"100"),te(tinycolor(n).lighten(26),"200"),te(tinycolor(n).lighten(12),"300"),te(tinycolor(n).lighten(6),"400"),te(tinycolor(n),"500"),te(tinycolor(n).darken(6),"600"),te(tinycolor(n).darken(12),"700"),te(tinycolor(n).darken(18),"800"),te(tinycolor(n).darken(24),"900"),te(tinycolor(n).lighten(50).saturate(30),"A100"),te(tinycolor(n).lighten(30).saturate(30),"A200"),te(tinycolor(n).lighten(10).saturate(15),"A400"),te(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new xt.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(xt.eN),s.LFG(c.d6))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function te(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let ee=(()=>{class t{constructor(t,e){this.data=t,this.location=e}redirect(){this.location.go("/"),location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.WI),s.Y36(b.Ye))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h2"),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"p"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"button",0),s.NdJ("click",function(){return e.redirect()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,e.data.title),"\n"),s.xp6(3),s.hij(" ",s.lcZ(5,5,e.data.message),"\n"),s.xp6(4),s.hij(" ",s.lcZ(9,7,e.data.action)," "))},pipes:[d.X$],styles:[""]}),t})(),ie=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}refresh(){location.reload()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.so),s.Y36(p.WI))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h2"),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"p"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div"),s.TgZ(7,"button",0),s.NdJ("click",function(){return e.refresh()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,e.data.title),"\n"),s.xp6(3),s.hij(" ",s.lcZ(5,5,e.data.message),"\n"),s.xp6(4),s.hij(" ",s.lcZ(9,7,e.data.action)," "))},pipes:[d.X$],styles:[""]}),t})(),ne=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l){this.initAuthService=t,this.appConfigService=e,this.store=i,this.authzSevice=n,this.dialog=s,this.location=o,this.translate=r,this.guiAuthResolver=a,this.titleService=c,this.router=l,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.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(t=>{if("Invalid path"!==t)throw console.error(t),this.location.go("/"),location.reload(),t;this.handleErr(t)}).then(t=>t?this.initAuthService.loadPrincipal().catch(t=>this.handleErr(t)).then(()=>this.loadPolicies()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{let e=this.store.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(e=e.replace("oauth","ba")),this.authzSevice.configuration.basePath=e,this.titleService.setTitle(this.store.get("document_title")),t()})}handleErr(t){const e=(0,l.kZ)();throw"Invalid path"===t?(e.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(ee,e)):(e.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===t.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":t.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(ie,e)),console.error(t),t}loadPolicies(){return new Promise((t,e)=>{this.authzSevice.getAllPolicies().subscribe(e=>{this.guiAuthResolver.setPerunPolicies(e),t()},t=>e(t))})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.v0),s.LFG(Xt),s.LFG(c.d6),s.LFG(a.Ct),s.LFG(p.uw),s.LFG(b.Ye),s.LFG(d.sK),s.LFG(c.x4),s.LFG(n.Dx),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),se=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez,p.Is,w.ot,d.aw]]}),t})();var oe=i(64762),re=i(55959),ae=i(87254),ce=i(31906),le=i(30810),ue=i(25416),he=i(98720),de=i(88414);function pe(t){return getComputedStyle(t)}function ge(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}return t}function fe(t){var e=document.createElement("div");return e.className=t,e}var me="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function be(t,e){if(!me)throw new Error("No element matching method supported");return me.call(t,e)}function _e(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function we(t,e){return Array.prototype.filter.call(t.children,function(t){return be(t,e)})}var Ae=function(t){return"ps__thumb-"+t},ye=function(t){return"ps__rail-"+t},ve=function(t){return"ps--active-"+t},Te=function(t){return"ps--scrolling-"+t},Ce={x:null,y:null};function Ee(t,e){var i=t.element.classList,n=Te(e);i.contains(n)?clearTimeout(Ce[e]):i.add(n)}function Se(t,e){Ce[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(Te(e))},t.settings.scrollingThreshold)}var ke=function(t){this.element=t,this.handlers={}},Ie={isEmpty:{configurable:!0}};ke.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},ke.prototype.unbind=function(t,e){var i=this;this.handlers[t]=this.handlers[t].filter(function(n){return!(!e||n===e)||(i.element.removeEventListener(t,n,!1),!1)})},ke.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},Ie.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(ke.prototype,Ie);var Re=function(){this.eventElements=[]};function xe(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function Oe(t,e,i,n,s){var o;if(void 0===n&&(n=!0),void 0===s&&(s=!1),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,i,n,s){var o=i[0],r=i[1],a=i[2],c=i[3],l=i[4],u=i[5];void 0===n&&(n=!0),void 0===s&&(s=!1);var h=t.element;t.reach[c]=null,h[a]<1&&(t.reach[c]="start"),h[a]>t[o]-t[r]-1&&(t.reach[c]="end"),e&&(h.dispatchEvent(xe("ps-scroll-"+c)),e<0?h.dispatchEvent(xe("ps-scroll-"+l)):e>0&&h.dispatchEvent(xe("ps-scroll-"+u)),n&&function(t,e){Ee(t,e),Se(t,e)}(t,c)),t.reach[c]&&(e||s)&&h.dispatchEvent(xe("ps-"+c+"-reach-"+t.reach[c]))}(t,i,o,n,s)}function Pe(t){return parseInt(t,10)||0}Re.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new ke(t),this.eventElements.push(e)),e},Re.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},Re.prototype.unbind=function(t,e,i){var n=this.eventElement(t);n.unbind(e,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},Re.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},Re.prototype.once=function(t,e,i){var n=this.eventElement(t),s=function(t){n.unbind(e,s),i(t)};n.bind(e,s)};var De={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Me(t){var e=t.element,i=Math.floor(e.scrollTop),n=e.getBoundingClientRect();t.containerWidth=Math.ceil(n.width),t.containerHeight=Math.ceil(n.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(we(e,ye("x")).forEach(function(t){return _e(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(we(e,ye("y")).forEach(function(t){return _e(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var i={width:e.railXWidth},n=Math.floor(t.scrollTop);i.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-n:i.top=e.scrollbarXTop+n,ge(e.scrollbarXRail,i);var s={top:n,height:e.railYHeight};e.isScrollbarYUsingRight?s.right=e.isRtl?e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:e.scrollbarYRight-t.scrollLeft:s.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:e.scrollbarYLeft+t.scrollLeft,ge(e.scrollbarYRail,s),ge(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),ge(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(ve("x")):(e.classList.remove(ve("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(ve("y")):(e.classList.remove(ve("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function Le(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function Ne(t,e){var i=e[0],n=e[1],s=e[2],o=e[3],r=e[4],a=e[5],c=e[6],l=e[7],u=e[8],h=t.element,d=null,p=null,g=null;function f(e){e.touches&&e.touches[0]&&(e[s]=e.touches[0].pageY),h[c]=d+g*(e[s]-p),Ee(t,l),Me(t),e.stopPropagation(),e.preventDefault()}function m(){Se(t,l),t[u].classList.remove("ps--clicking"),t.event.unbind(t.ownerDocument,"mousemove",f)}function b(e,r){d=h[c],r&&e.touches&&(e[s]=e.touches[0].pageY),p=e[s],g=(t[n]-t[i])/(t[o]-t[a]),r?t.event.bind(t.ownerDocument,"touchmove",f):(t.event.bind(t.ownerDocument,"mousemove",f),t.event.once(t.ownerDocument,"mouseup",m),e.preventDefault()),t[u].classList.add("ps--clicking"),e.stopPropagation()}t.event.bind(t[r],"mousedown",function(t){b(t)}),t.event.bind(t[r],"touchstart",function(t){b(t,!0)})}var ze={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top;t.element.scrollTop+=(i>t.scrollbarYTop?1:-1)*t.containerHeight,Me(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left;t.element.scrollLeft+=(i>t.scrollbarXLeft?1:-1)*t.containerWidth,Me(t),e.stopPropagation()})},"drag-thumb":function(t){Ne(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Ne(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(be(e,":hover")||be(t.scrollbarX,":focus")||be(t.scrollbarY,":focus"))){var n,s=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(s){if("IFRAME"===s.tagName)s=s.contentDocument.activeElement;else for(;s.shadowRoot;)s=s.shadowRoot.activeElement;if(be(n=s,"input,[contenteditable]")||be(n,"select,[contenteditable]")||be(n,"textarea,[contenteditable]")||be(n,"button,[contenteditable]"))return}var o=0,r=0;switch(i.which){case 37:o=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:r=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:o=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:r=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:r=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:r=t.containerHeight;break;case 34:r=-t.containerHeight;break;case 36:r=t.contentHeight;break;case 35:r=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==r||(e.scrollTop-=r,e.scrollLeft+=o,Me(t),function(i,n){var s=Math.floor(e.scrollTop);if(0===i){if(!t.scrollbarYActive)return!1;if(0===s&&n>0||s>=t.contentHeight-t.containerHeight&&n<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===n){if(!t.scrollbarXActive)return!1;if(0===o&&i<0||o>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(o,r)&&i.preventDefault())}})},wheel:function(t){var e=t.element;function i(i){var n=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(i),s=n[0],o=n[1];if(!function(t,i,n){if(!De.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains("ps__child--consume"))return!0;var o=pe(s);if(n&&o.overflowY.match(/(scroll|auto)/)){var r=s.scrollHeight-s.clientHeight;if(r>0&&(s.scrollTop>0&&n<0||s.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft0))return!0}s=s.parentNode}return!1}(i.target,s,o)){var r=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?e.scrollTop-=o*t.settings.wheelSpeed:e.scrollTop+=s*t.settings.wheelSpeed,r=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(s?e.scrollLeft+=s*t.settings.wheelSpeed:e.scrollLeft-=o*t.settings.wheelSpeed,r=!0):(e.scrollTop-=o*t.settings.wheelSpeed,e.scrollLeft+=s*t.settings.wheelSpeed),Me(t),(r=r||function(i,n){var s=Math.floor(e.scrollTop),o=0===e.scrollTop,r=s+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,c=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(n)>Math.abs(i)?o||r:a||c)||!t.settings.wheelPropagation}(s,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",i):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",i)},touch:function(t){if(De.supportsTouch||De.supportsIePointer){var e=t.element,i={},n=0,s={},o=null;De.supportsTouch?(t.event.bind(e,"touchstart",l),t.event.bind(e,"touchmove",u),t.event.bind(e,"touchend",h)):De.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",l),t.event.bind(e,"pointermove",u),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",l),t.event.bind(e,"MSPointerMove",u),t.event.bind(e,"MSPointerUp",h)))}function r(i,n){e.scrollTop-=n,e.scrollLeft-=i,Me(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function l(t){if(c(t)){var e=a(t);i.pageX=e.pageX,i.pageY=e.pageY,n=(new Date).getTime(),null!==o&&clearInterval(o)}}function u(o){if(c(o)){var l=a(o),u={pageX:l.pageX,pageY:l.pageY},h=u.pageX-i.pageX,d=u.pageY-i.pageY;if(function(t,i,n){if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains("ps__child--consume"))return!0;var o=pe(s);if(n&&o.overflowY.match(/(scroll|auto)/)){var r=s.scrollHeight-s.clientHeight;if(r>0&&(s.scrollTop>0&&n<0||s.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft0))return!0}s=s.parentNode}return!1}(o.target,h,d))return;r(h,d),i=u;var p=(new Date).getTime(),g=p-n;g>0&&(s.x=h/g,s.y=d/g,n=p),function(i,n){var s=Math.floor(e.scrollTop),o=e.scrollLeft,r=Math.abs(i),a=Math.abs(n);if(a>r){if(n<0&&s===t.contentHeight-t.containerHeight||n>0&&0===s)return 0===window.scrollY&&n>0&&De.isChrome}else if(r>a&&(i<0&&o===t.contentWidth-t.containerWidth||i>0&&0===o))return!0;return!0}(h,d)&&o.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){t.isInitialized?clearInterval(o):s.x||s.y?Math.abs(s.x)<.01&&Math.abs(s.y)<.01?clearInterval(o):(r(30*s.x,30*s.y),s.x*=.8,s.y*=.8):clearInterval(o)},10))}}},Ze=function(t,e){var i=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var n in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[n]=e[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,o,r=function(){return t.classList.add("ps--focus")},a=function(){return t.classList.remove("ps--focus")};this.isRtl="rtl"===pe(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=o,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Re,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=fe(ye("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=fe(Ae("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=pe(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Pe(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Pe(c.borderLeftWidth)+Pe(c.borderRightWidth),ge(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Pe(c.marginLeft)+Pe(c.marginRight),ge(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=fe(ye("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=fe(Ae("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=pe(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Pe(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=pe(t);return Pe(e.width)+Pe(e.paddingLeft)+Pe(e.paddingRight)+Pe(e.borderLeftWidth)+Pe(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Pe(l.borderTopWidth)+Pe(l.borderBottomWidth),ge(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Pe(l.marginTop)+Pe(l.marginBottom),ge(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return ze[t](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return i.onScroll(t)}),Me(this)};Ze.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,ge(this.scrollbarXRail,{display:"block"}),ge(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Pe(pe(this.scrollbarXRail).marginLeft)+Pe(pe(this.scrollbarXRail).marginRight),this.railYMarginHeight=Pe(pe(this.scrollbarYRail).marginTop)+Pe(pe(this.scrollbarYRail).marginBottom),ge(this.scrollbarXRail,{display:"none"}),ge(this.scrollbarYRail,{display:"none"}),Me(this),Oe(this,"top",0,!1,!0),Oe(this,"left",0,!1,!0),ge(this.scrollbarXRail,{display:""}),ge(this.scrollbarYRail,{display:""}))},Ze.prototype.onScroll=function(t){this.isAlive&&(Me(this),Oe(this,"top",this.element.scrollTop-this.lastScrollTop),Oe(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ze.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),_e(this.scrollbarX),_e(this.scrollbarY),_e(this.scrollbarXRail),_e(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ze.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var Be=Ze,qe=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some(function(t,n){return t[0]===e&&(i=n,!0)}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i0},t.prototype.connect_=function(){Fe&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),je?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Fe&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;Ge.some(function(t){return!!~i.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Ke=function(t,e){for(var i=0,n=Object.keys(e);i0},t}(),ni="undefined"!=typeof WeakMap?new WeakMap:new qe,si=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=Ye.getInstance(),n=new ii(e,i,this);ni.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){si.prototype[t]=function(){var e;return(e=ni.get(this))[t].apply(e,arguments)}});var oi=void 0!==Ue.ResizeObserver?Ue.ResizeObserver:si;function ri(t,e){if(1&t&&(s.TgZ(0,"div",3),s._UZ(1,"div",4),s._UZ(2,"div",5),s._UZ(3,"div",6),s._UZ(4,"div",7),s.qZA()),2&t){const t=s.oxw();s.ekj("ps-at-top",t.states.top)("ps-at-left",t.states.left)("ps-at-right",t.states.right)("ps-at-bottom",t.states.bottom),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorY&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorX&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorX&&t.interaction),s.xp6(1),s.ekj("ps-indicator-show",t.indicatorY&&t.interaction)}}const ai=["*"],ci=new s.OlP("PERFECT_SCROLLBAR_CONFIG");class li{constructor(t,e,i,n){this.x=t,this.y=e,this.w=i,this.h=n}}class ui{constructor(t,e){this.x=t,this.y=e}}const hi=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class di{constructor(t={}){this.assign(t)}assign(t={}){for(const e in t)this[e]=t[e]}}let pi=(()=>{let t=class{constructor(t,e,i,n,o){this.zone=t,this.differs=e,this.elementRef=i,this.platformId=n,this.defaults=o,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new re.xQ,this.disabled=!1,this.psScrollY=new s.vpe,this.psScrollX=new s.vpe,this.psScrollUp=new s.vpe,this.psScrollDown=new s.vpe,this.psScrollLeft=new s.vpe,this.psScrollRight=new s.vpe,this.psYReachEnd=new s.vpe,this.psYReachStart=new s.vpe,this.psXReachEnd=new s.vpe,this.psXReachStart=new s.vpe}ngOnInit(){if(!this.disabled&&(0,b.NF)(this.platformId)){const t=new di(this.defaults);t.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Be(this.elementRef.nativeElement,t)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new oi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{hi.forEach(t=>{const e=t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`);(0,ae.R)(this.elementRef.nativeElement,e).pipe((0,le.e)(20),(0,ue.R)(this.ngDestroy)).subscribe(e=>{this[t].emit(e)})})})}}ngOnDestroy(){(0,b.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,b.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(t){t.disabled&&!t.disabled.isFirstChange()&&(0,b.NF)(this.platformId)&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.ngOnDestroy():!1===t.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(t){}},0))}geometry(t="scroll"){return new li(this.elementRef.nativeElement[t+"Left"],this.elementRef.nativeElement[t+"Top"],this.elementRef.nativeElement[t+"Width"],this.elementRef.nativeElement[t+"Height"])}position(t=!1){return!t&&this.instance?new ui(this.instance.reach.x||0,this.instance.reach.y||0):new ui(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(t="any"){const e=this.elementRef.nativeElement;return"any"===t?e.classList.contains("ps--active-x")||e.classList.contains("ps--active-y"):"both"===t?e.classList.contains("ps--active-x")&&e.classList.contains("ps--active-y"):e.classList.contains("ps--active-"+t)}scrollTo(t,e,i){this.disabled||(null==e&&null==i?this.animateScrolling("scrollTop",t,i):(null!=t&&this.animateScrolling("scrollLeft",t,i),null!=e&&this.animateScrolling("scrollTop",e,i)))}scrollToX(t,e){this.animateScrolling("scrollLeft",t,e)}scrollToY(t,e){this.animateScrolling("scrollTop",t,e)}scrollToTop(t,e){this.animateScrolling("scrollTop",t||0,e)}scrollToLeft(t,e){this.animateScrolling("scrollLeft",t||0,e)}scrollToRight(t,e){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(t||0),e)}scrollToBottom(t,e){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(t||0),e)}scrollToElement(t,e,i){const n=this.elementRef.nativeElement.querySelector(t);if(n){const t=n.getBoundingClientRect(),s=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",t.left-s.left+this.elementRef.nativeElement.scrollLeft+(e||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",t.top-s.top+this.elementRef.nativeElement.scrollTop+(e||0),i)}}animateScrolling(t,e,i){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(e!==this.elementRef.nativeElement[t]){let n=0,s=0,o=performance.now(),r=this.elementRef.nativeElement[t];const a=(r-e)/2,c=l=>{s+=Math.PI/(i/(l-o)),n=Math.round(e+a+a*Math.cos(s)),this.elementRef.nativeElement[t]===r&&(s>=Math.PI?this.animateScrolling(t,e,0):(this.elementRef.nativeElement[t]=n,r=this.elementRef.nativeElement[t],o=l,this.animation=window.requestAnimationFrame(c)))};window.requestAnimationFrame(c)}}else this.elementRef.nativeElement[t]=e}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Lbi),s.Y36(ci,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[s.TTD]}),t=(0,oe.gn)([(0,oe.fM)(3,(0,s.tBr)(s.Lbi)),(0,oe.fM)(4,(0,s.FiY)()),(0,oe.fM)(4,(0,s.tBr)(ci))],t),t})(),gi=(()=>{let t=class{constructor(t,e,i){this.zone=t,this.cdRef=e,this.platformId=i,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new re.xQ,this.stateUpdate=new re.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new s.vpe,this.psScrollX=new s.vpe,this.psScrollUp=new s.vpe,this.psScrollDown=new s.vpe,this.psScrollLeft=new s.vpe,this.psScrollRight=new s.vpe,this.psYReachEnd=new s.vpe,this.psYReachStart=new s.vpe,this.psXReachEnd=new s.vpe,this.psXReachStart=new s.vpe}ngOnInit(){(0,b.NF)(this.platformId)&&(this.stateUpdate.pipe((0,ue.R)(this.ngDestroy),(0,he.x)((t,e)=>t===e&&!this.stateTimeout)).subscribe(t=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===t||"y"===t?(this.interaction=!1,"x"===t?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===t&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===t||"right"===t?(this.states.left=!1,this.states.right=!1,this.states[t]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):"top"!==t&&"bottom"!==t||(this.states.top=!1,this.states.bottom=!1,this.states[t]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const t=this.directiveRef.elementRef.nativeElement;(0,ae.R)(t,"wheel").pipe((0,ue.R)(this.ngDestroy)).subscribe(t=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(t,t.deltaX,t.deltaY)}),(0,ae.R)(t,"touchmove").pipe((0,ue.R)(this.ngDestroy)).subscribe(t=>{if(!this.disabled&&this.autoPropagation){const e=t.touches[0].clientX,i=t.touches[0].clientY;this.checkPropagation(t,e-this.scrollPositionX,i-this.scrollPositionY),this.scrollPositionX=e,this.scrollPositionY=i}}),(0,ce.T)((0,ae.R)(t,"ps-scroll-x").pipe((0,de.h)("x")),(0,ae.R)(t,"ps-scroll-y").pipe((0,de.h)("y")),(0,ae.R)(t,"ps-x-reach-end").pipe((0,de.h)("right")),(0,ae.R)(t,"ps-y-reach-end").pipe((0,de.h)("bottom")),(0,ae.R)(t,"ps-x-reach-start").pipe((0,de.h)("left")),(0,ae.R)(t,"ps-y-reach-start").pipe((0,de.h)("top"))).pipe((0,ue.R)(this.ngDestroy)).subscribe(t=>{this.disabled||!this.autoPropagation&&!this.scrollIndicators||this.stateUpdate.next(t)})}}),window.setTimeout(()=>{hi.forEach(t=>{this.directiveRef&&(this.directiveRef[t]=this[t])})},0))}ngOnDestroy(){(0,b.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,b.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const t=this.directiveRef.elementRef.nativeElement;this.usePropagationX=t.classList.contains("ps--active-x"),this.usePropagationY=t.classList.contains("ps--active-y")}}checkPropagation(t,e,i){this.interaction=!0;const n=e<0?-1:1,s=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==n)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==s))&&(t.preventDefault(),t.stopPropagation()),e&&(this.scrollDirectionX=n),i&&(this.scrollDirectionY=s),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(s.Lbi))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perfect-scrollbar"]],viewQuery:function(t,e){if(1&t&&s.Gf(pi,7),2&t){let t;s.iGM(t=s.CRH())&&(e.directiveRef=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("ps-show-limits",e.autoPropagation)("ps-show-active",e.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:ai,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.YNc(3,ri,5,16,"div",2),s.qZA()),2&t&&(s.ekj("ps",e.usePSClass),s.Q6J("perfectScrollbar",e.config)("disabled",e.disabled),s.xp6(3),s.Q6J("ngIf",e.scrollIndicators))},directives:[pi,b.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],encapsulation:2}),t=(0,oe.gn)([(0,oe.fM)(2,(0,s.tBr)(s.Lbi))],t),t})(),fi=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ez],b.ez]}),t})();var mi=i(52623),bi=i(17),_i=i(11418);function wi(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-notification",2),s.NdJ("closeNotification",function(){const e=s.CHM(t).index;return s.oxw().removeNotification(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("@flyInOut",void 0),s.xp6(1),s.Q6J("data",t)("newNotification",!0)}}const Ai=function(t){return{top:t}};let yi=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.V6),s.Y36(c.SZ))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,wi,2,3,"div",1),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(2,Ai,e.getNotificatorTop())),s.xp6(1),s.Q6J("ngForOf",e.notifications))},directives:[b.PC,b.sg,_i.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;bottom:0}}"],data:{animation:[bi.Pd]}}),t})();var vi=i(4253);function Ti(t,e){if(1&t&&(s.TgZ(0,"div",9),s._UZ(1,"perun-web-apps-notification",10),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("data",t)("inDialog",!0)}}function Ci(t,e){if(1&t&&(s.TgZ(0,"div",6),s.TgZ(1,"cdk-virtual-scroll-viewport",7),s.YNc(2,Ti,2,2,"div",8),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("cdkVirtualForOf",t.notifications)}}function Ei(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Si=(()=>{class t{constructor(t,e){this.dialogRef=t,this.notificationStorageService=e}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(p.so),s.Y36(c.SZ))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Ci,3,1,"div",1),s.YNc(4,Ei,3,3,"app-alert",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.onClear()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),s.xp6(2),s.Q6J("ngIf",0!==e.notifications.length),s.xp6(1),s.Q6J("ngIf",0===e.notifications.length),s.xp6(3),s.hij(" ",s.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),s.xp6(3),s.hij(" ",s.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[p.uh,b.O5,p.H8,w.lW,vi.N7,vi.xd,vi.x0,_i.c,y.w],pipes:[d.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),t})();var ki=i(41050),Ii=i(66438);function Ri(t,e){1&t&&(s.TgZ(0,"div",10),s.TgZ(1,"span",11),s._uU(2," ~ \ud83d\uddf2\xa0 "),s.qZA(),s.TgZ(3,"span",12),s._uU(4," DEVEL "),s.qZA(),s.TgZ(5,"span",11),s._uU(6," \xa0\ud83d\uddf2 ~ "),s.qZA(),s.qZA())}const xi=function(t){return{color:t}},Oi=function(){return["/"]};let Pi=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l){this.storeService=t,this.authService=e,this.authzResolverService=i,this.dialog=n,this.notificator=s,this.translateService=o,this.store=r,this.sanitizer=a,this.notificationStorageService=c,this.utilsService=l,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.utilsService.getAppsConfig().subscribe(t=>{this.profileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null})}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const t=(0,l.kZ)();t.width="520px",this.dialog.open(Si,t)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c.d6),s.Y36(c.e8),s.Y36(a.Ct),s.Y36(p.uw),s.Y36(c.V6),s.Y36(d.sK),s.Y36(c.d6),s.Y36(n.H7),s.Y36(c.SZ),s.Y36(a.FW))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"button",1),s.NdJ("click",function(){return e.sideNav.toggle()}),s.TgZ(2,"mat-icon",2),s._uU(3," menu "),s.qZA(),s.qZA(),s.TgZ(4,"a",3),s._UZ(5,"div",4),s.qZA(),s.qZA(),s.YNc(6,Ri,7,0,"div",5),s.TgZ(7,"div",6),s.TgZ(8,"button",7),s.NdJ("click",function(){return e.showNotificationHistory()}),s.ALo(9,"translate"),s.TgZ(10,"mat-icon",8),s._uU(11),s.qZA(),s.qZA(),s._UZ(12,"perun-web-apps-header-menu",9),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(19,xi,e.navTextColor)),s.xp6(2),s.Q6J("ngStyle",s.VKq(21,xi,e.iconColor)),s.xp6(2),s.Q6J("routerLink",s.DdM(23,Oi)),s.xp6(1),s.Q6J("innerHTML",e.logo,s.oJD),s.xp6(1),s.Q6J("ngIf",e.isDevel),s.xp6(1),s.Q6J("ngStyle",s.VKq(24,xi,e.navTextColor)),s.xp6(1),s.Q6J("matTooltip",s.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),s.xp6(2),s.s9C("matBadge",e.getNewNotificationsCount()>5?"5+":e.getNewNotificationsCount()),s.Q6J("ngStyle",s.VKq(26,xi,e.iconColor))("matBadgeHidden",0===e.getNewNotificationsCount()),s.xp6(1),s.hij(" ",e.getNewNotificationsCount()?"notifications_active":"notifications"," "),s.xp6(1),s.Q6J("url",e.profileUrl)("label",e.profileLabel)("user",e.principal.user)("logoutEnabled",e.logoutEnabled)("iconColor",e.iconColor)("textColor",e.navTextColor))},directives:[b.PC,w.lW,_.Hw,o.yS,b.O5,C.gM,ki.k,Ii.X],pipes:[d.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}"]}),t})();var Di=i(24081);const Mi={provide:xt.TP,useExisting:(0,s.Gpc)(()=>c.yC),multi:!0};function Li(t){return new Rt(t,"./assets/i18n/",".json")}function Ni(t){const e={basePath:t.get("api_url")};return new a.VK(e)}const zi=t=>()=>t.initialize(),Zi={suppressScrollX:!0};let Bi=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c.EB),s.LFG(d.sK))},t.\u0275mod=s.oAB({type:t,bootstrap:[kt.y]}),t.\u0275inj=s.cJS({providers:[ne,{provide:s.ip1,useFactory:zi,multi:!0,deps:[ne]},{provide:a.VK,useFactory:Ni,deps:[c.d6]},{provide:o.wN,useClass:Qt},c.EB,{provide:Wt,useClass:c.sM},c.yC,Mi,{provide:ci,useValue:Zi}],imports:[[Ot.PW,n.b2,xt.JF,It.m,Pt,St,_.Ps,se,d.aw.forRoot({loader:{provide:d.Zw,useFactory:Li,deps:[xt.eN]}}),a.au,fi,lt.ez,pt,mi.zr.forRoot()]]}),t})();s.B6R(kt.y,[b.O5,_.Hw,yi,Pi,b.PC,g.TM,g.JX,gi,Di.V,g.Rh,o.lC,ft.$,Tt],[]),(0,s.G48)(),n.q6().bootstrapModule(Bi).catch(t=>console.error(t))},7423:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(61511),s=i(31572);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})()},13857:function(t,e,i){"use strict";i.d(e,{Rc:function(){return s},pI:function(){return o},Ng:function(){return r}});var n=i(31572);const s="GUI_CONFIG.PREF_PAGE_SIZE",o="GUI_CONFIG.PREF_PAGE_SIZE.";let r=(()=>{class t{constructor(){}getString(t){return localStorage.getItem(t)}getNumber(t){return parseInt(localStorage.getItem(t),10)}setNumber(t,e){localStorage.setItem(t,e.toString())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},60611:function(t,e,i){"use strict";i.d(e,{dB:function(){return o},CP:function(){return r},tw:function(){return a},nT:function(){return c},YF:function(){return l},gc:function(){return u},v1:function(){return h},AA:function(){return d},VR:function(){return p},uM:function(){return g},xx:function(){return f},H2:function(){return m},xt:function(){return b},dI:function(){return _},j1:function(){return w},Wv:function(){return A},qy:function(){return y},BV:function(){return v},qV:function(){return T},tY:function(){return C},Af:function(){return E},O7:function(){return S},gB:function(){return k},Hi:function(){return I},Jf:function(){return R},W1:function(){return x},rF:function(){return O},Aj:function(){return P},Ad:function(){return D},kZ:function(){return M},cL:function(){return L},RS:function(){return N},HC:function(){return z},KE:function(){return Z},Sb:function(){return B},_7:function(){return q},bf:function(){return F},rc:function(){return U},Cf:function(){return H},eq:function(){return G},NG:function(){return j},O9:function(){return Y},d7:function(){return K},vq:function(){return V},NL:function(){return $},kO:function(){return J},aL:function(){return Q},DR:function(){return W},uC:function(){return X},JO:function(){return tt},oK:function(){return et},Iz:function(){return it},It:function(){return nt},z6:function(){return st},iQ:function(){return ot},e5:function(){return rt},Bf:function(){return at},zp:function(){return ct},US:function(){return lt},gG:function(){return ut},$V:function(){return ht},S7:function(){return dt},zW:function(){return pt},CE:function(){return gt},Is:function(){return ft},M8:function(){return mt},g:function(){return bt},_c:function(){return _t}});var n=i(13857),s=i(31572);let o=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber(n.pI+t);if(!isNaN(e))return e;const i=this.guiConfigService.getNumber(n.Rc);return isNaN(i)?10:i}setTablePageSize(t,e){this.guiConfigService.setNumber(n.pI+t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.Ng))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const r="0",a="1",c="2",l="3",u="4",h="5",d="6",p="7",g="8",f="9",m="10",b="11",_="12",w="13",A="14",y="15",v="16",T="17",C="18",E="19",S="20",k="21",I="22",R="23",x="24",O="25",P="26",D="27",M="28",L="29",N="30",z="31",Z="32",B="33",q="34",F="35",U="36",H="37",G="42",j="43",Y="44",K="45",V="46",$="47",J="48",Q="49",W="50",X="51",tt="52",et="53",it="54",nt="55",st="56",ot="57",rt="58",at="59",ct="62",lt="63",ut="64",ht="65",dt="66",pt="69",gt="71",ft="72",mt="75",bt="76",_t="77"},17:function(t,e,i){"use strict";i.d(e,{Ji:function(){return a},Pd:function(){return o},BQ:function(){return s},Ly:function(){return r},GH:function(){return u},Ls:function(){return h},SG:function(){return l},es:function(){return c}});var n=i(10709);const s=(0,n.X$)("openClose",[(0,n.SB)("open",(0,n.oB)({overflow:"hidden"})),(0,n.SB)("closed",(0,n.oB)({height:"0px",overflow:"hidden"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),o=(0,n.X$)("flyInOut",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".5s",(0,n.oB)({transform:"translateX(100%)"}))])]),r=(0,n.X$)("rollInOut",[(0,n.eR)(":enter",[(0,n.oB)({height:"0px"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".25s",(0,n.oB)({height:"0px"}))])]),a=(0,n.X$)("routeAnimations",[(0,n.eR)("* => *",[(0,n.oB)({position:"relative"}),(0,n.IO)(":enter",[(0,n.oB)({width:"100%",opacity:0})],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({position:"absolute",width:"100%",opacity:1}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,n.IO)(":enter",[(0,n.oB)({position:"absolute",width:"100%",opacity:0}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c=(0,n.X$)("tagsOpenClose",[(0,n.SB)("open",(0,n.oB)({})),(0,n.SB)("closed",(0,n.oB)({width:"0px",height:"0px"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),l=(0,n.X$)("switchAnimations",[(0,n.eR)("true => false",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(-100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,n.eR)("false => true",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),u=(0,n.X$)("slideInOutLeft",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),h=(0,n.X$)("slideInOutRight",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)",position:"fixed"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(100%)"}))])])},10896:function(t,e,i){"use strict";i.d(e,{Mw:function(){return N.M},Sx:function(){return ut.S},Nj:function(){return ct},ez:function(){return L},t$:function(){return lt}});var n=i(61511),s=i(29236),o=i(67033),r=i(48160),a=i(57629),c=i(58623),l=i(73005),u=i(67806),h=i(22727),d=i(43691),p=i(8055),g=i(15980),f=i(36922),m=i(66283),b=i(16073),_=i(80340),w=i(10033),A=i(88975),y=i(71522),v=i(22280),T=i(81391),C=i(91010),E=i(15812),S=i(54810),k=i(4786),I=i(30146),R=i(4253),x=i(84608),O=i(84140),P=i(31572);let D=(()=>{class t extends y.LF{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=P.n5z(t)))(i||t)}}(),t.\u0275prov=P.Yz7({token:t,factory:t.\u0275fac}),t})();const M={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 L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=P.oAB({type:t}),t.\u0275inj=P.cJS({providers:[{provide:y._A,useClass:D},{provide:y.sG,useValue:M}],imports:[[n.ez,s.p9,o.p0,b.u5,w.Hi,A._t,r.aw,a.Bz,c.JX,l.TU,u.Cq,h.r,d.Ps,p.Tx,g.ot,f.AV,m.lN,b.UX,_.c,y.si,v.d4,T.Iq,C.dp,E.FA,S.Fk,y.Ng,k.LD,I.Co,R.Cl,x.Is,O.Je]]}),t})();i(41186);var N=i(51556),z=(i(76021),i(84584),i(22230),i(33596),i(88884),i(11418),i(23888),i(33642)),Z=i(88426);function B(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function q(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function F(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_WEAK")))}function U(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_SHORT")))}function H(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function G(t,e){1&t&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_DONT_MATCH")))}function j(t,e){if(1&t&&(P.TgZ(0,"form",5),P.TgZ(1,"div",6),P.TgZ(2,"mat-form-field"),P.TgZ(3,"mat-label"),P._uU(4),P.ALo(5,"translate"),P.qZA(),P._UZ(6,"input",7),P.YNc(7,B,3,3,"mat-error",8),P.qZA(),P.TgZ(8,"mat-form-field"),P.TgZ(9,"mat-label"),P._uU(10),P.ALo(11,"translate"),P.qZA(),P._UZ(12,"input",9),P.YNc(13,q,3,3,"mat-error",8),P.YNc(14,F,3,3,"mat-error",8),P.YNc(15,U,3,3,"mat-error",8),P.qZA(),P.TgZ(16,"mat-form-field"),P.TgZ(17,"mat-label"),P._uU(18),P.ALo(19,"translate"),P.qZA(),P._UZ(20,"input",10),P.YNc(21,H,3,3,"mat-error",8),P.YNc(22,G,3,3,"mat-error",8),P.qZA(),P.TgZ(23,"p",11),P._uU(24),P.ALo(25,"translate"),P.qZA(),P.qZA(),P.qZA()),2&t){const t=P.oxw();P.Q6J("formGroup",t.formGroup),P.xp6(4),P.Oqu(P.lcZ(5,11,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),P.xp6(3),P.Q6J("ngIf",t.oldPwd.hasError("required")),P.xp6(3),P.Oqu(P.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD")),P.xp6(3),P.Q6J("ngIf",t.newPwd.hasError("required")),P.xp6(1),P.Q6J("ngIf",t.newPwd.hasError("isWeak")&&!t.newPwd.hasError("minlength")),P.xp6(1),P.Q6J("ngIf",t.newPwd.hasError("minlength")),P.xp6(3),P.Oqu(P.lcZ(19,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD_AGAIN")),P.xp6(3),P.Q6J("ngIf",t.newPwdAgain.hasError("required")),P.xp6(1),P.Q6J("ngIf",t.newPwdAgain.hasError("noPasswordMatch")),P.xp6(2),P.Oqu(P.lcZ(25,17,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PASSWORD_INFO"))}}function Y(t,e){1&t&&P._UZ(0,"mat-spinner",12)}function K(t,e){if(1&t){const t=P.EpF();P.TgZ(0,"div",13),P.TgZ(1,"div",14),P.TgZ(2,"button",15),P.NdJ("click",function(){return P.CHM(t),P.oxw().close()}),P._uU(3),P.ALo(4,"translate"),P.qZA(),P.TgZ(5,"button",16),P.NdJ("click",function(){return P.CHM(t),P.oxw().changePassword()}),P._uU(6),P.ALo(7,"translate"),P.qZA(),P.qZA(),P.qZA()}if(2&t){const t=P.oxw();P.xp6(3),P.hij(" ",P.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),P.xp6(2),P.Q6J("disabled",t.formGroup.invalid),P.xp6(1),P.hij(" ",P.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let V=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this._formBuilder=i,this.usersManagerService=n,this.notificator=s,this.translate=o,o.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",b.kI.required],passwordCtrl:["",b.kI.compose([O.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),b.kI.minLength(10)])],passwordAgainCtrl:[""]},{validator:O.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(P.Y36(x.so),P.Y36(x.WI),P.Y36(b.qu),P.Y36(z.Fv),P.Y36(Z.V6),P.Y36(r.sK))},t.\u0275cmp=P.Xpm({type:t,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","","type","password"],[4,"ngIf"],["formControlName","passwordCtrl","matInput","","required","","type","password"],["formControlName","passwordAgainCtrl","matInput","","required","","type","password"],[1,"white-space-pre"],[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(t,e){1&t&&(P.TgZ(0,"h1",0),P._uU(1),P.ALo(2,"translate"),P.qZA(),P.TgZ(3,"div",1),P.YNc(4,j,26,19,"form",2),P.YNc(5,Y,1,0,"mat-spinner",3),P.qZA(),P.YNc(6,K,8,7,"div",4)),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),P.xp6(3),P.Q6J("ngIf",!e.loading),P.xp6(1),P.Q6J("ngIf",e.loading),P.xp6(1),P.Q6J("ngIf",!e.loading))},directives:[x.uh,x.xY,n.O5,b._Y,b.JL,b.sg,m.KE,m.hX,b.Fj,_.Nt,b.JJ,b.u,b.Q7,m.TO,u.$g,x.H8,g.lW],pipes:[r.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}"]}),t})();var $=i(39571),J=i(83787);function Q(t,e){1&t&&(P.TgZ(0,"app-alert"),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function W(t,e){1&t&&(P.TgZ(0,"th",16),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function X(t,e){if(1&t&&(P.TgZ(0,"td",17),P._uU(1),P.qZA()),2&t){const t=e.$implicit;P.xp6(1),P.Oqu(t.friendlyNameParameter)}}function tt(t,e){1&t&&(P.TgZ(0,"th",16),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function et(t,e){if(1&t&&(P.TgZ(0,"td",18),P._uU(1),P.qZA()),2&t){const t=e.$implicit;P.xp6(1),P.Oqu(t.value)}}function it(t,e){1&t&&P._UZ(0,"th",16)}function nt(t,e){if(1&t){const t=P.EpF();P.TgZ(0,"td",19),P.TgZ(1,"button",20),P.NdJ("click",function(){const e=P.CHM(t).$implicit;return P.oxw().resetPassword(e.friendlyNameParameter)}),P._uU(2),P.ALo(3,"translate"),P.ALo(4,"customTranslate"),P.qZA(),P.qZA()}if(2&t){const t=e.$implicit,i=P.oxw();P.xp6(1),P.Q6J("disabled",!i.logins.includes(t)),P.xp6(1),P.Oqu(P.lcZ(3,2,P.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD")))}}function st(t,e){1&t&&P._UZ(0,"th",16)}function ot(t,e){if(1&t){const t=P.EpF();P.TgZ(0,"td",19),P.TgZ(1,"button",20),P.NdJ("click",function(){const e=P.CHM(t).$implicit;return P.oxw().changePassword(e)}),P._uU(2),P.ALo(3,"translate"),P.ALo(4,"customTranslate"),P.qZA(),P.qZA()}if(2&t){const t=e.$implicit,i=P.oxw();P.xp6(1),P.Q6J("disabled",!i.logins.includes(t)),P.xp6(1),P.Oqu(P.lcZ(3,2,P.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function rt(t,e){1&t&&P._UZ(0,"tr",21)}function at(t,e){1&t&&P._UZ(0,"tr",22)}let ct=(()=>{class t{constructor(t,e,i){this.attributesManagerService=t,this.store=e,this.dialog=i,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(t=>{const e=this.nameSpaces.map(t=>{const e=t.split(":");return e[e.length-1]});this.logins=t.filter(t=>e.includes(t.friendlyNameParameter)),this.dataSource=new o.by(t)})}resetPassword(t){const e=this.store.get("pwd_reset_base_url");location.href=`${e}?login-namespace=${t}`}changePassword(t){const e=(0,O.kZ)();e.width="600px",e.data={login:t.value,namespace:t.friendlyName.split(":")[1]},this.dialog.open(V,e)}}return t.\u0275fac=function(e){return new(e||t)(P.Y36(z.H8),P.Y36(Z.d6),P.Y36(x.uw))},t.\u0275cmp=P.Xpm({type:t,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(P.TgZ(0,"h1",0),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA(),P.YNc(4,Q,4,5,"app-alert",1),P.TgZ(5,"div",2),P.TgZ(6,"div",3),P.TgZ(7,"div",4),P.TgZ(8,"table",5),P.ynx(9,6),P.YNc(10,W,4,5,"th",7),P.YNc(11,X,2,1,"td",8),P.BQk(),P.ynx(12,9),P.YNc(13,tt,4,5,"th",7),P.YNc(14,et,2,1,"td",10),P.BQk(),P.ynx(15,11),P.YNc(16,it,1,0,"th",7),P.YNc(17,nt,5,6,"td",12),P.BQk(),P.ynx(18,13),P.YNc(19,st,1,0,"th",7),P.YNc(20,ot,5,6,"td",12),P.BQk(),P.YNc(21,rt,1,0,"tr",14),P.YNc(22,at,1,0,"tr",15),P.qZA(),P.qZA(),P.qZA(),P.qZA()),2&t&&(P.xp6(1),P.Oqu(P.lcZ(2,5,P.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),P.xp6(3),P.Q6J("ngIf",!e.logins.length),P.xp6(4),P.Q6J("dataSource",e.dataSource),P.xp6(13),P.Q6J("matHeaderRowDef",e.displayedColumns),P.xp6(1),P.Q6J("matRowDefColumns",e.displayedColumns))},directives:[n.O5,o.BZ,c.YE,o.w1,o.fO,o.Dz,o.as,o.nj,$.w,o.ge,o.ev,g.lW,o.XQ,o.Gk],pipes:[r.X$,J.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})(),lt=(()=>{class t{constructor(t,e,i,n){this.router=t,this.route=e,this.location=i,this.forceRoute=n}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(t=>{this.router.navigate([t.redirectTo])}):this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(P.Y36(a.F0),P.Y36(a.gz),P.Y36(n.Ye),P.Y36(Z.xw))},t.\u0275cmp=P.Xpm({type:t,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t})();i(78364),i(11441),i(16306),i(43005);var ut=i(30725);i(66438)},30725:function(t,e,i){"use strict";i.d(e,{S:function(){return r},Y:function(){return a}});var n=i(31572),s=(i(33642),i(48160)),o=i(44973);const r={};let a=(()=>{class t{constructor(t){this.translate=t,this.item=null,this.itemSelected=new n.vpe,this.nameFunction=t=>t===r?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):t.shortname,this.secondaryFunction=t=>t===r?"":t.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+t.id,this.searchFunction=t=>t===r?"":t.shortname+t.id}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.sK))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.itemSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.items)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.secondaryFunction)("entity",e.item)("disableAutoSelect",!0)("selectPlaceholder",n.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[o.i],pipes:[s.X$],styles:[""]}),t})()},76021:function(t,e,i){"use strict";i.d(e,{u:function(){return h}});var n=i(31572),s=i(84140),o=i(61511),r=i(29236),a=i(16073),c=i(66283);function l(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",2),n.NdJ("change",function(){return n.CHM(t),n.oxw()._sendEventToParent()})("ngModelChange",function(e){return n.CHM(t),n.oxw().attribute.value=e}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("ngModel",t.attribute.value)}}function u(t,e){if(1&t&&(n.TgZ(0,"mat-label"),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(t.attribute.value)}}let h=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,l,1,1,"mat-checkbox",0),n.YNc(2,u,2,1,"mat-label",1),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",!e.readonly),n.xp6(1),n.Q6J("ngIf",e.readonly))},directives:[o.O5,r.oG,a.JJ,a.On,c.hX],styles:[""]}),t})()},84584:function(t,e,i){"use strict";i.d(e,{H:function(){return C}});var n=i(31572),s=i(75842),o=i(88975),r=i(61189),a=i(84140),c=i(84608),l=i(10033),u=i(61511),h=i(43691),d=i(36922),p=i(15980),g=i(66283),f=i(80340);function m(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",9),n.NdJ("mousedown",function(){return n.CHM(t),n.oxw(2).dragDisabled=!1}),n._uU(1,"drag_indicator"),n.qZA()}}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",10),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().edit(e)}),n._uU(1,"edit"),n.qZA()}}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",11),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().remove(e)}),n._uU(1,"cancel"),n.qZA()}}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-chip",4),n.NdJ("removed",function(){const e=n.CHM(t).$implicit,i=n.oxw();return i.remove(e),i._sendEventToParent()}),n.YNc(1,m,2,0,"mat-icon",5),n.TgZ(2,"div",6),n.NdJ("click",function(){const e=n.CHM(t).$implicit,i=n.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)}),n._uU(3),n.qZA(),n.YNc(4,b,2,0,"mat-icon",7),n.YNc(5,_,2,0,"mat-icon",8),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.Q6J("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),n.xp6(1),n.Q6J("ngIf",i.removable),n.xp6(1),n.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),n.xp6(1),n.Oqu(t),n.xp6(1),n.Q6J("ngIf",i.removable),n.xp6(1),n.Q6J("ngIf",i.removable)}}function A(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function y(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function v(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",12),n.TgZ(1,"span",13),n.TgZ(2,"button",14),n.NdJ("click",function(){return n.CHM(t),n.oxw().onShowChange()}),n.YNc(3,A,2,0,"mat-icon",15),n.YNc(4,y,2,0,"mat-icon",15),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(2),n.Q6J("ngIf",!t.showMore),n.xp6(1),n.Q6J("ngIf",t.showMore)}}function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-form-field",12),n.TgZ(1,"input",16),n.NdJ("matChipInputTokenEnd",function(e){return n.CHM(t),n.oxw().add(e)})("change",function(){return n.CHM(t),n.oxw()._sendEventToParent()}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(),e=n.MAs(2);n.xp6(1),n.Q6J("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let C=(()=>{class t{constructor(t){this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[s.K5,s.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,a.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,a.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(t){const e=t.input,i=t.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),e&&(e.value=""),this.sendEventToParent.emit()}remove(t){const e=(0,a.kZ)();e.width="400px",e.data={name:t},this.dialog.open(r.Wr,e).afterClosed().subscribe(e=>{if(e){const e=this.attribute.value.indexOf(t);this.attribute.value.splice(e,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(t){this.dragDisabled=!0,(0,o.bA)(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=(0,a.kZ)();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(r.r2,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=(0,a.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(r.mk,i)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.uw))},t.\u0275cmp=n.Xpm({type:t,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-chip-list",0,1),n.NdJ("cdkDropListDropped",function(t){return e.drop(t),e._sendEventToParent()}),n.YNc(3,w,6,9,"mat-chip",2),n.YNc(4,v,5,4,"div",3),n.YNc(5,T,2,3,"mat-form-field",3),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.Q6J("cdkDropListDisabled",e.dragDisabled),n.xp6(2),n.Q6J("ngForOf",e.values.slice(0,e.itemsShown)),n.xp6(1),n.Q6J("ngIf",e.values.length>e.defaultItemsShown),n.xp6(1),n.Q6J("ngIf",!e.readonly))},directives:[l.qn,o.Wj,u.sg,u.O5,l.HS,o.Zt,h.Hw,d.gM,p.lW,g.KE,f.Nt,l.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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})()},22230:function(t,e,i){"use strict";i.d(e,{$:function(){return A}});var n=i(61189),s=i(84140),o=i(31572),r=i(84608),a=i(16073),c=i(61511),l=i(36922),u=i(66283),h=i(80340),d=i(15980),p=i(43691);function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",15),o.NdJ("click",function(){o.CHM(t);const e=o.oxw().index;return o.oxw().removeValue(e)}),o.TgZ(1,"mat-icon"),o._uU(2," indeterminate_check_box "),o.qZA(),o.qZA()}}function f(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",9),o.TgZ(1,"mat-form-field",10),o._UZ(2,"label",11),o.TgZ(3,"input",12),o.NdJ("click",function(){const e=o.CHM(t).index,i=o.oxw();return i.readonly&&i.attribute.displayName&&i.showValue(i.keys[e],i.attribute.displayName)})("ngModelChange",function(e){const i=o.CHM(t).index;return o.oxw().keys[i]=e}),o.qZA(),o.qZA(),o.TgZ(4,"mat-form-field",10),o._UZ(5,"label",11),o.TgZ(6,"input",13),o.NdJ("click",function(){const e=o.CHM(t).$implicit,i=o.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)})("ngModelChange",function(e){const i=o.CHM(t).index;return o.oxw().values[i]=e}),o.qZA(),o.qZA(),o.YNc(7,g,3,0,"button",14),o.qZA()}if(2&t){const t=e.index,i=o.oxw();o.xp6(1),o.s9C("appearance",i.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",i.attribute.id,"-key-",t,""),o.xp6(1),o.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.hYB("id","",i.attribute.id,"-key-",t,""),o.MGl("name","key-",t,""),o.Q6J("ngModel",i.keys[t])("readonly",i.readonly),o.xp6(1),o.s9C("appearance",i.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",i.attribute.id,"-value-",t,""),o.xp6(1),o.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),o.MGl("name","value-",t,""),o.hYB("id","",i.attribute.id,"-value-",t,""),o.Q6J("readonly",i.readonly)("ngModel",i.values[t]),o.xp6(1),o.Q6J("ngIf",!i.readonly)}}function m(t,e){1&t&&(o.TgZ(0,"mat-icon"),o._uU(1,"more_horiz"),o.qZA())}function b(t,e){1&t&&(o.TgZ(0,"mat-icon"),o._uU(1,"keyboard_arrow_up"),o.qZA())}function _(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",16),o.NdJ("click",function(){return o.CHM(t),o.oxw().onShowChange()}),o.YNc(1,m,2,0,"mat-icon",17),o.YNc(2,b,2,0,"mat-icon",17),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("ngIf",!t.showMore),o.xp6(1),o.Q6J("ngIf",t.showMore)}}function w(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",18),o.NdJ("click",function(){return o.CHM(t),o.oxw().addValue()}),o.TgZ(1,"mat-icon"),o._uU(2," add_box "),o.qZA(),o.qZA()}}let A=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(void 0!==this.attribute.value){const t=this.attribute.value;for(const[e,i]of Object.entries(t))this.keys.push(e),this.values.push(i)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,s.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 e=0;ee.defaultItemsShown),o.xp6(1),o.Q6J("ngIf",!e.readonly))},directives:[a._Y,a.JL,a.F,c.sg,l.gM,c.O5,u.KE,h.Nt,a.Fj,a.Q7,a.JJ,a.On,d.lW,p.Hw],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}"]}),t})()},33596:function(t,e,i){"use strict";i.d(e,{_:function(){return u}});var n=i(31572),s=i(84140),o=i(61189),r=i(84608),a=i(66283),c=i(80340),l=i(16073);let u=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=(0,s.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(o.mk,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.uw))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.value&&e.showValue(e.value,e.attribute.displayName)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[a.KE,c.Nt,l.Fj,l.JJ,l.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})()},51556:function(t,e,i){"use strict";i.d(e,{M:function(){return v}});var n=i(31572),s=i(22230),o=i(61511),r=i(76021),a=i(84584),c=i(33596),l=i(84140),u=i(61189),h=i(84608),d=i(66283),p=i(80340),g=i(16073);let f=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}ngOnInit(){this.readonly||(this.readonly=(0,l.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=(0,l.kZ)();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(u.mk,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(h.uw))},t.\u0275cmp=n.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(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.attribute.value&&e.showValue(e.attribute)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.attribute.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[d.KE,p.Nt,g.wV,g.Fj,g.JJ,g.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const m=["map"];function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-boolean",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-list",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function w(t,e){if(1&t&&n._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-string",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-integer",3),n.NdJ("sendEventToParent",function(){return n.CHM(t),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("attribute",t.attribute)("readonly",t.readonly)}}let v=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new n.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){if(1&t&&n.Gf(m,5),2&t){let t;n.iGM(t=n.CRH())&&(e.mapComponent=t.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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,b,1,2,"perun-web-apps-attribute-value-boolean",0),n.YNc(2,_,1,2,"perun-web-apps-attribute-value-list",0),n.TgZ(3,"div",1),n.NdJ("click",function(){return e._sendEventToParent2()}),n.YNc(4,w,2,2,"perun-web-apps-attribute-value-map",2),n.qZA(),n.YNc(5,A,1,2,"perun-web-apps-attribute-value-string",0),n.YNc(6,y,1,2,"perun-web-apps-attribute-value-integer",0),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","java.lang.Boolean"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.util.ArrayList"===e.attribute.type),n.xp6(2),n.Q6J("ngIf","java.util.LinkedHashMap"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.Integer"===e.attribute.type))},directives:[o.O5,r.u,a.H,s.$,c._,f],styles:[""]}),t})()},41186:function(t,e,i){"use strict";i.d(e,{p:function(){return O}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(51556),c=i(84140),l=i(88426),u=i(82819),h=i(61511),d=i(29236),p=i(36922),g=i(39571);let f=(()=>{class t{transform(t){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"isVirtualAttribute",type:t,pure:!0}),t})();var m=i(48160);function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",15),n.TgZ(1,"mat-checkbox",16),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function _(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",17),n.TgZ(1,"mat-checkbox",18),n.NdJ("click",function(t){return t.stopPropagation()})("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null}),n.ALo(2,"isVirtualAttribute"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("checked",i.selection.isSelected(t))("disabled",n.lcZ(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function w(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function A(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function y(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function v(t,e){if(1&t&&(n.TgZ(0,"td",20),n.TgZ(1,"div",21),n._uU(2),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.s9C("matTooltip",i.getAttributeFullName(t)),n.xp6(1),n.hij(" ",t.displayName," ")}}function T(t,e){1&t&&(n.TgZ(0,"th",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function C(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"perun-web-apps-attribute-value",22),n.NdJ("sendEventToParent2",function(){const e=n.CHM(t).$implicit;return n.oxw().onValueChange(e)}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("attribute",t)("readonly",i.readonly||!t.writable)}}function E(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function S(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function k(t,e){1&t&&n._UZ(0,"tr",23)}function I(t,e){if(1&t&&(n._UZ(0,"tr",24),n.ALo(1,"translate")),2&t){const t=e.$implicit,i=n.oxw();n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.Q6J("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function R(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function x(t,e){if(1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,1,t.emptyListText),"\n")}}let O=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new r.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.vpe,this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new o.by((0,c.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"displayName":return t.displayName;case"description":return t.description;case"value":return JSON.stringify(t.value);default:return""}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hiddenColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}onValueChange(t){this.canBeSelected(t)&&this.selection.select(t)}canBeSelected(t){return!(0,c.Hm)(t)&&t.writable}getAttributeFullName(t){return`${t.namespace}:${t.friendlyName}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.x4),n.Y36(l.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(c.l9,7),n.Gf(a.M,5)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.items=t)}},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,b,2,3,"th",4),n.YNc(5,_,3,5,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,w,3,3,"th",7),n.YNc(8,A,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,y,3,3,"th",7),n.YNc(11,v,3,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,T,3,3,"th",4),n.YNc(14,C,2,2,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,E,3,3,"th",7),n.YNc(17,S,2,1,"td",9),n.BQk(),n.YNc(18,k,1,0,"tr",12),n.YNc(19,I,2,5,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,x,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.data.length))},directives:[u.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,d.oG,o.ev,s.nU,p.gM,a.M,o.XQ,o.Gk,g.w],pipes:[f,m.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),t})()},66297:function(t,e,i){"use strict";i.d(e,{W:function(){return h}});var n=i(88426),s=i(31572),o=i(61511),r=i(15980),a=i(36922),c=i(43691),l=i(48160);const u=function(t){return{color:t}};let h=(()=>{class t{constructor(t,e){this.location=t,this.storeService=e}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.Ye),s.Y36(n.d6))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return e.goBack()}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",1),s._uU(3,"arrow_right_alt"),s.qZA(),s.qZA()),2&t&&(s.s9C("matTooltip",s.lcZ(1,2,"Back")),s.Q6J("ngStyle",s.VKq(4,u,e.backButtonColor)))},directives:[r.lW,o.PC,a.gM,c.Hw],pipes:[l.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),t})()},43005:function(t,e,i){"use strict";i.d(e,{r:function(){return g}});var n=i(31572),s=i(16073),o=i(88426),r=i(66283),a=i(80340),c=i(61511),l=i(29236),u=i(37665),h=i(48160);function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",7),n.NdJ("change",function(){return n.CHM(t),n.oxw().emitAsSubGroup()})("ngModelChange",function(e){return n.CHM(t),n.oxw().asSubgroup=e}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("labelPosition","before")("ngModel",t.asSubgroup),n.xp6(1),n.hij(" ",n.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function p(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-group-search-select",8),n.NdJ("groupSelected",function(e){return n.CHM(t),n.oxw().emitParentGroup(e)}),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("disableAutoSelect",!0)("groups",t.voGroups)}}let g=(()=>{class t{constructor(t){this.store=t,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new n.vpe,this.descriptionChanged=new n.vpe,this.parentGroupChanged=new n.vpe,this.asSubgroupChanged=new n.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new s.NI("",[s.kI.required,s.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),s.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new s.NI("",[s.kI.required,s.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(t=>"members"!==t.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(t){this.selectedParent=t,this.parentGroupChanged.emit(t)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"mat-form-field",1),n.NdJ("keyup",function(){return e.emitName()}),n.TgZ(2,"label",2),n._UZ(3,"input",3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"mat-error"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("keyup",function(){return e.emitDescription()}),n.TgZ(9,"label",2),n._UZ(10,"textarea",3),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"mat-error"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.qZA(),n.YNc(15,d,3,5,"mat-checkbox",5),n.YNc(16,p,1,2,"perun-web-apps-group-search-select",6),n.qZA()),2&t&&(n.xp6(3),n.s9C("placeholder",n.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),n.Q6J("formControl",e.nameControl),n.xp6(3),n.hij(" ",e.invalidNameMessage.length?e.invalidNameMessage:n.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),n.xp6(4),n.s9C("placeholder",n.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),n.Q6J("formControl",e.descriptionControl),n.xp6(3),n.hij(" ",n.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),n.xp6(2),n.Q6J("ngIf",e.isNotSubGroup),n.xp6(1),n.Q6J("ngIf",e.asSubgroup))},directives:[r.KE,a.Nt,s.Fj,s.Q7,s.JJ,s.oH,r.TO,c.O5,l.oG,s.On,u.h],pipes:[h.X$],styles:[""]}),t})()},51613:function(t,e,i){"use strict";i.d(e,{S:function(){return l}});var n=i(31572),s=i(66283),o=i(80340),r=i(15812),a=i(16073),c=i(48160);let l=(()=>{class t{constructor(){this.datePicker=new n.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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"space-right",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-form-field",0),n.NdJ("click",function(){return n.CHM(t),n.MAs(7).open()}),n.TgZ(1,"mat-label"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(5,"mat-datepicker-toggle",2),n._UZ(6,"mat-datepicker",null,3),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("click",function(){return n.CHM(t),n.MAs(15).open()}),n.TgZ(9,"mat-label"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(13,"mat-datepicker-toggle",2),n._UZ(14,"mat-datepicker",null,5),n.qZA()}if(2&t){const t=n.MAs(7),i=n.MAs(15);n.xp6(2),n.Oqu(n.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.xp6(2),n.Q6J("matDatepicker",t)("min",e.startMinDate)("max",e.startMaxDate)("formControl",e.startDate),n.xp6(1),n.Q6J("for",t),n.xp6(5),n.Oqu(n.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.xp6(2),n.Q6J("matDatepicker",i)("min",e.endMinDate)("max",e.endMaxDate)("formControl",e.endDate),n.xp6(1),n.Q6J("for",i)}},directives:[s.KE,s.hX,o.Nt,r.hl,a.Fj,a.JJ,a.oH,r.nW,s.R9,r.Mq],pipes:[c.X$],styles:[""]}),t})()},91058:function(t,e,i){"use strict";i.d(e,{P:function(){return d}});var n=i(31572),s=i(87254),o=i(79996),r=i(47701),a=i(98720),c=i(66283),l=i(80340),u=i(48160);const h=["groupFilterInput"];let d=(()=>{class t{constructor(){this.filter=new n.vpe}ngOnInit(){(0,s.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,o.U)(t=>t.target.value),(0,r.b)(500),(0,a.x)()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){if(1&t&&n.Gf(h,7),2&t){let t;n.iGM(t=n.CRH())&&(e.groupFilterInput=t.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n._UZ(1,"input",1,2),n.ALo(3,"translate"),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",n.lcZ(3,1,e.placeholder)))},directives:[c.KE,l.Nt],pipes:[u.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})()},44973:function(t,e,i){"use strict";i.d(e,{i:function(){return _}});var n=i(31572),s=i(16073),o=i(66994),r=i(55959),a=i(25416),c=i(96577),l=i(66283),u=i(4786),h=i(71522),d=i(30146),p=i(61511),g=i(4253);const f=["scrollViewport"];function m(t,e){if(1&t&&(n.TgZ(0,"mat-option",7),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.Q6J("value",null==t.entitiesCtrl?null:t.entitiesCtrl.value),n.xp6(1),n.hij(" ",t.mainTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value)," "),n.xp6(2),n.Oqu(t.secondaryTextFunction(null==t.entitiesCtrl?null:t.entitiesCtrl.value))}}function b(t,e){if(1&t&&(n.TgZ(0,"mat-option",9),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.Q6J("value",t),n.xp6(1),n.hij(" ",i.mainTextFunction(t)," "),n.xp6(2),n.Oqu(i.secondaryTextFunction(t))}}let _=(()=>{class t{constructor(t){this.cd=t,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.entitySelected=new n.vpe,this.entitiesCtrl=new s.NI,this.entityFilterCtrl=new s.NI,this.filteredEntities=new o.t(1),this.entitiesLen=0,this._onDestroy=new r.xQ,this.mainTextFunction=t=>(0,c.stringify)(t),this.secondaryTextFunction=t=>"#"+t.id}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(t=>this.entitySelected.emit(t)),this.disableAutoSelect||null!==this.entity||this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(t=>this.entitiesLen=t.length),this.entityFilterCtrl.valueChanges.pipe((0,a.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}ngOnChanges(t){t.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let t=this.entityFilterCtrl.value;if(!t)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();t=this.normalize(t),this.filteredEntities.next(this.entities.filter(e=>this.normalize(this.searchFunction(e)).indexOf(t)>=0)),this.cd.detectChanges()}normalize(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let t=48*this.entitiesLen;return t>192&&(t=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),t}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(t,e){if(1&t&&n.Gf(f,5),2&t){let t;n.iGM(t=n.CRH())&&(e.scrollViewport=t.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[n.TTD],decls:9,vars:14,consts:[[1,"w-100"],[3,"placeholder","formControl","openedChange"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted","muted"],[3,"value"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"mat-select",1),n.NdJ("openedChange",function(){return e.openChange()}),n.TgZ(2,"mat-option"),n._UZ(3,"ngx-mat-select-search",2),n.qZA(),n.YNc(4,m,4,3,"mat-option",3),n.TgZ(5,"cdk-virtual-scroll-viewport",4,5),n.YNc(7,b,4,3,"mat-option",6),n.ALo(8,"async"),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",e.selectPlaceholder),n.Q6J("formControl",e.entitiesCtrl),n.xp6(2),n.s9C("placeholderLabel",e.findPlaceholder),n.s9C("noEntriesFoundLabel",e.noEntriesText),n.Q6J("clearSearchInput",!1)("formControl",e.entityFilterCtrl),n.xp6(1),n.Q6J("ngIf",null==e.entitiesCtrl?null:e.entitiesCtrl.value),n.xp6(1),n.Udp("height",e.getViewportHeight(),"px"),n.Q6J("minBufferPx",240)("maxBufferPx",480),n.xp6(2),n.Q6J("cdkVirtualForOf",n.lcZ(8,12,e.filteredEntities)))},directives:[l.KE,u.gD,s.JJ,s.oH,h.ey,d.nu,p.O5,g.N7,g.xd,g.x0],pipes:[p.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),t})()},60007:function(t,e,i){"use strict";i.d(e,{X:function(){return $}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),l=i(61511),u=i(29236),h=i(72953),d=i(16073),p=i(36922),g=i(15980),f=i(43691);function m(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.hij(" ",t[i.paramName]," ")}}function b(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function _(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(t),n.oxw().onShowChange()}),n.YNc(1,b,2,0,"mat-icon",8),n.YNc(2,_,2,0,"mat-icon",8),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",!t.showMore),n.xp6(1),n.Q6J("ngIf",t.showMore)}}let A=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.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(t,e){1&t&&(n.TgZ(0,"form",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.YNc(3,m,2,1,"div",3),n.qZA(),n.TgZ(4,"div"),n.TgZ(5,"span",4),n.YNc(6,w,3,2,"button",5),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(3),n.Q6J("ngForOf",e.objects.slice(0,e.itemsShown)),n.xp6(2),n.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(1),n.Q6J("ngIf",e.objects.length>e.defaultItemsShown))},directives:[d._Y,d.JL,d.F,l.sg,p.gM,l.O5,g.lW,f.Hw],styles:[""]}),t})();var y=i(84534),v=i(57629),T=i(39571),C=i(48160),E=i(48853);let S=(()=>{class t{transform(t,e,i){return t.filter(t=>t[i].includes(e)).filter((t,e,n)=>n.findIndex(e=>e[i]===t[i])===e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"filterUniqueObjects",type:t,pure:!0}),t})();function k(t,e){1&t&&n._UZ(0,"th",18)}function I(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",19),n.TgZ(1,"mat-checkbox",20),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function R(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function x(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.id)}}function O(t,e){1&t&&n._UZ(0,"th",18)}function P(t,e){if(1&t&&(n.TgZ(0,"td",22),n._UZ(1,"perun-web-apps-recently-viewed-icon",23),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("id",t.facility.id)("recentIds",i.recentIds)}}function D(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function M(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.name)}}function L(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function N(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.description)}}function z(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"technicalOwners"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.owners))}}function B(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function q(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,t.destinations,i.filterValue,"destination"))("paramName","destination")}}function F(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function U(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,t.hosts,i.filterValue,"hostname"))("paramName","hostname")}}function H(t,e){1&t&&n._UZ(0,"tr",25)}const G=function(t){return["/facilities",t]},j=function(){return[]};function Y(t,e){if(1&t&&n._UZ(0,"tr",26),2&t){const t=e.$implicit,i=n.oxw();n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(2,G,t.facility.id))("routerLink",i.disableRouting?n.DdM(4,j):n.VKq(5,G,t.facility.id))}}function K(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function V(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let $=(()=>{class t{constructor(t){this.authResolver=t,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=r.f7,this.page=new n.vpe}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource()}getDataForColumn(t,e,i){switch(e){case"id":return t.facility.id.toString();case"name":return t.facility.name;case"description":return t.facility.description;case"technicalOwners":return(0,r.te)(t.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(t.facility.id)>-1?"#".repeat(i.recentIds.indexOf(t.facility.id)):t.name;case"destinations":return t.destinations.map(t=>t.destination).join(" ; ");case"hosts":return t.hosts.map(t=>t.hostname).join(" ; ");default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(t=>this.selection.select(t))}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,k,1,0,"th",4),n.YNc(5,I,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,x,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",4),n.YNc(11,P,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,D,3,3,"th",7),n.YNc(14,M,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,L,3,3,"th",4),n.YNc(17,N,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,z,3,3,"th",4),n.YNc(20,Z,3,3,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,B,3,3,"th",4),n.YNc(23,q,3,6,"td",9),n.BQk(),n.ynx(24,14),n.YNc(25,F,3,3,"th",4),n.YNc(26,U,3,6,"td",9),n.BQk(),n.YNc(27,H,1,0,"tr",15),n.YNc(28,Y,1,7,"tr",16),n.qZA(),n.qZA(),n.qZA(),n.YNc(29,K,3,3,"app-alert",17),n.YNc(30,V,3,3,"app-alert",17)),2&t&&(n.Q6J("hidden",!e.dataSource||0===e.dataSource.filteredData.length||0===e.facilities.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(25),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.facilities.length),n.xp6(1),n.Q6J("ngIf",0===e.facilities.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,o.ev,u.oG,s.nU,h.W,A,o.XQ,o.Gk,y.YH,v.rH,T.w],pipes:[C.X$,E.J,S],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),t})()},54930:function(t,e,i){"use strict";i.d(e,{i:function(){return T}});var n=i(31572),s=i(88426),o=i(61511),r=i(15980),a=i(81391),c=i(36922),l=i(43691),u=i(8055),h=i(48160),d=i(44385),p=i(52984),g=i(51392);function f(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.ALo(2,"groupSyncToolTip"),n.TgZ(3,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onSyncDetail()}),n.ALo(4,"groupSyncIcon"),n.TgZ(5,"mat-icon"),n.ALo(6,"groupSyncIconColor"),n._uU(7),n.ALo(8,"groupSyncIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("matTooltipPosition","above")("matTooltip",n.lcZ(1,7,n.lcZ(2,9,t.group))),n.xp6(3),n.Q6J("disabled","sync_disabled"===n.lcZ(4,11,t.group)),n.xp6(2),n.Tol(n.lcZ(6,13,t.group)),n.xp6(2),n.hij(" ",n.lcZ(8,15,t.group)," ")}}function m(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onMoveGroup()}),n.TgZ(3,"mat-icon"),n._uU(4,"arrow_right_alt"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",t.disabled)}}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onChangeNameDescription()}),n.TgZ(3,"mat-icon"),n._uU(4,"text_format"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",t.disabled)}}function _(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"button",3),n.ALo(2,"translate"),n.TgZ(3,"mat-icon"),n._uU(4," file_copy "),n.qZA(),n.qZA(),n.YNc(5,f,9,17,"span",4),n.YNc(6,m,5,5,"span",4),n.YNc(7,b,5,5,"span",4),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Q6J("cdkCopyToClipboard",t.group.name)("matTooltipPosition","above"),n.xp6(4),n.Q6J("ngIf",t.syncAuth),n.xp6(1),n.Q6J("ngIf",t.moveAuth),n.xp6(1),n.Q6J("ngIf",t.editAuth)}}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onSyncDetail()}),n.ALo(1,"groupSyncIcon"),n.TgZ(2,"mat-icon"),n.ALo(3,"groupSyncIconColor"),n._uU(4),n.ALo(5,"groupSyncIcon"),n.qZA(),n.TgZ(6,"span"),n._uU(7),n.ALo(8,"translate"),n.ALo(9,"groupSyncToolTip"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled","sync_disabled"===n.lcZ(1,6,t.group)),n.xp6(2),n.Tol(n.lcZ(3,8,t.group)),n.xp6(2),n.hij(" ",n.lcZ(5,10,t.group)," "),n.xp6(3),n.Oqu(n.lcZ(8,12,n.lcZ(9,14,t.group)))}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onMoveGroup()}),n.TgZ(1,"mat-icon"),n._uU(2,"arrow_right_alt"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled",t.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(t),n.oxw(2).onChangeNameDescription()}),n.TgZ(1,"mat-icon"),n._uU(2,"text_format"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("disabled",t.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function v(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",7),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,8),n.TgZ(6,"button",9),n.TgZ(7,"mat-icon"),n._uU(8," file_copy "),n.qZA(),n.TgZ(9,"span"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.YNc(12,w,10,16,"button",10),n.YNc(13,A,6,4,"button",10),n.YNc(14,y,6,4,"button",10),n.qZA(),n.qZA()),2&t){const t=n.MAs(5),e=n.oxw();n.xp6(1),n.Q6J("mat-menu-trigger-for",t),n.xp6(5),n.Q6J("cdkCopyToClipboard",e.group.name),n.xp6(4),n.Oqu(n.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.xp6(2),n.Q6J("ngIf",e.syncAuth),n.xp6(1),n.Q6J("ngIf",e.moveAuth),n.xp6(1),n.Q6J("ngIf",e.editAuth)}}let T=(()=>{class t{constructor(t){this.authResolver=t,this.disabled=!1,this.moveGroup=new n.vpe,this.syncGroup=new n.vpe,this.changeNameDescription=new n.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 t.\u0275fac=function(e){return new(e||t)(n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.YNc(0,_,8,8,"div",0),n.YNc(1,v,15,8,"div",1)),2&t&&(n.Q6J("ngIf",e.displayButtons),n.xp6(1),n.Q6J("ngIf",!e.displayButtons))},directives:[o.O5,r.lW,a.i3,c.gM,l.Hw,u.p6,u.VK,u.OP],pipes:[h.X$,d.r,p.J,g.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),t})()},46837:function(t,e,i){"use strict";i.d(e,{x:function(){return f}});var n=i(31572),s=i(84140),o=i(61189),r=i(84608),a=i(61511),c=i(36922),l=i(43691),u=i(48160);function h(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(t),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",4),n._uU(3,"check_circle_outline"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(t),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",5),n._uU(3,"block"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function p(t,e){if(1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",7),n._uU(3,"report"),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.hYB("matTooltip","",n.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",t.failureCause,"")}}function g(t,e){1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",8),n._uU(3,"autorenew"),n.qZA(),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let f=(()=>{class t{constructor(t){this.dialog=t,this.status="",this.statusChange=new n.vpe}changeStatus(){const t=(0,s.kZ)();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(o.Qu,t).afterClosed().subscribe(t=>{t&&this.statusChange.emit()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.uw))},t.\u0275cmp=n.Xpm({type:t,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.YNc(1,h,4,3,"span",1),n.YNc(2,d,4,3,"span",1),n.YNc(3,p,4,4,"span",2),n.YNc(4,g,4,3,"span",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","ACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","INACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","FAILED"===e.status),n.xp6(1),n.Q6J("ngIf","PROCESSING"===e.status))},directives:[a.O5,c.gM,l.Hw],pipes:[u.X$],styles:[""]}),t})()},37665:function(t,e,i){"use strict";i.d(e,{h:function(){return a}});var n=i(31572),s=i(84140),o=i(44973),r=i(48160);let a=(()=>{class t{constructor(){this.groupSelected=new n.vpe,this.disableAutoSelect=!1,this.nameFunction=t=>t.name}ngOnInit(){this.groups=this.groups.sort(s.aC)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup"},outputs:{groupSelected:"groupSelected"},decls:4,vars:14,consts:[[1,"long-input",3,"entities","entity","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){if(1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.groupSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t){let t;n.Q6J("entities",e.groups)("entity",null!==(t=e.firstSelectedGroup)&&void 0!==t?t:null)("disableAutoSelect",e.disableAutoSelect)("mainTextFunction",e.nameFunction)("searchFunction",e.nameFunction)("selectPlaceholder",n.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",n.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",n.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[o.i],pipes:[r.X$],styles:[""]}),t})()},78364:function(t,e,i){"use strict";i.d(e,{W:function(){return it}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(33642),c=i(84140),l=i(61189),u=i(88426),h=i(61511),d=i(84608),p=i(82819),g=i(29236),f=i(36922),m=i(72953),b=i(46837),_=i(15980),w=i(43691),A=i(54930),y=i(84534),v=i(57629),T=i(39571),C=i(48160),E=i(74842),S=i(37043),k=i(58506);let I=(()=>{class t{transform(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return e&&e.value?e.value:"Never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"groupExpiration",type:t,pure:!0}),t})();function R(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw(2);return e?i.masterToggle():null}),n.qZA()}if(2&t){const t=n.oxw(2);n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function x(t,e){if(1&t&&(n.TgZ(0,"th",21),n.YNc(1,R,1,3,"mat-checkbox",22),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("ngIf",!t.disableHeadCheckbox)}}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"span",25),n.ALo(2,"translate"),n.TgZ(3,"mat-checkbox",26),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,i.getCheckboxTooltipMessage(t))),n.Q6J("matTooltipPosition","above")("matTooltipDisabled",!i.disableSelect(t)),n.xp6(2),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","members"===t.name&&i.disableMembers||i.disableSelect(t))}}function P(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function M(t,e){1&t&&n._UZ(0,"th",21)}function L(t,e){if(1&t&&(n.TgZ(0,"td",28),n._UZ(1,"perun-web-apps-recently-viewed-icon",29),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function N(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Oqu(i.voNames.get(t.voId))}}function Z(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function q(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function F(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",30),n.TgZ(1,"perun-web-apps-group-resource-status",31),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(t),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("theme","resource-theme")("groupId",t.id)("resourceId",i.resourceId)("failureCause",t.failureCause)("status",t.status)}}function U(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function H(t,e){if(1&t&&(n.TgZ(0,"td",28),n.TgZ(1,"i",32),n.ALo(2,"memberStatusIconColor"),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,i.getStatusAttribute(t)),""),n.s9C("matTooltip",i.getStatusAttribute(t)),n.xp6(3),n.hij(" ",n.lcZ(5,7,i.getStatusAttribute(t))," ")}}function G(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function j(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function Y(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function K(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"button",34),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().changeExpiration(e)})("mouseenter",function(){return n.CHM(t),n.oxw(2).disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw(2);return e.disabledRouting=e.disableRouting}),n.TgZ(1,"mat-icon"),n._uU(2,"edit"),n.qZA(),n.qZA()}}function V(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.ALo(2,"parseDate"),n.ALo(3,"groupExpiration"),n.YNc(4,K,3,0,"button",33),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,2,n.lcZ(3,4,t))," "),n.xp6(3),n.Q6J("ngIf",i.canManageGroup(t))}}function $(t,e){1&t&&n._UZ(0,"th",21)}function J(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",28),n.TgZ(1,"perun-web-apps-group-menu",35),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("moveGroup",function(){const e=n.CHM(t).$implicit;return n.oxw().onMoveGroup(e)})("changeNameDescription",function(){const e=n.CHM(t).$implicit;return n.oxw().onChangeNameDescription(e)})("syncGroup",function(){const e=n.CHM(t).$implicit;return n.oxw().onSyncDetail(e)}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("disabled","members"===t.name)("displayButtons",i.displayButtons)("group",t)}}function Q(t,e){1&t&&n._UZ(0,"tr",36)}const W=function(t,e){return["/organizations",t,"groups",e]};function X(t,e){if(1&t&&n._UZ(0,"tr",37),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting&&!i.groupsToDisable.has(t.id))("disable-outline",i.disabledRouting||i.groupsToDisable.has(t.id)),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.WLB(6,W,t.voId,t.id))("routerLink",i.disabledRouting||i.groupsToDisable.has(t.id)?null:n.WLB(9,W,t.voId,t.id))}}function tt(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function et(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let it=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.voService=i,this.tableCheckbox=s,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new n.vpe,this.groups=[],this.selection=new r.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","name","status","groupStatus","description","expiration","menu"],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=c.f7,this.recentIds=[],this.resourceId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=t=>!("members"===t.name&&this.disableMembers||this.disableSelect(t))}set matSort(t){this.sort=t}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 t of this.groups)if("members"===t.name)return!0;return!1}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":{const e=(0,c.x2)(t);return(0,c.sG)(e)}case"recent":return"";case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}getSortDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":{const e=(0,c.x2)(t);return e&&"never"!==e.toLowerCase()?(0,h.p6)(e,"yyyy.MM.dd","en"):e}case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"status":return t.status;default:return t[e]}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.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.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(t){return this.disableGroups&&(this.groupsToDisable.has(t.id)||this.isSynchronized(t))}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(t=>"id"!==t))}onMoveGroup(t){this.moveGroup.emit(t)}onSyncDetail(t){const e=(0,c.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(l.Bp,e)}onChangeNameDescription(t){const e=(0,c.kZ)();e.data={theme:"group-theme",group:t,dialogType:l.Eg.GROUP},this.dialog.open(l.rd,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[e]),!0):"group-relations"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,e]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,e]),!0):"member-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[e]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((t,e)=>t&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,e]),!0):void 0}itemSelectionToggle(t){this.selection.toggle(t),this.removeAuth=this.setAuth()}isSynchronized(t){return!!t.attributes&&t.attributes.some(t=>"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString())}getCheckboxTooltipMessage(t){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(t)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(t=>{this.voIds.has(t.voId)||this.voIds.add(t.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(t=>{t.forEach(t=>{this.voNames.set(t.id,t.name)})}))}changeExpiration(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName),i=(0,c.kZ)();i.width="400px",i.data={memberId:this.memberId,groupId:t.id,expirationAttr:e,mode:"group",status:this.memberGroupStatus},this.dialog.open(l.u3,i).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}canManageGroup(t){return this.authResolver.isThisGroupAdmin(t.id)||this.authResolver.isThisVoAdmin(t.voId)}getStatusAttribute(t){return t.attributes.find(t=>"groupStatus"===t.baseFriendlyName).value.toString()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(d.uw),n.Y36(u.x4),n.Y36(a.YF),n.Y36(u.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(c.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,x,2,1,"th",4),n.YNc(5,O,4,8,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,P,3,3,"th",7),n.YNc(8,D,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,M,1,0,"th",4),n.YNc(11,L,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,N,3,3,"th",7),n.YNc(14,z,2,1,"td",5),n.BQk(),n.ynx(15,11),n.YNc(16,Z,3,3,"th",7),n.YNc(17,B,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,q,3,3,"th",7),n.YNc(20,F,2,5,"td",13),n.BQk(),n.ynx(21,14),n.YNc(22,U,3,3,"th",7),n.YNc(23,H,6,9,"td",9),n.BQk(),n.ynx(24,15),n.YNc(25,G,3,3,"th",7),n.YNc(26,j,2,1,"td",13),n.BQk(),n.ynx(27,16),n.YNc(28,Y,3,3,"th",7),n.YNc(29,V,5,6,"td",13),n.BQk(),n.ynx(30,17),n.YNc(31,$,1,0,"th",4),n.YNc(32,J,2,3,"td",9),n.BQk(),n.YNc(33,Q,1,0,"tr",18),n.YNc(34,X,1,12,"tr",19),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,tt,3,3,"app-alert",20),n.YNc(36,et,3,3,"app-alert",20)),2&t&&(n.Q6J("hidden",0===e.groups.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.groups.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.groups.length))},directives:[p.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,g.oG,o.ev,f.gM,s.nU,m.W,b.x,_.lW,w.Hw,A.i,o.XQ,o.Gk,y.YH,v.rH,T.w],pipes:[C.X$,E.u,S.f,k.M,I],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},11441:function(t,e,i){"use strict";i.d(e,{I:function(){return O}});var n=i(31572),s=i(91010),o=i(71709),r=i(4230),a=i(14732),c=i(84140),l=i(61189),u=i(88426),h=i(84608),d=i(61511),p=i(4253),g=i(57629),f=i(15980),m=i(36922),b=i(54930),_=i(29236),w=i(43691),A=i(39571),y=i(48160);const v=["scrollViewport"];function T(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(2).itemSelectionToggle(e)}),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.Q6J("disabled","members"===t.fullName)("checked",e.selection.isSelected(t))("indeterminate",e.descendantsPartiallySelected(t))}}function C(t,e){if(1&t&&(n.TgZ(0,"mat-icon",20),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(2);n.xp6(1),n.hij(" ",e.treeControl.isExpanded(t)?"expand_more":"chevron_right"," ")}}function E(t,e){if(1&t&&(n.TgZ(0,"span",21),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.hij(" #",t.id," ")}}const S=function(t,e){return["/organizations",t,"groups",e]};function k(t,e){if(1&t){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",6),n.YNc(2,T,1,3,"mat-checkbox",7),n.TgZ(3,"a",8),n.TgZ(4,"button",9),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw(2).disableRouting=!0})("mouseleave",function(){return n.CHM(t),n.oxw(2).disableRouting=!1})("click",function(){const e=n.CHM(t).$implicit;return n.oxw(2).treeControl.toggle(e)}),n.YNc(5,C,2,1,"mat-icon",10),n.qZA(),n.TgZ(6,"div",11),n.TgZ(7,"span",12),n._uU(8),n.qZA(),n.YNc(9,E,2,1,"span",13),n.qZA(),n.TgZ(10,"div",14,15),n.TgZ(12,"span",16),n._uU(13),n.qZA(),n.qZA(),n.qZA(),n.TgZ(14,"div",17),n.TgZ(15,"perun-web-apps-group-menu",18),n.NdJ("moveGroup",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onMoveGroup(e)})("syncGroup",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onSyncDetail(e)})("changeNameDescription",function(){const e=n.CHM(t).$implicit;return n.oxw(2).onChangeNameDescription(e)}),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&t){const t=e.$implicit,i=n.oxw(2);n.xp6(1),n.Udp("padding-left",24*t.level+"px"),n.xp6(1),n.Q6J("ngIf",!i.hideCheckbox),n.xp6(1),n.Q6J("routerLink",i.disableRouting?null:n.WLB(14,S,t.voId,t.id)),n.xp6(1),n.Q6J("disabled",!t.expandable),n.uIk("aria-label","toggle "+t.name),n.xp6(1),n.Q6J("ngIf",t.expandable),n.xp6(3),n.hij(" ",t.name," "),n.xp6(1),n.Q6J("ngIf",i.authResolver.isPerunAdminOrObserver()),n.xp6(3),n.s9C("matTooltip",t.description),n.xp6(1),n.hij(" ",t.description," "),n.xp6(2),n.Q6J("disabled","members"===t.fullName)("displayButtons",i.displayButtons)("group",t)}}const I=function(t){return{height:t}};function R(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"cdk-virtual-scroll-viewport",3,4),n.YNc(3,k,16,17,"ng-container",5),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",n.VKq(4,I,t.getTreeViewHeight())),n.xp6(2),n.Q6J("cdkVirtualForOf",t.dataSource)}}function x(t,e){1&t&&(n.TgZ(0,"app-alert",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let O=(()=>{class t{constructor(t,e,i){this.cd=t,this.dialog=e,this.authResolver=i,this.transformer=(t,e)=>({expandable:!!t.children&&t.children.length>0,name:t.shortName,fullName:t.name,parentGroupId:t.parentGroupId,level:e,id:t.id,voId:t.voId,attributes:t.attributes,beanName:t.beanName,description:t.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new n.vpe,this.refreshTable=new n.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new r.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.C2(t=>t.level,t=>t.expandable),this.treeFlattener=new s.JZ(this.transformer,t=>t.level,t=>t.expandable,t=>t.children),this.dataSource=new s.kc(this.treeControl,this.treeFlattener),this.hasChild=(t,e)=>e.expandable,this.getLevel=t=>t.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(t=>{var e,i;return(null===(e=t.name)||void 0===e?void 0:e.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(i=t.description)||void 0===i?void 0:i.toLowerCase().includes(this.filterValue.toLowerCase()))||t.id.toString().includes(this.filterValue.toLowerCase())||t.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const t of this.filteredGroups)t.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,c.oU)(t.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(t){const e=(0,c.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(l.Bp,e)}onChangeNameDescription(t){const e=(0,c.kZ)();e.data={theme:"group-theme",group:t,dialogType:l.Eg.GROUP},this.dialog.open(l.rd,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}createGroupTrees(t){const e=new Map;for(const s of t)e.set(s.id,new a.m(s));const i=new Set;e.forEach((t,e,n)=>{const s=n.get(t.parentGroupId);void 0!==s&&(s.addChild(t),n.set(t.parentGroupId,s)),null!==t.parentGroupId&&void 0===s&&i.add(t.id)});const n=[];e.forEach(t=>{(null===t.parentGroupId||i.has(t.id))&&n.push(t)}),this.dataSource.data=n,this.cd.detectChanges()}getParentNode(t){const e=this.getLevel(t);if(e<1)return null;for(let i=this.treeControl.dataNodes.indexOf(t)-1;i>=0;i--){const t=this.treeControl.dataNodes[i];if(this.getLevel(t)this.selection.isSelected(t));e&&!i&&this.selection.deselect(t)}checkAllParentsSelection(t){let e=this.getParentNode(t);for(;e;)this.checkRootNodeSelection(e),e=this.getParentNode(e);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(t=>this.selection.isSelected(t))&&!this.selection.isSelected(t)}itemSelectionToggle(t){this.selection.toggle(t);const e=this.treeControl.getDescendants(t);this.selection.isSelected(t)?this.selection.select(...e):this.selection.deselect(...e),e.every(t=>this.selection.isSelected(t)),this.checkAllParentsSelection(t)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(t,e)=>t&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,e]):(t,e)=>t&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[e]),!0)}onMoveGroup(t){this.moveGroup.emit(t)}getTreeViewHeight(){let t=0;this.scrollViewport&&(t=this.scrollViewport.getDataLength());let e=48*t;return e>672&&(e=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),e+"px"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO),n.Y36(h.uw),n.Y36(u.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(t,e){if(1&t&&n.Gf(v,5),2&t){let t;n.iGM(t=n.CRH())&&(e.scrollViewport=t.first)}},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[n.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(t,e){1&t&&(n.YNc(0,R,4,6,"div",0),n.YNc(1,x,3,3,"app-alert",1)),2&t&&(n.Q6J("ngIf",0!==e.filteredGroups.length),n.xp6(1),n.Q6J("ngIf",0===e.filteredGroups.length))},directives:[d.O5,p.N7,p.xd,d.PC,p.x0,g.yS,f.lW,m.gM,b.i,_.oG,w.Hw,A.w],pipes:[y.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}.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:rgba(0,0,0,.05)}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),t})()},66438:function(t,e,i){"use strict";i.d(e,{X:function(){return f}});var n=i(33642),s=i(88426),o=i(31572),r=i(48160),a=i(61511),c=i(8055),l=i(15980),u=i(43691),h=i(36922);const d=function(t){return{color:t}};function p(t,e){if(1&t&&(o.TgZ(0,"button",8),o.ALo(1,"translate"),o.TgZ(2,"mat-icon",4),o._uU(3," apps "),o.qZA(),o.qZA()),2&t){const t=o.oxw(),e=o.MAs(2);o.Q6J("matMenuTriggerFor",e)("matTooltip",o.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),o.xp6(2),o.Q6J("ngStyle",o.VKq(5,d,t.iconColor))}}function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"button",2),o.NdJ("click",function(){return o.CHM(t),o.oxw().onLogOut()}),o._uU(1),o.ALo(2,"translate"),o.qZA()}2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"NAV.LOGOUT")))}let f=(()=>{class t{constructor(t,e,i,n){this.authService=t,this.authzResolverService=e,this.notificator=i,this.translateService=n}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(s.e8),o.Y36(n.Ct),o.Y36(s.V6),o.Y36(r.sK))},t.\u0275cmp=o.Xpm({type:t,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(t,e){if(1&t&&(o.YNc(0,p,4,7,"button",0),o.TgZ(1,"mat-menu",null,1),o.TgZ(3,"button",2),o.NdJ("click",function(){return e.redirectToUrl()}),o.TgZ(4,"span"),o._uU(5),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"button",3),o.TgZ(7,"mat-icon",4),o._uU(8," person "),o.qZA(),o.TgZ(9,"span",5),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"mat-menu",null,6),o.YNc(13,g,3,3,"button",7),o.qZA()),2&t){const t=o.MAs(12);o.Q6J("ngIf",e.url),o.xp6(5),o.Oqu(e.label),o.xp6(1),o.Q6J("matMenuTriggerFor",t),o.xp6(1),o.Q6J("ngStyle",o.VKq(11,d,e.iconColor)),o.xp6(2),o.Q6J("ngStyle",o.VKq(13,d,e.textColor)),o.xp6(1),o.xDo(" ",e.user.titleBefore," ",e.user.firstName," ",e.user.middleName," ",e.user.lastName," ",e.user.titleAfter," "),o.xp6(3),o.Q6J("ngIf",e.logoutEnabled)}},directives:[a.O5,c.VK,c.OP,l.lW,c.p6,u.Hw,a.PC,h.gM],pipes:[r.X$],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),t})()},19139:function(t,e,i){"use strict";i.d(e,{L:function(){return d}});var n=i(31572),s=i(16073),o=i(66283),r=i(61511),a=i(80340),c=i(84534),l=i(48160);function u(t,e){if(1&t&&(n._UZ(0,"input",3),n.ALo(1,"translate")),2&t){const t=n.oxw();n.s9C("placeholder",n.lcZ(1,2,t.placeholder)),n.Q6J("formControl",t.formControl)}}function h(t,e){if(1&t&&(n._UZ(0,"input",4),n.ALo(1,"translate")),2&t){const t=n.oxw();n.s9C("placeholder",n.lcZ(1,2,t.placeholder)),n.Q6J("formControl",t.formControl)}}let d=(()=>{class t{constructor(){this.filter=new n.vpe,this.autoFocus=!1,this.formControl=new s.NI}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.YNc(1,u,2,4,"input",1),n.YNc(2,h,2,4,"input",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",e.autoFocus),n.xp6(1),n.Q6J("ngIf",!e.autoFocus))},directives:[o.KE,r.O5,a.Nt,s.Fj,c.hT,s.JJ,s.oH],pipes:[l.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),t})()},91779:function(t,e,i){"use strict";i.d(e,{m:function(){return X}});var n=i(31572),s=i(58623),o=i(84140),r=i(61189),a=i(88426),c=i(31906),l=i(66599),u=i(84608),h=i(82819),d=i(61511),p=i(67033),g=i(67806),f=i(29236),m=i(43691),b=i(36922),_=i(84534),w=i(57629),A=i(39571),y=i(48160),v=i(22196),T=i(74842),C=i(91322),E=i(37043),S=i(99197),k=i(63720),I=i(1157);function R(t,e){1&t&&(n.TgZ(0,"div",20),n._UZ(1,"mat-spinner",21),n.qZA())}function x(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function P(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function M(t,e){1&t&&n._UZ(0,"th",26)}function L(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(e){n.CHM(t);const i=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e,i)}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function N(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,L,3,3,"mat-icon",28),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==t.membershipType)}}function z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.user))}}function B(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function q(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.status),""),n.s9C("matTooltip",n.xi3(3,7,t,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.status)," ")}}function F(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function U(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,t,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.groupStatus)," ")}}function H(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function G(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function j(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function K(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function V(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function $(t,e){1&t&&n._UZ(0,"tr",31)}const J=function(t,e){return["/organizations",t,"members",e]};function Q(t,e){if(1&t&&n._UZ(0,"tr",32),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",i.dataSource.routeAuth)("italic_font","INDIRECT"===t.membershipType)("disable-outline",!i.dataSource.routeAuth),n.Q6J("perunWebAppsMiddleClickRouterLink",i.dataSource.routeAuth?n.WLB(8,J,t.voId,t.id):null)("routerLink",i.dataSource.routeAuth?n.WLB(11,J,t.voId,t.id):null)}}function W(t,e){1&t&&(n.TgZ(0,"app-alert",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let X=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.dynamicPaginatingService=s,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.vpe,this.exporting=!1,this.pageSizeOptions=o.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,c.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,l.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new a.Ct(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.pageSize,"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(t=>this.selection.select(t))}isAllSelected(){return this.selection.selected.length===this.pageSize}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(t,e){if(t.stopPropagation(),"INVALID"===e.status){const t=(0,o.kZ)();t.width="500px",t.data={member:e},this.dialog.open(r.pf,t).afterClosed().subscribe(t=>{t&&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(t){(0,o.O6)((0,o.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),t)}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,o.bD)(t.user):"";case"status":return t.status;case"groupStatus":return t.groupStatus;case"organization":return(0,o.Gw)(t);case"email":return(0,o.g$)(t);case"logins":return(0,o.lt)(t);default:return""}}viewMemberGroupTree(t,e){t.stopPropagation();const i=(0,o.kZ)();i.width="800px",i.data={member:e,groupId:this.groupId},this.dialog.open(r.jd,i)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.uw),n.Y36(a.x4),n.Y36(a.UA),n.Y36(a.ly))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(o.l9,7),n.Gf(s.YE,5)),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.sort=t.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["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"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.ALo(1,"async"),n.TgZ(2,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.YNc(3,R,2,0,"div",2),n.ALo(4,"async"),n.TgZ(5,"table",3),n.ynx(6,4),n.YNc(7,x,2,3,"th",5),n.YNc(8,O,2,2,"td",6),n.BQk(),n.ynx(9,7),n.YNc(10,P,3,3,"th",8),n.YNc(11,D,2,1,"td",6),n.BQk(),n.ynx(12,9),n.YNc(13,M,1,0,"th",8),n.YNc(14,N,2,1,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,z,3,3,"th",8),n.YNc(17,Z,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,B,3,3,"th",5),n.YNc(20,q,7,12,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,F,3,3,"th",5),n.YNc(23,U,7,12,"td",10),n.BQk(),n.ynx(24,14),n.YNc(25,H,3,3,"th",5),n.YNc(26,G,3,3,"td",10),n.BQk(),n.ynx(27,15),n.YNc(28,j,3,3,"th",5),n.YNc(29,Y,3,3,"td",10),n.BQk(),n.ynx(30,16),n.YNc(31,K,3,3,"th",5),n.YNc(32,V,3,3,"td",10),n.BQk(),n.YNc(33,$,1,0,"tr",17),n.YNc(34,Q,1,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,W,3,4,"app-alert",19),n.ALo(36,"async")),2&t&&(n.Q6J("hidden",0===e.dataSource.allMemberCount&&!1===n.lcZ(1,9,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataLength",e.dataSource.allMemberCount)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,11,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.allMemberCount&&!1===n.lcZ(36,13,e.dataSource.loading$)))},directives:[h.l,d.O5,p.BZ,s.YE,p.w1,p.fO,p.Dz,p.as,p.nj,g.$g,p.ge,f.oG,p.ev,s.nU,m.Hw,b.gM,p.XQ,p.Gk,_.YH,w.rH,A.w],pipes:[d.Ov,y.X$,v.d,T.u,C.i,E.f,S.M,k.D,I.p],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.italic_font[_ngcontent-%COMP%]{font-style:italic}"]}),t})()},4252:function(t,e,i){"use strict";i.d(e,{O:function(){return tt}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(61189),l=i(88426),u=i(84608),h=i(57629),d=i(82819),p=i(61511),g=i(29236),f=i(36922),m=i(43691),b=i(84534),_=i(39571),w=i(48160),A=i(22196),y=i(74842),v=i(91322),T=i(37043),C=i(99197),E=i(63720),S=i(1157);function k(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function I(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.ALo(2,"translate"),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","DIRECT"!==t.membershipType)("matTooltip","DIRECT"!==t.membershipType?n.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function R(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function x(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function O(t,e){1&t&&n._UZ(0,"th",26)}function P(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e)})("mouseenter",function(){return n.CHM(t),n.oxw(2).disableRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw(2);return e.disableRouting=e.disabledRouting}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function D(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,P,3,3,"mat-icon",28),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==t.membershipType)}}function M(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.user))}}function N(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function z(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.status),""),n.s9C("matTooltip",n.xi3(3,7,t,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.status)," ")}}function Z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function B(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){const i=n.CHM(t).$implicit;return n.oxw().changeStatus(e,i)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,t.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,t,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,t.groupStatus)," ")}}function q(t,e){1&t&&(n.TgZ(0,"th",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")))}function F(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"check_circle_outline"),n.qZA())}function U(t,e){if(1&t&&(n.TgZ(0,"td",32),n.YNc(1,F,2,0,"mat-icon",33),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Q6J("ngIf",t.sponsored)}}function H(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function G(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function j(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function K(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function V(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t))}}function $(t,e){1&t&&n._UZ(0,"tr",34)}const J=function(t,e){return["/organizations",t,"members",e]};function Q(t,e){if(1&t&&n._UZ(0,"tr",35),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disabledRouting)("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.WLB(6,J,t.voId,t.id))("routerLink",i.disableRouting?null:n.WLB(9,J,t.voId,t.id))}}function W(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function X(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let tt=(()=>{class t{constructor(t,e,i,s){this.dialog=t,this.authResolver=e,this.tableCheckbox=i,this.route=s,this.selection=new r.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.updateTable=new n.vpe,this.pageSizeOptions=a.f7,this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(t){this.sort=t}getSortDataForColumn(t,e,i){var n;switch(e){case"id":return t.id.toString();case"fullName":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,a.Gw)(t);case"email":return(0,a.g$)(t);default:return""}}getFilterDataForColumn(t,e){switch(e){case"fullName":return t.user?(0,a.bD)(t.user):"";case"email":return(0,a.g$)(t);case"logins":return(0,a.lt)(t);default:return""}}getExportDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,a.bD)(t.user):"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,a.Gw)(t);case"email":return(0,a.g$)(t);case"logins":return(0,a.lt)(t);default:return""}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t))}ngOnChanges(){var t;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(t=this.route.parent)||void 0===t||t.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.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.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(t,e){if(t.stopPropagation(),"INVALID"===e.status){const t=(0,a.kZ)();t.width="500px",t.data={member:e},this.dialog.open(c.pf,t).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}viewMemberGroupTree(t){const e=(0,a.kZ)();e.width="800px",e.data={member:t,groupId:this.groupId},this.dialog.open(c.jd,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.uw),n.Y36(l.x4),n.Y36(l.UA),n.Y36(h.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page",updateTable:"updateTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["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-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,k,2,3,"th",4),n.YNc(5,I,3,6,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,x,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",7),n.YNc(11,D,2,1,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,M,3,3,"th",7),n.YNc(14,L,3,3,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,N,3,3,"th",7),n.YNc(17,z,7,12,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,Z,3,3,"th",7),n.YNc(20,B,7,12,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,q,3,3,"th",14),n.YNc(23,U,2,1,"td",15),n.BQk(),n.ynx(24,16),n.YNc(25,H,3,3,"th",7),n.YNc(26,G,3,3,"td",9),n.BQk(),n.ynx(27,17),n.YNc(28,j,3,3,"th",7),n.YNc(29,Y,3,3,"td",9),n.BQk(),n.ynx(30,18),n.YNc(31,K,3,3,"th",4),n.YNc(32,V,3,3,"td",9),n.BQk(),n.YNc(33,$,1,0,"tr",19),n.YNc(34,Q,1,12,"tr",20),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,W,3,4,"app-alert",21),n.YNc(36,X,3,4,"app-alert",21)),2&t&&(n.Q6J("hidden",0===e.members.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0!==e.members.length&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("ngIf",0===e.members.length))},directives:[d.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,p.O5,o.ge,g.oG,o.ev,f.gM,s.nU,m.Hw,o.XQ,o.Gk,b.YH,h.rH,_.w],pipes:[w.X$,A.d,y.u,v.i,T.f,C.M,E.D,S.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_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}"]}),t})()},11418:function(t,e,i){"use strict";i.d(e,{c:function(){return p}});var n=i(31572),s=i(88426),o=i(84140),r=i(61189),a=i(84608),c=i(61511),l=i(43691),u=i(48160);function h(t,e){if(1&t&&(n.TgZ(0,"div",5),n.TgZ(1,"mat-icon"),n._uU(2),n.qZA(),n.qZA()),2&t){const t=n.oxw();n.xp6(2),n.Oqu(t.data.icon)}}function d(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.hij(" ",t.showTimestamp()," ")}}let p=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new n.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 t=(0,o.kZ)();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(r.FM,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,o.ys)(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.uw),n.Y36(s.SZ))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"div",0),n.NdJ("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),n.YNc(2,h,3,1,"div",1),n.TgZ(3,"div",2),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.YNc(6,d,2,1,"div",3),n.TgZ(7,"div",4),n.NdJ("click",function(){return e.waiting=!0,e.doAction()}),n._uU(8),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.Gre("notification ",e.inDialog?"":"mat-elevation-z7",""),n.ekj("error","error"===e.data.type)("success","success"===e.data.type),n.xp6(2),n.Q6J("ngIf",null!==e.data.icon),n.xp6(2),n.hij(" ",n.lcZ(5,12,e.data.title)," "),n.xp6(2),n.Q6J("ngIf",e.inDialog),n.xp6(1),n.Q6J("hidden",e.alreadyPressed),n.xp6(1),n.hij(" ",e.data.actionText," "))},directives:[c.O5,l.Hw],pipes:[u.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}"]}),t})()},16306:function(t,e,i){"use strict";i.d(e,{$:function(){return I}});var n=i(31572),s=i(88426),o=i(33642),r=i(84608),a=i(48160),c=i(66283),l=i(80340),u=i(16073),h=i(61511),d=i(15980);function p(t,e){1&t&&(n.TgZ(0,"mat-error"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let g=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(60306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.so),n.Y36(a.sK),n.Y36(s.V6),n.Y36(o.Hr),n.Y36(s.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"mat-form-field"),n.TgZ(5,"mat-label"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(t){return e.subject=t}),n.qZA(),n.YNc(10,p,3,3,"mat-error",4),n.qZA(),n.TgZ(11,"mat-form-field"),n.TgZ(12,"mat-label"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"textarea",5),n.NdJ("ngModelChange",function(t){return e.message=t}),n.ALo(16,"translate"),n._uU(17," "),n.qZA(),n.TgZ(18,"mat-hint"),n._uU(19),n.ALo(20,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(21,"div",6),n.TgZ(22,"div",7),n.TgZ(23,"button",8),n.NdJ("click",function(){return e.close()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.TgZ(26,"button",9),n.NdJ("click",function(){return e.sendBugReport()}),n._uU(27),n.ALo(28,"translate"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=n.MAs(9);n.xp6(1),n.Oqu(n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),n.xp6(5),n.Oqu(n.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),n.xp6(2),n.Q6J("ngModel",e.subject),n.xp6(2),n.Q6J("ngIf",t.invalid),n.xp6(3),n.Oqu(n.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),n.xp6(2),n.s9C("placeholder",n.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),n.Q6J("ngModel",e.message),n.xp6(4),n.Oqu(n.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),n.xp6(5),n.hij(" ",n.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),n.xp6(2),n.Q6J("disabled",t.invalid),n.xp6(1),n.hij(" ",n.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[r.uh,r.xY,c.KE,c.hX,l.Nt,u.Fj,u.Q7,u.JJ,u.On,h.O5,c.bx,r.H8,d.lW,c.TO],pipes:[a.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();var f=i(84140);let m=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedText",type:t,pure:!0}),t})(),b=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedLink",type:t,pure:!0}),t})();const _=function(t){return{color:t}};function w(t,e){if(1&t&&(n.TgZ(0,"i",16),n._uU(1),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(2,_,e.linksTextColor)),n.xp6(1),n.hij(" ",t.icon," ")}}function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"span",17),n.NdJ("click",function(){n.CHM(t);const e=n.oxw().$implicit;return n.oxw(3).openDialog(e.dialog)}),n._uU(1),n.ALo(2,"localisedText"),n.qZA()}if(2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,_,e.linksTextColor)),n.xp6(1),n.hij("",n.Dn7(2,2,t,e.language,"label")," ")}}function y(t,e){if(1&t&&(n.TgZ(0,"a",18),n.ALo(1,"localisedLink"),n._uU(2),n.ALo(3,"localisedText"),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("href",n.xi3(1,3,t,e.language),n.LSH)("ngStyle",n.VKq(10,_,e.linksTextColor)),n.xp6(2),n.Oqu(n.Dn7(3,6,t,e.language,"label"))}}function v(t,e){if(1&t&&(n.TgZ(0,"span",19),n._uU(1),n.ALo(2,"localisedText"),n.qZA()),2&t){const t=n.oxw().$implicit,e=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,_,e.linksTextColor)),n.xp6(1),n.Oqu(n.Dn7(2,2,t,e.language,"label"))}}function T(t,e){if(1&t&&(n.TgZ(0,"div",11),n.YNc(1,w,2,4,"i",12),n.YNc(2,A,3,8,"span",13),n.YNc(3,y,4,12,"a",14),n.ALo(4,"localisedLink"),n.YNc(5,v,3,8,"span",15),n.ALo(6,"localisedLink"),n.qZA()),2&t){const t=e.$implicit,i=n.oxw(3);n.xp6(1),n.Q6J("ngIf",t.icon),n.xp6(1),n.Q6J("ngIf",t.dialog),n.xp6(1),n.Q6J("ngIf",n.xi3(4,4,t,i.language)&&!t.dialog),n.xp6(2),n.Q6J("ngIf",!n.xi3(6,7,t,i.language)&&!t.dialog)}}function C(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,T,7,10,"div",10),n.qZA()),2&t){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",t.elements)}}function E(t,e){if(1&t&&(n.TgZ(0,"div",7),n.TgZ(1,"h6",8),n._uU(2),n.ALo(3,"localisedText"),n.qZA(),n.YNc(4,C,2,1,"div",9),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("ngStyle",n.VKq(7,_,i.headersTextColor)),n.xp6(1),n.hij(" ",n.Dn7(3,3,t,i.language,"title")," "),n.xp6(2),n.Q6J("ngIf",t.elements)}}function S(t,e){if(1&t&&(n.TgZ(0,"span"),n.TgZ(1,"a",6),n._uU(2),n.qZA(),n.qZA()),2&t){const t=e.$implicit,i=e.index,s=n.oxw();n.xp6(1),n.Q6J("href",t.url,n.LSH)("ngStyle",n.VKq(3,_,s.copyrightTextColor)),n.xp6(1),n.Oqu(i?", "+t.name:t.name)}}const k=function(t){return{background:t}};let I=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new n.vpe}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(60306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=(0,f.kZ)();switch(t){case"reportIssue":e.width="550px",this.dialog.open(g,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(){this.recentIds=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&n.YNc(0,c,3,3,"mat-icon",0),2&t&&n.Q6J("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[s.O5,o.Hw,r.gM],pipes:[a.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})()},59403:function(t,e,i){"use strict";i.d(e,{t:function(){return c}});var n=i(31572),s=i(15980),o=i(36922),r=i(43691),a=i(48160);let c=(()=>{class t{constructor(){this.refresh=new n.vpe}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(n.TgZ(0,"button",0),n.NdJ("click",function(t){return e.onClickbutton(t)}),n.ALo(1,"translate"),n._UZ(2,"mat-icon",1),n.qZA()),2&t&&(n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.Q6J("disabled",e.disabled),n.xp6(2),n.s9C("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[s.lW,o.gM,r.Hw],pipes:[a.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),t})()},88884:function(t,e,i){"use strict";i.d(e,{C:function(){return H}});var n=i(31572),s=i(58623),o=i(67033),r=i(4230),a=i(84140),c=i(88426),l=i(82819),u=i(61511),h=i(29236),d=i(72953),p=i(46837),g=i(84534),f=i(57629),m=i(39571),b=i(48160);let _=(()=>{class t{transform(t){if(null==t)return null;let e="";return t.forEach(function(t){e=e.concat(t.tagName)}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"resourceTagsToString",type:t,pure:!0}),t})();var w=i(95603);function A(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"th",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){n.CHM(t);const i=n.oxw();return e?i.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.xp6(1),n.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function y(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function v(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function C(t,e){1&t&&n._UZ(0,"th",20)}function E(t,e){if(1&t&&(n.TgZ(0,"td",25),n._UZ(1,"perun-web-apps-recently-viewed-icon",26),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function S(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.vo.name)}}function x(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function O(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"perun-web-apps-group-resource-status",27),n.NdJ("mouseenter",function(){return n.CHM(t),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(t);const e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(t),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("theme","group-theme")("resourceId",t.id)("groupId",i.groupId)("failureCause",t.failureCause)("status",t.status)}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.facility.name)}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"resourceTagsToString"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.resourceTags))}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.description)}}function Z(t,e){1&t&&n._UZ(0,"tr",28)}const B=function(t){return[t]};function q(t,e){if(1&t&&(n._UZ(0,"tr",29),n.ALo(1,"getResourceRoute"),n.ALo(2,"getResourceRoute")),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(12,B,i.disabledRouting?null:n.xi3(1,6,t,i.routingVo)))("routerLink",i.disabledRouting?null:n.xi3(2,9,t,i.routingVo))}}function F(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function U(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let H=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new r.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=a.f7,this.groupId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.allSelected=new n.vpe,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.setAuth()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return t.vo.name;case"name":return t.name;case"facility":return t.facility.name;case"description":return t.description;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"tags":{if(!t.resourceTags)return t[e];let i="";return t.resourceTags.forEach(function(t){i=i.concat(t.tagName)}),i}case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}exportData(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,a.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>(0,a.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(t),t}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i])),!0),this.addAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i])),!0)}itemSelectionToggle(t){this.selection.toggle(t),this.setAuth()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.x4),n.Y36(c.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(a.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[n.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,A,2,3,"th",4),n.YNc(5,y,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,v,3,3,"th",7),n.YNc(8,T,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,C,1,0,"th",4),n.YNc(11,E,2,2,"td",10),n.BQk(),n.ynx(12,11),n.YNc(13,S,3,3,"th",7),n.YNc(14,k,2,1,"td",10),n.BQk(),n.ynx(15,12),n.YNc(16,I,3,3,"th",7),n.YNc(17,R,2,1,"td",10),n.BQk(),n.ynx(18,13),n.YNc(19,x,3,3,"th",7),n.YNc(20,O,2,5,"td",10),n.BQk(),n.ynx(21,14),n.YNc(22,P,3,3,"th",7),n.YNc(23,D,2,1,"td",10),n.BQk(),n.ynx(24,15),n.YNc(25,M,3,3,"th",7),n.YNc(26,L,3,3,"td",10),n.BQk(),n.ynx(27,16),n.YNc(28,N,3,3,"th",7),n.YNc(29,z,2,1,"td",10),n.BQk(),n.YNc(30,Z,1,0,"tr",17),n.YNc(31,q,3,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(32,F,3,3,"app-alert",19),n.YNc(33,U,3,3,"app-alert",19)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),n.xp6(1),n.Q6J("ngIf",0===e.resources.length))},directives:[l.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,h.oG,o.ev,s.nU,d.W,p.x,o.XQ,o.Gk,g.YH,f.rH,m.w],pipes:[b.X$,_,w.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},23888:function(t,e,i){"use strict";i.d(e,{j:function(){return M}});var n=i(31572),s=i(4230),o=i(58623),r=i(67033),a=i(88426),c=i(84140),l=i(57629),u=i(82819),h=i(61511),d=i(29236),p=i(84534),g=i(39571),f=i(48160),m=i(83787);let b=(()=>{class t{transform(t){const e=t.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"getMailFromAttributes",type:t,pure:!0}),t})();function _(t,e){1&t&&n._UZ(0,"th",17)}function w(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",18),n.TgZ(1,"mat-checkbox",19),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function A(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function y(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.id)}}function v(t,e){1&t&&(n.TgZ(0,"th",17),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function T(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.ALo(2,"getMailFromAttributes"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,t.attributes))}}function C(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function E(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.extSource.name)}}function S(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function k(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.userExtSource.login)}}function I(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function R(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function x(t,e){1&t&&n._UZ(0,"tr",23)}const O=function(t,e){return["/admin","users",t,"identities",e]};function P(t,e){if(1&t&&n._UZ(0,"tr",24),2&t){const t=e.$implicit,i=n.oxw();n.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.WLB(6,O,i.userId,t.userExtSource.id))("routerLink",i.disableRouting?null:n.WLB(9,O,i.userId,t.userExtSource.id))}}function D(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let M=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new s.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new n.vpe,this.pageSizeOptions=c.f7}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new r.by(this.userExtSources),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.userExtSource.id.toString();case"mail":{const e=t.attributes.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}case"extSourceName":return t.userExtSource.extSource.name;case"login":return t.userExtSource.login;case"lastAccess":return t.userExtSource.lastAccess.split(".")[0];default:return""}}exportData(t){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>(0,c.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,c.pR)(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.gz),n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(c.l9,7),n.Gf(o.YE,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.child=t.first),n.iGM(t=n.CRH())&&(e.matSort=t.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,_,1,0,"th",4),n.YNc(5,w,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,4,5,"th",7),n.YNc(8,y,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,v,4,5,"th",4),n.YNc(11,T,3,3,"td",8),n.BQk(),n.ynx(12,10),n.YNc(13,C,4,5,"th",7),n.YNc(14,E,2,1,"td",8),n.BQk(),n.ynx(15,11),n.YNc(16,S,4,5,"th",7),n.YNc(17,k,2,1,"td",8),n.BQk(),n.ynx(18,12),n.YNc(19,I,4,5,"th",7),n.YNc(20,R,3,4,"td",13),n.BQk(),n.YNc(21,x,1,0,"tr",14),n.YNc(22,P,1,12,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(23,D,4,5,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(19),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.userExtSources.length))},directives:[u.l,r.BZ,o.YE,r.w1,r.fO,r.Dz,r.as,r.nj,h.O5,r.ge,r.ev,d.oG,o.nU,r.XQ,r.Gk,p.YH,l.rH,g.w],pipes:[f.X$,m.a,b,h.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})()},7927:function(t,e,i){"use strict";i.d(e,{S:function(){return a}});var n=i(31572),s=i(84140),o=i(44973),r=i(48160);let a=(()=>{class t{constructor(){this.disableAutoSelect=!1,this.userSelected=new n.vpe,this.userFullNameFunction=s.bD}ngOnInit(){this.users=this.users.sort(s.fx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.userSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.users)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.userFullNameFunction)("mainTextFunction",e.userFullNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[o.i],pipes:[r.X$],styles:[""]}),t})()},19386:function(t,e,i){"use strict";i.d(e,{M:function(){return r}});var n=i(31572),s=i(44973),o=i(48160);let r=(()=>{class t{constructor(){this.voSelected=new n.vpe,this.nameFunction=t=>t.name,this.shortNameFunction=t=>t.shortName,this.searchFunction=t=>t.name+t.shortName+t.id}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:13,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.voSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.vos)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[s.i],pipes:[o.X$],styles:[""]}),t})()},97162:function(t,e,i){"use strict";i.d(e,{Z:function(){return O}});var n=i(31572),s=i(58623),o=i(67033),r=i(84140),a=i(88426),c=i(82819),l=i(61511),u=i(29236),h=i(72953),d=i(84534),p=i(57629),g=i(39571),f=i(48160);function m(t,e){1&t&&n._UZ(0,"th",15)}function b(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"td",16),n.TgZ(1,"mat-checkbox",17),n.NdJ("change",function(e){const i=n.CHM(t).$implicit,s=n.oxw();return e?s.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function _(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")))}function w(t,e){if(1&t&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.id)}}function A(t,e){1&t&&n._UZ(0,"th",15)}function y(t,e){if(1&t&&(n.TgZ(0,"td",19),n._UZ(1,"perun-web-apps-recently-viewed-icon",20),n.qZA()),2&t){const t=e.$implicit,i=n.oxw();n.xp6(1),n.Q6J("recentIds",i.recentIds)("id",t.id)}}function v(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.shortName)}}function C(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")))}function E(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){const t=e.$implicit;n.xp6(1),n.Oqu(t.name)}}function S(t,e){1&t&&n._UZ(0,"tr",21)}const k=function(t){return["/organizations",t]};function I(t,e){if(1&t&&n._UZ(0,"tr",22),2&t){const t=e.$implicit,i=n.oxw();n.ekj("disable-outline",i.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:n.VKq(4,k,t.id))("routerLink",i.disableRouting?null:n.VKq(6,k,t.id))}}function R(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function x(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let O=(()=>{class t{constructor(t){this.authResolver=t,this.vos=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.pageSizeOptions=r.f7,this.page=new n.vpe}set matSort(t){this.sort=t}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"shortName":return t.shortName;case"name":return t.name;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;default:return t[e]}}exportData(t){(0,r.O6)((0,r.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>(0,r.Sd)(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>(0,r.pR)(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(t,e){if(1&t&&(n.Gf(s.YE,7),n.Gf(r.l9,7)),2&t){let t;n.iGM(t=n.CRH())&&(e.matSort=t.first),n.iGM(t=n.CRH())&&(e.child=t.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,1,0,"th",4),n.YNc(5,b,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,_,3,3,"th",7),n.YNc(8,w,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,A,1,0,"th",4),n.YNc(11,y,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,v,3,3,"th",7),n.YNc(14,T,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,C,3,3,"th",7),n.YNc(17,E,2,1,"td",9),n.BQk(),n.YNc(18,S,1,0,"tr",12),n.YNc(19,I,1,8,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,x,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.vos.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.vos.length),n.xp6(1),n.Q6J("ngIf",0===e.vos.length))},directives:[c.l,o.BZ,s.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,o.ev,u.oG,s.nU,h.W,o.XQ,o.Gk,d.YH,p.rH,g.w],pipes:[f.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})()},61189:function(t,e,i){"use strict";i.d(e,{Wr:function(){return lt},r2:function(){return ct},gr:function(){return pt},u3:function(){return Kt},Qu:function(){return ce},pf:function(){return _},hd:function(){return Xt},kZ:function(){return Jt},wA:function(){return at},rd:function(){return x},Eg:function(){return R},Bp:function(){return Z},qD:function(){return Zt},jd:function(){return Nt},FM:function(){return G},Lc:function(){return X},mk:function(){return it},Tf:function(){return At}}),i(22280);var n=i(84608),s=i(33642),o=i(88426),r=i(31572),a=i(48160),c=i(61511),l=i(15980),u=i(67806),h=i(66283),d=i(4786),p=i(71522);function g(t,e){1&t&&r._UZ(0,"mat-spinner",6)}function f(t,e){if(1&t&&(r.TgZ(0,"mat-option",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t),r.xp6(1),r.Oqu(t)}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-form-field",13),r.TgZ(1,"mat-label"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-select",14),r.NdJ("selectionChange",function(e){return r.CHM(t),r.oxw(2).changeStatus(e)}),r.YNc(5,f,2,2,"mat-option",15),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.xp6(2),r.Oqu(r.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),r.xp6(3),r.Q6J("ngForOf",t.allStatuses)}}function b(t,e){if(1&t&&(r.TgZ(0,"div",7),r.TgZ(1,"div",8),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"div",9),r._uU(5),r.qZA(),r.TgZ(6,"div",8),r._uU(7),r.ALo(8,"translate"),r.YNc(9,m,6,4,"mat-form-field",10),r.qZA(),r.TgZ(10,"div",11),r._UZ(11,"i",12),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.AsE("",r.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",t.actualStatus,""),r.xp6(3),r.Oqu(t.description),r.xp6(2),r.hij(" ",r.lcZ(8,8,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),r.xp6(2),r.Q6J("ngIf",!t.loading),r.xp6(2),r.Q6J("innerHTML",t.changeMessage,r.oJD)}}let _=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.memberManager=i,this.groupsManager=n,this.notificatorService=s,this.translate=o,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.allStatuses=this.data.groupId?"VALID"===this.actualStatus?["EXPIRED"]:["VALID"]:"INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(t=>t!==this.actualStatus),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.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(t){this.selectedStatus=t.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(t,e){if("VALID"===t)switch(e){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(e){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(t=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(e=>{this.notificatorService.showSuccess(e),this.dialogRef.close(t)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(t=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(e=>{this.notificatorService.showSuccess(e),this.dialogRef.close(t)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.uq),r.Y36(s.ff),r.Y36(o.V6),r.Y36(a.sK))},t.\u0275cmp=r.Xpm({type:t,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","mr-2 mt-2",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,g,1,0,"mat-spinner",1),r.YNc(5,b,12,10,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(11),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.loading||!e.selectedStatus),r.xp6(1),r.hij(" ",e.submitButtonText," "))},directives:[n.uh,c.O5,n.H8,l.lW,u.$g,n.xY,h.KE,h.hX,d.gD,c.sg,p.ey],pipes:[a.X$],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t})();var w=i(16073),A=i(80340);function y(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")))}function v(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")))}function T(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")))}function C(t,e){1&t&&(r.TgZ(0,"h1",7),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")))}function E(t,e){1&t&&r._UZ(0,"mat-spinner",8)}function S(t,e){if(1&t&&(r.TgZ(0,"mat-form-field"),r._UZ(1,"input",13),r.ALo(2,"translate"),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.MGl("placeholder","",r.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),r.Q6J("value",t.shortName)}}function k(t,e){if(1&t&&(r.TgZ(0,"mat-form-field",14),r._UZ(1,"textarea",15),r.ALo(2,"translate"),r.TgZ(3,"mat-error"),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.MGl("placeholder","",r.lcZ(2,3,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),r.Q6J("formControl",t.descriptionCtrl),r.xp6(3),r.hij(" ",r.lcZ(5,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_DESCRIPTION")," ")}}function I(t,e){if(1&t&&(r.TgZ(0,"div",9),r.YNc(1,S,3,4,"mat-form-field",10),r.TgZ(2,"mat-form-field"),r._UZ(3,"input",11),r.ALo(4,"translate"),r.TgZ(5,"mat-error"),r._uU(6),r.ALo(7,"translate"),r.qZA(),r.qZA(),r.YNc(8,k,6,7,"mat-form-field",12),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngIf",2===t.dialogType),r.xp6(2),r.MGl("placeholder","",r.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),r.Q6J("formControl",t.nameCtrl),r.xp6(3),r.hij(" ",t.invalidNameMessage.length?t.invalidNameMessage:r.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),r.xp6(2),r.Q6J("ngIf",2!==t.dialogType)}}var R=function(t){return t[t.FACILITY=0]="FACILITY",t[t.RESOURCE=1]="RESOURCE",t[t.VO=2]="VO",t[t.GROUP=3]="GROUP",t}({});let x=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this.dialogRef=t,this.data=e,this.notificator=i,this.translateService=n,this.facilitiesManager=s,this.resourcesManager=o,this.groupsManager=r,this.vosManager=a,this.store=c,this.invalidNameMessage=this.data.dialogType===R.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===R.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case R.FACILITY:this.nameCtrl=new w.NI(this.data.facility.name,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]),this.descriptionCtrl=new w.NI(this.data.facility.description,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]);break;case R.RESOURCE:this.nameCtrl=new w.NI(this.data.resource.name,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]),this.descriptionCtrl=new w.NI(this.data.resource.description,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]);break;case R.GROUP:{const t=this.data.group.name.split(":");this.nameCtrl=new w.NI(t[t.length-1],[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.pattern(this.secondaryRegex),w.kI.maxLength(129)]),this.descriptionCtrl=new w.NI(this.data.group.description,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]);break}case R.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new w.NI(this.data.vo.name,[w.kI.required,w.kI.pattern(".*[\\S]+.*"),w.kI.maxLength(129)]),this.descriptionCtrl=new w.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case R.FACILITY:this.editFacility();break;case R.RESOURCE:this.editResource();break;case R.GROUP:this.editGroup();break;case R.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(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(t=>{const e=t;e.name=this.nameCtrl.value,e.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:e}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(o.V6),r.Y36(a.sK),r.Y36(s.IQ),r.Y36(s.xk),r.Y36(s.ff),r.Y36(s.YF),r.Y36(o.d6))},t.\u0275cmp=r.Xpm({type:t,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","","required","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.YNc(1,y,3,3,"h1",0),r.YNc(2,v,3,3,"h1",0),r.YNc(3,T,3,3,"h1",0),r.YNc(4,C,3,3,"h1",0),r.TgZ(5,"div",1),r.YNc(6,E,1,0,"mat-spinner",2),r.YNc(7,I,9,9,"div",3),r.qZA(),r.TgZ(8,"div",4),r.TgZ(9,"button",5),r.NdJ("click",function(){return e.cancel()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.TgZ(12,"button",6),r.NdJ("click",function(){return e.submit()}),r._uU(13),r.ALo(14,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(1),r.Q6J("ngIf",0===e.dialogType),r.xp6(1),r.Q6J("ngIf",1===e.dialogType),r.xp6(1),r.Q6J("ngIf",2===e.dialogType),r.xp6(1),r.Q6J("ngIf",3===e.dialogType),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",e.loading||e.nameCtrl.invalid||e.descriptionCtrl.invalid),r.xp6(1),r.hij(" ",r.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[c.O5,n.xY,n.H8,l.lW,n.uh,u.$g,h.KE,A.Nt,w.Fj,w.Q7,w.JJ,w.oH,h.TO,A.D7],pipes:[a.X$],styles:[""]}),t})();var O=i(67004),P=i(84140),D=i(43691);function M(t,e){1&t&&r._UZ(0,"mat-spinner",8)}function L(t,e){if(1&t&&(r.TgZ(0,"div",9),r.TgZ(1,"span"),r._uU(2),r.ALo(3,"translate"),r.TgZ(4,"b"),r._uU(5),r.qZA(),r.qZA(),r._UZ(6,"br"),r.TgZ(7,"span"),r._uU(8),r.ALo(9,"translate"),r.TgZ(10,"b"),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r._UZ(13,"br"),r.TgZ(14,"span"),r._uU(15),r.ALo(16,"translate"),r.TgZ(17,"b"),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.qZA(),r._UZ(20,"br"),r.TgZ(21,"span"),r._uU(22),r.ALo(23,"translate"),r.TgZ(24,"b"),r._uU(25),r.ALo(26,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),r.xp6(3),r.Oqu(t.group.name),r.xp6(3),r.hij(" ",r.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),r.xp6(3),r.Oqu(r.lcZ(12,12,t.getSynchronizationType())),r.xp6(4),r.hij(" ",r.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),r.xp6(3),r.Oqu(r.lcZ(19,16,t.getLastSyncState())),r.xp6(4),r.hij(" ",r.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),r.xp6(3),r.Oqu(r.lcZ(26,20,t.getLastSyncTime()))}}function N(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(t),r.oxw().onForceStructure()}),r._uU(1),r.ALo(2,"translate"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function z(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(t),r.oxw().onForce()}),r._uU(1),r.ALo(2,"translate"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Z=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.groupService=i,this.notificator=n,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,[O.r.GROUP_SYNC_ENABLED,O.r.GROUP_LAST_SYNC_STATE,O.r.GROUP_LAST_SYNC_TIMESTAMP,O.r.GROUP_STRUCTURE_SYNC_ENABLED,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE,O.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(t=>{this.group=t,this.syncEnabled=(0,P.IL)(this.group.attributes,O.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,P.IL)(this.group.attributes,O.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,P.IL)(this.group.attributes,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,P.IL)(this.group.attributes,O.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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.ff),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,M,1,0,"mat-spinner",1),r.YNc(5,L,27,22,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"div",4),r.TgZ(8,"button",5),r.NdJ("click",function(){return e.refresh()}),r.TgZ(9,"mat-icon"),r._uU(10,"refresh"),r.qZA(),r.qZA(),r.YNc(11,N,3,4,"button",6),r.YNc(12,z,3,4,"button",6),r.TgZ(13,"button",7),r.NdJ("click",function(){return e.onCancel()}),r._uU(14),r.ALo(15,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(6),r.Q6J("ngIf",e.isStructured()),r.xp6(1),r.Q6J("ngIf",e.isBasic()||e.isStructured()),r.xp6(2),r.hij(" ",r.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[n.uh,c.O5,n.H8,l.lW,D.Hw,u.$g,n.xY],pipes:[a.X$],styles:[""]}),t})();function B(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function q(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function F(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function U(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.TgZ(1,"mat-form-field"),r.TgZ(2,"mat-label"),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"input",9,10),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().subject=e}),r.qZA(),r.YNc(7,q,3,3,"mat-error",11),r.qZA(),r.TgZ(8,"mat-form-field"),r.TgZ(9,"mat-label"),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.TgZ(12,"textarea",12,13),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().message=e}),r.ALo(14,"translate"),r._uU(15," "),r.qZA(),r.YNc(16,F,3,3,"mat-error",11),r.qZA(),r.qZA()}if(2&t){const t=r.MAs(6),e=r.MAs(13),i=r.oxw();r.xp6(3),r.Oqu(r.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),r.xp6(2),r.Q6J("ngModel",i.subject),r.xp6(2),r.Q6J("ngIf",t.invalid),r.xp6(3),r.Oqu(r.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),r.xp6(2),r.s9C("placeholder",r.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),r.Q6J("ngModel",i.message),r.xp6(4),r.Q6J("ngIf",e.invalid)}}let H=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=o,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(60306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(a.sK),r.Y36(o.V6),r.Y36(s.Hr),r.Y36(n.WI),r.Y36(o.d6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,B,1,0,"mat-spinner",1),r.YNc(4,U,17,13,"div",2),r.TgZ(5,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"button",5),r.NdJ("click",function(){return e.dialogRef.close()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",6),r.NdJ("click",function(){return e.sendBugReport()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(4),r.hij(" ",r.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),r.xp6(2),r.Q6J("disabled",""===e.message||""===e.subject||e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[n.uh,c.O5,n.H8,l.lW,u.$g,n.xY,h.KE,h.hX,A.Nt,w.Fj,w.Q7,w.JJ,w.On,h.TO],pipes:[a.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),G=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=(0,P.kZ)();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(H,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.uw),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r._uU(3),r.qZA(),r.TgZ(4,"div",2),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.onBugReportClick()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r.NdJ("click",function(){return e.onCloseClick()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(e.data.title),r.xp6(2),r.hij("\n",e.data.description,"\n"),r.xp6(3),r.Q6J("hidden","error"!==e.data.type),r.xp6(1),r.hij(" ",r.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),r.xp6(3),r.hij(" ",r.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[n.uh,n.xY,n.H8,l.lW],pipes:[a.X$],styles:[""]}),t})();var j=i(67033),Y=i(83787);function K(t,e){1&t&&r._UZ(0,"mat-spinner",3)}function V(t,e){1&t&&r._UZ(0,"th",15)}function $(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t.userExtSource.extSource.name," ")}}function J(t,e){1&t&&r._UZ(0,"tr",17)}function Q(t,e){1&t&&r._UZ(0,"tr",18)}function W(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div",4),r.TgZ(2,"p"),r._uU(3),r.ALo(4,"translate"),r.ALo(5,"customTranslate"),r.qZA(),r.TgZ(6,"div",5),r._uU(7),r.ALo(8,"translate"),r.ALo(9,"customTranslate"),r.qZA(),r.TgZ(10,"table",6),r.ynx(11,7),r.YNc(12,V,1,0,"th",8),r.YNc(13,$,2,1,"td",9),r.BQk(),r.YNc(14,J,1,0,"tr",10),r.YNc(15,Q,1,0,"tr",11),r.qZA(),r.qZA(),r.TgZ(16,"div",12),r.TgZ(17,"button",13),r.NdJ("click",function(){return r.CHM(t),r.oxw().onCancel()}),r._uU(18),r.ALo(19,"translate"),r.ALo(20,"customTranslate"),r.qZA(),r.TgZ(21,"button",14),r.NdJ("click",function(){return r.CHM(t),r.oxw().onSubmit()}),r._uU(22),r.ALo(23,"translate"),r.ALo(24,"customTranslate"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,7,r.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),r.xp6(4),r.hij(" ",r.lcZ(8,11,r.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),r.xp6(3),r.Q6J("dataSource",t.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",t.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",t.displayedColumns),r.xp6(3),r.hij(" ",r.lcZ(19,15,r.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),r.xp6(4),r.hij(" ",r.lcZ(23,19,r.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let X=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.translate=n,this.notificator=s,this.force=!1,this.displayedColumns=["name"],n.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new j.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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.Fv),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA(),r.TgZ(4,"div"),r.YNc(5,K,1,0,"mat-spinner",1),r.YNc(6,W,25,23,"div",2),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,6,r.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),r.xp6(3),r.Tol(e.theme),r.xp6(1),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,u.$g,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,n.H8,l.lW,j.ge,j.ev,j.XQ,j.Gk],pipes:[a.X$,Y.a],styles:[""]}),t})();var tt=i(10901),et=i(81391);let it=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.qZA(),r.TgZ(2,"div",1),r.TgZ(3,"textarea",2),r._uU(4),r.qZA(),r.qZA(),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.onCancel()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(e.title),r.xp6(3),r.Oqu(e.value),r.xp6(3),r.hij(" ",r.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),r.xp6(2),r.Q6J("cdkCopyToClipboard",e.value),r.xp6(1),r.hij(" ",r.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[n.uh,n.xY,tt.IC,A.Nt,n.H8,l.lW,et.i3],pipes:[a.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})();function nt(t,e){1&t&&r._UZ(0,"th",12)}function st(t,e){if(1&t&&(r.TgZ(0,"td",13),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t.displayName," ")}}function ot(t,e){1&t&&r._UZ(0,"tr",14)}function rt(t,e){1&t&&r._UZ(0,"tr",15)}let at=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.attributesManager=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new j.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=[];for(const i of this.data.attributes)t.push(i.id);const e={};switch(e[this.data.entity]=this.data.entityId,e.attributes=t,void 0!==this.data.secondEntity&&(e[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default: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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(o.V6),r.Y36(a.sK),r.Y36(s.H8))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"div"),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"div",2),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"table",3),r.ynx(11,4),r.YNc(12,nt,1,0,"th",5),r.YNc(13,st,2,1,"td",6),r.BQk(),r.YNc(14,ot,1,0,"tr",7),r.YNc(15,rt,1,0,"tr",8),r.qZA(),r.qZA(),r.TgZ(16,"div",9),r.TgZ(17,"button",10),r.NdJ("click",function(){return e.onCancel()}),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.TgZ(20,"button",11),r.NdJ("click",function(){return e.onSubmit()}),r._uU(21),r.ALo(22,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),r.xp6(4),r.hij(" ",r.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),r.xp6(3),r.hij(" ",r.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),r.xp6(2),r.Q6J("dataSource",e.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",e.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",e.displayedColumns),r.xp6(3),r.hij(" ",r.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),r.xp6(3),r.hij(" ",r.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[n.uh,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,n.H8,l.lW,j.ge,j.ev,j.XQ,j.Gk],pipes:[a.X$],styles:[""]}),t})(),ct=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"mat-form-field"),r.TgZ(5,"textarea",2),r.NdJ("ngModelChange",function(t){return e.attributeValue=t}),r.qZA(),r.qZA(),r.qZA(),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),r.xp6(4),r.Q6J("ngModel",e.attributeValue),r.xp6(3),r.hij(" ",r.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),r.xp6(3),r.hij(" ",r.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,h.KE,tt.IC,A.Nt,w.Fj,w.JJ,w.On,n.H8,l.lW],pipes:[a.X$],styles:[""]}),t})(),lt=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"div"),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"div",2),r._uU(8),r.qZA(),r.qZA(),r.TgZ(9,"div",3),r.TgZ(10,"button",4),r.NdJ("click",function(){return e.cancel()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.TgZ(13,"button",5),r.NdJ("click",function(){return e.submit()}),r._uU(14),r.ALo(15,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),r.xp6(4),r.hij(" ",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),r.xp6(3),r.hij(" ",e.data.name," "),r.xp6(3),r.hij(" ",r.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),r.xp6(3),r.hij(" ",r.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,n.H8,l.lW],pipes:[a.X$],styles:[""]}),t})();var ut=i(39571);function ht(t,e){if(1&t&&(r.TgZ(0,"app-alert",9),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.pendingEmailsMessage)}}function dt(t,e){1&t&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,r.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let pt=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.usersManagerService=s,this.authService=o,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(t=>this.successMessage=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(t=>this.pendingEmailsMessageStart=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(t=>this.pendingEmailsMessageEnd=t)}ngOnInit(){this.emailControl=new w.NI(null,[w.kI.required,w.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(t=>{this.pendingMails=t.filter((t,e,i)=>e===i.indexOf(t));let e="";this.pendingMails.forEach(t=>e+=`${t===this.pendingMails[0]?"":", "}${t}`),console.log(e),this.pendingEmailsMessage=this.pendingEmailsMessageStart+e+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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(a.sK),r.Y36(o.V6),r.Y36(s.Fv),r.Y36(o.e8))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.ALo(3,"customTranslate"),r.qZA(),r.TgZ(4,"div",1),r.YNc(5,ht,2,1,"app-alert",2),r.TgZ(6,"mat-form-field",3),r.TgZ(7,"label",3),r._UZ(8,"input",4),r.ALo(9,"translate"),r.ALo(10,"customTranslate"),r.qZA(),r.YNc(11,dt,4,5,"mat-error",5),r.qZA(),r.qZA(),r.TgZ(12,"div",6),r.TgZ(13,"button",7),r.NdJ("click",function(){return e.onCancel()}),r._uU(14),r.ALo(15,"translate"),r.ALo(16,"customTranslate"),r.qZA(),r.TgZ(17,"button",8),r.NdJ("click",function(){return e.onSubmit()}),r._uU(18),r.ALo(19,"translate"),r.ALo(20,"customTranslate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,8,r.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),r.xp6(4),r.Q6J("ngIf",e.pendingMails.length),r.xp6(3),r.s9C("placeholder",r.lcZ(9,12,r.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),r.Q6J("formControl",e.emailControl),r.xp6(3),r.Q6J("ngIf",e.emailControl.invalid),r.xp6(3),r.hij(" ",r.lcZ(15,16,r.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),r.xp6(3),r.Q6J("disabled",!e.emailControl.valid),r.xp6(1),r.hij(" ",r.lcZ(19,20,r.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[n.uh,n.xY,c.O5,h.KE,A.Nt,w.Fj,w.Q7,w.JJ,w.oH,n.H8,l.lW,ut.w,h.TO],pipes:[a.X$,Y.a],styles:[""]}),t})();function gt(t,e){1&t&&r._UZ(0,"mat-spinner",6)}function ft(t,e){1&t&&r._UZ(0,"th",15)}function mt(t,e){if(1&t&&(r.TgZ(0,"td",16),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function bt(t,e){1&t&&r._UZ(0,"tr",17)}function _t(t,e){1&t&&r._UZ(0,"tr",18)}function wt(t,e){if(1&t&&(r.TgZ(0,"div",7),r.TgZ(1,"p"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"div",8),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"table",9),r.ynx(8,10),r.YNc(9,ft,1,0,"th",11),r.YNc(10,mt,2,1,"td",12),r.BQk(),r.YNc(11,bt,1,0,"tr",13),r.YNc(12,_t,1,0,"tr",14),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,5,t.data.description)," "),r.xp6(3),r.hij(" ",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),r.xp6(2),r.Q6J("dataSource",t.dataSource),r.xp6(4),r.Q6J("matHeaderRowDef",t.displayedColumns),r.xp6(1),r.Q6J("matRowDefColumns",t.displayedColumns)}}let At=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new j.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,gt,1,0,"mat-spinner",1),r.YNc(5,wt,13,9,"div",2),r.TgZ(6,"div",3),r.TgZ(7,"button",4),r.NdJ("click",function(){return e.onCancel()}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.TgZ(10,"button",5),r.NdJ("click",function(){return e.onSubmit()}),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,9,e.data.title)),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(3),r.hij(" ",r.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),r.xp6(2),r.Q6J("disabled",e.loading),r.xp6(1),r.hij(" ",r.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,c.O5,n.H8,l.lW,u.$g,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,j.ge,j.ev,j.XQ,j.Gk],pipes:[a.X$],styles:[""]}),t})();var yt=i(71709),vt=i(91010);let Tt=(()=>{class t{transform(t){const e=t.split(":");return e[e.length-1]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"parseGroupName",type:t,pure:!0}),t})();function Ct(t,e){1&t&&r._UZ(0,"mat-spinner",7)}function Et(t,e){1&t&&(r.TgZ(0,"app-alert"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function St(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function kt(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const It=function(t){return{"min-width":t}};function Rt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-tree-node",16),r.TgZ(1,"li",17),r.TgZ(2,"div",18),r.NdJ("click",function(){const e=r.CHM(t).$implicit;return r.oxw(3).navigate(e.id,e.include)}),r._UZ(3,"button",19),r.TgZ(4,"div",20),r.TgZ(5,"span"),r._uU(6),r.ALo(7,"parseGroupName"),r.qZA(),r.YNc(8,St,3,3,"span",21),r.YNc(9,kt,3,3,"span",21),r.qZA(),r.TgZ(10,"span",22),r._uU(11),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,i=r.oxw(3);r.xp6(2),r.ekj("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),r.xp6(2),r.Q6J("ngStyle",r.VKq(11,It,i.getMinWidth(t.level))),r.xp6(2),r.Oqu(r.lcZ(7,9,t.name)),r.xp6(2),r.Q6J("ngIf",t.direct),r.xp6(1),r.Q6J("ngIf",t.include),r.xp6(2),r.Oqu(t.description)}}function xt(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Ot(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Pt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-nested-tree-node"),r.TgZ(1,"li"),r.TgZ(2,"div",17),r.TgZ(3,"button",24),r.TgZ(4,"mat-icon",25),r._uU(5),r.qZA(),r.qZA(),r.TgZ(6,"div",18),r.NdJ("click",function(){const e=r.CHM(t).$implicit;return r.oxw(3).navigate(e.id,e.include)}),r.TgZ(7,"div",20),r.TgZ(8,"span"),r._uU(9),r.ALo(10,"parseGroupName"),r.qZA(),r.YNc(11,xt,3,3,"span",21),r.YNc(12,Ot,3,3,"span",21),r.qZA(),r.TgZ(13,"span",22),r._uU(14),r.qZA(),r.qZA(),r.qZA(),r.TgZ(15,"ul"),r.GkF(16,26),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,i=r.oxw(3);r.xp6(3),r.uIk("aria-label","Toggle "+t.name),r.xp6(2),r.hij(" ",i.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),r.xp6(1),r.ekj("cursor-pointer",t.direct||t.include)("act-disabled",!t.direct&&!t.include),r.xp6(1),r.Q6J("ngStyle",r.VKq(15,It,i.getMinWidth(t.level))),r.xp6(2),r.Oqu(r.lcZ(10,13,t.name)),r.xp6(2),r.Q6J("ngIf",t.direct),r.xp6(1),r.Q6J("ngIf",t.include),r.xp6(2),r.Oqu(t.description),r.xp6(1),r.ekj("example-tree-invisible",!i.treeControl.isExpanded(t))}}function Dt(t,e){if(1&t&&(r.TgZ(0,"mat-tree",13),r.YNc(1,Rt,12,13,"mat-tree-node",14),r.YNc(2,Pt,17,17,"mat-nested-tree-node",15),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("dataSource",t.dataSource)("treeControl",t.treeControl),r.xp6(2),r.Q6J("matTreeNodeDefWhen",t.hasChild)}}function Mt(t,e){if(1&t&&(r.TgZ(0,"div",8),r.TgZ(1,"p"),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-form-field",9),r._UZ(5,"input",10),r.ALo(6,"translate"),r.qZA(),r.YNc(7,Et,3,3,"app-alert",11),r.YNc(8,Dt,3,3,"mat-tree",12),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Oqu(r.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),r.xp6(3),r.s9C("placeholder",r.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),r.Q6J("formControl",t.formControl),r.xp6(2),r.Q6J("ngIf",!t.dataSource.data.length),r.xp6(1),r.Q6J("ngIf",t.dataSource.data.length)}}const Lt=function(t){return{name:t}};let Nt=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.groupsManagerService=i,this.treeControl=new yt.VY(t=>t.children),this.dataSource=new vt.WX,this.groupTree=[],this.paths=[],this.formControl=new w.NI(""),this.userName="",this.hasChild=(t,e)=>!!e.children&&e.children.length>0}recursiveSearch(t,e,i){for(let n=0;n{this.groupTree=this.recursiveSearch(this.groupTree,t,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(t=>{this.paths=t,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(t=>{const e=t.trim().toLowerCase(),i=this.paths.filter(t=>t.filter(t=>t.name.includes(e)).length);this.createGroupTree(i),this.dataSource.data=this.groupTree}),this.userName=(0,P.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(t,e=!1){window.open(`/organizations/${this.data.member.voId}/groups/${t}${e?"/settings/relations":""}`,"_blank")}getMinWidth(t){return 400-40*t+"px"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.ff))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Ct,1,0,"mat-spinner",2),r.YNc(5,Mt,9,9,"div",3),r.TgZ(6,"div",4),r.TgZ(7,"div",5),r.TgZ(8,"button",6),r.NdJ("click",function(){return e.onCancel()}),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",r.VKq(9,Lt,e.userName))),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(4),r.hij(" ",r.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[n.uh,c.O5,n.H8,l.lW,u.$g,n.xY,h.KE,A.Nt,w.Fj,w.JJ,w.oH,ut.w,vt.gi,vt.fQ,vt.uo,vt.eu,c.PC,vt.GZ,D.Hw,vt.Ar],pipes:[a.X$,Tt],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] ul[_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:auto!important}"]}),t})();var zt=i(57629);let Zt=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(zt.F0))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"app-alert",2),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA(),r.TgZ(7,"div",3),r.TgZ(8,"button",4),r.NdJ("click",function(){return e.onClose()}),r._uU(9),r.ALo(10,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),r.xp6(4),r.Oqu(r.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),r.xp6(4),r.hij(" ",r.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[n.uh,n.xY,ut.w,n.H8,l.lW],pipes:[a.X$],styles:[""]}),t})();var Bt=i(54810),qt=i(15812),Ft=i(58506);function Ut(t,e){1&t&&(r.TgZ(0,"mat-radio-button",15),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Ht(t,e){1&t&&(r.TgZ(0,"mat-radio-button",16),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}let Gt=(()=>{class t{constructor(t){this.dialogRef=t,this.canExtendMembership=!1,this.expirationChanged=new r.vpe,this.expirationControl=new w.NI(null)}ngOnInit(){"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}onChange(){this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close(!1)}setExpiration(){this.newExpiration=(0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode"},outputs:{expirationChanged:"expirationChanged"},decls:36,vars:36,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"],["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"]],template:function(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"p"),r.TgZ(3,"strong"),r._uU(4),r.ALo(5,"translate"),r.qZA(),r._uU(6),r.ALo(7,"parseDate"),r.qZA(),r.TgZ(8,"p"),r.TgZ(9,"strong"),r._uU(10),r.ALo(11,"translate"),r.qZA(),r._uU(12),r.ALo(13,"parseDate"),r.qZA(),r.TgZ(14,"mat-radio-group",2),r.NdJ("ngModelChange",function(t){return e.newExpiration=t}),r.TgZ(15,"mat-radio-button",3),r.TgZ(16,"mat-form-field",4),r.NdJ("click",function(){return r.CHM(t),r.MAs(23).open()}),r.TgZ(17,"mat-label"),r._uU(18),r.ALo(19,"translate"),r.qZA(),r.TgZ(20,"input",5),r.NdJ("dateChange",function(){return e.setExpiration()}),r.qZA(),r._UZ(21,"mat-datepicker-toggle",6),r._UZ(22,"mat-datepicker",7,8),r.qZA(),r.qZA(),r.YNc(24,Ut,3,3,"mat-radio-button",9),r.YNc(25,Ht,3,3,"mat-radio-button",10),r.TgZ(26,"mat-radio-button",11),r._uU(27),r.ALo(28,"translate"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(29,"div",12),r.TgZ(30,"button",13),r.NdJ("click",function(){return e.onCancel()}),r._uU(31),r.ALo(32,"translate"),r.qZA(),r.TgZ(33,"button",14),r.NdJ("click",function(){return e.onChange()}),r._uU(34),r.ALo(35,"translate"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.MAs(23);r.xp6(4),r.Oqu(r.lcZ(5,20,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),r.xp6(2),r.hij(" ",r.lcZ(7,22,e.currentExpiration),""),r.xp6(4),r.Oqu(r.lcZ(11,24,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),r.xp6(2),r.hij(" ",e.newExpiration?r.lcZ(13,26,e.newExpiration):"never",""),r.xp6(2),r.Q6J("ngModel",e.newExpiration),r.xp6(1),r.s9C("value",e.expirationControl.value),r.xp6(3),r.Oqu(r.lcZ(19,28,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),r.xp6(2),r.Q6J("min",e.minDate)("max",e.maxDate)("formControl",e.expirationControl)("matDatepicker",t),r.xp6(1),r.Q6J("for",t)("disabled",!1),r.xp6(1),r.Q6J("disabled",!1),r.xp6(2),r.Q6J("ngIf",e.canExtendMembership&&"vo"===e.mode),r.xp6(1),r.Q6J("ngIf",e.canExtendMembership&&"group"===e.mode),r.xp6(2),r.hij(" ",r.lcZ(28,30,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),r.xp6(4),r.hij(" ",r.lcZ(32,32,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),r.xp6(2),r.Q6J("disabled",e.expirationControl.invalid),r.xp6(1),r.hij(" ",r.lcZ(35,34,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[n.xY,Bt.VQ,w.JJ,w.On,Bt.U0,h.KE,h.hX,A.Nt,w.Fj,qt.hl,w.oH,qt.nW,h.R9,qt.Mq,c.O5,n.H8,l.lW],pipes:[a.X$,Ft.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}"]}),t})();function jt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function Yt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("maxDate",t.maxDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("canExtendMembership",t.canExtendMembership)("mode","group")}}let Kt=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.groupManager=s,this.translate=o,this.notificator=r,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0;const t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,O.r.GROUP_DEF_EXPIRATION_RULES).subscribe(t=>{null!==t.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(t=>{this.canExtendMembership=!!t,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(t){this.loading=!0,"groupRules"===t?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(s.ff),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,jt,1,0,"mat-spinner",2),r.YNc(5,Yt,1,6,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,u.$g,Gt],pipes:[a.X$],styles:[""]}),t})();function Vt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function $t(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("maxDate",t.maxDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("canExtendMembership",t.canExtendMembership)("mode","vo")}}let Jt=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.translate=s,this.notificator=o,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,s.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0;const t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,O.r.VO_DEF_EXPIRATION_RULES).subscribe(t=>{null!==t.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(t=>{this.canExtendMembership=!!t,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(t){this.loading=!0,"voRules"===t?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Vt,1,0,"mat-spinner",2),r.YNc(5,$t,1,6,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,u.$g,Gt],pipes:[a.X$],styles:[""]}),t})();function Qt(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function Wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"perun-web-apps-change-expiration-dialog",5),r.NdJ("expirationChanged",function(e){return r.CHM(t),r.oxw().onExpirationChanged(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("minDate",t.minDate)("currentExpiration",t.currentExpiration)("newExpiration",t.newExpiration)("mode","sponsor")}}let Xt=(()=>{class t{constructor(t,e,i,n,s,o,r){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.memberManager=n,this.groupManager=s,this.translate=o,this.notificator=r,this.loading=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.loading=!1}onExpirationChanged(t){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===t?null:t).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.H8),r.Y36(s.uq),r.Y36(s.ff),r.Y36(a.sK),r.Y36(o.V6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h1",1),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,Qt,1,0,"mat-spinner",2),r.YNc(5,Wt,1,4,"perun-web-apps-change-expiration-dialog",3),r.qZA()),2&t&&(r.xp6(2),r.Oqu(r.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,u.$g,Gt],pipes:[a.X$],styles:[""]}),t})();function te(t,e){1&t&&r._UZ(0,"mat-spinner",4)}function ee(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function ie(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function ne(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"mat-radio-group",12),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(2).asyncValidation=e}),r.TgZ(1,"span",13),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"mat-radio-button",14),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"mat-radio-button",14),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("ngModel",t.asyncValidation),r.xp6(2),r.hij(" ",r.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),r.xp6(2),r.Q6J("value",!1),r.xp6(1),r.hij(" ",r.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),r.xp6(2),r.Q6J("value",!0),r.xp6(1),r.hij(" ",r.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function se(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function oe(t,e){1&t&&(r.TgZ(0,"span",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function re(t,e){if(1&t&&(r.TgZ(0,"div",5),r.TgZ(1,"p",6),r._uU(2),r.TgZ(3,"span",7),r._uU(4),r.qZA(),r._uU(5),r.TgZ(6,"span",7),r._uU(7),r.qZA(),r.qZA(),r.TgZ(8,"p"),r.TgZ(9,"strong",8),r._uU(10),r.ALo(11,"translate"),r.qZA(),r._uU(12),r.qZA(),r.TgZ(13,"p"),r.TgZ(14,"strong",8),r._uU(15),r.ALo(16,"translate"),r.qZA(),r._uU(17),r.qZA(),r.YNc(18,ee,3,3,"span",9),r.YNc(19,ie,3,3,"span",9),r.YNc(20,ne,10,12,"mat-radio-group",10),r.YNc(21,se,3,3,"span",9),r.YNc(22,oe,3,3,"span",9),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.hij(" ",t.group.name," "),r.xp6(2),r.hij("#",t.group.id,""),r.xp6(1),r.hij(" - ",t.resource.name," "),r.xp6(2),r.hij("#",t.resource.id,""),r.xp6(3),r.hij("",r.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),r.xp6(2),r.hij(" ",t.status," "),r.xp6(3),r.hij("",r.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),r.xp6(2),r.hij(" ",t.getReversedStatus()," "),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","ACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status&&!1===t.asyncValidation),r.xp6(1),r.Q6J("ngIf","INACTIVE"===t.status&&!0===t.asyncValidation)}}function ae(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",15),r.TgZ(1,"button",16),r.NdJ("click",function(){return r.CHM(t),r.oxw().onCancel()}),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"button",17),r.NdJ("click",function(){return r.CHM(t),r.oxw().onSubmit()}),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(2),r.hij(" ",r.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),r.xp6(2),r.Q6J("disabled",t.loading),r.xp6(1),r.hij(" ",r.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}let ce=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.resourceService=i,this.groupService=n,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(t=>{this.resource=t,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 t.\u0275fac=function(e){return new(e||t)(r.Y36(n.so),r.Y36(n.WI),r.Y36(s.xk),r.Y36(s.ff))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div"),r.TgZ(1,"h1",0),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.YNc(4,te,1,0,"mat-spinner",1),r.YNc(5,re,23,17,"div",2),r.YNc(6,ae,7,7,"div",3),r.qZA()),2&t&&(r.Tol(e.theme),r.xp6(2),r.Oqu(r.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),r.xp6(2),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,u.$g,n.xY,Bt.VQ,w.JJ,w.On,Bt.U0,n.H8,l.lW],pipes:[a.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),t})()},84534:function(t,e,i){"use strict";i.d(e,{hT:function(){return s},Kd:function(){return r},YH:function(){return a}});var n=i(31572);let s=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})();var o=i(88426);let r=(()=>{class t{constructor(t,e){this.el=t,this.router=e}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(o.xw))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),t})(),a=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})()},14732:function(t,e,i){"use strict";i.d(e,{u:function(){return n},m:function(){return s}});var n=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});class s{constructor(t){this.id=t.id,this.name=t.name,this.parentGroupId=t.parentGroupId,this.voId=t.voId,this.shortName=t.shortName,this.description=t.description,this.attributes=t.attributes,this.beanName=t.beanName}addChild(t){null==this.children?this.children=[t]:this.children.push(t)}}},33642:function(t,e,i){"use strict";i.d(e,{Us:function(){return k},au:function(){return D},H8:function(){return c},Ct:function(){return u},VK:function(){return a},KG:function(){return p},IQ:function(){return g},ff:function(){return m},uq:function(){return b},aC:function(){return _},Hr:function(){return w},tk:function(){return A},xk:function(){return y},KK:function(){return v},Ob:function(){return T},Dy:function(){return P},Fv:function(){return C},FW:function(){return E},YF:function(){return S}});var n=i(29063);class s{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}var o=i(31572);const r=new o.OlP("basePath");class a{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let c=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attribute",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,s,o,r,a,c,l,u,h,d="body",p=!1){let g=new n.LE({encoder:this.encoder});null!=t&&(g=g.set("attributeName",t)),null!=e&&(g=g.set("attributeId",e)),null!=i&&(g=g.set("facility",i)),null!=s&&(g=g.set("user",s)),null!=o&&(g=g.set("vo",o)),null!=r&&(g=g.set("resource",r)),null!=a&&(g=g.set("member",a)),null!=c&&(g=g.set("group",c)),null!=l&&(g=g.set("host",l)),null!=u&&(g=g.set("userExtSource",u)),null!=h&&(g=g.set("key",h));let f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+t)}const m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(f=f.set("Accept",m)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:g,withCredentials:this.configuration.withCredentials,headers:f,observe:d,reportProgress:p})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t,e="body",i=!1){if(null==t)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("namespace",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("format",t)),null!=e&&(o=o.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("format",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,s,o,r,a,c,l="body",u=!1){let h=new n.LE({encoder:this.encoder});null!=t&&(h=h.set("member",t)),null!=e&&(h=h.set("user",e)),null!=i&&(h=h.set("vo",i)),null!=s&&(h=h.set("group",s)),null!=o&&(h=h.set("resource",o)),null!=r&&(h=h.set("facility",r)),null!=a&&(h=h.set("host",a)),null!=c&&(h=h.set("userExtSource",c));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+t)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:u})}getEntitylessAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("key",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attrName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("attrName",t)),e&&e.forEach(t=>{o=o.append("keys[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityResourceUserMemberAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=s&&(a=a.set("member",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getFacilityUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupResourceAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupResourceAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAndUserAttributesByNames(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroupAndUserAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getMemberGroupAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroupAttributesByNames(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAndUserFacilityAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getMemberResourceAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesFacilityServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("services[]",t)}),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesGroupResourceService(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesHostService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesMemberGroup(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberGroupResourceService(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("service",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=s&&(c=c.set("member",s)),null!=o&&(c=c.set("workWithUserAttributes",o));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}getRequiredAttributesMemberGroupService(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesMemberResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberResourceService(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("member",i)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesResourceServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("services[]",t)}),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRequiredAttributesVoService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceGroupAndGroupAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithGroupAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourceGroupAndGroupAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attrNames[]",t)}),null!=s&&(a=a.set("workWithGroupAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getResourceGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceGroupMemberAttributesByNames(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getUserAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserFacilityAttributeById(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserFacilityAttributeByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserFacilityAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributeById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributeByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let l=new n.LE({encoder:this.encoder});null!=t&&(l=l.set("facility",t)),null!=e&&(l=l.set("resource",e)),null!=i&&(l=l.set("group",i)),null!=s&&(l=l.set("user",s)),null!=o&&(l=l.set("member",o)),r&&r.forEach(t=>{l=l.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:l,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:c})}removeAttributesForFacilityResourceUserMember(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("user",i)),null!=s&&(c=c.set("member",s)),o&&o.forEach(t=>{c=c.append("attributes[]",t)});let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}removeEntitylessAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("key",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupResourceAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeGroupResourceAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attributes[]",t)}),null!=s&&(a=a.set("workWithGroupAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeHostAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHostAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("host",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMemberAttributesWorkWithUserAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attributes[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(t=>{a=a.append("attributes[]",t)}),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeMemberResourceAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberResourceAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeResourceAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUesAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserExtSourceAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userExtSource",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserFacilityAttribute(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attribute",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeUserFacilityAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeVoAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}auditMessagesManagerLog(t,e="body",i=!1){if(null==t)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("msg",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/log`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createAuditerConsumer(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/createAuditerConsumer`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllAuditerConsumers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuditerMessagesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getLastMessageId(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMessages(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("count",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMessagesByCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("count",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessagesByCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}pollConsumerMessages(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/pollConsumerMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}setLastProcessedId(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==e)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("consumerName",t)),null!=e&&(o=o.set("lastProcessedId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/setLastProcessedId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("role",t)),null!=e&&(r=r.set("complementaryObjectId",e)),null!=i&&(r=r.set("complementaryObjectName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAuthzRichAdmins(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let l=new n.LE({encoder:this.encoder});null!=t&&(l=l.set("role",t)),null!=e&&(l=l.set("complementaryObjectId",e)),null!=i&&(l=l.set("complementaryObjectName",i)),s&&s.forEach(t=>{l=l.append("specificAttributes",t)}),null!=o&&(l=l.set("allUserAttributes",o)),null!=r&&(l=l.set("onlyDirectAdmins",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:l,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:c})}getFacilitiesWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("groupId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),t&&t.forEach(t=>{o=o.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isFacilityAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),h=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}createAutorship(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryCat(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryNR(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAuthorship(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==e)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("publicationId",t)),null!=e&&(o=o.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deletePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deletePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findAllAuthors(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}findAuthorsByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findExternalPublications(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==e)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("yearSince",e)),null!=i&&(a=a.set("yearTill",i)),null!=s&&(a=a.set("pubSysNamespace",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}findNewAuthors(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findPublicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findPublicationsByFilter(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let r=new n.LE({encoder:this.encoder});null!=e&&(r=r.set("yearSince",e)),null!=i&&(r=r.set("yearTill",i)),null!=t&&(r=r.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findPublicationsByGUIFilter(t,e,i,s,o,r,a,c,l,u="body",h=!1){let d=new n.LE({encoder:this.encoder});null!=t&&(d=d.set("title",t)),null!=e&&(d=d.set("isbn",e)),null!=i&&(d=d.set("doi",i)),null!=s&&(d=d.set("id",s)),null!=o&&(d=d.set("year",o)),null!=r&&(d=d.set("category",r)),null!=a&&(d=d.set("yearSince",a)),null!=c&&(d=d.set("yearTill",c)),null!=l&&(d=d.set("userId",l));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(p=p.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:u,reportProgress:h})}findSimilarPublications(t,e,i,s="body",o=!1){let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("title",t)),null!=e&&(r=r.set("doi",e)),null!=i&&(r=r.set("isbn",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCategories(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPublicationSystems(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRank(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRank.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichThanksByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}lockPublications(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getCurrentDatabaseVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseDriverInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTimeOfQueryPerformance(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),p=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addExtSourceWithGroupSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addExtSourceWithVoSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createExtSourceFromExtSourceObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createExtSourceWithNameType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==e)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSourceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getExtSources(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGroupExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}loadExtSourcesDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeExtSourceWithGroupSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeExtSourceWithVoSource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addFacilityAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminGroupByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityAdminUserByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByFacilityNameOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addFacilityOwnerByOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHost(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHostByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addHostsByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignSecurityTeam(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignSecurityTeamByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyAttributesBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyManagersBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwners(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersByDestinationName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacility",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersBySourceDestinationNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyOwnersBySourceName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("srcFacilityName",t)),null!=e&&(o=o.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllowedGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedGroupsByFacilityName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedRichGroupsWithAttributes(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(t=>{a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=s&&(a=a.set("service",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllowedRichGroupsWithAttributesByFacilityName(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(t=>{a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=s&&(a=a.set("service",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllowedUsersOfFacility(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedUsersOfFacilityByFacilityName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedVos(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedVosByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedFacilitiesByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesByAssignedServiceForFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedSecurityTeams(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedSecurityTeamsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedUsers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedUsersByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getBansForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facilityId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEnrichedFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getEnrichedHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilitiesByAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==e)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("attributeName",t)),null!=e&&(o=o.set("attributeValue",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilitiesByDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesByHostName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilitiesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAdminUsers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityAdminUsersByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityBan(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityForHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityOwners(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityOwnersByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHosts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getHostsCountByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getOwnerFacilities(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("owner",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeBanByUserIdFacilityId(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminGroupByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityAdminUserByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeFacilityOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByFacilityNameOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeFacilityOwnerByOwnerName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeHostByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("hostname",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeHosts(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeHostsByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSecurityTeam(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSecurityTeamByFacilityName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),f=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getFacilityAdminGroupsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}canExtendMembershipInGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createGroupUnion(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resultGroup",t)),null!=e&&(o=o.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createGroupWithParentGroupNameDescription(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("parentGroup",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createGroupWithVoNameDescription(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}deleteGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("forceDelete",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}extendMembershipInGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMemberById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("members[]",t)}),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getGroupUnions(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("reverseDirection",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichGroupByIdWithAttributesByNames(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("groupId",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isGroupMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let o=new n.LE({encoder:this.encoder});null!=e&&(o=o.set("destinationGroup",e)),null!=t&&(o=o.set("movingGroup",t));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupUnion(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resultGroup",t)),null!=e&&(o=o.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setGroupsMemberStatus(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("status",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=e&&(r=r.set("searchString",e)),i&&i.forEach(t=>{r=r.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findCompleteRichMembersForGroup(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let l=new n.LE({encoder:this.encoder});null!=t&&(l=l.set("group",t)),e&&e.forEach(t=>{l=l.append("attrsNames[]",t)}),o&&o.forEach(t=>{l=l.append("allowedStatuses[]",t)}),r&&r.forEach(t=>{l=l.append("allowedGroupStatuses[]",t)}),null!=i&&(l=l.set("searchString",i)),null!=s&&(l=l.set("lookingInParentGroup",s));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:l,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:c})}findCompleteRichMembersForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("attrsNames[]",t)}),s&&s.forEach(t=>{a=a.append("allowedStatuses[]",t)}),null!=i&&(a=a.set("searchString",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}findMembersInVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findSponsoredCompleteRichMembersForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("attrsNames[]",t)}),null!=i&&(a=a.set("searchString",i)),null!=s&&(a=a.set("onlySponsored",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getCompleteRichMembersForGroup(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("group",t)),i&&i.forEach(t=>{c=c.append("allowedStatuses[]",t)}),s&&s.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=e&&(c=c.set("lookingInParentGroup",e)),o&&o.forEach(t=>{c=c.append("attrsNames[]",t)});let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}getCompleteRichMembersForGroupResource(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(t=>{a=a.append("attrsNames[]",t)}),s&&s.forEach(t=>{a=a.append("allowedStatuses[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getCompleteRichMembersForVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberByExtSourceNameAndExtLogin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extLogin",e)),null!=i&&(r=r.set("extSourceName",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembers(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("ids[]",t)}),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsByMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsByVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}moveMembership(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("sourceUser",e)),null!=i&&(r=r.set("targetUser",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeSponsor(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendAccountActivationLinkEmail(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=s&&(a=a.set("language",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendPasswordResetLinkEmail(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=s&&(a=a.set("language",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("sponsoredMember",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}setStatus(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sponsorMember(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}updateSponsorshipValidity(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}createOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("owner",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllOwners(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getOwnerById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getOwnerByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("owner",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),w=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}sentMessageToRTWithMemberQueue(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("memberId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=s&&(a=a.set("text",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sentMessageToRTWithQueue(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("queue",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithVoQueue(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("voId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=s&&(a=a.set("text",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),A=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromGroupToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromVoToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyFormFromVoToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromGroupToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromGroupToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromGroup",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromVoToGroup(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyMailsFromVoToVo(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("fromVo",t)),null!=e&&(o=o.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteApplicationMailForVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),e&&e.forEach(t=>{a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=s&&(a=a.set("dateTo",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getApplicationsForMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getApplicationsForVo(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(t=>{a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=s&&(a=a.set("dateTo",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),null!=e&&(o=o.set("reason",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendInvitation(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let a=new n.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendInvitationForGroup(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let c=new n.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=s&&(c=c.set("groupId",s)),null!=o&&(c=c.set("name",o)),null!=t&&(c=c.set("email",t)),null!=e&&(c=c.set("language",e));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}sendInvitationGroupToExistingUser(t,e,i,s="body",o=!1){let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e)),null!=i&&(r=r.set("groupId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendInvitationToExistingUser(t,e,i="body",s=!1){let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("userId",t)),null!=e&&(o=o.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),y=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}activateGroupResourceAssignment(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}addAdminToGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addAdminToUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addResourceSelfServiceGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addResourceSelfServiceUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}allowGroupsToResources(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupToResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupToResources(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignGroupsToResource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let r=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}assignServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("name",i)),null!=s&&(a=a.set("description",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("tagName",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deactivateGroupResourceAssignment(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAdmins(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedMembersWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResourcesWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEnrichedResourcesForFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getEnrichedResourcesForVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceAssignments(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceBan(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourceByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getResourcesWhereGroupIsAdmin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("group",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourcesWhereUserIsAdmin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichAdmins(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),e&&e.forEach(t=>{a=a.append("specificAttributes",t)}),null!=i&&(a=a.set("allUserAttributes",i)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupAdminResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupFromResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupFromResources(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeGroupsFromResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceSelfServiceUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServices(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserAdminResource(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let o=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),e&&e.forEach(t=>{o=o.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),v=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addDestination(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestination.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("service",t)),null!=e&&(c=c.set("facility",e)),null!=i&&(c=c.set("destination",i)),null!=s&&(c=c.set("type",s)),null!=o&&(c=c.set("propagationType",o));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}addDestinationToMultipleServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addDestinationsForAllServicesOnFacility(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("destination",e)),null!=i&&(a=a.set("type",i)),null!=s&&(a=a.set("propagationType",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}addRequiredAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addRequiredAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addServiceToServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("servicesPackage",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}blockAllServicesOnDestinationByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("destination",t)),null!=e&&(o=o.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}blockServiceOnDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}blockServiceOnDestinationWithNameAndType(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}blockServiceOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createService(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",e)),null!=i&&(r=r.set("script",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createServiceWithService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackageByNameAndDescription(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteService(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling deleteService.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}forceServicePropagation(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllDestinations(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRichDestinationsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllRichDestinationsForService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getDataWithGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getDataWithVos(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getDestinationsCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityAssignedServicesForGUI(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFlatData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHashedDataWithGroups(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHashedHierarchicalData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getHierarchicalData(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getServiceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServiceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServices(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getServicesBlockedOnDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesBlockedOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesByAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeDefinition",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesFromServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackageById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackageByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getServicesPackages(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isServiceBlockedOnDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}isServiceBlockedOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}planServicePropagation(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAllDestinations(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeAllRequiredAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeDestination(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("destination",i)),null!=s&&(a=a.set("type",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeRequiredAttribute(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeRequiredAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeServiceFromServicesPackage(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("servicesPackage",t)),null!=e&&(o=o.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}unblockAllServicesOnDestinationByName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("destination",t)),null!=e&&(o=o.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}unblockServiceOnDestinationById(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}unblockServiceOnDestinationByName(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}unblockServiceOnFacility(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),T=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}countTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}deleteTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllFacilitiesStates(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllResourcesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("voId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityServicesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getFacilityState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTask(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getTask.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getTaskById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("taskResult",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResults(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTaskResultsByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("destinations[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForGUIByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getTaskResultsForGUIByTaskAndDestination(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("task",t)),null!=e&&(o=o.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getTaskResultsForGUIByTaskOnlyNewest(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isThereSuchTask(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}listAllTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}listAllTasksForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}suspendTasksPropagation(t,e="body",i=!1){if(null==t)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("suspend",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),C=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addSpecificUserOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}anonymizeUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("password",e)),null!=i&&(r=r.set("lang",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}changePasswordForLogin(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("login",t)),null!=e&&(c=c.set("namespace",e)),null!=i&&(c=c.set("newPassword",i)),null!=s&&(c=c.set("oldPassword",s)),null!=o&&(c=c.set("checkOldPassword",o));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}changePasswordForUser(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("namespace",e)),null!=i&&(c=c.set("newPassword",i)),null!=s&&(c=c.set("oldPassword",s)),null!=o&&(c=c.set("checkOldPassword",o));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("password",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createAlternativePassword(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("description",e)),null!=i&&(a=a.set("loginNamespace",i)),null!=s&&(a=a.set("password",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("loginNamespace",e)),null!=i&&(r=r.set("passwordId",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}deletePasswordForLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deletePasswordForUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}deleteUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("searchString",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAllRichUsersWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("includedSpecificUsers",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsForResourceWhereUserIsActive(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getSponsorsForMemberByVoAndLogin(t,e,i,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let a=new n.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),s&&s.forEach(t=>{a=a.append("attrNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getUserByExtSourceNameAndExtLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("extLogin",t)),null!=e&&(o=o.set("extSourceName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUsers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("specificUser",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("loginNamespace",t)),null!=e&&(o=o.set("login",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}loginExist(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSpecificUserOwner(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeUserExtSource(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("force",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}requestPreferredEmailChange(t,e,i,s,o,r,a="body",c=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let l=new n.LE({encoder:this.encoder});null!=t&&(l=l.set("user",t)),null!=e&&(l=l.set("email",e)),null!=i&&(l=l.set("lang",i)),null!=s&&(l=l.set("linkPath",s)),null!=o&&(l=l.set("customUrl",o)),null!=r&&(l=l.set("idpFilter",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:l,withCredentials:this.configuration.withCredentials,headers:u,observe:a,reportProgress:c})}reservePasswordForLogin(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}reservePasswordForUser(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}reserveRandomPassword(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}validatePasswordForUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}validatePreferredEmailChangeWithToken(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("token",t)),null!=e&&(o=o.set("u",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),S=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new n.WM,this.configuration=new a,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new s}addSponsorRoleToGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addSponsorRoleToUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addVoAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}addVoAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createVoWithName(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}findCandidates(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("searchString",e)),null!=i&&(r=r.set("maxNumOfResults",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findCandidatesForGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCompleteCandidatesForVo(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let c=new n.LE({encoder:this.encoder});null!=t&&(c=c.set("vo",t)),null!=e&&(c=c.set("role",e)),i&&i.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=o&&(c=c.set("onlyDirectAdmins",o));let l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(l=l.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:r,reportProgress:a})}getVoAdminGroups(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("role",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}getVoAdminUsers(t,e,i,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let r=new n.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e)),null!=i&&(r=r.set("onlyDirectAdmins",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("shortName",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new n.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeSponsorRoleFromUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAdminGroup(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoAdminUser(t,e,i="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let o=new n.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:s})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("banId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new n.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.eN),o.LFG(r,8),o.LFG(a,8))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const k={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"};var I,R,x,O;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(I||(I={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(R||(R={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(x||(x={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(O||(O={}));const P={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",FROMFEDERATIONSHOW:"FROM_FEDERATION_SHOW",FROMFEDERATIONHIDDEN:"FROM_FEDERATION_HIDDEN",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let D=(()=>{class t{constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)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:t,providers:[{provide:a,useFactory:e}]}}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(t,12),o.LFG(n.eN,8))},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[c,l,u,h,d,p,g,f,m,b,_,w,A,y,v,T,C,E,S],imports:[[]]}),t})()},22280:function(t,e,i){"use strict";i.d(e,{r5:function(){return a.r},d4:function(){return o},dp:function(){return r.d}});var n=i(61511),s=i(31572);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})();var r=i(22196),a=(i(83787),i(95603));i(91322),i(63720),i(1157),i(48853)},83787:function(t,e,i){"use strict";i.d(e,{a:function(){return r}});var n=i(88426),s=i(31572),o=i(48160);let r=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e="en"){const i=this.storage.get("custom_labels");if(i){const n=Object.keys(i);for(const i of n){const n=this.storage.get("custom_labels",i);if(n.label===t)return n[e]}}return t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.sK,16),s.Y36(n.d6,16))},t.\u0275pipe=s.Yjl({name:"customTranslate",type:t,pure:!0}),t})()},95603:function(t,e,i){"use strict";i.d(e,{r:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t,e){return e?`/organizations/${t.voId}/resources/${t.id}`:`/facilities/${t.facilityId}/resources/${t.id}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"getResourceRoute",type:t,pure:!0}),t})()},51392:function(t,e,i){"use strict";i.d(e,{F:function(){return r}});var n=i(84140),s=i(67004),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=(0,n.IL)(t.attributes,s.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(t.attributes,s.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const o=i.value;if("true"===e.value){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"red":null!==r&&r.trim().length>0?"green":""}if(o){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"red":null!==r&&r.trim().length>0?"green":""}return""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIconColor",type:t,pure:!0}),t})()},52984:function(t,e,i){"use strict";i.d(e,{J:function(){return r}});var n=i(67004),s=i(84140),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"";const e=(0,s.IL)(t.attributes,n.r.GROUP_SYNC_ENABLED),i=(0,s.IL)(t.attributes,n.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"";const o=i.value;if("true"===e.value){const e=(0,s.IL)(t.attributes,n.r.GROUP_LAST_SYNC_STATE),i=(0,s.IL)(t.attributes,n.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"sync_problem":(null!==r&&r.trim(),"sync")}if(o){const e=(0,s.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,s.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"sync_problem":(null!==r&&r.trim(),"sync")}return"sync_disabled"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIcon",type:t,pure:!0}),t})()},44385:function(t,e,i){"use strict";i.d(e,{r:function(){return r}});var n=i(84140),s=i(67004),o=i(31572);let r=(()=>{class t{transform(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const e=(0,n.IL)(t.attributes,s.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(t.attributes,s.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const o=i.value;if("true"===e.value){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==r&&r.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(o){const e=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE),i=(0,n.IL)(t.attributes,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),o=e.value,r=i.value;return null!=o&&o.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==r&&r.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncToolTip",type:t,pure:!0}),t})()},63720:function(t,e,i){"use strict";i.d(e,{D:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.g$)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberEmail",type:t,pure:!0}),t})()},1157:function(t,e,i){"use strict";i.d(e,{p:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.lt)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberLogins",type:t,pure:!0}),t})()},99197:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.Gw)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberOrganization",type:t,pure:!0}),t})()},74842:function(t,e,i){"use strict";i.d(e,{u:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){switch(t){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIconColor",type:t,pure:!0}),t})()},37043:function(t,e,i){"use strict";i.d(e,{f:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){switch(t){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return t}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIcon",type:t,pure:!0}),t})()},91322:function(t,e,i){"use strict";i.d(e,{i:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t,e){let i=null,s=null;null!==t.memberAttributes&&(i=t.memberAttributes.find(t=>"membershipExpiration"===t.friendlyName),s=t.memberAttributes.find(t=>"groupMembershipExpiration"===t.friendlyName));let o="";return o=e?`\n Group status: ${(0,n.Oe)(t.groupStatus)}, Expiration: ${s&&s.value?s.value:"never"}`:`Status: ${(0,n.Oe)(t.status,t.groupStatus)}\n Vo status: ${(0,n.Oe)(t.status)}, Expiration: ${i&&i.value?i.value:"never"}`,o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"memberStatusTooltip",type:t,pure:!0}),t})()},58506:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(61511),s=i(31572);let o=(()=>{class t{transform(t,e){return"voRules"===t?"Vo rules":"groupRules"===t?"Group rules":t&&"never"!==t.toLowerCase()?(0,n.p6)(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"parseDate",type:t,pure:!0}),t})()},48853:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(84140),s=i(31572);let o=(()=>{class t{transform(t){return(0,n.te)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"technicalOwners",type:t,pure:!0}),t})()},22196:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(31572);let s=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userFullName",type:t,pure:!0}),t})()},88426:function(t,e,i){"use strict";i.d(e,{yC:function(){return k},F5:function(){return E},sM:function(){return x},e8:function(){return m},EB:function(){return y},ly:function(){return D},xw:function(){return O},x4:function(){return r},v0:function(){return _},Ct:function(){return z},SZ:function(){return I},V6:function(){return S},d6:function(){return g},UA:function(){return P}});var n=i(33642),s=i(14732),o=i(31572);let r=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const o of i)n=n.concat(o.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER,s.u.FACILITYADMIN,s.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(s.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(s.u.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(s.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(s.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.VOOBSERVER,s.u.PERUNOBSERVER)}isThisVoObserver(t){return this.hasAtLeastOne(s.u.PERUNADMIN,s.u.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],o=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))o="User"===t?[t].concat(o):o.concat(t);break}const r=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,r),c=this.resolveAuthorization(s,r);i.set(n,{readAuth:a,manageAuth:c,modes:o})}}voCustomSort(t){for(let e=0;e{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(u.so))},t.\u0275cmp=o.Xpm({type:t,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(t,e){1&t&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.TgZ(3,"div",1),o._uU(4),o.ALo(5,"translate"),o.qZA(),o.TgZ(6,"div",2),o.TgZ(7,"div",3),o.TgZ(8,"button",4),o.NdJ("click",function(){return e.close()}),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),o.xp6(3),o.hij(" ",o.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),o.xp6(5),o.hij(" ",o.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[u.uh,u.xY,u.H8,h.lW],pipes:[d.X$],styles:[""]}),t})(),g=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n,s){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.oauthService=s,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(c.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientConfig(){const t=this.setIdpFilter();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"),useSilentRefresh:!1,customQueryParams:t?{acr_values:t}:{}}}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}startIdpFilterKeeper(){this.router.events.pipe((0,a.h)(t=>t instanceof c.m2)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig()),this.oauthService.events.pipe((0,a.h)(t=>"token_expires"===t.type)).subscribe(()=>{const t=(0,l.kZ)();t.width="450px",this.dialog.open(p,t).afterClosed().subscribe(()=>{this.startAuthentication()})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):this.oauthService.logOut()}isLoggedInPromise(){return this.isLoggedIn()?Promise.resolve(!0):Promise.resolve(!1)}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}verifyAuthentication(t,e){return this.isLoggedInPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.zs3),o.LFG(g),o.LFG(u.uw),o.LFG(c.gz),o.LFG(f.Ct))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(u.so))},t.\u0275cmp=o.Xpm({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(o.TgZ(0,"h2",0),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[u.xY],pipes:[d.X$],styles:[""]}),t})(),_=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=o,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=(0,l.kZ)();this.dialog.open(b,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return"/service-access"===location.pathname||sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(t=>{t()})):this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(m),o.LFG(g),o.LFG(r),o.LFG(n.Ct),o.LFG(u.uw),o.LFG(c.F0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var w=i(43691),A=i(30269);let y=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(w.jv),o.LFG(A.H7))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})();var v=i(29063),T=i(31225),C=i(66599);let E=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),S=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new o.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(d.sK))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),k=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=o}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const t=(0,l.kZ)();t.width="450px",this.dialog.open(p,t).afterClosed().subscribe(()=>{this.authService.startAuthentication()})}t=this.initAuthService.isServiceAccess()?t.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe((0,C.b)(t=>{t instanceof v.Zn&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?(0,T._)(e):n?void this.notificator.showRPCError(i):(0,T._)(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(m),o.LFG(E),o.LFG(S),o.LFG(g),o.LFG(u.uw),o.LFG(_))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var R=i(47727);let x=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),(0,T._)(s)}getHeaders(){let t=new v.WM;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new v.LE,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe((0,R.K)(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe((0,R.K)(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:o}).pipe((0,R.K)(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe((0,R.K)(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(v.eN),o.LFG(S),o.LFG(m),o.LFG(g))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),O=(()=>{class t{constructor(t){this.router=t,this.lastState="forward",this.history=new Set,t.events.subscribe(t=>{t instanceof c.OD&&("popstate"===t.navigationTrigger?this.history.has(t.restoredState.navigationId)?(this.lastState="back",this.history.delete(t.restoredState.navigationId)):(this.lastState="forward",this.history.add(t.id)):(this.history.add(t.id),this.lastState="forward"))})}forceNavigate(t,e){if(null===t)return;let i="";t.forEach(t=>i+="/"+t),i.length>0&&(i=i.substring(1)),void 0===e&&(e={}),e.queryParams={redirectTo:i},this.router.navigate(["redirect"],e)}getLastState(){return this.lastState}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(c.F0))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),P=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,o,r,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,r).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator{class t{constructor(t){this.membersService=t}getMembers(t,e,i,n,s,o,r,a,c,l){return this.membersService.getMembersPage({vo:t,attrNames:e,query:{pageSize:s,offset:n*s,order:i,sortColumn:o,statuses:r,searchString:a,groupId:c,groupStatuses:l}})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.uq))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var M=i(78512),L=i(40878),N=i(11520);class z{constructor(t,e){this.dynamicPaginatingService=t,this.authzService=e,this.membersSubject=new M.X([]),this.loadingSubject=new M.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allMemberCount=0,this.routeAuth=!0}loadMembers(t,e,i,n,s,o,r,a,c,l){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getMembers(t,e,i,n,s,o,r,a,c,l).pipe((0,R.K)(()=>(0,L.of)([])),(0,N.x)(()=>this.loadingSubject.next(!1))).subscribe(e=>{if(this.latestQueryTime<=u){const i=e.data;null!==i&&0!==i.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:t},i[0]])),this.allMemberCount=e.totalCount,this.membersSubject.next(e.data)}})}connect(){return this.membersSubject.asObservable()}disconnect(){this.membersSubject.complete(),this.loadingSubject.complete()}getData(){return this.membersSubject.value}}},67004:function(t,e,i){"use strict";i.d(e,{r:function(){return n}});let n=(()=>{class t{}return t.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",t.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",t.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",t.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",t.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",t.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",t.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",t.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",t.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",t.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",t.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",t.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",t.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",t.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",t.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",t.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",t.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",t.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",t.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",t.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",t.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",t})()},84140:function(t,e,i){"use strict";i.d(e,{dN:function(){return p},Je:function(){return u},f7:function(){return h.f7},l9:function(){return d.l},sF:function(){return h.sF},XI:function(){return h.XI},aC:function(){return h.aC},fx:function(){return h.fx},dv:function(){return h.dv},i5:function(){return h.i5},Sd:function(){return h.Sd},pR:function(){return h.pR},ys:function(){return h.ys},O6:function(){return h.O6},B2:function(){return h.B2},mH:function(){return h.mH},MX:function(){return h.MX},oU:function(){return h.oU},IL:function(){return h.IL},Jc:function(){return h.Jc},Xn:function(){return h.Xn},kZ:function(){return h.kZ},v$:function(){return h.v$},x2:function(){return h.x2},vL:function(){return h.vL},Hm:function(){return h.Hm},Cz:function(){return h.Cz},sG:function(){return h.sG},g$:function(){return h.g$},bD:function(){return h.bD},lt:function(){return h.lt},Oe:function(){return h.Oe},hu:function(){return h.hu},Gw:function(){return h.Gw},te:function(){return h.te},kN:function(){return h.kN},$0:function(){return h.$0},OV:function(){return h.OV}});var n=i(73005),s=i(8055),o=i(43691),r=i(15980),a=i(48160),c=i(61511),l=i(31572);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[],imports:[[n.TU,s.Tx,o.Ps,r.ot,a.aw,c.ez]]}),t})();var h=i(38457),d=i(82819);class p{static passwordMatchValidator(t){t.get("passwordCtrl").value!==t.get("passwordAgainCtrl").value&&t.get("passwordAgainCtrl").setErrors({noPasswordMatch:!0})}static patternValidator(t){return e=>{if(!e.value)return null;let i=0;for(const n of t)i+=n.test(e.value)?1:0;return i>=3?null:{isWeak:!0}}}}},38457:function(t,e,i){"use strict";i.d(e,{f7:function(){return a},B2:function(){return c},g$:function(){return l},kN:function(){return u},$0:function(){return h},lt:function(){return d},bD:function(){return p},hu:function(){return g},Cz:function(){return f},te:function(){return m},ys:function(){return b},vL:function(){return _},sF:function(){return w},XI:function(){return A},OV:function(){return y},MX:function(){return v},oU:function(){return T},IL:function(){return C},Jc:function(){return E},v$:function(){return S},i5:function(){return k},kZ:function(){return I},dv:function(){return R},Hm:function(){return x},Oe:function(){return O},Gw:function(){return P},x2:function(){return D},sG:function(){return M},pR:function(){return N},Sd:function(){return z},Xn:function(){return Z},O6:function(){return B},aC:function(){return q},fx:function(){return F},mH:function(){return U}});var n=i(64762),s=i(84608),o=i(61511),r=i(82051);const a=[5,10,25,100],c=/^(([^<>+()[\]\\.,;:\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 l(t){let e="";return t&&null!==t.userAttributes&&(t.userAttributes.forEach(t=>{"preferredMail"===t.friendlyName&&(e=t.value)}),e&&0===e.length&&null!==t.memberAttributes&&t.memberAttributes.forEach(t=>{"mail"===t.friendlyName&&null!==t.value&&(e=t.value)})),e}function u(t){let e="";return t&&t.userAttributes.forEach(t=>{"preferredMail"===t.friendlyName&&(e=t.value)}),e}function h(t){let e="";return t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>null!==t.value).forEach(t=>{e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function d(t){let e="";return t&&t.userAttributes&&t.userAttributes.filter(t=>"login-namespace"===t.baseFriendlyName).filter(t=>null!==t.value).forEach(t=>{e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function p(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function g(t){let e="";return null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function f(t){let e="";return t.split(/(?=[A-Z])/g).forEach(t=>{e=e.concat(t.toLowerCase()),e=e.concat(" ")}),e=e.charAt(0).toUpperCase()+e.slice(1,e.length-1),e}function m(t){let e="";for(const i of t)"technical"===i.type&&(e+=i.name+", ");return e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function b(t,e){return(0,n.mG)(this,void 0,void 0,function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()})}function _(t){return JSON.parse(localStorage.getItem(t))||[]}function w(t,e){if(null===localStorage.getItem(t)){const i=[];i.unshift(e.id),localStorage.setItem(t,JSON.stringify(i))}else{const i=JSON.parse(localStorage.getItem(t)),n=function(t,e){for(let i=0;i0&&i.splice(n,1),0!==n&&i.unshift(e.id),i.length>5&&i.pop(),localStorage.setItem(t,JSON.stringify(i))}}function A(t,e){if(null===localStorage.getItem("recent")){let i;i="Group"===t.beanName?[{id:t.id,name:t.shortName,fullName:t.name,type:t.beanName,voId:t.voId,voName:e}]:[{id:t.id,name:t.name,type:t.beanName,voId:t.voId}],localStorage.setItem("recent",JSON.stringify(i))}else{const i=JSON.parse(localStorage.getItem("recent"));let n;n="Group"===t.beanName?{id:t.id,name:t.shortName,fullName:t.name,type:t.beanName,voId:t.voId,voName:e}:{id:t.id,name:t.name,type:t.beanName,voId:t.voId};const s=function(t,e){for(let i=0;i0&&i.splice(s,1),0!==s&&i.unshift(n),i.length>5&&i.pop(),localStorage.setItem("recent",JSON.stringify(i))}}function y(t){let e="";return t&&t.userAttributes.forEach(t=>{"organization"===t.friendlyName&&(e=t.value)}),e}function v(t){return t.filter(t=>!t.namespace.includes("def:core"))}function T(t,e){const i=e.find(e=>e.id===t);return i?i.parentGroupId?T(i.parentGroupId,e).concat(i):[i]:[]}function C(t,e){for(const i of t)if(i.namespace+":"+i.friendlyName===e)return i;return null}function E(t){return null!=t.attributes["urn:perun:member:attribute-def:def:mail"]?t.attributes["urn:perun:member:attribute-def:def:mail"]:null!=t.attributes["urn:perun:user:attribute-def:def:preferredMail"]?t.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function S(t){return t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function(t){if(t.includes("/CN=")){const i=t.split("/");for(const t in i)if(t.startsWith("CN="))return e=t.substring(3),decodeURIComponent(e.replace(/\\x/g,"%"))}var e;return t}(t.userExtSource.extSource.name):t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function(t){switch(t){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":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":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"@mojeid.extidp.cesnet.cz":return"MojeID";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@elixir-europe.org":return"Elixir Europe";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return t}}(t.userExtSource.extSource.name):t.userExtSource.extSource.name}function k(t=["en","cs"]){const e={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return t.forEach(t=>{e.message[t]={locale:t,subject:"",text:""}}),e}function I(){const t=new s.vA;return t.disableClose=!0,t.autoFocus=!1,t}function R(t){const e={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 i of t)e.i18n[i]={locale:i,errorMessage:"",help:"",label:"",options:""};return e}function x(t){return"virt"===t.namespace.split(":")[4]}function O(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?t:"ACTIVE"}function P(t){let e="";return t&&null!==t.memberAttributes&&(t.memberAttributes.forEach(t=>{"organization"===t.friendlyName&&null!==t.value&&(e=t.value)}),0===e.length&&null!==t.userAttributes&&t.userAttributes.forEach(t=>{"organization"===t.friendlyName&&(e=t.value)})),e}function D(t){const e=t.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return e&&e.value?e.value:"Never"}function M(t){return t&&"never"!==t.toLowerCase()?(0,o.p6)(t,"d.M.yyyy","en"):t}const L=new Intl.Collator("cs",{numeric:!0});function N(t,e,i,n){const s=e.active,o=e.direction;return s&&""!==o?t.sort((t,e)=>{const r=i(t,s,n),a=i(e,s,n);return L.compare(r,a)*("asc"===o?1:-1)}):t}function z(t,e,i,n,s,o){e=e.toLowerCase();let r="";return i.forEach(e=>{r+=";"+n(t,e,s)}),o&&(r+=";"+n(t,"uuid",s)),-1!==r.toLowerCase().indexOf(e)}function Z(t,e,i,n){const s=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!o.includes(t)),t.forEach(t=>{const o={};e.forEach(e=>{var s;o[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(o)}),s}function B(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),o=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));o.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const a=o.join("\r\n"),c=new Blob([a],{type:"text/csv"});(0,r.saveAs)(c,`${i}.${e}`)}}}function q(t,e){return t.name.toLowerCase()>e.name.toLowerCase()?1:t.name.toLowerCase()===e.name.toLowerCase()?0:-1}function F(t,e){var i,n,s,o;let r,a;return t.user?(r=t.user.lastName?t.user.lastName:null!==(i=t.user.firstName)&&void 0!==i?i:"",a=e.user.lastName?e.user.lastName:null!==(n=e.user.firstName)&&void 0!==n?n:""):(r=t.lastName?t.lastName:null!==(s=t.firstName)&&void 0!==s?s:"",a=e.lastName?e.lastName:null!==(o=e.firstName)&&void 0!==o?o:""),r>a?1:r===a?0:-1}function U(t,e,i=[]){t.enable(),t.clearValidators(),t.clearAsyncValidators(),t.setValidators(e),t.setAsyncValidators(i),t.updateValueAndValidity()}},82819:function(t,e,i){"use strict";i.d(e,{l:function(){return g}});var n=i(31572),s=i(73005),o=i(38457),r=i(61511),a=i(15980),c=i(8055),l=i(43691),u=i(48160);let h=(()=>{class t{constructor(){this.exportData=new n.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"button",1),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,2),n.TgZ(6,"button",3),n._uU(7),n.ALo(8,"translate"),n.qZA(),n.qZA(),n.TgZ(9,"mat-menu",null,4),n.TgZ(11,"button",5),n.NdJ("click",function(){return e.exportData.emit("csv")}),n._uU(12,"Csv"),n.qZA(),n.qZA(),n.qZA()),2&t){const t=n.MAs(5),e=n.MAs(10);n.xp6(1),n.Q6J("matMenuTriggerFor",t),n.xp6(5),n.Q6J("matMenuTriggerFor",e),n.xp6(1),n.hij(" ",n.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[a.lW,c.p6,l.Hw,c.VK,c.OP],pipes:[u.X$],styles:[""]}),t})();function d(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"perun-web-apps-table-options",6),n.NdJ("exportData",function(e){return n.CHM(t),n.oxw().exportData.emit(e)}),n.qZA()}}const p=["*"];let g=(()=>{class t{constructor(){this.hideExport=!1,this.page=new n.vpe,this.pageSizeOptions=o.f7,this.pageSize=5,this.dataLength=0,this.exportData=new n.vpe}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&n.Gf(s.NW,7),2&t){let t;n.iGM(t=n.CRH())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:p,decls:7,vars:8,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(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"mat-paginator",2),n.NdJ("page",function(t){return e.page.emit(t)}),n.qZA(),n.YNc(3,d,1,0,"perun-web-apps-table-options",3),n.qZA(),n.TgZ(4,"div",4),n.Hsn(5),n.qZA(),n.TgZ(6,"mat-paginator",5),n.NdJ("page",function(t){return e.pageChanged(t)}),n.qZA(),n.qZA()),2&t&&(n.xp6(2),n.Q6J("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",!e.hideExport),n.xp6(3),n.Q6J("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[s.NW,r.O5,h],styles:[""]}),t})()},39571:function(t,e,i){"use strict";i.d(e,{w:function(){return c}});var n=i(31572),s=i(61511),o=i(43691);function r(t,e){1&t&&(n.TgZ(0,"mat-icon",2),n._uU(1," error "),n.qZA())}const a=["*"];let c=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:a,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,r,2,0,"mat-icon",1),n.Hsn(2),n.qZA()),2&t&&(n.ekj("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),n.xp6(1),n.Q6J("ngIf","error"!==e.alert_type))},directives:[s.O5,o.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})()},22727:function(t,e,i){"use strict";i.d(e,{r:function(){return r}});var n=i(43691),s=i(61511),o=i(31572);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.Ps,s.ez]]}),t})()},10709:function(t,e,i){"use strict";i.d(e,{l3:function(){return o},_j:function(){return n},LC:function(){return s},ZN:function(){return b},jt:function(){return a},pV:function(){return g},ru:function(){return c},F4:function(){return d},IO:function(){return f},vP:function(){return l},SB:function(){return h},oB:function(){return u},eR:function(){return p},X$:function(){return r},ZE:function(){return _},k1:function(){return w}});class n{}class s{}const o="*";function r(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:3,steps:t,options:e}}function l(t,e=null){return{type:2,steps:t,options:e}}function u(t){return{type:6,styles:t,offset:null}}function h(t,e,i){return{type:0,name:t,styles:e,options:i}}function d(t){return{type:5,steps:t}}function p(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function g(t=null){return{type:9,options:t}}function f(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function m(t){Promise.resolve(null).then(t)}class b{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const w="!"},24621:function(t,e,i){"use strict";i.d(e,{rt:function(){return j},s1:function(){return E},$s:function(){return y},Qr:function(){return N},kH:function(){return H},mK:function(){return P},Em:function(){return S},tE:function(){return F},qV:function(){return O},qm:function(){return G},Kd:function(){return L},X6:function(){return z},yG:function(){return Z}});var n=i(61511),s=i(31572),o=i(55959),r=i(87570),a=i(40878),c=i(75842),l=i(66599),u=i(47701),h=i(43835),d=i(79996),p=i(90611),g=i(19861),f=i(11353),m=i(36337);function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let _=0;const w=new Map;let A=null,y=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=v(e,i);"string"!=typeof e?(T(e),w.set(n,{messageElement:e,referenceCount:0})):w.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=v(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=w.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}A&&0===A.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=w.get(e);!function(t,e,i){const n=b(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(t,e){const i=w.get(e);i.referenceCount--,function(t,e,i){const n=b(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const i=b(t,"aria-describedby"),n=w.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();function v(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function T(t){t.id||(t.id="cdk-describedby-message-"+_++)}class C{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.xQ,this._typeaheadSubscription=r.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new o.xQ,this.change=new o.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,l.b)(t=>this._pressedLetters.push(t)),(0,u.b)(t),(0,h.h)(()=>this._pressedLetters.length>0),(0,d.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,c.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.A&&e<=c.Z||e>=c.xE&&e<=c.aO)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class E extends C{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class S extends C{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let k=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===R(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=R(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||I(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(f.t4))},token:t,providedIn:"root"}),t})();function I(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function R(t){if(!I(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class x{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(t)}}let O=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new x(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(k),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,g.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,g.Ig)(t)}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(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,f.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(O),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();"undefined"!=typeof Element&∈const D=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),M=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let L=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,i,n){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=i,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(L),s.Y36(m.yq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function z(t){return 0===t.buttons}function Z(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const B=new s.OlP("cdk-focus-monitor-default-options"),q=(0,f.i$)({passive:!0,capture:!0});let F=(()=>{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=z(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{Z(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=U(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=U(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=(0,g.fI)(t);if(!this._platform.isBrowser||1!==i.nodeType)return(0,a.of)(null);const n=(0,f.kV)(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const r={checkChildren:e,subject:new o.xQ,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=(0,g.fI)(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=(0,g.fI)(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=U(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===U(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,q),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,q)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,q),t.addEventListener("mousedown",this._documentMousedownListener,q),t.addEventListener("touchstart",this._documentTouchstartListener,q),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,q),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,q),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,q),t.removeEventListener("mousedown",this._documentMousedownListener,q),t.removeEventListener("touchstart",this._documentTouchstartListener,q),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(f.t4),s.LFG(n.K0,8),s.LFG(B,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(f.t4),s.LFG(n.K0,8),s.LFG(B,8))},token:t,providedIn:"root"}),t})();function U(t){return t.composedPath?t.composedPath()[0]:t.target}let H=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(F))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),G=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f.t4),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(f.t4),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),j=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(G))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[f.ud,m.Q8]]}),t})()},22526:function(t,e,i){"use strict";i.d(e,{vT:function(){return a},Is:function(){return r}});var n=i(31572),s=i(61511);const o=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.f3M)(s.K0)}});let r=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new n.vpe,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(o,8))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(o,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},81391:function(t,e,i){"use strict";i.d(e,{i3:function(){return c},TU:function(){return r},Iq:function(){return l}});var n=i(61511),s=i(31572);class o{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}copy(){const t=this._textarea;let e=!1;try{if(t){const i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(i){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let r=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),i=e.copy();return e.destroy(),i}beginCopy(t){return new o(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();const a=new s.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let c=(()=>{class t{constructor(t,e,i){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new s.vpe,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}copy(t=this.attempts){if(t>1){let e=t;const i=this._clipboard.beginCopy(this.text);this._pending.add(i);const n=()=>{const t=i.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(n,1))};n()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(r),s.Y36(s.R0b),s.Y36(a,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})()},19861:function(t,e,i){"use strict";i.d(e,{t6:function(){return r},Eq:function(){return a},Ig:function(){return s},HM:function(){return c},fI:function(){return l},su:function(){return o},du:function(){return u}});var n=i(31572);function s(t){return null!=t&&"false"!=`${t}`}function o(t,e=0){return r(t)?Number(t):e}function r(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function c(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof n.SBq?t.nativeElement:t}function u(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}},4230:function(t,e,i){"use strict";i.d(e,{P3:function(){return l},o2:function(){return a},Ov:function(){return d},A8:function(){return p},yy:function(){return u},eX:function(){return h},k:function(){return g},Z9:function(){return c}});var n=i(4710),s=i(40878),o=i(55959),r=i(31572);class a{}function c(t){return t&&"function"==typeof t.connect}class l extends a{constructor(t){super(),this._data=t}connect(){return(0,n.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class u{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,o)=>{let r,a;if(null==t.previousIndex){const s=i(t,n,o);r=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==o?(e.remove(n),a=3):(r=e.get(n),e.move(r,o),a=2);s&&s({context:null==r?void 0:r.context,operation:a,record:t})})}detach(){}}class h{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,i,n,s){t.forEachOperation((t,o,r)=>{let a,c;null==t.previousIndex?(a=this._insertView(()=>i(t,o,r),r,e,n(t)),c=a?1:0):null==r?(this._detachAndCacheView(o,e),c=3):(a=this._moveView(o,r,e,n(t)),c=2),s&&s({context:null==a?void 0:a.context,operation:c,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,i,n){const s=this._insertViewFromCache(e,i);if(s)return void(s.context.$implicit=n);const o=t();return i.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(t,e){const i=e.detach(t);this._maybeCacheView(i,e)}_moveView(t,e,i,n){const s=i.get(t);return i.move(s,e),s.context.$implicit=n,s}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let p=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const g=new r.OlP("_ViewRepeater")},88975:function(t,e,i){"use strict";i.d(e,{Zt:function(){return pt},Wj:function(){return lt},_t:function(){return ft},bA:function(){return Y}});var n=i(31572),s=i(61511),o=i(4253),r=i(11353),a=i(19861),c=i(55959),l=i(87570),u=i(38289),h=i(91741),d=i(48318),p=i(31906),g=i(25416),f=i(56238),m=i(79996),b=i(90611),_=i(66599),w=i(44689),A=i(22526);function y(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function v(t,e){const i=e?"":"none";y(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function T(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function C(t,e){return e?t+" "+e:t}function E(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function S(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function k(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function I(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function R(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function x(t,e,i,n){const{top:s,right:o,bottom:r,left:a,width:c,height:l}=t,u=c*e,h=l*e;return n>s-h&&na-u&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:k(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let o,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,r=t.left}else o=e.scrollTop,r=e.scrollLeft;const a=s.top-o,c=s.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&R(t.clientRect,a,c)}),s.top=o,s.left=r,{top:a,left:c}}}function P(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new O(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=(0,a.Ig)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>v(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>(0,a.fI)(t)),this._handles.forEach(t=>v(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=(0,a.fI)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Z),e.addEventListener("touchstart",this._pointerDown,z)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?(0,a.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&U(this._rootElement),U(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),v(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),v(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&U(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&U(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){H(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),T(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,o).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=H(e),s=!n&&0!==e.button,o=this._rootElement,r=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=k(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){T(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=G(s,this._document),this._previewRef=s,t.matchSize?j(n,e):n.style.transform=q(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=P(t),j(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return y(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),v(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=S(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),o=S(e,"transition-duration"),r=S(e,"transition-delay");return E(o[s])+E(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=G(this._placeholderRef,this._document)):i=P(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,o=H(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-r.left),y:s.top-i.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=H(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+e,a=s.bottom-(o.height-e);i=F(i,s.left+t,s.right-(o.width-t)),n=F(n,r,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),r=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),r>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,v(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Z),t.removeEventListener("touchstart",this._pointerDown,z)}_applyRootElementTransform(t,e){const i=q(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=C(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=q(t,e);this._preview.style.transform=C(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,o=n.right-i.right,r=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>n.height?(r>0&&(e+=r),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:H(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&R(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,r.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return(0,a.fI)(i)}}function q(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function F(t,e,i){return Math.max(e,Math.min(i,t))}function U(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t){return"t"===t.type[0]}function G(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function j(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=q(e.left,e.top)}function Y(t,e,i){const n=K(e,t.length-1),s=K(i,t.length-1);if(n===s)return;const o=t[n],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new c.xQ,this.entered=new c.xQ,this.exited=new c.xQ,this.dropped=new c.xQ,this.sorted=new c.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=l.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new c.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,u.F)(0,h.r).pipe((0,g.R)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?J(t,-e):2===this._verticalScrollDirection&&J(t,e),1===this._horizontalScrollDirection?Q(t,-e):2===this._horizontalScrollDirection&&Q(t,e)})},this.element=(0,a.fI)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new O(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const o=this._activeDraggables,r=o.indexOf(t),c=t.getPlaceholderElement();let l=o[s];if(l===t&&(l=o[s+1]),r>-1&&o.splice(r,1),l&&!this._dragDropRegistry.isDragging(l)){const e=l.getRootElement();e.parentElement.insertBefore(c,e),o.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=o[0].getRootElement();e.parentNode.insertBefore(c,e),o.unshift(t)}else(0,a.fI)(this.element).appendChild(c),o.push(t);c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,o,r){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:r})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=(0,a.fI)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?$("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!x(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=$(s,e=>e.drag===t),c=s[o],l=c.clientRect,u=a>o?1:-1,h=this._getItemOffsetPx(s[a].clientRect,l,u),d=this._getSiblingOffsetPx(a,s,u),p=s.slice();Y(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:t}),s.forEach((e,i)=>{if(p[i]===e)return;const n=e.drag===t,s=n?h:d,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=C(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),R(e.clientRect,0,s)):(o.style.transform=C(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),R(e.clientRect,s,0))}),this._previousSwap.overlaps=I(l,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=r?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!i&&x(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=W(e,n),o=X(e,i);let r=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,t,e),(n||s)&&(i=r))}),!n&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};n=W(a,e),s=X(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=(0,a.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=(0,a.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:k(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=(0,a.fI)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let r=s[n?"width":"height"]*i;if(o){const t=n?"left":"top",e=n?"right":"bottom";-1===i?r-=o.clientRect[t]-s[e]:r+=s[t]-o.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,o=$(this._itemPositions,({drag:o,clientRect:r},a,c)=>{if(o===t)return c.length<2;if(n){const t=s?n.x:n.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!I(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=(0,a.fI)(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{R(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 t=(0,r.kV)((0,a.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function $(t,e){for(let i=0;i=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function X(t,e){const{left:i,right:n,width:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}const tt=(0,r.i$)({passive:!1,capture:!0});let et=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new c.xQ,this.pointerUp=new c.xQ,this.scroll=new c.xQ,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,tt)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,tt)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:tt}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:tt}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.R0b),n.LFG(s.K0))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(n.R0b),n.LFG(s.K0))},token:t,providedIn:"root"}),t})();const it={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let nt=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=it){return new B(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new V(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(s.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(et))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(s.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(et))},token:t,providedIn:"root"}),t})();const st=new n.OlP("CDK_DRAG_PARENT"),ot=new n.OlP("CdkDropListGroup"),rt=new n.OlP("CDK_DRAG_CONFIG");let at=0;const ct=new n.OlP("CdkDropList");let lt=(()=>{class t{constructor(e,i,s,o,r,a,l){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=o,this._dir=r,this._group=a,this._destroyed=new c.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+at++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.sorted=new n.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,i)=>this.sortPredicate(t,e.data,i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),a&&a._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=(0,a.Ig)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._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((0,f.O)(this._dir.value),(0,g.R)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=(0,a.Eq)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===i.indexOf(t)&&i.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=(0,a.Ig)(this.sortingDisabled),e.autoScrollDisabled=(0,a.Ig)(this.autoScrollDisabled),e.autoScrollStep=(0,a.su)(this.autoScrollStep,2),e.connectedTo(i.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.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(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:s,listOrientation:o}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=s&&s,this.orientation=o||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(nt),n.Y36(n.sBO),n.Y36(o.mF),n.Y36(A.Is,8),n.Y36(ot,12),n.Y36(rt,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(n.uIk("id",e.id),n.ekj("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n._Bn([{provide:ot,useValue:void 0},{provide:ct,useExisting:t}])]}),t._dropLists=[],t})();const ut=new n.OlP("CdkDragHandle"),ht=new n.OlP("CdkDragPlaceholder"),dt=new n.OlP("CdkDragPreview");let pt=(()=>{class t{constructor(e,i,s,o,r,a,l,u,h,p,g){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=r,this._dir=l,this._changeDetectorRef=h,this._selfHandle=p,this._parentDrag=g,this._destroyed=new c.xQ,this.started=new n.vpe,this.released=new n.vpe,this.ended=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.dropped=new n.vpe,this.moved=new d.y(t=>{const e=this._dragRef.moved.pipe((0,m.U)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=u.createDrag(e,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),a&&this._assignDefaults(a),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=(0,a.Ig)(t),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.onStable.pipe((0,b.q)(1),(0,g.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe((0,f.O)(this._handles),(0,_.b)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),(0,w.w)(t=>(0,p.T)(...t.map(t=>t._stateChanges.pipe((0,f.O)(t))))),(0,g.R)(this._destroyed)).subscribe(t=>{const e=this._dragRef,i=t.element.nativeElement;t.disabled?e.disableHandle(i):e.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?gt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?gt(this.element.nativeElement,t):(0,a.fI)(t):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=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 i&&i?i:(0,a.su)(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,b.q)(1)).subscribe(()=>{var i,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(i=s.classList)||void 0===i?void 0:i.contains("cdk-drag")){e.withParent((null===(n=t._dragInstances.find(t=>t.element.nativeElement===s))||void 0===n?void 0:n._dragRef)||null);break}s=s.parentElement}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.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(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a,previewContainer:c}=t;this.disabled=null!=r&&r,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),s&&(this.previewClass=s),o&&(this.boundaryElement=o),a&&(this.rootElementSelector=a),c&&(this.previewContainer=c)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(ct,12),n.Y36(s.K0),n.Y36(n.R0b),n.Y36(n.s_b),n.Y36(rt,8),n.Y36(A.Is,8),n.Y36(nt),n.Y36(n.sBO),n.Y36(ut,10),n.Y36(st,12))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){if(1&t&&(n.Suo(i,dt,5),n.Suo(i,ht,5),n.Suo(i,ut,5)),2&t){let t;n.iGM(t=n.CRH())&&(e._previewTemplate=t.first),n.iGM(t=n.CRH())&&(e._placeholderTemplate=t.first),n.iGM(t=n.CRH())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&n.ekj("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n._Bn([{provide:st,useExisting:t}]),n.TTD]}),t._dragInstances=[],t})();function gt(t,e){let i=t.parentElement;for(;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}let ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[nt],imports:[o.ZD]}),t})()},75842:function(t,e,i){"use strict";i.d(e,{A:function(){return w},ZH:function(){return n},OC:function(){return y},yY:function(){return m},JH:function(){return f},uR:function(){return u},K5:function(){return o},hY:function(){return r},Sd:function(){return h},oh:function(){return d},aO:function(){return _},VM:function(){return l},Ku:function(){return c},SV:function(){return g},L_:function(){return a},Mf:function(){return s},LH:function(){return p},Z:function(){return A},xE:function(){return b},Vb:function(){return v}});const n=8,s=9,o=13,r=27,a=32,c=33,l=34,u=35,h=36,d=37,p=38,g=39,f=40,m=46,b=48,_=57,w=65,A=90,y=188;function v(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},36337:function(t,e,i){"use strict";i.d(e,{wD:function(){return u},yq:function(){return l},Q8:function(){return h}});var n=i(19861),s=i(31572),o=i(48318),r=i(55959),a=i(47701);let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,n.fI)(t);return new o.y(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new r.xQ,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(c))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,n.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,n.su)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(l),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[c]}),t})()},2522:function(t,e,i){"use strict";i.d(e,{pI:function(){return $},xu:function(){return V},_G:function(){return z},aV:function(){return j},X_:function(){return k},Xj:function(){return M},U8:function(){return Q}});var n=i(4253),s=i(31572),o=i(11353),r=i(22526),a=i(61511),c=i(19861),l=i(26899),u=i(55959),h=i(87570),d=i(31906),p=i(96673);class g{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new f(t,this.predicate,this.inclusive))}}class f extends p.L{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}var m=i(90611),b=i(25416),_=i(75842);const w=(0,o.Mq)();class A{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,c.HM)(-this._previousScrollPosition.left),t.style.top=(0,c.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),w&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class y{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function T(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function C(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class E{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();T(t,[{width:e,height:i,bottom:i,right:e,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 S=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new v,this.close=t=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new A(this._viewportRuler,this._document),this.reposition=t=>new E(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.mF),s.LFG(n.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.mF),s.LFG(n.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class k{constructor(t){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class I{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class R{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let x=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),O=(()=>{class t extends x{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t extends x{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(o.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(o.t4))},token:t,providedIn:"root"}),t})();const D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let M=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,c.HM)(this._config.width),t.height=(0,c.HM)(this._config.height),t.minWidth=(0,c.HM)(this._config.minWidth),t.minHeight=(0,c.HM)(this._config.minHeight),t.maxWidth=(0,c.HM)(this._config.maxWidth),t.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;(0,c.Eq)(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,b.R)((0,d.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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const N=/([A-Za-z%]+)$/;class z{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(t,o),a=this._getOverlayPoint(r,e,o),c=this._getOverlayFit(a,e,i,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:o,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=q(e);let{x:o,y:r}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(o+=a),c&&(r+=c);let l=0-r,u=r+s.height-i.height,h=this._subtractOverflows(s.width,0-o,o+s.width-i.width),d=this._subtractOverflows(s.height,l,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,o=B(this._overlayRef.getConfig().minHeight),r=B(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=s;return(t.fitsInViewportVertically||null!=o&&o<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=q(e),s=this._viewportRect,o=Math.max(t.x+n.width-s.width,0),r=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let l=0,u=0;return l=n.width<=s.width?c||-o:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)l=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:o,left:c,bottom:r,right:l,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=(0,c.HM)(i.height),n.top=(0,c.HM)(i.top),n.bottom=(0,c.HM)(i.bottom),n.width=(0,c.HM)(i.width),n.left=(0,c.HM)(i.left),n.right=(0,c.HM)(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=(0,c.HM)(t)),s&&(n.maxWidth=(0,c.HM)(s))}this._lastBoundingBoxSize=i,Z(this._boundingBox.style,n)}_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(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Z(i,this._getExactOverlayY(e,t,n)),Z(i,this._getExactOverlayX(e,t,n))}else i.position="static";let r="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),l&&(r+=`translateY(${l}px)`),i.transform=r.trim(),o.maxHeight&&(n?i.maxHeight=(0,c.HM)(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=(0,c.HM)(o.maxWidth):s&&(i.maxWidth="")),Z(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=(0,c.HM)(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=(0,c.HM)(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:C(t,i),isOriginOutsideView:T(t,i),isOverlayClipped:C(e,i),isOverlayOutsideView:T(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,c.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function Z(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function B(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(N);return i&&"px"!==i?null:parseFloat(e)}return t||null}function q(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class F{constructor(t,e,i,n,s,o,r){this._preferredPositions=[],this._positionStrategy=new z(i,n,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new I(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class U{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:o,maxHeight:r}=i,a=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let H=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new U}connectedTo(t,e,i){return new F(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new z(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.rL),s.LFG(a.K0),s.LFG(o.t4),s.LFG(M))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.rL),s.LFG(a.K0),s.LFG(o.t4),s.LFG(M))},token:t,providedIn:"root"}),t})(),G=0,j=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new k(t);return s.direction=s.direction||this._directionality.value,new L(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+G++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new l.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(S),s.LFG(M),s.LFG(s._Vd),s.LFG(H),s.LFG(O),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(r.Is),s.LFG(a.Ye),s.LFG(P))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Y=[{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"}],K=new s.OlP("cdk-connected-overlay-scroll-strategy");let V=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),$=(()=>{class t{constructor(t,e,i,n,o){this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new l.UE(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,c.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,c.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,c.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,c.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,c.Ig)(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==_.hY||this.disableClose||(0,_.Vb)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new k({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new g(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(j),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(K),s.Y36(r.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const J={provide:K,deps:[j],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[j,J],imports:[[r.vT,l.eL,n.Cl],n.Cl]}),t})()},11353:function(t,e,i){"use strict";i.d(e,{t4:function(){return a},ud:function(){return c},ht:function(){return w},kV:function(){return _},_i:function(){return b},qK:function(){return u},i$:function(){return f},Mq:function(){return m}});var n=i(31572),s=i(61511);let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(A){o=!1}let r,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.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&&!o)&&"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 t.\u0275fac=function(e){return new(e||t)(n.LFG(n.Lbi))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(n.Lbi))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const l=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(r)return r;if("object"!=typeof document||!document)return r=new Set(l),r;let t=document.createElement("input");return r=new Set(l.filter(e=>(t.setAttribute("type",e),t.type===e))),r}let h,d,p,g;function f(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function m(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function b(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function _(t){if(function(){if(null==g){const t="undefined"!=typeof document?document.head:null;g=!(!t||!t.createShadowRoot&&!t.attachShadow)}return g}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function w(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},26899:function(t,e,i){"use strict";i.d(e,{en:function(){return l},ig:function(){return d},Pl:function(){return p},C5:function(){return r},F0:function(){return h},u0:function(){return u},eL:function(){return g},UE:function(){return a}});var n=i(31572),s=i(61511);class o{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class r extends o{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class a extends o{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class c extends o{constructor(t){super(),this.element=t instanceof n.SBq?t.nativeElement:t}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof r?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends l{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class h extends u{}let d=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Rgc),n.Y36(n.s_b))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]}),t})(),p=(()=>{class t extends l{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(s.K0))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},4253:function(t,e,i){"use strict";i.d(e,{xd:function(){return P},PQ:function(){return M},ZD:function(){return q},x0:function(){return B},N7:function(){return z},mF:function(){return D},Cl:function(){return F},rL:function(){return L}});var n=i(19861),s=i(31572),o=i(55959),r=i(40878),a=i(48318),c=i(87254),l=i(91741),u=i(92709),h=i(87570),d=i(4710),p=i(96673);class g{call(t,e){return e.subscribe(new f(t))}}class f extends p.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}var m=i(98720),b=i(30810),_=i(43835),w=i(25416),A=i(56238),y=i(44689),v=i(68303),T=i(11353),C=i(61511),E=i(22526),S=i(4230);const k=["contentWrapper"],I=["*"],R=new s.OlP("VIRTUAL_SCROLL_STRATEGY");class x{constructor(t,e,i){this._scrolledIndexChange=new o.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,m.x)()),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,i){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},i=this._viewport.getViewportSize(),n=this._viewport.getDataLength();let s=this._viewport.measureScrollOffset(),o=this._itemSize>0?s/this._itemSize:0;if(e.end>n){const t=Math.ceil(i/this._itemSize),r=Math.max(0,Math.min(o,n-t));o!=r&&(o=r,s=r*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(n,e.start+t))}const r=s-e.start*this._itemSize;if(r0&&(e.end=Math.min(n,e.end+i),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}}function O(t){return t._scrollStrategy}let P=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new x(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=(0,n.su)(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=(0,n.su)(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=(0,n.su)(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[s._Bn([{provide:R,useFactory:O,deps:[(0,s.Gpc)(()=>t)]}]),s.TTD]}),t})(),D=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new o.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe((0,b.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,r.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,_.h)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=(0,n.fI)(e),s=t.getElementRef().nativeElement;do{if(i==s)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,c.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(T.t4),s.LFG(C.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(T.t4),s.LFG(C.K0,8))},token:t,providedIn:"root"}),t})(),M=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new o.xQ,this._elementScrolled=new a.y(t=>this.ngZone.runOutsideAngular(()=>(0,c.R)(this.elementRef.nativeElement,"scroll").pipe((0,w.R)(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=(0,T._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,T._i)()?t.left=t.right:1==(0,T._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;(0,T.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==(0,T._i)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==(0,T._i)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(D),s.Y36(s.R0b),s.Y36(E.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),L=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new o.xQ,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,b.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(C.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(C.K0,8))},token:t,providedIn:"root"}),t})();const N="undefined"!=typeof requestAnimationFrame?l.r:u.e;let z=(()=>{class t extends M{constructor(t,e,i,n,s,r,c){super(t,r,i,s),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=n,this._detachedSubject=new o.xQ,this._renderedRangeSubject=new o.xQ,this._orientation="vertical",this.scrolledIndexChange=new a.y(t=>this._scrollStrategy.scrolledIndexChange.subscribe(e=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(e))))),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=h.w.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,A.O)(null),(0,b.e)(0,N)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe((0,w.R)(this._detachedSubject)).subscribe(t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,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(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){var e,i;((e=this._renderedRange).start!=(i=t).start||e.end!=i.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const i="horizontal"==this.orientation,n=i?"X":"Y";let s=`translate${n}(${Number((i&&this.dir&&"rtl"==this.dir.value?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(s+=` translate${n}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,e="auto"){const i={behavior:e};"horizontal"===this.orientation?i.start=t:i.top=t,this.scrollTo(i)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return super.measureScrollOffset(t||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),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 t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(R,8),s.Y36(E.Is,8),s.Y36(D),s.Y36(L))},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){if(1&t&&s.Gf(k,7),2&t){let t;s.iGM(t=s.CRH())&&(e._contentWrapper=t.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[s._Bn([{provide:M,useExisting:t}]),s.qOj],ngContentSelectors:I,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&t&&(s.xp6(3),s.Udp("width",e._totalContentWidth)("height",e._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}),t})();function Z(t,e,i){if(!i.getBoundingClientRect)return 0;const n=i.getBoundingClientRect();return"horizontal"===t?"start"===e?n.left:n.right:"start"===e?n.top:n.bottom}let B=(()=>{class t{constructor(t,e,i,n,s,r){this._viewContainerRef=t,this._template=e,this._differs=i,this._viewRepeater=n,this._viewport=s,this.viewChange=new o.xQ,this._dataSourceChanges=new o.xQ,this.dataStream=this._dataSourceChanges.pipe((0,A.O)(null),t=>t.lift(new g),(0,y.w)(([t,e])=>this._changeDataSource(t,e)),(0,v.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.xQ,this.dataStream.subscribe(t=>{this._data=t,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,w.R)(this._destroyed)).subscribe(t=>{this._renderedRange=t,r.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,(0,S.Z9)(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new S.P3((0,d.b)(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,i)=>t(e+(this._renderedRange?this._renderedRange.start:0),i):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=(0,n.su)(t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;const i=t.start-this._renderedRange.start,n=t.end-t.start;let s,o;for(let r=0;r-1;r--){const t=this._viewContainerRef.get(r+i);if(t&&t.rootNodes.length){o=t.rootNodes[t.rootNodes.length-1];break}}return s&&o?Z(e,"end",o)-Z(e,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):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((t,e)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,e):e)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):(0,r.of)()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){const i=this._viewContainerRef.get(e);i.context.index=this._renderedRange.start+e,i.context.count=t,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(t,e,i)=>this._getEmbeddedViewArgs(t,i),t=>t.item),t.forEachIdentityChange(t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});const e=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const t=this._viewContainerRef.get(i);t.context.index=this._renderedRange.start+i,t.context.count=e,this._updateComputedContextProperties(t.context)}}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_getEmbeddedViewArgs(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(S.k),s.Y36(z,4),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[s._Bn([{provide:S.k,useClass:S.eX}])]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[E.vT,T.ud,q],E.vT,q]}),t})()},10901:function(t,e,i){"use strict";i.d(e,{Lq:function(){return p},IC:function(){return g},Ky:function(){return f}});var n=i(11353),s=i(31572),o=i(19861),r=i(70653),a=i(55959),c=i(87254),l=i(30810),u=i(25416),h=i(61511);const d=(0,n.i$)({passive:!0});let p=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return r.E;const e=(0,o.fI)(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,d),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",c,d)}}),n}stopMonitoring(t){const e=(0,o.fI)(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new a.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=(0,o.su)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=(0,o.su)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=(0,o.Ig)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(t){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=t,this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();(0,c.R)(t,"resize").pipe((0,l.e)(16),(0,u.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){this._textareaElement.classList.add(this._measuringClass);const t=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),t}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const t=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=t}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=this._measureScrollHeight(),s=Math.max(n,this._cachedPlaceholderHeight||0);e.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=i,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(t){const{selectionStart:e,selectionEnd:i}=t,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(n.t4),s.Y36(s.R0b),s.Y36(h.K0,8))},t.\u0275dir=s.lG2({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&s.NdJ("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ud]]}),t})()},71709:function(t,e,i){"use strict";i.d(e,{HI:function(){return b},Xx:function(){return C},_0:function(){return y},nZ:function(){return I},Hs:function(){return v},rO:function(){return A},cu:function(){return _},XJ:function(){return S},Ud:function(){return k},C2:function(){return f},VY:function(){return m}});var n=i(4230),s=i(4710),o=i(55959),r=i(78512),a=i(40878),c=i(90611),l=i(43835),u=i(25416),h=i(31572),d=i(19861),p=i(22526);class g{constructor(){this.expansionModel=new n.Ov(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}class f extends g{constructor(t,e,i){super(),this.getLevel=t,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const e=[];for(let i=this.dataNodes.indexOf(t)+1;ithis._trackByValue(t)))}}class m extends g{constructor(t,e){super(),this.getChildren=t,this.options=e,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const t=this.dataNodes.reduce((t,e)=>[...t,...this.getDescendants(e),e],[]);this.expansionModel.select(...t.map(t=>this._trackByValue(t)))}getDescendants(t){const e=[];return this._getDescendants(e,t),e.splice(1)}_getDescendants(t,e){t.push(e);const i=this.getChildren(e);Array.isArray(i)?i.forEach(e=>this._getDescendants(t,e)):(0,s.b)(i)&&i.pipe((0,c.q)(1),(0,l.h)(Boolean)).subscribe(e=>{for(const i of e)this._getDescendants(t,i)})}}const b=new h.OlP("CDK_TREE_NODE_OUTLET_NODE");let _=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.s_b),h.Y36(b,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class w{constructor(t){this.$implicit=t}}let A=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.Rgc))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),y=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new o.xQ,this._levels=new Map,this.viewChange=new r.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}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 t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;(0,n.Z9)(this._dataSource)?t=this._dataSource.connect(this):(0,s.b)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=(0,a.of)(this._dataSource)),t&&(this._dataSubscription=t.pipe((0,u.R)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,i=this._nodeOutlet.viewContainer,n){const s=e.diff(t);s&&(s.forEachOperation((e,s,o)=>{if(null==e.previousIndex)this.insertNode(t[o],o,i,n);else if(null==o)i.remove(s),this._levels.delete(e.item);else{const t=i.get(s);i.move(t,o)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(i=>i.when&&i.when(e,t))||this._defaultNodeDef}insertNode(t,e,i,n){const s=this._getNodeDef(t,e),o=new w(t);o.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==n&&this._levels.has(n)?this._levels.get(n)+1:0,this._levels.set(t,o.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,o,e),v.mostRecentTreeNode&&(v.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.ZZ4),h.Y36(h.sBO))},t.\u0275cmp=h.Xpm({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,i){if(1&t&&h.Suo(i,A,5),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&h.Gf(_,7),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&h.GkF(0,0)},directives:[_],encapsulation:2}),t})(),v=(()=>{class t{constructor(e,i){this._elementRef=e,this._tree=i,this._destroyed=new o.xQ,this._dataChanges=new o.xQ,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",`${t}`)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!T(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?(0,d.su)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(y))},t.\u0275dir=h.lG2({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function T(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let C=(()=>{class t extends v{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this._differs=i,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):(0,s.b)(t)&&t.pipe((0,u.R)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe((0,u.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(y),h.Y36(h.ZZ4))},t.\u0275dir=h.lG2({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,i){if(1&t&&h.Suo(i,_,5),2&t){let t;h.iGM(t=h.CRH())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[h._Bn([{provide:v,useExisting:t},{provide:b,useExisting:t}]),h.qOj]}),t})();const E=/([A-Za-z%]+)$/;let S=(()=>{class t{constructor(t,e,i,n){this._treeNode=t,this._tree=e,this._element=i,this._dir=n,this._destroyed=new o.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),n&&n.change.pipe((0,u.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,i=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",n="paddingLeft"===i?"paddingRight":"paddingLeft";t.style[i]=e||"",t.style[n]="",this._currentPadding=e}}_setLevelInput(t){this._level=(0,d.su)(t,null),this._setPadding()}_setIndentInput(t){let e=t,i="px";if("string"==typeof t){const n=t.split(E);e=n[0],i=n[1]||i}this.indentUnits=i,this._indent=(0,d.su)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(v),h.Y36(y),h.Y36(h.SBq),h.Y36(p.Is,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),k=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=(0,d.Ig)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(y),h.Y36(v))},t.\u0275dir=h.lG2({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&h.NdJ("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({}),t})()},61511:function(t,e,i){"use strict";i.d(e,{mr:function(){return A},Ov:function(){return St},ez:function(){return Rt},K0:function(){return c},uU:function(){return It},Do:function(){return v},V_:function(){return h},Ye:function(){return T},S$:function(){return _},mk:function(){return ct},sg:function(){return ut},O5:function(){return dt},PC:function(){return wt},RF:function(){return mt},n9:function(){return bt},ED:function(){return _t},tP:function(){return At},b0:function(){return y},lw:function(){return l},gd:function(){return kt},EM:function(){return Dt},JF:function(){return Nt},p6:function(){return j},NF:function(){return Ot},PM:function(){return Pt},w_:function(){return a},bD:function(){return xt},q:function(){return o},Mx:function(){return at},HT:function(){return r}});var n=i(31572);let s=null;function o(){return s}function r(t){s||(s=t)}class a{}const c=new n.OlP("DocumentToken");let l=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,n.LFG)(d)}const h=new n.OlP("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){p()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){p()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(c))},t.\u0275prov=(0,n.Yz7)({factory:g,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function g(){return new d((0,n.LFG)(c))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:w,token:t,providedIn:"root"}),t})();function w(t){const e=(0,n.LFG)(c).location;return new y((0,n.LFG)(l),e&&e.origin||"")}const A=new n.OlP("appBaseHref");let y=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+b(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+b(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(l),n.LFG(A,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+b(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+b(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(l),n.LFG(A,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t,e){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(E(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(_),n.LFG(l))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=m,t.\u0275prov=(0,n.Yz7)({factory:C,token:t,providedIn:"root"}),t})();function C(){return new T((0,n.LFG)(_),(0,n.LFG)(l))}function E(t){return t.replace(/\/index.html$/,"")}var S=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),k=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),I=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),R=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function O(t,e){return z((0,n.cg1)(t)[n.wAp.DateFormat],e)}function P(t,e){return z((0,n.cg1)(t)[n.wAp.TimeFormat],e)}function D(t,e){return z((0,n.cg1)(t)[n.wAp.DateTimeFormat],e)}function M(t,e){const i=(0,n.cg1)(t),s=i[n.wAp.NumberSymbols][e];if(void 0===s){if(e===x.CurrencyDecimal)return i[n.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return i[n.wAp.NumberSymbols][x.Group]}return s}const L=n.kL8;function N(t){if(!t[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function z(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function Z(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,q={},F=/((?:[^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 U=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),H=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),G=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function j(t,e,i,n){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return Y(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(B))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const r=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,r,a,c,l),e}(i)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=K(i,e)||e;let o,r=[];for(;e;){if(o=F.exec(e),!o){r.push(e);break}{r=r.concat(o.slice(1));const t=r.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=nt(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,n)-n))}(s,n));let c="";return r.forEach(t=>{const e=function(t){if(it[t])return it[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(G.Eras,I.Abbreviated);break;case"GGGG":e=Q(G.Eras,I.Wide);break;case"GGGGG":e=Q(G.Eras,I.Narrow);break;case"y":e=J(H.FullYear,1,0,!1,!0);break;case"yy":e=J(H.FullYear,2,0,!0,!0);break;case"yyy":e=J(H.FullYear,3,0,!1,!0);break;case"yyyy":e=J(H.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=J(H.Month,1,1);break;case"MM":case"LL":e=J(H.Month,2,1);break;case"MMM":e=Q(G.Months,I.Abbreviated);break;case"MMMM":e=Q(G.Months,I.Wide);break;case"MMMMM":e=Q(G.Months,I.Narrow);break;case"LLL":e=Q(G.Months,I.Abbreviated,k.Standalone);break;case"LLLL":e=Q(G.Months,I.Wide,k.Standalone);break;case"LLLLL":e=Q(G.Months,I.Narrow,k.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=J(H.Date,1);break;case"dd":e=J(H.Date,2);break;case"c":case"cc":e=J(H.Day,1);break;case"ccc":e=Q(G.Days,I.Abbreviated,k.Standalone);break;case"cccc":e=Q(G.Days,I.Wide,k.Standalone);break;case"ccccc":e=Q(G.Days,I.Narrow,k.Standalone);break;case"cccccc":e=Q(G.Days,I.Short,k.Standalone);break;case"E":case"EE":case"EEE":e=Q(G.Days,I.Abbreviated);break;case"EEEE":e=Q(G.Days,I.Wide);break;case"EEEEE":e=Q(G.Days,I.Narrow);break;case"EEEEEE":e=Q(G.Days,I.Short);break;case"a":case"aa":case"aaa":e=Q(G.DayPeriods,I.Abbreviated);break;case"aaaa":e=Q(G.DayPeriods,I.Wide);break;case"aaaaa":e=Q(G.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":e=Q(G.DayPeriods,I.Abbreviated,k.Standalone,!0);break;case"bbbb":e=Q(G.DayPeriods,I.Wide,k.Standalone,!0);break;case"bbbbb":e=Q(G.DayPeriods,I.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(G.DayPeriods,I.Abbreviated,k.Format,!0);break;case"BBBB":e=Q(G.DayPeriods,I.Wide,k.Format,!0);break;case"BBBBB":e=Q(G.DayPeriods,I.Narrow,k.Format,!0);break;case"h":e=J(H.Hours,1,-12);break;case"hh":e=J(H.Hours,2,-12);break;case"H":e=J(H.Hours,1);break;case"HH":e=J(H.Hours,2);break;case"m":e=J(H.Minutes,1);break;case"mm":e=J(H.Minutes,2);break;case"s":e=J(H.Seconds,1);break;case"ss":e=J(H.Seconds,2);break;case"S":e=J(H.FractionalSeconds,1);break;case"SS":e=J(H.FractionalSeconds,2);break;case"SSS":e=J(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=W(U.Short);break;case"ZZZZZ":e=W(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=W(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=W(U.Long);break;default:return null}return it[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Y(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function K(t,e){const i=function(t){return(0,n.cg1)(t)[n.wAp.LocaleId]}(t);if(q[i]=q[i]||{},q[i][e])return q[i][e];let s="";switch(e){case"shortDate":s=O(t,R.Short);break;case"mediumDate":s=O(t,R.Medium);break;case"longDate":s=O(t,R.Long);break;case"fullDate":s=O(t,R.Full);break;case"shortTime":s=P(t,R.Short);break;case"mediumTime":s=P(t,R.Medium);break;case"longTime":s=P(t,R.Long);break;case"fullTime":s=P(t,R.Full);break;case"short":const e=K(t,"shortTime"),i=K(t,"shortDate");s=V(D(t,R.Short),[e,i]);break;case"medium":const n=K(t,"mediumTime"),o=K(t,"mediumDate");s=V(D(t,R.Medium),[n,o]);break;case"long":const r=K(t,"longTime"),a=K(t,"longDate");s=V(D(t,R.Long),[r,a]);break;case"full":const c=K(t,"fullTime"),l=K(t,"fullDate");s=V(D(t,R.Full),[c,l])}return s&&(q[i][e]=s),s}function V(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function $(t,e,i="-",n,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=i));let r=String(t);for(;r.length0||a>-i)&&(a+=i),t===H.Hours)0===a&&-12===i&&(a=12);else if(t===H.FractionalSeconds)return c=e,$(a,3).substr(0,c);var c;const l=M(r,x.MinusSign);return $(a,e,l,n,s)}}function Q(t,e,i=k.Format,s=!1){return function(o,r){return function(t,e,i,s,o,r){switch(i){case G.Months:return function(t,e,i){const s=(0,n.cg1)(t),o=z([s[n.wAp.MonthsFormat],s[n.wAp.MonthsStandalone]],e);return z(o,i)}(e,o,s)[t.getMonth()];case G.Days:return function(t,e,i){const s=(0,n.cg1)(t),o=z([s[n.wAp.DaysFormat],s[n.wAp.DaysStandalone]],e);return z(o,i)}(e,o,s)[t.getDay()];case G.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(r){const t=function(t){const e=(0,n.cg1)(t);return N(e),(e[n.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?Z(t):[Z(t[0]),Z(t[1])])}(e),i=function(t,e,i){const s=(0,n.cg1)(t);N(s);const o=z([s[n.wAp.ExtraData][0],s[n.wAp.ExtraData][1]],e)||[];return z(o,i)||[]}(e,o,s),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=a>=e.hours&&c>=e.minutes,s=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case U.Short:return(s>=0?"+":"")+$(r,2,o)+$(Math.abs(s%60),2,o);case U.ShortGMT:return"GMT"+(s>=0?"+":"")+$(r,1,o);case U.Long:return"GMT"+(s>=0?"+":"")+$(r,2,o)+":"+$(Math.abs(s%60),2,o);case U.Extended:return 0===n?"Z":(s>=0?"+":"")+$(r,2,o)+":"+$(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t){return Y(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=X(i),e=function(t){const e=Y(t,0,1).getDay();return Y(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return $(s,t,M(n,x.MinusSign))}}function et(t,e=!1){return function(i,n){return $(X(i).getFullYear(),t,M(n,x.MinusSign),e)}}const it={};function nt(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class ot{}let rt=(()=>{class t extends ot{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(L(e||this.locale)(t)){case S.Zero:return"zero";case S.One:return"one";case S.Two:return"two";case S.Few:return"few";case S.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.soG))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let ct=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class lt{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 ut=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new lt(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new ht(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const o=new ht(t,s);e.push(o)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){gt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){gt("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function gt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,n.AaK)(e)}'.`)}class ft{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new ft(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),_t=(()=>{class t{constructor(t,e,i){i._addDefault(new ft(t,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),wt=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),At=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.TTD]}),t})();function yt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,n.AaK)(t)}'`)}class vt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Tt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Ct=new Tt,Et=new vt;let St=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,n.QGY)(e))return Ct;if((0,n.F4k)(e))return Et;throw yt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"async",type:t,pure:!1}),t})(),kt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw yt(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"uppercase",type:t,pure:!0}),t})(),It=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return j(e,i,s||this.locale,n)}catch(o){throw yt(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.soG,16))},t.\u0275pipe=n.Yjl({name:"date",type:t,pure:!0}),t})(),Rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:ot,useClass:rt}]}),t})();const xt="browser";function Ot(t){return t===xt}function Pt(t){return"server"===t}let Dt=(()=>{class t{}return t.\u0275prov=(0,n.Yz7)({token:t,providedIn:"root",factory:()=>new Mt((0,n.LFG)(c),window)}),t})();class Mt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Lt(this.window.history)||Lt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Lt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Nt{}},29063:function(t,e,i){"use strict";i.d(e,{TP:function(){return x},eN:function(){return I},JF:function(){return F},WM:function(){return d},LE:function(){return m},Zn:function(){return E}});var n=i(61511),s=i(31572),o=i(40878),r=i(48318),a=i(436),c=i(43835),l=i(79996);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function g(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function f(t){return`${t}`}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,o]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],r=i.get(s)||[];r.push(o),i.set(s,r)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(f(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(f(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function _(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function A(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new b),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),l)),new y(i,n,o,{params:l,headers:c,context:u,reportProgress:a,responseType:s,withCredentials:r})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class T{constructor(t,e=200,i="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends T{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends T{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new E({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends T{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function k(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let I=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof y)n=t;else{let s,o;s=i.headers instanceof d?i.headers:new d(i.headers),i.params&&(o=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new y(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:o,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=(0,o.of)(n).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof y||"events"===i.observe)return s;const r=s.pipe((0,c.h)(t=>t instanceof E));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe((0,l.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe((0,l.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe((0,l.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe((0,l.U)(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,k(i,e))}post(t,e,i={}){return this.request("POST",t,k(i,e))}put(t,e,i={}){return this.request("PUT",t,k(i,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class R{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const x=new s.OlP("HTTP_INTERCEPTORS");let O=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const P=/^\)\]\}',?\n/;let D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.y(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",o=new d(i.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new C({headers:o,status:e,statusText:n,url:r}),s},r=()=>{let{headers:n,status:s,statusText:r,url:a}=o(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let l=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(P,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(e.next(new E({body:c,headers:n,status:s,statusText:r,url:a||void 0})),e.complete()):e.error(new S({error:c,headers:n,status:s,statusText:r,url:a||void 0}))},a=t=>{const{url:n}=o(),s=new S({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const l=n=>{c||(e.next(o()),c=!0);let s={type:v.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},u=t=>{let i={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",r),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",l),null!==n&&i.upload&&i.upload.addEventListener("progress",u)),i.send(n),e.next({type:v.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",r),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",l),null!==n&&i.upload&&i.upload.removeEventListener("progress",u)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),L=new s.OlP("XSRF_HEADER_NAME");class N{}let z=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(N),s.LFG(L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(x,[]);this.chain=t.reduceRight((t,e)=>new R(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),q=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Z,useClass:O}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Z,{provide:x,useExisting:Z,multi:!0},{provide:N,useClass:z},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[I,{provide:u,useClass:B},D,{provide:h,useExisting:D}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},31572:function(t,e,i){"use strict";i.d(e,{deG:function(){return ni},tb:function(){return al},AFp:function(){return il},ip1:function(){return tl},CZH:function(){return el},hGG:function(){return tu},z2F:function(){return Gl},sBO:function(){return Ya},Sil:function(){return _l},_Vd:function(){return ma},EJc:function(){return ul},SBq:function(){return Aa},qLn:function(){return Tn},vpe:function(){return Mc},gxx:function(){return po},tBr:function(){return Ti},XFs:function(){return R},OlP:function(){return ii},zs3:function(){return Io},ZZ4:function(){return Ba},aQg:function(){return Fa},soG:function(){return ll},YKP:function(){return ic},v3s:function(){return Yl},h0i:function(){return ec},PXZ:function(){return Bl},R0b:function(){return yl},FiY:function(){return Ci},Lbi:function(){return rl},g9A:function(){return ol},n_E:function(){return Nc},Qsj:function(){return Ta},FYo:function(){return va},JOm:function(){return Rn},Tiy:function(){return Ea},q3G:function(){return gn},tp0:function(){return Ei},EAV:function(){return $l},Rgc:function(){return Qa},dDg:function(){return Il},DyG:function(){return si},GfV:function(){return Sa},s_b:function(){return sc},ifc:function(){return L},eFA:function(){return ql},G48:function(){return zl},Gpc:function(){return p},f3M:function(){return Ai},X6Q:function(){return Nl},_c5:function(){return Wl},VLi:function(){return Ol},c2e:function(){return cl},zSh:function(){return fo},wAp:function(){return na},vHH:function(){return m},EiD:function(){return dn},mCW:function(){return Vi},qzn:function(){return zi},JVY:function(){return Bi},pB0:function(){return Hi},eBb:function(){return Fi},L6k:function(){return qi},LAX:function(){return Ui},cg1:function(){return ta},Tjo:function(){return Ql},kL8:function(){return ea},yhl:function(){return Zi},dqk:function(){return q},sIi:function(){return Zo},CqO:function(){return cr},QGY:function(){return rr},F4k:function(){return ar},RDi:function(){return Tt},AaK:function(){return u},z3N:function(){return Ni},qOj:function(){return xo},TTD:function(){return bt},_Bn:function(){return pa},xp6:function(){return fs},uIk:function(){return jo},Tol:function(){return Rr},Gre:function(){return Vr},ekj:function(){return Ir},Suo:function(){return Vc},Xpm:function(){return Q},lG2:function(){return ot},Yz7:function(){return A},cJS:function(){return y},oAB:function(){return it},Yjl:function(){return rt},Y36:function(){return Jo},_UZ:function(){return er},GkF:function(){return sr},BQk:function(){return nr},ynx:function(){return ir},qZA:function(){return tr},TgZ:function(){return Xo},EpF:function(){return or},n5z:function(){return We},Ikx:function(){return $r},LFG:function(){return wi},$8M:function(){return ti},NdJ:function(){return lr},CRH:function(){return $c},kcU:function(){return be},O4$:function(){return me},oxw:function(){return gr},ALo:function(){return kc},lcZ:function(){return Ic},xi3:function(){return Rc},Dn7:function(){return xc},Hsn:function(){return br},F$t:function(){return mr},Q6J:function(){return Qo},s9C:function(){return _r},MGl:function(){return wr},hYB:function(){return Ar},DdM:function(){return wc},VKq:function(){return Ac},WLB:function(){return yc},kEZ:function(){return vc},iGM:function(){return Yc},MAs:function(){return $o},pYS:function(){return kn},evT:function(){return Sn},Jf7:function(){return En},CHM:function(){return Ut},oJD:function(){return fn},LSH:function(){return mn},B6R:function(){return W},kYT:function(){return nt},Udp:function(){return kr},WFA:function(){return ur},d8E:function(){return Jr},YNc:function(){return Vo},W1O:function(){return Xc},_uU:function(){return Fr},Oqu:function(){return Ur},hij:function(){return Hr},AsE:function(){return Gr},lnq:function(){return jr},HOy:function(){return Yr},xDo:function(){return Kr},Gf:function(){return Kc}});var n=i(55959),s=i(87570),o=i(48318),r=i(31906),a=i(1055);function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function l(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function g(t){return f(t)?t():t}function f(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function w(t,e){const i=e?` in ${e}`:"";throw new m("201",`No provider for ${_(t)} found${i}`)}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function y(t){return{providers:t.providers||[],imports:t.imports||[]}}function v(t){return T(t,E)||T(t,k)}function T(t,e){return t.hasOwnProperty(e)?t[e]:null}function C(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(I))?t[S]:null}const E=c({"\u0275prov":c}),S=c({"\u0275inj":c}),k=c({ngInjectableDef:c}),I=c({ngInjectorDef:c});var R=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let x;function O(t){const e=x;return x=t,e}function P(t,e,i){const n=v(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&R.Optional?null:void 0!==e?e:void w(u(t),"Injector")}function D(t){return{toString:t}.toString()}var M=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),L=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const N="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,q=N||B||z||Z,F={},U=[],H=c({"\u0275cmp":c}),G=c({"\u0275dir":c}),j=c({"\u0275pipe":c}),Y=c({"\u0275mod":c}),K=c({"\u0275loc":c}),V=c({"\u0275fac":c}),$=c({__NG_ELEMENT_ID__:c});let J=0;function Q(t){return D(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===M.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||U,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||L.Emulated,id:"c",styles:t.styles||U,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,o=t.pipes;return i.id+=J++,i.inputs=st(t.inputs,e),i.outputs=st(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(X):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(tt):null,i})}function W(t,e,i){const n=t.\u0275cmp;n.directiveDefs=()=>e.map(X),n.pipeDefs=()=>i.map(tt)}function X(t){return at(t)||function(t){return t[G]||null}(t)}function tt(t){return function(t){return t[j]||null}(t)}const et={};function it(t){return D(()=>{const e={type:t.type,bootstrap:t.bootstrap||U,declarations:t.declarations||U,imports:t.imports||U,exports:t.exports||U,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function nt(t,e){return D(()=>{const i=ct(t,!0);i.declarations=e.declarations||U,i.imports=e.imports||U,i.exports=e.exports||U})}function st(t,e){if(null==t)return F;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),i[s]=n,e&&(e[s]=o)}return i}const ot=Q;function rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[H]||null}function ct(t,e){const i=t[Y]||null;if(!i&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return i}function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function ht(t){return 0!=(8&t.flags)}function dt(t){return 2==(2&t.flags)}function pt(t){return 1==(1&t.flags)}function gt(t){return null!==t.template}function ft(t,e){return t.hasOwnProperty(V)?t[V]:null}class mt{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function bt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=At),wt}function wt(){const t=yt(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===F)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function At(t,e,i,n){const s=yt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:F,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[i],c=r[a];o[a]=new mt(c&&c.currentValue,e,r===F),t[n]=e}function yt(t){return t.__ngSimpleChanges__||null}let vt;function Tt(t){vt=t}function Ct(){return void 0!==vt?vt:"undefined"!=typeof document?document:void 0}function Et(t){return!!t.listen}bt.ngInherit=!0;const St={createRenderer:(t,e)=>Ct()};function kt(t){for(;Array.isArray(t);)t=t[0];return t}function It(t,e){return kt(e[t])}function Rt(t,e){return kt(e[t.index])}function xt(t,e){return t.data[e]}function Ot(t,e){return t[e]}function Pt(t,e){const i=e[t];return lt(i)?i:i[0]}function Dt(t){return 4==(4&t[2])}function Mt(t){return 128==(128&t[2])}function Lt(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function zt(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const Zt={lFrame:le(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bt(){return Zt.bindingsEnabled}function qt(){return Zt.lFrame.lView}function Ft(){return Zt.lFrame.tView}function Ut(t){return Zt.lFrame.contextLView=t,t[8]}function Ht(){let t=Gt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Gt(){return Zt.lFrame.currentTNode}function jt(t,e){const i=Zt.lFrame;i.currentTNode=t,i.isParent=e}function Yt(){return Zt.lFrame.isParent}function Kt(){Zt.lFrame.isParent=!1}function Vt(){return Zt.isInCheckNoChangesMode}function $t(t){Zt.isInCheckNoChangesMode=t}function Jt(){const t=Zt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qt(){return Zt.lFrame.bindingIndex}function Wt(){return Zt.lFrame.bindingIndex++}function Xt(t){const e=Zt.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function te(t,e){const i=Zt.lFrame;i.bindingIndex=i.bindingRootIndex=t,ee(e)}function ee(t){Zt.lFrame.currentDirectiveIndex=t}function ie(t){const e=Zt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ne(){return Zt.lFrame.currentQueryIndex}function se(t){Zt.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function re(t,e,i){if(i&R.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&R.Host||(n=oe(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=Zt.lFrame=ce();return n.currentTNode=e,n.lView=t,!0}function ae(t){const e=ce(),i=t[1];Zt.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function ce(){const t=Zt.lFrame,e=null===t?null:t.child;return null===e?le(t):e}function le(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ue(){const t=Zt.lFrame;return Zt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const he=ue;function de(){const t=ue();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pe(){return Zt.lFrame.selectedIndex}function ge(t){Zt.lFrame.selectedIndex=t}function fe(){const t=Zt.lFrame;return xt(t.tView,t.selectedIndex)}function me(){Zt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function be(){Zt.lFrame.currentNamespace=null}function _e(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(r>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(r)}finally{}}}else try{o.call(r)}finally{}}class Ce{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Ee(t,e,i){const n=Et(t);let s=0;for(;se){r=o-1;break}}}for(;o>16,n=e;for(;i>0;)n=n[15],i--;return n}let De=!0;function Me(t){const e=De;return De=t,e}let Le=0;function Ne(t,e){const i=Ze(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,ze(n.data,t),ze(e,null),ze(n.blueprint,null));const s=Be(t,e),o=t.injectorIndex;if(xe(s)){const t=Oe(s),i=Pe(s,e),n=i[1].data;for(let s=0;s<8;s++)e[o+s]=i[t+s]|n[t+s]}return e[o+8]=s,o}function ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ze(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Be(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return-1;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function qe(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty($)&&(n=i[$]),null==n&&(n=i[$]=Le++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:je:e}(i);if("function"==typeof o){if(!re(e,t,n))return n&R.Host?Fe(s,i,n):Ue(e,i,n,s);try{const t=o(n);if(null!=t||n&R.Optional)return t;w(i)}finally{he()}}else if("number"==typeof o){let s=null,r=Ze(t,e),a=-1,c=n&R.Host?e[16][6]:null;for((-1===r||n&R.SkipSelf)&&(a=-1===r?Be(t,e):e[r+8],-1!==a&&Je(n,!1)?(s=e[1],r=Oe(a),e=Pe(a,e)):r=-1);-1!==r;){const t=e[1];if($e(o,r,t.data)){const t=Ye(r,e,i,s,n,c);if(t!==Ge)return t}a=e[r+8],-1!==a&&Je(n,e[1].data[r+8]===c)&&$e(o,r,e)?(s=t,r=Oe(a),e=Pe(a,e)):r=-1}}}return Ue(e,i,n,s)}const Ge={};function je(){return new Qe(Ht(),qt())}function Ye(t,e,i,n,s,o){const r=e[1],a=r.data[t+8],c=Ke(a,r,i,null==n?dt(a)&&De:n!=r&&0!=(3&a.type),s&R.Host&&o===a);return null!==c?Ve(e,r,c,a):Ge}function Ke(t,e,i,n,s){const o=t.providerIndexes,r=e.data,a=1048575&o,c=t.directiveStart,l=o>>20,u=s?a+l:t.directiveEnd;for(let h=n?a:a+l;h=c&&t.type===i)return h}if(s){const t=r[c];if(t&>(t)&&t.type===i)return c}return null}function Ve(t,e,i,n){let s=t[i];const o=e.data;if(s instanceof Ce){const r=s;r.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(_(o[i]));const a=Me(r.canSeeViewProviders);r.resolving=!0;const c=r.injectImpl?O(r.injectImpl):null;re(t,n,R.Default);try{s=t[i]=r.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(n){const n=_t(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),o&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,o),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,o))}(i,o[i],e)}finally{null!==c&&O(c),Me(a),r.resolving=!1,he()}}return s}function $e(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[V]||Xe(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[V]||Xe(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Xe(t){return f(t)?()=>{const e=Xe(g(t));return e&&e()}:ft(t)}function ti(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class ii{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=A({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ni=new ii("AnalyzeForEntryComponents"),si=Function;function oi(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?ri(t,e):e(t))}function ai(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ci(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function li(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function hi(t,e){const i=di(t,e);if(i>=0)return t[1|i]}function di(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),o=t[i<<1];if(e===o)return i<<1;o>e?s=i:n=i+1}return~(s<<1)}(t,e)}const pi={},gi=/\n/gm,fi=c({provide:String,useValue:c});let mi;function bi(t){const e=mi;return mi=t,e}function _i(t,e=R.Default){if(void 0===mi)throw new Error("inject() must be called from an injection context");return null===mi?P(t,void 0,e):mi.get(t,e&R.Optional?null:void 0,e)}function wi(t,e=R.Default){return(x||_i)(g(t),e)}const Ai=wi;function yi(t){const e=[];for(let i=0;i({token:t})),-1),Ci=vi(ei("Optional"),8),Ei=vi(ei("SkipSelf"),4);let Si,ki;function Ii(t){var e;return(null===(e=function(){if(void 0===Si&&(Si=null,q.trustedTypes))try{Si=q.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Si}())||void 0===e?void 0:e.createHTML(t))||t}function Ri(t){var e;return(null===(e=function(){if(void 0===ki&&(ki=null,q.trustedTypes))try{ki=q.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return ki}())||void 0===e?void 0:e.createHTML(t))||t}class xi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Oi extends xi{getTypeName(){return"HTML"}}class Pi extends xi{getTypeName(){return"Style"}}class Di extends xi{getTypeName(){return"Script"}}class Mi extends xi{getTypeName(){return"URL"}}class Li extends xi{getTypeName(){return"ResourceURL"}}function Ni(t){return t instanceof xi?t.changingThisBreaksApplicationSecurity:t}function zi(t,e){const i=Zi(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function Zi(t){return t instanceof xi&&t.getTypeName()||null}function Bi(t){return new Oi(t)}function qi(t){return new Pi(t)}function Fi(t){return new Di(t)}function Ui(t){return new Mi(t)}function Hi(t){return new Li(t)}class Gi{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ii(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ji{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ii(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Ii(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Vi(t.trim())).join(", ")),this.buf.push(" ",e,'="',un(r),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();en.hasOwnProperty(e)&&!Qi.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(un(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ln=/([^\#-~ |!])/g;function un(t){return t.replace(/&/g,"&").replace(cn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ln,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let hn;function dn(t,e){let i=null;try{hn=hn||function(t){const e=new ji(t);return function(){try{return!!(new window.DOMParser).parseFromString(Ii(""),"text/html")}catch(t){return!1}}()?new Gi(e):e}(t);let n=e?String(e):"";i=hn.getInertBodyElement(n);let s=5,o=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=o,o=i.innerHTML,i=hn.getInertBodyElement(n)}while(n!==o);return Ii((new an).sanitizeChildren(pn(i)||i))}finally{if(i){const t=pn(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function pn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function fn(t){const e=bn();return e?Ri(e.sanitize(gn.HTML,t)||""):zi(t,"HTML")?Ri(Ni(t)):dn(Ct(),b(t))}function mn(t){const e=bn();return e?e.sanitize(gn.URL,t)||"":zi(t,"URL")?Ni(t):Vi(b(t))}function bn(){const t=qt();return t&&t[12]}function _n(t,e){t.__ngContext__=e}function wn(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function An(t){return t.ngDebugContext}function yn(t){return t.ngOriginalError}function vn(t,...e){t.error(...e)}class Tn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||vn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?An(t)?An(t):this._findContext(yn(t)):null}_findOriginalError(t){let e=yn(t);for(;e&&yn(e);)e=yn(e);return e}}const Cn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(q))();function En(t){return t.ownerDocument.defaultView}function Sn(t){return t.ownerDocument}function kn(t){return t.ownerDocument.body}function In(t){return t instanceof Function?t():t}var Rn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function xn(t,e){return(void 0)(t,e)}function On(t){const e=t[3];return ut(e)?e[3]:e}function Pn(t){return Mn(t[13])}function Dn(t){return Mn(t[4])}function Mn(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Ln(t,e,i,n,s){if(null!=n){let o,r=!1;ut(n)?o=n:lt(n)&&(r=!0,n=n[0]);const a=kt(n);0===t&&null!==i?null==s?Hn(e,i,a):Un(e,i,a,s||null,!0):1===t&&null!==i?Un(e,i,a,s||null,!0):2===t?function(t,e,i){const n=jn(t,e);n&&function(t,e,i,n){Et(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,r):3===t&&e.destroyNode(a),null!=o&&function(t,e,i,n,s){const o=i[7];o!==kt(i)&&Ln(e,t,n,o,s);for(let r=10;r0&&(t[i-1][4]=n[4]);const r=ci(t,10+e);Xn(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function Bn(t,e){if(!(256&e[2])){const i=e[11];Et(i)&&i.destroyNode&&Xn(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return qn(t[1],t);for(;e;){let i=null;if(lt(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)lt(e)&&qn(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&qn(e[1],e),i=e&&e[4]}e=i}}(e)}}function qn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),o+=2}else{const t=n[s=i[o+1]];i[o].call(t)}if(null!==n){for(let t=s+1;to?"":s[u+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==ns(e,l,0)||2&n&&l!==t){if(cs(n))return!1;r=!0}}}}else{if(!r&&!cs(n)&&!cs(c))return!1;if(r&&cs(c))continue;r=!1,n=c|1&n}}return cs(n)||r}function cs(t){return 0==(1&t)}function ls(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+r:4&n&&(s+=" "+r);else""===s||cs(r)||(e+=ds(o,s),s=""),n=r,o=o||!cs(n);i++}return""!==s&&(e+=ds(o,s)),e}const gs={};function fs(t){ms(Ft(),qt(),pe()+t,Vt())}function ms(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&we(e,n,i)}else{const n=t.preOrderHooks;null!==n&&Ae(e,n,0,i)}ge(i)}function bs(t,e){return t<<17|e<<2}function _s(t){return t>>17&32767}function ws(t){return 2|t}function As(t){return(131068&t)>>2}function ys(t,e){return-131069&t|e<<2}function vs(t){return 1|t}function Ts(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&ms(t,e,20,Vt()),i(n,s)}finally{ge(o)}}function Os(t,e,i){if(ht(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=o&&i.push(o),i.push(n,s,r)}}function Fs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Us(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Hs(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&Qs(i)}}function Qs(t){for(let i=Pn(t);null!==i;i=Dn(i))for(let t=10;t0&&Qs(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Qs(n)}}function Ws(t,e){const i=Pt(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function oo(t){return t[7]||(t[7]=[])}function ro(t){return t.cleanup||(t.cleanup=[])}function ao(t,e,i){return(null===t||gt(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function co(t,e){const i=t[9],n=i?i.get(Tn,null):null;n&&n.handleError(e)}function lo(t,e,i,n,s){for(let o=0;othis.processProvider(i,t,e)),ri([t],t=>this.processInjectorType(t,[],s)),this.records.set(po,Co(void 0,this));const o=this.records.get(fo);this.scope=null!=o?o.value:null,this.source=n||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=pi,i=R.Default){this.assertNotDestroyed();const n=bi(this);try{if(!(i&R.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof ii)&&v(t);e=i&&this.injectableDefInScope(i)?Co(vo(t),mo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&R.Self?wo():this.parent).get(t,e=i&R.Optional&&e===pi?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(u(t)),n)throw o;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=u(e);if(Array.isArray(e))s=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):u(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(gi,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{bi(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(u(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=g(t)))return!1;let n=C(t);const s=null==n&&t.ngModule||void 0,o=void 0===s?t:s,r=-1!==i.indexOf(o);if(void 0!==s&&(n=C(s)),null==n)return!1;if(null!=n.imports&&!r){let t;i.push(o);try{ri(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||U))}}this.injectorDefTypes.add(o);const a=ft(o)||(()=>new o);this.records.set(o,Co(a,mo));const c=n.providers;if(null!=c&&!r){const e=t;ri(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=So(t=g(t))?t:g(t&&t.provide);const s=function(t,e,i){return Eo(t)?Co(void 0,t.useValue):Co(To(t),mo)}(t);if(So(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=Co(void 0,mo,!0),e.factory=()=>yi(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===mo&&(e.value=bo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function vo(t){const e=v(t),i=null!==e?e.factory:ft(t);if(null!==i)return i;if(t instanceof ii)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=li(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[E]||t[k]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function To(t,e,i){let n;if(So(t)){const e=g(t);return ft(e)||vo(e)}if(Eo(t))n=()=>g(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...yi(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>wi(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ft(e)||vo(e);n=()=>new e(...yi(t.deps))}var s;return n}function Co(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Eo(t){return null!==t&&"object"==typeof t&&fi in t}function So(t){return"function"==typeof t}const ko=function(t,e,i){return function(t,e=null,i=null,n){const s=Ao(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let Io=(()=>{class t{static create(t,e){return Array.isArray(t)?ko(t,e,""):ko(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=pi,t.NULL=new go,t.\u0275prov=A({token:t,providedIn:"any",factory:()=>wi(po)}),t.__NG_ELEMENT_ID__=-1,t})();function Ro(t,e){_e(wn(t)[1],Ht())}function xo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(gt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=Oo(t.inputs),e.declaredInputs=Oo(t.declaredInputs),e.outputs=Oo(t.outputs);const i=s.hostBindings;i&&Mo(t,i);const o=s.viewQuery,r=s.contentQueries;if(o&&Po(t,o),r&&Do(t,r),l(t.inputs,s.inputs),l(t.declaredInputs,s.declaredInputs),l(t.outputs,s.outputs),gt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=Ie(s.hostAttrs,i=Ie(i,s.hostAttrs))}}(n)}function Oo(t){return t===F?{}:t===U?[]:t}function Po(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function Do(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function Mo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let Lo=null;function No(){if(!Lo){const t=q.Symbol;if(t&&t.iterator)Lo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(kt(t[n.index])):n.index;if(Et(i)){let r=null;if(!a&&c&&(r=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let o=0;oi?t[i]:null}"string"==typeof t&&(o+=2)}return null}(t,e,s,n.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,h=!1;else{o=pr(n,e,0,o,!1);const t=i.listen(p,s,o);u.push(o,t),l&&l.push(s,f,g,g+1)}}else o=pr(n,e,0,o,!0),p.addEventListener(s,o,r),u.push(o),l&&l.push(s,f,g,r)}else o=pr(n,e,0,o,!1);const d=n.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,Zt.lFrame.contextLView))[8]}(t)}function fr(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cr(t){return t.substring(Tr.key,Tr.keyEnd)}function Er(t,e){const i=Tr.textEnd;return i===e?-1:(e=Tr.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Tr.key=e,i),Sr(t,e,i))}function Sr(t,e,i){for(;e=0;i=Er(e,i))ui(t,Cr(e),!0)}function Or(t,e,i,n){const s=qt(),o=Ft(),r=Xt(2);o.firstUpdatePass&&Mr(o,t,r,n),e!==gs&&Fo(s,r,e)&&zr(o,o.data[pe()],s,s[11],t,s[r+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Ni(t)))),t}(e,i),n,r)}function Pr(t,e,i,n){const s=Ft(),o=Xt(2);s.firstUpdatePass&&Mr(s,null,o,n);const r=qt();if(i!==gs&&Fo(r,o,i)){const a=s.data[pe()];if(qr(a,n)&&!Dr(s,o)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=h(t,i||"")),Wo(s,a,r,i,n)}else!function(t,e,i,n,s,o,r,a){s===gs&&(s=U);let c=0,l=0,u=0=t.expandoStartIndex}function Mr(t,e,i,n){const s=t.data;if(null===s[i+1]){const o=s[pe()],r=Dr(t,i);qr(o,n)&&null===e&&!r&&(e=!1),e=function(t,e,i,n){const s=ie(t);let o=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Nr(i=Lr(null,t,e,i,n),e.attrs,n),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(i=Lr(s,t,e,i,n),null===o){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==As(n))return t[_s(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Lr(null,t,e,i[1],n),i=Nr(i,e.attrs,n),function(t,e,i,n){t[_s(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else o=function(t,e,i){let n;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else l=i;if(s)if(0!==c){const e=_s(t[a+1]);t[n+1]=bs(e,a),0!==e&&(t[e+1]=ys(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=bs(a,0),0!==a&&(t[a+1]=ys(t[a+1],n)),a=n;else t[n+1]=bs(c,0),0===a?a=n:t[c+1]=ys(t[c+1],n),c=n;u&&(t[n+1]=ws(t[n+1])),yr(t,l,n,!0),yr(t,l,n,!1),function(t,e,i,n,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&di(o,e)>=0&&(i[n+1]=vs(i[n+1]))}(e,l,t,n,o),r=bs(a,c),o?e.classBindings=r:e.styleBindings=r}(s,o,e,i,r,n)}}function Lr(t,e,i,n,s){let o=null;const r=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],o=Array.isArray(e),c=o?e[1]:e,l=null===c;let u=i[s+1];u===gs&&(u=l?U:void 0);let h=l?hi(u,n):c===n?u:void 0;if(o&&!Br(h)&&(h=hi(e,n)),Br(h)&&(a=h,r))return a;const d=t[s+1];s=r?_s(d):As(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=hi(t,n))}return a}function Br(t){return void 0!==t}function qr(t,e){return 0!=(t.flags&(e?16:32))}function Fr(t,e=""){const i=qt(),n=Ft(),s=t+20,o=n.firstCreatePass?Es(n,s,1,e,null):n.data[s],r=i[s]=function(t,e){return Et(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Vn(n,i,r,o),jt(o,!1)}function Ur(t){return Hr("",t,""),Ur}function Hr(t,e,i){const n=qt(),s=Yo(n,t,e,i);return s!==gs&&uo(n,pe(),s),Hr}function Gr(t,e,i,n,s){const o=qt(),r=Ko(o,t,e,i,n,s);return r!==gs&&uo(o,pe(),r),Gr}function jr(t,e,i,n,s,o,r){const a=qt(),c=function(t,e,i,n,s,o,r,a){const c=Ho(t,Qt(),i,s,r);return Xt(3),c?e+b(i)+n+b(s)+o+b(r)+a:gs}(a,t,e,i,n,s,o,r);return c!==gs&&uo(a,pe(),c),jr}function Yr(t,e,i,n,s,o,r,a,c){const l=qt(),u=function(t,e,i,n,s,o,r,a,c,l){const u=Go(t,Qt(),i,s,r,c);return Xt(4),u?e+b(i)+n+b(s)+o+b(r)+a+b(c)+l:gs}(l,t,e,i,n,s,o,r,a,c);return u!==gs&&uo(l,pe(),u),Yr}function Kr(t,e,i,n,s,o,r,a,c,l,u){const h=qt(),d=function(t,e,i,n,s,o,r,a,c,l,u,h){const d=Qt();let p=Go(t,d,i,s,r,c);return p=Fo(t,d+4,u)||p,Xt(5),p?e+b(i)+n+b(s)+o+b(r)+a+b(c)+l+b(u)+h:gs}(h,t,e,i,n,s,o,r,a,c,l,u);return d!==gs&&uo(h,pe(),d),Kr}function Vr(t,e,i){Pr(ui,xr,Yo(qt(),t,e,i),!0)}function $r(t,e,i){const n=qt();return Fo(n,Wt(),e)&&Zs(Ft(),fe(),n,t,e,n[11],i,!0),$r}function Jr(t,e,i){const n=qt();if(Fo(n,Wt(),e)){const s=Ft(),o=fe();Zs(s,o,n,t,e,ao(ie(s.data),o,n),i,!0)}return Jr}const Qr=void 0;var Wr=["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(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Xr={};function ta(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=ia(e);if(i)return i;const n=e.split("-")[0];if(i=ia(n),i)return i;if("en"===n)return Wr;throw new Error(`Missing locale data for the locale "${t}".`)}function ea(t){return ta(t)[na.PluralCase]}function ia(t){return t in Xr||(Xr[t]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[t]),Xr[t]}var na=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let sa="en-US";function oa(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(sa=t.toLowerCase().replace(/_/g,"-"))}function ra(t,e,i,n,s){if(t=g(t),Array.isArray(t))for(let o=0;o>20;if(So(t)||!t.multi){const n=new Ce(c,s,Jo),p=la(a,e,s?u:u+d,h);-1===p?(qe(Ne(l,r),o,a),aa(o,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),i.push(n),r.push(n)):(i[p]=n,r[p]=n)}else{const p=la(a,e,u+d,h),g=la(a,e,u,u+d),f=p>=0&&i[p],m=g>=0&&i[g];if(s&&!m||!s&&!f){qe(Ne(l,r),o,a);const u=function(t,e,i,n,s){const o=new Ce(t,i,Jo);return o.multi=[],o.index=e,o.componentProviders=0,ca(o,s,n&&!i),o}(s?ha:ua,i.length,s,n,c);!s&&m&&(i[g].providerFactory=u),aa(o,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),i.push(u),r.push(u)}else aa(o,t,p>-1?p:g,ca(i[s?g:p],c,!s&&n));!s&&n&&m&&i[g].componentProviders++}}}function aa(t,e,i,n){const s=So(e);if(s||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const r=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=r.indexOf(i);-1===t?r.push(i,[n,o]):r[t+1].push(n,o)}else r.push(i,o)}}}function ca(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function la(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=Ft();if(n.firstCreatePass){const s=gt(t);ra(i,n.data,n.blueprint,s,!0),ra(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class ga{}class fa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ma=(()=>{class t{}return t.NULL=new fa,t})();function ba(...t){}function _a(t,e){return new Aa(Rt(t,e))}const wa=function(){return _a(Ht(),qt())};let Aa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=wa,t})();function ya(t){return t instanceof Aa?t.nativeElement:t}class va{}let Ta=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ca(),t})();const Ca=function(){const t=qt(),e=Pt(Ht().index,t);return function(t){return t[11]}(lt(e)?e:t)};let Ea=(()=>{class t{}return t.\u0275prov=A({token:t,providedIn:"root",factory:()=>null}),t})();class Sa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ka=new Sa("12.0.5");class Ia{constructor(){}supports(t){return Zo(t)}create(t){return new xa(t)}}const Ra=(t,e)=>e;class xa{constructor(t){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=t||Ra}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(o&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new Oa(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Da),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Da),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Oa{constructor(t,e){this.item=t,this.trackById=e,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 Pa{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Da{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new Pa,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ma(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new za(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class za{constructor(t){this.key=t,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 Za(){return new Ba([new Ia])}let Ba=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Za()),deps:[[t,new Ei,new Ci]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=A({token:t,providedIn:"root",factory:Za}),t})();function qa(){return new Fa([new La])}let Fa=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||qa()),deps:[[t,new Ei,new Ci]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=A({token:t,providedIn:"root",factory:qa}),t})();function Ua(t,e,i,n,s=!1){for(;null!==i;){const o=e[i.index];if(null!==o&&n.push(kt(o)),ut(o))for(let t=10;t-1&&(Zn(t,i),ci(e,i))}this._attachedToViewContainer=!1}Bn(this._lView[1],this._lView)}onDestroy(t){Ns(this._lView[1],this._lView,null,t)}markForCheck(){to(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){eo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){$t(!0);try{eo(t,e,i)}finally{$t(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Xn(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ga extends Ha{constructor(t){super(t),this._view=t}detectChanges(){io(this._view)}checkNoChanges(){!function(t){$t(!0);try{io(t)}finally{$t(!1)}}(this._view)}get context(){return null}}const ja=function(t){return function(t,e,i){if(dt(t)&&!i){const i=Pt(t.index,e);return new Ha(i,i)}return 47&t.type?new Ha(e[16],e):null}(Ht(),qt(),16==(16&t))};let Ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=ja,t})();const Ka=[new La],Va=new Ba([new Ia]),$a=new Fa(Ka),Ja=function(){return tc(Ht(),qt())};let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ja,t})();const Wa=Qa,Xa=class extends Wa{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Cs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),ks(e,i,t),new Ha(i)}};function tc(t,e){return 4&t.type?new Xa(e,t,_a(t,e)):null}class ec{}class ic{}const nc=function(){return lc(Ht(),qt())};let sc=(()=>{class t{}return t.__NG_ELEMENT_ID__=nc,t})();const oc=sc,rc=class extends oc{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return _a(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Be(this._hostTNode,this._hostLView);if(xe(t)){const e=Pe(t,this._hostLView),i=Oe(t);return new Qe(e[1].data[i+8],e)}return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ac(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const o=i||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(ec,null);t&&(s=t)}const r=t.create(o,n,void 0,s);return this.insert(r.hostView,e),r}insert(t,e){const i=t._lView,n=i[1];if(ut(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new rc(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,i,n){const s=10+n,o=i.length;n>0&&(i[s-1][4]=e),nCn});class gc extends ga{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ps).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return dc(this.componentDef.inputs)}get outputs(){return dc(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const o=t.get(i,uc,s);return o!==uc||n===uc?o:e.get(i,n,s)}}}(t,n.injector):t,o=s.get(va,St),r=s.get(Ea,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=i?function(t,e,i){if(Et(t))return t.selectRootElement(e,i===L.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Nn(o.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Cn,clean:so,playerHandler:null,flags:0},d=Ls(0,null,null,1,0,null,null,null,null,null),p=Cs(null,d,h,u,null,null,o,a,r,s);let g,f;ae(p);try{const t=function(t,e,i,n,s,o){const r=i[1];i[20]=t;const a=Es(r,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(ho(a,c,!0),null!==t&&(Ee(s,t,c),null!==a.classes&&is(s,t,a.classes),null!==a.styles&&es(s,t,a.styles)));const l=n.createRenderer(t,e),u=Cs(i,Ms(e),null,e.onPush?64:16,i[20],a,n,l,null,null);return r.firstCreatePass&&(qe(Ne(a,i),r,e.type),Us(r,a),Gs(a,i.length,1)),Xs(i,u),i[20]=u}(l,this.componentDef,p,o,a);if(l)if(i)Ee(a,l,["ng-version",ka.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&is(a,l,e.join(" "))}if(f=xt(d,20),void 0!==e){const t=f.projection=[];for(let i=0;it(r,e)),e.contentQueries){const t=Ht();e.contentQueries(1,r,t.directiveStart)}const a=Ht();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ge(a.index),qs(i[1],a,0,a.directiveStart,a.directiveEnd,e),Fs(e,r)),r}(t,this.componentDef,p,h,[Ro]),ks(d,p,null)}finally{de()}return new fc(this.componentType,g,_a(f,p),p,f)}}class fc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ga(n),this.componentType=t}get injector(){return new Qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const mc=new Map;class bc extends ec{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hc(this);const i=ct(t),n=t[K]||null;n&&oa(n),this._bootstrapComponents=In(i.bootstrap),this._r3Injector=Ao(t,e,[{provide:ec,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Io.THROW_IF_NOT_FOUND,i=R.Default){return t===Io||t===ec||t===po?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class _c extends ic{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(i){const n=ct(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(s,mc.get(s),i),mc.set(s,i));const o=In(n.imports);for(const r of o)e.has(r)||(e.add(r),t(r))}(t)}(t)}create(t){return new bc(this.moduleType,t)}}function wc(t,e,i){const n=Jt()+t,s=qt();return s[n]===gs?qo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function Ac(t,e,i,n){return Cc(qt(),Jt(),t,e,i,n)}function yc(t,e,i,n,s){return Ec(qt(),Jt(),t,e,i,n,s)}function vc(t,e,i,n,s,o){return Sc(qt(),Jt(),t,e,i,n,s,o)}function Tc(t,e){const i=t[e];return i===gs?void 0:i}function Cc(t,e,i,n,s,o){const r=e+i;return Fo(t,r,s)?qo(t,r+1,o?n.call(o,s):n(s)):Tc(t,r+1)}function Ec(t,e,i,n,s,o,r){const a=e+i;return Uo(t,a,s,o)?qo(t,a+2,r?n.call(r,s,o):n(s,o)):Tc(t,a+2)}function Sc(t,e,i,n,s,o,r,a){const c=e+i;return Ho(t,c,s,o,r)?qo(t,c+3,a?n.call(a,s,o,r):n(s,o,r)):Tc(t,c+3)}function kc(t,e){const i=Ft();let n;const s=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new m("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const o=n.factory||(n.factory=ft(n.type)),r=O(Jo);try{const t=Me(!1),e=o();return Me(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,qt(),s,e),e}finally{O(r)}}function Ic(t,e,i){const n=t+20,s=qt(),o=Ot(s,n);return Pc(s,Oc(s,n)?Cc(s,Jt(),e,o.transform,i,o):o.transform(i))}function Rc(t,e,i,n){const s=t+20,o=qt(),r=Ot(o,s);return Pc(o,Oc(o,s)?Ec(o,Jt(),e,r.transform,i,n,r):r.transform(i,n))}function xc(t,e,i,n,s){const o=t+20,r=qt(),a=Ot(r,o);return Pc(r,Oc(r,o)?Sc(r,Jt(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function Oc(t,e){return t[1].data[e].pure}function Pc(t,e){return zo.isWrapped(e)&&(e=zo.unwrap(e),t[Qt()]=gs),e}function Dc(t){return e=>{setTimeout(t,void 0,e)}}const Mc=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,o,r;let a=t,c=e||(()=>null),l=i;if(t&&"object"==typeof t){const e=t;a=null===(n=e.next)||void 0===n?void 0:n.bind(e),c=null===(o=e.error)||void 0===o?void 0:o.bind(e),l=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(c=Dc(c),a&&(a=Dc(a)),l&&(l=Dc(l)));const u=super.subscribe({next:a,error:c,complete:l});return t instanceof s.w&&t.add(u),u}};function Lc(){return this._results[No()]()}class Nc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=No(),i=Nc.prototype;i[e]||(i[e]=Lc)}get changes(){return this._changes||(this._changes=new Mc)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const i=oi(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(r[t/2]);else{const s=o[t+1],r=e[-i];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=ba,this.reject=ba,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(wi(tl,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const il=new ii("AppId"),nl={provide:il,useFactory:function(){return`${sl()}${sl()}${sl()}`},deps:[]};function sl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ol=new ii("Platform Initializer"),rl=new ii("Platform ID"),al=new ii("appBootstrapListener");let cl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const ll=new ii("LocaleId"),ul=new ii("DefaultCurrencyCode");class hl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const dl=function(t){return new _c(t)},pl=dl,gl=function(t){return Promise.resolve(dl(t))},fl=function(t){const e=dl(t),i=In(ct(t).declarations).reduce((t,e)=>{const i=at(e);return i&&t.push(new gc(i)),t},[]);return new hl(e,i)},ml=fl,bl=function(t){return Promise.resolve(fl(t))};let _l=(()=>{class t{constructor(){this.compileModuleSync=pl,this.compileModuleAsync=gl,this.compileModuleAndAllComponentsSync=ml,this.compileModuleAndAllComponentsAsync=bl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const wl=(()=>Promise.resolve(0))();function Al(t){"undefined"==typeof Zone?wl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class yl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mc(!1),this.onMicrotaskEmpty=new Mc(!1),this.onStable=new Mc(!1),this.onError=new Mc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!i&&e,this.shouldCoalesceRunChangeDetection=i,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=q.requestAnimationFrame,e=q.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(q,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Cl(t),t.isCheckStableRunning=!0,Tl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Cl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,o,r,a)=>{try{return El(t),i.invokeTask(s,o,r,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Sl(t)}},onInvoke:(i,n,s,o,r,a,c)=>{try{return El(t),i.invoke(s,o,r,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Sl(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Cl(t),Tl(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+n,t,vl,ba,ba);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const vl={};function Tl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Cl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function El(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Sl(t){t._nesting--,Tl(t)}class kl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mc,this.onMicrotaskEmpty=new Mc,this.onStable=new Mc,this.onError=new Mc}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let Il=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{yl.assertNotInAngularZone(),Al(()=>{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())Al(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(wi(yl))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})(),Rl=(()=>{class t{constructor(){this._applications=new Map,Dl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Dl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();class xl{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}function Ol(t){Dl=t}let Pl,Dl=new xl,Ml=!0,Ll=!1;function Nl(){return Ll=!0,Ml}function zl(){if(Ll)throw new Error("Cannot enable prod mode after platform setup.");Ml=!1}const Zl=new ii("AllowMultipleToken");class Bl{constructor(t,e){this.name=t,this.token=e}}function ql(t,e,i=[]){const n=`Platform: ${e}`,s=new ii(n);return(e=[])=>{let o=Fl();if(!o||o.injector.get(Zl,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:fo,useValue:"platform"});!function(t){if(Pl&&!Pl.destroyed&&!Pl.injector.get(Zl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Pl=t.get(Ul);const e=t.get(ol,null);e&&e.forEach(t=>t())}(Io.create({providers:t,name:n}))}return function(t){const e=Fl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Fl(){return Pl&&!Pl.destroyed?Pl:null}let Ul=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new kl:("zone.js"===t?void 0:t)||new yl({enableLongStackTrace:Nl(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:yl,useValue:i}];return i.run(()=>{const e=Io.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Tn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{o.handleError(t)}});s.onDestroy(()=>{jl(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return rr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(o,i,()=>{const t=s.injector.get(el);return t.runInitializers(),t.donePromise.then(()=>(oa(s.injector.get(ll,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=Hl({},e);return function(t,e,i){const n=new _c(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(Gl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(wi(Io))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function Hl(t,e){return Array.isArray(e)?e.reduce(Hl,t):Object.assign(Object.assign({},t),e)}let Gl=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 c=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{yl.assertNotInAngularZone(),Al(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{yl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=(0,r.T)(c,l.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof ga?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(ec),s=i.create(Io.NULL,[],e||i.selector,n),o=s.location.nativeElement,r=s.injector.get(Il,null),a=r&&s.injector.get(Rl);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),jl(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;jl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(al,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(wi(yl),wi(Io),wi(Tn),wi(ma),wi(el))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function jl(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Yl{}class Kl{}const Vl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let $l=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Vl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(27622)(e).then(t=>t[n]).then(t=>Jl(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(27622)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>Jl(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(wi(_l),wi(Kl,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function Jl(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const Ql=function(t){return null},Wl=ql(null,"core",[{provide:rl,useValue:"unknown"},{provide:Ul,deps:[Io]},{provide:Rl,deps:[]},{provide:cl,deps:[]}]),Xl=[{provide:Gl,useClass:Gl,deps:[yl,Io,Tn,ma,el]},{provide:pc,deps:[yl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:el,useClass:el,deps:[[new Ci,tl]]},{provide:_l,useClass:_l,deps:[]},nl,{provide:Ba,useFactory:function(){return Va},deps:[]},{provide:Fa,useFactory:function(){return $a},deps:[]},{provide:ll,useFactory:function(t){return oa(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Ti(ll),new Ci,new Ei]]},{provide:ul,useValue:"USD"}];let tu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(wi(Gl))},t.\u0275mod=it({type:t}),t.\u0275inj=y({providers:Xl}),t})()},16073:function(t,e,i){"use strict";i.d(e,{Zs:function(){return zt},gN:function(){return z},Fj:function(){return p},qu:function(){return Ht},NI:function(){return rt},oH:function(){return yt},u:function(){return Et},sg:function(){return Tt},u5:function(){return Ft},Cf:function(){return m},JU:function(){return u},a5:function(){return Z},JJ:function(){return q},JL:function(){return F},F:function(){return ht},On:function(){return gt},YN:function(){return Rt},wV:function(){return bt},c5:function(){return Bt},UX:function(){return Ut},Q7:function(){return Nt},EJ:function(){return It},kI:function(){return w},_Y:function(){return ft},Kr:function(){return Dt}});var n=i(31572),s=i(61511),o=i(19764),r=i(3148),a=i(79996);let c=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t}),t})(),l=(()=>{class t extends c{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();const u=new n.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,n.Gpc)(()=>p),multi:!0},d=new n.OlP("CompositionEventMode");let p=(()=>{class t extends c{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(d,8))},t.\u0275dir=n.lG2({type:t,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(t,e){1&t&&n.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[n._Bn([h]),n.qOj]}),t})();function g(t){return null==t||0===t.length}function f(t){return null!=t&&"number"==typeof t.length}const m=new n.OlP("NgValidators"),b=new n.OlP("NgAsyncValidators"),_=/^(?=.{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 w{static min(t){return function(t){return e=>{if(g(e.value)||g(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(g(e.value)||g(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return A(t)}static requiredTrue(t){return y(t)}static email(t){return function(t){return g(t.value)||_.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>g(e.value)||!f(e.value)?null:e.value.lengthf(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return v(t)}static nullValidator(t){return null}static compose(t){return R(t)}static composeAsync(t){return O(t)}}function A(t){return g(t.value)?{required:!0}:null}function y(t){return!0===t.value?null:{required:!0}}function v(t){if(!t)return T;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(g(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}function T(t){return null}function C(t){return null!=t}function E(t){const e=(0,n.QGY)(t)?(0,o.D)(t):t;return(0,n.CqO)(e),e}function S(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function k(t,e){return e.map(e=>e(t))}function I(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function R(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return S(k(t,e))}}function x(t){return null!=t?R(I(t)):null}function O(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const i=k(t,e).map(E);return(0,r.D)(i).pipe((0,a.U)(S))}}function P(t){return null!=t?O(I(t)):null}function D(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function M(t){return t._rawValidators}function L(t){return t._rawAsyncValidators}let N=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=x(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t}),t})(),z=(()=>{class t extends N{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t})();class Z extends N{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class B{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let q=(()=>{class t extends B{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(Z,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t})(),F=(()=>{class t extends B{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(z,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t})();function U(t,e){return[...e.path,t]}function H(t,e){Y(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&V(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&V(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function G(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),K(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function j(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Y(t,e){const i=M(t);null!==e.validator?t.setValidators(D(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=L(t);null!==e.asyncValidator?t.setAsyncValidators(D(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();j(e._rawValidators,s),j(e._rawAsyncValidators,s)}function K(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=M(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=L(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return j(e._rawValidators,n),j(e._rawAsyncValidators,n),i}function V(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $(t,e){Y(t,e)}function J(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Q(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function W(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===p?i=t:Object.getPrototypeOf(t.constructor)===l?n=t:s=t}),s||n||i||null}function X(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function tt(t){return(st(t)?t.validators:t)||null}function et(t){return Array.isArray(t)?x(t):t||null}function it(t,e){return(st(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?P(t):t||null}function st(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ot{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=et(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=et(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=E(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof at?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof ct&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){st(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class rt extends ot{constructor(t=null,e,i){super(tt(e),it(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){X(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){X(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class at extends ot{constructor(t,e,i){super(tt(e),it(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof rt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class ct extends ot{constructor(t,e,i){super(tt(e),it(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof rt?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const lt={provide:z,useExisting:(0,n.Gpc)(()=>ht)},ut=(()=>Promise.resolve(null))();let ht=(()=>{class t extends z{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.vpe,this.form=new at({},x(t),P(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ut.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),H(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ut.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),X(this._directives,t)})}addFormGroup(t){ut.then(()=>{const e=this._findContainer(t.path),i=new at({});$(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ut.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ut.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Q(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10))},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([lt]),n.qOj]}),t})();const dt={provide:Z,useExisting:(0,n.Gpc)(()=>gt)},pt=(()=>Promise.resolve(null))();let gt=(()=>{class t extends Z{constructor(t,e,i,s){super(),this.control=new rt,this._registered=!1,this.update=new n.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=W(0,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),J(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?U(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){H(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(t){pt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;pt.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(z,9),n.Y36(m,10),n.Y36(b,10),n.Y36(u,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([dt]),n.qOj,n.TTD]}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const mt={provide:u,useExisting:(0,n.Gpc)(()=>bt),multi:!0};let bt=(()=>{class t extends l{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&n.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[n._Bn([mt]),n.qOj]}),t})(),_t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const wt=new n.OlP("NgModelWithFormControlWarning"),At={provide:Z,useExisting:(0,n.Gpc)(()=>yt)};let yt=(()=>{class t extends Z{constructor(t,e,i,s){super(),this._ngModelWarningConfig=s,this.update=new n.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=W(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&G(e,this,!1),H(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}J(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&G(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10),n.Y36(u,10),n.Y36(wt,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([At]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t})();const vt={provide:z,useExisting:(0,n.Gpc)(()=>Tt)};let Tt=(()=>{class t extends z{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(K(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return H(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){G(t.control||null,t,!1),X(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Q(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(G(e||null,t),i instanceof rt&&(H(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);$(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return K(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&K(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m,10),n.Y36(b,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([vt]),n.qOj,n.TTD]}),t})();const Ct={provide:Z,useExisting:(0,n.Gpc)(()=>Et)};let Et=(()=>{class t extends Z{constructor(t,e,i,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=W(0,s)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),J(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return U(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 t.\u0275fac=function(e){return new(e||t)(n.Y36(z,13),n.Y36(m,10),n.Y36(b,10),n.Y36(u,10),n.Y36(wt,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([Ct]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t})();const St={provide:u,useExisting:(0,n.Gpc)(()=>It),multi:!0};function kt(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let It=(()=>{class t extends l{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);const i=kt(e,t);this.setProperty("value",i)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&n.NdJ("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([St]),n.qOj]}),t})(),Rt=(()=>{class t{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(kt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(It,9))},t.\u0275dir=n.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const xt={provide:u,useExisting:(0,n.Gpc)(()=>Pt),multi:!0};function Ot(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Pt=(()=>{class t extends l{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const i=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(i.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const i=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{class t{constructor(t,e,i){this._element=t,this._renderer=e,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Pt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Mt={provide:m,useExisting:(0,n.Gpc)(()=>Nt),multi:!0},Lt={provide:m,useExisting:(0,n.Gpc)(()=>zt),multi:!0};let Nt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?A(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[n._Bn([Mt])]}),t})(),zt=(()=>{class t extends Nt{validate(t){return this.required?y(t):null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("required",e.required?"":null)},features:[n._Bn([Lt]),n.qOj]}),t})();const Zt={provide:m,useExisting:(0,n.Gpc)(()=>Bt),multi:!0};let Bt=(()=>{class t{constructor(){this._validator=T}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=v(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.uIk("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[n._Bn([Zt]),n.TTD]}),t})(),qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[_t]]}),t})(),Ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[qt]}),t})(),Ut=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:wt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[qt]}),t})(),Ht=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n,s=null,o=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,n=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new at(i,{asyncValidators:o,updateOn:n,validators:s})}control(t,e,i){return new rt(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new ct(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach(i=>{e[i]=this._createControl(t[i])}),e}_createControl(t){return t instanceof rt||t instanceof at||t instanceof ct?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:function(){return new t},token:t,providedIn:Ut}),t})()},40084:function(t,e,i){"use strict";i.d(e,{XC:function(){return z},Bb:function(){return H},ZL:function(){return U}});var n=i(24621),s=i(19861),o=i(11353),r=i(31572),a=i(71522),c=i(87570),l=i(55959),u=i(31450),h=i(31906),d=i(40878),p=i(87254),g=i(61511),f=i(2522),m=i(4253),b=i(75842),_=i(26899),w=i(16073),A=i(66283),y=i(90611),v=i(44689),T=i(43835),C=i(79996),E=i(66599),S=i(60509),k=i(22526);const I=["panel"];function R(t,e){if(1&t&&(r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA()),2&t){const t=e.id,i=r.oxw();r.Q6J("id",i.id)("ngClass",i._classList),r.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const x=["*"];let O=0;class P{constructor(t,e){this.source=t,this.option=e}}class D{}const M=(0,a.Kr)(D),L=new r.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let N=(()=>{class t extends M{constructor(t,e,i,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=c.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new r.vpe,this.opened=new r.vpe,this.closed=new r.vpe,this.optionActivated=new r.vpe,this._classList={},this.id="mat-autocomplete-"+O++,this.inertGroups=(null==n?void 0:n.SAFARI)||!1,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=(0,s.Ig)(t)}set classList(t){this._classList=t&&t.length?(0,s.du)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(L),r.Y36(o.t4))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(r.Rgc,7),r.Gf(I,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.template=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[r.qOj]}),t})(),z=(()=>{class t extends N{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,a.K7,5),r.Suo(i,a.ey,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.optionGroups=t),r.iGM(t=r.CRH())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[r._Bn([{provide:a.HF,useExisting:t}]),r.qOj],ngContentSelectors:x,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,R,3,4,"ng-template"))},directives:[g.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}),t})();const Z=new r.OlP("mat-autocomplete-scroll-strategy"),B={provide:Z,deps:[f.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},q={provide:w.JU,useExisting:(0,r.Gpc)(()=>U),multi:!0};let F=(()=>{class t{constructor(t,e,i,n,s,o,r,a,d,p,g){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=s,this._dir=r,this._formField=a,this._document=d,this._viewportRuler=p,this._defaults=g,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=c.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,u.P)(()=>this.autocomplete&&this.autocomplete.options?(0,h.T)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe((0,y.q)(1),(0,v.w)(()=>this.optionSelections))),this._scrollStrategy=o}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=(0,s.Ig)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,h.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,T.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,T.h)(()=>this._overlayAttached)):(0,d.of)()).pipe((0,C.U)(t=>t instanceof a.rN?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,h.T)((0,p.R)(this._document,"click"),(0,p.R)(this._document,"auxclick"),(0,p.R)(this._document,"touchend")).pipe((0,T.h)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null,n=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.contains(e))&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==b.hY||(0,b.Vb)(t)||t.preventDefault(),this.activeOption&&e===b.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,n=e===b.LH||e===b.JH;this.panelOpen||e===b.Mf?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,y.q)(1)),e=this.autocomplete.options.changes.pipe((0,E.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,S.g)(0));return(0,h.T)(t,e).pipe((0,v.w)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,y.q)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!(0,o.kV)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new _.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===b.hY&&!(0,b.Vb)(t)||t.keyCode===b.LH&&(0,b.Vb)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,n=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let s;s="above"===this.position?n:"below"===this.position?e:[...e,...n],t.withPositions(s)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,i=(0,a.CB)(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else if(e.panel){const i=e.options.toArray()[t];if(i){const t=i._getHostElement(),n=(0,a.jH)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(n)}}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(f.aV),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(Z),r.Y36(k.Is,8),r.Y36(A.G_,9),r.Y36(g.K0,8),r.Y36(m.rL),r.Y36(L,8))},t.\u0275dir=r.lG2({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[r.TTD]}),t})(),U=(()=>{class t extends F{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&r.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[r._Bn([q]),r.qOj]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[B],imports:[[f.U8,a.Ng,a.BQ,g.ez],m.ZD,a.Ng,a.BQ]}),t})()},41050:function(t,e,i){"use strict";i.d(e,{k:function(){return h},g:function(){return d}});var n=i(71522),s=i(24621),o=i(19861),r=i(43490),a=i(31572);let c=0;class l{}const u=(0,n.Id)(l);let h=(()=>{class t extends u{constructor(t,e,i,n,s){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=i,this._renderer=n,this._animationMode=s,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=c++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,o.Ig)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,o.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&`${t}`.trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id",`mat-badge-content-${this._id}`),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}_updateHostAriaDescription(t,e){const i=this._updateTextContent();e&&this._ariaDescriber.removeDescription(i,e),t&&this._ariaDescriber.describe(i,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove(`mat-badge-${this._color}`),t&&e.add(`mat-badge-${t}`)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let i=e.children.length;for(;i--;){const n=e.children[i];n.classList.contains(t)&&e.removeChild(n)}}_stringifyContent(){const t=this.content;return null==t?"":`${t}`}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(s.$s),a.Y36(a.Qsj),a.Y36(r.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&a.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[a.qOj,a.TTD]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.rt,n.BQ],n.BQ]}),t})()},15980:function(t,e,i){"use strict";i.d(e,{lW:function(){return d},ot:function(){return p}});var n=i(71522),s=i(43490),o=i(31572),r=i(24621);const a=["mat-button",""],c=["*"],l=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class u{constructor(t){this._elementRef=t}}const h=(0,n.pj)((0,n.Id)((0,n.Kr)(u)));let d=(()=>{class t extends h{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of l)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(r.tE),o.Y36(s.Qb,8))},t.\u0275cmp=o.Xpm({type:t,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(t,e){if(1&t&&o.Gf(n.wG,5),2&t){let t;o.iGM(t=o.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(o.uIk("disabled",e.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:a,ngContentSelectors:c,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(t,e){1&t&&(o.F$t(),o.TgZ(0,"span",0),o.Hsn(1),o.qZA(),o._UZ(2,"span",1),o._UZ(3,"span",2)),2&t&&(o.xp6(2),o.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[n.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.si,n.BQ],n.BQ]}),t})()},27439:function(t,e,i){"use strict";i.d(e,{a8:function(){return g},kc:function(){return p},dn:function(){return u},dk:function(){return f},QW:function(){return m},$j:function(){return d},n5:function(){return h}});var n=i(43490),s=i(71522),o=i(31572);const r=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"],c=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],l=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t})(),g=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.Qb,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(o.F$t(r),o.Hsn(0),o.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}.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}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:l,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(o.F$t(c),o.Hsn(0),o.TgZ(1,"div",0),o.Hsn(2,1),o.qZA(),o.Hsn(3,2))},encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.BQ],s.BQ]}),t})()},29236:function(t,e,i){"use strict";i.d(e,{oG:function(){return y},p9:function(){return T}});var n=i(19861),s=i(31572),o=i(16073),r=i(71522),a=i(43490),c=i(36337),l=i(24621);const u=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent",clickAction:"check-indeterminate"}}let f=0;const m=g(),b={provide:o.JU,useExisting:(0,s.Gpc)(()=>y),multi:!0};class _{}class w{constructor(t){this._elementRef=t}}const A=(0,r.sb)((0,r.pj)((0,r.Kr)((0,r.Id)(w))));let y=(()=>{class t extends A{constructor(t,e,i,n,o,r,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++f,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||m,this.color=this.defaultColor=this._options.color||m.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,n.Ig)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=(0,n.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=(0,n.Ig)(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new _;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(l.tE),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(a.Qb,8),s.Y36(p,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(r.wG,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([b]),s.qOj],ngContentSelectors:d,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,h,"NoopAnimations"===e._animationMode?0:150))}},directives:[r.wG,c.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.si,r.BQ,c.Q8,v],r.BQ,v]}),t})()},10033:function(t,e,i){"use strict";i.d(e,{HS:function(){return S},oH:function(){return M},qn:function(){return P},Hi:function(){return N}});var n=i(75842),s=i(31572),o=i(71522),r=i(19861),a=i(61511),c=i(43490),l=i(55959),u=i(31906),h=i(90611),d=i(25416),p=i(56238),g=i(24621),f=i(4230),m=i(66283),b=i(11353),_=i(22526),w=i(16073);const A=["*"],y=new s.OlP("MatChipRemove"),v=new s.OlP("MatChipAvatar"),T=new s.OlP("MatChipTrailingIcon");class C{constructor(t){this._elementRef=t}}const E=(0,o.sb)((0,o.pj)((0,o.Kr)(C),"primary"),-1);let S=(()=>{class t extends E{constructor(t,e,i,n,r,a,c,u){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new l.xQ,this._onBlur=new l.xQ,this.selectionChange=new s.vpe,this.destroyed=new s.vpe,this.removed=new s.vpe,this._addHostClassName(),this._chipRippleTarget=a.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new o.IR(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===c,this.tabIndex=null!=u&&parseInt(u)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=(0,r.Ig)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,r.Ig)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t)}get removable(){return this._removable}set removable(t){this._removable=(0,r.Ig)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):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(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),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(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case n.yY:case n.ZH:this.remove(),t.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(b.t4),s.Y36(o.Y2,8),s.Y36(s.sBO),s.Y36(a.K0),s.Y36(c.Qb,8),s.$8M("tabindex"))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,v,5),s.Suo(i,T,5),s.Suo(i,y,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.avatar=t.first),s.iGM(t=s.CRH())&&(e.trailingIcon=t.first),s.iGM(t=s.CRH())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(s.uIk("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),s.ekj("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._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:[s.qOj]}),t})();const k=new s.OlP("mat-chips-default-options");class I{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const R=(0,o.FD)(I);let x=0;class O{constructor(t,e){this.source=t,this.value=e}}let P=(()=>{class t extends R{constructor(t,e,i,n,o,r,a){super(r,n,o,a),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this.ngControl=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new l.xQ,this._uid="mat-chip-list-"+x++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,r.Ig)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,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(t){this._disabled=(0,r.Ig)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,r.Ig)(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return(0,u.T)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return(0,u.T)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return(0,u.T)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return(0,u.T)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new g.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,p.O)(null),(0,d.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 f.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(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&tt.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}}_selectValue(t,e=!0){const i=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new O(this,e)),this.valueChange.emit(e),this._onChange(e),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(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&e._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(_.Is,8),s.Y36(w.F,8),s.Y36(w.sg,8),s.Y36(o.rD),s.Y36(w.a5,10))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,S,5),2&t){let t;s.iGM(t=s.CRH())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.Ikx("id",e._uid),s.uIk("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),s.ekj("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[s._Bn([{provide:m.Eo,useExisting:t}]),s.qOj],ngContentSelectors:A,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),D=0,M=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new s.vpe,this.placeholder="",this.id="mat-chip-list-input-"+D++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=(0,r.Ig)(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=(0,r.Ig)(t)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(t){if(t){if(t.keyCode!==n.Mf||(0,n.Vb)(t,"shiftKey")||this._chipList._allowFocusEscape(),t.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&t.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this.inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this.inputElement.focus(t)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(t){return!(0,n.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(k))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(s.Ikx("id",e.id),s.uIk("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[s.TTD]}),t})();const L={separatorKeyCodes:[n.K5]};let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[o.rD,{provide:k,useValue:L}],imports:[[o.BQ]]}),t})()},71522:function(t,e,i){"use strict";i.d(e,{yN:function(){return _},mZ:function(){return w},_A:function(){return x},rD:function(){return U},sG:function(){return O},K7:function(){return lt},HF:function(){return st},Y2:function(){return X},BQ:function(){return v},X2:function(){return H},uc:function(){return Y},XK:function(){return F},ey:function(){return pt},Ng:function(){return mt},rN:function(){return ht},nP:function(){return it},us:function(){return nt},wG:function(){return tt},si:function(){return et},LF:function(){return Z},IR:function(){return W},CB:function(){return gt},jH:function(){return ft},pj:function(){return C},Kr:function(){return E},Id:function(){return T},FD:function(){return k},dB:function(){return I},sb:function(){return S},E0:function(){return G}});var n=i(31572),s=i(24621),o=i(22526);const r=new n.GfV("12.0.5");var a=i(61511),c=i(19861),l=i(55959),u=i(48318),h=i(11353),d=i(56238),p=i(43490),g=i(75842);function f(t,e){if(1&t&&n._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=n.oxw();n.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function m(t,e){if(1&t&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&t){const t=n.oxw();n.xp6(1),n.hij("(",t.group.label,")")}}const b=["*"];let _=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),w=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const A=new n.GfV("12.0.5"),y=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let v=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,n.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&A.full!==r.full&&console.warn("The Angular Material version ("+A.full+") does not match the Angular CDK version ("+r.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(s.qm),n.LFG(y,8),n.LFG(a.K0))},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[o.vT],o.vT]}),t})();function T(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function E(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,c.Ig)(t)}}}function S(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,c.su)(t):this.defaultTabIndex}}}function k(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.xQ}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function I(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new u.y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const R=new n.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,n.f3M)(n.soG)}});class x{constructor(){this._localeChanges=new l.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const O=new n.OlP("mat-date-formats");let P;try{P="undefined"!=typeof Intl}catch(bt){P=!1}const D={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},M=z(31,t=>String(t+1)),L={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},N=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function z(t,e){const i=Array(t);for(let n=0;n{class t extends x{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return z(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return D[t]}getDateNames(){if(P){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return z(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return M}getDayOfWeekNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return z(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return L[t]}getYearName(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(P){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(N.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(R,8),n.LFG(h.t4))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:x,useClass:Z}],imports:[[h.ud]]}),t})();const q={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 F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:O,useValue:q}],imports:[[B]]}),t})(),U=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function G(t,e,i="mat"){t.changes.pipe((0,d.O)(t)).subscribe(({length:t})=>{j(e,`${i}-2-line`,!1),j(e,`${i}-3-line`,!1),j(e,`${i}-multi-line`,!1),2===t||3===t?j(e,`${i}-${t}-line`,!0):t>3&&j(e,`${i}-multi-line`,!0)})}function j(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v],v]}),t})();class K{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const V={enterDuration:450,exitDuration:400},$=(0,h.i$)({passive:!0}),J=["mousedown","touchstart"],Q=["mouseup","mouseleave","touchend","touchcancel"];class W{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=(0,c.fI)(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},V),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const o=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),r=t-n.left,a=e-n.top,c=s.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=r-o+"px",l.style.top=a-o+"px",l.style.height=2*o+"px",l.style.width=2*o+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const u=new K(this,l,i);return u.state=0,this._activeRipples.add(u),i.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,i.persistent||t&&this._isPointerDown||u.fadeOut()},c),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},V),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,c.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(J))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Q),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,$)})})}_removeTriggerEvents(){this._triggerElement&&(J.forEach(t=>{this._triggerElement.removeEventListener(t,this,$)}),this._pointerUpEventsRegistered&&Q.forEach(t=>{this._triggerElement.removeEventListener(t,this,$)}))}}const X=new n.OlP("mat-ripple-global-options");let tt=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new W(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(h.t4),n.Y36(X,8),n.Y36(p.Qb,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v,h.ud],v]}),t})(),it=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(p.Qb,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[v]]}),t})();const st=new n.OlP("MAT_OPTION_PARENT_COMPONENT");class ot{}const rt=T(ot);let at=0,ct=(()=>{class t extends rt{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+at++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(st,8))},t.\u0275dir=n.lG2({type:t,inputs:{label:"label"},features:[n.qOj]}),t})();const lt=new n.OlP("MatOptgroup");let ut=0;class ht{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let dt=(()=>{class t{constructor(t,e,i,s){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ut++,this.onSelectionChange=new n.vpe,this._stateChanges=new l.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==g.K5&&t.keyCode!==g.L_||(0,g.Vb)(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ht(this,t))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(void 0),n.Y36(ct))},t.\u0275dir=n.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),pt=(()=>{class t extends dt{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(st,8),n.Y36(lt,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(n.Ikx("id",e.id),n.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),n.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:b,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(t,e){1&t&&(n.F$t(),n.YNc(0,f,1,2,"mat-pseudo-checkbox",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,m,2,1,"span",2),n._UZ(4,"div",3)),2&t&&(n.Q6J("ngIf",e.multiple),n.xp6(3),n.Q6J("ngIf",e.group&&e.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,tt,it],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function gt(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),o=0;for(let e=0;ei+n?Math.max(0,t-n+e):i}let mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[et,a.ez,v,nt]]}),t})()},15812:function(t,e,i){"use strict";i.d(e,{Mq:function(){return bt},hl:function(){return vt},FA:function(){return Et},nW:function(){return Ct}});var n=i(24621),s=i(2522),o=i(26899),r=i(61511),a=i(31572),c=i(15980),l=i(4253),u=i(71522),h=i(55959),d=i(87570),p=i(31906),g=i(40878),f=i(75842),m=i(90611),b=i(56238),_=i(43835),w=i(19861),A=i(11353),y=i(10709),v=i(16073),T=i(66283),C=i(80340),E=i(22526);const S=["mat-calendar-body",""];function k(t,e){if(1&t&&(a.TgZ(0,"tr",2),a.TgZ(1,"td",3),a._uU(2),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t.numCols),a.xp6(1),a.hij(" ",t.label," ")}}function I(t,e){if(1&t&&(a.TgZ(0,"td",7),a._uU(1),a.qZA()),2&t){const t=a.oxw(2);a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t._firstRowOffset),a.xp6(1),a.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function R(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"td",8),a.NdJ("click",function(e){const i=a.CHM(t).$implicit;return a.oxw(2)._cellClicked(i,e)}),a.TgZ(1,"div",9),a._uU(2),a.qZA(),a._UZ(3,"div",10),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw().index,s=a.oxw();a.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(n,i))("mat-calendar-body-range-start",s._isRangeStart(t.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",s._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(t.compareValue,n,i))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(t.compareValue,n,i))("mat-calendar-body-comparison-start",s._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",s._isInPreview(t.compareValue)),a.Q6J("ngClass",t.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),a.uIk("data-mat-row",n)("data-mat-col",i)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s._isSelected(t.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",s._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",s.todayValue===t.compareValue),a.xp6(1),a.hij(" ",t.displayValue," ")}}function x(t,e){if(1&t&&(a.TgZ(0,"tr",4),a.YNc(1,I,2,6,"td",5),a.YNc(2,R,4,46,"td",6),a.qZA()),2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.xp6(1),a.Q6J("ngIf",0===i&&n._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",t)}}function O(t,e){if(1&t&&(a.TgZ(0,"th",5),a._uU(1),a.qZA()),2&t){const t=e.$implicit;a.uIk("aria-label",t.long),a.xp6(1),a.Oqu(t.narrow)}}const P=["*"];function D(t,e){}function M(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("_userSelection",function(e){return a.CHM(t),a.oxw()._dateSelected(e)}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("monthSelected",function(e){return a.CHM(t),a.oxw()._monthSelectedInYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"month")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function N(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("yearSelected",function(e){return a.CHM(t),a.oxw()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"year")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function z(t,e){}const Z=["button"];function B(t,e){1&t&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const q=[[["","matDatepickerToggleIcon",""]]],F=["[matDatepickerToggleIcon]"];let U=(()=>{class t{constructor(){this.changes=new h.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class H{constructor(t,e,i,n,s={},o=t,r){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s,this.compareValue=o,this.rawValue=r}}let G=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&j(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:i,numCols:n}=this;(t.rows||e)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!e&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return Y(t,this.startValue,this.endValue)}_isRangeEnd(t){return K(t,this.startValue,this.endValue)}_isInRange(t){return V(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Y(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,i){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let n=this.rows[e][i-1];if(!n){const t=this.rows[e-1];n=t&&t[t.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(t,e,i){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let n=this.rows[e][i+1];if(!n){const t=this.rows[e+1];n=t&&t[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(t){return K(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return V(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Y(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return K(t,this.previewStart,this.previewEnd)}_isInPreview(t){return V(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(j(t)?e=t:j(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b))},t.\u0275cmp=a.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:S,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(a.YNc(0,k,3,6,"tr",0),a.YNc(1,x,3,2,"tr",1)),2&t&&(a.Q6J("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function j(t){return"TD"===t.nodeName}function Y(t,e,i){return null!==i&&e!==i&&t=e&&t===i}function V(t,e,i,n){return n&&null!==e&&null!==i&&e!==i&&t>=e&&t<=i}class ${constructor(t,e){this.start=t,this.end=e}}let J=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new h.xQ,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){const i=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(void 0),a.LFG(u._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})(),Q=(()=>{class t extends J{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(u._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})();const W={provide:J,deps:[[new a.FiY,new a.tp0,J],u._A],useFactory:function(t,e){return t||new Q(e)}},X=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let tt=(()=>{class t{constructor(t,e,i,n,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rangeStrategy=s,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,i=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(i,n,e);let o,r;this._selected instanceof $?(o=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):o=r=this._getDateInCurrentMonth(this._selected),o===e&&r===e||this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case f.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case f.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case f.K5:case f.L_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case f.hY:return void(null==this._previewEnd||(0,f.Vb)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_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 t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const i=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((t,i)=>({long:t,narrow:e[i]}));this._weekdays=i.slice(t).concat(i.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),i=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof $?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36(u.sG,8),a.Y36(u._A,8),a.Y36(E.Is,8),a.Y36(X,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&a.Gf(G,5),2&t){let t;a.iGM(t=a.CRH())&&(e._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:[a.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a.YNc(3,O,2,2,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA(),a.qZA(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.qZA(),a.qZA()),2&t&&(a.xp6(3),a.Q6J("ngForOf",e._weekdays),a.xp6(3),a.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[r.sg,G],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{constructor(t,e,i){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),it(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,i=[];e<24;e++)i.push(t+e),4==i.length&&(this._years.push(i.map(t=>this._createCellForYear(t))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));this.selectedChange.emit(this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case f.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case f.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case f.K5:case f.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),i=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new H(t,i,i,this._shouldEnableYear(t),n)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,b.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(i);const n=this._dateAdapter.getNumDaysInMonth(i);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case f.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case f.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case f.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case f.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case f.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case f.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case f.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case f.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case f.K5:case f.L_:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(i,"year"):void 0;return new H(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(i)==t;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>i||t===i&&e>n}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,i,n,s){this._intl=t,this.calendar=e,this._dateAdapter=i,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+rt++,this.calendar.stateChanges.subscribe(()=>s.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)-nt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(i,n)}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(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):it(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36((0,a.Gpc)(()=>ct)),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:P,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[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(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"button",2),a.NdJ("click",function(){return e.currentPeriodClicked()}),a.TgZ(3,"span"),a._uU(4),a.qZA(),a._UZ(5,"div",3),a.qZA(),a._UZ(6,"div",4),a.Hsn(7),a.TgZ(8,"button",5),a.NdJ("click",function(){return e.previousClicked()}),a.qZA(),a.TgZ(9,"button",6),a.NdJ("click",function(){return e.nextClicked()}),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(2),a.uIk("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),a.xp6(1),a.uIk("id",e._buttonDescriptionId),a.xp6(1),a.Oqu(e.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==e.calendar.currentView),a.xp6(3),a.Q6J("disabled",!e.previousEnabled()),a.uIk("aria-label",e.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!e.nextEnabled()),a.uIk("aria-label",e.nextButtonLabel))},directives:[c.lW,n.Qr],encapsulation:2,changeDetection:0}),t})(),ct=(()=>{class t{constructor(t,e,i,n){this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this.stateChanges=new h.xQ,this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof $?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new o.C5(this.headerComponent||at),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(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof $||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(a.Gf(tt,5),a.Gf(ot,5),a.Gf(et,5)),2&t){let t;a.iGM(t=a.CRH())&&(e.monthView=t.first),a.iGM(t=a.CRH())&&(e.yearView=t.first),a.iGM(t=a.CRH())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a._Bn([W]),a.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(t,e){1&t&&(a.YNc(0,D,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,M,1,8,"mat-month-view",2),a.YNc(3,L,1,6,"mat-year-view",3),a.YNc(4,N,1,6,"mat-multi-year-view",4),a.qZA()),2&t&&(a.Q6J("cdkPortalOutlet",e._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",e.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},directives:[o.Pl,n.kH,r.RF,r.n9,tt,ot,et],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(33% / 7 - 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:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;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}.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}),t})();const lt={transformPanel:(0,y.X$)("transformPanel",[(0,y.eR)("void => enter-dropdown",(0,y.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,y.F4)([(0,y.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,y.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,y.eR)("void => enter-dialog",(0,y.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,y.F4)([(0,y.oB)({opacity:0,transform:"scale(0.7)"}),(0,y.oB)({transform:"none",opacity:1})]))),(0,y.eR)("* => void",(0,y.jt)("100ms linear",(0,y.oB)({opacity:0})))]),fadeInCalendar:(0,y.X$)("fadeInCalendar",[(0,y.SB)("void",(0,y.oB)({opacity:0})),(0,y.SB)("enter",(0,y.oB)({opacity:1})),(0,y.eR)("void => *",(0,y.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ut=0;const ht=new a.OlP("mat-datepicker-scroll-strategy"),dt={provide:ht,deps:[s.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class pt{constructor(t){this._elementRef=t}}const gt=(0,u.pj)(pt);let ft=(()=>{class t extends gt{constructor(t,e,i,n,s,o){super(t),this._changeDetectorRef=e,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=s,this._subscriptions=new d.w,this._animationDone=new h.xQ,this._actionsPortal=null,this._closeButtonText=o.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(t){const e=this._model.selection,i=t.value,n=e instanceof $;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(i,e,t.event);this._model.updateSelection(n,this)}else!i||!n&&this._dateAdapter.sameDate(i,e)||this._model.add(i);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 t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(J),a.Y36(u._A),a.Y36(X,8),a.Y36(U))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&a.Gf(ct,5),2&t){let t;a.iGM(t=a.CRH())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&a.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(a.d8E("@transformPanel",e._animationState),a.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",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(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"mat-calendar",1),a.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),a.qZA(),a.YNc(2,z,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),a._uU(4),a.qZA(),a.qZA()),2&t&&(a.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),a.xp6(1),a.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),a.xp6(1),a.Q6J("cdkPortalOutlet",e._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!e._closeButtonFocused),a.Q6J("color",e.color||"primary"),a.xp6(1),a.Oqu(e._closeButtonText))},directives:[n.mK,ct,r.mk,o.Pl,c.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[lt.transformPanel,lt.fadeInCalendar]},changeDetection:0}),t})(),mt=(()=>{class t{constructor(t,e,i,n,s,o,r,c,l){this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=o,this._dir=r,this._model=l,this._inputStateChanges=d.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+ut++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.xQ,this._scrollStrategy=s}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=(0,w.Ig)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=(0,w.Ig)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=(0,w.Ig)(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,w.du)(t)}get opened(){return this._opened}set opened(t){(0,w.Ig)(t)?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(t){const e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){const t=this._overlayRef.getConfig().positionStrategy;t instanceof s._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(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,A.ht)(),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,m.q)(1)).subscribe(()=>this._destroyOverlay())}const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const t=this.touchUi,e=this.datepickerInput.getOverlayLabelId(),i=new o.C5(ft,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new s.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),r=n.overlayElement;r.setAttribute("role","dialog"),e&&r.setAttribute("aria-labelledby",e),t&&r.setAttribute("aria-modal","true"),this._getCloseStream(n).subscribe(t=>{t&&t.preventDefault(),this.close()}),this._componentRef=n.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>n.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",i="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",s="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:s,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:s},{originX:i,originY:s,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:s}])}_getCloseStream(t){return(0,p.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,_.h)(t=>t.keyCode===f.hY&&!(0,f.Vb)(t)||this.datepickerInput&&(0,f.Vb)(t,"altKey")&&t.keyCode===f.LH)))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(s.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ht),a.Y36(u._A,8),a.Y36(E.Is,8),a.Y36(r.K0,8),a.Y36(J))},t.\u0275dir=a.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),t})(),bt=(()=>{class t extends mt{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=a.n5z(t)))(i||t)}}(),t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([W,{provide:mt,useExisting:t}]),a.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();class _t{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let wt=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new h.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=d.w.EMPTY,this._localeSubscription=d.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMinDate();return!i||!e||this._dateAdapter.compareDate(i,e)<=0?null:{matDatepickerMin:{min:i,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMaxDate();return!i||!e||this._dateAdapter.compareDate(i,e)>=0?null:{matDatepickerMax:{max:i,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=(0,w.Ig)(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&i.blur&&i.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new _t(this,this._elementRef.nativeElement)),this.dateChange.emit(new _t(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const i=Object.keys(t);for(let n of i){const{previousValue:i,currentValue:s}=t[n];if(!e.isDateInstance(i)||!e.isDateInstance(s))return!0;if(!e.sameDate(i,s))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===f.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._dateAdapter.sameDate(i,this.value)?(t&&!this.value&&this._cvaOnChange(i),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(i),this._cvaOnChange(i),this.dateInput.emit(new _t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new _t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8))},t.\u0275dir=a.lG2({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),t})();const At={provide:v.JU,useExisting:(0,a.Gpc)(()=>vt),multi:!0},yt={provide:v.Cf,useExisting:(0,a.Gpc)(()=>vt),multi:!0};let vt=(()=>{class t extends wt{constructor(t,e,i,n){super(t,e,i),this._formField=n,this._closedSubscription=d.w.EMPTY,this._validator=v.kI.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&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(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(T.G_,8))},t.\u0275dir=a.lG2({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&a.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(a.Ikx("disabled",e.disabled),a.uIk("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([At,yt,{provide:C.Jk,useExisting:t}]),a.qOj]}),t})(),Tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Ct=(()=>{class t{constructor(t,e,i){this._intl=t,this._changeDetectorRef=e,this._stateChanges=d.w.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=(0,w.Ig)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,g.of)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,g.of)(),i=this.datepicker?(0,p.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,g.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,p.T)(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(U),a.Y36(a.sBO),a.$8M("tabindex"))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,Tt,5),2&t){let t;a.iGM(t=a.CRH())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(Z,5),2&t){let t;a.iGM(t=a.CRH())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&a.NdJ("click",function(t){return e._open(t)}),2&t&&(a.uIk("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:F,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(t,e){1&t&&(a.F$t(q),a.TgZ(0,"button",0,1),a.YNc(2,B,2,0,"svg",2),a.Hsn(3),a.qZA()),2&t&&(a.Q6J("disabled",e.disabled)("disableRipple",e.disableRipple),a.uIk("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),a.xp6(2),a.Q6J("ngIf",!e._customIcon))},directives:[c.lW,r.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}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[U,dt],imports:[[r.ez,c.ot,s.U8,n.rt,o.eL,u.BQ],l.ZD]}),t})()},84608:function(t,e,i){"use strict";i.d(e,{WI:function(){return k},uw:function(){return P},H8:function(){return N},vA:function(){return A},xY:function(){return L},Is:function(){return z},so:function(){return E},uh:function(){return M}});var n=i(2522),s=i(26899),o=i(31572),r=i(71522),a=i(22526),c=i(61511),l=i(55959),u=i(31450),h=i(40878),d=i(43835),p=i(90611),g=i(56238),f=i(11353),m=i(10709),b=i(75842),_=i(24621);function w(t,e){}class A{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const y={dialogContainer:(0,m.X$)("dialogContainer",[(0,m.SB)("void, exit",(0,m.oB)({opacity:0,transform:"scale(0.7)"})),(0,m.SB)("enter",(0,m.oB)({transform:"none"})),(0,m.eR)("* => enter",(0,m.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,m.oB)({transform:"none",opacity:1}))),(0,m.eR)("* => void, * => exit",(0,m.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,m.oB)({opacity:0})))])};let v=(()=>{class t extends s.en{constructor(t,e,i,n,s,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._focusMonitor=r,this._animationStateChanged=new o.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,f.ht)(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,f.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,f.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(_.qV),o.Y36(o.sBO),o.Y36(c.K0,8),o.Y36(A),o.Y36(_.tE))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(s.Pl,7),2&t){let t;o.iGM(t=o.CRH())&&(e._portalOutlet=t.first)}},features:[o.qOj]}),t})(),T=(()=>{class t extends v{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(o.Ikx("id",e._id),o.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o.d8E("@dialogContainer",e._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.YNc(0,w,0,0,"ng-template",0)},directives:[s.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:[y.dialogContainer]}}),t})(),C=0;class E{constructor(t,e,i="mat-dialog-"+C++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.xQ,this._afterClosed=new l.xQ,this._beforeClosed=new l.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===b.hY&&!this.disableClose&&!(0,b.Vb)(t))).subscribe(t=>{t.preventDefault(),S(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():S(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function S(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const k=new o.OlP("MatDialogData"),I=new o.OlP("mat-dialog-default-options"),R=new o.OlP("mat-dialog-scroll-strategy"),x={provide:R,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let O=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.xQ,this._afterOpenedAtThisLevel=new l.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,g.O)(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new A)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:A,useValue:e}]}),n=new s.C5(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const r=new this._dialogRefConstructor(i,e,n.id);if(t instanceof o.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:n.data,dialogRef:r}));else{const i=this._createInjector(n,r,e),o=e.attachComponentPortal(new s.C5(t,n.viewContainerRef,i));r.componentInstance=o.instance}return r.updateSize(n.width,n.height).updatePosition(n.position),r}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(a.Is,null,o.XFs.Optional)||s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),o.zs3.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(n.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},t.\u0275dir=o.lG2({type:t}),t})(),P=(()=>{class t extends O{constructor(t,e,i,n,s,o,r){super(t,e,n,o,r,s,E,T,k)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(n.aV),o.LFG(o.zs3),o.LFG(c.Ye,8),o.LFG(I,8),o.LFG(R),o.LFG(t,12),o.LFG(n.Xj))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),D=0,M=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+D++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(E,8),o.Y36(o.SBq),o.Y36(P))},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[P,x],imports:[[n.U8,s.eL,r.BQ],r.BQ]}),t})()},27679:function(t,e,i){"use strict";i.d(e,{d:function(){return r},t:function(){return a}});var n=i(19861),s=i(71522),o=i(31572);let r=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,n.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,n.Ig)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},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}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.BQ],s.BQ]}),t})()},45001:function(t,e,i){"use strict";i.d(e,{pp:function(){return H},To:function(){return G},ib:function(){return B},HS:function(){return N},u4:function(){return F},yz:function(){return q},yK:function(){return U}});var n=i(31572),s=i(19861),o=i(55959),r=i(87570),a=i(4230);let c=0;const l=new n.OlP("CdkAccordion");let u=(()=>{class t{constructor(){this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+c++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,s.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n._Bn([{provide:l,useExisting:t}]),n.TTD]}),t})(),h=0,d=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=r.w.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+h++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,s.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=(0,s.Ig)(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(l,12),n.Y36(n.sBO),n.Y36(a.A8))},t.\u0275dir=n.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:l,useValue:void 0}])]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();var g=i(26899),f=i(61511),m=i(71522),b=i(24621),_=i(98720),w=i(56238),A=i(43835),y=i(90611),v=i(75842),T=i(43490),C=i(70653),E=i(31906),S=i(10709);const k=["body"];function I(t,e){}const R=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],x=["mat-expansion-panel-header","*","mat-action-row"];function O(t,e){if(1&t&&n._UZ(0,"span",2),2&t){const t=n.oxw();n.Q6J("@indicatorRotate",t._getExpandedState())}}const P=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],D=["mat-panel-title","mat-panel-description","*"],M=new n.OlP("MAT_ACCORDION"),L={indicatorRotate:(0,S.X$)("indicatorRotate",[(0,S.SB)("collapsed, void",(0,S.oB)({transform:"rotate(0deg)"})),(0,S.SB)("expanded",(0,S.oB)({transform:"rotate(180deg)"})),(0,S.eR)("expanded <=> collapsed, void => collapsed",(0,S.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,S.X$)("bodyExpansion",[(0,S.SB)("collapsed, void",(0,S.oB)({height:"0px",visibility:"hidden"})),(0,S.SB)("expanded",(0,S.oB)({height:"*",visibility:"visible"})),(0,S.eR)("expanded <=> collapsed, void => collapsed",(0,S.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let N=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),z=0;const Z=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class t extends d{constructor(t,e,i,s,r,a,c){super(t,e,i),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new o.xQ,this._headerId="mat-expansion-panel-header-"+z++,this._bodyAnimationDone=new o.xQ,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe((0,_.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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,w.O)(null),(0,A.h)(()=>this.expanded&&!this._portal),(0,y.q)(1)).subscribe(()=>{this._portal=new g.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(M,12),n.Y36(n.sBO),n.Y36(a.A8),n.Y36(n.s_b),n.Y36(f.K0),n.Y36(T.Qb,8),n.Y36(Z,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,N,5),2&t){let t;n.iGM(t=n.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&n.Gf(k,5),2&t){let t;n.iGM(t=n.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&n.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:M,useValue:void 0}]),n.qOj,n.TTD],ngContentSelectors:x,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(n.F$t(R),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,I,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),n.uIk("aria-labelledby",e._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",e._portal))},directives:[g.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[L.bodyExpansion]},changeDetection:0}),t})(),q=(()=>{class t{constructor(t,e,i,n,s,o){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=o,this._parentChangeSubscription=r.w.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe((0,A.h)(t=>!(!t.hideToggle&&!t.togglePosition))):C.E;this._parentChangeSubscription=(0,E.T)(t.opened,t.closed,a,t._inputChanges.pipe((0,A.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,A.h)(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case v.L_:case v.K5:(0,v.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(B,1),n.Y36(n.SBq),n.Y36(b.tE),n.Y36(n.sBO),n.Y36(Z,8),n.Y36(T.Qb,8))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(n.uIk("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),n.Udp("height",e._getHeaderHeight()),n.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:D,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(n.F$t(P),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,O,1,1,"span",1)),2&t&&(n.xp6(4),n.Q6J("ngIf",e._showToggle()))},directives:[f.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}[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:""}\n'],encapsulation:2,data:{animation:[L.indicatorRotate]},changeDetection:0}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),H=(()=>{class t extends u{constructor(){super(...arguments),this._ownHeaders=new n.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,w.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new b.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,q,5),2&t){let t;n.iGM(t=n.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&n.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n._Bn([{provide:M,useExisting:t}]),n.qOj]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[f.ez,m.BQ,p,g.eL]]}),t})()},66283:function(t,e,i){"use strict";i.d(e,{G_:function(){return W},TO:function(){return z},KE:function(){return X},Eo:function(){return B},lN:function(){return tt},bx:function(){return U},hX:function(){return H},UY:function(){return G},R9:function(){return K}});var n=i(36337),s=i(61511),o=i(31572),r=i(71522),a=i(19861),c=i(55959),l=i(31906),u=i(87254),h=i(56238),d=i(25416),p=i(90611),g=i(10709),f=i(43490),m=i(22526),b=i(11353);const _=["underline"],w=["connectionContainer"],A=["inputContainer"],y=["label"];function v(t,e){1&t&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function T(t,e){1&t&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function C(t,e){if(1&t&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&t){const t=o.oxw(2);o.xp6(3),o.Oqu(t._control.placeholder)}}function E(t,e){1&t&&o.Hsn(0,3,["*ngSwitchCase","true"])}function S(t,e){1&t&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function k(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(t),o.oxw().updateOutlineGap()}),o.YNc(2,C,4,1,"ng-container",12),o.YNc(3,E,1,0,"ng-content",12),o.YNc(4,S,2,0,"span",22),o.qZA()}if(2&t){const t=o.oxw();o.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),o.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),o.uIk("for",t._control.id)("aria-owns",t._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function I(t,e){1&t&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function R(t,e){if(1&t&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&t){const t=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function x(t,e){if(1&t&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&t){const t=o.oxw();o.Q6J("@transitionMessages",t._subscriptAnimationState)}}function O(t,e){if(1&t&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.Q6J("id",t._hintLabelId),o.xp6(1),o.Oqu(t.hintLabel)}}function P(t,e){if(1&t&&(o.TgZ(0,"div",28),o.YNc(1,O,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&t){const t=o.oxw();o.Q6J("@transitionMessages",t._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",t.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let L=0;const N=new o.OlP("MatError");let z=(()=>{class t{constructor(t,e){this.id="mat-error-"+L++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(o.$8M("aria-live"),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("id",e.id)},inputs:{id:"id"},features:[o._Bn([{provide:N,useExisting:t}])]}),t})();const Z={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t}),t})(),q=0;const F=new o.OlP("MatHint");let U=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+q++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o.uIk("id",e.id)("align",null),o.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[o._Bn([{provide:F,useExisting:t}])]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-label"]]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const j=new o.OlP("MatPrefix"),Y=new o.OlP("MatSuffix");let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:Y,useExisting:t}])]}),t})(),V=0;class ${constructor(t){this._elementRef=t}}const J=(0,r.pj)($,"primary"),Q=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),W=new o.OlP("MatFormField");let X=(()=>{class t extends J{constructor(t,e,i,n,s,o,r,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new c.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+V++,this._labelId="mat-form-field-label-"+V++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,l.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=t.children,a=this._getStartEnd(r[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[s.ez,r.BQ,n.Q8],r.BQ]}),t})()},43691:function(t,e,i){"use strict";i.d(e,{Hw:function(){return D},Ps:function(){return M},jv:function(){return C}});var n=i(31572),s=i(71522),o=i(19861),r=i(61511),a=i(40878),c=i(31225),l=i(3148),u=i(87570),h=i(66599),d=i(79996),p=i(47727),g=i(11520),f=i(1055),m=i(90611),b=i(29063),_=i(30269);const w=["*"];function A(t){return Error(`Unable to find icon with the name "${t}"`)}function y(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function v(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class T{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let C=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new T(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,s){const o=this._sanitizer.sanitize(n.q3G.HTML,i);if(!o)throw v(i);return this._addSvgIconConfig(t,e,new T("",o,s))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new T(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const s=this._sanitizer.sanitize(n.q3G.HTML,e);if(!s)throw v(e);return this._addSvgIconSetConfig(t,new T("",s,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t);if(!e)throw y(t);const i=this._cachedIconsByUrl.get(e);return i?(0,a.of)(E(i)):this._loadSvgIconFromConfig(new T(t,null)).pipe((0,h.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,d.U)(t=>E(t)))}getNamedSvgIcon(t,e=""){const i=S(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,c._)(A(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,a.of)(E(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,d.U)(t=>E(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);if(i)return(0,a.of)(i);const s=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,p.K)(e=>{const i=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),(0,a.of)(null)})));return(0,l.D)(s).pipe((0,d.U)(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw A(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e),(0,d.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,a.of)(null):this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const o=this._svgElementFromString("");return o.appendChild(s),this._setSvgAttributes(o,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),(0,f.B)());return this._inProgressUrlFetches.set(r,c),c}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(S(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),x=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],O=x.map(t=>`[${t}]`).join(", "),P=/^url\(['"]?#(.*?)['"]?\)$/;let D=(()=>{class t extends I{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,o.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(O),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],o=s.getAttribute(t),r=o?o.match(P):null;if(r){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:r[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe((0,m.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(C),n.$8M("aria-hidden"),n.Y36(R),n.Y36(n.qLn))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(n.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),n.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:w,decls:1,vars:0,template:function(t,e){1&t&&(n.F$t(),n.Hsn(0))},styles:[".mat-icon{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}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.BQ],s.BQ]}),t})()},80340:function(t,e,i){"use strict";i.d(e,{Jk:function(){return d},Nt:function(){return b},c:function(){return _},D7:function(){return h}});var n=i(10901),s=i(31572),o=i(19861),r=i(11353),a=i(71522),c=i(66283),l=i(55959),u=i(16073);let h=(()=>{class t extends n.IC{get matAutosizeMinRows(){return this.minRows}set matAutosizeMinRows(t){this.minRows=t}get matAutosizeMaxRows(){return this.maxRows}set matAutosizeMaxRows(t){this.maxRows=t}get matAutosize(){return this.enabled}set matAutosize(t){this.enabled=t}get matTextareaAutosize(){return this.enabled}set matTextareaAutosize(t){this.enabled=t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[s.qOj]}),t})();const d=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class f{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const m=(0,a.FD)(f);let b=(()=>{class t extends m{constructor(t,e,i,n,s,o,a,c,u,h){super(o,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new l.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,r.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=a||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,r.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,o.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(r.t4),s.Y36(u.a5,10),s.Y36(u.F,8),s.Y36(u.sg,8),s.Y36(a.rD),s.Y36(d,10),s.Y36(n.Lq),s.Y36(s.R0b),s.Y36(c.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:c.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[a.rD],imports:[[n.Ky,c.lN,a.BQ],n.Ky,c.lN]}),t})()},85250:function(t,e,i){"use strict";i.d(e,{i$:function(){return w},Tg:function(){return v},ie:function(){return T}});var n=i(61511),s=i(31572),o=i(71522),r=i(19861),a=i(55959),c=i(25416),l=(i(56238),i(24621),i(4230),i(75842),i(16073),i(27679));const u=["*"],h=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],d=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class p{}const g=(0,o.Id)((0,o.Kr)(p));class f{}const m=(0,o.Kr)(f),b=new s.OlP("MatList"),_=new s.OlP("MatNavList");let w=(()=>{class t extends g{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.xQ,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s._Bn([{provide:b,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:u,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),v=(()=>{class t extends m{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.xQ,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,c.R)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=(0,r.Ig)(t)}ngAfterContentInit(){(0,o.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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(_,8),s.Y36(b,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,A,5),s.Suo(i,y,5),s.Suo(i,o.X2,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:d,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(t,e){1&t&&(s.F$t(h),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.Hsn(2),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[o.wG],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.uc,o.si,o.BQ,o.us,n.ez],o.uc,o.BQ,o.us,l.t]}),t})()},8055:function(t,e,i){"use strict";i.d(e,{VK:function(){return Z},OP:function(){return M},Tx:function(){return G},p6:function(){return U}});var n=i(24621),s=i(19861),o=i(75842),r=i(31572),a=i(55959),c=i(87570),l=i(31906),u=i(40878),h=i(92709),d=i(56238),p=i(44689),g=i(90611),f=i(43835),m=i(25416),b=i(60509),_=i(10709),w=i(26899),A=i(61511),y=i(71522),v=i(2522),T=i(11353),C=i(4253),E=i(22526);const S=["mat-menu-item",""],k=["*"];function I(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",0),r.NdJ("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)})("click",function(){return r.CHM(t),r.oxw().closed.emit("click")})("@transformMenu.start",function(e){return r.CHM(t),r.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return r.CHM(t),r.oxw()._onAnimationDone(e)}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),r.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const R={transformMenu:(0,_.X$)("transformMenu",[(0,_.SB)("void",(0,_.oB)({opacity:0,transform:"scale(0.8)"})),(0,_.eR)("void => enter",(0,_.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({opacity:1,transform:"scale(1)"}))),(0,_.eR)("* => void",(0,_.jt)("100ms 25ms linear",(0,_.oB)({opacity:0})))]),fadeInItems:(0,_.X$)("fadeInItems",[(0,_.SB)("showing",(0,_.oB)({opacity:1})),(0,_.eR)("void => *",[(0,_.oB)({opacity:0}),(0,_.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},x=new r.OlP("MatMenuContent"),O=new r.OlP("MAT_MENU_PANEL");class P{}const D=(0,y.Kr)((0,y.Id)(P));let M=(()=>{class t extends D{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new a.xQ,this._focused=new a.xQ,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new r.n_E,this._tabSubscription=c.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+N++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,s.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,s.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,l.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,l.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case o.hY:(0,o.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case o.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case o.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==o.LH&&e!==o.JH||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(L))},t.\u0275dir=r.lG2({type:t,contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,x,5),r.Suo(i,M,5),r.Suo(i,M,4)),2&t){let t;r.iGM(t=r.CRH())&&(e.lazyContent=t.first),r.iGM(t=r.CRH())&&(e._allItems=t),r.iGM(t=r.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(r.Rgc,5),2&t){let t;r.iGM(t=r.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),Z=(()=>{class t extends z{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(L))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&r.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[r._Bn([{provide:O,useExisting:t}]),r.qOj],ngContentSelectors:k,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,I,3,6,"ng-template"))},directives:[A.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[R.transformMenu,R.fadeInItems]},changeDetection:0}),t})();const B=new r.OlP("mat-menu-scroll-strategy"),q={provide:B,deps:[v.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},F=(0,T.i$)({passive:!0});let U=(()=>{class t{constructor(t,e,i,s,o,a,l,u){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=a,this._dir=l,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w.EMPTY,this._hoverSubscription=c.w.EMPTY,this._menuCloseSubscription=c.w.EMPTY,this._handleTouchStart=t=>{(0,n.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=o instanceof z?o:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,F),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,F),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof z&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof z?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,f.h)(t=>"void"===t.toState),(0,g.q)(1),(0,m.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new v.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[n,s],[a,c]=[e,i],l=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",l="bottom"===n?8:-8):this.menu.overlapTrigger||(o="top"===n?"bottom":"top",r="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:o,overlayX:a,overlayY:n,offsetY:l},{originX:i,originY:o,overlayX:c,overlayY:n,offsetY:l},{originX:e,originY:r,overlayX:a,overlayY:s,offsetY:-l},{originX:i,originY:r,overlayX:c,overlayY:s,offsetY:-l}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,f.h)(t=>t!==this._menuItemInstance),(0,f.h)(()=>this._menuOpen)):(0,u.of)();return(0,l.T)(t,i,n,e)}_handleMousedown(t){(0,n.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==o.K5&&e!==o.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===o.SV&&"ltr"===this.dir||e===o.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,f.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,b.g)(0,h.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof z&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),(0,b.g)(0,h.e),(0,m.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new w.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(v.aV),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(B),r.Y36(O,8),r.Y36(M,10),r.Y36(E.Is,8),r.Y36(n.tE))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&r.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[q],imports:[y.BQ]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[q],imports:[[A.ez,y.BQ,y.si,v.U8,H],C.ZD,y.BQ,H]}),t})()},73005:function(t,e,i){"use strict";i.d(e,{NW:function(){return C},TU:function(){return E}});var n=i(61511),s=i(31572),o=i(71522),r=i(15980),a=i(4786),c=i(36922),l=i(19861),u=i(55959),h=i(66283);function d(t,e){if(1&t&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function p(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",16),s.TgZ(1,"mat-select",17),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw(2)._changePageSize(e.value)}),s.YNc(2,d,2,2,"mat-option",18),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("appearance",t._formFieldAppearance)("color",t.color),s.xp6(1),s.Q6J("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",t._displayedPageSizeOptions)}}function g(t,e){if(1&t&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.pageSize)}}function f(t,e){if(1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,p,3,6,"mat-form-field",14),s.YNc(4,g,2,1,"div",15),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function m(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(t),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.uIk("aria-label",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.uIk("aria-label",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new u.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const w={provide:_,deps:[[new s.FiY,new s.tp0,_]],useFactory:function(t){return t||new _}},A=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS");class y{}const v=(0,o.Id)((0,o.dB)(y));let T=(()=>{class t extends v{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max((0,l.su)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=(0,l.su)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max((0,l.su)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>(0,l.su)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=(0,l.Ig)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=(0,l.Ig)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(_),s.Y36(s.sBO),s.Y36(void 0))},t.\u0275dir=s.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[s.qOj]}),t})(),C=(()=>{class t extends T{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(_),s.Y36(s.sBO),s.Y36(A,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,f,5,3,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,m,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return e.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA(),s.qZA(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return e.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA(),s.qZA(),s.YNc(13,b,3,5,"button",11),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hidePageSize),s.xp6(3),s.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.xp6(1),s.Q6J("ngIf",e.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.uIk("aria-label",e._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.uIk("aria-label",e._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",e.showFirstLastButtons))},directives:[n.O5,r.lW,c.gM,h.KE,a.gD,n.sg,o.ey],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)}\n"],encapsulation:2,changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[w],imports:[[n.ez,r.ot,a.LD,c.AV,o.BQ]]}),t})()},45994:function(t,e,i){"use strict";i.d(e,{Cv:function(){return r}});var n=i(31572),s=i(61511),o=i(71522);i(19861),i(43490),i(87570),i(87254),i(43835);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.ez,o.BQ],o.BQ]}),t})()},67806:function(t,e,i){"use strict";i.d(e,{Cq:function(){return w},$g:function(){return _}});var n=i(31572),s=i(61511),o=i(71522),r=i(19861),a=i(11353),c=i(43490);function l(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(n.O4$(),n._UZ(0,"circle",3)),2&t){const t=n.oxw();n.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),n.uIk("r",t._getCircleRadius())}}const p=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class g{constructor(t){this._elementRef=t}}const f=(0,o.pj)(g,"primary"),m=new n.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b=(()=>{class t extends f{constructor(e,i,n,s,o){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,r.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,r.su)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,r.su)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=(0,a.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(a.t4),n.Y36(s.K0,8),n.Y36(c.Qb,8),n.Y36(m))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(n.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),n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[n.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(n.O4$(),n.TgZ(0,"svg",0),n.YNc(1,l,1,9,"circle",1),n.YNc(2,u,1,7,"circle",2),n.qZA()),2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.Q6J("ngSwitch","indeterminate"===e.mode),n.uIk("viewBox",e._getViewBox()),n.xp6(1),n.Q6J("ngSwitchCase",!0),n.xp6(1),n.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),_=(()=>{class t extends b{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(a.t4),n.Y36(s.K0,8),n.Y36(c.Qb,8),n.Y36(m))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[n.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(n.O4$(),n.TgZ(0,"svg",0),n.YNc(1,h,1,9,"circle",1),n.YNc(2,d,1,7,"circle",2),n.qZA()),2&t&&(n.Udp("width",e.diameter,"px")("height",e.diameter,"px"),n.Q6J("ngSwitch","indeterminate"===e.mode),n.uIk("viewBox",e._getViewBox()),n.xp6(1),n.Q6J("ngSwitchCase",!0),n.xp6(1),n.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[o.BQ,s.ez],o.BQ]}),t})()},54810:function(t,e,i){"use strict";i.d(e,{U0:function(){return T},VQ:function(){return w},Fk:function(){return C}});var n=i(31572),s=i(71522),o=i(19861),r=i(16073),a=i(43490),c=i(24621),l=i(4230);const u=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new n.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let g=0;const f={provide:r.JU,useExisting:(0,n.Gpc)(()=>w),multi:!0};class m{constructor(t,e){this.source=t,this.value=e}}const b=new n.OlP("MatRadioGroup");let _=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+g++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.vpe}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._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 m(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO))},t.\u0275dir=n.lG2({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),w=(()=>{class t extends _{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275dir=n.lG2({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){if(1&t&&n.Suo(i,T,5),2&t){let t;n.iGM(t=n.CRH())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n._Bn([f,{provide:b,useExisting:t}]),n.qOj]}),t})();class A{constructor(t){this._elementRef=t}}const y=(0,s.Kr)((0,s.sb)(A));let v=(()=>{class t extends y{constructor(t,e,i,s,r,a,c,l){super(e),this._changeDetector=i,this._focusMonitor=s,this._radioDispatcher=r,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++g,this.id=this._uniqueId,this.change=new n.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===a,l&&(this.tabIndex=(0,o.su)(l,0)),this._removeUniqueSelectionListener=r.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=(0,o.Ig)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled((0,o.Ig)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=(0,o.Ig)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new m(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(_),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(c.tE),n.Y36(l.A8),n.Y36(String),n.Y36(void 0),n.Y36(String))},t.\u0275dir=n.lG2({type:t,viewQuery:function(t,e){if(1&t&&n.Gf(u,5),2&t){let t;n.iGM(t=n.CRH())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[n.qOj]}),t})(),T=(()=>{class t extends v{constructor(t,e,i,n,s,o,r,a){super(t,e,i,n,s,o,r,a)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(b,8),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(c.tE),n.Y36(l.A8),n.Y36(a.Qb,8),n.Y36(p,8),n.$8M("tabindex"))},t.\u0275cmp=n.Xpm({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&n.NdJ("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(n.uIk("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.ekj("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable",e._noopAnimations)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.qOj],ngContentSelectors:d,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(n.F$t(),n.TgZ(0,"label",0,1),n.TgZ(2,"span",2),n._UZ(3,"span",3),n._UZ(4,"span",4),n.TgZ(5,"input",5,6),n.NdJ("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),n.qZA(),n.TgZ(7,"span",7),n._UZ(8,"span",8),n.qZA(),n.qZA(),n.TgZ(9,"span",9),n.TgZ(10,"span",10),n._uU(11,"\xa0"),n.qZA(),n.Hsn(12),n.qZA(),n.qZA()),2&t){const t=n.MAs(1);n.uIk("for",e.inputId),n.xp6(5),n.Q6J("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),n.uIk("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),n.xp6(2),n.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.VKq(18,h,e._noopAnimations?0:150)),n.xp6(2),n.ekj("mat-radio-label-before","before"==e.labelPosition)}},directives:[s.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[s.si,s.BQ],s.BQ]}),t})()},4786:function(t,e,i){"use strict";i.d(e,{gD:function(){return Y},LD:function(){return K},$L:function(){return G}});var n=i(2522),s=i(61511),o=i(31572),r=i(71522),a=i(66283),c=i(4253),l=i(24621),u=i(19861),h=i(4230),d=i(75842),p=i(55959),g=i(31450),f=i(31906),m=i(56238),b=i(44689),_=i(90611),w=i(43835),A=i(79996),y=i(98720),v=i(25416),T=i(10709),C=i(22526),E=i(16073);const S=["trigger"],k=["panel"];function I(t,e){if(1&t&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Oqu(t.placeholder)}}function R(t,e){if(1&t&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.xp6(1),o.Oqu(t.triggerValue)}}function x(t,e){1&t&&o.Hsn(0,0,["*ngSwitchCase","true"])}function O(t,e){if(1&t&&(o.TgZ(0,"span",9),o.YNc(1,R,2,1,"span",10),o.YNc(2,x,1,0,"ng-content",11),o.qZA()),2&t){const t=o.oxw();o.Q6J("ngSwitch",!!t.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function P(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",13),o.TgZ(1,"div",14,15),o.NdJ("@transformPanel.done",function(e){return o.CHM(t),o.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return o.CHM(t),o.oxw()._handleKeydown(e)}),o.Hsn(3,1),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("@transformPanelWrap",void 0),o.xp6(1),o.Gre("mat-select-panel ",t._getPanelTheme(),""),o.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),o.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),o.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,T.X$)("transformPanelWrap",[(0,T.eR)("* => void",(0,T.IO)("@transformPanel",[(0,T.pV)()],{optional:!0}))]),transformPanel:(0,T.X$)("transformPanel",[(0,T.SB)("void",(0,T.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,T.SB)("showing",(0,T.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,T.SB)("showing-multiple",(0,T.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,T.eR)("void => *",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,T.eR)("* => void",(0,T.jt)("100ms 25ms linear",(0,T.oB)({opacity:0})))])};let N=0;const z=new o.OlP("mat-select-scroll-strategy"),Z=new o.OlP("MAT_SELECT_CONFIG"),B={provide:z,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class q{constructor(t,e){this.source=t,this.value=e}}class F{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const U=(0,r.Kr)((0,r.sb)((0,r.Id)((0,r.FD)(F)))),H=new o.OlP("MatSelectTrigger");let G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-select-trigger"]],features:[o._Bn([{provide:H,useExisting:t}])]}),t})(),j=(()=>{class t extends U{constructor(t,e,i,n,s,r,a,c,l,u,h,d,y,v){var T,C,E;super(s,n,a,c,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=l,this.ngControl=u,this._liveAnnouncer=y,this._defaultOptions=v,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+N++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+N++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(T=this._defaultOptions)||void 0===T?void 0:T.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(E=null===(C=this._defaultOptions)||void 0===C?void 0:C.disableOptionCentering)&&void 0!==E&&E,this.ariaLabel="",this.optionSelectionChanges=(0,g.P)(()=>{const t=this.options;return t?t.changes.pipe((0,m.O)(t),(0,b.w)(()=>(0,f.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,_.q)(1),(0,b.w)(()=>this.optionSelectionChanges))}),this.openedChange=new o.vpe,this._openedStream=this.openedChange.pipe((0,w.h)(t=>t),(0,A.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,w.h)(t=>!t),(0,A.U)(()=>{})),this.selectionChange=new o.vpe,this.valueChange=new o.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=v.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,y.x)(),(0,v.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,v.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,m.O)(null),(0,v.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=e===d.JH||e===d.LH||e===d.oh||e===d.SV,n=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&n&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===d.JH||i===d.LH,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==d.K5&&i!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&i===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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,_.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,v.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,v.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 t=(0,f.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,v.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,f.T)(...this.options.map(t=>t._stateChanges)).pipe((0,v.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(c.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(r.rD),o.Y36(o.SBq),o.Y36(C.Is,8),o.Y36(E.F,8),o.Y36(E.sg,8),o.Y36(a.G_,8),o.Y36(E.a5,10),o.$8M("tabindex"),o.Y36(z),o.Y36(l.Kd),o.Y36(Z,8))},t.\u0275dir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&(o.Gf(S,5),o.Gf(k,5),o.Gf(n.pI,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.trigger=t.first),o.iGM(t=o.CRH())&&(e.panel=t.first),o.iGM(t=o.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),t})(),Y=(()=>{class t extends j{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,v.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,_.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,r.CB)(t,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,r.jH)((t+e)*i,i,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new q(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const o=0-(t.left+s-(i?n:0)),r=t.right+s-e.width+(i?0:n);o>0?s+=o+8:r>0&&(s-=r+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,o=Math.floor(256/n);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-o))*n+(n-(this._getItemCount()*n-256)%n):e-n/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>n?this._adjustPanelDown(o,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,r.CB)(s,this.options,this.optionGroups);const o=i/2;this._scrollTop=this._calculateOverlayScroll(s,o,n),this._offsetY=this._calculateOverlayOffsetY(s,o,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,H,5),o.Suo(i,r.ey,5),o.Suo(i,r.K7,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.customTrigger=t.first),o.iGM(t=o.CRH())&&(e.options=t),o.iGM(t=o.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&o.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(o.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),o.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:a.Eo,useExisting:t},{provide:r.HF,useExisting:t}]),o.qOj],ngContentSelectors:M,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(t,e){if(1&t&&(o.F$t(D),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return e.toggle()}),o.TgZ(3,"div",2),o.YNc(4,I,2,1,"span",3),o.YNc(5,O,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,P,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=o.MAs(1);o.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",e.empty),o.uIk("id",e._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[n.xu,s.RF,s.n9,n.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[B],imports:[[s.ez,n.U8,r.Ng,r.BQ],c.ZD,a.lN,r.Ng,r.BQ]}),t})()},25122:function(t,e,i){"use strict";i.d(e,{JX:function(){return U},TM:function(){return H},Rh:function(){return F},SJ:function(){return G}});var n=i(11353),s=i(4253),o=i(61511),r=i(31572),a=i(71522),c=i(19861),l=i(75842),u=i(55959),h=i(87254),d=i(31906),p=i(43835),g=i(79996),f=i(88414),m=i(25416),b=i(98720),_=i(90611),w=i(56238),A=i(47701),y=i(10709),v=i(43490),T=i(24621),C=i(22526);const E=["*"];function S(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",2),r.NdJ("click",function(){return r.CHM(t),r.oxw()._onBackdropClicked()}),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function k(t,e){1&t&&(r.TgZ(0,"mat-drawer-content"),r.Hsn(1,2),r.qZA())}const I=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],R=["mat-drawer","mat-drawer-content","*"];function x(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",2),r.NdJ("click",function(){return r.CHM(t),r.oxw()._onBackdropClicked()}),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function O(t,e){1&t&&(r.TgZ(0,"mat-sidenav-content",3),r.Hsn(1,2),r.qZA())}const P=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],D=["mat-sidenav","mat-sidenav-content","*"],M=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",L={transformDrawer:(0,y.X$)("transform",[(0,y.SB)("open, open-instant",(0,y.oB)({transform:"none",visibility:"visible"})),(0,y.SB)("void",(0,y.oB)({"box-shadow":"none",visibility:"hidden"})),(0,y.eR)("void => open-instant",(0,y.jt)("0ms")),(0,y.eR)("void <=> open, open-instant => void",(0,y.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},N=new r.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),z=new r.OlP("MAT_DRAWER_CONTAINER");let Z=(()=>{class t extends s.PQ{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36((0,r.Gpc)(()=>q)),r.Y36(r.SBq),r.Y36(s.mF),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.qOj],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,i,n,s,o,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=o,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new u.xQ,this._animationEnd=new u.xQ,this._animationState="void",this.openedChange=new r.vpe(!0),this._openedStream=this.openedChange.pipe((0,p.h)(t=>t),(0,g.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,f.h)(void 0)),this._closedStream=this.openedChange.pipe((0,p.h)(t=>!t),(0,g.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,f.h)(void 0)),this._destroyed=new u.xQ,this.onPositionChanged=new r.vpe,this._modeChanged=new u.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,h.R)(this._elementRef.nativeElement,"keydown").pipe((0,p.h)(t=>t.keyCode===l.hY&&!this.disableClose&&!(0,l.Vb)(t)),(0,m.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,b.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,c.Ig)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=(0,c.Ig)(t)}get opened(){return this._opened}set opened(t){this.toggle((0,c.Ig)(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,_.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(T.qV),r.Y36(T.tE),r.Y36(n.t4),r.Y36(r.R0b),r.Y36(o.K0,8),r.Y36(z,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&r.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(r.uIk("align",null),r.d8E("@transform",e._animationState),r.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:E,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},directives:[s.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t})(),q=(()=>{class t{constructor(t,e,i,n,s,o=!1,a){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new r.n_E,this.backdropClick=new r.vpe,this._destroyed=new u.xQ,this._doCheckSubject=new u.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new u.xQ,t&&t.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe((0,m.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=o}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,c.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,c.Ig)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,w.O)(this._allDrawers),(0,m.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,w.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,A.b)(10),(0,m.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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,p.h)(t=>t.fromState!==t.toState),(0,m.R)(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"!==t.mode&&t.openedChange.pipe((0,m.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,m.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,_.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,m.R)((0,d.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(C.Is,8),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(s.rL),r.Y36(N),r.Y36(v.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,Z,5),r.Suo(i,B,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._content=t.first),r.iGM(t=r.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&r.Gf(Z,5),2&t){let t;r.iGM(t=r.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[r._Bn([{provide:z,useExisting:t}])],ngContentSelectors:R,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(t,e){1&t&&(r.F$t(I),r.YNc(0,S,1,2,"div",0),r.Hsn(1),r.Hsn(2,1),r.YNc(3,k,2,0,"mat-drawer-content",1)),2&t&&(r.Q6J("ngIf",e.hasBackdrop),r.xp6(3),r.Q6J("ngIf",!e._content))},directives:[o.O5,Z],styles:[M],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t extends Z{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36((0,r.Gpc)(()=>H)),r.Y36(r.SBq),r.Y36(s.mF),r.Y36(r.R0b))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&r.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[r.qOj],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),U=(()=>{class t extends B{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,c.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,c.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,c.su)(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(r.uIk("align",null),r.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),r.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[r.qOj],ngContentSelectors:E,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},directives:[s.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t})(),H=(()=>{class t extends q{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=r.n5z(t)))(i||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(r.Suo(i,F,5),r.Suo(i,U,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._content=t.first),r.iGM(t=r.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[r._Bn([{provide:z,useExisting:t}]),r.qOj],ngContentSelectors:D,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(r.F$t(P),r.YNc(0,x,1,2,"div",0),r.Hsn(1),r.Hsn(2,1),r.YNc(3,O,2,0,"mat-sidenav-content",1)),2&t&&(r.Q6J("ngIf",e.hasBackdrop),r.xp6(3),r.Q6J("ngIf",!e._content))},directives:[o.O5,F,s.PQ],styles:[M],encapsulation:2,changeDetection:0}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.ez,a.BQ,n.ud,s.ZD],s.ZD,a.BQ]}),t})()},27521:function(t,e,i){"use strict";i.d(e,{Rr:function(){return y},rP:function(){return T}});var n=i(36337),s=i(31572),o=i(71522),r=i(19861),a=i(16073),c=i(43490),l=i(24621);const u=["thumbContainer"],h=["toggleBar"],d=["input"],p=function(t){return{enterDuration:t}},g=["*"],f=new s.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let m=0;const b={provide:a.JU,useExisting:(0,s.Gpc)(()=>y),multi:!0};class _{constructor(t,e){this.source=t,this.checked=e}}class w{constructor(t){this._elementRef=t}}const A=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(w))));let y=(()=>{class t extends A{constructor(t,e,i,n,o,r){super(t),this._focusMonitor=e,this._changeDetectorRef=i,this.defaults=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++m,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 s.vpe,this.toggleChange=new s.vpe,this.tabIndex=parseInt(n)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===r}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,r.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new _(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(l.tE),s.Y36(s.sBO),s.$8M("tabindex"),s.Y36(f),s.Y36(c.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(h,5),s.Gf(d,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._thumbEl=t.first),s.iGM(t=s.CRH())&&(e._thumbBarEl=t.first),s.iGM(t=s.CRH())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),s.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[s._Bn([b]),s.qOj],ngContentSelectors:g,decls:16,vars:19,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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"div",2,3),s.TgZ(4,"input",4,5),s.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(6,"div",6,7),s._UZ(8,"div",8),s.TgZ(9,"div",9),s._UZ(10,"div",10),s.qZA(),s.qZA(),s.qZA(),s.TgZ(11,"span",11,12),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(13,"span",13),s._uU(14,"\xa0"),s.qZA(),s.Hsn(15),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(12);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(2),s.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),s.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),s.xp6(5),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.VKq(17,p,e._noopAnimations?0:150))}},directives:[o.wG,n.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{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%}.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}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[v,o.si,o.BQ,n.Q8],v,o.BQ]}),t})()},71403:function(t,e,i){"use strict";i.d(e,{ZX:function(){return l}});var n=i(2522),s=i(26899),o=i(61511),r=i(31572),a=i(71522),c=i(15980);i(55959),i(90611),i(10709),i(11353);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[n.U8,s.eL,o.ez,c.ot,a.BQ],a.BQ]}),t})()},58623:function(t,e,i){"use strict";i.d(e,{YE:function(){return _},nU:function(){return E},JX:function(){return S}});var n=i(31572),s=i(19861),o=i(71522),r=i(75842),a=i(55959),c=i(31906),l=i(10709),u=i(61511),h=i(24621);const d=["mat-sort-header",""];function p(t,e){if(1&t){const t=n.EpF();n.TgZ(0,"div",3),n.NdJ("@arrowPosition.start",function(){return n.CHM(t),n.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return n.CHM(t),n.oxw()._disableViewStateAnimation=!1}),n._UZ(1,"div",4),n.TgZ(2,"div",5),n._UZ(3,"div",6),n._UZ(4,"div",7),n._UZ(5,"div",8),n.qZA(),n.qZA()}if(2&t){const t=n.oxw();n.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),n.xp6(2),n.Q6J("@indicator",t._getArrowDirectionState()),n.xp6(1),n.Q6J("@leftPointer",t._getArrowDirectionState()),n.xp6(1),n.Q6J("@rightPointer",t._getArrowDirectionState())}}const g=["*"],f=new n.OlP("MAT_SORT_DEFAULT_OPTIONS");class m{}const b=(0,o.dB)((0,o.Id)(m));let _=(()=>{class t extends b{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new a.xQ,this.start="asc",this._direction="",this.sortChange=new n.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let o=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[n.qOj,n.TTD]}),t})();const w=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,A={indicator:(0,l.X$)("indicator",[(0,l.SB)("active-asc, asc",(0,l.oB)({transform:"translateY(0px)"})),(0,l.SB)("active-desc, desc",(0,l.oB)({transform:"translateY(10px)"})),(0,l.eR)("active-asc <=> active-desc",(0,l.jt)(w))]),leftPointer:(0,l.X$)("leftPointer",[(0,l.SB)("active-asc, asc",(0,l.oB)({transform:"rotate(-45deg)"})),(0,l.SB)("active-desc, desc",(0,l.oB)({transform:"rotate(45deg)"})),(0,l.eR)("active-asc <=> active-desc",(0,l.jt)(w))]),rightPointer:(0,l.X$)("rightPointer",[(0,l.SB)("active-asc, asc",(0,l.oB)({transform:"rotate(45deg)"})),(0,l.SB)("active-desc, desc",(0,l.oB)({transform:"rotate(-45deg)"})),(0,l.eR)("active-asc <=> active-desc",(0,l.jt)(w))]),arrowOpacity:(0,l.X$)("arrowOpacity",[(0,l.SB)("desc-to-active, asc-to-active, active",(0,l.oB)({opacity:1})),(0,l.SB)("desc-to-hint, asc-to-hint, hint",(0,l.oB)({opacity:.54})),(0,l.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,l.oB)({opacity:0})),(0,l.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,l.jt)("0ms")),(0,l.eR)("* <=> *",(0,l.jt)(w))]),arrowPosition:(0,l.X$)("arrowPosition",[(0,l.eR)("* => desc-to-hint, * => desc-to-active",(0,l.jt)(w,(0,l.F4)([(0,l.oB)({transform:"translateY(-25%)"}),(0,l.oB)({transform:"translateY(0)"})]))),(0,l.eR)("* => hint-to-desc, * => active-to-desc",(0,l.jt)(w,(0,l.F4)([(0,l.oB)({transform:"translateY(0)"}),(0,l.oB)({transform:"translateY(25%)"})]))),(0,l.eR)("* => asc-to-hint, * => asc-to-active",(0,l.jt)(w,(0,l.F4)([(0,l.oB)({transform:"translateY(25%)"}),(0,l.oB)({transform:"translateY(0)"})]))),(0,l.eR)("* => hint-to-asc, * => active-to-asc",(0,l.jt)(w,(0,l.F4)([(0,l.oB)({transform:"translateY(0)"}),(0,l.oB)({transform:"translateY(-25%)"})]))),(0,l.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,l.oB)({transform:"translateY(0)"})),(0,l.SB)("hint-to-desc, active-to-desc, desc",(0,l.oB)({transform:"translateY(-25%)"})),(0,l.SB)("hint-to-asc, active-to-asc, asc",(0,l.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,l.X$)("allowChildren",[(0,l.eR)("* <=> *",[(0,l.IO)("@*",(0,l.pV)(),{optional:!0})])])};let y=(()=>{class t{constructor(){this.changes=new a.xQ}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const v={provide:y,deps:[[new n.FiY,new n.tp0,y]],useFactory:function(t){return t||new y}};class T{}const C=(0,o.Id)(T);let E=(()=>{class t extends C{constructor(t,e,i,n,s,o){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||t.keyCode!==r.L_&&t.keyCode!==r.K5||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=(0,c.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 t.\u0275fac=function(e){return new(e||t)(n.Y36(y),n.Y36(n.sBO),n.Y36(_,8),n.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),n.Y36(h.tE),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(n.uIk("aria-sort",e._getAriaSortAttribute()),n.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.qOj],attrs:d,ngContentSelectors:g,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA(),n.YNc(3,p,6,6,"div",2),n.qZA()),2&t&&(n.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),n.uIk("tabindex",e._isDisabled()?null:0),n.xp6(3),n.Q6J("ngIf",e._renderArrow()))},directives:[u.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:[A.indicator,A.leftPointer,A.rightPointer,A.arrowOpacity,A.arrowPosition,A.allowChildren]},changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[v],imports:[[u.ez,o.BQ]]}),t})()},70663:function(t,e,i){"use strict";i.d(e,{C0:function(){return at},VY:function(){return W},Vq:function(){return ht},T5:function(){return gt},Ic:function(){return dt},fd:function(){return pt}});var n=i(26899),s=i(24621),o=i(22526),r=i(19861),a=i(75842),c=i(61511),l=i(31572),u=i(55959),h=i(40878),d=i(56238),p=i(25416);function g(t,e){1&t&&l.Hsn(0)}const f=["*"];let m=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq))},t.\u0275dir=l.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),b=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.Rgc))},t.\u0275dir=l.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),_=0;const w=new l.OlP("STEPPER_GLOBAL_OPTIONS");let A=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new l.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=(0,r.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,r.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,r.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,r.Ig)(t)}_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))}}return t.\u0275fac=function(e){return new(e||t)(l.Y36((0,l.Gpc)(()=>y)),l.Y36(w,8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){if(1&t&&l.Suo(i,b,5),2&t){let t;l.iGM(t=l.CRH())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&l.Gf(l.Rgc,7),2&t){let t;l.iGM(t=l.CRH())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[l.TTD],ngContentSelectors:f,decls:1,vars:0,template:function(t,e){1&t&&(l.F$t(),l.YNc(0,g,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new u.xQ,this.steps=new l.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.vpe,this._orientation="horizontal",this._groupId=_++,this._document=n}get linear(){return this._linear}set linear(t){this._linear=(0,r.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var e;const i=(0,r.su)(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,p.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new s.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,h.of)()).pipe((0,d.O)(this._layoutDirection()),(0,p.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),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._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(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const i=this.steps.toArray()[t],n=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,i="number"){return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?i:t.editable&&e?"edit":i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=(0,a.Vb)(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==a.L_&&i!==a.K5?n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(y))},t.\u0275dir=l.lG2({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.NdJ("click",function(){return e._handleClick()}),2&t&&l.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),T=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(y))},t.\u0275dir=l.lG2({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.NdJ("click",function(){return e._handleClick()}),2&t&&l.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[o.vT]]}),t})();var E=i(15980),S=i(71522),k=i(43691),I=i(87570),R=i(44689),x=i(79996),O=i(98720),P=i(10709);function D(t,e){if(1&t&&l.GkF(0,8),2&t){const t=l.oxw();l.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function M(t,e){if(1&t&&(l.TgZ(0,"span"),l._uU(1),l.qZA()),2&t){const t=l.oxw(2);l.xp6(1),l.Oqu(t._getDefaultTextForState(t.state))}}function L(t,e){if(1&t&&(l.TgZ(0,"mat-icon"),l._uU(1),l.qZA()),2&t){const t=l.oxw(2);l.xp6(1),l.Oqu(t._getDefaultTextForState(t.state))}}function N(t,e){if(1&t&&(l.ynx(0,9),l.YNc(1,M,2,1,"span",10),l.YNc(2,L,2,1,"mat-icon",11),l.BQk()),2&t){const t=l.oxw();l.Q6J("ngSwitch",t.state),l.xp6(1),l.Q6J("ngSwitchCase","number")}}function z(t,e){if(1&t&&(l.TgZ(0,"div",12),l.GkF(1,13),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function Z(t,e){if(1&t&&(l.TgZ(0,"div",12),l._uU(1),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Oqu(t.label)}}function B(t,e){if(1&t&&(l.TgZ(0,"div",14),l._uU(1),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Oqu(t._intl.optionalLabel)}}function q(t,e){if(1&t&&(l.TgZ(0,"div",15),l._uU(1),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Oqu(t.errorMessage)}}function F(t,e){}function U(t,e){if(1&t&&(l.Hsn(0),l.YNc(1,F,0,0,"ng-template",0)),2&t){const t=l.oxw();l.xp6(1),l.Q6J("cdkPortalOutlet",t._portal)}}const H=["*"];function G(t,e){1&t&&l._UZ(0,"div",9)}const j=function(t,e){return{step:t,i:e}};function Y(t,e){if(1&t&&(l.ynx(0),l.GkF(1,7),l.YNc(2,G,1,0,"div",8),l.BQk()),2&t){const t=e.$implicit,i=e.index,n=e.last;l.oxw(2);const s=l.MAs(4);l.xp6(1),l.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",l.WLB(3,j,t,i)),l.xp6(1),l.Q6J("ngIf",!n)}}function K(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",10),l.NdJ("@horizontalStepTransition.done",function(e){return l.CHM(t),l.oxw(2)._animationDone.next(e)}),l.GkF(1,11),l.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=l.oxw(2);l.Q6J("@horizontalStepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),l.uIk("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),l.xp6(1),l.Q6J("ngTemplateOutlet",t.content)}}function V(t,e){if(1&t&&(l.ynx(0),l.TgZ(1,"div",3),l.YNc(2,Y,3,6,"ng-container",4),l.qZA(),l.TgZ(3,"div",5),l.YNc(4,K,2,5,"div",6),l.qZA(),l.BQk()),2&t){const t=l.oxw();l.xp6(2),l.Q6J("ngForOf",t.steps),l.xp6(2),l.Q6J("ngForOf",t.steps)}}function $(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",13),l.GkF(1,7),l.TgZ(2,"div",14),l.TgZ(3,"div",15),l.NdJ("@verticalStepTransition.done",function(e){return l.CHM(t),l.oxw(2)._animationDone.next(e)}),l.TgZ(4,"div",16),l.GkF(5,11),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=l.oxw(2),o=l.MAs(4);l.xp6(1),l.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",l.WLB(9,j,t,i)),l.xp6(1),l.ekj("mat-stepper-vertical-line",!n),l.xp6(1),l.Q6J("@verticalStepTransition",s._getAnimationDirection(i))("id",s._getStepContentId(i)),l.uIk("aria-labelledby",s._getStepLabelId(i))("aria-expanded",s.selectedIndex===i),l.xp6(2),l.Q6J("ngTemplateOutlet",t.content)}}function J(t,e){if(1&t&&(l.ynx(0),l.YNc(1,$,6,12,"div",12),l.BQk()),2&t){const t=l.oxw();l.xp6(1),l.Q6J("ngForOf",t.steps)}}function Q(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"mat-step-header",17),l.NdJ("click",function(){return e.step.select()})("keydown",function(e){return l.CHM(t),l.oxw()._onKeydown(e)}),l.qZA()}if(2&t){const t=e.step,i=e.i,n=l.oxw();l.ekj("mat-horizontal-stepper-header","horizontal"===n.orientation)("mat-vertical-stepper-header","vertical"===n.orientation),l.Q6J("tabIndex",n._getFocusIndex()===i?0:-1)("id",n._getStepLabelId(i))("index",i)("state",n._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===i)("active",t.completed||n.selectedIndex===i||!n.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple)("color",t.color||n.color),l.uIk("aria-posinset",i+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)}}let W=(()=>{class t extends b{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,selectors:[["","matStepLabel",""]],features:[l.qOj]}),t})(),X=(()=>{class t{constructor(){this.changes=new u.xQ,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=l.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const tt={provide:X,deps:[[new l.FiY,new l.tp0,X]],useFactory:function(t){return t||new X}};class et extends m{constructor(t){super(t)}}const it=(0,S.pj)(et,"primary");let nt=(()=>{class t extends it{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof W?null:this.label}_templateLabel(){return this.label instanceof W?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(X),l.Y36(s.tE),l.Y36(l.SBq),l.Y36(l.sBO))},t.\u0275cmp=l.Xpm({type:t,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:[l.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"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(l._UZ(0,"div",0),l.TgZ(1,"div"),l.TgZ(2,"div",1),l.YNc(3,D,1,2,"ng-container",2),l.YNc(4,N,3,2,"ng-container",3),l.qZA(),l.qZA(),l.TgZ(5,"div",4),l.YNc(6,z,2,1,"div",5),l.YNc(7,Z,2,1,"div",5),l.YNc(8,B,2,1,"div",6),l.YNc(9,q,2,1,"div",7),l.qZA()),2&t&&(l.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),l.xp6(1),l.Gre("mat-step-icon-state-",e.state," mat-step-icon"),l.ekj("mat-step-icon-selected",e.selected),l.xp6(1),l.Q6J("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),l.xp6(1),l.Q6J("ngSwitchCase",!0),l.xp6(2),l.ekj("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),l.xp6(1),l.Q6J("ngIf",e._templateLabel()),l.xp6(1),l.Q6J("ngIf",e._stringLabel()),l.xp6(1),l.Q6J("ngIf",e.optional&&"error"!=e.state),l.xp6(1),l.Q6J("ngIf","error"==e.state))},directives:[S.wG,c.RF,c.n9,c.ED,c.O5,c.tP,k.Hw],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.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,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.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}),t})();const st={horizontalStepTransition:(0,P.X$)("horizontalStepTransition",[(0,P.SB)("previous",(0,P.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,P.SB)("current",(0,P.oB)({transform:"none",visibility:"inherit"})),(0,P.SB)("next",(0,P.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,P.eR)("* => *",(0,P.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,P.X$)("verticalStepTransition",[(0,P.SB)("previous",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("next",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("current",(0,P.oB)({height:"*",visibility:"inherit"})),(0,P.eR)("* <=> current",(0,P.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let ot=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.Rgc))},t.\u0275dir=l.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),rt=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.Rgc))},t.\u0275dir=l.lG2({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),at=(()=>{class t extends A{constructor(t,e,i,n){super(t,n),this._errorStateMatcher=e,this._viewContainerRef=i,this._isSelected=I.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,R.w)(()=>this._stepper.selectionChange.pipe((0,x.U)(t=>t.selectedStep===this),(0,d.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new n.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(l.Y36((0,l.Gpc)(()=>ht)),l.Y36(S.rD,4),l.Y36(l.s_b),l.Y36(w,8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){if(1&t&&(l.Suo(i,W,5),l.Suo(i,rt,5)),2&t){let t;l.iGM(t=l.CRH())&&(e.stepLabel=t.first),l.iGM(t=l.CRH())&&(e._lazyContent=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[l._Bn([{provide:S.rD,useExisting:t},{provide:A,useExisting:t}]),l.qOj],ngContentSelectors:H,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(l.F$t(),l.YNc(0,U,2,1,"ng-template"))},directives:[n.Pl],encapsulation:2,changeDetection:0}),t})(),ct=(()=>{class t extends y{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,features:[l.qOj]}),t})(),lt=(()=>{class t extends ct{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,selectors:[["mat-horizontal-stepper"]],features:[l.qOj]}),t})(),ut=(()=>{class t extends ct{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,selectors:[["mat-vertical-stepper"]],features:[l.qOj]}),t})(),ht=(()=>{class t extends y{constructor(t,e,i,n){super(t,e,i,n),this.steps=new l.n_E,this.animationDone=new l.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new u.xQ;const s=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===s?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,O.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),(0,p.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(o.Is,8),l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(c.K0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,i){if(1&t&&(l.Suo(i,at,5),l.Suo(i,ot,5)),2&t){let t;l.iGM(t=l.CRH())&&(e._steps=t),l.iGM(t=l.CRH())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&l.Gf(nt,5),2&t){let t;l.iGM(t=l.CRH())&&(e._stepHeader=t)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(l.uIk("aria-orientation",e.orientation),l.ekj("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[l._Bn([{provide:y,useExisting:t},{provide:lt,useExisting:t},{provide:ut,useExisting:t}]),l.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(t,e){1&t&&(l.ynx(0,0),l.YNc(1,V,5,2,"ng-container",1),l.YNc(2,J,2,1,"ng-container",1),l.BQk(),l.YNc(3,Q,1,22,"ng-template",null,2,l.W1O)),2&t&&(l.Q6J("ngSwitch",e.orientation),l.xp6(1),l.Q6J("ngSwitchCase","horizontal"),l.xp6(1),l.Q6J("ngSwitchCase","vertical"))},directives:[c.RF,c.n9,c.sg,c.tP,c.O5,nt],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[st.horizontalStepTransition,st.verticalStepTransition]},changeDetection:0}),t})(),dt=(()=>{class t extends v{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&l.Ikx("type",e.type)},inputs:{type:"type"},features:[l.qOj]}),t})(),pt=(()=>{class t extends T{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=l.n5z(t)))(i||t)}}(),t.\u0275dir=l.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&l.Ikx("type",e.type)},inputs:{type:"type"},features:[l.qOj]}),t})(),gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[tt,S.rD],imports:[[S.BQ,c.ez,n.eL,E.ot,C,k.Ps,S.si],S.BQ]}),t})()},67033:function(t,e,i){"use strict";i.d(e,{ev:function(){return dt},Dz:function(){return ct},w1:function(){return ut},ge:function(){return ht},fO:function(){return lt},XQ:function(){return ft},as:function(){return pt},Gk:function(){return mt},nj:function(){return gt},BZ:function(){return at},by:function(){return wt},p0:function(){return bt}});var n=i(19861),s=i(4230),o=i(31572),r=i(22526),a=i(11353),c=i(4253),l=i(61511),u=i(55959),h=i(19764),d=i(78512),p=i(4710),g=i(40878),f=i(25416),m=i(90611);const b=[[["caption"]],[["colgroup"],["col"]]],_=["caption","colgroup, col"];function w(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=(0,n.Ig)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const A=new o.OlP("CDK_TABLE");let y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t})(),v=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),T=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class C{}const E=w(C);let S=(()=>{class t extends E{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=(0,n.Ig)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(A,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,y,5),o.Suo(i,v,5),o.Suo(i,T,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.cell=t.first),o.iGM(t=o.CRH())&&(e.headerCell=t.first),o.iGM(t=o.CRH())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.qOj]}),t})();class k{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let I=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(S),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]}),t})(),R=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(S),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[o.qOj]}),t})();class x{constructor(){this.tasks=[],this.endTasks=[]}}const O=new o.OlP("_COALESCED_STYLE_SCHEDULER");let P=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new u.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new x,this._getScheduleObservable().pipe((0,f.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new x;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,h.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,m.q)(1))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(o.R0b))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof N?t.headerCell.template:this instanceof B?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4))},t.\u0275dir=o.lG2({type:t,features:[o.TTD]}),t})();class M extends D{}const L=w(M);let N=(()=>{class t extends L{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(A,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),t})();class z extends D{}const Z=w(z);let B=(()=>{class t extends Z{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(A,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),t})(),q=(()=>{class t extends D{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(A,8))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]}),t})(),F=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[F],encapsulation:2}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[F],encapsulation:2}),t})(),G=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const j=["top","bottom","left","right"];class Y{constructor(t,e,i,n,s=!0,o=!0,r){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=r,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,r=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(r,e),c=this._getStickyEndColumnPositions(r,i),l=e.lastIndexOf(!0),u=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const r of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:r.slice(u).map((t,e)=>i[e+u]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],r=[],a=[];for(let l=0,u=0;l{var t,e;for(let r=0;r{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);j.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of j)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const K=new o.OlP("CDK_SPL");let V=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","rowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.s_b),o.Y36(o.SBq))},t.\u0275dir=o.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),W=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l,h){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=r,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=l,this._stickyPositioningListener=h,this._onDestroy=new u.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,n.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,n.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe((0,f.R)(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),X(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_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 t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,s.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,p.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,g.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,f.R)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))F.mostRecentCellOutlet&&F.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Y(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,g.of)()).pipe((0,f.R)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(r.Is,8),o.Y36(l.K0),o.Y36(a.t4),o.Y36(s.k),o.Y36(O),o.Y36(c.rL),o.Y36(K,12))},t.\u0275cmp=o.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(o.Suo(i,G,5),o.Suo(i,S,5),o.Suo(i,q,5),o.Suo(i,N,5),o.Suo(i,B,5)),2&t){let t;o.iGM(t=o.CRH())&&(e._noDataRow=t.first),o.iGM(t=o.CRH())&&(e._contentColumnDefs=t),o.iGM(t=o.CRH())&&(e._contentRowDefs=t),o.iGM(t=o.CRH())&&(e._contentHeaderRowDefs=t),o.iGM(t=o.CRH())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(o.Gf(V,7),o.Gf($,7),o.Gf(J,7),o.Gf(Q,7)),2&t){let t;o.iGM(t=o.CRH())&&(e._rowOutlet=t.first),o.iGM(t=o.CRH())&&(e._headerRowOutlet=t.first),o.iGM(t=o.CRH())&&(e._footerRowOutlet=t.first),o.iGM(t=o.CRH())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[o._Bn([{provide:A,useExisting:t},{provide:s.k,useClass:s.yy},{provide:O,useClass:P},{provide:K,useValue:null}])],ngContentSelectors:_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.F$t(b),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0),o.GkF(3,1),o.GkF(4,2),o.GkF(5,3))},directives:[$,V,Q,J],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function X(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[c.Cl]]}),t})();var et=i(71522),it=i(31906),nt=i(31305),st=i(79996);const ot=[[["caption"]],[["colgroup"],["col"]]],rt=["caption","colgroup, col"];let at=(()=>{class t extends W{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[o._Bn([{provide:s.k,useClass:s.yy},{provide:W,useExisting:t},{provide:A,useExisting:t},{provide:O,useClass:P},{provide:K,useValue:null}]),o.qOj],ngContentSelectors:rt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(o.F$t(ot),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0),o.GkF(3,1),o.GkF(4,2),o.GkF(5,3))},directives:[$,V,Q,J],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),ct=(()=>{class t extends y{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matCellDef",""]],features:[o._Bn([{provide:y,useExisting:t}]),o.qOj]}),t})(),lt=(()=>{class t extends v{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[o._Bn([{provide:v,useExisting:t}]),o.qOj]}),t})(),ut=(()=>{class t extends S{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o._Bn([{provide:S,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),o.qOj]}),t})(),ht=(()=>{class t extends I{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[o.qOj]}),t})(),dt=(()=>{class t extends R{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[o.qOj]}),t})(),pt=(()=>{class t extends N{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o._Bn([{provide:N,useExisting:t}]),o.qOj]}),t})(),gt=(()=>{class t extends q{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o._Bn([{provide:q,useExisting:t}]),o.qOj]}),t})(),ft=(()=>{class t extends U{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[o._Bn([{provide:U,useExisting:t}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[F],encapsulation:2}),t})(),mt=(()=>{class t extends H{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=o.n5z(t)))(i||t)}}(),t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[o._Bn([{provide:H,useExisting:t}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&o.GkF(0,0)},directives:[F],encapsulation:2}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[tt,et.BQ],et.BQ]}),t})();class _t extends s.o2{constructor(t=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new u.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if((0,n.t6)(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),o=this.sortingDataAccessor(e,i);const r=typeof s,a=typeof o;r!==a&&("number"===r&&(s+=""),"number"===a&&(o+=""));let c=0;return null!=s&&null!=o?s>o?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new d.X(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?(0,it.T)(this._sort.sortChange,this._sort.initialized):(0,g.of)(null),i=this._paginator?(0,it.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,g.of)(null),n=(0,nt.aj)([this._data,this._filter]).pipe((0,st.U)(([t])=>this._filterData(t))),s=(0,nt.aj)([n,e]).pipe((0,st.U)(([t])=>this._orderData(t))),o=(0,nt.aj)([s,i]).pipe((0,st.U)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}class wt extends _t{}},55109:function(t,e,i){"use strict";i.d(e,{uX:function(){return J},Vc:function(){return G},SP:function(){return at},uD:function(){return Y},Nh:function(){return ft}});var n=i(24621),s=i(36337),o=i(26899),r=i(61511),a=i(31572),c=i(71522),l=i(43490),u=i(55959),h=i(87570),d=i(31906),p=i(87254),g=i(40878),f=i(81110),m=i(10709),b=i(56238),_=i(98720),w=i(25416),A=i(19861),y=i(11353),v=i(75842),T=i(22526),C=i(4253);function E(t,e){1&t&&a.Hsn(0)}const S=["*"];function k(t,e){}const I=function(t){return{animationDuration:t}},R=function(t,e){return{value:t,params:e}},x=["tabBodyWrapper"],O=["tabHeader"];function P(t,e){}function D(t,e){if(1&t&&a.YNc(0,P,0,0,"ng-template",9),2&t){const t=a.oxw().$implicit;a.Q6J("cdkPortalOutlet",t.templateLabel)}}function M(t,e){if(1&t&&a._uU(0),2&t){const t=a.oxw().$implicit;a.Oqu(t.textLabel)}}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){const e=a.CHM(t),i=e.$implicit,n=e.index,s=a.oxw(),o=a.MAs(1);return s._handleClick(i,o,n)})("cdkFocusChange",function(e){const i=a.CHM(t).index;return a.oxw()._tabFocusChanged(e,i)}),a.TgZ(1,"div",7),a.YNc(2,D,1,1,"ng-template",8),a.YNc(3,M,1,1,"ng-template",8),a.qZA(),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.ekj("mat-tab-label-active",n.selectedIndex==i),a.Q6J("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),a.uIk("tabIndex",n._getTabIndex(t,i))("aria-posinset",i+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),a.xp6(2),a.Q6J("ngIf",t.templateLabel),a.xp6(1),a.Q6J("ngIf",!t.templateLabel)}}function N(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-tab-body",10),a.NdJ("_onCentered",function(){return a.CHM(t),a.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return a.CHM(t),a.oxw()._setTabBodyWrapperHeight(e)}),a.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=a.oxw();a.ekj("mat-tab-body-active",n.selectedIndex==i),a.Q6J("id",n._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",n.animationDuration),a.uIk("aria-labelledby",n._getTabLabelId(i))}}const z=["tabListContainer"],Z=["tabList"],B=["nextPaginator"],q=["previousPaginator"],F=new a.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let U=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=i,this._animationMode=n}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),i=this._elementRef.nativeElement;i.style.left=e.left,i.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(F),a.Y36(l.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const H=new a.OlP("MatTabContent");let G=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabContent",""]],features:[a._Bn([{provide:H,useExisting:t}])]}),t})();const j=new a.OlP("MatTabLabel");let Y=(()=>{class t extends o.ig{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=a.n5z(t)))(i||t)}}(),t.\u0275dir=a.lG2({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a._Bn([{provide:j,useExisting:t}]),a.qOj]}),t})();class K{}const V=(0,c.Id)(K),$=new a.OlP("MAT_TAB_GROUP");let J=(()=>{class t extends V{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new o.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.s_b),a.Y36($,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){if(1&t&&(a.Suo(i,j,5),a.Suo(i,H,7,a.Rgc)),2&t){let t;a.iGM(t=a.CRH())&&(e.templateLabel=t.first),a.iGM(t=a.CRH())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(a.Rgc,7),2&t){let t;a.iGM(t=a.CRH())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.qOj,a.TTD],ngContentSelectors:S,decls:1,vars:0,template:function(t,e){1&t&&(a.F$t(),a.YNc(0,E,1,0,"ng-template"))},encapsulation:2}),t})();const Q={translateTab:(0,m.X$)("translateTab",[(0,m.SB)("center, void, left-origin-center, right-origin-center",(0,m.oB)({transform:"none"})),(0,m.SB)("left",(0,m.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,m.SB)("right",(0,m.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,m.eR)("* => left, * => right, left => center, right => center",(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,m.eR)("void => left-origin-center",[(0,m.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,m.eR)("void => right-origin-center",[(0,m.oB)({transform:"translate3d(100%, 0, 0)"}),(0,m.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let W=(()=>{class t extends o.Pl{constructor(t,e,i,n){super(t,e,n),this._host=i,this._centeringSub=h.w.EMPTY,this._leavingSub=h.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,b.O)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!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 t.\u0275fac=function(e){return new(e||t)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36((0,a.Gpc)(()=>tt)),a.Y36(r.K0))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabBodyHost",""]],features:[a.qOj]}),t})(),X=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.w.EMPTY,this._translateTabComplete=new u.xQ,this._onCentering=new a.vpe,this._beforeCentering=new a.vpe,this._afterLeavingCenter=new a.vpe,this._onCentered=new a.vpe(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe((0,_.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(T.Is,8),a.Y36(a.sBO))},t.\u0275dir=a.lG2({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),tt=(()=>{class t extends X{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(T.Is,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&a.Gf(o.Pl,5),2&t){let t;a.iGM(t=a.CRH())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[a.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(a.TgZ(0,"div",0,1),a.NdJ("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),a.YNc(2,k,0,0,"ng-template",2),a.qZA()),2&t&&a.Q6J("@translateTab",a.WLB(3,R,e._position,a.VKq(1,I,e.animationDuration)))},directives:[W],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[Q.translateTab]}}),t})();const et=new a.OlP("MAT_TABS_CONFIG");let it=0;class nt{}class st{constructor(t){this._elementRef=t}}const ot=(0,c.pj)((0,c.Kr)(st),"primary");let rt=(()=>{class t extends ot{constructor(t,e,i,n){super(t),this._changeDetectorRef=e,this._animationMode=n,this._tabs=new a.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.w.EMPTY,this._tabLabelSubscription=h.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.vpe,this.focusChange=new a.vpe,this.animationDone=new a.vpe,this.selectedTabChange=new a.vpe(!0),this._groupId=it++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,this.dynamicHeight=!(!i||null==i.dynamicHeight)&&i.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=(0,A.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=(0,A.su)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));const e=this._tabBodyWrapper.nativeElement;e.style.minHeight=e.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,i)=>{e.position=i-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e{this._tabs.reset(t.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()}focusTab(t){const e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,d.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,i){t.disabled||(this.selectedIndex=e.focusIndex=i)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}_tabFocusChanged(t,e){t&&(this._tabHeader.focusIndex=e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(et,8),a.Y36(l.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.qOj]}),t})(),at=(()=>{class t extends rt{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(et,8),a.Y36(l.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,J,5),2&t){let t;a.iGM(t=a.CRH())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(x,5),a.Gf(O,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._tabBodyWrapper=t.first),a.iGM(t=a.CRH())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a._Bn([{provide:$,useExisting:t}]),a.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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(a.TgZ(0,"mat-tab-header",0,1),a.NdJ("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),a.YNc(2,L,4,14,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.YNc(5,N,1,8,"mat-tab-body",5),a.qZA()),2&t&&(a.Q6J("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),a.xp6(2),a.Q6J("ngForOf",e._tabs),a.xp6(1),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(2),a.Q6J("ngForOf",e._tabs))},directives:function(){return[gt,r.sg,ut,c.wG,n.kH,r.O5,o.Pl,tt]},styles:[".mat-tab-group{display:flex;flex-direction:column}.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;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}),t})();class ct{}const lt=(0,c.Id)(ct);let ut=(()=>{class t extends lt{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(a.uIk("aria-disabled",!!e.disabled),a.ekj("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[a.qOj]}),t})();const ht=(0,y.i$)({passive:!0});let dt=(()=>{class t{constructor(t,e,i,n,s,o,r){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=i,this._dir=n,this._ngZone=s,this._platform=o,this._animationMode=r,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.vpe,this.indexFocused=new a.vpe,s.runOutsideAngular(()=>{(0,p.R)(t.nativeElement,"mouseleave").pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,A.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",ht).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",ht).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,g.of)("ltr"),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),(0,d.T)(t,e,this._items.changes).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(i)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,w.R)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}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(t){if(!(0,v.Vb)(t))switch(t.keyCode){case v.K5:case v.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",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(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,i=this._getLayoutDirection();e.scrollLeft="ltr"==i?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:s}=e.elementRef.nativeElement;let o,r;"ltr"==this._getLayoutDirection()?(o=n,r=o+s):(r=this._tabList.nativeElement.offsetWidth-n,o=r-s);const a=this.scrollDistance,c=this.scrollDistance+i;oc&&(this.scrollDistance+=r-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_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._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),(0,f.H)(650,100).pipe((0,w.R)((0,d.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:i}=this._scrollHeader(t);(0===i||i>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(y.t4),a.Y36(l.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),pt=(()=>{class t extends dt{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,A.Ig)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(y.t4),a.Y36(l.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disableRipple:"disableRipple"},features:[a.qOj]}),t})(),gt=(()=>{class t extends pt{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(C.rL),a.Y36(T.Is,8),a.Y36(a.R0b),a.Y36(y.t4),a.Y36(l.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){if(1&t&&a.Suo(i,ut,4),2&t){let t;a.iGM(t=a.CRH())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(U,7),a.Gf(z,7),a.Gf(Z,7),a.Gf(B,5),a.Gf(q,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._inkBar=t.first),a.iGM(t=a.CRH())&&(e._tabListContainer=t.first),a.iGM(t=a.CRH())&&(e._tabList=t.first),a.iGM(t=a.CRH())&&(e._nextPaginator=t.first),a.iGM(t=a.CRH())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.qOj],ngContentSelectors:S,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a._UZ(2,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.NdJ("keydown",function(t){return e._handleKeydown(t)}),a.TgZ(5,"div",5,6),a.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),a.TgZ(7,"div",7),a.Hsn(8),a.qZA(),a._UZ(9,"mat-ink-bar"),a.qZA(),a.qZA(),a.TgZ(10,"div",8,9),a.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a._UZ(12,"div",2),a.qZA()),2&t&&(a.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.xp6(5),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(5),a.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.wG,s.wD,U],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[r.ez,c.BQ,o.eL,c.si,s.Q8,n.rt],c.BQ]}),t})()},36922:function(t,e,i){"use strict";i.d(e,{gM:function(){return B},AV:function(){return U}});var n=i(2522),s=i(24621),o=i(61511),r=i(31572),a=i(71522),c=i(4253),l=i(19861),u=i(75842),h=i(55959),d=i(31305),p=i(47930),g=i(48318),f=i(90611),m=i(96673);class b{constructor(t){this.total=t}call(t,e){return e.subscribe(new _(t,this.total))}}class _ extends m.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var w=i(47701),A=i(79996),y=i(56238),v=i(25416),T=i(11353);const C=new Set;let E,S=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!C.has(t))try{E||(E=document.createElement("style"),E.setAttribute("type","text/css"),document.head.appendChild(E)),E.sheet&&(E.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),C.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(T.t4))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(T.t4))},token:t,providedIn:"root"}),t})();function k(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let I=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new h.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return R((0,l.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=R((0,l.Eq)(t)).map(t=>this._registerQuery(t).observable);let i=(0,d.aj)(e);return i=(0,p.z)(i.pipe((0,f.q)(1)),i.pipe(t=>t.lift(new b(1)),(0,w.b)(0))),i.pipe((0,A.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new g.y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe((0,y.O)(e),(0,A.U)(({matches:e})=>({query:t,matches:e})),(0,v.R)(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(S),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(S),r.LFG(r.R0b))},token:t,providedIn:"root"}),t})();function R(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var x=i(26899),O=i(10709),P=i(22526);const D={tooltipState:(0,O.X$)("state",[(0,O.SB)("initial, void, hidden",(0,O.oB)({opacity:0,transform:"scale(0)"})),(0,O.SB)("visible",(0,O.oB)({transform:"scale(1)"})),(0,O.eR)("* => visible",(0,O.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,O.F4)([(0,O.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,O.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,O.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,O.eR)("* => hidden",(0,O.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({opacity:0})))])},M=(0,T.i$)({passive:!0}),L=new r.OlP("mat-tooltip-scroll-strategy"),N={provide:L,deps:[n.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},z=new r.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Z=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,l,d,p){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=l,this._defaultOptions=d,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 h.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===u.hY&&!(0,u.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=p,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),l.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,v.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,M)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new x.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,v.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,v.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,v.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,v.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,M)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.aV),r.Y36(r.SBq),r.Y36(c.mF),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(T.t4),r.Y36(s.$s),r.Y36(s.tE),r.Y36(void 0),r.Y36(P.Is),r.Y36(void 0),r.Y36(o.K0))},t.\u0275dir=r.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),B=(()=>{class t extends Z{constructor(t,e,i,n,s,o,r,a,c,l,u,h){super(t,e,i,n,s,o,r,a,c,l,u,h),this._tooltipComponent=F}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.aV),r.Y36(r.SBq),r.Y36(c.mF),r.Y36(r.s_b),r.Y36(r.R0b),r.Y36(T.t4),r.Y36(s.$s),r.Y36(s.tE),r.Y36(L),r.Y36(P.Is,8),r.Y36(z,8),r.Y36(o.K0))},t.\u0275dir=r.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[r.qOj]}),t})(),q=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t}),t})(),F=(()=>{class t extends q{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(I))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._handleBodyInteraction()},!1,r.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,r.pYS),2&t&&r.Udp("zoom","visible"===e._visibility?1:null)},features:[r.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(r.TgZ(0,"div",0),r.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.ALo(1,"async"),r._uU(2),r.qZA()),2&t){let t;r.ekj("mat-tooltip-handset",null==(t=r.lcZ(1,5,e._isHandset))?null:t.matches),r.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),r.xp6(2),r.Oqu(e.message)}},directives:[o.mk],pipes:[o.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[D.tooltipState]},changeDetection:0}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[N],imports:[[s.rt,o.ez,n.U8,a.BQ],a.BQ,c.ZD]}),t})()},91010:function(t,e,i){"use strict";i.d(e,{GZ:function(){return f},gi:function(){return b},kc:function(){return y},JZ:function(){return A},dp:function(){return w},WX:function(){return v},uo:function(){return p},fQ:function(){return g},Ar:function(){return m},eu:function(){return _}});var n=i(71709),s=i(71522),o=i(19861),r=i(4230),a=i(78512),c=i(31906),l=i(90611),u=i(79996),h=i(31572);const d=(0,s.sb)((0,s.Id)(n.Hs));let p=(()=>{class t extends d{constructor(t,e,i){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(i)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(n._0),h.$8M("tabindex"))},t.\u0275dir=h.lG2({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[h._Bn([{provide:n.Hs,useExisting:t}]),h.qOj]}),t})(),g=(()=>{class t extends n.rO{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[h._Bn([{provide:n.rO,useExisting:t}]),h.qOj]}),t})(),f=(()=>{class t extends n.Xx{constructor(t,e,i,n){super(t,e,i),this._elementRef=t,this._tree=e,this._differs=i,this._disabled=!1,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-nested-tree-node")}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,o.Ig)(t)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:0}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.SBq),h.Y36(n._0),h.Y36(h.ZZ4),h.$8M("tabindex"))},t.\u0275dir=h.lG2({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[h._Bn([{provide:n.Xx,useExisting:t},{provide:n.Hs,useExisting:t},{provide:n.HI,useExisting:t}]),h.qOj]}),t})(),m=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(h.s_b),h.Y36(n.HI,8))},t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[h._Bn([{provide:n.cu,useExisting:t}])]}),t})(),b=(()=>{class t extends n._0{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275cmp=h.Xpm({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&h.Gf(m,7),2&t){let t;h.iGM(t=h.CRH())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[h._Bn([{provide:n._0,useExisting:t}]),h.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&h.GkF(0,0)},directives:[m],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}),t})(),_=(()=>{class t extends n.Ud{get recursive(){return this._recursive}set recursive(t){this._recursive=(0,o.Ig)(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=h.n5z(t)))(i||t)}}(),t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[h._Bn([{provide:n.Ud,useExisting:t}]),h.qOj]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[n.nZ,s.BQ],s.BQ]}),t})();class A{constructor(t,e,i,n){this.transformFunction=t,this.getLevel=e,this.isExpandable=i,this.getChildren=n}_flattenNode(t,e,i,n){const s=this.transformFunction(t,e);if(i.push(s),this.isExpandable(s)){const s=this.getChildren(t);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,n):s.pipe((0,l.q)(1)).subscribe(t=>{this._flattenChildren(t,e,i,n)}))}return i}_flattenChildren(t,e,i,n){t.forEach((s,o)=>{let r=n.slice();r.push(o!=t.length-1),this._flattenNode(s,e+1,i,r)})}flattenNodes(t){let e=[];return t.forEach(t=>this._flattenNode(t,0,e,[])),e}expandFlattenedNodes(t,e){let i=[],n=[];return n[0]=!0,t.forEach(t=>{let s=!0;for(let e=0;e<=this.getLevel(t);e++)s=s&&n[e];s&&i.push(t),this.isExpandable(t)&&(n[this.getLevel(t)+1]=e.isExpanded(t))}),i}}class y extends r.o2{constructor(t,e,i){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new a.X([]),this._expandedData=new a.X([]),this._data=new a.X([]),i&&(this.data=i)}get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(t){return(0,c.T)(t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,u.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class v extends r.o2{constructor(){super(...arguments),this._data=new a.X([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return(0,c.T)(t.viewChange,this._data).pipe((0,u.U)(()=>this.data))}disconnect(){}}},43490:function(t,e,i){"use strict";i.d(e,{Qb:function(){return be},PW:function(){return ye}});var n=i(31572),s=i(30269),o=i(10709);function r(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function c(t){switch(t.length){case 0:return new o.ZN;case 1:return t[0];default:return new o.ZE(t)}}function l(t,e,i,n,s={},r={}){const a=[],c=[];let l=-1,u=null;if(n.forEach(t=>{const i=t.offset,n=i==l,h=n&&u||{};Object.keys(t).forEach(i=>{let n=i,c=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,a),c){case o.k1:c=s[i];break;case o.l3:c=r[i];break;default:c=e.normalizeStyleValue(i,n,c,a)}h[n]=c}),n||c.push(h),u=h,l=i}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function u(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&h(i,"start",t)));break;case"done":t.onDone(()=>n(i&&h(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&h(i,"destroy",t)))}}function h(t,e,i){const n=i.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),o=t._data;return null!=o&&(s._data=o),s}function d(t,e,i,n,s="",o=0,r){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:o,disabled:!!r}}function p(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function g(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,m=(t,e)=>!1,b=(t,e,i)=>[];const _=a();(_||"undefined"!=typeof Element)&&(f=r()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),m=(()=>{if(_||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):m}})(),b=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let S=(()=>{class t{validateStyleProperty(t){return y(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],a){return new o.ZN(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new S,t})();function I(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:R(parseFloat(e[1]),e[2])}function R(t,e){switch(e){case"s":return 1e3*t;default:return t}}function x(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,o="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=R(parseFloat(i[1]),i[2]);const r=i[3];null!=r&&(s=R(parseFloat(r),i[4]));const a=i[5];a&&(o=a)}else n=t;if(!i){let i=!1,o=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:o}}(t,e,i)}function O(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function P(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else O(t,i);return i}function D(t,e,i){return i?e+":"+i+";":""}function M(t){let e="";for(let i=0;i{const s=H(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),a()&&M(t))}function N(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=H(e);t.style[i]=""}),a()&&M(t))}function z(t){return Array.isArray(t)?1==t.length?t[0]:(0,o.vP)(t):t}const Z=new RegExp("{{\\s*(.+?)\\s*}}","g");function B(t){let e=[];if("string"==typeof t){let i;for(;i=Z.exec(t);)e.push(i[1]);Z.lastIndex=0}return e}function q(t,e,i){const n=t.toString(),s=n.replace(Z,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function F(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const U=/-+([a-z0-9])/g;function H(t){return t.replace(U,(...t)=>t[1].toUpperCase())}function G(t,e){return 0===t||0===e}function j(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let o=e[0],r=[];if(n.forEach(t=>{o.hasOwnProperty(t)||r.push(t),o[t]=i[t]}),r.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],o=n[2],r=n[3];e.push(Q(s,r)),"<"!=o[0]||"*"==s&&"*"==r||e.push(Q(r,s))}(t,i,e)):i.push(t),i}const $=new Set(["true","1"]),J=new Set(["false","0"]);function Q(t,e){const i=$.has(t)||J.has(t),n=$.has(e)||J.has(e);return(s,o)=>{let r="*"==t||t==s,a="*"==e||e==o;return!r&&i&&"boolean"==typeof s&&(r=s?$.has(t):J.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?$.has(e):J.has(e)),r&&a}}const W=new RegExp("s*:selfs*,?","g");function X(t,e,i){return new tt(t).build(e,i)}class tt{constructor(t){this._driver=t}build(t,e){const i=new et(e);return this._resetContextStyleTimingState(i),Y(this,z(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,o.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=n||{};if(i.styles.forEach(t=>{if(it(t)){const e=t;Object.keys(e).forEach(t=>{B(e[t]).forEach(t=>{o.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=F(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Y(this,z(t.animation),e);return{type:1,matchers:V(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Y(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Y(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:nt(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return st(x(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=st(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||x(n,e),st(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:(0,o.oB)({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};i.easing&&(t.easing=i.easing),s=(0,o.oB)(t)}e.currentTime+=i.duration+i.delay;const a=this.visitStyle(s,e);a.isEmptyStep=r,n=a}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==o.l3?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(it(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],r=o[i];let a=!0;r&&(s!=n&&s>=r.startTime&&n<=r.endTime&&(e.errors.push(`The CSS property "${i}" 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 "${s}ms" and "${n}ms"`),a=!1),s=r.startTime),a&&(o[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=B(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let o=!1,r=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(it(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(it(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),l=0;return null!=c&&(n++,l=i.offset=c),r=r||l<0||l>1,o=o||l0&&n{const o=u>0?n==h?1:u*n:s[n],r=o*g;e.currentTime=d+p.delay+r,p.duration=r,this._validateStyleAst(t,e),t.offset=o,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Y(this,z(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const r=Y(this,z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:r,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:x(t.timings,e.errors,!0);return{type:12,animation:Y(this,z(t.animation),e),timings:i,options:null}}}class et{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function it(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=O(t)).params&&(t.params=(e=t.params)?O(e):null):t={},t}function st(t,e,i){return{duration:t,delay:e,easing:i}}function ot(t,e,i,n,s,o,r=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class rt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(":enter","g"),ct=new RegExp(":leave","g");function lt(t,e,i,n,s,o={},r={},a,c,l=[]){return(new ut).buildKeyframes(t,e,i,n,s,o,r,a,c,l)}class ut{buildKeyframes(t,e,i,n,s,o,r,a,c,l=[]){c=c||new rt;const u=new dt(t,e,c,n,s,l,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),Y(this,i,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(r).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([r],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ot(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?I(i.duration):null,o=null!=i.delay?I(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,o);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Y(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ht);const t=I(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Y(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?I(t.options.delay):0;t.steps.forEach(o=>{const r=e.createSubContext(t.options);s&&r.delayNextStep(s),Y(this,o,r),n=Math.max(n,r.currentTimeline.currentTime),i.push(r.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return x(e.params?q(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,o=e.createSubContext().currentTimeline;o.easing=i.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*s),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?I(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let o=i;const r=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=r.length;let a=null;r.forEach((i,n)=>{e.currentQueryIndex=n;const r=e.createSubContext(t.options,i);s&&r.delayNextStep(s),i===e.element&&(a=r.currentTimeline),Y(this,t.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),r=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;Y(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-l+(n.startTime-i.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,i,n,s,o,r,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=I(i.duration)),null!=i.delay&&(n.delay=I(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=q(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new dt(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new gt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,o){let r=[];if(n&&r.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(ct,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),r.push(...e)}return s||0!=r.length||o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),r}}class pt{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new pt(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||o.l3,this._currentKeyframe[t]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},r=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]=o.l3})):P(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=q(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:o.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const a=P(s,!0);Object.keys(a).forEach(i=>{const n=a[i];n==o.k1?t.add(i):n==o.l3&&e.add(i)}),i||(a.offset=r/this.duration),n.push(a)});const s=t.size?F(t.values()):[],r=e.size?F(e.values()):[];if(i){const t=n[0],e=O(t);t.offset=0,e.offset=1,n=[t,e]}return ot(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class gt extends pt{constructor(t,e,i,n,s,o,r=!1){super(t,e,o.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,r=e/o,a=P(t[0],!1);a.offset=0,s.push(a);const c=P(t[0],!1);c.offset=ft(r),s.push(c);const l=t.length-1;for(let n=1;n<=l;n++){let r=P(t[n],!1);r.offset=ft((e+r.offset*i)/o),s.push(r)}i=o,e=0,n="",t=s}return ot(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function ft(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class mt{}class bt extends mt{normalizePropertyName(t,e){return H(t)}normalizeStyleValue(t,e,i,n){let s="";const o=i.toString().trim();if(_t[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return o+s}}const _t=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 wt(t,e,i,n,s,o,r,a,c,l,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:o,toState:n,toStyles:r,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const At={};class yt{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],o=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,n,s,o,r,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||At,d=this.buildStyles(i,r&&r.params||At,u),g=a&&a.params||At,f=this.buildStyles(n,g,u),m=new Set,b=new Map,_=new Map,w="void"===n,A={params:Object.assign(Object.assign({},h),g)},y=l?[]:lt(t,e,this.ast.animation,s,o,d,f,A,c,u);let v=0;if(y.forEach(t=>{v=Math.max(t.duration+t.delay,v)}),u.length)return wt(e,this._triggerName,i,n,w,d,f,[],[],b,_,v,u);y.forEach(t=>{const i=t.element,n=p(b,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=p(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&m.add(i)});const T=F(m.values());return wt(e,this._triggerName,i,n,w,d,f,y,T,b,_,v)}}class vt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=O(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let o=s[t];o.length>1&&(o=q(o,n,e)),i[t]=o})}}),i}}class Tt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new vt(t.style,t.options&&t.options.params||{})}),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new yt(t,e,this.states))}),this.fallbackTransition=new yt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function Ct(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Et=new rt;class St{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=X(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=l(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let r;const a=new Map;if(s?(r=lt(this._driver,e,s,"ng-enter","ng-leave",{},{},i,Et,n),r.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,o.l3)})});const l=c(r.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=d(e,"","","");return u(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const kt=[],It={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class xt{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=O(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const Ot=new xt("void");class Pt{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Bt(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const o=p(this._elementListeners,t,[]),r={name:e,phase:i,callback:n};o.push(r);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),a[e]=Ot),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(r);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),o=new Mt(this.id,e,t);let r=this._engine.statesByElement.get(t);r||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,r={}));let a=r[e];const c=new xt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),r[e]=c,a||(a=Ot),"void"!==c.value&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{N(t,i),L(t,n)})}return}const l=p(this._engine.playersByElement,t,[]);l.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!u){if(!n)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Bt(t,"ng-animate-queued"),o.onStart(()=>{qt(t,"ng-animate-queued")})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(o);t>=0&&i.splice(t,1)}}),this.players.push(o),l.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const o=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&o.push(i)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&c(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const o=this._triggers[s].fallbackTransition,r=i[s]||Ot,a=new xt("void"),c=new Mt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:o,fromState:r,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==It||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Bt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(e=>{if(e.name==i.triggerName){const n=d(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,u(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new Pt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Bt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),qt(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(Lt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return Lt(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return c(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=It,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?c(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new rt,n=[],s=new Map,r=[],a=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+b++;m.set(e,i),t.forEach(t=>Bt(t,i))});const _=[],w=new Set,A=new Set;for(let o=0;ow.add(t)):A.add(t))}const y=new Map,v=Zt(g,Array.from(w));v.forEach((t,e)=>{const i="ng-leave"+b++;y.set(e,i),t.forEach(t=>Bt(t,i))}),t.push(()=>{f.forEach((t,e)=>{const i=m.get(e);t.forEach(t=>qt(t,i))}),v.forEach((t,e)=>{const i=y.get(e);t.forEach(t=>qt(t,i))}),_.forEach(t=>{this.processLeaveNode(t)})});const T=[],C=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(T.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const o=!d||!this.driver.containsElement(d,s),c=y.get(s),h=m.get(s),g=this._buildInstruction(t,i,h,c,o);if(g.errors&&g.errors.length)C.push(g);else{if(o)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>L(s,g.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>L(s,g.toStyles)),void n.push(e);g.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,g.timelines),r.push({instruction:g,player:e,element:s}),g.queriedElements.forEach(t=>p(a,t,[]).push(e)),g.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=l.get(e);t||l.set(e,t=new Set),i.forEach(e=>t.add(e))}}),g.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=u.get(e);n||u.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),T.forEach(t=>t.destroy()),this.reportError(t)}const E=new Map,S=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(E,e,[]).push(t),t.destroy()})});const k=_.filter(t=>Ht(t,l,u)),I=new Map;zt(I,this.driver,A,u,o.l3).forEach(t=>{Ht(t,l,u)&&k.push(t)});const R=new Map;f.forEach((t,e)=>{zt(R,this.driver,new Set(t),l,o.k1)}),k.forEach(t=>{const e=I.get(t),i=R.get(t);I.set(t,Object.assign(Object.assign({},e),i))});const x=[],O=[],P={};r.forEach(t=>{const{element:e,player:o,instruction:r}=t;if(i.has(e)){if(h.has(e))return o.onDestroy(()=>L(e,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void n.push(o);let t=P;if(S.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=S.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>S.set(e,t))}const i=this._buildAnimation(o.namespaceId,r,E,s,R,I);if(o.setRealPlayer(i),t===P)x.push(o);else{const e=this.playersByElement.get(t);e&&e.length&&(o.parentPlayer=c(e)),n.push(o)}}else N(e,r.fromStyles),o.onDestroy(()=>L(e,r.toStyles)),O.push(o),h.has(e)&&n.push(o)}),O.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=c(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let o=0;o<_.length;o++){const t=_[o],e=t.__ng_removed;if(qt(t,"ng-leave"),e&&e.hasAnimation)continue;let i=[];if(a.size){let e=a.get(t);e&&e.length&&i.push(...e);let n=this.driver.query(t,".ng-animating",!0);for(let t=0;t!t.destroyed);n.length?Ft(this,t,n):this.processLeaveNode(t)}return _.length=0,x.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),x}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&o.push(e)})}}return(i||n)&&(o=o.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),o}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const t=r.element,a=t!==n,c=p(i,t,[]);this._getPreviousPlayers(t,a,s,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}N(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,r){const a=e.triggerName,u=e.element,h=[],d=new Set,g=new Set,f=e.timelines.map(e=>{const c=e.element;d.add(c);const p=c.__ng_removed;if(p&&p.removedBeforeQueried)return new o.ZN(e.duration,e.delay);const f=c!==u,m=function(t){const e=[];return Ut(t,e),e}((i.get(c)||kt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===c),b=s.get(c),_=r.get(c),w=l(0,this._normalizer,0,e.keyframes,b,_),A=this._buildPlayer(e,w,m);if(e.subTimeline&&n&&g.add(c),f){const e=new Mt(t,a,c);e.setRealPlayer(A),h.push(e)}return A});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Bt(t,"ng-animating"));const m=c(f);return m.onDestroy(()=>{d.forEach(t=>qt(t,"ng-animating")),L(u,e.toStyles)}),g.forEach(t=>{p(n,t,[]).push(m)}),m}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new o.ZN(t.duration,t.delay)}}class Mt{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>u(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){p(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Lt(t){return t&&1===t.nodeType}function Nt(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function zt(t,e,i,n,s){const o=[];i.forEach(t=>o.push(Nt(t)));const r=[];n.forEach((i,n)=>{const o={};i.forEach(t=>{const i=o[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=Rt,r.push(n))}),t.set(n,o)});let a=0;return i.forEach(t=>Nt(t,o[a++])),r}function Zt(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function o(t){if(!t)return 1;let e=s.get(t);if(e)return e;const r=t.parentNode;return e=i.has(r)?r:n.has(r)?1:o(r),s.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&i.get(e).push(t)}),i}function Bt(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function qt(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function Ft(t,e,i){c(i).onDone(()=>t.processLeaveNode(e))}function Ut(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class Gt{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,i),this._timelineEngine=new St(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const o=t+"-"+n;let r=this._triggerCache[o];if(!r){const t=[],e=X(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);r=function(t,e){return new Tt(t,e)}(n,e),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(e,n,r)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=g(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=g(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function jt(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Kt(e[0]),e.length>1&&(n=Kt(e[e.length-1]))):e&&(i=Kt(e)),i||n?new Yt(t,i,n):null}let Yt=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Kt(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=ee(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=ee(t,"").split(","),n=Wt(i,e);n>=0&&(i.splice(n,1),te(t,"",i.join(",")))}(this._element,this._name))}}function Jt(t,e,i){te(t,"PlayState",i,Qt(t,e))}function Qt(t,e){const i=ee(t,"");return i.indexOf(",")>0?Wt(i.split(","),e):Wt([i],e)}function Wt(t,e){for(let i=0;i=0)return i;return-1}function Xt(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,i,n){const s="animation"+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function ee(t,e){return t.style["animation"+e]||""}class ie{constructor(t,e,i,n,s,o,r,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new $t(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:K(this.element,i))})}this.currentSnapshot=t}}class ne extends o.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=E(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class se{constructor(){this._count=0}validateStyleProperty(t){return y(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>E(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const o=document.createElement("style");return o.textContent=n,o}animate(t,e,i,n,s,o=[],r){const a=o.filter(t=>t instanceof ie),c={};G(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=j(t,e,c));if(0==i)return new ne(t,l);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=jt(t,e),p=new ie(t,e,u,i,n,s,l,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class oe{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:K(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new se}validateStyleProperty(t){return y(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return T(t,e)}query(t,e,i){return C(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,o);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},l=o.filter(t=>t instanceof oe);G(i,n)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=jt(t,e=j(t,e=e.map(t=>P(t,!1)),c));return new oe(t,e,a,u)}}function ae(){return r()&&Element.prototype.animate||{}}var ce=i(61511);let le=(()=>{class t extends o._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:n.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?(0,o.vP)(t):t;return de(this._renderer,null,e,"register",[i]),new ue(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.FYo),n.LFG(ce.K0))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class ue extends o.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return de(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function de(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let pe=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new ge("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(o),new fe(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(n.LFG(n.FYo),n.LFG(Gt),n.LFG(n.R0b))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class ge{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class fe extends ge{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let me=(()=>{class t extends Gt{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(ce.K0),n.LFG(k),n.LFG(mt))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();const be=new n.OlP("AnimationModuleType"),_e=[{provide:o._j,useClass:le},{provide:mt,useFactory:function(){return new bt}},{provide:Gt,useClass:me},{provide:n.FYo,useFactory:function(t,e,i){return new pe(t,e,i)},deps:[s.se,Gt,n.R0b]}],we=[{provide:k,useFactory:function(){return"function"==typeof ae()?new re:new se}},{provide:be,useValue:"BrowserAnimations"},..._e],Ae=[{provide:k,useClass:S},{provide:be,useValue:"NoopAnimations"},..._e];let ye=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Ae:we}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:we,imports:[s.b2]}),t})()},30269:function(t,e,i){"use strict";i.d(e,{b2:function(){return Z},H7:function(){return D},Dx:function(){return q},q6:function(){return N},se:function(){return T}});var n=i(61511),s=i(31572);class o extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends o{static makeCurrent(){(0,n.HT)(new r)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(c=c||document.querySelector("base"),c?c.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,n.Mx)(document.cookie,t)}}let a,c=null;const l=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,i){return()=>{i.get(s.CZH).donePromise.then(()=>{const i=(0,n.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[l,n.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let i=e.length,n=!1;const o=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:i?(0,n.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let g=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),b=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(_))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t){(0,n.q)().remove(t)}const w={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/"},A=/%COMP%/g;function y(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let T=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new E(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case s.ifc.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(g),s.LFG(b),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(w[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=w[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=w[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,i,n&s.JOm.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(i)):this.eventManager.addEventListener(t,e,v(i))}}class E extends C{constructor(t,e,i,n){super(t),this.component=i;const s=y(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(A,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(A,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class S extends C{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=y(n.id,n.styles,[]);for(let o=0;o{class t extends f{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const I=["alt","control","meta","shift"],R={"\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"},x={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"},O={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let P=(()=>{class t extends f{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),r=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(e,o.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let o="";if(I.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),o+=t+".")}),o+=s,0!=i.length||0===s.length)return null;const r={};return r.domEventName=n,r.fullKey=o,r}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&x.hasOwnProperty(e)&&(e=x[e]))}return R[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),I.forEach(n=>{n!=i&&(0,O[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(L)},token:t,providedIn:"root"}),t})();function M(t){return new L(t.get(n.K0))}let L=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return M((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:n.bD},{provide:s.g9A,useValue:function(){r.makeCurrent(),h.init()},multi:!0},{provide:n.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),z=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:k,multi:!0,deps:[n.K0,s.R0b,s.Lbi]},{provide:p,useClass:P,multi:!0,deps:[n.K0]},[],{provide:T,useClass:T,deps:[g,b,s.AFp]},{provide:s.FYo,useExisting:T},{provide:m,useExisting:b},{provide:b,useClass:b,deps:[n.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:g,useClass:g,deps:[p,s.R0b]},{provide:n.JF,useClass:d,deps:[]},[]];let Z=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:l,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:z,imports:[n.ez,s.hGG]}),t})();function B(){return new q((0,s.LFG)(n.K0))}let q=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:B,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},57629:function(t,e,i){"use strict";i.d(e,{gz:function(){return Yt},m2:function(){return U},OD:function(){return F},GZ:function(){return vi},wN:function(){return ni},F0:function(){return fi},rH:function(){return mi},yS:function(){return bi},Bz:function(){return Ri},lC:function(){return wi}});var n=i(61511),s=i(31572),o=i(19764),r=i(40878),a=i(78512),c=i(31305),l=i(48318),u=i(39665),h=i(47930),d=i(31450),p=i(70653),g=i(42875),f=i(55959),m=i(96673);function b(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new _(t,e,i))}}class _{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new w(t,this.accumulator,this.seed,this.hasSeed))}}class w extends m.L{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var A=i(43835),y=i(98402);function v(t){return function(e){return 0===t?(0,p.c)():e.lift(new T(t))}}class T{constructor(t){if(this.total=t,this.total<0)throw new y.W}call(t,e){return e.subscribe(new C(t,this.total))}}class C extends m.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;st.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function lt(t){return Array.prototype.concat.apply([],t)}function ut(t){return t.length>0?t[t.length-1]:null}function ht(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function dt(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,r.of)(t)}const pt={exact:function t(e,i,n){if(!vt(e.segments,i.segments))return!1;if(!_t(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:mt},gt={exact:function(t,e){return at(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>ct(t[i],e[i]))},ignored:()=>!0};function ft(t,e,i){return pt[i.paths](t.root,e.root,i.matrixParams)&>[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function mt(t,e,i){return bt(t,e,e.segments,i)}function bt(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!vt(s,i)&&!e.hasChildren()&&!!_t(s,i,n)}if(t.segments.length===i.length){if(!vt(t.segments,i))return!1;if(!_t(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!mt(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!vt(t.segments,s)&&!!_t(t.segments,s,n)&&!!t.children.primary&&bt(t.children.primary,e,o,n)}}function _t(t,e,i){return e.every((e,n)=>gt[i](t[n].parameters,e.parameters))}class wt{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return Et.serialize(this)}}class At{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ht(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return St(this)}}class yt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap}toString(){return Dt(this)}}function vt(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class Tt{}class Ct{parse(t){const e=new Zt(t);return new wt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${kt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Rt(e)}=${Rt(t)}`).join("&"):`${Rt(e)}=${Rt(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Et=new Ct;function St(t){return t.segments.map(t=>Dt(t)).join("/")}function kt(t,e){if(!t.hasChildren())return St(t);if(e){const e=t.children.primary?kt(t.children.primary,!1):"",i=[];return ht(t.children,(t,e)=>{"primary"!==e&&i.push(`${e}:${kt(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return ht(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),ht(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>"primary"===i?[kt(t.children.primary,!1)]:[`${i}:${kt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${St(t)}/${e[0]}`:`${St(t)}/(${e.join("//")})`}}function It(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rt(t){return It(t).replace(/%3B/gi,";")}function xt(t){return It(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(t){return decodeURIComponent(t)}function Pt(t){return Ot(t.replace(/\+/g,"%20"))}function Dt(t){return`${xt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${xt(t)}=${xt(e[t])}`).join("")}`;var e}const Mt=/^[^\/()?;=#]+/;function Lt(t){const e=t.match(Mt);return e?e[0]:""}const Nt=/^[^=?&#]+/,zt=/^[^?&#]+/;class Zt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new At(t,e)),i}parseSegment(){const t=Lt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new yt(Ot(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Lt(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Lt(this.remaining);t&&(i=t,this.capture(i))}t[Ot(e)]=Ot(i)}parseQueryParam(t){const e=function(t){const e=t.match(Nt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(zt);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Pt(e),s=Pt(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Lt(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const o=this.parseChildren();e[s]=1===Object.keys(o).length?o.primary:new At([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Bt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=qt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=qt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Ft(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Ft(t,this._root).map(t=>t.value)}}function qt(t,e){if(t===e.value)return e;for(const i of e.children){const e=qt(t,i);if(e)return e}return null}function Ft(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Ft(t,i);if(n.length)return n.unshift(e),n}return[]}class Ut{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ht(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Gt extends Bt{constructor(t,e){super(t),this.snapshot=e,Jt(this,t)}toString(){return this.snapshot.toString()}}function jt(t,e){const i=function(t,e){const i=new Vt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new $t("",new Ut(i,[]))}(t,e),n=new a.X([new yt("",{})]),s=new a.X({}),o=new a.X({}),r=new a.X({}),c=new a.X(""),l=new Yt(n,s,r,c,o,"primary",e,i.root);return l.snapshot=i.root,new Gt(new Ut(l,[]),i)}class Yt{constructor(t,e,i,n,s,o,r,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}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,I.U)(t=>st(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,I.U)(t=>st(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kt(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class Vt{constructor(t,e,i,n,s,o,r,a,c,l,u){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,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=st(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $t extends Bt{constructor(t,e){super(e),this.url=t,Jt(this,e)}toString(){return Qt(this._root)}}function Jt(t,e){e.value._routerState=t,e.children.forEach(e=>Jt(t,e))}function Qt(t){const e=t.children.length>0?` { ${t.children.map(Qt).join(", ")} } `:"";return`${t.value}${e}`}function Wt(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,at(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),at(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;iat(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Xt(t.parent,e.parent))}function te(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return te(t,e,n);return te(t,e)})}(t,e,i);return new Ut(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return ee(e,t),t}}const i=new Yt(new a.X((n=e.value).url),new a.X(n.params),new a.X(n.queryParams),new a.X(n.fragment),new a.X(n.data),n.outlet,n.component,n),s=e.children.map(e=>te(t,e));return new Ut(i,s)}var n}function ee(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new wt(i.root===t?e:oe(i.root,t,e),o,s)}function oe(t,e,i){const n={};return ht(t.children,(t,s)=>{n[s]=t===e?i:oe(t,e,i)}),new At(t.segments,n)}class re{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&ie(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(ne);if(n&&n!==ut(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ae{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function ce(t,e,i){if(t||(t=new At([],{})),0===t.segments.length&&t.hasChildren())return le(t,e,i);const n=function(t,e,i){let n=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return o;const e=t.segments[s],r=i[n];if(ne(r))break;const a=`${r}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!pe(a,c,e))return o;n+=2}else{if(!pe(a,{},e))return o;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=ce(t.children[n],e,i))}),ht(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new At(t.segments,s)}}function ue(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=ue(new At([],{}),0,t))}),e}function de(t){const e={};return ht(t,(t,i)=>e[i]=`${t}`),e}function pe(t,e,i){return t==i.path&&at(e,i.parameters)}class ge{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),Wt(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Ht(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),ht(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=Ht(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=Ht(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new et(t.value.snapshot))}),t.children.length&&this.forwardEvent(new X(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(Wt(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),fe(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function fe(t){Wt(t.value),t.children.forEach(fe)}class me{constructor(t,e){this.routes=t,this.module=e}}function be(t){return"function"==typeof t}function _e(t){return t instanceof wt}const we=Symbol("INITIAL_VALUE");function Ae(){return(0,R.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,x.q)(1),(0,O.O)(we)))).pipe(b((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==we)return t;if(n===we&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||_e(n))return n}return t},t)},we),(0,A.h)(t=>t!==we),(0,I.U)(t=>_e(t)?t:!0===t),(0,x.q)(1)))}let ye=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[wi]},encapsulation:2}),t})();function ve(t,e=""){for(let i=0;iSe(t)===e);return i.push(...t.filter(t=>Se(t)!==e)),i}const Ie={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Re(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},Ie):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||rt)(i,t,e);if(!s)return Object.assign({},Ie);const o={};ht(s.posParams,(t,e)=>{o[e]=t.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function xe(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>Oe(t,e,i)&&"primary"!==Se(i))}(t,i,n)){const s=new At(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const o of i)if(""===o.path&&"primary"!==Se(o)){const i=new At([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[Se(o)]=i}return s}(t,e,n,new At(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>Oe(t,e,i))}(t,i,n)){const o=new At(t.segments,function(t,e,i,n,s,o){const r={};for(const a of n)if(Oe(t,i,a)&&!s[Se(a)]){const i=new At([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===o?t.segments.length:e.length,r[Se(a)]=i}return Object.assign(Object.assign({},s),r)}(t,e,i,n,t.children,s));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}const o=new At(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}function Oe(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function Pe(t,e,i,n){return!!(Se(t)===n||"primary"!==n&&Oe(e,i,t))&&("**"===t.path||Re(e,t,i).matched)}function De(t,e,i){return 0===e.length&&!t.children[i]}class Me{constructor(t){this.segmentGroup=t||null}}class Le{constructor(t){this.urlTree=t}}function Ne(t){return new l.y(e=>e.error(new Me(t)))}function ze(t){return new l.y(e=>e.error(new Le(t)))}function Ze(t){return new l.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Be{constructor(t,e,i,n,o){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=xe(this.urlTree.root,[],[],this.config).segmentGroup,e=new At(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,I.U)(t=>this.createUrlTree(qe(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,P.K)(t=>{if(t instanceof Le)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Me)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,I.U)(e=>this.createUrlTree(qe(e),t.queryParams,t.fragment))).pipe((0,P.K)(t=>{if(t instanceof Me)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new At([],{primary:t}):t;return new wt(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe((0,I.U)(t=>new At([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return(0,o.D)(n).pipe((0,D.b)(n=>{const s=i.children[n],o=ke(e,n);return this.expandSegmentGroup(t,o,s,n).pipe((0,I.U)(t=>({segment:t,outlet:n})))}),b((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?(0,A.h)((e,i)=>t(e,i,n)):k.y,v(1),i?(0,S.d)(e):(0,E.T)(()=>new u.K))}())}expandSegment(t,e,i,n,s,a){return(0,o.D)(i).pipe((0,D.b)(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,s,a).pipe((0,P.K)(t=>{if(t instanceof Me)return(0,r.of)(null);throw t}))),(0,M.P)(t=>!!t),(0,P.K)((t,i)=>{if(t instanceof u.K||"EmptyError"===t.name){if(De(e,n,s))return(0,r.of)(new At([],{}));throw new Me(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,o,r){return Pe(n,e,s,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o):Ne(e):Ne(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ze(s):this.lineralizeSegments(i,s).pipe((0,L.zg)(i=>{const s=new At(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){const{matched:r,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Re(e,n,s);if(!r)return Ne(e);const u=this.applyRedirectCommands(a,n.redirectTo,l);return n.redirectTo.startsWith("/")?ze(u):this.lineralizeSegments(n,u).pipe((0,L.zg)(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),o,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,r.of)(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe((0,I.U)(t=>(i._loadedConfig=t,new At(n,{})))):(0,r.of)(new At(n,{}));const{matched:o,consumedSegments:a,lastChild:c}=Re(e,i,n);if(!o)return Ne(e);const l=n.slice(c);return this.getChildConfig(t,i,n).pipe((0,L.zg)(t=>{const n=t.module,o=t.routes,{segmentGroup:c,slicedSegments:u}=xe(e,a,l,o),h=new At(c.segments,c.children);if(0===u.length&&h.hasChildren())return this.expandChildren(n,o,h).pipe((0,I.U)(t=>new At(a,t)));if(0===o.length&&0===u.length)return(0,r.of)(new At(a,{}));const d=Se(i)===s;return this.expandSegment(n,h,o,u,d?"primary":s,!0).pipe((0,I.U)(t=>new At(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?(0,r.of)(new me(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,r.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe((0,L.zg)(i=>i?this.configLoader.load(t.injector,e).pipe((0,I.U)(t=>(e._loadedConfig=t,t))):function(t){return new l.y(e=>e.error(ot(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,r.of)(new me([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;if(!n||0===n.length)return(0,r.of)(!0);const s=n.map(n=>{const s=t.get(n);let o;if(function(t){return t&&be(t.canLoad)}(s))o=s.canLoad(e,i);else{if(!be(s))throw new Error("Invalid CanLoad guard");o=s(e,i)}return dt(o)});return(0,r.of)(s).pipe(Ae(),(0,N.b)(t=>{if(!_e(t))return;const e=ot(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,I.U)(t=>!0===t))}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,r.of)(i);if(n.numberOfChildren>1||!n.children.primary)return Ze(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new wt(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return ht(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let o={};return ht(e.children,(e,s)=>{o[s]=this.createSegmentGroup(t,e,i,n)}),new At(s,o)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function qe(t){const e={};for(const i of Object.keys(t.children)){const n=qe(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new At(t.segments.concat(e.segments),e.children)}return t}(new At(t.segments,e))}class Fe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ue{constructor(t,e){this.component=t,this.route=e}}function He(t,e,i){const n=t._root;return je(n,e?e._root:null,i,[n.value])}function Ge(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function je(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ht(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,r=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!vt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!vt(t.url,e.url)||!at(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xt(t,e)||!at(t.queryParams,e.queryParams);case"paramsChange":default:return!Xt(t,e)}}(r,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Fe(n)):(o.data=r.data,o._resolvedData=r._resolvedData),je(t,e,o.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Ue(a.outlet.component,r))}else r&&Ye(e,a,s),s.canActivateChecks.push(new Fe(n)),je(t,null,o.component?a?a.children:null:i,n,s)}(t,o[t.value.outlet],i,n.concat([t.value]),s),delete o[t.value.outlet]}),ht(o,(t,e)=>Ye(t,i.getContext(e),s)),s}function Ye(t,e,i){const n=Ht(t),s=t.value;ht(n,(t,n)=>{Ye(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Ue(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Ke{}function Ve(t){return new l.y(e=>e.error(t))}class $e{constructor(t,e,i,n,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=xe(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const i=new Vt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Ut(i,e),s=new $t(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=Kt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],o=ke(t,s),r=this.processSegmentGroup(o,n,s);if(null===r)return null;i.push(...r)}const n=Qe(i);return n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return De(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!Pe(t,e,i,n))return null;let s,o=[],r=[];if("**"===t.path){const n=i.length>0?ut(i).parameters:{};s=new Vt(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ti(t),Se(t),t.component,t,We(e),Xe(e)+i.length,ei(t))}else{const n=Re(e,t,i);if(!n.matched)return null;o=n.consumedSegments,r=i.slice(n.lastChild),s=new Vt(o,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ti(t),Se(t),t.component,t,We(e),Xe(e)+o.length,ei(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:l}=xe(e,o,r,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new Ut(s,t)]}if(0===a.length&&0===l.length)return[new Ut(s,[])];const u=Se(t)===n,h=this.processSegment(a,c,l,u?"primary":n);return null===h?null:[new Ut(s,h)]}}function Je(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Qe(t){const e=[],i=new Set;for(const n of t){if(!Je(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=Qe(n.children);e.push(new Ut(n.value,t))}return e.filter(t=>!i.has(t))}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Xe(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function ti(t){return t.data||{}}function ei(t){return t.resolve||{}}function ii(t){return(0,R.w)(e=>{const i=t(e);return i?(0,o.D)(i).pipe((0,I.U)(()=>e)):(0,r.of)(e)})}class ni{}class si extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const oi=new s.OlP("ROUTES");class ri{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe((0,I.U)(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new me(lt(n.injector.get(oi,void 0,s.XFs.Self|s.XFs.Optional)).map(Ee),n)}),(0,P.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new g.c(i,()=>new f.xQ).pipe((0,z.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):dt(t()).pipe((0,L.zg)(t=>t instanceof s.YKP?(0,r.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class ai{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ci,this.attachRef=null}}class ci{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new ai,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class li{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function ui(t){throw t}function hi(t,e,i){return e.parse("/")}function di(t,e){return(0,r.of)(null)}const pi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fi=(()=>{class t{constructor(t,e,i,n,o,r,c,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new f.xQ,this.errorHandler=ui,this.malformedUriErrorHandler=hi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:di,afterPreactivation:di},this.urlHandlingStrategy=new li,this.routeReuseStrategy=new si,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);const u=o.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new wt(new At([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ri(r,c,t=>this.triggerEvent(new J(t)),t=>this.triggerEvent(new Q(t))),this.routerState=jt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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()}setupNavigations(t){const e=this.events;return t.pipe((0,A.h)(t=>0!==t.id),(0,I.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,R.w)(t=>{let i=!1,n=!1;return(0,r.of)(t).pipe((0,N.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,R.w)(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,r.of)(t).pipe((0,R.w)(t=>{const i=this.transitions.getValue();return e.next(new F(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?p.E:Promise.resolve(t)}),(n=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,a=this.config,(0,R.w)(t=>function(t,e,i,n,s){return new Be(t,e,i,n,s).apply()}(n,s,o,t.extractedUrl,a).pipe((0,I.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,N.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return(0,L.zg)(o=>function(t,e,i,n,s="emptyOnly",o="legacy"){try{const a=new $e(t,e,i,n,s,o).recognize();return null===a?Ve(new Ke):(0,r.of)(a)}catch(a){return Ve(a)}}(t,e,o.urlAfterRedirects,i(o.urlAfterRedirects),n,s).pipe((0,I.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,N.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new j(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,o,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:o,extras:a}=t,c=new F(i,this.serializeUrl(n),s,o);e.next(c);const l=jt(n,this.rootComponentType).snapshot;return(0,r.of)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),ii(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,N.b)(t=>{const e=new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,I.U)(t=>Object.assign(Object.assign({},t),{guards:He(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,L.zg)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:c}}=i;return 0===c.length&&0===a.length?(0,r.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return(0,o.D)(t).pipe((0,L.zg)(t=>function(t,e,i,n,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,r.of)(!0);const a=o.map(o=>{const r=Ge(o,e,s);let a;if(function(t){return t&&be(t.canDeactivate)}(r))a=dt(r.canDeactivate(t,e,i,n));else{if(!be(r))throw new Error("Invalid CanDeactivate guard");a=dt(r(t,e,i,n))}return a.pipe((0,M.P)())});return(0,r.of)(a).pipe(Ae())}(t.component,t.route,i,e,n)),(0,M.P)(t=>!0!==t,!0))}(c,n,s,t).pipe((0,L.zg)(i=>i&&"boolean"==typeof i?function(t,e,i,n){return(0,o.D)(e).pipe((0,D.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new W(t)),(0,r.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new tt(t)),(0,r.of)(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const o=Ge(s,e.node,i);let r;if(function(t){return t&&be(t.canActivateChild)}(o))r=dt(o.canActivateChild(n,t));else{if(!be(o))throw new Error("Invalid CanActivateChild guard");r=dt(o(n,t))}return r.pipe((0,M.P)())});return(0,r.of)(s).pipe(Ae())}));return(0,r.of)(s).pipe(Ae())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,r.of)(!0);const s=n.map(n=>(0,d.P)(()=>{const s=Ge(n,e,i);let o;if(function(t){return t&&be(t.canActivate)}(s))o=dt(s.canActivate(e,t));else{if(!be(s))throw new Error("Invalid CanActivate guard");o=dt(s(e,t))}return o.pipe((0,M.P)())}));return(0,r.of)(s).pipe(Ae())}(t,e.route,i))),(0,M.P)(t=>!0!==t,!0))}(n,a,t,e):(0,r.of)(i)),(0,I.U)(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,N.b)(t=>{if(_e(t.guardsResult)){const e=ot(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,A.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),ii(t=>{if(t.guards.canActivateChecks.length)return(0,r.of)(t).pipe((0,N.b)(t=>{const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,R.w)(t=>{let e=!1;return(0,r.of)(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,(0,L.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,r.of)(t);let a=0;return(0,o.D)(s).pipe((0,D.b)(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return(0,r.of)({});const a={};return(0,o.D)(s).pipe((0,L.zg)(s=>function(t,e,i,n){const s=Ge(t,e,n);return dt(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe((0,N.b)(t=>{a[s]=t}))),v(1),(0,L.zg)(()=>Object.keys(a).length===s.length?(0,r.of)(a):p.E))}(t._resolve,t,e,n).pipe((0,I.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Kt(t,i).resolve),null)))}(t.route,e,i,n)),(0,N.b)(()=>a++),v(1),(0,L.zg)(e=>a===s.length?(0,r.of)(t):p.E))})),(0,N.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),(0,N.b)(t=>{const e=new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),ii(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,I.U)(t=>{const e=function(t,e,i){const n=te(t,e._root,i?i._root:void 0);return new Gt(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,N.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,a=this.routeReuseStrategy,c=t=>this.triggerEvent(t),(0,I.U)(t=>(new ge(a,t.targetRouterState,t.currentRouterState,c).activate(s),t))),(0,N.b)({next(){i=!0},complete(){i=!0}}),(0,Z.x)(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),(0,P.K)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=_e(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new H(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new G(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(o){t.reject(o)}}var s;return p.E}));var s,a,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ve(t),this.config=t.map(Ee),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:o,preserveFragment:r}=e,a=i||this.routerState.root,c=r?this.currentUrlTree.fragment:s;let l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=n||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,i,n,s){if(0===i.length)return se(e.root,e.root,e,n,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new re(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return ht(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new re(i,e,n)}(i);if(o.toRoot())return se(e.root,new At([],{}),e,n,s);const r=function(t,e,i){if(t.isAbsolute)return new ae(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new ae(t,t===e.root,0)}const n=ie(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,o=i;for(;o>s;){if(o-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new ae(n,!1,s-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(o,e,t),a=r.processChildren?le(r.segmentGroup,r.index,o.commands):ce(r.segmentGroup,r.index,o.commands);return se(r.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,l,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=_e(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==e&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===t.toString();if(r&&a)return Promise.resolve(!0);let c,l,u;s?(c=s.resolve,l=s.reject,u=s.promise):u=new Promise((t,e)=>{c=t,l=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new H(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Tt),s.LFG(ci),s.LFG(n.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),mi=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new f.xQ,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:_i(this.skipLocationChange),replaceUrl:_i(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:_i(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(fi),s.Y36(Yt),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),bi=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new f.xQ,this.subscription=t.events.subscribe(t=>{t instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:_i(this.skipLocationChange),replaceUrl:_i(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:_i(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(fi),s.Y36(Yt),s.Y36(n.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function _i(t){return""===t||!!t}let wi=(()=>{class t{constructor(t,e,i,n,o){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=n||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new Ai(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Ai{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Yt?this.route:t===ci?this.childContexts:this.parent.get(t,e)}}class yi{}class vi{preload(t,e){return(0,r.of)(null)}}let Ti=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new ri(e,i,e=>t.triggerEvent(new J(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,A.h)(t=>t instanceof U),(0,D.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return(0,o.D)(i).pipe((0,B.J)(),(0,I.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,r.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,L.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fi),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(yi))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Ci=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof F?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof U&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof it&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new it(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fi),s.LFG(n.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Ei=new s.OlP("ROUTER_CONFIGURATION"),Si=new s.OlP("ROUTER_FORROOT_GUARD"),ki=[n.Ye,{provide:Tt,useClass:Ct},{provide:fi,useFactory:function(t,e,i,n,s,o,r,a={},c,l){const u=new fi(null,t,e,i,n,s,o,lt(r));return c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),u},deps:[Tt,ci,n.Ye,s.zs3,s.v3s,s.Sil,oi,Ei,[class{},new s.FiY],[ni,new s.FiY]]},ci,{provide:Yt,useFactory:function(t){return t.routerState.root},deps:[fi]},{provide:s.v3s,useClass:s.EAV},Ti,vi,class{preload(t,e){return e().pipe((0,P.K)(()=>(0,r.of)(null)))}},{provide:Ei,useValue:{enableTracing:!1}}];function Ii(){return new s.PXZ("Router",fi)}let Ri=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[ki,Di(e),{provide:Si,useFactory:Pi,deps:[[fi,new s.FiY,new s.tp0]]},{provide:Ei,useValue:i||{}},{provide:n.S$,useFactory:Oi,deps:[n.lw,[new s.tBr(n.mr),new s.FiY],Ei]},{provide:Ci,useFactory:xi,deps:[fi,n.EM,Ei]},{provide:yi,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:vi},{provide:s.PXZ,multi:!0,useFactory:Ii},[Mi,{provide:s.ip1,multi:!0,useFactory:Li,deps:[Mi]},{provide:zi,useFactory:Ni,deps:[Mi]},{provide:s.tb,multi:!0,useExisting:zi}]]}}static forChild(e){return{ngModule:t,providers:[Di(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Si,8),s.LFG(fi,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function xi(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Ci(t,e,i)}function Oi(t,e,i={}){return i.useHash?new n.Do(t,e):new n.b0(t,e)}function Pi(t){return"guarded"}function Di(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:oi,multi:!0,useValue:t}]}let Mi=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.xQ}appInitializer(){return this.injector.get(n.V_,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(fi),n=this.injector.get(Ei);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?(0,r.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Ei),i=this.injector.get(Ti),n=this.injector.get(Ci),o=this.injector.get(fi),r=this.injector.get(s.z2F);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Li(t){return t.appInitializer.bind(t)}function Ni(t){return t.bootstrapListener.bind(t)}const zi=new s.OlP("Router Initializer")},48160:function(t,e,i){"use strict";i.d(e,{Zw:function(){return g},aw:function(){return D},X$:function(){return P},sK:function(){return O}});var n=i(31572),s=i(40878),o=i(4710),r=i(3148),a=i(47930),c=i(31450),l=i(90611),u=i(68303),h=i(79996),d=i(436),p=i(44689);class g{}let f=(()=>{class t extends g{getTranslation(t){return(0,s.of)({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class m{}let b=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!_(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{A(e[n])?n in t?i[n]=y(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class v{}let T=(()=>{class t extends v{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!w(t)||!w(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return w(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class C{}let E=(()=>{class t extends C{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=n.n5z(t)))(i||t)}}(),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();class S{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.vpe,this.onLangChange=new n.vpe,this.onDefaultLangChange=new n.vpe}}const k=new n.OlP("USE_STORE"),I=new n.OlP("USE_DEFAULT_LANG"),R=new n.OlP("DEFAULT_LANGUAGE"),x=new n.OlP("USE_EXTEND");let O=(()=>{class t{constructor(t,e,i,s,o,r=!0,a=!1,c=!1,l){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=s,this.missingTranslationHandler=o,this.useDefaultLang=r,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new n.vpe,this._onLangChange=new n.vpe,this._onDefaultLangChange=new n.vpe,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,l.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,s.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,l.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,s.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe((0,u.d)(1),(0,l.q)(1));return this.loadingTranslations=e.pipe((0,h.U)(e=>this.compiler.compileTranslations(e,t)),(0,u.d)(1),(0,l.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?y(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},a=!1;for(let s of e)n[s]=this.getParsedResult(t,s,i),(0,o.b)(n[s])&&(a=!0);if(a){const t=e.map(t=>(0,o.b)(n[t])?n[t]:(0,s.of)(n[t]));return(0,r.D)(t).pipe((0,h.U)(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i}))}return n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(i=>(i=this.getParsedResult(i,t,e),(0,o.b)(i)?i:(0,s.of)(i))));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return(0,o.b)(i)?i:(0,s.of)(i)}}getStreamOnTranslationChange(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,c.P)(()=>this.get(t,e)),this.onTranslationChange.pipe((0,p.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:(0,s.of)(n)})))}stream(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,c.P)(()=>this.get(t,e)),this.onLangChange.pipe((0,p.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return(0,o.b)(n)?n:(0,s.of)(n)})))}instant(t,e){if(!w(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if((0,o.b)(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(S),n.LFG(g),n.LFG(C),n.LFG(v),n.LFG(m),n.LFG(I),n.LFG(k),n.LFG(x),n.LFG(R))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);(0,o.b)(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(_(t,this.lastKey)&&_(e,this.lastParams))return this.value;let i;if(w(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(n.Y36(O,16),n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:g,useClass:f},e.compiler||{provide:C,useClass:E},e.parser||{provide:v,useClass:T},e.missingTranslationHandler||{provide:m,useClass:b},S,{provide:k,useValue:e.isolate},{provide:I,useValue:e.useDefaultLang},{provide:x,useValue:e.extend},{provide:R,useValue:e.defaultLanguage},O]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:g,useClass:f},e.compiler||{provide:C,useClass:E},e.parser||{provide:v,useClass:T},e.missingTranslationHandler||{provide:m,useClass:b},{provide:k,useValue:e.isolate},{provide:I,useValue:e.useDefaultLang},{provide:x,useValue:e.extend},{provide:R,useValue:e.defaultLanguage},O]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},52623:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{zr:function(){return OAuthModule},Ct:function(){return OAuthService}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(31572),_angular_common__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(61511),_angular_common_http__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(29063),tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(77632),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(55959),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(40878),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(19764),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(31225),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(31305),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(31906),rxjs_operators__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(43835),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(66599),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(47701),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(60509),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(44689),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(79996),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(47727),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(29085),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(90611),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(73982);module=__webpack_require__.hmd(module);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class t extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(i||t)}}(),t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class t{constructor(){this.data=new Map}getItem(t){return this.data.get(t)}removeItem(t){this.data.delete(t)}setItem(t,e){this.data.set(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class ReceivedTokens{}function b64DecodeUnicode(t){const e=t.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(t){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){let e=this.inferHashAlgorithm(t.idTokenHeader),i=yield this.calcHash(t.accessToken,e),n=base64UrlEncode(i.substr(0,i.length/2)),s=t.idTokenClaims.at_hash.replace(/=/g,"");return n!==s&&(console.error("exptected at_hash: "+n),console.error("actual at_hash: "+s)),n===s})}inferHashAlgorithm(t){let e=t.alg;if(!e.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+e);return"sha-"+e.substr(2)}}let UrlHelperService=(()=>{class t{getHashFragmentParams(t){let e=t||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const i=e.indexOf("?");return e=e.substr(i>-1?i+1:1),this.parseQueryString(e)}parseQueryString(t){const e={};let i,n,s,o,r,a,c;if(null===t)return e;i=t.split("&");for(let l=0;l{location.href=t},t&&Object.assign(this,t)}}class WebHttpUrlEncodingCodec{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(i){return new Sha256(e,!0).update(i)[t]()}};const \u02750=createOutputMethod;var createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var i=0;i>6,r[c++]=128|63&o):o<55296||o>=57344?(r[c++]=224|o>>12,r[c++]=128|o>>6&63,r[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++n)),r[c++]=240|o>>18,r[c++]=128|o>>12&63,r[c++]=128|o>>6&63,r[c++]=128|63&o);t=r}else{if("object"!==s)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var l=[],u=[];for(n=0;n<64;++n){var h=t[n]||0;l[n]=92^h,u[n]=54^h}Sha256.call(this,e,i),this.update(u),this.oKeyPad=l,this.inner=!0,this.sharedMemory=i}Sha256.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var n,s,o=0,r=t.length,a=this.blocks;o>2]|=t[o]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(a[s>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=a[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 t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,i,n,s,o,r=this.h0,a=this.h1,c=this.h2,l=this.h3,u=this.h4,h=this.h5,d=this.h6,p=this.h7,g=this.blocks;for(t=16;t<64;++t)g[t]=g[t-16]+(((e=g[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+g[t-7]+(((e=g[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(o=a&c,t=0;t<64;t+=4)this.first?(this.is224?(i=300032,p=(e=g[0]-1413257819)-150054599<<0,l=e+24177077<<0):(i=704751109,p=(e=g[0]-210244248)-1521486534<<0,l=e+143694565<<0),this.first=!1):(p=l+(e=p+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&h^~u&d)+K[t]+g[t])<<0,l=e+(((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+((i=r&a)^r&c^o))<<0),d=c+(e=d+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&u^~p&h)+K[t+1]+g[t+1])<<0,c=e+(((l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10))+((n=l&r)^l&a^i))<<0,h=a+(e=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&p^~d&u)+K[t+2]+g[t+2])<<0,a=e+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((s=c&l)^c&r^n))<<0,u=r+(e=u+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&p)+K[t+3]+g[t+3])<<0,r=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((o=a&c)^a&l^s))<<0;this.h0=this.h0+r<<0,this.h1=this.h1+a<<0,this.h2=this.h2+c<<0,this.h3=this.h3+l<<0,this.h4=this.h4+u<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=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[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[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[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[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[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]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r];return this.is224||(c+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o,r>>24&255,r>>16&255,r>>8&255,255&r];return this.is224||c.push(a>>24&255,a>>16&255,a>>8&255,255&a),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);class HashHandler{}let DefaultHashHandler=(()=>{class t{calcHash(t,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){const e=exports.array(t);return this.toHashString2(e)})}toHashString2(t){let e="";for(let i of t)e+=String.fromCharCode(i);return e}toHashString(t){const e=new Uint8Array(t);let i="";for(let n of e)i+=String.fromCharCode(n);return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})(),OAuthService=(()=>{class t extends AuthConfig{constructor(t,e,i,n,s,o,r,a,c,l){var u;super(),this.ngZone=t,this.http=e,this.config=s,this.urlHelper=o,this.logger=r,this.crypto=a,this.dateTimeService=l,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=c,s||(s={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),n&&(this.tokenValidationHandler=n),s&&this.configure(s);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if("undefined"!=typeof window&&void 0!==window.localStorage){const t=null===(u=null===window||void 0===window?void 0:window.navigator)||void 0===u?void 0:u.userAgent;((null==t?void 0:t.includes("MSIE "))||(null==t?void 0:t.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}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_3__.h)(t=>"token_received"===t.type)).subscribe(t=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(t={},e,i=!0){let n=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>{"token_received"===t.type?n=!0:"logout"===t.type&&(n=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_expires"===t.type&&(null==e||"any"===e||t.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(1e3)).subscribe(e=>{n&&this.refreshInternal(t,i).catch(t=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(t,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(t,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(t=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(t))}loadDiscoveryDocumentAndLogin(t=null){return this.loadDiscoveryDocumentAndTryLogin(t=t||{}).then(e=>!(!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 e=[],i=this.validateUrlForHttps(t),n=this.validateUrlAgainstIssuer(t);return i||e.push("https for all urls required. Also for urls received by discovery."),n||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(t){if(!t)return!0;const e=t.toLowerCase();return!1===this.requireHttps||!(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(t,e){if(!t)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(t))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(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_3__.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(),e=this.getAccessTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}setupIdTokenTimer(){const t=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(t,e){const i=this.dateTimeService.now();return Math.max(0,(e-t)*this.timeoutFactor-(i-t))}setStorage(t){this._storage=t,this.configChanged()}loadDiscoveryDocument(t=null){return new Promise((e,i)=>{t||((t=this.issuer||"").endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),this.validateUrlForHttps(t)?this.http.get(t).subscribe(t=>{if(!this.validateDiscoveryDocument(t))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=t.authorization_endpoint,this.logoutUrl=t.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=t.grant_types_supported,this.issuer=t.issuer,this.tokenEndpoint=t.token_endpoint,this.userinfoEndpoint=t.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=t.jwks_uri,this.sessionCheckIFrameUrl=t.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(t),this.revocationEndpoint=t.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(i=>{const n=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:t,jwks:i});this.eventsSubject.next(n),e(n)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)})},t=>{this.logger.error("error loading discovery document",t),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((t,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(e=>{this.jwks=e,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),t(e)},t=>{this.logger.error("error loading jwks",t),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),e(t)}):t(null)})}validateDiscoveryDocument(t){let e;return this.skipIssuerCheck||t.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(t.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!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,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingPasswordFlow(t,e,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,e)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(i=>{if(this.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){let n=JSON.parse(i.body);const s=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!s.sub||n.sub!==s.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");n=Object.assign({},s,n),this._storage.setItem("id_token_claims_obj",JSON.stringify(n)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t({info:n})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t(JSON.parse(i.body))},t=>{this.logger.error("error loading user info",t),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",t)),e(t)})})}fetchTokenUsingPasswordFlow(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingGrant("password",{username:t,password:e},i)}fetchTokenUsingGrant(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",t).set("scope",this.scope);if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(s,this.customQueryParams[s]);for(const s of Object.keys(e))n=n.set(s,e[s]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((t,e)=>{this.http.post(this.tokenEndpoint,n,{headers:i}).subscribe(e=>{this.debug("tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token&&this.processIdToken(e.id_token,e.access_token).then(i=>{this.storeIdToken(i),t(e)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),t(e)},t=>{this.logger.error("Error performing ${grantType} flow",t),this.eventsSubject.next(new OAuthErrorEvent("token_error",t)),e(t)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((t,e)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+t)}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 s of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,i,{headers:n}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.w)(t=>t.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.D)(this.processIdToken(t.id_token,t.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>this.storeIdToken(t)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(e=>t)):(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(t))).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.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),t(e)},t=>{this.logger.error("Error refreshing token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),e(t)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=t=>{const e=this.processMessageEventMessage(t);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(t=>this.debug("tryLogin during silent refresh failed",t))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(t={},e=!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 n=this.document.getElementById(this.silentRefreshIFrameName);n&&this.document.body.removeChild(n),this.silentRefreshSubject=i.sub;const s=this.document.createElement("iframe");s.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,t).then(t=>{s.setAttribute("src",t),this.silentRefreshShowIFrame||(s.style.display="none"),this.document.body.appendChild(s)});const o=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>t instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),r=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),a=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.S3)([o,r,a]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>{if(t instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===t.type||(t=new OAuthErrorEvent("silent_refresh_error",t)),this.eventsSubject.next(t),t;return"token_received"===t.type&&(t=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(t)),t})).toPromise()}initImplicitFlowInPopup(t){return this.initLoginFlowInPopup(t)}initLoginFlowInPopup(t){return t=t||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((i,n)=>{let s,o=null;t.windowRef?t.windowRef&&!t.windowRef.closed&&(o=t.windowRef,o.location.href=e):o=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(t));const r=t=>{this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{a(),i(!0)},t=>{a(),n(t)})};o?s=window.setInterval(()=>{o&&!o.closed||(a(),n(new OAuthErrorEvent("popup_closed",{})))},500):n(new OAuthErrorEvent("popup_blocked",{}));const a=()=>{window.clearInterval(s),window.removeEventListener("storage",l),window.removeEventListener("message",c),null!==o&&o.close(),o=null},c=t=>{const e=this.processMessageEventMessage(t);e&&null!==e?(window.removeEventListener("storage",l),r(e)):console.log("false event firing")},l=t=>{"auth_hash"===t.key&&(window.removeEventListener("message",c),r(t.newValue))};window.addEventListener("message",c),window.addEventListener("storage",l)}))}calculatePopupFeatures(t){const e=t.height||470,i=t.width||500,n=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${n}`}processMessageEventMessage(t){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!t||!t.data||"string"!=typeof t.data)return;const i=t.data;return i.startsWith(e)?"#"+i.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=t=>{const e=t.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(e)){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",e,"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_3__.h)(t=>"silently_refreshed"===t.type||"silent_refresh_timeout"===t.type||"silent_refresh_error"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.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 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 t=this.document.getElementById(this.sessionCheckIFrameName);t||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),t.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(t="",e="",i="",n=!1,s={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){let o;o=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 a=this.loginUrl.indexOf("?")>-1?"&":"?";let c=this.scope;this.oidc&&!c.match(/(^|\s)openid($|\s)/)&&(c="openid "+c);let l=this.loginUrl+a+"response_type="+encodeURIComponent(this.responseType)+"&client_id="+encodeURIComponent(this.clientId)+"&state="+encodeURIComponent(t)+"&redirect_uri="+encodeURIComponent(o)+"&scope="+encodeURIComponent(c);if(this.responseType.includes("code")&&!this.disablePKCE){const[t,e]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",e):this._storage.setItem("PKCE_verifier",e),l+="&code_challenge="+t,l+="&code_challenge_method=S256"}e&&(l+="&login_hint="+encodeURIComponent(e)),this.resource&&(l+="&resource="+encodeURIComponent(this.resource)),this.oidc&&(l+="&nonce="+encodeURIComponent(r)),n&&(l+="&prompt=none");for(const t of Object.keys(s))l+="&"+encodeURIComponent(t)+"="+encodeURIComponent(s[t]);if(this.customQueryParams)for(const t of Object.getOwnPropertyNames(this.customQueryParams))l+="&"+t+"="+encodeURIComponent(this.customQueryParams[t]);return l})}initImplicitFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initImplicitFlow",t),this.inImplicitFlow=!1})}initImplicitFlow(t="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(t,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"discovery_document_loaded"===t.type)).subscribe(i=>this.initImplicitFlowInternal(t,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(t){const e=this;if(t.onTokenReceived){const i={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};t.onTokenReceived(i)}}storeAccessTokenResponse(t,e,i,n,s){if(this._storage.setItem("access_token",t),n&&!Array.isArray(n)?this._storage.setItem("granted_scopes",JSON.stringify(n.split(" "))):n&&Array.isArray(n)&&this._storage.setItem("granted_scopes",JSON.stringify(n)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const t=1e3*i,e=this.dateTimeService.new().getTime()+t;this._storage.setItem("expires_at",""+e)}e&&this._storage.setItem("refresh_token",e),s&&s.forEach((t,e)=>{this._storage.setItem(e,t)})}tryLogin(t=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(t).then(t=>!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){const e=(t=t||{}).customHashFragment?t.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(e),n=i.code,s=i.state,o=i.session_state;if(!t.preventClearHashAfterLogin){const t=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,t)}let[r,a]=this.parseState(s);if(this.state=a,i.error){this.debug("error trying to login"),this.handleLoginError(t,i);const e=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(e),Promise.reject(e)}if(!t.disableNonceCheck){if(!r)return Promise.resolve();if(!t.disableOAuth2StateCheck&&!this.validateNonce(r)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.storeSessionState(o),n?this.getTokenFromCode(n,t).then(t=>null):Promise.resolve()}}getCodePartsFromUrl(t){return t&&0!==t.length?("?"===t.charAt(0)&&(t=t.substr(1)),this.urlHelper.parseQueryString(t)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(t,e){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",t).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let t;t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),t?i=i.set("code_verifier",t):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,e)}fetchAndProcessToken(t,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}return this.useHttpBasicAuth||(t=t.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(t=t.set("client_secret",this.dummyClientSecret)),new Promise((n,s)=>{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(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.oidc&&t.id_token?this.processIdToken(t.id_token,t.access_token,e.disableNonceCheck).then(e=>{this.storeIdToken(e),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),console.error("Error validating tokens"),console.error(t),s(t)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t))},t=>{console.error("Error getting token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),s(t)})})}tryLoginImplicitFlow(t=null){let e;e=(t=t||{}).customHashFragment?this.urlHelper.getHashFragmentParams(t.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const i=e.state;let[n,s]=this.parseState(i);if(this.state=s,e.error){this.debug("error trying to login"),this.handleLoginError(t,e);const i=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(i),Promise.reject(i)}const o=e.access_token,r=e.id_token,a=e.session_state,c=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!o)return Promise.resolve(!1);if(this.requestAccessToken&&!t.disableOAuth2StateCheck&&!i)return Promise.resolve(!1);if(this.oidc&&!r)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&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(n)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.requestAccessToken&&this.storeAccessTokenResponse(o,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c),this.oidc?this.processIdToken(r,o,t.disableNonceCheck).then(e=>t.validationHandler?t.validationHandler({accessToken:o,idClaims:e.idTokenClaims,idToken:e.idToken,state:i}).then(t=>e):e).then(e=>(this.storeIdToken(e),this.storeSessionState(a),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(t),this.inImplicitFlow=!1,!0)).catch(t=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),this.logger.error("Error validating tokens"),this.logger.error(t),Promise.reject(t))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(t),Promise.resolve(!0))}parseState(t){let e=t,i="";if(t){const n=t.indexOf(this.config.nonceStateSeparator);n>-1&&(e=t.substr(0,n),i=t.substr(n+this.config.nonceStateSeparator.length))}return[e,i]}validateNonce(t){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===t||(console.error("Validating access_token failed, wrong state/nonce.",e,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,e){t.onLoginError&&t.onLoginError(e),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(t=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:t}processIdToken(t,e,i=!1){const n=t.split("."),s=b64DecodeUnicode(this.padBase64(n[0])),o=JSON.parse(s),r=b64DecodeUnicode(this.padBase64(n[1])),a=JSON.parse(r);let c;if(c=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(t=>t!==this.clientId)){const t="Wrong audience: "+a.aud.join(",");return this.logger.warn(t),Promise.reject(t)}}else if(a.aud!==this.clientId){const t="Wrong audience: "+a.aud;return this.logger.warn(t),Promise.reject(t)}if(!a.sub){const t="No sub claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const t=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(t),Promise.reject(t)}if(!a.iat){const t="No iat claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const t="Wrong issuer: "+a.iss;return this.logger.warn(t),Promise.reject(t)}if(!i&&a.nonce!==c){const t="Wrong nonce: "+a.nonce;return this.logger.warn(t),Promise.reject(t)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const t="An at_hash is needed!";return this.logger.warn(t),Promise.reject(t)}const l=this.dateTimeService.now(),u=1e3*a.iat,h=1e3*a.exp,d=this.getClockSkewInMsec();if(u-d>=l||h+d<=l){const t="Token has expired";return console.error(t),console.error({now:l,issuedAtMSec:u,expiresAtMSec:h}),Promise.reject(t)}const p={accessToken:e,idToken:t,jwks:this.jwks,idTokenClaims:a,idTokenHeader:o,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(p).then(e=>({idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h})):this.checkAtHash(p).then(e=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!e){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return this.checkSignature(p).then(e=>{const i={idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h};return this.disableAtHashCheck?i:this.checkAtHash(p).then(t=>{if(this.requestAccessToken&&!t){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return i})})})}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"),e=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={},e=""){let i=!1;"boolean"==typeof t&&(i=t,t={});const n=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(t=>this._storage.removeItem(t)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl)return;if(i)return;if(!n&&!this.postLogoutRedirectUri)return;let s;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)s=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(n)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec});n&&(i=i.set("id_token_hint",n));const o=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";o&&(i=i.set("post_logout_redirect_uri",o),e&&(i=i.set("state",e)));for(let e in t)i=i.set(e,t[e]);s=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+i.toString()}this.config.openUri(s)}createAndSaveNonce(){const t=this;return this.createNonce().then(function(e){return t.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):t._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const t=this.document.getElementById(this.silentRefreshIFrameName);t&&t.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(t=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,n="";const s="undefined"==typeof self?null:self.crypto||self.msCrypto;if(s){let t=new Uint8Array(i);s.getRandomValues(t),t.map||(t.map=Array.prototype.map),t=t.map(t=>e.charCodeAt(t%e.length)),n=String.fromCharCode.apply(null,t)}else for(;0"discovery_document_loaded"===t.type)).subscribe(i=>this.initCodeFlowInternal(t,e))}initCodeFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initAuthorizationCodeFlow"),console.error(t)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.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 e=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(i=>{t[i]&&e.set(i,JSON.stringify(t[i]))}),e):e}revokeTokenAndLogout(t={},e=!1){let i=this.revocationEndpoint,n=this.getAccessToken(),s=this.getRefreshToken();if(!n)return;let o=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}),r=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const a of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(a,this.customQueryParams[a]);return new Promise((a,c)=>{let l,u;if(n){let t=o.set("token",n).set("token_type_hint","access_token");l=this.http.post(i,t,{headers:r})}else l=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);if(s){let t=o.set("token",s).set("token_type_hint","refresh_token");u=this.http.post(i,t,{headers:r})}else u=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);e&&(l=l.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t))),u=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_16__.aj)([l,u]).subscribe(e=>{this.logOut(t),a(e),this.logger.info("Token successfully revoked")},t=>{this.logger.error("Error revoking token",t),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",t)),c(t)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_17__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DateTimeProvider))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(t){return(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)}}let DefaultOAuthInterceptor=(()=>{class t{constructor(t,e,i){this.oAuthService=t,this.errorHandler=e,this.moduleConfig=i}checkUrl(t){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(t):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>t.toLowerCase().startsWith(e.toLowerCase()))}intercept(t,e){const i=t.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_18__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>!!t)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.zg)(i=>{if(i){const e=t.headers.set("Authorization","Bearer "+i);t=t.clone({headers:e})}return e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t)))})):e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t))):e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthModuleConfig,8))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class NullValidationHandler{validateSignature(t){return Promise.resolve(null)}validateAtHash(t){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class t{static forRoot(e=null,i=NullValidationHandler){return{ngModule:t,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:i},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:e},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_17__.ez]]}),t})();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_0__.OlP("AUTH_CONFIG")},82051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){r(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(t,o,r){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=o=o||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,o,r):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,o){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),s);else if(i(t))e(t,s,o);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){n(r)})}}:function(t,i,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&c||o)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=l?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},u.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=r.saveAs=r,t.exports=r})?i.apply(e,[]):i)||(t.exports=n)},30146:function(t,e,i){"use strict";i.d(e,{nu:function(){return H},Co:function(){return G}});var n=i(64762),s=i(31572),o=i(16073),r=i(71522),a=i(4786),c=i(66283),l=i(75842),u=i(78512),h=i(40878),d=i(31305),p=i(55959),g=i(44689),f=i(79996),m=i(56238),b=i(60509),_=i(25416),w=i(90611),A=i(43835),y=i(66599),v=i(15980),T=i(29236),C=i(43691),E=i(67806),S=i(36922),k=i(61511),I=i(4253),R=i(24621);const x=["searchSelectInput"],O=["innerSelectSearch"];function P(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-checkbox",9),s.NdJ("change",function(e){return s.CHM(t),s.oxw()._emitSelectAllBooleanToParent(e.checked)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("color",null==t.matFormField?null:t.matFormField.color)("checked",t.toggleAllCheckboxChecked)("indeterminate",t.toggleAllCheckboxIndeterminate)("matTooltip",t.toggleAllCheckboxTooltipMessage)("matTooltipPosition",t.toogleAllCheckboxTooltipPosition)}}function D(t,e){1&t&&s._UZ(0,"mat-spinner",10)}function M(t,e){1&t&&s.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function L(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"close"),s.qZA())}function N(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw()._reset(!0)}),s.YNc(1,M,1,0,"ng-content",12),s.YNc(2,L,2,0,"ng-template",null,13,s.W1O),s.qZA()}if(2&t){const t=s.MAs(3),e=s.oxw();s.xp6(1),s.Q6J("ngIf",e.clearIcon)("ngIfElse",t)}}function z(t,e){if(1&t&&(s.TgZ(0,"div",14),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.noEntriesFoundLabel,"\n")}}const Z=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],B=function(t,e){return{"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":e}},q=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let F=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t})();var U;let H=(()=>{let t=U=class{constructor(t,e,i,n=null,r,a=null){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=n,this.liveAnnouncer=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new s.vpe,this.onTouched=t=>{},this._options$=new u.X(null),this.optionsList$=this._options$.pipe((0,g.w)(t=>t?t.changes.pipe((0,f.U)(t=>t.toArray()),(0,m.O)(t.toArray())):(0,h.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,f.U)(t=>t?t.length:0)),this._formControl=new o.NI(""),this._showNoEntriesFound$=(0,d.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,f.U)(([t,e])=>this.noEntriesFoundLabel&&t&&e===this.getOptionsLengthOffset())),this._onDestroy=new p.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,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,b.g)(1),(0,_.R)(this._onDestroy)).subscribe(t=>{t?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,w.q)(1)).pipe((0,_.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,_.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,_.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const e=this._options.toArray(),i=e[this.getOptionsLengthOffset()],n=this.matSelect._keyManager;n&&this.matSelect.panelOpen&&(!!this.matSelect.compareWith(t,i)&&n.activeItem&&e.find(t=>this.matSelect.compareWith(t,n.activeItem))||n.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),t=i})})}),this._showNoEntriesFound$.pipe((0,_.R)(this._onDestroy)).subscribe(t=>{this.matOption&&(t?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,_.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,_.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=l.A&&t.keyCode<=l.Z||t.keyCode>=l.xE&&t.keyCode<=l.aO||t.keyCode===l.L_||this.preventHomeEndKeyPropagation&&(t.keyCode===l.Sd||t.keyCode===l.uR))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&t.keyCode===l.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&t.keyCode===l.hY&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(t.keyCode===l.LH||t.keyCode===l.JH){const t=this.matSelect._getAriaActiveDescendant(),e=this._options.toArray().findIndex(e=>e.id===t);if(-1!==e){const t=this._options.toArray()[e];this.liveAnnouncer.announce(t.viewValue+" "+this.getAriaIndex(e)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(t){return 0===this.getOptionsLengthOffset()?t+1:t}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe((0,A.h)(t=>t!==this._lastExternalInputValue),(0,y.b)(()=>this._lastExternalInputValue=void 0),(0,_.R)(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,_.R)(this._onDestroy)).subscribe(t=>{let e=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){t&&Array.isArray(t)||(t=[]);const i=this.matSelect.options.map(t=>t.value);this.previousSelectedValues.forEach(n=>{t.some(t=>this.matSelect.compareWith(t,n))||i.some(t=>this.matSelect.compareWith(t,n))||(t.push(n),e=!0)})}this.previousSelectedValues=t,e&&this.matSelect._onChange(t)})):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 t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=(0,r.CB)(e,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+e,s=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,a=Math.floor((256-o)/t),c=Math.round((s+o)/t)-1;c>=n?this.matSelect.panel.nativeElement.scrollTop=n*t:c+a<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*t-(256-o))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let t,e=this.innerSelectSearch.nativeElement;for(;e=e.parentElement;)if(e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}};return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.gD),s.Y36(s.sBO),s.Y36(I.rL),s.Y36(r.ey,8),s.Y36(R.Kd),s.Y36(c.KE,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,F,5),2&t){let t;s.iGM(t=s.CRH())&&(e.clearIcon=t.first)}},viewQuery:function(t,e){if(1&t&&(s.Gf(x,7,s.SBq),s.Gf(O,7,s.SBq)),2&t){let t;s.iGM(t=s.CRH())&&(e.searchSelectInput=t.first),s.iGM(t=s.CRH())&&(e.innerSelectSearch=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-select-search-inside-mat-option",e.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[s._Bn([{provide:o.JU,useExisting:(0,s.Gpc)(()=>U),multi:!0}])],ngContentSelectors:q,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(t,e){1&t&&(s.F$t(Z),s._UZ(0,"input",0),s.TgZ(1,"div",1,2),s.YNc(3,P,1,5,"mat-checkbox",3),s.TgZ(4,"input",4,5),s.NdJ("keydown",function(t){return e._handleKeydown(t)})("keyup",function(t){return e._handleKeyup(t)})("blur",function(){return e.onBlur()}),s.qZA(),s.YNc(6,D,1,0,"mat-spinner",6),s.YNc(7,N,4,2,"button",7),s.Hsn(8),s.qZA(),s.YNc(9,z,2,1,"div",8),s.ALo(10,"async")),2&t&&(s.xp6(1),s.Q6J("ngClass",s.WLB(11,B,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),s.xp6(2),s.Q6J("ngIf",e._isToggleAllCheckboxVisible()),s.xp6(1),s.Q6J("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),s.uIk("aria-label",e.ariaLabel),s.xp6(2),s.Q6J("ngIf",e.searching),s.xp6(1),s.Q6J("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),s.xp6(2),s.Q6J("ngIf",s.lcZ(10,9,e._showNoEntriesFound$)))},directives:[k.mk,k.O5,o.Fj,o.JJ,o.oH,T.oG,S.gM,E.$g,v.lW,C.Hw],pipes:[k.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}),t=U=(0,n.gn)([(0,n.fM)(0,(0,s.tBr)(a.gD)),(0,n.fM)(3,(0,s.FiY)()),(0,n.fM)(3,(0,s.tBr)(r.ey)),(0,n.fM)(5,(0,s.FiY)()),(0,n.fM)(5,(0,s.tBr)(c.KE))],t),t})(),G=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[k.ez,o.UX,v.ot,T.p9,C.Ps,E.Cq,S.AV]]}),t})()},40963:function(t){"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,i,n,s){n=n||"=";var o={};if("string"!=typeof t||0===t.length)return o;var r=/\+/g;t=t.split(i=i||"&");var a=1e3;s&&"number"==typeof s.maxKeys&&(a=s.maxKeys);var c=t.length;a>0&&c>a&&(c=a);for(var l=0;l=0?(u=g.substr(0,f),h=g.substr(f+1)):(u=g,h=""),d=decodeURIComponent(u),p=decodeURIComponent(h),e(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},15341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var o=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return o+encodeURIComponent(e(t))}).join(i):o+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},96577:function(t,e,i){"use strict";i(40963),e.stringify=i(15341)},78512:function(t,e,i){"use strict";i.d(e,{X:function(){return o}});var n=i(55959),s=i(13895);class o extends n.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},99867:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(96673);class s extends n.L{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},3103:function(t,e,i){"use strict";i.d(e,{P:function(){return r}});var n=i(70653),s=i(40878),o=i(31225);let r=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},48318:function(t,e,i){"use strict";i.d(e,{y:function(){return l}});var n=i(96673),s=i(55331),o=i(57498),r=i(56197),a=i(13392),c=i(51484);let l=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:r}=this,a=function(t,e,i){if(t){if(t instanceof n.L)return t;if(t[s.b])return t[s.b]()}return t||e||i?new n.L(t,e,i):new n.L(o.c)}(t,e,i);if(a.add(r?r.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:s}=t;if(e||s)return!1;t=i&&i instanceof n.L?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[r.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},57498:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(51484),s=i(14294);const o={closed:!0,next(t){},error(t){if(n.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},59829:function(t,e,i){"use strict";i.d(e,{L:function(){return s}});var n=i(96673);class s extends n.L{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},66994:function(t,e,i){"use strict";i.d(e,{t:function(){return m}});var n=i(55959),s=i(8277);class o extends s.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}var r=i(91098);class a extends r.v{}const c=new a(o);var l=i(87570),u=i(96673),h=i(3103);class d extends u.L{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(h.P.createNext(t))}_error(t){this.scheduleMessage(h.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var g=i(13895),f=i(19291);class m extends n.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let o;if(this.closed)throw new g.N;if(this.isStopped||this.hasError?o=l.w.EMPTY:(this.observers.push(t),o=new f.W(this,t)),n&&t.add(t=new d(t,n)),e)for(let r=0;re&&(o=Math.max(o,s-e)),o>0&&n.splice(0,o),n}}class b{constructor(t,e){this.time=t,this.value=e}}},55959:function(t,e,i){"use strict";i.d(e,{Yc:function(){return l},xQ:function(){return u}});var n=i(48318),s=i(96673),o=i(87570),r=i(13895),a=i(19291),c=i(55331);class l extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.b](){return new l(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new r.N;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):o.w.EMPTY}}},19291:function(t,e,i){"use strict";i.d(e,{W:function(){return s}});var n=i(87570);class s extends n.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}},96673:function(t,e,i){"use strict";i.d(e,{L:function(){return l}});var n=i(85024),s=i(57498),o=i(87570),r=i(55331),a=i(51484),c=i(14294);class l extends o.w{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,i)}}[r.b](){return this}static create(t,e,i){const n=new l(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends l{constructor(t,e,i,o){let r;super(),this._parentSubscriber=t;let a=this;(0,n.m)(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==s.c&&(a=Object.create(e),(0,n.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=a.v;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;(0,c.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw i;(0,c.z)(i)}}__tryOrSetError(t,e,i){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):((0,c.z)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},87570:function(t,e,i){"use strict";i.d(e,{w:function(){return a}});var n=i(98470),s=i(82056),o=i(85024);const r=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof r?e.errors:e),[])}},51484:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},42875:function(t,e,i){"use strict";i.d(e,{c:function(){return a},N:function(){return c}});var n=i(55959),s=i(48318),o=i(87570),r=i(21564);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.w,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,r.x)()(this)}}const c=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class l extends n.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},31305:function(t,e,i){"use strict";i.d(e,{aj:function(){return l}});var n=i(76163),s=i(98470),o=i(59829),r=i(6268),a=i(99342);const c={};function l(...t){let e=null,i=null;return(0,n.K)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,a.n)(t,i).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{let i;try{i=t()}catch(n){return void e.error(n)}return(i?(0,s.D)(i):(0,o.c)()).subscribe(e)})}},70653:function(t,e,i){"use strict";i.d(e,{E:function(){return s},c:function(){return o}});var n=i(48318);const s=new n.y(t=>t.complete());function o(t){return t?function(t){return new n.y(e=>t.schedule(()=>e.complete()))}(t):s}},3148:function(t,e,i){"use strict";i.d(e,{D:function(){return c}});var n=i(48318),s=i(98470),o=i(79996),r=i(82056),a=i(19764);function c(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return l(e,null);if((0,r.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return l(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return l(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,o.U)(t=>e(...t)))}return l(t,null)}function l(t,e){return new n.y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let o=0,r=0;for(let c=0;c{u||(u=!0,r++),s[c]=t},error:t=>i.error(t),complete:()=>{o++,o!==n&&u||(r===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}},19764:function(t,e,i){"use strict";i.d(e,{D:function(){return h}});var n=i(48318),s=i(16015),o=i(87570),r=i(56197),a=i(62570),c=i(25686),l=i(5168),u=i(59653);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>{const s=t[r.L]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if((0,l.t)(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[c.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.y(i=>{const n=new o.w;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[c.hZ](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof n.y?t:new n.y((0,s.s)(t))}},99342:function(t,e,i){"use strict";i.d(e,{n:function(){return r}});var n=i(48318),s=i(30625),o=i(62570);function r(t,e){return e?(0,o.r)(t,e):new n.y((0,s.V)(t))}},87254:function(t,e,i){"use strict";i.d(e,{R:function(){return a}});var n=i(48318),s=i(98470),o=i(85024),r=i(79996);function a(t,e,i,l){return(0,o.m)(i)&&(l=i,i=void 0),l?a(t,e,i).pipe((0,r.U)(t=>(0,s.k)(t)?l(...t):l(t))):new n.y(n=>{c(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function c(t,e,i,n,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),o=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),o=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),o=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,r=t.length;o(i.add(e.schedule(a,t,{subscriber:i,counter:0,period:t})),i))}function a(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}},31906:function(t,e,i){"use strict";i.d(e,{T:function(){return a}});var n=i(48318),s=i(76163),o=i(97471),r=i(99342);function a(...t){let e=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return(0,s.K)(a)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof n.y?t[0]:(0,o.J)(e)((0,r.n)(t,i))}},40878:function(t,e,i){"use strict";i.d(e,{of:function(){return r}});var n=i(76163),s=i(99342),o=i(62570);function r(...t){let e=t[t.length-1];return(0,n.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,s.n)(t)}},3875:function(t,e,i){"use strict";i.d(e,{S3:function(){return a}});var n=i(98470),s=i(99342),o=i(59829),r=i(6268);function a(...t){if(1===t.length){if(!(0,n.k)(t[0]))return t[0];t=t[0]}return(0,s.n)(t,void 0).lift(new c)}class c{call(t,e){return e.subscribe(new l(t))}}class l extends o.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let i=0;ie.schedule(o,0,{error:t,subscriber:i}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},81110:function(t,e,i){"use strict";i.d(e,{H:function(){return a}});var n=i(48318),s=i(48569),o=i(62293),r=i(76163);function a(t=0,e,i){let a=-1;return(0,o.k)(e)?a=Number(e)<1?1:Number(e):(0,r.K)(e)&&(i=e),(0,r.K)(i)||(i=s.P),new n.y(e=>{const n=(0,o.k)(t)?t:+t-i.now();return i.schedule(c,n,{index:0,period:a,subscriber:e})})}function c(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}},30810:function(t,e,i){"use strict";i.d(e,{e:function(){return l}});var n=i(48569),s=i(59829),o=i(6268);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new a(t,this.durationSelector))}}class a extends s.L{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=(0,o.D)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var c=i(81110);function l(t,e=n.P){return i=()=>(0,c.H)(t,e),function(t){return t.lift(new r(i))};var i}},47727:function(t,e,i){"use strict";i.d(e,{K:function(){return r}});var n=i(59829),s=i(99867),o=i(6268);function r(t){return function(e){const i=new a(t),n=e.lift(i);return i.caught=n}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}class c extends n.L{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new s.d(this,void 0,void 0);this.add(n);const r=(0,o.D)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}},436:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(73982);function s(t,e){return(0,n.zg)(t,e,1)}},47701:function(t,e,i){"use strict";i.d(e,{b:function(){return o}});var n=i(96673),s=i(48569);function o(t,e=s.P){return i=>i.lift(new r(t,e))}class r{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends n.L{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},7768:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(96673);function s(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new r(t,this.defaultValue))}}class r extends n.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},60509:function(t,e,i){"use strict";i.d(e,{g:function(){return a}});var n=i(48569),s=i(38802),o=i(96673),r=i(3103);function a(t,e=n.P){const i=(0,s.J)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new c(i,e))}class c{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends o.L{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new u(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.P.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},98720:function(t,e,i){"use strict";i.d(e,{x:function(){return s}});var n=i(96673);function s(t,e){return i=>i.lift(new o(t,e))}class o{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new r(t,this.compare,this.keySelector))}}class r extends n.L{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}},43835:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(96673);function s(t,e){return function(i){return i.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.predicate,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}},11520:function(t,e,i){"use strict";i.d(e,{x:function(){return o}});var n=i(96673),s=i(87570);function o(t){return e=>e.lift(new r(t))}class r{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends n.L{constructor(t,e){super(t),this.add(new s.w(e))}}},3530:function(t,e,i){"use strict";i.d(e,{P:function(){return l}});var n=i(39665),s=i(43835),o=i(90611),r=i(7768),a=i(90790),c=i(13392);function l(t,e){const i=arguments.length>=2;return l=>l.pipe(t?(0,s.h)((e,i)=>t(e,i,l)):c.y,(0,o.q)(1),i?(0,r.d)(e):(0,a.T)(()=>new n.K))}},79996:function(t,e,i){"use strict";i.d(e,{U:function(){return s}});var n=i(96673);function s(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new o(t,e))}}class o{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.project,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}},88414:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(96673);function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.value=t}call(t,e){return e.subscribe(new r(t,this.value))}}class r extends n.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},97471:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(73982),s=i(13392);function o(t=Number.POSITIVE_INFINITY){return(0,n.zg)(s.y,t)}},73982:function(t,e,i){"use strict";i.d(e,{zg:function(){return c}});var n=i(6268),s=i(59829),o=i(99867),r=i(79996),a=i(19764);function c(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new l(t,i)))}class l{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}class u extends s.L{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},21564:function(t,e,i){"use strict";i.d(e,{x:function(){return s}});var n=i(96673);function s(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new r(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class r extends n.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}},1055:function(t,e,i){"use strict";i.d(e,{B:function(){return a}});var n=i(42875),s=i(21564),o=i(55959);function r(){return new o.xQ}function a(){return t=>{return(0,s.x)()((e=r,function(t){let i;i="function"==typeof e?e:function(){return e};const s=Object.create(t,n.N);return s.source=t,s.subjectFactory=i,s})(t));var e}}},68303:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(66994);function s(t,e,i){let s;return s=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:s}){let o,r,a=0,c=!1,l=!1;return function(u){a++,o&&!c||(c=!1,o=new n.t(t,e,s),r=u.subscribe({next(t){o.next(t)},error(t){c=!0,o.error(t)},complete(){l=!0,r=void 0,o.complete()}}));const h=o.subscribe(this);this.add(()=>{a--,h.unsubscribe(),r&&!l&&i&&0===a&&(r.unsubscribe(),r=void 0,o=void 0)})}}(s))}},56238:function(t,e,i){"use strict";i.d(e,{O:function(){return o}});var n=i(47930),s=i(76163);function o(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),i=>(0,n.z)(t,i,e)):e=>(0,n.z)(t,e)}},44689:function(t,e,i){"use strict";i.d(e,{w:function(){return c}});var n=i(59829),s=i(99867),o=i(6268),r=i(79996),a=i(19764);function c(t,e){return"function"==typeof e?i=>i.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))))):e=>e.lift(new l(t))}class l{constructor(t){this.project=t}call(t,e){return e.subscribe(new u(t,this.project))}}class u extends n.L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new s.d(this,e,i),a=this.destination;a.add(r),this.innerSubscription=(0,o.D)(this,t,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}},90611:function(t,e,i){"use strict";i.d(e,{q:function(){return r}});var n=i(96673),s=i(98402),o=i(70653);function r(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends n.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}},25416:function(t,e,i){"use strict";i.d(e,{R:function(){return o}});var n=i(59829),s=i(6268);function o(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const i=new a(t),n=(0,s.D)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class a extends n.L{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},66599:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(96673);function s(){}var o=i(85024);function r(t,e,i){return function(n){return n.lift(new a(t,e,i))}}class a{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends n.L{constructor(t,e,i,n){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=i||s,this._tapComplete=n||s,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},90790:function(t,e,i){"use strict";i.d(e,{T:function(){return o}});var n=i(39665),s=i(96673);function o(t=c){return e=>e.lift(new r(t))}class r{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new n.K}},29085:function(t,e,i){"use strict";i.d(e,{V:function(){return h}});var n=i(48569);const s=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();var o=i(38802),r=i(59829),a=i(6268);class c{constructor(t,e,i,n){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=i,this.scheduler=n}call(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class l extends r.L{constructor(t,e,i,n,s){super(t),this.absoluteTimeout=e,this.waitFor=i,this.withObservable=n,this.scheduler=s,this.action=null,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add((0,a.D)(t,e))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(l.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var u=i(31225);function h(t,e=n.P){return function(t,e,i=n.P){return n=>{let s=(0,o.J)(t),r=s?+t-i.now():Math.abs(t);return n.lift(new c(r,s,e,i))}}(t,(0,u._)(new s),e)}},62570:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(48318),s=i(87570);function o(t,e){return new n.y(i=>{const n=new s.w;let o=0;return n.add(e.schedule(function(){o!==t.length?(i.next(t[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:function(t,e,i){"use strict";i.d(e,{o:function(){return o}});var n=i(87570);class s extends n.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},91098:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class s extends n{constructor(t,e=n.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}},91741:function(t,e,i){"use strict";i.d(e,{r:function(){return a}});var n=i(8277);class s extends n.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var o=i(91098);class r extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),o={};function r(t){return t in o&&(delete o[t],!0)}const a={setImmediate(t){const e=n++;return o[e]=!0,s.then(()=>r(e)&&t()),e},clearImmediate(t){r(t)}};var c=i(8277);class l extends c.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var u=i(91098);class h extends u.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++n"function"==typeof Symbol&&Symbol.observable||"@@observable")()},55331:function(t,e,i){"use strict";i.d(e,{b:function(){return n}});const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},98402:function(t,e,i){"use strict";i.d(e,{W:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},39665:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},13895:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},14294:function(t,e,i){"use strict";function n(t){setTimeout(()=>{throw t},0)}i.d(e,{z:function(){return n}})},13392:function(t,e,i){"use strict";function n(t){return t}i.d(e,{y:function(){return n}})},98470:function(t,e,i){"use strict";i.d(e,{k:function(){return n}});const n=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},59653:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});const n=t=>t&&"number"==typeof t.length&&"function"!=typeof t},38802:function(t,e,i){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}i.d(e,{J:function(){return n}})},85024:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.d(e,{m:function(){return n}})},62293:function(t,e,i){"use strict";i.d(e,{k:function(){return s}});var n=i(98470);function s(t){return!(0,n.k)(t)&&t-parseFloat(t)+1>=0}},82056:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,{K:function(){return n}})},4710:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(48318);function s(t){return!!t&&(t instanceof n.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},5168:function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,{t:function(){return n}})},76163:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,{K:function(){return n}})},16015:function(t,e,i){"use strict";i.d(e,{s:function(){return u}});var n=i(30625),s=i(14294),o=i(25686),r=i(56197),a=i(59653),c=i(5168),l=i(82056);const u=t=>{if(t&&"function"==typeof t[r.L])return u=t,t=>{const e=u[r.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,n.V)(t);if((0,c.t)(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[o.hZ])return e=t,t=>{const i=e[o.hZ]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=(0,l.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i,u}},30625:function(t,e,i){"use strict";i.d(e,{V:function(){return n}});const n=t=>e=>{for(let i=0,n=t.length;i=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(e,i,r):s(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r}function s(t,e){return function(i,n){e(i,n,t)}}function o(t,e,i,n){return new(i||(i=Promise))(function(s,o){function r(t){try{c(n.next(t))}catch(e){o(e)}}function a(t){try{c(n.throw(t))}catch(e){o(e)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(r,a)}c((n=n.apply(t,e||[])).next())})}i.d(e,{gn:function(){return n},fM:function(){return s},mG:function(){return o}})},60306:function(t){"use strict";t.exports={i8:"3.0.0"}}},function(t){"use strict";t(t.s=73868)}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/main-es5.af0cb7e3f45c254d3a3f.js b/dist/apps/admin-gui/main-es5.af0cb7e3f45c254d3a3f.js deleted file mode 100644 index 9185b8185..000000000 --- a/dist/apps/admin-gui/main-es5.af0cb7e3f45c254d3a3f.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(t){var n="function"==typeof Map?new Map:void 0;return(e=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return i(t,arguments,h(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)})(t)}function i(t,e,n){return(i=l()?Reflect.construct:function(t,e,i){var n=[null];n.push.apply(n,e);var r=new(Function.bind.apply(t,n));return i&&a(r,i.prototype),r}).apply(null,arguments)}function n(t,e,i){return(n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var n,r,o=[],a=!0,s=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}(t,e)||p(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=l();return function(){var i,n=h(t);if(e){var r=h(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return u(this,i)}}function u(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||p(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=p(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function p(t,e){if(t){if("string"==typeof t)return g(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0),u.xp6(1),u.Q6J("ngIf",!i.firstSearchDone),u.xp6(1),u.Q6J("ngIf",i.firstSearchDone&&0===i.users.length)}}var S=function(){var t=function(){function t(e,i,n){v(this,t),this.usersService=e,this.storeService=i,this.tableConfigService=n,this.loading=!1,this.firstSearchDone=!1,this.tableId=r.xx,this.attributes=[]}return y(t,[{key:"ngOnInit",value:function(){this.searchControl=new s.NI("",[s.kI.required,s.kI.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}},{key:"onSearchByString",value:function(){var t=this;this.searchControl.invalid?this.searchControl.markAllAsTouched():(this.loading=!0,this.firstSearchDone=!0,this.usersService.findRichUsersWithAttributes(this.searchControl.value,this.attributes).subscribe(function(e){t.users=e,t.loading=!1},function(){t.loading=!1}))}},{key:"onKeyInput",value:function(t){"Enter"===t.key&&this.onSearchByString()}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"findUsersWithoutVO",value:function(){var t=this;this.loading=!0,this.firstSearchDone=!0,this.usersService.getRichUsersWithoutVoWithAttributes(this.attributes).subscribe(function(e){t.users=e,t.loading=!1},function(){return t.loading=!1})}}]),t}();return t.id="AdminUsersComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(n.Fv),u.Y36(a.d6),u.Y36(r.dB))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:18,vars:17,consts:[[3,"keyup"],[1,"page-subtitle"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","users","page",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"pageSize","displayedColumns","users","page"],[3,"alert_type"]],template:function(t,e){1&t&&(u.TgZ(0,"div",0),u.NdJ("keyup",function(t){return e.onKeyInput(t)}),u.TgZ(1,"h1",1),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"mat-form-field",2),u._UZ(5,"input",3),u.ALo(6,"translate"),u.TgZ(7,"mat-error"),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.qZA(),u.TgZ(10,"button",4),u.NdJ("click",function(){return e.onSearchByString()}),u.TgZ(11,"mat-icon"),u._uU(12,"search"),u.qZA(),u.qZA(),u.TgZ(13,"button",5),u.NdJ("click",function(){return e.findUsersWithoutVO()}),u._uU(14),u.ALo(15,"translate"),u.qZA(),u.YNc(16,w,1,0,"mat-spinner",6),u.YNc(17,C,4,3,"div",7),u.qZA()),2&t&&(u.xp6(2),u.Oqu(u.lcZ(3,9,"ADMIN.USERS.TITLE")),u.xp6(3),u.s9C("placeholder",u.lcZ(6,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),u.Q6J("formControl",e.searchControl),u.xp6(3),u.hij(" ",u.lcZ(9,13,"ADMIN.USERS.EMPTY_SEARCH")," "),u.xp6(2),u.Q6J("disabled",e.loading),u.xp6(3),u.Q6J("disabled",e.loading),u.xp6(1),u.hij(" ",u.lcZ(15,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[c.KE,l.Nt,s.Fj,s.JJ,s.oH,c.TO,h.lW,d.Hw,f.O5,p.$g,g.C,m.w],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),t}()},61601:function(t,e,i){"use strict";i.d(e,{y:function(){return C}});var n=i(88426),r=i(38289),o=i(29063),a=i(84140),s=i(31572),u=i(84608),c=i(15980),l=i(48160),h=function(){var t=function(){function t(e){v(this,t),this.dialogRef=e}return y(t,[{key:"onReload",value:function(){location.reload()}},{key:"onClose",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(u.so))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div",2),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"div",3),s.TgZ(9,"button",4),s.NdJ("click",function(){return e.onClose()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onReload()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),s.xp6(5),s.hij(" ",s.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),s.xp6(4),s.hij(" ",s.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),s.xp6(3),s.hij(" ",s.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[u.uh,u.xY,u.H8,c.lW],pipes:[l.X$],styles:[""]}),t}(),d=i(57629),f=i(43835),p=function(){var t=function(){function t(e,i){v(this,t),this.router=e,this.routeReuseStrategy=i;var n=i;e.events.subscribe(function(t){t instanceof d.OD&&n.setLastNavigationType("popstate"===t.navigationTrigger?"back":"direct")})}return y(t,[{key:"init",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(d.F0),s.LFG(d.wN))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function g(t,e){if(1&t&&(s.TgZ(0,"div",3),s.TgZ(1,"mat-icon"),s._uU(2,"alert"),s.qZA(),s._uU(3),s.qZA()),2&t){var i=s.oxw();s.xp6(3),s.hij(" ",i.warningMessage,"\n")}}var m=function(t,e){return{top:t,background:e}},b=function(t,e){return{"margin-top":t,"min-height":e}},w=function(t){return{"border-color":t}},_=function(t){return{background:t}},A=function(t,e){return{"min-height":t,"background-color":e}};function k(t,e){if(1&t&&(s._UZ(0,"app-perun-nav-menu",4),s.TgZ(1,"mat-sidenav-container",5),s.TgZ(2,"mat-sidenav",6,7),s.TgZ(4,"perfect-scrollbar",8),s._UZ(5,"app-side-menu",9),s.qZA(),s.qZA(),s.TgZ(6,"mat-sidenav-content",10),s.TgZ(7,"div",11),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",12),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&t){var i=s.MAs(3),n=s.oxw();s.Q6J("ngStyle",s.WLB(13,m,n.getNavMenuTop(),n.navBackgroundColor))("sideNav",i)("principal",n.principal),s.xp6(1),s.Q6J("ngStyle",s.WLB(16,b,n.getSideNavMarginTop(),n.getSideNavMinHeight())),s.xp6(1),s.Q6J("ngStyle",s.VKq(19,w,n.sideBarBorderColor))("mode",n.sidebarMode)("opened",!n.isMobile())("fixedInViewport",!0)("fixedTopGap",n.getTopGap()),s.xp6(2),s.Q6J("ngStyle",s.VKq(21,_,n.sideMenubackgroundColor))("scrollIndicators",!0),s.xp6(1),s.Q6J("sideNav",i),s.xp6(1),s.Q6J("ngStyle",s.WLB(23,A,n.getContentInnerMinHeight(),n.contentBackgroundColor))}}function T(t,e){1&t&&s._UZ(0,"perun-web-apps-login-screen-base",13),2&t&&s.Q6J("application","admin-gui")}var C=function(){var t=function(){function t(e,n,r,o,a,s){v(this,t),this.cache=e,this.store=n,this.http=r,this.dialog=o,this.router=a,this.initAuth=s,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=i(60306).i8,this.cache.init(),this.getScreenSize()}return y(t,[{key:"getScreenSize",value:function(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}},{key:"isMobile",value:function(){return window.innerWidth<=t.minWidth}},{key:"ngOnInit",value:function(){var t=this;this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),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,r.F)(3e4).subscribe(function(){t.loadAppVersion()}),this.router.events.pipe((0,f.h)(function(t){return t instanceof d.OD})).subscribe(function(e){t.updateInitAccessedPage(e)})}},{key:"updateInitAccessedPage",value:function(t){t.url===sessionStorage.getItem("initPage")?("imperative"===t.navigationTrigger&&t.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===t.navigationTrigger&&(t.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(t.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}},{key:"loadAppVersion",value:function(){var t=this,e=new o.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:e}).subscribe(function(e){var i=e.version;if(i)if(t.version&&"SNAPSHOT"!==i&&t.version!==i){var n=(0,a.kZ)();t.dialog.open(h,n)}else t.version=i},function(){})}},{key:"getTopGap",value:function(){return this.displayWarning?112:64}},{key:"getSideNavMarginTop",value:function(){return this.displayWarning?"112px":"64px"}},{key:"getSideNavMinHeight",value:function(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}},{key:"getNavMenuTop",value:function(){return this.displayWarning?"48px":"0"}},{key:"getContentInnerMinHeight",value:function(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}}]),t}();return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(s.Y36(p),s.Y36(n.d6),s.Y36(o.eN),s.Y36(u.uw),s.Y36(d.F0),s.Y36(n.v0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application"]],template:function(t,e){1&t&&(s.YNc(0,g,4,1,"div",0),s._UZ(1,"perun-web-apps-notificator",1),s.YNc(2,k,11,26,"ng-template",2),s.YNc(3,T,1,1,"ng-template",2)),2&t&&(s.Q6J("ngIf",e.displayWarning),s.xp6(1),s.Q6J("displayWarning",e.displayWarning),s.xp6(1),s.Q6J("ngIf",!e.isLoginScreenShow),s.xp6(1),s.Q6J("ngIf",e.isLoginScreenShow))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width:768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.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}"]}),t}()},48958:function(t,e,i){"use strict";i.d(e,{D:function(){return r}});var n=i(31572),r=function(){var t=function(){function t(){v(this,t),this.accessItemsChange=new n.vpe,this.facilityItemsChange=new n.vpe,this.adminItemsChange=new n.vpe,this.userItemsChange=new n.vpe,this.resetChange=new n.vpe,this.homeItemsChange=new n.vpe}return y(t,[{key:"setHomeItems",value:function(t){this.homeItemsChange.emit(t)}},{key:"setAccessMenuItems",value:function(t){this.accessItemsChange.emit(t)}},{key:"setFacilityMenuItems",value:function(t){this.facilityItemsChange.emit(t)}},{key:"setAdminItems",value:function(t){this.adminItemsChange.emit(t)}},{key:"setUserItems",value:function(t){this.userItemsChange.emit(t)}},{key:"reset",value:function(){this.resetChange.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},39124:function(t,e,i){"use strict";i.d(e,{o:function(){return C}});var n=i(33642),r=i(60611),o=i(88426),a=i(31572),s=i(57629),u=i(59403),c=i(66283),l=i(4786),h=i(71522),d=i(61511),f=i(19139),p=i(67806),g=i(78364),m=i(39571),b=i(48160);function w(t,e){if(1&t&&(a.TgZ(0,"mat-option",9),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.Q6J("value",i.id),a.xp6(1),a.hij(" ",i.name," ")}}function _(t,e){1&t&&a._UZ(0,"mat-spinner",10)}var A=function(){return["id","vo","name","description"]};function k(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",11),a.NdJ("page",function(t){return a.CHM(i),a.oxw().pageChanged(t)}),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("pageSize",n.pageSize)("displayedColumns",a.DdM(6,A))("groups",n.groupsToShow)("groupsToDisable",n.groupsWithoutRouteAuth)("filter",n.filterValue)("disableMembers",!1)}}function T(t,e){1&t&&(a.TgZ(0,"app-alert",12),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_GROUPS.NO_GROUPS_ALERT")," "))}var C=function(){var t=function(){function t(e,i,n,o){v(this,t),this.facilityManager=e,this.route=i,this.tableConfigService=n,this.authResolver=o,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=r.Aj,this.groupsWithoutRouteAuth=new Set}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.facilityId=e.facilityId,t.facilityManager.getAllowedVos(t.facilityId).subscribe(function(e){t.vos=e,t.refreshTable()})})}},{key:"showGroup",value:function(){var t=this;this.groupsToShow="all"!==this.selected?this.groups.filter(function(e){return e.voId===parseInt(t.selected,10)}):this.groups}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.groups=[],this.filterValue="",this.vos.forEach(function(e){t.facilityManager.getAllowedGroups(t.facilityId,e.id).subscribe(function(i){t.groups=t.groups.concat(i),t.groupsToShow=t.groups,t.setAuthRights(e,i),t.loading=!1})}),0===this.vos.length&&(this.loading=!1)}},{key:"setAuthRights",value:function(t,e){var i=this;e.forEach(function(e){i.authResolver.isAuthorized("getGroupById_int_policy",[t,e])||i.groupsWithoutRouteAuth.add(e.id)})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="FacilityAllowedGroupsComponent",t.\u0275fac=function(e){return new(e||t)(a.Y36(n.IQ),a.Y36(s.gz),a.Y36(r.dB),a.Y36(o.x4))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("router-component",e.true)},inputs:{groups:"groups"},decls:18,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page"],["alert_type","warn"]],template:function(t,e){1&t&&(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 e.refreshTable()}),a.qZA(),a.TgZ(5,"mat-form-field"),a.TgZ(6,"mat-label"),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"mat-select",2),a.NdJ("valueChange",function(t){return e.selected=t})("selectionChange",function(){return e.showGroup()}),a.TgZ(10,"mat-option",3),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.YNc(13,w,2,2,"mat-option",4),a.qZA(),a.qZA(),a.TgZ(14,"perun-web-apps-immediate-filter",5),a.NdJ("filter",function(t){return e.applyFilter(t)}),a.qZA(),a.YNc(15,_,1,0,"mat-spinner",6),a.YNc(16,k,1,7,"perun-web-apps-groups-list",7),a.YNc(17,T,3,3,"app-alert",8),a.qZA()),2&t&&(a.xp6(2),a.Oqu(a.lcZ(3,9,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),a.xp6(5),a.Oqu(a.lcZ(8,11,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),a.xp6(2),a.Q6J("value",e.selected),a.xp6(2),a.Oqu(a.lcZ(12,13,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),a.xp6(2),a.Q6J("ngForOf",e.vos),a.xp6(1),a.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading&&0!==e.groupsToShow.length),a.xp6(1),a.Q6J("ngIf",0===e.groupsToShow.length&&!e.loading))},directives:[u.t,c.KE,c.hX,l.gD,h.ey,d.sg,f.L,d.O5,p.$g,g.W,m.w],pipes:[b.X$],styles:[""]}),t}()},64467:function(t,e,i){"use strict";i.d(e,{f:function(){return P}});var n=i(4230),r=i(95909),o=i(33642),a=i(16073),s=i(84608),u=i(88426),c=i(31572),l=i(48160),h=i(61511),d=i(15980),f=i(67806),p=i(19386),g=i(66283),m=i(80340);function b(t,e){1&t&&c._UZ(0,"mat-spinner",5)}function w(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"div",6),c.TgZ(1,"perun-web-apps-vo-search-select",7),c.NdJ("voSelected",function(t){return c.CHM(i),c.oxw().selectedVo=t}),c.qZA(),c.TgZ(2,"mat-form-field"),c._UZ(3,"input",8),c.ALo(4,"translate"),c.TgZ(5,"mat-error"),c._uU(6),c.ALo(7,"translate"),c.qZA(),c.qZA(),c.TgZ(8,"mat-form-field"),c._UZ(9,"input",8),c.ALo(10,"translate"),c.TgZ(11,"mat-error"),c._uU(12),c.ALo(13,"translate"),c.qZA(),c.qZA(),c.qZA()}if(2&t){var n=c.oxw();c.xp6(1),c.Q6J("vos",n.vos),c.xp6(2),c.s9C("placeholder",c.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),c.Q6J("formControl",n.nameCtrl),c.xp6(3),c.hij(" ",c.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),c.xp6(3),c.s9C("placeholder",c.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),c.Q6J("formControl",n.descriptionCtrl),c.xp6(3),c.hij(" ",c.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}var _=function(){var t=function(){function t(e,i,n,r,o,a){var s=this;v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.resourcesManager=a,this.vos=[],this.selectedVo=null,o.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(function(t){return s.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(function(e){t.vos=e,t.loading=!1},function(){return t.loading=!1}),this.nameCtrl=new a.NI(null,[a.kI.required,a.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new a.NI(null,[a.kI.required,a.kI.pattern(".*[\\S]+.*")])}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Y36(s.so),c.Y36(s.WI),c.Y36(u.V6),c.Y36(o.YF),c.Y36(l.sK),c.Y36(o.xk))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"long-input",3,"vos","voSelected"],["matInput","","required","",3,"placeholder","formControl"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.YNc(1,b,1,0,"mat-spinner",0),c.YNc(2,w,14,15,"div",1),c.TgZ(3,"div",2),c.TgZ(4,"button",3),c.NdJ("click",function(){return e.onCancel()}),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"button",4),c.NdJ("click",function(){return e.onSubmit()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.Tol(e.theme),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading),c.xp6(3),c.Oqu(c.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),c.xp6(2),c.Q6J("disabled",e.nameCtrl.invalid||e.descriptionCtrl.invalid||null===e.selectedVo||e.loading),c.xp6(1),c.Oqu(c.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[h.O5,s.H8,d.lW,f.$g,s.xY,p.M,g.KE,m.Nt,a.Fj,a.Q7,a.JJ,a.oH,g.TO],pipes:[l.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),t}(),A=i(60611),k=i(84140),T=i(57629),C=i(59403),S=i(19139),E=i(88884);function x(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"button",7),c.NdJ("click",function(){return c.CHM(i),c.oxw().createResource()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&t&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function R(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(i),c.oxw().removeResource()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}if(2&t){var n=c.oxw();c.Q6J("disabled",0===n.selected.selected.length),c.xp6(1),c.hij(" ",c.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function I(t,e){1&t&&c._UZ(0,"mat-spinner",9)}function O(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"perun-web-apps-resources-list",10),c.NdJ("page",function(t){return c.CHM(i),c.oxw().pageChanged(t)}),c.qZA()}if(2&t){var n=c.oxw();c.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("selection",n.selected)("disableRouting",!n.routeAuth)("displayedColumns",n.displayedColumns)}}var P=function(){var t=function(){function t(e,i,r,o,a){v(this,t),this.dialog=e,this.facilitiesManager=i,this.tableConfigService=r,this.route=o,this.authResolver=a,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=A.CP,this.displayedColumns=["id","vo","facility","description"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.facilitiesManager.getFacilityById(e.facilityId).subscribe(function(e){t.facility=e,t.refreshTable()})})}},{key:"removeResource",value:function(){var t=this,e=(0,k.kZ)();e.width="450px",e.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(r.f,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(function(e){t.resources=e,t.selected.clear(),t.setAuthRights(),t.loading=!1})}},{key:"setAuthRights",value:function(){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]]))}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"createResource",value:function(){var t=this,e=(0,k.kZ)();e.width="1350px",e.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(_,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="FacilityResourcesComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(s.uw),c.Y36(o.IQ),c.Y36(A.dB),c.Y36(T.gz),c.Y36(u.x4))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.refreshTable()}),c.qZA(),c.YNc(5,x,3,3,"button",2),c.YNc(6,R,3,4,"button",3),c.TgZ(7,"perun-web-apps-immediate-filter",4),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.YNc(8,I,1,0,"mat-spinner",5),c.YNc(9,O,1,6,"perun-web-apps-resources-list",6),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),c.xp6(3),c.Q6J("ngIf",!e.loading&&e.addAuth),c.xp6(1),c.Q6J("ngIf",!e.loading&&e.removeAuth),c.xp6(1),c.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[C.t,h.O5,S.L,d.lW,f.$g,E.C],pipes:[l.X$],styles:[""]}),t}()},73916:function(t,e,i){"use strict";i.d(e,{P:function(){return Z}});var n=i(33642),r=i(84140),o=i(60611),a=i(4230),s=i(84608),u=i(88426),c=i(16073),l=i(31572),h=i(48160),d=i(61511),f=i(15980),p=i(67806),g=i(66283),m=i(80340),b=i(4786),w=i(71522);function _(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function A(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"mat-option",13),l.NdJ("click",function(){var t=l.CHM(i).$implicit;return l.oxw(2).srcFacility=t}),l._uU(1),l.qZA()}if(2&t){var n=e.$implicit;l.Q6J("value",n),l.xp6(1),l.hij(" ",n.name," ")}}function k(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",7),l.TgZ(1,"mat-form-field"),l._UZ(2,"input",8),l.ALo(3,"translate"),l.TgZ(4,"mat-error"),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA(),l.TgZ(7,"mat-form-field"),l._UZ(8,"input",9),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"mat-form-field"),l.TgZ(11,"mat-select",10),l.ALo(12,"translate"),l.TgZ(13,"mat-option",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().srcFacility=null}),l._uU(14),l.ALo(15,"translate"),l.qZA(),l.YNc(16,A,2,2,"mat-option",12),l.qZA(),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(2),l.s9C("placeholder",l.lcZ(3,8,"DIALOGS.CREATE_FACILITY.NAME")),l.Q6J("formControl",n.nameControl),l.xp6(3),l.Oqu(l.lcZ(6,10,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),l.xp6(3),l.s9C("placeholder",l.lcZ(9,12,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),l.Q6J("formControl",n.descControl),l.xp6(3),l.s9C("placeholder",l.lcZ(12,14,"DIALOGS.CREATE_FACILITY.AS_COPY")),l.xp6(3),l.hij(" ",l.lcZ(15,16,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),l.xp6(2),l.Q6J("ngForOf",n.facilities)}}var T=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.facilitiesManager=n,this.notificator=r,this.translate=o,this.nameControl=new c.NI("",[c.kI.required]),this.descControl=new c.NI(""),this.srcFacility=null,this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(function(e){t.facilities=e,t.loading=!1},function(){return t.loading=!1})}},{key:"copyFacilitySettings",value:function(t){var e=this;this.facilitiesManager.copyAttributes(this.srcFacility.id,t).subscribe(function(){e.facilitiesManager.copyManagers(e.srcFacility.id,t).subscribe(function(){e.facilitiesManager.copyOwners(e.srcFacility.id,t).subscribe(function(){e.handleSuccess()},function(){return e.loading=!1})},function(){return e.loading=!1})},function(){return e.loading=!1})}},{key:"onCreate",value:function(){var t=this;this.loading=!0,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(function(e){null!==t.srcFacility?t.copyFacilitySettings(e.id):t.handleSuccess()})}},{key:"handleSuccess",value:function(){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.dialogRef.close(!0)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.IQ),l.Y36(u.V6),l.Y36(h.sK))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-create-facility-dialog"]],decls:13,vars:15,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,k,17,18,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onCreate()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.CREATE_FACILITY.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.Oqu(l.lcZ(9,11,"DIALOGS.CREATE_FACILITY.CANCEL")),l.xp6(2),l.Q6J("disabled",0===e.nameControl.value.trim().length||e.loading),l.xp6(1),l.Oqu(l.lcZ(12,13,"DIALOGS.CREATE_FACILITY.CREATE")))},directives:[d.O5,s.H8,f.lW,p.$g,s.xY,g.KE,m.Nt,c.Fj,c.Q7,c.JJ,c.oH,g.TO,b.gD,w.ey,d.sg],pipes:[h.X$],styles:[""]}),t}(),C=i(30570),S=i(48958),E=i(66297),x=i(43691),R=i(59403),I=i(19139),O=i(60007);function P(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function D(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCreate()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"FACILITY_MANAGEMENT.CREATE")))}function M(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onDelete()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.Oqu(l.lcZ(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function L(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(t){return l.CHM(i),l.oxw().applyFilter(t)}),l.qZA()}2&t&&l.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function N(t,e){1&t&&l._UZ(0,"mat-spinner",13)}function z(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-facilities-list",14),l.NdJ("page",function(t){return l.CHM(i),l.oxw().pageChanged(t)}),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("selection",n.selection)("filterValue",n.filterValue)("facilities",n.facilities)("recentIds",n.recentIds)}}var F=function(){return{color:"black"}},Z=function(){var t=function(){function t(e,i,n,r){v(this,t),this.facilityManager=e,this.sideMenuService=i,this.tableConfigService=n,this.dialog=r,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=o.xt,this.selection=new a.Ov(!1,[])}return y(t,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"ngAfterViewChecked",value:function(){this.sideMenuService.setFacilityMenuItems([])}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(function(e){t.selection.clear(),t.facilities=e,t.recentIds=(0,r.vL)("facilities"),t.loading=!1})}},{key:"onCreate",value:function(){var t=this,e=(0,r.kZ)();e.width="800px",e.data={theme:"facility-theme"},this.dialog.open(T,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.refreshTable())})}},{key:"onDelete",value:function(){var t=this,e=(0,r.kZ)();e.width="500px",e.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(C.Y,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="FacilitySelectPageComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(n.IQ),l.Y36(S.D),l.Y36(o.dB),l.Y36(s.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:12,vars:11,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",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","selection","filterValue","facilities","recentIds","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","selection","filterValue","facilities","recentIds","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,P,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,D,3,3,"button",4),l.YNc(8,M,3,4,"button",5),l.YNc(9,L,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,N,1,0,"mat-spinner",7),l.YNc(11,z,1,5,"perun-web-apps-facilities-list",8),l.qZA()),2&t&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,F)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"FACILITY_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[E.W,x.Hw,d.PC,d.O5,R.t,f.lW,I.L,p.$g,O.X],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t}()},92438:function(t,e,i){"use strict";i.d(e,{J:function(){return k}});var n=i(84608),r=i(88426),o=i(33642),a=i(84140),s=i(16073),u=i(31572),c=i(48160),l=i(66283),h=i(80340),d=i(4786),p=i(61511),g=i(15980),m=i(71522),b=function(){var t=function(){function t(e){v(this,t),this.translateService=e,this.returnData=""}return y(t,[{key:"transform",value:function(t){var e=this;switch(t){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(function(t){e.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_HIDDEN").subscribe(function(t){e.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(function(t){e.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(function(t){e.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_SHOW").subscribe(function(t){e.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(function(t){e.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(function(t){e.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(function(t){e.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(function(t){e.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(function(t){e.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(function(t){e.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(function(t){e.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(function(t){e.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(function(t){e.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(function(t){e.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(function(t){e.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(function(t){e.returnData=t});break;default:return t}return this.returnData}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(c.sK,16))},t.\u0275pipe=u.Yjl({name:"applicationFormWidgetDescription",type:t,pure:!0}),t}(),w=i(65050);function _(t,e){if(1&t&&(u.TgZ(0,"mat-option",9),u._uU(1),u.ALo(2,"applicationFormItemType"),u.qZA()),2&t){var i=e.$implicit;u.Q6J("value",i),u.xp6(1),u.hij(" ",u.lcZ(2,2,i)," ")}}function A(t,e){if(1&t&&(u.TgZ(0,"mat-option",9),u._uU(1),u.qZA()),2&t){var i=e.$implicit;u.Q6J("value",i),u.xp6(1),u.hij(" ",i," ")}}var k=function(){var t=function(){function t(e,i,n,r){v(this,t),this.dialogRef=e,this.data=i,this.translateService=n,this.store=r,this.languages=this.store.get("supportedLanguages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","FROM_FEDERATION_HIDDEN","HTML_COMMENT","TEXTFIELD","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(function(e){t.nameCtrl=new s.NI("",[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),t.nameCtrl.markAllAsTouched(),t.items.push(e);var i,n=f(t.data.applicationFormItems);try{for(n.s();!(i=n.n()).done;){var r=i.value;t.items.push(r.shortname),r.type===o.Dy.EMBEDDEDGROUPAPPLICATION&&(t.widgets=t.widgets.filter(function(t){return t!==o.Dy.EMBEDDEDGROUPAPPLICATION}))}}catch(a){n.e(a)}finally{n.f()}t.selectedItem=e})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"submit",value:function(){var t=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,t])}},{key:"createApplicationItem",value:function(){var t=(0,a.dv)(this.languages);t.id=this.data.fakeId,t.shortname=this.nameCtrl.value,t.type=this.selectedWidget;for(var e=0;e0&&(i+=", "),i+=r.friendlyName.substring(16)+": "+r.value)}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"getLoginsForCandidate",value:function(t){var e="";for(var i in t.attributes)Object.prototype.hasOwnProperty.call(t.attributes,i)&&-1!==i.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=t.attributes[i]&&(e.length>0&&(e+=", "),e+=i.substring(49)+": "+t.attributes[i]);return e}},{key:"getAlreadyMember",value:function(t){if("vo"===this.type){if(null!=t.member)return"Member of VO"}else{if(null!=t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType)return"Member of Group";if(null!=t.member&&0!==t.member.sourceGroupId&&"INDIRECT"===t.member.membershipType)return"Indirect member of Group";if(null!=t.member)return"Member of VO"}return""}},{key:"isCheckboxDisabled",value:function(t){return"vo"===this.type?null!=t.member:!!t.member&&0!==t.member.sourceGroupId&&"DIRECT"===t.member.membershipType}},{key:"setAddAuth",value:function(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}},{key:"itemSelectionToggle",value:function(t){this.selection.toggle(t),this.setAddAuth()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(r.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-members-candidates-list"]],viewQuery:function(t,e){var i;(1&t&&(l.Gf(h.YE,5),l.Gf(u.l9,7)),2&t)&&(l.iGM(i=l.CRH())&&(e.matSort=i.first),l.iGM(i=l.CRH())&&(e.child=i.first))},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[l.TTD],decls:29,vars:6,consts:[[1,"card","mt-2"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,C,1,0,"th",4),l.YNc(5,S,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,E,3,3,"th",7),l.YNc(8,R,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,I,3,3,"th",7),l.YNc(11,O,4,5,"td",8),l.BQk(),l.ynx(12,10),l.YNc(13,P,3,3,"th",7),l.YNc(14,D,3,3,"td",8),l.BQk(),l.ynx(15,11),l.YNc(16,M,3,3,"th",7),l.YNc(17,L,2,1,"td",8),l.BQk(),l.ynx(18,12),l.YNc(19,N,3,3,"th",7),l.YNc(20,z,2,1,"td",8),l.BQk(),l.ynx(21,13),l.YNc(22,F,3,3,"th",7),l.YNc(23,Z,2,1,"td",8),l.BQk(),l.ynx(24,14),l.YNc(25,B,1,0,"th",7),l.YNc(26,q,2,1,"td",8),l.BQk(),l.YNc(27,U,1,0,"tr",15),l.YNc(28,H,1,0,"tr",16),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.xp6(1),l.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),l.xp6(1),l.Q6J("dataSource",e.dataSource),l.xp6(25),l.Q6J("matHeaderRowDef",e.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",e.displayedColumns))},directives:[p.l,d.BZ,h.YE,d.w1,d.fO,d.Dz,d.as,d.nj,d.ge,d.ev,g.oG,h.nU,m.O5,b.gM,d.XQ,d.Gk],pipes:[w.X$,_.u,A.f,k.d,T.Z],styles:[""]}),t}(),G=i(16073),Y=i(57629),V=i(66283),K=i(80340),J=i(15980),Q=i(67806),W=i(39571),X=i(8055),$=["list"];function tt(t,e){1&t&&l._UZ(0,"mat-spinner",10)}function et(t,e){1&t&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function it(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"app-members-candidates-list",15,16),l.NdJ("page",function(t){return l.CHM(i),l.oxw(3).pageChanged(t)}),l.qZA()}if(2&t){var n=l.oxw(3);l.Q6J("group",n.data.group)("pageSize",n.pageSize)("selection",n.selection)("members",n.members)("type",n.data.type)}}function nt(t,e){if(1&t&&(l.TgZ(0,"div",11),l.YNc(1,et,3,3,"app-alert",12),l.YNc(2,it,2,5,"app-members-candidates-list",13),l.qZA()),2&t){var i=l.oxw(2);l.xp6(1),l.Q6J("ngIf",0===i.members.length&&i.firstSearchDone),l.xp6(1),l.Q6J("ngIf",0!==i.members.length)}}function rt(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",4),l.TgZ(1,"mat-form-field",5),l.TgZ(2,"label"),l.TgZ(3,"input",6),l.NdJ("keyup.enter",function(){return l.CHM(i),l.oxw().onSearchByString()}),l.ALo(4,"translate"),l.qZA(),l.qZA(),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"button",7),l.NdJ("click",function(){return l.CHM(i),l.oxw().onSearchByString()}),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"div",8),l.YNc(12,tt,1,0,"mat-spinner",2),l.qZA(),l.YNc(13,nt,3,2,"div",9),l.qZA()}if(2&t){var n=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),l.Q6J("formControl",n.searchCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),l.xp6(2),l.Q6J("disabled",n.loading),l.xp6(1),l.hij(" ",l.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),l.xp6(3),l.Q6J("ngIf",n.loading),l.xp6(1),l.Q6J("ngIf",!!n.members&&!n.loading)}}function ot(t,e){1&t&&l._UZ(0,"mat-spinner",10)}function at(t,e){if(1&t&&(l.TgZ(0,"button",24),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t){l.oxw();var i=l.MAs(8),n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length||n.loading)("matMenuTriggerFor",i),l.xp6(1),l.hij(" ",l.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function st(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){var t=l.CHM(i).$implicit;return l.oxw(2).onInvite(t)}),l._uU(1),l.ALo(2,"translate"),l.ALo(3,"uppercase"),l.qZA()}if(2&t){var n=e.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,l.lcZ(3,3,"SHARED_LIB.LANGUAGES."+n))," ")}}function ut(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",17),l.TgZ(1,"button",18),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"span",19),l.ALo(5,"translate"),l.YNc(6,at,3,5,"button",20),l.TgZ(7,"mat-menu",null,21),l.YNc(9,st,4,5,"button",22),l.qZA(),l.qZA(),l.TgZ(10,"button",23),l.NdJ("click",function(){return l.CHM(i),l.oxw().onAdd()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),l.Q6J("matTooltipDisabled",0===n.selection.selected.length||"group"!==n.data.type||void 0!==n.list&&n.list.addAuth),l.xp6(2),l.Q6J("ngIf","group"!==n.data.type||"group"===n.data.type&&n.inviteAuth),l.xp6(3),l.Q6J("ngForOf",n.languages),l.xp6(1),l.Q6J("disabled",0===n.selection.selected.length||n.loading||"group"===n.data.type&&void 0!==n.list&&!n.list.addAuth),l.xp6(1),l.hij(" ",l.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}var ct=function(){var t=function(){function t(e,i,n,r,a,s,u,l,h,d,f,p,g){var m=this;v(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=n,this.groupService=r,this.voService=a,this.registrarManager=s,this.translate=u,this.notificator=l,this.route=h,this.tableConfigService=d,this.router=f,this.guiAuthResolver=p,this.store=g,this.languages=["en"],this.selection=new o.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=c.tY,this.inviteAuth=!1,u.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(function(t){return m.title=t})}return y(t,[{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onAdd",value:function(){this.processing=!0;var t=this.selection.selected[0];"vo"===this.data.type?t.richUser?this.addUserToVo(t):this.addCandidateToVo(t):"group"===this.data.type&&(t.member?this.addMemberToGroup(t):t.richUser?this.addUserToGroup(t):t.candidate&&this.addCandidateToGroup(t))}},{key:"onInvite",value:function(t){var e=this;this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(function(){e.onInviteSuccess()},function(){return e.onError()}):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(function(){e.onInviteSuccess()},function(){return e.onError()}):"vo"===this.data.type?this.registrarManager.sendInvitation((0,u.Jc)(this.selection.selected[0].candidate),t,this.data.voId).subscribe(function(){e.onInviteSuccess()},function(){return e.onError()}):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,u.Jc)(this.selection.selected[0].candidate),t,this.data.voId,this.data.group.id).subscribe(function(){e.onInviteSuccess()},function(){return e.onError()})}},{key:"onSearchByString",value:function(){var t=this;this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(function(e){t.members=e,t.loading=!1,t.firstSearchDone=!0},function(){return t.loading=!1}):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(function(e){t.members=e,t.loading=!1,t.firstSearchDone=!0},function(){return t.loading=!1}))}},{key:"ngOnInit",value:function(){this.languages=this.store.get("supportedLanguages"),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new G.NI("",[G.kI.required,G.kI.pattern(".*[\\S]+.*")])}},{key:"addUserToVo",value:function(t){var e=this;this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:t.richUser.id}).subscribe(function(t){e.onAddSuccess(),e.membersManagerService.validateMemberAsync(t.id).subscribe(function(){e.onValidateSuccess()},function(){return e.onCancel()})},function(){return e.onError()})}},{key:"addCandidateToVo",value:function(t){var e=this;this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(t.candidate)}).subscribe(function(t){e.onAddSuccess(),e.membersManagerService.validateMemberAsync(t.id).subscribe(function(){e.onValidateSuccess()},function(){return e.onCancel()})},function(){return e.onError()})}},{key:"addUserToGroup",value:function(t){var e=this;this.membersManagerService.createMemberForUser({vo:this.data.voId,user:t.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(function(t){e.onAddSuccess(),e.membersManagerService.validateMemberAsync(t.id).subscribe(function(){e.onValidateSuccess()},function(){return e.onCancel()})},function(){return e.onError()})}},{key:"addMemberToGroup",value:function(t){var e=this;this.groupService.addMembers(this.data.entityId,[t.member.id]).subscribe(function(){e.onAddSuccess()},function(){return e.onError()})}},{key:"addCandidateToGroup",value:function(t){var e=this,i={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(t.candidate),groups:[i]}).subscribe(function(t){e.onAddSuccess(),e.membersManagerService.validateMemberAsync(t.id).subscribe(function(){e.onValidateSuccess()},function(){return e.onCancel()})},function(){return e.onError()})}},{key:"onAddSuccess",value:function(){var t=this;this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})}},{key:"onError",value:function(){this.selection.clear(),this.processing=!1}},{key:"onInviteSuccess",value:function(){var t=this;this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})}},{key:"onValidateSuccess",value:function(){this.dialogRef.close(!0)}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"createCandidate",value:function(t){return{userExtSource:t.userExtSource,additionalUserExtSources:t.additionalUserExtSources,attributes:t.attributes,firstName:t.firstName,lastName:t.lastName,middleName:t.middleName,titleBefore:t.titleBefore,titleAfter:t.titleAfter,id:t.id}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(n.so),l.Y36(n.WI),l.Y36(a.uq),l.Y36(a.ff),l.Y36(a.YF),l.Y36(a.tk),l.Y36(w.sK),l.Y36(r.V6),l.Y36(Y.gz),l.Y36(c.dB),l.Y36(Y.F0),l.Y36(r.x4),l.Y36(r.d6))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-add-member-dialog"]],viewQuery:function(t,e){var i;(1&t&&l.Gf($,5),2&t)&&(l.iGM(i=l.CRH())&&(e.list=i.first))},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"group","pageSize","selection","members","type","page",4,"ngIf"],["alert_type","warn"],[3,"group","pageSize","selection","members","type","page"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,rt,14,13,"div",1),l.YNc(5,ot,1,0,"mat-spinner",2),l.YNc(6,ut,13,13,"div",3),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),l.xp6(2),l.Q6J("ngIf",!e.processing),l.xp6(1),l.Q6J("ngIf",e.processing),l.xp6(1),l.Q6J("ngIf",!e.processing))},directives:[n.uh,m.O5,n.xY,V.KE,K.Nt,G.Fj,G.JJ,G.oH,V.TO,J.lW,Q.$g,W.w,j,n.H8,b.gM,X.VK,m.sg,X.p6,X.OP],pipes:[w.X$,m.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),t}()},68570:function(t,e,i){"use strict";i.d(e,{W:function(){return p}});var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),u=i(61511),c=i(19386),l=i(37665),h=i(15980),d=i(67806);function f(t,e){1&t&&a._UZ(0,"mat-spinner",9)}var p=function(){var t=function(){function t(e,i,n,r,o,a,s,u){var c=this;v(this,t),this.dialogRef=e,this.voService=i,this.groupService=n,this.translateService=r,this.registrarManager=o,this.notificatorService=a,this.apiRequest=s,this.data=u,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=function(t){return t.name},r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(function(t){return c.successMessage=t}),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(function(t){return c.privilegeMessage=t}),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(function(t){return c.noFormMessage=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(function(){t.voService.getMyVos().subscribe(function(e){t.vos=e.sort(function(t,e){return t.name>e.name?1:t.name-1),u.xp6(1),u.Q6J("label",u.lcZ(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",u.lcZ(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),u.xp6(4),u.Q6J("value",n.applicationFormItem.perunSourceAttribute),u.xp6(1),u.Q6J("ngForOf",n.sourceAttributes),u.xp6(1),u.Q6J("label",u.lcZ(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",u.lcZ(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),u.xp6(4),u.Q6J("value",n.applicationFormItem.perunDestinationAttribute),u.xp6(1),u.Q6J("ngForOf",n.destinationAttributes),u.xp6(1),u.Q6J("label",u.lcZ(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",u.lcZ(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),u.xp6(4),u.Q6J("value",n.federationAttribute),u.xp6(1),u.Q6J("ngForOf",n.federationAttributes),u.xp6(1),u.Q6J("ngIf","custom"===n.federationAttribute)}}function Z(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"app-edit-application-form-item-line",11),u.ALo(2,"translate"),u.ALo(3,"translate"),u.TgZ(4,"mat-form-field",12),u.TgZ(5,"input",13),u.NdJ("ngModelChange",function(t){return u.CHM(i),u.oxw(2).applicationFormItem.regex=t}),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.oxw(2);u.xp6(1),u.Q6J("label",u.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",u.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",n.applicationFormItem.regex)}}function B(t,e){if(1&t&&(u.TgZ(0,"mat-option",24),u._uU(1),u.ALo(2,"applicationFormItemDisabled"),u.qZA()),2&t){var i=e.$implicit;u.Q6J("value",i),u.xp6(1),u.hij(" ",u.lcZ(2,2,i)," ")}}function q(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"perun-web-apps-app-form-item-search-select",25),u.NdJ("itemSelected",function(t){return u.CHM(i),u.oxw(3).disabledDependencyItem=t}),u.qZA()}if(2&t){var n=u.oxw(3);u.Q6J("item",n.disabledDependencyItem)("items",n.possibleDependencyItems)}}function U(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"app-edit-application-form-item-line",11),u.ALo(2,"translate"),u.ALo(3,"translate"),u.TgZ(4,"mat-form-field",12),u.TgZ(5,"mat-select",17),u.NdJ("valueChange",function(t){return u.CHM(i),u.oxw(2).applicationFormItem.disabled=t}),u.YNc(6,B,3,4,"mat-option",18),u.qZA(),u.qZA(),u.qZA(),u.TgZ(7,"app-edit-application-form-item-line",11),u.ALo(8,"translate"),u.ALo(9,"translate"),u.TgZ(10,"div",12),u.YNc(11,q,1,2,"perun-web-apps-app-form-item-search-select",19),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.oxw(2);u.xp6(1),u.Q6J("label",u.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",u.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),u.xp6(4),u.Q6J("value",n.applicationFormItem.disabled),u.xp6(1),u.Q6J("ngForOf",n.disabledValues),u.xp6(1),u.Q6J("label",u.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",u.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),u.xp6(4),u.Q6J("ngIf",null!==n.disabledDependencyItem)}}function H(t,e){if(1&t&&(u.TgZ(0,"mat-option",24),u._uU(1),u.ALo(2,"applicationFormItemHidden"),u.qZA()),2&t){var i=e.$implicit;u.Q6J("value",i),u.xp6(1),u.hij(" ",u.lcZ(2,2,i)," ")}}function j(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"perun-web-apps-app-form-item-search-select",25),u.NdJ("itemSelected",function(t){return u.CHM(i),u.oxw(2).hiddenDependencyItem=t}),u.qZA()}if(2&t){var n=u.oxw(2);u.Q6J("item",n.hiddenDependencyItem)("items",n.possibleDependencyItems)}}function G(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"app-edit-application-form-item-line",11),u.ALo(2,"translate"),u.ALo(3,"translate"),u.TgZ(4,"mat-form-field",12),u.TgZ(5,"textarea",26),u.NdJ("ngModelChange",function(t){u.CHM(i);var e=u.oxw().$implicit;return u.oxw(2).applicationFormItem.i18n[e].label=t}),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.oxw().$implicit,r=u.oxw(2);u.xp6(1),u.Q6J("label",u.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",u.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),u.xp6(4),u.Q6J("cdkTextareaAutosize",!0)("ngModel",r.applicationFormItem.i18n[n].label)}}function Y(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"app-edit-application-form-item-line",11),u.ALo(2,"translate"),u.ALo(3,"translate"),u.TgZ(4,"mat-form-field",12),u.TgZ(5,"textarea",13),u.NdJ("ngModelChange",function(t){u.CHM(i);var e=u.oxw().$implicit;return u.oxw(2).applicationFormItem.i18n[e].label=t}),u.qZA(),u.qZA(),u.qZA(),u.TgZ(6,"app-edit-application-form-item-line",11),u.ALo(7,"translate"),u.ALo(8,"translate"),u.TgZ(9,"mat-form-field",12),u.TgZ(10,"textarea",13),u.NdJ("ngModelChange",function(t){u.CHM(i);var e=u.oxw().$implicit;return u.oxw(2).applicationFormItem.i18n[e].help=t}),u.qZA(),u.qZA(),u.qZA(),u.TgZ(11,"app-edit-application-form-item-line",11),u.ALo(12,"translate"),u.ALo(13,"translate"),u.TgZ(14,"mat-form-field",12),u.TgZ(15,"textarea",13),u.NdJ("ngModelChange",function(t){u.CHM(i);var e=u.oxw().$implicit;return u.oxw(2).applicationFormItem.i18n[e].errorMessage=t}),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.oxw().$implicit,r=u.oxw(2);u.xp6(1),u.Q6J("label",u.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",u.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",r.applicationFormItem.i18n[n].label),u.xp6(1),u.Q6J("label",u.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",u.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",r.applicationFormItem.i18n[n].help),u.xp6(1),u.Q6J("label",u.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",u.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",r.applicationFormItem.i18n[n].errorMessage)}}function V(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"app-edit-application-form-item-line",11),u.ALo(2,"translate"),u.ALo(3,"translate"),u.TgZ(4,"mat-form-field",12),u.TgZ(5,"textarea",13),u.NdJ("ngModelChange",function(t){u.CHM(i);var e=u.oxw().$implicit;return u.oxw(2).applicationFormItem.i18n[e].label=t}),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.oxw().$implicit,r=u.oxw(2);u.xp6(1),u.Q6J("label",u.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",u.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",r.applicationFormItem.i18n[n].label)}}function K(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u._uU(1),u.ALo(2,"translate"),u.TgZ(3,"mat-form-field"),u.TgZ(4,"input",13),u.NdJ("ngModelChange",function(t){return e.$implicit[0]=t}),u.qZA(),u.qZA(),u._uU(5),u.ALo(6,"translate"),u.TgZ(7,"mat-form-field"),u.TgZ(8,"input",13),u.NdJ("ngModelChange",function(t){return e.$implicit[1]=t}),u.qZA(),u.qZA(),u.TgZ(9,"button",35),u.NdJ("click",function(){var t=u.CHM(i).$implicit,e=u.oxw(2).$implicit;return u.oxw(2).removeOption(t,e)}),u.ALo(10,"translate"),u.TgZ(11,"mat-icon"),u._uU(12,"clear"),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=e.$implicit;u.xp6(1),u.hij(" ",u.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),u.xp6(3),u.Q6J("ngModel",n[0]),u.xp6(1),u.hij(" ",u.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),u.xp6(3),u.Q6J("ngModel",n[1]),u.xp6(1),u.s9C("matTooltip",u.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function J(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",27),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",28),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"div",29),u.TgZ(8,"button",30),u.NdJ("click",function(){u.CHM(i);var t=u.oxw().$implicit;return u.oxw(2).sortOptionsAZ(t)}),u.TgZ(9,"i",31),u._uU(10,"arrow_downward"),u.qZA(),u._uU(11),u.ALo(12,"translate"),u.qZA(),u.TgZ(13,"button",32),u.NdJ("click",function(){u.CHM(i);var t=u.oxw().$implicit;return u.oxw(2).sortOptionsZA(t)}),u.TgZ(14,"i",31),u._uU(15,"arrow_upward"),u.qZA(),u._uU(16),u.ALo(17,"translate"),u.qZA(),u.qZA(),u.YNc(18,K,13,11,"div",33),u.TgZ(19,"button",34),u.NdJ("click",function(){u.CHM(i);var t=u.oxw().$implicit;return u.oxw(2).addOption(t)}),u._uU(20),u.ALo(21,"translate"),u.qZA(),u.qZA()}if(2&t){var n=u.oxw().$implicit,r=u.oxw(2);u.xp6(2),u.hij("",u.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),u.xp6(3),u.hij(" ",u.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),u.xp6(6),u.hij(" ",u.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),u.xp6(5),u.hij(" ",u.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),u.xp6(2),u.Q6J("ngForOf",r.options[n]),u.xp6(2),u.hij(" ",u.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}var Q=function(){return["HEADING","HTML_COMMENT"]},W=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},X=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},$=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function tt(t,e){if(1&t&&(u.TgZ(0,"mat-tab",10),u.ALo(1,"translate"),u.ALo(2,"uppercase"),u.YNc(3,G,6,8,"div",16),u.YNc(4,Y,16,21,"div",16),u.YNc(5,V,6,7,"div",16),u.YNc(6,J,22,16,"div",16),u.qZA()),2&t){var i=e.$implicit,n=u.oxw(2);u.s9C("label",u.lcZ(1,5,u.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+i))),u.xp6(3),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(9,Q))),u.xp6(1),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(10,W))),u.xp6(1),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(11,X))),u.xp6(1),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(12,$)))}}var et=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},it=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function nt(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div",8),u.TgZ(1,"mat-tab-group",9),u.TgZ(2,"mat-tab",10),u.ALo(3,"translate"),u.TgZ(4,"app-edit-application-form-item-line",11),u.ALo(5,"translate"),u.ALo(6,"translate"),u.TgZ(7,"mat-form-field",12),u.TgZ(8,"input",13),u.NdJ("ngModelChange",function(t){return u.CHM(i),u.oxw().applicationFormItem.shortname=t}),u.qZA(),u.qZA(),u.qZA(),u.TgZ(9,"app-edit-application-form-item-line",11),u.ALo(10,"translate"),u.ALo(11,"translate"),u._uU(12),u.ALo(13,"applicationFormItemType"),u.qZA(),u.TgZ(14,"app-edit-application-form-item-line",11),u.ALo(15,"translate"),u.ALo(16,"translate"),u.TgZ(17,"section"),u.TgZ(18,"mat-checkbox",14),u.NdJ("change",function(){return u.CHM(i),u.oxw().onChangingType("INITIAL")}),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.TgZ(21,"mat-checkbox",15),u.NdJ("change",function(){return u.CHM(i),u.oxw().onChangingType("EXTENSION")}),u._uU(22),u.ALo(23,"translate"),u.qZA(),u.qZA(),u.qZA(),u.YNc(24,F,26,33,"div",16),u.YNc(25,Z,6,7,"div",16),u.YNc(26,U,12,15,"div",16),u.TgZ(27,"app-edit-application-form-item-line",11),u.ALo(28,"translate"),u.ALo(29,"translate"),u.TgZ(30,"mat-form-field",12),u.TgZ(31,"mat-select",17),u.NdJ("valueChange",function(t){return u.CHM(i),u.oxw().applicationFormItem.hidden=t}),u.YNc(32,H,3,4,"mat-option",18),u.qZA(),u.qZA(),u.qZA(),u.TgZ(33,"app-edit-application-form-item-line",11),u.ALo(34,"translate"),u.ALo(35,"translate"),u.TgZ(36,"div",12),u.YNc(37,j,1,2,"perun-web-apps-app-form-item-search-select",19),u.qZA(),u.qZA(),u.qZA(),u.YNc(38,tt,7,13,"mat-tab",20),u.qZA(),u.qZA()}if(2&t){var n=u.oxw();u.xp6(2),u.s9C("label",u.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),u.xp6(2),u.Q6J("label",u.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",u.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",n.applicationFormItem.shortname),u.xp6(1),u.Q6J("label",u.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",u.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),u.xp6(3),u.hij(" ",u.lcZ(13,34,n.applicationFormItem.type)," "),u.xp6(2),u.Q6J("label",u.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",u.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),u.xp6(4),u.Q6J("ngModel",n.applicationFormItem.applicationTypes.includes("INITIAL")),u.xp6(1),u.hij(" ",u.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),u.xp6(2),u.Q6J("ngModel",n.applicationFormItem.applicationTypes.includes("EXTENSION")),u.xp6(1),u.hij(" ",u.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),u.xp6(2),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(52,et))),u.xp6(1),u.Q6J("ngIf",n.isApplicationFormItemOfType(u.DdM(53,it))),u.xp6(1),u.Q6J("ngIf",n.typesWithDisabled.indexOf(n.applicationFormItem.type)>-1),u.xp6(1),u.Q6J("label",u.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",u.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),u.xp6(4),u.Q6J("value",n.applicationFormItem.hidden),u.xp6(1),u.Q6J("ngForOf",n.hiddenValues),u.xp6(1),u.Q6J("label",u.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",u.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),u.xp6(4),u.Q6J("ngIf",null!==n.hiddenDependencyItem),u.xp6(1),u.Q6J("ngForOf",n.languages)}}var rt=function t(e,i){v(this,t),this.value=i,this.displayName=e},ot=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.attributesManager=n,this.translateService=r,this.store=o,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.languages=this.store.get("supportedLanguages"),this.hiddenDependencyItem=this.data.allItems.find(function(e){return e.id===t.data.applicationFormItem.hiddenDependencyItemId}),this.hiddenDependencyItem||(this.hiddenDependencyItem=a.Sx),this.disabledDependencyItem=this.data.allItems.find(function(e){return e.id===t.data.applicationFormItem.disabledDependencyItemId}),this.disabledDependencyItem||(this.disabledDependencyItem=a.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,o.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(function(e){t.attributeDefinitions=e,t.getDestinationAndSourceAttributes(),t.loading=!1},function(){return t.loading=!1}),this.getFederationAttributes(),this.getFederationAttribute(),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}},{key:"getPossibleDepItems",value:function(){var t=this;return[a.Sx].concat(this.data.allItems.filter(function(e){return t.dependencyTypes.indexOf(e.type)>-1}).filter(function(e){return e.id!==t.data.applicationFormItem.id}))}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===a.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===a.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}},{key:"onChangingType",value:function(t){if(this.applicationFormItem.applicationTypes.includes(t)){var e=this.applicationFormItem.applicationTypes.indexOf(t);this.applicationFormItem.applicationTypes.splice(e,1)}else this.applicationFormItem.applicationTypes.push(t)}},{key:"getDestinationAndSourceAttributes",value:function(){var t=this;this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(function(e){t.sourceAttributes.push(new rt(e,"")),t.destinationAttributes.push(new rt(e,""))});var e,i=f(this.attributeDefinitions);try{for(i.s();!(e=i.n()).done;){var n=e.value;"user"===n.entity.toLowerCase()||"member"===n.entity.toLowerCase()?(this.sourceAttributes.push(new rt(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName)),this.destinationAttributes.push(new rt(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName))):("vo"===n.entity.toLowerCase()||"group"===n.entity.toLowerCase()&&this.data.group)&&this.sourceAttributes.push(new rt(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName))}}catch(r){i.e(r)}finally{i.f()}}},{key:"getFederationAttributes",value:function(){var t=this;this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(function(e){t.federationAttributes.push(new rt(e,"")),t.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(function(e){t.federationAttributes.push(new rt(e,"custom")),t.federationAttributes.push(new rt("Display name","displayName")),t.federationAttributes.push(new rt("Common name","cn")),t.federationAttributes.push(new rt("Mail","mail")),t.federationAttributes.push(new rt("Organization","o")),t.federationAttributes.push(new rt("Level of Assurance (LoA)","loa")),t.federationAttributes.push(new rt("First name","givenName")),t.federationAttributes.push(new rt("Surname","sn")),t.federationAttributes.push(new rt("EPPN","eppn")),t.federationAttributes.push(new rt("IdP Category","md_entityCategory")),t.federationAttributes.push(new rt("IdP Affiliation","affiliation")),t.federationAttributes.push(new rt("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),t.federationAttributes.push(new rt("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),t.federationAttributes.push(new rt("schacHomeOrganization","schacHomeOrganization")),t.federationAttributes.push(new rt("Login","uid")),t.federationAttributes.push(new rt("Alternative login name","alternativeLoginName"))})})}},{key:"getFederationAttribute",value:function(){if(this.applicationFormItem.federationAttribute){var t,e=f(this.federationAttributes);try{for(e.s();!(t=e.n()).done;){var i=t.value;if(i.value===this.applicationFormItem.federationAttribute)return void(this.federationAttribute=i.value)}}catch(n){e.e(n)}finally{e.f()}this.federationAttribute="custom"}}},{key:"federationAttributeschanged",value:function(){this.applicationFormItem.federationAttribute="custom"!==this.federationAttribute?this.federationAttribute:""}},{key:"getDefinition",value:function(t){var e=t.namespace.split(":");return null===e[4]?"null":e[4]}},{key:"addOption",value:function(t){this.options[t].push(["",""])}},{key:"removeOption",value:function(t,e){this.options[e]=this.options[e].filter(function(e){return!(e[0]===t[0]&&e[1]===t[1])})}},{key:"updateOption",value:function(t){var e="";if(this.options&&this.options[t]){var i,n=f(this.options[t]);try{for(n.s();!(i=n.n()).done;){var r=i.value;""!==r[0]&&""!==r[1]&&(e=""===e?r[0]+"#"+r[1]:e+"|"+r[0]+"#"+r[1])}}catch(o){n.e(o)}finally{n.f()}}this.applicationFormItem.i18n[t].options=e}},{key:"updateOptions",value:function(){var t,e=f(this.languages);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.updateOption(i)}}catch(n){e.e(n)}finally{e.f()}}},{key:"copy",value:function(t,e){e.applicationTypes=t.applicationTypes,e.federationAttribute=t.federationAttribute,e.forDelete=t.forDelete;var i,n=f(this.languages);try{for(n.s();!(i=n.n()).done;){var r=i.value;e.i18n[r].errorMessage=t.i18n[r].errorMessage,e.i18n[r].help=t.i18n[r].help,e.i18n[r].label=t.i18n[r].label,e.i18n[r].options=t.i18n[r].options}}catch(o){n.e(o)}finally{n.f()}e.id=t.id,e.ordnum=t.ordnum,e.perunDestinationAttribute=t.perunDestinationAttribute,e.perunSourceAttribute=t.perunSourceAttribute,e.regex=t.regex,e.required=t.required,e.shortname=t.shortname,e.type=t.type,e.updatable=t.updatable,e.disabled=t.disabled,e.hidden=t.hidden,e.disabledDependencyItemId=t.disabledDependencyItemId,e.hiddenDependencyItemId=t.hiddenDependencyItemId}},{key:"sortOptionsAZ",value:function(t){this.options[t]=this.options[t].sort(function(t,e){return t[1]>e[1]?1:t[1]e[1]?-1:t[1]-1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(n.so),u.Y36(n.WI),u.Y36(r.H8),u.Y36(c.sK),u.Y36(s.d6))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-edit-application-form-item-dialog"]],decls:14,vars:16,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"div",0),u.TgZ(2,"h1",1),u._uU(3),u.ALo(4,"translate"),u.qZA(),u.YNc(5,P,1,0,"mat-spinner",2),u.YNc(6,nt,39,54,"div",3),u.TgZ(7,"div",4),u.TgZ(8,"button",5),u.NdJ("click",function(){return e.cancel()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.TgZ(11,"button",6),u.NdJ("click",function(){return e.submit()}),u._uU(12),u.ALo(13,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&t&&(u.Gre("",e.theme," h-100"),u.xp6(3),u.AsE("",u.lcZ(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",e.applicationFormItem.shortname,""),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(3),u.hij(" ",u.lcZ(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),u.xp6(2),u.Q6J("disabled",e.loading),u.xp6(1),u.hij(" ",u.lcZ(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.uh,l.O5,n.H8,h.lW,d.$g,n.xY,p.SP,p.uX,m,b.KE,w.Nt,_.Fj,_.JJ,_.On,A.oG,k.gD,l.sg,T.ey,C.Y,S.IC,E.gM,x.Hw],pipes:[c.X$,R.c,I,O,l.gd],styles:[""]}),t}()},79592:function(t,e,i){"use strict";i.d(e,{H:function(){return M}});var n=i(33642),r=i(84608),o=i(88426),a=i(67033),s=i(84140),u=i(61189),c=i(61511),l=i(31572),h=i(48160),d=i(15980),f=i(67806),p=i(43691),g=i(36922),m=i(22196);function b(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function w(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function _(t,e){if(1&t&&(l.TgZ(0,"td",18),l._uU(1),l.qZA()),2&t){var i=e.$implicit;l.xp6(1),l.hij(" ",i.user.id," ")}}function A(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function k(t,e){if(1&t&&(l.TgZ(0,"td",18),l._uU(1),l.ALo(2,"userFullName"),l.qZA()),2&t){var i=e.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,i.user)," ")}}function T(t,e){1&t&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function C(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",20),l.NdJ("click",function(){l.CHM(i);var t=l.oxw().$implicit;return l.oxw(2).changeExpiration(t)}),l.TgZ(1,"mat-icon"),l._uU(2," today "),l.qZA(),l.qZA()}}function S(t,e){if(1&t&&(l.TgZ(0,"td",18),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.YNc(3,C,3,0,"button",19),l.qZA()),2&t){var i=e.$implicit,n=l.oxw(2);l.xp6(2),l.Oqu(n.parseDate(i.validityTo)),l.xp6(1),l.Q6J("ngIf",n.isExpirationAuthorized(i))}}function E(t,e){1&t&&l._UZ(0,"th",17)}function x(t,e){1&t&&(l.TgZ(0,"mat-icon",25),l._uU(1,"clear"),l.qZA())}function R(t,e){1&t&&(l.TgZ(0,"mat-icon"),l._uU(1,"settings_backup_restore"),l.qZA())}function I(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"td",18),l.TgZ(1,"div",21),l.ALo(2,"translate"),l.TgZ(3,"button",22),l.NdJ("click",function(){var t=l.CHM(i).$implicit;return l.oxw(2).markSponsor(t)}),l.YNc(4,x,2,0,"mat-icon",23),l.YNc(5,R,2,0,"mat-icon",24),l.qZA(),l.qZA(),l.qZA()}if(2&t){var n=e.$implicit,r=l.oxw(2);l.xp6(1),l.s9C("matTooltip",l.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",r.isRemoveAuthorized(n)),l.xp6(2),l.Q6J("disabled",!r.isRemoveAuthorized(n)),l.xp6(1),l.Q6J("ngIf",!r.sponsorsToRemove.has(n.user.id)),l.xp6(1),l.Q6J("ngIf",r.sponsorsToRemove.has(n.user.id))}}function O(t,e){1&t&&l._UZ(0,"tr",26)}function P(t,e){if(1&t&&l._UZ(0,"tr",27),2&t){var i=e.$implicit,n=l.oxw(2);l.ekj("make-red",n.sponsorsToRemove.has(i.user.id))}}function D(t,e){if(1&t&&(l.TgZ(0,"div",7),l.TgZ(1,"table",8),l.ynx(2,9),l.YNc(3,w,3,3,"th",10),l.YNc(4,_,2,1,"td",11),l.BQk(),l.ynx(5,12),l.YNc(6,A,3,3,"th",10),l.YNc(7,k,3,3,"td",11),l.BQk(),l.ynx(8,13),l.YNc(9,T,3,3,"th",10),l.YNc(10,S,4,2,"td",11),l.BQk(),l.ynx(11,14),l.YNc(12,E,1,0,"th",10),l.YNc(13,I,6,8,"td",11),l.BQk(),l.YNc(14,O,1,0,"tr",15),l.YNc(15,P,1,2,"tr",16),l.qZA(),l.qZA()),2&t){var i=l.oxw();l.xp6(1),l.Q6J("dataSource",i.dataSource),l.xp6(13),l.Q6J("matHeaderRowDef",i.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",i.displayedColumns)}}var M=function(){var t=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this.dialogRef=e,this.data=i,this.memberService=n,this.userService=r,this.notificator=o,this.authResolver=a,this.translate=s,this.dialog=u,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new a.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}},{key:"markSponsor",value:function(t){this.sponsorsToRemove.has(t.user.id)?this.sponsorsToRemove.delete(t.user.id):this.sponsorsToRemove.add(t.user.id)}},{key:"removeSponsors",value:function(t){var e=this;if(0===t.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);var i=t.pop();this.memberService.removeSponsor(this.data.member.id,i).subscribe(function(){e.removeSponsors(t)},function(){return e.loading=!1})}},{key:"onSubmit",value:function(){this.loading=!0;var t=Array.from(this.sponsorsToRemove);this.removeSponsors(t)}},{key:"onCancel",value:function(){this.dialogRef.close(this.expirationChanged)}},{key:"isRemoveAuthorized",value:function(t){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[t.user])}},{key:"isExpirationAuthorized",value:function(t){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[t.user,this.vo])}},{key:"parseDate",value:function(t){return null===t?"Never expire":(0,c.p6)(t,"d.M.y","en")}},{key:"changeExpiration",value:function(t){var e=this,i=(0,s.kZ)();i.width="400px",i.data={memberId:this.data.member.id,sponsor:t},this.dialog.open(u.hd,i).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.expirationChanged=!0,e.userService.getSponsorsForMember(e.data.member.id,[]).subscribe(function(t){e.sponsors=t,e.dataSource=new a.by(e.sponsors),e.loading=!1}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(r.so),l.Y36(r.WI),l.Y36(n.uq),l.Y36(n.Fv),l.Y36(o.V6),l.Y36(o.x4),l.Y36(h.sK),l.Y36(r.uw))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"div"),l.YNc(4,b,1,0,"mat-spinner",1),l.YNc(5,D,16,3,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onSubmit()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),l.xp6(2),l.Tol(e.theme),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.hij(" ",l.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),l.xp6(2),l.Q6J("disabled",e.loading||0===e.sponsorsToRemove.size),l.xp6(1),l.hij(" ",l.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[r.uh,c.O5,r.H8,d.lW,f.$g,r.xY,a.BZ,a.w1,a.fO,a.Dz,a.as,a.nj,a.ge,a.ev,p.Hw,g.gM,a.XQ,a.Gk],pipes:[h.X$,m.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),t}()},88690:function(t,e,i){"use strict";i.d(e,{R:function(){return C}});var n=i(84608),r=i(16073),o=i(33642),a=i(88426),s=i(31572),u=i(48160),c=i(61511),l=i(15980),h=i(67806),d=i(66283),f=i(80340),p=i(4786),g=i(71522);function m(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function b(t,e){1&t&&(s.TgZ(0,"div",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function w(t,e){1&t&&(s.TgZ(0,"div",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function _(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function A(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function k(t,e){if(1&t&&(s.TgZ(0,"mat-option",15),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"uppercase"),s.qZA()),2&t){var i=e.$implicit;s.s9C("value",i),s.xp6(1),s.Oqu(s.lcZ(2,2,s.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i)))}}function T(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"div",7),s.YNc(1,b,3,3,"div",8),s.YNc(2,w,3,3,"div",8),s.TgZ(3,"mat-form-field",9),s._UZ(4,"input",10),s.ALo(5,"translate"),s.YNc(6,_,3,3,"mat-error",11),s.qZA(),s.TgZ(7,"mat-form-field",9),s._UZ(8,"textarea",10),s.ALo(9,"translate"),s.YNc(10,A,3,3,"mat-error",11),s.qZA(),s.TgZ(11,"mat-form-field",9),s.TgZ(12,"mat-label"),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-select",12),s.NdJ("valueChange",function(t){return s.CHM(i),s.oxw().currentLanguage=t}),s.YNc(16,k,4,6,"mat-option",13),s.qZA(),s.qZA(),s.qZA()}if(2&t){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",!n.data.groupId),s.xp6(1),s.Q6J("ngIf",n.data.groupId),s.xp6(2),s.s9C("placeholder",s.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),s.Q6J("formControl",n.name),s.xp6(2),s.Q6J("ngIf",n.name.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),s.Q6J("formControl",n.emailForm),s.xp6(2),s.Q6J("ngIf",n.emailForm.invalid),s.xp6(3),s.Oqu(s.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),s.xp6(2),s.Q6J("value",n.currentLanguage),s.xp6(1),s.Q6J("ngForOf",n.languages)}}var C=function(){var t=function(){function t(e,i,n,o,a,s){v(this,t),this.dialogRef=e,this.data=i,this.registrarManager=n,this.notificator=o,this.translate=a,this.store=s,this.emailForm=new r.NI("",[r.kI.required,r.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new r.NI("",r.kI.required),this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){this.languages=this.store.get("supportedLanguages"),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;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(function(){t.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(function(){t.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.tk),s.Y36(a.V6),s.Y36(u.sK),s.Y36(a.d6))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,m,1,0,"mat-spinner",1),s.YNc(5,T,17,17,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.emailForm.invalid||e.name.invalid||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.uh,c.O5,n.H8,l.lW,h.$g,n.xY,d.KE,f.Nt,r.Fj,r.Q7,r.JJ,r.oH,d.hX,p.gD,c.sg,d.TO,g.ey],pipes:[u.X$,c.gd],styles:[""]}),t}()},57820:function(t,e,i){"use strict";i.d(e,{c:function(){return I}});var n=i(84608),r=i(16073),o=i(56238),a=i(79996),s=i(17),u=i(88426),c=i(33642),l=i(31572),h=i(48160),d=i(54810),f=i(61511),p=i(15980),g=i(36922),m=i(39571),b=i(66283),w=i(80340),_=i(40084),A=i(71522),k=i(67806);function T(t,e){1&t&&(l.TgZ(0,"mat-radio-button",12),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function C(t,e){1&t&&(l.TgZ(0,"mat-radio-button",13),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function S(t,e){1&t&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function E(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"mat-option",20),l.NdJ("click",function(){var t=l.CHM(i).$implicit;return l.oxw(2).selectedGroup=t}),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()}if(2&t){var n=e.$implicit;l.Q6J("value",n),l.xp6(2),l.Oqu(n.name)}}function x(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"mat-form-field",15),l.TgZ(1,"input",16),l.NdJ("change",function(){return l.CHM(i),l.oxw().selectedGroup=null}),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"mat-autocomplete",17,18),l.YNc(5,E,3,2,"mat-option",19),l.ALo(6,"async"),l.qZA(),l.qZA()}if(2&t){var n=l.MAs(4),r=l.oxw();l.Q6J("@openClose","toGroup"===r.moveOption?"open":"closed"),l.xp6(1),l.s9C("placeholder",l.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),l.Q6J("matAutocomplete",n)("formControl",r.otherGroupsCtrl),l.xp6(2),l.Q6J("displayWith",r.displayFn),l.xp6(2),l.Q6J("ngForOf",l.lcZ(6,8,r.filteredGroups))}}function R(t,e){1&t&&l._UZ(0,"mat-spinner",21)}var I=function(){var t=function(){function t(e,i,n,o,a,s,u){var c=this;v(this,t),this.dialogRef=e,this.data=i,this.groupService=n,this.notificator=o,this.translate=a,this.apiRequest=s,this.authResolver=u,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new r.NI(null,[r.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(function(t){return c.successMessage=t}),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(function(t){return c.errorMessage=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(function(e){t.otherGroups=e.filter(function(e){return e.id!==t.data.group.id&&"members"!==e.name&&t.canMove(e)}),0===t.otherGroups.length&&(t.toGroupOptionDisabled=!0),null!==t.data.group.parentGroupId&&t.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[t.data.group])||(t.toRootOptionDisabled=!0,t.moveOption="toGroup"),t.filteredGroups=t.otherGroupsCtrl.valueChanges.pipe((0,o.O)(""),(0,a.U)(function(e){return e?t._filterGroups(e):t.otherGroups.slice()})),t.loading=!1},function(){return t.loading=!1})}},{key:"displayFn",value:function(t){return t?t.name:t}},{key:"_filterGroups",value:function(t){if("object"==typeof t)return[];var e=t.toLowerCase();return t?this.otherGroups.filter(function(t){return t.name.toLowerCase().indexOf(e)>-1}):this.otherGroups}},{key:"canMove",value:function(t){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[t,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,t])}},{key:"close",value:function(){this.dialogRef.close()}},{key:"confirm",value:function(){var t=this;this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(e){t.notificator.showRPCError(e,t.errorMessage),t.dialogRef.close(!1)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(n.so),l.Y36(n.WI),l.Y36(c.ff),l.Y36(u.V6),l.Y36(h.sK),l.Y36(u.F5),l.Y36(u.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",1),l.TgZ(5,"p"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.TgZ(8,"mat-radio-group",2),l.NdJ("ngModelChange",function(t){return e.moveOption=t}),l.YNc(9,T,3,3,"mat-radio-button",3),l.YNc(10,C,3,3,"mat-radio-button",4),l.qZA(),l.YNc(11,S,3,3,"app-alert",5),l.YNc(12,x,7,10,"mat-form-field",6),l.qZA(),l.YNc(13,R,1,0,"mat-spinner",7),l.TgZ(14,"div",8),l.TgZ(15,"button",9),l.NdJ("click",function(){return e.close()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"span",10),l.ALo(19,"translate"),l.TgZ(20,"button",11),l.NdJ("click",function(){return e.confirm()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.data.theme),l.xp6(2),l.AsE("",l.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",e.data.group.name,""),l.xp6(4),l.hij(" ",l.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),l.xp6(2),l.Q6J("ngModel",e.moveOption),l.xp6(1),l.Q6J("ngIf",!e.toRootOptionDisabled),l.xp6(1),l.Q6J("ngIf",!e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",e.toRootOptionDisabled&&e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",!e.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(3),l.hij(" ",l.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==e.selectedGroup||"toRoot"===e.moveOption),l.xp6(2),l.Q6J("disabled",(e.otherGroupsCtrl.invalid||null===e.selectedGroup)&&"toRoot"!==e.moveOption||e.loading),l.xp6(1),l.hij(" ",l.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.uh,n.xY,d.VQ,r.JJ,r.On,f.O5,n.H8,p.lW,g.gM,d.U0,m.w,b.KE,w.Nt,_.ZL,r.Fj,r.Q7,r.oH,_.XC,f.sg,A.ey,k.$g],pipes:[h.X$,f.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[s.BQ]}}),t}()},95121:function(t,e,i){"use strict";i.d(e,{m:function(){return _}});var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),u=i(61511),c=i(15980),l=i(67806),h=i(66283),d=i(4786),f=i(71522);function p(t,e){1&t&&a._UZ(0,"mat-spinner",7)}function g(t,e){if(1&t&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",i.friendlyNameParameter," ")}}function m(t,e){if(1&t&&(a.TgZ(0,"mat-option",13),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"uppercase"),a.qZA()),2&t){var i=e.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",a.lcZ(2,2,a.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function b(t,e){if(1&t&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",i," ")}}function w(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div",8),a.TgZ(1,"mat-form-field"),a.TgZ(2,"mat-label"),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"mat-select",9),a.NdJ("valueChange",function(t){return a.CHM(i),a.oxw().selectedLogin=t}),a.YNc(6,g,2,2,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(7,"mat-form-field"),a.TgZ(8,"mat-label"),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.TgZ(11,"mat-select",9),a.NdJ("valueChange",function(t){return a.CHM(i),a.oxw().selectedLang=t}),a.YNc(12,m,4,6,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(13,"mat-form-field"),a.TgZ(14,"mat-label"),a._uU(15),a.ALo(16,"translate"),a.qZA(),a.TgZ(17,"mat-select",9),a.NdJ("valueChange",function(t){return a.CHM(i),a.oxw().selectedMail=t}),a.YNc(18,b,2,2,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(19,"div",11),a.TgZ(20,"p",12),a._uU(21),a.ALo(22,"translate"),a.qZA(),a.TgZ(23,"p"),a._uU(24),a.qZA(),a.qZA(),a.qZA()}if(2&t){var n=a.oxw();a.xp6(3),a.Oqu(a.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),a.xp6(2),a.Q6J("value",n.selectedLogin),a.xp6(1),a.Q6J("ngForOf",n.logins),a.xp6(3),a.Oqu(a.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),a.xp6(2),a.Q6J("value",n.selectedLang),a.xp6(1),a.Q6J("ngForOf",n.languages),a.xp6(3),a.Oqu(a.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),a.xp6(2),a.Q6J("value",n.selectedMail),a.xp6(1),a.Q6J("ngForOf",n.mails),a.xp6(3),a.Oqu(a.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),a.xp6(3),a.Oqu(n.selectedLogin.value)}}var _=function(){var t=function(){function t(e,i,n,r,o,a,s){var u=this;v(this,t),this.dialogRef=e,this.data=i,this.membersManagerService=n,this.attributesManagerService=r,this.store=o,this.translate=a,this.notificator=s,this.languages=this.store.get("supportedLanguages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],a.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(function(t){return u.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}},{key:"getMailAttributes",value:function(){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"}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,this.selectedLogin.friendlyNameParameter,this.pwdMails.get(this.selectedMail),this.selectedLang).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close()},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.H8),a.Y36(o.d6),a.Y36(s.sK),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.YNc(4,p,1,0,"mat-spinner",2),a.qZA(),a.YNc(5,w,25,19,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"button",5),a.NdJ("click",function(){return e.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",6),a.NdJ("click",function(){return e.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),a.xp6(3),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),a.xp6(2),a.Q6J("disabled",e.loading),a.xp6(1),a.hij(" ",a.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.uh,u.O5,n.H8,c.lW,l.$g,n.xY,h.KE,h.hX,d.gD,u.sg,f.ey],pipes:[s.X$,u.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),t}()},4374:function(t,e,i){"use strict";i.d(e,{X:function(){return T}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),u=i(48160),c=i(61511),l=i(67806),h=i(15980),d=i(22196);function f(t,e){1&t&&s._UZ(0,"th",13)}function p(t,e){if(1&t&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&t){var i=e.$implicit;s.xp6(1),s.hij(" ",i.id," ")}}function g(t,e){1&t&&s._UZ(0,"th",13)}function m(t,e){if(1&t&&(s.TgZ(0,"td",14),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&t){var i=e.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,i.user)," ")}}function b(t,e){1&t&&s._UZ(0,"tr",15)}function w(t,e){1&t&&s._UZ(0,"tr",16)}function _(t,e){if(1&t&&(s.TgZ(0,"div",4),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",5),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",6),s.ynx(8,7),s.YNc(9,f,1,0,"th",8),s.YNc(10,p,2,1,"td",9),s.BQk(),s.ynx(11,10),s.YNc(12,g,1,0,"th",8),s.YNc(13,m,3,3,"td",9),s.BQk(),s.YNc(14,b,1,0,"tr",11),s.YNc(15,w,1,0,"tr",12),s.qZA(),s.qZA()),2&t){var i=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,i.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),s.xp6(2),s.Q6J("dataSource",i.dataSource),s.xp6(7),s.Q6J("matHeaderRowDef",i.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",i.displayedColumns)}}function A(t,e){1&t&&s._UZ(0,"mat-spinner",17)}function k(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"div",18),s.TgZ(1,"button",19),s.NdJ("click",function(){return s.CHM(i),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",20),s.NdJ("click",function(){return s.CHM(i),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){var n=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(6,4,n.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}var T=function(){var t=function(){function t(e,i,n,r,o,a){v(this,t),this.dialogRef=e,this.data=i,this.membersService=n,this.groupService=r,this.notificator=o,this.translate=a,this.displayedColumns=["id","name"]}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.by(this.data.members)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(function(t){return t.id})).subscribe(function(){return t.onSuccess()},function(){return t.onError()}):this.membersService.deleteMembers(this.data.members.map(function(t){return t.id})).subscribe(function(){return t.onSuccess()},function(){return t.onError()})}},{key:"onSuccess",value:function(){var t=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(t),this.dialogRef.close(!0),this.loading=!1}},{key:"onError",value:function(){this.loading=!1}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.so),s.Y36(n.WI),s.Y36(a.uq),s.Y36(a.ff),s.Y36(o.V6),s.Y36(u.sK))},t.\u0275cmp=s.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"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_,16,9,"div",1),s.YNc(5,A,1,0,"mat-spinner",2),s.YNc(6,k,7,6,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.uh,c.O5,n.xY,r.BZ,r.w1,r.fO,r.Dz,r.as,r.nj,r.ge,r.ev,r.XQ,r.Gk,l.$g,n.H8,h.lW],pipes:[u.X$,d.d],styles:[""]}),t}()},95909:function(t,e,i){"use strict";i.d(e,{f:function(){return l}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),u=i(48160),c=i(20247),l=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=o,this.displayedColumns=["name"],this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.by(this.data.resources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onDelete",value:function(){var t=this;this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(function(e){t.loading=!1,t.notificator.showSuccess(e),t.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(function(){t.data.resources.shift(),t.onDelete()},function(){t.dialogRef.close(!0)})}},{key:"onSubmit",value:function(t){t.deleted?this.onDelete():this.onCancel()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.V6),s.Y36(u.sK),s.Y36(a.xk))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(t){return e.onSubmit(t)}),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(1),s.Q6J("entityNames",e.dataSource)("entityType","resources")("disableForce",!0))},directives:[c.e],styles:[""]}),t}()},99608:function(t,e,i){"use strict";i.d(e,{o:function(){return l}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),u=i(48160),c=i(20247),l=function(){var t=function(){function t(e,i,n,r,o){var a=this;v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.force=!1,this.displayedColumns=["name"],this.relations=[],o.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(function(t){return a.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.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"))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onDelete",value:function(){var t=this;this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"onSubmit",value:function(t){this.force=t.force,t.deleted?this.onDelete():this.onCancel()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.V6),s.Y36(a.YF),s.Y36(u.sK))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(t){return e.onSubmit(t)}),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(1),s.Q6J("entityNames",e.dataSource)("entityType","organizations")("relations",e.relations))},directives:[c.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),t}()},24555:function(t,e,i){"use strict";i.d(e,{E:function(){return w}});var n=i(84608),r=i(33642),o=i(31572),a=i(61511),s=i(15980),u=i(67806),c=i(66283),l=i(80340),h=i(16073),d=i(4786),f=i(71522),p=i(48160);function g(t,e){1&t&&o._UZ(0,"mat-spinner",6)}function m(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.TgZ(3,"mat-form-field",9),o.TgZ(4,"mat-select",10),o.NdJ("valueChange",function(t){return o.CHM(i),o.oxw(2).embeddedState=t}),o.TgZ(5,"mat-option",11),o._uU(6),o.ALo(7,"translate"),o.qZA(),o.TgZ(8,"mat-option",12),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){var n=o.oxw(2);o.xp6(1),o.hij(" ",o.lcZ(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),o.xp6(3),o.Q6J("value",n.embeddedState),o.xp6(2),o.Oqu(o.lcZ(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function b(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"div"),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-form-field"),o.TgZ(5,"input",8),o.NdJ("ngModelChange",function(t){return o.CHM(i),o.oxw().moduleName=t}),o.qZA(),o.qZA(),o.TgZ(6,"div"),o._uU(7),o.ALo(8,"translate"),o.qZA(),o.TgZ(9,"mat-form-field",9),o.TgZ(10,"mat-select",10),o.NdJ("valueChange",function(t){return o.CHM(i),o.oxw().initialState=t}),o.TgZ(11,"mat-option",11),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"mat-option",12),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"div"),o._uU(18),o.ALo(19,"translate"),o.qZA(),o.TgZ(20,"mat-form-field",9),o.TgZ(21,"mat-select",10),o.NdJ("valueChange",function(t){return o.CHM(i),o.oxw().extensionState=t}),o.TgZ(22,"mat-option",11),o._uU(23),o.ALo(24,"translate"),o.qZA(),o.TgZ(25,"mat-option",12),o._uU(26),o.ALo(27,"translate"),o.qZA(),o.qZA(),o.qZA(),o.YNc(28,m,11,10,"div",13),o.qZA()}if(2&t){var n=o.oxw();o.xp6(2),o.Oqu(o.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),o.xp6(3),o.Q6J("ngModel",n.moduleName),o.xp6(2),o.hij(" ",o.lcZ(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),o.xp6(3),o.Q6J("value",n.initialState),o.xp6(2),o.Oqu(o.lcZ(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(3),o.hij(" ",o.lcZ(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),o.xp6(3),o.Q6J("value",n.extensionState),o.xp6(2),o.Oqu(o.lcZ(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(2),o.Q6J("ngIf","group"===n.entity&&n.autoRegistrationEnabled)}}var w=function(){var t=function(){function t(e,i,n){v(this,t),this.dialogRef=e,this.data=i,this.registrarManager=n,this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){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}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){var t=this;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(function(e){t.dialogRef.close(e)},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.so),o.Y36(n.WI),o.Y36(r.tk))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(t,e){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,g,1,0,"mat-spinner",1),o.YNc(5,b,29,25,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return e.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return e.submit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&t&&(o.Tol(e.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),o.xp6(2),o.Q6J("disabled",e.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.uh,a.O5,n.H8,s.lW,u.$g,n.xY,c.KE,l.Nt,h.Fj,h.JJ,h.On,d.gD,f.ey],pipes:[p.X$],styles:[""]}),t}()},86593:function(t,e,i){"use strict";i.d(e,{C:function(){return G}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),u=i(88426),c=i(82819),l=i(61511),h=i(29236),d=i(43691),f=i(36922),p=i(84534),g=i(39571),m=i(48160),b=i(22196),w=i(35887),_=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,s.kN)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userEmail",type:t,pure:!0}),t}(),A=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,s.$0)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userLogins",type:t,pure:!0}),t}();function k(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw(2);return t?e.masterToggle():null}),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function T(t,e){if(1&t&&(n.TgZ(0,"th",17),n.YNc(1,k,1,3,"mat-checkbox",18),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.selection.isMultipleSelection())}}function C(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function S(t,e){1&t&&n._UZ(0,"th",17)}function E(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," account_circle "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function x(t,e){1&t&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," traffic "),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.SERVICE"))}function R(t,e){if(1&t&&(n.TgZ(0,"td",20),n.YNc(1,E,3,3,"mat-icon",22),n.YNc(2,x,3,3,"mat-icon",22),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("ngIf",!i.serviceUser),n.xp6(1),n.Q6J("ngIf",i.serviceUser)}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ID")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.hij(" ",i.id," ")}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.NAME")))}function D(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userVo"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userEmail"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function F(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userLogins"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function B(t,e){1&t&&n._UZ(0,"tr",26)}var q=function(t){return["/admin/users",t]};function U(t,e){if(1&t&&n._UZ(0,"tr",27),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsForceRouterLink",r.disableRouting?null:n.VKq(4,q,i.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.VKq(6,q,i.id))}}function H(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function j(t,e){1&t&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var G=function(){var t=function(){function t(e,i){v(this,t),this.authResolver=e,this.tableCheckbox=i,this.selection=new a.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.pageSizeOptions=s.f7}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"getDataForColumn",value:function(t,e){var i;switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"true":"false";case"name":return t?t.lastName?t.lastName:null!==(i=t.firstName)&&void 0!==i?i:"":"";case"organization":return(0,s.OV)(t);case"email":return(0,s.kN)(t);case"logins":return(0,s.lt)(t);default:return""}}},{key:"getExportDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"user":return t.serviceUser?"service-user":"user";case"name":return t?(0,s.bD)(t):"";case"organization":return(0,s.OV)(t);case"email":return(0,s.kN)(t);case"logins":return(0,s.lt)(t);default:return""}}},{key:"exportData",value:function(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,s.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,s.pR)(e,i,t.getDataForColumn,t)}),this.dataSource.filter=this.filter,this.dataSource.data=this.users}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t}))}},{key:"ngOnChanges",value:function(){this.setDataSource()}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.x4),n.Y36(u.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-users-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,T,2,1,"th",4),n.YNc(5,C,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,S,1,0,"th",4),n.YNc(8,R,3,2,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,I,3,3,"th",8),n.YNc(11,O,2,1,"td",5),n.BQk(),n.ynx(12,9),n.YNc(13,P,3,3,"th",8),n.YNc(14,D,3,3,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,M,3,3,"th",8),n.YNc(17,L,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,N,3,3,"th",8),n.YNc(20,z,3,3,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,F,3,3,"th",8),n.YNc(23,Z,3,3,"td",10),n.BQk(),n.YNc(24,B,1,0,"tr",14),n.YNc(25,U,1,8,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,H,3,3,"app-alert",16),n.YNc(27,j,3,3,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.users.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.users.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.users.length))},directives:[c.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,d.Hw,f.gM,r.nU,o.XQ,o.Gk,p.Kd,p.YH,g.w],pipes:[m.X$,b.d,w.Z,_,A],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},65050:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(31572),r=i(48160),o=function(){var t=function(){function t(e){v(this,t),this.translateService=e,this.returnData=""}return y(t,[{key:"transform",value:function(t){var e=this;switch(t){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(function(t){e.returnData=t});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_HIDDEN").subscribe(function(t){e.returnData=t});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(function(t){e.returnData=t});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(function(t){e.returnData=t});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_SHOW").subscribe(function(t){e.returnData=t});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(function(t){e.returnData=t});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(function(t){e.returnData=t});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(function(t){e.returnData=t});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(function(t){e.returnData=t});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(function(t){e.returnData=t});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(function(t){e.returnData=t});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(function(t){e.returnData=t});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(function(t){e.returnData=t});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(function(t){e.returnData=t});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(function(t){e.returnData=t});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(function(t){e.returnData=t});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(function(t){e.returnData=t});break;default:return t}return this.returnData}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationFormItemType",type:t,pure:!0}),t}()},84650:function(t,e,i){"use strict";i.d(e,{h:function(){return o}});var n=i(31572),r=i(48160),o=function(){var t=function(){function t(e){v(this,t),this.translate=e,this.returnData=""}return y(t,[{key:"transform",value:function(t){var e=this;switch(t){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(function(t){e.returnData='done'.concat(t)});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(function(t){e.returnData='clear'.concat(t)});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(function(t){e.returnData='contact_mail '.concat(t)});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(function(t){e.returnData='gavel'.concat(t)});break;default:this.returnData=t}return this.returnData}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.sK,16))},t.\u0275pipe=n.Yjl({name:"applicationState",type:t,pure:!1}),t}()},99373:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var n=i(31572),r=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return t.substring(40)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"extSourceType",type:t,pure:!0}),t}()},35887:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,n.OV)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"userVo",type:t,pure:!0}),t}()},28780:function(t,e,i){"use strict";i.d(e,{m:function(){return xt}});var n=i(61511),r=i(57629),o=i(40084),a=i(15980),s=i(29236),u=i(71522),c=i(15812),l=i(84608),h=i(27679),d=i(45001),f=i(66283),p=i(43691),g=i(80340),m=i(73005),b=i(45994),w=i(67806),_=i(54810),A=i(4786),k=i(25122),T=i(27521),C=i(71403),S=i(58623),E=i(67033),x=i(55109),R=i(36922),I=i(91010),O=i(27439),P=i(41050),D=i(10033),M=i(8055),L=i(70663),N=i(16073),z=i(24081),F=i(17),Z=i(88426),B=i(31572),q=i(84534),U=i(48160),H=["collapse"],j=function(){return{color:"linkTextColor"}};function G(t,e){1&t&&(B.TgZ(0,"mat-icon",14),B._uU(1,"keyboard_arrow_right"),B.qZA()),2&t&&B.Q6J("ngStyle",B.DdM(1,j))}function Y(t,e){1&t&&(B.TgZ(0,"mat-icon",14),B._uU(1,"keyboard_arrow_down"),B.qZA()),2&t&&B.Q6J("ngStyle",B.DdM(1,j))}function V(t,e){if(1&t&&(B.TgZ(0,"span",12),B.YNc(1,G,2,2,"mat-icon",13),B.YNc(2,Y,2,2,"mat-icon",13),B.qZA()),2&t){var i=B.oxw().$implicit,n=B.oxw(2);B.xp6(1),B.Q6J("ngIf",!n.isActive(n.currentUrl,i.showChildrenRegex)),B.xp6(1),B.Q6J("ngIf",n.isActive(n.currentUrl,i.showChildrenRegex))}}var K=function(t,e){return{color:t,"border-color":e}};function J(t,e){if(1&t){var i=B.EpF();B.TgZ(0,"a",17),B.NdJ("click",function(){var t=B.CHM(i).$implicit;return B.oxw(4).navigate(t.url)}),B._uU(1),B.ALo(2,"translate"),B.qZA()}if(2&t){var n=e.$implicit,r=B.oxw(4);B.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),B.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:"")("ngStyle",B.WLB(9,K,r.linkTextColor,r.linkTextColor)),B.xp6(1),B.hij(" ",B.lcZ(2,7,n.label)," ")}}function Q(t,e){if(1&t&&(B.TgZ(0,"div",15),B.YNc(1,J,3,12,"a",16),B.qZA()),2&t){var i=B.oxw().$implicit;B.Q6J("@rollInOut",void 0),B.xp6(1),B.Q6J("ngForOf",null==i?null:i.children)}}function W(t,e){if(1&t){var i=B.EpF();B.TgZ(0,"div"),B.TgZ(1,"a",9),B.NdJ("click",function(){var t=B.CHM(i).$implicit;return B.oxw(2).navigate(t.url)}),B._uU(2),B.ALo(3,"translate"),B.YNc(4,V,3,2,"span",10),B.qZA(),B.YNc(5,Q,2,2,"div",11),B.qZA()}if(2&t){var n=e.$implicit,r=B.oxw(2);B.xp6(1),B.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),B.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:"")("ngStyle",B.WLB(11,K,r.linkTextColor,r.linkTextColor)),B.xp6(1),B.hij(" ",B.lcZ(3,9,n.label)," "),B.xp6(2),B.Q6J("ngIf",n.children),B.xp6(1),B.Q6J("ngIf",r.isActive(r.currentUrl,n.showChildrenRegex))}}function X(t,e){if(1&t&&(B.TgZ(0,"div"),B.YNc(1,W,6,14,"div",8),B.qZA()),2&t){var i=B.oxw();B.Q6J("@rollInOut",void 0),B.xp6(1),B.Q6J("ngForOf",i.item.links)}}var $=function(t,e){return{background:t,"border-top":e}},tt=function(t){return{color:t}},et=function(){return{color:"currentColor"}},it=function(t){return{background:t}},nt=function(){var t=function(){function t(e,i){var n=this;v(this,t),this.router=e,this.store=i,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=e.url,e.events.subscribe(function(t){t instanceof r.m2&&(n.currentUrl=t.url)})}return y(t,[{key:"toggle",value:function(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}},{key:"isActive",value:function(t,e){return new RegExp(e).test(t)}},{key:"navigate",value:function(t){var e=this;"over"===this.sideNav.mode?this.sideNav.close().then(function(){return e.router.navigate(t)}):this.router.navigate(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(B.Y36(r.F0),B.Y36(Z.d6))},t.\u0275cmp=B.Xpm({type:t,selectors:[["app-side-menu-item"]],viewQuery:function(t,e){var i;(1&t&&B.Gf(H,5),2&t)&&(B.iGM(i=B.CRH())&&(e.collapseDiv=i.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(t,e){1&t&&(B.TgZ(0,"div",0),B.TgZ(1,"div",1),B.NdJ("click",function(){return e.toggle()}),B.TgZ(2,"div",2),B.TgZ(3,"a",3),B.TgZ(4,"div"),B._UZ(5,"mat-icon",4),B.qZA(),B.TgZ(6,"div",5),B._uU(7),B.ALo(8,"translate"),B.qZA(),B.qZA(),B.qZA(),B.qZA(),B.TgZ(9,"div"),B.TgZ(10,"div",6),B.YNc(11,X,2,2,"div",7),B.qZA(),B.qZA(),B.qZA()),2&t&&(B.xp6(1),B.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",B.WLB(18,$,e.item.backgroundColorCss,e.index?e.dividerStyle:"none")),B.xp6(1),B.Gre("entity-menu-item-link ",e.item.labelClass,""),B.Q6J("perunWebAppsMiddleClickRouterLink",e.item.baseLink),B.xp6(1),B.Q6J("ngStyle",B.VKq(21,tt,e.item.textColorCss)),B.xp6(2),B.Q6J("ngStyle",B.DdM(23,et))("svgIcon",e.item.icon),B.xp6(2),B.Oqu(B.lcZ(8,16,e.item.label)),B.xp6(2),B.Q6J("@openClose",e.expanded?"open":"closed"),B.xp6(1),B.Gre("side-entity-menu ",e.item.linksClass,""),B.Q6J("ngStyle",B.VKq(24,it,e.linkBgColor)),B.xp6(1),B.Q6J("ngIf",e.showLinks))},directives:[u.wG,n.PC,q.YH,p.Hw,n.O5,n.sg,n.mk],pipes:[U.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:[F.BQ,F.Ly]}}),t}(),rt=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){if(void 0===t.value)return"";switch(t.type){case"java.lang.String":return t.value;case"java.lang.Integer":return t.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(t.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(t.value);case"java.lang.Boolean":return t.value.toString();default:return t.value}}},{key:"whenValueIsArray",value:function(t){var e="";return t.forEach(function(t){e=e.concat(t+", ")}),e}},{key:"whenValueIsMap",value:function(t){var e="";return t.forEach(function(t,i){e=e.concat(i+": "+t+", ")}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=B.Yjl({name:"anyToString",type:t,pure:!0}),t}(),ot=["collapse"],at=function(){return{color:"linkTextColor"}};function st(t,e){1&t&&(B.TgZ(0,"mat-icon",12),B._uU(1,"keyboard_arrow_right"),B.qZA()),2&t&&B.Q6J("ngStyle",B.DdM(1,at))}function ut(t,e){1&t&&(B.TgZ(0,"mat-icon",12),B._uU(1,"keyboard_arrow_down"),B.qZA()),2&t&&B.Q6J("ngStyle",B.DdM(1,at))}function ct(t,e){if(1&t&&(B.TgZ(0,"span",10),B.YNc(1,st,2,2,"mat-icon",11),B.YNc(2,ut,2,2,"mat-icon",11),B.qZA()),2&t){var i=B.oxw().$implicit,n=B.oxw();B.xp6(1),B.Q6J("ngIf",!n.isActive(n.currentUrl,i.showChildrenRegex)),B.xp6(1),B.Q6J("ngIf",n.isActive(n.currentUrl,i.showChildrenRegex))}}var lt=function(t,e){return{color:t,"border-color":e}};function ht(t,e){if(1&t){var i=B.EpF();B.TgZ(0,"a",14),B.NdJ("click",function(){var t=B.CHM(i).$implicit;return B.oxw(3).navigate(t.url)}),B._uU(1),B.ALo(2,"translate"),B.qZA()}if(2&t){var n=e.$implicit,r=B.oxw(3);B.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),B.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",B.WLB(9,lt,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),B.xp6(1),B.hij(" ",B.lcZ(2,7,n.label)," ")}}function dt(t,e){if(1&t&&(B.TgZ(0,"div"),B.YNc(1,ht,3,12,"a",13),B.qZA()),2&t){var i=B.oxw().$implicit;B.Q6J("@rollInOut",void 0),B.xp6(1),B.Q6J("ngForOf",null==i?null:i.children)}}function ft(t,e){if(1&t){var i=B.EpF();B.TgZ(0,"div"),B.TgZ(1,"a",7),B.NdJ("click",function(){var t=B.CHM(i).$implicit;return B.oxw().navigate(t.url)}),B._uU(2),B.ALo(3,"translate"),B.YNc(4,ct,3,2,"span",8),B.qZA(),B.YNc(5,dt,2,2,"div",9),B.qZA()}if(2&t){var n=e.$implicit,r=B.oxw();B.xp6(1),B.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),B.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",B.WLB(11,lt,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),B.xp6(1),B.hij(" ",B.lcZ(3,9,n.label)," "),B.xp6(2),B.Q6J("ngIf",n.children),B.xp6(1),B.Q6J("ngIf",r.isActive(r.currentUrl,n.showChildrenRegex))}}var pt=function(t){return{background:t}},gt=function(t){return{color:t}},vt=function(){return{color:"currentColor"}},mt=function(){var t=function(){function t(e,i){var n=this;v(this,t),this.router=e,this.store=i,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.currentUrl=e.url,e.events.subscribe(function(t){t instanceof r.m2&&(n.currentUrl=t.url)})}return y(t,[{key:"ngOnInit",value:function(){this.expanded=this.showOpen}},{key:"ngOnChanges",value:function(){this.expanded=this.showOpen}},{key:"toggle",value:function(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}},{key:"isActive",value:function(t,e){return new RegExp(e).test(t)}},{key:"getBgClass",value:function(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}},{key:"navigate",value:function(t){var e=this;"over"===this.sideNav.mode?this.sideNav.close().then(function(){return e.router.navigate(t)}):this.router.navigate(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(B.Y36(r.F0),B.Y36(Z.d6))},t.\u0275cmp=B.Xpm({type:t,selectors:[["app-side-menu-root-item"]],viewQuery:function(t,e){var i;(1&t&&B.Gf(ot,5),2&t)&&(B.iGM(i=B.CRH())&&(e.collapseDiv=i.first))},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[B.TTD],decls:12,vars:27,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(t,e){1&t&&(B.TgZ(0,"div",0),B.TgZ(1,"div",1),B.NdJ("click",function(){return e.toggle()}),B.TgZ(2,"div"),B.TgZ(3,"a",2),B.TgZ(4,"div"),B._UZ(5,"mat-icon",3),B.qZA(),B.TgZ(6,"div",4),B._uU(7),B.ALo(8,"translate"),B.qZA(),B.qZA(),B.qZA(),B.qZA(),B.TgZ(9,"div"),B.TgZ(10,"div",5),B.YNc(11,ft,6,14,"div",6),B.qZA(),B.qZA(),B.qZA()),2&t&&(B.xp6(1),B.ekj("root-header-activated",e.isActive(e.currentUrl,e.item.baseColorClassRegex)),B.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",B.VKq(20,pt,e.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",e.item.baseLink),B.xp6(1),B.Gre("entity-menu-item-link ",e.item.labelClass,""),B.xp6(1),B.Q6J("ngStyle",B.VKq(22,gt,e.item.textColorCss)),B.xp6(2),B.Q6J("ngStyle",B.DdM(24,vt))("svgIcon",e.item.icon),B.xp6(2),B.Oqu(B.lcZ(8,18,e.item.label)),B.xp6(2),B.Q6J("@openClose",e.expanded?"open":"closed"),B.xp6(1),B.Gre("side-entity-menu ",e.item.linksClass,""),B.Q6J("ngStyle",B.VKq(25,pt,e.linkBgColor)),B.xp6(1),B.Q6J("ngForOf",e.item.links))},directives:[u.wG,n.PC,q.YH,p.Hw,n.sg,n.mk,n.O5],pipes:[U.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:[F.BQ,F.Ly]}}),t}(),yt=i(88975),bt=i(4253),wt=i(22727),_t=i(99373),At=i(41939),kt=i(7423),Tt=i(22280),Ct=i(30146),St=i(85250),Et=i(84140),xt=function(){var t=function t(e){v(this,t),this.translate=e,e.addLangs(["en","cs"])};return t.\u0275fac=function(e){return new(e||t)(B.LFG(U.sK))},t.\u0275mod=B.oAB({type:t}),t.\u0275inj=B.cJS({providers:[rt,_t.A],imports:[[n.ez,r.Bz,o.Bb,g.c,f.lN,N.UX,N.u5,p.Ps,k.SJ,d.To,U.aw.forChild({}),a.ot,S.JX,E.p0,x.Nh,I.dp,a.ot,s.p9,l.Is,A.LD,C.ZX,w.Cq,b.Cv,R.AV,T.rP,c.FA,u.XK,_.Fk,h.t,u.si,m.TU,O.QW,L.T5,yt._t,O.QW,D.Hi,M.Tx,bt.Cl,wt.r,P.g,At.ez,kt.r,Tt.d4,Ct.Co,St.ie,Et.Je],Ct.Co,o.Bb,g.c,r.Bz,N.UX,N.u5,p.Ps,k.SJ,U.aw,S.JX,E.p0,x.Nh,I.dp,a.ot,s.p9,l.Is,A.LD,C.ZX,w.Cq,b.Cv,R.AV,T.rP,c.FA,u.XK,_.Fk,h.t,O.QW,L.T5,u.si,m.TU,yt._t,D.Hi,D.Hi,d.To,M.Tx,bt.Cl,bt.Cl,bt.Cl,kt.r]}),t}();B.B6R(z.V,[mt,n.sg,nt,n.O5],[])},75585:function(t,e,i){"use strict";i.d(e,{V:function(){return l}});var n=i(88426),r=i(33642),o=i(84140),a=i(22280),s=i(67004),u=i(31572),c=i(48160),l=function(){var t=function(){function t(e,i,n,r,o,a,s){v(this,t),this.translate=e,this.authResolver=i,this.store=n,this.apiRequest=r,this.attributesManager=o,this.notificator=a,this.guiAuthResolver=s,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")}return y(t,[{key:"getFacilitiesManagementItem",value:function(){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}}},{key:"getAccessManagementItem",value:function(){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}}},{key:"getHomeItem",value:function(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}},{key:"getUserItem",value:function(){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.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"}]}}},{key:"getAdminItem",value:function(){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$"}]}}},{key:"parseFacility",value:function(t){return{label:t.name,baseLink:["/facilities/".concat(t.id)],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(t),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseResource",value:function(t,e){var i=(new a.r5).transform(t,e);return{label:t.name,baseLink:[i],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(i,e?"/organizations":"/facilities",t),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"getResourceLinks",value:function(t,e,i){var n=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[t],activatedRegex:"".concat(e,"/\\d+/resources/\\d+$")}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[t,"groups"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/groups$")}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[t,"services"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/services$")}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[t,"members"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/members$")}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[t,"tags"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/tags$")}),n.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[t,"attributes"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/attributes$")}),this.authResolver.isManagerPagePrivileged(i)&&n.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[t,"settings"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/settings$"),children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[t,"settings","managers"],activatedRegex:"".concat(e,"/\\d+/resources/\\d+/settings/managers$")}],showChildrenRegex:"".concat(e,"/\\d+/resources/\\d+/settings")}),n}},{key:"parseGroup",value:function(t){return{label:t.name,baseLink:["/organizations/".concat(t.voId,"/groups/").concat(t.id)],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(t),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseVo",value:function(t){return{label:t.name,baseLink:["/organizations/".concat(t.id)],links:this.getVoLinks(t),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}},{key:"parseMember",value:function(t,e){return{label:(0,o.bD)(t.user),baseLink:["/organizations/".concat(t.voId,"/members/").concat(t.id)],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(t,e),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseUser",value:function(t,e,i){return{label:(0,o.bD)(t),baseLink:[e],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(t,e,i),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseService",value:function(t){return{label:t.name,baseLink:["/admin/services/".concat(t.id)],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:["/admin/services/".concat(t.id)],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:["/admin/services/".concat(t.id,"/required-attributes")],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:["/admin/services/".concat(t.id,"/destinations")],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"getVoLinks",value:function(t){var e=[];if(e.push({label:"MENU_ITEMS.VO.OVERVIEW",url:["/organizations/".concat(t.id)],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.MEMBERS",url:["/organizations/".concat(t.id,"/members")],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.GROUPS",url:["/organizations/".concat(t.id,"/groups")],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[t])){var i=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:["/organizations/".concat(t.id,"/resources/preview")],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:["/organizations/".concat(t.id,"/resources/tags")],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[t])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:["/organizations/".concat(t.id,"/resources/states")],activatedRegex:"/organizations/\\d+/resources/states$"}),e.push({label:"MENU_ITEMS.VO.RESOURCES",url:["/organizations/".concat(t.id,"/resources")],activatedRegex:"/organizations/\\d+/resources$",children:i,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[t])&&e.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:["/organizations/".concat(t.id,"/applications")],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:["/organizations/".concat(t.id,"/sponsoredMembers")],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[t])&&e.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:["/organizations/".concat(t.id,"/serviceAccounts")],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),e.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:["/organizations/".concat(t.id,"/attributes")],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[t])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[t])&&e.push({label:"MENU_ITEMS.VO.STATISTICS",url:["/organizations/".concat(t.id,"/statistics")],activatedRegex:"/organizations/\\d+/statistics"});var n=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[t]),r=this.authResolver.isManagerPagePrivileged(t),o=this.authResolver.isThisVoAdminOrObserver(t.id);if(r||n||o){var a=[];o&&a.push({label:"MENU_ITEMS.VO.EXPIRATION",url:["/organizations/".concat(t.id,"/settings/expiration")],activatedRegex:"/organizations/\\d+/settings/expiration$"}),r&&a.push({label:"MENU_ITEMS.VO.MANAGERS",url:["/organizations/".concat(t.id,"/settings/managers")],activatedRegex:"/organizations/\\d+/settings/managers$"}),o&&a.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:["/organizations/".concat(t.id,"/settings/applicationForm")],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),o&&a.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:["/organizations/".concat(t.id,"/settings/notifications")],activatedRegex:"/organizations/\\d+/settings/notifications$"}),n&&a.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:["/organizations/".concat(t.id,"/settings/extsources")],activatedRegex:"/organizations/\\d+/settings/extsources$"}),e.push({label:"MENU_ITEMS.VO.SETTINGS",url:["/organizations/".concat(t.id,"/settings")],activatedRegex:"/organizations/\\d+/settings$",children:a,showChildrenRegex:"/organizations/\\d+/settings"})}return e}},{key:"getUserLinks",value:function(t,e,i){var n=[];return n.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[e],activatedRegex:"".concat(i,"$")}),n.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:["".concat(e,"/organizations")],activatedRegex:"".concat(i,"/organizations")}),n.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:["".concat(e,"/groups")],activatedRegex:"".concat(i,"/groups")}),n.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:["".concat(e,"/accounts")],activatedRegex:"".concat(i,"/accounts")}),n.push({label:"MENU_ITEMS.USER.IDENTITIES",url:["".concat(e,"/identities")],activatedRegex:"".concat(i,"/identities")}),n.push({label:"MENU_ITEMS.USER.FACILITIES",url:["".concat(e,"/facilities")],activatedRegex:"".concat(i,"/facilities")}),n.push({label:"MENU_ITEMS.USER.RESOURCES",url:["".concat(e,"/resources")],activatedRegex:"".concat(i,"/resources")}),n.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:["".concat(e,"/attributes")],activatedRegex:"".concat(i,"/attributes")}),n.push({label:"MENU_ITEMS.USER.ROLES",url:["".concat(e,"/roles")],activatedRegex:"^".concat(e,"/roles")}),n.push({label:"MENU_ITEMS.ADMIN.SETTINGS",url:["".concat(e,"/settings")],activatedRegex:"".concat(i,"/settings$"),children:[],showChildrenRegex:"".concat(i,"/settings")}),n[n.length-1].children.push(t.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:["".concat(e,"/settings/associated-users")],activatedRegex:"^".concat(e,"/settings/associated-users")}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["".concat(e,"/settings/service-identities")],activatedRegex:"^".concat(e,"/settings/service-identities")}),n}},{key:"getMemberLinks",value:function(t,e){var i=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:["/organizations/".concat(t.voId,"/members/").concat(t.id)],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:["//organizations/".concat(t.voId,"/members/").concat(t.id,"/groups")],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:["//organizations/".concat(t.voId,"/members/").concat(t.id,"/applications")],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[e])&&i.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:["/organizations/".concat(t.voId,"/members/").concat(t.id,"/resources")],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),i.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:["/organizations/".concat(t.voId,"/members/").concat(t.id,"/attributes")],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),i}},{key:"getFacilityLinks",value:function(t){var e=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:["/facilities/".concat(t.id)],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:["/facilities/".concat(t.id,"/resources")],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:["/facilities/".concat(t.id,"/allowed-users")],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:["/facilities/".concat(t.id,"/allowed-groups")],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:["/facilities/".concat(t.id,"/services-status")],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[t])&&e.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:["/facilities/".concat(t.id,"/services-destinations")],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&e.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:["/facilities/".concat(t.id,"/hosts")],activatedRegex:"facilities/\\d+/hosts"}),e.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",t.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});var i=this.authResolver.isAuthorized("getBansForFacility_int_policy",[t]),n=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[t]),r=this.authResolver.isAuthorized("getOwners_Facility_policy",[t]),o=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[t]);if(i||n||r||o){var a=[];r&&a.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",t.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),n&&a.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",t.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),o&&a.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:["/facilities/".concat(t.id,"/settings/security-teams")],activatedRegex:"facilities/\\d+/settings/security-teams"}),i&&a.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",t.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),e.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",t.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:a,showChildrenRegex:"/facilities/\\d+/settings"})}return e}},{key:"getGroupLinks",value:function(t){var e=this,i=[],n=[];i.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id)],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/members")],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[t])&&"members"!==t.name&&i.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/subgroups")],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/resources")],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[t])&&i.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/applications")],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),i.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/attributes")],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});var r=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[t]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[t]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[t]);return r&&o&&a&&i.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/statistics")],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(t.id,s.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){n.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/expiration")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},function(t){"HttpErrorResponse"!==t.name&&e.notificator.showRPCError(t)}),this.authResolver.isManagerPagePrivileged(t)&&n.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/managers")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&n.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/applicationForm")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[t])&&n.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/notifications")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[t])&&n.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/relations")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[t])&&n.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings/extsources")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==n.length&&i.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:["/organizations/".concat(t.voId,"/groups/").concat(t.id,"/settings")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:n,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(c.sK),u.LFG(n.x4),u.LFG(n.d6),u.LFG(n.F5),u.LFG(r.H8),u.LFG(n.V6),u.LFG(n.x4))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},24081:function(t,e,i){"use strict";i.d(e,{V:function(){return w}});var n=i(61601),r=i(75585),o=i(88426),a=i(17),s=i(31572),u=i(48958);function c(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",9),s.qZA()),2&t){var i=e.$implicit,n=e.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)}}function l(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&t){var i=e.$implicit,n=e.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.accessItems.length-1)}}function h(t,e){if(1&t&&s._UZ(0,"app-side-menu-root-item",2),2&t){var i=s.oxw();s.Q6J("sideNav",i.sideNav)("item",i.facilityItem)}}function d(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&t){var i=e.$implicit,n=e.index,r=s.oxw(2);s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.facilityItems.length-1)}}function f(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,d,2,5,"div",3),s.qZA()),2&t){var i=s.oxw();s.xp6(1),s.Q6J("ngForOf",i.facilityItems)}}function p(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&t){var i=e.$implicit,n=e.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.userItems.length-1)}}function g(t,e){if(1&t&&s._UZ(0,"app-side-menu-root-item",6),2&t){var i=s.oxw();s.Q6J("sideNav",i.sideNav)("showOpen",i.adminItemOpened)("item",i.adminItem)}}function m(t,e){if(1&t&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&t){var i=e.$implicit,n=e.index,r=s.oxw(2);s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",!0)}}function b(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,m,2,5,"div",3),s.qZA()),2&t){var i=s.oxw();s.xp6(1),s.Q6J("ngForOf",i.adminItems)}}var w=function(){var t=function(){function t(e,i,n,r){v(this,t),this.sideMenuService=e,this.sideMenuItemService=i,this.authResolver=n,this.store=r,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}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.mobileView=window.innerWidth<=n.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(function(e){t.setFacilityItems(e)}),this.sideMenuService.accessItemsChange.subscribe(function(e){t.setAccessItems(e)}),this.sideMenuService.adminItemsChange.subscribe(function(e){t.setAdminItems(e)}),this.sideMenuService.userItemsChange.subscribe(function(e){t.setUserItems(e)}),this.sideMenuService.homeItemsChange.subscribe(function(e){t.setHomeItems(e)}),this.sideMenuService.resetChange.subscribe(function(){t.reset()})}},{key:"reset",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptHome",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptFacility",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptAccess",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptAdmin",value:function(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptUser",value:function(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}},{key:"setHomeItems",value:function(t){this.resetExceptHome(),this.setNewItems(this.homeItems,t)}},{key:"setFacilityItems",value:function(t){this.resetExceptFacility(),this.setNewItems(this.facilityItems,t)}},{key:"setAccessItems",value:function(t){this.resetExceptAccess(),this.setNewItems(this.accessItems,t)}},{key:"setUserItems",value:function(t){this.userItemOpened=!0,this.resetExceptUser(),this.setNewItems(this.userItems,t)}},{key:"setAdminItems",value:function(t){this.adminItemOpened=0===t.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,t)}},{key:"setNewItems",value:function(t,e){for(var i=t.length>e.length?t.length:e.length,n=0;nt.length-1)t.push(e[n]);else{if(n>e.length-1){for(var r=t.length,o=0;o0),n.Q6J("cdkDragData",i)}}function yt(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"div",4),n.TgZ(1,"div",5),n.TgZ(2,"div",6),n.TgZ(3,"table",7,8),n.NdJ("cdkDropListDropped",function(t){return n.CHM(i),n.oxw().drop(t)}),n.ynx(5,9),n.YNc(6,S,1,0,"th",10),n.YNc(7,E,4,0,"td",11),n.BQk(),n.ynx(8,12),n.YNc(9,x,3,3,"th",10),n.YNc(10,R,2,1,"td",11),n.BQk(),n.ynx(11,13),n.YNc(12,I,3,3,"th",10),n.YNc(13,O,3,3,"td",11),n.BQk(),n.ynx(14,14),n.YNc(15,P,3,3,"th",15),n.YNc(16,M,2,1,"td",16),n.BQk(),n.ynx(17,17),n.YNc(18,L,3,3,"th",15),n.YNc(19,z,2,1,"td",16),n.BQk(),n.ynx(20,18),n.YNc(21,F,3,3,"th",10),n.YNc(22,rt,15,14,"td",11),n.BQk(),n.ynx(23,19),n.YNc(24,ot,1,0,"th",10),n.YNc(25,st,2,1,"td",11),n.BQk(),n.ynx(26,20),n.YNc(27,ut,1,0,"th",10),n.YNc(28,ht,3,2,"td",11),n.BQk(),n.ynx(29,21),n.YNc(30,dt,1,0,"th",10),n.YNc(31,gt,3,2,"td",11),n.BQk(),n.YNc(32,vt,1,0,"tr",22),n.YNc(33,mt,1,7,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(3),n.Q6J("cdkDropListDisabled",r.dragDisabled)("dataSource",r.dataSource),n.xp6(29),n.Q6J("matHeaderRowDef",r.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",r.displayedColumns)}}function bt(t,e){1&t&&(n.TgZ(0,"app-alert",98),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}var wt=function(){var t=function(){function t(e,i,r,o){v(this,t),this.dialog=e,this.notificator=i,this.router=r,this.translate=o,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new n.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}return y(t,[{key:"ngOnInit",value:function(){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")}},{key:"ngOnChanges",value:function(){this.dataSource=this.applicationFormItems}},{key:"disabledHiddenDependency",value:function(t,e,i){var n="";if("IF_EMPTY"===e||"IF_PREFILLED"===e){var r=null===i?"":this.applicationFormItems.find(function(t){return t.id===i}).shortname;n="IF_EMPTY"===e?"(".concat(this.ifEmpty," ").concat(r,")"):"(".concat(this.ifPrefilled," ").concat(r,")")}return n}},{key:"disabledTooltip",value:function(t){var e;switch(t.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,"".concat(this.isDisabledIf," ").concat(e," ").concat(this.isEmpty);case"IF_PREFILLED":return e=null===t.disabledDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.disabledDependencyItemId}).shortname,"".concat(this.isDisabledIf," ").concat(e," ").concat(this.isPrefilled)}}},{key:"hiddenTooltip",value:function(t){var e;switch(t.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,"".concat(this.isHiddenIf," ").concat(e," ").concat(this.isEmpty);case"IF_PREFILLED":return e=null===t.hiddenDependencyItemId?"":this.applicationFormItems.find(function(e){return e.id===t.hiddenDependencyItemId}).shortname,"".concat(this.isHiddenIf," ").concat(e," ").concat(this.isPrefilled)}}},{key:"edit",value:function(t){var e=this,i=(0,h.kZ)();i.width="600px",i.height="600px",i.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:t,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(l._,i).afterClosed().subscribe(function(i){i&&(e.itemsChanged.push(t.id),e.applicationFormItemsChange.emit())})}},{key:"delete",value:function(t){var e=this,i=(0,h.kZ)();i.width="500px",this.dialog.open(u,i).afterClosed().subscribe(function(i){i&&(t.forDelete=!0,0===t.id&&(e.applicationFormItems.splice(e.applicationFormItems.indexOf(t),1),e.table.renderRows()),e.applicationFormItemsChange.emit())})}},{key:"drop",value:function(t){this.dragDisabled=!0;var e=this.applicationFormItems.indexOf(t.item.data);(0,r.bA)(this.applicationFormItems,e,t.currentIndex),this.itemsChanged.push(this.applicationFormItems[t.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}},{key:"getLocalizedOptions",value:function(t){if(t.i18n[this.translate.getDefaultLang()]){var e=t.i18n[this.translate.getDefaultLang()].options;if(null!==e&&""!==e){var i,n=[],r=f(e.split("|"));try{for(r.s();!(i=r.n()).done;){var o=i.value;n.push(o.split("#")[1])}}catch(a){r.e(a)}finally{r.f()}return n}}return[]}},{key:"getLocalizedLabel",value:function(t){return t.i18n[this.translate.getDefaultLang()]?t.i18n[this.translate.getDefaultLang()].label:t.shortname}},{key:"restore",value:function(t){t.forDelete=!1}},{key:"openManagingGroups",value:function(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.uw),n.Y36(c.V6),n.Y36(d.F0),n.Y36(s.sK))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-application-form-list"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(T,5),2&t)&&(n.iGM(i=n.CRH())&&(e.table=i.first))},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.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"],["class","font-italic disabled",4,"ngIf"],["type","text"],[1,"font-italic","disabled"],["disabled",""],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(t,e){1&t&&(n.YNc(0,C,1,0,"mat-spinner",0),n.YNc(1,yt,34,4,"div",1),n.YNc(2,bt,3,3,"app-alert",2)),2&t&&(n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",0!==e.applicationFormItems.length&&!e.loading),n.xp6(1),n.Q6J("ngIf",0===e.applicationFormItems.length&&!e.loading))},directives:[p.O5,g.$g,m.BZ,r.Wj,m.w1,m.fO,m.Dz,m.as,m.nj,m.ge,m.ev,a.lW,b.Hw,w.gM,_._Y,_.JL,_.F,p.sg,_.YN,_.Kr,_.EJ,_.JJ,_.On,m.XQ,m.Gk,r.Zt,A.w],pipes:[s.X$,k.c],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .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}"]}),t}()},29851:function(t,e,i){"use strict";i.d(e,{w:function(){return rt}});var n=i(31572),r=i(33642),o=i(67033),a=i(84140),s=i(88426),u=i(57629),c=i(82819),l=i(61511),h=i(84534),d=i(67806),p=i(39571),g=i(48160),m=i(22196);function b(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function w(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function _(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_ID")))}function A(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.vo.id)}}function k(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_NAME")))}function T(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.vo.name)}}function C(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_ID")))}function S(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.group?i.group.id:"")}}function E(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function x(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.group?i.group.name:"")}}function R(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.type)}}function O(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function P(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.state)}}function D(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME")))}function M(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.extSourceName)}}function L(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE")))}function N(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.extSourceType)}}function z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_USER")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.hij(" ",i.user?n.lcZ(2,1,i.user):"null"," ")}}function Z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_BY")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.hij(" ",i.createdBy.slice(i.createdBy.lastIndexOf("=")+1,i.createdBy.length)," ")}}function q(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function U(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.createdAt,"d.M.y"))}}function H(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function j(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.getFriendlyName(i.modifiedBy))}}function G(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.modifiedAt,"d.M.y"))}}function V(t,e){if(1&t&&(n.TgZ(0,"th",26),n._uU(1),n.qZA()),2&t){var i=n.oxw().$implicit;n.xp6(1),n.Oqu(i)}}function K(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit,r=n.oxw().$implicit;n.xp6(1),n.Oqu(i[r])}}function J(t,e){1&t&&(n.ynx(0,29),n.YNc(1,V,2,1,"th",4),n.YNc(2,K,2,1,"td",11),n.BQk()),2&t&&n.Q6J("matColumnDef",e.$implicit)}function Q(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_FEDINFO")))}function W(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.fedInfo)}}function X(t,e){1&t&&n._UZ(0,"tr",30)}function $(t,e){if(1&t&&n._UZ(0,"tr",31),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.selectApplication(i))("routerLink",r.selectApplication(i))}}function tt(t,e){1&t&&n._UZ(0,"mat-spinner",32)}function et(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND")," "))}function it(t,e){1&t&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")," "))}function nt(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,et,3,3,"app-alert",33),n.YNc(2,it,3,3,"app-alert",33),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",0===i.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.table.length)}}var rt=function(){var t=function(){function t(e,i,r){v(this,t),this.router=e,this.authResolver=i,this.registrarManager=r,this.applications=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.displayedColumns=["id","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","createdAt","modifiedBy","modifiedAt","fedInfo"],this.loading=!1,this.table=[],this.addedColumns=new Set,this.pageSizeOptions=a.f7}return y(t,[{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.loading=!0,this.table=[],this.initialize(),this.getApplicationsData(0)}},{key:"getExportDataForColumn",value:function(t,e){var i,n,r,o;switch(e){case"id":return t.id.toString();case"voId":return t.vo.id.toString();case"voName":return t.vo.name;case"groupId":return null!==(n=null===(i=t.group)||void 0===i?void 0:i.id.toString())&&void 0!==n?n:"";case"groupName":return null!==(o=null===(r=t.group)||void 0===r?void 0:r.name)&&void 0!==o?o:"";case"type":return t.type;case"fedInfo":return t.fedInfo;case"state":return t.state;case"extSourceName":return t.extSourceName;case"extSourceType":return t.extSourceType;case"user":return t.user?(0,a.bD)(t.user):"";case"createdBy":return t.createdBy;case"createdAt":return t.createdAt;case"modifiedBy":return t.modifiedBy;case"modifiedAt":return t.modifiedAt;default:return t[e]}}},{key:"exportData",value:function(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"getApplicationsData",value:function(t){var e=this;if(this.applications.length!==t){var i=this.applications[t],n={};n.id=i.id,n.vo=i.vo,n.group=i.group,n.type=i.type,n.fedInfo=i.fedInfo,n.state=i.state,n.extSourceName=i.extSourceName,n.extSourceType=i.extSourceType,n.extSourceLoa=i.extSourceLoa,n.user=i.user,n.createdBy=i.createdBy,n.createdAt=i.createdAt,n.modifiedBy=i.modifiedBy,n.modifiedAt=i.modifiedAt,this.registrarManager.getApplicationDataById(i.id).subscribe(function(i){var r,o=f(i);try{for(o.s();!(r=o.n()).done;){var a=r.value;null!==a.formItem.i18n.en.label&&0!==a.formItem.i18n.en.label.length?(n[a.formItem.i18n.en.label]=a.value,e.addedColumns.add(a.formItem.i18n.en.label)):(n[a.shortname]=a.value,e.addedColumns.add(a.shortname))}}catch(s){o.e(s)}finally{o.f()}e.table.push(n),e.getApplicationsData(t+1)})}else this.initialize()}},{key:"initialize",value:function(){var t,e=f(this.addedColumns);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.displayedColumns.push(i)}}catch(n){e.e(n)}finally{e.f()}this.dataSource=new o.by(this.table),this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage(),this.loading=!1}},{key:"getFriendlyName",value:function(t){var e=t.lastIndexOf("/CN=");if(-1!==e){var i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}},{key:"selectApplication",value:function(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.F0),n.Y36(s.x4),n.Y36(r.tk))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-perun-web-apps-application-list-details"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(a.l9,7),2&t)&&(n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{applications:"applications",group:"group",member:"member",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:53,vars:12,consts:[[1,"card","mt-2","w-100",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","voId"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","createdAt"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","fedInfo"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[1,"ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,b,3,3,"th",4),n.YNc(5,w,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,_,3,3,"th",4),n.YNc(8,A,2,1,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,k,3,3,"th",4),n.YNc(11,T,2,1,"td",5),n.BQk(),n.ynx(12,8),n.YNc(13,C,3,3,"th",4),n.YNc(14,S,2,1,"td",5),n.BQk(),n.ynx(15,9),n.YNc(16,E,3,3,"th",4),n.YNc(17,x,2,1,"td",5),n.BQk(),n.ynx(18,10),n.YNc(19,R,3,3,"th",4),n.YNc(20,I,2,1,"td",11),n.BQk(),n.ynx(21,12),n.YNc(22,O,3,3,"th",4),n.YNc(23,P,2,1,"td",11),n.BQk(),n.ynx(24,13),n.YNc(25,D,3,3,"th",4),n.YNc(26,M,2,1,"td",11),n.BQk(),n.ynx(27,14),n.YNc(28,L,3,3,"th",4),n.YNc(29,N,2,1,"td",11),n.BQk(),n.ynx(30,15),n.YNc(31,z,3,3,"th",4),n.YNc(32,F,3,3,"td",11),n.BQk(),n.ynx(33,16),n.YNc(34,Z,3,3,"th",4),n.YNc(35,B,2,1,"td",11),n.BQk(),n.ynx(36,17),n.YNc(37,q,3,3,"th",4),n.YNc(38,U,3,4,"td",11),n.BQk(),n.ynx(39,18),n.YNc(40,H,3,3,"th",4),n.YNc(41,j,2,1,"td",11),n.BQk(),n.ynx(42,19),n.YNc(43,G,3,3,"th",4),n.YNc(44,Y,3,4,"td",11),n.BQk(),n.YNc(45,J,3,1,"ng-container",20),n.ynx(46,21),n.YNc(47,Q,3,3,"th",4),n.YNc(48,W,2,1,"td",11),n.BQk(),n.YNc(49,X,1,0,"tr",22),n.YNc(50,$,1,4,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.YNc(51,tt,1,0,"mat-spinner",24),n.YNc(52,nt,3,2,"div",25)),2&t&&(n.ekj("hide-table",e.loading),n.Q6J("hidden",0===e.table.length||!!e.dataSource&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(43),n.Q6J("ngForOf",e.addedColumns),n.xp6(4),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",e.loading),n.xp6(1),n.Q6J("ngIf",!e.loading))},directives:[c.l,o.BZ,o.w1,o.fO,o.Dz,l.sg,o.as,o.nj,l.O5,o.ge,o.ev,o.XQ,o.Gk,h.YH,u.rH,d.$g,p.w],pipes:[g.X$,m.d,l.uU],styles:[".mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%], mat-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding:8px!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},21548:function(t,e,i){"use strict";i.d(e,{M:function(){return G}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),u=i(82819),c=i(61511),l=i(43691),h=i(36922),d=i(84534),f=i(57629),p=i(39571),g=i(48160),m=i(84650),b=i(22196);function w(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function _(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function A(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.createdAt,"d.M.y"))}}function T(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function C(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",20),n._uU(2,"arrow_right_alt"),n.qZA(),n.qZA())}function S(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",21),n._uU(2,"restore"),n.qZA(),n.qZA())}function E(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",22),n._uU(2,"nat"),n.qZA(),n.qZA())}function x(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,C,3,0,"div",19),n.YNc(2,S,3,0,"div",19),n.YNc(3,E,3,0,"div",19),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("ngIf","INITIAL"===i.type),n.xp6(1),n.Q6J("ngIf","EXTENSION"===i.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED"===i.type)}}function R(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function I(t,e){if(1&t&&(n.TgZ(0,"td",18),n._UZ(1,"span",23),n.ALo(2,"applicationState"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("outerHTML",n.lcZ(2,1,i.state),n.oJD)}}function O(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function P(t,e){if(1&t&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&t){var i=n.oxw().$implicit;n.xp6(1),n.hij(" ",i.createdBy.slice(i.createdBy.lastIndexOf("=")+1,i.createdBy.length)," ")}}function D(t,e){if(1&t&&(n._uU(0),n.ALo(1,"userFullName")),2&t){var i=n.oxw().$implicit;n.hij(" ",n.lcZ(1,1,i.user)," ")}}function M(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,P,2,1,"div",24),n.YNc(2,D,2,3,"ng-template",null,25,n.W1O),n.qZA()),2&t){var i=e.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===i.user)("ngIfElse",r)}}function L(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function N(t,e){1&t&&(n.TgZ(0,"div",28),n._uU(1," - "),n.qZA())}function z(t,e){if(1&t&&n._uU(0),2&t){var i=n.oxw().$implicit;n.hij(" ",i.group.name," ")}}function F(t,e){if(1&t&&(n.TgZ(0,"td",18),n.YNc(1,N,2,0,"div",26),n.YNc(2,z,1,1,"ng-template",null,27,n.W1O),n.qZA()),2&t){var i=e.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===i.group)("ngIfElse",r)}}function Z(t,e){1&t&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",18),n._uU(1),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.getFriendlyName(i.modifiedBy))}}function q(t,e){1&t&&n._UZ(0,"tr",29)}function U(t,e){if(1&t&&n._UZ(0,"tr",30),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.selectApplication(i))("routerLink",r.selectApplication(i))}}function H(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function j(t,e){1&t&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var G=function(){var t=function(){function t(e){v(this,t),this.authResolver=e,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.pageSizeOptions=a.f7}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t}))}},{key:"ngOnChanges",value:function(){this.setDataSource()}},{key:"getSortDataForColumn",value:function(t,e,i){var n;switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}},{key:"getDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"createdAt":return t.createdAt;case"type":return t.type;case"state":return t.state;case"user":return t.user?(0,a.bD)(t.user):t.createdBy.slice(t.createdBy.lastIndexOf("=")+1,t.createdBy.length);case"group":return t.group?t.group.name:"";case"modifiedBy":return i.parseModifiedBy(t);default:return""}}},{key:"parseModifiedBy",value:function(t){var e=t.modifiedBy.lastIndexOf("/CN=");if(-1!==e){var i=t.modifiedBy.slice(e+4,t.modifiedBy.length).replace("/unstructuredName="," ").toLowerCase();return-1!==i.lastIndexOf("\\")?t.modifiedBy.slice(t.modifiedBy.lastIndexOf("=")+1,t.modifiedBy.length):i}return t.modifiedBy.toLowerCase()}},{key:"exportData",value:function(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,a.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,a.pR)(e,i,t.getSortDataForColumn,t)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.applications}},{key:"getFriendlyName",value:function(t){var e=t.lastIndexOf("/CN=");if(-1!==e){var i=t.slice(e+4,t.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?t.slice(t.lastIndexOf("=")+1,t.length):i}return t}},{key:"selectApplication",value:function(t){return this.disableRouting?null:this.group?["/organizations",t.vo.id,"groups",this.group.id,"applications",t.id]:this.member?["/organizations",t.vo.id,"members",this.member.id,"applications",t.id]:["/organizations",t.vo.id,"applications",t.id]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-applications-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","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","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","user"],["matColumnDef","group"],["matColumnDef","modifiedBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],["class","font-italic text-muted",4,"ngIf","ngIfElse"],["groupName",""],[1,"font-italic","text-muted"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,w,3,3,"th",4),n.YNc(5,_,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,3,3,"th",4),n.YNc(8,k,3,4,"td",7),n.BQk(),n.ynx(9,8),n.YNc(10,T,3,3,"th",4),n.YNc(11,x,4,3,"td",7),n.BQk(),n.ynx(12,9),n.YNc(13,R,3,3,"th",4),n.YNc(14,I,3,3,"td",7),n.BQk(),n.ynx(15,10),n.YNc(16,O,3,3,"th",4),n.YNc(17,M,4,2,"td",7),n.BQk(),n.ynx(18,11),n.YNc(19,L,3,3,"th",4),n.YNc(20,F,4,2,"td",7),n.BQk(),n.ynx(21,12),n.YNc(22,Z,3,3,"th",4),n.YNc(23,B,2,1,"td",7),n.BQk(),n.YNc(24,q,1,0,"tr",13),n.YNc(25,U,1,4,"tr",14),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,H,3,3,"app-alert",15),n.YNc(27,j,3,3,"app-alert",15)),2&t&&(n.Q6J("hidden",0===e.applications.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.applications.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.applications.length))},directives:[u.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,c.O5,o.ge,r.nU,o.ev,l.Hw,h.gM,o.XQ,o.Gk,d.YH,f.rH,p.w],pipes:[g.X$,c.uU,m.h,b.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},62284:function(t,e,i){"use strict";i.d(e,{W:function(){return R}});var n=i(33642),r=i(60611),o=i(88426),a=i(16073),s=i(61511),u=i(31572),c=i(57629),l=i(59403),h=i(66283),d=i(4786),f=i(71522),p=i(91058),g=i(51613),m=i(15980),b=i(67806),w=i(21548),_=i(29851),A=i(48160);function k(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"button",15),u.NdJ("click",function(){return u.CHM(i),u.oxw().showAllDetails=!0}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function T(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"button",15),u.NdJ("click",function(){return u.CHM(i),u.oxw().showAllDetails=!1}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function C(t,e){1&t&&u._UZ(0,"mat-spinner",16)}function S(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"app-applications-list",19),u.NdJ("page",function(t){return u.CHM(i),u.oxw(2).pageChanged(t)}),u.qZA()}if(2&t){var n=u.oxw(2);u.Q6J("pageSize",n.pageSize)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)("applications",n.applications)("displayedColumns",n.displayedColumns)("group",n.group)}}function E(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"app-perun-web-apps-application-list-details",20),u.NdJ("page",function(t){return u.CHM(i),u.oxw(2).detailPageChanged(t)}),u.qZA()}if(2&t){var n=u.oxw(2);u.Q6J("pageSize",n.detailPageSize)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)("applications",n.applications)("group",n.group)}}function x(t,e){if(1&t&&(u.TgZ(0,"div"),u.YNc(1,S,1,6,"app-applications-list",17),u.YNc(2,E,1,5,"app-perun-web-apps-application-list-details",18),u.qZA()),2&t){var i=u.oxw();u.xp6(1),u.Q6J("ngIf",!i.showAllDetails),u.xp6(1),u.Q6J("ngIf",i.showAllDetails)}}var R=function(){var t=function(){function t(e,i,n,o,a,s){v(this,t),this.groupService=e,this.registrarManager=i,this.tableConfigService=n,this.route=o,this.guiAuthResolver=a,this.store=s,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=r.Af,this.tableId=r.gB,this.routeAuth=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(e){t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e,t.setData(["NEW","VERIFIED"])}),t.startDate=new a.NI((0,s.p6)(t.yearAgo(),"yyyy-MM-dd","en-GB")),t.endDate=new a.NI((0,s.p6)(new Date,"yyyy-MM-dd","en-GB"))})}},{key:"setAuth",value:function(){0!==this.applications.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("group-getApplicationById_int_policy",[this.group]))}},{key:"setData",value:function(t){var e=this;this.registrarManager.getApplicationsForGroup(this.group.id,t,(0,s.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,s.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(function(t){e.applications=t,e.setAuth(),e.loading=!1})}},{key:"select",value:function(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}},{key:"yearAgo",value:function(){var t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"detailPageChanged",value:function(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="GroupApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(n.ff),u.Y36(n.tk),u.Y36(r.dB),u.Y36(c.gz),u.Y36(o.x4),u.Y36(o.d6))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:34,vars:32,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page"],[3,"pageSize","disableRouting","filterValue","applications","group","page"]],template:function(t,e){1&t&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div"),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return e.select()}),u.qZA(),u.YNc(5,k,3,3,"button",2),u.YNc(6,T,3,3,"button",2),u.TgZ(7,"mat-form-field",3),u.TgZ(8,"mat-label"),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.TgZ(11,"mat-select",4),u.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),u.TgZ(12,"mat-option",5),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.TgZ(15,"mat-option",6),u._uU(16),u.ALo(17,"translate"),u.qZA(),u.TgZ(18,"mat-option",7),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.TgZ(21,"mat-option",8),u._uU(22),u.ALo(23,"translate"),u.qZA(),u.TgZ(24,"mat-option",9),u._uU(25),u.ALo(26,"translate"),u.qZA(),u.TgZ(27,"mat-option",10),u._uU(28),u.ALo(29,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(30,"perun-web-apps-debounce-filter",11),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.qZA(),u.TgZ(31,"perun-web-apps-date-range",12),u.NdJ("datePicker",function(){return e.select()}),u.qZA(),u.qZA(),u.YNc(32,C,1,0,"mat-spinner",13),u.YNc(33,x,3,2,"div",14)),2&t&&(u.xp6(1),u.Oqu(u.lcZ(2,16,"VO_DETAIL.APPLICATION.TITLE")),u.xp6(4),u.Q6J("ngIf",!e.showAllDetails),u.xp6(1),u.Q6J("ngIf",e.showAllDetails),u.xp6(3),u.Oqu(u.lcZ(10,18,"VO_DETAIL.APPLICATION.TABLE_STATE")),u.xp6(2),u.Q6J("value",e.state),u.xp6(2),u.Oqu(u.lcZ(14,20,"VO_DETAIL.APPLICATION.SELECTION_ALL")),u.xp6(3),u.Oqu(u.lcZ(17,22,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),u.xp6(3),u.Oqu(u.lcZ(20,24,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),u.xp6(3),u.Oqu(u.lcZ(23,26,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),u.xp6(3),u.Oqu(u.lcZ(26,28,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),u.xp6(3),u.Oqu(u.lcZ(29,30,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),u.xp6(2),u.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),u.xp6(1),u.Q6J("startDate",e.startDate)("endDate",e.endDate),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[l.t,s.O5,h.KE,h.hX,d.gD,f.ey,p.P,g.S,m.lW,b.$g,w.M,_.w],pipes:[A.X$],styles:[""]}),t}()},11930:function(t,e,i){"use strict";i.d(e,{y:function(){return F}});var n=i(4230),r=i(88426),o=i(67004),a=i(85613),s=i(4374),u=i(33642),c=i(60611),l=i(84140),h=i(88690),d=i(16073),f=i(31572),p=i(57629),g=i(84608),m=i(61511),b=i(59403),w=i(36922),_=i(66283),A=i(4786),k=i(91058),T=i(39571),C=i(15980),S=i(71522),E=i(67806),x=i(91779),R=i(48160);function I(t,e){1&t&&(f.TgZ(0,"app-alert",14),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&t&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function O(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onAddMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("disabled",n.synchEnabled||n.blockManualMemberAdding),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function P(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onInviteMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("disabled",n.synchEnabled),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function D(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",16),f.NdJ("click",function(){return f.CHM(i),f.oxw().onRemoveMembers()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("disabled",n.selection.isEmpty()||n.synchEnabled),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function M(t,e){if(1&t&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&t){var i=e.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function L(t,e){if(1&t&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&t){var i=e.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function N(t,e){1&t&&f._UZ(0,"mat-spinner",18)}function z(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"perun-web-apps-members-dynamic-list",19),f.NdJ("page",function(t){return f.CHM(i),f.oxw().pageChanged(t)}),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("voId",n.group.voId)("groupId",n.group.id)("pageSize",n.pageSize)("selection",n.selection)("displayedColumns",n.displayedColumns)("updateTable",n.updateTable)("searchString",n.searchString)("selectedStatuses",n.selectedStatuses)("selectedGroupStatuses",n.selectedGroupStatuses)("attrNames",n.memberAttrNames)}}var F=function(){var t=function(){function t(e,i,n,r,a,s,u,l,h){v(this,t),this.groupService=e,this.route=i,this.tableConfigService=n,this.dialog=r,this.guiAuthResolver=a,this.storeService=s,this.attributesManager=u,this.apiRequest=l,this.notificator=h,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=c.dI,this.memberAttrNames=[o.r.MEMBER_DEF_ORGANIZATION,o.r.MEMBER_DEF_MAIL,o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL,o.r.MEMBER_DEF_EXPIRATION,o.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[o.r.GROUP_SYNC_ENABLED,o.r.GROUP_LAST_SYNC_STATE,o.r.GROUP_LAST_SYNC_TIMESTAMP,o.r.GROUP_STRUCTURE_SYNC_ENABLED,o.r.GROUP_LAST_STRUCTURE_SYNC_STATE,o.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new d.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new d.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new n.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(function(e){var i=e.groupId;t.isManualAddingBlocked(e.voId,i).then(function(){return t.loadPage(i)})})}},{key:"loadPage",value:function(t){var e=this;this.groupService.getRichGroupByIdWithAttributesByNames(t,this.groupAttrNames).subscribe(function(t){e.group=t,e.synchEnabled=e.isSynchronized(),e.setAuthRights(),e.loading=!1})}},{key:"isSynchronized",value:function(){return this.group.attributes.some(function(t){return"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString()})}},{key:"setAuthRights",value:function(){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])}},{key:"onSearchByString",value:function(t){this.searchString=t,this.updateTable=!this.updateTable}},{key:"onAddMember",value:function(){var t=this,e=(0,l.kZ)();e.width="1000px",e.data={voId:this.group.voId,group:this.group,entityId:this.group.id,theme:"group-theme",type:"group"},this.dialog.open(a.o,e).afterClosed().subscribe(function(e){e&&(t.selection.clear(),t.updateTable=!t.updateTable)})}},{key:"onRemoveMembers",value:function(){var t=this,e=(0,l.kZ)();e.width="450px",e.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(s.X,e).afterClosed().subscribe(function(e){e&&(t.selection.clear(),t.updateTable=!t.updateTable)})}},{key:"onInviteMember",value:function(){var t=(0,l.kZ)();t.width="650px",t.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.R,t)}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"displaySelectedStatuses",value:function(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?"".concat(this.statuses.value[0]," ").concat(this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""):""}},{key:"displaySelectedGroupStatuses",value:function(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":"".concat(this.groupStatuses.value[0])}},{key:"isManualAddingBlocked",value:function(t,e){var i=this;return new Promise(function(n){i.apiRequest.dontHandleErrorForNext(),i.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(function(t){i.blockManualMemberAdding=null!==t.value,!0!==i.blockManualMemberAdding?(i.apiRequest.dontHandleErrorForNext(),i.attributesManager.getGroupAttributeByName(e,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(function(t){i.blockManualMemberAdding=null!==t.value,n()},function(t){"PrivilegeException"!==t.error.name&&i.notificator.showError(t),n()})):n()},function(t){"PrivilegeException"!==t.error.name&&i.notificator.showError(t),n()})})}},{key:"changeVoStatuses",value:function(){this.selectedStatuses=this.statuses.value}},{key:"changeGroupStatuses",value:function(){this.selectedGroupStatuses=this.groupStatuses.value}}]),t}();return t.id="GroupMembersComponent",t.\u0275fac=function(e){return new(e||t)(f.Y36(u.ff),f.Y36(p.gz),f.Y36(c.dB),f.Y36(g.uw),f.Y36(r.x4),f.Y36(r.d6),f.Y36(u.H8),f.Y36(r.F5),f.Y36(r.V6))},t.\u0275cmp=f.Xpm({type:t,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(t,e){2&t&&f.ekj("router-component",e.true)},decls:36,vars:41,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page",4,"ngIf"],["alert_type","warn"],["color","accent","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(t,e){1&t&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,I,3,3,"app-alert",1),f.TgZ(4,"div",2),f.TgZ(5,"perun-web-apps-refresh-button",3),f.NdJ("click",function(){return e.updateTable=!e.updateTable}),f.qZA(),f.TgZ(6,"span",4),f.ALo(7,"translate"),f.TgZ(8,"div",5),f.ALo(9,"translate"),f.YNc(10,O,3,4,"button",6),f.qZA(),f.qZA(),f.TgZ(11,"span",4),f.ALo(12,"translate"),f.YNc(13,P,3,4,"button",6),f.qZA(),f.TgZ(14,"span",4),f.ALo(15,"translate"),f.YNc(16,D,3,4,"button",7),f.qZA(),f.TgZ(17,"mat-form-field",8),f.TgZ(18,"mat-label"),f._uU(19),f.ALo(20,"translate"),f.qZA(),f.TgZ(21,"mat-select",9),f.NdJ("closed",function(){return e.changeVoStatuses()}),f.TgZ(22,"mat-select-trigger"),f._uU(23),f.qZA(),f.YNc(24,M,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(25,"mat-form-field",8),f.TgZ(26,"mat-label"),f._uU(27),f.ALo(28,"translate"),f.qZA(),f.TgZ(29,"mat-select",9),f.NdJ("closed",function(){return e.changeGroupStatuses()}),f.TgZ(30,"mat-select-trigger"),f._uU(31),f.qZA(),f.YNc(32,L,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(33,"perun-web-apps-debounce-filter",11),f.NdJ("filter",function(t){return e.onSearchByString(t)}),f.qZA(),f.qZA(),f.YNc(34,N,1,0,"mat-spinner",12),f.YNc(35,z,1,10,"perun-web-apps-members-dynamic-list",13)),2&t&&(f.xp6(1),f.Oqu(f.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),f.xp6(2),f.Q6J("ngIf",e.synchEnabled),f.xp6(3),f.s9C("matTooltip",f.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.s9C("matTooltip",f.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),f.xp6(2),f.Q6J("ngIf",e.addAuth),f.xp6(1),f.s9C("matTooltip",f.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.Q6J("ngIf",e.inviteAuth),f.xp6(1),f.s9C("matTooltip",f.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!e.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.Q6J("ngIf",e.removeAuth),f.xp6(3),f.Oqu(f.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),f.xp6(2),f.Q6J("formControl",e.statuses),f.xp6(2),f.hij(" ",e.displaySelectedStatuses()," "),f.xp6(1),f.Q6J("ngForOf",e.statusList),f.xp6(3),f.Oqu(f.lcZ(28,39,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),f.xp6(2),f.Q6J("formControl",e.groupStatuses),f.xp6(2),f.hij(" ",e.displaySelectedGroupStatuses()," "),f.xp6(1),f.Q6J("ngForOf",e.groupStatusList),f.xp6(1),f.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),f.xp6(1),f.Q6J("ngIf",e.loading),f.xp6(1),f.Q6J("ngIf",!e.loading))},directives:[m.O5,b.t,w.gM,_.KE,_.hX,A.gD,d.JJ,d.oH,A.$L,m.sg,k.P,T.w,C.lW,S.ey,E.$g,x.m],pipes:[R.X$],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}"]}),t}()},7433:function(t,e,i){"use strict";i.d(e,{q:function(){return U}});var n=i(4230),r=i(33642),o=i(60611),a=i(84608),s=i(88426),u=(i(41939),i(31572)),c=i(48160),l=i(19139),h=i(61511),d=i(67806),f=i(88884),p=i(29236),g=i(36922),m=i(16073),b=i(15980),w=["list"];function _(t,e){1&t&&u._UZ(0,"mat-spinner",4)}var A=function(){return["select","id","name","facility","tags","description"]};function k(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"div",5),u._UZ(2,"perun-web-apps-resources-list",6,7),u.qZA(),u.TgZ(4,"div",8),u.TgZ(5,"mat-checkbox",9),u.NdJ("ngModelChange",function(t){return u.CHM(i),u.oxw().async=t}),u.ALo(6,"translate"),u._uU(7),u.ALo(8,"translate"),u.qZA(),u.TgZ(9,"button",10),u.NdJ("click",function(){return u.CHM(i),u.oxw().onCancel()}),u._uU(10),u.ALo(11,"translate"),u.qZA(),u.TgZ(12,"span",11),u.ALo(13,"translate"),u.TgZ(14,"button",12),u.NdJ("click",function(){return u.CHM(i),u.oxw().onSubmit()}),u._uU(15),u.ALo(16,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&t){var n=u.MAs(3),r=u.oxw();u.xp6(2),u.Q6J("resources",r.resources)("disableRouting",!0)("selection",r.selection)("groupToResource",r.data.group)("displayedColumns",u.DdM(24,A))("filterValue",r.filterValue),u.xp6(3),u.s9C("matTooltip",u.lcZ(6,14,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT_DESCRIPTION")),u.Q6J("ngModel",r.async),u.xp6(2),u.hij(" ",u.lcZ(8,16,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),u.xp6(3),u.hij(" ",u.lcZ(11,18,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),u.xp6(2),u.s9C("matTooltip",u.lcZ(13,20,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),u.Q6J("matTooltipDisabled",void 0===n||n.addAuth),u.xp6(2),u.Q6J("disabled",0===r.selection.selected.length||r.loading||void 0!==n&&!n.addAuth),u.xp6(1),u.hij(" ",u.lcZ(16,22,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}var T=function(){var t=function(){function t(e,i,r,o,a){v(this,t),this.dialogRef=e,this.data=i,this.notificator=r,this.translate=o,this.resourcesManager=a,this.filterValue="",this.resources=[],this.selection=new n.Ov(!0,[]),this.theme="",this.async=!0}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.theme=this.data.theme,this.loading=!0,this.resourcesManager.getRichResources(this.data.voId).subscribe(function(e){t.resources=e.filter(function(e){return!t.data.unwantedResources.includes(e.id)}),t.loading=!1},function(){return t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var e=this.selection.selected.map(function(t){return t.id});this.resourcesManager.assignGroupToResources(this.data.group.id,e,this.async).subscribe(function(){t.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(function(e){t.loading=!1,t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(s.V6),u.Y36(c.sK),u.Y36(r.xk))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(t,e){var i;(1&t&&u.Gf(w,5),2&t)&&(u.iGM(i=u.CRH())&&(e.list=i.first))},decls:8,vars:11,consts:[["mat-dialog-title",""],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-immediate-filter",1),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.ALo(5,"translate"),u.qZA(),u.YNc(6,_,1,0,"mat-spinner",2),u.YNc(7,k,17,25,"div",3),u.qZA()),2&t&&(u.Tol(e.theme),u.xp6(2),u.Oqu(u.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),u.xp6(2),u.Q6J("placeholder",u.lcZ(5,9,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[a.uh,l.L,h.O5,d.$g,a.xY,f.C,a.H8,p.oG,g.gM,m.JJ,m.On,b.lW],pipes:[c.X$],styles:[""]}),t}(),C=i(67033);function S(t,e){1&t&&u._UZ(0,"mat-spinner",4)}function E(t,e){1&t&&u._UZ(0,"th",13)}function x(t,e){if(1&t&&(u.TgZ(0,"td",14),u._uU(1),u.qZA()),2&t){var i=e.$implicit;u.xp6(1),u.hij(" ",i.name," ")}}function R(t,e){1&t&&u._UZ(0,"tr",15)}function I(t,e){1&t&&u._UZ(0,"tr",16)}function O(t,e){if(1&t&&(u.TgZ(0,"div",5),u.TgZ(1,"p"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"div",6),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"table",7),u.ynx(8,8),u.YNc(9,E,1,0,"th",9),u.YNc(10,x,2,1,"td",10),u.BQk(),u.YNc(11,R,1,0,"tr",11),u.YNc(12,I,1,0,"tr",12),u.qZA(),u.qZA()),2&t){var i=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),u.xp6(3),u.hij(" ",u.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),u.xp6(2),u.Q6J("dataSource",i.dataSource),u.xp6(4),u.Q6J("matHeaderRowDef",i.displayedColumns),u.xp6(1),u.Q6J("matRowDefColumns",i.displayedColumns)}}function P(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div",17),u.TgZ(1,"button",18),u.NdJ("click",function(){return u.CHM(i),u.oxw().onCancel()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"button",19),u.NdJ("click",function(){return u.CHM(i),u.oxw().onSubmit()}),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.qZA()}if(2&t){var n=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),u.xp6(2),u.Q6J("disabled",n.loading),u.xp6(1),u.hij(" ",u.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}var D=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=o,this.displayedColumns=["name"]}return y(t,[{key:"ngOnInit",value:function(){this.dataSource=new C.by(this.data.resources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0;var e=this.data.resources.map(function(t){return t.id});this.resourcesManager.removeGroupFromResources(this.data.groupId,e).subscribe(function(){t.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(function(e){t.loading=!1,t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(a.so),u.Y36(a.WI),u.Y36(s.V6),u.Y36(c.sK),u.Y36(r.xk))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.YNc(4,S,1,0,"mat-spinner",1),u.YNc(5,O,13,9,"div",2),u.YNc(6,P,7,7,"div",3),u.qZA()),2&t&&(u.Tol(e.data.theme),u.xp6(2),u.Oqu(u.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),u.xp6(2),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading),u.xp6(1),u.Q6J("ngIf",!e.loading))},directives:[a.uh,h.O5,d.$g,a.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk,a.H8,b.lW],pipes:[c.X$],styles:[""]}),t}(),M=i(84140),L=i(57629),N=i(59403),z=["list"];function F(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(i),u.oxw().addResource()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&t&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function Z(t,e){1&t&&u._UZ(0,"mat-spinner",9)}var B=function(){return["select","id","name","status","facility","tags","description"]};function q(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"perun-web-apps-resources-list",10,11),u.NdJ("page",function(t){return u.CHM(i),u.oxw().pageChanged(t)})("refreshTable",function(){return u.CHM(i),u.oxw().refreshTable()}),u.qZA()}if(2&t){var n=u.oxw();u.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routingAuth)("selection",n.selected)("groupToResource",n.group)("groupId",n.groupId)("displayedColumns",u.DdM(9,B))}}var U=function(){var t=function(){function t(e,i,r,a,s,u){v(this,t),this.resourcesManager=e,this.groupService=i,this.tableConfigService=r,this.route=a,this.dialog=s,this.guiAuthResolver=u,this.resources=null,this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=o.v1,this.addAuth=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.groupId=e.groupId,t.voId=e.voId,t.groupService.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.refreshTable()})})}},{key:"setAuthorization",value:function(){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])}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(function(e){t.resources=e.map(function(t){var e=t.enrichedResource.resource;return e.facility=t.facility,e.status=t.status,e.resourceTags=t.resourceTags,e.failureCause=t.failureCause,e}),t.selected.clear(),t.setAuthorization(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"addResource",value:function(){var t=this,e=(0,M.kZ)();e.width="1000px",e.data={theme:"group-theme",group:this.group,voId:this.voId,unwantedResources:this.resources.map(function(t){return t.id})},this.dialog.open(T,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeResource",value:function(){var t=this,e=(0,M.kZ)();e.width="450px",e.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(D,e).afterClosed().subscribe(function(e){e&&(t.selected.clear(),t.refreshTable())})}}]),t}();return t.id="GroupResourcesComponent",t.\u0275fac=function(e){return new(e||t)(u.Y36(r.xk),u.Y36(r.ff),u.Y36(o.dB),u.Y36(L.gz),u.Y36(a.uw),u.Y36(s.x4))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-group-resources"]],viewQuery:function(t,e){var i;(1&t&&u.Gf(z,5),2&t)&&(u.iGM(i=u.CRH())&&(e.list=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("router-component",e.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return e.refreshTable()}),u.qZA(),u.YNc(5,F,3,3,"button",2),u.TgZ(6,"span",3),u.ALo(7,"translate"),u.TgZ(8,"button",4),u.NdJ("click",function(){return e.removeResource()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.qZA(),u.TgZ(11,"perun-web-apps-immediate-filter",5),u.NdJ("filter",function(t){return e.applyFilter(t)}),u.qZA(),u.YNc(12,Z,1,0,"mat-spinner",6),u.YNc(13,q,2,10,"perun-web-apps-resources-list",7),u.qZA()),2&t&&(u.xp6(2),u.Oqu(u.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),u.xp6(3),u.Q6J("ngIf",e.addAuth),u.xp6(1),u.s9C("matTooltip",u.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),u.Q6J("matTooltipDisabled",0===e.selected.selected.length||void 0!==e.list&&e.list.removeAuth),u.xp6(2),u.Q6J("disabled",0===e.selected.selected.length||void 0!==e.list&&!e.list.removeAuth),u.xp6(1),u.hij(" ",u.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),u.xp6(2),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.xp6(1),u.Q6J("ngIf",e.loading),u.xp6(1),u.Q6J("ngIf",e.resources&&!e.loading))},directives:[N.t,h.O5,g.gM,b.lW,l.L,d.$g,f.C],pipes:[c.X$],styles:[""]}),t}()},65423:function(t,e,i){"use strict";i.d(e,{Z:function(){return U}});var n=i(88426),r=i(92438),o=i(75954),a=i(68570),s=i(24555),u=i(33642),c=i(84140),l=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),m=i(67806),b=i(43691),w=i(36922),_=i(27679),A=i(59403),k=i(15980),T=i(92846),C=i(27521),S=i(16073),E=i(39571),x=["autoRegToggle"];function R(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function I(t,e){if(1&t&&(l.TgZ(0,"span"),l._uU(1," , "),l.TgZ(2,"mat-icon",21),l._uU(3,"nat"),l.qZA(),l._uU(4),l.ALo(5,"translate"),l.ALo(6,"translate"),l.qZA()),2&t){var i=l.oxw(2);l.xp6(4),l.hij(" ",i.applicationForm.automaticApprovalEmbedded?l.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function O(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"mat-slide-toggle",22,23),l.NdJ("change",function(){return l.CHM(i),l.oxw(2).updateAutoRegistration()}),l._uU(3),l.ALo(4,"translate"),l.qZA(),l.qZA()}if(2&t){var n=l.oxw(2);l.xp6(1),l.Q6J("disabled",!n.changeAutoRegistration)("ngModel",n.autoRegistrationEnabled),l.xp6(2),l.hij(" ",l.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function P(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function D(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function M(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",26),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&t){var n=l.oxw(2);l.Q6J("disabled",!n.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function L(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",27),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function N(t,e){1&t&&(l.TgZ(0,"app-alert",28),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}var z=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},F=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function Z(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.YNc(21,I,7,5,"span",2),l.qZA(),l.YNc(22,O,5,5,"div",2),l.qZA(),l.TgZ(23,"div",9),l.YNc(24,P,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(25,"mat-divider",11),l.TgZ(26,"div",12),l.TgZ(27,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().updateFormItems()}),l.qZA(),l.YNc(28,D,3,3,"button",14),l.YNc(29,M,5,4,"button",15),l.YNc(30,L,5,3,"button",16),l.TgZ(31,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw().preview()}),l.TgZ(32,"i",18),l._uU(33,"search"),l.qZA(),l._uU(34),l.ALo(35,"translate"),l.qZA(),l.qZA(),l.YNc(36,N,3,3,"app-alert",19),l.TgZ(37,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(i),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(2),l.Q6J("ngClass",n.autoRegistrationEnabled?"w-75":"w-50"),l.xp6(2),l.AsE("",l.lcZ(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",n.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",n.applicationForm.automaticApproval?l.lcZ(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",n.applicationForm.automaticApprovalExtension?l.lcZ(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(3),l.Q6J("ngIf",n.autoRegistrationEnabled),l.xp6(1),l.Q6J("ngIf",n.voHasEmbeddedGroupApplication),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.hij(" ",l.lcZ(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("loading",n.loading)("applicationForm",n.applicationForm)("applicationFormItems",n.applicationFormItems)("theme","group-theme")("displayedColumns",n.editAuth?l.DdM(33,z):l.DdM(34,F))}}function B(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).createEmptyApplicationForm()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function q(t,e){if(1&t&&(l.TgZ(0,"div"),l.TgZ(1,"app-alert",29),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,B,3,3,"button",30),l.qZA()),2&t){var i=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),l.xp6(2),l.Q6J("ngIf",i.createEmptyForm)}}var U=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l){v(this,t),this.registrarManager=e,this.route=i,this.dialog=n,this.notificator=r,this.translate=o,this.apiRequest=a,this.router=s,this.guiAuthResolver=u,this.groupsManager=c,this.attributesManager=l,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.idCounter=-1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.groupId=e.groupId,t.groupsManager.getGroupById(t.groupId).subscribe(function(e){t.group=e,t.apiRequest.dontHandleErrorForNext(),t.registrarManager.getGroupApplicationForm(t.groupId).subscribe(function(e){t.applicationForm=e,t.registrarManager.getFormItemsForGroup(t.groupId).subscribe(function(e){t.applicationFormItems=e,t.attributesManager.getGroupAttributeByName(t.groupId,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(function(e){t.voHasEmbeddedGroupApplication=null!==e.value,t.autoRegistrationEnabled=!!e.value,t.setAuth(),t.loading=!1})},function(){return t.loading=!1})},function(e){"FormNotExistsException"===e.error.name?(t.noApplicationForm=!0,t.setAuth(),t.loading=!1):t.notificator.showRPCError(e.error)})},function(){return t.loading=!1})})}},{key:"setAuth",value:function(){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])}},{key:"add",value:function(){var t=this,e=(0,c.kZ)();e.width="500px",e.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.J,e).afterClosed().subscribe(function(i){i&&(t.applicationFormItems=Object.assign([],i[0]),(e=(0,c.kZ)()).width="600px",e.height="600px",e.data={voId:t.voId,groupId:t.groupId,applicationFormItem:i[1],theme:"group-theme",allItems:t.applicationFormItems},t.dialog.open(o._,e),t.itemsChanged=!0)})}},{key:"copy",value:function(){var t=this,e=(0,c.kZ)();e.width="500px",e.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(a.W,e).afterClosed().subscribe(function(e){e&&t.updateFormItems()})}},{key:"settings",value:function(){var t=this,e=(0,c.kZ)();e.width="400px",e.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(s.E,e).afterClosed().subscribe(function(e){e&&(t.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.applicationForm=e)})}},{key:"preview",value:function(){this.router.navigate(["/organizations",this.voId,"groups",this.groupId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}},{key:"updateFormItems",value:function(){var t=this;this.loading=!0,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(function(e){t.applicationFormItems=e,t.itemsChanged=!1,t.loading=!1})}},{key:"changeItems",value:function(){this.itemsChanged=!0}},{key:"createEmptyApplicationForm",value:function(){var t=this;this.registrarManager.createApplicationFormInGroup(this.groupId).subscribe(function(){t.noApplicationForm=!1,t.ngOnInit()})}},{key:"save",value:function(){var t,e=this,i=0,n=f(this.applicationFormItems);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.ordnum=i,r.forDelete||i++}}catch(o){n.e(o)}finally{n.f()}this.registrarManager.updateFormItemsForGroup({group:this.groupId,items:this.applicationFormItems}).subscribe(function(){e.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.updateFormItems()})}},{key:"clear",value:function(){this.applicationFormItems=[],this.itemsChanged=!0}},{key:"updateAutoRegistration",value:function(){var t=this;this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(function(){t.autoRegistrationEnabled=!t.autoRegistrationEnabled,t.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.autoRegToggle.setDisabledState(!1)},function(){return t.autoRegToggle.setDisabledState(!1)}):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(function(){t.autoRegistrationEnabled=!t.autoRegistrationEnabled,t.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.autoRegToggle.setDisabledState(!1)},function(){return t.autoRegToggle.setDisabledState(!1)})}}]),t}();return t.id="GroupSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(u.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(n.V6),l.Y36(p.sK),l.Y36(n.F5),l.Y36(h.F0),l.Y36(n.x4),l.Y36(u.ff),l.Y36(u.H8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-group-settings-application-form"]],viewQuery:function(t,e){var i;(1&t&&l.Gf(x,5),2&t)&&(l.iGM(i=l.CRH())&&(e.autoRegToggle=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,R,1,0,"mat-spinner",1),l.YNc(4,Z,38,35,"div",2),l.YNc(5,q,5,4,"div",2)),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&!e.noApplicationForm),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.noApplicationForm))},directives:[g.O5,m.$g,g.mk,b.Hw,w.gM,_.d,A.t,k.lW,T.b,C.Rr,S.JJ,S.On,E.w],pipes:[p.X$],styles:[""]}),t}()},82044:function(t,e,i){"use strict";i.d(e,{u:function(){return B}});var n=i(88419),r=i(4230),o=i(43491),a=i(84140),s=i(33642),u=i(67004),c=i(60611),l=i(57820),h=i(88426),d=(i(41939),i(31572)),f=i(84608),p=i(57629),g=i(59403),m=i(61511),b=i(91058),w=i(27521),_=i(16073),A=i(15980),k=i(36922),T=i(67806),C=i(11441),S=i(78364),E=i(48160),x=["tree"],R=["list"],I=["toggle"];function O(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(i),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function P(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(i),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("disabled",0===n.selected.selected.length||void 0!==n.tree&&!n.tree.removeAuth||void 0!==n.list&&!n.list.removeAuth),d.xp6(1),d.hij(" ",d.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function D(t,e){if(1&t&&(d.TgZ(0,"span",10),d.ALo(1,"translate"),d.YNc(2,P,3,4,"button",11),d.qZA()),2&t){var i=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===i.tree&&void 0===i.list||void 0!==i.tree&&i.tree.removeAuth||void 0!==i.list&&i.list.removeAuth),d.xp6(2),d.Q6J("ngIf",!i.loading&&i.deleteAuth)}}function M(t,e){1&t&&d._UZ(0,"mat-spinner",13)}function L(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",17,18),d.NdJ("moveGroup",function(t){return d.CHM(i),d.oxw(2).onMoveGroup(t)})("refreshTable",function(){return d.CHM(i),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("groups",n.groups)("expandAll",n.filtering)("hideCheckbox",!n.deleteAuth)("selection",n.selected)("filterValue",n.filterValue)("disableRouting",!n.routeAuth)}}var N=function(){return["select","id","name","description","menu"]},z=function(){return["id","name","description","menu"]};function F(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",19,20),d.NdJ("page",function(t){return d.CHM(i),d.oxw(2).pageChanged(t)})("moveGroup",function(t){return d.CHM(i),d.oxw(2).onMoveGroup(t)})("refreshTable",function(){return d.CHM(i),d.oxw(2).refreshTable()}),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!n.routeAuth)("displayedColumns",n.deleteAuth?d.DdM(8,N):d.DdM(9,z))("filter",n.filterValue)}}function Z(t,e){if(1&t&&(d.TgZ(0,"div",14),d.YNc(1,L,2,6,"perun-web-apps-groups-tree",15),d.YNc(2,F,2,10,"perun-web-apps-groups-list",16),d.qZA()),2&t){var i=d.oxw();d.xp6(1),d.Q6J("ngIf",!i.showGroupList),d.xp6(1),d.Q6J("ngIf",i.showGroupList)}}var B=function(){var t=function(){function t(e,i,n,o,a,s){v(this,t),this.dialog=e,this.groupService=i,this.tableConfigService=n,this.route=o,this.guiAuthResolver=a,this.initAuthService=s,this.groups=[],this.selected=new r.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=c.bf,this.filterValue=""}return y(t,[{key:"onCreateGroup",value:function(){var t=this,e=(0,a.kZ)();e.width="450px",e.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.y,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.refreshTable())})}},{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(function(){localStorage.setItem("preferedValue",t.toggle.checked?"list":"tree")}),this.route.parent.params.subscribe(function(e){t.groupService.getGroupById(e.groupId).subscribe(function(e){t.group=e,t.refreshTable()})})}},{key:"setAuthRights",value:function(){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]]))}},{key:"deleteGroup",value:function(){var t=this,e=(0,a.kZ)();e.width="450px",e.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(o.P,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[u.r.GROUP_DEF_MAIL_FOOTER,u.r.GROUP_SYNC_ENABLED,u.r.GROUP_LAST_SYNC_STATE,u.r.GROUP_LAST_SYNC_TIMESTAMP,u.r.GROUP_STRUCTURE_SYNC_ENABLED,u.r.GROUP_LAST_STRUCTURE_SYNC_STATE,u.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(e){t.groups=e,t.selected.clear(),t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t,this.filtering=""!==t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"onMoveGroup",value:function(t){var e=this,i=(0,a.kZ)();i.width="550px",i.data={group:t,theme:"group-theme"},this.dialog.open(l.c,i).afterClosed().subscribe(function(t){t&&e.refreshTable()})}}]),t}();return t.id="GroupSubgroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(f.uw),d.Y36(s.ff),d.Y36(c.dB),d.Y36(p.gz),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-group-subgroups"]],viewQuery:function(t,e){var i;(1&t&&(d.Gf(x,5),d.Gf(R,5),d.Gf(I,7)),2&t)&&(d.iGM(i=d.CRH())&&(e.tree=i.first),d.iGM(i=d.CRH())&&(e.list=i.first),d.iGM(i=d.CRH())&&(e.toggle=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:17,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled",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","mat-flat-button","",1,"mr-2",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.refreshTable()}),d.qZA(),d.YNc(5,O,3,3,"button",2),d.YNc(6,D,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.selected.clear()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,M,1,0,"mat-spinner",7),d.YNc(16,Z,3,2,"div",8),d.qZA()),2&t){var i=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",i.inputId),d.xp6(1),d.Oqu(d.lcZ(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading)}},directives:[g.t,m.O5,b.P,w.Rr,_.JJ,_.On,A.lW,k.gM,T.$g,C.I,S.W],pipes:[E.X$],styles:[""]}),t}()},81835:function(t,e,i){"use strict";i.d(e,{j:function(){return G}});var n=i(33642),r=i(60611),o=i(4230),a=i(84140),s=i(84608),u=i(88426),c=i(67004),l=i(31572),h=i(48160),d=i(61511),f=i(67806),p=i(19139),g=i(78364),m=i(15980);function b(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function w(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",7),l.NdJ("filter",function(t){return l.CHM(i),l.oxw().applyFilter(t)}),l.qZA()}2&t&&l.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}var _=function(){return["select","id","name","description"]};function A(t,e){if(1&t&&l._UZ(0,"perun-web-apps-groups-list",8),2&t){var i=l.oxw();l.Q6J("groups",i.groups)("selection",i.selection)("displayedColumns",l.DdM(8,_))("filter",i.filterValue)("groupsToDisable",i.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function k(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",9),l.TgZ(1,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onAdd()}),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}var T=function(){var t=function(){function t(e,i,n,r,a,s,u){v(this,t),this.dialogRef=e,this.data=i,this.groupManager=n,this.memberManager=r,this.notificator=a,this.translate=s,this.authResolver=u,this.loading=!1,this.groups=[],this.selection=new o.Ov(!0,[]),this.attrNames=[c.r.GROUP_SYNC_ENABLED,c.r.GROUP_LAST_SYNC_STATE,c.r.GROUP_LAST_SYNC_TIMESTAMP,c.r.GROUP_STRUCTURE_SYNC_ENABLED,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(function(e){t.member=e,t.groupManager.getAllRichGroupsWithAttributesByNames(t.member.voId,t.attrNames).subscribe(function(e){t.groups=e.filter(function(e){return t.authResolver.isAuthorized("addMember_Group_Member_policy",[e])}),t.loading=!1},function(){return t.loading=!1})})}},{key:"onAdd",value:function(){var t=this,e=this.selection.selected.map(function(t){return t.id});this.loading=!0,this.groupManager.addMember(e,this.member.id).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"applyFilter",value:function(t){this.filterValue=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.ff),l.Y36(n.uq),l.Y36(u.V6),l.Y36(h.sK),l.Y36(u.x4))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,b,1,0,"mat-spinner",1),l.TgZ(5,"div",2),l.YNc(6,w,1,1,"perun-web-apps-immediate-filter",3),l.YNc(7,A,1,9,"perun-web-apps-groups-list",4),l.qZA(),l.YNc(8,k,7,7,"div",5),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[s.uh,d.O5,s.xY,f.$g,p.L,g.W,s.H8,m.lW],pipes:[h.X$],styles:[""]}),t}(),C=i(67033);function S(t,e){1&t&&l._UZ(0,"mat-spinner",6)}function E(t,e){1&t&&l._UZ(0,"th",15)}function x(t,e){if(1&t&&(l.TgZ(0,"td",16),l._uU(1),l.qZA()),2&t){var i=e.$implicit;l.xp6(1),l.hij(" ",i.name," ")}}function R(t,e){1&t&&l._UZ(0,"tr",17)}function I(t,e){1&t&&l._UZ(0,"tr",18)}function O(t,e){if(1&t&&(l.TgZ(0,"div",7),l.TgZ(1,"p"),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",8),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"table",9),l.ynx(8,10),l.YNc(9,E,1,0,"th",11),l.YNc(10,x,2,1,"td",12),l.BQk(),l.YNc(11,R,1,0,"tr",13),l.YNc(12,I,1,0,"tr",14),l.qZA(),l.qZA()),2&t){var i=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),l.xp6(3),l.hij(" ",l.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),l.xp6(2),l.Q6J("dataSource",i.dataSource),l.xp6(4),l.Q6J("matHeaderRowDef",i.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",i.displayedColumns)}}var P=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.groupManager=n,this.notificator=r,this.translate=o,this.displayedColumns=["name"],this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new C.by(this.data.groups)}},{key:"onRemove",value:function(){var t=this;this.loading=!0;var e=this.dataSource.data.map(function(t){return t.id});this.groupManager.removeMember(e,this.data.memberId).subscribe(function(){t.notificator.showSuccess(t.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),t.dialogRef.close(!0)},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.ff),l.Y36(u.V6),l.Y36(h.sK))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,S,1,0,"mat-spinner",1),l.YNc(5,O,13,9,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return e.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return e.onRemove()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(3),l.hij("",l.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",e.loading),l.xp6(1),l.hij("",l.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[s.uh,d.O5,s.H8,m.lW,f.$g,s.xY,C.BZ,C.w1,C.fO,C.Dz,C.as,C.nj,C.ge,C.ev,C.XQ,C.Gk],pipes:[h.X$],styles:[""]}),t}();i(41939);var D=i(57629),M=i(59403),L=i(36922),N=["list"];function z(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",7),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function F(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",8),l.NdJ("click",function(){return l.CHM(i),l.oxw().addGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function Z(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).removeGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){var n=l.oxw(2);l.Q6J("disabled",0===n.selection.selected.length||void 0!==n.list&&!n.list.removeAuth),l.xp6(1),l.hij(" ",l.lcZ(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function B(t,e){if(1&t&&(l.TgZ(0,"span",9),l.ALo(1,"translate"),l.YNc(2,Z,3,4,"button",10),l.qZA()),2&t){var i=l.oxw();l.s9C("matTooltip",l.lcZ(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),l.Q6J("matTooltipDisabled",void 0===i.list||void 0!==i.list&&i.list.removeAuth),l.xp6(2),l.Q6J("ngIf",!i.loading)}}function q(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(t){return l.CHM(i),l.oxw().applyFilter(t)}),l.qZA()}2&t&&l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function U(t,e){1&t&&l._UZ(0,"mat-spinner",13)}var H=function(){return["select","id","vo","name","description","expiration"]};function j(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-groups-list",14,15),l.NdJ("page",function(t){return l.CHM(i),l.oxw().pageChanged(t)})("refreshTable",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("groups",n.groups)("displayedColumns",l.DdM(9,H))("selection",n.selection)("filter",n.filterValue)("memberId",n.memberId)("memberGroupStatus",n.member.groupStatus)("disableRouting",!n.routeAuth)("authType","member-groups")}}var G=function(){var t=function(){function t(e,i,n,a,s,u){v(this,t),this.groupsService=e,this.tableConfigService=i,this.route=n,this.dialog=a,this.authResolver=s,this.memberService=u,this.filterValue="",this.tableId=r.W1,this.selection=new o.Ov(!0,[])}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(e){t.memberId=e.memberId,t.memberService.getMemberById(t.memberId).subscribe(function(e){t.member=e,t.groupsService.getAllGroups(t.member.voId).subscribe(function(e){t.allGroups=e,t.refreshTable()})})})}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(function(e){t.selection.clear(),t.filterValue="",t.groups=e,t.setAuthRights(),t.loading=!1},function(){return t.loading=!1})}},{key:"setAuthRights",value:function(){var t=this,e={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce(function(e,i){return e||t.authResolver.isAuthorized("addMember_Group_Member_policy",[i])},!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[e,this.groups[0]]))}},{key:"addGroup",value:function(){var t=this,e=(0,a.kZ)();e.width="850px",e.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(function(t){return t.id})),theme:"member-theme"},this.dialog.open(T,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"removeGroup",value:function(){var t=this,e=(0,a.kZ)();e.width="650px",e.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(P,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="MemberGroupsComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(n.ff),l.Y36(r.dB),l.Y36(D.gz),l.Y36(s.uw),l.Y36(u.x4),l.Y36(n.uq))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-member-groups"]],viewQuery:function(t,e){var i;(1&t&&l.Gf(N,5),2&t)&&(l.iGM(i=l.CRH())&&(e.list=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable"],["list",""]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,z,1,0,"perun-web-apps-refresh-button",1),l.YNc(4,F,3,3,"button",2),l.YNc(5,B,3,5,"span",3),l.YNc(6,q,1,1,"perun-web-apps-immediate-filter",4),l.YNc(7,U,1,0,"mat-spinner",5),l.YNc(8,j,2,10,"perun-web-apps-groups-list",6)),2&t&&(l.xp6(1),l.Oqu(l.lcZ(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.addAuth),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[d.O5,M.t,m.lW,L.gM,p.L,f.$g,g.W],pipes:[h.X$],styles:[""]}),t}()},40659:function(t,e,i){"use strict";i.d(e,{c:function(){return R}});var n=i(33642),r=i(60611),o=i(16073),a=i(61511),s=i(31572),u=i(57629),c=i(59403),l=i(66283),h=i(4786),d=i(71522),f=i(91058),p=i(51613),g=i(29236),m=i(15980),b=i(67806),w=i(21548),_=i(29851),A=i(48160);function k(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(i),s.oxw().showAllDetails=!0}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function T(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(i),s.oxw().showAllDetails=!1}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function C(t,e){1&t&&s._UZ(0,"mat-spinner",17)}function S(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"app-applications-list",20),s.NdJ("page",function(t){return s.CHM(i),s.oxw(2).pageChanged(t)}),s.qZA()}if(2&t){var n=s.oxw(2);s.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("applications",n.applications)("displayedColumns",n.displayedColumns)}}function E(t,e){if(1&t){var i=s.EpF();s.TgZ(0,"app-perun-web-apps-application-list-details",21),s.NdJ("page",function(t){return s.CHM(i),s.oxw(2).detailPageChanged(t)}),s.qZA()}if(2&t){var n=s.oxw(2);s.Q6J("pageSize",n.detailPageSize)("filterValue",n.filterValue)("applications",n.applications)}}function x(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,S,1,4,"app-applications-list",18),s.YNc(2,E,1,3,"app-perun-web-apps-application-list-details",19),s.qZA()),2&t){var i=s.oxw();s.xp6(1),s.Q6J("ngIf",!i.showAllDetails),s.xp6(1),s.Q6J("ngIf",i.showAllDetails)}}var R=function(){var t=function(){function t(e,i,n,o){v(this,t),this.voService=e,this.registrarManager=i,this.tableConfigService=n,this.route=o,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=r.Jf,this.tableId=r.Hi,this.checked=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.setData(["NEW","VERIFIED"])}),t.startDate=new o.NI((0,a.p6)(t.yearAgo(),"yyyy-MM-dd","en-GB")),t.endDate=new o.NI((0,a.p6)(new Date,"yyyy-MM-dd","en-GB"))})}},{key:"setData",value:function(t){var e=this;this.registrarManager.getApplicationsForVo(this.vo.id,t,(0,a.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,a.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(function(t){e.applications=!1===e.checked?t.filter(function(t){return null===t.group}):t,e.loading=!1})}},{key:"select",value:function(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}},{key:"yearAgo",value:function(){var t=new Date,e=t.getFullYear()-1,i=t.getMonth(),n=t.getDate();return new Date(e,i,n)}},{key:"showGroupApplications",value:function(t){this.checked=t.checked,this.select()}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"detailPageChanged",value:function(t){this.detailPageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,t.pageSize)}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="VoApplicationsComponent",t.\u0275fac=function(e){return new(e||t)(s.Y36(n.YF),s.Y36(n.tk),s.Y36(r.dB),s.Y36(u.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("router-component",e.true)},decls:38,vars:36,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","page",4,"ngIf"],[3,"pageSize","filterValue","applications","displayedColumns","page"],[3,"pageSize","filterValue","applications","page"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return e.select()}),s.qZA(),s.YNc(5,k,3,3,"button",2),s.YNc(6,T,3,3,"button",2),s.TgZ(7,"mat-form-field",3),s.TgZ(8,"mat-label"),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"mat-select",4),s.NdJ("selectionChange",function(){return e.select()})("valueChange",function(t){return e.state=t}),s.TgZ(12,"mat-option",5),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-option",6),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"mat-option",7),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"mat-option",8),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"mat-option",9),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.TgZ(27,"mat-option",10),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(30,"perun-web-apps-debounce-filter",11),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.TgZ(31,"perun-web-apps-date-range",12),s.NdJ("datePicker",function(){return e.select()}),s.qZA(),s.TgZ(32,"div"),s.TgZ(33,"mat-checkbox",13),s.NdJ("change",function(t){return e.showGroupApplications(t)}),s._uU(34),s.ALo(35,"translate"),s.qZA(),s.qZA(),s.qZA(),s.YNc(36,C,1,0,"mat-spinner",14),s.YNc(37,x,3,2,"div",15)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,18,"VO_DETAIL.APPLICATION.TITLE")),s.xp6(4),s.Q6J("ngIf",!e.showAllDetails),s.xp6(1),s.Q6J("ngIf",e.showAllDetails),s.xp6(3),s.Oqu(s.lcZ(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),s.xp6(2),s.Q6J("value",e.state),s.xp6(2),s.Oqu(s.lcZ(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),s.xp6(3),s.Oqu(s.lcZ(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),s.xp6(3),s.Oqu(s.lcZ(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),s.xp6(3),s.Oqu(s.lcZ(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),s.xp6(3),s.Oqu(s.lcZ(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),s.xp6(3),s.Oqu(s.lcZ(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),s.xp6(2),s.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),s.xp6(1),s.Q6J("startDate",e.startDate)("endDate",e.endDate),s.xp6(2),s.Q6J("checked",e.checked),s.xp6(1),s.hij(" ",s.lcZ(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[c.t,a.O5,l.KE,l.hX,h.gD,d.ey,f.P,p.S,g.oG,m.lW,b.$g,w.M,_.w],pipes:[A.X$],styles:[""]}),t}()},48002:function(t,e,i){"use strict";i.d(e,{G:function(){return U}});var n=i(88419),r=i(43491),o=i(4230),a=i(57820),s=i(84140),u=i(33642),c=i(60611),l=i(67004),h=i(88426),d=(i(41939),i(31572)),f=i(84608),p=i(48958),g=i(57629),m=i(59403),b=i(61511),w=i(91058),_=i(27521),A=i(16073),k=i(15980),T=i(36922),C=i(67806),S=i(11441),E=i(78364),x=i(39571),R=i(48160),I=["toggle"],O=["tree"],P=["list"];function D(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"button",10),d.NdJ("click",function(){return d.CHM(i),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function M(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"button",13),d.NdJ("click",function(){return d.CHM(i),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("disabled",0===n.selected.selected.length||n.disableRemove()),d.xp6(1),d.hij(" ",d.lcZ(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function L(t,e){if(1&t&&(d.TgZ(0,"span",11),d.ALo(1,"translate"),d.YNc(2,M,3,4,"button",12),d.qZA()),2&t){var i=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===i.tree&&void 0===i.list||i.disableTooltip()),d.xp6(2),d.Q6J("ngIf",!i.loading)}}function N(t,e){1&t&&d._UZ(0,"mat-spinner",14)}function z(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",18,19),d.NdJ("moveGroup",function(t){return d.CHM(i),d.oxw(2).onMoveGroup(t)})("refreshTable",function(){return d.CHM(i),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("groups",n.groups)("expandAll",n.filtering)("vo",n.vo)("selection",n.selected)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)}}var F=function(){return["select","id","name","description","menu"]};function Z(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",20,21),d.NdJ("page",function(t){return d.CHM(i),d.oxw(2).pageChanged(t)})("moveGroup",function(t){return d.CHM(i),d.oxw(2).onMoveGroup(t)})("refreshTable",function(){return d.CHM(i),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&t){var n=d.oxw(2);d.Q6J("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("disableMembers",!0)("displayedColumns",d.DdM(8,F))("disableRouting",!n.routeAuth)("authType","vo-groups")("filter",n.filterValue)}}function B(t,e){if(1&t&&(d.TgZ(0,"div",15),d.YNc(1,z,2,6,"perun-web-apps-groups-tree",16),d.YNc(2,Z,2,9,"perun-web-apps-groups-list",17),d.qZA()),2&t){var i=d.oxw();d.xp6(1),d.Q6J("ngIf",!i.showGroupList),d.xp6(1),d.Q6J("ngIf",i.showGroupList)}}function q(t,e){1&t&&(d.TgZ(0,"app-alert",22),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&t&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}var U=function(){var t=function(){function t(e,i,n,r,a,s,u,l){v(this,t),this.dialog=e,this.groupService=i,this.sideMenuService=n,this.voService=r,this.route=a,this.tableConfigService=s,this.authResolver=u,this.initAuthService=l,this.groups=[],this.showGroupList=!1,this.selected=new o.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=c.rc}return y(t,[{key:"onCreateGroup",value:function(){var t=this,e=(0,s.kZ)();e.width="450px",e.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.y,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.loadAllGroups())})}},{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(function(){localStorage.setItem("preferedValue",t.toggle.checked?"list":"tree"),t.loadAllGroups()}),this.route.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.loadAllGroups()})})}},{key:"setAuthRights",value:function(){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]]))}},{key:"disableRemove",value:function(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}},{key:"disableTooltip",value:function(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}},{key:"deleteGroup",value:function(){var t=this,e=(0,s.kZ)();e.width="450px",e.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(r.P,e).afterClosed().subscribe(function(e){e&&t.loadAllGroups()})}},{key:"removeAllGroups",value:function(){this.selected.clear()}},{key:"onMoveGroup",value:function(t){var e=this,i=(0,s.kZ)();i.width="550px",i.data={group:t,theme:"vo-theme"},this.dialog.open(a.c,i).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"loadAllGroups",value:function(){var t=this;this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[l.r.GROUP_SYNC_ENABLED,l.r.GROUP_LAST_SYNC_STATE,l.r.GROUP_LAST_SYNC_TIMESTAMP,l.r.GROUP_STRUCTURE_SYNC_ENABLED,l.r.GROUP_LAST_STRUCTURE_SYNC_STATE,l.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(e){t.groups=e,t.selected.clear(),t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t,this.filtering=""!==t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="VoGroupsComponent",t.\u0275fac=function(e){return new(e||t)(d.Y36(f.uw),d.Y36(u.ff),d.Y36(p.D),d.Y36(u.YF),d.Y36(g.gz),d.Y36(c.dB),d.Y36(h.x4),d.Y36(h.v0))},t.\u0275cmp=d.Xpm({type:t,selectors:[["app-vo-groups"]],viewQuery:function(t,e){var i;(1&t&&(d.Gf(I,7),d.Gf(O,5),d.Gf(P,5)),2&t)&&(d.iGM(i=d.CRH())&&(e.toggle=i.first),d.iGM(i=d.CRH())&&(e.tree=i.first),d.iGM(i=d.CRH())&&(e.list=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&d.ekj("router-component",e.true)},decls:18,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",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"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return e.loadAllGroups()}),d.qZA(),d.YNc(5,D,3,3,"button",2),d.YNc(6,L,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(t){return e.applyFilter(t)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return e.removeAllGroups()})("ngModelChange",function(t){return e.showGroupList=t}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,N,1,0,"mat-spinner",7),d.YNc(16,B,3,2,"div",8),d.YNc(17,q,3,3,"app-alert",9),d.qZA()),2&t){var i=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,11,"VO_DETAIL.GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!e.loading&&e.createAuth),d.xp6(1),d.Q6J("ngIf",!e.loading),d.xp6(1),d.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",e.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",i.inputId),d.xp6(1),d.Oqu(d.lcZ(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",e.loading),d.xp6(1),d.Q6J("ngIf",!e.loading&&0!==e.groups.length),d.xp6(1),d.Q6J("ngIf",0===e.groups.length&&!e.loading)}},directives:[m.t,b.O5,w.P,_.Rr,A.JJ,A.On,k.lW,T.gM,C.$g,S.I,E.W,x.w],pipes:[R.X$],styles:[""]}),t}()},28940:function(t,e,i){"use strict";i.d(e,{y:function(){return L}});var n=i(4230),r=i(88426),o=i(4374),a=i(85613),s=i(33642),u=i(67004),c=i(16073),l=i(60611),h=i(84140),d=i(88690),f=i(31572),p=i(57629),g=i(84608),m=i(59403),b=i(36922),w=i(61511),_=i(66283),A=i(4786),k=i(91058),T=i(15980),C=i(71522),S=i(67806),E=i(91779),x=i(48160);function R(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",14),f.NdJ("click",function(){return f.CHM(i),f.oxw().onAddMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("disabled",n.blockManualMemberAdding),f.xp6(1),f.hij(" ",f.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function I(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onInviteMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}2&t&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function O(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"button",16),f.NdJ("click",function(){return f.CHM(i),f.oxw().onRemoveMembers()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("disabled",n.selection.isEmpty()),f.xp6(1),f.hij(" ",f.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function P(t,e){if(1&t&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&t){var i=e.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function D(t,e){1&t&&f._UZ(0,"mat-spinner",18)}function M(t,e){if(1&t){var i=f.EpF();f.TgZ(0,"perun-web-apps-members-dynamic-list",19),f.NdJ("page",function(t){return f.CHM(i),f.oxw().pageChanged(t)}),f.qZA()}if(2&t){var n=f.oxw();f.Q6J("voId",n.vo.id)("pageSize",n.pageSize)("selection",n.selection)("displayedColumns",n.displayedColumns)("attrNames",n.attrNames)("searchString",n.searchString)("selectedStatuses",n.selectedStatuses)("updateTable",n.updateTable)}}var L=function(){var t=function(){function t(e,i,r,o,a,s,h,d,f){v(this,t),this.voService=e,this.route=i,this.notificator=r,this.tableConfigService=o,this.dialog=a,this.authzService=s,this.storeService=h,this.attributesManager=d,this.apiRequest=f,this.members=null,this.selection=new n.Ov(!0,[]),this.loading=!1,this.attrNames=[u.r.MEMBER_DEF_ORGANIZATION,u.r.MEMBER_DEF_MAIL,u.r.USER_DEF_ORGANIZATION,u.r.USER_DEF_PREFERRED_MAIL,u.r.MEMBER_DEF_EXPIRATION],this.statuses=new c.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=l.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(function(e){var i=e.voId;t.isManualAddingBlocked(i).then(function(){t.voService.getVoById(i).subscribe(function(e){t.vo=e,t.setAuthRights(),t.loading=!1})})})}},{key:"setAuthRights",value:function(){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])}},{key:"onSearchByString",value:function(t){this.searchString=t,this.updateTable=!this.updateTable}},{key:"onAddMember",value:function(){var t=this,e=(0,h.kZ)();e.width="1000px",e.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(a.o,e).afterClosed().subscribe(function(e){e&&(t.updateTable=!t.updateTable,t.selection.clear())})}},{key:"onRemoveMembers",value:function(){var t=this,e=(0,h.kZ)();e.width="450px",e.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(o.X,e).afterClosed().subscribe(function(e){e&&(t.updateTable=!t.updateTable,t.selection.clear())})}},{key:"onInviteMember",value:function(){var t=(0,h.kZ)();t.width="650px",t.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.R,t)}},{key:"displaySelectedStatuses",value:function(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?"".concat(this.statuses.value[0]," ").concat(this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""):""}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}},{key:"isManualAddingBlocked",value:function(t){var e=this;return new Promise(function(i){e.apiRequest.dontHandleErrorForNext(),e.attributesManager.getVoAttributeByName(t,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(function(t){e.blockManualMemberAdding=null!==t.value,i()},function(t){"PrivilegeException"!==t.error.name&&e.notificator.showError(t),i()})})}},{key:"changeStatuses",value:function(){this.selectedStatuses=this.statuses.value}}]),t}();return t.id="VoMembersComponent",t.\u0275fac=function(e){return new(e||t)(f.Y36(s.YF),f.Y36(p.gz),f.Y36(r.V6),f.Y36(l.dB),f.Y36(g.uw),f.Y36(r.x4),f.Y36(r.d6),f.Y36(s.H8),f.Y36(r.F5))},t.\u0275cmp=f.Xpm({type:t,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(t,e){2&t&&f.ekj("router-component",e.true)},decls:22,vars:19,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(t,e){1&t&&(f.TgZ(0,"div",0),f.TgZ(1,"h1",1),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.TgZ(4,"div",2),f.TgZ(5,"perun-web-apps-refresh-button",3),f.NdJ("click",function(){return e.updateTable=!e.updateTable}),f.qZA(),f.TgZ(6,"div",4),f.ALo(7,"translate"),f.YNc(8,R,3,4,"button",5),f.qZA(),f.YNc(9,I,3,3,"button",6),f.YNc(10,O,3,4,"button",7),f.TgZ(11,"mat-form-field",8),f.TgZ(12,"mat-label"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.TgZ(15,"mat-select",9),f.NdJ("closed",function(){return e.changeStatuses()}),f.TgZ(16,"mat-select-trigger"),f._uU(17),f.qZA(),f.YNc(18,P,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(19,"perun-web-apps-debounce-filter",11),f.NdJ("filter",function(t){return e.onSearchByString(t)}),f.qZA(),f.qZA(),f.YNc(20,D,1,0,"mat-spinner",12),f.YNc(21,M,1,8,"perun-web-apps-members-dynamic-list",13),f.qZA()),2&t&&(f.xp6(2),f.Oqu(f.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),f.xp6(4),f.s9C("matTooltip",f.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.Q6J("matTooltipDisabled",!e.blockManualMemberAdding),f.xp6(2),f.Q6J("ngIf",e.addAuth),f.xp6(1),f.Q6J("ngIf",e.inviteAuth),f.xp6(1),f.Q6J("ngIf",e.removeAuth),f.xp6(3),f.Oqu(f.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),f.xp6(2),f.Q6J("formControl",e.statuses),f.xp6(2),f.hij(" ",e.displaySelectedStatuses()," "),f.xp6(1),f.Q6J("ngForOf",e.statusList),f.xp6(1),f.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),f.xp6(1),f.Q6J("ngIf",e.loading),f.xp6(1),f.Q6J("ngIf",!e.loading))},directives:[m.t,b.gM,w.O5,_.KE,_.hX,A.gD,c.JJ,c.oH,A.$L,w.sg,k.P,T.lW,C.ey,S.$g,E.m],pipes:[x.X$],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}"]}),t}()},88227:function(t,e,i){"use strict";i.d(e,{z:function(){return T}});var n=i(4230),r=i(33642),o=i(95909),a=i(60611),s=i(84140),u=i(88426),c=i(31572),l=i(57629),h=i(84608),d=i(59403),f=i(61511),p=i(19139),g=i(15980),m=i(67806),b=i(88884),w=i(48160);function _(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"button",6),c.NdJ("click",function(){return c.CHM(i),c.oxw().deleteSelectedResources()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}if(2&t){var n=c.oxw();c.Q6J("disabled",0===n.selected.selected.length),c.xp6(1),c.hij(" ",c.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function A(t,e){1&t&&c._UZ(0,"mat-spinner",7)}function k(t,e){if(1&t){var i=c.EpF();c.TgZ(0,"perun-web-apps-resources-list",8),c.NdJ("page",function(t){return c.CHM(i),c.oxw().pageChanged(t)}),c.qZA()}if(2&t){var n=c.oxw();c.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routeAuth)("selection",n.selected)("displayedColumns",n.displayedColumns)}}var T=function(){var t=function(){function t(e,i,r,o,s,u){v(this,t),this.resourcesManager=e,this.voService=i,this.route=r,this.tableConfigService=o,this.dialog=s,this.authResolver=u,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=a.nT,this.routeAuth=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(e){t.voService.getVoById(e.voId).subscribe(function(e){t.vo=e,t.refreshTable()})})}},{key:"setAuthRights",value:function(){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"]}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(function(e){t.resources=e,t.selected.clear(),t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"deleteSelectedResources",value:function(){var t=this,e=(0,s.kZ)();e.width="450px",e.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(o.f,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="VoResourcesPreviewComponent",t.\u0275fac=function(e){return new(e||t)(c.Y36(r.xk),c.Y36(r.YF),c.Y36(l.gz),c.Y36(a.dB),c.Y36(h.uw),c.Y36(u.x4))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("router-component",e.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page"]],template:function(t,e){1&t&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return e.refreshTable()}),c.qZA(),c.YNc(5,_,3,4,"button",2),c.TgZ(6,"perun-web-apps-immediate-filter",3),c.NdJ("filter",function(t){return e.applyFilter(t)}),c.qZA(),c.YNc(7,A,1,0,"mat-spinner",4),c.YNc(8,k,1,7,"perun-web-apps-resources-list",5),c.qZA()),2&t&&(c.xp6(2),c.Oqu(c.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),c.xp6(3),c.Q6J("ngIf",!e.loading&&e.removeAuth),c.xp6(1),c.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.xp6(1),c.Q6J("ngIf",e.loading),c.xp6(1),c.Q6J("ngIf",!e.loading))},directives:[d.t,f.O5,p.L,g.lW,m.$g,b.C],pipes:[w.X$],styles:[""]}),t}()},97397:function(t,e,i){"use strict";i.d(e,{z:function(){return tt}});var n=i(88426),r=i(33642),o=i(31572),a=i(57629),s=i(61511),u=i(67806),c=i(59403),l=i(55109),h=i(67033),d=i(45001),p=i(27679),g=i(48160);function m(t,e){if(1&t&&(o.TgZ(0,"mat-panel-description"),o.TgZ(1,"div"),o.TgZ(2,"i",7),o._uU(3," error "),o.qZA(),o._uU(4),o.ALo(5,"translate"),o.ALo(6,"translate"),o.qZA(),o.qZA()),2&t){var i=o.oxw().$implicit,n=o.oxw();o.xp6(4),o.HOy(" ",n.getErrorCountStates(i)," ",o.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",i.taskList.length," ",o.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function b(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function w(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){var i=e.$implicit;o.xp6(1),o.Oqu(i.id)}}function _(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function A(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){var i=e.$implicit;o.xp6(1),o.Oqu(i.service.name)}}function k(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function T(t,e){if(1&t&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&t){var i=e.$implicit;o.xp6(1),o.Oqu(i.status)}}function C(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function S(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function E(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function x(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,S,3,4,"div",22),o.YNc(2,E,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){var i=e.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.schedule)("ngIfElse",n)}}function R(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function I(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function O(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function P(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,I,3,4,"div",22),o.YNc(2,O,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){var i=e.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.startTime)("ngIfElse",n)}}function D(t,e){1&t&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function M(t,e){if(1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&t){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function L(t,e){1&t&&(o._uU(0),o.ALo(1,"translate")),2&t&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function N(t,e){if(1&t&&(o.TgZ(0,"td",21),o.YNc(1,M,3,4,"div",22),o.YNc(2,L,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&t){var i=e.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.endTime)("ngIfElse",n)}}function z(t,e){1&t&&o._UZ(0,"tr",25)}var F=function(t,e,i){return{redTableItem:t,greenTableItem:e,yellowTableItem:i}};function Z(t,e){if(1&t&&o._UZ(0,"tr",26),2&t){var i=e.$implicit;o.Q6J("ngClass",o.kEZ(1,F,"ERROR"===i.status||"SENDERROR"===i.status||"GENERROR"===i.status,"DONE"===i.status,"WARNING"===i.status))}}function B(t,e){if(1&t&&(o.TgZ(0,"table",9),o.ynx(1,10),o.YNc(2,b,3,3,"th",11),o.YNc(3,w,2,1,"td",12),o.BQk(),o.ynx(4,13),o.YNc(5,_,3,3,"th",11),o.YNc(6,A,2,1,"td",12),o.BQk(),o.ynx(7,14),o.YNc(8,k,3,3,"th",11),o.YNc(9,T,2,1,"td",12),o.BQk(),o.ynx(10,15),o.YNc(11,C,3,3,"th",11),o.YNc(12,x,4,2,"td",12),o.BQk(),o.ynx(13,16),o.YNc(14,R,3,3,"th",11),o.YNc(15,P,4,2,"td",12),o.BQk(),o.ynx(16,17),o.YNc(17,D,3,3,"th",11),o.YNc(18,N,4,2,"td",12),o.BQk(),o.YNc(19,z,1,0,"tr",18),o.YNc(20,Z,1,5,"tr",19),o.qZA()),2&t){var i=o.oxw(2).$implicit,n=o.oxw();o.Q6J("dataSource",n.datasources[n.propagation.indexOf(i)]),o.xp6(19),o.Q6J("matHeaderRowDef",n.displayedColumns),o.xp6(1),o.Q6J("matRowDefColumns",n.displayedColumns)}}function q(t,e){1&t&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function U(t,e){if(1&t&&(o._UZ(0,"mat-divider"),o.YNc(1,B,21,3,"table",8),o.YNc(2,q,3,3,"div",5)),2&t){var i=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",0!==i.taskList.length),o.xp6(1),o.Q6J("ngIf",0===i.taskList.length)}}function H(t,e){if(1&t&&(o.TgZ(0,"mat-expansion-panel"),o.TgZ(1,"mat-expansion-panel-header"),o.TgZ(2,"mat-panel-title"),o._UZ(3,"img",3),o.TgZ(4,"div",4),o._uU(5),o.qZA(),o.qZA(),o.YNc(6,m,7,8,"mat-panel-description",5),o.qZA(),o.YNc(7,U,3,2,"ng-template",6),o.qZA()),2&t){var i=e.$implicit,n=o.oxw();o.xp6(5),o.hij(" ",i.resource.name," "),o.xp6(1),o.Q6J("ngIf",0!==n.getErrorCountStates(i))}}var j=function(){var t=function(){function t(){v(this,t),this.propagation=[],this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}return y(t,[{key:"ngOnInit",value:function(){this.getDataSource()}},{key:"getErrorCountStates",value:function(t){var e,i=0,n=f(t.taskList);try{for(n.s();!(e=n.n()).done;){var r=e.value;"ERROR"!==r.status&&"GENERROR"!==r.status&&"SENDERROR"!==r.status||i++}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"getDataSource",value:function(){var t,e=f(this.propagation);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.datasources.push(new h.by(i.taskList))}}catch(n){e.e(n)}finally{e.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-state-tab"]],inputs:{propagation:"propagation"},decls:3,vars:1,consts:[[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-accordion",1),o.YNc(2,H,8,2,"mat-expansion-panel",2),o.qZA(),o.qZA()),2&t&&(o.xp6(2),o.Q6J("ngForOf",e.propagation))},directives:[d.pp,s.sg,d.ib,d.yz,d.yK,s.O5,d.HS,d.u4,p.d,h.BZ,h.w1,h.fO,h.Dz,h.as,h.nj,h.ge,h.ev,h.XQ,h.Gk,s.mk],pipes:[g.X$,s.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-description[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_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}"]}),t}(),G=i(39571);function Y(t,e){1&t&&o._UZ(0,"mat-spinner",3)}function V(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",8),o._uU(3),o.qZA()),2&t){var i=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),o.xp6(3),o.Oqu(i.errorPropagation.length)}}function K(t,e){1&t&&(o.TgZ(0,"app-alert",11),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.Q6J("alert_type","warn"),o.xp6(1),o.hij(" ",o.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function J(t,e){if(1&t&&(o.YNc(0,K,3,4,"app-alert",9),o._UZ(1,"app-state-tab",10)),2&t){var i=o.oxw(2);o.Q6J("ngIf",0===i.errorPropagation.length),o.xp6(1),o.Q6J("propagation",i.errorPropagation)}}function Q(t,e){if(1&t&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",12),o._uU(3),o.qZA()),2&t){var i=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),o.xp6(3),o.Oqu(i.okPropagation.length)}}function W(t,e){1&t&&(o.TgZ(0,"app-alert",14),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&t&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function X(t,e){if(1&t&&(o.YNc(0,W,3,3,"app-alert",13),o._UZ(1,"app-state-tab",10)),2&t){var i=o.oxw(2);o.Q6J("ngIf",0===i.okPropagation.length),o.xp6(1),o.Q6J("propagation",i.okPropagation)}}function $(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"perun-web-apps-refresh-button",4),o.NdJ("refresh",function(){return o.CHM(i),o.oxw().refreshTable()}),o.qZA(),o.TgZ(2,"mat-tab-group",5),o.NdJ("selectedIndexChange",function(t){return o.CHM(i),o.oxw().selectedIndex=t}),o.TgZ(3,"mat-tab"),o.YNc(4,V,4,4,"ng-template",6),o.YNc(5,J,2,2,"ng-template",7),o.qZA(),o.TgZ(6,"mat-tab"),o.YNc(7,Q,4,4,"ng-template",6),o.YNc(8,X,2,2,"ng-template",7),o.qZA(),o.qZA(),o.qZA()}if(2&t){var n=o.oxw();o.xp6(2),o.Q6J("selectedIndex",n.selectedIndex)}}var tt=function(){var t=function(){function t(e,i,n){v(this,t),this.route=e,this.taskService=i,this.customIconService=n,this.loading=!1,this.resourceStates=[],this.selectedIndex=0}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.customIconService.registerPerunRefreshIcon(),this.loading=!0,this.route.parent.parent.params.subscribe(function(e){t.voId=e.voId,t.refreshTable()})}},{key:"refreshTable",value:function(){var t=this;console.log(this.selectedIndex),this.loading=!0,this.taskService.getAllResourcesState(this.voId).subscribe(function(e){t.resourceStates=e,t.okPropagation=[],t.errorPropagation=[];var i,n=f(e);try{for(n.s();!(i=n.n()).done;){var r,o=i.value,a=!0,s=f(o.taskList);try{for(s.s();!(r=s.n()).done;){var u=r.value;if("ERROR"===u.status||"GENERROR"===u.status||"SENDERROR"===u.status){a=!1;break}}}catch(c){s.e(c)}finally{s.f()}a?t.okPropagation.push(o):t.errorPropagation.push(o)}}catch(c){n.e(c)}finally{n.f()}t.loading=!1})}}]),t}();return t.id="VoResourcesStatesComponent",t.\u0275fac=function(e){return new(e||t)(o.Y36(a.gz),o.Y36(r.Ob),o.Y36(n.EB))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],[3,"alert_type",4,"ngIf"],[3,"propagation"],[3,"alert_type"],[1,"badge","badge-success","ml-1"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(t,e){1&t&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.YNc(3,Y,1,0,"mat-spinner",1),o.YNc(4,$,9,1,"div",2)),2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),o.xp6(2),o.Q6J("ngIf",e.loading),o.xp6(1),o.Q6J("ngIf",!e.loading))},directives:[s.O5,u.$g,c.t,l.SP,l.uX,l.uD,l.Vc,j,G.w],pipes:[g.X$],styles:[""]}),t}()},14527:function(t,e,i){"use strict";i.d(e,{w:function(){return D}});var n=i(24555),r=i(88426),o=i(68570),a=i(92438),s=i(75954),u=i(33642),c=i(84140),l=i(31572),h=i(57629),d=i(84608),p=i(48160),g=i(61511),m=i(67806),b=i(43691),w=i(36922),_=i(27679),A=i(59403),k=i(15980),T=i(92846),C=i(39571);function S(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function E(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",21),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function x(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",22),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function R(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",23),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&t){var n=l.oxw(2);l.Q6J("disabled",!n.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function I(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&t&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function O(t,e){1&t&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&t&&(l.Q6J("alert_type","info"),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}function P(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.qZA(),l.qZA(),l.TgZ(21,"div",9),l.YNc(22,E,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(23,"mat-divider",11),l.TgZ(24,"div",12),l.TgZ(25,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().updateFormItems()}),l.qZA(),l.YNc(26,x,3,3,"button",14),l.YNc(27,R,5,4,"button",15),l.YNc(28,I,5,3,"button",16),l.TgZ(29,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw().preview()}),l.TgZ(30,"i",18),l._uU(31,"search"),l.qZA(),l._uU(32),l.ALo(33,"translate"),l.qZA(),l.qZA(),l.YNc(34,O,3,4,"app-alert",19),l.TgZ(35,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(i),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(4),l.AsE("",l.lcZ(5,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",n.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",n.applicationForm.automaticApproval?l.lcZ(14,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,22,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",n.applicationForm.automaticApprovalExtension?l.lcZ(19,24,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,26,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.hij(" ",l.lcZ(33,28,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("loading",n.loading)("applicationForm",n.applicationForm)("applicationFormItems",n.applicationFormItems)("theme","vo-theme")("displayedColumns",n.displayedColumns)}}var D=function(){var t=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this.registrarManager=e,this.route=i,this.dialog=n,this.notificator=r,this.translate=o,this.router=a,this.authResolver=s,this.voService=u,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.idCounter=-1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(e){var i=e.voId;t.voId=i,t.registrarManager.getVoApplicationForm(i).subscribe(function(e){t.applicationForm=e,t.registrarManager.getFormItemsForVo(i).subscribe(function(e){t.applicationFormItems=e,t.voService.getVoById(t.voId).subscribe(function(e){t.vo=e,t.setAuthRights(),t.loading=!1})})})})}},{key:"setAuthRights",value:function(){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"]}},{key:"add",value:function(){var t=this,e=(0,c.kZ)();e.width="500px",e.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(a.J,e).afterClosed().subscribe(function(i){i&&(t.applicationFormItems=Object.assign([],i[0]),(e=(0,c.kZ)()).width="600px",e.height="600px",e.data={voId:t.voId,applicationFormItem:i[1],theme:"vo-theme",allItems:t.applicationFormItems},t.dialog.open(s._,e),t.itemsChanged=!0)})}},{key:"copy",value:function(){var t=this,e=(0,c.kZ)();e.width="500px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(o.W,e).afterClosed().subscribe(function(e){e&&t.updateFormItems()})}},{key:"settings",value:function(){var t=this,e=(0,c.kZ)();e.width="400px",e.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.E,e).afterClosed().subscribe(function(e){e&&(t.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.applicationForm=e)})}},{key:"preview",value:function(){this.router.navigate(["/organizations",this.voId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}},{key:"updateFormItems",value:function(){var t=this;this.loading=!0,this.registrarManager.getFormItemsForVo(this.voId).subscribe(function(e){t.applicationFormItems=e,t.itemsChanged=!1,t.loading=!1})}},{key:"changeItems",value:function(){this.itemsChanged=!0}},{key:"save",value:function(){var t,e=this,i=0,n=f(this.applicationFormItems);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.ordnum=i,r.forDelete||i++}}catch(o){n.e(o)}finally{n.f()}this.registrarManager.updateFormItemsForVo({vo:this.voId,items:this.applicationFormItems}).subscribe(function(){e.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.updateFormItems()})}},{key:"clear",value:function(){this.applicationFormItems.forEach(function(t){return t.forDelete=!0}),this.itemsChanged=!0}}]),t}();return t.id="VoSettingsApplicationFormComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(u.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(r.V6),l.Y36(p.sK),l.Y36(h.F0),l.Y36(r.x4),l.Y36(u.YF))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],[3,"alert_type",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[3,"alert_type"]],template:function(t,e){1&t&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,S,1,0,"mat-spinner",1),l.YNc(4,P,36,30,"div",2)),2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[g.O5,m.$g,b.Hw,w.gM,_.d,A.t,k.lW,T.b,C.w],pipes:[p.X$],styles:[""]}),t}()},48666:function(t,e,i){"use strict";i.d(e,{T:function(){return ve}});var n=i(33642),r=i(4230),o=i(60611),a=i(84140),s=i(84608),u=i(88426),c=i(16073),l=i(61511),h=i(14732),d=i(81110),p=i(40878),g=i(44689),m=i(79996),b=i(47727),w=i(31572),_=i(48160),A=i(67806),k=i(70663),T=i(66283),C=i(80340),S=i(15980),E=i(4786),x=i(36922),R=i(29236),I=i(54810),O=i(15812),P=function(){var t=function(){function t(){v(this,t),this.expiration="never",this.expirationControl=new c.NI(null),this.datePicker=new w.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationControl.setValue((0,l.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}},{key:"setExpiration",value:function(){this.expiration=(0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}},{key:"emitDate",value:function(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=w.Xpm({type:t,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(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"mat-radio-group",0),w.NdJ("ngModelChange",function(t){return e.expiration=t})("change",function(){return e.emitDate()}),w.TgZ(1,"mat-radio-button",1),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"mat-radio-button",2),w.TgZ(5,"mat-form-field",3),w.NdJ("click",function(){return w.CHM(i),w.MAs(12).open()}),w.TgZ(6,"mat-label"),w._uU(7),w.ALo(8,"translate"),w.qZA(),w.TgZ(9,"input",4),w.NdJ("dateChange",function(){return e.setExpiration()}),w.qZA(),w._UZ(10,"mat-datepicker-toggle",5),w._UZ(11,"mat-datepicker",6,7),w.qZA(),w.qZA(),w.qZA()}if(2&t){var n=w.MAs(12);w.Q6J("ngModel",e.expiration),w.xp6(2),w.hij(" ",w.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),w.xp6(2),w.s9C("value",e.expirationControl.value),w.xp6(3),w.Oqu(w.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),w.xp6(2),w.Q6J("min",e.minDate)("formControl",e.expirationControl)("matDatepicker",n),w.xp6(1),w.Q6J("for",n)("disabled",!1),w.xp6(1),w.Q6J("disabled",!1)}},directives:[I.VQ,c.JJ,c.On,I.U0,T.KE,T.hX,C.Nt,c.Fj,O.hl,c.oH,O.nW,T.R9,O.Mq],pipes:[_.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}(),D=i(39571),M=i(71522),L=i(43691),N=i(7927),z=i(22196);function F(t,e){1&t&&(w.TgZ(0,"h1",4),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function Z(t,e){1&t&&w._UZ(0,"mat-spinner",5)}function B(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function q(t,e){1&t&&(w.TgZ(0,"app-alert",42),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function U(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function H(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function j(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function G(t,e){if(1&t&&(w.TgZ(0,"mat-option",43),w._uU(1),w.qZA()),2&t){var i=e.$implicit;w.Q6J("value",i),w.xp6(1),w.hij(" ",i," ")}}function Y(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function V(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function K(t,e){1&t&&w._UZ(0,"mat-spinner",44),2&t&&w.Q6J("diameter",18)}function J(t,e){1&t&&(w.TgZ(0,"mat-icon",45),w.ALo(1,"translate"),w._uU(2," error "),w.qZA()),2&t&&w.Q6J("matTooltip",w.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function Q(t,e){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,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function W(t,e){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,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function X(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function $(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function tt(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div"),w.TgZ(1,"perun-web-apps-user-search-select",46),w.NdJ("userSelected",function(t){return w.CHM(i),w.oxw(2).selectedSponsor=t}),w.qZA(),w.qZA()}if(2&t){var n=w.oxw(2);w.xp6(1),w.Q6J("users",n.voSponsors)("disableAutoSelect",!0)}}function et(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div",6),w.TgZ(1,"mat-horizontal-stepper",7),w.TgZ(2,"mat-step",8),w.YNc(3,B,2,3,"ng-template",9),w.YNc(4,q,3,3,"app-alert",10),w.TgZ(5,"form",11),w.TgZ(6,"h5",12),w._uU(7),w.ALo(8,"translate"),w.qZA(),w.TgZ(9,"mat-form-field",13),w._UZ(10,"input",14),w.ALo(11,"translate"),w.YNc(12,U,3,3,"mat-error",15),w.qZA(),w.TgZ(13,"mat-form-field"),w._UZ(14,"input",16),w.ALo(15,"translate"),w.YNc(16,H,3,3,"mat-error",15),w.qZA(),w.TgZ(17,"mat-form-field"),w._UZ(18,"input",17),w.ALo(19,"translate"),w.qZA(),w.TgZ(20,"mat-form-field"),w._UZ(21,"input",18),w.ALo(22,"translate"),w.qZA(),w.qZA(),w.TgZ(23,"div",19),w.TgZ(24,"button",20),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(25),w.ALo(26,"translate"),w.qZA(),w.TgZ(27,"button",21),w._uU(28),w.ALo(29,"translate"),w.qZA(),w.qZA(),w.qZA(),w.TgZ(30,"mat-step",8),w.YNc(31,j,2,3,"ng-template",9),w.TgZ(32,"h5",12),w._uU(33),w.ALo(34,"translate"),w.qZA(),w.TgZ(35,"form",22),w.TgZ(36,"mat-form-field"),w.TgZ(37,"mat-select",23),w.NdJ("valueChange",function(t){return w.CHM(i),w.oxw().onNamespaceChanged(t)}),w.ALo(38,"translate"),w.YNc(39,G,2,2,"mat-option",24),w.qZA(),w.YNc(40,Y,3,3,"mat-error",15),w.qZA(),w.TgZ(41,"mat-form-field",25),w.ALo(42,"translate"),w._UZ(43,"input",26),w.ALo(44,"translate"),w.YNc(45,V,3,3,"mat-error",15),w.qZA(),w.TgZ(46,"span",25),w.ALo(47,"translate"),w.TgZ(48,"mat-checkbox",27),w.NdJ("change",function(){return w.CHM(i),w.oxw().passwordResetChange()}),w._uU(49),w.ALo(50,"translate"),w.qZA(),w.qZA(),w.TgZ(51,"mat-form-field",25),w._UZ(52,"input",28),w.ALo(53,"translate"),w.YNc(54,K,1,1,"mat-spinner",29),w.YNc(55,J,3,3,"mat-icon",30),w.YNc(56,Q,3,3,"mat-error",15),w.YNc(57,W,3,3,"mat-error",15),w.qZA(),w.TgZ(58,"mat-checkbox",31),w._uU(59),w.ALo(60,"translate"),w.qZA(),w.TgZ(61,"mat-form-field"),w._UZ(62,"input",32),w.ALo(63,"translate"),w.YNc(64,X,3,3,"mat-error",15),w.qZA(),w.TgZ(65,"div",19),w.TgZ(66,"button",20),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(67),w.ALo(68,"translate"),w.qZA(),w.TgZ(69,"button",33),w._uU(70),w.ALo(71,"translate"),w.qZA(),w.TgZ(72,"button",34),w._uU(73),w.ALo(74,"translate"),w.qZA(),w.qZA(),w.qZA(),w.qZA(),w.TgZ(75,"mat-step"),w.YNc(76,$,2,3,"ng-template",9),w.TgZ(77,"div",35),w.TgZ(78,"h5",12),w._uU(79),w.ALo(80,"translate"),w.qZA(),w.TgZ(81,"div",13),w.TgZ(82,"h6"),w._uU(83),w.ALo(84,"translate"),w.qZA(),w.TgZ(85,"mat-radio-group",36),w.NdJ("ngModelChange",function(t){return w.CHM(i),w.oxw().sponsorType=t}),w.TgZ(86,"span",37),w.ALo(87,"translate"),w.TgZ(88,"mat-radio-button",38),w.NdJ("click",function(){return w.CHM(i),w.oxw().selectedSponsor=null}),w._uU(89),w.ALo(90,"translate"),w.qZA(),w.qZA(),w.TgZ(91,"span",37),w.ALo(92,"translate"),w.TgZ(93,"mat-radio-button",39),w._uU(94),w.ALo(95,"translate"),w.qZA(),w.qZA(),w.qZA(),w.YNc(96,tt,2,2,"div",15),w.qZA(),w.TgZ(97,"h6",13),w._uU(98),w.ALo(99,"translate"),w.qZA(),w.TgZ(100,"perun-web-apps-expiration-select",40),w.NdJ("datePicker",function(t){return w.CHM(i),w.oxw().setExpiration(t)}),w.qZA(),w.qZA(),w.TgZ(101,"div",19),w.TgZ(102,"button",20),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(103),w.ALo(104,"translate"),w.qZA(),w.TgZ(105,"button",33),w._uU(106),w.ALo(107,"translate"),w.qZA(),w.TgZ(108,"button",41),w.NdJ("click",function(){return w.CHM(i),w.oxw().onConfirm()}),w._uU(109),w.ALo(110,"translate"),w.qZA(),w.qZA(),w.qZA(),w.qZA(),w.qZA()}if(2&t){var n=w.oxw();w.xp6(1),w.Q6J("linear",!0),w.xp6(1),w.Q6J("stepControl",n.userControl),w.xp6(2),w.Q6J("ngIf",n.functionalityNotSupported),w.xp6(1),w.Q6J("formGroup",n.userControl),w.xp6(2),w.hij(" ",w.lcZ(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),w.xp6(3),w.s9C("placeholder",w.lcZ(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),w.xp6(2),w.Q6J("ngIf",n.userControl.hasError("required","firstName")),w.xp6(2),w.s9C("placeholder",w.lcZ(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),w.xp6(2),w.Q6J("ngIf",n.userControl.hasError("required","lastName")),w.xp6(2),w.s9C("placeholder",w.lcZ(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),w.xp6(3),w.s9C("placeholder",w.lcZ(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),w.xp6(4),w.hij(" ",w.lcZ(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),w.xp6(2),w.Q6J("disabled",n.userControl.invalid),w.xp6(1),w.hij(" ",w.lcZ(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),w.xp6(2),w.Q6J("stepControl",n.namespaceControl),w.xp6(3),w.Oqu(w.lcZ(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),w.xp6(2),w.Q6J("formGroup",n.namespaceControl),w.xp6(2),w.s9C("placeholder",w.lcZ(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),w.xp6(2),w.Q6J("ngForOf",n.namespaceOptions),w.xp6(1),w.Q6J("ngIf",n.namespaceControl.hasError("required","namespace")),w.xp6(1),w.s9C("matTooltip",w.lcZ(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),w.Q6J("matTooltipDisabled",n.namespaceControl.get("login").enabled),w.xp6(2),w.s9C("placeholder",w.lcZ(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),w.xp6(2),w.Q6J("ngIf",n.namespaceControl.hasError("required","login")),w.xp6(1),w.s9C("matTooltip",w.lcZ(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),w.Q6J("matTooltipDisabled",n.namespaceControl.get("passwordReset").enabled),w.xp6(3),w.hij("",w.lcZ(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),w.xp6(2),w.Q6J("matTooltip",n.getPasswordDisabledTooltip())("matTooltipDisabled",n.namespaceControl.get("password").enabled),w.xp6(1),w.s9C("placeholder",w.lcZ(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),w.Q6J("type",n.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",n.passwordStateMatcher),w.xp6(2),w.Q6J("ngIf",n.namespaceControl.get("password").pending),w.xp6(1),w.Q6J("ngIf",n.namespaceControl.get("password").dirty&&null!==n.namespaceControl.get("password").errors),w.xp6(1),w.Q6J("ngIf",n.namespaceControl.get("password").hasError("required")),w.xp6(1),w.Q6J("ngIf",n.namespaceControl.get("password").hasError("backendError")),w.xp6(2),w.hij(" ",w.lcZ(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),w.xp6(3),w.s9C("placeholder",w.lcZ(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),w.xp6(2),w.Q6J("ngIf",n.namespaceControl.hasError("required","email")||n.namespaceControl.hasError("pattern","email")),w.xp6(3),w.hij(" ",w.lcZ(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),w.xp6(3),w.hij(" ",w.lcZ(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),w.xp6(2),w.Q6J("disabled",n.namespaceControl.invalid||n.namespaceControl.get("password").pending),w.xp6(1),w.hij(" ",w.lcZ(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),w.xp6(6),w.Oqu(w.lcZ(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),w.xp6(4),w.Oqu(w.lcZ(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),w.xp6(2),w.Q6J("ngModel",n.sponsorType),w.xp6(1),w.s9C("matTooltip",w.lcZ(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),w.Q6J("matTooltipDisabled",n.isSponsor),w.xp6(2),w.Q6J("disabled",!n.isSponsor),w.xp6(1),w.hij(" ",w.lcZ(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),w.xp6(2),w.s9C("matTooltip",w.lcZ(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),w.Q6J("matTooltipDisabled",n.isPerunAdmin),w.xp6(2),w.Q6J("disabled",!n.isPerunAdmin),w.xp6(1),w.hij(" ",w.lcZ(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),w.xp6(2),w.Q6J("ngIf","other"===n.sponsorType),w.xp6(2),w.Oqu(w.lcZ(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),w.xp6(5),w.hij(" ",w.lcZ(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),w.xp6(3),w.hij(" ",w.lcZ(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),w.xp6(2),w.Q6J("disabled",null===n.sponsorType||"other"===n.sponsorType&&null===n.selectedSponsor),w.xp6(1),w.hij(" ",w.lcZ(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function it(t,e){if(1&t&&(w.TgZ(0,"div",6),w.TgZ(1,"div",47),w.TgZ(2,"mat-icon",48),w._uU(3,"done"),w.qZA(),w._uU(4),w.ALo(5,"translate"),w.TgZ(6,"i"),w._uU(7),w.ALo(8,"userFullName"),w.qZA(),w._uU(9),w.ALo(10,"translate"),w.qZA(),w.TgZ(11,"div"),w._uU(12),w.ALo(13,"translate"),w.qZA(),w.TgZ(14,"div"),w._uU(15),w.ALo(16,"translate"),w.qZA(),w.TgZ(17,"app-alert",49),w._uU(18),w.ALo(19,"translate"),w.qZA(),w.qZA()),2&t){var i=w.oxw();w.xp6(4),w.hij(" ",w.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),w.xp6(3),w.Oqu(w.lcZ(8,10,i.createdMember.user)),w.xp6(2),w.hij(" ",w.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),w.xp6(3),w.AsE("",w.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",i.loginThatWasSet,""),w.xp6(3),w.AsE("",w.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",i.namespaceControl.get("password").value," "),w.xp6(3),w.Oqu(w.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function nt(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div",19),w.TgZ(1,"button",50),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.qZA()}2&t&&(w.xp6(2),w.hij(" ",w.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}var rt=function(){function t(){v(this,t)}return y(t,[{key:"isErrorState",value:function(t){return!!(t&&t.invalid&&t.dirty)}}]),t}(),ot=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;return function(r){return(0,d.H)(n).pipe((0,g.w)(function(){return i.dontHandleErrorForNext(),null===t||"No namespace"===t?(0,p.of)(null):e.checkPasswordStrength(r.value,t)}),(0,m.U)(function(){return null}),(0,b.K)(function(t){return(0,p.of)({backendError:t.error.message.substr(t.error.message.indexOf(":")+1)})}))}},at=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l){v(this,t),this.dialogRef=e,this.data=i,this.membersService=n,this.apiRequestConfiguration=r,this.usersService=o,this.store=a,this.translator=s,this.authzService=u,this.guiAuthResolver=c,this.formBuilder=l,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.parsedRules=new Map,this.emailRegx=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,this.userControl=null,this.namespaceControl=null,this.passwordStateMatcher=new rt,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(h.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",c.kI.required],lastName:["",c.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",c.kI.required],login:["",[c.kI.required]],password:["",c.kI.required,[ot(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[c.kI.required,c.kI.pattern(this.emailRegx)]]}),this.membersService.getAllNamespacesRules().subscribe(function(e){t.store.get("allow_empty_sponsor_namespace")&&t.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),t.namespaceRules=t.namespaceRules.concat(e),t.parseNamespaceRules(),0===t.namespaceOptions.length&&(t.functionalityNotSupported=!0),t.loading=!1})}},{key:"parseNamespaceRules",value:function(){var t,e=f(this.namespaceRules);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.namespaceOptions.push(i.namespaceName);var n={login:"disabled",password:"disabled"};this.parseAttributes(n,i.requiredAttributes,"required"),this.parseAttributes(n,i.optionalAttributes,"optional"),this.parsedRules.set(i.namespaceName,n)}}catch(r){e.e(r)}finally{e.f()}}},{key:"parseAttributes",value:function(t,e,i){var n,r=f(e);try{for(r.s();!(n=r.n()).done;){switch(n.value){case"login":t.login=i;break;case"password":t.password=i}}}catch(o){r.e(o)}finally{r.f()}}},{key:"onConfirm",value:function(){var t=this;this.loading=!0;var e={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},i=this.namespaceControl.get("namespace").value,n=this.parsedRules.get(i);"No namespace"!==i&&(e.userData.namespace=i),"disabled"!==n.login&&(e.userData.login=this.namespaceControl.get("login").value),"disabled"!==n.password&&(e.sendActivationLink=this.namespaceControl.get("passwordReset").value,e.userData.password=this.namespaceControl.get("password").value),"never"!==this.expiration&&(e.validityTo=this.expiration),this.membersService.createSponsoredMember(e).subscribe(function(e){t.successfullyCreated=!0,t.dialogRef.updateSize("600px"),t.createdMember=e,e&&e.userAttributes&&e.userAttributes.filter(function(t){return"login-namespace"===t.baseFriendlyName}).filter(function(t){return t.friendlyNameParameter===i}).filter(function(t){return null!==t.value}).forEach(function(e){t.loginThatWasSet=e.value.toString()}),t.loading=!1},function(){t.loading=!1})}},{key:"onCancel",value:function(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}},{key:"onNamespaceChanged",value:function(t){var e=this.parsedRules.get(t),i=this.namespaceControl.get("login"),n=this.namespaceControl.get("password"),r=this.namespaceControl.get("passwordReset"),o=this.namespaceControl.get("showPassword");"disabled"!==e.login?(0,a.mH)(i,"optional"===e.login?[]:[c.kI.required]):(i.disable(),i.setValue("")),"disabled"!==e.password?((0,a.mH)(n,"optional"===e.password?[]:[c.kI.required],[ot(t,this.usersService,this.apiRequestConfiguration)]),(0,a.mH)(r,[]),(0,a.mH)(o,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(n.disable(),n.setValue(""),r.disable(),r.setValue(!1),o.disable(),o.setValue(!1))}},{key:"passwordResetChange",value:function(){var t=this.namespaceControl.get("password");this.namespaceControl.get("passwordReset").value?(t.disable(),t.setValue("")):t.enable()}},{key:"setExpiration",value:function(t){this.expiration="never"===t?"never":(0,l.p6)(t,"yyyy-MM-dd","en-GB")}},{key:"getPasswordDisabledTooltip",value:function(){return this.namespaceControl.get("passwordReset").value?this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_VIA_EMAIL"):this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_DISABLED")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(w.Y36(s.so),w.Y36(s.WI),w.Y36(n.uq),w.Y36(u.F5),w.Y36(n.Fv),w.Y36(u.d6),w.Y36(_.sK),w.Y36(n.Ct),w.Y36(u.x4),w.Y36(c.qu))},t.\u0275cmp=w.Xpm({type:t,selectors:[["app-create-sponsored-member-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[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"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],["matInput","","formControlName","password",3,"type","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["color","warn","matSuffix","",3,"matTooltip",4,"ngIf"],["formControlName","showPassword",1,"example-margin"],["matInput","","required","","formControlName","email",3,"placeholder"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled"],[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"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","error"],[3,"value"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",3,"matTooltip"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(t,e){1&t&&(w.TgZ(0,"div"),w.YNc(1,F,3,3,"h1",0),w.YNc(2,Z,1,0,"mat-spinner",1),w.YNc(3,et,111,118,"div",2),w.YNc(4,it,20,20,"div",2),w.YNc(5,nt,4,3,"div",3),w.qZA()),2&t&&(w.Tol(e.theme),w.xp6(1),w.Q6J("ngIf",!e.successfullyCreated),w.xp6(1),w.Q6J("ngIf",e.loading),w.xp6(1),w.Q6J("ngIf",!e.loading&&!e.successfullyCreated),w.xp6(1),w.Q6J("ngIf",!e.loading&&e.successfullyCreated),w.xp6(1),w.Q6J("ngIf",e.successfullyCreated))},directives:[l.O5,s.uh,A.$g,s.xY,k.Vq,k.C0,k.VY,c._Y,c.JL,c.sg,T.KE,C.Nt,c.Fj,c.JJ,c.u,c.Q7,s.H8,S.lW,k.Ic,E.gD,l.sg,x.gM,R.oG,k.fd,I.VQ,c.On,I.U0,P,D.w,T.TO,M.ey,T.R9,L.Hw,N.S],pipes:[_.X$,z.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}"]}),t}(),st=i(67004),ut=i(43005),ct=i(19139),lt=i(78364);function ht(t,e){1&t&&w._UZ(0,"mat-spinner",3)}function dt(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function ft(t,e){1&t&&(w.TgZ(0,"app-alert",32),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function pt(t,e){if(1&t&&(w.TgZ(0,"mat-option",33),w._uU(1),w.qZA()),2&t){var i=e.$implicit;w.Q6J("value",i),w.xp6(1),w.hij(" ",i," ")}}function gt(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function vt(t,e){1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function mt(t,e){if(1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t){var i=w.oxw(2);w.xp6(1),w.AsE(" ",w.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function yt(t,e){if(1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t){var i=w.oxw(2);w.xp6(1),w.AsE(" ",w.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function bt(t,e){if(1&t&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t){var i=w.oxw(2);w.xp6(1),w.AsE(" ",w.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function wt(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function _t(t,e){1&t&&(w.TgZ(0,"app-alert",34),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&t&&(w.xp6(1),w.hij(" ",w.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function At(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"mat-radio-group",35),w.NdJ("ngModelChange",function(t){return w.CHM(i),w.oxw(2).passwordReset=t}),w.TgZ(1,"mat-radio-button",36),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"mat-radio-button",37),w._uU(5),w.ALo(6,"translate"),w.qZA(),w.qZA()}if(2&t){var n=w.oxw(2);w.Q6J("ngModel",n.passwordReset),w.xp6(2),w.hij(" ",w.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),w.xp6(3),w.hij(" ",w.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function kt(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function Tt(t,e){1&t&&(w._uU(0),w.ALo(1,"translate")),2&t&&w.Oqu(w.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function Ct(t,e){1&t&&(w.TgZ(0,"div"),w.TgZ(1,"app-alert",38),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.qZA()),2&t&&(w.xp6(2),w.Oqu(w.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function St(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div"),w.TgZ(1,"h5",39),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"perun-web-apps-create-group-form",40),w.NdJ("nameChanged",function(t){return w.CHM(i),w.oxw(2).name=t})("descriptionChanged",function(t){return w.CHM(i),w.oxw(2).description=t})("parentGroupChanged",function(t){return w.CHM(i),w.oxw(2).parentGroup=t})("asSubgroupChanged",function(t){return w.CHM(i),w.oxw(2).asSubGroup=t}),w.qZA(),w.qZA()}if(2&t){var n=w.oxw(2);w.xp6(2),w.Oqu(w.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")),w.xp6(2),w.Q6J("voGroups",n.allVoGroups)}}var Et=function(){return["select","id","name","description"]};function xt(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div"),w.TgZ(1,"h5",39),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"perun-web-apps-immediate-filter",41),w.NdJ("filter",function(t){return w.CHM(i),w.oxw(2).applyFilter(t)}),w.qZA(),w.TgZ(5,"perun-web-apps-groups-list",42),w.NdJ("page",function(t){return w.CHM(i),w.oxw(2).groupTablePageChanged(t)}),w.qZA(),w.qZA()}if(2&t){var n=w.oxw(2);w.xp6(2),w.Oqu(w.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")),w.xp6(2),w.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),w.xp6(1),w.Q6J("groups",n.assignableGroups)("selection",n.selection)("displayedColumns",w.DdM(10,Et))("disableRouting",!0)("pageSize",n.pageSize)("filter",n.filterValue)}}function Rt(t,e){if(1&t){var i=w.EpF();w.TgZ(0,"div",4),w.TgZ(1,"mat-horizontal-stepper",5),w.TgZ(2,"mat-step",6),w.YNc(3,dt,2,3,"ng-template",7),w.YNc(4,ft,3,3,"app-alert",8),w.TgZ(5,"h5",9),w._uU(6),w.ALo(7,"translate"),w.qZA(),w.TgZ(8,"form",10),w.TgZ(9,"mat-form-field"),w.TgZ(10,"mat-select",11),w.ALo(11,"translate"),w.YNc(12,pt,2,2,"mat-option",12),w.qZA(),w.YNc(13,gt,3,3,"mat-error",13),w.qZA(),w.TgZ(14,"div"),w._uU(15),w.ALo(16,"translate"),w.qZA(),w.TgZ(17,"div",14),w._uU(18),w.qZA(),w.TgZ(19,"mat-form-field",15),w.TgZ(20,"mat-label"),w._uU(21),w.ALo(22,"translate"),w.qZA(),w.TgZ(23,"textarea",16),w._uU(24," "),w.qZA(),w.YNc(25,vt,3,3,"mat-error",13),w.YNc(26,mt,3,4,"mat-error",13),w.YNc(27,yt,3,4,"mat-error",13),w.YNc(28,bt,3,4,"mat-error",13),w.qZA(),w.TgZ(29,"div",17),w.TgZ(30,"button",18),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(31),w.ALo(32,"translate"),w.qZA(),w.TgZ(33,"button",19),w._uU(34),w.ALo(35,"translate"),w.qZA(),w.qZA(),w.qZA(),w.qZA(),w.TgZ(36,"mat-step"),w.YNc(37,wt,2,3,"ng-template",7),w.TgZ(38,"div",9),w.TgZ(39,"h5",20),w._uU(40),w.ALo(41,"translate"),w.qZA(),w.YNc(42,_t,3,3,"app-alert",21),w.YNc(43,At,7,7,"mat-radio-group",22),w.qZA(),w.TgZ(44,"div",17),w.TgZ(45,"button",18),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(46),w.ALo(47,"translate"),w.qZA(),w.TgZ(48,"button",23),w._uU(49),w.ALo(50,"translate"),w.qZA(),w.TgZ(51,"button",24),w._uU(52),w.ALo(53,"translate"),w.qZA(),w.qZA(),w.qZA(),w.TgZ(54,"mat-step"),w.YNc(55,kt,2,3,"ng-template",7),w.TgZ(56,"div",9),w.TgZ(57,"h5",20),w._uU(58),w.ALo(59,"translate"),w.qZA(),w.TgZ(60,"perun-web-apps-expiration-select",25),w.NdJ("datePicker",function(t){return w.CHM(i),w.oxw().setExpiration(t)}),w.qZA(),w.qZA(),w.TgZ(61,"div",17),w.TgZ(62,"button",18),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(63),w.ALo(64,"translate"),w.qZA(),w.TgZ(65,"button",23),w._uU(66),w.ALo(67,"translate"),w.qZA(),w.TgZ(68,"button",24),w._uU(69),w.ALo(70,"translate"),w.qZA(),w.qZA(),w.qZA(),w.TgZ(71,"mat-step"),w.YNc(72,Tt,2,3,"ng-template",7),w.TgZ(73,"div",9),w.TgZ(74,"h5",20),w._uU(75),w.ALo(76,"translate"),w.qZA(),w.TgZ(77,"mat-radio-group",26),w.NdJ("change",function(){return w.CHM(i),w.oxw().groupAssigmentChanged()})("ngModelChange",function(t){return w.CHM(i),w.oxw().groupAssignment=t}),w.TgZ(78,"mat-radio-button",27),w._uU(79),w.ALo(80,"translate"),w.qZA(),w.TgZ(81,"span",28),w.ALo(82,"translate"),w.TgZ(83,"mat-radio-button",29),w._uU(84),w.ALo(85,"translate"),w.qZA(),w.qZA(),w.TgZ(86,"span",28),w.ALo(87,"translate"),w.TgZ(88,"mat-radio-button",30),w._uU(89),w.ALo(90,"translate"),w.qZA(),w.qZA(),w.qZA(),w.qZA(),w.YNc(91,Ct,4,3,"div",13),w.YNc(92,St,5,4,"div",13),w.YNc(93,xt,6,11,"div",13),w.TgZ(94,"div",17),w.TgZ(95,"button",18),w.NdJ("click",function(){return w.CHM(i),w.oxw().onCancel()}),w._uU(96),w.ALo(97,"translate"),w.qZA(),w.TgZ(98,"button",23),w._uU(99),w.ALo(100,"translate"),w.qZA(),w.TgZ(101,"button",31),w.NdJ("click",function(){return w.CHM(i),w.oxw().onSubmit()}),w._uU(102),w.ALo(103,"translate"),w.qZA(),w.qZA(),w.qZA(),w.qZA(),w.qZA()}if(2&t){var n=w.oxw();w.xp6(1),w.Q6J("linear",!0),w.xp6(1),w.Q6J("stepControl",n.usersInfoFormGroup),w.xp6(2),w.Q6J("ngIf",n.functionalityNotSupported),w.xp6(2),w.Oqu(w.lcZ(7,50,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),w.xp6(2),w.Q6J("formGroup",n.usersInfoFormGroup),w.xp6(2),w.s9C("placeholder",w.lcZ(11,52,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),w.xp6(2),w.Q6J("ngForOf",n.namespaceOptions),w.xp6(1),w.Q6J("ngIf",n.usersInfoFormGroup.hasError("required","namespace")),w.xp6(2),w.Oqu(w.lcZ(16,54,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),w.xp6(3),w.Oqu(n.getSelectedNamespaceRules().csvGenHeaderDescription),w.xp6(3),w.Oqu(w.lcZ(22,56,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),w.xp6(2),w.s9C("placeholder",n.getSelectedNamespaceRules().csvGenPlaceholder),w.xp6(2),w.Q6J("ngIf",n.usersInfoFormGroup.hasError("required","sponsoredMembers")),w.xp6(1),w.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),w.xp6(1),w.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),w.xp6(1),w.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),w.xp6(3),w.hij(" ",w.lcZ(32,58,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),w.xp6(2),w.Q6J("disabled",n.usersInfoFormGroup.invalid),w.xp6(1),w.hij(" ",w.lcZ(35,60,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),w.xp6(6),w.Oqu(w.lcZ(41,62,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")),w.xp6(2),w.Q6J("ngIf","No namespace"===n.getSelectedNamespaceRules().namespaceName),w.xp6(1),w.Q6J("ngIf","No namespace"!==n.getSelectedNamespaceRules().namespaceName),w.xp6(3),w.hij(" ",w.lcZ(47,64,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),w.xp6(3),w.hij(" ",w.lcZ(50,66,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),w.xp6(2),w.Q6J("disabled",null===n.passwordReset),w.xp6(1),w.hij(" ",w.lcZ(53,68,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),w.xp6(6),w.Oqu(w.lcZ(59,70,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),w.xp6(2),w.Q6J("expiration",n.expiration),w.xp6(3),w.hij(" ",w.lcZ(64,72,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),w.xp6(3),w.hij(" ",w.lcZ(67,74,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),w.xp6(2),w.Q6J("disabled",null===n.expiration),w.xp6(1),w.hij("",w.lcZ(70,76,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),w.xp6(6),w.Oqu(w.lcZ(76,78,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),w.xp6(2),w.Q6J("ngModel",n.groupAssignment),w.xp6(2),w.hij(" ",w.lcZ(80,80,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),w.xp6(2),w.s9C("matTooltip",w.lcZ(82,82,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),w.Q6J("matTooltipDisabled",!n.manualMemberAddingBlocked&&n.createGroupAuth),w.xp6(2),w.Q6J("disabled",n.manualMemberAddingBlocked||!n.createGroupAuth),w.xp6(1),w.hij(" ",w.lcZ(85,84,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),w.xp6(2),w.s9C("matTooltip",w.lcZ(87,86,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),w.Q6J("matTooltipDisabled",!n.manualMemberAddingBlocked&&0!==n.assignableGroups.length),w.xp6(2),w.Q6J("disabled",n.manualMemberAddingBlocked||0===n.assignableGroups.length),w.xp6(1),w.hij(" ",w.lcZ(90,88,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),w.xp6(2),w.Q6J("ngIf","none"===n.groupAssignment),w.xp6(1),w.Q6J("ngIf","new"===n.groupAssignment),w.xp6(1),w.Q6J("ngIf","existing"===n.groupAssignment),w.xp6(3),w.hij(" ",w.lcZ(97,90,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),w.xp6(3),w.hij(" ",w.lcZ(100,92,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),w.xp6(2),w.Q6J("disabled",null===n.groupAssignment||"existing"===n.groupAssignment&&0===n.selection.selected.length||"new"===n.groupAssignment&&(0===n.name.length||0===n.description.length)||!0===n.asSubGroup&&null===n.parentGroup),w.xp6(1),w.hij(" ",w.lcZ(103,94,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}var It=function(){var t=function(){function t(e,i,n,a,s,u,c,l,h,d,f){v(this,t),this.dialogRef=e,this.data=i,this.store=n,this.membersService=a,this.notificator=s,this.translate=u,this.guiAuthResolver=c,this.groupsService=l,this.attributesService=h,this.formBuilder=d,this.tableConfigService=f,this.loading=!1,this.functionalityNotSupported=!1,this.emailRegx=/^(([^<>+()[\]\\.,;:\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]{2,3}))$/,this.namespaceOptions=[],this.namespaceRules=[],this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new r.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=o.rc,this.groupAttrNames=[st.r.GROUP_SYNC_ENABLED,st.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",c.kI.required],sponsoredMembers:["",[c.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:function(){t.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(function(e){t.manualMemberAddingBlocked=t.hasAttributeEnabled(e,"blockManualMemberAdding"),!0!==t.manualMemberAddingBlocked?t.groupsService.getAllRichGroupsWithAttributesByNames(t.data.voId,t.groupAttrNames).subscribe(function(e){t.allVoGroups=e.filter(function(t){return"members"!==t.name}),t.assignableGroups=t.filterAssignableGroups(e),t.membersService.getAllNamespacesRules().subscribe(function(e){t.store.get("allow_empty_sponsor_namespace")&&t.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"}),t.namespaceRules=t.namespaceRules.concat(e),t.namespaceRules.forEach(function(e){return t.namespaceOptions.push(e.namespaceName)}),0===t.namespaceOptions.length?t.functionalityNotSupported=!0:t.usersInfoFormGroup.setValue({namespace:t.namespaceOptions[0],sponsoredMembers:""}),t.loading=!1})},function(){return t.loading=!1}):t.loading=!1},function(){return t.loading=!1})}},{key:"filterAssignableGroups",value:function(t){var e,i=[],n=f(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.hasAttributeEnabled(r.attributes,"synchronizationEnabled")||this.hasAttributeEnabled(r.attributes,"blockManualMemberAdding")||!this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[r])||i.push(r)}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"hasAttributeEnabled",value:function(t,e){return t.some(function(t){return t.friendlyName===e&&null!==t.value&&"true"===t.value.toString()})}},{key:"createOutputObjects",value:function(t){for(var e="",i="",n="",r="",o=[],a=0,s=Object.keys(t);a_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]))}},{key:"onCreate",value:function(){var t=this,e=(0,a.kZ)();e.width="620px",e.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(at,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.authzResolver.getPerunPrincipal().subscribe(function(e){t.storeService.setPerunPrincipal(e),t.refresh()}))})}},{key:"onGenerate",value:function(){var t=this,e=(0,a.kZ)();e.width="750px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(It,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.authzResolver.getPerunPrincipal().subscribe(function(e){t.storeService.setPerunPrincipal(e),t.refresh()}))})}},{key:"onSponsorExistingMember",value:function(){var t=this,e=(0,a.kZ)();e.width="650px",e.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Nt,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.authzResolver.getPerunPrincipal().subscribe(function(e){t.storeService.setPerunPrincipal(e),t.refresh()}))})}},{key:"refresh",value:function(){var t=this;this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.voId,this.attrNames).subscribe(function(e){t.selection.clear(),t.members=e,t.setAuthRights(),t.loading=!1})}},{key:"applyFilter",value:function(t){this.searchString=t}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="VoSponsoredMembersComponent",t.\u0275fac=function(e){return new(e||t)(w.Y36(n.uq),w.Y36(zt.gz),w.Y36(s.uw),w.Y36(u.x4),w.Y36(o.dB),w.Y36(u.d6),w.Y36(n.Ct))},t.\u0275cmp=w.Xpm({type:t,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(t,e){2&t&&w.ekj("router-component",e.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable"]],template:function(t,e){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 e.refresh()}),w.qZA(),w.TgZ(5,"span",2),w.ALo(6,"translate"),w.YNc(7,le,3,5,"button",3),w.qZA(),w.TgZ(8,"mat-menu",null,4),w.YNc(10,he,3,3,"button",5),w.YNc(11,de,3,3,"button",5),w.qZA(),w.YNc(12,fe,3,3,"button",6),w.TgZ(13,"perun-web-apps-immediate-filter",7),w.NdJ("filter",function(t){return e.applyFilter(t)}),w.qZA(),w.YNc(14,pe,1,0,"mat-spinner",8),w.YNc(15,ge,1,5,"app-sponsored-members-list",9),w.qZA()),2&t&&(w.xp6(2),w.Oqu(w.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),w.xp6(3),w.s9C("matTooltip",w.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),w.Q6J("matTooltipDisabled",!(e.findSponsorsAuth&&0===e.voSponsors.length)),w.xp6(2),w.Q6J("ngIf",!e.loading&&(e.createAuth||e.generateAuth)),w.xp6(3),w.Q6J("ngIf",e.createAuth),w.xp6(1),w.Q6J("ngIf",e.generateAuth),w.xp6(1),w.Q6J("ngIf",!e.loading&&e.setSponsorshipAuth),w.xp6(1),w.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),w.xp6(1),w.Q6J("ngIf",e.loading),w.xp6(1),w.Q6J("ngIf",!e.loading))},directives:[Ft.t,x.gM,l.O5,Zt.VK,ct.L,S.lW,Zt.p6,Zt.OP,A.$g,ce],pipes:[_.X$],styles:[""]}),t}()},17249:function(t,e,i){"use strict";i.d(e,{Y:function(){return F}});var n=i(33642),r=i(84140),o=i(88426),a=i(99608),s=i(4230),u=i(84608),c=i(16073),l=i(31572),h=i(48160),d=i(57629),f=i(61511),p=i(67806),g=i(66283),m=i(80340),b=i(15980),w=i(36922);function _(t,e){1&t&&l._UZ(0,"mat-spinner",3)}function A(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"mat-form-field"),l._UZ(3,"input",5),l.ALo(4,"translate"),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"mat-form-field"),l._UZ(9,"input",5),l.ALo(10,"translate"),l.TgZ(11,"mat-error"),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(14,"div",6),l.TgZ(15,"button",7),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"div",8),l.ALo(19,"translate"),l.TgZ(20,"button",9),l.NdJ("click",function(){return l.CHM(i),l.oxw().onSubmit()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),l.Q6J("formControl",n.fullNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),l.xp6(3),l.s9C("placeholder",l.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),l.Q6J("formControl",n.shortNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),l.xp6(4),l.hij(" ",l.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),l.Q6J("matTooltipDisabled",n.shortNameCtrl.valid&&n.fullNameCtrl.valid),l.xp6(2),l.Q6J("disabled",n.shortNameCtrl.invalid||n.fullNameCtrl.invalid),l.xp6(1),l.hij(" ",l.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}var k=function(){var t=function(){function t(e,i,n,r,o,a){var s=this;v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.router=a,o.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(function(t){return s.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.shortNameCtrl=new c.NI(null,[c.kI.required,c.kI.pattern("^[\\w.-]+$"),c.kI.maxLength(33)]),this.fullNameCtrl=new c.NI(null,[c.kI.required,c.kI.pattern(".*[\\S]+.*"),c.kI.maxLength(129)])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(function(e){t.notificator.showSuccess(t.successMessage),t.loading=!1,t.dialogRef.close(!0),t.router.navigate(["/organizations",e.id])},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(u.so),l.Y36(u.WI),l.Y36(o.V6),l.Y36(n.YF),l.Y36(h.sK),l.Y36(d.F0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],["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(t,e){1&t&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,A,23,25,"div",2),l.qZA()),2&t&&(l.Tol(e.theme),l.xp6(2),l.Oqu(l.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),l.xp6(2),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[u.uh,f.O5,p.$g,u.xY,g.KE,m.Nt,c.Fj,c.Q7,c.JJ,c.oH,g.TO,u.H8,b.lW,w.gM],pipes:[h.X$],styles:[""]}),t}(),T=i(60611),C=i(48958),S=i(66297),E=i(43691),x=i(59403),R=i(19139),I=i(97162);function O(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function P(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCreateVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&t&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function D(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onRemoveVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function M(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(t){return l.CHM(i),l.oxw().applyFilter(t)}),l.qZA()}2&t&&l.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function L(t,e){1&t&&l._UZ(0,"mat-spinner",13)}function N(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"perun-web-apps-vos-list",14),l.NdJ("page",function(t){return l.CHM(i),l.oxw().pageChanged(t)}),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("displayedColumns",n.displayedColumns)("filterValue",n.filterValue)("recentIds",n.recentIds)("selection",n.selection)("vos",n.vos)}}var z=function(){return{color:"black"}},F=function(){var t=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this.sideMenuService=e,this.voService=i,this.guiAuthResolver=n,this.tableConfigService=r,this.dialog=o,this.notificator=a,this.apiRequest=s,this.initAuthService=u,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=T.tw}return y(t,[{key:"ngOnInit",value:function(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new s.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}},{key:"ngAfterViewChecked",value:function(){this.sideMenuService.setAccessMenuItems([])}},{key:"refreshTable",value:function(){var t=this;this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(function(e){t.vos=e,t.recentIds=(0,r.vL)("vos"),t.loading=!1},function(e){"PrivilegeException"===e.error.name?(t.vos=[],t.loading=!1):t.notificator.showRPCError(e)})}},{key:"applyFilter",value:function(t){this.filterValue=t}},{key:"onCreateVo",value:function(){var t=this,e=(0,r.kZ)();e.width="600px",e.data={theme:"vo-theme"},this.dialog.open(k,e).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.refreshTable())})}},{key:"onRemoveVo",value:function(){var t=this,e=(0,r.kZ)();e.width="500px",e.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(a.o,e).afterClosed().subscribe(function(e){e&&t.refreshTable()})}},{key:"pageChanged",value:function(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}]),t}();return t.id="VoSelectPageComponent",t.\u0275fac=function(e){return new(e||t)(l.Y36(C.D),l.Y36(n.YF),l.Y36(o.x4),l.Y36(T.dB),l.Y36(u.uw),l.Y36(o.V6),l.Y36(o.F5),l.Y36(o.v0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("router-component",e.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",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,O,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,P,3,3,"button",4),l.YNc(8,D,3,4,"button",5),l.YNc(9,M,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,L,1,0,"mat-spinner",7),l.YNc(11,N,1,6,"perun-web-apps-vos-list",8),l.qZA()),2&t&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,z)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.createAuth),l.xp6(1),l.Q6J("ngIf",!e.loading&&e.deleteAuth),l.xp6(1),l.Q6J("ngIf",!e.loading),l.xp6(1),l.Q6J("ngIf",e.loading),l.xp6(1),l.Q6J("ngIf",!e.loading))},directives:[S.W,E.Hw,f.PC,f.O5,x.t,b.lW,R.L,p.$g,I.Z],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),t}()},15291:function(t,e,i){"use strict";var n=i(30269),r=i(31572),o=i(57629),a=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t}(),s=i(33642),u=i(88426),c=i(84140),l=i(61189),h=i(48958),p=i(48160),g=i(84608),m=i(25122),b=i(29236),w=i(16073),_=i(61511),A=i(43691),k=i(15980),T=i(39571),C=i(71522),S=i(36922);function E(t,e){1&t&&(r.TgZ(0,"app-alert",2),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function x(t,e){if(1&t&&(r.TgZ(0,"div",5),r.TgZ(1,"a",6),r.TgZ(2,"span",7),r._uU(3),r.qZA(),r._UZ(4,"mat-icon",8),r._uU(5),r.qZA(),r.qZA()),2&t){var i=e.$implicit;r.xp6(1),r.Gre("",i.style," item-itself"),r.s9C("matTooltip",i.tooltip),r.Q6J("matTooltipDisabled",i.label===i.tooltip)("routerLink",i.url),r.xp6(2),r.Oqu(i.type),r.xp6(1),r.Q6J("svgIcon",i.cssIcon),r.xp6(1),r.hij(" ",i.label," ")}}function R(t,e){if(1&t&&(r.TgZ(0,"div",3),r.YNc(1,x,6,9,"div",4),r.qZA()),2&t){var i=r.oxw();r.xp6(1),r.Q6J("ngForOf",i.items)}}var I=function(){var t=function(){function t(e,i,n){v(this,t),this.vosManager=e,this.groupsManager=i,this.facilitiesManager=n,this.vosIds=[],this.items=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[]}return y(t,[{key:"ngOnInit",value:function(){var t,e=this,i=(0,c.vL)("recent"),n=f(i);try{for(n.s();!(t=n.n()).done;){var r=t.value;switch(r.type){case"Vo":this.vosIds.push(r.id);break;case"Group":this.groupsIds.push(r.id);break;case"Facility":this.facilitiesIds.push(r.id)}}}catch(o){n.e(o)}finally{n.f()}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.vosManager.getVosByIds(this.vosIds).subscribe(function(t){var n;(n=e.existingRecentIds).push.apply(n,d(t.map(function(t){return t.id}))),e.groupsManager.getGroupsByIds(e.groupsIds).subscribe(function(t){var n;(n=e.existingRecentIds).push.apply(n,d(t.map(function(t){return t.id}))),e.facilitiesManager.getFacilitiesByIds(e.facilitiesIds).subscribe(function(t){var n;(n=e.existingRecentIds).push.apply(n,d(t.map(function(t){return t.id}))),i=i.filter(function(t){return e.existingRecentIds.indexOf(t.id)>-1}),e.addRecentlyViewedToDashboard(i)})})})}},{key:"addRecentlyViewedToDashboard",value:function(t){var e,i=f(t);try{for(i.s();!(e=i.n()).done;){var n=e.value;switch(n.type){case"Vo":this.items.push({cssIcon:"perun-vo",url:"/organizations/".concat(n.id),label:n.name,style:"vo-btn",type:"Organization"});break;case"Group":this.items.push({cssIcon:"perun-group",url:"/organizations/".concat(n.voId,"/groups/").concat(n.id),label:n.name,tooltip:n.fullName,style:"group-btn",type:"Group"});break;case"Facility":this.items.push({cssIcon:"perun-facility-white",url:"/facilities/".concat(n.id),label:n.name,style:"facility-btn",type:"Facility"})}}}catch(r){i.e(r)}finally{i.f()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.YF),r.Y36(s.ff),r.Y36(s.IQ))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:2,vars:2,consts:[["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"matTooltipDisabled","routerLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(r.YNc(0,E,3,3,"app-alert",0),r.YNc(1,R,2,1,"div",1)),2&t&&(r.Q6J("ngIf",0===e.items.length),r.xp6(1),r.Q6J("ngIf",e.items.length>0))},directives:[_.O5,T.w,_.sg,C.wG,o.yS,S.gM,A.Hw],pipes:[p.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}.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;align-items:center;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}"]}),t}(),O=i(67806),P=i(97162),D=i(78364),M=i(88884),L=i(60007);function N(t,e){1&t&&r._UZ(0,"mat-spinner",7)}var z=function(){return["id","recent","shortName","name"]};function F(t,e){if(1&t&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-vos-list",8),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("displayedColumns",r.DdM(5,z))("recentIds",i.recentIds)("vos",i.objects)}}var Z=function(){return["id","recent","vo","name","description"]};function B(t,e){if(1&t&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-groups-list",9),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("groups",i.objects)("recentIds",i.recentIds)("displayedColumns",r.DdM(5,Z))}}var q=function(){return["id","recent","name","vo","facility"]};function U(t,e){if(1&t&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-resources-list",10),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("resources",i.objects)("displayedColumns",r.DdM(6,q))("recentIds",i.recentIds)("routingVo",!0)}}var H=function(){return["id","recent","name","description"]};function j(t,e){if(1&t&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-facilities-list",11),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("facilities",i.objects)("recentIds",i.recentIds)("displayedColumns",r.DdM(5,H))}}function G(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,F,2,6,"span",6),r.YNc(2,B,2,6,"span",6),r.YNc(3,U,2,7,"span",6),r.YNc(4,j,2,6,"span",6),r.qZA()),2&t){var i=r.oxw();r.xp6(1),r.Q6J("ngIf","Vo"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Group"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Resource"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Facility"===i.primaryObject)}}var Y=function(){var t=function(){function t(e,i,n){v(this,t),this.authzResolver=e,this.guiAuthResolver=i,this.resourceService=n,this.loading=!1,this.recentIds=[]}return y(t,[{key:"ngOnInit",value:function(){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()}},{key:"getObjects",value:function(){var t=this;switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(function(e){t.objects=e,t.recentIds=(0,c.vL)("vos"),t.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(function(e){t.objects=e,t.recentIds=(0,c.vL)("groups"),t.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(function(e){t.objects=e,t.recentIds=(0,c.vL)("resources"),t.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(function(e){t.objects=e.map(function(t){return{facility:t}}),t.recentIds=(0,c.vL)("facilities"),t.loading=!1});break;default:this.objects=[],this.loading=!1}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.Ct),r.Y36(u.x4),r.Y36(s.xk))},t.\u0275cmp=r.Xpm({type:t,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","pageSize","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","pageSize","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._UZ(2,"mat-icon",2),r._uU(3),r.ALo(4,"translate"),r.TgZ(5,"span",3),r.ALo(6,"translate"),r.TgZ(7,"mat-icon",4),r._uU(8,"info_outline"),r.qZA(),r.qZA(),r.qZA(),r.YNc(9,N,1,0,"mat-spinner",5),r.YNc(10,G,5,4,"div",6),r.qZA()),2&t&&(r.xp6(2),r.Q6J("svgIcon",e.svgIcon),r.xp6(1),r.hij(" ",r.lcZ(4,5,e.title)," "),r.xp6(2),r.s9C("matTooltip",r.lcZ(6,7,e.roleTooltipInfo)),r.xp6(4),r.Q6J("ngIf",e.loading),r.xp6(1),r.Q6J("ngIf",!e.loading))},directives:[A.Hw,S.gM,_.O5,O.$g,P.Z,D.W,M.C,L.X],pipes:[p.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}"]}),t}(),V=i(22196);function K(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"mat-checkbox",8),r.NdJ("change",function(t){var e=r.CHM(i).$implicit,n=r.oxw();return t?n.changeRoleView(e):null}),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.qZA()}if(2&t){var n=e.$implicit,o=r.oxw();r.xp6(1),r.Q6J("checked",o.isRoleShowed(n)),r.xp6(1),r.Oqu(r.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+n))}}function J(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"button",15),r.NdJ("click",function(){return r.CHM(i),r.oxw(2).rightSettingOpened=!0}),r.TgZ(1,"mat-icon"),r._uU(2,"settings"),r.qZA(),r.qZA()}}function Q(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function W(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function X(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"button",23),r.NdJ("click",function(){return r.CHM(i),r.oxw(3).goToUserProfile()}),r.TgZ(1,"mat-icon",24),r._uU(2,"exit_to_app"),r.qZA(),r._uU(3),r.ALo(4,"translate"),r.qZA()}if(2&t){var n=r.oxw(3);r.xp6(3),r.AsE("",r.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",n.userProfileName," ")}}var $=function(){return["/myProfile"]};function tt(t,e){if(1&t&&(r.TgZ(0,"div"),r.TgZ(1,"div",16),r.TgZ(2,"div",17),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"div",18),r.YNc(6,Q,3,3,"span",14),r.YNc(7,W,3,3,"span",14),r.qZA(),r.TgZ(8,"div",19),r.TgZ(9,"button",20),r._UZ(10,"mat-icon",21),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,X,5,4,"button",22),r.qZA(),r.qZA(),r.qZA()),2&t){var i=r.oxw(2);r.xp6(3),r.hij(" ",r.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),r.xp6(3),r.Q6J("ngIf",!i.userProfileUrl),r.xp6(1),r.Q6J("ngIf",i.userProfileUrl),r.xp6(2),r.Q6J("routerLink",r.DdM(10,$)),r.xp6(2),r.hij(" ",r.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),r.xp6(2),r.Q6J("ngIf",i.userProfileUrl)}}function et(t,e){1&t&&(r.TgZ(0,"span"),r.TgZ(1,"div",3),r._uU(2),r.ALo(3,"translate"),r.qZA(),r._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),r.qZA()),2&t&&(r.xp6(2),r.hij(" ",r.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function it(t,e){1&t&&(r.TgZ(0,"div",27),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function nt(t,e){if(1&t&&r._UZ(0,"app-perun-web-apps-dashboard-card",30),2&t){var i=r.oxw().$implicit,n=r.oxw(3);r.Q6J("roleName",i)("role",n.roles[i])}}function rt(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,nt,1,2,"app-perun-web-apps-dashboard-card",29),r.qZA()),2&t){var i=e.$implicit,n=r.oxw(3);r.xp6(1),r.Q6J("ngIf",n.isRoleShowed(i))}}function ot(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,et,5,3,"span",14),r.YNc(2,it,3,3,"div",25),r.TgZ(3,"div"),r.YNc(4,rt,2,1,"div",26),r.qZA(),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Q6J("ngIf",i.recentlyViewedShow),r.xp6(1),r.Q6J("ngIf",i.rolesToHide.toString()!==i.roleNames.toString()),r.xp6(2),r.Q6J("ngForOf",i.roleNames)}}function at(t,e){if(1&t&&(r.TgZ(0,"div",9),r.TgZ(1,"h1",10),r._UZ(2,"mat-icon",11),r.TgZ(3,"span",12),r._uU(4),r.ALo(5,"translate"),r.ALo(6,"userFullName"),r.qZA(),r.YNc(7,J,3,0,"button",13),r.qZA(),r.YNc(8,tt,14,11,"div",14),r.YNc(9,ot,5,3,"div",14),r.qZA()),2&t){var i=r.oxw();r.xp6(4),r.AsE("",r.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",r.lcZ(6,7,i.user),""),r.xp6(3),r.Q6J("ngIf",!i.isOnlySelfRole),r.xp6(1),r.Q6J("ngIf",i.isOnlySelfRole),r.xp6(1),r.Q6J("ngIf",!i.isOnlySelfRole)}}var st=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l){var h=this;v(this,t),this.userManager=e,this.storeService=i,this.sideMenuService=n,this.route=r,this.router=o,this.notificator=a,this.translateService=s,this.dialog=u,this.apiRequestConfiguration=c,this.utilsService=l,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"],s.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(function(t){return h.mailSuccessMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();var t=Object.keys(this.roles);this.isOnlySelfRole=t.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(function(e){return t.includes(e)}),this.getDashboardSettings(),this.sideMenuService.setHomeItems([])}},{key:"validatePreferredMailChange",value:function(){var t=this,e=this.route.snapshot.queryParamMap,i=e.get("token"),n=e.get("u");i&&n&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(i,Number.parseInt(n,10)).subscribe(function(){t.notificator.showSuccess(t.mailSuccessMessage),t.router.navigate([],{replaceUrl:!0})},function(){var e=(0,c.kZ)();e.width="600px",t.dialog.open(l.qD,e).afterClosed().subscribe(function(){t.getDashboardSettings()})}))}},{key:"goToUserProfile",value:function(){window.open(this.userProfileUrl)}},{key:"recentlyViewedChanged",value:function(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}},{key:"getDashboardSettings",value:function(){var t=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===t||t;var e=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===e?[]:e}},{key:"changeRoleView",value:function(t){if(this.isRoleShowed(t)){var e,i=[],n=f(this.roleNames);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.isRoleShowed(r)||i.push(r),r===t&&i.push(r)}}catch(o){n.e(o)}finally{n.f()}this.rolesToHide=i}else this.rolesToHide=this.rolesToHide.filter(function(e){return e!==t});localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}},{key:"isRoleShowed",value:function(t){var e,i=f(this.rolesToHide);try{for(i.s();!(e=i.n()).done;){if(e.value===t)return!1}}catch(n){i.e(n)}finally{i.f()}return!0}},{key:"getUserProfile",value:function(){var t=this;this.utilsService.getAppsConfig().subscribe(function(e){t.userProfileUrl=e.brands[0].newApps.profile?e.brands[0].newApps.profile:null}),this.userProfileName=this.storeService.get("profile_label_en")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.Fv),r.Y36(u.d6),r.Y36(h.D),r.Y36(o.gz),r.Y36(o.F0),r.Y36(u.V6),r.Y36(p.sK),r.Y36(g.uw),r.Y36(u.F5),r.Y36(s.FW))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("router-component",e.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"],[1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(t,e){1&t&&(r.TgZ(0,"mat-sidenav-container",0),r.TgZ(1,"mat-sidenav",1),r.NdJ("openedChange",function(t){return e.rightSettingOpened=t}),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"div"),r.TgZ(7,"mat-checkbox",4),r.NdJ("ngModelChange",function(t){return e.recentlyViewedShow=t})("change",function(t){return t?e.recentlyViewedChanged():null}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.qZA(),r.TgZ(10,"div",5),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,K,4,4,"div",6),r.qZA(),r.qZA(),r.TgZ(14,"mat-sidenav-content"),r.YNc(15,at,10,9,"div",7),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Q6J("opened",e.rightSettingOpened),r.xp6(3),r.Oqu(r.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),r.xp6(3),r.Q6J("ngModel",e.recentlyViewedShow),r.xp6(1),r.Oqu(r.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),r.xp6(3),r.Oqu(r.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),r.xp6(2),r.Q6J("ngForOf",e.roleNames),r.xp6(2),r.Q6J("ngIf",void 0!==e.user))},directives:[m.TM,m.JX,b.oG,w.JJ,w.On,_.sg,m.Rh,_.O5,A.Hw,k.lW,o.rH,I,Y],pipes:[p.X$,V.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;grid-column-gap:1rem;-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 - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),t}(),ut=i(66297),ct=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"perun-web-apps-back-button"),r.TgZ(2,"h1",1),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(3),r.Oqu(r.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[ut.W],pipes:[p.X$],styles:[""]}),t}(),lt=i(41939),ht=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_.ez,k.ot,A.Ps,o.Bz,lt.ez,p.aw]]}),t}(),dt=function(){var t=function(){function t(e){v(this,t),this.auth=e}return y(t,[{key:"startAuth",value:function(){this.auth.startAuthentication()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.e8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con","vo-theme"],[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(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h4",3),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.startAuth()}),r._uU(7),r.ALo(8,"translate"),r.TgZ(9,"mat-icon"),r._uU(10," login "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(4),r.hij(" ",r.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),r.xp6(3),r.hij(" ",r.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[k.lW,A.Hw],pipes:[p.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t}(),ft=i(16306),pt=function(t){return{padding:t}},gt=function(){return{height:"56px"}};function vt(t,e){if(1&t&&(r.TgZ(0,"div",9),r._UZ(1,"div",10),r.qZA()),2&t){var i=r.oxw();r.Q6J("ngStyle",r.VKq(3,pt,i.logoPadding)),r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)("ngStyle",r.DdM(5,gt))}}function mt(t,e){if(1&t&&(r.TgZ(0,"div",11),r._UZ(1,"div",12),r._UZ(2,"mat-icon",13),r.qZA()),2&t){var i=r.oxw();r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)}}function yt(t,e){if(1&t&&(r.TgZ(0,"div",14),r._UZ(1,"a",15),r.qZA()),2&t){var i=r.oxw();r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)}}var bt=function(t){return{color:t}};function wt(t,e){if(1&t&&(r.TgZ(0,"p",16),r._uU(1),r.qZA()),2&t){var i=r.oxw();r.Q6J("ngStyle",r.VKq(2,bt,i.textColor)),r.xp6(1),r.hij(" ",i.headerTitle," ")}}var _t=function(t,e){return{background:t,color:e}},At=function(t,e){return{"min-height":t,"background-color":e}},kt=function(){var t=function(){function t(e,i){v(this,t),this.storeService=e,this.sanitizer=i,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}return y(t,[{key:"ngOnInit",value:function(){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"):"",this.logoPadding="admin-gui"===this.application?this.storeService.get("logo_padding"):""}},{key:"getContentInnerMinHeight",value:function(){return"calc((100vh - 64px) + 0px)"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.d6),r.Y36(n.H7))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["style","padding-top: 16px",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"],[3,"ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],[2,"display","flex","flex-direction","row"],[1,"router-icon-scale",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[2,"padding-top","16px"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,vt,2,6,"div",1),r.YNc(2,mt,3,1,"div",2),r.YNc(3,yt,2,1,"div",3),r.YNc(4,wt,2,4,"p",4),r.qZA(),r.TgZ(5,"div",5),r.TgZ(6,"div",6),r.TgZ(7,"div",7),r._UZ(8,"router-outlet"),r.qZA(),r.TgZ(9,"div",8),r._UZ(10,"perun-web-apps-footer"),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("ngStyle",r.WLB(6,_t,e.headerBackgroundColor,e.headerTextColor)),r.xp6(1),r.Q6J("ngIf","admin-gui"===e.application),r.xp6(1),r.Q6J("ngIf","publications"===e.application),r.xp6(1),r.Q6J("ngIf","user-profile"===e.application),r.xp6(1),r.Q6J("ngIf",!!e.headerTitle),r.xp6(2),r.Q6J("ngStyle",r.WLB(9,At,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[_.PC,_.O5,o.lC,ft.$,A.Hw],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}.router-icon-scale[_ngcontent-%COMP%]{transform:scale(.75);margin-top:.3rem}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),t}(),Tt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:lt.t$},{path:"api-callback",component:a},{path:"login",component:dt},{path:"organizations",loadChildren:function(){return Promise.all([i.e(579),i.e(827),i.e(901),i.e(427)]).then(i.bind(i,67427)).then(function(t){return t.VosModule})}},{path:"admin",loadChildren:function(){return Promise.all([i.e(579),i.e(363),i.e(756),i.e(901),i.e(285)]).then(i.bind(i,1285)).then(function(t){return t.AdminModule})}},{path:"facilities",loadChildren:function(){return Promise.all([i.e(579),i.e(363),i.e(827),i.e(756),i.e(300)]).then(i.bind(i,55300)).then(function(t){return t.FacilitiesModule})}},{path:"myProfile",loadChildren:function(){return Promise.all([i.e(579),i.e(363)]).then(i.bind(i,6363)).then(function(t){return t.UsersModule})}},{path:"home",component:st},{path:"**",component:ct}],Ct=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.Bz.forRoot(Tt,{preloadingStrategy:o.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],o.Bz]}),t}(),St=i(61601),Et=i(28780),xt=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";v(this,t),this.http=e,this.prefix=i,this.suffix=n}return y(t,[{key:"getTranslation",value:function(t){return this.http.get("".concat(this.prefix).concat(t).concat(this.suffix))}}]),t}(),Rt=i(29063),It=i(43490),Ot=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[u.e8],imports:[[_.ez]]}),t}(),Pt=i(28940),Dt=i(48002),Mt=i(40659),Lt=i(62284),Nt=i(7433),zt=i(82044),Ft=i(11930),Zt=i(39124),Bt=i(64467),qt=i(81835),Ut=i(88227),Ht=i(97397),jt=i(71313),Gt=i(14527),Yt=i(65423),Vt=i(17249),Kt=i(73916),Jt=i(48666),Qt=function(){var t=function(){function t(){v(this,t),this.allowCachePages=[{type:"vo",components:[Pt.y.id,Dt.G.id,Mt.c.id,Ut.z.id,Ht.z.id,Gt.w.id,Jt.T.id]},{type:"group",components:[Ft.y.id,zt.u.id,Nt.q.id,Lt.W.id,Yt.Z.id]},{type:"facility",components:[Zt.o.id,Bt.f.id]},{type:"member",components:[qt.j.id]},{type:"admin",components:[jt.t.id]},{type:"entitySelect",components:[Vt.Y.id,Kt.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;var e,i=f(this.allowCachePages);try{for(i.s();!(e=i.n()).done;){var n=e.value;this.typeToComponentToHandlers.set(n.type,new Map)}}catch(r){i.e(r)}finally{i.f()}}return y(t,[{key:"setLastNavigationType",value:function(t){this.isUserNavigatingBack="back"===t}},{key:"checkResets",value:function(t){var e,i=this.getPath(t),n=f(this.resets);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.resetPath===i){var o=t.params[r.param];null!==r.lastValue&&r.lastValue!==o&&this.typeToComponentToHandlers.get(r.resetType).clear(),r.lastValue=o}}}catch(a){n.e(a)}finally{n.f()}}},{key:"shouldReuseRoute",value:function(t,e){return this.checkResets(e),t.routeConfig===e.routeConfig}},{key:"retrieve",value:function(t){if(t.component){var e,i=this.getComponentName(t.component),n=f(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(-1!==r.components.indexOf(i)){var o=this.typeToComponentToHandlers.get(r.type).get(i);return void 0===o?null:o.routeHandle}}}catch(a){n.e(a)}finally{n.f()}}return null}},{key:"shouldAttach",value:function(t){if(!this.isUserNavigatingBack)return!1;if(t.component){var e,i=this.getComponentName(t.component),n=f(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value,o=this.typeToComponentToHandlers.get(r.type).get(i);if(void 0!==o&&this.getCurrentTimestamp()-o.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();var i=this.getComponentType(t);this.typeToComponentToHandlers.get(i).set(this.getComponentName(t.component),{routeHandle:e,saveTimeStamp:this.getCurrentTimestamp()})}}},{key:"getCurrentTimestamp",value:function(){return+Date.now()}},{key:"getComponentName",value:function(t){return t.id}},{key:"getComponentType",value:function(t){var e,i=this.getComponentName(t.component),n=f(this.allowCachePages);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(-1!==r.components.indexOf(i))return r.type}}catch(o){n.e(o)}finally{n.f()}return null}},{key:"getPath",value:function(t){return null!==t.routeConfig&&null!==t.routeConfig.path?t.routeConfig.path:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Wt=new r.OlP("perun-api-service"),Xt=function(){var t=function(){function t(e,i){v(this,t),this.http=e,this.storeService=i}return y(t,[{key:"initializeColors",value:function(t,e){var i=this;return new Promise(function(n){e.forEach(function(t){var e=i.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(function(t){var e=i.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),i.setEntityTheme(t.entity,e)}),n()})}},{key:"setEntityTheme",value:function(t,e){for(var i,n=0,r=(i=e,[$t(tinycolor(i).lighten(52),"50"),$t(tinycolor(i).lighten(37),"100"),$t(tinycolor(i).lighten(26),"200"),$t(tinycolor(i).lighten(12),"300"),$t(tinycolor(i).lighten(6),"400"),$t(tinycolor(i),"500"),$t(tinycolor(i).darken(6),"600"),$t(tinycolor(i).darken(12),"700"),$t(tinycolor(i).darken(18),"800"),$t(tinycolor(i).darken(24),"900"),$t(tinycolor(i).lighten(50).saturate(30),"A100"),$t(tinycolor(i).lighten(30).saturate(30),"A200"),$t(tinycolor(i).lighten(10).saturate(15),"A400"),$t(tinycolor(i).lighten(5).saturate(5),"A700")]);nt[o]-t[a]-1&&(t.reach[u]="end"),e&&(h.dispatchEvent(Re("ps-scroll-"+u)),e<0?h.dispatchEvent(Re("ps-scroll-"+c)):e>0&&h.dispatchEvent(Re("ps-scroll-"+l)),n&&function(t,e){Te(t,e),Ce(t,e)}(t,u)),t.reach[u]&&(e||r)&&h.dispatchEvent(Re("ps-"+u+"-reach-"+t.reach[u]))}(t,i,o,n,r)}function Oe(t){return parseInt(t,10)||0}xe.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new Se(t),this.eventElements.push(e)),e},xe.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},xe.prototype.unbind=function(t,e,i){var n=this.eventElement(t);n.unbind(e,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},xe.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},xe.prototype.once=function(t,e,i){var n=this.eventElement(t);n.bind(e,function t(r){n.unbind(e,t),i(r)})};var Pe={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function De(t){var e=t.element,i=Math.floor(e.scrollTop),n=e.getBoundingClientRect();t.containerWidth=Math.ceil(n.width),t.containerHeight=Math.ceil(n.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(ye(e,we("x")).forEach(function(t){return me(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(ye(e,we("y")).forEach(function(t){return me(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var i={width:e.railXWidth},n=Math.floor(t.scrollTop);i.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-n:i.top=e.scrollbarXTop+n,fe(e.scrollbarXRail,i);var r={top:n,height:e.railYHeight};e.isScrollbarYUsingRight?r.right=e.isRtl?e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:e.scrollbarYRight-t.scrollLeft:r.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:e.scrollbarYLeft+t.scrollLeft,fe(e.scrollbarYRail,r),fe(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),fe(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(_e("x")):(e.classList.remove(_e("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(_e("y")):(e.classList.remove(_e("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function Me(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function Le(t,e){var i=e[0],n=e[1],r=e[2],o=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],h=t.element,d=null,f=null,p=null;function g(e){e.touches&&e.touches[0]&&(e[r]=e.touches[0].pageY),h[u]=d+p*(e[r]-f),Te(t,c),De(t),e.stopPropagation(),e.preventDefault()}function v(){Ce(t,c),t[l].classList.remove("ps--clicking"),t.event.unbind(t.ownerDocument,"mousemove",g)}function m(e,a){d=h[u],a&&e.touches&&(e[r]=e.touches[0].pageY),f=e[r],p=(t[n]-t[i])/(t[o]-t[s]),a?t.event.bind(t.ownerDocument,"touchmove",g):(t.event.bind(t.ownerDocument,"mousemove",g),t.event.once(t.ownerDocument,"mouseup",v),e.preventDefault()),t[l].classList.add("ps--clicking"),e.stopPropagation()}t.event.bind(t[a],"mousedown",function(t){m(t)}),t.event.bind(t[a],"touchstart",function(t){m(t,!0)})}var Ne={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var i=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top;t.element.scrollTop+=(i>t.scrollbarYTop?1:-1)*t.containerHeight,De(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var i=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left;t.element.scrollLeft+=(i>t.scrollbarXLeft?1:-1)*t.containerWidth,De(t),e.stopPropagation()})},"drag-thumb":function(t){Le(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Le(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(ve(e,":hover")||ve(t.scrollbarX,":focus")||ve(t.scrollbarY,":focus"))){var n,r=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(ve(n=r,"input,[contenteditable]")||ve(n,"select,[contenteditable]")||ve(n,"textarea,[contenteditable]")||ve(n,"button,[contenteditable]"))return}var o=0,a=0;switch(i.which){case 37:o=i.metaKey?-t.contentWidth:i.altKey?-t.containerWidth:-30;break;case 38:a=i.metaKey?t.contentHeight:i.altKey?t.containerHeight:30;break;case 39:o=i.metaKey?t.contentWidth:i.altKey?t.containerWidth:30;break;case 40:a=i.metaKey?-t.contentHeight:i.altKey?-t.containerHeight:-30;break;case 32:a=i.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:a=t.containerHeight;break;case 34:a=-t.containerHeight;break;case 36:a=t.contentHeight;break;case 35:a=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==a||(e.scrollTop-=a,e.scrollLeft+=o,De(t),function(i,n){var r=Math.floor(e.scrollTop);if(0===i){if(!t.scrollbarYActive)return!1;if(0===r&&n>0||r>=t.contentHeight-t.containerHeight&&n<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===n){if(!t.scrollbarXActive)return!1;if(0===o&&i<0||o>=t.contentWidth-t.containerWidth&&i>0)return!t.settings.wheelPropagation}return!0}(o,a)&&i.preventDefault())}})},wheel:function(t){var e=t.element;function i(i){var n=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}(i),r=n[0],o=n[1];if(!function(t,i,n){if(!Pe.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains("ps__child--consume"))return!0;var o=de(r);if(n&&o.overflowY.match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var s=r.scrollWidth-r.clientWidth;if(s>0&&(r.scrollLeft>0&&i<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(i.target,r,o)){var a=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?e.scrollTop-=o*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,a=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=o*t.settings.wheelSpeed,a=!0):(e.scrollTop-=o*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),De(t),(a=a||function(i,n){var r=Math.floor(e.scrollTop),o=0===e.scrollTop,a=r+e.offsetHeight===e.scrollHeight,s=0===e.scrollLeft,u=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(n)>Math.abs(i)?o||a:s||u)||!t.settings.wheelPropagation}(r,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",i):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",i)},touch:function(t){if(Pe.supportsTouch||Pe.supportsIePointer){var e=t.element,i={},n=0,r={},o=null;Pe.supportsTouch?(t.event.bind(e,"touchstart",c),t.event.bind(e,"touchmove",l),t.event.bind(e,"touchend",h)):Pe.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",c),t.event.bind(e,"pointermove",l),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",c),t.event.bind(e,"MSPointerMove",l),t.event.bind(e,"MSPointerUp",h)))}function a(i,n){e.scrollTop-=n,e.scrollLeft-=i,De(t)}function s(t){return t.targetTouches?t.targetTouches[0]:t}function u(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function c(t){if(u(t)){var e=s(t);i.pageX=e.pageX,i.pageY=e.pageY,n=(new Date).getTime(),null!==o&&clearInterval(o)}}function l(o){if(u(o)){var c=s(o),l={pageX:c.pageX,pageY:c.pageY},h=l.pageX-i.pageX,d=l.pageY-i.pageY;if(function(t,i,n){if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains("ps__child--consume"))return!0;var o=de(r);if(n&&o.overflowY.match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var s=r.scrollWidth-r.clientWidth;if(s>0&&(r.scrollLeft>0&&i<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(o.target,h,d))return;a(h,d),i=l;var f=(new Date).getTime(),p=f-n;p>0&&(r.x=h/p,r.y=d/p,n=f),function(i,n){var r=Math.floor(e.scrollTop),o=e.scrollLeft,a=Math.abs(i),s=Math.abs(n);if(s>a){if(n<0&&r===t.contentHeight-t.containerHeight||n>0&&0===r)return 0===window.scrollY&&n>0&&Pe.isChrome}else if(a>s&&(i<0&&o===t.contentWidth-t.containerWidth||i>0&&0===o))return!0;return!0}(h,d)&&o.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){t.isInitialized?clearInterval(o):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(o):(a(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(o)},10))}}},ze=function(t,e){var i=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var n in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[n]=e[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r,o,a=function(){return t.classList.add("ps--focus")},s=function(){return t.classList.remove("ps--focus")};this.isRtl="rtl"===de(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=o,r),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new xe,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=pe(we("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=pe(be("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var u=de(this.scrollbarXRail);this.scrollbarXBottom=parseInt(u.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Oe(u.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Oe(u.borderLeftWidth)+Oe(u.borderRightWidth),fe(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Oe(u.marginLeft)+Oe(u.marginRight),fe(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=pe(we("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=pe(be("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=de(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Oe(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=de(t);return Oe(e.width)+Oe(e.paddingLeft)+Oe(e.paddingRight)+Oe(e.borderLeftWidth)+Oe(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Oe(c.borderTopWidth)+Oe(c.borderBottomWidth),fe(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Oe(c.marginTop)+Oe(c.marginBottom),fe(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return Ne[t](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return i.onScroll(t)}),De(this)};ze.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,fe(this.scrollbarXRail,{display:"block"}),fe(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Oe(de(this.scrollbarXRail).marginLeft)+Oe(de(this.scrollbarXRail).marginRight),this.railYMarginHeight=Oe(de(this.scrollbarYRail).marginTop)+Oe(de(this.scrollbarYRail).marginBottom),fe(this.scrollbarXRail,{display:"none"}),fe(this.scrollbarYRail,{display:"none"}),De(this),Ie(this,"top",0,!1,!0),Ie(this,"left",0,!1,!0),fe(this.scrollbarXRail,{display:""}),fe(this.scrollbarYRail,{display:""}))},ze.prototype.onScroll=function(t){this.isAlive&&(De(this),Ie(this,"top",this.element.scrollTop-this.lastScrollTop),Ie(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ze.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),me(this.scrollbarX),me(this.scrollbarY),me(this.scrollbarXRail),me(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ze.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var Fe=ze,Ze=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some(function(t,n){return t[0]===e&&(i=n,!0)}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i0},t.prototype.connect_=function(){Be&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),je?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Be&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;He.some(function(t){return!!~i.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Ye=function(t,e){for(var i=0,n=Object.keys(e);i0},t}(),ii="undefined"!=typeof WeakMap?new WeakMap:new Ze,ni=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=Ge.getInstance(),n=new ei(e,i,this);ii.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){ni.prototype[t]=function(){var e;return(e=ii.get(this))[t].apply(e,arguments)}});var ri=void 0!==qe.ResizeObserver?qe.ResizeObserver:ni;function oi(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r._UZ(2,"div",5),r._UZ(3,"div",6),r._UZ(4,"div",7),r.qZA()),2&t){var i=r.oxw();r.ekj("ps-at-top",i.states.top)("ps-at-left",i.states.left)("ps-at-right",i.states.right)("ps-at-bottom",i.states.bottom),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorY&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorX&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorX&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorY&&i.interaction)}}var ai=["*"],si=new r.OlP("PERFECT_SCROLLBAR_CONFIG"),ui=function t(e,i,n,r){v(this,t),this.x=e,this.y=i,this.w=n,this.h=r},ci=function t(e,i){v(this,t),this.x=e,this.y=i},li=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],hi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,t),this.assign(e)}return y(t,[{key:"assign",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var e in t)this[e]=t[e]}}]),t}(),di=function(){var t=function(){function t(e,i,n,o,a){v(this,t),this.zone=e,this.differs=i,this.elementRef=n,this.platformId=o,this.defaults=a,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new oe.xQ,this.disabled=!1,this.psScrollY=new r.vpe,this.psScrollX=new r.vpe,this.psScrollUp=new r.vpe,this.psScrollDown=new r.vpe,this.psScrollLeft=new r.vpe,this.psScrollRight=new r.vpe,this.psYReachEnd=new r.vpe,this.psYReachStart=new r.vpe,this.psXReachEnd=new r.vpe,this.psXReachStart=new r.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=this;if(!this.disabled&&(0,_.NF)(this.platformId)){var e=new hi(this.defaults);e.assign(this.config),this.zone.runOutsideAngular(function(){t.instance=new Fe(t.elementRef.nativeElement,e)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(function(){t.ro=new ri(function(){t.update()}),t.elementRef.nativeElement.children[0]&&t.ro.observe(t.elementRef.nativeElement.children[0]),t.ro.observe(t.elementRef.nativeElement)}),this.zone.runOutsideAngular(function(){li.forEach(function(e){var i=e.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())});(0,ae.R)(t.elementRef.nativeElement,i).pipe((0,ue.e)(20),(0,ce.R)(t.ngDestroy)).subscribe(function(i){t[e].emit(i)})})})}}},{key:"ngOnDestroy",value:function(){var t=this;(0,_.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(function(){t.instance&&t.instance.destroy()}),this.instance=null)}},{key:"ngDoCheck",value:function(){!this.disabled&&this.configDiff&&(0,_.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}},{key:"ngOnChanges",value:function(t){t.disabled&&!t.disabled.isFirstChange()&&(0,_.NF)(this.platformId)&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.ngOnDestroy():!1===t.disabled.currentValue&&this.ngOnInit())}},{key:"ps",value:function(){return this.instance}},{key:"update",value:function(){var t=this;"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(function(){if(!t.disabled&&t.configDiff)try{t.zone.runOutsideAngular(function(){t.instance&&t.instance.update()})}catch(e){}},0))}},{key:"geometry",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";return new ui(this.elementRef.nativeElement[t+"Left"],this.elementRef.nativeElement[t+"Top"],this.elementRef.nativeElement[t+"Width"],this.elementRef.nativeElement[t+"Height"])}},{key:"position",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!t&&this.instance?new ci(this.instance.reach.x||0,this.instance.reach.y||0):new ci(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}},{key:"scrollable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any",e=this.elementRef.nativeElement;return"any"===t?e.classList.contains("ps--active-x")||e.classList.contains("ps--active-y"):"both"===t?e.classList.contains("ps--active-x")&&e.classList.contains("ps--active-y"):e.classList.contains("ps--active-"+t)}},{key:"scrollTo",value:function(t,e,i){this.disabled||(null==e&&null==i?this.animateScrolling("scrollTop",t,i):(null!=t&&this.animateScrolling("scrollLeft",t,i),null!=e&&this.animateScrolling("scrollTop",e,i)))}},{key:"scrollToX",value:function(t,e){this.animateScrolling("scrollLeft",t,e)}},{key:"scrollToY",value:function(t,e){this.animateScrolling("scrollTop",t,e)}},{key:"scrollToTop",value:function(t,e){this.animateScrolling("scrollTop",t||0,e)}},{key:"scrollToLeft",value:function(t,e){this.animateScrolling("scrollLeft",t||0,e)}},{key:"scrollToRight",value:function(t,e){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(t||0),e)}},{key:"scrollToBottom",value:function(t,e){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(t||0),e)}},{key:"scrollToElement",value:function(t,e,i){var n=this.elementRef.nativeElement.querySelector(t);if(n){var r=n.getBoundingClientRect(),o=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",r.left-o.left+this.elementRef.nativeElement.scrollLeft+(e||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",r.top-o.top+this.elementRef.nativeElement.scrollTop+(e||0),i)}}},{key:"animateScrolling",value:function(t,e,i){var n=this;if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(e!==this.elementRef.nativeElement[t]){var r=0,o=0,a=performance.now(),s=this.elementRef.nativeElement[t],u=(s-e)/2;window.requestAnimationFrame(function c(l){o+=Math.PI/(i/(l-a)),r=Math.round(e+u+u*Math.cos(o)),n.elementRef.nativeElement[t]===s&&(o>=Math.PI?n.animateScrolling(t,e,0):(n.elementRef.nativeElement[t]=r,s=n.elementRef.nativeElement[t],a=l,n.animation=window.requestAnimationFrame(c)))})}}else this.elementRef.nativeElement[t]=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Lbi),r.Y36(si,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[r.TTD]}),t=(0,re.gn)([(0,re.fM)(3,(0,r.tBr)(r.Lbi)),(0,re.fM)(4,(0,r.FiY)()),(0,re.fM)(4,(0,r.tBr)(si))],t)}(),fi=function(){var t=function(){function t(e,i,n){v(this,t),this.zone=e,this.cdRef=i,this.platformId=n,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new oe.xQ,this.stateUpdate=new oe.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new r.vpe,this.psScrollX=new r.vpe,this.psScrollUp=new r.vpe,this.psScrollDown=new r.vpe,this.psScrollLeft=new r.vpe,this.psScrollRight=new r.vpe,this.psYReachEnd=new r.vpe,this.psYReachStart=new r.vpe,this.psXReachEnd=new r.vpe,this.psXReachStart=new r.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=this;(0,_.NF)(this.platformId)&&(this.stateUpdate.pipe((0,ce.R)(this.ngDestroy),(0,le.x)(function(e,i){return e===i&&!t.stateTimeout})).subscribe(function(e){t.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(t.stateTimeout),t.stateTimeout=null),"x"===e||"y"===e?(t.interaction=!1,"x"===e?(t.indicatorX=!1,t.states.left=!1,t.states.right=!1,t.autoPropagation&&t.usePropagationX&&(t.allowPropagationX=!1)):"y"===e&&(t.indicatorY=!1,t.states.top=!1,t.states.bottom=!1,t.autoPropagation&&t.usePropagationY&&(t.allowPropagationY=!1))):("left"===e||"right"===e?(t.states.left=!1,t.states.right=!1,t.states[e]=!0,t.autoPropagation&&t.usePropagationX&&(t.indicatorX=!0)):"top"!==e&&"bottom"!==e||(t.states.top=!1,t.states.bottom=!1,t.states[e]=!0,t.autoPropagation&&t.usePropagationY&&(t.indicatorY=!0)),t.autoPropagation&&"undefined"!=typeof window&&(t.stateTimeout=window.setTimeout(function(){t.indicatorX=!1,t.indicatorY=!1,t.stateTimeout=null,t.interaction&&(t.states.left||t.states.right)&&(t.allowPropagationX=!0),t.interaction&&(t.states.top||t.states.bottom)&&(t.allowPropagationY=!0),t.cdRef.markForCheck()},500))),t.cdRef.markForCheck(),t.cdRef.detectChanges()}),this.zone.runOutsideAngular(function(){if(t.directiveRef){var e=t.directiveRef.elementRef.nativeElement;(0,ae.R)(e,"wheel").pipe((0,ce.R)(t.ngDestroy)).subscribe(function(e){!t.disabled&&t.autoPropagation&&t.checkPropagation(e,e.deltaX,e.deltaY)}),(0,ae.R)(e,"touchmove").pipe((0,ce.R)(t.ngDestroy)).subscribe(function(e){if(!t.disabled&&t.autoPropagation){var i=e.touches[0].clientX,n=e.touches[0].clientY;t.checkPropagation(e,i-t.scrollPositionX,n-t.scrollPositionY),t.scrollPositionX=i,t.scrollPositionY=n}}),(0,se.T)((0,ae.R)(e,"ps-scroll-x").pipe((0,he.h)("x")),(0,ae.R)(e,"ps-scroll-y").pipe((0,he.h)("y")),(0,ae.R)(e,"ps-x-reach-end").pipe((0,he.h)("right")),(0,ae.R)(e,"ps-y-reach-end").pipe((0,he.h)("bottom")),(0,ae.R)(e,"ps-x-reach-start").pipe((0,he.h)("left")),(0,ae.R)(e,"ps-y-reach-start").pipe((0,he.h)("top"))).pipe((0,ce.R)(t.ngDestroy)).subscribe(function(e){t.disabled||!t.autoPropagation&&!t.scrollIndicators||t.stateUpdate.next(e)})}}),window.setTimeout(function(){li.forEach(function(e){t.directiveRef&&(t.directiveRef[e]=t[e])})},0))}},{key:"ngOnDestroy",value:function(){(0,_.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}},{key:"ngDoCheck",value:function(){if((0,_.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){var t=this.directiveRef.elementRef.nativeElement;this.usePropagationX=t.classList.contains("ps--active-x"),this.usePropagationY=t.classList.contains("ps--active-y")}}},{key:"checkPropagation",value:function(t,e,i){this.interaction=!0;var n=e<0?-1:1,r=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==n)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==r))&&(t.preventDefault(),t.stopPropagation()),e&&(this.scrollDirectionX=n),i&&(this.scrollDirectionY=r),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.Lbi))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perfect-scrollbar"]],viewQuery:function(t,e){var i;(1&t&&r.Gf(di,7),2&t)&&(r.iGM(i=r.CRH())&&(e.directiveRef=i.first))},hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("ps-show-limits",e.autoPropagation)("ps-show-active",e.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:ai,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,oi,5,16,"div",2),r.qZA()),2&t&&(r.ekj("ps",e.usePSClass),r.Q6J("perfectScrollbar",e.config)("disabled",e.disabled),r.xp6(3),r.Q6J("ngIf",e.scrollIndicators))},directives:[di,_.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],encapsulation:2}),t=(0,re.gn)([(0,re.fM)(2,(0,r.tBr)(r.Lbi))],t)}(),pi=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_.ez],_.ez]}),t}(),gi=i(17),vi=i(11418);function mi(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"perun-web-apps-notification",2),r.NdJ("closeNotification",function(){var t=r.CHM(i).index;return r.oxw().removeNotification(t)}),r.qZA(),r.qZA()}if(2&t){var n=e.$implicit;r.Q6J("@flyInOut",void 0),r.xp6(1),r.Q6J("data",n)("newNotification",!0)}}var yi=function(t){return{top:t}},bi=function(){var t=function(){function t(e,i){var n=this;v(this,t),this.notificator=e,this.notificationStorageService=i,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(function(t){n.processNotification(t)}),this.getScreenSize()}return y(t,[{key:"getScreenSize",value:function(){this.mobileView=window.innerWidth<=this.minWidth}},{key:"processNotification",value:function(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}},{key:"getNotificatorTop",value:function(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}},{key:"removeNotification",value:function(t){this.notifications.splice(t,1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.V6),r.Y36(u.SZ))},t.\u0275cmp=r.Xpm({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&r.NdJ("resize",function(t){return e.getScreenSize(t)},!1,r.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,mi,2,3,"div",1),r.qZA()),2&t&&(r.Q6J("ngStyle",r.VKq(2,yi,e.getNotificatorTop())),r.xp6(1),r.Q6J("ngForOf",e.notifications))},directives:[_.PC,_.sg,vi.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;bottom:0}}"],data:{animation:[gi.Pd]}}),t}(),wi=i(4253);function _i(t,e){if(1&t&&(r.TgZ(0,"div",9),r._UZ(1,"perun-web-apps-notification",10),r.qZA()),2&t){var i=e.$implicit;r.xp6(1),r.Q6J("data",i)("inDialog",!0)}}function Ai(t,e){if(1&t&&(r.TgZ(0,"div",6),r.TgZ(1,"cdk-virtual-scroll-viewport",7),r.YNc(2,_i,2,2,"div",8),r.qZA(),r.qZA()),2&t){var i=r.oxw();r.xp6(2),r.Q6J("cdkVirtualForOf",i.notifications)}}function ki(t,e){1&t&&(r.TgZ(0,"app-alert",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}var Ti=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.notificationStorageService=i}return y(t,[{key:"ngOnInit",value:function(){this.notifications=this.notificationStorageService.getNotifications()}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onClear",value:function(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(g.so),r.Y36(u.SZ))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,Ai,3,1,"div",1),r.YNc(4,ki,3,3,"app-alert",2),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return e.onClear()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r.NdJ("click",function(){return e.onCancel()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.Oqu(r.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),r.xp6(2),r.Q6J("ngIf",0!==e.notifications.length),r.xp6(1),r.Q6J("ngIf",0===e.notifications.length),r.xp6(3),r.hij(" ",r.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),r.xp6(3),r.hij(" ",r.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[g.uh,_.O5,g.H8,k.lW,wi.N7,wi.xd,wi.x0,vi.c,T.w],pipes:[p.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),t}(),Ci=i(41050),Si=i(66438);function Ei(t,e){1&t&&(r.TgZ(0,"div",11),r.TgZ(1,"span",12),r._uU(2," ~ \ud83d\uddf2\xa0 "),r.qZA(),r.TgZ(3,"span",13),r._uU(4," DEVEL "),r.qZA(),r.TgZ(5,"span",12),r._uU(6," \xa0\ud83d\uddf2 ~ "),r.qZA(),r.qZA())}var xi=function(t){return{color:t}},Ri=function(){return["/"]},Ii=function(t){return{padding:t}},Oi=function(){return{height:"56px"}},Pi=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l){v(this,t),this.storeService=e,this.authService=i,this.authzResolverService=n,this.dialog=r,this.notificator=o,this.translateService=a,this.store=s,this.sanitizer=u,this.notificationStorageService=c,this.utilsService=l,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.logoPadding=this.storeService.get("logo_padding"),this.isDevel=!1}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.isDevel=this.storeService.get("isDevel"),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.utilsService.getAppsConfig().subscribe(function(e){t.profileUrl=e.brands[0].newApps.profile?e.brands[0].newApps.profile:null})}},{key:"showNotificationHistory",value:function(){this.notificationStorageService.newNotificationsCount=0;var t=(0,c.kZ)();t.width="520px",this.dialog.open(Ti,t)}},{key:"getNewNotificationsCount",value:function(){return this.notificationStorageService.newNotificationsCount}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(u.d6),r.Y36(u.e8),r.Y36(s.Ct),r.Y36(g.uw),r.Y36(u.V6),r.Y36(p.sK),r.Y36(u.d6),r.Y36(n.H7),r.Y36(u.SZ),r.Y36(s.FW))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:14,vars:33,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",3,"routerLink","ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],["logoContainer",""],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"button",1),r.NdJ("click",function(){return e.sideNav.toggle()}),r.TgZ(2,"mat-icon",2),r._uU(3," menu "),r.qZA(),r.qZA(),r.TgZ(4,"a",3),r._UZ(5,"div",4,5),r.qZA(),r.qZA(),r.YNc(7,Ei,7,0,"div",6),r.TgZ(8,"div",7),r.TgZ(9,"button",8),r.NdJ("click",function(){return e.showNotificationHistory()}),r.ALo(10,"translate"),r.TgZ(11,"mat-icon",9),r._uU(12),r.qZA(),r.qZA(),r._UZ(13,"perun-web-apps-header-menu",10),r.qZA()),2&t&&(r.Q6J("ngStyle",r.VKq(21,xi,e.navTextColor)),r.xp6(2),r.Q6J("ngStyle",r.VKq(23,xi,e.iconColor)),r.xp6(2),r.Q6J("routerLink",r.DdM(25,Ri))("ngStyle",r.VKq(26,Ii,e.logoPadding)),r.xp6(1),r.Q6J("innerHTML",e.logo,r.oJD)("ngStyle",r.DdM(28,Oi)),r.xp6(2),r.Q6J("ngIf",e.isDevel),r.xp6(1),r.Q6J("ngStyle",r.VKq(29,xi,e.navTextColor)),r.xp6(1),r.Q6J("matTooltip",r.lcZ(10,19,"NAV.NOTIFICATIONS_TOOLTIP")),r.xp6(2),r.s9C("matBadge",e.getNewNotificationsCount()>5?"5+":e.getNewNotificationsCount()),r.Q6J("ngStyle",r.VKq(31,xi,e.iconColor))("matBadgeHidden",0===e.getNewNotificationsCount()),r.xp6(1),r.hij(" ",e.getNewNotificationsCount()?"notifications_active":"notifications"," "),r.xp6(1),r.Q6J("url",e.profileUrl)("label",e.profileLabel)("user",e.principal.user)("logoutEnabled",e.logoutEnabled)("iconColor",e.iconColor)("textColor",e.navTextColor))},directives:[_.PC,k.lW,A.Hw,o.yS,_.O5,S.gM,Ci.k,Si.X],pipes:[p.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%] [_ngcontent-%COMP%]::slotted(svg){height:56px}#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}"]}),t}(),Di=i(24081),Mi={provide:Rt.TP,useExisting:(0,r.Gpc)(function(){return u.yC}),multi:!0};function Li(t){return new xt(t,"./assets/i18n/",".json")}function Ni(t){var e={basePath:t.get("api_url")};return new s.VK(e)}var zi=function(t){return function(){return t.initialize()}},Fi={suppressScrollX:!0},Zi=function(){var t=function t(e,i){v(this,t),this.customIconService=e,this.translate=i,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()};return t.\u0275fac=function(e){return new(e||t)(r.LFG(u.EB),r.LFG(p.sK))},t.\u0275mod=r.oAB({type:t,bootstrap:[St.y]}),t.\u0275inj=r.cJS({providers:[ie,{provide:r.ip1,useFactory:zi,multi:!0,deps:[ie]},{provide:s.VK,useFactory:Ni,deps:[u.d6]},{provide:o.wN,useClass:Qt},u.EB,{provide:Wt,useClass:u.sM},u.yC,Mi,{provide:si,useValue:Fi}],imports:[[It.PW,n.b2,Rt.JF,Et.m,Ot,Ct,A.Ps,ne,p.aw.forRoot({loader:{provide:p.Zw,useFactory:Li,deps:[Rt.eN]}}),s.au,pi,lt.ez,ht]]}),t}();r.B6R(St.y,[_.O5,A.Hw,bi,Pi,_.PC,m.TM,m.JX,fi,Di.V,m.Rh,o.lC,ft.$,kt],[]),(0,r.G48)(),n.q6().bootstrapModule(Zi).catch(function(t){return console.error(t)})},7423:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(61511),r=i(31572),o=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[n.ez]]}),t}()},13857:function(t,e,i){"use strict";i.d(e,{Rc:function(){return r},pI:function(){return o},Ng:function(){return a}});var n=i(31572),r="GUI_CONFIG.PREF_PAGE_SIZE",o="GUI_CONFIG.PREF_PAGE_SIZE.",a=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"getString",value:function(t){return localStorage.getItem(t)}},{key:"getNumber",value:function(t){return parseInt(localStorage.getItem(t),10)}},{key:"setNumber",value:function(t,e){localStorage.setItem(t,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},60611:function(t,e,i){"use strict";i.d(e,{dB:function(){return o},CP:function(){return a},tw:function(){return s},nT:function(){return u},YF:function(){return c},gc:function(){return l},v1:function(){return h},AA:function(){return d},VR:function(){return f},uM:function(){return p},xx:function(){return g},H2:function(){return m},xt:function(){return b},dI:function(){return w},j1:function(){return _},Wv:function(){return A},qy:function(){return k},BV:function(){return T},qV:function(){return C},tY:function(){return S},Af:function(){return E},O7:function(){return x},gB:function(){return R},Hi:function(){return I},Jf:function(){return O},W1:function(){return P},rF:function(){return D},Aj:function(){return M},Ad:function(){return L},kZ:function(){return N},cL:function(){return z},RS:function(){return F},HC:function(){return Z},KE:function(){return B},Sb:function(){return q},_7:function(){return U},bf:function(){return H},rc:function(){return j},Cf:function(){return G},eq:function(){return Y},NG:function(){return V},O9:function(){return K},d7:function(){return J},vq:function(){return Q},NL:function(){return W},kO:function(){return X},aL:function(){return $},DR:function(){return tt},uC:function(){return et},JO:function(){return it},oK:function(){return nt},Iz:function(){return rt},It:function(){return ot},z6:function(){return at},iQ:function(){return st},e5:function(){return ut},Bf:function(){return ct},zp:function(){return lt},US:function(){return ht},gG:function(){return dt},$V:function(){return ft},S7:function(){return pt},zW:function(){return gt},CE:function(){return vt},Is:function(){return mt},M8:function(){return yt},g:function(){return bt},_c:function(){return wt}});var n=i(13857),r=i(31572),o=function(){var t=function(){function t(e){v(this,t),this.guiConfigService=e}return y(t,[{key:"getTablePageSize",value:function(t){var e=this.guiConfigService.getNumber(n.pI+t);if(!isNaN(e))return e;var i=this.guiConfigService.getNumber(n.Rc);return isNaN(i)?10:i}},{key:"setTablePageSize",value:function(t,e){this.guiConfigService.setNumber(n.pI+t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(n.Ng))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),a="0",s="1",u="2",c="3",l="4",h="5",d="6",f="7",p="8",g="9",m="10",b="11",w="12",_="13",A="14",k="15",T="16",C="17",S="18",E="19",x="20",R="21",I="22",O="23",P="24",D="25",M="26",L="27",N="28",z="29",F="30",Z="31",B="32",q="33",U="34",H="35",j="36",G="37",Y="42",V="43",K="44",J="45",Q="46",W="47",X="48",$="49",tt="50",et="51",it="52",nt="53",rt="54",ot="55",at="56",st="57",ut="58",ct="59",lt="62",ht="63",dt="64",ft="65",pt="66",gt="69",vt="71",mt="72",yt="75",bt="76",wt="77"},17:function(t,e,i){"use strict";i.d(e,{Ji:function(){return s},Pd:function(){return o},BQ:function(){return r},Ly:function(){return a},GH:function(){return l},Ls:function(){return h},SG:function(){return c},es:function(){return u}});var n=i(10709),r=(0,n.X$)("openClose",[(0,n.SB)("open",(0,n.oB)({overflow:"hidden"})),(0,n.SB)("closed",(0,n.oB)({height:"0px",overflow:"hidden"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),o=(0,n.X$)("flyInOut",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".5s",(0,n.oB)({transform:"translateX(100%)"}))])]),a=(0,n.X$)("rollInOut",[(0,n.eR)(":enter",[(0,n.oB)({height:"0px"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".25s",(0,n.oB)({height:"0px"}))])]),s=(0,n.X$)("routeAnimations",[(0,n.eR)("* => *",[(0,n.oB)({position:"relative"}),(0,n.IO)(":enter",[(0,n.oB)({width:"100%",opacity:0})],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({position:"absolute",width:"100%",opacity:1}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,n.IO)(":enter",[(0,n.oB)({position:"absolute",width:"100%",opacity:0}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),u=(0,n.X$)("tagsOpenClose",[(0,n.SB)("open",(0,n.oB)({})),(0,n.SB)("closed",(0,n.oB)({width:"0px",height:"0px"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),c=(0,n.X$)("switchAnimations",[(0,n.eR)("true => false",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(-100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,n.eR)("false => true",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),l=(0,n.X$)("slideInOutLeft",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),h=(0,n.X$)("slideInOutRight",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)",position:"fixed"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(100%)"}))])])},41939:function(t,e,i){"use strict";i.d(e,{Mw:function(){return B.M},Sx:function(){return it.S},Nj:function(){return tt},ez:function(){return Z},t$:function(){return et}});var n=i(61511),r=i(29236),a=i(67033),u=i(48160),c=i(57629),l=i(58623),h=i(73005),d=i(67806),f=i(22727),p=i(43691),g=i(8055),m=i(15980),b=i(36922),w=i(66283),_=i(16073),A=i(80340),k=i(10033),T=i(88975),C=i(71522),S=i(22280),E=i(81391),x=i(91010),R=i(15812),I=i(54810),O=i(4786),P=i(30146),D=i(4253),M=i(84608),L=i(84140),N=i(31572),z=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"format",value:function(t,e){return"input"===e?"".concat(t.getDate().toString(),".").concat((t.getMonth()+1).toString(),".").concat(t.getFullYear()):t.toDateString()}}]),i}(C.LF);return e.\u0275fac=function(i){return(t||(t=N.n5z(e)))(i||e)},e.\u0275prov=N.Yz7({token:e,factory:e.\u0275fac}),e}(),F={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"}}},Z=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=N.oAB({type:t}),t.\u0275inj=N.cJS({providers:[{provide:C._A,useClass:z},{provide:C.sG,useValue:F}],imports:[[n.ez,r.p9,a.p0,_.u5,k.Hi,T._t,u.aw,c.Bz,l.JX,h.TU,d.Cq,f.r,p.Ps,g.Tx,m.ot,b.AV,w.lN,_.UX,A.c,C.si,S.d4,E.Iq,x.dp,R.FA,I.Fk,C.Ng,O.LD,P.Co,D.Cl,M.Is,L.Je]]}),t}();i(41186);var B=i(51556),q=(i(76021),i(84584),i(22230),i(33596),i(88884),i(11418),i(23888),i(33642)),U=i(88426),H=i(39571),j=i(83787);function G(t,e){1&t&&(N.TgZ(0,"app-alert"),N._uU(1),N.ALo(2,"translate"),N.ALo(3,"customTranslate"),N.qZA()),2&t&&(N.xp6(1),N.Oqu(N.lcZ(2,1,N.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function Y(t,e){1&t&&(N.TgZ(0,"th",15),N._uU(1),N.ALo(2,"translate"),N.ALo(3,"customTranslate"),N.qZA()),2&t&&(N.xp6(1),N.Oqu(N.lcZ(2,1,N.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function V(t,e){if(1&t&&(N.TgZ(0,"td",16),N._uU(1),N.qZA()),2&t){var i=e.$implicit;N.xp6(1),N.Oqu(i.friendlyNameParameter)}}function K(t,e){1&t&&(N.TgZ(0,"th",15),N._uU(1),N.ALo(2,"translate"),N.ALo(3,"customTranslate"),N.qZA()),2&t&&(N.xp6(1),N.Oqu(N.lcZ(2,1,N.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function J(t,e){if(1&t&&(N.TgZ(0,"td",17),N._uU(1),N.qZA()),2&t){var i=e.$implicit;N.xp6(1),N.Oqu(i.value)}}function Q(t,e){1&t&&N._UZ(0,"th",15)}function W(t,e){if(1&t){var i=N.EpF();N.TgZ(0,"td",18),N.TgZ(1,"button",19),N.NdJ("click",function(){var t=N.CHM(i).$implicit;return N.oxw().changePassword(t.friendlyNameParameter)}),N._uU(2),N.ALo(3,"translate"),N.ALo(4,"customTranslate"),N.qZA(),N.qZA()}if(2&t){var n=e.$implicit,r=N.oxw();N.xp6(1),N.Q6J("disabled",!r.logins.includes(n)),N.xp6(1),N.Oqu(N.lcZ(3,2,N.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function X(t,e){1&t&&N._UZ(0,"tr",20)}function $(t,e){1&t&&N._UZ(0,"tr",21)}var tt=function(){var t=function(){function t(e,i){v(this,t),this.attributesManagerService=e,this.store=i,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","change"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(function(e){var i=t.nameSpaces.map(function(t){var e=t.split(":");return e[e.length-1]});t.logins=e.filter(function(t){return i.includes(t.friendlyNameParameter)}),t.dataSource=new a.by(e)})}},{key:"changePassword",value:function(t){var e=this.store.get("pwd_reset_base_url");location.href="".concat(e,"?login-namespace=").concat(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(N.Y36(q.H8),N.Y36(U.d6))},t.\u0275cmp=N.Xpm({type:t,selectors:[["perun-web-apps-password-reset"]],decls:20,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","change"],["mat-cell","",4,"matCellDef"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(N.TgZ(0,"h1",0),N._uU(1),N.ALo(2,"translate"),N.ALo(3,"customTranslate"),N.qZA(),N.YNc(4,G,4,5,"app-alert",1),N.TgZ(5,"div",2),N.TgZ(6,"div",3),N.TgZ(7,"div",4),N.TgZ(8,"table",5),N.ynx(9,6),N.YNc(10,Y,4,5,"th",7),N.YNc(11,V,2,1,"td",8),N.BQk(),N.ynx(12,9),N.YNc(13,K,4,5,"th",7),N.YNc(14,J,2,1,"td",10),N.BQk(),N.ynx(15,11),N.YNc(16,Q,1,0,"th",7),N.YNc(17,W,5,6,"td",12),N.BQk(),N.YNc(18,X,1,0,"tr",13),N.YNc(19,$,1,0,"tr",14),N.qZA(),N.qZA(),N.qZA(),N.qZA()),2&t&&(N.xp6(1),N.Oqu(N.lcZ(2,5,N.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),N.xp6(3),N.Q6J("ngIf",!e.logins.length),N.xp6(4),N.Q6J("dataSource",e.dataSource),N.xp6(10),N.Q6J("matHeaderRowDef",e.displayedColumns),N.xp6(1),N.Q6J("matRowDefColumns",e.displayedColumns))},directives:[n.O5,a.BZ,l.YE,a.w1,a.fO,a.Dz,a.as,a.nj,H.w,a.ge,a.ev,m.lW,a.XQ,a.Gk],pipes:[u.X$,j.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t}(),et=function(){var t=function(){function t(e,i,n,r){v(this,t),this.router=e,this.route=i,this.location=n,this.forceRoute=r}return y(t,[{key:"ngOnInit",value:function(){var t=this;"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(function(e){t.router.navigate([e.redirectTo])}):this.location.back()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(N.Y36(c.F0),N.Y36(c.gz),N.Y36(n.Ye),N.Y36(U.xw))},t.\u0275cmp=N.Xpm({type:t,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),t}();i(78364),i(11441),i(16306),i(43005);var it=i(30725);i(66438)},30725:function(t,e,i){"use strict";i.d(e,{S:function(){return a},Y:function(){return s}});var n=i(31572),r=(i(33642),i(48160)),o=i(44973),a={},s=function(){var t=function t(e){var i=this;v(this,t),this.translate=e,this.item=null,this.itemSelected=new n.vpe,this.nameFunction=function(t){return t===a?i.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):t.shortname},this.secondaryFunction=function(t){return t===a?"":t.id<0?i.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+t.id},this.searchFunction=function(t){return t===a?"":t.shortname+t.id}};return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.sK))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.itemSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.items)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.secondaryFunction)("entity",e.item)("disableAutoSelect",!0)("selectPlaceholder",n.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[o.i],pipes:[r.X$],styles:[""]}),t}()},76021:function(t,e,i){"use strict";i.d(e,{u:function(){return h}});var n=i(31572),r=i(84140),o=i(61511),a=i(29236),s=i(16073),u=i(66283);function c(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-checkbox",2),n.NdJ("change",function(){return n.CHM(i),n.oxw()._sendEventToParent()})("ngModelChange",function(t){return n.CHM(i),n.oxw().attribute.value=t}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("ngModel",r.attribute.value)}}function l(t,e){if(1&t&&(n.TgZ(0,"mat-label"),n._uU(1),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Oqu(i.attribute.value)}}var h=function(){var t=function(){function t(){v(this,t),this.readonly=!1,this.sendEventToParent=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=(0,r.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,c,1,1,"mat-checkbox",0),n.YNc(2,l,2,1,"mat-label",1),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",!e.readonly),n.xp6(1),n.Q6J("ngIf",e.readonly))},directives:[o.O5,a.oG,s.JJ,s.On,u.hX],styles:[""]}),t}()},84584:function(t,e,i){"use strict";i.d(e,{H:function(){return S}});var n=i(31572),r=i(75842),o=i(88975),a=i(61189),s=i(84140),u=i(84608),c=i(10033),l=i(61511),h=i(43691),d=i(36922),f=i(15980),p=i(66283),g=i(80340);function m(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-icon",9),n.NdJ("mousedown",function(){return n.CHM(i),n.oxw(2).dragDisabled=!1}),n._uU(1,"drag_indicator"),n.qZA()}}function b(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-icon",10),n.NdJ("click",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw().edit(t)}),n._uU(1,"edit"),n.qZA()}}function w(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-icon",11),n.NdJ("click",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw().remove(t)}),n._uU(1,"cancel"),n.qZA()}}function _(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-chip",4),n.NdJ("removed",function(){var t=n.CHM(i).$implicit,e=n.oxw();return e.remove(t),e._sendEventToParent()}),n.YNc(1,m,2,0,"mat-icon",5),n.TgZ(2,"div",6),n.NdJ("click",function(){var t=n.CHM(i).$implicit,e=n.oxw();return e.readonly&&void 0!==e.attribute.displayName&&e.showValue(t,e.attribute.displayName)}),n._uU(3),n.qZA(),n.YNc(4,b,2,0,"mat-icon",7),n.YNc(5,w,2,0,"mat-icon",8),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.Q6J("selectable",o.selectable)("cdkDragData",r)("removable",o.removable),n.xp6(1),n.Q6J("ngIf",o.removable),n.xp6(1),n.ekj("cursor-pointer",o.readonly&&void 0!==o.attribute.displayName),n.xp6(1),n.Oqu(r),n.xp6(1),n.Q6J("ngIf",o.removable),n.xp6(1),n.Q6J("ngIf",o.removable)}}function A(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function k(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function T(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"div",12),n.TgZ(1,"span",13),n.TgZ(2,"button",14),n.NdJ("click",function(){return n.CHM(i),n.oxw().onShowChange()}),n.YNc(3,A,2,0,"mat-icon",15),n.YNc(4,k,2,0,"mat-icon",15),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("matTooltip",r.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(2),n.Q6J("ngIf",!r.showMore),n.xp6(1),n.Q6J("ngIf",r.showMore)}}function C(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-form-field",12),n.TgZ(1,"input",16),n.NdJ("matChipInputTokenEnd",function(t){return n.CHM(i),n.oxw().add(t)})("change",function(){return n.CHM(i),n.oxw()._sendEventToParent()}),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(),o=n.MAs(2);n.xp6(1),n.Q6J("matChipInputFor",o)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("matChipInputAddOnBlur",r.addOnBlur)}}var S=function(){var t=function(){function t(e){v(this,t),this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[r.K5,r.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.vpe,this.readonly=!1}return y(t,[{key:"ngOnInit",value:function(){this.removable=!(0,s.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"add",value:function(t){var e=t.input,i=t.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),e&&(e.value=""),this.sendEventToParent.emit()}},{key:"remove",value:function(t){var e=this,i=(0,s.kZ)();i.width="400px",i.data={name:t},this.dialog.open(a.Wr,i).afterClosed().subscribe(function(i){if(i){var n=e.attribute.value.indexOf(t);e.attribute.value.splice(n,1),e.values=Object.values(e.attribute.value),e.sendEventToParent.emit()}})}},{key:"drop",value:function(t){this.dragDisabled=!0,(0,o.bA)(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}},{key:"edit",value:function(t){var e=this,i=this.attribute.value.indexOf(t),n=(0,s.kZ)();n.width="600px",n.data={attribute:this.attribute,index:i},this.dialog.open(a.r2,n).afterClosed().subscribe(function(t){t&&(e.values=Object.values(e.attribute.value),e.sendEventToParent.emit())})}},{key:"showValue",value:function(t,e){var i=(0,s.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(a.mk,i)}},{key:"setItemsShown",value:function(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.setItemsShown()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.uw))},t.\u0275cmp=n.Xpm({type:t,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"mat-chip-list",0,1),n.NdJ("cdkDropListDropped",function(t){return e.drop(t),e._sendEventToParent()}),n.YNc(3,_,6,9,"mat-chip",2),n.YNc(4,T,5,4,"div",3),n.YNc(5,C,2,3,"mat-form-field",3),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.Q6J("cdkDropListDisabled",e.dragDisabled),n.xp6(2),n.Q6J("ngForOf",e.values.slice(0,e.itemsShown)),n.xp6(1),n.Q6J("ngIf",e.values.length>e.defaultItemsShown),n.xp6(1),n.Q6J("ngIf",!e.readonly))},directives:[c.qn,o.Wj,l.sg,l.O5,c.HS,o.Zt,h.Hw,d.gM,f.lW,p.KE,g.Nt,c.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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t}()},22230:function(t,e,i){"use strict";i.d(e,{$:function(){return k}});var n=i(61189),o=i(84140),a=i(31572),s=i(84608),u=i(16073),c=i(61511),l=i(36922),h=i(66283),d=i(80340),f=i(15980),p=i(43691);function g(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"button",15),a.NdJ("click",function(){a.CHM(i);var t=a.oxw().index;return a.oxw().removeValue(t)}),a.TgZ(1,"mat-icon"),a._uU(2," indeterminate_check_box "),a.qZA(),a.qZA()}}function m(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div",9),a.TgZ(1,"mat-form-field",10),a._UZ(2,"label",11),a.TgZ(3,"input",12),a.NdJ("click",function(){var t=a.CHM(i).index,e=a.oxw();return e.readonly&&e.attribute.displayName&&e.showValue(e.keys[t],e.attribute.displayName)})("ngModelChange",function(t){var e=a.CHM(i).index;return a.oxw().keys[e]=t}),a.qZA(),a.qZA(),a.TgZ(4,"mat-form-field",10),a._UZ(5,"label",11),a.TgZ(6,"input",13),a.NdJ("click",function(){var t=a.CHM(i).$implicit,e=a.oxw();return e.readonly&&void 0!==e.attribute.displayName&&e.showValue(t,e.attribute.displayName)})("ngModelChange",function(t){var e=a.CHM(i).index;return a.oxw().values[e]=t}),a.qZA(),a.qZA(),a.YNc(7,g,3,0,"button",14),a.qZA()}if(2&t){var n=e.index,r=a.oxw();a.xp6(1),a.s9C("appearance",r.readonly?"none":"standard"),a.xp6(1),a.hYB("for","",r.attribute.id,"-key-",n,""),a.xp6(1),a.ekj("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),a.hYB("id","",r.attribute.id,"-key-",n,""),a.MGl("name","key-",n,""),a.Q6J("ngModel",r.keys[n])("readonly",r.readonly),a.xp6(1),a.s9C("appearance",r.readonly?"none":"standard"),a.xp6(1),a.hYB("for","",r.attribute.id,"-value-",n,""),a.xp6(1),a.ekj("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),a.MGl("name","value-",n,""),a.hYB("id","",r.attribute.id,"-value-",n,""),a.Q6J("readonly",r.readonly)("ngModel",r.values[n]),a.xp6(1),a.Q6J("ngIf",!r.readonly)}}function b(t,e){1&t&&(a.TgZ(0,"mat-icon"),a._uU(1,"more_horiz"),a.qZA())}function w(t,e){1&t&&(a.TgZ(0,"mat-icon"),a._uU(1,"keyboard_arrow_up"),a.qZA())}function _(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"button",16),a.NdJ("click",function(){return a.CHM(i),a.oxw().onShowChange()}),a.YNc(1,b,2,0,"mat-icon",17),a.YNc(2,w,2,0,"mat-icon",17),a.qZA()}if(2&t){var n=a.oxw();a.xp6(1),a.Q6J("ngIf",!n.showMore),a.xp6(1),a.Q6J("ngIf",n.showMore)}}function A(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"button",18),a.NdJ("click",function(){return a.CHM(i),a.oxw().addValue()}),a.TgZ(1,"mat-icon"),a._uU(2," add_box "),a.qZA(),a.qZA()}}var k=function(){var t=function(){function t(e){v(this,t),this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}return y(t,[{key:"ngOnInit",value:function(){if(void 0!==this.attribute.value)for(var t=this.attribute.value,e=0,i=Object.entries(t);ethis.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}},{key:"removeValue",value:function(t){this.keys.splice(t,1),this.values.splice(t,1)}},{key:"updateAttribute",value:function(){for(var t={},e=0;ee.defaultItemsShown),a.xp6(1),a.Q6J("ngIf",!e.readonly))},directives:[u._Y,u.JL,u.F,c.sg,l.gM,c.O5,h.KE,d.Nt,u.Fj,u.Q7,u.JJ,u.On,f.lW,p.Hw],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}"]}),t}()},33596:function(t,e,i){"use strict";i.d(e,{_:function(){return l}});var n=i(31572),r=i(84140),o=i(61189),a=i(84608),s=i(66283),u=i(80340),c=i(16073),l=function(){var t=function(){function t(e){v(this,t),this.dialog=e,this.readonly=!1,this.sendEventToParent=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,r.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(t,e){var i=(0,r.kZ)();i.width="350px",i.data={value:t,title:e},this.dialog.open(o.mk,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.uw))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.value&&e.showValue(e.value,e.attribute.displayName)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[s.KE,u.Nt,c.Fj,c.JJ,c.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t}()},51556:function(t,e,i){"use strict";i.d(e,{M:function(){return T}});var n=i(31572),r=i(22230),o=i(61511),a=i(76021),s=i(84584),u=i(33596),c=i(84140),l=i(61189),h=i(84608),d=i(66283),f=i(80340),p=i(16073),g=function(){var t=function(){function t(e){v(this,t),this.dialog=e,this.readonly=!1,this.sendEventToParent=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(t){var e=(0,c.kZ)();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(l.mk,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(h.uw))},t.\u0275cmp=n.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(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return e.readonly&&void 0!==e.attribute.value&&e.showValue(e.attribute)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),n.qZA(),n.qZA()),2&t&&(n.s9C("appearance",e.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",e.readonly&&void 0!==e.attribute.value),n.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[d.KE,f.Nt,p.wV,p.Fj,p.JJ,p.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t}(),m=["map"];function b(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-boolean",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function w(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-list",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function _(t,e){if(1&t&&n._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&t){var i=n.oxw();n.Q6J("attribute",i.attribute)("readonly",i.readonly)}}function A(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-string",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function k(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-integer",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}var T=function(){var t=function(){function t(){v(this,t),this.readonly=!1,this.sendEventToParent2=new n.vpe}return y(t,[{key:"updateMapAttribute",value:function(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}},{key:"_sendEventToParent2",value:function(){this.sendEventToParent2.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(m,5),2&t)&&(n.iGM(i=n.CRH())&&(e.mapComponent=i.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(t,e){1&t&&(n.TgZ(0,"div"),n.YNc(1,b,1,2,"perun-web-apps-attribute-value-boolean",0),n.YNc(2,w,1,2,"perun-web-apps-attribute-value-list",0),n.TgZ(3,"div",1),n.NdJ("click",function(){return e._sendEventToParent2()}),n.YNc(4,_,2,2,"perun-web-apps-attribute-value-map",2),n.qZA(),n.YNc(5,A,1,2,"perun-web-apps-attribute-value-string",0),n.YNc(6,k,1,2,"perun-web-apps-attribute-value-integer",0),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","java.lang.Boolean"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.util.ArrayList"===e.attribute.type),n.xp6(2),n.Q6J("ngIf","java.util.LinkedHashMap"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.Integer"===e.attribute.type))},directives:[o.O5,a.u,s.H,r.$,u._,g],styles:[""]}),t}()},41186:function(t,e,i){"use strict";i.d(e,{p:function(){return M}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(51556),u=i(84140),c=i(88426),l=i(82819),h=i(61511),d=i(29236),p=i(36922),g=i(39571),m=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return"virt"===t.namespace.split(":")[4]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"isVirtualAttribute",type:t,pure:!0}),t}(),b=i(48160);function w(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"th",15),n.TgZ(1,"mat-checkbox",16),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw();return t?e.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())("aria-label",r.checkboxLabel())}}function _(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",17),n.TgZ(1,"mat-checkbox",18),n.NdJ("click",function(t){return t.stopPropagation()})("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null}),n.ALo(2,"isVirtualAttribute"),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("checked",o.selection.isSelected(r))("disabled",n.lcZ(2,3,r)||!r.writable)("aria-label",o.checkboxLabel(r))}}function A(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function k(t,e){if(1&t&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function T(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function C(t,e){if(1&t&&(n.TgZ(0,"td",20),n.TgZ(1,"div",21),n._uU(2),n.qZA(),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.s9C("matTooltip",r.getAttributeFullName(i)),n.xp6(1),n.hij(" ",i.displayName," ")}}function S(t,e){1&t&&(n.TgZ(0,"th",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function E(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"perun-web-apps-attribute-value",22),n.NdJ("sendEventToParent2",function(){var t=n.CHM(i).$implicit;return n.oxw().onValueChange(t)}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("attribute",r)("readonly",o.readonly||!r.writable)}}function x(t,e){1&t&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.description)}}function I(t,e){1&t&&n._UZ(0,"tr",23)}function O(t,e){if(1&t&&(n._UZ(0,"tr",24),n.ALo(1,"translate")),2&t){var i=e.$implicit,r=n.oxw();n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.Q6J("matTooltipPosition","before")("matTooltipDisabled",i.writable||r.readonly)}}function P(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function D(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}var M=function(){var t=function(){function t(e,i){v(this,t),this.authResolver=e,this.tableCheckbox=i,this.attributes=[],this.selection=new a.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.vpe,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=u.f7}return y(t,[{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.dataSource=new o.by((0,u.MX)(this.attributes)),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"displayName":return t.displayName;case"description":return t.description;case"value":return JSON.stringify(t.value);default:return""}}},{key:"exportData",value:function(t){(0,u.O6)((0,u.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.displayedColumns=this.displayedColumns.filter(function(e){return!t.hiddenColumns.includes(e)}),this.dataSource&&(this.dataSource.filterPredicate=function(e,i){return(0,u.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,u.pR)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"updateMapAttributes",value:function(){var t,e=f(this.items.toArray());try{for(e.s();!(t=e.n()).done;){var i=t.value;"java.util.LinkedHashMap"===i.attribute.type&&i.updateMapAttribute()}}catch(n){e.e(n)}finally{e.f()}}},{key:"onValueChange",value:function(t){this.canBeSelected(t)&&this.selection.select(t)}},{key:"canBeSelected",value:function(t){return!(0,u.Hm)(t)&&t.writable}},{key:"getAttributeFullName",value:function(t){return"".concat(t.namespace,":").concat(t.friendlyName)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.x4),n.Y36(c.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(u.l9,7),n.Gf(s.M,5)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first),n.iGM(i=n.CRH())&&(e.items=i))},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,w,2,3,"th",4),n.YNc(5,_,3,5,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,3,3,"th",7),n.YNc(8,k,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,T,3,3,"th",7),n.YNc(11,C,3,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,S,3,3,"th",4),n.YNc(14,E,2,2,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,x,3,3,"th",7),n.YNc(17,R,2,1,"td",9),n.BQk(),n.YNc(18,I,1,0,"tr",12),n.YNc(19,O,2,5,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,P,3,3,"app-alert",14),n.YNc(21,D,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.data.length))},directives:[l.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,d.oG,o.ev,r.nU,p.gM,s.M,o.XQ,o.Gk,g.w],pipes:[m,b.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),t}()},66297:function(t,e,i){"use strict";i.d(e,{W:function(){return h}});var n=i(88426),r=i(31572),o=i(61511),a=i(15980),s=i(36922),u=i(43691),c=i(48160),l=function(t){return{color:t}},h=function(){var t=function(){function t(e,i){v(this,t),this.location=e,this.storeService=i}return y(t,[{key:"ngOnInit",value:function(){this.backButtonColor=this.storeService.get("theme","backButtonColor")}},{key:"goBack",value:function(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.Ye),r.Y36(n.d6))},t.\u0275cmp=r.Xpm({type:t,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(t,e){1&t&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return e.goBack()}),r.ALo(1,"translate"),r.TgZ(2,"mat-icon",1),r._uU(3,"arrow_right_alt"),r.qZA(),r.qZA()),2&t&&(r.s9C("matTooltip",r.lcZ(1,2,"Back")),r.Q6J("ngStyle",r.VKq(4,l,e.backButtonColor)))},directives:[a.lW,o.PC,s.gM,u.Hw],pipes:[c.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),t}()},43005:function(t,e,i){"use strict";i.d(e,{r:function(){return p}});var n=i(31572),r=i(16073),o=i(88426),a=i(66283),s=i(80340),u=i(61511),c=i(29236),l=i(37665),h=i(48160);function d(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-checkbox",7),n.NdJ("change",function(){return n.CHM(i),n.oxw().emitAsSubGroup()})("ngModelChange",function(t){return n.CHM(i),n.oxw().asSubgroup=t}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("labelPosition","before")("ngModel",r.asSubgroup),n.xp6(1),n.hij(" ",n.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function f(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-group-search-select",8),n.NdJ("groupSelected",function(t){return n.CHM(i),n.oxw().emitParentGroup(t)}),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("disableAutoSelect",!0)("groups",r.voGroups)}}var p=function(){var t=function(){function t(e){v(this,t),this.store=e,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("groupNameErrorMessage"),this.secondaryRegex=this.store.get("groupNameSecondaryRegex"),this.nameChanged=new n.vpe,this.descriptionChanged=new n.vpe,this.parentGroupChanged=new n.vpe,this.asSubgroupChanged=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new r.NI("",[r.kI.required,r.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),r.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new r.NI("",[r.kI.required,r.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(function(t){return"members"!==t.name})}},{key:"emitName",value:function(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}},{key:"emitDescription",value:function(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}},{key:"emitParentGroup",value:function(t){this.selectedParent=t,this.parentGroupChanged.emit(t)}},{key:"emitAsSubGroup",value:function(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(o.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"mat-form-field",1),n.NdJ("keyup",function(){return e.emitName()}),n.TgZ(2,"label",2),n._UZ(3,"input",3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"mat-error"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("keyup",function(){return e.emitDescription()}),n.TgZ(9,"label",2),n._UZ(10,"textarea",3),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"mat-error"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.qZA(),n.YNc(15,d,3,5,"mat-checkbox",5),n.YNc(16,f,1,2,"perun-web-apps-group-search-select",6),n.qZA()),2&t&&(n.xp6(3),n.s9C("placeholder",n.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),n.Q6J("formControl",e.nameControl),n.xp6(3),n.hij(" ",e.invalidNameMessage.length?e.invalidNameMessage:n.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),n.xp6(4),n.s9C("placeholder",n.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),n.Q6J("formControl",e.descriptionControl),n.xp6(3),n.hij(" ",n.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),n.xp6(2),n.Q6J("ngIf",e.isNotSubGroup),n.xp6(1),n.Q6J("ngIf",e.asSubgroup))},directives:[a.KE,s.Nt,r.Fj,r.Q7,r.JJ,r.oH,a.TO,u.O5,c.oG,r.On,l.h],pipes:[h.X$],styles:[""]}),t}()},51613:function(t,e,i){"use strict";i.d(e,{S:function(){return c}});var n=i(31572),r=i(66283),o=i(80340),a=i(15812),s=i(16073),u=i(48160),c=function(){var t=function(){function t(){v(this,t),this.datePicker=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}},{key:"dateChange",value:function(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"space-right",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-form-field",0),n.NdJ("click",function(){return n.CHM(i),n.MAs(7).open()}),n.TgZ(1,"mat-label"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(5,"mat-datepicker-toggle",2),n._UZ(6,"mat-datepicker",null,3),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("click",function(){return n.CHM(i),n.MAs(15).open()}),n.TgZ(9,"mat-label"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"input",1),n.NdJ("dateChange",function(){return e.dateChange()}),n.qZA(),n._UZ(13,"mat-datepicker-toggle",2),n._UZ(14,"mat-datepicker",null,5),n.qZA()}if(2&t){var r=n.MAs(7),o=n.MAs(15);n.xp6(2),n.Oqu(n.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.xp6(2),n.Q6J("matDatepicker",r)("min",e.startMinDate)("max",e.startMaxDate)("formControl",e.startDate),n.xp6(1),n.Q6J("for",r),n.xp6(5),n.Oqu(n.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.xp6(2),n.Q6J("matDatepicker",o)("min",e.endMinDate)("max",e.endMaxDate)("formControl",e.endDate),n.xp6(1),n.Q6J("for",o)}},directives:[r.KE,r.hX,o.Nt,a.hl,s.Fj,s.JJ,s.oH,a.nW,r.R9,a.Mq],pipes:[u.X$],styles:[""]}),t}()},91058:function(t,e,i){"use strict";i.d(e,{P:function(){return d}});var n=i(31572),r=i(87254),o=i(79996),a=i(47701),s=i(98720),u=i(66283),c=i(80340),l=i(48160),h=["groupFilterInput"],d=function(){var t=function(){function t(){v(this,t),this.filter=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=this;(0,r.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,o.U)(function(t){return t.target.value}),(0,a.b)(500),(0,s.x)()).subscribe(function(e){t.filter.emit(e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(h,7),2&t)&&(n.iGM(i=n.CRH())&&(e.groupFilterInput=i.first))},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n._UZ(1,"input",1,2),n.ALo(3,"translate"),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",n.lcZ(3,1,e.placeholder)))},directives:[u.KE,c.Nt],pipes:[l.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t}()},44973:function(t,e,i){"use strict";i.d(e,{i:function(){return w}});var n=i(31572),r=i(16073),o=i(66994),a=i(55959),s=i(25416),u=i(96577),c=i(66283),l=i(4786),h=i(71522),d=i(30146),f=i(61511),p=i(4253),g=["scrollViewport"];function m(t,e){if(1&t&&(n.TgZ(0,"mat-option",7),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){var i=n.oxw();n.Q6J("value",null==i.entitiesCtrl?null:i.entitiesCtrl.value),n.xp6(1),n.hij(" ",i.mainTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value)," "),n.xp6(2),n.Oqu(i.secondaryTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value))}}function b(t,e){if(1&t&&(n.TgZ(0,"mat-option",9),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.Q6J("value",i),n.xp6(1),n.hij(" ",r.mainTextFunction(i)," "),n.xp6(2),n.Oqu(r.secondaryTextFunction(i))}}var w=function(){var t=function(){function t(e){v(this,t),this.cd=e,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.entitySelected=new n.vpe,this.entitiesCtrl=new r.NI,this.entityFilterCtrl=new r.NI,this.filteredEntities=new o.t(1),this.entitiesLen=0,this._onDestroy=new a.xQ,this.mainTextFunction=function(t){return(0,u.stringify)(t)},this.secondaryTextFunction=function(t){return"#"+t.id}}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.entitiesCtrl.valueChanges.subscribe(function(e){return t.entitySelected.emit(e)}),this.disableAutoSelect||null!==this.entity||this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(function(e){return t.entitiesLen=e.length}),this.entityFilterCtrl.valueChanges.pipe((0,s.R)(this._onDestroy)).subscribe(function(){t.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}},{key:"ngOnChanges",value:function(t){t.entities&&this.filteredEntities.next(this.entities.slice())}},{key:"ngOnDestroy",value:function(){this._onDestroy.next(),this._onDestroy.complete()}},{key:"filterEntites",value:function(){var t=this;if(this.entities){var e=this.entityFilterCtrl.value;if(!e)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();e=this.normalize(e),this.filteredEntities.next(this.entities.filter(function(i){return t.normalize(t.searchFunction(i)).indexOf(e)>=0})),this.cd.detectChanges()}}},{key:"normalize",value:function(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}},{key:"openChange",value:function(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}},{key:"getViewportHeight",value:function(){var t=48*this.entitiesLen;return t>192&&(t=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(g,5),2&t)&&(n.iGM(i=n.CRH())&&(e.scrollViewport=i.first))},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[n.TTD],decls:9,vars:14,consts:[[1,"w-100"],[3,"placeholder","formControl","openedChange"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted","muted"],[3,"value"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"mat-select",1),n.NdJ("openedChange",function(){return e.openChange()}),n.TgZ(2,"mat-option"),n._UZ(3,"ngx-mat-select-search",2),n.qZA(),n.YNc(4,m,4,3,"mat-option",3),n.TgZ(5,"cdk-virtual-scroll-viewport",4,5),n.YNc(7,b,4,3,"mat-option",6),n.ALo(8,"async"),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(1),n.s9C("placeholder",e.selectPlaceholder),n.Q6J("formControl",e.entitiesCtrl),n.xp6(2),n.s9C("placeholderLabel",e.findPlaceholder),n.s9C("noEntriesFoundLabel",e.noEntriesText),n.Q6J("clearSearchInput",!1)("formControl",e.entityFilterCtrl),n.xp6(1),n.Q6J("ngIf",null==e.entitiesCtrl?null:e.entitiesCtrl.value),n.xp6(1),n.Udp("height",e.getViewportHeight(),"px"),n.Q6J("minBufferPx",240)("maxBufferPx",480),n.xp6(2),n.Q6J("cdkVirtualForOf",n.lcZ(8,12,e.filteredEntities)))},directives:[c.KE,l.gD,r.JJ,r.oH,h.ey,d.nu,f.O5,p.N7,p.xd,p.x0],pipes:[f.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),t}()},60007:function(t,e,i){"use strict";i.d(e,{X:function(){return W}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),u=i(82819),c=i(61511),l=i(29236),h=i(72953),d=i(16073),f=i(36922),p=i(15980),g=i(43691);function m(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.hij(" ",i[r.paramName]," ")}}function b(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function w(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function _(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(i),n.oxw().onShowChange()}),n.YNc(1,b,2,0,"mat-icon",8),n.YNc(2,w,2,0,"mat-icon",8),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("ngIf",!r.showMore),n.xp6(1),n.Q6J("ngIf",r.showMore)}}var A=function(){var t=function(){function t(){v(this,t),this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}return y(t,[{key:"ngOnInit",value:function(){this.itemsShown=this.defaultItemsShown}},{key:"ngOnChanges",value:function(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.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(t,e){1&t&&(n.TgZ(0,"form",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.YNc(3,m,2,1,"div",3),n.qZA(),n.TgZ(4,"div"),n.TgZ(5,"span",4),n.YNc(6,_,3,2,"button",5),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.xp6(3),n.Q6J("ngForOf",e.objects.slice(0,e.itemsShown)),n.xp6(2),n.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(1),n.Q6J("ngIf",e.objects.length>e.defaultItemsShown))},directives:[d._Y,d.JL,d.F,c.sg,f.gM,c.O5,p.lW,g.Hw],styles:[""]}),t}(),k=i(84534),T=i(57629),C=i(39571),S=i(48160),E=i(48853),x=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t,e,i){return t.filter(function(t){return t[i].includes(e)}).filter(function(t,e,n){return n.findIndex(function(e){return e[i]===t[i]})===e})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"filterUniqueObjects",type:t,pure:!0}),t}();function R(t,e){1&t&&n._UZ(0,"th",18)}function I(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",19),n.TgZ(1,"mat-checkbox",20),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function O(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function P(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.facility.id)}}function D(t,e){1&t&&n._UZ(0,"th",18)}function M(t,e){if(1&t&&(n.TgZ(0,"td",22),n._UZ(1,"perun-web-apps-recently-viewed-icon",23),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Q6J("id",i.facility.id)("recentIds",r.recentIds)}}function L(t,e){1&t&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function N(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.facility.name)}}function z(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function F(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.facility.description)}}function Z(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"technicalOwners"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.owners))}}function q(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function U(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,r.destinations,o.filterValue,"destination"))("paramName","destination")}}function H(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function j(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,r.hosts,o.filterValue,"hostname"))("paramName","hostname")}}function G(t,e){1&t&&n._UZ(0,"tr",25)}var Y=function(t){return["/facilities",t]},V=function(){return[]};function K(t,e){if(1&t&&n._UZ(0,"tr",26),2&t){var i=e.$implicit,r=n.oxw();n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(2,Y,i.facility.id))("routerLink",r.disableRouting?n.DdM(4,V):n.VKq(5,Y,i.facility.id))}}function J(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Q(t,e){1&t&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}var W=function(){var t=function(){function t(e){v(this,t),this.authResolver=e,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=a.f7,this.page=new n.vpe}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e,i){switch(e){case"id":return t.facility.id.toString();case"name":return t.facility.name;case"description":return t.facility.description;case"technicalOwners":return(0,a.te)(t.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(t.facility.id)>-1?"#".repeat(i.recentIds.indexOf(t.facility.id)):t.name;case"destinations":return t.destinations.map(function(t){return t.destination}).join(" ; ");case"hosts":return t.hosts.map(function(t){return t.hostname}).join(" ; ");default:return t[e]}}},{key:"exportData",value:function(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,a.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,a.pR)(e,i,t.getDataForColumn,t)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.dataSource.data.length}},{key:"masterToggle",value:function(){var t=this;this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(function(e){return t.selection.select(e)})}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.facility.id+1):(this.isAllSelected()?"select":"deselect")+" all"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,R,1,0,"th",4),n.YNc(5,I,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,O,3,3,"th",7),n.YNc(8,P,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,D,1,0,"th",4),n.YNc(11,M,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,L,3,3,"th",7),n.YNc(14,N,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,z,3,3,"th",4),n.YNc(17,F,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,Z,3,3,"th",4),n.YNc(20,B,3,3,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,q,3,3,"th",4),n.YNc(23,U,3,6,"td",9),n.BQk(),n.ynx(24,14),n.YNc(25,H,3,3,"th",4),n.YNc(26,j,3,6,"td",9),n.BQk(),n.YNc(27,G,1,0,"tr",15),n.YNc(28,K,1,7,"tr",16),n.qZA(),n.qZA(),n.qZA(),n.YNc(29,J,3,3,"app-alert",17),n.YNc(30,Q,3,3,"app-alert",17)),2&t&&(n.Q6J("hidden",!e.dataSource||0===e.dataSource.filteredData.length||0===e.facilities.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(25),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.facilities.length),n.xp6(1),n.Q6J("ngIf",0===e.facilities.length))},directives:[u.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,c.O5,o.ge,o.ev,l.oG,r.nU,h.W,A,o.XQ,o.Gk,k.YH,T.rH,C.w],pipes:[S.X$,E.J,x],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),t}()},54930:function(t,e,i){"use strict";i.d(e,{i:function(){return C}});var n=i(31572),r=i(88426),o=i(61511),a=i(15980),s=i(81391),u=i(36922),c=i(43691),l=i(8055),h=i(48160),d=i(44385),f=i(52984),p=i(51392);function g(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.ALo(2,"groupSyncToolTip"),n.TgZ(3,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onSyncDetail()}),n.ALo(4,"groupSyncIcon"),n.TgZ(5,"mat-icon"),n.ALo(6,"groupSyncIconColor"),n._uU(7),n.ALo(8,"groupSyncIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("matTooltipPosition","above")("matTooltip",n.lcZ(1,7,n.lcZ(2,9,r.group))),n.xp6(3),n.Q6J("disabled","sync_disabled"===n.lcZ(4,11,r.group)),n.xp6(2),n.Tol(n.lcZ(6,13,r.group)),n.xp6(2),n.hij(" ",n.lcZ(8,15,r.group)," ")}}function m(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onMoveGroup()}),n.TgZ(3,"mat-icon"),n._uU(4,"arrow_right_alt"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",r.disabled)}}function b(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onChangeNameDescription()}),n.TgZ(3,"mat-icon"),n._uU(4,"text_format"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",r.disabled)}}function w(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"button",3),n.ALo(2,"translate"),n.TgZ(3,"mat-icon"),n._uU(4," file_copy "),n.qZA(),n.qZA(),n.YNc(5,g,9,17,"span",4),n.YNc(6,m,5,5,"span",4),n.YNc(7,b,5,5,"span",4),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Q6J("cdkCopyToClipboard",i.group.name)("matTooltipPosition","above"),n.xp6(4),n.Q6J("ngIf",i.syncAuth),n.xp6(1),n.Q6J("ngIf",i.moveAuth),n.xp6(1),n.Q6J("ngIf",i.editAuth)}}function _(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onSyncDetail()}),n.ALo(1,"groupSyncIcon"),n.TgZ(2,"mat-icon"),n.ALo(3,"groupSyncIconColor"),n._uU(4),n.ALo(5,"groupSyncIcon"),n.qZA(),n.TgZ(6,"span"),n._uU(7),n.ALo(8,"translate"),n.ALo(9,"groupSyncToolTip"),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("disabled","sync_disabled"===n.lcZ(1,6,r.group)),n.xp6(2),n.Tol(n.lcZ(3,8,r.group)),n.xp6(2),n.hij(" ",n.lcZ(5,10,r.group)," "),n.xp6(3),n.Oqu(n.lcZ(8,12,n.lcZ(9,14,r.group)))}}function A(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onMoveGroup()}),n.TgZ(1,"mat-icon"),n._uU(2,"arrow_right_alt"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("disabled",r.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function k(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onChangeNameDescription()}),n.TgZ(1,"mat-icon"),n._uU(2,"text_format"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("disabled",r.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function T(t,e){if(1&t&&(n.TgZ(0,"div"),n.TgZ(1,"button",7),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,8),n.TgZ(6,"button",9),n.TgZ(7,"mat-icon"),n._uU(8," file_copy "),n.qZA(),n.TgZ(9,"span"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.YNc(12,_,10,16,"button",10),n.YNc(13,A,6,4,"button",10),n.YNc(14,k,6,4,"button",10),n.qZA(),n.qZA()),2&t){var i=n.MAs(5),r=n.oxw();n.xp6(1),n.Q6J("mat-menu-trigger-for",i),n.xp6(5),n.Q6J("cdkCopyToClipboard",r.group.name),n.xp6(4),n.Oqu(n.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.xp6(2),n.Q6J("ngIf",r.syncAuth),n.xp6(1),n.Q6J("ngIf",r.moveAuth),n.xp6(1),n.Q6J("ngIf",r.editAuth)}}var C=function(){var t=function(){function t(e){v(this,t),this.authResolver=e,this.disabled=!1,this.moveGroup=new n.vpe,this.syncGroup=new n.vpe,this.changeNameDescription=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){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])}},{key:"onMoveGroup",value:function(){this.moveGroup.emit()}},{key:"onSyncDetail",value:function(){this.syncGroup.emit()}},{key:"onChangeNameDescription",value:function(){this.changeNameDescription.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(r.x4))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.YNc(0,w,8,8,"div",0),n.YNc(1,T,15,8,"div",1)),2&t&&(n.Q6J("ngIf",e.displayButtons),n.xp6(1),n.Q6J("ngIf",!e.displayButtons))},directives:[o.O5,a.lW,s.i3,u.gM,c.Hw,l.p6,l.VK,l.OP],pipes:[h.X$,d.r,f.J,p.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),t}()},46837:function(t,e,i){"use strict";i.d(e,{x:function(){return g}});var n=i(31572),r=i(84140),o=i(61189),a=i(84608),s=i(61511),u=i(36922),c=i(43691),l=i(48160);function h(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(i),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",4),n._uU(3,"check_circle_outline"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function d(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(i),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",5),n._uU(3,"block"),n.qZA(),n.qZA()}2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function f(t,e){if(1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",7),n._uU(3,"report"),n.qZA(),n.qZA()),2&t){var i=n.oxw();n.hYB("matTooltip","",n.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",i.failureCause,"")}}function p(t,e){1&t&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",8),n._uU(3,"autorenew"),n.qZA(),n.qZA()),2&t&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}var g=function(){var t=function(){function t(e){v(this,t),this.dialog=e,this.status="",this.statusChange=new n.vpe}return y(t,[{key:"changeStatus",value:function(){var t=this,e=(0,r.kZ)();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(o.Qu,e).afterClosed().subscribe(function(e){e&&t.statusChange.emit()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.uw))},t.\u0275cmp=n.Xpm({type:t,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.YNc(1,h,4,3,"span",1),n.YNc(2,d,4,3,"span",1),n.YNc(3,f,4,4,"span",2),n.YNc(4,p,4,3,"span",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf","ACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","INACTIVE"===e.status),n.xp6(1),n.Q6J("ngIf","FAILED"===e.status),n.xp6(1),n.Q6J("ngIf","PROCESSING"===e.status))},directives:[s.O5,u.gM,c.Hw],pipes:[l.X$],styles:[""]}),t}()},37665:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(31572),r=i(84140),o=i(44973),a=i(48160),s=function(){var t=function(){function t(){v(this,t),this.groupSelected=new n.vpe,this.disableAutoSelect=!1,this.nameFunction=function(t){return t.name}}return y(t,[{key:"ngOnInit",value:function(){this.groups=this.groups.sort(r.aC)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup"},outputs:{groupSelected:"groupSelected"},decls:4,vars:14,consts:[[1,"long-input",3,"entities","entity","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){var i;(1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.groupSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t)&&n.Q6J("entities",e.groups)("entity",null!==(i=e.firstSelectedGroup)&&void 0!==i?i:null)("disableAutoSelect",e.disableAutoSelect)("mainTextFunction",e.nameFunction)("searchFunction",e.nameFunction)("selectPlaceholder",n.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",n.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",n.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))},directives:[o.i],pipes:[a.X$],styles:[""]}),t}()},78364:function(t,e,i){"use strict";i.d(e,{W:function(){return at}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(33642),u=i(84140),c=i(61189),l=i(88426),h=i(61511),p=i(84608),g=i(82819),m=i(29236),b=i(36922),w=i(72953),_=i(46837),A=i(15980),k=i(43691),T=i(54930),C=i(84534),S=i(57629),E=i(39571),x=i(48160),R=i(74842),I=i(37043),O=i(58506),P=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){var e=t.attributes.find(function(t){return"groupMembershipExpiration"===t.baseFriendlyName});return e&&e.value?e.value:"Never"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"groupExpiration",type:t,pure:!0}),t}();function D(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-checkbox",23),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw(2);return t?e.masterToggle():null}),n.qZA()}if(2&t){var r=n.oxw(2);n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function M(t,e){if(1&t&&(n.TgZ(0,"th",21),n.YNc(1,D,1,3,"mat-checkbox",22),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",!i.disableHeadCheckbox)}}function L(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"span",25),n.ALo(2,"translate"),n.TgZ(3,"mat-checkbox",26),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.itemSelectionToggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,o.getCheckboxTooltipMessage(r))),n.Q6J("matTooltipPosition","above")("matTooltipDisabled",!o.disableSelect(r)),n.xp6(2),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))("disabled","members"===r.name&&o.disableMembers||o.disableSelect(r))}}function N(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function F(t,e){1&t&&n._UZ(0,"th",21)}function Z(t,e){if(1&t&&(n.TgZ(0,"td",28),n._UZ(1,"perun-web-apps-recently-viewed-icon",29),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function B(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function q(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.voNames.get(i.voId))}}function U(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function H(t,e){if(1&t&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.name)}}function j(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function G(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",30),n.TgZ(1,"perun-web-apps-group-resource-status",31),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var t=n.oxw();return t.disabledRouting=t.disableRouting})("statusChange",function(){return n.CHM(i),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("theme","resource-theme")("groupId",r.id)("resourceId",o.resourceId)("failureCause",r.failureCause)("status",r.status)}}function Y(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function V(t,e){if(1&t&&(n.TgZ(0,"td",28),n.TgZ(1,"i",32),n.ALo(2,"memberStatusIconColor"),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.getStatusAttribute(i)),""),n.s9C("matTooltip",r.getStatusAttribute(i)),n.xp6(3),n.hij(" ",n.lcZ(5,7,r.getStatusAttribute(i))," ")}}function K(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function J(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.description)}}function Q(t,e){1&t&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function W(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"button",34),n.NdJ("click",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw().changeExpiration(t)})("mouseenter",function(){return n.CHM(i),n.oxw(2).disabledRouting=!0})("mouseleave",function(){n.CHM(i);var t=n.oxw(2);return t.disabledRouting=t.disableRouting}),n.TgZ(1,"mat-icon"),n._uU(2,"edit"),n.qZA(),n.qZA()}}function X(t,e){if(1&t&&(n.TgZ(0,"td",30),n._uU(1),n.ALo(2,"parseDate"),n.ALo(3,"groupExpiration"),n.YNc(4,W,3,0,"button",33),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,2,n.lcZ(3,4,i))," "),n.xp6(3),n.Q6J("ngIf",r.canManageGroup(i))}}function $(t,e){1&t&&n._UZ(0,"th",21)}function tt(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",28),n.TgZ(1,"perun-web-apps-group-menu",35),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var t=n.oxw();return t.disabledRouting=t.disableRouting})("moveGroup",function(){var t=n.CHM(i).$implicit;return n.oxw().onMoveGroup(t)})("changeNameDescription",function(){var t=n.CHM(i).$implicit;return n.oxw().onChangeNameDescription(t)})("syncGroup",function(){var t=n.CHM(i).$implicit;return n.oxw().onSyncDetail(t)}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("disabled","members"===r.name)("displayButtons",o.displayButtons)("group",r)}}function et(t,e){1&t&&n._UZ(0,"tr",36)}var it=function(t,e){return["/organizations",t,"groups",e]};function nt(t,e){if(1&t&&n._UZ(0,"tr",37),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting&&!r.groupsToDisable.has(i.id))("disable-outline",r.disabledRouting||r.groupsToDisable.has(i.id)),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.WLB(6,it,i.voId,i.id))("routerLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.WLB(9,it,i.voId,i.id))}}function rt(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function ot(t,e){1&t&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var at=function(){var t=function(){function t(e,i,r,o){var s=this;v(this,t),this.dialog=e,this.authResolver=i,this.voService=r,this.tableCheckbox=o,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new n.vpe,this.groups=[],this.selection=new a.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","name","status","groupStatus","description","expiration","menu"],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=u.f7,this.recentIds=[],this.resourceId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=function(t){return!("members"===t.name&&s.disableMembers||s.disableSelect(t))}}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>800}},{key:"ngOnChanges",value:function(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}},{key:"checkIfHasMembersGroup",value:function(){var t,e=f(this.groups);try{for(e.s();!(t=e.n()).done;){if("members"===t.value.name)return!0}}catch(i){e.e(i)}finally{e.f()}return!1}},{key:"getDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":var n=(0,u.x2)(t);return(0,u.sG)(n);case"recent":return"";case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}},{key:"getSortDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return i.voNames.get(t.voId);case"name":return t.name;case"description":return t.description;case"expiration":var n=(0,u.x2)(t);return n&&"never"!==n.toLowerCase()?(0,h.p6)(n,"yyyy.MM.dd","en"):n;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"status":return t.status;default:return t[e]}}},{key:"exportData",value:function(t){(0,u.O6)((0,u.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,u.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t,!0)},this.dataSource.sortData=function(e,i){return(0,u.pR)(e,i,t.getSortDataForColumn,t)}),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"disableSelect",value:function(t){return this.disableGroups&&(this.groupsToDisable.has(t.id)||this.isSynchronized(t))}},{key:"ngAfterViewInit",value:function(){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(function(t){return"id"!==t}))}},{key:"onMoveGroup",value:function(t){this.moveGroup.emit(t)}},{key:"onSyncDetail",value:function(t){var e=(0,u.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(c.Bp,e)}},{key:"onChangeNameDescription",value:function(t){var e=this,i=(0,u.kZ)();i.data={theme:"group-theme",group:t,dialogType:c.Eg.GROUP},this.dialog.open(c.rd,i).afterClosed().subscribe(function(t){t&&e.refreshTable.emit()})}},{key:"setAuth",value:function(){var t=this;return"group-subgroups"===this.authType?this.selection.selected.reduce(function(e,i){return e&&t.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[i])},!0):"group-relations"===this.authType?this.selection.selected.reduce(function(e,i){return e&&t.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[t.parentGroup,i])},!0):"vo-groups"===this.authType?this.selection.selected.reduce(function(e,i){return e&&t.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[t.vo,i])},!0):"member-groups"===this.authType?this.selection.selected.reduce(function(e,i){return e&&t.authResolver.isAuthorized("removeMember_Member_List_policy",[i])},!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce(function(e,i){return e&&t.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[t.vo,i])},!0):void 0}},{key:"itemSelectionToggle",value:function(t){this.selection.toggle(t),this.removeAuth=this.setAuth()}},{key:"isSynchronized",value:function(t){return!!t.attributes&&t.attributes.some(function(t){return"synchronizationEnabled"===t.friendlyName&&null!==t.value&&"true"===t.value.toString()})}},{key:"getCheckboxTooltipMessage",value:function(t){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(t)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}},{key:"updateVoNames",value:function(){var t=this;this.displayedColumns.includes("vo")&&(this.groups.forEach(function(e){t.voIds.has(e.voId)||t.voIds.add(e.voId)}),this.voIds.size>0&&this.voService.getVosByIds(d(this.voIds)).subscribe(function(e){e.forEach(function(e){t.voNames.set(e.id,e.name)})}))}},{key:"changeExpiration",value:function(t){var e=this,i=t.attributes.find(function(t){return"groupMembershipExpiration"===t.baseFriendlyName}),n=(0,u.kZ)();n.width="400px",n.data={memberId:this.memberId,groupId:t.id,expirationAttr:i,mode:"group",status:this.memberGroupStatus},this.dialog.open(c.u3,n).afterClosed().subscribe(function(t){t&&e.refreshTable.emit()})}},{key:"canManageGroup",value:function(t){return this.authResolver.isThisGroupAdmin(t.id)||this.authResolver.isThisVoAdmin(t.voId)}},{key:"getStatusAttribute",value:function(t){return t.attributes.find(function(t){return"groupStatus"===t.baseFriendlyName}).value.toString()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(p.uw),n.Y36(l.x4),n.Y36(s.YF),n.Y36(l.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(u.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,M,2,1,"th",4),n.YNc(5,L,4,8,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,N,3,3,"th",7),n.YNc(8,z,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,F,1,0,"th",4),n.YNc(11,Z,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,B,3,3,"th",7),n.YNc(14,q,2,1,"td",5),n.BQk(),n.ynx(15,11),n.YNc(16,U,3,3,"th",7),n.YNc(17,H,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,j,3,3,"th",7),n.YNc(20,G,2,5,"td",13),n.BQk(),n.ynx(21,14),n.YNc(22,Y,3,3,"th",7),n.YNc(23,V,6,9,"td",9),n.BQk(),n.ynx(24,15),n.YNc(25,K,3,3,"th",7),n.YNc(26,J,2,1,"td",13),n.BQk(),n.ynx(27,16),n.YNc(28,Q,3,3,"th",7),n.YNc(29,X,5,6,"td",13),n.BQk(),n.ynx(30,17),n.YNc(31,$,1,0,"th",4),n.YNc(32,tt,2,3,"td",9),n.BQk(),n.YNc(33,et,1,0,"tr",18),n.YNc(34,nt,1,12,"tr",19),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,rt,3,3,"app-alert",20),n.YNc(36,ot,3,3,"app-alert",20)),2&t&&(n.Q6J("hidden",0===e.groups.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.groups.length),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0===e.dataSource.filteredData.length&&0!==e.groups.length))},directives:[g.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,m.oG,o.ev,b.gM,r.nU,w.W,_.x,A.lW,k.Hw,T.i,o.XQ,o.Gk,C.YH,S.rH,E.w],pipes:[x.X$,R.u,I.f,O.M,P],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t}()},11441:function(t,e,i){"use strict";i.d(e,{I:function(){return L}});var n=i(31572),r=i(91010),o=i(71709),a=i(4230),s=i(14732),u=i(84140),c=i(61189),l=i(88426),h=i(84608),p=i(61511),g=i(4253),m=i(57629),b=i(15980),w=i(36922),_=i(54930),A=i(29236),k=i(43691),T=i(39571),C=i(48160),S=["scrollViewport"];function E(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw(2).itemSelectionToggle(t)}),n.qZA()}if(2&t){var r=n.oxw().$implicit,o=n.oxw(2);n.Q6J("disabled","members"===r.fullName)("checked",o.selection.isSelected(r))("indeterminate",o.descendantsPartiallySelected(r))}}function x(t,e){if(1&t&&(n.TgZ(0,"mat-icon",20),n._uU(1),n.qZA()),2&t){var i=n.oxw().$implicit,r=n.oxw(2);n.xp6(1),n.hij(" ",r.treeControl.isExpanded(i)?"expand_more":"chevron_right"," ")}}function R(t,e){if(1&t&&(n.TgZ(0,"span",21),n._uU(1),n.qZA()),2&t){var i=n.oxw().$implicit;n.xp6(1),n.hij(" #",i.id," ")}}var I=function(t,e){return["/organizations",t,"groups",e]};function O(t,e){if(1&t){var i=n.EpF();n.ynx(0),n.TgZ(1,"div",6),n.YNc(2,E,1,3,"mat-checkbox",7),n.TgZ(3,"a",8),n.TgZ(4,"button",9),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw(2).disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw(2).disableRouting=!1})("click",function(){var t=n.CHM(i).$implicit;return n.oxw(2).treeControl.toggle(t)}),n.YNc(5,x,2,1,"mat-icon",10),n.qZA(),n.TgZ(6,"div",11),n.TgZ(7,"span",12),n._uU(8),n.qZA(),n.YNc(9,R,2,1,"span",13),n.qZA(),n.TgZ(10,"div",14,15),n.TgZ(12,"span",16),n._uU(13),n.qZA(),n.qZA(),n.qZA(),n.TgZ(14,"div",17),n.TgZ(15,"perun-web-apps-group-menu",18),n.NdJ("moveGroup",function(){var t=n.CHM(i).$implicit;return n.oxw(2).onMoveGroup(t)})("syncGroup",function(){var t=n.CHM(i).$implicit;return n.oxw(2).onSyncDetail(t)})("changeNameDescription",function(){var t=n.CHM(i).$implicit;return n.oxw(2).onChangeNameDescription(t)}),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&t){var r=e.$implicit,o=n.oxw(2);n.xp6(1),n.Udp("padding-left",24*r.level+"px"),n.xp6(1),n.Q6J("ngIf",!o.hideCheckbox),n.xp6(1),n.Q6J("routerLink",o.disableRouting?null:n.WLB(14,I,r.voId,r.id)),n.xp6(1),n.Q6J("disabled",!r.expandable),n.uIk("aria-label","toggle "+r.name),n.xp6(1),n.Q6J("ngIf",r.expandable),n.xp6(3),n.hij(" ",r.name," "),n.xp6(1),n.Q6J("ngIf",o.authResolver.isPerunAdminOrObserver()),n.xp6(3),n.s9C("matTooltip",r.description),n.xp6(1),n.hij(" ",r.description," "),n.xp6(2),n.Q6J("disabled","members"===r.fullName)("displayButtons",o.displayButtons)("group",r)}}var P=function(t){return{height:t}};function D(t,e){if(1&t&&(n.TgZ(0,"div",2),n.TgZ(1,"cdk-virtual-scroll-viewport",3,4),n.YNc(3,O,16,17,"ng-container",5),n.qZA(),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",n.VKq(4,P,i.getTreeViewHeight())),n.xp6(2),n.Q6J("cdkVirtualForOf",i.dataSource)}}function M(t,e){1&t&&(n.TgZ(0,"app-alert",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var L=function(){var t=function(){function t(e,i,s){v(this,t),this.cd=e,this.dialog=i,this.authResolver=s,this.transformer=function(t,e){return{expandable:!!t.children&&t.children.length>0,name:t.shortName,fullName:t.name,parentGroupId:t.parentGroupId,level:e,id:t.id,voId:t.voId,attributes:t.attributes,beanName:t.beanName,description:t.description}},this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new n.vpe,this.refreshTable=new n.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new a.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.C2(function(t){return t.level},function(t){return t.expandable}),this.treeFlattener=new r.JZ(this.transformer,function(t){return t.level},function(t){return t.expandable},function(t){return t.children}),this.dataSource=new r.kc(this.treeControl,this.treeFlattener),this.hasChild=function(t,e){return e.expandable},this.getLevel=function(t){return t.level}}return y(t,[{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>600}},{key:"ngOnChanges",value:function(){var t=this;if(this.expandAll){this.filteredGroups=this.groups.filter(function(e){var i,n;return(null===(i=e.name)||void 0===i?void 0:i.toLowerCase().includes(t.filterValue.toLowerCase()))||(null===(n=e.description)||void 0===n?void 0:n.toLowerCase().includes(t.filterValue.toLowerCase()))||e.id.toString().includes(t.filterValue.toLowerCase())||e.uuid.toLowerCase().includes(t.filterValue.toLowerCase())});var e,i=f(this.filteredGroups);try{for(i.s();!(e=i.n()).done;){var n=e.value;n.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,u.oU)(n.parentGroupId,this.groups)))}}catch(r){i.e(r)}finally{i.f()}}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}},{key:"onSyncDetail",value:function(t){var e=(0,u.kZ)();e.data={groupId:t.id,theme:this.theme},this.dialog.open(c.Bp,e)}},{key:"onChangeNameDescription",value:function(t){var e=this,i=(0,u.kZ)();i.data={theme:"group-theme",group:t,dialogType:c.Eg.GROUP},this.dialog.open(c.rd,i).afterClosed().subscribe(function(t){t&&e.refreshTable.emit()})}},{key:"createGroupTrees",value:function(t){var e,i=new Map,n=f(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.set(r.id,new s.m(r))}}catch(u){n.e(u)}finally{n.f()}var o=new Set;i.forEach(function(t,e,i){var n=i.get(t.parentGroupId);void 0!==n&&(n.addChild(t),i.set(t.parentGroupId,n)),null!==t.parentGroupId&&void 0===n&&o.add(t.id)});var a=[];i.forEach(function(t){(null===t.parentGroupId||o.has(t.id))&&a.push(t)}),this.dataSource.data=a,this.cd.detectChanges()}},{key:"getParentNode",value:function(t){var e=this.getLevel(t);if(e<1)return null;for(var i=this.treeControl.dataNodes.indexOf(t)-1;i>=0;i--){var n=this.treeControl.dataNodes[i];if(this.getLevel(n)_boolean_policy",[t.vo,i])}:function(e,i){return e&&t.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[i])},!0)}},{key:"onMoveGroup",value:function(t){this.moveGroup.emit(t)}},{key:"getTreeViewHeight",value:function(){var t=0;this.scrollViewport&&(t=this.scrollViewport.getDataLength());var e=48*t;return e>672&&(e=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),e+"px"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO),n.Y36(h.uw),n.Y36(l.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(S,5),2&t)&&(n.iGM(i=n.CRH())&&(e.scrollViewport=i.first))},hostBindings:function(t,e){1&t&&n.NdJ("resize",function(t){return e.shouldHideButtons(t)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[n.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(t,e){1&t&&(n.YNc(0,D,4,6,"div",0),n.YNc(1,M,3,3,"app-alert",1)),2&t&&(n.Q6J("ngIf",0!==e.filteredGroups.length),n.xp6(1),n.Q6J("ngIf",0===e.filteredGroups.length))},directives:[p.O5,g.N7,g.xd,p.PC,g.x0,m.yS,b.lW,w.gM,_.i,A.oG,k.Hw,T.w],pipes:[C.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}.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:rgba(0,0,0,.05)}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),t}()},66438:function(t,e,i){"use strict";i.d(e,{X:function(){return g}});var n=i(33642),r=i(88426),o=i(31572),a=i(48160),s=i(61511),u=i(8055),c=i(15980),l=i(43691),h=i(36922),d=function(t){return{color:t}};function f(t,e){if(1&t&&(o.TgZ(0,"button",8),o.ALo(1,"translate"),o.TgZ(2,"mat-icon",4),o._uU(3," apps "),o.qZA(),o.qZA()),2&t){var i=o.oxw(),n=o.MAs(2);o.Q6J("matMenuTriggerFor",n)("matTooltip",o.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),o.xp6(2),o.Q6J("ngStyle",o.VKq(5,d,i.iconColor))}}function p(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"button",2),o.NdJ("click",function(){return o.CHM(i),o.oxw().onLogOut()}),o._uU(1),o.ALo(2,"translate"),o.qZA()}2&t&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"NAV.LOGOUT")))}var g=function(){var t=function(){function t(e,i,n,r){v(this,t),this.authService=e,this.authzResolverService=i,this.notificator=n,this.translateService=r}return y(t,[{key:"redirectToUrl",value:function(){window.open(this.url,"_blank")}},{key:"onLogOut",value:function(){this.authService.logout()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(r.e8),o.Y36(n.Ct),o.Y36(r.V6),o.Y36(a.sK))},t.\u0275cmp=o.Xpm({type:t,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(t,e){if(1&t&&(o.YNc(0,f,4,7,"button",0),o.TgZ(1,"mat-menu",null,1),o.TgZ(3,"button",2),o.NdJ("click",function(){return e.redirectToUrl()}),o.TgZ(4,"span"),o._uU(5),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"button",3),o.TgZ(7,"mat-icon",4),o._uU(8," person "),o.qZA(),o.TgZ(9,"span",5),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"mat-menu",null,6),o.YNc(13,p,3,3,"button",7),o.qZA()),2&t){var i=o.MAs(12);o.Q6J("ngIf",e.url),o.xp6(5),o.Oqu(e.label),o.xp6(1),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.Q6J("ngStyle",o.VKq(11,d,e.iconColor)),o.xp6(2),o.Q6J("ngStyle",o.VKq(13,d,e.textColor)),o.xp6(1),o.xDo(" ",e.user.titleBefore," ",e.user.firstName," ",e.user.middleName," ",e.user.lastName," ",e.user.titleAfter," "),o.xp6(3),o.Q6J("ngIf",e.logoutEnabled)}},directives:[s.O5,u.VK,u.OP,c.lW,u.p6,l.Hw,s.PC,h.gM],pipes:[a.X$],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),t}()},19139:function(t,e,i){"use strict";i.d(e,{L:function(){return d}});var n=i(31572),r=i(16073),o=i(66283),a=i(61511),s=i(80340),u=i(84534),c=i(48160);function l(t,e){if(1&t&&(n._UZ(0,"input",3),n.ALo(1,"translate")),2&t){var i=n.oxw();n.s9C("placeholder",n.lcZ(1,2,i.placeholder)),n.Q6J("formControl",i.formControl)}}function h(t,e){if(1&t&&(n._UZ(0,"input",4),n.ALo(1,"translate")),2&t){var i=n.oxw();n.s9C("placeholder",n.lcZ(1,2,i.placeholder)),n.Q6J("formControl",i.formControl)}}var d=function(){var t=function(){function t(){v(this,t),this.filter=new n.vpe,this.autoFocus=!1,this.formControl=new r.NI}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.formControl.valueChanges.subscribe(function(e){var i=e.trim();i=i.toLowerCase(),t.filter.emit(i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(n.TgZ(0,"mat-form-field",0),n.YNc(1,l,2,4,"input",1),n.YNc(2,h,2,4,"input",2),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",e.autoFocus),n.xp6(1),n.Q6J("ngIf",!e.autoFocus))},directives:[o.KE,a.O5,s.Nt,r.Fj,u.hT,r.JJ,r.oH],pipes:[c.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),t}()},91779:function(t,e,i){"use strict";i.d(e,{m:function(){return et}});var n=i(31572),r=i(58623),o=i(84140),a=i(61189),s=i(88426),u=i(31906),c=i(66599),l=i(84608),h=i(82819),d=i(61511),f=i(67033),p=i(67806),g=i(29236),m=i(43691),b=i(36922),w=i(84534),_=i(57629),A=i(39571),k=i(48160),T=i(22196),C=i(74842),S=i(91322),E=i(37043),x=i(99197),R=i(63720),I=i(1157);function O(t,e){1&t&&(n.TgZ(0,"div",20),n._UZ(1,"mat-spinner",21),n.qZA())}function P(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw();return t?e.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function D(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function M(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function N(t,e){1&t&&n._UZ(0,"th",26)}function z(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(t){n.CHM(i);var e=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(t,e)}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function F(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,z,3,3,"mat-icon",28),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==i.membershipType)}}function Z(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function B(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.user))}}function q(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function U(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(t){var e=n.CHM(i).$implicit;return n.oxw().changeStatus(t,e)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.status),""),n.s9C("matTooltip",n.xi3(3,7,r,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.status)," ")}}function H(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function j(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(t){var e=n.CHM(i).$implicit;return n.oxw().changeStatus(t,e)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,r,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.groupStatus)," ")}}function G(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function V(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function K(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function J(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function Q(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function W(t,e){1&t&&n._UZ(0,"tr",31)}var X=function(t,e){return["/organizations",t,"members",e]};function $(t,e){if(1&t&&n._UZ(0,"tr",32),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",r.dataSource.routeAuth)("italic_font","INDIRECT"===i.membershipType)("disable-outline",!r.dataSource.routeAuth),n.Q6J("perunWebAppsMiddleClickRouterLink",r.dataSource.routeAuth?n.WLB(8,X,i.voId,i.id):null)("routerLink",r.dataSource.routeAuth?n.WLB(11,X,i.voId,i.id):null)}}function tt(t,e){1&t&&(n.TgZ(0,"app-alert",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}var et=function(){var t=function(){function t(e,i,r,a){v(this,t),this.dialog=e,this.authResolver=i,this.tableCheckbox=r,this.dynamicPaginatingService=a,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.vpe,this.exporting=!1,this.pageSizeOptions=o.f7}return y(t,[{key:"ngAfterViewInit",value:function(){var t=this;this.sort.sortChange.subscribe(function(){return t.child.paginator.pageIndex=0}),(0,u.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,c.b)(function(){return t.loadMembersPage()})).subscribe()}},{key:"ngOnInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.dataSource=new s.Ct(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.pageSize,"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}},{key:"ngOnChanges",value:function(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}},{key:"masterToggle",value:function(){var t=this;this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(function(e){return t.selection.select(e)})}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.pageSize}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"changeStatus",value:function(t,e){var i=this;if(t.stopPropagation(),"INVALID"===e.status){var n=(0,o.kZ)();n.width="500px",n.data={member:e},this.dialog.open(a.pf,n).afterClosed().subscribe(function(t){t&&i.loadMembersPage()})}}},{key:"loadMembersPage",value:function(){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)}},{key:"exportData",value:function(t){(0,o.O6)((0,o.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"getExportDataForColumn",value:function(t,e){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,o.bD)(t.user):"";case"status":return t.status;case"groupStatus":return t.groupStatus;case"organization":return(0,o.Gw)(t);case"email":return(0,o.g$)(t);case"logins":return(0,o.lt)(t);default:return""}}},{key:"viewMemberGroupTree",value:function(t,e){t.stopPropagation();var i=(0,o.kZ)();i.width="800px",i.data={member:e,groupId:this.groupId},this.dialog.open(a.jd,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.uw),n.Y36(s.x4),n.Y36(s.UA),n.Y36(s.ly))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(o.l9,7),n.Gf(r.YE,5)),2&t)&&(n.iGM(i=n.CRH())&&(e.child=i.first),n.iGM(i=n.CRH())&&(e.sort=i.first))},inputs:{selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["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"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.ALo(1,"async"),n.TgZ(2,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.YNc(3,O,2,0,"div",2),n.ALo(4,"async"),n.TgZ(5,"table",3),n.ynx(6,4),n.YNc(7,P,2,3,"th",5),n.YNc(8,D,2,2,"td",6),n.BQk(),n.ynx(9,7),n.YNc(10,M,3,3,"th",8),n.YNc(11,L,2,1,"td",6),n.BQk(),n.ynx(12,9),n.YNc(13,N,1,0,"th",8),n.YNc(14,F,2,1,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,Z,3,3,"th",8),n.YNc(17,B,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,q,3,3,"th",5),n.YNc(20,U,7,12,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,H,3,3,"th",5),n.YNc(23,j,7,12,"td",10),n.BQk(),n.ynx(24,14),n.YNc(25,G,3,3,"th",5),n.YNc(26,Y,3,3,"td",10),n.BQk(),n.ynx(27,15),n.YNc(28,V,3,3,"th",5),n.YNc(29,K,3,3,"td",10),n.BQk(),n.ynx(30,16),n.YNc(31,J,3,3,"th",5),n.YNc(32,Q,3,3,"td",10),n.BQk(),n.YNc(33,W,1,0,"tr",17),n.YNc(34,$,1,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,tt,3,4,"app-alert",19),n.ALo(36,"async")),2&t&&(n.Q6J("hidden",0===e.dataSource.allMemberCount&&!1===n.lcZ(1,9,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataLength",e.dataSource.allMemberCount)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,11,e.dataSource.loading$)),n.xp6(2),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.allMemberCount&&!1===n.lcZ(36,13,e.dataSource.loading$)))},directives:[h.l,d.O5,f.BZ,r.YE,f.w1,f.fO,f.Dz,f.as,f.nj,p.$g,f.ge,g.oG,f.ev,r.nU,m.Hw,b.gM,f.XQ,f.Gk,w.YH,_.rH,A.w],pipes:[d.Ov,k.X$,T.d,C.u,S.i,E.f,x.M,R.D,I.p],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.italic_font[_ngcontent-%COMP%]{font-style:italic}"]}),t}()},4252:function(t,e,i){"use strict";i.d(e,{O:function(){return it}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),u=i(61189),c=i(88426),l=i(84608),h=i(57629),d=i(82819),f=i(61511),p=i(29236),g=i(36922),m=i(43691),b=i(84534),w=i(39571),_=i(48160),A=i(22196),k=i(74842),T=i(91322),C=i(37043),S=i(99197),E=i(63720),x=i(1157);function R(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw();return t?e.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function I(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.ALo(2,"translate"),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))("disabled","DIRECT"!==r.membershipType)("matTooltip","DIRECT"!==r.membershipType?n.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function O(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function P(t,e){if(1&t&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function D(t,e){1&t&&n._UZ(0,"th",26)}function M(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(t)})("mouseenter",function(){return n.CHM(i),n.oxw(2).disableRouting=!0})("mouseleave",function(){n.CHM(i);var t=n.oxw(2);return t.disableRouting=t.disabledRouting}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&t&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function L(t,e){if(1&t&&(n.TgZ(0,"td",27),n.YNc(1,M,3,3,"mat-icon",28),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==i.membershipType)}}function N(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.user))}}function F(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function Z(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(t){var e=n.CHM(i).$implicit;return n.oxw().changeStatus(t,e)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.status),""),n.s9C("matTooltip",n.xi3(3,7,r,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.status)," ")}}function B(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function q(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(t){var e=n.CHM(i).$implicit;return n.oxw().changeStatus(t,e)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,r,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.groupStatus)," ")}}function U(t,e){1&t&&(n.TgZ(0,"th",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")))}function H(t,e){1&t&&(n.TgZ(0,"mat-icon"),n._uU(1,"check_circle_outline"),n.qZA())}function j(t,e){if(1&t&&(n.TgZ(0,"td",32),n.YNc(1,H,2,0,"mat-icon",33),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Q6J("ngIf",i.sponsored)}}function G(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Y(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function V(t,e){1&t&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function K(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function J(t,e){1&t&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function Q(t,e){if(1&t&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function W(t,e){1&t&&n._UZ(0,"tr",34)}var X=function(t,e){return["/organizations",t,"members",e]};function $(t,e){if(1&t&&n._UZ(0,"tr",35),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disabledRouting)("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.WLB(6,X,i.voId,i.id))("routerLink",r.disableRouting?null:n.WLB(9,X,i.voId,i.id))}}function tt(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function et(t,e){1&t&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}var it=function(){var t=function(){function t(e,i,r,o){v(this,t),this.dialog=e,this.authResolver=i,this.tableCheckbox=r,this.route=o,this.selection=new a.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.updateTable=new n.vpe,this.pageSizeOptions=s.f7,this.canBeSelected=function(t){return"DIRECT"===t.membershipType}}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"getSortDataForColumn",value:function(t,e,i){var n;switch(e){case"id":return t.id.toString();case"fullName":return t.user?t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:"":"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,s.Gw)(t);case"email":return(0,s.g$)(t);default:return""}}},{key:"getFilterDataForColumn",value:function(t,e){switch(e){case"fullName":return t.user?(0,s.bD)(t.user):"";case"email":return(0,s.g$)(t);case"logins":return(0,s.lt)(t);default:return""}}},{key:"getExportDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"fullName":return t.user?(0,s.bD)(t.user):"";case"status":return i.showGroupStatuses?t.groupStatus:t.status;case"organization":return(0,s.Gw)(t);case"email":return(0,s.g$)(t);case"logins":return(0,s.lt)(t);default:return""}}},{key:"exportData",value:function(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,s.Sd)(e,i,t.displayedColumns,t.getFilterDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,s.pR)(e,i,t.getSortDataForColumn,t)}),this.dataSource.filter=this.filter,this.dataSource.data=this.members}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t}))}},{key:"ngOnChanges",value:function(){var t,e=this;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(t=this.route.parent)||void 0===t||t.params.subscribe(function(t){t.groupId&&(e.groupId=t.groupId)})}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"changeStatus",value:function(t,e){var i=this;if(t.stopPropagation(),"INVALID"===e.status){var n=(0,s.kZ)();n.width="500px",n.data={member:e},this.dialog.open(u.pf,n).afterClosed().subscribe(function(t){t&&i.updateTable.emit(!0)})}}},{key:"viewMemberGroupTree",value:function(t){var e=(0,s.kZ)();e.width="800px",e.data={member:t,groupId:this.groupId},this.dialog.open(u.jd,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(l.uw),n.Y36(c.x4),n.Y36(c.UA),n.Y36(h.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-members-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page",updateTable:"updateTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["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-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,R,2,3,"th",4),n.YNc(5,I,3,6,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,O,3,3,"th",7),n.YNc(8,P,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,D,1,0,"th",7),n.YNc(11,L,2,1,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,N,3,3,"th",7),n.YNc(14,z,3,3,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,F,3,3,"th",7),n.YNc(17,Z,7,12,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,B,3,3,"th",7),n.YNc(20,q,7,12,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,U,3,3,"th",14),n.YNc(23,j,2,1,"td",15),n.BQk(),n.ynx(24,16),n.YNc(25,G,3,3,"th",7),n.YNc(26,Y,3,3,"td",9),n.BQk(),n.ynx(27,17),n.YNc(28,V,3,3,"th",7),n.YNc(29,K,3,3,"td",9),n.BQk(),n.ynx(30,18),n.YNc(31,J,3,3,"th",4),n.YNc(32,Q,3,3,"td",9),n.BQk(),n.YNc(33,W,1,0,"tr",19),n.YNc(34,$,1,12,"tr",20),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,tt,3,4,"app-alert",21),n.YNc(36,et,3,4,"app-alert",21)),2&t&&(n.Q6J("hidden",0===e.members.length||!e.dataSource||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!e.dataSource&&0!==e.members.length&&0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("ngIf",0===e.members.length))},directives:[d.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,f.O5,o.ge,p.oG,o.ev,g.gM,r.nU,m.Hw,o.XQ,o.Gk,b.YH,h.rH,w.w],pipes:[_.X$,A.d,k.u,T.i,C.f,S.M,E.D,x.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_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}"]}),t}()},11418:function(t,e,i){"use strict";i.d(e,{c:function(){return p}});var n=i(31572),o=i(88426),a=i(84140),s=i(61189),u=i(84608),c=i(61511),l=i(43691),h=i(48160);function d(t,e){if(1&t&&(n.TgZ(0,"div",5),n.TgZ(1,"mat-icon"),n._uU(2),n.qZA(),n.qZA()),2&t){var i=n.oxw();n.xp6(2),n.Oqu(i.data.icon)}}function f(t,e){if(1&t&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.hij(" ",i.showTimestamp()," ")}}var p=function(){var t=function(){function t(e,i){v(this,t),this.dialog=e,this.notificationStorageService=i,this.newNotification=!1,this.closeNotification=new n.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return y(t,[{key:"doAction",value:function(){var t=this;if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{var e=(0,a.kZ)();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(s.FM,e).afterClosed().subscribe(function(){t.closeSelf()})}}},{key:"closeSelf",value:function(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}},{key:"ngOnInit",value:function(){var t=this;(0,a.ys)(this.data.delay,function(){t.alreadyClosed||t.waiting||t.closeSelf()})}},{key:"showTimestamp",value:function(){var t=r(this.data.timeStamp.split(":"),2),e=t[0],i=t[1];return i.length<2?e+":0"+i:this.data.timeStamp}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.uw),n.Y36(o.SZ))},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"div"),n.TgZ(1,"div",0),n.NdJ("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),n.YNc(2,d,3,1,"div",1),n.TgZ(3,"div",2),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.YNc(6,f,2,1,"div",3),n.TgZ(7,"div",4),n.NdJ("click",function(){return e.waiting=!0,e.doAction()}),n._uU(8),n.qZA(),n.qZA(),n.qZA()),2&t&&(n.Gre("notification ",e.inDialog?"":"mat-elevation-z7",""),n.ekj("error","error"===e.data.type)("success","success"===e.data.type),n.xp6(2),n.Q6J("ngIf",null!==e.data.icon),n.xp6(2),n.hij(" ",n.lcZ(5,12,e.data.title)," "),n.xp6(2),n.Q6J("ngIf",e.inDialog),n.xp6(1),n.Q6J("hidden",e.alreadyPressed),n.xp6(1),n.hij(" ",e.data.actionText," "))},directives:[c.O5,l.Hw],pipes:[h.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}"]}),t}()},16306:function(t,e,i){"use strict";i.d(e,{$:function(){return O}});var n=i(31572),r=i(88426),o=i(33642),a=i(84608),s=i(48160),u=i(66283),c=i(80340),l=i(16073),h=i(61511),d=i(15980);function p(t,e){1&t&&(n.TgZ(0,"mat-error"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}var g=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.translate=i,this.notificator=n,this.rtMessages=r,this.storeService=o,this.message="",this.subject="",this.instanceName=""}return y(t,[{key:"ngOnInit",value:function(){this.instanceName=this.storeService.get("config")}},{key:"sendBugReport",value:function(){var t=this;this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(e){t.dialogRef.afterClosed().subscribe(function(){return t.notificator.showSuccess(t.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)}),t.dialogRef.close()})}},{key:"getFullEmailBody",value:function(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(60306).i8}},{key:"close",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(a.so),n.Y36(s.sK),n.Y36(r.V6),n.Y36(o.Hr),n.Y36(r.d6))},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"mat-form-field"),n.TgZ(5,"mat-label"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(t){return e.subject=t}),n.qZA(),n.YNc(10,p,3,3,"mat-error",4),n.qZA(),n.TgZ(11,"mat-form-field"),n.TgZ(12,"mat-label"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"textarea",5),n.NdJ("ngModelChange",function(t){return e.message=t}),n.ALo(16,"translate"),n._uU(17," "),n.qZA(),n.TgZ(18,"mat-hint"),n._uU(19),n.ALo(20,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(21,"div",6),n.TgZ(22,"div",7),n.TgZ(23,"button",8),n.NdJ("click",function(){return e.close()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.TgZ(26,"button",9),n.NdJ("click",function(){return e.sendBugReport()}),n._uU(27),n.ALo(28,"translate"),n.qZA(),n.qZA(),n.qZA()),2&t){var i=n.MAs(9);n.xp6(1),n.Oqu(n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),n.xp6(5),n.Oqu(n.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),n.xp6(2),n.Q6J("ngModel",e.subject),n.xp6(2),n.Q6J("ngIf",i.invalid),n.xp6(3),n.Oqu(n.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),n.xp6(2),n.s9C("placeholder",n.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),n.Q6J("ngModel",e.message),n.xp6(4),n.Oqu(n.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),n.xp6(5),n.hij(" ",n.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),n.xp6(2),n.Q6J("disabled",i.invalid),n.xp6(1),n.hij(" ",n.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[a.uh,a.xY,u.KE,u.hX,c.Nt,l.Fj,l.Q7,l.JJ,l.On,h.O5,u.bx,a.H8,d.lW,u.TO],pipes:[s.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t}(),m=i(84140),b=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t,e,i){return t["".concat(i,"_").concat(e)]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedText",type:t,pure:!0}),t}(),w=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t,e){return t["link_"+e]||t.link_en}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"localisedLink",type:t,pure:!0}),t}(),_=function(t){return{color:t}};function A(t,e){if(1&t&&(n.TgZ(0,"i",16),n._uU(1),n.qZA()),2&t){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("ngStyle",n.VKq(2,_,r.linksTextColor)),n.xp6(1),n.hij(" ",i.icon," ")}}function k(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"span",17),n.NdJ("click",function(){n.CHM(i);var t=n.oxw().$implicit;return n.oxw(3).openDialog(t.dialog)}),n._uU(1),n.ALo(2,"localisedText"),n.qZA()}if(2&t){var r=n.oxw().$implicit,o=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,_,o.linksTextColor)),n.xp6(1),n.hij("",n.Dn7(2,2,r,o.language,"label")," ")}}function T(t,e){if(1&t&&(n.TgZ(0,"a",18),n.ALo(1,"localisedLink"),n._uU(2),n.ALo(3,"localisedText"),n.qZA()),2&t){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("href",n.xi3(1,3,i,r.language),n.LSH)("ngStyle",n.VKq(10,_,r.linksTextColor)),n.xp6(2),n.Oqu(n.Dn7(3,6,i,r.language,"label"))}}function C(t,e){if(1&t&&(n.TgZ(0,"span",19),n._uU(1),n.ALo(2,"localisedText"),n.qZA()),2&t){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,_,r.linksTextColor)),n.xp6(1),n.Oqu(n.Dn7(2,2,i,r.language,"label"))}}function S(t,e){if(1&t&&(n.TgZ(0,"div",11),n.YNc(1,A,2,4,"i",12),n.YNc(2,k,3,8,"span",13),n.YNc(3,T,4,12,"a",14),n.ALo(4,"localisedLink"),n.YNc(5,C,3,8,"span",15),n.ALo(6,"localisedLink"),n.qZA()),2&t){var i=e.$implicit,r=n.oxw(3);n.xp6(1),n.Q6J("ngIf",i.icon),n.xp6(1),n.Q6J("ngIf",i.dialog),n.xp6(1),n.Q6J("ngIf",n.xi3(4,4,i,r.language)&&!i.dialog),n.xp6(2),n.Q6J("ngIf",!n.xi3(6,7,i,r.language)&&!i.dialog)}}function E(t,e){if(1&t&&(n.TgZ(0,"div"),n.YNc(1,S,7,10,"div",10),n.qZA()),2&t){var i=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",i.elements)}}function x(t,e){if(1&t&&(n.TgZ(0,"div",7),n.TgZ(1,"h6",8),n._uU(2),n.ALo(3,"localisedText"),n.qZA(),n.YNc(4,E,2,1,"div",9),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Q6J("ngStyle",n.VKq(7,_,r.headersTextColor)),n.xp6(1),n.hij(" ",n.Dn7(3,3,i,r.language,"title")," "),n.xp6(2),n.Q6J("ngIf",i.elements)}}function R(t,e){if(1&t&&(n.TgZ(0,"span"),n.TgZ(1,"a",6),n._uU(2),n.qZA(),n.qZA()),2&t){var i=e.$implicit,r=e.index,o=n.oxw();n.xp6(1),n.Q6J("href",i.url,n.LSH)("ngStyle",n.VKq(3,_,o.copyrightTextColor)),n.xp6(1),n.Oqu(r?", "+i.name:i.name)}}var I=function(t){return{background:t}},O=function(){var t=function(){function t(e,i,r){v(this,t),this.storeService=e,this.translateService=i,this.dialog=r,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new n.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.translateService.onLangChange.subscribe(function(e){t.language=e.lang}),this.version=i(60306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}},{key:"openDialog",value:function(t){var e=(0,m.kZ)();switch(t){case"reportIssue":e.width="550px",this.dialog.open(g,e)}}},{key:"getHeight",value:function(){var t,e=1,i=f(this.items);try{for(i.s();!(t=i.n()).done;){var n=t.value;e=e-1)},directives:[r.O5,o.Hw,a.gM],pipes:[s.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t}()},59403:function(t,e,i){"use strict";i.d(e,{t:function(){return u}});var n=i(31572),r=i(15980),o=i(36922),a=i(43691),s=i(48160),u=function(){var t=function(){function t(){v(this,t),this.refresh=new n.vpe}return y(t,[{key:"onClickbutton",value:function(t){this.refresh.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(n.TgZ(0,"button",0),n.NdJ("click",function(t){return e.onClickbutton(t)}),n.ALo(1,"translate"),n._UZ(2,"mat-icon",1),n.qZA()),2&t&&(n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.Q6J("disabled",e.disabled),n.xp6(2),n.s9C("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[r.lW,o.gM,a.Hw],pipes:[s.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),t}()},88884:function(t,e,i){"use strict";i.d(e,{C:function(){return G}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),u=i(88426),c=i(82819),l=i(61511),h=i(29236),d=i(72953),f=i(46837),p=i(84534),g=i(57629),m=i(39571),b=i(48160),w=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){if(null==t)return null;var e="";return t.forEach(function(t){e=e.concat(t.tagName)}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"resourceTagsToString",type:t,pure:!0}),t}(),_=i(95603);function A(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"th",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(t){n.CHM(i);var e=n.oxw();return t?e.masterToggle():null}),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function k(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.itemSelectionToggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function T(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function C(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function S(t,e){1&t&&n._UZ(0,"th",20)}function E(t,e){if(1&t&&(n.TgZ(0,"td",25),n._UZ(1,"perun-web-apps-recently-viewed-icon",26),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function x(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function R(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.name)}}function I(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function O(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.vo.name)}}function P(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function D(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"perun-web-apps-group-resource-status",27),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var t=n.oxw();return t.disabledRouting=t.disableRouting})("statusChange",function(){return n.CHM(i),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("theme","group-theme")("resourceId",r.id)("groupId",o.groupId)("failureCause",r.failureCause)("status",r.status)}}function M(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function L(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.facility.name)}}function N(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"resourceTagsToString"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.resourceTags))}}function F(t,e){1&t&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function Z(t,e){if(1&t&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.description)}}function B(t,e){1&t&&n._UZ(0,"tr",28)}var q=function(t){return[t]};function U(t,e){if(1&t&&(n._UZ(0,"tr",29),n.ALo(1,"getResourceRoute"),n.ALo(2,"getResourceRoute")),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting)("disable-outline",r.disabledRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(12,q,r.disabledRouting?null:n.xi3(1,6,i,r.routingVo)))("routerLink",r.disabledRouting?null:n.xi3(2,9,i,r.routingVo))}}function H(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function j(t,e){1&t&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var G=function(){var t=function(){function t(e,i){v(this,t),this.guiAuthResolver=e,this.tableCheckbox=i,this.resources=[],this.selection=new a.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=s.f7,this.groupId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.allSelected=new n.vpe,this.removeAuth=!1,this.addAuth=!1}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"ngOnInit",value:function(){this.disabledRouting=this.disableRouting}},{key:"ngOnChanges",value:function(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.setDataSource(),this.setAuth()}},{key:"getDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return t.vo.name;case"name":return t.name;case"facility":return t.facility.name;case"description":return t.description;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"tags":if(!t.resourceTags)return t[e];var n="";return t.resourceTags.forEach(function(t){n=n.concat(t.tagName)}),n;case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}},{key:"exportData",value:function(t){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,s.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t,!0)},this.dataSource.sortData=function(e,i){return(0,s.pR)(e,i,t.getDataForColumn,t)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}},{key:"isAllSelected",value:function(){var t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(t),t}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}},{key:"checkboxLabel",value:function(t){return t?"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"setAuth",value:function(){var t=this,e=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce(function(i,n){return i&&t.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([n]))},!0),this.addAuth=this.selection.selected.reduce(function(i,n){return i&&t.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([n]))},!0)}},{key:"itemSelectionToggle",value:function(t){this.selection.toggle(t),this.setAuth()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(u.x4),n.Y36(u.UA))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[n.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,A,2,3,"th",4),n.YNc(5,k,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,T,3,3,"th",7),n.YNc(8,C,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,S,1,0,"th",4),n.YNc(11,E,2,2,"td",10),n.BQk(),n.ynx(12,11),n.YNc(13,x,3,3,"th",7),n.YNc(14,R,2,1,"td",10),n.BQk(),n.ynx(15,12),n.YNc(16,I,3,3,"th",7),n.YNc(17,O,2,1,"td",10),n.BQk(),n.ynx(18,13),n.YNc(19,P,3,3,"th",7),n.YNc(20,D,2,5,"td",10),n.BQk(),n.ynx(21,14),n.YNc(22,M,3,3,"th",7),n.YNc(23,L,2,1,"td",10),n.BQk(),n.ynx(24,15),n.YNc(25,N,3,3,"th",7),n.YNc(26,z,3,3,"td",10),n.BQk(),n.ynx(27,16),n.YNc(28,F,3,3,"th",7),n.YNc(29,Z,2,1,"td",10),n.BQk(),n.YNc(30,B,1,0,"tr",17),n.YNc(31,U,3,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(32,H,3,3,"app-alert",19),n.YNc(33,j,3,3,"app-alert",19)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),n.xp6(1),n.Q6J("ngIf",0===e.resources.length))},directives:[c.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,r.nU,d.W,f.x,o.XQ,o.Gk,p.YH,g.rH,m.w],pipes:[b.X$,w,_.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t}()},23888:function(t,e,i){"use strict";i.d(e,{j:function(){return N}});var n=i(31572),r=i(4230),o=i(58623),a=i(67033),s=i(88426),u=i(84140),c=i(57629),l=i(82819),h=i(61511),d=i(29236),f=i(84534),p=i(39571),g=i(48160),m=i(83787),b=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){var e=t.find(function(t){return"mail"===t.friendlyName});return e?e.value.toString():"N/A"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"getMailFromAttributes",type:t,pure:!0}),t}();function w(t,e){1&t&&n._UZ(0,"th",17)}function _(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",18),n.TgZ(1,"mat-checkbox",19),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function A(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function k(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.userExtSource.id)}}function T(t,e){1&t&&(n.TgZ(0,"th",17),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function C(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.ALo(2,"getMailFromAttributes"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.attributes))}}function S(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,i.extSourceNameHeader?i.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function E(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.userExtSource.extSource.name)}}function x(t,e){if(1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t){var i=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,i.loginHeader?i.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function R(t,e){if(1&t&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.userExtSource.login)}}function I(t,e){1&t&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function O(t,e){if(1&t&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"date"),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function P(t,e){1&t&&n._UZ(0,"tr",23)}var D=function(t,e){return["/admin","users",t,"identities",e]};function M(t,e){if(1&t&&n._UZ(0,"tr",24),2&t){var i=e.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting)("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.WLB(6,D,r.userId,i.userExtSource.id))("routerLink",r.disableRouting?null:n.WLB(9,D,r.userId,i.userExtSource.id))}}function L(t,e){1&t&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var N=function(){var t=function(){function t(e,i){v(this,t),this.route=e,this.authResolver=i,this.selection=new r.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new n.vpe,this.pageSizeOptions=u.f7}return y(t,[{key:"matSort",set:function(t){this.sort=t,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){var t=this;this.disableRouting||this.route.parent.params.subscribe(function(e){t.userId=e.userId}),this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.dataSource=new a.by(this.userExtSources),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e){switch(e){case"id":return t.userExtSource.id.toString();case"mail":var i=t.attributes.find(function(t){return"mail"===t.friendlyName});return i?i.value.toString():"N/A";case"extSourceName":return t.userExtSource.extSource.name;case"login":return t.userExtSource.login;case"lastAccess":return t.userExtSource.lastAccess.split(".")[0];default:return""}}},{key:"exportData",value:function(t){(0,u.O6)((0,u.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource&&(this.dataSource.filterPredicate=function(e,i){return(0,u.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,u.pR)(e,i,t.getDataForColumn,t)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(t){return"".concat(this.selection.isSelected(t.userExtSource)?"deselect":"select"," row ").concat(t.userExtSource.id+1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(c.gz),n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(u.l9,7),n.Gf(o.YE,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.child=i.first),n.iGM(i=n.CRH())&&(e.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,w,1,0,"th",4),n.YNc(5,_,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,4,5,"th",7),n.YNc(8,k,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,T,4,5,"th",4),n.YNc(11,C,3,3,"td",8),n.BQk(),n.ynx(12,10),n.YNc(13,S,4,5,"th",7),n.YNc(14,E,2,1,"td",8),n.BQk(),n.ynx(15,11),n.YNc(16,x,4,5,"th",7),n.YNc(17,R,2,1,"td",8),n.BQk(),n.ynx(18,12),n.YNc(19,I,4,5,"th",7),n.YNc(20,O,3,4,"td",13),n.BQk(),n.YNc(21,P,1,0,"tr",14),n.YNc(22,M,1,12,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(23,L,4,5,"app-alert",16)),2&t&&(n.Q6J("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(19),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.userExtSources.length))},directives:[l.l,a.BZ,o.YE,a.w1,a.fO,a.Dz,a.as,a.nj,h.O5,a.ge,a.ev,d.oG,o.nU,a.XQ,a.Gk,f.YH,c.rH,p.w],pipes:[g.X$,m.a,b,h.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t}()},7927:function(t,e,i){"use strict";i.d(e,{S:function(){return s}});var n=i(31572),r=i(84140),o=i(44973),a=i(48160),s=function(){var t=function(){function t(){v(this,t),this.disableAutoSelect=!1,this.userSelected=new n.vpe,this.userFullNameFunction=r.bD}return y(t,[{key:"ngOnInit",value:function(){this.users=this.users.sort(r.fx)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.userSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.users)("disableAutoSelect",e.disableAutoSelect)("searchFunction",e.userFullNameFunction)("mainTextFunction",e.userFullNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[o.i],pipes:[a.X$],styles:[""]}),t}()},19386:function(t,e,i){"use strict";i.d(e,{M:function(){return a}});var n=i(31572),r=i(44973),o=i(48160),a=function(){var t=function t(){v(this,t),this.voSelected=new n.vpe,this.nameFunction=function(t){return t.name},this.shortNameFunction=function(t){return t.shortName},this.searchFunction=function(t){return t.name+t.shortName+t.id}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:13,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(t,e){1&t&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(t){return e.voSelected.emit(t)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&t&&n.Q6J("entities",e.vos)("searchFunction",e.searchFunction)("mainTextFunction",e.nameFunction)("secondaryTextFunction",e.shortNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[r.i],pipes:[o.X$],styles:[""]}),t}()},97162:function(t,e,i){"use strict";i.d(e,{Z:function(){return D}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),u=i(82819),c=i(61511),l=i(29236),h=i(72953),d=i(84534),f=i(57629),p=i(39571),g=i(48160);function m(t,e){1&t&&n._UZ(0,"th",15)}function b(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"td",16),n.TgZ(1,"mat-checkbox",17),n.NdJ("change",function(t){var e=n.CHM(i).$implicit,r=n.oxw();return t?r.selection.toggle(e):null})("click",function(t){return t.stopPropagation()}),n.qZA(),n.qZA()}if(2&t){var r=e.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function w(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")))}function _(t,e){if(1&t&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.id)}}function A(t,e){1&t&&n._UZ(0,"th",15)}function k(t,e){if(1&t&&(n.TgZ(0,"td",19),n._UZ(1,"perun-web-apps-recently-viewed-icon",20),n.qZA()),2&t){var i=e.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function T(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")))}function C(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.shortName)}}function S(t,e){1&t&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")))}function E(t,e){if(1&t&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&t){var i=e.$implicit;n.xp6(1),n.Oqu(i.name)}}function x(t,e){1&t&&n._UZ(0,"tr",21)}var R=function(t){return["/organizations",t]};function I(t,e){if(1&t&&n._UZ(0,"tr",22),2&t){var i=e.$implicit,r=n.oxw();n.ekj("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.VKq(4,R,i.id))("routerLink",r.disableRouting?null:n.VKq(6,R,i.id))}}function O(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(t,e){1&t&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&t&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}var D=function(){var t=function(){function t(e){v(this,t),this.authResolver=e,this.vos=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.pageSizeOptions=a.f7,this.page=new n.vpe}return y(t,[{key:"matSort",set:function(t){this.sort=t}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(t){return"id"!==t})),this.setDataSource()}},{key:"getDataForColumn",value:function(t,e,i){switch(e){case"id":return t.id.toString();case"shortName":return t.shortName;case"name":return t.name;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;default:return t[e]}}},{key:"exportData",value:function(t){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}},{key:"setDataSource",value:function(){var t=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(e,i){return(0,a.Sd)(e,i,t.displayedColumns,t.getDataForColumn,t)},this.dataSource.sortData=function(e,i){return(0,a.pR)(e,i,t.getDataForColumn,t)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}},{key:"checkboxLabel",value:function(t){return"".concat(this.selection.isSelected(t)?"deselect":"select"," row ").concat(t.id+1)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(s.x4))},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(t,e){var i;(1&t&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&t)&&(n.iGM(i=n.CRH())&&(e.matSort=i.first),n.iGM(i=n.CRH())&&(e.child=i.first))},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,1,0,"th",4),n.YNc(5,b,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,w,3,3,"th",7),n.YNc(8,_,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,A,1,0,"th",4),n.YNc(11,k,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,T,3,3,"th",7),n.YNc(14,C,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,S,3,3,"th",7),n.YNc(17,E,2,1,"td",9),n.BQk(),n.YNc(18,x,1,0,"tr",12),n.YNc(19,I,1,8,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,O,3,3,"app-alert",14),n.YNc(21,P,3,3,"app-alert",14)),2&t&&(n.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.vos.length),n.xp6(1),n.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("dataSource",e.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",e.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",e.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.vos.length),n.xp6(1),n.Q6J("ngIf",0===e.vos.length))},directives:[u.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,c.O5,o.ge,o.ev,l.oG,r.nU,h.W,o.XQ,o.Gk,d.YH,f.rH,p.w],pipes:[g.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t}()},61189:function(t,e,i){"use strict";i.d(e,{Wr:function(){return dt},r2:function(){return ht},gr:function(){return vt},u3:function(){return Qt},Qu:function(){return he},pf:function(){return _},hd:function(){return ie},kZ:function(){return $t},wA:function(){return lt},rd:function(){return D},Eg:function(){return P},Bp:function(){return q},qD:function(){return qt},jd:function(){return Zt},FM:function(){return V},Lc:function(){return it},mk:function(){return ot},Tf:function(){return kt}}),i(22280);var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),u=i(61511),c=i(15980),l=i(67806),h=i(66283),d=i(4786),p=i(71522);function g(t,e){1&t&&a._UZ(0,"mat-spinner",6)}function m(t,e){if(1&t&&(a.TgZ(0,"mat-option",16),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.Q6J("value",i),a.xp6(1),a.Oqu(i)}}function b(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"mat-form-field",13),a.TgZ(1,"mat-label"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-select",14),a.NdJ("selectionChange",function(t){return a.CHM(i),a.oxw(2).changeStatus(t)}),a.YNc(5,m,2,2,"mat-option",15),a.qZA(),a.qZA()}if(2&t){var n=a.oxw(2);a.xp6(2),a.Oqu(a.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),a.xp6(3),a.Q6J("ngForOf",n.allStatuses)}}function w(t,e){if(1&t&&(a.TgZ(0,"div",7),a.TgZ(1,"div",8),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",9),a._uU(5),a.qZA(),a.TgZ(6,"div",8),a._uU(7),a.ALo(8,"translate"),a.YNc(9,b,6,4,"mat-form-field",10),a.qZA(),a.TgZ(10,"div",11),a._UZ(11,"i",12),a.qZA(),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.AsE("",a.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",i.actualStatus,""),a.xp6(3),a.Oqu(i.description),a.xp6(2),a.hij(" ",a.lcZ(8,8,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),a.xp6(2),a.Q6J("ngIf",!i.loading),a.xp6(2),a.Q6J("innerHTML",i.changeMessage,a.oJD)}}var _=function(){var t=function(){function t(e,i,n,r,o,a){v(this,t),this.dialogRef=e,this.data=i,this.memberManager=n,this.groupsManager=r,this.notificatorService=o,this.translate=a,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}return y(t,[{key:"ngOnInit",value:function(){var t=this;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.allStatuses=this.data.groupId?"VALID"===this.actualStatus?["EXPIRED"]:["VALID"]:"INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(function(e){return e!==t.actualStatus}),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.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=""}}},{key:"changeStatus",value:function(t){this.selectedStatus=t.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}},{key:"changeStatusMessage",value:function(t,e){if("VALID"===t)switch(e){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(e){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=""}}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){var t=this;this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(function(e){t.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(function(i){t.notificatorService.showSuccess(i),t.dialogRef.close(e)})},function(){return t.loading=!1}):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(function(e){t.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(function(i){t.notificatorService.showSuccess(i),t.dialogRef.close(e)})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.ff),a.Y36(o.V6),a.Y36(s.sK))},t.\u0275cmp=a.Xpm({type:t,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","mr-2 mt-2",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,g,1,0,"mat-spinner",1),a.YNc(5,w,12,10,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return e.cancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return e.submit()}),a._uU(11),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),a.xp6(2),a.Q6J("disabled",e.loading||!e.selectedStatus),a.xp6(1),a.hij(" ",e.submitButtonText," "))},directives:[n.uh,u.O5,n.H8,c.lW,l.$g,n.xY,h.KE,h.hX,d.gD,u.sg,p.ey],pipes:[s.X$],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),t}(),A=i(16073),k=i(80340);function T(t,e){1&t&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")))}function C(t,e){1&t&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")))}function S(t,e){1&t&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")))}function E(t,e){1&t&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")))}function x(t,e){1&t&&a._UZ(0,"mat-spinner",8)}function R(t,e){if(1&t&&(a.TgZ(0,"mat-form-field"),a._UZ(1,"input",13),a.ALo(2,"translate"),a.qZA()),2&t){var i=a.oxw(2);a.xp6(1),a.MGl("placeholder","",a.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),a.Q6J("value",i.shortName)}}function I(t,e){if(1&t&&(a.TgZ(0,"mat-form-field",14),a._UZ(1,"textarea",15),a.ALo(2,"translate"),a.TgZ(3,"mat-error"),a._uU(4),a.ALo(5,"translate"),a.qZA(),a.qZA()),2&t){var i=a.oxw(2);a.xp6(1),a.MGl("placeholder","",a.lcZ(2,3,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),a.Q6J("formControl",i.descriptionCtrl),a.xp6(3),a.hij(" ",a.lcZ(5,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_DESCRIPTION")," ")}}function O(t,e){if(1&t&&(a.TgZ(0,"div",9),a.YNc(1,R,3,4,"mat-form-field",10),a.TgZ(2,"mat-form-field"),a._UZ(3,"input",11),a.ALo(4,"translate"),a.TgZ(5,"mat-error"),a._uU(6),a.ALo(7,"translate"),a.qZA(),a.qZA(),a.YNc(8,I,6,7,"mat-form-field",12),a.qZA()),2&t){var i=a.oxw();a.xp6(1),a.Q6J("ngIf",2===i.dialogType),a.xp6(2),a.MGl("placeholder","",a.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),a.Q6J("formControl",i.nameCtrl),a.xp6(3),a.hij(" ",i.invalidNameMessage.length?i.invalidNameMessage:a.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),a.xp6(2),a.Q6J("ngIf",2!==i.dialogType)}}var P=function(t){return t[t.FACILITY=0]="FACILITY",t[t.RESOURCE=1]="RESOURCE",t[t.VO=2]="VO",t[t.GROUP=3]="GROUP",t}({}),D=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c){v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translateService=r,this.facilitiesManager=o,this.resourcesManager=a,this.groupsManager=s,this.vosManager=u,this.store=c,this.invalidNameMessage=this.data.dialogType===P.GROUP?this.store.get("groupNameErrorMessage"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===P.GROUP?this.store.get("groupNameSecondaryRegex"):""}return y(t,[{key:"ngOnInit",value:function(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case P.FACILITY:this.nameCtrl=new A.NI(this.data.facility.name,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]),this.descriptionCtrl=new A.NI(this.data.facility.description,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]);break;case P.RESOURCE:this.nameCtrl=new A.NI(this.data.resource.name,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]),this.descriptionCtrl=new A.NI(this.data.resource.description,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]);break;case P.GROUP:var t=this.data.group.name.split(":");this.nameCtrl=new A.NI(t[t.length-1],[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.pattern(this.secondaryRegex),A.kI.maxLength(129)]),this.descriptionCtrl=new A.NI(this.data.group.description,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]);break;case P.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new A.NI(this.data.vo.name,[A.kI.required,A.kI.pattern(".*[\\S]+.*"),A.kI.maxLength(129)]),this.descriptionCtrl=new A.NI}}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"submit",value:function(){switch(this.loading=!0,this.dialogType){case P.FACILITY:this.editFacility();break;case P.RESOURCE:this.editResource();break;case P.GROUP:this.editGroup();break;case P.VO:this.editVo()}}},{key:"editResource",value:function(){var t=this;this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(function(){t.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}},{key:"editFacility",value:function(){var t=this;this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(function(){t.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}},{key:"editGroup",value:function(){var t=this;this.groupsManager.getGroupById(this.data.group.id).subscribe(function(e){var i=e;i.name=t.nameCtrl.value,i.description=t.descriptionCtrl.value,t.groupsManager.updateGroup({group:i}).subscribe(function(){t.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"editVo",value:function(){var t=this;this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(function(){t.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})},function(){return t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(s.sK),a.Y36(r.IQ),a.Y36(r.xk),a.Y36(r.ff),a.Y36(r.YF),a.Y36(o.d6))},t.\u0275cmp=a.Xpm({type:t,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","","required","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.YNc(1,T,3,3,"h1",0),a.YNc(2,C,3,3,"h1",0),a.YNc(3,S,3,3,"h1",0),a.YNc(4,E,3,3,"h1",0),a.TgZ(5,"div",1),a.YNc(6,x,1,0,"mat-spinner",2),a.YNc(7,O,9,9,"div",3),a.qZA(),a.TgZ(8,"div",4),a.TgZ(9,"button",5),a.NdJ("click",function(){return e.cancel()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"button",6),a.NdJ("click",function(){return e.submit()}),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(1),a.Q6J("ngIf",0===e.dialogType),a.xp6(1),a.Q6J("ngIf",1===e.dialogType),a.xp6(1),a.Q6J("ngIf",2===e.dialogType),a.xp6(1),a.Q6J("ngIf",3===e.dialogType),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),a.xp6(2),a.Q6J("disabled",e.loading||e.nameCtrl.invalid||e.descriptionCtrl.invalid),a.xp6(1),a.hij(" ",a.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[u.O5,n.xY,n.H8,c.lW,n.uh,l.$g,h.KE,k.Nt,A.Fj,A.Q7,A.JJ,A.oH,h.TO,k.D7],pipes:[s.X$],styles:[""]}),t}(),M=i(67004),L=i(84140),N=i(43691);function z(t,e){1&t&&a._UZ(0,"mat-spinner",8)}function F(t,e){if(1&t&&(a.TgZ(0,"div",9),a.TgZ(1,"span"),a._uU(2),a.ALo(3,"translate"),a.TgZ(4,"b"),a._uU(5),a.qZA(),a.qZA(),a._UZ(6,"br"),a.TgZ(7,"span"),a._uU(8),a.ALo(9,"translate"),a.TgZ(10,"b"),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a._UZ(13,"br"),a.TgZ(14,"span"),a._uU(15),a.ALo(16,"translate"),a.TgZ(17,"b"),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.qZA(),a._UZ(20,"br"),a.TgZ(21,"span"),a._uU(22),a.ALo(23,"translate"),a.TgZ(24,"b"),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),a.xp6(3),a.Oqu(i.group.name),a.xp6(3),a.hij(" ",a.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),a.xp6(3),a.Oqu(a.lcZ(12,12,i.getSynchronizationType())),a.xp6(4),a.hij(" ",a.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),a.xp6(3),a.Oqu(a.lcZ(19,16,i.getLastSyncState())),a.xp6(4),a.hij(" ",a.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),a.xp6(3),a.Oqu(a.lcZ(26,20,i.getLastSyncTime()))}}function Z(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"button",10),a.NdJ("click",function(){return a.CHM(i),a.oxw().onForceStructure()}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function B(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"button",10),a.NdJ("click",function(){return a.CHM(i),a.oxw().onForce()}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}var q=function(){var t=function(){function t(e,i,n,r){v(this,t),this.dialogRef=e,this.data=i,this.groupService=n,this.notificator=r,this.loading=!0}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.loadGroup()}},{key:"onForceStructure",value:function(){var t=this;this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(function(){t.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),t.loading=!1},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(null)}},{key:"onForce",value:function(){var t=this;this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(function(){t.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),t.refresh()},function(){return t.loading=!1}),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(function(){t.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),t.refresh()},function(){return t.loading=!1})}},{key:"getSynchronizationType",value:function(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}},{key:"isBasic",value:function(){return"BASIC"===this.type}},{key:"isStructured",value:function(){return"STRUCTURED"===this.type}},{key:"getLastSyncState",value:function(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}},{key:"getLastSyncTime",value:function(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}},{key:"refresh",value:function(){this.loadGroup()}},{key:"loadGroup",value:function(){var t=this;this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[M.r.GROUP_SYNC_ENABLED,M.r.GROUP_LAST_SYNC_STATE,M.r.GROUP_LAST_SYNC_TIMESTAMP,M.r.GROUP_STRUCTURE_SYNC_ENABLED,M.r.GROUP_LAST_STRUCTURE_SYNC_STATE,M.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(e){t.group=e,t.syncEnabled=(0,L.IL)(t.group.attributes,M.r.GROUP_SYNC_ENABLED).value,t.lastSyncState=(0,L.IL)(t.group.attributes,M.r.GROUP_LAST_SYNC_STATE).value,t.lastSyncTime=(0,L.IL)(t.group.attributes,M.r.GROUP_LAST_SYNC_TIMESTAMP).value,t.structSyncEnabled=(0,L.IL)(t.group.attributes,M.r.GROUP_STRUCTURE_SYNC_ENABLED).value,t.lastStructSyncState=(0,L.IL)(t.group.attributes,M.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,t.lastStructSyncTime=(0,L.IL)(t.group.attributes,M.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==t.syncEnabled&&"true"===t.syncEnabled&&(t.type="BASIC"),null!==t.structSyncEnabled&&t.structSyncEnabled&&(t.type="STRUCTURED"),t.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.ff),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,z,1,0,"mat-spinner",1),a.YNc(5,F,27,22,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"div",4),a.TgZ(8,"button",5),a.NdJ("click",function(){return e.refresh()}),a.TgZ(9,"mat-icon"),a._uU(10,"refresh"),a.qZA(),a.qZA(),a.YNc(11,Z,3,4,"button",6),a.YNc(12,B,3,4,"button",6),a.TgZ(13,"button",7),a.NdJ("click",function(){return e.onCancel()}),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(6),a.Q6J("ngIf",e.isStructured()),a.xp6(1),a.Q6J("ngIf",e.isBasic()||e.isStructured()),a.xp6(2),a.hij(" ",a.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[n.uh,u.O5,n.H8,c.lW,N.Hw,l.$g,n.xY],pipes:[s.X$],styles:[""]}),t}();function U(t,e){1&t&&a._UZ(0,"mat-spinner",7)}function H(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function j(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function G(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div",8),a.TgZ(1,"mat-form-field"),a.TgZ(2,"mat-label"),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"input",9,10),a.NdJ("ngModelChange",function(t){return a.CHM(i),a.oxw().subject=t}),a.qZA(),a.YNc(7,H,3,3,"mat-error",11),a.qZA(),a.TgZ(8,"mat-form-field"),a.TgZ(9,"mat-label"),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"textarea",12,13),a.NdJ("ngModelChange",function(t){return a.CHM(i),a.oxw().message=t}),a.ALo(14,"translate"),a._uU(15," "),a.qZA(),a.YNc(16,j,3,3,"mat-error",11),a.qZA(),a.qZA()}if(2&t){var n=a.MAs(6),r=a.MAs(13),o=a.oxw();a.xp6(3),a.Oqu(a.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),a.xp6(2),a.Q6J("ngModel",o.subject),a.xp6(2),a.Q6J("ngIf",n.invalid),a.xp6(3),a.Oqu(a.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),a.xp6(2),a.s9C("placeholder",a.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),a.Q6J("ngModel",o.message),a.xp6(4),a.Q6J("ngIf",r.invalid)}}var Y=function(){var t=function(){function t(e,i,n,r,o,a){v(this,t),this.dialogRef=e,this.translate=i,this.notificator=n,this.rtMessages=r,this.data=o,this.storeService=a,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}},{key:"sendBugReport",value:function(){var t=this;this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(e){t.dialogRef.afterClosed().subscribe(function(){t.notificator.showSuccess(t.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+t.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),t.dialogRef.close()},function(){t.loading=!1,t.dialogRef.afterClosed().subscribe(function(){})})}},{key:"getFullEmailBody",value:function(){var t=this.storeService.get("config"),e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n")).concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){var n=JSON.stringify(this.data.error.payload);n=n.replace(/"password":".+?"/,'"password":"####"'),e=e.concat("Payload:\n"+n+"\n\n")}return(e=e.concat("Sended from new Perun Gui, version: "+i(60306).i8)).split("\n").join("\n ")}},{key:"parseMethod",value:function(t){return t?this.methodRegexp.exec(t)[1]:t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(s.sK),a.Y36(o.V6),a.Y36(r.Hr),a.Y36(n.WI),a.Y36(o.d6))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.YNc(3,U,1,0,"mat-spinner",1),a.YNc(4,G,17,13,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"button",5),a.NdJ("click",function(){return e.dialogRef.close()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",6),a.NdJ("click",function(){return e.sendBugReport()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(4),a.hij(" ",a.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),a.xp6(2),a.Q6J("disabled",""===e.message||""===e.subject||e.loading),a.xp6(1),a.hij(" ",a.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[n.uh,u.O5,n.H8,c.lW,l.$g,n.xY,h.KE,h.hX,k.Nt,A.Fj,A.Q7,A.JJ,A.On,h.TO],pipes:[s.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t}(),V=function(){var t=function(){function t(e,i,n){v(this,t),this.dialogRef=e,this.dialog=i,this.data=n}return y(t,[{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onBugReportClick",value:function(){var t=this;this.dialogRef.afterClosed().subscribe(function(){var e=(0,L.kZ)();e.width="550px",e.data={error:t.data.error},e.autoFocus=!1,t.dialog.open(Y,e)}),this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.uw),a.Y36(n.WI))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a._uU(3),a.qZA(),a.TgZ(4,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return e.onBugReportClick()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a.NdJ("click",function(){return e.onCloseClick()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(e.data.title),a.xp6(2),a.hij("\n",e.data.description,"\n"),a.xp6(3),a.Q6J("hidden","error"!==e.data.type),a.xp6(1),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),a.xp6(3),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[n.uh,n.xY,n.H8,c.lW],pipes:[s.X$],styles:[""]}),t}(),K=i(67033),J=i(83787);function Q(t,e){1&t&&a._UZ(0,"mat-spinner",3)}function W(t,e){1&t&&a._UZ(0,"th",15)}function X(t,e){if(1&t&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.xp6(1),a.hij(" ",i.userExtSource.extSource.name," ")}}function $(t,e){1&t&&a._UZ(0,"tr",17)}function tt(t,e){1&t&&a._UZ(0,"tr",18)}function et(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",4),a.TgZ(2,"p"),a._uU(3),a.ALo(4,"translate"),a.ALo(5,"customTranslate"),a.qZA(),a.TgZ(6,"div",5),a._uU(7),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.TgZ(10,"table",6),a.ynx(11,7),a.YNc(12,W,1,0,"th",8),a.YNc(13,X,2,1,"td",9),a.BQk(),a.YNc(14,$,1,0,"tr",10),a.YNc(15,tt,1,0,"tr",11),a.qZA(),a.qZA(),a.TgZ(16,"div",12),a.TgZ(17,"button",13),a.NdJ("click",function(){return a.CHM(i),a.oxw().onCancel()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.TgZ(21,"button",14),a.NdJ("click",function(){return a.CHM(i),a.oxw().onSubmit()}),a._uU(22),a.ALo(23,"translate"),a.ALo(24,"customTranslate"),a.qZA(),a.qZA(),a.qZA()}if(2&t){var n=a.oxw();a.xp6(3),a.hij(" ",a.lcZ(4,7,a.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),a.xp6(4),a.hij(" ",a.lcZ(8,11,a.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),a.xp6(3),a.Q6J("dataSource",n.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",n.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",n.displayedColumns),a.xp6(3),a.hij(" ",a.lcZ(19,15,a.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),a.xp6(4),a.hij(" ",a.lcZ(23,19,a.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}var it=function(){var t=function(){function t(e,i,n,r,o){var a=this;v(this,t),this.dialogRef=e,this.data=i,this.usersManagerService=n,this.translate=r,this.notificator=o,this.force=!1,this.displayedColumns=["name"],r.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(function(t){return a.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new K.by(this.data.extSources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(function(){t.onSubmit()},function(){return t.loading=!1}):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.Fv),a.Y36(s.sK),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div"),a.YNc(5,Q,1,0,"mat-spinner",1),a.YNc(6,et,25,23,"div",2),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,6,a.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),a.xp6(3),a.Tol(e.theme),a.xp6(1),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,n.xY,K.BZ,K.w1,K.fO,K.Dz,K.as,K.nj,n.H8,c.lW,K.ge,K.ev,K.XQ,K.Gk],pipes:[s.X$,J.a],styles:[""]}),t}(),nt=i(10901),rt=i(81391),ot=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.data=i}return y(t,[{key:"ngOnInit",value:function(){this.value=this.data.value,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a.TgZ(3,"textarea",2),a._uU(4),a.qZA(),a.qZA(),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return e.onCancel()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(e.title),a.xp6(3),a.Oqu(e.value),a.xp6(3),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),a.xp6(2),a.Q6J("cdkCopyToClipboard",e.value),a.xp6(1),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[n.uh,n.xY,nt.IC,k.Nt,n.H8,c.lW,rt.i3],pipes:[s.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t}();function at(t,e){1&t&&a._UZ(0,"th",12)}function st(t,e){if(1&t&&(a.TgZ(0,"td",13),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.xp6(1),a.hij(" ",i.displayName," ")}}function ut(t,e){1&t&&a._UZ(0,"tr",14)}function ct(t,e){1&t&&a._UZ(0,"tr",15)}var lt=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this.dialogRef=e,this.data=i,this.notificator=n,this.translate=r,this.attributesManager=o,this.displayedColumns=["name"]}return y(t,[{key:"ngOnInit",value:function(){this.dataSource=new K.by(this.data.attributes)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t,e=this,i=[],n=f(this.data.attributes);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}var o={};switch(o[this.data.entity]=this.data.entityId,o.attributes=i,void 0!==this.data.secondEntity&&(o[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return e.onSuccess()});break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()})}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return e.onSuccess()});break;default:this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.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(function(){return e.onSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return e.onSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){e.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){return e.onSuccess()})}}},{key:"onSuccess",value:function(){var t=this;this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(function(e){t.notificator.showSuccess(e),t.dialogRef.close(!0)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(s.sK),a.Y36(r.H8))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div"),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"div",2),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"table",3),a.ynx(11,4),a.YNc(12,at,1,0,"th",5),a.YNc(13,st,2,1,"td",6),a.BQk(),a.YNc(14,ut,1,0,"tr",7),a.YNc(15,ct,1,0,"tr",8),a.qZA(),a.qZA(),a.TgZ(16,"div",9),a.TgZ(17,"button",10),a.NdJ("click",function(){return e.onCancel()}),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.TgZ(20,"button",11),a.NdJ("click",function(){return e.onSubmit()}),a._uU(21),a.ALo(22,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),a.xp6(4),a.hij(" ",a.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),a.xp6(3),a.hij(" ",a.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),a.xp6(2),a.Q6J("dataSource",e.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",e.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",e.displayedColumns),a.xp6(3),a.hij(" ",a.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),a.xp6(3),a.hij(" ",a.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[n.uh,n.xY,K.BZ,K.w1,K.fO,K.Dz,K.as,K.nj,n.H8,c.lW,K.ge,K.ev,K.XQ,K.Gk],pipes:[s.X$],styles:[""]}),t}(),ht=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.data=i,this.attributeValue=""}return y(t,[{key:"ngOnInit",value:function(){this.attributeValue=this.data.attribute.value[this.data.index]}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"mat-form-field"),a.TgZ(5,"textarea",2),a.NdJ("ngModelChange",function(t){return e.attributeValue=t}),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return e.cancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return e.submit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),a.xp6(4),a.Q6J("ngModel",e.attributeValue),a.xp6(3),a.hij(" ",a.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,h.KE,nt.IC,k.Nt,A.Fj,A.JJ,A.On,n.H8,c.lW],pipes:[s.X$],styles:[""]}),t}(),dt=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.data=i}return y(t,[{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.dialogRef.close(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div"),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"div",2),a._uU(8),a.qZA(),a.qZA(),a.TgZ(9,"div",3),a.TgZ(10,"button",4),a.NdJ("click",function(){return e.cancel()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.TgZ(13,"button",5),a.NdJ("click",function(){return e.submit()}),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),a.xp6(4),a.hij(" ",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),a.xp6(3),a.hij(" ",e.data.name," "),a.xp6(3),a.hij(" ",a.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,n.H8,c.lW],pipes:[s.X$],styles:[""]}),t}(),ft=i(39571);function pt(t,e){if(1&t&&(a.TgZ(0,"app-alert",9),a._uU(1),a.qZA()),2&t){var i=a.oxw();a.xp6(1),a.Oqu(i.pendingEmailsMessage)}}function gt(t,e){1&t&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}var vt=function(){var t=function(){function t(e,i,n,r,o,a){var s=this;v(this,t),this.dialogRef=e,this.data=i,this.translate=n,this.notificator=r,this.usersManagerService=o,this.authService=a,this.pendingMails=[],n.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(function(t){return s.successMessage=t}),n.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(function(t){return s.pendingEmailsMessageStart=t}),n.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(function(t){return s.pendingEmailsMessageEnd=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.emailControl=new A.NI(null,[A.kI.required,A.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(function(e){t.pendingMails=e.filter(function(t,e,i){return e===i.indexOf(t)});var i="";t.pendingMails.forEach(function(e){return i+="".concat(e===t.pendingMails[0]?"":", ").concat(e)}),console.log(i),t.pendingEmailsMessage=t.pendingEmailsMessageStart+i+t.pendingEmailsMessageEnd})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var t=this,e=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",e[0]+"//"+e[2],this.authService.getIdpFilter()).subscribe(function(){t.notificator.showSuccess(t.successMessage),t.dialogRef.close()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(s.sK),a.Y36(o.V6),a.Y36(r.Fv),a.Y36(o.e8))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,pt,2,1,"app-alert",2),a.TgZ(6,"mat-form-field",3),a.TgZ(7,"label",3),a._UZ(8,"input",4),a.ALo(9,"translate"),a.ALo(10,"customTranslate"),a.qZA(),a.YNc(11,gt,4,5,"mat-error",5),a.qZA(),a.qZA(),a.TgZ(12,"div",6),a.TgZ(13,"button",7),a.NdJ("click",function(){return e.onCancel()}),a._uU(14),a.ALo(15,"translate"),a.ALo(16,"customTranslate"),a.qZA(),a.TgZ(17,"button",8),a.NdJ("click",function(){return e.onSubmit()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,8,a.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),a.xp6(4),a.Q6J("ngIf",e.pendingMails.length),a.xp6(3),a.s9C("placeholder",a.lcZ(9,12,a.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),a.Q6J("formControl",e.emailControl),a.xp6(3),a.Q6J("ngIf",e.emailControl.invalid),a.xp6(3),a.hij(" ",a.lcZ(15,16,a.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),a.xp6(3),a.Q6J("disabled",!e.emailControl.valid),a.xp6(1),a.hij(" ",a.lcZ(19,20,a.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[n.uh,n.xY,u.O5,h.KE,k.Nt,A.Fj,A.Q7,A.JJ,A.oH,n.H8,c.lW,ft.w,h.TO],pipes:[s.X$,J.a],styles:[""]}),t}();function mt(t,e){1&t&&a._UZ(0,"mat-spinner",6)}function yt(t,e){1&t&&a._UZ(0,"th",15)}function bt(t,e){if(1&t&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&t){var i=e.$implicit;a.xp6(1),a.hij(" ",i," ")}}function wt(t,e){1&t&&a._UZ(0,"tr",17)}function _t(t,e){1&t&&a._UZ(0,"tr",18)}function At(t,e){if(1&t&&(a.TgZ(0,"div",7),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",8),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"table",9),a.ynx(8,10),a.YNc(9,yt,1,0,"th",11),a.YNc(10,bt,2,1,"td",12),a.BQk(),a.YNc(11,wt,1,0,"tr",13),a.YNc(12,_t,1,0,"tr",14),a.qZA(),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,5,i.data.description)," "),a.xp6(3),a.hij(" ",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),a.xp6(2),a.Q6J("dataSource",i.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",i.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",i.displayedColumns)}}var kt=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.data=i,this.displayedColumns=["name"],this.loading=!1}return y(t,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new K.by(this.data.items)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){this.dialogRef.close(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI))},t.\u0275cmp=a.Xpm({type:t,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,mt,1,0,"mat-spinner",1),a.YNc(5,At,13,9,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return e.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return e.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,e.data.title)),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),a.xp6(2),a.Q6J("disabled",e.loading),a.xp6(1),a.hij(" ",a.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,u.O5,n.H8,c.lW,l.$g,n.xY,K.BZ,K.w1,K.fO,K.Dz,K.as,K.nj,K.ge,K.ev,K.XQ,K.Gk],pipes:[s.X$],styles:[""]}),t}(),Tt=i(71709),Ct=i(91010),St=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){var e=t.split(":");return e[e.length-1]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=a.Yjl({name:"parseGroupName",type:t,pure:!0}),t}();function Et(t,e){1&t&&a._UZ(0,"mat-spinner",7)}function xt(t,e){1&t&&(a.TgZ(0,"app-alert"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function Rt(t,e){1&t&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function It(t,e){1&t&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}var Ot=function(t){return{"min-width":t}};function Pt(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"mat-tree-node",16),a.TgZ(1,"li",17),a.TgZ(2,"div",18),a.NdJ("click",function(){var t=a.CHM(i).$implicit;return a.oxw(3).navigate(t.id,t.include)}),a._UZ(3,"button",19),a.TgZ(4,"div",20),a.TgZ(5,"span"),a._uU(6),a.ALo(7,"parseGroupName"),a.qZA(),a.YNc(8,Rt,3,3,"span",21),a.YNc(9,It,3,3,"span",21),a.qZA(),a.TgZ(10,"span",22),a._uU(11),a.qZA(),a.qZA(),a.qZA(),a.qZA()}if(2&t){var n=e.$implicit,r=a.oxw(3);a.xp6(2),a.ekj("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),a.xp6(2),a.Q6J("ngStyle",a.VKq(11,Ot,r.getMinWidth(n.level))),a.xp6(2),a.Oqu(a.lcZ(7,9,n.name)),a.xp6(2),a.Q6J("ngIf",n.direct),a.xp6(1),a.Q6J("ngIf",n.include),a.xp6(2),a.Oqu(n.description)}}function Dt(t,e){1&t&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Mt(t,e){1&t&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Lt(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"mat-nested-tree-node"),a.TgZ(1,"li"),a.TgZ(2,"div",17),a.TgZ(3,"button",24),a.TgZ(4,"mat-icon",25),a._uU(5),a.qZA(),a.qZA(),a.TgZ(6,"div",18),a.NdJ("click",function(){var t=a.CHM(i).$implicit;return a.oxw(3).navigate(t.id,t.include)}),a.TgZ(7,"div",20),a.TgZ(8,"span"),a._uU(9),a.ALo(10,"parseGroupName"),a.qZA(),a.YNc(11,Dt,3,3,"span",21),a.YNc(12,Mt,3,3,"span",21),a.qZA(),a.TgZ(13,"span",22),a._uU(14),a.qZA(),a.qZA(),a.qZA(),a.TgZ(15,"ul"),a.GkF(16,26),a.qZA(),a.qZA(),a.qZA()}if(2&t){var n=e.$implicit,r=a.oxw(3);a.xp6(3),a.uIk("aria-label","Toggle "+n.name),a.xp6(2),a.hij(" ",r.treeControl.isExpanded(n)?"expand_more":"chevron_right"," "),a.xp6(1),a.ekj("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),a.xp6(1),a.Q6J("ngStyle",a.VKq(15,Ot,r.getMinWidth(n.level))),a.xp6(2),a.Oqu(a.lcZ(10,13,n.name)),a.xp6(2),a.Q6J("ngIf",n.direct),a.xp6(1),a.Q6J("ngIf",n.include),a.xp6(2),a.Oqu(n.description),a.xp6(1),a.ekj("example-tree-invisible",!r.treeControl.isExpanded(n))}}function Nt(t,e){if(1&t&&(a.TgZ(0,"mat-tree",13),a.YNc(1,Pt,12,13,"mat-tree-node",14),a.YNc(2,Lt,17,17,"mat-nested-tree-node",15),a.qZA()),2&t){var i=a.oxw(2);a.Q6J("dataSource",i.dataSource)("treeControl",i.treeControl),a.xp6(2),a.Q6J("matTreeNodeDefWhen",i.hasChild)}}function zt(t,e){if(1&t&&(a.TgZ(0,"div",8),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-form-field",9),a._UZ(5,"input",10),a.ALo(6,"translate"),a.qZA(),a.YNc(7,xt,3,3,"app-alert",11),a.YNc(8,Nt,3,3,"mat-tree",12),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),a.xp6(3),a.s9C("placeholder",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),a.Q6J("formControl",i.formControl),a.xp6(2),a.Q6J("ngIf",!i.dataSource.data.length),a.xp6(1),a.Q6J("ngIf",i.dataSource.data.length)}}var Ft=function(t){return{name:t}},Zt=function(){var t=function(){function t(e,i,n){v(this,t),this.dialogRef=e,this.data=i,this.groupsManagerService=n,this.treeControl=new Tt.VY(function(t){return t.children}),this.dataSource=new Ct.WX,this.groupTree=[],this.paths=[],this.formControl=new A.NI(""),this.userName="",this.hasChild=function(t,e){return!!e.children&&e.children.length>0}}return y(t,[{key:"recursiveSearch",value:function(t,e,i){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];window.open("/organizations/".concat(this.data.member.voId,"/groups/").concat(t).concat(e?"/settings/relations":""),"_blank")}},{key:"getMinWidth",value:function(t){return 400-40*t+"px"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.ff))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Et,1,0,"mat-spinner",2),a.YNc(5,zt,9,9,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"div",5),a.TgZ(8,"button",6),a.NdJ("click",function(){return e.onCancel()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(2),a.Oqu(a.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",a.VKq(9,Ft,e.userName))),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(4),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[n.uh,u.O5,n.H8,c.lW,l.$g,n.xY,h.KE,k.Nt,A.Fj,A.JJ,A.oH,ft.w,Ct.gi,Ct.fQ,Ct.uo,Ct.eu,u.PC,Ct.GZ,N.Hw,Ct.Ar],pipes:[s.X$,St],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] ul[_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:auto!important}"]}),t}(),Bt=i(57629),qt=function(){var t=function(){function t(e,i){v(this,t),this.dialogRef=e,this.router=i}return y(t,[{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(Bt.F0))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"app-alert",2),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA(),a.TgZ(7,"div",3),a.TgZ(8,"button",4),a.NdJ("click",function(){return e.onClose()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Oqu(a.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),a.xp6(4),a.Oqu(a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),a.xp6(4),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[n.uh,n.xY,ft.w,n.H8,c.lW],pipes:[s.X$],styles:[""]}),t}(),Ut=i(54810),Ht=i(15812),jt=i(58506);function Gt(t,e){1&t&&(a.TgZ(0,"mat-radio-button",15),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Yt(t,e){1&t&&(a.TgZ(0,"mat-radio-button",16),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}var Vt=function(){var t=function(){function t(e){v(this,t),this.dialogRef=e,this.canExtendMembership=!1,this.expirationChanged=new a.vpe,this.expirationControl=new A.NI(null)}return y(t,[{key:"ngOnInit",value:function(){"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}},{key:"onChange",value:function(){this.expirationChanged.emit(this.newExpiration)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"setExpiration",value:function(){this.newExpiration=(0,u.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,u.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so))},t.\u0275cmp=a.Xpm({type:t,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode"},outputs:{expirationChanged:"expirationChanged"},decls:36,vars:36,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"],["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"]],template:function(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"p"),a.TgZ(3,"strong"),a._uU(4),a.ALo(5,"translate"),a.qZA(),a._uU(6),a.ALo(7,"parseDate"),a.qZA(),a.TgZ(8,"p"),a.TgZ(9,"strong"),a._uU(10),a.ALo(11,"translate"),a.qZA(),a._uU(12),a.ALo(13,"parseDate"),a.qZA(),a.TgZ(14,"mat-radio-group",2),a.NdJ("ngModelChange",function(t){return e.newExpiration=t}),a.TgZ(15,"mat-radio-button",3),a.TgZ(16,"mat-form-field",4),a.NdJ("click",function(){return a.CHM(i),a.MAs(23).open()}),a.TgZ(17,"mat-label"),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.TgZ(20,"input",5),a.NdJ("dateChange",function(){return e.setExpiration()}),a.qZA(),a._UZ(21,"mat-datepicker-toggle",6),a._UZ(22,"mat-datepicker",7,8),a.qZA(),a.qZA(),a.YNc(24,Gt,3,3,"mat-radio-button",9),a.YNc(25,Yt,3,3,"mat-radio-button",10),a.TgZ(26,"mat-radio-button",11),a._uU(27),a.ALo(28,"translate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(29,"div",12),a.TgZ(30,"button",13),a.NdJ("click",function(){return e.onCancel()}),a._uU(31),a.ALo(32,"translate"),a.qZA(),a.TgZ(33,"button",14),a.NdJ("click",function(){return e.onChange()}),a._uU(34),a.ALo(35,"translate"),a.qZA(),a.qZA(),a.qZA()}if(2&t){var n=a.MAs(23);a.xp6(4),a.Oqu(a.lcZ(5,20,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),a.xp6(2),a.hij(" ",a.lcZ(7,22,e.currentExpiration),""),a.xp6(4),a.Oqu(a.lcZ(11,24,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),a.xp6(2),a.hij(" ",e.newExpiration?a.lcZ(13,26,e.newExpiration):"never",""),a.xp6(2),a.Q6J("ngModel",e.newExpiration),a.xp6(1),a.s9C("value",e.expirationControl.value),a.xp6(3),a.Oqu(a.lcZ(19,28,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),a.xp6(2),a.Q6J("min",e.minDate)("max",e.maxDate)("formControl",e.expirationControl)("matDatepicker",n),a.xp6(1),a.Q6J("for",n)("disabled",!1),a.xp6(1),a.Q6J("disabled",!1),a.xp6(2),a.Q6J("ngIf",e.canExtendMembership&&"vo"===e.mode),a.xp6(1),a.Q6J("ngIf",e.canExtendMembership&&"group"===e.mode),a.xp6(2),a.hij(" ",a.lcZ(28,30,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),a.xp6(4),a.hij(" ",a.lcZ(32,32,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),a.xp6(2),a.Q6J("disabled",e.expirationControl.invalid),a.xp6(1),a.hij(" ",a.lcZ(35,34,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[n.xY,Ut.VQ,A.JJ,A.On,Ut.U0,h.KE,h.hX,k.Nt,A.Fj,Ht.hl,A.oH,Ht.nW,h.R9,Ht.Mq,u.O5,n.H8,c.lW],pipes:[s.X$,jt.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}"]}),t}();function Kt(t,e){1&t&&a._UZ(0,"mat-spinner",4)}function Jt(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(t){return a.CHM(i),a.oxw().onExpirationChanged(t)}),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("minDate",n.minDate)("maxDate",n.maxDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("canExtendMembership",n.canExtendMembership)("mode","group")}}var Qt=function(){var t=function(){function t(e,i,n,r,o,a,s){var u=this;v(this,t),this.dialogRef=e,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.groupManager=o,this.translate=a,this.notificator=s,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,a.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(t){return u.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0;var e=new Date;"VALID"!==this.data.status?this.maxDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()):this.minDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,u.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,M.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(e){null!==e.value?t.groupManager.canExtendMembershipInGroup(t.data.memberId,t.data.groupId).subscribe(function(e){t.canExtendMembership=!!e,t.loading=!1},function(){return t.loading=!1}):t.loading=!1},function(){return t.loading=!1}):this.loading=!1}},{key:"onExpirationChanged",value:function(t){var e=this;this.loading=!0,"groupRules"===t?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(function(){e.loading=!1,e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(){return e.loading=!1}):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(function(){e.loading=!1,e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(){return e.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(r.ff),a.Y36(s.sK),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Kt,1,0,"mat-spinner",2),a.YNc(5,Jt,1,6,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&t&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,Vt],pipes:[s.X$],styles:[""]}),t}();function Wt(t,e){1&t&&a._UZ(0,"mat-spinner",4)}function Xt(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(t){return a.CHM(i),a.oxw().onExpirationChanged(t)}),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("minDate",n.minDate)("maxDate",n.maxDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("canExtendMembership",n.canExtendMembership)("mode","vo")}}var $t=function(){var t=function(){function t(e,i,n,r,o,a){var s=this;v(this,t),this.dialogRef=e,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.translate=o,this.notificator=a,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(t){return s.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0;var e=new Date;"VALID"!==this.data.status?this.maxDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()):this.minDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,u.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,M.r.VO_DEF_EXPIRATION_RULES).subscribe(function(e){null!==e.value?t.memberManager.canExtendMembership(t.data.memberId).subscribe(function(e){t.canExtendMembership=!!e,t.loading=!1},function(){return t.loading=!1}):t.loading=!1},function(){return t.loading=!1}):this.loading=!1}},{key:"onExpirationChanged",value:function(t){var e=this;this.loading=!0,"voRules"===t?this.memberManager.extendMembership(this.data.memberId).subscribe(function(){e.loading=!1,e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(){return e.loading=!1}):(this.expirationAttr.value="never"===t?null:t,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(function(){e.loading=!1,e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(){return e.loading=!1}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(s.sK),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Wt,1,0,"mat-spinner",2),a.YNc(5,Xt,1,6,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&t&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,Vt],pipes:[s.X$],styles:[""]}),t}();function te(t,e){1&t&&a._UZ(0,"mat-spinner",4)}function ee(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(t){return a.CHM(i),a.oxw().onExpirationChanged(t)}),a.qZA()}if(2&t){var n=a.oxw();a.Q6J("minDate",n.minDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("mode","sponsor")}}var ie=function(){var t=function(){function t(e,i,n,r,o,a,s){var u=this;v(this,t),this.dialogRef=e,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.groupManager=o,this.translate=a,this.notificator=s,this.loading=!1,a.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(t){return u.successMessage=t})}return y(t,[{key:"ngOnInit",value:function(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;var t=new Date;this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.loading=!1}},{key:"onExpirationChanged",value:function(t){var e=this;this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===t?null:t).subscribe(function(){e.loading=!1,e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(){return e.loading=!1})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(r.ff),a.Y36(s.sK),a.Y36(o.V6))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,te,1,0,"mat-spinner",2),a.YNc(5,ee,1,4,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&t&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,Vt],pipes:[s.X$],styles:[""]}),t}();function ne(t,e){1&t&&a._UZ(0,"mat-spinner",4)}function re(t,e){1&t&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function oe(t,e){1&t&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function ae(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"mat-radio-group",12),a.NdJ("ngModelChange",function(t){return a.CHM(i),a.oxw(2).asyncValidation=t}),a.TgZ(1,"span",13),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-radio-button",14),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"mat-radio-button",14),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.qZA()}if(2&t){var n=a.oxw(2);a.Q6J("ngModel",n.asyncValidation),a.xp6(2),a.hij(" ",a.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),a.xp6(2),a.Q6J("value",!1),a.xp6(1),a.hij(" ",a.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),a.xp6(2),a.Q6J("value",!0),a.xp6(1),a.hij(" ",a.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function se(t,e){1&t&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function ue(t,e){1&t&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&t&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function ce(t,e){if(1&t&&(a.TgZ(0,"div",5),a.TgZ(1,"p",6),a._uU(2),a.TgZ(3,"span",7),a._uU(4),a.qZA(),a._uU(5),a.TgZ(6,"span",7),a._uU(7),a.qZA(),a.qZA(),a.TgZ(8,"p"),a.TgZ(9,"strong",8),a._uU(10),a.ALo(11,"translate"),a.qZA(),a._uU(12),a.qZA(),a.TgZ(13,"p"),a.TgZ(14,"strong",8),a._uU(15),a.ALo(16,"translate"),a.qZA(),a._uU(17),a.qZA(),a.YNc(18,re,3,3,"span",9),a.YNc(19,oe,3,3,"span",9),a.YNc(20,ae,10,12,"mat-radio-group",10),a.YNc(21,se,3,3,"span",9),a.YNc(22,ue,3,3,"span",9),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.hij(" ",i.group.name," "),a.xp6(2),a.hij("#",i.group.id,""),a.xp6(1),a.hij(" - ",i.resource.name," "),a.xp6(2),a.hij("#",i.resource.id,""),a.xp6(3),a.hij("",a.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),a.xp6(2),a.hij(" ",i.status," "),a.xp6(3),a.hij("",a.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),a.xp6(2),a.hij(" ",i.getReversedStatus()," "),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","ACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status&&!1===i.asyncValidation),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status&&!0===i.asyncValidation)}}function le(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"div",15),a.TgZ(1,"button",16),a.NdJ("click",function(){return a.CHM(i),a.oxw().onCancel()}),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"button",17),a.NdJ("click",function(){return a.CHM(i),a.oxw().onSubmit()}),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA()}if(2&t){var n=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),a.xp6(2),a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}var he=function(){var t=function(){function t(e,i,n,r){v(this,t),this.dialogRef=e,this.data=i,this.resourceService=n,this.groupService=r,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(function(e){t.resource=e,t.groupService.getGroupById(t.data.groupId).subscribe(function(e){t.group=e,t.loading=!1},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var t=this;this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(function(){t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1}):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(function(){t.dialogRef.close(!0),t.loading=!1},function(){return t.loading=!1})}},{key:"getReversedStatus",value:function(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.xk),a.Y36(r.ff))},t.\u0275cmp=a.Xpm({type:t,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(t,e){1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,ne,1,0,"mat-spinner",1),a.YNc(5,ce,23,17,"div",2),a.YNc(6,le,7,7,"div",3),a.qZA()),2&t&&(a.Tol(e.theme),a.xp6(2),a.Oqu(a.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),a.xp6(2),a.Q6J("ngIf",e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading),a.xp6(1),a.Q6J("ngIf",!e.loading))},directives:[n.uh,u.O5,l.$g,n.xY,Ut.VQ,A.JJ,A.On,Ut.U0,n.H8,c.lW],pipes:[s.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),t}()},84534:function(t,e,i){"use strict";i.d(e,{hT:function(){return r},Kd:function(){return a},YH:function(){return s}});var n=i(31572),r=function(){var t=function(){function t(e){v(this,t),this.elementRef=e}return y(t,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t}(),o=i(88426),a=function(){var t=function(){function t(e,i){v(this,t),this.el=e,this.router=i}return y(t,[{key:"onClick",value:function(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(o.xw))},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),t}(),s=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"onClick",value:function(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){var e=this.perunWebAppsMiddleClickRouterLink.join("/"),i=location.search;window.open(e+i)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&n.NdJ("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t}()},14732:function(t,e,i){"use strict";i.d(e,{u:function(){return n},m:function(){return r}});var n=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({}),r=function(){function t(e){v(this,t),this.id=e.id,this.name=e.name,this.parentGroupId=e.parentGroupId,this.voId=e.voId,this.shortName=e.shortName,this.description=e.description,this.attributes=e.attributes,this.beanName=e.beanName}return y(t,[{key:"addChild",value:function(t){null==this.children?this.children=[t]:this.children.push(t)}}]),t}()},33642:function(t,e,i){"use strict";i.d(e,{Us:function(){return D},au:function(){return L},H8:function(){return d},Ct:function(){return p},VK:function(){return h},KG:function(){return b},IQ:function(){return w},ff:function(){return A},uq:function(){return k},aC:function(){return T},Hr:function(){return C},tk:function(){return S},xk:function(){return E},KK:function(){return x},Ob:function(){return R},Dy:function(){return M},Fv:function(){return I},FW:function(){return O},YF:function(){return P}});var n,r,o,a,s=i(29063),u=function(){function t(){v(this,t)}return y(t,[{key:"encodeKey",value:function(t){return encodeURIComponent(t)}},{key:"encodeValue",value:function(t){return encodeURIComponent(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),c=i(31572),l=new c.OlP("basePath"),h=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,t),this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials,this.encoder=e.encoder}return y(t,[{key:"selectHeaderContentType",value:function(t){var e=this;if(0!==t.length){var i=t.find(function(t){return e.isJsonMime(t)});return void 0===i?t[0]:i}}},{key:"selectHeaderAccept",value:function(t){var e=this;if(0!==t.length){var i=t.find(function(t){return e.isJsonMime(t)});return void 0===i?t[0]:i}}},{key:"isJsonMime",value:function(t){var e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}]),t}(),d=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"convertAttributeToNonunique",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToNonunique"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"convertAttributeToUnique",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToUnique"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"createAttributeDefinition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/createAttribute"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteAttributeDefinition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attribute",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttribute"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteAttributeDefinitions",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("attributes[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttributes"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllAttributeDefinitions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinition"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAttribute",value:function(t,e,i,n,r,o,a,u,c,l,h){var d=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"body",f=arguments.length>12&&void 0!==arguments[12]&&arguments[12],p=new s.LE({encoder:this.encoder});null!=t&&(p=p.set("attributeName",t)),null!=e&&(p=p.set("attributeId",e)),null!=i&&(p=p.set("facility",i)),null!=n&&(p=p.set("user",n)),null!=r&&(p=p.set("vo",r)),null!=o&&(p=p.set("resource",o)),null!=a&&(p=p.set("member",a)),null!=u&&(p=p.set("group",u)),null!=c&&(p=p.set("host",c)),null!=l&&(p=p.set("userExtSource",l)),null!=h&&(p=p.set("key",h));var g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var v="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+v)}var m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(g=g.set("Accept",m)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/any"),{params:p,withCredentials:this.configuration.withCredentials,headers:g,observe:d,reportProgress:f})}},{key:"getAttributeDefinitionById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinitionById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAttributeDefinitionByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeName",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAttributeDefinitionsByNamespace",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinitionByNamespace"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAttributeModulesDependenciesForAttributeGraphText",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("format",t)),null!=e&&(r=r.set("attrName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAttributeModulesDependenciesGraphText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("format",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAttributeRights",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeRights"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAttributesDefinitionWithRights",value:function(t,e,i,n,r,o,a,u){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"body",l=arguments.length>9&&void 0!==arguments[9]&&arguments[9],h=new s.LE({encoder:this.encoder});null!=t&&(h=h.set("member",t)),null!=e&&(h=h.set("user",e)),null!=i&&(h=h.set("vo",i)),null!=n&&(h=h.set("group",n)),null!=r&&(h=h.set("resource",r)),null!=o&&(h=h.set("facility",o)),null!=a&&(h=h.set("host",a)),null!=u&&(h=h.set("userExtSource",u));var d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var f="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+f)}var p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(d=d.set("Accept",p)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/getAttributesDefinitionWithRights"),{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:c,reportProgress:l})}},{key:"getEntitylessAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-entityless"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEntitylessAttributesByKey",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("key",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/key"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getEntitylessAttributesByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attrName",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getEntitylessAttributesWithKeys",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("attrName",t)),e&&e.forEach(function(t){r=r.append("keys[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributesWithKeys"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEntitylessKeys",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessKeys"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityResourceUserMemberAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-r-u-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getFacilityUserAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-u"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupResourceAttributeById",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupResourceAttributeByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupResourceAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/group-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getLogins",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getLogins"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMemberAndUserAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-wu"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAndUserAttributesByNames",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(function(t){o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMemberAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroupAndUserAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(function(t){a=a.append("attrNames[]",t)}),null!=n&&(a=a.set("workWithUserAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getMemberGroupAttributeById",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberGroupAttributeByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberGroupAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroupAttributesByNames",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(function(t){o=o.append("attrNames[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(function(t){a=a.append("attrNames[]",t)}),null!=n&&(a=a.set("workWithUserAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getMemberResourceAttributeById",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAttributeByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesDefinition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributesDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRequiredAttributesFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRequiredAttributesFacilityService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesFacilityServices",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("services[]",t)}),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesGroupResourceService",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("group",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesHostService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("host",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-h"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("workWithUserAttributes",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesMemberGroup",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberGroupResourceService",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("service",t)),null!=e&&(u=u.set("resource",e)),null!=i&&(u=u.set("group",i)),null!=n&&(u=u.set("member",n)),null!=r&&(u=u.set("workWithUserAttributes",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g-m"),{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"getRequiredAttributesMemberGroupService",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),null!=n&&(a=a.set("workWithUserAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-g-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getRequiredAttributesMemberResource",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-r"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberResourceService",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("member",i)),null!=n&&(a=a.set("workWithUserAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getRequiredAttributesResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/r"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRequiredAttributesResourceService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesResourceServices",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("services[]",t)}),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRequiredAttributesUserFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesVoService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("vo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourceAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceGroupAndGroupAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithGroupAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-wg"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResourceGroupAndGroupAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(function(t){a=a.append("attrNames[]",t)}),null!=n&&(a=a.set("workWithGroupAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-names-wg"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getResourceGroupAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceGroupMemberAttributesByNames",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),null!=e&&(a=a.set("group",e)),null!=i&&(a=a.set("member",i)),n&&n.forEach(function(t){a=a.append("attrNames[]",t)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-m-names"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getUserAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserExtSourceAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserFacilityAttributeById",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getUserFacilityAttributeByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getUserFacilityAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/user-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributeById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributeByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attributeName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAttributesForFacilityResourceGroupUserMember",value:function(t,e,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",u=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");var c=new s.LE({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("user",n)),null!=r&&(c=c.set("member",r)),o&&o.forEach(function(t){c=c.append("attributes[]",t)});var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:u})}},{key:"removeAttributesForFacilityResourceUserMember",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("facility",t)),null!=e&&(u=u.set("resource",e)),null!=i&&(u=u.set("user",i)),null!=n&&(u=u.set("member",n)),r&&r.forEach(function(t){u=u.append("attributes[]",t)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-u-m"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"removeEntitylessAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("key",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/e"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupResourceAttribute",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeGroupResourceAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(function(t){o=o.append("attributes[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeGroupResourceAttributesWorkWithGroupAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(function(t){a=a.append("attributes[]",t)}),null!=n&&(a=a.set("workWithGroupAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"removeHostAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("host",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHostAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("host",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttributesWorkWithUserAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(function(t){o=o.append("attributes[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttribute",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(function(t){o=o.append("attributes[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttributesWorkWithUserAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("group",e)),i&&i.forEach(function(t){a=a.append("attributes[]",t)}),null!=n&&(a=a.set("workWithUserAttributes",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"removeMemberResourceAttribute",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberResourceAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(function(t){o=o.append("attributes[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeResourceAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUesAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserExtSourceAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userExtSource",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserFacilityAttribute",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeUserFacilityAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),i&&i.forEach(function(t){o=o.append("attributes[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeVoAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("attribute",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setAttributeRights",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributeRights"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setEntitylessAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/entityless"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setFacilityAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setFacilityAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setFacilityResourceGroupUserMemberAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-g-u-m"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setFacilityResourceUserMemberAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-u-m"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setFacilityUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-u"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setGroupAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setGroupAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/g"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setGroupResourceAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group-resource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setGroupResourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/group-resource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setHostAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/host"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setHostAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/h"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberGroupAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-group"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberGroupAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberGroupWithUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g-wu"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberResourceAndUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r-wu"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberResourceAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-resource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberResourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setMemberWithUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-wu"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setResourceAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/resource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setResourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setResourceGroupAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setResourceGroupWithGroupAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g-wg"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/user"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/u"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserExtSourceAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/userExtSource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserExtSourceAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/ues"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserFacilityAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility-user"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setUserFacilityAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/facility-user"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setVoAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/vo"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setVoAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/vo"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateAttributeDefinition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/updateAttributeDefinition"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),f=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"auditMessagesManagerLog",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("msg",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/log"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"createAuditerConsumer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/createAuditerConsumer"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllAuditerConsumers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getAllAuditerConsumers"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAuditerMessagesCount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getAuditerMessagesCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getLastMessageId",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getLastMessageId"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getMessages",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("count",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getMessages"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMessagesByCount",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("count",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getMessagesByCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"pollConsumerMessages",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/pollConsumerMessages"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"setLastProcessedId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==e)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("consumerName",t)),null!=e&&(r=r.set("lastProcessedId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/setLastProcessedId"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),p=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"getAllPolicies",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllPolicies"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAllRolesManagementRules",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllRolesManagementRules"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAuthzAdminGroups",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("role",t)),null!=e&&(o=o.set("complementaryObjectId",e)),null!=i&&(o=o.set("complementaryObjectName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAdminGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAuthzRichAdmins",value:function(t,e,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",u=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");var c=new s.LE({encoder:this.encoder});null!=t&&(c=c.set("role",t)),null!=e&&(c=c.set("complementaryObjectId",e)),null!=i&&(c=c.set("complementaryObjectName",i)),n&&n.forEach(function(t){c=c.append("specificAttributes",t)}),null!=r&&(c=c.set("allUserAttributes",r)),null!=o&&(c=c.set("onlyDirectAdmins",o));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getRichAdmins"),{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:u})}},{key:"getFacilitiesWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getFacilitiesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupRoleNames",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupRoleNames"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupRoles",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("groupId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/getGroupRoles"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupsWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getLoggedUser",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getLoggedUser"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getMembersWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getMembersWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getPerunPrincipal",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPerunPrincipal"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPrincipalRoleNames",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPrincipalRoleNames"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getResourcesWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getResourcesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSecurityTeamsWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getSecurityTeamsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserRoleNames",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoleNames"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserRoles",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("userId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoles"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVosWhereUserIsInRoles",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(t){r=r.append("roles[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getVosWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isFacilityAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isFacilityAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"isGroupAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isGroupAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"isPerunAdmin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/isPerunAdmin"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"isVoAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isVoAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"keepAlive",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/keepAlive"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"loadAuthorizationComponents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/loadAuthorizationComponents"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"setRoleWithGroupComplementaryObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/g-co"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setRoleWithUserComplementaryObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/u-co"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"unsetRoleWithGroupComplementaryObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/g-co"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"unsetRoleWithUserComplementaryObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/u-co"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),g=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"createAutorship",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createAuthorship"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createCategoryCat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createCategory/cat"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createCategoryNR",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createCategory/n-r"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createPublication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createPublication"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createPublicationSystem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createPublicationSystem"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createThanks",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createThanks"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteAuthorship",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==e)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("publicationId",t)),null!=e&&(r=r.set("userId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteAuthorship"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteCategory",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteCategory"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deletePublication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublication.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deletePublication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deletePublicationSystem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deletePublicationSystem"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteThanks",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteThanks"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findAllAuthors",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findAllAuthors"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"findAuthorsByPublicationId",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findAuthorsByPublicationId"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findExternalPublications",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==e)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==n)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("yearSince",e)),null!=i&&(a=a.set("yearTill",i)),null!=n&&(a=a.set("pubSysNamespace",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findExternalPublications"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"findNewAuthors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findNewAuthors"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findPublicationById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findPublicationsByFilter",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("yearSince",e)),null!=i&&(o=o.set("yearTill",i)),null!=t&&(o=o.set("userId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationsByFilter"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findPublicationsByGUIFilter",value:function(t,e,i,n,r,o,a,u,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"body",h=arguments.length>10&&void 0!==arguments[10]&&arguments[10],d=new s.LE({encoder:this.encoder});null!=t&&(d=d.set("title",t)),null!=e&&(d=d.set("isbn",e)),null!=i&&(d=d.set("doi",i)),null!=n&&(d=d.set("id",n)),null!=r&&(d=d.set("year",r)),null!=o&&(d=d.set("category",o)),null!=a&&(d=d.set("yearSince",a)),null!=u&&(d=d.set("yearTill",u)),null!=c&&(d=d.set("userId",c));var f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+p)}var g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(f=f.set("Accept",g)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationsByGUIFilter"),{params:d,withCredentials:this.configuration.withCredentials,headers:f,observe:l,reportProgress:h})}},{key:"findSimilarPublications",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("title",t)),null!=e&&(o=o.set("doi",e)),null!=i&&(o=o.set("isbn",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findSimilarPublications"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getCategories",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getCategories"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPublicationSystems",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getPublicationSystems"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getRank",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getRank.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getRank"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichThanksByPublicationId",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getRichThanksByPublicationId"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"lockPublications",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/lockPublications"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateCategory",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updateCategory"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updatePublication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updatePublication"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updatePublicationSystem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updatePublicationSystem"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),m=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"getCurrentDatabaseVersion",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getCurrentDatabaseVersion"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getDatabaseDriverInformation",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getDatabaseDriverInformation"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getDatabaseInformation",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getDatabaseInformation"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getTimeOfQueryPerformance",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getTimeOfQueryPerformance"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),b=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addExtSourceWithGroupSource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("source",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/addExtSource/g-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addExtSourceWithVoSource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("source",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/addExtSource/v-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createExtSourceFromExtSourceObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/extSourcesManager/createExtSource/es"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createExtSourceWithNameType",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==e)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("type",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/createExtSource/n-t"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteExtSource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/deleteExtSource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getExtSourceById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getExtSourceByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSourceByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getExtSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSources"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getGroupExtSources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getGroupExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoExtSources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getVoExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"loadExtSourcesDefinitions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/loadExtSourcesDefinitions"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"removeExtSourceWithGroupSource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("source",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/removeExtSource/g-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeExtSourceWithVoSource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("source",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/removeExtSource/v-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),w=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addFacilityAdminGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminGroupByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/group/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminUserByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/user/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwner",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByFacilityNameOwnerName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/f-o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByOwnerName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHost",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHost.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("hostname",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHost"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHostByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("hostname",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHost/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHosts",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("hostnames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHosts"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHostsByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("hostnames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHosts/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignSecurityTeam",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/assignSecurityTeam"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignSecurityTeamByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesByDestinationName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesBySourceDestinationNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesBySourceName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersByDestinationName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersBySourceDestinationNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/src-dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersBySourceName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwners",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersByDestinationName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacility",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersBySourceDestinationNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacilityName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/src-dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersBySourceName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("srcFacilityName",t)),null!=e&&(r=r.set("destFacility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter name was null or undefined when calling createFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/createFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/deleteFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteFacilityByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/deleteFacility/f-name"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllFacilities",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAllowedGroups",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedGroupsByFacilityName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedGroups/f-name"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedRichGroupsWithAttributes",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(function(t){a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=n&&(a=a.set("service",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedRichGroupsWithAttributes"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getAllowedRichGroupsWithAttributesByFacilityName",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),e&&e.forEach(function(t){a=a.append("attrNames[]",t)}),null!=i&&(a=a.set("vo",i)),null!=n&&(a=a.set("service",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getAllowedUsersOfFacility",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedUsers/v-f-s"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedUsersOfFacilityByFacilityName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedUsers/v-f-s/f-name"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedVos",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/getAllowedVos"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllowedVosByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/getAllowedVos/f-name"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedFacilitiesByGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedFacilitiesByMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/member"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedFacilitiesByService",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/service"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedFacilitiesByUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/user"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedResourcesByAssignedServiceForFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResourcesByAssignedService"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedResourcesForFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedResourcesForFacilityByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResources/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesForFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesForFacilityByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedRichResources/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedSecurityTeams",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedSecurityTeams"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedSecurityTeamsByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedSecurityTeams/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedUsers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedUsers"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedUsersByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedUsers/f-name"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getBansForFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facilityId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBansForFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getBansForUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBansForUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getEnrichedFacilities",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getEnrichedFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getEnrichedHosts",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getEnrichedHosts"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilitiesByAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==e)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("attributeName",t)),null!=e&&(r=r.set("attributeValue",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByAttribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilitiesByDestination",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByDestination"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilitiesByHostName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByHostName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilitiesByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilitiesCount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getFacilitiesWhereUserIsAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesWhereUserIsAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityAdminGroups",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdminGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityAdminUsers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("onlyDirectAdmins",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAdminUsersByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("onlyDirectAdmins",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdmins/f-name"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityBan",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityBanById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityForHost",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityForHost"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityOwners",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwners"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityOwnersByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwners/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getHostById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHosts",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHosts.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHosts"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostsByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHosts/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostsByHostname",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsByHostname"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostsCount",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getHostsCountByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsCount/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getOwnerFacilities",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("owner",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwnerFacilities"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichFacilities",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getRichFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"removeBanByUserIdFacilityId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminGroupByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/group/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminUserByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/user/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityBanById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeBan/byId"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeFacilityOwner",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByFacilityNameOwnerName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/f-o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByOwnerName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("owner",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHost",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHost.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHost"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeHostByHostname",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHostByHostname"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeHosts",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("hosts[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHosts"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHostsByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("hosts[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHosts/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSecurityTeam",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeSecurityTeam"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSecurityTeamByFacilityName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("securityTeam",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setFacilityBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/setBan"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/updateFacility"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFacilityBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/updateBan"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),_=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"getFacilityAdminGroupsByFacilityName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdminGroups/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),A=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("groups[]",t)}),null!=e&&(r=r.set("member",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addMembers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("members[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"canExtendMembershipInGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/canExtendMembershipInGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createGroupUnion",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createGroupWithParentGroupNameDescription",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("parentGroup",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/pg-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"createGroupWithVoNameDescription",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/v-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"deleteGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteGroups",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("groups[]",t)}),null!=e&&(r=r.set("forceDelete",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroups"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"extendMembershipInGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/extendMembershipInGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"forceAllSubGroupsSynchronization",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"forceGroupStructureSynchronization",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupStructureSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"forceGroupSynchronization",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllGroups",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllMemberGroups",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllMemberGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllRichGroupsWithAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllRichSubGroupsWithGroupAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichSubGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupByName"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupMemberById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("member",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMemberById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupMembersCount",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupMembersCountsByGroupStatus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByGroupStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupMembersCountsByVoStatus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByVoStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupRichMembersByIds",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(function(t){o=o.append("members[]",t)}),i&&i.forEach(function(t){o=o.append("attrNames[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupRichMembersByIds"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupUnions",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("reverseDirection",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupUnions"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupsByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getIndirectMembershipPaths",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getIndirectMembershipPaths"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroups",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMemberRichGroupsWithAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRichGroupByIdWithAttributesByNames",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("groupId",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getRichGroupByIdWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isGroupMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/isGroupMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"moveGroupWithDestinationGroupMovingGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("destinationGroup",e)),null!=t&&(r=r.set("movingGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/moveGroup/dg-mg"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupUnion",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resultGroup",t)),null!=e&&(r=r.set("operandGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("groups[]",t)}),null!=e&&(r=r.set("member",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMembers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("members[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setGroupsMemberStatus",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("status",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/setGroupsMemberStatus"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"updateGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/groupsManager/updateGroup"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),k=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"canExtendMembership",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/canExtendMembership"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"createMemberForCandidate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/c"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createMemberForUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/u"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createMemberFromExtSource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/extSource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createSpecificMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSpecificMember"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createSponsoredMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMember/withFullName"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createSponsoredMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembers"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createSponsoredMembersFromCSV",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembersFromCSV"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMember"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("members[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMembers"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"extendMembership",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/extendMembership"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findCompleteRichMembersByAttributes",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");var o=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){o=o.append("attrsNames[]",t)}),null!=e&&(o=o.set("searchString",e)),i&&i.forEach(function(t){o=o.append("allowedStatuses[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/attrs"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findCompleteRichMembersForGroup",value:function(t,e,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",u=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");var c=new s.LE({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(function(t){c=c.append("attrsNames[]",t)}),r&&r.forEach(function(t){c=c.append("allowedStatuses[]",t)}),o&&o.forEach(function(t){c=c.append("allowedGroupStatuses[]",t)}),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",n));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/g"),{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:u})}},{key:"findCompleteRichMembersForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(function(t){a=a.append("attrsNames[]",t)}),n&&n.forEach(function(t){a=a.append("allowedStatuses[]",t)}),null!=i&&(a=a.set("searchString",i));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"findMembersInVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("searchString",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findMembersInVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findSponsoredCompleteRichMembersForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(function(t){a=a.append("attrsNames[]",t)}),null!=i&&(a=a.set("searchString",i)),null!=n&&(a=a.set("onlySponsored",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v-sponsored"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getAllNamespacesRules",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllNamespacesRules"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAllSponsoredMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllSponsoredMembersAndTheirSponsors",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getCompleteRichMembersForGroup",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("group",t)),i&&i.forEach(function(t){u=u.append("allowedStatuses[]",t)}),n&&n.forEach(function(t){u=u.append("allowedGroupStatuses[]",t)}),null!=e&&(u=u.set("lookingInParentGroup",e)),r&&r.forEach(function(t){u=u.append("attrsNames[]",t)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g"),{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"getCompleteRichMembersForGroupResource",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),null!=e&&(a=a.set("resource",e)),i&&i.forEach(function(t){a=a.append("attrsNames[]",t)}),n&&n.forEach(function(t){a=a.append("allowedStatuses[]",t)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g-r"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getCompleteRichMembersForVo",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(function(t){o=o.append("allowedStatuses[]",t)}),i&&i.forEach(function(t){o=o.append("attrsNames[]",t)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/v"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberByExtSourceNameAndExtLogin",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extLogin",e)),null!=i&&(o=o.set("extSourceName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByExtSourceNameAndExtLogin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMemberByUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByUser"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMembers",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembers"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMembersByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMembersByUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMembersCount",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getMembersPage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/getMembersPage"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"getMembersWithStatusCount",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("status",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount/status"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRichMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichMemberWithAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMemberWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichMembersByIds",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("ids[]",t)}),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMembersByIds"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsoredMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembers/v"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getSponsoredMembersAndTheirSponsors",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsByMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsByVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),n&&n.forEach(function(t){a=a.append("attrNames[]",t)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"moveMembership",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("sourceUser",e)),null!=i&&(o=o.set("targetUser",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/moveMembership"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeSponsor",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/removeSponsor"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendAccountActivationLinkEmail",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=n&&(a=a.set("language",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendAccountActivationLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"sendPasswordResetLinkEmail",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("member",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=n&&(a=a.set("language",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendPasswordResetLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"setSponsoredMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/setSponsoredMember"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setSponsorshipForMember",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("sponsoredMember",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setSponsorshipForMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"setStatus",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("status",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setStatus"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sponsorMember",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sponsorMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"updateSponsorshipValidity",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/updateSponsorshipValidity"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"validateMemberAsync",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/validateMemberAsync"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),T=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"createOwner",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/ownersManager/createOwner"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteOwner",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("owner",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/ownersManager/deleteOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllOwners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwners"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getOwnerById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwnerById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getOwnerByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("owner",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwnerByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),C=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"sentMessageToRTWithMemberQueue",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("memberId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=n&&(a=a.set("text",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"sentMessageToRTWithQueue",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("queue",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/q"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sentMessageToRTWithVo",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("voId",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sentMessageToRTWithVoQueue",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("voId",t)),null!=e&&(a=a.set("queue",e)),null!=i&&(a=a.set("subject",i)),null!=n&&(a=a.set("text",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),S=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addApplicationMailForGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/g"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"addApplicationMailForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/v"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"addGroupsToAutoRegistration",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("groups[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/addGroupsToAutoRegistration"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"approveApplication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/approveApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"consolidateIdentityUsingToken",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/consolidateIdentityUsingToken"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"copyFormFromGroupToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromGroupToVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromVoToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromVoToVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromGroupToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromGroupToVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromGroup",t)),null!=e&&(r=r.set("toVo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromVoToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromVoToVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("fromVo",t)),null!=e&&(r=r.set("toVo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createApplicationFormInGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/group"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"createApplicationFormInVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/vo"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteApplication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteApplicationMailForGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("id",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteApplicationMailForVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("id",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteGroupsFromAutoRegistration",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("groups[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getApplicationById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getApplicationDataById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationDataById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getApplicationMailsForGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getApplicationMailsForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/v"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getApplicationsForGroup",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),e&&e.forEach(function(t){a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=n&&(a=a.set("dateTo",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForGroup"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getApplicationsForMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getApplicationsForVo",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),e&&e.forEach(function(t){a=a.append("state[]",t)}),null!=i&&(a=a.set("dateFrom",i)),null!=n&&(a=a.set("dateTo",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForVo"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getConsolidatorToken",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getConsolidatorToken"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getFormItemsForGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFormItemsForGroupWithType",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("type",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFormItemsForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFormItemsForVoWithType",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("type",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupApplicationForm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupsToAutoRegistration",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getGroupsToAutoRegistration"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoApplicationForm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"rejectApplication",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("reason",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/rejectApplication"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendInvitation",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");var a=new s.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("name",n)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"sendInvitationForGroup",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");var u=new s.LE({encoder:this.encoder});null!=i&&(u=u.set("voId",i)),null!=n&&(u=u.set("groupId",n)),null!=r&&(u=u.set("name",r)),null!=t&&(u=u.set("email",t)),null!=e&&(u=u.set("language",e));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/g"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"sendInvitationGroupToExistingUser",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("userId",t)),null!=e&&(o=o.set("voId",e)),null!=i&&(o=o.set("groupId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sendInvitationToExistingUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/sendMessage"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"setSendingEnabled",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/setSendingEnabled"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"submitApplication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/submitApplication"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateApplicationMail",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateApplicationMail"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateForm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateForm"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFormItemData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemData"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFormItemsData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemsData"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFormItemsForGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/group"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateFormItemsForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/vo"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"verifyApplication",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/verifyApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),E=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"activateGroupResourceAssignment",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/activateGroupResourceAssignment"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"addAdminToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addAdminToUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addResourceSelfServiceGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addResourceSelfServiceUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"allowGroupsToResources",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");var o=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){o=o.append("groups[]",t)}),e&&e.forEach(function(t){o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/allowGroupsToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupToResource",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupToResources",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(function(t){o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupsToResource",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");var o=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){o=o.append("groups[]",t)}),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupsToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignResourceTagToResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/assignResourceTagToResource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"assignService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignServices",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(function(t){r=r.append("services[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignServicesPackage",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/copyResource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createResource",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("name",i)),null!=n&&(a=a.set("description",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"createResourceTagWithResourceTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/createResourceTag/resourceTag"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createResourceTagWithTagName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("tagName",t)),null!=e&&(r=r.set("vo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResourceTag/tagName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deactivateGroupResourceAssignment",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteAllResources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResources"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteAllResourcesTagsForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteResource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"deleteResourceTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/deleteResourceTag"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"getAdminGroups",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdminGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAdmins",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("onlyDirectAdmins",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllResourcesByResourceTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesByResourceTag"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"getAllResourcesTagsForResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForResource"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllResourcesTagsForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllResourcesWhereUserIsAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/all"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllowedMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllowedResources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllowedUsersOfResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedGroups",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("member",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedResourcesWithGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedResourcesWithMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichMembers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesWithGroup",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesWithMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesWithMemberService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/s-m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedServicesToResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedServices"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getBansForMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getBansForResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForResource"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getEnrichedResourceById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("id",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourceById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEnrichedResourcesForFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEnrichedResourcesForVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupAssignments",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getGroupAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAssignments",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceBan",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceBanById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourceById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourceByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("name",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceByName"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourcesByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourcesCountForAll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/all"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getResourcesCountForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getResourcesFromVoWhereUserIsAdmin",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourcesWhereGroupIsAdmin",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("group",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResourcesWhereUserIsAdmin",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("user",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRichAdmins",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("resource",t)),e&&e.forEach(function(t){a=a.append("specificAttributes",t)}),null!=i&&(a=a.set("allUserAttributes",i)),null!=n&&(a=a.set("onlyDirectAdmins",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichAdmins"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getRichResourceById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichResources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichResourcesByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeAllResourceTagsFromResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeBanByMemberAndResource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/member-resource-id"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAdminResource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupFromResource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupFromResources",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(function(t){r=r.append("resources[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupsFromResource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupsFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceBanById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/id"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeResourceSelfServiceGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceSelfServiceUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceTagFromResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/removeResourceTagFromResource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"removeService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServices",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(function(t){r=r.append("services[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServicesPackage",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("servicesPackage",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAdminResource",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setResourceBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/setBan"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"unallowGroupsFromResources",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");var r=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){r=r.append("groups[]",t)}),e&&e.forEach(function(t){r=r.append("resources[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/unallowGroupsFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateResource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateResourceBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateBan"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateResourceTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResourceTag"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),x=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addDestination",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling addDestination.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("service",t)),null!=e&&(u=u.set("facility",e)),null!=i&&(u=u.set("destination",i)),null!=n&&(u=u.set("type",n)),null!=r&&(u=u.set("propagationType",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestination"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"addDestinationToMultipleServices",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/addDestination"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addDestinationsForAllServicesOnFacility",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("destination",e)),null!=i&&(a=a.set("type",i)),null!=n&&(a=a.set("propagationType",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"addRequiredAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addRequiredAttribute"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addRequiredAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addRequiredAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addServiceToServicesPackage",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("servicesPackage",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addServiceToServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockAllServicesOnDestinationById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnDestination/d"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"blockAllServicesOnDestinationByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("destination",t)),null!=e&&(r=r.set("destinationType",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockAllServicesOnFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnFacility"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"blockServiceOnDestination",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnDestination/s-d"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockServiceOnDestinationWithNameAndType",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e)),null!=i&&(o=o.set("destinationType",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"blockServiceOnFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createService",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e)),null!=i&&(o=o.set("script",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/createService"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"createServiceWithService",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/createService"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createServicesPackage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/createServicesPackage"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"createServicesPackageByNameAndDescription",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/createServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteService",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling deleteService.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/deleteService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteServicesPackage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/deleteServicesPackage"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"forceServicePropagation",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/forceServicePropagation"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllDestinations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinations/all"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getAllRichDestinationsForFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAllRichDestinations/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllRichDestinationsForService",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAllRichDestinations/s"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedResources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAssignedResourcesForService"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedServices",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAssignedServices"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getDataWithGroups",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDataWithGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getDataWithVos",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDataWithVos"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getDestinationById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getDestinations",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinations/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getDestinationsCount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinationsCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getFacilitiesDestinations",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFacilitiesDestinations"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityAssignedServicesForGUI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFacilityAssignedServicesForGUI"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFlatData",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFlatData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHashedDataWithGroups",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHashedDataWithGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHashedHierarchicalData",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHashedHierarchicalData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHierarchicalData",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHierarchicalData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRichDestinations",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getRichDestinations"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getServiceById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getServiceById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServiceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServiceByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServiceByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServices",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServices"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getServicesBlockedOnDestination",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesBlockedOnDestination"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesBlockedOnFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesBlockedOnFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesByAttributeDefinition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesByAttributeDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesFromServicesPackage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesFromServicesPackage"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesPackageById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackageById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesPackageByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackageByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getServicesPackages",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackages"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"isServiceBlockedOnDestination",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/isServiceBlockedOnDestination"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isServiceBlockedOnFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/isServiceBlockedOnFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"planServicePropagation",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/planServicePropagation"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAllDestinations",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeAllDestinations"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAllRequiredAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeAllRequiredAttributes"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeDestination",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling removeDestination.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("destination",i)),null!=n&&(a=a.set("type",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeDestination"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"removeRequiredAttribute",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("attributeId",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeRequiredAttribute"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeRequiredAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),e&&e.forEach(function(t){r=r.append("attributes[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeRequiredAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServiceFromServicesPackage",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("servicesPackage",t)),null!=e&&(r=r.set("service",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeServiceFromServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockAllServicesOnDestinationById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"unblockAllServicesOnDestinationByName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("destination",t)),null!=e&&(r=r.set("destinationType",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockAllServicesOnFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnFacility"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"unblockServiceOnDestinationById",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockServiceOnDestinationByName",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e)),null!=i&&(o=o.set("destinationType",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"unblockServiceOnFacility",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateService",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/updateService"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateServicesPackage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/updateServicesPackage"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),R=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"countTasks",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/countTasks"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"deleteTask",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTask"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteTaskResultById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResultById"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteTaskResultsIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResults/id"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteTaskResultsNames",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResults/name"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"getAllFacilitiesStates",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getAllFacilitiesStates"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAllResourcesState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("voId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getAllResourcesState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityServicesState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getFacilityServicesState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getFacilityState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getFacilityState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTask",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getTask.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTask"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getTaskById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getTaskById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTaskResultById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("taskResult",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTaskResults",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResults"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getTaskResultsByTask",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsByTask"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTaskResultsForDestinations",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("destinations[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForDestinations"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTaskResultsForGUIByTask",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTask"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getTaskResultsForGUIByTaskAndDestination",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("task",t)),null!=e&&(r=r.set("destination",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTaskAndDestination"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getTaskResultsForGUIByTaskOnlyNewest",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"isThereSuchTask",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/isThereSuchTask"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"listAllTasks",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/listAllTasks"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"listAllTasksForFacility",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/listAllTasksForFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"suspendTasksPropagation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("suspend",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/suspendTasksPropagation"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),I=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addSpecificUserOwner",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/addSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addUserExtSource",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/addUserExtSource"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"changeNonAuthzPasswordByToken",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("token",t)),null!=e&&(o=o.set("password",e)),null!=i&&(o=o.set("lang",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changeNonAuthzPassword/token"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"changePasswordForLogin",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("login",t)),null!=e&&(u=u.set("namespace",e)),null!=i&&(u=u.set("newPassword",i)),null!=n&&(u=u.set("oldPassword",n)),null!=r&&(u=u.set("checkOldPassword",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/login"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"changePasswordForUser",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("user",t)),null!=e&&(u=u.set("namespace",e)),null!=i&&(u=u.set("newPassword",i)),null!=n&&(u=u.set("oldPassword",n)),null!=r&&(u=u.set("checkOldPassword",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/user"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"checkPasswordResetRequestByTokenIsValid",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordResetRequestIsValid/token"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"checkPasswordStrength",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("password",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordStrength"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createAlternativePassword",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("description",e)),null!=i&&(a=a.set("loginNamespace",i)),null!=n&&(a=a.set("password",n));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/createAlternativePassword"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"createServiceUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/createServiceUser"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteAlternativePassword",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("loginNamespace",e)),null!=i&&(o=o.set("passwordId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteAlternativePassword"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"deletePasswordForLogin",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deletePasswordForUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findRichUsers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"findRichUsersWithAttributes",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("searchString",t)),e&&e.forEach(function(t){r=r.append("attrsNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsersWithAttributes"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findUsers",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getAssignedRichResourcesForUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAssignedRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getGroupsForFacilityWhereUserIsActive",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsForResourceWhereUserIsActive",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("resource",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsInVoWhereUserIsAdmin",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("vo",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsWhereUserIsAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getPendingPreferredEmailChanges",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getPendingPreferredEmailChanges"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichUserExtSources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserExtSources/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichUserWithAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichUsersByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichUsersWithAttributesByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithAttributesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getRichUsersWithoutVoWithAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("attrsNames[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithoutVoWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getSpecificUsersByUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSpecificUsersByUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getSponsorsForMember",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(function(t){r=r.append("attrNames[]",t)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsForMemberByVoAndLogin",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");var a=new s.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("extSourceName",e)),null!=i&&(a=a.set("extLogin",i)),n&&n.forEach(function(t){a=a.append("attrNames[]",t)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:o})}},{key:"getUserByExtSourceNameAndExtLogin",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("extLogin",t)),null!=e&&(r=r.set("extSourceName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserByExtSourceNameAndExtLogin"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserExtSourceById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserExtSources",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUserExtSourcesByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUsersByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getUsersBySpecificUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("specificUser",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersBySpecificUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVosWhereUserIsAdmin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVosWhereUserIsMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"isLoginAvailable",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("loginNamespace",t)),null!=e&&(r=r.set("login",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/isLoginAvailable"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"loginExist",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/loginExist"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSpecificUserOwner",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("specificUser",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserExtSource",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("userExtSource",e)),null!=i&&(o=o.set("force",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeUserExtSource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"requestPreferredEmailChange",value:function(t,e,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",u=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");var c=new s.LE({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("email",e)),null!=i&&(c=c.set("lang",i)),null!=n&&(c=c.set("linkPath",n)),null!=r&&(c=c.set("customUrl",r)),null!=o&&(c=c.set("idpFilter",o));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/requestPreferredEmailChange"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:u})}},{key:"reservePasswordForLogin",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/login"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"reservePasswordForUser",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/user"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"reserveRandomPassword",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reserveRandomPassword"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateUser",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/updateUser"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"validatePasswordForLogin",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"validatePasswordForUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"validatePreferredEmailChangeWithToken",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("u",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePreferredEmailChange"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),O=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"getAppsConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getAppsConfig"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getGuiConfiguration",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getGuiConfiguration"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPerunRPCVersion",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPerunStatistics",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatistics"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPerunStatus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatus"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getPerunSystemTimeInMillis",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunSystemTimeInMillis"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),P=function(){var t=function(){function t(e,i,n){v(this,t),this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new u}return y(t,[{key:"addSponsorRoleToGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addSponsorRoleToUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addVoAdminGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addVoAdminUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createVoWithName",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("shortName",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/createVo/withName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createVoWithVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/createVo/withVo"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"deleteVo",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("force",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/deleteVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findCandidates",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),null!=e&&(o=o.set("searchString",e)),null!=i&&(o=o.set("maxNumOfResults",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findCandidatesForGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("searchString",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates/forGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllVos",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAllVos"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getCompleteCandidatesForGroup",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(function(t){o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forGroup"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getCompleteCandidatesForVo",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(function(t){o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forVo"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMyVos",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVos"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"getRichAdminsForVo",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");var u=new s.LE({encoder:this.encoder});null!=t&&(u=u.set("vo",t)),null!=e&&(u=u.set("role",e)),i&&i.forEach(function(t){u=u.append("specificAttributes",t)}),null!=n&&(u=u.set("allUserAttributes",n)),null!=r&&(u=u.set("onlyDirectAdmins",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getRichAdmins"),{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:a})}},{key:"getVoAdminGroups",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdminGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAdminUsers",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("role",e)),null!=i&&(o=o.set("onlyDirectAdmins",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdmins"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getVoBanById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoBanForMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanForMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoBansForVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBansForVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoById",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoByShortName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("shortName",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoByShortName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVoMembersCountsByStatus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoMembersCountsByStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVosByIds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");var n=new s.LE({encoder:this.encoder});t&&t.forEach(function(t){n=n.append("ids[]",t)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"getVosCount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}},{key:"removeSponsorRoleFromGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSponsorRoleFromUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAdminGroup",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("authorizedGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAdminUser",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("user",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(o=o.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBan"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"removeVoBanForMember",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");var n=new s.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBanForMember"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:i})}},{key:"setVoBan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/setBan"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}},{key:"updateVo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/updateVo"),t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(s.eN),c.LFG(l,8),c.LFG(h,8))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),D={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"};!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(n||(n={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(r||(r={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(o||(o={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(a||(a={}));var M={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",FROMFEDERATIONSHOW:"FROM_FEDERATION_SHOW",FROMFEDERATIONHIDDEN:"FROM_FEDERATION_HIDDEN",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"},L=function(){var t=function(){function t(e,i){if(v(this,t),e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!i)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}return y(t,null,[{key:"forRoot",value:function(e){return{ngModule:t,providers:[{provide:h,useFactory:e}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.LFG(t,12),c.LFG(s.eN,8))},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({providers:[d,f,p,g,m,b,w,_,A,k,T,C,S,E,x,R,I,O,P],imports:[[]]}),t}()},22280:function(t,e,i){"use strict";i.d(e,{r5:function(){return s.r},d4:function(){return o},dp:function(){return a.d}});var n=i(61511),r=i(31572),o=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[n.ez]]}),t}(),a=i(22196),s=(i(83787),i(95603));i(91322),i(63720),i(1157),i(48853)},83787:function(t,e,i){"use strict";i.d(e,{a:function(){return a}});var n=i(88426),r=i(31572),o=i(48160),a=function(){var t=function(){function t(e,i){v(this,t),this.translate=e,this.storage=i}return y(t,[{key:"transform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",i=this.storage.get("custom_labels");if(i)for(var n=Object.keys(i),r=0,o=n;r0?"red":null!==c&&c.trim().length>0?"green":""}if(o){var l=(0,n.IL)(t.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,n.IL)(t.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"red":null!==f&&f.trim().length>0?"green":""}return""}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIconColor",type:t,pure:!0}),t}()},52984:function(t,e,i){"use strict";i.d(e,{J:function(){return a}});var n=i(67004),r=i(84140),o=i(31572),a=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){if(null==t||null==t.attributes)return"";var e=(0,r.IL)(t.attributes,n.r.GROUP_SYNC_ENABLED),i=(0,r.IL)(t.attributes,n.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"";var o=i.value;if("true"===e.value){var a=(0,r.IL)(t.attributes,n.r.GROUP_LAST_SYNC_STATE),s=(0,r.IL)(t.attributes,n.r.GROUP_LAST_SYNC_TIMESTAMP),u=a.value,c=s.value;return null!=u&&u.trim().length>0?"sync_problem":(null!==c&&c.trim(),"sync")}if(o){var l=(0,r.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,r.IL)(t.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"sync_problem":(null!==f&&f.trim(),"sync")}return"sync_disabled"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncIcon",type:t,pure:!0}),t}()},44385:function(t,e,i){"use strict";i.d(e,{r:function(){return a}});var n=i(84140),r=i(67004),o=i(31572),a=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){if(null==t||null==t.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var e=(0,n.IL)(t.attributes,r.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(t.attributes,r.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===e&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var o=i.value;if("true"===e.value){var a=(0,n.IL)(t.attributes,r.r.GROUP_LAST_SYNC_STATE),s=(0,n.IL)(t.attributes,r.r.GROUP_LAST_SYNC_TIMESTAMP),u=a.value,c=s.value;return null!=u&&u.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==c&&c.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(o){var l=(0,n.IL)(t.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,n.IL)(t.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==f&&f.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Yjl({name:"groupSyncToolTip",type:t,pure:!0}),t}()},63720:function(t,e,i){"use strict";i.d(e,{D:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,n.g$)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"memberEmail",type:t,pure:!0}),t}()},1157:function(t,e,i){"use strict";i.d(e,{p:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,n.lt)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"memberLogins",type:t,pure:!0}),t}()},99197:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,n.Gw)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"memberOrganization",type:t,pure:!0}),t}()},74842:function(t,e,i){"use strict";i.d(e,{u:function(){return r}});var n=i(31572),r=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){switch(t){case"VALID":return"green";case"INVALID":return"red";default:return""}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIconColor",type:t,pure:!0}),t}()},37043:function(t,e,i){"use strict";i.d(e,{f:function(){return r}});var n=i(31572),r=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){switch(t){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"memberStatusIcon",type:t,pure:!0}),t}()},91322:function(t,e,i){"use strict";i.d(e,{i:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t,e){var i=null,r=null;null!==t.memberAttributes&&(i=t.memberAttributes.find(function(t){return"membershipExpiration"===t.friendlyName}),r=t.memberAttributes.find(function(t){return"groupMembershipExpiration"===t.friendlyName}));return e?"\n Group status: ".concat((0,n.Oe)(t.groupStatus),", Expiration: ").concat(r&&r.value?r.value:"never"):"Status: ".concat((0,n.Oe)(t.status,t.groupStatus),"\n Vo status: ").concat((0,n.Oe)(t.status),", Expiration: ").concat(i&&i.value?i.value:"never")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"memberStatusTooltip",type:t,pure:!0}),t}()},58506:function(t,e,i){"use strict";i.d(e,{M:function(){return o}});var n=i(61511),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t,e){return"voRules"===t?"Vo rules":"groupRules"===t?"Group rules":t&&"never"!==t.toLowerCase()?(0,n.p6)(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"parseDate",type:t,pure:!0}),t}()},48853:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(84140),r=i(31572),o=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){return(0,n.te)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"technicalOwners",type:t,pure:!0}),t}()},22196:function(t,e,i){"use strict";i.d(e,{d:function(){return r}});var n=i(31572),r=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"transform",value:function(t){var e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"userFullName",type:t,pure:!0}),t}()},88426:function(t,e,i){"use strict";i.d(e,{yC:function(){return D},F5:function(){return O},sM:function(){return N},e8:function(){return A},EB:function(){return E},ly:function(){return Z},xw:function(){return z},x4:function(){return s},v0:function(){return T},Ct:function(){return H},SZ:function(){return M},V6:function(){return P},d6:function(){return _},UA:function(){return F}});var n=i(33642),o=i(14732),a=i(31572),s=function(){var t=function(){function t(e){v(this,t),this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return y(t,[{key:"init",value:function(t){this.principal=t,this.initData(t)}},{key:"setPerunPolicies",value:function(t){this.perunPolicies=t}},{key:"getPerunPolicies",value:function(){return this.perunPolicies}},{key:"isAuthorized",value:function(t,e){if(null===this.principal.roles)return!1;var i,n=[],r=f(this.fetchPolicyWithAllIncludedPolicies(t));try{for(r.s();!(i=r.n()).done;){var o=i.value;n=n.concat(o.perunRoles)}}catch(s){r.e(s)}finally{r.f()}var a=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,a)}},{key:"resolveAuthorization",value:function(t,e){var i,n=f(t);try{for(n.s();!(i=n.n()).done;){for(var r=i.value,o=!0,a=0,s=Object.keys(r);a1&&void 0!==arguments[1]?arguments[1]:this.getDefaultRpcMessage();this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}},{key:"showError",value:function(t,e,i,n,r){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}},{key:"showSuccess",value:function(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(b.sK))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),D=function(){var t=function(){function t(e,i,n,r,o,a){v(this,t),this.authService=e,this.apiRequestConfiguration=i,this.notificator=n,this.store=r,this.dialog=o,this.initAuthService=a}return y(t,[{key:"intercept",value:function(t,e){var i=this,n=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==n&&-1!==t.url.toString().indexOf(n)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()){var r=(0,p.kZ)();r.width="450px",this.dialog.open(w,r).afterClosed().subscribe(function(){i.authService.startAuthentication().then(function(){})})}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});var o=this.apiRequestConfiguration.shouldHandleError(),a="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe((0,I.b)(function(t){t instanceof x.Zn&&a&&i.initAuthService.loadPrincipal()},function(e){var n=i.formatErrors(e,t);return void 0===n?(0,R._)(e):o?void i.notificator.showRPCError(n):(0,R._)(n)}))}},{key:"formatErrors",value:function(t,e){var i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(A),a.LFG(O),a.LFG(P),a.LFG(_),a.LFG(g.uw),a.LFG(T))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),M=function(){var t=function(){function t(){v(this,t),this.notificationData=[],this.newNotificationsCount=0}return y(t,[{key:"storeNotification",value:function(t){this.newNotificationsCount++,this.notificationData.push(t)}},{key:"getNotifications",value:function(){return this.notificationData.reverse()}},{key:"clearNotifications",value:function(){this.notificationData=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),L=i(47727),N=function(){var t=function(){function t(e,i,n,r){v(this,t),this.http=e,this.notificator=i,this.authService=n,this.storeService=r}return y(t,[{key:"getApiUrl",value:function(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}},{key:"formatErrors",value:function(t,e,i,n){var r=t.error;return r.call=e,r.payload=i,n&&this.notificator.showRPCError(t.error),(0,R._)(r)}},{key:"getHeaders",value:function(){var t=new x.WM;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue())}},{key:"get",value:function(t){var e=this,i=(arguments.length>1&&void 0!==arguments[1]||new x.LE,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),n="".concat(this.getApiUrl()).concat(t);return this.http.get(n,{headers:this.getHeaders()}).pipe((0,L.K)(function(t){return e.formatErrors(t,n,null,i)}))}},{key:"put",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(t),o=JSON.stringify(i);return this.http.put(r,o,{headers:this.getHeaders()}).pipe((0,L.K)(function(t){return e.formatErrors(t,r,o,n)}))}},{key:"post",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(t),o=JSON.stringify(i),a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,o,{headers:a}).pipe((0,L.K)(function(t){return e.formatErrors(t,r,o,n)}))}},{key:"delete",value:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="".concat(this.getApiUrl()).concat(t);return this.http.delete(n,{headers:this.getHeaders()}).pipe((0,L.K)(function(t){return e.formatErrors(t,n,null,i)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(x.eN),a.LFG(P),a.LFG(A),a.LFG(_))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),z=function(){var t=function(){function t(e){var i=this;v(this,t),this.router=e,this.lastState="forward",this.history=new Set,e.events.subscribe(function(t){t instanceof d.OD&&("popstate"===t.navigationTrigger?i.history.has(t.restoredState.navigationId)?(i.lastState="back",i.history.delete(t.restoredState.navigationId)):(i.lastState="forward",i.history.add(t.id)):(i.history.add(t.id),i.lastState="forward"))})}return y(t,[{key:"forceNavigate",value:function(t,e){if(null!==t){var i="";t.forEach(function(t){return i+="/"+t}),i.length>0&&(i=i.substring(1)),void 0===e&&(e={}),e.queryParams={redirectTo:i},this.router.navigate(["redirect"],e)}}},{key:"getLastState",value:function(){return this.lastState}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(d.F0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),F=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"isAllSelectedWithDisabledCheckbox",value:function(t,e,i,n,r,o,a,s){var u=this;return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=r*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,a).forEach(function(t){u.pageStart<=u.pageIterator&&u.pageIterator=3?null:{isWeak:!0}}}}]),t}()},38457:function(t,e,i){"use strict";i.d(e,{f7:function(){return s},g$:function(){return u},kN:function(){return c},$0:function(){return l},lt:function(){return h},bD:function(){return d},hu:function(){return p},Cz:function(){return g},te:function(){return v},ys:function(){return m},vL:function(){return y},sF:function(){return b},XI:function(){return w},OV:function(){return _},MX:function(){return A},oU:function(){return k},IL:function(){return T},Jc:function(){return C},v$:function(){return S},i5:function(){return E},kZ:function(){return x},dv:function(){return R},Hm:function(){return I},Oe:function(){return O},Gw:function(){return P},x2:function(){return D},sG:function(){return M},pR:function(){return N},Sd:function(){return z},Xn:function(){return F},O6:function(){return Z},aC:function(){return B},fx:function(){return q},mH:function(){return U}});var n=i(64762),r=i(84608),o=i(61511),a=i(82051),s=[5,10,25,100];function u(t){var e="";return t&&null!==t.userAttributes&&(t.userAttributes.forEach(function(t){"preferredMail"===t.friendlyName&&(e=t.value)}),e&&0===e.length&&null!==t.memberAttributes&&t.memberAttributes.forEach(function(t){"mail"===t.friendlyName&&null!==t.value&&(e=t.value)})),e}function c(t){var e="";return t&&t.userAttributes.forEach(function(t){"preferredMail"===t.friendlyName&&(e=t.value)}),e}function l(t){var e="";return t&&t.userAttributes&&t.userAttributes.filter(function(t){return"login-namespace"===t.baseFriendlyName}).filter(function(t){return null!==t.value}).forEach(function(t){e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function h(t){var e="";return t&&t.userAttributes&&t.userAttributes.filter(function(t){return"login-namespace"===t.baseFriendlyName}).filter(function(t){return null!==t.value}).forEach(function(t){e+=t.friendlyNameParameter+": "+t.value+", "}),e.endsWith(", ")&&(e=e.substring(0,e.length-2)),e}function d(t){var e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function p(t){var e="";return null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function g(t){var e="";return t.split(/(?=[A-Z])/g).forEach(function(t){e=(e=e.concat(t.toLowerCase())).concat(" ")}),e=e.charAt(0).toUpperCase()+e.slice(1,e.length-1)}function v(t){var e,i="",n=f(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"technical"===r.type&&(i+=r.name+", ")}}catch(o){n.e(o)}finally{n.f()}return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function m(t,e){return(0,n.mG)(this,void 0,void 0,regeneratorRuntime.mark(function i(){var n;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,n=t,new Promise(function(t){return setTimeout(t,n)});case 2:e();case 3:case"end":return i.stop()}},i)}))}function y(t){return JSON.parse(localStorage.getItem(t))||[]}function b(t,e){if(null===localStorage.getItem(t)){var i=[];i.unshift(e.id),localStorage.setItem(t,JSON.stringify(i))}else{var n=JSON.parse(localStorage.getItem(t)),r=function(t,e){for(var i=0;i0&&n.splice(r,1),0!==r&&n.unshift(e.id),n.length>5&&n.pop(),localStorage.setItem(t,JSON.stringify(n))}}function w(t){if(null===localStorage.getItem("recent")){var e;e="Group"===t.beanName?[{id:t.id,name:t.shortName,type:t.beanName,voId:t.voId}]:[{id:t.id,name:t.name,type:t.beanName,voId:t.voId}],localStorage.setItem("recent",JSON.stringify(e))}else{var i,n=JSON.parse(localStorage.getItem("recent")),r=function(t,e){for(var i=0;i0&&n.splice(r,1),0!==r&&n.unshift(i),n.length>5&&n.pop(),localStorage.setItem("recent",JSON.stringify(n))}}function _(t){var e="";return t&&t.userAttributes.forEach(function(t){"organization"===t.friendlyName&&(e=t.value)}),e}function A(t){return t.filter(function(t){return!t.namespace.includes("def:core")})}function k(t,e){var i=e.find(function(e){return e.id===t});return i?i.parentGroupId?k(i.parentGroupId,e).concat(i):[i]:[]}function T(t,e){var i,n=f(t);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.namespace+":"+r.friendlyName===e)return r}}catch(o){n.e(o)}finally{n.f()}return null}function C(t){return null!=t.attributes["urn:perun:member:attribute-def:def:mail"]?t.attributes["urn:perun:member:attribute-def:def:mail"]:null!=t.attributes["urn:perun:user:attribute-def:def:preferredMail"]?t.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function S(t){return t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function(t){if(t.includes("/CN=")){var e=t.split("/");for(var i in e)if(i.startsWith("CN="))return n=i.substring(3),decodeURIComponent(n.replace(/\\x/g,"%"))}var n;return t}(t.userExtSource.extSource.name):t.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function(t){switch(t){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":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":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"@mojeid.extidp.cesnet.cz":return"MojeID";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@elixir-europe.org":return"Elixir Europe";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return t}}(t.userExtSource.extSource.name):t.userExtSource.extSource.name}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["en","cs"],e={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return t.forEach(function(t){e.message[t]={locale:t,subject:"",text:""}}),e}function x(){var t=new r.vA;return t.disableClose=!0,t.autoFocus=!1,t}function R(t){var e,i={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null},n=f(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.i18n[r]={locale:r,errorMessage:"",help:"",label:"",options:""}}}catch(o){n.e(o)}finally{n.f()}return i}function I(t){return"virt"===t.namespace.split(":")[4]}function O(t,e){return"valid"!==t.toLowerCase()||e&&"valid"!==t.toLowerCase()?t:"ACTIVE"}function P(t){var e="";return t&&null!==t.memberAttributes&&(t.memberAttributes.forEach(function(t){"organization"===t.friendlyName&&null!==t.value&&(e=t.value)}),0===e.length&&null!==t.userAttributes&&t.userAttributes.forEach(function(t){"organization"===t.friendlyName&&(e=t.value)})),e}function D(t){var e=t.attributes.find(function(t){return"groupMembershipExpiration"===t.baseFriendlyName});return e&&e.value?e.value:"Never"}function M(t){return t&&"never"!==t.toLowerCase()?(0,o.p6)(t,"d.M.yyyy","en"):t}var L=new Intl.Collator("cs",{numeric:!0});function N(t,e,i,n){var r=e.active,o=e.direction;return r&&""!==o?t.sort(function(t,e){var a=i(t,r,n),s=i(e,r,n);return L.compare(a,s)*("asc"===o?1:-1)}):t}function z(t,e,i,n,r,o){e=e.toLowerCase();var a="";return i.forEach(function(e){a+=";"+n(t,e,r)}),o&&(a+=";"+n(t,"uuid",r)),-1!==a.toLowerCase().indexOf(e)}function F(t,e,i,n){var r=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(function(t){return!o.includes(t)}),t.forEach(function(t){var o={};e.forEach(function(e){var r;o[e]=(null!==(r=i(t,e,n))&&void 0!==r?r:"").split('"').join("''").trim()}),r.push(o)}),r}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"export";switch(e){case"csv":var n=function(t,e){return null===e?"":e},r=Object.keys(t[0]),o=t.map(function(t){return r.map(function(e){return JSON.stringify(t[e],n)}).join(",")});o.unshift(r.join(",").split(" ").join("_").split('"').join("''"));var s=o.join("\r\n"),u=new Blob([s],{type:"text/csv"});(0,a.saveAs)(u,"".concat(i,".").concat(e))}}function B(t,e){return t.name.toLowerCase()>e.name.toLowerCase()?1:t.name.toLowerCase()===e.name.toLowerCase()?0:-1}function q(t,e){var i,n,r,o,a,s;return t.user?(a=t.user.lastName?t.user.lastName:null!==(i=t.user.firstName)&&void 0!==i?i:"",s=e.user.lastName?e.user.lastName:null!==(n=e.user.firstName)&&void 0!==n?n:""):(a=t.lastName?t.lastName:null!==(r=t.firstName)&&void 0!==r?r:"",s=e.lastName?e.lastName:null!==(o=e.firstName)&&void 0!==o?o:""),a>s?1:a===s?0:-1}function U(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t.enable(),t.clearValidators(),t.clearAsyncValidators(),t.setValidators(e),t.setAsyncValidators(i),t.updateValueAndValidity()}},82819:function(t,e,i){"use strict";i.d(e,{l:function(){return p}});var n=i(31572),r=i(73005),o=i(38457),a=i(61511),s=i(15980),u=i(8055),c=i(43691),l=i(48160),h=function(){var t=function t(){v(this,t),this.exportData=new n.vpe};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,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(t,e){if(1&t&&(n.TgZ(0,"div",0),n.TgZ(1,"button",1),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,2),n.TgZ(6,"button",3),n._uU(7),n.ALo(8,"translate"),n.qZA(),n.qZA(),n.TgZ(9,"mat-menu",null,4),n.TgZ(11,"button",5),n.NdJ("click",function(){return e.exportData.emit("csv")}),n._uU(12,"Csv"),n.qZA(),n.qZA(),n.qZA()),2&t){var i=n.MAs(5),r=n.MAs(10);n.xp6(1),n.Q6J("matMenuTriggerFor",i),n.xp6(5),n.Q6J("matMenuTriggerFor",r),n.xp6(1),n.hij(" ",n.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[s.lW,u.p6,c.Hw,u.VK,u.OP],pipes:[l.X$],styles:[""]}),t}();function d(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"perun-web-apps-table-options",6),n.NdJ("exportData",function(t){return n.CHM(i),n.oxw().exportData.emit(t)}),n.qZA()}}var f=["*"],p=function(){var t=function(){function t(){v(this,t),this.hideExport=!1,this.page=new n.vpe,this.pageSizeOptions=o.f7,this.pageSize=5,this.dataLength=0,this.exportData=new n.vpe}return y(t,[{key:"matPaginator",set:function(t){this.paginator=t}},{key:"pageChanged",value:function(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){var i;(1&t&&n.Gf(r.NW,7),2&t)&&(n.iGM(i=n.CRH())&&(e.matPaginator=i.first))},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:f,decls:7,vars:8,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(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"mat-paginator",2),n.NdJ("page",function(t){return e.page.emit(t)}),n.qZA(),n.YNc(3,d,1,0,"perun-web-apps-table-options",3),n.qZA(),n.TgZ(4,"div",4),n.Hsn(5),n.qZA(),n.TgZ(6,"mat-paginator",5),n.NdJ("page",function(t){return e.pageChanged(t)}),n.qZA(),n.qZA()),2&t&&(n.xp6(2),n.Q6J("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),n.xp6(1),n.Q6J("ngIf",!e.hideExport),n.xp6(3),n.Q6J("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[r.NW,a.O5,h],styles:[""]}),t}()},39571:function(t,e,i){"use strict";i.d(e,{w:function(){return u}});var n=i(31572),r=i(61511),o=i(43691);function a(t,e){1&t&&(n.TgZ(0,"mat-icon",2),n._uU(1," error "),n.qZA())}var s=["*"],u=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:s,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,a,2,0,"mat-icon",1),n.Hsn(2),n.qZA()),2&t&&(n.ekj("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),n.xp6(1),n.Q6J("ngIf","error"!==e.alert_type))},directives:[r.O5,o.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t}()},22727:function(t,e,i){"use strict";i.d(e,{r:function(){return a}});var n=i(43691),r=i(61511),o=i(31572),a=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[n.Ps,r.ez]]}),t}()},10709:function(t,e,i){"use strict";i.d(e,{l3:function(){return o},_j:function(){return n},LC:function(){return r},ZN:function(){return b},jt:function(){return s},pV:function(){return p},ru:function(){return u},F4:function(){return d},IO:function(){return g},vP:function(){return c},SB:function(){return h},oB:function(){return l},eR:function(){return f},X$:function(){return a},ZE:function(){return w},k1:function(){return _}});var n=function t(){v(this,t)},r=function t(){v(this,t)},o="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:t,options:e}}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function h(t,e,i){return{type:0,name:t,styles:e,options:i}}function d(t){return{type:5,steps:t}}function f(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:i}}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function g(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:i}}function m(t){Promise.resolve(null).then(t)}var b=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;v(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;m(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),w=function(){function t(e){var i=this;v(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,o=0,a=this.players.length;0==a?m(function(){return i._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==a&&i._onFinish()}),t.onDestroy(function(){++r==a&&i._onDestroy()}),t.onStart(function(){++o==a&&i._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),_="!"},24621:function(t,e,i){"use strict";i.d(e,{rt:function(){return X},s1:function(){return P},$s:function(){return x},Qr:function(){return H},kH:function(){return Q},mK:function(){return Z},Em:function(){return D},tE:function(){return K},qV:function(){return F},qm:function(){return W},Kd:function(){return U},X6:function(){return j},yG:function(){return G}});var a=i(61511),u=i(31572),c=i(55959),l=i(87570),d=i(40878),f=i(75842),p=i(66599),g=i(47701),m=i(43835),b=i(79996),w=i(90611),_=i(19861),A=i(11353),k=i(36337);function T(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var C=0,S=new Map,E=null,x=function(){var t=function(){function t(e){v(this,t),this._document=e}return y(t,[{key:"describe",value:function(t,e,i){if(this._canBeDescribed(t,e)){var n=R(e,i);"string"!=typeof e?(I(e),S.set(n,{messageElement:e,referenceCount:0})):S.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}}},{key:"removeDescription",value:function(t,e,i){if(e&&this._isElementNode(t)){var n=R(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){var r=S.get(n);r&&0===r.referenceCount&&this._deleteMessageElement(n)}E&&0===E.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e-1&&e!==i._activeItemIndex&&(i._activeItemIndex=e)}})}return y(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(function(e){return t._pressedLetters.push(e)}),(0,g.b)(e),(0,m.h)(function(){return t._pressedLetters.length>0}),(0,b.U)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var i=t._getItemsArray(),n=1;n0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,i=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(function(i){return!t[i]||e._allowedModifierKeys.indexOf(i)>-1});switch(i){case f.Mf:return void this.tabOut.next();case f.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case f.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case f.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case f.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,f.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(i>=f.A&&i<=f.Z||i>=f.xE&&i<=f.aO)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],t.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),i=1;i<=e.length;i++){var n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof u.n_E?this._items.toArray():this._items}}]),t}(),P=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),n(h(i.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),i}(O),D=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._origin="program",t}return y(i,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){n(h(i.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),i}(O),M=function(){var t=function(){function t(e){v(this,t),this._platform=e}return y(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,i=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(i){if(-1===N(i))return!1;if(!this.isVisible(i))return!1}var n=t.nodeName.toLowerCase(),r=N(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==r:"video"===n?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||L(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(A.t4))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(A.t4))},token:t,providedIn:"root"}),t}();function L(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function N(t){if(!L(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var z=function(){function t(e,i,n,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v(this,t),this._element=e,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return y(t,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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)}},{key:"focusInitialElementWhenReady",value:function(t){var e=this;return new Promise(function(i){e._executeOnStable(function(){return i(e.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(i){e._executeOnStable(function(){return i(e.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(i){e._executeOnStable(function(){return i(e.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),i=0;i=0;i--){var n=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(n)return n}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,w.q)(1)).subscribe(t)}}]),t}(),F=function(){var t=function(){function t(e,i,n){v(this,t),this._checker=e,this._ngZone=i,this._document=n}return y(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new z(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(M),u.LFG(u.R0b),u.LFG(a.K0))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(M),u.LFG(u.R0b),u.LFG(a.K0))},token:t,providedIn:"root"}),t}(),Z=function(){var t=function(){function t(e,i,n){v(this,t),this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return y(t,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=(0,_.Ig)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=(0,_.Ig)(t)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(t){var e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=(0,A.ht)(),this.focusTrap.focusInitialElementWhenReady()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(F),u.Y36(a.K0))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[u.TTD]}),t}();"undefined"!=typeof Element&∈var B=new u.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),q=new u.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),U=function(){var t=function(){function t(e,i,n,r){v(this,t),this._ngZone=i,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}return y(t,[{key:"announce",value:function(t){for(var e,i,n,o=this,a=this._defaultOptions,s=arguments.length,u=new Array(s>1?s-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1],i=(0,_.fI)(t);if(!this._platform.isBrowser||1!==i.nodeType)return(0,d.of)(null);var n=(0,A.kV)(i)||this._getDocument(),r=this._elementInfo.get(i);if(r)return e&&(r.checkChildren=!0),r.subject;var o={checkChildren:e,subject:new c.xQ,rootNode:n};return this._elementInfo.set(i,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(t){var e=(0,_.fI)(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}},{key:"focusVia",value:function(t,e,i){var n=this,o=(0,_.fI)(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(function(t){var i=r(t,2),o=i[0],a=i[1];return n._originChanged(o,e,a)}):(this._setOriginForCurrentEventQueue(e),"function"==typeof o.focus&&o.focus(i))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,i){return t.stopMonitoring(i)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,i){i?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout(function(){return e._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(t){var e=J(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var i=this._elementInfo.get(e);i&&(i.checkChildren||e===J(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}},{key:"_onBlur",value:function(t,e){var i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var i=t.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(function(){i.addEventListener("focus",e._rootNodeFocusAndBlurListener,V),i.addEventListener("blur",e._rootNodeFocusAndBlurListener,V)}),this._rootNodeFocusListenerCount.set(i,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var t=e._getDocument(),i=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,V),t.addEventListener("mousedown",e._documentMousedownListener,V),t.addEventListener("touchstart",e._documentTouchstartListener,V),i.addEventListener("focus",e._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var i=this._rootNodeFocusListenerCount.get(e);i>1?this._rootNodeFocusListenerCount.set(e,i-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,V),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,V),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var n=this._getDocument(),r=this._getWindow();n.removeEventListener("keydown",this._documentKeydownListener,V),n.removeEventListener("mousedown",this._documentMousedownListener,V),n.removeEventListener("touchstart",this._documentTouchstartListener,V),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}},{key:"_getClosestElementsInfo",value:function(t){var e=[];return this._elementInfo.forEach(function(i,n){(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(u.R0b),u.LFG(A.t4),u.LFG(a.K0,8),u.LFG(Y,8))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(u.R0b),u.LFG(A.t4),u.LFG(a.K0,8),u.LFG(Y,8))},token:t,providedIn:"root"}),t}();function J(t){return t.composedPath?t.composedPath()[0]:t.target}var Q=function(){var t=function(){function t(e,i){v(this,t),this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new u.vpe}return y(t,[{key:"ngAfterViewInit",value:function(){var t=this,e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(e){return t.cdkFocusChange.emit(e)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(K))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),W=function(){var t=function(){function t(e,i){v(this,t),this._platform=e,this._document=i}return y(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(A.t4),u.LFG(a.K0))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(A.t4),u.LFG(a.K0))},token:t,providedIn:"root"}),t}(),X=function(){var t=function t(e){v(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275fac=function(e){return new(e||t)(u.LFG(W))},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[A.ud,k.Q8]]}),t}()},22526:function(t,e,i){"use strict";i.d(e,{vT:function(){return s},Is:function(){return a}});var n=i(31572),r=i(61511),o=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.f3M)(r.K0)}}),a=function(){var t=function(){function t(e){if(v(this,t),this.value="ltr",this.change=new n.vpe,e){var i=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||i;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return y(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.LFG(o,8))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(o,8))},token:t,providedIn:"root"}),t}(),s=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t}()},81391:function(t,e,i){"use strict";i.d(e,{i3:function(){return u},TU:function(){return a},Iq:function(){return c}});var n=i(61511),r=i(31572),o=function(){function t(e,i){v(this,t),this._document=i;var n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}return y(t,[{key:"copy",value:function(){var t=this._textarea,e=!1;try{if(t){var i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(n){}return e}},{key:"destroy",value:function(){var t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}]),t}(),a=function(){var t=function(){function t(e){v(this,t),this._document=e}return y(t,[{key:"copy",value:function(t){var e=this.beginCopy(t),i=e.copy();return e.destroy(),i}},{key:"beginCopy",value:function(t){return new o(t,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(n.K0))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(n.K0))},token:t,providedIn:"root"}),t}(),s=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG"),u=function(){var t=function(){function t(e,i,n){v(this,t),this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new r.vpe,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}return y(t,[{key:"copy",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(e>1){var i=e,n=this._clipboard.beginCopy(this.text);this._pending.add(n);var r=function e(){var r=n.copy();r||!--i||t._destroyed?(t._currentTimeout=null,t._pending.delete(n),n.destroy(),t.copied.emit(r)):t._currentTimeout=t._ngZone.runOutsideAngular(function(){return setTimeout(e,1)})};r()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(t){return t.destroy()}),this._pending.clear(),this._destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(a),r.Y36(r.R0b),r.Y36(s,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t}(),c=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}()},19861:function(t,e,i){"use strict";i.d(e,{t6:function(){return a},Eq:function(){return s},Ig:function(){return r},HM:function(){return u},fI:function(){return c},su:function(){return o},du:function(){return l}});var n=i(31572);function r(t){return null!=t&&"false"!="".concat(t)}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(t)?Number(t):e}function a(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(t){return Array.isArray(t)?t:[t]}function u(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function c(t){return t instanceof n.SBq?t.nativeElement:t}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,i=[];if(null!=t){var n,r=Array.isArray(t)?t:"".concat(t).split(e),o=f(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,s="".concat(a).trim();s&&i.push(s)}}catch(u){o.e(u)}finally{o.f()}}return i}},4230:function(t,e,i){"use strict";i.d(e,{P3:function(){return h},o2:function(){return c},Ov:function(){return g},A8:function(){return m},yy:function(){return d},eX:function(){return p},k:function(){return b},Z9:function(){return l}});var n=i(4710),r=i(40878),a=i(55959),u=i(31572),c=function t(){v(this,t)};function l(t){return t&&"function"==typeof t.connect}var h=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this))._data=t,n}return y(i,[{key:"connect",value:function(){return(0,n.b)(this._data)?this._data:(0,r.of)(this._data)}},{key:"disconnect",value:function(){}}]),i}(c),d=function(){function t(){v(this,t)}return y(t,[{key:"applyChanges",value:function(t,e,i,n,r){t.forEachOperation(function(t,n,o){var a,s;if(null==t.previousIndex){var u=i(t,n,o);a=e.createEmbeddedView(u.templateRef,u.context,u.index),s=1}else null==o?(e.remove(n),s=3):(a=e.get(n),e.move(a,o),s=2);r&&r({context:null==a?void 0:a.context,operation:s,record:t})})}},{key:"detach",value:function(){}}]),t}(),p=function(){function t(){v(this,t),this.viewCacheSize=20,this._viewCache=[]}return y(t,[{key:"applyChanges",value:function(t,e,i,n,r){var o=this;t.forEachOperation(function(t,a,s){var u,c;null==t.previousIndex?c=(u=o._insertView(function(){return i(t,a,s)},s,e,n(t)))?1:0:null==s?(o._detachAndCacheView(a,e),c=3):(u=o._moveView(a,s,e,n(t)),c=2),r&&r({context:null==u?void 0:u.context,operation:c,record:t})})}},{key:"detach",value:function(){var t,e=f(this._viewCache);try{for(e.s();!(t=e.n()).done;){t.value.destroy()}}catch(i){e.e(i)}finally{e.f()}this._viewCache=[]}},{key:"_insertView",value:function(t,e,i,n){var r=this._insertViewFromCache(e,i);if(!r){var o=t();return i.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=n}},{key:"_detachAndCacheView",value:function(t,e){var i=e.detach(t);this._maybeCacheView(i,e)}},{key:"_moveView",value:function(t,e,i,n){var r=i.get(t);return i.move(r,e),r.context.$implicit=n,r}},{key:"_maybeCacheView",value:function(t,e){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];v(this,t),this._multiple=i,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.xQ,n&&n.length&&(i?n.forEach(function(t){return e._markSelected(t)}):this._markSelected(n[0]),this._selectedToEmit.length=0)}return y(t,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n-1?1:1e3;return parseFloat(t)*e}function I(t,e){return t.getPropertyValue(e).split(",").map(function(t){return t.trim()})}function O(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function P(t,e,i){var n=t.top,r=t.bottom,o=t.left,a=t.right;return i>=n&&i<=r&&e>=o&&e<=a}function D(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function M(t,e,i,n){var r=t.top,o=t.right,a=t.bottom,s=t.left,u=t.width*e,c=t.height*e;return n>r-c&&ns-u&&i=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(t),o=s._dropContainer;if(!r)return void s._endDragSequence(t);o&&(o.isDragging()||o.isReceiving())||(t.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(t)}))}},this._pointerUp=function(t){s._endDragSequence(t)},this.withRootElement(e).withParent(i.parentDragRef||null),this._parentPositions=new L(n,o),a.registerDragItem(this)}return y(t,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=(0,u.Ig)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(function(t){return S(t,e)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var e=this;this._handles=t.map(function(t){return(0,u.fI)(t)}),this._handles.forEach(function(t){return S(t,e.disabled)}),this._toggleNativeDragInteractions();var i=new Set;return this._disabledHandles.forEach(function(t){e._handles.indexOf(t)>-1&&i.add(t)}),this._disabledHandles=i,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var e=this,i=(0,u.fI)(t);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){i.addEventListener("mousedown",e._pointerDown,U),i.addEventListener("touchstart",e._pointerDown,q)}),this._initialTransform=void 0,this._rootElement=i),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?(0,u.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return e._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(t){return this._parentDragRef=t,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Y(this._rootElement),Y(this._anchor),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}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),S(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),S(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"withPreviewContainer",value:function(t){return this._previewContainer=t,this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&Y(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&Y(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;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(function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)});else{this._passiveTransform.x=this._activeTransform.x;var i=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){e.ended.next({source:e,distance:e._getDragDistance(i),dropPoint:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(t){V(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e=this._dropContainer;if(e){var i=this._rootElement,n=i.parentNode,r=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();n.insertBefore(o,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),E(i,!1),this._document.body.appendChild(n.replaceChild(r,i)),this._getPreviewInsertionPoint(n,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var i=this;this._parentDragRef&&e.stopPropagation();var n=this.isDragging(),r=V(e),o=!r&&0!==e.button,a=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(n||o||s)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.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.scroll.subscribe(function(t){i._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=O(this._boundaryElement));var u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);var c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;E(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var i=e._dropContainer,n=i.getItemIndex(e),r=e._getPointerPositionOnPage(t),o=e._getDragDistance(r),a=i._isOverContainer(r.x,r.y);e.ended.next({source:e,distance:o,dropPoint:r}),e.dropped.next({item:e,currentIndex:n,previousIndex:e._initialIndex,container:i,previousContainer:e._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r}),i.drop(e,n,e._initialIndex,e._initialContainer,a,o,r),e._dropContainer=e._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,e){var i=this,n=t.x,r=t.y,o=e.x,a=e.y,s=this._initialContainer._getSiblingContainerFromPosition(this,n,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){i.exited.next({item:i,container:i._dropContainer}),i._dropContainer.exit(i),i._dropContainer=s,i._dropContainer.enter(i,n,r,s===i._initialContainer&&s.sortingDisabled?i._initialIndex:void 0),i.entered.next({item:i,container:s,currentIndex:s.getItemIndex(i)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,a),this._dropContainer._sortItem(this,n,r,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var t,e=this._previewTemplate,i=this.previewClass,n=e?e.template:null;if(n&&e){var r=e.matchSize?this._rootElement.getBoundingClientRect():null,o=e.viewContainer.createEmbeddedView(n,e.context);o.detectChanges(),t=K(o,this._document),this._previewRef=o,e.matchSize?J(t,r):t.style.transform=j(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;J(t=N(a),a.getBoundingClientRect()),this._initialTransform&&(t.style.transform=this._initialTransform)}return C(t.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"".concat(this._config.zIndex||1e3)}),S(t,!1),t.classList.add("cdk-drag-preview"),t.setAttribute("dir",this._direction),i&&(Array.isArray(i)?i.forEach(function(e){return t.classList.add(e)}):t.classList.add(i)),t}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);var i=function(t){var e=getComputedStyle(t),i=I(e,"transition-property"),n=i.find(function(t){return"transform"===t||"all"===t});if(!n)return 0;var r=i.indexOf(n),o=I(e,"transition-duration"),a=I(e,"transition-delay");return R(o[r])+R(a[r])}(this._preview);return 0===i?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(e){var n=function i(n){(!n||n.target===t._preview&&"transform"===n.propertyName)&&(t._preview.removeEventListener("transitionend",i),e(),clearTimeout(r))},r=setTimeout(n,1.5*i);t._preview.addEventListener("transitionend",n)})})}},{key:"_createPlaceholderElement",value:function(){var t,e=this._placeholderTemplate,i=e?e.template:null;return i?(this._placeholderRef=e.viewContainer.createEmbeddedView(i,e.context),this._placeholderRef.detectChanges(),t=K(this._placeholderRef,this._document)):t=N(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}},{key:"_getPointerPositionInElement",value:function(t,e){var i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,r=n?n.getBoundingClientRect():i,o=V(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:r.left-i.left+(o.pageX-r.left-a.left),y:r.top-i.top+(o.pageY-r.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=this._getViewportScrollPosition(),i=V(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,r=i.pageY-e.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var a=this._ownerSVGElement.createSVGPoint();return a.x=n,a.y=r,a.matrixTransform(o.inverse())}}return{x:n,y:r}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this._dropContainer?this._dropContainer.lockAxis:null,i=this.constrainPosition?this.constrainPosition(t,this):t,n=i.x,r=i.y;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(n=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,a=o.x,s=o.y,u=this._boundaryRect,c=this._previewRect,l=u.top+s,h=u.bottom-(c.height-s);n=G(n,u.left+a,u.right-(c.width-a)),r=G(r,l,h)}return{x:n,y:r}}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,i=t.y,n=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-r.x),a=Math.abs(i-r.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>r.x?1:-1,r.x=e),a>this._config.pointerDirectionChangeThreshold&&(n.y=i>r.y?1:-1,r.y=i),n}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,S(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,U),t.removeEventListener("touchstart",this._pointerDown,q)}},{key:"_applyRootElementTransform",value:function(t,e){var i=j(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=x(i,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(t,e){var i,n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,r=j(t,e);this._preview.style.transform=x(r,n)}},{key:"_getDragDistance",value:function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,e=t.x,i=t.y;if(!(0===e&&0===i||this.isDragging())&&this._boundaryElement){var n=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===n.width&&0===n.height||0===r.width&&0===r.height)){var o=n.left-r.left,a=r.right-n.right,s=n.top-r.top,u=r.bottom-n.bottom;n.width>r.width?(o>0&&(e+=o),a>0&&(e-=a)):e=0,n.height>r.height?(s>0&&(i+=s),u>0&&(i-=u)):i=0,e===this._passiveTransform.x&&i===this._passiveTransform.y||this.setFreeDragPosition({y:i,x:e})}}}},{key:"_getDragStartDelay",value:function(t){var e=this.dragStartDelay;return"number"==typeof e?e:V(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);if(e){var i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&D(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))}}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,s.kV)(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(t,e){var i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){var n=this._document;return e||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return(0,u.fI)(i)}}]),t}();function j(t,e){return"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(e),"px, 0)")}function G(t,e,i){return Math.max(e,Math.min(i,t))}function Y(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function V(t){return"t"===t.type[0]}function K(t,e){var i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];var n=e.createElement("div");return i.forEach(function(t){return n.appendChild(t)}),n}function J(t,e){t.style.width="".concat(e.width,"px"),t.style.height="".concat(e.height,"px"),t.style.transform=j(e.left,e.top)}function Q(t,e,i){var n=W(e,t.length-1),r=W(i,t.length-1);if(n!==r){for(var o=t[n],a=r-1&&o.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){var l=c.getRootElement();l.parentElement.insertBefore(s,l),o.splice(r,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){var h=o[0].getRootElement();h.parentNode.insertBefore(s,h),o.unshift(t)}else(0,u.fI)(this.element).appendChild(s),o.push(t);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,e,i,n,r,o,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:r,distance:o,dropPoint:a})}},{key:"withItems",value:function(t){var e=this,i=this._draggables;return this._draggables=t,t.forEach(function(t){return t._withDropContainer(e)}),this.isDragging()&&(i.filter(function(t){return t.isDragging()}).every(function(e){return-1===t.indexOf(e)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var e=(0,u.fI)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat(d(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?$("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(e){return e.drag===t}):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,e,i,n){if(!this.sortingDisabled&&this._clientRect&&M(this._clientRect,.05,e,i)){var r=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(!(-1===o&&r.length>0)){var a="horizontal"===this._orientation,s=$(r,function(e){return e.drag===t}),u=r[o],c=u.clientRect,l=s>o?1:-1,h=this._getItemOffsetPx(r[s].clientRect,c,l),d=this._getSiblingOffsetPx(s,r,l),f=r.slice();Q(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:t}),r.forEach(function(e,i){if(f[i]!==e){var n=e.drag===t,r=n?h:d,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,a?(o.style.transform=x("translate3d(".concat(Math.round(e.offset),"px, 0, 0)"),e.initialTransform),D(e.clientRect,0,r)):(o.style.transform=x("translate3d(0, ".concat(Math.round(e.offset),"px, 0)"),e.initialTransform),D(e.clientRect,r,0))}}),this._previousSwap.overlaps=P(c,e,i),this._previousSwap.drag=u.drag,this._previousSwap.delta=a?n.x:n.y}}}},{key:"_startScrollingIfNecessary",value:function(t,e){var i=this;if(!this.autoScrollDisabled){var n,o=0,a=0;if(this._parentPositions.positions.forEach(function(s,u){var c;u!==i._document&&s.clientRect&&!n&&M(s.clientRect,.05,t,e)&&(c=r(function(t,e,i,n){var r=it(e,n),o=nt(e,i),a=0,s=0;if(r){var u=t.scrollTop;1===r?u>0&&(a=1):t.scrollHeight-u>t.clientHeight&&(a=2)}if(o){var c=t.scrollLeft;1===o?c>0&&(s=1):t.scrollWidth-c>t.clientWidth&&(s=2)}return[a,s]}(u,s.clientRect,t,e),2),o=c[0],a=c[1],(o||a)&&(n=u))}),!o&&!a){var s=this._viewportRuler.getViewportSize(),u=s.width,c=s.height,l={width:u,height:c,top:0,right:u,bottom:c,left:0};o=it(l,e),a=nt(l,t),n=window}!n||o===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=o,this._horizontalScrollDirection=a,this._scrollNode=n,(o||a)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var t=(0,u.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var t=(0,u.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(t){var e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:O(e)}}).sort(function(e,i){return t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top})}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var e=(0,u.fI)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(e){var i,n=e.getRootElement();if(n){var r=null===(i=t._itemPositions.find(function(t){return t.drag===e}))||void 0===i?void 0:i.initialTransform;n.style.transform=r||""}}),this._siblings.forEach(function(e){return e._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,e,i){var n="horizontal"===this._orientation,r=e[t].clientRect,o=e[t+-1*i],a=r[n?"width":"height"]*i;if(o){var s=n?"left":"top",u=n?"right":"bottom";-1===i?a-=o.clientRect[s]-r[u]:a+=r[s]-o.clientRect[u]}return a}},{key:"_getItemOffsetPx",value:function(t,e,i){var n="horizontal"===this._orientation,r=n?e.left-t.left:e.top-t.top;return-1===i&&(r+=n?e.width-t.width:e.height-t.height),r}},{key:"_shouldEnterAsFirstChild",value:function(t,e){if(!this._activeDraggables.length)return!1;var i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){var r=i[i.length-1].clientRect;return n?t>=r.right:e>=r.bottom}var o=i[0].clientRect;return n?t<=o.left:e<=o.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,i,n){var r=this,o="horizontal"===this._orientation,a=$(this._itemPositions,function(a,s,u){var c=a.drag,l=a.clientRect;if(c===t)return u.length<2;if(n){var h=o?n.x:n.y;if(c===r._previousSwap.drag&&r._previousSwap.overlaps&&h===r._previousSwap.delta)return!1}return o?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&i-1})&&(n.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(e){if(t.isDragging()){var i=t._parentPositions.handleScroll(e);i&&(t._itemPositions.forEach(function(t){D(t.clientRect,i.top,i.left)}),t._itemPositions.forEach(function(e){var i=e.drag;t._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=(0,s.kV)((0,u.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var t=this,e=this._activeDraggables.filter(function(t){return t.isDragging()});this._siblings.forEach(function(i){return i._startReceiving(t,e)})}}]),t}();function $(t,e){for(var i=0;i=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}function nt(t,e){var i=t.left,n=t.right,r=.05*t.width;return e>=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}var rt=(0,s.i$)({passive:!1,capture:!0}),ot=function(){var t=function(){function t(e,i){var n=this;v(this,t),this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(t){return t.isDragging()},this.pointerMove=new c.xQ,this.pointerUp=new c.xQ,this.scroll=new c.xQ,this._preventDefaultWhileDragging=function(t){n._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=function(t){n._activeDragInstances.length>0&&(n._activeDragInstances.some(n._draggingPredicate)&&t.preventDefault(),n.pointerMove.next(t))},this._document=i}return y(t,[{key:"registerDropContainer",value:function(t){this._dropInstances.has(t)||this._dropInstances.add(t)}},{key:"registerDragItem",value:function(t){var e=this;this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){e._document.addEventListener("touchmove",e._persistentTouchmoveListener,rt)})}},{key:"removeDropContainer",value:function(t){this._dropInstances.delete(t)}},{key:"removeDragItem",value:function(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,rt)}},{key:"startDragging",value:function(t,e){var i=this;if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){var n=e.type.startsWith("touch");this._globalListeners.set(n?"touchend":"mouseup",{handler:function(t){return i.pointerUp.next(t)},options:!0}).set("scroll",{handler:function(t){return i.scroll.next(t)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:rt}),n||this._globalListeners.set("mousemove",{handler:function(t){return i.pointerMove.next(t)},options:rt}),this._ngZone.runOutsideAngular(function(){i._globalListeners.forEach(function(t,e){i._document.addEventListener(e,t.handler,t.options)})})}}},{key:"stopDragging",value:function(t){var e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(t){return this._activeDragInstances.indexOf(t)>-1}},{key:"ngOnDestroy",value:function(){var t=this;this._dragInstances.forEach(function(e){return t.removeDragItem(e)}),this._dropInstances.forEach(function(e){return t.removeDropContainer(e)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var t=this;this._globalListeners.forEach(function(e,i){t._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.R0b),n.LFG(o.K0))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(n.R0b),n.LFG(o.K0))},token:t,providedIn:"root"}),t}(),at={dragStartThreshold:5,pointerDirectionChangeThreshold:5},st=function(){var t=function(){function t(e,i,n,r){v(this,t),this._document=e,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=r}return y(t,[{key:"createDrag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at;return new H(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(t){return new X(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.LFG(o.K0),n.LFG(n.R0b),n.LFG(a.rL),n.LFG(ot))},t.\u0275prov=n.Yz7({factory:function(){return new t(n.LFG(o.K0),n.LFG(n.R0b),n.LFG(a.rL),n.LFG(ot))},token:t,providedIn:"root"}),t}(),ut=new n.OlP("CDK_DRAG_PARENT"),ct=new n.OlP("CdkDropListGroup"),lt=new n.OlP("CDK_DRAG_CONFIG"),ht=0,dt=new n.OlP("CdkDropList"),ft=function(){var t=function(){function t(e,i,r,o,a,s,u){var l=this;v(this,t),this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=s,this._destroyed=new c.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+ht++,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.sorted=new n.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=function(t,e){return l.enterPredicate(t.data,e.data)},this._dropListRef.sortPredicate=function(t,e,i){return l.sortPredicate(t,e.data,i.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),s&&s._items.add(this)}return y(t,[{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(t){this._dropListRef.disabled=this._disabled=(0,u.Ig)(t)}},{key:"addItem",value:function(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(t,e){return t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(e){var i=this;this._dir&&this._dir.change.pipe((0,b.O)(this._dir.value),(0,m.R)(this._destroyed)).subscribe(function(t){return e.withDirection(t)}),e.beforeStarted.subscribe(function(){var n=(0,u.Eq)(i.connectedTo).map(function(e){return"string"==typeof e?t._dropLists.find(function(t){return t.id===e}):e});if(i._group&&i._group._items.forEach(function(t){-1===n.indexOf(t)&&n.push(t)}),!i._scrollableParentsResolved){var r=i._scrollDispatcher.getAncestorScrollContainers(i.element).map(function(t){return t.getElementRef().nativeElement});i._dropListRef.withScrollableParents(r),i._scrollableParentsResolved=!0}e.disabled=i.disabled,e.lockAxis=i.lockAxis,e.sortingDisabled=(0,u.Ig)(i.sortingDisabled),e.autoScrollDisabled=(0,u.Ig)(i.autoScrollDisabled),e.autoScrollStep=(0,u.su)(i.autoScrollStep,2),e.connectedTo(n.filter(function(t){return t&&t!==i}).map(function(t){return t._dropListRef})).withOrientation(i.orientation)})}},{key:"_handleEvents",value:function(t){var e=this;t.beforeStarted.subscribe(function(){e._syncItemsWithRef(),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:e,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:e,item:t.item.data}),e._changeDetectorRef.markForCheck()}),t.sorted.subscribe(function(t){e.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:e,item:t.item.data})}),t.dropped.subscribe(function(t){e.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}),e._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,i=t.draggingDisabled,n=t.sortingDisabled,r=t.listAutoScrollDisabled,o=t.listOrientation;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=r&&r,this.orientation=o||"vertical",e&&(this.lockAxis=e)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(t){return t._dragRef}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(st),n.Y36(n.sBO),n.Y36(a.mF),n.Y36(T.Is,8),n.Y36(ct,12),n.Y36(lt,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(n.uIk("id",e.id),n.ekj("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n._Bn([{provide:ct,useValue:void 0},{provide:dt,useExisting:t}])]}),t._dropLists=[],t}(),pt=new n.OlP("CdkDragHandle"),gt=new n.OlP("CdkDragPlaceholder"),vt=new n.OlP("CdkDragPreview"),mt=function(){var t=function(){function t(e,i,r,o,a,s,u,l,h,d,f){var g=this;v(this,t),this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=u,this._changeDetectorRef=h,this._selfHandle=d,this._parentDrag=f,this._destroyed=new c.xQ,this.started=new n.vpe,this.released=new n.vpe,this.ended=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.dropped=new n.vpe,this.moved=new p.y(function(t){var e=g._dragRef.moved.pipe((0,w.U)(function(t){return{source:g,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}})).subscribe(t);return function(){e.unsubscribe()}}),this._dragRef=l.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,t._dragInstances.push(this),s&&this._assignDefaults(s),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return y(t,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=(0,u.Ig)(t),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.onStable.pipe((0,_.q)(1),(0,m.R)(this._destroyed)).subscribe(function(){t._updateRootElement(),t._handles.changes.pipe((0,b.O)(t._handles),(0,A.b)(function(e){var i=e.filter(function(e){return e._parentDrag===t}).map(function(t){return t.element});t._selfHandle&&t.rootElementSelector&&i.push(t.element),t._dragRef.withHandles(i)}),(0,k.w)(function(t){return g.T.apply(void 0,d(t.map(function(t){return t._stateChanges.pipe((0,b.O)(t))})))}),(0,m.R)(t._destroyed)).subscribe(function(e){var i=t._dragRef,n=e.element.nativeElement;e.disabled?i.disableHandle(n):i.enableHandle(n)}),t.freeDragPosition&&t._dragRef.setFreeDragPosition(t.freeDragPosition)})}},{key:"ngOnChanges",value:function(t){var e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var t=this.element.nativeElement,e=this.rootElementSelector?yt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}},{key:"_getBoundaryElement",value:function(){var t=this.boundaryElement;return t?"string"==typeof t?yt(this.element.nativeElement,t):(0,u.fI)(t):null}},{key:"_syncInputs",value:function(e){var i=this;e.beforeStarted.subscribe(function(){if(!e.isDragging()){var t=i._dir,n=i.dragStartDelay,r=i._placeholderTemplate?{template:i._placeholderTemplate.templateRef,context:i._placeholderTemplate.data,viewContainer:i._viewContainerRef}:null,o=i._previewTemplate?{template:i._previewTemplate.templateRef,context:i._previewTemplate.data,matchSize:i._previewTemplate.matchSize,viewContainer:i._viewContainerRef}:null;e.disabled=i.disabled,e.lockAxis=i.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:(0,u.su)(n),e.constrainPosition=i.constrainPosition,e.previewClass=i.previewClass,e.withBoundaryElement(i._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o).withPreviewContainer(i.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,_.q)(1)).subscribe(function(){var n,r;if(i._parentDrag)e.withParent(i._parentDrag._dragRef);else for(var o=i.element.nativeElement.parentElement;o;){if(null===(n=o.classList)||void 0===n?void 0:n.contains("cdk-drag")){e.withParent((null===(r=t._dragInstances.find(function(t){return t.element.nativeElement===o}))||void 0===r?void 0:r._dragRef)||null);break}o=o.parentElement}})}},{key:"_handleEvents",value:function(t){var e=this;t.started.subscribe(function(){e.started.emit({source:e}),e._changeDetectorRef.markForCheck()}),t.released.subscribe(function(){e.released.emit({source:e})}),t.ended.subscribe(function(t){e.ended.emit({source:e,distance:t.distance,dropPoint:t.dropPoint}),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:t.container.data,item:e,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:t.container.data,item:e})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:e,distance:t.distance,dropPoint:t.dropPoint})})}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,i=t.dragStartDelay,n=t.constrainPosition,r=t.previewClass,o=t.boundaryElement,a=t.draggingDisabled,s=t.rootElementSelector,u=t.previewContainer;this.disabled=null!=a&&a,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),r&&(this.previewClass=r),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s),u&&(this.previewContainer=u)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(dt,12),n.Y36(o.K0),n.Y36(n.R0b),n.Y36(n.s_b),n.Y36(lt,8),n.Y36(T.Is,8),n.Y36(st),n.Y36(n.sBO),n.Y36(pt,10),n.Y36(ut,12))},t.\u0275dir=n.lG2({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){var r;(1&t&&(n.Suo(i,vt,5),n.Suo(i,gt,5),n.Suo(i,pt,5)),2&t)&&(n.iGM(r=n.CRH())&&(e._previewTemplate=r.first),n.iGM(r=n.CRH())&&(e._placeholderTemplate=r.first),n.iGM(r=n.CRH())&&(e._handles=r))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&n.ekj("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n._Bn([{provide:ut,useExisting:t}]),n.TTD]}),t._dragInstances=[],t}();function yt(t,e){for(var i=t.parentElement;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}var bt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[st],imports:[a.ZD]}),t}()},75842:function(t,e,i){"use strict";i.d(e,{A:function(){return b},ZH:function(){return n},OC:function(){return _},yY:function(){return v},JH:function(){return g},uR:function(){return l},K5:function(){return o},hY:function(){return a},Sd:function(){return h},oh:function(){return d},aO:function(){return y},VM:function(){return c},Ku:function(){return u},SV:function(){return p},L_:function(){return s},Mf:function(){return r},LH:function(){return f},Z:function(){return w},xE:function(){return m},Vb:function(){return A}});var n=8,r=9,o=13,a=27,s=32,u=33,c=34,l=35,h=36,d=37,f=38,p=39,g=40,v=46,m=48,y=57,b=65,w=90,_=188;function A(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;ne.height||t.scrollWidth>e.width}}]),t}(),R=function(){function t(e,i,n,r){var o=this;v(this,t),this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),I=function(){function t(){v(this,t)}return y(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function O(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function P(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var D=function(){function t(e,i,n,r){v(this,t),this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),i=t._viewportRuler.getViewportSize(),n=i.width,r=i.height;O(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),M=function(){var t=function t(e,i,n,r){var o=this;v(this,t),this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this.noop=function(){return new I},this.close=function(t){return new R(o._scrollDispatcher,o._ngZone,o._viewportRuler,t)},this.block=function(){return new x(o._viewportRuler,o._document)},this.reposition=function(t){return new D(o._scrollDispatcher,o._viewportRuler,o._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(u.LFG(a.mF),u.LFG(a.rL),u.LFG(u.R0b),u.LFG(d.K0))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(a.mF),u.LFG(a.rL),u.LFG(u.R0b),u.LFG(d.K0))},token:t,providedIn:"root"}),t}(),L=function t(e){if(v(this,t),this.scrollStrategy=new I,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var i=0,n=Object.keys(e);i-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(d.K0))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(d.K0))},token:t,providedIn:"root"}),t}(),Z=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this,t))._keydownListener=function(t){for(var e=n._attachedOverlays,i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}},n}return y(i,[{key:"add",value:function(t){n(h(i.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(u.LFG(d.K0))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(d.K0))},token:t,providedIn:"root"}),t}(),B=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t))._platform=n,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,i=r._attachedOverlays.slice(),n=i.length-1;n>-1;n--){var o=i[n];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(e))break;o._outsidePointerEvents.next(t)}}},r}return y(i,[{key:"add",value:function(t){if(n(h(i.prototype),"add",this).call(this,t),!this._isAttached){var e=this._document.body;e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(u.LFG(d.K0),u.LFG(c.t4))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(d.K0),u.LFG(c.t4))},token:t,providedIn:"root"}),t}(),q="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,U=function(){var t=function(){function t(e,i){v(this,t),this._platform=i,this._document=e}return y(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||q)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),e=0;ep&&(p=m,d=v)}}catch(y){g.e(y)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Y(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var i;if("center"==e.originX)i=t.left+t.width/2;else{var n=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;i="start"==e.originX?n:r}return{x:i,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,i){var n,r;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,i,n){var r=K(e),o=t.x,a=t.y,s=this._getOffset(n,"x"),u=this._getOffset(n,"y");s&&(o+=s),u&&(a+=u);var c=0-a,l=a+r.height-i.height,h=this._subtractOverflows(r.width,0-o,o+r.width-i.width),d=this._subtractOverflows(r.height,c,l),f=h*d;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,i){if(this._hasFlexibleDimensions){var n=i.bottom-e.y,r=i.right-e.x,o=V(this._overlayRef.getConfig().minHeight),a=V(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=o&&o<=n)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var n,r,o=K(e),a=this._viewportRect,s=Math.max(t.x+o.width-a.width,0),u=Math.max(t.y+o.height-a.height,0),c=Math.max(a.top-i.top-t.y,0),l=Math.max(a.left-i.left-t.x,0);return n=o.width<=a.width?l||-s:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(n=t.y-h/2)}if("end"===e.overlayX&&!c||"start"===e.overlayX&&c)s=u.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!c||"end"===e.overlayX&&c)a=t.x,o=u.right-t.x;else{var d=Math.min(u.right-t.x+u.left,t.x),f=this._lastBoundingBoxSize.width;o=2*d,a=t.x-d,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-f/2)}return{top:n,left:a,bottom:r,right:s,width:o,height:i}}},{key:"_setBoundingBoxStyles",value:function(t,e){var i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));var n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;n.height=(0,p.HM)(i.height),n.top=(0,p.HM)(i.top),n.bottom=(0,p.HM)(i.bottom),n.width=(0,p.HM)(i.width),n.left=(0,p.HM)(i.left),n.right=(0,p.HM)(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(n.maxHeight=(0,p.HM)(r)),o&&(n.maxWidth=(0,p.HM)(o))}this._lastBoundingBoxSize=i,Y(this._boundingBox.style,n)}},{key:"_resetBoundingBoxStyles",value:function(){Y(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Y(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){var a=this._viewportRuler.getViewportScrollPosition();Y(i,this._getExactOverlayY(e,t,a)),Y(i,this._getExactOverlayX(e,t,a))}else i.position="static";var s="",u=this._getOffset(e,"x"),c=this._getOffset(e,"y");u&&(s+="translateX(".concat(u,"px) ")),c&&(s+="translateY(".concat(c,"px)")),i.transform=s.trim(),o.maxHeight&&(n?i.maxHeight=(0,p.HM)(o.maxHeight):r&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=(0,p.HM)(o.maxWidth):r&&(i.maxWidth="")),Y(this._pane.style,i)}},{key:"_getExactOverlayY",value:function(t,e,i){var n={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":n.top=(0,p.HM)(r.y),n}},{key:"_getExactOverlayX",value:function(t,e,i){var n={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?n.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":n.left=(0,p.HM)(r.x),n}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:P(t,i),isOriginOutsideView:O(t,i),isOverlayClipped:P(e,i),isOverlayOutsideView:O(e,i)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),n=i.width,r=i.height,o=i.maxWidth,a=i.maxHeight,s=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?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=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),W=function(){var t=function(){function t(e,i,n,r){v(this,t),this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=r}return y(t,[{key:"global",value:function(){return new Q}},{key:"connectedTo",value:function(t,e,i){return new J(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new G(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(a.rL),u.LFG(d.K0),u.LFG(c.t4),u.LFG(U))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(a.rL),u.LFG(d.K0),u.LFG(c.t4),u.LFG(U))},token:t,providedIn:"root"}),t}(),X=0,$=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l,h){v(this,t),this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=c,this._location=l,this._outsideClickDispatcher=h}return y(t,[{key:"create",value:function(t){var e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),r=new L(t);return r.direction=r.direction||this._directionality.value,new H(n,e,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+X++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new g.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(M),u.LFG(U),u.LFG(u._Vd),u.LFG(W),u.LFG(Z),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(d.K0),u.LFG(l.Is),u.LFG(d.Ye),u.LFG(B))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t}(),tt=[{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"}],et=new u.OlP("cdk-connected-overlay-scroll-strategy"),it=function(){var t=function t(e){v(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),nt=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=b.w.EMPTY,this._attachSubscription=b.w.EMPTY,this._detachSubscription=b.w.EMPTY,this._positionSubscription=b.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.vpe,this.positionChange=new u.vpe,this.attach=new u.vpe,this.detach=new u.vpe,this.overlayKeydown=new u.vpe,this.overlayOutsideClick=new u.vpe,this._templatePortal=new g.UE(i,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return y(t,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=(0,p.Ig)(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=(0,p.Ig)(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=(0,p.Ig)(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=(0,p.Ig)(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=(0,p.Ig)(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;this.positions&&this.positions.length||(this.positions=tt);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=e.detachments().subscribe(function(){return t.detach.emit()}),e.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),e.keyCode!==S.hY||t.disableClose||(0,S.Vb)(e)||(e.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(e){t.overlayOutsideClick.next(e)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new L({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,i=this.positions.map(function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}});return t.setOrigin(this.origin.elementRef).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}},{key:"_attachOverlay",value:function(){var t=this;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(function(e){t.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i){return i.lift(new A(t,e))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(e){t.positionChange.emit(e),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36($),u.Y36(u.Rgc),u.Y36(u.s_b),u.Y36(et),u.Y36(l.Is,8))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[u.TTD]}),t}(),rt={provide:et,deps:[$],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},ot=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[$,rt],imports:[[l.vT,g.eL,a.Cl],a.Cl]}),t}()},11353:function(t,e,i){"use strict";i.d(e,{t4:function(){return h},ud:function(){return d},ht:function(){return w},kV:function(){return b},_i:function(){return y},qK:function(){return p},i$:function(){return g},Mq:function(){return m}});var n,r=i(31572),o=i(61511);try{n="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(_){n=!1}var a,s,u,c,l,h=function(){var t=function t(e){v(this,t),this._platformId=e,this.isBrowser=this._platformId?(0,o.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&&!n)&&"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 t.\u0275fac=function(e){return new(e||t)(r.LFG(r.Lbi))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.Lbi))},token:t,providedIn:"root"}),t}(),d=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),f=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(f);var t=document.createElement("input");return a=new Set(f.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function g(t){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?t:!!t.capture}function m(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1;if("scrollBehavior"in document.documentElement.style)c=!0;else{var t=Element.prototype.scrollTo;c=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return c}function y(){if("object"!=typeof document||!document)return 0;if(null==u){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function b(t){if(function(){if(null==l){var t="undefined"!=typeof document?document.head:null;l=!(!t||!t.createShadowRoot&&!t.attachShadow)}return l}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function w(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},26899:function(t,e,i){"use strict";i.d(e,{en:function(){return p},ig:function(){return b},Pl:function(){return w},C5:function(){return l},F0:function(){return m},u0:function(){return g},eL:function(){return _},UE:function(){return d}});var r=i(31572),a=i(61511),u=function(){function t(){v(this,t)}return y(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),t}(),l=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this)).component=t,a.viewContainerRef=n,a.injector=r,a.componentFactoryResolver=o,a}return i}(u),d=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this)).templateRef=t,o.viewContainerRef=n,o.context=r,o}return y(i,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,n(h(i.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,n(h(i.prototype),"detach",this).call(this)}}]),i}(u),f=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this)).element=t instanceof r.SBq?t.nativeElement:t,n}return i}(u),p=function(){function t(){v(this,t),this._isDisposed=!1,this.attachDomPortal=null}return y(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof l?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof d?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof f?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),g=function(t){o(i,t);var e=s(i);function i(t,r,o,a,s){var u,l;return v(this,i),(l=e.call(this)).outletElement=t,l._componentFactoryResolver=r,l._appRef=o,l._defaultInjector=a,l.attachDomPortal=function(t){var e=t.element,r=l._document.createComment("dom-portal");e.parentNode.insertBefore(r,e),l.outletElement.appendChild(e),l._attachedPortal=t,n((u=c(l),h(i.prototype)),"setDisposeFn",u).call(u,function(){r.parentNode&&r.parentNode.replaceChild(e,r)})},l._document=s,l}return y(i,[{key:"attachComponentPortal",value:function(t){var e,i=this,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=n.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){i._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}},{key:"attachTemplatePortal",value:function(t){var e=this,i=t.viewContainerRef,n=i.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),n.detectChanges(),this.setDisposeFn(function(){var t=i.indexOf(n);-1!==t&&i.remove(t)}),this._attachedPortal=t,n}},{key:"dispose",value:function(){n(h(i.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),i}(p),m=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(g),b=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){return v(this,i),e.call(this,t,n)}return i}(d);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[r.qOj]}),t}(),w=function(){var t=function(t){o(i,t);var e=s(i);function i(t,o,a){var s,u;return v(this,i),(u=e.call(this))._componentFactoryResolver=t,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new r.vpe,u.attachDomPortal=function(t){var e=t.element,r=u._document.createComment("dom-portal");t.setAttachedHost(c(u)),e.parentNode.insertBefore(r,e),u._getRootNode().appendChild(e),u._attachedPortal=t,n((s=c(u),h(i.prototype)),"setDisposeFn",s).call(s,function(){r.parentNode&&r.parentNode.replaceChild(e,r)})},u._document=a,u}return y(i,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&n(h(i.prototype),"detach",this).call(this),t&&n(h(i.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),o=e.createComponent(r,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),n(h(i.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return n(h(i.prototype),"setDisposeFn",this).call(this,function(){return e._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}]),i}(p);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(a.K0))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),t}(),_=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}()},4253:function(t,e,i){"use strict";i.d(e,{xd:function(){return B},PQ:function(){return U},ZD:function(){return K},x0:function(){return V},N7:function(){return G},mF:function(){return q},Cl:function(){return J},rL:function(){return H}});var a=i(19861),u=i(31572),c=i(55959),l=i(40878),d=i(48318),p=i(87254),g=i(91741),m=i(92709),b=i(87570),w=i(4710),_=i(96673),A=function(){function t(){v(this,t)}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new k(t))}}]),t}(),k=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this,t)).hasPrev=!1,n}return y(i,[{key:"_next",value:function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}]),i}(_.L),T=i(98720),C=i(30810),S=i(43835),E=i(25416),x=i(56238),R=i(44689),I=i(68303),O=i(11353),P=i(61511),D=i(22526),M=i(4230),L=["contentWrapper"],N=["*"],z=new u.OlP("VIRTUAL_SCROLL_STRATEGY"),F=function(){function t(e,i,n){v(this,t),this._scrolledIndexChange=new c.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,T.x)()),this._viewport=null,this._itemSize=e,this._minBufferPx=i,this._maxBufferPx=n}return y(t,[{key:"attach",value:function(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(t,e,i){this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},i=this._viewport.getViewportSize(),n=this._viewport.getDataLength(),r=this._viewport.measureScrollOffset(),o=this._itemSize>0?r/this._itemSize:0;if(e.end>n){var a=Math.ceil(i/this._itemSize),s=Math.max(0,Math.min(o,n-a));o!=s&&(o=s,r=s*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(n,e.start+a))}var u=r-e.start*this._itemSize;if(u0&&(e.end=Math.min(n,e.end+h),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}}}]),t}();function Z(t){return t._scrollStrategy}var B=function(){var t=function(){function t(){v(this,t),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new F(this.itemSize,this.minBufferPx,this.maxBufferPx)}return y(t,[{key:"itemSize",get:function(){return this._itemSize},set:function(t){this._itemSize=(0,a.su)(t)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(t){this._minBufferPx=(0,a.su)(t)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(t){this._maxBufferPx=(0,a.su)(t)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=u.lG2({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[u._Bn([{provide:z,useFactory:Z,deps:[(0,u.Gpc)(function(){return t})]}]),u.TTD]}),t}(),q=function(){var t=function(){function t(e,i,n){v(this,t),this._ngZone=e,this._platform=i,this._scrolled=new c.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return y(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new d.y(function(i){t._globalSubscription||t._addGlobalListener();var n=e>0?t._scrolled.pipe((0,C.e)(e)).subscribe(i):t._scrolled.subscribe(i);return t._scrolledCount++,function(){n.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):(0,l.of)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,i){return t.deregister(i)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,S.h)(function(t){return!t||i.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,i=[];return this.scrollContainers.forEach(function(n,r){e._scrollableContainsElement(r,t)&&i.push(r)}),i}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var i=(0,a.fI)(e),n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var e=t._getWindow();return(0,p.R)(e.document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(u.R0b),u.LFG(O.t4),u.LFG(P.K0,8))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(u.R0b),u.LFG(O.t4),u.LFG(P.K0,8))},token:t,providedIn:"root"}),t}(),U=function(){var t=function(){function t(e,i,n,r){var o=this;v(this,t),this.elementRef=e,this.scrollDispatcher=i,this.ngZone=n,this.dir=r,this._destroyed=new c.xQ,this._elementScrolled=new d.y(function(t){return o.ngZone.runOutsideAngular(function(){return(0,p.R)(o.elementRef.nativeElement,"scroll").pipe((0,E.R)(o._destroyed)).subscribe(t)})})}return y(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=(0,O._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,O._i)()?t.left=t.right:1==(0,O._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;(0,O.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==(0,O._i)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==(0,O._i)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(q),u.Y36(u.R0b),u.Y36(D.Is,8))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),H=function(){var t=function(){function t(e,i,n){var r=this;v(this,t),this._platform=e,this._change=new c.xQ,this._changeListener=function(t){r._change.next(t)},this._document=n,i.runOutsideAngular(function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return y(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),i=e.width,n=e.height;return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+i,height:n,width:i}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe((0,C.e)(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(O.t4),u.LFG(u.R0b),u.LFG(P.K0,8))},t.\u0275prov=u.Yz7({factory:function(){return new t(u.LFG(O.t4),u.LFG(u.R0b),u.LFG(P.K0,8))},token:t,providedIn:"root"}),t}(),j="undefined"!=typeof requestAnimationFrame?g.r:m.e,G=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u){var l;return v(this,i),(l=e.call(this,t,s,r,a)).elementRef=t,l._changeDetectorRef=n,l._scrollStrategy=o,l._detachedSubject=new c.xQ,l._renderedRangeSubject=new c.xQ,l._orientation="vertical",l.scrolledIndexChange=new d.y(function(t){return l._scrollStrategy.scrolledIndexChange.subscribe(function(e){return Promise.resolve().then(function(){return l.ngZone.run(function(){return t.next(e)})})})}),l.renderedRangeStream=l._renderedRangeSubject,l._totalContentSize=0,l._totalContentWidth="",l._totalContentHeight="",l._renderedRange={start:0,end:0},l._dataLength=0,l._viewportSize=0,l._renderedContentOffset=0,l._renderedContentOffsetNeedsRewrite=!1,l._isChangeDetectionPending=!1,l._runAfterChangeDetection=[],l._viewportChanges=b.w.EMPTY,l._viewportChanges=u.change().subscribe(function(){l.checkViewportSize()}),l}return y(i,[{key:"orientation",get:function(){return this._orientation},set:function(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}},{key:"ngOnInit",value:function(){var t=this;n(h(i.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._measureViewportSize(),t._scrollStrategy.attach(t),t.elementScrolled().pipe((0,x.O)(null),(0,C.e)(0,j)).subscribe(function(){return t._scrollStrategy.onContentScrolled()}),t._markChangeDetectionNeeded()})})}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),n(h(i.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(t){var e=this;this.ngZone.runOutsideAngular(function(){e._forOf=t,e._forOf.dataStream.pipe((0,E.R)(e._detachedSubject)).subscribe(function(t){var i=t.length;i!==e._dataLength&&(e._dataLength=i,e._scrollStrategy.onDataLengthChanged()),e._doChangeDetection()})})}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(t){var e,i,n=this;((e=this._renderedRange).start!=(i=t).start||e.end!=i.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(function(){return n._scrollStrategy.onContentRendered()}))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",n="horizontal"==this.orientation,r=n?"X":"Y",o="translate".concat(r,"(").concat(Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*t),"px)");this._renderedContentOffset=t,"to-end"===i&&(o+=" translate".concat(r,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(function(){e._renderedContentOffsetNeedsRewrite?(e._renderedContentOffset-=e.measureRenderedContentSize(),e._renderedContentOffsetNeedsRewrite=!1,e.setRenderedContentOffset(e._renderedContentOffset)):e._scrollStrategy.onRenderedOffsetChanged()}))}},{key:"scrollToOffset",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",i={behavior:e};"horizontal"===this.orientation?i.start=t:i.top=t,this.scrollTo(i)}},{key:"scrollToIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(t,e)}},{key:"measureScrollOffset",value:function(t){return n(h(i.prototype),"measureScrollOffset",this).call(this,t||("horizontal"===this.orientation?"start":"top"))}},{key:"measureRenderedContentSize",value:function(){var t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}},{key:"measureRangeSize",value:function(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(t){var e=this;t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._doChangeDetection()})}))}},{key:"_doChangeDetection",value:function(){var t=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(function(){return t._changeDetectorRef.markForCheck()});var e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var i,n=f(e);try{for(n.s();!(i=n.n()).done;){(0,i.value)()}}catch(r){n.e(r)}finally{n.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}}]),i}(U);return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(u.R0b),u.Y36(z,8),u.Y36(D.Is,8),u.Y36(q),u.Y36(H))},t.\u0275cmp=u.Xpm({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var i;(1&t&&u.Gf(L,7),2&t)&&(u.iGM(i=u.CRH())&&(e._contentWrapper=i.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&u.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[u._Bn([{provide:U,useExisting:t}]),u.qOj],ngContentSelectors:N,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(u.F$t(),u.TgZ(0,"div",0,1),u.Hsn(2),u.qZA(),u._UZ(3,"div",2)),2&t&&(u.xp6(3),u.Udp("width",e._totalContentWidth)("height",e._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}),t}();function Y(t,e,i){if(!i.getBoundingClientRect)return 0;var n=i.getBoundingClientRect();return"horizontal"===t?"start"===e?n.left:n.right:"start"===e?n.top:n.bottom}var V=function(){var t=function(){function t(e,i,n,o,a,s){var u=this;v(this,t),this._viewContainerRef=e,this._template=i,this._differs=n,this._viewRepeater=o,this._viewport=a,this.viewChange=new c.xQ,this._dataSourceChanges=new c.xQ,this.dataStream=this._dataSourceChanges.pipe((0,x.O)(null),function(t){return t.lift(new A)},(0,R.w)(function(t){var e=r(t,2),i=e[0],n=e[1];return u._changeDataSource(i,n)}),(0,I.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new c.xQ,this.dataStream.subscribe(function(t){u._data=t,u._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,E.R)(this._destroyed)).subscribe(function(t){u._renderedRange=t,s.run(function(){return u.viewChange.next(u._renderedRange)}),u._onRenderedDataChange()}),this._viewport.attach(this)}return y(t,[{key:"cdkVirtualForOf",get:function(){return this._cdkVirtualForOf},set:function(t){this._cdkVirtualForOf=t,(0,M.Z9)(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new M.P3((0,w.b)(t)?t:Array.from(t||[])))}},{key:"cdkVirtualForTrackBy",get:function(){return this._cdkVirtualForTrackBy},set:function(t){var e=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?function(i,n){return t(i+(e._renderedRange?e._renderedRange.start:0),n)}:void 0}},{key:"cdkVirtualForTemplate",set:function(t){t&&(this._needsUpdate=!0,this._template=t)}},{key:"cdkVirtualForTemplateCacheSize",get:function(){return this._viewRepeater.viewCacheSize},set:function(t){this._viewRepeater.viewCacheSize=(0,a.su)(t)}},{key:"measureRangeSize",value:function(t,e){if(t.start>=t.end)return 0;for(var i,n,r=t.start-this._renderedRange.start,o=t.end-t.start,a=0;a-1;u--){var c=this._viewContainerRef.get(u+r);if(c&&c.rootNodes.length){n=c.rootNodes[c.rootNodes.length-1];break}}return i&&n?Y(e,"end",n)-Y(e,"start",i):0}},{key:"ngDoCheck",value:function(){if(this._differ&&this._needsUpdate){var t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}},{key:"ngOnDestroy",value:function(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}},{key:"_onRenderedDataChange",value:function(){var t=this;this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(function(e,i){return t.cdkVirtualForTrackBy?t.cdkVirtualForTrackBy(e,i):i})),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):(0,l.of)()}},{key:"_updateContext",value:function(){for(var t=this._data.length,e=this._viewContainerRef.length;e--;){var i=this._viewContainerRef.get(e);i.context.index=this._renderedRange.start+e,i.context.count=t,this._updateComputedContextProperties(i.context),i.detectChanges()}}},{key:"_applyChanges",value:function(t){var e=this;this._viewRepeater.applyChanges(t,this._viewContainerRef,function(t,i,n){return e._getEmbeddedViewArgs(t,n)},function(t){return t.item}),t.forEachIdentityChange(function(t){e._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});for(var i=this._data.length,n=this._viewContainerRef.length;n--;){var r=this._viewContainerRef.get(n);r.context.index=this._renderedRange.start+n,r.context.count=i,this._updateComputedContextProperties(r.context)}}},{key:"_updateComputedContextProperties",value:function(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}},{key:"_getEmbeddedViewArgs",value:function(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4),u.Y36(M.k),u.Y36(G,4),u.Y36(u.R0b))},t.\u0275dir=u.lG2({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[u._Bn([{provide:M.k,useClass:M.eX}])]}),t}(),K=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({}),t}(),J=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[D.vT,O.ud,K],D.vT,K]}),t}()},10901:function(t,e,i){"use strict";i.d(e,{Lq:function(){return f},IC:function(){return p},Ky:function(){return g}});var n=i(11353),r=i(31572),o=i(19861),a=i(70653),s=i(55959),u=i(87254),c=i(30810),l=i(25416),h=i(61511),d=(0,n.i$)({passive:!0}),f=function(){var t=function(){function t(e,i){v(this,t),this._platform=e,this._ngZone=i,this._monitoredElements=new Map}return y(t,[{key:"monitor",value:function(t){var e=this;if(!this._platform.isBrowser)return a.E;var i=(0,o.fI)(t),n=this._monitoredElements.get(i);if(n)return n.subject;var r=new s.xQ,u="cdk-text-field-autofilled",c=function(t){"cdk-text-field-autofill-start"!==t.animationName||i.classList.contains(u)?"cdk-text-field-autofill-end"===t.animationName&&i.classList.contains(u)&&(i.classList.remove(u),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!1})})):(i.classList.add(u),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){i.addEventListener("animationstart",c,d),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:function(){i.removeEventListener("animationstart",c,d)}}),r}},{key:"stopMonitoring",value:function(t){var e=(0,o.fI)(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}},{key:"ngOnDestroy",value:function(){var t=this;this._monitoredElements.forEach(function(e,i){return t.stopMonitoring(i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(n.t4),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(n.t4),r.LFG(r.R0b))},token:t,providedIn:"root"}),t}(),p=function(){var t=function(){function t(e,i,n,r){v(this,t),this._elementRef=e,this._platform=i,this._ngZone=n,this._destroyed=new s.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=r,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=i.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}return y(t,[{key:"minRows",get:function(){return this._minRows},set:function(t){this._minRows=(0,o.su)(t),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(t){this._maxRows=(0,o.su)(t),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(t){t=(0,o.Ig)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}},{key:"placeholder",get:function(){return this._textareaElement.placeholder},set:function(t){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=t,this._cacheTextareaPlaceholderHeight()}},{key:"_setMinHeight",value:function(){var t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}},{key:"_setMaxHeight",value:function(){var t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}},{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){var e=t._getWindow();(0,u.R)(e,"resize").pipe((0,c.e)(16),(0,l.R)(t._destroyed)).subscribe(function(){return t.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_cacheTextareaLineHeight",value:function(){if(!this._cachedLineHeight){var t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}}},{key:"_measureScrollHeight",value:function(){this._textareaElement.classList.add(this._measuringClass);var t=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),t}},{key:"_cacheTextareaPlaceholderHeight",value:function(){if(this._isViewInited&&null==this._cachedPlaceholderHeight)if(this.placeholder){var t=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=t}else this._cachedPlaceholderHeight=0}},{key:"ngDoCheck",value:function(){this._platform.isBrowser&&this.resizeToFitContent()}},{key:"resizeToFitContent",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedLineHeight)){var i=this._elementRef.nativeElement,n=i.value;if(e||this._minRows!==this._previousMinRows||n!==this._previousValue){var r=this._measureScrollHeight(),o=Math.max(r,this._cachedPlaceholderHeight||0);i.style.height="".concat(o,"px"),this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return t._scrollToCaretPosition(i)}):setTimeout(function(){return t._scrollToCaretPosition(i)})}),this._previousValue=n,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(t){var e=t.selectionStart,i=t.selectionEnd,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(n.t4),r.Y36(r.R0b),r.Y36(h.K0,8))},t.\u0275dir=r.lG2({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&r.NdJ("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),t}(),g=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[n.ud]]}),t}()},71709:function(t,e,i){"use strict";i.d(e,{HI:function(){return C},Xx:function(){return O},_0:function(){return R},nZ:function(){return L},Hs:function(){return I},rO:function(){return x},cu:function(){return S},XJ:function(){return D},Ud:function(){return M},C2:function(){return k},VY:function(){return T}});var r=i(4230),a=i(4710),u=i(55959),c=i(78512),l=i(40878),p=i(90611),g=i(43835),m=i(25416),b=i(31572),w=i(19861),_=i(22526),A=function(){function t(){v(this,t),this.expansionModel=new r.Ov(!0)}return y(t,[{key:"toggle",value:function(t){this.expansionModel.toggle(this._trackByValue(t))}},{key:"expand",value:function(t){this.expansionModel.select(this._trackByValue(t))}},{key:"collapse",value:function(t){this.expansionModel.deselect(this._trackByValue(t))}},{key:"isExpanded",value:function(t){return this.expansionModel.isSelected(this._trackByValue(t))}},{key:"toggleDescendants",value:function(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(t){var e,i=this,n=[t];n.push.apply(n,d(this.getDescendants(t))),(e=this.expansionModel).select.apply(e,d(n.map(function(t){return i._trackByValue(t)})))}},{key:"collapseDescendants",value:function(t){var e,i=this,n=[t];n.push.apply(n,d(this.getDescendants(t))),(e=this.expansionModel).deselect.apply(e,d(n.map(function(t){return i._trackByValue(t)})))}},{key:"_trackByValue",value:function(t){return this.trackBy?this.trackBy(t):t}}]),t}(),k=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this)).getLevel=t,o.isExpandable=n,o.options=r,o.options&&(o.trackBy=o.options.trackBy),o}return y(i,[{key:"getDescendants",value:function(t){for(var e=[],i=this.dataNodes.indexOf(t)+1;i1&&void 0!==arguments[1]?arguments[1]:this._dataDiffer,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._nodeOutlet.viewContainer,r=arguments.length>3?arguments[3]:void 0,o=i.diff(t);o&&(o.forEachOperation(function(i,o,a){if(null==i.previousIndex)e.insertNode(t[a],a,n,r);else if(null==a)n.remove(o),e._levels.delete(i.item);else{var s=n.get(o);n.move(s,a)}}),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(function(i){return i.when&&i.when(e,t)})||this._defaultNodeDef}},{key:"insertNode",value:function(t,e,i,n){var r=this._getNodeDef(t,e),o=new E(t);o.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==n&&this._levels.has(n)?this._levels.get(n)+1:0,this._levels.set(t,o.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,o,e),I.mostRecentTreeNode&&(I.mostRecentTreeNode.data=t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(b.Y36(b.ZZ4),b.Y36(b.sBO))},t.\u0275cmp=b.Xpm({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,i){var n;(1&t&&b.Suo(i,x,5),2&t)&&(b.iGM(n=b.CRH())&&(e._nodeDefs=n))},viewQuery:function(t,e){var i;(1&t&&b.Gf(S,7),2&t)&&(b.iGM(i=b.CRH())&&(e._nodeOutlet=i.first))},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&b.GkF(0,0)},directives:[S],encapsulation:2}),t}(),I=function(){var t=function(){function t(e,i){v(this,t),this._elementRef=e,this._tree=i,this._destroyed=new u.xQ,this._dataChanges=new u.xQ,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}return y(t,[{key:"role",get:function(){return"treeitem"},set:function(t){this._elementRef.nativeElement.setAttribute("role",t)}},{key:"data",get:function(){return this._data},set:function(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}},{key:"isExpanded",get:function(){return this._tree.treeControl.isExpanded(this._data)}},{key:"_setExpanded",value:function(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded","".concat(t))}},{key:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}},{key:"ngOnInit",value:function(){this._parentNodeAriaLevel=function(t){for(var e,i=t.parentElement;i&&(e=void 0,!(null==(e=i.classList)?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")));)i=i.parentElement;return i?i.classList.contains("cdk-nested-tree-node")?(0,w.su)(i.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level","".concat(this.level+1))}},{key:"ngDoCheck",value:function(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}},{key:"ngOnDestroy",value:function(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_setRoleFromData",value:function(){this.role="treeitem"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(b.Y36(b.SBq),b.Y36(R))},t.\u0275dir=b.lG2({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t}();var O=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t,n))._elementRef=t,o._tree=n,o._differs=r,o._elementRef.nativeElement.classList.add("cdk-nested-tree-node"),o}return y(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);var e=this._tree.treeControl.getChildren(this.data);Array.isArray(e)?this.updateChildrenNodes(e):(0,a.b)(e)&&e.pipe((0,m.R)(this._destroyed)).subscribe(function(e){return t.updateChildrenNodes(e)}),this.nodeOutlet.changes.pipe((0,m.R)(this._destroyed)).subscribe(function(){return t.updateChildrenNodes()})}},{key:"ngOnInit",value:function(){n(h(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){n(h(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){this._clear(),n(h(i.prototype),"ngOnDestroy",this).call(this)}},{key:"updateChildrenNodes",value:function(t){var e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}},{key:"_clear",value:function(){var t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}},{key:"_getNodeOutlet",value:function(){var t=this,e=this.nodeOutlet;return e&&e.find(function(e){return!e._node||e._node===t})}}]),i}(I);return t.\u0275fac=function(e){return new(e||t)(b.Y36(b.SBq),b.Y36(R),b.Y36(b.ZZ4))},t.\u0275dir=b.lG2({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,i){var n;(1&t&&b.Suo(i,S,5),2&t)&&(b.iGM(n=b.CRH())&&(e.nodeOutlet=n))},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[b._Bn([{provide:I,useExisting:t},{provide:C,useExisting:t}]),b.qOj]}),t}(),P=/([A-Za-z%]+)$/,D=function(){var t=function(){function t(e,i,n,r){var o=this;v(this,t),this._treeNode=e,this._tree=i,this._element=n,this._dir=r,this._destroyed=new u.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe((0,m.R)(this._destroyed)).subscribe(function(){return o._setPadding(!0)}),e._dataChanges.subscribe(function(){return o._setPadding()})}return y(t,[{key:"level",get:function(){return this._level},set:function(t){this._setLevelInput(t)}},{key:"indent",get:function(){return this._indent},set:function(t){this._setIndentInput(t)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_paddingIndent",value:function(){var t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?"".concat(e*this._indent).concat(this.indentUnits):null}},{key:"_setPadding",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._paddingIndent();if(e!==this._currentPadding||t){var i=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",r="paddingLeft"===n?"paddingRight":"paddingLeft";i.style[n]=e||"",i.style[r]="",this._currentPadding=e}}},{key:"_setLevelInput",value:function(t){this._level=(0,w.su)(t,null),this._setPadding()}},{key:"_setIndentInput",value:function(t){var e=t,i="px";if("string"==typeof t){var n=t.split(P);e=n[0],i=n[1]||i}this.indentUnits=i,this._indent=(0,w.su)(e),this._setPadding()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(b.Y36(I),b.Y36(R),b.Y36(b.SBq),b.Y36(_.Is,8))},t.\u0275dir=b.lG2({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t}(),M=function(){var t=function(){function t(e,i){v(this,t),this._tree=e,this._treeNode=i,this._recursive=!1}return y(t,[{key:"recursive",get:function(){return this._recursive},set:function(t){this._recursive=(0,w.Ig)(t)}},{key:"_toggle",value:function(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(b.Y36(R),b.Y36(I))},t.\u0275dir=b.lG2({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&b.NdJ("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t}(),L=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=b.oAB({type:t}),t.\u0275inj=b.cJS({}),t}()},61511:function(t,e,i){"use strict";i.d(e,{mr:function(){return E},Ov:function(){return Pt},ez:function(){return Lt},K0:function(){return d},uU:function(){return Mt},Do:function(){return R},V_:function(){return m},Ye:function(){return I},S$:function(){return C},mk:function(){return gt},sg:function(){return mt},O5:function(){return bt},PC:function(){return St},RF:function(){return kt},n9:function(){return Tt},ED:function(){return Ct},tP:function(){return Et},b0:function(){return x},lw:function(){return p},gd:function(){return Dt},EM:function(){return Zt},JF:function(){return Ut},p6:function(){return X},NF:function(){return zt},PM:function(){return Ft},w_:function(){return h},bD:function(){return Nt},q:function(){return c},Mx:function(){return pt},HT:function(){return l}});var n=i(31572),a=null;function c(){return a}function l(t){a||(a=t)}var h=function t(){v(this,t)},d=new n.OlP("DocumentToken"),p=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:g,token:t,providedIn:"platform"}),t}();function g(){return(0,n.LFG)(b)}var m=new n.OlP("Location Initialized"),b=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this))._doc=t,n._init(),n}return y(i,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return c().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=c().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=c().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,i){w()?this._history.pushState(t,e,i):this.location.hash=i}},{key:"replaceState",value:function(t,e,i){w()?this._history.replaceState(t,e,i):this.location.hash=i}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),i}(p);return t.\u0275fac=function(e){return new(e||t)(n.LFG(d))},t.\u0275prov=(0,n.Yz7)({factory:_,token:t,providedIn:"platform"}),t}();function w(){return!!window.history.pushState}function _(){return new b((0,n.LFG)(d))}function A(t,e){if(0==t.length)return e;if(0==e.length)return t;var i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function k(t){var e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function T(t){return t&&"?"!==t[0]?"?"+t:t}var C=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:S,token:t,providedIn:"root"}),t}();function S(t){var e=(0,n.LFG)(d).location;return new x((0,n.LFG)(p),e&&e.origin||"")}var E=new n.OlP("appBaseHref"),x=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;if(v(this,i),(r=e.call(this))._platformLocation=t,r._removeListenerFns=[],null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,u(r)}return y(i,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return A(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+T(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?"".concat(e).concat(i):e}},{key:"pushState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+T(n));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+T(n));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,i)}}]),i}(C);return t.\u0275fac=function(e){return new(e||t)(n.LFG(p),n.LFG(E,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t}(),R=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this))._platformLocation=t,r._baseHref="",r._removeListenerFns=[],null!=n&&(r._baseHref=n),r}return y(i,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=A(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+T(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,i,n){var r=this.prepareExternalUrl(i+T(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,i)}}]),i}(C);return t.\u0275fac=function(e){return new(e||t)(n.LFG(p),n.LFG(E,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t}(),I=function(){var t=function(){function t(e,i){var r=this;v(this,t),this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=k(P(o)),this._platformStrategy.onPopState(function(t){r._subject.emit({url:r.path(!0),pop:!0,state:t.state,type:t.type})})}return y(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+T(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,P(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+T(e)),i)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+T(e)),i)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,i)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(i){return i(t,e)})}},{key:"subscribe",value:function(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.LFG(C),n.LFG(p))},t.normalizeQueryParams=T,t.joinWithSlash=A,t.stripTrailingSlash=k,t.\u0275prov=(0,n.Yz7)({factory:O,token:t,providedIn:"root"}),t}();function O(){return new I((0,n.LFG)(C),(0,n.LFG)(p))}function P(t){return t.replace(/\/index.html$/,"")}var D=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),M=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),L=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),N=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),z=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function F(t,e){return j((0,n.cg1)(t)[n.wAp.DateFormat],e)}function Z(t,e){return j((0,n.cg1)(t)[n.wAp.TimeFormat],e)}function B(t,e){return j((0,n.cg1)(t)[n.wAp.DateTimeFormat],e)}function q(t,e){var i=(0,n.cg1)(t),r=i[n.wAp.NumberSymbols][e];if(void 0===r){if(e===z.CurrencyDecimal)return i[n.wAp.NumberSymbols][z.Decimal];if(e===z.CurrencyGroup)return i[n.wAp.NumberSymbols][z.Group]}return r}var U=n.kL8;function H(t){if(!t[n.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[n.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function j(t,e){for(var i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function G(t){var e=r(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var Y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,V={},K=/((?:[^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]*)/,J=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Q=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),W=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function X(t,e,i,n){var o=function(t){if(ht(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){var e=r(t.split("-").map(function(t){return+t}),3),i=e[0],n=e[1],o=void 0===n?1:n,a=e[2];return $(i,o-1,void 0===a?1:a)}var s,u=parseFloat(t);if(!isNaN(t-u))return new Date(u);if(s=t.match(Y))return function(t){var e=new Date(0),i=0,n=0,r=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var a=Number(t[4]||0)-i,s=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,a,s,u,c),e}(s)}var c=new Date(t);if(!ht(c))throw new Error('Unable to convert "'.concat(t,'" into a date'));return c}(t);e=tt(i,e)||e;for(var a,s=[];e;){if(!(a=K.exec(e))){s.push(e);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;e=u}var c=o.getTimezoneOffset();n&&(c=lt(n,c),o=function(t,e,i){var n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(lt(e,n)-n))}(o,n));var l="";return s.forEach(function(t){var e=function(t){if(ct[t])return ct[t];var e;switch(t){case"G":case"GG":case"GGG":e=rt(W.Eras,L.Abbreviated);break;case"GGGG":e=rt(W.Eras,L.Wide);break;case"GGGGG":e=rt(W.Eras,L.Narrow);break;case"y":e=nt(Q.FullYear,1,0,!1,!0);break;case"yy":e=nt(Q.FullYear,2,0,!0,!0);break;case"yyy":e=nt(Q.FullYear,3,0,!1,!0);break;case"yyyy":e=nt(Q.FullYear,4,0,!1,!0);break;case"Y":e=ut(1);break;case"YY":e=ut(2,!0);break;case"YYY":e=ut(3);break;case"YYYY":e=ut(4);break;case"M":case"L":e=nt(Q.Month,1,1);break;case"MM":case"LL":e=nt(Q.Month,2,1);break;case"MMM":e=rt(W.Months,L.Abbreviated);break;case"MMMM":e=rt(W.Months,L.Wide);break;case"MMMMM":e=rt(W.Months,L.Narrow);break;case"LLL":e=rt(W.Months,L.Abbreviated,M.Standalone);break;case"LLLL":e=rt(W.Months,L.Wide,M.Standalone);break;case"LLLLL":e=rt(W.Months,L.Narrow,M.Standalone);break;case"w":e=st(1);break;case"ww":e=st(2);break;case"W":e=st(1,!0);break;case"d":e=nt(Q.Date,1);break;case"dd":e=nt(Q.Date,2);break;case"c":case"cc":e=nt(Q.Day,1);break;case"ccc":e=rt(W.Days,L.Abbreviated,M.Standalone);break;case"cccc":e=rt(W.Days,L.Wide,M.Standalone);break;case"ccccc":e=rt(W.Days,L.Narrow,M.Standalone);break;case"cccccc":e=rt(W.Days,L.Short,M.Standalone);break;case"E":case"EE":case"EEE":e=rt(W.Days,L.Abbreviated);break;case"EEEE":e=rt(W.Days,L.Wide);break;case"EEEEE":e=rt(W.Days,L.Narrow);break;case"EEEEEE":e=rt(W.Days,L.Short);break;case"a":case"aa":case"aaa":e=rt(W.DayPeriods,L.Abbreviated);break;case"aaaa":e=rt(W.DayPeriods,L.Wide);break;case"aaaaa":e=rt(W.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":e=rt(W.DayPeriods,L.Abbreviated,M.Standalone,!0);break;case"bbbb":e=rt(W.DayPeriods,L.Wide,M.Standalone,!0);break;case"bbbbb":e=rt(W.DayPeriods,L.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":e=rt(W.DayPeriods,L.Abbreviated,M.Format,!0);break;case"BBBB":e=rt(W.DayPeriods,L.Wide,M.Format,!0);break;case"BBBBB":e=rt(W.DayPeriods,L.Narrow,M.Format,!0);break;case"h":e=nt(Q.Hours,1,-12);break;case"hh":e=nt(Q.Hours,2,-12);break;case"H":e=nt(Q.Hours,1);break;case"HH":e=nt(Q.Hours,2);break;case"m":e=nt(Q.Minutes,1);break;case"mm":e=nt(Q.Minutes,2);break;case"s":e=nt(Q.Seconds,1);break;case"ss":e=nt(Q.Seconds,2);break;case"S":e=nt(Q.FractionalSeconds,1);break;case"SS":e=nt(Q.FractionalSeconds,2);break;case"SSS":e=nt(Q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ot(J.Short);break;case"ZZZZZ":e=ot(J.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ot(J.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ot(J.Long);break;default:return null}return ct[t]=e,e}(t);l+=e?e(o,i,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function $(t,e,i){var n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function tt(t,e){var i=function(t){return(0,n.cg1)(t)[n.wAp.LocaleId]}(t);if(V[i]=V[i]||{},V[i][e])return V[i][e];var r="";switch(e){case"shortDate":r=F(t,N.Short);break;case"mediumDate":r=F(t,N.Medium);break;case"longDate":r=F(t,N.Long);break;case"fullDate":r=F(t,N.Full);break;case"shortTime":r=Z(t,N.Short);break;case"mediumTime":r=Z(t,N.Medium);break;case"longTime":r=Z(t,N.Long);break;case"fullTime":r=Z(t,N.Full);break;case"short":var o=tt(t,"shortTime"),a=tt(t,"shortDate");r=et(B(t,N.Short),[o,a]);break;case"medium":var s=tt(t,"mediumTime"),u=tt(t,"mediumDate");r=et(B(t,N.Medium),[s,u]);break;case"long":var c=tt(t,"longTime"),l=tt(t,"longDate");r=et(B(t,N.Long),[c,l]);break;case"full":var h=tt(t,"fullTime"),d=tt(t,"fullDate");r=et(B(t,N.Full),[h,d])}return r&&(V[i][e]=r),r}function et(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function it(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=i));for(var a=String(t);a.length2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,u=function(t,e){switch(t){case Q.FullYear:return e.getFullYear();case Q.Month:return e.getMonth();case Q.Date:return e.getDate();case Q.Hours:return e.getHours();case Q.Minutes:return e.getMinutes();case Q.Seconds:return e.getSeconds();case Q.FractionalSeconds:return e.getMilliseconds();case Q.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,o);if((i>0||u>-i)&&(u+=i),t===Q.Hours)0===u&&-12===i&&(u=12);else if(t===Q.FractionalSeconds)return s=e,it(u,3).substr(0,s);var c=q(a,z.MinusSign);return it(u,e,c,n,r)}}function rt(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M.Format,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,s){return function(t,e,i,o,a,s){switch(i){case W.Months:return function(t,e,i){var r=(0,n.cg1)(t),o=j([r[n.wAp.MonthsFormat],r[n.wAp.MonthsStandalone]],e);return j(o,i)}(e,a,o)[t.getMonth()];case W.Days:return function(t,e,i){var r=(0,n.cg1)(t),o=j([r[n.wAp.DaysFormat],r[n.wAp.DaysStandalone]],e);return j(o,i)}(e,a,o)[t.getDay()];case W.DayPeriods:var u=t.getHours(),c=t.getMinutes();if(s){var l=function(t){var e=(0,n.cg1)(t);return H(e),(e[n.wAp.ExtraData][2]||[]).map(function(t){return"string"==typeof t?G(t):[G(t[0]),G(t[1])]})}(e),h=function(t,e,i){var r=(0,n.cg1)(t);H(r);var o=j([r[n.wAp.ExtraData][0],r[n.wAp.ExtraData][1]],e)||[];return j(o,i)||[]}(e,a,o),d=l.findIndex(function(t){if(Array.isArray(t)){var e=r(t,2),i=e[0],n=e[1],o=u>=i.hours&&c>=i.minutes,a=u0?Math.floor(r/60):Math.ceil(r/60);switch(t){case J.Short:return(r>=0?"+":"")+it(a,2,o)+it(Math.abs(r%60),2,o);case J.ShortGMT:return"GMT"+(r>=0?"+":"")+it(a,1,o);case J.Long:return"GMT"+(r>=0?"+":"")+it(a,2,o)+":"+it(Math.abs(r%60),2,o);case J.Extended:return 0===n?"Z":(r>=0?"+":"")+it(a,2,o)+":"+it(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function at(t){return $(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function st(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){var r,o,a;if(e){var s=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,u=i.getDate();r=1+Math.floor((u+s)/7)}else{var c=at(i),l=(o=c.getFullYear(),a=$(o,0,1).getDay(),$(o,0,1+(a<=4?4:11)-a)),h=c.getTime()-l.getTime();r=1+Math.round(h/6048e5)}return it(r,t,q(n,z.MinusSign))}}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){return it(at(i).getFullYear(),t,q(n,z.MinusSign),e)}}var ct={};function lt(t,e){t=t.replace(/:/g,"");var i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function ht(t){return t instanceof Date&&!isNaN(t.valueOf())}var dt=function t(){v(this,t)},ft=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this)).locale=t,n}return y(i,[{key:"getPluralCategory",value:function(t,e){switch(U(e||this.locale)(t)){case D.Zero:return"zero";case D.One:return"one";case D.Two:return"two";case D.Few:return"few";case D.Many:return"many";default:return"other"}}}]),i}(dt);return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.soG))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t}();function pt(t,e){e=encodeURIComponent(e);var i,n=f(t.split(";"));try{for(n.s();!(i=n.n()).done;){var o=i.value,a=o.indexOf("="),s=r(-1==a?[o,""]:[o.slice(0,a),o.slice(a+1)],2),u=s[0],c=s[1];if(u.trim()===e)return decodeURIComponent(c)}}catch(l){n.e(l)}finally{n.f()}return null}var gt=function(){var t=function(){function t(e,i,n,r){v(this,t),this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return y(t,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,n.AaK)(t.item)));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(i){return e._toggleClass(i,!!t[i])}))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))}},{key:"_toggleClass",value:function(t,e){var i=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?i._renderer.addClass(i._ngEl.nativeElement,t):i._renderer.removeClass(i._ngEl.nativeElement,t)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),vt=function(){function t(e,i,n,r){v(this,t),this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}return y(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),mt=function(){var t=function(){function t(e,i,n){v(this,t),this._viewContainer=e,this._template=i,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return y(t,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'. NgFor only supports binding to Iterables such as Arrays."))}}var e;if(this._differ){var i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}},{key:"_applyChanges",value:function(t){var e=this,i=[];t.forEachOperation(function(t,n,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new vt(null,e._ngForOf,-1,-1),null===r?void 0:r),a=new yt(t,o);i.push(a)}else if(null==r)e._viewContainer.remove(null===n?void 0:n);else if(null!==n){var s=e._viewContainer.get(n);e._viewContainer.move(s,r);var u=new yt(t,s);i.push(u)}});for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"mediumDate",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==e||""===e||e!=e)return null;try{return X(e,i,r||this.locale,n)}catch(o){throw xt(t,o.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.soG,16))},t.\u0275pipe=n.Yjl({name:"date",type:t,pure:!0}),t}(),Lt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:dt,useClass:ft}]}),t}(),Nt="browser";function zt(t){return t===Nt}function Ft(t){return"server"===t}var Zt=function(){var t=function t(){v(this,t)};return t.\u0275prov=(0,n.Yz7)({token:t,providedIn:"root",factory:function(){return new Bt((0,n.LFG)(d),window)}}),t}(),Bt=function(){function t(e,i){v(this,t),this.document=e,this.window=i,this.offset=function(){return[0,0]}}return y(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;r;){var o=r.shadowRoot;if(o){var a=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(a)return a}r=n.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],n-r[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=qt(this.window.history)||qt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(e){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function qt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var Ut=function t(){v(this,t)}},29063:function(t,e,i){"use strict";i.d(e,{TP:function(){return N},eN:function(){return M},JF:function(){return V},WM:function(){return m},LE:function(){return A},Zn:function(){return O}});var n=i(61511),a=i(31572),u=i(40878),c=i(48318),l=i(436),h=i(43835),f=i(79996),p=function t(){v(this,t)},g=function t(){v(this,t)},m=function(){function t(e){var i=this;v(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){i.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var n=t.slice(0,e),r=n.toLowerCase(),o=t.slice(e+1).trim();i.maybeSetNormalizedName(n,r),i.headers.has(r)?i.headers.get(r).push(o):i.headers.set(r,[o])}})}:function(){i.headers=new Map,Object.keys(e).forEach(function(t){var n=e[t],r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(i.headers.set(r,n),i.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return y(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(i){e.headers.set(i,t.headers.get(i)),e.normalizedNames.set(i,t.normalizedNames.get(i))})}},{key:"clone",value:function(e){var i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);var n=("a"===t.op?this.headers.get(e):void 0)||[];n.push.apply(n,d(i)),this.headers.set(e,n);break;case"d":var r=t.value;if(r){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===r.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(i){return t(e.normalizedNames.get(i),e.headers.get(i))})}}]),t}(),b=function(){function t(){v(this,t)}return y(t,[{key:"encodeKey",value:function(t){return w(t)}},{key:"encodeValue",value:function(t){return w(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function w(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function _(t){return"".concat(t)}var A=function(){function t(){var e,i,n,o=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(v(this,t),this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new b,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=a.fromString,i=this.encoder,n=new Map,e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(t){var e=t.indexOf("="),o=r(-1==e?[i.decodeKey(t),""]:[i.decodeKey(t.slice(0,e)),i.decodeValue(t.slice(e+1))],2),a=o[0],s=o[1],u=n.get(a)||[];u.push(s),n.set(a,u)}),n)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(function(t){var e=a.fromObject[t];o.map.set(t,Array.isArray(e)?e:[e])})):this.map=null}return y(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(i){var n=t[i];Array.isArray(n)?n.forEach(function(t){e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var i=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return i+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var i=("a"===e.op?t.map.get(e.param):void 0)||[];i.push(_(e.value)),t.map.set(e.param,i);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var n=t.map.get(e.param)||[],r=n.indexOf(_(e.value));-1!==r&&n.splice(r,1),n.length>0?t.map.set(e.param,n):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),k=function(){function t(){v(this,t),this.map=new Map}return y(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function T(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function C(t){return"undefined"!=typeof Blob&&t instanceof Blob}function S(t){return"undefined"!=typeof FormData&&t instanceof FormData}var E=function(){function t(e,i,n,r){var o;if(v(this,t),this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new m),this.context||(this.context=new k),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=i;else{var s=i.indexOf("?");this.urlWithParams=i+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=i.method||this.method,r=i.url||this.url,o=i.responseType||this.responseType,a=void 0!==i.body?i.body:this.body,s=void 0!==i.withCredentials?i.withCredentials:this.withCredentials,u=void 0!==i.reportProgress?i.reportProgress:this.reportProgress,c=i.headers||this.headers,l=i.params||this.params,h=null!==(e=i.context)&&void 0!==e?e:this.context;return void 0!==i.setHeaders&&(c=Object.keys(i.setHeaders).reduce(function(t,e){return t.set(e,i.setHeaders[e])},c)),i.setParams&&(l=Object.keys(i.setParams).reduce(function(t,e){return t.set(e,i.setParams[e])},l)),new t(n,r,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),t}(),x=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),R=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";v(this,t),this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},I=function(t){o(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(this,i),(t=e.call(this,n)).type=x.ResponseHeader,t}return y(i,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),i}(R),O=function(t){o(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(this,i),(t=e.call(this,n)).type=x.Response,t.body=void 0!==n.body?n.body:null,t}return y(i,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),i}(R),P=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),n.error=t.error||null,n}return i}(R);function D(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var M=function(){var t=function(){function t(e){v(this,t),this.handler=e}return y(t,[{key:"request",value:function(t,e){var i,n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof E?i=t:(n=a.headers instanceof m?a.headers:new m(a.headers),a.params&&(r=a.params instanceof A?a.params:new A({fromObject:a.params})),i=new E(t,e,void 0!==a.body?a.body:null,{headers:n,context:a.context,params:r,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials}));var s=(0,u.of)(i).pipe((0,l.b)(function(t){return o.handler.handle(t)}));if(t instanceof E||"events"===a.observe)return s;var c=s.pipe((0,h.h)(function(t){return t instanceof O}));switch(a.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe((0,f.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe((0,f.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe((0,f.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe((0,f.U)(function(t){return t.body}))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new A).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,D(i,e))}},{key:"post",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,D(i,e))}},{key:"put",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,D(i,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(p))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),L=function(){function t(e,i){v(this,t),this.next=e,this.interceptor=i}return y(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),N=new a.OlP("HTTP_INTERCEPTORS"),z=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),F=/^\)\]\}',?\n/,Z=function(){var t=function(){function t(e){v(this,t),this.xhrFactory=e}return y(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new c.y(function(i){var n=e.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach(function(t,e){return n.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&n.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();n.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new m(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new I({headers:r,status:e,statusText:i,url:o})},c=function(){var e=u(),r=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===n.response?n.responseText:n.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(F,"");try{c=""!==c?JSON.parse(c):null}catch(d){c=h,l&&(l=!1,c={error:d,text:c})}}l?(i.next(new O({body:c,headers:r,status:o,statusText:a,url:s||void 0})),i.complete()):i.error(new P({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,r=new P({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:e||void 0});i.error(r)},h=!1,d=function(e){h||(i.next(u()),h=!0);var r={type:x.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),i.next(r)},f=function(t){var e={type:x.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),i.next(e)};return n.addEventListener("load",c),n.addEventListener("error",l),n.addEventListener("timeout",l),n.addEventListener("abort",l),t.reportProgress&&(n.addEventListener("progress",d),null!==a&&n.upload&&n.upload.addEventListener("progress",f)),n.send(a),i.next({type:x.Sent}),function(){n.removeEventListener("error",l),n.removeEventListener("abort",l),n.removeEventListener("load",c),n.removeEventListener("timeout",l),t.reportProgress&&(n.removeEventListener("progress",d),null!==a&&n.upload&&n.upload.removeEventListener("progress",f)),n.readyState!==n.DONE&&n.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(n.JF))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),B=new a.OlP("XSRF_COOKIE_NAME"),q=new a.OlP("XSRF_HEADER_NAME"),U=function t(){v(this,t)},H=function(){var t=function(){function t(e,i,n){v(this,t),this.doc=e,this.platform=i,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return y(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(n.K0),a.LFG(a.Lbi),a.LFG(B))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),j=function(){var t=function(){function t(e,i){v(this,t),this.tokenService=e,this.headerName=i}return y(t,[{key:"intercept",value:function(t,e){var i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);var n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(U),a.LFG(q))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(e,i){v(this,t),this.backend=e,this.injector=i,this.chain=null}return y(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(N,[]);this.chain=e.reduceRight(function(t,e){return new L(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(g),a.LFG(a.zs3))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),Y=function(){var t=function(){function t(){v(this,t)}return y(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:j,useClass:z}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:B,useValue:e.cookieName}:[],e.headerName?{provide:q,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[j,{provide:N,useExisting:j,multi:!0},{provide:U,useClass:H},{provide:B,useValue:"XSRF-TOKEN"},{provide:q,useValue:"X-XSRF-TOKEN"}]}),t}(),V=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[M,{provide:p,useClass:G},Z,{provide:g,useExisting:Z}],imports:[[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},31572:function(t,a,u){"use strict";u.d(a,{deG:function(){return pi},tb:function(){return gc},AFp:function(){return lc},ip1:function(){return uc},CZH:function(){return cc},hGG:function(){return sl},z2F:function(){return Wc},sBO:function(){return iu},Sil:function(){return Sc},_Vd:function(){return Ss},EJc:function(){return yc},SBq:function(){return Is},qLn:function(){return Mn},vpe:function(){return Uu},gxx:function(){return Co},tBr:function(){return Ni},XFs:function(){return U},OlP:function(){return fi},zs3:function(){return Zo},ZZ4:function(){return Js},aQg:function(){return Ws},soG:function(){return mc},YKP:function(){return hu},v3s:function(){return $c},h0i:function(){return lu},PXZ:function(){return Yc},R0b:function(){return Rc},FiY:function(){return zi},Lbi:function(){return pc},g9A:function(){return fc},n_E:function(){return ju},Qsj:function(){return Ds},FYo:function(){return Ps},JOm:function(){return Bn},Tiy:function(){return Ls},q3G:function(){return Cn},tp0:function(){return Fi},EAV:function(){return il},Rgc:function(){return su},dDg:function(){return Nc},DyG:function(){return gi},GfV:function(){return Ns},s_b:function(){return fu},ifc:function(){return V},eFA:function(){return Vc},G48:function(){return jc},Gpc:function(){return C},f3M:function(){return Oi},X6Q:function(){return Hc},_c5:function(){return ol},VLi:function(){return Fc},c2e:function(){return vc},zSh:function(){return Eo},wAp:function(){return ps},vHH:function(){return x},EiD:function(){return kn},mCW:function(){return an},qzn:function(){return Ki},JVY:function(){return Qi},pB0:function(){return tn},eBb:function(){return Xi},L6k:function(){return Wi},LAX:function(){return $i},cg1:function(){return hs},Tjo:function(){return rl},kL8:function(){return ds},yhl:function(){return Ji},dqk:function(){return X},sIi:function(){return Jo},CqO:function(){return ba},QGY:function(){return ma},F4k:function(){return ya},RDi:function(){return Lt},AaK:function(){return A},z3N:function(){return Vi},qOj:function(){return qo},TTD:function(){return It},_Bn:function(){return ks},xp6:function(){return Sr},uIk:function(){return ia},Tol:function(){return Ba},Gre:function(){return os},ekj:function(){return Za},Suo:function(){return ic},Xpm:function(){return ct},lG2:function(){return mt},Yz7:function(){return P},cJS:function(){return D},oAB:function(){return pt},Yjl:function(){return yt},Y36:function(){return sa},_UZ:function(){return da},GkF:function(){return ga},BQk:function(){return pa},ynx:function(){return fa},qZA:function(){return ha},TgZ:function(){return la},EpF:function(){return va},n5z:function(){return ci},Ikx:function(){return as},LFG:function(){return Ii},$8M:function(){return hi},NdJ:function(){return wa},CRH:function(){return nc},kcU:function(){return xe},O4$:function(){return Ee},oxw:function(){return Ca},ALo:function(){return Lu},lcZ:function(){return Nu},xi3:function(){return zu},Dn7:function(){return Fu},Hsn:function(){return xa},F$t:function(){return Ea},Q6J:function(){return ua},s9C:function(){return Ra},MGl:function(){return Ia},hYB:function(){return Oa},DdM:function(){return Eu},VKq:function(){return xu},WLB:function(){return Ru},kEZ:function(){return Iu},iGM:function(){return tc},MAs:function(){return aa},pYS:function(){return Fn},evT:function(){return zn},Jf7:function(){return Nn},CHM:function(){return te},oJD:function(){return Sn},LSH:function(){return En},B6R:function(){return lt},kYT:function(){return gt},Udp:function(){return Fa},WFA:function(){return _a},d8E:function(){return ss},YNc:function(){return oa},W1O:function(){return sc},_uU:function(){return Xa},Oqu:function(){return $a},hij:function(){return ts},AsE:function(){return es},lnq:function(){return is},HOy:function(){return ns},xDo:function(){return rs},Gf:function(){return ec}});var l=u(55959),p=u(87570),g=u(48318),m=u(31906),b=u(1055);function w(t){for(var e in t)if(t[e]===w)return e;throw Error("Could not find renamed property on target object.")}function _(t,e){for(var i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function A(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(A).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function k(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var T=w({__forward_ref__:w});function C(t){return t.__forward_ref__=C,t.toString=function(){return A(this())},t}function S(t){return E(t)?t():t}function E(t){return"function"==typeof t&&t.hasOwnProperty(T)&&t.__forward_ref__===C}var x=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,n))).code=t,r}return i}(e(Error));function R(t){return"string"==typeof t?t:null==t?"":String(t)}function I(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():R(t)}function O(t,e){var i=e?" in ".concat(e):"";throw new x("201","No provider for ".concat(I(t)," found").concat(i))}function P(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function D(t){return{providers:t.providers||[],imports:t.imports||[]}}function M(t){return L(t,F)||L(t,B)}function L(t,e){return t.hasOwnProperty(e)?t[e]:null}function N(t){return t&&(t.hasOwnProperty(Z)||t.hasOwnProperty(q))?t[Z]:null}var z,F=w({"\u0275prov":w}),Z=w({"\u0275inj":w}),B=w({ngInjectableDef:w}),q=w({ngInjectorDef:w}),U=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function H(t){var e=z;return z=t,e}function j(t,e,i){var n=M(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&U.Optional?null:void 0!==e?e:void O(A(t),"Injector")}function G(t){return{toString:t}.toString()}var Y=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),V=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),K="undefined"!=typeof globalThis&&globalThis,J="undefined"!=typeof window&&window,Q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,W="undefined"!=typeof global&&global,X=K||W||J||Q,$={},tt=[],et=w({"\u0275cmp":w}),it=w({"\u0275dir":w}),nt=w({"\u0275pipe":w}),rt=w({"\u0275mod":w}),ot=w({"\u0275loc":w}),at=w({"\u0275fac":w}),st=w({__NG_ELEMENT_ID__:w}),ut=0;function ct(t){return G(function(){var e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Y.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||V.Emulated,id:"c",styles:t.styles||tt,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,r=t.features,o=t.pipes;return i.id+=ut++,i.inputs=vt(t.inputs,e),i.outputs=vt(t.outputs),r&&r.forEach(function(t){return t(i)}),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(ht)}:null,i.pipeDefs=o?function(){return("function"==typeof o?o():o).map(dt)}:null,i})}function lt(t,e,i){var n=t.\u0275cmp;n.directiveDefs=function(){return e.map(ht)},n.pipeDefs=function(){return i.map(dt)}}function ht(t){return bt(t)||function(t){return t[it]||null}(t)}function dt(t){return function(t){return t[nt]||null}(t)}var ft={};function pt(t){return G(function(){var e={type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ft[t.id]=t.type),e})}function gt(t,e){return G(function(){var i=wt(t,!0);i.declarations=e.declarations||tt,i.imports=e.imports||tt,i.exports=e.exports||tt})}function vt(t,e){if(null==t)return $;var i={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),i[r]=n,e&&(e[r]=o)}return i}var mt=ct;function yt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function bt(t){return t[et]||null}function wt(t,e){var i=t[rt]||null;if(!i&&!0===e)throw new Error("Type ".concat(A(t)," does not have '\u0275mod' property."));return i}function _t(t){return Array.isArray(t)&&"object"==typeof t[1]}function At(t){return Array.isArray(t)&&!0===t[1]}function kt(t){return 0!=(8&t.flags)}function Tt(t){return 2==(2&t.flags)}function Ct(t){return 1==(1&t.flags)}function St(t){return null!==t.template}function Et(t,e){return t.hasOwnProperty(at)?t[at]:null}var xt,Rt=function(){function t(e,i,n){v(this,t),this.previousValue=e,this.currentValue=i,this.firstChange=n}return y(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function It(){return Ot}function Ot(t){return t.type.prototype.ngOnChanges&&(t.setInput=Dt),Pt}function Pt(){var t=Mt(this),e=null==t?void 0:t.current;if(e){var i=t.previous;if(i===$)t.previous=e;else for(var n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Dt(t,e,i,n){var r=Mt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:$,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[i],u=a[s];o[s]=new Rt(u&&u.currentValue,e,a===$),t[n]=e}function Mt(t){return t.__ngSimpleChanges__||null}function Lt(t){xt=t}function Nt(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function zt(t){return!!t.listen}It.ngInherit=!0;var Ft={createRenderer:function(t,e){return Nt()}};function Zt(t){for(;Array.isArray(t);)t=t[0];return t}function Bt(t,e){return Zt(e[t])}function qt(t,e){return Zt(e[t.index])}function Ut(t,e){return t.data[e]}function Ht(t,e){return t[e]}function jt(t,e){var i=e[t];return _t(i)?i:i[0]}function Gt(t){return 4==(4&t[2])}function Yt(t){return 128==(128&t[2])}function Vt(t,e){return null==e?null:t[e]}function Kt(t){t[18]=0}function Jt(t,e){t[5]+=e;for(var i=t,n=t[3];null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}var Qt={lFrame:we(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Wt(){return Qt.bindingsEnabled}function Xt(){return Qt.lFrame.lView}function $t(){return Qt.lFrame.tView}function te(t){return Qt.lFrame.contextLView=t,t[8]}function ee(){for(var t=ie();null!==t&&64===t.type;)t=t.parent;return t}function ie(){return Qt.lFrame.currentTNode}function ne(t,e){var i=Qt.lFrame;i.currentTNode=t,i.isParent=e}function re(){return Qt.lFrame.isParent}function oe(){Qt.lFrame.isParent=!1}function ae(){return Qt.isInCheckNoChangesMode}function se(t){Qt.isInCheckNoChangesMode=t}function ue(){var t=Qt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ce(){return Qt.lFrame.bindingIndex}function le(){return Qt.lFrame.bindingIndex++}function he(t){var e=Qt.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function de(t){Qt.lFrame.currentDirectiveIndex=t}function fe(t){var e=Qt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function pe(){return Qt.lFrame.currentQueryIndex}function ge(t){Qt.lFrame.currentQueryIndex=t}function ve(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function me(t,e,i){if(i&U.SkipSelf){for(var n=e,r=t;!(null!==(n=n.parent)||i&U.Host||(n=ve(r),null===n)||(r=r[15],10&n.type)););if(null===n)return!1;e=n,t=r}var o=Qt.lFrame=be();return o.currentTNode=e,o.lView=t,!0}function ye(t){var e=be(),i=t[1];Qt.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function be(){var t=Qt.lFrame,e=null===t?null:t.child;return null===e?we(t):e}function we(t){var e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function _e(){var t=Qt.lFrame;return Qt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ae=_e;function ke(){var t=_e();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Te(){return Qt.lFrame.selectedIndex}function Ce(t){Qt.lFrame.selectedIndex=t}function Se(){var t=Qt.lFrame;return Ut(t.tView,t.selectedIndex)}function Ee(){Qt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function xe(){Qt.lFrame.currentNamespace=null}function Re(t,e){for(var i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[s]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var Le=function t(e,i,n){v(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n};function Ne(t,e,i){for(var n=zt(t),r=0;re){a=o-1;break}}}for(;o>16,n=e;i>0;)n=n[15],i--;return n}var je=!0;function Ge(t){var e=je;return je=t,e}var Ye=0;function Ve(t,e){var i=Je(t,e);if(-1!==i)return i;var n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,Ke(n.data,t),Ke(e,null),Ke(n.blueprint,null));var r=Qe(t,e),o=t.injectorIndex;if(qe(r))for(var a=Ue(r),s=He(r,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=r,o}function Ke(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Je(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var i=0,n=null,r=e;null!==r;){var o=r[1],a=o.type;if(null===(n=2===a?o.declTNode:1===a?r[6]:null))return-1;if(i++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function We(t,e,i){!function(t,e,i){var n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(st)&&(n=i[st]),null==n&&(n=i[st]=Ye++);var r=255&n;e.data[t+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:U.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(st)?t[st]:void 0;return"number"==typeof e?e>=0?255&e:ii:e}(i);if("function"==typeof o){if(!me(e,t,n))return n&U.Host?Xe(r,i,n):$e(e,i,n,r);try{var a=o(n);if(null!=a||n&U.Optional)return a;O(i)}finally{Ae()}}else if("number"==typeof o){var s=null,u=Je(t,e),c=-1,l=n&U.Host?e[16][6]:null;for((-1===u||n&U.SkipSelf)&&(-1!==(c=-1===u?Qe(t,e):e[u+8])&&si(n,!1)?(s=e[1],u=Ue(c),e=He(c,e)):u=-1);-1!==u;){var h=e[1];if(ai(o,u,h.data)){var d=ni(u,e,i,s,n,l);if(d!==ei)return d}-1!==(c=e[u+8])&&si(n,e[1].data[u+8]===l)&&ai(o,u,e)?(s=h,u=Ue(c),e=He(c,e)):u=-1}}}return $e(e,i,n,r)}var ei={};function ii(){return new ui(ee(),Xt())}function ni(t,e,i,n,r,o){var a=e[1],s=a.data[t+8],u=ri(s,a,i,null==n?Tt(s)&&je:n!=a&&0!=(3&s.type),r&U.Host&&o===s);return null!==u?oi(e,a,u,s):ei}function ri(t,e,i,n,r){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,c=o>>20,l=r?s+c:t.directiveEnd,h=n?s:s+c;h=u&&d.type===i)return h}if(r){var f=a[u];if(f&&St(f)&&f.type===i)return u}return null}function oi(t,e,i,n){var r=t[i],o=e.data;if(r instanceof Le){var a=r;a.resolving&&function(t,e){throw new x("200","Circular dependency in DI detected for ".concat(t))}(I(o[i]));var s=Ge(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?H(a.injectImpl):null;me(t,n,U.Default);try{r=t[i]=a.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){var n=e.type.prototype,r=n.ngOnChanges,o=n.ngOnInit,a=n.ngDoCheck;if(r){var s=Ot(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,s)}o&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,o),a&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,a),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,a))}(i,o[i],e)}finally{null!==u&&H(u),Ge(s),a.resolving=!1,Ae()}}return r}function ai(t,e,i){return!!(i[e+(t>>5)]&1<=t.length?t.push(i):t.splice(e,0,i)}function bi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function wi(t,e){for(var i=[],n=0;n=0?t[1|n]=i:function(t,e,i,n){var r=t.length;if(r==e)t.push(i,n);else if(1===r)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=i,t[e+1]=n}}(t,n=~n,e,i),n}function Ai(t,e){var i=ki(t,e);if(i>=0)return t[1|i]}function ki(t,e){return function(t,e,i){for(var n=0,r=t.length>>1;r!==n;){var o=n+(r-n>>1),a=t[o<<1];if(e===a)return o<<1;a>e?r=o:n=o+1}return~(r<<1)}(t,e)}var Ti,Ci={},Si=/\n/gm,Ei=w({provide:String,useValue:w});function xi(t){var e=Ti;return Ti=t,e}function Ri(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.Default;if(void 0===Ti)throw new Error("inject() must be called from an injection context");return null===Ti?j(t,void 0,e):Ti.get(t,e&U.Optional?null:void 0,e)}function Ii(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.Default;return(z||Ri)(S(t),e)}var Oi=Ii;function Pi(t){for(var e=[],i=0;i"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();pn.hasOwnProperty(e)&&!ln.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(An(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),wn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_n=/([^\#-~ |!])/g;function An(t){return t.replace(/&/g,"&").replace(wn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(_n,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function kn(t,e){var i=null;try{cn=cn||function(t){var e=new nn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Zi(""),"text/html")}catch(t){return!1}}()?new en(e):e}(t);var n=e?String(e):"";i=cn.getInertBodyElement(n);var r=5,o=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=cn.getInertBodyElement(n)}while(n!==o);return Zi((new bn).sanitizeChildren(Tn(i)||i))}finally{if(i)for(var a=Tn(i)||i;a.firstChild;)a.removeChild(a.firstChild)}}function Tn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Cn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Sn(t){var e=xn();return e?Bi(e.sanitize(Cn.HTML,t)||""):Ki(t,"HTML")?Bi(Vi(t)):kn(Nt(),R(t))}function En(t){var e=xn();return e?e.sanitize(Cn.URL,t)||"":Ki(t,"URL")?Vi(t):an(R(t))}function xn(){var t=Xt();return t&&t[12]}function Rn(t,e){t.__ngContext__=e}function In(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function On(t){return t.ngDebugContext}function Pn(t){return t.ngOriginalError}function Dn(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n0&&(t[n-1][4]=r[4]);var a=bi(t,10+e);lr(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Qn(t,e){if(!(256&e[2])){var i=e[11];zt(i)&&i.destroyNode&&lr(t,e,i,3,null,null),function(t){var e=t[13];if(!e)return Wn(t[1],t);for(;e;){var i=null;if(_t(e))i=e[13];else{var n=e[10];n&&(i=n)}if(!i){for(;e&&!e[4]&&e!==t;)_t(e)&&Wn(e[1],e),e=e[3];null===e&&(e=t),_t(e)&&Wn(e[1],e),i=e&&e[4]}e=i}}(e)}}function Wn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var i;if(null!=t&&null!=(i=t.destroyHooks))for(var n=0;n=0?n[r=c]():n[r=-c].unsubscribe(),o+=2}else{var l=n[r=i[o+1]];i[o].call(l)}if(null!==n){for(var h=r+1;ho?"":r[l+1].toLowerCase();var d=8&n?h:null;if(d&&-1!==pr(d,c,0)||2&n&&c!==h){if(br(n))return!1;a=!0}}}}else{if(!a&&!br(n)&&!br(u))return!1;if(a&&br(u))continue;a=!1,n=u|1&n}}return br(n)||a}function br(t){return 0==(1&t)}function wr(t,e,i,n){if(null===e)return-1;var r=0;if(n||!i){for(var o=!1;r-1)for(i++;i2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+s+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""===r||br(a)||(e+=kr(o,r),r=""),n=a,o=o||!br(n);i++}return""!==r&&(e+=kr(o,r)),e}var Cr={};function Sr(t){Er($t(),Xt(),Te()+t,ae())}function Er(t,e,i,n){if(!n)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&Ie(e,r,i)}else{var o=t.preOrderHooks;null!==o&&Oe(e,o,0,i)}Ce(i)}function xr(t,e){return t<<17|e<<2}function Rr(t){return t>>17&32767}function Ir(t){return 2|t}function Or(t){return(131068&t)>>2}function Pr(t,e){return-131069&t|e<<2}function Dr(t){return 1|t}function Mr(t,e){var i=t.contentQueries;if(null!==i)for(var n=0;n20&&Er(t,e,20,ae()),i(n,r)}finally{Ce(o)}}function Ur(t,e,i){if(kt(e))for(var n=e.directiveEnd,r=e.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:qt,n=e.localNames;if(null!==n)for(var r=e.index+1,o=0;o0;){var i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(s)!=u&&s.push(u),s.push(n,r,a)}}function Xr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function $r(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function to(t,e,i){if(i){if(e.exportAs)for(var n=0;n0&&uo(i)}}function uo(t){for(var e=Hn(t);null!==e;e=jn(e))for(var i=10;i0&&uo(n)}var o=t[1].components;if(null!==o)for(var a=0;a0&&uo(s)}}function co(t,e){var i=jt(e,t),n=i[1];!function(t,e){for(var i=e.length;i1&&void 0!==arguments[1]?arguments[1]:Ci;if(e===Ci){var i=new Error("NullInjectorError: No provider for ".concat(A(t),"!"));throw i.name="NullInjectorError",i}return e}}]),t}(),Eo=new fi("Set Injector scope."),xo={},Ro={};function Io(){return void 0===To&&(To=new So),To}function Oo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new Po(t,i,e||Io(),n)}var Po=function(){function t(e,i,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;v(this,t),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];i&&mi(i,function(t){return r.processProvider(t,e,i)}),mi([e],function(t){return r.processInjectorType(t,[],a)}),this.records.set(Co,Lo(void 0,this));var s=this.records.get(Eo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:A(e))}return y(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ci,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U.Default;this.assertNotDestroyed();var n,r=xi(this);try{if(!(i&U.SkipSelf)){var o=this.records.get(t);if(void 0===o){var a=("function"==typeof(n=t)||"object"==typeof n&&n instanceof fi)&&M(t);o=a&&this.injectableDefInScope(a)?Lo(Do(t),xo):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(i&U.Self?Io():this.parent).get(t,e=i&U.Optional&&e===Ci?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(A(t)),r)throw s;return function(t,e,i,n){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=A(e);if(Array.isArray(e))r=e.map(A).join(" -> ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):A(s)))}r="{".concat(o.join(", "),"}")}return"".concat(i).concat(n?"("+n+")":"","[").concat(r,"]: ").concat(t.replace(Si,"\n "))}("\n"+t.message,r,"R3InjectorError",n),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,0,this.source)}throw s}finally{xi(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,i){return t.push(A(i))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,i){var n=this;if(!(t=S(t)))return!1;var r=N(t),o=null==r&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==i.indexOf(a);if(void 0!==o&&(r=N(o)),null==r)return!1;if(null!=r.imports&&!s){var u;i.push(a);try{mi(r.imports,function(t){n.processInjectorType(t,e,i)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var c=function(t){var e=u[t],i=e.ngModule,r=e.providers;mi(r,function(t){return n.processProvider(t,i,r||tt)})},l=0;l0){var i=wi(e,"?");throw new Error("Can't resolve all parameters for ".concat(A(t),": (").concat(i.join(", "),")."))}var n=function(t){var e=t&&(t[F]||t[B]);if(e){var i=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(i,'" 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 "').concat(i,'" class.')),e}return null}(t);return null!==n?function(){return n.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Mo(t,e,n){var r,o;if(zo(t)){var a=S(t);return Et(a)||Do(a)}if(No(t))r=function(){return S(t.useValue)};else if((o=t)&&o.useFactory)r=function(){return t.useFactory.apply(t,d(Pi(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))r=function(){return Ii(S(t.useExisting))};else{var s=S(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Et(s)||Do(s);r=function(){return i(s,d(Pi(t.deps)))}}return r}function Lo(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:i?[]:void 0}}function No(t){return null!==t&&"object"==typeof t&&Ei in t}function zo(t){return"function"==typeof t}var Fo=function(t,e,i){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,r=Oo(t,e,i,n);return r._resolveInjectorDefTypes(),r}({name:i},e,t,i)},Zo=function(){var t=function(){function t(){v(this,t)}return y(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Fo(t,e,""):Fo(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=Ci,t.NULL=new So,t.\u0275prov=P({token:t,providedIn:"any",factory:function(){return Ii(Co)}}),t.__NG_ELEMENT_ID__=-1,t}();function Bo(t,e){Re(In(t)[1],ee())}function qo(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0,n=[t];e;){var r=void 0;if(St(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(i){n.push(r);var o=t;o.inputs=Uo(t.inputs),o.declaredInputs=Uo(t.declaredInputs),o.outputs=Uo(t.outputs);var a=r.hostBindings;a&&Go(t,a);var s=r.viewQuery,u=r.contentQueries;if(s&&Ho(t,s),u&&jo(t,u),_(t.inputs,r.inputs),_(t.declaredInputs,r.declaredInputs),_(t.outputs,r.outputs),St(r)&&r.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(r.data.animation)}}var l=r.features;if(l)for(var h=0;h=0;n--){var r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Ze(r.hostAttrs,i=Ze(i,r.hostAttrs))}}(n)}function Uo(t){return t===$?{}:t===tt?[]:t}function Ho(t,e){var i=t.viewQuery;t.viewQuery=i?function(t,n){e(t,n),i(t,n)}:e}function jo(t,e){var i=t.contentQueries;t.contentQueries=i?function(t,n,r){e(t,n,r),i(t,n,r)}:e}function Go(t,e){var i=t.hostBindings;t.hostBindings=i?function(t,n){e(t,n),i(t,n)}:e}var Yo=null;function Vo(){if(!Yo){var t=X.Symbol;if(t&&t.iterator)Yo=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),i=0;i1&&void 0!==arguments[1]?arguments[1]:U.Default,i=Xt();return null===i?Ii(t,e):ti(ee(),i,S(t),e)}function ua(t,e,i){var n=Xt();return Xo(n,le(),e)&&Jr($t(),Se(),n,t,e,n[11],i,!1),ua}function ca(t,e,i,n,r){var o=r?"class":"style";_o(t,i,e.inputs[o],o,n)}function la(t,e,i,n){var r=Xt(),o=$t(),a=20+t,s=r[11],u=r[a]=Vn(s,e,Qt.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,i,n,r,o,a){var s=e.consts,u=Nr(e,t,2,r,Vt(s,o));return Qr(e,i,u,Vt(s,a)),null!==u.attrs&&ko(u,u.attrs,!1),null!==u.mergedAttrs&&ko(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,r,0,e,i,n):o.data[a];ne(c,!0);var l=c.mergedAttrs;null!==l&&Ne(s,u,l);var h=c.classes;null!==h&&fr(s,u,h);var d=c.styles;null!==d&&dr(s,u,d),64!=(64&c.flags)&&or(o,r,u,c),0===Qt.lFrame.elementDepthCount&&Rn(u,r),Qt.lFrame.elementDepthCount++,Ct(c)&&(Hr(o,r,c),Ur(o,c,r)),null!==n&&jr(r,c)}function ha(){var t=ee();re()?oe():ne(t=t.parent,!1);var e=t;Qt.lFrame.elementDepthCount--;var i=$t();i.firstCreatePass&&(Re(i,t),kt(t)&&i.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&ca(i,e,Xt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&ca(i,e,Xt(),e.stylesWithoutHost,!1)}function da(t,e,i,n){la(t,e,i,n),ha()}function fa(t,e,i){var n=Xt(),r=$t(),o=t+20,a=r.firstCreatePass?function(t,e,i,n,r){var o=e.consts,a=Vt(o,n),s=Nr(e,t,8,"ng-container",a);return null!==a&&ko(s,a,!0),Qr(e,i,s,Vt(o,r)),null!==e.queries&&e.queries.elementStart(e,s),s}(o,r,n,e,i):r.data[o];ne(a,!0);var s=n[o]=n[11].createComment("");or(r,n,s,a),Rn(s,n),Ct(a)&&(Hr(r,n,a),Ur(r,a,n)),null!=i&&jr(n,a)}function pa(){var t=ee(),e=$t();re()?oe():ne(t=t.parent,!1),e.firstCreatePass&&(Re(e,t),kt(t)&&e.queries.elementEnd(t))}function ga(t,e,i){fa(t,e,i),pa()}function va(){return Xt()}function ma(t){return!!t&&"function"==typeof t.then}function ya(t){return!!t&&"function"==typeof t.subscribe}var ba=ya;function wa(t,e,i,n){var r=Xt(),o=$t(),a=ee();return Aa(o,r,r[11],a,t,e,!!i,n),wa}function _a(t,e){var i=ee(),n=Xt(),r=$t();return Aa(r,n,bo(fe(r.data),i,n),i,t,e,!1),_a}function Aa(t,e,i,n,r,o,a,s){var u=Ct(n),c=t.firstCreatePass&&yo(t),l=mo(e),h=!0;if(3&n.type||s){var d=qt(n,e),f=s?s(d):d,p=l.length,g=s?function(t){return s(Zt(t[n.index]))}:n.index;if(zt(i)){var v=null;if(!s&&u&&(v=function(t,e,i,n){var r=t.cleanup;if(null!=r)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,r,n.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=o,v.__ngLastListenerFn__=o,h=!1;else{o=Ta(n,e,0,o,!1);var m=i.listen(f,r,o);l.push(o,m),c&&c.push(r,g,p,p+1)}}else o=Ta(n,e,0,o,!0),f.addEventListener(r,o,a),l.push(o),c&&c.push(r,g,p,a)}else o=Ta(n,e,0,o,!1);var y,b=n.outputs;if(h&&null!==b&&(y=b[r])){var w=y.length;if(w)for(var _=0;_0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Qt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Qt.lFrame.contextLView))[8]}(t)}function Sa(t,e){for(var i=null,n=function(t){var e=t.attrs;if(null!=e){var i=e.indexOf(5);if(0==(1&i))return e[i+1]}return null}(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0,n=Xt(),r=$t(),o=Nr(r,20+t,16,null,i||null);null===o.projection&&(o.projection=e),oe(),64!=(64&o.flags)&&function(t,e,i){hr(e[11],0,e,i,Xn(t,i,e),nr(i.parent||e[6],i,e))}(r,n,o)}function Ra(t,e,i){return Ia(t,"",e,"",i),Ra}function Ia(t,e,i,n,r){var o=Xt(),a=na(o,e,i,n);return a!==Cr&&Jr($t(),Se(),o,t,a,o[11],r,!1),Ia}function Oa(t,e,i,n,r,o,a){var s=Xt(),u=ra(s,e,i,n,r,o);return u!==Cr&&Jr($t(),Se(),s,t,u,s[11],a,!1),Oa}function Pa(t,e,i,n,r){for(var o=t[i+1],a=null===e,s=n?Rr(o):Or(o),u=!1;0!==s&&(!1===u||a);){var c=t[s+1];Da(t[s],e)&&(u=!0,t[s+1]=n?Dr(c):Ir(c)),s=n?Rr(c):Or(c)}u&&(t[i+1]=n?Ir(o):Dr(o))}function Da(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ki(t,e)>=0}var Ma={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function La(t){return t.substring(Ma.key,Ma.keyEnd)}function Na(t,e){var i=Ma.textEnd;return i===e?-1:(e=Ma.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Ma.key=e,i),za(t,e,i))}function za(t,e,i){for(;e=0;i=Na(e,i))_i(t,La(e),!0)}function Ua(t,e,i,n){var r=Xt(),o=$t(),a=he(2);o.firstUpdatePass&&Ga(o,t,a,n),e!==Cr&&Xo(r,a,e)&&Ka(o,o.data[Te()],r,r[11],t,r[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=A(Vi(t)))),t}(e,i),n,a)}function Ha(t,e,i,n){var r=$t(),o=he(2);r.firstUpdatePass&&Ga(r,null,o,n);var a=Xt();if(i!==Cr&&Xo(a,o,i)){var s=r.data[Te()];if(Wa(s,n)&&!ja(r,o)){var u=n?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(i=k(u,i||"")),ca(r,s,a,i,n)}else!function(t,e,i,n,r,o,a,s){r===Cr&&(r=tt);for(var u=0,c=0,l=0=t.expandoStartIndex}function Ga(t,e,i,n){var r=t.data;if(null===r[i+1]){var o=r[Te()],a=ja(t,i);Wa(o,n)&&null===e&&!a&&(e=!1),e=function(t,e,i,n){var r=fe(t),o=n?e.residualClasses:e.residualStyles;if(null===r)0===(n?e.classBindings:e.styleBindings)&&(i=Va(i=Ya(null,t,e,i,n),e.attrs,n),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(i=Ya(r,t,e,i,n),null===o){var s=function(t,e,i){var n=i?e.classBindings:e.styleBindings;if(0!==Or(n))return t[Rr(n)]}(t,e,n);void 0!==s&&Array.isArray(s)&&function(t,e,i,n){t[Rr(i?e.classBindings:e.styleBindings)]=n}(t,e,n,s=Va(s=Ya(null,t,e,s[1],n),e.attrs,n))}else o=function(t,e,i){for(var n,r=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(l=!0)}else c=i;if(r)if(0!==u){var d=Rr(t[s+1]);t[n+1]=xr(d,s),0!==d&&(t[d+1]=Pr(t[d+1],n)),t[s+1]=131071&t[s+1]|n<<17}else t[n+1]=xr(s,0),0!==s&&(t[s+1]=Pr(t[s+1],n)),s=n;else t[n+1]=xr(u,0),0===s?s=n:t[u+1]=Pr(t[u+1],n),u=n;l&&(t[n+1]=Ir(t[n+1])),Pa(t,c,n,!0),Pa(t,c,n,!1),function(t,e,i,n,r){var o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&ki(o,e)>=0&&(i[n+1]=Dr(i[n+1]))}(e,c,t,n,o),a=xr(s,u),o?e.classBindings=a:e.styleBindings=a}(r,o,e,i,a,n)}}function Ya(t,e,i,n,r){var o=null,a=i.directiveEnd,s=i.directiveStylingLast;for(-1===s?s=i.directiveStart:s++;s0;){var u=t[r],c=Array.isArray(u),l=c?u[1]:u,h=null===l,d=i[r+1];d===Cr&&(d=h?tt:void 0);var f=h?Ai(d,n):l===n?d:void 0;if(c&&!Qa(f)&&(f=Ai(u,n)),Qa(f)&&(a=f,s))return a;var p=t[r+1];r=s?Rr(p):Or(p)}if(null!==e){var g=o?e.residualClasses:e.residualStyles;null!=g&&(a=Ai(g,n))}return a}function Qa(t){return void 0!==t}function Wa(t,e){return 0!=(t.flags&(e?16:32))}function Xa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=Xt(),n=$t(),r=t+20,o=n.firstCreatePass?Nr(n,r,1,e,null):n.data[r],a=i[r]=function(t,e){return zt(t)?t.createText(e):t.createTextNode(e)}(i[11],e);or(n,i,a,o),ne(o,!1)}function $a(t){return ts("",t,""),$a}function ts(t,e,i){var n=Xt(),r=na(n,t,e,i);return r!==Cr&&Ao(n,Te(),r),ts}function es(t,e,i,n,r){var o=Xt(),a=ra(o,t,e,i,n,r);return a!==Cr&&Ao(o,Te(),a),es}function is(t,e,i,n,r,o,a){var s=Xt(),u=function(t,e,i,n,r,o,a,s){var u=ta(t,ce(),i,r,a);return he(3),u?e+R(i)+n+R(r)+o+R(a)+s:Cr}(s,t,e,i,n,r,o,a);return u!==Cr&&Ao(s,Te(),u),is}function ns(t,e,i,n,r,o,a,s,u){var c=Xt(),l=function(t,e,i,n,r,o,a,s,u,c){var l=ea(t,ce(),i,r,a,u);return he(4),l?e+R(i)+n+R(r)+o+R(a)+s+R(u)+c:Cr}(c,t,e,i,n,r,o,a,s,u);return l!==Cr&&Ao(c,Te(),l),ns}function rs(t,e,i,n,r,o,a,s,u,c,l){var h=Xt(),d=function(t,e,i,n,r,o,a,s,u,c,l,h){var d=ce(),f=ea(t,d,i,r,a,u);return f=Xo(t,d+4,l)||f,he(5),f?e+R(i)+n+R(r)+o+R(a)+s+R(u)+c+R(l)+h:Cr}(h,t,e,i,n,r,o,a,s,u,c,l);return d!==Cr&&Ao(h,Te(),d),rs}function os(t,e,i){Ha(_i,qa,na(Xt(),t,e,i),!0)}function as(t,e,i){var n=Xt();return Xo(n,le(),e)&&Jr($t(),Se(),n,t,e,n[11],i,!0),as}function ss(t,e,i){var n=Xt();if(Xo(n,le(),e)){var r=$t(),o=Se();Jr(r,o,n,t,e,bo(fe(r.data),o,n),i,!0)}return ss}var us=void 0,cs=["en",[["a","p"],["AM","PM"],us],[["AM","PM"],us,us],[["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"]],us,[["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"]],us,[["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}",us,"{1} 'at' {0}",us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}],ls={};function hs(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),i=fs(e);if(i)return i;var n=e.split("-")[0];if(i=fs(n))return i;if("en"===n)return cs;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function ds(t){return hs(t)[ps.PluralCase]}function fs(t){return t in ls||(ls[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),ls[t]}var ps=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});function gs(t){var e;null==(e=t)&&function(t,e,i,n){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function vs(t,e,i,n,r){if(t=S(t),Array.isArray(t))for(var o=0;o>20;if(zo(t)||!t.multi){var p=new Le(c,r,sa),g=bs(u,e,r?h:h+f,d);-1===g?(We(Ve(l,s),a,u),ms(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(p),s.push(p)):(i[g]=p,s[g]=p)}else{var v=bs(u,e,h+f,d),m=bs(u,e,h,h+f),y=v>=0&&i[v],b=m>=0&&i[m];if(r&&!b||!r&&!y){We(Ve(l,s),a,u);var w=function(t,e,i,n,r){var o=new Le(t,i,sa);return o.multi=[],o.index=e,o.componentProviders=0,ys(o,r,n&&!i),o}(r?_s:ws,i.length,r,n,c);!r&&b&&(i[m].providerFactory=w),ms(a,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(w),s.push(w)}else ms(a,t,v>-1?v:m,ys(i[r?m:v],c,!r&&n));!r&&n&&b&&i[m].componentProviders++}}}function ms(t,e,i,n){var r=zo(e);if(r||e.useClass){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var a=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=a.indexOf(i);-1===s?a.push(i,[n,o]):a[s+1].push(n,o)}else a.push(i,o)}}}function ys(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function bs(t,e,i,n){for(var r=i;r1&&void 0!==arguments[1]?arguments[1]:[];return function(i){i.providersResolver=function(i,n){return function(t,e,i){var n=$t();if(n.firstCreatePass){var r=St(t);vs(i,n.data,n.blueprint,r,!0),vs(e,n.data,n.blueprint,r,!1)}}(i,n?n(t):t,e)}}}var Ts=function t(){v(this,t)},Cs=function(){function t(){v(this,t)}return y(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(A(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Ss=function(){var t=function t(){v(this,t)};return t.NULL=new Cs,t}();function Es(){}function xs(t,e){return new Is(qt(t,e))}var Rs=function(){return xs(ee(),Xt())},Is=function(){var t=function t(e){v(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=Rs,t}();function Os(t){return t instanceof Is?t.nativeElement:t}var Ps=function t(){v(this,t)},Ds=function(){var t=function t(){v(this,t)};return t.__NG_ELEMENT_ID__=function(){return Ms()},t}(),Ms=function(){var t=Xt(),e=jt(ee().index,t);return function(t){return t[11]}(_t(e)?e:t)},Ls=function(){var t=function t(){v(this,t)};return t.\u0275prov=P({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ns=function t(e){v(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},zs=new Ns("12.0.5"),Fs=function(){function t(){v(this,t)}return y(t,[{key:"supports",value:function(t){return Jo(t)}},{key:"create",value:function(t){return new Bs(t)}}]),t}(),Zs=function(t,e){return e},Bs=function(){function t(e){v(this,t),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=e||Zs}return y(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,i=this._removalsHead,n=0,r=null;e||i;){var o=!i||e&&e.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=e[i.index];if(null!==o&&n.push(Zt(o)),At(o))for(var a=10;a-1&&(Jn(t,i),bi(e,i))}this._attachedToViewContainer=!1}Qn(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){Vr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){ho(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){fo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,i){se(!0);try{fo(t,e,i)}finally{se(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,lr(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),tu=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this,t))._view=t,n}return y(i,[{key:"detectChanges",value:function(){po(this._view)}},{key:"checkNoChanges",value:function(){!function(t){se(!0);try{po(t)}finally{se(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),i}($s),eu=function(t){return function(t,e,i){if(Tt(t)&&!i){var n=jt(t.index,e);return new $s(n,n)}return 47&t.type?new $s(e[16],e):null}(ee(),Xt(),16==(16&t))},iu=function(){var t=function t(){v(this,t)};return t.__NG_ELEMENT_ID__=eu,t}(),nu=[new Gs],ru=new Js([new Fs]),ou=new Ws(nu),au=function(){return cu(ee(),Xt())},su=function(){var t=function t(){v(this,t)};return t.__NG_ELEMENT_ID__=au,t}(),uu=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this))._declarationLView=t,o._declarationTContainer=n,o.elementRef=r,o}return y(i,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,i=Lr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];var n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),Fr(e,i,t),new $s(i)}}]),i}(su);function cu(t,e){return 4&t.type?new uu(e,t,xs(t,e)):null}var lu=function t(){v(this,t)},hu=function t(){v(this,t)},du=function(){return mu(ee(),Xt())},fu=function(){var t=function t(){v(this,t)};return t.__NG_ELEMENT_ID__=du,t}(),pu=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this))._lContainer=t,o._hostTNode=n,o._hostLView=r,o}return y(i,[{key:"element",get:function(){return xs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new ui(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Qe(this._hostTNode,this._hostLView);if(qe(t)){var e=He(t,this._hostLView),i=Ue(t);return new ui(e[1].data[i+8],e)}return new ui(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=gu(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,i){var n=t.createEmbeddedView(e||{});return this.insert(n,i),n}},{key:"createComponent",value:function(t,e,i,n,r){var o=i||this.parentInjector;if(!r&&null==t.ngModule&&o){var a=o.get(lu,null);a&&(r=a)}var s=t.create(o,n,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var n=t._lView,r=n[1];if(At(n[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=n[3],s=new i(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),c=this._lContainer;!function(t,e,i,n){var r=10+n,o=i.length;n>0&&(i[r-1][4]=e),n1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),i}(fu);function gu(t){return t[8]}function vu(t){return t[8]||(t[8]=[])}function mu(t,e){var i,n=e[t.index];if(At(n))i=n;else{var r;if(8&t.type)r=Zt(n);else{var o=e[11];r=o.createComment("");var a=qt(t,e);$n(o,ir(o,a),r,function(t,e){return zt(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=i=ao(n,e,r,t),lo(e,i)}return new pu(i,t,e)}var yu={},bu=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this)).ngModule=t,n}return y(i,[{key:"resolveComponentFactory",value:function(t){var e=bt(t);return new Au(e,this.ngModule)}}]),i}(Ss);function wu(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}var _u=new fi("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ln}}),Au=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this)).componentDef=t,r.ngModule=n,r.componentType=t.type,r.selector=t.selectors.map(Tr).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!n,r}return y(i,[{key:"inputs",get:function(){return wu(this.componentDef.inputs)}},{key:"outputs",get:function(){return wu(this.componentDef.outputs)}},{key:"create",value:function(t,e,i,n){var r,o,a=(n=n||this.ngModule)?function(t,e){return{get:function(i,n,r){var o=t.get(i,yu,r);return o!==yu||n===yu?o:e.get(i,n,r)}}}(t,n.injector):t,s=a.get(Ps,Ft),u=a.get(Ls,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=i?function(t,e,i){if(zt(t))return t.selectRootElement(e,i===V.ShadowDom);var n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(c,i,this.componentDef.encapsulation):Vn(s.createRenderer(null,this.componentDef),l,function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f={components:[],scheduler:Ln,clean:vo,playerHandler:null,flags:0},p=Yr(0,null,null,1,0,null,null,null,null,null),g=Lr(null,p,f,d,null,null,s,c,u,a);ye(g);try{var v=function(t,e,i,n,r,o){var a=i[1];i[20]=t;var s=Nr(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&(ko(s,u,!0),null!==t&&(Ne(r,t,u),null!==s.classes&&fr(r,t,s.classes),null!==s.styles&&dr(r,t,s.styles)));var c=n.createRenderer(t,e),l=Lr(i,Gr(e),null,e.onPush?64:16,i[20],s,n,c,null,null);return a.firstCreatePass&&(We(Ve(s,i),a,e.type),$r(a,s),eo(s,i.length,1)),lo(i,l),i[20]=l}(h,this.componentDef,g,s,c);if(h)if(i)Ne(c,h,["ng-version",zs.full]);else{var m=function(t){for(var e=[],i=[],n=1,r=2;n0&&fr(c,h,b.join(" "))}if(o=Ut(p,20),void 0!==e)for(var w=o.projection=[],_=0;_1&&void 0!==arguments[1]?arguments[1]:Zo.THROW_IF_NOT_FOUND,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U.Default;return t===Zo||t===lu||t===Co?this:this._r3Injector.get(t,e,i)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),i}(lu),Su=function(t){o(i,t);var e=s(i);function i(t){var n,r,o;return v(this,i),(n=e.call(this)).moduleType=t,null!==wt(t)&&(r=t,o=new Set,function t(e){var i=wt(e,!0),n=i.id;null!==n&&(function(t,e,i){if(e&&e!==i)throw new Error("Duplicate module registered for ".concat(t," - ").concat(A(e)," vs ").concat(A(e.name)))}(n,Tu.get(n),e),Tu.set(n,e));var r,a=f(Zn(i.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),t(s))}}catch(u){a.e(u)}finally{a.f()}}(r)),n}return y(i,[{key:"create",value:function(t){return new Cu(this.moduleType,t)}}]),i}(hu);function Eu(t,e,i){var n=ue()+t,r=Xt();return r[n]===Cr?Wo(r,n,i?e.call(i):e()):function(t,e){return t[e]}(r,n)}function xu(t,e,i,n){return Pu(Xt(),ue(),t,e,i,n)}function Ru(t,e,i,n,r){return Du(Xt(),ue(),t,e,i,n,r)}function Iu(t,e,i,n,r,o){return Mu(Xt(),ue(),t,e,i,n,r,o)}function Ou(t,e){var i=t[e];return i===Cr?void 0:i}function Pu(t,e,i,n,r,o){var a=e+i;return Xo(t,a,r)?Wo(t,a+1,o?n.call(o,r):n(r)):Ou(t,a+1)}function Du(t,e,i,n,r,o,a){var s=e+i;return $o(t,s,r,o)?Wo(t,s+2,a?n.call(a,r,o):n(r,o)):Ou(t,s+2)}function Mu(t,e,i,n,r,o,a,s){var u=e+i;return ta(t,u,r,o,a)?Wo(t,u+3,s?n.call(s,r,o,a):n(r,o,a)):Ou(t,u+3)}function Lu(t,e){var i,n=$t(),r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(var i=e.length-1;i>=0;i--){var n=e[i];if(t===n.name)return n}throw new x("302","The pipe '".concat(t,"' could not be found!"))}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];var o=i.factory||(i.factory=Et(i.type)),a=H(sa);try{var s=Ge(!1),u=o();return Ge(s),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(n,Xt(),r,u),u}finally{H(a)}}function Nu(t,e,i){var n=t+20,r=Xt(),o=Ht(r,n);return Bu(r,Zu(r,n)?Pu(r,ue(),e,o.transform,i,o):o.transform(i))}function zu(t,e,i,n){var r=t+20,o=Xt(),a=Ht(o,r);return Bu(o,Zu(o,r)?Du(o,ue(),e,a.transform,i,n,a):a.transform(i,n))}function Fu(t,e,i,n,r){var o=t+20,a=Xt(),s=Ht(a,o);return Bu(a,Zu(a,o)?Mu(a,ue(),e,s.transform,i,n,r,s):s.transform(i,n,r))}function Zu(t,e){return t[1].data[e].pure}function Bu(t,e){return Ko.isWrapped(e)&&(e=Ko.unwrap(e),t[ce()]=Cr),e}function qu(t){return function(e){setTimeout(t,void 0,e)}}var Uu=function(t){o(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v(this,i),(t=e.call(this)).__isAsync=n,t}return y(i,[{key:"emit",value:function(t){n(h(i.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,r){var o,a,s,u=t,c=e||function(){return null},l=r;if(t&&"object"==typeof t){var d=t;u=null===(o=d.next)||void 0===o?void 0:o.bind(d),c=null===(a=d.error)||void 0===a?void 0:a.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(c=qu(c),u&&(u=qu(u)),l&&(l=qu(l)));var f=n(h(i.prototype),"subscribe",this).call(this,{next:u,error:c,complete:l});return t instanceof p.w&&t.add(f),f}}]),i}(l.xQ);function Hu(){return this._results[Vo()]()}var ju=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];v(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var i=Vo(),n=t.prototype;n[i]||(n[i]=Hu)}return y(t,[{key:"changes",get:function(){return this._changes||(this._changes=new Uu)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){this.dirty=!1;var i=vi(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];v(this,t),this.queries=e}return y(t,[{key:"createEmbeddedView",value:function(e){var i=e.queries;if(null!==i){for(var n=null!==e.contentQueries?e.contentQueries[0]:i.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;v(this,t),this.predicate=e,this.flags=i,this.read=n},Ku=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];v(this,t),this.queries=e}return y(t,[{key:"elementStart",value:function(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:-1;v(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}return y(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,i=t.parent;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var i=this.metadata.predicate;if(Array.isArray(i))for(var n=0;n0)n.push(a[s/2]);else{for(var c=o[s+1],l=e[-u],h=10;h0&&(r=setTimeout(function(){n._callbacks=n._callbacks.filter(function(t){return t.timeoutId!==r}),t(n._didWork,n.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:i})}},{key:"whenStable",value:function(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,i){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ii(Rc))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t}(),zc=function(){var t=function(){function t(){v(this,t),this._applications=new Map,Bc.addToWindow(this)}return y(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Bc.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t}();function Fc(t){Bc=t}var Zc,Bc=new(function(){function t(){v(this,t)}return y(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,i){return null}}]),t}()),qc=!0,Uc=!1;function Hc(){return Uc=!0,qc}function jc(){if(Uc)throw new Error("Cannot enable prod mode after platform setup.");qc=!1}var Gc=new fi("AllowMultipleToken"),Yc=function t(e,i){v(this,t),this.name=e,this.token=i};function Vc(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(e),r=new fi(n);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Kc();if(!o||o.injector.get(Gc,!1))if(t)t(i.concat(e).concat({provide:r,useValue:!0}));else{var a=i.concat(e).concat({provide:r,useValue:!0},{provide:Eo,useValue:"platform"});!function(t){if(Zc&&!Zc.destroyed&&!Zc.injector.get(Gc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Zc=t.get(Jc);var e=t.get(fc,null);e&&e.forEach(function(t){return t()})}(Zo.create({providers:a,name:n}))}return function(t){var e=Kc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Kc(){return Zc&&!Zc.destroyed?Zc:null}var Jc=function(){var t=function(){function t(e){v(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return y(t,[{key:"bootstrapModuleFactory",value:function(t,e){var i,n,r=this,o=(i=e?e.ngZone:void 0,n={ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1},"noop"===i?new Lc:("zone.js"===i?void 0:i)||new Rc({enableLongStackTrace:Hc(),shouldCoalesceEventChangeDetection:!!(null==n?void 0:n.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==n?void 0:n.ngZoneRunCoalescing)})),a=[{provide:Rc,useValue:o}];return o.run(function(){var e=Zo.create({providers:a,parent:r.injector,name:t.moduleType.name}),i=t.create(e),n=i.injector.get(Mn,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var t=o.onError.subscribe({next:function(t){n.handleError(t)}});i.onDestroy(function(){Xc(r._modules,i),t.unsubscribe()})}),function(t,e,n){try{var o=((a=i.injector.get(cc)).runInitializers(),a.donePromise.then(function(){return gs(i.injector.get(mc,"en-US")||"en-US"),r._moduleDoBootstrap(i),i}));return ma(o)?o.catch(function(i){throw e.runOutsideAngular(function(){return t.handleError(i)}),i}):o}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(n,o)})}},{key:"bootstrapModule",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Qc({},i);return function(t,e,i){var n=new Su(i);return Promise.resolve(n)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,n)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Wc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(A(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ii(Zo))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t}();function Qc(t,e){return Array.isArray(e)?e.reduce(Qc,t):Object.assign(Object.assign({},t),e)}var Wc=function(){var t=function(){function t(e,i,n,r,o){var a=this;v(this,t),this._zone=e,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new g.y(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new g.y(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Rc.assertNotInAngularZone(),xc(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var i=a._zone.onUnstable.subscribe(function(){Rc.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),i.unsubscribe()}});this.isStable=(0,m.T)(s,u.pipe((0,b.B)()))}return y(t,[{key:"bootstrap",value:function(t,e){var i,n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");i=t instanceof Ts?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);var r=i.isBoundToModule?void 0:this._injector.get(lu),o=i.create(Zo.NULL,[],e||i.selector,r),a=o.location.nativeElement,s=o.injector.get(Nc,null),u=s&&o.injector.get(zc);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){n.detachView(o.hostView),Xc(n.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,i=f(this._views);try{for(i.s();!(e=i.n()).done;){e.value.detectChanges()}}catch(n){i.e(n)}finally{i.f()}}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Xc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(gc,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ii(Rc),Ii(Zo),Ii(Mn),Ii(Ss),Ii(cc))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t}();function Xc(t,e){var i=t.indexOf(e);i>-1&&t.splice(i,1)}var $c=function t(){v(this,t)},tl=function t(){v(this,t)},el={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},il=function(){var t=function(){function t(e,i){v(this,t),this._compiler=e,this._config=i||el}return y(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,i=r(t.split("#"),2),n=i[0],o=i[1];return void 0===o&&(o="default"),u(27622)(n).then(function(t){return t[o]}).then(function(t){return nl(t,n,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=r(t.split("#"),2),i=e[0],n=e[1],o="NgFactory";return void 0===n&&(n="default",o=""),u(27622)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[n+o]}).then(function(t){return nl(t,i,n)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ii(Sc),Ii(tl,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t}();function nl(t,e,i){if(!t)throw new Error("Cannot find '".concat(i,"' in '").concat(e,"'"));return t}var rl=function(t){return null},ol=Vc(null,"core",[{provide:pc,useValue:"unknown"},{provide:Jc,deps:[Zo]},{provide:zc,deps:[]},{provide:vc,deps:[]}]),al=[{provide:Wc,useClass:Wc,deps:[Rc,Zo,Mn,Ss,cc]},{provide:_u,deps:[Rc],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:cc,useClass:cc,deps:[[new zi,uc]]},{provide:Sc,useClass:Sc,deps:[]},hc,{provide:Js,useFactory:function(){return ru},deps:[]},{provide:Ws,useFactory:function(){return ou},deps:[]},{provide:mc,useFactory:function(t){return gs(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Ni(mc),new zi,new Fi]]},{provide:yc,useValue:"USD"}],sl=function(){var t=function t(e){v(this,t)};return t.\u0275fac=function(e){return new(e||t)(Ii(Wc))},t.\u0275mod=pt({type:t}),t.\u0275inj=D({providers:al}),t}()},16073:function(t,e,i){"use strict";i.d(e,{Zs:function(){return Ht},gN:function(){return H},Fj:function(){return b},qu:function(){return Jt},NI:function(){return dt},oH:function(){return Et},u:function(){return Ot},sg:function(){return Rt},u5:function(){return Vt},Cf:function(){return A},JU:function(){return p},a5:function(){return j},JJ:function(){return Y},JL:function(){return V},F:function(){return mt},On:function(){return wt},YN:function(){return Lt},wV:function(){return kt},c5:function(){return Gt},UX:function(){return Kt},Q7:function(){return Ut},EJ:function(){return Mt},kI:function(){return C},_Y:function(){return _t},Kr:function(){return Zt}});var n=i(31572),r=i(61511),a=i(19764),u=i(3148),c=i(79996),l=function(){var t=function(){function t(e,i){v(this,t),this._renderer=e,this._elementRef=i,this.onChange=function(t){},this.onTouched=function(){}}return y(t,[{key:"setProperty",value:function(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t}),t}(),h=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(l);return e.\u0275fac=function(i){return(t||(t=n.n5z(e)))(i||e)},e.\u0275dir=n.lG2({type:e,features:[n.qOj]}),e}(),p=new n.OlP("NgValueAccessor"),g={provide:p,useExisting:(0,n.Gpc)(function(){return b}),multi:!0},m=new n.OlP("CompositionEventMode"),b=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o){var a,s;return v(this,i),(a=e.call(this,t,n))._compositionMode=o,a._composing=!1,null==a._compositionMode&&(a._compositionMode=(s=(0,r.q)()?(0,r.q)().getUserAgent():"",!/android (\d+)/.test(s.toLowerCase()))),a}return y(i,[{key:"writeValue",value:function(t){this.setProperty("value",null==t?"":t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),i}(l);return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(m,8))},t.\u0275dir=n.lG2({type:t,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(t,e){1&t&&n.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[n._Bn([g]),n.qOj]}),t}();function w(t){return null==t||0===t.length}function _(t){return null!=t&&"number"==typeof t.length}var A=new n.OlP("NgValidators"),k=new n.OlP("NgAsyncValidators"),T=/^(?=.{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])?)*$/,C=function(){function t(){v(this,t)}return y(t,null,[{key:"min",value:function(t){return function(t){return function(e){if(w(e.value)||w(t))return null;var i=parseFloat(e.value);return!isNaN(i)&&it?{max:{max:t,actual:e.value}}:null}}(t)}},{key:"required",value:function(t){return S(t)}},{key:"requiredTrue",value:function(t){return E(t)}},{key:"email",value:function(t){return function(t){return w(t.value)||T.test(t.value)?null:{email:!0}}(t)}},{key:"minLength",value:function(t){return function(t){return function(e){return w(e.value)||!_(e.value)?null:e.value.lengtht?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}(t)}},{key:"pattern",value:function(t){return x(t)}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){return L(t)}},{key:"composeAsync",value:function(t){return z(t)}}]),t}();function S(t){return w(t.value)?{required:!0}:null}function E(t){return!0===t.value?null:{required:!0}}function x(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),function(t){if(w(t.value))return null;var n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}):R;var e,i}function R(t){return null}function I(t){return null!=t}function O(t){var e=(0,n.QGY)(t)?(0,a.D)(t):t;return(0,n.CqO)(e),e}function P(t){var e={};return t.forEach(function(t){e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function D(t,e){return e.map(function(e){return e(t)})}function M(t){return t.map(function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}})}function L(t){if(!t)return null;var e=t.filter(I);return 0==e.length?null:function(t){return P(D(t,e))}}function N(t){return null!=t?L(M(t)):null}function z(t){if(!t)return null;var e=t.filter(I);return 0==e.length?null:function(t){var i=D(t,e).map(O);return(0,u.D)(i).pipe((0,c.U)(P))}}function F(t){return null!=t?z(M(t)):null}function Z(t,e){return null===t?[e]:Array.isArray(t)?[].concat(d(t),[e]):[t,e]}function B(t){return t._rawValidators}function q(t){return t._rawAsyncValidators}var U=function(){var t=function(){function t(){v(this,t),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return y(t,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(t){this._rawValidators=t||[],this._composedValidatorFn=N(this._rawValidators)}},{key:"_setAsyncValidators",value:function(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=F(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(t){this._onDestroyCallbacks.push(t)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(t){return t()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t}),t}(),H=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),i}(U);return e.\u0275fac=function(i){return(t||(t=n.n5z(e)))(i||e)},e.\u0275dir=n.lG2({type:e,features:[n.qOj]}),e}(),j=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return i}(U),G=function(){function t(e){v(this,t),this._cd=e}return y(t,[{key:"is",value:function(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}]),t}(),Y=function(){var t=function(t){o(i,t);var e=s(i);function i(t){return v(this,i),e.call(this,t)}return i}(G);return t.\u0275fac=function(e){return new(e||t)(n.Y36(j,2))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t}(),V=function(){var t=function(t){o(i,t);var e=s(i);function i(t){return v(this,i),e.call(this,t)}return i}(G);return t.\u0275fac=function(e){return new(e||t)(n.Y36(H,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[n.qOj]}),t}();function K(t,e){return[].concat(d(e.path),[t])}function J(t,e){X(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(i){t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&tt(t,e)})}(t,e),function(t,e){var i=function(t,i){e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(function(){t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&tt(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){var i=function(t){e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(function(){t._unregisterOnDisabledChange(i)})}}(t,e)}function Q(t,e){var i=function(){};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),$(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}function W(t,e){t.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function X(t,e){var i=B(t);null!==e.validator?t.setValidators(Z(i,e.validator)):"function"==typeof i&&t.setValidators([i]);var n=q(t);null!==e.asyncValidator?t.setAsyncValidators(Z(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);var r=function(){return t.updateValueAndValidity()};W(e._rawValidators,r),W(e._rawAsyncValidators,r)}function $(t,e){var i=!1;if(null!==t){if(null!==e.validator){var n=B(t);if(Array.isArray(n)&&n.length>0){var r=n.filter(function(t){return t!==e.validator});r.length!==n.length&&(i=!0,t.setValidators(r))}}if(null!==e.asyncValidator){var o=q(t);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(t){return t!==e.asyncValidator});a.length!==o.length&&(i=!0,t.setAsyncValidators(a))}}}var s=function(){};return W(e._rawValidators,s),W(e._rawAsyncValidators,s),i}function tt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function et(t,e){X(t,e)}function it(t,e){if(!t.hasOwnProperty("model"))return!1;var i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function nt(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){return e?(Array.isArray(e),e.forEach(function(t){t.constructor===b?i=t:Object.getPrototypeOf(t.constructor)===h?n=t:r=t}),r||n||i||null):null;var i,n,r}function ot(t,e){var i=t.indexOf(e);i>-1&&t.splice(i,1)}function at(t){return(lt(t)?t.validators:t)||null}function st(t){return Array.isArray(t)?N(t):t||null}function ut(t,e){return(lt(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?F(t):t||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ht=function(){function t(e,i){v(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=i,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}return y(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=st(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var i=O(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(function(i){e._hasOwnPendingAsyncValidator=!1,e.setErrors(i,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var n=t;return e.forEach(function(t){n=n instanceof ft?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof pt&&n.at(t)||null}),n}(this,t)}},{key:"getError",value:function(t,e){var i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),dt=function(t){o(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return v(this,i),(t=e.call(this,at(r),ut(o,r)))._onChange=[],t._applyFormState(n),t._setUpdateStrategy(r),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return y(i,[{key:"setValue",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==i.emitViewToModelChange)}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){ot(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){ot(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),i}(ht),ft=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,at(n),ut(r,n))).controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(i,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(n){e._throwIfControlMissing(n),e.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(n){e.controls[n]&&e.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(i,n){i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,i){return t[i]=e instanceof dt?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(i){var n=e.controls[i];n&&t(n,i)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,i=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,i){if(void 0===t[i])throw new Error("Must supply a value for form control with name: '".concat(i,"'."))})}}]),i}(ht),pt=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,at(n),ut(r,n))).controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(i,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,n){e._throwIfControlMissing(n),e.at(n).setValue(t,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,n){e.at(n)&&e.at(n).patchValue(t,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(i,n){i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof dt?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,i){t(e,i)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,i){if(void 0===t[i])throw new Error("Must supply a value for form control at index: ".concat(i,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=f(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(i){e.e(i)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),i}(ht),gt={provide:H,useExisting:(0,n.Gpc)(function(){return mt})},vt=Promise.resolve(null),mt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,r){var o;return v(this,i),(o=e.call(this)).submitted=!1,o._directives=[],o.ngSubmit=new n.vpe,o.form=new ft({},N(t),F(r)),o}return y(i,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(t){var e=this;vt.then(function(){var i=e._findContainer(t.path);t.control=i.registerControl(t.name,t.control),J(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;vt.then(function(){var i=e._findContainer(t.path);i&&i.removeControl(t.name),ot(e._directives,t)})}},{key:"addFormGroup",value:function(t){var e=this;vt.then(function(){var i=e._findContainer(t.path),n=new ft({});et(n,t),i.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(t){var e=this;vt.then(function(){var i=e._findContainer(t.path);i&&i.removeControl(t.name)})}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var i=this;vt.then(function(){i.form.get(t.path).setValue(e)})}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,nt(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}}]),i}(H);return t.\u0275fac=function(e){return new(e||t)(n.Y36(A,10),n.Y36(k,10))},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([gt]),n.qOj]}),t}(),yt={provide:j,useExisting:(0,n.Gpc)(function(){return wt})},bt=Promise.resolve(null),wt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,r,o,a){var s;return v(this,i),(s=e.call(this)).control=new dt,s._registered=!1,s.update=new n.vpe,s._parent=t,s._setValidators(r),s._setAsyncValidators(o),s.valueAccessor=rt(0,a),s}return y(i,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),it(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?K(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){J(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(t){var e=this;bt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(t){var e=this,i=t.isDisabled.currentValue,n=""===i||i&&"false"!==i;bt.then(function(){n&&!e.control.disabled?e.control.disable():!n&&e.control.disabled&&e.control.enable()})}}]),i}(j);return t.\u0275fac=function(e){return new(e||t)(n.Y36(H,9),n.Y36(A,10),n.Y36(k,10),n.Y36(p,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([yt]),n.qOj,n.TTD]}),t}(),_t=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),At={provide:p,useExisting:(0,n.Gpc)(function(){return kt}),multi:!0},kt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"writeValue",value:function(t){this.setProperty("value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}}]),i}(h);return e.\u0275fac=function(i){return(t||(t=n.n5z(e)))(i||e)},e.\u0275dir=n.lG2({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&n.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[n._Bn([At]),n.qOj]}),e}(),Tt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t}(),Ct=new n.OlP("NgModelWithFormControlWarning"),St={provide:j,useExisting:(0,n.Gpc)(function(){return Et})},Et=function(){var t=function(t){o(i,t);var e=s(i);function i(t,r,o,a){var s;return v(this,i),(s=e.call(this))._ngModelWarningConfig=a,s.update=new n.vpe,s._ngModelWarningSent=!1,s._setValidators(t),s._setAsyncValidators(r),s.valueAccessor=rt(0,o),s}return y(i,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){if(this._isControlChanged(t)){var e=t.form.previousValue;e&&Q(e,this,!1),J(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}it(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&Q(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}}]),i}(j);return t.\u0275fac=function(e){return new(e||t)(n.Y36(A,10),n.Y36(k,10),n.Y36(p,10),n.Y36(Ct,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([St]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t}(),xt={provide:H,useExisting:(0,n.Gpc)(function(){return Rt})},Rt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,r){var o;return v(this,i),(o=e.call(this)).validators=t,o.asyncValidators=r,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new n.vpe,o._setValidators(t),o._setAsyncValidators(r),o}return y(i,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&($(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return J(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){Q(t.control||null,t,!1),ot(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,nt(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var i=e.control,n=t.form.get(e.path);i!==n&&(Q(i||null,e),n instanceof dt&&(J(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);et(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return $(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){X(this.form,this),this._oldForm&&$(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),i}(H);return t.\u0275fac=function(e){return new(e||t)(n.Y36(A,10),n.Y36(k,10))},t.\u0275dir=n.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&n.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([xt]),n.qOj,n.TTD]}),t}(),It={provide:j,useExisting:(0,n.Gpc)(function(){return Ot})},Ot=function(){var t=function(t){o(i,t);var e=s(i);function i(t,r,o,a,s){var u;return v(this,i),(u=e.call(this))._ngModelWarningConfig=s,u._added=!1,u.update=new n.vpe,u._ngModelWarningSent=!1,u._parent=t,u._setValidators(r),u._setAsyncValidators(o),u.valueAccessor=rt(0,a),u}return y(i,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),it(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"path",get:function(){return K(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),i}(j);return t.\u0275fac=function(e){return new(e||t)(n.Y36(H,13),n.Y36(A,10),n.Y36(k,10),n.Y36(p,10),n.Y36(Ct,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([It]),n.qOj,n.TTD]}),t._ngModelWarningSentOnce=!1,t}(),Pt={provide:p,useExisting:(0,n.Gpc)(function(){return Mt}),multi:!0};function Dt(t,e){return null==t?"".concat(e):(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var Mt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._optionMap=new Map,t._idCounter=0,t._compareWith=Object.is,t}return y(i,[{key:"compareWith",set:function(t){this._compareWith=t}},{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);var i=Dt(e,t);this.setProperty("value",i)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(i){e.value=e._getOptionValue(i),t(e.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,i=Array.from(this._optionMap.keys());e-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(i){var n=[];if(void 0!==i.selectedOptions)for(var r=i.selectedOptions,o=0;o1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),r=null,o=null;return null!=i&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(i)?(r=null!=i.validators?i.validators:null,o=null!=i.asyncValidators?i.asyncValidators:null,e=null!=i.updateOn?i.updateOn:void 0):(r=null!=i.validator?i.validator:null,o=null!=i.asyncValidator?i.asyncValidator:null)),new ft(n,{asyncValidators:o,updateOn:e,validators:r})}},{key:"control",value:function(t,e,i){return new dt(t,e,i)}},{key:"array",value:function(t,e,i){var n=this,r=t.map(function(t){return n._createControl(t)});return new pt(r,e,i)}},{key:"_reduceControls",value:function(t){var e=this,i={};return Object.keys(t).forEach(function(n){i[n]=e._createControl(t[n])}),i}},{key:"_createControl",value:function(t){return t instanceof dt||t instanceof ft||t instanceof pt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:function(){return new t},token:t,providedIn:Kt}),t}()},40084:function(t,e,i){"use strict";i.d(e,{XC:function(){return q},Bb:function(){return V},ZL:function(){return Y}});var n=i(24621),r=i(19861),a=i(11353),u=i(31572),c=i(71522),l=i(87570),h=i(55959),f=i(31450),p=i(31906),g=i(40878),m=i(87254),b=i(61511),w=i(2522),_=i(4253),A=i(75842),k=i(26899),T=i(16073),C=i(66283),S=i(90611),E=i(44689),x=i(43835),R=i(79996),I=i(66599),O=i(82628),P=i(22526),D=["panel"];function M(t,e){if(1&t&&(u.TgZ(0,"div",0,1),u.Hsn(2),u.qZA()),2&t){var i=e.id,n=u.oxw();u.Q6J("id",n.id)("ngClass",n._classList),u.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(i))}}var L=["*"],N=0,z=function t(e,i){v(this,t),this.source=e,this.option=i},F=(0,c.Kr)(function t(){v(this,t)}),Z=new u.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),B=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this))._changeDetectorRef=t,a._elementRef=n,a._activeOptionChanges=l.w.EMPTY,a.showPanel=!1,a._isOpen=!1,a.displayWith=null,a.optionSelected=new u.vpe,a.opened=new u.vpe,a.closed=new u.vpe,a.optionActivated=new u.vpe,a._classList={},a.id="mat-autocomplete-"+N++,a.inertGroups=(null==o?void 0:o.SAFARI)||!1,a._autoActiveFirstOption=!!r.autoActiveFirstOption,a}return y(i,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=(0,r.Ig)(t)}},{key:"classList",set:function(t){this._classList=t&&t.length?(0,r.du)(t).reduce(function(t,e){return t[e]=!0,t},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(e){t.optionActivated.emit({source:t,option:t.options.toArray()[e]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(t){var e=new z(this,t);this.optionSelected.emit(e)}},{key:"_getPanelAriaLabelledby",value:function(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_setVisibilityClasses",value:function(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.sBO),u.Y36(u.SBq),u.Y36(Z),u.Y36(a.t4))},t.\u0275dir=u.lG2({type:t,viewQuery:function(t,e){var i;(1&t&&(u.Gf(u.Rgc,7),u.Gf(D,5)),2&t)&&(u.iGM(i=u.CRH())&&(e.template=i.first),u.iGM(i=u.CRH())&&(e.panel=i.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.qOj]}),t}(),q=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._visibleClass="mat-autocomplete-visible",t._hiddenClass="mat-autocomplete-hidden",t}return i}(B);return e.\u0275fac=function(i){return(t||(t=u.n5z(e)))(i||e)},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){var n;(1&t&&(u.Suo(i,c.K7,5),u.Suo(i,c.ey,5)),2&t)&&(u.iGM(n=u.CRH())&&(e.optionGroups=n),u.iGM(n=u.CRH())&&(e.options=n))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u._Bn([{provide:c.HF,useExisting:e}]),u.qOj],ngContentSelectors:L,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(u.F$t(),u.YNc(0,M,3,4,"ng-template"))},directives:[b.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),e}(),U=new u.OlP("mat-autocomplete-scroll-strategy"),H={provide:U,deps:[w.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},j={provide:T.JU,useExisting:(0,u.Gpc)(function(){return Y}),multi:!0},G=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,g,m){var y=this;v(this,t),this._element=e,this._overlay=i,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=o,this._dir=s,this._formField=u,this._document=c,this._viewportRuler=g,this._defaults=m,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new h.xQ,this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,f.P)(function(){return y.autocomplete&&y.autocomplete.options?p.T.apply(void 0,d(y.autocomplete.options.map(function(t){return t.onSelectionChange}))):y._zone.onStable.pipe((0,S.q)(1),(0,E.w)(function(){return y.optionSelections}))}),this._scrollStrategy=a}return y(t,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=(0,r.Ig)(t)}},{key:"ngAfterViewInit",value:function(){var t=this,e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(function(){return e.addEventListener("blur",t._windowBlurHandler)})}},{key:"ngOnChanges",value:function(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var t=this;return(0,p.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,x.h)(function(){return t._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,x.h)(function(){return t._overlayAttached})):(0,g.of)()).pipe((0,R.U)(function(t){return t instanceof c.rN?t:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var t=this;return(0,p.T)((0,m.R)(this._document,"click"),(0,m.R)(this._document,"auxclick"),(0,m.R)(this._document,"touchend")).pipe((0,x.h)(function(e){var i=t._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,n=t._formField?t._formField._elementRef.nativeElement:null,r=t.connectedTo?t.connectedTo.elementRef.nativeElement:null;return t._overlayAttached&&i!==t._element.nativeElement&&(!n||!n.contains(i))&&(!r||!r.contains(i))&&!!t._overlayRef&&!t._overlayRef.overlayElement.contains(i)}))}},{key:"writeValue",value:function(t){var e=this;Promise.resolve(null).then(function(){return e._setTriggerValue(t)})}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this._element.nativeElement.disabled=t}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;if(e!==A.hY||(0,A.Vb)(t)||t.preventDefault(),this.activeOption&&e===A.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var i=this.autocomplete._keyManager.activeItem,n=e===A.LH||e===A.JH;this.panelOpen||e===A.Mf?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(t){var e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var t=this,e=this._zone.onStable.pipe((0,S.q)(1)),i=this.autocomplete.options.changes.pipe((0,I.b)(function(){return t._positionStrategy.reapplyLastPosition()}),(0,O.g)(0));return(0,p.T)(e,i).pipe((0,E.w)(function(){var e=t.panelOpen;return t._resetActiveItem(),t.autocomplete._setVisibility(),t.panelOpen&&(t._overlayRef.updatePosition(),e!==t.panelOpen&&t.autocomplete.opened.emit()),t.panelClosingActions}),(0,S.q)(1)).subscribe(function(e){return t._setValueAndClose(e)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(t){var e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}},{key:"_setValueAndClose",value:function(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(t){this.autocomplete.options.forEach(function(e){e!==t&&e.selected&&e.deselect()})}},{key:"_attachOverlay",value:function(){var t,e=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!(0,a.kV)(this._element.nativeElement));var i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new k.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,i.keydownEvents().subscribe(function(t){(t.keyCode===A.hY&&!(0,A.Vb)(t)||t.keyCode===A.LH&&(0,A.Vb)(t,"altKey"))&&(e._resetActiveItem(),e._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){e.panelOpen&&i&&i.updateSize({width:e._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var t;return new w.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}},{key:"_setStrategyPositions",value:function(t){var e,i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];e="above"===this.position?r:"below"===this.position?i:[].concat(i,r),t.withPositions(e)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}},{key:"_scrollToOption",value:function(t){var e=this.autocomplete,i=(0,c.CB)(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else if(e.panel){var n=e.options.toArray()[t];if(n){var r=n._getHostElement(),o=(0,c.jH)(r.offsetTop,r.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(o)}}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(w.aV),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(u.sBO),u.Y36(U),u.Y36(P.Is,8),u.Y36(C.G_,9),u.Y36(b.K0,8),u.Y36(_.rL),u.Y36(Z,8))},t.\u0275dir=u.lG2({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[u.TTD]}),t}(),Y=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",t}return i}(G);return e.\u0275fac=function(i){return(t||(t=u.n5z(e)))(i||e)},e.\u0275dir=u.lG2({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&u.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&u.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[u._Bn([j]),u.qOj]}),e}(),V=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[H],imports:[[w.U8,c.Ng,c.BQ,b.ez],_.ZD,c.Ng,c.BQ]}),t}()},41050:function(t,e,i){"use strict";i.d(e,{k:function(){return d},g:function(){return f}});var n=i(71522),r=i(24621),a=i(19861),u=i(43490),c=i(31572),l=0,h=(0,n.Id)(function t(){v(this,t)}),d=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a){var s;return v(this,i),(s=e.call(this))._ngZone=t,s._elementRef=n,s._ariaDescriber=r,s._renderer=o,s._animationMode=a,s._hasContent=!1,s._color="primary",s._overlap=!0,s.position="above after",s.size="medium",s._id=l++,s}return y(i,[{key:"color",get:function(){return this._color},set:function(t){this._setColor(t),this._color=t}},{key:"overlap",get:function(){return this._overlap},set:function(t){this._overlap=(0,a.Ig)(t)}},{key:"description",get:function(){return this._description},set:function(t){if(t!==this._description){var e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}},{key:"hidden",get:function(){return this._hidden},set:function(t){this._hidden=(0,a.Ig)(t)}},{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"ngOnChanges",value:function(t){var e=t.content;if(e){var i=e.currentValue;this._hasContent=null!=i&&"".concat(i).trim().length>0,this._updateTextContent()}}},{key:"ngOnDestroy",value:function(){var t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"_updateTextContent",value:function(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}},{key:"_createBadgeElement",value:function(){var t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id","mat-badge-content-".concat(this._id)),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}},{key:"_updateHostAriaDescription",value:function(t,e){var i=this._updateTextContent();e&&this._ariaDescriber.removeDescription(i,e),t&&this._ariaDescriber.describe(i,t)}},{key:"_setColor",value:function(t){if(t!==this._color){var e=this._elementRef.nativeElement.classList;this._color&&e.remove("mat-badge-".concat(this._color)),t&&e.add("mat-badge-".concat(t))}}},{key:"_clearExistingBadges",value:function(t){for(var e=this._elementRef.nativeElement,i=e.children.length;i--;){var n=e.children[i];n.classList.contains(t)&&e.removeChild(n)}}},{key:"_stringifyContent",value:function(){var t=this.content;return null==t?"":"".concat(t)}}]),i}(h);return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.R0b),c.Y36(c.SBq),c.Y36(r.$s),c.Y36(c.Qsj),c.Y36(u.Qb,8))},t.\u0275dir=c.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&c.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[c.qOj,c.TTD]}),t}(),f=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[r.rt,n.BQ],n.BQ]}),t}()},15980:function(t,e,i){"use strict";i.d(e,{lW:function(){return p},ot:function(){return g}});var n=i(71522),r=i(43490),a=i(31572),u=i(24621),c=["mat-button",""],l=["*"],h=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],d=(0,n.pj)((0,n.Id)((0,n.Kr)(function t(e){v(this,t),this._elementRef=e}))),p=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;v(this,i),(o=e.call(this,t))._focusMonitor=n,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=f(h);try{for(s.s();!(a=s.n()).done;){var u=a.value;o._hasHostAttributes(u)&&o._getHostElement().classList.add(u)}}catch(c){s.e(c)}finally{s.f()}return t.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return y(i,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n*,.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}),t}(),g=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[n.si,n.BQ],n.BQ]}),t}()},27439:function(t,e,i){"use strict";i.d(e,{a8:function(){return p},kc:function(){return f},dn:function(){return l},dk:function(){return g},QW:function(){return m},$j:function(){return d},n5:function(){return h}});var n=i(43490),r=i(71522),o=i(31572),a=["*",[["mat-card-footer"]]],s=["*","mat-card-footer"],u=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],c=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],l=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t}(),h=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t}(),d=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t}(),f=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t}(),p=function(){var t=function t(e){v(this,t),this._animationMode=e};return t.\u0275fac=function(e){return new(e||t)(o.Y36(n.Qb,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(o.F$t(a),o.Hsn(0),o.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}.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}),t}(),g=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:c,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(o.F$t(u),o.Hsn(0),o.TgZ(1,"div",0),o.Hsn(2,1),o.qZA(),o.Hsn(3,2))},encapsulation:2,changeDetection:0}),t}(),m=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.BQ],r.BQ]}),t}()},29236:function(t,e,i){"use strict";i.d(e,{oG:function(){return T},p9:function(){return S}});var n=i(19861),r=i(31572),a=i(16073),u=i(71522),c=i(43490),l=i(36337),h=i(24621),d=["input"],f=function(t){return{enterDuration:t}},p=["*"],g=new r.OlP("mat-checkbox-default-options",{providedIn:"root",factory:m});function m(){return{color:"accent",clickAction:"check-indeterminate"}}var b=0,w={color:"accent",clickAction:"check-indeterminate"},_={provide:a.JU,useExisting:(0,r.Gpc)(function(){return T}),multi:!0},A=function t(){v(this,t)},k=(0,u.sb)((0,u.pj)((0,u.Kr)((0,u.Id)(function t(e){v(this,t),this._elementRef=e})))),T=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o,a,s,u,c){var l;return v(this,i),(l=e.call(this,t))._changeDetectorRef=n,l._focusMonitor=o,l._ngZone=a,l._animationMode=u,l._options=c,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++b,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new r.vpe,l.indeterminateChange=new r.vpe,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=0,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l._options=l._options||w,l.color=l.defaultColor=l._options.color||w.color,l.tabIndex=parseInt(s)||0,l}return y(i,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(t){this._required=(0,n.Ig)(t)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){e||Promise.resolve().then(function(){t._onTouched(),t._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=(0,n.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=(0,n.Ig)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(t){var e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);var n=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){i.classList.remove(n)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var t=new A;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e,i=this,n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(function(){i._indeterminate=!1,i.indeterminateChange.emit(i._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(i)}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}]),i}(k);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(h.tE),r.Y36(r.R0b),r.$8M("tabindex"),r.Y36(c.Qb,8),r.Y36(g,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var i;(1&t&&(r.Gf(d,5),r.Gf(u.wG,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._inputElement=i.first),r.iGM(i=r.CRH())&&(e.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",null),r.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r._Bn([_]),r.qOj],ngContentSelectors:p,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"span",2),r.TgZ(3,"input",3,4),r.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.qZA(),r._UZ(7,"span",7),r.TgZ(8,"span",8),r.O4$(),r.TgZ(9,"svg",9),r._UZ(10,"path",10),r.qZA(),r.kcU(),r._UZ(11,"span",11),r.qZA(),r.qZA(),r.TgZ(12,"span",12,13),r.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),r.TgZ(14,"span",14),r._uU(15,"\xa0"),r.qZA(),r.Hsn(16),r.qZA(),r.qZA()),2&t){var i=r.MAs(1),n=r.MAs(13);r.uIk("for",e.inputId),r.xp6(2),r.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(1),r.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.xp6(2),r.Q6J("matRippleTrigger",i)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.VKq(19,f,"NoopAnimations"===e._animationMode?0:150))}},directives:[u.wG,l.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t}(),C=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),S=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[u.si,u.BQ,l.Q8,C],u.BQ,C]}),t}()},10033:function(t,e,i){"use strict";i.d(e,{HS:function(){return O},oH:function(){return F},qn:function(){return N},Hi:function(){return B}});var n=i(75842),r=i(31572),a=i(71522),u=i(19861),l=i(61511),h=i(43490),f=i(55959),p=i(31906),g=i(90611),m=i(25416),b=i(56238),w=i(24621),_=i(4230),A=i(66283),k=i(11353),T=i(22526),C=i(16073),S=["*"],E=new r.OlP("MatChipRemove"),x=new r.OlP("MatChipAvatar"),R=new r.OlP("MatChipTrailingIcon"),I=(0,a.sb)((0,a.pj)((0,a.Kr)(function t(e){v(this,t),this._elementRef=e}),"primary"),-1),O=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o,s,u,l,h,d){var p;return v(this,i),(p=e.call(this,t))._elementRef=t,p._ngZone=n,p._changeDetectorRef=u,p._hasFocus=!1,p.chipListSelectable=!0,p._chipListMultiple=!1,p._chipListDisabled=!1,p._selected=!1,p._selectable=!0,p._disabled=!1,p._removable=!0,p._onFocus=new f.xQ,p._onBlur=new f.xQ,p.selectionChange=new r.vpe,p.destroyed=new r.vpe,p.removed=new r.vpe,p._addHostClassName(),p._chipRippleTarget=l.createElement("div"),p._chipRippleTarget.classList.add("mat-chip-ripple"),p._elementRef.nativeElement.appendChild(p._chipRippleTarget),p._chipRipple=new a.IR(c(p),n,p._chipRippleTarget,o),p._chipRipple.setupTriggerEvents(t),p.rippleConfig=s||{},p._animationsDisabled="NoopAnimations"===h,p.tabIndex=null!=d&&parseInt(d)||-1,p}return y(i,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(t){var e=(0,u.Ig)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(t){this._value=t}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(t){this._selectable=(0,u.Ig)(t)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(t){this._disabled=(0,u.Ig)(t)}},{key:"removable",get:function(){return this._removable},set:function(t){this._removable=(0,u.Ig)(t)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):t.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(t){this.disabled?t.preventDefault():t.stopPropagation()}},{key:"_handleKeydown",value:function(t){if(!this.disabled)switch(t.keyCode){case n.yY:case n.ZH:this.remove(),t.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}},{key:"_blur",value:function(){var t=this;this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(function(){t._ngZone.run(function(){t._hasFocus=!1,t._onBlur.next({chip:t})})})}},{key:"_dispatchSelectionChange",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}]),i}(I);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(k.t4),r.Y36(a.Y2,8),r.Y36(r.sBO),r.Y36(l.K0),r.Y36(h.Qb,8),r.$8M("tabindex"))},t.\u0275dir=r.lG2({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){var n;(1&t&&(r.Suo(i,x,5),r.Suo(i,R,5),r.Suo(i,E,5)),2&t)&&(r.iGM(n=r.CRH())&&(e.avatar=n.first),r.iGM(n=r.CRH())&&(e.trailingIcon=n.first),r.iGM(n=r.CRH())&&(e.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(r.uIk("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),r.ekj("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._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:[r.qOj]}),t}(),P=new r.OlP("mat-chips-default-options"),D=(0,a.FD)(function t(e,i,n,r){v(this,t),this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r}),M=0,L=function t(e,i){v(this,t),this.source=e,this.value=i},N=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o,a,s,u,l){var h;return v(this,i),(h=e.call(this,u,a,s,l))._elementRef=t,h._changeDetectorRef=n,h._dir=o,h.ngControl=l,h.controlType="mat-chip-list",h._lastDestroyedChipIndex=null,h._destroyed=new f.xQ,h._uid="mat-chip-list-"+M++,h._tabIndex=0,h._userTabIndex=null,h._onTouched=function(){},h._onChange=function(){},h._multiple=!1,h._compareWith=function(t,e){return t===e},h._required=!1,h._disabled=!1,h.ariaOrientation="horizontal",h._selectable=!0,h.change=new r.vpe,h.valueChange=new r.vpe,h.ngControl&&(h.ngControl.valueAccessor=c(h)),h}return y(i,[{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=(0,u.Ig)(t),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){this.writeValue(t),this._value=t}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(t){this._disabled=(0,u.Ig)(t),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(t){var e=this;this._selectable=(0,u.Ig)(t),this.chips&&this.chips.forEach(function(t){return t.chipListSelectable=e._selectable})}},{key:"tabIndex",set:function(t){this._userTabIndex=t,this._tabIndex=t}},{key:"chipSelectionChanges",get:function(){return p.T.apply(void 0,d(this.chips.map(function(t){return t.selectionChange})))}},{key:"chipFocusChanges",get:function(){return p.T.apply(void 0,d(this.chips.map(function(t){return t._onFocus})))}},{key:"chipBlurChanges",get:function(){return p.T.apply(void 0,d(this.chips.map(function(t){return t._onBlur})))}},{key:"chipRemoveChanges",get:function(){return p.T.apply(void 0,d(this.chips.map(function(t){return t.destroyed})))}},{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new w.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,m.R)(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.tabOut.pipe((0,m.R)(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.chips.changes.pipe((0,b.O)(null),(0,m.R)(this._destroyed)).subscribe(function(){t.disabled&&Promise.resolve().then(function(){t._syncChipsState()}),t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new _.Ov(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"writeValue",value:function(t){this.chips&&this._setSelectionByValue(t,!1)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this.stateChanges.next()}},{key:"onContainerClick",value:function(t){this._originatesFromChip(t)||this.focus()}},{key:"focus",value:function(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}},{key:"_focusInput",value:function(t){this._chipInput&&this._chipInput.focus(t)}},{key:"_keydown",value:function(t){var e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(t){return t>=0&&t1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(t){return t.deselect()}),Array.isArray(t))t.forEach(function(t){return e._selectValue(t,i)}),this._sortValues();else{var n=this._selectValue(t,i);n&&i&&this._keyManager.setActiveItem(n)}}},{key:"_selectValue",value:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.chips.find(function(i){return null!=i.value&&e._compareWith(i.value,t)});return n&&(i?n.selectViaInteraction():n.select(),this._selectionModel.select(n)),n}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){(t.ngControl||t._value)&&(t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value,!1),t.stateChanges.next())})}},{key:"_clearSelection",value:function(t){this._selectionModel.clear(),this.chips.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(t){var e;e=Array.isArray(this.selected)?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.change.emit(new L(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var t=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){t.focused||t._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var t=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){t._tabIndex=t._userTabIndex||0,t._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){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)}},{key:"_listenToChipsSelection",value:function(){var t=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(e){e.source.selected?t._selectionModel.select(e.source):t._selectionModel.deselect(e.source),t.multiple||t.chips.forEach(function(e){!t._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&t._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var t=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(e){var i=t.chips.toArray().indexOf(e.chip);t._isValidIndex(i)&&t._keyManager.updateActiveItem(i),t.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){t._blur(),t.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var t=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(e){var i=e.chip,n=t.chips.toArray().indexOf(e.chip);t._isValidIndex(n)&&i._hasFocus&&(t._lastDestroyedChipIndex=n)})}},{key:"_originatesFromChip",value:function(t){for(var e=t.target;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(t){return t._hasFocus})}},{key:"_syncChipsState",value:function(){var t=this;this.chips&&this.chips.forEach(function(e){e._chipListDisabled=t._disabled,e._chipListMultiple=t.multiple})}}]),i}(D);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(T.Is,8),r.Y36(C.F,8),r.Y36(C.sg,8),r.Y36(a.rD),r.Y36(C.a5,10))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){var n;(1&t&&r.Suo(i,O,5),2&t)&&(r.iGM(n=r.CRH())&&(e.chips=n))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.Ikx("id",e._uid),r.uIk("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),r.ekj("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:A.Eo,useExisting:t}]),r.qOj],ngContentSelectors:S,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t}(),z=0,F=function(){var t=function(){function t(e,i){v(this,t),this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.vpe,this.placeholder="",this.id="mat-chip-list-input-"+z++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return y(t,[{key:"chipList",set:function(t){t&&(this._chipList=t,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(t){this._addOnBlur=(0,u.Ig)(t)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(t){this._disabled=(0,u.Ig)(t)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(t){if(t){if(t.keyCode!==n.Mf||(0,n.Vb)(t,"shiftKey")||this._chipList._allowFocusEscape(),t.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}},{key:"_keyup",value:function(t){!this._focusLastChipOnBackspace&&t.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(t){!this.inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(t){this.inputElement.focus(t)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(t){return!(0,n.Vb)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(P))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(r.Ikx("id",e.id),r.uIk("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.TTD]}),t}(),Z={separatorKeyCodes:[n.K5]},B=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[a.rD,{provide:P,useValue:Z}],imports:[[a.BQ]]}),t}()},71522:function(t,e,i){"use strict";i.d(e,{yN:function(){return C},mZ:function(){return S},_A:function(){return F},rD:function(){return J},sG:function(){return Z},K7:function(){return gt},HF:function(){return ht},Y2:function(){return at},BQ:function(){return R},X2:function(){return Q},uc:function(){return $},XK:function(){return K},ey:function(){return bt},Ng:function(){return At},rN:function(){return mt},nP:function(){return ct},us:function(){return lt},wG:function(){return st},si:function(){return ut},LF:function(){return G},IR:function(){return ot},CB:function(){return wt},jH:function(){return _t},pj:function(){return O},Kr:function(){return P},Id:function(){return I},FD:function(){return M},dB:function(){return L},sb:function(){return D},E0:function(){return W}});var r=i(31572),a=i(24621),u=i(22526),l=new r.GfV("12.0.5"),d=i(61511),f=i(19861),p=i(55959),g=i(48318),m=i(11353),b=i(56238),w=i(43490),_=i(75842);function A(t,e){if(1&t&&r._UZ(0,"mat-pseudo-checkbox",4),2&t){var i=r.oxw();r.Q6J("state",i.selected?"checked":"unchecked")("disabled",i.disabled)}}function k(t,e){if(1&t&&(r.TgZ(0,"span",5),r._uU(1),r.qZA()),2&t){var i=r.oxw();r.xp6(1),r.hij("(",i.group.label,")")}}var T=["*"],C=function(){var t=function t(){v(this,t)};return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),S=function(){var t=function t(){v(this,t)};return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),E=new r.GfV("12.0.5"),x=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),R=function(){var t=function(){function t(e,i,n){v(this,t),this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=i,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return y(t,[{key:"_getWindow",value:function(){var t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return(0,r.X6Q)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&E.full!==l.full&&console.warn("The Angular Material version ("+E.full+") does not match the Angular CDK version ("+l.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(a.qm),r.LFG(x,8),r.LFG(d.K0))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[u.vT],u.vT]}),t}();function I(t){return function(t){o(i,t);var e=s(i);function i(){var t;v(this,i);for(var n=arguments.length,r=new Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:0;return function(t){o(n,t);var i=s(n);function n(){var t;v(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0?i:t}}]),t}(),Z=new r.OlP("mat-date-formats");try{N="undefined"!=typeof Intl}catch(kt){N=!1}var B={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},q=j(31,function(t){return String(t+1)}),U={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function j(t,e){for(var i=Array(t),n=0;n9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(H.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return n(h(i.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(t,e,i){var n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(r.LFG(z,8),r.LFG(m.t4))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Y=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:F,useClass:G}],imports:[[m.ud]]}),t}(),V={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"}}},K=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:Z,useValue:V}],imports:[[Y]]}),t}(),J=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Q=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t}();function W(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe((0,b.O)(t)).subscribe(function(t){var n=t.length;X(e,"".concat(i,"-2-line"),!1),X(e,"".concat(i,"-3-line"),!1),X(e,"".concat(i,"-multi-line"),!1),2===n||3===n?X(e,"".concat(i,"-").concat(n,"-line"),!0):n>3&&X(e,"".concat(i,"-multi-line"),!0)})}function X(t,e,i){var n=t.nativeElement.classList;i?n.add(e):n.remove(e)}var $=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[R],R]}),t}(),tt=function(){function t(e,i,n){v(this,t),this._renderer=e,this.element=i,this.config=n,this.state=3}return y(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),et={enterDuration:450,exitDuration:400},it=(0,m.i$)({passive:!0}),nt=["mousedown","touchstart"],rt=["mouseup","mouseleave","touchend","touchcancel"],ot=function(){function t(e,i,n,r){v(this,t),this._target=e,this._ngZone=i,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,f.fI)(n))}return y(t,[{key:"fadeInRipple",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},et),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var a=n.radius||function(t,e,i){var n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}(t,e,r),s=t-r.left,u=e-r.top,c=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-a+"px",l.style.top=u-a+"px",l.style.height=2*a+"px",l.style.width=2*a+"px",null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new tt(this,l,n);return h.state=0,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var t=h===i._mostRecentTransientRipple;h.state=1,n.persistent||t&&i._isPointerDown||h.fadeOut()},c),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var i=t.element,n=Object.assign(Object.assign({},et),t.config.animation);i.style.transitionDuration="".concat(n.exitDuration,"ms"),i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=(0,f.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(nt))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(rt),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=(0,a.X6)(t),i=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,it)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(nt.forEach(function(e){t._triggerElement.removeEventListener(e,t,it)}),this._pointerUpEventsRegistered&&rt.forEach(function(e){t._triggerElement.removeEventListener(e,t,it)}))}}]),t}(),at=new r.OlP("mat-ripple-global-options"),st=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new ot(this,i,e,n)}return y(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){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}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(m.t4),r.Y36(at,8),r.Y36(w.Qb,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),ut=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[R,m.ud],R]}),t}(),ct=function(){var t=function t(e){v(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1};return t.\u0275fac=function(e){return new(e||t)(r.Y36(w.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&r.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t}(),lt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[R]]}),t}(),ht=new r.OlP("MAT_OPTION_PARENT_COMPONENT"),dt=I(function t(){v(this,t)}),ft=0,pt=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n,r;return v(this,i),(n=e.call(this))._labelId="mat-optgroup-label-"+ft++,n._inert=null!==(r=null==t?void 0:t.inertGroups)&&void 0!==r&&r,n}return i}(dt);return t.\u0275fac=function(e){return new(e||t)(r.Y36(ht,8))},t.\u0275dir=r.lG2({type:t,inputs:{label:"label"},features:[r.qOj]}),t}(),gt=new r.OlP("MatOptgroup"),vt=0,mt=function t(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];v(this,t),this.source=e,this.isUserInput=i},yt=function(){var t=function(){function t(e,i,n,o){v(this,t),this._element=e,this._changeDetectorRef=i,this._parent=n,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+vt++,this.onSelectionChange=new r.vpe,this._stateChanges=new p.xQ}return y(t,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=(0,f.Ig)(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){t.keyCode!==_.K5&&t.keyCode!==_.L_||(0,_.Vb)(t)||(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new mt(this,t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(void 0),r.Y36(pt))},t.\u0275dir=r.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t}(),bt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){return v(this,i),e.call(this,t,n,r,o)}return i}(yt);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(ht,8),r.Y36(gt,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),r.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[r.qOj],ngContentSelectors:T,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(t,e){1&t&&(r.F$t(),r.YNc(0,A,1,2,"mat-pseudo-checkbox",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,k,2,1,"span",2),r._UZ(4,"div",3)),2&t&&(r.Q6J("ngIf",e.multiple),r.xp6(3),r.Q6J("ngIf",e.group&&e.group._inert),r.xp6(1),r.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[d.O5,st,ct],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t}();function wt(t,e,i){if(i.length){for(var n=e.toArray(),r=i.toArray(),o=0,a=0;ai+n?Math.max(0,t-n+e):i}var At=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[ut,d.ez,R,lt]]}),t}()},15812:function(t,e,i){"use strict";i.d(e,{Mq:function(){return kt},hl:function(){return xt},FA:function(){return Ot},nW:function(){return It}});var r=i(24621),a=i(2522),u=i(26899),l=i(61511),d=i(31572),f=i(15980),p=i(4253),g=i(71522),m=i(55959),b=i(87570),w=i(31906),_=i(40878),A=i(75842),k=i(90611),T=i(56238),C=i(43835),S=i(19861),E=i(11353),x=i(10709),R=i(16073),I=i(66283),O=i(80340),P=i(22526),D=["mat-calendar-body",""];function M(t,e){if(1&t&&(d.TgZ(0,"tr",2),d.TgZ(1,"td",3),d._uU(2),d.qZA(),d.qZA()),2&t){var i=d.oxw();d.xp6(1),d.Udp("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),d.uIk("colspan",i.numCols),d.xp6(1),d.hij(" ",i.label," ")}}function L(t,e){if(1&t&&(d.TgZ(0,"td",7),d._uU(1),d.qZA()),2&t){var i=d.oxw(2);d.Udp("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),d.uIk("colspan",i._firstRowOffset),d.xp6(1),d.hij(" ",i._firstRowOffset>=i.labelMinRequiredCells?i.label:""," ")}}function N(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"td",8),d.NdJ("click",function(t){var e=d.CHM(i).$implicit;return d.oxw(2)._cellClicked(e,t)}),d.TgZ(1,"div",9),d._uU(2),d.qZA(),d._UZ(3,"div",10),d.qZA()}if(2&t){var n=e.$implicit,r=e.index,o=d.oxw().index,a=d.oxw();d.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),d.ekj("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",a._isActiveCell(o,r))("mat-calendar-body-range-start",a._isRangeStart(n.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",a._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(n.compareValue,o,r))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(n.compareValue,o,r))("mat-calendar-body-comparison-start",a._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",a._isInPreview(n.compareValue)),d.Q6J("ngClass",n.cssClasses)("tabindex",a._isActiveCell(o,r)?0:-1),d.uIk("data-mat-row",o)("data-mat-col",r)("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-selected",a._isSelected(n.compareValue)),d.xp6(1),d.ekj("mat-calendar-body-selected",a._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",a.todayValue===n.compareValue),d.xp6(1),d.hij(" ",n.displayValue," ")}}function z(t,e){if(1&t&&(d.TgZ(0,"tr",4),d.YNc(1,L,2,6,"td",5),d.YNc(2,N,4,46,"td",6),d.qZA()),2&t){var i=e.$implicit,n=e.index,r=d.oxw();d.xp6(1),d.Q6J("ngIf",0===n&&r._firstRowOffset),d.xp6(1),d.Q6J("ngForOf",i)}}function F(t,e){if(1&t&&(d.TgZ(0,"th",5),d._uU(1),d.qZA()),2&t){var i=e.$implicit;d.uIk("aria-label",i.long),d.xp6(1),d.Oqu(i.narrow)}}var Z=["*"];function B(t,e){}function q(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"mat-month-view",5),d.NdJ("activeDateChange",function(t){return d.CHM(i),d.oxw().activeDate=t})("_userSelection",function(t){return d.CHM(i),d.oxw()._dateSelected(t)}),d.qZA()}if(2&t){var n=d.oxw();d.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)}}function U(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"mat-year-view",6),d.NdJ("activeDateChange",function(t){return d.CHM(i),d.oxw().activeDate=t})("monthSelected",function(t){return d.CHM(i),d.oxw()._monthSelectedInYearView(t)})("selectedChange",function(t){return d.CHM(i),d.oxw()._goToDateInView(t,"month")}),d.qZA()}if(2&t){var n=d.oxw();d.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function H(t,e){if(1&t){var i=d.EpF();d.TgZ(0,"mat-multi-year-view",7),d.NdJ("activeDateChange",function(t){return d.CHM(i),d.oxw().activeDate=t})("yearSelected",function(t){return d.CHM(i),d.oxw()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return d.CHM(i),d.oxw()._goToDateInView(t,"year")}),d.qZA()}if(2&t){var n=d.oxw();d.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function j(t,e){}var G=["button"];function Y(t,e){1&t&&(d.O4$(),d.TgZ(0,"svg",3),d._UZ(1,"path",4),d.qZA())}var V=[[["","matDatepickerToggleIcon",""]]],K=["[matDatepickerToggleIcon]"],J=function(){var t=function(){function t(){v(this,t),this.changes=new m.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return y(t,[{key:"formatYearRange",value:function(t,e){return"".concat(t," \u2013 ").concat(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=d.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Q=function t(e,i,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,s=arguments.length>6?arguments[6]:void 0;v(this,t),this.value=e,this.displayValue=i,this.ariaLabel=n,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s},W=function(){var t=function(){function t(e,i){var n=this;v(this,t),this._elementRef=e,this._ngZone=i,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new d.vpe,this.previewChange=new d.vpe,this._enterHandler=function(t){if(n._skipNextFocus&&"focus"===t.type)n._skipNextFocus=!1;else if(t.target&&n.isRange){var e=n._getCellFromElement(t.target);e&&n._ngZone.run(function(){return n.previewChange.emit({value:e.enabled?e:null,event:t})})}},this._leaveHandler=function(t){null!==n.previewEnd&&n.isRange&&t.target&&X(t.target)&&n._ngZone.run(function(){return n.previewChange.emit({value:null,event:t})})},i.runOutsideAngular(function(){var t=e.nativeElement;t.addEventListener("mouseenter",n._enterHandler,!0),t.addEventListener("focus",n._enterHandler,!0),t.addEventListener("mouseleave",n._leaveHandler,!0),t.addEventListener("blur",n._leaveHandler,!0)})}return y(t,[{key:"_cellClicked",value:function(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}},{key:"_isSelected",value:function(t){return this.startValue===t||this.endValue===t}},{key:"ngOnChanges",value:function(t){var e=t.numCols,i=this.rows,n=this.numCols;(t.rows||e)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!e&&this._cellWidth||(this._cellWidth=100/n+"%")}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(t,e){var i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}},{key:"_focusActiveCell",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,k.q)(1)).subscribe(function(){var i=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(t._skipNextFocus=!0),i.focus())})})}},{key:"_isRangeStart",value:function(t){return $(t,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(t){return tt(t,this.startValue,this.endValue)}},{key:"_isInRange",value:function(t){return et(t,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(t){return $(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(t,e,i){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;var n=this.rows[e][i-1];if(!n){var r=this.rows[e-1];n=r&&r[r.length-1]}return n&&!this._isRangeEnd(n.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(t,e,i){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;var n=this.rows[e][i+1];if(!n){var r=this.rows[e+1];n=r&&r[0]}return n&&!this._isRangeStart(n.compareValue)}},{key:"_isComparisonEnd",value:function(t){return tt(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(t){return et(t,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}},{key:"_isPreviewStart",value:function(t){return $(t,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(t){return tt(t,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(t){return et(t,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(t){var e;if(X(t)?e=t:X(t.parentNode)&&(e=t.parentNode),e){var i=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(i&&n)return this.rows[parseInt(i)][parseInt(n)]}return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(d.SBq),d.Y36(d.R0b))},t.\u0275cmp=d.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[d.TTD],attrs:D,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(d.YNc(0,M,3,6,"tr",0),d.YNc(1,z,3,2,"tr",1)),2&t&&(d.Q6J("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t}();function X(t){return"TD"===t.nodeName}function $(t,e,i){return null!==i&&e!==i&&t=e&&t===i}function et(t,e,i,n){return n&&null!==e&&null!==i&&e!==i&&t>=e&&t<=i}var it=function t(e,i){v(this,t),this.start=e,this.end=i},nt=function(){var t=function(){function t(e,i){v(this,t),this.selection=e,this._adapter=i,this._selectionChanged=new m.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}return y(t,[{key:"updateSelection",value:function(t,e){var i=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:i})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.LFG(void 0),d.LFG(g._A))},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac}),t}(),rt=function(){var t=function(t){o(i,t);var e=s(i);function i(t){return v(this,i),e.call(this,null,t)}return y(i,[{key:"add",value:function(t){n(h(i.prototype),"updateSelection",this).call(this,t,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var t=new i(this._adapter);return t.updateSelection(this.selection,this),t}}]),i}(nt);return t.\u0275fac=function(e){return new(e||t)(d.LFG(g._A))},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac}),t}(),ot={provide:nt,deps:[[new d.FiY,new d.tp0,nt],g._A],useFactory:function(t,e){return t||new rt(e)}},at=new d.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY"),st=function(){var t=function(){function t(e,i,n,r,o){v(this,t),this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=n,this._dir=r,this._rangeStrategy=o,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new d.vpe,this._userSelection=new d.vpe,this.activeDateChange=new d.vpe,this._activeDate=this._dateAdapter.today()}return y(t,[{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof it?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,T.O)(null)).subscribe(function(){return t._init()})}},{key:"ngOnChanges",value:function(t){var e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(t){var e,i,n=t.value,r=this._dateAdapter.getYear(this.activeDate),o=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.createDate(r,o,n);this._selected instanceof it?(e=this._getDateInCurrentMonth(this._selected.start),i=this._getDateInCurrentMonth(this._selected.end)):e=i=this._getDateInCurrentMonth(this._selected),e===n&&i===n||this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,i=this._isRtl();switch(t.keyCode){case A.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case A.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case A.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case A.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case A.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case A.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case A.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case A.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case A.K5:case A.L_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case A.hY:return void(null==this._previewEnd||(0,A.Vb)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){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();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(t){this._matCalendarBody._focusActiveCell(t)}},{key:"_previewChanged",value:function(t){var e=t.event,i=t.value;if(this._rangeStrategy){var n=this._rangeStrategy.createPreview(i?i.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow"),i=this._dateAdapter.getDayOfWeekNames("long").map(function(t,i){return{long:t,narrow:e[i]}});this._weekdays=i.slice(t).concat(i.slice(0,t))}},{key:"_createWeekCells",value:function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}},{key:"_getDateInCurrentMonth",value:function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}},{key:"_hasSameMonthAndYear",value:function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}},{key:"_getCellCompareValue",value:function(t){if(t){var e=this._dateAdapter.getYear(t),i=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,i,n).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(t){t instanceof it?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(d.sBO),d.Y36(g.sG,8),d.Y36(g._A,8),d.Y36(P.Is,8),d.Y36(at,8))},t.\u0275cmp=d.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var i;(1&t&&d.Gf(W,5),2&t)&&(d.iGM(i=d.CRH())&&(e._matCalendarBody=i.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:[d.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(d.TgZ(0,"table",0),d.TgZ(1,"thead",1),d.TgZ(2,"tr"),d.YNc(3,F,2,2,"th",2),d.qZA(),d.TgZ(4,"tr"),d._UZ(5,"th",3),d.qZA(),d.qZA(),d.TgZ(6,"tbody",4),d.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),d.qZA(),d.qZA()),2&t&&(d.xp6(3),d.Q6J("ngForOf",e._weekdays),d.xp6(3),d.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[l.sg,W],encapsulation:2,changeDetection:0}),t}(),ut=function(){var t=function(){function t(e,i,n){v(this,t),this._changeDetectorRef=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new d.vpe,this.yearSelected=new d.vpe,this.activeDateChange=new d.vpe,this._activeDate=this._dateAdapter.today()}return y(t,[{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),ct(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof it?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,T.O)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var i=0,n=[];i<24;i++)n.push(e+i),4==n.length&&(this._years.push(n.map(function(e){return t._createCellForYear(e)})),n=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));this.selectedChange.emit(this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,i=this._isRtl();switch(t.keyCode){case A.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case A.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case A.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case A.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case A.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case A.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case A.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case A.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case A.K5:case A.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_getActiveCell",value:function(){return lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(t){var e=this._dateAdapter.createDate(t,0,1),i=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new Q(t,i,i,this._shouldEnableYear(t),n)}},{key:"_shouldEnableYear",value:function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&ti||t===i&&e>n}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(t,e){if(this.minDate){var i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t enter-dropdown",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,x.F4)([(0,x.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,x.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,x.eR)("void => enter-dialog",(0,x.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,x.F4)([(0,x.oB)({opacity:0,transform:"scale(0.7)"}),(0,x.oB)({transform:"none",opacity:1})]))),(0,x.eR)("* => void",(0,x.jt)("100ms linear",(0,x.oB)({opacity:0})))]),fadeInCalendar:(0,x.X$)("fadeInCalendar",[(0,x.SB)("void",(0,x.oB)({opacity:0})),(0,x.SB)("enter",(0,x.oB)({opacity:1})),(0,x.eR)("void => *",(0,x.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},mt=0,yt=new d.OlP("mat-datepicker-scroll-strategy"),bt={provide:yt,deps:[a.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},wt=(0,g.pj)(function t(e){v(this,t),this._elementRef=e}),_t=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s){var u;return v(this,i),(u=e.call(this,t))._changeDetectorRef=n,u._globalModel=r,u._dateAdapter=o,u._rangeSelectionStrategy=a,u._subscriptions=new b.w,u._animationDone=new m.xQ,u._actionsPortal=null,u._closeButtonText=s.closeCalendarLabel,u}return y(i,[{key:"ngOnInit",value:function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}},{key:"ngAfterViewInit",value:function(){var t=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(t){var e=this._model.selection,i=t.value,n=e instanceof it;if(n&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(i,e,t.event);this._model.updateSelection(r,this)}else!i||!n&&this._dateAdapter.sameDate(i,e)||this._model.add(i);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}]),i}(wt);return t.\u0275fac=function(e){return new(e||t)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(nt),d.Y36(g._A),d.Y36(at,8),d.Y36(J))},t.\u0275cmp=d.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var i;(1&t&&d.Gf(gt,5),2&t)&&(d.iGM(i=d.CRH())&&(e._calendar=i.first))},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&d.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(d.d8E("@transformPanel",e._animationState),d.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[d.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",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(t,e){1&t&&(d.TgZ(0,"div",0),d.TgZ(1,"mat-calendar",1),d.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),d.qZA(),d.YNc(2,j,0,0,"ng-template",2),d.TgZ(3,"button",3),d.NdJ("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),d._uU(4),d.qZA(),d.qZA()),2&t&&(d.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),d.xp6(1),d.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),d.xp6(1),d.Q6J("cdkPortalOutlet",e._actionsPortal),d.xp6(1),d.ekj("cdk-visually-hidden",!e._closeButtonFocused),d.Q6J("color",e.color||"primary"),d.xp6(1),d.Oqu(e._closeButtonText))},directives:[r.mK,gt,l.mk,u.Pl,f.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[vt.transformPanel,vt.fadeInCalendar]},changeDetection:0}),t}(),At=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c){v(this,t),this._overlay=i,this._ngZone=n,this._viewContainerRef=r,this._dateAdapter=a,this._dir=s,this._model=c,this._inputStateChanges=b.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new d.vpe,this.monthSelected=new d.vpe,this.viewChanged=new d.vpe(!0),this.openedStream=new d.vpe,this.closedStream=new d.vpe,this._opened=!1,this.id="mat-datepicker-"+mt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new m.xQ,this._scrollStrategy=o}return y(t,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(t){this._color=t}},{key:"touchUi",get:function(){return this._touchUi},set:function(t){this._touchUi=(0,S.Ig)(t)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(t){var e=(0,S.Ig)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(t){this._restoreFocus=(0,S.Ig)(t)}},{key:"panelClass",get:function(){return this._panelClass},set:function(t){this._panelClass=(0,S.du)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){(0,S.Ig)(t)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(t){var e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){var i=this._overlayRef.getConfig().positionStrategy;i instanceof a._G&&(this._setConnectedPositions(i),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(t){this._model.add(t)}},{key:"_selectYear",value:function(t){this.yearSelected.emit(t)}},{key:"_selectMonth",value:function(t){this.monthSelected.emit(t)}},{key:"_viewChanged",value:function(t){this.viewChanged.emit(t)}},{key:"registerInput",value:function(t){var e=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(function(){return e.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(t){this._actionsPortal=t}},{key:"removeActions",value:function(t){t===this._actionsPortal&&(this._actionsPortal=null)}},{key:"open",value:function(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,E.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var t=this;if(this._opened){if(this._componentRef){var e=this._componentRef.instance;e._startExitAnimation(),e._animationDone.pipe((0,k.q)(1)).subscribe(function(){return t._destroyOverlay()})}var i=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(i)):i()}}},{key:"_applyPendingSelection",value:function(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}},{key:"_forwardContentValues",value:function(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}},{key:"_openOverlay",value:function(){var t=this;this._destroyOverlay();var e=this.touchUi,i=this.datepickerInput.getOverlayLabelId(),n=new u.C5(_t,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new a.X_({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")})),o=r.overlayElement;o.setAttribute("role","dialog"),i&&o.setAttribute("aria-labelledby",i),e&&o.setAttribute("aria-modal","true"),this._getCloseStream(r).subscribe(function(e){e&&e.preventDefault(),t.close()}),this._componentRef=r.attach(n),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(function(){return r.updatePosition()})}},{key:"_destroyOverlay",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}},{key:"_getDialogStrategy",value:function(){return this._overlay.position().global().centerHorizontally().centerVertically()}},{key:"_getDropdownStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}},{key:"_setConnectedPositions",value:function(t){var e="end"===this.xPosition?"end":"start",i="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",r="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:r},{originX:i,originY:r,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:r}])}},{key:"_getCloseStream",value:function(t){var e=this;return(0,w.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,C.h)(function(t){return t.keyCode===A.hY&&!(0,A.Vb)(t)||e.datepickerInput&&(0,A.Vb)(t,"altKey")&&t.keyCode===A.LH})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Y36(d.SBq),d.Y36(a.aV),d.Y36(d.R0b),d.Y36(d.s_b),d.Y36(yt),d.Y36(g._A,8),d.Y36(P.Is,8),d.Y36(l.K0,8),d.Y36(nt))},t.\u0275dir=d.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[d.TTD]}),t}(),kt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(At);return e.\u0275fac=function(i){return(t||(t=d.n5z(e)))(i||e)},e.\u0275cmp=d.Xpm({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[d._Bn([ot,{provide:At,useExisting:e}]),d.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),e}(),Tt=function t(e,i){v(this,t),this.target=e,this.targetElement=i,this.value=this.target.value},Ct=function(){var t=function(){function t(e,i,n){var r=this;v(this,t),this._elementRef=e,this._dateAdapter=i,this._dateFormats=n,this.dateChange=new d.vpe,this.dateInput=new d.vpe,this.stateChanges=new m.xQ,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=b.w.EMPTY,this._localeSubscription=b.w.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._filterValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value));return!e||r._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value)),i=r._getMinDate();return!i||!e||r._dateAdapter.compareDate(i,e)<=0?null:{matDatepickerMin:{min:i,actual:e}}},this._maxValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value)),i=r._getMaxDate();return!i||!e||r._dateAdapter.compareDate(i,e)>=0?null:{matDatepickerMax:{max:i,actual:e}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(function(){r._assignValueProgrammatically(r.value)})}return y(t,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(t){this._assignValueProgrammatically(t)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(t){var e=(0,S.Ig)(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&i.blur&&i.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(t){var e=this;this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(t){if(e._shouldHandleChangeEvent(t)){var i=e._getValueFromModel(t.selection);e._lastValueValid=e._isValidValue(i),e._cvaOnChange(i),e._onTouched(),e._formatValue(i),e.dateInput.emit(new Tt(e,e._elementRef.nativeElement)),e.dateChange.emit(new Tt(e,e._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(t){(function(t,e){for(var i=0,n=Object.keys(t);i enter",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({transform:"none",opacity:1}))),(0,w.eR)("* => void, * => exit",(0,w.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,w.oB)({opacity:0})))])},S=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,s,u){var c;return v(this,i),(c=e.call(this))._elementRef=t,c._focusTrapFactory=n,c._changeDetectorRef=r,c._config=s,c._focusMonitor=u,c._animationStateChanged=new a.vpe,c._elementFocusedBeforeDialogWasOpened=null,c._closeInteractionType=null,c.attachDomPortal=function(t){return c._portalOutlet.hasAttached(),c._portalOutlet.attachDomPortal(t)},c._ariaLabelledBy=s.ariaLabelledBy||null,c._document=o,c}return y(i,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=(0,b.ht)(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,b.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=(0,b.ht)();return t===e||t.contains(e)}}]),i}(r.en);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(A.qV),a.Y36(a.sBO),a.Y36(l.K0,8),a.Y36(T),a.Y36(A.tE))},t.\u0275dir=a.lG2({type:t,viewQuery:function(t,e){var i;(1&t&&a.Gf(r.Pl,7),2&t)&&(a.iGM(i=a.CRH())&&(e._portalOutlet=i.first))},features:[a.qOj]}),t}(),E=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._state="enter",t}return y(i,[{key:"_onAnimationDone",value:function(t){var e=t.toState,i=t.totalTime;"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}},{key:"_onAnimationStart",value:function(t){var e=t.toState,i=t.totalTime;"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:i})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),i}(S);return e.\u0275fac=function(i){return(t||(t=a.n5z(e)))(i||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&a.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(a.Ikx("id",e._id),a.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),a.d8E("@dialogContainer",e._state))},features:[a.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&a.YNc(0,k,0,0,"ng-template",0)},directives:[r.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:[C.dialogContainer]}}),e}(),x=0,R=function(){function t(e,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+x++;v(this,t),this._overlayRef=e,this._containerInstance=i,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new h.xQ,this._afterClosed=new h.xQ,this._beforeClosed=new h.xQ,this._state=0,i._id=r,i._animationStateChanged.pipe((0,p.h)(function(t){return"opened"===t.state}),(0,g.q)(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),i._animationStateChanged.pipe((0,p.h)(function(t){return"closed"===t.state}),(0,g.q)(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),e.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),e.keydownEvents().pipe((0,p.h)(function(t){return t.keyCode===_.hY&&!n.disableClose&&!(0,_.Vb)(t)})).subscribe(function(t){t.preventDefault(),I(n,"keyboard")}),e.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():I(n,"mouse")})}return y(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe((0,p.h)(function(t){return"closing"===t.state}),(0,g.q)(1)).subscribe(function(i){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout(function(){return e._finishDialogClose()},i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function I(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}var O=new a.OlP("MatDialogData"),P=new a.OlP("mat-dialog-default-options"),D=new a.OlP("mat-dialog-scroll-strategy"),M={provide:D,deps:[n.aV],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},L=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c){var l=this;v(this,t),this._overlay=e,this._injector=i,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new h.xQ,this._afterOpenedAtThisLevel=new h.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(function(){return l.openDialogs.length?l._getAfterAllClosed():l._getAfterAllClosed().pipe((0,m.O)(void 0))}),this._scrollStrategy=a}return y(t,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var i=this;(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new T)).id&&this.getDialogById(e.id);var n=this._createOverlay(e),r=this._attachDialogContainer(n,e),o=this._attachDialogContent(t,r,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return i._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(e){return e.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var i=a.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:T,useValue:e}]}),n=new r.C5(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}},{key:"_attachDialogContent",value:function(t,e,i,n){var o=new this._dialogRefConstructor(i,e,n.id);if(t instanceof a.Rgc)e.attachTemplatePortal(new r.UE(t,null,{$implicit:n.data,dialogRef:o}));else{var s=this._createInjector(n,o,e),u=e.attachComponentPortal(new r.C5(t,n.viewContainerRef,s));o.componentInstance=u.instance}return o.updateSize(n.width,n.height).updatePosition(n.position),o}},{key:"_createInjector",value:function(t,e,i){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(c.Is,null,a.XFs.Optional)||r.push({provide:c.Is,useValue:{value:t.direction,change:(0,f.of)()}}),a.zs3.create({parent:n||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,i=e.length-1;i>-1;i--){var n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(n.aV),a.Y36(a.zs3),a.Y36(void 0),a.Y36(void 0),a.Y36(n.Xj),a.Y36(void 0),a.Y36(a.DyG),a.Y36(a.DyG),a.Y36(a.OlP))},t.\u0275dir=a.lG2({type:t}),t}(),N=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u){return v(this,i),e.call(this,t,n,o,s,u,a,R,E,O)}return i}(L);return t.\u0275fac=function(e){return new(e||t)(a.LFG(n.aV),a.LFG(a.zs3),a.LFG(l.Ye,8),a.LFG(P,8),a.LFG(D),a.LFG(t,12),a.LFG(n.Xj))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),z=0,F=function(){var t=function(){function t(e,i,n){v(this,t),this._dialogRef=e,this._elementRef=i,this._dialog=n,this.id="mat-dialog-title-"+z++}return y(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=function(t,e){for(var i=t.nativeElement.parentElement;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(function(t){return t.id===i.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(R,8),a.Y36(a.SBq),a.Y36(N))},t.\u0275dir=a.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&a.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),Z=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),B=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}(),q=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[N,M],imports:[[n.U8,r.eL,u.BQ],u.BQ]}),t}()},27679:function(t,e,i){"use strict";i.d(e,{d:function(){return a},t:function(){return s}});var n=i(19861),r=i(71522),o=i(31572),a=function(){var t=function(){function t(){v(this,t),this._vertical=!1,this._inset=!1}return y(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=(0,n.Ig)(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=(0,n.Ig)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(o.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),o.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},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}),t}(),s=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.BQ],r.BQ]}),t}()},45001:function(t,e,i){"use strict";i.d(e,{pp:function(){return J},To:function(){return Q},ib:function(){return G},HS:function(){return U},u4:function(){return V},yz:function(){return Y},yK:function(){return K}});var r=i(31572),a=i(19861),u=i(55959),c=i(87570),l=i(4230),d=0,f=new r.OlP("CdkAccordion"),p=function(){var t=function(){function t(){v(this,t),this._stateChanges=new u.xQ,this._openCloseAllActions=new u.xQ,this.id="cdk-accordion-"+d++,this._multi=!1}return y(t,[{key:"multi",get:function(){return this._multi},set:function(t){this._multi=(0,a.Ig)(t)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(t){this._stateChanges.next(t)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[r._Bn([{provide:f,useExisting:t}]),r.TTD]}),t}(),g=0,m=function(){var t=function(){function t(e,i,n){var o=this;v(this,t),this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=n,this._openCloseAllSubscription=c.w.EMPTY,this.closed=new r.vpe,this.opened=new r.vpe,this.destroyed=new r.vpe,this.expandedChange=new r.vpe,this.id="cdk-accordion-child-"+g++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(t,e){o.accordion&&!o.accordion.multi&&o.accordion.id===e&&o.id!==t&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return y(t,[{key:"expanded",get:function(){return this._expanded},set:function(t){t=(0,a.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,a.Ig)(t)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(f,12),r.Y36(r.sBO),r.Y36(l.A8))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[r._Bn([{provide:f,useValue:void 0}])]}),t}(),b=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),w=i(26899),_=i(61511),A=i(71522),k=i(24621),T=i(98720),C=i(56238),S=i(43835),E=i(90611),x=i(75842),R=i(43490),I=i(70653),O=i(31906),P=i(10709),D=["body"];function M(t,e){}var L=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],N=["mat-expansion-panel-header","*","mat-action-row"];function z(t,e){if(1&t&&r._UZ(0,"span",2),2&t){var i=r.oxw();r.Q6J("@indicatorRotate",i._getExpandedState())}}var F=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Z=["mat-panel-title","mat-panel-description","*"],B=new r.OlP("MAT_ACCORDION"),q={indicatorRotate:(0,P.X$)("indicatorRotate",[(0,P.SB)("collapsed, void",(0,P.oB)({transform:"rotate(0deg)"})),(0,P.SB)("expanded",(0,P.oB)({transform:"rotate(180deg)"})),(0,P.eR)("expanded <=> collapsed, void => collapsed",(0,P.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,P.X$)("bodyExpansion",[(0,P.SB)("collapsed, void",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("expanded",(0,P.oB)({height:"*",visibility:"visible"})),(0,P.eR)("expanded <=> collapsed, void => collapsed",(0,P.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},U=function(){var t=function t(e){v(this,t),this._template=e};return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t}(),H=0,j=new r.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),G=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o,a,s,c,l){var h;return v(this,i),(h=e.call(this,t,n,o))._viewContainerRef=a,h._animationMode=c,h._hideToggle=!1,h.afterExpand=new r.vpe,h.afterCollapse=new r.vpe,h._inputChanges=new u.xQ,h._headerId="mat-expansion-panel-header-"+H++,h._bodyAnimationDone=new u.xQ,h.accordion=t,h._document=s,h._bodyAnimationDone.pipe((0,T.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){"void"!==t.fromState&&("expanded"===t.toState?h.afterExpand.emit():"collapsed"===t.toState&&h.afterCollapse.emit())}),l&&(h.hideToggle=l.hideToggle),h}return y(i,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=(0,a.Ig)(t)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var t=this;this._lazyContent&&this.opened.pipe((0,C.O)(null),(0,S.h)(function(){return t.expanded&&!t._portal}),(0,E.q)(1)).subscribe(function(){t._portal=new w.UE(t._lazyContent._template,t._viewContainerRef)})}},{key:"ngOnChanges",value:function(t){this._inputChanges.next(t)}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}]),i}(m);return t.\u0275fac=function(e){return new(e||t)(r.Y36(B,12),r.Y36(r.sBO),r.Y36(l.A8),r.Y36(r.s_b),r.Y36(_.K0),r.Y36(R.Qb,8),r.Y36(j,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){var n;(1&t&&r.Suo(i,U,5),2&t)&&(r.iGM(n=r.CRH())&&(e._lazyContent=n.first))},viewQuery:function(t,e){var i;(1&t&&r.Gf(D,5),2&t)&&(r.iGM(i=r.CRH())&&(e._body=i.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&r.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[r._Bn([{provide:B,useValue:void 0}]),r.qOj,r.TTD],ngContentSelectors:N,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(r.F$t(L),r.Hsn(0),r.TgZ(1,"div",0,1),r.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),r.TgZ(3,"div",2),r.Hsn(4,1),r.YNc(5,M,0,0,"ng-template",3),r.qZA(),r.Hsn(6,2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),r.uIk("aria-labelledby",e._headerId),r.xp6(4),r.Q6J("cdkPortalOutlet",e._portal))},directives:[w.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[q.bodyExpansion]},changeDetection:0}),t}(),Y=function(){var t=function(){function t(e,i,n,r,o,a){var s=this;v(this,t),this.panel=e,this._element=i,this._focusMonitor=n,this._changeDetectorRef=r,this._animationMode=a,this._parentChangeSubscription=c.w.EMPTY;var u=e.accordion?e.accordion._stateChanges.pipe((0,S.h)(function(t){return!(!t.hideToggle&&!t.togglePosition)})):I.E;this._parentChangeSubscription=(0,O.T)(e.opened,e.closed,u,e._inputChanges.pipe((0,S.h)(function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)}))).subscribe(function(){return s._changeDetectorRef.markForCheck()}),e.closed.pipe((0,S.h)(function(){return e._containsFocus()})).subscribe(function(){return n.focusVia(i,"program")}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return y(t,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(t){switch(t.keyCode){case x.L_:case x.K5:(0,x.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._element).subscribe(function(e){e&&t.panel.accordion&&t.panel.accordion._handleHeaderFocus(t)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(G,1),r.Y36(r.SBq),r.Y36(k.tE),r.Y36(r.sBO),r.Y36(j,8),r.Y36(R.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.uIk("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),r.Udp("height",e._getHeaderHeight()),r.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:Z,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(r.F$t(F),r.TgZ(0,"span",0),r.Hsn(1),r.Hsn(2,1),r.Hsn(3,2),r.qZA(),r.YNc(4,z,1,1,"span",1)),2&t&&(r.xp6(4),r.Q6J("ngIf",e._showToggle()))},directives:[_.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}[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:""}\n'],encapsulation:2,data:{animation:[q.indicatorRotate]},changeDetection:0}),t}(),V=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t}(),K=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t}(),J=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._ownHeaders=new r.n_E,t._hideToggle=!1,t.displayMode="default",t.togglePosition="after",t}return y(i,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(t){this._hideToggle=(0,a.Ig)(t)}},{key:"ngAfterContentInit",value:function(){var t=this;this._headers.changes.pipe((0,C.O)(this._headers)).subscribe(function(e){t._ownHeaders.reset(e.filter(function(e){return e.panel.accordion===t})),t._ownHeaders.notifyOnChanges()}),this._keyManager=new k.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(t){this._keyManager.onKeydown(t)}},{key:"_handleHeaderFocus",value:function(t){this._keyManager.updateActiveItem(t)}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),i}(p);return e.\u0275fac=function(i){return(t||(t=r.n5z(e)))(i||e)},e.\u0275dir=r.lG2({type:e,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){var n;(1&t&&r.Suo(i,Y,5),2&t)&&(r.iGM(n=r.CRH())&&(e._headers=n))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[r._Bn([{provide:B,useExisting:e}]),r.qOj]}),e}(),Q=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[_.ez,A.BQ,b,w.eL]]}),t}()},66283:function(t,e,i){"use strict";i.d(e,{G_:function(){return it},TO:function(){return U},KE:function(){return nt},Eo:function(){return j},lN:function(){return rt},bx:function(){return V},hX:function(){return K},UY:function(){return J},R9:function(){return X}});var n=i(36337),r=i(61511),a=i(31572),u=i(71522),c=i(19861),l=i(55959),h=i(31906),f=i(87254),p=i(56238),g=i(25416),m=i(90611),b=i(10709),w=i(43490),_=i(22526),A=i(11353),k=["underline"],T=["connectionContainer"],C=["inputContainer"],S=["label"];function E(t,e){1&t&&(a.ynx(0),a.TgZ(1,"div",14),a._UZ(2,"div",15),a._UZ(3,"div",16),a._UZ(4,"div",17),a.qZA(),a.TgZ(5,"div",18),a._UZ(6,"div",15),a._UZ(7,"div",16),a._UZ(8,"div",17),a.qZA(),a.BQk())}function x(t,e){1&t&&(a.TgZ(0,"div",19),a.Hsn(1,1),a.qZA())}function R(t,e){if(1&t&&(a.ynx(0),a.Hsn(1,2),a.TgZ(2,"span"),a._uU(3),a.qZA(),a.BQk()),2&t){var i=a.oxw(2);a.xp6(3),a.Oqu(i._control.placeholder)}}function I(t,e){1&t&&a.Hsn(0,3,["*ngSwitchCase","true"])}function O(t,e){1&t&&(a.TgZ(0,"span",23),a._uU(1," *"),a.qZA())}function P(t,e){if(1&t){var i=a.EpF();a.TgZ(0,"label",20,21),a.NdJ("cdkObserveContent",function(){return a.CHM(i),a.oxw().updateOutlineGap()}),a.YNc(2,R,4,1,"ng-container",12),a.YNc(3,I,1,0,"ng-content",12),a.YNc(4,O,2,0,"span",22),a.qZA()}if(2&t){var n=a.oxw();a.ekj("mat-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-form-field-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-accent","accent"==n.color)("mat-warn","warn"==n.color),a.Q6J("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),a.uIk("for",n._control.id)("aria-owns",n._control.id),a.xp6(2),a.Q6J("ngSwitchCase",!1),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function D(t,e){1&t&&(a.TgZ(0,"div",24),a.Hsn(1,4),a.qZA())}function M(t,e){if(1&t&&(a.TgZ(0,"div",25,26),a._UZ(2,"span",27),a.qZA()),2&t){var i=a.oxw();a.xp6(2),a.ekj("mat-accent","accent"==i.color)("mat-warn","warn"==i.color)}}function L(t,e){if(1&t&&(a.TgZ(0,"div"),a.Hsn(1,5),a.qZA()),2&t){var i=a.oxw();a.Q6J("@transitionMessages",i._subscriptAnimationState)}}function N(t,e){if(1&t&&(a.TgZ(0,"div",31),a._uU(1),a.qZA()),2&t){var i=a.oxw(2);a.Q6J("id",i._hintLabelId),a.xp6(1),a.Oqu(i.hintLabel)}}function z(t,e){if(1&t&&(a.TgZ(0,"div",28),a.YNc(1,N,2,2,"div",29),a.Hsn(2,6),a._UZ(3,"div",30),a.Hsn(4,7),a.qZA()),2&t){var i=a.oxw();a.Q6J("@transitionMessages",i._subscriptAnimationState),a.xp6(1),a.Q6J("ngIf",i.hintLabel)}}var F=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Z=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],B=0,q=new a.OlP("MatError"),U=function(){var t=function t(e,i){v(this,t),this.id="mat-error-"+B++,e||i.nativeElement.setAttribute("aria-live","polite")};return t.\u0275fac=function(e){return new(e||t)(a.$8M("aria-live"),a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("id",e.id)},inputs:{id:"id"},features:[a._Bn([{provide:q,useExisting:t}])]}),t}(),H={transitionMessages:(0,b.X$)("transitionMessages",[(0,b.SB)("enter",(0,b.oB)({opacity:1,transform:"translateY(0%)"})),(0,b.eR)("void => enter",[(0,b.oB)({opacity:0,transform:"translateY(-5px)"}),(0,b.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},j=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t}),t}(),G=0,Y=new a.OlP("MatHint"),V=function(){var t=function t(){v(this,t),this.align="start",this.id="mat-hint-"+G++};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(a.uIk("id",e.id)("align",null),a.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[a._Bn([{provide:Y,useExisting:t}])]}),t}(),K=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-label"]]}),t}(),J=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-placeholder"]]}),t}(),Q=new a.OlP("MatPrefix"),W=new a.OlP("MatSuffix"),X=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","matSuffix",""]],features:[a._Bn([{provide:W,useExisting:t}])]}),t}(),$=0,tt=(0,u.pj)(function t(e){v(this,t),this._elementRef=e},"primary"),et=new a.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),it=new a.OlP("MatFormField"),nt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u,c){var h;return v(this,i),(h=e.call(this,t))._elementRef=t,h._changeDetectorRef=n,h._dir=o,h._defaults=a,h._platform=s,h._ngZone=u,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new l.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+$++,h._labelId="mat-form-field-label-"+$++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=a&&a.appearance?a.appearance:"legacy",h._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,h}return y(i,[{key:"appearance",get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=(0,c.Ig)(t)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(e.controlType)),e.stateChanges.pipe((0,p.O)(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe((0,g.R)(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe((0,g.R)(t._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()})}),(0,h.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,p.O)(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,p.O)(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,g.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t.updateOutlineGap()})}):t.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,f.R)(this._label.nativeElement,"transitionend").pipe((0,m.q)(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push.apply(t,d(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,i=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push.apply(t,d(this._errorChildren.map(function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,i=0,n=this._connectionContainerRef.nativeElement,r=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=n.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),u=t.children,c=this._getStartEnd(u[0].getBoundingClientRect()),l=0,h=0;h0?.75*l+10:0}for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,i=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t);if(!i)throw S(t);var r=this._cachedIconsByUrl.get(i);return r?(0,l.of)(I(r)):this._loadSvgIconFromConfig(new x(t,null)).pipe((0,p.b)(function(t){return e._cachedIconsByUrl.set(i,t)}),(0,g.U)(function(t){return I(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=O(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t))return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):(0,h._)(C(i))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?(0,l.of)(I(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,g.U)(function(t){return I(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var i=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return(0,l.of)(r);var o=e.filter(function(t){return!t.svgText}).map(function(t){return i._loadSvgIconSetFromConfig(t).pipe((0,m.K)(function(e){var r=i._sanitizer.sanitize(n.q3G.RESOURCE_URL,t.url);return i._errorHandler.handleError(new Error("Loading icon set URL: ".concat(r," failed: ").concat(e.message))),(0,l.of)(null)}))});return(0,d.D)(o).pipe((0,g.U)(function(){var n=i._extractIconWithNameFromAnySet(t,e);if(!n)throw C(t);return n}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var i=e.length-1;i>=0;i--){var n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){var r=this._svgElementFromConfig(n),o=this._extractSvgIconFromSet(r,t,n.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe((0,p.b)(function(e){return t.svgText=e}),(0,g.U)(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?(0,l.of)(null):this._fetchIcon(t).pipe((0,p.b)(function(e){return t.svgText=e}))}},{key:"_extractSvgIconFromSet",value:function(t,e,i){var n=t.querySelector('[id="'.concat(e,'"]'));if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,i);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),i);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,i)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString(""),i=t.attributes,n=0;n-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),i}(b);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(u.t4),r.Y36(d.a5,10),r.Y36(d.F,8),r.Y36(d.sg,8),r.Y36(c.rD),r.Y36(p,10),r.Y36(n.Lq),r.Y36(r.R0b),r.Y36(l.G_,8))},t.\u0275dir=r.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&r.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r.Ikx("disabled",e.disabled)("required",e.required),r.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),r.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:l.Eo,useExisting:t}]),r.qOj,r.TTD]}),t}(),_=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[c.rD],imports:[[n.Ky,l.lN,c.BQ],n.Ky,l.lN]}),t}()},85250:function(t,e,i){"use strict";i.d(e,{i$:function(){return _},Tg:function(){return T},ie:function(){return C}});var n=i(61511),r=i(31572),a=i(71522),u=i(19861),c=i(55959),l=i(25416),h=(i(56238),i(24621),i(4230),i(75842),i(16073),i(27679)),d=["*"],f=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],p=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],g=(0,a.Id)((0,a.Kr)(function t(){v(this,t)})),m=(0,a.Kr)(function t(){v(this,t)}),b=new r.OlP("MatList"),w=new r.OlP("MatNavList"),_=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this))._elementRef=t,n._stateChanges=new c.xQ,"action-list"===n._getListType()&&t.nativeElement.classList.add("mat-action-list"),n}return y(i,[{key:"_getListType",value:function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(g);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r._Bn([{provide:b,useExisting:t}]),r.qOj,r.TTD],ngContentSelectors:d,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),t}(),A=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),k=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),T=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;v(this,i),(a=e.call(this))._element=t,a._isInteractiveList=!1,a._destroyed=new c.xQ,a._disabled=!1,a._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),a._list=r||o;var s=a._getHostElement();return"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe((0,l.R)(a._destroyed)).subscribe(function(){n.markForCheck()}),a}return y(i,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=(0,u.Ig)(t)}},{key:"ngAfterContentInit",value:function(){(0,a.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),i}(m);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(w,8),r.Y36(b,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;(1&t&&(r.Suo(i,A,5),r.Suo(i,k,5),r.Suo(i,a.X2,5)),2&t)&&(r.iGM(n=r.CRH())&&(e._avatar=n.first),r.iGM(n=r.CRH())&&(e._icon=n.first),r.iGM(n=r.CRH())&&(e._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&r.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[r.qOj],ngContentSelectors:p,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(t,e){1&t&&(r.F$t(f),r.TgZ(0,"div",0),r._UZ(1,"div",1),r.Hsn(2),r.TgZ(3,"div",2),r.Hsn(4,1),r.qZA(),r.Hsn(5,2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[a.wG],encapsulation:2,changeDetection:0}),t}(),C=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[a.uc,a.si,a.BQ,a.us,n.ez],a.uc,a.BQ,a.us,h.t]}),t}()},8055:function(t,e,i){"use strict";i.d(e,{VK:function(){return j},OP:function(){return B},Tx:function(){return Q},p6:function(){return K}});var n=i(24621),a=i(19861),u=i(75842),l=i(31572),h=i(55959),f=i(87570),p=i(31906),g=i(40878),m=i(92709),b=i(56238),w=i(44689),_=i(90611),A=i(43835),k=i(25416),T=i(82628),C=i(10709),S=i(26899),E=i(61511),x=i(71522),R=i(2522),I=i(11353),O=i(4253),P=i(22526),D=["mat-menu-item",""],M=["*"];function L(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",0),l.NdJ("keydown",function(t){return l.CHM(i),l.oxw()._handleKeydown(t)})("click",function(){return l.CHM(i),l.oxw().closed.emit("click")})("@transformMenu.start",function(t){return l.CHM(i),l.oxw()._onAnimationStart(t)})("@transformMenu.done",function(t){return l.CHM(i),l.oxw()._onAnimationDone(t)}),l.TgZ(1,"div",1),l.Hsn(2),l.qZA(),l.qZA()}if(2&t){var n=l.oxw();l.Q6J("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),l.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var N={transformMenu:(0,C.X$)("transformMenu",[(0,C.SB)("void",(0,C.oB)({opacity:0,transform:"scale(0.8)"})),(0,C.eR)("void => enter",(0,C.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,C.oB)({opacity:1,transform:"scale(1)"}))),(0,C.eR)("* => void",(0,C.jt)("100ms 25ms linear",(0,C.oB)({opacity:0})))]),fadeInItems:(0,C.X$)("fadeInItems",[(0,C.SB)("showing",(0,C.oB)({opacity:1})),(0,C.eR)("void => *",[(0,C.oB)({opacity:0}),(0,C.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},z=new l.OlP("MatMenuContent"),F=new l.OlP("MAT_MENU_PANEL"),Z=(0,x.Kr)((0,x.Id)(function t(){v(this,t)})),B=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this))._elementRef=t,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new h.xQ,a._focused=new h.xQ,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(c(a)),a}return y(i,[{key:"focus",value:function(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var t,e,i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(function(){return t._focusFirstItem(e)}):this._focusFirstItem(e)}},{key:"_focusFirstItem",value:function(t){var e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var i=this._directDescendantItems.first._getHostElement().parentElement;i;){if("menu"===i.getAttribute("role")){i.focus();break}i=i.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var e="mat-elevation-z".concat(Math.min(4+t,24)),i=Object.keys(this._classList).find(function(t){return t.startsWith("mat-elevation-z")});i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}},{key:"setPositionClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(function(e){t._directDescendantItems.reset(e.filter(function(e){return e._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(q))},t.\u0275dir=l.lG2({type:t,contentQueries:function(t,e,i){var n;(1&t&&(l.Suo(i,z,5),l.Suo(i,B,5),l.Suo(i,B,4)),2&t)&&(l.iGM(n=l.CRH())&&(e.lazyContent=n.first),l.iGM(n=l.CRH())&&(e._allItems=n),l.iGM(n=l.CRH())&&(e.items=n))},viewQuery:function(t,e){var i;(1&t&&l.Gf(l.Rgc,5),2&t)&&(l.iGM(i=l.CRH())&&(e.templateRef=i.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t}(),j=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){return v(this,i),e.call(this,t,n,r)}return i}(H);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(q))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&l.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[l._Bn([{provide:F,useExisting:t}]),l.qOj],ngContentSelectors:M,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(l.F$t(),l.YNc(0,L,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;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[N.transformMenu,N.fadeInItems]},changeDetection:0}),t}(),G=new l.OlP("mat-menu-scroll-strategy"),Y={provide:G,deps:[R.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},V=(0,I.i$)({passive:!0}),K=function(){var t=function(){function t(e,i,r,o,a,s,u,c){var h=this;v(this,t),this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=u,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.w.EMPTY,this._hoverSubscription=f.w.EMPTY,this._menuCloseSubscription=f.w.EMPTY,this._handleTouchStart=function(t){(0,n.yG)(t)||(h._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new l.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new l.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof H?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,V),s&&(s._triggersSubmenu=this.triggersSubmenu())}return y(t,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(t){e._destroyMenu(t),"click"!==t&&"tab"!==t||!e._parentMaterialMenu||e._parentMaterialMenu.closed.emit(t)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,V),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),i=e.getConfig();this._setPosition(i.positionStrategy),i.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(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof H&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"updatePosition",value:function(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}},{key:"_destroyMenu",value:function(t){var e=this;if(this._overlayRef&&this.menuOpen){var i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,i instanceof H?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe((0,A.h)(function(t){return"void"===t.toState}),(0,_.q)(1),(0,k.R)(i.lazyContent._attached)).subscribe({next:function(){return i.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}}},{key:"_initMenu",value:function(){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)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new R.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})}},{key:"_subscribeToPositions",value:function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(t){var e=r("before"===this.menu.xPosition?["end","start"]:["start","end"],2),i=e[0],n=e[1],o=r("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=o[0],s=o[1],u=a,c=s,l=i,h=n,d=0;this.triggersSubmenu()?(h=i="before"===this.menu.xPosition?"start":"end",n=l="end"===i?"start":"end",d="bottom"===a?8:-8):this.menu.overlapTrigger||(u="top"===a?"bottom":"top",c="top"===s?"bottom":"top"),t.withPositions([{originX:i,originY:u,overlayX:l,overlayY:a,offsetY:d},{originX:n,originY:u,overlayX:h,overlayY:a,offsetY:d},{originX:i,originY:c,overlayX:l,overlayY:s,offsetY:-d},{originX:n,originY:c,overlayX:h,overlayY:s,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,g.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,A.h)(function(e){return e!==t._menuItemInstance}),(0,A.h)(function(){return t._menuOpen})):(0,g.of)();return(0,p.T)(e,n,r,i)}},{key:"_handleMousedown",value:function(t){(0,n.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;e!==u.K5&&e!==u.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===u.SV&&"ltr"===this.dir||e===u.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,A.h)(function(e){return e===t._menuItemInstance&&!e.disabled}),(0,T.g)(0,m.e)).subscribe(function(){t._openedBy="mouse",t.menu instanceof H&&t.menu._isAnimating?t.menu._animationDone.pipe((0,_.q)(1),(0,T.g)(0,m.e),(0,k.R)(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new S.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(R.aV),l.Y36(l.SBq),l.Y36(l.s_b),l.Y36(G),l.Y36(F,8),l.Y36(B,10),l.Y36(P.Is,8),l.Y36(n.tE))},t.\u0275dir=l.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&l.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&l.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t}(),J=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[Y],imports:[x.BQ]}),t}(),Q=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[Y],imports:[[E.ez,x.BQ,x.si,R.U8,J],O.ZD,x.BQ,J]}),t}()},73005:function(t,e,i){"use strict";i.d(e,{NW:function(){return x},TU:function(){return R}});var n=i(61511),r=i(31572),a=i(71522),c=i(15980),l=i(4786),h=i(36922),d=i(19861),f=i(55959),p=i(66283);function g(t,e){if(1&t&&(r.TgZ(0,"mat-option",19),r._uU(1),r.qZA()),2&t){var i=e.$implicit;r.Q6J("value",i),r.xp6(1),r.hij(" ",i," ")}}function m(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"mat-form-field",16),r.TgZ(1,"mat-select",17),r.NdJ("selectionChange",function(t){return r.CHM(i),r.oxw(2)._changePageSize(t.value)}),r.YNc(2,g,2,2,"mat-option",18),r.qZA(),r.qZA()}if(2&t){var n=r.oxw(2);r.Q6J("appearance",n._formFieldAppearance)("color",n.color),r.xp6(1),r.Q6J("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),r.xp6(1),r.Q6J("ngForOf",n._displayedPageSizeOptions)}}function b(t,e){if(1&t&&(r.TgZ(0,"div",20),r._uU(1),r.qZA()),2&t){var i=r.oxw(2);r.xp6(1),r.Oqu(i.pageSize)}}function w(t,e){if(1&t&&(r.TgZ(0,"div",12),r.TgZ(1,"div",13),r._uU(2),r.qZA(),r.YNc(3,m,3,6,"mat-form-field",14),r.YNc(4,b,2,1,"div",15),r.qZA()),2&t){var i=r.oxw();r.xp6(2),r.hij(" ",i._intl.itemsPerPageLabel," "),r.xp6(1),r.Q6J("ngIf",i._displayedPageSizeOptions.length>1),r.xp6(1),r.Q6J("ngIf",i._displayedPageSizeOptions.length<=1)}}function _(t,e){if(1&t){var i=r.EpF();r.TgZ(0,"button",21),r.NdJ("click",function(){return r.CHM(i),r.oxw().firstPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",22),r.qZA(),r.qZA()}if(2&t){var n=r.oxw();r.Q6J("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),r.uIk("aria-label",n._intl.firstPageLabel)}}function A(t,e){if(1&t){var i=r.EpF();r.O4$(),r.kcU(),r.TgZ(0,"button",23),r.NdJ("click",function(){return r.CHM(i),r.oxw().lastPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",24),r.qZA(),r.qZA()}if(2&t){var n=r.oxw();r.Q6J("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),r.uIk("aria-label",n._intl.lastPageLabel)}}var k=function(){var t=function t(){v(this,t),this.changes=new f.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,i){if(0==i||0==e)return"0 of ".concat(i);var n=t*e;return"".concat(n+1," \u2013 ").concat(n<(i=Math.max(i,0))?Math.min(n+e,i):n+e," of ").concat(i)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),T={provide:k,deps:[[new r.FiY,new r.tp0,k]],useFactory:function(t){return t||new k}},C=new r.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),S=(0,a.Id)((0,a.dB)(function t(){v(this,t)})),E=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o){var a;if(v(this,i),(a=e.call(this))._intl=t,a._changeDetectorRef=n,a._pageIndex=0,a._length=0,a._pageSizeOptions=[],a._hidePageSize=!1,a._showFirstLastButtons=!1,a.page=new r.vpe,a._intlChanges=t.changes.subscribe(function(){return a._changeDetectorRef.markForCheck()}),o){var s=o.pageSize,c=o.pageSizeOptions,l=o.hidePageSize,h=o.showFirstLastButtons;null!=s&&(a._pageSize=s),null!=c&&(a._pageSizeOptions=c),null!=l&&(a._hidePageSize=l),null!=h&&(a._showFirstLastButtons=h)}return u(a)}return y(i,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(t){this._pageIndex=Math.max((0,d.su)(t),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(t){this._length=(0,d.su)(t),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(t){this._pageSize=Math.max((0,d.su)(t),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(t){this._pageSizeOptions=(t||[]).map(function(t){return(0,d.su)(t)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(t){this._hidePageSize=(0,d.Ig)(t)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(t){this._showFirstLastButtons=(0,d.Ig)(t)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var t=this.getNumberOfPages()-1;return this.pageIndex void",(0,O.IO)("@transformPanel",[(0,O.pV)()],{optional:!0}))]),transformPanel:(0,O.X$)("transformPanel",[(0,O.SB)("void",(0,O.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,O.SB)("showing",(0,O.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,O.SB)("showing-multiple",(0,O.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,O.eR)("void => *",(0,O.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,O.eR)("* => void",(0,O.jt)("100ms 25ms linear",(0,O.oB)({opacity:0})))])},j=0,G=new u.OlP("mat-select-scroll-strategy"),Y=new u.OlP("MAT_SELECT_CONFIG"),V={provide:G,deps:[r.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},K=function t(e,i){v(this,t),this.source=e,this.value=i},J=(0,l.Kr)((0,l.sb)((0,l.Id)((0,l.FD)(function t(e,i,n,r,o){v(this,t),this._elementRef=e,this._defaultErrorStateMatcher=i,this._parentForm=n,this._parentFormGroup=r,this.ngControl=o})))),Q=new u.OlP("MatSelectTrigger"),W=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=u.lG2({type:t,selectors:[["mat-select-trigger"]],features:[u._Bn([{provide:Q,useExisting:t}])]}),t}(),X=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,l,h,f,p,g,m,y,b){var w,R,I,O;return v(this,i),(w=e.call(this,a,o,l,h,p))._viewportRuler=t,w._changeDetectorRef=n,w._ngZone=r,w._dir=s,w._parentFormField=f,w.ngControl=p,w._liveAnnouncer=y,w._defaultOptions=b,w._panelOpen=!1,w._compareWith=function(t,e){return t===e},w._uid="mat-select-"+j++,w._triggerAriaLabelledBy=null,w._destroy=new _.xQ,w._onChange=function(){},w._onTouched=function(){},w._valueId="mat-select-value-"+j++,w._panelDoneAnimatingStream=new _.xQ,w._overlayPanelClass=(null===(R=w._defaultOptions)||void 0===R?void 0:R.overlayPanelClass)||"",w._focused=!1,w.controlType="mat-select",w._required=!1,w._multiple=!1,w._disableOptionCentering=null!==(O=null===(I=w._defaultOptions)||void 0===I?void 0:I.disableOptionCentering)&&void 0!==O&&O,w.ariaLabel="",w.optionSelectionChanges=(0,A.P)(function(){var t=w.options;return t?t.changes.pipe((0,T.O)(t),(0,C.w)(function(){return k.T.apply(void 0,d(t.map(function(t){return t.onSelectionChange})))})):w._ngZone.onStable.pipe((0,S.q)(1),(0,C.w)(function(){return w.optionSelectionChanges}))}),w.openedChange=new u.vpe,w._openedStream=w.openedChange.pipe((0,E.h)(function(t){return t}),(0,x.U)(function(){})),w._closedStream=w.openedChange.pipe((0,E.h)(function(t){return!t}),(0,x.U)(function(){})),w.selectionChange=new u.vpe,w.valueChange=new u.vpe,w.ngControl&&(w.ngControl.valueAccessor=c(w)),null!=(null==b?void 0:b.typeaheadDebounceInterval)&&(w._typeaheadDebounceInterval=b.typeaheadDebounceInterval),w._scrollStrategyFactory=m,w._scrollStrategy=w._scrollStrategyFactory(),w.tabIndex=parseInt(g)||0,w.id=w.id,w}return y(i,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=(0,m.Ig)(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=(0,m.Ig)(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=(0,m.Ig)(t)}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=(0,m.su)(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new b.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,R.x)(),(0,I.R)(this._destroy)).subscribe(function(){return t._panelDoneAnimating(t.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,I.R)(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe((0,T.O)(null),(0,I.R)(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})}},{key:"ngDoCheck",value:function(){var t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){var e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,i=e===w.JH||e===w.LH||e===w.oh||e===w.SV,n=e===w.K5||e===w.L_,r=this._keyManager;if(!r.isTyping()&&n&&!(0,w.Vb)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(t);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,i=t.keyCode,n=i===w.JH||i===w.LH,r=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(r||i!==w.K5&&i!==w.L_||!e.activeItem||(0,w.Vb)(t))if(!r&&this._multiple&&i===w.A&&t.ctrlKey){t.preventDefault();var o=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(o?t.select():t.deselect())})}else{var a=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==a&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this._overlayDir.positionChange.pipe((0,S.q)(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(t){var e=this;if(this._selectionModel.selected.forEach(function(t){return t.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(function(t){return e._selectValue(t)}),this._sortValues();else{var i=this._selectValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,i=this.options.find(function(i){if(e._selectionModel.isSelected(i))return!1;try{return null!=i.value&&e._compareWith(i.value,t)}catch(n){return!1}});return i&&this._selectionModel.select(i),i}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new g.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,I.R)(this._destroy)).subscribe(function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())}),this._keyManager.change.pipe((0,I.R)(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollOptionIntoView(t._keyManager.activeItemIndex||0):t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var t=this,e=(0,k.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,I.R)(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),k.T.apply(void 0,d(this.options.map(function(t){return t._stateChanges}))).pipe((0,I.R)(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})}},{key:"_onSelect",value:function(t,e){var i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(i,n){return t.sortComparator?t.sortComparator(i,n,e):e.indexOf(i)-e.indexOf(n)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getPanelAriaLabelledby",value:function(){var t;if(this.ariaLabel)return null;var e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var t;if(this.ariaLabel)return null;var e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}},{key:"_panelDoneAnimating",value:function(t){this.openedChange.emit(t)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),i}(J);return t.\u0275fac=function(e){return new(e||t)(u.Y36(p.rL),u.Y36(u.sBO),u.Y36(u.R0b),u.Y36(l.rD),u.Y36(u.SBq),u.Y36(P.Is,8),u.Y36(D.F,8),u.Y36(D.sg,8),u.Y36(f.G_,8),u.Y36(D.a5,10),u.$8M("tabindex"),u.Y36(G),u.Y36(g.Kd),u.Y36(Y,8))},t.\u0275dir=u.lG2({type:t,viewQuery:function(t,e){var i;(1&t&&(u.Gf(M,5),u.Gf(L,5),u.Gf(r.pI,5)),2&t)&&(u.iGM(i=u.CRH())&&(e.trigger=i.first),u.iGM(i=u.CRH())&&(e.panel=i.first),u.iGM(i=u.CRH())&&(e._overlayDir=i.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[u.qOj,u.TTD]}),t}(),$=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._scrollTop=0,t._triggerFontSize=0,t._transformOrigin="top",t._offsetY=0,t._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],t}return y(i,[{key:"_calculateOverlayScroll",value:function(t,e,i){var n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}},{key:"ngOnInit",value:function(){var t=this;n(h(i.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,I.R)(this._destroy)).subscribe(function(){t.panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var t=this;n(h(i.prototype),"_canOpen",this).call(this)&&(n(h(i.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(function(){t._triggerFontSize&&t._overlayDir.overlayRef&&t._overlayDir.overlayRef.overlayElement&&(t._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(t._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(t){var e=(0,l.CB)(t,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,l.jH)((t+e)*i,i,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),n(h(i.prototype),"_panelDoneAnimating",this).call(this,t)}},{key:"_getChangeEvent",value:function(t){return new K(this,t)}},{key:"_calculateOverlayOffsetX",value:function(){var t,e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),n=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else if(this.disableOptionCentering)t=16;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}n||(t*=-1);var a=0-(e.left+t-(n?r:0)),s=e.right+t-i.width+(n?0:r);a>0?t+=a+8:s>0&&(t-=s+8),this._overlayDir.offsetX=Math.round(t),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,i){var n,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(n=0===this._scrollTop?t*r:this._scrollTop===i?(t-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*n-o))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,r=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>n?this._adjustPanelDown(o,n,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(t,e){var i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(t,e,i){var n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var t,e=this._getItemHeight(),i=this._getItemCount(),n=Math.min(i*e,256),r=i*e-n;t=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),t+=(0,l.CB)(t,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(t,o,r),this._offsetY=this._calculateOverlayOffsetY(t,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-e+t/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),i}(X);return e.\u0275fac=function(i){return(t||(t=u.n5z(e)))(i||e)},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-select"]],contentQueries:function(t,e,i){var n;(1&t&&(u.Suo(i,Q,5),u.Suo(i,l.ey,5),u.Suo(i,l.K7,5)),2&t)&&(u.iGM(n=u.CRH())&&(e.customTrigger=n.first),u.iGM(n=u.CRH())&&(e.options=n),u.iGM(n=u.CRH())&&(e.optionGroups=n))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&u.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(u.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),u.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u._Bn([{provide:f.Eo,useExisting:e},{provide:l.HF,useExisting:e}]),u.qOj],ngContentSelectors:U,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(t,e){if(1&t&&(u.F$t(q),u.TgZ(0,"div",0,1),u.NdJ("click",function(){return e.toggle()}),u.TgZ(3,"div",2),u.YNc(4,N,2,1,"span",3),u.YNc(5,Z,3,2,"span",4),u.qZA(),u.TgZ(6,"div",5),u._UZ(7,"div",6),u.qZA(),u.qZA(),u.YNc(8,B,4,14,"ng-template",7),u.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){var i=u.MAs(1);u.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),u.xp6(3),u.Q6J("ngSwitch",e.empty),u.uIk("id",e._valueId),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1),u.xp6(3),u.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[r.xu,a.RF,a.n9,r.pI,a.ED,a.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[H.transformPanelWrap,H.transformPanel]},changeDetection:0}),e}(),tt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:[V],imports:[[a.ez,r.U8,l.Ng,l.BQ],p.ZD,f.lN,l.Ng,l.BQ]}),t}()},25122:function(t,e,i){"use strict";i.d(e,{JX:function(){return Y},TM:function(){return V},Rh:function(){return G},SJ:function(){return K}});var n=i(11353),r=i(4253),a=i(61511),u=i(31572),c=i(71522),l=i(19861),h=i(75842),d=i(55959),f=i(87254),p=i(31906),g=i(43835),m=i(79996),b=i(88414),w=i(25416),_=i(98720),A=i(90611),k=i(56238),T=i(47701),C=i(10709),S=i(43490),E=i(24621),x=i(22526),R=["*"];function I(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div",2),u.NdJ("click",function(){return u.CHM(i),u.oxw()._onBackdropClicked()}),u.qZA()}if(2&t){var n=u.oxw();u.ekj("mat-drawer-shown",n._isShowingBackdrop())}}function O(t,e){1&t&&(u.TgZ(0,"mat-drawer-content"),u.Hsn(1,2),u.qZA())}var P=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],D=["mat-drawer","mat-drawer-content","*"];function M(t,e){if(1&t){var i=u.EpF();u.TgZ(0,"div",2),u.NdJ("click",function(){return u.CHM(i),u.oxw()._onBackdropClicked()}),u.qZA()}if(2&t){var n=u.oxw();u.ekj("mat-drawer-shown",n._isShowingBackdrop())}}function L(t,e){1&t&&(u.TgZ(0,"mat-sidenav-content",3),u.Hsn(1,2),u.qZA())}var N=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],z=["mat-sidenav","mat-sidenav-content","*"],F=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Z={transformDrawer:(0,C.X$)("transform",[(0,C.SB)("open, open-instant",(0,C.oB)({transform:"none",visibility:"visible"})),(0,C.SB)("void",(0,C.oB)({"box-shadow":"none",visibility:"hidden"})),(0,C.eR)("void => open-instant",(0,C.jt)("0ms")),(0,C.eR)("void <=> open, open-instant => void",(0,C.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},B=new u.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),q=new u.OlP("MAT_DRAWER_CONTAINER"),U=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a){var s;return v(this,i),(s=e.call(this,r,o,a))._changeDetectorRef=t,s._container=n,s}return y(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})}}]),i}(r.PQ);return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.sBO),u.Y36((0,u.Gpc)(function(){return j})),u.Y36(u.SBq),u.Y36(r.mF),u.Y36(u.R0b))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&u.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[u.qOj],ngContentSelectors:R,decls:1,vars:0,template:function(t,e){1&t&&(u.F$t(),u.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),H=function(){var t=function(){function t(e,i,n,r,o,a,s){var c=this;v(this,t),this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=n,this._platform=r,this._ngZone=o,this._doc=a,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new d.xQ,this._animationEnd=new d.xQ,this._animationState="void",this.openedChange=new u.vpe(!0),this._openedStream=this.openedChange.pipe((0,g.h)(function(t){return t}),(0,m.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,g.h)(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),(0,b.h)(void 0)),this._closedStream=this.openedChange.pipe((0,g.h)(function(t){return!t}),(0,m.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,g.h)(function(t){return t.fromState!==t.toState&&"void"===t.toState}),(0,b.h)(void 0)),this._destroyed=new d.xQ,this.onPositionChanged=new u.vpe,this._modeChanged=new d.xQ,this.openedChange.subscribe(function(t){t?(c._doc&&(c._elementFocusedBeforeDrawerWasOpened=c._doc.activeElement),c._takeFocus()):c._isFocusWithinDrawer()&&c._restoreFocus()}),this._ngZone.runOutsideAngular(function(){(0,f.R)(c._elementRef.nativeElement,"keydown").pipe((0,g.h)(function(t){return t.keyCode===h.hY&&!c.disableClose&&!(0,h.Vb)(t)}),(0,w.R)(c._destroyed)).subscribe(function(t){return c._ngZone.run(function(){c.close(),t.stopPropagation(),t.preventDefault()})})}),this._animationEnd.pipe((0,_.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){var e=t.fromState,i=t.toState;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&c.openedChange.emit(c._opened)})}return y(t,[{key:"position",get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(t){this._disableClose=(0,l.Ig)(t)}},{key:"autoFocus",get:function(){var t=this._autoFocus;return null==t?"side"!==this.mode:t},set:function(t){this._autoFocus=(0,l.Ig)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){this.toggle((0,l.Ig)(t))}},{key:"_takeFocus",value:function(){var t=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var t,e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(t){return this.toggle(!0,t)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,e=arguments.length>1?arguments[1]:void 0;return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}},{key:"_setOpen",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(t){i.openedChange.pipe((0,A.q)(1)).subscribe(function(e){return t(e?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(t){this._animationStarted.next(t)}},{key:"_animationDoneListener",value:function(t){this._animationEnd.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.SBq),u.Y36(E.qV),u.Y36(E.tE),u.Y36(n.t4),u.Y36(u.R0b),u.Y36(a.K0,8),u.Y36(q,8))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&u.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(u.uIk("align",null),u.d8E("@transform",e._animationState),u.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:R,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(u.F$t(),u.TgZ(0,"div",0),u.Hsn(1),u.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[Z.transformDrawer]},changeDetection:0}),t}(),j=function(){var t=function(){function t(e,i,n,r,o){var a=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0;v(this,t),this._dir=e,this._element=i,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new u.n_E,this.backdropClick=new u.vpe,this._destroyed=new d.xQ,this._doCheckSubject=new d.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new d.xQ,e&&e.change.pipe((0,w.R)(this._destroyed)).subscribe(function(){a._validateDrawers(),a.updateContentMargins()}),o.change().pipe((0,w.R)(this._destroyed)).subscribe(function(){return a.updateContentMargins()}),this._autosize=s}return y(t,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(t){this._autosize=(0,l.Ig)(t)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:(0,l.Ig)(t)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var t=this;this._allDrawers.changes.pipe((0,k.O)(this._allDrawers),(0,w.R)(this._destroyed)).subscribe(function(e){t._drawers.reset(e.filter(function(e){return!e._container||e._container===t})),t._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,k.O)(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._doCheckSubject.pipe((0,T.b)(10),(0,w.R)(t._destroyed)).subscribe(function(){return t.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(t){return t.open()})}},{key:"close",value:function(){this._drawers.forEach(function(t){return t.close()})}},{key:"updateContentMargins",value:function(){var t=this,e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){var n=this._left._getWidth();e+=n,i-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();i+=r,e-=r}i=i||null,(e=e||null)===this._contentMargins.left&&i===this._contentMargins.right||(this._contentMargins={left:e,right:i},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))}},{key:"ngDoCheck",value:function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(t){var e=this;t._animationStarted.pipe((0,g.h)(function(t){return t.fromState!==t.toState}),(0,w.R)(this._drawers.changes)).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,w.R)(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})}},{key:"_watchDrawerPosition",value:function(t){var e=this;t&&t.onPositionChanged.pipe((0,w.R)(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.pipe((0,A.q)(1)).subscribe(function(){e._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(t){var e=this;t&&t._modeChanged.pipe((0,w.R)((0,p.T)(this._drawers.changes,this._destroyed))).subscribe(function(){e.updateContentMargins(),e._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(t){var e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}},{key:"_validateDrawers",value:function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?t._end=e:t._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)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(t){return"side"!==t.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(t){return null!=t&&t.opened}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.Y36(x.Is,8),u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(u.sBO),u.Y36(r.rL),u.Y36(B),u.Y36(S.Qb,8))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){var n;(1&t&&(u.Suo(i,U,5),u.Suo(i,H,5)),2&t)&&(u.iGM(n=u.CRH())&&(e._content=n.first),u.iGM(n=u.CRH())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;(1&t&&u.Gf(U,5),2&t)&&(u.iGM(i=u.CRH())&&(e._userContent=i.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[u._Bn([{provide:q,useExisting:t}])],ngContentSelectors:D,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(t,e){1&t&&(u.F$t(P),u.YNc(0,I,1,2,"div",0),u.Hsn(1),u.Hsn(2,1),u.YNc(3,O,2,0,"mat-drawer-content",1)),2&t&&(u.Q6J("ngIf",e.hasBackdrop),u.xp6(3),u.Q6J("ngIf",!e._content))},directives:[a.O5,U],styles:[F],encapsulation:2,changeDetection:0}),t}(),G=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a){return v(this,i),e.call(this,t,n,r,o,a)}return i}(U);return t.\u0275fac=function(e){return new(e||t)(u.Y36(u.sBO),u.Y36((0,u.Gpc)(function(){return V})),u.Y36(u.SBq),u.Y36(r.mF),u.Y36(u.R0b))},t.\u0275cmp=u.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&u.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[u.qOj],ngContentSelectors:R,decls:1,vars:0,template:function(t,e){1&t&&(u.F$t(),u.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),Y=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return y(i,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=(0,l.Ig)(t)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=(0,l.su)(t)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=(0,l.su)(t)}}]),i}(H);return e.\u0275fac=function(i){return(t||(t=u.n5z(e)))(i||e)},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(u.uIk("align",null),u.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),u.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[u.qOj],ngContentSelectors:R,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(u.F$t(),u.TgZ(0,"div",0),u.Hsn(1),u.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[Z.transformDrawer]},changeDetection:0}),e}(),V=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(j);return e.\u0275fac=function(i){return(t||(t=u.n5z(e)))(i||e)},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){var n;(1&t&&(u.Suo(i,G,5),u.Suo(i,Y,5)),2&t)&&(u.iGM(n=u.CRH())&&(e._content=n.first),u.iGM(n=u.CRH())&&(e._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&u.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[u._Bn([{provide:q,useExisting:e}]),u.qOj],ngContentSelectors:z,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(u.F$t(N),u.YNc(0,M,1,2,"div",0),u.Hsn(1),u.Hsn(2,1),u.YNc(3,L,2,0,"mat-sidenav-content",1)),2&t&&(u.Q6J("ngIf",e.hasBackdrop),u.xp6(3),u.Q6J("ngIf",!e._content))},directives:[a.O5,G,r.PQ],styles:[F],encapsulation:2,changeDetection:0}),e}(),K=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[[a.ez,c.BQ,n.ud,r.ZD],r.ZD,c.BQ]}),t}()},27521:function(t,e,i){"use strict";i.d(e,{Rr:function(){return T},rP:function(){return S}});var n=i(36337),r=i(31572),a=i(71522),u=i(19861),c=i(16073),l=i(43490),h=i(24621),d=["thumbContainer"],f=["toggleBar"],p=["input"],g=function(t){return{enterDuration:t}},m=["*"],b=new r.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),w=0,_={provide:c.JU,useExisting:(0,r.Gpc)(function(){return T}),multi:!0},A=function t(e,i){v(this,t),this.source=e,this.checked=i},k=(0,a.sb)((0,a.pj)((0,a.Kr)((0,a.Id)(function t(e){v(this,t),this._elementRef=e})))),T=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,o,a,s,u){var c;return v(this,i),(c=e.call(this,t))._focusMonitor=n,c._changeDetectorRef=o,c.defaults=s,c._onChange=function(t){},c._onTouched=function(){},c._uniqueId="mat-slide-toggle-"+ ++w,c._required=!1,c._checked=!1,c.name=null,c.id=c._uniqueId,c.labelPosition="after",c.ariaLabel=null,c.ariaLabelledby=null,c.change=new r.vpe,c.toggleChange=new r.vpe,c.tabIndex=parseInt(a)||0,c.color=c.defaultColor=s.color||"accent",c._noopAnimations="NoopAnimations"===u,c}return y(i,[{key:"required",get:function(){return this._required},set:function(t){this._required=(0,u.Ig)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){this._checked=(0,u.Ig)(t),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){"keyboard"===e||"program"===e?t._inputElement.nativeElement.focus():e||Promise.resolve().then(function(){return t._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(t){t.stopPropagation()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new A(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),i}(k);return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(h.tE),r.Y36(r.sBO),r.$8M("tabindex"),r.Y36(b),r.Y36(l.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var i;(1&t&&(r.Gf(d,5),r.Gf(f,5),r.Gf(p,5)),2&t)&&(r.iGM(i=r.CRH())&&(e._thumbEl=i.first),r.iGM(i=r.CRH())&&(e._thumbBarEl=i.first),r.iGM(i=r.CRH())&&(e._inputElement=i.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r._Bn([_]),r.qOj],ngContentSelectors:m,decls:16,vars:19,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(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"div",2,3),r.TgZ(4,"input",4,5),r.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),r.qZA(),r.TgZ(6,"div",6,7),r._UZ(8,"div",8),r.TgZ(9,"div",9),r._UZ(10,"div",10),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"span",11,12),r.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),r.TgZ(13,"span",13),r._uU(14,"\xa0"),r.qZA(),r.Hsn(15),r.qZA(),r.qZA()),2&t){var i=r.MAs(1),n=r.MAs(12);r.uIk("for",e.inputId),r.xp6(2),r.ekj("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(2),r.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),r.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.xp6(5),r.Q6J("matRippleTrigger",i)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.VKq(17,g,e._noopAnimations?0:150))}},directives:[a.wG,n.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{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%}.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}),t}(),C=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),S=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[C,a.si,a.BQ,n.Q8],C,a.BQ]}),t}()},71403:function(t,e,i){"use strict";i.d(e,{ZX:function(){return c}});var n=i(2522),r=i(26899),o=i(61511),a=i(31572),s=i(71522),u=i(15980);i(55959),i(90611),i(10709),i(11353);var c=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[n.U8,r.eL,o.ez,u.ot,s.BQ],s.BQ]}),t}()},58623:function(t,e,i){"use strict";i.d(e,{YE:function(){return _},nU:function(){return E},JX:function(){return x}});var n=i(31572),r=i(19861),a=i(71522),u=i(75842),c=i(55959),l=i(31906),h=i(10709),d=i(61511),f=i(24621),p=["mat-sort-header",""];function g(t,e){if(1&t){var i=n.EpF();n.TgZ(0,"div",3),n.NdJ("@arrowPosition.start",function(){return n.CHM(i),n.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return n.CHM(i),n.oxw()._disableViewStateAnimation=!1}),n._UZ(1,"div",4),n.TgZ(2,"div",5),n._UZ(3,"div",6),n._UZ(4,"div",7),n._UZ(5,"div",8),n.qZA(),n.qZA()}if(2&t){var r=n.oxw();n.Q6J("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),n.xp6(2),n.Q6J("@indicator",r._getArrowDirectionState()),n.xp6(1),n.Q6J("@leftPointer",r._getArrowDirectionState()),n.xp6(1),n.Q6J("@rightPointer",r._getArrowDirectionState())}}var m=["*"],b=new n.OlP("MAT_SORT_DEFAULT_OPTIONS"),w=(0,a.dB)((0,a.Id)(function t(){v(this,t)})),_=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var r;return v(this,i),(r=e.call(this))._defaultOptions=t,r.sortables=new Map,r._stateChanges=new c.xQ,r.start="asc",r._direction="",r.sortChange=new n.vpe,r}return y(i,[{key:"direction",get:function(){return this._direction},set:function(t){this._direction=t}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=(0,r.Ig)(t)}},{key:"register",value:function(t){this.sortables.set(t.id,t)}},{key:"deregister",value:function(t){this.sortables.delete(t.id)}},{key:"sort",value:function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(t){var e,i,n;if(!t)return"";var r=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear),o=function(t,e){var i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,r),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(w);return t.\u0275fac=function(e){return new(e||t)(n.Y36(b,8))},t.\u0275dir=n.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[n.qOj,n.TTD]}),t}(),A=a.mZ.ENTERING+" "+a.yN.STANDARD_CURVE,k={indicator:(0,h.X$)("indicator",[(0,h.SB)("active-asc, asc",(0,h.oB)({transform:"translateY(0px)"})),(0,h.SB)("active-desc, desc",(0,h.oB)({transform:"translateY(10px)"})),(0,h.eR)("active-asc <=> active-desc",(0,h.jt)(A))]),leftPointer:(0,h.X$)("leftPointer",[(0,h.SB)("active-asc, asc",(0,h.oB)({transform:"rotate(-45deg)"})),(0,h.SB)("active-desc, desc",(0,h.oB)({transform:"rotate(45deg)"})),(0,h.eR)("active-asc <=> active-desc",(0,h.jt)(A))]),rightPointer:(0,h.X$)("rightPointer",[(0,h.SB)("active-asc, asc",(0,h.oB)({transform:"rotate(45deg)"})),(0,h.SB)("active-desc, desc",(0,h.oB)({transform:"rotate(-45deg)"})),(0,h.eR)("active-asc <=> active-desc",(0,h.jt)(A))]),arrowOpacity:(0,h.X$)("arrowOpacity",[(0,h.SB)("desc-to-active, asc-to-active, active",(0,h.oB)({opacity:1})),(0,h.SB)("desc-to-hint, asc-to-hint, hint",(0,h.oB)({opacity:.54})),(0,h.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,h.oB)({opacity:0})),(0,h.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,h.jt)("0ms")),(0,h.eR)("* <=> *",(0,h.jt)(A))]),arrowPosition:(0,h.X$)("arrowPosition",[(0,h.eR)("* => desc-to-hint, * => desc-to-active",(0,h.jt)(A,(0,h.F4)([(0,h.oB)({transform:"translateY(-25%)"}),(0,h.oB)({transform:"translateY(0)"})]))),(0,h.eR)("* => hint-to-desc, * => active-to-desc",(0,h.jt)(A,(0,h.F4)([(0,h.oB)({transform:"translateY(0)"}),(0,h.oB)({transform:"translateY(25%)"})]))),(0,h.eR)("* => asc-to-hint, * => asc-to-active",(0,h.jt)(A,(0,h.F4)([(0,h.oB)({transform:"translateY(25%)"}),(0,h.oB)({transform:"translateY(0)"})]))),(0,h.eR)("* => hint-to-asc, * => active-to-asc",(0,h.jt)(A,(0,h.F4)([(0,h.oB)({transform:"translateY(0)"}),(0,h.oB)({transform:"translateY(-25%)"})]))),(0,h.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,h.oB)({transform:"translateY(0)"})),(0,h.SB)("hint-to-desc, active-to-desc, desc",(0,h.oB)({transform:"translateY(-25%)"})),(0,h.SB)("hint-to-asc, active-to-asc, asc",(0,h.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,h.X$)("allowChildren",[(0,h.eR)("* <=> *",[(0,h.IO)("@*",(0,h.pV)(),{optional:!0})])])},T=function(){var t=function t(){v(this,t),this.changes=new c.xQ};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),C={provide:T,deps:[[new n.FiY,new n.tp0,T]],useFactory:function(t){return t||new T}},S=(0,a.Id)(function t(){v(this,t)}),E=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s){var u;return v(this,i),(u=e.call(this))._intl=t,u._changeDetectorRef=n,u._sort=r,u._columnDef=o,u._focusMonitor=a,u._elementRef=s,u._showIndicatorHint=!1,u._viewState={},u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",u._handleStateChanges(),u}return y(i,[{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=(0,r.Ig)(t)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){var i=!!e;i!==t._showIndicatorHint&&(t._setIndicatorHintVisible(i),t._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(t){this._isDisabled()||t.keyCode!==u.L_&&t.keyCode!==u.K5||(t.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var t=this._viewState.fromState;return(t?"".concat(t,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var t=this;this._rerenderSubscription=(0,l.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){t._isSorted()&&(t._updateArrowDirection(),"hint"!==t._viewState.toState&&"active"!==t._viewState.toState||(t._disableViewStateAnimation=!0),t._setAnimationTransitionState({fromState:t._arrowDirection,toState:"active"}),t._showIndicatorHint=!1),!t._isSorted()&&t._viewState&&"active"===t._viewState.toState&&(t._disableViewStateAnimation=!1,t._setAnimationTransitionState({fromState:"active",toState:t._arrowDirection})),t._changeDetectorRef.markForCheck()})}}]),i}(S);return t.\u0275fac=function(e){return new(e||t)(n.Y36(T),n.Y36(n.sBO),n.Y36(_,8),n.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),n.Y36(f.tE),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&n.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(n.uIk("aria-sort",e._getAriaSortAttribute()),n.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.qOj],attrs:p,ngContentSelectors:m,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA(),n.YNc(3,g,6,6,"div",2),n.qZA()),2&t&&(n.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),n.uIk("tabindex",e._isDisabled()?null:0),n.xp6(3),n.Q6J("ngIf",e._renderArrow()))},directives:[d.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:[k.indicator,k.leftPointer,k.rightPointer,k.arrowOpacity,k.arrowPosition,k.allowChildren]},changeDetection:0}),t}(),x=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[C],imports:[[d.ez,a.BQ]]}),t}()},70663:function(t,e,i){"use strict";i.d(e,{C0:function(){return ft},VY:function(){return rt},Vq:function(){return mt},T5:function(){return wt},Ic:function(){return yt},fd:function(){return bt}});var r=i(26899),a=i(24621),u=i(22526),c=i(19861),l=i(75842),d=i(61511),f=i(31572),p=i(55959),g=i(40878),m=i(56238),b=i(25416);function w(t,e){1&t&&f.Hsn(0)}var _=["*"],A=function(){var t=function(){function t(e){v(this,t),this._elementRef=e}return y(t,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Y36(f.SBq))},t.\u0275dir=f.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t}(),k=function(){var t=function t(e){v(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(f.Y36(f.Rgc))},t.\u0275dir=f.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t}(),T=0,C=new f.OlP("STEPPER_GLOBAL_OPTIONS"),S=function(){var t=function(){function t(e,i){v(this,t),this._stepper=e,this.interacted=!1,this.interactedStream=new f.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}return y(t,[{key:"editable",get:function(){return this._editable},set:function(t){this._editable=(0,c.Ig)(t)}},{key:"optional",get:function(){return this._optional},set:function(t){this._optional=(0,c.Ig)(t)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(t){this._completedOverride=(0,c.Ig)(t)}},{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(t){this._customError=(0,c.Ig)(t)}},{key:"_getDefaultError",value:function(){return this.stepControl&&this.stepControl.invalid&&this.interacted}},{key:"select",value:function(){this._stepper.selected=this}},{key:"reset",value:function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}},{key:"ngOnChanges",value:function(){this._stepper._stateChanged()}},{key:"_markAsInteracted",value:function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(f.Y36((0,f.Gpc)(function(){return E})),f.Y36(C,8))},t.\u0275cmp=f.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){var n;(1&t&&f.Suo(i,k,5),2&t)&&(f.iGM(n=f.CRH())&&(e.stepLabel=n.first))},viewQuery:function(t,e){var i;(1&t&&f.Gf(f.Rgc,7),2&t)&&(f.iGM(i=f.CRH())&&(e.content=i.first))},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[f.TTD],ngContentSelectors:_,decls:1,vars:0,template:function(t,e){1&t&&(f.F$t(),f.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t}(),E=function(){var t=function(){function t(e,i,n,r){v(this,t),this._dir=e,this._changeDetectorRef=i,this._elementRef=n,this._destroyed=new p.xQ,this.steps=new f.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new f.vpe,this._orientation="horizontal",this._groupId=T++,this._document=r}return y(t,[{key:"linear",get:function(){return this._linear},set:function(t){this._linear=(0,c.Ig)(t)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){var e,i=(0,c.su)(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=i}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}},{key:"orientation",get:function(){return this._orientation},set:function(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}},{key:"ngAfterContentInit",value:function(){var t=this;this._steps.changes.pipe((0,m.O)(this._steps),(0,b.R)(this._destroyed)).subscribe(function(e){t.steps.reset(e.filter(function(e){return e._stepper===t})),t.steps.notifyOnChanges()})}},{key:"ngAfterViewInit",value:function(){var t=this;this._keyManager=new a.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,g.of)()).pipe((0,m.O)(this._layoutDirection()),(0,b.R)(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(function(){t.selected||(t._selectedIndex=Math.max(t._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}},{key:"ngOnDestroy",value:function(){this.steps.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"next",value:function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}},{key:"previous",value:function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}},{key:"reset",value:function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(t){return t.reset()}),this._stateChanged()}},{key:"_getStepLabelId",value:function(t){return"cdk-step-label-".concat(this._groupId,"-").concat(t)}},{key:"_getStepContentId",value:function(t){return"cdk-step-content-".concat(this._groupId,"-").concat(t)}},{key:"_stateChanged",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getAnimationDirection",value:function(t){var e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}},{key:"_getIndicatorType",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",i=this.steps.toArray()[t],n=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,e)}},{key:"_getDefaultIndicatorLogic",value:function(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}},{key:"_getGuidelineLogic",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"number";return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?i:t.editable&&e?"edit":i}},{key:"_isCurrentStep",value:function(t){return this._selectedIndex===t}},{key:"_getFocusIndex",value:function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}},{key:"_updateSelectedItemIndex",value:function(t){var e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}},{key:"_onKeydown",value:function(t){var e=(0,l.Vb)(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==l.L_&&i!==l.K5?n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(function(t){var e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}},{key:"_layoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"_isValidIndex",value:function(t){return t>-1&&(!this.steps||t *",(0,F.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,F.X$)("verticalStepTransition",[(0,F.SB)("previous",(0,F.oB)({height:"0px",visibility:"hidden"})),(0,F.SB)("next",(0,F.oB)({height:"0px",visibility:"hidden"})),(0,F.SB)("current",(0,F.oB)({height:"*",visibility:"inherit"})),(0,F.eR)("* <=> current",(0,F.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},ht=function(){var t=function t(e){v(this,t),this.templateRef=e};return t.\u0275fac=function(e){return new(e||t)(f.Y36(f.Rgc))},t.\u0275dir=f.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t}(),dt=function(){var t=function t(e){v(this,t),this._template=e};return t.\u0275fac=function(e){return new(e||t)(f.Y36(f.Rgc))},t.\u0275dir=f.lG2({type:t,selectors:[["ng-template","matStepContent",""]]}),t}(),ft=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,o))._errorStateMatcher=n,a._viewContainerRef=r,a._isSelected=M.w.EMPTY,a}return y(i,[{key:"ngAfterContentInit",value:function(){var t=this;this._isSelected=this._stepper.steps.changes.pipe((0,L.w)(function(){return t._stepper.selectionChange.pipe((0,N.U)(function(e){return e.selectedStep===t}),(0,m.O)(t._stepper.selected===t))})).subscribe(function(e){e&&t._lazyContent&&!t._portal&&(t._portal=new r.UE(t._lazyContent._template,t._viewContainerRef))})}},{key:"ngOnDestroy",value:function(){this._isSelected.unsubscribe()}},{key:"isErrorState",value:function(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}]),i}(S);return t.\u0275fac=function(e){return new(e||t)(f.Y36((0,f.Gpc)(function(){return mt})),f.Y36(P.rD,4),f.Y36(f.s_b),f.Y36(C,8))},t.\u0275cmp=f.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){var n;(1&t&&(f.Suo(i,rt,5),f.Suo(i,dt,5)),2&t)&&(f.iGM(n=f.CRH())&&(e.stepLabel=n.first),f.iGM(n=f.CRH())&&(e._lazyContent=n.first))},inputs:{color:"color"},exportAs:["matStep"],features:[f._Bn([{provide:P.rD,useExisting:t},{provide:S,useExisting:t}]),f.qOj],ngContentSelectors:J,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(f.F$t(),f.YNc(0,K,2,1,"ng-template"))},directives:[r.Pl],encapsulation:2,changeDetection:0}),t}(),pt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(E);return e.\u0275fac=function(i){return(t||(t=f.n5z(e)))(i||e)},e.\u0275dir=f.lG2({type:e,features:[f.qOj]}),e}(),gt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(pt);return e.\u0275fac=function(i){return(t||(t=f.n5z(e)))(i||e)},e.\u0275dir=f.lG2({type:e,selectors:[["mat-horizontal-stepper"]],features:[f.qOj]}),e}(),vt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(pt);return e.\u0275fac=function(i){return(t||(t=f.n5z(e)))(i||e)},e.\u0275dir=f.lG2({type:e,selectors:[["mat-vertical-stepper"]],features:[f.qOj]}),e}(),mt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;v(this,i),(a=e.call(this,t,n,r,o)).steps=new f.n_E,a.animationDone=new f.vpe,a.labelPosition="end",a._iconOverrides={},a._animationDone=new p.xQ;var s=r.nativeElement.nodeName.toLowerCase();return a.orientation="mat-vertical-stepper"===s?"vertical":"horizontal",a}return y(i,[{key:"ngAfterContentInit",value:function(){var t=this;n(h(i.prototype),"ngAfterContentInit",this).call(this),this._icons.forEach(function(e){var i=e.name,n=e.templateRef;return t._iconOverrides[i]=n}),this.steps.changes.pipe((0,b.R)(this._destroyed)).subscribe(function(){t._stateChanged()}),this._animationDone.pipe((0,z.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}),(0,b.R)(this._destroyed)).subscribe(function(e){"current"===e.toState&&t.animationDone.emit()})}}]),i}(E);return t.\u0275fac=function(e){return new(e||t)(f.Y36(u.Is,8),f.Y36(f.sBO),f.Y36(f.SBq),f.Y36(d.K0))},t.\u0275cmp=f.Xpm({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,i){var n;(1&t&&(f.Suo(i,ft,5),f.Suo(i,ht,5)),2&t)&&(f.iGM(n=f.CRH())&&(e._steps=n),f.iGM(n=f.CRH())&&(e._icons=n))},viewQuery:function(t,e){var i;(1&t&&f.Gf(ct,5),2&t)&&(f.iGM(i=f.CRH())&&(e._stepHeader=i))},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(f.uIk("aria-orientation",e.orientation),f.ekj("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[f._Bn([{provide:E,useExisting:t},{provide:gt,useExisting:t},{provide:vt,useExisting:t}]),f.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(t,e){1&t&&(f.ynx(0,0),f.YNc(1,tt,5,2,"ng-container",1),f.YNc(2,it,2,1,"ng-container",1),f.BQk(),f.YNc(3,nt,1,22,"ng-template",null,2,f.W1O)),2&t&&(f.Q6J("ngSwitch",e.orientation),f.xp6(1),f.Q6J("ngSwitchCase","horizontal"),f.xp6(1),f.Q6J("ngSwitchCase","vertical"))},directives:[d.RF,d.n9,d.sg,d.tP,d.O5,ct],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[lt.horizontalStepTransition,lt.verticalStepTransition]},changeDetection:0}),t}(),yt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(x);return e.\u0275fac=function(i){return(t||(t=f.n5z(e)))(i||e)},e.\u0275dir=f.lG2({type:e,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&f.Ikx("type",e.type)},inputs:{type:"type"},features:[f.qOj]}),e}(),bt=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(R);return e.\u0275fac=function(i){return(t||(t=f.n5z(e)))(i||e)},e.\u0275dir=f.lG2({type:e,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&f.Ikx("type",e.type)},inputs:{type:"type"},features:[f.qOj]}),e}(),wt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f.oAB({type:t}),t.\u0275inj=f.cJS({providers:[at,P.rD],imports:[[P.BQ,d.ez,r.eL,O.ot,I,D.Ps,P.si],P.BQ]}),t}()},67033:function(t,e,i){"use strict";i.d(e,{ev:function(){return yt},Dz:function(){return pt},w1:function(){return vt},ge:function(){return mt},fO:function(){return gt},XQ:function(){return _t},as:function(){return bt},Gk:function(){return At},nj:function(){return wt},BZ:function(){return ft},by:function(){return Tt},p0:function(){return kt}});var a=i(19861),u=i(4230),c=i(31572),l=i(22526),p=i(11353),g=i(4253),m=i(61511),b=i(55959),w=i(19764),_=i(78512),A=i(4710),k=i(40878),T=i(25416),C=i(90611),S=[[["caption"]],[["colgroup"],["col"]]],E=["caption","colgroup, col"];function x(t){return function(t){o(i,t);var e=s(i);function i(){var t;v(this,i);for(var n=arguments.length,r=new Array(n),o=0;o4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6?arguments[6]:void 0;v(this,t),this._isNativeHtmlTable=e,this._stickCellCss=i,this.direction=n,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(i,"-border-elem-top"),bottom:"".concat(i,"-border-elem-bottom"),left:"".concat(i,"-border-elem-left"),right:"".concat(i,"-border-elem-right")}}return y(t,[{key:"clearStickyPositioning",value:function(t,e){var i,n=this,r=[],o=f(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a.nodeType===a.ELEMENT_NODE){r.push(a);for(var s=0;s3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(e.some(function(t){return t})||i.some(function(t){return t}))){var o=t[0],a=o.children.length,s=this._getCellWidths(o,r),u=this._getStickyStartColumnPositions(s,e),c=this._getStickyEndColumnPositions(s,i),l=e.lastIndexOf(!0),h=i.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var r,o="rtl"===n.direction,d=o?"right":"left",p=o?"left":"right",g=f(t);try{for(g.s();!(r=g.n()).done;)for(var v=r.value,m=0;m1&&void 0!==arguments[1])||arguments[1];if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var i=[],n=t.children,r=0;r0;r--)e[r]&&(i[r]=n,n+=t[r]);return i}}]),t}(),$=new c.OlP("CDK_SPL"),tt=function(){var t=function t(e,i){v(this,t),this.viewContainer=e,this.elementRef=i};return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.s_b),c.Y36(c.SBq))},t.\u0275dir=c.lG2({type:t,selectors:[["","rowOutlet",""]]}),t}(),et=function(){var t=function t(e,i){v(this,t),this.viewContainer=e,this.elementRef=i};return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.s_b),c.Y36(c.SBq))},t.\u0275dir=c.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t}(),it=function(){var t=function t(e,i){v(this,t),this.viewContainer=e,this.elementRef=i};return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.s_b),c.Y36(c.SBq))},t.\u0275dir=c.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t}(),nt=function(){var t=function t(e,i){v(this,t),this.viewContainer=e,this.elementRef=i};return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.s_b),c.Y36(c.SBq))},t.\u0275dir=c.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t}(),rt=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l,h){v(this,t),this._differs=e,this._changeDetectorRef=i,this._elementRef=n,this._dir=o,this._platform=s,this._viewRepeater=u,this._coalescedStyleScheduler=c,this._viewportRuler=l,this._stickyPositioningListener=h,this._onDestroy=new b.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new _.X({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return y(t,[{key:"trackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=(0,a.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(t){this._fixedLayout=(0,a.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,i){return t.trackBy?t.trackBy(i.dataIndex,i.data):i}),this._viewportRuler.change().pipe((0,T.R)(this._onDestroy)).subscribe(function(){t._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var 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()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,function(e,i,n){return t._getEmbeddedViewArgs(e.item,n)},function(t){return t.item.data},function(e){1===e.operation&&e.context&&t._renderCellTemplateForItem(e.record.item.rowDef,e.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){i.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(t){this._customColumnDefs.add(t)}},{key:"removeColumnDef",value:function(t){this._customColumnDefs.delete(t)}},{key:"addRowDef",value:function(t){this._customRowDefs.add(t)}},{key:"removeRowDef",value:function(t){this._customRowDefs.delete(t)}},{key:"addHeaderRowDef",value:function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(t){this._customNoDataRow=t}},{key:"updateStickyHeaderRowStyles",value:function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var i=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(function(t){return t.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var i=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(d(e),d(i),d(n)),["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach(function(e,i){t._addStickyColumnStyles([e],t._headerRowDefs[i])}),this._rowDefs.forEach(function(e){for(var n=[],r=0;r0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,i){return t._renderRow(t._headerRowOutlet,e,i)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,i){return t._renderRow(t._footerRowOutlet,e,i)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(t,e){var i=this,n=Array.from(e.columns||[]).map(function(t){return i._columnDefsByName.get(t)}),r=n.map(function(t){return t.sticky}),o=n.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,r,o,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(t){for(var e=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{},r=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),r}},{key:"_renderCellTemplateForItem",value:function(t,e){var i,n=f(this._getCellTemplates(t));try{for(n.s();!(i=n.n()).done;){var r=i.value;V.mostRecentCellOutlet&&V.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,e)}}catch(o){n.e(o)}finally{n.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var t=this._rowOutlet.viewContainer,e=0,i=t.length;e0&&void 0!==arguments[0]?arguments[0]:[];return v(this,i),(t=e.call(this))._renderData=new _.X([]),t._filter=new _.X(""),t._internalPageChanges=new b.xQ,t._renderChangesSubscription=null,t.sortingDataAccessor=function(t,e){var i=t[e];if((0,a.t6)(i)){var n=Number(i);return n<9007199254740991?n:i}return i},t.sortData=function(e,i){var n=i.active,r=i.direction;return n&&""!=r?e.sort(function(e,i){var o=t.sortingDataAccessor(e,n),a=t.sortingDataAccessor(i,n),s=typeof o,u=typeof a;s!==u&&("number"===s&&(o+=""),"number"===u&&(a+=""));var c=0;return null!=o&&null!=a?o>a?c=1:o0)){var n=Math.ceil(i.length/i.pageSize)-1||0,r=Math.min(i.pageIndex,n);r!==i.pageIndex&&(i.pageIndex=r,e._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}]),i}(u.o2))},55109:function(t,e,i){"use strict";i.d(e,{uX:function(){return it},Vc:function(){return W},SP:function(){return dt},uD:function(){return $},Nh:function(){return bt}});var r=i(24621),a=i(36337),u=i(26899),c=i(61511),l=i(31572),f=i(71522),p=i(43490),g=i(55959),m=i(87570),b=i(31906),w=i(87254),_=i(40878),A=i(81110),k=i(10709),T=i(56238),C=i(98720),S=i(25416),E=i(19861),x=i(11353),R=i(75842),I=i(22526),O=i(4253);function P(t,e){1&t&&l.Hsn(0)}var D=["*"];function M(t,e){}var L=function(t){return{animationDuration:t}},N=function(t,e){return{value:t,params:e}},z=["tabBodyWrapper"],F=["tabHeader"];function Z(t,e){}function B(t,e){if(1&t&&l.YNc(0,Z,0,0,"ng-template",9),2&t){var i=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",i.templateLabel)}}function q(t,e){if(1&t&&l._uU(0),2&t){var i=l.oxw().$implicit;l.Oqu(i.textLabel)}}function U(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"div",6),l.NdJ("click",function(){var t=l.CHM(i),e=t.$implicit,n=t.index,r=l.oxw(),o=l.MAs(1);return r._handleClick(e,o,n)})("cdkFocusChange",function(t){var e=l.CHM(i).index;return l.oxw()._tabFocusChanged(t,e)}),l.TgZ(1,"div",7),l.YNc(2,B,1,1,"ng-template",8),l.YNc(3,q,1,1,"ng-template",8),l.qZA(),l.qZA()}if(2&t){var n=e.$implicit,r=e.index,o=l.oxw();l.ekj("mat-tab-label-active",o.selectedIndex==r),l.Q6J("id",o._getTabLabelId(r))("disabled",n.disabled)("matRippleDisabled",n.disabled||o.disableRipple),l.uIk("tabIndex",o._getTabIndex(n,r))("aria-posinset",r+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(r))("aria-selected",o.selectedIndex==r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),l.xp6(2),l.Q6J("ngIf",n.templateLabel),l.xp6(1),l.Q6J("ngIf",!n.templateLabel)}}function H(t,e){if(1&t){var i=l.EpF();l.TgZ(0,"mat-tab-body",10),l.NdJ("_onCentered",function(){return l.CHM(i),l.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(t){return l.CHM(i),l.oxw()._setTabBodyWrapperHeight(t)}),l.qZA()}if(2&t){var n=e.$implicit,r=e.index,o=l.oxw();l.ekj("mat-tab-body-active",o.selectedIndex==r),l.Q6J("id",o._getTabContentId(r))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",o.animationDuration),l.uIk("aria-labelledby",o._getTabLabelId(r))}}var j=["tabListContainer"],G=["tabList"],Y=["nextPaginator"],V=["previousPaginator"],K=new l.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),J=function(){var t=function(){function t(e,i,n,r){v(this,t),this._elementRef=e,this._ngZone=i,this._inkBarPositioner=n,this._animationMode=r}return y(t,[{key:"alignToElement",value:function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var e=this._inkBarPositioner(t),i=this._elementRef.nativeElement;i.style.left=e.left,i.style.width=e.width}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(K),l.Y36(p.Qb,8))},t.\u0275dir=l.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t}(),Q=new l.OlP("MatTabContent"),W=function(){var t=function t(e){v(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.Rgc))},t.\u0275dir=l.lG2({type:t,selectors:[["","matTabContent",""]],features:[l._Bn([{provide:Q,useExisting:t}])]}),t}(),X=new l.OlP("MatTabLabel"),$=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(u.ig);return e.\u0275fac=function(i){return(t||(t=l.n5z(e)))(i||e)},e.\u0275dir=l.lG2({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l._Bn([{provide:X,useExisting:e}]),l.qOj]}),e}(),tt=(0,f.Id)(function t(){v(this,t)}),et=new l.OlP("MAT_TAB_GROUP"),it=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this))._viewContainerRef=t,r._closestTabGroup=n,r.textLabel="",r._contentPortal=null,r._stateChanges=new g.xQ,r.position=null,r.origin=null,r.isActive=!1,r}return y(i,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(t){this._setTemplateLabelInput(t)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(t){t&&(this._templateLabel=t)}}]),i}(tt);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.s_b),l.Y36(et,8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){var n;(1&t&&(l.Suo(i,X,5),l.Suo(i,Q,7,l.Rgc)),2&t)&&(l.iGM(n=l.CRH())&&(e.templateLabel=n.first),l.iGM(n=l.CRH())&&(e._explicitContent=n.first))},viewQuery:function(t,e){var i;(1&t&&l.Gf(l.Rgc,7),2&t)&&(l.iGM(i=l.CRH())&&(e._implicitContent=i.first))},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[l.qOj,l.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(t,e){1&t&&(l.F$t(),l.YNc(0,P,1,0,"ng-template"))},encapsulation:2}),t}(),nt={translateTab:(0,k.X$)("translateTab",[(0,k.SB)("center, void, left-origin-center, right-origin-center",(0,k.oB)({transform:"none"})),(0,k.SB)("left",(0,k.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,k.SB)("right",(0,k.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,k.eR)("* => left, * => right, left => center, right => center",(0,k.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,k.eR)("void => left-origin-center",[(0,k.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,k.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,k.eR)("void => right-origin-center",[(0,k.oB)({transform:"translate3d(100%, 0, 0)"}),(0,k.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},rt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n,o))._host=r,a._centeringSub=m.w.EMPTY,a._leavingSub=m.w.EMPTY,a}return y(i,[{key:"ngOnInit",value:function(){var t=this;n(h(i.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe((0,T.O)(this._host._isCenterPosition(this._host._position))).subscribe(function(e){e&&!t.hasAttached()&&t.attach(t._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){t.detach()})}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),i}(u.Pl);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(function(){return at})),l.Y36(c.K0))},t.\u0275dir=l.lG2({type:t,selectors:[["","matTabBodyHost",""]],features:[l.qOj]}),t}(),ot=function(){var t=function(){function t(e,i,n){var r=this;v(this,t),this._elementRef=e,this._dir=i,this._dirChangeSubscription=m.w.EMPTY,this._translateTabComplete=new g.xQ,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(function(t){r._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe((0,C.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return y(t,[{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(I.Is,8),l.Y36(l.sBO))},t.\u0275dir=l.lG2({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t}(),at=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){return v(this,i),e.call(this,t,n,r)}return i}(ot);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(I.Is,8),l.Y36(l.sBO))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var i;(1&t&&l.Gf(u.Pl,5),2&t)&&(l.iGM(i=l.CRH())&&(e._portalHost=i.first))},hostAttrs:[1,"mat-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),l.YNc(2,M,0,0,"ng-template",2),l.qZA()),2&t&&l.Q6J("@translateTab",l.WLB(3,N,e._position,l.VKq(1,L,e.animationDuration)))},directives:[rt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[nt.translateTab]}}),t}(),st=new l.OlP("MAT_TABS_CONFIG"),ut=0,ct=function t(){v(this,t)},lt=(0,f.pj)((0,f.Kr)(function t(e){v(this,t),this._elementRef=e}),"primary"),ht=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t))._changeDetectorRef=n,a._animationMode=o,a._tabs=new l.n_E,a._indexToSelect=0,a._tabBodyWrapperHeight=0,a._tabsSubscription=m.w.EMPTY,a._tabLabelSubscription=m.w.EMPTY,a._selectedIndex=null,a.headerPosition="above",a.selectedIndexChange=new l.vpe,a.focusChange=new l.vpe,a.animationDone=new l.vpe,a.selectedTabChange=new l.vpe(!0),a._groupId=ut++,a.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",a.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,a.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,a}return y(i,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=(0,E.Ig)(t)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=(0,E.su)(t,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-".concat(this.backgroundColor)),t&&e.classList.add("mat-background-".concat(t)),this._backgroundColor=t}},{key:"ngAfterContentChecked",value:function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));var n=this._tabBodyWrapper.nativeElement;n.style.minHeight=n.clientHeight+"px"}Promise.resolve().then(function(){t._tabs.forEach(function(t,i){return t.isActive=i===e}),i||(t.selectedIndexChange.emit(e),t._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(i,n){i.position=n-e,null==t._selectedIndex||0!=i.position||i.origin||(i.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),i=0;i.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;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}),t}(),ft=(0,f.Id)(function t(){v(this,t)}),pt=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this)).elementRef=t,n}return y(i,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),i}(ft);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq))},t.\u0275dir=l.lG2({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(l.uIk("aria-disabled",!!e.disabled),l.ekj("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[l.qOj]}),t}(),gt=(0,x.i$)({passive:!0}),vt=function(){var t=function(){function t(e,i,n,r,o,a,s){var u=this;v(this,t),this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=n,this._dir=r,this._ngZone=o,this._platform=a,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new g.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new g.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,o.runOutsideAngular(function(){(0,w.R)(e.nativeElement,"mouseleave").pipe((0,S.R)(u._destroyed)).subscribe(function(){u._stopInterval()})})}return y(t,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=(0,E.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"ngAfterViewInit",value:function(){var t=this;(0,w.R)(this._previousPaginator.nativeElement,"touchstart",gt).pipe((0,S.R)(this._destroyed)).subscribe(function(){t._handlePaginatorPress("before")}),(0,w.R)(this._nextPaginator.nativeElement,"touchstart",gt).pipe((0,S.R)(this._destroyed)).subscribe(function(){t._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:(0,_.of)("ltr"),i=this._viewportRuler.change(150),n=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new r.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),(0,b.T)(e,i,this._items.changes).pipe((0,S.R)(this._destroyed)).subscribe(function(){t._ngZone.run(function(){return Promise.resolve().then(n)}),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe((0,S.R)(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})}},{key:"ngAfterContentChecked",value:function(){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())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!(0,R.Vb)(t))switch(t.keyCode){case R.K5:case R.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,i=this._getLayoutDirection();e.scrollLeft="ltr"==i?0:e.scrollWidth-e.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(e),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var i,n,r=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,a=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?n=(i=a)+s:i=(n=this._tabList.nativeElement.offsetWidth-a)-s;var u=this.scrollDistance,c=this.scrollDistance+r;ic&&(this.scrollDistance+=n-c+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,e){var i=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),(0,A.H)(650,100).pipe((0,S.R)((0,b.T)(this._stopScrolling,this._destroyed))).subscribe(function(){var e=i._scrollHeader(t),n=e.maxScrollDistance,r=e.distance;(0===r||r>=n)&&i._stopInterval()}))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(O.rL),l.Y36(I.Is,8),l.Y36(l.R0b),l.Y36(x.t4),l.Y36(p.Qb,8))},t.\u0275dir=l.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t}(),mt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u){var c;return v(this,i),(c=e.call(this,t,n,r,o,a,s,u))._disableRipple=!1,c}return y(i,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=(0,E.Ig)(t)}},{key:"_itemSelected",value:function(t){t.preventDefault()}}]),i}(vt);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(O.rL),l.Y36(I.Is,8),l.Y36(l.R0b),l.Y36(x.t4),l.Y36(p.Qb,8))},t.\u0275dir=l.lG2({type:t,inputs:{disableRipple:"disableRipple"},features:[l.qOj]}),t}(),yt=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u){return v(this,i),e.call(this,t,n,r,o,a,s,u)}return i}(mt);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(O.rL),l.Y36(I.Is,8),l.Y36(l.R0b),l.Y36(x.t4),l.Y36(p.Qb,8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){var n;(1&t&&l.Suo(i,pt,4),2&t)&&(l.iGM(n=l.CRH())&&(e._items=n))},viewQuery:function(t,e){var i;(1&t&&(l.Gf(J,7),l.Gf(j,7),l.Gf(G,7),l.Gf(Y,5),l.Gf(V,5)),2&t)&&(l.iGM(i=l.CRH())&&(e._inkBar=i.first),l.iGM(i=l.CRH())&&(e._tabListContainer=i.first),l.iGM(i=l.CRH())&&(e._tabList=i.first),l.iGM(i=l.CRH())&&(e._nextPaginator=i.first),l.iGM(i=l.CRH())&&(e._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&l.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:D,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(l.F$t(),l.TgZ(0,"div",0,1),l.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(t){return e._handleKeydown(t)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),l.TgZ(7,"div",7),l.Hsn(8),l.qZA(),l._UZ(9,"mat-ink-bar"),l.qZA(),l.qZA(),l.TgZ(10,"div",8,9),l.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),l._UZ(12,"div",2),l.qZA()),2&t&&(l.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),l.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),l.xp6(5),l.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),l.xp6(5),l.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),l.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[f.wG,a.wD,J],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),t}(),bt=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[c.ez,f.BQ,u.eL,f.si,a.Q8,r.rt],f.BQ]}),t}()},36922:function(t,e,i){"use strict";i.d(e,{gM:function(){return j},AV:function(){return V}});var n,a=i(2522),u=i(24621),c=i(61511),l=i(31572),h=i(71522),d=i(4253),f=i(19861),p=i(75842),g=i(55959),m=i(31305),b=i(47930),w=i(48318),_=i(90611),A=i(96673),k=function(){function t(e){v(this,t),this.total=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new T(t,this.total))}}]),t}(),T=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).total=n,r.count=0,r}return y(i,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),i}(A.L),C=i(47701),S=i(79996),E=i(56238),x=i(25416),R=i(11353),I=new Set,O=function(){var t=function(){function t(e){v(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):P}return y(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!I.has(t))try{n||((n=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(n)),n.sheet&&(n.sheet.insertRule("@media ".concat(t," {.fx-query-test{ }}"),0),I.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.LFG(R.t4))},t.\u0275prov=l.Yz7({factory:function(){return new t(l.LFG(R.t4))},token:t,providedIn:"root"}),t}();function P(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var D=function(){var t=function(){function t(e,i){v(this,t),this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new g.xQ}return y(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return M((0,f.Eq)(t)).some(function(t){return e._registerQuery(t).mql.matches})}},{key:"observe",value:function(t){var e=this,i=M((0,f.Eq)(t)).map(function(t){return e._registerQuery(t).observable}),n=(0,m.aj)(i);return(n=(0,b.z)(n.pipe((0,_.q)(1)),n.pipe(function(t){return t.lift(new k(1))},(0,C.b)(0)))).pipe((0,S.U)(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){var i=t.matches,n=t.query;e.matches=e.matches||i,e.breakpoints[n]=i}),e}))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var i=this._mediaMatcher.matchMedia(t),n={observable:new w.y(function(t){var n=function(i){return e._zone.run(function(){return t.next(i)})};return i.addListener(n),function(){i.removeListener(n)}}).pipe((0,E.O)(i),(0,S.U)(function(e){var i=e.matches;return{query:t,matches:i}}),(0,x.R)(this._destroySubject)),mql:i};return this._queries.set(t,n),n}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.LFG(O),l.LFG(l.R0b))},t.\u0275prov=l.Yz7({factory:function(){return new t(l.LFG(O),l.LFG(l.R0b))},token:t,providedIn:"root"}),t}();function M(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var L=i(26899),N=i(10709),z=i(22526),F={tooltipState:(0,N.X$)("state",[(0,N.SB)("initial, void, hidden",(0,N.oB)({opacity:0,transform:"scale(0)"})),(0,N.SB)("visible",(0,N.oB)({transform:"scale(1)"})),(0,N.eR)("* => visible",(0,N.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,N.F4)([(0,N.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,N.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,N.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,N.eR)("* => hidden",(0,N.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,N.oB)({opacity:0})))])},Z=(0,R.i$)({passive:!0}),B=new l.OlP("mat-tooltip-scroll-strategy"),q={provide:B,deps:[a.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},U=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),H=function(){var t=function(){function t(e,i,n,r,o,a,s,u,c,l,h,d){var f=this;v(this,t),this._overlay=e,this._elementRef=i,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=u,this._dir=l,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new g.xQ,this._handleKeydown=function(t){f._isTooltipVisible()&&t.keyCode===p.hY&&!(0,p.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),f._ngZone.run(function(){return f.hide(0)}))},this._scrollStrategy=c,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),l.change.pipe((0,x.R)(this._destroyed)).subscribe(function(){f._overlayRef&&f._updatePosition(f._overlayRef)}),o.runOutsideAngular(function(){i.nativeElement.addEventListener("keydown",f._handleKeydown)})}return y(t,[{key:"position",get:function(){return this._position},set:function(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,f.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,x.R)(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(e){var i=r(e,2),n=i[0],o=i[1];t.removeEventListener(n,o,Z)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var i=this._createOverlay();this._detach(),this._portal=this._portal||new L.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,x.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe((0,x.R)(this._destroyed)).subscribe(function(e){t._updateCurrentPositionClass(e.connectionPair),t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,x.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,i=this.position;"above"==i||"below"==i?t={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?t={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(t={originX:"end",originY:"center"});var n=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:n.x,originY:n.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,i=this.position;"above"==i?t={overlayX:"center",overlayY:"bottom"}:"below"==i?t={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?t={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(t={overlayX:"start",overlayY:"center"});var n=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:n.x,overlayY:n.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,_.q)(1),(0,x.R)(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_updateCurrentPositionClass",value:function(t){var e,i=t.overlayY,n=t.originX,r=t.originY;if((e="center"===i?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===i&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-tooltip-panel-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+e)}this._currentPosition=e}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",function(){return e.hide()}],["wheel",function(t){return e._wheelListener(t)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var n=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};i.push(["touchend",n],["touchcancel",n])}this._addListeners(i),(t=this._passiveListeners).push.apply(t,i)}}},{key:"_addListeners",value:function(t){var e=this;t.forEach(function(t){var i=r(t,2),n=i[0],o=i[1];e._elementRef.nativeElement.addEventListener(n,o,Z)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(a.aV),l.Y36(l.SBq),l.Y36(d.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(R.t4),l.Y36(u.$s),l.Y36(u.tE),l.Y36(void 0),l.Y36(z.Is),l.Y36(void 0),l.Y36(c.K0))},t.\u0275dir=l.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t}(),j=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s,u,c,l,h,d,f){var p;return v(this,i),(p=e.call(this,t,n,r,o,a,s,u,c,l,h,d,f))._tooltipComponent=Y,p}return i}(H);return t.\u0275fac=function(e){return new(e||t)(l.Y36(a.aV),l.Y36(l.SBq),l.Y36(d.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(R.t4),l.Y36(u.$s),l.Y36(u.tE),l.Y36(B),l.Y36(z.Is,8),l.Y36(U,8),l.Y36(c.K0))},t.\u0275dir=l.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[l.qOj]}),t}(),G=function(){var t=function(){function t(e){v(this,t),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new g.xQ}return y(t,[{key:"show",value:function(t){var e=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=void 0,e._markForCheck()},t)}},{key:"hide",value:function(t){var e=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=void 0,e._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.sBO))},t.\u0275dir=l.lG2({type:t}),t}(),Y=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t))._breakpointObserver=n,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return i}(G);return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.sBO),l.Y36(D))},t.\u0275cmp=l.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&l.NdJ("click",function(){return e._handleBodyInteraction()},!1,l.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,l.pYS),2&t&&l.Udp("zoom","visible"===e._visibility?1:null)},features:[l.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;(1&t&&(l.TgZ(0,"div",0),l.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),l.ALo(1,"async"),l._uU(2),l.qZA()),2&t)&&(l.ekj("mat-tooltip-handset",null==(i=l.lcZ(1,5,e._isHandset))?null:i.matches),l.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),l.xp6(2),l.Oqu(e.message))},directives:[c.mk],pipes:[c.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[F.tooltipState]},changeDetection:0}),t}(),V=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[q],imports:[[u.rt,c.ez,a.U8,h.BQ],h.BQ,d.ZD]}),t}()},91010:function(t,e,i){"use strict";i.d(e,{GZ:function(){return _},gi:function(){return k},kc:function(){return E},JZ:function(){return S},dp:function(){return C},WX:function(){return x},uo:function(){return b},fQ:function(){return w},Ar:function(){return A},eu:function(){return T}});var r=i(71709),a=i(71522),u=i(19861),c=i(4230),l=i(78512),d=i(31906),f=i(90611),p=i(79996),g=i(31572),m=(0,a.sb)((0,a.Id)(r.Hs)),b=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t,n))._elementRef=t,o._tree=n,o.tabIndex=Number(r)||0,o._elementRef.nativeElement.classList.add("mat-tree-node"),o}return y(i,[{key:"ngOnInit",value:function(){n(h(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){n(h(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this)}}]),i}(m);return t.\u0275fac=function(e){return new(e||t)(g.Y36(g.SBq),g.Y36(r._0),g.$8M("tabindex"))},t.\u0275dir=g.lG2({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[g._Bn([{provide:r.Hs,useExisting:t}]),g.qOj]}),t}(),w=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(r.rO);return e.\u0275fac=function(i){return(t||(t=g.n5z(e)))(i||e)},e.\u0275dir=g.lG2({type:e,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[g._Bn([{provide:r.rO,useExisting:e}]),g.qOj]}),e}(),_=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n,r))._elementRef=t,a._tree=n,a._differs=r,a._disabled=!1,a.tabIndex=Number(o)||0,a._elementRef.nativeElement.classList.add("mat-nested-tree-node"),a}return y(i,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,u.Ig)(t)}},{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:0}},{key:"ngOnInit",value:function(){n(h(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){n(h(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngAfterContentInit",value:function(){n(h(i.prototype),"ngAfterContentInit",this).call(this)}},{key:"ngOnDestroy",value:function(){n(h(i.prototype),"ngOnDestroy",this).call(this)}}]),i}(r.Xx);return t.\u0275fac=function(e){return new(e||t)(g.Y36(g.SBq),g.Y36(r._0),g.Y36(g.ZZ4),g.$8M("tabindex"))},t.\u0275dir=g.lG2({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[g._Bn([{provide:r.Xx,useExisting:t},{provide:r.Hs,useExisting:t},{provide:r.HI,useExisting:t}]),g.qOj]}),t}(),A=function(){var t=function t(e,i){v(this,t),this.viewContainer=e,this._node=i};return t.\u0275fac=function(e){return new(e||t)(g.Y36(g.s_b),g.Y36(r.HI,8))},t.\u0275dir=g.lG2({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[g._Bn([{provide:r.cu,useExisting:t}])]}),t}(),k=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(r._0);return e.\u0275fac=function(i){return(t||(t=g.n5z(e)))(i||e)},e.\u0275cmp=g.Xpm({type:e,selectors:[["mat-tree"]],viewQuery:function(t,e){var i;(1&t&&g.Gf(A,7),2&t)&&(g.iGM(i=g.CRH())&&(e._nodeOutlet=i.first))},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[g._Bn([{provide:r._0,useExisting:e}]),g.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&g.GkF(0,0)},directives:[A],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}),e}(),T=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"recursive",get:function(){return this._recursive},set:function(t){this._recursive=(0,u.Ig)(t)}}]),i}(r.Ud);return e.\u0275fac=function(i){return(t||(t=g.n5z(e)))(i||e)},e.\u0275dir=g.lG2({type:e,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[g._Bn([{provide:r.Ud,useExisting:e}]),g.qOj]}),e}(),C=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=g.oAB({type:t}),t.\u0275inj=g.cJS({imports:[[r.nZ,a.BQ],a.BQ]}),t}(),S=function(){function t(e,i,n,r){v(this,t),this.transformFunction=e,this.getLevel=i,this.isExpandable=n,this.getChildren=r}return y(t,[{key:"_flattenNode",value:function(t,e,i,n){var r=this,o=this.transformFunction(t,e);if(i.push(o),this.isExpandable(o)){var a=this.getChildren(t);a&&(Array.isArray(a)?this._flattenChildren(a,e,i,n):a.pipe((0,f.q)(1)).subscribe(function(t){r._flattenChildren(t,e,i,n)}))}return i}},{key:"_flattenChildren",value:function(t,e,i,n){var r=this;t.forEach(function(o,a){var s=n.slice();s.push(a!=t.length-1),r._flattenNode(o,e+1,i,s)})}},{key:"flattenNodes",value:function(t){var e=this,i=[];return t.forEach(function(t){return e._flattenNode(t,0,i,[])}),i}},{key:"expandFlattenedNodes",value:function(t,e){var i=this,n=[],r=[];return r[0]=!0,t.forEach(function(t){for(var o=!0,a=0;a<=i.getLevel(t);a++)o=o&&r[a];o&&n.push(t),i.isExpandable(t)&&(r[i.getLevel(t)+1]=e.isExpanded(t))}),n}}]),t}(),E=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this))._treeControl=t,o._treeFlattener=n,o._flattenedData=new l.X([]),o._expandedData=new l.X([]),o._data=new l.X([]),r&&(o.data=r),o}return y(i,[{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}},{key:"connect",value:function(t){var e=this;return(0,d.T)(t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,p.U)(function(){return e._expandedData.next(e._treeFlattener.expandFlattenedNodes(e._flattenedData.value,e._treeControl)),e._expandedData.value}))}},{key:"disconnect",value:function(){}}]),i}(c.o2),x=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments))._data=new l.X([]),t}return y(i,[{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}},{key:"connect",value:function(t){var e=this;return(0,d.T)(t.viewChange,this._data).pipe((0,p.U)(function(){return e.data}))}},{key:"disconnect",value:function(){}}]),i}(c.o2)},43490:function(t,e,i){"use strict";i.d(e,{Qb:function(){return Ee},PW:function(){return Oe}});var a=i(31572),u=i(30269),c=i(10709);function l(){return"undefined"!=typeof window&&void 0!==window.document}function p(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function g(t){switch(t.length){case 0:return new c.ZN;case 1:return t[0];default:return new c.ZE(t)}}function m(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],u=-1,l=null;if(n.forEach(function(t){var i=t.offset,n=i==u,h=n&&l||{};Object.keys(t).forEach(function(i){var n=i,s=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,a),s){case c.k1:s=r[i];break;case c.l3:s=o[i];break;default:s=e.normalizeStyleValue(i,n,s,a)}h[n]=s}),n||s.push(h),l=h,u=i}),a.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(a.join(h)))}return s}function b(t,e,i,n){switch(e){case"start":t.onStart(function(){return n(i&&w(i,"start",t))});break;case"done":t.onDone(function(){return n(i&&w(i,"done",t))});break;case"destroy":t.onDestroy(function(){return n(i&&w(i,"destroy",t))})}}function w(t,e,i){var n=i.totalTime,r=_(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),o=t._data;return null!=o&&(r._data=o),r}function _(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function A(t,e,i){var n;return t instanceof Map?(n=t.get(e))||t.set(e,n=i):(n=t[e])||(n=t[e]=i),n}function k(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var T=function(t,e){return!1},C=function(t,e){return!1},S=function(t,e,i){return[]},E=p();(E||"undefined"!=typeof Element)&&(T=l()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},C=function(){if(E||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,i){return e.apply(t,[i])}:C}(),S=function(t,e,i){var n=[];if(i)for(var r=t.querySelectorAll(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(i){e[i]=t[i]}),e}function q(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var n in t)i[n]=t[n];else B(t,i);return i}function U(t,e,i){return i?e+":"+i+";":""}function H(t){for(var e="",i=0;i *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return i.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=r[1],a=r[2],s=r[3];e.push(ot(o,s)),"<"!=a[0]||"*"==o&&"*"==s||e.push(ot(s,o))}(t,r,n)}):r.push(i),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:ht(t.options)}}},{key:"visitSequence",value:function(t,e){var i=this;return{type:2,steps:t.steps.map(function(t){return et(i,t,e)}),options:ht(t.options)}}},{key:"visitGroup",value:function(t,e){var i=this,n=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=n;var o=et(i,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:ht(t.options)}}},{key:"visitAnimate",value:function(t,e){var i,n=function(t,e){var i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return dt(Z(t,e).duration,0,"");var n=t;if(n.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=dt(0,0,"");return r.dynamic=!0,r.strValue=n,r}return dt((i=i||Z(n,e)).duration,i.delay,i.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r=t.styles?t.styles:(0,c.oB)({});if(5==r.type)i=this.visitKeyframes(r,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};n.easing&&(s.easing=n.easing),o=(0,c.oB)(s)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=a,i=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}},{key:"_makeStyleAst",value:function(t,e){var i=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==c.l3?i.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):i.push(t)}):i.push(t.styles);var n=!1,r=null;return i.forEach(function(t){if(lt(t)){var e=t,i=e.easing;if(i&&(r=i,delete e.easing),!n)for(var o in e)if(e[o].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:r,offset:t.offset,containsDynamicStyles:n,options:null}}},{key:"_validateStyleAst",value:function(t,e){var i=this,n=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(n){if(i._driver.validateStyleProperty(n)){var a,s,u,c,l,h=e.collectedStyles[e.currentQuerySelector],d=h[n],f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push('The CSS property "'.concat(n,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),f=!1),o=d.startTime),f&&(h[n]={startTime:o,endTime:r}),e.options&&(a=t[n],s=e.options,u=e.errors,c=s.params||{},(l=K(a)).length&&l.forEach(function(t){c.hasOwnProperty(t)||u.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))}))}else e.errors.push('The provided animation property "'.concat(n,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var i=this,n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;var r=0,o=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var n=i._makeStyleAst(t,e),c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(lt(t)&&t.hasOwnProperty("offset")){var i=t;e=parseFloat(i.offset),delete i.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){var i=t;e=parseFloat(i.offset),delete i.offset}return e}(n.styles),l=0;return null!=c&&(r++,l=n.offset=c),s=s||l<0||l>1,a=a||l0&&r0?r==d?1:h*r:o[r],s=a*g;e.currentTime=f+p.delay+s,p.duration=s,i._validateStyleAst(t,e),t.offset=a,n.styles.push(t)}),n}},{key:"visitReference",value:function(t,e){return{type:8,animation:et(this,Y(t.animation),e),options:ht(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:ht(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ht(t.options)}}},{key:"visitQuery",value:function(t,e){var i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;var o=r(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(at,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),a=o[0],s=o[1];e.currentQuerySelector=i.length?i+" "+a:a,A(e.collectedStyles,e.currentQuerySelector,{});var u=et(this,Y(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:u,originalSelector:t.selector,options:ht(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Z(t.timings,e.errors,!0);return{type:12,animation:et(this,Y(t.animation),e),timings:i,options:null}}}]),t}(),ct=function t(e){v(this,t),this.errors=e,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 lt(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=B(t)).params&&(t.params=(e=t.params)?B(e):null):t={},t}function dt(t,e,i){return{duration:t,delay:e,easing:i}}function ft(t,e,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var pt=function(){function t(){v(this,t),this._map=new Map}return y(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var i,n=this._map.get(t);n||this._map.set(t,n=[]),(i=n).push.apply(i,d(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),gt=new RegExp(":enter","g"),vt=new RegExp(":leave","g");function mt(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new yt).buildKeyframes(t,e,i,n,r,o,a,s,u,c)}var yt=function(){function t(){v(this,t)}return y(t,[{key:"buildKeyframes",value:function(t,e,i,n,r,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new pt;var l=new wt(t,e,u,n,r,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),et(this,i,l);var h=l.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,l.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[ft(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var i=e.subInstructions.consume(e.element);if(i){var n=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,i){var n=e.currentTimeline.currentTime,r=null!=i.duration?z(i.duration):null,o=null!=i.delay?z(i.delay):null;return 0!==r&&t.forEach(function(t){var i=e.appendInstructionToTimeline(t,r,o);n=Math.max(n,i.duration+i.delay)}),n}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),et(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var i=this,n=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=bt);var a=z(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return et(i,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var i=this,n=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?z(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),et(i,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var i=t.strValue;return Z(e.params?J(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();var r=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var i=e.currentAnimateTimings,n=e.currentTimeline.duration,r=i.duration,o=e.createSubContext().currentTimeline;o.easing=i.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(n+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var i=this,n=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?z(r.delay):0;o&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=bt);var a=n,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(n,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,n);o&&s.delayNextStep(o),n===e.element&&(u=s.currentTimeline),et(i,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var i=e.parentContext,n=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=i.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;et(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}}]),t}(),bt={},wt=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new _t(this._driver,i,0),s.push(this.currentTimeline)}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var i=this;if(t){var n=t,r=this.options;null!=n.duration&&(r.duration=z(n.duration)),null!=n.delay&&(r.delay=z(n.delay));var o=n.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=J(o[t],a,i.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var i=t.params={};Object.keys(e).forEach(function(t){i[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=bt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,i){var n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},r=new At(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(r),n}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,i,n,r,o){var a=[];if(n&&a.push(this.element),t.length>0){t=(t=t.replace(gt,"."+this._enterClassName)).replace(vt,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=i);0!==i&&(s=i<0?s.slice(s.length+i,s.length):s.slice(0,i)),a.push.apply(a,d(s))}return r||0!=a.length||o.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),a}}]),t}(),_t=function(){function t(e,i,n,r){v(this,t),this._driver=e,this.element=i,this.startTime=n,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(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}return y(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||c.l3,e._currentKeyframe[t]=c.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,i,n){var r=this;e&&(this._previousKeyframe.easing=e);var o=n&&n.params||{},a=function(t,e){var i,n={};return t.forEach(function(t){"*"===t?(i=i||Object.keys(e)).forEach(function(t){n[t]=c.l3}):q(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=J(a[t],o,i);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:c.l3),r._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,i=Object.keys(e);0!=i.length&&(this._pendingStyles={},i.forEach(function(i){t._currentKeyframe[i]=e[i]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var i=t._localTimelineStyles[e];t._pendingStyles[e]=i,t._updateStyle(e,i)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(i){var n=e._styleSummary[i],r=t._styleSummary[i];(!n||r.time>n.time)&&e._updateStyle(i,r.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=q(o,!0);Object.keys(s).forEach(function(t){var n=s[t];n==c.k1?e.add(t):n==c.l3&&i.add(t)}),n||(s.offset=a/t.duration),r.push(s)});var o=e.size?Q(e.values()):[],a=i.size?Q(i.values()):[];if(n){var s=r[0],u=B(s);s.offset=0,u.offset=1,r=[s,u]}return ft(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),t}(),At=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return v(this,i),(u=e.call(this,t,n,s.delay)).element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=c,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return y(i,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,i=e.delay,n=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&i){var o=[],a=n+i,s=i/a,u=q(t[0],!1);u.offset=0,o.push(u);var c=q(t[0],!1);c.offset=kt(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var d=q(t[h],!1);d.offset=kt((i+d.offset*n)/a),o.push(d)}n=a,i=0,r="",t=o}return ft(this.element,t,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}]),i}(_t);function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,i=Math.pow(10,e-1);return Math.round(t*i)/i}var Tt,Ct,St=function t(){v(this,t)},Et=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"normalizePropertyName",value:function(t,e){return X(t)}},{key:"normalizeStyleValue",value:function(t,e,i,n){var r="",o=i.toString().trim();if(xt[e]&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{var a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&n.push("Please provide a CSS unit value for ".concat(t,":").concat(i))}return o+r}}]),i}(St),xt=(Tt="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(","),Ct={},Tt.forEach(function(t){return Ct[t]=!0}),Ct);function Rt(t,e,i,n,r,o,a,s,u,c,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:d}}var It={},Ot=function(){function t(e,i,n){v(this,t),this._triggerName=e,this.ast=i,this._stateStyles=n}return y(t,[{key:"match",value:function(t,e,i,n){return function(t,e,i,n,r){return t.some(function(t){return t(e,i,n,r)})}(this.ast.matchers,t,e,i,n)}},{key:"buildStyles",value:function(t,e,i){var n=this._stateStyles["*"],r=this._stateStyles[t],o=n?n.buildStyles(e,i):{};return r?r.buildStyles(e,i):o}},{key:"build",value:function(t,e,i,n,r,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||It,d=this.buildStyles(i,a&&a.params||It,l),f=s&&s.params||It,p=this.buildStyles(n,f,l),g=new Set,v=new Map,m=new Map,y="void"===n,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:mt(t,e,this.ast.animation,r,o,d,p,b,u,l),_=0;if(w.forEach(function(t){_=Math.max(t.duration+t.delay,_)}),l.length)return Rt(e,this._triggerName,i,n,y,d,p,[],[],v,m,_,l);w.forEach(function(t){var i=t.element,n=A(v,i,{});t.preStyleProps.forEach(function(t){return n[t]=!0});var r=A(m,i,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),i!==e&&g.add(i)});var k=Q(g.values());return Rt(e,this._triggerName,i,n,y,d,p,w,k,v,m,_)}}]),t}(),Pt=function(){function t(e,i){v(this,t),this.styles=e,this.defaultParams=i}return y(t,[{key:"buildStyles",value:function(t,e){var i={},n=B(this.defaultParams);return Object.keys(t).forEach(function(e){var i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var o=r[t];o.length>1&&(o=J(o,n,e)),i[t]=o})}}),i}}]),t}(),Dt=function(){function t(e,i){var n=this;v(this,t),this.name=e,this.ast=i,this.transitionFactories=[],this.states={},i.states.forEach(function(t){n.states[t.name]=new Pt(t.style,t.options&&t.options.params||{})}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),i.transitions.forEach(function(t){n.transitionFactories.push(new Ot(e,t,n.states))}),this.fallbackTransition=new Ot(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return y(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,i,n){return this.transitionFactories.find(function(r){return r.match(t,e,i,n)})||null}},{key:"matchStyles",value:function(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}]),t}();function Mt(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}var Lt=new pt,Nt=function(){function t(e,i,n){v(this,t),this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return y(t,[{key:"register",value:function(t,e){var i=[],n=st(this._driver,e,i);if(i.length)throw new Error("Unable to build the animation due to the following errors: ".concat(i.join("\n")));this._animations[t]=n}},{key:"_buildPlayer",value:function(t,e,i){var n=t.element,r=m(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[t],s=new Map;if(a?(i=mt(this._driver,e,a,"ng-enter","ng-leave",{},{},r,Lt,o)).forEach(function(t){var e=A(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach(function(t,e){Object.keys(t).forEach(function(i){t[i]=n._driver.computeStyle(e,i,c.l3)})});var u=g(i.map(function(t){var e=s.get(t.element);return n._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return n.destroy(t)}),this.players.push(u),u}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,i,n){var r=_(e,"","","");return b(this._getPlayer(t),i,r,n),function(){}}},{key:"command",value:function(t,e,i,n){if("register"!=i)if("create"!=i){var r=this._getPlayer(t);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,n[0]||{});else this.register(t,n[0])}}]),t}(),zt=[],Ft={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";v(this,t),this.namespaceId=i;var n,r=e&&e.hasOwnProperty("value");if(this.value=null!=(n=r?e.value:e)?n:null,r){var o=B(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var i=this.options.params;Object.keys(e).forEach(function(t){null==i[t]&&(i[t]=e[t])})}}}]),t}(),qt=new Bt("void"),Ut=function(){function t(e,i,n){v(this,t),this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Jt(i,this._hostClassName)}return y(t,[{key:"listen",value:function(t,e,i,n){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(i,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==i||0==i.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=i)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(i,'" for the animation trigger "').concat(e,'" is not supported!'));var a=A(this._elementListeners,t,[]),s={name:e,phase:i,callback:n};a.push(s);var u=A(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(Jt(t,"ng-trigger"),Jt(t,"ng-trigger-"+e),u[e]=qt),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete u[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,i){var n=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),a=new jt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Jt(t,"ng-trigger"),Jt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new Bt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=qt),"void"===c.value||u.value!==c.value){var l=A(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==n.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,c.value,t,c.params),d=!1;if(!h){if(!r)return;h=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:d}),d||(Jt(t,"ng-animate-queued"),a.onStart(function(){Qt(t,"ng-animate-queued")})),a.onDone(function(){var e=n.players.indexOf(a);e>=0&&n.players.splice(e,1);var i=n._engine.playersByElement.get(t);if(i){var r=i.indexOf(a);r>=0&&i.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(var r=0;r=0){for(var n=!1,r=i;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}},{key:"registerTrigger",value:function(t,e,i){var n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var i=this;if(t){var n=this._fetchNamespace(t);this.afterFlush(function(){i.namespacesByHostElement.delete(n.hostElement),delete i._namespaceLookup[t];var e=i._namespaceList.indexOf(n);e>=0&&i._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return n.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,i=this.statesByElement.get(t);if(i)for(var n=Object.keys(i),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,i)}n&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Qt(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,i,n){if(Gt(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,n)}}else this._onRemovalComplete(e,n)}},{key:"markElementAsRemoved",value:function(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,i,n,r){return Gt(e)?this._fetchNamespace(t).listen(e,i,n,r):function(){}}},{key:"_buildInstruction",value:function(t,e,i,n,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,i=this.driver.query(t,".ng-trigger",!0);i.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(i=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return g(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,i=t.__ng_removed;if(i&&i.setForRemoval){if(t.__ng_removed=Ft,i.namespaceId){this.destroyInnerAnimations(t);var n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,i=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,i){return t._balanceNamespaceList(e,i)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var n=0;n=0;I--)this._namespaceList[I].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(x.push(e),i.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void e.destroy()}var h=!f||!i.driver.containsElement(f,o),d=S.get(o),p=m.get(o),g=i._buildInstruction(t,n,p,d,h);if(g.errors&&g.errors.length)R.push(g);else{if(h)return e.onStart(function(){return G(o,g.fromStyles)}),e.onDestroy(function(){return j(o,g.toStyles)}),void r.push(e);if(t.isFallbackTransition)return e.onStart(function(){return G(o,g.fromStyles)}),e.onDestroy(function(){return j(o,g.toStyles)}),void r.push(e);g.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),n.append(o,g.timelines),a.push({instruction:g,player:e,element:o}),g.queriedElements.forEach(function(t){return A(s,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var i=Object.keys(t);if(i.length){var n=u.get(e);n||u.set(e,n=new Set),i.forEach(function(t){return n.add(t)})}}),g.postStyleProps.forEach(function(t,e){var i=Object.keys(t),n=l.get(e);n||l.set(e,n=new Set),i.forEach(function(t){return n.add(t)})})}});if(R.length){var O=[];R.forEach(function(t){O.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return O.push("- ".concat(t,"\n"))})}),x.forEach(function(t){return t.destroy()}),this.reportError(O)}var P=new Map,D=new Map;a.forEach(function(t){var e=t.element;n.has(e)&&(D.set(e,e),i._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))}),r.forEach(function(t){var e=t.element;i._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){A(P,e,[]).push(t),t.destroy()})});var M=b.filter(function(t){return $t(t,u,l)}),L=new Map;Vt(L,this.driver,_,l,c.l3).forEach(function(t){$t(t,u,l)&&M.push(t)});var N=new Map;v.forEach(function(t,e){Vt(N,i.driver,new Set(t),u,c.k1)}),M.forEach(function(t){var e=L.get(t),i=N.get(t);L.set(t,Object.assign(Object.assign({},e),i))});var z=[],F=[],Z={};a.forEach(function(t){var e=t.element,a=t.player,s=t.instruction;if(n.has(e)){if(h.has(e))return a.onDestroy(function(){return j(e,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void r.push(a);var u=Z;if(D.size>1){for(var c=e,l=[];c=c.parentNode;){var d=D.get(c);if(d){u=d;break}l.push(c)}l.forEach(function(t){return D.set(t,u)})}var f=i._buildAnimation(a.namespaceId,s,P,o,N,L);if(a.setRealPlayer(f),u===Z)z.push(a);else{var p=i.playersByElement.get(u);p&&p.length&&(a.parentPlayer=g(p)),r.push(a)}}else G(e,s.fromStyles),a.onDestroy(function(){return j(e,s.toStyles)}),F.push(a),h.has(e)&&r.push(a)}),F.forEach(function(t){var e=o.get(t.element);if(e&&e.length){var i=g(e);t.setRealPlayer(i)}}),r.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var B=0;B0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new c.ZN(t.duration,t.delay)}}]),t}(),jt=function(){function t(e,i,n){v(this,t),this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new c.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return y(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(i){e._queuedCallbacks[i].forEach(function(e){return b(t,i,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,i=this._player;i.triggerCallback&&t.onStart(function(){return i.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){A(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Gt(t){return t&&1===t.nodeType}function Yt(t,e){var i=t.style.display;return t.style.display=null!=e?e:"none",i}function Vt(t,e,i,n,r){var o=[];i.forEach(function(t){return o.push(Yt(t))});var a=[];n.forEach(function(i,n){var o={};i.forEach(function(t){var i=o[t]=e.computeStyle(n,t,r);i&&0!=i.length||(n.__ng_removed=Zt,a.push(n))}),t.set(n,o)});var s=0;return i.forEach(function(t){return Yt(t,o[s++])}),a}function Kt(t,e){var i=new Map;if(t.forEach(function(t){return i.set(t,[])}),0==e.length)return i;var n=new Set(e),r=new Map;function o(t){if(!t)return 1;var e=r.get(t);if(e)return e;var a=t.parentNode;return e=i.has(a)?a:n.has(a)?1:o(a),r.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&i.get(e).push(t)}),i}function Jt(t,e){if(t.classList)t.classList.add(e);else{var i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Qt(t,e){if(t.classList)t.classList.remove(e);else{var i=t.$$classes;i&&delete i[e]}}function Wt(t,e,i){g(i).onDone(function(){return t.processLeaveNode(e)})}function Xt(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function ee(t,e){var i=null,n=null;return Array.isArray(e)&&e.length?(i=ne(e[0]),e.length>1&&(n=ne(e[e.length-1]))):e&&(i=ne(e)),i||n?new ie(t,i,n):null}var ie=function(){var t=function(){function t(e,i,n){v(this,t),this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return y(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(G(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(G(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function ne(t){for(var e=null,i=Object.keys(t),n=0;n=this._delay&&i>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),ce(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,i,n;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,i=he(t,"").split(","),(n=ue(i,e))>=0&&(i.splice(n,1),le(t,"",i.join(","))))}}]),t}();function ae(t,e,i){le(t,"PlayState",i,se(t,e))}function se(t,e){var i=he(t,"");return i.indexOf(",")>0?ue(i.split(","),e):ue([i],e)}function ue(t,e){for(var i=0;i=0)return i;return-1}function ce(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function le(t,e,i,n){var r="animation"+e;if(null!=n){var o=t.style[r];if(o.length){var a=o.split(",");a[n]=i,i=a.join(",")}}t.style[r]=i}function he(t,e){return t.style["animation"+e]||""}var de=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this.element=e,this.keyframes=i,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return y(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new oe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var i=this._state>=3;Object.keys(this._finalStyles).forEach(function(n){"offset"!=n&&(e[n]=i?t._finalStyles[n]:it(t.element,n))})}this.currentSnapshot=e}}]),t}(),fe=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=M(n),r}return y(i,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),n(h(i.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),n(h(i.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var i=t._startingStyles[e];i?t.element.style.setProperty(e,i):t.element.style.removeProperty(e)}),this._startingStyles=null,n(h(i.prototype),"destroy",this).call(this))}}]),i}(c.ZN),pe=function(){function t(){v(this,t),this._count=0}return y(t,[{key:"validateStyleProperty",value:function(t){return I(t)}},{key:"matchesElement",value:function(t,e){return O(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,i){return D(t,e,i)}},{key:"computeStyle",value:function(t,e,i){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,i){i=i.map(function(t){return M(t)});var n="@keyframes ".concat(e," {\n"),r="";i.forEach(function(t){r=" ";var e=parseFloat(t.offset);n+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach(function(e){var i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+="".concat(r,"animation-timing-function: ").concat(i,";\n")));default:return void(n+="".concat(r).concat(e,": ").concat(i,";\n"))}}),n+="".concat(r,"}\n")}),n+="}\n";var o=document.createElement("style");return o.textContent=n,o}},{key:"animate",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(t){return t instanceof de}),s={};$(i,n)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(i){"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=tt(t,e,s));if(0==i)return new fe(t,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(t,c,e);(function(t){var e,i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(l);var h=ee(t,e),d=new de(t,e,c,i,n,r,u,h);return d.onDestroy(function(){var t;(t=l).parentNode.removeChild(t)}),d}}]),t}(),ge=function(){function t(e,i,n,r){v(this,t),this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,i){return t.animate(e,i)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(i){"offset"!=i&&(e[i]=t._finished?t._finalKeyframe[i]:it(t.element,i))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),ve=function(){function t(){v(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(me().toString()),this._cssKeyframesDriver=new pe}return y(t,[{key:"validateStyleProperty",value:function(t){return I(t)}},{key:"matchesElement",value:function(t,e){return O(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,i){return D(t,e,i)}},{key:"computeStyle",value:function(t,e,i){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,r,o);var s={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(s.easing=r);var u={},c=o.filter(function(t){return t instanceof ge});$(i,n)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=ee(t,e=tt(t,e=e.map(function(t){return q(t,!1)}),u));return new ge(t,e,s,l)}}]),t}();function me(){return l()&&Element.prototype.animate||{}}var ye=i(61511),be=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}}),r}return y(i,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var i=Array.isArray(t)?(0,c.vP)(t):t;return Ae(this._renderer,null,e,"register",[i]),new we(e,this._renderer)}}]),i}(c._j);return t.\u0275fac=function(e){return new(e||t)(a.LFG(a.FYo),a.LFG(ye.K0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),we=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this))._id=t,r._renderer=n,r}return y(i,[{key:"create",value:function(t,e){return new _e(this._id,t,e||{},this._renderer)}}]),i}(c.LC),_e=function(){function t(e,i,n,r){v(this,t),this.id=e,this.element=i,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return y(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}},{key:"removeChild",value:function(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}},{key:"removeAttribute",value:function(t,e,i){this.delegate.removeAttribute(t,e,i)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,i,n){this.delegate.setStyle(t,e,i,n)}},{key:"removeStyle",value:function(t,e,i){this.delegate.removeStyle(t,e,i)}},{key:"setProperty",value:function(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,i){return this.delegate.listen(t,e,i)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),Ce=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,n,r,o)).factory=t,a.namespaceId=n,a}return y(i,[{key:"setProperty",value:function(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}},{key:"listen",value:function(t,e,i){var n,o,a=this;if("@"==e.charAt(0)){var s,u=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),c=e.substr(1),l="";return"@"!=c.charAt(0)&&(o=(n=c).indexOf("."),c=(s=r([n.substring(0,o),n.substr(o+1)],2))[0],l=s[1]),this.engine.listen(this.namespaceId,u,c,l,function(t){a.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}]),i}(Te),Se=function(){var t=function(t){o(i,t);var e=s(i);function i(t,n,r){return v(this,i),e.call(this,t.body,n,r)}return y(i,[{key:"ngOnDestroy",value:function(){this.flush()}}]),i}(te);return t.\u0275fac=function(e){return new(e||t)(a.LFG(ye.K0),a.LFG(N),a.LFG(St))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),Ee=new a.OlP("AnimationModuleType"),xe=[{provide:c._j,useClass:be},{provide:St,useFactory:function(){return new Et}},{provide:te,useClass:Se},{provide:a.FYo,useFactory:function(t,e,i){return new ke(t,e,i)},deps:[u.se,te,a.R0b]}],Re=[{provide:N,useFactory:function(){return"function"==typeof me()?new ve:new pe}},{provide:Ee,useValue:"BrowserAnimations"}].concat(xe),Ie=[{provide:N,useClass:L},{provide:Ee,useValue:"NoopAnimations"}].concat(xe),Oe=function(){var t=function(){function t(){v(this,t)}return y(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?Ie:Re}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:Re,imports:[u.b2]}),t}()},30269:function(t,e,i){"use strict";i.d(e,{b2:function(){return H},H7:function(){return F},Dx:function(){return G},q6:function(){return q},se:function(){return x}});var r,a=i(61511),u=i(31572),c=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"onAndCancel",value:function(t,e,i){return t.addEventListener(e,i,!1),function(){t.removeEventListener(e,i,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(l=l||document.querySelector("base"))?l.getAttribute("href"):null;return null==e?null:function(t){(r=r||document.createElement("a")).setAttribute("href",t);var e=r.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){l=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return(0,a.Mx)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){(0,a.HT)(new i)}}]),i}(function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return i}(a.w_)),l=null,d=new u.OlP("TRANSITION_ID"),f=[{provide:u.ip1,useFactory:function(t,e,i){return function(){i.get(u.CZH).donePromise.then(function(){var i=(0,a.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(function(e){return e.getAttribute("ng-transition")===t}).forEach(function(t){return i.remove(t)})})}},deps:[d,a.K0,u.zs3],multi:!0}],p=function(){function t(){v(this,t)}return y(t,[{key:"addToWindow",value:function(t){u.dqk.getAngularTestability=function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},u.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},u.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(function(t){var e=u.dqk.getAllAngularTestabilities(),i=e.length,n=!1,r=function(e){n=n||e,0==--i&&t(n)};e.forEach(function(t){t.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(t,e,i){if(null==e)return null;var n=t.getTestability(e);return null!=n?n:i?(0,a.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,u.VLi)(new t)}}]),t}(),g=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t}(),m=new u.OlP("EventManagerPlugins"),b=function(){var t=function(){function t(e,i){var n=this;v(this,t),this._zone=i,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=n}),this._plugins=e.slice().reverse()}return y(t,[{key:"addEventListener",value:function(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}},{key:"addGlobalEventListener",value:function(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var i=this._plugins,n=0;n-1&&(e.splice(i,1),o+=t+".")}),o+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=n,a.fullKey=o,a}},{key:"getEventFullKey",value:function(t){var e="",i=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&L.hasOwnProperty(e)&&(e=L[e]))}return M[e]||e}(t);return" "===(i=i.toLowerCase())?i="space":"."===i&&(i="dot"),D.forEach(function(n){n!=i&&(0,N[n])(t)&&(e+=n+".")}),e+=i}},{key:"eventCallback",value:function(t,e,n){return function(r){i.getEventFullKey(r)===t&&n.runGuarded(function(){return e(r)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),i}(w);return t.\u0275fac=function(e){return new(e||t)(u.LFG(a.K0))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t}(),F=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,u.Yz7)({factory:function(){return(0,u.LFG)(B)},token:t,providedIn:"root"}),t}();function Z(t){return new B(t.get(a.K0))}var B=function(){var t=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this))._doc=t,n}return y(i,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case u.q3G.NONE:return e;case u.q3G.HTML:return(0,u.qzn)(e,"HTML")?(0,u.z3N)(e):(0,u.EiD)(this._doc,String(e)).toString();case u.q3G.STYLE:return(0,u.qzn)(e,"Style")?(0,u.z3N)(e):e;case u.q3G.SCRIPT:if((0,u.qzn)(e,"Script"))return(0,u.z3N)(e);throw new Error("unsafe value used in a script context");case u.q3G.URL:return(0,u.yhl)(e),(0,u.qzn)(e,"URL")?(0,u.z3N)(e):(0,u.mCW)(String(e));case u.q3G.RESOURCE_URL:if((0,u.qzn)(e,"ResourceURL"))return(0,u.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return(0,u.JVY)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return(0,u.L6k)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return(0,u.eBb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return(0,u.LAX)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return(0,u.pB0)(t)}}]),i}(F);return t.\u0275fac=function(e){return new(e||t)(u.LFG(a.K0))},t.\u0275prov=(0,u.Yz7)({factory:function(){return Z((0,u.LFG)(u.gxx))},token:t,providedIn:"root"}),t}(),q=(0,u.eFA)(u._c5,"browser",[{provide:u.Lbi,useValue:a.bD},{provide:u.g9A,useValue:function(){c.makeCurrent(),p.init()},multi:!0},{provide:a.K0,useFactory:function(){return(0,u.RDi)(document),document},deps:[]}]),U=[[],{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function(){return new u.qLn},deps:[]},{provide:m,useClass:P,multi:!0,deps:[a.K0,u.R0b,u.Lbi]},{provide:m,useClass:z,multi:!0,deps:[a.K0]},[],{provide:x,useClass:x,deps:[b,A,u.AFp]},{provide:u.FYo,useExisting:x},{provide:_,useExisting:A},{provide:A,useClass:A,deps:[a.K0]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b]},{provide:b,useClass:b,deps:[m,u.R0b]},{provide:a.JF,useClass:g,deps:[]},[]],H=function(){var t=function(){function t(e){if(v(this,t),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.")}return y(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:u.AFp,useValue:e.appId},{provide:d,useExisting:u.AFp},f]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(t,12))},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({providers:U,imports:[a.ez,u.hGG]}),t}();function j(){return new G((0,u.LFG)(a.K0))}var G=function(){var t=function(){function t(e){v(this,t),this._doc=e}return y(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(u.LFG(a.K0))},t.\u0275prov=(0,u.Yz7)({factory:j,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},57629:function(t,e,i){"use strict";i.d(e,{gz:function(){return $t},m2:function(){return J},OD:function(){return K},GZ:function(){return xi},wN:function(){return ci},F0:function(){return _i},rH:function(){return Ai},yS:function(){return ki},Bz:function(){return Li},lC:function(){return Ci}});var n=i(61511),r=i(31572),a=i(19764),u=i(40878),l=i(78512),h=i(31305),p=i(48318),g=i(39665),m=i(47930),b=i(31450),w=i(70653),_=i(42875),A=i(55959),k=i(96673);function T(t,e){var i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new C(t,e,i))}}var C=function(){function t(e,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];v(this,t),this.accumulator=e,this.seed=i,this.hasSeed=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new S(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),S=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t)).accumulator=n,a._seed=r,a.hasSeed=o,a.index=0,a}return y(i,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,i=this.index++;try{e=this.accumulator(this.seed,t,i)}catch(n){this.destination.error(n)}this.seed=e,this.destination.next(e)}}]),i}(k.L),E=i(43835),x=i(98402);function R(t){return function(e){return 0===t?(0,w.c)():e.lift(new I(t))}}var I=function(){function t(e){if(v(this,t),this.total=e,this.total<0)throw new x.W}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new O(t,this.total))}}]),t}(),O=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).total=n,r.ring=new Array,r.count=0,r}return y(i,[{key:"_next",value:function(t){var e=this.ring,i=this.total,n=this.count++;e.length0)for(var i=this.count>=this.total?this.total:this.count,n=this.ring,r=0;r2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return v(this,i),(r=e.call(this,t,n)).navigationTrigger=o,r.restoredState=a,r}return y(i,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(V),J=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t,n)).urlAfterRedirects=r,o}return y(i,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),i}(V),Q=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t,n)).reason=r,o}return y(i,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(V),W=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t,n)).error=r,o}return y(i,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),i}(V),X=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n)).urlAfterRedirects=r,a.state=o,a}return y(i,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(V),$=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n)).urlAfterRedirects=r,a.state=o,a}return y(i,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(V),tt=function(t){o(i,t);var e=s(i);function i(t,n,r,o,a){var s;return v(this,i),(s=e.call(this,t,n)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return y(i,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),i}(V),et=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n)).urlAfterRedirects=r,a.state=o,a}return y(i,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(V),it=function(t){o(i,t);var e=s(i);function i(t,n,r,o){var a;return v(this,i),(a=e.call(this,t,n)).urlAfterRedirects=r,a.state=o,a}return y(i,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(V),nt=function(){function t(e){v(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),rt=function(){function t(e){v(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),ot=function(){function t(e){v(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),at=function(){function t(e){v(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),st=function(){function t(e){v(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ut=function(){function t(e){v(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ct=function(){function t(e,i,n){v(this,t),this.routerEvent=e,this.position=i,this.anchor=n}return y(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),lt=function(){function t(e){v(this,t),this.params=e||{}}return y(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function ht(t){return new lt(t)}function dt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ft(t,e,i){var n=i.path.split("/");if(n.length>t.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.length0?t[t.length-1]:null}function yt(t,e){for(var i in t)t.hasOwnProperty(i)&&e(t[i],i)}function bt(t){return(0,r.CqO)(t)?t:(0,r.QGY)(t)?(0,a.D)(Promise.resolve(t)):(0,u.of)(t)}var wt={exact:function t(e,i,n){if(!Rt(e.segments,i.segments))return!1;if(!Ct(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(var r in i.children){if(!e.children[r])return!1;if(!t(e.children[r],i.children[r],n))return!1}return!0},subset:kt},_t={exact:function(t,e){return pt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(i){return gt(t[i],e[i])})},ignored:function(){return!0}};function At(t,e,i){return wt[i.paths](t.root,e.root,i.matrixParams)&&_t[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function kt(t,e,i){return Tt(t,e,e.segments,i)}function Tt(t,e,i,n){if(t.segments.length>i.length){var r=t.segments.slice(0,i.length);return!!Rt(r,i)&&!e.hasChildren()&&!!Ct(r,i,n)}if(t.segments.length===i.length){if(!Rt(t.segments,i))return!1;if(!Ct(t.segments,i,n))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!kt(t.children[o],e.children[o],n))return!1}return!0}var a=i.slice(0,t.segments.length),s=i.slice(t.segments.length);return!!Rt(t.segments,a)&&!!Ct(t.segments,a,n)&&!!t.children.primary&&Tt(t.children.primary,e,s,n)}function Ct(t,e,i){return e.every(function(e,n){return _t[i](t[n].parameters,e.parameters)})}var St=function(){function t(e,i,n){v(this,t),this.root=e,this.queryParams=i,this.fragment=n}return y(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ht(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Pt.serialize(this)}}]),t}(),Et=function(){function t(e,i){var n=this;v(this,t),this.segments=e,this.children=i,this.parent=null,yt(i,function(t,e){return t.parent=n})}return y(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Dt(this)}}]),t}(),xt=function(){function t(e,i){v(this,t),this.path=e,this.parameters=i}return y(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ht(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Bt(this)}}]),t}();function Rt(t,e){return t.length===e.length&&t.every(function(t,i){return t.path===e[i].path})}var It=function t(){v(this,t)},Ot=function(){function t(){v(this,t)}return y(t,[{key:"parse",value:function(t){var e=new Gt(t);return new St(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,i,n;return"/".concat(Mt(t.root,!0)).concat((i=t.queryParams,n=Object.keys(i).map(function(t){var e=i[t];return Array.isArray(e)?e.map(function(e){return"".concat(Nt(t),"=").concat(Nt(e))}).join("&"):"".concat(Nt(t),"=").concat(Nt(e))}).filter(function(t){return!!t}),n.length?"?".concat(n.join("&")):"")).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),Pt=new Ot;function Dt(t){return t.segments.map(function(t){return Bt(t)}).join("/")}function Mt(t,e){if(!t.hasChildren())return Dt(t);if(e){var i=t.children.primary?Mt(t.children.primary,!1):"",n=[];return yt(t.children,function(t,e){"primary"!==e&&n.push("".concat(e,":").concat(Mt(t,!1)))}),n.length>0?"".concat(i,"(").concat(n.join("//"),")"):i}var r=function(t,e){var i=[];return yt(t.children,function(t,n){"primary"===n&&(i=i.concat(e(t,n)))}),yt(t.children,function(t,n){"primary"!==n&&(i=i.concat(e(t,n)))}),i}(t,function(e,i){return"primary"===i?[Mt(t.children.primary,!1)]:["".concat(i,":").concat(Mt(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children.primary?"".concat(Dt(t),"/").concat(r[0]):"".concat(Dt(t),"/(").concat(r.join("//"),")")}function Lt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(t){return Lt(t).replace(/%3B/gi,";")}function zt(t){return Lt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(t){return decodeURIComponent(t)}function Zt(t){return Ft(t.replace(/\+/g,"%20"))}function Bt(t){return"".concat(zt(t.path)).concat((e=t.parameters,Object.keys(e).map(function(t){return";".concat(zt(t),"=").concat(zt(e[t]))}).join("")));var e}var qt=/^[^\/()?;=#]+/;function Ut(t){var e=t.match(qt);return e?e[0]:""}var Ht=/^[^=?&#]+/,jt=/^[^?&#]+/,Gt=function(){function t(e){v(this,t),this.url=e,this.remaining=e}return y(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new Et(t,e)),i}},{key:"parseSegment",value:function(){var t=Ut(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new xt(Ft(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Ut(this.remaining);if(e){this.capture(e);var i="";if(this.consumeOptional("=")){var n=Ut(this.remaining);n&&(i=n,this.capture(i))}t[Ft(e)]=Ft(i)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Ht);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var i="";if(this.consumeOptional("=")){var n=function(t){var e=t.match(jt);return e?e[0]:""}(this.remaining);n&&(i=n,this.capture(i))}var r=Zt(e),o=Zt(i);if(t.hasOwnProperty(r)){var a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var i=Ut(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;i.indexOf(":")>-1?(r=i.substr(0,i.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var o=this.parseChildren();e[r]=1===Object.keys(o).length?o.primary:new Et([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),Yt=function(){function t(e){v(this,t),this._root=e}return y(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=Vt(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=Vt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Kt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Kt(t,this._root).map(function(t){return t.value})}}]),t}();function Vt(t,e){if(t===e.value)return e;var i,n=f(e.children);try{for(n.s();!(i=n.n()).done;){var r=Vt(t,i.value);if(r)return r}}catch(o){n.e(o)}finally{n.f()}return null}function Kt(t,e){if(t===e.value)return[e];var i,n=f(e.children);try{for(n.s();!(i=n.n()).done;){var r=Kt(t,i.value);if(r.length)return r.unshift(e),r}}catch(o){n.e(o)}finally{n.f()}return[]}var Jt=function(){function t(e,i){v(this,t),this.value=e,this.children=i}return y(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Qt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Wt=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).snapshot=n,ne(c(r),t),r}return y(i,[{key:"toString",value:function(){return this.snapshot.toString()}}]),i}(Yt);function Xt(t,e){var i=function(t,e){var i=new ee([],{},{},"",{},"primary",e,null,t.root,-1,{});return new ie("",new Jt(i,[]))}(t,e),n=new l.X([new xt("",{})]),r=new l.X({}),o=new l.X({}),a=new l.X({}),s=new l.X(""),u=new $t(n,r,a,s,o,"primary",e,i.root);return u.snapshot=i.root,new Wt(new Jt(u,[]),i)}var $t=function(){function t(e,i,n,r,o,a,s,u){v(this,t),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return y(t,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,L.U)(function(t){return ht(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,L.U)(function(t){return ht(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function te(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",i=t.pathFromRoot,n=0;if("always"!==e)for(n=i.length-1;n>=1;){var r=i[n],o=i[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(i.slice(n))}var ee=function(){function t(e,i,n,r,o,a,s,u,c,l,h){v(this,t),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return y(t,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ht(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ht(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),ie=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,n)).url=t,ne(c(r),n),r}return y(i,[{key:"toString",value:function(){return re(this._root)}}]),i}(Yt);function ne(t,e){e.value._routerState=t,e.children.forEach(function(e){return ne(t,e)})}function re(t){var e=t.children.length>0?" { ".concat(t.children.map(re).join(", ")," } "):"";return"".concat(t.value).concat(e)}function oe(t){if(t.snapshot){var e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,pt(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),pt(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(var i=0;i0&&ce(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(le);if(r&&r!==mt(n))throw new Error("{outlets:{}} has to be the last command")}return y(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),pe=function t(e,i,n){v(this,t),this.segmentGroup=e,this.processChildren=i,this.index=n};function ge(t,e,i){if(t||(t=new Et([],{})),0===t.segments.length&&t.hasChildren())return ve(t,e,i);var n=function(t,e,i){for(var n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r=i.length)return o;var a=t.segments[r],s=i[n];if(le(s))break;var u="".concat(s),c=n0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!we(u,c,a))return o;n+=2}else{if(!we(u,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",i=0;i0)?Object.assign({},Le):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(e.matcher||ft)(i,t,e);if(!r)return Object.assign({},Le);var o={};yt(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(n=r.posParams)&&void 0!==n?n:{}}}function ze(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(i.length>0&&function(t,e,i){return i.some(function(i){return Fe(t,e,i)&&"primary"!==De(i)})}(t,i,n)){var o=new Et(e,function(t,e,i,n){var r={};r.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;var o,a=f(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==De(s)){var u=new Et([],{});u._sourceSegment=t,u._segmentIndexShift=e.length,r[De(s)]=u}}}catch(c){a.e(c)}finally{a.f()}return r}(t,e,n,new Et(i,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(function(i){return Fe(t,e,i)})}(t,i,n)){var a=new Et(t.segments,function(t,e,i,n,r,o){var a,s={},u=f(n);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(Fe(t,i,c)&&!r[De(c)]){var l=new Et([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[De(c)]=l}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},r),s)}(t,e,i,n,t.children,r));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:i}}var s=new Et(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:i}}function Fe(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function Ze(t,e,i,n){return!!(De(t)===n||"primary"!==n&&Fe(e,i,t))&&("**"===t.path||Ne(e,t,i).matched)}function Be(t,e,i){return 0===e.length&&!t.children[i]}var qe=function t(e){v(this,t),this.segmentGroup=e||null},Ue=function t(e){v(this,t),this.urlTree=e};function He(t){return new p.y(function(e){return e.error(new qe(t))})}function je(t){return new p.y(function(e){return e.error(new Ue(t))})}function Ge(t){return new p.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var Ye=function(){function t(e,i,n,o,a){v(this,t),this.configLoader=i,this.urlSerializer=n,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=e.get(r.h0i)}return y(t,[{key:"apply",value:function(){var t=this,e=ze(this.urlTree.root,[],[],this.config).segmentGroup,i=new Et(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,i,"primary").pipe((0,L.U)(function(e){return t.createUrlTree(Ve(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,Z.K)(function(e){if(e instanceof Ue)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof qe)throw t.noMatchError(e);throw e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,L.U)(function(i){return e.createUrlTree(Ve(i),t.queryParams,t.fragment)})).pipe((0,Z.K)(function(t){if(t instanceof qe)throw e.noMatchError(t);throw t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,e,i){var n=t.segments.length>0?new Et([],{primary:t}):t;return new St(n,e,i)}},{key:"expandSegmentGroup",value:function(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe((0,L.U)(function(t){return new Et([],t)})):this.expandSegment(t,i,e,i.segments,n,!0)}},{key:"expandChildren",value:function(t,e,i){for(var n=this,r=[],o=0,s=Object.keys(i.children);o=2;return function(n){return n.pipe(t?(0,E.h)(function(e,i){return t(e,i,n)}):M.y,R(1),i?(0,D.d)(e):(0,P.T)(function(){return new g.K}))}}())}},{key:"expandSegment",value:function(t,e,i,n,r,o){var s=this;return(0,a.D)(i).pipe((0,B.b)(function(a){return s.expandSegmentAgainstRoute(t,e,i,a,n,r,o).pipe((0,Z.K)(function(t){if(t instanceof qe)return(0,u.of)(null);throw t}))}),(0,q.P)(function(t){return!!t}),(0,Z.K)(function(t,i){if(t instanceof g.K||"EmptyError"===t.name){if(Be(e,n,r))return(0,u.of)(new Et([],{}));throw new qe(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,i,n,r,o,a){return Ze(n,e,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,r,o):He(e):He(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,i,n,r,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,i,n){var r=this,o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?je(o):this.lineralizeSegments(i,o).pipe((0,U.zg)(function(i){var o=new Et(i,{});return r.expandSegment(t,o,e,i,n,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,i,n,r,o){var a=this,s=Ne(e,n,r),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return He(e);var d=this.applyRedirectCommands(c,n.redirectTo,h);return n.redirectTo.startsWith("/")?je(d):this.lineralizeSegments(n,d).pipe((0,U.zg)(function(n){return a.expandSegment(t,e,i,n.concat(r.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,i,n,r){var o=this;if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,u.of)(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe((0,L.U)(function(t){return i._loadedConfig=t,new Et(n,{})})):(0,u.of)(new Et(n,{}));var a=Ne(e,i,n),s=a.matched,c=a.consumedSegments,l=a.lastChild;if(!s)return He(e);var h=n.slice(l);return this.getChildConfig(t,i,n).pipe((0,U.zg)(function(t){var n=t.module,a=t.routes,s=ze(e,c,h,a),l=s.segmentGroup,d=s.slicedSegments,f=new Et(l.segments,l.children);if(0===d.length&&f.hasChildren())return o.expandChildren(n,a,f).pipe((0,L.U)(function(t){return new Et(c,t)}));if(0===a.length&&0===d.length)return(0,u.of)(new Et(c,{}));var p=De(i)===r;return o.expandSegment(n,f,a,d,p?"primary":r,!0).pipe((0,L.U)(function(t){return new Et(c.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,i){var n=this;return e.children?(0,u.of)(new ke(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,u.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe((0,U.zg)(function(i){return i?n.configLoader.load(t.injector,e).pipe((0,L.U)(function(t){return e._loadedConfig=t,t})):function(t){return new p.y(function(e){return e.error(dt("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))})}(e)})):(0,u.of)(new ke([],t))}},{key:"runCanLoadGuards",value:function(t,e,i){var n=this,r=e.canLoad;if(!r||0===r.length)return(0,u.of)(!0);var o=r.map(function(n){var r,o=t.get(n);if(function(t){return t&&Te(t.canLoad)}(o))r=o.canLoad(e,i);else{if(!Te(o))throw new Error("Invalid CanLoad guard");r=o(e,i)}return bt(r)});return(0,u.of)(o).pipe(Ee(),(0,H.b)(function(t){if(Ce(t)){var e=dt('Redirecting to "'.concat(n.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,L.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var i=[],n=e.root;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,u.of)(i);if(n.numberOfChildren>1||!n.children.primary)return Ge(t.redirectTo);n=n.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,i,n){var r=this.createSegmentGroup(t,e.root,i,n);return new St(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var i={};return yt(t,function(t,n){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);i[n]=e[r]}else i[n]=t}),i}},{key:"createSegmentGroup",value:function(t,e,i,n){var r=this,o=this.createSegments(t,e.segments,i,n),a={};return yt(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,i,n)}),new Et(o,a)}},{key:"createSegments",value:function(t,e,i,n){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,n):r.findOrReturn(e,i)})}},{key:"findPosParam",value:function(t,e,i){var n=i[e.path.substring(1)];if(!n)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return n}},{key:"findOrReturn",value:function(t,e){var i,n=0,r=f(e);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(o.path===t.path)return e.splice(n),o;n++}}catch(a){r.e(a)}finally{r.f()}return t}}]),t}();function Ve(t){for(var e={},i=0,n=Object.keys(t.children);i0||o.hasChildren())&&(e[r]=o)}return function(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new Et(t.segments.concat(e.segments),e.children)}return t}(new Et(t.segments,e))}var Ke=function t(e){v(this,t),this.path=e,this.route=this.path[this.path.length-1]},Je=function t(e,i){v(this,t),this.component=e,this.route=i};function Qe(t,e,i){var n=t._root;return Xe(n,e?e._root:null,i,[n.value])}function We(t,e,i){var n=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var i=e.routeConfig;if(i&&i._loadedConfig)return i._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function Xe(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Qt(e);return t.children.forEach(function(t){!function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,a=e?e.value:null,s=i?i.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Rt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Rt(t.url,e.url)||!pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ae(t,e)||!pt(t.queryParams,e.queryParams);case"paramsChange":default:return!ae(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Ke(n)):(o.data=a.data,o._resolvedData=a._resolvedData),Xe(t,e,o.component?s?s.children:null:i,n,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Je(s.outlet.component,a))}else a&&$e(e,s,r),r.canActivateChecks.push(new Ke(n)),Xe(t,null,o.component?s?s.children:null:i,n,r)}(t,o[t.value.outlet],i,n.concat([t.value]),r),delete o[t.value.outlet]}),yt(o,function(t,e){return $e(t,i.getContext(e),r)}),r}function $e(t,e,i){var n=Qt(t),r=t.value;yt(n,function(t,n){$e(t,r.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Je(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var ti=function t(){v(this,t)};function ei(t){return new p.y(function(e){return e.error(t)})}var ii=function(){function t(e,i,n,r,o,a){v(this,t),this.rootComponentType=e,this.config=i,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return y(t,[{key:"recognize",value:function(){var t=ze(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;var i=new ee([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Jt(i,e),r=new ie(this.url,n);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(t){var e=this,i=t.value,n=te(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}},{key:"processChildren",value:function(t,e){for(var i=[],n=0,r=Object.keys(e.children);n0?mt(i).parameters:{};r=new ee(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ai(t),De(t),t.component,t,ri(e),oi(e)+i.length,si(t))}else{var u=Ne(e,t,i);if(!u.matched)return null;o=u.consumedSegments,a=i.slice(u.lastChild),r=new ee(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ai(t),De(t),t.component,t,ri(e),oi(e)+o.length,si(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),l=ze(e,o,a,c.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(c,h);return null===f?null:[new Jt(r,f)]}if(0===c.length&&0===d.length)return[new Jt(r,[])];var p=De(t)===n,g=this.processSegment(c,h,d,p?"primary":n);return null===g?null:[new Jt(r,g)]}}]),t}();function ni(t){var e,i=[],n=new Set,r=f(t);try{var o=function(){var t,r=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(r))return i.push(r),"continue";var o=i.find(function(t){return r.value.routeConfig===t.value.routeConfig});void 0!==o?((t=o.children).push.apply(t,d(r.children)),n.add(o)):i.push(r)};for(r.s();!(e=r.n()).done;)o()}catch(l){r.e(l)}finally{r.f()}var a,s=f(n);try{for(s.s();!(a=s.n()).done;){var u=a.value,c=ni(u.children);i.push(new Jt(u.value,c))}}catch(l){s.e(l)}finally{s.f()}return i.filter(function(t){return!n.has(t)})}function ri(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function oi(t){for(var e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)i+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return i-1}function ai(t){return t.data||{}}function si(t){return t.resolve||{}}function ui(t){return(0,N.w)(function(e){var i=t(e);return i?(0,a.D)(i).pipe((0,L.U)(function(){return e})):(0,u.of)(e)})}var ci=function t(){v(this,t)},li=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(function(){function t(){v(this,t)}return y(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),hi=new r.OlP("ROUTES"),di=function(){function t(e,i,n,r){v(this,t),this.loader=e,this.compiler=i,this.onLoadStartListener=n,this.onLoadEndListener=r}return y(t,[{key:"load",value:function(t,e){var i=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var n=this.loadModuleFactory(e.loadChildren).pipe((0,L.U)(function(n){i.onLoadEndListener&&i.onLoadEndListener(e);var o=n.create(t);return new ke(vt(o.injector.get(hi,void 0,r.XFs.Self|r.XFs.Optional)).map(Pe),o)}),(0,Z.K)(function(t){throw e._loader$=void 0,t}));return e._loader$=new _.c(n,function(){return new A.xQ}).pipe((0,j.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,a.D)(this.loader.load(t)):bt(t()).pipe((0,U.zg)(function(t){return t instanceof r.YKP?(0,u.of)(t):(0,a.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),fi=function t(){v(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new pi,this.attachRef=null},pi=function(){function t(){v(this,t),this.contexts=new Map}return y(t,[{key:"onChildOutletCreated",value:function(t,e){var i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new fi,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),gi=function(){function t(){v(this,t)}return y(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function vi(t){throw t}function mi(t,e,i){return e.parse("/")}function yi(t,e){return(0,u.of)(null)}var bi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_i=function(){var t=function(){function t(e,i,n,o,a,s,u,c){var h=this;v(this,t),this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=n,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new A.xQ,this.errorHandler=vi,this.malformedUriErrorHandler=mi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yi,afterPreactivation:yi},this.urlHandlingStrategy=new gi,this.routeReuseStrategy=new li,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var d=a.get(r.R0b);this.isNgZoneEnabled=d instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new St(new Et([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new di(s,u,function(t){return h.triggerEvent(new nt(t))},function(t){return h.triggerEvent(new rt(t))}),this.routerState=Xt(this.currentUrlTree,this.rootComponentType),this.transitions=new l.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()}return y(t,[{key:"setupNavigations",value:function(t){var e=this,i=this.events;return t.pipe((0,E.h)(function(t){return 0!==t.id}),(0,L.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,N.w)(function(t){var n,r,o,s=!1,c=!1;return(0,u.of)(t).pipe((0,H.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,N.w)(function(t){var n,r,o,a,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,u.of)(t).pipe((0,N.w)(function(t){var n=e.transitions.getValue();return i.next(new K(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==e.transitions.getValue()?w.E:Promise.resolve(t)}),(n=e.ngModule.injector,r=e.configLoader,o=e.urlSerializer,a=e.config,(0,N.w)(function(t){return function(t,e,i,n,r){return new Ye(t,e,i,n,r).apply()}(n,r,o,t.extractedUrl,a).pipe((0,L.U)(function(e){return Object.assign(Object.assign({},t),{urlAfterRedirects:e})}))})),(0,H.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,i,n,r,o){return(0,U.zg)(function(n){return function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new ii(t,e,i,n,r,o).recognize();return null===a?ei(new ti):(0,u.of)(a)}catch(s){return ei(s)}}(t,i,n.urlAfterRedirects,(a=n.urlAfterRedirects,e.serializeUrl(a)),r,o).pipe((0,L.U)(function(t){return Object.assign(Object.assign({},n),{targetSnapshot:t})}));var a})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,H.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var n=new X(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);i.next(n)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var c=t.id,l=t.extractedUrl,h=t.source,d=t.restoredState,f=t.extras,p=new K(c,e.serializeUrl(l),h,d);i.next(p);var g=Xt(l,e.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},t),{targetSnapshot:g,urlAfterRedirects:l,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),w.E}),ui(function(t){var i=t.targetSnapshot,n=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.beforePreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,H.b)(function(t){var i=new $(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)}),(0,L.U)(function(t){return Object.assign(Object.assign({},t),{guards:Qe(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,U.zg)(function(i){var n=i.targetSnapshot,r=i.currentSnapshot,o=i.guards,s=o.canActivateChecks,c=o.canDeactivateChecks;return 0===c.length&&0===s.length?(0,u.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return(0,a.D)(t).pipe((0,U.zg)(function(t){return function(t,e,i,n,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,u.of)(!0);var a=o.map(function(o){var a,s=We(o,e,r);if(function(t){return t&&Te(t.canDeactivate)}(s))a=bt(s.canDeactivate(t,e,i,n));else{if(!Te(s))throw new Error("Invalid CanDeactivate guard");a=bt(s(t,e,i,n))}return a.pipe((0,q.P)())});return(0,u.of)(a).pipe(Ee())}(t.component,t.route,i,e,n)}),(0,q.P)(function(t){return!0!==t},!0))}(c,n,r,t).pipe((0,U.zg)(function(i){return i&&"boolean"==typeof i?function(t,e,i,n){return(0,a.D)(e).pipe((0,B.b)(function(e){return(0,m.z)(function(t,e){return null!==t&&e&&e(new ot(t)),(0,u.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new st(t)),(0,u.of)(!0)}(e.route,n),function(t,e,i){var n=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return(0,b.P)(function(){var r=e.guards.map(function(r){var o,a=We(r,e.node,i);if(function(t){return t&&Te(t.canActivateChild)}(a))o=bt(a.canActivateChild(n,t));else{if(!Te(a))throw new Error("Invalid CanActivateChild guard");o=bt(a(n,t))}return o.pipe((0,q.P)())});return(0,u.of)(r).pipe(Ee())})});return(0,u.of)(r).pipe(Ee())}(t,e.path,i),function(t,e,i){var n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,u.of)(!0);var r=n.map(function(n){return(0,b.P)(function(){var r,o=We(n,e,i);if(function(t){return t&&Te(t.canActivate)}(o))r=bt(o.canActivate(e,t));else{if(!Te(o))throw new Error("Invalid CanActivate guard");r=bt(o(e,t))}return r.pipe((0,q.P)())})});return(0,u.of)(r).pipe(Ee())}(t,e.route,i))}),(0,q.P)(function(t){return!0!==t},!0))}(n,s,t,e):(0,u.of)(i)}),(0,L.U)(function(t){return Object.assign(Object.assign({},i),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,H.b)(function(t){if(Ce(t.guardsResult)){var i=dt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw i.url=t.guardsResult,i}var n=new tt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),(0,E.h)(function(t){return!!t.guardsResult||(e.cancelNavigationTransition(t,""),!1)}),ui(function(t){if(t.guards.canActivateChecks.length)return(0,u.of)(t).pipe((0,H.b)(function(t){var i=new et(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)}),(0,N.w)(function(t){var i,n,r=!1;return(0,u.of)(t).pipe((i=e.paramsInheritanceStrategy,n=e.ngModule.injector,(0,U.zg)(function(t){var e=t.targetSnapshot,r=t.guards.canActivateChecks;if(!r.length)return(0,u.of)(t);var o=0;return(0,a.D)(r).pipe((0,B.b)(function(t){return function(t,e,i,n){return function(t,e,i,n){var r=Object.keys(t);if(0===r.length)return(0,u.of)({});var o={};return(0,a.D)(r).pipe((0,U.zg)(function(r){return function(t,e,i,n){var r=We(t,e,n);return bt(r.resolve?r.resolve(e,i):r(e,i))}(t[r],e,i,n).pipe((0,H.b)(function(t){o[r]=t}))}),R(1),(0,U.zg)(function(){return Object.keys(o).length===r.length?(0,u.of)(o):w.E}))}(t._resolve,t,e,n).pipe((0,L.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),te(t,i).resolve),null}))}(t.route,e,i,n)}),(0,H.b)(function(){return o++}),R(1),(0,U.zg)(function(e){return o===r.length?(0,u.of)(t):w.E}))})),(0,H.b)({next:function(){return r=!0},complete:function(){r||e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}))}),(0,H.b)(function(t){var i=new it(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(i)}))}),ui(function(t){var i=t.targetSnapshot,n=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.afterPreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,L.U)(function(t){var i=function(t,e,i){var n=se(t,e._root,i?i._root:void 0);return new Wt(n,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:i})}),(0,H.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),(n=e.rootContexts,r=e.routeReuseStrategy,o=function(t){return e.triggerEvent(t)},(0,L.U)(function(t){return new _e(r,t.targetRouterState,t.currentRouterState,o).activate(n),t})),(0,H.b)({next:function(){s=!0},complete:function(){s=!0}}),(0,G.x)(function(){s||c||e.cancelNavigationTransition(t,"Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId)),e.currentNavigation=null}),(0,Z.K)(function(n){if(c=!0,(s=n)&&s.ngNavigationCancelingError){var r=Ce(n.url);r||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var o=new Q(t.id,e.serializeUrl(t.extractedUrl),n.message);i.next(o),r?setTimeout(function(){var i=e.urlHandlingStrategy.merge(n.url,e.rawUrlTree);e.scheduleNavigation(i,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new W(t.id,e.serializeUrl(t.extractedUrl),n);i.next(a);try{t.resolve(e.errorHandler(n))}catch(u){t.reject(u)}}var s;return w.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var i=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,i)&&setTimeout(function(){var e=i.source,n=i.state,r=i.urlTree,o={replaceUrl:!0};if(n){var a=Object.assign({},n);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}t.scheduleNavigation(r,e,n,o)},0),t.lastLocationChangeInfo=i}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){Re(t),this.config=t.map(Pe),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.relativeTo,n=e.queryParams,r=e.fragment,o=e.queryParamsHandling,a=e.preserveFragment,s=i||this.routerState.root,u=a?this.currentUrlTree.fragment:r,c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=n||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,i,n,r){if(0===i.length)return he(e.root,e.root,e,n,r);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new fe(!0,0,t);var e=0,i=!1,n=t.reduce(function(t,n,r){if("object"==typeof n&&null!=n){if(n.outlets){var o={};return yt(n.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),[].concat(d(t),[{outlets:o}])}if(n.segmentPath)return[].concat(d(t),[n.segmentPath])}return"string"!=typeof n?[].concat(d(t),[n]):0===r?(n.split("/").forEach(function(n,r){0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[].concat(d(t),[n])},[]);return new fe(i,e,n)}(i);if(o.toRoot())return he(e.root,new Et([],{}),e,n,r);var a=function(t,e,i){if(t.isAbsolute)return new pe(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){var n=i.snapshot._urlSegment;return new pe(n,n===e.root,0)}var r=ce(t.commands[0])?0:1;return function(t,e,i){for(var n=t,r=e,o=i;o>r;){if(o-=r,!(n=n.parent))throw new Error("Invalid number of '../'");r=n.segments.length}return new pe(n,!1,r-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?ve(a.segmentGroup,a.index,o.commands):ge(a.segmentGroup,a.index,o.commands);return he(a.segmentGroup,s,e,n,r)}(s,this.currentUrlTree,t,c,null!=u?u:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},i=Ce(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(n,"imperative",r,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:{};v(this,t),this.router=e,this.viewportScroller=i,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return y(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof K?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof J&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof ct&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new ct(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(_i),r.LFG(n.EM),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),Oi=new r.OlP("ROUTER_CONFIGURATION"),Pi=new r.OlP("ROUTER_FORROOT_GUARD"),Di=[n.Ye,{provide:It,useClass:Ot},{provide:_i,useFactory:function(t,e,i,n,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new _i(null,t,e,i,n,r,o,vt(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(t){var e,i;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[It,pi,n.Ye,r.zs3,r.v3s,r.Sil,hi,Oi,[function(){return function t(){v(this,t)}}(),new r.FiY],[ci,new r.FiY]]},pi,{provide:$t,useFactory:function(t){return t.routerState.root},deps:[_i]},{provide:r.v3s,useClass:r.EAV},Ri,xi,function(){function t(){v(this,t)}return y(t,[{key:"preload",value:function(t,e){return e().pipe((0,Z.K)(function(){return(0,u.of)(null)}))}}]),t}(),{provide:Oi,useValue:{enableTracing:!1}}];function Mi(){return new r.PXZ("Router",_i)}var Li=function(){var t=function(){function t(e,i){v(this,t)}return y(t,null,[{key:"forRoot",value:function(e,i){return{ngModule:t,providers:[Di,Zi(e),{provide:Pi,useFactory:Fi,deps:[[_i,new r.FiY,new r.tp0]]},{provide:Oi,useValue:i||{}},{provide:n.S$,useFactory:zi,deps:[n.lw,[new r.tBr(n.mr),new r.FiY],Oi]},{provide:Ii,useFactory:Ni,deps:[_i,n.EM,Oi]},{provide:Ei,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:xi},{provide:r.PXZ,multi:!0,useFactory:Mi},[Bi,{provide:r.ip1,multi:!0,useFactory:qi,deps:[Bi]},{provide:Hi,useFactory:Ui,deps:[Bi]},{provide:r.tb,multi:!0,useExisting:Hi}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Zi(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(Pi,8),r.LFG(_i,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}();function Ni(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new Ii(t,e,i)}function zi(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.useHash?new n.Do(t,e):new n.b0(t,e)}function Fi(t){return"guarded"}function Zi(t){return[{provide:r.deG,multi:!0,useValue:t},{provide:hi,multi:!0,useValue:t}]}var Bi=function(){var t=function(){function t(e){v(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new A.xQ}return y(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(n.V_,Promise.resolve(null)).then(function(){var e=null,i=new Promise(function(t){return e=t}),n=t.injector.get(_i),r=t.injector.get(Oi);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=function(){return t.initNavigation?(0,u.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},n.initialNavigation()):e(!0),i})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Oi),i=this.injector.get(Ri),n=this.injector.get(Ii),o=this.injector.get(_i),a=this.injector.get(r.z2F);t===a.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function qi(t){return t.appInitializer.bind(t)}function Ui(t){return t.bootstrapListener.bind(t)}var Hi=new r.OlP("Router Initializer")},48160:function(e,i,n){"use strict";n.d(i,{Zw:function(){return w},aw:function(){return Z},X$:function(){return F},sK:function(){return z}});var r=n(31572),a=n(40878),u=n(4710),c=n(3148),l=n(47930),h=n(31450),d=n(90611),p=n(68303),g=n(79996),m=n(436),b=n(44689),w=function t(){v(this,t)},_=function(){var t,e=function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"getTranslation",value:function(t){return(0,a.of)({})}}]),i}(w);return e.\u0275fac=function(i){return(t||(t=r.n5z(e)))(i||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),A=function t(){v(this,t)},k=function(){var t=function(){function t(){v(this,t)}return y(t,[{key:"handle",value:function(t){return t.key}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}();function T(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var i,n,r,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in r=Object.create(null),t){if(!T(t[n],e[n]))return!1;r[n]=!0}for(n in e)if(!(n in r)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0;v(this,t),this.store=e,this.currentLoader=i,this.compiler=n,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=s,this.isolate=u,this.extend=c,this.pending=!1,this._onTranslationChange=new r.vpe,this._onLangChange=new r.vpe,this._onDefaultLangChange=new r.vpe,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}return y(t,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}},{key:"setDefaultLang",value:function(t){var e=this;if(t!==this.defaultLang){var i=this.retrieveTranslations(t);void 0!==i?(null==this.defaultLang&&(this.defaultLang=t),i.pipe((0,d.q)(1)).subscribe(function(i){e.changeDefaultLang(t)})):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var e=this;if(t===this.currentLang)return(0,a.of)(this.translations[t]);var i=this.retrieveTranslations(t);return void 0!==i?(this.currentLang||(this.currentLang=t),i.pipe((0,d.q)(1)).subscribe(function(i){e.changeLang(t)}),i):(this.changeLang(t),(0,a.of)(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}},{key:"getTranslation",value:function(t){var e=this;this.pending=!0;var i=this.currentLoader.getTranslation(t).pipe((0,p.d)(1),(0,d.q)(1));return this.loadingTranslations=i.pipe((0,g.U)(function(i){return e.compiler.compileTranslations(i,t)}),(0,p.d)(1),(0,d.q)(1)),this.loadingTranslations.subscribe({next:function(i){e.translations[t]=e.extend&&e.translations[t]?Object.assign(Object.assign({},i),e.translations[t]):i,e.updateLangs(),e.pending=!1},error:function(t){e.pending=!1}}),i}},{key:"setTranslation",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?E(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var e=this;t.forEach(function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,e,i){var n;if(e instanceof Array){var r,o={},s=!1,l=f(e);try{for(l.s();!(r=l.n()).done;){var h=r.value;o[h]=this.getParsedResult(t,h,i),(0,u.b)(o[h])&&(s=!0)}}catch(v){l.e(v)}finally{l.f()}if(s){var d=e.map(function(t){return(0,u.b)(o[t])?o[t]:(0,a.of)(o[t])});return(0,c.D)(d).pipe((0,g.U)(function(t){var i={};return t.forEach(function(t,n){i[e[n]]=t}),i}))}return o}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){var p={key:e,translateService:this};void 0!==i&&(p.interpolateParams=i),n=this.missingTranslationHandler.handle(p)}return void 0!==n?n:e}},{key:"get",value:function(t,e){var i=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,m.b)(function(n){return n=i.getParsedResult(n,t,e),(0,u.b)(n)?n:(0,a.of)(n)}));var n=this.getParsedResult(this.translations[this.currentLang],t,e);return(0,u.b)(n)?n:(0,a.of)(n)}},{key:"getStreamOnTranslationChange",value:function(t,e){var i=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return(0,l.z)((0,h.P)(function(){return i.get(t,e)}),this.onTranslationChange.pipe((0,b.w)(function(n){var r=i.getParsedResult(n.translations,t,e);return"function"==typeof r.subscribe?r:(0,a.of)(r)})))}},{key:"stream",value:function(t,e){var i=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return(0,l.z)((0,h.P)(function(){return i.get(t,e)}),this.onLangChange.pipe((0,b.w)(function(n){var r=i.getParsedResult(n.translations,t,e);return(0,u.b)(r)?r:(0,a.of)(r)})))}},{key:"instant",value:function(t,e){if(!C(t)||!t.length)throw new Error('Parameter "key" required');var i=this.getParsedResult(this.translations[this.currentLang],t,e);if((0,u.b)(i)){if(t instanceof Array){var n={};return t.forEach(function(e,i){n[t[i]]=t[i]}),n}return t}return i}},{key:"set",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(P),r.LFG(w),r.LFG(I),r.LFG(x),r.LFG(A),r.LFG(M),r.LFG(D),r.LFG(N),r.LFG(L))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t}(),F=function(){var t=function(){function t(e,i){v(this,t),this.translate=e,this._ref=i,this.value=""}return y(t,[{key:"updateValue",value:function(t,e,i){var n=this,r=function(e){n.value=void 0!==e?e:t,n.lastKey=t,n._ref.markForCheck()};if(i){var o=this.translate.getParsedResult(i,t,e);(0,u.b)(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(t,e).subscribe(r)}},{key:"transform",value:function(t){var e,i=this;if(!t||!t.length)return t;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:w,useClass:_},e.compiler||{provide:I,useClass:O},e.parser||{provide:x,useClass:R},e.missingTranslationHandler||{provide:A,useClass:k},P,{provide:D,useValue:e.isolate},{provide:M,useValue:e.useDefaultLang},{provide:N,useValue:e.extend},{provide:L,useValue:e.defaultLanguage},z]}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:w,useClass:_},e.compiler||{provide:I,useClass:O},e.parser||{provide:x,useClass:R},e.missingTranslationHandler||{provide:A,useClass:k},{provide:D,useValue:e.isolate},{provide:M,useValue:e.useDefaultLang},{provide:N,useValue:e.extend},{provide:L,useValue:e.defaultLanguage},z]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}()},82051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){a(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}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,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(t,o,a){var s=r.URL||r.webkitURL,u=document.createElement("a");u.download=o=o||t.name||"download",u.rel="noopener","string"==typeof t?(u.href=t,u.origin===location.origin?n(u):i(u.href)?e(t,o,a):n(u,u.target="_blank")):(u.href=s.createObjectURL(t),setTimeout(function(){s.revokeObjectURL(u.href)},4e4),setTimeout(function(){n(u)},0))}:"msSaveOrOpenBlob"in navigator?function(t,r,o){if(r=r||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),r);else if(i(t))e(t,r,o);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){n(a)})}}:function(t,i,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var s="application/octet-stream"===t.type,u=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&u||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=t:location=t,a=null},l.readAsDataURL(t)}else{var h=r.URL||r.webkitURL,d=h.createObjectURL(t);a?a.location=d:location.href=d,a=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});r.saveAs=a.saveAs=a,t.exports=a})?i.apply(e,[]):i)||(t.exports=n)},30146:function(t,e,i){"use strict";i.d(e,{nu:function(){return Y},Co:function(){return V}});var n=i(64762),o=i(31572),a=i(16073),s=i(71522),u=i(4786),c=i(66283),l=i(75842),h=i(78512),d=i(40878),f=i(31305),p=i(55959),g=i(44689),m=i(79996),b=i(56238),w=i(82628),_=i(25416),A=i(90611),k=i(43835),T=i(66599),C=i(15980),S=i(29236),E=i(43691),x=i(67806),R=i(36922),I=i(61511),O=i(4253),P=i(24621),D=["searchSelectInput"],M=["innerSelectSearch"];function L(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"mat-checkbox",9),o.NdJ("change",function(t){return o.CHM(i),o.oxw()._emitSelectAllBooleanToParent(t.checked)}),o.qZA()}if(2&t){var n=o.oxw();o.Q6J("color",null==n.matFormField?null:n.matFormField.color)("checked",n.toggleAllCheckboxChecked)("indeterminate",n.toggleAllCheckboxIndeterminate)("matTooltip",n.toggleAllCheckboxTooltipMessage)("matTooltipPosition",n.toogleAllCheckboxTooltipPosition)}}function N(t,e){1&t&&o._UZ(0,"mat-spinner",10)}function z(t,e){1&t&&o.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function F(t,e){1&t&&(o.TgZ(0,"mat-icon"),o._uU(1,"close"),o.qZA())}function Z(t,e){if(1&t){var i=o.EpF();o.TgZ(0,"button",11),o.NdJ("click",function(){return o.CHM(i),o.oxw()._reset(!0)}),o.YNc(1,z,1,0,"ng-content",12),o.YNc(2,F,2,0,"ng-template",null,13,o.W1O),o.qZA()}if(2&t){var n=o.MAs(3),r=o.oxw();o.xp6(1),o.Q6J("ngIf",r.clearIcon)("ngIfElse",n)}}function B(t,e){if(1&t&&(o.TgZ(0,"div",14),o._uU(1),o.qZA()),2&t){var i=o.oxw();o.xp6(1),o.hij(" ",i.noEntriesFoundLabel,"\n")}}var q,U=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],H=function(t,e){return{"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":e}},j=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"],G=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t}(),Y=function(){var t=q=function(){function t(e,i,n){var s=this,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4?arguments[4]:void 0,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;v(this,t),this.matSelect=e,this.changeDetectorRef=i,this._viewportRuler=n,this.matOption=u,this.liveAnnouncer=c,this.matFormField=l,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new o.vpe,this.onTouched=function(t){},this._options$=new h.X(null),this.optionsList$=this._options$.pipe((0,g.w)(function(t){return t?t.changes.pipe((0,m.U)(function(t){return t.toArray()}),(0,b.O)(t.toArray())):(0,d.of)(null)})),this.optionsLength$=this.optionsList$.pipe((0,m.U)(function(t){return t?t.length:0})),this._formControl=new a.NI(""),this._showNoEntriesFound$=(0,f.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,m.U)(function(t){var e=r(t,2),i=e[0],n=e[1];return s.noEntriesFoundLabel&&i&&n===s.getOptionsLengthOffset()})),this._onDestroy=new p.xQ}return y(t,[{key:"isInsideMatOption",get:function(){return!!this.matOption}},{key:"value",get:function(){return this._formControl.value}},{key:"_options",get:function(){return this._options$.getValue()},set:function(t){this._options$.next(t)}},{key:"ngOnInit",value:function(){var t=this,e="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(e):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,e]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[e]=!0):this.matSelect.panelClass=e,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,w.g)(1),(0,_.R)(this._onDestroy)).subscribe(function(e){e?(t.updateInputWidth(),t.disableInitialFocus||t._focus()):t.clearSearchInput&&t._reset()}),this.matSelect.openedChange.pipe((0,A.q)(1)).pipe((0,_.R)(this._onDestroy)).subscribe(function(){t.matSelect._keyManager?t.matSelect._keyManager.change.pipe((0,_.R)(t._onDestroy)).subscribe(function(){return t.adjustScrollTopToFitActiveOptionIntoView()}):console.log("_keyManager was not initialized."),t._options=t.matSelect.options;var e=t._options.toArray()[t.getOptionsLengthOffset()];t._options.changes.pipe((0,_.R)(t._onDestroy)).subscribe(function(){setTimeout(function(){var i=t._options.toArray(),n=i[t.getOptionsLengthOffset()],r=t.matSelect._keyManager;r&&t.matSelect.panelOpen&&(!!t.matSelect.compareWith(e,n)&&r.activeItem&&i.find(function(e){return t.matSelect.compareWith(e,r.activeItem)})||r.setFirstItemActive(),setTimeout(function(){t.updateInputWidth()}),t.disableScrollToActiveOnOptionsChanged||t.adjustScrollTopToFitActiveOptionIntoView()),e=n})})}),this._showNoEntriesFound$.pipe((0,_.R)(this._onDestroy)).subscribe(function(e){t.matOption&&(e?t.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):t.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,_.R)(this._onDestroy)).subscribe(function(){t.matSelect.panelOpen&&t.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,_.R)(this._onDestroy)).subscribe(function(){t.changeDetectorRef.markForCheck()})}},{key:"_emitSelectAllBooleanToParent",value:function(t){this.toggleAll.emit(t)}},{key:"ngOnDestroy",value:function(){this._onDestroy.next(),this._onDestroy.complete()}},{key:"_isToggleAllCheckboxVisible",value:function(){return this.matSelect.multiple&&this.showToggleAllCheckbox}},{key:"_handleKeydown",value:function(t){var e=this;(t.key&&1===t.key.length||t.keyCode>=l.A&&t.keyCode<=l.Z||t.keyCode>=l.xE&&t.keyCode<=l.aO||t.keyCode===l.L_||this.preventHomeEndKeyPropagation&&(t.keyCode===l.Sd||t.keyCode===l.uR))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&t.keyCode===l.K5&&setTimeout(function(){return e._focus()}),!0===this.enableClearOnEscapePressed&&t.keyCode===l.hY&&this.value&&(this._reset(!0),t.stopPropagation())}},{key:"_handleKeyup",value:function(t){if(t.keyCode===l.LH||t.keyCode===l.JH){var e=this.matSelect._getAriaActiveDescendant(),i=this._options.toArray().findIndex(function(t){return t.id===e});if(-1!==i){var n=this._options.toArray()[i];this.liveAnnouncer.announce(n.viewValue+" "+this.getAriaIndex(i)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}},{key:"getAriaIndex",value:function(t){return 0===this.getOptionsLengthOffset()?t+1:t}},{key:"getAriaLength",value:function(){return this._options.toArray().length-this.getOptionsLengthOffset()}},{key:"writeValue",value:function(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}},{key:"onBlur",value:function(){this.onTouched()}},{key:"registerOnChange",value:function(t){var e=this;this._formControl.valueChanges.pipe((0,k.h)(function(t){return t!==e._lastExternalInputValue}),(0,T.b)(function(){return e._lastExternalInputValue=void 0}),(0,_.R)(this._onDestroy)).subscribe(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"_focus",value:function(){if(this.searchSelectInput&&this.matSelect.panel){var t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}}},{key:"_reset",value:function(t){this._formControl.setValue(""),t&&this._focus()}},{key:"initMultipleHandling",value:function(){var t=this;this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,_.R)(this._onDestroy)).subscribe(function(e){var i=!1;if(t.matSelect.multiple&&(t.alwaysRestoreSelectedOptionsMulti||t._formControl.value&&t._formControl.value.length)&&t.previousSelectedValues&&Array.isArray(t.previousSelectedValues)){e&&Array.isArray(e)||(e=[]);var n=t.matSelect.options.map(function(t){return t.value});t.previousSelectedValues.forEach(function(r){e.some(function(e){return t.matSelect.compareWith(e,r)})||n.some(function(e){return t.matSelect.compareWith(e,r)})||(e.push(r),i=!0)})}t.previousSelectedValues=e,i&&t.matSelect._onChange(e)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}},{key:"adjustScrollTopToFitActiveOptionIntoView",value:function(){if(this.matSelect.panel&&this.matSelect.options.length>0){var t=this.getMatOptionHeight(),e=this.matSelect._keyManager.activeItemIndex||0,i=(0,s.CB)(e,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+e,r=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,a=Math.floor((256-o)/t),u=Math.round((r+o)/t)-1;u>=n?this.matSelect.panel.nativeElement.scrollTop=n*t:u+a<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*t-(256-o))}}},{key:"updateInputWidth",value:function(){if(this.innerSelectSearch&&this.innerSelectSearch.nativeElement){for(var t,e=this.innerSelectSearch.nativeElement;e=e.parentElement;)if(e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}}},{key:"getMatOptionHeight",value:function(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}},{key:"getOptionsLengthOffset",value:function(){return this.matOption?1:0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(u.gD),o.Y36(o.sBO),o.Y36(O.rL),o.Y36(s.ey,8),o.Y36(P.Kd),o.Y36(c.KE,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){var n;(1&t&&o.Suo(i,G,5),2&t)&&(o.iGM(n=o.CRH())&&(e.clearIcon=n.first))},viewQuery:function(t,e){var i;(1&t&&(o.Gf(D,7,o.SBq),o.Gf(M,7,o.SBq)),2&t)&&(o.iGM(i=o.CRH())&&(e.searchSelectInput=i.first),o.iGM(i=o.CRH())&&(e.innerSelectSearch=i.first))},hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("mat-select-search-inside-mat-option",e.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[o._Bn([{provide:a.JU,useExisting:(0,o.Gpc)(function(){return q}),multi:!0}])],ngContentSelectors:j,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(t,e){1&t&&(o.F$t(U),o._UZ(0,"input",0),o.TgZ(1,"div",1,2),o.YNc(3,L,1,5,"mat-checkbox",3),o.TgZ(4,"input",4,5),o.NdJ("keydown",function(t){return e._handleKeydown(t)})("keyup",function(t){return e._handleKeyup(t)})("blur",function(){return e.onBlur()}),o.qZA(),o.YNc(6,N,1,0,"mat-spinner",6),o.YNc(7,Z,4,2,"button",7),o.Hsn(8),o.qZA(),o.YNc(9,B,2,1,"div",8),o.ALo(10,"async")),2&t&&(o.xp6(1),o.Q6J("ngClass",o.WLB(11,H,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),o.xp6(2),o.Q6J("ngIf",e._isToggleAllCheckboxVisible()),o.xp6(1),o.Q6J("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),o.uIk("aria-label",e.ariaLabel),o.xp6(2),o.Q6J("ngIf",e.searching),o.xp6(1),o.Q6J("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),o.xp6(2),o.Q6J("ngIf",o.lcZ(10,9,e._showNoEntriesFound$)))},directives:[I.mk,I.O5,a.Fj,a.JJ,a.oH,S.oG,R.gM,x.$g,C.lW,E.Hw],pipes:[I.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}),t=q=(0,n.gn)([(0,n.fM)(0,(0,o.tBr)(u.gD)),(0,n.fM)(3,(0,o.FiY)()),(0,n.fM)(3,(0,o.tBr)(s.ey)),(0,n.fM)(5,(0,o.FiY)()),(0,n.fM)(5,(0,o.tBr)(c.KE))],t)}(),V=function(){var t=function t(){v(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[I.ez,a.UX,C.ot,S.p9,E.Ps,x.Cq,R.AV]]}),t}()},59997:function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,(function(e){return t[e]}).bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=22)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i=4){for(var t=arguments.length,e=Array(t),i=0;i=3){for(var t=arguments.length,e=Array(t),i=0;i=2){for(var t=arguments.length,e=Array(t),i=0;i=1){for(var t=arguments.length,e=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new i(["application/jwk-set+json"])}return t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(r.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(r.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(e){return r.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=e,e})):(r.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then(function(i){if(r.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===i[t]){if(!0===e)return void r.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw r.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return i[t]})},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(r.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(e){return r.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then(function(e){if(r.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw r.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys})})},n(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var n=i(0),r=i(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,i){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(i)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.Global;"string"!=typeof t&&(t=i.location.href);var o=t.lastIndexOf(e);o>=0&&(t=t.substr(o+1)),"?"===e&&(o=t.indexOf("#"))>=0&&(t=t.substr(0,o));for(var a,s={},u=/([^&=]+)=([^&]*)/g,c=0;a=u.exec(t);)if(s[decodeURIComponent(a[1])]=decodeURIComponent(a[2]),c++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var l in s)return s;return{}},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var n=i(25),r=function(t){return t&&t.__esModule?t:{default:t}}(i(32));e.JoseUtil=(0,r.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.authority,r=e.metadataUrl,o=e.metadata,h=e.signingKeys,d=e.client_id,f=e.client_secret,p=e.response_type,g=void 0===p?c:p,v=e.scope,m=void 0===v?l:v,y=e.redirect_uri,b=e.post_logout_redirect_uri,w=e.prompt,_=e.display,A=e.max_age,k=e.ui_locales,T=e.acr_values,C=e.resource,S=e.response_mode,E=e.filterProtocolClaims,x=void 0===E||E,R=e.loadUserInfo,I=void 0===R||R,O=e.staleStateAge,P=void 0===O?900:O,D=e.clockSkew,M=void 0===D?300:D,L=e.userInfoJwtIssuer,N=void 0===L?"OP":L,z=e.stateStore,F=void 0===z?new a.WebStorageStateStore:z,Z=e.ResponseValidatorCtor,B=void 0===Z?s.ResponseValidator:Z,q=e.MetadataServiceCtor,U=void 0===q?u.MetadataService:q,H=e.extraQueryParams,j=void 0===H?{}:H,G=e.extraTokenParams,Y=void 0===G?{}:G;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._authority=i,this._metadataUrl=r,this._metadata=o,this._signingKeys=h,this._client_id=d,this._client_secret=f,this._response_type=g,this._scope=m,this._redirect_uri=y,this._post_logout_redirect_uri=b,this._prompt=w,this._display=_,this._max_age=A,this._ui_locales=k,this._acr_values=T,this._resource=C,this._response_mode=S,this._filterProtocolClaims=!!x,this._loadUserInfo=!!I,this._staleStateAge=P,this._clockSkew=M,this._userInfoJwtIssuer=N,this._stateStore=F,this._validator=new B(this),this._metadataService=new U(this),this._extraQueryParams="object"===(void 0===j?"undefined":n(j))?j:{},this._extraTokenParams="object"===(void 0===Y?"undefined":n(Y))?Y:{}}return r(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw o.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw o.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){this._extraQueryParams="object"===(void 0===t?"undefined":n(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":n(t))?t:{}}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=i(0),r=i(1);e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.prefix,n=void 0===i?"oidc.":i,o=e.store,a=void 0===o?r.Global.localStorage:o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._store=a,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){n.Log.debug("WebStorageStateStore.remove",t);var e=this._store.getItem(t=this._prefix+t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=i,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise(function(r,o){var a=new i._XMLHttpRequest;a.open("GET",t);var s=i._contentTypes,u=i._jwtHandler;a.onload=function(){if(n.Log.debug("JsonService.getJson: HTTP response received, status",a.status),200===a.status){var e=a.getResponseHeader("Content-Type");if(e){var i=s.find(function(t){if(e.startsWith(t))return!0});if("application/jwt"==i)return void u(a).then(r,o);if(i)try{return void r(JSON.parse(a.responseText))}catch(r){return n.Log.error("JsonService.getJson: Error parsing JSON response",r.message),void o(r)}}o(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else o(Error(a.statusText+" ("+a.status+")"))},a.onerror=function(){n.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),a.setRequestHeader("Authorization","Bearer "+e)),a.send()})},t.prototype.postForm=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise(function(r,o){var a=new i._XMLHttpRequest;a.open("POST",t);var s=i._contentTypes;a.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(i=a.getResponseHeader("Content-Type"))&&s.find(function(t){if(i.startsWith(t))return!0}))try{var e=JSON.parse(a.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void o(new Error(e.error))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void o(r)}o(Error(a.statusText+" ("+a.status+")"))}else{var i;if((i=a.getResponseHeader("Content-Type"))&&s.find(function(t){if(i.startsWith(t))return!0}))try{return void r(JSON.parse(a.responseText))}catch(r){return n.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void o(r)}o(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},a.onerror=function(){n.Log.error("JsonService.postForm: network error"),o(Error("Network Error"))};var u="";for(var c in e){var l=e[c];l&&(u.length>0&&(u+="&"),u+=encodeURIComponent(c),u+="=",u+=encodeURIComponent(l))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.send(u)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,n=e.data,r=e.created,a=e.request_type;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=i||(0,o.default)(),this._data=n,this._created="number"==typeof r&&r>0?r:parseInt(Date.now()/1e3),this._request_type=a}return t.prototype.toStorageString=function(){return r.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return r.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,i){var n=Date.now()/1e3-i;return e.getAllKeys().then(function(i){r.Log.debug("State.clearStaleState: got keys",i);for(var o=[],a=function(a){var s=i[a];u=e.get(s).then(function(i){var o=!1;if(i)try{var a=t.fromStorageString(i);r.Log.debug("State.clearStaleState: got item from key: ",s,a.created),a.created<=n&&(o=!0)}catch(t){r.Log.error("State.clearStaleState: Error parsing state for key",s,t.message),o=!0}else r.Log.debug("State.clearStaleState: no item in storage for key: ",s),o=!0;if(o)return r.Log.debug("State.clearStaleState: removed item for key: ",s),e.remove(s)}),o.push(u)},s=0;s0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._settings=e instanceof o.OidcClientSettings?e:new o.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.response_type,n=e.scope,o=e.redirect_uri,a=e.data,u=e.state,c=e.prompt,l=e.display,h=e.max_age,d=e.ui_locales,f=e.id_token_hint,p=e.login_hint,g=e.acr_values,v=e.resource,m=e.request,y=e.request_uri,b=e.response_mode,w=e.extraQueryParams,_=e.extraTokenParams,A=e.request_type,k=e.skipUserInfo,T=arguments[1];r.Log.debug("OidcClient.createSigninRequest");var C=this._settings.client_id;n=n||this._settings.scope,o=o||this._settings.redirect_uri,c=c||this._settings.prompt,l=l||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,v=v||this._settings.resource,b=b||this._settings.response_mode,w=w||this._settings.extraQueryParams,_=_||this._settings.extraTokenParams;var S=this._settings.authority;return s.SigninRequest.isCode(i=i||this._settings.response_type)&&"code"!==i?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(e){r.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var E=new s.SigninRequest({url:e,client_id:C,redirect_uri:o,response_type:i,scope:n,data:a||u,authority:S,prompt:c,display:l,max_age:h,ui_locales:d,id_token_hint:f,login_hint:p,acr_values:g,resource:v,request:m,request_uri:y,extraQueryParams:w,extraTokenParams:_,request_type:A,response_mode:b,client_secret:t._settings.client_secret,skipUserInfo:k}),x=E.state;return(T=T||t._stateStore).set(x.id,x.toStorageString()).then(function(){return E})})},t.prototype.readSigninResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&s.SigninRequest.isCode(this._settings.response_type)?"?":"#",o=new u.SigninResponse(t,n);return o.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(o.state).then(function(t){if(!t)throw r.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(t),response:o}})):(r.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},t.prototype.processSigninResponse=function(t,e){var i=this;return r.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return r.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),i._validator.validateSigninResponse(e,n)})},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id_token_hint,n=e.data,o=e.state,a=e.post_logout_redirect_uri,s=e.extraQueryParams,u=e.request_type,l=arguments[1];return r.Log.debug("OidcClient.createSignoutRequest"),a=a||this._settings.post_logout_redirect_uri,s=s||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(e){if(!e)throw r.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");r.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var h=new c.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:a,data:n||o,extraQueryParams:s,request_type:u}),d=h.state;return d&&(r.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(l=l||t._stateStore).set(d.id,d.toStorageString())),h})},t.prototype.readSignoutResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.Log.debug("OidcClient.readSignoutResponseState");var n=new l.SignoutResponse(t);if(!n.state)return r.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(r.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new a.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var o=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(o).then(function(t){if(!t)throw r.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(t),response:n}})},t.prototype.processSignoutResponse=function(t,e){var i=this;return r.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return e?(r.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),i._validator.validateSignoutResponse(e,n)):(r.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)})},t.prototype.clearStaleState=function(t){return r.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},n(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var n=i(7),r=i(2),o=i(0);e.TokenClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw o.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i,this._metadataService=new a(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri,e.code?e.redirect_uri?e.code_verifier?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return o.Log.debug("TokenClient.exchangeCode: response received"),t})}):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.refresh_token?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),t})}):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var n=i(0);e.ErrorResponse=function(t){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=i.error,o=i.error_description,a=i.error_uri,s=i.state,u=i.session_state;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!r)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var c=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,o||r));return c.name="ErrorResponse",c.error=r,c.error_description=o,c.error_uri=a,c.state=s,c.session_state=u,c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=i(0),r=i(3),o=i(13);e.SigninRequest=function(){function t(e){var i=e.url,a=e.client_id,s=e.redirect_uri,u=e.response_type,c=e.scope,l=e.authority,h=e.data,d=e.prompt,f=e.display,p=e.max_age,g=e.ui_locales,v=e.id_token_hint,m=e.login_hint,y=e.acr_values,b=e.resource,w=e.response_mode,_=e.request,A=e.request_uri,k=e.extraQueryParams,T=e.request_type,C=e.client_secret,S=e.extraTokenParams,E=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!a)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!s)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!u)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!c)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!l)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var x=t.isOidc(u),R=t.isCode(u);w||(w=t.isCode(u)?"query":null),this.state=new o.SigninState({nonce:x,data:h,client_id:a,authority:l,redirect_uri:s,code_verifier:R,request_type:T,response_mode:w,client_secret:C,scope:c,extraTokenParams:S,skipUserInfo:E}),i=r.UrlUtility.addQueryParam(i,"client_id",a),i=r.UrlUtility.addQueryParam(i,"redirect_uri",s),i=r.UrlUtility.addQueryParam(i,"response_type",u),i=r.UrlUtility.addQueryParam(i,"scope",c),i=r.UrlUtility.addQueryParam(i,"state",this.state.id),x&&(i=r.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),R&&(i=r.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=r.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var I={prompt:d,display:f,max_age:p,ui_locales:g,id_token_hint:v,login_hint:m,acr_values:y,resource:b,request:_,request_uri:A,response_mode:w};for(var O in I)I[O]&&(i=r.UrlUtility.addQueryParam(i,O,I[O]));for(var P in k)i=r.UrlUtility.addQueryParam(i,P,k[P]);this.url=i}return t.isOidc=function(t){return!!t.split(/\s+/g).filter(function(t){return"id_token"===t})[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter(function(t){return"token"===t})[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter(function(t){return"code"===t})[0]},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.nonce,r=i.authority,o=i.client_id,u=i.redirect_uri,c=i.code_verifier,l=i.response_mode,h=i.client_secret,d=i.scope,f=i.extraTokenParams,p=i.skipUserInfo;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var g=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));if(!0===n?g._nonce=(0,s.default)():n&&(g._nonce=n),!0===c?g._code_verifier=(0,s.default)()+(0,s.default)()+(0,s.default)():c&&(g._code_verifier=c),g.code_verifier){var v=a.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=a.JoseUtil.hexToBase64Url(v)}return g._redirect_uri=u,g._authority=r,g._client_id=o,g._response_mode=l,g._client_secret=h,g._scope=d,g._extraTokenParams=f,g._skipUserInfo=p,g}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return r.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return r.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},n(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(o.State)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.default)().replace(/-/g,"")};var n=function(t){return t&&t.__esModule?t:{default:t}}(i(33));t.exports=e.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var i=0;i0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var n=i(0),r=i(48);e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.accessTokenExpiringNotificationTime,n=void 0===i?60:i,o=e.accessTokenExpiringTimer,a=void 0===o?new r.Timer("Access token expiring"):o,s=e.accessTokenExpiredTimer,u=void 0===s?new r.Timer("Access token expired"):s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=a,this._accessTokenExpired=u}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var i=e-this._accessTokenExpiringNotificationTime;i<=0&&(i=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",i),this._accessTokenExpiring.init(i)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var r=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",r),this._accessTokenExpired.init(r)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var n=i(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex(function(e){return e===t});e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){n.Log.debug("Event: Raising event: "+this._name);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.Global.timer;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=s,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then(function(t){t?i._start(t):i._settings.monitorAnonymousSession&&i._userManager.querySessionStatus().then(function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),i._start(e)}).catch(function(t){r.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)})}).catch(function(t){r.Log.error("SessionMonitor ctor: error from getUser:",t.message)})}return t.prototype._start=function(t){var e=this,i=t.session_state;i&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,r.Log.debug("SessionMonitor._start: session_state:",i,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,r.Log.debug("SessionMonitor._start: session_state:",i,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(i):this._metadataService.getCheckSessionIframe().then(function(t){if(t){r.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,o=e._checkSessionInterval,a=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,o,a),e._checkSessionIFrame.load().then(function(){e._checkSessionIFrame.start(i)})}else r.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(t){r.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)}))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(r.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval(function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then(function(e){var i={session_state:e.session_state};e.sub&&e.sid&&(i.profile={sub:e.sub,sid:e.sid}),t._start(i)}).catch(function(t){r.Log.error("SessionMonitor: error from querySessionStatus:",t.message)})},1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then(function(e){var i=!0;e?e.sub===t._sub?(i=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?r.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(r.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):r.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):r.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),i&&(t._sub?(r.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(r.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))}).catch(function(e){t._sub&&(r.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())})},n(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var n=i(0);e.CheckSessionIFrame=function(){function t(e,i,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._callback=e,this._client_id=i,this._url=n,this._interval=r||2e3,this._stopOnError=o;var a=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.substr(0,a),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=n}return t.prototype.load=function(){var t=this;return new Promise(function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)})},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var i=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var n=i(0),r=i(2),o=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=i,this._metadataService=new a(this._settings)}return t.prototype.revoke=function(t,e){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==r&&"refresh_token"!=r)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(o){if(o)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+r),i._revoke(o,i._settings.client_id,i._settings.client_secret,t,r);if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},t.prototype._revoke=function(t,e,i,r,o){var a=this;return new Promise(function(s,u){var c=new a._XMLHttpRequestCtor;c.open("POST",t),c.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",c.status),200===c.status?s():u(Error(c.statusText+" ("+c.status+")"))},c.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),u("Network Error")};var l="client_id="+encodeURIComponent(e);i&&(l+="&client_secret="+encodeURIComponent(i)),l+="&token_type_hint="+encodeURIComponent(o),l+="&token="+encodeURIComponent(r),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),c.send(l)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.UserInfoService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s.TokenClient;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new i(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=u,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var i=this;return r.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then(function(e){return r.Log.debug("ResponseValidator.validateSigninResponse: state processed"),i._validateTokens(t,e).then(function(e){return r.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),i._processClaims(t,e).then(function(t){return r.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t})})})},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(r.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(r.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(r.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new u.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return r.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return r.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return r.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return r.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return r.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return r.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(r.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new u.ErrorResponse(e))):t.nonce&&!e.id_token?(r.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(r.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(r.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(r.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var i=this;if(e.isOpenIdConnect){if(r.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return r.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then(function(t){return r.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(r.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(e.profile=i._mergeClaims(e.profile,t),r.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)});r.Log.debug("ResponseValidator._processClaims: not loading user info")}else r.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var i=Object.assign({},t);for(var r in e){var o=e[r];Array.isArray(o)||(o=[o]);for(var a=0;a1)return r.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));u=s[0]}if(!u)return r.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var c=t.client_id,l=i._settings.clockSkew;return r.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(e.id_token,u,a,c,l).then(function(){return r.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(r.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return r.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];i="EC"}return r.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),r.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",i,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return r.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return r.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return r.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return r.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var i=e.header.alg;if(!i||5!==i.length)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i),Promise.reject(new Error("Unsupported alg: "+i));var n=i.substr(2,3);if(!n)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));var o="sha"+n,a=this._joseUtil.hashString(t.access_token,o);if(!a)return r.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var s=a.substr(0,a.length/2),u=this._joseUtil.hexToBase64Url(s);return u!==t.profile.at_hash?(r.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",u,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(r.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=i(7),r=i(2),o=i(0),a=i(4);e.UserInfoService=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.JoseUtil;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw o.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new s(this._settings),this._joseUtil=u}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then(function(i){return o.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then(function(t){return o.Log.debug("UserInfoService.getClaims: claims received",t),t})}):(o.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function t(e){var i=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var r=n.header.kid,a=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":a=this._metadataService.getIssuer();break;case"ANY":a=Promise.resolve(n.payload.iss);break;default:a=Promise.resolve(this._settings.userInfoJwtIssuer)}return a.then(function(t){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then(function(a){if(!a)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var s=void 0;if(r)s=a.filter(function(t){return t.kid===r})[0];else{if((a=i._filterByAlg(a,n.header.alg)).length>1)return o.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));s=a[0]}if(!s)return o.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=i._settings.client_id,c=i._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",c),i._joseUtil.validateJwt(e.responseText,s,t,u,c,void 0,!0).then(function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload})})})}catch(t){return o.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",i,t.length),t},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=i(26);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={userAgent:!1},r={};if(void 0===o)var o={};o.lang={extend:function(e,i,r){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var o=function(){};if(o.prototype=i.prototype,e.prototype=new o,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),r){var a;for(a in r)e.prototype[a]=r[a];var s=function(){},u=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(s=function(t,e){for(a=0;a>>2]|=(i[o>>>2]>>>24-o%4*8&255)<<24-(n+o)%4*8;else for(o=0;o>>2]=i[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=a.ceil(e/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i>>2]>>>24-r%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new l.init(i,e/2)}},f=h.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new l.init(i,e)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},g=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,n=e.sigBytes,r=this.blockSize,o=n/(4*r),s=(o=t?a.ceil(o):a.max((0|o)-this._minBufferSize,0))*r,u=a.min(4*s,n);if(s){for(var c=0;c>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;4>a&&r+.75*a>>6*(3-a)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var i=e.length,n=this._map;(r=n.charAt(64))&&-1!=(r=e.indexOf(r))&&(i=r);for(var r=[],o=0,a=0;a>>6-a%4*2;r[o>>>2]|=(s|u)<<24-o%4*8,o++}return t.create(r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=m,i=(r=e.lib).WordArray,n=r.Hasher,r=e.algo,o=[],a=[],s=function(t){return 4294967296*(t-(0|t))|0},u=2,c=0;64>c;){var l;t:{for(var h=t.sqrt(l=u),d=2;d<=h;d++)if(!(l%d)){l=!1;break t}l=!0}l&&(8>c&&(o[c]=s(t.pow(u,.5))),a[c]=s(t.pow(u,1/3)),c++),u++}var f=[];r=r.SHA256=n.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],r=i[1],o=i[2],s=i[3],u=i[4],c=i[5],l=i[6],h=i[7],d=0;64>d;d++){if(16>d)f[d]=0|t[e+d];else{var p=f[d-15],g=f[d-2];f[d]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+f[d-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+f[d-16]}p=h+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&l)+a[d]+f[d],g=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&r^n&o^r&o),h=l,l=c,c=u,u=s+p|0,s=o,o=r,r=n,n=p+g|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+o|0,i[3]=i[3]+s|0,i[4]=i[4]+u|0,i[5]=i[5]+c|0,i[6]=i[6]+l|0,i[7]=i[7]+h|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=t.floor(n/4294967296),i[15+(r+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(r),e.HmacSHA256=n._createHmacHelper(r)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=m,i=e.lib.Hasher,n=(o=e.x64).Word,r=o.WordArray,o=e.algo,a=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],s=[],u=0;80>u;u++)s[u]=t();o=o.SHA512=i.extend({_doReset:function(){this._hash=new r.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var i=(h=this._hash.words)[0],n=h[1],r=h[2],o=h[3],u=h[4],c=h[5],l=h[6],h=h[7],d=i.high,f=i.low,p=n.high,g=n.low,v=r.high,m=r.low,y=o.high,b=o.low,w=u.high,_=u.low,A=c.high,k=c.low,T=l.high,C=l.low,S=h.high,E=h.low,x=d,R=f,I=p,O=g,P=v,D=m,M=y,L=b,N=w,z=_,F=A,Z=k,B=T,q=C,U=S,H=E,j=0;80>j;j++){var G=s[j];if(16>j)var Y=G.high=0|t[e+2*j],V=G.low=0|t[e+2*j+1];else{Y=((V=(Y=s[j-15]).high)>>>1|(K=Y.low)<<31)^(V>>>8|K<<24)^V>>>7;var K=(K>>>1|V<<31)^(K>>>8|V<<24)^(K>>>7|V<<25),J=((V=(J=s[j-2]).high)>>>19|(Q=J.low)<<13)^(V<<3|Q>>>29)^V>>>6,Q=(Q>>>19|V<<13)^(Q<<3|V>>>29)^(Q>>>6|V<<26),W=(V=s[j-7]).high,X=($=s[j-16]).high,$=$.low;Y=(Y=(Y=Y+W+((V=K+V.low)>>>0>>0?1:0))+J+((V+=Q)>>>0>>0?1:0))+X+((V+=$)>>>0<$>>>0?1:0),G.high=Y,G.low=V}G=x&I^x&P^I&P;var tt=R&O^R&D^O&D,et=(K=(x>>>28|R<<4)^(x<<30|R>>>2)^(x<<25|R>>>7),J=(R>>>28|x<<4)^(R<<30|x>>>2)^(R<<25|x>>>7),(Q=a[j]).high),it=Q.low;X=(X=(X=(X=U+((N>>>14|z<<18)^(N>>>18|z<<14)^(N<<23|z>>>9))+((Q=H+((z>>>14|N<<18)^(z>>>18|N<<14)^(z<<23|N>>>9)))>>>0>>0?1:0))+(W=N&F^~N&B)+((Q+=$=z&Z^~z&q)>>>0<$>>>0?1:0))+et+((Q+=it)>>>0>>0?1:0))+Y+((Q+=V)>>>0>>0?1:0),U=B,H=q,B=F,q=Z,F=N,Z=z,N=M+X+((z=L+Q|0)>>>0>>0?1:0)|0,M=P,L=D,P=I,D=O,I=x,O=R,x=X+(G=K+G+((V=J+tt)>>>0>>0?1:0))+((R=Q+V|0)>>>0>>0?1:0)|0}f=i.low=f+R,i.high=d+x+(f>>>0>>0?1:0),g=n.low=g+O,n.high=p+I+(g>>>0>>0?1:0),m=r.low=m+D,r.high=v+P+(m>>>0>>0?1:0),b=o.low=b+L,o.high=y+M+(b>>>0>>0?1:0),_=u.low=_+z,u.high=w+N+(_>>>0>>0?1:0),k=c.low=k+Z,c.high=A+F+(k>>>0>>0?1:0),C=l.low=C+q,l.high=T+B+(C>>>0>>0?1:0),E=h.low=E+H,h.high=S+U+(E>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),e[31+(n+128>>>10<<5)]=i,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=i._createHelper(o),e.HmacSHA512=i._createHmacHelper(o)}(),function(){var t=m,e=(r=t.x64).Word,i=r.WordArray,n=(r=t.algo).SHA512,r=r.SHA384=n.extend({_doReset:function(){this._hash=new i.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=n._createHelper(r),t.HmacSHA384=n._createHmacHelper(r)}();var y,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function w(t){var e,i,n="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),n+=b.charAt(i>>6)+b.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=b.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=b.charAt(i>>2)+b.charAt((3&i)<<4));(3&n.length)>0;)n+="=";return n}function _(t){var e,i,n,r="",o=0;for(e=0;e>2),i=3&n,o=1):1==o?(r+=x(i<<2|n>>4),i=15&n,o=2):2==o?(r+=x(i),r+=x(n>>2),i=3&n,o=3):(r+=x(i<<2|n>>4),r+=x(15&n),o=0));return 1==o&&(r+=x(i<<2)),r}function A(t){var e,i=_(t),n=new Array;for(e=0;2*e>15;--o>=0;){var u=32767&this[t],c=this[t++]>>15,l=s*u+c*a;r=((u=a*u+((32767&l)<<15)+i[n]+(1073741823&r))>>>30)+(l>>>15)+s*c+(r>>>30),i[n++]=1073741823&u}return r},y=30):"Netscape"!=n.appName?(k.prototype.am=function(t,e,i,n,r,o){for(;--o>=0;){var a=e*this[t++]+i[n]+r;r=Math.floor(a/67108864),i[n++]=67108863&a}return r},y=26):(k.prototype.am=function(t,e,i,n,r,o){for(var a=16383&e,s=e>>14;--o>=0;){var u=16383&this[t],c=this[t++]>>14,l=s*u+c*a;r=((u=a*u+((16383&l)<<14)+i[n]+r)>>28)+(l>>14)+s*c,i[n++]=268435455&u}return r},y=28),k.prototype.DB=y,k.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function P(t){this.m=t}function D(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function Z(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function B(){}function q(t){return t}function U(t){this.r2=T(),this.q3=T(),k.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}P.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},P.prototype.revert=function(t){return t},P.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},P.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},P.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},D.prototype.convert=function(t){var e=T();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(k.ZERO)>0&&this.m.subTo(e,e),e},D.prototype.revert=function(t){var e=T();return t.copyTo(e),this.reduce(e),e},D.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},D.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},D.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},k.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},k.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},k.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,r=!1,o=0;--n>=0;){var a=8==i?255&t[n]:R(t,n);a<0?"-"==t.charAt(n)&&(r=!0):(r=!1,0==o?this[this.t++]=a:o+i>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},k.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},k.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+a+1]=this[i]>>r|s,s=(this[i]&o)<=0;--i)e[i]=0;e[a]=s,e.t=this.t+a+1,e.s=this.s,e.clamp()},k.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,r=this.DB-n,o=(1<>n;for(var a=i+1;a>n;n>0&&(e[this.t-i-1]|=(this.s&o)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},k.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),r=i.t;for(e.t=r+n.t;--r>=0;)e[r]=0;for(r=0;r=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},k.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var r=this.abs();if(r.t0?(n.lShiftTo(u,o),r.lShiftTo(u,i)):(n.copyTo(o),r.copyTo(i));var c=o.t,l=o[c-1];if(0!=l){var h=l*(1<1?o[c-2]>>this.F2:0),d=this.FV/h,f=(1<=0&&(i[i.t++]=1,i.subTo(m,i)),k.ONE.dlShiftTo(c,m),m.subTo(o,o);o.t=0;){var y=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+p)*f);if((i[g]+=o.am(0,y,i,v,0,c))0&&i.rShiftTo(u,i),a<0&&k.ZERO.subTo(i,i)}}},k.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},k.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},k.prototype.exp=function(t,e){if(t>4294967295||t<1)return k.ONE;var i=T(),n=T(),r=e.convert(this),o=O(t)-1;for(r.copyTo(i);--o>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,r,i);else{var a=i;i=n,n=a}return e.revert(i)},k.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<0)for(s>s)>0&&(r=!0,o=x(i));a>=0;)s>(s+=this.DB-e)):(i=this[a]>>(s-=e)&n,s<=0&&(s+=this.DB,--a)),i>0&&(r=!0),r&&(o+=x(i));return r?o:"0"},k.prototype.negate=function(){var t=T();return k.ZERO.subTo(this,t),t},k.prototype.abs=function(){return this.s<0?this.negate():this},k.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},k.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+O(this[this.t-1]^this.s&this.DM)},k.prototype.mod=function(t){var e=T();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(k.ZERO)>0&&t.subTo(e,e),e},k.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new P(e):new D(e),this.exp(t,i)},k.ZERO=I(0),k.ONE=I(1),B.prototype.convert=q,B.prototype.revert=q,B.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},B.prototype.sqrTo=function(t,e){t.squareTo(e)},U.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=T();return t.copyTo(e),this.reduce(e),e},U.prototype.revert=function(t){return t},U.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},U.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},U.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var H,j,G,Y=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],V=(1<<26)/Y[Y.length-1];function K(){this.i=0,this.j=0,this.S=new Array}function J(){!function(t){j[G++]^=255&t,j[G++]^=t>>8&255,j[G++]^=t>>16&255,j[G++]^=t>>24&255,G>=256&&(G-=256)}((new Date).getTime())}if(k.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},k.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=I(i),r=T(),o=T(),a="";for(this.divRemTo(n,r,o);r.signum()>0;)a=(i+o.intValue()).toString(t).substr(1)+a,r.divRemTo(n,r,o);return o.intValue().toString(t)+a},k.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),r=!1,o=0,a=0,s=0;s=i&&(this.dMultiply(n),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(a,0)),r&&k.ZERO.subTo(this,this)},k.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(k.ONE.shiftLeft(t-1),L,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(k.ONE.shiftLeft(t-1),this);else{var n=new Array,r=7&t;n.length=1+(t>>3),e.nextBytes(n),r>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},k.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},k.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},k.prototype.multiplyLowerTo=function(t,e,i){var n,r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;r>0;)i[--r]=0;for(n=i.t-this.t;r=0;)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},k.prototype.millerRabin=function(t){var e=this.subtract(k.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var n=e.shiftRight(i);(t=t+1>>1)>Y.length&&(t=Y.length);for(var r=T(),o=0;o>24},k.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},k.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},k.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,r=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[r++]=i|this.s<=0;)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==r&&(128&this.s)!=(128&i)&&++r,(r>0||i!=this.s)&&(e[r++]=i);return e},k.prototype.equals=function(t){return 0==this.compareTo(t)},k.prototype.min=function(t){return this.compareTo(t)<0?this:t},k.prototype.max=function(t){return this.compareTo(t)>0?this:t},k.prototype.and=function(t){var e=T();return this.bitwiseTo(t,M,e),e},k.prototype.or=function(t){var e=T();return this.bitwiseTo(t,L,e),e},k.prototype.xor=function(t){var e=T();return this.bitwiseTo(t,N,e),e},k.prototype.andNot=function(t){var e=T();return this.bitwiseTo(t,z,e),e},k.prototype.not=function(){for(var t=T(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var l=T();for(n.sqrTo(a[1],l);s<=c;)a[s]=T(),n.mulTo(l,a[s-2],a[s]),s+=2}var h,d,f=t.t-1,p=!0,g=T();for(r=O(t[f])-1;f>=0;){for(r>=u?h=t[f]>>r-u&c:(h=(t[f]&(1<0&&(h|=t[f-1]>>this.DB+r-u)),s=i;0==(1&h);)h>>=1,--s;if((r-=s)<0&&(r+=this.DB,--f),p)a[h].copyTo(o),p=!1;else{for(;s>1;)n.sqrTo(o,g),n.sqrTo(g,o),s-=2;s>0?n.sqrTo(o,g):(d=o,o=g,g=d),n.mulTo(g,a[h],o)}for(;f>=0&&0==(t[f]&1<=0?(i.subTo(n,i),e&&r.subTo(a,r),o.subTo(s,o)):(n.subTo(i,n),e&&a.subTo(r,a),s.subTo(o,s))}return 0!=n.compareTo(k.ONE)?k.ZERO:s.compareTo(t)>=0?s.subtract(t):s.signum()<0?(s.addTo(t,s),s.signum()<0?s.add(t):s):s},k.prototype.pow=function(t){return this.exp(t,new B)},k.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var r=e.getLowestSetBit(),o=i.getLowestSetBit();if(o<0)return e;for(r0&&(e.rShiftTo(o,e),i.rShiftTo(o,i));e.signum()>0;)(r=e.getLowestSetBit())>0&&e.rShiftTo(r,e),(r=i.getLowestSetBit())>0&&i.rShiftTo(r,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return o>0&&i.lShiftTo(o,i),i},k.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=Y[Y.length-1]){for(e=0;e>>8,j[G++]=255&Q;G=0,J()}function tt(){if(null==H){for(J(),(H=new K).init(j),G=0;G>24,(16711680&r)>>16,(65280&r)>>8,255&r]))),r+=1;return n}function rt(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function ot(t,e){this.x=e,this.q=t}function at(t,e,i,n){this.curve=t,this.x=e,this.y=i,this.z=null==n?k.ONE:n,this.zinv=null}function st(t,e,i){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(i),this.infinity=new at(this,null,null)}et.prototype.nextBytes=function(t){var e;for(e=0;e0&&e.length>0))throw"Invalid RSA public key";this.n=it(t,16),this.e=parseInt(e,16)}},rt.prototype.encrypt=function(t){var e=function(t,e){if(e=0&&e>0;){var r=t.charCodeAt(n--);r<128?i[--e]=r:r>127&&r<2048?(i[--e]=63&r|128,i[--e]=r>>6|192):(i[--e]=63&r|128,i[--e]=r>>6&63|128,i[--e]=r>>12|224)}i[--e]=0;for(var o=new et,a=new Array;e>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);i[--e]=a[0]}return i[--e]=2,i[--e]=0,new k(i)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n},rt.prototype.encryptOAEP=function(t,e,i){var n=function(t,e,i,n){var r=ct.crypto.MessageDigest,o=ct.crypto.Util,a=null;if(i||(i="sha1"),"string"==typeof i&&(a=r.getCanonicalAlgName(i),n=r.getHashLength(a),i=function(t){return kt(o.hashHex(Tt(t),a))}),t.length+2*n+2>e)throw"Message too long for RSA";var s,u="";for(s=0;s>3,e,i);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;var o=r.toString(16);return 0==(1&o.length)?o:"0"+o},rt.prototype.type="RSA",ot.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},ot.prototype.toBigInteger=function(){return this.x},ot.prototype.negate=function(){return new ot(this.q,this.x.negate().mod(this.q))},ot.prototype.add=function(t){return new ot(this.q,this.x.add(t.toBigInteger()).mod(this.q))},ot.prototype.subtract=function(t){return new ot(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},ot.prototype.multiply=function(t){return new ot(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},ot.prototype.square=function(){return new ot(this.q,this.x.square().mod(this.q))},ot.prototype.divide=function(t){return new ot(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},at.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},at.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},at.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(k.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(k.ZERO))},at.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(k.ZERO)&&!this.y.toBigInteger().equals(k.ZERO)},at.prototype.negate=function(){return new at(this.curve,this.x,this.y.negate(),this.z)},at.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),i=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(k.ZERO.equals(i))return k.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new k("3"),r=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),s=a.multiply(i),u=r.multiply(a),c=e.square().multiply(this.z),l=c.subtract(u.shiftLeft(1)).multiply(t.z).subtract(s).multiply(i).mod(this.curve.q),h=u.multiply(n).multiply(e).subtract(o.multiply(s)).subtract(c.multiply(e)).multiply(t.z).add(e.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(t.z).mod(this.curve.q);return new at(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(h),d)},at.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new k("3"),e=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),r=n.multiply(i).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=e.square().multiply(t);k.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o)));var s=(a=a.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(n).mod(this.curve.q),u=a.multiply(t).multiply(e).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(a.square().multiply(a)).mod(this.curve.q),c=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new at(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(u),c)},at.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new k("3")),r=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var a=n.testBit(e);a!=i.testBit(e)&&(o=o.add(a?this:r))}return o},at.prototype.multiplyTwo=function(t,e,i){var n;n=t.bitLength()>i.bitLength()?t.bitLength()-1:i.bitLength()-1;for(var r=this.curve.getInfinity(),o=this.add(e);n>=0;)r=r.twice(),t.testBit(n)?r=i.testBit(n)?r.add(o):r.add(this):i.testBit(n)&&(r=r.add(e)),--n;return r},st.prototype.getQ=function(){return this.q},st.prototype.getA=function(){return this.a},st.prototype.getB=function(){return this.b},st.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},st.prototype.getInfinity=function(){return this.infinity},st.prototype.fromBigInteger=function(t){return new ot(this.q,t)},st.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var e=(t.length-2)/2,i=t.substr(2,e),n=t.substr(e+2,e);return new at(this,this.fromBigInteger(new k(i,16)),this.fromBigInteger(new k(n,16)));default:return null}},ot.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},at.prototype.getEncoded=function(t){var e=function(t,e){var i=t.toByteArrayUnsigned();if(ei.length;)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),r=e(i,32);return t?n.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(e(n,32))),r},at.decodeFrom=function(t,e){var i=e.length-1,n=e.slice(1,1+i/2),r=e.slice(1+i/2,1+i);n.unshift(0),r.unshift(0);var o=new k(n),a=new k(r);return new at(t,t.fromBigInteger(o),t.fromBigInteger(a))},at.decodeFromHex=function(t,e){e.substr(0,2);var i=e.length-2,n=e.substr(2,i/2),r=e.substr(2+i/2,i/2),o=new k(n,16),a=new k(r,16);return new at(t,t.fromBigInteger(o),t.fromBigInteger(a))},at.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),i=t.y.subtract(this.y).divide(e),n=i.square().subtract(this.x).subtract(t.x),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new at(this.curve,n,r)},at.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(k.valueOf(2)),e=this.curve.fromBigInteger(k.valueOf(3)),i=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),n=i.square().subtract(this.x.multiply(t)),r=i.multiply(this.x.subtract(n)).subtract(this.y);return new at(this.curve,n,r)},at.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new k("3")),r=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var a=n.testBit(e);a!=i.testBit(e)&&(o=o.add2D(a?this:r))}return o},at.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),r=this.curve.getQ(),o=e.multiply(e).mod(r),a=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(r);return o.equals(a)},at.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},at.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),i=this.getY().toBigInteger();if(e.compareTo(k.ONE)<0||e.compareTo(t.subtract(k.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(k.ONE)<0||i.compareTo(t.subtract(k.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ut=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function r(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var o=new String(""),a=Object.hasOwnProperty;return function(n,s){var u,c,l=n.match(t),h=l[0],d=!1;"{"===h?u={}:"["===h?u=[]:(u=[],d=!0);for(var f=[u],p=1-d,g=l.length;p=0;)delete r[o[l]]}return s.call(e,n,r)}({"":u},"")),u}}();void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.asn1&&ct.asn1||(ct.asn1={}),ct.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var n="",r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ct.asn1.DERAbstractString=function(t){ct.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=_t(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},o.lang.extend(ct.asn1.DERAbstractString,ct.asn1.ASN1Object),ct.asn1.DERAbstractTime=function(t){ct.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var n=this.zeroPadding,r=this.localDateToUTC(t),o=String(r.getFullYear());"utc"==e&&(o=o.substr(2,2));var a=o+n(String(r.getMonth()+1),2)+n(String(r.getDate()),2)+n(String(r.getHours()),2)+n(String(r.getMinutes()),2)+n(String(r.getSeconds()),2);if(!0===i){var s=r.getMilliseconds();if(0!=s){var u=n(String(s),3);a=a+"."+(u=u.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=vt(t)},this.setByDateValue=function(t,e,i,n,r,o){var a=new Date(Date.UTC(t,e-1,i,n,r,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},o.lang.extend(ct.asn1.DERAbstractTime,ct.asn1.ASN1Object),ct.asn1.DERAbstractStructured=function(t){ct.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},o.lang.extend(ct.asn1.DERAbstractStructured,ct.asn1.ASN1Object),ct.asn1.DERBoolean=function(){ct.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},o.lang.extend(ct.asn1.DERBoolean,ct.asn1.ASN1Object),ct.asn1.DERInteger=function(t){ct.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ct.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new k(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},o.lang.extend(ct.asn1.DERInteger,ct.asn1.ASN1Object),ct.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ct.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ct.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7r.length&&(r=n[i]);return(t=t.replace(r,"::")).slice(1,-1)}function Nt(t){var e="malformed hex value";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?Lt(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function zt(t){for(var e=encodeURIComponent(t),i="",n=0;n"7"?"00"+t:t}dt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var i=parseInt(t.substr(e+3,1));return 0==i?-1:0=2*o)break;if(s>=200)break;n.push(u),a=u,s++}return n},dt.getNthChildIdx=function(t,e,i){return dt.getChildIdx(t,e)[i]},dt.getIdxbyList=function(t,e,i,n){var r,o,a=dt;if(0==i.length){if(void 0!==n&&t.substr(e,2)!==n)throw"checking tag doesn't match: "+t.substr(e,2)+"!="+n;return e}return r=i.shift(),o=a.getChildIdx(t,e),a.getIdxbyList(t,o[r],i,n)},dt.getTLVbyList=function(t,e,i,n){var r=dt,o=r.getIdxbyList(t,e,i);if(void 0===o)throw"can't find nthList object";if(void 0!==n&&t.substr(o,2)!=n)throw"checking tag doesn't match: "+t.substr(o,2)+"!="+n;return r.getTLV(t,o)},dt.getVbyList=function(t,e,i,n,r){var o,a,s=dt;if(void 0===(o=s.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return a=s.getV(t,o),!0===r&&(a=a.substr(2)),a},dt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},i=[],n=t.substr(0,2),r=parseInt(n,16);i[0]=new String(Math.floor(r/40)),i[1]=new String(r%40);for(var o=t.substr(2),a=[],s=0;s0&&(l=l+"."+u.join(".")),l},dt.dump=function(t,e,i,n){var r=dt,o=r.getV,a=r.dump,s=r.getChildIdx,u=t;t instanceof ct.asn1.ASN1Object&&(u=t.getEncodedHex());var c=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===i&&(i=0),void 0===n&&(n="");var l=e.ommit_long_octet;if("01"==u.substr(i,2))return"00"==(h=o(u,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==u.substr(i,2))return n+"INTEGER "+c(h=o(u,i),l)+"\n";if("03"==u.substr(i,2))return n+"BITSTRING "+c(h=o(u,i),l)+"\n";if("04"==u.substr(i,2)){var h=o(u,i);return r.isASN1HEX(h)?(A=n+"OCTETSTRING, encapsulates\n")+a(h,e,0,n+" "):n+"OCTETSTRING "+c(h,l)+"\n"}if("05"==u.substr(i,2))return n+"NULL\n";if("06"==u.substr(i,2)){var d=o(u,i),f=ct.asn1.ASN1Util.oidHexToInt(d),p=ct.asn1.x509.OID.oid2name(f),g=f.replace(/\./g," ");return""!=p?n+"ObjectIdentifier "+p+" ("+g+")\n":n+"ObjectIdentifier ("+g+")\n"}if("0c"==u.substr(i,2))return n+"UTF8String '"+At(o(u,i))+"'\n";if("13"==u.substr(i,2))return n+"PrintableString '"+At(o(u,i))+"'\n";if("14"==u.substr(i,2))return n+"TeletexString '"+At(o(u,i))+"'\n";if("16"==u.substr(i,2))return n+"IA5String '"+At(o(u,i))+"'\n";if("17"==u.substr(i,2))return n+"UTCTime "+At(o(u,i))+"\n";if("18"==u.substr(i,2))return n+"GeneralizedTime "+At(o(u,i))+"\n";if("30"==u.substr(i,2)){if("3000"==u.substr(i,4))return n+"SEQUENCE {}\n";A=n+"SEQUENCE\n";var v=e;if((2==(b=s(u,i)).length||3==b.length)&&"06"==u.substr(b[0],2)&&"04"==u.substr(b[b.length-1],2)){p=r.oidname(o(u,b[0]));var m=JSON.parse(JSON.stringify(e));m.x509ExtName=p,v=m}for(var y=0;yr)throw"key is too short for SigAlg: keylen="+i+","+e;for(var o="0001",a="00"+n,s="",u=r-o.length-a.length,c=0;c=0)return!1;if(i.compareTo(k.ONE)<0||i.compareTo(r)>=0)return!1;var a=i.modInverse(r),s=t.multiply(a).mod(r),u=e.multiply(a).mod(r);return o.multiply(s).add(n.multiply(u)).getX().toBigInteger().mod(r).equals(e)},this.serializeSig=function(t,e){var i=t.toByteArraySigned(),n=e.toByteArraySigned(),r=[];return r.push(2),r.push(i.length),(r=r.concat(i)).push(2),r.push(n.length),(r=r.concat(n)).unshift(r.length),r.unshift(48),r},this.parseSig=function(t){var e;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[e=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error("Second element in signature must be a DERInteger");var n=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:k.fromByteArrayUnsigned(i),s:k.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var e=t[0]-27;if(e<0||e>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:k.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:k.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,r=ct.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=o(t,0,[2,0],"06"),i=o(t,0,[1],"04");try{n=o(t,0,[3,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=r(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){var e,i,n,r=ct.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{o(t,0,[1,0],"06"),e=o(t,0,[1,1],"06"),i=o(t,0,[2,0,1],"04");try{n=o(t,0,[2,0,2,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=r(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){var e,i,n=ct.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{r(t,0,[0,0],"06"),e=r(t,0,[0,1],"06"),i=r(t,0,[1],"03").substr(2)}catch(t){throw"malformed PKCS#8 ECC public key"}if(this.curveName=n(e),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(t,e){5!==e&&(e=6);var i,n,r=ct.crypto.ECDSA.getName,o=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=o(t,0,[0,e,0,1],"06"),n=o(t,0,[0,e,1],"03").substr(2)}catch(t){throw"malformed X.509 certificate ECC public key"}if(this.curveName=r(i),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},ct.crypto.ECDSA.parseSigHex=function(t){var e=ct.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new k(e.r,16),s:new k(e.s,16)}},ct.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=dt.getChildIdx,i=dt.getV;if("30"!=t.substr(0,2))throw"signature is not a ASN.1 sequence";var n=e(t,0);if(2!=n.length)throw"number of signature ASN.1 sequence elements seem wrong";var r=n[0],o=n[1];if("02"!=t.substr(r,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(o,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,r),s:i(t,o)}},ct.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ct.crypto.ECDSA.parseSigHexInHexRS(t),i=e.r,n=e.s;if("00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),i.length%32==30&&(i="00"+i),n.length%32==30&&(n="00"+n),i.length%32!=0)throw"unknown ECDSA sig r length error";if(n.length%32!=0)throw"unknown ECDSA sig s length error";return i+n},ct.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),i=t.substr(t.length/2);return ct.crypto.ECDSA.hexRSSigToASN1Sig(e,i)},ct.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var i=new k(t,16),n=new k(e,16);return ct.crypto.ECDSA.biRSSigToASN1Sig(i,n)},ct.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var i=ct.asn1,n=new i.DERInteger({bigint:t}),r=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,r]}).getEncodedHex()},ct.crypto.ECDSA.getName=function(t){return"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.crypto&&ct.crypto||(ct.crypto={}),ct.crypto.ECParameterDB=new function(){var t={},e={};function i(t){return new k(t,16)}this.getByName=function(i){var n=i;if(void 0!==e[n]&&(n=e[i]),void 0!==t[n])return t[n];throw"unregistered EC curve name: "+n},this.regist=function(n,r,o,a,s,u,c,l,h,d,f,p){t[n]={};var g=i(o),v=i(a),m=i(s),y=i(u),b=i(c),w=new st(g,v,m),_=w.decodePointHex("04"+l+h);t[n].name=n,t[n].keylen=r,t[n].curve=w,t[n].G=_,t[n].n=y,t[n].h=b,t[n].oid=f,t[n].info=p;for(var A=0;A=2*s)break}var h={};return h.keyhex=u.substr(0,2*r[t].keylen),h.ivhex=u.substr(2*r[t].keylen,2*r[t].ivlen),h},s=function(t,e,i,n){var o=m.enc.Base64.parse(t),a=m.enc.Hex.stringify(o);return(0,r[e].proc)(a,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return o(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,i){return a(t,e,i)},decryptKeyB64:function(t,e,i,n){return s(t,e,i,n)},getDecryptedKeyHex:function(t,e){var i=o(t),n=i.cipher,r=i.ivsalt,u=i.data,c=a(n,e,r).keyhex;return s(u,n,c,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,o){var s="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===r[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==o&&null!=o||(o=function(t){var e=m.lib.WordArray.random(t);return m.enc.Hex.stringify(e)}(r[n].ivlen).toUpperCase()),s="-----BEGIN "+t+" PRIVATE KEY-----\r\n",s+="Proc-Type: 4,ENCRYPTED\r\n",s+="DEK-Info: "+n+","+o+"\r\n",s+="\r\n",(s+=function(t,e,i,n){return(0,r[e].eproc)(t,i,n)}(e,n,a(n,i,o).keyhex,o).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var i=dt.getChildIdx,n=dt.getV,r={},o=i(e,0);if(2!=o.length)throw"malformed format: SEQUENCE(0).items != 2: "+o.length;r.ciphertext=n(e,o[1]);var a=i(e,o[0]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+a.length;if("2a864886f70d01050d"!=n(e,a[0]))throw"this only supports pkcs5PBES2";var s=i(e,a[1]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+s.length;var u=i(e,s[1]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+u.length;if("2a864886f70d0307"!=n(e,u[0]))throw"this only supports TripleDES";r.encryptionSchemeAlg="TripleDES",r.encryptionSchemeIV=n(e,u[1]);var c=i(e,s[0]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+c.length;if("2a864886f70d01050c"!=n(e,c[0]))throw"this only supports pkcs5PBKDF2";var l=i(e,c[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;r.pbkdf2Salt=n(e,l[0]);var h=n(e,l[1]);try{r.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return r},getPBKDF2KeyHexFromParam:function(t,e){var i=m.enc.Hex.parse(t.pbkdf2Salt),n=m.PBKDF2(e,i,{keySize:6,iterations:t.pbkdf2Iter});return m.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var i=Rt(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),r=Zt.getPBKDF2KeyHexFromParam(n,e),o={};o.ciphertext=m.enc.Hex.parse(n.ciphertext);var a=m.enc.Hex.parse(r),s=m.enc.Hex.parse(n.encryptionSchemeIV),u=m.TripleDES.decrypt(o,a,{iv:s});return m.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(t,e){var i=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(i)},parsePlainPrivatePKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,r={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var o=i(t,0);if(3!=o.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(o[1],2))throw"malformed PKCS8 private key(code:003)";var a=i(t,o[1]);if(2!=a.length)throw"malformed PKCS8 private key(code:004)";if("06"!=t.substr(a[0],2))throw"malformed PKCS8 private key(code:005)";if(r.algoid=n(t,a[0]),"06"==t.substr(a[1],2)&&(r.algparam=n(t,a[1])),"04"!=t.substr(o[2],2))throw"malformed PKCS8 private key(code:006)";return r.keyidx=e.getVidx(t,o[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=Rt(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,i=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==i.algoid)e=new rt;else if("2a8648ce380401"==i.algoid)e=new ct.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";e=new ct.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,i=dt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===i)e=new rt;else if("2a8648ce380401"===i)e=new ct.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";e=new ct.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=dt.getChildIdx,i=dt.getV,n={};if("30"!=t.substr(0,2))throw"malformed RSA key(code:001)";var r=e(t,0);if(2!=r.length)throw"malformed RSA key(code:002)";if("02"!=t.substr(r[0],2))throw"malformed RSA key(code:003)";if(n.n=i(t,r[0]),"02"!=t.substr(r[1],2))throw"malformed RSA key(code:004)";return n.e=i(t,r[1]),n},parsePublicPKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,r={algparam:null},o=i(t,0);if(2!=o.length)throw"outer DERSequence shall have 2 elements: "+o.length;var a=o[0];if("30"!=t.substr(a,2))throw"malformed PKCS8 public key(code:001)";var s=i(t,a);if(2!=s.length)throw"malformed PKCS8 public key(code:002)";if("06"!=t.substr(s[0],2))throw"malformed PKCS8 public key(code:003)";if(r.algoid=n(t,s[0]),"06"==t.substr(s[1],2)?r.algparam=n(t,s[1]):"30"==t.substr(s[1],2)&&(r.algparam={},r.algparam.p=e.getVbyList(t,s[1],[0],"02"),r.algparam.q=e.getVbyList(t,s[1],[1],"02"),r.algparam.g=e.getVbyList(t,s[1],[2],"02")),"03"!=t.substr(o[1],2))throw"malformed PKCS8 public key(code:004)";return r.key=n(t,o[1]).substr(2),r}}}();Zt.getKey=function(t,e,i){var n,r=(m=dt).getChildIdx,o=m.getVbyList,a=ct.crypto,s=a.ECDSA,u=a.DSA,c=rt,l=Rt,h=Zt;if(void 0!==c&&t instanceof c)return t;if(void 0!==s&&t instanceof s)return t;if(void 0!==u&&t instanceof u)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new s({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new s({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new c).setPublic(t.n,t.e),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(R=new c).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(R=new c).setPrivate(t.n,t.e,t.d),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(R=new u).setPublic(t.p,t.q,t.g,t.y),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(R=new u).setPrivate(t.p,t.q,t.g,t.y,t.x),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new c).setPublic(wt(t.n),wt(t.e)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(R=new c).setPrivateEx(wt(t.n),wt(t.e),wt(t.d),wt(t.p),wt(t.q),wt(t.dp),wt(t.dq),wt(t.qi)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(R=new c).setPrivate(wt(t.n),wt(t.e),wt(t.d)),R;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(x=new s({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);return x.setPublicKeyHex(f),x}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(x=new s({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);var p=("0000000000"+wt(t.d)).slice(-d);return x.setPublicKeyHex(f),x.setPrivateKeyHex(p),x}if("pkcs5prv"===i){var g,v=t,m=dt;if(9===(g=r(v,0)).length)(R=new c).readPKCS5PrvKeyHex(v);else if(6===g.length)(R=new u).readPKCS5PrvKeyHex(v);else{if(!(g.length>2&&"04"===v.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(R=new s).readPKCS5PrvKeyHex(v)}return R}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return jt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return jt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var y=Rt(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(y)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var b=l(t,"RSA PRIVATE KEY");return h.getKey(b,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var w=o(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),_=o(n,0,[2],"02"),A=o(n,0,[3],"02"),T=o(n,0,[4],"02"),C=o(n,0,[5],"02");return(R=new u).setPrivate(new k(w,16),new k(_,16),new k(A,16),new k(T,16),new k(C,16)),R}if(-1!=t.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var S=h.getDecryptedKeyHex(t,e),E=new rt;return E.readPKCS5PrvKeyHex(S),E}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var x,R=o(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),I=o(n,0,[2,0],"06"),O=o(n,0,[3,0],"03").substr(2);if(void 0===ct.crypto.OID.oidhex2name[I])throw"undefined OID(hex) in KJUR.crypto.OID: "+I;return(x=new s({curve:ct.crypto.OID.oidhex2name[I]})).setPublicKeyHex(O),x.setPrivateKeyHex(R),x.isPublic=!1,x}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return w=o(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),_=o(n,0,[2],"02"),A=o(n,0,[3],"02"),T=o(n,0,[4],"02"),C=o(n,0,[5],"02"),(R=new u).setPrivate(new k(w,16),new k(_,16),new k(A,16),new k(T,16),new k(C,16)),R;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Zt.generateKeypair=function(t,e){if("RSA"==t){var i=e;(a=new rt).generate(i,"10001"),a.isPrivate=!0,a.isPublic=!0;var n=new rt,r=a.n.toString(16),o=a.e.toString(16);return n.setPublic(r,o),n.isPrivate=!1,n.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=n,s}if("EC"==t){var a,s,u=e,c=new ct.crypto.ECDSA({curve:u}).generateKeyPairHex();return(a=new ct.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),a.setPrivateKeyHex(c.ecprvhex),a.isPrivate=!0,a.isPublic=!1,(n=new ct.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=n,s}throw"unknown algorithm: "+t},Zt.getPEM=function(t,e,i,n,r,o){var a=ct.asn1,s=a.DERObjectIdentifier,u=a.DERInteger,c=a.ASN1Util.newObject,l=ct.crypto,h=l.DSA,d=l.ECDSA,f=rt;function p(t){return c({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function g(t){return c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function v(t){return c({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==f&&t instanceof f||void 0!==h&&t instanceof h||void 0!==d&&t instanceof d)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return xt(_=new(0,a.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==f&&t instanceof f&&(void 0===i||null==i)&&1==t.isPrivate)return xt(_=p(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var y=new s({name:t.curveName}).getEncodedHex(),b=g(t).getEncodedHex(),w="";return(w+=xt(y,"EC PARAMETERS"))+xt(b,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return xt(_=v(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==f&&t instanceof f&&void 0!==i&&null!=i&&1==t.isPrivate){var _=p(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",_,i,n,o)}if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==i&&null!=i&&1==t.isPrivate)return _=g(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",_,i,n,o);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return _=v(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",_,i,n,o);var A=function(t,e){var i=k(t,e);return new c({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:i.pbkdf2Salt}},{int:i.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:i.encryptionSchemeIV}}]}]}]},{octstr:{hex:i.ciphertext}}]}).getEncodedHex()},k=function(t,e){var i=m.lib.WordArray.random(8),n=m.lib.WordArray.random(8),r=m.PBKDF2(e,i,{keySize:6,iterations:100}),o=m.enc.Hex.parse(t),a=m.TripleDES.encrypt(o,r,{iv:n})+"",s={};return s.ciphertext=a,s.pbkdf2Salt=m.enc.Hex.stringify(i),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=m.enc.Hex.stringify(n),s};if("PKCS8PRV"==e&&null!=f&&t instanceof f&&1==t.isPrivate){var T=p(t).getEncodedHex();return _=c({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?xt(_,"PRIVATE KEY"):xt(b=A(_,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return T=new c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),_=c({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?xt(_,"PRIVATE KEY"):xt(b=A(_,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return T=new u({bigint:t.x}).getEncodedHex(),_=c({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?xt(_,"PRIVATE KEY"):xt(b=A(_,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Zt.getKeyFromCSRPEM=function(t){var e=Rt(t,"CERTIFICATE REQUEST");return Zt.getKeyFromCSRHex(e)},Zt.getKeyFromCSRHex=function(t){var e=Zt.parseCSRHex(t);return Zt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Zt.parseCSRHex=function(t){var e=dt.getChildIdx,i=dt.getTLV,n={},r=t;if("30"!=r.substr(0,2))throw"malformed CSR(code:001)";var o=e(r,0);if(o.length<1)throw"malformed CSR(code:002)";if("30"!=r.substr(o[0],2))throw"malformed CSR(code:003)";var a=e(r,o[0]);if(a.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(r,a[2]),n},Zt.getJWKFromKey=function(t){var e={};if(t instanceof rt&&t.isPrivate)return e.kty="RSA",e.n=bt(t.n.toString(16)),e.e=bt(t.e.toString(16)),e.d=bt(t.d.toString(16)),e.p=bt(t.p.toString(16)),e.q=bt(t.q.toString(16)),e.dp=bt(t.dmp1.toString(16)),e.dq=bt(t.dmq1.toString(16)),e.qi=bt(t.coeff.toString(16)),e;if(t instanceof rt&&t.isPublic)return e.kty="RSA",e.n=bt(t.n.toString(16)),e.e=bt(t.e.toString(16)),e;if(t instanceof ct.crypto.ECDSA&&t.isPrivate){if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;var i=t.getPublicKeyXYHex();return e.kty="EC",e.crv=n,e.x=bt(i.x),e.y=bt(i.y),e.d=bt(t.prvKeyHex),e}if(t instanceof ct.crypto.ECDSA&&t.isPublic){var n;if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;return i=t.getPublicKeyXYHex(),e.kty="EC",e.crv=n,e.x=bt(i.x),e.y=bt(i.y),e}throw"not supported key object"},rt.getPosArrayOfChildrenFromHex=function(t){return dt.getChildIdx(t,0)},rt.getHexValueArrayOfChildrenFromHex=function(t){var e,i=dt.getV,n=i(t,(e=rt.getPosArrayOfChildrenFromHex(t))[0]),r=i(t,e[1]),o=i(t,e[2]),a=i(t,e[3]),s=i(t,e[4]),u=i(t,e[5]),c=i(t,e[6]),l=i(t,e[7]),h=i(t,e[8]);return(e=new Array).push(n,r,o,a,s,u,c,l,h),e},rt.prototype.readPrivateKeyFromPEMString=function(t){var e=Rt(t),i=rt.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8])},rt.prototype.readPKCS5PrvKeyHex=function(t){var e=rt.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},rt.prototype.readPKCS8PrvKeyHex=function(t){var e,i,n,r,o,a,s,u,c=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=c(t,0,[2,0,1],"02"),i=c(t,0,[2,0,2],"02"),n=c(t,0,[2,0,3],"02"),r=c(t,0,[2,0,4],"02"),o=c(t,0,[2,0,5],"02"),a=c(t,0,[2,0,6],"02"),s=c(t,0,[2,0,7],"02"),u=c(t,0,[2,0,8],"02")}catch(t){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(e,i,n,r,o,a,s,u)},rt.prototype.readPKCS5PubKeyHex=function(t){var e=dt,i=e.getV;if(!1===e.isASN1HEX(t))throw"keyHex is not ASN.1 hex string";var n=e.getChildIdx(t,0);if(2!==n.length||"02"!==t.substr(n[0],2)||"02"!==t.substr(n[1],2))throw"wrong hex for PKCS#5 public key";var r=i(t,n[0]),o=i(t,n[1]);this.setPublic(r,o)},rt.prototype.readPKCS8PubKeyHex=function(t){var e=dt;if(!1===e.isASN1HEX(t))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==e.getTLVbyList(t,0,[0,0]))throw"not PKCS8 RSA public key";var i=e.getTLVbyList(t,0,[1,0]);this.readPKCS5PubKeyHex(i)},rt.prototype.readCertPubKeyHex=function(t,e){var i,n;(i=new jt).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var Bt=new RegExp("");function qt(t,e){for(var i="",n=e/4-t.length,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=1;return n}function Ht(t){for(var e in ct.crypto.Util.DIGESTINFOHEAD){var i=ct.crypto.Util.DIGESTINFOHEAD[e],n=i.length;if(t.substring(0,n)==i)return[e,t.substring(n)]}return[]}function jt(){var t=dt,e=t.getChildIdx,i=t.getV,n=t.getTLV,r=t.getVbyList,o=t.getTLVbyList,a=t.getIdxbyList,s=t.getVidx,u=t.oidname,c=jt,l=Rt;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==o(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return r(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return u(r(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return o(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return c.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return o(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return c.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=r(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=r(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return t.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return a(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return a(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return Zt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return u(r(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return r(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmName(),i=this.getSignatureValueHex(),n=o(this.hex,0,[0],"30"),r=new ct.crypto.Signature({alg:e});return r.init(t),r.updateHex(n),r.verify(i)},this.parseExt=function(){if(3!==this.version)return-1;var i=a(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var o=0;o0&&(c=new Array(i),(new et).nextBytes(c),c=String.fromCharCode.apply(String,c));var l=kt(u(Tt("\0\0\0\0\0\0\0\0"+r+c))),h=[];for(n=0;n>8*s-a&255),n=0;nthis.n.bitLength())return 0;var n=Ht(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var r=n[0];return n[1]==function(t){return ct.crypto.Util.hashString(t,r)}(t)},rt.prototype.verifyWithMessageHash=function(t,e){var i=it(e=(e=e.replace(Bt,"")).replace(/[ \n]+/g,""),16);if(i.bitLength()>this.n.bitLength())return 0;var n=Ht(this.doPublic(i).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==t},rt.prototype.verifyPSS=function(t,e,i,n){var r=function(t){return ct.crypto.Util.hashHex(t,i)}(Tt(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(r,e,i,n)},rt.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var r=new k(e,16);if(r.bitLength()>this.n.bitLength())return!1;var o,a=function(t){return ct.crypto.Util.hashHex(t,i)},s=kt(t),u=s.length,c=this.n.bitLength()-1,l=Math.ceil(c/8);if(-1===n||void 0===n)n=u;else if(-2===n)n=l-u-2;else if(n<-2)throw"invalid salt length";if(l>8*l-c&255;if(0!=(d.charCodeAt(0)&p))throw"bits beyond keysize not zero";var g=Ut(f,d.length,a),v=[];for(o=0;o0&&-1==(":"+n.join(":")+":").indexOf(":"+v+":"))throw"algorithm '"+v+"' not accepted in the list";if("none"!=v&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Zt.getKey(e)),!("RS"!=d&&"PS"!=d||e instanceof r))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(e instanceof u))throw"key shall be a ECDSA obj for ES* algs";var m=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+v;if("none"==(m=o.jwsalg2sigalg[v]))throw"not supported";if("Hmac"==m.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var y=new c({alg:m,pass:e});return y.updateString(f),p==y.doFinal()}if(-1!=m.indexOf("withECDSA")){var b,w=null;try{w=u.concatSigToASN1Sig(p)}catch(t){return!1}return(b=new l({alg:m})).init(e),b.updateString(f),b.verify(w)}return(b=new l({alg:m})).init(e),b.updateString(f),b.verify(p)},ct.jws.JWS.parse=function(t){var e,i,n=t.split("."),r={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=n[1],3==n.length&&(i=n[2]),r.headerObj=ct.jws.JWS.readSafeJSONString(ht(n[0])),r.payloadObj=ct.jws.JWS.readSafeJSONString(ht(e)),r.headerPP=JSON.stringify(r.headerObj,null," "),r.payloadPP=null==r.payloadObj?ht(e):JSON.stringify(r.payloadObj,null," "),void 0!==i&&(r.sigHex=wt(i)),r},ct.jws.JWS.verifyJWT=function(t,e,n){var r=ct.jws,o=r.JWS,a=o.readSafeJSONString,s=o.inArray,u=o.includedArray,c=t.split("."),l=c[0],h=c[1],d=(wt(c[2]),a(ht(l))),f=a(ht(h));if(void 0===d.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!s(d.alg,n.alg))return!1;if(void 0!==f.iss&&"object"===i(n.iss)&&!s(f.iss,n.iss))return!1;if(void 0!==f.sub&&"object"===i(n.sub)&&!s(f.sub,n.sub))return!1;if(void 0!==f.aud&&"object"===i(n.aud))if("string"==typeof f.aud){if(!s(f.aud,n.aud))return!1}else if("object"==i(f.aud)&&!u(f.aud,n.aud))return!1;var p=r.IntDate.getNow();return void 0!==n.verifyAt&&"number"==typeof n.verifyAt&&(p=n.verifyAt),void 0!==n.gracePeriod&&"number"==typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==f.exp&&"number"==typeof f.exp&&f.exp+n.gracePeriode.length&&(i=e.length);for(var n=0;n=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(t).length;default:if(n)return B(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function v(t,e,i,n,r){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:m(t,e,i,n,r);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):m(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function m(t,e,i,n,r){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,i/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var l=-1;for(o=i;os&&(i=s-u),o=i;o>=0;o--){for(var h=!0,d=0;dr&&(n=r):n=r;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a>8,r.push(i%256),r.push(n);return r}(e,t.length-i),t,i,n)}function T(t,e,i){return n.fromByteArray(0===e&&i===t.length?t:t.slice(e,i))}function C(t,e,i){i=Math.min(t.length,i);for(var n=[],r=e;r239?4:c>223?3:c>191?2:1;if(r+h<=i)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[r+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:a=t[r+2],128==(192&(o=t[r+1]))&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=t[r+2],s=t[r+3],128==(192&(o=t[r+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),r+=h}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);for(var i="",n=0;nthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,i);case"utf8":case"utf-8":return C(this,e,i);case"ascii":return E(this,e,i);case"latin1":case"binary":return x(this,e,i);case"base64":return T(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}).apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},u.prototype.compare=function(t,e,i,n,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(this===t)return 0;for(var o=(r>>>=0)-(n>>>=0),a=(i>>>=0)-(e>>>=0),s=Math.min(o,a),c=this.slice(n,r),l=t.slice(e,i),h=0;hr)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(this,t,e,i);case"utf8":case"utf-8":return b(this,t,e,i);case"ascii":return w(this,t,e,i);case"latin1":case"binary":return _(this,t,e,i);case"base64":return A(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function E(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;rn)&&(i=n);for(var r="",o=e;oi)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,i,n,r,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function D(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-i,2);r>>8*(n?r:1-r)}function M(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-i,4);r>>8*(n?r:3-r)&255}function L(t,e,i,n,r,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,n,o){return o||L(t,0,i,4),r.write(t,e,i,n,23,4),i+4}function z(t,e,i,n,o){return o||L(t,0,i,8),r.write(t,e,i,n,52,8),i+8}u.prototype.slice=function(t,e){var i,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(r*=256);)n+=this[t+--e]*r;return n},u.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||O(t,e,this.length);for(var n=this[t],r=1,o=0;++o=(r*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||O(t,e,this.length);for(var n=e,r=1,o=this[t+--n];n>0&&(r*=256);)o+=this[t+--n]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||P(this,t,e,i,Math.pow(2,8*i)-1,0);var r=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+r]=t/o&255;return e+i},u.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+i},u.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var o=i-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+i},u.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},u.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},u.prototype.writeDoubleLE=function(t,e,i){return z(this,t,e,!0,i)},u.prototype.writeDoubleBE=function(t,e,i){return z(this,t,e,!1,i)},u.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--r)t[r+e]=this[r+i];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,i,n){for(var r=0;r=e.length||r>=t.length);++r)e[r+i]=t[r];return r}}).call(this,i(28))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";e.byteLength=function(t){var e=c(t),i=e[1];return 3*(e[0]+i)/4-i},e.toByteArray=function(t){for(var e,i=c(t),n=i[0],a=i[1],s=new o(function(t,e,i){return 3*(e+i)/4-i}(0,n,a)),u=0,l=a>0?n-4:n,h=0;h>16&255,s[u++]=e>>8&255,s[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(h)]<<2|r[t.charCodeAt(h+1)]>>4,s[u++]=255&e),1===a&&(e=r[t.charCodeAt(h)]<<10|r[t.charCodeAt(h+1)]<<4|r[t.charCodeAt(h+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,o=[],a=0,s=i-r;as?s:a+16383));return 1===r?o.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===r&&o.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var r,o=[],a=e;a>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,r){var o,a,s=8*r-n-1,u=(1<>1,l=-7,h=i?r-1:0,d=i?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=c}return(f?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,i,n,r,o){var a,s,u,c=8*o-r-1,l=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[i+f]=255&s,f+=p,s/=256,r-=8);for(a=a<0;t[i+f]=255&a,f+=p,a/=256,c-=8);t[i+f-p]|=128*g}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.jws,i=t.KeyUtil,r=t.X509,o=t.crypto,a=t.hextob64u,s=t.b64tohex,u=t.AllowedSigningAlgs;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.parseJwt=function t(i){n.Log.debug("JoseUtil.parseJwt");try{var r=e.JWS.parse(i);return{header:r.headerObj,payload:r.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,o,a,u,c,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===o.kty)if(o.e&&o.n)o=i.getKey(o);else{if(!o.x5c||!o.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",o),Promise.reject(new Error("RSA key missing key material"));var d=s(o.x5c[0]);o=r.getPublicKeyFromCertHex(d)}else{if("EC"!==o.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",o&&o.kty),Promise.reject(new Error(o.kty));if(!(o.crv&&o.x&&o.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",o),Promise.reject(new Error("EC key missing key material"));o=i.getKey(o)}return t._validateJwt(e,o,a,u,c,l,h)}catch(t){return n.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,i,r,o,a,s){o||(o=0),a||(a=parseInt(Date.now()/1e3));var u=t.parseJwt(e).payload;if(!u.iss)return n.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(u.iss!==i)return n.Log.error("JoseUtil._validateJwt: Invalid issuer in token",u.iss),Promise.reject(new Error("Invalid issuer in token: "+u.iss));if(!u.aud)return n.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(u.aud===r||Array.isArray(u.aud)&&u.aud.indexOf(r)>=0))return n.Log.error("JoseUtil._validateJwt: Invalid audience in token",u.aud),Promise.reject(new Error("Invalid audience in token: "+u.aud));if(u.azp&&u.azp!==r)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",u.azp),Promise.reject(new Error("Invalid azp in token: "+u.azp));if(!s){var c=a+o,l=a-o;if(!u.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(c>>((3&e)<<3)&255;return r}}},function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"#";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=r.UrlUtility.parseUrlFragment(e,i);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutRequest=void 0;var n=i(0),r=i(3),o=i(8);e.SignoutRequest=function t(e){var i=e.url,a=e.id_token_hint,s=e.post_logout_redirect_uri,u=e.data,c=e.extraQueryParams,l=e.request_type;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in a&&(i=r.UrlUtility.addQueryParam(i,"id_token_hint",a)),s&&(i=r.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",s),u&&(this.state=new o.State({data:u,request_type:l}),i=r.UrlUtility.addQueryParam(i,"state",this.state.id))),c)i=r.UrlUtility.addQueryParam(i,h,c[h]);this.url=i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var n=i(3);e.SignoutResponse=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var i=n.UrlUtility.parseUrlFragment(e,"?");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryWebStorage=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.SessionMonitor,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:f.JoseUtil;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i instanceof a.UserManagerSettings||(i=new a.UserManagerSettings(i));var v=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return v._events=new u.UserManagerEvents(i),v._silentRenewService=new n(v),v.settings.automaticSilentRenew&&(r.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),v.startSilentRenew()),v.settings.monitorSession&&(r.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),v._sessionMonitor=new o(v)),v._tokenRevocationClient=new s(v._settings),v._tokenClient=new p(v._settings),v._joseUtil=g,v}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function(){var t=this;return this._loadUser().then(function(e){return e?(r.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(r.Log.info("UserManager.getUser: user not found in storage"),null)})},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then(function(){r.Log.info("UserManager.removeUser: user removed from storage"),t._events.unload()})},e.prototype.signinRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:r";var e={useReplaceToNavigate:t.useReplaceToNavigate};return this._signinStart(t,this._redirectNavigator,e).then(function(){r.Log.info("UserManager.signinRedirect: successful")})},e.prototype.signinRedirectCallback=function(t){return this._signinEnd(t||this._redirectNavigator.url).then(function(t){return t.profile&&t.profile.sub?r.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):r.Log.info("UserManager.signinRedirectCallback: no sub"),t})},e.prototype.signinPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:p";var e=t.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.display="popup",this._signin(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(t){return t&&(t.profile&&t.profile.sub?r.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):r.Log.info("UserManager.signinPopup: no sub")),t})):(r.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},e.prototype.signinPopupCallback=function(t){return this._signinCallback(t,this._popupNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?r.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):r.Log.info("UserManager.signinPopupCallback: no sub")),t}).catch(function(t){r.Log.error(t.message)})},e.prototype.signinSilent=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).request_type="si:s",this._loadUser().then(function(i){return i&&i.refresh_token?(e.refresh_token=i.refresh_token,t._useRefreshToken(e)):(e.id_token_hint=e.id_token_hint||t.settings.includeIdTokenInSilentRenew&&i&&i.id_token,i&&t._settings.validateSubOnSilentRenew&&(r.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",i.profile.sub),e.current_sub=i.profile.sub),t._signinSilentIframe(e))})},e.prototype._useRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(e).then(function(e){return e?e.access_token?t._loadUser().then(function(i){if(i){var n=Promise.resolve();return e.id_token&&(n=t._validateIdTokenFromTokenRefreshToken(i.profile,e.id_token)),n.then(function(){return r.Log.debug("UserManager._useRefreshToken: refresh token response success"),i.id_token=e.id_token,i.access_token=e.access_token,i.refresh_token=e.refresh_token||i.refresh_token,i.expires_in=e.expires_in,t.storeUser(i).then(function(){return t._events.load(i),i})})}return null}):(r.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(r.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},e.prototype._validateIdTokenFromTokenRefreshToken=function(t,e){var i=this;return this._metadataService.getIssuer().then(function(n){return i._joseUtil.validateJwtAttributes(e,n,i._settings.client_id,i._settings.clockSkew).then(function(e){return e?e.sub!==t.sub?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):e.auth_time&&e.auth_time!==t.auth_time?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):e.azp&&e.azp!==t.azp?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!e.azp&&t.azp?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})},e.prototype._signinSilentIframe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.prompt=t.prompt||"none",this._signin(t,this._iframeNavigator,{startUrl:e,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(t){return t&&(t.profile&&t.profile.sub?r.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):r.Log.info("UserManager.signinSilent: no sub")),t})):(r.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype.signinSilentCallback=function(t){return this._signinCallback(t,this._iframeNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?r.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):r.Log.info("UserManager.signinSilentCallback: no sub")),t})},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then(function(i){var n=i.state;return"si:r"===n.request_type?e.signinRedirectCallback(t):"si:p"===n.request_type?e.signinPopupCallback(t):"si:s"===n.request_type?e.signinSilentCallback(t):Promise.reject(new Error("invalid response_type in state"))})},e.prototype.signoutCallback=function(t,e){var i=this;return this.readSignoutResponseState(t).then(function(n){var r=n.state,o=n.response;return r?"so:r"===r.request_type?i.signoutRedirectCallback(t):"so:p"===r.request_type?i.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):o})},e.prototype.querySessionStatus=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:s";var i=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return i?(e.redirect_uri=i,e.prompt="none",e.response_type=e.response_type||this.settings.query_status_response_type,e.scope=e.scope||"openid",e.skipUserInfo=!0,this._signinStart(e,this._iframeNavigator,{startUrl:i,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(e){return t.processSigninResponse(e.url).then(function(t){if(r.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return r.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};r.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(e){if(e.session_state&&t.settings.monitorAnonymousSession&&("login_required"==e.message||"consent_required"==e.message||"interaction_required"==e.message||"account_selection_required"==e.message))return r.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e})})):(r.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype._signin=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,n).then(function(e){return i._signinEnd(e.url,t)})},e.prototype._signinStart=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(n).then(function(e){return r.Log.debug("UserManager._signinStart: got navigator window handle"),i.createSigninRequest(t).then(function(t){return r.Log.debug("UserManager._signinStart: got signin request"),n.url=t.url,n.id=t.state.id,e.navigate(n)}).catch(function(t){throw e.close&&(r.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),e.close()),t})})},e.prototype._signinEnd=function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(t).then(function(t){r.Log.debug("UserManager._signinEnd: got signin response");var n=new s.User(t);if(i.current_sub){if(i.current_sub!==n.profile.sub)return r.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",n.profile.sub),Promise.reject(new Error("login_required"));r.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(n).then(function(){return r.Log.debug("UserManager._signinEnd: user stored"),e._events.load(n),n})})},e.prototype._signinCallback=function(t,e){return r.Log.debug("UserManager._signinCallback"),e.callback(t)},e.prototype.signoutRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:r";var e=t.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;e&&(t.post_logout_redirect_uri=e);var i={useReplaceToNavigate:t.useReplaceToNavigate};return this._signoutStart(t,this._redirectNavigator,i).then(function(){r.Log.info("UserManager.signoutRedirect: successful")})},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then(function(t){return r.Log.info("UserManager.signoutRedirectCallback: successful"),t})},e.prototype.signoutPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:p";var e=t.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return t.post_logout_redirect_uri=e,t.display="popup",t.post_logout_redirect_uri&&(t.state=t.state||{}),this._signout(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){r.Log.info("UserManager.signoutPopup: successful")})},e.prototype.signoutPopupCallback=function(t,e){return void 0===e&&"boolean"==typeof t&&(e=t,t=null),this._popupNavigator.callback(t,e,"?").then(function(){r.Log.info("UserManager.signoutPopupCallback: successful")})},e.prototype._signout=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,n).then(function(t){return i._signoutEnd(t.url)})},e.prototype._signoutStart=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,i=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.prepare(n).then(function(i){return r.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then(function(o){return r.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(o):Promise.resolve()).then(function(){var a=t.id_token_hint||o&&o.id_token;return a&&(r.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=a),e.removeUser().then(function(){return r.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then(function(t){return r.Log.debug("UserManager._signoutStart: got signout request"),n.url=t.url,t.state&&(n.id=t.state.id),i.navigate(n)})})})}).catch(function(t){throw i.close&&(r.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),i.close()),t})})},e.prototype._signoutEnd=function(t){return this.processSignoutResponse(t).then(function(t){return r.Log.debug("UserManager._signoutEnd: got signout response"),t})},e.prototype.revokeAccessToken=function(){var t=this;return this._loadUser().then(function(e){return t._revokeInternal(e,!0).then(function(i){if(i)return r.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),e.access_token=null,e.refresh_token=null,e.expires_at=null,e.token_type=null,t.storeUser(e).then(function(){r.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)})})}).then(function(){r.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},e.prototype._revokeInternal=function(t,e){var i=this;if(t){var n=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then(function(t){return i._revokeRefreshTokenInternal(n,e).then(function(e){return t||e||r.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),t||e})})}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function(t,e){return!t||t.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(t,e).then(function(){return!0})},e.prototype._revokeRefreshTokenInternal=function(t,e){return t?this._tokenRevocationClient.revoke(t,e,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},e.prototype.startSilentRenew=function(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},e.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(t){return t?(r.Log.debug("UserManager._loadUser: user storageString loaded"),s.User.fromStorageString(t)):(r.Log.debug("UserManager._loadUser: no user storageString"),null)})},e.prototype.storeUser=function(t){if(t){r.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return r.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},n(e,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),e}(o.OidcClient)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.popup_redirect_uri,r=i.popup_post_logout_redirect_uri,h=i.popupWindowFeatures,d=i.popupWindowTarget,f=i.silent_redirect_uri,p=i.silentRequestTimeout,g=i.automaticSilentRenew,v=void 0!==g&&g,m=i.validateSubOnSilentRenew,y=void 0!==m&&m,b=i.includeIdTokenInSilentRenew,w=void 0===b||b,_=i.monitorSession,A=void 0===_||_,k=i.monitorAnonymousSession,T=void 0!==k&&k,C=i.checkSessionInterval,S=void 0===C?2e3:C,E=i.stopCheckSessionOnError,x=void 0===E||E,R=i.query_status_response_type,I=i.revokeAccessTokenOnSignout,O=void 0!==I&&I,P=i.accessTokenExpiringNotificationTime,D=void 0===P?60:P,M=i.redirectNavigator,L=void 0===M?new o.RedirectNavigator:M,N=i.popupNavigator,z=void 0===N?new a.PopupNavigator:N,F=i.iframeNavigator,Z=void 0===F?new s.IFrameNavigator:F,B=i.userStore,q=void 0===B?new u.WebStorageStateStore({store:c.Global.sessionStorage}):B;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var U=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));return U._popup_redirect_uri=n,U._popup_post_logout_redirect_uri=r,U._popupWindowFeatures=h,U._popupWindowTarget=d,U._silent_redirect_uri=f,U._silentRequestTimeout=p,U._automaticSilentRenew=v,U._validateSubOnSilentRenew=y,U._includeIdTokenInSilentRenew=w,U._accessTokenExpiringNotificationTime=D,U._monitorSession=A,U._monitorAnonymousSession=T,U._checkSessionInterval=S,U._stopCheckSessionOnError=x,U._query_status_response_type=R||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),U._revokeAccessTokenOnSignout=O,U._redirectNavigator=L,U._popupNavigator=z,U._iframeNavigator=Z,U._userStore=q,U}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),e}(r.OidcClientSettings)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1])||arguments[1];n.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),i&&this._userLoaded.raise(e)},e.prototype.unload=function(){n.Log.debug("UserManagerEvents.unload"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function(t){this._userLoaded.addHandler(t)},e.prototype.removeUserLoaded=function(t){this._userLoaded.removeHandler(t)},e.prototype.addUserUnloaded=function(t){this._userUnloaded.addHandler(t)},e.prototype.removeUserUnloaded=function(t){this._userUnloaded.removeHandler(t)},e.prototype.addSilentRenewError=function(t){this._silentRenewError.addHandler(t)},e.prototype.removeSilentRenewError=function(t){this._silentRenewError.removeHandler(t)},e.prototype._raiseSilentRenewError=function(t){n.Log.debug("UserManagerEvents._raiseSilentRenewError",t.message),this._silentRenewError.raise(t)},e.prototype.addUserSignedIn=function(t){this._userSignedIn.addHandler(t)},e.prototype.removeUserSignedIn=function(t){this._userSignedIn.removeHandler(t)},e.prototype._raiseUserSignedIn=function(){n.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function(t){this._userSignedOut.addHandler(t)},e.prototype.removeUserSignedOut=function(t){this._userSignedOut.removeHandler(t)},e.prototype._raiseUserSignedOut=function(){n.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function(t){this._userSessionChanged.addHandler(t)},e.prototype.removeUserSessionChanged=function(t){this._userSessionChanged.removeHandler(t)},e.prototype._raiseUserSessionChanged=function(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(r.AccessTokenEvents)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return a._timer=n,a._nowFunc=r||function(){return Date.now()/1e3},a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function(t){t<=0&&(t=1),t=parseInt(t);var e=this.now+t;if(this.expiration===e&&this._timerHandle)r.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),r.Log.debug("Timer.init timer "+this._name+" for duration:",t),this._expiration=e;var i=5;t0&&u>s&&(u=s);for(var c=0;c=0?(l=p.substr(0,g),h=p.substr(g+1)):(l=p,h=""),d=decodeURIComponent(l),f=decodeURIComponent(h),e(o,d)?Array.isArray(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o}},15341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,r){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(r){var o=encodeURIComponent(e(r))+n;return Array.isArray(t[r])?t[r].map(function(t){return o+encodeURIComponent(e(t))}).join(i):o+encodeURIComponent(e(t[r]))}).join(i):r?encodeURIComponent(e(r))+n+encodeURIComponent(e(t)):""}},96577:function(t,e,i){"use strict";i(40963),e.stringify=i(15341)},78512:function(t,e,i){"use strict";i.d(e,{X:function(){return u}});var r=i(55959),a=i(13895),u=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this))._value=t,n}return y(i,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(t){var e=n(h(i.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.N;return this._value}},{key:"next",value:function(t){n(h(i.prototype),"next",this).call(this,this._value=t)}}]),i}(r.xQ)},99867:function(t,e,i){"use strict";i.d(e,{d:function(){return n}});var n=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this)).parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return y(i,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),i}(i(96673).L)},3103:function(t,e,i){"use strict";i.d(e,{P:function(){return a}});var n=i(70653),r=i(40878),o=i(31225),a=function(){var t=function(){function t(e,i,n){v(this,t),this.kind=e,this.value=i,this.error=n,this.hasValue="N"===e}return y(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}},{key:"accept",value:function(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},48318:function(t,e,i){"use strict";i.d(e,{y:function(){return c}});var n=i(96673),r=i(55331),o=i(57498),a=i(56197),s=i(13392),u=i(51484),c=function(){var t=function(){function t(e){v(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return y(t,[{key:"lift",value:function(e){var i=new t;return i.source=this,i.operator=e,i}},{key:"subscribe",value:function(t,e,i){var a=this.operator,s=function(t,e,i){if(t){if(t instanceof n.L)return t;if(t[r.b])return t[r.b]()}return t||e||i?new n.L(t,e,i):new n.L(o.c)}(t,e,i);if(s.add(a?a.call(s,this.source):this.source||u.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){u.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,i=e.closed,r=e.destination,o=e.isStopped;if(i||o)return!1;t=r&&r instanceof n.L?r:null}return!0}(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var i=this;return new(e=l(e))(function(e,n){var r;r=i.subscribe(function(e){try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:a.L,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return e>0?n(h(i.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?n(h(i.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?n(h(i.prototype),"requestAsyncId",this).call(this,t,e,r):t.flush(this)}}]),i}(i(8277).o),u=new(function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return i}(i(91098).v))(a),c=i(87570),l=i(96673),d=i(3103),f=function(t){o(i,t);var e=s(i);function i(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return v(this,i),(r=e.call(this,t)).scheduler=n,r.delay=o,r}return y(i,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(i.dispatch,this.delay,new p(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(d.P.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(d.P.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(d.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,i=t.destination;e.observe(i),this.unsubscribe()}}]),i}(l.L),p=function t(e,i){v(this,t),this.notification=e,this.destination=i},g=i(13895),m=i(19291),b=function(t){o(i,t);var e=s(i);function i(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return v(this,i),(t=e.call(this)).scheduler=o,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=n<1?1:n,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return y(i,[{key:"nextInfiniteTimeWindow",value:function(t){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),n(h(i.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this._events.push(new w(this._getNow(),t)),this._trimBufferThenGetEvents(),n(h(i.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,i=this._infiniteTimeWindow,n=i?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=n.length;if(this.closed)throw new g.N;if(this.isStopped||this.hasError?e=c.w.EMPTY:(this.observers.push(t),e=new m.W(this,t)),r&&t.add(t=new f(t,r)),i)for(var a=0;ae&&(o=Math.max(o,r-e)),o>0&&n.splice(0,o),n}}]),i}(r.xQ),w=function t(e,i){v(this,t),this.time=e,this.value=i}},55959:function(t,e,i){"use strict";i.d(e,{Yc:function(){return f},xQ:function(){return p}});var r=i(48318),a=i(96673),u=i(87570),c=i(13895),l=i(19291),d=i(55331),f=function(t){o(i,t);var e=s(i);function i(t){var n;return v(this,i),(n=e.call(this,t)).destination=t,n}return i}(a.L),p=function(){var t=function(t){o(i,t);var e=s(i);function i(){var t;return v(this,i),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return y(i,[{key:d.b,value:function(){return new f(this)}},{key:"lift",value:function(t){var e=new g(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new c.N;if(!this.isStopped)for(var e=this.observers,i=e.length,n=e.slice(),r=0;r1?Array.prototype.slice.call(arguments):t)},n,i)})}function u(t,e,i,n,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,i,r),o=function(){return a.removeEventListener(e,i,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,i),o=function(){return s.off(e,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var c=t;t.addListener(e,i),o=function(){return c.removeListener(e,i)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return(!(0,o.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.P),new n.y(function(i){return i.add(e.schedule(s,t,{subscriber:i,counter:0,period:t})),i})}function s(t){var e=t.subscriber,i=t.counter,n=t.period;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}},31906:function(t,e,i){"use strict";i.d(e,{T:function(){return s}});var n=i(48318),r=i(76163),o=i(97471),a=i(99342);function s(){for(var t=arguments.length,e=new Array(t),i=0;i1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof c&&(s=e.pop()),null===u&&1===e.length&&e[0]instanceof n.y?e[0]:(0,o.J)(s)((0,a.n)(e,u))}},40878:function(t,e,i){"use strict";i.d(e,{of:function(){return a}});var n=i(76163),r=i(99342),o=i(62570);function a(){for(var t=arguments.length,e=new Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,s=-1;return(0,o.k)(e)?s=Number(e)<1?1:Number(e):(0,a.K)(e)&&(i=e),(0,a.K)(i)||(i=r.P),new n.y(function(e){var n=(0,o.k)(t)?t:+t-i.now();return i.schedule(u,n,{index:0,period:s,subscriber:e})})}function u(t){var e=t.index,i=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}},30810:function(t,e,i){"use strict";i.d(e,{e:function(){return h}});var n=i(48569),r=i(59829),a=i(6268),u=function(){function t(e){v(this,t),this.durationSelector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.durationSelector))}}]),t}(),c=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).durationSelector=n,r.hasValue=!1,r}return y(i,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{e=(0,this.durationSelector)(t)}catch(n){return this.destination.error(n)}var i=(0,a.D)(this,e);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,i=this.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(t,e,i,n){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),i}(r.L),l=i(81110);function h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.P;return e=function(){return(0,l.H)(t,i)},function(t){return t.lift(new u(e))}}},47727:function(t,e,i){"use strict";i.d(e,{K:function(){return c}});var r=i(59829),a=i(99867),u=i(6268);function c(t){return function(e){var i=new l(t),n=e.lift(i);return i.caught=n}}var l=function(){function t(e){v(this,t),this.selector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.selector,this.caught))}}]),t}(),d=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).selector=n,o.caught=r,o}return y(i,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(s){return void n(h(i.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var r=new a.d(this,void 0,void 0);this.add(r);var o=(0,u.D)(this,e,void 0,void 0,r);o!==r&&this.add(o)}}}]),i}(r.L)},436:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(73982);function r(t,e){return(0,n.zg)(t,e,1)}},47701:function(t,e,i){"use strict";i.d(e,{b:function(){return a}});var n=i(96673),r=i(48569);function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(i){return i.lift(new u(t,e))}}var u=function(){function t(e,i){v(this,t),this.dueTime=e,this.scheduler=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))}}]),t}(),c=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return y(i,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),i}(n.L);function l(t){t.debouncedNext()}},7768:function(t,e,i){"use strict";i.d(e,{d:function(){return r}});var n=i(96673);function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new a(t))}}var a=function(){function t(e){v(this,t),this.defaultValue=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.defaultValue))}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).defaultValue=n,r.isEmpty=!0,r}return y(i,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),i}(n.L)},82628:function(t,e,i){"use strict";i.d(e,{g:function(){return u}});var n=i(48569),r=i(96673),a=i(3103);function u(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.P,r=(e=t)instanceof Date&&!isNaN(+e)?+t-i.now():Math.abs(t);return function(t){return t.lift(new c(r,i))}}var c=function(){function t(e,i){v(this,t),this.delay=e,this.scheduler=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}]),t}(),l=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).delay=n,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return y(i,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(i.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,i=new h(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(a.P.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,i=e.queue,n=t.scheduler,r=t.destination;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(r);if(i.length>0){var o=Math.max(0,i[0].time-n.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}}]),i}(r.L),h=function t(e,i){v(this,t),this.time=e,this.notification=i}},98720:function(t,e,i){"use strict";i.d(e,{x:function(){return r}});var n=i(96673);function r(t,e){return function(i){return i.lift(new a(t,e))}}var a=function(){function t(e,i){v(this,t),this.compare=e,this.keySelector=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return y(i,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var i=this.keySelector;e=i?i(t):t}catch(r){return this.destination.error(r)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}]),i}(n.L)},43835:function(t,e,i){"use strict";i.d(e,{h:function(){return r}});var n=i(96673);function r(t,e){return function(i){return i.lift(new a(t,e))}}var a=function(){function t(e,i){v(this,t),this.predicate=e,this.thisArg=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).predicate=n,o.thisArg=r,o.count=0,o}return y(i,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}]),i}(n.L)},11520:function(t,e,i){"use strict";i.d(e,{x:function(){return a}});var n=i(96673),r=i(87570);function a(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(e){v(this,t),this.callback=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.callback))}}]),t}(),c=function(t){o(i,t);var e=s(i);function i(t,n){var o;return v(this,i),(o=e.call(this,t)).add(new r.w(n)),o}return i}(n.L)},3530:function(t,e,i){"use strict";i.d(e,{P:function(){return c}});var n=i(39665),r=i(43835),o=i(90611),a=i(7768),s=i(90790),u=i(13392);function c(t,e){var i=arguments.length>=2;return function(c){return c.pipe(t?(0,r.h)(function(e,i){return t(e,i,c)}):u.y,(0,o.q)(1),i?(0,a.d)(e):(0,s.T)(function(){return new n.K}))}}},79996:function(t,e,i){"use strict";i.d(e,{U:function(){return r}});var n=i(96673);function r(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new a(t,e))}}var a=function(){function t(e,i){v(this,t),this.project=e,this.thisArg=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n,r){var o;return v(this,i),(o=e.call(this,t)).project=n,o.count=0,o.thisArg=r||c(o),o}return y(i,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}]),i}(n.L)},88414:function(t,e,i){"use strict";i.d(e,{h:function(){return r}});var n=i(96673);function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){v(this,t),this.value=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.value))}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).value=n,r}return y(i,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),i}(n.L)},97471:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(73982),r=i(13392);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,n.zg)(r.y,t)}},73982:function(t,e,i){"use strict";i.d(e,{zg:function(){return l}});var n=i(6268),r=i(59829),a=i(99867),u=i(79996),c=i(19764);function l(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(n){return n.pipe(l(function(i,n){return(0,c.D)(t(i,n)).pipe((0,u.U)(function(t,r){return e(i,t,n,r)}))},i))}:("number"==typeof e&&(i=e),function(e){return e.lift(new h(t,i))})}var h=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;v(this,t),this.project=e,this.concurrent=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.project,this.concurrent))}}]),t}(),d=function(t){o(i,t);var e=s(i);function i(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return v(this,i),(r=e.call(this,t)).project=n,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return y(i,[{key:"_next",value:function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),i}(r.L)},21564:function(t,e,i){"use strict";i.d(e,{x:function(){return r}});var n=i(96673);function r(){return function(t){return t.lift(new a(t))}}var a=function(){function t(e){v(this,t),this.connectable=e}return y(t,[{key:"call",value:function(t,e){var i=this.connectable;i._refCount++;var n=new u(t,i),r=e.subscribe(n);return n.closed||(n.connection=i.connect()),r}}]),t}(),u=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).connectable=n,r}return y(i,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var i=this.connection,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}else this.connection=null}}]),i}(n.L)},1055:function(t,e,i){"use strict";i.d(e,{B:function(){return s}});var n=i(42875),r=i(21564),o=i(55959);function a(){return new o.xQ}function s(){return function(t){return(0,r.x)()((e=a,function(t){var i;i="function"==typeof e?e:function(){return e};var r=Object.create(t,n.N);return r.source=t,r.subjectFactory=i,r})(t));var e}}},68303:function(t,e,i){"use strict";i.d(e,{d:function(){return r}});var n=i(66994);function r(t,e,i){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},function(t){return t.lift(function(t){var e,i,r=t.bufferSize,o=void 0===r?Number.POSITIVE_INFINITY:r,a=t.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,u=t.refCount,c=t.scheduler,l=0,h=!1,d=!1;return function(t){l++,e&&!h||(h=!1,e=new n.t(o,s,c),i=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){d=!0,i=void 0,e.complete()}}));var r=e.subscribe(this);this.add(function(){l--,r.unsubscribe(),i&&!d&&u&&0===l&&(i.unsubscribe(),i=void 0,e=void 0)})}}(r))}}},56238:function(t,e,i){"use strict";i.d(e,{O:function(){return o}});var n=i(47930),r=i(76163);function o(){for(var t=arguments.length,e=new Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:l;return function(e){return e.lift(new u(t))}}var u=function(){function t(e){v(this,t),this.errorFactory=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.errorFactory))}}]),t}(),c=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t)).errorFactory=n,r.hasValue=!1,r}return y(i,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),i}(r.L);function l(){return new n.K}},62570:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(48318),r=i(87570);function o(t,e){return new n.y(function(i){var n=new r.w,o=0;return n.add(e.schedule(function(){o!==t.length?(i.next(t[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:function(t,e,i){"use strict";i.d(e,{o:function(){return n}});var n=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t,n)).scheduler=t,r.work=n,r.pending=!1,r}return y(i,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),i)}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var i,n=!1;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),i}(function(t){o(i,t);var e=s(i);function i(t,n){return v(this,i),e.call(this)}return y(i,[{key:"schedule",value:function(t){return this}}]),i}(i(87570).w))},91098:function(t,e,i){"use strict";i.d(e,{v:function(){return a}});var r=function(){var t=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;v(this,t),this.SchedulerAction=e,this.now=i}return y(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(i,e)}}]),t}();return t.now=function(){return Date.now()},t}(),a=function(t){o(i,t);var e=s(i);function i(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return v(this,i),(n=e.call(this,t,function(){return i.delegate&&i.delegate!==c(n)?i.delegate.now():o()})).actions=[],n.active=!1,n.scheduled=void 0,n}return y(i,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,r):n(h(i.prototype),"schedule",this).call(this,t,e,r)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}}]),i}(r)},91741:function(t,e,i){"use strict";i.d(e,{r:function(){return a}});var r=function(t){o(i,t);var e=s(i);function i(t,n){var r;return v(this,i),(r=e.call(this,t,n)).scheduler=t,r.work=n,r}return y(i,[{key:"requestAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?n(h(i.prototype),"requestAsyncId",this).call(this,t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return n(h(i.prototype),"recycleAsyncId",this).call(this,t,e,r);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),i}(i(8277).o),a=new(function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,i=this.actions,n=-1,r=i.length;t=t||i.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?n(h(i.prototype),"requestAsyncId",this).call(this,t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=l(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return n(h(i.prototype),"recycleAsyncId",this).call(this,t,e,r);0===t.actions.length&&(d(e),t.scheduled=void 0)}}]),i}(i(8277).o),p=new(function(t){o(i,t);var e=s(i);function i(){return v(this,i),e.apply(this,arguments)}return y(i,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,i=this.actions,n=-1,r=i.length;t=t||i.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n=0}},82056:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,{K:function(){return n}})},4710:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(48318);function r(t){return!!t&&(t instanceof n.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},5168:function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,{t:function(){return n}})},76163:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,{K:function(){return n}})},16015:function(t,e,i){"use strict";i.d(e,{s:function(){return l}});var n=i(30625),r=i(14294),o=i(25686),a=i(56197),s=i(59653),u=i(5168),c=i(82056),l=function(t){if(t&&"function"==typeof t[a.L])return l=t,function(t){var e=l[a.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,s.z)(t))return(0,n.V)(t);if((0,u.t)(t))return i=t,function(t){return i.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.z),t};if(t&&"function"==typeof t[o.hZ])return e=t,function(t){for(var i=e[o.hZ]();;){var n=i.next();if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"==typeof i.return&&t.add(function(){i.return&&i.return()}),t};var e,i,l,h=(0,c.K)(t)?"an invalid object":"'".concat(t,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},30625:function(t,e,i){"use strict";i.d(e,{V:function(){return n}});var n=function(t){return function(e){for(var i=0,n=t.length;i4&&void 0!==arguments[4]?arguments[4]:new n.d(t,i,a);if(!s.closed)return e instanceof o.y?e.subscribe(s):(0,r.s)(e)(s)}},64762:function(t,e,i){"use strict";function n(t,e,i,n){var r,o=arguments.length,a=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,i,a):r(e,i))||a);return o>3&&a&&Object.defineProperty(e,i,a),a}function r(t,e){return function(i,n){e(i,n,t)}}function o(t,e,i,n){return new(i||(i=Promise))(function(r,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(a,s)}u((n=n.apply(t,e||[])).next())})}i.d(e,{gn:function(){return n},fM:function(){return r},mG:function(){return o}})},60306:function(t){"use strict";t.exports={i8:"2.0.0"}}},function(t){"use strict";t(t.s=15291)}])}(); \ No newline at end of file diff --git a/dist/apps/admin-gui/main-es5.e82f0220ef323c65b80b.js b/dist/apps/admin-gui/main-es5.e82f0220ef323c65b80b.js new file mode 100644 index 000000000..e4539232d --- /dev/null +++ b/dist/apps/admin-gui/main-es5.e82f0220ef323c65b80b.js @@ -0,0 +1 @@ +(function(){function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(i,e)})(e)}function _construct(e,t,i){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return i&&_setPrototypeOf(r,i.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _get(e,t,i){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,i){var n=_superPropBase(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(i):r.value}})(e,t,i||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,r,o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(c){s=!0,r=c}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var i,n=_getPrototypeOf(e);if(t){var r=_getPrototypeOf(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _createForOfIteratorHelper(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i0),c.xp6(1),c.Q6J("ngIf",!i.firstSearchDone),c.xp6(1),c.Q6J("ngIf",i.firstSearchDone&&0===i.users.length)}}var C=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.usersService=t,this.storeService=i,this.tableConfigService=n,this.loading=!1,this.firstSearchDone=!1,this.tableId=r.xx,this.attributes=[]}return _createClass(e,[{key:"ngOnInit",value:function(){this.searchControl=new s.NI("",[s.kI.required,s.kI.pattern(".*[\\S]+.*")]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.attributes=[o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}},{key:"onSearchByString",value:function(){var e=this;this.searchControl.invalid?this.searchControl.markAllAsTouched():(this.loading=!0,this.firstSearchDone=!0,this.usersService.findRichUsersWithAttributes(this.searchControl.value,this.attributes).subscribe(function(t){e.users=t,e.loading=!1},function(){e.loading=!1}))}},{key:"onKeyInput",value:function(e){"Enter"===e.key&&this.onSearchByString()}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"findUsersWithoutVO",value:function(){var e=this;this.loading=!0,this.firstSearchDone=!0,this.usersService.getRichUsersWithoutVoWithAttributes(this.attributes).subscribe(function(t){e.users=t,e.loading=!1},function(){return e.loading=!1})}}]),e}();return e.id="AdminUsersComponent",e.\u0275fac=function(t){return new(t||e)(c.Y36(n.Fv),c.Y36(a.d6),c.Y36(r.dB))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(e,t){2&e&&c.ekj("router-component",t.true)},decls:18,vars:17,consts:[[3,"keyup"],[1,"page-subtitle"],[1,"mr-2","search-field","no-border-mat-input"],["matInput","","autocomplete","false",3,"placeholder","formControl"],["mat-flat-button","","color","primary",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","users","page",4,"ngIf"],[3,"alert_type",4,"ngIf"],[3,"pageSize","displayedColumns","users","page"],[3,"alert_type"]],template:function(e,t){1&e&&(c.TgZ(0,"div",0),c.NdJ("keyup",function(e){return t.onKeyInput(e)}),c.TgZ(1,"h1",1),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"mat-form-field",2),c._UZ(5,"input",3),c.ALo(6,"translate"),c.TgZ(7,"mat-error"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"button",4),c.NdJ("click",function(){return t.onSearchByString()}),c.TgZ(11,"mat-icon"),c._uU(12,"search"),c.qZA(),c.qZA(),c.TgZ(13,"button",5),c.NdJ("click",function(){return t.findUsersWithoutVO()}),c._uU(14),c.ALo(15,"translate"),c.qZA(),c.YNc(16,y,1,0,"mat-spinner",6),c.YNc(17,k,4,3,"div",7),c.qZA()),2&e&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"ADMIN.USERS.TITLE")),c.xp6(3),c.s9C("placeholder",c.lcZ(6,11,"ADMIN.USERS.SEARCH_PLACEHOLDER")),c.Q6J("formControl",t.searchControl),c.xp6(3),c.hij(" ",c.lcZ(9,13,"ADMIN.USERS.EMPTY_SEARCH")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(3),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(15,15,"ADMIN.USERS.USERS_WITHOUT_VO")," "),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[u.KE,l.Nt,s.Fj,s.JJ,s.oH,u.TO,h.lW,d.Hw,f.O5,p.$g,g.C,v.w],pipes:[m.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),e}()},61601:function(e,t,i){"use strict";i.d(t,{y:function(){return k}});var n=i(88426),r=i(38289),o=i(29063),a=i(84140),s=i(31572),c=i(84608),u=i(15980),l=i(48160),h=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialogRef=t}return _createClass(e,[{key:"onReload",value:function(){location.reload()}},{key:"onClose",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(c.so))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div",2),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"div",3),s.TgZ(9,"button",4),s.NdJ("click",function(){return t.onClose()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return t.onReload()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),s.xp6(5),s.hij(" ",s.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),s.xp6(4),s.hij(" ",s.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),s.xp6(3),s.hij(" ",s.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[c.uh,c.xY,c.H8,u.lW],pipes:[l.X$],styles:[""]}),e}(),d=i(57629),f=i(43835),p=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.router=t,this.routeReuseStrategy=i;var n=i;t.events.subscribe(function(e){e instanceof d.OD&&n.setLastNavigationType("popstate"===e.navigationTrigger?"back":"direct")})}return _createClass(e,[{key:"init",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(d.F0),s.LFG(d.wN))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}();function g(e,t){if(1&e&&(s.TgZ(0,"div",3),s.TgZ(1,"mat-icon"),s._uU(2,"alert"),s.qZA(),s._uU(3),s.qZA()),2&e){var i=s.oxw();s.xp6(3),s.hij(" ",i.warningMessage,"\n")}}var v=function(e,t){return{top:e,background:t}},m=function(e,t){return{"margin-top":e,"min-height":t}},y=function(e){return{"border-color":e}},_=function(e){return{background:e}},b=function(e,t){return{"min-height":e,"background-color":t}};function w(e,t){if(1&e&&(s._UZ(0,"app-perun-nav-menu",4),s.TgZ(1,"mat-sidenav-container",5),s.TgZ(2,"mat-sidenav",6,7),s.TgZ(4,"perfect-scrollbar",8),s._UZ(5,"app-side-menu",9),s.qZA(),s.qZA(),s.TgZ(6,"mat-sidenav-content",10),s.TgZ(7,"div",11),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",12),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&e){var i=s.MAs(3),n=s.oxw();s.Q6J("ngStyle",s.WLB(13,v,n.getNavMenuTop(),n.navBackgroundColor))("sideNav",i)("principal",n.principal),s.xp6(1),s.Q6J("ngStyle",s.WLB(16,m,n.getSideNavMarginTop(),n.getSideNavMinHeight())),s.xp6(1),s.Q6J("ngStyle",s.VKq(19,y,n.sideBarBorderColor))("mode",n.sidebarMode)("opened",!n.isMobile())("fixedInViewport",!0)("fixedTopGap",n.getTopGap()),s.xp6(2),s.Q6J("ngStyle",s.VKq(21,_,n.sideMenubackgroundColor))("scrollIndicators",!0),s.xp6(1),s.Q6J("sideNav",i),s.xp6(1),s.Q6J("ngStyle",s.WLB(23,b,n.getContentInnerMinHeight(),n.contentBackgroundColor))}}function A(e,t){1&e&&s._UZ(0,"perun-web-apps-login-screen-base",13),2&e&&s.Q6J("application","admin-gui")}var k=function(){var e=function(){function e(t,n,r,o,a,s){_classCallCheck(this,e),this.cache=t,this.store=n,this.http=r,this.dialog=o,this.router=a,this.initAuth=s,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=i(60306).i8,this.cache.init(),this.getScreenSize()}return _createClass(e,[{key:"getScreenSize",value:function(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}},{key:"isServiceLogin",value:function(){return!!sessionStorage.getItem("baLogout")}},{key:"isMobile",value:function(){return window.innerWidth<=e.minWidth}},{key:"ngOnInit",value:function(){var e=this;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,r.F)(3e4).subscribe(function(){e.loadAppVersion()}),this.router.events.pipe((0,f.h)(function(e){return e instanceof d.OD})).subscribe(function(t){e.updateInitAccessedPage(t)})}},{key:"updateInitAccessedPage",value:function(e){e.url===sessionStorage.getItem("initPage")?("imperative"===e.navigationTrigger&&e.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===e.navigationTrigger&&(e.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(e.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}},{key:"loadAppVersion",value:function(){var e=this,t=new o.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:t}).subscribe(function(t){var i=t.version;if(i)if(e.version&&"SNAPSHOT"!==i&&e.version!==i){var n=(0,a.kZ)();e.dialog.open(h,n)}else e.version=i},function(){})}},{key:"getTopGap",value:function(){return this.displayWarning?112:64}},{key:"getSideNavMarginTop",value:function(){return this.displayWarning?"112px":"64px"}},{key:"getSideNavMinHeight",value:function(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}},{key:"getNavMenuTop",value:function(){return this.displayWarning?"48px":"0"}},{key:"getContentInnerMinHeight",value:function(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}}]),e}();return e.minWidth=992,e.\u0275fac=function(t){return new(t||e)(s.Y36(p),s.Y36(n.d6),s.Y36(o.eN),s.Y36(c.uw),s.Y36(d.F0),s.Y36(n.v0))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-root"]],hostBindings:function(e,t){1&e&&s.NdJ("resize",function(e){return t.getScreenSize(e)},!1,s.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application"]],template:function(e,t){1&e&&(s.YNc(0,g,4,1,"div",0),s._UZ(1,"perun-web-apps-notificator",1),s.YNc(2,w,11,26,"ng-template",2),s.YNc(3,A,1,1,"ng-template",2)),2&e&&(s.Q6J("ngIf",t.displayWarning),s.xp6(1),s.Q6J("displayWarning",t.displayWarning),s.xp6(1),s.Q6J("ngIf",!t.isLoginScreenShow&&!t.isServiceAccess&&!t.isServiceLogin()),s.xp6(1),s.Q6J("ngIf",t.isLoginScreenShow||t.isServiceAccess||t.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width:768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.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}"]}),e}()},48958:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});var n=i(31572),r=function(){var e=function(){function e(){_classCallCheck(this,e),this.accessItemsChange=new n.vpe,this.facilityItemsChange=new n.vpe,this.adminItemsChange=new n.vpe,this.userItemsChange=new n.vpe,this.resetChange=new n.vpe,this.homeItemsChange=new n.vpe}return _createClass(e,[{key:"setHomeItems",value:function(e){this.homeItemsChange.emit(e)}},{key:"setAccessMenuItems",value:function(e){this.accessItemsChange.emit(e)}},{key:"setFacilityMenuItems",value:function(e){this.facilityItemsChange.emit(e)}},{key:"setAdminItems",value:function(e){this.adminItemsChange.emit(e)}},{key:"setUserItems",value:function(e){this.userItemsChange.emit(e)}},{key:"reset",value:function(){this.resetChange.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},39124:function(e,t,i){"use strict";i.d(t,{o:function(){return k}});var n=i(33642),r=i(60611),o=i(88426),a=i(31572),s=i(57629),c=i(59403),u=i(66283),l=i(4786),h=i(71522),d=i(61511),f=i(19139),p=i(67806),g=i(78364),v=i(39571),m=i(48160);function y(e,t){if(1&e&&(a.TgZ(0,"mat-option",9),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.Q6J("value",i.id),a.xp6(1),a.hij(" ",i.name," ")}}function _(e,t){1&e&&a._UZ(0,"mat-spinner",10)}var b=function(){return["id","vo","name","description"]};function w(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"perun-web-apps-groups-list",11),a.NdJ("page",function(e){return a.CHM(i),a.oxw().pageChanged(e)}),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("pageSize",n.pageSize)("displayedColumns",a.DdM(6,b))("groups",n.groupsToShow)("groupsToDisable",n.groupsWithoutRouteAuth)("filter",n.filterValue)("disableMembers",!1)}}function A(e,t){1&e&&(a.TgZ(0,"app-alert",12),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"FACILITY_DETAIL.ALLOWED_GROUPS.NO_GROUPS_ALERT")," "))}var k=function(){var e=function(){function e(t,i,n,o){_classCallCheck(this,e),this.facilityManager=t,this.route=i,this.tableConfigService=n,this.authResolver=o,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=r.Aj,this.groupsWithoutRouteAuth=new Set}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilityId=t.facilityId,e.facilityManager.getAllowedVos(e.facilityId).subscribe(function(t){e.vos=t,e.refreshTable()})})}},{key:"showGroup",value:function(){var e=this;this.groupsToShow="all"!==this.selected?this.groups.filter(function(t){return t.voId===parseInt(e.selected,10)}):this.groups}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.groups=[],this.filterValue="",this.vos.forEach(function(t){e.facilityManager.getAllowedGroups(e.facilityId,t.id).subscribe(function(i){e.groups=e.groups.concat(i),e.groupsToShow=e.groups,e.setAuthRights(t,i),e.loading=!1})}),0===this.vos.length&&(this.loading=!1)}},{key:"setAuthRights",value:function(e,t){var i=this;t.forEach(function(t){i.authResolver.isAuthorized("getGroupById_int_policy",[e,t])||i.groupsWithoutRouteAuth.add(t.id)})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="FacilityAllowedGroupsComponent",e.\u0275fac=function(t){return new(t||e)(a.Y36(n.IQ),a.Y36(s.gz),a.Y36(r.dB),a.Y36(o.x4))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("router-component",t.true)},inputs:{groups:"groups"},decls:18,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page",4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","groups","groupsToDisable","filter","disableMembers","page"],["alert_type","warn"]],template:function(e,t){1&e&&(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 t.refreshTable()}),a.qZA(),a.TgZ(5,"mat-form-field"),a.TgZ(6,"mat-label"),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"mat-select",2),a.NdJ("valueChange",function(e){return t.selected=e})("selectionChange",function(){return t.showGroup()}),a.TgZ(10,"mat-option",3),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.YNc(13,y,2,2,"mat-option",4),a.qZA(),a.qZA(),a.TgZ(14,"perun-web-apps-immediate-filter",5),a.NdJ("filter",function(e){return t.applyFilter(e)}),a.qZA(),a.YNc(15,_,1,0,"mat-spinner",6),a.YNc(16,w,1,7,"perun-web-apps-groups-list",7),a.YNc(17,A,3,3,"app-alert",8),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.lcZ(3,9,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),a.xp6(5),a.Oqu(a.lcZ(8,11,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),a.xp6(2),a.Q6J("value",t.selected),a.xp6(2),a.Oqu(a.lcZ(12,13,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),a.xp6(2),a.Q6J("ngForOf",t.vos),a.xp6(1),a.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading&&0!==t.groupsToShow.length),a.xp6(1),a.Q6J("ngIf",0===t.groupsToShow.length&&!t.loading))},directives:[c.t,u.KE,u.hX,l.gD,h.ey,d.sg,f.L,d.O5,p.$g,g.W,v.w],pipes:[m.X$],styles:[""]}),e}()},64467:function(e,t,i){"use strict";i.d(t,{f:function(){return x}});var n=i(4230),r=i(95909),o=i(33642),a=i(16073),s=i(84608),c=i(88426),u=i(31572),l=i(48160),h=i(61511),d=i(15980),f=i(67806),p=i(19386),g=i(66283),v=i(80340);function m(e,t){1&e&&u._UZ(0,"mat-spinner",5)}function y(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"div",6),u.TgZ(1,"perun-web-apps-vo-search-select",7),u.NdJ("voSelected",function(e){return u.CHM(i),u.oxw().selectedVo=e}),u.qZA(),u.TgZ(2,"mat-form-field"),u._UZ(3,"input",8),u.ALo(4,"translate"),u.TgZ(5,"mat-error"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.qZA(),u.TgZ(8,"mat-form-field"),u._UZ(9,"input",8),u.ALo(10,"translate"),u.TgZ(11,"mat-error"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u.qZA(),u.qZA()}if(2&e){var n=u.oxw();u.xp6(1),u.Q6J("vos",n.vos),u.xp6(2),u.s9C("placeholder",u.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),u.Q6J("formControl",n.nameCtrl),u.xp6(3),u.hij(" ",u.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),u.xp6(3),u.s9C("placeholder",u.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),u.Q6J("formControl",n.descriptionCtrl),u.xp6(3),u.hij(" ",u.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}var _=function(){var e=function(){function e(t,i,n,r,o,a){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.resourcesManager=a,this.vos=[],this.selectedVo=null,o.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(function(e){return s.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(function(t){e.vos=t,e.loading=!1},function(){return e.loading=!1}),this.nameCtrl=new a.NI(null,[a.kI.required,a.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new a.NI(null,[a.kI.required,a.kI.pattern(".*[\\S]+.*")])}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(s.so),u.Y36(s.WI),u.Y36(c.V6),u.Y36(o.YF),u.Y36(l.sK),u.Y36(o.xk))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"long-input",3,"vos","voSelected"],["matInput","","required","",3,"placeholder","formControl"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.YNc(1,m,1,0,"mat-spinner",0),u.YNc(2,y,14,15,"div",1),u.TgZ(3,"div",2),u.TgZ(4,"button",3),u.NdJ("click",function(){return t.onCancel()}),u._uU(5),u.ALo(6,"translate"),u.qZA(),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.onSubmit()}),u._uU(8),u.ALo(9,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Tol(t.theme),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading),u.xp6(3),u.Oqu(u.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")),u.xp6(2),u.Q6J("disabled",t.nameCtrl.invalid||t.descriptionCtrl.invalid||null===t.selectedVo||t.loading),u.xp6(1),u.Oqu(u.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")))},directives:[h.O5,s.H8,d.lW,f.$g,s.xY,p.M,g.KE,v.Nt,a.Fj,a.Q7,a.JJ,a.oH,g.TO],pipes:[l.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),e}(),b=i(60611),w=i(84140),A=i(57629),k=i(59403),C=i(19139),T=i(88884);function E(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"button",7),u.NdJ("click",function(){return u.CHM(i),u.oxw().createResource()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function S(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"button",8),u.NdJ("click",function(){return u.CHM(i),u.oxw().removeResource()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){var n=u.oxw();u.Q6J("disabled",0===n.selected.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function I(e,t){1&e&&u._UZ(0,"mat-spinner",9)}function R(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"perun-web-apps-resources-list",10),u.NdJ("page",function(e){return u.CHM(i),u.oxw().pageChanged(e)}),u.qZA()}if(2&e){var n=u.oxw();u.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("selection",n.selected)("disableRouting",!n.routeAuth)("displayedColumns",n.displayedColumns)}}var x=function(){var e=function(){function e(t,i,r,o,a){_classCallCheck(this,e),this.dialog=t,this.facilitiesManager=i,this.tableConfigService=r,this.route=o,this.authResolver=a,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=b.CP,this.displayedColumns=["id","vo","facility","description"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.facilitiesManager.getFacilityById(t.facilityId).subscribe(function(t){e.facility=t,e.refreshTable()})})}},{key:"removeResource",value:function(){var e=this,t=(0,w.kZ)();t.width="450px",t.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(r.f,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(function(t){e.resources=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"setAuthRights",value:function(){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]]))}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"createResource",value:function(){var e=this,t=(0,w.kZ)();t.width="1350px",t.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(_,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="FacilityResourcesComponent",e.\u0275fac=function(t){return new(t||e)(u.Y36(s.uw),u.Y36(o.IQ),u.Y36(b.dB),u.Y36(A.gz),u.Y36(c.x4))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("router-component",t.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",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,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","selection","disableRouting","displayedColumns","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return t.refreshTable()}),u.qZA(),u.YNc(5,E,3,3,"button",2),u.YNc(6,S,3,4,"button",3),u.TgZ(7,"perun-web-apps-immediate-filter",4),u.NdJ("filter",function(e){return t.applyFilter(e)}),u.qZA(),u.YNc(8,I,1,0,"mat-spinner",5),u.YNc(9,R,1,6,"perun-web-apps-resources-list",6),u.qZA()),2&e&&(u.xp6(2),u.Oqu(u.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),u.xp6(3),u.Q6J("ngIf",!t.loading&&t.addAuth),u.xp6(1),u.Q6J("ngIf",!t.loading&&t.removeAuth),u.xp6(1),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading))},directives:[k.t,h.O5,C.L,d.lW,f.$g,T.C],pipes:[l.X$],styles:[""]}),e}()},73916:function(e,t,i){"use strict";i.d(t,{P:function(){return z}});var n=i(33642),r=i(84140),o=i(60611),a=i(4230),s=i(84608),c=i(88426),u=i(16073),l=i(31572),h=i(48160),d=i(61511),f=i(15980),p=i(67806),g=i(66283),v=i(80340),m=i(4786),y=i(71522);function _(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function b(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"mat-option",13),l.NdJ("click",function(){var e=l.CHM(i).$implicit;return l.oxw(2).srcFacility=e}),l._uU(1),l.qZA()}if(2&e){var n=t.$implicit;l.Q6J("value",n),l.xp6(1),l.hij(" ",n.name," ")}}function w(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div",7),l.TgZ(1,"mat-form-field"),l._UZ(2,"input",8),l.ALo(3,"translate"),l.TgZ(4,"mat-error"),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA(),l.TgZ(7,"mat-form-field"),l._UZ(8,"input",9),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"mat-form-field"),l.TgZ(11,"mat-select",10),l.ALo(12,"translate"),l.TgZ(13,"mat-option",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().srcFacility=null}),l._uU(14),l.ALo(15,"translate"),l.qZA(),l.YNc(16,b,2,2,"mat-option",12),l.qZA(),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(2),l.s9C("placeholder",l.lcZ(3,8,"DIALOGS.CREATE_FACILITY.NAME")),l.Q6J("formControl",n.nameControl),l.xp6(3),l.Oqu(l.lcZ(6,10,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),l.xp6(3),l.s9C("placeholder",l.lcZ(9,12,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),l.Q6J("formControl",n.descControl),l.xp6(3),l.s9C("placeholder",l.lcZ(12,14,"DIALOGS.CREATE_FACILITY.AS_COPY")),l.xp6(3),l.hij(" ",l.lcZ(15,16,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),l.xp6(2),l.Q6J("ngForOf",n.facilities)}}var A=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.facilitiesManager=n,this.notificator=r,this.translate=o,this.nameControl=new u.NI("",[u.kI.required]),this.descControl=new u.NI(""),this.srcFacility=null,this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(function(t){e.facilities=t,e.loading=!1},function(){return e.loading=!1})}},{key:"copyFacilitySettings",value:function(e){var t=this;this.facilitiesManager.copyAttributes(this.srcFacility.id,e).subscribe(function(){t.facilitiesManager.copyManagers(t.srcFacility.id,e).subscribe(function(){t.facilitiesManager.copyOwners(t.srcFacility.id,e).subscribe(function(){t.handleSuccess()},function(){return t.loading=!1})},function(){return t.loading=!1})},function(){return t.loading=!1})}},{key:"onCreate",value:function(){var e=this;this.loading=!0,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(function(t){null!==e.srcFacility?e.copyFacilitySettings(t.id):e.handleSuccess()})}},{key:"handleSuccess",value:function(){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.dialogRef.close(!0)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.IQ),l.Y36(c.V6),l.Y36(h.sK))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-create-facility-dialog"]],decls:13,vars:15,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,w,17,18,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return t.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return t.onCreate()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.CREATE_FACILITY.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(3),l.Oqu(l.lcZ(9,11,"DIALOGS.CREATE_FACILITY.CANCEL")),l.xp6(2),l.Q6J("disabled",0===t.nameControl.value.trim().length||t.loading),l.xp6(1),l.Oqu(l.lcZ(12,13,"DIALOGS.CREATE_FACILITY.CREATE")))},directives:[d.O5,s.H8,f.lW,p.$g,s.xY,g.KE,v.Nt,u.Fj,u.Q7,u.JJ,u.oH,g.TO,m.gD,y.ey,d.sg],pipes:[h.X$],styles:[""]}),e}(),k=i(30570),C=i(48958),T=i(66297),E=i(43691),S=i(59403),I=i(19139),R=i(60007);function x(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function O(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCreate()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"FACILITY_MANAGEMENT.CREATE")))}function P(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onDelete()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&e){var n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.Oqu(l.lcZ(2,2,"FACILITY_MANAGEMENT.DELETE"))}}function D(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(i),l.oxw().applyFilter(e)}),l.qZA()}2&e&&l.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER")}function M(e,t){1&e&&l._UZ(0,"mat-spinner",13)}function L(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-facilities-list",14),l.NdJ("page",function(e){return l.CHM(i),l.oxw().pageChanged(e)}),l.qZA()}if(2&e){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("selection",n.selection)("filterValue",n.filterValue)("facilities",n.facilities)("recentIds",n.recentIds)}}var N=function(){return{color:"black"}},z=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.facilityManager=t,this.sideMenuService=i,this.tableConfigService=n,this.dialog=r,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=o.xt,this.selection=new a.Ov(!1,[])}return _createClass(e,[{key:"ngOnInit",value:function(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}},{key:"ngAfterViewChecked",value:function(){this.sideMenuService.setFacilityMenuItems([])}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(function(t){e.selection.clear(),e.facilities=t,e.recentIds=(0,r.vL)("facilities"),e.loading=!1})}},{key:"onCreate",value:function(){var e=this,t=(0,r.kZ)();t.width="800px",t.data={theme:"facility-theme"},this.dialog.open(A,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.refreshTable())})}},{key:"onDelete",value:function(){var e=this,t=(0,r.kZ)();t.width="500px",t.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(k.Y,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="FacilitySelectPageComponent",e.\u0275fac=function(t){return new(t||e)(l.Y36(n.IQ),l.Y36(C.D),l.Y36(o.dB),l.Y36(s.uw))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(e,t){2&e&&l.ekj("router-component",t.true)},decls:12,vars:11,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",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","selection","filterValue","facilities","recentIds","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","selection","filterValue","facilities","recentIds","page"]],template:function(e,t){1&e&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,x,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,O,3,3,"button",4),l.YNc(8,P,3,4,"button",5),l.YNc(9,D,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,M,1,0,"mat-spinner",7),l.YNc(11,L,1,5,"perun-web-apps-facilities-list",8),l.qZA()),2&e&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,N)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"FACILITY_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[T.W,E.Hw,d.PC,d.O5,S.t,f.lW,I.L,p.$g,R.X],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),e}()},92438:function(e,t,i){"use strict";i.d(t,{J:function(){return b}});var n=i(84608),r=i(88426),o=i(33642),a=i(84140),s=i(16073),c=i(31572),u=i(48160),l=i(66283),h=i(80340),d=i(4786),f=i(61511),p=i(15980),g=i(71522),v=function(){var e=function(){function e(t){_classCallCheck(this,e),this.translateService=t,this.returnData=""}return _createClass(e,[{key:"transform",value:function(e){var t=this;switch(e){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(function(e){t.returnData=e});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_HIDDEN").subscribe(function(e){t.returnData=e});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(function(e){t.returnData=e});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(function(e){t.returnData=e});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.FROM_FEDERATION_SHOW").subscribe(function(e){t.returnData=e});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(function(e){t.returnData=e});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(function(e){t.returnData=e});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(function(e){t.returnData=e});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(function(e){t.returnData=e});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(function(e){t.returnData=e});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(function(e){t.returnData=e});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(function(e){t.returnData=e});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(function(e){t.returnData=e});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(function(e){t.returnData=e});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(function(e){t.returnData=e});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(function(e){t.returnData=e});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(function(e){t.returnData=e});break;default:return e}return this.returnData}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(u.sK,16))},e.\u0275pipe=c.Yjl({name:"applicationFormWidgetDescription",type:e,pure:!0}),e}(),m=i(65050);function y(e,t){if(1&e&&(c.TgZ(0,"mat-option",9),c._uU(1),c.ALo(2,"applicationFormItemType"),c.qZA()),2&e){var i=t.$implicit;c.Q6J("value",i),c.xp6(1),c.hij(" ",c.lcZ(2,2,i)," ")}}function _(e,t){if(1&e&&(c.TgZ(0,"mat-option",9),c._uU(1),c.qZA()),2&e){var i=t.$implicit;c.Q6J("value",i),c.xp6(1),c.hij(" ",i," ")}}var b=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.translateService=n,this.store=r,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","FROM_FEDERATION_HIDDEN","HTML_COMMENT","TEXTFIELD","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(function(t){e.nameCtrl=new s.NI("",[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)]),e.nameCtrl.markAllAsTouched(),e.items.push(t);var i,n=_createForOfIteratorHelper(e.data.applicationFormItems);try{for(n.s();!(i=n.n()).done;){var r=i.value;e.items.push(r.shortname),r.type===o.Dy.EMBEDDEDGROUPAPPLICATION&&(e.widgets=e.widgets.filter(function(e){return e!==o.Dy.EMBEDDEDGROUPAPPLICATION}))}}catch(a){n.e(a)}finally{n.f()}e.selectedItem=t})}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"submit",value:function(){var e=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,e])}},{key:"createApplicationItem",value:function(){var e=(0,a.dv)(this.languages);e.id=this.data.fakeId,e.shortname=this.nameCtrl.value,e.type=this.selectedWidget;for(var t=0;t0&&(i+=", "),i+=r.friendlyName.substring(16)+": "+r.value)}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"getLoginsForCandidate",value:function(e){var t="";for(var i in e.attributes)Object.prototype.hasOwnProperty.call(e.attributes,i)&&-1!==i.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=e.attributes[i]&&(t.length>0&&(t+=", "),t+=i.substring(49)+": "+e.attributes[i]);return t}},{key:"getAlreadyMember",value:function(e){if("vo"===this.type){if(null!=e.member)return"Member of VO"}else{if(null!=e.member&&0!==e.member.sourceGroupId&&"DIRECT"===e.member.membershipType)return"Member of Group";if(null!=e.member&&0!==e.member.sourceGroupId&&"INDIRECT"===e.member.membershipType)return"Indirect member of Group";if(null!=e.member)return"Member of VO"}return""}},{key:"isCheckboxDisabled",value:function(e){return"vo"===this.type?null!=e.member:!!e.member&&0!==e.member.sourceGroupId&&"DIRECT"===e.member.membershipType}},{key:"setAddAuth",value:function(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}},{key:"itemSelectionToggle",value:function(e){this.selection.toggle(e),this.setAddAuth()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(r.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-members-candidates-list"]],viewQuery:function(e,t){var i;(1&e&&(l.Gf(h.YE,5),l.Gf(c.l9,7)),2&e)&&(l.iGM(i=l.CRH())&&(t.matSort=i.first),l.iGM(i=l.CRH())&&(t.child=i.first))},inputs:{members:"members",selection:"selection",type:"type",pageSize:"pageSize",group:"group"},outputs:{page:"page"},features:[l.TTD],decls:29,vars:6,consts:[[1,"card","mt-2"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(l.TgZ(0,"div",0),l.TgZ(1,"perun-web-apps-table-wrapper",1),l.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),l.TgZ(2,"table",2),l.ynx(3,3),l.YNc(4,A,1,0,"th",4),l.YNc(5,k,2,2,"td",5),l.BQk(),l.ynx(6,6),l.YNc(7,C,3,3,"th",7),l.YNc(8,E,2,1,"td",8),l.BQk(),l.ynx(9,9),l.YNc(10,S,3,3,"th",7),l.YNc(11,I,4,5,"td",8),l.BQk(),l.ynx(12,10),l.YNc(13,R,3,3,"th",7),l.YNc(14,x,3,3,"td",8),l.BQk(),l.ynx(15,11),l.YNc(16,O,3,3,"th",7),l.YNc(17,P,2,1,"td",8),l.BQk(),l.ynx(18,12),l.YNc(19,D,3,3,"th",7),l.YNc(20,M,2,1,"td",8),l.BQk(),l.ynx(21,13),l.YNc(22,L,3,3,"th",7),l.YNc(23,N,2,1,"td",8),l.BQk(),l.ynx(24,14),l.YNc(25,z,1,0,"th",7),l.YNc(26,Z,2,1,"td",8),l.BQk(),l.YNc(27,B,1,0,"tr",15),l.YNc(28,F,1,0,"tr",16),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.xp6(1),l.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),l.xp6(1),l.Q6J("dataSource",t.dataSource),l.xp6(25),l.Q6J("matHeaderRowDef",t.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",t.displayedColumns))},directives:[f.l,d.BZ,h.YE,d.w1,d.fO,d.Dz,d.as,d.nj,d.ge,d.ev,p.oG,h.nU,g.O5,v.gM,d.XQ,d.Gk],pipes:[m.X$,y.u,_.f,b.d,w.Z],styles:[""]}),e}(),H=i(16073),U=i(57629),G=i(66283),j=i(80340),Y=i(15980),K=i(67806),V=i(39571),J=i(8055),Q=["list"];function W(e,t){1&e&&l._UZ(0,"mat-spinner",10)}function X(e,t){1&e&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND")," "))}function $(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"app-members-candidates-list",15,16),l.NdJ("page",function(e){return l.CHM(i),l.oxw(3).pageChanged(e)}),l.qZA()}if(2&e){var n=l.oxw(3);l.Q6J("group",n.data.group)("pageSize",n.pageSize)("selection",n.selection)("members",n.members)("type",n.data.type)}}function ee(e,t){if(1&e&&(l.TgZ(0,"div",11),l.YNc(1,X,3,3,"app-alert",12),l.YNc(2,$,2,5,"app-members-candidates-list",13),l.qZA()),2&e){var i=l.oxw(2);l.xp6(1),l.Q6J("ngIf",0===i.members.length&&i.firstSearchDone),l.xp6(1),l.Q6J("ngIf",0!==i.members.length)}}function te(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div",4),l.TgZ(1,"mat-form-field",5),l.TgZ(2,"label"),l.TgZ(3,"input",6),l.NdJ("keyup.enter",function(){return l.CHM(i),l.oxw().onSearchByString()}),l.ALo(4,"translate"),l.qZA(),l.qZA(),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"button",7),l.NdJ("click",function(){return l.CHM(i),l.oxw().onSearchByString()}),l._uU(9),l.ALo(10,"translate"),l.qZA(),l.TgZ(11,"div",8),l.YNc(12,W,1,0,"mat-spinner",2),l.qZA(),l.YNc(13,ee,3,2,"div",9),l.qZA()}if(2&e){var n=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),l.Q6J("formControl",n.searchCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),l.xp6(2),l.Q6J("disabled",n.loading),l.xp6(1),l.hij(" ",l.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),l.xp6(3),l.Q6J("ngIf",n.loading),l.xp6(1),l.Q6J("ngIf",!!n.members&&!n.loading)}}function ie(e,t){1&e&&l._UZ(0,"mat-spinner",10)}function ne(e,t){if(1&e&&(l.TgZ(0,"button",24),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e){l.oxw();var i=l.MAs(8),n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length||n.loading)("matMenuTriggerFor",i),l.xp6(1),l.hij(" ",l.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function re(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){var e=l.CHM(i).$implicit;return l.oxw(2).onInvite(e)}),l._uU(1),l.ALo(2,"translate"),l.ALo(3,"uppercase"),l.qZA()}if(2&e){var n=t.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,l.lcZ(3,3,"SHARED_LIB.LANGUAGES."+n))," ")}}function oe(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div",17),l.TgZ(1,"button",18),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"span",19),l.ALo(5,"translate"),l.YNc(6,ne,3,5,"button",20),l.TgZ(7,"mat-menu",null,21),l.YNc(9,re,4,5,"button",22),l.qZA(),l.qZA(),l.TgZ(10,"button",23),l.NdJ("click",function(){return l.CHM(i),l.oxw().onAdd()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),l.Q6J("matTooltipDisabled",0===n.selection.selected.length||"group"!==n.data.type||void 0!==n.list&&n.list.addAuth),l.xp6(2),l.Q6J("ngIf","group"!==n.data.type||"group"===n.data.type&&n.inviteAuth),l.xp6(3),l.Q6J("ngForOf",n.languages),l.xp6(1),l.Q6J("disabled",0===n.selection.selected.length||n.loading||"group"===n.data.type&&void 0!==n.list&&!n.list.addAuth),l.xp6(1),l.hij(" ",l.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}var ae=function(){var e=function(){function e(t,i,n,r,a,s,c,l,h,d,f,p,g){var v=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.membersManagerService=n,this.groupService=r,this.voService=a,this.registrarManager=s,this.translate=c,this.notificator=l,this.route=h,this.tableConfigService=d,this.router=f,this.guiAuthResolver=p,this.store=g,this.languages=["en"],this.selection=new o.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=u.tY,this.inviteAuth=!1,c.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(function(e){return v.title=e})}return _createClass(e,[{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onAdd",value:function(){this.processing=!0;var e=this.selection.selected[0];"vo"===this.data.type?e.richUser?this.addUserToVo(e):this.addCandidateToVo(e):"group"===this.data.type&&(e.member?this.addMemberToGroup(e):e.richUser?this.addUserToGroup(e):e.candidate&&this.addCandidateToGroup(e))}},{key:"onInvite",value:function(e){var t=this;this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(function(){t.onInviteSuccess()},function(){return t.onError()}):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(function(){t.onInviteSuccess()},function(){return t.onError()}):"vo"===this.data.type?this.registrarManager.sendInvitation((0,c.Jc)(this.selection.selected[0].candidate),e,this.data.voId).subscribe(function(){t.onInviteSuccess()},function(){return t.onError()}):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,c.Jc)(this.selection.selected[0].candidate),e,this.data.voId,this.data.group.id).subscribe(function(){t.onInviteSuccess()},function(){return t.onError()})}},{key:"onSearchByString",value:function(){var e=this;this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(function(t){e.members=t,e.loading=!1,e.firstSearchDone=!0},function(){return e.loading=!1}):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[s.r.USER_DEF_ORGANIZATION,s.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(function(t){e.members=t,e.loading=!1,e.firstSearchDone=!0},function(){return e.loading=!1}))}},{key:"ngOnInit",value:function(){this.languages=this.store.get("supported_languages"),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.theme=this.data.theme,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new H.NI("",[H.kI.required,H.kI.pattern(".*[\\S]+.*")])}},{key:"addUserToVo",value:function(e){var t=this;this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:e.richUser.id}).subscribe(function(e){t.onAddSuccess(),t.membersManagerService.validateMemberAsync(e.id).subscribe(function(){t.onValidateSuccess()},function(){return t.onCancel()})},function(){return t.onError()})}},{key:"addCandidateToVo",value:function(e){var t=this;this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(e.candidate)}).subscribe(function(e){t.onAddSuccess(),t.membersManagerService.validateMemberAsync(e.id).subscribe(function(){t.onValidateSuccess()},function(){return t.onCancel()})},function(){return t.onError()})}},{key:"addUserToGroup",value:function(e){var t=this;this.membersManagerService.createMemberForUser({vo:this.data.voId,user:e.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(function(e){t.onAddSuccess(),t.membersManagerService.validateMemberAsync(e.id).subscribe(function(){t.onValidateSuccess()},function(){return t.onCancel()})},function(){return t.onError()})}},{key:"addMemberToGroup",value:function(e){var t=this;this.groupService.addMembers(this.data.entityId,[e.member.id]).subscribe(function(){t.onAddSuccess()},function(){return t.onError()})}},{key:"addCandidateToGroup",value:function(e){var t=this,i={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(e.candidate),groups:[i]}).subscribe(function(e){t.onAddSuccess(),t.membersManagerService.validateMemberAsync(e.id).subscribe(function(){t.onValidateSuccess()},function(){return t.onCancel()})},function(){return t.onError()})}},{key:"onAddSuccess",value:function(){var e=this;this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})}},{key:"onError",value:function(){this.selection.clear(),this.processing=!1}},{key:"onInviteSuccess",value:function(){var e=this;this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})}},{key:"onValidateSuccess",value:function(){this.dialogRef.close(!0)}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"createCandidate",value:function(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}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(n.so),l.Y36(n.WI),l.Y36(a.uq),l.Y36(a.ff),l.Y36(a.YF),l.Y36(a.tk),l.Y36(m.sK),l.Y36(r.V6),l.Y36(U.gz),l.Y36(u.dB),l.Y36(U.F0),l.Y36(r.x4),l.Y36(r.d6))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-add-member-dialog"]],viewQuery:function(e,t){var i;(1&e&&l.Gf(Q,5),2&e)&&(l.iGM(i=l.CRH())&&(t.list=i.first))},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],["alert_type","warn",4,"ngIf"],[3,"group","pageSize","selection","members","type","page",4,"ngIf"],["alert_type","warn"],[3,"group","pageSize","selection","members","type","page"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,te,14,13,"div",1),l.YNc(5,ie,1,0,"mat-spinner",2),l.YNc(6,oe,13,13,"div",3),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),l.xp6(2),l.Q6J("ngIf",!t.processing),l.xp6(1),l.Q6J("ngIf",t.processing),l.xp6(1),l.Q6J("ngIf",!t.processing))},directives:[n.uh,g.O5,n.xY,G.KE,j.Nt,H.Fj,H.JJ,H.oH,G.TO,Y.lW,K.$g,V.w,q,n.H8,v.gM,J.VK,g.sg,J.p6,J.OP],pipes:[m.X$,g.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),e}()},68570:function(e,t,i){"use strict";i.d(t,{W:function(){return p}});var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),c=i(61511),u=i(19386),l=i(37665),h=i(15980),d=i(67806);function f(e,t){1&e&&a._UZ(0,"mat-spinner",9)}var p=function(){var e=function(){function e(t,i,n,r,o,a,s,c){var u=this;_classCallCheck(this,e),this.dialogRef=t,this.voService=i,this.groupService=n,this.translateService=r,this.registrarManager=o,this.notificatorService=a,this.apiRequest=s,this.data=c,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=function(e){return e.name},r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(function(e){return u.successMessage=e}),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(function(e){return u.privilegeMessage=e}),r.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(function(e){return u.noFormMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(function(){e.voService.getMyVos().subscribe(function(t){e.vos=t.sort(function(e,t){return e.name>t.name?1:e.name-1),c.xp6(1),c.Q6J("label",c.lcZ(8,21,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",c.lcZ(9,23,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",n.applicationFormItem.perunSourceAttribute),c.xp6(1),c.Q6J("ngForOf",n.sourceAttributes),c.xp6(1),c.Q6J("label",c.lcZ(14,25,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",c.lcZ(15,27,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",n.applicationFormItem.perunDestinationAttribute),c.xp6(1),c.Q6J("ngForOf",n.destinationAttributes),c.xp6(1),c.Q6J("label",c.lcZ(20,29,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",c.lcZ(21,31,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),c.xp6(4),c.Q6J("value",n.federationAttribute),c.xp6(1),c.Q6J("ngForOf",n.federationAttributes),c.xp6(1),c.Q6J("ngIf","custom"===n.federationAttribute)}}function N(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(i),c.oxw(2).applicationFormItem.regex=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",n.applicationFormItem.regex)}}function z(e,t){if(1&e&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemDisabled"),c.qZA()),2&e){var i=t.$implicit;c.Q6J("value",i),c.xp6(1),c.hij(" ",c.lcZ(2,2,i)," ")}}function Z(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(i),c.oxw(3).disabledDependencyItem=e}),c.qZA()}if(2&e){var n=c.oxw(3);c.Q6J("item",n.disabledDependencyItem)("items",n.possibleDependencyItems)}}function B(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(i),c.oxw(2).applicationFormItem.disabled=e}),c.YNc(6,z,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(7,"app-edit-application-form-item-line",11),c.ALo(8,"translate"),c.ALo(9,"translate"),c.TgZ(10,"div",12),c.YNc(11,Z,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",c.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),c.xp6(4),c.Q6J("value",n.applicationFormItem.disabled),c.xp6(1),c.Q6J("ngForOf",n.disabledValues),c.xp6(1),c.Q6J("label",c.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",c.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==n.disabledDependencyItem)}}function F(e,t){if(1&e&&(c.TgZ(0,"mat-option",24),c._uU(1),c.ALo(2,"applicationFormItemHidden"),c.qZA()),2&e){var i=t.$implicit;c.Q6J("value",i),c.xp6(1),c.hij(" ",c.lcZ(2,2,i)," ")}}function q(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"perun-web-apps-app-form-item-search-select",25),c.NdJ("itemSelected",function(e){return c.CHM(i),c.oxw(2).hiddenDependencyItem=e}),c.qZA()}if(2&e){var n=c.oxw(2);c.Q6J("item",n.hiddenDependencyItem)("items",n.possibleDependencyItems)}}function H(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",26),c.NdJ("ngModelChange",function(e){c.CHM(i);var t=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[t].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.oxw().$implicit,r=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),c.xp6(4),c.Q6J("cdkTextareaAutosize",!0)("ngModel",r.applicationFormItem.i18n[n].label)}}function U(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(i);var t=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[t].label=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(6,"app-edit-application-form-item-line",11),c.ALo(7,"translate"),c.ALo(8,"translate"),c.TgZ(9,"mat-form-field",12),c.TgZ(10,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(i);var t=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[t].help=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(11,"app-edit-application-form-item-line",11),c.ALo(12,"translate"),c.ALo(13,"translate"),c.TgZ(14,"mat-form-field",12),c.TgZ(15,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(i);var t=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[t].errorMessage=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.oxw().$implicit,r=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",r.applicationFormItem.i18n[n].label),c.xp6(1),c.Q6J("label",c.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",c.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",r.applicationFormItem.i18n[n].help),c.xp6(1),c.Q6J("label",c.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",c.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",r.applicationFormItem.i18n[n].errorMessage)}}function G(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"app-edit-application-form-item-line",11),c.ALo(2,"translate"),c.ALo(3,"translate"),c.TgZ(4,"mat-form-field",12),c.TgZ(5,"textarea",13),c.NdJ("ngModelChange",function(e){c.CHM(i);var t=c.oxw().$implicit;return c.oxw(2).applicationFormItem.i18n[t].label=e}),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.oxw().$implicit,r=c.oxw(2);c.xp6(1),c.Q6J("label",c.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",c.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",r.applicationFormItem.i18n[n].label)}}function j(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.TgZ(3,"mat-form-field"),c.TgZ(4,"input",13),c.NdJ("ngModelChange",function(e){return t.$implicit[0]=e}),c.qZA(),c.qZA(),c._uU(5),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field"),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(e){return t.$implicit[1]=e}),c.qZA(),c.qZA(),c.TgZ(9,"button",35),c.NdJ("click",function(){var e=c.CHM(i).$implicit,t=c.oxw(2).$implicit;return c.oxw(2).removeOption(e,t)}),c.ALo(10,"translate"),c.TgZ(11,"mat-icon"),c._uU(12,"clear"),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=t.$implicit;c.xp6(1),c.hij(" ",c.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),c.xp6(3),c.Q6J("ngModel",n[0]),c.xp6(1),c.hij(" ",c.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),c.xp6(3),c.Q6J("ngModel",n[1]),c.xp6(1),c.s9C("matTooltip",c.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Y(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",27),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",28),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"div",29),c.TgZ(8,"button",30),c.NdJ("click",function(){c.CHM(i);var e=c.oxw().$implicit;return c.oxw(2).sortOptionsAZ(e)}),c.TgZ(9,"i",31),c._uU(10,"arrow_downward"),c.qZA(),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.TgZ(13,"button",32),c.NdJ("click",function(){c.CHM(i);var e=c.oxw().$implicit;return c.oxw(2).sortOptionsZA(e)}),c.TgZ(14,"i",31),c._uU(15,"arrow_upward"),c.qZA(),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.qZA(),c.YNc(18,j,13,11,"div",33),c.TgZ(19,"button",34),c.NdJ("click",function(){c.CHM(i);var e=c.oxw().$implicit;return c.oxw(2).addOption(e)}),c._uU(20),c.ALo(21,"translate"),c.qZA(),c.qZA()}if(2&e){var n=c.oxw().$implicit,r=c.oxw(2);c.xp6(2),c.hij("",c.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),":"),c.xp6(3),c.hij(" ",c.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),c.xp6(6),c.hij(" ",c.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),c.xp6(5),c.hij(" ",c.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),c.xp6(2),c.Q6J("ngForOf",r.options[n]),c.xp6(2),c.hij(" ",c.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}var K=function(){return["HEADING","HTML_COMMENT"]},V=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},J=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},Q=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function W(e,t){if(1&e&&(c.TgZ(0,"mat-tab",10),c.ALo(1,"translate"),c.ALo(2,"uppercase"),c.YNc(3,H,6,8,"div",16),c.YNc(4,U,16,21,"div",16),c.YNc(5,G,6,7,"div",16),c.YNc(6,Y,22,16,"div",16),c.qZA()),2&e){var i=t.$implicit,n=c.oxw(2);c.s9C("label",c.lcZ(1,5,c.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+i))),c.xp6(3),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(9,K))),c.xp6(1),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(10,V))),c.xp6(1),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(11,J))),c.xp6(1),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(12,Q)))}}var X=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},$=function(){return["TEXTFIELD","FROM_FEDERATION_HIDDEN","FROM_FEDERATION_SHOW","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function ee(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div",8),c.TgZ(1,"mat-tab-group",9),c.TgZ(2,"mat-tab",10),c.ALo(3,"translate"),c.TgZ(4,"app-edit-application-form-item-line",11),c.ALo(5,"translate"),c.ALo(6,"translate"),c.TgZ(7,"mat-form-field",12),c.TgZ(8,"input",13),c.NdJ("ngModelChange",function(e){return c.CHM(i),c.oxw().applicationFormItem.shortname=e}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(9,"app-edit-application-form-item-line",11),c.ALo(10,"translate"),c.ALo(11,"translate"),c._uU(12),c.ALo(13,"applicationFormItemType"),c.qZA(),c.TgZ(14,"app-edit-application-form-item-line",11),c.ALo(15,"translate"),c.ALo(16,"translate"),c.TgZ(17,"section"),c.TgZ(18,"mat-checkbox",14),c.NdJ("change",function(){return c.CHM(i),c.oxw().onChangingType("INITIAL")}),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-checkbox",15),c.NdJ("change",function(){return c.CHM(i),c.oxw().onChangingType("EXTENSION")}),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(24,L,26,33,"div",16),c.YNc(25,N,6,7,"div",16),c.YNc(26,B,12,15,"div",16),c.TgZ(27,"app-edit-application-form-item-line",11),c.ALo(28,"translate"),c.ALo(29,"translate"),c.TgZ(30,"mat-form-field",12),c.TgZ(31,"mat-select",17),c.NdJ("valueChange",function(e){return c.CHM(i),c.oxw().applicationFormItem.hidden=e}),c.YNc(32,F,3,4,"mat-option",18),c.qZA(),c.qZA(),c.qZA(),c.TgZ(33,"app-edit-application-form-item-line",11),c.ALo(34,"translate"),c.ALo(35,"translate"),c.TgZ(36,"div",12),c.YNc(37,q,1,2,"perun-web-apps-app-form-item-search-select",19),c.qZA(),c.qZA(),c.qZA(),c.YNc(38,W,7,13,"mat-tab",20),c.qZA(),c.qZA()}if(2&e){var n=c.oxw();c.xp6(2),c.s9C("label",c.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),c.xp6(2),c.Q6J("label",c.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",c.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",n.applicationFormItem.shortname),c.xp6(1),c.Q6J("label",c.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",c.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),c.xp6(3),c.hij(" ",c.lcZ(13,34,n.applicationFormItem.type)," "),c.xp6(2),c.Q6J("label",c.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",c.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),c.xp6(4),c.Q6J("ngModel",n.applicationFormItem.applicationTypes.includes("INITIAL")),c.xp6(1),c.hij(" ",c.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),c.xp6(2),c.Q6J("ngModel",n.applicationFormItem.applicationTypes.includes("EXTENSION")),c.xp6(1),c.hij(" ",c.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),c.xp6(2),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(52,X))),c.xp6(1),c.Q6J("ngIf",n.isApplicationFormItemOfType(c.DdM(53,$))),c.xp6(1),c.Q6J("ngIf",n.typesWithDisabled.indexOf(n.applicationFormItem.type)>-1),c.xp6(1),c.Q6J("label",c.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",c.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),c.xp6(4),c.Q6J("value",n.applicationFormItem.hidden),c.xp6(1),c.Q6J("ngForOf",n.hiddenValues),c.xp6(1),c.Q6J("label",c.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",c.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),c.xp6(4),c.Q6J("ngIf",null!==n.hiddenDependencyItem),c.xp6(1),c.Q6J("ngForOf",n.languages)}}var te=function e(t,i){_classCallCheck(this,e),this.value=i,this.displayName=t},ie=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.attributesManager=n,this.translateService=r,this.store=o,this.federationAttributes=[],this.federationAttribute="",this.sourceAttributes=[],this.destinationAttributes=[],this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(function(t){return t.id===e.data.applicationFormItem.hiddenDependencyItemId}),this.hiddenDependencyItem||(this.hiddenDependencyItem=a.Sx),this.disabledDependencyItem=this.data.allItems.find(function(t){return t.id===e.data.applicationFormItem.disabledDependencyItemId}),this.disabledDependencyItem||(this.disabledDependencyItem=a.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,o.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(function(t){e.attributeDefinitions=t,e.getDestinationAndSourceAttributes(),e.loading=!1},function(){return e.loading=!1}),this.getFederationAttributes(),this.getFederationAttribute(),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}},{key:"getPossibleDepItems",value:function(){var e=this;return[a.Sx].concat(this.data.allItems.filter(function(t){return e.dependencyTypes.indexOf(t.type)>-1}).filter(function(t){return t.id!==e.data.applicationFormItem.id}))}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===a.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===a.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}},{key:"onChangingType",value:function(e){if(this.applicationFormItem.applicationTypes.includes(e)){var t=this.applicationFormItem.applicationTypes.indexOf(e);this.applicationFormItem.applicationTypes.splice(t,1)}else this.applicationFormItem.applicationTypes.push(e)}},{key:"getDestinationAndSourceAttributes",value:function(){var e=this;this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(function(t){e.sourceAttributes.push(new te(t,"")),e.destinationAttributes.push(new te(t,""))});var t,i=_createForOfIteratorHelper(this.attributeDefinitions);try{for(i.s();!(t=i.n()).done;){var n=t.value;"user"===n.entity.toLowerCase()||"member"===n.entity.toLowerCase()?(this.sourceAttributes.push(new te(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName)),this.destinationAttributes.push(new te(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName))):("vo"===n.entity.toLowerCase()||"group"===n.entity.toLowerCase()&&this.data.group)&&this.sourceAttributes.push(new te(n.friendlyName+" ("+n.entity+" / "+this.getDefinition(n)+")",n.namespace+":"+n.friendlyName))}}catch(r){i.e(r)}finally{i.f()}}},{key:"getFederationAttributes",value:function(){var e=this;this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(function(t){e.federationAttributes.push(new te(t,"")),e.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(function(t){e.federationAttributes.push(new te(t,"custom")),e.federationAttributes.push(new te("Display name","displayName")),e.federationAttributes.push(new te("Common name","cn")),e.federationAttributes.push(new te("Mail","mail")),e.federationAttributes.push(new te("Organization","o")),e.federationAttributes.push(new te("Level of Assurance (LoA)","loa")),e.federationAttributes.push(new te("First name","givenName")),e.federationAttributes.push(new te("Surname","sn")),e.federationAttributes.push(new te("EPPN","eppn")),e.federationAttributes.push(new te("IdP Category","md_entityCategory")),e.federationAttributes.push(new te("IdP Affiliation","affiliation")),e.federationAttributes.push(new te("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),e.federationAttributes.push(new te("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),e.federationAttributes.push(new te("schacHomeOrganization","schacHomeOrganization")),e.federationAttributes.push(new te("Login","uid")),e.federationAttributes.push(new te("Alternative login name","alternativeLoginName"))})})}},{key:"getFederationAttribute",value:function(){if(this.applicationFormItem.federationAttribute){var e,t=_createForOfIteratorHelper(this.federationAttributes);try{for(t.s();!(e=t.n()).done;){var i=e.value;if(i.value===this.applicationFormItem.federationAttribute)return void(this.federationAttribute=i.value)}}catch(n){t.e(n)}finally{t.f()}this.federationAttribute="custom"}}},{key:"federationAttributeschanged",value:function(){this.applicationFormItem.federationAttribute="custom"!==this.federationAttribute?this.federationAttribute:""}},{key:"getDefinition",value:function(e){var t=e.namespace.split(":");return null===t[4]?"null":t[4]}},{key:"addOption",value:function(e){this.options[e].push(["",""])}},{key:"removeOption",value:function(e,t){this.options[t]=this.options[t].filter(function(t){return!(t[0]===e[0]&&t[1]===e[1])})}},{key:"updateOption",value:function(e){var t="";if(this.options&&this.options[e]){var i,n=_createForOfIteratorHelper(this.options[e]);try{for(n.s();!(i=n.n()).done;){var r=i.value;""!==r[0]&&""!==r[1]&&(t=""===t?r[0]+"#"+r[1]:t+"|"+r[0]+"#"+r[1])}}catch(o){n.e(o)}finally{n.f()}}this.applicationFormItem.i18n[e].options=t}},{key:"updateOptions",value:function(){var e,t=_createForOfIteratorHelper(this.languages);try{for(t.s();!(e=t.n()).done;){var i=e.value;this.updateOption(i)}}catch(n){t.e(n)}finally{t.f()}}},{key:"copy",value:function(e,t){t.applicationTypes=e.applicationTypes,t.federationAttribute=e.federationAttribute,t.forDelete=e.forDelete;var i,n=_createForOfIteratorHelper(this.languages);try{for(n.s();!(i=n.n()).done;){var r=i.value;t.i18n[r].errorMessage=e.i18n[r].errorMessage,t.i18n[r].help=e.i18n[r].help,t.i18n[r].label=e.i18n[r].label,t.i18n[r].options=e.i18n[r].options}}catch(o){n.e(o)}finally{n.f()}t.id=e.id,t.ordnum=e.ordnum,t.perunDestinationAttribute=e.perunDestinationAttribute,t.perunSourceAttribute=e.perunSourceAttribute,t.regex=e.regex,t.required=e.required,t.shortname=e.shortname,t.type=e.type,t.updatable=e.updatable,t.disabled=e.disabled,t.hidden=e.hidden,t.disabledDependencyItemId=e.disabledDependencyItemId,t.hiddenDependencyItemId=e.hiddenDependencyItemId}},{key:"sortOptionsAZ",value:function(e){this.options[e]=this.options[e].sort(function(e,t){return e[1]>t[1]?1:e[1]t[1]?-1:e[1]-1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(n.so),c.Y36(n.WI),c.Y36(r.H8),c.Y36(u.sK),c.Y36(s.d6))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-edit-application-form-item-dialog"]],decls:14,vars:16,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"div",0),c.TgZ(2,"h1",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.YNc(5,R,1,0,"mat-spinner",2),c.YNc(6,ee,39,54,"div",3),c.TgZ(7,"div",4),c.TgZ(8,"button",5),c.NdJ("click",function(){return t.cancel()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"button",6),c.NdJ("click",function(){return t.submit()}),c._uU(12),c.ALo(13,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Gre("",t.theme," h-100"),c.xp6(3),c.AsE("",c.lcZ(4,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",t.applicationFormItem.shortname,""),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(3),c.hij(" ",c.lcZ(10,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),c.xp6(2),c.Q6J("disabled",t.loading),c.xp6(1),c.hij(" ",c.lcZ(13,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[n.uh,l.O5,n.H8,h.lW,d.$g,n.xY,f.SP,f.uX,g,v.KE,m.Nt,y.Fj,y.JJ,y.On,_.oG,b.gD,l.sg,w.ey,A.Y,k.IC,C.gM,T.Hw],pipes:[u.X$,E.c,S,I,l.gd],styles:[""]}),e}()},79592:function(e,t,i){"use strict";i.d(t,{H:function(){return P}});var n=i(33642),r=i(84608),o=i(88426),a=i(67033),s=i(84140),c=i(61189),u=i(61511),l=i(31572),h=i(48160),d=i(15980),f=i(67806),p=i(43691),g=i(36922),v=i(22196);function m(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function y(e,t){1&e&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")))}function _(e,t){if(1&e&&(l.TgZ(0,"td",18),l._uU(1),l.qZA()),2&e){var i=t.$implicit;l.xp6(1),l.hij(" ",i.user.id," ")}}function b(e,t){1&e&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")))}function w(e,t){if(1&e&&(l.TgZ(0,"td",18),l._uU(1),l.ALo(2,"userFullName"),l.qZA()),2&e){var i=t.$implicit;l.xp6(1),l.hij(" ",l.lcZ(2,1,i.user)," ")}}function A(e,t){1&e&&(l.TgZ(0,"th",17),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")))}function k(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",20),l.NdJ("click",function(){l.CHM(i);var e=l.oxw().$implicit;return l.oxw(2).changeExpiration(e)}),l.TgZ(1,"mat-icon"),l._uU(2," today "),l.qZA(),l.qZA()}}function C(e,t){if(1&e&&(l.TgZ(0,"td",18),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.YNc(3,k,3,0,"button",19),l.qZA()),2&e){var i=t.$implicit,n=l.oxw(2);l.xp6(2),l.Oqu(n.parseDate(i.validityTo)),l.xp6(1),l.Q6J("ngIf",n.isExpirationAuthorized(i))}}function T(e,t){1&e&&l._UZ(0,"th",17)}function E(e,t){1&e&&(l.TgZ(0,"mat-icon",25),l._uU(1,"clear"),l.qZA())}function S(e,t){1&e&&(l.TgZ(0,"mat-icon"),l._uU(1,"settings_backup_restore"),l.qZA())}function I(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"td",18),l.TgZ(1,"div",21),l.ALo(2,"translate"),l.TgZ(3,"button",22),l.NdJ("click",function(){var e=l.CHM(i).$implicit;return l.oxw(2).markSponsor(e)}),l.YNc(4,E,2,0,"mat-icon",23),l.YNc(5,S,2,0,"mat-icon",24),l.qZA(),l.qZA(),l.qZA()}if(2&e){var n=t.$implicit,r=l.oxw(2);l.xp6(1),l.s9C("matTooltip",l.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",r.isRemoveAuthorized(n)),l.xp6(2),l.Q6J("disabled",!r.isRemoveAuthorized(n)),l.xp6(1),l.Q6J("ngIf",!r.sponsorsToRemove.has(n.user.id)),l.xp6(1),l.Q6J("ngIf",r.sponsorsToRemove.has(n.user.id))}}function R(e,t){1&e&&l._UZ(0,"tr",26)}function x(e,t){if(1&e&&l._UZ(0,"tr",27),2&e){var i=t.$implicit,n=l.oxw(2);l.ekj("make-red",n.sponsorsToRemove.has(i.user.id))}}function O(e,t){if(1&e&&(l.TgZ(0,"div",7),l.TgZ(1,"table",8),l.ynx(2,9),l.YNc(3,y,3,3,"th",10),l.YNc(4,_,2,1,"td",11),l.BQk(),l.ynx(5,12),l.YNc(6,b,3,3,"th",10),l.YNc(7,w,3,3,"td",11),l.BQk(),l.ynx(8,13),l.YNc(9,A,3,3,"th",10),l.YNc(10,C,4,2,"td",11),l.BQk(),l.ynx(11,14),l.YNc(12,T,1,0,"th",10),l.YNc(13,I,6,8,"td",11),l.BQk(),l.YNc(14,R,1,0,"tr",15),l.YNc(15,x,1,2,"tr",16),l.qZA(),l.qZA()),2&e){var i=l.oxw();l.xp6(1),l.Q6J("dataSource",i.dataSource),l.xp6(13),l.Q6J("matHeaderRowDef",i.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",i.displayedColumns)}}var P=function(){var e=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.memberService=n,this.userService=r,this.notificator=o,this.authResolver=a,this.translate=s,this.dialog=c,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new a.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}},{key:"markSponsor",value:function(e){this.sponsorsToRemove.has(e.user.id)?this.sponsorsToRemove.delete(e.user.id):this.sponsorsToRemove.add(e.user.id)}},{key:"removeSponsors",value:function(e){var t=this;if(0===e.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);var i=e.pop();this.memberService.removeSponsor(this.data.member.id,i).subscribe(function(){t.removeSponsors(e)},function(){return t.loading=!1})}},{key:"onSubmit",value:function(){this.loading=!0;var e=Array.from(this.sponsorsToRemove);this.removeSponsors(e)}},{key:"onCancel",value:function(){this.dialogRef.close(this.expirationChanged)}},{key:"isRemoveAuthorized",value:function(e){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[e.user])}},{key:"isExpirationAuthorized",value:function(e){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[e.user,this.vo])}},{key:"parseDate",value:function(e){return null===e?"Never expire":(0,u.p6)(e,"d.M.y","en")}},{key:"changeExpiration",value:function(e){var t=this,i=(0,s.kZ)();i.width="400px",i.data={memberId:this.data.member.id,sponsor:e},this.dialog.open(c.hd,i).afterClosed().subscribe(function(e){e&&(t.loading=!0,t.expirationChanged=!0,t.userService.getSponsorsForMember(t.data.member.id,[]).subscribe(function(e){t.sponsors=e,t.dataSource=new a.by(t.sponsors),t.loading=!1}))})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(r.so),l.Y36(r.WI),l.Y36(n.uq),l.Y36(n.Fv),l.Y36(o.V6),l.Y36(o.x4),l.Y36(h.sK),l.Y36(r.uw))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"div"),l.YNc(4,m,1,0,"mat-spinner",1),l.YNc(5,O,16,3,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return t.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return t.onSubmit()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),l.xp6(2),l.Tol(t.theme),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(3),l.hij(" ",l.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL"),""),l.xp6(2),l.Q6J("disabled",t.loading||0===t.sponsorsToRemove.size),l.xp6(1),l.hij(" ",l.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT"),""))},directives:[r.uh,u.O5,r.H8,d.lW,f.$g,r.xY,a.BZ,a.w1,a.fO,a.Dz,a.as,a.nj,a.ge,a.ev,p.Hw,g.gM,a.XQ,a.Gk],pipes:[h.X$,v.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:grey}"]}),e}()},88690:function(e,t,i){"use strict";i.d(t,{R:function(){return k}});var n=i(84608),r=i(16073),o=i(33642),a=i(88426),s=i(31572),c=i(48160),u=i(61511),l=i(15980),h=i(67806),d=i(66283),f=i(80340),p=i(4786),g=i(71522);function v(e,t){1&e&&s._UZ(0,"mat-spinner",6)}function m(e,t){1&e&&(s.TgZ(0,"div",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function y(e,t){1&e&&(s.TgZ(0,"div",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function _(e,t){1&e&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function b(e,t){1&e&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function w(e,t){if(1&e&&(s.TgZ(0,"mat-option",15),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"uppercase"),s.qZA()),2&e){var i=t.$implicit;s.s9C("value",i),s.xp6(1),s.Oqu(s.lcZ(2,2,s.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i)))}}function A(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"div",7),s.YNc(1,m,3,3,"div",8),s.YNc(2,y,3,3,"div",8),s.TgZ(3,"mat-form-field",9),s._UZ(4,"input",10),s.ALo(5,"translate"),s.YNc(6,_,3,3,"mat-error",11),s.qZA(),s.TgZ(7,"mat-form-field",9),s._UZ(8,"textarea",10),s.ALo(9,"translate"),s.YNc(10,b,3,3,"mat-error",11),s.qZA(),s.TgZ(11,"mat-form-field",9),s.TgZ(12,"mat-label"),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-select",12),s.NdJ("valueChange",function(e){return s.CHM(i),s.oxw().currentLanguage=e}),s.YNc(16,w,4,6,"mat-option",13),s.qZA(),s.qZA(),s.qZA()}if(2&e){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",!n.data.groupId),s.xp6(1),s.Q6J("ngIf",n.data.groupId),s.xp6(2),s.s9C("placeholder",s.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),s.Q6J("formControl",n.name),s.xp6(2),s.Q6J("ngIf",n.name.invalid),s.xp6(2),s.s9C("placeholder",s.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),s.Q6J("formControl",n.emailForm),s.xp6(2),s.Q6J("ngIf",n.emailForm.invalid),s.xp6(3),s.Oqu(s.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),s.xp6(2),s.Q6J("value",n.currentLanguage),s.xp6(1),s.Q6J("ngForOf",n.languages)}}var k=function(){var e=function(){function e(t,i,n,o,a,s){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.registrarManager=n,this.notificator=o,this.translate=a,this.store=s,this.emailForm=new r.NI("",[r.kI.required,r.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new r.NI("",r.kI.required),this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;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(function(){e.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(function(){e.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.tk),s.Y36(a.V6),s.Y36(c.sK),s.Y36(a.d6))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(e,t){1&e&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,v,1,0,"mat-spinner",1),s.YNc(5,A,17,17,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return t.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return t.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&e&&(s.Tol(t.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),s.xp6(2),s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.emailForm.invalid||t.name.invalid||t.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[n.uh,u.O5,n.H8,l.lW,h.$g,n.xY,d.KE,f.Nt,r.Fj,r.Q7,r.JJ,r.oH,d.hX,p.gD,u.sg,d.TO,g.ey],pipes:[c.X$,u.gd],styles:[""]}),e}()},57820:function(e,t,i){"use strict";i.d(t,{c:function(){return I}});var n=i(84608),r=i(16073),o=i(56238),a=i(79996),s=i(17),c=i(88426),u=i(33642),l=i(31572),h=i(48160),d=i(54810),f=i(61511),p=i(15980),g=i(36922),v=i(39571),m=i(66283),y=i(80340),_=i(40084),b=i(71522),w=i(67806);function A(e,t){1&e&&(l.TgZ(0,"mat-radio-button",12),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function k(e,t){1&e&&(l.TgZ(0,"mat-radio-button",13),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function C(e,t){1&e&&(l.TgZ(0,"app-alert",14),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function T(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"mat-option",20),l.NdJ("click",function(){var e=l.CHM(i).$implicit;return l.oxw(2).selectedGroup=e}),l.TgZ(1,"span"),l._uU(2),l.qZA(),l.qZA()}if(2&e){var n=t.$implicit;l.Q6J("value",n),l.xp6(2),l.Oqu(n.name)}}function E(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"mat-form-field",15),l.TgZ(1,"input",16),l.NdJ("change",function(){return l.CHM(i),l.oxw().selectedGroup=null}),l.ALo(2,"translate"),l.qZA(),l.TgZ(3,"mat-autocomplete",17,18),l.YNc(5,T,3,2,"mat-option",19),l.ALo(6,"async"),l.qZA(),l.qZA()}if(2&e){var n=l.MAs(4),r=l.oxw();l.Q6J("@openClose","toGroup"===r.moveOption?"open":"closed"),l.xp6(1),l.s9C("placeholder",l.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),l.Q6J("matAutocomplete",n)("formControl",r.otherGroupsCtrl),l.xp6(2),l.Q6J("displayWith",r.displayFn),l.xp6(2),l.Q6J("ngForOf",l.lcZ(6,8,r.filteredGroups))}}function S(e,t){1&e&&l._UZ(0,"mat-spinner",21)}var I=function(){var e=function(){function e(t,i,n,o,a,s,c){var u=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.groupService=n,this.notificator=o,this.translate=a,this.apiRequest=s,this.authResolver=c,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new r.NI(null,[r.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(function(e){return u.successMessage=e}),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(function(e){return u.errorMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(function(t){e.otherGroups=t.filter(function(t){return t.id!==e.data.group.id&&"members"!==t.name&&e.canMove(t)}),0===e.otherGroups.length&&(e.toGroupOptionDisabled=!0),null!==e.data.group.parentGroupId&&e.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[e.data.group])||(e.toRootOptionDisabled=!0,e.moveOption="toGroup"),e.filteredGroups=e.otherGroupsCtrl.valueChanges.pipe((0,o.O)(""),(0,a.U)(function(t){return t?e._filterGroups(t):e.otherGroups.slice()})),e.loading=!1},function(){return e.loading=!1})}},{key:"displayFn",value:function(e){return e?e.name:e}},{key:"_filterGroups",value:function(e){if("object"==typeof e)return[];var t=e.toLowerCase();return e?this.otherGroups.filter(function(e){return e.name.toLowerCase().indexOf(t)>-1}):this.otherGroups}},{key:"canMove",value:function(e){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[e,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,e])}},{key:"close",value:function(){this.dialogRef.close()}},{key:"confirm",value:function(){var e=this;this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close(!0)},function(t){e.notificator.showRPCError(t,e.errorMessage),e.dialogRef.close(!1)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(n.so),l.Y36(n.WI),l.Y36(u.ff),l.Y36(c.V6),l.Y36(h.sK),l.Y36(c.F5),l.Y36(c.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",1),l.TgZ(5,"p"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.TgZ(8,"mat-radio-group",2),l.NdJ("ngModelChange",function(e){return t.moveOption=e}),l.YNc(9,A,3,3,"mat-radio-button",3),l.YNc(10,k,3,3,"mat-radio-button",4),l.qZA(),l.YNc(11,C,3,3,"app-alert",5),l.YNc(12,E,7,10,"mat-form-field",6),l.qZA(),l.YNc(13,S,1,0,"mat-spinner",7),l.TgZ(14,"div",8),l.TgZ(15,"button",9),l.NdJ("click",function(){return t.close()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"span",10),l.ALo(19,"translate"),l.TgZ(20,"button",11),l.NdJ("click",function(){return t.confirm()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.data.theme),l.xp6(2),l.AsE("",l.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",t.data.group.name,""),l.xp6(4),l.hij(" ",l.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),l.xp6(2),l.Q6J("ngModel",t.moveOption),l.xp6(1),l.Q6J("ngIf",!t.toRootOptionDisabled),l.xp6(1),l.Q6J("ngIf",!t.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",t.toRootOptionDisabled&&t.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",!t.toGroupOptionDisabled),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(3),l.hij(" ",l.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),l.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==t.selectedGroup||"toRoot"===t.moveOption),l.xp6(2),l.Q6J("disabled",(t.otherGroupsCtrl.invalid||null===t.selectedGroup)&&"toRoot"!==t.moveOption||t.loading),l.xp6(1),l.hij(" ",l.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[n.uh,n.xY,d.VQ,r.JJ,r.On,f.O5,n.H8,p.lW,g.gM,d.U0,v.w,m.KE,y.Nt,_.ZL,r.Fj,r.Q7,r.oH,_.XC,f.sg,b.ey,w.$g],pipes:[h.X$,f.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[s.BQ]}}),e}()},95121:function(e,t,i){"use strict";i.d(t,{m:function(){return _}});var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),c=i(61511),u=i(15980),l=i(67806),h=i(66283),d=i(4786),f=i(71522);function p(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function g(e,t){if(1&e&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",i.friendlyNameParameter," ")}}function v(e,t){if(1&e&&(a.TgZ(0,"mat-option",13),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"uppercase"),a.qZA()),2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",a.lcZ(2,2,a.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function m(e,t){if(1&e&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",i," ")}}function y(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",8),a.TgZ(1,"mat-form-field"),a.TgZ(2,"mat-label"),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"mat-select",9),a.NdJ("valueChange",function(e){return a.CHM(i),a.oxw().selectedLogin=e}),a.YNc(6,g,2,2,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(7,"mat-form-field"),a.TgZ(8,"mat-label"),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.TgZ(11,"mat-select",9),a.NdJ("valueChange",function(e){return a.CHM(i),a.oxw().selectedLang=e}),a.YNc(12,v,4,6,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(13,"mat-form-field"),a.TgZ(14,"mat-label"),a._uU(15),a.ALo(16,"translate"),a.qZA(),a.TgZ(17,"mat-select",9),a.NdJ("valueChange",function(e){return a.CHM(i),a.oxw().selectedMail=e}),a.YNc(18,m,2,2,"mat-option",10),a.qZA(),a.qZA(),a.TgZ(19,"div",11),a.TgZ(20,"p",12),a._uU(21),a.ALo(22,"translate"),a.qZA(),a.TgZ(23,"p"),a._uU(24),a.qZA(),a.qZA(),a.qZA()}if(2&e){var n=a.oxw();a.xp6(3),a.Oqu(a.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),a.xp6(2),a.Q6J("value",n.selectedLogin),a.xp6(1),a.Q6J("ngForOf",n.logins),a.xp6(3),a.Oqu(a.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),a.xp6(2),a.Q6J("value",n.selectedLang),a.xp6(1),a.Q6J("ngForOf",n.languages),a.xp6(3),a.Oqu(a.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),a.xp6(2),a.Q6J("value",n.selectedMail),a.xp6(1),a.Q6J("ngForOf",n.mails),a.xp6(3),a.Oqu(a.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),a.xp6(3),a.Oqu(n.selectedLogin.value)}}var _=function(){var e=function(){function e(t,i,n,r,o,a,s){var c=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.membersManagerService=n,this.attributesManagerService=r,this.store=o,this.translate=a,this.notificator=s,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],a.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(function(e){return c.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}},{key:"getMailAttributes",value:function(){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"}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,this.selectedLogin.friendlyNameParameter,this.pwdMails.get(this.selectedMail),this.selectedLang).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close()},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.H8),a.Y36(o.d6),a.Y36(s.sK),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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(e,t){1&e&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.YNc(4,p,1,0,"mat-spinner",2),a.qZA(),a.YNc(5,y,25,19,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"button",5),a.NdJ("click",function(){return t.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",6),a.NdJ("click",function(){return t.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),a.xp6(3),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(3),a.hij(" ",a.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),a.xp6(2),a.Q6J("disabled",t.loading),a.xp6(1),a.hij(" ",a.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,d.gD,c.sg,f.ey],pipes:[s.X$,c.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),e}()},4374:function(e,t,i){"use strict";i.d(t,{X:function(){return A}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),c=i(48160),u=i(61511),l=i(67806),h=i(15980),d=i(22196);function f(e,t){1&e&&s._UZ(0,"th",13)}function p(e,t){if(1&e&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.hij(" ",i.id," ")}}function g(e,t){1&e&&s._UZ(0,"th",13)}function v(e,t){if(1&e&&(s.TgZ(0,"td",14),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&e){var i=t.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,i.user)," ")}}function m(e,t){1&e&&s._UZ(0,"tr",15)}function y(e,t){1&e&&s._UZ(0,"tr",16)}function _(e,t){if(1&e&&(s.TgZ(0,"div",4),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",5),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",6),s.ynx(8,7),s.YNc(9,f,1,0,"th",8),s.YNc(10,p,2,1,"td",9),s.BQk(),s.ynx(11,10),s.YNc(12,g,1,0,"th",8),s.YNc(13,v,3,3,"td",9),s.BQk(),s.YNc(14,m,1,0,"tr",11),s.YNc(15,y,1,0,"tr",12),s.qZA(),s.qZA()),2&e){var i=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,i.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),s.xp6(2),s.Q6J("dataSource",i.dataSource),s.xp6(7),s.Q6J("matHeaderRowDef",i.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",i.displayedColumns)}}function b(e,t){1&e&&s._UZ(0,"mat-spinner",17)}function w(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"div",18),s.TgZ(1,"button",19),s.NdJ("click",function(){return s.CHM(i),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",20),s.NdJ("click",function(){return s.CHM(i),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&e){var n=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(6,4,n.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}var A=function(){var e=function(){function e(t,i,n,r,o,a){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.membersService=n,this.groupService=r,this.notificator=o,this.translate=a,this.displayedColumns=["id","name"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.by(this.data.members)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(function(e){return e.id})).subscribe(function(){return e.onSuccess()},function(){return e.onError()}):this.membersService.deleteMembers(this.data.members.map(function(e){return e.id})).subscribe(function(){return e.onSuccess()},function(){return e.onError()})}},{key:"onSuccess",value:function(){var e=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(e),this.dialogRef.close(!0),this.loading=!1}},{key:"onError",value:function(){this.loading=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(n.so),s.Y36(n.WI),s.Y36(a.uq),s.Y36(a.ff),s.Y36(o.V6),s.Y36(c.sK))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-remove-members-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_,16,9,"div",1),s.YNc(5,b,1,0,"mat-spinner",2),s.YNc(6,w,7,6,"div",3),s.qZA()),2&e&&(s.Tol(t.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),s.xp6(2),s.Q6J("ngIf",!t.loading),s.xp6(1),s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading))},directives:[n.uh,u.O5,n.xY,r.BZ,r.w1,r.fO,r.Dz,r.as,r.nj,r.ge,r.ev,r.XQ,r.Gk,l.$g,n.H8,h.lW],pipes:[c.X$,d.d],styles:[""]}),e}()},95909:function(e,t,i){"use strict";i.d(t,{f:function(){return l}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),c=i(48160),u=i(20247),l=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=o,this.displayedColumns=["name"],this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.by(this.data.resources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onDelete",value:function(){var e=this;this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(function(t){e.loading=!1,e.notificator.showSuccess(t),e.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(function(){e.data.resources.shift(),e.onDelete()},function(){e.dialogRef.close(!0)})}},{key:"onSubmit",value:function(e){e.deleted?this.onDelete():this.onCancel()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.V6),s.Y36(c.sK),s.Y36(a.xk))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-remove-resource-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","disableForce","deleted"]],template:function(e,t){1&e&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(e){return t.onSubmit(e)}),s.qZA(),s.qZA()),2&e&&(s.Tol(t.theme),s.xp6(1),s.Q6J("entityNames",t.dataSource)("entityType","resources")("disableForce",!0))},directives:[u.e],styles:[""]}),e}()},99608:function(e,t,i){"use strict";i.d(t,{o:function(){return l}});var n=i(84608),r=i(67033),o=i(88426),a=i(33642),s=i(31572),c=i(48160),u=i(20247),l=function(){var e=function(){function e(t,i,n,r,o){var a=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.force=!1,this.displayedColumns=["name"],this.relations=[],o.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(function(e){return a.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new r.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"))}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onDelete",value:function(){var e=this;this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onSubmit",value:function(e){this.force=e.force,e.deleted?this.onDelete():this.onCancel()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(n.so),s.Y36(n.WI),s.Y36(o.V6),s.Y36(a.YF),s.Y36(c.sK))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-remove-vo-dialog"]],decls:2,vars:6,consts:[[3,"entityNames","entityType","relations","deleted"]],template:function(e,t){1&e&&(s.TgZ(0,"div"),s.TgZ(1,"app-delete-entity-dialog",0),s.NdJ("deleted",function(e){return t.onSubmit(e)}),s.qZA(),s.qZA()),2&e&&(s.Tol(t.theme),s.xp6(1),s.Q6J("entityNames",t.dataSource)("entityType","organizations")("relations",t.relations))},directives:[u.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),e}()},24555:function(e,t,i){"use strict";i.d(t,{E:function(){return y}});var n=i(84608),r=i(33642),o=i(31572),a=i(61511),s=i(15980),c=i(67806),u=i(66283),l=i(80340),h=i(16073),d=i(4786),f=i(71522),p=i(48160);function g(e,t){1&e&&o._UZ(0,"mat-spinner",6)}function v(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.TgZ(3,"mat-form-field",9),o.TgZ(4,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(i),o.oxw(2).embeddedState=e}),o.TgZ(5,"mat-option",11),o._uU(6),o.ALo(7,"translate"),o.qZA(),o.TgZ(8,"mat-option",12),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&e){var n=o.oxw(2);o.xp6(1),o.hij(" ",o.lcZ(2,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),": "),o.xp6(3),o.Q6J("value",n.embeddedState),o.xp6(2),o.Oqu(o.lcZ(7,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(10,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function m(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div",7),o.TgZ(1,"div"),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"mat-form-field"),o.TgZ(5,"input",8),o.NdJ("ngModelChange",function(e){return o.CHM(i),o.oxw().moduleName=e}),o.qZA(),o.qZA(),o.TgZ(6,"div"),o._uU(7),o.ALo(8,"translate"),o.qZA(),o.TgZ(9,"mat-form-field",9),o.TgZ(10,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(i),o.oxw().initialState=e}),o.TgZ(11,"mat-option",11),o._uU(12),o.ALo(13,"translate"),o.qZA(),o.TgZ(14,"mat-option",12),o._uU(15),o.ALo(16,"translate"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"div"),o._uU(18),o.ALo(19,"translate"),o.qZA(),o.TgZ(20,"mat-form-field",9),o.TgZ(21,"mat-select",10),o.NdJ("valueChange",function(e){return o.CHM(i),o.oxw().extensionState=e}),o.TgZ(22,"mat-option",11),o._uU(23),o.ALo(24,"translate"),o.qZA(),o.TgZ(25,"mat-option",12),o._uU(26),o.ALo(27,"translate"),o.qZA(),o.qZA(),o.qZA(),o.YNc(28,v,11,10,"div",13),o.qZA()}if(2&e){var n=o.oxw();o.xp6(2),o.Oqu(o.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),o.xp6(3),o.Q6J("ngModel",n.moduleName),o.xp6(2),o.hij(" ",o.lcZ(8,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),": "),o.xp6(3),o.Q6J("value",n.initialState),o.xp6(2),o.Oqu(o.lcZ(13,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(16,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(3),o.hij(" ",o.lcZ(19,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),": "),o.xp6(3),o.Q6J("value",n.extensionState),o.xp6(2),o.Oqu(o.lcZ(24,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),o.xp6(3),o.Oqu(o.lcZ(27,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),o.xp6(2),o.Q6J("ngIf","group"===n.entity&&n.autoRegistrationEnabled)}}var y=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.registrarManager=n,this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){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}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){var e=this;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(function(t){e.dialogRef.close(t)},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.so),o.Y36(n.WI),o.Y36(r.tk))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"h1",0),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.YNc(4,g,1,0,"mat-spinner",1),o.YNc(5,m,29,25,"div",2),o.TgZ(6,"div",3),o.TgZ(7,"button",4),o.NdJ("click",function(){return t.onCancel()}),o._uU(8),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"button",5),o.NdJ("click",function(){return t.submit()}),o._uU(11),o.ALo(12,"translate"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.Tol(t.theme),o.xp6(2),o.Oqu(o.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading),o.xp6(3),o.hij(" ",o.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),o.xp6(2),o.Q6J("disabled",t.loading),o.xp6(1),o.hij(" ",o.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[n.uh,a.O5,n.H8,s.lW,c.$g,n.xY,u.KE,l.Nt,h.Fj,h.JJ,h.On,d.gD,f.ey],pipes:[p.X$],styles:[""]}),e}()},86593:function(e,t,i){"use strict";i.d(t,{C:function(){return U}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),c=i(88426),u=i(82819),l=i(61511),h=i(29236),d=i(43691),f=i(36922),p=i(84534),g=i(39571),v=i(48160),m=i(22196),y=i(35887),_=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,s.kN)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"userEmail",type:e,pure:!0}),e}(),b=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,s.$0)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"userLogins",type:e,pure:!0}),e}();function w(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw(2);return e?t.masterToggle():null}),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function A(e,t){if(1&e&&(n.TgZ(0,"th",17),n.YNc(1,w,1,3,"mat-checkbox",18),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.selection.isMultipleSelection())}}function k(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function C(e,t){1&e&&n._UZ(0,"th",17)}function T(e,t){1&e&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," account_circle "),n.qZA()),2&e&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function E(e,t){1&e&&(n.TgZ(0,"mat-icon",23),n.ALo(1,"translate"),n._uU(2," traffic "),n.qZA()),2&e&&n.s9C("matTooltip",n.lcZ(1,1,"MANAGERS_LIST.SERVICE"))}function S(e,t){if(1&e&&(n.TgZ(0,"td",20),n.YNc(1,T,3,3,"mat-icon",22),n.YNc(2,E,3,3,"mat-icon",22),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("ngIf",!i.serviceUser),n.xp6(1),n.Q6J("ngIf",i.serviceUser)}}function I(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ID")))}function R(e,t){if(1&e&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.hij(" ",i.id," ")}}function x(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.NAME")))}function O(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function P(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function D(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userVo"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function M(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function L(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userEmail"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function N(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function z(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"userLogins"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function Z(e,t){1&e&&n._UZ(0,"tr",26)}var B=function(e){return["/admin/users",e]};function F(e,t){if(1&e&&n._UZ(0,"tr",27),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsForceRouterLink",r.disableRouting?null:n.VKq(4,B,i.id))("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.VKq(6,B,i.id))}}function q(e,t){1&e&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}function H(e,t){1&e&&(n.TgZ(0,"app-alert",28),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var U=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.authResolver=t,this.tableCheckbox=i,this.selection=new a.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.pageSizeOptions=s.f7}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"getDataForColumn",value:function(e,t){var i;switch(t){case"id":return e.id.toString();case"user":return e.serviceUser?"true":"false";case"name":return e?e.lastName?e.lastName:null!==(i=e.firstName)&&void 0!==i?i:"":"";case"organization":return(0,s.OV)(e);case"email":return(0,s.kN)(e);case"logins":return(0,s.lt)(e);default:return""}}},{key:"getExportDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"user":return e.serviceUser?"service-user":"user";case"name":return e?(0,s.bD)(e):"";case"organization":return(0,s.OV)(e);case"email":return(0,s.kN)(e);case"logins":return(0,s.lt)(e);default:return""}}},{key:"exportData",value:function(e){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,s.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,s.pR)(t,i,e.getDataForColumn,e)}),this.dataSource.filter=this.filter,this.dataSource.data=this.users}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e}))}},{key:"ngOnChanges",value:function(){this.setDataSource()}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(c.x4),n.Y36(c.UA))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-users-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["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",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["class","align-bottom",3,"matTooltip",4,"ngIf"],[1,"align-bottom",3,"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(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,A,2,1,"th",4),n.YNc(5,k,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,C,1,0,"th",4),n.YNc(8,S,3,2,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,I,3,3,"th",8),n.YNc(11,R,2,1,"td",5),n.BQk(),n.ynx(12,9),n.YNc(13,x,3,3,"th",8),n.YNc(14,O,3,3,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,P,3,3,"th",8),n.YNc(17,D,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,M,3,3,"th",8),n.YNc(20,L,3,3,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,N,3,3,"th",8),n.YNc(23,z,3,3,"td",10),n.BQk(),n.YNc(24,Z,1,0,"tr",14),n.YNc(25,F,1,8,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,q,3,3,"app-alert",16),n.YNc(27,H,3,3,"app-alert",16)),2&e&&(n.Q6J("hidden",0===t.users.length||!t.dataSource||0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.users.length),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.users.length))},directives:[u.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,d.Hw,f.gM,r.nU,o.XQ,o.Gk,p.Kd,p.YH,g.w],pipes:[v.X$,m.d,y.Z,_,b],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}()},65050:function(e,t,i){"use strict";i.d(t,{c:function(){return o}});var n=i(31572),r=i(48160),o=function(){var e=function(){function e(t){_classCallCheck(this,e),this.translateService=t,this.returnData=""}return _createClass(e,[{key:"transform",value:function(e){var t=this;switch(e){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(function(e){t.returnData=e});break;case"FROM_FEDERATION_HIDDEN":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_HIDDEN").subscribe(function(e){t.returnData=e});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(function(e){t.returnData=e});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(function(e){t.returnData=e});break;case"FROM_FEDERATION_SHOW":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.FROM_FEDERATION_SHOW").subscribe(function(e){t.returnData=e});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(function(e){t.returnData=e});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(function(e){t.returnData=e});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(function(e){t.returnData=e});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(function(e){t.returnData=e});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(function(e){t.returnData=e});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(function(e){t.returnData=e});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(function(e){t.returnData=e});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(function(e){t.returnData=e});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(function(e){t.returnData=e});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(function(e){t.returnData=e});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(function(e){t.returnData=e});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(function(e){t.returnData=e});break;default:return e}return this.returnData}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.sK,16))},e.\u0275pipe=n.Yjl({name:"applicationFormItemType",type:e,pure:!0}),e}()},84650:function(e,t,i){"use strict";i.d(t,{h:function(){return o}});var n=i(31572),r=i(48160),o=function(){var e=function(){function e(t){_classCallCheck(this,e),this.translate=t,this.returnData=""}return _createClass(e,[{key:"transform",value:function(e){var t=this;switch(e){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(function(e){t.returnData='done'.concat(e)});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(function(e){t.returnData='clear'.concat(e)});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(function(e){t.returnData='contact_mail '.concat(e)});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(function(e){t.returnData='gavel'.concat(e)});break;default:this.returnData=e}return this.returnData}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.sK,16))},e.\u0275pipe=n.Yjl({name:"applicationState",type:e,pure:!1}),e}()},99373:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i(31572),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return e.substring(40)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"extSourceType",type:e,pure:!0}),e}()},35887:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,n.OV)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"userVo",type:e,pure:!0}),e}()},28780:function(e,t,i){"use strict";i.d(t,{m:function(){return Ee}});var n=i(61511),r=i(57629),o=i(40084),a=i(15980),s=i(29236),c=i(71522),u=i(15812),l=i(84608),h=i(27679),d=i(45001),f=i(66283),p=i(43691),g=i(80340),v=i(73005),m=i(45994),y=i(67806),_=i(54810),b=i(4786),w=i(25122),A=i(27521),k=i(71403),C=i(58623),T=i(67033),E=i(55109),S=i(36922),I=i(91010),R=i(27439),x=i(41050),O=i(10033),P=i(8055),D=i(70663),M=i(16073),L=i(24081),N=i(17),z=i(88426),Z=i(31572),B=i(84534),F=i(48160),q=["collapse"],H=function(){return{color:"linkTextColor"}};function U(e,t){1&e&&(Z.TgZ(0,"mat-icon",14),Z._uU(1,"keyboard_arrow_right"),Z.qZA()),2&e&&Z.Q6J("ngStyle",Z.DdM(1,H))}function G(e,t){1&e&&(Z.TgZ(0,"mat-icon",14),Z._uU(1,"keyboard_arrow_down"),Z.qZA()),2&e&&Z.Q6J("ngStyle",Z.DdM(1,H))}function j(e,t){if(1&e&&(Z.TgZ(0,"span",12),Z.YNc(1,U,2,2,"mat-icon",13),Z.YNc(2,G,2,2,"mat-icon",13),Z.qZA()),2&e){var i=Z.oxw().$implicit,n=Z.oxw(2);Z.xp6(1),Z.Q6J("ngIf",!n.isActive(n.currentUrl,i.showChildrenRegex)),Z.xp6(1),Z.Q6J("ngIf",n.isActive(n.currentUrl,i.showChildrenRegex))}}var Y=function(e,t){return{color:e,"border-color":t}};function K(e,t){if(1&e){var i=Z.EpF();Z.TgZ(0,"a",17),Z.NdJ("click",function(){var e=Z.CHM(i).$implicit;return Z.oxw(4).navigate(e.url)}),Z._uU(1),Z.ALo(2,"translate"),Z.qZA()}if(2&e){var n=t.$implicit,r=Z.oxw(4);Z.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:"")("ngStyle",Z.WLB(9,Y,r.linkTextColor,r.linkTextColor)),Z.xp6(1),Z.hij(" ",Z.lcZ(2,7,n.label)," ")}}function V(e,t){if(1&e&&(Z.TgZ(0,"div",15),Z.YNc(1,K,3,12,"a",16),Z.qZA()),2&e){var i=Z.oxw().$implicit;Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",null==i?null:i.children)}}function J(e,t){if(1&e){var i=Z.EpF();Z.TgZ(0,"div"),Z.TgZ(1,"a",9),Z.NdJ("click",function(){var e=Z.CHM(i).$implicit;return Z.oxw(2).navigate(e.url)}),Z._uU(2),Z.ALo(3,"translate"),Z.YNc(4,j,3,2,"span",10),Z.qZA(),Z.YNc(5,V,2,2,"div",11),Z.qZA()}if(2&e){var n=t.$implicit,r=Z.oxw(2);Z.xp6(1),Z.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:"")("ngStyle",Z.WLB(11,Y,r.linkTextColor,r.linkTextColor)),Z.xp6(1),Z.hij(" ",Z.lcZ(3,9,n.label)," "),Z.xp6(2),Z.Q6J("ngIf",n.children),Z.xp6(1),Z.Q6J("ngIf",r.isActive(r.currentUrl,n.showChildrenRegex))}}function Q(e,t){if(1&e&&(Z.TgZ(0,"div"),Z.YNc(1,J,6,14,"div",8),Z.qZA()),2&e){var i=Z.oxw();Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",i.item.links)}}var W=function(e,t){return{background:e,"border-top":t}},X=function(e){return{color:e}},$=function(){return{color:"currentColor"}},ee=function(e){return{background:e}},te=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this.router=t,this.store=i,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=t.url,t.events.subscribe(function(e){e instanceof r.m2&&(n.currentUrl=e.url)})}return _createClass(e,[{key:"toggle",value:function(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}},{key:"isActive",value:function(e,t){return new RegExp(t).test(e)}},{key:"navigate",value:function(e){var t=this;"over"===this.sideNav.mode?this.sideNav.close().then(function(){return t.router.navigate(e)}):this.router.navigate(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Z.Y36(r.F0),Z.Y36(z.d6))},e.\u0275cmp=Z.Xpm({type:e,selectors:[["app-side-menu-item"]],viewQuery:function(e,t){var i;(1&e&&Z.Gf(q,5),2&e)&&(Z.iGM(i=Z.CRH())&&(t.collapseDiv=i.first))},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},decls:12,vars:26,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","click"],["matRipple","",3,"perunWebAppsMiddleClickRouterLink"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"],["class","ml-auto",4,"ngIf"],["class","entity-menu-item-sub-menu",4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],[1,"entity-menu-item-sub-menu"],["class","entity-menu-item-sub-menu-item clickable","matRipple","",3,"perunWebAppsMiddleClickRouterLink","activated","matRippleColor","ngClass","ngStyle","click",4,"ngFor","ngForOf"],["matRipple","",1,"entity-menu-item-sub-menu-item","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"]],template:function(e,t){1&e&&(Z.TgZ(0,"div",0),Z.TgZ(1,"div",1),Z.NdJ("click",function(){return t.toggle()}),Z.TgZ(2,"div",2),Z.TgZ(3,"a",3),Z.TgZ(4,"div"),Z._UZ(5,"mat-icon",4),Z.qZA(),Z.TgZ(6,"div",5),Z._uU(7),Z.ALo(8,"translate"),Z.qZA(),Z.qZA(),Z.qZA(),Z.qZA(),Z.TgZ(9,"div"),Z.TgZ(10,"div",6),Z.YNc(11,Q,2,2,"div",7),Z.qZA(),Z.qZA(),Z.qZA()),2&e&&(Z.xp6(1),Z.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(18,W,t.item.backgroundColorCss,t.index?t.dividerStyle:"none")),Z.xp6(1),Z.Gre("entity-menu-item-link ",t.item.labelClass,""),Z.Q6J("perunWebAppsMiddleClickRouterLink",t.item.baseLink),Z.xp6(1),Z.Q6J("ngStyle",Z.VKq(21,X,t.item.textColorCss)),Z.xp6(2),Z.Q6J("ngStyle",Z.DdM(23,$))("svgIcon",t.item.icon),Z.xp6(2),Z.Oqu(Z.lcZ(8,16,t.item.label)),Z.xp6(2),Z.Q6J("@openClose",t.expanded?"open":"closed"),Z.xp6(1),Z.Gre("side-entity-menu ",t.item.linksClass,""),Z.Q6J("ngStyle",Z.VKq(24,ee,t.linkBgColor)),Z.xp6(1),Z.Q6J("ngIf",t.showLinks))},directives:[c.wG,n.PC,B.YH,p.Hw,n.O5,n.sg,n.mk],pipes:[F.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:[N.BQ,N.Ly]}}),e}(),ie=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){if(void 0===e.value)return"";switch(e.type){case"java.lang.String":return e.value;case"java.lang.Integer":return e.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(e.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(e.value);case"java.lang.Boolean":return e.value.toString();default:return e.value}}},{key:"whenValueIsArray",value:function(e){var t="";return e.forEach(function(e){t=t.concat(e+", ")}),t}},{key:"whenValueIsMap",value:function(e){var t="";return e.forEach(function(e,i){t=t.concat(i+": "+e+", ")}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Z.Yjl({name:"anyToString",type:e,pure:!0}),e}(),ne=["collapse"],re=function(){return{color:"linkTextColor"}};function oe(e,t){1&e&&(Z.TgZ(0,"mat-icon",12),Z._uU(1,"keyboard_arrow_right"),Z.qZA()),2&e&&Z.Q6J("ngStyle",Z.DdM(1,re))}function ae(e,t){1&e&&(Z.TgZ(0,"mat-icon",12),Z._uU(1,"keyboard_arrow_down"),Z.qZA()),2&e&&Z.Q6J("ngStyle",Z.DdM(1,re))}function se(e,t){if(1&e&&(Z.TgZ(0,"span",10),Z.YNc(1,oe,2,2,"mat-icon",11),Z.YNc(2,ae,2,2,"mat-icon",11),Z.qZA()),2&e){var i=Z.oxw().$implicit,n=Z.oxw();Z.xp6(1),Z.Q6J("ngIf",!n.isActive(n.currentUrl,i.showChildrenRegex)),Z.xp6(1),Z.Q6J("ngIf",n.isActive(n.currentUrl,i.showChildrenRegex))}}var ce=function(e,t){return{color:e,"border-color":t}};function ue(e,t){if(1&e){var i=Z.EpF();Z.TgZ(0,"a",14),Z.NdJ("click",function(){var e=Z.CHM(i).$implicit;return Z.oxw(3).navigate(e.url)}),Z._uU(1),Z.ALo(2,"translate"),Z.qZA()}if(2&e){var n=t.$implicit,r=Z.oxw(3);Z.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(9,ce,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),Z.xp6(1),Z.hij(" ",Z.lcZ(2,7,n.label)," ")}}function le(e,t){if(1&e&&(Z.TgZ(0,"div"),Z.YNc(1,ue,3,12,"a",13),Z.qZA()),2&e){var i=Z.oxw().$implicit;Z.Q6J("@rollInOut",void 0),Z.xp6(1),Z.Q6J("ngForOf",null==i?null:i.children)}}function he(e,t){if(1&e){var i=Z.EpF();Z.TgZ(0,"div"),Z.TgZ(1,"a",7),Z.NdJ("click",function(){var e=Z.CHM(i).$implicit;return Z.oxw().navigate(e.url)}),Z._uU(2),Z.ALo(3,"translate"),Z.YNc(4,se,3,2,"span",8),Z.qZA(),Z.YNc(5,le,2,2,"div",9),Z.qZA()}if(2&e){var n=t.$implicit,r=Z.oxw();Z.xp6(1),Z.ekj("activated",r.isActive(r.currentUrl,n.activatedRegex)&&void 0===r.item.activatedClass),Z.Q6J("perunWebAppsMiddleClickRouterLink",n.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.WLB(11,ce,r.linkTextColor,r.linkTextColor))("ngClass",r.isActive(r.currentUrl,n.activatedRegex)&&void 0!==r.item.activatedClass?r.item.activatedClass:""),Z.xp6(1),Z.hij(" ",Z.lcZ(3,9,n.label)," "),Z.xp6(2),Z.Q6J("ngIf",n.children),Z.xp6(1),Z.Q6J("ngIf",r.isActive(r.currentUrl,n.showChildrenRegex))}}var de=function(e){return{background:e}},fe=function(e){return{color:e}},pe=function(){return{color:"currentColor"}},ge=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this.router=t,this.store=i,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.iconColor=this.store.get("theme","sidemenu_item_icon_color"),this.currentUrl=t.url,t.events.subscribe(function(e){e instanceof r.m2&&(n.currentUrl=e.url)})}return _createClass(e,[{key:"ngOnInit",value:function(){this.expanded=this.showOpen}},{key:"ngOnChanges",value:function(){this.expanded=this.showOpen}},{key:"toggle",value:function(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}},{key:"isActive",value:function(e,t){return new RegExp(t).test(e)}},{key:"getBgClass",value:function(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}},{key:"navigate",value:function(e){var t=this;"over"===this.sideNav.mode?this.sideNav.close().then(function(){return t.router.navigate(e)}):this.router.navigate(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Z.Y36(r.F0),Z.Y36(z.d6))},e.\u0275cmp=Z.Xpm({type:e,selectors:[["app-side-menu-root-item"]],viewQuery:function(e,t){var i;(1&e&&Z.Gf(ne,5),2&e)&&(Z.iGM(i=Z.CRH())&&(t.collapseDiv=i.first))},inputs:{item:"item",index:"index",showOpen:"showOpen",sideNav:"sideNav"},features:[Z.TTD],decls:12,vars:27,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(e,t){1&e&&(Z.TgZ(0,"div",0),Z.TgZ(1,"div",1),Z.NdJ("click",function(){return t.toggle()}),Z.TgZ(2,"div"),Z.TgZ(3,"a",2),Z.TgZ(4,"div"),Z._UZ(5,"mat-icon",3),Z.qZA(),Z.TgZ(6,"div",4),Z._uU(7),Z.ALo(8,"translate"),Z.qZA(),Z.qZA(),Z.qZA(),Z.qZA(),Z.TgZ(9,"div"),Z.TgZ(10,"div",5),Z.YNc(11,he,6,14,"div",6),Z.qZA(),Z.qZA(),Z.qZA()),2&e&&(Z.xp6(1),Z.ekj("root-header-activated",t.isActive(t.currentUrl,t.item.baseColorClassRegex)),Z.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",Z.VKq(20,de,t.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",t.item.baseLink),Z.xp6(1),Z.Gre("entity-menu-item-link ",t.item.labelClass,""),Z.xp6(1),Z.Q6J("ngStyle",Z.VKq(22,fe,t.item.textColorCss)),Z.xp6(2),Z.Q6J("ngStyle",Z.DdM(24,pe))("svgIcon",t.item.icon),Z.xp6(2),Z.Oqu(Z.lcZ(8,18,t.item.label)),Z.xp6(2),Z.Q6J("@openClose",t.expanded?"open":"closed"),Z.xp6(1),Z.Gre("side-entity-menu ",t.item.linksClass,""),Z.Q6J("ngStyle",Z.VKq(25,de,t.linkBgColor)),Z.xp6(1),Z.Q6J("ngForOf",t.item.links))},directives:[c.wG,n.PC,B.YH,p.Hw,n.sg,n.mk,n.O5],pipes:[F.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:[N.BQ,N.Ly]}}),e}(),ve=i(88975),me=i(4253),ye=i(22727),_e=i(99373),be=i(10896),we=i(7423),Ae=i(22280),ke=i(30146),Ce=i(85250),Te=i(84140),Ee=function(){var e=function e(t){_classCallCheck(this,e),this.translate=t,t.addLangs(["en","cs"])};return e.\u0275fac=function(t){return new(t||e)(Z.LFG(F.sK))},e.\u0275mod=Z.oAB({type:e}),e.\u0275inj=Z.cJS({providers:[ie,_e.A],imports:[[n.ez,r.Bz,o.Bb,g.c,f.lN,M.UX,M.u5,p.Ps,w.SJ,d.To,F.aw.forChild({}),a.ot,C.JX,T.p0,E.Nh,I.dp,a.ot,s.p9,l.Is,b.LD,k.ZX,y.Cq,m.Cv,S.AV,A.rP,u.FA,c.XK,_.Fk,h.t,c.si,v.TU,R.QW,D.T5,ve._t,R.QW,O.Hi,P.Tx,me.Cl,ye.r,x.g,be.ez,we.r,Ae.d4,ke.Co,Ce.ie,Te.Je],ke.Co,o.Bb,g.c,r.Bz,M.UX,M.u5,p.Ps,w.SJ,F.aw,C.JX,T.p0,E.Nh,I.dp,a.ot,s.p9,l.Is,b.LD,k.ZX,y.Cq,m.Cv,S.AV,A.rP,u.FA,c.XK,_.Fk,h.t,R.QW,D.T5,c.si,v.TU,ve._t,O.Hi,O.Hi,d.To,P.Tx,me.Cl,me.Cl,me.Cl,we.r]}),e}();Z.B6R(L.V,[ge,n.sg,te,n.O5],[])},75585:function(e,t,i){"use strict";i.d(t,{V:function(){return l}});var n=i(88426),r=i(33642),o=i(84140),a=i(22280),s=i(67004),c=i(31572),u=i(48160),l=function(){var e=function(){function e(t,i,n,r,o,a,s){_classCallCheck(this,e),this.translate=t,this.authResolver=i,this.store=n,this.apiRequest=r,this.attributesManager=o,this.notificator=a,this.guiAuthResolver=s,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")}return _createClass(e,[{key:"getFacilitiesManagementItem",value:function(){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}}},{key:"getAccessManagementItem",value:function(){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}}},{key:"getHomeItem",value:function(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}},{key:"getUserItem",value:function(){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.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"}]}}},{key:"getAdminItem",value:function(){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$"}]}}},{key:"parseFacility",value:function(e){return{label:e.name,baseLink:["/facilities/".concat(e.id)],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(e),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseResource",value:function(e,t){var i=(new a.r5).transform(e,t);return{label:e.name,baseLink:[i],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(i,t?"/organizations":"/facilities",e),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"getResourceLinks",value:function(e,t,i){var n=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[e],activatedRegex:"".concat(t,"/\\d+/resources/\\d+$")}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[e,"groups"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/groups$")}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[e,"services"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/services$")}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[e,"members"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/members$")}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[i])&&n.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[e,"tags"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/tags$")}),n.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[e,"attributes"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/attributes$")}),this.authResolver.isManagerPagePrivileged(i)&&n.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[e,"settings"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/settings$"),children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[e,"settings","managers"],activatedRegex:"".concat(t,"/\\d+/resources/\\d+/settings/managers$")}],showChildrenRegex:"".concat(t,"/\\d+/resources/\\d+/settings")}),n}},{key:"parseGroup",value:function(e){return{label:e.name,baseLink:["/organizations/".concat(e.voId,"/groups/").concat(e.id)],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(e),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseVo",value:function(e){return{label:e.name,baseLink:["/organizations/".concat(e.id)],links:this.getVoLinks(e),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}},{key:"parseMember",value:function(e,t){return{label:(0,o.bD)(e.user),baseLink:["/organizations/".concat(e.voId,"/members/").concat(e.id)],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(e,t),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseUser",value:function(e,t,i){return{label:(0,o.bD)(e),baseLink:[t],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(e,t,i),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"parseService",value:function(e){return{label:e.name,baseLink:["/admin/services/".concat(e.id)],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:["/admin/services/".concat(e.id)],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:["/admin/services/".concat(e.id,"/required-attributes")],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:["/admin/services/".concat(e.id,"/destinations")],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}},{key:"getVoLinks",value:function(e){var t=[];if(t.push({label:"MENU_ITEMS.VO.OVERVIEW",url:["/organizations/".concat(e.id)],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[e])&&t.push({label:"MENU_ITEMS.VO.MEMBERS",url:["/organizations/".concat(e.id,"/members")],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[e])&&t.push({label:"MENU_ITEMS.VO.GROUPS",url:["/organizations/".concat(e.id,"/groups")],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[e])){var i=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:["/organizations/".concat(e.id,"/resources/preview")],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[e])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:["/organizations/".concat(e.id,"/resources/tags")],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[e])&&i.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:["/organizations/".concat(e.id,"/resources/states")],activatedRegex:"/organizations/\\d+/resources/states$"}),t.push({label:"MENU_ITEMS.VO.RESOURCES",url:["/organizations/".concat(e.id,"/resources")],activatedRegex:"/organizations/\\d+/resources$",children:i,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[e])&&t.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:["/organizations/".concat(e.id,"/applications")],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[e])&&t.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:["/organizations/".concat(e.id,"/sponsoredMembers")],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[e])&&t.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:["/organizations/".concat(e.id,"/serviceAccounts")],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),t.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:["/organizations/".concat(e.id,"/attributes")],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[e])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[e])&&t.push({label:"MENU_ITEMS.VO.STATISTICS",url:["/organizations/".concat(e.id,"/statistics")],activatedRegex:"/organizations/\\d+/statistics"});var n=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[e]),r=this.authResolver.isManagerPagePrivileged(e),o=this.authResolver.isThisVoAdminOrObserver(e.id);if(r||n||o){var a=[];o&&a.push({label:"MENU_ITEMS.VO.EXPIRATION",url:["/organizations/".concat(e.id,"/settings/expiration")],activatedRegex:"/organizations/\\d+/settings/expiration$"}),r&&a.push({label:"MENU_ITEMS.VO.MANAGERS",url:["/organizations/".concat(e.id,"/settings/managers")],activatedRegex:"/organizations/\\d+/settings/managers$"}),o&&a.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:["/organizations/".concat(e.id,"/settings/applicationForm")],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),o&&a.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:["/organizations/".concat(e.id,"/settings/notifications")],activatedRegex:"/organizations/\\d+/settings/notifications$"}),n&&a.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:["/organizations/".concat(e.id,"/settings/extsources")],activatedRegex:"/organizations/\\d+/settings/extsources$"}),t.push({label:"MENU_ITEMS.VO.SETTINGS",url:["/organizations/".concat(e.id,"/settings")],activatedRegex:"/organizations/\\d+/settings$",children:a,showChildrenRegex:"/organizations/\\d+/settings"})}return t}},{key:"getUserLinks",value:function(e,t,i){var n=[];return n.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[t],activatedRegex:"".concat(i,"$")}),n.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:["".concat(t,"/organizations")],activatedRegex:"".concat(i,"/organizations")}),n.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:["".concat(t,"/groups")],activatedRegex:"".concat(i,"/groups")}),n.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:["".concat(t,"/accounts")],activatedRegex:"".concat(i,"/accounts")}),n.push({label:"MENU_ITEMS.USER.IDENTITIES",url:["".concat(t,"/identities")],activatedRegex:"".concat(i,"/identities")}),n.push({label:"MENU_ITEMS.USER.FACILITIES",url:["".concat(t,"/facilities")],activatedRegex:"".concat(i,"/facilities")}),n.push({label:"MENU_ITEMS.USER.RESOURCES",url:["".concat(t,"/resources")],activatedRegex:"".concat(i,"/resources")}),n.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:["".concat(t,"/attributes")],activatedRegex:"".concat(i,"/attributes")}),n.push({label:"MENU_ITEMS.USER.ROLES",url:["".concat(t,"/roles")],activatedRegex:"^".concat(t,"/roles")}),n.push({label:"MENU_ITEMS.ADMIN.SETTINGS",url:["".concat(t,"/settings")],activatedRegex:"".concat(i,"/settings$"),children:[],showChildrenRegex:"".concat(i,"/settings")}),n[n.length-1].children.push(e.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:["".concat(t,"/settings/associated-users")],activatedRegex:"^".concat(t,"/settings/associated-users")}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["".concat(t,"/settings/service-identities")],activatedRegex:"^".concat(t,"/settings/service-identities")}),n}},{key:"getMemberLinks",value:function(e,t){var i=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:["/organizations/".concat(e.voId,"/members/").concat(e.id)],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[t])&&i.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:["//organizations/".concat(e.voId,"/members/").concat(e.id,"/groups")],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[t])&&i.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:["//organizations/".concat(e.voId,"/members/").concat(e.id,"/applications")],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[t])&&i.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:["/organizations/".concat(e.voId,"/members/").concat(e.id,"/resources")],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),i.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:["/organizations/".concat(e.voId,"/members/").concat(e.id,"/attributes")],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),i}},{key:"getFacilityLinks",value:function(e){var t=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:["/facilities/".concat(e.id)],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[e])&&t.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:["/facilities/".concat(e.id,"/resources")],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[e])&&t.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:["/facilities/".concat(e.id,"/allowed-users")],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[e])&&t.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:["/facilities/".concat(e.id,"/allowed-groups")],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[e])&&t.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:["/facilities/".concat(e.id,"/services-status")],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[e])&&t.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:["/facilities/".concat(e.id,"/services-destinations")],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&t.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:["/facilities/".concat(e.id,"/hosts")],activatedRegex:"facilities/\\d+/hosts"}),t.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",e.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});var i=this.authResolver.isAuthorized("getBansForFacility_int_policy",[e]),n=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[e]),r=this.authResolver.isAuthorized("getOwners_Facility_policy",[e]),o=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[e]);if(i||n||r||o){var a=[];r&&a.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",e.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),n&&a.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",e.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),o&&a.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:["/facilities/".concat(e.id,"/settings/security-teams")],activatedRegex:"facilities/\\d+/settings/security-teams"}),i&&a.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",e.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),t.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",e.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:a,showChildrenRegex:"/facilities/\\d+/settings"})}return t}},{key:"getGroupLinks",value:function(e){var t=this,i=[],n=[];i.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id)],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[e])&&i.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/members")],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[e])&&"members"!==e.name&&i.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/subgroups")],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[e])&&i.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/resources")],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[e])&&i.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/applications")],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),i.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/attributes")],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});var r=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[e]),o=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[e]),a=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[e]);return r&&o&&a&&i.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/statistics")],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(e.id,s.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(){n.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/expiration")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},function(e){"HttpErrorResponse"!==e.name&&t.notificator.showRPCError(e)}),this.authResolver.isManagerPagePrivileged(e)&&n.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/managers")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[e])&&n.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/applicationForm")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[e])&&n.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/notifications")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[e])&&n.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/relations")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[e])&&n.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings/extsources")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==n.length&&i.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:["/organizations/".concat(e.voId,"/groups/").concat(e.id,"/settings")],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:n,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(u.sK),c.LFG(n.x4),c.LFG(n.d6),c.LFG(n.F5),c.LFG(r.H8),c.LFG(n.V6),c.LFG(n.x4))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},24081:function(e,t,i){"use strict";i.d(t,{V:function(){return y}});var n=i(61601),r=i(75585),o=i(88426),a=i(17),s=i(31572),c=i(48958);function u(e,t){if(1&e&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",9),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)}}function l(e,t){if(1&e&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.accessItems.length-1)}}function h(e,t){if(1&e&&s._UZ(0,"app-side-menu-root-item",2),2&e){var i=s.oxw();s.Q6J("sideNav",i.sideNav)("item",i.facilityItem)}}function d(e,t){if(1&e&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw(2);s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.facilityItems.length-1)}}function f(e,t){if(1&e&&(s.TgZ(0,"div"),s.YNc(1,d,2,5,"div",3),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.Q6J("ngForOf",i.facilityItems)}}function p(e,t){if(1&e&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw();s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",n===r.userItems.length-1)}}function g(e,t){if(1&e&&s._UZ(0,"app-side-menu-root-item",6),2&e){var i=s.oxw();s.Q6J("sideNav",i.sideNav)("showOpen",i.adminItemOpened)("item",i.adminItem)}}function v(e,t){if(1&e&&(s.TgZ(0,"div",8),s._UZ(1,"app-side-menu-item",10),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw(2);s.Q6J("@rollInOut",void 0),s.xp6(1),s.Q6J("sideNav",r.sideNav)("item",i)("index",n)("showLinks",!0)}}function m(e,t){if(1&e&&(s.TgZ(0,"div"),s.YNc(1,v,2,5,"div",3),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.Q6J("ngForOf",i.adminItems)}}var y=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.sideMenuService=t,this.sideMenuItemService=i,this.authResolver=n,this.store=r,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}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.mobileView=window.innerWidth<=n.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(function(t){e.setFacilityItems(t)}),this.sideMenuService.accessItemsChange.subscribe(function(t){e.setAccessItems(t)}),this.sideMenuService.adminItemsChange.subscribe(function(t){e.setAdminItems(t)}),this.sideMenuService.userItemsChange.subscribe(function(t){e.setUserItems(t)}),this.sideMenuService.homeItemsChange.subscribe(function(t){e.setHomeItems(t)}),this.sideMenuService.resetChange.subscribe(function(){e.reset()})}},{key:"reset",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptHome",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptFacility",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptAccess",value:function(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptAdmin",value:function(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}},{key:"resetExceptUser",value:function(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}},{key:"setHomeItems",value:function(e){this.resetExceptHome(),this.setNewItems(this.homeItems,e)}},{key:"setFacilityItems",value:function(e){this.resetExceptFacility(),this.setNewItems(this.facilityItems,e)}},{key:"setAccessItems",value:function(e){this.resetExceptAccess(),this.setNewItems(this.accessItems,e)}},{key:"setUserItems",value:function(e){this.userItemOpened=!0,this.resetExceptUser(),this.setNewItems(this.userItems,e)}},{key:"setAdminItems",value:function(e){this.adminItemOpened=0===e.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,e)}},{key:"setNewItems",value:function(e,t){for(var i=e.length>t.length?e.length:t.length,n=0;ne.length-1)e.push(t[n]);else{if(n>t.length-1){for(var r=e.length,o=0;o0),n.Q6J("cdkDragData",i)}}function ge(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"div",4),n.TgZ(1,"div",5),n.TgZ(2,"div",6),n.TgZ(3,"table",7,8),n.NdJ("cdkDropListDropped",function(e){return n.CHM(i),n.oxw().drop(e)}),n.ynx(5,9),n.YNc(6,k,1,0,"th",10),n.YNc(7,C,4,0,"td",11),n.BQk(),n.ynx(8,12),n.YNc(9,T,3,3,"th",10),n.YNc(10,E,2,1,"td",11),n.BQk(),n.ynx(11,13),n.YNc(12,S,3,3,"th",10),n.YNc(13,I,3,3,"td",11),n.BQk(),n.ynx(14,14),n.YNc(15,R,3,3,"th",15),n.YNc(16,O,2,1,"td",16),n.BQk(),n.ynx(17,17),n.YNc(18,P,3,3,"th",15),n.YNc(19,M,2,1,"td",16),n.BQk(),n.ynx(20,18),n.YNc(21,L,3,3,"th",10),n.YNc(22,te,15,14,"td",11),n.BQk(),n.ynx(23,19),n.YNc(24,ie,1,0,"th",10),n.YNc(25,re,2,1,"td",11),n.BQk(),n.ynx(26,20),n.YNc(27,oe,1,0,"th",10),n.YNc(28,ce,3,2,"td",11),n.BQk(),n.ynx(29,21),n.YNc(30,ue,1,0,"th",10),n.YNc(31,de,3,2,"td",11),n.BQk(),n.YNc(32,fe,1,0,"tr",22),n.YNc(33,pe,1,7,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(3),n.Q6J("cdkDropListDisabled",r.dragDisabled)("dataSource",r.dataSource),n.xp6(29),n.Q6J("matHeaderRowDef",r.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",r.displayedColumns)}}function ve(e,t){1&e&&(n.TgZ(0,"app-alert",98),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}var me=function(){var e=function(){function e(t,i,r,o){_classCallCheck(this,e),this.dialog=t,this.notificator=i,this.router=r,this.translate=o,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new n.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}return _createClass(e,[{key:"ngOnInit",value:function(){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")}},{key:"ngOnChanges",value:function(){this.dataSource=this.applicationFormItems}},{key:"disabledHiddenDependency",value:function(e,t,i){var n="";if("IF_EMPTY"===t||"IF_PREFILLED"===t){var r=null===i?"":this.applicationFormItems.find(function(e){return e.id===i}).shortname;n="IF_EMPTY"===t?"(".concat(this.ifEmpty," ").concat(r,")"):"(".concat(this.ifPrefilled," ").concat(r,")")}return n}},{key:"disabledTooltip",value:function(e){var t;switch(e.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return t=null===e.disabledDependencyItemId?"":this.applicationFormItems.find(function(t){return t.id===e.disabledDependencyItemId}).shortname,"".concat(this.isDisabledIf," ").concat(t," ").concat(this.isEmpty);case"IF_PREFILLED":return t=null===e.disabledDependencyItemId?"":this.applicationFormItems.find(function(t){return t.id===e.disabledDependencyItemId}).shortname,"".concat(this.isDisabledIf," ").concat(t," ").concat(this.isPrefilled)}}},{key:"hiddenTooltip",value:function(e){var t;switch(e.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return t=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(function(t){return t.id===e.hiddenDependencyItemId}).shortname,"".concat(this.isHiddenIf," ").concat(t," ").concat(this.isEmpty);case"IF_PREFILLED":return t=null===e.hiddenDependencyItemId?"":this.applicationFormItems.find(function(t){return t.id===e.hiddenDependencyItemId}).shortname,"".concat(this.isHiddenIf," ").concat(t," ").concat(this.isPrefilled)}}},{key:"edit",value:function(e){var t=this,i=(0,h.kZ)();i.width="600px",i.height="600px",i.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:e,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(l._,i).afterClosed().subscribe(function(i){i&&(t.itemsChanged.push(e.id),t.applicationFormItemsChange.emit())})}},{key:"delete",value:function(e){var t=this,i=(0,h.kZ)();i.width="500px",this.dialog.open(c,i).afterClosed().subscribe(function(i){i&&(e.forDelete=!0,0===e.id&&(t.applicationFormItems.splice(t.applicationFormItems.indexOf(e),1),t.table.renderRows()),t.applicationFormItemsChange.emit())})}},{key:"drop",value:function(e){this.dragDisabled=!0;var t=this.applicationFormItems.indexOf(e.item.data);(0,r.bA)(this.applicationFormItems,t,e.currentIndex),this.itemsChanged.push(this.applicationFormItems[e.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}},{key:"getLocalizedOptions",value:function(e){if(e.i18n[this.translate.getDefaultLang()]){var t=e.i18n[this.translate.getDefaultLang()].options;if(null!==t&&""!==t){var i,n=[],r=_createForOfIteratorHelper(t.split("|"));try{for(r.s();!(i=r.n()).done;){var o=i.value;n.push(o.split("#")[1])}}catch(a){r.e(a)}finally{r.f()}return n}}return[]}},{key:"getLocalizedLabel",value:function(e){return e.i18n[this.translate.getDefaultLang()]?e.i18n[this.translate.getDefaultLang()].label:e.shortname}},{key:"restore",value:function(e){e.forDelete=!1}},{key:"openManagingGroups",value:function(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(o.uw),n.Y36(u.V6),n.Y36(d.F0),n.Y36(s.sK))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-application-form-list"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(w,5),2&e)&&(n.iGM(i=n.CRH())&&(t.table=i.first))},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[n.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"],["class","font-italic disabled",4,"ngIf"],["type","text"],[1,"font-italic","disabled"],["disabled",""],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(e,t){1&e&&(n.YNc(0,A,1,0,"mat-spinner",0),n.YNc(1,ge,34,4,"div",1),n.YNc(2,ve,3,3,"app-alert",2)),2&e&&(n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",0!==t.applicationFormItems.length&&!t.loading),n.xp6(1),n.Q6J("ngIf",0===t.applicationFormItems.length&&!t.loading))},directives:[f.O5,p.$g,g.BZ,r.Wj,g.w1,g.fO,g.Dz,g.as,g.nj,g.ge,g.ev,a.lW,v.Hw,m.gM,y._Y,y.JL,y.F,f.sg,y.YN,y.Kr,y.EJ,y.JJ,y.On,g.XQ,g.Gk,r.Zt,_.w],pipes:[s.X$,b.c],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .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}"]}),e}()},29851:function(e,t,i){"use strict";i.d(t,{w:function(){return te}});var n=i(31572),r=i(33642),o=i(67033),a=i(84140),s=i(88426),c=i(57629),u=i(82819),l=i(61511),h=i(84534),d=i(67806),f=i(39571),p=i(48160),g=i(22196);function v(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function m(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function y(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_ID")))}function _(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.vo.id)}}function b(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_VO_NAME")))}function w(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.vo.name)}}function A(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_ID")))}function k(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.group?i.group.id:"")}}function C(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function T(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.group?i.group.name:"")}}function E(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function S(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.type)}}function I(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function R(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.state)}}function x(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCENAME")))}function O(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.extSourceName)}}function P(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_EXTSOURCETYPE")))}function D(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.extSourceType)}}function M(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_USER")))}function L(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.hij(" ",i.user?n.lcZ(2,1,i.user):"null"," ")}}function N(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_BY")))}function z(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.hij(" ",i.createdBy.slice(i.createdBy.lastIndexOf("=")+1,i.createdBy.length)," ")}}function Z(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function B(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.createdAt,"d.M.y"))}}function F(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function q(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.getFriendlyName(i.modifiedBy))}}function H(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_AT")))}function U(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.modifiedAt,"d.M.y"))}}function G(e,t){if(1&e&&(n.TgZ(0,"th",26),n._uU(1),n.qZA()),2&e){var i=n.oxw().$implicit;n.xp6(1),n.Oqu(i)}}function j(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit,r=n.oxw().$implicit;n.xp6(1),n.Oqu(i[r])}}function Y(e,t){1&e&&(n.ynx(0,29),n.YNc(1,G,2,1,"th",4),n.YNc(2,j,2,1,"td",11),n.BQk()),2&e&&n.Q6J("matColumnDef",t.$implicit)}function K(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_FEDINFO")))}function V(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.fedInfo)}}function J(e,t){1&e&&n._UZ(0,"tr",30)}function Q(e,t){if(1&e&&n._UZ(0,"tr",31),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.selectApplication(i))("routerLink",r.selectApplication(i))}}function W(e,t){1&e&&n._UZ(0,"mat-spinner",32)}function X(e,t){1&e&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND")," "))}function $(e,t){1&e&&(n.TgZ(0,"app-alert",34),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT")," "))}function ee(e,t){if(1&e&&(n.TgZ(0,"div"),n.YNc(1,X,3,3,"app-alert",33),n.YNc(2,$,3,3,"app-alert",33),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",0===i.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===i.dataSource.filteredData.length&&0!==i.table.length)}}var te=function(){var e=function(){function e(t,i,r){_classCallCheck(this,e),this.router=t,this.authResolver=i,this.registrarManager=r,this.applications=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.displayedColumns=["id","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","createdAt","modifiedBy","modifiedAt","fedInfo"],this.loading=!1,this.table=[],this.addedColumns=new Set,this.pageSizeOptions=a.f7}return _createClass(e,[{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.loading=!0,this.table=[],this.initialize(),this.getApplicationsData(0)}},{key:"getExportDataForColumn",value:function(e,t){var i,n,r,o;switch(t){case"id":return e.id.toString();case"voId":return e.vo.id.toString();case"voName":return e.vo.name;case"groupId":return null!==(n=null===(i=e.group)||void 0===i?void 0:i.id.toString())&&void 0!==n?n:"";case"groupName":return null!==(o=null===(r=e.group)||void 0===r?void 0:r.name)&&void 0!==o?o:"";case"type":return e.type;case"fedInfo":return e.fedInfo;case"state":return e.state;case"extSourceName":return e.extSourceName;case"extSourceType":return e.extSourceType;case"user":return e.user?(0,a.bD)(e.user):"";case"createdBy":return e.createdBy;case"createdAt":return e.createdAt;case"modifiedBy":return e.modifiedBy;case"modifiedAt":return e.modifiedAt;default:return e[t]}}},{key:"exportData",value:function(e){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"getApplicationsData",value:function(e){var t=this;if(this.applications.length!==e){var i=this.applications[e],n={};n.id=i.id,n.vo=i.vo,n.group=i.group,n.type=i.type,n.fedInfo=i.fedInfo,n.state=i.state,n.extSourceName=i.extSourceName,n.extSourceType=i.extSourceType,n.extSourceLoa=i.extSourceLoa,n.user=i.user,n.createdBy=i.createdBy,n.createdAt=i.createdAt,n.modifiedBy=i.modifiedBy,n.modifiedAt=i.modifiedAt,this.registrarManager.getApplicationDataById(i.id).subscribe(function(i){var r,o=_createForOfIteratorHelper(i);try{for(o.s();!(r=o.n()).done;){var a=r.value;null!==a.formItem.i18n.en.label&&0!==a.formItem.i18n.en.label.length?(n[a.formItem.i18n.en.label]=a.value,t.addedColumns.add(a.formItem.i18n.en.label)):(n[a.shortname]=a.value,t.addedColumns.add(a.shortname))}}catch(s){o.e(s)}finally{o.f()}t.table.push(n),t.getApplicationsData(e+1)})}else this.initialize()}},{key:"initialize",value:function(){var e,t=_createForOfIteratorHelper(this.addedColumns);try{for(t.s();!(e=t.n()).done;){var i=e.value;this.displayedColumns.push(i)}}catch(n){t.e(n)}finally{t.f()}this.dataSource=new o.by(this.table),this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage(),this.loading=!1}},{key:"getFriendlyName",value:function(e){var t=e.lastIndexOf("/CN=");if(-1!==t){var i=e.slice(t+4,e.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?e.slice(e.lastIndexOf("=")+1,e.length):i}return e}},{key:"selectApplication",value:function(e){return this.disableRouting?null:this.group?["/organizations",e.vo.id,"groups",this.group.id,"applications",e.id]:this.member?["/organizations",e.vo.id,"members",this.member.id,"applications",e.id]:["/organizations",e.vo.id,"applications",e.id]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(c.F0),n.Y36(s.x4),n.Y36(r.tk))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-perun-web-apps-application-list-details"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(a.l9,7),2&e)&&(n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{applications:"applications",group:"group",member:"member",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:53,vars:12,consts:[[1,"card","mt-2","w-100",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","voId"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","createdAt"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","fedInfo"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[1,"ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,v,3,3,"th",4),n.YNc(5,m,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,y,3,3,"th",4),n.YNc(8,_,2,1,"td",5),n.BQk(),n.ynx(9,7),n.YNc(10,b,3,3,"th",4),n.YNc(11,w,2,1,"td",5),n.BQk(),n.ynx(12,8),n.YNc(13,A,3,3,"th",4),n.YNc(14,k,2,1,"td",5),n.BQk(),n.ynx(15,9),n.YNc(16,C,3,3,"th",4),n.YNc(17,T,2,1,"td",5),n.BQk(),n.ynx(18,10),n.YNc(19,E,3,3,"th",4),n.YNc(20,S,2,1,"td",11),n.BQk(),n.ynx(21,12),n.YNc(22,I,3,3,"th",4),n.YNc(23,R,2,1,"td",11),n.BQk(),n.ynx(24,13),n.YNc(25,x,3,3,"th",4),n.YNc(26,O,2,1,"td",11),n.BQk(),n.ynx(27,14),n.YNc(28,P,3,3,"th",4),n.YNc(29,D,2,1,"td",11),n.BQk(),n.ynx(30,15),n.YNc(31,M,3,3,"th",4),n.YNc(32,L,3,3,"td",11),n.BQk(),n.ynx(33,16),n.YNc(34,N,3,3,"th",4),n.YNc(35,z,2,1,"td",11),n.BQk(),n.ynx(36,17),n.YNc(37,Z,3,3,"th",4),n.YNc(38,B,3,4,"td",11),n.BQk(),n.ynx(39,18),n.YNc(40,F,3,3,"th",4),n.YNc(41,q,2,1,"td",11),n.BQk(),n.ynx(42,19),n.YNc(43,H,3,3,"th",4),n.YNc(44,U,3,4,"td",11),n.BQk(),n.YNc(45,Y,3,1,"ng-container",20),n.ynx(46,21),n.YNc(47,K,3,3,"th",4),n.YNc(48,V,2,1,"td",11),n.BQk(),n.YNc(49,J,1,0,"tr",22),n.YNc(50,Q,1,4,"tr",23),n.qZA(),n.qZA(),n.qZA(),n.YNc(51,W,1,0,"mat-spinner",24),n.YNc(52,ee,3,2,"div",25)),2&e&&(n.ekj("hide-table",t.loading),n.Q6J("hidden",0===t.table.length||!!t.dataSource&&0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(43),n.Q6J("ngForOf",t.addedColumns),n.xp6(4),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",t.loading),n.xp6(1),n.Q6J("ngIf",!t.loading))},directives:[u.l,o.BZ,o.w1,o.fO,o.Dz,l.sg,o.as,o.nj,l.O5,o.ge,o.ev,o.XQ,o.Gk,h.YH,c.rH,d.$g,f.w],pipes:[p.X$,g.d,l.uU],styles:[".mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%], mat-cell[_ngcontent-%COMP%], mat-header-cell[_ngcontent-%COMP%]{padding:8px!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}()},21548:function(e,t,i){"use strict";i.d(t,{M:function(){return U}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),c=i(82819),u=i(61511),l=i(43691),h=i(36922),d=i(84534),f=i(57629),p=i(39571),g=i(48160),v=i(84650),m=i(22196);function y(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_ID")))}function _(e,t){if(1&e&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function b(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_CREATED_DATE")))}function w(e,t){if(1&e&&(n.TgZ(0,"td",18),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.createdAt,"d.M.y"))}}function A(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_TYPE")))}function k(e,t){1&e&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",20),n._uU(2,"arrow_right_alt"),n.qZA(),n.qZA())}function C(e,t){1&e&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",21),n._uU(2,"restore"),n.qZA(),n.qZA())}function T(e,t){1&e&&(n.TgZ(0,"div"),n.TgZ(1,"mat-icon",22),n._uU(2,"nat"),n.qZA(),n.qZA())}function E(e,t){if(1&e&&(n.TgZ(0,"td",18),n.YNc(1,k,3,0,"div",19),n.YNc(2,C,3,0,"div",19),n.YNc(3,T,3,0,"div",19),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("ngIf","INITIAL"===i.type),n.xp6(1),n.Q6J("ngIf","EXTENSION"===i.type),n.xp6(1),n.Q6J("ngIf","EMBEDDED"===i.type)}}function S(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_STATE")))}function I(e,t){if(1&e&&(n.TgZ(0,"td",18),n._UZ(1,"span",23),n.ALo(2,"applicationState"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("outerHTML",n.lcZ(2,1,i.state),n.oJD)}}function R(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_SUBMITTED_BY")))}function x(e,t){if(1&e&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&e){var i=n.oxw().$implicit;n.xp6(1),n.hij(" ",i.createdBy.slice(i.createdBy.lastIndexOf("=")+1,i.createdBy.length)," ")}}function O(e,t){if(1&e&&(n._uU(0),n.ALo(1,"userFullName")),2&e){var i=n.oxw().$implicit;n.hij(" ",n.lcZ(1,1,i.user)," ")}}function P(e,t){if(1&e&&(n.TgZ(0,"td",18),n.YNc(1,x,2,1,"div",24),n.YNc(2,O,2,3,"ng-template",null,25,n.W1O),n.qZA()),2&e){var i=t.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===i.user)("ngIfElse",r)}}function D(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_GROUP_NAME")))}function M(e,t){1&e&&(n.TgZ(0,"div",28),n._uU(1," - "),n.qZA())}function L(e,t){if(1&e&&n._uU(0),2&e){var i=n.oxw().$implicit;n.hij(" ",i.group.name," ")}}function N(e,t){if(1&e&&(n.TgZ(0,"td",18),n.YNc(1,M,2,0,"div",26),n.YNc(2,L,1,1,"ng-template",null,27,n.W1O),n.qZA()),2&e){var i=t.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",null===i.group)("ngIfElse",r)}}function z(e,t){1&e&&(n.TgZ(0,"th",16),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"VO_DETAIL.APPLICATION.TABLE_MODIFIED_BY")))}function Z(e,t){if(1&e&&(n.TgZ(0,"td",18),n._uU(1),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.getFriendlyName(i.modifiedBy))}}function B(e,t){1&e&&n._UZ(0,"tr",29)}function F(e,t){if(1&e&&n._UZ(0,"tr",30),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.selectApplication(i))("routerLink",r.selectApplication(i))}}function q(e,t){1&e&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}function H(e,t){1&e&&(n.TgZ(0,"app-alert",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var U=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authResolver=t,this.applications=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.page=new n.vpe,this.pageSizeOptions=a.f7}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e}))}},{key:"ngOnChanges",value:function(){this.setDataSource()}},{key:"getSortDataForColumn",value:function(e,t,i){var n;switch(t){case"id":return e.id.toString();case"createdAt":return e.createdAt;case"type":return e.type;case"state":return e.state;case"user":return e.user?e.user.lastName?e.user.lastName:null!==(n=e.user.firstName)&&void 0!==n?n:"":e.createdBy.slice(e.createdBy.lastIndexOf("=")+1,e.createdBy.length);case"group":return e.group?e.group.name:"";case"modifiedBy":return i.parseModifiedBy(e);default:return""}}},{key:"getDataForColumn",value:function(e,t,i){switch(t){case"id":return e.id.toString();case"createdAt":return e.createdAt;case"type":return e.type;case"state":return e.state;case"user":return e.user?(0,a.bD)(e.user):e.createdBy.slice(e.createdBy.lastIndexOf("=")+1,e.createdBy.length);case"group":return e.group?e.group.name:"";case"modifiedBy":return i.parseModifiedBy(e);default:return""}}},{key:"parseModifiedBy",value:function(e){var t=e.modifiedBy.lastIndexOf("/CN=");if(-1!==t){var i=e.modifiedBy.slice(t+4,e.modifiedBy.length).replace("/unstructuredName="," ").toLowerCase();return-1!==i.lastIndexOf("\\")?e.modifiedBy.slice(e.modifiedBy.lastIndexOf("=")+1,e.modifiedBy.length):i}return e.modifiedBy.toLowerCase()}},{key:"exportData",value:function(e){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,a.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,a.pR)(t,i,e.getSortDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.applications}},{key:"getFriendlyName",value:function(e){var t=e.lastIndexOf("/CN=");if(-1!==t){var i=e.slice(t+4,e.length).replace("/unstructuredName="," ");return-1!==i.lastIndexOf("\\")?e.slice(e.lastIndexOf("=")+1,e.length):i}return e}},{key:"selectApplication",value:function(e){return this.disableRouting?null:this.group?["/organizations",e.vo.id,"groups",this.group.id,"applications",e.id]:this.member?["/organizations",e.vo.id,"members",this.member.id,"applications",e.id]:["/organizations",e.vo.id,"applications",e.id]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(s.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-applications-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{applications:"applications",group:"group",member:"member",displayedColumns:"displayedColumns",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","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","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","user"],["matColumnDef","group"],["matColumnDef","modifiedBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],["class","font-italic text-muted",4,"ngIf","ngIfElse"],["groupName",""],[1,"font-italic","text-muted"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,y,3,3,"th",4),n.YNc(5,_,2,1,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,b,3,3,"th",4),n.YNc(8,w,3,4,"td",7),n.BQk(),n.ynx(9,8),n.YNc(10,A,3,3,"th",4),n.YNc(11,E,4,3,"td",7),n.BQk(),n.ynx(12,9),n.YNc(13,S,3,3,"th",4),n.YNc(14,I,3,3,"td",7),n.BQk(),n.ynx(15,10),n.YNc(16,R,3,3,"th",4),n.YNc(17,P,4,2,"td",7),n.BQk(),n.ynx(18,11),n.YNc(19,D,3,3,"th",4),n.YNc(20,N,4,2,"td",7),n.BQk(),n.ynx(21,12),n.YNc(22,z,3,3,"th",4),n.YNc(23,Z,2,1,"td",7),n.BQk(),n.YNc(24,B,1,0,"tr",13),n.YNc(25,F,1,4,"tr",14),n.qZA(),n.qZA(),n.qZA(),n.YNc(26,q,3,3,"app-alert",15),n.YNc(27,H,3,3,"app-alert",15)),2&e&&(n.Q6J("hidden",0===t.applications.length||!t.dataSource||0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(22),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.applications.length),n.xp6(1),n.Q6J("ngIf",!!t.dataSource&&0===t.dataSource.filteredData.length&&0!==t.applications.length))},directives:[c.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,r.nU,o.ev,l.Hw,h.gM,o.XQ,o.Gk,d.YH,f.rH,p.w],pipes:[g.X$,u.uU,v.h,m.d],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}()},62284:function(e,t,i){"use strict";i.d(t,{W:function(){return S}});var n=i(33642),r=i(60611),o=i(88426),a=i(16073),s=i(61511),c=i(31572),u=i(57629),l=i(59403),h=i(66283),d=i(4786),f=i(71522),p=i(91058),g=i(51613),v=i(15980),m=i(67806),y=i(21548),_=i(29851),b=i(48160);function w(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(i),c.oxw().showAllDetails=!0}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&e&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function A(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(i),c.oxw().showAllDetails=!1}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&e&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function k(e,t){1&e&&c._UZ(0,"mat-spinner",16)}function C(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"app-applications-list",19),c.NdJ("page",function(e){return c.CHM(i),c.oxw(2).pageChanged(e)}),c.qZA()}if(2&e){var n=c.oxw(2);c.Q6J("pageSize",n.pageSize)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)("applications",n.applications)("displayedColumns",n.displayedColumns)("group",n.group)}}function T(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"app-perun-web-apps-application-list-details",20),c.NdJ("page",function(e){return c.CHM(i),c.oxw(2).detailPageChanged(e)}),c.qZA()}if(2&e){var n=c.oxw(2);c.Q6J("pageSize",n.detailPageSize)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)("applications",n.applications)("group",n.group)}}function E(e,t){if(1&e&&(c.TgZ(0,"div"),c.YNc(1,C,1,6,"app-applications-list",17),c.YNc(2,T,1,5,"app-perun-web-apps-application-list-details",18),c.qZA()),2&e){var i=c.oxw();c.xp6(1),c.Q6J("ngIf",!i.showAllDetails),c.xp6(1),c.Q6J("ngIf",i.showAllDetails)}}var S=function(){var e=function(){function e(t,i,n,o,a,s){_classCallCheck(this,e),this.groupService=t,this.registrarManager=i,this.tableConfigService=n,this.route=o,this.guiAuthResolver=a,this.store=s,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=r.Af,this.tableId=r.gB,this.routeAuth=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(t){e.groupService.getGroupById(t.groupId).subscribe(function(t){e.group=t,e.setData(["NEW","VERIFIED"])}),e.startDate=new a.NI((0,s.p6)(e.yearAgo(),"yyyy-MM-dd","en-GB")),e.endDate=new a.NI((0,s.p6)(new Date,"yyyy-MM-dd","en-GB"))})}},{key:"setAuth",value:function(){0!==this.applications.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("group-getApplicationById_int_policy",[this.group]))}},{key:"setData",value:function(e){var t=this;this.registrarManager.getApplicationsForGroup(this.group.id,e,(0,s.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,s.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(function(e){t.applications=e,t.setAuth(),t.loading=!1})}},{key:"select",value:function(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}},{key:"yearAgo",value:function(){var e=new Date,t=e.getFullYear()-1,i=e.getMonth(),n=e.getDate();return new Date(t,i,n)}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"detailPageChanged",value:function(e){this.detailPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,e.pageSize)}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="GroupApplicationsComponent",e.\u0275fac=function(t){return new(t||e)(c.Y36(n.ff),c.Y36(n.tk),c.Y36(r.dB),c.Y36(u.gz),c.Y36(o.x4),c.Y36(o.d6))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(e,t){2&e&&c.ekj("router-component",t.true)},decls:34,vars:32,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","group","page",4,"ngIf"],[3,"pageSize","disableRouting","filterValue","applications","displayedColumns","group","page"],[3,"pageSize","disableRouting","filterValue","applications","group","page"]],template:function(e,t){1&e&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"div"),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return t.select()}),c.qZA(),c.YNc(5,w,3,3,"button",2),c.YNc(6,A,3,3,"button",2),c.TgZ(7,"mat-form-field",3),c.TgZ(8,"mat-label"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"mat-select",4),c.NdJ("selectionChange",function(){return t.select()})("valueChange",function(e){return t.state=e}),c.TgZ(12,"mat-option",5),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.TgZ(15,"mat-option",6),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"mat-option",7),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"mat-option",8),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.TgZ(24,"mat-option",9),c._uU(25),c.ALo(26,"translate"),c.qZA(),c.TgZ(27,"mat-option",10),c._uU(28),c.ALo(29,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(30,"perun-web-apps-debounce-filter",11),c.NdJ("filter",function(e){return t.applyFilter(e)}),c.qZA(),c.TgZ(31,"perun-web-apps-date-range",12),c.NdJ("datePicker",function(){return t.select()}),c.qZA(),c.qZA(),c.YNc(32,k,1,0,"mat-spinner",13),c.YNc(33,E,3,2,"div",14)),2&e&&(c.xp6(1),c.Oqu(c.lcZ(2,16,"VO_DETAIL.APPLICATION.TITLE")),c.xp6(4),c.Q6J("ngIf",!t.showAllDetails),c.xp6(1),c.Q6J("ngIf",t.showAllDetails),c.xp6(3),c.Oqu(c.lcZ(10,18,"VO_DETAIL.APPLICATION.TABLE_STATE")),c.xp6(2),c.Q6J("value",t.state),c.xp6(2),c.Oqu(c.lcZ(14,20,"VO_DETAIL.APPLICATION.SELECTION_ALL")),c.xp6(3),c.Oqu(c.lcZ(17,22,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),c.xp6(3),c.Oqu(c.lcZ(20,24,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),c.xp6(3),c.Oqu(c.lcZ(23,26,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),c.xp6(3),c.Oqu(c.lcZ(26,28,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),c.xp6(3),c.Oqu(c.lcZ(29,30,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),c.xp6(2),c.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),c.xp6(1),c.Q6J("startDate",t.startDate)("endDate",t.endDate),c.xp6(1),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[l.t,s.O5,h.KE,h.hX,d.gD,f.ey,p.P,g.S,v.lW,m.$g,y.M,_.w],pipes:[b.X$],styles:[""]}),e}()},11930:function(e,t,i){"use strict";i.d(t,{y:function(){return N}});var n=i(4230),r=i(88426),o=i(67004),a=i(85613),s=i(4374),c=i(33642),u=i(60611),l=i(84140),h=i(88690),d=i(16073),f=i(31572),p=i(57629),g=i(84608),v=i(61511),m=i(59403),y=i(36922),_=i(66283),b=i(4786),w=i(91058),A=i(39571),k=i(15980),C=i(71522),T=i(67806),E=i(91779),S=i(48160);function I(e,t){1&e&&(f.TgZ(0,"app-alert",14),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&e&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function R(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onAddMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("disabled",n.synchEnabled||n.blockManualMemberAdding),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function x(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onInviteMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("disabled",n.synchEnabled),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function O(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",16),f.NdJ("click",function(){return f.CHM(i),f.oxw().onRemoveMembers()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("disabled",n.selection.isEmpty()||n.synchEnabled),f.xp6(1),f.hij(" ",f.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function P(e,t){if(1&e&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&e){var i=t.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function D(e,t){if(1&e&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&e){var i=t.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function M(e,t){1&e&&f._UZ(0,"mat-spinner",18)}function L(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"perun-web-apps-members-dynamic-list",19),f.NdJ("page",function(e){return f.CHM(i),f.oxw().pageChanged(e)}),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("voId",n.group.voId)("groupId",n.group.id)("pageSize",n.pageSize)("selection",n.selection)("displayedColumns",n.displayedColumns)("updateTable",n.updateTable)("searchString",n.searchString)("selectedStatuses",n.selectedStatuses)("selectedGroupStatuses",n.selectedGroupStatuses)("attrNames",n.memberAttrNames)}}var N=function(){var e=function(){function e(t,i,n,r,a,s,c,l,h){_classCallCheck(this,e),this.groupService=t,this.route=i,this.tableConfigService=n,this.dialog=r,this.guiAuthResolver=a,this.storeService=s,this.attributesManager=c,this.apiRequest=l,this.notificator=h,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=u.dI,this.memberAttrNames=[o.r.MEMBER_DEF_ORGANIZATION,o.r.MEMBER_DEF_MAIL,o.r.USER_DEF_ORGANIZATION,o.r.USER_DEF_PREFERRED_MAIL,o.r.MEMBER_DEF_EXPIRATION,o.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[o.r.GROUP_SYNC_ENABLED,o.r.GROUP_LAST_SYNC_STATE,o.r.GROUP_LAST_SYNC_TIMESTAMP,o.r.GROUP_STRUCTURE_SYNC_ENABLED,o.r.GROUP_LAST_STRUCTURE_SYNC_STATE,o.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new d.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new d.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new n.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(function(t){var i=t.groupId;e.isManualAddingBlocked(t.voId,i).then(function(){return e.loadPage(i)})})}},{key:"loadPage",value:function(e){var t=this;this.groupService.getRichGroupByIdWithAttributesByNames(e,this.groupAttrNames).subscribe(function(e){t.group=e,t.synchEnabled=t.isSynchronized(),t.setAuthRights(),t.loading=!1})}},{key:"isSynchronized",value:function(){return this.group.attributes.some(function(e){return"synchronizationEnabled"===e.friendlyName&&null!==e.value&&"true"===e.value.toString()})}},{key:"setAuthRights",value:function(){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])}},{key:"onSearchByString",value:function(e){this.searchString=e,this.updateTable=!this.updateTable}},{key:"onAddMember",value:function(){var e=this,t=(0,l.kZ)();t.width="1000px",t.data={voId:this.group.voId,group:this.group,entityId:this.group.id,theme:"group-theme",type:"group"},this.dialog.open(a.o,t).afterClosed().subscribe(function(t){t&&(e.selection.clear(),e.updateTable=!e.updateTable)})}},{key:"onRemoveMembers",value:function(){var e=this,t=(0,l.kZ)();t.width="450px",t.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(s.X,t).afterClosed().subscribe(function(t){t&&(e.selection.clear(),e.updateTable=!e.updateTable)})}},{key:"onInviteMember",value:function(){var e=(0,l.kZ)();e.width="650px",e.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(h.R,e)}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"displaySelectedStatuses",value:function(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?"".concat(this.statuses.value[0]," ").concat(this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""):""}},{key:"displaySelectedGroupStatuses",value:function(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":"".concat(this.groupStatuses.value[0])}},{key:"isManualAddingBlocked",value:function(e,t){var i=this;return new Promise(function(n){i.apiRequest.dontHandleErrorForNext(),i.attributesManager.getVoAttributeByName(e,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(function(e){i.blockManualMemberAdding=null!==e.value,!0!==i.blockManualMemberAdding?(i.apiRequest.dontHandleErrorForNext(),i.attributesManager.getGroupAttributeByName(t,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(function(e){i.blockManualMemberAdding=null!==e.value,n()},function(e){"PrivilegeException"!==e.error.name&&i.notificator.showError(e),n()})):n()},function(e){"PrivilegeException"!==e.error.name&&i.notificator.showError(e),n()})})}},{key:"changeVoStatuses",value:function(){this.selectedStatuses=this.statuses.value}},{key:"changeGroupStatuses",value:function(){this.selectedGroupStatuses=this.groupStatuses.value}}]),e}();return e.id="GroupMembersComponent",e.\u0275fac=function(t){return new(t||e)(f.Y36(c.ff),f.Y36(p.gz),f.Y36(u.dB),f.Y36(g.uw),f.Y36(r.x4),f.Y36(r.d6),f.Y36(c.H8),f.Y36(r.F5),f.Y36(r.V6))},e.\u0275cmp=f.Xpm({type:e,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("router-component",t.true)},decls:36,vars:41,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page",4,"ngIf"],["alert_type","warn"],["color","accent","mat-flat-button","",1,"mr-2",3,"disabled","click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","pageSize","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames","page"]],template:function(e,t){1&e&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,I,3,3,"app-alert",1),f.TgZ(4,"div",2),f.TgZ(5,"perun-web-apps-refresh-button",3),f.NdJ("click",function(){return t.updateTable=!t.updateTable}),f.qZA(),f.TgZ(6,"span",4),f.ALo(7,"translate"),f.TgZ(8,"div",5),f.ALo(9,"translate"),f.YNc(10,R,3,4,"button",6),f.qZA(),f.qZA(),f.TgZ(11,"span",4),f.ALo(12,"translate"),f.YNc(13,x,3,4,"button",6),f.qZA(),f.TgZ(14,"span",4),f.ALo(15,"translate"),f.YNc(16,O,3,4,"button",7),f.qZA(),f.TgZ(17,"mat-form-field",8),f.TgZ(18,"mat-label"),f._uU(19),f.ALo(20,"translate"),f.qZA(),f.TgZ(21,"mat-select",9),f.NdJ("closed",function(){return t.changeVoStatuses()}),f.TgZ(22,"mat-select-trigger"),f._uU(23),f.qZA(),f.YNc(24,P,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(25,"mat-form-field",8),f.TgZ(26,"mat-label"),f._uU(27),f.ALo(28,"translate"),f.qZA(),f.TgZ(29,"mat-select",9),f.NdJ("closed",function(){return t.changeGroupStatuses()}),f.TgZ(30,"mat-select-trigger"),f._uU(31),f.qZA(),f.YNc(32,D,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(33,"perun-web-apps-debounce-filter",11),f.NdJ("filter",function(e){return t.onSearchByString(e)}),f.qZA(),f.qZA(),f.YNc(34,M,1,0,"mat-spinner",12),f.YNc(35,L,1,10,"perun-web-apps-members-dynamic-list",13)),2&e&&(f.xp6(1),f.Oqu(f.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),f.xp6(2),f.Q6J("ngIf",t.synchEnabled),f.xp6(3),f.s9C("matTooltip",f.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!t.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.s9C("matTooltip",f.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.Q6J("matTooltipDisabled",!t.blockManualMemberAdding),f.xp6(2),f.Q6J("ngIf",t.addAuth),f.xp6(1),f.s9C("matTooltip",f.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!t.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.Q6J("ngIf",t.inviteAuth),f.xp6(1),f.s9C("matTooltip",f.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),f.Q6J("matTooltipDisabled",!t.synchEnabled)("matTooltipPosition","above"),f.xp6(2),f.Q6J("ngIf",t.removeAuth),f.xp6(3),f.Oqu(f.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),f.xp6(2),f.Q6J("formControl",t.statuses),f.xp6(2),f.hij(" ",t.displaySelectedStatuses()," "),f.xp6(1),f.Q6J("ngForOf",t.statusList),f.xp6(3),f.Oqu(f.lcZ(28,39,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),f.xp6(2),f.Q6J("formControl",t.groupStatuses),f.xp6(2),f.hij(" ",t.displaySelectedGroupStatuses()," "),f.xp6(1),f.Q6J("ngForOf",t.groupStatusList),f.xp6(1),f.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),f.xp6(1),f.Q6J("ngIf",t.loading),f.xp6(1),f.Q6J("ngIf",!t.loading))},directives:[v.O5,m.t,y.gM,_.KE,_.hX,b.gD,d.JJ,d.oH,b.$L,v.sg,w.P,A.w,k.lW,C.ey,T.$g,E.m],pipes:[S.X$],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}"]}),e}()},7433:function(e,t,i){"use strict";i.d(t,{q:function(){return F}});var n=i(4230),r=i(33642),o=i(60611),a=i(84608),s=i(88426),c=(i(10896),i(31572)),u=i(48160),l=i(19139),h=i(61511),d=i(67806),f=i(88884),p=i(29236),g=i(36922),v=i(16073),m=i(15980),y=["list"];function _(e,t){1&e&&c._UZ(0,"mat-spinner",4)}var b=function(){return["select","id","name","facility","tags","description"]};function w(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"div",5),c._UZ(2,"perun-web-apps-resources-list",6,7),c.qZA(),c.TgZ(4,"div",8),c.TgZ(5,"mat-checkbox",9),c.NdJ("ngModelChange",function(e){return c.CHM(i),c.oxw().async=e}),c.ALo(6,"translate"),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.TgZ(9,"button",10),c.NdJ("click",function(){return c.CHM(i),c.oxw().onCancel()}),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.TgZ(12,"span",11),c.ALo(13,"translate"),c.TgZ(14,"button",12),c.NdJ("click",function(){return c.CHM(i),c.oxw().onSubmit()}),c._uU(15),c.ALo(16,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){var n=c.MAs(3),r=c.oxw();c.xp6(2),c.Q6J("resources",r.resources)("disableRouting",!0)("selection",r.selection)("groupToResource",r.data.group)("displayedColumns",c.DdM(24,b))("filterValue",r.filterValue),c.xp6(3),c.s9C("matTooltip",c.lcZ(6,14,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT_DESCRIPTION")),c.Q6J("ngModel",r.async),c.xp6(2),c.hij(" ",c.lcZ(8,16,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),c.xp6(3),c.hij(" ",c.lcZ(11,18,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),c.xp6(2),c.s9C("matTooltip",c.lcZ(13,20,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),c.Q6J("matTooltipDisabled",void 0===n||n.addAuth),c.xp6(2),c.Q6J("disabled",0===r.selection.selected.length||r.loading||void 0!==n&&!n.addAuth),c.xp6(1),c.hij(" ",c.lcZ(16,22,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}var A=function(){var e=function(){function e(t,i,r,o,a){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=r,this.translate=o,this.resourcesManager=a,this.filterValue="",this.resources=[],this.selection=new n.Ov(!0,[]),this.theme="",this.async=!0}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.theme=this.data.theme,this.loading=!0,this.resourcesManager.getRichResources(this.data.voId).subscribe(function(t){e.resources=t.filter(function(t){return!e.data.unwantedResources.includes(t.id)}),e.loading=!1},function(){return e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0;var t=this.selection.selected.map(function(e){return e.id});this.resourcesManager.assignGroupToResources(this.data.group.id,t,this.async).subscribe(function(){e.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(function(t){e.loading=!1,e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(a.so),c.Y36(a.WI),c.Y36(s.V6),c.Y36(u.sK),c.Y36(r.xk))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(e,t){var i;(1&e&&c.Gf(y,5),2&e)&&(c.iGM(i=c.CRH())&&(t.list=i.first))},decls:8,vars:11,consts:[["mat-dialog-title",""],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["mat-dialog-actions",""],[3,"matTooltip","ngModel","ngModelChange"],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-immediate-filter",1),c.NdJ("filter",function(e){return t.applyFilter(e)}),c.ALo(5,"translate"),c.qZA(),c.YNc(6,_,1,0,"mat-spinner",2),c.YNc(7,w,17,25,"div",3),c.qZA()),2&e&&(c.Tol(t.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),c.xp6(2),c.Q6J("placeholder",c.lcZ(5,9,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[a.uh,l.L,h.O5,d.$g,a.xY,f.C,a.H8,p.oG,g.gM,v.JJ,v.On,m.lW],pipes:[u.X$],styles:[""]}),e}(),k=i(67033);function C(e,t){1&e&&c._UZ(0,"mat-spinner",4)}function T(e,t){1&e&&c._UZ(0,"th",13)}function E(e,t){if(1&e&&(c.TgZ(0,"td",14),c._uU(1),c.qZA()),2&e){var i=t.$implicit;c.xp6(1),c.hij(" ",i.name," ")}}function S(e,t){1&e&&c._UZ(0,"tr",15)}function I(e,t){1&e&&c._UZ(0,"tr",16)}function R(e,t){if(1&e&&(c.TgZ(0,"div",5),c.TgZ(1,"p"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"div",6),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"table",7),c.ynx(8,8),c.YNc(9,T,1,0,"th",9),c.YNc(10,E,2,1,"td",10),c.BQk(),c.YNc(11,S,1,0,"tr",11),c.YNc(12,I,1,0,"tr",12),c.qZA(),c.qZA()),2&e){var i=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),c.xp6(3),c.hij(" ",c.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),c.xp6(2),c.Q6J("dataSource",i.dataSource),c.xp6(4),c.Q6J("matHeaderRowDef",i.displayedColumns),c.xp6(1),c.Q6J("matRowDefColumns",i.displayedColumns)}}function x(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"div",17),c.TgZ(1,"button",18),c.NdJ("click",function(){return c.CHM(i),c.oxw().onCancel()}),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"button",19),c.NdJ("click",function(){return c.CHM(i),c.oxw().onSubmit()}),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA()}if(2&e){var n=c.oxw();c.xp6(2),c.hij(" ",c.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),c.xp6(2),c.Q6J("disabled",n.loading),c.xp6(1),c.hij(" ",c.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}var O=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.translate=r,this.resourcesManager=o,this.displayedColumns=["name"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.dataSource=new k.by(this.data.resources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0;var t=this.data.resources.map(function(e){return e.id});this.resourcesManager.removeGroupFromResources(this.data.groupId,t).subscribe(function(){e.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(function(t){e.loading=!1,e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(a.so),c.Y36(a.WI),c.Y36(s.V6),c.Y36(u.sK),c.Y36(r.xk))},e.\u0275cmp=c.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"],["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&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,C,1,0,"mat-spinner",1),c.YNc(5,R,13,9,"div",2),c.YNc(6,x,7,7,"div",3),c.qZA()),2&e&&(c.Tol(t.data.theme),c.xp6(2),c.Oqu(c.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),c.xp6(2),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading),c.xp6(1),c.Q6J("ngIf",!t.loading))},directives:[a.uh,h.O5,d.$g,a.xY,k.BZ,k.w1,k.fO,k.Dz,k.as,k.nj,k.ge,k.ev,k.XQ,k.Gk,a.H8,m.lW],pipes:[u.X$],styles:[""]}),e}(),P=i(84140),D=i(57629),M=i(59403),L=["list"];function N(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"button",8),c.NdJ("click",function(){return c.CHM(i),c.oxw().addResource()}),c._uU(1),c.ALo(2,"translate"),c.qZA()}2&e&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function z(e,t){1&e&&c._UZ(0,"mat-spinner",9)}var Z=function(){return["select","id","name","status","facility","tags","description"]};function B(e,t){if(1&e){var i=c.EpF();c.TgZ(0,"perun-web-apps-resources-list",10,11),c.NdJ("page",function(e){return c.CHM(i),c.oxw().pageChanged(e)})("refreshTable",function(){return c.CHM(i),c.oxw().refreshTable()}),c.qZA()}if(2&e){var n=c.oxw();c.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routingAuth)("selection",n.selected)("groupToResource",n.group)("groupId",n.groupId)("displayedColumns",c.DdM(9,Z))}}var F=function(){var e=function(){function e(t,i,r,a,s,c){_classCallCheck(this,e),this.resourcesManager=t,this.groupService=i,this.tableConfigService=r,this.route=a,this.dialog=s,this.guiAuthResolver=c,this.resources=null,this.selected=new n.Ov(!0,[]),this.filterValue="",this.tableId=o.v1,this.addAuth=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.groupId=t.groupId,e.voId=t.voId,e.groupService.getGroupById(e.groupId).subscribe(function(t){e.group=t,e.refreshTable()})})}},{key:"setAuthorization",value:function(){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])}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(function(t){e.resources=t.map(function(e){var t=e.enrichedResource.resource;return t.facility=e.facility,t.status=e.status,t.resourceTags=e.resourceTags,t.failureCause=e.failureCause,t}),e.selected.clear(),e.setAuthorization(),e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"addResource",value:function(){var e=this,t=(0,P.kZ)();t.width="1000px",t.data={theme:"group-theme",group:this.group,voId:this.voId,unwantedResources:this.resources.map(function(e){return e.id})},this.dialog.open(A,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"removeResource",value:function(){var e=this,t=(0,P.kZ)();t.width="450px",t.data={theme:"group-theme",resources:this.selected.selected,groupId:this.groupId},this.dialog.open(O,t).afterClosed().subscribe(function(t){t&&(e.selected.clear(),e.refreshTable())})}}]),e}();return e.id="GroupResourcesComponent",e.\u0275fac=function(t){return new(t||e)(c.Y36(r.xk),c.Y36(r.ff),c.Y36(o.dB),c.Y36(D.gz),c.Y36(a.uw),c.Y36(s.x4))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-group-resources"]],viewQuery:function(e,t){var i;(1&e&&c.Gf(L,5),2&e)&&(c.iGM(i=c.CRH())&&(t.list=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&c.ekj("router-component",t.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","displayedColumns","page","refreshTable"],["list",""]],template:function(e,t){1&e&&(c.TgZ(0,"div"),c.TgZ(1,"h1",0),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.TgZ(4,"perun-web-apps-refresh-button",1),c.NdJ("refresh",function(){return t.refreshTable()}),c.qZA(),c.YNc(5,N,3,3,"button",2),c.TgZ(6,"span",3),c.ALo(7,"translate"),c.TgZ(8,"button",4),c.NdJ("click",function(){return t.removeResource()}),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.TgZ(11,"perun-web-apps-immediate-filter",5),c.NdJ("filter",function(e){return t.applyFilter(e)}),c.qZA(),c.YNc(12,z,1,0,"mat-spinner",6),c.YNc(13,B,2,10,"perun-web-apps-resources-list",7),c.qZA()),2&e&&(c.xp6(2),c.Oqu(c.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),c.xp6(3),c.Q6J("ngIf",t.addAuth),c.xp6(1),c.s9C("matTooltip",c.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),c.Q6J("matTooltipDisabled",0===t.selected.selected.length||void 0!==t.list&&t.list.removeAuth),c.xp6(2),c.Q6J("disabled",0===t.selected.selected.length||void 0!==t.list&&!t.list.removeAuth),c.xp6(1),c.hij(" ",c.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),c.xp6(2),c.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),c.xp6(1),c.Q6J("ngIf",t.loading),c.xp6(1),c.Q6J("ngIf",t.resources&&!t.loading))},directives:[M.t,h.O5,g.gM,m.lW,l.L,d.$g,f.C],pipes:[u.X$],styles:[""]}),e}()},65423:function(e,t,i){"use strict";i.d(t,{Z:function(){return B}});var n=i(88426),r=i(92438),o=i(75954),a=i(68570),s=i(24555),c=i(33642),u=i(84140),l=i(31572),h=i(57629),d=i(84608),f=i(48160),p=i(61511),g=i(67806),v=i(43691),m=i(36922),y=i(27679),_=i(59403),b=i(15980),w=i(92846),A=i(27521),k=i(16073),C=i(39571),T=["autoRegToggle"];function E(e,t){1&e&&l._UZ(0,"mat-spinner",3)}function S(e,t){if(1&e&&(l.TgZ(0,"span"),l._uU(1," , "),l.TgZ(2,"mat-icon",21),l._uU(3,"nat"),l.qZA(),l._uU(4),l.ALo(5,"translate"),l.ALo(6,"translate"),l.qZA()),2&e){var i=l.oxw(2);l.xp6(4),l.hij(" ",i.applicationForm.automaticApprovalEmbedded?l.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function I(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"mat-slide-toggle",22,23),l.NdJ("change",function(){return l.CHM(i),l.oxw(2).updateAutoRegistration()}),l._uU(3),l.ALo(4,"translate"),l.qZA(),l.qZA()}if(2&e){var n=l.oxw(2);l.xp6(1),l.Q6J("disabled",!n.changeAutoRegistration)("ngModel",n.autoRegistrationEnabled),l.xp6(2),l.hij(" ",l.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function R(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&e&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function x(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",25),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function O(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",26),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&e){var n=l.oxw(2);l.Q6J("disabled",!n.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function P(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",27),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&e&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function D(e,t){1&e&&(l.TgZ(0,"app-alert",28),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}var M=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},L=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function N(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.YNc(21,S,7,5,"span",2),l.qZA(),l.YNc(22,I,5,5,"div",2),l.qZA(),l.TgZ(23,"div",9),l.YNc(24,R,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(25,"mat-divider",11),l.TgZ(26,"div",12),l.TgZ(27,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().updateFormItems()}),l.qZA(),l.YNc(28,x,3,3,"button",14),l.YNc(29,O,5,4,"button",15),l.YNc(30,P,5,3,"button",16),l.TgZ(31,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw().preview()}),l.TgZ(32,"i",18),l._uU(33,"search"),l.qZA(),l._uU(34),l.ALo(35,"translate"),l.qZA(),l.qZA(),l.YNc(36,D,3,3,"app-alert",19),l.TgZ(37,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(i),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(2),l.Q6J("ngClass",n.autoRegistrationEnabled?"w-75":"w-50"),l.xp6(2),l.AsE("",l.lcZ(5,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",n.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,21,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",n.applicationForm.automaticApproval?l.lcZ(14,23,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,25,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",n.applicationForm.automaticApprovalExtension?l.lcZ(19,27,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,29,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(3),l.Q6J("ngIf",n.autoRegistrationEnabled),l.xp6(1),l.Q6J("ngIf",n.voHasEmbeddedGroupApplication),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.hij(" ",l.lcZ(35,31,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("loading",n.loading)("applicationForm",n.applicationForm)("applicationFormItems",n.applicationFormItems)("theme","group-theme")("displayedColumns",n.editAuth?l.DdM(33,M):l.DdM(34,L))}}function z(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).createEmptyApplicationForm()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Z(e,t){if(1&e&&(l.TgZ(0,"div"),l.TgZ(1,"app-alert",29),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,z,3,3,"button",30),l.qZA()),2&e){var i=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),l.xp6(2),l.Q6J("ngIf",i.createEmptyForm)}}var B=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l){_classCallCheck(this,e),this.registrarManager=t,this.route=i,this.dialog=n,this.notificator=r,this.translate=o,this.apiRequest=a,this.router=s,this.guiAuthResolver=c,this.groupsManager=u,this.attributesManager=l,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.idCounter=-1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.voId=t.voId,e.groupId=t.groupId,e.groupsManager.getGroupById(e.groupId).subscribe(function(t){e.group=t,e.apiRequest.dontHandleErrorForNext(),e.registrarManager.getGroupApplicationForm(e.groupId).subscribe(function(t){e.applicationForm=t,e.registrarManager.getFormItemsForGroup(e.groupId).subscribe(function(t){e.applicationFormItems=t,e.attributesManager.getGroupAttributeByName(e.groupId,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(function(t){e.voHasEmbeddedGroupApplication=null!==t.value,e.autoRegistrationEnabled=!!t.value,e.setAuth(),e.loading=!1})},function(){return e.loading=!1})},function(t){"FormNotExistsException"===t.error.name?(e.noApplicationForm=!0,e.setAuth(),e.loading=!1):e.notificator.showRPCError(t.error)})},function(){return e.loading=!1})})}},{key:"setAuth",value:function(){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])}},{key:"add",value:function(){var e=this,t=(0,u.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(r.J,t).afterClosed().subscribe(function(i){i&&(e.applicationFormItems=Object.assign([],i[0]),(t=(0,u.kZ)()).width="600px",t.height="600px",t.data={voId:e.voId,groupId:e.groupId,applicationFormItem:i[1],theme:"group-theme",allItems:e.applicationFormItems},e.dialog.open(o._,t),e.itemsChanged=!0)})}},{key:"copy",value:function(){var e=this,t=(0,u.kZ)();t.width="500px",t.data={voId:this.voId,groupId:this.groupId,theme:"group-theme"},this.dialog.open(a.W,t).afterClosed().subscribe(function(t){t&&e.updateFormItems()})}},{key:"settings",value:function(){var e=this,t=(0,u.kZ)();t.width="400px",t.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(s.E,t).afterClosed().subscribe(function(t){t&&(e.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.applicationForm=t)})}},{key:"preview",value:function(){this.router.navigate(["/organizations",this.voId,"groups",this.groupId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}},{key:"updateFormItems",value:function(){var e=this;this.loading=!0,this.registrarManager.getFormItemsForGroup(this.groupId).subscribe(function(t){e.applicationFormItems=t,e.itemsChanged=!1,e.loading=!1})}},{key:"changeItems",value:function(){this.itemsChanged=!0}},{key:"createEmptyApplicationForm",value:function(){var e=this;this.registrarManager.createApplicationFormInGroup(this.groupId).subscribe(function(){e.noApplicationForm=!1,e.ngOnInit()})}},{key:"save",value:function(){var e,t=this,i=0,n=_createForOfIteratorHelper(this.applicationFormItems);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.ordnum=i,r.forDelete||i++}}catch(o){n.e(o)}finally{n.f()}this.registrarManager.updateFormItemsForGroup({group:this.groupId,items:this.applicationFormItems}).subscribe(function(){t.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateFormItems()})}},{key:"clear",value:function(){this.applicationFormItems=[],this.itemsChanged=!0}},{key:"updateAutoRegistration",value:function(){var e=this;this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(function(){e.autoRegistrationEnabled=!e.autoRegistrationEnabled,e.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.autoRegToggle.setDisabledState(!1)},function(){return e.autoRegToggle.setDisabledState(!1)}):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(function(){e.autoRegistrationEnabled=!e.autoRegistrationEnabled,e.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.autoRegToggle.setDisabledState(!1)},function(){return e.autoRegToggle.setDisabledState(!1)})}}]),e}();return e.id="GroupSettingsApplicationFormComponent",e.\u0275fac=function(t){return new(t||e)(l.Y36(c.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(n.V6),l.Y36(f.sK),l.Y36(n.F5),l.Y36(h.F0),l.Y36(n.x4),l.Y36(c.ff),l.Y36(c.H8))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-group-settings-application-form"]],viewQuery:function(e,t){var i;(1&e&&l.Gf(T,5),2&e)&&(l.iGM(i=l.CRH())&&(t.autoRegToggle=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&l.ekj("router-component",t.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","",3,"click",4,"ngIf"]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,E,1,0,"mat-spinner",1),l.YNc(4,N,38,35,"div",2),l.YNc(5,Z,5,4,"div",2)),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading&&!t.noApplicationForm),l.xp6(1),l.Q6J("ngIf",!t.loading&&t.noApplicationForm))},directives:[p.O5,g.$g,p.mk,v.Hw,m.gM,y.d,_.t,b.lW,w.b,A.Rr,k.JJ,k.On,C.w],pipes:[f.X$],styles:[""]}),e}()},82044:function(e,t,i){"use strict";i.d(t,{u:function(){return Z}});var n=i(88419),r=i(4230),o=i(43491),a=i(84140),s=i(33642),c=i(67004),u=i(60611),l=i(57820),h=i(88426),d=(i(10896),i(31572)),f=i(84608),p=i(57629),g=i(59403),v=i(61511),m=i(91058),y=i(27521),_=i(16073),b=i(15980),w=i(36922),A=i(67806),k=i(11441),C=i(78364),T=i(48160),E=["tree"],S=["list"],I=["toggle"];function R(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",9),d.NdJ("click",function(){return d.CHM(i),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function x(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",12),d.NdJ("click",function(){return d.CHM(i),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("disabled",0===n.selected.selected.length||void 0!==n.tree&&!n.tree.removeAuth||void 0!==n.list&&!n.list.removeAuth),d.xp6(1),d.hij(" ",d.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function O(e,t){if(1&e&&(d.TgZ(0,"span",10),d.ALo(1,"translate"),d.YNc(2,x,3,4,"button",11),d.qZA()),2&e){var i=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===i.tree&&void 0===i.list||void 0!==i.tree&&i.tree.removeAuth||void 0!==i.list&&i.list.removeAuth),d.xp6(2),d.Q6J("ngIf",!i.loading&&i.deleteAuth)}}function P(e,t){1&e&&d._UZ(0,"mat-spinner",13)}function D(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",17,18),d.NdJ("moveGroup",function(e){return d.CHM(i),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(i),d.oxw(2).refreshTable()}),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("groups",n.groups)("expandAll",n.filtering)("hideCheckbox",!n.deleteAuth)("selection",n.selected)("filterValue",n.filterValue)("disableRouting",!n.routeAuth)}}var M=function(){return["select","id","name","description","menu"]},L=function(){return["id","name","description","menu"]};function N(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",19,20),d.NdJ("page",function(e){return d.CHM(i),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(i),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(i),d.oxw(2).refreshTable()}),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!n.routeAuth)("displayedColumns",n.deleteAuth?d.DdM(8,M):d.DdM(9,L))("filter",n.filterValue)}}function z(e,t){if(1&e&&(d.TgZ(0,"div",14),d.YNc(1,D,2,6,"perun-web-apps-groups-tree",15),d.YNc(2,N,2,10,"perun-web-apps-groups-list",16),d.qZA()),2&e){var i=d.oxw();d.xp6(1),d.Q6J("ngIf",!i.showGroupList),d.xp6(1),d.Q6J("ngIf",i.showGroupList)}}var Z=function(){var e=function(){function e(t,i,n,o,a,s){_classCallCheck(this,e),this.dialog=t,this.groupService=i,this.tableConfigService=n,this.route=o,this.guiAuthResolver=a,this.initAuthService=s,this.groups=[],this.selected=new r.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=u.bf,this.filterValue=""}return _createClass(e,[{key:"onCreateGroup",value:function(){var e=this,t=(0,a.kZ)();t.width="450px",t.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.refreshTable())})}},{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(function(){localStorage.setItem("preferedValue",e.toggle.checked?"list":"tree")}),this.route.parent.params.subscribe(function(t){e.groupService.getGroupById(t.groupId).subscribe(function(t){e.group=t,e.refreshTable()})})}},{key:"setAuthRights",value:function(){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]]))}},{key:"deleteGroup",value:function(){var e=this,t=(0,a.kZ)();t.width="450px",t.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(o.P,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[c.r.GROUP_DEF_MAIL_FOOTER,c.r.GROUP_SYNC_ENABLED,c.r.GROUP_LAST_SYNC_STATE,c.r.GROUP_LAST_SYNC_TIMESTAMP,c.r.GROUP_STRUCTURE_SYNC_ENABLED,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(t){e.groups=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e,this.filtering=""!==e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"onMoveGroup",value:function(e){var t=this,i=(0,a.kZ)();i.width="550px",i.data={group:e,theme:"group-theme"},this.dialog.open(l.c,i).afterClosed().subscribe(function(e){e&&t.refreshTable()})}}]),e}();return e.id="GroupSubgroupsComponent",e.\u0275fac=function(t){return new(t||e)(d.Y36(f.uw),d.Y36(s.ff),d.Y36(u.dB),d.Y36(p.gz),d.Y36(h.x4),d.Y36(h.v0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-group-subgroups"]],viewQuery:function(e,t){var i;(1&e&&(d.Gf(E,5),d.Gf(S,5),d.Gf(I,7)),2&e)&&(d.iGM(i=d.CRH())&&(t.tree=i.first),d.iGM(i=d.CRH())&&(t.list=i.first),d.iGM(i=d.CRH())&&(t.toggle=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&d.ekj("router-component",t.true)},decls:17,vars:16,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","accent","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled",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","mat-flat-button","",1,"mr-2",3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"pageSize","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","page","moveGroup","refreshTable"],["list",""]],template:function(e,t){if(1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return t.refreshTable()}),d.qZA(),d.YNc(5,R,3,3,"button",2),d.YNc(6,O,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(e){return t.applyFilter(e)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return t.selected.clear()})("ngModelChange",function(e){return t.showGroupList=e}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,P,1,0,"mat-spinner",7),d.YNc(16,z,3,2,"div",8),d.qZA()),2&e){var i=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,10,"GROUP_DETAIL.SUBGROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!t.loading&&t.createAuth),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(1),d.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",t.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,12,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",i.inputId),d.xp6(1),d.Oqu(d.lcZ(14,14,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading)}},directives:[g.t,v.O5,m.P,y.Rr,_.JJ,_.On,b.lW,w.gM,A.$g,k.I,C.W],pipes:[T.X$],styles:[""]}),e}()},81835:function(e,t,i){"use strict";i.d(t,{j:function(){return U}});var n=i(33642),r=i(60611),o=i(4230),a=i(84140),s=i(84608),c=i(88426),u=i(67004),l=i(31572),h=i(48160),d=i(61511),f=i(67806),p=i(19139),g=i(78364),v=i(15980);function m(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function y(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",7),l.NdJ("filter",function(e){return l.CHM(i),l.oxw().applyFilter(e)}),l.qZA()}2&e&&l.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}var _=function(){return["select","id","name","description"]};function b(e,t){if(1&e&&l._UZ(0,"perun-web-apps-groups-list",8),2&e){var i=l.oxw();l.Q6J("groups",i.groups)("selection",i.selection)("displayedColumns",l.DdM(8,_))("filter",i.filterValue)("groupsToDisable",i.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function w(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div",9),l.TgZ(1,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onAdd()}),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(2),l.hij(" ",l.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}var A=function(){var e=function(){function e(t,i,n,r,a,s,c){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.groupManager=n,this.memberManager=r,this.notificator=a,this.translate=s,this.authResolver=c,this.loading=!1,this.groups=[],this.selection=new o.Ov(!0,[]),this.attrNames=[u.r.GROUP_SYNC_ENABLED,u.r.GROUP_LAST_SYNC_STATE,u.r.GROUP_LAST_SYNC_TIMESTAMP,u.r.GROUP_STRUCTURE_SYNC_ENABLED,u.r.GROUP_LAST_STRUCTURE_SYNC_STATE,u.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(function(t){e.member=t,e.groupManager.getAllRichGroupsWithAttributesByNames(e.member.voId,e.attrNames).subscribe(function(t){e.groups=t.filter(function(t){return e.authResolver.isAuthorized("addMember_Group_Member_policy",[t])}),e.loading=!1},function(){return e.loading=!1})})}},{key:"onAdd",value:function(){var e=this,t=this.selection.selected.map(function(e){return e.id});this.loading=!0,this.groupManager.addMember(t,this.member.id).subscribe(function(){e.notificator.showSuccess(e.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"applyFilter",value:function(e){this.filterValue=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.ff),l.Y36(n.uq),l.Y36(c.V6),l.Y36(h.sK),l.Y36(c.x4))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisable","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,m,1,0,"mat-spinner",1),l.TgZ(5,"div",2),l.YNc(6,y,1,1,"perun-web-apps-immediate-filter",3),l.YNc(7,b,1,9,"perun-web-apps-groups-list",4),l.qZA(),l.YNc(8,w,7,7,"div",5),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(2),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[s.uh,d.O5,s.xY,f.$g,p.L,g.W,s.H8,v.lW],pipes:[h.X$],styles:[""]}),e}(),k=i(67033);function C(e,t){1&e&&l._UZ(0,"mat-spinner",6)}function T(e,t){1&e&&l._UZ(0,"th",15)}function E(e,t){if(1&e&&(l.TgZ(0,"td",16),l._uU(1),l.qZA()),2&e){var i=t.$implicit;l.xp6(1),l.hij(" ",i.name," ")}}function S(e,t){1&e&&l._UZ(0,"tr",17)}function I(e,t){1&e&&l._UZ(0,"tr",18)}function R(e,t){if(1&e&&(l.TgZ(0,"div",7),l.TgZ(1,"p"),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"div",8),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"table",9),l.ynx(8,10),l.YNc(9,T,1,0,"th",11),l.YNc(10,E,2,1,"td",12),l.BQk(),l.YNc(11,S,1,0,"tr",13),l.YNc(12,I,1,0,"tr",14),l.qZA(),l.qZA()),2&e){var i=l.oxw();l.xp6(2),l.Oqu(l.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),l.xp6(3),l.hij(" ",l.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),l.xp6(2),l.Q6J("dataSource",i.dataSource),l.xp6(4),l.Q6J("matHeaderRowDef",i.displayedColumns),l.xp6(1),l.Q6J("matRowDefColumns",i.displayedColumns)}}var x=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.groupManager=n,this.notificator=r,this.translate=o,this.displayedColumns=["name"],this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new k.by(this.data.groups)}},{key:"onRemove",value:function(){var e=this;this.loading=!0;var t=this.dataSource.data.map(function(e){return e.id});this.groupManager.removeMember(t,this.data.memberId).subscribe(function(){e.notificator.showSuccess(e.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),e.dialogRef.close(!0)},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(s.so),l.Y36(s.WI),l.Y36(n.ff),l.Y36(c.V6),l.Y36(h.sK))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,C,1,0,"mat-spinner",1),l.YNc(5,R,13,9,"div",2),l.TgZ(6,"div",3),l.TgZ(7,"button",4),l.NdJ("click",function(){return t.onCancel()}),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"button",5),l.NdJ("click",function(){return t.onRemove()}),l._uU(11),l.ALo(12,"translate"),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(3),l.hij("",l.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),l.xp6(2),l.Q6J("disabled",t.loading),l.xp6(1),l.hij("",l.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[s.uh,d.O5,s.H8,v.lW,f.$g,s.xY,k.BZ,k.w1,k.fO,k.Dz,k.as,k.nj,k.ge,k.ev,k.XQ,k.Gk],pipes:[h.X$],styles:[""]}),e}();i(10896);var O=i(57629),P=i(59403),D=i(36922),M=["list"];function L(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",7),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function N(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",8),l.NdJ("click",function(){return l.CHM(i),l.oxw().addGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function z(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).removeGroup()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&e){var n=l.oxw(2);l.Q6J("disabled",0===n.selection.selected.length||void 0!==n.list&&!n.list.removeAuth),l.xp6(1),l.hij(" ",l.lcZ(2,2,"MEMBER_DETAIL.GROUPS.REMOVE")," ")}}function Z(e,t){if(1&e&&(l.TgZ(0,"span",9),l.ALo(1,"translate"),l.YNc(2,z,3,4,"button",10),l.qZA()),2&e){var i=l.oxw();l.s9C("matTooltip",l.lcZ(1,3,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),l.Q6J("matTooltipDisabled",void 0===i.list||void 0!==i.list&&i.list.removeAuth),l.xp6(2),l.Q6J("ngIf",!i.loading)}}function B(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(i),l.oxw().applyFilter(e)}),l.qZA()}2&e&&l.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH")}function F(e,t){1&e&&l._UZ(0,"mat-spinner",13)}var q=function(){return["select","id","vo","name","description","expiration"]};function H(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-groups-list",14,15),l.NdJ("page",function(e){return l.CHM(i),l.oxw().pageChanged(e)})("refreshTable",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}if(2&e){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("groups",n.groups)("displayedColumns",l.DdM(9,q))("selection",n.selection)("filter",n.filterValue)("memberId",n.memberId)("memberGroupStatus",n.member.groupStatus)("disableRouting",!n.routeAuth)("authType","member-groups")}}var U=function(){var e=function(){function e(t,i,n,a,s,c){_classCallCheck(this,e),this.groupsService=t,this.tableConfigService=i,this.route=n,this.dialog=a,this.authResolver=s,this.memberService=c,this.filterValue="",this.tableId=r.W1,this.selection=new o.Ov(!0,[])}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.params.subscribe(function(t){e.memberId=t.memberId,e.memberService.getMemberById(e.memberId).subscribe(function(t){e.member=t,e.groupsService.getAllGroups(e.member.voId).subscribe(function(t){e.allGroups=t,e.refreshTable()})})})}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(function(t){e.selection.clear(),e.filterValue="",e.groups=t,e.setAuthRights(),e.loading=!1},function(){return e.loading=!1})}},{key:"setAuthRights",value:function(){var e=this,t={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce(function(t,i){return t||e.authResolver.isAuthorized("addMember_Group_Member_policy",[i])},!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[t,this.groups[0]]))}},{key:"addGroup",value:function(){var e=this,t=(0,a.kZ)();t.width="850px",t.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(function(e){return e.id})),theme:"member-theme"},this.dialog.open(A,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"removeGroup",value:function(){var e=this,t=(0,a.kZ)();t.width="650px",t.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(x,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="MemberGroupsComponent",e.\u0275fac=function(t){return new(t||e)(l.Y36(n.ff),l.Y36(r.dB),l.Y36(O.gz),l.Y36(s.uw),l.Y36(c.x4),l.Y36(n.uq))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-member-groups"]],viewQuery:function(e,t){var i;(1&e&&l.Gf(M,5),2&e)&&(l.iGM(i=l.CRH())&&(t.list=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&l.ekj("router-component",t.true)},decls:9,vars:9,consts:[[1,"page-subtitle"],[3,"refresh",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",4,"ngIf"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[3,"pageSize","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","page","refreshTable"],["list",""]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,L,1,0,"perun-web-apps-refresh-button",1),l.YNc(4,N,3,3,"button",2),l.YNc(5,Z,3,5,"span",3),l.YNc(6,B,1,1,"perun-web-apps-immediate-filter",4),l.YNc(7,F,1,0,"mat-spinner",5),l.YNc(8,H,2,10,"perun-web-apps-groups-list",6)),2&e&&(l.xp6(1),l.Oqu(l.lcZ(2,7,"MEMBER_DETAIL.GROUPS.TITLE")),l.xp6(2),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading&&t.addAuth),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[d.O5,P.t,v.lW,D.gM,p.L,f.$g,g.W],pipes:[h.X$],styles:[""]}),e}()},40659:function(e,t,i){"use strict";i.d(t,{c:function(){return S}});var n=i(33642),r=i(60611),o=i(16073),a=i(61511),s=i(31572),c=i(57629),u=i(59403),l=i(66283),h=i(4786),d=i(71522),f=i(91058),p=i(51613),g=i(29236),v=i(15980),m=i(67806),y=i(21548),_=i(29851),b=i(48160);function w(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(i),s.oxw().showAllDetails=!0}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function A(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(i),s.oxw().showAllDetails=!1}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&e&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}function k(e,t){1&e&&s._UZ(0,"mat-spinner",17)}function C(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"app-applications-list",20),s.NdJ("page",function(e){return s.CHM(i),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&e){var n=s.oxw(2);s.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("applications",n.applications)("displayedColumns",n.displayedColumns)}}function T(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"app-perun-web-apps-application-list-details",21),s.NdJ("page",function(e){return s.CHM(i),s.oxw(2).detailPageChanged(e)}),s.qZA()}if(2&e){var n=s.oxw(2);s.Q6J("pageSize",n.detailPageSize)("filterValue",n.filterValue)("applications",n.applications)}}function E(e,t){if(1&e&&(s.TgZ(0,"div"),s.YNc(1,C,1,4,"app-applications-list",18),s.YNc(2,T,1,3,"app-perun-web-apps-application-list-details",19),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.Q6J("ngIf",!i.showAllDetails),s.xp6(1),s.Q6J("ngIf",i.showAllDetails)}}var S=function(){var e=function(){function e(t,i,n,o){_classCallCheck(this,e),this.voService=t,this.registrarManager=i,this.tableConfigService=n,this.route=o,this.state="pending",this.loading=!1,this.applications=[],this.displayedColumns=["id","createdAt","type","state","user","group","modifiedBy"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=r.Jf,this.tableId=r.Hi,this.checked=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.detailPageSize=this.tableConfigService.getTablePageSize(this.detailTableId),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.loading=!0,this.route.parent.params.subscribe(function(t){e.voService.getVoById(t.voId).subscribe(function(t){e.vo=t,e.setData(["NEW","VERIFIED"])}),e.startDate=new o.NI((0,a.p6)(e.yearAgo(),"yyyy-MM-dd","en-GB")),e.endDate=new o.NI((0,a.p6)(new Date,"yyyy-MM-dd","en-GB"))})}},{key:"setData",value:function(e){var t=this;this.registrarManager.getApplicationsForVo(this.vo.id,e,(0,a.p6)(this.startDate.value,"yyyy-MM-dd","en-GB"),(0,a.p6)(this.endDate.value,"yyyy-MM-dd","en-GB")).subscribe(function(e){t.applications=!1===t.checked?e.filter(function(e){return null===e.group}):e,t.loading=!1})}},{key:"select",value:function(){switch(this.loading=!0,this.state){case"approved":this.setData(["APPROVED"]);break;case"rejected":this.setData(["REJECTED"]);break;case"wfmv":this.setData(["NEW"]);break;case"submited":this.setData(["VERIFIED"]);break;case"pending":this.setData(["NEW","VERIFIED"]);break;case"all":this.setData(null)}}},{key:"yearAgo",value:function(){var e=new Date,t=e.getFullYear()-1,i=e.getMonth(),n=e.getDate();return new Date(t,i,n)}},{key:"showGroupApplications",value:function(e){this.checked=e.checked,this.select()}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"detailPageChanged",value:function(e){this.detailPageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.detailTableId,e.pageSize)}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="VoApplicationsComponent",e.\u0275fac=function(t){return new(t||e)(s.Y36(n.YF),s.Y36(n.tk),s.Y36(r.dB),s.Y36(c.gz))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("router-component",t.true)},decls:38,vars:36,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","applications","displayedColumns","page",4,"ngIf"],[3,"pageSize","filterValue","applications","page",4,"ngIf"],[3,"pageSize","filterValue","applications","displayedColumns","page"],[3,"pageSize","filterValue","applications","page"]],template:function(e,t){1&e&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div"),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return t.select()}),s.qZA(),s.YNc(5,w,3,3,"button",2),s.YNc(6,A,3,3,"button",2),s.TgZ(7,"mat-form-field",3),s.TgZ(8,"mat-label"),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"mat-select",4),s.NdJ("selectionChange",function(){return t.select()})("valueChange",function(e){return t.state=e}),s.TgZ(12,"mat-option",5),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"mat-option",6),s._uU(16),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"mat-option",7),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"mat-option",8),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"mat-option",9),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.TgZ(27,"mat-option",10),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(30,"perun-web-apps-debounce-filter",11),s.NdJ("filter",function(e){return t.applyFilter(e)}),s.qZA(),s.TgZ(31,"perun-web-apps-date-range",12),s.NdJ("datePicker",function(){return t.select()}),s.qZA(),s.TgZ(32,"div"),s.TgZ(33,"mat-checkbox",13),s.NdJ("change",function(e){return t.showGroupApplications(e)}),s._uU(34),s.ALo(35,"translate"),s.qZA(),s.qZA(),s.qZA(),s.YNc(36,k,1,0,"mat-spinner",14),s.YNc(37,E,3,2,"div",15)),2&e&&(s.xp6(1),s.Oqu(s.lcZ(2,18,"VO_DETAIL.APPLICATION.TITLE")),s.xp6(4),s.Q6J("ngIf",!t.showAllDetails),s.xp6(1),s.Q6J("ngIf",t.showAllDetails),s.xp6(3),s.Oqu(s.lcZ(10,20,"VO_DETAIL.APPLICATION.TABLE_STATE")),s.xp6(2),s.Q6J("value",t.state),s.xp6(2),s.Oqu(s.lcZ(14,22,"VO_DETAIL.APPLICATION.SELECTION_ALL")),s.xp6(3),s.Oqu(s.lcZ(17,24,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),s.xp6(3),s.Oqu(s.lcZ(20,26,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),s.xp6(3),s.Oqu(s.lcZ(23,28,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),s.xp6(3),s.Oqu(s.lcZ(26,30,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),s.xp6(3),s.Oqu(s.lcZ(29,32,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),s.xp6(2),s.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),s.xp6(1),s.Q6J("startDate",t.startDate)("endDate",t.endDate),s.xp6(2),s.Q6J("checked",t.checked),s.xp6(1),s.hij(" ",s.lcZ(35,34,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),s.xp6(2),s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading))},directives:[u.t,a.O5,l.KE,l.hX,h.gD,d.ey,f.P,p.S,g.oG,v.lW,m.$g,y.M,_.w],pipes:[b.X$],styles:[""]}),e}()},48002:function(e,t,i){"use strict";i.d(t,{G:function(){return F}});var n=i(88419),r=i(43491),o=i(4230),a=i(57820),s=i(84140),c=i(33642),u=i(60611),l=i(67004),h=i(88426),d=(i(10896),i(31572)),f=i(84608),p=i(48958),g=i(57629),v=i(59403),m=i(61511),y=i(91058),_=i(27521),b=i(16073),w=i(15980),A=i(36922),k=i(67806),C=i(11441),T=i(78364),E=i(39571),S=i(48160),I=["toggle"],R=["tree"],x=["list"];function O(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",10),d.NdJ("click",function(){return d.CHM(i),d.oxw().onCreateGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function P(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"button",13),d.NdJ("click",function(){return d.CHM(i),d.oxw(2).deleteGroup()}),d._uU(1),d.ALo(2,"translate"),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("disabled",0===n.selected.selected.length||n.disableRemove()),d.xp6(1),d.hij(" ",d.lcZ(2,2,"VO_DETAIL.GROUPS.DELETE_GROUP")," ")}}function D(e,t){if(1&e&&(d.TgZ(0,"span",11),d.ALo(1,"translate"),d.YNc(2,P,3,4,"button",12),d.qZA()),2&e){var i=d.oxw();d.s9C("matTooltip",d.lcZ(1,3,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),d.Q6J("matTooltipDisabled",void 0===i.tree&&void 0===i.list||i.disableTooltip()),d.xp6(2),d.Q6J("ngIf",!i.loading)}}function M(e,t){1&e&&d._UZ(0,"mat-spinner",14)}function L(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-tree",18,19),d.NdJ("moveGroup",function(e){return d.CHM(i),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(i),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("groups",n.groups)("expandAll",n.filtering)("vo",n.vo)("selection",n.selected)("disableRouting",!n.routeAuth)("filterValue",n.filterValue)}}var N=function(){return["select","id","name","description","menu"]};function z(e,t){if(1&e){var i=d.EpF();d.TgZ(0,"perun-web-apps-groups-list",20,21),d.NdJ("page",function(e){return d.CHM(i),d.oxw(2).pageChanged(e)})("moveGroup",function(e){return d.CHM(i),d.oxw(2).onMoveGroup(e)})("refreshTable",function(){return d.CHM(i),d.oxw(2).loadAllGroups()}),d.qZA()}if(2&e){var n=d.oxw(2);d.Q6J("pageSize",n.pageSize)("groups",n.groups)("selection",n.selected)("disableMembers",!0)("displayedColumns",d.DdM(8,N))("disableRouting",!n.routeAuth)("authType","vo-groups")("filter",n.filterValue)}}function Z(e,t){if(1&e&&(d.TgZ(0,"div",15),d.YNc(1,L,2,6,"perun-web-apps-groups-tree",16),d.YNc(2,z,2,9,"perun-web-apps-groups-list",17),d.qZA()),2&e){var i=d.oxw();d.xp6(1),d.Q6J("ngIf",!i.showGroupList),d.xp6(1),d.Q6J("ngIf",i.showGroupList)}}function B(e,t){1&e&&(d.TgZ(0,"app-alert",22),d._uU(1),d.ALo(2,"translate"),d.qZA()),2&e&&(d.xp6(1),d.hij(" ",d.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}var F=function(){var e=function(){function e(t,i,n,r,a,s,c,l){_classCallCheck(this,e),this.dialog=t,this.groupService=i,this.sideMenuService=n,this.voService=r,this.route=a,this.tableConfigService=s,this.authResolver=c,this.initAuthService=l,this.groups=[],this.showGroupList=!1,this.selected=new o.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=u.rc}return _createClass(e,[{key:"onCreateGroup",value:function(){var e=this,t=(0,s.kZ)();t.width="450px",t.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(n.y,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.loadAllGroups())})}},{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(function(){localStorage.setItem("preferedValue",e.toggle.checked?"list":"tree"),e.loadAllGroups()}),this.route.parent.params.subscribe(function(t){e.voService.getVoById(t.voId).subscribe(function(t){e.vo=t,e.loadAllGroups()})})}},{key:"setAuthRights",value:function(){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]]))}},{key:"disableRemove",value:function(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}},{key:"disableTooltip",value:function(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}},{key:"deleteGroup",value:function(){var e=this,t=(0,s.kZ)();t.width="450px",t.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(r.P,t).afterClosed().subscribe(function(t){t&&e.loadAllGroups()})}},{key:"removeAllGroups",value:function(){this.selected.clear()}},{key:"onMoveGroup",value:function(e){var t=this,i=(0,s.kZ)();i.width="550px",i.data={group:e,theme:"vo-theme"},this.dialog.open(a.c,i).afterClosed().subscribe(function(e){e&&t.loadAllGroups()})}},{key:"loadAllGroups",value:function(){var e=this;this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[l.r.GROUP_SYNC_ENABLED,l.r.GROUP_LAST_SYNC_STATE,l.r.GROUP_LAST_SYNC_TIMESTAMP,l.r.GROUP_STRUCTURE_SYNC_ENABLED,l.r.GROUP_LAST_STRUCTURE_SYNC_STATE,l.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(t){e.groups=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e,this.filtering=""!==e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="VoGroupsComponent",e.\u0275fac=function(t){return new(t||e)(d.Y36(f.uw),d.Y36(c.ff),d.Y36(p.D),d.Y36(c.YF),d.Y36(g.gz),d.Y36(u.dB),d.Y36(h.x4),d.Y36(h.v0))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-vo-groups"]],viewQuery:function(e,t){var i;(1&e&&(d.Gf(I,7),d.Gf(R,5),d.Gf(x,5)),2&e)&&(d.iGM(i=d.CRH())&&(t.toggle=i.first),d.iGM(i=d.CRH())&&(t.tree=i.first),d.iGM(i=d.CRH())&&(t.list=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&d.ekj("router-component",t.true)},decls:18,vars:17,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip",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"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"pageSize","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","page","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(e,t){if(1&e&&(d.TgZ(0,"div"),d.TgZ(1,"h1",0),d._uU(2),d.ALo(3,"translate"),d.qZA(),d.TgZ(4,"perun-web-apps-refresh-button",1),d.NdJ("refresh",function(){return t.loadAllGroups()}),d.qZA(),d.YNc(5,O,3,3,"button",2),d.YNc(6,D,3,5,"span",3),d.TgZ(7,"perun-web-apps-debounce-filter",4),d.NdJ("filter",function(e){return t.applyFilter(e)}),d.qZA(),d.TgZ(8,"mat-slide-toggle",5,6),d.NdJ("change",function(){return t.removeAllGroups()})("ngModelChange",function(e){return t.showGroupList=e}),d._uU(10),d.ALo(11,"translate"),d.qZA(),d.TgZ(12,"label"),d._uU(13),d.ALo(14,"translate"),d.qZA(),d.YNc(15,M,1,0,"mat-spinner",7),d.YNc(16,Z,3,2,"div",8),d.YNc(17,B,3,3,"app-alert",9),d.qZA()),2&e){var i=d.MAs(9);d.xp6(2),d.Oqu(d.lcZ(3,11,"VO_DETAIL.GROUPS.TITLE")),d.xp6(3),d.Q6J("ngIf",!t.loading&&t.createAuth),d.xp6(1),d.Q6J("ngIf",!t.loading),d.xp6(1),d.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),d.xp6(1),d.Q6J("ngModel",t.showGroupList),d.xp6(2),d.Oqu(d.lcZ(11,13,"VO_DETAIL.GROUPS.TREE_VIEW")),d.xp6(2),d.uIk("for",i.inputId),d.xp6(1),d.Oqu(d.lcZ(14,15,"VO_DETAIL.GROUPS.LIST_VIEW")),d.xp6(2),d.Q6J("ngIf",t.loading),d.xp6(1),d.Q6J("ngIf",!t.loading&&0!==t.groups.length),d.xp6(1),d.Q6J("ngIf",0===t.groups.length&&!t.loading)}},directives:[v.t,m.O5,y.P,_.Rr,b.JJ,b.On,w.lW,A.gM,k.$g,C.I,T.W,E.w],pipes:[S.X$],styles:[""]}),e}()},28940:function(e,t,i){"use strict";i.d(t,{y:function(){return D}});var n=i(4230),r=i(88426),o=i(4374),a=i(85613),s=i(33642),c=i(67004),u=i(16073),l=i(60611),h=i(84140),d=i(88690),f=i(31572),p=i(57629),g=i(84608),v=i(59403),m=i(36922),y=i(61511),_=i(66283),b=i(4786),w=i(91058),A=i(15980),k=i(71522),C=i(67806),T=i(91779),E=i(48160);function S(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",14),f.NdJ("click",function(){return f.CHM(i),f.oxw().onAddMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("disabled",n.blockManualMemberAdding),f.xp6(1),f.hij(" ",f.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function I(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(i),f.oxw().onInviteMember()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}2&e&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function R(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"button",16),f.NdJ("click",function(){return f.CHM(i),f.oxw().onRemoveMembers()}),f._uU(1),f.ALo(2,"translate"),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("disabled",n.selection.isEmpty()),f.xp6(1),f.hij(" ",f.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function x(e,t){if(1&e&&(f.TgZ(0,"mat-option",17),f._uU(1),f.qZA()),2&e){var i=t.$implicit;f.Q6J("value",i),f.xp6(1),f.Oqu(i)}}function O(e,t){1&e&&f._UZ(0,"mat-spinner",18)}function P(e,t){if(1&e){var i=f.EpF();f.TgZ(0,"perun-web-apps-members-dynamic-list",19),f.NdJ("page",function(e){return f.CHM(i),f.oxw().pageChanged(e)}),f.qZA()}if(2&e){var n=f.oxw();f.Q6J("voId",n.vo.id)("pageSize",n.pageSize)("selection",n.selection)("displayedColumns",n.displayedColumns)("attrNames",n.attrNames)("searchString",n.searchString)("selectedStatuses",n.selectedStatuses)("updateTable",n.updateTable)}}var D=function(){var e=function(){function e(t,i,r,o,a,s,h,d,f){_classCallCheck(this,e),this.voService=t,this.route=i,this.notificator=r,this.tableConfigService=o,this.dialog=a,this.authzService=s,this.storeService=h,this.attributesManager=d,this.apiRequest=f,this.members=null,this.selection=new n.Ov(!0,[]),this.loading=!1,this.attrNames=[c.r.MEMBER_DEF_ORGANIZATION,c.r.MEMBER_DEF_MAIL,c.r.USER_DEF_ORGANIZATION,c.r.USER_DEF_PREFERRED_MAIL,c.r.MEMBER_DEF_EXPIRATION],this.statuses=new u.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=l.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.route.parent.params.subscribe(function(t){var i=t.voId;e.isManualAddingBlocked(i).then(function(){e.voService.getVoById(i).subscribe(function(t){e.vo=t,e.setAuthRights(),e.loading=!1})})})}},{key:"setAuthRights",value:function(){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])}},{key:"onSearchByString",value:function(e){this.searchString=e,this.updateTable=!this.updateTable}},{key:"onAddMember",value:function(){var e=this,t=(0,h.kZ)();t.width="1000px",t.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(a.o,t).afterClosed().subscribe(function(t){t&&(e.updateTable=!e.updateTable,e.selection.clear())})}},{key:"onRemoveMembers",value:function(){var e=this,t=(0,h.kZ)();t.width="450px",t.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(o.X,t).afterClosed().subscribe(function(t){t&&(e.updateTable=!e.updateTable,e.selection.clear())})}},{key:"onInviteMember",value:function(){var e=(0,h.kZ)();e.width="650px",e.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(d.R,e)}},{key:"displaySelectedStatuses",value:function(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?"".concat(this.statuses.value[0]," ").concat(this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""):""}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}},{key:"isManualAddingBlocked",value:function(e){var t=this;return new Promise(function(i){t.apiRequest.dontHandleErrorForNext(),t.attributesManager.getVoAttributeByName(e,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(function(e){t.blockManualMemberAdding=null!==e.value,i()},function(e){"PrivilegeException"!==e.error.name&&t.notificator.showError(e),i()})})}},{key:"changeStatuses",value:function(){this.selectedStatuses=this.statuses.value}}]),e}();return e.id="VoMembersComponent",e.\u0275fac=function(t){return new(t||e)(f.Y36(s.YF),f.Y36(p.gz),f.Y36(r.V6),f.Y36(l.dB),f.Y36(g.uw),f.Y36(r.x4),f.Y36(r.d6),f.Y36(s.H8),f.Y36(r.F5))},e.\u0275cmp=f.Xpm({type:e,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("router-component",t.true)},decls:22,vars:19,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","pageSize","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable","page"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"h1",1),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.TgZ(4,"div",2),f.TgZ(5,"perun-web-apps-refresh-button",3),f.NdJ("click",function(){return t.updateTable=!t.updateTable}),f.qZA(),f.TgZ(6,"div",4),f.ALo(7,"translate"),f.YNc(8,S,3,4,"button",5),f.qZA(),f.YNc(9,I,3,3,"button",6),f.YNc(10,R,3,4,"button",7),f.TgZ(11,"mat-form-field",8),f.TgZ(12,"mat-label"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.TgZ(15,"mat-select",9),f.NdJ("closed",function(){return t.changeStatuses()}),f.TgZ(16,"mat-select-trigger"),f._uU(17),f.qZA(),f.YNc(18,x,2,2,"mat-option",10),f.qZA(),f.qZA(),f.TgZ(19,"perun-web-apps-debounce-filter",11),f.NdJ("filter",function(e){return t.onSearchByString(e)}),f.qZA(),f.qZA(),f.YNc(20,O,1,0,"mat-spinner",12),f.YNc(21,P,1,8,"perun-web-apps-members-dynamic-list",13),f.qZA()),2&e&&(f.xp6(2),f.Oqu(f.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),f.xp6(4),f.s9C("matTooltip",f.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),f.Q6J("matTooltipDisabled",!t.blockManualMemberAdding),f.xp6(2),f.Q6J("ngIf",t.addAuth),f.xp6(1),f.Q6J("ngIf",t.inviteAuth),f.xp6(1),f.Q6J("ngIf",t.removeAuth),f.xp6(3),f.Oqu(f.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),f.xp6(2),f.Q6J("formControl",t.statuses),f.xp6(2),f.hij(" ",t.displaySelectedStatuses()," "),f.xp6(1),f.Q6J("ngForOf",t.statusList),f.xp6(1),f.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),f.xp6(1),f.Q6J("ngIf",t.loading),f.xp6(1),f.Q6J("ngIf",!t.loading))},directives:[v.t,m.gM,y.O5,_.KE,_.hX,b.gD,u.JJ,u.oH,b.$L,y.sg,w.P,A.lW,k.ey,C.$g,T.m],pipes:[E.X$],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}"]}),e}()},88227:function(e,t,i){"use strict";i.d(t,{z:function(){return A}});var n=i(4230),r=i(33642),o=i(95909),a=i(60611),s=i(84140),c=i(88426),u=i(31572),l=i(57629),h=i(84608),d=i(59403),f=i(61511),p=i(19139),g=i(15980),v=i(67806),m=i(88884),y=i(48160);function _(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"button",6),u.NdJ("click",function(){return u.CHM(i),u.oxw().deleteSelectedResources()}),u._uU(1),u.ALo(2,"translate"),u.qZA()}if(2&e){var n=u.oxw();u.Q6J("disabled",0===n.selected.selected.length),u.xp6(1),u.hij(" ",u.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function b(e,t){1&e&&u._UZ(0,"mat-spinner",7)}function w(e,t){if(1&e){var i=u.EpF();u.TgZ(0,"perun-web-apps-resources-list",8),u.NdJ("page",function(e){return u.CHM(i),u.oxw().pageChanged(e)}),u.qZA()}if(2&e){var n=u.oxw();u.Q6J("pageSize",n.pageSize)("filterValue",n.filterValue)("resources",n.resources)("routingVo",!0)("disableRouting",!n.routeAuth)("selection",n.selected)("displayedColumns",n.displayedColumns)}}var A=function(){var e=function(){function e(t,i,r,o,s,c){_classCallCheck(this,e),this.resourcesManager=t,this.voService=i,this.route=r,this.tableConfigService=o,this.dialog=s,this.authResolver=c,this.resources=[],this.selected=new n.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=a.nT,this.routeAuth=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.parent.parent.params.subscribe(function(t){e.voService.getVoById(t.voId).subscribe(function(t){e.vo=t,e.refreshTable()})})}},{key:"setAuthRights",value:function(){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"]}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(function(t){e.resources=t,e.selected.clear(),e.setAuthRights(),e.loading=!1})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"deleteSelectedResources",value:function(){var e=this,t=(0,s.kZ)();t.width="450px",t.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(o.f,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="VoResourcesPreviewComponent",e.\u0275fac=function(t){return new(t||e)(u.Y36(r.xk),u.Y36(r.YF),u.Y36(l.gz),u.Y36(a.dB),u.Y36(h.uw),u.Y36(c.x4))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("router-component",t.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"pageSize","filterValue","resources","routingVo","disableRouting","selection","displayedColumns","page"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"h1",0),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.TgZ(4,"perun-web-apps-refresh-button",1),u.NdJ("refresh",function(){return t.refreshTable()}),u.qZA(),u.YNc(5,_,3,4,"button",2),u.TgZ(6,"perun-web-apps-immediate-filter",3),u.NdJ("filter",function(e){return t.applyFilter(e)}),u.qZA(),u.YNc(7,b,1,0,"mat-spinner",4),u.YNc(8,w,1,7,"perun-web-apps-resources-list",5),u.qZA()),2&e&&(u.xp6(2),u.Oqu(u.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),u.xp6(3),u.Q6J("ngIf",!t.loading&&t.removeAuth),u.xp6(1),u.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),u.xp6(1),u.Q6J("ngIf",t.loading),u.xp6(1),u.Q6J("ngIf",!t.loading))},directives:[d.t,f.O5,p.L,g.lW,v.$g,m.C],pipes:[y.X$],styles:[""]}),e}()},97397:function(e,t,i){"use strict";i.d(t,{z:function(){return W}});var n=i(88426),r=i(33642),o=i(31572),a=i(57629),s=i(61511),c=i(67806),u=i(59403),l=i(55109),h=i(67033),d=i(45001),f=i(27679),p=i(48160);function g(e,t){if(1&e&&(o.TgZ(0,"mat-panel-description"),o.TgZ(1,"div"),o.TgZ(2,"i",7),o._uU(3," error "),o.qZA(),o._uU(4),o.ALo(5,"translate"),o.ALo(6,"translate"),o.qZA(),o.qZA()),2&e){var i=o.oxw().$implicit,n=o.oxw();o.xp6(4),o.HOy(" ",n.getErrorCountStates(i)," ",o.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",i.taskList.length," ",o.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function v(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")))}function m(e,t){if(1&e&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&e){var i=t.$implicit;o.xp6(1),o.Oqu(i.id)}}function y(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")))}function _(e,t){if(1&e&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&e){var i=t.$implicit;o.xp6(1),o.Oqu(i.service.name)}}function b(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")))}function w(e,t){if(1&e&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&e){var i=t.$implicit;o.xp6(1),o.Oqu(i.status)}}function A(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")))}function k(e,t){if(1&e&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&e){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function C(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function T(e,t){if(1&e&&(o.TgZ(0,"td",21),o.YNc(1,k,3,4,"div",22),o.YNc(2,C,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&e){var i=t.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.schedule)("ngIfElse",n)}}function E(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")))}function S(e,t){if(1&e&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&e){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function I(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function R(e,t){if(1&e&&(o.TgZ(0,"td",21),o.YNc(1,S,3,4,"div",22),o.YNc(2,I,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&e){var i=t.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.startTime)("ngIfElse",n)}}function x(e,t){1&e&&(o.TgZ(0,"th",20),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")))}function O(e,t){if(1&e&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"date"),o.qZA()),2&e){var i=o.oxw().$implicit;o.xp6(1),o.hij(" ",o.xi3(2,1,i.schedule,"d.M.y H:mm:ss")," ")}}function P(e,t){1&e&&(o._uU(0),o.ALo(1,"translate")),2&e&&o.hij(" ",o.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function D(e,t){if(1&e&&(o.TgZ(0,"td",21),o.YNc(1,O,3,4,"div",22),o.YNc(2,P,2,3,"ng-template",23,24,o.W1O),o.qZA()),2&e){var i=t.$implicit,n=o.MAs(3);o.xp6(1),o.Q6J("ngIf",i.endTime)("ngIfElse",n)}}function M(e,t){1&e&&o._UZ(0,"tr",25)}var L=function(e,t,i){return{redTableItem:e,greenTableItem:t,yellowTableItem:i}};function N(e,t){if(1&e&&o._UZ(0,"tr",26),2&e){var i=t.$implicit;o.Q6J("ngClass",o.kEZ(1,L,"ERROR"===i.status||"SENDERROR"===i.status||"GENERROR"===i.status,"DONE"===i.status,"WARNING"===i.status))}}function z(e,t){if(1&e&&(o.TgZ(0,"table",9),o.ynx(1,10),o.YNc(2,v,3,3,"th",11),o.YNc(3,m,2,1,"td",12),o.BQk(),o.ynx(4,13),o.YNc(5,y,3,3,"th",11),o.YNc(6,_,2,1,"td",12),o.BQk(),o.ynx(7,14),o.YNc(8,b,3,3,"th",11),o.YNc(9,w,2,1,"td",12),o.BQk(),o.ynx(10,15),o.YNc(11,A,3,3,"th",11),o.YNc(12,T,4,2,"td",12),o.BQk(),o.ynx(13,16),o.YNc(14,E,3,3,"th",11),o.YNc(15,R,4,2,"td",12),o.BQk(),o.ynx(16,17),o.YNc(17,x,3,3,"th",11),o.YNc(18,D,4,2,"td",12),o.BQk(),o.YNc(19,M,1,0,"tr",18),o.YNc(20,N,1,5,"tr",19),o.qZA()),2&e){var i=o.oxw(2).$implicit,n=o.oxw();o.Q6J("dataSource",n.datasources[n.propagation.indexOf(i)]),o.xp6(19),o.Q6J("matHeaderRowDef",n.displayedColumns),o.xp6(1),o.Q6J("matRowDefColumns",n.displayedColumns)}}function Z(e,t){1&e&&(o.TgZ(0,"div"),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function B(e,t){if(1&e&&(o._UZ(0,"mat-divider"),o.YNc(1,z,21,3,"table",8),o.YNc(2,Z,3,3,"div",5)),2&e){var i=o.oxw().$implicit;o.xp6(1),o.Q6J("ngIf",0!==i.taskList.length),o.xp6(1),o.Q6J("ngIf",0===i.taskList.length)}}function F(e,t){if(1&e&&(o.TgZ(0,"mat-expansion-panel"),o.TgZ(1,"mat-expansion-panel-header"),o.TgZ(2,"mat-panel-title"),o._UZ(3,"img",3),o.TgZ(4,"div",4),o._uU(5),o.qZA(),o.qZA(),o.YNc(6,g,7,8,"mat-panel-description",5),o.qZA(),o.YNc(7,B,3,2,"ng-template",6),o.qZA()),2&e){var i=t.$implicit,n=o.oxw();o.xp6(5),o.hij(" ",i.resource.name," "),o.xp6(1),o.Q6J("ngIf",0!==n.getErrorCountStates(i))}}var q=function(){var e=function(){function e(){_classCallCheck(this,e),this.propagation=[],this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.getDataSource()}},{key:"getErrorCountStates",value:function(e){var t,i=0,n=_createForOfIteratorHelper(e.taskList);try{for(n.s();!(t=n.n()).done;){var r=t.value;"ERROR"!==r.status&&"GENERROR"!==r.status&&"SENDERROR"!==r.status||i++}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"getDataSource",value:function(){var e,t=_createForOfIteratorHelper(this.propagation);try{for(t.s();!(e=t.n()).done;){var i=e.value;this.datasources.push(new h.by(i.taskList))}}catch(n){t.e(n)}finally{t.f()}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-state-tab"]],inputs:{propagation:"propagation"},decls:3,vars:1,consts:[[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-accordion",1),o.YNc(2,F,8,2,"mat-expansion-panel",2),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.Q6J("ngForOf",t.propagation))},directives:[d.pp,s.sg,d.ib,d.yz,d.yK,s.O5,d.HS,d.u4,f.d,h.BZ,h.w1,h.fO,h.Dz,h.as,h.nj,h.ge,h.ev,h.XQ,h.Gk,s.mk],pipes:[p.X$,s.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-description[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_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}"]}),e}(),H=i(39571);function U(e,t){1&e&&o._UZ(0,"mat-spinner",3)}function G(e,t){if(1&e&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",8),o._uU(3),o.qZA()),2&e){var i=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),o.xp6(3),o.Oqu(i.errorPropagation.length)}}function j(e,t){1&e&&(o.TgZ(0,"app-alert",11),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.Q6J("alert_type","warn"),o.xp6(1),o.hij(" ",o.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function Y(e,t){if(1&e&&(o.YNc(0,j,3,4,"app-alert",9),o._UZ(1,"app-state-tab",10)),2&e){var i=o.oxw(2);o.Q6J("ngIf",0===i.errorPropagation.length),o.xp6(1),o.Q6J("propagation",i.errorPropagation)}}function K(e,t){if(1&e&&(o._uU(0),o.ALo(1,"translate"),o.TgZ(2,"span",12),o._uU(3),o.qZA()),2&e){var i=o.oxw(2);o.hij(" ",o.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),o.xp6(3),o.Oqu(i.okPropagation.length)}}function V(e,t){1&e&&(o.TgZ(0,"app-alert",14),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.hij(" ",o.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function J(e,t){if(1&e&&(o.YNc(0,V,3,3,"app-alert",13),o._UZ(1,"app-state-tab",10)),2&e){var i=o.oxw(2);o.Q6J("ngIf",0===i.okPropagation.length),o.xp6(1),o.Q6J("propagation",i.okPropagation)}}function Q(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"perun-web-apps-refresh-button",4),o.NdJ("refresh",function(){return o.CHM(i),o.oxw().refreshTable()}),o.qZA(),o.TgZ(2,"mat-tab-group",5),o.NdJ("selectedIndexChange",function(e){return o.CHM(i),o.oxw().selectedIndex=e}),o.TgZ(3,"mat-tab"),o.YNc(4,G,4,4,"ng-template",6),o.YNc(5,Y,2,2,"ng-template",7),o.qZA(),o.TgZ(6,"mat-tab"),o.YNc(7,K,4,4,"ng-template",6),o.YNc(8,J,2,2,"ng-template",7),o.qZA(),o.qZA(),o.qZA()}if(2&e){var n=o.oxw();o.xp6(2),o.Q6J("selectedIndex",n.selectedIndex)}}var W=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.route=t,this.taskService=i,this.customIconService=n,this.loading=!1,this.resourceStates=[],this.selectedIndex=0}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.customIconService.registerPerunRefreshIcon(),this.loading=!0,this.route.parent.parent.params.subscribe(function(t){e.voId=t.voId,e.refreshTable()})}},{key:"refreshTable",value:function(){var e=this;console.log(this.selectedIndex),this.loading=!0,this.taskService.getAllResourcesState(this.voId).subscribe(function(t){e.resourceStates=t,e.okPropagation=[],e.errorPropagation=[];var i,n=_createForOfIteratorHelper(t);try{for(n.s();!(i=n.n()).done;){var r,o=i.value,a=!0,s=_createForOfIteratorHelper(o.taskList);try{for(s.s();!(r=s.n()).done;){var c=r.value;if("ERROR"===c.status||"GENERROR"===c.status||"SENDERROR"===c.status){a=!1;break}}}catch(u){s.e(u)}finally{s.f()}a?e.okPropagation.push(o):e.errorPropagation.push(o)}}catch(u){n.e(u)}finally{n.f()}e.loading=!1})}}]),e}();return e.id="VoResourcesStatesComponent",e.\u0275fac=function(t){return new(t||e)(o.Y36(a.gz),o.Y36(r.Ob),o.Y36(n.EB))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("router-component",t.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],[3,"alert_type",4,"ngIf"],[3,"propagation"],[3,"alert_type"],[1,"badge","badge-success","ml-1"],["alert_type","warn",4,"ngIf"],["alert_type","warn"]],template:function(e,t){1&e&&(o.TgZ(0,"h1",0),o._uU(1),o.ALo(2,"translate"),o.qZA(),o.YNc(3,U,1,0,"mat-spinner",1),o.YNc(4,Q,9,1,"div",2)),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,3,"VO_DETAIL.RESOURCES.STATES.TITLE")),o.xp6(2),o.Q6J("ngIf",t.loading),o.xp6(1),o.Q6J("ngIf",!t.loading))},directives:[s.O5,c.$g,u.t,l.SP,l.uX,l.uD,l.Vc,q,H.w],pipes:[p.X$],styles:[""]}),e}()},14527:function(e,t,i){"use strict";i.d(t,{w:function(){return x}});var n=i(24555),r=i(88426),o=i(68570),a=i(92438),s=i(75954),c=i(33642),u=i(84140),l=i(31572),h=i(57629),d=i(84608),f=i(48160),p=i(61511),g=i(67806),v=i(43691),m=i(36922),y=i(27679),_=i(59403),b=i(15980),w=i(92846),A=i(39571);function k(e,t){1&e&&l._UZ(0,"mat-spinner",3)}function C(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",21),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).settings()}),l.TgZ(1,"i",18),l._uU(2,"edit"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&e&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function T(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",22),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).add()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function E(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",23),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).save()}),l.TgZ(1,"i",18),l._uU(2,"save"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}if(2&e){var n=l.oxw(2);l.Q6J("disabled",!n.itemsChanged),l.xp6(3),l.hij(" ",l.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function S(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",24),l.NdJ("click",function(){return l.CHM(i),l.oxw(2).copy()}),l.TgZ(1,"i",18),l._uU(2,"file_copy"),l.qZA(),l._uU(3),l.ALo(4,"translate"),l.qZA()}2&e&&(l.xp6(3),l.hij(" ",l.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function I(e,t){1&e&&(l.TgZ(0,"app-alert",25),l._uU(1),l.ALo(2,"translate"),l.qZA()),2&e&&(l.Q6J("alert_type","info"),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}function R(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"div",5),l.TgZ(3,"div",6),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.TgZ(6,"div"),l.TgZ(7,"span",6),l._uU(8),l.ALo(9,"translate"),l.qZA(),l._uU(10,": "),l.TgZ(11,"mat-icon",7),l._uU(12,"arrow_right_alt"),l.qZA(),l._uU(13),l.ALo(14,"translate"),l.ALo(15,"translate"),l.TgZ(16,"mat-icon",8),l._uU(17,"restore"),l.qZA(),l._uU(18),l.ALo(19,"translate"),l.ALo(20,"translate"),l.qZA(),l.qZA(),l.TgZ(21,"div",9),l.YNc(22,C,5,3,"button",10),l.qZA(),l.qZA(),l._UZ(23,"mat-divider",11),l.TgZ(24,"div",12),l.TgZ(25,"perun-web-apps-refresh-button",13),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().updateFormItems()}),l.qZA(),l.YNc(26,T,3,3,"button",14),l.YNc(27,E,5,4,"button",15),l.YNc(28,S,5,3,"button",16),l.TgZ(29,"button",17),l.NdJ("click",function(){return l.CHM(i),l.oxw().preview()}),l.TgZ(30,"i",18),l._uU(31,"search"),l.qZA(),l._uU(32),l.ALo(33,"translate"),l.qZA(),l.qZA(),l.YNc(34,I,3,4,"app-alert",19),l.TgZ(35,"app-application-form-list",20),l.NdJ("applicationFormItemsChange",function(){return l.CHM(i),l.oxw().changeItems()}),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(4),l.AsE("",l.lcZ(5,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",n.applicationForm.moduleClassName," "),l.xp6(4),l.Oqu(l.lcZ(9,18,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),l.xp6(5),l.hij(" ",n.applicationForm.automaticApproval?l.lcZ(14,20,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(15,22,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL"),", "),l.xp6(5),l.hij(" ",n.applicationForm.automaticApprovalExtension?l.lcZ(19,24,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):l.lcZ(20,26,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("ngIf",n.editAuth),l.xp6(4),l.hij(" ",l.lcZ(33,28,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),l.xp6(2),l.Q6J("ngIf",n.editAuth),l.xp6(1),l.Q6J("loading",n.loading)("applicationForm",n.applicationForm)("applicationFormItems",n.applicationFormItems)("theme","vo-theme")("displayedColumns",n.displayedColumns)}}var x=function(){var e=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this.registrarManager=t,this.route=i,this.dialog=n,this.notificator=r,this.translate=o,this.router=a,this.authResolver=s,this.voService=c,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.idCounter=-1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.route.parent.parent.params.subscribe(function(t){var i=t.voId;e.voId=i,e.registrarManager.getVoApplicationForm(i).subscribe(function(t){e.applicationForm=t,e.registrarManager.getFormItemsForVo(i).subscribe(function(t){e.applicationFormItems=t,e.voService.getVoById(e.voId).subscribe(function(t){e.vo=t,e.setAuthRights(),e.loading=!1})})})})}},{key:"setAuthRights",value:function(){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"]}},{key:"add",value:function(){var e=this,t=(0,u.kZ)();t.width="500px",t.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(a.J,t).afterClosed().subscribe(function(i){i&&(e.applicationFormItems=Object.assign([],i[0]),(t=(0,u.kZ)()).width="600px",t.height="600px",t.data={voId:e.voId,applicationFormItem:i[1],theme:"vo-theme",allItems:e.applicationFormItems},e.dialog.open(s._,t),e.itemsChanged=!0)})}},{key:"copy",value:function(){var e=this,t=(0,u.kZ)();t.width="500px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(o.W,t).afterClosed().subscribe(function(t){t&&e.updateFormItems()})}},{key:"settings",value:function(){var e=this,t=(0,u.kZ)();t.width="400px",t.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(n.E,t).afterClosed().subscribe(function(t){t&&(e.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t)}),e.applicationForm=t)})}},{key:"preview",value:function(){this.router.navigate(["/organizations",this.voId,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}},{key:"updateFormItems",value:function(){var e=this;this.loading=!0,this.registrarManager.getFormItemsForVo(this.voId).subscribe(function(t){e.applicationFormItems=t,e.itemsChanged=!1,e.loading=!1})}},{key:"changeItems",value:function(){this.itemsChanged=!0}},{key:"save",value:function(){var e,t=this,i=0,n=_createForOfIteratorHelper(this.applicationFormItems);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.ordnum=i,r.forDelete||i++}}catch(o){n.e(o)}finally{n.f()}this.registrarManager.updateFormItemsForVo({vo:this.voId,items:this.applicationFormItems}).subscribe(function(){t.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(function(e){t.notificator.showSuccess(e)}),t.updateFormItems()})}},{key:"clear",value:function(){this.applicationFormItems.forEach(function(e){return e.forDelete=!0}),this.itemsChanged=!0}}]),e}();return e.id="VoSettingsApplicationFormComponent",e.\u0275fac=function(t){return new(t||e)(l.Y36(c.tk),l.Y36(h.gz),l.Y36(d.uw),l.Y36(r.V6),l.Y36(f.sK),l.Y36(h.F0),l.Y36(r.x4),l.Y36(c.YF))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(e,t){2&e&&l.ekj("router-component",t.true)},decls:5,vars:5,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto",3,"click",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],[3,"alert_type",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","applicationFormItemsChange"],["mat-stroked-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2",3,"click"],[3,"alert_type"]],template:function(e,t){1&e&&(l.TgZ(0,"h1",0),l._uU(1),l.ALo(2,"translate"),l.qZA(),l.YNc(3,k,1,0,"mat-spinner",1),l.YNc(4,R,36,30,"div",2)),2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,3,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[p.O5,g.$g,v.Hw,m.gM,y.d,_.t,b.lW,w.b,A.w],pipes:[f.X$],styles:[""]}),e}()},48666:function(e,t,i){"use strict";i.d(t,{T:function(){return ft}});var n=i(33642),r=i(4230),o=i(60611),a=i(84140),s=i(84608),c=i(88426),u=i(16073),l=i(61511),h=i(14732),d=i(81110),f=i(40878),p=i(44689),g=i(79996),v=i(47727),m=i(31572),y=i(48160),_=i(67806),b=i(70663),w=i(66283),A=i(80340),k=i(15980),C=i(4786),T=i(36922),E=i(29236),S=i(54810),I=i(15812),R=function(){var e=function(){function e(){_classCallCheck(this,e),this.expiration="never",this.expirationControl=new u.NI(null),this.datePicker=new m.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=new Date;this.minDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.expirationControl.setValue((0,l.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}},{key:"setExpiration",value:function(){this.expiration=(0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,l.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}},{key:"emitDate",value:function(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m.Xpm({type:e,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(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"mat-radio-group",0),m.NdJ("ngModelChange",function(e){return t.expiration=e})("change",function(){return t.emitDate()}),m.TgZ(1,"mat-radio-button",1),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"mat-radio-button",2),m.TgZ(5,"mat-form-field",3),m.NdJ("click",function(){return m.CHM(i),m.MAs(12).open()}),m.TgZ(6,"mat-label"),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.TgZ(9,"input",4),m.NdJ("dateChange",function(){return t.setExpiration()}),m.qZA(),m._UZ(10,"mat-datepicker-toggle",5),m._UZ(11,"mat-datepicker",6,7),m.qZA(),m.qZA(),m.qZA()}if(2&e){var n=m.MAs(12);m.Q6J("ngModel",t.expiration),m.xp6(2),m.hij(" ",m.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),m.xp6(2),m.s9C("value",t.expirationControl.value),m.xp6(3),m.Oqu(m.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),m.xp6(2),m.Q6J("min",t.minDate)("formControl",t.expirationControl)("matDatepicker",n),m.xp6(1),m.Q6J("for",n)("disabled",!1),m.xp6(1),m.Q6J("disabled",!1)}},directives:[S.VQ,u.JJ,u.On,S.U0,w.KE,w.hX,A.Nt,u.Fj,I.hl,u.oH,I.nW,w.R9,I.Mq],pipes:[y.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}(),x=i(39571),O=i(71522),P=i(43691),D=i(7927),M=i(22196);function L(e,t){1&e&&(m.TgZ(0,"h1",4),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")))}function N(e,t){1&e&&m._UZ(0,"mat-spinner",5)}function z(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Z(e,t){1&e&&(m.TgZ(0,"app-alert",42),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function B(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function F(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function q(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function H(e,t){if(1&e&&(m.TgZ(0,"mat-option",43),m._uU(1),m.qZA()),2&e){var i=t.$implicit;m.Q6J("value",i),m.xp6(1),m.hij(" ",i," ")}}function U(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function G(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function j(e,t){1&e&&m._UZ(0,"mat-spinner",44),2&e&&m.Q6J("diameter",18)}function Y(e,t){1&e&&(m.TgZ(0,"mat-icon",45),m.ALo(1,"translate"),m._uU(2," error "),m.qZA()),2&e&&m.Q6J("matTooltip",m.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR_LONG"))}function K(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")))}function V(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACKEND_ERROR")))}function J(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Q(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function W(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"perun-web-apps-user-search-select",46),m.NdJ("userSelected",function(e){return m.CHM(i),m.oxw(2).selectedSponsor=e}),m.qZA(),m.qZA()}if(2&e){var n=m.oxw(2);m.xp6(1),m.Q6J("users",n.voSponsors)("disableAutoSelect",!0)}}function X(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div",6),m.TgZ(1,"mat-horizontal-stepper",7),m.TgZ(2,"mat-step",8),m.YNc(3,z,2,3,"ng-template",9),m.YNc(4,Z,3,3,"app-alert",10),m.TgZ(5,"form",11),m.TgZ(6,"h5",12),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.TgZ(9,"mat-form-field",13),m._UZ(10,"input",14),m.ALo(11,"translate"),m.YNc(12,B,3,3,"mat-error",15),m.qZA(),m.TgZ(13,"mat-form-field"),m._UZ(14,"input",16),m.ALo(15,"translate"),m.YNc(16,F,3,3,"mat-error",15),m.qZA(),m.TgZ(17,"mat-form-field"),m._UZ(18,"input",17),m.ALo(19,"translate"),m.qZA(),m.TgZ(20,"mat-form-field"),m._UZ(21,"input",18),m.ALo(22,"translate"),m.qZA(),m.qZA(),m.TgZ(23,"div",19),m.TgZ(24,"button",20),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(25),m.ALo(26,"translate"),m.qZA(),m.TgZ(27,"button",21),m._uU(28),m.ALo(29,"translate"),m.qZA(),m.qZA(),m.qZA(),m.TgZ(30,"mat-step",8),m.YNc(31,q,2,3,"ng-template",9),m.TgZ(32,"h5",12),m._uU(33),m.ALo(34,"translate"),m.qZA(),m.TgZ(35,"form",22),m.TgZ(36,"mat-form-field"),m.TgZ(37,"mat-select",23),m.NdJ("valueChange",function(e){return m.CHM(i),m.oxw().onNamespaceChanged(e)}),m.ALo(38,"translate"),m.YNc(39,H,2,2,"mat-option",24),m.qZA(),m.YNc(40,U,3,3,"mat-error",15),m.qZA(),m.TgZ(41,"mat-form-field",25),m.ALo(42,"translate"),m._UZ(43,"input",26),m.ALo(44,"translate"),m.YNc(45,G,3,3,"mat-error",15),m.qZA(),m.TgZ(46,"span",25),m.ALo(47,"translate"),m.TgZ(48,"mat-checkbox",27),m.NdJ("change",function(){return m.CHM(i),m.oxw().passwordResetChange()}),m._uU(49),m.ALo(50,"translate"),m.qZA(),m.qZA(),m.TgZ(51,"mat-form-field",25),m._UZ(52,"input",28),m.ALo(53,"translate"),m.YNc(54,j,1,1,"mat-spinner",29),m.YNc(55,Y,3,3,"mat-icon",30),m.YNc(56,K,3,3,"mat-error",15),m.YNc(57,V,3,3,"mat-error",15),m.qZA(),m.TgZ(58,"mat-checkbox",31),m._uU(59),m.ALo(60,"translate"),m.qZA(),m.TgZ(61,"mat-form-field"),m._UZ(62,"input",32),m.ALo(63,"translate"),m.YNc(64,J,3,3,"mat-error",15),m.qZA(),m.TgZ(65,"div",19),m.TgZ(66,"button",20),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(67),m.ALo(68,"translate"),m.qZA(),m.TgZ(69,"button",33),m._uU(70),m.ALo(71,"translate"),m.qZA(),m.TgZ(72,"button",34),m._uU(73),m.ALo(74,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.TgZ(75,"mat-step"),m.YNc(76,Q,2,3,"ng-template",9),m.TgZ(77,"div",35),m.TgZ(78,"h5",12),m._uU(79),m.ALo(80,"translate"),m.qZA(),m.TgZ(81,"div",13),m.TgZ(82,"h6"),m._uU(83),m.ALo(84,"translate"),m.qZA(),m.TgZ(85,"mat-radio-group",36),m.NdJ("ngModelChange",function(e){return m.CHM(i),m.oxw().sponsorType=e}),m.TgZ(86,"span",37),m.ALo(87,"translate"),m.TgZ(88,"mat-radio-button",38),m.NdJ("click",function(){return m.CHM(i),m.oxw().selectedSponsor=null}),m._uU(89),m.ALo(90,"translate"),m.qZA(),m.qZA(),m.TgZ(91,"span",37),m.ALo(92,"translate"),m.TgZ(93,"mat-radio-button",39),m._uU(94),m.ALo(95,"translate"),m.qZA(),m.qZA(),m.qZA(),m.YNc(96,W,2,2,"div",15),m.qZA(),m.TgZ(97,"h6",13),m._uU(98),m.ALo(99,"translate"),m.qZA(),m.TgZ(100,"perun-web-apps-expiration-select",40),m.NdJ("datePicker",function(e){return m.CHM(i),m.oxw().setExpiration(e)}),m.qZA(),m.qZA(),m.TgZ(101,"div",19),m.TgZ(102,"button",20),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(103),m.ALo(104,"translate"),m.qZA(),m.TgZ(105,"button",33),m._uU(106),m.ALo(107,"translate"),m.qZA(),m.TgZ(108,"button",41),m.NdJ("click",function(){return m.CHM(i),m.oxw().onConfirm()}),m._uU(109),m.ALo(110,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&e){var n=m.oxw();m.xp6(1),m.Q6J("linear",!0),m.xp6(1),m.Q6J("stepControl",n.userControl),m.xp6(2),m.Q6J("ngIf",n.functionalityNotSupported),m.xp6(1),m.Q6J("formGroup",n.userControl),m.xp6(2),m.hij(" ",m.lcZ(8,60,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(11,62,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),m.xp6(2),m.Q6J("ngIf",n.userControl.hasError("required","firstName")),m.xp6(2),m.s9C("placeholder",m.lcZ(15,64,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),m.xp6(2),m.Q6J("ngIf",n.userControl.hasError("required","lastName")),m.xp6(2),m.s9C("placeholder",m.lcZ(19,66,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),m.xp6(3),m.s9C("placeholder",m.lcZ(22,68,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),m.xp6(4),m.hij(" ",m.lcZ(26,70,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",n.userControl.invalid),m.xp6(1),m.hij(" ",m.lcZ(29,72,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),m.xp6(2),m.Q6J("stepControl",n.namespaceControl),m.xp6(3),m.Oqu(m.lcZ(34,74,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),m.xp6(2),m.Q6J("formGroup",n.namespaceControl),m.xp6(2),m.s9C("placeholder",m.lcZ(38,76,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),m.xp6(2),m.Q6J("ngForOf",n.namespaceOptions),m.xp6(1),m.Q6J("ngIf",n.namespaceControl.hasError("required","namespace")),m.xp6(1),m.s9C("matTooltip",m.lcZ(42,78,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),m.Q6J("matTooltipDisabled",n.namespaceControl.get("login").enabled),m.xp6(2),m.s9C("placeholder",m.lcZ(44,80,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),m.xp6(2),m.Q6J("ngIf",n.namespaceControl.hasError("required","login")),m.xp6(1),m.s9C("matTooltip",m.lcZ(47,82,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),m.Q6J("matTooltipDisabled",n.namespaceControl.get("passwordReset").enabled),m.xp6(3),m.hij("",m.lcZ(50,84,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),m.xp6(2),m.Q6J("matTooltip",n.getPasswordDisabledTooltip())("matTooltipDisabled",n.namespaceControl.get("password").enabled),m.xp6(1),m.s9C("placeholder",m.lcZ(53,86,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")),m.Q6J("type",n.namespaceControl.get("showPassword").value?"text":"password")("errorStateMatcher",n.passwordStateMatcher),m.xp6(2),m.Q6J("ngIf",n.namespaceControl.get("password").pending),m.xp6(1),m.Q6J("ngIf",n.namespaceControl.get("password").dirty&&null!==n.namespaceControl.get("password").errors),m.xp6(1),m.Q6J("ngIf",n.namespaceControl.get("password").hasError("required")),m.xp6(1),m.Q6J("ngIf",n.namespaceControl.get("password").hasError("backendError")),m.xp6(2),m.hij(" ",m.lcZ(60,88,"DIALOGS.CREATE_SPONSORED_MEMBER.SHOW_PASSWORD")," "),m.xp6(3),m.s9C("placeholder",m.lcZ(63,90,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),m.xp6(2),m.Q6J("ngIf",n.namespaceControl.hasError("required","email")||n.namespaceControl.hasError("pattern","email")),m.xp6(3),m.hij(" ",m.lcZ(68,92,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(71,94,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),m.xp6(2),m.Q6J("disabled",n.namespaceControl.invalid||n.namespaceControl.get("password").pending),m.xp6(1),m.hij(" ",m.lcZ(74,96,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," "),m.xp6(6),m.Oqu(m.lcZ(80,98,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),m.xp6(4),m.Oqu(m.lcZ(84,100,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),m.xp6(2),m.Q6J("ngModel",n.sponsorType),m.xp6(1),m.s9C("matTooltip",m.lcZ(87,102,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),m.Q6J("matTooltipDisabled",n.isSponsor),m.xp6(2),m.Q6J("disabled",!n.isSponsor),m.xp6(1),m.hij(" ",m.lcZ(90,104,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),m.xp6(2),m.s9C("matTooltip",m.lcZ(92,106,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),m.Q6J("matTooltipDisabled",n.isPerunAdmin),m.xp6(2),m.Q6J("disabled",!n.isPerunAdmin),m.xp6(1),m.hij(" ",m.lcZ(95,108,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),m.xp6(2),m.Q6J("ngIf","other"===n.sponsorType),m.xp6(2),m.Oqu(m.lcZ(99,110,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION")),m.xp6(5),m.hij(" ",m.lcZ(104,112,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(107,114,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "),m.xp6(2),m.Q6J("disabled",null===n.sponsorType||"other"===n.sponsorType&&null===n.selectedSponsor),m.xp6(1),m.hij(" ",m.lcZ(110,116,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function $(e,t){if(1&e&&(m.TgZ(0,"div",6),m.TgZ(1,"div",47),m.TgZ(2,"mat-icon",48),m._uU(3,"done"),m.qZA(),m._uU(4),m.ALo(5,"translate"),m.TgZ(6,"i"),m._uU(7),m.ALo(8,"userFullName"),m.qZA(),m._uU(9),m.ALo(10,"translate"),m.qZA(),m.TgZ(11,"div"),m._uU(12),m.ALo(13,"translate"),m.qZA(),m.TgZ(14,"div"),m._uU(15),m.ALo(16,"translate"),m.qZA(),m.TgZ(17,"app-alert",49),m._uU(18),m.ALo(19,"translate"),m.qZA(),m.qZA()),2&e){var i=m.oxw();m.xp6(4),m.hij(" ",m.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),m.xp6(3),m.Oqu(m.lcZ(8,10,i.createdMember.user)),m.xp6(2),m.hij(" ",m.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),m.xp6(3),m.AsE("",m.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",i.loginThatWasSet,""),m.xp6(3),m.AsE("",m.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",i.namespaceControl.get("password").value," "),m.xp6(3),m.Oqu(m.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function ee(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div",19),m.TgZ(1,"button",50),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.qZA()}2&e&&(m.xp6(2),m.hij(" ",m.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}var te=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isErrorState",value:function(e){return!!(e&&e.invalid&&e.dirty)}}]),e}(),ie=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500;return function(r){return(0,d.H)(n).pipe((0,p.w)(function(){return i.dontHandleErrorForNext(),null===e||"No namespace"===e?(0,f.of)(null):t.checkPasswordStrength(r.value,e)}),(0,g.U)(function(){return null}),(0,v.K)(function(e){return(0,f.of)({backendError:e.error.message.substr(e.error.message.indexOf(":")+1)})}))}},ne=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.membersService=n,this.apiRequestConfiguration=r,this.usersService=o,this.store=a,this.translator=s,this.authzService=c,this.guiAuthResolver=u,this.formBuilder=l,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.passwordStateMatcher=new te,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(h.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",u.kI.required],lastName:["",u.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",u.kI.required],login:["",[u.kI.required]],password:["",u.kI.required,[ie(null,this.usersService,this.apiRequestConfiguration)]],passwordReset:[!1,[]],showPassword:[!1,[]],email:["",[u.kI.required,u.kI.pattern(a.B2)]]}),this.membersService.getAllNamespacesRules().subscribe(function(t){e.store.get("allow_empty_sponsor_namespace")&&e.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),e.namespaceRules=e.namespaceRules.concat(t),e.parseNamespaceRules(),0===e.namespaceOptions.length&&(e.functionalityNotSupported=!0),e.loading=!1})}},{key:"parseNamespaceRules",value:function(){var e,t=_createForOfIteratorHelper(this.namespaceRules);try{for(t.s();!(e=t.n()).done;){var i=e.value;this.namespaceOptions.push(i.namespaceName);var n={login:"disabled",password:"disabled"};this.parseAttributes(n,i.requiredAttributes,"required"),this.parseAttributes(n,i.optionalAttributes,"optional"),this.parsedRules.set(i.namespaceName,n)}}catch(r){t.e(r)}finally{t.f()}}},{key:"parseAttributes",value:function(e,t,i){var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){switch(n.value){case"login":e.login=i;break;case"password":e.password=i}}}catch(o){r.e(o)}finally{r.f()}}},{key:"onConfirm",value:function(){var e=this;this.loading=!0;var t={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},i=this.namespaceControl.get("namespace").value,n=this.parsedRules.get(i);"No namespace"!==i&&(t.userData.namespace=i),"disabled"!==n.login&&(t.userData.login=this.namespaceControl.get("login").value),"disabled"!==n.password&&(t.sendActivationLink=this.namespaceControl.get("passwordReset").value,t.userData.password=this.namespaceControl.get("password").value),"never"!==this.expiration&&(t.validityTo=this.expiration),this.membersService.createSponsoredMember(t).subscribe(function(t){e.successfullyCreated=!0,e.dialogRef.updateSize("600px"),e.createdMember=t,t&&t.userAttributes&&t.userAttributes.filter(function(e){return"login-namespace"===e.baseFriendlyName}).filter(function(e){return e.friendlyNameParameter===i}).filter(function(e){return null!==e.value}).forEach(function(t){e.loginThatWasSet=t.value.toString()}),e.loading=!1},function(){e.loading=!1})}},{key:"onCancel",value:function(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}},{key:"onNamespaceChanged",value:function(e){var t=this.parsedRules.get(e),i=this.namespaceControl.get("login"),n=this.namespaceControl.get("password"),r=this.namespaceControl.get("passwordReset"),o=this.namespaceControl.get("showPassword");"disabled"!==t.login?(0,a.mH)(i,"optional"===t.login?[]:[u.kI.required]):(i.disable(),i.setValue("")),"disabled"!==t.password?((0,a.mH)(n,"optional"===t.password?[]:[u.kI.required],[ie(e,this.usersService,this.apiRequestConfiguration)]),(0,a.mH)(r,[]),(0,a.mH)(o,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(n.disable(),n.setValue(""),r.disable(),r.setValue(!1),o.disable(),o.setValue(!1))}},{key:"passwordResetChange",value:function(){var e=this.namespaceControl.get("password");this.namespaceControl.get("passwordReset").value?(e.disable(),e.setValue("")):e.enable()}},{key:"setExpiration",value:function(e){this.expiration="never"===e?"never":(0,l.p6)(e,"yyyy-MM-dd","en-GB")}},{key:"getPasswordDisabledTooltip",value:function(){return this.namespaceControl.get("passwordReset").value?this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_VIA_EMAIL"):this.translator.instant("DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_DISABLED")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m.Y36(s.so),m.Y36(s.WI),m.Y36(n.uq),m.Y36(c.F5),m.Y36(n.Fv),m.Y36(c.d6),m.Y36(y.sK),m.Y36(n.Ct),m.Y36(c.x4),m.Y36(u.qu))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-create-sponsored-member-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],[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"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-auto",3,"disabled"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],["matInput","","formControlName","password",3,"type","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["color","warn","matSuffix","",3,"matTooltip",4,"ngIf"],["formControlName","showPassword",1,"example-margin"],["matInput","","required","","formControlName","email",3,"placeholder"],["mat-flat-button","","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled"],[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"],["mat-flat-button","","type","button","color","accent","matStepperNext","",1,"ml-2",3,"disabled","click"],["alert_type","error"],[3,"value"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",3,"matTooltip"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(m.TgZ(0,"div"),m.YNc(1,L,3,3,"h1",0),m.YNc(2,N,1,0,"mat-spinner",1),m.YNc(3,X,111,118,"div",2),m.YNc(4,$,20,20,"div",2),m.YNc(5,ee,4,3,"div",3),m.qZA()),2&e&&(m.Tol(t.theme),m.xp6(1),m.Q6J("ngIf",!t.successfullyCreated),m.xp6(1),m.Q6J("ngIf",t.loading),m.xp6(1),m.Q6J("ngIf",!t.loading&&!t.successfullyCreated),m.xp6(1),m.Q6J("ngIf",!t.loading&&t.successfullyCreated),m.xp6(1),m.Q6J("ngIf",t.successfullyCreated))},directives:[l.O5,s.uh,_.$g,s.xY,b.Vq,b.C0,b.VY,u._Y,u.JL,u.sg,w.KE,A.Nt,u.Fj,u.JJ,u.u,u.Q7,s.H8,k.lW,b.Ic,C.gD,l.sg,T.gM,E.oG,b.fd,S.VQ,u.On,S.U0,R,x.w,w.TO,O.ey,w.R9,P.Hw,D.S],pipes:[y.X$,M.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}"]}),e}(),re=i(67004),oe=i(43005),ae=i(19139),se=i(78364);function ce(e,t){1&e&&m._UZ(0,"mat-spinner",3)}function ue(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function le(e,t){1&e&&(m.TgZ(0,"app-alert",32),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function he(e,t){if(1&e&&(m.TgZ(0,"mat-option",33),m._uU(1),m.qZA()),2&e){var i=t.$implicit;m.Q6J("value",i),m.xp6(1),m.hij(" ",i," ")}}function de(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function fe(e,t){1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function pe(e,t){if(1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e){var i=m.oxw(2);m.xp6(1),m.AsE(" ",m.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function ge(e,t){if(1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e){var i=m.oxw(2);m.xp6(1),m.AsE(" ",m.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function ve(e,t){if(1&e&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e){var i=m.oxw(2);m.xp6(1),m.AsE(" ",m.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",i.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function me(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function ye(e,t){1&e&&(m.TgZ(0,"app-alert",34),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&e&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function _e(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"mat-radio-group",35),m.NdJ("ngModelChange",function(e){return m.CHM(i),m.oxw(2).passwordReset=e}),m.TgZ(1,"mat-radio-button",36),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"mat-radio-button",37),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&e){var n=m.oxw(2);m.Q6J("ngModel",n.passwordReset),m.xp6(2),m.hij(" ",m.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),m.xp6(3),m.hij(" ",m.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function be(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function we(e,t){1&e&&(m._uU(0),m.ALo(1,"translate")),2&e&&m.Oqu(m.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function Ae(e,t){1&e&&(m.TgZ(0,"div"),m.TgZ(1,"app-alert",38),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.qZA()),2&e&&(m.xp6(2),m.Oqu(m.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function ke(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"h5",39),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-create-group-form",40),m.NdJ("nameChanged",function(e){return m.CHM(i),m.oxw(2).name=e})("descriptionChanged",function(e){return m.CHM(i),m.oxw(2).description=e})("parentGroupChanged",function(e){return m.CHM(i),m.oxw(2).parentGroup=e})("asSubgroupChanged",function(e){return m.CHM(i),m.oxw(2).asSubGroup=e}),m.qZA(),m.qZA()}if(2&e){var n=m.oxw(2);m.xp6(2),m.Oqu(m.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")),m.xp6(2),m.Q6J("voGroups",n.allVoGroups)}}var Ce=function(){return["select","id","name","description"]};function Te(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"h5",39),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-immediate-filter",41),m.NdJ("filter",function(e){return m.CHM(i),m.oxw(2).applyFilter(e)}),m.qZA(),m.TgZ(5,"perun-web-apps-groups-list",42),m.NdJ("page",function(e){return m.CHM(i),m.oxw(2).groupTablePageChanged(e)}),m.qZA(),m.qZA()}if(2&e){var n=m.oxw(2);m.xp6(2),m.Oqu(m.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")),m.xp6(2),m.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),m.xp6(1),m.Q6J("groups",n.assignableGroups)("selection",n.selection)("displayedColumns",m.DdM(10,Ce))("disableRouting",!0)("pageSize",n.pageSize)("filter",n.filterValue)}}function Ee(e,t){if(1&e){var i=m.EpF();m.TgZ(0,"div",4),m.TgZ(1,"mat-horizontal-stepper",5),m.TgZ(2,"mat-step",6),m.YNc(3,ue,2,3,"ng-template",7),m.YNc(4,le,3,3,"app-alert",8),m.TgZ(5,"h5",9),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.TgZ(8,"form",10),m.TgZ(9,"mat-form-field"),m.TgZ(10,"mat-select",11),m.ALo(11,"translate"),m.YNc(12,he,2,2,"mat-option",12),m.qZA(),m.YNc(13,de,3,3,"mat-error",13),m.qZA(),m.TgZ(14,"div"),m._uU(15),m.ALo(16,"translate"),m.qZA(),m.TgZ(17,"div",14),m._uU(18),m.qZA(),m.TgZ(19,"mat-form-field",15),m.TgZ(20,"mat-label"),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.TgZ(23,"textarea",16),m._uU(24," "),m.qZA(),m.YNc(25,fe,3,3,"mat-error",13),m.YNc(26,pe,3,4,"mat-error",13),m.YNc(27,ge,3,4,"mat-error",13),m.YNc(28,ve,3,4,"mat-error",13),m.qZA(),m.TgZ(29,"div",17),m.TgZ(30,"button",18),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(31),m.ALo(32,"translate"),m.qZA(),m.TgZ(33,"button",19),m._uU(34),m.ALo(35,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.TgZ(36,"mat-step"),m.YNc(37,me,2,3,"ng-template",7),m.TgZ(38,"div",9),m.TgZ(39,"h5",20),m._uU(40),m.ALo(41,"translate"),m.qZA(),m.YNc(42,ye,3,3,"app-alert",21),m.YNc(43,_e,7,7,"mat-radio-group",22),m.qZA(),m.TgZ(44,"div",17),m.TgZ(45,"button",18),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(46),m.ALo(47,"translate"),m.qZA(),m.TgZ(48,"button",23),m._uU(49),m.ALo(50,"translate"),m.qZA(),m.TgZ(51,"button",24),m._uU(52),m.ALo(53,"translate"),m.qZA(),m.qZA(),m.qZA(),m.TgZ(54,"mat-step"),m.YNc(55,be,2,3,"ng-template",7),m.TgZ(56,"div",9),m.TgZ(57,"h5",20),m._uU(58),m.ALo(59,"translate"),m.qZA(),m.TgZ(60,"perun-web-apps-expiration-select",25),m.NdJ("datePicker",function(e){return m.CHM(i),m.oxw().setExpiration(e)}),m.qZA(),m.qZA(),m.TgZ(61,"div",17),m.TgZ(62,"button",18),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(63),m.ALo(64,"translate"),m.qZA(),m.TgZ(65,"button",23),m._uU(66),m.ALo(67,"translate"),m.qZA(),m.TgZ(68,"button",24),m._uU(69),m.ALo(70,"translate"),m.qZA(),m.qZA(),m.qZA(),m.TgZ(71,"mat-step"),m.YNc(72,we,2,3,"ng-template",7),m.TgZ(73,"div",9),m.TgZ(74,"h5",20),m._uU(75),m.ALo(76,"translate"),m.qZA(),m.TgZ(77,"mat-radio-group",26),m.NdJ("change",function(){return m.CHM(i),m.oxw().groupAssigmentChanged()})("ngModelChange",function(e){return m.CHM(i),m.oxw().groupAssignment=e}),m.TgZ(78,"mat-radio-button",27),m._uU(79),m.ALo(80,"translate"),m.qZA(),m.TgZ(81,"span",28),m.ALo(82,"translate"),m.TgZ(83,"mat-radio-button",29),m._uU(84),m.ALo(85,"translate"),m.qZA(),m.qZA(),m.TgZ(86,"span",28),m.ALo(87,"translate"),m.TgZ(88,"mat-radio-button",30),m._uU(89),m.ALo(90,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.YNc(91,Ae,4,3,"div",13),m.YNc(92,ke,5,4,"div",13),m.YNc(93,Te,6,11,"div",13),m.TgZ(94,"div",17),m.TgZ(95,"button",18),m.NdJ("click",function(){return m.CHM(i),m.oxw().onCancel()}),m._uU(96),m.ALo(97,"translate"),m.qZA(),m.TgZ(98,"button",23),m._uU(99),m.ALo(100,"translate"),m.qZA(),m.TgZ(101,"button",31),m.NdJ("click",function(){return m.CHM(i),m.oxw().onSubmit()}),m._uU(102),m.ALo(103,"translate"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&e){var n=m.oxw();m.xp6(1),m.Q6J("linear",!0),m.xp6(1),m.Q6J("stepControl",n.usersInfoFormGroup),m.xp6(2),m.Q6J("ngIf",n.functionalityNotSupported),m.xp6(2),m.Oqu(m.lcZ(7,50,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),m.xp6(2),m.Q6J("formGroup",n.usersInfoFormGroup),m.xp6(2),m.s9C("placeholder",m.lcZ(11,52,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),m.xp6(2),m.Q6J("ngForOf",n.namespaceOptions),m.xp6(1),m.Q6J("ngIf",n.usersInfoFormGroup.hasError("required","namespace")),m.xp6(2),m.Oqu(m.lcZ(16,54,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),m.xp6(3),m.Oqu(n.getSelectedNamespaceRules().csvGenHeaderDescription),m.xp6(3),m.Oqu(m.lcZ(22,56,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),m.xp6(2),m.s9C("placeholder",n.getSelectedNamespaceRules().csvGenPlaceholder),m.xp6(2),m.Q6J("ngIf",n.usersInfoFormGroup.hasError("required","sponsoredMembers")),m.xp6(1),m.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),m.xp6(1),m.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),m.xp6(1),m.Q6J("ngIf",n.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),m.xp6(3),m.hij(" ",m.lcZ(32,58,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),m.xp6(2),m.Q6J("disabled",n.usersInfoFormGroup.invalid),m.xp6(1),m.hij(" ",m.lcZ(35,60,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),m.xp6(6),m.Oqu(m.lcZ(41,62,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")),m.xp6(2),m.Q6J("ngIf","No namespace"===n.getSelectedNamespaceRules().namespaceName),m.xp6(1),m.Q6J("ngIf","No namespace"!==n.getSelectedNamespaceRules().namespaceName),m.xp6(3),m.hij(" ",m.lcZ(47,64,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(50,66,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),m.xp6(2),m.Q6J("disabled",null===n.passwordReset),m.xp6(1),m.hij(" ",m.lcZ(53,68,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),m.xp6(6),m.Oqu(m.lcZ(59,70,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),m.xp6(2),m.Q6J("expiration",n.expiration),m.xp6(3),m.hij(" ",m.lcZ(64,72,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(67,74,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),m.xp6(2),m.Q6J("disabled",null===n.expiration),m.xp6(1),m.hij("",m.lcZ(70,76,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," "),m.xp6(6),m.Oqu(m.lcZ(76,78,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),m.xp6(2),m.Q6J("ngModel",n.groupAssignment),m.xp6(2),m.hij(" ",m.lcZ(80,80,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),m.xp6(2),m.s9C("matTooltip",m.lcZ(82,82,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),m.Q6J("matTooltipDisabled",!n.manualMemberAddingBlocked&&n.createGroupAuth),m.xp6(2),m.Q6J("disabled",n.manualMemberAddingBlocked||!n.createGroupAuth),m.xp6(1),m.hij(" ",m.lcZ(85,84,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),m.xp6(2),m.s9C("matTooltip",m.lcZ(87,86,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),m.Q6J("matTooltipDisabled",!n.manualMemberAddingBlocked&&0!==n.assignableGroups.length),m.xp6(2),m.Q6J("disabled",n.manualMemberAddingBlocked||0===n.assignableGroups.length),m.xp6(1),m.hij(" ",m.lcZ(90,88,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),m.xp6(2),m.Q6J("ngIf","none"===n.groupAssignment),m.xp6(1),m.Q6J("ngIf","new"===n.groupAssignment),m.xp6(1),m.Q6J("ngIf","existing"===n.groupAssignment),m.xp6(3),m.hij(" ",m.lcZ(97,90,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(100,92,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "),m.xp6(2),m.Q6J("disabled",null===n.groupAssignment||"existing"===n.groupAssignment&&0===n.selection.selected.length||"new"===n.groupAssignment&&(0===n.name.length||0===n.description.length)||!0===n.asSubGroup&&null===n.parentGroup),m.xp6(1),m.hij(" ",m.lcZ(103,94,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}var Se=function(){var e=function(){function e(t,i,n,a,s,c,u,l,h,d,f){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.store=n,this.membersService=a,this.notificator=s,this.translate=c,this.guiAuthResolver=u,this.groupsService=l,this.attributesService=h,this.formBuilder=d,this.tableConfigService=f,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new r.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=o.rc,this.groupAttrNames=[re.r.GROUP_SYNC_ENABLED,re.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",u.kI.required],sponsoredMembers:["",[u.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:function(){e.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(function(t){e.manualMemberAddingBlocked=e.hasAttributeEnabled(t,"blockManualMemberAdding"),!0!==e.manualMemberAddingBlocked?e.groupsService.getAllRichGroupsWithAttributesByNames(e.data.voId,e.groupAttrNames).subscribe(function(t){e.allVoGroups=t.filter(function(e){return"members"!==e.name}),e.assignableGroups=e.filterAssignableGroups(t),e.membersService.getAllNamespacesRules().subscribe(function(t){e.store.get("allow_empty_sponsor_namespace")&&e.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"}),e.namespaceRules=e.namespaceRules.concat(t),e.namespaceRules.forEach(function(t){return e.namespaceOptions.push(t.namespaceName)}),0===e.namespaceOptions.length?e.functionalityNotSupported=!0:e.usersInfoFormGroup.setValue({namespace:e.namespaceOptions[0],sponsoredMembers:""}),e.loading=!1})},function(){return e.loading=!1}):e.loading=!1},function(){return e.loading=!1})}},{key:"filterAssignableGroups",value:function(e){var t,i=[],n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.hasAttributeEnabled(r.attributes,"synchronizationEnabled")||this.hasAttributeEnabled(r.attributes,"blockManualMemberAdding")||!this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[r])||i.push(r)}}catch(o){n.e(o)}finally{n.f()}return i}},{key:"hasAttributeEnabled",value:function(e,t){return e.some(function(e){return e.friendlyName===t&&null!==e.value&&"true"===e.value.toString()})}},{key:"createOutputObjects",value:function(e){for(var t="",i="",n="",r="",o=[],a=0,s=Object.keys(e);a_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]))}},{key:"onCreate",value:function(){var e=this,t=(0,a.kZ)();t.width="620px",t.data={entityId:this.voId,voId:this.voId,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(ne,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.authzResolver.getPerunPrincipal().subscribe(function(t){e.storeService.setPerunPrincipal(t),e.refresh()}))})}},{key:"onGenerate",value:function(){var e=this,t=(0,a.kZ)();t.width="750px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(Se,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.authzResolver.getPerunPrincipal().subscribe(function(t){e.storeService.setPerunPrincipal(t),e.refresh()}))})}},{key:"onSponsorExistingMember",value:function(){var e=this,t=(0,a.kZ)();t.width="650px",t.data={voId:this.voId,theme:"vo-theme"},this.dialog.open(De,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.authzResolver.getPerunPrincipal().subscribe(function(t){e.storeService.setPerunPrincipal(t),e.refresh()}))})}},{key:"refresh",value:function(){var e=this;this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.voId,this.attrNames).subscribe(function(t){e.selection.clear(),e.members=t,e.setAuthRights(),e.loading=!1})}},{key:"applyFilter",value:function(e){this.searchString=e}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="VoSponsoredMembersComponent",e.\u0275fac=function(t){return new(t||e)(m.Y36(n.uq),m.Y36(Me.gz),m.Y36(s.uw),m.Y36(c.x4),m.Y36(o.dB),m.Y36(c.d6),m.Y36(n.Ct))},e.\u0275cmp=m.Xpm({type:e,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(e,t){2&e&&m.ekj("router-component",t.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","pageSize","page","refreshTable"]],template:function(e,t){1&e&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"perun-web-apps-refresh-button",1),m.NdJ("refresh",function(){return t.refresh()}),m.qZA(),m.TgZ(5,"span",2),m.ALo(6,"translate"),m.YNc(7,st,3,5,"button",3),m.qZA(),m.TgZ(8,"mat-menu",null,4),m.YNc(10,ct,3,3,"button",5),m.YNc(11,ut,3,3,"button",5),m.qZA(),m.YNc(12,lt,3,3,"button",6),m.TgZ(13,"perun-web-apps-immediate-filter",7),m.NdJ("filter",function(e){return t.applyFilter(e)}),m.qZA(),m.YNc(14,ht,1,0,"mat-spinner",8),m.YNc(15,dt,1,5,"app-sponsored-members-list",9),m.qZA()),2&e&&(m.xp6(2),m.Oqu(m.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),m.xp6(3),m.s9C("matTooltip",m.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),m.Q6J("matTooltipDisabled",!(t.findSponsorsAuth&&0===t.voSponsors.length)),m.xp6(2),m.Q6J("ngIf",!t.loading&&(t.createAuth||t.generateAuth)),m.xp6(3),m.Q6J("ngIf",t.createAuth),m.xp6(1),m.Q6J("ngIf",t.generateAuth),m.xp6(1),m.Q6J("ngIf",!t.loading&&t.setSponsorshipAuth),m.xp6(1),m.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),m.xp6(1),m.Q6J("ngIf",t.loading),m.xp6(1),m.Q6J("ngIf",!t.loading))},directives:[Le.t,T.gM,l.O5,Ne.VK,ae.L,k.lW,Ne.p6,Ne.OP,_.$g,at],pipes:[y.X$],styles:[""]}),e}()},17249:function(e,t,i){"use strict";i.d(t,{Y:function(){return N}});var n=i(33642),r=i(84140),o=i(88426),a=i(99608),s=i(4230),c=i(84608),u=i(16073),l=i(31572),h=i(48160),d=i(57629),f=i(61511),p=i(67806),g=i(66283),v=i(80340),m=i(15980),y=i(36922);function _(e,t){1&e&&l._UZ(0,"mat-spinner",3)}function b(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"div",4),l.TgZ(2,"mat-form-field"),l._UZ(3,"input",5),l.ALo(4,"translate"),l.TgZ(5,"mat-error"),l._uU(6),l.ALo(7,"translate"),l.qZA(),l.qZA(),l.TgZ(8,"mat-form-field"),l._UZ(9,"input",5),l.ALo(10,"translate"),l.TgZ(11,"mat-error"),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(14,"div",6),l.TgZ(15,"button",7),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCancel()}),l._uU(16),l.ALo(17,"translate"),l.qZA(),l.TgZ(18,"div",8),l.ALo(19,"translate"),l.TgZ(20,"button",9),l.NdJ("click",function(){return l.CHM(i),l.oxw().onSubmit()}),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&e){var n=l.oxw();l.xp6(3),l.s9C("placeholder",l.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),l.Q6J("formControl",n.fullNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),l.xp6(3),l.s9C("placeholder",l.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),l.Q6J("formControl",n.shortNameCtrl),l.xp6(3),l.hij(" ",l.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),l.xp6(4),l.hij(" ",l.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),l.xp6(2),l.s9C("matTooltip",l.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),l.Q6J("matTooltipDisabled",n.shortNameCtrl.valid&&n.fullNameCtrl.valid),l.xp6(2),l.Q6J("disabled",n.shortNameCtrl.invalid||n.fullNameCtrl.invalid),l.xp6(1),l.hij(" ",l.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}var w=function(){var e=function(){function e(t,i,n,r,o,a){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.voService=r,this.translate=o,this.router=a,o.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(function(e){return s.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.shortNameCtrl=new u.NI(null,[u.kI.required,u.kI.pattern("^[\\w.-]+$"),u.kI.maxLength(33)]),this.fullNameCtrl=new u.NI(null,[u.kI.required,u.kI.pattern(".*[\\S]+.*"),u.kI.maxLength(129)])}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(function(t){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0),e.router.navigate(["/organizations",t.id])},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(c.so),l.Y36(c.WI),l.Y36(o.V6),l.Y36(n.YF),l.Y36(h.sK),l.Y36(d.F0))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],["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&&(l.TgZ(0,"div"),l.TgZ(1,"h1",0),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,_,1,0,"mat-spinner",1),l.YNc(5,b,23,25,"div",2),l.qZA()),2&e&&(l.Tol(t.theme),l.xp6(2),l.Oqu(l.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),l.xp6(2),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[c.uh,f.O5,p.$g,c.xY,g.KE,v.Nt,u.Fj,u.Q7,u.JJ,u.oH,g.TO,c.H8,m.lW,y.gM],pipes:[h.X$],styles:[""]}),e}(),A=i(60611),k=i(48958),C=i(66297),T=i(43691),E=i(59403),S=i(19139),I=i(97162);function R(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-refresh-button",9),l.NdJ("refresh",function(){return l.CHM(i),l.oxw().refreshTable()}),l.qZA()}}function x(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",10),l.NdJ("click",function(){return l.CHM(i),l.oxw().onCreateVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}2&e&&(l.xp6(1),l.hij(" ",l.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function O(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"button",11),l.NdJ("click",function(){return l.CHM(i),l.oxw().onRemoveVo()}),l._uU(1),l.ALo(2,"translate"),l.qZA()}if(2&e){var n=l.oxw();l.Q6J("disabled",0===n.selection.selected.length),l.xp6(1),l.hij(" ",l.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function P(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-immediate-filter",12),l.NdJ("filter",function(e){return l.CHM(i),l.oxw().applyFilter(e)}),l.qZA()}2&e&&l.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER")}function D(e,t){1&e&&l._UZ(0,"mat-spinner",13)}function M(e,t){if(1&e){var i=l.EpF();l.TgZ(0,"perun-web-apps-vos-list",14),l.NdJ("page",function(e){return l.CHM(i),l.oxw().pageChanged(e)}),l.qZA()}if(2&e){var n=l.oxw();l.Q6J("pageSize",n.pageSize)("displayedColumns",n.displayedColumns)("filterValue",n.filterValue)("recentIds",n.recentIds)("selection",n.selection)("vos",n.vos)}}var L=function(){return{color:"black"}},N=function(){var e=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this.sideMenuService=t,this.voService=i,this.guiAuthResolver=n,this.tableConfigService=r,this.dialog=o,this.notificator=a,this.apiRequest=s,this.initAuthService=c,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=A.tw}return _createClass(e,[{key:"ngOnInit",value:function(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.selection=new s.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}},{key:"ngAfterViewChecked",value:function(){this.sideMenuService.setAccessMenuItems([])}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(function(t){e.vos=t,e.recentIds=(0,r.vL)("vos"),e.loading=!1},function(t){"PrivilegeException"===t.error.name?(e.vos=[],e.loading=!1):e.notificator.showRPCError(t)})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"onCreateVo",value:function(){var e=this,t=(0,r.kZ)();t.width="600px",t.data={theme:"vo-theme"},this.dialog.open(w,t).afterClosed().subscribe(function(t){t&&(e.loading=!0,e.refreshTable())})}},{key:"onRemoveVo",value:function(){var e=this,t=(0,r.kZ)();t.width="500px",t.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(a.o,t).afterClosed().subscribe(function(t){t&&e.refreshTable()})}},{key:"pageChanged",value:function(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}]),e}();return e.id="VoSelectPageComponent",e.\u0275fac=function(t){return new(t||e)(l.Y36(k.D),l.Y36(n.YF),l.Y36(o.x4),l.Y36(A.dB),l.Y36(c.uw),l.Y36(o.V6),l.Y36(o.F5),l.Y36(o.v0))},e.\u0275cmp=l.Xpm({type:e,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(e,t){2&e&&l.ekj("router-component",t.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",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page",4,"ngIf"],[3,"refresh"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],[1,"ml-auto","mr-auto"],[3,"pageSize","displayedColumns","filterValue","recentIds","selection","vos","page"]],template:function(e,t){1&e&&(l.TgZ(0,"div",0),l._UZ(1,"perun-web-apps-back-button"),l.TgZ(2,"h1",1),l._UZ(3,"mat-icon",2),l._uU(4),l.ALo(5,"translate"),l.qZA(),l.YNc(6,R,1,0,"perun-web-apps-refresh-button",3),l.YNc(7,x,3,3,"button",4),l.YNc(8,O,3,4,"button",5),l.YNc(9,P,1,2,"perun-web-apps-immediate-filter",6),l.YNc(10,D,1,0,"mat-spinner",7),l.YNc(11,M,1,6,"perun-web-apps-vos-list",8),l.qZA()),2&e&&(l.xp6(3),l.Q6J("ngStyle",l.DdM(10,L)),l.xp6(1),l.hij(" ",l.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),l.xp6(2),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading&&t.createAuth),l.xp6(1),l.Q6J("ngIf",!t.loading&&t.deleteAuth),l.xp6(1),l.Q6J("ngIf",!t.loading),l.xp6(1),l.Q6J("ngIf",t.loading),l.xp6(1),l.Q6J("ngIf",!t.loading))},directives:[C.W,T.Hw,f.PC,f.O5,E.t,m.lW,S.L,p.$g,I.Z],pipes:[h.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),e}()},73868:function(e,t,i){"use strict";var n=i(30269),r=i(31572),o=i(57629),a=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e}(),s=i(33642),c=i(88426),u=i(84140),l=i(61189),h=i(48958),d=i(48160),f=i(84608),p=i(25122),g=i(29236),v=i(16073),m=i(61511),y=i(43691),_=i(15980),b=i(67806),w=i(39571),A=i(71522),k=i(84534),C=i(36922);function T(e,t){1&e&&r._UZ(0,"mat-spinner",3)}function E(e,t){1&e&&(r.TgZ(0,"app-alert",4),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}var S=function(e){return[e]};function I(e,t){if(1&e&&(r.TgZ(0,"div",7),r.TgZ(1,"a",8),r.TgZ(2,"span",9),r._uU(3),r.qZA(),r._UZ(4,"mat-icon",10),r._uU(5),r.qZA(),r.qZA()),2&e){var i=t.$implicit;r.xp6(1),r.Gre("",i.style," item-itself"),r.s9C("matTooltip",i.tooltip),r.Q6J("perunWebAppsMiddleClickRouterLink",r.VKq(9,S,i.url))("routerLink",i.url),r.xp6(2),r.Oqu(i.type),r.xp6(1),r.Q6J("svgIcon",i.cssIcon),r.xp6(1),r.hij(" ",i.label," ")}}function R(e,t){if(1&e&&(r.TgZ(0,"div",5),r.YNc(1,I,6,11,"div",6),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.Q6J("ngForOf",i.items)}}var x=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.vosManager=t,this.groupsManager=i,this.authResolver=n,this.facilitiesManager=r,this.vosIds=[],this.items=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[]}return _createClass(e,[{key:"ngOnInit",value:function(){this.loading=!0,this.recentItems=(0,u.vL)("recent");var e,t=_createForOfIteratorHelper(this.recentItems);try{for(t.s();!(e=t.n()).done;){var i=e.value;switch(i.type){case"Vo":this.vosIds.push(i.id);break;case"Group":this.groupsIds.push(i.id);break;case"Facility":this.facilitiesIds.push(i.id)}}}catch(n){t.e(n)}finally{t.f()}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()}},{key:"getVos",value:function(){var e=this;this.authResolver.isAuthorized("getVosByIds_List_policy",[])?this.vosManager.getVosByIds(this.vosIds).subscribe(function(t){e.vos=t,e.getGroups()}):this.getGroups()}},{key:"getGroups",value:function(){var e=this;this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(function(t){e.groups=t,e.getFacilities()}):this.getFacilities()}},{key:"getFacilities",value:function(){var e=this;this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(function(t){e.facilities=t,e.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}},{key:"addRecentlyViewedToDashboard",value:function(){var e,t=this,i=_createForOfIteratorHelper(this.recentItems);try{var n=function(){var i=e.value;switch(i.type){case"Vo":var n=t.vos.filter(function(e){return e.id===i.id})[0];n&&t.items.push({cssIcon:"perun-vo",url:"/organizations/".concat(n.id),label:n.name,tooltip:n.name,style:"vo-btn",type:"Organization"});break;case"Group":var r=t.groups.filter(function(e){return e.id===i.id})[0];r&&t.items.push({cssIcon:"perun-group",url:"/organizations/".concat(r.voId,"/groups/").concat(r.id),label:r.shortName,tooltip:"".concat(i.voName," : ").concat(r.name.replace(/:/g," : ")),style:"group-btn",type:"Group"});break;case"Facility":var o=t.facilities.filter(function(e){return e.id===i.id})[0];o&&t.items.push({cssIcon:"perun-facility-white",url:"/facilities/".concat(o.id),label:o.name,tooltip:o.name,style:"facility-btn",type:"Facility"})}};for(i.s();!(e=i.n()).done;)n()}catch(r){i.e(r)}finally{i.f()}this.loading=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.YF),r.Y36(s.ff),r.Y36(c.x4),r.Y36(s.IQ))},e.\u0275cmp=r.Xpm({type:e,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,"perunWebAppsMiddleClickRouterLink","routerLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(r.YNc(0,T,1,0,"mat-spinner",0),r.YNc(1,E,3,3,"app-alert",1),r.YNc(2,R,2,1,"div",2)),2&e&&(r.Q6J("ngIf",t.loading),r.xp6(1),r.Q6J("ngIf",0===t.items.length&&!t.loading),r.xp6(1),r.Q6J("ngIf",t.items.length>0))},directives:[m.O5,b.$g,w.w,m.sg,A.wG,o.yS,k.YH,C.gM,y.Hw],pipes:[d.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}.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;align-items:center;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}"]}),e}(),O=i(97162),P=i(78364),D=i(88884),M=i(60007);function L(e,t){1&e&&r._UZ(0,"mat-spinner",7)}var N=function(){return["id","recent","shortName","name"]};function z(e,t){if(1&e&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-vos-list",8),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("displayedColumns",r.DdM(5,N))("recentIds",i.recentIds)("vos",i.objects)}}var Z=function(){return["id","recent","vo","name","description"]};function B(e,t){if(1&e&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-groups-list",9),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("groups",i.objects)("recentIds",i.recentIds)("displayedColumns",r.DdM(5,Z))}}var F=function(){return["id","recent","name","vo","facility"]};function q(e,t){if(1&e&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-resources-list",10),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("resources",i.objects)("displayedColumns",r.DdM(6,F))("recentIds",i.recentIds)("routingVo",!0)}}var H=function(){return["id","recent","name","description"]};function U(e,t){if(1&e&&(r.TgZ(0,"span"),r._UZ(1,"perun-web-apps-facilities-list",11),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("pageSizeOptions",null)("pageSize",5)("facilities",i.objects)("recentIds",i.recentIds)("displayedColumns",r.DdM(5,H))}}function G(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,z,2,6,"span",6),r.YNc(2,B,2,6,"span",6),r.YNc(3,q,2,7,"span",6),r.YNc(4,U,2,6,"span",6),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.Q6J("ngIf","Vo"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Group"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Resource"===i.primaryObject),r.xp6(1),r.Q6J("ngIf","Facility"===i.primaryObject)}}var j=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.authzResolver=t,this.guiAuthResolver=i,this.resourceService=n,this.loading=!1,this.recentIds=[]}return _createClass(e,[{key:"ngOnInit",value:function(){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()}},{key:"getObjects",value:function(){var e=this;switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(function(t){e.objects=t,e.recentIds=(0,u.vL)("vos"),e.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(function(t){e.objects=t,e.recentIds=(0,u.vL)("groups"),e.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(function(t){e.objects=t,e.recentIds=(0,u.vL)("resources"),e.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(function(t){e.objects=t.map(function(e){return{facility:e}}),e.recentIds=(0,u.vL)("facilities"),e.loading=!1});break;default:this.objects=[],this.loading=!1}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.Ct),r.Y36(c.x4),r.Y36(s.xk))},e.\u0275cmp=r.Xpm({type:e,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","pageSize","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","pageSize","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","pageSize","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","pageSize","facilities","recentIds","displayedColumns"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._UZ(2,"mat-icon",2),r._uU(3),r.ALo(4,"translate"),r.TgZ(5,"span",3),r.ALo(6,"translate"),r.TgZ(7,"mat-icon",4),r._uU(8,"info_outline"),r.qZA(),r.qZA(),r.qZA(),r.YNc(9,L,1,0,"mat-spinner",5),r.YNc(10,G,5,4,"div",6),r.qZA()),2&e&&(r.xp6(2),r.Q6J("svgIcon",t.svgIcon),r.xp6(1),r.hij(" ",r.lcZ(4,5,t.title)," "),r.xp6(2),r.s9C("matTooltip",r.lcZ(6,7,t.roleTooltipInfo)),r.xp6(4),r.Q6J("ngIf",t.loading),r.xp6(1),r.Q6J("ngIf",!t.loading))},directives:[y.Hw,C.gM,m.O5,b.$g,O.Z,P.W,D.C,M.X],pipes:[d.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}"]}),e}(),Y=i(22196);function K(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"mat-checkbox",8),r.NdJ("change",function(e){var t=r.CHM(i).$implicit,n=r.oxw();return e?n.changeRoleView(t):null}),r._uU(2),r.ALo(3,"translate"),r.qZA(),r.qZA()}if(2&e){var n=t.$implicit,o=r.oxw();r.xp6(1),r.Q6J("checked",o.isRoleShowed(n)),r.xp6(1),r.Oqu(r.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+n))}}function V(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"button",15),r.NdJ("click",function(){return r.CHM(i),r.oxw(2).rightSettingOpened=!0}),r.TgZ(1,"mat-icon"),r._uU(2,"settings"),r.qZA(),r.qZA()}}function J(e,t){1&e&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function Q(e,t){1&e&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function W(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"button",23),r.NdJ("click",function(){return r.CHM(i),r.oxw(3).goToUserProfile()}),r.TgZ(1,"mat-icon",24),r._uU(2,"exit_to_app"),r.qZA(),r._uU(3),r.ALo(4,"translate"),r.qZA()}if(2&e){var n=r.oxw(3);r.xp6(3),r.AsE("",r.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",n.userProfileName," ")}}var X=function(){return["/myProfile"]};function $(e,t){if(1&e&&(r.TgZ(0,"div"),r.TgZ(1,"div",16),r.TgZ(2,"div",17),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.TgZ(5,"div",18),r.YNc(6,J,3,3,"span",14),r.YNc(7,Q,3,3,"span",14),r.qZA(),r.TgZ(8,"div",19),r.TgZ(9,"button",20),r._UZ(10,"mat-icon",21),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,W,5,4,"button",22),r.qZA(),r.qZA(),r.qZA()),2&e){var i=r.oxw(2);r.xp6(3),r.hij(" ",r.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),r.xp6(3),r.Q6J("ngIf",!i.userProfileUrl),r.xp6(1),r.Q6J("ngIf",i.userProfileUrl),r.xp6(2),r.Q6J("routerLink",r.DdM(10,X)),r.xp6(2),r.hij(" ",r.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),r.xp6(2),r.Q6J("ngIf",i.userProfileUrl)}}function ee(e,t){1&e&&(r.TgZ(0,"span"),r.TgZ(1,"div",3),r._uU(2),r.ALo(3,"translate"),r.qZA(),r._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),r.qZA()),2&e&&(r.xp6(2),r.hij(" ",r.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function te(e,t){1&e&&(r.TgZ(0,"div",27),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function ie(e,t){if(1&e&&r._UZ(0,"app-perun-web-apps-dashboard-card",30),2&e){var i=r.oxw().$implicit,n=r.oxw(3);r.Q6J("roleName",i)("role",n.roles[i])}}function ne(e,t){if(1&e&&(r.TgZ(0,"div",28),r.YNc(1,ie,1,2,"app-perun-web-apps-dashboard-card",29),r.qZA()),2&e){var i=t.$implicit,n=r.oxw(3);r.xp6(1),r.Q6J("ngIf",n.isRoleShowed(i))}}function re(e,t){if(1&e&&(r.TgZ(0,"div"),r.YNc(1,ee,5,3,"span",14),r.YNc(2,te,3,3,"div",25),r.TgZ(3,"div"),r.YNc(4,ne,2,1,"div",26),r.qZA(),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("ngIf",i.recentlyViewedShow),r.xp6(1),r.Q6J("ngIf",i.rolesToHide.toString()!==i.roleNames.toString()),r.xp6(2),r.Q6J("ngForOf",i.roleNames)}}function oe(e,t){if(1&e&&(r.TgZ(0,"div",9),r.TgZ(1,"h1",10),r._UZ(2,"mat-icon",11),r.TgZ(3,"span",12),r._uU(4),r.ALo(5,"translate"),r.ALo(6,"userFullName"),r.qZA(),r.YNc(7,V,3,0,"button",13),r.qZA(),r.YNc(8,$,14,11,"div",14),r.YNc(9,re,5,3,"div",14),r.qZA()),2&e){var i=r.oxw();r.xp6(4),r.AsE("",r.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",r.lcZ(6,7,i.user),""),r.xp6(3),r.Q6J("ngIf",!i.isOnlySelfRole),r.xp6(1),r.Q6J("ngIf",i.isOnlySelfRole),r.xp6(1),r.Q6J("ngIf",!i.isOnlySelfRole)}}var ae=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l){var h=this;_classCallCheck(this,e),this.userManager=t,this.storeService=i,this.sideMenuService=n,this.route=r,this.router=o,this.notificator=a,this.translateService=s,this.dialog=c,this.apiRequestConfiguration=u,this.utilsService=l,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"],s.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(function(e){return h.mailSuccessMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();var e=Object.keys(this.roles);this.isOnlySelfRole=e.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(function(t){return e.includes(t)}),this.getDashboardSettings(),this.sideMenuService.setHomeItems([])}},{key:"validatePreferredMailChange",value:function(){var e=this,t=this.route.snapshot.queryParamMap,i=t.get("token"),n=t.get("u");i&&n&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(i,Number.parseInt(n,10)).subscribe(function(){e.notificator.showSuccess(e.mailSuccessMessage),e.router.navigate([],{replaceUrl:!0})},function(){var t=(0,u.kZ)();t.width="600px",e.dialog.open(l.qD,t).afterClosed().subscribe(function(){e.getDashboardSettings()})}))}},{key:"goToUserProfile",value:function(){window.open(this.userProfileUrl)}},{key:"recentlyViewedChanged",value:function(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}},{key:"getDashboardSettings",value:function(){var e=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===e||e;var t=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===t?[]:t}},{key:"changeRoleView",value:function(e){if(this.isRoleShowed(e)){var t,i=[],n=_createForOfIteratorHelper(this.roleNames);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.isRoleShowed(r)||i.push(r),r===e&&i.push(r)}}catch(o){n.e(o)}finally{n.f()}this.rolesToHide=i}else this.rolesToHide=this.rolesToHide.filter(function(t){return t!==e});localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}},{key:"isRoleShowed",value:function(e){var t,i=_createForOfIteratorHelper(this.rolesToHide);try{for(i.s();!(t=i.n()).done;){if(t.value===e)return!1}}catch(n){i.e(n)}finally{i.f()}return!0}},{key:"getUserProfile",value:function(){var e=this;this.utilsService.getAppsConfig().subscribe(function(t){e.userProfileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null}),this.userProfileName=this.storeService.get("profile_label_en")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.Fv),r.Y36(c.d6),r.Y36(h.D),r.Y36(o.gz),r.Y36(o.F0),r.Y36(c.V6),r.Y36(d.sK),r.Y36(f.uw),r.Y36(c.F5),r.Y36(s.FW))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("router-component",t.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"],[1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(e,t){1&e&&(r.TgZ(0,"mat-sidenav-container",0),r.TgZ(1,"mat-sidenav",1),r.NdJ("openedChange",function(e){return t.rightSettingOpened=e}),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"div"),r.TgZ(7,"mat-checkbox",4),r.NdJ("ngModelChange",function(e){return t.recentlyViewedShow=e})("change",function(e){return e?t.recentlyViewedChanged():null}),r._uU(8),r.ALo(9,"translate"),r.qZA(),r.qZA(),r.TgZ(10,"div",5),r._uU(11),r.ALo(12,"translate"),r.qZA(),r.YNc(13,K,4,4,"div",6),r.qZA(),r.qZA(),r.TgZ(14,"mat-sidenav-content"),r.YNc(15,oe,10,9,"div",7),r.qZA(),r.qZA()),2&e&&(r.xp6(1),r.Q6J("opened",t.rightSettingOpened),r.xp6(3),r.Oqu(r.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),r.xp6(3),r.Q6J("ngModel",t.recentlyViewedShow),r.xp6(1),r.Oqu(r.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),r.xp6(3),r.Oqu(r.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),r.xp6(2),r.Q6J("ngForOf",t.roleNames),r.xp6(2),r.Q6J("ngIf",void 0!==t.user))},directives:[p.TM,p.JX,g.oG,v.JJ,v.On,m.sg,p.Rh,m.O5,y.Hw,_.lW,o.rH,x,j],pipes:[d.X$,Y.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;grid-column-gap:1rem;-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 - 64px - 200px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),e}(),se=i(66297),ce=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,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(e,t){1&e&&(r.TgZ(0,"div",0),r._UZ(1,"perun-web-apps-back-button"),r.TgZ(2,"h1",1),r._uU(3),r.ALo(4,"translate"),r.qZA(),r.qZA()),2&e&&(r.xp6(3),r.Oqu(r.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[se.W],pipes:[d.X$],styles:[""]}),e}(),ue=i(10896),le=i(66283),he=i(80340),de=i(22727),fe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[m.ez,_.ot,y.Ps,o.Bz,ue.ez,d.aw,le.lN,v.UX,he.c,de.r]]}),e}(),pe=function(){var e=function(){function e(t){_classCallCheck(this,e),this.auth=t}return _createClass(e,[{key:"startAuth",value:function(){this.auth.startAuthentication()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(c.e8))},e.\u0275cmp=r.Xpm({type:e,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&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h4",3),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"button",4),r.NdJ("click",function(){return t.startAuth()}),r._uU(7),r.ALo(8,"translate"),r.TgZ(9,"mat-icon"),r._uU(10," login "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(4),r.hij(" ",r.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),r.xp6(3),r.hij(" ",r.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[_.lW,y.Hw],pipes:[d.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),e}(),ge=i(16306);function ve(e,t){if(1&e&&(r.TgZ(0,"div",8),r._UZ(1,"div",9),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)}}function me(e,t){if(1&e&&(r.TgZ(0,"div",10),r._UZ(1,"div",11),r._UZ(2,"mat-icon",12),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)}}function ye(e,t){if(1&e&&(r.TgZ(0,"div",8),r._UZ(1,"a",9),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.Q6J("innerHTML",i.logo,r.oJD)}}var _e=function(e){return{color:e}};function be(e,t){if(1&e&&(r.TgZ(0,"p",13),r._uU(1),r.qZA()),2&e){var i=r.oxw();r.Q6J("ngStyle",r.VKq(2,_e,i.textColor)),r.xp6(1),r.hij(" ",i.headerTitle," ")}}var we=function(e,t){return{background:e,color:t}},Ae=function(e,t){return{"min-height":e,"background-color":t}},ke=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.storeService=t,this.sanitizer=i,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}return _createClass(e,[{key:"ngOnInit",value:function(){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"):""}},{key:"getContentInnerMinHeight",value:function(){return"calc((100vh - 64px) + 0px)"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(c.d6),r.Y36(n.H7))},e.\u0275cmp=r.Xpm({type:e,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.YNc(1,ve,2,1,"div",1),r.YNc(2,me,3,1,"div",2),r.YNc(3,ye,2,1,"div",1),r.YNc(4,be,2,4,"p",3),r.qZA(),r.TgZ(5,"div",4),r.TgZ(6,"div",5),r.TgZ(7,"div",6),r._UZ(8,"router-outlet"),r.qZA(),r.TgZ(9,"div",7),r._UZ(10,"perun-web-apps-footer"),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.Q6J("ngStyle",r.WLB(6,we,t.headerBackgroundColor,t.headerTextColor)),r.xp6(1),r.Q6J("ngIf","admin-gui"===t.application),r.xp6(1),r.Q6J("ngIf","publications"===t.application),r.xp6(1),r.Q6J("ngIf","user-profile"===t.application),r.xp6(1),r.Q6J("ngIf",!!t.headerTitle),r.xp6(2),r.Q6J("ngStyle",r.WLB(9,Ae,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[m.PC,m.O5,o.lC,ge.$,y.Hw],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}"]}),e}();function Ce(e,t){1&e&&(r.TgZ(0,"app-alert",8),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.hij(" ",r.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}var Te,Ee=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:ue.t$},{path:"api-callback",component:a},{path:"login",component:pe},{path:"service-access",component:(Te=function(){function e(t,i,n){_classCallCheck(this,e),this.authzService=t,this.dialog=i,this.translate=n,this.wrongUsernameOrPassword=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.usernameCtrl=new v.NI(null,[v.kI.required]),this.passwordCtrl=new v.NI(null,[v.kI.required])}},{key:"startAuth",value:function(){var e=this;sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(function(e){sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},function(){e.wrongUsernameOrPassword=!0})}}]),e}(),Te.\u0275fac=function(e){return new(e||Te)(r.Y36(s.Ct),r.Y36(f.uw),r.Y36(d.sK))},Te.\u0275cmp=r.Xpm({type:Te,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&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"h2"),r._uU(4),r.ALo(5,"translate"),r.qZA(),r.YNc(6,Ce,3,3,"app-alert",3),r.TgZ(7,"mat-form-field",4),r.TgZ(8,"mat-label"),r._uU(9),r.ALo(10,"translate"),r.qZA(),r._UZ(11,"input",5),r.TgZ(12,"mat-error"),r._uU(13),r.ALo(14,"translate"),r.qZA(),r.qZA(),r.TgZ(15,"mat-form-field",4),r.TgZ(16,"mat-label"),r._uU(17),r.ALo(18,"translate"),r.qZA(),r._UZ(19,"input",6),r.TgZ(20,"mat-error"),r._uU(21),r.ALo(22,"translate"),r.qZA(),r.qZA(),r.TgZ(23,"button",7),r.NdJ("click",function(){return t.startAuth()}),r._uU(24),r.ALo(25,"translate"),r.TgZ(26,"mat-icon"),r._uU(27," login "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(4),r.Oqu(r.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),r.xp6(2),r.Q6J("ngIf",t.wrongUsernameOrPassword),r.xp6(3),r.Oqu(r.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),r.xp6(2),r.Q6J("formControl",t.usernameCtrl),r.xp6(2),r.hij(" ",r.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),r.xp6(4),r.Oqu(r.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),r.xp6(2),r.Q6J("formControl",t.passwordCtrl)("type","password"),r.xp6(2),r.hij(" ",r.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),r.xp6(2),r.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),r.xp6(1),r.hij(" ",r.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[m.O5,le.KE,le.hX,he.Nt,v.Fj,v.Q7,v.JJ,v.oH,le.TO,_.lW,y.Hw,w.w],pipes:[d.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}"]}),Te)},{path:"organizations",loadChildren:function(){return Promise.all([i.e(579),i.e(622),i.e(901),i.e(427)]).then(i.bind(i,67427)).then(function(e){return e.VosModule})}},{path:"admin",loadChildren:function(){return Promise.all([i.e(579),i.e(363),i.e(756),i.e(901),i.e(285)]).then(i.bind(i,1285)).then(function(e){return e.AdminModule})}},{path:"facilities",loadChildren:function(){return Promise.all([i.e(579),i.e(363),i.e(622),i.e(756),i.e(300)]).then(i.bind(i,55300)).then(function(e){return e.FacilitiesModule})}},{path:"myProfile",loadChildren:function(){return Promise.all([i.e(579),i.e(363)]).then(i.bind(i,6363)).then(function(e){return e.UsersModule})}},{path:"home",component:ae},{path:"**",component:ce}],Se=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[o.Bz.forRoot(Ee,{preloadingStrategy:o.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],o.Bz]}),e}(),Ie=i(61601),Re=i(28780),xe=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";_classCallCheck(this,e),this.http=t,this.prefix=i,this.suffix=n}return _createClass(e,[{key:"getTranslation",value:function(e){return this.http.get("".concat(this.prefix).concat(e).concat(this.suffix))}}]),e}(),Oe=i(29063),Pe=i(43490),De=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[c.e8],imports:[[m.ez]]}),e}(),Me=i(28940),Le=i(48002),Ne=i(40659),ze=i(62284),Ze=i(7433),Be=i(82044),Fe=i(11930),qe=i(39124),He=i(64467),Ue=i(81835),Ge=i(88227),je=i(97397),Ye=i(71313),Ke=i(14527),Ve=i(65423),Je=i(17249),Qe=i(73916),We=i(48666),Xe=function(){var e=function(){function e(){_classCallCheck(this,e),this.allowCachePages=[{type:"vo",components:[Me.y.id,Le.G.id,Ne.c.id,Ge.z.id,je.z.id,Ke.w.id,We.T.id]},{type:"group",components:[Fe.y.id,Be.u.id,Ze.q.id,ze.W.id,Ve.Z.id]},{type:"facility",components:[qe.o.id,He.f.id]},{type:"member",components:[Ue.j.id]},{type:"admin",components:[Ye.t.id]},{type:"entitySelect",components:[Je.Y.id,Qe.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;var t,i=_createForOfIteratorHelper(this.allowCachePages);try{for(i.s();!(t=i.n()).done;){var n=t.value;this.typeToComponentToHandlers.set(n.type,new Map)}}catch(r){i.e(r)}finally{i.f()}}return _createClass(e,[{key:"setLastNavigationType",value:function(e){this.isUserNavigatingBack="back"===e}},{key:"checkResets",value:function(e){var t,i=this.getPath(e),n=_createForOfIteratorHelper(this.resets);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.resetPath===i){var o=e.params[r.param];null!==r.lastValue&&r.lastValue!==o&&this.typeToComponentToHandlers.get(r.resetType).clear(),r.lastValue=o}}}catch(a){n.e(a)}finally{n.f()}}},{key:"shouldReuseRoute",value:function(e,t){return this.checkResets(t),e.routeConfig===t.routeConfig}},{key:"retrieve",value:function(e){if(e.component){var t,i=this.getComponentName(e.component),n=_createForOfIteratorHelper(this.allowCachePages);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==r.components.indexOf(i)){var o=this.typeToComponentToHandlers.get(r.type).get(i);return void 0===o?null:o.routeHandle}}}catch(a){n.e(a)}finally{n.f()}}return null}},{key:"shouldAttach",value:function(e){if(!this.isUserNavigatingBack)return!1;if(e.component){var t,i=this.getComponentName(e.component),n=_createForOfIteratorHelper(this.allowCachePages);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=this.typeToComponentToHandlers.get(r.type).get(i);if(void 0!==o&&this.getCurrentTimestamp()-o.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();var i=this.getComponentType(e);this.typeToComponentToHandlers.get(i).set(this.getComponentName(e.component),{routeHandle:t,saveTimeStamp:this.getCurrentTimestamp()})}}},{key:"getCurrentTimestamp",value:function(){return+Date.now()}},{key:"getComponentName",value:function(e){return e.id}},{key:"getComponentType",value:function(e){var t,i=this.getComponentName(e.component),n=_createForOfIteratorHelper(this.allowCachePages);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==r.components.indexOf(i))return r.type}}catch(o){n.e(o)}finally{n.f()}return null}},{key:"getPath",value:function(e){return null!==e.routeConfig&&null!==e.routeConfig.path?e.routeConfig.path:""}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),$e=new r.OlP("perun-api-service"),et=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.http=t,this.storeService=i}return _createClass(e,[{key:"initializeColors",value:function(e,t){var i=this;return new Promise(function(n){t.forEach(function(e){var t=i.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t)}),e.forEach(function(e){var t=i.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t),i.setEntityTheme(e.entity,t)}),n()})}},{key:"setEntityTheme",value:function(e,t){for(var i,n=0,r=(i=t,[tt(tinycolor(i).lighten(52),"50"),tt(tinycolor(i).lighten(37),"100"),tt(tinycolor(i).lighten(26),"200"),tt(tinycolor(i).lighten(12),"300"),tt(tinycolor(i).lighten(6),"400"),tt(tinycolor(i),"500"),tt(tinycolor(i).darken(6),"600"),tt(tinycolor(i).darken(12),"700"),tt(tinycolor(i).darken(18),"800"),tt(tinycolor(i).darken(24),"900"),tt(tinycolor(i).lighten(50).saturate(30),"A100"),tt(tinycolor(i).lighten(30).saturate(30),"A200"),tt(tinycolor(i).lighten(10).saturate(15),"A400"),tt(tinycolor(i).lighten(5).saturate(5),"A700")]);ne[o]-e[a]-1&&(e.reach[c]="end"),t&&(h.dispatchEvent(Ot("ps-scroll-"+c)),t<0?h.dispatchEvent(Ot("ps-scroll-"+u)):t>0&&h.dispatchEvent(Ot("ps-scroll-"+l)),n&&function(e,t){Et(e,t),St(e,t)}(e,c)),e.reach[c]&&(t||r)&&h.dispatchEvent(Ot("ps-"+c+"-reach-"+e.reach[c]))}(e,i,o,n,r)}function Dt(e){return parseInt(e,10)||0}xt.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new It(e),this.eventElements.push(t)),t},xt.prototype.bind=function(e,t,i){this.eventElement(e).bind(t,i)},xt.prototype.unbind=function(e,t,i){var n=this.eventElement(e);n.unbind(t,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},xt.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},xt.prototype.once=function(e,t,i){var n=this.eventElement(e);n.bind(t,function e(r){n.unbind(t,e),i(r)})};var Mt={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Lt(e){var t=e.element,i=Math.floor(t.scrollTop),n=t.getBoundingClientRect();e.containerWidth=Math.ceil(n.width),e.containerHeight=Math.ceil(n.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(bt(t,At("x")).forEach(function(e){return _t(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(bt(t,At("y")).forEach(function(e){return _t(e)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var i={width:t.railXWidth},n=Math.floor(e.scrollTop);i.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:e.scrollLeft,t.isScrollbarXUsingBottom?i.bottom=t.scrollbarXBottom-n:i.top=t.scrollbarXTop+n,gt(t.scrollbarXRail,i);var r={top:n,height:t.railYHeight};t.isScrollbarYUsingRight?r.right=t.isRtl?t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:t.scrollbarYRight-e.scrollLeft:r.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:t.scrollbarYLeft+e.scrollLeft,gt(t.scrollbarYRail,r),gt(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),gt(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(kt("x")):(t.classList.remove(kt("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(kt("y")):(t.classList.remove(kt("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function Nt(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function zt(e,t){var i=t[0],n=t[1],r=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8],h=e.element,d=null,f=null,p=null;function g(t){t.touches&&t.touches[0]&&(t[r]=t.touches[0].pageY),h[c]=d+p*(t[r]-f),Et(e,u),Lt(e),t.stopPropagation(),t.preventDefault()}function v(){St(e,u),e[l].classList.remove("ps--clicking"),e.event.unbind(e.ownerDocument,"mousemove",g)}function m(t,a){d=h[c],a&&t.touches&&(t[r]=t.touches[0].pageY),f=t[r],p=(e[n]-e[i])/(e[o]-e[s]),a?e.event.bind(e.ownerDocument,"touchmove",g):(e.event.bind(e.ownerDocument,"mousemove",g),e.event.once(e.ownerDocument,"mouseup",v),t.preventDefault()),e[l].classList.add("ps--clicking"),t.stopPropagation()}e.event.bind(e[a],"mousedown",function(e){m(e)}),e.event.bind(e[a],"touchstart",function(e){m(e,!0)})}var Zt={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var i=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top;e.element.scrollTop+=(i>e.scrollbarYTop?1:-1)*e.containerHeight,Lt(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var i=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left;e.element.scrollLeft+=(i>e.scrollbarXLeft?1:-1)*e.containerWidth,Lt(e),t.stopPropagation()})},"drag-thumb":function(e){zt(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),zt(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(yt(t,":hover")||yt(e.scrollbarX,":focus")||yt(e.scrollbarY,":focus"))){var n,r=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(yt(n=r,"input,[contenteditable]")||yt(n,"select,[contenteditable]")||yt(n,"textarea,[contenteditable]")||yt(n,"button,[contenteditable]"))return}var o=0,a=0;switch(i.which){case 37:o=i.metaKey?-e.contentWidth:i.altKey?-e.containerWidth:-30;break;case 38:a=i.metaKey?e.contentHeight:i.altKey?e.containerHeight:30;break;case 39:o=i.metaKey?e.contentWidth:i.altKey?e.containerWidth:30;break;case 40:a=i.metaKey?-e.contentHeight:i.altKey?-e.containerHeight:-30;break;case 32:a=i.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==o||e.settings.suppressScrollY&&0!==a||(t.scrollTop-=a,t.scrollLeft+=o,Lt(e),function(i,n){var r=Math.floor(t.scrollTop);if(0===i){if(!e.scrollbarYActive)return!1;if(0===r&&n>0||r>=e.contentHeight-e.containerHeight&&n<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===n){if(!e.scrollbarXActive)return!1;if(0===o&&i<0||o>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}(o,a)&&i.preventDefault())}})},wheel:function(e){var t=e.element;function i(i){var n=function(e){var t=e.deltaX,i=-1*e.deltaY;return void 0!==t&&void 0!==i||(t=-1*e.wheelDeltaX/6,i=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,i*=10),t!=t&&i!=i&&(t=0,i=e.wheelDelta),e.shiftKey?[-i,-t]:[t,i]}(i),r=n[0],o=n[1];if(!function(e,i,n){if(!Mt.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var r=e;r&&r!==t;){if(r.classList.contains("ps__child--consume"))return!0;var o=pt(r);if(n&&o.overflowY.match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var s=r.scrollWidth-r.clientWidth;if(s>0&&(r.scrollLeft>0&&i<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(i.target,r,o)){var a=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?t.scrollTop-=o*e.settings.wheelSpeed:t.scrollTop+=r*e.settings.wheelSpeed,a=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(r?t.scrollLeft+=r*e.settings.wheelSpeed:t.scrollLeft-=o*e.settings.wheelSpeed,a=!0):(t.scrollTop-=o*e.settings.wheelSpeed,t.scrollLeft+=r*e.settings.wheelSpeed),Lt(e),(a=a||function(i,n){var r=Math.floor(t.scrollTop),o=0===t.scrollTop,a=r+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,c=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(n)>Math.abs(i)?o||a:s||c)||!e.settings.wheelPropagation}(r,o))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",i):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",i)},touch:function(e){if(Mt.supportsTouch||Mt.supportsIePointer){var t=e.element,i={},n=0,r={},o=null;Mt.supportsTouch?(e.event.bind(t,"touchstart",u),e.event.bind(t,"touchmove",l),e.event.bind(t,"touchend",h)):Mt.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",u),e.event.bind(t,"pointermove",l),e.event.bind(t,"pointerup",h)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",u),e.event.bind(t,"MSPointerMove",l),e.event.bind(t,"MSPointerUp",h)))}function a(i,n){t.scrollTop-=n,t.scrollLeft-=i,Lt(e)}function s(e){return e.targetTouches?e.targetTouches[0]:e}function c(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function u(e){if(c(e)){var t=s(e);i.pageX=t.pageX,i.pageY=t.pageY,n=(new Date).getTime(),null!==o&&clearInterval(o)}}function l(o){if(c(o)){var u=s(o),l={pageX:u.pageX,pageY:u.pageY},h=l.pageX-i.pageX,d=l.pageY-i.pageY;if(function(e,i,n){if(!t.contains(e))return!1;for(var r=e;r&&r!==t;){if(r.classList.contains("ps__child--consume"))return!0;var o=pt(r);if(n&&o.overflowY.match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&(r.scrollTop>0&&n<0||r.scrollTop0))return!0}if(i&&o.overflowX.match(/(scroll|auto)/)){var s=r.scrollWidth-r.clientWidth;if(s>0&&(r.scrollLeft>0&&i<0||r.scrollLeft0))return!0}r=r.parentNode}return!1}(o.target,h,d))return;a(h,d),i=l;var f=(new Date).getTime(),p=f-n;p>0&&(r.x=h/p,r.y=d/p,n=f),function(i,n){var r=Math.floor(t.scrollTop),o=t.scrollLeft,a=Math.abs(i),s=Math.abs(n);if(s>a){if(n<0&&r===e.contentHeight-e.containerHeight||n>0&&0===r)return 0===window.scrollY&&n>0&&Mt.isChrome}else if(a>s&&(i<0&&o===e.contentWidth-e.containerWidth||i>0&&0===o))return!0;return!0}(h,d)&&o.preventDefault()}}function h(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){e.isInitialized?clearInterval(o):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(o):(a(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(o)},10))}}},Bt=function(e,t){var i=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var n in this.element=e,e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[n]=t[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r,o,a=function(){return e.classList.add("ps--focus")},s=function(){return e.classList.remove("ps--focus")};this.isRtl="rtl"===pt(e).direction,!0===this.isRtl&&e.classList.add("ps__rtl"),this.isNegativeScroll=(o=e.scrollLeft,e.scrollLeft=-1,r=e.scrollLeft<0,e.scrollLeft=o,r),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new xt,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=vt(At("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=vt(wt("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=pt(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Dt(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Dt(c.borderLeftWidth)+Dt(c.borderRightWidth),gt(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Dt(c.marginLeft)+Dt(c.marginRight),gt(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=vt(At("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=vt(wt("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=pt(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Dt(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=pt(e);return Dt(t.width)+Dt(t.paddingLeft)+Dt(t.paddingRight)+Dt(t.borderLeftWidth)+Dt(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Dt(u.borderTopWidth)+Dt(u.borderBottomWidth),gt(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Dt(u.marginTop)+Dt(u.marginBottom),gt(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(e){return Zt[e](i)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(e){return i.onScroll(e)}),Lt(this)};Bt.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,gt(this.scrollbarXRail,{display:"block"}),gt(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Dt(pt(this.scrollbarXRail).marginLeft)+Dt(pt(this.scrollbarXRail).marginRight),this.railYMarginHeight=Dt(pt(this.scrollbarYRail).marginTop)+Dt(pt(this.scrollbarYRail).marginBottom),gt(this.scrollbarXRail,{display:"none"}),gt(this.scrollbarYRail,{display:"none"}),Lt(this),Pt(this,"top",0,!1,!0),Pt(this,"left",0,!1,!0),gt(this.scrollbarXRail,{display:""}),gt(this.scrollbarYRail,{display:""}))},Bt.prototype.onScroll=function(e){this.isAlive&&(Lt(this),Pt(this,"top",this.element.scrollTop-this.lastScrollTop),Pt(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Bt.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),_t(this.scrollbarX),_t(this.scrollbarY),_t(this.scrollbarXRail),_t(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Bt.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var Ft=Bt,qt=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var i=-1;return e.some(function(e,n){return e[0]===t&&(i=n,!0)}),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var i=e(this.__entries__,t),n=this.__entries__[i];return n&&n[1]},t.prototype.set=function(t,i){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,n=e(i,t);~n&&i.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var i=0,n=this.__entries__;i0},e.prototype.connect_=function(){Ht&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Yt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Ht&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,i=void 0===t?"":t;jt.some(function(e){return!!~i.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Vt=function(e,t){for(var i=0,n=Object.keys(t);i0},e}(),ri="undefined"!=typeof WeakMap?new WeakMap:new qt,oi=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=Kt.getInstance(),n=new ni(t,i,this);ri.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){oi.prototype[e]=function(){var t;return(t=ri.get(this))[e].apply(t,arguments)}});var ai=void 0!==Ut.ResizeObserver?Ut.ResizeObserver:oi;function si(e,t){if(1&e&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r._UZ(2,"div",5),r._UZ(3,"div",6),r._UZ(4,"div",7),r.qZA()),2&e){var i=r.oxw();r.ekj("ps-at-top",i.states.top)("ps-at-left",i.states.left)("ps-at-right",i.states.right)("ps-at-bottom",i.states.bottom),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorY&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorX&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorX&&i.interaction),r.xp6(1),r.ekj("ps-indicator-show",i.indicatorY&&i.interaction)}}var ci=["*"],ui=new r.OlP("PERFECT_SCROLLBAR_CONFIG"),li=function e(t,i,n,r){_classCallCheck(this,e),this.x=t,this.y=i,this.w=n,this.h=r},hi=function e(t,i){_classCallCheck(this,e),this.x=t,this.y=i},di=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],fi=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.assign(t)}return _createClass(e,[{key:"assign",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e)this[t]=e[t]}}]),e}(),pi=function(){var e=function(){function e(t,i,n,o,a){_classCallCheck(this,e),this.zone=t,this.differs=i,this.elementRef=n,this.platformId=o,this.defaults=a,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new st.xQ,this.disabled=!1,this.psScrollY=new r.vpe,this.psScrollX=new r.vpe,this.psScrollUp=new r.vpe,this.psScrollDown=new r.vpe,this.psScrollLeft=new r.vpe,this.psScrollRight=new r.vpe,this.psYReachEnd=new r.vpe,this.psYReachStart=new r.vpe,this.psXReachEnd=new r.vpe,this.psXReachStart=new r.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;if(!this.disabled&&(0,m.NF)(this.platformId)){var t=new fi(this.defaults);t.assign(this.config),this.zone.runOutsideAngular(function(){e.instance=new Ft(e.elementRef.nativeElement,t)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(function(){e.ro=new ai(function(){e.update()}),e.elementRef.nativeElement.children[0]&&e.ro.observe(e.elementRef.nativeElement.children[0]),e.ro.observe(e.elementRef.nativeElement)}),this.zone.runOutsideAngular(function(){di.forEach(function(t){var i=t.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())});(0,ct.R)(e.elementRef.nativeElement,i).pipe((0,lt.e)(20),(0,ht.R)(e.ngDestroy)).subscribe(function(i){e[t].emit(i)})})})}}},{key:"ngOnDestroy",value:function(){var e=this;(0,m.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(function(){e.instance&&e.instance.destroy()}),this.instance=null)}},{key:"ngDoCheck",value:function(){!this.disabled&&this.configDiff&&(0,m.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}},{key:"ngOnChanges",value:function(e){e.disabled&&!e.disabled.isFirstChange()&&(0,m.NF)(this.platformId)&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue?this.ngOnDestroy():!1===e.disabled.currentValue&&this.ngOnInit())}},{key:"ps",value:function(){return this.instance}},{key:"update",value:function(){var e=this;"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(function(){if(!e.disabled&&e.configDiff)try{e.zone.runOutsideAngular(function(){e.instance&&e.instance.update()})}catch(t){}},0))}},{key:"geometry",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";return new li(this.elementRef.nativeElement[e+"Left"],this.elementRef.nativeElement[e+"Top"],this.elementRef.nativeElement[e+"Width"],this.elementRef.nativeElement[e+"Height"])}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!e&&this.instance?new hi(this.instance.reach.x||0,this.instance.reach.y||0):new hi(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}},{key:"scrollable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any",t=this.elementRef.nativeElement;return"any"===e?t.classList.contains("ps--active-x")||t.classList.contains("ps--active-y"):"both"===e?t.classList.contains("ps--active-x")&&t.classList.contains("ps--active-y"):t.classList.contains("ps--active-"+e)}},{key:"scrollTo",value:function(e,t,i){this.disabled||(null==t&&null==i?this.animateScrolling("scrollTop",e,i):(null!=e&&this.animateScrolling("scrollLeft",e,i),null!=t&&this.animateScrolling("scrollTop",t,i)))}},{key:"scrollToX",value:function(e,t){this.animateScrolling("scrollLeft",e,t)}},{key:"scrollToY",value:function(e,t){this.animateScrolling("scrollTop",e,t)}},{key:"scrollToTop",value:function(e,t){this.animateScrolling("scrollTop",e||0,t)}},{key:"scrollToLeft",value:function(e,t){this.animateScrolling("scrollLeft",e||0,t)}},{key:"scrollToRight",value:function(e,t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(e||0),t)}},{key:"scrollToBottom",value:function(e,t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(e||0),t)}},{key:"scrollToElement",value:function(e,t,i){var n=this.elementRef.nativeElement.querySelector(e);if(n){var r=n.getBoundingClientRect(),o=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",r.left-o.left+this.elementRef.nativeElement.scrollLeft+(t||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",r.top-o.top+this.elementRef.nativeElement.scrollTop+(t||0),i)}}},{key:"animateScrolling",value:function(e,t,i){var n=this;if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(t!==this.elementRef.nativeElement[e]){var r=0,o=0,a=performance.now(),s=this.elementRef.nativeElement[e],c=(s-t)/2;window.requestAnimationFrame(function u(l){o+=Math.PI/(i/(l-a)),r=Math.round(t+c+c*Math.cos(o)),n.elementRef.nativeElement[e]===s&&(o>=Math.PI?n.animateScrolling(e,t,0):(n.elementRef.nativeElement[e]=r,s=n.elementRef.nativeElement[e],a=l,n.animation=window.requestAnimationFrame(u)))})}}else this.elementRef.nativeElement[e]=t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.R0b),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Lbi),r.Y36(ui,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[r.TTD]}),e=(0,at.gn)([(0,at.fM)(3,(0,r.tBr)(r.Lbi)),(0,at.fM)(4,(0,r.FiY)()),(0,at.fM)(4,(0,r.tBr)(ui))],e)}(),gi=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.zone=t,this.cdRef=i,this.platformId=n,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new st.xQ,this.stateUpdate=new st.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new r.vpe,this.psScrollX=new r.vpe,this.psScrollUp=new r.vpe,this.psScrollDown=new r.vpe,this.psScrollLeft=new r.vpe,this.psScrollRight=new r.vpe,this.psYReachEnd=new r.vpe,this.psYReachStart=new r.vpe,this.psXReachEnd=new r.vpe,this.psXReachStart=new r.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;(0,m.NF)(this.platformId)&&(this.stateUpdate.pipe((0,ht.R)(this.ngDestroy),(0,dt.x)(function(t,i){return t===i&&!e.stateTimeout})).subscribe(function(t){e.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(e.stateTimeout),e.stateTimeout=null),"x"===t||"y"===t?(e.interaction=!1,"x"===t?(e.indicatorX=!1,e.states.left=!1,e.states.right=!1,e.autoPropagation&&e.usePropagationX&&(e.allowPropagationX=!1)):"y"===t&&(e.indicatorY=!1,e.states.top=!1,e.states.bottom=!1,e.autoPropagation&&e.usePropagationY&&(e.allowPropagationY=!1))):("left"===t||"right"===t?(e.states.left=!1,e.states.right=!1,e.states[t]=!0,e.autoPropagation&&e.usePropagationX&&(e.indicatorX=!0)):"top"!==t&&"bottom"!==t||(e.states.top=!1,e.states.bottom=!1,e.states[t]=!0,e.autoPropagation&&e.usePropagationY&&(e.indicatorY=!0)),e.autoPropagation&&"undefined"!=typeof window&&(e.stateTimeout=window.setTimeout(function(){e.indicatorX=!1,e.indicatorY=!1,e.stateTimeout=null,e.interaction&&(e.states.left||e.states.right)&&(e.allowPropagationX=!0),e.interaction&&(e.states.top||e.states.bottom)&&(e.allowPropagationY=!0),e.cdRef.markForCheck()},500))),e.cdRef.markForCheck(),e.cdRef.detectChanges()}),this.zone.runOutsideAngular(function(){if(e.directiveRef){var t=e.directiveRef.elementRef.nativeElement;(0,ct.R)(t,"wheel").pipe((0,ht.R)(e.ngDestroy)).subscribe(function(t){!e.disabled&&e.autoPropagation&&e.checkPropagation(t,t.deltaX,t.deltaY)}),(0,ct.R)(t,"touchmove").pipe((0,ht.R)(e.ngDestroy)).subscribe(function(t){if(!e.disabled&&e.autoPropagation){var i=t.touches[0].clientX,n=t.touches[0].clientY;e.checkPropagation(t,i-e.scrollPositionX,n-e.scrollPositionY),e.scrollPositionX=i,e.scrollPositionY=n}}),(0,ut.T)((0,ct.R)(t,"ps-scroll-x").pipe((0,ft.h)("x")),(0,ct.R)(t,"ps-scroll-y").pipe((0,ft.h)("y")),(0,ct.R)(t,"ps-x-reach-end").pipe((0,ft.h)("right")),(0,ct.R)(t,"ps-y-reach-end").pipe((0,ft.h)("bottom")),(0,ct.R)(t,"ps-x-reach-start").pipe((0,ft.h)("left")),(0,ct.R)(t,"ps-y-reach-start").pipe((0,ft.h)("top"))).pipe((0,ht.R)(e.ngDestroy)).subscribe(function(t){e.disabled||!e.autoPropagation&&!e.scrollIndicators||e.stateUpdate.next(t)})}}),window.setTimeout(function(){di.forEach(function(t){e.directiveRef&&(e.directiveRef[t]=e[t])})},0))}},{key:"ngOnDestroy",value:function(){(0,m.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}},{key:"ngDoCheck",value:function(){if((0,m.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){var e=this.directiveRef.elementRef.nativeElement;this.usePropagationX=e.classList.contains("ps--active-x"),this.usePropagationY=e.classList.contains("ps--active-y")}}},{key:"checkPropagation",value:function(e,t,i){this.interaction=!0;var n=t<0?-1:1,r=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==n)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==r))&&(e.preventDefault(),e.stopPropagation()),t&&(this.scrollDirectionX=n),i&&(this.scrollDirectionY=r),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.Lbi))},e.\u0275cmp=r.Xpm({type:e,selectors:[["perfect-scrollbar"]],viewQuery:function(e,t){var i;(1&e&&r.Gf(pi,7),2&e)&&(r.iGM(i=r.CRH())&&(t.directiveRef=i.first))},hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("ps-show-limits",t.autoPropagation)("ps-show-active",t.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:ci,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,si,5,16,"div",2),r.qZA()),2&e&&(r.ekj("ps",t.usePSClass),r.Q6J("perfectScrollbar",t.config)("disabled",t.disabled),r.xp6(3),r.Q6J("ngIf",t.scrollIndicators))},directives:[pi,m.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],encapsulation:2}),e=(0,at.gn)([(0,at.fM)(2,(0,r.tBr)(r.Lbi))],e)}(),vi=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[m.ez],m.ez]}),e}(),mi=i(52623),yi=i(17),_i=i(11418);function bi(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"perun-web-apps-notification",2),r.NdJ("closeNotification",function(){var e=r.CHM(i).index;return r.oxw().removeNotification(e)}),r.qZA(),r.qZA()}if(2&e){var n=t.$implicit;r.Q6J("@flyInOut",void 0),r.xp6(1),r.Q6J("data",n)("newNotification",!0)}}var wi=function(e){return{top:e}},Ai=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this.notificator=t,this.notificationStorageService=i,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(function(e){n.processNotification(e)}),this.getScreenSize()}return _createClass(e,[{key:"getScreenSize",value:function(){this.mobileView=window.innerWidth<=this.minWidth}},{key:"processNotification",value:function(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}},{key:"getNotificatorTop",value:function(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}},{key:"removeNotification",value:function(e){this.notifications.splice(e,1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(c.V6),r.Y36(c.SZ))},e.\u0275cmp=r.Xpm({type:e,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&r.NdJ("resize",function(e){return t.getScreenSize(e)},!1,r.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&&(r.TgZ(0,"div",0),r.YNc(1,bi,2,3,"div",1),r.qZA()),2&e&&(r.Q6J("ngStyle",r.VKq(2,wi,t.getNotificatorTop())),r.xp6(1),r.Q6J("ngForOf",t.notifications))},directives:[m.PC,m.sg,_i.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;bottom:0}}"],data:{animation:[yi.Pd]}}),e}(),ki=i(4253);function Ci(e,t){if(1&e&&(r.TgZ(0,"div",9),r._UZ(1,"perun-web-apps-notification",10),r.qZA()),2&e){var i=t.$implicit;r.xp6(1),r.Q6J("data",i)("inDialog",!0)}}function Ti(e,t){if(1&e&&(r.TgZ(0,"div",6),r.TgZ(1,"cdk-virtual-scroll-viewport",7),r.YNc(2,Ci,2,2,"div",8),r.qZA(),r.qZA()),2&e){var i=r.oxw();r.xp6(2),r.Q6J("cdkVirtualForOf",i.notifications)}}function Ei(e,t){1&e&&(r.TgZ(0,"app-alert",11),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}var Si=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.notificationStorageService=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.notifications=this.notificationStorageService.getNotifications()}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onClear",value:function(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(f.so),r.Y36(c.SZ))},e.\u0275cmp=r.Xpm({type:e,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(e,t){1&e&&(r.TgZ(0,"h1",0),r._uU(1),r.ALo(2,"translate"),r.qZA(),r.YNc(3,Ti,3,1,"div",1),r.YNc(4,Ei,3,3,"app-alert",2),r.TgZ(5,"div",3),r.TgZ(6,"button",4),r.NdJ("click",function(){return t.onClear()}),r._uU(7),r.ALo(8,"translate"),r.qZA(),r.TgZ(9,"button",5),r.NdJ("click",function(){return t.onCancel()}),r._uU(10),r.ALo(11,"translate"),r.qZA(),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),r.xp6(2),r.Q6J("ngIf",0!==t.notifications.length),r.xp6(1),r.Q6J("ngIf",0===t.notifications.length),r.xp6(3),r.hij(" ",r.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),r.xp6(3),r.hij(" ",r.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[f.uh,m.O5,f.H8,_.lW,ki.N7,ki.xd,ki.x0,_i.c,w.w],pipes:[d.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),e}(),Ii=i(41050),Ri=i(66438);function xi(e,t){1&e&&(r.TgZ(0,"div",10),r.TgZ(1,"span",11),r._uU(2," ~ \ud83d\uddf2\xa0 "),r.qZA(),r.TgZ(3,"span",12),r._uU(4," DEVEL "),r.qZA(),r.TgZ(5,"span",11),r._uU(6," \xa0\ud83d\uddf2 ~ "),r.qZA(),r.qZA())}var Oi=function(e){return{color:e}},Pi=function(){return["/"]},Di=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l){_classCallCheck(this,e),this.storeService=t,this.authService=i,this.authzResolverService=n,this.dialog=r,this.notificator=o,this.translateService=a,this.store=s,this.sanitizer=c,this.notificationStorageService=u,this.utilsService=l,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.isDevel=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;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.utilsService.getAppsConfig().subscribe(function(t){e.profileUrl=t.brands[0].newApps.profile?t.brands[0].newApps.profile:null})}},{key:"showNotificationHistory",value:function(){this.notificationStorageService.newNotificationsCount=0;var e=(0,u.kZ)();e.width="520px",this.dialog.open(Si,e)}},{key:"getNewNotificationsCount",value:function(){return this.notificationStorageService.newNotificationsCount}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(c.d6),r.Y36(c.e8),r.Y36(s.Ct),r.Y36(f.uw),r.Y36(c.V6),r.Y36(d.sK),r.Y36(c.d6),r.Y36(n.H7),r.Y36(c.SZ),r.Y36(s.FW))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"button",1),r.NdJ("click",function(){return t.sideNav.toggle()}),r.TgZ(2,"mat-icon",2),r._uU(3," menu "),r.qZA(),r.qZA(),r.TgZ(4,"a",3),r._UZ(5,"div",4),r.qZA(),r.qZA(),r.YNc(6,xi,7,0,"div",5),r.TgZ(7,"div",6),r.TgZ(8,"button",7),r.NdJ("click",function(){return t.showNotificationHistory()}),r.ALo(9,"translate"),r.TgZ(10,"mat-icon",8),r._uU(11),r.qZA(),r.qZA(),r._UZ(12,"perun-web-apps-header-menu",9),r.qZA()),2&e&&(r.Q6J("ngStyle",r.VKq(19,Oi,t.navTextColor)),r.xp6(2),r.Q6J("ngStyle",r.VKq(21,Oi,t.iconColor)),r.xp6(2),r.Q6J("routerLink",r.DdM(23,Pi)),r.xp6(1),r.Q6J("innerHTML",t.logo,r.oJD),r.xp6(1),r.Q6J("ngIf",t.isDevel),r.xp6(1),r.Q6J("ngStyle",r.VKq(24,Oi,t.navTextColor)),r.xp6(1),r.Q6J("matTooltip",r.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),r.xp6(2),r.s9C("matBadge",t.getNewNotificationsCount()>5?"5+":t.getNewNotificationsCount()),r.Q6J("ngStyle",r.VKq(26,Oi,t.iconColor))("matBadgeHidden",0===t.getNewNotificationsCount()),r.xp6(1),r.hij(" ",t.getNewNotificationsCount()?"notifications_active":"notifications"," "),r.xp6(1),r.Q6J("url",t.profileUrl)("label",t.profileLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.navTextColor))},directives:[m.PC,_.lW,y.Hw,o.yS,m.O5,C.gM,Ii.k,Ri.X],pipes:[d.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}"]}),e}(),Mi=i(24081),Li={provide:Oe.TP,useExisting:(0,r.Gpc)(function(){return c.yC}),multi:!0};function Ni(e){return new xe(e,"./assets/i18n/",".json")}function zi(e){var t={basePath:e.get("api_url")};return new s.VK(t)}var Zi=function(e){return function(){return e.initialize()}},Bi={suppressScrollX:!0},Fi=function(){var e=function e(t,i){_classCallCheck(this,e),this.customIconService=t,this.translate=i,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()};return e.\u0275fac=function(t){return new(t||e)(r.LFG(c.EB),r.LFG(d.sK))},e.\u0275mod=r.oAB({type:e,bootstrap:[Ie.y]}),e.\u0275inj=r.cJS({providers:[rt,{provide:r.ip1,useFactory:Zi,multi:!0,deps:[rt]},{provide:s.VK,useFactory:zi,deps:[c.d6]},{provide:o.wN,useClass:Xe},c.EB,{provide:$e,useClass:c.sM},c.yC,Li,{provide:ui,useValue:Bi}],imports:[[Pe.PW,n.b2,Oe.JF,Re.m,De,Se,y.Ps,ot,d.aw.forRoot({loader:{provide:d.Zw,useFactory:Ni,deps:[Oe.eN]}}),s.au,vi,ue.ez,fe,mi.zr.forRoot()]]}),e}();r.B6R(Ie.y,[m.O5,y.Hw,Ai,Di,m.PC,p.TM,p.JX,gi,Mi.V,p.Rh,o.lC,ge.$,ke],[]),(0,r.G48)(),n.q6().bootstrapModule(Fi).catch(function(e){return console.error(e)})},7423:function(e,t,i){"use strict";i.d(t,{r:function(){return o}});var n=i(61511),r=i(31572),o=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[n.ez]]}),e}()},13857:function(e,t,i){"use strict";i.d(t,{Rc:function(){return r},pI:function(){return o},Ng:function(){return a}});var n=i(31572),r="GUI_CONFIG.PREF_PAGE_SIZE",o="GUI_CONFIG.PREF_PAGE_SIZE.",a=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getString",value:function(e){return localStorage.getItem(e)}},{key:"getNumber",value:function(e){return parseInt(localStorage.getItem(e),10)}},{key:"setNumber",value:function(e,t){localStorage.setItem(e,t.toString())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},60611:function(e,t,i){"use strict";i.d(t,{dB:function(){return o},CP:function(){return a},tw:function(){return s},nT:function(){return c},YF:function(){return u},gc:function(){return l},v1:function(){return h},AA:function(){return d},VR:function(){return f},uM:function(){return p},xx:function(){return g},H2:function(){return v},xt:function(){return m},dI:function(){return y},j1:function(){return _},Wv:function(){return b},qy:function(){return w},BV:function(){return A},qV:function(){return k},tY:function(){return C},Af:function(){return T},O7:function(){return E},gB:function(){return S},Hi:function(){return I},Jf:function(){return R},W1:function(){return x},rF:function(){return O},Aj:function(){return P},Ad:function(){return D},kZ:function(){return M},cL:function(){return L},RS:function(){return N},HC:function(){return z},KE:function(){return Z},Sb:function(){return B},_7:function(){return F},bf:function(){return q},rc:function(){return H},Cf:function(){return U},eq:function(){return G},NG:function(){return j},O9:function(){return Y},d7:function(){return K},vq:function(){return V},NL:function(){return J},kO:function(){return Q},aL:function(){return W},DR:function(){return X},uC:function(){return $},JO:function(){return ee},oK:function(){return te},Iz:function(){return ie},It:function(){return ne},z6:function(){return re},iQ:function(){return oe},e5:function(){return ae},Bf:function(){return se},zp:function(){return ce},US:function(){return ue},gG:function(){return le},$V:function(){return he},S7:function(){return de},zW:function(){return fe},CE:function(){return pe},Is:function(){return ge},M8:function(){return ve},g:function(){return me},_c:function(){return ye}});var n=i(13857),r=i(31572),o=function(){var e=function(){function e(t){_classCallCheck(this,e),this.guiConfigService=t}return _createClass(e,[{key:"getTablePageSize",value:function(e){var t=this.guiConfigService.getNumber(n.pI+e);if(!isNaN(t))return t;var i=this.guiConfigService.getNumber(n.Rc);return isNaN(i)?10:i}},{key:"setTablePageSize",value:function(e,t){this.guiConfigService.setNumber(n.pI+e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.Ng))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),a="0",s="1",c="2",u="3",l="4",h="5",d="6",f="7",p="8",g="9",v="10",m="11",y="12",_="13",b="14",w="15",A="16",k="17",C="18",T="19",E="20",S="21",I="22",R="23",x="24",O="25",P="26",D="27",M="28",L="29",N="30",z="31",Z="32",B="33",F="34",q="35",H="36",U="37",G="42",j="43",Y="44",K="45",V="46",J="47",Q="48",W="49",X="50",$="51",ee="52",te="53",ie="54",ne="55",re="56",oe="57",ae="58",se="59",ce="62",ue="63",le="64",he="65",de="66",fe="69",pe="71",ge="72",ve="75",me="76",ye="77"},17:function(e,t,i){"use strict";i.d(t,{Ji:function(){return s},Pd:function(){return o},BQ:function(){return r},Ly:function(){return a},GH:function(){return l},Ls:function(){return h},SG:function(){return u},es:function(){return c}});var n=i(10709),r=(0,n.X$)("openClose",[(0,n.SB)("open",(0,n.oB)({overflow:"hidden"})),(0,n.SB)("closed",(0,n.oB)({height:"0px",overflow:"hidden"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),o=(0,n.X$)("flyInOut",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".5s",(0,n.oB)({transform:"translateX(100%)"}))])]),a=(0,n.X$)("rollInOut",[(0,n.eR)(":enter",[(0,n.oB)({height:"0px"}),(0,n.jt)(".25s")]),(0,n.eR)(":leave",[(0,n.jt)(".25s",(0,n.oB)({height:"0px"}))])]),s=(0,n.X$)("routeAnimations",[(0,n.eR)("* => *",[(0,n.oB)({position:"relative"}),(0,n.IO)(":enter",[(0,n.oB)({width:"100%",opacity:0})],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({position:"absolute",width:"100%",opacity:1}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,n.IO)(":enter",[(0,n.oB)({position:"absolute",width:"100%",opacity:0}),(0,n.jt)("0.15s",(0,n.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c=(0,n.X$)("tagsOpenClose",[(0,n.SB)("open",(0,n.oB)({})),(0,n.SB)("closed",(0,n.oB)({width:"0px",height:"0px"})),(0,n.eR)("open <=> closed",[(0,n.jt)(".3s ease-in")])]),u=(0,n.X$)("switchAnimations",[(0,n.eR)("true => false",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(-100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,n.eR)("false => true",[(0,n.IO)(":enter, :leave",(0,n.oB)({})),(0,n.ru)([(0,n.IO)(":enter",[(0,n.oB)({transform:"translateX(100%)"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,n.IO)(":leave",[(0,n.oB)({transform:"translateX(0%)",position:"absolute"}),(0,n.jt)("1s ease-in-out",(0,n.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),l=(0,n.X$)("slideInOutLeft",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),h=(0,n.X$)("slideInOutRight",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(100%)",position:"fixed"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(0%)"}))]),(0,n.eR)(":leave",[(0,n.oB)({transform:"translateX(-100%)",position:"relative"}),(0,n.jt)("0.5s ease-in",(0,n.oB)({transform:"translateX(100%)"}))])])},10896:function(e,t,i){"use strict";i.d(t,{Mw:function(){return N.M},Sx:function(){return le.S},Nj:function(){return ce},ez:function(){return L},t$:function(){return ue}});var n=i(61511),r=i(29236),o=i(67033),a=i(48160),s=i(57629),c=i(58623),u=i(73005),l=i(67806),h=i(22727),d=i(43691),f=i(8055),p=i(15980),g=i(36922),v=i(66283),m=i(16073),y=i(80340),_=i(10033),b=i(88975),w=i(71522),A=i(22280),k=i(81391),C=i(91010),T=i(15812),E=i(54810),S=i(4786),I=i(30146),R=i(4253),x=i(84608),O=i(84140),P=i(31572),D=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"format",value:function(e,t){return"input"===t?"".concat(e.getDate().toString(),".").concat((e.getMonth()+1).toString(),".").concat(e.getFullYear()):e.toDateString()}}]),i}(w.LF);return t.\u0275fac=function(i){return(e||(e=P.n5z(t)))(i||t)},t.\u0275prov=P.Yz7({token:t,factory:t.\u0275fac}),t}(),M={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"}}},L=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=P.oAB({type:e}),e.\u0275inj=P.cJS({providers:[{provide:w._A,useClass:D},{provide:w.sG,useValue:M}],imports:[[n.ez,r.p9,o.p0,m.u5,_.Hi,b._t,a.aw,s.Bz,c.JX,u.TU,l.Cq,h.r,d.Ps,f.Tx,p.ot,g.AV,v.lN,m.UX,y.c,w.si,A.d4,k.Iq,C.dp,T.FA,E.Fk,w.Ng,S.LD,I.Co,R.Cl,x.Is,O.Je]]}),e}();i(41186);var N=i(51556),z=(i(76021),i(84584),i(22230),i(33596),i(88884),i(11418),i(23888),i(33642)),Z=i(88426);function B(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function F(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function q(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_WEAK")))}function H(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_SHORT")))}function U(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function G(e,t){1&e&&(P.TgZ(0,"mat-error"),P._uU(1),P.ALo(2,"translate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_DONT_MATCH")))}function j(e,t){if(1&e&&(P.TgZ(0,"form",5),P.TgZ(1,"div",6),P.TgZ(2,"mat-form-field"),P.TgZ(3,"mat-label"),P._uU(4),P.ALo(5,"translate"),P.qZA(),P._UZ(6,"input",7),P.YNc(7,B,3,3,"mat-error",8),P.qZA(),P.TgZ(8,"mat-form-field"),P.TgZ(9,"mat-label"),P._uU(10),P.ALo(11,"translate"),P.qZA(),P._UZ(12,"input",9),P.YNc(13,F,3,3,"mat-error",8),P.YNc(14,q,3,3,"mat-error",8),P.YNc(15,H,3,3,"mat-error",8),P.qZA(),P.TgZ(16,"mat-form-field"),P.TgZ(17,"mat-label"),P._uU(18),P.ALo(19,"translate"),P.qZA(),P._UZ(20,"input",10),P.YNc(21,U,3,3,"mat-error",8),P.YNc(22,G,3,3,"mat-error",8),P.qZA(),P.TgZ(23,"p",11),P._uU(24),P.ALo(25,"translate"),P.qZA(),P.qZA(),P.qZA()),2&e){var i=P.oxw();P.Q6J("formGroup",i.formGroup),P.xp6(4),P.Oqu(P.lcZ(5,11,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),P.xp6(3),P.Q6J("ngIf",i.oldPwd.hasError("required")),P.xp6(3),P.Oqu(P.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD")),P.xp6(3),P.Q6J("ngIf",i.newPwd.hasError("required")),P.xp6(1),P.Q6J("ngIf",i.newPwd.hasError("isWeak")&&!i.newPwd.hasError("minlength")),P.xp6(1),P.Q6J("ngIf",i.newPwd.hasError("minlength")),P.xp6(3),P.Oqu(P.lcZ(19,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD_AGAIN")),P.xp6(3),P.Q6J("ngIf",i.newPwdAgain.hasError("required")),P.xp6(1),P.Q6J("ngIf",i.newPwdAgain.hasError("noPasswordMatch")),P.xp6(2),P.Oqu(P.lcZ(25,17,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PASSWORD_INFO"))}}function Y(e,t){1&e&&P._UZ(0,"mat-spinner",12)}function K(e,t){if(1&e){var i=P.EpF();P.TgZ(0,"div",13),P.TgZ(1,"div",14),P.TgZ(2,"button",15),P.NdJ("click",function(){return P.CHM(i),P.oxw().close()}),P._uU(3),P.ALo(4,"translate"),P.qZA(),P.TgZ(5,"button",16),P.NdJ("click",function(){return P.CHM(i),P.oxw().changePassword()}),P._uU(6),P.ALo(7,"translate"),P.qZA(),P.qZA(),P.qZA()}if(2&e){var n=P.oxw();P.xp6(3),P.hij(" ",P.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),P.xp6(2),P.Q6J("disabled",n.formGroup.invalid),P.xp6(1),P.hij(" ",P.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}var V=function(){var e=function(){function e(t,i,n,r,o,a){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this._formBuilder=n,this.usersManagerService=r,this.notificator=o,this.translate=a,a.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(function(e){return s.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",m.kI.required],passwordCtrl:["",m.kI.compose([O.dN.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),m.kI.minLength(10)])],passwordAgainCtrl:[""]},{validator:O.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}},{key:"close",value:function(){this.dialogRef.close(!1)}},{key:"changePassword",value:function(){var e=this;this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(P.Y36(x.so),P.Y36(x.WI),P.Y36(m.qu),P.Y36(z.Fv),P.Y36(Z.V6),P.Y36(a.sK))},e.\u0275cmp=P.Xpm({type:e,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","","type","password"],[4,"ngIf"],["formControlName","passwordCtrl","matInput","","required","","type","password"],["formControlName","passwordAgainCtrl","matInput","","required","","type","password"],[1,"white-space-pre"],[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&&(P.TgZ(0,"h1",0),P._uU(1),P.ALo(2,"translate"),P.qZA(),P.TgZ(3,"div",1),P.YNc(4,j,26,19,"form",2),P.YNc(5,Y,1,0,"mat-spinner",3),P.qZA(),P.YNc(6,K,8,7,"div",4)),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),P.xp6(3),P.Q6J("ngIf",!t.loading),P.xp6(1),P.Q6J("ngIf",t.loading),P.xp6(1),P.Q6J("ngIf",!t.loading))},directives:[x.uh,x.xY,n.O5,m._Y,m.JL,m.sg,v.KE,v.hX,m.Fj,y.Nt,m.JJ,m.u,m.Q7,v.TO,l.$g,x.H8,p.lW],pipes:[a.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}"]}),e}(),J=i(39571),Q=i(83787);function W(e,t){1&e&&(P.TgZ(0,"app-alert"),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function X(e,t){1&e&&(P.TgZ(0,"th",16),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function $(e,t){if(1&e&&(P.TgZ(0,"td",17),P._uU(1),P.qZA()),2&e){var i=t.$implicit;P.xp6(1),P.Oqu(i.friendlyNameParameter)}}function ee(e,t){1&e&&(P.TgZ(0,"th",16),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,1,P.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function te(e,t){if(1&e&&(P.TgZ(0,"td",18),P._uU(1),P.qZA()),2&e){var i=t.$implicit;P.xp6(1),P.Oqu(i.value)}}function ie(e,t){1&e&&P._UZ(0,"th",16)}function ne(e,t){if(1&e){var i=P.EpF();P.TgZ(0,"td",19),P.TgZ(1,"button",20),P.NdJ("click",function(){var e=P.CHM(i).$implicit;return P.oxw().resetPassword(e.friendlyNameParameter)}),P._uU(2),P.ALo(3,"translate"),P.ALo(4,"customTranslate"),P.qZA(),P.qZA()}if(2&e){var n=t.$implicit,r=P.oxw();P.xp6(1),P.Q6J("disabled",!r.logins.includes(n)),P.xp6(1),P.Oqu(P.lcZ(3,2,P.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD")))}}function re(e,t){1&e&&P._UZ(0,"th",16)}function oe(e,t){if(1&e){var i=P.EpF();P.TgZ(0,"td",19),P.TgZ(1,"button",20),P.NdJ("click",function(){var e=P.CHM(i).$implicit;return P.oxw().changePassword(e)}),P._uU(2),P.ALo(3,"translate"),P.ALo(4,"customTranslate"),P.qZA(),P.qZA()}if(2&e){var n=t.$implicit,r=P.oxw();P.xp6(1),P.Q6J("disabled",!r.logins.includes(n)),P.xp6(1),P.Oqu(P.lcZ(3,2,P.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function ae(e,t){1&e&&P._UZ(0,"tr",21)}function se(e,t){1&e&&P._UZ(0,"tr",22)}var ce=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.attributesManagerService=t,this.store=i,this.dialog=n,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(function(t){var i=e.nameSpaces.map(function(e){var t=e.split(":");return t[t.length-1]});e.logins=t.filter(function(e){return i.includes(e.friendlyNameParameter)}),e.dataSource=new o.by(t)})}},{key:"resetPassword",value:function(e){var t=this.store.get("pwd_reset_base_url");location.href="".concat(t,"?login-namespace=").concat(e)}},{key:"changePassword",value:function(e){var t=(0,O.kZ)();t.width="600px",t.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(V,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(P.Y36(z.H8),P.Y36(Z.d6),P.Y36(x.uw))},e.\u0275cmp=P.Xpm({type:e,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(P.TgZ(0,"h1",0),P._uU(1),P.ALo(2,"translate"),P.ALo(3,"customTranslate"),P.qZA(),P.YNc(4,W,4,5,"app-alert",1),P.TgZ(5,"div",2),P.TgZ(6,"div",3),P.TgZ(7,"div",4),P.TgZ(8,"table",5),P.ynx(9,6),P.YNc(10,X,4,5,"th",7),P.YNc(11,$,2,1,"td",8),P.BQk(),P.ynx(12,9),P.YNc(13,ee,4,5,"th",7),P.YNc(14,te,2,1,"td",10),P.BQk(),P.ynx(15,11),P.YNc(16,ie,1,0,"th",7),P.YNc(17,ne,5,6,"td",12),P.BQk(),P.ynx(18,13),P.YNc(19,re,1,0,"th",7),P.YNc(20,oe,5,6,"td",12),P.BQk(),P.YNc(21,ae,1,0,"tr",14),P.YNc(22,se,1,0,"tr",15),P.qZA(),P.qZA(),P.qZA(),P.qZA()),2&e&&(P.xp6(1),P.Oqu(P.lcZ(2,5,P.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),P.xp6(3),P.Q6J("ngIf",!t.logins.length),P.xp6(4),P.Q6J("dataSource",t.dataSource),P.xp6(13),P.Q6J("matHeaderRowDef",t.displayedColumns),P.xp6(1),P.Q6J("matRowDefColumns",t.displayedColumns))},directives:[n.O5,o.BZ,c.YE,o.w1,o.fO,o.Dz,o.as,o.nj,J.w,o.ge,o.ev,p.lW,o.XQ,o.Gk],pipes:[a.X$,Q.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),e}(),ue=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.router=t,this.route=i,this.location=n,this.forceRoute=r}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(function(t){e.router.navigate([t.redirectTo])}):this.location.back()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(P.Y36(s.F0),P.Y36(s.gz),P.Y36(n.Ye),P.Y36(Z.xw))},e.\u0275cmp=P.Xpm({type:e,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e}();i(78364),i(11441),i(16306),i(43005);var le=i(30725);i(66438)},30725:function(e,t,i){"use strict";i.d(t,{S:function(){return a},Y:function(){return s}});var n=i(31572),r=(i(33642),i(48160)),o=i(44973),a={},s=function(){var e=function e(t){var i=this;_classCallCheck(this,e),this.translate=t,this.item=null,this.itemSelected=new n.vpe,this.nameFunction=function(e){return e===a?i.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):e.shortname},this.secondaryFunction=function(e){return e===a?"":e.id<0?i.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+e.id},this.searchFunction=function(e){return e===a?"":e.shortname+e.id}};return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.sK))},e.\u0275cmp=n.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(e,t){1&e&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(e){return t.itemSelected.emit(e)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&e&&n.Q6J("entities",t.items)("searchFunction",t.searchFunction)("mainTextFunction",t.nameFunction)("secondaryTextFunction",t.secondaryFunction)("entity",t.item)("disableAutoSelect",!0)("selectPlaceholder",n.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",n.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[o.i],pipes:[r.X$],styles:[""]}),e}()},76021:function(e,t,i){"use strict";i.d(t,{u:function(){return h}});var n=i(31572),r=i(84140),o=i(61511),a=i(29236),s=i(16073),c=i(66283);function u(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-checkbox",2),n.NdJ("change",function(){return n.CHM(i),n.oxw()._sendEventToParent()})("ngModelChange",function(e){return n.CHM(i),n.oxw().attribute.value=e}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("ngModel",r.attribute.value)}}function l(e,t){if(1&e&&(n.TgZ(0,"mat-label"),n._uU(1),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Oqu(i.attribute.value)}}var h=function(){var e=function(){function e(){_classCallCheck(this,e),this.readonly=!1,this.sendEventToParent=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=(0,r.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,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&&(n.TgZ(0,"div"),n.YNc(1,u,1,1,"mat-checkbox",0),n.YNc(2,l,2,1,"mat-label",1),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",!t.readonly),n.xp6(1),n.Q6J("ngIf",t.readonly))},directives:[o.O5,a.oG,s.JJ,s.On,c.hX],styles:[""]}),e}()},84584:function(e,t,i){"use strict";i.d(t,{H:function(){return C}});var n=i(31572),r=i(75842),o=i(88975),a=i(61189),s=i(84140),c=i(84608),u=i(10033),l=i(61511),h=i(43691),d=i(36922),f=i(15980),p=i(66283),g=i(80340);function v(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-icon",9),n.NdJ("mousedown",function(){return n.CHM(i),n.oxw(2).dragDisabled=!1}),n._uU(1,"drag_indicator"),n.qZA()}}function m(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-icon",10),n.NdJ("click",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw().edit(e)}),n._uU(1,"edit"),n.qZA()}}function y(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-icon",11),n.NdJ("click",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw().remove(e)}),n._uU(1,"cancel"),n.qZA()}}function _(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-chip",4),n.NdJ("removed",function(){var e=n.CHM(i).$implicit,t=n.oxw();return t.remove(e),t._sendEventToParent()}),n.YNc(1,v,2,0,"mat-icon",5),n.TgZ(2,"div",6),n.NdJ("click",function(){var e=n.CHM(i).$implicit,t=n.oxw();return t.readonly&&void 0!==t.attribute.displayName&&t.showValue(e,t.attribute.displayName)}),n._uU(3),n.qZA(),n.YNc(4,m,2,0,"mat-icon",7),n.YNc(5,y,2,0,"mat-icon",8),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.Q6J("selectable",o.selectable)("cdkDragData",r)("removable",o.removable),n.xp6(1),n.Q6J("ngIf",o.removable),n.xp6(1),n.ekj("cursor-pointer",o.readonly&&void 0!==o.attribute.displayName),n.xp6(1),n.Oqu(r),n.xp6(1),n.Q6J("ngIf",o.removable),n.xp6(1),n.Q6J("ngIf",o.removable)}}function b(e,t){1&e&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function w(e,t){1&e&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function A(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"div",12),n.TgZ(1,"span",13),n.TgZ(2,"button",14),n.NdJ("click",function(){return n.CHM(i),n.oxw().onShowChange()}),n.YNc(3,b,2,0,"mat-icon",15),n.YNc(4,w,2,0,"mat-icon",15),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("matTooltip",r.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(2),n.Q6J("ngIf",!r.showMore),n.xp6(1),n.Q6J("ngIf",r.showMore)}}function k(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-form-field",12),n.TgZ(1,"input",16),n.NdJ("matChipInputTokenEnd",function(e){return n.CHM(i),n.oxw().add(e)})("change",function(){return n.CHM(i),n.oxw()._sendEventToParent()}),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(),o=n.MAs(2);n.xp6(1),n.Q6J("matChipInputFor",o)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("matChipInputAddOnBlur",r.addOnBlur)}}var C=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[r.K5,r.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new n.vpe,this.readonly=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.removable=!(0,s.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"add",value:function(e){var t=e.input,i=e.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}},{key:"remove",value:function(e){var t=this,i=(0,s.kZ)();i.width="400px",i.data={name:e},this.dialog.open(a.Wr,i).afterClosed().subscribe(function(i){if(i){var n=t.attribute.value.indexOf(e);t.attribute.value.splice(n,1),t.values=Object.values(t.attribute.value),t.sendEventToParent.emit()}})}},{key:"drop",value:function(e){this.dragDisabled=!0,(0,o.bA)(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}},{key:"edit",value:function(e){var t=this,i=this.attribute.value.indexOf(e),n=(0,s.kZ)();n.width="600px",n.data={attribute:this.attribute,index:i},this.dialog.open(a.r2,n).afterClosed().subscribe(function(e){e&&(t.values=Object.values(t.attribute.value),t.sendEventToParent.emit())})}},{key:"showValue",value:function(e,t){var i=(0,s.kZ)();i.width="350px",i.data={value:e,title:t},this.dialog.open(a.mk,i)}},{key:"setItemsShown",value:function(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.setItemsShown()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(c.uw))},e.\u0275cmp=n.Xpm({type:e,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&(n.TgZ(0,"div"),n.TgZ(1,"mat-chip-list",0,1),n.NdJ("cdkDropListDropped",function(e){return t.drop(e),t._sendEventToParent()}),n.YNc(3,_,6,9,"mat-chip",2),n.YNc(4,A,5,4,"div",3),n.YNc(5,k,2,3,"mat-form-field",3),n.qZA(),n.qZA()),2&e&&(n.xp6(1),n.Q6J("cdkDropListDisabled",t.dragDisabled),n.xp6(2),n.Q6J("ngForOf",t.values.slice(0,t.itemsShown)),n.xp6(1),n.Q6J("ngIf",t.values.length>t.defaultItemsShown),n.xp6(1),n.Q6J("ngIf",!t.readonly))},directives:[u.qn,o.Wj,l.sg,l.O5,u.HS,o.Zt,h.Hw,d.gM,f.lW,p.KE,g.Nt,u.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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}()},22230:function(e,t,i){"use strict";i.d(t,{$:function(){return b}});var n=i(61189),r=i(84140),o=i(31572),a=i(84608),s=i(16073),c=i(61511),u=i(36922),l=i(66283),h=i(80340),d=i(15980),f=i(43691);function p(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"button",15),o.NdJ("click",function(){o.CHM(i);var e=o.oxw().index;return o.oxw().removeValue(e)}),o.TgZ(1,"mat-icon"),o._uU(2," indeterminate_check_box "),o.qZA(),o.qZA()}}function g(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"div",9),o.TgZ(1,"mat-form-field",10),o._UZ(2,"label",11),o.TgZ(3,"input",12),o.NdJ("click",function(){var e=o.CHM(i).index,t=o.oxw();return t.readonly&&t.attribute.displayName&&t.showValue(t.keys[e],t.attribute.displayName)})("ngModelChange",function(e){var t=o.CHM(i).index;return o.oxw().keys[t]=e}),o.qZA(),o.qZA(),o.TgZ(4,"mat-form-field",10),o._UZ(5,"label",11),o.TgZ(6,"input",13),o.NdJ("click",function(){var e=o.CHM(i).$implicit,t=o.oxw();return t.readonly&&void 0!==t.attribute.displayName&&t.showValue(e,t.attribute.displayName)})("ngModelChange",function(e){var t=o.CHM(i).index;return o.oxw().values[t]=e}),o.qZA(),o.qZA(),o.YNc(7,p,3,0,"button",14),o.qZA()}if(2&e){var n=t.index,r=o.oxw();o.xp6(1),o.s9C("appearance",r.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",r.attribute.id,"-key-",n,""),o.xp6(1),o.ekj("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),o.hYB("id","",r.attribute.id,"-key-",n,""),o.MGl("name","key-",n,""),o.Q6J("ngModel",r.keys[n])("readonly",r.readonly),o.xp6(1),o.s9C("appearance",r.readonly?"none":"standard"),o.xp6(1),o.hYB("for","",r.attribute.id,"-value-",n,""),o.xp6(1),o.ekj("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),o.MGl("name","value-",n,""),o.hYB("id","",r.attribute.id,"-value-",n,""),o.Q6J("readonly",r.readonly)("ngModel",r.values[n]),o.xp6(1),o.Q6J("ngIf",!r.readonly)}}function v(e,t){1&e&&(o.TgZ(0,"mat-icon"),o._uU(1,"more_horiz"),o.qZA())}function m(e,t){1&e&&(o.TgZ(0,"mat-icon"),o._uU(1,"keyboard_arrow_up"),o.qZA())}function y(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"button",16),o.NdJ("click",function(){return o.CHM(i),o.oxw().onShowChange()}),o.YNc(1,v,2,0,"mat-icon",17),o.YNc(2,m,2,0,"mat-icon",17),o.qZA()}if(2&e){var n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.showMore),o.xp6(1),o.Q6J("ngIf",n.showMore)}}function _(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"button",18),o.NdJ("click",function(){return o.CHM(i),o.oxw().addValue()}),o.TgZ(1,"mat-icon"),o._uU(2," add_box "),o.qZA(),o.qZA()}}var b=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}return _createClass(e,[{key:"ngOnInit",value:function(){if(void 0!==this.attribute.value)for(var e=this.attribute.value,t=0,i=Object.entries(e);tthis.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}},{key:"removeValue",value:function(e){this.keys.splice(e,1),this.values.splice(e,1)}},{key:"updateAttribute",value:function(){for(var e={},t=0;tt.defaultItemsShown),o.xp6(1),o.Q6J("ngIf",!t.readonly))},directives:[s._Y,s.JL,s.F,c.sg,u.gM,c.O5,l.KE,h.Nt,s.Fj,s.Q7,s.JJ,s.On,d.lW,f.Hw],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}"]}),e}()},33596:function(e,t,i){"use strict";i.d(t,{_:function(){return l}});var n=i(31572),r=i(84140),o=i(61189),a=i(84608),s=i(66283),c=i(80340),u=i(16073),l=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,r.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e,t){var i=(0,r.kZ)();i.width="350px",i.data={value:e,title:t},this.dialog.open(o.mk,i)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(a.uw))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),n.qZA(),n.qZA()),2&e&&(n.s9C("appearance",t.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",t.readonly&&void 0!==t.value),n.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[s.KE,c.Nt,u.Fj,u.JJ,u.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}()},51556:function(e,t,i){"use strict";i.d(t,{M:function(){return A}});var n=i(31572),r=i(22230),o=i(61511),a=i(76021),s=i(84584),c=i(33596),u=i(84140),l=i(61189),h=i(84608),d=i(66283),f=i(80340),p=i(16073),g=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=(0,u.Hm)(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e){var t=(0,u.kZ)();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(l.mk,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(h.uw))},e.\u0275cmp=n.Xpm({type:e,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&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"input",1),n.NdJ("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),n.qZA(),n.qZA()),2&e&&(n.s9C("appearance",t.readonly?"none":"standard"),n.xp6(1),n.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.value),n.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[d.KE,f.Nt,p.wV,p.Fj,p.JJ,p.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}(),v=["map"];function m(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-boolean",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function y(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-list",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function _(e,t){if(1&e&&n._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&e){var i=n.oxw();n.Q6J("attribute",i.attribute)("readonly",i.readonly)}}function b(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-string",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}function w(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-attribute-value-integer",3),n.NdJ("sendEventToParent",function(){return n.CHM(i),n.oxw()._sendEventToParent2()}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("attribute",r.attribute)("readonly",r.readonly)}}var A=function(){var e=function(){function e(){_classCallCheck(this,e),this.readonly=!1,this.sendEventToParent2=new n.vpe}return _createClass(e,[{key:"updateMapAttribute",value:function(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}},{key:"_sendEventToParent2",value:function(){this.sendEventToParent2.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(v,5),2&e)&&(n.iGM(i=n.CRH())&&(t.mapComponent=i.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&&(n.TgZ(0,"div"),n.YNc(1,m,1,2,"perun-web-apps-attribute-value-boolean",0),n.YNc(2,y,1,2,"perun-web-apps-attribute-value-list",0),n.TgZ(3,"div",1),n.NdJ("click",function(){return t._sendEventToParent2()}),n.YNc(4,_,2,2,"perun-web-apps-attribute-value-map",2),n.qZA(),n.YNc(5,b,1,2,"perun-web-apps-attribute-value-string",0),n.YNc(6,w,1,2,"perun-web-apps-attribute-value-integer",0),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf","java.lang.Boolean"===t.attribute.type),n.xp6(1),n.Q6J("ngIf","java.util.ArrayList"===t.attribute.type),n.xp6(2),n.Q6J("ngIf","java.util.LinkedHashMap"===t.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),n.xp6(1),n.Q6J("ngIf","java.lang.Integer"===t.attribute.type))},directives:[o.O5,a.u,s.H,r.$,c._,g],styles:[""]}),e}()},41186:function(e,t,i){"use strict";i.d(t,{p:function(){return O}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(51556),c=i(84140),u=i(88426),l=i(82819),h=i(61511),d=i(29236),f=i(36922),p=i(39571),g=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return"virt"===e.namespace.split(":")[4]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"isVirtualAttribute",type:e,pure:!0}),e}(),v=i(48160);function m(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"th",15),n.TgZ(1,"mat-checkbox",16),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw();return e?t.masterToggle():null}),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())("aria-label",r.checkboxLabel())}}function y(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",17),n.TgZ(1,"mat-checkbox",18),n.NdJ("click",function(e){return e.stopPropagation()})("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null}),n.ALo(2,"isVirtualAttribute"),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("checked",o.selection.isSelected(r))("disabled",n.lcZ(2,3,r)||!r.writable)("aria-label",o.checkboxLabel(r))}}function _(e,t){1&e&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function b(e,t){if(1&e&&(n.TgZ(0,"td",17),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function w(e,t){1&e&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function A(e,t){if(1&e&&(n.TgZ(0,"td",20),n.TgZ(1,"div",21),n._uU(2),n.qZA(),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.s9C("matTooltip",r.getAttributeFullName(i)),n.xp6(1),n.hij(" ",i.displayName," ")}}function k(e,t){1&e&&(n.TgZ(0,"th",15),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function C(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",20),n.TgZ(1,"perun-web-apps-attribute-value",22),n.NdJ("sendEventToParent2",function(){var e=n.CHM(i).$implicit;return n.oxw().onValueChange(e)}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("attribute",r)("readonly",o.readonly||!r.writable)}}function T(e,t){1&e&&(n.TgZ(0,"th",19),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function E(e,t){if(1&e&&(n.TgZ(0,"td",20),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.description)}}function S(e,t){1&e&&n._UZ(0,"tr",23)}function I(e,t){if(1&e&&(n._UZ(0,"tr",24),n.ALo(1,"translate")),2&e){var i=t.$implicit,r=n.oxw();n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),n.Q6J("matTooltipPosition","before")("matTooltipDisabled",i.writable||r.readonly)}}function R(e,t){1&e&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function x(e,t){if(1&e&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,1,i.emptyListText),"\n")}}var O=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.authResolver=t,this.tableCheckbox=i,this.attributes=[],this.selection=new a.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new n.vpe,this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=c.f7}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new o.by((0,c.MX)(this.attributes)),this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"getDataForColumn",value:function(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);default:return""}}},{key:"exportData",value:function(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.displayedColumns=this.displayedColumns.filter(function(t){return!e.hiddenColumns.includes(t)}),this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,c.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,c.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"updateMapAttributes",value:function(){var e,t=_createForOfIteratorHelper(this.items.toArray());try{for(t.s();!(e=t.n()).done;){var i=e.value;"java.util.LinkedHashMap"===i.attribute.type&&i.updateMapAttribute()}}catch(n){t.e(n)}finally{t.f()}}},{key:"onValueChange",value:function(e){this.canBeSelected(e)&&this.selection.select(e)}},{key:"canBeSelected",value:function(e){return!(0,c.Hm)(e)&&e.writable}},{key:"getAttributeFullName",value:function(e){return"".concat(e.namespace,":").concat(e.friendlyName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(u.x4),n.Y36(u.UA))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(c.l9,7),n.Gf(s.M,5)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first),n.iGM(i=n.CRH())&&(t.items=i))},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[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&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,m,2,3,"th",4),n.YNc(5,y,3,5,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,_,3,3,"th",7),n.YNc(8,b,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,w,3,3,"th",7),n.YNc(11,A,3,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,k,3,3,"th",4),n.YNc(14,C,2,2,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,T,3,3,"th",7),n.YNc(17,E,2,1,"td",9),n.BQk(),n.YNc(18,S,1,0,"tr",12),n.YNc(19,I,2,5,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,x,3,3,"app-alert",14)),2&e&&(n.Q6J("hidden",0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.dataSource.data.length),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.data.length))},directives:[l.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,d.oG,o.ev,r.nU,f.gM,s.M,o.XQ,o.Gk,p.w],pipes:[g,v.X$],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),e}()},66297:function(e,t,i){"use strict";i.d(t,{W:function(){return h}});var n=i(88426),r=i(31572),o=i(61511),a=i(15980),s=i(36922),c=i(43691),u=i(48160),l=function(e){return{color:e}},h=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.location=t,this.storeService=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.backButtonColor=this.storeService.get("theme","back_button_color")}},{key:"goBack",value:function(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(o.Ye),r.Y36(n.d6))},e.\u0275cmp=r.Xpm({type:e,selectors:[["perun-web-apps-back-button"]],decls:4,vars:6,consts:[["mat-stroked-button","",1,"mb-2","mt-2",3,"ngStyle","matTooltip","click"],[1,"rotate"]],template:function(e,t){1&e&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return t.goBack()}),r.ALo(1,"translate"),r.TgZ(2,"mat-icon",1),r._uU(3,"arrow_right_alt"),r.qZA(),r.qZA()),2&e&&(r.s9C("matTooltip",r.lcZ(1,2,"Back")),r.Q6J("ngStyle",r.VKq(4,l,t.backButtonColor)))},directives:[a.lW,o.PC,s.gM,c.Hw],pipes:[u.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),e}()},43005:function(e,t,i){"use strict";i.d(t,{r:function(){return p}});var n=i(31572),r=i(16073),o=i(88426),a=i(66283),s=i(80340),c=i(61511),u=i(29236),l=i(37665),h=i(48160);function d(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-checkbox",7),n.NdJ("change",function(){return n.CHM(i),n.oxw().emitAsSubGroup()})("ngModelChange",function(e){return n.CHM(i),n.oxw().asSubgroup=e}),n._uU(1),n.ALo(2,"translate"),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("labelPosition","before")("ngModel",r.asSubgroup),n.xp6(1),n.hij(" ",n.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function f(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-group-search-select",8),n.NdJ("groupSelected",function(e){return n.CHM(i),n.oxw().emitParentGroup(e)}),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("disableAutoSelect",!0)("groups",r.voGroups)}}var p=function(){var e=function(){function e(t){_classCallCheck(this,e),this.store=t,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new n.vpe,this.descriptionChanged=new n.vpe,this.parentGroupChanged=new n.vpe,this.asSubgroupChanged=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new r.NI("",[r.kI.required,r.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),r.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new r.NI("",[r.kI.required,r.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(function(e){return"members"!==e.name})}},{key:"emitName",value:function(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}},{key:"emitDescription",value:function(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}},{key:"emitParentGroup",value:function(e){this.selectedParent=e,this.parentGroupChanged.emit(e)}},{key:"emitAsSubGroup",value:function(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(o.d6))},e.\u0275cmp=n.Xpm({type:e,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(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"mat-form-field",1),n.NdJ("keyup",function(){return t.emitName()}),n.TgZ(2,"label",2),n._UZ(3,"input",3),n.ALo(4,"translate"),n.qZA(),n.TgZ(5,"mat-error"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("keyup",function(){return t.emitDescription()}),n.TgZ(9,"label",2),n._UZ(10,"textarea",3),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"mat-error"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.qZA(),n.YNc(15,d,3,5,"mat-checkbox",5),n.YNc(16,f,1,2,"perun-web-apps-group-search-select",6),n.qZA()),2&e&&(n.xp6(3),n.s9C("placeholder",n.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),n.Q6J("formControl",t.nameControl),n.xp6(3),n.hij(" ",t.invalidNameMessage.length?t.invalidNameMessage:n.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),n.xp6(4),n.s9C("placeholder",n.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),n.Q6J("formControl",t.descriptionControl),n.xp6(3),n.hij(" ",n.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),n.xp6(2),n.Q6J("ngIf",t.isNotSubGroup),n.xp6(1),n.Q6J("ngIf",t.asSubgroup))},directives:[a.KE,s.Nt,r.Fj,r.Q7,r.JJ,r.oH,a.TO,c.O5,u.oG,r.On,l.h],pipes:[h.X$],styles:[""]}),e}()},51613:function(e,t,i){"use strict";i.d(t,{S:function(){return u}});var n=i(31572),r=i(66283),o=i(80340),a=i(15812),s=i(16073),c=i(48160),u=function(){var e=function(){function e(){_classCallCheck(this,e),this.datePicker=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}},{key:"dateChange",value:function(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"space-right",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-form-field",0),n.NdJ("click",function(){return n.CHM(i),n.MAs(7).open()}),n.TgZ(1,"mat-label"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"input",1),n.NdJ("dateChange",function(){return t.dateChange()}),n.qZA(),n._UZ(5,"mat-datepicker-toggle",2),n._UZ(6,"mat-datepicker",null,3),n.qZA(),n.TgZ(8,"mat-form-field",4),n.NdJ("click",function(){return n.CHM(i),n.MAs(15).open()}),n.TgZ(9,"mat-label"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.TgZ(12,"input",1),n.NdJ("dateChange",function(){return t.dateChange()}),n.qZA(),n._UZ(13,"mat-datepicker-toggle",2),n._UZ(14,"mat-datepicker",null,5),n.qZA()}if(2&e){var r=n.MAs(7),o=n.MAs(15);n.xp6(2),n.Oqu(n.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),n.xp6(2),n.Q6J("matDatepicker",r)("min",t.startMinDate)("max",t.startMaxDate)("formControl",t.startDate),n.xp6(1),n.Q6J("for",r),n.xp6(5),n.Oqu(n.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),n.xp6(2),n.Q6J("matDatepicker",o)("min",t.endMinDate)("max",t.endMaxDate)("formControl",t.endDate),n.xp6(1),n.Q6J("for",o)}},directives:[r.KE,r.hX,o.Nt,a.hl,s.Fj,s.JJ,s.oH,a.nW,r.R9,a.Mq],pipes:[c.X$],styles:[""]}),e}()},91058:function(e,t,i){"use strict";i.d(t,{P:function(){return d}});var n=i(31572),r=i(87254),o=i(79996),a=i(47701),s=i(98720),c=i(66283),u=i(80340),l=i(48160),h=["groupFilterInput"],d=function(){var e=function(){function e(){_classCallCheck(this,e),this.filter=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;(0,r.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,o.U)(function(e){return e.target.value}),(0,a.b)(500),(0,s.x)()).subscribe(function(t){e.filter.emit(t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(h,7),2&e)&&(n.iGM(i=n.CRH())&&(t.groupFilterInput=i.first))},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(e,t){1&e&&(n.TgZ(0,"mat-form-field",0),n._UZ(1,"input",1,2),n.ALo(3,"translate"),n.qZA()),2&e&&(n.xp6(1),n.s9C("placeholder",n.lcZ(3,1,t.placeholder)))},directives:[c.KE,u.Nt],pipes:[l.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),e}()},44973:function(e,t,i){"use strict";i.d(t,{i:function(){return y}});var n=i(31572),r=i(16073),o=i(66994),a=i(55959),s=i(25416),c=i(96577),u=i(66283),l=i(4786),h=i(71522),d=i(30146),f=i(61511),p=i(4253),g=["scrollViewport"];function v(e,t){if(1&e&&(n.TgZ(0,"mat-option",7),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&e){var i=n.oxw();n.Q6J("value",null==i.entitiesCtrl?null:i.entitiesCtrl.value),n.xp6(1),n.hij(" ",i.mainTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value)," "),n.xp6(2),n.Oqu(i.secondaryTextFunction(null==i.entitiesCtrl?null:i.entitiesCtrl.value))}}function m(e,t){if(1&e&&(n.TgZ(0,"mat-option",9),n._uU(1),n.TgZ(2,"span",8),n._uU(3),n.qZA(),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.Q6J("value",i),n.xp6(1),n.hij(" ",r.mainTextFunction(i)," "),n.xp6(2),n.Oqu(r.secondaryTextFunction(i))}}var y=function(){var e=function(){function e(t){_classCallCheck(this,e),this.cd=t,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.entitySelected=new n.vpe,this.entitiesCtrl=new r.NI,this.entityFilterCtrl=new r.NI,this.filteredEntities=new o.t(1),this.entitiesLen=0,this._onDestroy=new a.xQ,this.mainTextFunction=function(e){return(0,c.stringify)(e)},this.secondaryTextFunction=function(e){return"#"+e.id}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.entitiesCtrl.valueChanges.subscribe(function(t){return e.entitySelected.emit(t)}),this.disableAutoSelect||null!==this.entity||this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(function(t){return e.entitiesLen=t.length}),this.entityFilterCtrl.valueChanges.pipe((0,s.R)(this._onDestroy)).subscribe(function(){e.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}},{key:"ngOnChanges",value:function(e){e.entities&&this.filteredEntities.next(this.entities.slice())}},{key:"ngOnDestroy",value:function(){this._onDestroy.next(),this._onDestroy.complete()}},{key:"filterEntites",value:function(){var e=this;if(this.entities){var t=this.entityFilterCtrl.value;if(!t)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();t=this.normalize(t),this.filteredEntities.next(this.entities.filter(function(i){return e.normalize(e.searchFunction(i)).indexOf(t)>=0})),this.cd.detectChanges()}}},{key:"normalize",value:function(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}},{key:"openChange",value:function(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}},{key:"getViewportHeight",value:function(){var e=48*this.entitiesLen;return e>192&&(e=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.sBO))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(g,5),2&e)&&(n.iGM(i=n.CRH())&&(t.scrollViewport=i.first))},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[n.TTD],decls:9,vars:14,consts:[[1,"w-100"],[3,"placeholder","formControl","openedChange"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted","muted"],[3,"value"]],template:function(e,t){1&e&&(n.TgZ(0,"mat-form-field",0),n.TgZ(1,"mat-select",1),n.NdJ("openedChange",function(){return t.openChange()}),n.TgZ(2,"mat-option"),n._UZ(3,"ngx-mat-select-search",2),n.qZA(),n.YNc(4,v,4,3,"mat-option",3),n.TgZ(5,"cdk-virtual-scroll-viewport",4,5),n.YNc(7,m,4,3,"mat-option",6),n.ALo(8,"async"),n.qZA(),n.qZA(),n.qZA()),2&e&&(n.xp6(1),n.s9C("placeholder",t.selectPlaceholder),n.Q6J("formControl",t.entitiesCtrl),n.xp6(2),n.s9C("placeholderLabel",t.findPlaceholder),n.s9C("noEntriesFoundLabel",t.noEntriesText),n.Q6J("clearSearchInput",!1)("formControl",t.entityFilterCtrl),n.xp6(1),n.Q6J("ngIf",null==t.entitiesCtrl?null:t.entitiesCtrl.value),n.xp6(1),n.Udp("height",t.getViewportHeight(),"px"),n.Q6J("minBufferPx",240)("maxBufferPx",480),n.xp6(2),n.Q6J("cdkVirtualForOf",n.lcZ(8,12,t.filteredEntities)))},directives:[u.KE,l.gD,r.JJ,r.oH,h.ey,d.nu,f.O5,p.N7,p.xd,p.x0],pipes:[f.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}"]}),e}()},60007:function(e,t,i){"use strict";i.d(t,{X:function(){return J}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),c=i(82819),u=i(61511),l=i(29236),h=i(72953),d=i(16073),f=i(36922),p=i(15980),g=i(43691);function v(e,t){if(1&e&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.hij(" ",i[r.paramName]," ")}}function m(e,t){1&e&&(n.TgZ(0,"mat-icon"),n._uU(1,"more_horiz"),n.qZA())}function y(e,t){1&e&&(n.TgZ(0,"mat-icon"),n._uU(1,"keyboard_arrow_up"),n.qZA())}function _(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){return n.CHM(i),n.oxw().onShowChange()}),n.YNc(1,m,2,0,"mat-icon",8),n.YNc(2,y,2,0,"mat-icon",8),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("ngIf",!r.showMore),n.xp6(1),n.Q6J("ngIf",r.showMore)}}var b=function(){var e=function(){function e(){_classCallCheck(this,e),this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}return _createClass(e,[{key:"ngOnInit",value:function(){this.itemsShown=this.defaultItemsShown}},{key:"ngOnChanges",value:function(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[n.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(e,t){1&e&&(n.TgZ(0,"form",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.YNc(3,v,2,1,"div",3),n.qZA(),n.TgZ(4,"div"),n.TgZ(5,"span",4),n.YNc(6,_,3,2,"button",5),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&e&&(n.xp6(3),n.Q6J("ngForOf",t.objects.slice(0,t.itemsShown)),n.xp6(2),n.Q6J("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),n.xp6(1),n.Q6J("ngIf",t.objects.length>t.defaultItemsShown))},directives:[d._Y,d.JL,d.F,u.sg,f.gM,u.O5,p.lW,g.Hw],styles:[""]}),e}(),w=i(84534),A=i(57629),k=i(39571),C=i(48160),T=i(48853),E=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t,i){return e.filter(function(e){return e[i].includes(t)}).filter(function(e,t,n){return n.findIndex(function(t){return t[i]===e[i]})===t})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"filterUniqueObjects",type:e,pure:!0}),e}();function S(e,t){1&e&&n._UZ(0,"th",18)}function I(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",19),n.TgZ(1,"mat-checkbox",20),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function R(e,t){1&e&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")))}function x(e,t){if(1&e&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.facility.id)}}function O(e,t){1&e&&n._UZ(0,"th",18)}function P(e,t){if(1&e&&(n.TgZ(0,"td",22),n._UZ(1,"perun-web-apps-recently-viewed-icon",23),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Q6J("id",i.facility.id)("recentIds",r.recentIds)}}function D(e,t){1&e&&(n.TgZ(0,"th",21),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")))}function M(e,t){if(1&e&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.facility.name)}}function L(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")))}function N(e,t){if(1&e&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.facility.description)}}function z(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")))}function Z(e,t){if(1&e&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"technicalOwners"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.owners))}}function B(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")))}function F(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,r.destinations,o.filterValue,"destination"))("paramName","destination")}}function q(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")))}function H(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"perun-web-apps-object-list-values",24),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw().disableRouting=!1}),n.ALo(2,"filterUniqueObjects"),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("objects",n.Dn7(2,2,r.hosts,o.filterValue,"hostname"))("paramName","hostname")}}function U(e,t){1&e&&n._UZ(0,"tr",25)}var G=function(e){return["/facilities",e]},j=function(){return[]};function Y(e,t){if(1&e&&n._UZ(0,"tr",26),2&e){var i=t.$implicit,r=n.oxw();n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(2,G,i.facility.id))("routerLink",r.disableRouting?n.DdM(4,j):n.VKq(5,G,i.facility.id))}}function K(e,t){1&e&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function V(e,t){1&e&&(n.TgZ(0,"app-alert",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}var J=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authResolver=t,this.pageSize=10,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=a.f7,this.page=new n.vpe}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t,i){switch(t){case"id":return e.facility.id.toString();case"name":return e.facility.name;case"description":return e.facility.description;case"technicalOwners":return(0,a.te)(e.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(e.facility.id)>-1?"#".repeat(i.recentIds.indexOf(e.facility.id)):e.name;case"destinations":return e.destinations.map(function(e){return e.destination}).join(" ; ");case"hosts":return e.hosts.map(function(e){return e.hostname}).join(" ; ");default:return e[t]}}},{key:"exportData",value:function(e){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,a.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,a.pR)(t,i,e.getDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.dataSource.data.length}},{key:"masterToggle",value:function(){var e=this;this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(function(t){return e.selection.select(t)})}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.facility.id+1):(this.isAllSelected()?"select":"deselect")+" all"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(s.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["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(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,S,1,0,"th",4),n.YNc(5,I,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,x,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",4),n.YNc(11,P,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,D,3,3,"th",7),n.YNc(14,M,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,L,3,3,"th",4),n.YNc(17,N,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,z,3,3,"th",4),n.YNc(20,Z,3,3,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,B,3,3,"th",4),n.YNc(23,F,3,6,"td",9),n.BQk(),n.ynx(24,14),n.YNc(25,q,3,3,"th",4),n.YNc(26,H,3,6,"td",9),n.BQk(),n.YNc(27,U,1,0,"tr",15),n.YNc(28,Y,1,7,"tr",16),n.qZA(),n.qZA(),n.qZA(),n.YNc(29,K,3,3,"app-alert",17),n.YNc(30,V,3,3,"app-alert",17)),2&e&&(n.Q6J("hidden",!t.dataSource||0===t.dataSource.filteredData.length||0===t.facilities.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(25),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!t.dataSource&&0===t.dataSource.filteredData.length&&0!==t.facilities.length),n.xp6(1),n.Q6J("ngIf",0===t.facilities.length))},directives:[c.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,o.ev,l.oG,r.nU,h.W,b,o.XQ,o.Gk,w.YH,A.rH,k.w],pipes:[C.X$,T.J,E],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),e}()},54930:function(e,t,i){"use strict";i.d(t,{i:function(){return k}});var n=i(31572),r=i(88426),o=i(61511),a=i(15980),s=i(81391),c=i(36922),u=i(43691),l=i(8055),h=i(48160),d=i(44385),f=i(52984),p=i(51392);function g(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.ALo(2,"groupSyncToolTip"),n.TgZ(3,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onSyncDetail()}),n.ALo(4,"groupSyncIcon"),n.TgZ(5,"mat-icon"),n.ALo(6,"groupSyncIconColor"),n._uU(7),n.ALo(8,"groupSyncIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("matTooltipPosition","above")("matTooltip",n.lcZ(1,7,n.lcZ(2,9,r.group))),n.xp6(3),n.Q6J("disabled","sync_disabled"===n.lcZ(4,11,r.group)),n.xp6(2),n.Tol(n.lcZ(6,13,r.group)),n.xp6(2),n.hij(" ",n.lcZ(8,15,r.group)," ")}}function v(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onMoveGroup()}),n.TgZ(3,"mat-icon"),n._uU(4,"arrow_right_alt"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",r.disabled)}}function m(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",5),n.ALo(1,"translate"),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onChangeNameDescription()}),n.TgZ(3,"mat-icon"),n._uU(4,"text_format"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),n.Q6J("matTooltipPosition","above"),n.xp6(2),n.Q6J("disabled",r.disabled)}}function y(e,t){if(1&e&&(n.TgZ(0,"div",2),n.TgZ(1,"button",3),n.ALo(2,"translate"),n.TgZ(3,"mat-icon"),n._uU(4," file_copy "),n.qZA(),n.qZA(),n.YNc(5,g,9,17,"span",4),n.YNc(6,v,5,5,"span",4),n.YNc(7,m,5,5,"span",4),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.Q6J("cdkCopyToClipboard",i.group.name)("matTooltipPosition","above"),n.xp6(4),n.Q6J("ngIf",i.syncAuth),n.xp6(1),n.Q6J("ngIf",i.moveAuth),n.xp6(1),n.Q6J("ngIf",i.editAuth)}}function _(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onSyncDetail()}),n.ALo(1,"groupSyncIcon"),n.TgZ(2,"mat-icon"),n.ALo(3,"groupSyncIconColor"),n._uU(4),n.ALo(5,"groupSyncIcon"),n.qZA(),n.TgZ(6,"span"),n._uU(7),n.ALo(8,"translate"),n.ALo(9,"groupSyncToolTip"),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("disabled","sync_disabled"===n.lcZ(1,6,r.group)),n.xp6(2),n.Tol(n.lcZ(3,8,r.group)),n.xp6(2),n.hij(" ",n.lcZ(5,10,r.group)," "),n.xp6(3),n.Oqu(n.lcZ(8,12,n.lcZ(9,14,r.group)))}}function b(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onMoveGroup()}),n.TgZ(1,"mat-icon"),n._uU(2,"arrow_right_alt"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("disabled",r.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function w(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM(i),n.oxw(2).onChangeNameDescription()}),n.TgZ(1,"mat-icon"),n._uU(2,"text_format"),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("disabled",r.disabled),n.xp6(4),n.Oqu(n.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function A(e,t){if(1&e&&(n.TgZ(0,"div"),n.TgZ(1,"button",7),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,8),n.TgZ(6,"button",9),n.TgZ(7,"mat-icon"),n._uU(8," file_copy "),n.qZA(),n.TgZ(9,"span"),n._uU(10),n.ALo(11,"translate"),n.qZA(),n.qZA(),n.YNc(12,_,10,16,"button",10),n.YNc(13,b,6,4,"button",10),n.YNc(14,w,6,4,"button",10),n.qZA(),n.qZA()),2&e){var i=n.MAs(5),r=n.oxw();n.xp6(1),n.Q6J("mat-menu-trigger-for",i),n.xp6(5),n.Q6J("cdkCopyToClipboard",r.group.name),n.xp6(4),n.Oqu(n.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),n.xp6(2),n.Q6J("ngIf",r.syncAuth),n.xp6(1),n.Q6J("ngIf",r.moveAuth),n.xp6(1),n.Q6J("ngIf",r.editAuth)}}var k=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authResolver=t,this.disabled=!1,this.moveGroup=new n.vpe,this.syncGroup=new n.vpe,this.changeNameDescription=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){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])}},{key:"onMoveGroup",value:function(){this.moveGroup.emit()}},{key:"onSyncDetail",value:function(){this.syncGroup.emit()}},{key:"onChangeNameDescription",value:function(){this.changeNameDescription.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.x4))},e.\u0275cmp=n.Xpm({type:e,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(e,t){1&e&&(n.YNc(0,y,8,8,"div",0),n.YNc(1,A,15,8,"div",1)),2&e&&(n.Q6J("ngIf",t.displayButtons),n.xp6(1),n.Q6J("ngIf",!t.displayButtons))},directives:[o.O5,a.lW,s.i3,c.gM,u.Hw,l.p6,l.VK,l.OP],pipes:[h.X$,d.r,f.J,p.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),e}()},46837:function(e,t,i){"use strict";i.d(t,{x:function(){return g}});var n=i(31572),r=i(84140),o=i(61189),a=i(84608),s=i(61511),c=i(36922),u=i(43691),l=i(48160);function h(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(i),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",4),n._uU(3,"check_circle_outline"),n.qZA(),n.qZA()}2&e&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function d(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",3),n.NdJ("click",function(){return n.CHM(i),n.oxw().changeStatus()}),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",5),n._uU(3,"block"),n.qZA(),n.qZA()}2&e&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function f(e,t){if(1&e&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",7),n._uU(3,"report"),n.qZA(),n.qZA()),2&e){var i=n.oxw();n.hYB("matTooltip","",n.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",i.failureCause,"")}}function p(e,t){1&e&&(n.TgZ(0,"span",6),n.ALo(1,"translate"),n.TgZ(2,"mat-icon",8),n._uU(3,"autorenew"),n.qZA(),n.qZA()),2&e&&n.s9C("matTooltip",n.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}var g=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.status="",this.statusChange=new n.vpe}return _createClass(e,[{key:"changeStatus",value:function(){var e=this,t=(0,r.kZ)();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(o.Qu,t).afterClosed().subscribe(function(t){t&&e.statusChange.emit()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(a.uw))},e.\u0275cmp=n.Xpm({type:e,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.YNc(1,h,4,3,"span",1),n.YNc(2,d,4,3,"span",1),n.YNc(3,f,4,4,"span",2),n.YNc(4,p,4,3,"span",2),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf","ACTIVE"===t.status),n.xp6(1),n.Q6J("ngIf","INACTIVE"===t.status),n.xp6(1),n.Q6J("ngIf","FAILED"===t.status),n.xp6(1),n.Q6J("ngIf","PROCESSING"===t.status))},directives:[s.O5,c.gM,u.Hw],pipes:[l.X$],styles:[""]}),e}()},37665:function(e,t,i){"use strict";i.d(t,{h:function(){return s}});var n=i(31572),r=i(84140),o=i(44973),a=i(48160),s=function(){var e=function(){function e(){_classCallCheck(this,e),this.groupSelected=new n.vpe,this.disableAutoSelect=!1,this.nameFunction=function(e){return e.name}}return _createClass(e,[{key:"ngOnInit",value:function(){this.groups=this.groups.sort(r.aC)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup"},outputs:{groupSelected:"groupSelected"},decls:4,vars:14,consts:[[1,"long-input",3,"entities","entity","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(e,t){var i;(1&e&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(e){return t.groupSelected.emit(e)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&e)&&n.Q6J("entities",t.groups)("entity",null!==(i=t.firstSelectedGroup)&&void 0!==i?i:null)("disableAutoSelect",t.disableAutoSelect)("mainTextFunction",t.nameFunction)("searchFunction",t.nameFunction)("selectPlaceholder",n.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",n.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",n.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))},directives:[o.i],pipes:[a.X$],styles:[""]}),e}()},78364:function(e,t,i){"use strict";i.d(t,{W:function(){return ie}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(33642),c=i(84140),u=i(61189),l=i(88426),h=i(61511),d=i(84608),f=i(82819),p=i(29236),g=i(36922),v=i(72953),m=i(46837),y=i(15980),_=i(43691),b=i(54930),w=i(84534),A=i(57629),k=i(39571),C=i(48160),T=i(74842),E=i(37043),S=i(58506),I=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=e.attributes.find(function(e){return"groupMembershipExpiration"===e.baseFriendlyName});return t&&t.value?t.value:"Never"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"groupExpiration",type:e,pure:!0}),e}();function R(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw(2);return e?t.masterToggle():null}),n.qZA()}if(2&e){var r=n.oxw(2);n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function x(e,t){if(1&e&&(n.TgZ(0,"th",21),n.YNc(1,R,1,3,"mat-checkbox",22),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Q6J("ngIf",!i.disableHeadCheckbox)}}function O(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"span",25),n.ALo(2,"translate"),n.TgZ(3,"mat-checkbox",26),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.itemSelectionToggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.s9C("matTooltip",n.lcZ(2,6,o.getCheckboxTooltipMessage(r))),n.Q6J("matTooltipPosition","above")("matTooltipDisabled",!o.disableSelect(r)),n.xp6(2),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))("disabled","members"===r.name&&o.disableMembers||o.disableSelect(r))}}function P(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")))}function D(e,t){if(1&e&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function M(e,t){1&e&&n._UZ(0,"th",21)}function L(e,t){if(1&e&&(n.TgZ(0,"td",28),n._UZ(1,"perun-web-apps-recently-viewed-icon",29),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function N(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")))}function z(e,t){if(1&e&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Oqu(r.voNames.get(i.voId))}}function Z(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")))}function B(e,t){if(1&e&&(n.TgZ(0,"td",28),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.name)}}function F(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function q(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",30),n.TgZ(1,"perun-web-apps-group-resource-status",31),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(i),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("theme","resource-theme")("groupId",r.id)("resourceId",o.resourceId)("failureCause",r.failureCause)("status",r.status)}}function H(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")))}function U(e,t){if(1&e&&(n.TgZ(0,"td",28),n.TgZ(1,"i",32),n.ALo(2,"memberStatusIconColor"),n.TgZ(3,"span"),n._uU(4),n.ALo(5,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.getStatusAttribute(i)),""),n.s9C("matTooltip",r.getStatusAttribute(i)),n.xp6(3),n.hij(" ",n.lcZ(5,7,r.getStatusAttribute(i))," ")}}function G(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")))}function j(e,t){if(1&e&&(n.TgZ(0,"td",30),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.description)}}function Y(e,t){1&e&&(n.TgZ(0,"th",27),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")))}function K(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"button",34),n.NdJ("click",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw().changeExpiration(e)})("mouseenter",function(){return n.CHM(i),n.oxw(2).disabledRouting=!0})("mouseleave",function(){n.CHM(i);var e=n.oxw(2);return e.disabledRouting=e.disableRouting}),n.TgZ(1,"mat-icon"),n._uU(2,"edit"),n.qZA(),n.qZA()}}function V(e,t){if(1&e&&(n.TgZ(0,"td",30),n._uU(1),n.ALo(2,"parseDate"),n.ALo(3,"groupExpiration"),n.YNc(4,K,3,0,"button",33),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.hij(" ",n.lcZ(2,2,n.lcZ(3,4,i))," "),n.xp6(3),n.Q6J("ngIf",r.canManageGroup(i))}}function J(e,t){1&e&&n._UZ(0,"th",21)}function Q(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",28),n.TgZ(1,"perun-web-apps-group-menu",35),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var e=n.oxw();return e.disabledRouting=e.disableRouting})("moveGroup",function(){var e=n.CHM(i).$implicit;return n.oxw().onMoveGroup(e)})("changeNameDescription",function(){var e=n.CHM(i).$implicit;return n.oxw().onChangeNameDescription(e)})("syncGroup",function(){var e=n.CHM(i).$implicit;return n.oxw().onSyncDetail(e)}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("disabled","members"===r.name)("displayButtons",o.displayButtons)("group",r)}}function W(e,t){1&e&&n._UZ(0,"tr",36)}var X=function(e,t){return["/organizations",e,"groups",t]};function $(e,t){if(1&e&&n._UZ(0,"tr",37),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting&&!r.groupsToDisable.has(i.id))("disable-outline",r.disabledRouting||r.groupsToDisable.has(i.id)),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.WLB(6,X,i.voId,i.id))("routerLink",r.disabledRouting||r.groupsToDisable.has(i.id)?null:n.WLB(9,X,i.voId,i.id))}}function ee(e,t){1&e&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function te(e,t){1&e&&(n.TgZ(0,"app-alert",38),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var ie=function(){var e=function(){function e(t,i,r,o){var s=this;_classCallCheck(this,e),this.dialog=t,this.authResolver=i,this.voService=r,this.tableCheckbox=o,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new n.vpe,this.groups=[],this.selection=new a.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","name","status","groupStatus","description","expiration","menu"],this.groupsToDisable=new Set,this.pageSize=10,this.filter="",this.disableRouting=!1,this.pageSizeOptions=c.f7,this.recentIds=[],this.resourceId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=function(e){return!("members"===e.name&&s.disableMembers||s.disableSelect(e))}}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>800}},{key:"ngOnChanges",value:function(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}},{key:"checkIfHasMembersGroup",value:function(){var e,t=_createForOfIteratorHelper(this.groups);try{for(t.s();!(e=t.n()).done;){if("members"===e.value.name)return!0}}catch(i){t.e(i)}finally{t.f()}return!1}},{key:"getDataForColumn",value:function(e,t,i){switch(t){case"id":return e.id.toString();case"vo":return i.voNames.get(e.voId);case"name":return e.name;case"description":return e.description;case"expiration":var n=(0,c.x2)(e);return(0,c.sG)(n);case"recent":return"";case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}},{key:"getSortDataForColumn",value:function(e,t,i){switch(t){case"id":return e.id.toString();case"vo":return i.voNames.get(e.voId);case"name":return e.name;case"description":return e.description;case"expiration":var n=(0,c.x2)(e);return n&&"never"!==n.toLowerCase()?(0,h.p6)(n,"yyyy.MM.dd","en"):n;case"recent":return i.recentIds&&i.recentIds.indexOf(e.id)>-1?"#".repeat(i.recentIds.indexOf(e.id)):e.name;case"status":return e.status;default:return e[t]}}},{key:"exportData",value:function(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,c.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e,!0)},this.dataSource.sortData=function(t,i){return(0,c.pR)(t,i,e.getSortDataForColumn,e)}),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"disableSelect",value:function(e){return this.disableGroups&&(this.groupsToDisable.has(e.id)||this.isSynchronized(e))}},{key:"ngAfterViewInit",value:function(){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(function(e){return"id"!==e}))}},{key:"onMoveGroup",value:function(e){this.moveGroup.emit(e)}},{key:"onSyncDetail",value:function(e){var t=(0,c.kZ)();t.data={groupId:e.id,theme:this.theme},this.dialog.open(u.Bp,t)}},{key:"onChangeNameDescription",value:function(e){var t=this,i=(0,c.kZ)();i.data={theme:"group-theme",group:e,dialogType:u.Eg.GROUP},this.dialog.open(u.rd,i).afterClosed().subscribe(function(e){e&&t.refreshTable.emit()})}},{key:"setAuth",value:function(){var e=this;return"group-subgroups"===this.authType?this.selection.selected.reduce(function(t,i){return t&&e.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[i])},!0):"group-relations"===this.authType?this.selection.selected.reduce(function(t,i){return t&&e.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[e.parentGroup,i])},!0):"vo-groups"===this.authType?this.selection.selected.reduce(function(t,i){return t&&e.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[e.vo,i])},!0):"member-groups"===this.authType?this.selection.selected.reduce(function(t,i){return t&&e.authResolver.isAuthorized("removeMember_Member_List_policy",[i])},!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce(function(t,i){return t&&e.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[e.vo,i])},!0):void 0}},{key:"itemSelectionToggle",value:function(e){this.selection.toggle(e),this.removeAuth=this.setAuth()}},{key:"isSynchronized",value:function(e){return!!e.attributes&&e.attributes.some(function(e){return"synchronizationEnabled"===e.friendlyName&&null!==e.value&&"true"===e.value.toString()})}},{key:"getCheckboxTooltipMessage",value:function(e){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(e)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}},{key:"updateVoNames",value:function(){var e=this;this.displayedColumns.includes("vo")&&(this.groups.forEach(function(t){e.voIds.has(t.voId)||e.voIds.add(t.voId)}),this.voIds.size>0&&this.voService.getVosByIds(_toConsumableArray(this.voIds)).subscribe(function(t){t.forEach(function(t){e.voNames.set(t.id,t.name)})}))}},{key:"changeExpiration",value:function(e){var t=this,i=e.attributes.find(function(e){return"groupMembershipExpiration"===e.baseFriendlyName}),n=(0,c.kZ)();n.width="400px",n.data={memberId:this.memberId,groupId:e.id,expirationAttr:i,mode:"group",status:this.memberGroupStatus},this.dialog.open(u.u3,n).afterClosed().subscribe(function(e){e&&t.refreshTable.emit()})}},{key:"canManageGroup",value:function(e){return this.authResolver.isThisGroupAdmin(e.id)||this.authResolver.isThisVoAdmin(e.voId)}},{key:"getStatusAttribute",value:function(e){return e.attributes.find(function(e){return"groupStatus"===e.baseFriendlyName}).value.toString()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(d.uw),n.Y36(l.x4),n.Y36(s.YF),n.Y36(l.UA))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(c.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},hostBindings:function(e,t){1&e&&n.NdJ("resize",function(e){return t.shouldHideButtons(e)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisable:"groupsToDisable",pageSize:"pageSize",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId"},outputs:{moveGroup:"moveGroup",page:"page",refreshTable:"refreshTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,x,2,1,"th",4),n.YNc(5,O,4,8,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,P,3,3,"th",7),n.YNc(8,D,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,M,1,0,"th",4),n.YNc(11,L,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,N,3,3,"th",7),n.YNc(14,z,2,1,"td",5),n.BQk(),n.ynx(15,11),n.YNc(16,Z,3,3,"th",7),n.YNc(17,B,2,1,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,F,3,3,"th",7),n.YNc(20,q,2,5,"td",13),n.BQk(),n.ynx(21,14),n.YNc(22,H,3,3,"th",7),n.YNc(23,U,6,9,"td",9),n.BQk(),n.ynx(24,15),n.YNc(25,G,3,3,"th",7),n.YNc(26,j,2,1,"td",13),n.BQk(),n.ynx(27,16),n.YNc(28,Y,3,3,"th",7),n.YNc(29,V,5,6,"td",13),n.BQk(),n.ynx(30,17),n.YNc(31,J,1,0,"th",4),n.YNc(32,Q,2,3,"td",9),n.BQk(),n.YNc(33,W,1,0,"tr",18),n.YNc(34,$,1,12,"tr",19),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,ee,3,3,"app-alert",20),n.YNc(36,te,3,3,"app-alert",20)),2&e&&(n.Q6J("hidden",0===t.groups.length||!t.dataSource||0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.groups.length),n.xp6(1),n.Q6J("ngIf",!!t.dataSource&&0===t.dataSource.filteredData.length&&0!==t.groups.length))},directives:[f.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,h.O5,o.ge,p.oG,o.ev,g.gM,r.nU,v.W,m.x,y.lW,_.Hw,b.i,o.XQ,o.Gk,w.YH,A.rH,k.w],pipes:[C.X$,T.u,E.f,S.M,I],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),e}()},11441:function(e,t,i){"use strict";i.d(t,{I:function(){return O}});var n=i(31572),r=i(91010),o=i(71709),a=i(4230),s=i(14732),c=i(84140),u=i(61189),l=i(88426),h=i(84608),d=i(61511),f=i(4253),p=i(57629),g=i(15980),v=i(36922),m=i(54930),y=i(29236),_=i(43691),b=i(39571),w=i(48160),A=["scrollViewport"];function k(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-checkbox",19),n.NdJ("change",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw(2).itemSelectionToggle(e)}),n.qZA()}if(2&e){var r=n.oxw().$implicit,o=n.oxw(2);n.Q6J("disabled","members"===r.fullName)("checked",o.selection.isSelected(r))("indeterminate",o.descendantsPartiallySelected(r))}}function C(e,t){if(1&e&&(n.TgZ(0,"mat-icon",20),n._uU(1),n.qZA()),2&e){var i=n.oxw().$implicit,r=n.oxw(2);n.xp6(1),n.hij(" ",r.treeControl.isExpanded(i)?"expand_more":"chevron_right"," ")}}function T(e,t){if(1&e&&(n.TgZ(0,"span",21),n._uU(1),n.qZA()),2&e){var i=n.oxw().$implicit;n.xp6(1),n.hij(" #",i.id," ")}}var E=function(e,t){return["/organizations",e,"groups",t]};function S(e,t){if(1&e){var i=n.EpF();n.ynx(0),n.TgZ(1,"div",6),n.YNc(2,k,1,3,"mat-checkbox",7),n.TgZ(3,"a",8),n.TgZ(4,"button",9),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw(2).disableRouting=!0})("mouseleave",function(){return n.CHM(i),n.oxw(2).disableRouting=!1})("click",function(){var e=n.CHM(i).$implicit;return n.oxw(2).treeControl.toggle(e)}),n.YNc(5,C,2,1,"mat-icon",10),n.qZA(),n.TgZ(6,"div",11),n.TgZ(7,"span",12),n._uU(8),n.qZA(),n.YNc(9,T,2,1,"span",13),n.qZA(),n.TgZ(10,"div",14,15),n.TgZ(12,"span",16),n._uU(13),n.qZA(),n.qZA(),n.qZA(),n.TgZ(14,"div",17),n.TgZ(15,"perun-web-apps-group-menu",18),n.NdJ("moveGroup",function(){var e=n.CHM(i).$implicit;return n.oxw(2).onMoveGroup(e)})("syncGroup",function(){var e=n.CHM(i).$implicit;return n.oxw(2).onSyncDetail(e)})("changeNameDescription",function(){var e=n.CHM(i).$implicit;return n.oxw(2).onChangeNameDescription(e)}),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&e){var r=t.$implicit,o=n.oxw(2);n.xp6(1),n.Udp("padding-left",24*r.level+"px"),n.xp6(1),n.Q6J("ngIf",!o.hideCheckbox),n.xp6(1),n.Q6J("routerLink",o.disableRouting?null:n.WLB(14,E,r.voId,r.id)),n.xp6(1),n.Q6J("disabled",!r.expandable),n.uIk("aria-label","toggle "+r.name),n.xp6(1),n.Q6J("ngIf",r.expandable),n.xp6(3),n.hij(" ",r.name," "),n.xp6(1),n.Q6J("ngIf",o.authResolver.isPerunAdminOrObserver()),n.xp6(3),n.s9C("matTooltip",r.description),n.xp6(1),n.hij(" ",r.description," "),n.xp6(2),n.Q6J("disabled","members"===r.fullName)("displayButtons",o.displayButtons)("group",r)}}var I=function(e){return{height:e}};function R(e,t){if(1&e&&(n.TgZ(0,"div",2),n.TgZ(1,"cdk-virtual-scroll-viewport",3,4),n.YNc(3,S,16,17,"ng-container",5),n.qZA(),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",n.VKq(4,I,i.getTreeViewHeight())),n.xp6(2),n.Q6J("cdkVirtualForOf",i.dataSource)}}function x(e,t){1&e&&(n.TgZ(0,"app-alert",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}var O=function(){var e=function(){function e(t,i,s){_classCallCheck(this,e),this.cd=t,this.dialog=i,this.authResolver=s,this.transformer=function(e,t){return{expandable:!!e.children&&e.children.length>0,name:e.shortName,fullName:e.name,parentGroupId:e.parentGroupId,level:t,id:e.id,voId:e.voId,attributes:e.attributes,beanName:e.beanName,description:e.description}},this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new n.vpe,this.refreshTable=new n.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new a.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new o.C2(function(e){return e.level},function(e){return e.expandable}),this.treeFlattener=new r.JZ(this.transformer,function(e){return e.level},function(e){return e.expandable},function(e){return e.children}),this.dataSource=new r.kc(this.treeControl,this.treeFlattener),this.hasChild=function(e,t){return t.expandable},this.getLevel=function(e){return e.level}}return _createClass(e,[{key:"shouldHideButtons",value:function(){this.displayButtons=window.innerWidth>600}},{key:"ngOnChanges",value:function(){var e=this;if(this.expandAll){this.filteredGroups=this.groups.filter(function(t){var i,n;return(null===(i=t.name)||void 0===i?void 0:i.toLowerCase().includes(e.filterValue.toLowerCase()))||(null===(n=t.description)||void 0===n?void 0:n.toLowerCase().includes(e.filterValue.toLowerCase()))||t.id.toString().includes(e.filterValue.toLowerCase())||t.uuid.toLowerCase().includes(e.filterValue.toLowerCase())});var t,i=_createForOfIteratorHelper(this.filteredGroups);try{for(i.s();!(t=i.n()).done;){var n=t.value;n.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,c.oU)(n.parentGroupId,this.groups)))}}catch(r){i.e(r)}finally{i.f()}}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}},{key:"onSyncDetail",value:function(e){var t=(0,c.kZ)();t.data={groupId:e.id,theme:this.theme},this.dialog.open(u.Bp,t)}},{key:"onChangeNameDescription",value:function(e){var t=this,i=(0,c.kZ)();i.data={theme:"group-theme",group:e,dialogType:u.Eg.GROUP},this.dialog.open(u.rd,i).afterClosed().subscribe(function(e){e&&t.refreshTable.emit()})}},{key:"createGroupTrees",value:function(e){var t,i=new Map,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.set(r.id,new s.m(r))}}catch(c){n.e(c)}finally{n.f()}var o=new Set;i.forEach(function(e,t,i){var n=i.get(e.parentGroupId);void 0!==n&&(n.addChild(e),i.set(e.parentGroupId,n)),null!==e.parentGroupId&&void 0===n&&o.add(e.id)});var a=[];i.forEach(function(e){(null===e.parentGroupId||o.has(e.id))&&a.push(e)}),this.dataSource.data=a,this.cd.detectChanges()}},{key:"getParentNode",value:function(e){var t=this.getLevel(e);if(t<1)return null;for(var i=this.treeControl.dataNodes.indexOf(e)-1;i>=0;i--){var n=this.treeControl.dataNodes[i];if(this.getLevel(n)_boolean_policy",[e.vo,i])}:function(t,i){return t&&e.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[i])},!0)}},{key:"onMoveGroup",value:function(e){this.moveGroup.emit(e)}},{key:"getTreeViewHeight",value:function(){var e=0;this.scrollViewport&&(e=this.scrollViewport.getDataLength());var t=48*e;return t>672&&(t=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),t+"px"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.sBO),n.Y36(h.uw),n.Y36(l.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(A,5),2&e)&&(n.iGM(i=n.CRH())&&(t.scrollViewport=i.first))},hostBindings:function(e,t){1&e&&n.NdJ("resize",function(e){return t.shouldHideButtons(e)},!1,n.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[n.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(e,t){1&e&&(n.YNc(0,R,4,6,"div",0),n.YNc(1,x,3,3,"app-alert",1)),2&e&&(n.Q6J("ngIf",0!==t.filteredGroups.length),n.xp6(1),n.Q6J("ngIf",0===t.filteredGroups.length))},directives:[d.O5,f.N7,f.xd,d.PC,f.x0,p.yS,g.lW,v.gM,m.i,y.oG,_.Hw,b.w],pipes:[w.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}.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:rgba(0,0,0,.05)}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),e}()},66438:function(e,t,i){"use strict";i.d(t,{X:function(){return g}});var n=i(33642),r=i(88426),o=i(31572),a=i(48160),s=i(61511),c=i(8055),u=i(15980),l=i(43691),h=i(36922),d=function(e){return{color:e}};function f(e,t){if(1&e&&(o.TgZ(0,"button",8),o.ALo(1,"translate"),o.TgZ(2,"mat-icon",4),o._uU(3," apps "),o.qZA(),o.qZA()),2&e){var i=o.oxw(),n=o.MAs(2);o.Q6J("matMenuTriggerFor",n)("matTooltip",o.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),o.xp6(2),o.Q6J("ngStyle",o.VKq(5,d,i.iconColor))}}function p(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"button",2),o.NdJ("click",function(){return o.CHM(i),o.oxw().onLogOut()}),o._uU(1),o.ALo(2,"translate"),o.qZA()}2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"NAV.LOGOUT")))}var g=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.authService=t,this.authzResolverService=i,this.notificator=n,this.translateService=r}return _createClass(e,[{key:"redirectToUrl",value:function(){window.open(this.url,"_blank")}},{key:"onLogOut",value:function(){this.authService.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(r.e8),o.Y36(n.Ct),o.Y36(r.V6),o.Y36(a.sK))},e.\u0275cmp=o.Xpm({type:e,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&&(o.YNc(0,f,4,7,"button",0),o.TgZ(1,"mat-menu",null,1),o.TgZ(3,"button",2),o.NdJ("click",function(){return t.redirectToUrl()}),o.TgZ(4,"span"),o._uU(5),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"button",3),o.TgZ(7,"mat-icon",4),o._uU(8," person "),o.qZA(),o.TgZ(9,"span",5),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"mat-menu",null,6),o.YNc(13,p,3,3,"button",7),o.qZA()),2&e){var i=o.MAs(12);o.Q6J("ngIf",t.url),o.xp6(5),o.Oqu(t.label),o.xp6(1),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.Q6J("ngStyle",o.VKq(11,d,t.iconColor)),o.xp6(2),o.Q6J("ngStyle",o.VKq(13,d,t.textColor)),o.xp6(1),o.xDo(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),o.xp6(3),o.Q6J("ngIf",t.logoutEnabled)}},directives:[s.O5,c.VK,c.OP,u.lW,c.p6,l.Hw,s.PC,h.gM],pipes:[a.X$],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),e}()},19139:function(e,t,i){"use strict";i.d(t,{L:function(){return d}});var n=i(31572),r=i(16073),o=i(66283),a=i(61511),s=i(80340),c=i(84534),u=i(48160);function l(e,t){if(1&e&&(n._UZ(0,"input",3),n.ALo(1,"translate")),2&e){var i=n.oxw();n.s9C("placeholder",n.lcZ(1,2,i.placeholder)),n.Q6J("formControl",i.formControl)}}function h(e,t){if(1&e&&(n._UZ(0,"input",4),n.ALo(1,"translate")),2&e){var i=n.oxw();n.s9C("placeholder",n.lcZ(1,2,i.placeholder)),n.Q6J("formControl",i.formControl)}}var d=function(){var e=function(){function e(){_classCallCheck(this,e),this.filter=new n.vpe,this.autoFocus=!1,this.formControl=new r.NI}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.formControl.valueChanges.subscribe(function(t){var i=t.trim();i=i.toLowerCase(),e.filter.emit(i)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(n.TgZ(0,"mat-form-field",0),n.YNc(1,l,2,4,"input",1),n.YNc(2,h,2,4,"input",2),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",t.autoFocus),n.xp6(1),n.Q6J("ngIf",!t.autoFocus))},directives:[o.KE,a.O5,s.Nt,r.Fj,c.hT,r.JJ,r.oH],pipes:[u.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),e}()},91779:function(e,t,i){"use strict";i.d(t,{m:function(){return $}});var n=i(31572),r=i(58623),o=i(84140),a=i(61189),s=i(88426),c=i(31906),u=i(66599),l=i(84608),h=i(82819),d=i(61511),f=i(67033),p=i(67806),g=i(29236),v=i(43691),m=i(36922),y=i(84534),_=i(57629),b=i(39571),w=i(48160),A=i(22196),k=i(74842),C=i(91322),T=i(37043),E=i(99197),S=i(63720),I=i(1157);function R(e,t){1&e&&(n.TgZ(0,"div",20),n._UZ(1,"mat-spinner",21),n.qZA())}function x(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw();return e?t.masterToggle():null}),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function O(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function P(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function D(e,t){if(1&e&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function M(e,t){1&e&&n._UZ(0,"th",26)}function L(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(e){n.CHM(i);var t=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e,t)}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&e&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function N(e,t){if(1&e&&(n.TgZ(0,"td",27),n.YNc(1,L,3,3,"mat-icon",28),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==i.membershipType)}}function z(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function Z(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.user))}}function B(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function F(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){var t=n.CHM(i).$implicit;return n.oxw().changeStatus(e,t)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.status),""),n.s9C("matTooltip",n.xi3(3,7,r,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.status)," ")}}function q(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function H(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){var t=n.CHM(i).$implicit;return n.oxw().changeStatus(e,t)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,r,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.groupStatus)," ")}}function U(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function G(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function j(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function K(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function V(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function J(e,t){1&e&&n._UZ(0,"tr",31)}var Q=function(e,t){return["/organizations",e,"members",t]};function W(e,t){if(1&e&&n._UZ(0,"tr",32),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",r.dataSource.routeAuth)("italic_font","INDIRECT"===i.membershipType)("disable-outline",!r.dataSource.routeAuth),n.Q6J("perunWebAppsMiddleClickRouterLink",r.dataSource.routeAuth?n.WLB(8,Q,i.voId,i.id):null)("routerLink",r.dataSource.routeAuth?n.WLB(11,Q,i.voId,i.id):null)}}function X(e,t){1&e&&(n.TgZ(0,"app-alert",33),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}var $=function(){var e=function(){function e(t,i,r,a){_classCallCheck(this,e),this.dialog=t,this.authResolver=i,this.tableCheckbox=r,this.dynamicPaginatingService=a,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.pageSize=10,this.selectedGroupStatuses=[],this.page=new n.vpe,this.exporting=!1,this.pageSizeOptions=o.f7}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.sort.sortChange.subscribe(function(){return e.child.paginator.pageIndex=0}),(0,c.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,u.b)(function(){return e.loadMembersPage()})).subscribe()}},{key:"ngOnInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new s.Ct(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.pageSize,"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}},{key:"ngOnChanges",value:function(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}},{key:"masterToggle",value:function(){var e=this;this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(function(t){return e.selection.select(t)})}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.pageSize}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"changeStatus",value:function(e,t){var i=this;if(e.stopPropagation(),"INVALID"===t.status){var n=(0,o.kZ)();n.width="500px",n.data={member:t},this.dialog.open(a.pf,n).afterClosed().subscribe(function(e){e&&i.loadMembersPage()})}}},{key:"loadMembersPage",value:function(){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)}},{key:"exportData",value:function(e){(0,o.O6)((0,o.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"getExportDataForColumn",value:function(e,t){switch(t){case"id":return e.id.toString();case"fullName":return e.user?(0,o.bD)(e.user):"";case"status":return e.status;case"groupStatus":return e.groupStatus;case"organization":return(0,o.Gw)(e);case"email":return(0,o.g$)(e);case"logins":return(0,o.lt)(e);default:return""}}},{key:"viewMemberGroupTree",value:function(e,t){e.stopPropagation();var i=(0,o.kZ)();i.width="800px",i.data={member:t,groupId:this.groupId},this.dialog.open(a.jd,i)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(l.uw),n.Y36(s.x4),n.Y36(s.UA),n.Y36(s.ly))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(o.l9,7),n.Gf(r.YE,5)),2&e)&&(n.iGM(i=n.CRH())&&(t.child=i.first),n.iGM(i=n.CRH())&&(t.sort=i.first))},inputs:{selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",updateTable:"updateTable"},outputs:{page:"page"},features:[n.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["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"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.ALo(1,"async"),n.TgZ(2,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.YNc(3,R,2,0,"div",2),n.ALo(4,"async"),n.TgZ(5,"table",3),n.ynx(6,4),n.YNc(7,x,2,3,"th",5),n.YNc(8,O,2,2,"td",6),n.BQk(),n.ynx(9,7),n.YNc(10,P,3,3,"th",8),n.YNc(11,D,2,1,"td",6),n.BQk(),n.ynx(12,9),n.YNc(13,M,1,0,"th",8),n.YNc(14,N,2,1,"td",10),n.BQk(),n.ynx(15,11),n.YNc(16,z,3,3,"th",8),n.YNc(17,Z,3,3,"td",10),n.BQk(),n.ynx(18,12),n.YNc(19,B,3,3,"th",5),n.YNc(20,F,7,12,"td",10),n.BQk(),n.ynx(21,13),n.YNc(22,q,3,3,"th",5),n.YNc(23,H,7,12,"td",10),n.BQk(),n.ynx(24,14),n.YNc(25,U,3,3,"th",5),n.YNc(26,G,3,3,"td",10),n.BQk(),n.ynx(27,15),n.YNc(28,j,3,3,"th",5),n.YNc(29,Y,3,3,"td",10),n.BQk(),n.ynx(30,16),n.YNc(31,K,3,3,"th",5),n.YNc(32,V,3,3,"td",10),n.BQk(),n.YNc(33,J,1,0,"tr",17),n.YNc(34,W,1,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,X,3,4,"app-alert",19),n.ALo(36,"async")),2&e&&(n.Q6J("hidden",0===t.dataSource.allMemberCount&&!1===n.lcZ(1,9,t.dataSource.loading$)),n.xp6(2),n.Q6J("dataLength",t.dataSource.allMemberCount)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,11,t.dataSource.loading$)),n.xp6(2),n.Q6J("dataSource",t.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.allMemberCount&&!1===n.lcZ(36,13,t.dataSource.loading$)))},directives:[h.l,d.O5,f.BZ,r.YE,f.w1,f.fO,f.Dz,f.as,f.nj,p.$g,f.ge,g.oG,f.ev,r.nU,v.Hw,m.gM,f.XQ,f.Gk,y.YH,_.rH,b.w],pipes:[d.Ov,w.X$,A.d,k.u,C.i,T.f,E.M,S.D,I.p],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.italic_font[_ngcontent-%COMP%]{font-style:italic}"]}),e}()},4252:function(e,t,i){"use strict";i.d(t,{O:function(){return ee}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),c=i(61189),u=i(88426),l=i(84608),h=i(57629),d=i(82819),f=i(61511),p=i(29236),g=i(36922),v=i(43691),m=i(84534),y=i(39571),_=i(48160),b=i(22196),w=i(74842),A=i(91322),k=i(37043),C=i(99197),T=i(63720),E=i(1157);function S(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"th",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw();return e?t.masterToggle():null}),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function I(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",24),n.TgZ(1,"mat-checkbox",25),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.ALo(2,"translate"),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))("disabled","DIRECT"!==r.membershipType)("matTooltip","DIRECT"!==r.membershipType?n.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function R(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ID")))}function x(e,t){if(1&e&&(n.TgZ(0,"td",24),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function O(e,t){1&e&&n._UZ(0,"th",26)}function P(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"mat-icon",29),n.NdJ("click",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw().viewMemberGroupTree(e)})("mouseenter",function(){return n.CHM(i),n.oxw(2).disableRouting=!0})("mouseleave",function(){n.CHM(i);var e=n.oxw(2);return e.disableRouting=e.disabledRouting}),n.ALo(1,"translate"),n._uU(2,"transfer_within_a_station"),n.qZA()}2&e&&n.Q6J("matTooltip",n.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function D(e,t){if(1&e&&(n.TgZ(0,"td",27),n.YNc(1,P,3,3,"mat-icon",28),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("ngIf","DIRECT"!==i.membershipType)}}function M(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.NAME")))}function L(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"userFullName"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.user))}}function N(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function z(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){var t=n.CHM(i).$implicit;return n.oxw().changeStatus(e,t)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.status),""),n.s9C("matTooltip",n.xi3(3,7,r,!1)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.status)," ")}}function Z(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function B(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",27),n.TgZ(1,"i",30),n.NdJ("click",function(e){var t=n.CHM(i).$implicit;return n.oxw().changeStatus(e,t)}),n.ALo(2,"memberStatusIconColor"),n.ALo(3,"memberStatusTooltip"),n.TgZ(4,"span"),n._uU(5),n.ALo(6,"memberStatusIcon"),n.qZA(),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit;n.xp6(1),n.Gre("material-icons ",n.lcZ(2,5,r.groupStatus),""),n.s9C("matTooltip",n.xi3(3,7,r,!0)),n.xp6(4),n.hij(" ",n.lcZ(6,10,r.groupStatus)," ")}}function F(e,t){1&e&&(n.TgZ(0,"th",31),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")))}function q(e,t){1&e&&(n.TgZ(0,"mat-icon"),n._uU(1,"check_circle_outline"),n.qZA())}function H(e,t){if(1&e&&(n.TgZ(0,"td",32),n.YNc(1,q,2,0,"mat-icon",33),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Q6J("ngIf",i.sponsored)}}function U(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function G(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberOrganization"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function j(e,t){1&e&&(n.TgZ(0,"th",26),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Y(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberEmail"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function K(e,t){1&e&&(n.TgZ(0,"th",22),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function V(e,t){if(1&e&&(n.TgZ(0,"td",27),n._uU(1),n.ALo(2,"memberLogins"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i))}}function J(e,t){1&e&&n._UZ(0,"tr",34)}var Q=function(e,t){return["/organizations",e,"members",t]};function W(e,t){if(1&e&&n._UZ(0,"tr",35),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disabledRouting)("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.WLB(6,Q,i.voId,i.id))("routerLink",r.disableRouting?null:n.WLB(9,Q,i.voId,i.id))}}function X(e,t){1&e&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function $(e,t){1&e&&(n.TgZ(0,"app-alert",36),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.Q6J("alert_type","warn"),n.xp6(1),n.hij(" ",n.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}var ee=function(){var e=function(){function e(t,i,r,o){_classCallCheck(this,e),this.dialog=t,this.authResolver=i,this.tableCheckbox=r,this.route=o,this.selection=new a.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.pageSize=10,this.disableRouting=!1,this.filter="",this.page=new n.vpe,this.updateTable=new n.vpe,this.pageSizeOptions=s.f7,this.canBeSelected=function(e){return"DIRECT"===e.membershipType}}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"getSortDataForColumn",value:function(e,t,i){var n;switch(t){case"id":return e.id.toString();case"fullName":return e.user?e.user.lastName?e.user.lastName:null!==(n=e.user.firstName)&&void 0!==n?n:"":"";case"status":return i.showGroupStatuses?e.groupStatus:e.status;case"organization":return(0,s.Gw)(e);case"email":return(0,s.g$)(e);default:return""}}},{key:"getFilterDataForColumn",value:function(e,t){switch(t){case"fullName":return e.user?(0,s.bD)(e.user):"";case"email":return(0,s.g$)(e);case"logins":return(0,s.lt)(e);default:return""}}},{key:"getExportDataForColumn",value:function(e,t,i){switch(t){case"id":return e.id.toString();case"fullName":return e.user?(0,s.bD)(e.user):"";case"status":return i.showGroupStatuses?e.groupStatus:e.status;case"organization":return(0,s.Gw)(e);case"email":return(0,s.g$)(e);case"logins":return(0,s.lt)(e);default:return""}}},{key:"exportData",value:function(e){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,s.Sd)(t,i,e.displayedColumns,e.getFilterDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,s.pR)(t,i,e.getSortDataForColumn,e)}),this.dataSource.filter=this.filter,this.dataSource.data=this.members}},{key:"ngAfterViewInit",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e}))}},{key:"ngOnChanges",value:function(){var e,t=this;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(e=this.route.parent)||void 0===e||e.params.subscribe(function(e){e.groupId&&(t.groupId=e.groupId)})}},{key:"isAllSelected",value:function(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"changeStatus",value:function(e,t){var i=this;if(e.stopPropagation(),"INVALID"===t.status){var n=(0,s.kZ)();n.width="500px",n.data={member:t},this.dialog.open(c.pf,n).afterClosed().subscribe(function(e){e&&i.updateTable.emit(!0)})}}},{key:"viewMemberGroupTree",value:function(e){var t=(0,s.kZ)();t.width="800px",t.data={member:e,groupId:this.groupId},this.dialog.open(c.jd,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(l.uw),n.Y36(u.x4),n.Y36(u.UA),n.Y36(h.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-members-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",filter:"filter"},outputs:{page:"page",updateTable:"updateTable"},features:[n.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["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-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,S,2,3,"th",4),n.YNc(5,I,3,6,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,R,3,3,"th",7),n.YNc(8,x,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,O,1,0,"th",7),n.YNc(11,D,2,1,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,M,3,3,"th",7),n.YNc(14,L,3,3,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,N,3,3,"th",7),n.YNc(17,z,7,12,"td",9),n.BQk(),n.ynx(18,12),n.YNc(19,Z,3,3,"th",7),n.YNc(20,B,7,12,"td",9),n.BQk(),n.ynx(21,13),n.YNc(22,F,3,3,"th",14),n.YNc(23,H,2,1,"td",15),n.BQk(),n.ynx(24,16),n.YNc(25,U,3,3,"th",7),n.YNc(26,G,3,3,"td",9),n.BQk(),n.ynx(27,17),n.YNc(28,j,3,3,"th",7),n.YNc(29,Y,3,3,"td",9),n.BQk(),n.ynx(30,18),n.YNc(31,K,3,3,"th",4),n.YNc(32,V,3,3,"td",9),n.BQk(),n.YNc(33,J,1,0,"tr",19),n.YNc(34,W,1,12,"tr",20),n.qZA(),n.qZA(),n.qZA(),n.YNc(35,X,3,4,"app-alert",21),n.YNc(36,$,3,4,"app-alert",21)),2&e&&(n.Q6J("hidden",0===t.members.length||!t.dataSource||0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(31),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",!!t.dataSource&&0!==t.members.length&&0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("ngIf",0===t.members.length))},directives:[d.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,f.O5,o.ge,p.oG,o.ev,g.gM,r.nU,v.Hw,o.XQ,o.Gk,m.YH,h.rH,y.w],pipes:[_.X$,b.d,w.u,A.i,k.f,C.M,T.D,E.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_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}"]}),e}()},11418:function(e,t,i){"use strict";i.d(t,{c:function(){return f}});var n=i(31572),r=i(88426),o=i(84140),a=i(61189),s=i(84608),c=i(61511),u=i(43691),l=i(48160);function h(e,t){if(1&e&&(n.TgZ(0,"div",5),n.TgZ(1,"mat-icon"),n._uU(2),n.qZA(),n.qZA()),2&e){var i=n.oxw();n.xp6(2),n.Oqu(i.data.icon)}}function d(e,t){if(1&e&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.hij(" ",i.showTimestamp()," ")}}var f=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialog=t,this.notificationStorageService=i,this.newNotification=!1,this.closeNotification=new n.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return _createClass(e,[{key:"doAction",value:function(){var e=this;if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{var t=(0,o.kZ)();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(a.FM,t).afterClosed().subscribe(function(){e.closeSelf()})}}},{key:"closeSelf",value:function(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}},{key:"ngOnInit",value:function(){var e=this;(0,o.ys)(this.data.delay,function(){e.alreadyClosed||e.waiting||e.closeSelf()})}},{key:"showTimestamp",value:function(){var e=_slicedToArray(this.data.timeStamp.split(":"),2),t=e[0],i=e[1];return i.length<2?t+":0"+i:this.data.timeStamp}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(s.uw),n.Y36(r.SZ))},e.\u0275cmp=n.Xpm({type:e,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&&(n.TgZ(0,"div"),n.TgZ(1,"div",0),n.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),n.YNc(2,h,3,1,"div",1),n.TgZ(3,"div",2),n._uU(4),n.ALo(5,"translate"),n.qZA(),n.YNc(6,d,2,1,"div",3),n.TgZ(7,"div",4),n.NdJ("click",function(){return t.waiting=!0,t.doAction()}),n._uU(8),n.qZA(),n.qZA(),n.qZA()),2&e&&(n.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),n.ekj("error","error"===t.data.type)("success","success"===t.data.type),n.xp6(2),n.Q6J("ngIf",null!==t.data.icon),n.xp6(2),n.hij(" ",n.lcZ(5,12,t.data.title)," "),n.xp6(2),n.Q6J("ngIf",t.inDialog),n.xp6(1),n.Q6J("hidden",t.alreadyPressed),n.xp6(1),n.hij(" ",t.data.actionText," "))},directives:[c.O5,u.Hw],pipes:[l.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}"]}),e}()},16306:function(e,t,i){"use strict";i.d(t,{$:function(){return I}});var n=i(31572),r=i(88426),o=i(33642),a=i(84608),s=i(48160),c=i(66283),u=i(80340),l=i(16073),h=i(61511),d=i(15980);function f(e,t){1&e&&(n.TgZ(0,"mat-error"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}var p=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.translate=i,this.notificator=n,this.rtMessages=r,this.storeService=o,this.message="",this.subject="",this.instanceName=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.instanceName=this.storeService.get("config")}},{key:"sendBugReport",value:function(){var e=this;this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){return e.notificator.showSuccess(e.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)}),e.dialogRef.close()})}},{key:"getFullEmailBody",value:function(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(60306).i8}},{key:"close",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(a.so),n.Y36(s.sK),n.Y36(r.V6),n.Y36(o.Hr),n.Y36(r.d6))},e.\u0275cmp=n.Xpm({type:e,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&&(n.TgZ(0,"h1",0),n._uU(1),n.ALo(2,"translate"),n.qZA(),n.TgZ(3,"div",1),n.TgZ(4,"mat-form-field"),n.TgZ(5,"mat-label"),n._uU(6),n.ALo(7,"translate"),n.qZA(),n.TgZ(8,"input",2,3),n.NdJ("ngModelChange",function(e){return t.subject=e}),n.qZA(),n.YNc(10,f,3,3,"mat-error",4),n.qZA(),n.TgZ(11,"mat-form-field"),n.TgZ(12,"mat-label"),n._uU(13),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"textarea",5),n.NdJ("ngModelChange",function(e){return t.message=e}),n.ALo(16,"translate"),n._uU(17," "),n.qZA(),n.TgZ(18,"mat-hint"),n._uU(19),n.ALo(20,"translate"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(21,"div",6),n.TgZ(22,"div",7),n.TgZ(23,"button",8),n.NdJ("click",function(){return t.close()}),n._uU(24),n.ALo(25,"translate"),n.qZA(),n.TgZ(26,"button",9),n.NdJ("click",function(){return t.sendBugReport()}),n._uU(27),n.ALo(28,"translate"),n.qZA(),n.qZA(),n.qZA()),2&e){var i=n.MAs(9);n.xp6(1),n.Oqu(n.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),n.xp6(5),n.Oqu(n.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),n.xp6(2),n.Q6J("ngModel",t.subject),n.xp6(2),n.Q6J("ngIf",i.invalid),n.xp6(3),n.Oqu(n.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),n.xp6(2),n.s9C("placeholder",n.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),n.Q6J("ngModel",t.message),n.xp6(4),n.Oqu(n.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),n.xp6(5),n.hij(" ",n.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),n.xp6(2),n.Q6J("disabled",i.invalid),n.xp6(1),n.hij(" ",n.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[a.uh,a.xY,c.KE,c.hX,u.Nt,l.Fj,l.Q7,l.JJ,l.On,h.O5,c.bx,a.H8,d.lW,c.TO],pipes:[s.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),g=i(84140),v=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t,i){return e["".concat(i,"_").concat(t)]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"localisedText",type:e,pure:!0}),e}(),m=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t){return e["link_"+t]||e.link_en}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"localisedLink",type:e,pure:!0}),e}(),y=function(e){return{color:e}};function _(e,t){if(1&e&&(n.TgZ(0,"i",16),n._uU(1),n.qZA()),2&e){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("ngStyle",n.VKq(2,y,r.linksTextColor)),n.xp6(1),n.hij(" ",i.icon," ")}}function b(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"span",17),n.NdJ("click",function(){n.CHM(i);var e=n.oxw().$implicit;return n.oxw(3).openDialog(e.dialog)}),n._uU(1),n.ALo(2,"localisedText"),n.qZA()}if(2&e){var r=n.oxw().$implicit,o=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,y,o.linksTextColor)),n.xp6(1),n.hij("",n.Dn7(2,2,r,o.language,"label")," ")}}function w(e,t){if(1&e&&(n.TgZ(0,"a",18),n.ALo(1,"localisedLink"),n._uU(2),n.ALo(3,"localisedText"),n.qZA()),2&e){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("href",n.xi3(1,3,i,r.language),n.LSH)("ngStyle",n.VKq(10,y,r.linksTextColor)),n.xp6(2),n.Oqu(n.Dn7(3,6,i,r.language,"label"))}}function A(e,t){if(1&e&&(n.TgZ(0,"span",19),n._uU(1),n.ALo(2,"localisedText"),n.qZA()),2&e){var i=n.oxw().$implicit,r=n.oxw(3);n.Q6J("ngStyle",n.VKq(6,y,r.linksTextColor)),n.xp6(1),n.Oqu(n.Dn7(2,2,i,r.language,"label"))}}function k(e,t){if(1&e&&(n.TgZ(0,"div",11),n.YNc(1,_,2,4,"i",12),n.YNc(2,b,3,8,"span",13),n.YNc(3,w,4,12,"a",14),n.ALo(4,"localisedLink"),n.YNc(5,A,3,8,"span",15),n.ALo(6,"localisedLink"),n.qZA()),2&e){var i=t.$implicit,r=n.oxw(3);n.xp6(1),n.Q6J("ngIf",i.icon),n.xp6(1),n.Q6J("ngIf",i.dialog),n.xp6(1),n.Q6J("ngIf",n.xi3(4,4,i,r.language)&&!i.dialog),n.xp6(2),n.Q6J("ngIf",!n.xi3(6,7,i,r.language)&&!i.dialog)}}function C(e,t){if(1&e&&(n.TgZ(0,"div"),n.YNc(1,k,7,10,"div",10),n.qZA()),2&e){var i=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",i.elements)}}function T(e,t){if(1&e&&(n.TgZ(0,"div",7),n.TgZ(1,"h6",8),n._uU(2),n.ALo(3,"localisedText"),n.qZA(),n.YNc(4,C,2,1,"div",9),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Q6J("ngStyle",n.VKq(7,y,r.headersTextColor)),n.xp6(1),n.hij(" ",n.Dn7(3,3,i,r.language,"title")," "),n.xp6(2),n.Q6J("ngIf",i.elements)}}function E(e,t){if(1&e&&(n.TgZ(0,"span"),n.TgZ(1,"a",6),n._uU(2),n.qZA(),n.qZA()),2&e){var i=t.$implicit,r=t.index,o=n.oxw();n.xp6(1),n.Q6J("href",i.url,n.LSH)("ngStyle",n.VKq(3,y,o.copyrightTextColor)),n.xp6(1),n.Oqu(r?", "+i.name:i.name)}}var S=function(e){return{background:e}},I=function(){var e=function(){function e(t,i,r){_classCallCheck(this,e),this.storeService=t,this.translateService=i,this.dialog=r,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new n.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe(function(t){e.language=t.lang}),this.version=i(60306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}},{key:"openDialog",value:function(e){var t=(0,g.kZ)();switch(e){case"reportIssue":t.width="550px",this.dialog.open(p,t)}}},{key:"getHeight",value:function(){var e,t=1,i=_createForOfIteratorHelper(this.items);try{for(i.s();!(e=i.n()).done;){var n=e.value;t=t-1)},directives:[r.O5,o.Hw,a.gM],pipes:[s.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),e}()},59403:function(e,t,i){"use strict";i.d(t,{t:function(){return c}});var n=i(31572),r=i(15980),o=i(36922),a=i(43691),s=i(48160),c=function(){var e=function(){function e(){_classCallCheck(this,e),this.refresh=new n.vpe}return _createClass(e,[{key:"onClickbutton",value:function(e){this.refresh.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(n.TgZ(0,"button",0),n.NdJ("click",function(e){return t.onClickbutton(e)}),n.ALo(1,"translate"),n._UZ(2,"mat-icon",1),n.qZA()),2&e&&(n.s9C("matTooltip",n.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),n.Q6J("disabled",t.disabled),n.xp6(2),n.s9C("svgIcon",t.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[r.lW,o.gM,a.Hw],pipes:[s.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),e}()},88884:function(e,t,i){"use strict";i.d(t,{C:function(){return U}});var n=i(31572),r=i(58623),o=i(67033),a=i(4230),s=i(84140),c=i(88426),u=i(82819),l=i(61511),h=i(29236),d=i(72953),f=i(46837),p=i(84534),g=i(57629),v=i(39571),m=i(48160),y=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){if(null==e)return null;var t="";return e.forEach(function(e){t=t.concat(e.tagName)}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"resourceTagsToString",type:e,pure:!0}),e}(),_=i(95603);function b(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"th",20),n.TgZ(1,"mat-checkbox",21),n.NdJ("change",function(e){n.CHM(i);var t=n.oxw();return e?t.masterToggle():null}),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.xp6(1),n.Q6J("aria-label",r.checkboxLabel())("checked",r.selection.hasValue()&&r.isAllSelected())("indeterminate",r.selection.hasValue()&&!r.isAllSelected())}}function w(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",22),n.TgZ(1,"mat-checkbox",23),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.itemSelectionToggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function A(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function k(e,t){if(1&e&&(n.TgZ(0,"td",22),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function C(e,t){1&e&&n._UZ(0,"th",20)}function T(e,t){if(1&e&&(n.TgZ(0,"td",25),n._UZ(1,"perun-web-apps-recently-viewed-icon",26),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function E(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function S(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.name)}}function I(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function R(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.vo.name)}}function x(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function O(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",25),n.TgZ(1,"perun-web-apps-group-resource-status",27),n.NdJ("mouseenter",function(){return n.CHM(i),n.oxw().disabledRouting=!0})("mouseleave",function(){n.CHM(i);var e=n.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return n.CHM(i),n.oxw().refreshTable.emit()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("theme","group-theme")("resourceId",r.id)("groupId",o.groupId)("failureCause",r.failureCause)("status",r.status)}}function P(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function D(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.facility.name)}}function M(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function L(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.ALo(2,"resourceTagsToString"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.resourceTags))}}function N(e,t){1&e&&(n.TgZ(0,"th",24),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function z(e,t){if(1&e&&(n.TgZ(0,"td",25),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.description)}}function Z(e,t){1&e&&n._UZ(0,"tr",28)}var B=function(e){return[e]};function F(e,t){if(1&e&&(n._UZ(0,"tr",29),n.ALo(1,"getResourceRoute"),n.ALo(2,"getResourceRoute")),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting)("disable-outline",r.disabledRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",n.VKq(12,B,r.disabledRouting?null:n.xi3(1,6,i,r.routingVo)))("routerLink",r.disabledRouting?null:n.xi3(2,9,i,r.routingVo))}}function q(e,t){1&e&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function H(e,t){1&e&&(n.TgZ(0,"app-alert",30),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var U=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.guiAuthResolver=t,this.tableCheckbox=i,this.resources=[],this.selection=new a.Ov(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=s.f7,this.groupId=null,this.page=new n.vpe,this.refreshTable=new n.vpe,this.allSelected=new n.vpe,this.removeAuth=!1,this.addAuth=!1}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngOnInit",value:function(){this.disabledRouting=this.disableRouting}},{key:"ngOnChanges",value:function(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.setDataSource(),this.setAuth()}},{key:"getDataForColumn",value:function(e,t,i){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 i.recentIds&&i.recentIds.indexOf(e.id)>-1?"#".repeat(i.recentIds.indexOf(e.id)):e.name;case"tags":if(!e.resourceTags)return e[t];var n="";return e.resourceTags.forEach(function(e){n=n.concat(e.tagName)}),n;case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}},{key:"exportData",value:function(e){(0,s.O6)((0,s.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,s.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e,!0)},this.dataSource.sortData=function(t,i){return(0,s.pR)(t,i,e.getDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}},{key:"isAllSelected",value:function(){var e=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(e),e}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"setAuth",value:function(){var e=this,t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce(function(i,n){return i&&e.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([n]))},!0),this.addAuth=this.selection.selected.reduce(function(i,n){return i&&e.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([n]))},!0)}},{key:"itemSelectionToggle",value:function(e){this.selection.toggle(e),this.setAuth()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(c.x4),n.Y36(c.UA))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(s.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[n.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,b,2,3,"th",4),n.YNc(5,w,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,A,3,3,"th",7),n.YNc(8,k,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,C,1,0,"th",4),n.YNc(11,T,2,2,"td",10),n.BQk(),n.ynx(12,11),n.YNc(13,E,3,3,"th",7),n.YNc(14,S,2,1,"td",10),n.BQk(),n.ynx(15,12),n.YNc(16,I,3,3,"th",7),n.YNc(17,R,2,1,"td",10),n.BQk(),n.ynx(18,13),n.YNc(19,x,3,3,"th",7),n.YNc(20,O,2,5,"td",10),n.BQk(),n.ynx(21,14),n.YNc(22,P,3,3,"th",7),n.YNc(23,D,2,1,"td",10),n.BQk(),n.ynx(24,15),n.YNc(25,M,3,3,"th",7),n.YNc(26,L,3,3,"td",10),n.BQk(),n.ynx(27,16),n.YNc(28,N,3,3,"th",7),n.YNc(29,z,2,1,"td",10),n.BQk(),n.YNc(30,Z,1,0,"tr",17),n.YNc(31,F,3,14,"tr",18),n.qZA(),n.qZA(),n.qZA(),n.YNc(32,q,3,3,"app-alert",19),n.YNc(33,H,3,3,"app-alert",19)),2&e&&(n.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(28),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),n.xp6(1),n.Q6J("ngIf",0===t.resources.length))},directives:[u.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,l.O5,o.ge,h.oG,o.ev,r.nU,d.W,f.x,o.XQ,o.Gk,p.YH,g.rH,v.w],pipes:[m.X$,y,_.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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),e}()},23888:function(e,t,i){"use strict";i.d(t,{j:function(){return M}});var n=i(31572),r=i(4230),o=i(58623),a=i(67033),s=i(88426),c=i(84140),u=i(57629),l=i(82819),h=i(61511),d=i(29236),f=i(84534),p=i(39571),g=i(48160),v=i(83787),m=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=e.find(function(e){return"mail"===e.friendlyName});return t?t.value.toString():"N/A"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"getMailFromAttributes",type:e,pure:!0}),e}();function y(e,t){1&e&&n._UZ(0,"th",17)}function _(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",18),n.TgZ(1,"mat-checkbox",19),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function b(e,t){1&e&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function w(e,t){if(1&e&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.userExtSource.id)}}function A(e,t){1&e&&(n.TgZ(0,"th",17),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function k(e,t){if(1&e&&(n.TgZ(0,"td",21),n._uU(1),n.ALo(2,"getMailFromAttributes"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.lcZ(2,1,i.attributes))}}function C(e,t){if(1&e&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,i.extSourceNameHeader?i.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function T(e,t){if(1&e&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.userExtSource.extSource.name)}}function E(e,t){if(1&e&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,i.loginHeader?i.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function S(e,t){if(1&e&&(n.TgZ(0,"td",21),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.userExtSource.login)}}function I(e,t){1&e&&(n.TgZ(0,"th",20),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function R(e,t){if(1&e&&(n.TgZ(0,"td",22),n._uU(1),n.ALo(2,"date"),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(n.xi3(2,1,i.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function x(e,t){1&e&&n._UZ(0,"tr",23)}var O=function(e,t){return["/admin","users",e,"identities",t]};function P(e,t){if(1&e&&n._UZ(0,"tr",24),2&e){var i=t.$implicit,r=n.oxw();n.ekj("cursor-pointer",!r.disableRouting)("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.WLB(6,O,r.userId,i.userExtSource.id))("routerLink",r.disableRouting?null:n.WLB(9,O,r.userId,i.userExtSource.id))}}function D(e,t){1&e&&(n.TgZ(0,"app-alert",25),n._uU(1),n.ALo(2,"translate"),n.ALo(3,"customTranslate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,n.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var M=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.route=t,this.authResolver=i,this.selection=new r.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new n.vpe,this.pageSizeOptions=c.f7}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){var e=this;this.disableRouting||this.route.parent.params.subscribe(function(t){e.userId=t.userId}),this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new a.by(this.userExtSources),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":var i=e.attributes.find(function(e){return"mail"===e.friendlyName});return i?i.value.toString():"N/A";case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return""}}},{key:"exportData",value:function(e){(0,c.O6)((0,c.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,i){return(0,c.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,c.pR)(t,i,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e.userExtSource)?"deselect":"select"," row ").concat(e.userExtSource.id+1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(u.gz),n.Y36(s.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(c.l9,7),n.Gf(o.YE,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.child=i.first),n.iGM(i=n.CRH())&&(t.matSort=i.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[n.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,y,1,0,"th",4),n.YNc(5,_,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,b,4,5,"th",7),n.YNc(8,w,2,1,"td",8),n.BQk(),n.ynx(9,9),n.YNc(10,A,4,5,"th",4),n.YNc(11,k,3,3,"td",8),n.BQk(),n.ynx(12,10),n.YNc(13,C,4,5,"th",7),n.YNc(14,T,2,1,"td",8),n.BQk(),n.ynx(15,11),n.YNc(16,E,4,5,"th",7),n.YNc(17,S,2,1,"td",8),n.BQk(),n.ynx(18,12),n.YNc(19,I,4,5,"th",7),n.YNc(20,R,3,4,"td",13),n.BQk(),n.YNc(21,x,1,0,"tr",14),n.YNc(22,P,1,12,"tr",15),n.qZA(),n.qZA(),n.qZA(),n.YNc(23,D,4,5,"app-alert",16)),2&e&&(n.Q6J("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(19),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.userExtSources.length))},directives:[l.l,a.BZ,o.YE,a.w1,a.fO,a.Dz,a.as,a.nj,h.O5,a.ge,a.ev,d.oG,o.nU,a.XQ,a.Gk,f.YH,u.rH,p.w],pipes:[g.X$,v.a,m,h.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e}()},7927:function(e,t,i){"use strict";i.d(t,{S:function(){return s}});var n=i(31572),r=i(84140),o=i(44973),a=i(48160),s=function(){var e=function(){function e(){_classCallCheck(this,e),this.disableAutoSelect=!1,this.userSelected=new n.vpe,this.userFullNameFunction=r.bD}return _createClass(e,[{key:"ngOnInit",value:function(){this.users=this.users.sort(r.fx)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,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(e,t){1&e&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(e){return t.userSelected.emit(e)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&e&&n.Q6J("entities",t.users)("disableAutoSelect",t.disableAutoSelect)("searchFunction",t.userFullNameFunction)("mainTextFunction",t.userFullNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[o.i],pipes:[a.X$],styles:[""]}),e}()},19386:function(e,t,i){"use strict";i.d(t,{M:function(){return a}});var n=i(31572),r=i(44973),o=i(48160),a=function(){var e=function e(){_classCallCheck(this,e),this.voSelected=new n.vpe,this.nameFunction=function(e){return e.name},this.shortNameFunction=function(e){return e.shortName},this.searchFunction=function(e){return e.name+e.shortName+e.id}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:13,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(e,t){1&e&&(n.TgZ(0,"perun-web-apps-entity-search-select",0),n.NdJ("entitySelected",function(e){return t.voSelected.emit(e)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.qZA()),2&e&&n.Q6J("entities",t.vos)("searchFunction",t.searchFunction)("mainTextFunction",t.nameFunction)("secondaryTextFunction",t.shortNameFunction)("selectPlaceholder",n.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",n.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",n.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[r.i],pipes:[o.X$],styles:[""]}),e}()},97162:function(e,t,i){"use strict";i.d(t,{Z:function(){return O}});var n=i(31572),r=i(58623),o=i(67033),a=i(84140),s=i(88426),c=i(82819),u=i(61511),l=i(29236),h=i(72953),d=i(84534),f=i(57629),p=i(39571),g=i(48160);function v(e,t){1&e&&n._UZ(0,"th",15)}function m(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"td",16),n.TgZ(1,"mat-checkbox",17),n.NdJ("change",function(e){var t=n.CHM(i).$implicit,r=n.oxw();return e?r.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),n.qZA(),n.qZA()}if(2&e){var r=t.$implicit,o=n.oxw();n.xp6(1),n.Q6J("aria-label",o.checkboxLabel(r))("checked",o.selection.isSelected(r))}}function y(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")))}function _(e,t){if(1&e&&(n.TgZ(0,"td",16),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.id)}}function b(e,t){1&e&&n._UZ(0,"th",15)}function w(e,t){if(1&e&&(n.TgZ(0,"td",19),n._UZ(1,"perun-web-apps-recently-viewed-icon",20),n.qZA()),2&e){var i=t.$implicit,r=n.oxw();n.xp6(1),n.Q6J("recentIds",r.recentIds)("id",i.id)}}function A(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")))}function k(e,t){if(1&e&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.shortName)}}function C(e,t){1&e&&(n.TgZ(0,"th",18),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")))}function T(e,t){if(1&e&&(n.TgZ(0,"td",19),n._uU(1),n.qZA()),2&e){var i=t.$implicit;n.xp6(1),n.Oqu(i.name)}}function E(e,t){1&e&&n._UZ(0,"tr",21)}var S=function(e){return["/organizations",e]};function I(e,t){if(1&e&&n._UZ(0,"tr",22),2&e){var i=t.$implicit,r=n.oxw();n.ekj("disable-outline",r.disableRouting),n.Q6J("perunWebAppsMiddleClickRouterLink",r.disableRouting?null:n.VKq(4,S,i.id))("routerLink",r.disableRouting?null:n.VKq(6,S,i.id))}}function R(e,t){1&e&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function x(e,t){1&e&&(n.TgZ(0,"app-alert",23),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&e&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}var O=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authResolver=t,this.vos=[],this.displayedColumns=[],this.pageSize=10,this.disableRouting=!1,this.pageSizeOptions=a.f7,this.page=new n.vpe}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t,i){switch(t){case"id":return e.id.toString();case"shortName":return e.shortName;case"name":return e.name;case"recent":return i.recentIds&&i.recentIds.indexOf(e.id)>-1?"#".repeat(i.recentIds.indexOf(e.id)):e.name;default:return e[t]}}},{key:"exportData",value:function(e){(0,a.O6)((0,a.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new o.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,i){return(0,a.Sd)(t,i,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,i){return(0,a.pR)(t,i,e.getDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(s.x4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(e,t){var i;(1&e&&(n.Gf(r.YE,7),n.Gf(a.l9,7)),2&e)&&(n.iGM(i=n.CRH())&&(t.matSort=i.first),n.iGM(i=n.CRH())&&(t.child=i.first))},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[n.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","recent"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(n.TgZ(0,"div",0),n.TgZ(1,"perun-web-apps-table-wrapper",1),n.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),n.TgZ(2,"table",2),n.ynx(3,3),n.YNc(4,v,1,0,"th",4),n.YNc(5,m,2,2,"td",5),n.BQk(),n.ynx(6,6),n.YNc(7,y,3,3,"th",7),n.YNc(8,_,2,1,"td",5),n.BQk(),n.ynx(9,8),n.YNc(10,b,1,0,"th",4),n.YNc(11,w,2,2,"td",9),n.BQk(),n.ynx(12,10),n.YNc(13,A,3,3,"th",7),n.YNc(14,k,2,1,"td",9),n.BQk(),n.ynx(15,11),n.YNc(16,C,3,3,"th",7),n.YNc(17,T,2,1,"td",9),n.BQk(),n.YNc(18,E,1,0,"tr",12),n.YNc(19,I,1,8,"tr",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(20,R,3,3,"app-alert",14),n.YNc(21,x,3,3,"app-alert",14)),2&e&&(n.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.vos.length),n.xp6(1),n.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("dataSource",t.dataSource),n.xp6(16),n.Q6J("matHeaderRowDef",t.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",t.displayedColumns),n.xp6(1),n.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.vos.length),n.xp6(1),n.Q6J("ngIf",0===t.vos.length))},directives:[c.l,o.BZ,r.YE,o.w1,o.fO,o.Dz,o.as,o.nj,u.O5,o.ge,o.ev,l.oG,r.nU,h.W,o.XQ,o.Gk,d.YH,f.rH,p.w],pipes:[g.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),e}()},61189:function(e,t,i){"use strict";i.d(t,{Wr:function(){return ue},r2:function(){return ce},gr:function(){return fe},u3:function(){return Ke},Qu:function(){return ct},pf:function(){return y},hd:function(){return $e},kZ:function(){return Qe},wA:function(){return se},rd:function(){return x},Eg:function(){return R},Bp:function(){return Z},qD:function(){return Ze},jd:function(){return Ne},FM:function(){return G},Lc:function(){return $},mk:function(){return ie},Tf:function(){return be}}),i(22280);var n=i(84608),r=i(33642),o=i(88426),a=i(31572),s=i(48160),c=i(61511),u=i(15980),l=i(67806),h=i(66283),d=i(4786),f=i(71522);function p(e,t){1&e&&a._UZ(0,"mat-spinner",6)}function g(e,t){if(1&e&&(a.TgZ(0,"mat-option",16),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.Oqu(i)}}function v(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"mat-form-field",13),a.TgZ(1,"mat-label"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-select",14),a.NdJ("selectionChange",function(e){return a.CHM(i),a.oxw(2).changeStatus(e)}),a.YNc(5,g,2,2,"mat-option",15),a.qZA(),a.qZA()}if(2&e){var n=a.oxw(2);a.xp6(2),a.Oqu(a.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),a.xp6(3),a.Q6J("ngForOf",n.allStatuses)}}function m(e,t){if(1&e&&(a.TgZ(0,"div",7),a.TgZ(1,"div",8),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",9),a._uU(5),a.qZA(),a.TgZ(6,"div",8),a._uU(7),a.ALo(8,"translate"),a.YNc(9,v,6,4,"mat-form-field",10),a.qZA(),a.TgZ(10,"div",11),a._UZ(11,"i",12),a.qZA(),a.qZA()),2&e){var i=a.oxw();a.xp6(2),a.AsE("",a.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",i.actualStatus,""),a.xp6(3),a.Oqu(i.description),a.xp6(2),a.hij(" ",a.lcZ(8,8,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),a.xp6(2),a.Q6J("ngIf",!i.loading),a.xp6(2),a.Q6J("innerHTML",i.changeMessage,a.oJD)}}var y=function(){var e=function(){function e(t,i,n,r,o,a){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.memberManager=n,this.groupsManager=r,this.notificatorService=o,this.translate=a,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;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.allStatuses=this.data.groupId?"VALID"===this.actualStatus?["EXPIRED"]:["VALID"]:"INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(function(t){return t!==e.actualStatus}),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.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=""}}},{key:"changeStatus",value:function(e){this.selectedStatus=e.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}},{key:"changeStatusMessage",value:function(e,t){if("VALID"===e)switch(t){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(t){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=""}}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){var e=this;this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(function(t){e.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(function(i){e.notificatorService.showSuccess(i),e.dialogRef.close(t)})},function(){return e.loading=!1}):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(function(t){e.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(function(i){e.notificatorService.showSuccess(i),e.dialogRef.close(t)})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.uq),a.Y36(r.ff),a.Y36(o.V6),a.Y36(s.sK))},e.\u0275cmp=a.Xpm({type:e,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","mr-2 mt-2",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,p,1,0,"mat-spinner",1),a.YNc(5,m,12,10,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return t.cancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return t.submit()}),a._uU(11),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),a.xp6(2),a.Q6J("disabled",t.loading||!t.selectedStatus),a.xp6(1),a.hij(" ",t.submitButtonText," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,d.gD,c.sg,f.ey],pipes:[s.X$],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),e}(),_=i(16073),b=i(80340);function w(e,t){1&e&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")))}function A(e,t){1&e&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")))}function k(e,t){1&e&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")))}function C(e,t){1&e&&(a.TgZ(0,"h1",7),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")))}function T(e,t){1&e&&a._UZ(0,"mat-spinner",8)}function E(e,t){if(1&e&&(a.TgZ(0,"mat-form-field"),a._UZ(1,"input",13),a.ALo(2,"translate"),a.qZA()),2&e){var i=a.oxw(2);a.xp6(1),a.MGl("placeholder","",a.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),a.Q6J("value",i.shortName)}}function S(e,t){if(1&e&&(a.TgZ(0,"mat-form-field",14),a._UZ(1,"textarea",15),a.ALo(2,"translate"),a.TgZ(3,"mat-error"),a._uU(4),a.ALo(5,"translate"),a.qZA(),a.qZA()),2&e){var i=a.oxw(2);a.xp6(1),a.MGl("placeholder","",a.lcZ(2,3,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),a.Q6J("formControl",i.descriptionCtrl),a.xp6(3),a.hij(" ",a.lcZ(5,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_DESCRIPTION")," ")}}function I(e,t){if(1&e&&(a.TgZ(0,"div",9),a.YNc(1,E,3,4,"mat-form-field",10),a.TgZ(2,"mat-form-field"),a._UZ(3,"input",11),a.ALo(4,"translate"),a.TgZ(5,"mat-error"),a._uU(6),a.ALo(7,"translate"),a.qZA(),a.qZA(),a.YNc(8,S,6,7,"mat-form-field",12),a.qZA()),2&e){var i=a.oxw();a.xp6(1),a.Q6J("ngIf",2===i.dialogType),a.xp6(2),a.MGl("placeholder","",a.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),a.Q6J("formControl",i.nameCtrl),a.xp6(3),a.hij(" ",i.invalidNameMessage.length?i.invalidNameMessage:a.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),a.xp6(2),a.Q6J("ngIf",2!==i.dialogType)}}var R=function(e){return e[e.FACILITY=0]="FACILITY",e[e.RESOURCE=1]="RESOURCE",e[e.VO=2]="VO",e[e.GROUP=3]="GROUP",e}({}),x=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.translateService=r,this.facilitiesManager=o,this.resourcesManager=a,this.groupsManager=s,this.vosManager=c,this.store=u,this.invalidNameMessage=this.data.dialogType===R.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===R.GROUP?this.store.get("group_name_secondary_regex"):""}return _createClass(e,[{key:"ngOnInit",value:function(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case R.FACILITY:this.nameCtrl=new _.NI(this.data.facility.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.facility.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break;case R.RESOURCE:this.nameCtrl=new _.NI(this.data.resource.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.resource.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break;case R.GROUP:var e=this.data.group.name.split(":");this.nameCtrl=new _.NI(e[e.length-1],[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.pattern(this.secondaryRegex),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI(this.data.group.description,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]);break;case R.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new _.NI(this.data.vo.name,[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.descriptionCtrl=new _.NI}}},{key:"cancel",value:function(){this.dialogRef.close(!1)}},{key:"submit",value:function(){switch(this.loading=!0,this.dialogType){case R.FACILITY:this.editFacility();break;case R.RESOURCE:this.editResource();break;case R.GROUP:this.editGroup();break;case R.VO:this.editVo()}}},{key:"editResource",value:function(){var e=this;this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(function(){e.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}},{key:"editFacility",value:function(){var e=this;this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(function(){e.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}},{key:"editGroup",value:function(){var e=this;this.groupsManager.getGroupById(this.data.group.id).subscribe(function(t){var i=t;i.name=e.nameCtrl.value,i.description=e.descriptionCtrl.value,e.groupsManager.updateGroup({group:i}).subscribe(function(){e.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})},function(){return e.loading=!1})}},{key:"editVo",value:function(){var e=this;this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(function(){e.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(s.sK),a.Y36(r.IQ),a.Y36(r.xk),a.Y36(r.ff),a.Y36(r.YF),a.Y36(o.d6))},e.\u0275cmp=a.Xpm({type:e,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","","required","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(e,t){1&e&&(a.TgZ(0,"div"),a.YNc(1,w,3,3,"h1",0),a.YNc(2,A,3,3,"h1",0),a.YNc(3,k,3,3,"h1",0),a.YNc(4,C,3,3,"h1",0),a.TgZ(5,"div",1),a.YNc(6,T,1,0,"mat-spinner",2),a.YNc(7,I,9,9,"div",3),a.qZA(),a.TgZ(8,"div",4),a.TgZ(9,"button",5),a.NdJ("click",function(){return t.cancel()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"button",6),a.NdJ("click",function(){return t.submit()}),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(1),a.Q6J("ngIf",0===t.dialogType),a.xp6(1),a.Q6J("ngIf",1===t.dialogType),a.xp6(1),a.Q6J("ngIf",2===t.dialogType),a.xp6(1),a.Q6J("ngIf",3===t.dialogType),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(3),a.hij(" ",a.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),a.xp6(2),a.Q6J("disabled",t.loading||t.nameCtrl.invalid||t.descriptionCtrl.invalid),a.xp6(1),a.hij(" ",a.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[c.O5,n.xY,n.H8,u.lW,n.uh,l.$g,h.KE,b.Nt,_.Fj,_.Q7,_.JJ,_.oH,h.TO,b.D7],pipes:[s.X$],styles:[""]}),e}(),O=i(67004),P=i(84140),D=i(43691);function M(e,t){1&e&&a._UZ(0,"mat-spinner",8)}function L(e,t){if(1&e&&(a.TgZ(0,"div",9),a.TgZ(1,"span"),a._uU(2),a.ALo(3,"translate"),a.TgZ(4,"b"),a._uU(5),a.qZA(),a.qZA(),a._UZ(6,"br"),a.TgZ(7,"span"),a._uU(8),a.ALo(9,"translate"),a.TgZ(10,"b"),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a._UZ(13,"br"),a.TgZ(14,"span"),a._uU(15),a.ALo(16,"translate"),a.TgZ(17,"b"),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.qZA(),a._UZ(20,"br"),a.TgZ(21,"span"),a._uU(22),a.ALo(23,"translate"),a.TgZ(24,"b"),a._uU(25),a.ALo(26,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e){var i=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),a.xp6(3),a.Oqu(i.group.name),a.xp6(3),a.hij(" ",a.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),a.xp6(3),a.Oqu(a.lcZ(12,12,i.getSynchronizationType())),a.xp6(4),a.hij(" ",a.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),a.xp6(3),a.Oqu(a.lcZ(19,16,i.getLastSyncState())),a.xp6(4),a.hij(" ",a.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),a.xp6(3),a.Oqu(a.lcZ(26,20,i.getLastSyncTime()))}}function N(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"button",10),a.NdJ("click",function(){return a.CHM(i),a.oxw().onForceStructure()}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function z(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"button",10),a.NdJ("click",function(){return a.CHM(i),a.oxw().onForce()}),a._uU(1),a.ALo(2,"translate"),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}var Z=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.groupService=n,this.notificator=r,this.loading=!0}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.loadGroup()}},{key:"onForceStructure",value:function(){var e=this;this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(function(){e.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),e.loading=!1},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(null)}},{key:"onForce",value:function(){var e=this;this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(function(){e.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),e.refresh()},function(){return e.loading=!1}),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(function(){e.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),e.refresh()},function(){return e.loading=!1})}},{key:"getSynchronizationType",value:function(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}},{key:"isBasic",value:function(){return"BASIC"===this.type}},{key:"isStructured",value:function(){return"STRUCTURED"===this.type}},{key:"getLastSyncState",value:function(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}},{key:"getLastSyncTime",value:function(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}},{key:"refresh",value:function(){this.loadGroup()}},{key:"loadGroup",value:function(){var e=this;this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[O.r.GROUP_SYNC_ENABLED,O.r.GROUP_LAST_SYNC_STATE,O.r.GROUP_LAST_SYNC_TIMESTAMP,O.r.GROUP_STRUCTURE_SYNC_ENABLED,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE,O.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(function(t){e.group=t,e.syncEnabled=(0,P.IL)(e.group.attributes,O.r.GROUP_SYNC_ENABLED).value,e.lastSyncState=(0,P.IL)(e.group.attributes,O.r.GROUP_LAST_SYNC_STATE).value,e.lastSyncTime=(0,P.IL)(e.group.attributes,O.r.GROUP_LAST_SYNC_TIMESTAMP).value,e.structSyncEnabled=(0,P.IL)(e.group.attributes,O.r.GROUP_STRUCTURE_SYNC_ENABLED).value,e.lastStructSyncState=(0,P.IL)(e.group.attributes,O.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,e.lastStructSyncTime=(0,P.IL)(e.group.attributes,O.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==e.syncEnabled&&"true"===e.syncEnabled&&(e.type="BASIC"),null!==e.structSyncEnabled&&e.structSyncEnabled&&(e.type="STRUCTURED"),e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.ff),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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(e,t){1&e&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,M,1,0,"mat-spinner",1),a.YNc(5,L,27,22,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"div",4),a.TgZ(8,"button",5),a.NdJ("click",function(){return t.refresh()}),a.TgZ(9,"mat-icon"),a._uU(10,"refresh"),a.qZA(),a.qZA(),a.YNc(11,N,3,4,"button",6),a.YNc(12,z,3,4,"button",6),a.TgZ(13,"button",7),a.NdJ("click",function(){return t.onCancel()}),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(6),a.Q6J("ngIf",t.isStructured()),a.xp6(1),a.Q6J("ngIf",t.isBasic()||t.isStructured()),a.xp6(2),a.hij(" ",a.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[n.uh,c.O5,n.H8,u.lW,D.Hw,l.$g,n.xY],pipes:[s.X$],styles:[""]}),e}();function B(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function F(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function q(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function H(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",8),a.TgZ(1,"mat-form-field"),a.TgZ(2,"mat-label"),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"input",9,10),a.NdJ("ngModelChange",function(e){return a.CHM(i),a.oxw().subject=e}),a.qZA(),a.YNc(7,F,3,3,"mat-error",11),a.qZA(),a.TgZ(8,"mat-form-field"),a.TgZ(9,"mat-label"),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"textarea",12,13),a.NdJ("ngModelChange",function(e){return a.CHM(i),a.oxw().message=e}),a.ALo(14,"translate"),a._uU(15," "),a.qZA(),a.YNc(16,q,3,3,"mat-error",11),a.qZA(),a.qZA()}if(2&e){var n=a.MAs(6),r=a.MAs(13),o=a.oxw();a.xp6(3),a.Oqu(a.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),a.xp6(2),a.Q6J("ngModel",o.subject),a.xp6(2),a.Q6J("ngIf",n.invalid),a.xp6(3),a.Oqu(a.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),a.xp6(2),a.s9C("placeholder",a.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),a.Q6J("ngModel",o.message),a.xp6(4),a.Q6J("ngIf",r.invalid)}}var U=function(){var e=function(){function e(t,i,n,r,o,a){_classCallCheck(this,e),this.dialogRef=t,this.translate=i,this.notificator=n,this.rtMessages=r,this.data=o,this.storeService=a,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}},{key:"sendBugReport",value:function(){var e=this;this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){e.notificator.showSuccess(e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),e.dialogRef.close()},function(){e.loading=!1,e.dialogRef.afterClosed().subscribe(function(){})})}},{key:"getFullEmailBody",value:function(){var e=this.storeService.get("config"),t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n")).concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){var n=JSON.stringify(this.data.error.payload);n=n.replace(/"password":".+?"/,'"password":"####"'),t=t.concat("Payload:\n"+n+"\n\n")}return(t=t.concat("Sended from new Perun Gui, version: "+i(60306).i8)).split("\n").join("\n ")}},{key:"parseMethod",value:function(e){return e?this.methodRegexp.exec(e)[1]:e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(s.sK),a.Y36(o.V6),a.Y36(r.Hr),a.Y36(n.WI),a.Y36(o.d6))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.YNc(3,B,1,0,"mat-spinner",1),a.YNc(4,H,17,13,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"button",5),a.NdJ("click",function(){return t.dialogRef.close()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",6),a.NdJ("click",function(){return t.sendBugReport()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(4),a.hij(" ",a.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),a.xp6(2),a.Q6J("disabled",""===t.message||""===t.subject||t.loading),a.xp6(1),a.hij(" ",a.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,h.hX,b.Nt,_.Fj,_.Q7,_.JJ,_.On,h.TO],pipes:[s.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),G=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.dialogRef=t,this.dialog=i,this.data=n}return _createClass(e,[{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onBugReportClick",value:function(){var e=this;this.dialogRef.afterClosed().subscribe(function(){var t=(0,P.kZ)();t.width="550px",t.data={error:e.data.error},t.autoFocus=!1,e.dialog.open(U,t)}),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.uw),a.Y36(n.WI))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a._uU(3),a.qZA(),a.TgZ(4,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return t.onBugReportClick()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a.NdJ("click",function(){return t.onCloseClick()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(t.data.title),a.xp6(2),a.hij("\n",t.data.description,"\n"),a.xp6(3),a.Q6J("hidden","error"!==t.data.type),a.xp6(1),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),a.xp6(3),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[n.uh,n.xY,n.H8,u.lW],pipes:[s.X$],styles:[""]}),e}(),j=i(67033),Y=i(83787);function K(e,t){1&e&&a._UZ(0,"mat-spinner",3)}function V(e,t){1&e&&a._UZ(0,"th",15)}function J(e,t){if(1&e&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.xp6(1),a.hij(" ",i.userExtSource.extSource.name," ")}}function Q(e,t){1&e&&a._UZ(0,"tr",17)}function W(e,t){1&e&&a._UZ(0,"tr",18)}function X(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",4),a.TgZ(2,"p"),a._uU(3),a.ALo(4,"translate"),a.ALo(5,"customTranslate"),a.qZA(),a.TgZ(6,"div",5),a._uU(7),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.TgZ(10,"table",6),a.ynx(11,7),a.YNc(12,V,1,0,"th",8),a.YNc(13,J,2,1,"td",9),a.BQk(),a.YNc(14,Q,1,0,"tr",10),a.YNc(15,W,1,0,"tr",11),a.qZA(),a.qZA(),a.TgZ(16,"div",12),a.TgZ(17,"button",13),a.NdJ("click",function(){return a.CHM(i),a.oxw().onCancel()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.TgZ(21,"button",14),a.NdJ("click",function(){return a.CHM(i),a.oxw().onSubmit()}),a._uU(22),a.ALo(23,"translate"),a.ALo(24,"customTranslate"),a.qZA(),a.qZA(),a.qZA()}if(2&e){var n=a.oxw();a.xp6(3),a.hij(" ",a.lcZ(4,7,a.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),a.xp6(4),a.hij(" ",a.lcZ(8,11,a.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),a.xp6(3),a.Q6J("dataSource",n.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",n.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",n.displayedColumns),a.xp6(3),a.hij(" ",a.lcZ(19,15,a.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),a.xp6(4),a.hij(" ",a.lcZ(23,19,a.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}var $=function(){var e=function(){function e(t,i,n,r,o){var a=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.usersManagerService=n,this.translate=r,this.notificator=o,this.force=!1,this.displayedColumns=["name"],r.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(function(e){return a.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new j.by(this.data.extSources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(function(){e.onSubmit()},function(){return e.loading=!1}):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.Fv),a.Y36(s.sK),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div"),a.YNc(5,K,1,0,"mat-spinner",1),a.YNc(6,X,25,23,"div",2),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,a.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),a.xp6(3),a.Tol(t.theme),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[n.uh,c.O5,l.$g,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,n.H8,u.lW,j.ge,j.ev,j.XQ,j.Gk],pipes:[s.X$,Y.a],styles:[""]}),e}(),ee=i(10901),te=i(81391),ie=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.data=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.value=this.data.value,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a.TgZ(3,"textarea",2),a._uU(4),a.qZA(),a.qZA(),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return t.onCancel()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(t.title),a.xp6(3),a.Oqu(t.value),a.xp6(3),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),a.xp6(2),a.Q6J("cdkCopyToClipboard",t.value),a.xp6(1),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[n.uh,n.xY,ee.IC,b.Nt,n.H8,u.lW,te.i3],pipes:[s.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),e}();function ne(e,t){1&e&&a._UZ(0,"th",12)}function re(e,t){if(1&e&&(a.TgZ(0,"td",13),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.xp6(1),a.hij(" ",i.displayName," ")}}function oe(e,t){1&e&&a._UZ(0,"tr",14)}function ae(e,t){1&e&&a._UZ(0,"tr",15)}var se=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.notificator=n,this.translate=r,this.attributesManager=o,this.displayedColumns=["name"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.dataSource=new j.by(this.data.attributes)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e,t=this,i=[],n=_createForOfIteratorHelper(this.data.attributes);try{for(n.s();!(e=n.n()).done;){var r=e.value;i.push(r.id)}}catch(a){n.e(a)}finally{n.f()}var o={};switch(o[this.data.entity]=this.data.entityId,o.attributes=i,void 0!==this.data.secondEntity&&(o[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()});break;case"group":switch(this.data.secondEntity){case"resource":this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return t.onSuccess()});break;default:this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()})}break;case"user":switch(this.data.secondEntity){case"facility":this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return t.onSuccess()});break;default:this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.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(function(){return t.onSuccess()});break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(function(){return t.onSuccess()});break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){t.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(function(){return t.onSuccess()})}}},{key:"onSuccess",value:function(){var e=this;this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(function(t){e.notificator.showSuccess(t),e.dialogRef.close(!0)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(o.V6),a.Y36(s.sK),a.Y36(r.H8))},e.\u0275cmp=a.Xpm({type:e,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(e,t){1&e&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div"),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"div",2),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"table",3),a.ynx(11,4),a.YNc(12,ne,1,0,"th",5),a.YNc(13,re,2,1,"td",6),a.BQk(),a.YNc(14,oe,1,0,"tr",7),a.YNc(15,ae,1,0,"tr",8),a.qZA(),a.qZA(),a.TgZ(16,"div",9),a.TgZ(17,"button",10),a.NdJ("click",function(){return t.onCancel()}),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.TgZ(20,"button",11),a.NdJ("click",function(){return t.onSubmit()}),a._uU(21),a.ALo(22,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),a.xp6(4),a.hij(" ",a.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),a.xp6(3),a.hij(" ",a.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),a.xp6(2),a.Q6J("dataSource",t.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns),a.xp6(3),a.hij(" ",a.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),a.xp6(3),a.hij(" ",a.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[n.uh,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,n.H8,u.lW,j.ge,j.ev,j.XQ,j.Gk],pipes:[s.X$],styles:[""]}),e}(),ce=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.attributeValue=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.attributeValue=this.data.attribute.value[this.data.index]}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"mat-form-field"),a.TgZ(5,"textarea",2),a.NdJ("ngModelChange",function(e){return t.attributeValue=e}),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return t.cancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return t.submit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),a.xp6(4),a.Q6J("ngModel",t.attributeValue),a.xp6(3),a.hij(" ",a.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,h.KE,ee.IC,b.Nt,_.Fj,_.JJ,_.On,n.H8,u.lW],pipes:[s.X$],styles:[""]}),e}(),ue=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.data=i}return _createClass(e,[{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div"),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"div",2),a._uU(8),a.qZA(),a.qZA(),a.TgZ(9,"div",3),a.TgZ(10,"button",4),a.NdJ("click",function(){return t.cancel()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.TgZ(13,"button",5),a.NdJ("click",function(){return t.submit()}),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),a.xp6(4),a.hij(" ",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),a.xp6(3),a.hij(" ",t.data.name," "),a.xp6(3),a.hij(" ",a.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,n.xY,n.H8,u.lW],pipes:[s.X$],styles:[""]}),e}(),le=i(39571);function he(e,t){if(1&e&&(a.TgZ(0,"app-alert",9),a._uU(1),a.qZA()),2&e){var i=a.oxw();a.xp6(1),a.Oqu(i.pendingEmailsMessage)}}function de(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}var fe=function(){var e=function(){function e(t,i,n,r,o,a){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.translate=n,this.notificator=r,this.usersManagerService=o,this.authService=a,this.pendingMails=[],n.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(function(e){return s.successMessage=e}),n.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(function(e){return s.pendingEmailsMessageStart=e}),n.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(function(e){return s.pendingEmailsMessageEnd=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.emailControl=new _.NI(null,[_.kI.required,_.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(function(t){e.pendingMails=t.filter(function(e,t,i){return t===i.indexOf(e)});var i="";e.pendingMails.forEach(function(t){return i+="".concat(t===e.pendingMails[0]?"":", ").concat(t)}),console.log(i),e.pendingEmailsMessage=e.pendingEmailsMessageStart+i+e.pendingEmailsMessageEnd})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,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(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(s.sK),a.Y36(o.V6),a.Y36(r.Fv),a.Y36(o.e8))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,he,2,1,"app-alert",2),a.TgZ(6,"mat-form-field",3),a.TgZ(7,"label",3),a._UZ(8,"input",4),a.ALo(9,"translate"),a.ALo(10,"customTranslate"),a.qZA(),a.YNc(11,de,4,5,"mat-error",5),a.qZA(),a.qZA(),a.TgZ(12,"div",6),a.TgZ(13,"button",7),a.NdJ("click",function(){return t.onCancel()}),a._uU(14),a.ALo(15,"translate"),a.ALo(16,"customTranslate"),a.qZA(),a.TgZ(17,"button",8),a.NdJ("click",function(){return t.onSubmit()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,8,a.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),a.xp6(4),a.Q6J("ngIf",t.pendingMails.length),a.xp6(3),a.s9C("placeholder",a.lcZ(9,12,a.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),a.Q6J("formControl",t.emailControl),a.xp6(3),a.Q6J("ngIf",t.emailControl.invalid),a.xp6(3),a.hij(" ",a.lcZ(15,16,a.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),a.xp6(3),a.Q6J("disabled",!t.emailControl.valid),a.xp6(1),a.hij(" ",a.lcZ(19,20,a.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[n.uh,n.xY,c.O5,h.KE,b.Nt,_.Fj,_.Q7,_.JJ,_.oH,n.H8,u.lW,le.w,h.TO],pipes:[s.X$,Y.a],styles:[""]}),e}();function pe(e,t){1&e&&a._UZ(0,"mat-spinner",6)}function ge(e,t){1&e&&a._UZ(0,"th",15)}function ve(e,t){if(1&e&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&e){var i=t.$implicit;a.xp6(1),a.hij(" ",i," ")}}function me(e,t){1&e&&a._UZ(0,"tr",17)}function ye(e,t){1&e&&a._UZ(0,"tr",18)}function _e(e,t){if(1&e&&(a.TgZ(0,"div",7),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"div",8),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"table",9),a.ynx(8,10),a.YNc(9,ge,1,0,"th",11),a.YNc(10,ve,2,1,"td",12),a.BQk(),a.YNc(11,me,1,0,"tr",13),a.YNc(12,ye,1,0,"tr",14),a.qZA(),a.qZA()),2&e){var i=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,5,i.data.description)," "),a.xp6(3),a.hij(" ",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),a.xp6(2),a.Q6J("dataSource",i.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",i.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",i.displayedColumns)}}var be=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.displayedColumns=["name"],this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new j.by(this.data.items)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,pe,1,0,"mat-spinner",1),a.YNc(5,_e,13,9,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return t.onCancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return t.onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(2),a.Oqu(a.lcZ(3,9,t.data.title)),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(3),a.hij(" ",a.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),a.xp6(2),a.Q6J("disabled",t.loading),a.xp6(1),a.hij(" ",a.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,j.BZ,j.w1,j.fO,j.Dz,j.as,j.nj,j.ge,j.ev,j.XQ,j.Gk],pipes:[s.X$],styles:[""]}),e}(),we=i(71709),Ae=i(91010),ke=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=e.split(":");return t[t.length-1]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"parseGroupName",type:e,pure:!0}),e}();function Ce(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function Te(e,t){1&e&&(a.TgZ(0,"app-alert"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function Ee(e,t){1&e&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Se(e,t){1&e&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}var Ie=function(e){return{"min-width":e}};function Re(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"mat-tree-node",16),a.TgZ(1,"li",17),a.TgZ(2,"div",18),a.NdJ("click",function(){var e=a.CHM(i).$implicit;return a.oxw(3).navigate(e.id,e.include)}),a._UZ(3,"button",19),a.TgZ(4,"div",20),a.TgZ(5,"span"),a._uU(6),a.ALo(7,"parseGroupName"),a.qZA(),a.YNc(8,Ee,3,3,"span",21),a.YNc(9,Se,3,3,"span",21),a.qZA(),a.TgZ(10,"span",22),a._uU(11),a.qZA(),a.qZA(),a.qZA(),a.qZA()}if(2&e){var n=t.$implicit,r=a.oxw(3);a.xp6(2),a.ekj("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),a.xp6(2),a.Q6J("ngStyle",a.VKq(11,Ie,r.getMinWidth(n.level))),a.xp6(2),a.Oqu(a.lcZ(7,9,n.name)),a.xp6(2),a.Q6J("ngIf",n.direct),a.xp6(1),a.Q6J("ngIf",n.include),a.xp6(2),a.Oqu(n.description)}}function xe(e,t){1&e&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Oe(e,t){1&e&&(a.TgZ(0,"span",23),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Pe(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"mat-nested-tree-node"),a.TgZ(1,"li"),a.TgZ(2,"div",17),a.TgZ(3,"button",24),a.TgZ(4,"mat-icon",25),a._uU(5),a.qZA(),a.qZA(),a.TgZ(6,"div",18),a.NdJ("click",function(){var e=a.CHM(i).$implicit;return a.oxw(3).navigate(e.id,e.include)}),a.TgZ(7,"div",20),a.TgZ(8,"span"),a._uU(9),a.ALo(10,"parseGroupName"),a.qZA(),a.YNc(11,xe,3,3,"span",21),a.YNc(12,Oe,3,3,"span",21),a.qZA(),a.TgZ(13,"span",22),a._uU(14),a.qZA(),a.qZA(),a.qZA(),a.TgZ(15,"ul"),a.GkF(16,26),a.qZA(),a.qZA(),a.qZA()}if(2&e){var n=t.$implicit,r=a.oxw(3);a.xp6(3),a.uIk("aria-label","Toggle "+n.name),a.xp6(2),a.hij(" ",r.treeControl.isExpanded(n)?"expand_more":"chevron_right"," "),a.xp6(1),a.ekj("cursor-pointer",n.direct||n.include)("act-disabled",!n.direct&&!n.include),a.xp6(1),a.Q6J("ngStyle",a.VKq(15,Ie,r.getMinWidth(n.level))),a.xp6(2),a.Oqu(a.lcZ(10,13,n.name)),a.xp6(2),a.Q6J("ngIf",n.direct),a.xp6(1),a.Q6J("ngIf",n.include),a.xp6(2),a.Oqu(n.description),a.xp6(1),a.ekj("example-tree-invisible",!r.treeControl.isExpanded(n))}}function De(e,t){if(1&e&&(a.TgZ(0,"mat-tree",13),a.YNc(1,Re,12,13,"mat-tree-node",14),a.YNc(2,Pe,17,17,"mat-nested-tree-node",15),a.qZA()),2&e){var i=a.oxw(2);a.Q6J("dataSource",i.dataSource)("treeControl",i.treeControl),a.xp6(2),a.Q6J("matTreeNodeDefWhen",i.hasChild)}}function Me(e,t){if(1&e&&(a.TgZ(0,"div",8),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-form-field",9),a._UZ(5,"input",10),a.ALo(6,"translate"),a.qZA(),a.YNc(7,Te,3,3,"app-alert",11),a.YNc(8,De,3,3,"mat-tree",12),a.qZA()),2&e){var i=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),a.xp6(3),a.s9C("placeholder",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),a.Q6J("formControl",i.formControl),a.xp6(2),a.Q6J("ngIf",!i.dataSource.data.length),a.xp6(1),a.Q6J("ngIf",i.dataSource.data.length)}}var Le=function(e){return{name:e}},Ne=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.groupsManagerService=n,this.treeControl=new we.VY(function(e){return e.children}),this.dataSource=new Ae.WX,this.groupTree=[],this.paths=[],this.formControl=new _.NI(""),this.userName="",this.hasChild=function(e,t){return!!t.children&&t.children.length>0}}return _createClass(e,[{key:"recursiveSearch",value:function(e,t,i){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];window.open("/organizations/".concat(this.data.member.voId,"/groups/").concat(e).concat(t?"/settings/relations":""),"_blank")}},{key:"getMinWidth",value:function(e){return 400-40*e+"px"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.ff))},e.\u0275cmp=a.Xpm({type:e,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(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Ce,1,0,"mat-spinner",2),a.YNc(5,Me,9,9,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"div",5),a.TgZ(8,"button",6),a.NdJ("click",function(){return t.onCancel()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",a.VKq(9,Le,t.userName))),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(4),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[n.uh,c.O5,n.H8,u.lW,l.$g,n.xY,h.KE,b.Nt,_.Fj,_.JJ,_.oH,le.w,Ae.gi,Ae.fQ,Ae.uo,Ae.eu,c.PC,Ae.GZ,D.Hw,Ae.Ar],pipes:[s.X$,ke],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] ul[_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:auto!important}"]}),e}(),ze=i(57629),Ze=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.dialogRef=t,this.router=i}return _createClass(e,[{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(ze.F0))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"app-alert",2),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA(),a.TgZ(7,"div",3),a.TgZ(8,"button",4),a.NdJ("click",function(){return t.onClose()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),a.xp6(4),a.Oqu(a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),a.xp6(4),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[n.uh,n.xY,le.w,n.H8,u.lW],pipes:[s.X$],styles:[""]}),e}(),Be=i(54810),Fe=i(15812),qe=i(58506);function He(e,t){1&e&&(a.TgZ(0,"mat-radio-button",15),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Ue(e,t){1&e&&(a.TgZ(0,"mat-radio-button",16),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}var Ge=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialogRef=t,this.canExtendMembership=!1,this.expirationChanged=new a.vpe,this.expirationControl=new _.NI(null)}return _createClass(e,[{key:"ngOnInit",value:function(){"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}},{key:"onChange",value:function(){this.expirationChanged.emit(this.newExpiration)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"setExpiration",value:function(){this.newExpiration=(0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,c.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode"},outputs:{expirationChanged:"expirationChanged"},decls:36,vars:36,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"],["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"]],template:function(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"p"),a.TgZ(3,"strong"),a._uU(4),a.ALo(5,"translate"),a.qZA(),a._uU(6),a.ALo(7,"parseDate"),a.qZA(),a.TgZ(8,"p"),a.TgZ(9,"strong"),a._uU(10),a.ALo(11,"translate"),a.qZA(),a._uU(12),a.ALo(13,"parseDate"),a.qZA(),a.TgZ(14,"mat-radio-group",2),a.NdJ("ngModelChange",function(e){return t.newExpiration=e}),a.TgZ(15,"mat-radio-button",3),a.TgZ(16,"mat-form-field",4),a.NdJ("click",function(){return a.CHM(i),a.MAs(23).open()}),a.TgZ(17,"mat-label"),a._uU(18),a.ALo(19,"translate"),a.qZA(),a.TgZ(20,"input",5),a.NdJ("dateChange",function(){return t.setExpiration()}),a.qZA(),a._UZ(21,"mat-datepicker-toggle",6),a._UZ(22,"mat-datepicker",7,8),a.qZA(),a.qZA(),a.YNc(24,He,3,3,"mat-radio-button",9),a.YNc(25,Ue,3,3,"mat-radio-button",10),a.TgZ(26,"mat-radio-button",11),a._uU(27),a.ALo(28,"translate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(29,"div",12),a.TgZ(30,"button",13),a.NdJ("click",function(){return t.onCancel()}),a._uU(31),a.ALo(32,"translate"),a.qZA(),a.TgZ(33,"button",14),a.NdJ("click",function(){return t.onChange()}),a._uU(34),a.ALo(35,"translate"),a.qZA(),a.qZA(),a.qZA()}if(2&e){var n=a.MAs(23);a.xp6(4),a.Oqu(a.lcZ(5,20,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),a.xp6(2),a.hij(" ",a.lcZ(7,22,t.currentExpiration),""),a.xp6(4),a.Oqu(a.lcZ(11,24,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),a.xp6(2),a.hij(" ",t.newExpiration?a.lcZ(13,26,t.newExpiration):"never",""),a.xp6(2),a.Q6J("ngModel",t.newExpiration),a.xp6(1),a.s9C("value",t.expirationControl.value),a.xp6(3),a.Oqu(a.lcZ(19,28,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),a.xp6(2),a.Q6J("min",t.minDate)("max",t.maxDate)("formControl",t.expirationControl)("matDatepicker",n),a.xp6(1),a.Q6J("for",n)("disabled",!1),a.xp6(1),a.Q6J("disabled",!1),a.xp6(2),a.Q6J("ngIf",t.canExtendMembership&&"vo"===t.mode),a.xp6(1),a.Q6J("ngIf",t.canExtendMembership&&"group"===t.mode),a.xp6(2),a.hij(" ",a.lcZ(28,30,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),a.xp6(4),a.hij(" ",a.lcZ(32,32,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),a.xp6(2),a.Q6J("disabled",t.expirationControl.invalid),a.xp6(1),a.hij(" ",a.lcZ(35,34,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[n.xY,Be.VQ,_.JJ,_.On,Be.U0,h.KE,h.hX,b.Nt,_.Fj,Fe.hl,_.oH,Fe.nW,h.R9,Fe.Mq,c.O5,n.H8,u.lW],pipes:[s.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}"]}),e}();function je(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function Ye(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(e){return a.CHM(i),a.oxw().onExpirationChanged(e)}),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("minDate",n.minDate)("maxDate",n.maxDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("canExtendMembership",n.canExtendMembership)("mode","group")}}var Ke=function(){var e=function(){function e(t,i,n,r,o,a,s){var c=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.groupManager=o,this.translate=a,this.notificator=s,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,a.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(e){return c.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0;var t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,O.r.GROUP_DEF_EXPIRATION_RULES).subscribe(function(t){null!==t.value?e.groupManager.canExtendMembershipInGroup(e.data.memberId,e.data.groupId).subscribe(function(t){e.canExtendMembership=!!t,e.loading=!1},function(){return e.loading=!1}):e.loading=!1},function(){return e.loading=!1}):this.loading=!1}},{key:"onExpirationChanged",value:function(e){var t=this;this.loading=!0,"groupRules"===e?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1}):(this.expirationAttr.value="never"===e?null:e,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(r.ff),a.Y36(s.sK),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,je,1,0,"mat-spinner",2),a.YNc(5,Ye,1,6,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[n.uh,c.O5,l.$g,Ge],pipes:[s.X$],styles:[""]}),e}();function Ve(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function Je(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(e){return a.CHM(i),a.oxw().onExpirationChanged(e)}),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("minDate",n.minDate)("maxDate",n.maxDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("canExtendMembership",n.canExtendMembership)("mode","vo")}}var Qe=function(){var e=function(){function e(t,i,n,r,o,a){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.translate=o,this.notificator=a,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,o.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(e){return s.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0;var t=new Date;"VALID"!==this.data.status?this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()):this.minDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&(this.newExpiration="VALID"!==this.data.status?(0,c.p6)(this.maxDate,"yyyy-MM-dd","en"):"never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,O.r.VO_DEF_EXPIRATION_RULES).subscribe(function(t){null!==t.value?e.memberManager.canExtendMembership(e.data.memberId).subscribe(function(t){e.canExtendMembership=!!t,e.loading=!1},function(){return e.loading=!1}):e.loading=!1},function(){return e.loading=!1}):this.loading=!1}},{key:"onExpirationChanged",value:function(e){var t=this;this.loading=!0,"voRules"===e?this.memberManager.extendMembership(this.data.memberId).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1}):(this.expirationAttr.value="never"===e?null:e,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(s.sK),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","expirationChanged"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Ve,1,0,"mat-spinner",2),a.YNc(5,Je,1,6,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[n.uh,c.O5,l.$g,Ge],pipes:[s.X$],styles:[""]}),e}();function We(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function Xe(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"perun-web-apps-change-expiration-dialog",5),a.NdJ("expirationChanged",function(e){return a.CHM(i),a.oxw().onExpirationChanged(e)}),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("minDate",n.minDate)("currentExpiration",n.currentExpiration)("newExpiration",n.newExpiration)("mode","sponsor")}}var $e=function(){var e=function(){function e(t,i,n,r,o,a,s){var c=this;_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.attributesManagerService=n,this.memberManager=r,this.groupManager=o,this.translate=a,this.notificator=s,this.loading=!1,a.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(function(e){return c.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;var e=new Date;this.minDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.loading=!1}},{key:"onExpirationChanged",value:function(e){var t=this;this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===e?null:e).subscribe(function(){t.loading=!1,t.notificator.showSuccess(t.successMessage),t.dialogRef.close(!0)},function(){return t.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.H8),a.Y36(r.uq),a.Y36(r.ff),a.Y36(s.sK),a.Y36(o.V6))},e.\u0275cmp=a.Xpm({type:e,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(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,We,1,0,"mat-spinner",2),a.YNc(5,Xe,1,4,"perun-web-apps-change-expiration-dialog",3),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[n.uh,c.O5,l.$g,Ge],pipes:[s.X$],styles:[""]}),e}();function et(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function tt(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function it(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function nt(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"mat-radio-group",12),a.NdJ("ngModelChange",function(e){return a.CHM(i),a.oxw(2).asyncValidation=e}),a.TgZ(1,"span",13),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-radio-button",14),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"mat-radio-button",14),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.qZA()}if(2&e){var n=a.oxw(2);a.Q6J("ngModel",n.asyncValidation),a.xp6(2),a.hij(" ",a.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),a.xp6(2),a.Q6J("value",!1),a.xp6(1),a.hij(" ",a.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),a.xp6(2),a.Q6J("value",!0),a.xp6(1),a.hij(" ",a.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function rt(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function ot(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function at(e,t){if(1&e&&(a.TgZ(0,"div",5),a.TgZ(1,"p",6),a._uU(2),a.TgZ(3,"span",7),a._uU(4),a.qZA(),a._uU(5),a.TgZ(6,"span",7),a._uU(7),a.qZA(),a.qZA(),a.TgZ(8,"p"),a.TgZ(9,"strong",8),a._uU(10),a.ALo(11,"translate"),a.qZA(),a._uU(12),a.qZA(),a.TgZ(13,"p"),a.TgZ(14,"strong",8),a._uU(15),a.ALo(16,"translate"),a.qZA(),a._uU(17),a.qZA(),a.YNc(18,tt,3,3,"span",9),a.YNc(19,it,3,3,"span",9),a.YNc(20,nt,10,12,"mat-radio-group",10),a.YNc(21,rt,3,3,"span",9),a.YNc(22,ot,3,3,"span",9),a.qZA()),2&e){var i=a.oxw();a.xp6(2),a.hij(" ",i.group.name," "),a.xp6(2),a.hij("#",i.group.id,""),a.xp6(1),a.hij(" - ",i.resource.name," "),a.xp6(2),a.hij("#",i.resource.id,""),a.xp6(3),a.hij("",a.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),a.xp6(2),a.hij(" ",i.status," "),a.xp6(3),a.hij("",a.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),a.xp6(2),a.hij(" ",i.getReversedStatus()," "),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","ACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status&&!1===i.asyncValidation),a.xp6(1),a.Q6J("ngIf","INACTIVE"===i.status&&!0===i.asyncValidation)}}function st(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",15),a.TgZ(1,"button",16),a.NdJ("click",function(){return a.CHM(i),a.oxw().onCancel()}),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"button",17),a.NdJ("click",function(){return a.CHM(i),a.oxw().onSubmit()}),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA()}if(2&e){var n=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),a.xp6(2),a.Q6J("disabled",n.loading),a.xp6(1),a.hij(" ",a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}var ct=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.dialogRef=t,this.data=i,this.resourceService=n,this.groupService=r,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(function(t){e.resource=t,e.groupService.getGroupById(e.data.groupId).subscribe(function(t){e.group=t,e.loading=!1},function(){return e.loading=!1})},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1}):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1})}},{key:"getReversedStatus",value:function(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(n.so),a.Y36(n.WI),a.Y36(r.xk),a.Y36(r.ff))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,et,1,0,"mat-spinner",1),a.YNc(5,at,23,17,"div",2),a.YNc(6,st,7,7,"div",3),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(2),a.Oqu(a.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[n.uh,c.O5,l.$g,n.xY,Be.VQ,_.JJ,_.On,Be.U0,n.H8,u.lW],pipes:[s.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),e}()},84534:function(e,t,i){"use strict";i.d(t,{hT:function(){return r},Kd:function(){return a},YH:function(){return s}});var n=i(31572),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.elementRef=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq))},e.\u0275dir=n.lG2({type:e,selectors:[["","perunWebAppsAutoFocus",""]]}),e}(),o=i(88426),a=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.el=t,this.router=i}return _createClass(e,[{key:"onClick",value:function(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(o.xw))},e.\u0275dir=n.lG2({type:e,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(e,t){1&e&&n.NdJ("click",function(){return t.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),e}(),s=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"onClick",value:function(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){var t=this.perunWebAppsMiddleClickRouterLink.join("/"),i=location.search;window.open(t+i)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&n.NdJ("mouseup",function(e){return t.onClick(e)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),e}()},14732:function(e,t,i){"use strict";i.d(t,{u:function(){return n},m:function(){return r}});var n=function(e){return e.PERUNADMIN="PERUNADMIN",e.PERUNOBSERVER="PERUNOBSERVER",e.VOADMIN="VOADMIN",e.GROUPADMIN="GROUPADMIN",e.SELF="SELF",e.FACILITYADMIN="FACILITYADMIN",e.FACILITIYOBSERVER="FACILITYOBSERVER",e.RESOURCEADMIN="RESOURCEADMIN",e.RESOURCESELFSERVICE="RESOURCESELFSERVICE",e.REGISTRAR="REGISTRAR",e.ENGINE="ENGINE",e.RPC="RPC",e.NOTIFICATIONS="NOTIFICATIONS",e.SERVICEUSER="SERVICEUSER",e.SPONSOR="SPONSOR",e.VOOBSERVER="VOOBSERVER",e.TOPGROUPCREATOR="TOPGROUPCREATOR",e.SECURITYADMIN="SECURITYADMIN",e.CABINETADMIN="CABINETADMIN",e.UNKNOWNROLENAME="UNKNOWNROLENAME",e}({}),r=function(){function e(t){_classCallCheck(this,e),this.id=t.id,this.name=t.name,this.parentGroupId=t.parentGroupId,this.voId=t.voId,this.shortName=t.shortName,this.description=t.description,this.attributes=t.attributes,this.beanName=t.beanName}return _createClass(e,[{key:"addChild",value:function(e){null==this.children?this.children=[e]:this.children.push(e)}}]),e}()},33642:function(e,t,i){"use strict";i.d(t,{Us:function(){return O},au:function(){return D},H8:function(){return d},Ct:function(){return p},VK:function(){return h},KG:function(){return m},IQ:function(){return y},ff:function(){return b},uq:function(){return w},aC:function(){return A},Hr:function(){return k},tk:function(){return C},xk:function(){return T},KK:function(){return E},Ob:function(){return S},Dy:function(){return P},Fv:function(){return I},FW:function(){return R},YF:function(){return x}});var n,r,o,a,s=i(29063),c=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return encodeURIComponent(e)}},{key:"encodeValue",value:function(e){return encodeURIComponent(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),u=i(31572),l=new u.OlP("basePath"),h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}return _createClass(e,[{key:"selectHeaderContentType",value:function(e){var t=this;if(0!==e.length){var i=e.find(function(e){return t.isJsonMime(e)});return void 0===i?e[0]:i}}},{key:"selectHeaderAccept",value:function(e){var t=this;if(0!==e.length){var i=e.find(function(e){return t.isJsonMime(e)});return void 0===i?e[0]:i}}},{key:"isJsonMime",value:function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}]),e}(),d=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"convertAttributeToNonunique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToNonunique"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"convertAttributeToUnique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToUnique"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"createAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/createAttribute"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attribute",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttribute"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteAttributeDefinitions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("attributes[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttributes"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllAttributeDefinitions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinition"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAttribute",value:function(e,t,i,n,r,o,a,c,u,l,h){var d=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"body",f=arguments.length>12&&void 0!==arguments[12]&&arguments[12],p=new s.LE({encoder:this.encoder});null!=e&&(p=p.set("attributeName",e)),null!=t&&(p=p.set("attributeId",t)),null!=i&&(p=p.set("facility",i)),null!=n&&(p=p.set("user",n)),null!=r&&(p=p.set("vo",r)),null!=o&&(p=p.set("resource",o)),null!=a&&(p=p.set("member",a)),null!=c&&(p=p.set("group",c)),null!=u&&(p=p.set("host",u)),null!=l&&(p=p.set("userExtSource",l)),null!=h&&(p=p.set("key",h));var g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var v="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+v)}var m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(g=g.set("Accept",m)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/any"),{params:p,withCredentials:this.configuration.withCredentials,headers:g,observe:d,reportProgress:f})}},{key:"getAttributeDefinitionById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinitionById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAttributeDefinitionByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAttributeDefinitionsByNamespace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("namespace",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinitionByNamespace"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAttributeModulesDependenciesForAttributeGraphText",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAttributeModulesDependenciesGraphText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("format",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeRights"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAttributesDefinitionWithRights",value:function(e,t,i,n,r,o,a,c){var u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"body",l=arguments.length>9&&void 0!==arguments[9]&&arguments[9],h=new s.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("user",t)),null!=i&&(h=h.set("vo",i)),null!=n&&(h=h.set("group",n)),null!=r&&(h=h.set("resource",r)),null!=o&&(h=h.set("facility",o)),null!=a&&(h=h.set("host",a)),null!=c&&(h=h.set("userExtSource",c));var d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var f="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+f)}var p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(d=d.set("Accept",p)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/getAttributesDefinitionWithRights"),{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:u,reportProgress:l})}},{key:"getEntitylessAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-entityless"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEntitylessAttributesByKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("key",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/key"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getEntitylessAttributesByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attrName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getEntitylessAttributesWithKeys",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(function(e){r=r.append("keys[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributesWithKeys"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEntitylessKeys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessKeys"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityResourceUserMemberAttributes",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("resource",t)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-r-u-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getFacilityUserAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-u"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupResourceAttributeById",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupResourceAttributeByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupResourceAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/group-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("host",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getLogins",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getLogins"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMemberAndUserAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-wu"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAndUserAttributesByNames",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMemberAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroupAndUserAttributesByNames",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("workWithUserAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getMemberGroupAttributeById",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberGroupAttributeByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberGroupAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroupAttributesByNames",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),i&&i.forEach(function(e){o=o.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributesByNames",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("workWithUserAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getMemberResourceAttributeById",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAttributeByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberResourceAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributesDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRequiredAttributesFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRequiredAttributesFacilityService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesFacilityServices",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesGroupResourceService",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("group",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesHostService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-h"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesMemberGroup",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberGroupResourceService",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("member",n)),null!=r&&(c=c.set("workWithUserAttributes",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g-m"),{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getRequiredAttributesMemberGroupService",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("group",t)),null!=i&&(a=a.set("member",i)),null!=n&&(a=a.set("workWithUserAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-g-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getRequiredAttributesMemberResource",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-r"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRequiredAttributesMemberResourceService",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=i&&(a=a.set("member",i)),null!=n&&(a=a.set("workWithUserAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getRequiredAttributesResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/r"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRequiredAttributesResourceService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesResourceServices",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRequiredAttributesUserFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRequiredAttributesVoService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourceAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceGroupAndGroupAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("resource",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("workWithGroupAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-wg"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResourceGroupAndGroupAttributesByNames",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("workWithGroupAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-names-wg"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getResourceGroupAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceGroupMemberAttributesByNames",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=i&&(a=a.set("member",i)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-m-names"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getUserAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserExtSourceAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserFacilityAttributeById",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("attributeId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getUserFacilityAttributeByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("attributeName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getUserFacilityAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/user-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributeById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributeByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAttributesForFacilityResourceGroupUserMember",value:function(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",c=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");var u=new s.LE({encoder:this.encoder});null!=e&&(u=u.set("facility",e)),null!=t&&(u=u.set("resource",t)),null!=i&&(u=u.set("group",i)),null!=n&&(u=u.set("user",n)),null!=r&&(u=u.set("member",r)),o&&o.forEach(function(e){u=u.append("attributes[]",e)});var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}},{key:"removeAttributesForFacilityResourceUserMember",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("resource",t)),null!=i&&(c=c.set("user",i)),null!=n&&(c=c.set("member",n)),r&&r.forEach(function(e){c=c.append("attributes[]",e)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-u-m"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"removeEntitylessAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/e"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupResourceAttribute",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeGroupResourceAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),i&&i.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeGroupResourceAttributesWorkWithGroupAttributes",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),i&&i.forEach(function(e){a=a.append("attributes[]",e)}),null!=n&&(a=a.set("workWithGroupAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"removeHostAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHostAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMemberAttributesWorkWithUserAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),t&&t.forEach(function(e){o=o.append("attributes[]",e)}),null!=i&&(o=o.set("workWithUserAttributes",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttribute",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),i&&i.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberGroupAttributesWorkWithUserAttributes",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),i&&i.forEach(function(e){a=a.append("attributes[]",e)}),null!=n&&(a=a.set("workWithUserAttributes",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"removeMemberResourceAttribute",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeMemberResourceAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),i&&i.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeResourceAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUesAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserExtSourceAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserFacilityAttribute",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("attribute",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeUserFacilityAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),i&&i.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeVoAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributeRights"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setEntitylessAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/entityless"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setFacilityResourceGroupUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-g-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setFacilityResourceUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setFacilityUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-u"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/g"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setGroupResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setGroupResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setHostAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/host"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/h"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-group"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberGroupWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g-wu"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberResourceAndUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r-wu"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-resource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setMemberWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-wu"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/resource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setResourceGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setResourceGroupWithGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g-wg"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/user"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/u"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserExtSourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/userExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/ues"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setUserFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setVoAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/vo"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/vo"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/updateAttributeDefinition"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),f=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"auditMessagesManagerLog",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("msg",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/log"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"createAuditerConsumer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("consumerName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/createAuditerConsumer"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllAuditerConsumers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getAllAuditerConsumers"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAuditerMessagesCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getAuditerMessagesCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getLastMessageId",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getLastMessageId"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getMessages",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("count",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getMessages"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMessagesByCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("count",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/getMessagesByCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"pollConsumerMessages",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("consumerName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/AuditMessagesManager/pollConsumerMessages"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"setLastProcessedId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e)),null!=t&&(r=r.set("lastProcessedId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/AuditMessagesManager/setLastProcessedId"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),p=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"getAllPolicies",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllPolicies"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAllRolesManagementRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllRolesManagementRules"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAuthzAdminGroups",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("role",e)),null!=t&&(o=o.set("complementaryObjectId",t)),null!=i&&(o=o.set("complementaryObjectName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAdminGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAuthzRichAdmins",value:function(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",c=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");var u=new s.LE({encoder:this.encoder});null!=e&&(u=u.set("role",e)),null!=t&&(u=u.set("complementaryObjectId",t)),null!=i&&(u=u.set("complementaryObjectName",i)),n&&n.forEach(function(e){u=u.append("specificAttributes",e)}),null!=r&&(u=u.set("allUserAttributes",r)),null!=o&&(u=u.set("onlyDirectAdmins",o));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getRichAdmins"),{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}},{key:"getFacilitiesWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getFacilitiesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupRoleNames"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("groupId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/getGroupRoles"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupsWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getLoggedUser",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getLoggedUser"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getMembersWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getMembersWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getPerunPrincipal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPerunPrincipal"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPrincipalRoleNames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPrincipalRoleNames"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getResourcesWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getResourcesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSecurityTeamsWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getSecurityTeamsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoleNames"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("userId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoles"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVosWhereUserIsInRoles",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getVosWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isFacilityAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isFacilityAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"isGroupAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isGroupAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"isPerunAdmin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/isPerunAdmin"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"isVoAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isVoAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"keepAlive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/keepAlive"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"loadAuthorizationComponents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/loadAuthorizationComponents"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"setRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"unsetRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"unsetRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),g=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"createAutorship",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createAuthorship"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createCategoryCat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createCategory/cat"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createCategoryNR",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createCategory/n-r"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createPublication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createPublication"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createPublicationSystem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createPublicationSystem"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createThanks",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/createThanks"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteAuthorship",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("publicationId",e)),null!=t&&(r=r.set("userId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteAuthorship"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteCategory",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteCategory"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deletePublication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deletePublication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deletePublicationSystem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deletePublicationSystem"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteThanks",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/cabinetManager/deleteThanks"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findAllAuthors",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findAllAuthors"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"findAuthorsByPublicationId",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findAuthorsByPublicationId"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findExternalPublications",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==n)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("yearSince",t)),null!=i&&(a=a.set("yearTill",i)),null!=n&&(a=a.set("pubSysNamespace",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findExternalPublications"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"findNewAuthors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findNewAuthors"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findPublicationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findPublicationsByFilter",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");var o=new s.LE({encoder:this.encoder});null!=t&&(o=o.set("yearSince",t)),null!=i&&(o=o.set("yearTill",i)),null!=e&&(o=o.set("userId",e));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationsByFilter"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findPublicationsByGUIFilter",value:function(e,t,i,n,r,o,a,c,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"body",h=arguments.length>10&&void 0!==arguments[10]&&arguments[10],d=new s.LE({encoder:this.encoder});null!=e&&(d=d.set("title",e)),null!=t&&(d=d.set("isbn",t)),null!=i&&(d=d.set("doi",i)),null!=n&&(d=d.set("id",n)),null!=r&&(d=d.set("year",r)),null!=o&&(d=d.set("category",o)),null!=a&&(d=d.set("yearSince",a)),null!=c&&(d=d.set("yearTill",c)),null!=u&&(d=d.set("userId",u));var f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var p="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+p)}var g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(f=f.set("Accept",g)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findPublicationsByGUIFilter"),{params:d,withCredentials:this.configuration.withCredentials,headers:f,observe:l,reportProgress:h})}},{key:"findSimilarPublications",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("title",e)),null!=t&&(o=o.set("doi",t)),null!=i&&(o=o.set("isbn",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/findSimilarPublications"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getCategories"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPublicationSystems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getPublicationSystems"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getRank",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getRank"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichThanksByPublicationId",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/cabinetManager/getRichThanksByPublicationId"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"lockPublications",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/lockPublications"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateCategory",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updateCategory"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updatePublication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updatePublication"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updatePublicationSystem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/cabinetManager/updatePublicationSystem"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),v=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"getCurrentDatabaseVersion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getCurrentDatabaseVersion"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getDatabaseDriverInformation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getDatabaseDriverInformation"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getDatabaseInformation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getDatabaseInformation"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getTimeOfQueryPerformance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/databaseManager/getTimeOfQueryPerformance"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),m=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addExtSourceWithGroupSource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/addExtSource/g-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addExtSourceWithVoSource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/addExtSource/v-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createExtSourceFromExtSourceObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/extSourcesManager/createExtSource/es"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createExtSourceWithNameType",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("type",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/createExtSource/n-t"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/deleteExtSource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getExtSourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getExtSourceByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("name",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSourceByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getExtSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getExtSources"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getGroupExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getGroupExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/getVoExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"loadExtSourcesDefinitions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/extSourcesManager/loadExtSourcesDefinitions"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"removeExtSourceWithGroupSource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/removeExtSource/g-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeExtSourceWithVoSource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/extSourcesManager/removeExtSource/v-s"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),y=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addFacilityAdminGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminGroupByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/group/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityAdminUserByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addAdmin/user/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwner",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByFacilityNameOwnerName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/f-o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addFacilityOwnerByOwnerName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addOwner/o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHost",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHost"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHostByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHost/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHosts",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("hostnames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHosts"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addHostsByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("hostnames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/addHosts/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignSecurityTeam",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/assignSecurityTeam"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignSecurityTeamByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesByDestinationName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesBySourceDestinationNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyAttributesBySourceName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyAttributes/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersByDestinationName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersBySourceDestinationNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/src-dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyManagersBySourceName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyManagers/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwners",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersByDestinationName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersBySourceDestinationNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/src-dest-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyOwnersBySourceName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/copyOwners/src-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/createFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/deleteFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteFacilityByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/deleteFacility/f-name"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllFacilities",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAllowedGroups",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedGroupsByFacilityName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedGroups/f-name"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedRichGroupsWithAttributes",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),t&&t.forEach(function(e){a=a.append("attrNames[]",e)}),null!=i&&(a=a.set("vo",i)),null!=n&&(a=a.set("service",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedRichGroupsWithAttributes"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getAllowedRichGroupsWithAttributesByFacilityName",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),t&&t.forEach(function(e){a=a.append("attrNames[]",e)}),null!=i&&(a=a.set("vo",i)),null!=n&&(a=a.set("service",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getAllowedUsersOfFacility",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedUsers/v-f-s"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedUsersOfFacilityByFacilityName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("service",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAllowedUsers/v-f-s/f-name"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getAllowedVos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/getAllowedVos"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllowedVosByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/getAllowedVos/f-name"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedFacilitiesByGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedFacilitiesByMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/member"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedFacilitiesByService",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/service"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedFacilitiesByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedFacilities/user"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResourcesByAssignedServiceForFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResourcesByAssignedService"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedResourcesForFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResourcesForFacilityByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedResources/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesForFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesForFacilityByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedRichResources/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedSecurityTeams",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedSecurityTeams"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedSecurityTeamsByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedSecurityTeams/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedUsers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedUsers"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedUsersByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAssignedUsers/f-name"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getBansForFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facilityId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBansForFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getBansForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBansForUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getEnrichedFacilities",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getEnrichedFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getEnrichedHosts",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getEnrichedHosts"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilitiesByAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByAttribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilitiesByDestination",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("destination",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByDestination"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilitiesByHostName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("hostname",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByHostName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilitiesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilitiesCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getFacilitiesWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilitiesWhereUserIsAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityAdminGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdminGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityAdminUsers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityAdminUsersByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdmins/f-name"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityBan",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacilityBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("name",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityForHost",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("host",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getFacilityForHost"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityOwners",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwners"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityOwnersByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwners/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHosts",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHosts"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostsByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHosts/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostsByHostname",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("hostname",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsByHostname"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostsCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getHostsCountByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getHostsCount/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getOwnerFacilities",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("owner",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getOwnerFacilities"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichFacilities",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getRichFacilities"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"removeBanByUserIdFacilityId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminGroupByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/group/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityAdminUserByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeAdmin/user/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeBan/byId"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeFacilityOwner",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByFacilityNameOwnerName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/f-o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeFacilityOwnerByOwnerName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeOwner/o-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHost",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("host",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHost"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeHostByHostname",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("hostname",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHostByHostname"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeHosts",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("hosts[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHosts"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeHostsByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("hosts[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeHosts/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSecurityTeam",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeSecurityTeam"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSecurityTeamByFacilityName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setFacilityBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/updateFacility"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFacilityBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/facilitiesManager/updateBan"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),_=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"getFacilityAdminGroupsByFacilityName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/facilitiesManager/getAdminGroups/f-name"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),b=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addMembers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"canExtendMembershipInGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/canExtendMembershipInGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createGroupUnion",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createGroupWithParentGroupNameDescription",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("parentGroup",e)),null!=t&&(o=o.set("name",t)),null!=i&&(o=o.set("description",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/pg-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"createGroupWithVoNameDescription",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("name",t)),null!=i&&(o=o.set("description",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/v-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"deleteGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteGroups",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==t)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("forceDelete",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroups"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"extendMembershipInGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/extendMembershipInGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"forceAllSubGroupsSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"forceGroupStructureSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupStructureSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"forceGroupSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupSynchronization"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllMemberGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllRichGroupsWithAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllRichSubGroupsWithGroupAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichSubGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupByName"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupMemberById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMemberById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupMembersCountsByGroupStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByGroupStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupMembersCountsByVoStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByVoStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupRichMembersByIds",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("members[]",e)}),i&&i.forEach(function(e){o=o.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupRichMembersByIds"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getGroupUnions",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupUnions"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupsByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getIndirectMembershipPaths",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getIndirectMembershipPaths"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMemberRichGroupsWithAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRichGroupByIdWithAttributesByNames",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getRichGroupByIdWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isGroupMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/isGroupMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"moveGroupWithDestinationGroupMovingGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");var r=new s.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/moveGroup/dg-mg"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupUnion",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeMembers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setGroupsMemberStatus",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=i&&(o=o.set("status",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/setGroupsMemberStatus"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"updateGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/groupsManager/updateGroup"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),w=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"canExtendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/canExtendMembership"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"createMemberForCandidate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/c"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createMemberForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/u"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createMemberFromExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/extSource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createSpecificMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSpecificMember"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMember/withFullName"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembers"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createSponsoredMembersFromCSV",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembersFromCSV"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMember"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("members[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMembers"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"extendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/extendMembership"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findCompleteRichMembersByAttributes",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("attrsNames[]",e)}),null!=t&&(o=o.set("searchString",t)),i&&i.forEach(function(e){o=o.append("allowedStatuses[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/attrs"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findCompleteRichMembersForGroup",value:function(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",c=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");var u=new s.LE({encoder:this.encoder});null!=e&&(u=u.set("group",e)),t&&t.forEach(function(e){u=u.append("attrsNames[]",e)}),r&&r.forEach(function(e){u=u.append("allowedStatuses[]",e)}),o&&o.forEach(function(e){u=u.append("allowedGroupStatuses[]",e)}),null!=i&&(u=u.set("searchString",i)),null!=n&&(u=u.set("lookingInParentGroup",n));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/g"),{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}},{key:"findCompleteRichMembersForVo",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("attrsNames[]",e)}),n&&n.forEach(function(e){a=a.append("allowedStatuses[]",e)}),null!=i&&(a=a.set("searchString",i));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"findMembersInVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findMembersInVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findSponsoredCompleteRichMembersForVo",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("attrsNames[]",e)}),null!=i&&(a=a.set("searchString",i)),null!=n&&(a=a.set("onlySponsored",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v-sponsored"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getAllNamespacesRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllNamespacesRules"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAllSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllSponsoredMembersAndTheirSponsors",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getCompleteRichMembersForGroup",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),i&&i.forEach(function(e){c=c.append("allowedStatuses[]",e)}),n&&n.forEach(function(e){c=c.append("allowedGroupStatuses[]",e)}),null!=t&&(c=c.set("lookingInParentGroup",t)),r&&r.forEach(function(e){c=c.append("attrsNames[]",e)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g"),{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getCompleteRichMembersForGroupResource",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),i&&i.forEach(function(e){a=a.append("attrsNames[]",e)}),n&&n.forEach(function(e){a=a.append("allowedStatuses[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g-r"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getCompleteRichMembersForVo",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("allowedStatuses[]",e)}),i&&i.forEach(function(e){o=o.append("attrsNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/v"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberByExtSourceNameAndExtLogin",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("extLogin",t)),null!=i&&(o=o.set("extSourceName",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByExtSourceNameAndExtLogin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMemberById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMemberByUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByUser"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMembers",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembers"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getMembersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMembersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getMembersPage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/getMembersPage"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"getMembersWithStatusCount",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount/status"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getRichMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichMemberWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMemberWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichMembersByIds",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("ids[]",e)}),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMembersByIds"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembers/v"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getSponsoredMembersAndTheirSponsors",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsByMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsByVo",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extSourceName",t)),null!=i&&(a=a.set("extLogin",i)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"moveMembership",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("sourceUser",t)),null!=i&&(o=o.set("targetUser",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/moveMembership"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"removeSponsor",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/removeSponsor"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendAccountActivationLinkEmail",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("namespace",t)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=n&&(a=a.set("language",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendAccountActivationLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"sendPasswordResetLinkEmail",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("namespace",t)),null!=i&&(a=a.set("emailAttributeURN",i)),null!=n&&(a=a.set("language",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendPasswordResetLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"setSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/setSponsoredMember"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setSponsorshipForMember",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("sponsoredMember",e)),null!=t&&(o=o.set("sponsor",t)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setSponsorshipForMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"setStatus",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setStatus"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sponsorMember",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("sponsor",t)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sponsorMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"updateSponsorshipValidity",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("sponsor",t)),null!=i&&(o=o.set("validityTo",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/updateSponsorshipValidity"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"validateMemberAsync",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/validateMemberAsync"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),A=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"createOwner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/ownersManager/createOwner"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteOwner",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/ownersManager/deleteOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllOwners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwners"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getOwnerById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwnerById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getOwnerByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("owner",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/ownersManager/getOwnerByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),k=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"sentMessageToRTWithMemberQueue",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("memberId",e)),null!=t&&(a=a.set("queue",t)),null!=i&&(a=a.set("subject",i)),null!=n&&(a=a.set("text",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"sentMessageToRTWithQueue",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("queue",e)),null!=t&&(o=o.set("subject",t)),null!=i&&(o=o.set("text",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/q"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sentMessageToRTWithVo",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("voId",e)),null!=t&&(o=o.set("subject",t)),null!=i&&(o=o.set("text",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sentMessageToRTWithVoQueue",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("queue",t)),null!=i&&(a=a.set("subject",i)),null!=n&&(a=a.set("text",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),C=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addApplicationMailForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/g"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"addApplicationMailForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/v"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"addGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/addGroupsToAutoRegistration"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"approveApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/approveApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"consolidateIdentityUsingToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/consolidateIdentityUsingToken"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"copyFormFromGroupToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromGroupToVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromVoToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyFormFromVoToVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromGroupToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromGroupToVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromVoToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyMailsFromVoToVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createApplicationFormInGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/group"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"createApplicationFormInVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/vo"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteApplicationMailForGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteApplicationMailForVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteGroupsFromAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getApplicationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getApplicationDataById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationDataById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getApplicationMailsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getApplicationMailsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/v"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getApplicationsForGroup",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(function(e){a=a.append("state[]",e)}),null!=i&&(a=a.set("dateFrom",i)),null!=n&&(a=a.set("dateTo",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForGroup"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getApplicationsForMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getApplicationsForVo",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("state[]",e)}),null!=i&&(a=a.set("dateFrom",i)),null!=n&&(a=a.set("dateTo",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForVo"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getConsolidatorToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getConsolidatorToken"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFormItemsForGroupWithType",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFormItemsForVoWithType",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/group"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getGroupsToAutoRegistration"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"rejectApplication",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/rejectApplication"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendInvitation",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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.");var a=new s.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("name",n)),null!=e&&(a=a.set("email",e)),null!=t&&(a=a.set("language",t));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"sendInvitationForGroup",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var c=new s.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=n&&(c=c.set("groupId",n)),null!=r&&(c=c.set("name",r)),null!=e&&(c=c.set("email",e)),null!=t&&(c=c.set("language",t));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/g"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"sendInvitationGroupToExistingUser",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("userId",e)),null!=t&&(o=o.set("voId",t)),null!=i&&(o=o.set("groupId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"sendInvitationToExistingUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/sendMessage"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"setSendingEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/setSendingEnabled"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"submitApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/submitApplication"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateApplicationMail",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateApplicationMail"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateForm"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFormItemData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemData"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFormItemsData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemsData"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/group"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/vo"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"verifyApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/verifyApplication"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),T=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"activateGroupResourceAssignment",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/activateGroupResourceAssignment"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"addAdminToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addAdminToUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addResourceSelfServiceGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addResourceSelfServiceUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"allowGroupsToResources",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("groups[]",e)}),t&&t.forEach(function(e){o=o.append("resources[]",e)}),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/allowGroupsToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupToResource",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupToResources",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("resources[]",e)}),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignGroupsToResource",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("groups[]",e)}),null!=t&&(o=o.set("resource",t)),null!=i&&(o=o.set("async",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupsToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"assignResourceTagToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/assignResourceTagToResource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"assignService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignServices",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"assignServicesPackage",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"copyResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/copyResource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createResource",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter name was null or undefined when calling createResource.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=i&&(a=a.set("name",i)),null!=n&&(a=a.set("description",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"createResourceTagWithResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/createResourceTag/resourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createResourceTagWithTagName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResourceTag/tagName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deactivateGroupResourceAssignment",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteAllResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResources"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteResource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"deleteResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/deleteResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"getAdminGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdminGroups"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAdmins",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllResourcesByResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesByResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"getAllResourcesTagsForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForResource"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllResourcesWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/all"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllowedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllowedResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllowedUsersOfResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedGroups",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedMembersWithStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembersWithStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResourcesWithStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResourcesWithStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichMembers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/g"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/m"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesWithMemberService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/s-m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAssignedServicesToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedServices"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getBansForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getBansForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForResource"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getEnrichedResourceById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourceById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEnrichedResourcesForFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getEnrichedResourcesForVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupAssignments",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getGroupAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceAssignments",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceBan",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourceByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("name",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceByName"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourcesCountForAll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/all"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getResourcesCountForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/vo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getResourcesFromVoWhereUserIsAdmin",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getResourcesWhereGroupIsAdmin",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("group",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getResourcesWhereUserIsAdmin",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=i&&(o=o.set("user",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRichAdmins",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),t&&t.forEach(function(e){a=a.append("specificAttributes",e)}),null!=i&&(a=a.set("allUserAttributes",i)),null!=n&&(a=a.set("onlyDirectAdmins",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichAdmins"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getRichResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeAllResourceTagsFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeBanByMemberAndResource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/member-resource-id"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupAdminResource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupFromResource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupFromResources",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("resources[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeGroupsFromResource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupsFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/id"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeResourceSelfServiceGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceSelfServiceUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeResourceTagFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/removeResourceTagFromResource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"removeService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServices",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServicesPackage",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserAdminResource",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"setResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"unallowGroupsFromResources",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),t&&t.forEach(function(e){r=r.append("resources[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/unallowGroupsFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateBan"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),E=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addDestination",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling addDestination.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=i&&(c=c.set("destination",i)),null!=n&&(c=c.set("type",n)),null!=r&&(c=c.set("propagationType",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestination"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"addDestinationToMultipleServices",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/addDestination"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addDestinationsForAllServicesOnFacility",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("destination",t)),null!=i&&(a=a.set("type",i)),null!=n&&(a=a.set("propagationType",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"addRequiredAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addRequiredAttribute"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addRequiredAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addRequiredAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addServiceToServicesPackage",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/addServiceToServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockAllServicesOnDestinationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("destination",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnDestination/d"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"blockAllServicesOnDestinationByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockAllServicesOnFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockAllServicesOnFacility"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"blockServiceOnDestination",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnDestination/s-d"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"blockServiceOnDestinationWithNameAndType",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("destination",t)),null!=i&&(o=o.set("destinationType",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"blockServiceOnFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/blockServiceOnFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createService",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("name",e)),null!=t&&(o=o.set("description",t)),null!=i&&(o=o.set("script",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/createService"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"createServiceWithService",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/createService"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createServicesPackage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/createServicesPackage"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"createServicesPackageByNameAndDescription",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/createServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteService",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/deleteService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteServicesPackage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("servicesPackage",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/deleteServicesPackage"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"forceServicePropagation",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/forceServicePropagation"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllDestinations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinations/all"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getAllRichDestinationsForFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAllRichDestinations/f"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllRichDestinationsForService",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAllRichDestinations/s"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAssignedResourcesForService"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedServices",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getAssignedServices"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getDataWithGroups",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDataWithGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getDataWithVos",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDataWithVos"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getDestinationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinationById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getDestinations",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinations/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getDestinationsCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getDestinationsCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getFacilitiesDestinations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFacilitiesDestinations"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityAssignedServicesForGUI",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFacilityAssignedServicesForGUI"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFlatData",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getFlatData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHashedDataWithGroups",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHashedDataWithGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHashedHierarchicalData",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHashedHierarchicalData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getHierarchicalData",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("facility",t)),null!=i&&(o=o.set("filterExpiredMembers",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getHierarchicalData"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getRichDestinations",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getRichDestinations"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getServiceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServiceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServiceByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("name",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServiceByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServices",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServices"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getServicesBlockedOnDestination",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("destination",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesBlockedOnDestination"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesBlockedOnFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesBlockedOnFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesByAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesByAttributeDefinition"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesFromServicesPackage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("servicesPackage",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesFromServicesPackage"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesPackageById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("servicesPackage",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackageById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesPackageByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("name",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackageByName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getServicesPackages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/getServicesPackages"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"isServiceBlockedOnDestination",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/isServiceBlockedOnDestination"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"isServiceBlockedOnFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/servicesManager/isServiceBlockedOnFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"planServicePropagation",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/planServicePropagation"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAllDestinations",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeAllDestinations"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeAllRequiredAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeAllRequiredAttributes"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeDestination",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling removeDestination.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=i&&(a=a.set("destination",i)),null!=n&&(a=a.set("type",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeDestination"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"removeRequiredAttribute",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeRequiredAttribute"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeRequiredAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeRequiredAttributes"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeServiceFromServicesPackage",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/removeServiceFromServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockAllServicesOnDestinationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("destination",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"unblockAllServicesOnDestinationByName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockAllServicesOnFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockAllServicesOnFacility"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"unblockServiceOnDestinationById",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"unblockServiceOnDestinationByName",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("destination",t)),null!=i&&(o=o.set("destinationType",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"unblockServiceOnFacility",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/servicesManager/unblockServiceOnFacility"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateService",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/updateService"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateServicesPackage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/servicesManager/updateServicesPackage"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),S=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"countTasks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/countTasks"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"deleteTask",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTask"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteTaskResultById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResultById"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteTaskResultsIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResults/id"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteTaskResultsNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/deleteTaskResults/name"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"getAllFacilitiesStates",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getAllFacilitiesStates"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllResourcesState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("voId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getAllResourcesState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityServicesState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getFacilityServicesState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getFacilityState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getFacilityState"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTask",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTask"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getTaskById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTaskResultById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("taskResult",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTaskResults",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResults"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getTaskResultsByTask",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("task",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsByTask"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTaskResultsForDestinations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("destinations[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForDestinations"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTaskResultsForGUIByTask",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("task",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTask"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getTaskResultsForGUIByTaskAndDestination",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e)),null!=t&&(r=r.set("destination",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTaskAndDestination"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getTaskResultsForGUIByTaskOnlyNewest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("task",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"isThereSuchTask",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/isThereSuchTask"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"listAllTasks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/listAllTasks"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"listAllTasksForFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/tasksManager/listAllTasksForFacility"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"suspendTasksPropagation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("suspend",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/tasksManager/suspendTasksPropagation"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),I=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addSpecificUserOwner",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/addSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addUserExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/addUserExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"anonymizeUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/anonymizeUser"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"changeNonAuthzPasswordByToken",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("token",e)),null!=t&&(o=o.set("password",t)),null!=i&&(o=o.set("lang",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changeNonAuthzPassword/token"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"changePasswordForLogin",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=i&&(c=c.set("newPassword",i)),null!=n&&(c=c.set("oldPassword",n)),null!=r&&(c=c.set("checkOldPassword",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/login"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"changePasswordForUser",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=i&&(c=c.set("newPassword",i)),null!=n&&(c=c.set("oldPassword",n)),null!=r&&(c=c.set("checkOldPassword",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/user"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"checkPasswordResetRequestByTokenIsValid",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordResetRequestIsValid/token"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"checkPasswordStrength",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordStrength"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createAlternativePassword",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("description",t)),null!=i&&(a=a.set("loginNamespace",i)),null!=n&&(a=a.set("password",n));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/createAlternativePassword"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"createServiceUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/createServiceUser"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteAlternativePassword",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("loginNamespace",t)),null!=i&&(o=o.set("passwordId",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteAlternativePassword"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"deletePasswordForLogin",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deletePasswordForUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"deleteUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findRichUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"findRichUsersWithAttributes",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(function(e){r=r.append("attrsNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsersWithAttributes"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findUsers"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAllRichUsersWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("includedSpecificUsers",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAllRichUsersWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getAssignedRichResourcesForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAssignedRichResources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getGroupsForFacilityWhereUserIsActive",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsForResourceWhereUserIsActive",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsInVoWhereUserIsAdmin",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getGroupsWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getPendingPreferredEmailChanges",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getPendingPreferredEmailChanges"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserExtSources/u"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichUserWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichUsersWithAttributesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithAttributesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getRichUsersWithoutVoWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("attrsNames[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithoutVoWithAttributes"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getSpecificUsersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSpecificUsersByUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getSponsorsForMember",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getSponsorsForMemberByVoAndLogin",value:function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");var a=new s.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extSourceName",t)),null!=i&&(a=a.set("extLogin",i)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}},{key:"getUserByExtSourceNameAndExtLogin",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserByExtSourceNameAndExtLogin"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getUserById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserExtSourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourceById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSources"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUserExtSourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourcesByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUsers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsers"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getUsersBySpecificUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("specificUser",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersBySpecificUser"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVosWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsAdmin"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVosWhereUserIsMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"isLoginAvailable",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/isLoginAvailable"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"loginExist",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/loginExist"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSpecificUserOwner",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeUserExtSource",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("userExtSource",t)),null!=i&&(o=o.set("force",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeUserExtSource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"requestPreferredEmailChange",value:function(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",c=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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.");var u=new s.LE({encoder:this.encoder});null!=e&&(u=u.set("user",e)),null!=t&&(u=u.set("email",t)),null!=i&&(u=u.set("lang",i)),null!=n&&(u=u.set("linkPath",n)),null!=r&&(u=u.set("customUrl",r)),null!=o&&(u=u.set("idpFilter",o));var l=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(l=l.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(l=l.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;l=l.set("Authorization","Bearer "+h)}var d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(l=l.set("Accept",d)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/requestPreferredEmailChange"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:c})}},{key:"reservePasswordForLogin",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("login",e)),null!=t&&(o=o.set("namespace",t)),null!=i&&(o=o.set("password",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/login"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"reservePasswordForUser",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("namespace",t)),null!=i&&(o=o.set("password",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/user"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"reserveRandomPassword",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reserveRandomPassword"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/updateUser"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"validatePasswordForLogin",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"validatePasswordForUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"validatePreferredEmailChangeWithToken",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePreferredEmailChange"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),R=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"getAppsConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getAppsConfig"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getGuiConfiguration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getGuiConfiguration"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPerunRPCVersion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPerunStatistics",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatistics"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPerunStatus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatus"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getPerunSystemTimeInMillis",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunSystemTimeInMillis"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),x=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new s.WM,this.configuration=new h,n&&(this.configuration=n),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new c}return _createClass(e,[{key:"addSponsorRoleToGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addSponsorRoleToUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addVoAdminGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"addVoAdminUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createVoWithName",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/createVo/withName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"createVoWithVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/createVo/withVo"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"deleteVo",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/deleteVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"findCandidates",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("id",e)),null!=t&&(o=o.set("searchString",t)),null!=i&&(o=o.set("maxNumOfResults",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"findCandidatesForGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates/forGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getAllVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAllVos"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getCompleteCandidatesForGroup",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("searchString",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forGroup"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getCompleteCandidatesForVo",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("searchString",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forVo"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getMyVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVos"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"getRichAdminsForVo",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");var c=new s.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),i&&i.forEach(function(e){c=c.append("specificAttributes",e)}),null!=n&&(c=c.set("allUserAttributes",n)),null!=r&&(c=c.set("onlyDirectAdmins",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getRichAdmins"),{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getVoAdminGroups",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdminGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"getVoAdminUsers",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");var o=new s.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("role",t)),null!=i&&(o=o.set("onlyDirectAdmins",i));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdmins"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:r})}},{key:"getVoBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanForMember"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoBansForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBansForVo"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoById"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoByShortName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("shortName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoByShortName"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVoMembersCountsByStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoMembersCountsByStatus"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVosByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");var n=new s.LE({encoder:this.encoder});e&&e.forEach(function(e){n=n.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosByIds"),{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"getVosCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+n)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(i=i.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosCount"),{withCredentials:this.configuration.withCredentials,headers:i,observe:e,reportProgress:t})}},{key:"removeSponsorRoleFromGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeSponsorRoleFromUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAdminGroup",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoAdminUser",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new s.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}},{key:"removeVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBan"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"removeVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");var n=new s.LE({encoder:this.encoder});null!=e&&(n=n.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBanForMember"),null,{params:n,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:i})}},{key:"setVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}},{key:"updateVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");var n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(n=n.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(n=n.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/updateVo"),e,{withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.eN),u.LFG(l,8),u.LFG(h,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),O={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"};!function(e){e.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},e.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(n||(n={})),function(e){e.FormatEnum={DOT:"DOT",TGF:"TGF"}}(r||(r={})),function(e){e.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(o||(o={})),function(e){e.TypeEnum={Technical:"technical",Administrative:"administrative"}}(a||(a={}));var P={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",FROMFEDERATIONSHOW:"FROM_FEDERATION_SHOW",FROMFEDERATIONHIDDEN:"FROM_FEDERATION_HIDDEN",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"},D=function(){var e=function(){function e(t,i){if(_classCallCheck(this,e),t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!i)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}return _createClass(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:h,useFactory:t}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(e,12),u.LFG(s.eN,8))},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({providers:[d,f,p,g,v,m,y,_,b,w,A,k,C,T,E,S,I,R,x],imports:[[]]}),e}()},22280:function(e,t,i){"use strict";i.d(t,{r5:function(){return s.r},d4:function(){return o},dp:function(){return a.d}});var n=i(61511),r=i(31572),o=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[n.ez]]}),e}(),a=i(22196),s=(i(83787),i(95603));i(91322),i(63720),i(1157),i(48853)},83787:function(e,t,i){"use strict";i.d(t,{a:function(){return a}});var n=i(88426),r=i(31572),o=i(48160),a=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.translate=t,this.storage=i}return _createClass(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",i=this.storage.get("custom_labels");if(i)for(var n=Object.keys(i),r=0,o=n;r0?"red":null!==u&&u.trim().length>0?"green":""}if(o){var l=(0,n.IL)(e.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,n.IL)(e.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"red":null!==f&&f.trim().length>0?"green":""}return""}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Yjl({name:"groupSyncIconColor",type:e,pure:!0}),e}()},52984:function(e,t,i){"use strict";i.d(t,{J:function(){return a}});var n=i(67004),r=i(84140),o=i(31572),a=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){if(null==e||null==e.attributes)return"";var t=(0,r.IL)(e.attributes,n.r.GROUP_SYNC_ENABLED),i=(0,r.IL)(e.attributes,n.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===t&&null===i)return"";var o=i.value;if("true"===t.value){var a=(0,r.IL)(e.attributes,n.r.GROUP_LAST_SYNC_STATE),s=(0,r.IL)(e.attributes,n.r.GROUP_LAST_SYNC_TIMESTAMP),c=a.value,u=s.value;return null!=c&&c.trim().length>0?"sync_problem":(null!==u&&u.trim(),"sync")}if(o){var l=(0,r.IL)(e.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,r.IL)(e.attributes,n.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"sync_problem":(null!==f&&f.trim(),"sync")}return"sync_disabled"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Yjl({name:"groupSyncIcon",type:e,pure:!0}),e}()},44385:function(e,t,i){"use strict";i.d(t,{r:function(){return a}});var n=i(84140),r=i(67004),o=i(31572),a=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){if(null==e||null==e.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var t=(0,n.IL)(e.attributes,r.r.GROUP_SYNC_ENABLED),i=(0,n.IL)(e.attributes,r.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===t&&null===i)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";var o=i.value;if("true"===t.value){var a=(0,n.IL)(e.attributes,r.r.GROUP_LAST_SYNC_STATE),s=(0,n.IL)(e.attributes,r.r.GROUP_LAST_SYNC_TIMESTAMP),c=a.value,u=s.value;return null!=c&&c.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==u&&u.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(o){var l=(0,n.IL)(e.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_STATE),h=(0,n.IL)(e.attributes,r.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),d=l.value,f=h.value;return null!=d&&d.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==f&&f.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Yjl({name:"groupSyncToolTip",type:e,pure:!0}),e}()},63720:function(e,t,i){"use strict";i.d(t,{D:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,n.g$)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"memberEmail",type:e,pure:!0}),e}()},1157:function(e,t,i){"use strict";i.d(t,{p:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,n.lt)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"memberLogins",type:e,pure:!0}),e}()},99197:function(e,t,i){"use strict";i.d(t,{M:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,n.Gw)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"memberOrganization",type:e,pure:!0}),e}()},74842:function(e,t,i){"use strict";i.d(t,{u:function(){return r}});var n=i(31572),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){switch(e){case"VALID":return"green";case"INVALID":return"red";default:return""}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"memberStatusIconColor",type:e,pure:!0}),e}()},37043:function(e,t,i){"use strict";i.d(t,{f:function(){return r}});var n=i(31572),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){switch(e){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"memberStatusIcon",type:e,pure:!0}),e}()},91322:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t){var i=null,r=null;null!==e.memberAttributes&&(i=e.memberAttributes.find(function(e){return"membershipExpiration"===e.friendlyName}),r=e.memberAttributes.find(function(e){return"groupMembershipExpiration"===e.friendlyName}));return t?"\n Group status: ".concat((0,n.Oe)(e.groupStatus),", Expiration: ").concat(r&&r.value?r.value:"never"):"Status: ".concat((0,n.Oe)(e.status,e.groupStatus),"\n Vo status: ").concat((0,n.Oe)(e.status),", Expiration: ").concat(i&&i.value?i.value:"never")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"memberStatusTooltip",type:e,pure:!0}),e}()},58506:function(e,t,i){"use strict";i.d(t,{M:function(){return o}});var n=i(61511),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t){return"voRules"===e?"Vo rules":"groupRules"===e?"Group rules":e&&"never"!==e.toLowerCase()?(0,n.p6)(e.replace(" ","T"),"d.M.yyyy "+(t?"H:mm:ss":""),"en"):"never"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"parseDate",type:e,pure:!0}),e}()},48853:function(e,t,i){"use strict";i.d(t,{J:function(){return o}});var n=i(84140),r=i(31572),o=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return(0,n.te)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"technicalOwners",type:e,pure:!0}),e}()},22196:function(e,t,i){"use strict";i.d(t,{d:function(){return r}});var n=i(31572),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t="";return null!==e.titleBefore&&(t+=e.titleBefore+" "),null!==e.firstName&&(t+=e.firstName+" "),null!==e.middleName&&(t+=e.middleName+" "),null!==e.lastName&&(t+=e.lastName+" "),null!==e.titleAfter&&(t+=e.titleAfter+" "),t.endsWith(" ")&&(t=t.substring(0,t.length-1)),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Yjl({name:"userFullName",type:e,pure:!0}),e}()},88426:function(e,t,i){"use strict";i.d(t,{yC:function(){return S},F5:function(){return T},sM:function(){return x},e8:function(){return v},EB:function(){return w},ly:function(){return D},xw:function(){return O},x4:function(){return a},v0:function(){return y},Ct:function(){return z},SZ:function(){return I},V6:function(){return E},d6:function(){return p},UA:function(){return P}});var n=i(33642),r=i(14732),o=i(31572),a=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return _createClass(e,[{key:"init",value:function(e){this.principal=e,this.initData(e)}},{key:"setPerunPolicies",value:function(e){this.perunPolicies=e}},{key:"getPerunPolicies",value:function(){return this.perunPolicies}},{key:"isAuthorized",value:function(e,t){if(null===this.principal.roles)return!1;var i,n=[],r=_createForOfIteratorHelper(this.fetchPolicyWithAllIncludedPolicies(e));try{for(r.s();!(i=r.n()).done;){var o=i.value;n=n.concat(o.perunRoles)}}catch(s){r.e(s)}finally{r.f()}var a=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(n,a)}},{key:"resolveAuthorization",value:function(e,t){var i,n=_createForOfIteratorHelper(e);try{for(n.s();!(i=n.n()).done;){for(var r=i.value,o=!0,a=0,s=Object.keys(r);a1&&void 0!==arguments[1]?arguments[1]: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)}},{key:"showError",value:function(e,t,i,n,r){this.addNotification.emit({type:"error",error:t,description:i,title:e,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}},{key:"showSuccess",value:function(e,t,i,n){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===i&&void 0!==t?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(d.sK))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),S=function(){var e=function(){function e(t,i,n,r,o,a){_classCallCheck(this,e),this.authService=t,this.apiRequestConfiguration=i,this.notificator=n,this.store=r,this.dialog=o,this.initAuthService=a}return _createClass(e,[{key:"intercept",value:function(e,t){var i=this,n=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==n&&-1!==e.url.toString().indexOf(n)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){var r=(0,u.kZ)();r.width="450px",this.dialog.open(f,r).afterClosed().subscribe(function(){i.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});var o=this.apiRequestConfiguration.shouldHandleError(),a="POST"===e.method&&!this.store.skipOidc();return t.handle(e).pipe((0,C.b)(function(e){e instanceof A.Zn&&a&&i.initAuthService.loadPrincipal()},function(t){var n=i.formatErrors(t,e);return void 0===n?(0,k._)(t):o?void i.notificator.showRPCError(n):(0,k._)(n)}))}},{key:"formatErrors",value:function(e,t){var i;if(console.error(e),e.error.errorId?i=e.error:e.errorId&&(i=JSON.parse(e.error)),void 0!==i)return i.urlWithParams=t.urlWithParams,i.call=t.url,i.payload=t.body,i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(v),o.LFG(T),o.LFG(E),o.LFG(p),o.LFG(l.uw),o.LFG(y))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),I=function(){var e=function(){function e(){_classCallCheck(this,e),this.notificationData=[],this.newNotificationsCount=0}return _createClass(e,[{key:"storeNotification",value:function(e){this.newNotificationsCount++,this.notificationData.push(e)}},{key:"getNotifications",value:function(){return this.notificationData.reverse()}},{key:"clearNotifications",value:function(){this.notificationData=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),R=i(47727),x=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this.http=t,this.notificator=i,this.authService=n,this.storeService=r}return _createClass(e,[{key:"getApiUrl",value:function(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}},{key:"formatErrors",value:function(e,t,i,n){var r=e.error;return r.call=t,r.payload=i,n&&this.notificator.showRPCError(e.error),(0,k._)(r)}},{key:"getHeaders",value:function(){var e=new A.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue())}},{key:"get",value:function(e){var t=this,i=(arguments.length>1&&void 0!==arguments[1]||new A.LE,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),n="".concat(this.getApiUrl()).concat(e);return this.http.get(n,{headers:this.getHeaders()}).pipe((0,R.K)(function(e){return t.formatErrors(e,n,null,i)}))}},{key:"put",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),o=JSON.stringify(i);return this.http.put(r,o,{headers:this.getHeaders()}).pipe((0,R.K)(function(e){return t.formatErrors(e,r,o,n)}))}},{key:"post",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),o=JSON.stringify(i),a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,o,{headers:a}).pipe((0,R.K)(function(e){return t.formatErrors(e,r,o,n)}))}},{key:"delete",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="".concat(this.getApiUrl()).concat(e);return this.http.delete(n,{headers:this.getHeaders()}).pipe((0,R.K)(function(e){return t.formatErrors(e,n,null,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(A.eN),o.LFG(E),o.LFG(v),o.LFG(p))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),O=function(){var e=function(){function e(t){var i=this;_classCallCheck(this,e),this.router=t,this.lastState="forward",this.history=new Set,t.events.subscribe(function(e){e instanceof c.OD&&("popstate"===e.navigationTrigger?i.history.has(e.restoredState.navigationId)?(i.lastState="back",i.history.delete(e.restoredState.navigationId)):(i.lastState="forward",i.history.add(e.id)):(i.history.add(e.id),i.lastState="forward"))})}return _createClass(e,[{key:"forceNavigate",value:function(e,t){if(null!==e){var i="";e.forEach(function(e){return i+="/"+e}),i.length>0&&(i=i.substring(1)),void 0===t&&(t={}),t.queryParams={redirectTo:i},this.router.navigate(["redirect"],t)}}},{key:"getLastState",value:function(){return this.lastState}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(c.F0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),P=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isAllSelectedWithDisabledCheckbox",value:function(e,t,i,n,r,o,a,s){var c=this;return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===t?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,a).forEach(function(e){c.pageStart<=c.pageIterator&&c.pageIterator=3?null:{isWeak:!0}}}}]),e}()},38457:function(e,t,i){"use strict";i.d(t,{f7:function(){return s},B2:function(){return c},g$:function(){return u},kN:function(){return l},$0:function(){return h},lt:function(){return d},bD:function(){return f},hu:function(){return p},Cz:function(){return g},te:function(){return v},ys:function(){return m},vL:function(){return y},sF:function(){return _},XI:function(){return b},OV:function(){return w},MX:function(){return A},oU:function(){return k},IL:function(){return C},Jc:function(){return T},v$:function(){return E},i5:function(){return S},kZ:function(){return I},dv:function(){return R},Hm:function(){return x},Oe:function(){return O},Gw:function(){return P},x2:function(){return D},sG:function(){return M},pR:function(){return N},Sd:function(){return z},Xn:function(){return Z},O6:function(){return B},aC:function(){return F},fx:function(){return q},mH:function(){return H}});var n=i(64762),r=i(84608),o=i(61511),a=i(82051),s=[5,10,25,100],c=/^(([^<>+()[\]\\.,;:\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 u(e){var t="";return e&&null!==e.userAttributes&&(e.userAttributes.forEach(function(e){"preferredMail"===e.friendlyName&&(t=e.value)}),t&&0===t.length&&null!==e.memberAttributes&&e.memberAttributes.forEach(function(e){"mail"===e.friendlyName&&null!==e.value&&(t=e.value)})),t}function l(e){var t="";return e&&e.userAttributes.forEach(function(e){"preferredMail"===e.friendlyName&&(t=e.value)}),t}function h(e){var t="";return e&&e.userAttributes&&e.userAttributes.filter(function(e){return"login-namespace"===e.baseFriendlyName}).filter(function(e){return null!==e.value}).forEach(function(e){t+=e.friendlyNameParameter+": "+e.value+", "}),t.endsWith(", ")&&(t=t.substring(0,t.length-2)),t}function d(e){var t="";return e&&e.userAttributes&&e.userAttributes.filter(function(e){return"login-namespace"===e.baseFriendlyName}).filter(function(e){return null!==e.value}).forEach(function(e){t+=e.friendlyNameParameter+": "+e.value+", "}),t.endsWith(", ")&&(t=t.substring(0,t.length-2)),t}function f(e){var t="";return null!==e.titleBefore&&(t+=e.titleBefore+" "),null!==e.firstName&&(t+=e.firstName+" "),null!==e.middleName&&(t+=e.middleName+" "),null!==e.lastName&&(t+=e.lastName+" "),null!==e.titleAfter&&(t+=e.titleAfter+" "),t.endsWith(" ")&&(t=t.substring(0,t.length-1)),t}function p(e){var t="";return null!==e.firstName&&(t+=e.firstName+" "),null!==e.middleName&&(t+=e.middleName+" "),null!==e.lastName&&(t+=e.lastName+" "),t.endsWith(" ")&&(t=t.substring(0,t.length-1)),t}function g(e){var t="";return e.split(/(?=[A-Z])/g).forEach(function(e){t=(t=t.concat(e.toLowerCase())).concat(" ")}),t=t.charAt(0).toUpperCase()+t.slice(1,t.length-1)}function v(e){var t,i="",n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;"technical"===r.type&&(i+=r.name+", ")}}catch(o){n.e(o)}finally{n.f()}return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function m(e,t){return(0,n.mG)(this,void 0,void 0,regeneratorRuntime.mark(function i(){var n;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,n=e,new Promise(function(e){return setTimeout(e,n)});case 2:t();case 3:case"end":return i.stop()}},i)}))}function y(e){return JSON.parse(localStorage.getItem(e))||[]}function _(e,t){if(null===localStorage.getItem(e)){var i=[];i.unshift(t.id),localStorage.setItem(e,JSON.stringify(i))}else{var n=JSON.parse(localStorage.getItem(e)),r=function(e,t){for(var i=0;i0&&n.splice(r,1),0!==r&&n.unshift(t.id),n.length>5&&n.pop(),localStorage.setItem(e,JSON.stringify(n))}}function b(e,t){if(null===localStorage.getItem("recent")){var i;i="Group"===e.beanName?[{id:e.id,name:e.shortName,fullName:e.name,type:e.beanName,voId:e.voId,voName:t}]:[{id:e.id,name:e.name,type:e.beanName,voId:e.voId}],localStorage.setItem("recent",JSON.stringify(i))}else{var n,r=JSON.parse(localStorage.getItem("recent")),o=function(e,t){for(var i=0;i0&&r.splice(o,1),0!==o&&r.unshift(n),r.length>5&&r.pop(),localStorage.setItem("recent",JSON.stringify(r))}}function w(e){var t="";return e&&e.userAttributes.forEach(function(e){"organization"===e.friendlyName&&(t=e.value)}),t}function A(e){return e.filter(function(e){return!e.namespace.includes("def:core")})}function k(e,t){var i=t.find(function(t){return t.id===e});return i?i.parentGroupId?k(i.parentGroupId,t).concat(i):[i]:[]}function C(e,t){var i,n=_createForOfIteratorHelper(e);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.namespace+":"+r.friendlyName===t)return r}}catch(o){n.e(o)}finally{n.f()}return null}function T(e){return null!=e.attributes["urn:perun:member:attribute-def:def:mail"]?e.attributes["urn:perun:member:attribute-def:def:mail"]:null!=e.attributes["urn:perun:user:attribute-def:def:preferredMail"]?e.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function E(e){return e.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function(e){if(e.includes("/CN=")){var t=e.split("/");for(var i in t)if(i.startsWith("CN="))return n=i.substring(3),decodeURIComponent(n.replace(/\\x/g,"%"))}var n;return e}(e.userExtSource.extSource.name):e.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function(e){switch(e){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":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":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"@mojeid.extidp.cesnet.cz":return"MojeID";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@elixir-europe.org":return"Elixir Europe";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return e}}(e.userExtSource.extSource.name):e.userExtSource.extSource.name}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["en","cs"],t={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return e.forEach(function(e){t.message[e]={locale:e,subject:"",text:""}}),t}function I(){var e=new r.vA;return e.disableClose=!0,e.autoFocus=!1,e}function R(e){var t,i={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null},n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;i.i18n[r]={locale:r,errorMessage:"",help:"",label:"",options:""}}}catch(o){n.e(o)}finally{n.f()}return i}function x(e){return"virt"===e.namespace.split(":")[4]}function O(e,t){return"valid"!==e.toLowerCase()||t&&"valid"!==e.toLowerCase()?e:"ACTIVE"}function P(e){var t="";return e&&null!==e.memberAttributes&&(e.memberAttributes.forEach(function(e){"organization"===e.friendlyName&&null!==e.value&&(t=e.value)}),0===t.length&&null!==e.userAttributes&&e.userAttributes.forEach(function(e){"organization"===e.friendlyName&&(t=e.value)})),t}function D(e){var t=e.attributes.find(function(e){return"groupMembershipExpiration"===e.baseFriendlyName});return t&&t.value?t.value:"Never"}function M(e){return e&&"never"!==e.toLowerCase()?(0,o.p6)(e,"d.M.yyyy","en"):e}var L=new Intl.Collator("cs",{numeric:!0});function N(e,t,i,n){var r=t.active,o=t.direction;return r&&""!==o?e.sort(function(e,t){var a=i(e,r,n),s=i(t,r,n);return L.compare(a,s)*("asc"===o?1:-1)}):e}function z(e,t,i,n,r,o){t=t.toLowerCase();var a="";return i.forEach(function(t){a+=";"+n(e,t,r)}),o&&(a+=";"+n(e,"uuid",r)),-1!==a.toLowerCase().indexOf(t)}function Z(e,t,i,n){var r=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return t=t.filter(function(e){return!o.includes(e)}),e.forEach(function(e){var o={};t.forEach(function(t){var r;o[t]=(null!==(r=i(e,t,n))&&void 0!==r?r:"").split('"').join("''").trim()}),r.push(o)}),r}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"export";switch(t){case"csv":var n=function(e,t){return null===t?"":t},r=Object.keys(e[0]),o=e.map(function(e){return r.map(function(t){return JSON.stringify(e[t],n)}).join(",")});o.unshift(r.join(",").split(" ").join("_").split('"').join("''"));var s=o.join("\r\n"),c=new Blob([s],{type:"text/csv"});(0,a.saveAs)(c,"".concat(i,".").concat(t))}}function F(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:e.name.toLowerCase()===t.name.toLowerCase()?0:-1}function q(e,t){var i,n,r,o,a,s;return e.user?(a=e.user.lastName?e.user.lastName:null!==(i=e.user.firstName)&&void 0!==i?i:"",s=t.user.lastName?t.user.lastName:null!==(n=t.user.firstName)&&void 0!==n?n:""):(a=e.lastName?e.lastName:null!==(r=e.firstName)&&void 0!==r?r:"",s=t.lastName?t.lastName:null!==(o=t.firstName)&&void 0!==o?o:""),a>s?1:a===s?0:-1}function H(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];e.enable(),e.clearValidators(),e.clearAsyncValidators(),e.setValidators(t),e.setAsyncValidators(i),e.updateValueAndValidity()}},82819:function(e,t,i){"use strict";i.d(t,{l:function(){return p}});var n=i(31572),r=i(73005),o=i(38457),a=i(61511),s=i(15980),c=i(8055),u=i(43691),l=i(48160),h=function(){var e=function e(){_classCallCheck(this,e),this.exportData=new n.vpe};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,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&&(n.TgZ(0,"div",0),n.TgZ(1,"button",1),n.TgZ(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA(),n.qZA(),n.TgZ(4,"mat-menu",null,2),n.TgZ(6,"button",3),n._uU(7),n.ALo(8,"translate"),n.qZA(),n.qZA(),n.TgZ(9,"mat-menu",null,4),n.TgZ(11,"button",5),n.NdJ("click",function(){return t.exportData.emit("csv")}),n._uU(12,"Csv"),n.qZA(),n.qZA(),n.qZA()),2&e){var i=n.MAs(5),r=n.MAs(10);n.xp6(1),n.Q6J("matMenuTriggerFor",i),n.xp6(5),n.Q6J("matMenuTriggerFor",r),n.xp6(1),n.hij(" ",n.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[s.lW,c.p6,u.Hw,c.VK,c.OP],pipes:[l.X$],styles:[""]}),e}();function d(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"perun-web-apps-table-options",6),n.NdJ("exportData",function(e){return n.CHM(i),n.oxw().exportData.emit(e)}),n.qZA()}}var f=["*"],p=function(){var e=function(){function e(){_classCallCheck(this,e),this.hideExport=!1,this.page=new n.vpe,this.pageSizeOptions=o.f7,this.pageSize=5,this.dataLength=0,this.exportData=new n.vpe}return _createClass(e,[{key:"matPaginator",set:function(e){this.paginator=e}},{key:"pageChanged",value:function(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.page.emit(e),this.paginator.page.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){var i;(1&e&&n.Gf(r.NW,7),2&e)&&(n.iGM(i=n.CRH())&&(t.matPaginator=i.first))},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:f,decls:7,vars:8,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&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"mat-paginator",2),n.NdJ("page",function(e){return t.page.emit(e)}),n.qZA(),n.YNc(3,d,1,0,"perun-web-apps-table-options",3),n.qZA(),n.TgZ(4,"div",4),n.Hsn(5),n.qZA(),n.TgZ(6,"mat-paginator",5),n.NdJ("page",function(e){return t.pageChanged(e)}),n.qZA(),n.qZA()),2&e&&(n.xp6(2),n.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),n.xp6(1),n.Q6J("ngIf",!t.hideExport),n.xp6(3),n.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize))},directives:[r.NW,a.O5,h],styles:[""]}),e}()},39571:function(e,t,i){"use strict";i.d(t,{w:function(){return c}});var n=i(31572),r=i(61511),o=i(43691);function a(e,t){1&e&&(n.TgZ(0,"mat-icon",2),n._uU(1," error "),n.qZA())}var s=["*"],c=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:s,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(e,t){1&e&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,a,2,0,"mat-icon",1),n.Hsn(2),n.qZA()),2&e&&(n.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("info-alert","info"===t.alert_type),n.xp6(1),n.Q6J("ngIf","error"!==t.alert_type))},directives:[r.O5,o.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),e}()},22727:function(e,t,i){"use strict";i.d(t,{r:function(){return a}});var n=i(43691),r=i(61511),o=i(31572),a=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[n.Ps,r.ez]]}),e}()},10709:function(e,t,i){"use strict";i.d(t,{l3:function(){return o},_j:function(){return n},LC:function(){return r},ZN:function(){return m},jt:function(){return s},pV:function(){return p},ru:function(){return c},F4:function(){return d},IO:function(){return g},vP:function(){return u},SB:function(){return h},oB:function(){return l},eR:function(){return f},X$:function(){return a},ZE:function(){return y},k1:function(){return _}});var n=function e(){_classCallCheck(this,e)},r=function e(){_classCallCheck(this,e)},o="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function h(e,t,i){return{type:0,name:e,styles:t,options:i}}function d(e){return{type:5,steps:e}}function f(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:i}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function g(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:i}}function v(e){Promise.resolve(null).then(e)}var m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+i}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;v(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),y=function(){function e(t){var i=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,o=0,a=this.players.length;0==a?v(function(){return i._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==a&&i._onFinish()}),e.onDestroy(function(){++r==a&&i._onDestroy()}),e.onStart(function(){++o==a&&i._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var i=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(i)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),_="!"},24621:function(e,t,i){"use strict";i.d(t,{rt:function(){return j},s1:function(){return T},$s:function(){return w},Qr:function(){return N},kH:function(){return U},mK:function(){return P},Em:function(){return E},tE:function(){return q},qV:function(){return O},qm:function(){return G},Kd:function(){return L},X6:function(){return z},yG:function(){return Z}});var n=i(61511),r=i(31572),o=i(55959),a=i(87570),s=i(40878),c=i(75842),u=i(66599),l=i(47701),h=i(43835),d=i(79996),f=i(90611),p=i(19861),g=i(11353),v=i(36337);function m(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var y=0,_=new Map,b=null,w=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t,i){if(this._canBeDescribed(e,t)){var n=A(t,i);"string"!=typeof t?(k(t),_.set(n,{messageElement:t,referenceCount:0})):_.has(n)||this._createMessageElement(t,i),this._isElementDescribedByMessage(e,n)||this._addMessageReference(e,n)}}},{key:"removeDescription",value:function(e,t,i){if(t&&this._isElementNode(e)){var n=A(t,i);if(this._isElementDescribedByMessage(e,n)&&this._removeMessageReference(e,n),"string"==typeof t){var r=_.get(n);r&&0===r.referenceCount&&this._deleteMessageElement(n)}b&&0===b.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==i._activeItemIndex&&(i._activeItemIndex=t)}})}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(function(t){return e._pressedLetters.push(t)}),(0,l.b)(t),(0,h.h)(function(){return e._pressedLetters.length>0}),(0,d.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var i=e._getItemsArray(),n=1;n0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,i=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(function(i){return!e[i]||t._allowedModifierKeys.indexOf(i)>-1});switch(i){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,c.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=c.A&&i<=c.Z||i>=c.xE&&i<=c.aO)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),i="number"==typeof e?e:t.indexOf(e),n=t[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),i=1;i<=t.length;i++){var n=(this._activeItemIndex+e*i+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(!i[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),e}(),T=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(i.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),i}(C),E=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._origin="program",e}return _createClass(i,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(i.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),i}(C),S=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,i=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(i){if(-1===R(i))return!1;if(!this.isVisible(i))return!1}var n=e.nodeName.toLowerCase(),r=R(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),i="input"===t&&e.type;return"text"===i||"password"===i||"select"===t||"textarea"===t}(e))&&("audio"===n?!!e.hasAttribute("controls")&&-1!==r:"video"===n?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||I(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(g.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(g.t4))},token:e,providedIn:"root"}),e}();function I(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function R(e){if(!I(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var x=function(){function e(t,i,n,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(i){t._executeOnStable(function(){return i(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(i){t._executeOnStable(function(){return i(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(i){t._executeOnStable(function(){return i(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),i=0;i=0;i--){var n=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(n)return n}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(e)}}]),e}(),O=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._checker=t,this._ngZone=i,this._document=n}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new x(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(S),r.LFG(r.R0b),r.LFG(n.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(S),r.LFG(r.R0b),r.LFG(n.K0))},token:e,providedIn:"root"}),e}(),P=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=i,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return _createClass(e,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=(0,p.Ig)(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=(0,p.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(e){var t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(O),r.Y36(n.K0))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),e}();"undefined"!=typeof Element&∈var D=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),M=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),L=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._ngZone=i,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,i,n,r=this,o=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1],i=(0,p.fI)(e);if(!this._platform.isBrowser||1!==i.nodeType)return(0,s.of)(null);var n=(0,g.kV)(i)||this._getDocument(),r=this._elementInfo.get(i);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new o.xQ,rootNode:n};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=(0,p.fI)(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}},{key:"focusVia",value:function(e,t,i){var n=this,r=(0,p.fI)(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var i=_slicedToArray(e,2),r=i[0],o=i[1];return n._originChanged(r,t,o)}):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(i))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,i){return e.stopMonitoring(i)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,i){i?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=H(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var i=this._elementInfo.get(t);i&&(i.checkChildren||t===H(e))&&this._originChanged(t,this._getFocusOrigin(e),i)}},{key:"_onBlur",value:function(e,t){var i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var i=e.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(function(){i.addEventListener("focus",t._rootNodeFocusAndBlurListener,F),i.addEventListener("blur",t._rootNodeFocusAndBlurListener,F)}),this._rootNodeFocusListenerCount.set(i,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),i=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,F),e.addEventListener("mousedown",t._documentMousedownListener,F),e.addEventListener("touchstart",t._documentTouchstartListener,F),i.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var i=this._rootNodeFocusListenerCount.get(t);i>1?this._rootNodeFocusListenerCount.set(t,i-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,F),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,F),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var n=this._getDocument(),r=this._getWindow();n.removeEventListener("keydown",this._documentKeydownListener,F),n.removeEventListener("mousedown",this._documentMousedownListener,F),n.removeEventListener("touchstart",this._documentTouchstartListener,F),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,i){this._setClasses(e,t),this._emitOrigin(i.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(i,n){(n===e||i.checkChildren&&n.contains(e))&&t.push([n,i])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(g.t4),r.LFG(n.K0,8),r.LFG(B,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(g.t4),r.LFG(n.K0,8),r.LFG(B,8))},token:e,providedIn:"root"}),e}();function H(e){return e.composedPath?e.composedPath()[0]:e.target}var U=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._elementRef=t,this._focusMonitor=i,this.cdkFocusChange=new r.vpe}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this,t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return e.cdkFocusChange.emit(t)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(q))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),G=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._platform=t,this._document=i}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),n){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(g.t4),r.LFG(n.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(g.t4),r.LFG(n.K0))},token:e,providedIn:"root"}),e}(),j=function(){var e=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(r.LFG(G))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[g.ud,v.Q8]]}),e}()},22526:function(e,t,i){"use strict";i.d(t,{vT:function(){return s},Is:function(){return a}});var n=i(31572),r=i(61511),o=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.f3M)(r.K0)}}),a=function(){var e=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new n.vpe,t){var i=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||i;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(o,8))},e.\u0275prov=n.Yz7({factory:function(){return new e(n.LFG(o,8))},token:e,providedIn:"root"}),e}(),s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({}),e}()},81391:function(e,t,i){"use strict";i.d(t,{i3:function(){return c},TU:function(){return a},Iq:function(){return u}});var n=i(61511),r=i(31572),o=function(){function e(t,i){_classCallCheck(this,e),this._document=i;var n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}return _createClass(e,[{key:"copy",value:function(){var e=this._textarea,t=!1;try{if(e){var i=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),i&&i.focus()}}catch(n){}return t}},{key:"destroy",value:function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}]),e}(),a=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"copy",value:function(e){var t=this.beginCopy(e),i=t.copy();return t.destroy(),i}},{key:"beginCopy",value:function(e){return new o(e,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(n.K0))},token:e,providedIn:"root"}),e}(),s=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG"),c=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._clipboard=t,this._ngZone=i,this.text="",this.attempts=1,this.copied=new r.vpe,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}return _createClass(e,[{key:"copy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(t>1){var i=t,n=this._clipboard.beginCopy(this.text);this._pending.add(n);var r=function t(){var r=n.copy();r||!--i||e._destroyed?(e._currentTimeout=null,e._pending.delete(n),n.destroy(),e.copied.emit(r)):e._currentTimeout=e._ngZone.runOutsideAngular(function(){return setTimeout(t,1)})};r()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(e){return e.destroy()}),this._pending.clear(),this._destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(a),r.Y36(r.R0b),r.Y36(s,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&r.NdJ("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),e}(),u=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}()},19861:function(e,t,i){"use strict";i.d(t,{t6:function(){return a},Eq:function(){return s},Ig:function(){return r},HM:function(){return c},fI:function(){return u},su:function(){return o},du:function(){return l}});var n=i(31572);function r(e){return null!=e&&"false"!="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(e)?Number(e):t}function a(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function s(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function u(e){return e instanceof n.SBq?e.nativeElement:e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,i=[];if(null!=e){var n,r=Array.isArray(e)?e:"".concat(e).split(t),o=_createForOfIteratorHelper(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,s="".concat(a).trim();s&&i.push(s)}}catch(c){o.e(c)}finally{o.f()}}return i}},4230:function(e,t,i){"use strict";i.d(t,{P3:function(){return u},o2:function(){return s},Ov:function(){return d},A8:function(){return f},yy:function(){return l},eX:function(){return h},k:function(){return p},Z9:function(){return c}});var n=i(4710),r=i(40878),o=i(55959),a=i(31572),s=function e(){_classCallCheck(this,e)};function c(e){return e&&"function"==typeof e.connect}var u=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this))._data=e,n}return _createClass(i,[{key:"connect",value:function(){return(0,n.b)(this._data)?this._data:(0,r.of)(this._data)}},{key:"disconnect",value:function(){}}]),i}(s),l=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"applyChanges",value:function(e,t,i,n,r){e.forEachOperation(function(e,n,o){var a,s;if(null==e.previousIndex){var c=i(e,n,o);a=t.createEmbeddedView(c.templateRef,c.context,c.index),s=1}else null==o?(t.remove(n),s=3):(a=t.get(n),t.move(a,o),s=2);r&&r({context:null==a?void 0:a.context,operation:s,record:e})})}},{key:"detach",value:function(){}}]),e}(),h=function(){function e(){_classCallCheck(this,e),this.viewCacheSize=20,this._viewCache=[]}return _createClass(e,[{key:"applyChanges",value:function(e,t,i,n,r){var o=this;e.forEachOperation(function(e,a,s){var c,u;null==e.previousIndex?u=(c=o._insertView(function(){return i(e,a,s)},s,t,n(e)))?1:0:null==s?(o._detachAndCacheView(a,t),u=3):(c=o._moveView(a,s,t,n(e)),u=2),r&&r({context:null==c?void 0:c.context,operation:u,record:e})})}},{key:"detach",value:function(){var e,t=_createForOfIteratorHelper(this._viewCache);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(i){t.e(i)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,i,n){var r=this._insertViewFromCache(t,i);if(!r){var o=e();return i.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=n}},{key:"_detachAndCacheView",value:function(e,t){var i=t.detach(e);this._maybeCacheView(i,t)}},{key:"_moveView",value:function(e,t,i,n){var r=i.get(e);return i.move(r,t),r.context.$implicit=n,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=i,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.xQ,n&&n.length&&(i?n.forEach(function(e){return t._markSelected(e)}):this._markSelected(n[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n-1?1:1e3;return parseFloat(e)*t}function E(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}function S(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function I(e,t,i){var n=e.top,r=e.bottom,o=e.left,a=e.right;return i>=n&&i<=r&&t>=o&&t<=a}function R(e,t,i){e.top+=t,e.bottom=e.top+e.height,e.left+=i,e.right=e.left+e.width}function x(e,t,i,n){var r=e.top,o=e.right,a=e.bottom,s=e.left,c=e.width*t,u=e.height*t;return n>r-u&&ns-c&&i=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(e),o=s._dropContainer;if(!r)return void s._endDragSequence(e);o&&(o.isDragging()||o.isReceiving())||(e.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(e)}))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t).withParent(i.parentDragRef||null),this._parentPositions=new O(n,o),a.registerDragItem(this)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=(0,s.Ig)(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(function(e){return A(e,t)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(e){var t=this;this._handles=e.map(function(e){return(0,s.fI)(e)}),this._handles.forEach(function(e){return A(e,t.disabled)}),this._toggleNativeDragInteractions();var i=new Set;return this._disabledHandles.forEach(function(e){t._handles.indexOf(e)>-1&&i.add(e)}),this._disabledHandles=i,this}},{key:"withPreviewTemplate",value:function(e){return this._previewTemplate=e,this}},{key:"withPlaceholderTemplate",value:function(e){return this._placeholderTemplate=e,this}},{key:"withRootElement",value:function(e){var t=this,i=(0,s.fI)(e);return i!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){i.addEventListener("mousedown",t._pointerDown,Z),i.addEventListener("touchstart",t._pointerDown,z)}),this._initialTransform=void 0,this._rootElement=i),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?(0,s.fI)(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return t._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(e){return this._parentDragRef=e,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&H(this._rootElement),H(this._anchor),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}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),A(e,!0))}},{key:"enableHandle",value:function(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),A(e,this.disabled))}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"_withDropContainer",value:function(e){this._dropContainer=e}},{key:"getFreeDragPosition",value:function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}},{key:"setFreeDragPosition",value:function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}},{key:"withPreviewContainer",value:function(e){return this._previewContainer=e,this}},{key:"_sortFromLastPointerPosition",value:function(){var e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&H(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&H(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;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(function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)});else{this._passiveTransform.x=this._activeTransform.x;var i=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){t.ended.next({source:t,distance:t._getDragDistance(i),dropPoint:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(e){U(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t=this._dropContainer;if(t){var i=this._rootElement,n=i.parentNode,r=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();n.insertBefore(o,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),k(i,!1),this._document.body.appendChild(n.replaceChild(r,i)),this._getPreviewInsertionPoint(n,a).appendChild(this._preview),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var i=this;this._parentDragRef&&t.stopPropagation();var n=this.isDragging(),r=U(t),o=!r&&0!==t.button,a=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(n||o||s)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.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.scroll.subscribe(function(e){i._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=S(this._boundaryElement));var c=this._previewTemplate;this._pickupPositionInElement=c&&c.template&&!c.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}}},{key:"_cleanupDragArtifacts",value:function(e){var t=this;k(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var i=t._dropContainer,n=i.getItemIndex(t),r=t._getPointerPositionOnPage(e),o=t._getDragDistance(r),a=i._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:o,dropPoint:r}),t.dropped.next({item:t,currentIndex:n,previousIndex:t._initialIndex,container:i,previousContainer:t._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r}),i.drop(t,n,t._initialIndex,t._initialContainer,a,o,r),t._dropContainer=t._initialContainer})}},{key:"_updateActiveDropContainer",value:function(e,t){var i=this,n=e.x,r=e.y,o=t.x,a=t.y,s=this._initialContainer._getSiblingContainerFromPosition(this,n,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){i.exited.next({item:i,container:i._dropContainer}),i._dropContainer.exit(i),i._dropContainer=s,i._dropContainer.enter(i,n,r,s===i._initialContainer&&s.sortingDisabled?i._initialIndex:void 0),i.entered.next({item:i,container:s,currentIndex:s.getItemIndex(i)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,a),this._dropContainer._sortItem(this,n,r,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var e,t=this._previewTemplate,i=this.previewClass,n=t?t.template:null;if(n&&t){var r=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(n,t.context);o.detectChanges(),e=G(o,this._document),this._previewRef=o,t.matchSize?j(e,r):e.style.transform=F(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;j(e=P(a),a.getBoundingClientRect()),this._initialTransform&&(e.style.transform=this._initialTransform)}return w(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"".concat(this._config.zIndex||1e3)}),A(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),i&&(Array.isArray(i)?i.forEach(function(t){return e.classList.add(t)}):e.classList.add(i)),e}},{key:"_animatePreviewToPlaceholder",value:function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);var i=function(e){var t=getComputedStyle(e),i=E(t,"transition-property"),n=i.find(function(e){return"transform"===e||"all"===e});if(!n)return 0;var r=i.indexOf(n),o=E(t,"transition-duration"),a=E(t,"transition-delay");return T(o[r])+T(a[r])}(this._preview);return 0===i?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var n=function i(n){(!n||n.target===e._preview&&"transform"===n.propertyName)&&(e._preview.removeEventListener("transitionend",i),t(),clearTimeout(r))},r=setTimeout(n,1.5*i);e._preview.addEventListener("transitionend",n)})})}},{key:"_createPlaceholderElement",value:function(){var e,t=this._placeholderTemplate,i=t?t.template:null;return i?(this._placeholderRef=t.viewContainer.createEmbeddedView(i,t.context),this._placeholderRef.detectChanges(),e=G(this._placeholderRef,this._document)):e=P(this._rootElement),e.classList.add("cdk-drag-placeholder"),e}},{key:"_getPointerPositionInElement",value:function(e,t){var i=this._rootElement.getBoundingClientRect(),n=e===this._rootElement?null:e,r=n?n.getBoundingClientRect():i,o=U(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition();return{x:r.left-i.left+(o.pageX-r.left-a.left),y:r.top-i.top+(o.pageY-r.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(e){var t=this._getViewportScrollPosition(),i=U(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,n=i.pageX-t.left,r=i.pageY-t.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var a=this._ownerSVGElement.createSVGPoint();return a.x=n,a.y=r,a.matrixTransform(o.inverse())}}return{x:n,y:r}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this._dropContainer?this._dropContainer.lockAxis:null,i=this.constrainPosition?this.constrainPosition(e,this):e,n=i.x,r=i.y;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,a=o.x,s=o.y,c=this._boundaryRect,u=this._previewRect,l=c.top+s,h=c.bottom-(u.height-s);n=q(n,c.left+a,c.right-(u.width-a)),r=q(r,l,h)}return{x:n,y:r}}},{key:"_updatePointerDirectionDelta",value:function(e){var t=e.x,i=e.y,n=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-r.x),a=Math.abs(i-r.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=t>r.x?1:-1,r.x=t),a>this._config.pointerDirectionChangeThreshold&&(n.y=i>r.y?1:-1,r.y=i),n}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,A(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,Z),e.removeEventListener("touchstart",this._pointerDown,z)}},{key:"_applyRootElementTransform",value:function(e,t){var i=F(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=C(i,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(e,t){var i,n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,r=F(e,t);this._preview.style.transform=C(r,n)}},{key:"_getDragDistance",value:function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var e=this._passiveTransform,t=e.x,i=e.y;if(!(0===t&&0===i||this.isDragging())&&this._boundaryElement){var n=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===n.width&&0===n.height||0===r.width&&0===r.height)){var o=n.left-r.left,a=r.right-n.right,s=n.top-r.top,c=r.bottom-n.bottom;n.width>r.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,n.height>r.height?(s>0&&(i+=s),c>0&&(i-=c)):i=0,t===this._passiveTransform.x&&i===this._passiveTransform.y||this.setFreeDragPosition({y:i,x:t})}}}},{key:"_getDragStartDelay",value:function(e){var t=this.dragStartDelay;return"number"==typeof t?t:U(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);if(t){var i=e.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&R(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,a.kV)(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(e,t){var i=this._previewContainer||"global";if("parent"===i)return e;if("global"===i){var n=this._document;return t||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return(0,s.fI)(i)}}]),e}();function F(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function q(e,t,i){return Math.max(t,Math.min(i,e))}function H(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function U(e){return"t"===e.type[0]}function G(e,t){var i=e.rootNodes;if(1===i.length&&i[0].nodeType===t.ELEMENT_NODE)return i[0];var n=t.createElement("div");return i.forEach(function(e){return n.appendChild(e)}),n}function j(e,t){e.style.width="".concat(t.width,"px"),e.style.height="".concat(t.height,"px"),e.style.transform=F(t.left,t.top)}function Y(e,t,i){var n=K(t,e.length-1),r=K(i,e.length-1);if(n!==r){for(var o=e[n],a=r-1&&o.splice(a,1),u&&!this._dragDropRegistry.isDragging(u)){var l=u.getRootElement();l.parentElement.insertBefore(c,l),o.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,i)){var h=o[0].getRootElement();h.parentNode.insertBefore(c,h),o.unshift(e)}else(0,s.fI)(this.element).appendChild(c),o.push(e);c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}},{key:"exit",value:function(e){this._reset(),this.exited.next({item:e,container:this})}},{key:"drop",value:function(e,t,i,n,r,o,a){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:r,distance:o,dropPoint:a})}},{key:"withItems",value:function(e){var t=this,i=this._draggables;return this._draggables=e,e.forEach(function(e){return e._withDropContainer(t)}),this.isDragging()&&(i.filter(function(e){return e.isDragging()}).every(function(t){return-1===e.indexOf(t)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"connectedTo",value:function(e){return this._siblings=e.slice(),this}},{key:"withOrientation",value:function(e){return this._orientation=e,this}},{key:"withScrollableParents",value:function(e){var t=(0,s.fI)(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t].concat(_toConsumableArray(e)):e.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(e){return this._isDragging?J("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(t){return t.drag===e}):this._draggables.indexOf(e)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(e,t,i,n){if(!this.sortingDisabled&&this._clientRect&&x(this._clientRect,.05,t,i)){var r=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,i,n);if(!(-1===o&&r.length>0)){var a="horizontal"===this._orientation,s=J(r,function(t){return t.drag===e}),c=r[o],u=c.clientRect,l=s>o?1:-1,h=this._getItemOffsetPx(r[s].clientRect,u,l),d=this._getSiblingOffsetPx(s,r,l),f=r.slice();Y(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:e}),r.forEach(function(t,i){if(f[i]!==t){var n=t.drag===e,r=n?h:d,o=n?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,a?(o.style.transform=C("translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),t.initialTransform),R(t.clientRect,0,r)):(o.style.transform=C("translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),t.initialTransform),R(t.clientRect,r,0))}}),this._previousSwap.overlaps=I(u,t,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?n.x:n.y}}}},{key:"_startScrollingIfNecessary",value:function(e,t){var i=this;if(!this.autoScrollDisabled){var n,r=0,o=0;if(this._parentPositions.positions.forEach(function(a,s){var c;s!==i._document&&a.clientRect&&!n&&x(a.clientRect,.05,e,t)&&(c=_slicedToArray(function(e,t,i,n){var r=X(t,n),o=$(t,i),a=0,s=0;if(r){var c=e.scrollTop;1===r?c>0&&(a=1):e.scrollHeight-c>e.clientHeight&&(a=2)}if(o){var u=e.scrollLeft;1===o?u>0&&(s=1):e.scrollWidth-u>e.clientWidth&&(s=2)}return[a,s]}(s,a.clientRect,e,t),2),r=c[0],o=c[1],(r||o)&&(n=s))}),!r&&!o){var a=this._viewportRuler.getViewportSize(),s=a.width,c=a.height,u={width:s,height:c,top:0,right:s,bottom:c,left:0};r=X(u,t),o=$(u,e),n=window}!n||r===this._verticalScrollDirection&&o===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=n,(r||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var e=(0,s.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var e=(0,s.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}},{key:"_cacheItemPositions",value:function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:S(t)}}).sort(function(t,i){return e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top})}},{key:"_reset",value:function(){var e=this;this._isDragging=!1;var t=(0,s.fI)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(t){var i,n=t.getRootElement();if(n){var r=null===(i=e._itemPositions.find(function(e){return e.drag===t}))||void 0===i?void 0:i.initialTransform;n.style.transform=r||""}}),this._siblings.forEach(function(t){return t._stopReceiving(e)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(e,t,i){var n="horizontal"===this._orientation,r=t[e].clientRect,o=t[e+-1*i],a=r[n?"width":"height"]*i;if(o){var s=n?"left":"top",c=n?"right":"bottom";-1===i?a-=o.clientRect[s]-r[c]:a+=r[s]-o.clientRect[c]}return a}},{key:"_getItemOffsetPx",value:function(e,t,i){var n="horizontal"===this._orientation,r=n?t.left-e.left:t.top-e.top;return-1===i&&(r+=n?t.width-e.width:t.height-e.height),r}},{key:"_shouldEnterAsFirstChild",value:function(e,t){if(!this._activeDraggables.length)return!1;var i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){var r=i[i.length-1].clientRect;return n?e>=r.right:t>=r.bottom}var o=i[0].clientRect;return n?e<=o.left:t<=o.top}},{key:"_getItemIndexFromPointerPosition",value:function(e,t,i,n){var r=this,o="horizontal"===this._orientation,a=J(this._itemPositions,function(a,s,c){var u=a.drag,l=a.clientRect;if(u===e)return c.length<2;if(n){var h=o?n.x:n.y;if(u===r._previousSwap.drag&&r._previousSwap.overlaps&&h===r._previousSwap.delta)return!1}return o?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&i-1})&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var e=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){if(e.isDragging()){var i=e._parentPositions.handleScroll(t);i&&(e._itemPositions.forEach(function(e){R(e.clientRect,i.top,i.left)}),e._itemPositions.forEach(function(t){var i=t.drag;e._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()}))}else e.isReceiving()&&e._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var e=(0,a.kV)((0,s.fI)(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var e=this,t=this._activeDraggables.filter(function(e){return e.isDragging()});this._siblings.forEach(function(i){return i._startReceiving(e,t)})}}]),e}();function J(e,t){for(var i=0;i=i-r&&t<=i+r?1:t>=n-r&&t<=n+r?2:0}function $(e,t){var i=e.left,n=e.right,r=.05*e.width;return t>=i-r&&t<=i+r?1:t>=n-r&&t<=n+r?2:0}var ee=(0,a.i$)({passive:!1,capture:!0}),te=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(e){return e.isDragging()},this.pointerMove=new c.xQ,this.pointerUp=new c.xQ,this.scroll=new c.xQ,this._preventDefaultWhileDragging=function(e){n._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=function(e){n._activeDragInstances.length>0&&(n._activeDragInstances.some(n._draggingPredicate)&&e.preventDefault(),n.pointerMove.next(e))},this._document=i}return _createClass(e,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._persistentTouchmoveListener,ee)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ee)}},{key:"startDragging",value:function(e,t){var i=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var n=t.type.startsWith("touch");this._globalListeners.set(n?"touchend":"mouseup",{handler:function(e){return i.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return i.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ee}),n||this._globalListeners.set("mousemove",{handler:function(e){return i.pointerMove.next(e)},options:ee}),this._ngZone.runOutsideAngular(function(){i._globalListeners.forEach(function(e,t){i._document.addEventListener(t,e.handler,e.options)})})}}},{key:"stopDragging",value:function(e){var t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(t){return e.removeDragItem(t)}),this._dropInstances.forEach(function(t){return e.removeDropContainer(t)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(t,i){e._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(n.R0b),n.LFG(r.K0))},e.\u0275prov=n.Yz7({factory:function(){return new e(n.LFG(n.R0b),n.LFG(r.K0))},token:e,providedIn:"root"}),e}(),ie={dragStartThreshold:5,pointerDirectionChangeThreshold:5},ne=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._document=t,this._ngZone=i,this._viewportRuler=n,this._dragDropRegistry=r}return _createClass(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie;return new B(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new V(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(r.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(te))},e.\u0275prov=n.Yz7({factory:function(){return new e(n.LFG(r.K0),n.LFG(n.R0b),n.LFG(o.rL),n.LFG(te))},token:e,providedIn:"root"}),e}(),re=new n.OlP("CDK_DRAG_PARENT"),oe=new n.OlP("CdkDropListGroup"),ae=new n.OlP("CDK_DRAG_CONFIG"),se=0,ce=new n.OlP("CdkDropList"),ue=function(){var e=function(){function e(t,i,r,o,a,s,u){var l=this;_classCallCheck(this,e),this.element=t,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=s,this._destroyed=new c.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+se++,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.sorted=new n.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(t),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=function(e,t){return l.enterPredicate(e.data,t.data)},this._dropListRef.sortPredicate=function(e,t,i){return l.sortPredicate(e,t.data,i.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),s&&s._items.add(this)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=(0,s.Ig)(e)}},{key:"addItem",value:function(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(e,t){return e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(t){var i=this;this._dir&&this._dir.change.pipe((0,g.O)(this._dir.value),(0,p.R)(this._destroyed)).subscribe(function(e){return t.withDirection(e)}),t.beforeStarted.subscribe(function(){var n=(0,s.Eq)(i.connectedTo).map(function(t){return"string"==typeof t?e._dropLists.find(function(e){return e.id===t}):t});if(i._group&&i._group._items.forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),!i._scrollableParentsResolved){var r=i._scrollDispatcher.getAncestorScrollContainers(i.element).map(function(e){return e.getElementRef().nativeElement});i._dropListRef.withScrollableParents(r),i._scrollableParentsResolved=!0}t.disabled=i.disabled,t.lockAxis=i.lockAxis,t.sortingDisabled=(0,s.Ig)(i.sortingDisabled),t.autoScrollDisabled=(0,s.Ig)(i.autoScrollDisabled),t.autoScrollStep=(0,s.su)(i.autoScrollStep,2),t.connectedTo(n.filter(function(e){return e&&e!==i}).map(function(e){return e._dropListRef})).withOrientation(i.orientation)})}},{key:"_handleEvents",value:function(e){var t=this;e.beforeStarted.subscribe(function(){t._syncItemsWithRef(),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:t,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:t,item:e.item.data}),t._changeDetectorRef.markForCheck()}),e.sorted.subscribe(function(e){t.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:t,item:e.item.data})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,i=e.draggingDisabled,n=e.sortingDisabled,r=e.listAutoScrollDisabled,o=e.listOrientation;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=r&&r,this.orientation=o||"vertical",t&&(this.lockAxis=t)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(e){return e._dragRef}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(ne),n.Y36(n.sBO),n.Y36(o.mF),n.Y36(b.Is,8),n.Y36(oe,12),n.Y36(ae,8))},e.\u0275dir=n.lG2({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(n.uIk("id",t.id),n.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"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n._Bn([{provide:oe,useValue:void 0},{provide:ce,useExisting:e}])]}),e._dropLists=[],e}(),le=new n.OlP("CdkDragHandle"),he=new n.OlP("CdkDragPlaceholder"),de=new n.OlP("CdkDragPreview"),fe=function(){var e=function(){function e(t,i,r,o,a,s,u,l,h,f,p){var g=this;_classCallCheck(this,e),this.element=t,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=u,this._changeDetectorRef=h,this._selfHandle=f,this._parentDrag=p,this._destroyed=new c.xQ,this.started=new n.vpe,this.released=new n.vpe,this.ended=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.dropped=new n.vpe,this.moved=new d.y(function(e){var t=g._dragRef.moved.pipe((0,v.U)(function(e){return{source:g,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=l.createDrag(t,{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,e._dragInstances.push(this),s&&this._assignDefaults(s),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=(0,s.Ig)(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.onStable.pipe((0,m.q)(1),(0,p.R)(this._destroyed)).subscribe(function(){e._updateRootElement(),e._handles.changes.pipe((0,g.O)(e._handles),(0,y.b)(function(t){var i=t.filter(function(t){return t._parentDrag===e}).map(function(e){return e.element});e._selfHandle&&e.rootElementSelector&&i.push(e.element),e._dragRef.withHandles(i)}),(0,_.w)(function(e){return f.T.apply(void 0,_toConsumableArray(e.map(function(e){return e._stateChanges.pipe((0,g.O)(e))})))}),(0,p.R)(e._destroyed)).subscribe(function(t){var i=e._dragRef,n=t.element.nativeElement;t.disabled?i.disableHandle(n):i.enableHandle(n)}),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})}},{key:"ngOnChanges",value:function(e){var t=e.rootElementSelector,i=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?pe(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?pe(this.element.nativeElement,e):(0,s.fI)(e):null}},{key:"_syncInputs",value:function(t){var i=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var e=i._dir,n=i.dragStartDelay,r=i._placeholderTemplate?{template:i._placeholderTemplate.templateRef,context:i._placeholderTemplate.data,viewContainer:i._viewContainerRef}:null,o=i._previewTemplate?{template:i._previewTemplate.templateRef,context:i._previewTemplate.data,matchSize:i._previewTemplate.matchSize,viewContainer:i._viewContainerRef}:null;t.disabled=i.disabled,t.lockAxis=i.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:(0,s.su)(n),t.constrainPosition=i.constrainPosition,t.previewClass=i.previewClass,t.withBoundaryElement(i._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o).withPreviewContainer(i.previewContainer||"global"),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe((0,m.q)(1)).subscribe(function(){var n,r;if(i._parentDrag)t.withParent(i._parentDrag._dragRef);else for(var o=i.element.nativeElement.parentElement;o;){if(null===(n=o.classList)||void 0===n?void 0:n.contains("cdk-drag")){t.withParent((null===(r=e._dragInstances.find(function(e){return e.element.nativeElement===o}))||void 0===r?void 0:r._dragRef)||null);break}o=o.parentElement}})}},{key:"_handleEvents",value:function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(e){t.ended.emit({source:t,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance,dropPoint:e.dropPoint})})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,i=e.dragStartDelay,n=e.constrainPosition,r=e.previewClass,o=e.boundaryElement,a=e.draggingDisabled,s=e.rootElementSelector,c=e.previewContainer;this.disabled=null!=a&&a,this.dragStartDelay=i||0,t&&(this.lockAxis=t),n&&(this.constrainPosition=n),r&&(this.previewClass=r),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s),c&&(this.previewContainer=c)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(ce,12),n.Y36(r.K0),n.Y36(n.R0b),n.Y36(n.s_b),n.Y36(ae,8),n.Y36(b.Is,8),n.Y36(ne),n.Y36(n.sBO),n.Y36(le,10),n.Y36(re,12))},e.\u0275dir=n.lG2({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,i){var r;(1&e&&(n.Suo(i,de,5),n.Suo(i,he,5),n.Suo(i,le,5)),2&e)&&(n.iGM(r=n.CRH())&&(t._previewTemplate=r.first),n.iGM(r=n.CRH())&&(t._placeholderTemplate=r.first),n.iGM(r=n.CRH())&&(t._handles=r))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&n.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n._Bn([{provide:re,useExisting:e}]),n.TTD]}),e._dragInstances=[],e}();function pe(e,t){for(var i=e.parentElement;i;){if(i.matches?i.matches(t):i.msMatchesSelector(t))return i;i=i.parentElement}return null}var ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[ne],imports:[o.ZD]}),e}()},75842:function(e,t,i){"use strict";i.d(t,{A:function(){return _},ZH:function(){return n},OC:function(){return w},yY:function(){return v},JH:function(){return g},uR:function(){return l},K5:function(){return o},hY:function(){return a},Sd:function(){return h},oh:function(){return d},aO:function(){return y},VM:function(){return u},Ku:function(){return c},SV:function(){return p},L_:function(){return s},Mf:function(){return r},LH:function(){return f},Z:function(){return b},xE:function(){return m},Vb:function(){return A}});var n=8,r=9,o=13,a=27,s=32,c=33,u=34,l=35,h=36,d=37,f=38,p=39,g=40,v=46,m=48,y=57,_=65,b=90,w=188;function A(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;nt.height||e.scrollWidth>t.width}}]),e}(),w=function(){function e(t,i,n,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),A=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function k(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function C(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var T=function(){function e(t,i,n,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),i=e._viewportRuler.getViewportSize(),n=i.width,r=i.height;k(t,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),E=function(){var e=function e(t,i,n,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=n,this.noop=function(){return new A},this.close=function(e){return new w(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new b(o._viewportRuler,o._document)},this.reposition=function(e){return new T(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.mF),r.LFG(n.rL),r.LFG(r.R0b),r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(n.mF),r.LFG(n.rL),r.LFG(r.R0b),r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),S=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new A,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var i=0,n=Object.keys(t);i-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),O=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this,e))._keydownListener=function(e){for(var t=n._attachedOverlays,i=t.length-1;i>-1;i--)if(t[i]._keydownEvents.observers.length>0){t[i]._keydownEvents.next(e);break}},n}return _createClass(i,[{key:"add",value:function(e){_get(_getPrototypeOf(i.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),i}(x);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),P=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e))._platform=n,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,i=r._attachedOverlays.slice(),n=i.length-1;n>-1;n--){var o=i[n];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return _createClass(i,[{key:"add",value:function(e){if(_get(_getPrototypeOf(i.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;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}}}]),i}(x);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0),r.LFG(o.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0),r.LFG(o.t4))},token:e,providedIn:"root"}),e}(),D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,M=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._platform=i,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||D)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;tf&&(f=v,d=g)}}catch(m){p.e(m)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){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("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var i;if("center"==t.originX)i=e.left+e.width/2;else{var n=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;i="start"==t.originX?n:r}return{x:i,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,i){var n,r;return n="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+n,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,i,n){var r=F(t),o=e.x,a=e.y,s=this._getOffset(n,"x"),c=this._getOffset(n,"y");s&&(o+=s),c&&(a+=c);var u=0-a,l=a+r.height-i.height,h=this._subtractOverflows(r.width,0-o,o+r.width-i.width),d=this._subtractOverflows(r.height,u,l),f=h*d;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,i){if(this._hasFlexibleDimensions){var n=i.bottom-t.y,r=i.right-t.x,o=B(this._overlayRef.getConfig().minHeight),a=B(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=n)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var n,r,o=F(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),c=Math.max(e.y+o.height-a.height,0),u=Math.max(a.top-i.top-e.y,0),l=Math.max(a.left-i.left-e.x,0);return n=o.width<=a.width?l||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(n=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=c.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)a=e.x,o=c.right-e.x;else{var d=Math.min(c.right-e.x+c.left,e.x),f=this._lastBoundingBoxSize.width;o=2*d,a=e.x-d,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:n,left:a,bottom:r,right:s,width:o,height:i}}},{key:"_setBoundingBoxStyles",value:function(e,t){var i=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));var n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;n.height=(0,c.HM)(i.height),n.top=(0,c.HM)(i.top),n.bottom=(0,c.HM)(i.bottom),n.width=(0,c.HM)(i.width),n.left=(0,c.HM)(i.left),n.right=(0,c.HM)(i.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(n.maxHeight=(0,c.HM)(r)),o&&(n.maxWidth=(0,c.HM)(o))}this._lastBoundingBoxSize=i,Z(this._boundingBox.style,n)}},{key:"_resetBoundingBoxStyles",value:function(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var i={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){var a=this._viewportRuler.getViewportScrollPosition();Z(i,this._getExactOverlayY(t,e,a)),Z(i,this._getExactOverlayX(t,e,a))}else i.position="static";var s="",u=this._getOffset(t,"x"),l=this._getOffset(t,"y");u&&(s+="translateX(".concat(u,"px) ")),l&&(s+="translateY(".concat(l,"px)")),i.transform=s.trim(),o.maxHeight&&(n?i.maxHeight=(0,c.HM)(o.maxHeight):r&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=(0,c.HM)(o.maxWidth):r&&(i.maxWidth="")),Z(this._pane.style,i)}},{key:"_getExactOverlayY",value:function(e,t,i){var n={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?n.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":n.top=(0,c.HM)(r.y),n}},{key:"_getExactOverlayX",value:function(e,t,i){var n={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?n.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":n.left=(0,c.HM)(r.x),n}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:C(e,i),isOriginOutsideView:k(e,i),isOverlayClipped:C(t,i),isOverlayOutsideView:k(t,i)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),n=i.width,r=i.height,o=i.maxWidth,a=i.maxHeight,s=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),U=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new H}},{key:"connectedTo",value:function(e,t,i){return new q(t,i,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new z(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(n.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},token:e,providedIn:"root"}),e}(),G=0,j=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l,h){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=c,this._directionality=u,this._location=l,this._outsideClickDispatcher=h}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),i=this._createPaneElement(t),n=this._createPortalOutlet(i),r=new S(e);return r.direction=r.direction||this._directionality.value,new L(n,t,i,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+G++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new u.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(E),r.LFG(M),r.LFG(r._Vd),r.LFG(U),r.LFG(O),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(s.K0),r.LFG(a.Is),r.LFG(s.Ye),r.LFG(P))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Y=[{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"}],K=new r.OlP("cdk-connected-overlay-scroll-strategy"),V=function(){var e=function e(t){_classCallCheck(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),J=function(){var e=function(){function e(t,i,n,o,a){_classCallCheck(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new u.UE(i,n),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,c.Ig)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,c.Ig)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,c.Ig)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,c.Ig)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,c.Ig)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=Y);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==y.hY||e.disableClose||(0,y.Vb)(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new S({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}},{key:"_updatePositionStrategy",value:function(e){var t=this,i=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;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(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i){return i.lift(new p(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(j),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(K),r.Y36(a.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),e}(),Q={provide:K,deps:[j],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},W=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[j,Q],imports:[[a.vT,u.eL,n.Cl],n.Cl]}),e}()},11353:function(e,t,i){"use strict";i.d(t,{t4:function(){return h},ud:function(){return d},ht:function(){return _},kV:function(){return y},_i:function(){return m},qK:function(){return p},i$:function(){return g},Mq:function(){return v}});var n,r=i(31572),o=i(61511);try{n="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){n=!1}var a,s,c,u,l,h=function(){var e=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,o.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&&!n)&&"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 e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.Lbi))},token:e,providedIn:"root"}),e}(),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),f=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(f);var e=document.createElement("input");return a=new Set(f.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function g(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?e:!!e.capture}function v(){if(null==u){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return u=!1;if("scrollBehavior"in document.documentElement.style)u=!0;else{var e=Element.prototype.scrollTo;u=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return u}function m(){if("object"!=typeof document||!document)return 0;if(null==c){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),c=0,0===e.scrollLeft&&(e.scrollLeft=1,c=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return c}function y(e){if(function(){if(null==l){var e="undefined"!=typeof document?document.head:null;l=!(!e||!e.createShadowRoot&&!e.attachShadow)}return l}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function _(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}},26899:function(e,t,i){"use strict";i.d(t,{en:function(){return u},ig:function(){return d},Pl:function(){return f},C5:function(){return a},F0:function(){return h},u0:function(){return l},eL:function(){return p},UE:function(){return s}});var n=i(31572),r=i(61511),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this)).component=e,a.viewContainerRef=n,a.injector=r,a.componentFactoryResolver=o,a}return i}(o),s=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this)).templateRef=e,o.viewContainerRef=n,o.context=r,o}return _createClass(i,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,_get(_getPrototypeOf(i.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(i.prototype),"detach",this).call(this)}}]),i}(o),c=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var r;return _classCallCheck(this,i),(r=t.call(this)).element=e instanceof n.SBq?e.nativeElement:e,r}return i}(o),u=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof a?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof s?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof c?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),l=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){var s,c;return _classCallCheck(this,i),(c=t.call(this)).outletElement=e,c._componentFactoryResolver=n,c._appRef=r,c._defaultInjector=o,c.attachDomPortal=function(e){var t=e.element,n=c._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),c.outletElement.appendChild(t),c._attachedPortal=e,_get((s=_assertThisInitialized(c),_getPrototypeOf(i.prototype)),"setDisposeFn",s).call(s,function(){n.parentNode&&n.parentNode.replaceChild(t,n)})},c._document=a,c}return _createClass(i,[{key:"attachComponentPortal",value:function(e){var t,i=this,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=n.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){i._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),n.detectChanges(),this.setDisposeFn(function(){var e=i.indexOf(n);-1!==e&&i.remove(e)}),this._attachedPortal=e,n}},{key:"dispose",value:function(){_get(_getPrototypeOf(i.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),i}(u),h=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(l),d=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){return _classCallCheck(this,i),t.call(this,e,n)}return i}(s);return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.Rgc),n.Y36(n.s_b))},e.\u0275dir=n.lG2({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]}),e}(),f=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r,o){var a,s;return _classCallCheck(this,i),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new n.vpe,s.attachDomPortal=function(e){var t=e.element,n=s._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(s)),t.parentNode.insertBefore(n,t),s._getRootNode().appendChild(t),s._attachedPortal=e,_get((a=_assertThisInitialized(s),_getPrototypeOf(i.prototype)),"setDisposeFn",a).call(a,function(){n.parentNode&&n.parentNode.replaceChild(t,n)})},s._document=o,s}return _createClass(i,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(i.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(i.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(i.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(i.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),i}(u);return e.\u0275fac=function(t){return new(t||e)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(r.K0))},e.\u0275dir=n.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]}),e}(),p=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({}),e}()},4253:function(e,t,i){"use strict";i.d(t,{xd:function(){return P},PQ:function(){return M},ZD:function(){return F},x0:function(){return B},N7:function(){return z},mF:function(){return D},Cl:function(){return q},rL:function(){return L}});var n=i(19861),r=i(31572),o=i(55959),a=i(40878),s=i(48318),c=i(87254),u=i(91741),l=i(92709),h=i(87570),d=i(4710),f=i(96673),p=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new g(e))}}]),e}(),g=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this,e)).hasPrev=!1,n}return _createClass(i,[{key:"_next",value:function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}]),i}(f.L),v=i(98720),m=i(30810),y=i(43835),_=i(25416),b=i(56238),w=i(44689),A=i(68303),k=i(11353),C=i(61511),T=i(22526),E=i(4230),S=["contentWrapper"],I=["*"],R=new r.OlP("VIRTUAL_SCROLL_STRATEGY"),x=function(){function e(t,i,n){_classCallCheck(this,e),this._scrolledIndexChange=new o.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,v.x)()),this._viewport=null,this._itemSize=t,this._minBufferPx=i,this._maxBufferPx=n}return _createClass(e,[{key:"attach",value:function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(e,t,i){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},i=this._viewport.getViewportSize(),n=this._viewport.getDataLength(),r=this._viewport.measureScrollOffset(),o=this._itemSize>0?r/this._itemSize:0;if(t.end>n){var a=Math.ceil(i/this._itemSize),s=Math.max(0,Math.min(o,n-a));o!=s&&(o=s,r=s*this._itemSize,t.start=Math.floor(o)),t.end=Math.max(0,Math.min(n,t.start+a))}var c=r-t.start*this._itemSize;if(c0&&(t.end=Math.min(n,t.end+h),t.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(o))}}}]),e}();function O(e){return e._scrollStrategy}var P=function(){var e=function(){function e(){_classCallCheck(this,e),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new x(this.itemSize,this.minBufferPx,this.maxBufferPx)}return _createClass(e,[{key:"itemSize",get:function(){return this._itemSize},set:function(e){this._itemSize=(0,n.su)(e)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=(0,n.su)(e)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=(0,n.su)(e)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r._Bn([{provide:R,useFactory:O,deps:[(0,r.Gpc)(function(){return e})]}]),r.TTD]}),e}(),D=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._ngZone=t,this._platform=i,this._scrolled=new o.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new s.y(function(i){e._globalSubscription||e._addGlobalListener();var n=t>0?e._scrolled.pipe((0,m.e)(t)).subscribe(i):e._scrolled.subscribe(i);return e._scrolledCount++,function(){n.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,a.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,i){return e.deregister(i)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,y.h)(function(e){return!e||i.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,i=[];return this.scrollContainers.forEach(function(n,r){t._scrollableContainsElement(r,e)&&i.push(r)}),i}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var i=(0,n.fI)(t),r=e.getElementRef().nativeElement;do{if(i==r)return!0}while(i=i.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,c.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(k.t4),r.LFG(C.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(k.t4),r.LFG(C.K0,8))},token:e,providedIn:"root"}),e}(),M=function(){var e=function(){function e(t,i,n,r){var a=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=i,this.ngZone=n,this.dir=r,this._destroyed=new o.xQ,this._elementScrolled=new s.y(function(e){return a.ngZone.runOutsideAngular(function(){return(0,c.R)(a.elementRef.nativeElement,"scroll").pipe((0,_.R)(a._destroyed)).subscribe(e)})})}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&0!=(0,k._i)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==(0,k._i)()?e.left=e.right:1==(0,k._i)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;(0,k.Mq)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?"right":"left":"end"==e&&(e=i?"left":"right"),i&&2==(0,k._i)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:i&&1==(0,k._i)()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(D),r.Y36(r.R0b),r.Y36(T.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),L=function(){var e=function(){function e(t,i,n){var r=this;_classCallCheck(this,e),this._platform=t,this._change=new o.xQ,this._changeListener=function(e){r._change.next(e)},this._document=n,i.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),i=t.width,n=t.height;return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),i=e.documentElement,n=i.getBoundingClientRect();return{top:-n.top||e.body.scrollTop||t.scrollY||i.scrollTop||0,left:-n.left||e.body.scrollLeft||t.scrollX||i.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,m.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(k.t4),r.LFG(r.R0b),r.LFG(C.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(k.t4),r.LFG(r.R0b),r.LFG(C.K0,8))},token:e,providedIn:"root"}),e}(),N="undefined"!=typeof requestAnimationFrame?u.r:l.e,z=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,a,c,u,l){var d;return _classCallCheck(this,i),(d=t.call(this,e,u,r,c)).elementRef=e,d._changeDetectorRef=n,d._scrollStrategy=a,d._detachedSubject=new o.xQ,d._renderedRangeSubject=new o.xQ,d._orientation="vertical",d.scrolledIndexChange=new s.y(function(e){return d._scrollStrategy.scrolledIndexChange.subscribe(function(t){return Promise.resolve().then(function(){return d.ngZone.run(function(){return e.next(t)})})})}),d.renderedRangeStream=d._renderedRangeSubject,d._totalContentSize=0,d._totalContentWidth="",d._totalContentHeight="",d._renderedRange={start:0,end:0},d._dataLength=0,d._viewportSize=0,d._renderedContentOffset=0,d._renderedContentOffsetNeedsRewrite=!1,d._isChangeDetectionPending=!1,d._runAfterChangeDetection=[],d._viewportChanges=h.w.EMPTY,d._viewportChanges=l.change().subscribe(function(){d.checkViewportSize()}),d}return _createClass(i,[{key:"orientation",get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe((0,b.O)(null),(0,m.e)(0,N)).subscribe(function(){return e._scrollStrategy.onContentScrolled()}),e._markChangeDetectionNeeded()})})}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(e){var t=this;this.ngZone.runOutsideAngular(function(){t._forOf=e,t._forOf.dataStream.pipe((0,_.R)(t._detachedSubject)).subscribe(function(e){var i=e.length;i!==t._dataLength&&(t._dataLength=i,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()})})}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(e){var t,i,n=this;((t=this._renderedRange).start!=(i=e).start||t.end!=i.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(function(){return n._scrollStrategy.onContentRendered()}))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",n="horizontal"==this.orientation,r=n?"X":"Y",o="translate".concat(r,"(").concat(Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*e),"px)");this._renderedContentOffset=e,"to-end"===i&&(o+=" translate".concat(r,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(function(){t._renderedContentOffsetNeedsRewrite?(t._renderedContentOffset-=t.measureRenderedContentSize(),t._renderedContentOffsetNeedsRewrite=!1,t.setRenderedContentOffset(t._renderedContentOffset)):t._scrollStrategy.onRenderedOffsetChanged()}))}},{key:"scrollToOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",i={behavior:t};"horizontal"===this.orientation?i.start=e:i.top=e,this.scrollTo(i)}},{key:"scrollToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(e,t)}},{key:"measureScrollOffset",value:function(e){return _get(_getPrototypeOf(i.prototype),"measureScrollOffset",this).call(this,e||("horizontal"===this.orientation?"start":"top"))}},{key:"measureRenderedContentSize",value:function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}},{key:"measureRangeSize",value:function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._doChangeDetection()})}))}},{key:"_doChangeDetection",value:function(){var e=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(function(){return e._changeDetectorRef.markForCheck()});var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var i,n=_createForOfIteratorHelper(t);try{for(n.s();!(i=n.n()).done;){(0,i.value)()}}catch(r){n.e(r)}finally{n.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}}]),i}(M);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(R,8),r.Y36(T.Is,8),r.Y36(D),r.Y36(L))},e.\u0275cmp=r.Xpm({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){var i;(1&e&&r.Gf(S,7),2&e)&&(r.iGM(i=r.CRH())&&(t._contentWrapper=i.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r._Bn([{provide:M,useExisting:e}]),r.qOj],ngContentSelectors:I,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA(),r._UZ(3,"div",2)),2&e&&(r.xp6(3),r.Udp("width",t._totalContentWidth)("height",t._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}),e}();function Z(e,t,i){if(!i.getBoundingClientRect)return 0;var n=i.getBoundingClientRect();return"horizontal"===e?"start"===t?n.left:n.right:"start"===t?n.top:n.bottom}var B=function(){var e=function(){function e(t,i,n,r,a,s){var c=this;_classCallCheck(this,e),this._viewContainerRef=t,this._template=i,this._differs=n,this._viewRepeater=r,this._viewport=a,this.viewChange=new o.xQ,this._dataSourceChanges=new o.xQ,this.dataStream=this._dataSourceChanges.pipe((0,b.O)(null),function(e){return e.lift(new p)},(0,w.w)(function(e){var t=_slicedToArray(e,2),i=t[0],n=t[1];return c._changeDataSource(i,n)}),(0,A.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.xQ,this.dataStream.subscribe(function(e){c._data=e,c._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,_.R)(this._destroyed)).subscribe(function(e){c._renderedRange=e,s.run(function(){return c.viewChange.next(c._renderedRange)}),c._onRenderedDataChange()}),this._viewport.attach(this)}return _createClass(e,[{key:"cdkVirtualForOf",get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,(0,E.Z9)(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new E.P3((0,d.b)(e)?e:Array.from(e||[])))}},{key:"cdkVirtualForTrackBy",get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(i,n){return e(i+(t._renderedRange?t._renderedRange.start:0),n)}:void 0}},{key:"cdkVirtualForTemplate",set:function(e){e&&(this._needsUpdate=!0,this._template=e)}},{key:"cdkVirtualForTemplateCacheSize",get:function(){return this._viewRepeater.viewCacheSize},set:function(e){this._viewRepeater.viewCacheSize=(0,n.su)(e)}},{key:"measureRangeSize",value:function(e,t){if(e.start>=e.end)return 0;for(var i,n,r=e.start-this._renderedRange.start,o=e.end-e.start,a=0;a-1;c--){var u=this._viewContainerRef.get(c+r);if(u&&u.rootNodes.length){n=u.rootNodes[u.rootNodes.length-1];break}}return i&&n?Z(t,"end",n)-Z(t,"start",i):0}},{key:"ngDoCheck",value:function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}},{key:"ngOnDestroy",value:function(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}},{key:"_onRenderedDataChange",value:function(){var e=this;this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(function(t,i){return e.cdkVirtualForTrackBy?e.cdkVirtualForTrackBy(t,i):i})),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):(0,a.of)()}},{key:"_updateContext",value:function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var i=this._viewContainerRef.get(t);i.context.index=this._renderedRange.start+t,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges()}}},{key:"_applyChanges",value:function(e){var t=this;this._viewRepeater.applyChanges(e,this._viewContainerRef,function(e,i,n){return t._getEmbeddedViewArgs(e,n)},function(e){return e.item}),e.forEachIdentityChange(function(e){t._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});for(var i=this._data.length,n=this._viewContainerRef.length;n--;){var r=this._viewContainerRef.get(n);r.context.index=this._renderedRange.start+n,r.context.count=i,this._updateComputedContextProperties(r.context)}}},{key:"_updateComputedContextProperties",value:function(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}},{key:"_getEmbeddedViewArgs",value:function(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(E.k),r.Y36(z,4),r.Y36(r.R0b))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[r._Bn([{provide:E.k,useClass:E.eX}])]}),e}(),F=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[T.vT,k.ud,F],T.vT,F]}),e}()},10901:function(e,t,i){"use strict";i.d(t,{Lq:function(){return f},IC:function(){return p},Ky:function(){return g}});var n=i(11353),r=i(31572),o=i(19861),a=i(70653),s=i(55959),c=i(87254),u=i(30810),l=i(25416),h=i(61511),d=(0,n.i$)({passive:!0}),f=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._platform=t,this._ngZone=i,this._monitoredElements=new Map}return _createClass(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return a.E;var i=(0,o.fI)(e),n=this._monitoredElements.get(i);if(n)return n.subject;var r=new s.xQ,c="cdk-text-field-autofilled",u=function(e){"cdk-text-field-autofill-start"!==e.animationName||i.classList.contains(c)?"cdk-text-field-autofill-end"===e.animationName&&i.classList.contains(c)&&(i.classList.remove(c),t._ngZone.run(function(){return r.next({target:e.target,isAutofilled:!1})})):(i.classList.add(c),t._ngZone.run(function(){return r.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){i.addEventListener("animationstart",u,d),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:function(){i.removeEventListener("animationstart",u,d)}}),r}},{key:"stopMonitoring",value:function(e){var t=(0,o.fI)(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach(function(t,i){return e.stopMonitoring(i)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.t4),r.LFG(r.R0b))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(n.t4),r.LFG(r.R0b))},token:e,providedIn:"root"}),e}(),p=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._elementRef=t,this._platform=i,this._ngZone=n,this._destroyed=new s.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=r,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=i.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}return _createClass(e,[{key:"minRows",get:function(){return this._minRows},set:function(e){this._minRows=(0,o.su)(e),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(e){this._maxRows=(0,o.su)(e),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(e){e=(0,o.Ig)(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}},{key:"placeholder",get:function(){return this._textareaElement.placeholder},set:function(e){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=e,this._cacheTextareaPlaceholderHeight()}},{key:"_setMinHeight",value:function(){var e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}},{key:"_setMaxHeight",value:function(){var e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){var t=e._getWindow();(0,c.R)(t,"resize").pipe((0,u.e)(16),(0,l.R)(e._destroyed)).subscribe(function(){return e.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_cacheTextareaLineHeight",value:function(){if(!this._cachedLineHeight){var 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,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}}},{key:"_measureScrollHeight",value:function(){this._textareaElement.classList.add(this._measuringClass);var e=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),e}},{key:"_cacheTextareaPlaceholderHeight",value:function(){if(this._isViewInited&&null==this._cachedPlaceholderHeight)if(this.placeholder){var e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}else this._cachedPlaceholderHeight=0}},{key:"ngDoCheck",value:function(){this._platform.isBrowser&&this.resizeToFitContent()}},{key:"resizeToFitContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedLineHeight)){var i=this._elementRef.nativeElement,n=i.value;if(t||this._minRows!==this._previousMinRows||n!==this._previousValue){var r=this._measureScrollHeight(),o=Math.max(r,this._cachedPlaceholderHeight||0);i.style.height="".concat(o,"px"),this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return e._scrollToCaretPosition(i)}):setTimeout(function(){return e._scrollToCaretPosition(i)})}),this._previousValue=n,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(e){var t=e.selectionStart,i=e.selectionEnd,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==e||e.setSelectionRange(t,i)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(n.t4),r.Y36(r.R0b),r.Y36(h.K0,8))},e.\u0275dir=r.lG2({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&r.NdJ("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),e}(),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[n.ud]]}),e}()},71709:function(e,t,i){"use strict";i.d(t,{HI:function(){return m},Xx:function(){return k},_0:function(){return w},nZ:function(){return S},Hs:function(){return A},rO:function(){return b},cu:function(){return y},XJ:function(){return T},Ud:function(){return E},C2:function(){return g},VY:function(){return v}});var n=i(4230),r=i(4710),o=i(55959),a=i(78512),s=i(40878),c=i(90611),u=i(43835),l=i(25416),h=i(31572),d=i(19861),f=i(22526),p=function(){function e(){_classCallCheck(this,e),this.expansionModel=new n.Ov(!0)}return _createClass(e,[{key:"toggle",value:function(e){this.expansionModel.toggle(this._trackByValue(e))}},{key:"expand",value:function(e){this.expansionModel.select(this._trackByValue(e))}},{key:"collapse",value:function(e){this.expansionModel.deselect(this._trackByValue(e))}},{key:"isExpanded",value:function(e){return this.expansionModel.isSelected(this._trackByValue(e))}},{key:"toggleDescendants",value:function(e){this.expansionModel.isSelected(this._trackByValue(e))?this.collapseDescendants(e):this.expandDescendants(e)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(e){var t,i=this,n=[e];n.push.apply(n,_toConsumableArray(this.getDescendants(e))),(t=this.expansionModel).select.apply(t,_toConsumableArray(n.map(function(e){return i._trackByValue(e)})))}},{key:"collapseDescendants",value:function(e){var t,i=this,n=[e];n.push.apply(n,_toConsumableArray(this.getDescendants(e))),(t=this.expansionModel).deselect.apply(t,_toConsumableArray(n.map(function(e){return i._trackByValue(e)})))}},{key:"_trackByValue",value:function(e){return this.trackBy?this.trackBy(e):e}}]),e}(),g=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this)).getLevel=e,o.isExpandable=n,o.options=r,o.options&&(o.trackBy=o.options.trackBy),o}return _createClass(i,[{key:"getDescendants",value:function(e){for(var t=[],i=this.dataNodes.indexOf(e)+1;i1&&void 0!==arguments[1]?arguments[1]:this._dataDiffer,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._nodeOutlet.viewContainer,r=arguments.length>3?arguments[3]:void 0,o=i.diff(e);o&&(o.forEachOperation(function(i,o,a){if(null==i.previousIndex)t.insertNode(e[a],a,n,r);else if(null==a)n.remove(o),t._levels.delete(i.item);else{var s=n.get(o);n.move(s,a)}}),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(e,t){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(function(i){return i.when&&i.when(t,e)})||this._defaultNodeDef}},{key:"insertNode",value:function(e,t,i,n){var r=this._getNodeDef(e,t),o=new _(e);o.level=this.treeControl.getLevel?this.treeControl.getLevel(e):void 0!==n&&this._levels.has(n)?this._levels.get(n)+1:0,this._levels.set(e,o.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,o,t),A.mostRecentTreeNode&&(A.mostRecentTreeNode.data=e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.ZZ4),h.Y36(h.sBO))},e.\u0275cmp=h.Xpm({type:e,selectors:[["cdk-tree"]],contentQueries:function(e,t,i){var n;(1&e&&h.Suo(i,b,5),2&e)&&(h.iGM(n=h.CRH())&&(t._nodeDefs=n))},viewQuery:function(e,t){var i;(1&e&&h.Gf(y,7),2&e)&&(h.iGM(i=h.CRH())&&(t._nodeOutlet=i.first))},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,t){1&e&&h.GkF(0,0)},directives:[y],encapsulation:2}),e}(),A=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._elementRef=t,this._tree=i,this._destroyed=new o.xQ,this._dataChanges=new o.xQ,e.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}return _createClass(e,[{key:"role",get:function(){return"treeitem"},set:function(e){this._elementRef.nativeElement.setAttribute("role",e)}},{key:"data",get:function(){return this._data},set:function(e){e!==this._data&&(this._data=e,this._setRoleFromData(),this._dataChanges.next())}},{key:"isExpanded",get:function(){return this._tree.treeControl.isExpanded(this._data)}},{key:"_setExpanded",value:function(e){this._isAriaExpanded=e,this._elementRef.nativeElement.setAttribute("aria-expanded","".concat(e))}},{key:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}},{key:"ngOnInit",value:function(){this._parentNodeAriaLevel=function(e){for(var t,i=e.parentElement;i&&(t=void 0,!(null==(t=i.classList)?void 0:t.contains("cdk-nested-tree-node"))&&!(null==t?void 0:t.contains("cdk-tree")));)i=i.parentElement;return i?i.classList.contains("cdk-nested-tree-node")?(0,d.su)(i.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level","".concat(this.level+1))}},{key:"ngDoCheck",value:function(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}},{key:"ngOnDestroy",value:function(){e.mostRecentTreeNode===this&&(e.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_setRoleFromData",value:function(){this.role="treeitem"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(w))},e.\u0275dir=h.lG2({type:e,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),e.mostRecentTreeNode=null,e}();var k=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e,n))._elementRef=e,o._tree=n,o._differs=r,o._elementRef.nativeElement.classList.add("cdk-nested-tree-node"),o}return _createClass(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);var t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):(0,r.b)(t)&&t.pipe((0,l.R)(this._destroyed)).subscribe(function(t){return e.updateChildrenNodes(t)}),this.nodeOutlet.changes.pipe((0,l.R)(this._destroyed)).subscribe(function(){return e.updateChildrenNodes()})}},{key:"ngOnInit",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){_get(_getPrototypeOf(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){this._clear(),_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this)}},{key:"updateChildrenNodes",value:function(e){var t=this._getNodeOutlet();e&&(this._children=e),t&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,t.viewContainer,this._data):this._dataDiffer.diff([])}},{key:"_clear",value:function(){var e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}},{key:"_getNodeOutlet",value:function(){var e=this,t=this.nodeOutlet;return t&&t.find(function(t){return!t._node||t._node===e})}}]),i}(A);return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(w),h.Y36(h.ZZ4))},e.\u0275dir=h.lG2({type:e,selectors:[["cdk-nested-tree-node"]],contentQueries:function(e,t,i){var n;(1&e&&h.Suo(i,y,5),2&e)&&(h.iGM(n=h.CRH())&&(t.nodeOutlet=n))},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[h._Bn([{provide:A,useExisting:e},{provide:m,useExisting:e}]),h.qOj]}),e}(),C=/([A-Za-z%]+)$/,T=function(){var e=function(){function e(t,i,n,r){var a=this;_classCallCheck(this,e),this._treeNode=t,this._tree=i,this._element=n,this._dir=r,this._destroyed=new o.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe((0,l.R)(this._destroyed)).subscribe(function(){return a._setPadding(!0)}),t._dataChanges.subscribe(function(){return a._setPadding()})}return _createClass(e,[{key:"level",get:function(){return this._level},set:function(e){this._setLevelInput(e)}},{key:"indent",get:function(){return this._indent},set:function(e){this._setIndentInput(e)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_paddingIndent",value:function(){var e=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,t=null==this._level?e:this._level;return"number"==typeof t?"".concat(t*this._indent).concat(this.indentUnits):null}},{key:"_setPadding",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._paddingIndent();if(t!==this._currentPadding||e){var i=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",r="paddingLeft"===n?"paddingRight":"paddingLeft";i.style[n]=t||"",i.style[r]="",this._currentPadding=t}}},{key:"_setLevelInput",value:function(e){this._level=(0,d.su)(e,null),this._setPadding()}},{key:"_setIndentInput",value:function(e){var t=e,i="px";if("string"==typeof e){var n=e.split(C);t=n[0],i=n[1]||i}this.indentUnits=i,this._indent=(0,d.su)(t),this._setPadding()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(A),h.Y36(w),h.Y36(h.SBq),h.Y36(f.Is,8))},e.\u0275dir=h.lG2({type:e,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),e}(),E=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._tree=t,this._treeNode=i,this._recursive=!1}return _createClass(e,[{key:"recursive",get:function(){return this._recursive},set:function(e){this._recursive=(0,d.Ig)(e)}},{key:"_toggle",value:function(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(w),h.Y36(A))},e.\u0275dir=h.lG2({type:e,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,t){1&e&&h.NdJ("click",function(e){return t._toggle(e)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),e}(),S=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({}),e}()},61511:function(e,t,i){"use strict";i.d(t,{mr:function(){return b},Ov:function(){return Te},ez:function(){return Ie},K0:function(){return c},uU:function(){return Se},Do:function(){return A},V_:function(){return h},Ye:function(){return k},S$:function(){return y},mk:function(){return ce},sg:function(){return le},O5:function(){return de},PC:function(){return _e},RF:function(){return ve},n9:function(){return me},ED:function(){return ye},tP:function(){return be},b0:function(){return w},lw:function(){return u},gd:function(){return Ee},EM:function(){return Pe},JF:function(){return Le},p6:function(){return j},NF:function(){return xe},PM:function(){return Oe},w_:function(){return s},bD:function(){return Re},q:function(){return o},Mx:function(){return se},HT:function(){return a}});var n=i(31572),r=null;function o(){return r}function a(e){r||(r=e)}var s=function e(){_classCallCheck(this,e)},c=new n.OlP("DocumentToken"),u=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,n.Yz7)({factory:l,token:e,providedIn:"platform"}),e}();function l(){return(0,n.LFG)(d)}var h=new n.OlP("Location Initialized"),d=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this))._doc=e,n._init(),n}return _createClass(i,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,i){f()?this._history.pushState(e,t,i):this.location.hash=i}},{key:"replaceState",value:function(e,t,i){f()?this._history.replaceState(e,t,i):this.location.hash=i}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),i}(u);return e.\u0275fac=function(t){return new(t||e)(n.LFG(c))},e.\u0275prov=(0,n.Yz7)({factory:p,token:e,providedIn:"platform"}),e}();function f(){return!!window.history.pushState}function p(){return new d((0,n.LFG)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;var i=0;return e.endsWith("/")&&i++,t.startsWith("/")&&i++,2==i?e+t.substring(1):1==i?e+t:e+"/"+t}function v(e){var t=e.match(/#|\?|$/),i=t&&t.index||e.length;return e.slice(0,i-("/"===e[i-1]?1:0))+e.slice(i)}function m(e){return e&&"?"!==e[0]?"?"+e:e}var y=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,n.Yz7)({factory:_,token:e,providedIn:"root"}),e}();function _(e){var t=(0,n.LFG)(c).location;return new w((0,n.LFG)(u),t&&t.origin||"")}var b=new n.OlP("appBaseHref"),w=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;if(_classCallCheck(this,i),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,_possibleConstructorReturn(r)}return _createClass(i,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return g(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+m(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?"".concat(t).concat(i):t}},{key:"pushState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+m(n));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+m(n));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,i)}}]),i}(y);return e.\u0275fac=function(t){return new(t||e)(n.LFG(u),n.LFG(b,8))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=n&&(r._baseHref=n),r}return _createClass(i,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=g(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,i,n){var r=this.prepareExternalUrl(i+m(n));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,i)}}]),i}(y);return e.\u0275fac=function(t){return new(t||e)(n.LFG(u),n.LFG(b,8))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),k=function(){var e=function(){function e(t,i){var r=this;_classCallCheck(this,e),this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=v(T(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+m(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,T(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),i)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,i)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(i){return i(e,t)})}},{key:"subscribe",value:function(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(y),n.LFG(u))},e.normalizeQueryParams=m,e.joinWithSlash=g,e.stripTrailingSlash=v,e.\u0275prov=(0,n.Yz7)({factory:C,token:e,providedIn:"root"}),e}();function C(){return new k((0,n.LFG)(y),(0,n.LFG)(u))}function T(e){return e.replace(/\/index.html$/,"")}var E=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),S=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),I=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),R=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),x=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function O(e,t){return z((0,n.cg1)(e)[n.wAp.DateFormat],t)}function P(e,t){return z((0,n.cg1)(e)[n.wAp.TimeFormat],t)}function D(e,t){return z((0,n.cg1)(e)[n.wAp.DateTimeFormat],t)}function M(e,t){var i=(0,n.cg1)(e),r=i[n.wAp.NumberSymbols][t];if(void 0===r){if(t===x.CurrencyDecimal)return i[n.wAp.NumberSymbols][x.Decimal];if(t===x.CurrencyGroup)return i[n.wAp.NumberSymbols][x.Group]}return r}var L=n.kL8;function N(e){if(!e[n.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[n.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function z(e,t){for(var i=t;i>-1;i--)if(void 0!==e[i])return e[i];throw new Error("Locale data API: locale data undefined")}function Z(e){var t=_slicedToArray(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,F={},q=/((?:[^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]*)/,H=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),U=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),G=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function j(e,t,i,n){var r=function(e){if(re(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=_slicedToArray(e.split("-").map(function(e){return+e}),3),i=t[0],n=t[1],r=void 0===n?1:n,o=t[2];return Y(i,r-1,void 0===o?1:o)}var a,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(a=e.match(B))return function(e){var t=new Date(0),i=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-i,s=Number(e[5]||0)-n,c=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,c,u),t}(a)}var c=new Date(e);if(!re(c))throw new Error('Unable to convert "'.concat(e,'" into a date'));return c}(e);t=K(i,t)||t;for(var o,a=[];t;){if(!(o=q.exec(t))){a.push(t);break}var s=(a=a.concat(o.slice(1))).pop();if(!s)break;t=s}var c=r.getTimezoneOffset();n&&(c=ne(n,c),r=function(e,t,i){var n=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ne(t,n)-n))}(r,n));var u="";return a.forEach(function(e){var t=function(e){if(ie[e])return ie[e];var t;switch(e){case"G":case"GG":case"GGG":t=W(G.Eras,I.Abbreviated);break;case"GGGG":t=W(G.Eras,I.Wide);break;case"GGGGG":t=W(G.Eras,I.Narrow);break;case"y":t=Q(U.FullYear,1,0,!1,!0);break;case"yy":t=Q(U.FullYear,2,0,!0,!0);break;case"yyy":t=Q(U.FullYear,3,0,!1,!0);break;case"yyyy":t=Q(U.FullYear,4,0,!1,!0);break;case"Y":t=te(1);break;case"YY":t=te(2,!0);break;case"YYY":t=te(3);break;case"YYYY":t=te(4);break;case"M":case"L":t=Q(U.Month,1,1);break;case"MM":case"LL":t=Q(U.Month,2,1);break;case"MMM":t=W(G.Months,I.Abbreviated);break;case"MMMM":t=W(G.Months,I.Wide);break;case"MMMMM":t=W(G.Months,I.Narrow);break;case"LLL":t=W(G.Months,I.Abbreviated,S.Standalone);break;case"LLLL":t=W(G.Months,I.Wide,S.Standalone);break;case"LLLLL":t=W(G.Months,I.Narrow,S.Standalone);break;case"w":t=ee(1);break;case"ww":t=ee(2);break;case"W":t=ee(1,!0);break;case"d":t=Q(U.Date,1);break;case"dd":t=Q(U.Date,2);break;case"c":case"cc":t=Q(U.Day,1);break;case"ccc":t=W(G.Days,I.Abbreviated,S.Standalone);break;case"cccc":t=W(G.Days,I.Wide,S.Standalone);break;case"ccccc":t=W(G.Days,I.Narrow,S.Standalone);break;case"cccccc":t=W(G.Days,I.Short,S.Standalone);break;case"E":case"EE":case"EEE":t=W(G.Days,I.Abbreviated);break;case"EEEE":t=W(G.Days,I.Wide);break;case"EEEEE":t=W(G.Days,I.Narrow);break;case"EEEEEE":t=W(G.Days,I.Short);break;case"a":case"aa":case"aaa":t=W(G.DayPeriods,I.Abbreviated);break;case"aaaa":t=W(G.DayPeriods,I.Wide);break;case"aaaaa":t=W(G.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":t=W(G.DayPeriods,I.Abbreviated,S.Standalone,!0);break;case"bbbb":t=W(G.DayPeriods,I.Wide,S.Standalone,!0);break;case"bbbbb":t=W(G.DayPeriods,I.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":t=W(G.DayPeriods,I.Abbreviated,S.Format,!0);break;case"BBBB":t=W(G.DayPeriods,I.Wide,S.Format,!0);break;case"BBBBB":t=W(G.DayPeriods,I.Narrow,S.Format,!0);break;case"h":t=Q(U.Hours,1,-12);break;case"hh":t=Q(U.Hours,2,-12);break;case"H":t=Q(U.Hours,1);break;case"HH":t=Q(U.Hours,2);break;case"m":t=Q(U.Minutes,1);break;case"mm":t=Q(U.Minutes,2);break;case"s":t=Q(U.Seconds,1);break;case"ss":t=Q(U.Seconds,2);break;case"S":t=Q(U.FractionalSeconds,1);break;case"SS":t=Q(U.FractionalSeconds,2);break;case"SSS":t=Q(U.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=X(H.Short);break;case"ZZZZZ":t=X(H.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=X(H.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=X(H.Long);break;default:return null}return ie[e]=t,t}(e);u+=t?t(r,i,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Y(e,t,i){var n=new Date(0);return n.setFullYear(e,t,i),n.setHours(0,0,0),n}function K(e,t){var i=function(e){return(0,n.cg1)(e)[n.wAp.LocaleId]}(e);if(F[i]=F[i]||{},F[i][t])return F[i][t];var r="";switch(t){case"shortDate":r=O(e,R.Short);break;case"mediumDate":r=O(e,R.Medium);break;case"longDate":r=O(e,R.Long);break;case"fullDate":r=O(e,R.Full);break;case"shortTime":r=P(e,R.Short);break;case"mediumTime":r=P(e,R.Medium);break;case"longTime":r=P(e,R.Long);break;case"fullTime":r=P(e,R.Full);break;case"short":var o=K(e,"shortTime"),a=K(e,"shortDate");r=V(D(e,R.Short),[o,a]);break;case"medium":var s=K(e,"mediumTime"),c=K(e,"mediumDate");r=V(D(e,R.Medium),[s,c]);break;case"long":var u=K(e,"longTime"),l=K(e,"longDate");r=V(D(e,R.Long),[u,l]);break;case"full":var h=K(e,"fullTime"),d=K(e,"fullDate");r=V(D(e,R.Full),[h,d])}return r&&(F[i][t]=r),r}function V(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),e}function J(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=i));for(var a=String(e);a.length2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,c=function(e,t){switch(e){case U.FullYear:return t.getFullYear();case U.Month:return t.getMonth();case U.Date:return t.getDate();case U.Hours:return t.getHours();case U.Minutes:return t.getMinutes();case U.Seconds:return t.getSeconds();case U.FractionalSeconds:return t.getMilliseconds();case U.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((i>0||c>-i)&&(c+=i),e===U.Hours)0===c&&-12===i&&(c=12);else if(e===U.FractionalSeconds)return s=t,J(c,3).substr(0,s);var u=M(a,x.MinusSign);return J(c,t,u,n,r)}}function W(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(e,t,i,r,o,a){switch(i){case G.Months:return function(e,t,i){var r=(0,n.cg1)(e),o=z([r[n.wAp.MonthsFormat],r[n.wAp.MonthsStandalone]],t);return z(o,i)}(t,o,r)[e.getMonth()];case G.Days:return function(e,t,i){var r=(0,n.cg1)(e),o=z([r[n.wAp.DaysFormat],r[n.wAp.DaysStandalone]],t);return z(o,i)}(t,o,r)[e.getDay()];case G.DayPeriods:var s=e.getHours(),c=e.getMinutes();if(a){var u=function(e){var t=(0,n.cg1)(e);return N(t),(t[n.wAp.ExtraData][2]||[]).map(function(e){return"string"==typeof e?Z(e):[Z(e[0]),Z(e[1])]})}(t),l=function(e,t,i){var r=(0,n.cg1)(e);N(r);var o=z([r[n.wAp.ExtraData][0],r[n.wAp.ExtraData][1]],t)||[];return z(o,i)||[]}(t,o,r),h=u.findIndex(function(e){if(Array.isArray(e)){var t=_slicedToArray(e,2),i=t[0],n=t[1],r=s>=i.hours&&c>=i.minutes,o=s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case H.Short:return(r>=0?"+":"")+J(a,2,o)+J(Math.abs(r%60),2,o);case H.ShortGMT:return"GMT"+(r>=0?"+":"")+J(a,1,o);case H.Long:return"GMT"+(r>=0?"+":"")+J(a,2,o)+":"+J(Math.abs(r%60),2,o);case H.Extended:return 0===n?"Z":(r>=0?"+":"")+J(a,2,o)+":"+J(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function $(e){return Y(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){var r,o,a;if(t){var s=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,c=i.getDate();r=1+Math.floor((c+s)/7)}else{var u=$(i),l=(o=u.getFullYear(),a=Y(o,0,1).getDay(),Y(o,0,1+(a<=4?4:11)-a)),h=u.getTime()-l.getTime();r=1+Math.round(h/6048e5)}return J(r,e,M(n,x.MinusSign))}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(i,n){return J($(i).getFullYear(),e,M(n,x.MinusSign),t)}}var ie={};function ne(e,t){e=e.replace(/:/g,"");var i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function re(e){return e instanceof Date&&!isNaN(e.valueOf())}var oe=function e(){_classCallCheck(this,e)},ae=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this)).locale=e,n}return _createClass(i,[{key:"getPluralCategory",value:function(e,t){switch(L(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}]),i}(oe);return e.\u0275fac=function(t){return new(t||e)(n.LFG(n.soG))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}();function se(e,t){t=encodeURIComponent(t);var i,n=_createForOfIteratorHelper(e.split(";"));try{for(n.s();!(i=n.n()).done;){var r=i.value,o=r.indexOf("="),a=_slicedToArray(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],c=a[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(u){n.e(u)}finally{n.f()}return null}var ce=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=i,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,n.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(i){return t._toggleClass(i,!!e[i])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var i=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?i._renderer.addClass(i._ngEl.nativeElement,e):i._renderer.removeClass(i._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},e.\u0275dir=n.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),ue=function(){function e(t,i,n,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=i,this.index=n,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),le=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._viewContainer=t,this._template=i,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}},{key:"_applyChanges",value:function(e){var t=this,i=[];e.forEachOperation(function(e,n,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new ue(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new he(e,o);i.push(a)}else if(null==r)t._viewContainer.remove(null===n?void 0:n);else if(null!==n){var s=t._viewContainer.get(n);t._viewContainer.move(s,r);var c=new he(e,s);i.push(c)}});for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"mediumDate",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return j(t,i,r||this.locale,n)}catch(o){throw we(e,o.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.soG,16))},e.\u0275pipe=n.Yjl({name:"date",type:e,pure:!0}),e}(),Ie=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[{provide:oe,useClass:ae}]}),e}(),Re="browser";function xe(e){return e===Re}function Oe(e){return"server"===e}var Pe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=(0,n.Yz7)({token:e,providedIn:"root",factory:function(){return new De((0,n.LFG)(c),window)}}),e}(),De=function(){function e(t,i){_classCallCheck(this,e),this.document=t,this.window=i,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var i=e.getElementById(t)||e.getElementsByName(t)[0];if(i)return i;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;r;){var o=r.shadowRoot;if(o){var a=o.getElementById(t)||o.querySelector('[name="'.concat(t,'"]'));if(a)return a}r=n.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],n-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Me(this.window.history)||Me(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function Me(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var Le=function e(){_classCallCheck(this,e)}},29063:function(e,t,i){"use strict";i.d(t,{TP:function(){return x},eN:function(){return I},JF:function(){return q},WM:function(){return d},LE:function(){return v},Zn:function(){return T}});var n=i(61511),r=i(31572),o=i(40878),a=i(48318),s=i(436),c=i(43835),u=i(79996),l=function e(){_classCallCheck(this,e)},h=function e(){_classCallCheck(this,e)},d=function(){function e(t){var i=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){i.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var n=e.slice(0,t),r=n.toLowerCase(),o=e.slice(t+1).trim();i.maybeSetNormalizedName(n,r),i.headers.has(r)?i.headers.get(r).push(o):i.headers.set(r,[o])}})}:function(){i.headers=new Map,Object.keys(t).forEach(function(e){var n=t[e],r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(i.headers.set(r,n),i.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(i){t.headers.set(i,e.headers.get(i)),t.normalizedNames.set(i,e.normalizedNames.get(i))})}},{key:"clone",value:function(t){var i=new e;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);var n=("a"===e.op?this.headers.get(t):void 0)||[];n.push.apply(n,_toConsumableArray(i)),this.headers.set(t,n);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(i){return e(t.normalizedNames.get(i),t.headers.get(i))})}}]),e}(),f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(e){return"".concat(e)}var v=function(){function e(){var t,i,n,r=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new f,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=o.fromString,i=this.encoder,n=new Map,t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(e){var t=e.indexOf("="),r=_slicedToArray(-1==t?[i.decodeKey(e),""]:[i.decodeKey(e.slice(0,t)),i.decodeValue(e.slice(t+1))],2),o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(function(e){var t=o.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(i){var n=e[i];Array.isArray(n)?n.forEach(function(e){t.push({param:i,value:e,op:"a"})}):t.push({param:i,value:n,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var i=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return i+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var i=new e({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var i=("a"===t.op?e.map.get(t.param):void 0)||[];i.push(g(t.value)),e.map.set(t.param,i);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var n=e.map.get(t.param)||[],r=n.indexOf(g(t.value));-1!==r&&n.splice(r,1),n.length>0?e.map.set(t.param,n):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),m=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function y(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var w=function(){function e(t,i,n,r){var o;if(_classCallCheck(this,e),this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new d),this.context||(this.context=new m),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=i;else{var s=i.indexOf("?");this.urlWithParams=i+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=i.method||this.method,r=i.url||this.url,o=i.responseType||this.responseType,a=void 0!==i.body?i.body:this.body,s=void 0!==i.withCredentials?i.withCredentials:this.withCredentials,c=void 0!==i.reportProgress?i.reportProgress:this.reportProgress,u=i.headers||this.headers,l=i.params||this.params,h=null!==(t=i.context)&&void 0!==t?t:this.context;return void 0!==i.setHeaders&&(u=Object.keys(i.setHeaders).reduce(function(e,t){return e.set(t,i.setHeaders[t])},u)),i.setParams&&(l=Object.keys(i.setParams).reduce(function(e,t){return e.set(t,i.setParams[t])},l)),new e(n,r,a,{params:l,headers:u,context:h,reportProgress:c,responseType:o,withCredentials:s})}}]),e}(),A=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),k=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:i,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},C=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,i),(e=t.call(this,n)).type=A.ResponseHeader,e}return _createClass(i,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),i}(k),T=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,i),(e=t.call(this,n)).type=A.Response,e.body=void 0!==n.body?n.body:null,e}return _createClass(i,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),i}(k),E=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),n.error=e.error||null,n}return i}(k);function S(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var I=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var i,n,r,a=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof w?i=e:(n=l.headers instanceof d?l.headers:new d(l.headers),l.params&&(r=l.params instanceof v?l.params:new v({fromObject:l.params})),i=new w(e,t,void 0!==l.body?l.body:null,{headers:n,context:l.context,params:r,reportProgress:l.reportProgress,responseType:l.responseType||"json",withCredentials:l.withCredentials}));var h=(0,o.of)(i).pipe((0,s.b)(function(e){return a.handler.handle(e)}));if(e instanceof w||"events"===l.observe)return h;var f=h.pipe((0,c.h)(function(e){return e instanceof T}));switch(l.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return f.pipe((0,u.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return f.pipe((0,u.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return f.pipe((0,u.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return f.pipe((0,u.U)(function(e){return e.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(l.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new v).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,S(i,t))}},{key:"post",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,S(i,t))}},{key:"put",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,S(i,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(l))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),R=function(){function e(t,i){_classCallCheck(this,e),this.next=t,this.interceptor=i}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),x=new r.OlP("HTTP_INTERCEPTORS"),O=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),P=/^\)\]\}',?\n/,D=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y(function(i){var n=t.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach(function(e,t){return n.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&n.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();n.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new C({headers:r,status:t,statusText:i,url:o})},u=function(){var t=c(),r=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===n.response?n.responseText:n.response),0===o&&(o=u?200:0);var l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(P,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,l&&(l=!1,u={error:d,text:u})}}l?(i.next(new T({body:u,headers:r,status:o,statusText:a,url:s||void 0})),i.complete()):i.error(new E({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(e){var t=c().url,r=new E({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:t||void 0});i.error(r)},h=!1,f=function(t){h||(i.next(c()),h=!0);var r={type:A.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),i.next(r)},p=function(e){var t={type:A.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),i.next(t)};return n.addEventListener("load",u),n.addEventListener("error",l),n.addEventListener("timeout",l),n.addEventListener("abort",l),e.reportProgress&&(n.addEventListener("progress",f),null!==a&&n.upload&&n.upload.addEventListener("progress",p)),n.send(a),i.next({type:A.Sent}),function(){n.removeEventListener("error",l),n.removeEventListener("abort",l),n.removeEventListener("load",u),n.removeEventListener("timeout",l),e.reportProgress&&(n.removeEventListener("progress",f),null!==a&&n.upload&&n.upload.removeEventListener("progress",p)),n.readyState!==n.DONE&&n.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),M=new r.OlP("XSRF_COOKIE_NAME"),L=new r.OlP("XSRF_HEADER_NAME"),N=function e(){_classCallCheck(this,e)},z=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.doc=t,this.platform=i,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(n.K0),r.LFG(r.Lbi),r.LFG(M))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Z=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.tokenService=t,this.headerName=i}return _createClass(e,[{key:"intercept",value:function(e,t){var i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return t.handle(e);var n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(N),r.LFG(L))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.backend=t,this.injector=i,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(x,[]);this.chain=t.reduceRight(function(e,t){return new R(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(h),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),F=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Z,useClass:O}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:M,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[Z,{provide:x,useExisting:Z,multi:!0},{provide:N,useClass:z},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),e}(),q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[I,{provide:l,useClass:B},D,{provide:h,useExisting:D}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},31572:function(e,t,i){"use strict";i.d(t,{deG:function(){return ii},tb:function(){return nu},AFp:function(){return Xc},ip1:function(){return Qc},CZH:function(){return Wc},hGG:function(){return Ju},z2F:function(){return Bu},sBO:function(){return Gs},Sil:function(){return pu},_Vd:function(){return ps},EJc:function(){return au},SBq:function(){return ys},qLn:function(){return An},vpe:function(){return xc},gxx:function(){return fo},tBr:function(){return Ci},XFs:function(){return x},OlP:function(){return ti},zs3:function(){return So},ZZ4:function(){return zs},aQg:function(){return Bs},soG:function(){return ou},YKP:function(){return $s},v3s:function(){return qu},h0i:function(){return Xs},PXZ:function(){return Mu},R0b:function(){return mu},FiY:function(){return Ti},Lbi:function(){return iu},g9A:function(){return tu},n_E:function(){return Pc},Qsj:function(){return ws},FYo:function(){return bs},JOm:function(){return In},Tiy:function(){return ks},q3G:function(){return fn},tp0:function(){return Ei},EAV:function(){return Gu},Rgc:function(){return Js},dDg:function(){return Cu},DyG:function(){return ni},GfV:function(){return Cs},s_b:function(){return tc},ifc:function(){return L},eFA:function(){return Lu},G48:function(){return Pu},Gpc:function(){return f},f3M:function(){return _i},X6Q:function(){return Ou},_c5:function(){return Ku},VLi:function(){return Eu},c2e:function(){return ru},zSh:function(){return go},wAp:function(){return is},vHH:function(){return v},EiD:function(){return hn},mCW:function(){return Ki},qzn:function(){return Ni},JVY:function(){return Zi},pB0:function(){return Hi},eBb:function(){return Fi},L6k:function(){return Bi},LAX:function(){return qi},cg1:function(){return $a},Tjo:function(){return Yu},kL8:function(){return es},yhl:function(){return zi},dqk:function(){return F},sIi:function(){return zo},CqO:function(){return sa},QGY:function(){return oa},F4k:function(){return aa},RDi:function(){return ke},AaK:function(){return l},z3N:function(){return Li},qOj:function(){return Ro},TTD:function(){return ye},_Bn:function(){return hs},xp6:function(){return pr},uIk:function(){return Go},Tol:function(){return Ia},Gre:function(){return Ka},ekj:function(){return Sa},Suo:function(){return Gc},Xpm:function(){return W},lG2:function(){return oe},Yz7:function(){return b},cJS:function(){return w},oAB:function(){return ie},Yjl:function(){return ae},Y36:function(){return Jo},_UZ:function(){return ea},GkF:function(){return na},BQk:function(){return ia},ynx:function(){return ta},qZA:function(){return $o},TgZ:function(){return Xo},EpF:function(){return ra},n5z:function(){return Wt},Ikx:function(){return Va},LFG:function(){return yi},$8M:function(){return $t},NdJ:function(){return ca},CRH:function(){return jc},kcU:function(){return vt},O4$:function(){return gt},oxw:function(){return fa},ALo:function(){return kc},lcZ:function(){return Cc},xi3:function(){return Tc},Dn7:function(){return Ec},Hsn:function(){return va},F$t:function(){return ga},Q6J:function(){return Qo},s9C:function(){return ma},MGl:function(){return ya},hYB:function(){return _a},DdM:function(){return gc},VKq:function(){return vc},WLB:function(){return mc},kEZ:function(){return yc},iGM:function(){return Hc},MAs:function(){return Vo},pYS:function(){return En},evT:function(){return Tn},Jf7:function(){return Cn},CHM:function(){return He},oJD:function(){return pn},LSH:function(){return gn},B6R:function(){return X},kYT:function(){return ne},Udp:function(){return Ea},WFA:function(){return ua},d8E:function(){return Ja},YNc:function(){return Ko},W1O:function(){return Jc},_uU:function(){return Fa},Oqu:function(){return qa},hij:function(){return Ha},AsE:function(){return Ua},lnq:function(){return Ga},HOy:function(){return ja},xDo:function(){return Ya},Gf:function(){return Uc}});var n=i(55959),r=i(87570),o=i(48318),a=i(31906),s=i(1055);function c(e){for(var t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function u(e,t){for(var i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function l(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(l).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var d=c({__forward_ref__:c});function f(e){return e.__forward_ref__=f,e.toString=function(){return l(this())},e}function p(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===f}var v=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,n))).code=e,r}return i}(_wrapNativeSuper(Error));function m(e){return"string"==typeof e?e:null==e?"":String(e)}function y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():m(e)}function _(e,t){var i=t?" in ".concat(t):"";throw new v("201","No provider for ".concat(y(e)," found").concat(i))}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{providers:e.providers||[],imports:e.imports||[]}}function A(e){return k(e,E)||k(e,I)}function k(e,t){return e.hasOwnProperty(t)?e[t]:null}function C(e){return e&&(e.hasOwnProperty(S)||e.hasOwnProperty(R))?e[S]:null}var T,E=c({"\u0275prov":c}),S=c({"\u0275inj":c}),I=c({ngInjectableDef:c}),R=c({ngInjectorDef:c}),x=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function O(e){var t=T;return T=e,t}function P(e,t,i){var n=A(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&x.Optional?null:void 0!==t?t:void _(l(e),"Injector")}function D(e){return{toString:e}.toString()}var M=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),L=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),N="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,F=N||B||z||Z,q={},H=[],U=c({"\u0275cmp":c}),G=c({"\u0275dir":c}),j=c({"\u0275pipe":c}),Y=c({"\u0275mod":c}),K=c({"\u0275loc":c}),V=c({"\u0275fac":c}),J=c({__NG_ELEMENT_ID__:c}),Q=0;function W(e){return D(function(){var t={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===M.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||H,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||L.Emulated,id:"c",styles:e.styles||H,_:null,setInput:null,schemas:e.schemas||null,tView:null},n=e.directives,r=e.features,o=e.pipes;return i.id+=Q++,i.inputs=re(e.inputs,t),i.outputs=re(e.outputs),r&&r.forEach(function(e){return e(i)}),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map($)}:null,i.pipeDefs=o?function(){return("function"==typeof o?o():o).map(ee)}:null,i})}function X(e,t,i){var n=e.\u0275cmp;n.directiveDefs=function(){return t.map($)},n.pipeDefs=function(){return i.map(ee)}}function $(e){return se(e)||function(e){return e[G]||null}(e)}function ee(e){return function(e){return e[j]||null}(e)}var te={};function ie(e){return D(function(){var t={type:e.type,bootstrap:e.bootstrap||H,declarations:e.declarations||H,imports:e.imports||H,exports:e.exports||H,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(te[e.id]=e.type),t})}function ne(e,t){return D(function(){var i=ce(e,!0);i.declarations=t.declarations||H,i.imports=t.imports||H,i.exports=t.exports||H})}function re(e,t){if(null==e)return q;var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),i[r]=n,t&&(t[r]=o)}return i}var oe=W;function ae(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function se(e){return e[U]||null}function ce(e,t){var i=e[Y]||null;if(!i&&!0===t)throw new Error("Type ".concat(l(e)," does not have '\u0275mod' property."));return i}function ue(e){return Array.isArray(e)&&"object"==typeof e[1]}function le(e){return Array.isArray(e)&&!0===e[1]}function he(e){return 0!=(8&e.flags)}function de(e){return 2==(2&e.flags)}function fe(e){return 1==(1&e.flags)}function pe(e){return null!==e.template}function ge(e,t){return e.hasOwnProperty(V)?e[V]:null}var ve,me=function(){function e(t,i,n){_classCallCheck(this,e),this.previousValue=t,this.currentValue=i,this.firstChange=n}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ye(){return _e}function _e(e){return e.type.prototype.ngOnChanges&&(e.setInput=we),be}function be(){var e=Ae(this),t=null==e?void 0:e.current;if(t){var i=e.previous;if(i===q)e.previous=t;else for(var n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function we(e,t,i,n){var r=Ae(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:q,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[i],c=a[s];o[s]=new me(c&&c.currentValue,t,a===q),e[n]=t}function Ae(e){return e.__ngSimpleChanges__||null}function ke(e){ve=e}function Ce(){return void 0!==ve?ve:"undefined"!=typeof document?document:void 0}function Te(e){return!!e.listen}ye.ngInherit=!0;var Ee={createRenderer:function(e,t){return Ce()}};function Se(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e,t){return Se(t[e])}function Re(e,t){return Se(t[e.index])}function xe(e,t){return e.data[t]}function Oe(e,t){return e[t]}function Pe(e,t){var i=t[e];return ue(i)?i:i[0]}function De(e){return 4==(4&e[2])}function Me(e){return 128==(128&e[2])}function Le(e,t){return null==t?null:e[t]}function Ne(e){e[18]=0}function ze(e,t){e[5]+=t;for(var i=e,n=e[3];null!==n&&(1===t&&1===i[5]||-1===t&&0===i[5]);)n[5]+=t,i=n,n=n[3]}var Ze={lFrame:ct(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Be(){return Ze.bindingsEnabled}function Fe(){return Ze.lFrame.lView}function qe(){return Ze.lFrame.tView}function He(e){return Ze.lFrame.contextLView=e,e[8]}function Ue(){for(var e=Ge();null!==e&&64===e.type;)e=e.parent;return e}function Ge(){return Ze.lFrame.currentTNode}function je(e,t){var i=Ze.lFrame;i.currentTNode=e,i.isParent=t}function Ye(){return Ze.lFrame.isParent}function Ke(){Ze.lFrame.isParent=!1}function Ve(){return Ze.isInCheckNoChangesMode}function Je(e){Ze.isInCheckNoChangesMode=e}function Qe(){var e=Ze.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function We(){return Ze.lFrame.bindingIndex}function Xe(){return Ze.lFrame.bindingIndex++}function $e(e){var t=Ze.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function et(e){Ze.lFrame.currentDirectiveIndex=e}function tt(e){var t=Ze.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function it(){return Ze.lFrame.currentQueryIndex}function nt(e){Ze.lFrame.currentQueryIndex=e}function rt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ot(e,t,i){if(i&x.SkipSelf){for(var n=t,r=e;!(null!==(n=n.parent)||i&x.Host||(n=rt(r),null===n)||(r=r[15],10&n.type)););if(null===n)return!1;t=n,e=r}var o=Ze.lFrame=st();return o.currentTNode=t,o.lView=e,!0}function at(e){var t=st(),i=e[1];Ze.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function st(){var e=Ze.lFrame,t=null===e?null:e.child;return null===t?ct(e):t}function ct(e){var t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ut(){var e=Ze.lFrame;return Ze.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var lt=ut;function ht(){var e=ut();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dt(){return Ze.lFrame.selectedIndex}function ft(e){Ze.lFrame.selectedIndex=e}function pt(){var e=Ze.lFrame;return xe(e.tView,e.selectedIndex)}function gt(){Ze.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function vt(){Ze.lFrame.currentNamespace=null}function mt(e,t){for(var i=t.directiveStart,n=t.directiveEnd;i=n)break}else t[s]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var kt=function e(t,i,n){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n};function Ct(e,t,i){for(var n=Te(e),r=0;rt){a=o-1;break}}}for(;o>16,n=t;i>0;)n=n[15],i--;return n}var Pt=!0;function Dt(e){var t=Pt;return Pt=e,t}var Mt=0;function Lt(e,t){var i=zt(e,t);if(-1!==i)return i;var n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,Nt(n.data,e),Nt(t,null),Nt(n.blueprint,null));var r=Zt(e,t),o=e.injectorIndex;if(Rt(r))for(var a=xt(r),s=Ot(r,t),c=s[1].data,u=0;u<8;u++)t[o+u]=s[a+u]|c[a+u];return t[o+8]=r,o}function Nt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Zt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var i=0,n=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(n=2===a?o.declTNode:1===a?r[6]:null))return-1;if(i++,r=r[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function Bt(e,t,i){!function(e,t,i){var n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(J)&&(n=i[J]),null==n&&(n=i[J]=Mt++);var r=255&n;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:x.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(J)?e[J]:void 0;return"number"==typeof t?t>=0?255&t:Gt:t}(i);if("function"==typeof o){if(!ot(t,e,n))return n&x.Host?Ft(r,i,n):qt(t,i,n,r);try{var a=o(n);if(null!=a||n&x.Optional)return a;_(i)}finally{lt()}}else if("number"==typeof o){var s=null,c=zt(e,t),u=-1,l=n&x.Host?t[16][6]:null;for((-1===c||n&x.SkipSelf)&&(-1!==(u=-1===c?Zt(e,t):t[c+8])&&Jt(n,!1)?(s=t[1],c=xt(u),t=Ot(u,t)):c=-1);-1!==c;){var h=t[1];if(Vt(o,c,h.data)){var d=jt(c,t,i,s,n,l);if(d!==Ut)return d}-1!==(u=t[c+8])&&Jt(n,t[1].data[c+8]===l)&&Vt(o,c,t)?(s=h,c=xt(u),t=Ot(u,t)):c=-1}}}return qt(t,i,n,r)}var Ut={};function Gt(){return new Qt(Ue(),Fe())}function jt(e,t,i,n,r,o){var a=t[1],s=a.data[e+8],c=Yt(s,a,i,null==n?de(s)&&Pt:n!=a&&0!=(3&s.type),r&x.Host&&o===s);return null!==c?Kt(t,a,c,s):Ut}function Yt(e,t,i,n,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,c=e.directiveStart,u=o>>20,l=r?s+u:e.directiveEnd,h=n?s:s+u;h=c&&d.type===i)return h}if(r){var f=a[c];if(f&&pe(f)&&f.type===i)return c}return null}function Kt(e,t,i,n){var r=e[i],o=t.data;if(r instanceof kt){var a=r;a.resolving&&function(e,t){throw new v("200","Circular dependency in DI detected for ".concat(e))}(y(o[i]));var s=Dt(a.canSeeViewProviders);a.resolving=!0;var c=a.injectImpl?O(a.injectImpl):null;ot(e,n,x.Default);try{r=e[i]=a.factory(void 0,o,e,n),t.firstCreatePass&&i>=n.directiveStart&&function(e,t,i){var n=t.type.prototype,r=n.ngOnChanges,o=n.ngOnInit,a=n.ngDoCheck;if(r){var s=_e(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,s),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,s)}o&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,o),a&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,a),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,a))}(i,o[i],t)}finally{null!==c&&O(c),Dt(s),a.resolving=!1,lt()}}return r}function Vt(e,t,i){return!!(i[t+(e>>5)]&1<=e.length?e.push(i):e.splice(t,0,i)}function si(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ci(e,t){for(var i=[],n=0;n=0?e[1|n]=i:function(e,t,i,n){var r=e.length;if(r==t)e.push(i,n);else if(1===r)e.push(n,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=n}}(e,n=~n,t,i),n}function li(e,t){var i=hi(e,t);if(i>=0)return e[1|i]}function hi(e,t){return function(e,t,i){for(var n=0,r=e.length>>1;r!==n;){var o=n+(r-n>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:n=o+1}return~(r<<1)}(e,t)}var di,fi={},pi=/\n/gm,gi=c({provide:String,useValue:c});function vi(e){var t=di;return di=e,t}function mi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.Default;if(void 0===di)throw new Error("inject() must be called from an injection context");return null===di?P(e,void 0,t):di.get(e,t&x.Optional?null:void 0,t)}function yi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.Default;return(T||mi)(p(e),t)}var _i=yi;function bi(e){for(var t=[],i=0;i"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();tn.hasOwnProperty(t)&&!Wi.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(ln(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,un=/([^\#-~ |!])/g;function ln(e){return e.replace(/&/g,"&").replace(cn,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(un,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function hn(e,t){var i=null;try{Qi=Qi||function(e){var t=new Gi(e);return function(){try{return!!(new window.DOMParser).parseFromString(Si(""),"text/html")}catch(e){return!1}}()?new Ui(t):t}(e);var n=t?String(t):"";i=Qi.getInertBodyElement(n);var r=5,o=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=Qi.getInertBodyElement(n)}while(n!==o);return Si((new sn).sanitizeChildren(dn(i)||i))}finally{if(i)for(var a=dn(i)||i;a.firstChild;)a.removeChild(a.firstChild)}}function dn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var fn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function pn(e){var t=vn();return t?Ii(t.sanitize(fn.HTML,e)||""):Ni(e,"HTML")?Ii(Li(e)):hn(Ce(),m(e))}function gn(e){var t=vn();return t?t.sanitize(fn.URL,e)||"":Ni(e,"URL")?Li(e):Ki(m(e))}function vn(){var e=Fe();return e&&e[12]}function mn(e,t){e.__ngContext__=t}function yn(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function _n(e){return e.ngDebugContext}function bn(e){return e.ngOriginalError}function wn(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n0&&(e[n-1][4]=r[4]);var a=si(e,10+t);Xn(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Zn(e,t){if(!(256&t[2])){var i=t[11];Te(i)&&i.destroyNode&&Xn(e,t,i,3,null,null),function(e){var t=e[13];if(!t)return Bn(e[1],e);for(;t;){var i=null;if(ue(t))i=t[13];else{var n=t[10];n&&(i=n)}if(!i){for(;t&&!t[4]&&t!==e;)ue(t)&&Bn(t[1],t),t=t[3];null===t&&(t=e),ue(t)&&Bn(t[1],t),i=t&&t[4]}t=i}}(t)}}function Bn(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var i;if(null!=e&&null!=(i=e.destroyHooks))for(var n=0;n=0?n[r=u]():n[r=-u].unsubscribe(),o+=2}else{var l=n[r=i[o+1]];i[o].call(l)}if(null!==n){for(var h=r+1;ho?"":r[l+1].toLowerCase();var d=8&n?h:null;if(d&&-1!==ir(d,u,0)||2&n&&u!==h){if(sr(n))return!1;a=!0}}}}else{if(!a&&!sr(n)&&!sr(c))return!1;if(a&&sr(c))continue;a=!1,n=c|1&n}}return sr(n)||a}function sr(e){return 0==(1&e)}function cr(e,t,i,n){if(null===t)return-1;var r=0;if(n||!i){for(var o=!1;r-1)for(i++;i2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+s+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""===r||sr(a)||(t+=hr(o,r),r=""),n=a,o=o||!sr(n);i++}return""!==r&&(t+=hr(o,r)),t}var fr={};function pr(e){gr(qe(),Fe(),dt()+e,Ve())}function gr(e,t,i,n){if(!n)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&yt(t,r,i)}else{var o=e.preOrderHooks;null!==o&&_t(t,o,0,i)}ft(i)}function vr(e,t){return e<<17|t<<2}function mr(e){return e>>17&32767}function yr(e){return 2|e}function _r(e){return(131068&e)>>2}function br(e,t){return-131069&e|t<<2}function wr(e){return 1|e}function Ar(e,t){var i=e.contentQueries;if(null!==i)for(var n=0;n20&&gr(e,t,20,Ve()),i(n,r)}finally{ft(o)}}function xr(e,t,i){if(he(t))for(var n=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:Re,n=t.localNames;if(null!==n)for(var r=t.index+1,o=0;o0;){var i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(s)!=c&&s.push(c),s.push(n,r,a)}}function Fr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function qr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Hr(e,t,i){if(i){if(t.exportAs)for(var n=0;n0&&Qr(i)}}function Qr(e){for(var t=On(e);null!==t;t=Pn(t))for(var i=10;i0&&Qr(n)}var o=e[1].components;if(null!==o)for(var a=0;a0&&Qr(s)}}function Wr(e,t){var i=Pe(t,e),n=i[1];!function(e,t){for(var i=t.length;i1&&void 0!==arguments[1]?arguments[1]:fi;if(t===fi){var i=new Error("NullInjectorError: No provider for ".concat(l(e),"!"));throw i.name="NullInjectorError",i}return t}}]),e}(),go=new ti("Set Injector scope."),vo={},mo={};function yo(){return void 0===ho&&(ho=new po),ho}function _o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new bo(e,i,t||yo(),n)}var bo=function(){function e(t,i,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];i&&oi(i,function(e){return r.processProvider(e,t,i)}),oi([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(fo,ko(void 0,this));var s=this.records.get(go);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:l(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fi,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x.Default;this.assertNotDestroyed();var n,r=vi(this);try{if(!(i&x.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(n=e)||"object"==typeof n&&n instanceof ti)&&A(e);o=a&&this.injectableDefInScope(a)?ko(wo(e),vo):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(i&x.Self?yo():this.parent).get(e,t=i&x.Optional&&t===fi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(l(e)),r)throw s;return function(e,t,i,n){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=l(t);if(Array.isArray(t))r=t.map(l).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):l(s)))}r="{".concat(o.join(", "),"}")}return"".concat(i).concat(n?"("+n+")":"","[").concat(r,"]: ").concat(e.replace(pi,"\n "))}("\n"+e.message,r,"R3InjectorError",n),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{vi(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,i){return e.push(l(i))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,i){var n=this;if(!(e=p(e)))return!1;var r=C(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==i.indexOf(a);if(void 0!==o&&(r=C(o)),null==r)return!1;if(null!=r.imports&&!s){var c;i.push(a);try{oi(r.imports,function(e){n.processInjectorType(e,t,i)&&(void 0===c&&(c=[]),c.push(e))})}finally{}if(void 0!==c)for(var u=function(e){var t=c[e],i=t.ngModule,r=t.providers;oi(r,function(e){return n.processProvider(e,i,r||H)})},l=0;l0){var i=ci(t,"?");throw new Error("Can't resolve all parameters for ".concat(l(e),": (").concat(i.join(", "),")."))}var n=function(e){var t=e&&(e[E]||e[I]);if(t){var i=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(i,'" 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 "').concat(i,'" class.')),t}return null}(e);return null!==n?function(){return n.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ao(e,t,i){var n,r;if(To(e)){var o=p(e);return ge(o)||wo(o)}if(Co(e))n=function(){return p(e.useValue)};else if((r=e)&&r.useFactory)n=function(){return e.useFactory.apply(e,_toConsumableArray(bi(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))n=function(){return yi(p(e.useExisting))};else{var a=p(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ge(a)||wo(a);n=function(){return _construct(a,_toConsumableArray(bi(e.deps)))}}return n}function ko(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:i?[]:void 0}}function Co(e){return null!==e&&"object"==typeof e&&gi in e}function To(e){return"function"==typeof e}var Eo=function(e,t,i){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0,r=_o(e,t,i,n);return r._resolveInjectorDefTypes(),r}({name:i},t,e,i)},So=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Eo(e,t,""):Eo(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=fi,e.NULL=new po,e.\u0275prov=b({token:e,providedIn:"any",factory:function(){return yi(fo)}}),e.__NG_ELEMENT_ID__=-1,e}();function Io(e,t){mt(yn(e)[1],Ue())}function Ro(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,i=!0,n=[e];t;){var r=void 0;if(pe(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(i){n.push(r);var o=e;o.inputs=xo(e.inputs),o.declaredInputs=xo(e.declaredInputs),o.outputs=xo(e.outputs);var a=r.hostBindings;a&&Do(e,a);var s=r.viewQuery,c=r.contentQueries;if(s&&Oo(e,s),c&&Po(e,c),u(e.inputs,r.inputs),u(e.declaredInputs,r.declaredInputs),u(e.outputs,r.outputs),pe(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var h=r.features;if(h)for(var d=0;d=0;n--){var r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=St(r.hostAttrs,i=St(i,r.hostAttrs))}}(n)}function xo(e){return e===q?{}:e===H?[]:e}function Oo(e,t){var i=e.viewQuery;e.viewQuery=i?function(e,n){t(e,n),i(e,n)}:t}function Po(e,t){var i=e.contentQueries;e.contentQueries=i?function(e,n,r){t(e,n,r),i(e,n,r)}:t}function Do(e,t){var i=e.hostBindings;e.hostBindings=i?function(e,n){t(e,n),i(e,n)}:t}var Mo=null;function Lo(){if(!Mo){var e=F.Symbol;if(e&&e.iterator)Mo=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),i=0;i1&&void 0!==arguments[1]?arguments[1]:x.Default,i=Fe();return null===i?yi(e,t):Ht(Ue(),i,p(e),t)}function Qo(e,t,i){var n=Fe();return Fo(n,Xe(),t)&&zr(qe(),pt(),n,e,t,n[11],i,!1),Qo}function Wo(e,t,i,n,r){var o=r?"class":"style";co(e,i,t.inputs[o],o,n)}function Xo(e,t,i,n){var r=Fe(),o=qe(),a=20+e,s=r[11],c=r[a]=Ln(s,t,Ze.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,i,n,r,o,a){var s=t.consts,c=Cr(t,e,2,r,Le(s,o));return Zr(t,i,c,Le(s,a)),null!==c.attrs&&lo(c,c.attrs,!1),null!==c.mergedAttrs&&lo(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(a,o,r,0,t,i,n):o.data[a];je(u,!0);var l=u.mergedAttrs;null!==l&&Ct(s,c,l);var h=u.classes;null!==h&&tr(s,c,h);var d=u.styles;null!==d&&er(s,c,d),64!=(64&u.flags)&&Kn(o,r,c,u),0===Ze.lFrame.elementDepthCount&&mn(c,r),Ze.lFrame.elementDepthCount++,fe(u)&&(Or(o,r,u),xr(o,u,r)),null!==n&&Pr(r,u)}function $o(){var e=Ue();Ye()?Ke():je(e=e.parent,!1);var t=e;Ze.lFrame.elementDepthCount--;var i=qe();i.firstCreatePass&&(mt(i,e),he(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Wo(i,t,Fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Wo(i,t,Fe(),t.stylesWithoutHost,!1)}function ea(e,t,i,n){Xo(e,t,i,n),$o()}function ta(e,t,i){var n=Fe(),r=qe(),o=e+20,a=r.firstCreatePass?function(e,t,i,n,r){var o=t.consts,a=Le(o,n),s=Cr(t,e,8,"ng-container",a);return null!==a&&lo(s,a,!0),Zr(t,i,s,Le(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,n,t,i):r.data[o];je(a,!0);var s=n[o]=n[11].createComment("");Kn(r,n,s,a),mn(s,n),fe(a)&&(Or(r,n,a),xr(r,a,n)),null!=i&&Pr(n,a)}function ia(){var e=Ue(),t=qe();Ye()?Ke():je(e=e.parent,!1),t.firstCreatePass&&(mt(t,e),he(e)&&t.queries.elementEnd(e))}function na(e,t,i){ta(e,t,i),ia()}function ra(){return Fe()}function oa(e){return!!e&&"function"==typeof e.then}function aa(e){return!!e&&"function"==typeof e.subscribe}var sa=aa;function ca(e,t,i,n){var r=Fe(),o=qe(),a=Ue();return la(o,r,r[11],a,e,t,!!i,n),ca}function ua(e,t){var i=Ue(),n=Fe(),r=qe();return la(r,n,ao(tt(r.data),i,n),i,e,t,!1),ua}function la(e,t,i,n,r,o,a,s){var c=fe(n),u=e.firstCreatePass&&oo(e),l=ro(t),h=!0;if(3&n.type||s){var d=Re(n,t),f=s?s(d):d,p=l.length,g=s?function(e){return s(Se(e[n.index]))}:n.index;if(Te(i)){var v=null;if(!s&&c&&(v=function(e,t,i,n){var r=e.cleanup;if(null!=r)for(var o=0;oc?s[c]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,n.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=o,v.__ngLastListenerFn__=o,h=!1;else{o=da(n,t,0,o,!1);var m=i.listen(f,r,o);l.push(o,m),u&&u.push(r,g,p,p+1)}}else o=da(n,t,0,o,!0),f.addEventListener(r,o,a),l.push(o),u&&u.push(r,g,p,a)}else o=da(n,t,0,o,!1);var y,_=n.outputs;if(h&&null!==_&&(y=_[r])){var b=y.length;if(b)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Ze.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ze.lFrame.contextLView))[8]}(e)}function pa(e,t){for(var i=null,n=function(e){var t=e.attrs;if(null!=t){var i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0,n=Fe(),r=qe(),o=Cr(r,20+e,16,null,i||null);null===o.projection&&(o.projection=t),Ke(),64!=(64&o.flags)&&function(e,t,i){$n(t[11],0,t,i,Fn(e,i,t),jn(i.parent||t[6],i,t))}(r,n,o)}function ma(e,t,i){return ya(e,"",t,"",i),ma}function ya(e,t,i,n,r){var o=Fe(),a=jo(o,t,i,n);return a!==fr&&zr(qe(),pt(),o,e,a,o[11],r,!1),ya}function _a(e,t,i,n,r,o,a){var s=Fe(),c=Yo(s,t,i,n,r,o);return c!==fr&&zr(qe(),pt(),s,e,c,s[11],a,!1),_a}function ba(e,t,i,n,r){for(var o=e[i+1],a=null===t,s=n?mr(o):_r(o),c=!1;0!==s&&(!1===c||a);){var u=e[s+1];wa(e[s],t)&&(c=!0,e[s+1]=n?wr(u):yr(u)),s=n?mr(u):_r(u)}c&&(e[i+1]=n?yr(o):wr(o))}function wa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&hi(e,t)>=0}var Aa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ka(e){return e.substring(Aa.key,Aa.keyEnd)}function Ca(e,t){var i=Aa.textEnd;return i===t?-1:(t=Aa.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,Aa.key=t,i),Ta(e,t,i))}function Ta(e,t,i){for(;t=0;i=Ca(t,i))ui(e,ka(t),!0)}function xa(e,t,i,n){var r=Fe(),o=qe(),a=$e(2);o.firstUpdatePass&&Da(o,e,a,n),t!==fr&&Fo(r,a,t)&&Na(o,o.data[dt()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=l(Li(e)))),e}(t,i),n,a)}function Oa(e,t,i,n){var r=qe(),o=$e(2);r.firstUpdatePass&&Da(r,null,o,n);var a=Fe();if(i!==fr&&Fo(a,o,i)){var s=r.data[dt()];if(Ba(s,n)&&!Pa(r,o)){var c=n?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(i=h(c,i||"")),Wo(r,s,a,i,n)}else!function(e,t,i,n,r,o,a,s){r===fr&&(r=H);for(var c=0,u=0,l=0=e.expandoStartIndex}function Da(e,t,i,n){var r=e.data;if(null===r[i+1]){var o=r[dt()],a=Pa(e,i);Ba(o,n)&&null===t&&!a&&(t=!1),t=function(e,t,i,n){var r=tt(e),o=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(i=La(i=Ma(null,e,t,i,n),t.attrs,n),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(i=Ma(r,e,t,i,n),null===o){var s=function(e,t,i){var n=i?t.classBindings:t.styleBindings;if(0!==_r(n))return e[mr(n)]}(e,t,n);void 0!==s&&Array.isArray(s)&&function(e,t,i,n){e[mr(i?t.classBindings:t.styleBindings)]=n}(e,t,n,s=La(s=Ma(null,e,t,s[1],n),t.attrs,n))}else o=function(e,t,i){for(var n,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(l=!0)}else u=i;if(r)if(0!==c){var d=mr(e[s+1]);e[n+1]=vr(d,s),0!==d&&(e[d+1]=br(e[d+1],n)),e[s+1]=131071&e[s+1]|n<<17}else e[n+1]=vr(s,0),0!==s&&(e[s+1]=br(e[s+1],n)),s=n;else e[n+1]=vr(c,0),0===s?s=n:e[c+1]=br(e[c+1],n),c=n;l&&(e[n+1]=yr(e[n+1])),ba(e,u,n,!0),ba(e,u,n,!1),function(e,t,i,n,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&hi(o,t)>=0&&(i[n+1]=wr(i[n+1]))}(t,u,e,n,o),a=vr(s,c),o?t.classBindings=a:t.styleBindings=a}(r,o,t,i,a,n)}}function Ma(e,t,i,n,r){var o=null,a=i.directiveEnd,s=i.directiveStylingLast;for(-1===s?s=i.directiveStart:s++;s0;){var c=e[r],u=Array.isArray(c),l=u?c[1]:c,h=null===l,d=i[r+1];d===fr&&(d=h?H:void 0);var f=h?li(d,n):l===n?d:void 0;if(u&&!Za(f)&&(f=li(c,n)),Za(f)&&(a=f,s))return a;var p=e[r+1];r=s?mr(p):_r(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(a=li(g,n))}return a}function Za(e){return void 0!==e}function Ba(e,t){return 0!=(e.flags&(t?16:32))}function Fa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=Fe(),n=qe(),r=e+20,o=n.firstCreatePass?Cr(n,r,1,t,null):n.data[r],a=i[r]=function(e,t){return Te(e)?e.createText(t):e.createTextNode(t)}(i[11],t);Kn(n,i,a,o),je(o,!1)}function qa(e){return Ha("",e,""),qa}function Ha(e,t,i){var n=Fe(),r=jo(n,e,t,i);return r!==fr&&uo(n,dt(),r),Ha}function Ua(e,t,i,n,r){var o=Fe(),a=Yo(o,e,t,i,n,r);return a!==fr&&uo(o,dt(),a),Ua}function Ga(e,t,i,n,r,o,a){var s=Fe(),c=function(e,t,i,n,r,o,a,s){var c=Ho(e,We(),i,r,a);return $e(3),c?t+m(i)+n+m(r)+o+m(a)+s:fr}(s,e,t,i,n,r,o,a);return c!==fr&&uo(s,dt(),c),Ga}function ja(e,t,i,n,r,o,a,s,c){var u=Fe(),l=function(e,t,i,n,r,o,a,s,c,u){var l=Uo(e,We(),i,r,a,c);return $e(4),l?t+m(i)+n+m(r)+o+m(a)+s+m(c)+u:fr}(u,e,t,i,n,r,o,a,s,c);return l!==fr&&uo(u,dt(),l),ja}function Ya(e,t,i,n,r,o,a,s,c,u,l){var h=Fe(),d=function(e,t,i,n,r,o,a,s,c,u,l,h){var d=We(),f=Uo(e,d,i,r,a,c);return f=Fo(e,d+4,l)||f,$e(5),f?t+m(i)+n+m(r)+o+m(a)+s+m(c)+u+m(l)+h:fr}(h,e,t,i,n,r,o,a,s,c,u,l);return d!==fr&&uo(h,dt(),d),Ya}function Ka(e,t,i){Oa(ui,Ra,jo(Fe(),e,t,i),!0)}function Va(e,t,i){var n=Fe();return Fo(n,Xe(),t)&&zr(qe(),pt(),n,e,t,n[11],i,!0),Va}function Ja(e,t,i){var n=Fe();if(Fo(n,Xe(),t)){var r=qe(),o=pt();zr(r,o,n,e,t,ao(tt(r.data),o,n),i,!0)}return Ja}var Qa=void 0,Wa=["en",[["a","p"],["AM","PM"],Qa],[["AM","PM"],Qa,Qa],[["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"]],Qa,[["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"]],Qa,[["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}",Qa,"{1} 'at' {0}",Qa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}],Xa={};function $a(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),i=ts(t);if(i)return i;var n=t.split("-")[0];if(i=ts(n))return i;if("en"===n)return Wa;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function es(e){return $a(e)[is.PluralCase]}function ts(e){return e in Xa||(Xa[e]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[e]),Xa[e]}var is=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function ns(e){var t;null==(t=e)&&function(e,t,i,n){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function rs(e,t,i,n,r){if(e=p(e),Array.isArray(e))for(var o=0;o>20;if(To(e)||!e.multi){var g=new kt(u,r,Jo),v=ss(c,t,r?h:h+f,d);-1===v?(Bt(Lt(l,s),a,c),os(a,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(g),s.push(g)):(i[v]=g,s[v]=g)}else{var m=ss(c,t,h+f,d),y=ss(c,t,h,h+f),_=m>=0&&i[m],b=y>=0&&i[y];if(r&&!b||!r&&!_){Bt(Lt(l,s),a,c);var w=function(e,t,i,n,r){var o=new kt(e,i,Jo);return o.multi=[],o.index=t,o.componentProviders=0,as(o,r,n&&!i),o}(r?us:cs,i.length,r,n,u);!r&&b&&(i[y].providerFactory=w),os(a,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),i.push(w),s.push(w)}else os(a,e,m>-1?m:y,as(i[r?y:m],u,!r&&n));!r&&n&&b&&i[y].componentProviders++}}}function os(e,t,i,n){var r=To(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(i);-1===s?a.push(i,[n,o]):a[s+1].push(n,o)}else a.push(i,o)}}}function as(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function ss(e,t,i,n){for(var r=i;r1&&void 0!==arguments[1]?arguments[1]:[];return function(i){i.providersResolver=function(i,n){return function(e,t,i){var n=qe();if(n.firstCreatePass){var r=pe(e);rs(i,n.data,n.blueprint,r,!0),rs(t,n.data,n.blueprint,r,!1)}}(i,n?n(e):e,t)}}}var ds=function e(){_classCallCheck(this,e)},fs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(l(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),ps=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new fs,e}();function gs(){}function vs(e,t){return new ys(Re(e,t))}var ms=function(){return vs(Ue(),Fe())},ys=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=ms,e}();function _s(e){return e instanceof ys?e.nativeElement:e}var bs=function e(){_classCallCheck(this,e)},ws=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return As()},e}(),As=function(){var e=Fe(),t=Pe(Ue().index,e);return function(e){return e[11]}(ue(t)?t:e)},ks=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=b({token:e,providedIn:"root",factory:function(){return null}}),e}(),Cs=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Ts=new Cs("12.0.5"),Es=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return zo(e)}},{key:"create",value:function(e){return new Is(e)}}]),e}(),Ss=function(e,t){return t},Is=function(){function e(t){_classCallCheck(this,e),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=t||Ss}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,i=this._removalsHead,n=0,r=null;t||i;){var o=!i||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=t[i.index];if(null!==o&&n.push(Se(o)),le(o))for(var a=10;a-1&&(zn(e,i),si(t,i))}this._attachedToViewContainer=!1}Zn(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Lr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){$r(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){eo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,i){Je(!0);try{eo(e,t,i)}finally{Je(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Xn(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Hs=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this,e))._view=e,n}return _createClass(i,[{key:"detectChanges",value:function(){to(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Je(!0);try{to(e)}finally{Je(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),i}(qs),Us=function(e){return function(e,t,i){if(de(e)&&!i){var n=Pe(e.index,t);return new qs(n,n)}return 47&e.type?new qs(t[16],t):null}(Ue(),Fe(),16==(16&e))},Gs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Us,e}(),js=[new Ds],Ys=new zs([new Es]),Ks=new Bs(js),Vs=function(){return Ws(Ue(),Fe())},Js=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Vs,e}(),Qs=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this))._declarationLView=e,o._declarationTContainer=n,o.elementRef=r,o}return _createClass(i,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,i=kr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];var n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(t)),Er(t,i,e),new qs(i)}}]),i}(Js);function Ws(e,t){return 4&e.type?new Qs(t,e,vs(e,t)):null}var Xs=function e(){_classCallCheck(this,e)},$s=function e(){_classCallCheck(this,e)},ec=function(){return oc(Ue(),Fe())},tc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=ec,e}(),ic=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this))._lContainer=e,o._hostTNode=n,o._hostLView=r,o}return _createClass(i,[{key:"element",get:function(){return vs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Qt(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Zt(this._hostTNode,this._hostLView);if(Rt(e)){var t=Ot(e,this._hostLView),i=xt(e);return new Qt(t[1].data[i+8],t)}return new Qt(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=nc(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,i){var n=e.createEmbeddedView(t||{});return this.insert(n,i),n}},{key:"createComponent",value:function(e,t,i,n,r){var o=i||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(Xs,null);a&&(r=a)}var s=e.create(o,n,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(le(n[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=n[3],s=new i(a,a[6],a[3]);s.detach(s.indexOf(e))}}var c=this._adjustIndex(t),u=this._lContainer;!function(e,t,i,n){var r=10+n,o=i.length;n>0&&(i[r-1][4]=t),n1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),i}(tc);function nc(e){return e[8]}function rc(e){return e[8]||(e[8]=[])}function oc(e,t){var i,n=t[e.index];if(le(n))i=n;else{var r;if(8&e.type)r=Se(n);else{var o=t[11];r=o.createComment("");var a=Re(e,t);qn(o,Gn(o,a),r,function(e,t){return Te(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=i=Vr(n,t,r,e),Xr(t,i)}return new ic(i,e,t)}var ac={},sc=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this)).ngModule=e,n}return _createClass(i,[{key:"resolveComponentFactory",value:function(e){var t=se(e);return new lc(t,this.ngModule)}}]),i}(ps);function cc(e){var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}var uc=new ti("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return kn}}),lc=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this)).componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=e.selectors.map(dr).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!n,r}return _createClass(i,[{key:"inputs",get:function(){return cc(this.componentDef.inputs)}},{key:"outputs",get:function(){return cc(this.componentDef.outputs)}},{key:"create",value:function(e,t,i,n){var r,o,a=(n=n||this.ngModule)?function(e,t){return{get:function(i,n,r){var o=e.get(i,ac,r);return o!==ac||n===ac?o:t.get(i,n,r)}}}(e,n.injector):e,s=a.get(bs,Ee),c=a.get(ks,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=i?function(e,t,i){if(Te(e))return e.selectRootElement(t,i===L.ShadowDom);var n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(u,i,this.componentDef.encapsulation):Ln(s.createRenderer(null,this.componentDef),l,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f={components:[],scheduler:kn,clean:no,playerHandler:null,flags:0},p=Mr(0,null,null,1,0,null,null,null,null,null),g=kr(null,p,f,d,null,null,s,u,c,a);at(g);try{var v=function(e,t,i,n,r,o){var a=i[1];i[20]=e;var s=Cr(a,20,2,"#host",null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(lo(s,c,!0),null!==e&&(Ct(r,e,c),null!==s.classes&&tr(r,e,s.classes),null!==s.styles&&er(r,e,s.styles)));var u=n.createRenderer(e,t),l=kr(i,Dr(t),null,t.onPush?64:16,i[20],s,n,u,null,null);return a.firstCreatePass&&(Bt(Lt(s,i),a,t.type),qr(a,s),Ur(s,i.length,1)),Xr(i,l),i[20]=l}(h,this.componentDef,g,s,u);if(h)if(i)Ct(u,h,["ng-version",Ts.full]);else{var m=function(e){for(var t=[],i=[],n=1,r=2;n0&&tr(u,h,_.join(" "))}if(o=xe(p,20),void 0!==t)for(var b=o.projection=[],w=0;w1&&void 0!==arguments[1]?arguments[1]:So.THROW_IF_NOT_FOUND,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x.Default;return e===So||e===Xs||e===fo?this:this._r3Injector.get(e,t,i)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),i}(Xs),pc=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n,r,o;return _classCallCheck(this,i),(n=t.call(this)).moduleType=e,null!==ce(e)&&(r=e,o=new Set,function e(t){var i=ce(t,!0),n=i.id;null!==n&&(function(e,t,i){if(t&&t!==i)throw new Error("Duplicate module registered for ".concat(e," - ").concat(l(t)," vs ").concat(l(t.name)))}(n,dc.get(n),t),dc.set(n,t));var r,a=_createForOfIteratorHelper(Sn(i.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),e(s))}}catch(c){a.e(c)}finally{a.f()}}(r)),n}return _createClass(i,[{key:"create",value:function(e){return new fc(this.moduleType,e)}}]),i}($s);function gc(e,t,i){var n=Qe()+e,r=Fe();return r[n]===fr?Bo(r,n,i?t.call(i):t()):function(e,t){return e[t]}(r,n)}function vc(e,t,i,n){return bc(Fe(),Qe(),e,t,i,n)}function mc(e,t,i,n,r){return wc(Fe(),Qe(),e,t,i,n,r)}function yc(e,t,i,n,r,o){return Ac(Fe(),Qe(),e,t,i,n,r,o)}function _c(e,t){var i=e[t];return i===fr?void 0:i}function bc(e,t,i,n,r,o){var a=t+i;return Fo(e,a,r)?Bo(e,a+1,o?n.call(o,r):n(r)):_c(e,a+1)}function wc(e,t,i,n,r,o,a){var s=t+i;return qo(e,s,r,o)?Bo(e,s+2,a?n.call(a,r,o):n(r,o)):_c(e,s+2)}function Ac(e,t,i,n,r,o,a,s){var c=t+i;return Ho(e,c,r,o,a)?Bo(e,c+3,s?n.call(s,r,o,a):n(r,o,a)):_c(e,c+3)}function kc(e,t){var i,n=qe(),r=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(var i=t.length-1;i>=0;i--){var n=t[i];if(e===n.name)return n}throw new v("302","The pipe '".concat(e,"' could not be found!"))}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];var o=i.factory||(i.factory=ge(i.type)),a=O(Jo);try{var s=Dt(!1),c=o();return Dt(s),function(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}(n,Fe(),r,c),c}finally{O(a)}}function Cc(e,t,i){var n=e+20,r=Fe(),o=Oe(r,n);return Ic(r,Sc(r,n)?bc(r,Qe(),t,o.transform,i,o):o.transform(i))}function Tc(e,t,i,n){var r=e+20,o=Fe(),a=Oe(o,r);return Ic(o,Sc(o,r)?wc(o,Qe(),t,a.transform,i,n,a):a.transform(i,n))}function Ec(e,t,i,n,r){var o=e+20,a=Fe(),s=Oe(a,o);return Ic(a,Sc(a,o)?Ac(a,Qe(),t,s.transform,i,n,r,s):s.transform(i,n,r))}function Sc(e,t){return e[1].data[t].pure}function Ic(e,t){return No.isWrapped(t)&&(t=No.unwrap(t),e[We()]=fr),t}function Rc(e){return function(t){setTimeout(e,void 0,t)}}var xc=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,i),(e=t.call(this)).__isAsync=n,e}return _createClass(i,[{key:"emit",value:function(e){_get(_getPrototypeOf(i.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,n){var o,a,s,c=e,u=t||function(){return null},l=n;if(e&&"object"==typeof e){var h=e;c=null===(o=h.next)||void 0===o?void 0:o.bind(h),u=null===(a=h.error)||void 0===a?void 0:a.bind(h),l=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(u=Rc(u),c&&(c=Rc(c)),l&&(l=Rc(l)));var d=_get(_getPrototypeOf(i.prototype),"subscribe",this).call(this,{next:c,error:u,complete:l});return e instanceof r.w&&e.add(d),d}}]),i}(n.xQ);function Oc(){return this._results[Lo()]()}var Pc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var i=Lo(),n=e.prototype;n[i]||(n[i]=Oc)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new xc)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var i=ri(e);(this._changesDetected=!function(e,t,i){if(e.length!==t.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var i=t.queries;if(null!==i){for(var n=null!==t.contentQueries?t.contentQueries[0]:i.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=i,this.read=n},Nc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,i=e.parent;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var i=this.metadata.predicate;if(Array.isArray(i))for(var n=0;n0)n.push(a[s/2]);else{for(var u=o[s+1],l=t[-c],h=10;h0&&(r=setTimeout(function(){n._callbacks=n._callbacks.filter(function(e){return e.timeoutId!==r}),e(n._didWork,n.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:i})}},{key:"whenStable",value:function(e,t,i){if(i&&!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(e,t,i),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,i){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(yi(mu))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),Tu=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Iu.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Iu.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Eu(e){Iu=e}var Su,Iu=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,i){return null}}]),e}()),Ru=!0,xu=!1;function Ou(){return xu=!0,Ru}function Pu(){if(xu)throw new Error("Cannot enable prod mode after platform setup.");Ru=!1}var Du=new ti("AllowMultipleToken"),Mu=function e(t,i){_classCallCheck(this,e),this.name=t,this.token=i};function Lu(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(t),r=new ti(n);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Nu();if(!o||o.injector.get(Du,!1))if(e)e(i.concat(t).concat({provide:r,useValue:!0}));else{var a=i.concat(t).concat({provide:r,useValue:!0},{provide:go,useValue:"platform"});!function(e){if(Su&&!Su.destroyed&&!Su.injector.get(Du,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Su=e.get(zu);var t=e.get(tu,null);t&&t.forEach(function(e){return e()})}(So.create({providers:a,name:n}))}return function(e){var t=Nu();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Nu(){return Su&&!Su.destroyed?Su:null}var zu=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var i,n,r=this,o=(i=t?t.ngZone:void 0,n={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===i?new ku:("zone.js"===i?void 0:i)||new mu({enableLongStackTrace:Ou(),shouldCoalesceEventChangeDetection:!!(null==n?void 0:n.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==n?void 0:n.ngZoneRunCoalescing)})),a=[{provide:mu,useValue:o}];return o.run(function(){var t=So.create({providers:a,parent:r.injector,name:e.moduleType.name}),i=e.create(t),n=i.injector.get(An,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){n.handleError(e)}});i.onDestroy(function(){Fu(r._modules,i),e.unsubscribe()})}),function(e,t,n){try{var o=((a=i.injector.get(Wc)).runInitializers(),a.donePromise.then(function(){return ns(i.injector.get(ou,"en-US")||"en-US"),r._moduleDoBootstrap(i),i}));return oa(o)?o.catch(function(i){throw t.runOutsideAngular(function(){return e.handleError(i)}),i}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(n,o)})}},{key:"bootstrapModule",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Zu({},i);return function(e,t,i){var n=new pc(i);return Promise.resolve(n)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,n)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Bu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(l(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(yi(So))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Zu(e,t){return Array.isArray(t)?t.reduce(Zu,e):Object.assign(Object.assign({},e),t)}var Bu=function(){var e=function(){function e(t,i,n,r,c){var u=this;_classCallCheck(this,e),this._zone=t,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var l=new o.y(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),h=new o.y(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){mu.assertNotInAngularZone(),vu(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var i=u._zone.onUnstable.subscribe(function(){mu.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),i.unsubscribe()}});this.isStable=(0,a.T)(l,h.pipe((0,s.B)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var i,n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");i=e instanceof ds?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);var r=i.isBoundToModule?void 0:this._injector.get(Xs),o=i.create(So.NULL,[],t||i.selector,r),a=o.location.nativeElement,s=o.injector.get(Cu,null),c=s&&o.injector.get(Tu);return s&&c&&c.registerApplication(a,s),o.onDestroy(function(){n.detachView(o.hostView),Fu(n.components,o),c&&c.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(t=i.n()).done;){t.value.detectChanges()}}catch(n){i.e(n)}finally{i.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Fu(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(nu,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(yi(mu),yi(So),yi(An),yi(ps),yi(Wc))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Fu(e,t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}var qu=function e(){_classCallCheck(this,e)},Hu=function e(){_classCallCheck(this,e)},Uu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gu=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._compiler=t,this._config=i||Uu}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,n=_slicedToArray(e.split("#"),2),r=n[0],o=n[1];return void 0===o&&(o="default"),i(27622)(r).then(function(e){return e[o]}).then(function(e){return ju(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),n=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),i(27622)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return ju(e,n,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(yi(pu),yi(Hu,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function ju(e,t,i){if(!e)throw new Error("Cannot find '".concat(i,"' in '").concat(t,"'"));return e}var Yu=function(e){return null},Ku=Lu(null,"core",[{provide:iu,useValue:"unknown"},{provide:zu,deps:[So]},{provide:Tu,deps:[]},{provide:ru,deps:[]}]),Vu=[{provide:Bu,useClass:Bu,deps:[mu,So,An,ps,Wc]},{provide:uc,deps:[mu],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Wc,useClass:Wc,deps:[[new Ti,Qc]]},{provide:pu,useClass:pu,deps:[]},$c,{provide:zs,useFactory:function(){return Ys},deps:[]},{provide:Bs,useFactory:function(){return Ks},deps:[]},{provide:ou,useFactory:function(e){return ns(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Ci(ou),new Ti,new Ei]]},{provide:au,useValue:"USD"}],Ju=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(yi(Bu))},e.\u0275mod=ie({type:e}),e.\u0275inj=w({providers:Vu}),e}()},16073:function(e,t,i){"use strict";i.d(t,{Zs:function(){return ze},gN:function(){return z},Fj:function(){return f},qu:function(){return Ue},NI:function(){return ae},oH:function(){return we},u:function(){return Te},sg:function(){return ke},u5:function(){return qe},Cf:function(){return v},JU:function(){return l},a5:function(){return Z},JJ:function(){return F},JL:function(){return q},F:function(){return he},On:function(){return pe},YN:function(){return Re},wV:function(){return me},c5:function(){return Be},UX:function(){return He},Q7:function(){return Ne},EJ:function(){return Ie},kI:function(){return _},_Y:function(){return ge},Kr:function(){return De}});var n=i(31572),r=i(61511),o=i(19764),a=i(3148),s=i(79996),c=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._renderer=t,this._elementRef=i,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"setProperty",value:function(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"setDisabledState",value:function(e){this.setProperty("disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.Qsj),n.Y36(n.SBq))},e.\u0275dir=n.lG2({type:e}),e}(),u=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(c);return t.\u0275fac=function(i){return(e||(e=n.n5z(t)))(i||t)},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t}(),l=new n.OlP("NgValueAccessor"),h={provide:l,useExisting:(0,n.Gpc)(function(){return f}),multi:!0},d=new n.OlP("CompositionEventMode"),f=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,o){var a,s;return _classCallCheck(this,i),(a=t.call(this,e,n))._compositionMode=o,a._composing=!1,null==a._compositionMode&&(a._compositionMode=(s=(0,r.q)()?(0,r.q)().getUserAgent():"",!/android (\d+)/.test(s.toLowerCase()))),a}return _createClass(i,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),i}(c);return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(d,8))},e.\u0275dir=n.lG2({type:e,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&&n.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[n._Bn([h]),n.qOj]}),e}();function p(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}var v=new n.OlP("NgValidators"),m=new n.OlP("NgAsyncValidators"),y=/^(?=.{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])?)*$/,_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(e){return function(t){if(p(t.value)||p(e))return null;var i=parseFloat(t.value);return!isNaN(i)&&ie?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return b(e)}},{key:"requiredTrue",value:function(e){return w(e)}},{key:"email",value:function(e){return function(e){return p(e.value)||y.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return p(t.value)||!g(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"pattern",value:function(e){return A(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return R(e)}},{key:"composeAsync",value:function(e){return O(e)}}]),e}();function b(e){return p(e.value)?{required:!0}:null}function w(e){return!0===e.value?null:{required:!0}}function A(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),t=new RegExp(i)):(i=e.toString(),t=e),function(e){if(p(e.value))return null;var n=e.value;return t.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}):k;var t,i}function k(e){return null}function C(e){return null!=e}function T(e){var t=(0,n.QGY)(e)?(0,o.D)(e):e;return(0,n.CqO)(t),t}function E(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function S(e,t){return t.map(function(t){return t(e)})}function I(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function R(e){if(!e)return null;var t=e.filter(C);return 0==t.length?null:function(e){return E(S(e,t))}}function x(e){return null!=e?R(I(e)):null}function O(e){if(!e)return null;var t=e.filter(C);return 0==t.length?null:function(e){var i=S(e,t).map(T);return(0,a.D)(i).pipe((0,s.U)(E))}}function P(e){return null!=e?O(I(e)):null}function D(e,t){return null===e?[t]:Array.isArray(e)?[].concat(_toConsumableArray(e),[t]):[e,t]}function M(e){return e._rawValidators}function L(e){return e._rawAsyncValidators}var N=function(){var e=function(){function e(){_classCallCheck(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return _createClass(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=x(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e}),e}(),z=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),i}(N);return t.\u0275fac=function(i){return(e||(e=n.n5z(t)))(i||t)},t.\u0275dir=n.lG2({type:t,features:[n.qOj]}),t}(),Z=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return i}(N),B=function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"is",value:function(e){var t,i;return!!(null===(i=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===i?void 0:i[e])}}]),e}(),F=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){return _classCallCheck(this,i),t.call(this,e)}return i}(B);return e.\u0275fac=function(t){return new(t||e)(n.Y36(Z,2))},e.\u0275dir=n.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.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:[n.qOj]}),e}(),q=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){return _classCallCheck(this,i),t.call(this,e)}return i}(B);return e.\u0275fac=function(t){return new(t||e)(n.Y36(z,10))},e.\u0275dir=n.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.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:[n.qOj]}),e}();function H(e,t){return[].concat(_toConsumableArray(t.path),[e])}function U(e,t){Y(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(i){e._pendingValue=i,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&V(e,t)})}(e,t),function(e,t){var i=function(e,i){t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};e.registerOnChange(i),t._registerOnDestroy(function(){e._unregisterOnChange(i)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&V(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var i=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(i),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(i)})}}(e,t)}function G(e,t){var i=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),K(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function j(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Y(e,t){var i=M(e);null!==t.validator?e.setValidators(D(i,t.validator)):"function"==typeof i&&e.setValidators([i]);var n=L(e);null!==t.asyncValidator?e.setAsyncValidators(D(n,t.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);var r=function(){return e.updateValueAndValidity()};j(t._rawValidators,r),j(t._rawAsyncValidators,r)}function K(e,t){var i=!1;if(null!==e){if(null!==t.validator){var n=M(e);if(Array.isArray(n)&&n.length>0){var r=n.filter(function(e){return e!==t.validator});r.length!==n.length&&(i=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var o=L(e);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(e){return e!==t.asyncValidator});a.length!==o.length&&(i=!0,e.setAsyncValidators(a))}}}var s=function(){};return j(t._rawValidators,s),j(t._rawAsyncValidators,s),i}function V(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function J(e,t){Y(e,t)}function Q(e,t){if(!e.hasOwnProperty("model"))return!1;var i=e.model;return!!i.isFirstChange()||!Object.is(t,i.currentValue)}function W(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function X(e,t){return t?(Array.isArray(t),t.forEach(function(e){e.constructor===f?i=e:Object.getPrototypeOf(e.constructor)===u?n=e:r=e}),r||n||i||null):null;var i,n,r}function $(e,t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}function ee(e){return(re(e)?e.validators:e)||null}function te(e){return Array.isArray(e)?x(e):e||null}function ie(e,t){return(re(t)?t.asyncValidators:e)||null}function ne(e){return Array.isArray(e)?P(e):e||null}function re(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var oe=function(){function e(t,i){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=i,this._composedValidatorFn=te(this._rawValidators),this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=te(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ne(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var i=T(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(function(i){t._hasOwnPendingAsyncValidator=!1,t.setErrors(i,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,i){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var n=e;return t.forEach(function(e){n=n instanceof se?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof ce&&n.at(e)||null}),n}(this,e)}},{key:"getError",value:function(e,t){var i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){re(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),ae=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,i),(e=t.call(this,ee(r),ie(o,r)))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return _createClass(i,[{key:"setValue",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==i.emitViewToModelChange)}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){$(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){$(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),i}(oe),se=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,ee(n),ie(r,n))).controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(i,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(n){t._throwIfControlMissing(n),t.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(n){t.controls[n]&&t.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(i,n){i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,i){return e[i]=t instanceof ae?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(i){var n=t.controls[i];n&&e(n,i)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,i=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,i){if(void 0===e[i])throw new Error("Must supply a value for form control with name: '".concat(i,"'."))})}}]),i}(oe),ce=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,ee(n),ie(r,n))).controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(i,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,n){t._throwIfControlMissing(n),t.at(n).setValue(e,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}},{key:"patchValue",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,n){t.at(n)&&t.at(n).patchValue(e,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(i,n){i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof ae?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,i){e(t,i)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,i){if(void 0===e[i])throw new Error("Must supply a value for form control at index: ".concat(i,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(i){t.e(i)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),i}(oe),ue={provide:z,useExisting:(0,n.Gpc)(function(){return he})},le=Promise.resolve(null),he=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r){var o;return _classCallCheck(this,i),(o=t.call(this)).submitted=!1,o._directives=[],o.ngSubmit=new n.vpe,o.form=new se({},x(e),P(r)),o}return _createClass(i,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;le.then(function(){var i=t._findContainer(e.path);e.control=i.registerControl(e.name,e.control),U(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;le.then(function(){var i=t._findContainer(e.path);i&&i.removeControl(e.name),$(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;le.then(function(){var i=t._findContainer(e.path),n=new se({});J(n,e),i.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;le.then(function(){var i=t._findContainer(e.path);i&&i.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var i=this;le.then(function(){i.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,W(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),i}(z);return e.\u0275fac=function(t){return new(t||e)(n.Y36(v,10),n.Y36(m,10))},e.\u0275dir=n.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&n.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ue]),n.qOj]}),e}(),de={provide:Z,useExisting:(0,n.Gpc)(function(){return pe})},fe=Promise.resolve(null),pe=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this)).control=new ae,s._registered=!1,s.update=new n.vpe,s._parent=e,s._setValidators(r),s._setAsyncValidators(o),s.valueAccessor=X(0,a),s}return _createClass(i,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Q(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?H(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){U(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;fe.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,i=e.isDisabled.currentValue,n=""===i||i&&"false"!==i;fe.then(function(){n&&!t.control.disabled?t.control.disable():!n&&t.control.disabled&&t.control.enable()})}}]),i}(Z);return e.\u0275fac=function(t){return new(t||e)(n.Y36(z,9),n.Y36(v,10),n.Y36(m,10),n.Y36(l,10))},e.\u0275dir=n.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([de]),n.qOj,n.TTD]}),e}(),ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),ve={provide:l,useExisting:(0,n.Gpc)(function(){return me}),multi:!0},me=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}}]),i}(u);return t.\u0275fac=function(i){return(e||(e=n.n5z(t)))(i||t)},t.\u0275dir=n.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&n.NdJ("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[n._Bn([ve]),n.qOj]}),t}(),ye=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({}),e}(),_e=new n.OlP("NgModelWithFormControlWarning"),be={provide:Z,useExisting:(0,n.Gpc)(function(){return we})},we=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this))._ngModelWarningConfig=a,s.update=new n.vpe,s._ngModelWarningSent=!1,s._setValidators(e),s._setAsyncValidators(r),s.valueAccessor=X(0,o),s}return _createClass(i,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&G(t,this,!1),U(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Q(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&G(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),i}(Z);return e.\u0275fac=function(t){return new(t||e)(n.Y36(v,10),n.Y36(m,10),n.Y36(l,10),n.Y36(_e,8))},e.\u0275dir=n.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([be]),n.qOj,n.TTD]}),e._ngModelWarningSentOnce=!1,e}(),Ae={provide:z,useExisting:(0,n.Gpc)(function(){return ke})},ke=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r){var o;return _classCallCheck(this,i),(o=t.call(this)).validators=e,o.asyncValidators=r,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new n.vpe,o._setValidators(e),o._setAsyncValidators(r),o}return _createClass(i,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(K(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return U(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){G(e.control||null,e,!1),$(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,W(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var i=t.control,n=e.form.get(t.path);i!==n&&(G(i||null,t),n instanceof ae&&(U(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);J(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return K(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Y(this.form,this),this._oldForm&&K(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),i}(z);return e.\u0275fac=function(t){return new(t||e)(n.Y36(v,10),n.Y36(m,10))},e.\u0275dir=n.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&n.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Ae]),n.qOj,n.TTD]}),e}(),Ce={provide:Z,useExisting:(0,n.Gpc)(function(){return Te})},Te=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r,o,a,s){var c;return _classCallCheck(this,i),(c=t.call(this))._ngModelWarningConfig=s,c._added=!1,c.update=new n.vpe,c._ngModelWarningSent=!1,c._parent=e,c._setValidators(r),c._setAsyncValidators(o),c.valueAccessor=X(0,a),c}return _createClass(i,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),Q(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return H(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),i}(Z);return e.\u0275fac=function(t){return new(t||e)(n.Y36(z,13),n.Y36(v,10),n.Y36(m,10),n.Y36(l,10),n.Y36(_e,8))},e.\u0275dir=n.lG2({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([Ce]),n.qOj,n.TTD]}),e._ngModelWarningSentOnce=!1,e}(),Ee={provide:l,useExisting:(0,n.Gpc)(function(){return Ie}),multi:!0};function Se(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Ie=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._optionMap=new Map,e._idCounter=0,e._compareWith=Object.is,e}return _createClass(i,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);var i=Se(t,e);this.setProperty("value",i)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(i){t.value=t._getOptionValue(i),e(t.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,i=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(i){var n=[];if(void 0!==i.selectedOptions)for(var r=i.selectedOptions,o=0;o1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),r=null,o=null;return null!=i&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(i)?(r=null!=i.validators?i.validators:null,o=null!=i.asyncValidators?i.asyncValidators:null,t=null!=i.updateOn?i.updateOn:void 0):(r=null!=i.validator?i.validator:null,o=null!=i.asyncValidator?i.asyncValidator:null)),new se(n,{asyncValidators:o,updateOn:t,validators:r})}},{key:"control",value:function(e,t,i){return new ae(e,t,i)}},{key:"array",value:function(e,t,i){var n=this,r=e.map(function(e){return n._createControl(e)});return new ce(r,t,i)}},{key:"_reduceControls",value:function(e){var t=this,i={};return Object.keys(e).forEach(function(n){i[n]=t._createControl(e[n])}),i}},{key:"_createControl",value:function(e){return e instanceof ae||e instanceof se||e instanceof ce?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,n.Yz7)({factory:function(){return new e},token:e,providedIn:He}),e}()},40084:function(e,t,i){"use strict";i.d(t,{XC:function(){return N},Bb:function(){return H},ZL:function(){return q}});var n=i(24621),r=i(19861),o=i(11353),a=i(31572),s=i(71522),c=i(87570),u=i(55959),l=i(31450),h=i(31906),d=i(40878),f=i(87254),p=i(61511),g=i(2522),v=i(4253),m=i(75842),y=i(26899),_=i(16073),b=i(66283),w=i(90611),A=i(44689),k=i(43835),C=i(79996),T=i(66599),E=i(60509),S=i(22526),I=["panel"];function R(e,t){if(1&e&&(a.TgZ(0,"div",0,1),a.Hsn(2),a.qZA()),2&e){var i=t.id,n=a.oxw();a.Q6J("id",n.id)("ngClass",n._classList),a.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(i))}}var x=["*"],O=0,P=function e(t,i){_classCallCheck(this,e),this.source=t,this.option=i},D=(0,s.Kr)(function e(){_classCallCheck(this,e)}),M=new a.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),L=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var s;return _classCallCheck(this,i),(s=t.call(this))._changeDetectorRef=e,s._elementRef=n,s._activeOptionChanges=c.w.EMPTY,s.showPanel=!1,s._isOpen=!1,s.displayWith=null,s.optionSelected=new a.vpe,s.opened=new a.vpe,s.closed=new a.vpe,s.optionActivated=new a.vpe,s._classList={},s.id="mat-autocomplete-"+O++,s.inertGroups=(null==o?void 0:o.SAFARI)||!1,s._autoActiveFirstOption=!!r.autoActiveFirstOption,s}return _createClass(i,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=(0,r.Ig)(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?(0,r.du)(e).reduce(function(e,t){return e[t]=!0,e},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(t){e.optionActivated.emit({source:e,option:e.options.toArray()[t]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(e){var t=new P(this,e);this.optionSelected.emit(t)}},{key:"_getPanelAriaLabelledby",value:function(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_setVisibilityClasses",value:function(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}]),i}(D);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(M),a.Y36(o.t4))},e.\u0275dir=a.lG2({type:e,viewQuery:function(e,t){var i;(1&e&&(a.Gf(a.Rgc,7),a.Gf(I,5)),2&e)&&(a.iGM(i=a.CRH())&&(t.template=i.first),a.iGM(i=a.CRH())&&(t.panel=i.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[a.qOj]}),e}(),N=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._visibleClass="mat-autocomplete-visible",e._hiddenClass="mat-autocomplete-hidden",e}return i}(L);return t.\u0275fac=function(i){return(e||(e=a.n5z(t)))(i||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,i){var n;(1&e&&(a.Suo(i,s.K7,5),a.Suo(i,s.ey,5)),2&e)&&(a.iGM(n=a.CRH())&&(t.optionGroups=n),a.iGM(n=a.CRH())&&(t.options=n))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[a._Bn([{provide:s.HF,useExisting:t}]),a.qOj],ngContentSelectors:x,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(a.F$t(),a.YNc(0,R,3,4,"ng-template"))},directives:[p.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}),t}(),z=new a.OlP("mat-autocomplete-scroll-strategy"),Z={provide:z,deps:[g.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},B={provide:_.JU,useExisting:(0,a.Gpc)(function(){return q}),multi:!0},F=function(){var e=function(){function e(t,i,n,r,o,a,s,d,f,p,g){var v=this;_classCallCheck(this,e),this._element=t,this._overlay=i,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=o,this._dir=s,this._formField=d,this._document=f,this._viewportRuler=p,this._defaults=g,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=c.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new u.xQ,this._windowBlurHandler=function(){v._canOpenOnNextFocus=v._document.activeElement!==v._element.nativeElement||v.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,l.P)(function(){return v.autocomplete&&v.autocomplete.options?h.T.apply(void 0,_toConsumableArray(v.autocomplete.options.map(function(e){return e.onSelectionChange}))):v._zone.onStable.pipe((0,w.q)(1),(0,A.w)(function(){return v.optionSelections}))}),this._scrollStrategy=a}return _createClass(e,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=(0,r.Ig)(e)}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(function(){return t.addEventListener("blur",e._windowBlurHandler)})}},{key:"ngOnChanges",value:function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var e=this;return(0,h.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,k.h)(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,k.h)(function(){return e._overlayAttached})):(0,d.of)()).pipe((0,C.U)(function(e){return e instanceof s.rN?e:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var e=this;return(0,h.T)((0,f.R)(this._document,"click"),(0,f.R)(this._document,"auxclick"),(0,f.R)(this._document,"touchend")).pipe((0,k.h)(function(t){var i=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=e._formField?e._formField._elementRef.nativeElement:null,r=e.connectedTo?e.connectedTo.elementRef.nativeElement:null;return e._overlayAttached&&i!==e._element.nativeElement&&(!n||!n.contains(i))&&(!r||!r.contains(i))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(i)}))}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._element.nativeElement.disabled=e}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;if(t!==m.hY||(0,m.Vb)(e)||e.preventDefault(),this.activeOption&&t===m.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var i=this.autocomplete._keyManager.activeItem,n=t===m.LH||t===m.JH;this.panelOpen||t===m.Mf?this.autocomplete._keyManager.onKeydown(e):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(e){var t=e.target,i=t.value;"number"===t.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var e=this,t=this._zone.onStable.pipe((0,w.q)(1)),i=this.autocomplete.options.changes.pipe((0,T.b)(function(){return e._positionStrategy.reapplyLastPosition()}),(0,E.g)(0));return(0,h.T)(t,i).pipe((0,A.w)(function(){var t=e.panelOpen;return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&(e._overlayRef.updatePosition(),t!==e.panelOpen&&e.autocomplete.opened.emit()),e.panelClosingActions}),(0,w.q)(1)).subscribe(function(t){return e._setValueAndClose(t)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,i=null!=t?t:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}},{key:"_setValueAndClose",value:function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(e){this.autocomplete.options.forEach(function(t){t!==e&&t.selected&&t.deselect()})}},{key:"_attachOverlay",value:function(){var e,t=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!(0,o.kV)(this._element.nativeElement));var i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new y.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,i.keydownEvents().subscribe(function(e){(e.keyCode===m.hY&&!(0,m.Vb)(e)||e.keyCode===m.LH&&(0,m.Vb)(e,"altKey"))&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&i&&i.updateSize({width:t._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var e;return new g.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}},{key:"_setStrategyPositions",value:function(e){var t,i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];t="above"===this.position?r:"below"===this.position?i:[].concat(i,r),e.withPositions(t)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"_scrollToOption",value:function(e){var t=this.autocomplete,i=(0,s.CB)(e,t.options,t.optionGroups);if(0===e&&1===i)t._setScrollTop(0);else if(t.panel){var n=t.options.toArray()[e];if(n){var r=n._getHostElement(),o=(0,s.jH)(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(o)}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(g.aV),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(z),a.Y36(S.Is,8),a.Y36(b.G_,9),a.Y36(p.K0,8),a.Y36(v.rL),a.Y36(M,8))},e.\u0275dir=a.lG2({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[a.TTD]}),e}(),q=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",e}return i}(F);return t.\u0275fac=function(i){return(e||(e=a.n5z(t)))(i||t)},t.\u0275dir=a.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&a.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&a.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[a._Bn([B]),a.qOj]}),t}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[Z],imports:[[g.U8,s.Ng,s.BQ,p.ez],v.ZD,s.Ng,s.BQ]}),e}()},41050:function(e,t,i){"use strict";i.d(t,{k:function(){return l},g:function(){return h}});var n=i(71522),r=i(24621),o=i(19861),a=i(43490),s=i(31572),c=0,u=(0,n.Id)(function e(){_classCallCheck(this,e)}),l=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this))._ngZone=e,s._elementRef=n,s._ariaDescriber=r,s._renderer=o,s._animationMode=a,s._hasContent=!1,s._color="primary",s._overlap=!0,s.position="above after",s.size="medium",s._id=c++,s}return _createClass(i,[{key:"color",get:function(){return this._color},set:function(e){this._setColor(e),this._color=e}},{key:"overlap",get:function(){return this._overlap},set:function(e){this._overlap=(0,o.Ig)(e)}},{key:"description",get:function(){return this._description},set:function(e){if(e!==this._description){var t=this._badgeElement;this._updateHostAriaDescription(e,this._description),this._description=e,t&&(e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label"))}}},{key:"hidden",get:function(){return this._hidden},set:function(e){this._hidden=(0,o.Ig)(e)}},{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"ngOnChanges",value:function(e){var t=e.content;if(t){var i=t.currentValue;this._hasContent=null!=i&&"".concat(i).trim().length>0,this._updateTextContent()}}},{key:"ngOnDestroy",value:function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(e))}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"_updateTextContent",value:function(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}},{key:"_createBadgeElement",value:function(){var e=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),e.setAttribute("id","mat-badge-content-".concat(this._id)),e.classList.add("mat-badge-content"),e.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e.classList.add("mat-badge-active")})}):e.classList.add("mat-badge-active"),e}},{key:"_updateHostAriaDescription",value:function(e,t){var i=this._updateTextContent();t&&this._ariaDescriber.removeDescription(i,t),e&&this._ariaDescriber.describe(i,e)}},{key:"_setColor",value:function(e){if(e!==this._color){var t=this._elementRef.nativeElement.classList;this._color&&t.remove("mat-badge-".concat(this._color)),e&&t.add("mat-badge-".concat(e))}}},{key:"_clearExistingBadges",value:function(e){for(var t=this._elementRef.nativeElement,i=t.children.length;i--;){var n=t.children[i];n.classList.contains(e)&&t.removeChild(n)}}},{key:"_stringifyContent",value:function(){var e=this.content;return null==e?"":"".concat(e)}}]),i}(u);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(r.$s),s.Y36(s.Qsj),s.Y36(a.Qb,8))},e.\u0275dir=s.lG2({type:e,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,t){2&e&&s.ekj("mat-badge-overlap",t.overlap)("mat-badge-above",t.isAbove())("mat-badge-below",!t.isAbove())("mat-badge-before",!t.isAfter())("mat-badge-after",t.isAfter())("mat-badge-small","small"===t.size)("mat-badge-medium","medium"===t.size)("mat-badge-large","large"===t.size)("mat-badge-hidden",t.hidden||!t._hasContent)("mat-badge-disabled",t.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[s.qOj,s.TTD]}),e}(),h=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[r.rt,n.BQ],n.BQ]}),e}()},15980:function(e,t,i){"use strict";i.d(t,{lW:function(){return h},ot:function(){return d}});var n=i(71522),r=i(43490),o=i(31572),a=i(24621),s=["mat-button",""],c=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],l=(0,n.pj)((0,n.Id)((0,n.Kr)(function e(t){_classCallCheck(this,e),this._elementRef=t}))),h=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;_classCallCheck(this,i),(o=t.call(this,e))._focusMonitor=n,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=_createForOfIteratorHelper(u);try{for(s.s();!(a=s.n()).done;){var c=a.value;o._hasHostAttributes(c)&&o._getHostElement().classList.add(c)}}catch(l){s.e(l)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return _createClass(i,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n*,.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}),e}(),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[n.si,n.BQ],n.BQ]}),e}()},27439:function(e,t,i){"use strict";i.d(t,{a8:function(){return p},kc:function(){return f},dn:function(){return l},dk:function(){return g},QW:function(){return v},$j:function(){return d},n5:function(){return h}});var n=i(43490),r=i(71522),o=i(31572),a=["*",[["mat-card-footer"]]],s=["*","mat-card-footer"],c=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],u=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],l=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e}(),h=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e}(),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),e}(),p=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t};return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.Qb,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(e,t){1&e&&(o.F$t(a),o.Hsn(0),o.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}.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}),e}(),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:u,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(o.F$t(c),o.Hsn(0),o.TgZ(1,"div",0),o.Hsn(2,1),o.qZA(),o.Hsn(3,2))},encapsulation:2,changeDetection:0}),e}(),v=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[r.BQ],r.BQ]}),e}()},29236:function(e,t,i){"use strict";i.d(t,{oG:function(){return b},p9:function(){return A}});var n=i(19861),r=i(31572),o=i(16073),a=i(71522),s=i(43490),c=i(36337),u=i(24621),l=["input"],h=function(e){return{enterDuration:e}},d=["*"],f=new r.OlP("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}var g=0,v={color:"accent",clickAction:"check-indeterminate"},m={provide:o.JU,useExisting:(0,r.Gpc)(function(){return b}),multi:!0},y=function e(){_classCallCheck(this,e)},_=(0,a.sb)((0,a.pj)((0,a.Kr)((0,a.Id)(function e(t){_classCallCheck(this,e),this._elementRef=t})))),b=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,o,a,s,c,u){var l;return _classCallCheck(this,i),(l=t.call(this,e))._changeDetectorRef=n,l._focusMonitor=o,l._ngZone=a,l._animationMode=c,l._options=u,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++g,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new r.vpe,l.indeterminateChange=new r.vpe,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=0,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l._options=l._options||v,l.color=l.defaultColor=l._options.color||v.color,l.tabIndex=parseInt(s)||0,l}return _createClass(i,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,n.Ig)(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){t||Promise.resolve().then(function(){e._onTouched(),e._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=(0,n.Ig)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=(0,n.Ig)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,i=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);var n=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){i.classList.remove(n)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var e=new y;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t,i=this,n=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(function(){i._indeterminate=!1,i.indeterminateChange.emit(i._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var i="";switch(e){case 0:if(1===t)i="unchecked-checked";else{if(3!=t)return"";i="unchecked-indeterminate"}break;case 2:i=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(i)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}]),i}(_);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(u.tE),r.Y36(r.R0b),r.$8M("tabindex"),r.Y36(s.Qb,8),r.Y36(f,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var i;(1&e&&(r.Gf(l,5),r.Gf(a.wG,5)),2&e)&&(r.iGM(i=r.CRH())&&(t._inputElement=i.first),r.iGM(i=r.CRH())&&(t.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(r.Ikx("id",t.id),r.uIk("tabindex",null),r.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"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r._Bn([m]),r.qOj],ngContentSelectors:d,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"span",2),r.TgZ(3,"input",3,4),r.NdJ("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.qZA(),r._UZ(7,"span",7),r.TgZ(8,"span",8),r.O4$(),r.TgZ(9,"svg",9),r._UZ(10,"path",10),r.qZA(),r.kcU(),r._UZ(11,"span",11),r.qZA(),r.qZA(),r.TgZ(12,"span",12,13),r.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),r.TgZ(14,"span",14),r._uU(15,"\xa0"),r.qZA(),r.Hsn(16),r.qZA(),r.qZA()),2&e){var i=r.MAs(1),n=r.MAs(13);r.uIk("for",t.inputId),r.xp6(2),r.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(1),r.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),r.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),r.xp6(2),r.Q6J("matRippleTrigger",i)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.VKq(19,h,"NoopAnimations"===t._animationMode?0:150))}},directives:[a.wG,c.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),e}(),w=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),A=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[a.si,a.BQ,c.Q8,w],a.BQ,w]}),e}()},10033:function(e,t,i){"use strict";i.d(t,{HS:function(){return T},oH:function(){return P},qn:function(){return x},Hi:function(){return M}});var n=i(75842),r=i(31572),o=i(71522),a=i(19861),s=i(61511),c=i(43490),u=i(55959),l=i(31906),h=i(90611),d=i(25416),f=i(56238),p=i(24621),g=i(4230),v=i(66283),m=i(11353),y=i(22526),_=i(16073),b=["*"],w=new r.OlP("MatChipRemove"),A=new r.OlP("MatChipAvatar"),k=new r.OlP("MatChipTrailingIcon"),C=(0,o.sb)((0,o.pj)((0,o.Kr)(function e(t){_classCallCheck(this,e),this._elementRef=t}),"primary"),-1),T=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,a,s,c,l,h,d){var f;return _classCallCheck(this,i),(f=t.call(this,e))._elementRef=e,f._ngZone=n,f._changeDetectorRef=c,f._hasFocus=!1,f.chipListSelectable=!0,f._chipListMultiple=!1,f._chipListDisabled=!1,f._selected=!1,f._selectable=!0,f._disabled=!1,f._removable=!0,f._onFocus=new u.xQ,f._onBlur=new u.xQ,f.selectionChange=new r.vpe,f.destroyed=new r.vpe,f.removed=new r.vpe,f._addHostClassName(),f._chipRippleTarget=l.createElement("div"),f._chipRippleTarget.classList.add("mat-chip-ripple"),f._elementRef.nativeElement.appendChild(f._chipRippleTarget),f._chipRipple=new o.IR(_assertThisInitialized(f),n,f._chipRippleTarget,a),f._chipRipple.setupTriggerEvents(e),f.rippleConfig=s||{},f._animationsDisabled="NoopAnimations"===h,f.tabIndex=null!=d&&parseInt(d)||-1,f}return _createClass(i,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=(0,a.Ig)(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=(0,a.Ig)(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=(0,a.Ig)(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=(0,a.Ig)(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled?e.preventDefault():e.stopPropagation()}},{key:"_handleKeydown",value:function(e){if(!this.disabled)switch(e.keyCode){case n.yY:case n.ZH:this.remove(),e.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})}},{key:"_dispatchSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}]),i}(C);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(m.t4),r.Y36(o.Y2,8),r.Y36(r.sBO),r.Y36(s.K0),r.Y36(c.Qb,8),r.$8M("tabindex"))},e.\u0275dir=r.lG2({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,i){var n;(1&e&&(r.Suo(i,A,5),r.Suo(i,k,5),r.Suo(i,w,5)),2&e)&&(r.iGM(n=r.CRH())&&(t.avatar=n.first),r.iGM(n=r.CRH())&&(t.trailingIcon=n.first),r.iGM(n=r.CRH())&&(t.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&r.NdJ("click",function(e){return t._handleClick(e)})("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(r.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),r.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:[r.qOj]}),e}(),E=new r.OlP("mat-chips-default-options"),S=(0,o.FD)(function e(t,i,n,r){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=r}),I=0,R=function e(t,i){_classCallCheck(this,e),this.source=t,this.value=i},x=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,o,a,s,c,l){var h;return _classCallCheck(this,i),(h=t.call(this,c,a,s,l))._elementRef=e,h._changeDetectorRef=n,h._dir=o,h.ngControl=l,h.controlType="mat-chip-list",h._lastDestroyedChipIndex=null,h._destroyed=new u.xQ,h._uid="mat-chip-list-"+I++,h._tabIndex=0,h._userTabIndex=null,h._onTouched=function(){},h._onChange=function(){},h._multiple=!1,h._compareWith=function(e,t){return e===t},h._required=!1,h._disabled=!1,h.ariaOrientation="horizontal",h._selectable=!0,h.change=new r.vpe,h.valueChange=new r.vpe,h.ngControl&&(h.ngControl.valueAccessor=_assertThisInitialized(h)),h}return _createClass(i,[{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,a.Ig)(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,a.Ig)(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=(0,a.Ig)(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=(0,a.Ig)(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return l.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e.selectionChange})))}},{key:"chipFocusChanges",get:function(){return l.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e._onFocus})))}},{key:"chipBlurChanges",get:function(){return l.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e._onBlur})))}},{key:"chipRemoveChanges",get:function(){return l.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e.destroyed})))}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new p.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.tabOut.pipe((0,d.R)(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.chips.changes.pipe((0,f.O)(null),(0,d.R)(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new g.Ov(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return t._selectValue(e,i)}),this._sortValues();else{var n=this._selectValue(e,i);n&&i&&this._keyManager.setActiveItem(n)}}},{key:"_selectValue",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.chips.find(function(i){return null!=i.value&&t._compareWith(i.value,e)});return n&&(i?n.selectViaInteraction():n.select(),this._selectionModel.select(n)),n}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var t;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new R(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){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)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var i=e.chips.toArray().indexOf(t.chip);e._isValidIndex(i)&&e._keyManager.updateActiveItem(i),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){var i=t.chip,n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&i._hasFocus&&(e._lastDestroyedChipIndex=n)})}},{key:"_originatesFromChip",value:function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(e){return e._hasFocus})}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach(function(t){t._chipListDisabled=e._disabled,t._chipListMultiple=e.multiple})}}]),i}(S);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(y.Is,8),r.Y36(_.F,8),r.Y36(_.sg,8),r.Y36(o.rD),r.Y36(_.a5,10))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,i){var n;(1&e&&r.Suo(i,T,5),2&e)&&(r.iGM(n=r.CRH())&&(t.chips=n))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(e){return t._keydown(e)}),2&e&&(r.Ikx("id",t._uid),r.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),r.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r._Bn([{provide:v.Eo,useExisting:e}]),r.qOj],ngContentSelectors:b,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),O=0,P=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._elementRef=t,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.vpe,this.placeholder="",this.id="mat-chip-list-input-"+O++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return _createClass(e,[{key:"chipList",set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=(0,a.Ig)(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=(0,a.Ig)(e)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(e){if(e){if(e.keyCode!==n.Mf||(0,n.Vb)(e,"shiftKey")||this._chipList._allowFocusEscape(),e.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}},{key:"_keyup",value:function(e){!this._focusLastChipOnBackspace&&e.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(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())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this.inputElement.focus(e)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(e){return!(0,n.Vb)(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(E))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&r.NdJ("keydown",function(e){return t._keydown(e)})("keyup",function(e){return t._keyup(e)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(r.Ikx("id",t.id),r.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:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.TTD]}),e}(),D={separatorKeyCodes:[n.K5]},M=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[o.rD,{provide:E,useValue:D}],imports:[[o.BQ]]}),e}()},71522:function(e,t,i){"use strict";i.d(t,{yN:function(){return y},mZ:function(){return _},_A:function(){return O},rD:function(){return H},sG:function(){return P},K7:function(){return ce},HF:function(){return re},Y2:function(){return $},BQ:function(){return A},X2:function(){return U},uc:function(){return Y},XK:function(){return q},ey:function(){return de},Ng:function(){return ge},rN:function(){return le},nP:function(){return ie},us:function(){return ne},wG:function(){return ee},si:function(){return te},LF:function(){return Z},IR:function(){return X},CB:function(){return fe},jH:function(){return pe},pj:function(){return C},Kr:function(){return T},Id:function(){return k},FD:function(){return S},dB:function(){return I},sb:function(){return E},E0:function(){return G}});var n=i(31572),r=i(24621),o=i(22526),a=new n.GfV("12.0.5"),s=i(61511),c=i(19861),u=i(55959),l=i(48318),h=i(11353),d=i(56238),f=i(43490),p=i(75842);function g(e,t){if(1&e&&n._UZ(0,"mat-pseudo-checkbox",4),2&e){var i=n.oxw();n.Q6J("state",i.selected?"checked":"unchecked")("disabled",i.disabled)}}function v(e,t){if(1&e&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&e){var i=n.oxw();n.xp6(1),n.hij("(",i.group.label,")")}}var m=["*"],y=function(){var e=function e(){_classCallCheck(this,e)};return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),_=function(){var e=function e(){_classCallCheck(this,e)};return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),b=new n.GfV("12.0.5"),w=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),A=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=i,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return(0,n.X6Q)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&b.full!==a.full&&console.warn("The Angular Material version ("+b.full+") does not match the Angular CDK version ("+a.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(r.qm),n.LFG(w,8),n.LFG(s.K0))},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[o.vT],o.vT]}),e}();function k(e){return function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var n=arguments.length,r=new Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:0;return function(e){_inherits(n,e);var i=_createSuper(n);function n(){var e;_classCallCheck(this,n);for(var r=arguments.length,o=new Array(r),a=0;a0?i:e}}]),e}(),P=new n.OlP("mat-date-formats");try{R="undefined"!=typeof Intl}catch(ve){R=!1}var D={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},M=z(31,function(e){return String(e+1)}),L={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},N=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function z(e,t){for(var i=Array(e),n=0;n9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var i=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(i,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(N.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return _get(_getPrototypeOf(i.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,i){var n=new Date;return n.setFullYear(e,t,i),n.setHours(0,0,0,0),n}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var i=new Date;return i.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(i)}}]),i}(O);return e.\u0275fac=function(t){return new(t||e)(n.LFG(x,8),n.LFG(h.t4))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[{provide:O,useClass:Z}],imports:[[h.ud]]}),e}(),F={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"}}},q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[{provide:P,useValue:F}],imports:[[B]]}),e}(),H=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function G(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe((0,d.O)(e)).subscribe(function(e){var n=e.length;j(t,"".concat(i,"-2-line"),!1),j(t,"".concat(i,"-3-line"),!1),j(t,"".concat(i,"-multi-line"),!1),2===n||3===n?j(t,"".concat(i,"-").concat(n,"-line"),!0):n>3&&j(t,"".concat(i,"-multi-line"),!0)})}function j(e,t,i){var n=e.nativeElement.classList;i?n.add(t):n.remove(t)}var Y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[A],A]}),e}(),K=function(){function e(t,i,n){_classCallCheck(this,e),this._renderer=t,this.element=i,this.config=n,this.state=3}return _createClass(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),V={enterDuration:450,exitDuration:400},J=(0,h.i$)({passive:!0}),Q=["mousedown","touchstart"],W=["mouseup","mouseleave","touchend","touchcancel"],X=function(){function e(t,i,n,r){_classCallCheck(this,e),this._target=t,this._ngZone=i,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,c.fI)(n))}return _createClass(e,[{key:"fadeInRipple",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},V),n.animation);n.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=n.radius||function(e,t,i){var n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),r=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+r*r)}(e,t,r),s=e-r.left,c=t-r.top,u=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-a+"px",l.style.top=c-a+"px",l.style.height=2*a+"px",l.style.width=2*a+"px",null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new K(this,l,n);return h.state=0,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===i._mostRecentTransientRipple;h.state=1,n.persistent||e&&i._isPointerDown||h.fadeOut()},u),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var i=e.element,n=Object.assign(Object.assign({},V),e.config.animation);i.style.transitionDuration="".concat(n.exitDuration,"ms"),i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,i.parentNode.removeChild(i)},n.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=(0,c.fI)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(Q))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(W),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=(0,r.X6)(e),i=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,J)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(Q.forEach(function(t){e._triggerElement.removeEventListener(t,e,J)}),this._pointerUpEventsRegistered&&W.forEach(function(t){e._triggerElement.removeEventListener(t,e,J)}))}}]),e}(),$=new n.OlP("mat-ripple-global-options"),ee=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new X(this,i,t,n)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){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}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(h.t4),n.Y36($,8),n.Y36(f.Qb,8))},e.\u0275dir=n.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),te=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[A,h.ud],A]}),e}(),ie=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(n.Y36(f.Qb,8))},e.\u0275cmp=n.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&n.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}),e}(),ne=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[A]]}),e}(),re=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),oe=k(function e(){_classCallCheck(this,e)}),ae=0,se=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n,r;return _classCallCheck(this,i),(n=t.call(this))._labelId="mat-optgroup-label-"+ae++,n._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,n}return i}(oe);return e.\u0275fac=function(t){return new(t||e)(n.Y36(re,8))},e.\u0275dir=n.lG2({type:e,inputs:{label:"label"},features:[n.qOj]}),e}(),ce=new n.OlP("MatOptgroup"),ue=0,le=function e(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=i},he=function(){var e=function(){function e(t,i,r,o){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ue++,this.onSelectionChange=new n.vpe,this._stateChanges=new u.xQ}return _createClass(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=(0,c.Ig)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var i=this._getHostElement();"function"==typeof i.focus&&i.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==p.K5&&e.keyCode!==p.L_||(0,p.Vb)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new le(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(void 0),n.Y36(se))},e.\u0275dir=n.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),de=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){return _classCallCheck(this,i),t.call(this,e,n,r,o)}return i}(he);return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(re,8),n.Y36(ce,8))},e.\u0275cmp=n.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&n.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(n.Ikx("id",t.id),n.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),n.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:m,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&&(n.F$t(),n.YNc(0,g,1,2,"mat-pseudo-checkbox",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,v,2,1,"span",2),n._UZ(4,"div",3)),2&e&&(n.Q6J("ngIf",t.multiple),n.xp6(3),n.Q6J("ngIf",t.group&&t.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[s.O5,ee,ie],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),e}();function fe(e,t,i){if(i.length){for(var n=t.toArray(),r=i.toArray(),o=0,a=0;ai+n?Math.max(0,e-n+t):i}var ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[te,s.ez,A,ne]]}),e}()},15812:function(e,t,i){"use strict";i.d(t,{Mq:function(){return ve},hl:function(){return we},FA:function(){return Ce},nW:function(){return ke}});var n=i(24621),r=i(2522),o=i(26899),a=i(61511),s=i(31572),c=i(15980),u=i(4253),l=i(71522),h=i(55959),d=i(87570),f=i(31906),p=i(40878),g=i(75842),v=i(90611),m=i(56238),y=i(43835),_=i(19861),b=i(11353),w=i(10709),A=i(16073),k=i(66283),C=i(80340),T=i(22526),E=["mat-calendar-body",""];function S(e,t){if(1&e&&(s.TgZ(0,"tr",2),s.TgZ(1,"td",3),s._uU(2),s.qZA(),s.qZA()),2&e){var i=s.oxw();s.xp6(1),s.Udp("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),s.uIk("colspan",i.numCols),s.xp6(1),s.hij(" ",i.label," ")}}function I(e,t){if(1&e&&(s.TgZ(0,"td",7),s._uU(1),s.qZA()),2&e){var i=s.oxw(2);s.Udp("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),s.uIk("colspan",i._firstRowOffset),s.xp6(1),s.hij(" ",i._firstRowOffset>=i.labelMinRequiredCells?i.label:""," ")}}function R(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"td",8),s.NdJ("click",function(e){var t=s.CHM(i).$implicit;return s.oxw(2)._cellClicked(t,e)}),s.TgZ(1,"div",9),s._uU(2),s.qZA(),s._UZ(3,"div",10),s.qZA()}if(2&e){var n=t.$implicit,r=t.index,o=s.oxw().index,a=s.oxw();s.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),s.ekj("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",a._isActiveCell(o,r))("mat-calendar-body-range-start",a._isRangeStart(n.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",a._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(n.compareValue,o,r))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(n.compareValue,o,r))("mat-calendar-body-comparison-start",a._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",a._isInPreview(n.compareValue)),s.Q6J("ngClass",n.cssClasses)("tabindex",a._isActiveCell(o,r)?0:-1),s.uIk("data-mat-row",o)("data-mat-col",r)("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-selected",a._isSelected(n.compareValue)),s.xp6(1),s.ekj("mat-calendar-body-selected",a._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",a.todayValue===n.compareValue),s.xp6(1),s.hij(" ",n.displayValue," ")}}function x(e,t){if(1&e&&(s.TgZ(0,"tr",4),s.YNc(1,I,2,6,"td",5),s.YNc(2,R,4,46,"td",6),s.qZA()),2&e){var i=t.$implicit,n=t.index,r=s.oxw();s.xp6(1),s.Q6J("ngIf",0===n&&r._firstRowOffset),s.xp6(1),s.Q6J("ngForOf",i)}}function O(e,t){if(1&e&&(s.TgZ(0,"th",5),s._uU(1),s.qZA()),2&e){var i=t.$implicit;s.uIk("aria-label",i.long),s.xp6(1),s.Oqu(i.narrow)}}var P=["*"];function D(e,t){}function M(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"mat-month-view",5),s.NdJ("activeDateChange",function(e){return s.CHM(i),s.oxw().activeDate=e})("_userSelection",function(e){return s.CHM(i),s.oxw()._dateSelected(e)}),s.qZA()}if(2&e){var n=s.oxw();s.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)}}function L(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"mat-year-view",6),s.NdJ("activeDateChange",function(e){return s.CHM(i),s.oxw().activeDate=e})("monthSelected",function(e){return s.CHM(i),s.oxw()._monthSelectedInYearView(e)})("selectedChange",function(e){return s.CHM(i),s.oxw()._goToDateInView(e,"month")}),s.qZA()}if(2&e){var n=s.oxw();s.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function N(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"mat-multi-year-view",7),s.NdJ("activeDateChange",function(e){return s.CHM(i),s.oxw().activeDate=e})("yearSelected",function(e){return s.CHM(i),s.oxw()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return s.CHM(i),s.oxw()._goToDateInView(e,"year")}),s.qZA()}if(2&e){var n=s.oxw();s.Q6J("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function z(e,t){}var Z=["button"];function B(e,t){1&e&&(s.O4$(),s.TgZ(0,"svg",3),s._UZ(1,"path",4),s.qZA())}var F=[[["","matDatepickerToggleIcon",""]]],q=["[matDatepickerToggleIcon]"],H=function(){var e=function(){function e(){_classCallCheck(this,e),this.changes=new h.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return _createClass(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),U=function e(t,i,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,s=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this.value=t,this.displayValue=i,this.ariaLabel=n,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s},G=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this._elementRef=t,this._ngZone=i,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.vpe,this.previewChange=new s.vpe,this._enterHandler=function(e){if(n._skipNextFocus&&"focus"===e.type)n._skipNextFocus=!1;else if(e.target&&n.isRange){var t=n._getCellFromElement(e.target);t&&n._ngZone.run(function(){return n.previewChange.emit({value:t.enabled?t:null,event:e})})}},this._leaveHandler=function(e){null!==n.previewEnd&&n.isRange&&e.target&&j(e.target)&&n._ngZone.run(function(){return n.previewChange.emit({value:null,event:e})})},i.runOutsideAngular(function(){var e=t.nativeElement;e.addEventListener("mouseenter",n._enterHandler,!0),e.addEventListener("focus",n._enterHandler,!0),e.addEventListener("mouseleave",n._leaveHandler,!0),e.addEventListener("blur",n._leaveHandler,!0)})}return _createClass(e,[{key:"_cellClicked",value:function(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}},{key:"_isSelected",value:function(e){return this.startValue===e||this.endValue===e}},{key:"ngOnChanges",value:function(e){var t=e.numCols,i=this.rows,n=this.numCols;(e.rows||t)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!t&&this._cellWidth||(this._cellWidth=100/n+"%")}},{key:"ngOnDestroy",value:function(){var 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)}},{key:"_isActiveCell",value:function(e,t){var i=e*this.numCols+t;return e&&(i-=this._firstRowOffset),i==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,v.q)(1)).subscribe(function(){var i=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(t||(e._skipNextFocus=!0),i.focus())})})}},{key:"_isRangeStart",value:function(e){return Y(e,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(e){return K(e,this.startValue,this.endValue)}},{key:"_isInRange",value:function(e){return V(e,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(e){return Y(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(e,t,i){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;var n=this.rows[t][i-1];if(!n){var r=this.rows[t-1];n=r&&r[r.length-1]}return n&&!this._isRangeEnd(n.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(e,t,i){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;var n=this.rows[t][i+1];if(!n){var r=this.rows[t+1];n=r&&r[0]}return n&&!this._isRangeStart(n.compareValue)}},{key:"_isComparisonEnd",value:function(e){return K(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(e){return V(e,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}},{key:"_isPreviewStart",value:function(e){return Y(e,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(e){return K(e,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(e){return V(e,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(e){var t;if(j(e)?t=e:j(e.parentNode)&&(t=e.parentNode),t){var i=t.getAttribute("data-mat-row"),n=t.getAttribute("data-mat-col");if(i&&n)return this.rows[parseInt(i)][parseInt(n)]}return null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.R0b))},e.\u0275cmp=s.Xpm({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[s.TTD],attrs:E,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(s.YNc(0,S,3,6,"tr",0),s.YNc(1,x,3,2,"tr",1)),2&e&&(s.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e}();function j(e){return"TD"===e.nodeName}function Y(e,t,i){return null!==i&&t!==i&&e=t&&e===i}function V(e,t,i,n){return n&&null!==t&&null!==i&&t!==i&&e>=t&&e<=i}var J=function e(t,i){_classCallCheck(this,e),this.start=t,this.end=i},Q=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.selection=t,this._adapter=i,this._selectionChanged=new h.xQ,this.selectionChanged=this._selectionChanged,this.selection=t}return _createClass(e,[{key:"updateSelection",value:function(e,t){var i=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:i})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(void 0),s.LFG(l._A))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e}(),W=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){return _classCallCheck(this,i),t.call(this,null,e)}return _createClass(i,[{key:"add",value:function(e){_get(_getPrototypeOf(i.prototype),"updateSelection",this).call(this,e,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var e=new i(this._adapter);return e.updateSelection(this.selection,this),e}}]),i}(Q);return e.\u0275fac=function(t){return new(t||e)(s.LFG(l._A))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e}(),X={provide:Q,deps:[[new s.FiY,new s.tp0,Q],l._A],useFactory:function(e,t){return e||new W(t)}},$=new s.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY"),ee=function(){var e=function(){function e(t,i,n,r,o){_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=i,this._dateAdapter=n,this._dir=r,this._rangeStrategy=o,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new s.vpe,this._userSelection=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof J?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,m.O)(null)).subscribe(function(){return e._init()})}},{key:"ngOnChanges",value:function(e){var t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){var t,i,n=e.value,r=this._dateAdapter.getYear(this.activeDate),o=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.createDate(r,o,n);this._selected instanceof J?(t=this._getDateInCurrentMonth(this._selected.start),i=this._getDateInCurrentMonth(this._selected.end)):t=i=this._getDateInCurrentMonth(this._selected),t===n&&i===n||this.selectedChange.emit(a),this._userSelection.emit({value:a,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,i=this._isRtl();switch(e.keyCode){case g.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case g.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case g.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case g.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case g.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case g.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case g.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case g.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case g.K5:case g.L_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case g.hY:return void(null==this._previewEnd||(0,g.Vb)(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()}},{key:"_init",value:function(){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();var 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()}},{key:"_focusActiveCell",value:function(e){this._matCalendarBody._focusActiveCell(e)}},{key:"_previewChanged",value:function(e){var t=e.event,i=e.value;if(this._rangeStrategy){var n=this._rangeStrategy.createPreview(i?i.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),i=this._dateAdapter.getDayOfWeekNames("long").map(function(e,i){return{long:e,narrow:t[i]}});this._weekdays=i.slice(e).concat(i.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getCellCompareValue",value:function(e){if(e){var t=this._dateAdapter.getYear(e),i=this._dateAdapter.getMonth(e),n=this._dateAdapter.getDate(e);return new Date(t,i,n).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(e){e instanceof J?(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)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.sBO),s.Y36(l.sG,8),s.Y36(l._A,8),s.Y36(T.Is,8),s.Y36($,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var i;(1&e&&s.Gf(G,5),2&e)&&(s.iGM(i=s.CRH())&&(t._matCalendarBody=i.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:[s.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(s.TgZ(0,"table",0),s.TgZ(1,"thead",1),s.TgZ(2,"tr"),s.YNc(3,O,2,2,"th",2),s.qZA(),s.TgZ(4,"tr"),s._UZ(5,"th",3),s.qZA(),s.qZA(),s.TgZ(6,"tbody",4),s.NdJ("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),s.qZA(),s.qZA()),2&e&&(s.xp6(3),s.Q6J("ngForOf",t._weekdays),s.xp6(3),s.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:[a.sg,G],encapsulation:2,changeDetection:0}),e}(),te=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._changeDetectorRef=t,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new s.vpe,this.yearSelected=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}return _createClass(e,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),ie(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof J?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,m.O)(null)).subscribe(function(){return e._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var i=0,n=[];i<24;i++)n.push(t+i),4==n.length&&(this._years.push(n.map(function(t){return e._createCellForYear(t)})),n=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){var t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));var i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,i,1));this.selectedChange.emit(this._dateAdapter.createDate(t,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,i=this._isRtl();switch(e.keyCode){case g.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case g.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case g.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case g.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case g.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case g.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case g.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case g.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case g.K5:case g.L_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return ne(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.createDate(e,0,1),i=this._dateAdapter.getYearName(t),n=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new U(e,i,i,this._shouldEnableYear(e),n)}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&ei||e===i&&t>n}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e enter-dropdown",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,w.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,w.eR)("void => enter-dialog",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(0.7)"}),(0,w.oB)({transform:"none",opacity:1})]))),(0,w.eR)("* => void",(0,w.jt)("100ms linear",(0,w.oB)({opacity:0})))]),fadeInCalendar:(0,w.X$)("fadeInCalendar",[(0,w.SB)("void",(0,w.oB)({opacity:0})),(0,w.SB)("enter",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",(0,w.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},le=0,he=new s.OlP("mat-datepicker-scroll-strategy"),de={provide:he,deps:[r.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},fe=(0,l.pj)(function e(t){_classCallCheck(this,e),this._elementRef=t}),pe=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s){var c;return _classCallCheck(this,i),(c=t.call(this,e))._changeDetectorRef=n,c._globalModel=r,c._dateAdapter=o,c._rangeSelectionStrategy=a,c._subscriptions=new d.w,c._animationDone=new h.xQ,c._actionsPortal=null,c._closeButtonText=s.closeCalendarLabel,c}return _createClass(i,[{key:"ngOnInit",value:function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}},{key:"ngAfterViewInit",value:function(){var e=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(e){var t=this._model.selection,i=e.value,n=t instanceof J;if(n&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(i,t,e.event);this._model.updateSelection(r,this)}else!i||!n&&this._dateAdapter.sameDate(i,t)||this._model.add(i);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}]),i}(fe);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Q),s.Y36(l._A),s.Y36($,8),s.Y36(H))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var i;(1&e&&s.Gf(ce,5),2&e)&&(s.iGM(i=s.CRH())&&(t._calendar=i.first))},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&s.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(s.d8E("@transformPanel",t._animationState),s.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",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){1&e&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-calendar",1),s.NdJ("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)})("viewChanged",function(e){return t.datepicker._viewChanged(e)})("_userSelection",function(e){return t._handleUserSelection(e)}),s.qZA(),s.YNc(2,z,0,0,"ng-template",2),s.TgZ(3,"button",3),s.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),s._uU(4),s.qZA(),s.qZA()),2&e&&(s.ekj("mat-datepicker-content-container-with-actions",t._actionsPortal),s.xp6(1),s.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"),s.xp6(1),s.Q6J("cdkPortalOutlet",t._actionsPortal),s.xp6(1),s.ekj("cdk-visually-hidden",!t._closeButtonFocused),s.Q6J("color",t.color||"primary"),s.xp6(1),s.Oqu(t._closeButtonText))},directives:[n.mK,ce,a.mk,o.Pl,c.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[ue.transformPanel,ue.fadeInCalendar]},changeDetection:0}),e}(),ge=function(){var e=function(){function e(t,i,n,r,o,a,c,u,l){_classCallCheck(this,e),this._overlay=i,this._ngZone=n,this._viewContainerRef=r,this._dateAdapter=a,this._dir=c,this._model=l,this._inputStateChanges=d.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new s.vpe,this.monthSelected=new s.vpe,this.viewChanged=new s.vpe(!0),this.openedStream=new s.vpe,this.closedStream=new s.vpe,this._opened=!1,this.id="mat-datepicker-"+le++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new h.xQ,this._scrollStrategy=o}return _createClass(e,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=(0,_.Ig)(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(e){var t=(0,_.Ig)(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(e){this._restoreFocus=(0,_.Ig)(e)}},{key:"panelClass",get:function(){return this._panelClass},set:function(e){this._panelClass=(0,_.du)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){(0,_.Ig)(e)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(e){var t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){var i=this._overlayRef.getConfig().positionStrategy;i instanceof r._G&&(this._setConnectedPositions(i),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(e){this._model.add(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_viewChanged",value:function(e){this.viewChanged.emit(e)}},{key:"registerInput",value:function(e){var t=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(function(){return t.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(e){this._actionsPortal=e}},{key:"removeActions",value:function(e){e===this._actionsPortal&&(this._actionsPortal=null)}},{key:"open",value:function(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,b.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var e=this;if(this._opened){if(this._componentRef){var t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,v.q)(1)).subscribe(function(){return e._destroyOverlay()})}var i=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(i)):i()}}},{key:"_applyPendingSelection",value:function(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}},{key:"_forwardContentValues",value:function(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal}},{key:"_openOverlay",value:function(){var e=this;this._destroyOverlay();var t=this.touchUi,i=this.datepickerInput.getOverlayLabelId(),n=new o.C5(pe,this._viewContainerRef),a=this._overlayRef=this._overlay.create(new r.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),s=a.overlayElement;s.setAttribute("role","dialog"),i&&s.setAttribute("aria-labelledby",i),t&&s.setAttribute("aria-modal","true"),this._getCloseStream(a).subscribe(function(t){t&&t.preventDefault(),e.close()}),this._componentRef=a.attach(n),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(function(){return a.updatePosition()})}},{key:"_destroyOverlay",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}},{key:"_getDialogStrategy",value:function(){return this._overlay.position().global().centerHorizontally().centerVertically()}},{key:"_getDropdownStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}},{key:"_setConnectedPositions",value:function(e){var t="end"===this.xPosition?"end":"start",i="start"===t?"end":"start",n="above"===this.yPosition?"bottom":"top",r="top"===n?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:n},{originX:t,originY:n,overlayX:t,overlayY:r},{originX:i,originY:r,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:r}])}},{key:"_getCloseStream",value:function(e){var t=this;return(0,f.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,y.h)(function(e){return e.keyCode===g.hY&&!(0,g.Vb)(e)||t.datepickerInput&&(0,g.Vb)(e,"altKey")&&e.keyCode===g.LH})))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(r.aV),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(he),s.Y36(l._A,8),s.Y36(T.Is,8),s.Y36(a.K0,8),s.Y36(Q))},e.\u0275dir=s.lG2({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[s.TTD]}),e}(),ve=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(ge);return t.\u0275fac=function(i){return(e||(e=s.n5z(t)))(i||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s._Bn([X,{provide:ge,useExisting:t}]),s.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),t}(),me=function e(t,i){_classCallCheck(this,e),this.target=t,this.targetElement=i,this.value=this.target.value},ye=function(){var e=function(){function e(t,i,n){var r=this;_classCallCheck(this,e),this._elementRef=t,this._dateAdapter=i,this._dateFormats=n,this.dateChange=new s.vpe,this.dateInput=new s.vpe,this.stateChanges=new h.xQ,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=d.w.EMPTY,this._localeSubscription=d.w.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._filterValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!t||r._matchesFilter(t)?null:{matDatepickerFilter:!0}},this._minValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value)),i=r._getMinDate();return!i||!t||r._dateAdapter.compareDate(i,t)<=0?null:{matDatepickerMin:{min:i,actual:t}}},this._maxValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value)),i=r._getMaxDate();return!i||!t||r._dateAdapter.compareDate(i,t)>=0?null:{matDatepickerMax:{max:i,actual:t}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(function(){r._assignValueProgrammatically(r.value)})}return _createClass(e,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(e){this._assignValueProgrammatically(e)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(e){var t=(0,_.Ig)(e),i=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&i.blur&&i.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(e){var t=this;this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(e){if(t._shouldHandleChangeEvent(e)){var i=t._getValueFromModel(e.selection);t._lastValueValid=t._isValidValue(i),t._cvaOnChange(i),t._onTouched(),t._formatValue(i),t.dateInput.emit(new me(t,t._elementRef.nativeElement)),t.dateChange.emit(new me(t,t._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(e){(function(e,t){for(var i=0,n=Object.keys(e);i enter",(0,v.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,v.oB)({transform:"none",opacity:1}))),(0,v.eR)("* => void, * => exit",(0,v.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,v.oB)({opacity:0})))])},A=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,a,s,c){var u;return _classCallCheck(this,i),(u=t.call(this))._elementRef=e,u._focusTrapFactory=n,u._changeDetectorRef=r,u._config=s,u._focusMonitor=c,u._animationStateChanged=new o.vpe,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u.attachDomPortal=function(e){return u._portalOutlet.hasAttached(),u._portalOutlet.attachDomPortal(e)},u._ariaLabelledBy=s.ariaLabelledBy||null,u._document=a,u}return _createClass(i,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=(0,g.ht)(),i=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==i&&!i.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,g.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=(0,g.ht)();return e===t||e.contains(t)}}]),i}(r.en);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(y.qV),o.Y36(o.sBO),o.Y36(c.K0,8),o.Y36(b),o.Y36(y.tE))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var i;(1&e&&o.Gf(r.Pl,7),2&e)&&(o.iGM(i=o.CRH())&&(t._portalOutlet=i.first))},features:[o.qOj]}),e}(),k=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._state="enter",e}return _createClass(i,[{key:"_onAnimationDone",value:function(e){var t=e.toState,i=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,i=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:i})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),i}(A);return t.\u0275fac=function(i){return(e||(e=o.n5z(t)))(i||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(o.Ikx("id",t._id),o.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o.d8E("@dialogContainer",t._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o.YNc(0,_,0,0,"ng-template",0)},directives:[r.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:[w.dialogContainer]}}),t}(),C=0,T=function(){function e(t,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+C++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=i,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new u.xQ,this._afterClosed=new u.xQ,this._beforeClosed=new u.xQ,this._state=0,i._id=r,i._animationStateChanged.pipe((0,d.h)(function(e){return"opened"===e.state}),(0,f.q)(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),i._animationStateChanged.pipe((0,d.h)(function(e){return"closed"===e.state}),(0,f.q)(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),t.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(function(e){return e.keyCode===m.hY&&!n.disableClose&&!(0,m.Vb)(e)})).subscribe(function(e){e.preventDefault(),E(n,"keyboard")}),t.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():E(n,"mouse")})}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,d.h)(function(e){return"closing"===e.state}),(0,f.q)(1)).subscribe(function(i){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function E(e,t,i){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(i)}var S=new o.OlP("MatDialogData"),I=new o.OlP("mat-dialog-default-options"),R=new o.OlP("mat-dialog-scroll-strategy"),x={provide:R,deps:[n.aV],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},O=function(){var e=function(){function e(t,i,n,r,o,a,s,c,h){var d=this;_classCallCheck(this,e),this._overlay=t,this._injector=i,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=c,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new u.xQ,this._afterOpenedAtThisLevel=new u.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,l.P)(function(){return d.openDialogs.length?d._getAfterAllClosed():d._getAfterAllClosed().pipe((0,p.O)(void 0))}),this._scrollStrategy=a}return _createClass(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var i=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new b)).id&&this.getDialogById(t.id);var n=this._createOverlay(t),r=this._attachDialogContainer(n,t),o=this._attachDialogContent(e,r,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return i._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new n.X_({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}},{key:"_attachDialogContainer",value:function(e,t){var i=o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:t}]}),n=new r.C5(this._dialogContainerType,t.viewContainerRef,i,t.componentFactoryResolver);return e.attach(n).instance}},{key:"_attachDialogContent",value:function(e,t,i,n){var a=new this._dialogRefConstructor(i,t,n.id);if(e instanceof o.Rgc)t.attachTemplatePortal(new r.UE(e,null,{$implicit:n.data,dialogRef:a}));else{var s=this._createInjector(n,a,t),c=t.attachComponentPortal(new r.C5(e,n.viewContainerRef,s));a.componentInstance=c.instance}return a.updateSize(n.width,n.height).updatePosition(n.position),a}},{key:"_createInjector",value:function(e,t,i){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||n&&n.get(s.Is,null,o.XFs.Optional)||r.push({provide:s.Is,useValue:{value:e.direction,change:(0,h.of)()}}),o.zs3.create({parent:n||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,i=t.length-1;i>-1;i--){var n=t[i];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(n.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(n.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},e.\u0275dir=o.lG2({type:e}),e}(),P=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,c){return _classCallCheck(this,i),t.call(this,e,n,o,s,c,a,T,k,S)}return i}(O);return e.\u0275fac=function(t){return new(t||e)(o.LFG(n.aV),o.LFG(o.zs3),o.LFG(c.Ye,8),o.LFG(I,8),o.LFG(R),o.LFG(e,12),o.LFG(n.Xj))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),D=0,M=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=i,this._dialog=n,this.id="mat-dialog-title-"+D++}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var i=e.nativeElement.parentElement;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?t.find(function(e){return e.id===i.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(T,8),o.Y36(o.SBq),o.Y36(P))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&o.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),L=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}(),z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[P,x],imports:[[n.U8,r.eL,a.BQ],a.BQ]}),e}()},27679:function(e,t,i){"use strict";i.d(t,{d:function(){return a},t:function(){return s}});var n=i(19861),r=i(71522),o=i(31572),a=function(){var e=function(){function e(){_classCallCheck(this,e),this._vertical=!1,this._inset=!1}return _createClass(e,[{key:"vertical",get:function(){return this._vertical},set:function(e){this._vertical=(0,n.Ig)(e)}},{key:"inset",get:function(){return this._inset},set:function(e){this._inset=(0,n.Ig)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(o.uIk("aria-orientation",t.vertical?"vertical":"horizontal"),o.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}),e}(),s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[r.BQ],r.BQ]}),e}()},45001:function(e,t,i){"use strict";i.d(t,{pp:function(){return U},To:function(){return G},ib:function(){return B},HS:function(){return N},u4:function(){return q},yz:function(){return F},yK:function(){return H}});var n=i(31572),r=i(19861),o=i(55959),a=i(87570),s=i(4230),c=0,u=new n.OlP("CdkAccordion"),l=function(){var e=function(){function e(){_classCallCheck(this,e),this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+c++,this._multi=!1}return _createClass(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=(0,r.Ig)(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[n._Bn([{provide:u,useExisting:e}]),n.TTD]}),e}(),h=0,d=function(){var e=function(){function e(t,i,r){var o=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=a.w.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+h++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=r.listen(function(e,t){o.accordion&&!o.accordion.multi&&o.accordion.id===t&&o.id!==e&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=(0,r.Ig)(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())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,r.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(u,12),n.Y36(n.sBO),n.Y36(s.A8))},e.\u0275dir=n.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:u,useValue:void 0}])]}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({}),e}(),p=i(26899),g=i(61511),v=i(71522),m=i(24621),y=i(98720),_=i(56238),b=i(43835),w=i(90611),A=i(75842),k=i(43490),C=i(70653),T=i(31906),E=i(10709),S=["body"];function I(e,t){}var R=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],x=["mat-expansion-panel-header","*","mat-action-row"];function O(e,t){if(1&e&&n._UZ(0,"span",2),2&e){var i=n.oxw();n.Q6J("@indicatorRotate",i._getExpandedState())}}var P=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],D=["mat-panel-title","mat-panel-description","*"],M=new n.OlP("MAT_ACCORDION"),L={indicatorRotate:(0,E.X$)("indicatorRotate",[(0,E.SB)("collapsed, void",(0,E.oB)({transform:"rotate(0deg)"})),(0,E.SB)("expanded",(0,E.oB)({transform:"rotate(180deg)"})),(0,E.eR)("expanded <=> collapsed, void => collapsed",(0,E.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,E.X$)("bodyExpansion",[(0,E.SB)("collapsed, void",(0,E.oB)({height:"0px",visibility:"hidden"})),(0,E.SB)("expanded",(0,E.oB)({height:"*",visibility:"visible"})),(0,E.eR)("expanded <=> collapsed, void => collapsed",(0,E.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},N=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(n.Y36(n.Rgc))},e.\u0275dir=n.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),z=0,Z=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),B=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r,a,s,c,u,l){var h;return _classCallCheck(this,i),(h=t.call(this,e,r,a))._viewContainerRef=s,h._animationMode=u,h._hideToggle=!1,h.afterExpand=new n.vpe,h.afterCollapse=new n.vpe,h._inputChanges=new o.xQ,h._headerId="mat-expansion-panel-header-"+z++,h._bodyAnimationDone=new o.xQ,h.accordion=e,h._document=c,h._bodyAnimationDone.pipe((0,y.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?h.afterExpand.emit():"collapsed"===e.toState&&h.afterCollapse.emit())}),l&&(h.hideToggle=l.hideToggle),h}return _createClass(i,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=(0,r.Ig)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe((0,_.O)(null),(0,b.h)(function(){return e.expanded&&!e._portal}),(0,w.q)(1)).subscribe(function(){e._portal=new p.UE(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),i}(d);return e.\u0275fac=function(t){return new(t||e)(n.Y36(M,12),n.Y36(n.sBO),n.Y36(s.A8),n.Y36(n.s_b),n.Y36(g.K0),n.Y36(k.Qb,8),n.Y36(Z,8))},e.\u0275cmp=n.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,i){var r;(1&e&&n.Suo(i,N,5),2&e)&&(n.iGM(r=n.CRH())&&(t._lazyContent=r.first))},viewQuery:function(e,t){var i;(1&e&&n.Gf(S,5),2&e)&&(n.iGM(i=n.CRH())&&(t._body=i.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&n.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:[n._Bn([{provide:M,useValue:void 0}]),n.qOj,n.TTD],ngContentSelectors:x,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&&(n.F$t(R),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,I,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&e&&(n.xp6(1),n.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),n.uIk("aria-labelledby",t._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",t._portal))},directives:[p.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[L.bodyExpansion]},changeDetection:0}),e}(),F=function(){var e=function(){function e(t,i,n,r,o,s){var c=this;_classCallCheck(this,e),this.panel=t,this._element=i,this._focusMonitor=n,this._changeDetectorRef=r,this._animationMode=s,this._parentChangeSubscription=a.w.EMPTY;var u=t.accordion?t.accordion._stateChanges.pipe((0,b.h)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):C.E;this._parentChangeSubscription=(0,T.T)(t.opened,t.closed,u,t._inputChanges.pipe((0,b.h)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return c._changeDetectorRef.markForCheck()}),t.closed.pipe((0,b.h)(function(){return t._containsFocus()})).subscribe(function(){return n.focusVia(i,"program")}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return _createClass(e,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case A.L_:case A.K5:(0,A.Vb)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.Y36(B,1),n.Y36(n.SBq),n.Y36(m.tE),n.Y36(n.sBO),n.Y36(Z,8),n.Y36(k.Qb,8))},e.\u0275cmp=n.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&n.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(n.uIk("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),n.Udp("height",t._getHeaderHeight()),n.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:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:D,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(n.F$t(P),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,O,1,1,"span",1)),2&e&&(n.xp6(4),n.Q6J("ngIf",t._showToggle()))},directives:[g.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}[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:""}\n'],encapsulation:2,data:{animation:[L.indicatorRotate]},changeDetection:0}),e}(),q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.lG2({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),U=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._ownHeaders=new n.n_E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _createClass(i,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=(0,r.Ig)(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe((0,_.O)(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new m.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),i}(l);return t.\u0275fac=function(i){return(e||(e=n.n5z(t)))(i||t)},t.\u0275dir=n.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,i){var r;(1&e&&n.Suo(i,F,5),2&e)&&(n.iGM(r=n.CRH())&&(t._headers=r))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&n.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[n._Bn([{provide:M,useExisting:t}]),n.qOj]}),t}(),G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[g.ez,v.BQ,f,p.eL]]}),e}()},66283:function(e,t,i){"use strict";i.d(t,{G_:function(){return W},TO:function(){return z},KE:function(){return X},Eo:function(){return B},lN:function(){return $},bx:function(){return H},hX:function(){return U},UY:function(){return G},R9:function(){return K}});var n=i(36337),r=i(61511),o=i(31572),a=i(71522),s=i(19861),c=i(55959),u=i(31906),l=i(87254),h=i(56238),d=i(25416),f=i(90611),p=i(10709),g=i(43490),v=i(22526),m=i(11353),y=["underline"],_=["connectionContainer"],b=["inputContainer"],w=["label"];function A(e,t){1&e&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function k(e,t){1&e&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function C(e,t){if(1&e&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&e){var i=o.oxw(2);o.xp6(3),o.Oqu(i._control.placeholder)}}function T(e,t){1&e&&o.Hsn(0,3,["*ngSwitchCase","true"])}function E(e,t){1&e&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function S(e,t){if(1&e){var i=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(i),o.oxw().updateOutlineGap()}),o.YNc(2,C,4,1,"ng-container",12),o.YNc(3,T,1,0,"ng-content",12),o.YNc(4,E,2,0,"span",22),o.qZA()}if(2&e){var n=o.oxw();o.ekj("mat-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-form-field-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-accent","accent"==n.color)("mat-warn","warn"==n.color),o.Q6J("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),o.uIk("for",n._control.id)("aria-owns",n._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function I(e,t){1&e&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function R(e,t){if(1&e&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&e){var i=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==i.color)("mat-warn","warn"==i.color)}}function x(e,t){if(1&e&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&e){var i=o.oxw();o.Q6J("@transitionMessages",i._subscriptAnimationState)}}function O(e,t){if(1&e&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&e){var i=o.oxw(2);o.Q6J("id",i._hintLabelId),o.xp6(1),o.Oqu(i.hintLabel)}}function P(e,t){if(1&e&&(o.TgZ(0,"div",28),o.YNc(1,O,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&e){var i=o.oxw();o.Q6J("@transitionMessages",i._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",i.hintLabel)}}var D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=0,N=new o.OlP("MatError"),z=function(){var e=function e(t,i){_classCallCheck(this,e),this.id="mat-error-"+L++,t||i.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)(o.$8M("aria-live"),o.Y36(o.SBq))},e.\u0275dir=o.lG2({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&o.uIk("id",t.id)},inputs:{id:"id"},features:[o._Bn([{provide:N,useExisting:e}])]}),e}(),Z={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},B=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e}),e}(),F=0,q=new o.OlP("MatHint"),H=function(){var e=function e(){_classCallCheck(this,e),this.align="start",this.id="mat-hint-"+F++};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(o.uIk("id",t.id)("align",null),o.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[o._Bn([{provide:q,useExisting:e}])]}),e}(),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-label"]]}),e}(),G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),j=new o.OlP("MatPrefix"),Y=new o.OlP("MatSuffix"),K=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:Y,useExisting:e}])]}),e}(),V=0,J=(0,a.pj)(function e(t){_classCallCheck(this,e),this._elementRef=t},"primary"),Q=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),W=new o.OlP("MatFormField"),X=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,u,l){var h;return _classCallCheck(this,i),(h=t.call(this,e))._elementRef=e,h._changeDetectorRef=n,h._dir=o,h._defaults=a,h._platform=s,h._ngZone=u,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new c.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+V++,h._labelId="mat-form-field-label-"+V++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==l,h.appearance=a&&a.appearance?a.appearance:"legacy",h._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,h}return _createClass(i,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=(0,s.Ig)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe((0,h.O)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,d.R)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,u.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,l.R)(this._label.nativeElement,"transitionend").pipe((0,f.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,i=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push.apply(e,_toConsumableArray(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,i=0,n=this._connectionContainerRef.nativeElement,r=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=n.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),c=e.children,u=this._getStartEnd(c[0].getBoundingClientRect()),l=0,h=0;h0?.75*l+10:0}for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,i=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,e);if(!i)throw w(e);var r=this._cachedIconsByUrl.get(i);return r?(0,s.of)(T(r)):this._loadSvgIconFromConfig(new k(e,null)).pipe((0,h.b)(function(e){return t._cachedIconsByUrl.set(i,e)}),(0,d.U)(function(e){return T(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=E(t,e),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,c._)(b(i))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?(0,s.of)(T(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,d.U)(function(e){return T(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var i=this,r=this._extractIconWithNameFromAnySet(e,t);if(r)return(0,s.of)(r);var o=t.filter(function(e){return!e.svgText}).map(function(e){return i._loadSvgIconSetFromConfig(e).pipe((0,f.K)(function(t){var r=i._sanitizer.sanitize(n.q3G.RESOURCE_URL,e.url);return i._errorHandler.handleError(new Error("Loading icon set URL: ".concat(r," failed: ").concat(t.message))),(0,s.of)(null)}))});return(0,u.D)(o).pipe((0,d.U)(function(){var n=i._extractIconWithNameFromAnySet(e,t);if(!n)throw b(e);return n}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var i=t.length-1;i>=0;i--){var n=t[i];if(n.svgText&&n.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(n),o=this._extractSvgIconFromSet(r,e,n.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe((0,h.b)(function(t){return e.svgText=t}),(0,d.U)(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?(0,s.of)(null):this._fetchIcon(e).pipe((0,h.b)(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,i){var n=e.querySelector('[id="'.concat(t,'"]'));if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,i);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),i);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,i)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var i=t.querySelector("svg");if(!i)throw Error(" tag not found");return i}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),i=e.attributes,n=0;n-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var 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}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),i}(g);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(a.t4),r.Y36(l.a5,10),r.Y36(l.F,8),r.Y36(l.sg,8),r.Y36(s.rD),r.Y36(d,10),r.Y36(n.Lq),r.Y36(r.R0b),r.Y36(c.G_,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(r.Ikx("disabled",t.disabled)("required",t.required),r.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),r.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:c.Eo,useExisting:e}]),r.qOj,r.TTD]}),e}(),m=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[s.rD],imports:[[n.Ky,c.lN,s.BQ],n.Ky,c.lN]}),e}()},85250:function(e,t,i){"use strict";i.d(t,{i$:function(){return m},Tg:function(){return b},ie:function(){return w}});var n=i(61511),r=i(31572),o=i(71522),a=i(19861),s=i(55959),c=i(25416),u=(i(56238),i(24621),i(4230),i(75842),i(16073),i(27679)),l=["*"],h=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],d=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],f=(0,o.Id)((0,o.Kr)(function e(){_classCallCheck(this,e)})),p=(0,o.Kr)(function e(){_classCallCheck(this,e)}),g=new r.OlP("MatList"),v=new r.OlP("MatNavList"),m=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this))._elementRef=e,n._stateChanges=new s.xQ,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return _createClass(i,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(f);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r._Bn([{provide:g,useExisting:e}]),r.qOj,r.TTD],ngContentSelectors:l,decls:1,vars:0,template:function(e,t){1&e&&(r.F$t(),r.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e}(),_=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e}(),b=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;_classCallCheck(this,i),(a=t.call(this))._element=e,a._isInteractiveList=!1,a._destroyed=new s.xQ,a._disabled=!1,a._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),a._list=r||o;var u=a._getHostElement();return"button"!==u.nodeName.toLowerCase()||u.hasAttribute("type")||u.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe((0,c.R)(a._destroyed)).subscribe(function(){n.markForCheck()}),a}return _createClass(i,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=(0,a.Ig)(e)}},{key:"ngAfterContentInit",value:function(){(0,o.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),i}(p);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(v,8),r.Y36(g,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,i){var n;(1&e&&(r.Suo(i,y,5),r.Suo(i,_,5),r.Suo(i,o.X2,5)),2&e)&&(r.iGM(n=r.CRH())&&(t._avatar=n.first),r.iGM(n=r.CRH())&&(t._icon=n.first),r.iGM(n=r.CRH())&&(t._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&r.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:[r.qOj],ngContentSelectors:d,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&&(r.F$t(h),r.TgZ(0,"div",0),r._UZ(1,"div",1),r.Hsn(2),r.TgZ(3,"div",2),r.Hsn(4,1),r.qZA(),r.Hsn(5,2),r.qZA()),2&e&&(r.xp6(1),r.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[o.wG],encapsulation:2,changeDetection:0}),e}(),w=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[o.uc,o.si,o.BQ,o.us,n.ez],o.uc,o.BQ,o.us,u.t]}),e}()},8055:function(e,t,i){"use strict";i.d(t,{VK:function(){return z},OP:function(){return D},Tx:function(){return U},p6:function(){return q}});var n=i(24621),r=i(19861),o=i(75842),a=i(31572),s=i(55959),c=i(87570),u=i(31906),l=i(40878),h=i(92709),d=i(56238),f=i(44689),p=i(90611),g=i(43835),v=i(25416),m=i(60509),y=i(10709),_=i(26899),b=i(61511),w=i(71522),A=i(2522),k=i(11353),C=i(4253),T=i(22526),E=["mat-menu-item",""],S=["*"];function I(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",0),a.NdJ("keydown",function(e){return a.CHM(i),a.oxw()._handleKeydown(e)})("click",function(){return a.CHM(i),a.oxw().closed.emit("click")})("@transformMenu.start",function(e){return a.CHM(i),a.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return a.CHM(i),a.oxw()._onAnimationDone(e)}),a.TgZ(1,"div",1),a.Hsn(2),a.qZA(),a.qZA()}if(2&e){var n=a.oxw();a.Q6J("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),a.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var R={transformMenu:(0,y.X$)("transformMenu",[(0,y.SB)("void",(0,y.oB)({opacity:0,transform:"scale(0.8)"})),(0,y.eR)("void => enter",(0,y.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,y.oB)({opacity:1,transform:"scale(1)"}))),(0,y.eR)("* => void",(0,y.jt)("100ms 25ms linear",(0,y.oB)({opacity:0})))]),fadeInItems:(0,y.X$)("fadeInItems",[(0,y.SB)("showing",(0,y.oB)({opacity:1})),(0,y.eR)("void => *",[(0,y.oB)({opacity:0}),(0,y.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},x=new a.OlP("MatMenuContent"),O=new a.OlP("MAT_MENU_PANEL"),P=(0,w.Kr)((0,w.Id)(function e(){_classCallCheck(this,e)})),D=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new s.xQ,a._focused=new s.xQ,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(_assertThisInitialized(a)),a}return _createClass(i,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var i=this._directDescendantItems.first._getHostElement().parentElement;i;){if("menu"===i.getAttribute("role")){i.focus();break}i=i.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z".concat(Math.min(4+e,24)),i=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,i=this._classList;i["mat-menu-before"]="before"===e,i["mat-menu-after"]="after"===e,i["mat-menu-above"]="above"===t,i["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(M))},e.\u0275dir=a.lG2({type:e,contentQueries:function(e,t,i){var n;(1&e&&(a.Suo(i,x,5),a.Suo(i,D,5),a.Suo(i,D,4)),2&e)&&(a.iGM(n=a.CRH())&&(t.lazyContent=n.first),a.iGM(n=a.CRH())&&(t._allItems=n),a.iGM(n=a.CRH())&&(t.items=n))},viewQuery:function(e,t){var i;(1&e&&a.Gf(a.Rgc,5),2&e)&&(a.iGM(i=a.CRH())&&(t.templateRef=i.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),z=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){return _classCallCheck(this,i),t.call(this,e,n,r)}return i}(N);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(M))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&a.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[a._Bn([{provide:O,useExisting:e}]),a.qOj],ngContentSelectors:S,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&&(a.F$t(),a.YNc(0,I,3,6,"ng-template"))},directives:[b.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[R.transformMenu,R.fadeInItems]},changeDetection:0}),e}(),Z=new a.OlP("mat-menu-scroll-strategy"),B={provide:Z,deps:[A.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},F=(0,k.i$)({passive:!0}),q=function(){var e=function(){function e(t,i,r,o,s,u,l,h){var d=this;_classCallCheck(this,e),this._overlay=t,this._element=i,this._viewContainerRef=r,this._menuItemInstance=u,this._dir=l,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w.EMPTY,this._hoverSubscription=c.w.EMPTY,this._menuCloseSubscription=c.w.EMPTY,this._handleTouchStart=function(e){(0,n.yG)(e)||(d._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new a.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof N?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,F),u&&(u._triggersSubmenu=this.triggersSubmenu())}return _createClass(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,F),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),i=t.getConfig();this._setPosition(i.positionStrategy),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof N&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,i instanceof N?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe((0,g.h)(function(e){return"void"===e.toState}),(0,p.q)(1),(0,v.R)(i.lazyContent._attached)).subscribe({next:function(){return i.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}}},{key:"_initMenu",value:function(){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)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new A.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})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),i=t[0],n=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,c=a,u=i,l=n,h=0;this.triggersSubmenu()?(l=i="before"===this.menu.xPosition?"start":"end",n=u="end"===i?"start":"end",h="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",c="top"===a?"bottom":"top"),e.withPositions([{originX:i,originY:s,overlayX:u,overlayY:o,offsetY:h},{originX:n,originY:s,overlayX:l,overlayY:o,offsetY:h},{originX:i,originY:c,overlayX:u,overlayY:a,offsetY:-h},{originX:n,originY:c,overlayX:l,overlayY:a,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,l.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,g.h)(function(t){return t!==e._menuItemInstance}),(0,g.h)(function(){return e._menuOpen})):(0,l.of)();return(0,u.T)(t,n,r,i)}},{key:"_handleMousedown",value:function(e){(0,n.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;t!==o.K5&&t!==o.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===o.SV&&"ltr"===this.dir||t===o.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,g.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),(0,m.g)(0,h.e)).subscribe(function(){e._openedBy="mouse",e.menu instanceof N&&e.menu._isAnimating?e.menu._animationDone.pipe((0,p.q)(1),(0,m.g)(0,h.e),(0,v.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new _.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(A.aV),a.Y36(a.SBq),a.Y36(a.s_b),a.Y36(Z),a.Y36(O,8),a.Y36(D,10),a.Y36(T.Is,8),a.Y36(n.tE))},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&a.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&a.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[B],imports:[w.BQ]}),e}(),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[B],imports:[[b.ez,w.BQ,w.si,A.U8,H],C.ZD,w.BQ,H]}),e}()},73005:function(e,t,i){"use strict";i.d(t,{NW:function(){return k},TU:function(){return C}});var n=i(61511),r=i(31572),o=i(71522),a=i(15980),s=i(4786),c=i(36922),u=i(19861),l=i(55959),h=i(66283);function d(e,t){if(1&e&&(r.TgZ(0,"mat-option",19),r._uU(1),r.qZA()),2&e){var i=t.$implicit;r.Q6J("value",i),r.xp6(1),r.hij(" ",i," ")}}function f(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"mat-form-field",16),r.TgZ(1,"mat-select",17),r.NdJ("selectionChange",function(e){return r.CHM(i),r.oxw(2)._changePageSize(e.value)}),r.YNc(2,d,2,2,"mat-option",18),r.qZA(),r.qZA()}if(2&e){var n=r.oxw(2);r.Q6J("appearance",n._formFieldAppearance)("color",n.color),r.xp6(1),r.Q6J("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),r.xp6(1),r.Q6J("ngForOf",n._displayedPageSizeOptions)}}function p(e,t){if(1&e&&(r.TgZ(0,"div",20),r._uU(1),r.qZA()),2&e){var i=r.oxw(2);r.xp6(1),r.Oqu(i.pageSize)}}function g(e,t){if(1&e&&(r.TgZ(0,"div",12),r.TgZ(1,"div",13),r._uU(2),r.qZA(),r.YNc(3,f,3,6,"mat-form-field",14),r.YNc(4,p,2,1,"div",15),r.qZA()),2&e){var i=r.oxw();r.xp6(2),r.hij(" ",i._intl.itemsPerPageLabel," "),r.xp6(1),r.Q6J("ngIf",i._displayedPageSizeOptions.length>1),r.xp6(1),r.Q6J("ngIf",i._displayedPageSizeOptions.length<=1)}}function v(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"button",21),r.NdJ("click",function(){return r.CHM(i),r.oxw().firstPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",22),r.qZA(),r.qZA()}if(2&e){var n=r.oxw();r.Q6J("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),r.uIk("aria-label",n._intl.firstPageLabel)}}function m(e,t){if(1&e){var i=r.EpF();r.O4$(),r.kcU(),r.TgZ(0,"button",23),r.NdJ("click",function(){return r.CHM(i),r.oxw().lastPage()}),r.O4$(),r.TgZ(1,"svg",7),r._UZ(2,"path",24),r.qZA(),r.qZA()}if(2&e){var n=r.oxw();r.Q6J("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),r.uIk("aria-label",n._intl.lastPageLabel)}}var y=function(){var e=function e(){_classCallCheck(this,e),this.changes=new l.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,i){if(0==i||0==t)return"0 of ".concat(i);var n=e*t;return"".concat(n+1," \u2013 ").concat(n<(i=Math.max(i,0))?Math.min(n+t,i):n+t," of ").concat(i)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),_={provide:y,deps:[[new r.FiY,new r.tp0,y]],useFactory:function(e){return e||new y}},b=new r.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),w=(0,o.Id)((0,o.dB)(function e(){_classCallCheck(this,e)})),A=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,o){var a;if(_classCallCheck(this,i),(a=t.call(this))._intl=e,a._changeDetectorRef=n,a._pageIndex=0,a._length=0,a._pageSizeOptions=[],a._hidePageSize=!1,a._showFirstLastButtons=!1,a.page=new r.vpe,a._intlChanges=e.changes.subscribe(function(){return a._changeDetectorRef.markForCheck()}),o){var s=o.pageSize,c=o.pageSizeOptions,u=o.hidePageSize,l=o.showFirstLastButtons;null!=s&&(a._pageSize=s),null!=c&&(a._pageSizeOptions=c),null!=u&&(a._hidePageSize=u),null!=l&&(a._showFirstLastButtons=l)}return _possibleConstructorReturn(a)}return _createClass(i,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max((0,u.su)(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=(0,u.su)(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max((0,u.su)(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return(0,u.su)(e)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=(0,u.Ig)(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=(0,u.Ig)(e)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex void",(0,k.IO)("@transformPanel",[(0,k.pV)()],{optional:!0}))]),transformPanel:(0,k.X$)("transformPanel",[(0,k.SB)("void",(0,k.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,k.SB)("showing",(0,k.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,k.SB)("showing-multiple",(0,k.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,k.eR)("void => *",(0,k.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,k.eR)("* => void",(0,k.jt)("100ms 25ms linear",(0,k.oB)({opacity:0})))])},N=0,z=new o.OlP("mat-select-scroll-strategy"),Z=new o.OlP("MAT_SELECT_CONFIG"),B={provide:z,deps:[n.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},F=function e(t,i){_classCallCheck(this,e),this.source=t,this.value=i},q=(0,a.Kr)((0,a.sb)((0,a.Id)((0,a.FD)(function e(t,i,n,r,o){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=i,this._parentForm=n,this._parentFormGroup=r,this.ngControl=o})))),H=new o.OlP("MatSelectTrigger"),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-select-trigger"]],features:[o._Bn([{provide:H,useExisting:e}])]}),e}(),G=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,a,s,c,u,l,h,d,w,A,k,C){var T,E,S,I;return _classCallCheck(this,i),(T=t.call(this,s,a,u,l,d))._viewportRuler=e,T._changeDetectorRef=n,T._ngZone=r,T._dir=c,T._parentFormField=h,T.ngControl=d,T._liveAnnouncer=k,T._defaultOptions=C,T._panelOpen=!1,T._compareWith=function(e,t){return e===t},T._uid="mat-select-"+N++,T._triggerAriaLabelledBy=null,T._destroy=new f.xQ,T._onChange=function(){},T._onTouched=function(){},T._valueId="mat-select-value-"+N++,T._panelDoneAnimatingStream=new f.xQ,T._overlayPanelClass=(null===(E=T._defaultOptions)||void 0===E?void 0:E.overlayPanelClass)||"",T._focused=!1,T.controlType="mat-select",T._required=!1,T._multiple=!1,T._disableOptionCentering=null!==(I=null===(S=T._defaultOptions)||void 0===S?void 0:S.disableOptionCentering)&&void 0!==I&&I,T.ariaLabel="",T.optionSelectionChanges=(0,p.P)(function(){var e=T.options;return e?e.changes.pipe((0,v.O)(e),(0,m.w)(function(){return g.T.apply(void 0,_toConsumableArray(e.map(function(e){return e.onSelectionChange})))})):T._ngZone.onStable.pipe((0,y.q)(1),(0,m.w)(function(){return T.optionSelectionChanges}))}),T.openedChange=new o.vpe,T._openedStream=T.openedChange.pipe((0,_.h)(function(e){return e}),(0,b.U)(function(){})),T._closedStream=T.openedChange.pipe((0,_.h)(function(e){return!e}),(0,b.U)(function(){})),T.selectionChange=new o.vpe,T.valueChange=new o.vpe,T.ngControl&&(T.ngControl.valueAccessor=_assertThisInitialized(T)),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(T._typeaheadDebounceInterval=C.typeaheadDebounceInterval),T._scrollStrategyFactory=A,T._scrollStrategy=T._scrollStrategyFactory(),T.tabIndex=parseInt(w)||0,T.id=T.id,T}return _createClass(i,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,l.Ig)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,l.Ig)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,l.Ig)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,l.su)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,A.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,A.R)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe((0,v.O)(null),(0,A.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,i=t===d.JH||t===d.LH||t===d.oh||t===d.SV,n=t===d.K5||t===d.L_,r=this._keyManager;if(!r.isTyping()&&n&&!(0,d.Vb)(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,i=e.keyCode,n=i===d.JH||i===d.LH,r=t.isTyping();if(n&&e.altKey)e.preventDefault(),this.close();else if(r||i!==d.K5&&i!==d.L_||!t.activeItem||(0,d.Vb)(e))if(!r&&this._multiple&&i===d.A&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,y.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var i=this._selectValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,i=this.options.find(function(i){if(t._selectionModel.isSelected(i))return!1;try{return null!=i.value&&t._compareWith(i.value,e)}catch(n){return!1}});return i&&this._selectionModel.select(i),i}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,A.R)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe((0,A.R)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,g.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),g.T.apply(void 0,_toConsumableArray(this.options.map(function(e){return e._stateChanges}))).pipe((0,A.R)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var i=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(i!==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)),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(i,n){return e.sortComparator?e.sortComparator(i,n,t):t.indexOf(i)-t.indexOf(n)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.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()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),i}(q);return e.\u0275fac=function(t){return new(t||e)(o.Y36(c.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.rD),o.Y36(o.SBq),o.Y36(C.Is,8),o.Y36(T.F,8),o.Y36(T.sg,8),o.Y36(s.G_,8),o.Y36(T.a5,10),o.$8M("tabindex"),o.Y36(z),o.Y36(u.Kd),o.Y36(Z,8))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var i;(1&e&&(o.Gf(E,5),o.Gf(S,5),o.Gf(n.pI,5)),2&e)&&(o.iGM(i=o.CRH())&&(t.trigger=i.first),o.iGM(i=o.CRH())&&(t.panel=i.first),o.iGM(i=o.CRH())&&(t._overlayDir=i.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),e}(),j=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return _createClass(i,[{key:"_calculateOverlayScroll",value:function(e,t,i){var n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),i)}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,A.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;_get(_getPrototypeOf(i.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(i.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,y.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=(0,a.CB)(e,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,a.jH)((e+t)*i,i,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(i.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new F(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),n=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}n||(e*=-1);var a=0-(t.left+e-(n?r:0)),s=t.right+e-i.width+(n?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,i){var n,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(n=0===this._scrollTop?e*r:this._scrollTop===i?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*n-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,r=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>n?this._adjustPanelDown(o,n,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,i){var n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),i=this._getItemCount(),n=Math.min(i*t,256),r=i*t-n;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=(0,a.CB)(e,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),i}(G);return t.\u0275fac=function(i){return(e||(e=o.n5z(t)))(i||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,i){var n;(1&e&&(o.Suo(i,H,5),o.Suo(i,a.ey,5),o.Suo(i,a.K7,5)),2&e)&&(o.iGM(n=o.CRH())&&(t.customTrigger=n.first),o.iGM(n=o.CRH())&&(t.options=n),o.iGM(n=o.CRH())&&(t.optionGroups=n))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(o.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()),o.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:[o._Bn([{provide:s.Eo,useExisting:t},{provide:a.HF,useExisting:t}]),o.qOj],ngContentSelectors:M,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&&(o.F$t(D),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return t.toggle()}),o.TgZ(3,"div",2),o.YNc(4,I,2,1,"span",3),o.YNc(5,O,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,P,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var i=o.MAs(1);o.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",t.empty),o.uIk("id",t._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[n.xu,r.RF,r.n9,n.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t}(),Y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[B],imports:[[r.ez,n.U8,a.Ng,a.BQ],c.ZD,s.lN,a.Ng,a.BQ]}),e}()},25122:function(e,t,i){"use strict";i.d(t,{JX:function(){return H},TM:function(){return U},Rh:function(){return q},SJ:function(){return G}});var n=i(11353),r=i(4253),o=i(61511),a=i(31572),s=i(71522),c=i(19861),u=i(75842),l=i(55959),h=i(87254),d=i(31906),f=i(43835),p=i(79996),g=i(88414),v=i(25416),m=i(98720),y=i(90611),_=i(56238),b=i(47701),w=i(10709),A=i(43490),k=i(24621),C=i(22526),T=["*"];function E(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(i),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&e){var n=a.oxw();a.ekj("mat-drawer-shown",n._isShowingBackdrop())}}function S(e,t){1&e&&(a.TgZ(0,"mat-drawer-content"),a.Hsn(1,2),a.qZA())}var I=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],R=["mat-drawer","mat-drawer-content","*"];function x(e,t){if(1&e){var i=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(i),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&e){var n=a.oxw();a.ekj("mat-drawer-shown",n._isShowingBackdrop())}}function O(e,t){1&e&&(a.TgZ(0,"mat-sidenav-content",3),a.Hsn(1,2),a.qZA())}var P=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],D=["mat-sidenav","mat-sidenav-content","*"],M=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",L={transformDrawer:(0,w.X$)("transform",[(0,w.SB)("open, open-instant",(0,w.oB)({transform:"none",visibility:"visible"})),(0,w.SB)("void",(0,w.oB)({"box-shadow":"none",visibility:"hidden"})),(0,w.eR)("void => open-instant",(0,w.jt)("0ms")),(0,w.eR)("void <=> open, open-instant => void",(0,w.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},N=new a.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),z=new a.OlP("MAT_DRAWER_CONTAINER"),Z=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this,r,o,a))._changeDetectorRef=e,s._container=n,s}return _createClass(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})}}]),i}(r.PQ);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return F})),a.Y36(a.SBq),a.Y36(r.mF),a.Y36(a.R0b))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&a.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),B=function(){var e=function(){function e(t,i,n,r,o,s,c){var d=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=i,this._focusMonitor=n,this._platform=r,this._ngZone=o,this._doc=s,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new l.xQ,this._animationEnd=new l.xQ,this._animationState="void",this.openedChange=new a.vpe(!0),this._openedStream=this.openedChange.pipe((0,f.h)(function(e){return e}),(0,p.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,f.h)(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),(0,g.h)(void 0)),this._closedStream=this.openedChange.pipe((0,f.h)(function(e){return!e}),(0,p.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,f.h)(function(e){return e.fromState!==e.toState&&"void"===e.toState}),(0,g.h)(void 0)),this._destroyed=new l.xQ,this.onPositionChanged=new a.vpe,this._modeChanged=new l.xQ,this.openedChange.subscribe(function(e){e?(d._doc&&(d._elementFocusedBeforeDrawerWasOpened=d._doc.activeElement),d._takeFocus()):d._isFocusWithinDrawer()&&d._restoreFocus()}),this._ngZone.runOutsideAngular(function(){(0,h.R)(d._elementRef.nativeElement,"keydown").pipe((0,f.h)(function(e){return e.keyCode===u.hY&&!d.disableClose&&!(0,u.Vb)(e)}),(0,v.R)(d._destroyed)).subscribe(function(e){return d._ngZone.run(function(){d.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe((0,m.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,i=e.toState;(0===i.indexOf("open")&&"void"===t||"void"===i&&0===t.indexOf("open"))&&d.openedChange.emit(d._opened)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=(0,c.Ig)(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=(0,c.Ig)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle((0,c.Ig)(e))}},{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var e,t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,t=arguments.length>1?arguments[1]:void 0;return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}},{key:"_setOpen",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(e){i.openedChange.pipe((0,y.q)(1)).subscribe(function(t){return e(t?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(k.qV),a.Y36(k.tE),a.Y36(n.t4),a.Y36(a.R0b),a.Y36(o.K0,8),a.Y36(z,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&a.WFA("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(a.uIk("align",null),a.d8E("@transform",t._animationState),a.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:T,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),e}(),F=function(){var e=function(){function e(t,i,n,r,o){var s=this,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=i,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=u,this._drawers=new a.n_E,this.backdropClick=new a.vpe,this._destroyed=new l.xQ,this._doCheckSubject=new l.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new l.xQ,t&&t.change.pipe((0,v.R)(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),o.change().pipe((0,v.R)(this._destroyed)).subscribe(function(){return s.updateContentMargins()}),this._autosize=c}return _createClass(e,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=(0,c.Ig)(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:(0,c.Ig)(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe((0,_.O)(this._allDrawers),(0,v.R)(this._destroyed)).subscribe(function(t){e._drawers.reset(t.filter(function(t){return!t._container||t._container===e})),e._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,_.O)(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._doCheckSubject.pipe((0,b.b)(10),(0,v.R)(e._destroyed)).subscribe(function(){return e.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(e){return e.open()})}},{key:"close",value:function(){this._drawers.forEach(function(e){return e.close()})}},{key:"updateContentMargins",value:function(){var e=this,t=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){var n=this._left._getWidth();t+=n,i-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();i+=r,t-=r}i=i||null,(t=t||null)===this._contentMargins.left&&i===this._contentMargins.right||(this._contentMargins={left:t,right:i},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe((0,f.h)(function(e){return e.fromState!==e.toState}),(0,v.R)(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe((0,v.R)(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe((0,v.R)(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.pipe((0,y.q)(1)).subscribe(function(){t._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe((0,v.R)((0,d.T)(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,i="mat-drawer-container-has-open";e?t.add(i):t.remove(i)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?e._end=t:e._start=t}),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)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var e=this;[this._start,this._end].filter(function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)}).forEach(function(e){return e._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(C.Is,8),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(r.rL),a.Y36(N),a.Y36(A.Qb,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,i){var n;(1&e&&(a.Suo(i,Z,5),a.Suo(i,B,5)),2&e)&&(a.iGM(n=a.CRH())&&(t._content=n.first),a.iGM(n=a.CRH())&&(t._allDrawers=n))},viewQuery:function(e,t){var i;(1&e&&a.Gf(Z,5),2&e)&&(a.iGM(i=a.CRH())&&(t._userContent=i.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a._Bn([{provide:z,useExisting:e}])],ngContentSelectors:R,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&&(a.F$t(I),a.YNc(0,E,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,S,2,0,"mat-drawer-content",1)),2&e&&(a.Q6J("ngIf",t.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!t._content))},directives:[o.O5,Z],styles:[M],encapsulation:2,changeDetection:0}),e}(),q=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){return _classCallCheck(this,i),t.call(this,e,n,r,o,a)}return i}(Z);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return U})),a.Y36(a.SBq),a.Y36(r.mF),a.Y36(a.R0b))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&a.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),H=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _createClass(i,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=(0,c.Ig)(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=(0,c.su)(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=(0,c.su)(e)}}]),i}(B);return t.\u0275fac=function(i){return(e||(e=a.n5z(t)))(i||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(a.uIk("align",null),a.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),a.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:[a.qOj],ngContentSelectors:T,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[r.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t}(),U=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(F);return t.\u0275fac=function(i){return(e||(e=a.n5z(t)))(i||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,i){var n;(1&e&&(a.Suo(i,q,5),a.Suo(i,H,5)),2&e)&&(a.iGM(n=a.CRH())&&(t._content=n.first),a.iGM(n=a.CRH())&&(t._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[a._Bn([{provide:z,useExisting:t}]),a.qOj],ngContentSelectors:D,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(a.F$t(P),a.YNc(0,x,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,O,2,0,"mat-sidenav-content",1)),2&e&&(a.Q6J("ngIf",t.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!t._content))},directives:[o.O5,q,r.PQ],styles:[M],encapsulation:2,changeDetection:0}),t}(),G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[o.ez,s.BQ,n.ud,r.ZD],r.ZD,s.BQ]}),e}()},27521:function(e,t,i){"use strict";i.d(t,{Rr:function(){return b},rP:function(){return A}});var n=i(36337),r=i(31572),o=i(71522),a=i(19861),s=i(16073),c=i(43490),u=i(24621),l=["thumbContainer"],h=["toggleBar"],d=["input"],f=function(e){return{enterDuration:e}},p=["*"],g=new r.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),v=0,m={provide:s.JU,useExisting:(0,r.Gpc)(function(){return b}),multi:!0},y=function e(t,i){_classCallCheck(this,e),this.source=t,this.checked=i},_=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(function e(t){_classCallCheck(this,e),this._elementRef=t})))),b=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,o,a,s,c){var u;return _classCallCheck(this,i),(u=t.call(this,e))._focusMonitor=n,u._changeDetectorRef=o,u.defaults=s,u._onChange=function(e){},u._onTouched=function(){},u._uniqueId="mat-slide-toggle-"+ ++v,u._required=!1,u._checked=!1,u.name=null,u.id=u._uniqueId,u.labelPosition="after",u.ariaLabel=null,u.ariaLabelledby=null,u.change=new r.vpe,u.toggleChange=new r.vpe,u.tabIndex=parseInt(a)||0,u.color=u.defaultColor=s.color||"accent",u._noopAnimations="NoopAnimations"===c,u}return _createClass(i,[{key:"required",get:function(){return this._required},set:function(e){this._required=(0,a.Ig)(e)}},{key:"checked",get:function(){return this._checked},set:function(e){this._checked=(0,a.Ig)(e),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){"keyboard"===t||"program"===t?e._inputElement.nativeElement.focus():t||Promise.resolve().then(function(){return e._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),i}(_);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(u.tE),r.Y36(r.sBO),r.$8M("tabindex"),r.Y36(g),r.Y36(c.Qb,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){var i;(1&e&&(r.Gf(l,5),r.Gf(h,5),r.Gf(d,5)),2&e)&&(r.iGM(i=r.CRH())&&(t._thumbEl=i.first),r.iGM(i=r.CRH())&&(t._thumbBarEl=i.first),r.iGM(i=r.CRH())&&(t._inputElement=i.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(r.Ikx("id",t.id),r.uIk("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.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"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r._Bn([m]),r.qOj],ngContentSelectors:p,decls:16,vars:19,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&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"div",2,3),r.TgZ(4,"input",4,5),r.NdJ("change",function(e){return t._onChangeEvent(e)})("click",function(e){return t._onInputClick(e)}),r.qZA(),r.TgZ(6,"div",6,7),r._UZ(8,"div",8),r.TgZ(9,"div",9),r._UZ(10,"div",10),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"span",11,12),r.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),r.TgZ(13,"span",13),r._uU(14,"\xa0"),r.qZA(),r.Hsn(15),r.qZA(),r.qZA()),2&e){var i=r.MAs(1),n=r.MAs(12);r.uIk("for",t.inputId),r.xp6(2),r.ekj("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(2),r.Q6J("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),r.uIk("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),r.xp6(5),r.Q6J("matRippleTrigger",i)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.VKq(17,f,t._noopAnimations?0:150))}},directives:[o.wG,n.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{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%}.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}),e}(),w=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),A=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[w,o.si,o.BQ,n.Q8],w,o.BQ]}),e}()},71403:function(e,t,i){"use strict";i.d(t,{ZX:function(){return u}});var n=i(2522),r=i(26899),o=i(61511),a=i(31572),s=i(71522),c=i(15980);i(55959),i(90611),i(10709),i(11353);var u=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[n.U8,r.eL,o.ez,c.ot,s.BQ],s.BQ]}),e}()},58623:function(e,t,i){"use strict";i.d(t,{YE:function(){return m},nU:function(){return k},JX:function(){return C}});var n=i(31572),r=i(19861),o=i(71522),a=i(75842),s=i(55959),c=i(31906),u=i(10709),l=i(61511),h=i(24621),d=["mat-sort-header",""];function f(e,t){if(1&e){var i=n.EpF();n.TgZ(0,"div",3),n.NdJ("@arrowPosition.start",function(){return n.CHM(i),n.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return n.CHM(i),n.oxw()._disableViewStateAnimation=!1}),n._UZ(1,"div",4),n.TgZ(2,"div",5),n._UZ(3,"div",6),n._UZ(4,"div",7),n._UZ(5,"div",8),n.qZA(),n.qZA()}if(2&e){var r=n.oxw();n.Q6J("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),n.xp6(2),n.Q6J("@indicator",r._getArrowDirectionState()),n.xp6(1),n.Q6J("@leftPointer",r._getArrowDirectionState()),n.xp6(1),n.Q6J("@rightPointer",r._getArrowDirectionState())}}var p=["*"],g=new n.OlP("MAT_SORT_DEFAULT_OPTIONS"),v=(0,o.dB)((0,o.Id)(function e(){_classCallCheck(this,e)})),m=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var r;return _classCallCheck(this,i),(r=t.call(this))._defaultOptions=e,r.sortables=new Map,r._stateChanges=new s.xQ,r.start="asc",r._direction="",r.sortChange=new n.vpe,r}return _createClass(i,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=(0,r.Ig)(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(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})}},{key:"getNextSortDirection",value:function(e){var t,i,n;if(!e)return"";var r=null!==(i=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear),o=function(e,t){var i=["asc","desc"];return"desc"==e&&i.reverse(),t||i.push(""),i}(e.start||this.start,r),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(v);return e.\u0275fac=function(t){return new(t||e)(n.Y36(g,8))},e.\u0275dir=n.lG2({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[n.qOj,n.TTD]}),e}(),y=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,_={indicator:(0,u.X$)("indicator",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"translateY(0px)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"translateY(10px)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(y))]),leftPointer:(0,u.X$)("leftPointer",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"rotate(-45deg)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"rotate(45deg)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(y))]),rightPointer:(0,u.X$)("rightPointer",[(0,u.SB)("active-asc, asc",(0,u.oB)({transform:"rotate(45deg)"})),(0,u.SB)("active-desc, desc",(0,u.oB)({transform:"rotate(-45deg)"})),(0,u.eR)("active-asc <=> active-desc",(0,u.jt)(y))]),arrowOpacity:(0,u.X$)("arrowOpacity",[(0,u.SB)("desc-to-active, asc-to-active, active",(0,u.oB)({opacity:1})),(0,u.SB)("desc-to-hint, asc-to-hint, hint",(0,u.oB)({opacity:.54})),(0,u.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,u.oB)({opacity:0})),(0,u.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,u.jt)("0ms")),(0,u.eR)("* <=> *",(0,u.jt)(y))]),arrowPosition:(0,u.X$)("arrowPosition",[(0,u.eR)("* => desc-to-hint, * => desc-to-active",(0,u.jt)(y,(0,u.F4)([(0,u.oB)({transform:"translateY(-25%)"}),(0,u.oB)({transform:"translateY(0)"})]))),(0,u.eR)("* => hint-to-desc, * => active-to-desc",(0,u.jt)(y,(0,u.F4)([(0,u.oB)({transform:"translateY(0)"}),(0,u.oB)({transform:"translateY(25%)"})]))),(0,u.eR)("* => asc-to-hint, * => asc-to-active",(0,u.jt)(y,(0,u.F4)([(0,u.oB)({transform:"translateY(25%)"}),(0,u.oB)({transform:"translateY(0)"})]))),(0,u.eR)("* => hint-to-asc, * => active-to-asc",(0,u.jt)(y,(0,u.F4)([(0,u.oB)({transform:"translateY(0)"}),(0,u.oB)({transform:"translateY(-25%)"})]))),(0,u.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,u.oB)({transform:"translateY(0)"})),(0,u.SB)("hint-to-desc, active-to-desc, desc",(0,u.oB)({transform:"translateY(-25%)"})),(0,u.SB)("hint-to-asc, active-to-asc, asc",(0,u.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,u.X$)("allowChildren",[(0,u.eR)("* <=> *",[(0,u.IO)("@*",(0,u.pV)(),{optional:!0})])])},b=function(){var e=function e(){_classCallCheck(this,e),this.changes=new s.xQ};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),w={provide:b,deps:[[new n.FiY,new n.tp0,b]],useFactory:function(e){return e||new b}},A=(0,o.Id)(function e(){_classCallCheck(this,e)}),k=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s){var c;return _classCallCheck(this,i),(c=t.call(this))._intl=e,c._changeDetectorRef=n,c._sort=r,c._columnDef=o,c._focusMonitor=a,c._elementRef=s,c._showIndicatorHint=!1,c._viewState={},c._arrowDirection="",c._disableViewStateAnimation=!1,c.arrowPosition="after",c._handleStateChanges(),c}return _createClass(i,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=(0,r.Ig)(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var i=!!t;i!==e._showIndicatorHint&&(e._setIndicatorHintVisible(i),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(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})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||e.keyCode!==a.L_&&e.keyCode!==a.K5||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?"".concat(e,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=(0,c.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),i}(A);return e.\u0275fac=function(t){return new(t||e)(n.Y36(b),n.Y36(n.sBO),n.Y36(m,8),n.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),n.Y36(h.tE),n.Y36(n.SBq))},e.\u0275cmp=n.Xpm({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&n.NdJ("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(n.uIk("aria-sort",t._getAriaSortAttribute()),n.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[n.qOj],attrs:d,ngContentSelectors:p,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA(),n.YNc(3,f,6,6,"div",2),n.qZA()),2&e&&(n.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),n.uIk("tabindex",t._isDisabled()?null:0),n.xp6(3),n.Q6J("ngIf",t._renderArrow()))},directives:[l.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:[_.indicator,_.leftPointer,_.rightPointer,_.arrowOpacity,_.arrowPosition,_.allowChildren]},changeDetection:0}),e}(),C=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[w],imports:[[l.ez,o.BQ]]}),e}()},70663:function(e,t,i){"use strict";i.d(t,{C0:function(){return se},VY:function(){return X},Vq:function(){return he},T5:function(){return pe},Ic:function(){return de},fd:function(){return fe}});var n=i(26899),r=i(24621),o=i(22526),a=i(19861),s=i(75842),c=i(61511),u=i(31572),l=i(55959),h=i(40878),d=i(56238),f=i(25416);function p(e,t){1&e&&u.Hsn(0)}var g=["*"],v=function(){var e=function(){function e(t){_classCallCheck(this,e),this._elementRef=t}return _createClass(e,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.SBq))},e.\u0275dir=u.lG2({type:e,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),e}(),m=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.Rgc))},e.\u0275dir=u.lG2({type:e,selectors:[["","cdkStepLabel",""]]}),e}(),y=0,_=new u.OlP("STEPPER_GLOBAL_OPTIONS"),b=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._stepper=t,this.interacted=!1,this.interactedStream=new u.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}return _createClass(e,[{key:"editable",get:function(){return this._editable},set:function(e){this._editable=(0,a.Ig)(e)}},{key:"optional",get:function(){return this._optional},set:function(e){this._optional=(0,a.Ig)(e)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(e){this._completedOverride=(0,a.Ig)(e)}},{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(e){this._customError=(0,a.Ig)(e)}},{key:"_getDefaultError",value:function(){return this.stepControl&&this.stepControl.invalid&&this.interacted}},{key:"select",value:function(){this._stepper.selected=this}},{key:"reset",value:function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}},{key:"ngOnChanges",value:function(){this._stepper._stateChanged()}},{key:"_markAsInteracted",value:function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36((0,u.Gpc)(function(){return w})),u.Y36(_,8))},e.\u0275cmp=u.Xpm({type:e,selectors:[["cdk-step"]],contentQueries:function(e,t,i){var n;(1&e&&u.Suo(i,m,5),2&e)&&(u.iGM(n=u.CRH())&&(t.stepLabel=n.first))},viewQuery:function(e,t){var i;(1&e&&u.Gf(u.Rgc,7),2&e)&&(u.iGM(i=u.CRH())&&(t.content=i.first))},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[u.TTD],ngContentSelectors:g,decls:1,vars:0,template:function(e,t){1&e&&(u.F$t(),u.YNc(0,p,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),e}(),w=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._dir=t,this._changeDetectorRef=i,this._elementRef=n,this._destroyed=new l.xQ,this.steps=new u.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new u.vpe,this._orientation="horizontal",this._groupId=y++,this._document=r}return _createClass(e,[{key:"linear",get:function(){return this._linear},set:function(e){this._linear=(0,a.Ig)(e)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){var t,i=(0,a.su)(e);this.steps&&this._steps?(this._isValidIndex(e),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=i}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}},{key:"orientation",get:function(){return this._orientation},set:function(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._steps.changes.pipe((0,d.O)(this._steps),(0,f.R)(this._destroyed)).subscribe(function(t){e.steps.reset(t.filter(function(t){return t._stepper===e})),e.steps.notifyOnChanges()})}},{key:"ngAfterViewInit",value:function(){var e=this;this._keyManager=new r.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,h.of)()).pipe((0,d.O)(this._layoutDirection()),(0,f.R)(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(function(){e.selected||(e._selectedIndex=Math.max(e._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}},{key:"ngOnDestroy",value:function(){this.steps.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"next",value:function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}},{key:"previous",value:function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}},{key:"reset",value:function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(e){return e.reset()}),this._stateChanged()}},{key:"_getStepLabelId",value:function(e){return"cdk-step-label-".concat(this._groupId,"-").concat(e)}},{key:"_getStepContentId",value:function(e){return"cdk-step-content-".concat(this._groupId,"-").concat(e)}},{key:"_stateChanged",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getAnimationDirection",value:function(e){var t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}},{key:"_getIndicatorType",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",i=this.steps.toArray()[e],n=this._isCurrentStep(e);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,t)}},{key:"_getDefaultIndicatorLogic",value:function(e,t){return e._showError&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}},{key:"_getGuidelineLogic",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"number";return e._showError&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?i:e.editable&&t?"edit":i}},{key:"_isCurrentStep",value:function(e){return this._selectedIndex===e}},{key:"_getFocusIndex",value:function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}},{key:"_updateSelectedItemIndex",value:function(e){var 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()}},{key:"_onKeydown",value:function(e){var t=(0,s.Vb)(e),i=e.keyCode,n=this._keyManager;null==n.activeItemIndex||t||i!==s.L_&&i!==s.K5?n.onKeydown(e):(this.selectedIndex=n.activeItemIndex,e.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(function(e){var t=e.stepControl;return(t?t.invalid||t.pending||!e.interacted:!e.completed)&&!e.optional&&!e._completedOverride})}},{key:"_layoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}},{key:"_isValidIndex",value:function(e){return e>-1&&(!this.steps||e *",(0,P.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,P.X$)("verticalStepTransition",[(0,P.SB)("previous",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("next",(0,P.oB)({height:"0px",visibility:"hidden"})),(0,P.SB)("current",(0,P.oB)({height:"*",visibility:"inherit"})),(0,P.eR)("* <=> current",(0,P.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},oe=function(){var e=function e(t){_classCallCheck(this,e),this.templateRef=t};return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.Rgc))},e.\u0275dir=u.lG2({type:e,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),e}(),ae=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.Rgc))},e.\u0275dir=u.lG2({type:e,selectors:[["ng-template","matStepContent",""]]}),e}(),se=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,o))._errorStateMatcher=n,a._viewContainerRef=r,a._isSelected=I.w.EMPTY,a}return _createClass(i,[{key:"ngAfterContentInit",value:function(){var e=this;this._isSelected=this._stepper.steps.changes.pipe((0,R.w)(function(){return e._stepper.selectionChange.pipe((0,x.U)(function(t){return t.selectedStep===e}),(0,d.O)(e._stepper.selected===e))})).subscribe(function(t){t&&e._lazyContent&&!e._portal&&(e._portal=new n.UE(e._lazyContent._template,e._viewContainerRef))})}},{key:"ngOnDestroy",value:function(){this._isSelected.unsubscribe()}},{key:"isErrorState",value:function(e,t){return this._errorStateMatcher.isErrorState(e,t)||!!(e&&e.invalid&&this.interacted)}}]),i}(b);return e.\u0275fac=function(t){return new(t||e)(u.Y36((0,u.Gpc)(function(){return he})),u.Y36(E.rD,4),u.Y36(u.s_b),u.Y36(_,8))},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-step"]],contentQueries:function(e,t,i){var n;(1&e&&(u.Suo(i,X,5),u.Suo(i,ae,5)),2&e)&&(u.iGM(n=u.CRH())&&(t.stepLabel=n.first),u.iGM(n=u.CRH())&&(t._lazyContent=n.first))},inputs:{color:"color"},exportAs:["matStep"],features:[u._Bn([{provide:E.rD,useExisting:e},{provide:b,useExisting:e}]),u.qOj],ngContentSelectors:U,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(u.F$t(),u.YNc(0,H,2,1,"ng-template"))},directives:[n.Pl],encapsulation:2,changeDetection:0}),e}(),ce=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(w);return t.\u0275fac=function(i){return(e||(e=u.n5z(t)))(i||t)},t.\u0275dir=u.lG2({type:t,features:[u.qOj]}),t}(),ue=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(ce);return t.\u0275fac=function(i){return(e||(e=u.n5z(t)))(i||t)},t.\u0275dir=u.lG2({type:t,selectors:[["mat-horizontal-stepper"]],features:[u.qOj]}),t}(),le=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(ce);return t.\u0275fac=function(i){return(e||(e=u.n5z(t)))(i||t)},t.\u0275dir=u.lG2({type:t,selectors:[["mat-vertical-stepper"]],features:[u.qOj]}),t}(),he=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;_classCallCheck(this,i),(a=t.call(this,e,n,r,o)).steps=new u.n_E,a.animationDone=new u.vpe,a.labelPosition="end",a._iconOverrides={},a._animationDone=new l.xQ;var s=r.nativeElement.nodeName.toLowerCase();return a.orientation="mat-vertical-stepper"===s?"vertical":"horizontal",a}return _createClass(i,[{key:"ngAfterContentInit",value:function(){var e=this;_get(_getPrototypeOf(i.prototype),"ngAfterContentInit",this).call(this),this._icons.forEach(function(t){var i=t.name,n=t.templateRef;return e._iconOverrides[i]=n}),this.steps.changes.pipe((0,f.R)(this._destroyed)).subscribe(function(){e._stateChanged()}),this._animationDone.pipe((0,O.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}),(0,f.R)(this._destroyed)).subscribe(function(t){"current"===t.toState&&e.animationDone.emit()})}}]),i}(w);return e.\u0275fac=function(t){return new(t||e)(u.Y36(o.Is,8),u.Y36(u.sBO),u.Y36(u.SBq),u.Y36(c.K0))},e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,i){var n;(1&e&&(u.Suo(i,se,5),u.Suo(i,oe,5)),2&e)&&(u.iGM(n=u.CRH())&&(t._steps=n),u.iGM(n=u.CRH())&&(t._icons=n))},viewQuery:function(e,t){var i;(1&e&&u.Gf(ne,5),2&e)&&(u.iGM(i=u.CRH())&&(t._stepHeader=i))},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(e,t){2&e&&(u.uIk("aria-orientation",t.orientation),u.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",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[u._Bn([{provide:w,useExisting:e},{provide:ue,useExisting:e},{provide:le,useExisting:e}]),u.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&&(u.ynx(0,0),u.YNc(1,V,5,2,"ng-container",1),u.YNc(2,Q,2,1,"ng-container",1),u.BQk(),u.YNc(3,W,1,22,"ng-template",null,2,u.W1O)),2&e&&(u.Q6J("ngSwitch",t.orientation),u.xp6(1),u.Q6J("ngSwitchCase","horizontal"),u.xp6(1),u.Q6J("ngSwitchCase","vertical"))},directives:[c.RF,c.n9,c.sg,c.tP,c.O5,ne],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[re.horizontalStepTransition,re.verticalStepTransition]},changeDetection:0}),e}(),de=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(A);return t.\u0275fac=function(i){return(e||(e=u.n5z(t)))(i||t)},t.\u0275dir=u.lG2({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("type",t.type)},inputs:{type:"type"},features:[u.qOj]}),t}(),fe=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(k);return t.\u0275fac=function(i){return(e||(e=u.n5z(t)))(i||t)},t.\u0275dir=u.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("type",t.type)},inputs:{type:"type"},features:[u.qOj]}),t}(),pe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({providers:[ee,E.rD],imports:[[E.BQ,c.ez,n.eL,T.ot,C,S.Ps,E.si],E.BQ]}),e}()},67033:function(e,t,i){"use strict";i.d(t,{ev:function(){return ue},Dz:function(){return oe},w1:function(){return se},ge:function(){return ce},fO:function(){return ae},XQ:function(){return de},as:function(){return le},Gk:function(){return fe},nj:function(){return he},BZ:function(){return re},by:function(){return ge},p0:function(){return pe}});var n=i(19861),r=i(4230),o=i(31572),a=i(22526),s=i(11353),c=i(4253),u=i(61511),l=i(55959),h=i(19764),d=i(78512),f=i(4710),p=i(40878),g=i(25416),v=i(90611),m=[[["caption"]],[["colgroup"],["col"]]],y=["caption","colgroup, col"];function _(e){return function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var n=arguments.length,r=new Array(n),o=0;o4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._isNativeHtmlTable=t,this._stickCellCss=i,this.direction=n,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(i,"-border-elem-top"),bottom:"".concat(i,"-border-elem-bottom"),left:"".concat(i,"-border-elem-left"),right:"".concat(i,"-border-elem-right")}}return _createClass(e,[{key:"clearStickyPositioning",value:function(e,t){var i,n=this,r=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a.nodeType===a.ELEMENT_NODE){r.push(a);for(var s=0;s3&&void 0!==arguments[3])||arguments[3];if(e.length&&this._isBrowser&&(t.some(function(e){return e})||i.some(function(e){return e}))){var o=e[0],a=o.children.length,s=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(s,t),u=this._getStickyEndColumnPositions(s,i),l=t.lastIndexOf(!0),h=i.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var r,o="rtl"===n.direction,d=o?"right":"left",f=o?"left":"right",p=_createForOfIteratorHelper(e);try{for(p.s();!(r=p.n()).done;)for(var g=r.value,v=0;v1&&void 0!==arguments[1])||arguments[1];if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var i=[],n=e.children,r=0;r0;r--)t[r]&&(i[r]=n,n+=e[r]);return i}}]),e}(),G=new o.OlP("CDK_SPL"),j=function(){var e=function e(t,i){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=i};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.s_b),o.Y36(o.SBq))},e.\u0275dir=o.lG2({type:e,selectors:[["","rowOutlet",""]]}),e}(),Y=function(){var e=function e(t,i){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=i};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.s_b),o.Y36(o.SBq))},e.\u0275dir=o.lG2({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),K=function(){var e=function e(t,i){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=i};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.s_b),o.Y36(o.SBq))},e.\u0275dir=o.lG2({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),V=function(){var e=function e(t,i){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=i};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.s_b),o.Y36(o.SBq))},e.\u0275dir=o.lG2({type:e,selectors:[["","noDataRowOutlet",""]]}),e}(),J=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,h,f){_classCallCheck(this,e),this._differs=t,this._changeDetectorRef=i,this._elementRef=n,this._dir=o,this._platform=s,this._viewRepeater=c,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._onDestroy=new l.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return _createClass(e,[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=(0,n.Ig)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(e){this._fixedLayout=(0,n.Ig)(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(t,i){return e.trackBy?e.trackBy(i.dataIndex,i.data):i}),this._viewportRuler.change().pipe((0,g.R)(this._onDestroy)).subscribe(function(){e._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,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()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,r.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,function(t,i,n){return e._getEmbeddedViewArgs(t.item,n)},function(e){return e.item.data},function(t){1===t.operation&&t.context&&e._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(function(e){i.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(e){this._customNoDataRow=e}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var i=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var i=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(t),_toConsumableArray(i),_toConsumableArray(n)),["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach(function(t,i){e._addStickyColumnStyles([t],e._headerRowDefs[i])}),this._rowDefs.forEach(function(t){for(var n=[],r=0;r0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(t,i){return e._renderRow(e._headerRowOutlet,t,i)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(t,i){return e._renderRow(e._footerRowOutlet,t,i)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var i=this,n=Array.from(t.columns||[]).map(function(e){return i._columnDefsByName.get(e)}),r=n.map(function(e){return e.sticky}),o=n.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,r,o,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(e){for(var t=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{},r=e.viewContainer.createEmbeddedView(t.template,n,i);return this._renderCellTemplateForItem(t,n),r}},{key:"_renderCellTemplateForItem",value:function(e,t){var i,n=_createForOfIteratorHelper(this._getCellTemplates(e));try{for(n.s();!(i=n.n()).done;){var r=i.value;Z.mostRecentCellOutlet&&Z.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t)}}catch(o){n.e(o)}finally{n.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,i=e.length;t0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,i),(e=t.call(this))._renderData=new d.X([]),e._filter=new d.X(""),e._internalPageChanges=new l.xQ,e._renderChangesSubscription=null,e.sortingDataAccessor=function(e,t){var i=e[t];if((0,n.t6)(i)){var r=Number(i);return r<9007199254740991?r:i}return i},e.sortData=function(t,i){var n=i.active,r=i.direction;return n&&""!=r?t.sort(function(t,i){var o=e.sortingDataAccessor(t,n),a=e.sortingDataAccessor(i,n),s=typeof o,c=typeof a;s!==c&&("number"===s&&(o+=""),"number"===c&&(a+=""));var u=0;return null!=o&&null!=a?o>a?u=1:o0)){var n=Math.ceil(i.length/i.pageSize)-1||0,r=Math.min(i.pageIndex,n);r!==i.pageIndex&&(i.pageIndex=r,t._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var e;null===(e=this._renderChangesSubscription)||void 0===e||e.unsubscribe(),this._renderChangesSubscription=null}}]),i}(r.o2))},55109:function(e,t,i){"use strict";i.d(t,{uX:function(){return J},Vc:function(){return G},SP:function(){return oe},uD:function(){return Y},Nh:function(){return de}});var n=i(24621),r=i(36337),o=i(26899),a=i(61511),s=i(31572),c=i(71522),u=i(43490),l=i(55959),h=i(87570),d=i(31906),f=i(87254),p=i(40878),g=i(81110),v=i(10709),m=i(56238),y=i(98720),_=i(25416),b=i(19861),w=i(11353),A=i(75842),k=i(22526),C=i(4253);function T(e,t){1&e&&s.Hsn(0)}var E=["*"];function S(e,t){}var I=function(e){return{animationDuration:e}},R=function(e,t){return{value:e,params:t}},x=["tabBodyWrapper"],O=["tabHeader"];function P(e,t){}function D(e,t){if(1&e&&s.YNc(0,P,0,0,"ng-template",9),2&e){var i=s.oxw().$implicit;s.Q6J("cdkPortalOutlet",i.templateLabel)}}function M(e,t){if(1&e&&s._uU(0),2&e){var i=s.oxw().$implicit;s.Oqu(i.textLabel)}}function L(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){var e=s.CHM(i),t=e.$implicit,n=e.index,r=s.oxw(),o=s.MAs(1);return r._handleClick(t,o,n)})("cdkFocusChange",function(e){var t=s.CHM(i).index;return s.oxw()._tabFocusChanged(e,t)}),s.TgZ(1,"div",7),s.YNc(2,D,1,1,"ng-template",8),s.YNc(3,M,1,1,"ng-template",8),s.qZA(),s.qZA()}if(2&e){var n=t.$implicit,r=t.index,o=s.oxw();s.ekj("mat-tab-label-active",o.selectedIndex==r),s.Q6J("id",o._getTabLabelId(r))("disabled",n.disabled)("matRippleDisabled",n.disabled||o.disableRipple),s.uIk("tabIndex",o._getTabIndex(n,r))("aria-posinset",r+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(r))("aria-selected",o.selectedIndex==r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),s.xp6(2),s.Q6J("ngIf",n.templateLabel),s.xp6(1),s.Q6J("ngIf",!n.templateLabel)}}function N(e,t){if(1&e){var i=s.EpF();s.TgZ(0,"mat-tab-body",10),s.NdJ("_onCentered",function(){return s.CHM(i),s.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return s.CHM(i),s.oxw()._setTabBodyWrapperHeight(e)}),s.qZA()}if(2&e){var n=t.$implicit,r=t.index,o=s.oxw();s.ekj("mat-tab-body-active",o.selectedIndex==r),s.Q6J("id",o._getTabContentId(r))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",o.animationDuration),s.uIk("aria-labelledby",o._getTabLabelId(r))}}var z=["tabListContainer"],Z=["tabList"],B=["nextPaginator"],F=["previousPaginator"],q=new s.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),H=function(){var e=function(){function e(t,i,n,r){_classCallCheck(this,e),this._elementRef=t,this._ngZone=i,this._inkBarPositioner=n,this._animationMode=r}return _createClass(e,[{key:"alignToElement",value:function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t._setStyles(e)})}):this._setStyles(e)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(e){var t=this._inkBarPositioner(e),i=this._elementRef.nativeElement;i.style.left=t.left,i.style.width=t.width}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(q),s.Y36(u.Qb,8))},e.\u0275dir=s.lG2({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e}(),U=new s.OlP("MatTabContent"),G=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.Rgc))},e.\u0275dir=s.lG2({type:e,selectors:[["","matTabContent",""]],features:[s._Bn([{provide:U,useExisting:e}])]}),e}(),j=new s.OlP("MatTabLabel"),Y=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(o.ig);return t.\u0275fac=function(i){return(e||(e=s.n5z(t)))(i||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s._Bn([{provide:j,useExisting:t}]),s.qOj]}),t}(),K=(0,c.Id)(function e(){_classCallCheck(this,e)}),V=new s.OlP("MAT_TAB_GROUP"),J=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this))._viewContainerRef=e,r._closestTabGroup=n,r.textLabel="",r._contentPortal=null,r._stateChanges=new l.xQ,r.position=null,r.origin=null,r.isActive=!1,r}return _createClass(i,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(e){this._setTemplateLabelInput(e)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new o.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(e){e&&(this._templateLabel=e)}}]),i}(K);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.s_b),s.Y36(V,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,i){var n;(1&e&&(s.Suo(i,j,5),s.Suo(i,U,7,s.Rgc)),2&e)&&(s.iGM(n=s.CRH())&&(t.templateLabel=n.first),s.iGM(n=s.CRH())&&(t._explicitContent=n.first))},viewQuery:function(e,t){var i;(1&e&&s.Gf(s.Rgc,7),2&e)&&(s.iGM(i=s.CRH())&&(t._implicitContent=i.first))},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.qOj,s.TTD],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(s.F$t(),s.YNc(0,T,1,0,"ng-template"))},encapsulation:2}),e}(),Q={translateTab:(0,v.X$)("translateTab",[(0,v.SB)("center, void, left-origin-center, right-origin-center",(0,v.oB)({transform:"none"})),(0,v.SB)("left",(0,v.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,v.SB)("right",(0,v.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,v.eR)("* => left, * => right, left => center, right => center",(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,v.eR)("void => left-origin-center",[(0,v.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,v.eR)("void => right-origin-center",[(0,v.oB)({transform:"translate3d(100%, 0, 0)"}),(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},W=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n,o))._host=r,a._centeringSub=h.w.EMPTY,a._leavingSub=h.w.EMPTY,a}return _createClass(i,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe((0,m.O)(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),i}(o.Pl);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36((0,s.Gpc)(function(){return $})),s.Y36(a.K0))},e.\u0275dir=s.lG2({type:e,selectors:[["","matTabBodyHost",""]],features:[s.qOj]}),e}(),X=function(){var e=function(){function e(t,i,n){var r=this;_classCallCheck(this,e),this._elementRef=t,this._dir=i,this._dirChangeSubscription=h.w.EMPTY,this._translateTabComplete=new l.xQ,this._onCentering=new s.vpe,this._beforeCentering=new s.vpe,this._afterLeavingCenter=new s.vpe,this._onCentered=new s.vpe(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(function(e){r._computePositionAnimationState(e),n.markForCheck()})),this._translateTabComplete.pipe((0,y.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){r._isCenterPosition(e.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(e.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return _createClass(e,[{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(k.Is,8),s.Y36(s.sBO))},e.\u0275dir=s.lG2({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),$=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){return _classCallCheck(this,i),t.call(this,e,n,r)}return i}(X);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(k.Is,8),s.Y36(s.sBO))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var i;(1&e&&s.Gf(o.Pl,5),2&e)&&(s.iGM(i=s.CRH())&&(t._portalHost=i.first))},hostAttrs:[1,"mat-tab-body"],features:[s.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(s.TgZ(0,"div",0,1),s.NdJ("@translateTab.start",function(e){return t._onTranslateTabStarted(e)})("@translateTab.done",function(e){return t._translateTabComplete.next(e)}),s.YNc(2,S,0,0,"ng-template",2),s.qZA()),2&e&&s.Q6J("@translateTab",s.WLB(3,R,t._position,s.VKq(1,I,t.animationDuration)))},directives:[W],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[Q.translateTab]}}),e}(),ee=new s.OlP("MAT_TABS_CONFIG"),te=0,ie=function e(){_classCallCheck(this,e)},ne=(0,c.pj)((0,c.Kr)(function e(t){_classCallCheck(this,e),this._elementRef=t}),"primary"),re=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e))._changeDetectorRef=n,a._animationMode=o,a._tabs=new s.n_E,a._indexToSelect=0,a._tabBodyWrapperHeight=0,a._tabsSubscription=h.w.EMPTY,a._tabLabelSubscription=h.w.EMPTY,a._selectedIndex=null,a.headerPosition="above",a.selectedIndexChange=new s.vpe,a.focusChange=new s.vpe,a.animationDone=new s.vpe,a.selectedTabChange=new s.vpe(!0),a._groupId=te++,a.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",a.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,a.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,a}return _createClass(i,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=(0,b.Ig)(e)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=(0,b.su)(e,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-".concat(this.backgroundColor)),e&&t.classList.add("mat-background-".concat(e)),this._backgroundColor=e}},{key:"ngAfterContentChecked",value:function(){var e=this,t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){var i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(t));var n=this._tabBodyWrapper.nativeElement;n.style.minHeight=n.clientHeight+"px"}Promise.resolve().then(function(){e._tabs.forEach(function(e,i){return e.isActive=i===t}),i||(e.selectedIndexChange.emit(t),e._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(i,n){i.position=n-t,null==e._selectedIndex||0!=i.position||i.origin||(i.origin=t-e._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var e=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(e._clampTabIndex(e._indexToSelect)===e._selectedIndex)for(var t=e._tabs.toArray(),i=0;i.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;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}),e}(),ae=(0,c.Id)(function e(){_classCallCheck(this,e)}),se=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this)).elementRef=e,n}return _createClass(i,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),i}(ae);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq))},e.\u0275dir=s.lG2({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(s.uIk("aria-disabled",!!t.disabled),s.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[s.qOj]}),e}(),ce=(0,w.i$)({passive:!0}),ue=function(){var e=function(){function e(t,i,n,r,o,a,c){var u=this;_classCallCheck(this,e),this._elementRef=t,this._changeDetectorRef=i,this._viewportRuler=n,this._dir=r,this._ngZone=o,this._platform=a,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.vpe,this.indexFocused=new s.vpe,o.runOutsideAngular(function(){(0,f.R)(t.nativeElement,"mouseleave").pipe((0,_.R)(u._destroyed)).subscribe(function(){u._stopInterval()})})}return _createClass(e,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){e=(0,b.su)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}},{key:"ngAfterViewInit",value:function(){var e=this;(0,f.R)(this._previousPaginator.nativeElement,"touchstart",ce).pipe((0,_.R)(this._destroyed)).subscribe(function(){e._handlePaginatorPress("before")}),(0,f.R)(this._nextPaginator.nativeElement,"touchstart",ce).pipe((0,_.R)(this._destroyed)).subscribe(function(){e._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var e=this,t=this._dir?this._dir.change:(0,p.of)("ltr"),i=this._viewportRuler.change(150),r=function(){e.updatePagination(),e._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),(0,d.T)(t,i,this._items.changes).pipe((0,_.R)(this._destroyed)).subscribe(function(){e._ngZone.run(function(){return Promise.resolve().then(r)}),e._keyManager.withHorizontalOrientation(e._getLayoutDirection())}),this._keyManager.change.pipe((0,_.R)(this._destroyed)).subscribe(function(t){e.indexFocused.emit(t),e._setTabFocus(t)})}},{key:"ngAfterContentChecked",value:function(){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())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!(0,A.Vb)(e))switch(e.keyCode){case A.K5:case A.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}},{key:"_isValidIndex",value:function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,i=this._getLayoutDirection();t.scrollLeft="ltr"==i?0:t.scrollWidth-t.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(t),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var t=this._items?this._items.toArray()[e]:null;if(t){var i,n,r=this._tabListContainer.nativeElement.offsetWidth,o=t.elementRef.nativeElement,a=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?n=(i=a)+s:i=(n=this._tabList.nativeElement.offsetWidth-a)-s;var c=this.scrollDistance,u=this.scrollDistance+r;iu&&(this.scrollDistance+=n-u+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var 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()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,t){var i=this;t&&null!=t.button&&0!==t.button||(this._stopInterval(),(0,g.H)(650,100).pipe((0,_.R)((0,d.T)(this._stopScrolling,this._destroyed))).subscribe(function(){var t=i._scrollHeader(e),n=t.maxScrollDistance,r=t.distance;(0===r||r>=n)&&i._stopInterval()}))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(C.rL),s.Y36(k.Is,8),s.Y36(s.R0b),s.Y36(w.t4),s.Y36(u.Qb,8))},e.\u0275dir=s.lG2({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),le=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,c){var u;return _classCallCheck(this,i),(u=t.call(this,e,n,r,o,a,s,c))._disableRipple=!1,u}return _createClass(i,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=(0,b.Ig)(e)}},{key:"_itemSelected",value:function(e){e.preventDefault()}}]),i}(ue);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(C.rL),s.Y36(k.Is,8),s.Y36(s.R0b),s.Y36(w.t4),s.Y36(u.Qb,8))},e.\u0275dir=s.lG2({type:e,inputs:{disableRipple:"disableRipple"},features:[s.qOj]}),e}(),he=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,c){return _classCallCheck(this,i),t.call(this,e,n,r,o,a,s,c)}return i}(le);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(C.rL),s.Y36(k.Is,8),s.Y36(s.R0b),s.Y36(w.t4),s.Y36(u.Qb,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,i){var n;(1&e&&s.Suo(i,se,4),2&e)&&(s.iGM(n=s.CRH())&&(t._items=n))},viewQuery:function(e,t){var i;(1&e&&(s.Gf(H,7),s.Gf(z,7),s.Gf(Z,7),s.Gf(B,5),s.Gf(F,5)),2&e)&&(s.iGM(i=s.CRH())&&(t._inkBar=i.first),s.iGM(i=s.CRH())&&(t._tabListContainer=i.first),s.iGM(i=s.CRH())&&(t._tabList=i.first),s.iGM(i=s.CRH())&&(t._nextPaginator=i.first),s.iGM(i=s.CRH())&&(t._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&s.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:[s.qOj],ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(e){return t._handlePaginatorPress("before",e)})("touchend",function(){return t._stopInterval()}),s._UZ(2,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.NdJ("keydown",function(e){return t._handleKeydown(e)}),s.TgZ(5,"div",5,6),s.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),s.TgZ(7,"div",7),s.Hsn(8),s.qZA(),s._UZ(9,"mat-ink-bar"),s.qZA(),s.qZA(),s.TgZ(10,"div",8,9),s.NdJ("mousedown",function(e){return t._handlePaginatorPress("after",e)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),s._UZ(12,"div",2),s.qZA()),2&e&&(s.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),s.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),s.xp6(5),s.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),s.xp6(5),s.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),s.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[c.wG,r.wD,H],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),e}(),de=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[a.ez,c.BQ,o.eL,c.si,r.Q8,n.rt],c.BQ]}),e}()},36922:function(e,t,i){"use strict";i.d(t,{gM:function(){return B},AV:function(){return H}});var n,r=i(2522),o=i(24621),a=i(61511),s=i(31572),c=i(71522),u=i(4253),l=i(19861),h=i(75842),d=i(55959),f=i(31305),p=i(47930),g=i(48318),v=i(90611),m=i(96673),y=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new _(e,this.total))}}]),e}(),_=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).total=n,r.count=0,r}return _createClass(i,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),i}(m.L),b=i(47701),w=i(79996),A=i(56238),k=i(25416),C=i(11353),T=new Set,E=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):S}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!T.has(e))try{n||((n=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(n)),n.sheet&&(n.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),T.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(C.t4))},e.\u0275prov=s.Yz7({factory:function(){return new e(s.LFG(C.t4))},token:e,providedIn:"root"}),e}();function S(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var I=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new d.xQ}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return R((0,l.Eq)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,i=R((0,l.Eq)(e)).map(function(e){return t._registerQuery(e).observable}),n=(0,f.aj)(i);return(n=(0,p.z)(n.pipe((0,v.q)(1)),n.pipe(function(e){return e.lift(new y(1))},(0,b.b)(0)))).pipe((0,w.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var i=e.matches,n=e.query;t.matches=t.matches||i,t.breakpoints[n]=i}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var i=this._mediaMatcher.matchMedia(e),n={observable:new g.y(function(e){var n=function(i){return t._zone.run(function(){return e.next(i)})};return i.addListener(n),function(){i.removeListener(n)}}).pipe((0,A.O)(i),(0,w.U)(function(t){var i=t.matches;return{query:e,matches:i}}),(0,k.R)(this._destroySubject)),mql:i};return this._queries.set(e,n),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(E),s.LFG(s.R0b))},e.\u0275prov=s.Yz7({factory:function(){return new e(s.LFG(E),s.LFG(s.R0b))},token:e,providedIn:"root"}),e}();function R(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var x=i(26899),O=i(10709),P=i(22526),D={tooltipState:(0,O.X$)("state",[(0,O.SB)("initial, void, hidden",(0,O.oB)({opacity:0,transform:"scale(0)"})),(0,O.SB)("visible",(0,O.oB)({transform:"scale(1)"})),(0,O.eR)("* => visible",(0,O.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,O.F4)([(0,O.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,O.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,O.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,O.eR)("* => hidden",(0,O.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({opacity:0})))])},M=(0,C.i$)({passive:!0}),L=new s.OlP("mat-tooltip-scroll-strategy"),N={provide:L,deps:[r.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},z=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Z=function(){var e=function(){function e(t,i,n,r,o,a,s,c,u,l,f,p){var g=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=i,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=c,this._dir=l,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 d.xQ,this._handleKeydown=function(e){g._isTooltipVisible()&&e.keyCode===h.hY&&!(0,h.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),g._ngZone.run(function(){return g.hide(0)}))},this._scrollStrategy=u,this._document=p,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),l.change.pipe((0,k.R)(this._destroyed)).subscribe(function(){g._overlayRef&&g._updatePosition(g._overlayRef)}),o.runOutsideAngular(function(){i.nativeElement.addEventListener("keydown",g._handleKeydown)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(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()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,l.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;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(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,k.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var i=_slicedToArray(t,2),n=i[0],r=i[1];e.removeEventListener(n,r,M)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var i=this._createOverlay();this._detach(),this._portal=this._portal||new x.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,k.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return i.positionChanges.pipe((0,k.R)(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,k.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,i=this.position;"above"==i||"below"==i?e={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?e={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(e={originX:"end",originY:"center"});var n=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:n.x,originY:n.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,i=this.position;"above"==i?e={overlayX:"center",overlayY:"bottom"}:"below"==i?e={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?e={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(e={overlayX:"start",overlayY:"center"});var n=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:n.x,overlayY:n.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.q)(1),(0,k.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(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}}},{key:"_updateCurrentPositionClass",value:function(e){var t,i=e.overlayY,n=e.originX,r=e.originY;if((t="center"===i?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===i&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-tooltip-panel-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var n=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};i.push(["touchend",n],["touchcancel",n])}this._addListeners(i),(e=this._passiveListeners).push.apply(e,i)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var i=_slicedToArray(e,2),n=i[0],r=i[1];t._elementRef.nativeElement.addEventListener(n,r,M)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),i=this._elementRef.nativeElement;t===i||i.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,i=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==e&&t.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(r.aV),s.Y36(s.SBq),s.Y36(u.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(C.t4),s.Y36(o.$s),s.Y36(o.tE),s.Y36(void 0),s.Y36(P.Is),s.Y36(void 0),s.Y36(a.K0))},e.\u0275dir=s.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),B=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,c,u,l,h,d,f){var p;return _classCallCheck(this,i),(p=t.call(this,e,n,r,o,a,s,c,u,l,h,d,f))._tooltipComponent=q,p}return i}(Z);return e.\u0275fac=function(t){return new(t||e)(s.Y36(r.aV),s.Y36(s.SBq),s.Y36(u.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(C.t4),s.Y36(o.$s),s.Y36(o.tE),s.Y36(L),s.Y36(P.Is,8),s.Y36(z,8),s.Y36(a.K0))},e.\u0275dir=s.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),e}(),F=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new d.xQ}return _createClass(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.sBO))},e.\u0275dir=s.lG2({type:e}),e}(),q=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e))._breakpointObserver=n,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return i}(F);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.sBO),s.Y36(I))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&s.NdJ("click",function(){return t._handleBodyInteraction()},!1,s.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,s.pYS),2&e&&s.Udp("zoom","visible"===t._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var i;(1&e&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&e)&&(s.ekj("mat-tooltip-handset",null==(i=s.lcZ(1,5,t._isHandset))?null:i.matches),s.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),s.xp6(2),s.Oqu(t.message))},directives:[a.mk],pipes:[a.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[D.tooltipState]},changeDetection:0}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[N],imports:[[o.rt,a.ez,r.U8,c.BQ],c.BQ,u.ZD]}),e}()},91010:function(e,t,i){"use strict";i.d(t,{GZ:function(){return g},gi:function(){return m},kc:function(){return w},JZ:function(){return b},dp:function(){return _},WX:function(){return A},uo:function(){return f},fQ:function(){return p},Ar:function(){return v},eu:function(){return y}});var n=i(71709),r=i(71522),o=i(19861),a=i(4230),s=i(78512),c=i(31906),u=i(90611),l=i(79996),h=i(31572),d=(0,r.sb)((0,r.Id)(n.Hs)),f=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e,n))._elementRef=e,o._tree=n,o.tabIndex=Number(r)||0,o._elementRef.nativeElement.classList.add("mat-tree-node"),o}return _createClass(i,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){_get(_getPrototypeOf(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this)}}]),i}(d);return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(n._0),h.$8M("tabindex"))},e.\u0275dir=h.lG2({type:e,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[h._Bn([{provide:n.Hs,useExisting:e}]),h.qOj]}),e}(),p=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(n.rO);return t.\u0275fac=function(i){return(e||(e=h.n5z(t)))(i||t)},t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[h._Bn([{provide:n.rO,useExisting:t}]),h.qOj]}),t}(),g=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n,r))._elementRef=e,a._tree=n,a._differs=r,a._disabled=!1,a.tabIndex=Number(o)||0,a._elementRef.nativeElement.classList.add("mat-nested-tree-node"),a}return _createClass(i,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,o.Ig)(e)}},{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:0}},{key:"ngOnInit",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){_get(_getPrototypeOf(i.prototype),"ngDoCheck",this).call(this)}},{key:"ngAfterContentInit",value:function(){_get(_getPrototypeOf(i.prototype),"ngAfterContentInit",this).call(this)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(i.prototype),"ngOnDestroy",this).call(this)}}]),i}(n.Xx);return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(n._0),h.Y36(h.ZZ4),h.$8M("tabindex"))},e.\u0275dir=h.lG2({type:e,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[h._Bn([{provide:n.Xx,useExisting:e},{provide:n.Hs,useExisting:e},{provide:n.HI,useExisting:e}]),h.qOj]}),e}(),v=function(){var e=function e(t,i){_classCallCheck(this,e),this.viewContainer=t,this._node=i};return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.s_b),h.Y36(n.HI,8))},e.\u0275dir=h.lG2({type:e,selectors:[["","matTreeNodeOutlet",""]],features:[h._Bn([{provide:n.cu,useExisting:e}])]}),e}(),m=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(n._0);return t.\u0275fac=function(i){return(e||(e=h.n5z(t)))(i||t)},t.\u0275cmp=h.Xpm({type:t,selectors:[["mat-tree"]],viewQuery:function(e,t){var i;(1&e&&h.Gf(v,7),2&e)&&(h.iGM(i=h.CRH())&&(t._nodeOutlet=i.first))},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[h._Bn([{provide:n._0,useExisting:t}]),h.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,t){1&e&&h.GkF(0,0)},directives:[v],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}),t}(),y=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"recursive",get:function(){return this._recursive},set:function(e){this._recursive=(0,o.Ig)(e)}}]),i}(n.Ud);return t.\u0275fac=function(i){return(e||(e=h.n5z(t)))(i||t)},t.\u0275dir=h.lG2({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[h._Bn([{provide:n.Ud,useExisting:t}]),h.qOj]}),t}(),_=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({imports:[[n.nZ,r.BQ],r.BQ]}),e}(),b=function(){function e(t,i,n,r){_classCallCheck(this,e),this.transformFunction=t,this.getLevel=i,this.isExpandable=n,this.getChildren=r}return _createClass(e,[{key:"_flattenNode",value:function(e,t,i,n){var r=this,o=this.transformFunction(e,t);if(i.push(o),this.isExpandable(o)){var a=this.getChildren(e);a&&(Array.isArray(a)?this._flattenChildren(a,t,i,n):a.pipe((0,u.q)(1)).subscribe(function(e){r._flattenChildren(e,t,i,n)}))}return i}},{key:"_flattenChildren",value:function(e,t,i,n){var r=this;e.forEach(function(o,a){var s=n.slice();s.push(a!=e.length-1),r._flattenNode(o,t+1,i,s)})}},{key:"flattenNodes",value:function(e){var t=this,i=[];return e.forEach(function(e){return t._flattenNode(e,0,i,[])}),i}},{key:"expandFlattenedNodes",value:function(e,t){var i=this,n=[],r=[];return r[0]=!0,e.forEach(function(e){for(var o=!0,a=0;a<=i.getLevel(e);a++)o=o&&r[a];o&&n.push(e),i.isExpandable(e)&&(r[i.getLevel(e)+1]=t.isExpanded(e))}),n}}]),e}(),w=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this))._treeControl=e,o._treeFlattener=n,o._flattenedData=new s.X([]),o._expandedData=new s.X([]),o._data=new s.X([]),r&&(o.data=r),o}return _createClass(i,[{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}},{key:"connect",value:function(e){var t=this;return(0,c.T)(e.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,l.U)(function(){return t._expandedData.next(t._treeFlattener.expandFlattenedNodes(t._flattenedData.value,t._treeControl)),t._expandedData.value}))}},{key:"disconnect",value:function(){}}]),i}(a.o2),A=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments))._data=new s.X([]),e}return _createClass(i,[{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"connect",value:function(e){var t=this;return(0,c.T)(e.viewChange,this._data).pipe((0,l.U)(function(){return t.data}))}},{key:"disconnect",value:function(){}}]),i}(a.o2)},43490:function(e,t,i){"use strict";i.d(t,{Qb:function(){return yt},PW:function(){return At}});var n=i(31572),r=i(30269),o=i(10709);function a(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function c(e){switch(e.length){case 0:return new o.ZN;case 1:return e[0];default:return new o.ZE(e)}}function u(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],c=[],u=-1,l=null;if(n.forEach(function(e){var i=e.offset,n=i==u,h=n&&l||{};Object.keys(e).forEach(function(i){var n=i,c=e[i];if("offset"!==i)switch(n=t.normalizePropertyName(n,s),c){case o.k1:c=r[i];break;case o.l3:c=a[i];break;default:c=t.normalizeStyleValue(i,n,c,s)}h[n]=c}),n||c.push(h),l=h,u=i}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return c}function l(e,t,i,n){switch(t){case"start":e.onStart(function(){return n(i&&h(i,"start",e))});break;case"done":e.onDone(function(){return n(i&&h(i,"done",e))});break;case"destroy":e.onDestroy(function(){return n(i&&h(i,"destroy",e))})}}function h(e,t,i){var n=i.totalTime,r=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!i.disabled),o=e._data;return null!=o&&(r._data=o),r}function d(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function f(e,t,i){var n;return e instanceof Map?(n=e.get(t))||e.set(t,n=i):(n=e[t])||(n=e[t]=i),n}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var g=function(e,t){return!1},v=function(e,t){return!1},m=function(e,t,i){return[]},y=s();(y||"undefined"!=typeof Element)&&(g=a()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},v=function(){if(y||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,i){return t.apply(e,[i])}:v}(),m=function(e,t,i){var n=[];if(i)for(var r=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(i){t[i]=e[i]}),t}function P(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var n in e)i[n]=e[n];else O(e,i);return i}function D(e,t,i){return i?t+":"+i+";":""}function M(e){for(var t="",i=0;i *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,i);if("function"==typeof n)return void t.push(n);e=n}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return i.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(Q(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Q(s,o))}(e,r,n)}):r.push(i),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ie(e.options)}}},{key:"visitSequence",value:function(e,t){var i=this;return{type:2,steps:e.steps.map(function(e){return Y(i,e,t)}),options:ie(e.options)}}},{key:"visitGroup",value:function(e,t){var i=this,n=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=n;var o=Y(i,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:ie(e.options)}}},{key:"visitAnimate",value:function(e,t){var i,n=function(e,t){var i=null;if(e.hasOwnProperty("duration"))i=e;else if("number"==typeof e)return ne(x(e,t).duration,0,"");var n=e;if(n.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=ne(0,0,"");return r.dynamic=!0,r.strValue=n,r}return ne((i=i||x(n,t)).duration,i.delay,i.easing)}(e.timings,t.errors);t.currentAnimateTimings=n;var r=e.styles?e.styles:(0,o.oB)({});if(5==r.type)i=this.visitKeyframes(r,t);else{var a=e.styles,s=!1;if(!a){s=!0;var c={};n.easing&&(c.easing=n.easing),a=(0,o.oB)(c)}t.currentTime+=n.duration+n.delay;var u=this.visitStyle(a,t);u.isEmptyStep=s,i=u}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(e,t){var i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}},{key:"_makeStyleAst",value:function(e,t){var i=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==o.l3?i.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):i.push(e)}):i.push(e.styles);var n=!1,r=null;return i.forEach(function(e){if(te(e)){var t=e,i=t.easing;if(i&&(r=i,delete t.easing),!n)for(var o in t)if(t[o].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:r,offset:e.offset,containsDynamicStyles:n,options:null}}},{key:"_validateStyleAst",value:function(e,t){var i=this,n=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(n){if(i._driver.validateStyleProperty(n)){var a,s,c,u,l,h=t.collectedStyles[t.currentQuerySelector],d=h[n],f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push('The CSS property "'.concat(n,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),f=!1),o=d.startTime),f&&(h[n]={startTime:o,endTime:r}),t.options&&(a=e[n],s=t.options,c=t.errors,u=s.params||{},(l=B(a)).length&&l.forEach(function(e){u.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(n,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var i=this,n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;var r=0,o=[],a=!1,s=!1,c=0,u=e.steps.map(function(e){var n=i._makeStyleAst(e,t),u=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(te(e)&&e.hasOwnProperty("offset")){var i=e;t=parseFloat(i.offset),delete i.offset}});else if(te(e)&&e.hasOwnProperty("offset")){var i=e;t=parseFloat(i.offset),delete i.offset}return t}(n.styles),l=0;return null!=u&&(r++,l=n.offset=u),s=s||l<0||l>1,a=a||l0&&r0?r==d?1:h*r:o[r],s=a*g;t.currentTime=f+p.delay+s,p.duration=s,i._validateStyleAst(e,t),e.offset=a,n.styles.push(e)}),n}},{key:"visitReference",value:function(e,t){return{type:8,animation:Y(this,z(e.animation),t),options:ie(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ie(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ie(e.options)}}},{key:"visitQuery",value:function(e,t){var i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(W,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=r[0],a=r[1];t.currentQuerySelector=i.length?i+" "+o:o,f(t.collectedStyles,t.currentQuerySelector,{});var s=Y(this,z(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:ie(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var i="full"===e.timings?{duration:0,delay:0,easing:"full"}:x(e.timings,t.errors,!0);return{type:12,animation:Y(this,z(e.animation),t),timings:i,options:null}}}]),e}(),ee=function e(t){_classCallCheck(this,e),this.errors=t,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 te(e){return!Array.isArray(e)&&"object"==typeof e}function ie(e){var t;return e?(e=O(e)).params&&(e.params=(t=e.params)?O(t):null):e={},e}function ne(e,t,i){return{duration:e,delay:t,easing:i}}function re(e,t,i,n,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var oe=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var i,n=this._map.get(e);n||this._map.set(e,n=[]),(i=n).push.apply(i,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ce(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ue).buildKeyframes(e,t,i,n,r,o,a,s,c,u)}var ue=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,i,n,r,o,a,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new oe;var l=new he(e,t,c,n,r,u,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),Y(this,i,l);var h=l.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,l.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[re(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var i=t.subInstructions.consume(t.element);if(i){var n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,i){var n=t.currentTimeline.currentTime,r=null!=i.duration?I(i.duration):null,o=null!=i.delay?I(i.delay):null;return 0!==r&&e.forEach(function(e){var i=t.appendInstructionToTimeline(e,r,o);n=Math.max(n,i.duration+i.delay)}),n}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var i=this,n=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=le);var a=I(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Y(i,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var i=this,n=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?I(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Y(i,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var i=e.strValue;return x(t.params?F(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();var r=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(r):i.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var i=t.currentAnimateTimings,n=t.currentTimeline.duration,r=i.duration,o=t.createSubContext().currentTimeline;o.easing=i.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(n+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var i=this,n=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?I(r.delay):0;o&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);var a=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach(function(n,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,n);o&&s.delayNextStep(o),n===t.element&&(c=s.currentTimeline),Y(i,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var i=t.parentContext,n=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=i.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;Y(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}]),e}(),le={},he=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this._driver=t,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new de(this._driver,i,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var i=this;if(e){var n=e,r=this.options;null!=n.duration&&(r.duration=I(n.duration)),null!=n.delay&&(r.delay=I(n.delay));var o=n.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=F(o[e],a,i.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var i=e.params={};Object.keys(t).forEach(function(e){i[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=i||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,i){var n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},r=new fe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(r),n}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,i,n,r,o){var a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=i);0!==i&&(s=i<0?s.slice(s.length+i,s.length):s.slice(0,i)),a.push.apply(a,_toConsumableArray(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),de=function(){function e(t,i,n,r){_classCallCheck(this,e),this._driver=t,this.element=i,this.startTime=n,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(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,i){return this.applyStylesToKeyframe(),new e(this._driver,t,i||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||o.l3,t._currentKeyframe[e]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,i,n){var r=this;t&&(this._previousKeyframe.easing=t);var a=n&&n.params||{},s=function(e,t){var i,n={};return e.forEach(function(e){"*"===e?(i=i||Object.keys(t)).forEach(function(e){n[e]=o.l3}):P(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=F(s[e],a,i);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:o.l3),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,i=Object.keys(t);0!=i.length&&(this._pendingStyles={},i.forEach(function(i){e._currentKeyframe[i]=t[i]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var i=e._localTimelineStyles[t];e._pendingStyles[t]=i,e._updateStyle(t,i)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(i){var n=t._styleSummary[i],r=e._styleSummary[i];(!n||r.time>n.time)&&t._updateStyle(i,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,s){var c=P(a,!0);Object.keys(c).forEach(function(e){var n=c[e];n==o.k1?t.add(e):n==o.l3&&i.add(e)}),n||(c.offset=s/e.duration),r.push(c)});var a=t.size?q(t.values()):[],s=i.size?q(i.values()):[];if(n){var c=r[0],u=O(c);c.offset=0,u.offset=1,r=[c,u]}return re(this.element,r,a,s,this.duration,this.startTime,this.easing,!1)}}]),e}(),fe=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s){var c,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,i),(c=t.call(this,e,n,s.delay)).element=n,c.keyframes=r,c.preStyleProps=o,c.postStyleProps=a,c._stretchStartingKeyframe=u,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return _createClass(i,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,i=t.delay,n=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&i){var o=[],a=n+i,s=i/a,c=P(e[0],!1);c.offset=0,o.push(c);var u=P(e[0],!1);u.offset=pe(s),o.push(u);for(var l=e.length-1,h=1;h<=l;h++){var d=P(e[h],!1);d.offset=pe((i+d.offset*n)/a),o.push(d)}n=a,i=0,r="",e=o}return re(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}}]),i}(de);function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,i=Math.pow(10,t-1);return Math.round(e*i)/i}var ge,ve,me=function e(){_classCallCheck(this,e)},ye=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"normalizePropertyName",value:function(e,t){return U(e)}},{key:"normalizeStyleValue",value:function(e,t,i,n){var r="",o=i.toString().trim();if(_e[t]&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{var a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&n.push("Please provide a CSS unit value for ".concat(e,":").concat(i))}return o+r}}]),i}(me),_e=(ge="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(","),ve={},ge.forEach(function(e){return ve[e]=!0}),ve);function be(e,t,i,n,r,o,a,s,c,u,l,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}var we={},Ae=function(){function e(t,i,n){_classCallCheck(this,e),this._triggerName=t,this.ast=i,this._stateStyles=n}return _createClass(e,[{key:"match",value:function(e,t,i,n){return function(e,t,i,n,r){return e.some(function(e){return e(t,i,n,r)})}(this.ast.matchers,e,t,i,n)}},{key:"buildStyles",value:function(e,t,i){var n=this._stateStyles["*"],r=this._stateStyles[e],o=n?n.buildStyles(t,i):{};return r?r.buildStyles(t,i):o}},{key:"build",value:function(e,t,i,n,r,o,a,s,c,u){var l=[],h=this.ast.options&&this.ast.options.params||we,d=this.buildStyles(i,a&&a.params||we,l),p=s&&s.params||we,g=this.buildStyles(n,p,l),v=new Set,m=new Map,y=new Map,_="void"===n,b={params:Object.assign(Object.assign({},h),p)},w=u?[]:ce(e,t,this.ast.animation,r,o,d,g,b,c,l),A=0;if(w.forEach(function(e){A=Math.max(e.duration+e.delay,A)}),l.length)return be(t,this._triggerName,i,n,_,d,g,[],[],m,y,A,l);w.forEach(function(e){var i=e.element,n=f(m,i,{});e.preStyleProps.forEach(function(e){return n[e]=!0});var r=f(y,i,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),i!==t&&v.add(i)});var k=q(v.values());return be(t,this._triggerName,i,n,_,d,g,w,k,m,y,A)}}]),e}(),ke=function(){function e(t,i){_classCallCheck(this,e),this.styles=t,this.defaultParams=i}return _createClass(e,[{key:"buildStyles",value:function(e,t){var i={},n=O(this.defaultParams);return Object.keys(e).forEach(function(t){var i=e[t];null!=i&&(n[t]=i)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=F(o,n,t)),i[e]=o})}}),i}}]),e}(),Ce=function(){function e(t,i){var n=this;_classCallCheck(this,e),this.name=t,this.ast=i,this.transitionFactories=[],this.states={},i.states.forEach(function(e){n.states[e.name]=new ke(e.style,e.options&&e.options.params||{})}),Te(this.states,"true","1"),Te(this.states,"false","0"),i.transitions.forEach(function(e){n.transitionFactories.push(new Ae(t,e,n.states))}),this.fallbackTransition=new Ae(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,i,n){return this.transitionFactories.find(function(r){return r.match(e,t,i,n)})||null}},{key:"matchStyles",value:function(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}]),e}();function Te(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}var Ee=new oe,Se=function(){function e(t,i,n){_classCallCheck(this,e),this.bodyNode=t,this._driver=i,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var i=[],n=X(this._driver,t,i);if(i.length)throw new Error("Unable to build the animation due to the following errors: ".concat(i.join("\n")));this._animations[e]=n}},{key:"_buildPlayer",value:function(e,t,i){var n=e.element,r=u(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[e],u=new Map;if(s?(i=ce(this._driver,t,s,"ng-enter","ng-leave",{},{},r,Ee,a)).forEach(function(e){var t=f(u,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),i=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));u.forEach(function(e,t){Object.keys(e).forEach(function(i){e[i]=n._driver.computeStyle(t,i,o.l3)})});var l=c(i.map(function(e){var t=u.get(e.element);return n._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return n.destroy(e)}),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,i,n){var r=d(t,"","","");return l(this._getPlayer(e),i,r,n),function(){}}},{key:"command",value:function(e,t,i,n){if("register"!=i)if("create"!=i){var r=this._getPlayer(e);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,n[0]||{});else this.register(e,n[0])}}]),e}(),Ie=[],Re={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Oe=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=i;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var o=O(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var i=this.options.params;Object.keys(t).forEach(function(e){null==i[e]&&(i[e]=t[e])})}}}]),e}(),Pe=new Oe("void"),De=function(){function e(t,i,n){_classCallCheck(this,e),this.id=t,this.hostElement=i,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Fe(i,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,i,n){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(i,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==i||0==i.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=i)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(i,'" for the animation trigger "').concat(t,'" is not supported!'));var a=f(this._elementListeners,e,[]),s={name:t,phase:i,callback:n};a.push(s);var c=f(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),c[t]=Pe),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete c[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,i){var n=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Le(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],u=new Oe(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[t]=u,c||(c=Pe),"void"===u.value||c.value!==u.value){var l=f(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==n.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(c.value,u.value,e,u.params),d=!1;if(!h){if(!r)return;h=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:u,player:a,isFallbackTransition:d}),d||(Fe(e,"ng-animate-queued"),a.onStart(function(){qe(e,"ng-animate-queued")})),a.onDone(function(){var t=n.players.indexOf(a);t>=0&&n.players.splice(t,1);var i=n._engine.playersByElement.get(e);if(i){var r=i.indexOf(a);r>=0&&i.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(e,t){var i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(var r=0;r=0){for(var n=!1,r=i;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}},{key:"registerTrigger",value:function(e,t,i){var n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var i=this;if(e){var n=this._fetchNamespace(e);this.afterFlush(function(){i.namespacesByHostElement.delete(n.hostElement),delete i._namespaceLookup[e];var t=i._namespaceList.indexOf(n);t>=0&&i._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return n.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,i=this.statesByElement.get(e);if(i)for(var n=Object.keys(i),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,i)}n&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Fe(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),qe(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,i,n){if(Ne(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),i){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,n)}}else this._onRemovalComplete(t,n)}},{key:"markElementAsRemoved",value:function(e,t,i,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,i,n,r){return Ne(t)?this._fetchNamespace(e).listen(t,i,n,r):function(){}}},{key:"_buildInstruction",value:function(e,t,i,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,i=this.driver.query(e,".ng-trigger",!0);i.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(i=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return c(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,i=e.__ng_removed;if(i&&i.setForRemoval){if(e.__ng_removed=Re,i.namespaceId){this.destroyInnerAnimations(e);var n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,i=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,i){return e._balanceNamespaceList(t,i)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var n=0;n=0;R--)this._namespaceList[R].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(S.push(t),i.collectedEnterElements.length){var a=o.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var c=!p||!i.driver.containsElement(p,o),d=T.get(o),g=m.get(o),v=i._buildInstruction(e,n,g,d,c);if(v.errors&&v.errors.length)I.push(v);else{if(c)return t.onStart(function(){return N(o,v.fromStyles)}),t.onDestroy(function(){return L(o,v.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return N(o,v.fromStyles)}),t.onDestroy(function(){return L(o,v.toStyles)}),void r.push(t);v.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),n.append(o,v.timelines),s.push({instruction:v,player:t,element:o}),v.queriedElements.forEach(function(e){return f(u,e,[]).push(t)}),v.preStyleProps.forEach(function(e,t){var i=Object.keys(e);if(i.length){var n=l.get(t);n||l.set(t,n=new Set),i.forEach(function(e){return n.add(e)})}}),v.postStyleProps.forEach(function(e,t){var i=Object.keys(e),n=h.get(t);n||h.set(t,n=new Set),i.forEach(function(e){return n.add(e)})})}});if(I.length){var x=[];I.forEach(function(e){x.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return x.push("- ".concat(e,"\n"))})}),S.forEach(function(e){return e.destroy()}),this.reportError(x)}var O=new Map,P=new Map;s.forEach(function(e){var t=e.element;n.has(t)&&(P.set(t,t),i._beforeAnimationBuild(e.player.namespaceId,e.instruction,O))}),r.forEach(function(e){var t=e.element;i._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){f(O,t,[]).push(e),e.destroy()})});var D=_.filter(function(e){return Ge(e,l,h)}),M=new Map;Ze(M,this.driver,w,h,o.l3).forEach(function(e){Ge(e,l,h)&&D.push(e)});var z=new Map;v.forEach(function(e,t){Ze(z,i.driver,new Set(e),l,o.k1)}),D.forEach(function(e){var t=M.get(e),i=z.get(e);M.set(e,Object.assign(Object.assign({},t),i))});var Z=[],B=[],F={};s.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(n.has(t)){if(d.has(t))return o.onDestroy(function(){return L(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var u=F;if(P.size>1){for(var l=t,h=[];l=l.parentNode;){var f=P.get(l);if(f){u=f;break}h.push(l)}h.forEach(function(e){return P.set(e,u)})}var p=i._buildAnimation(o.namespaceId,s,O,a,z,M);if(o.setRealPlayer(p),u===F)Z.push(o);else{var g=i.playersByElement.get(u);g&&g.length&&(o.parentPlayer=c(g)),r.push(o)}}else N(t,s.fromStyles),o.onDestroy(function(){return L(t,s.toStyles)}),B.push(o),d.has(t)&&r.push(o)}),B.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var i=c(t);e.setRealPlayer(i)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var q=0;q<_.length;q++){var H=_[q],U=H.__ng_removed;if(qe(H,"ng-leave"),!U||!U.hasAnimation){var G=[];if(u.size){var j=u.get(H);j&&j.length&&G.push.apply(G,_toConsumableArray(j));for(var Y=this.driver.query(H,".ng-animating",!0),K=0;K0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new o.ZN(e.duration,e.delay)}}]),e}(),Le=function(){function e(t,i,n){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=i,this.element=n,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(i){t._queuedCallbacks[i].forEach(function(t){return l(e,i,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,i=this._player;i.triggerCallback&&e.onStart(function(){return i.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){f(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Ne(e){return e&&1===e.nodeType}function ze(e,t){var i=e.style.display;return e.style.display=null!=t?t:"none",i}function Ze(e,t,i,n,r){var o=[];i.forEach(function(e){return o.push(ze(e))});var a=[];n.forEach(function(i,n){var o={};i.forEach(function(e){var i=o[e]=t.computeStyle(n,e,r);i&&0!=i.length||(n.__ng_removed=xe,a.push(n))}),e.set(n,o)});var s=0;return i.forEach(function(e){return ze(e,o[s++])}),a}function Be(e,t){var i=new Map;if(e.forEach(function(e){return i.set(e,[])}),0==t.length)return i;var n=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=i.has(a)?a:n.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&i.get(t).push(e)}),i}function Fe(e,t){if(e.classList)e.classList.add(t);else{var i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function qe(e,t){if(e.classList)e.classList.remove(t);else{var i=e.$$classes;i&&delete i[t]}}function He(e,t,i){c(i).onDone(function(){return e.processLeaveNode(t)})}function Ue(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function Ye(e,t){var i=null,n=null;return Array.isArray(t)&&t.length?(i=Ve(t[0]),t.length>1&&(n=Ve(t[t.length-1]))):t&&(i=Ve(t)),i||n?new Ke(e,i,n):null}var Ke=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this._element=t,this._startStyles=i,this._endStyles=n,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Ve(e){for(var t=null,i=Object.keys(e),n=0;n=this._delay&&i>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),et(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,i,n;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,i=it(e,"").split(","),(n=$e(i,t))>=0&&(i.splice(n,1),tt(e,"",i.join(","))))}}]),e}();function We(e,t,i){tt(e,"PlayState",i,Xe(e,t))}function Xe(e,t){var i=it(e,"");return i.indexOf(",")>0?$e(i.split(","),t):$e([i],t)}function $e(e,t){for(var i=0;i=0)return i;return-1}function et(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tt(e,t,i,n){var r="animation"+t;if(null!=n){var o=e.style[r];if(o.length){var a=o.split(",");a[n]=i,i=a.join(",")}}e.style[r]=i}function it(e,t){return e.style["animation"+t]||""}var nt=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=i,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var i=this._state>=3;Object.keys(this._finalStyles).forEach(function(n){"offset"!=n&&(t[n]=i?e._finalStyles[n]:K(e.element,n))})}this.currentSnapshot=t}}]),e}(),rt=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=T(n),r}return _createClass(i,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(i.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(i.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var i=e._startingStyles[t];i?e.element.style.setProperty(t,i):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(i.prototype),"destroy",this).call(this))}}]),i}(o.ZN),ot=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return w(e)}},{key:"matchesElement",value:function(e,t){return A(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,i){return C(e,t,i)}},{key:"computeStyle",value:function(e,t,i){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,i){i=i.map(function(e){return T(e)});var n="@keyframes ".concat(t," {\n"),r="";i.forEach(function(e){r=" ";var t=parseFloat(e.offset);n+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var i=e[t];switch(t){case"offset":return;case"easing":return void(i&&(n+="".concat(r,"animation-timing-function: ").concat(i,";\n")));default:return void(n+="".concat(r).concat(t,": ").concat(i,";\n"))}}),n+="".concat(r,"}\n")}),n+="}\n";var o=document.createElement("style");return o.textContent=n,o}},{key:"animate",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof nt}),s={};G(i,n)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var c=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(i){"offset"!=i&&"easing"!=i&&(t[i]=e[i])})}),t}(t=j(e,t,s));if(0==i)return new rt(e,c);var u="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(e,u,t);(function(e){var t,i=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(e).appendChild(l);var h=Ye(e,t),d=new nt(e,t,u,i,n,r,c,h);return d.onDestroy(function(){var e;(e=l).parentNode.removeChild(e)}),d}}]),e}(),at=function(){function e(t,i,n,r){_classCallCheck(this,e),this.element=t,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,i){return e.animate(t,i)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(i){"offset"!=i&&(t[i]=e._finished?e._finalKeyframe[i]:K(e.element,i))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),st=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ct().toString()),this._cssKeyframesDriver=new ot}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return w(e)}},{key:"matchesElement",value:function(e,t){return A(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,i){return C(e,t,i)}},{key:"computeStyle",value:function(e,t,i){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,i,n,r,o);var s={duration:i,delay:n,fill:0==n?"both":"forwards"};r&&(s.easing=r);var c={},u=o.filter(function(e){return e instanceof at});G(i,n)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return c[e]=t[e]})});var l=Ye(e,t=j(e,t=t.map(function(e){return P(e,!1)}),c));return new at(e,t,s,l)}}]),e}();function ct(){return a()&&Element.prototype.animate||{}}var ut=i(61511),lt=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,r){var o;return _classCallCheck(this,i),(o=t.call(this))._nextAnimationId=0,o._renderer=e.createRenderer(r.body,{id:"0",encapsulation:n.ifc.None,styles:[],data:{animation:[]}}),o}return _createClass(i,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var i=Array.isArray(e)?(0,o.vP)(e):e;return ft(this._renderer,null,t,"register",[i]),new ht(t,this._renderer)}}]),i}(o._j);return e.\u0275fac=function(t){return new(t||e)(n.LFG(n.FYo),n.LFG(ut.K0))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),ht=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this))._id=e,r._renderer=n,r}return _createClass(i,[{key:"create",value:function(e,t){return new dt(this._id,e,t||{},this._renderer)}}]),i}(o.LC),dt=function(){function e(t,i,n,r){_classCallCheck(this,e),this.id=t,this.element=i,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,n)}},{key:"removeChild",value:function(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}},{key:"removeAttribute",value:function(e,t,i){this.delegate.removeAttribute(e,t,i)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,i,n){this.delegate.setStyle(e,t,i,n)}},{key:"removeStyle",value:function(e,t,i){this.delegate.removeStyle(e,t,i)}},{key:"setProperty",value:function(e,t,i){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,i){return this.delegate.listen(e,t,i)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),vt=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,n,r,o)).factory=e,a.namespaceId=n,a}return _createClass(i,[{key:"setProperty",value:function(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}},{key:"listen",value:function(e,t,i){var n,r,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),u="";return"@"!=c.charAt(0)&&(r=(n=c).indexOf("."),c=(a=_slicedToArray([n.substring(0,r),n.substr(r+1)],2))[0],u=a[1]),this.engine.listen(this.namespaceId,s,c,u,function(e){o.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,t,i)}}]),i}(gt),mt=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){return _classCallCheck(this,i),t.call(this,e.body,n,r)}return _createClass(i,[{key:"ngOnDestroy",value:function(){this.flush()}}]),i}(je);return e.\u0275fac=function(t){return new(t||e)(n.LFG(ut.K0),n.LFG(S),n.LFG(me))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),yt=new n.OlP("AnimationModuleType"),_t=[{provide:o._j,useClass:lt},{provide:me,useFactory:function(){return new ye}},{provide:je,useClass:mt},{provide:n.FYo,useFactory:function(e,t,i){return new pt(e,t,i)},deps:[r.se,je,n.R0b]}],bt=[{provide:S,useFactory:function(){return"function"==typeof ct()?new st:new ot}},{provide:yt,useValue:"BrowserAnimations"}].concat(_t),wt=[{provide:S,useClass:E},{provide:yt,useValue:"NoopAnimations"}].concat(_t),At=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?wt:bt}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:bt,imports:[r.b2]}),e}()},30269:function(e,t,i){"use strict";i.d(t,{b2:function(){return z},H7:function(){return P},Dx:function(){return B},q6:function(){return L},se:function(){return A}});var n,r=i(61511),o=i(31572),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"onAndCancel",value:function(e,t,i){return e.addEventListener(t,i,!1),function(){e.removeEventListener(t,i,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(s=s||document.querySelector("base"))?s.getAttribute("href"):null;return null==t?null:function(e){(n=n||document.createElement("a")).setAttribute("href",e);var t=n.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,r.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,r.HT)(new i)}}]),i}(function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return i}(r.w_)),s=null,c=new o.OlP("TRANSITION_ID"),u=[{provide:o.ip1,useFactory:function(e,t,i){return function(){i.get(o.CZH).donePromise.then(function(){var i=(0,r.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return i.remove(e)})})}},deps:[c,r.K0,o.zs3],multi:!0}],l=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){o.dqk.getAngularTestability=function(t){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.findTestabilityInTree(t,i);if(null==n)throw new Error("Could not find testability for element.");return n},o.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(function(e){var t=o.dqk.getAllAngularTestabilities(),i=t.length,n=!1,r=function(t){n=n||t,0==--i&&e(n)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,i){if(null==t)return null;var n=e.getTestability(t);return null!=n?n:i?(0,r.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,o.VLi)(new e)}}]),e}(),h=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),d=new o.OlP("EventManagerPlugins"),f=function(){var e=function(){function e(t,i){var n=this;_classCallCheck(this,e),this._zone=i,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=n}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}},{key:"addGlobalEventListener",value:function(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var i=this._plugins,n=0;n-1&&(t.splice(i,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=n,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",i=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&R.hasOwnProperty(t)&&(t=R[t]))}return I[t]||t}(e);return" "===(i=i.toLowerCase())?i="space":"."===i&&(i="dot"),S.forEach(function(n){n!=i&&(0,x[n])(e)&&(t+=n+".")}),t+=i}},{key:"eventCallback",value:function(e,t,n){return function(r){i.getEventFullKey(r)===e&&n.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),i}(p);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),P=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,o.Yz7)({factory:function(){return(0,o.LFG)(M)},token:e,providedIn:"root"}),e}();function D(e){return new M(e.get(r.K0))}var M=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this))._doc=e,n}return _createClass(i,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case o.q3G.NONE:return t;case o.q3G.HTML:return(0,o.qzn)(t,"HTML")?(0,o.z3N)(t):(0,o.EiD)(this._doc,String(t)).toString();case o.q3G.STYLE:return(0,o.qzn)(t,"Style")?(0,o.z3N)(t):t;case o.q3G.SCRIPT:if((0,o.qzn)(t,"Script"))return(0,o.z3N)(t);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(t),(0,o.qzn)(t,"URL")?(0,o.z3N)(t):(0,o.mCW)(String(t));case o.q3G.RESOURCE_URL:if((0,o.qzn)(t,"ResourceURL"))return(0,o.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 ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,o.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,o.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,o.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,o.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,o.pB0)(e)}}]),i}(P);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=(0,o.Yz7)({factory:function(){return D((0,o.LFG)(o.gxx))},token:e,providedIn:"root"}),e}(),L=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:r.bD},{provide:o.g9A,useValue:function(){a.makeCurrent(),l.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),N=[[],{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:d,useClass:E,multi:!0,deps:[r.K0,o.R0b,o.Lbi]},{provide:d,useClass:O,multi:!0,deps:[r.K0]},[],{provide:A,useClass:A,deps:[f,v,o.AFp]},{provide:o.FYo,useExisting:A},{provide:g,useExisting:v},{provide:v,useClass:v,deps:[r.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:f,useClass:f,deps:[d,o.R0b]},{provide:r.JF,useClass:h,deps:[]},[]],z=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)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.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:o.AFp,useValue:t.appId},{provide:c,useExisting:o.AFp},u]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(e,12))},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:N,imports:[r.ez,o.hGG]}),e}();function Z(){return new B((0,o.LFG)(r.K0))}var B=function(){var e=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=(0,o.Yz7)({factory:Z,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window},57629:function(e,t,i){"use strict";i.d(t,{gz:function(){return Ye},m2:function(){return H},OD:function(){return q},GZ:function(){return wi},wN:function(){return ii},F0:function(){return pi},rH:function(){return gi},yS:function(){return vi},Bz:function(){return Ii},lC:function(){return yi}});var n=i(61511),r=i(31572),o=i(19764),a=i(40878),s=i(78512),c=i(31305),u=i(48318),l=i(39665),h=i(47930),d=i(31450),f=i(70653),p=i(42875),g=i(55959),v=i(96673);function m(e,t){var i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new y(e,t,i))}}var y=function(){function e(t,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=i,this.hasSeed=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new _(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),_=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e)).accumulator=n,a._seed=r,a.hasSeed=o,a.index=0,a}return _createClass(i,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,i=this.index++;try{t=this.accumulator(this.seed,e,i)}catch(n){this.destination.error(n)}this.seed=t,this.destination.next(t)}}]),i}(v.L),b=i(43835),w=i(98402);function A(e){return function(t){return 0===e?(0,f.c)():t.lift(new k(e))}}var k=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new w.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new C(e,this.total))}}]),e}(),C=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).total=n,r.ring=new Array,r.count=0,r}return _createClass(i,[{key:"_next",value:function(e){var t=this.ring,i=this.total,n=this.count++;t.length0)for(var i=this.count>=this.total?this.total:this.count,n=this.ring,r=0;r2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,i),(r=t.call(this,e,n)).navigationTrigger=o,r.restoredState=a,r}return _createClass(i,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(F),H=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e,n)).urlAfterRedirects=r,o}return _createClass(i,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),i}(F),U=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e,n)).reason=r,o}return _createClass(i,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),i}(F),G=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e,n)).error=r,o}return _createClass(i,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),i}(F),j=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return _createClass(i,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(F),Y=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return _createClass(i,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(F),K=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this,e,n)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return _createClass(i,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),i}(F),V=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return _createClass(i,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(F),J=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o){var a;return _classCallCheck(this,i),(a=t.call(this,e,n)).urlAfterRedirects=r,a.state=o,a}return _createClass(i,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),i}(F),Q=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),W=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),X=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),$=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ee=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),te=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ie=function(){function e(t,i,n){_classCallCheck(this,e),this.routerEvent=t,this.position=i,this.anchor=n}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),ne=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function re(e){return new ne(e)}function oe(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ae(e,t,i){var n=i.path.split("/");if(n.length>e.length)return null;if("full"===i.pathMatch&&(t.hasChildren()||n.length0?e[e.length-1]:null}function he(e,t){for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)}function de(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,o.D)(Promise.resolve(e)):(0,a.of)(e)}var fe={exact:function e(t,i,n){if(!Ae(t.segments,i.segments))return!1;if(!ye(t.segments,i.segments,n))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(var r in i.children){if(!t.children[r])return!1;if(!e(t.children[r],i.children[r],n))return!1}return!0},subset:ve},pe={exact:function(e,t){return se(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(i){return ce(e[i],t[i])})},ignored:function(){return!0}};function ge(e,t,i){return fe[i.paths](e.root,t.root,i.matrixParams)&&pe[i.queryParams](e.queryParams,t.queryParams)&&!("exact"===i.fragment&&e.fragment!==t.fragment)}function ve(e,t,i){return me(e,t,t.segments,i)}function me(e,t,i,n){if(e.segments.length>i.length){var r=e.segments.slice(0,i.length);return!!Ae(r,i)&&!t.hasChildren()&&!!ye(r,i,n)}if(e.segments.length===i.length){if(!Ae(e.segments,i))return!1;if(!ye(e.segments,i,n))return!1;for(var o in t.children){if(!e.children[o])return!1;if(!ve(e.children[o],t.children[o],n))return!1}return!0}var a=i.slice(0,e.segments.length),s=i.slice(e.segments.length);return!!Ae(e.segments,a)&&!!ye(e.segments,a,n)&&!!e.children.primary&&me(e.children.primary,t,s,n)}function ye(e,t,i){return t.every(function(t,n){return pe[i](e[n].parameters,t.parameters)})}var _e=function(){function e(t,i,n){_classCallCheck(this,e),this.root=t,this.queryParams=i,this.fragment=n}return _createClass(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=re(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Te.serialize(this)}}]),e}(),be=function(){function e(t,i){var n=this;_classCallCheck(this,e),this.segments=t,this.children=i,this.parent=null,he(i,function(e,t){return e.parent=n})}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ee(this)}}]),e}(),we=function(){function e(t,i){_classCallCheck(this,e),this.path=t,this.parameters=i}return _createClass(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=re(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return De(this)}}]),e}();function Ae(e,t){return e.length===t.length&&e.every(function(e,i){return e.path===t[i].path})}var ke=function e(){_classCallCheck(this,e)},Ce=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Ze(e);return new _e(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,i,n;return"/".concat(Se(e.root,!0)).concat((i=e.queryParams,n=Object.keys(i).map(function(e){var t=i[e];return Array.isArray(t)?t.map(function(t){return"".concat(Re(e),"=").concat(Re(t))}).join("&"):"".concat(Re(e),"=").concat(Re(t))}).filter(function(e){return!!e}),n.length?"?".concat(n.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Te=new Ce;function Ee(e){return e.segments.map(function(e){return De(e)}).join("/")}function Se(e,t){if(!e.hasChildren())return Ee(e);if(t){var i=e.children.primary?Se(e.children.primary,!1):"",n=[];return he(e.children,function(e,t){"primary"!==t&&n.push("".concat(t,":").concat(Se(e,!1)))}),n.length>0?"".concat(i,"(").concat(n.join("//"),")"):i}var r=function(e,t){var i=[];return he(e.children,function(e,n){"primary"===n&&(i=i.concat(t(e,n)))}),he(e.children,function(e,n){"primary"!==n&&(i=i.concat(t(e,n)))}),i}(e,function(t,i){return"primary"===i?[Se(e.children.primary,!1)]:["".concat(i,":").concat(Se(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Ee(e),"/").concat(r[0]):"".concat(Ee(e),"/(").concat(r.join("//"),")")}function Ie(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Re(e){return Ie(e).replace(/%3B/gi,";")}function xe(e){return Ie(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Oe(e){return decodeURIComponent(e)}function Pe(e){return Oe(e.replace(/\+/g,"%20"))}function De(e){return"".concat(xe(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(xe(e),"=").concat(xe(t[e]))}).join("")));var t}var Me=/^[^\/()?;=#]+/;function Le(e){var t=e.match(Me);return t?t[0]:""}var Ne=/^[^=?&#]+/,ze=/^[^?&#]+/,Ze=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new be([],{}):new be([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new be(e,t)),i}},{key:"parseSegment",value:function(){var e=Le(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new we(Oe(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Le(this.remaining);if(t){this.capture(t);var i="";if(this.consumeOptional("=")){var n=Le(this.remaining);n&&(i=n,this.capture(i))}e[Oe(t)]=Oe(i)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ne);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var i="";if(this.consumeOptional("=")){var n=function(e){var t=e.match(ze);return t?t[0]:""}(this.remaining);n&&(i=n,this.capture(i))}var r=Pe(t),o=Pe(i);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var i=Le(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;i.indexOf(":")>-1?(r=i.substr(0,i.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new be([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Be=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Fe(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Fe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=qe(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return qe(e,this._root).map(function(e){return e.value})}}]),e}();function Fe(e,t){if(e===t.value)return t;var i,n=_createForOfIteratorHelper(t.children);try{for(n.s();!(i=n.n()).done;){var r=Fe(e,i.value);if(r)return r}}catch(o){n.e(o)}finally{n.f()}return null}function qe(e,t){if(e===t.value)return[t];var i,n=_createForOfIteratorHelper(t.children);try{for(n.s();!(i=n.n()).done;){var r=qe(e,i.value);if(r.length)return r.unshift(t),r}}catch(o){n.e(o)}finally{n.f()}return[]}var He=function(){function e(t,i){_classCallCheck(this,e),this.value=t,this.children=i}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Ue(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Ge=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).snapshot=n,Qe(_assertThisInitialized(r),e),r}return _createClass(i,[{key:"toString",value:function(){return this.snapshot.toString()}}]),i}(Be);function je(e,t){var i=function(e,t){var i=new Ve([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Je("",new He(i,[]))}(e,t),n=new s.X([new we("",{})]),r=new s.X({}),o=new s.X({}),a=new s.X({}),c=new s.X(""),u=new Ye(n,r,a,c,o,"primary",t,i.root);return u.snapshot=i.root,new Ge(new He(u,[]),i)}var Ye=function(){function e(t,i,n,r,o,a,s,c){_classCallCheck(this,e),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,I.U)(function(e){return re(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,I.U)(function(e){return re(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",i=e.pathFromRoot,n=0;if("always"!==t)for(n=i.length-1;n>=1;){var r=i[n],o=i[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(i.slice(n))}var Ve=function(){function e(t,i,n,r,o,a,s,c,u,l,h){_classCallCheck(this,e),this.url=t,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=u,this._lastPathIndex=l,this._resolve=h}return _createClass(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=re(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=re(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),Je=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,n)).url=e,Qe(_assertThisInitialized(r),n),r}return _createClass(i,[{key:"toString",value:function(){return We(this._root)}}]),i}(Be);function Qe(e,t){t.value._routerState=e,t.children.forEach(function(t){return Qe(e,t)})}function We(e){var t=e.children.length>0?" { ".concat(e.children.map(We).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Xe(e){if(e.snapshot){var t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,se(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),se(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(var i=0;i0&&it(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(nt);if(r&&r!==le(n))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),st=function e(t,i,n){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=i,this.index=n};function ct(e,t,i){if(e||(e=new be([],{})),0===e.segments.length&&e.hasChildren())return ut(e,t,i);var n=function(e,t,i){for(var n=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=i.length)return o;var a=e.segments[r],s=i[n];if(nt(s))break;var c="".concat(s),u=n0&&void 0===c)break;if(c&&u&&"object"==typeof u&&void 0===u.outlets){if(!ft(c,u,a))return o;n+=2}else{if(!ft(c,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(e,t,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",i=0;i0)?Object.assign({},It):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||ae)(i,e,t);if(!r)return Object.assign({},It);var o={};he(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(n=r.posParams)&&void 0!==n?n:{}}}function xt(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(i.length>0&&function(e,t,i){return i.some(function(i){return Ot(e,t,i)&&"primary"!==Et(i)})}(e,i,n)){var o=new be(t,function(e,t,i,n){var r={};r.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Et(s)){var c=new be([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[Et(s)]=c}}}catch(u){a.e(u)}finally{a.f()}return r}(e,t,n,new be(i,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===i.length&&function(e,t,i){return i.some(function(i){return Ot(e,t,i)})}(e,i,n)){var a=new be(e.segments,function(e,t,i,n,r,o){var a,s={},c=_createForOfIteratorHelper(n);try{for(c.s();!(a=c.n()).done;){var u=a.value;if(Ot(e,i,u)&&!r[Et(u)]){var l=new be([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Et(u)]=l}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},r),s)}(e,t,i,n,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:i}}var s=new be(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:i}}function Ot(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path}function Pt(e,t,i,n){return!!(Et(e)===n||"primary"!==n&&Ot(t,i,e))&&("**"===e.path||Rt(t,e,i).matched)}function Dt(e,t,i){return 0===t.length&&!e.children[i]}var Mt=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},Lt=function e(t){_classCallCheck(this,e),this.urlTree=t};function Nt(e){return new u.y(function(t){return t.error(new Mt(e))})}function zt(e){return new u.y(function(t){return t.error(new Lt(e))})}function Zt(e){return new u.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Bt=function(){function e(t,i,n,o,a){_classCallCheck(this,e),this.configLoader=i,this.urlSerializer=n,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}return _createClass(e,[{key:"apply",value:function(){var e=this,t=xt(this.urlTree.root,[],[],this.config).segmentGroup,i=new be(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,i,"primary").pipe((0,I.U)(function(t){return e.createUrlTree(Ft(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe((0,P.K)(function(t){if(t instanceof Lt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Mt)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,I.U)(function(i){return t.createUrlTree(Ft(i),e.queryParams,e.fragment)})).pipe((0,P.K)(function(e){if(e instanceof Mt)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,i){var n=e.segments.length>0?new be([],{primary:e}):e;return new _e(n,t,i)}},{key:"expandSegmentGroup",value:function(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe((0,I.U)(function(e){return new be([],e)})):this.expandSegment(e,i,t,i.segments,n,!0)}},{key:"expandChildren",value:function(e,t,i){for(var n=this,r=[],a=0,s=Object.keys(i.children);a=2;return function(n){return n.pipe(e?(0,b.h)(function(t,i){return e(t,i,n)}):S.y,A(1),i?(0,E.d)(t):(0,T.T)(function(){return new l.K}))}}())}},{key:"expandSegment",value:function(e,t,i,n,r,s){var c=this;return(0,o.D)(i).pipe((0,D.b)(function(o){return c.expandSegmentAgainstRoute(e,t,i,o,n,r,s).pipe((0,P.K)(function(e){if(e instanceof Mt)return(0,a.of)(null);throw e}))}),(0,M.P)(function(e){return!!e}),(0,P.K)(function(e,i){if(e instanceof l.K||"EmptyError"===e.name){if(Dt(t,n,r))return(0,a.of)(new be([],{}));throw new Mt(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,i,n,r,o,a){return Pt(n,t,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,r,o):Nt(t):Nt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,i,n,r,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,i,n){var r=this,o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?zt(o):this.lineralizeSegments(i,o).pipe((0,L.zg)(function(i){var o=new be(i,{});return r.expandSegment(e,o,t,i,n,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,i,n,r,o){var a=this,s=Rt(t,n,r),c=s.matched,u=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!c)return Nt(t);var d=this.applyRedirectCommands(u,n.redirectTo,h);return n.redirectTo.startsWith("/")?zt(d):this.lineralizeSegments(n,d).pipe((0,L.zg)(function(n){return a.expandSegment(e,t,i,n.concat(r.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,i,n,r){var o=this;if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,a.of)(i._loadedConfig):this.configLoader.load(e.injector,i)).pipe((0,I.U)(function(e){return i._loadedConfig=e,new be(n,{})})):(0,a.of)(new be(n,{}));var s=Rt(t,i,n),c=s.matched,u=s.consumedSegments,l=s.lastChild;if(!c)return Nt(t);var h=n.slice(l);return this.getChildConfig(e,i,n).pipe((0,L.zg)(function(e){var n=e.module,s=e.routes,c=xt(t,u,h,s),l=c.segmentGroup,d=c.slicedSegments,f=new be(l.segments,l.children);if(0===d.length&&f.hasChildren())return o.expandChildren(n,s,f).pipe((0,I.U)(function(e){return new be(u,e)}));if(0===s.length&&0===d.length)return(0,a.of)(new be(u,{}));var p=Et(i)===r;return o.expandSegment(n,f,s,d,p?"primary":r,!0).pipe((0,I.U)(function(e){return new be(u.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,i){var n=this;return t.children?(0,a.of)(new vt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,a.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,i).pipe((0,L.zg)(function(i){return i?n.configLoader.load(e.injector,t).pipe((0,I.U)(function(e){return t._loadedConfig=e,e})):function(e){return new u.y(function(t){return t.error(oe("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,a.of)(new vt([],e))}},{key:"runCanLoadGuards",value:function(e,t,i){var n=this,r=t.canLoad;if(!r||0===r.length)return(0,a.of)(!0);var o=r.map(function(n){var r,o=e.get(n);if(function(e){return e&&mt(e.canLoad)}(o))r=o.canLoad(t,i);else{if(!mt(o))throw new Error("Invalid CanLoad guard");r=o(t,i)}return de(r)});return(0,a.of)(o).pipe(bt(),(0,N.b)(function(e){if(yt(e)){var t=oe('Redirecting to "'.concat(n.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,I.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var i=[],n=t.root;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,a.of)(i);if(n.numberOfChildren>1||!n.children.primary)return Zt(e.redirectTo);n=n.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,i){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,i)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,i,n){var r=this.createSegmentGroup(e,t.root,i,n);return new _e(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var i={};return he(e,function(e,n){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);i[n]=t[r]}else i[n]=e}),i}},{key:"createSegmentGroup",value:function(e,t,i,n){var r=this,o=this.createSegments(e,t.segments,i,n),a={};return he(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,i,n)}),new be(o,a)}},{key:"createSegments",value:function(e,t,i,n){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,n):r.findOrReturn(t,i)})}},{key:"findPosParam",value:function(e,t,i){var n=i[t.path.substring(1)];if(!n)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return n}},{key:"findOrReturn",value:function(e,t){var i,n=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(o.path===e.path)return t.splice(n),o;n++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function Ft(e){for(var t={},i=0,n=Object.keys(e.children);i0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new be(e.segments.concat(t.segments),t.children)}return e}(new be(e.segments,t))}var qt=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Ht=function e(t,i){_classCallCheck(this,e),this.component=t,this.route=i};function Ut(e,t,i){var n=e._root;return jt(n,t?t._root:null,i,[n.value])}function Gt(e,t,i){var n=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var i=t.routeConfig;if(i&&i._loadedConfig)return i._loadedConfig}return null}(t);return(n?n.module.injector:i).get(e)}function jt(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Ue(t);return e.children.forEach(function(e){!function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=i?i.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var c=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!Ae(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ae(e.url,t.url)||!se(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$e(e,t)||!se(e.queryParams,t.queryParams);case"paramsChange":default:return!$e(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new qt(n)):(o.data=a.data,o._resolvedData=a._resolvedData),jt(e,t,o.component?s?s.children:null:i,n,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Ht(s.outlet.component,a))}else a&&Yt(t,s,r),r.canActivateChecks.push(new qt(n)),jt(e,null,o.component?s?s.children:null:i,n,r)}(e,o[e.value.outlet],i,n.concat([e.value]),r),delete o[e.value.outlet]}),he(o,function(e,t){return Yt(e,i.getContext(t),r)}),r}function Yt(e,t,i){var n=Ue(e),r=e.value;he(n,function(e,n){Yt(e,r.component?t?t.children.getContext(n):null:t,i)}),i.canDeactivateChecks.push(new Ht(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var Kt=function e(){_classCallCheck(this,e)};function Vt(e){return new u.y(function(t){return t.error(e)})}var Jt=function(){function e(t,i,n,r,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=i,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){var e=xt(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var i=new Ve([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new He(i,t),r=new Je(this.url,n);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,i=e.value,n=Ke(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,i){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,i)}},{key:"processChildren",value:function(e,t){for(var i=[],n=0,r=Object.keys(t.children);n0?le(i).parameters:{};r=new Ve(i,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$t(e),Et(e),e.component,e,Wt(t),Xt(t)+i.length,ei(e))}else{var c=Rt(t,e,i);if(!c.matched)return null;o=c.consumedSegments,a=i.slice(c.lastChild),r=new Ve(o,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$t(e),Et(e),e.component,e,Wt(t),Xt(t)+o.length,ei(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=xt(t,o,a,u.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return null===f?null:[new He(r,f)]}if(0===u.length&&0===d.length)return[new He(r,[])];var p=Et(e)===n,g=this.processSegment(u,h,d,p?"primary":n);return null===g?null:[new He(r,g)]}}]),e}();function Qt(e){var t,i=[],n=new Set,r=_createForOfIteratorHelper(e);try{var o=function(){var e,r=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(r))return i.push(r),"continue";var o=i.find(function(e){return r.value.routeConfig===e.value.routeConfig});void 0!==o?((e=o.children).push.apply(e,_toConsumableArray(r.children)),n.add(o)):i.push(r)};for(r.s();!(t=r.n()).done;)o()}catch(l){r.e(l)}finally{r.f()}var a,s=_createForOfIteratorHelper(n);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=Qt(c.children);i.push(new He(c.value,u))}}catch(l){s.e(l)}finally{s.f()}return i.filter(function(e){return!n.has(e)})}function Wt(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Xt(e){for(var t=e,i=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)i+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return i-1}function $t(e){return e.data||{}}function ei(e){return e.resolve||{}}function ti(e){return(0,R.w)(function(t){var i=e(t);return i?(0,o.D)(i).pipe((0,I.U)(function(){return t})):(0,a.of)(t)})}var ii=function e(){_classCallCheck(this,e)},ni=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),ri=new r.OlP("ROUTES"),oi=function(){function e(t,i,n,r){_classCallCheck(this,e),this.loader=t,this.compiler=i,this.onLoadStartListener=n,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var i=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var n=this.loadModuleFactory(t.loadChildren).pipe((0,I.U)(function(n){i.onLoadEndListener&&i.onLoadEndListener(t);var o=n.create(e);return new vt(ue(o.injector.get(ri,void 0,r.XFs.Self|r.XFs.Optional)).map(Tt),o)}),(0,P.K)(function(e){throw t._loader$=void 0,e}));return t._loader$=new p.c(n,function(){return new g.xQ}).pipe((0,z.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,o.D)(this.loader.load(e)):de(e()).pipe((0,L.zg)(function(e){return e instanceof r.YKP?(0,a.of)(e):(0,o.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),ai=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new si,this.attachRef=null},si=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new ai,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),ci=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function ui(e){throw e}function li(e,t,i){return t.parse("/")}function hi(e,t){return(0,a.of)(null)}var di={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pi=function(){var e=function(){function e(t,i,n,o,a,c,u,l){var h=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=i,this.rootContexts=n,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=ui,this.malformedUriErrorHandler=li,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hi,afterPreactivation:hi},this.urlHandlingStrategy=new ci,this.routeReuseStrategy=new ni,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var d=a.get(r.R0b);this.isNgZoneEnabled=d instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new _e(new be([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new oi(c,u,function(e){return h.triggerEvent(new Q(e))},function(e){return h.triggerEvent(new W(e))}),this.routerState=je(this.currentUrlTree,this.rootComponentType),this.transitions=new s.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()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,i=this.events;return e.pipe((0,b.h)(function(e){return 0!==e.id}),(0,I.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,R.w)(function(e){var n,r,s,c=!1,u=!1;return(0,a.of)(e).pipe((0,N.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,R.w)(function(e){var n,r,o,s,c=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,a.of)(e).pipe((0,R.w)(function(e){var n=t.transitions.getValue();return i.next(new q(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==t.transitions.getValue()?f.E:Promise.resolve(e)}),(n=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,s=t.config,(0,R.w)(function(e){return function(e,t,i,n,r){return new Bt(e,t,i,n,r).apply()}(n,r,o,e.extractedUrl,s).pipe((0,I.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,N.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,i,n,r,o){return(0,L.zg)(function(n){return function(e,t,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new Jt(e,t,i,n,r,o).recognize();return null===s?Vt(new Kt):(0,a.of)(s)}catch(c){return Vt(c)}}(e,i,n.urlAfterRedirects,(s=n.urlAfterRedirects,t.serializeUrl(s)),r,o).pipe((0,I.U)(function(e){return Object.assign(Object.assign({},n),{targetSnapshot:e})}));var s})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,N.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var n=new j(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);i.next(n)}));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,l=e.extractedUrl,h=e.source,d=e.restoredState,p=e.extras,g=new q(u,t.serializeUrl(l),h,d);i.next(g);var v=je(l,t.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},e),{targetSnapshot:v,urlAfterRedirects:l,extras:Object.assign(Object.assign({},p),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),f.E}),ti(function(e){var i=e.targetSnapshot,n=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.beforePreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})}),(0,N.b)(function(e){var i=new Y(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)}),(0,I.U)(function(e){return Object.assign(Object.assign({},e),{guards:Ut(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,L.zg)(function(i){var n=i.targetSnapshot,r=i.currentSnapshot,s=i.guards,c=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===c.length?(0,a.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return(0,o.D)(e).pipe((0,L.zg)(function(e){return function(e,t,i,n,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,a.of)(!0);var s=o.map(function(o){var a,s=Gt(o,t,r);if(function(e){return e&&mt(e.canDeactivate)}(s))a=de(s.canDeactivate(e,t,i,n));else{if(!mt(s))throw new Error("Invalid CanDeactivate guard");a=de(s(e,t,i,n))}return a.pipe((0,M.P)())});return(0,a.of)(s).pipe(bt())}(e.component,e.route,i,t,n)}),(0,M.P)(function(e){return!0!==e},!0))}(u,n,r,e).pipe((0,L.zg)(function(i){return i&&"boolean"==typeof i?function(e,t,i,n){return(0,o.D)(t).pipe((0,D.b)(function(t){return(0,h.z)(function(e,t){return null!==e&&t&&t(new X(e)),(0,a.of)(!0)}(t.route.parent,n),function(e,t){return null!==e&&t&&t(new ee(e)),(0,a.of)(!0)}(t.route,n),function(e,t,i){var n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return(0,d.P)(function(){var r=t.guards.map(function(r){var o,a=Gt(r,t.node,i);if(function(e){return e&&mt(e.canActivateChild)}(a))o=de(a.canActivateChild(n,e));else{if(!mt(a))throw new Error("Invalid CanActivateChild guard");o=de(a(n,e))}return o.pipe((0,M.P)())});return(0,a.of)(r).pipe(bt())})});return(0,a.of)(r).pipe(bt())}(e,t.path,i),function(e,t,i){var n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return(0,a.of)(!0);var r=n.map(function(n){return(0,d.P)(function(){var r,o=Gt(n,t,i);if(function(e){return e&&mt(e.canActivate)}(o))r=de(o.canActivate(t,e));else{if(!mt(o))throw new Error("Invalid CanActivate guard");r=de(o(t,e))}return r.pipe((0,M.P)())})});return(0,a.of)(r).pipe(bt())}(e,t.route,i))}),(0,M.P)(function(e){return!0!==e},!0))}(n,c,e,t):(0,a.of)(i)}),(0,I.U)(function(e){return Object.assign(Object.assign({},i),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,N.b)(function(e){if(yt(e.guardsResult)){var i=oe('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw i.url=e.guardsResult,i}var n=new K(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),(0,b.h)(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),ti(function(e){if(e.guards.canActivateChecks.length)return(0,a.of)(e).pipe((0,N.b)(function(e){var i=new V(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)}),(0,R.w)(function(e){var i,n,r=!1;return(0,a.of)(e).pipe((i=t.paramsInheritanceStrategy,n=t.ngModule.injector,(0,L.zg)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return(0,a.of)(e);var s=0;return(0,o.D)(r).pipe((0,D.b)(function(e){return function(e,t,i,n){return function(e,t,i,n){var r=Object.keys(e);if(0===r.length)return(0,a.of)({});var s={};return(0,o.D)(r).pipe((0,L.zg)(function(r){return function(e,t,i,n){var r=Gt(e,t,n);return de(r.resolve?r.resolve(t,i):r(t,i))}(e[r],t,i,n).pipe((0,N.b)(function(e){s[r]=e}))}),A(1),(0,L.zg)(function(){return Object.keys(s).length===r.length?(0,a.of)(s):f.E}))}(e._resolve,e,t,n).pipe((0,I.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ke(e,i).resolve),null}))}(e.route,t,i,n)}),(0,N.b)(function(){return s++}),A(1),(0,L.zg)(function(t){return s===r.length?(0,a.of)(e):f.E}))})),(0,N.b)({next:function(){return r=!0},complete:function(){r||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),(0,N.b)(function(e){var i=new J(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(i)}))}),ti(function(e){var i=e.targetSnapshot,n=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.afterPreactivation(i,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})}),(0,I.U)(function(e){var i=function(e,t,i){var n=et(e,t._root,i?i._root:void 0);return new Ge(n,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:i})}),(0,N.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(n=t.rootContexts,r=t.routeReuseStrategy,s=function(e){return t.triggerEvent(e)},(0,I.U)(function(e){return new pt(r,e.targetRouterState,e.currentRouterState,s).activate(n),e})),(0,N.b)({next:function(){c=!0},complete:function(){c=!0}}),(0,Z.x)(function(){c||u||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null}),(0,P.K)(function(n){if(u=!0,(s=n)&&s.ngNavigationCancelingError){var r=yt(n.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new U(e.id,t.serializeUrl(e.extractedUrl),n.message);i.next(o),r?setTimeout(function(){var i=t.urlHandlingStrategy.merge(n.url,t.rawUrlTree);t.scheduleNavigation(i,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new G(e.id,t.serializeUrl(e.extractedUrl),n);i.next(a);try{e.resolve(t.errorHandler(n))}catch(c){e.reject(c)}}var s;return f.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var i=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,i)&&setTimeout(function(){var t=i.source,n=i.state,r=i.urlTree,o={replaceUrl:!0};if(n){var a=Object.assign({},n);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,n,o)},0),e.lastLocationChangeInfo=i}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var i=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&i&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){At(e),this.config=e.map(Tt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.relativeTo,n=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=i||this.routerState.root,c=a?this.currentUrlTree.fragment:r,u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,i,n,r){if(0===i.length)return rt(t.root,t.root,t,n,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new at(!0,0,e);var t=0,i=!1,n=e.reduce(function(e,n,r){if("object"==typeof n&&null!=n){if(n.outlets){var o={};return he(n.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(_toConsumableArray(e),[{outlets:o}])}if(n.segmentPath)return[].concat(_toConsumableArray(e),[n.segmentPath])}return"string"!=typeof n?[].concat(_toConsumableArray(e),[n]):0===r?(n.split("/").forEach(function(n,r){0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))}),e):[].concat(_toConsumableArray(e),[n])},[]);return new at(i,t,n)}(i);if(o.toRoot())return rt(t.root,new be([],{}),t,n,r);var a=function(e,t,i){if(e.isAbsolute)return new st(t.root,!0,0);if(-1===i.snapshot._lastPathIndex){var n=i.snapshot._urlSegment;return new st(n,n===t.root,0)}var r=it(e.commands[0])?0:1;return function(e,t,i){for(var n=e,r=t,o=i;o>r;){if(o-=r,!(n=n.parent))throw new Error("Invalid number of '../'");r=n.segments.length}return new st(n,!1,r-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?ut(a.segmentGroup,a.index,o.commands):ct(a.segmentGroup,a.index,o.commands);return rt(a.segmentGroup,s,t,n,r)}(s,this.currentUrlTree,e,u,null!=c?c:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},i=yt(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(n,"imperative",r,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=i,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof q?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof H&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof ie&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new ie(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(pi),r.LFG(n.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Ci=new r.OlP("ROUTER_CONFIGURATION"),Ti=new r.OlP("ROUTER_FORROOT_GUARD"),Ei=[n.Ye,{provide:ke,useClass:Ce},{provide:pi,useFactory:function(e,t,i,n,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,l=new pi(null,e,t,i,n,r,o,ue(a));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(e){var t,i;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[ke,si,n.Ye,r.zs3,r.v3s,r.Sil,ri,Ci,[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY],[ii,new r.FiY]]},si,{provide:Ye,useFactory:function(e){return e.routerState.root},deps:[pi]},{provide:r.v3s,useClass:r.EAV},Ai,wi,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe((0,P.K)(function(){return(0,a.of)(null)}))}}]),e}(),{provide:Ci,useValue:{enableTracing:!1}}];function Si(){return new r.PXZ("Router",pi)}var Ii=function(){var e=function(){function e(t,i){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,i){return{ngModule:e,providers:[Ei,Pi(t),{provide:Ti,useFactory:Oi,deps:[[pi,new r.FiY,new r.tp0]]},{provide:Ci,useValue:i||{}},{provide:n.S$,useFactory:xi,deps:[n.lw,[new r.tBr(n.mr),new r.FiY],Ci]},{provide:ki,useFactory:Ri,deps:[pi,n.EM,Ci]},{provide:bi,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:wi},{provide:r.PXZ,multi:!0,useFactory:Si},[Di,{provide:r.ip1,multi:!0,useFactory:Mi,deps:[Di]},{provide:Ni,useFactory:Li,deps:[Di]},{provide:r.tb,multi:!0,useExisting:Ni}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Pi(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Ti,8),r.LFG(pi,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function Ri(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new ki(e,t,i)}function xi(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.useHash?new n.Do(e,t):new n.b0(e,t)}function Oi(e){return"guarded"}function Pi(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:ri,multi:!0,useValue:e}]}var Di=function(){var e=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new g.xQ}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(n.V_,Promise.resolve(null)).then(function(){var t=null,i=new Promise(function(e){return t=e}),n=e.injector.get(pi),r=e.injector.get(Ci);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=function(){return e.initNavigation?(0,a.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},n.initialNavigation()):t(!0),i})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Ci),i=this.injector.get(Ai),n=this.injector.get(ki),o=this.injector.get(pi),a=this.injector.get(r.z2F);e===a.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function Mi(e){return e.appInitializer.bind(e)}function Li(e){return e.bootstrapListener.bind(e)}var Ni=new r.OlP("Router Initializer")},48160:function(e,t,i){"use strict";i.d(t,{Zw:function(){return p},aw:function(){return D},X$:function(){return P},sK:function(){return O}});var n=i(31572),r=i(40878),o=i(4710),a=i(3148),s=i(47930),c=i(31450),u=i(90611),l=i(68303),h=i(79996),d=i(436),f=i(44689),p=function e(){_classCallCheck(this,e)},g=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"getTranslation",value:function(e){return(0,r.of)({})}}]),i}(p);return t.\u0275fac=function(i){return(e||(e=n.n5z(t)))(i||t)},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t}(),v=function e(){_classCallCheck(this,e)},m=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"handle",value:function(e){return e.key}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}();function y(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var i,n,r,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(n in r=Object.create(null),e){if(!y(e[n],t[n]))return!1;r[n]=!0}for(n in t)if(!(n in r)&&void 0!==t[n])return!1;return!0}if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(n=0;n5&&void 0!==arguments[5])||arguments[5],c=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0;_classCallCheck(this,e),this.store=t,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=s,this.isolate=c,this.extend=u,this.pending=!1,this._onTranslationChange=new n.vpe,this._onLangChange=new n.vpe,this._onDefaultLangChange=new n.vpe,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}return _createClass(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var i=this.retrieveTranslations(e);void 0!==i?(null==this.defaultLang&&(this.defaultLang=e),i.pipe((0,u.q)(1)).subscribe(function(i){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return(0,r.of)(this.translations[e]);var i=this.retrieveTranslations(e);return void 0!==i?(this.currentLang||(this.currentLang=e),i.pipe((0,u.q)(1)).subscribe(function(i){t.changeLang(e)}),i):(this.changeLang(e),(0,r.of)(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var i=this.currentLoader.getTranslation(e).pipe((0,l.d)(1),(0,u.q)(1));return this.loadingTranslations=i.pipe((0,h.U)(function(i){return t.compiler.compileTranslations(i,e)}),(0,l.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:function(i){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},i),t.translations[e]):i,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),i}},{key:"setTranslation",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(i||this.extend)&&this.translations[e]?w(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,i){var n;if(t instanceof Array){var s,c={},u=!1,l=_createForOfIteratorHelper(t);try{for(l.s();!(s=l.n()).done;){var d=s.value;c[d]=this.getParsedResult(e,d,i),(0,o.b)(c[d])&&(u=!0)}}catch(g){l.e(g)}finally{l.f()}if(u){var f=t.map(function(e){return(0,o.b)(c[e])?c[e]:(0,r.of)(c[e])});return(0,a.D)(f).pipe((0,h.U)(function(e){var i={};return e.forEach(function(e,n){i[t[n]]=e}),i}))}return c}if(e&&(n=this.parser.interpolate(this.parser.getValue(e,t),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),i)),void 0===n){var p={key:t,translateService:this};void 0!==i&&(p.interpolateParams=i),n=this.missingTranslationHandler.handle(p)}return void 0!==n?n:t}},{key:"get",value:function(e,t){var i=this;if(!_(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(function(n){return n=i.getParsedResult(n,e,t),(0,o.b)(n)?n:(0,r.of)(n)}));var n=this.getParsedResult(this.translations[this.currentLang],e,t);return(0,o.b)(n)?n:(0,r.of)(n)}},{key:"getStreamOnTranslationChange",value:function(e,t){var i=this;if(!_(e)||!e.length)throw new Error('Parameter "key" required');return(0,s.z)((0,c.P)(function(){return i.get(e,t)}),this.onTranslationChange.pipe((0,f.w)(function(n){var o=i.getParsedResult(n.translations,e,t);return"function"==typeof o.subscribe?o:(0,r.of)(o)})))}},{key:"stream",value:function(e,t){var i=this;if(!_(e)||!e.length)throw new Error('Parameter "key" required');return(0,s.z)((0,c.P)(function(){return i.get(e,t)}),this.onLangChange.pipe((0,f.w)(function(n){var a=i.getParsedResult(n.translations,e,t);return(0,o.b)(a)?a:(0,r.of)(a)})))}},{key:"instant",value:function(e,t){if(!_(e)||!e.length)throw new Error('Parameter "key" required');var i=this.getParsedResult(this.translations[this.currentLang],e,t);if((0,o.b)(i)){if(e instanceof Array){var n={};return e.forEach(function(t,i){n[e[i]]=e[i]}),n}return e}return i}},{key:"set",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[i][e]=this.compiler.compile(t,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(n.LFG(E),n.LFG(p),n.LFG(C),n.LFG(A),n.LFG(v),n.LFG(I),n.LFG(S),n.LFG(x),n.LFG(R))},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac}),e}(),P=function(){var e=function(){function e(t,i){_classCallCheck(this,e),this.translate=t,this._ref=i,this.value=""}return _createClass(e,[{key:"updateValue",value:function(e,t,i){var n=this,r=function(t){n.value=void 0!==t?t:e,n.lastKey=e,n._ref.markForCheck()};if(i){var a=this.translate.getParsedResult(i,e,t);(0,o.b)(a.subscribe)?a.subscribe(r):r(a)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,i=this;if(!e||!e.length)return e;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:p,useClass:g},t.compiler||{provide:C,useClass:T},t.parser||{provide:A,useClass:k},t.missingTranslationHandler||{provide:v,useClass:m},E,{provide:S,useValue:t.isolate},{provide:I,useValue:t.useDefaultLang},{provide:x,useValue:t.extend},{provide:R,useValue:t.defaultLanguage},O]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:p,useClass:g},t.compiler||{provide:C,useClass:T},t.parser||{provide:A,useClass:k},t.missingTranslationHandler||{provide:v,useClass:m},{provide:S,useValue:t.isolate},{provide:I,useValue:t.useDefaultLang},{provide:x,useValue:t.extend},{provide:R,useValue:t.defaultLanguage},O]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({}),e}()},52623:function _(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{zr:function(){return OAuthModule},Ct:function(){return OAuthService}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(31572),_angular_common__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(61511),_angular_common_http__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(29063),tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(77632),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(55959),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(40878),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(19764),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(31225),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(31305),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(31906),rxjs_operators__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(43835),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(66599),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(47701),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(60509),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(44689),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(79996),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(47727),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(29085),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(90611),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(73982);module=__webpack_require__.hmd(module);var DateTimeProvider=function e(){_classCallCheck(this,e)},SystemDateTimeProvider=function(){var e,t=function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"now",value:function(){return Date.now()}},{key:"new",value:function(){return new Date}}]),i}(DateTimeProvider);return t.\u0275fac=function(i){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(i||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t}(),LoginOptions=function e(){_classCallCheck(this,e),this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1},OAuthLogger=function e(){_classCallCheck(this,e)},OAuthStorage=function e(){_classCallCheck(this,e)},MemoryStorage=function(){var e=function(){function e(){_classCallCheck(this,e),this.data=new Map}return _createClass(e,[{key:"getItem",value:function(e){return this.data.get(e)}},{key:"removeItem",value:function(e){this.data.delete(e)}},{key:"setItem",value:function(e,t){this.data.set(e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),ReceivedTokens=function e(){_classCallCheck(this,e)};function b64DecodeUnicode(e){var t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var ValidationHandler=function e(){_classCallCheck(this,e)},AbstractValidationHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateAtHash",value:function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var i,n,r,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.inferHashAlgorithm(e.idTokenHeader),t.next=3,this.calcHash(e.accessToken,i);case 3:return n=t.sent,r=base64UrlEncode(n.substr(0,n.length/2)),o=e.idTokenClaims.at_hash.replace(/=/g,""),t.abrupt("return",(r!==o&&(console.error("exptected at_hash: "+r),console.error("actual at_hash: "+o)),r===o));case 7:case"end":return t.stop()}},t,this)}))}},{key:"inferHashAlgorithm",value:function(e){var t=e.alg;if(!t.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+t);return"sha-"+t.substr(2)}}]),e}(),UrlHelperService=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getHashFragmentParams",value:function(e){var t=e||window.location.hash;if(0!==(t=decodeURIComponent(t)).indexOf("#"))return{};var i=t.indexOf("?");return t=t.substr(i>-1?i+1:1),this.parseQueryString(t)}},{key:"parseQueryString",value:function(e){var t,i,n,r,o,a,s,c={};if(null===e)return c;t=e.split("&");for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:null;return _classCallCheck(this,i),(n=t.call(this,e)).info=r,n}return i}(OAuthEvent),OAuthInfoEvent=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _classCallCheck(this,i),(n=t.call(this,e)).info=r,n}return i}(OAuthEvent),OAuthErrorEvent=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return _classCallCheck(this,i),(r=t.call(this,e)).reason=n,r.params=o,r}return i}(OAuthEvent),AuthConfig=function e(t){_classCallCheck(this,e),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.openUri=function(e){location.href=e},t&&Object.assign(this,t)},WebHttpUrlEncodingCodec=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return encodeURIComponent(e)}},{key:"encodeValue",value:function(e){return encodeURIComponent(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(i){return new Sha256(t,!0).update(i)[e]()}},\u02750=createOutputMethod,createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var i=0;i>6,a[c++]=128|63&o):o<55296||o>=57344?(a[c++]=224|o>>12,a[c++]=128|o>>6&63,a[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++n)),a[c++]=240|o>>18,a[c++]=128|o>>12&63,a[c++]=128|o>>6&63,a[c++]=128|63&o);e=a}else{if("object"!==r)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var u=[],l=[];for(n=0;n<64;++n){var h=e[n]||0;u[n]=92^h,l[n]=54^h}Sha256.call(this,t,i),this.update(l),this.oKeyPad=u,this.inner=!0,this.sharedMemory=i}Sha256.prototype.update=function(e){if(!this.finalized){var t,i=typeof e;if("string"!==i){if("object"!==i)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var n,r,o=0,a=e.length,s=this.blocks;o>2]|=e[o]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(s[r>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=s[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}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 e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,i,n,r,o,a=this.h0,s=this.h1,c=this.h2,u=this.h3,l=this.h4,h=this.h5,d=this.h6,f=this.h7,p=this.blocks;for(e=16;e<64;++e)p[e]=p[e-16]+(((t=p[e-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+p[e-7]+(((t=p[e-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)<<0;for(o=s&c,e=0;e<64;e+=4)this.first?(this.is224?(i=300032,f=(t=p[0]-1413257819)-150054599<<0,u=t+24177077<<0):(i=704751109,f=(t=p[0]-210244248)-1521486534<<0,u=t+143694565<<0),this.first=!1):(f=u+(t=f+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&h^~l&d)+K[e]+p[e])<<0,u=t+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((i=a&s)^a&c^o))<<0),d=c+(t=d+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&l^~f&h)+K[e+1]+p[e+1])<<0,c=t+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((n=u&a)^u&s^i))<<0,h=s+(t=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&f^~d&l)+K[e+2]+p[e+2])<<0,s=t+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((r=c&u)^c&a^n))<<0,l=a+(t=l+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&f)+K[e+3]+p[e+3])<<0,a=t+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((o=s&c)^s&u^r))<<0;this.h0=this.h0+a<<0,this.h1=this.h1+s<<0,this.h2=this.h2+c<<0,this.h3=this.h3+u<<0,this.h4=this.h4+l<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+f<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,i=this.h2,n=this.h3,r=this.h4,o=this.h5,a=this.h6,s=this.h7,c=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[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[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[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+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]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a];return this.is224||(c+=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]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,i=this.h2,n=this.h3,r=this.h4,o=this.h5,a=this.h6,s=this.h7,c=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o,a>>24&255,a>>16&255,a>>8&255,255&a];return this.is224||c.push(s>>24&255,s>>16&255,s>>8&255,255&s),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);var HashHandler=function e(){_classCallCheck(this,e)},DefaultHashHandler=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"calcHash",value:function(e,t){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=exports.array(e),t.abrupt("return",this.toHashString2(i));case 2:case"end":return t.stop()}},t,this)}))}},{key:"toHashString2",value:function(e){var t,i="",n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;i+=String.fromCharCode(r)}}catch(err){n.e(err)}finally{n.f()}return i}},{key:"toHashString",value:function(e){var t,i="",n=_createForOfIteratorHelper(new Uint8Array(e));try{for(n.s();!(t=n.n()).done;){var r=t.value;i+=String.fromCharCode(r)}}catch(err){n.e(err)}finally{n.f()}return i}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),OAuthService=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a,s,c,u,l,h){var d,f;_classCallCheck(this,i),(d=t.call(this)).ngZone=e,d.http=n,d.config=a,d.urlHelper=s,d.logger=c,d.crypto=u,d.dateTimeService=h,d.discoveryDocumentLoaded=!1,d.state="",d.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,d.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,d.grantTypesSupported=[],d.inImplicitFlow=!1,d.saveNoncesInLocalStorage=!1,d.debug("angular-oauth2-oidc v10"),d.document=l,a||(a={}),d.discoveryDocumentLoaded$=d.discoveryDocumentLoadedSubject.asObservable(),d.events=d.eventsSubject.asObservable(),o&&(d.tokenValidationHandler=o),a&&d.configure(a);try{r?d.setStorage(r):"undefined"!=typeof sessionStorage&&d.setStorage(sessionStorage)}catch(g){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",g)}if("undefined"!=typeof window&&void 0!==window.localStorage){var p=null===(f=null===window||void 0===window?void 0:window.navigator)||void 0===f?void 0:f.userAgent;((null==p?void 0:p.includes("MSIE "))||(null==p?void 0:p.includes("Trident")))&&(d.saveNoncesInLocalStorage=!0)}return d.setupRefreshTimer(),d}return _createClass(i,[{key:"configure",value:function(e){Object.assign(this,new AuthConfig,e),this.config=Object.assign({},new AuthConfig,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}},{key:"configChanged",value:function(){this.setupRefreshTimer()}},{key:"restartSessionChecksIfStillLoggedIn",value:function(){this.hasValidIdToken()&&this.initSessionCheck()}},{key:"restartRefreshTimerIfStillLoggedIn",value:function(){this.setupExpirationTimers()}},{key:"setupSessionCheck",value:function(){var e=this;this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type})).subscribe(function(t){e.initSessionCheck()})}},{key:"setupAutomaticSilentRefresh",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(function(e){"token_received"===e.type?r=!0:"logout"===e.type&&(r=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_expires"===e.type&&(null==i||"any"===i||e.info===i)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(1e3)).subscribe(function(i){r&&e.refreshInternal(t,n).catch(function(t){e.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}},{key:"refreshInternal",value:function(e,t){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(e,t):this.refreshToken()}},{key:"loadDiscoveryDocumentAndTryLogin",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.loadDiscoveryDocument().then(function(i){return e.tryLogin(t)})}},{key:"loadDiscoveryDocumentAndLogin",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.loadDiscoveryDocumentAndTryLogin(t=t||{}).then(function(i){return!(!e.hasValidIdToken()||!e.hasValidAccessToken())||(e.initLoginFlow("string"==typeof t.state?t.state:""),!1)})}},{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:null;return new Promise(function(i,n){t||((t=e.issuer||"").endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),e.validateUrlForHttps(t)?e.http.get(t).subscribe(function(t){if(!e.validateDiscoveryDocument(t))return e.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void n("discovery_document_validation_error");e.loginUrl=t.authorization_endpoint,e.logoutUrl=t.end_session_endpoint||e.logoutUrl,e.grantTypesSupported=t.grant_types_supported,e.issuer=t.issuer,e.tokenEndpoint=t.token_endpoint,e.userinfoEndpoint=t.userinfo_endpoint||e.userinfoEndpoint,e.jwksUri=t.jwks_uri,e.sessionCheckIFrameUrl=t.check_session_iframe||e.sessionCheckIFrameUrl,e.discoveryDocumentLoaded=!0,e.discoveryDocumentLoadedSubject.next(t),e.revocationEndpoint=t.revocation_endpoint||e.revocationEndpoint,e.sessionChecksEnabled&&e.restartSessionChecksIfStillLoggedIn(),e.loadJwks().then(function(n){var r=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:t,jwks:n});e.eventsSubject.next(r),i(r)}).catch(function(t){e.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),n(t)})},function(t){e.logger.error("error loading discovery document",t),e.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),n(t)}):n("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}},{key:"loadJwks",value:function(){var e=this;return new Promise(function(t,i){e.jwksUri?e.http.get(e.jwksUri).subscribe(function(i){e.jwks=i,e.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),t(i)},function(t){e.logger.error("error loading jwks",t),e.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),i(t)}):t(null)})}},{key:"validateDiscoveryDocument",value:function(e){var t;return this.skipIssuerCheck||e.issuer===this.issuer?(t=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint)).length>0?(this.logger.error("error validating authorization_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint)).length>0?(this.logger.error("error validating end_session_endpoint in discovery document",t),!1):((t=this.validateUrlFromDiscoveryDocument(e.token_endpoint)).length>0&&this.logger.error("error validating token_endpoint in discovery document",t),(t=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint)).length>0&&this.logger.error("error validating revocation_endpoint in discovery document",t),(t=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint)).length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.jwks_uri)).length>0?(this.logger.error("error validating jwks_uri in discovery document",t),!1):(this.sessionChecksEnabled&&!e.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: "+e.issuer),!1)}},{key:"fetchTokenUsingPasswordFlowAndLoadUserProfile",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;return this.fetchTokenUsingPasswordFlow(e,t,n).then(function(){return i.loadUserProfile()})}},{key:"loadUserProfile",value:function(){var e=this;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(function(t,i){var n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Authorization","Bearer "+e.getAccessToken());e.http.get(e.userinfoEndpoint,{headers:n,observe:"response",responseType:"text"}).subscribe(function(n){if(e.debug("userinfo received",JSON.stringify(n)),n.headers.get("content-type").startsWith("application/json")){var r=JSON.parse(n.body),o=e.getIdentityClaims()||{};if(!e.skipSubjectCheck&&e.oidc&&(!o.sub||r.sub!==o.sub))return void i("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");r=Object.assign({},o,r),e._storage.setItem("id_token_claims_obj",JSON.stringify(r)),e.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t({info:r})}else e.debug("userinfo is not JSON, treating it as JWE/JWS"),e.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t(JSON.parse(n.body))},function(t){e.logger.error("error loading user info",t),e.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",t)),i(t)})})}},{key:"fetchTokenUsingPasswordFlow",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;return this.fetchTokenUsingGrant("password",{username:e,password:t},i)}},{key:"fetchTokenUsingGrant",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");var r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",e).set("scope",this.scope);if(this.useHttpBasicAuth){var o=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));n=n.set("Authorization","Basic "+o)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams){var a,s=_createForOfIteratorHelper(Object.getOwnPropertyNames(this.customQueryParams));try{for(s.s();!(a=s.n()).done;){var c=a.value;r=r.set(c,this.customQueryParams[c])}}catch(err){s.e(err)}finally{s.f()}}for(var u=0,l=Object.keys(t);u0&&void 0!==arguments[0]?arguments[0]:{},i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=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");var r=this.document.getElementById(this.silentRefreshIFrameName);r&&this.document.body.removeChild(r),this.silentRefreshSubject=n.sub;var o=this.document.createElement("iframe");o.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,i,t).then(function(t){o.setAttribute("src",t),e.silentRefreshShowIFrame||(o.style.display="none"),e.document.body.appendChild(o)});var a=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return e instanceof OAuthErrorEvent}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),c=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.S3)([a,s,c]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(function(t){if(t instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===t.type||(t=new OAuthErrorEvent("silent_refresh_error",t)),e.eventsSubject.next(t),t;return"token_received"===t.type&&(t=new OAuthSuccessEvent("silently_refreshed"),e.eventsSubject.next(t)),t})).toPromise()}},{key:"initImplicitFlowInPopup",value:function(e){return this.initLoginFlowInPopup(e)}},{key:"initLoginFlowInPopup",value:function(e){var t=this;return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(function(i){return new Promise(function(n,r){var o,a=null;e.windowRef?e.windowRef&&!e.windowRef.closed&&((a=e.windowRef).location.href=i):a=window.open(i,"ngx-oauth2-oidc-login",t.calculatePopupFeatures(e));var s=function(e){t.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:t.silentRefreshRedirectUri}).then(function(){c(),n(!0)},function(e){c(),r(e)})};a?o=window.setInterval(function(){a&&!a.closed||(c(),r(new OAuthErrorEvent("popup_closed",{})))},500):r(new OAuthErrorEvent("popup_blocked",{}));var c=function(){window.clearInterval(o),window.removeEventListener("storage",l),window.removeEventListener("message",u),null!==a&&a.close(),a=null},u=function(e){var i=t.processMessageEventMessage(e);i&&null!==i?(window.removeEventListener("storage",l),s(i)):console.log("false event firing")},l=function(e){"auth_hash"===e.key&&(window.removeEventListener("message",u),s(e.newValue))};window.addEventListener("message",u),window.addEventListener("storage",l)})})}},{key:"calculatePopupFeatures",value:function(e){var t=e.height||470,i=e.width||500,n=window.screenLeft+(window.outerWidth-i)/2;return"location=no,toolbar=no,width=".concat(i,",height=").concat(t,",top=").concat(window.screenTop+(window.outerHeight-t)/2,",left=").concat(n)}},{key:"processMessageEventMessage",value:function(e){var t="#";if(this.silentRefreshMessagePrefix&&(t+=this.silentRefreshMessagePrefix),e&&e.data&&"string"==typeof e.data){var i=e.data;return i.startsWith(t)?"#"+i.substr(t.length):void 0}}},{key:"canPerformSessionCheck",value:function(){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))}},{key:"setupSessionCheckEventListener",value:function(){var e=this;this.removeSessionCheckEventListener(),this.sessionCheckEventListener=function(t){var i=t.origin.toLowerCase(),n=e.issuer.toLowerCase();if(e.debug("sessionCheckEventListener"),n.startsWith(i)){switch(t.data){case"unchanged":e.ngZone.run(function(){e.handleSessionUnchanged()});break;case"changed":e.ngZone.run(function(){e.handleSessionChange()});break;case"error":e.ngZone.run(function(){e.handleSessionError()})}e.debug("got info from session check inframe",t)}else e.debug("sessionCheckEventListener","wrong origin",i,"expected",n,"event",t)},this.ngZone.runOutsideAngular(function(){window.addEventListener("message",e.sessionCheckEventListener)})}},{key:"handleSessionUnchanged",value:function(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}},{key:"handleSessionChange",value:function(){var e=this;this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(function(t){return e.debug("silent refresh failed after session changed")}),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(function(t){e.debug("token refresh after session change worked")}).catch(function(t){e.debug("token refresh did not work after session changed"),e.eventsSubject.next(new OAuthInfoEvent("session_terminated")),e.logOut(!0)})}},{key:"waitForSilentRefreshAfterSessionChange",value:function(){var e=this;this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"silently_refreshed"===e.type||"silent_refresh_timeout"===e.type||"silent_refresh_error"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()).subscribe(function(t){"silently_refreshed"!==t.type&&(e.debug("silent refresh did not work after session changed"),e.eventsSubject.next(new OAuthInfoEvent("session_terminated")),e.logOut(!0))})}},{key:"handleSessionError",value:function(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}},{key:"removeSessionCheckEventListener",value:function(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}},{key:"initSessionCheck",value:function(){if(this.canPerformSessionCheck()){var e=this.document.getElementById(this.sessionCheckIFrameName);e&&this.document.body.removeChild(e);var 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()}}},{key:"startSessionCheckTimer",value:function(){var e=this;this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(function(){e.sessionCheckTimer=setInterval(e.checkSession.bind(e),e.sessionCheckIntervall)})}},{key:"stopSessionCheckTimer",value:function(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}},{key:"checkSession",value:function(){var e=this.document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);var t=this.getSessionState();t||this.stopSessionCheckTimer(),e.contentWindow.postMessage(this.clientId+" "+t,this.issuer)}},{key:"createLoginUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function o(){var a,s,c,u,l,h,d,f,p,g,v,m,y,_,b;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return a=i||this.redirectUri,o.next=3,this.createAndSaveNonce();case 3:if(s=o.sent,e=e?s+this.config.nonceStateSeparator+encodeURIComponent(e):s,this.requestAccessToken||this.oidc){o.next=6;break}throw new Error("Either requestAccessToken or oidc or both must be true");case 6:if(this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token",c=this.loginUrl.indexOf("?")>-1?"&":"?",u=this.scope,this.oidc&&!u.match(/(^|\s)openid($|\s)/)&&(u="openid "+u),l=this.loginUrl+c+"response_type="+encodeURIComponent(this.responseType)+"&client_id="+encodeURIComponent(this.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(a)+"&scope="+encodeURIComponent(u),!this.responseType.includes("code")||this.disablePKCE){o.next=19;break}return o.next=14,this.createChallangeVerifierPairForPKCE();case 14:h=o.sent,d=_slicedToArray(h,2),f=d[0],p=d[1],this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",p):this._storage.setItem("PKCE_verifier",p),l+="&code_challenge="+f,l+="&code_challenge_method=S256";case 19:for(t&&(l+="&login_hint="+encodeURIComponent(t)),this.resource&&(l+="&resource="+encodeURIComponent(this.resource)),this.oidc&&(l+="&nonce="+encodeURIComponent(s)),n&&(l+="&prompt=none"),g=0,v=Object.keys(r);g0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!this.inImplicitFlow){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).");var n={},r=null;"string"==typeof i?r=i:"object"==typeof i&&(n=i),this.createLoginUrl(t,r,null,!1,n).then(this.config.openUri).catch(function(t){console.error("Error in initImplicitFlow",t),e.inImplicitFlow=!1})}}},{key:"initImplicitFlow",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";""!==this.loginUrl?this.initImplicitFlowInternal(t,i):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"discovery_document_loaded"===e.type})).subscribe(function(n){return e.initImplicitFlowInternal(t,i)})}},{key:"resetImplicitFlow",value:function(){this.inImplicitFlow=!1}},{key:"callOnTokenReceivedIfExists",value:function(e){var t=this;if(e.onTokenReceived){var i={idClaims:t.getIdentityClaims(),idToken:t.getIdToken(),accessToken:t.getAccessToken(),state:t.state};e.onTokenReceived(i)}}},{key:"storeAccessTokenResponse",value:function(e,t,i,n,r){var o=this;if(this._storage.setItem("access_token",e),n&&!Array.isArray(n)?this._storage.setItem("granted_scopes",JSON.stringify(n.split(" "))):n&&Array.isArray(n)&&this._storage.setItem("granted_scopes",JSON.stringify(n)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){var a=1e3*i,s=this.dateTimeService.new().getTime()+a;this._storage.setItem("expires_at",""+s)}t&&this._storage.setItem("refresh_token",t),r&&r.forEach(function(e,t){o._storage.setItem(t,e)})}},{key:"tryLogin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"code"===this.config.responseType?this.tryLoginCodeFlow(e).then(function(e){return!0}):this.tryLoginImplicitFlow(e)}},{key:"parseQueryString",value:function(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):{}}},{key:"tryLoginCodeFlow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(e=e||{}).customHashFragment?e.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(t),n=i.code,r=i.state,o=i.session_state;if(!e.preventClearHashAfterLogin){var a=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,a)}var s=this.parseState(r),c=_slicedToArray(s,2),u=c[0],l=c[1];if(this.state=l,i.error){this.debug("error trying to login"),this.handleLoginError(e,i);var h=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(h),Promise.reject(h)}if(!e.disableNonceCheck){if(!u)return Promise.resolve();if(!e.disableOAuth2StateCheck&&!this.validateNonce(u)){var d=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(d),Promise.reject(d)}return this.storeSessionState(o),n?this.getTokenFromCode(n,e).then(function(e){return null}):Promise.resolve()}}},{key:"getCodePartsFromUrl",value:function(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):this.urlHelper.getHashFragmentParams()}},{key:"getTokenFromCode",value:function(e,t){var i,n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",e).set("redirect_uri",t.customRedirectUri||this.redirectUri);this.disablePKCE||((i=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"))?n=n.set("code_verifier",i):console.warn("No PKCE verifier found in oauth storage!"));return this.fetchAndProcessToken(n,t)}},{key:"fetchAndProcessToken",value:function(e,t){var i=this;t=t||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");var n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){var r=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));n=n.set("Authorization","Basic "+r)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise(function(r,o){if(i.customQueryParams){var a,s=_createForOfIteratorHelper(Object.getOwnPropertyNames(i.customQueryParams));try{for(s.s();!(a=s.n()).done;){var c=a.value;e=e.set(c,i.customQueryParams[c])}}catch(err){s.e(err)}finally{s.f()}}i.http.post(i.tokenEndpoint,e,{headers:n}).subscribe(function(e){i.debug("refresh tokenResponse",e),i.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||i.fallbackAccessTokenExpirationTimeInSec,e.scope,i.extractRecognizedCustomParameters(e)),i.oidc&&e.id_token?i.processIdToken(e.id_token,e.access_token,t.disableNonceCheck).then(function(t){i.storeIdToken(t),i.eventsSubject.next(new OAuthSuccessEvent("token_received")),i.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),r(e)}).catch(function(e){i.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),console.error("Error validating tokens"),console.error(e),o(e)}):(i.eventsSubject.next(new OAuthSuccessEvent("token_received")),i.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),r(e))},function(e){console.error("Error getting token",e),i.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),o(e)})})}},{key:"tryLoginImplicitFlow",value:function(){var e,t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e=(i=i||{}).customHashFragment?this.urlHelper.getHashFragmentParams(i.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);var n=e.state,r=this.parseState(n),o=_slicedToArray(r,2),a=o[0],s=o[1];if(this.state=s,e.error){this.debug("error trying to login"),this.handleLoginError(i,e);var c=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(c),Promise.reject(c)}var u=e.access_token,l=e.id_token,h=e.session_state,d=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!u)return Promise.resolve(!1);if(this.requestAccessToken&&!i.disableOAuth2StateCheck&&!n)return Promise.resolve(!1);if(this.oidc&&!l)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!h&&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&&!i.disableNonceCheck&&!this.validateNonce(a)){var f=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(f),Promise.reject(f)}return this.requestAccessToken&&this.storeAccessTokenResponse(u,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,d),this.oidc?this.processIdToken(l,u,i.disableNonceCheck).then(function(e){return i.validationHandler?i.validationHandler({accessToken:u,idClaims:e.idTokenClaims,idToken:e.idToken,state:n}).then(function(t){return e}):e}).then(function(e){return t.storeIdToken(e),t.storeSessionState(h),t.clearHashAfterLogin&&!i.preventClearHashAfterLogin&&t.clearLocationHash(),t.eventsSubject.next(new OAuthSuccessEvent("token_received")),t.callOnTokenReceivedIfExists(i),t.inImplicitFlow=!1,!0}).catch(function(e){return t.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),t.logger.error("Error validating tokens"),t.logger.error(e),Promise.reject(e)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!i.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(i),Promise.resolve(!0))}},{key:"parseState",value:function(e){var t=e,i="";if(e){var n=e.indexOf(this.config.nonceStateSeparator);n>-1&&(t=e.substr(0,n),i=e.substr(n+this.config.nonceStateSeparator.length))}return[t,i]}},{key:"validateNonce",value:function(e){var t;return(t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"))===e||(console.error("Validating access_token failed, wrong state/nonce.",t,e),!1)}},{key:"storeIdToken",value:function(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}},{key:"storeSessionState",value:function(e){this._storage.setItem("session_state",e)}},{key:"getSessionState",value:function(){return this._storage.getItem("session_state")}},{key:"handleLoginError",value:function(e,t){e.onLoginError&&e.onLoginError(t),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash()}},{key:"getClockSkewInMsec",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6e5;return this.clockSkewInSec?1e3*this.clockSkewInSec:e}},{key:"processIdToken",value:function(e,t){var i,n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.split("."),a=b64DecodeUnicode(this.padBase64(o[0])),s=JSON.parse(a),c=b64DecodeUnicode(this.padBase64(o[1])),u=JSON.parse(c);if(i=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(u.aud)){if(u.aud.every(function(e){return e!==n.clientId})){var l="Wrong audience: "+u.aud.join(",");return this.logger.warn(l),Promise.reject(l)}}else if(u.aud!==this.clientId){var h="Wrong audience: "+u.aud;return this.logger.warn(h),Promise.reject(h)}if(!u.sub){var d="No sub claim in id_token";return this.logger.warn(d),Promise.reject(d)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==u.sub){var f="After refreshing, we got an id_token for another user (sub). Expected sub: ".concat(this.silentRefreshSubject,", received sub: ").concat(u.sub);return this.logger.warn(f),Promise.reject(f)}if(!u.iat){var p="No iat claim in id_token";return this.logger.warn(p),Promise.reject(p)}if(!this.skipIssuerCheck&&u.iss!==this.issuer){var g="Wrong issuer: "+u.iss;return this.logger.warn(g),Promise.reject(g)}if(!r&&u.nonce!==i){var v="Wrong nonce: "+u.nonce;return this.logger.warn(v),Promise.reject(v)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!u.at_hash){var m="An at_hash is needed!";return this.logger.warn(m),Promise.reject(m)}var y=this.dateTimeService.now(),_=1e3*u.iat,b=1e3*u.exp,w=this.getClockSkewInMsec();if(_-w>=y||b+w<=y){var A="Token has expired";return console.error(A),console.error({now:y,issuedAtMSec:_,expiresAtMSec:b}),Promise.reject(A)}var k={accessToken:t,idToken:e,jwks:this.jwks,idTokenClaims:u,idTokenHeader:s,loadKeys:function(){return n.loadJwks()}};return this.disableAtHashCheck?this.checkSignature(k).then(function(t){return{idToken:e,idTokenClaims:u,idTokenClaimsJson:c,idTokenHeader:s,idTokenHeaderJson:a,idTokenExpiresAt:b}}):this.checkAtHash(k).then(function(t){if(!n.disableAtHashCheck&&n.requestAccessToken&&!t){var i="Wrong at_hash";return n.logger.warn(i),Promise.reject(i)}return n.checkSignature(k).then(function(t){var i={idToken:e,idTokenClaims:u,idTokenClaimsJson:c,idTokenHeader:s,idTokenHeaderJson:a,idTokenExpiresAt:b};return n.disableAtHashCheck?i:n.checkAtHash(k).then(function(e){if(n.requestAccessToken&&!e){var t="Wrong at_hash";return n.logger.warn(t),Promise.reject(t)}return i})})})}},{key:"getIdentityClaims",value:function(){var e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}},{key:"getGrantedScopes",value:function(){var e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}},{key:"getIdToken",value:function(){return this._storage?this._storage.getItem("id_token"):null}},{key:"padBase64",value:function(e){for(;e.length%4!=0;)e+="=";return e}},{key:"getAccessToken",value:function(){return this._storage?this._storage.getItem("access_token"):null}},{key:"getRefreshToken",value:function(){return this._storage?this._storage.getItem("refresh_token"):null}},{key:"getAccessTokenExpiration",value:function(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}},{key:"getAccessTokenStoredAt",value:function(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}},{key:"getIdTokenStoredAt",value:function(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}},{key:"getIdTokenExpiration",value:function(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}},{key:"hasValidAccessToken",value:function(){if(this.getAccessToken()){var e=this._storage.getItem("expires_at"),t=this.dateTimeService.new();return!(e&&parseInt(e,10)=0&&null!==this._storage.getItem(e)?JSON.parse(this._storage.getItem(e)):null}},{key:"authorizationHeader",value:function(){return"Bearer "+this.getAccessToken()}},{key:"logOut",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!1;"boolean"==typeof t&&(n=t,t={});var r=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(function(t){return e._storage.removeItem(t)}),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),this.logoutUrl&&!n&&(r||this.postLogoutRedirectUri)){var 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(r)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{var a=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec});r&&(a=a.set("id_token_hint",r));var s=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";for(var c in s&&(a=a.set("post_logout_redirect_uri",s),i&&(a=a.set("state",i))),t)a=a.set(c,t[c]);o=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+a.toString()}this.config.openUri(o)}}},{key:"createAndSaveNonce",value:function(){var e=this;return this.createNonce().then(function(t){return e.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",t):e._storage.setItem("nonce",t),t})}},{key:"ngOnDestroy",value:function(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();var e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();var t=this.document.getElementById(this.sessionCheckIFrameName);t&&t.remove()}},{key:"createNonce",value:function(){var e=this;return new Promise(function(t){if(e.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",n=45,r="",o="undefined"==typeof self?null:self.crypto||self.msCrypto;if(o){var a=new Uint8Array(n);o.getRandomValues(a),a.map||(a.map=Array.prototype.map),a=a.map(function(e){return i.charCodeAt(e%i.length)}),r=String.fromCharCode.apply(null,a)}else for(;00&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"code"===this.responseType?this.initCodeFlow(e,t):this.initImplicitFlow(e,t)}},{key:"initCodeFlow",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};""!==this.loginUrl?this.initCodeFlowInternal(t,i):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"discovery_document_loaded"===e.type})).subscribe(function(n){return e.initCodeFlowInternal(t,i)})}},{key:"initCodeFlowInternal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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).");var i={},n=null;"string"==typeof t?n=t:"object"==typeof t&&(i=t),this.createLoginUrl(e,n,null,!1,i).then(this.config.openUri).catch(function(e){console.error("Error in initAuthorizationCodeFlow"),console.error(e)})}},{key:"createChallangeVerifierPairForPKCE",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.crypto){e.next=2;break}throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");case 2:return e.next=4,this.createNonce();case 4:return t=e.sent,e.t0=base64UrlEncode,e.next=8,this.crypto.calcHash(t,"sha-256");case 8:return e.t1=e.sent,e.t2=(0,e.t0)(e.t1),e.t3=t,e.abrupt("return",[e.t2,e.t3]);case 12:case"end":return e.stop()}},e,this)}))}},{key:"extractRecognizedCustomParameters",value:function(e){var t=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(function(i){e[i]&&t.set(i,JSON.stringify(e[i]))}),t):t}},{key:"revokeTokenAndLogout",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.revocationEndpoint,r=this.getAccessToken(),o=this.getRefreshToken();if(r){var a=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}),s=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){var c=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));s=s.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(a=a.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(a=a.set("client_secret",this.dummyClientSecret)),this.customQueryParams){var u,l=_createForOfIteratorHelper(Object.getOwnPropertyNames(this.customQueryParams));try{for(l.s();!(u=l.n()).done;){var h=u.value;a=a.set(h,this.customQueryParams[h])}}catch(err){l.e(err)}finally{l.f()}}return new Promise(function(c,u){var l,h;if(r){var d=a.set("token",r).set("token_type_hint","access_token");l=e.http.post(n,d,{headers:s})}else l=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);if(o){var f=a.set("token",o).set("token_type_hint","refresh_token");h=e.http.post(n,f,{headers:s})}else h=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);i&&(l=l.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return 0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)})),h=h.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return 0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)}))),(0,rxjs__WEBPACK_IMPORTED_MODULE_16__.aj)([l,h]).subscribe(function(i){e.logOut(t),c(i),e.logger.info("Token successfully revoked")},function(t){e.logger.error("Error revoking token",t),e.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",t)),u(t)})})}}},{key:"clearLocationHash",value:function(){""!=location.hash&&(location.hash="")}}]),i}(AuthConfig);return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_17__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DateTimeProvider))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),OAuthModuleConfig=function e(){_classCallCheck(this,e)},OAuthResourceServerConfig=function e(){_classCallCheck(this,e)},OAuthResourceServerErrorHandler=function e(){_classCallCheck(this,e)},OAuthNoopResourceServerErrorHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"handleError",value:function(e){return(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)}}]),e}(),DefaultOAuthInterceptor=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.oAuthService=t,this.errorHandler=i,this.moduleConfig=n}return _createClass(e,[{key:"checkUrl",value:function(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(function(t){return e.toLowerCase().startsWith(t.toLowerCase())})}},{key:"intercept",value:function(e,t){var i=this,n=e.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(n)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_18__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return!!e})),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(function(e){return i.oAuthService.getAccessToken()}))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.zg)(function(n){if(n){var r=e.headers.set("Authorization","Bearer "+n);e=e.clone({headers:r})}return t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return i.errorHandler.handleError(e)}))})):t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return i.errorHandler.handleError(e)})):t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthModuleConfig,8))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),NullValidationHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateSignature",value:function(e){return Promise.resolve(null)}},{key:"validateAtHash",value:function(e){return Promise.resolve(!0)}}]),e}();function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}var OAuthModule=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NullValidationHandler;return{ngModule:e,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:i},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:t},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_17__.ez]]}),e}(),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",JwksValidationHandler=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),e=t.call(this),console.error(err),e}return i}(NullValidationHandler),AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("AUTH_CONFIG")},82051:function(e,t){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function t(e,t,i){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){a(n.response,t,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function n(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(i)}}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,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,o,a){var s=r.URL||r.webkitURL,c=document.createElement("a");c.download=o=o||e.name||"download",c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?n(c):i(c.href)?t(e,o,a):n(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),r);else if(i(e))t(e,r,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){n(a)})}}:function(e,i,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return t(e,i,n);var s="application/octet-stream"===e.type,c=/constructor/i.test(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||s&&c||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},l.readAsDataURL(e)}else{var h=r.URL||r.webkitURL,d=h.createObjectURL(e);a?a.location=d:location.href=d,a=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});r.saveAs=a.saveAs=a,e.exports=a})?i.apply(t,[]):i)||(e.exports=n)},30146:function(e,t,i){"use strict";i.d(t,{nu:function(){return U},Co:function(){return G}});var n=i(64762),r=i(31572),o=i(16073),a=i(71522),s=i(4786),c=i(66283),u=i(75842),l=i(78512),h=i(40878),d=i(31305),f=i(55959),p=i(44689),g=i(79996),v=i(56238),m=i(60509),y=i(25416),_=i(90611),b=i(43835),w=i(66599),A=i(15980),k=i(29236),C=i(43691),T=i(67806),E=i(36922),S=i(61511),I=i(4253),R=i(24621),x=["searchSelectInput"],O=["innerSelectSearch"];function P(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"mat-checkbox",9),r.NdJ("change",function(e){return r.CHM(i),r.oxw()._emitSelectAllBooleanToParent(e.checked)}),r.qZA()}if(2&e){var n=r.oxw();r.Q6J("color",null==n.matFormField?null:n.matFormField.color)("checked",n.toggleAllCheckboxChecked)("indeterminate",n.toggleAllCheckboxIndeterminate)("matTooltip",n.toggleAllCheckboxTooltipMessage)("matTooltipPosition",n.toogleAllCheckboxTooltipPosition)}}function D(e,t){1&e&&r._UZ(0,"mat-spinner",10)}function M(e,t){1&e&&r.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function L(e,t){1&e&&(r.TgZ(0,"mat-icon"),r._uU(1,"close"),r.qZA())}function N(e,t){if(1&e){var i=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){return r.CHM(i),r.oxw()._reset(!0)}),r.YNc(1,M,1,0,"ng-content",12),r.YNc(2,L,2,0,"ng-template",null,13,r.W1O),r.qZA()}if(2&e){var n=r.MAs(3),o=r.oxw();r.xp6(1),r.Q6J("ngIf",o.clearIcon)("ngIfElse",n)}}function z(e,t){if(1&e&&(r.TgZ(0,"div",14),r._uU(1),r.qZA()),2&e){var i=r.oxw();r.xp6(1),r.hij(" ",i.noEntriesFoundLabel,"\n")}}var Z,B=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],F=function(e,t){return{"mat-select-search-inner-multiple":e,"mat-select-search-inner-toggle-all":t}},q=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"],H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","ngxMatSelectSearchClear",""]]}),e}(),U=function(){var e=Z=function(){function e(t,i,n){var a=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=arguments.length>4?arguments[4]:void 0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;_classCallCheck(this,e),this.matSelect=t,this.changeDetectorRef=i,this._viewportRuler=n,this.matOption=s,this.liveAnnouncer=c,this.matFormField=u,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new r.vpe,this.onTouched=function(e){},this._options$=new l.X(null),this.optionsList$=this._options$.pipe((0,p.w)(function(e){return e?e.changes.pipe((0,g.U)(function(e){return e.toArray()}),(0,v.O)(e.toArray())):(0,h.of)(null)})),this.optionsLength$=this.optionsList$.pipe((0,g.U)(function(e){return e?e.length:0})),this._formControl=new o.NI(""),this._showNoEntriesFound$=(0,d.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,g.U)(function(e){var t=_slicedToArray(e,2),i=t[0],n=t[1];return a.noEntriesFoundLabel&&i&&n===a.getOptionsLengthOffset()})),this._onDestroy=new f.xQ}return _createClass(e,[{key:"isInsideMatOption",get:function(){return!!this.matOption}},{key:"value",get:function(){return this._formControl.value}},{key:"_options",get:function(){return this._options$.getValue()},set:function(e){this._options$.next(e)}},{key:"ngOnInit",value:function(){var e=this,t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,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,m.g)(1),(0,y.R)(this._onDestroy)).subscribe(function(t){t?(e.updateInputWidth(),e.disableInitialFocus||e._focus()):e.clearSearchInput&&e._reset()}),this.matSelect.openedChange.pipe((0,_.q)(1)).pipe((0,y.R)(this._onDestroy)).subscribe(function(){e.matSelect._keyManager?e.matSelect._keyManager.change.pipe((0,y.R)(e._onDestroy)).subscribe(function(){return e.adjustScrollTopToFitActiveOptionIntoView()}):console.log("_keyManager was not initialized."),e._options=e.matSelect.options;var t=e._options.toArray()[e.getOptionsLengthOffset()];e._options.changes.pipe((0,y.R)(e._onDestroy)).subscribe(function(){setTimeout(function(){var i=e._options.toArray(),n=i[e.getOptionsLengthOffset()],r=e.matSelect._keyManager;r&&e.matSelect.panelOpen&&(!!e.matSelect.compareWith(t,n)&&r.activeItem&&i.find(function(t){return e.matSelect.compareWith(t,r.activeItem)})||r.setFirstItemActive(),setTimeout(function(){e.updateInputWidth()}),e.disableScrollToActiveOnOptionsChanged||e.adjustScrollTopToFitActiveOptionIntoView()),t=n})})}),this._showNoEntriesFound$.pipe((0,y.R)(this._onDestroy)).subscribe(function(t){e.matOption&&(t?e.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):e.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,y.R)(this._onDestroy)).subscribe(function(){e.matSelect.panelOpen&&e.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,y.R)(this._onDestroy)).subscribe(function(){e.changeDetectorRef.markForCheck()})}},{key:"_emitSelectAllBooleanToParent",value:function(e){this.toggleAll.emit(e)}},{key:"ngOnDestroy",value:function(){this._onDestroy.next(),this._onDestroy.complete()}},{key:"_isToggleAllCheckboxVisible",value:function(){return this.matSelect.multiple&&this.showToggleAllCheckbox}},{key:"_handleKeydown",value:function(e){var t=this;(e.key&&1===e.key.length||e.keyCode>=u.A&&e.keyCode<=u.Z||e.keyCode>=u.xE&&e.keyCode<=u.aO||e.keyCode===u.L_||this.preventHomeEndKeyPropagation&&(e.keyCode===u.Sd||e.keyCode===u.uR))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.keyCode===u.K5&&setTimeout(function(){return t._focus()}),!0===this.enableClearOnEscapePressed&&e.keyCode===u.hY&&this.value&&(this._reset(!0),e.stopPropagation())}},{key:"_handleKeyup",value:function(e){if(e.keyCode===u.LH||e.keyCode===u.JH){var t=this.matSelect._getAriaActiveDescendant(),i=this._options.toArray().findIndex(function(e){return e.id===t});if(-1!==i){var n=this._options.toArray()[i];this.liveAnnouncer.announce(n.viewValue+" "+this.getAriaIndex(i)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}},{key:"getAriaIndex",value:function(e){return 0===this.getOptionsLengthOffset()?e+1:e}},{key:"getAriaLength",value:function(){return this._options.toArray().length-this.getOptionsLengthOffset()}},{key:"writeValue",value:function(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}},{key:"onBlur",value:function(){this.onTouched()}},{key:"registerOnChange",value:function(e){var t=this;this._formControl.valueChanges.pipe((0,b.h)(function(e){return e!==t._lastExternalInputValue}),(0,w.b)(function(){return t._lastExternalInputValue=void 0}),(0,y.R)(this._onDestroy)).subscribe(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"_focus",value:function(){if(this.searchSelectInput&&this.matSelect.panel){var e=this.matSelect.panel.nativeElement,t=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=t}}},{key:"_reset",value:function(e){this._formControl.setValue(""),e&&this._focus()}},{key:"initMultipleHandling",value:function(){var e=this;this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,y.R)(this._onDestroy)).subscribe(function(t){var i=!1;if(e.matSelect.multiple&&(e.alwaysRestoreSelectedOptionsMulti||e._formControl.value&&e._formControl.value.length)&&e.previousSelectedValues&&Array.isArray(e.previousSelectedValues)){t&&Array.isArray(t)||(t=[]);var n=e.matSelect.options.map(function(e){return e.value});e.previousSelectedValues.forEach(function(r){t.some(function(t){return e.matSelect.compareWith(t,r)})||n.some(function(t){return e.matSelect.compareWith(t,r)})||(t.push(r),i=!0)})}e.previousSelectedValues=t,i&&e.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}},{key:"adjustScrollTopToFitActiveOptionIntoView",value:function(){if(this.matSelect.panel&&this.matSelect.options.length>0){var e=this.getMatOptionHeight(),t=this.matSelect._keyManager.activeItemIndex||0,i=(0,a.CB)(t,this.matSelect.options,this.matSelect.optionGroups),n=(this.matOption?-1:0)+i+t,r=this.matSelect.panel.nativeElement.scrollTop,o=this.innerSelectSearch.nativeElement.offsetHeight,s=Math.floor((256-o)/e),c=Math.round((r+o)/e)-1;c>=n?this.matSelect.panel.nativeElement.scrollTop=n*e:c+s<=n&&(this.matSelect.panel.nativeElement.scrollTop=(n+1)*e-(256-o))}}},{key:"updateInputWidth",value:function(){if(this.innerSelectSearch&&this.innerSelectSearch.nativeElement){for(var e,t=this.innerSelectSearch.nativeElement;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){e=t;break}e&&(this.innerSelectSearch.nativeElement.style.width=e.clientWidth+"px")}}},{key:"getMatOptionHeight",value:function(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}},{key:"getOptionsLengthOffset",value:function(){return this.matOption?1:0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.gD),r.Y36(r.sBO),r.Y36(I.rL),r.Y36(a.ey,8),r.Y36(R.Kd),r.Y36(c.KE,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,t,i){var n;(1&e&&r.Suo(i,H,5),2&e)&&(r.iGM(n=r.CRH())&&(t.clearIcon=n.first))},viewQuery:function(e,t){var i;(1&e&&(r.Gf(x,7,r.SBq),r.Gf(O,7,r.SBq)),2&e)&&(r.iGM(i=r.CRH())&&(t.searchSelectInput=i.first),r.iGM(i=r.CRH())&&(t.innerSelectSearch=i.first))},hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("mat-select-search-inside-mat-option",t.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[r._Bn([{provide:o.JU,useExisting:(0,r.Gpc)(function(){return Z}),multi:!0}])],ngContentSelectors:q,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(e,t){1&e&&(r.F$t(B),r._UZ(0,"input",0),r.TgZ(1,"div",1,2),r.YNc(3,P,1,5,"mat-checkbox",3),r.TgZ(4,"input",4,5),r.NdJ("keydown",function(e){return t._handleKeydown(e)})("keyup",function(e){return t._handleKeyup(e)})("blur",function(){return t.onBlur()}),r.qZA(),r.YNc(6,D,1,0,"mat-spinner",6),r.YNc(7,N,4,2,"button",7),r.Hsn(8),r.qZA(),r.YNc(9,z,2,1,"div",8),r.ALo(10,"async")),2&e&&(r.xp6(1),r.Q6J("ngClass",r.WLB(11,F,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),r.xp6(2),r.Q6J("ngIf",t._isToggleAllCheckboxVisible()),r.xp6(1),r.Q6J("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),r.uIk("aria-label",t.ariaLabel),r.xp6(2),r.Q6J("ngIf",t.searching),r.xp6(1),r.Q6J("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),r.xp6(2),r.Q6J("ngIf",r.lcZ(10,9,t._showNoEntriesFound$)))},directives:[S.mk,S.O5,o.Fj,o.JJ,o.oH,k.oG,E.gM,T.$g,A.lW,C.Hw],pipes:[S.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}),e=Z=(0,n.gn)([(0,n.fM)(0,(0,r.tBr)(s.gD)),(0,n.fM)(3,(0,r.FiY)()),(0,n.fM)(3,(0,r.tBr)(a.ey)),(0,n.fM)(5,(0,r.FiY)()),(0,n.fM)(5,(0,r.tBr)(c.KE))],e)}(),G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[S.ez,o.UX,A.ot,k.p9,C.Ps,T.Cq,E.AV]]}),e}()},40963:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,i,n,r){n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(i=i||"&");var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u=0?(l=p.substr(0,g),h=p.substr(g+1)):(l=p,h=""),d=decodeURIComponent(l),f=decodeURIComponent(h),t(o,d)?Array.isArray(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o}},15341:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,n,r){return i=i||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var o=encodeURIComponent(t(r))+n;return Array.isArray(e[r])?e[r].map(function(e){return o+encodeURIComponent(t(e))}).join(i):o+encodeURIComponent(t(e[r]))}).join(i):r?encodeURIComponent(t(r))+n+encodeURIComponent(t(e)):""}},96577:function(e,t,i){"use strict";i(40963),t.stringify=i(15341)},78512:function(e,t,i){"use strict";i.d(t,{X:function(){return o}});var n=i(55959),r=i(13895),o=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this))._value=e,n}return _createClass(i,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(i.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(i.prototype),"next",this).call(this,this._value=e)}}]),i}(n.xQ)},99867:function(e,t,i){"use strict";i.d(t,{d:function(){return n}});var n=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this)).parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return _createClass(i,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),i}(i(96673).L)},3103:function(e,t,i){"use strict";i.d(t,{P:function(){return a}});var n=i(70653),r=i(40878),o=i(31225),a=function(){var e=function(){function e(t,i,n){_classCallCheck(this,e),this.kind=t,this.value=i,this.error=n,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}},{key:"accept",value:function(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},48318:function(e,t,i){"use strict";i.d(t,{y:function(){return u}});var n=i(96673),r=i(55331),o=i(57498),a=i(56197),s=i(13392),c=i(51484),u=function(){var e=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var i=new e;return i.source=this,i.operator=t,i}},{key:"subscribe",value:function(e,t,i){var a=this.operator,s=function(e,t,i){if(e){if(e instanceof n.L)return e;if(e[r.b])return e[r.b]()}return e||t||i?new n.L(e,t,i):new n.L(o.c)}(e,t,i);if(s.add(a?a.call(s,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,i=t.closed,r=t.destination,o=t.isStopped;if(i||o)return!1;e=r&&r instanceof n.L?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var i=this;return new(t=l(t))(function(t,n){var r;r=i.subscribe(function(t){try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:a.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(i.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(i.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==n&&n>0||null===n&&this.delay>0?_get(_getPrototypeOf(i.prototype),"requestAsyncId",this).call(this,e,t,n):e.flush(this)}}]),i}(i(8277).o),o=new(function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return i}(i(91098).v))(r),a=i(87570),s=i(96673),c=i(3103),u=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck(this,i),(r=t.call(this,e)).scheduler=n,r.delay=o,r}return _createClass(i,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(i.dispatch,this.delay,new l(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(c.P.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(c.P.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,i=e.destination;t.observe(i),this.unsubscribe()}}]),i}(s.L),l=function e(t,i){_classCallCheck(this,e),this.notification=t,this.destination=i},h=i(13895),d=i(19291),f=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,i),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=n<1?1:n,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return _createClass(i,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),_get(_getPrototypeOf(i.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new p(this._getNow(),e)),this._trimBufferThenGetEvents(),_get(_getPrototypeOf(i.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,i=this._infiniteTimeWindow,n=i?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=n.length;if(this.closed)throw new h.N;if(this.isStopped||this.hasError?t=a.w.EMPTY:(this.observers.push(e),t=new d.W(this,e)),r&&e.add(e=new u(e,r)),i)for(var s=0;st&&(o=Math.max(o,r-t)),o>0&&n.splice(0,o),n}}]),i}(n.xQ),p=function e(t,i){_classCallCheck(this,e),this.time=t,this.value=i}},55959:function(e,t,i){"use strict";i.d(t,{Yc:function(){return u},xQ:function(){return l}});var n=i(48318),r=i(96673),o=i(87570),a=i(13895),s=i(19291),c=i(55331),u=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var n;return _classCallCheck(this,i),(n=t.call(this,e)).destination=e,n}return i}(r.L),l=function(){var e=function(e){_inherits(i,e);var t=_createSuper(i);function i(){var e;return _classCallCheck(this,i),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(i,[{key:c.b,value:function(){return new u(this)}},{key:"lift",value:function(e){var t=new h(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new a.N;if(!this.isStopped)for(var t=this.observers,i=t.length,n=t.slice(),r=0;r1?Array.prototype.slice.call(arguments):e)},n,i)})}function c(e,t,i,n,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,i,r),o=function(){return a.removeEventListener(t,i,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,i),o=function(){return s.off(t,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(t,i),o=function(){return u.removeListener(t,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return(!(0,o.k)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=r.P),new n.y(function(i){return i.add(t.schedule(s,e,{subscriber:i,counter:0,period:e})),i})}function s(e){var t=e.subscriber,i=e.counter,n=e.period;t.next(i),this.schedule({subscriber:t,counter:i+1,period:n},n)}},31906:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var n=i(48318),r=i(76163),o=i(97471),a=i(99342);function s(){for(var e=arguments.length,t=new Array(e),i=0;i1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof u&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof n.y?t[0]:(0,o.J)(s)((0,a.n)(t,c))}},40878:function(e,t,i){"use strict";i.d(t,{of:function(){return a}});var n=i(76163),r=i(99342),o=i(62570);function a(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,s=-1;return(0,o.k)(t)?s=Number(t)<1?1:Number(t):(0,a.K)(t)&&(i=t),(0,a.K)(i)||(i=r.P),new n.y(function(t){var n=(0,o.k)(e)?e:+e-i.now();return i.schedule(c,n,{index:0,period:s,subscriber:t})})}function c(e){var t=e.index,i=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}}},30810:function(e,t,i){"use strict";i.d(t,{e:function(){return u}});var n=i(48569),r=i(59829),o=i(6268),a=function(){function e(t){_classCallCheck(this,e),this.durationSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.durationSelector))}}]),e}(),s=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).durationSelector=n,r.hasValue=!1,r}return _createClass(i,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(n){return this.destination.error(n)}var i=(0,o.D)(this,t);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,i=this.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,i,n){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),i}(r.L),c=i(81110);function u(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.P;return t=function(){return(0,c.H)(e,i)},function(e){return e.lift(new a(t))}}},47727:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});var n=i(59829),r=i(99867),o=i(6268);function a(e){return function(t){var i=new s(e),n=t.lift(i);return i.caught=n}}var s=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.selector,this.caught))}}]),e}(),c=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).selector=n,o.caught=r,o}return _createClass(i,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(s){return void _get(_getPrototypeOf(i.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var n=new r.d(this,void 0,void 0);this.add(n);var a=(0,o.D)(this,t,void 0,void 0,n);a!==n&&this.add(a)}}}]),i}(n.L)},436:function(e,t,i){"use strict";i.d(t,{b:function(){return r}});var n=i(73982);function r(e,t){return(0,n.zg)(e,t,1)}},47701:function(e,t,i){"use strict";i.d(t,{b:function(){return o}});var n=i(96673),r=i(48569);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(i){return i.lift(new a(e,t))}}var a=function(){function e(t,i){_classCallCheck(this,e),this.dueTime=t,this.scheduler=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(i,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),i}(n.L);function c(e){e.debouncedNext()}},7768:function(e,t,i){"use strict";i.d(t,{d:function(){return r}});var n=i(96673);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.defaultValue))}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).defaultValue=n,r.isEmpty=!0,r}return _createClass(i,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),i}(n.L)},60509:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var n=i(48569),r=i(38802),o=i(96673),a=i(3103);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.P,i=(0,r.J)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(i,t))}}var c=function(){function e(t,i){_classCallCheck(this,e),this.delay=t,this.scheduler=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.delay,this.scheduler))}}]),e}(),u=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).delay=n,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(i,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(i.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,i=new l(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(a.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,i=t.queue,n=e.scheduler,r=e.destination;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(r);if(i.length>0){var o=Math.max(0,i[0].time-n.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),i}(o.L),l=function e(t,i){_classCallCheck(this,e),this.time=t,this.notification=i}},98720:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i(96673);function r(e,t){return function(i){return i.lift(new o(e,t))}}var o=function(){function e(t,i){_classCallCheck(this,e),this.compare=t,this.keySelector=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return _createClass(i,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var i=this.keySelector;t=i?i(e):e}catch(r){return this.destination.error(r)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}]),i}(n.L)},43835:function(e,t,i){"use strict";i.d(t,{h:function(){return r}});var n=i(96673);function r(e,t){return function(i){return i.lift(new o(e,t))}}var o=function(){function e(t,i){_classCallCheck(this,e),this.predicate=t,this.thisArg=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).predicate=n,o.thisArg=r,o.count=0,o}return _createClass(i,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}]),i}(n.L)},11520:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var n=i(96673),r=i(87570);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.callback))}}]),e}(),s=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var o;return _classCallCheck(this,i),(o=t.call(this,e)).add(new r.w(n)),o}return i}(n.L)},3530:function(e,t,i){"use strict";i.d(t,{P:function(){return u}});var n=i(39665),r=i(43835),o=i(90611),a=i(7768),s=i(90790),c=i(13392);function u(e,t){var i=arguments.length>=2;return function(u){return u.pipe(e?(0,r.h)(function(t,i){return e(t,i,u)}):c.y,(0,o.q)(1),i?(0,a.d)(t):(0,s.T)(function(){return new n.K}))}}},79996:function(e,t,i){"use strict";i.d(t,{U:function(){return r}});var n=i(96673);function r(e,t){return function(i){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new o(e,t))}}var o=function(){function e(t,i){_classCallCheck(this,e),this.project=t,this.thisArg=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r){var o;return _classCallCheck(this,i),(o=t.call(this,e)).project=n,o.count=0,o.thisArg=r||_assertThisInitialized(o),o}return _createClass(i,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}]),i}(n.L)},88414:function(e,t,i){"use strict";i.d(t,{h:function(){return r}});var n=i(96673);function r(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.value=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.value))}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).value=n,r}return _createClass(i,[{key:"_next",value:function(e){this.destination.next(this.value)}}]),i}(n.L)},97471:function(e,t,i){"use strict";i.d(t,{J:function(){return o}});var n=i(73982),r=i(13392);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,n.zg)(r.y,e)}},73982:function(e,t,i){"use strict";i.d(t,{zg:function(){return c}});var n=i(6268),r=i(59829),o=i(99867),a=i(79996),s=i(19764);function c(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(n){return n.pipe(c(function(i,n){return(0,s.D)(e(i,n)).pipe((0,a.U)(function(e,r){return t(i,e,n,r)}))},i))}:("number"==typeof t&&(i=t),function(t){return t.lift(new u(e,i))})}var u=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}]),e}(),l=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,i),(r=t.call(this,e)).project=n,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(i,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),i}(r.L)},21564:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i(96673);function r(){return function(e){return e.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var i=this.connectable;i._refCount++;var n=new a(e,i),r=t.subscribe(n);return n.closed||(n.connection=i.connect()),r}}]),e}(),a=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).connectable=n,r}return _createClass(i,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var i=this.connection,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}else this.connection=null}}]),i}(n.L)},1055:function(e,t,i){"use strict";i.d(t,{B:function(){return s}});var n=i(42875),r=i(21564),o=i(55959);function a(){return new o.xQ}function s(){return function(e){return(0,r.x)()((t=a,function(e){var i;i="function"==typeof t?t:function(){return t};var r=Object.create(e,n.N);return r.source=e,r.subjectFactory=i,r})(e));var t}}},68303:function(e,t,i){"use strict";i.d(t,{d:function(){return r}});var n=i(66994);function r(e,t,i){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:i},function(e){return e.lift(function(e){var t,i,r=e.bufferSize,o=void 0===r?Number.POSITIVE_INFINITY:r,a=e.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,c=e.refCount,u=e.scheduler,l=0,h=!1,d=!1;return function(e){l++,t&&!h||(h=!1,t=new n.t(o,s,u),i=e.subscribe({next:function(e){t.next(e)},error:function(e){h=!0,t.error(e)},complete:function(){d=!0,i=void 0,t.complete()}}));var r=t.subscribe(this);this.add(function(){l--,r.unsubscribe(),i&&!d&&c&&0===l&&(i.unsubscribe(),i=void 0,t=void 0)})}}(r))}}},56238:function(e,t,i){"use strict";i.d(t,{O:function(){return o}});var n=i(47930),r=i(76163);function o(){for(var e=arguments.length,t=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:c;return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.errorFactory))}}]),e}(),s=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e)).errorFactory=n,r.hasValue=!1,r}return _createClass(i,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),i}(r.L);function c(){return new n.K}},29085:function(e,t,i){"use strict";i.d(t,{V:function(){return h}});var n=i(48569),r=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),o=i(38802),a=i(59829),s=i(6268),c=function(){function e(t,i,n,r){_classCallCheck(this,e),this.waitFor=t,this.absoluteTimeout=i,this.withObservable=n,this.scheduler=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),e}(),u=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n,r,o,a){var s;return _classCallCheck(this,i),(s=t.call(this,e)).absoluteTimeout=n,s.waitFor=r,s.withObservable=o,s.scheduler=a,s.action=null,s.scheduleTimeout(),s}return _createClass(i,[{key:"scheduleTimeout",value:function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(i.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(e){this.absoluteTimeout||this.scheduleTimeout(),_get(_getPrototypeOf(i.prototype),"_next",this).call(this,e)}},{key:"_unsubscribe",value:function(){this.action=null,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add((0,s.D)(e,t))}}]),i}(a.L),l=i(31225);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.P;return function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.P;return function(n){var r=(0,o.J)(e),a=r?+e-i.now():Math.abs(e);return n.lift(new c(a,r,t,i))}}(e,(0,l._)(new r),t)}},62570:function(e,t,i){"use strict";i.d(t,{r:function(){return o}});var n=i(48318),r=i(87570);function o(e,t){return new n.y(function(i){var n=new r.w,o=0;return n.add(t.schedule(function(){o!==e.length?(i.next(e[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});var n=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e,n)).scheduler=e,r.work=n,r.pending=!1,r}return _createClass(i,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),i)}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var i,n=!1;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),i}(function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){return _classCallCheck(this,i),t.call(this)}return _createClass(i,[{key:"schedule",value:function(e){return this}}]),i}(i(87570).w))},91098:function(e,t,i){"use strict";i.d(t,{v:function(){return r}});var n=function(){var e=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=i}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(i,t)}}]),e}();return e.now=function(){return Date.now()},e}(),r=function(e){_inherits(i,e);var t=_createSuper(i);function i(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.now;return _classCallCheck(this,i),(r=t.call(this,e,function(){return i.delegate&&i.delegate!==_assertThisInitialized(r)?i.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(i,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):_get(_getPrototypeOf(i.prototype),"schedule",this).call(this,e,t,n)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}}]),i}(n)},91741:function(e,t,i){"use strict";i.d(t,{r:function(){return r}});var n=function(e){_inherits(i,e);var t=_createSuper(i);function i(e,n){var r;return _classCallCheck(this,i),(r=t.call(this,e,n)).scheduler=e,r.work=n,r}return _createClass(i,[{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==n&&n>0?_get(_getPrototypeOf(i.prototype),"requestAsyncId",this).call(this,e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&n>0||null===n&&this.delay>0)return _get(_getPrototypeOf(i.prototype),"recycleAsyncId",this).call(this,e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),i}(i(8277).o),r=new(function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,i=this.actions,n=-1,r=i.length;e=e||i.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n2&&void 0!==arguments[2]?arguments[2]:0;return null!==n&&n>0?_get(_getPrototypeOf(i.prototype),"requestAsyncId",this).call(this,e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=s(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&n>0||null===n&&this.delay>0)return _get(_getPrototypeOf(i.prototype),"recycleAsyncId",this).call(this,e,t,n);0===e.actions.length&&(c(t),e.scheduled=void 0)}}]),i}(i(8277).o),l=new(function(e){_inherits(i,e);var t=_createSuper(i);function i(){return _classCallCheck(this,i),t.apply(this,arguments)}return _createClass(i,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,i=this.actions,n=-1,r=i.length;e=e||i.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n=0}},82056:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,{K:function(){return n}})},4710:function(e,t,i){"use strict";i.d(t,{b:function(){return r}});var n=i(48318);function r(e){return!!e&&(e instanceof n.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},5168:function(e,t,i){"use strict";function n(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}i.d(t,{t:function(){return n}})},76163:function(e,t,i){"use strict";function n(e){return e&&"function"==typeof e.schedule}i.d(t,{K:function(){return n}})},16015:function(e,t,i){"use strict";i.d(t,{s:function(){return l}});var n=i(30625),r=i(14294),o=i(25686),a=i(56197),s=i(59653),c=i(5168),u=i(82056),l=function(e){if(e&&"function"==typeof e[a.L])return l=e,function(e){var t=l[a.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,s.z)(e))return(0,n.V)(e);if((0,c.t)(e))return i=e,function(e){return i.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.z),e};if(e&&"function"==typeof e[o.hZ])return t=e,function(e){for(var i=t[o.hZ]();;){var n=i.next();if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof i.return&&e.add(function(){i.return&&i.return()}),e};var t,i,l,h=(0,u.K)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},30625:function(e,t,i){"use strict";i.d(t,{V:function(){return n}});var n=function(e){return function(t){for(var i=0,n=e.length;i4&&void 0!==arguments[4]?arguments[4]:new n.d(e,i,a);if(!s.closed)return t instanceof o.y?t.subscribe(s):(0,r.s)(t)(s)}},77632:function(e,t,i){"use strict";function n(e,t,i,n){return new(i||(i=Promise))(function(r,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}i.d(t,{mG:function(){return n}})},64762:function(e,t,i){"use strict";function n(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a}function r(e,t){return function(i,n){t(i,n,e)}}function o(e,t,i,n){return new(i||(i=Promise))(function(r,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}i.d(t,{gn:function(){return n},fM:function(){return r},mG:function(){return o}})},60306:function(e){"use strict";e.exports={i8:"3.0.0"}}},function(e){"use strict";e(e.s=73868)}])})(); \ No newline at end of file diff --git a/dist/apps/admin-gui/runtime-es2015.810eea43729ccbfd0db8.js b/dist/apps/admin-gui/runtime-es2015.810eea43729ccbfd0db8.js deleted file mode 100644 index 0444947f5..000000000 --- a/dist/apps/admin-gui/runtime-es2015.810eea43729ccbfd0db8.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,n,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var u=t[e]={id:e,loaded:!1,exports:{}};return r[e].call(u.exports,u,u.exports,o),u.loaded=!0,u.exports}o.m=r,e=[],o.O=function(n,r,t,u){if(!r){var a=1/0;for(f=0;f=u)&&Object.keys(o.O).every(function(e){return o.O[e](r[c])})?r.splice(c--,1):(i=!1,u0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[r,t,u]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var r in n)o.o(n,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(n,r){return o.f[r](e,n),n},[]))},o.u=function(e){return e+"-es2015."+{285:"751d166c412b8dc80541",300:"a828853dfe9786d61a8d",363:"9c3a7cea17cb338ca650",427:"1c911b592f126adfd085",579:"a7ecabb9fc862945e886",756:"191260c437bd1ee35217",827:"48873b00486d65bdb035",901:"5b604fcd09c050f65159"}[e]+".js"},o.miniCssF=function(e){return"styles.0e5555aa915d4ccb32cc.css"},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},o.l=function(e,r,t,u){if(n[e])n[e].push(r);else{var a,i;if(void 0!==t)for(var c=document.getElementsByTagName("script"),f=0;f=u)&&Object.keys(o.O).every(function(e){return o.O[e](r[c])})?r.splice(c--,1):(a=!1,u0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,t,u]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var r in n)o.o(n,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(n,r){return o.f[r](e,n),n},[]))},o.u=function(e){return e+"-es2015."+{285:"9193f58c245ff8f7ab70",300:"380c59923665a5c71713",363:"6854c45126452ae56e78",427:"e77dcafd30825535e3e2",579:"ddd625fed6493381003c",622:"821b26e4eb3cd47c7b63",756:"fd8c1941495de039c410",901:"888dd3ad307f2e618d50"}[e]+".js"},o.miniCssF=function(e){return"styles.b3d6539f05b86c28d056.css"},o.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},o.l=function(e,r,t,u){if(n[e])n[e].push(r);else{var i,a;if(void 0!==t)for(var c=document.getElementsByTagName("script"),d=0;d=u)&&Object.keys(o.O).every(function(e){return o.O[e](r[c])})?r.splice(c--,1):(i=!1,u0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[r,t,u]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var r in n)o.o(n,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(n,r){return o.f[r](e,n),n},[]))},o.u=function(e){return e+"-es5."+{285:"751d166c412b8dc80541",300:"a828853dfe9786d61a8d",363:"9c3a7cea17cb338ca650",427:"1c911b592f126adfd085",579:"a7ecabb9fc862945e886",756:"191260c437bd1ee35217",827:"48873b00486d65bdb035",901:"5b604fcd09c050f65159"}[e]+".js"},o.miniCssF=function(e){return"styles.0e5555aa915d4ccb32cc.css"},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},o.l=function(e,r,t,u){if(n[e])n[e].push(r);else{var a,i;if(void 0!==t)for(var c=document.getElementsByTagName("script"),f=0;f=u)&&Object.keys(o.O).every(function(e){return o.O[e](r[c])})?r.splice(c--,1):(a=!1,u0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,t,u]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var r in n)o.o(n,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce(function(n,r){return o.f[r](e,n),n},[]))},o.u=function(e){return e+"-es5."+{285:"9193f58c245ff8f7ab70",300:"380c59923665a5c71713",363:"6854c45126452ae56e78",427:"e77dcafd30825535e3e2",579:"ddd625fed6493381003c",622:"821b26e4eb3cd47c7b63",756:"fd8c1941495de039c410",901:"888dd3ad307f2e618d50"}[e]+".js"},o.miniCssF=function(e){return"styles.b3d6539f05b86c28d056.css"},o.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n={},o.l=function(e,r,t,u){if(n[e])n[e].push(r);else{var i,a;if(void 0!==t)for(var c=document.getElementsByTagName("script"),d=0;d.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(33,33,33,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#212121;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(33,33,33,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(33,33,33,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#212121}.mat-datepicker-toggle-active.mat-accent{color:#43a047}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#212121}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#43a047}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#212121}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#212121}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#212121}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#212121}.mat-icon.mat-accent{color:#43a047}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#212121}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#c4c4c4}.mat-progress-bar-buffer{background-color:#c4c4c4}.mat-progress-bar-fill:after{background-color:#212121}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#212121}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#43a047}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#212121}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#212121}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#212121}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#212121}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(33,33,33,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#212121}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#212121}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(33,33,33,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#43a047}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#f44336}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#212121;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:hsla(0,0%,96%,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#212121}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:hsla(0,0%,96%,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#212121}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#212121;color:#fff}.mat-toolbar.mat-accent{background:#43a047;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#43a047}.vo-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.vo-theme .mat-option{color:rgba(0,0,0,.87)}.vo-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.vo-theme .mat-option:focus:not(.mat-option-disabled),.vo-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.vo-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.vo-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.vo-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.vo-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.vo-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.vo-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.vo-theme .mat-pseudo-checkbox:after{color:#fafafa}.vo-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.vo-theme .mat-primary .mat-pseudo-checkbox-checked,.vo-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-accent .mat-pseudo-checkbox-checked,.vo-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.vo-theme .mat-pseudo-checkbox-checked,.vo-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.vo-theme .mat-warn .mat-pseudo-checkbox-checked,.vo-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.vo-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.vo-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.vo-theme.mat-app-background,.vo-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.vo-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.vo-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.vo-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.vo-theme .mat-badge-content{color:rgba(var(--vo-theme-primary-contrast-500),1);background:rgba(var(--vo-theme-primary-500),1)}.cdk-high-contrast-active .vo-theme .mat-badge-content{outline:1px solid;border-radius:0}.vo-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.vo-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.vo-theme .mat-badge{position:relative}.vo-theme .mat-badge-hidden .mat-badge-content{display:none}.vo-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.vo-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.vo-theme .mat-badge-content._mat-animation-noopable,.vo-theme .ng-animate-disabled .mat-badge-content{transition:none}.vo-theme .mat-badge-content.mat-badge-active{transform:none}.vo-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.vo-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.vo-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.vo-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.vo-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.vo-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.vo-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.vo-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.vo-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.vo-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.vo-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.vo-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.vo-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.vo-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.vo-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.vo-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-button,.vo-theme .mat-icon-button,.vo-theme .mat-stroked-button{color:inherit;background:transparent}.vo-theme .mat-button.mat-primary,.vo-theme .mat-icon-button.mat-primary,.vo-theme .mat-stroked-button.mat-primary{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-button.mat-accent,.vo-theme .mat-icon-button.mat-accent,.vo-theme .mat-stroked-button.mat-accent{color:#43a047}.vo-theme .mat-button.mat-warn,.vo-theme .mat-icon-button.mat-warn,.vo-theme .mat-stroked-button.mat-warn{color:#f44336}.vo-theme .mat-button.mat-accent.mat-button-disabled,.vo-theme .mat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-button.mat-primary.mat-button-disabled,.vo-theme .mat-button.mat-warn.mat-button-disabled,.vo-theme .mat-icon-button.mat-accent.mat-button-disabled,.vo-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-icon-button.mat-primary.mat-button-disabled,.vo-theme .mat-icon-button.mat-warn.mat-button-disabled,.vo-theme .mat-stroked-button.mat-accent.mat-button-disabled,.vo-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-stroked-button.mat-primary.mat-button-disabled,.vo-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.vo-theme .mat-button.mat-primary .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-button.mat-accent .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.vo-theme .mat-button.mat-warn .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.vo-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.vo-theme .mat-button .mat-ripple-element,.vo-theme .mat-icon-button .mat-ripple-element,.vo-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.vo-theme .mat-button-focus-overlay{background:#000}.vo-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.vo-theme .mat-fab,.vo-theme .mat-flat-button,.vo-theme .mat-mini-fab,.vo-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.vo-theme .mat-fab.mat-primary,.vo-theme .mat-flat-button.mat-primary,.vo-theme .mat-mini-fab.mat-primary,.vo-theme .mat-raised-button.mat-primary{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-fab.mat-accent,.vo-theme .mat-fab.mat-warn,.vo-theme .mat-flat-button.mat-accent,.vo-theme .mat-flat-button.mat-warn,.vo-theme .mat-mini-fab.mat-accent,.vo-theme .mat-mini-fab.mat-warn,.vo-theme .mat-raised-button.mat-accent,.vo-theme .mat-raised-button.mat-warn{color:#fff}.vo-theme .mat-fab.mat-accent.mat-button-disabled,.vo-theme .mat-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-fab.mat-primary.mat-button-disabled,.vo-theme .mat-fab.mat-warn.mat-button-disabled,.vo-theme .mat-flat-button.mat-accent.mat-button-disabled,.vo-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-flat-button.mat-primary.mat-button-disabled,.vo-theme .mat-flat-button.mat-warn.mat-button-disabled,.vo-theme .mat-mini-fab.mat-accent.mat-button-disabled,.vo-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-mini-fab.mat-primary.mat-button-disabled,.vo-theme .mat-mini-fab.mat-warn.mat-button-disabled,.vo-theme .mat-raised-button.mat-accent.mat-button-disabled,.vo-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-raised-button.mat-primary.mat-button-disabled,.vo-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.vo-theme .mat-fab.mat-primary,.vo-theme .mat-flat-button.mat-primary,.vo-theme .mat-mini-fab.mat-primary,.vo-theme .mat-raised-button.mat-primary{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-fab.mat-accent,.vo-theme .mat-flat-button.mat-accent,.vo-theme .mat-mini-fab.mat-accent,.vo-theme .mat-raised-button.mat-accent{background-color:#43a047}.vo-theme .mat-fab.mat-warn,.vo-theme .mat-flat-button.mat-warn,.vo-theme .mat-mini-fab.mat-warn,.vo-theme .mat-raised-button.mat-warn{background-color:#f44336}.vo-theme .mat-fab.mat-accent.mat-button-disabled,.vo-theme .mat-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-fab.mat-primary.mat-button-disabled,.vo-theme .mat-fab.mat-warn.mat-button-disabled,.vo-theme .mat-flat-button.mat-accent.mat-button-disabled,.vo-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-flat-button.mat-primary.mat-button-disabled,.vo-theme .mat-flat-button.mat-warn.mat-button-disabled,.vo-theme .mat-mini-fab.mat-accent.mat-button-disabled,.vo-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-mini-fab.mat-primary.mat-button-disabled,.vo-theme .mat-mini-fab.mat-warn.mat-button-disabled,.vo-theme .mat-raised-button.mat-accent.mat-button-disabled,.vo-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-raised-button.mat-primary.mat-button-disabled,.vo-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.vo-theme .mat-fab.mat-primary .mat-ripple-element,.vo-theme .mat-flat-button.mat-primary .mat-ripple-element,.vo-theme .mat-mini-fab.mat-primary .mat-ripple-element,.vo-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.1}.vo-theme .mat-fab.mat-accent .mat-ripple-element,.vo-theme .mat-fab.mat-warn .mat-ripple-element,.vo-theme .mat-flat-button.mat-accent .mat-ripple-element,.vo-theme .mat-flat-button.mat-warn .mat-ripple-element,.vo-theme .mat-mini-fab.mat-accent .mat-ripple-element,.vo-theme .mat-mini-fab.mat-warn .mat-ripple-element,.vo-theme .mat-raised-button.mat-accent .mat-ripple-element,.vo-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-flat-button:not([class*=mat-elevation-z]),.vo-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.vo-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-fab:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.vo-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group,.vo-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group-appearance-standard,.vo-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.vo-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.vo-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.vo-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.vo-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.vo-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.vo-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.vo-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.vo-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.vo-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.vo-theme .mat-button-toggle-group-appearance-standard,.vo-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.vo-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.vo-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox-checkmark{fill:#fafafa}.vo-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.vo-theme .mat-checkbox-mixedmark{background-color:#fafafa}.vo-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.vo-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.vo-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.vo-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.vo-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.vo-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox .mat-ripple-element{background-color:#000}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.vo-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.vo-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.vo-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.vo-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.vo-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.vo-theme .mat-chip.mat-standard-chip:after{background:#000}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.1}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-table{background:#fff}.vo-theme .mat-table-sticky,.vo-theme .mat-table tbody,.vo-theme .mat-table tfoot,.vo-theme .mat-table thead,.vo-theme [mat-footer-row],.vo-theme [mat-header-row],.vo-theme [mat-row],.vo-theme mat-footer-row,.vo-theme mat-header-row,.vo-theme mat-row{background:inherit}.vo-theme mat-footer-row,.vo-theme mat-header-row,.vo-theme mat-row,.vo-theme td.mat-cell,.vo-theme td.mat-footer-cell,.vo-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.vo-theme .mat-header-cell{color:rgba(0,0,0,.54)}.vo-theme .mat-cell,.vo-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.vo-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.vo-theme .mat-datepicker-content .mat-calendar-next-button,.vo-theme .mat-datepicker-content .mat-calendar-previous-button,.vo-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.vo-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.vo-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.vo-theme .mat-calendar-body-cell-content,.vo-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.vo-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.vo-theme .mat-calendar-body-in-range:before{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-calendar-body-comparison-identical,.vo-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-calendar-body-comparison-bridge-start:before,.vo-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--vo-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.vo-theme .mat-calendar-body-comparison-bridge-end:before,.vo-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--vo-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.vo-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-calendar-body-selected{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.vo-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.vo-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.vo-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.vo-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.vo-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.vo-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.vo-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.vo-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.vo-theme .mat-datepicker-toggle-active{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.vo-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.vo-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.vo-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.vo-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.vo-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.vo-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.vo-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.vo-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.vo-theme .mat-expansion-indicator:after,.vo-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.vo-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.vo-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.vo-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.vo-theme .mat-form-field-label,.vo-theme .mat-hint{color:rgba(0,0,0,.6)}.vo-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.vo-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.vo-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.vo-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.vo-theme .mat-error{color:#f44336}.vo-theme .mat-form-field-appearance-legacy .mat-form-field-label,.vo-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.vo-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.vo-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.vo-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.vo-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.vo-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.vo-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.vo-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.vo-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.vo-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.vo-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.vo-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.vo-theme .mat-icon.mat-primary{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-icon.mat-accent{color:#43a047}.vo-theme .mat-icon.mat-warn{color:#f44336}.vo-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.vo-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.vo-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-input-element{caret-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.vo-theme .mat-form-field-invalid .mat-input-element,.vo-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.vo-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.vo-theme .mat-list-base .mat-list-item,.vo-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.vo-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.vo-theme .mat-list-item-disabled{background-color:#eee}.vo-theme .mat-action-list .mat-list-item:focus,.vo-theme .mat-action-list .mat-list-item:hover,.vo-theme .mat-list-option:focus,.vo-theme .mat-list-option:hover,.vo-theme .mat-nav-list .mat-list-item:focus,.vo-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.vo-theme .mat-list-single-selected-option,.vo-theme .mat-list-single-selected-option:focus,.vo-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.vo-theme .mat-menu-panel{background:#fff}.vo-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.vo-theme .mat-menu-item[disabled],.vo-theme .mat-menu-item[disabled] .mat-icon-no-color,.vo-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.vo-theme .mat-menu-item-submenu-trigger:after,.vo-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.vo-theme .mat-menu-item-highlighted:not([disabled]),.vo-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.vo-theme .mat-menu-item.cdk-program-focused:not([disabled]),.vo-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.vo-theme .mat-paginator{background:#fff}.vo-theme .mat-paginator,.vo-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.vo-theme .mat-paginator-decrement,.vo-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.vo-theme .mat-paginator-first,.vo-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.vo-theme .mat-icon-button[disabled] .mat-paginator-decrement,.vo-theme .mat-icon-button[disabled] .mat-paginator-first,.vo-theme .mat-icon-button[disabled] .mat-paginator-increment,.vo-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.vo-theme .mat-progress-bar-background{fill:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-progress-bar-buffer{background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-progress-bar-fill:after{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.vo-theme .mat-progress-spinner circle,.vo-theme .mat-spinner circle{stroke:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-progress-spinner.mat-accent circle,.vo-theme .mat-spinner.mat-accent circle{stroke:#43a047}.vo-theme .mat-progress-spinner.mat-warn circle,.vo-theme .mat-spinner.mat-warn circle{stroke:#f44336}.vo-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.vo-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.vo-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.vo-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.vo-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.vo-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button .mat-ripple-element{background-color:#000}.vo-theme .mat-select-value{color:rgba(0,0,0,.87)}.vo-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.vo-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.vo-theme .mat-select-panel{background:#fff}.vo-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.vo-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.vo-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.vo-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.vo-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.vo-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.vo-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-drawer.mat-drawer-push{background-color:#fff}.vo-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.vo-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-drawer-side.mat-drawer-end,.vo-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.vo-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.vo-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.vo-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.vo-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.vo-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.vo-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.vo-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.vo-theme .mat-primary .mat-slider-thumb,.vo-theme .mat-primary .mat-slider-thumb-label,.vo-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--vo-theme-primary-500),1);opacity:.2}.vo-theme .mat-accent .mat-slider-thumb,.vo-theme .mat-accent .mat-slider-thumb-label,.vo-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.vo-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.vo-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.vo-theme .mat-warn .mat-slider-thumb,.vo-theme .mat-warn .mat-slider-thumb-label,.vo-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.vo-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.vo-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.vo-theme .cdk-focused .mat-slider-track-background,.vo-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-disabled .mat-slider-thumb,.vo-theme .mat-slider-disabled .mat-slider-track-background,.vo-theme .mat-slider-disabled .mat-slider-track-fill,.vo-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.vo-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.vo-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.vo-theme .mat-step-header.cdk-keyboard-focused,.vo-theme .mat-step-header.cdk-program-focused,.vo-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.vo-theme .mat-step-header:hover{background:none}}.vo-theme .mat-step-header .mat-step-label,.vo-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.vo-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-step-header .mat-step-icon-selected,.vo-theme .mat-step-header .mat-step-icon-state-done,.vo-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.vo-theme .mat-step-header.mat-accent .mat-step-icon-selected,.vo-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.vo-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.vo-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.vo-theme .mat-step-header.mat-warn .mat-step-icon-selected,.vo-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.vo-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.vo-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.vo-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.vo-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.vo-theme .mat-stepper-horizontal,.vo-theme .mat-stepper-vertical{background-color:#fff}.vo-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.vo-theme .mat-horizontal-stepper-header:after,.vo-theme .mat-horizontal-stepper-header:before,.vo-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-sort-header-arrow{color:#757575}.vo-theme .mat-tab-header,.vo-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.vo-theme .mat-tab-group-inverted-header .mat-tab-header,.vo-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.vo-theme .mat-tab-label,.vo-theme .mat-tab-link{color:rgba(0,0,0,.87)}.vo-theme .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.vo-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.vo-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.vo-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.vo-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-tab-group.mat-primary .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.vo-theme .mat-tab-group.mat-accent .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.vo-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.vo-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.vo-theme .mat-tab-group.mat-warn .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.vo-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.vo-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.vo-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.vo-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.vo-theme .mat-toolbar.mat-primary{background:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.vo-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.vo-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.vo-theme .mat-toolbar .mat-form-field-ripple,.vo-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.vo-theme .mat-toolbar .mat-focused .mat-form-field-label,.vo-theme .mat-toolbar .mat-form-field-label,.vo-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.vo-theme .mat-toolbar .mat-select-arrow,.vo-theme .mat-toolbar .mat-select-value{color:inherit}.vo-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.vo-theme .mat-tooltip{background:rgba(97,97,97,.9)}.vo-theme .mat-tree{background:#fff}.vo-theme .mat-nested-tree-node,.vo-theme .mat-tree-node{color:rgba(0,0,0,.87)}.vo-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-simple-snackbar-action{color:#43a047}.facility-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.facility-theme .mat-option{color:rgba(0,0,0,.87)}.facility-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.facility-theme .mat-option:focus:not(.mat-option-disabled),.facility-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.facility-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.facility-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.facility-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.facility-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.facility-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.facility-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.facility-theme .mat-pseudo-checkbox:after{color:#fafafa}.facility-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.facility-theme .mat-primary .mat-pseudo-checkbox-checked,.facility-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-accent .mat-pseudo-checkbox-checked,.facility-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.facility-theme .mat-pseudo-checkbox-checked,.facility-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.facility-theme .mat-warn .mat-pseudo-checkbox-checked,.facility-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.facility-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.facility-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.facility-theme.mat-app-background,.facility-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.facility-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.facility-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.facility-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.facility-theme .mat-badge-content{color:rgba(var(--facility-theme-primary-contrast-500),1);background:rgba(var(--facility-theme-primary-500),1)}.cdk-high-contrast-active .facility-theme .mat-badge-content{outline:1px solid;border-radius:0}.facility-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.facility-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.facility-theme .mat-badge{position:relative}.facility-theme .mat-badge-hidden .mat-badge-content{display:none}.facility-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.facility-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.facility-theme .mat-badge-content._mat-animation-noopable,.facility-theme .ng-animate-disabled .mat-badge-content{transition:none}.facility-theme .mat-badge-content.mat-badge-active{transform:none}.facility-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.facility-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.facility-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.facility-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.facility-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.facility-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.facility-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.facility-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.facility-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.facility-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.facility-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.facility-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.facility-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.facility-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.facility-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.facility-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-button,.facility-theme .mat-icon-button,.facility-theme .mat-stroked-button{color:inherit;background:transparent}.facility-theme .mat-button.mat-primary,.facility-theme .mat-icon-button.mat-primary,.facility-theme .mat-stroked-button.mat-primary{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-button.mat-accent,.facility-theme .mat-icon-button.mat-accent,.facility-theme .mat-stroked-button.mat-accent{color:#43a047}.facility-theme .mat-button.mat-warn,.facility-theme .mat-icon-button.mat-warn,.facility-theme .mat-stroked-button.mat-warn{color:#f44336}.facility-theme .mat-button.mat-accent.mat-button-disabled,.facility-theme .mat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-button.mat-primary.mat-button-disabled,.facility-theme .mat-button.mat-warn.mat-button-disabled,.facility-theme .mat-icon-button.mat-accent.mat-button-disabled,.facility-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-icon-button.mat-primary.mat-button-disabled,.facility-theme .mat-icon-button.mat-warn.mat-button-disabled,.facility-theme .mat-stroked-button.mat-accent.mat-button-disabled,.facility-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-stroked-button.mat-primary.mat-button-disabled,.facility-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.facility-theme .mat-button.mat-primary .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-button.mat-accent .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.facility-theme .mat-button.mat-warn .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.facility-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.facility-theme .mat-button .mat-ripple-element,.facility-theme .mat-icon-button .mat-ripple-element,.facility-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.facility-theme .mat-button-focus-overlay{background:#000}.facility-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.facility-theme .mat-fab,.facility-theme .mat-flat-button,.facility-theme .mat-mini-fab,.facility-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.facility-theme .mat-fab.mat-primary,.facility-theme .mat-flat-button.mat-primary,.facility-theme .mat-mini-fab.mat-primary,.facility-theme .mat-raised-button.mat-primary{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-fab.mat-accent,.facility-theme .mat-fab.mat-warn,.facility-theme .mat-flat-button.mat-accent,.facility-theme .mat-flat-button.mat-warn,.facility-theme .mat-mini-fab.mat-accent,.facility-theme .mat-mini-fab.mat-warn,.facility-theme .mat-raised-button.mat-accent,.facility-theme .mat-raised-button.mat-warn{color:#fff}.facility-theme .mat-fab.mat-accent.mat-button-disabled,.facility-theme .mat-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-fab.mat-primary.mat-button-disabled,.facility-theme .mat-fab.mat-warn.mat-button-disabled,.facility-theme .mat-flat-button.mat-accent.mat-button-disabled,.facility-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-flat-button.mat-primary.mat-button-disabled,.facility-theme .mat-flat-button.mat-warn.mat-button-disabled,.facility-theme .mat-mini-fab.mat-accent.mat-button-disabled,.facility-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-mini-fab.mat-primary.mat-button-disabled,.facility-theme .mat-mini-fab.mat-warn.mat-button-disabled,.facility-theme .mat-raised-button.mat-accent.mat-button-disabled,.facility-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-raised-button.mat-primary.mat-button-disabled,.facility-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.facility-theme .mat-fab.mat-primary,.facility-theme .mat-flat-button.mat-primary,.facility-theme .mat-mini-fab.mat-primary,.facility-theme .mat-raised-button.mat-primary{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-fab.mat-accent,.facility-theme .mat-flat-button.mat-accent,.facility-theme .mat-mini-fab.mat-accent,.facility-theme .mat-raised-button.mat-accent{background-color:#43a047}.facility-theme .mat-fab.mat-warn,.facility-theme .mat-flat-button.mat-warn,.facility-theme .mat-mini-fab.mat-warn,.facility-theme .mat-raised-button.mat-warn{background-color:#f44336}.facility-theme .mat-fab.mat-accent.mat-button-disabled,.facility-theme .mat-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-fab.mat-primary.mat-button-disabled,.facility-theme .mat-fab.mat-warn.mat-button-disabled,.facility-theme .mat-flat-button.mat-accent.mat-button-disabled,.facility-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-flat-button.mat-primary.mat-button-disabled,.facility-theme .mat-flat-button.mat-warn.mat-button-disabled,.facility-theme .mat-mini-fab.mat-accent.mat-button-disabled,.facility-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-mini-fab.mat-primary.mat-button-disabled,.facility-theme .mat-mini-fab.mat-warn.mat-button-disabled,.facility-theme .mat-raised-button.mat-accent.mat-button-disabled,.facility-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-raised-button.mat-primary.mat-button-disabled,.facility-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.facility-theme .mat-fab.mat-primary .mat-ripple-element,.facility-theme .mat-flat-button.mat-primary .mat-ripple-element,.facility-theme .mat-mini-fab.mat-primary .mat-ripple-element,.facility-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.1}.facility-theme .mat-fab.mat-accent .mat-ripple-element,.facility-theme .mat-fab.mat-warn .mat-ripple-element,.facility-theme .mat-flat-button.mat-accent .mat-ripple-element,.facility-theme .mat-flat-button.mat-warn .mat-ripple-element,.facility-theme .mat-mini-fab.mat-accent .mat-ripple-element,.facility-theme .mat-mini-fab.mat-warn .mat-ripple-element,.facility-theme .mat-raised-button.mat-accent .mat-ripple-element,.facility-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-flat-button:not([class*=mat-elevation-z]),.facility-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.facility-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-fab:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.facility-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group,.facility-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group-appearance-standard,.facility-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.facility-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.facility-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.facility-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.facility-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.facility-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.facility-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.facility-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.facility-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.facility-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.facility-theme .mat-button-toggle-group-appearance-standard,.facility-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.facility-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.facility-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox-checkmark{fill:#fafafa}.facility-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.facility-theme .mat-checkbox-mixedmark{background-color:#fafafa}.facility-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.facility-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.facility-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.facility-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.facility-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.facility-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox .mat-ripple-element{background-color:#000}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.facility-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.facility-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.facility-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.facility-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.facility-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.facility-theme .mat-chip.mat-standard-chip:after{background:#000}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.1}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-table{background:#fff}.facility-theme .mat-table-sticky,.facility-theme .mat-table tbody,.facility-theme .mat-table tfoot,.facility-theme .mat-table thead,.facility-theme [mat-footer-row],.facility-theme [mat-header-row],.facility-theme [mat-row],.facility-theme mat-footer-row,.facility-theme mat-header-row,.facility-theme mat-row{background:inherit}.facility-theme mat-footer-row,.facility-theme mat-header-row,.facility-theme mat-row,.facility-theme td.mat-cell,.facility-theme td.mat-footer-cell,.facility-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.facility-theme .mat-header-cell{color:rgba(0,0,0,.54)}.facility-theme .mat-cell,.facility-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.facility-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.facility-theme .mat-datepicker-content .mat-calendar-next-button,.facility-theme .mat-datepicker-content .mat-calendar-previous-button,.facility-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.facility-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.facility-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.facility-theme .mat-calendar-body-cell-content,.facility-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.facility-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.facility-theme .mat-calendar-body-in-range:before{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-calendar-body-comparison-identical,.facility-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-calendar-body-comparison-bridge-start:before,.facility-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--facility-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.facility-theme .mat-calendar-body-comparison-bridge-end:before,.facility-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--facility-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.facility-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-calendar-body-selected{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.facility-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.facility-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.facility-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.facility-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.facility-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.facility-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.facility-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.facility-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.facility-theme .mat-datepicker-toggle-active{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.facility-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.facility-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.facility-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.facility-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.facility-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.facility-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.facility-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.facility-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.facility-theme .mat-expansion-indicator:after,.facility-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.facility-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.facility-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.facility-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.facility-theme .mat-form-field-label,.facility-theme .mat-hint{color:rgba(0,0,0,.6)}.facility-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.facility-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.facility-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.facility-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.facility-theme .mat-error{color:#f44336}.facility-theme .mat-form-field-appearance-legacy .mat-form-field-label,.facility-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.facility-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.facility-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.facility-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.facility-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.facility-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.facility-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.facility-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.facility-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.facility-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.facility-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.facility-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.facility-theme .mat-icon.mat-primary{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-icon.mat-accent{color:#43a047}.facility-theme .mat-icon.mat-warn{color:#f44336}.facility-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.facility-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.facility-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-input-element{caret-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.facility-theme .mat-form-field-invalid .mat-input-element,.facility-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.facility-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.facility-theme .mat-list-base .mat-list-item,.facility-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.facility-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.facility-theme .mat-list-item-disabled{background-color:#eee}.facility-theme .mat-action-list .mat-list-item:focus,.facility-theme .mat-action-list .mat-list-item:hover,.facility-theme .mat-list-option:focus,.facility-theme .mat-list-option:hover,.facility-theme .mat-nav-list .mat-list-item:focus,.facility-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.facility-theme .mat-list-single-selected-option,.facility-theme .mat-list-single-selected-option:focus,.facility-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.facility-theme .mat-menu-panel{background:#fff}.facility-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.facility-theme .mat-menu-item[disabled],.facility-theme .mat-menu-item[disabled] .mat-icon-no-color,.facility-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.facility-theme .mat-menu-item-submenu-trigger:after,.facility-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.facility-theme .mat-menu-item-highlighted:not([disabled]),.facility-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.facility-theme .mat-menu-item.cdk-program-focused:not([disabled]),.facility-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.facility-theme .mat-paginator{background:#fff}.facility-theme .mat-paginator,.facility-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.facility-theme .mat-paginator-decrement,.facility-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.facility-theme .mat-paginator-first,.facility-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.facility-theme .mat-icon-button[disabled] .mat-paginator-decrement,.facility-theme .mat-icon-button[disabled] .mat-paginator-first,.facility-theme .mat-icon-button[disabled] .mat-paginator-increment,.facility-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.facility-theme .mat-progress-bar-background{fill:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-progress-bar-buffer{background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-progress-bar-fill:after{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.facility-theme .mat-progress-spinner circle,.facility-theme .mat-spinner circle{stroke:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-progress-spinner.mat-accent circle,.facility-theme .mat-spinner.mat-accent circle{stroke:#43a047}.facility-theme .mat-progress-spinner.mat-warn circle,.facility-theme .mat-spinner.mat-warn circle{stroke:#f44336}.facility-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.facility-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.facility-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.facility-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.facility-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.facility-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button .mat-ripple-element{background-color:#000}.facility-theme .mat-select-value{color:rgba(0,0,0,.87)}.facility-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.facility-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.facility-theme .mat-select-panel{background:#fff}.facility-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.facility-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.facility-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.facility-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.facility-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.facility-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.facility-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-drawer.mat-drawer-push{background-color:#fff}.facility-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.facility-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-drawer-side.mat-drawer-end,.facility-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.facility-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.facility-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.facility-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.facility-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.facility-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.facility-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.facility-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.facility-theme .mat-primary .mat-slider-thumb,.facility-theme .mat-primary .mat-slider-thumb-label,.facility-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--facility-theme-primary-500),1);opacity:.2}.facility-theme .mat-accent .mat-slider-thumb,.facility-theme .mat-accent .mat-slider-thumb-label,.facility-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.facility-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.facility-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.facility-theme .mat-warn .mat-slider-thumb,.facility-theme .mat-warn .mat-slider-thumb-label,.facility-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.facility-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.facility-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.facility-theme .cdk-focused .mat-slider-track-background,.facility-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-disabled .mat-slider-thumb,.facility-theme .mat-slider-disabled .mat-slider-track-background,.facility-theme .mat-slider-disabled .mat-slider-track-fill,.facility-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.facility-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.facility-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.facility-theme .mat-step-header.cdk-keyboard-focused,.facility-theme .mat-step-header.cdk-program-focused,.facility-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.facility-theme .mat-step-header:hover{background:none}}.facility-theme .mat-step-header .mat-step-label,.facility-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.facility-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-step-header .mat-step-icon-selected,.facility-theme .mat-step-header .mat-step-icon-state-done,.facility-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.facility-theme .mat-step-header.mat-accent .mat-step-icon-selected,.facility-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.facility-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.facility-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.facility-theme .mat-step-header.mat-warn .mat-step-icon-selected,.facility-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.facility-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.facility-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.facility-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.facility-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.facility-theme .mat-stepper-horizontal,.facility-theme .mat-stepper-vertical{background-color:#fff}.facility-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.facility-theme .mat-horizontal-stepper-header:after,.facility-theme .mat-horizontal-stepper-header:before,.facility-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-sort-header-arrow{color:#757575}.facility-theme .mat-tab-header,.facility-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.facility-theme .mat-tab-group-inverted-header .mat-tab-header,.facility-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.facility-theme .mat-tab-label,.facility-theme .mat-tab-link{color:rgba(0,0,0,.87)}.facility-theme .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.facility-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.facility-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.facility-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.facility-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-tab-group.mat-primary .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.facility-theme .mat-tab-group.mat-accent .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.facility-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.facility-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.facility-theme .mat-tab-group.mat-warn .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.facility-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.facility-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.facility-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.facility-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.facility-theme .mat-toolbar.mat-primary{background:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.facility-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.facility-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.facility-theme .mat-toolbar .mat-form-field-ripple,.facility-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.facility-theme .mat-toolbar .mat-focused .mat-form-field-label,.facility-theme .mat-toolbar .mat-form-field-label,.facility-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.facility-theme .mat-toolbar .mat-select-arrow,.facility-theme .mat-toolbar .mat-select-value{color:inherit}.facility-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.facility-theme .mat-tooltip{background:rgba(97,97,97,.9)}.facility-theme .mat-tree{background:#fff}.facility-theme .mat-nested-tree-node,.facility-theme .mat-tree-node{color:rgba(0,0,0,.87)}.facility-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-simple-snackbar-action{color:#43a047}.resource-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.resource-theme .mat-option{color:rgba(0,0,0,.87)}.resource-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.resource-theme .mat-option:focus:not(.mat-option-disabled),.resource-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.resource-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.resource-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.resource-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.resource-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.resource-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.resource-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.resource-theme .mat-pseudo-checkbox:after{color:#fafafa}.resource-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.resource-theme .mat-primary .mat-pseudo-checkbox-checked,.resource-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-accent .mat-pseudo-checkbox-checked,.resource-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.resource-theme .mat-pseudo-checkbox-checked,.resource-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.resource-theme .mat-warn .mat-pseudo-checkbox-checked,.resource-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.resource-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.resource-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.resource-theme.mat-app-background,.resource-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.resource-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.resource-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.resource-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.resource-theme .mat-badge-content{color:rgba(var(--resource-theme-primary-contrast-500),1);background:rgba(var(--resource-theme-primary-500),1)}.cdk-high-contrast-active .resource-theme .mat-badge-content{outline:1px solid;border-radius:0}.resource-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.resource-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.resource-theme .mat-badge{position:relative}.resource-theme .mat-badge-hidden .mat-badge-content{display:none}.resource-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.resource-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.resource-theme .mat-badge-content._mat-animation-noopable,.resource-theme .ng-animate-disabled .mat-badge-content{transition:none}.resource-theme .mat-badge-content.mat-badge-active{transform:none}.resource-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.resource-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.resource-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.resource-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.resource-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.resource-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.resource-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.resource-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.resource-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.resource-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.resource-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.resource-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.resource-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.resource-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.resource-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.resource-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-button,.resource-theme .mat-icon-button,.resource-theme .mat-stroked-button{color:inherit;background:transparent}.resource-theme .mat-button.mat-primary,.resource-theme .mat-icon-button.mat-primary,.resource-theme .mat-stroked-button.mat-primary{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-button.mat-accent,.resource-theme .mat-icon-button.mat-accent,.resource-theme .mat-stroked-button.mat-accent{color:#43a047}.resource-theme .mat-button.mat-warn,.resource-theme .mat-icon-button.mat-warn,.resource-theme .mat-stroked-button.mat-warn{color:#f44336}.resource-theme .mat-button.mat-accent.mat-button-disabled,.resource-theme .mat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-button.mat-primary.mat-button-disabled,.resource-theme .mat-button.mat-warn.mat-button-disabled,.resource-theme .mat-icon-button.mat-accent.mat-button-disabled,.resource-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-icon-button.mat-primary.mat-button-disabled,.resource-theme .mat-icon-button.mat-warn.mat-button-disabled,.resource-theme .mat-stroked-button.mat-accent.mat-button-disabled,.resource-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-stroked-button.mat-primary.mat-button-disabled,.resource-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.resource-theme .mat-button.mat-primary .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-button.mat-accent .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.resource-theme .mat-button.mat-warn .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.resource-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.resource-theme .mat-button .mat-ripple-element,.resource-theme .mat-icon-button .mat-ripple-element,.resource-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.resource-theme .mat-button-focus-overlay{background:#000}.resource-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.resource-theme .mat-fab,.resource-theme .mat-flat-button,.resource-theme .mat-mini-fab,.resource-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.resource-theme .mat-fab.mat-primary,.resource-theme .mat-flat-button.mat-primary,.resource-theme .mat-mini-fab.mat-primary,.resource-theme .mat-raised-button.mat-primary{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-fab.mat-accent,.resource-theme .mat-fab.mat-warn,.resource-theme .mat-flat-button.mat-accent,.resource-theme .mat-flat-button.mat-warn,.resource-theme .mat-mini-fab.mat-accent,.resource-theme .mat-mini-fab.mat-warn,.resource-theme .mat-raised-button.mat-accent,.resource-theme .mat-raised-button.mat-warn{color:#fff}.resource-theme .mat-fab.mat-accent.mat-button-disabled,.resource-theme .mat-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-fab.mat-primary.mat-button-disabled,.resource-theme .mat-fab.mat-warn.mat-button-disabled,.resource-theme .mat-flat-button.mat-accent.mat-button-disabled,.resource-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-flat-button.mat-primary.mat-button-disabled,.resource-theme .mat-flat-button.mat-warn.mat-button-disabled,.resource-theme .mat-mini-fab.mat-accent.mat-button-disabled,.resource-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-mini-fab.mat-primary.mat-button-disabled,.resource-theme .mat-mini-fab.mat-warn.mat-button-disabled,.resource-theme .mat-raised-button.mat-accent.mat-button-disabled,.resource-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-raised-button.mat-primary.mat-button-disabled,.resource-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.resource-theme .mat-fab.mat-primary,.resource-theme .mat-flat-button.mat-primary,.resource-theme .mat-mini-fab.mat-primary,.resource-theme .mat-raised-button.mat-primary{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-fab.mat-accent,.resource-theme .mat-flat-button.mat-accent,.resource-theme .mat-mini-fab.mat-accent,.resource-theme .mat-raised-button.mat-accent{background-color:#43a047}.resource-theme .mat-fab.mat-warn,.resource-theme .mat-flat-button.mat-warn,.resource-theme .mat-mini-fab.mat-warn,.resource-theme .mat-raised-button.mat-warn{background-color:#f44336}.resource-theme .mat-fab.mat-accent.mat-button-disabled,.resource-theme .mat-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-fab.mat-primary.mat-button-disabled,.resource-theme .mat-fab.mat-warn.mat-button-disabled,.resource-theme .mat-flat-button.mat-accent.mat-button-disabled,.resource-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-flat-button.mat-primary.mat-button-disabled,.resource-theme .mat-flat-button.mat-warn.mat-button-disabled,.resource-theme .mat-mini-fab.mat-accent.mat-button-disabled,.resource-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-mini-fab.mat-primary.mat-button-disabled,.resource-theme .mat-mini-fab.mat-warn.mat-button-disabled,.resource-theme .mat-raised-button.mat-accent.mat-button-disabled,.resource-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-raised-button.mat-primary.mat-button-disabled,.resource-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.resource-theme .mat-fab.mat-primary .mat-ripple-element,.resource-theme .mat-flat-button.mat-primary .mat-ripple-element,.resource-theme .mat-mini-fab.mat-primary .mat-ripple-element,.resource-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.1}.resource-theme .mat-fab.mat-accent .mat-ripple-element,.resource-theme .mat-fab.mat-warn .mat-ripple-element,.resource-theme .mat-flat-button.mat-accent .mat-ripple-element,.resource-theme .mat-flat-button.mat-warn .mat-ripple-element,.resource-theme .mat-mini-fab.mat-accent .mat-ripple-element,.resource-theme .mat-mini-fab.mat-warn .mat-ripple-element,.resource-theme .mat-raised-button.mat-accent .mat-ripple-element,.resource-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-flat-button:not([class*=mat-elevation-z]),.resource-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.resource-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-fab:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.resource-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group,.resource-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group-appearance-standard,.resource-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.resource-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.resource-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.resource-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.resource-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.resource-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.resource-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.resource-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.resource-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.resource-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.resource-theme .mat-button-toggle-group-appearance-standard,.resource-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.resource-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.resource-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox-checkmark{fill:#fafafa}.resource-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.resource-theme .mat-checkbox-mixedmark{background-color:#fafafa}.resource-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.resource-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.resource-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.resource-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.resource-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.resource-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox .mat-ripple-element{background-color:#000}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.resource-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.resource-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.resource-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.resource-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.resource-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.resource-theme .mat-chip.mat-standard-chip:after{background:#000}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.1}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-table{background:#fff}.resource-theme .mat-table-sticky,.resource-theme .mat-table tbody,.resource-theme .mat-table tfoot,.resource-theme .mat-table thead,.resource-theme [mat-footer-row],.resource-theme [mat-header-row],.resource-theme [mat-row],.resource-theme mat-footer-row,.resource-theme mat-header-row,.resource-theme mat-row{background:inherit}.resource-theme mat-footer-row,.resource-theme mat-header-row,.resource-theme mat-row,.resource-theme td.mat-cell,.resource-theme td.mat-footer-cell,.resource-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.resource-theme .mat-header-cell{color:rgba(0,0,0,.54)}.resource-theme .mat-cell,.resource-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.resource-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.resource-theme .mat-datepicker-content .mat-calendar-next-button,.resource-theme .mat-datepicker-content .mat-calendar-previous-button,.resource-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.resource-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.resource-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.resource-theme .mat-calendar-body-cell-content,.resource-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.resource-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.resource-theme .mat-calendar-body-in-range:before{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-calendar-body-comparison-identical,.resource-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-calendar-body-comparison-bridge-start:before,.resource-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--resource-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.resource-theme .mat-calendar-body-comparison-bridge-end:before,.resource-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--resource-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.resource-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-calendar-body-selected{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.resource-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.resource-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.resource-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.resource-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.resource-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.resource-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.resource-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.resource-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.resource-theme .mat-datepicker-toggle-active{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.resource-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.resource-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.resource-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.resource-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.resource-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.resource-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.resource-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.resource-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.resource-theme .mat-expansion-indicator:after,.resource-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.resource-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.resource-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.resource-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.resource-theme .mat-form-field-label,.resource-theme .mat-hint{color:rgba(0,0,0,.6)}.resource-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.resource-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.resource-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.resource-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.resource-theme .mat-error{color:#f44336}.resource-theme .mat-form-field-appearance-legacy .mat-form-field-label,.resource-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.resource-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.resource-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.resource-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.resource-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.resource-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.resource-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.resource-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.resource-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.resource-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.resource-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.resource-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.resource-theme .mat-icon.mat-primary{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-icon.mat-accent{color:#43a047}.resource-theme .mat-icon.mat-warn{color:#f44336}.resource-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.resource-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.resource-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-input-element{caret-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.resource-theme .mat-form-field-invalid .mat-input-element,.resource-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.resource-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.resource-theme .mat-list-base .mat-list-item,.resource-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.resource-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.resource-theme .mat-list-item-disabled{background-color:#eee}.resource-theme .mat-action-list .mat-list-item:focus,.resource-theme .mat-action-list .mat-list-item:hover,.resource-theme .mat-list-option:focus,.resource-theme .mat-list-option:hover,.resource-theme .mat-nav-list .mat-list-item:focus,.resource-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.resource-theme .mat-list-single-selected-option,.resource-theme .mat-list-single-selected-option:focus,.resource-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.resource-theme .mat-menu-panel{background:#fff}.resource-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.resource-theme .mat-menu-item[disabled],.resource-theme .mat-menu-item[disabled] .mat-icon-no-color,.resource-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.resource-theme .mat-menu-item-submenu-trigger:after,.resource-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.resource-theme .mat-menu-item-highlighted:not([disabled]),.resource-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.resource-theme .mat-menu-item.cdk-program-focused:not([disabled]),.resource-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.resource-theme .mat-paginator{background:#fff}.resource-theme .mat-paginator,.resource-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.resource-theme .mat-paginator-decrement,.resource-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.resource-theme .mat-paginator-first,.resource-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.resource-theme .mat-icon-button[disabled] .mat-paginator-decrement,.resource-theme .mat-icon-button[disabled] .mat-paginator-first,.resource-theme .mat-icon-button[disabled] .mat-paginator-increment,.resource-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.resource-theme .mat-progress-bar-background{fill:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-progress-bar-buffer{background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-progress-bar-fill:after{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.resource-theme .mat-progress-spinner circle,.resource-theme .mat-spinner circle{stroke:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-progress-spinner.mat-accent circle,.resource-theme .mat-spinner.mat-accent circle{stroke:#43a047}.resource-theme .mat-progress-spinner.mat-warn circle,.resource-theme .mat-spinner.mat-warn circle{stroke:#f44336}.resource-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.resource-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.resource-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.resource-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.resource-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.resource-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button .mat-ripple-element{background-color:#000}.resource-theme .mat-select-value{color:rgba(0,0,0,.87)}.resource-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.resource-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.resource-theme .mat-select-panel{background:#fff}.resource-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.resource-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.resource-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.resource-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.resource-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.resource-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.resource-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-drawer.mat-drawer-push{background-color:#fff}.resource-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.resource-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-drawer-side.mat-drawer-end,.resource-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.resource-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.resource-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.resource-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.resource-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.resource-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.resource-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.resource-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.resource-theme .mat-primary .mat-slider-thumb,.resource-theme .mat-primary .mat-slider-thumb-label,.resource-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--resource-theme-primary-500),1);opacity:.2}.resource-theme .mat-accent .mat-slider-thumb,.resource-theme .mat-accent .mat-slider-thumb-label,.resource-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.resource-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.resource-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.resource-theme .mat-warn .mat-slider-thumb,.resource-theme .mat-warn .mat-slider-thumb-label,.resource-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.resource-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.resource-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.resource-theme .cdk-focused .mat-slider-track-background,.resource-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-disabled .mat-slider-thumb,.resource-theme .mat-slider-disabled .mat-slider-track-background,.resource-theme .mat-slider-disabled .mat-slider-track-fill,.resource-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.resource-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.resource-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.resource-theme .mat-step-header.cdk-keyboard-focused,.resource-theme .mat-step-header.cdk-program-focused,.resource-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.resource-theme .mat-step-header:hover{background:none}}.resource-theme .mat-step-header .mat-step-label,.resource-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.resource-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-step-header .mat-step-icon-selected,.resource-theme .mat-step-header .mat-step-icon-state-done,.resource-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.resource-theme .mat-step-header.mat-accent .mat-step-icon-selected,.resource-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.resource-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.resource-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.resource-theme .mat-step-header.mat-warn .mat-step-icon-selected,.resource-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.resource-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.resource-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.resource-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.resource-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.resource-theme .mat-stepper-horizontal,.resource-theme .mat-stepper-vertical{background-color:#fff}.resource-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.resource-theme .mat-horizontal-stepper-header:after,.resource-theme .mat-horizontal-stepper-header:before,.resource-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-sort-header-arrow{color:#757575}.resource-theme .mat-tab-header,.resource-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.resource-theme .mat-tab-group-inverted-header .mat-tab-header,.resource-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.resource-theme .mat-tab-label,.resource-theme .mat-tab-link{color:rgba(0,0,0,.87)}.resource-theme .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.resource-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.resource-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.resource-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.resource-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-tab-group.mat-primary .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.resource-theme .mat-tab-group.mat-accent .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.resource-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.resource-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.resource-theme .mat-tab-group.mat-warn .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.resource-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.resource-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.resource-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.resource-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.resource-theme .mat-toolbar.mat-primary{background:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.resource-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.resource-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.resource-theme .mat-toolbar .mat-form-field-ripple,.resource-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.resource-theme .mat-toolbar .mat-focused .mat-form-field-label,.resource-theme .mat-toolbar .mat-form-field-label,.resource-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.resource-theme .mat-toolbar .mat-select-arrow,.resource-theme .mat-toolbar .mat-select-value{color:inherit}.resource-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.resource-theme .mat-tooltip{background:rgba(97,97,97,.9)}.resource-theme .mat-tree{background:#fff}.resource-theme .mat-nested-tree-node,.resource-theme .mat-tree-node{color:rgba(0,0,0,.87)}.resource-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-simple-snackbar-action{color:#43a047}.group-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.group-theme .mat-option{color:rgba(0,0,0,.87)}.group-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.group-theme .mat-option:focus:not(.mat-option-disabled),.group-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.group-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.group-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.group-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.group-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.group-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.group-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.group-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.group-theme .mat-pseudo-checkbox:after{color:#fafafa}.group-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.group-theme .mat-primary .mat-pseudo-checkbox-checked,.group-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-accent .mat-pseudo-checkbox-checked,.group-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.group-theme .mat-pseudo-checkbox-checked,.group-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.group-theme .mat-warn .mat-pseudo-checkbox-checked,.group-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.group-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.group-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.group-theme.mat-app-background,.group-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.group-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.group-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.group-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.group-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.group-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.group-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.group-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.group-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.group-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.group-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.group-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.group-theme .mat-badge-content{color:rgba(var(--group-theme-primary-contrast-500),1);background:rgba(var(--group-theme-primary-500),1)}.cdk-high-contrast-active .group-theme .mat-badge-content{outline:1px solid;border-radius:0}.group-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.group-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.group-theme .mat-badge{position:relative}.group-theme .mat-badge-hidden .mat-badge-content{display:none}.group-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.group-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.group-theme .mat-badge-content._mat-animation-noopable,.group-theme .ng-animate-disabled .mat-badge-content{transition:none}.group-theme .mat-badge-content.mat-badge-active{transform:none}.group-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.group-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.group-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.group-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.group-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.group-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.group-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.group-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.group-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.group-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.group-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.group-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.group-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.group-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.group-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.group-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.group-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.group-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.group-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.group-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-button,.group-theme .mat-icon-button,.group-theme .mat-stroked-button{color:inherit;background:transparent}.group-theme .mat-button.mat-primary,.group-theme .mat-icon-button.mat-primary,.group-theme .mat-stroked-button.mat-primary{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-button.mat-accent,.group-theme .mat-icon-button.mat-accent,.group-theme .mat-stroked-button.mat-accent{color:#43a047}.group-theme .mat-button.mat-warn,.group-theme .mat-icon-button.mat-warn,.group-theme .mat-stroked-button.mat-warn{color:#f44336}.group-theme .mat-button.mat-accent.mat-button-disabled,.group-theme .mat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-button.mat-primary.mat-button-disabled,.group-theme .mat-button.mat-warn.mat-button-disabled,.group-theme .mat-icon-button.mat-accent.mat-button-disabled,.group-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-icon-button.mat-primary.mat-button-disabled,.group-theme .mat-icon-button.mat-warn.mat-button-disabled,.group-theme .mat-stroked-button.mat-accent.mat-button-disabled,.group-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-stroked-button.mat-primary.mat-button-disabled,.group-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.group-theme .mat-button.mat-primary .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-button.mat-accent .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.group-theme .mat-button.mat-warn .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.group-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.group-theme .mat-button .mat-ripple-element,.group-theme .mat-icon-button .mat-ripple-element,.group-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.group-theme .mat-button-focus-overlay{background:#000}.group-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.group-theme .mat-fab,.group-theme .mat-flat-button,.group-theme .mat-mini-fab,.group-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.group-theme .mat-fab.mat-primary,.group-theme .mat-flat-button.mat-primary,.group-theme .mat-mini-fab.mat-primary,.group-theme .mat-raised-button.mat-primary{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-fab.mat-accent,.group-theme .mat-fab.mat-warn,.group-theme .mat-flat-button.mat-accent,.group-theme .mat-flat-button.mat-warn,.group-theme .mat-mini-fab.mat-accent,.group-theme .mat-mini-fab.mat-warn,.group-theme .mat-raised-button.mat-accent,.group-theme .mat-raised-button.mat-warn{color:#fff}.group-theme .mat-fab.mat-accent.mat-button-disabled,.group-theme .mat-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-fab.mat-primary.mat-button-disabled,.group-theme .mat-fab.mat-warn.mat-button-disabled,.group-theme .mat-flat-button.mat-accent.mat-button-disabled,.group-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-flat-button.mat-primary.mat-button-disabled,.group-theme .mat-flat-button.mat-warn.mat-button-disabled,.group-theme .mat-mini-fab.mat-accent.mat-button-disabled,.group-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-mini-fab.mat-primary.mat-button-disabled,.group-theme .mat-mini-fab.mat-warn.mat-button-disabled,.group-theme .mat-raised-button.mat-accent.mat-button-disabled,.group-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-raised-button.mat-primary.mat-button-disabled,.group-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.group-theme .mat-fab.mat-primary,.group-theme .mat-flat-button.mat-primary,.group-theme .mat-mini-fab.mat-primary,.group-theme .mat-raised-button.mat-primary{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-fab.mat-accent,.group-theme .mat-flat-button.mat-accent,.group-theme .mat-mini-fab.mat-accent,.group-theme .mat-raised-button.mat-accent{background-color:#43a047}.group-theme .mat-fab.mat-warn,.group-theme .mat-flat-button.mat-warn,.group-theme .mat-mini-fab.mat-warn,.group-theme .mat-raised-button.mat-warn{background-color:#f44336}.group-theme .mat-fab.mat-accent.mat-button-disabled,.group-theme .mat-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-fab.mat-primary.mat-button-disabled,.group-theme .mat-fab.mat-warn.mat-button-disabled,.group-theme .mat-flat-button.mat-accent.mat-button-disabled,.group-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-flat-button.mat-primary.mat-button-disabled,.group-theme .mat-flat-button.mat-warn.mat-button-disabled,.group-theme .mat-mini-fab.mat-accent.mat-button-disabled,.group-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-mini-fab.mat-primary.mat-button-disabled,.group-theme .mat-mini-fab.mat-warn.mat-button-disabled,.group-theme .mat-raised-button.mat-accent.mat-button-disabled,.group-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-raised-button.mat-primary.mat-button-disabled,.group-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.group-theme .mat-fab.mat-primary .mat-ripple-element,.group-theme .mat-flat-button.mat-primary .mat-ripple-element,.group-theme .mat-mini-fab.mat-primary .mat-ripple-element,.group-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.1}.group-theme .mat-fab.mat-accent .mat-ripple-element,.group-theme .mat-fab.mat-warn .mat-ripple-element,.group-theme .mat-flat-button.mat-accent .mat-ripple-element,.group-theme .mat-flat-button.mat-warn .mat-ripple-element,.group-theme .mat-mini-fab.mat-accent .mat-ripple-element,.group-theme .mat-mini-fab.mat-warn .mat-ripple-element,.group-theme .mat-raised-button.mat-accent .mat-ripple-element,.group-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-flat-button:not([class*=mat-elevation-z]),.group-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.group-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-fab:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.group-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group,.group-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group-appearance-standard,.group-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.group-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.group-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.group-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.group-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.group-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.group-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.group-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.group-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.group-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.group-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.group-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.group-theme .mat-button-toggle-group-appearance-standard,.group-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.group-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.group-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.group-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.group-theme .mat-checkbox-checkmark{fill:#fafafa}.group-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.group-theme .mat-checkbox-mixedmark{background-color:#fafafa}.group-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.group-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.group-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.group-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.group-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.group-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.group-theme .mat-checkbox .mat-ripple-element{background-color:#000}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.group-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.group-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.group-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.group-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.group-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.group-theme .mat-chip.mat-standard-chip:after{background:#000}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.1}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-table{background:#fff}.group-theme .mat-table-sticky,.group-theme .mat-table tbody,.group-theme .mat-table tfoot,.group-theme .mat-table thead,.group-theme [mat-footer-row],.group-theme [mat-header-row],.group-theme [mat-row],.group-theme mat-footer-row,.group-theme mat-header-row,.group-theme mat-row{background:inherit}.group-theme mat-footer-row,.group-theme mat-header-row,.group-theme mat-row,.group-theme td.mat-cell,.group-theme td.mat-footer-cell,.group-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.group-theme .mat-header-cell{color:rgba(0,0,0,.54)}.group-theme .mat-cell,.group-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.group-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.group-theme .mat-datepicker-content .mat-calendar-next-button,.group-theme .mat-datepicker-content .mat-calendar-previous-button,.group-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.group-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.group-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.group-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.group-theme .mat-calendar-body-cell-content,.group-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.group-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.group-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.group-theme .mat-calendar-body-in-range:before{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-calendar-body-comparison-identical,.group-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-calendar-body-comparison-bridge-start:before,.group-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--group-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.group-theme .mat-calendar-body-comparison-bridge-end:before,.group-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--group-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.group-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-calendar-body-selected{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.group-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.group-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.group-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.group-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.group-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.group-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.group-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.group-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.group-theme .mat-datepicker-toggle-active{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.group-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.group-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.group-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.group-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.group-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.group-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.group-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.group-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.group-theme .mat-expansion-indicator:after,.group-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.group-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.group-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.group-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.group-theme .mat-form-field-label,.group-theme .mat-hint{color:rgba(0,0,0,.6)}.group-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.group-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.group-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.group-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.group-theme .mat-error{color:#f44336}.group-theme .mat-form-field-appearance-legacy .mat-form-field-label,.group-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.group-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.group-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.group-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.group-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.group-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.group-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.group-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.group-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.group-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.group-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.group-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.group-theme .mat-icon.mat-primary{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-icon.mat-accent{color:#43a047}.group-theme .mat-icon.mat-warn{color:#f44336}.group-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.group-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.group-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.group-theme .mat-input-element{caret-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.group-theme .mat-form-field-invalid .mat-input-element,.group-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.group-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.group-theme .mat-list-base .mat-list-item,.group-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.group-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.group-theme .mat-list-item-disabled{background-color:#eee}.group-theme .mat-action-list .mat-list-item:focus,.group-theme .mat-action-list .mat-list-item:hover,.group-theme .mat-list-option:focus,.group-theme .mat-list-option:hover,.group-theme .mat-nav-list .mat-list-item:focus,.group-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.group-theme .mat-list-single-selected-option,.group-theme .mat-list-single-selected-option:focus,.group-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.group-theme .mat-menu-panel{background:#fff}.group-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.group-theme .mat-menu-item[disabled],.group-theme .mat-menu-item[disabled] .mat-icon-no-color,.group-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.group-theme .mat-menu-item-submenu-trigger:after,.group-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.group-theme .mat-menu-item-highlighted:not([disabled]),.group-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.group-theme .mat-menu-item.cdk-program-focused:not([disabled]),.group-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.group-theme .mat-paginator{background:#fff}.group-theme .mat-paginator,.group-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.group-theme .mat-paginator-decrement,.group-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.group-theme .mat-paginator-first,.group-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.group-theme .mat-icon-button[disabled] .mat-paginator-decrement,.group-theme .mat-icon-button[disabled] .mat-paginator-first,.group-theme .mat-icon-button[disabled] .mat-paginator-increment,.group-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.group-theme .mat-progress-bar-background{fill:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-progress-bar-buffer{background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-progress-bar-fill:after{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.group-theme .mat-progress-spinner circle,.group-theme .mat-spinner circle{stroke:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-progress-spinner.mat-accent circle,.group-theme .mat-spinner.mat-accent circle{stroke:#43a047}.group-theme .mat-progress-spinner.mat-warn circle,.group-theme .mat-spinner.mat-warn circle{stroke:#f44336}.group-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.group-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.group-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.group-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.group-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.group-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.group-theme .mat-radio-button .mat-ripple-element{background-color:#000}.group-theme .mat-select-value{color:rgba(0,0,0,.87)}.group-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.group-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.group-theme .mat-select-panel{background:#fff}.group-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.group-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.group-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.group-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.group-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.group-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.group-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-drawer.mat-drawer-push{background-color:#fff}.group-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.group-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-drawer-side.mat-drawer-end,.group-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.group-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.group-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.group-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.group-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.group-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.group-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.group-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.group-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.group-theme .mat-primary .mat-slider-thumb,.group-theme .mat-primary .mat-slider-thumb-label,.group-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--group-theme-primary-500),1);opacity:.2}.group-theme .mat-accent .mat-slider-thumb,.group-theme .mat-accent .mat-slider-thumb-label,.group-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.group-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.group-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.group-theme .mat-warn .mat-slider-thumb,.group-theme .mat-warn .mat-slider-thumb-label,.group-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.group-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.group-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.group-theme .cdk-focused .mat-slider-track-background,.group-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.group-theme .mat-slider-disabled .mat-slider-thumb,.group-theme .mat-slider-disabled .mat-slider-track-background,.group-theme .mat-slider-disabled .mat-slider-track-fill,.group-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.group-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.group-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.group-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.group-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.group-theme .mat-step-header.cdk-keyboard-focused,.group-theme .mat-step-header.cdk-program-focused,.group-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.group-theme .mat-step-header:hover{background:none}}.group-theme .mat-step-header .mat-step-label,.group-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.group-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-step-header .mat-step-icon-selected,.group-theme .mat-step-header .mat-step-icon-state-done,.group-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.group-theme .mat-step-header.mat-accent .mat-step-icon-selected,.group-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.group-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.group-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.group-theme .mat-step-header.mat-warn .mat-step-icon-selected,.group-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.group-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.group-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.group-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.group-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.group-theme .mat-stepper-horizontal,.group-theme .mat-stepper-vertical{background-color:#fff}.group-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.group-theme .mat-horizontal-stepper-header:after,.group-theme .mat-horizontal-stepper-header:before,.group-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-sort-header-arrow{color:#757575}.group-theme .mat-tab-header,.group-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.group-theme .mat-tab-group-inverted-header .mat-tab-header,.group-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.group-theme .mat-tab-label,.group-theme .mat-tab-link{color:rgba(0,0,0,.87)}.group-theme .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.group-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.group-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.group-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.group-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.group-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-tab-group.mat-primary .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.group-theme .mat-tab-group.mat-accent .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.group-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.group-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.group-theme .mat-tab-group.mat-warn .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.group-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.group-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.group-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.group-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.group-theme .mat-toolbar.mat-primary{background:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.group-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.group-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.group-theme .mat-toolbar .mat-form-field-ripple,.group-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.group-theme .mat-toolbar .mat-focused .mat-form-field-label,.group-theme .mat-toolbar .mat-form-field-label,.group-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.group-theme .mat-toolbar .mat-select-arrow,.group-theme .mat-toolbar .mat-select-value{color:inherit}.group-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.group-theme .mat-tooltip{background:rgba(97,97,97,.9)}.group-theme .mat-tree{background:#fff}.group-theme .mat-nested-tree-node,.group-theme .mat-tree-node{color:rgba(0,0,0,.87)}.group-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-simple-snackbar-action{color:#43a047}.member-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.member-theme .mat-option{color:rgba(0,0,0,.87)}.member-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.member-theme .mat-option:focus:not(.mat-option-disabled),.member-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.member-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.member-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.member-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.member-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.member-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.member-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.member-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.member-theme .mat-pseudo-checkbox:after{color:#fafafa}.member-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.member-theme .mat-primary .mat-pseudo-checkbox-checked,.member-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-accent .mat-pseudo-checkbox-checked,.member-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.member-theme .mat-pseudo-checkbox-checked,.member-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.member-theme .mat-warn .mat-pseudo-checkbox-checked,.member-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.member-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.member-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.member-theme.mat-app-background,.member-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.member-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.member-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.member-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.member-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.member-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.member-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.member-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.member-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.member-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.member-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.member-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.member-theme .mat-badge-content{color:rgba(var(--member-theme-primary-contrast-500),1);background:rgba(var(--member-theme-primary-500),1)}.cdk-high-contrast-active .member-theme .mat-badge-content{outline:1px solid;border-radius:0}.member-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.member-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.member-theme .mat-badge{position:relative}.member-theme .mat-badge-hidden .mat-badge-content{display:none}.member-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.member-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.member-theme .mat-badge-content._mat-animation-noopable,.member-theme .ng-animate-disabled .mat-badge-content{transition:none}.member-theme .mat-badge-content.mat-badge-active{transform:none}.member-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.member-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.member-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.member-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.member-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.member-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.member-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.member-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.member-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.member-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.member-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.member-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.member-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.member-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.member-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.member-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.member-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.member-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.member-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.member-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-button,.member-theme .mat-icon-button,.member-theme .mat-stroked-button{color:inherit;background:transparent}.member-theme .mat-button.mat-primary,.member-theme .mat-icon-button.mat-primary,.member-theme .mat-stroked-button.mat-primary{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-button.mat-accent,.member-theme .mat-icon-button.mat-accent,.member-theme .mat-stroked-button.mat-accent{color:#43a047}.member-theme .mat-button.mat-warn,.member-theme .mat-icon-button.mat-warn,.member-theme .mat-stroked-button.mat-warn{color:#f44336}.member-theme .mat-button.mat-accent.mat-button-disabled,.member-theme .mat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-button.mat-primary.mat-button-disabled,.member-theme .mat-button.mat-warn.mat-button-disabled,.member-theme .mat-icon-button.mat-accent.mat-button-disabled,.member-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-icon-button.mat-primary.mat-button-disabled,.member-theme .mat-icon-button.mat-warn.mat-button-disabled,.member-theme .mat-stroked-button.mat-accent.mat-button-disabled,.member-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-stroked-button.mat-primary.mat-button-disabled,.member-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.member-theme .mat-button.mat-primary .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-button.mat-accent .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.member-theme .mat-button.mat-warn .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.member-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.member-theme .mat-button .mat-ripple-element,.member-theme .mat-icon-button .mat-ripple-element,.member-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.member-theme .mat-button-focus-overlay{background:#000}.member-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.member-theme .mat-fab,.member-theme .mat-flat-button,.member-theme .mat-mini-fab,.member-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.member-theme .mat-fab.mat-primary,.member-theme .mat-flat-button.mat-primary,.member-theme .mat-mini-fab.mat-primary,.member-theme .mat-raised-button.mat-primary{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-fab.mat-accent,.member-theme .mat-fab.mat-warn,.member-theme .mat-flat-button.mat-accent,.member-theme .mat-flat-button.mat-warn,.member-theme .mat-mini-fab.mat-accent,.member-theme .mat-mini-fab.mat-warn,.member-theme .mat-raised-button.mat-accent,.member-theme .mat-raised-button.mat-warn{color:#fff}.member-theme .mat-fab.mat-accent.mat-button-disabled,.member-theme .mat-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-fab.mat-primary.mat-button-disabled,.member-theme .mat-fab.mat-warn.mat-button-disabled,.member-theme .mat-flat-button.mat-accent.mat-button-disabled,.member-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-flat-button.mat-primary.mat-button-disabled,.member-theme .mat-flat-button.mat-warn.mat-button-disabled,.member-theme .mat-mini-fab.mat-accent.mat-button-disabled,.member-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-mini-fab.mat-primary.mat-button-disabled,.member-theme .mat-mini-fab.mat-warn.mat-button-disabled,.member-theme .mat-raised-button.mat-accent.mat-button-disabled,.member-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-raised-button.mat-primary.mat-button-disabled,.member-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.member-theme .mat-fab.mat-primary,.member-theme .mat-flat-button.mat-primary,.member-theme .mat-mini-fab.mat-primary,.member-theme .mat-raised-button.mat-primary{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-fab.mat-accent,.member-theme .mat-flat-button.mat-accent,.member-theme .mat-mini-fab.mat-accent,.member-theme .mat-raised-button.mat-accent{background-color:#43a047}.member-theme .mat-fab.mat-warn,.member-theme .mat-flat-button.mat-warn,.member-theme .mat-mini-fab.mat-warn,.member-theme .mat-raised-button.mat-warn{background-color:#f44336}.member-theme .mat-fab.mat-accent.mat-button-disabled,.member-theme .mat-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-fab.mat-primary.mat-button-disabled,.member-theme .mat-fab.mat-warn.mat-button-disabled,.member-theme .mat-flat-button.mat-accent.mat-button-disabled,.member-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-flat-button.mat-primary.mat-button-disabled,.member-theme .mat-flat-button.mat-warn.mat-button-disabled,.member-theme .mat-mini-fab.mat-accent.mat-button-disabled,.member-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-mini-fab.mat-primary.mat-button-disabled,.member-theme .mat-mini-fab.mat-warn.mat-button-disabled,.member-theme .mat-raised-button.mat-accent.mat-button-disabled,.member-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-raised-button.mat-primary.mat-button-disabled,.member-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.member-theme .mat-fab.mat-primary .mat-ripple-element,.member-theme .mat-flat-button.mat-primary .mat-ripple-element,.member-theme .mat-mini-fab.mat-primary .mat-ripple-element,.member-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.1}.member-theme .mat-fab.mat-accent .mat-ripple-element,.member-theme .mat-fab.mat-warn .mat-ripple-element,.member-theme .mat-flat-button.mat-accent .mat-ripple-element,.member-theme .mat-flat-button.mat-warn .mat-ripple-element,.member-theme .mat-mini-fab.mat-accent .mat-ripple-element,.member-theme .mat-mini-fab.mat-warn .mat-ripple-element,.member-theme .mat-raised-button.mat-accent .mat-ripple-element,.member-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-flat-button:not([class*=mat-elevation-z]),.member-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.member-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-fab:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.member-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group,.member-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group-appearance-standard,.member-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.member-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.member-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.member-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.member-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.member-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.member-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.member-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.member-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.member-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.member-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.member-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.member-theme .mat-button-toggle-group-appearance-standard,.member-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.member-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.member-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.member-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.member-theme .mat-checkbox-checkmark{fill:#fafafa}.member-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.member-theme .mat-checkbox-mixedmark{background-color:#fafafa}.member-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.member-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.member-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.member-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.member-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.member-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.member-theme .mat-checkbox .mat-ripple-element{background-color:#000}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.member-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.member-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.member-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.member-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.member-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.member-theme .mat-chip.mat-standard-chip:after{background:#000}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.1}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-table{background:#fff}.member-theme .mat-table-sticky,.member-theme .mat-table tbody,.member-theme .mat-table tfoot,.member-theme .mat-table thead,.member-theme [mat-footer-row],.member-theme [mat-header-row],.member-theme [mat-row],.member-theme mat-footer-row,.member-theme mat-header-row,.member-theme mat-row{background:inherit}.member-theme mat-footer-row,.member-theme mat-header-row,.member-theme mat-row,.member-theme td.mat-cell,.member-theme td.mat-footer-cell,.member-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.member-theme .mat-header-cell{color:rgba(0,0,0,.54)}.member-theme .mat-cell,.member-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.member-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.member-theme .mat-datepicker-content .mat-calendar-next-button,.member-theme .mat-datepicker-content .mat-calendar-previous-button,.member-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.member-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.member-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.member-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.member-theme .mat-calendar-body-cell-content,.member-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.member-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.member-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.member-theme .mat-calendar-body-in-range:before{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-calendar-body-comparison-identical,.member-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-calendar-body-comparison-bridge-start:before,.member-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--member-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.member-theme .mat-calendar-body-comparison-bridge-end:before,.member-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--member-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.member-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-calendar-body-selected{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.member-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.member-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.member-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.member-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.member-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.member-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.member-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.member-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.member-theme .mat-datepicker-toggle-active{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.member-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.member-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.member-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.member-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.member-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.member-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.member-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.member-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.member-theme .mat-expansion-indicator:after,.member-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.member-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.member-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.member-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.member-theme .mat-form-field-label,.member-theme .mat-hint{color:rgba(0,0,0,.6)}.member-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.member-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.member-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.member-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.member-theme .mat-error{color:#f44336}.member-theme .mat-form-field-appearance-legacy .mat-form-field-label,.member-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.member-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.member-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.member-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.member-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.member-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.member-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.member-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.member-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.member-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.member-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.member-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.member-theme .mat-icon.mat-primary{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-icon.mat-accent{color:#43a047}.member-theme .mat-icon.mat-warn{color:#f44336}.member-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.member-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.member-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.member-theme .mat-input-element{caret-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.member-theme .mat-form-field-invalid .mat-input-element,.member-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.member-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.member-theme .mat-list-base .mat-list-item,.member-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.member-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.member-theme .mat-list-item-disabled{background-color:#eee}.member-theme .mat-action-list .mat-list-item:focus,.member-theme .mat-action-list .mat-list-item:hover,.member-theme .mat-list-option:focus,.member-theme .mat-list-option:hover,.member-theme .mat-nav-list .mat-list-item:focus,.member-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.member-theme .mat-list-single-selected-option,.member-theme .mat-list-single-selected-option:focus,.member-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.member-theme .mat-menu-panel{background:#fff}.member-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.member-theme .mat-menu-item[disabled],.member-theme .mat-menu-item[disabled] .mat-icon-no-color,.member-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.member-theme .mat-menu-item-submenu-trigger:after,.member-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.member-theme .mat-menu-item-highlighted:not([disabled]),.member-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.member-theme .mat-menu-item.cdk-program-focused:not([disabled]),.member-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.member-theme .mat-paginator{background:#fff}.member-theme .mat-paginator,.member-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.member-theme .mat-paginator-decrement,.member-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.member-theme .mat-paginator-first,.member-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.member-theme .mat-icon-button[disabled] .mat-paginator-decrement,.member-theme .mat-icon-button[disabled] .mat-paginator-first,.member-theme .mat-icon-button[disabled] .mat-paginator-increment,.member-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.member-theme .mat-progress-bar-background{fill:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-progress-bar-buffer{background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-progress-bar-fill:after{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.member-theme .mat-progress-spinner circle,.member-theme .mat-spinner circle{stroke:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-progress-spinner.mat-accent circle,.member-theme .mat-spinner.mat-accent circle{stroke:#43a047}.member-theme .mat-progress-spinner.mat-warn circle,.member-theme .mat-spinner.mat-warn circle{stroke:#f44336}.member-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.member-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.member-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.member-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.member-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.member-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.member-theme .mat-radio-button .mat-ripple-element{background-color:#000}.member-theme .mat-select-value{color:rgba(0,0,0,.87)}.member-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.member-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.member-theme .mat-select-panel{background:#fff}.member-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.member-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.member-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.member-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.member-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.member-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.member-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-drawer.mat-drawer-push{background-color:#fff}.member-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.member-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-drawer-side.mat-drawer-end,.member-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.member-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.member-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.member-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.member-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.member-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.member-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.member-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.member-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.member-theme .mat-primary .mat-slider-thumb,.member-theme .mat-primary .mat-slider-thumb-label,.member-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--member-theme-primary-500),1);opacity:.2}.member-theme .mat-accent .mat-slider-thumb,.member-theme .mat-accent .mat-slider-thumb-label,.member-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.member-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.member-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.member-theme .mat-warn .mat-slider-thumb,.member-theme .mat-warn .mat-slider-thumb-label,.member-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.member-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.member-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.member-theme .cdk-focused .mat-slider-track-background,.member-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.member-theme .mat-slider-disabled .mat-slider-thumb,.member-theme .mat-slider-disabled .mat-slider-track-background,.member-theme .mat-slider-disabled .mat-slider-track-fill,.member-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.member-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.member-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.member-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.member-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.member-theme .mat-step-header.cdk-keyboard-focused,.member-theme .mat-step-header.cdk-program-focused,.member-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.member-theme .mat-step-header:hover{background:none}}.member-theme .mat-step-header .mat-step-label,.member-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.member-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-step-header .mat-step-icon-selected,.member-theme .mat-step-header .mat-step-icon-state-done,.member-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.member-theme .mat-step-header.mat-accent .mat-step-icon-selected,.member-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.member-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.member-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.member-theme .mat-step-header.mat-warn .mat-step-icon-selected,.member-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.member-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.member-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.member-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.member-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.member-theme .mat-stepper-horizontal,.member-theme .mat-stepper-vertical{background-color:#fff}.member-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.member-theme .mat-horizontal-stepper-header:after,.member-theme .mat-horizontal-stepper-header:before,.member-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-sort-header-arrow{color:#757575}.member-theme .mat-tab-header,.member-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.member-theme .mat-tab-group-inverted-header .mat-tab-header,.member-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.member-theme .mat-tab-label,.member-theme .mat-tab-link{color:rgba(0,0,0,.87)}.member-theme .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.member-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.member-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.member-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.member-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.member-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-tab-group.mat-primary .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.member-theme .mat-tab-group.mat-accent .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.member-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.member-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.member-theme .mat-tab-group.mat-warn .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.member-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.member-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.member-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.member-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.member-theme .mat-toolbar.mat-primary{background:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.member-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.member-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.member-theme .mat-toolbar .mat-form-field-ripple,.member-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.member-theme .mat-toolbar .mat-focused .mat-form-field-label,.member-theme .mat-toolbar .mat-form-field-label,.member-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.member-theme .mat-toolbar .mat-select-arrow,.member-theme .mat-toolbar .mat-select-value{color:inherit}.member-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.member-theme .mat-tooltip{background:rgba(97,97,97,.9)}.member-theme .mat-tree{background:#fff}.member-theme .mat-nested-tree-node,.member-theme .mat-tree-node{color:rgba(0,0,0,.87)}.member-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-simple-snackbar-action{color:#43a047}.admin-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.admin-theme .mat-option{color:rgba(0,0,0,.87)}.admin-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.admin-theme .mat-option:focus:not(.mat-option-disabled),.admin-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.admin-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.admin-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.admin-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.admin-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.admin-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.admin-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.admin-theme .mat-pseudo-checkbox:after{color:#fafafa}.admin-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.admin-theme .mat-primary .mat-pseudo-checkbox-checked,.admin-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-accent .mat-pseudo-checkbox-checked,.admin-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.admin-theme .mat-pseudo-checkbox-checked,.admin-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.admin-theme .mat-warn .mat-pseudo-checkbox-checked,.admin-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.admin-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.admin-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.admin-theme.mat-app-background,.admin-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.admin-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.admin-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.admin-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.admin-theme .mat-badge-content{color:rgba(var(--admin-theme-primary-contrast-500),1);background:rgba(var(--admin-theme-primary-500),1)}.cdk-high-contrast-active .admin-theme .mat-badge-content{outline:1px solid;border-radius:0}.admin-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.admin-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.admin-theme .mat-badge{position:relative}.admin-theme .mat-badge-hidden .mat-badge-content{display:none}.admin-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.admin-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.admin-theme .mat-badge-content._mat-animation-noopable,.admin-theme .ng-animate-disabled .mat-badge-content{transition:none}.admin-theme .mat-badge-content.mat-badge-active{transform:none}.admin-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.admin-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.admin-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.admin-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.admin-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.admin-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.admin-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.admin-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.admin-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.admin-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.admin-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.admin-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.admin-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.admin-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.admin-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.admin-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-button,.admin-theme .mat-icon-button,.admin-theme .mat-stroked-button{color:inherit;background:transparent}.admin-theme .mat-button.mat-primary,.admin-theme .mat-icon-button.mat-primary,.admin-theme .mat-stroked-button.mat-primary{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-button.mat-accent,.admin-theme .mat-icon-button.mat-accent,.admin-theme .mat-stroked-button.mat-accent{color:#43a047}.admin-theme .mat-button.mat-warn,.admin-theme .mat-icon-button.mat-warn,.admin-theme .mat-stroked-button.mat-warn{color:#f44336}.admin-theme .mat-button.mat-accent.mat-button-disabled,.admin-theme .mat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-button.mat-primary.mat-button-disabled,.admin-theme .mat-button.mat-warn.mat-button-disabled,.admin-theme .mat-icon-button.mat-accent.mat-button-disabled,.admin-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-icon-button.mat-primary.mat-button-disabled,.admin-theme .mat-icon-button.mat-warn.mat-button-disabled,.admin-theme .mat-stroked-button.mat-accent.mat-button-disabled,.admin-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-stroked-button.mat-primary.mat-button-disabled,.admin-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.admin-theme .mat-button.mat-primary .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-button.mat-accent .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.admin-theme .mat-button.mat-warn .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.admin-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.admin-theme .mat-button .mat-ripple-element,.admin-theme .mat-icon-button .mat-ripple-element,.admin-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.admin-theme .mat-button-focus-overlay{background:#000}.admin-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.admin-theme .mat-fab,.admin-theme .mat-flat-button,.admin-theme .mat-mini-fab,.admin-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.admin-theme .mat-fab.mat-primary,.admin-theme .mat-flat-button.mat-primary,.admin-theme .mat-mini-fab.mat-primary,.admin-theme .mat-raised-button.mat-primary{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-fab.mat-accent,.admin-theme .mat-fab.mat-warn,.admin-theme .mat-flat-button.mat-accent,.admin-theme .mat-flat-button.mat-warn,.admin-theme .mat-mini-fab.mat-accent,.admin-theme .mat-mini-fab.mat-warn,.admin-theme .mat-raised-button.mat-accent,.admin-theme .mat-raised-button.mat-warn{color:#fff}.admin-theme .mat-fab.mat-accent.mat-button-disabled,.admin-theme .mat-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-fab.mat-primary.mat-button-disabled,.admin-theme .mat-fab.mat-warn.mat-button-disabled,.admin-theme .mat-flat-button.mat-accent.mat-button-disabled,.admin-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-flat-button.mat-primary.mat-button-disabled,.admin-theme .mat-flat-button.mat-warn.mat-button-disabled,.admin-theme .mat-mini-fab.mat-accent.mat-button-disabled,.admin-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-mini-fab.mat-primary.mat-button-disabled,.admin-theme .mat-mini-fab.mat-warn.mat-button-disabled,.admin-theme .mat-raised-button.mat-accent.mat-button-disabled,.admin-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-raised-button.mat-primary.mat-button-disabled,.admin-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.admin-theme .mat-fab.mat-primary,.admin-theme .mat-flat-button.mat-primary,.admin-theme .mat-mini-fab.mat-primary,.admin-theme .mat-raised-button.mat-primary{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-fab.mat-accent,.admin-theme .mat-flat-button.mat-accent,.admin-theme .mat-mini-fab.mat-accent,.admin-theme .mat-raised-button.mat-accent{background-color:#43a047}.admin-theme .mat-fab.mat-warn,.admin-theme .mat-flat-button.mat-warn,.admin-theme .mat-mini-fab.mat-warn,.admin-theme .mat-raised-button.mat-warn{background-color:#f44336}.admin-theme .mat-fab.mat-accent.mat-button-disabled,.admin-theme .mat-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-fab.mat-primary.mat-button-disabled,.admin-theme .mat-fab.mat-warn.mat-button-disabled,.admin-theme .mat-flat-button.mat-accent.mat-button-disabled,.admin-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-flat-button.mat-primary.mat-button-disabled,.admin-theme .mat-flat-button.mat-warn.mat-button-disabled,.admin-theme .mat-mini-fab.mat-accent.mat-button-disabled,.admin-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-mini-fab.mat-primary.mat-button-disabled,.admin-theme .mat-mini-fab.mat-warn.mat-button-disabled,.admin-theme .mat-raised-button.mat-accent.mat-button-disabled,.admin-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-raised-button.mat-primary.mat-button-disabled,.admin-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.admin-theme .mat-fab.mat-primary .mat-ripple-element,.admin-theme .mat-flat-button.mat-primary .mat-ripple-element,.admin-theme .mat-mini-fab.mat-primary .mat-ripple-element,.admin-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.1}.admin-theme .mat-fab.mat-accent .mat-ripple-element,.admin-theme .mat-fab.mat-warn .mat-ripple-element,.admin-theme .mat-flat-button.mat-accent .mat-ripple-element,.admin-theme .mat-flat-button.mat-warn .mat-ripple-element,.admin-theme .mat-mini-fab.mat-accent .mat-ripple-element,.admin-theme .mat-mini-fab.mat-warn .mat-ripple-element,.admin-theme .mat-raised-button.mat-accent .mat-ripple-element,.admin-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-flat-button:not([class*=mat-elevation-z]),.admin-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.admin-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-fab:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.admin-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group,.admin-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group-appearance-standard,.admin-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.admin-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.admin-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.admin-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.admin-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.admin-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.admin-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.admin-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.admin-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.admin-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.admin-theme .mat-button-toggle-group-appearance-standard,.admin-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.admin-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.admin-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox-checkmark{fill:#fafafa}.admin-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.admin-theme .mat-checkbox-mixedmark{background-color:#fafafa}.admin-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.admin-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.admin-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.admin-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.admin-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.admin-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox .mat-ripple-element{background-color:#000}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.admin-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.admin-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.admin-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.admin-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.admin-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.admin-theme .mat-chip.mat-standard-chip:after{background:#000}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.1}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-table{background:#fff}.admin-theme .mat-table-sticky,.admin-theme .mat-table tbody,.admin-theme .mat-table tfoot,.admin-theme .mat-table thead,.admin-theme [mat-footer-row],.admin-theme [mat-header-row],.admin-theme [mat-row],.admin-theme mat-footer-row,.admin-theme mat-header-row,.admin-theme mat-row{background:inherit}.admin-theme mat-footer-row,.admin-theme mat-header-row,.admin-theme mat-row,.admin-theme td.mat-cell,.admin-theme td.mat-footer-cell,.admin-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.admin-theme .mat-header-cell{color:rgba(0,0,0,.54)}.admin-theme .mat-cell,.admin-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.admin-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.admin-theme .mat-datepicker-content .mat-calendar-next-button,.admin-theme .mat-datepicker-content .mat-calendar-previous-button,.admin-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.admin-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.admin-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.admin-theme .mat-calendar-body-cell-content,.admin-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.admin-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.admin-theme .mat-calendar-body-in-range:before{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-calendar-body-comparison-identical,.admin-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-calendar-body-comparison-bridge-start:before,.admin-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--admin-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.admin-theme .mat-calendar-body-comparison-bridge-end:before,.admin-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--admin-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.admin-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-calendar-body-selected{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.admin-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.admin-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.admin-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.admin-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.admin-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.admin-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.admin-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.admin-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.admin-theme .mat-datepicker-toggle-active{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.admin-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.admin-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.admin-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.admin-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.admin-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.admin-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.admin-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.admin-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.admin-theme .mat-expansion-indicator:after,.admin-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.admin-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.admin-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.admin-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.admin-theme .mat-form-field-label,.admin-theme .mat-hint{color:rgba(0,0,0,.6)}.admin-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.admin-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.admin-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.admin-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.admin-theme .mat-error{color:#f44336}.admin-theme .mat-form-field-appearance-legacy .mat-form-field-label,.admin-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.admin-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.admin-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.admin-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.admin-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.admin-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.admin-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.admin-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.admin-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.admin-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.admin-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.admin-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.admin-theme .mat-icon.mat-primary{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-icon.mat-accent{color:#43a047}.admin-theme .mat-icon.mat-warn{color:#f44336}.admin-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.admin-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.admin-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-input-element{caret-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.admin-theme .mat-form-field-invalid .mat-input-element,.admin-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.admin-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.admin-theme .mat-list-base .mat-list-item,.admin-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.admin-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.admin-theme .mat-list-item-disabled{background-color:#eee}.admin-theme .mat-action-list .mat-list-item:focus,.admin-theme .mat-action-list .mat-list-item:hover,.admin-theme .mat-list-option:focus,.admin-theme .mat-list-option:hover,.admin-theme .mat-nav-list .mat-list-item:focus,.admin-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.admin-theme .mat-list-single-selected-option,.admin-theme .mat-list-single-selected-option:focus,.admin-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.admin-theme .mat-menu-panel{background:#fff}.admin-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.admin-theme .mat-menu-item[disabled],.admin-theme .mat-menu-item[disabled] .mat-icon-no-color,.admin-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.admin-theme .mat-menu-item-submenu-trigger:after,.admin-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.admin-theme .mat-menu-item-highlighted:not([disabled]),.admin-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.admin-theme .mat-menu-item.cdk-program-focused:not([disabled]),.admin-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.admin-theme .mat-paginator{background:#fff}.admin-theme .mat-paginator,.admin-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.admin-theme .mat-paginator-decrement,.admin-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.admin-theme .mat-paginator-first,.admin-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.admin-theme .mat-icon-button[disabled] .mat-paginator-decrement,.admin-theme .mat-icon-button[disabled] .mat-paginator-first,.admin-theme .mat-icon-button[disabled] .mat-paginator-increment,.admin-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.admin-theme .mat-progress-bar-background{fill:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-progress-bar-buffer{background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-progress-bar-fill:after{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.admin-theme .mat-progress-spinner circle,.admin-theme .mat-spinner circle{stroke:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-progress-spinner.mat-accent circle,.admin-theme .mat-spinner.mat-accent circle{stroke:#43a047}.admin-theme .mat-progress-spinner.mat-warn circle,.admin-theme .mat-spinner.mat-warn circle{stroke:#f44336}.admin-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.admin-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.admin-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.admin-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.admin-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.admin-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button .mat-ripple-element{background-color:#000}.admin-theme .mat-select-value{color:rgba(0,0,0,.87)}.admin-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.admin-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.admin-theme .mat-select-panel{background:#fff}.admin-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.admin-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.admin-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.admin-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.admin-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.admin-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.admin-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-drawer.mat-drawer-push{background-color:#fff}.admin-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.admin-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-drawer-side.mat-drawer-end,.admin-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.admin-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.admin-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.admin-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.admin-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.admin-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.admin-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.admin-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.admin-theme .mat-primary .mat-slider-thumb,.admin-theme .mat-primary .mat-slider-thumb-label,.admin-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--admin-theme-primary-500),1);opacity:.2}.admin-theme .mat-accent .mat-slider-thumb,.admin-theme .mat-accent .mat-slider-thumb-label,.admin-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.admin-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.admin-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.admin-theme .mat-warn .mat-slider-thumb,.admin-theme .mat-warn .mat-slider-thumb-label,.admin-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.admin-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.admin-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.admin-theme .cdk-focused .mat-slider-track-background,.admin-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-disabled .mat-slider-thumb,.admin-theme .mat-slider-disabled .mat-slider-track-background,.admin-theme .mat-slider-disabled .mat-slider-track-fill,.admin-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.admin-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.admin-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.admin-theme .mat-step-header.cdk-keyboard-focused,.admin-theme .mat-step-header.cdk-program-focused,.admin-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.admin-theme .mat-step-header:hover{background:none}}.admin-theme .mat-step-header .mat-step-label,.admin-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.admin-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-step-header .mat-step-icon-selected,.admin-theme .mat-step-header .mat-step-icon-state-done,.admin-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.admin-theme .mat-step-header.mat-accent .mat-step-icon-selected,.admin-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.admin-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.admin-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.admin-theme .mat-step-header.mat-warn .mat-step-icon-selected,.admin-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.admin-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.admin-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.admin-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.admin-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.admin-theme .mat-stepper-horizontal,.admin-theme .mat-stepper-vertical{background-color:#fff}.admin-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.admin-theme .mat-horizontal-stepper-header:after,.admin-theme .mat-horizontal-stepper-header:before,.admin-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-sort-header-arrow{color:#757575}.admin-theme .mat-tab-header,.admin-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.admin-theme .mat-tab-group-inverted-header .mat-tab-header,.admin-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.admin-theme .mat-tab-label,.admin-theme .mat-tab-link{color:rgba(0,0,0,.87)}.admin-theme .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.admin-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.admin-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.admin-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.admin-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-tab-group.mat-primary .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.admin-theme .mat-tab-group.mat-accent .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.admin-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.admin-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.admin-theme .mat-tab-group.mat-warn .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.admin-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.admin-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.admin-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.admin-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.admin-theme .mat-toolbar.mat-primary{background:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.admin-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.admin-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.admin-theme .mat-toolbar .mat-form-field-ripple,.admin-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.admin-theme .mat-toolbar .mat-focused .mat-form-field-label,.admin-theme .mat-toolbar .mat-form-field-label,.admin-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.admin-theme .mat-toolbar .mat-select-arrow,.admin-theme .mat-toolbar .mat-select-value{color:inherit}.admin-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.admin-theme .mat-tooltip{background:rgba(97,97,97,.9)}.admin-theme .mat-tree{background:#fff}.admin-theme .mat-nested-tree-node,.admin-theme .mat-tree-node{color:rgba(0,0,0,.87)}.admin-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-simple-snackbar-action{color:#43a047}.user-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.user-theme .mat-option{color:rgba(0,0,0,.87)}.user-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.user-theme .mat-option:focus:not(.mat-option-disabled),.user-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.user-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.user-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.user-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.user-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.user-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.user-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.user-theme .mat-pseudo-checkbox:after{color:#fafafa}.user-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.user-theme .mat-primary .mat-pseudo-checkbox-checked,.user-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-pseudo-checkbox-checked,.user-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.user-theme .mat-pseudo-checkbox-checked,.user-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.user-theme .mat-warn .mat-pseudo-checkbox-checked,.user-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.user-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.user-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.user-theme.mat-app-background,.user-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.user-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.user-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.user-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.user-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.user-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.user-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.user-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.user-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.user-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.user-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.user-theme .mat-badge-content{color:rgba(var(--user-theme-primary-contrast-500),1);background:rgba(var(--user-theme-primary-500),1)}.cdk-high-contrast-active .user-theme .mat-badge-content{outline:1px solid;border-radius:0}.user-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.user-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.user-theme .mat-badge{position:relative}.user-theme .mat-badge-hidden .mat-badge-content{display:none}.user-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.user-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.user-theme .mat-badge-content._mat-animation-noopable,.user-theme .ng-animate-disabled .mat-badge-content{transition:none}.user-theme .mat-badge-content.mat-badge-active{transform:none}.user-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.user-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.user-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.user-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.user-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.user-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.user-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.user-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.user-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.user-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.user-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.user-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.user-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.user-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.user-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.user-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.user-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.user-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.user-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.user-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-button,.user-theme .mat-icon-button,.user-theme .mat-stroked-button{color:inherit;background:transparent}.user-theme .mat-button.mat-primary,.user-theme .mat-icon-button.mat-primary,.user-theme .mat-stroked-button.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent,.user-theme .mat-icon-button.mat-accent,.user-theme .mat-stroked-button.mat-accent{color:#43a047}.user-theme .mat-button.mat-warn,.user-theme .mat-icon-button.mat-warn,.user-theme .mat-stroked-button.mat-warn{color:#f44336}.user-theme .mat-button.mat-accent.mat-button-disabled,.user-theme .mat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-button.mat-primary.mat-button-disabled,.user-theme .mat-button.mat-warn.mat-button-disabled,.user-theme .mat-icon-button.mat-accent.mat-button-disabled,.user-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-icon-button.mat-primary.mat-button-disabled,.user-theme .mat-icon-button.mat-warn.mat-button-disabled,.user-theme .mat-stroked-button.mat-accent.mat-button-disabled,.user-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-stroked-button.mat-primary.mat-button-disabled,.user-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.user-theme .mat-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.user-theme .mat-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.user-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.user-theme .mat-button .mat-ripple-element,.user-theme .mat-icon-button .mat-ripple-element,.user-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.user-theme .mat-button-focus-overlay{background:#000}.user-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.user-theme .mat-fab,.user-theme .mat-flat-button,.user-theme .mat-mini-fab,.user-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.user-theme .mat-fab.mat-primary,.user-theme .mat-flat-button.mat-primary,.user-theme .mat-mini-fab.mat-primary,.user-theme .mat-raised-button.mat-primary{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-fab.mat-accent,.user-theme .mat-fab.mat-warn,.user-theme .mat-flat-button.mat-accent,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-mini-fab.mat-warn,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-raised-button.mat-warn{color:#fff}.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.user-theme .mat-fab.mat-primary,.user-theme .mat-flat-button.mat-primary,.user-theme .mat-mini-fab.mat-primary,.user-theme .mat-raised-button.mat-primary{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-fab.mat-accent,.user-theme .mat-flat-button.mat-accent,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-raised-button.mat-accent{background-color:#43a047}.user-theme .mat-fab.mat-warn,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-mini-fab.mat-warn,.user-theme .mat-raised-button.mat-warn{background-color:#f44336}.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.user-theme .mat-fab.mat-primary .mat-ripple-element,.user-theme .mat-flat-button.mat-primary .mat-ripple-element,.user-theme .mat-mini-fab.mat-primary .mat-ripple-element,.user-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-fab.mat-accent .mat-ripple-element,.user-theme .mat-fab.mat-warn .mat-ripple-element,.user-theme .mat-flat-button.mat-accent .mat-ripple-element,.user-theme .mat-flat-button.mat-warn .mat-ripple-element,.user-theme .mat-mini-fab.mat-accent .mat-ripple-element,.user-theme .mat-mini-fab.mat-warn .mat-ripple-element,.user-theme .mat-raised-button.mat-accent .mat-ripple-element,.user-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-flat-button:not([class*=mat-elevation-z]),.user-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.user-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-fab:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.user-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group,.user-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard,.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.user-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.user-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.user-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.user-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.user-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.user-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.user-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.user-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.user-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.user-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.user-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.user-theme .mat-button-toggle-group-appearance-standard,.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.user-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.user-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.user-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.user-theme .mat-checkbox-checkmark{fill:#fafafa}.user-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.user-theme .mat-checkbox-mixedmark{background-color:#fafafa}.user-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.user-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.user-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.user-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.user-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.user-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.user-theme .mat-checkbox .mat-ripple-element{background-color:#000}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.user-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.user-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.user-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.user-theme .mat-chip.mat-standard-chip:after{background:#000}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-table{background:#fff}.user-theme .mat-table-sticky,.user-theme .mat-table tbody,.user-theme .mat-table tfoot,.user-theme .mat-table thead,.user-theme [mat-footer-row],.user-theme [mat-header-row],.user-theme [mat-row],.user-theme mat-footer-row,.user-theme mat-header-row,.user-theme mat-row{background:inherit}.user-theme mat-footer-row,.user-theme mat-header-row,.user-theme mat-row,.user-theme td.mat-cell,.user-theme td.mat-footer-cell,.user-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.user-theme .mat-header-cell{color:rgba(0,0,0,.54)}.user-theme .mat-cell,.user-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.user-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.user-theme .mat-datepicker-content .mat-calendar-next-button,.user-theme .mat-datepicker-content .mat-calendar-previous-button,.user-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.user-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.user-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.user-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.user-theme .mat-calendar-body-cell-content,.user-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.user-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.user-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.user-theme .mat-calendar-body-in-range:before{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-calendar-body-comparison-bridge-start:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-comparison-bridge-end:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-calendar-body-selected{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.user-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.user-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.user-theme .mat-datepicker-toggle-active{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.user-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.user-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.user-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.user-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.user-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.user-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.user-theme .mat-expansion-indicator:after,.user-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.user-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.user-theme .mat-form-field-label,.user-theme .mat-hint{color:rgba(0,0,0,.6)}.user-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.user-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.user-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.user-theme .mat-error{color:#f44336}.user-theme .mat-form-field-appearance-legacy .mat-form-field-label,.user-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.user-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.user-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.user-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.user-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.user-theme .mat-icon.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-icon.mat-accent{color:#43a047}.user-theme .mat-icon.mat-warn{color:#f44336}.user-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.user-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.user-theme .mat-input-element{caret-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.user-theme .mat-form-field-invalid .mat-input-element,.user-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.user-theme .mat-list-base .mat-list-item,.user-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.user-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.user-theme .mat-list-item-disabled{background-color:#eee}.user-theme .mat-action-list .mat-list-item:focus,.user-theme .mat-action-list .mat-list-item:hover,.user-theme .mat-list-option:focus,.user-theme .mat-list-option:hover,.user-theme .mat-nav-list .mat-list-item:focus,.user-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.user-theme .mat-list-single-selected-option,.user-theme .mat-list-single-selected-option:focus,.user-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.user-theme .mat-menu-panel{background:#fff}.user-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.user-theme .mat-menu-item[disabled],.user-theme .mat-menu-item[disabled] .mat-icon-no-color,.user-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.user-theme .mat-menu-item-submenu-trigger:after,.user-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.user-theme .mat-menu-item-highlighted:not([disabled]),.user-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.user-theme .mat-menu-item.cdk-program-focused:not([disabled]),.user-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.user-theme .mat-paginator{background:#fff}.user-theme .mat-paginator,.user-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.user-theme .mat-paginator-decrement,.user-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.user-theme .mat-paginator-first,.user-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.user-theme .mat-icon-button[disabled] .mat-paginator-decrement,.user-theme .mat-icon-button[disabled] .mat-paginator-first,.user-theme .mat-icon-button[disabled] .mat-paginator-increment,.user-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.user-theme .mat-progress-bar-background{fill:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-buffer{background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-fill:after{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.user-theme .mat-progress-spinner circle,.user-theme .mat-spinner circle{stroke:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-spinner.mat-accent circle,.user-theme .mat-spinner.mat-accent circle{stroke:#43a047}.user-theme .mat-progress-spinner.mat-warn circle,.user-theme .mat-spinner.mat-warn circle{stroke:#f44336}.user-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.user-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.user-theme .mat-radio-button .mat-ripple-element{background-color:#000}.user-theme .mat-select-value{color:rgba(0,0,0,.87)}.user-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.user-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.user-theme .mat-select-panel{background:#fff}.user-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.user-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.user-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.user-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.user-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.user-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.user-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-drawer.mat-drawer-push{background-color:#fff}.user-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.user-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-drawer-side.mat-drawer-end,.user-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.user-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.user-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.user-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.user-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.user-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.user-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.user-theme .mat-primary .mat-slider-thumb,.user-theme .mat-primary .mat-slider-thumb-label,.user-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--user-theme-primary-500),1);opacity:.2}.user-theme .mat-accent .mat-slider-thumb,.user-theme .mat-accent .mat-slider-thumb-label,.user-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.user-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.user-theme .mat-warn .mat-slider-thumb,.user-theme .mat-warn .mat-slider-thumb-label,.user-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.user-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.user-theme .cdk-focused .mat-slider-track-background,.user-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.user-theme .mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider-disabled .mat-slider-track-background,.user-theme .mat-slider-disabled .mat-slider-track-fill,.user-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.user-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.user-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.user-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-step-header.cdk-keyboard-focused,.user-theme .mat-step-header.cdk-program-focused,.user-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.user-theme .mat-step-header:hover{background:none}}.user-theme .mat-step-header .mat-step-label,.user-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.user-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header .mat-step-icon-selected,.user-theme .mat-step-header .mat-step-icon-state-done,.user-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-accent .mat-step-icon-selected,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon-selected,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.user-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.user-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.user-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.user-theme .mat-stepper-horizontal,.user-theme .mat-stepper-vertical{background-color:#fff}.user-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.user-theme .mat-horizontal-stepper-header:after,.user-theme .mat-horizontal-stepper-header:before,.user-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-sort-header-arrow{color:#757575}.user-theme .mat-tab-header,.user-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.user-theme .mat-tab-group-inverted-header .mat-tab-header,.user-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.user-theme .mat-tab-label,.user-theme .mat-tab-link{color:rgba(0,0,0,.87)}.user-theme .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.user-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.user-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.user-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.user-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-primary .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.user-theme .mat-tab-group.mat-accent .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.user-theme .mat-tab-group.mat-warn .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.user-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.user-theme .mat-toolbar.mat-primary{background:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.user-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.user-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.user-theme .mat-toolbar .mat-form-field-ripple,.user-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.user-theme .mat-toolbar .mat-focused .mat-form-field-label,.user-theme .mat-toolbar .mat-form-field-label,.user-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.user-theme .mat-toolbar .mat-select-arrow,.user-theme .mat-toolbar .mat-select-value{color:inherit}.user-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.user-theme .mat-tooltip{background:rgba(97,97,97,.9)}.user-theme .mat-tree{background:#fff}.user-theme .mat-nested-tree-node,.user-theme .mat-tree-node{color:rgba(0,0,0,.87)}.user-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-simple-snackbar-action{color:#43a047}.service-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.service-theme .mat-option{color:rgba(0,0,0,.87)}.service-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.service-theme .mat-option:focus:not(.mat-option-disabled),.service-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.service-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.service-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.service-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.service-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.service-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.service-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.service-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.service-theme .mat-pseudo-checkbox:after{color:#fafafa}.service-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.service-theme .mat-primary .mat-pseudo-checkbox-checked,.service-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-accent .mat-pseudo-checkbox-checked,.service-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.service-theme .mat-pseudo-checkbox-checked,.service-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.service-theme .mat-warn .mat-pseudo-checkbox-checked,.service-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.service-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.service-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.service-theme.mat-app-background,.service-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.service-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.service-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.service-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.service-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.service-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.service-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.service-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.service-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.service-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.service-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.service-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.service-theme .mat-badge-content{color:rgba(var(--service-theme-primary-contrast-500),1);background:rgba(var(--service-theme-primary-500),1)}.cdk-high-contrast-active .service-theme .mat-badge-content{outline:1px solid;border-radius:0}.service-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.service-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.service-theme .mat-badge{position:relative}.service-theme .mat-badge-hidden .mat-badge-content{display:none}.service-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.service-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.service-theme .mat-badge-content._mat-animation-noopable,.service-theme .ng-animate-disabled .mat-badge-content{transition:none}.service-theme .mat-badge-content.mat-badge-active{transform:none}.service-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.service-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.service-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.service-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.service-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.service-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.service-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.service-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.service-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.service-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.service-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.service-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.service-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.service-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.service-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.service-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.service-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.service-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.service-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.service-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-button,.service-theme .mat-icon-button,.service-theme .mat-stroked-button{color:inherit;background:transparent}.service-theme .mat-button.mat-primary,.service-theme .mat-icon-button.mat-primary,.service-theme .mat-stroked-button.mat-primary{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-button.mat-accent,.service-theme .mat-icon-button.mat-accent,.service-theme .mat-stroked-button.mat-accent{color:#43a047}.service-theme .mat-button.mat-warn,.service-theme .mat-icon-button.mat-warn,.service-theme .mat-stroked-button.mat-warn{color:#f44336}.service-theme .mat-button.mat-accent.mat-button-disabled,.service-theme .mat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-button.mat-primary.mat-button-disabled,.service-theme .mat-button.mat-warn.mat-button-disabled,.service-theme .mat-icon-button.mat-accent.mat-button-disabled,.service-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-icon-button.mat-primary.mat-button-disabled,.service-theme .mat-icon-button.mat-warn.mat-button-disabled,.service-theme .mat-stroked-button.mat-accent.mat-button-disabled,.service-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-stroked-button.mat-primary.mat-button-disabled,.service-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.service-theme .mat-button.mat-primary .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-button.mat-accent .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.service-theme .mat-button.mat-warn .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.service-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.service-theme .mat-button .mat-ripple-element,.service-theme .mat-icon-button .mat-ripple-element,.service-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.service-theme .mat-button-focus-overlay{background:#000}.service-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.service-theme .mat-fab,.service-theme .mat-flat-button,.service-theme .mat-mini-fab,.service-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.service-theme .mat-fab.mat-primary,.service-theme .mat-flat-button.mat-primary,.service-theme .mat-mini-fab.mat-primary,.service-theme .mat-raised-button.mat-primary{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-fab.mat-accent,.service-theme .mat-fab.mat-warn,.service-theme .mat-flat-button.mat-accent,.service-theme .mat-flat-button.mat-warn,.service-theme .mat-mini-fab.mat-accent,.service-theme .mat-mini-fab.mat-warn,.service-theme .mat-raised-button.mat-accent,.service-theme .mat-raised-button.mat-warn{color:#fff}.service-theme .mat-fab.mat-accent.mat-button-disabled,.service-theme .mat-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-fab.mat-primary.mat-button-disabled,.service-theme .mat-fab.mat-warn.mat-button-disabled,.service-theme .mat-flat-button.mat-accent.mat-button-disabled,.service-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-flat-button.mat-primary.mat-button-disabled,.service-theme .mat-flat-button.mat-warn.mat-button-disabled,.service-theme .mat-mini-fab.mat-accent.mat-button-disabled,.service-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-mini-fab.mat-primary.mat-button-disabled,.service-theme .mat-mini-fab.mat-warn.mat-button-disabled,.service-theme .mat-raised-button.mat-accent.mat-button-disabled,.service-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-raised-button.mat-primary.mat-button-disabled,.service-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.service-theme .mat-fab.mat-primary,.service-theme .mat-flat-button.mat-primary,.service-theme .mat-mini-fab.mat-primary,.service-theme .mat-raised-button.mat-primary{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-fab.mat-accent,.service-theme .mat-flat-button.mat-accent,.service-theme .mat-mini-fab.mat-accent,.service-theme .mat-raised-button.mat-accent{background-color:#43a047}.service-theme .mat-fab.mat-warn,.service-theme .mat-flat-button.mat-warn,.service-theme .mat-mini-fab.mat-warn,.service-theme .mat-raised-button.mat-warn{background-color:#f44336}.service-theme .mat-fab.mat-accent.mat-button-disabled,.service-theme .mat-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-fab.mat-primary.mat-button-disabled,.service-theme .mat-fab.mat-warn.mat-button-disabled,.service-theme .mat-flat-button.mat-accent.mat-button-disabled,.service-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-flat-button.mat-primary.mat-button-disabled,.service-theme .mat-flat-button.mat-warn.mat-button-disabled,.service-theme .mat-mini-fab.mat-accent.mat-button-disabled,.service-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-mini-fab.mat-primary.mat-button-disabled,.service-theme .mat-mini-fab.mat-warn.mat-button-disabled,.service-theme .mat-raised-button.mat-accent.mat-button-disabled,.service-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-raised-button.mat-primary.mat-button-disabled,.service-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.service-theme .mat-fab.mat-primary .mat-ripple-element,.service-theme .mat-flat-button.mat-primary .mat-ripple-element,.service-theme .mat-mini-fab.mat-primary .mat-ripple-element,.service-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.1}.service-theme .mat-fab.mat-accent .mat-ripple-element,.service-theme .mat-fab.mat-warn .mat-ripple-element,.service-theme .mat-flat-button.mat-accent .mat-ripple-element,.service-theme .mat-flat-button.mat-warn .mat-ripple-element,.service-theme .mat-mini-fab.mat-accent .mat-ripple-element,.service-theme .mat-mini-fab.mat-warn .mat-ripple-element,.service-theme .mat-raised-button.mat-accent .mat-ripple-element,.service-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-flat-button:not([class*=mat-elevation-z]),.service-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.service-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-fab:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.service-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group,.service-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group-appearance-standard,.service-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.service-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.service-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.service-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.service-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.service-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.service-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.service-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.service-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.service-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.service-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.service-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.service-theme .mat-button-toggle-group-appearance-standard,.service-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.service-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.service-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.service-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.service-theme .mat-checkbox-checkmark{fill:#fafafa}.service-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.service-theme .mat-checkbox-mixedmark{background-color:#fafafa}.service-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.service-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.service-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.service-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.service-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.service-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.service-theme .mat-checkbox .mat-ripple-element{background-color:#000}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.service-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.service-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.service-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.service-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.service-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.service-theme .mat-chip.mat-standard-chip:after{background:#000}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.1}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-table{background:#fff}.service-theme .mat-table-sticky,.service-theme .mat-table tbody,.service-theme .mat-table tfoot,.service-theme .mat-table thead,.service-theme [mat-footer-row],.service-theme [mat-header-row],.service-theme [mat-row],.service-theme mat-footer-row,.service-theme mat-header-row,.service-theme mat-row{background:inherit}.service-theme mat-footer-row,.service-theme mat-header-row,.service-theme mat-row,.service-theme td.mat-cell,.service-theme td.mat-footer-cell,.service-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.service-theme .mat-header-cell{color:rgba(0,0,0,.54)}.service-theme .mat-cell,.service-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.service-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.service-theme .mat-datepicker-content .mat-calendar-next-button,.service-theme .mat-datepicker-content .mat-calendar-previous-button,.service-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.service-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.service-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.service-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.service-theme .mat-calendar-body-cell-content,.service-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.service-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.service-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.service-theme .mat-calendar-body-in-range:before{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-calendar-body-comparison-identical,.service-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-calendar-body-comparison-bridge-start:before,.service-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--service-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.service-theme .mat-calendar-body-comparison-bridge-end:before,.service-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--service-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.service-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-calendar-body-selected{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.service-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.service-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.service-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.service-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.service-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.service-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.service-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.service-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.service-theme .mat-datepicker-toggle-active{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.service-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.service-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.service-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.service-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.service-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.service-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.service-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.service-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.service-theme .mat-expansion-indicator:after,.service-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.service-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.service-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.service-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.service-theme .mat-form-field-label,.service-theme .mat-hint{color:rgba(0,0,0,.6)}.service-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.service-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.service-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.service-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.service-theme .mat-error{color:#f44336}.service-theme .mat-form-field-appearance-legacy .mat-form-field-label,.service-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.service-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.service-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.service-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.service-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.service-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.service-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.service-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.service-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.service-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.service-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.service-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.service-theme .mat-icon.mat-primary{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-icon.mat-accent{color:#43a047}.service-theme .mat-icon.mat-warn{color:#f44336}.service-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.service-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.service-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.service-theme .mat-input-element{caret-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.service-theme .mat-form-field-invalid .mat-input-element,.service-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.service-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.service-theme .mat-list-base .mat-list-item,.service-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.service-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.service-theme .mat-list-item-disabled{background-color:#eee}.service-theme .mat-action-list .mat-list-item:focus,.service-theme .mat-action-list .mat-list-item:hover,.service-theme .mat-list-option:focus,.service-theme .mat-list-option:hover,.service-theme .mat-nav-list .mat-list-item:focus,.service-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.service-theme .mat-list-single-selected-option,.service-theme .mat-list-single-selected-option:focus,.service-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.service-theme .mat-menu-panel{background:#fff}.service-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.service-theme .mat-menu-item[disabled],.service-theme .mat-menu-item[disabled] .mat-icon-no-color,.service-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.service-theme .mat-menu-item-submenu-trigger:after,.service-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.service-theme .mat-menu-item-highlighted:not([disabled]),.service-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.service-theme .mat-menu-item.cdk-program-focused:not([disabled]),.service-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.service-theme .mat-paginator{background:#fff}.service-theme .mat-paginator,.service-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.service-theme .mat-paginator-decrement,.service-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.service-theme .mat-paginator-first,.service-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.service-theme .mat-icon-button[disabled] .mat-paginator-decrement,.service-theme .mat-icon-button[disabled] .mat-paginator-first,.service-theme .mat-icon-button[disabled] .mat-paginator-increment,.service-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.service-theme .mat-progress-bar-background{fill:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-progress-bar-buffer{background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-progress-bar-fill:after{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.service-theme .mat-progress-spinner circle,.service-theme .mat-spinner circle{stroke:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-progress-spinner.mat-accent circle,.service-theme .mat-spinner.mat-accent circle{stroke:#43a047}.service-theme .mat-progress-spinner.mat-warn circle,.service-theme .mat-spinner.mat-warn circle{stroke:#f44336}.service-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.service-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.service-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.service-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.service-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.service-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.service-theme .mat-radio-button .mat-ripple-element{background-color:#000}.service-theme .mat-select-value{color:rgba(0,0,0,.87)}.service-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.service-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.service-theme .mat-select-panel{background:#fff}.service-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.service-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.service-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.service-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.service-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.service-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.service-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-drawer.mat-drawer-push{background-color:#fff}.service-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.service-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-drawer-side.mat-drawer-end,.service-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.service-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.service-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.service-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.service-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.service-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.service-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.service-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.service-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.service-theme .mat-primary .mat-slider-thumb,.service-theme .mat-primary .mat-slider-thumb-label,.service-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--service-theme-primary-500),1);opacity:.2}.service-theme .mat-accent .mat-slider-thumb,.service-theme .mat-accent .mat-slider-thumb-label,.service-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.service-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.service-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.service-theme .mat-warn .mat-slider-thumb,.service-theme .mat-warn .mat-slider-thumb-label,.service-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.service-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.service-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.service-theme .cdk-focused .mat-slider-track-background,.service-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.service-theme .mat-slider-disabled .mat-slider-thumb,.service-theme .mat-slider-disabled .mat-slider-track-background,.service-theme .mat-slider-disabled .mat-slider-track-fill,.service-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.service-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.service-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.service-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.service-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.service-theme .mat-step-header.cdk-keyboard-focused,.service-theme .mat-step-header.cdk-program-focused,.service-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.service-theme .mat-step-header:hover{background:none}}.service-theme .mat-step-header .mat-step-label,.service-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.service-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-step-header .mat-step-icon-selected,.service-theme .mat-step-header .mat-step-icon-state-done,.service-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.service-theme .mat-step-header.mat-accent .mat-step-icon-selected,.service-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.service-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.service-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.service-theme .mat-step-header.mat-warn .mat-step-icon-selected,.service-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.service-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.service-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.service-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.service-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.service-theme .mat-stepper-horizontal,.service-theme .mat-stepper-vertical{background-color:#fff}.service-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.service-theme .mat-horizontal-stepper-header:after,.service-theme .mat-horizontal-stepper-header:before,.service-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-sort-header-arrow{color:#757575}.service-theme .mat-tab-header,.service-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.service-theme .mat-tab-group-inverted-header .mat-tab-header,.service-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.service-theme .mat-tab-label,.service-theme .mat-tab-link{color:rgba(0,0,0,.87)}.service-theme .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.service-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.service-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.service-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.service-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.service-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-tab-group.mat-primary .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.service-theme .mat-tab-group.mat-accent .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.service-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.service-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.service-theme .mat-tab-group.mat-warn .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.service-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.service-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.service-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.service-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.service-theme .mat-toolbar.mat-primary{background:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.service-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.service-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.service-theme .mat-toolbar .mat-form-field-ripple,.service-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.service-theme .mat-toolbar .mat-focused .mat-form-field-label,.service-theme .mat-toolbar .mat-form-field-label,.service-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.service-theme .mat-toolbar .mat-select-arrow,.service-theme .mat-toolbar .mat-select-value{color:inherit}.service-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.service-theme .mat-tooltip{background:rgba(97,97,97,.9)}.service-theme .mat-tree{background:#fff}.service-theme .mat-nested-tree-node,.service-theme .mat-tree-node{color:rgba(0,0,0,.87)}.service-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-simple-snackbar-action{color:#43a047}body{background-color:#fafafa}button{border-radius:0!important}button:focus{outline:none!important}.vo-item{background-color:var(--vo-color)}.facility-item{background-color:var(--facility-color)}.resource-item{background-color:var(--resource-color)}.group-item{background-color:var(--group-color)}.member-item{background-color:var(--member-color)}.service-item{background-color:var(--service-color)}.dark-item-activated{background:var(--side-link-active)!important}.vo-item-activated{border-right:5px solid var(--vo-color);color:var(--vo-color)!important;font-weight:500;background-color:rgba(63,76,255,.1)!important}.vo-item-activated:hover{background-color:rgba(63,76,255,.15)!important}.admin-item-activated{border-right:5px solid var(--admin-color);color:var(--admin-color)!important;font-weight:500;background-color:rgba(255,50,50,.1)}.admin-item-activated:hover{background-color:rgba(255,50,50,.15)!important}.facility-item-activated{border-right:5px solid var(--facility-color);color:var(--facility-color)!important;font-weight:500;background-color:rgba(255,80,23,.1)}.facility-item-activated:hover{background-color:rgba(255,80,23,.15)!important}.resource-item-activated{border-right:5px solid var(--resource-color);color:var(--resource-color)!important;font-weight:500;background-color:rgba(176,44,255,.1)}.resource-item-activated:hover{background-color:rgba(176,44,255,.15)!important}.group-item-activated{border-right:5px solid var(--group-color);color:var(--group-color)!important;font-weight:500;background-color:rgba(123,255,71,.1)}.group-item-activated:hover{background-color:rgba(123,255,71,.15)!important}.member-item-activated{border-right:5px solid var(--member-color);color:var(--member-color)!important;font-weight:500;background-color:rgba(255,28,133,.1)}.member-item-activated:hover{background-color:rgba(255,28,133,.15)!important}.user-item-activated{border-right:5px solid var(--member-color);color:var(--member-color)!important;font-weight:500;background-color:rgba(0,121,107,.1)}.user-item-activated:hover{background-color:rgba(0,121,107,.15)!important}.service-item-activated{border-right:5px solid var(--service-color);color:var(--service-color)!important;font-weight:500;background-color:rgba(86,19,53,.1)}.service-item-activated:hover{background-color:rgba(86,19,53,.15)!important}.vo-item-links a:hover{color:var(--vo-color)!important;background-color:rgba(63,76,255,.15)!important}.group-item-links a:hover{color:var(--group-color)!important;background-color:rgba(123,255,71,.15)!important}.admin-item-links a:hover{color:var(--admin-color)!important;background-color:rgba(255,50,50,.15)!important}.facility-item-links a:hover{color:var(--facility-color)!important;background-color:rgba(255,82,28,.15)!important}.resource-item-links a:hover{color:var(--resource-color)!important;background-color:rgba(176,44,255,.15)!important}.member-item-links a:hover{color:var(--member-color)!important;background-color:rgba(255,28,133,.15)!important}.user-item-links a:hover{color:var(--user-color)!important;background-color:rgba(0,121,107,.15)!important}.service-item-links a:hover{color:var(--service-color)!important;background-color:rgba(86,19,53,.15)!important}.vo-text{color:var(--vo-color)!important}.facility-text{color:var(--facility-color)!important}.resource-text{color:var(--resource-color)!important}.group-text{color:var(--group-color)!important}.member-text{color:var(--member-color)!important}.user-text{color:var(--user-color)!important}.service-text{color:var(--service-color)!important}.router-component{padding-bottom:5rem;min-height:calc(100vh - 314px)}@media (min-width:769px) and (max-width:1199px){.router-component{width:calc(100vw - 330px)}}@media (max-width:768px){.router-component{width:calc(100vw - 30px)}}.main-input{font-size:1.2rem!important;line-height:1.2!important}.error-text{color:#d32f2f}.main-progress-bar{z-index:999999}.main-progress-bar .mat-progress-bar-fill:after{background-color:#0081cb!important}.main-progress-bar .mat-progress-bar-buffer{background-color:#2c2c2c}.tab-padding-top .mat-tab-body-content{padding-top:2rem}#nav-menu{background:#102027;position:fixed;width:100%;z-index:999;display:flex;justify-content:space-between;height:64px;max-height:64px}textarea.cdk-textarea-autosize-measuring{padding:4px 0!important}.base-item-color{background-color:#263238}.base-item-color-activated{background-color:#62727b}.white-color-input,.white-color-input .mat-form-field-label{color:#fff!important}.white-color-input .mat-focused{color:#fff!important;background-color:#fff!important}.white-color-input input{caret-color:#fff!important}.white-color-input .mat-form-field-ripple,.white-color-input .mat-form-field-underline{background-color:#fff!important}.dialog-container{display:flex;flex-direction:column}.dialog-container>*{width:100%}.page-title{font-size:1.8rem}.page-title,.page-title-headtitle{margin-top:1rem;margin-bottom:2rem}.page-title-headline{font-size:1.8rem}.page-title-block{flex-direction:column;margin-left:2rem;margin-bottom:2rem}.page-subtitle{margin-bottom:1rem;font-size:1.5rem}.page-subtitle-2{margin-bottom:.75rem;font-size:1.1rem}.input-width-250{width:250px}.space-right{margin-right:20px}.box-button-large{text-align:center;font-size:1.25em}.box-button-large,.box-button-medium,.box-button-small{color:#fff;box-shadow:0 2px 8px 0 rgba(0,0,0,.35)}.button-shadow{box-shadow:0 2px 8px 0 rgba(0,0,0,.35)!important}.menu-items{display:flex;flex-wrap:wrap;margin-top:2rem}.menu-item-large{display:flex;flex-direction:column;text-align:center;font-size:1.25em;padding:.5rem .5rem 1.5rem;width:100%;margin:1rem}.menu-item-large img{width:100%;flex-grow:1;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px) and (max-width:991px){.menu-item-large img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:992px) and (max-width:1199px){.menu-item-large img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:1200px){.menu-item-large img{padding-left:1rem;padding-right:1rem}}.menu-item-large:first-child{margin-left:0}.menu-item-large:last-child{margin-right:0}.menu-item-large:hover{color:#fff;text-decoration:none!important}.menu-item-small{display:flex;flex-direction:column;text-align:center;font-size:1.25em;padding:.5rem;width:100%;margin:1rem}.menu-item-small img{width:100%;flex-grow:1;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px) and (max-width:991px){.menu-item-small img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:992px) and (max-width:1199px){.menu-item-small img{padding-left:1rem;padding-right:1rem}}@media (min-width:1200px){.menu-item-small img{padding-left:1.25rem;padding-right:1.25rem}}@media (min-width:1600px){.menu-item-small img{padding-left:1.5rem;padding-right:1.5rem}}.menu-item-small:first-child{margin-left:0}.menu-item-small:last-child{margin-right:0}.menu-item-small:hover{color:#fff;text-decoration:none!important}.dark-hover-list-item:hover{background-color:rgba(0,0,0,.05)}.info-table td:first-child{width:40%;white-space:nowrap}.menu-items-row{margin-left:-15px!important;margin-right:-15px!important}.menu-item-medium{align-items:center;display:flex;flex-direction:row;text-align:center;padding:.75rem;width:100%;margin:1rem;font-size:1.25rem}.menu-item-medium:first-child{margin-left:0}.menu-item-medium:last-child{margin-right:0}.menu-item-medium:hover{color:#fff;text-decoration:none!important}.menu-item-medium img{width:4rem;height:4rem;flex-grow:1;padding-left:.5rem;padding-right:.5rem}.menu-item-medium div{flex-grow:5}.vo-bg-color{background-color:var(--vo-color)}.facility-bg-color{background-color:var(--facility-color)}.group-bg-color{background-color:var(--group-color)}.member-bg-color{background-color:var(--member-color)}.admin-bg-color{background-color:var(--admin-color)}.user-bg-color{background-color:var(--user-color)}.user-bg-color .cdk-text-field-autofilled{background-color:#000!important}.service-bg-color{background-color:var(--service-color)}.setting-item{font-size:1.15rem;font-weight:500}.clickable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.unselected-setting{color:#888}.app-btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5}.app-btn.disabled,.app-btn:disabled{opacity:.65}.app-btn:focus{outline:none}.vo-btn{background:var(--vo-color);border-radius:0}.vo-btn,.vo-btn:hover{color:rgba(var(--vo-theme-primary-contrast-500),1)}.facility-btn{background-color:var(--facility-color);border-radius:0}.facility-btn,.facility-btn:hover{color:rgba(var(--facility-theme-primary-contrast-500),1)}.resource-btn{background-color:var(--resource-color);border-radius:0}.resource-btn,.resource-btn:hover{color:rgba(var(--resource-theme-primary-contrast-500),1)}.group-btn{background:var(--group-color);border-radius:0}.group-btn,.group-btn:hover{color:rgba(var(--group-theme-primary-contrast-500),1)}.member-btn{background-color:var(--member-color);border-radius:0}.member-btn,.member-btn:hover{color:rgba(var(--member-theme-primary-contrast-500),1)}.admin-btn{background-color:var(--admin-color);border-radius:0}.admin-btn,.admin-btn:hover{color:rgba(var(--admin-theme-primary-contrast-500),1)}.user-btn{background-color:var(--user-color);border-radius:0}.user-btn,.user-btn:hover{color:rgba(var(--user-theme-primary-contrast-500),1)}.service-btn{background-color:var(--service-color);border-radius:0}.service-btn,.service-btn:hover{color:rgba(var(--service-theme-primary-contrast-500),1)}.title-link{color:#000;text-decoration:underline}.title-link:hover{color:#404040}.vo-link{color:var(--vo-color);text-decoration:underline}.vo-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--vo-color)}.facility-link{color:var(--facility-color);text-decoration:underline}.facility-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--facility-color)}.resource-link{color:var(--resource-color);text-decoration:underline}.resource-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--resource-color)}.member-link{color:var(--member-color);text-decoration:underline}.member-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--member-color)}.group-link{color:var(--group-color);text-decoration:underline}.group-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--group-color)}.user-link{color:var(--user-color);text-decoration:underline}.user-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--user-color)}.service-link{color:var(--service-color);text-decoration:underline}.service-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--service-color)}.mat-tab-body-content{overflow:hidden!important}.no-label-margin-bottom label{margin-bottom:0!important}.card,.mat-button,.mat-flat-button,.mat-stroked-button{border-radius:0!important}.material-icons.orange{color:#fb8c00;vertical-align:bottom}.material-icons.red{color:red;vertical-align:bottom}.material-icons.green{color:#28a745;vertical-align:bottom}.material-icons.blue{color:#1a87ff;vertical-align:bottom}.material-icons.black{color:#000;vertical-align:bottom}.material-icons.grey{color:grey;vertical-align:bottom}.noBorderDialog .mat-dialog-container{padding:0!important}.align-inline{display:flex;line-height:75px;align-items:flex-end}.static-column-size{width:80px}.hide-table{height:0!important;overflow:hidden!important;border:none!important}.perun-icon path,.perun-icon polygon,.perun-icon rect{fill:currentColor}.word-break-all{word-break:break-all}td.mat-cell,th{padding:.25rem!important}.overflow-ellipsis{text-overflow:ellipsis}.entity-info{font-size:1rem}#loader{height:175px;width:175px}#loader,#loader .dot{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}#loader .dot{height:100%;width:87.5px}#loader .dot:before{border-radius:100%;content:"";height:87.5px;left:0;position:absolute;right:0;top:0;transform:scale(0);width:87.5px}#loader .dot:nth-child(7n+1){transform:rotate(45deg)}#loader .dot:nth-child(7n+1):before{-webkit-animation:load .8s linear .1s infinite normal none running;animation:load .8s linear .1s infinite normal none running;background:#00ff80 none repeat scroll 0 0}#loader .dot:nth-child(7n+2){transform:rotate(90deg)}#loader .dot:nth-child(7n+2):before{-webkit-animation:load .8s linear .2s infinite normal none running;animation:load .8s linear .2s infinite normal none running;background:#00ffea none repeat scroll 0 0}#loader .dot:nth-child(7n+3){transform:rotate(135deg)}#loader .dot:nth-child(7n+3):before{-webkit-animation:load .8s linear .3s infinite normal none running;animation:load .8s linear .3s infinite normal none running;background:#0af none repeat scroll 0 0}#loader .dot:nth-child(7n+4){transform:rotate(180deg)}#loader .dot:nth-child(7n+4):before{-webkit-animation:load .8s linear .4s infinite normal none running;animation:load .8s linear .4s infinite normal none running;background:#0040ff none repeat scroll 0 0}#loader .dot:nth-child(7n+5){transform:rotate(225deg)}#loader .dot:nth-child(7n+5):before{-webkit-animation:load .8s linear .5s infinite normal none running;animation:load .8s linear .5s infinite normal none running;background:#2a00ff none repeat scroll 0 0}#loader .dot:nth-child(7n+6){transform:rotate(270deg)}#loader .dot:nth-child(7n+6):before{-webkit-animation:load .8s linear .6s infinite normal none running;animation:load .8s linear .6s infinite normal none running;background:#9500ff none repeat scroll 0 0}#loader .dot:nth-child(7n+7){transform:rotate(315deg)}#loader .dot:nth-child(7n+7):before{-webkit-animation:load .8s linear .7s infinite normal none running;animation:load .8s linear .7s infinite normal none running;background:#f0f none repeat scroll 0 0}#loader .dot:nth-child(7n+8){transform:rotate(1turn)}#loader .dot:nth-child(7n+8):before{-webkit-animation:load .8s linear .8s infinite normal none running;animation:load .8s linear .8s infinite normal none running;background:#ff0095 none repeat scroll 0 0}#loader .loading{background-position:50% 50%;background-repeat:no-repeat;bottom:-40px;height:20px;left:0;position:absolute;right:0;width:180px}@-webkit-keyframes load{to{opacity:0;transform:scale(1)}}@keyframes load{to{opacity:0;transform:scale(1)}}.perun-icon-detail{transform:scale(2.7);margin-left:1.4rem;margin-top:1.4rem}.icon-beak{vertical-align:bottom}.icon-scale{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}.mat-tooltip{font-size:14px!important;word-wrap:break-word!important}.mat-tab-label{color:#000!important;opacity:1!important}.mat-tab-icon,.mat-tab-label{font-size:16px!important}.cdk-virtual-scroll-content-wrapper{contain:size!important} + /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#212121}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#212121}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#43a047}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge-content{color:#fff;background:#212121}.cdk-high-contrast-active .mat-badge-content{outline:1px solid;border-radius:0}.mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#212121}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#43a047}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#212121}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#212121}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#43a047}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#f44336}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#212121}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#212121}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#212121;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(33,33,33,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(33,33,33,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#212121;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(33,33,33,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(33,33,33,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#212121}.mat-datepicker-toggle-active.mat-accent{color:#43a047}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#212121}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#43a047}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#212121}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#212121}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#212121}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#212121}.mat-icon.mat-accent{color:#43a047}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#212121}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#c4c4c4}.mat-progress-bar-buffer{background-color:#c4c4c4}.mat-progress-bar-fill:after{background-color:#212121}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#212121}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#43a047}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#212121}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#212121}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#212121}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#212121}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(33,33,33,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#212121}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#212121}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(33,33,33,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#43a047}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#f44336}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#212121;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:hsla(0,0%,96%,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#212121}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:hsla(0,0%,96%,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#212121}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#212121;color:#fff}.mat-toolbar.mat-accent{background:#43a047;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#43a047}.vo-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.vo-theme .mat-option{color:rgba(0,0,0,.87)}.vo-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.vo-theme .mat-option:focus:not(.mat-option-disabled),.vo-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.vo-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.vo-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.vo-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.vo-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.vo-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.vo-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.vo-theme .mat-pseudo-checkbox:after{color:#fafafa}.vo-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.vo-theme .mat-primary .mat-pseudo-checkbox-checked,.vo-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-accent .mat-pseudo-checkbox-checked,.vo-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.vo-theme .mat-pseudo-checkbox-checked,.vo-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.vo-theme .mat-warn .mat-pseudo-checkbox-checked,.vo-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.vo-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.vo-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.vo-theme.mat-app-background,.vo-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.vo-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.vo-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.vo-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.vo-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.vo-theme .mat-badge-content{color:rgba(var(--vo-theme-primary-contrast-500),1);background:rgba(var(--vo-theme-primary-500),1)}.cdk-high-contrast-active .vo-theme .mat-badge-content{outline:1px solid;border-radius:0}.vo-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.vo-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.vo-theme .mat-badge{position:relative}.vo-theme .mat-badge-hidden .mat-badge-content{display:none}.vo-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.vo-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.vo-theme .mat-badge-content._mat-animation-noopable,.vo-theme .ng-animate-disabled .mat-badge-content{transition:none}.vo-theme .mat-badge-content.mat-badge-active{transform:none}.vo-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.vo-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.vo-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.vo-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.vo-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .vo-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.vo-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.vo-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.vo-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.vo-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.vo-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .vo-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.vo-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.vo-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.vo-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.vo-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.vo-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .vo-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.vo-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-button,.vo-theme .mat-icon-button,.vo-theme .mat-stroked-button{color:inherit;background:transparent}.vo-theme .mat-button.mat-primary,.vo-theme .mat-icon-button.mat-primary,.vo-theme .mat-stroked-button.mat-primary{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-button.mat-accent,.vo-theme .mat-icon-button.mat-accent,.vo-theme .mat-stroked-button.mat-accent{color:#43a047}.vo-theme .mat-button.mat-warn,.vo-theme .mat-icon-button.mat-warn,.vo-theme .mat-stroked-button.mat-warn{color:#f44336}.vo-theme .mat-button.mat-accent.mat-button-disabled,.vo-theme .mat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-button.mat-primary.mat-button-disabled,.vo-theme .mat-button.mat-warn.mat-button-disabled,.vo-theme .mat-icon-button.mat-accent.mat-button-disabled,.vo-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-icon-button.mat-primary.mat-button-disabled,.vo-theme .mat-icon-button.mat-warn.mat-button-disabled,.vo-theme .mat-stroked-button.mat-accent.mat-button-disabled,.vo-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-stroked-button.mat-primary.mat-button-disabled,.vo-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.vo-theme .mat-button.mat-primary .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-button.mat-accent .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.vo-theme .mat-button.mat-warn .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.vo-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.vo-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.vo-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.vo-theme .mat-button .mat-ripple-element,.vo-theme .mat-icon-button .mat-ripple-element,.vo-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.vo-theme .mat-button-focus-overlay{background:#000}.vo-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.vo-theme .mat-fab,.vo-theme .mat-flat-button,.vo-theme .mat-mini-fab,.vo-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.vo-theme .mat-fab.mat-primary,.vo-theme .mat-flat-button.mat-primary,.vo-theme .mat-mini-fab.mat-primary,.vo-theme .mat-raised-button.mat-primary{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-fab.mat-accent,.vo-theme .mat-fab.mat-warn,.vo-theme .mat-flat-button.mat-accent,.vo-theme .mat-flat-button.mat-warn,.vo-theme .mat-mini-fab.mat-accent,.vo-theme .mat-mini-fab.mat-warn,.vo-theme .mat-raised-button.mat-accent,.vo-theme .mat-raised-button.mat-warn{color:#fff}.vo-theme .mat-fab.mat-accent.mat-button-disabled,.vo-theme .mat-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-fab.mat-primary.mat-button-disabled,.vo-theme .mat-fab.mat-warn.mat-button-disabled,.vo-theme .mat-flat-button.mat-accent.mat-button-disabled,.vo-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-flat-button.mat-primary.mat-button-disabled,.vo-theme .mat-flat-button.mat-warn.mat-button-disabled,.vo-theme .mat-mini-fab.mat-accent.mat-button-disabled,.vo-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-mini-fab.mat-primary.mat-button-disabled,.vo-theme .mat-mini-fab.mat-warn.mat-button-disabled,.vo-theme .mat-raised-button.mat-accent.mat-button-disabled,.vo-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-raised-button.mat-primary.mat-button-disabled,.vo-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.vo-theme .mat-fab.mat-primary,.vo-theme .mat-flat-button.mat-primary,.vo-theme .mat-mini-fab.mat-primary,.vo-theme .mat-raised-button.mat-primary{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-fab.mat-accent,.vo-theme .mat-flat-button.mat-accent,.vo-theme .mat-mini-fab.mat-accent,.vo-theme .mat-raised-button.mat-accent{background-color:#43a047}.vo-theme .mat-fab.mat-warn,.vo-theme .mat-flat-button.mat-warn,.vo-theme .mat-mini-fab.mat-warn,.vo-theme .mat-raised-button.mat-warn{background-color:#f44336}.vo-theme .mat-fab.mat-accent.mat-button-disabled,.vo-theme .mat-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-fab.mat-primary.mat-button-disabled,.vo-theme .mat-fab.mat-warn.mat-button-disabled,.vo-theme .mat-flat-button.mat-accent.mat-button-disabled,.vo-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-flat-button.mat-primary.mat-button-disabled,.vo-theme .mat-flat-button.mat-warn.mat-button-disabled,.vo-theme .mat-mini-fab.mat-accent.mat-button-disabled,.vo-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.vo-theme .mat-mini-fab.mat-primary.mat-button-disabled,.vo-theme .mat-mini-fab.mat-warn.mat-button-disabled,.vo-theme .mat-raised-button.mat-accent.mat-button-disabled,.vo-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.vo-theme .mat-raised-button.mat-primary.mat-button-disabled,.vo-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.vo-theme .mat-fab.mat-primary .mat-ripple-element,.vo-theme .mat-flat-button.mat-primary .mat-ripple-element,.vo-theme .mat-mini-fab.mat-primary .mat-ripple-element,.vo-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.1}.vo-theme .mat-fab.mat-accent .mat-ripple-element,.vo-theme .mat-fab.mat-warn .mat-ripple-element,.vo-theme .mat-flat-button.mat-accent .mat-ripple-element,.vo-theme .mat-flat-button.mat-warn .mat-ripple-element,.vo-theme .mat-mini-fab.mat-accent .mat-ripple-element,.vo-theme .mat-mini-fab.mat-warn .mat-ripple-element,.vo-theme .mat-raised-button.mat-accent .mat-ripple-element,.vo-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-flat-button:not([class*=mat-elevation-z]),.vo-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.vo-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-fab:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.vo-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.vo-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group,.vo-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group-appearance-standard,.vo-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.vo-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.vo-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.vo-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.vo-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.vo-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.vo-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.vo-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.vo-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.vo-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.vo-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.vo-theme .mat-button-toggle-group-appearance-standard,.vo-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.vo-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.vo-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.vo-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox-checkmark{fill:#fafafa}.vo-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.vo-theme .mat-checkbox-mixedmark{background-color:#fafafa}.vo-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.vo-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.vo-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.vo-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.vo-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.vo-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.vo-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.vo-theme .mat-checkbox .mat-ripple-element{background-color:#000}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.vo-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.vo-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.vo-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.vo-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.vo-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.vo-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.vo-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.vo-theme .mat-chip.mat-standard-chip:after{background:#000}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1);opacity:.1}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.vo-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.vo-theme .mat-table{background:#fff}.vo-theme .mat-table-sticky,.vo-theme .mat-table tbody,.vo-theme .mat-table tfoot,.vo-theme .mat-table thead,.vo-theme [mat-footer-row],.vo-theme [mat-header-row],.vo-theme [mat-row],.vo-theme mat-footer-row,.vo-theme mat-header-row,.vo-theme mat-row{background:inherit}.vo-theme mat-footer-row,.vo-theme mat-header-row,.vo-theme mat-row,.vo-theme td.mat-cell,.vo-theme td.mat-footer-cell,.vo-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.vo-theme .mat-header-cell{color:rgba(0,0,0,.54)}.vo-theme .mat-cell,.vo-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.vo-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.vo-theme .mat-datepicker-content .mat-calendar-next-button,.vo-theme .mat-datepicker-content .mat-calendar-previous-button,.vo-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.vo-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.vo-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.vo-theme .mat-calendar-body-cell-content,.vo-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.vo-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.vo-theme .mat-calendar-body-in-range:before{background:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-calendar-body-comparison-identical,.vo-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-calendar-body-comparison-bridge-start:before,.vo-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--vo-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.vo-theme .mat-calendar-body-comparison-bridge-end:before,.vo-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--vo-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.vo-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-calendar-body-selected{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.vo-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.vo-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.vo-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.vo-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.vo-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.vo-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.vo-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.vo-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.vo-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.vo-theme .mat-datepicker-toggle-active{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.vo-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.vo-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.vo-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.vo-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.vo-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.vo-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.vo-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.vo-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.vo-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.vo-theme .mat-expansion-indicator:after,.vo-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.vo-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.vo-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.vo-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.vo-theme .mat-form-field-label,.vo-theme .mat-hint{color:rgba(0,0,0,.6)}.vo-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.vo-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.vo-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.vo-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.vo-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.vo-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.vo-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.vo-theme .mat-error{color:#f44336}.vo-theme .mat-form-field-appearance-legacy .mat-form-field-label,.vo-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.vo-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.vo-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.vo-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.vo-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.vo-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.vo-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.vo-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.vo-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.vo-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.vo-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.vo-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.vo-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.vo-theme .mat-icon.mat-primary{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-icon.mat-accent{color:#43a047}.vo-theme .mat-icon.mat-warn{color:#f44336}.vo-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.vo-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.vo-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-input-element{caret-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.vo-theme .mat-form-field-invalid .mat-input-element,.vo-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.vo-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.vo-theme .mat-list-base .mat-list-item,.vo-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.vo-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.vo-theme .mat-list-item-disabled{background-color:#eee}.vo-theme .mat-action-list .mat-list-item:focus,.vo-theme .mat-action-list .mat-list-item:hover,.vo-theme .mat-list-option:focus,.vo-theme .mat-list-option:hover,.vo-theme .mat-nav-list .mat-list-item:focus,.vo-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.vo-theme .mat-list-single-selected-option,.vo-theme .mat-list-single-selected-option:focus,.vo-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.vo-theme .mat-menu-panel{background:#fff}.vo-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.vo-theme .mat-menu-item[disabled],.vo-theme .mat-menu-item[disabled] .mat-icon-no-color,.vo-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.vo-theme .mat-menu-item-submenu-trigger:after,.vo-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.vo-theme .mat-menu-item-highlighted:not([disabled]),.vo-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.vo-theme .mat-menu-item.cdk-program-focused:not([disabled]),.vo-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.vo-theme .mat-paginator{background:#fff}.vo-theme .mat-paginator,.vo-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.vo-theme .mat-paginator-decrement,.vo-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.vo-theme .mat-paginator-first,.vo-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.vo-theme .mat-icon-button[disabled] .mat-paginator-decrement,.vo-theme .mat-icon-button[disabled] .mat-paginator-first,.vo-theme .mat-icon-button[disabled] .mat-paginator-increment,.vo-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.vo-theme .mat-progress-bar-background{fill:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-progress-bar-buffer{background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-progress-bar-fill:after{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.vo-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.vo-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.vo-theme .mat-progress-spinner circle,.vo-theme .mat-spinner circle{stroke:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-progress-spinner.mat-accent circle,.vo-theme .mat-spinner.mat-accent circle{stroke:#43a047}.vo-theme .mat-progress-spinner.mat-warn circle,.vo-theme .mat-spinner.mat-warn circle{stroke:#f44336}.vo-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.vo-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.vo-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.vo-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.vo-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.vo-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.vo-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.vo-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.vo-theme .mat-radio-button .mat-ripple-element{background-color:#000}.vo-theme .mat-select-value{color:rgba(0,0,0,.87)}.vo-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.vo-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.vo-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.vo-theme .mat-select-panel{background:#fff}.vo-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.vo-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.vo-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.vo-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.vo-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.vo-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.vo-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.vo-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.vo-theme .mat-drawer.mat-drawer-push{background-color:#fff}.vo-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.vo-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-drawer-side.mat-drawer-end,.vo-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.vo-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.vo-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.vo-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.vo-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.vo-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.vo-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.vo-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.vo-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.vo-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.vo-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.vo-theme .mat-primary .mat-slider-thumb,.vo-theme .mat-primary .mat-slider-thumb-label,.vo-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--vo-theme-primary-500),1);opacity:.2}.vo-theme .mat-accent .mat-slider-thumb,.vo-theme .mat-accent .mat-slider-thumb-label,.vo-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.vo-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.vo-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.vo-theme .mat-warn .mat-slider-thumb,.vo-theme .mat-warn .mat-slider-thumb-label,.vo-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.vo-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.vo-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.vo-theme .cdk-focused .mat-slider-track-background,.vo-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-disabled .mat-slider-thumb,.vo-theme .mat-slider-disabled .mat-slider-track-background,.vo-theme .mat-slider-disabled .mat-slider-track-fill,.vo-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.vo-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.vo-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.vo-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.vo-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.vo-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.vo-theme .mat-step-header.cdk-keyboard-focused,.vo-theme .mat-step-header.cdk-program-focused,.vo-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.vo-theme .mat-step-header:hover{background:none}}.vo-theme .mat-step-header .mat-step-label,.vo-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.vo-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-step-header .mat-step-icon-selected,.vo-theme .mat-step-header .mat-step-icon-state-done,.vo-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.vo-theme .mat-step-header.mat-accent .mat-step-icon-selected,.vo-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.vo-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.vo-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.vo-theme .mat-step-header.mat-warn .mat-step-icon-selected,.vo-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.vo-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.vo-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.vo-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.vo-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.vo-theme .mat-stepper-horizontal,.vo-theme .mat-stepper-vertical{background-color:#fff}.vo-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.vo-theme .mat-horizontal-stepper-header:after,.vo-theme .mat-horizontal-stepper-header:before,.vo-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.vo-theme .mat-sort-header-arrow{color:#757575}.vo-theme .mat-tab-header,.vo-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.vo-theme .mat-tab-group-inverted-header .mat-tab-header,.vo-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.vo-theme .mat-tab-label,.vo-theme .mat-tab-link{color:rgba(0,0,0,.87)}.vo-theme .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.vo-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.vo-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.vo-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.vo-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.vo-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-tab-group.mat-primary .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.vo-theme .mat-tab-group.mat-accent .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.vo-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.vo-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.vo-theme .mat-tab-group.mat-warn .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.vo-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.vo-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.vo-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--vo-theme-primary-100),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--vo-theme-primary-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.vo-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.vo-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.vo-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.vo-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.vo-theme .mat-toolbar.mat-primary{background:rgba(var(--vo-theme-primary-500),1);color:rgba(var(--vo-theme-primary-contrast-500),1)}.vo-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.vo-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.vo-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.vo-theme .mat-toolbar .mat-form-field-ripple,.vo-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.vo-theme .mat-toolbar .mat-focused .mat-form-field-label,.vo-theme .mat-toolbar .mat-form-field-label,.vo-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.vo-theme .mat-toolbar .mat-select-arrow,.vo-theme .mat-toolbar .mat-select-value{color:inherit}.vo-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.vo-theme .mat-tooltip{background:rgba(97,97,97,.9)}.vo-theme .mat-tree{background:#fff}.vo-theme .mat-nested-tree-node,.vo-theme .mat-tree-node{color:rgba(0,0,0,.87)}.vo-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.vo-theme .mat-simple-snackbar-action{color:#43a047}.facility-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.facility-theme .mat-option{color:rgba(0,0,0,.87)}.facility-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.facility-theme .mat-option:focus:not(.mat-option-disabled),.facility-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.facility-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.facility-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.facility-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.facility-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.facility-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.facility-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.facility-theme .mat-pseudo-checkbox:after{color:#fafafa}.facility-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.facility-theme .mat-primary .mat-pseudo-checkbox-checked,.facility-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-accent .mat-pseudo-checkbox-checked,.facility-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.facility-theme .mat-pseudo-checkbox-checked,.facility-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.facility-theme .mat-warn .mat-pseudo-checkbox-checked,.facility-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.facility-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.facility-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.facility-theme.mat-app-background,.facility-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.facility-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.facility-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.facility-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.facility-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.facility-theme .mat-badge-content{color:rgba(var(--facility-theme-primary-contrast-500),1);background:rgba(var(--facility-theme-primary-500),1)}.cdk-high-contrast-active .facility-theme .mat-badge-content{outline:1px solid;border-radius:0}.facility-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.facility-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.facility-theme .mat-badge{position:relative}.facility-theme .mat-badge-hidden .mat-badge-content{display:none}.facility-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.facility-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.facility-theme .mat-badge-content._mat-animation-noopable,.facility-theme .ng-animate-disabled .mat-badge-content{transition:none}.facility-theme .mat-badge-content.mat-badge-active{transform:none}.facility-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.facility-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.facility-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.facility-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.facility-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .facility-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.facility-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.facility-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.facility-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.facility-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.facility-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .facility-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.facility-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.facility-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.facility-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.facility-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.facility-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .facility-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.facility-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-button,.facility-theme .mat-icon-button,.facility-theme .mat-stroked-button{color:inherit;background:transparent}.facility-theme .mat-button.mat-primary,.facility-theme .mat-icon-button.mat-primary,.facility-theme .mat-stroked-button.mat-primary{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-button.mat-accent,.facility-theme .mat-icon-button.mat-accent,.facility-theme .mat-stroked-button.mat-accent{color:#43a047}.facility-theme .mat-button.mat-warn,.facility-theme .mat-icon-button.mat-warn,.facility-theme .mat-stroked-button.mat-warn{color:#f44336}.facility-theme .mat-button.mat-accent.mat-button-disabled,.facility-theme .mat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-button.mat-primary.mat-button-disabled,.facility-theme .mat-button.mat-warn.mat-button-disabled,.facility-theme .mat-icon-button.mat-accent.mat-button-disabled,.facility-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-icon-button.mat-primary.mat-button-disabled,.facility-theme .mat-icon-button.mat-warn.mat-button-disabled,.facility-theme .mat-stroked-button.mat-accent.mat-button-disabled,.facility-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-stroked-button.mat-primary.mat-button-disabled,.facility-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.facility-theme .mat-button.mat-primary .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-button.mat-accent .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.facility-theme .mat-button.mat-warn .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.facility-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.facility-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.facility-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.facility-theme .mat-button .mat-ripple-element,.facility-theme .mat-icon-button .mat-ripple-element,.facility-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.facility-theme .mat-button-focus-overlay{background:#000}.facility-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.facility-theme .mat-fab,.facility-theme .mat-flat-button,.facility-theme .mat-mini-fab,.facility-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.facility-theme .mat-fab.mat-primary,.facility-theme .mat-flat-button.mat-primary,.facility-theme .mat-mini-fab.mat-primary,.facility-theme .mat-raised-button.mat-primary{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-fab.mat-accent,.facility-theme .mat-fab.mat-warn,.facility-theme .mat-flat-button.mat-accent,.facility-theme .mat-flat-button.mat-warn,.facility-theme .mat-mini-fab.mat-accent,.facility-theme .mat-mini-fab.mat-warn,.facility-theme .mat-raised-button.mat-accent,.facility-theme .mat-raised-button.mat-warn{color:#fff}.facility-theme .mat-fab.mat-accent.mat-button-disabled,.facility-theme .mat-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-fab.mat-primary.mat-button-disabled,.facility-theme .mat-fab.mat-warn.mat-button-disabled,.facility-theme .mat-flat-button.mat-accent.mat-button-disabled,.facility-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-flat-button.mat-primary.mat-button-disabled,.facility-theme .mat-flat-button.mat-warn.mat-button-disabled,.facility-theme .mat-mini-fab.mat-accent.mat-button-disabled,.facility-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-mini-fab.mat-primary.mat-button-disabled,.facility-theme .mat-mini-fab.mat-warn.mat-button-disabled,.facility-theme .mat-raised-button.mat-accent.mat-button-disabled,.facility-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-raised-button.mat-primary.mat-button-disabled,.facility-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.facility-theme .mat-fab.mat-primary,.facility-theme .mat-flat-button.mat-primary,.facility-theme .mat-mini-fab.mat-primary,.facility-theme .mat-raised-button.mat-primary{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-fab.mat-accent,.facility-theme .mat-flat-button.mat-accent,.facility-theme .mat-mini-fab.mat-accent,.facility-theme .mat-raised-button.mat-accent{background-color:#43a047}.facility-theme .mat-fab.mat-warn,.facility-theme .mat-flat-button.mat-warn,.facility-theme .mat-mini-fab.mat-warn,.facility-theme .mat-raised-button.mat-warn{background-color:#f44336}.facility-theme .mat-fab.mat-accent.mat-button-disabled,.facility-theme .mat-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-fab.mat-primary.mat-button-disabled,.facility-theme .mat-fab.mat-warn.mat-button-disabled,.facility-theme .mat-flat-button.mat-accent.mat-button-disabled,.facility-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-flat-button.mat-primary.mat-button-disabled,.facility-theme .mat-flat-button.mat-warn.mat-button-disabled,.facility-theme .mat-mini-fab.mat-accent.mat-button-disabled,.facility-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.facility-theme .mat-mini-fab.mat-primary.mat-button-disabled,.facility-theme .mat-mini-fab.mat-warn.mat-button-disabled,.facility-theme .mat-raised-button.mat-accent.mat-button-disabled,.facility-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.facility-theme .mat-raised-button.mat-primary.mat-button-disabled,.facility-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.facility-theme .mat-fab.mat-primary .mat-ripple-element,.facility-theme .mat-flat-button.mat-primary .mat-ripple-element,.facility-theme .mat-mini-fab.mat-primary .mat-ripple-element,.facility-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.1}.facility-theme .mat-fab.mat-accent .mat-ripple-element,.facility-theme .mat-fab.mat-warn .mat-ripple-element,.facility-theme .mat-flat-button.mat-accent .mat-ripple-element,.facility-theme .mat-flat-button.mat-warn .mat-ripple-element,.facility-theme .mat-mini-fab.mat-accent .mat-ripple-element,.facility-theme .mat-mini-fab.mat-warn .mat-ripple-element,.facility-theme .mat-raised-button.mat-accent .mat-ripple-element,.facility-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-flat-button:not([class*=mat-elevation-z]),.facility-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.facility-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-fab:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.facility-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.facility-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group,.facility-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group-appearance-standard,.facility-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.facility-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.facility-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.facility-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.facility-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.facility-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.facility-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.facility-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.facility-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.facility-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.facility-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.facility-theme .mat-button-toggle-group-appearance-standard,.facility-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.facility-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.facility-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.facility-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox-checkmark{fill:#fafafa}.facility-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.facility-theme .mat-checkbox-mixedmark{background-color:#fafafa}.facility-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.facility-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.facility-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.facility-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.facility-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.facility-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.facility-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.facility-theme .mat-checkbox .mat-ripple-element{background-color:#000}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.facility-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.facility-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.facility-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.facility-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.facility-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.facility-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.facility-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.facility-theme .mat-chip.mat-standard-chip:after{background:#000}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1);opacity:.1}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.facility-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.facility-theme .mat-table{background:#fff}.facility-theme .mat-table-sticky,.facility-theme .mat-table tbody,.facility-theme .mat-table tfoot,.facility-theme .mat-table thead,.facility-theme [mat-footer-row],.facility-theme [mat-header-row],.facility-theme [mat-row],.facility-theme mat-footer-row,.facility-theme mat-header-row,.facility-theme mat-row{background:inherit}.facility-theme mat-footer-row,.facility-theme mat-header-row,.facility-theme mat-row,.facility-theme td.mat-cell,.facility-theme td.mat-footer-cell,.facility-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.facility-theme .mat-header-cell{color:rgba(0,0,0,.54)}.facility-theme .mat-cell,.facility-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.facility-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.facility-theme .mat-datepicker-content .mat-calendar-next-button,.facility-theme .mat-datepicker-content .mat-calendar-previous-button,.facility-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.facility-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.facility-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.facility-theme .mat-calendar-body-cell-content,.facility-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.facility-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.facility-theme .mat-calendar-body-in-range:before{background:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-calendar-body-comparison-identical,.facility-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-calendar-body-comparison-bridge-start:before,.facility-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--facility-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.facility-theme .mat-calendar-body-comparison-bridge-end:before,.facility-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--facility-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.facility-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-calendar-body-selected{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.facility-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.facility-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.facility-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.facility-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.facility-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.facility-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.facility-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.facility-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.facility-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.facility-theme .mat-datepicker-toggle-active{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.facility-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.facility-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.facility-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.facility-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.facility-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.facility-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.facility-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.facility-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.facility-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.facility-theme .mat-expansion-indicator:after,.facility-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.facility-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.facility-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.facility-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.facility-theme .mat-form-field-label,.facility-theme .mat-hint{color:rgba(0,0,0,.6)}.facility-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.facility-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.facility-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.facility-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.facility-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.facility-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.facility-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.facility-theme .mat-error{color:#f44336}.facility-theme .mat-form-field-appearance-legacy .mat-form-field-label,.facility-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.facility-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.facility-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.facility-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.facility-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.facility-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.facility-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.facility-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.facility-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.facility-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.facility-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.facility-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.facility-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.facility-theme .mat-icon.mat-primary{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-icon.mat-accent{color:#43a047}.facility-theme .mat-icon.mat-warn{color:#f44336}.facility-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.facility-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.facility-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-input-element{caret-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.facility-theme .mat-form-field-invalid .mat-input-element,.facility-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.facility-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.facility-theme .mat-list-base .mat-list-item,.facility-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.facility-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.facility-theme .mat-list-item-disabled{background-color:#eee}.facility-theme .mat-action-list .mat-list-item:focus,.facility-theme .mat-action-list .mat-list-item:hover,.facility-theme .mat-list-option:focus,.facility-theme .mat-list-option:hover,.facility-theme .mat-nav-list .mat-list-item:focus,.facility-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.facility-theme .mat-list-single-selected-option,.facility-theme .mat-list-single-selected-option:focus,.facility-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.facility-theme .mat-menu-panel{background:#fff}.facility-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.facility-theme .mat-menu-item[disabled],.facility-theme .mat-menu-item[disabled] .mat-icon-no-color,.facility-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.facility-theme .mat-menu-item-submenu-trigger:after,.facility-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.facility-theme .mat-menu-item-highlighted:not([disabled]),.facility-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.facility-theme .mat-menu-item.cdk-program-focused:not([disabled]),.facility-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.facility-theme .mat-paginator{background:#fff}.facility-theme .mat-paginator,.facility-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.facility-theme .mat-paginator-decrement,.facility-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.facility-theme .mat-paginator-first,.facility-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.facility-theme .mat-icon-button[disabled] .mat-paginator-decrement,.facility-theme .mat-icon-button[disabled] .mat-paginator-first,.facility-theme .mat-icon-button[disabled] .mat-paginator-increment,.facility-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.facility-theme .mat-progress-bar-background{fill:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-progress-bar-buffer{background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-progress-bar-fill:after{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.facility-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.facility-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.facility-theme .mat-progress-spinner circle,.facility-theme .mat-spinner circle{stroke:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-progress-spinner.mat-accent circle,.facility-theme .mat-spinner.mat-accent circle{stroke:#43a047}.facility-theme .mat-progress-spinner.mat-warn circle,.facility-theme .mat-spinner.mat-warn circle{stroke:#f44336}.facility-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.facility-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.facility-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.facility-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.facility-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.facility-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.facility-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.facility-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.facility-theme .mat-radio-button .mat-ripple-element{background-color:#000}.facility-theme .mat-select-value{color:rgba(0,0,0,.87)}.facility-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.facility-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.facility-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.facility-theme .mat-select-panel{background:#fff}.facility-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.facility-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.facility-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.facility-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.facility-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.facility-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.facility-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.facility-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.facility-theme .mat-drawer.mat-drawer-push{background-color:#fff}.facility-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.facility-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-drawer-side.mat-drawer-end,.facility-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.facility-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.facility-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.facility-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.facility-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.facility-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.facility-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.facility-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.facility-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.facility-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.facility-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.facility-theme .mat-primary .mat-slider-thumb,.facility-theme .mat-primary .mat-slider-thumb-label,.facility-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--facility-theme-primary-500),1);opacity:.2}.facility-theme .mat-accent .mat-slider-thumb,.facility-theme .mat-accent .mat-slider-thumb-label,.facility-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.facility-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.facility-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.facility-theme .mat-warn .mat-slider-thumb,.facility-theme .mat-warn .mat-slider-thumb-label,.facility-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.facility-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.facility-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.facility-theme .cdk-focused .mat-slider-track-background,.facility-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-disabled .mat-slider-thumb,.facility-theme .mat-slider-disabled .mat-slider-track-background,.facility-theme .mat-slider-disabled .mat-slider-track-fill,.facility-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.facility-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.facility-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.facility-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.facility-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.facility-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.facility-theme .mat-step-header.cdk-keyboard-focused,.facility-theme .mat-step-header.cdk-program-focused,.facility-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.facility-theme .mat-step-header:hover{background:none}}.facility-theme .mat-step-header .mat-step-label,.facility-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.facility-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-step-header .mat-step-icon-selected,.facility-theme .mat-step-header .mat-step-icon-state-done,.facility-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.facility-theme .mat-step-header.mat-accent .mat-step-icon-selected,.facility-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.facility-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.facility-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.facility-theme .mat-step-header.mat-warn .mat-step-icon-selected,.facility-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.facility-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.facility-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.facility-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.facility-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.facility-theme .mat-stepper-horizontal,.facility-theme .mat-stepper-vertical{background-color:#fff}.facility-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.facility-theme .mat-horizontal-stepper-header:after,.facility-theme .mat-horizontal-stepper-header:before,.facility-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.facility-theme .mat-sort-header-arrow{color:#757575}.facility-theme .mat-tab-header,.facility-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.facility-theme .mat-tab-group-inverted-header .mat-tab-header,.facility-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.facility-theme .mat-tab-label,.facility-theme .mat-tab-link{color:rgba(0,0,0,.87)}.facility-theme .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.facility-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.facility-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.facility-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.facility-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.facility-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-tab-group.mat-primary .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.facility-theme .mat-tab-group.mat-accent .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.facility-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.facility-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.facility-theme .mat-tab-group.mat-warn .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.facility-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.facility-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.facility-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--facility-theme-primary-100),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--facility-theme-primary-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.facility-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.facility-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.facility-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.facility-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.facility-theme .mat-toolbar.mat-primary{background:rgba(var(--facility-theme-primary-500),1);color:rgba(var(--facility-theme-primary-contrast-500),1)}.facility-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.facility-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.facility-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.facility-theme .mat-toolbar .mat-form-field-ripple,.facility-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.facility-theme .mat-toolbar .mat-focused .mat-form-field-label,.facility-theme .mat-toolbar .mat-form-field-label,.facility-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.facility-theme .mat-toolbar .mat-select-arrow,.facility-theme .mat-toolbar .mat-select-value{color:inherit}.facility-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.facility-theme .mat-tooltip{background:rgba(97,97,97,.9)}.facility-theme .mat-tree{background:#fff}.facility-theme .mat-nested-tree-node,.facility-theme .mat-tree-node{color:rgba(0,0,0,.87)}.facility-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.facility-theme .mat-simple-snackbar-action{color:#43a047}.resource-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.resource-theme .mat-option{color:rgba(0,0,0,.87)}.resource-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.resource-theme .mat-option:focus:not(.mat-option-disabled),.resource-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.resource-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.resource-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.resource-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.resource-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.resource-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.resource-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.resource-theme .mat-pseudo-checkbox:after{color:#fafafa}.resource-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.resource-theme .mat-primary .mat-pseudo-checkbox-checked,.resource-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-accent .mat-pseudo-checkbox-checked,.resource-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.resource-theme .mat-pseudo-checkbox-checked,.resource-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.resource-theme .mat-warn .mat-pseudo-checkbox-checked,.resource-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.resource-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.resource-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.resource-theme.mat-app-background,.resource-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.resource-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.resource-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.resource-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.resource-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.resource-theme .mat-badge-content{color:rgba(var(--resource-theme-primary-contrast-500),1);background:rgba(var(--resource-theme-primary-500),1)}.cdk-high-contrast-active .resource-theme .mat-badge-content{outline:1px solid;border-radius:0}.resource-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.resource-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.resource-theme .mat-badge{position:relative}.resource-theme .mat-badge-hidden .mat-badge-content{display:none}.resource-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.resource-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.resource-theme .mat-badge-content._mat-animation-noopable,.resource-theme .ng-animate-disabled .mat-badge-content{transition:none}.resource-theme .mat-badge-content.mat-badge-active{transform:none}.resource-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.resource-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.resource-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.resource-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.resource-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .resource-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.resource-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.resource-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.resource-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.resource-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.resource-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .resource-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.resource-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.resource-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.resource-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.resource-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.resource-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .resource-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.resource-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-button,.resource-theme .mat-icon-button,.resource-theme .mat-stroked-button{color:inherit;background:transparent}.resource-theme .mat-button.mat-primary,.resource-theme .mat-icon-button.mat-primary,.resource-theme .mat-stroked-button.mat-primary{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-button.mat-accent,.resource-theme .mat-icon-button.mat-accent,.resource-theme .mat-stroked-button.mat-accent{color:#43a047}.resource-theme .mat-button.mat-warn,.resource-theme .mat-icon-button.mat-warn,.resource-theme .mat-stroked-button.mat-warn{color:#f44336}.resource-theme .mat-button.mat-accent.mat-button-disabled,.resource-theme .mat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-button.mat-primary.mat-button-disabled,.resource-theme .mat-button.mat-warn.mat-button-disabled,.resource-theme .mat-icon-button.mat-accent.mat-button-disabled,.resource-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-icon-button.mat-primary.mat-button-disabled,.resource-theme .mat-icon-button.mat-warn.mat-button-disabled,.resource-theme .mat-stroked-button.mat-accent.mat-button-disabled,.resource-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-stroked-button.mat-primary.mat-button-disabled,.resource-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.resource-theme .mat-button.mat-primary .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-button.mat-accent .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.resource-theme .mat-button.mat-warn .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.resource-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.resource-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.resource-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.resource-theme .mat-button .mat-ripple-element,.resource-theme .mat-icon-button .mat-ripple-element,.resource-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.resource-theme .mat-button-focus-overlay{background:#000}.resource-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.resource-theme .mat-fab,.resource-theme .mat-flat-button,.resource-theme .mat-mini-fab,.resource-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.resource-theme .mat-fab.mat-primary,.resource-theme .mat-flat-button.mat-primary,.resource-theme .mat-mini-fab.mat-primary,.resource-theme .mat-raised-button.mat-primary{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-fab.mat-accent,.resource-theme .mat-fab.mat-warn,.resource-theme .mat-flat-button.mat-accent,.resource-theme .mat-flat-button.mat-warn,.resource-theme .mat-mini-fab.mat-accent,.resource-theme .mat-mini-fab.mat-warn,.resource-theme .mat-raised-button.mat-accent,.resource-theme .mat-raised-button.mat-warn{color:#fff}.resource-theme .mat-fab.mat-accent.mat-button-disabled,.resource-theme .mat-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-fab.mat-primary.mat-button-disabled,.resource-theme .mat-fab.mat-warn.mat-button-disabled,.resource-theme .mat-flat-button.mat-accent.mat-button-disabled,.resource-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-flat-button.mat-primary.mat-button-disabled,.resource-theme .mat-flat-button.mat-warn.mat-button-disabled,.resource-theme .mat-mini-fab.mat-accent.mat-button-disabled,.resource-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-mini-fab.mat-primary.mat-button-disabled,.resource-theme .mat-mini-fab.mat-warn.mat-button-disabled,.resource-theme .mat-raised-button.mat-accent.mat-button-disabled,.resource-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-raised-button.mat-primary.mat-button-disabled,.resource-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.resource-theme .mat-fab.mat-primary,.resource-theme .mat-flat-button.mat-primary,.resource-theme .mat-mini-fab.mat-primary,.resource-theme .mat-raised-button.mat-primary{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-fab.mat-accent,.resource-theme .mat-flat-button.mat-accent,.resource-theme .mat-mini-fab.mat-accent,.resource-theme .mat-raised-button.mat-accent{background-color:#43a047}.resource-theme .mat-fab.mat-warn,.resource-theme .mat-flat-button.mat-warn,.resource-theme .mat-mini-fab.mat-warn,.resource-theme .mat-raised-button.mat-warn{background-color:#f44336}.resource-theme .mat-fab.mat-accent.mat-button-disabled,.resource-theme .mat-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-fab.mat-primary.mat-button-disabled,.resource-theme .mat-fab.mat-warn.mat-button-disabled,.resource-theme .mat-flat-button.mat-accent.mat-button-disabled,.resource-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-flat-button.mat-primary.mat-button-disabled,.resource-theme .mat-flat-button.mat-warn.mat-button-disabled,.resource-theme .mat-mini-fab.mat-accent.mat-button-disabled,.resource-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.resource-theme .mat-mini-fab.mat-primary.mat-button-disabled,.resource-theme .mat-mini-fab.mat-warn.mat-button-disabled,.resource-theme .mat-raised-button.mat-accent.mat-button-disabled,.resource-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.resource-theme .mat-raised-button.mat-primary.mat-button-disabled,.resource-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.resource-theme .mat-fab.mat-primary .mat-ripple-element,.resource-theme .mat-flat-button.mat-primary .mat-ripple-element,.resource-theme .mat-mini-fab.mat-primary .mat-ripple-element,.resource-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.1}.resource-theme .mat-fab.mat-accent .mat-ripple-element,.resource-theme .mat-fab.mat-warn .mat-ripple-element,.resource-theme .mat-flat-button.mat-accent .mat-ripple-element,.resource-theme .mat-flat-button.mat-warn .mat-ripple-element,.resource-theme .mat-mini-fab.mat-accent .mat-ripple-element,.resource-theme .mat-mini-fab.mat-warn .mat-ripple-element,.resource-theme .mat-raised-button.mat-accent .mat-ripple-element,.resource-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-flat-button:not([class*=mat-elevation-z]),.resource-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.resource-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-fab:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.resource-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.resource-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group,.resource-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group-appearance-standard,.resource-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.resource-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.resource-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.resource-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.resource-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.resource-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.resource-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.resource-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.resource-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.resource-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.resource-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.resource-theme .mat-button-toggle-group-appearance-standard,.resource-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.resource-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.resource-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.resource-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox-checkmark{fill:#fafafa}.resource-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.resource-theme .mat-checkbox-mixedmark{background-color:#fafafa}.resource-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.resource-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.resource-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.resource-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.resource-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.resource-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.resource-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.resource-theme .mat-checkbox .mat-ripple-element{background-color:#000}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.resource-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.resource-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.resource-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.resource-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.resource-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.resource-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.resource-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.resource-theme .mat-chip.mat-standard-chip:after{background:#000}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1);opacity:.1}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.resource-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.resource-theme .mat-table{background:#fff}.resource-theme .mat-table-sticky,.resource-theme .mat-table tbody,.resource-theme .mat-table tfoot,.resource-theme .mat-table thead,.resource-theme [mat-footer-row],.resource-theme [mat-header-row],.resource-theme [mat-row],.resource-theme mat-footer-row,.resource-theme mat-header-row,.resource-theme mat-row{background:inherit}.resource-theme mat-footer-row,.resource-theme mat-header-row,.resource-theme mat-row,.resource-theme td.mat-cell,.resource-theme td.mat-footer-cell,.resource-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.resource-theme .mat-header-cell{color:rgba(0,0,0,.54)}.resource-theme .mat-cell,.resource-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.resource-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.resource-theme .mat-datepicker-content .mat-calendar-next-button,.resource-theme .mat-datepicker-content .mat-calendar-previous-button,.resource-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.resource-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.resource-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.resource-theme .mat-calendar-body-cell-content,.resource-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.resource-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.resource-theme .mat-calendar-body-in-range:before{background:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-calendar-body-comparison-identical,.resource-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-calendar-body-comparison-bridge-start:before,.resource-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--resource-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.resource-theme .mat-calendar-body-comparison-bridge-end:before,.resource-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--resource-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.resource-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-calendar-body-selected{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.resource-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.resource-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.resource-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.resource-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.resource-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.resource-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.resource-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.resource-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.resource-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.resource-theme .mat-datepicker-toggle-active{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.resource-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.resource-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.resource-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.resource-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.resource-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.resource-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.resource-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.resource-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.resource-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.resource-theme .mat-expansion-indicator:after,.resource-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.resource-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.resource-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.resource-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.resource-theme .mat-form-field-label,.resource-theme .mat-hint{color:rgba(0,0,0,.6)}.resource-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.resource-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.resource-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.resource-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.resource-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.resource-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.resource-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.resource-theme .mat-error{color:#f44336}.resource-theme .mat-form-field-appearance-legacy .mat-form-field-label,.resource-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.resource-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.resource-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.resource-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.resource-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.resource-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.resource-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.resource-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.resource-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.resource-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.resource-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.resource-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.resource-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.resource-theme .mat-icon.mat-primary{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-icon.mat-accent{color:#43a047}.resource-theme .mat-icon.mat-warn{color:#f44336}.resource-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.resource-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.resource-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-input-element{caret-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.resource-theme .mat-form-field-invalid .mat-input-element,.resource-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.resource-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.resource-theme .mat-list-base .mat-list-item,.resource-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.resource-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.resource-theme .mat-list-item-disabled{background-color:#eee}.resource-theme .mat-action-list .mat-list-item:focus,.resource-theme .mat-action-list .mat-list-item:hover,.resource-theme .mat-list-option:focus,.resource-theme .mat-list-option:hover,.resource-theme .mat-nav-list .mat-list-item:focus,.resource-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.resource-theme .mat-list-single-selected-option,.resource-theme .mat-list-single-selected-option:focus,.resource-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.resource-theme .mat-menu-panel{background:#fff}.resource-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.resource-theme .mat-menu-item[disabled],.resource-theme .mat-menu-item[disabled] .mat-icon-no-color,.resource-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.resource-theme .mat-menu-item-submenu-trigger:after,.resource-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.resource-theme .mat-menu-item-highlighted:not([disabled]),.resource-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.resource-theme .mat-menu-item.cdk-program-focused:not([disabled]),.resource-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.resource-theme .mat-paginator{background:#fff}.resource-theme .mat-paginator,.resource-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.resource-theme .mat-paginator-decrement,.resource-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.resource-theme .mat-paginator-first,.resource-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.resource-theme .mat-icon-button[disabled] .mat-paginator-decrement,.resource-theme .mat-icon-button[disabled] .mat-paginator-first,.resource-theme .mat-icon-button[disabled] .mat-paginator-increment,.resource-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.resource-theme .mat-progress-bar-background{fill:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-progress-bar-buffer{background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-progress-bar-fill:after{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.resource-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.resource-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.resource-theme .mat-progress-spinner circle,.resource-theme .mat-spinner circle{stroke:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-progress-spinner.mat-accent circle,.resource-theme .mat-spinner.mat-accent circle{stroke:#43a047}.resource-theme .mat-progress-spinner.mat-warn circle,.resource-theme .mat-spinner.mat-warn circle{stroke:#f44336}.resource-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.resource-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.resource-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.resource-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.resource-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.resource-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.resource-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.resource-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.resource-theme .mat-radio-button .mat-ripple-element{background-color:#000}.resource-theme .mat-select-value{color:rgba(0,0,0,.87)}.resource-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.resource-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.resource-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.resource-theme .mat-select-panel{background:#fff}.resource-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.resource-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.resource-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.resource-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.resource-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.resource-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.resource-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.resource-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.resource-theme .mat-drawer.mat-drawer-push{background-color:#fff}.resource-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.resource-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-drawer-side.mat-drawer-end,.resource-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.resource-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.resource-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.resource-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.resource-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.resource-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.resource-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.resource-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.resource-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.resource-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.resource-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.resource-theme .mat-primary .mat-slider-thumb,.resource-theme .mat-primary .mat-slider-thumb-label,.resource-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--resource-theme-primary-500),1);opacity:.2}.resource-theme .mat-accent .mat-slider-thumb,.resource-theme .mat-accent .mat-slider-thumb-label,.resource-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.resource-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.resource-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.resource-theme .mat-warn .mat-slider-thumb,.resource-theme .mat-warn .mat-slider-thumb-label,.resource-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.resource-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.resource-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.resource-theme .cdk-focused .mat-slider-track-background,.resource-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-disabled .mat-slider-thumb,.resource-theme .mat-slider-disabled .mat-slider-track-background,.resource-theme .mat-slider-disabled .mat-slider-track-fill,.resource-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.resource-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.resource-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.resource-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.resource-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.resource-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.resource-theme .mat-step-header.cdk-keyboard-focused,.resource-theme .mat-step-header.cdk-program-focused,.resource-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.resource-theme .mat-step-header:hover{background:none}}.resource-theme .mat-step-header .mat-step-label,.resource-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.resource-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-step-header .mat-step-icon-selected,.resource-theme .mat-step-header .mat-step-icon-state-done,.resource-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.resource-theme .mat-step-header.mat-accent .mat-step-icon-selected,.resource-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.resource-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.resource-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.resource-theme .mat-step-header.mat-warn .mat-step-icon-selected,.resource-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.resource-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.resource-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.resource-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.resource-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.resource-theme .mat-stepper-horizontal,.resource-theme .mat-stepper-vertical{background-color:#fff}.resource-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.resource-theme .mat-horizontal-stepper-header:after,.resource-theme .mat-horizontal-stepper-header:before,.resource-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.resource-theme .mat-sort-header-arrow{color:#757575}.resource-theme .mat-tab-header,.resource-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.resource-theme .mat-tab-group-inverted-header .mat-tab-header,.resource-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.resource-theme .mat-tab-label,.resource-theme .mat-tab-link{color:rgba(0,0,0,.87)}.resource-theme .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.resource-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.resource-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.resource-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.resource-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.resource-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-tab-group.mat-primary .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.resource-theme .mat-tab-group.mat-accent .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.resource-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.resource-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.resource-theme .mat-tab-group.mat-warn .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.resource-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.resource-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.resource-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--resource-theme-primary-100),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--resource-theme-primary-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.resource-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.resource-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.resource-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.resource-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.resource-theme .mat-toolbar.mat-primary{background:rgba(var(--resource-theme-primary-500),1);color:rgba(var(--resource-theme-primary-contrast-500),1)}.resource-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.resource-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.resource-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.resource-theme .mat-toolbar .mat-form-field-ripple,.resource-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.resource-theme .mat-toolbar .mat-focused .mat-form-field-label,.resource-theme .mat-toolbar .mat-form-field-label,.resource-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.resource-theme .mat-toolbar .mat-select-arrow,.resource-theme .mat-toolbar .mat-select-value{color:inherit}.resource-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.resource-theme .mat-tooltip{background:rgba(97,97,97,.9)}.resource-theme .mat-tree{background:#fff}.resource-theme .mat-nested-tree-node,.resource-theme .mat-tree-node{color:rgba(0,0,0,.87)}.resource-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.resource-theme .mat-simple-snackbar-action{color:#43a047}.group-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.group-theme .mat-option{color:rgba(0,0,0,.87)}.group-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.group-theme .mat-option:focus:not(.mat-option-disabled),.group-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.group-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.group-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.group-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.group-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.group-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.group-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.group-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.group-theme .mat-pseudo-checkbox:after{color:#fafafa}.group-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.group-theme .mat-primary .mat-pseudo-checkbox-checked,.group-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-accent .mat-pseudo-checkbox-checked,.group-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.group-theme .mat-pseudo-checkbox-checked,.group-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.group-theme .mat-warn .mat-pseudo-checkbox-checked,.group-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.group-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.group-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.group-theme.mat-app-background,.group-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.group-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.group-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.group-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.group-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.group-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.group-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.group-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.group-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.group-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.group-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.group-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.group-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.group-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.group-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.group-theme .mat-badge-content{color:rgba(var(--group-theme-primary-contrast-500),1);background:rgba(var(--group-theme-primary-500),1)}.cdk-high-contrast-active .group-theme .mat-badge-content{outline:1px solid;border-radius:0}.group-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.group-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.group-theme .mat-badge{position:relative}.group-theme .mat-badge-hidden .mat-badge-content{display:none}.group-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.group-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.group-theme .mat-badge-content._mat-animation-noopable,.group-theme .ng-animate-disabled .mat-badge-content{transition:none}.group-theme .mat-badge-content.mat-badge-active{transform:none}.group-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.group-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.group-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.group-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.group-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.group-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.group-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .group-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.group-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.group-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.group-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.group-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.group-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .group-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.group-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.group-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.group-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.group-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.group-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.group-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.group-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .group-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.group-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-button,.group-theme .mat-icon-button,.group-theme .mat-stroked-button{color:inherit;background:transparent}.group-theme .mat-button.mat-primary,.group-theme .mat-icon-button.mat-primary,.group-theme .mat-stroked-button.mat-primary{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-button.mat-accent,.group-theme .mat-icon-button.mat-accent,.group-theme .mat-stroked-button.mat-accent{color:#43a047}.group-theme .mat-button.mat-warn,.group-theme .mat-icon-button.mat-warn,.group-theme .mat-stroked-button.mat-warn{color:#f44336}.group-theme .mat-button.mat-accent.mat-button-disabled,.group-theme .mat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-button.mat-primary.mat-button-disabled,.group-theme .mat-button.mat-warn.mat-button-disabled,.group-theme .mat-icon-button.mat-accent.mat-button-disabled,.group-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-icon-button.mat-primary.mat-button-disabled,.group-theme .mat-icon-button.mat-warn.mat-button-disabled,.group-theme .mat-stroked-button.mat-accent.mat-button-disabled,.group-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-stroked-button.mat-primary.mat-button-disabled,.group-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.group-theme .mat-button.mat-primary .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-button.mat-accent .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.group-theme .mat-button.mat-warn .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.group-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.group-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.group-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.group-theme .mat-button .mat-ripple-element,.group-theme .mat-icon-button .mat-ripple-element,.group-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.group-theme .mat-button-focus-overlay{background:#000}.group-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.group-theme .mat-fab,.group-theme .mat-flat-button,.group-theme .mat-mini-fab,.group-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.group-theme .mat-fab.mat-primary,.group-theme .mat-flat-button.mat-primary,.group-theme .mat-mini-fab.mat-primary,.group-theme .mat-raised-button.mat-primary{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-fab.mat-accent,.group-theme .mat-fab.mat-warn,.group-theme .mat-flat-button.mat-accent,.group-theme .mat-flat-button.mat-warn,.group-theme .mat-mini-fab.mat-accent,.group-theme .mat-mini-fab.mat-warn,.group-theme .mat-raised-button.mat-accent,.group-theme .mat-raised-button.mat-warn{color:#fff}.group-theme .mat-fab.mat-accent.mat-button-disabled,.group-theme .mat-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-fab.mat-primary.mat-button-disabled,.group-theme .mat-fab.mat-warn.mat-button-disabled,.group-theme .mat-flat-button.mat-accent.mat-button-disabled,.group-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-flat-button.mat-primary.mat-button-disabled,.group-theme .mat-flat-button.mat-warn.mat-button-disabled,.group-theme .mat-mini-fab.mat-accent.mat-button-disabled,.group-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-mini-fab.mat-primary.mat-button-disabled,.group-theme .mat-mini-fab.mat-warn.mat-button-disabled,.group-theme .mat-raised-button.mat-accent.mat-button-disabled,.group-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-raised-button.mat-primary.mat-button-disabled,.group-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.group-theme .mat-fab.mat-primary,.group-theme .mat-flat-button.mat-primary,.group-theme .mat-mini-fab.mat-primary,.group-theme .mat-raised-button.mat-primary{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-fab.mat-accent,.group-theme .mat-flat-button.mat-accent,.group-theme .mat-mini-fab.mat-accent,.group-theme .mat-raised-button.mat-accent{background-color:#43a047}.group-theme .mat-fab.mat-warn,.group-theme .mat-flat-button.mat-warn,.group-theme .mat-mini-fab.mat-warn,.group-theme .mat-raised-button.mat-warn{background-color:#f44336}.group-theme .mat-fab.mat-accent.mat-button-disabled,.group-theme .mat-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-fab.mat-primary.mat-button-disabled,.group-theme .mat-fab.mat-warn.mat-button-disabled,.group-theme .mat-flat-button.mat-accent.mat-button-disabled,.group-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-flat-button.mat-primary.mat-button-disabled,.group-theme .mat-flat-button.mat-warn.mat-button-disabled,.group-theme .mat-mini-fab.mat-accent.mat-button-disabled,.group-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.group-theme .mat-mini-fab.mat-primary.mat-button-disabled,.group-theme .mat-mini-fab.mat-warn.mat-button-disabled,.group-theme .mat-raised-button.mat-accent.mat-button-disabled,.group-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.group-theme .mat-raised-button.mat-primary.mat-button-disabled,.group-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.group-theme .mat-fab.mat-primary .mat-ripple-element,.group-theme .mat-flat-button.mat-primary .mat-ripple-element,.group-theme .mat-mini-fab.mat-primary .mat-ripple-element,.group-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.1}.group-theme .mat-fab.mat-accent .mat-ripple-element,.group-theme .mat-fab.mat-warn .mat-ripple-element,.group-theme .mat-flat-button.mat-accent .mat-ripple-element,.group-theme .mat-flat-button.mat-warn .mat-ripple-element,.group-theme .mat-mini-fab.mat-accent .mat-ripple-element,.group-theme .mat-mini-fab.mat-warn .mat-ripple-element,.group-theme .mat-raised-button.mat-accent .mat-ripple-element,.group-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-flat-button:not([class*=mat-elevation-z]),.group-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.group-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-fab:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.group-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.group-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group,.group-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group-appearance-standard,.group-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.group-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.group-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.group-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.group-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.group-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.group-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.group-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.group-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.group-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.group-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.group-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.group-theme .mat-button-toggle-group-appearance-standard,.group-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.group-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.group-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.group-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.group-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.group-theme .mat-checkbox-checkmark{fill:#fafafa}.group-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.group-theme .mat-checkbox-mixedmark{background-color:#fafafa}.group-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.group-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.group-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.group-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.group-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.group-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.group-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.group-theme .mat-checkbox .mat-ripple-element{background-color:#000}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.group-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.group-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.group-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.group-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.group-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.group-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.group-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.group-theme .mat-chip.mat-standard-chip:after{background:#000}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1);opacity:.1}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.group-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.group-theme .mat-table{background:#fff}.group-theme .mat-table-sticky,.group-theme .mat-table tbody,.group-theme .mat-table tfoot,.group-theme .mat-table thead,.group-theme [mat-footer-row],.group-theme [mat-header-row],.group-theme [mat-row],.group-theme mat-footer-row,.group-theme mat-header-row,.group-theme mat-row{background:inherit}.group-theme mat-footer-row,.group-theme mat-header-row,.group-theme mat-row,.group-theme td.mat-cell,.group-theme td.mat-footer-cell,.group-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.group-theme .mat-header-cell{color:rgba(0,0,0,.54)}.group-theme .mat-cell,.group-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.group-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.group-theme .mat-datepicker-content .mat-calendar-next-button,.group-theme .mat-datepicker-content .mat-calendar-previous-button,.group-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.group-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.group-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.group-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.group-theme .mat-calendar-body-cell-content,.group-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.group-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.group-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.group-theme .mat-calendar-body-in-range:before{background:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-calendar-body-comparison-identical,.group-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-calendar-body-comparison-bridge-start:before,.group-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--group-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.group-theme .mat-calendar-body-comparison-bridge-end:before,.group-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--group-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.group-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-calendar-body-selected{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.group-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.group-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.group-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.group-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.group-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.group-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.group-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.group-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.group-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.group-theme .mat-datepicker-toggle-active{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.group-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.group-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.group-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.group-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.group-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.group-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.group-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.group-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.group-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.group-theme .mat-expansion-indicator:after,.group-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.group-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.group-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.group-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.group-theme .mat-form-field-label,.group-theme .mat-hint{color:rgba(0,0,0,.6)}.group-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.group-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.group-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.group-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.group-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.group-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.group-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.group-theme .mat-error{color:#f44336}.group-theme .mat-form-field-appearance-legacy .mat-form-field-label,.group-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.group-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.group-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.group-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.group-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.group-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.group-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.group-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.group-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.group-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.group-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.group-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.group-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.group-theme .mat-icon.mat-primary{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-icon.mat-accent{color:#43a047}.group-theme .mat-icon.mat-warn{color:#f44336}.group-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.group-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.group-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.group-theme .mat-input-element{caret-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.group-theme .mat-form-field-invalid .mat-input-element,.group-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.group-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.group-theme .mat-list-base .mat-list-item,.group-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.group-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.group-theme .mat-list-item-disabled{background-color:#eee}.group-theme .mat-action-list .mat-list-item:focus,.group-theme .mat-action-list .mat-list-item:hover,.group-theme .mat-list-option:focus,.group-theme .mat-list-option:hover,.group-theme .mat-nav-list .mat-list-item:focus,.group-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.group-theme .mat-list-single-selected-option,.group-theme .mat-list-single-selected-option:focus,.group-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.group-theme .mat-menu-panel{background:#fff}.group-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.group-theme .mat-menu-item[disabled],.group-theme .mat-menu-item[disabled] .mat-icon-no-color,.group-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.group-theme .mat-menu-item-submenu-trigger:after,.group-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.group-theme .mat-menu-item-highlighted:not([disabled]),.group-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.group-theme .mat-menu-item.cdk-program-focused:not([disabled]),.group-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.group-theme .mat-paginator{background:#fff}.group-theme .mat-paginator,.group-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.group-theme .mat-paginator-decrement,.group-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.group-theme .mat-paginator-first,.group-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.group-theme .mat-icon-button[disabled] .mat-paginator-decrement,.group-theme .mat-icon-button[disabled] .mat-paginator-first,.group-theme .mat-icon-button[disabled] .mat-paginator-increment,.group-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.group-theme .mat-progress-bar-background{fill:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-progress-bar-buffer{background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-progress-bar-fill:after{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.group-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.group-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.group-theme .mat-progress-spinner circle,.group-theme .mat-spinner circle{stroke:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-progress-spinner.mat-accent circle,.group-theme .mat-spinner.mat-accent circle{stroke:#43a047}.group-theme .mat-progress-spinner.mat-warn circle,.group-theme .mat-spinner.mat-warn circle{stroke:#f44336}.group-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.group-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.group-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.group-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.group-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.group-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.group-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.group-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.group-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.group-theme .mat-radio-button .mat-ripple-element{background-color:#000}.group-theme .mat-select-value{color:rgba(0,0,0,.87)}.group-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.group-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.group-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.group-theme .mat-select-panel{background:#fff}.group-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.group-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.group-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.group-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.group-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.group-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.group-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.group-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.group-theme .mat-drawer.mat-drawer-push{background-color:#fff}.group-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.group-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-drawer-side.mat-drawer-end,.group-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.group-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.group-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.group-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.group-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.group-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.group-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.group-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.group-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.group-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.group-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.group-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.group-theme .mat-primary .mat-slider-thumb,.group-theme .mat-primary .mat-slider-thumb-label,.group-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--group-theme-primary-500),1);opacity:.2}.group-theme .mat-accent .mat-slider-thumb,.group-theme .mat-accent .mat-slider-thumb-label,.group-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.group-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.group-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.group-theme .mat-warn .mat-slider-thumb,.group-theme .mat-warn .mat-slider-thumb-label,.group-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.group-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.group-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.group-theme .cdk-focused .mat-slider-track-background,.group-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.group-theme .mat-slider-disabled .mat-slider-thumb,.group-theme .mat-slider-disabled .mat-slider-track-background,.group-theme .mat-slider-disabled .mat-slider-track-fill,.group-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.group-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.group-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.group-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.group-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.group-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.group-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.group-theme .mat-step-header.cdk-keyboard-focused,.group-theme .mat-step-header.cdk-program-focused,.group-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.group-theme .mat-step-header:hover{background:none}}.group-theme .mat-step-header .mat-step-label,.group-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.group-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-step-header .mat-step-icon-selected,.group-theme .mat-step-header .mat-step-icon-state-done,.group-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.group-theme .mat-step-header.mat-accent .mat-step-icon-selected,.group-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.group-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.group-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.group-theme .mat-step-header.mat-warn .mat-step-icon-selected,.group-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.group-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.group-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.group-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.group-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.group-theme .mat-stepper-horizontal,.group-theme .mat-stepper-vertical{background-color:#fff}.group-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.group-theme .mat-horizontal-stepper-header:after,.group-theme .mat-horizontal-stepper-header:before,.group-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.group-theme .mat-sort-header-arrow{color:#757575}.group-theme .mat-tab-header,.group-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.group-theme .mat-tab-group-inverted-header .mat-tab-header,.group-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.group-theme .mat-tab-label,.group-theme .mat-tab-link{color:rgba(0,0,0,.87)}.group-theme .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.group-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.group-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.group-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.group-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.group-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-tab-group.mat-primary .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.group-theme .mat-tab-group.mat-accent .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.group-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.group-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.group-theme .mat-tab-group.mat-warn .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.group-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.group-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.group-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--group-theme-primary-100),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--group-theme-primary-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.group-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.group-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.group-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.group-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.group-theme .mat-toolbar.mat-primary{background:rgba(var(--group-theme-primary-500),1);color:rgba(var(--group-theme-primary-contrast-500),1)}.group-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.group-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.group-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.group-theme .mat-toolbar .mat-form-field-ripple,.group-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.group-theme .mat-toolbar .mat-focused .mat-form-field-label,.group-theme .mat-toolbar .mat-form-field-label,.group-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.group-theme .mat-toolbar .mat-select-arrow,.group-theme .mat-toolbar .mat-select-value{color:inherit}.group-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.group-theme .mat-tooltip{background:rgba(97,97,97,.9)}.group-theme .mat-tree{background:#fff}.group-theme .mat-nested-tree-node,.group-theme .mat-tree-node{color:rgba(0,0,0,.87)}.group-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.group-theme .mat-simple-snackbar-action{color:#43a047}.member-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.member-theme .mat-option{color:rgba(0,0,0,.87)}.member-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.member-theme .mat-option:focus:not(.mat-option-disabled),.member-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.member-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.member-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.member-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.member-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.member-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.member-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.member-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.member-theme .mat-pseudo-checkbox:after{color:#fafafa}.member-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.member-theme .mat-primary .mat-pseudo-checkbox-checked,.member-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-accent .mat-pseudo-checkbox-checked,.member-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.member-theme .mat-pseudo-checkbox-checked,.member-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.member-theme .mat-warn .mat-pseudo-checkbox-checked,.member-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.member-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.member-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.member-theme.mat-app-background,.member-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.member-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.member-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.member-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.member-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.member-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.member-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.member-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.member-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.member-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.member-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.member-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.member-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.member-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.member-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.member-theme .mat-badge-content{color:rgba(var(--member-theme-primary-contrast-500),1);background:rgba(var(--member-theme-primary-500),1)}.cdk-high-contrast-active .member-theme .mat-badge-content{outline:1px solid;border-radius:0}.member-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.member-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.member-theme .mat-badge{position:relative}.member-theme .mat-badge-hidden .mat-badge-content{display:none}.member-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.member-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.member-theme .mat-badge-content._mat-animation-noopable,.member-theme .ng-animate-disabled .mat-badge-content{transition:none}.member-theme .mat-badge-content.mat-badge-active{transform:none}.member-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.member-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.member-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.member-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.member-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.member-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.member-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .member-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.member-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.member-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.member-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.member-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.member-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .member-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.member-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.member-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.member-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.member-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.member-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.member-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.member-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .member-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.member-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-button,.member-theme .mat-icon-button,.member-theme .mat-stroked-button{color:inherit;background:transparent}.member-theme .mat-button.mat-primary,.member-theme .mat-icon-button.mat-primary,.member-theme .mat-stroked-button.mat-primary{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-button.mat-accent,.member-theme .mat-icon-button.mat-accent,.member-theme .mat-stroked-button.mat-accent{color:#43a047}.member-theme .mat-button.mat-warn,.member-theme .mat-icon-button.mat-warn,.member-theme .mat-stroked-button.mat-warn{color:#f44336}.member-theme .mat-button.mat-accent.mat-button-disabled,.member-theme .mat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-button.mat-primary.mat-button-disabled,.member-theme .mat-button.mat-warn.mat-button-disabled,.member-theme .mat-icon-button.mat-accent.mat-button-disabled,.member-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-icon-button.mat-primary.mat-button-disabled,.member-theme .mat-icon-button.mat-warn.mat-button-disabled,.member-theme .mat-stroked-button.mat-accent.mat-button-disabled,.member-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-stroked-button.mat-primary.mat-button-disabled,.member-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.member-theme .mat-button.mat-primary .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-button.mat-accent .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.member-theme .mat-button.mat-warn .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.member-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.member-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.member-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.member-theme .mat-button .mat-ripple-element,.member-theme .mat-icon-button .mat-ripple-element,.member-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.member-theme .mat-button-focus-overlay{background:#000}.member-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.member-theme .mat-fab,.member-theme .mat-flat-button,.member-theme .mat-mini-fab,.member-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.member-theme .mat-fab.mat-primary,.member-theme .mat-flat-button.mat-primary,.member-theme .mat-mini-fab.mat-primary,.member-theme .mat-raised-button.mat-primary{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-fab.mat-accent,.member-theme .mat-fab.mat-warn,.member-theme .mat-flat-button.mat-accent,.member-theme .mat-flat-button.mat-warn,.member-theme .mat-mini-fab.mat-accent,.member-theme .mat-mini-fab.mat-warn,.member-theme .mat-raised-button.mat-accent,.member-theme .mat-raised-button.mat-warn{color:#fff}.member-theme .mat-fab.mat-accent.mat-button-disabled,.member-theme .mat-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-fab.mat-primary.mat-button-disabled,.member-theme .mat-fab.mat-warn.mat-button-disabled,.member-theme .mat-flat-button.mat-accent.mat-button-disabled,.member-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-flat-button.mat-primary.mat-button-disabled,.member-theme .mat-flat-button.mat-warn.mat-button-disabled,.member-theme .mat-mini-fab.mat-accent.mat-button-disabled,.member-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-mini-fab.mat-primary.mat-button-disabled,.member-theme .mat-mini-fab.mat-warn.mat-button-disabled,.member-theme .mat-raised-button.mat-accent.mat-button-disabled,.member-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-raised-button.mat-primary.mat-button-disabled,.member-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.member-theme .mat-fab.mat-primary,.member-theme .mat-flat-button.mat-primary,.member-theme .mat-mini-fab.mat-primary,.member-theme .mat-raised-button.mat-primary{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-fab.mat-accent,.member-theme .mat-flat-button.mat-accent,.member-theme .mat-mini-fab.mat-accent,.member-theme .mat-raised-button.mat-accent{background-color:#43a047}.member-theme .mat-fab.mat-warn,.member-theme .mat-flat-button.mat-warn,.member-theme .mat-mini-fab.mat-warn,.member-theme .mat-raised-button.mat-warn{background-color:#f44336}.member-theme .mat-fab.mat-accent.mat-button-disabled,.member-theme .mat-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-fab.mat-primary.mat-button-disabled,.member-theme .mat-fab.mat-warn.mat-button-disabled,.member-theme .mat-flat-button.mat-accent.mat-button-disabled,.member-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-flat-button.mat-primary.mat-button-disabled,.member-theme .mat-flat-button.mat-warn.mat-button-disabled,.member-theme .mat-mini-fab.mat-accent.mat-button-disabled,.member-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.member-theme .mat-mini-fab.mat-primary.mat-button-disabled,.member-theme .mat-mini-fab.mat-warn.mat-button-disabled,.member-theme .mat-raised-button.mat-accent.mat-button-disabled,.member-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.member-theme .mat-raised-button.mat-primary.mat-button-disabled,.member-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.member-theme .mat-fab.mat-primary .mat-ripple-element,.member-theme .mat-flat-button.mat-primary .mat-ripple-element,.member-theme .mat-mini-fab.mat-primary .mat-ripple-element,.member-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.1}.member-theme .mat-fab.mat-accent .mat-ripple-element,.member-theme .mat-fab.mat-warn .mat-ripple-element,.member-theme .mat-flat-button.mat-accent .mat-ripple-element,.member-theme .mat-flat-button.mat-warn .mat-ripple-element,.member-theme .mat-mini-fab.mat-accent .mat-ripple-element,.member-theme .mat-mini-fab.mat-warn .mat-ripple-element,.member-theme .mat-raised-button.mat-accent .mat-ripple-element,.member-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-flat-button:not([class*=mat-elevation-z]),.member-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.member-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-fab:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.member-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.member-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group,.member-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group-appearance-standard,.member-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.member-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.member-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.member-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.member-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.member-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.member-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.member-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.member-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.member-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.member-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.member-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.member-theme .mat-button-toggle-group-appearance-standard,.member-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.member-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.member-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.member-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.member-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.member-theme .mat-checkbox-checkmark{fill:#fafafa}.member-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.member-theme .mat-checkbox-mixedmark{background-color:#fafafa}.member-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.member-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.member-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.member-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.member-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.member-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.member-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.member-theme .mat-checkbox .mat-ripple-element{background-color:#000}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.member-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.member-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.member-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.member-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.member-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.member-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.member-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.member-theme .mat-chip.mat-standard-chip:after{background:#000}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1);opacity:.1}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.member-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.member-theme .mat-table{background:#fff}.member-theme .mat-table-sticky,.member-theme .mat-table tbody,.member-theme .mat-table tfoot,.member-theme .mat-table thead,.member-theme [mat-footer-row],.member-theme [mat-header-row],.member-theme [mat-row],.member-theme mat-footer-row,.member-theme mat-header-row,.member-theme mat-row{background:inherit}.member-theme mat-footer-row,.member-theme mat-header-row,.member-theme mat-row,.member-theme td.mat-cell,.member-theme td.mat-footer-cell,.member-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.member-theme .mat-header-cell{color:rgba(0,0,0,.54)}.member-theme .mat-cell,.member-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.member-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.member-theme .mat-datepicker-content .mat-calendar-next-button,.member-theme .mat-datepicker-content .mat-calendar-previous-button,.member-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.member-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.member-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.member-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.member-theme .mat-calendar-body-cell-content,.member-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.member-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.member-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.member-theme .mat-calendar-body-in-range:before{background:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-calendar-body-comparison-identical,.member-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-calendar-body-comparison-bridge-start:before,.member-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--member-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.member-theme .mat-calendar-body-comparison-bridge-end:before,.member-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--member-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.member-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-calendar-body-selected{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.member-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.member-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.member-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.member-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.member-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.member-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.member-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.member-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.member-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.member-theme .mat-datepicker-toggle-active{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.member-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.member-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.member-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.member-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.member-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.member-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.member-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.member-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.member-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.member-theme .mat-expansion-indicator:after,.member-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.member-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.member-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.member-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.member-theme .mat-form-field-label,.member-theme .mat-hint{color:rgba(0,0,0,.6)}.member-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.member-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.member-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.member-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.member-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.member-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.member-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.member-theme .mat-error{color:#f44336}.member-theme .mat-form-field-appearance-legacy .mat-form-field-label,.member-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.member-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.member-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.member-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.member-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.member-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.member-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.member-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.member-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.member-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.member-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.member-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.member-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.member-theme .mat-icon.mat-primary{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-icon.mat-accent{color:#43a047}.member-theme .mat-icon.mat-warn{color:#f44336}.member-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.member-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.member-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.member-theme .mat-input-element{caret-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.member-theme .mat-form-field-invalid .mat-input-element,.member-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.member-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.member-theme .mat-list-base .mat-list-item,.member-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.member-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.member-theme .mat-list-item-disabled{background-color:#eee}.member-theme .mat-action-list .mat-list-item:focus,.member-theme .mat-action-list .mat-list-item:hover,.member-theme .mat-list-option:focus,.member-theme .mat-list-option:hover,.member-theme .mat-nav-list .mat-list-item:focus,.member-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.member-theme .mat-list-single-selected-option,.member-theme .mat-list-single-selected-option:focus,.member-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.member-theme .mat-menu-panel{background:#fff}.member-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.member-theme .mat-menu-item[disabled],.member-theme .mat-menu-item[disabled] .mat-icon-no-color,.member-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.member-theme .mat-menu-item-submenu-trigger:after,.member-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.member-theme .mat-menu-item-highlighted:not([disabled]),.member-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.member-theme .mat-menu-item.cdk-program-focused:not([disabled]),.member-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.member-theme .mat-paginator{background:#fff}.member-theme .mat-paginator,.member-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.member-theme .mat-paginator-decrement,.member-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.member-theme .mat-paginator-first,.member-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.member-theme .mat-icon-button[disabled] .mat-paginator-decrement,.member-theme .mat-icon-button[disabled] .mat-paginator-first,.member-theme .mat-icon-button[disabled] .mat-paginator-increment,.member-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.member-theme .mat-progress-bar-background{fill:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-progress-bar-buffer{background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-progress-bar-fill:after{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.member-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.member-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.member-theme .mat-progress-spinner circle,.member-theme .mat-spinner circle{stroke:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-progress-spinner.mat-accent circle,.member-theme .mat-spinner.mat-accent circle{stroke:#43a047}.member-theme .mat-progress-spinner.mat-warn circle,.member-theme .mat-spinner.mat-warn circle{stroke:#f44336}.member-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.member-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.member-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.member-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.member-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.member-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.member-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.member-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.member-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.member-theme .mat-radio-button .mat-ripple-element{background-color:#000}.member-theme .mat-select-value{color:rgba(0,0,0,.87)}.member-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.member-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.member-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.member-theme .mat-select-panel{background:#fff}.member-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.member-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.member-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.member-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.member-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.member-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.member-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.member-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.member-theme .mat-drawer.mat-drawer-push{background-color:#fff}.member-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.member-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-drawer-side.mat-drawer-end,.member-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.member-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.member-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.member-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.member-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.member-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.member-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.member-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.member-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.member-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.member-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.member-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.member-theme .mat-primary .mat-slider-thumb,.member-theme .mat-primary .mat-slider-thumb-label,.member-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--member-theme-primary-500),1);opacity:.2}.member-theme .mat-accent .mat-slider-thumb,.member-theme .mat-accent .mat-slider-thumb-label,.member-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.member-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.member-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.member-theme .mat-warn .mat-slider-thumb,.member-theme .mat-warn .mat-slider-thumb-label,.member-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.member-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.member-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.member-theme .cdk-focused .mat-slider-track-background,.member-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.member-theme .mat-slider-disabled .mat-slider-thumb,.member-theme .mat-slider-disabled .mat-slider-track-background,.member-theme .mat-slider-disabled .mat-slider-track-fill,.member-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.member-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.member-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.member-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.member-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.member-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.member-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.member-theme .mat-step-header.cdk-keyboard-focused,.member-theme .mat-step-header.cdk-program-focused,.member-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.member-theme .mat-step-header:hover{background:none}}.member-theme .mat-step-header .mat-step-label,.member-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.member-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-step-header .mat-step-icon-selected,.member-theme .mat-step-header .mat-step-icon-state-done,.member-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.member-theme .mat-step-header.mat-accent .mat-step-icon-selected,.member-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.member-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.member-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.member-theme .mat-step-header.mat-warn .mat-step-icon-selected,.member-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.member-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.member-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.member-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.member-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.member-theme .mat-stepper-horizontal,.member-theme .mat-stepper-vertical{background-color:#fff}.member-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.member-theme .mat-horizontal-stepper-header:after,.member-theme .mat-horizontal-stepper-header:before,.member-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.member-theme .mat-sort-header-arrow{color:#757575}.member-theme .mat-tab-header,.member-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.member-theme .mat-tab-group-inverted-header .mat-tab-header,.member-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.member-theme .mat-tab-label,.member-theme .mat-tab-link{color:rgba(0,0,0,.87)}.member-theme .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.member-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.member-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.member-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.member-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.member-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-tab-group.mat-primary .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.member-theme .mat-tab-group.mat-accent .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.member-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.member-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.member-theme .mat-tab-group.mat-warn .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.member-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.member-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.member-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--member-theme-primary-100),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--member-theme-primary-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.member-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.member-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.member-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.member-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.member-theme .mat-toolbar.mat-primary{background:rgba(var(--member-theme-primary-500),1);color:rgba(var(--member-theme-primary-contrast-500),1)}.member-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.member-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.member-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.member-theme .mat-toolbar .mat-form-field-ripple,.member-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.member-theme .mat-toolbar .mat-focused .mat-form-field-label,.member-theme .mat-toolbar .mat-form-field-label,.member-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.member-theme .mat-toolbar .mat-select-arrow,.member-theme .mat-toolbar .mat-select-value{color:inherit}.member-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.member-theme .mat-tooltip{background:rgba(97,97,97,.9)}.member-theme .mat-tree{background:#fff}.member-theme .mat-nested-tree-node,.member-theme .mat-tree-node{color:rgba(0,0,0,.87)}.member-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.member-theme .mat-simple-snackbar-action{color:#43a047}.admin-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.admin-theme .mat-option{color:rgba(0,0,0,.87)}.admin-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.admin-theme .mat-option:focus:not(.mat-option-disabled),.admin-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.admin-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.admin-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.admin-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.admin-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.admin-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.admin-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.admin-theme .mat-pseudo-checkbox:after{color:#fafafa}.admin-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.admin-theme .mat-primary .mat-pseudo-checkbox-checked,.admin-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-accent .mat-pseudo-checkbox-checked,.admin-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.admin-theme .mat-pseudo-checkbox-checked,.admin-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.admin-theme .mat-warn .mat-pseudo-checkbox-checked,.admin-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.admin-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.admin-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.admin-theme.mat-app-background,.admin-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.admin-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.admin-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.admin-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.admin-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.admin-theme .mat-badge-content{color:rgba(var(--admin-theme-primary-contrast-500),1);background:rgba(var(--admin-theme-primary-500),1)}.cdk-high-contrast-active .admin-theme .mat-badge-content{outline:1px solid;border-radius:0}.admin-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.admin-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.admin-theme .mat-badge{position:relative}.admin-theme .mat-badge-hidden .mat-badge-content{display:none}.admin-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.admin-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.admin-theme .mat-badge-content._mat-animation-noopable,.admin-theme .ng-animate-disabled .mat-badge-content{transition:none}.admin-theme .mat-badge-content.mat-badge-active{transform:none}.admin-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.admin-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.admin-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.admin-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.admin-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .admin-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.admin-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.admin-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.admin-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.admin-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.admin-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .admin-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.admin-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.admin-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.admin-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.admin-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.admin-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .admin-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.admin-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-button,.admin-theme .mat-icon-button,.admin-theme .mat-stroked-button{color:inherit;background:transparent}.admin-theme .mat-button.mat-primary,.admin-theme .mat-icon-button.mat-primary,.admin-theme .mat-stroked-button.mat-primary{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-button.mat-accent,.admin-theme .mat-icon-button.mat-accent,.admin-theme .mat-stroked-button.mat-accent{color:#43a047}.admin-theme .mat-button.mat-warn,.admin-theme .mat-icon-button.mat-warn,.admin-theme .mat-stroked-button.mat-warn{color:#f44336}.admin-theme .mat-button.mat-accent.mat-button-disabled,.admin-theme .mat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-button.mat-primary.mat-button-disabled,.admin-theme .mat-button.mat-warn.mat-button-disabled,.admin-theme .mat-icon-button.mat-accent.mat-button-disabled,.admin-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-icon-button.mat-primary.mat-button-disabled,.admin-theme .mat-icon-button.mat-warn.mat-button-disabled,.admin-theme .mat-stroked-button.mat-accent.mat-button-disabled,.admin-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-stroked-button.mat-primary.mat-button-disabled,.admin-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.admin-theme .mat-button.mat-primary .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-button.mat-accent .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.admin-theme .mat-button.mat-warn .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.admin-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.admin-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.admin-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.admin-theme .mat-button .mat-ripple-element,.admin-theme .mat-icon-button .mat-ripple-element,.admin-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.admin-theme .mat-button-focus-overlay{background:#000}.admin-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.admin-theme .mat-fab,.admin-theme .mat-flat-button,.admin-theme .mat-mini-fab,.admin-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.admin-theme .mat-fab.mat-primary,.admin-theme .mat-flat-button.mat-primary,.admin-theme .mat-mini-fab.mat-primary,.admin-theme .mat-raised-button.mat-primary{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-fab.mat-accent,.admin-theme .mat-fab.mat-warn,.admin-theme .mat-flat-button.mat-accent,.admin-theme .mat-flat-button.mat-warn,.admin-theme .mat-mini-fab.mat-accent,.admin-theme .mat-mini-fab.mat-warn,.admin-theme .mat-raised-button.mat-accent,.admin-theme .mat-raised-button.mat-warn{color:#fff}.admin-theme .mat-fab.mat-accent.mat-button-disabled,.admin-theme .mat-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-fab.mat-primary.mat-button-disabled,.admin-theme .mat-fab.mat-warn.mat-button-disabled,.admin-theme .mat-flat-button.mat-accent.mat-button-disabled,.admin-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-flat-button.mat-primary.mat-button-disabled,.admin-theme .mat-flat-button.mat-warn.mat-button-disabled,.admin-theme .mat-mini-fab.mat-accent.mat-button-disabled,.admin-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-mini-fab.mat-primary.mat-button-disabled,.admin-theme .mat-mini-fab.mat-warn.mat-button-disabled,.admin-theme .mat-raised-button.mat-accent.mat-button-disabled,.admin-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-raised-button.mat-primary.mat-button-disabled,.admin-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.admin-theme .mat-fab.mat-primary,.admin-theme .mat-flat-button.mat-primary,.admin-theme .mat-mini-fab.mat-primary,.admin-theme .mat-raised-button.mat-primary{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-fab.mat-accent,.admin-theme .mat-flat-button.mat-accent,.admin-theme .mat-mini-fab.mat-accent,.admin-theme .mat-raised-button.mat-accent{background-color:#43a047}.admin-theme .mat-fab.mat-warn,.admin-theme .mat-flat-button.mat-warn,.admin-theme .mat-mini-fab.mat-warn,.admin-theme .mat-raised-button.mat-warn{background-color:#f44336}.admin-theme .mat-fab.mat-accent.mat-button-disabled,.admin-theme .mat-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-fab.mat-primary.mat-button-disabled,.admin-theme .mat-fab.mat-warn.mat-button-disabled,.admin-theme .mat-flat-button.mat-accent.mat-button-disabled,.admin-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-flat-button.mat-primary.mat-button-disabled,.admin-theme .mat-flat-button.mat-warn.mat-button-disabled,.admin-theme .mat-mini-fab.mat-accent.mat-button-disabled,.admin-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.admin-theme .mat-mini-fab.mat-primary.mat-button-disabled,.admin-theme .mat-mini-fab.mat-warn.mat-button-disabled,.admin-theme .mat-raised-button.mat-accent.mat-button-disabled,.admin-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.admin-theme .mat-raised-button.mat-primary.mat-button-disabled,.admin-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.admin-theme .mat-fab.mat-primary .mat-ripple-element,.admin-theme .mat-flat-button.mat-primary .mat-ripple-element,.admin-theme .mat-mini-fab.mat-primary .mat-ripple-element,.admin-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.1}.admin-theme .mat-fab.mat-accent .mat-ripple-element,.admin-theme .mat-fab.mat-warn .mat-ripple-element,.admin-theme .mat-flat-button.mat-accent .mat-ripple-element,.admin-theme .mat-flat-button.mat-warn .mat-ripple-element,.admin-theme .mat-mini-fab.mat-accent .mat-ripple-element,.admin-theme .mat-mini-fab.mat-warn .mat-ripple-element,.admin-theme .mat-raised-button.mat-accent .mat-ripple-element,.admin-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-flat-button:not([class*=mat-elevation-z]),.admin-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.admin-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-fab:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.admin-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.admin-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group,.admin-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group-appearance-standard,.admin-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.admin-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.admin-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.admin-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.admin-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.admin-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.admin-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.admin-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.admin-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.admin-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.admin-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.admin-theme .mat-button-toggle-group-appearance-standard,.admin-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.admin-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.admin-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.admin-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox-checkmark{fill:#fafafa}.admin-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.admin-theme .mat-checkbox-mixedmark{background-color:#fafafa}.admin-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.admin-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.admin-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.admin-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.admin-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.admin-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.admin-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.admin-theme .mat-checkbox .mat-ripple-element{background-color:#000}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.admin-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.admin-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.admin-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.admin-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.admin-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.admin-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.admin-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.admin-theme .mat-chip.mat-standard-chip:after{background:#000}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1);opacity:.1}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.admin-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.admin-theme .mat-table{background:#fff}.admin-theme .mat-table-sticky,.admin-theme .mat-table tbody,.admin-theme .mat-table tfoot,.admin-theme .mat-table thead,.admin-theme [mat-footer-row],.admin-theme [mat-header-row],.admin-theme [mat-row],.admin-theme mat-footer-row,.admin-theme mat-header-row,.admin-theme mat-row{background:inherit}.admin-theme mat-footer-row,.admin-theme mat-header-row,.admin-theme mat-row,.admin-theme td.mat-cell,.admin-theme td.mat-footer-cell,.admin-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.admin-theme .mat-header-cell{color:rgba(0,0,0,.54)}.admin-theme .mat-cell,.admin-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.admin-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.admin-theme .mat-datepicker-content .mat-calendar-next-button,.admin-theme .mat-datepicker-content .mat-calendar-previous-button,.admin-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.admin-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.admin-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.admin-theme .mat-calendar-body-cell-content,.admin-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.admin-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.admin-theme .mat-calendar-body-in-range:before{background:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-calendar-body-comparison-identical,.admin-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-calendar-body-comparison-bridge-start:before,.admin-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--admin-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.admin-theme .mat-calendar-body-comparison-bridge-end:before,.admin-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--admin-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.admin-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-calendar-body-selected{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.admin-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.admin-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.admin-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.admin-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.admin-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.admin-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.admin-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.admin-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.admin-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.admin-theme .mat-datepicker-toggle-active{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.admin-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.admin-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.admin-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.admin-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.admin-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.admin-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.admin-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.admin-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.admin-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.admin-theme .mat-expansion-indicator:after,.admin-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.admin-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.admin-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.admin-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.admin-theme .mat-form-field-label,.admin-theme .mat-hint{color:rgba(0,0,0,.6)}.admin-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.admin-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.admin-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.admin-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.admin-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.admin-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.admin-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.admin-theme .mat-error{color:#f44336}.admin-theme .mat-form-field-appearance-legacy .mat-form-field-label,.admin-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.admin-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.admin-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.admin-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.admin-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.admin-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.admin-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.admin-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.admin-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.admin-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.admin-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.admin-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.admin-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.admin-theme .mat-icon.mat-primary{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-icon.mat-accent{color:#43a047}.admin-theme .mat-icon.mat-warn{color:#f44336}.admin-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.admin-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.admin-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-input-element{caret-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.admin-theme .mat-form-field-invalid .mat-input-element,.admin-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.admin-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.admin-theme .mat-list-base .mat-list-item,.admin-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.admin-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.admin-theme .mat-list-item-disabled{background-color:#eee}.admin-theme .mat-action-list .mat-list-item:focus,.admin-theme .mat-action-list .mat-list-item:hover,.admin-theme .mat-list-option:focus,.admin-theme .mat-list-option:hover,.admin-theme .mat-nav-list .mat-list-item:focus,.admin-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.admin-theme .mat-list-single-selected-option,.admin-theme .mat-list-single-selected-option:focus,.admin-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.admin-theme .mat-menu-panel{background:#fff}.admin-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.admin-theme .mat-menu-item[disabled],.admin-theme .mat-menu-item[disabled] .mat-icon-no-color,.admin-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.admin-theme .mat-menu-item-submenu-trigger:after,.admin-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.admin-theme .mat-menu-item-highlighted:not([disabled]),.admin-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.admin-theme .mat-menu-item.cdk-program-focused:not([disabled]),.admin-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.admin-theme .mat-paginator{background:#fff}.admin-theme .mat-paginator,.admin-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.admin-theme .mat-paginator-decrement,.admin-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.admin-theme .mat-paginator-first,.admin-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.admin-theme .mat-icon-button[disabled] .mat-paginator-decrement,.admin-theme .mat-icon-button[disabled] .mat-paginator-first,.admin-theme .mat-icon-button[disabled] .mat-paginator-increment,.admin-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.admin-theme .mat-progress-bar-background{fill:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-progress-bar-buffer{background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-progress-bar-fill:after{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.admin-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.admin-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.admin-theme .mat-progress-spinner circle,.admin-theme .mat-spinner circle{stroke:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-progress-spinner.mat-accent circle,.admin-theme .mat-spinner.mat-accent circle{stroke:#43a047}.admin-theme .mat-progress-spinner.mat-warn circle,.admin-theme .mat-spinner.mat-warn circle{stroke:#f44336}.admin-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.admin-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.admin-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.admin-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.admin-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.admin-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.admin-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.admin-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.admin-theme .mat-radio-button .mat-ripple-element{background-color:#000}.admin-theme .mat-select-value{color:rgba(0,0,0,.87)}.admin-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.admin-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.admin-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.admin-theme .mat-select-panel{background:#fff}.admin-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.admin-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.admin-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.admin-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.admin-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.admin-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.admin-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.admin-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.admin-theme .mat-drawer.mat-drawer-push{background-color:#fff}.admin-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.admin-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-drawer-side.mat-drawer-end,.admin-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.admin-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.admin-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.admin-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.admin-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.admin-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.admin-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.admin-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.admin-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.admin-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.admin-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.admin-theme .mat-primary .mat-slider-thumb,.admin-theme .mat-primary .mat-slider-thumb-label,.admin-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--admin-theme-primary-500),1);opacity:.2}.admin-theme .mat-accent .mat-slider-thumb,.admin-theme .mat-accent .mat-slider-thumb-label,.admin-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.admin-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.admin-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.admin-theme .mat-warn .mat-slider-thumb,.admin-theme .mat-warn .mat-slider-thumb-label,.admin-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.admin-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.admin-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.admin-theme .cdk-focused .mat-slider-track-background,.admin-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-disabled .mat-slider-thumb,.admin-theme .mat-slider-disabled .mat-slider-track-background,.admin-theme .mat-slider-disabled .mat-slider-track-fill,.admin-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.admin-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.admin-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.admin-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.admin-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.admin-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.admin-theme .mat-step-header.cdk-keyboard-focused,.admin-theme .mat-step-header.cdk-program-focused,.admin-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.admin-theme .mat-step-header:hover{background:none}}.admin-theme .mat-step-header .mat-step-label,.admin-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.admin-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-step-header .mat-step-icon-selected,.admin-theme .mat-step-header .mat-step-icon-state-done,.admin-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.admin-theme .mat-step-header.mat-accent .mat-step-icon-selected,.admin-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.admin-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.admin-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.admin-theme .mat-step-header.mat-warn .mat-step-icon-selected,.admin-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.admin-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.admin-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.admin-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.admin-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.admin-theme .mat-stepper-horizontal,.admin-theme .mat-stepper-vertical{background-color:#fff}.admin-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.admin-theme .mat-horizontal-stepper-header:after,.admin-theme .mat-horizontal-stepper-header:before,.admin-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.admin-theme .mat-sort-header-arrow{color:#757575}.admin-theme .mat-tab-header,.admin-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.admin-theme .mat-tab-group-inverted-header .mat-tab-header,.admin-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.admin-theme .mat-tab-label,.admin-theme .mat-tab-link{color:rgba(0,0,0,.87)}.admin-theme .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.admin-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.admin-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.admin-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.admin-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.admin-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-tab-group.mat-primary .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.admin-theme .mat-tab-group.mat-accent .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.admin-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.admin-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.admin-theme .mat-tab-group.mat-warn .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.admin-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.admin-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.admin-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--admin-theme-primary-100),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--admin-theme-primary-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.admin-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.admin-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.admin-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.admin-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.admin-theme .mat-toolbar.mat-primary{background:rgba(var(--admin-theme-primary-500),1);color:rgba(var(--admin-theme-primary-contrast-500),1)}.admin-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.admin-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.admin-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.admin-theme .mat-toolbar .mat-form-field-ripple,.admin-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.admin-theme .mat-toolbar .mat-focused .mat-form-field-label,.admin-theme .mat-toolbar .mat-form-field-label,.admin-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.admin-theme .mat-toolbar .mat-select-arrow,.admin-theme .mat-toolbar .mat-select-value{color:inherit}.admin-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.admin-theme .mat-tooltip{background:rgba(97,97,97,.9)}.admin-theme .mat-tree{background:#fff}.admin-theme .mat-nested-tree-node,.admin-theme .mat-tree-node{color:rgba(0,0,0,.87)}.admin-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.admin-theme .mat-simple-snackbar-action{color:#43a047}.user-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.user-theme .mat-option{color:rgba(0,0,0,.87)}.user-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.user-theme .mat-option:focus:not(.mat-option-disabled),.user-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.user-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.user-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.user-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.user-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.user-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.user-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.user-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.user-theme .mat-pseudo-checkbox:after{color:#fafafa}.user-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.user-theme .mat-primary .mat-pseudo-checkbox-checked,.user-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-accent .mat-pseudo-checkbox-checked,.user-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.user-theme .mat-pseudo-checkbox-checked,.user-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.user-theme .mat-warn .mat-pseudo-checkbox-checked,.user-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.user-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.user-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.user-theme.mat-app-background,.user-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.user-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.user-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.user-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.user-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.user-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.user-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.user-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.user-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.user-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.user-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.user-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.user-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.user-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.user-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.user-theme .mat-badge-content{color:rgba(var(--user-theme-primary-contrast-500),1);background:rgba(var(--user-theme-primary-500),1)}.cdk-high-contrast-active .user-theme .mat-badge-content{outline:1px solid;border-radius:0}.user-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.user-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.user-theme .mat-badge{position:relative}.user-theme .mat-badge-hidden .mat-badge-content{display:none}.user-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.user-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.user-theme .mat-badge-content._mat-animation-noopable,.user-theme .ng-animate-disabled .mat-badge-content{transition:none}.user-theme .mat-badge-content.mat-badge-active{transform:none}.user-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.user-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.user-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.user-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.user-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.user-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.user-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .user-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.user-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.user-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.user-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.user-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.user-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .user-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.user-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.user-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.user-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.user-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.user-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.user-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.user-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .user-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.user-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-button,.user-theme .mat-icon-button,.user-theme .mat-stroked-button{color:inherit;background:transparent}.user-theme .mat-button.mat-primary,.user-theme .mat-icon-button.mat-primary,.user-theme .mat-stroked-button.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent,.user-theme .mat-icon-button.mat-accent,.user-theme .mat-stroked-button.mat-accent{color:#43a047}.user-theme .mat-button.mat-warn,.user-theme .mat-icon-button.mat-warn,.user-theme .mat-stroked-button.mat-warn{color:#f44336}.user-theme .mat-button.mat-accent.mat-button-disabled,.user-theme .mat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-button.mat-primary.mat-button-disabled,.user-theme .mat-button.mat-warn.mat-button-disabled,.user-theme .mat-icon-button.mat-accent.mat-button-disabled,.user-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-icon-button.mat-primary.mat-button-disabled,.user-theme .mat-icon-button.mat-warn.mat-button-disabled,.user-theme .mat-stroked-button.mat-accent.mat-button-disabled,.user-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-stroked-button.mat-primary.mat-button-disabled,.user-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.user-theme .mat-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.user-theme .mat-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.user-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.user-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.user-theme .mat-button .mat-ripple-element,.user-theme .mat-icon-button .mat-ripple-element,.user-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.user-theme .mat-button-focus-overlay{background:#000}.user-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.user-theme .mat-fab,.user-theme .mat-flat-button,.user-theme .mat-mini-fab,.user-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.user-theme .mat-fab.mat-primary,.user-theme .mat-flat-button.mat-primary,.user-theme .mat-mini-fab.mat-primary,.user-theme .mat-raised-button.mat-primary{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-fab.mat-accent,.user-theme .mat-fab.mat-warn,.user-theme .mat-flat-button.mat-accent,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-mini-fab.mat-warn,.user-theme .mat-raised-button.mat-accent,.user-theme .mat-raised-button.mat-warn{color:#fff}.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.user-theme .mat-fab.mat-primary,.user-theme .mat-flat-button.mat-primary,.user-theme .mat-mini-fab.mat-primary,.user-theme .mat-raised-button.mat-primary{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-fab.mat-accent,.user-theme .mat-flat-button.mat-accent,.user-theme .mat-mini-fab.mat-accent,.user-theme .mat-raised-button.mat-accent{background-color:#43a047}.user-theme .mat-fab.mat-warn,.user-theme .mat-flat-button.mat-warn,.user-theme .mat-mini-fab.mat-warn,.user-theme .mat-raised-button.mat-warn{background-color:#f44336}.user-theme .mat-fab.mat-accent.mat-button-disabled,.user-theme .mat-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-fab.mat-primary.mat-button-disabled,.user-theme .mat-fab.mat-warn.mat-button-disabled,.user-theme .mat-flat-button.mat-accent.mat-button-disabled,.user-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-flat-button.mat-primary.mat-button-disabled,.user-theme .mat-flat-button.mat-warn.mat-button-disabled,.user-theme .mat-mini-fab.mat-accent.mat-button-disabled,.user-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.user-theme .mat-mini-fab.mat-primary.mat-button-disabled,.user-theme .mat-mini-fab.mat-warn.mat-button-disabled,.user-theme .mat-raised-button.mat-accent.mat-button-disabled,.user-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.user-theme .mat-raised-button.mat-primary.mat-button-disabled,.user-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.user-theme .mat-fab.mat-primary .mat-ripple-element,.user-theme .mat-flat-button.mat-primary .mat-ripple-element,.user-theme .mat-mini-fab.mat-primary .mat-ripple-element,.user-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-fab.mat-accent .mat-ripple-element,.user-theme .mat-fab.mat-warn .mat-ripple-element,.user-theme .mat-flat-button.mat-accent .mat-ripple-element,.user-theme .mat-flat-button.mat-warn .mat-ripple-element,.user-theme .mat-mini-fab.mat-accent .mat-ripple-element,.user-theme .mat-mini-fab.mat-warn .mat-ripple-element,.user-theme .mat-raised-button.mat-accent .mat-ripple-element,.user-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-flat-button:not([class*=mat-elevation-z]),.user-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.user-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-fab:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.user-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.user-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group,.user-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard,.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.user-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.user-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.user-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.user-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.user-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.user-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.user-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.user-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.user-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.user-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.user-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.user-theme .mat-button-toggle-group-appearance-standard,.user-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.user-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.user-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.user-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.user-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.user-theme .mat-checkbox-checkmark{fill:#fafafa}.user-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.user-theme .mat-checkbox-mixedmark{background-color:#fafafa}.user-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.user-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.user-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.user-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.user-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.user-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.user-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.user-theme .mat-checkbox .mat-ripple-element{background-color:#000}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.user-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.user-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.user-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.user-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.user-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.user-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.user-theme .mat-chip.mat-standard-chip:after{background:#000}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1);opacity:.1}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.user-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.user-theme .mat-table{background:#fff}.user-theme .mat-table-sticky,.user-theme .mat-table tbody,.user-theme .mat-table tfoot,.user-theme .mat-table thead,.user-theme [mat-footer-row],.user-theme [mat-header-row],.user-theme [mat-row],.user-theme mat-footer-row,.user-theme mat-header-row,.user-theme mat-row{background:inherit}.user-theme mat-footer-row,.user-theme mat-header-row,.user-theme mat-row,.user-theme td.mat-cell,.user-theme td.mat-footer-cell,.user-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.user-theme .mat-header-cell{color:rgba(0,0,0,.54)}.user-theme .mat-cell,.user-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.user-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.user-theme .mat-datepicker-content .mat-calendar-next-button,.user-theme .mat-datepicker-content .mat-calendar-previous-button,.user-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.user-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.user-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.user-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.user-theme .mat-calendar-body-cell-content,.user-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.user-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.user-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.user-theme .mat-calendar-body-in-range:before{background:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-calendar-body-comparison-identical,.user-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-calendar-body-comparison-bridge-start:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-comparison-bridge-end:before,.user-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--user-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.user-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-calendar-body-selected{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.user-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.user-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.user-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.user-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.user-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.user-theme .mat-datepicker-toggle-active{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.user-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.user-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.user-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.user-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.user-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.user-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.user-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.user-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.user-theme .mat-expansion-indicator:after,.user-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.user-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.user-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.user-theme .mat-form-field-label,.user-theme .mat-hint{color:rgba(0,0,0,.6)}.user-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.user-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.user-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.user-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.user-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.user-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.user-theme .mat-error{color:#f44336}.user-theme .mat-form-field-appearance-legacy .mat-form-field-label,.user-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.user-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.user-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.user-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.user-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.user-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.user-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.user-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.user-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.user-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.user-theme .mat-icon.mat-primary{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-icon.mat-accent{color:#43a047}.user-theme .mat-icon.mat-warn{color:#f44336}.user-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.user-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.user-theme .mat-input-element{caret-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.user-theme .mat-form-field-invalid .mat-input-element,.user-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.user-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.user-theme .mat-list-base .mat-list-item,.user-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.user-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.user-theme .mat-list-item-disabled{background-color:#eee}.user-theme .mat-action-list .mat-list-item:focus,.user-theme .mat-action-list .mat-list-item:hover,.user-theme .mat-list-option:focus,.user-theme .mat-list-option:hover,.user-theme .mat-nav-list .mat-list-item:focus,.user-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.user-theme .mat-list-single-selected-option,.user-theme .mat-list-single-selected-option:focus,.user-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.user-theme .mat-menu-panel{background:#fff}.user-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.user-theme .mat-menu-item[disabled],.user-theme .mat-menu-item[disabled] .mat-icon-no-color,.user-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.user-theme .mat-menu-item-submenu-trigger:after,.user-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.user-theme .mat-menu-item-highlighted:not([disabled]),.user-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.user-theme .mat-menu-item.cdk-program-focused:not([disabled]),.user-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.user-theme .mat-paginator{background:#fff}.user-theme .mat-paginator,.user-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.user-theme .mat-paginator-decrement,.user-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.user-theme .mat-paginator-first,.user-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.user-theme .mat-icon-button[disabled] .mat-paginator-decrement,.user-theme .mat-icon-button[disabled] .mat-paginator-first,.user-theme .mat-icon-button[disabled] .mat-paginator-increment,.user-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.user-theme .mat-progress-bar-background{fill:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-buffer{background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-progress-bar-fill:after{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.user-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.user-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.user-theme .mat-progress-spinner circle,.user-theme .mat-spinner circle{stroke:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-progress-spinner.mat-accent circle,.user-theme .mat-spinner.mat-accent circle{stroke:#43a047}.user-theme .mat-progress-spinner.mat-warn circle,.user-theme .mat-spinner.mat-warn circle{stroke:#f44336}.user-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.user-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.user-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.user-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.user-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.user-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.user-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.user-theme .mat-radio-button .mat-ripple-element{background-color:#000}.user-theme .mat-select-value{color:rgba(0,0,0,.87)}.user-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.user-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.user-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.user-theme .mat-select-panel{background:#fff}.user-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.user-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.user-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.user-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.user-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.user-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.user-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.user-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.user-theme .mat-drawer.mat-drawer-push{background-color:#fff}.user-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.user-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-drawer-side.mat-drawer-end,.user-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.user-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.user-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.user-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.user-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.user-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.user-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.user-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.user-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.user-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.user-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.user-theme .mat-primary .mat-slider-thumb,.user-theme .mat-primary .mat-slider-thumb-label,.user-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--user-theme-primary-500),1);opacity:.2}.user-theme .mat-accent .mat-slider-thumb,.user-theme .mat-accent .mat-slider-thumb-label,.user-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.user-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.user-theme .mat-warn .mat-slider-thumb,.user-theme .mat-warn .mat-slider-thumb-label,.user-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.user-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.user-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.user-theme .cdk-focused .mat-slider-track-background,.user-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.user-theme .mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider-disabled .mat-slider-track-background,.user-theme .mat-slider-disabled .mat-slider-track-fill,.user-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.user-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.user-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.user-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.user-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.user-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.user-theme .mat-step-header.cdk-keyboard-focused,.user-theme .mat-step-header.cdk-program-focused,.user-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.user-theme .mat-step-header:hover{background:none}}.user-theme .mat-step-header .mat-step-label,.user-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.user-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header .mat-step-icon-selected,.user-theme .mat-step-header .mat-step-icon-state-done,.user-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-accent .mat-step-icon-selected,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.user-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.user-theme .mat-step-header.mat-warn .mat-step-icon-selected,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.user-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.user-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.user-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.user-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.user-theme .mat-stepper-horizontal,.user-theme .mat-stepper-vertical{background-color:#fff}.user-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.user-theme .mat-horizontal-stepper-header:after,.user-theme .mat-horizontal-stepper-header:before,.user-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.user-theme .mat-sort-header-arrow{color:#757575}.user-theme .mat-tab-header,.user-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.user-theme .mat-tab-group-inverted-header .mat-tab-header,.user-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.user-theme .mat-tab-label,.user-theme .mat-tab-link{color:rgba(0,0,0,.87)}.user-theme .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.user-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.user-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.user-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.user-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-primary .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.user-theme .mat-tab-group.mat-accent .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.user-theme .mat-tab-group.mat-warn .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.user-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--user-theme-primary-100),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--user-theme-primary-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.user-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.user-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.user-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.user-theme .mat-toolbar.mat-primary{background:rgba(var(--user-theme-primary-500),1);color:rgba(var(--user-theme-primary-contrast-500),1)}.user-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.user-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.user-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.user-theme .mat-toolbar .mat-form-field-ripple,.user-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.user-theme .mat-toolbar .mat-focused .mat-form-field-label,.user-theme .mat-toolbar .mat-form-field-label,.user-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.user-theme .mat-toolbar .mat-select-arrow,.user-theme .mat-toolbar .mat-select-value{color:inherit}.user-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.user-theme .mat-tooltip{background:rgba(97,97,97,.9)}.user-theme .mat-tree{background:#fff}.user-theme .mat-nested-tree-node,.user-theme .mat-tree-node{color:rgba(0,0,0,.87)}.user-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.user-theme .mat-simple-snackbar-action{color:#43a047}.service-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.service-theme .mat-option{color:rgba(0,0,0,.87)}.service-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.service-theme .mat-option:focus:not(.mat-option-disabled),.service-theme .mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.service-theme .mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.service-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.service-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#43a047}.service-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.service-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.service-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.service-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.service-theme .mat-pseudo-checkbox:after{color:#fafafa}.service-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.service-theme .mat-primary .mat-pseudo-checkbox-checked,.service-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-accent .mat-pseudo-checkbox-checked,.service-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.service-theme .mat-pseudo-checkbox-checked,.service-theme .mat-pseudo-checkbox-indeterminate{background:#43a047}.service-theme .mat-warn .mat-pseudo-checkbox-checked,.service-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.service-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.service-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.service-theme.mat-app-background,.service-theme .mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.service-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.service-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.service-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.service-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.service-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.service-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.service-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.service-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.service-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.service-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.service-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.service-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.service-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.service-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.service-theme .mat-badge-content{color:rgba(var(--service-theme-primary-contrast-500),1);background:rgba(var(--service-theme-primary-500),1)}.cdk-high-contrast-active .service-theme .mat-badge-content{outline:1px solid;border-radius:0}.service-theme .mat-badge-accent .mat-badge-content{background:#43a047;color:#fff}.service-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.service-theme .mat-badge{position:relative}.service-theme .mat-badge-hidden .mat-badge-content{display:none}.service-theme .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.service-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.service-theme .mat-badge-content._mat-animation-noopable,.service-theme .ng-animate-disabled .mat-badge-content{transition:none}.service-theme .mat-badge-content.mat-badge-active{transform:none}.service-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.service-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.service-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.service-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.service-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.service-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.service-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .service-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.service-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.service-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.service-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.service-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.service-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .service-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.service-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.service-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.service-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.service-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.service-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.service-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.service-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .service-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.service-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-button,.service-theme .mat-icon-button,.service-theme .mat-stroked-button{color:inherit;background:transparent}.service-theme .mat-button.mat-primary,.service-theme .mat-icon-button.mat-primary,.service-theme .mat-stroked-button.mat-primary{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-button.mat-accent,.service-theme .mat-icon-button.mat-accent,.service-theme .mat-stroked-button.mat-accent{color:#43a047}.service-theme .mat-button.mat-warn,.service-theme .mat-icon-button.mat-warn,.service-theme .mat-stroked-button.mat-warn{color:#f44336}.service-theme .mat-button.mat-accent.mat-button-disabled,.service-theme .mat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-button.mat-primary.mat-button-disabled,.service-theme .mat-button.mat-warn.mat-button-disabled,.service-theme .mat-icon-button.mat-accent.mat-button-disabled,.service-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-icon-button.mat-primary.mat-button-disabled,.service-theme .mat-icon-button.mat-warn.mat-button-disabled,.service-theme .mat-stroked-button.mat-accent.mat-button-disabled,.service-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-stroked-button.mat-primary.mat-button-disabled,.service-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.service-theme .mat-button.mat-primary .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-button.mat-accent .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#43a047}.service-theme .mat-button.mat-warn .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.service-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.service-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.service-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.service-theme .mat-button .mat-ripple-element,.service-theme .mat-icon-button .mat-ripple-element,.service-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.service-theme .mat-button-focus-overlay{background:#000}.service-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.service-theme .mat-fab,.service-theme .mat-flat-button,.service-theme .mat-mini-fab,.service-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.service-theme .mat-fab.mat-primary,.service-theme .mat-flat-button.mat-primary,.service-theme .mat-mini-fab.mat-primary,.service-theme .mat-raised-button.mat-primary{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-fab.mat-accent,.service-theme .mat-fab.mat-warn,.service-theme .mat-flat-button.mat-accent,.service-theme .mat-flat-button.mat-warn,.service-theme .mat-mini-fab.mat-accent,.service-theme .mat-mini-fab.mat-warn,.service-theme .mat-raised-button.mat-accent,.service-theme .mat-raised-button.mat-warn{color:#fff}.service-theme .mat-fab.mat-accent.mat-button-disabled,.service-theme .mat-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-fab.mat-primary.mat-button-disabled,.service-theme .mat-fab.mat-warn.mat-button-disabled,.service-theme .mat-flat-button.mat-accent.mat-button-disabled,.service-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-flat-button.mat-primary.mat-button-disabled,.service-theme .mat-flat-button.mat-warn.mat-button-disabled,.service-theme .mat-mini-fab.mat-accent.mat-button-disabled,.service-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-mini-fab.mat-primary.mat-button-disabled,.service-theme .mat-mini-fab.mat-warn.mat-button-disabled,.service-theme .mat-raised-button.mat-accent.mat-button-disabled,.service-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-raised-button.mat-primary.mat-button-disabled,.service-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.service-theme .mat-fab.mat-primary,.service-theme .mat-flat-button.mat-primary,.service-theme .mat-mini-fab.mat-primary,.service-theme .mat-raised-button.mat-primary{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-fab.mat-accent,.service-theme .mat-flat-button.mat-accent,.service-theme .mat-mini-fab.mat-accent,.service-theme .mat-raised-button.mat-accent{background-color:#43a047}.service-theme .mat-fab.mat-warn,.service-theme .mat-flat-button.mat-warn,.service-theme .mat-mini-fab.mat-warn,.service-theme .mat-raised-button.mat-warn{background-color:#f44336}.service-theme .mat-fab.mat-accent.mat-button-disabled,.service-theme .mat-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-fab.mat-primary.mat-button-disabled,.service-theme .mat-fab.mat-warn.mat-button-disabled,.service-theme .mat-flat-button.mat-accent.mat-button-disabled,.service-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-flat-button.mat-primary.mat-button-disabled,.service-theme .mat-flat-button.mat-warn.mat-button-disabled,.service-theme .mat-mini-fab.mat-accent.mat-button-disabled,.service-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.service-theme .mat-mini-fab.mat-primary.mat-button-disabled,.service-theme .mat-mini-fab.mat-warn.mat-button-disabled,.service-theme .mat-raised-button.mat-accent.mat-button-disabled,.service-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.service-theme .mat-raised-button.mat-primary.mat-button-disabled,.service-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.service-theme .mat-fab.mat-primary .mat-ripple-element,.service-theme .mat-flat-button.mat-primary .mat-ripple-element,.service-theme .mat-mini-fab.mat-primary .mat-ripple-element,.service-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.1}.service-theme .mat-fab.mat-accent .mat-ripple-element,.service-theme .mat-fab.mat-warn .mat-ripple-element,.service-theme .mat-flat-button.mat-accent .mat-ripple-element,.service-theme .mat-flat-button.mat-warn .mat-ripple-element,.service-theme .mat-mini-fab.mat-accent .mat-ripple-element,.service-theme .mat-mini-fab.mat-warn .mat-ripple-element,.service-theme .mat-raised-button.mat-accent .mat-ripple-element,.service-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-flat-button:not([class*=mat-elevation-z]),.service-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.service-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-fab:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.service-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.service-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group,.service-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group-appearance-standard,.service-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.service-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.service-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.service-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.service-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.service-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.service-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.service-theme .mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.service-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.service-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.service-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.service-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.service-theme .mat-button-toggle-group-appearance-standard,.service-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.service-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.service-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.service-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.service-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.service-theme .mat-checkbox-checkmark{fill:#fafafa}.service-theme .mat-checkbox-checkmark-path{stroke:#fafafa!important}.service-theme .mat-checkbox-mixedmark{background-color:#fafafa}.service-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#43a047}.service-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.service-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.service-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.service-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.service-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.service-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.service-theme .mat-checkbox .mat-ripple-element{background-color:#000}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#43a047}.service-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.service-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.service-theme .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.service-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.service-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.service-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.service-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.service-theme .mat-chip.mat-standard-chip:after{background:#000}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1);opacity:.1}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#43a047;color:#fff}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.service-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.service-theme .mat-table{background:#fff}.service-theme .mat-table-sticky,.service-theme .mat-table tbody,.service-theme .mat-table tfoot,.service-theme .mat-table thead,.service-theme [mat-footer-row],.service-theme [mat-header-row],.service-theme [mat-row],.service-theme mat-footer-row,.service-theme mat-header-row,.service-theme mat-row{background:inherit}.service-theme mat-footer-row,.service-theme mat-header-row,.service-theme mat-row,.service-theme td.mat-cell,.service-theme td.mat-footer-cell,.service-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.service-theme .mat-header-cell{color:rgba(0,0,0,.54)}.service-theme .mat-cell,.service-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.service-theme .mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.service-theme .mat-datepicker-content .mat-calendar-next-button,.service-theme .mat-datepicker-content .mat-calendar-previous-button,.service-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.service-theme .mat-calendar-table-header{color:rgba(0,0,0,.38)}.service-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.service-theme .mat-calendar-body-label{color:rgba(0,0,0,.54)}.service-theme .mat-calendar-body-cell-content,.service-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.service-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.service-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.service-theme .mat-calendar-body-in-range:before{background:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-calendar-body-comparison-identical,.service-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-calendar-body-comparison-bridge-start:before,.service-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(var(--service-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.service-theme .mat-calendar-body-comparison-bridge-end:before,.service-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(var(--service-theme-primary-500),1) 50%,rgba(249,171,0,.2) 50%)}.service-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-calendar-body-selected{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{opacity:.2}.service-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(67,160,71,.2)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.service-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.service-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(67,160,71,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#43a047;color:#fff}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(67,160,71,.4)}.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.service-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(67,160,71,.3)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.service-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.service-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.service-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.service-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.service-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.service-theme .mat-datepicker-toggle-active{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-datepicker-toggle-active.mat-accent{color:#43a047}.service-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.service-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.service-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-divider{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.service-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.service-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.service-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.service-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.service-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.service-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.service-theme .mat-expansion-indicator:after,.service-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.service-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.service-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.service-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.service-theme .mat-form-field-label,.service-theme .mat-hint{color:rgba(0,0,0,.6)}.service-theme .mat-form-field.mat-focused .mat-form-field-label{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#43a047}.service-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.service-theme .mat-focused .mat-form-field-required-marker{color:#43a047}.service-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#43a047}.service-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#43a047}.service-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.service-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.service-theme .mat-error{color:#f44336}.service-theme .mat-form-field-appearance-legacy .mat-form-field-label,.service-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.service-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.service-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.service-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.service-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.service-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.service-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.service-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.service-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#43a047}.service-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.service-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.service-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.service-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.service-theme .mat-icon.mat-primary{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-icon.mat-accent{color:#43a047}.service-theme .mat-icon.mat-warn{color:#f44336}.service-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.service-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.service-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.service-theme .mat-input-element{caret-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#43a047}.service-theme .mat-form-field-invalid .mat-input-element,.service-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.service-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.service-theme .mat-list-base .mat-list-item,.service-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.service-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.service-theme .mat-list-item-disabled{background-color:#eee}.service-theme .mat-action-list .mat-list-item:focus,.service-theme .mat-action-list .mat-list-item:hover,.service-theme .mat-list-option:focus,.service-theme .mat-list-option:hover,.service-theme .mat-nav-list .mat-list-item:focus,.service-theme .mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.service-theme .mat-list-single-selected-option,.service-theme .mat-list-single-selected-option:focus,.service-theme .mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.service-theme .mat-menu-panel{background:#fff}.service-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.service-theme .mat-menu-item[disabled],.service-theme .mat-menu-item[disabled] .mat-icon-no-color,.service-theme .mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.service-theme .mat-menu-item-submenu-trigger:after,.service-theme .mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.service-theme .mat-menu-item-highlighted:not([disabled]),.service-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.service-theme .mat-menu-item.cdk-program-focused:not([disabled]),.service-theme .mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.service-theme .mat-paginator{background:#fff}.service-theme .mat-paginator,.service-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.service-theme .mat-paginator-decrement,.service-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.service-theme .mat-paginator-first,.service-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.service-theme .mat-icon-button[disabled] .mat-paginator-decrement,.service-theme .mat-icon-button[disabled] .mat-paginator-first,.service-theme .mat-icon-button[disabled] .mat-paginator-increment,.service-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.service-theme .mat-progress-bar-background{fill:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-progress-bar-buffer{background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-progress-bar-fill:after{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#cce4cd}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#cce4cd}.service-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#43a047}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.service-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.service-theme .mat-progress-spinner circle,.service-theme .mat-spinner circle{stroke:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-progress-spinner.mat-accent circle,.service-theme .mat-spinner.mat-accent circle{stroke:#43a047}.service-theme .mat-progress-spinner.mat-warn circle,.service-theme .mat-spinner.mat-warn circle{stroke:#f44336}.service-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.service-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#43a047}.service-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#43a047}.service-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.service-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.service-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.service-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.service-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.service-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.service-theme .mat-radio-button .mat-ripple-element{background-color:#000}.service-theme .mat-select-value{color:rgba(0,0,0,.87)}.service-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.service-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.service-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.service-theme .mat-select-panel{background:#fff}.service-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.service-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.service-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#43a047}.service-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.service-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.service-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.service-theme .mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.service-theme .mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.service-theme .mat-drawer.mat-drawer-push{background-color:#fff}.service-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.service-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-drawer-side.mat-drawer-end,.service-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.service-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.service-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.service-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#43a047}.service-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(67,160,71,.54)}.service-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#43a047}.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar,.service-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.service-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.service-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.service-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.service-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.service-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.service-theme .mat-primary .mat-slider-thumb,.service-theme .mat-primary .mat-slider-thumb-label,.service-theme .mat-primary .mat-slider-track-fill{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-primary .mat-slider-thumb-label-text{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(var(--service-theme-primary-500),1);opacity:.2}.service-theme .mat-accent .mat-slider-thumb,.service-theme .mat-accent .mat-slider-thumb-label,.service-theme .mat-accent .mat-slider-track-fill{background-color:#43a047}.service-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.service-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(67,160,71,.2)}.service-theme .mat-warn .mat-slider-thumb,.service-theme .mat-warn .mat-slider-thumb-label,.service-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.service-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.service-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.service-theme .cdk-focused .mat-slider-track-background,.service-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.service-theme .mat-slider-disabled .mat-slider-thumb,.service-theme .mat-slider-disabled .mat-slider-track-background,.service-theme .mat-slider-disabled .mat-slider-track-fill,.service-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.service-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.service-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.service-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.service-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.service-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.service-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.service-theme .mat-step-header.cdk-keyboard-focused,.service-theme .mat-step-header.cdk-program-focused,.service-theme .mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.service-theme .mat-step-header:hover{background:none}}.service-theme .mat-step-header .mat-step-label,.service-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.service-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-step-header .mat-step-icon-selected,.service-theme .mat-step-header .mat-step-icon-state-done,.service-theme .mat-step-header .mat-step-icon-state-edit{background-color:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.service-theme .mat-step-header.mat-accent .mat-step-icon-selected,.service-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.service-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#43a047;color:#fff}.service-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.service-theme .mat-step-header.mat-warn .mat-step-icon-selected,.service-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.service-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.service-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.service-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.service-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.service-theme .mat-stepper-horizontal,.service-theme .mat-stepper-vertical{background-color:#fff}.service-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.service-theme .mat-horizontal-stepper-header:after,.service-theme .mat-horizontal-stepper-header:before,.service-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.service-theme .mat-sort-header-arrow{color:#757575}.service-theme .mat-tab-header,.service-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.service-theme .mat-tab-group-inverted-header .mat-tab-header,.service-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.service-theme .mat-tab-label,.service-theme .mat-tab-link{color:rgba(0,0,0,.87)}.service-theme .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.service-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.service-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.service-theme .mat-tab-group[class*=mat-background-] .mat-tab-header,.service-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.service-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-tab-group.mat-primary .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.service-theme .mat-tab-group.mat-accent .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#43a047}.service-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.service-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.service-theme .mat-tab-group.mat-warn .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.service-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.service-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.service-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(var(--service-theme-primary-100),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:rgba(var(--service-theme-primary-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(200,230,201,.3)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#43a047}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.service-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.service-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.service-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.service-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.service-theme .mat-toolbar.mat-primary{background:rgba(var(--service-theme-primary-500),1);color:rgba(var(--service-theme-primary-contrast-500),1)}.service-theme .mat-toolbar.mat-accent{background:#43a047;color:#fff}.service-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.service-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.service-theme .mat-toolbar .mat-form-field-ripple,.service-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.service-theme .mat-toolbar .mat-focused .mat-form-field-label,.service-theme .mat-toolbar .mat-form-field-label,.service-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.service-theme .mat-toolbar .mat-select-arrow,.service-theme .mat-toolbar .mat-select-value{color:inherit}.service-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.service-theme .mat-tooltip{background:rgba(97,97,97,.9)}.service-theme .mat-tree{background:#fff}.service-theme .mat-nested-tree-node,.service-theme .mat-tree-node{color:rgba(0,0,0,.87)}.service-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.service-theme .mat-simple-snackbar-action{color:#43a047}body{background-color:#fafafa}button{border-radius:0!important}button:focus{outline:none!important}.vo-item{background-color:var(--vo-color)}.facility-item{background-color:var(--facility-color)}.resource-item{background-color:var(--resource-color)}.group-item{background-color:var(--group-color)}.member-item{background-color:var(--member-color)}.service-item{background-color:var(--service-color)}.dark-item-activated{background:var(--side-link-active)!important}.vo-item-activated{border-right:5px solid var(--vo-color);color:var(--vo-color)!important;font-weight:500;background-color:rgba(63,76,255,.1)!important}.vo-item-activated:hover{background-color:rgba(63,76,255,.15)!important}.admin-item-activated{border-right:5px solid var(--admin-color);color:var(--admin-color)!important;font-weight:500;background-color:rgba(255,50,50,.1)}.admin-item-activated:hover{background-color:rgba(255,50,50,.15)!important}.facility-item-activated{border-right:5px solid var(--facility-color);color:var(--facility-color)!important;font-weight:500;background-color:rgba(255,80,23,.1)}.facility-item-activated:hover{background-color:rgba(255,80,23,.15)!important}.resource-item-activated{border-right:5px solid var(--resource-color);color:var(--resource-color)!important;font-weight:500;background-color:rgba(176,44,255,.1)}.resource-item-activated:hover{background-color:rgba(176,44,255,.15)!important}.group-item-activated{border-right:5px solid var(--group-color);color:var(--group-color)!important;font-weight:500;background-color:rgba(123,255,71,.1)}.group-item-activated:hover{background-color:rgba(123,255,71,.15)!important}.member-item-activated{border-right:5px solid var(--member-color);color:var(--member-color)!important;font-weight:500;background-color:rgba(255,28,133,.1)}.member-item-activated:hover{background-color:rgba(255,28,133,.15)!important}.user-item-activated{border-right:5px solid var(--member-color);color:var(--member-color)!important;font-weight:500;background-color:rgba(0,121,107,.1)}.user-item-activated:hover{background-color:rgba(0,121,107,.15)!important}.service-item-activated{border-right:5px solid var(--service-color);color:var(--service-color)!important;font-weight:500;background-color:rgba(86,19,53,.1)}.service-item-activated:hover{background-color:rgba(86,19,53,.15)!important}.vo-item-links a:hover{color:var(--vo-color)!important;background-color:rgba(63,76,255,.15)!important}.group-item-links a:hover{color:var(--group-color)!important;background-color:rgba(123,255,71,.15)!important}.admin-item-links a:hover{color:var(--admin-color)!important;background-color:rgba(255,50,50,.15)!important}.facility-item-links a:hover{color:var(--facility-color)!important;background-color:rgba(255,82,28,.15)!important}.resource-item-links a:hover{color:var(--resource-color)!important;background-color:rgba(176,44,255,.15)!important}.member-item-links a:hover{color:var(--member-color)!important;background-color:rgba(255,28,133,.15)!important}.user-item-links a:hover{color:var(--user-color)!important;background-color:rgba(0,121,107,.15)!important}.service-item-links a:hover{color:var(--service-color)!important;background-color:rgba(86,19,53,.15)!important}.vo-text{color:var(--vo-color)!important}.facility-text{color:var(--facility-color)!important}.resource-text{color:var(--resource-color)!important}.group-text{color:var(--group-color)!important}.member-text{color:var(--member-color)!important}.user-text{color:var(--user-color)!important}.service-text{color:var(--service-color)!important}.router-component{padding-bottom:5rem;min-height:calc(100vh - 314px)}@media (min-width:769px) and (max-width:1199px){.router-component{width:calc(100vw - 330px)}}@media (max-width:768px){.router-component{width:calc(100vw - 30px)}}.main-input{font-size:1.2rem!important;line-height:1.2!important}.error-text{color:#d32f2f}.main-progress-bar{z-index:999999}.main-progress-bar .mat-progress-bar-fill:after{background-color:#0081cb!important}.main-progress-bar .mat-progress-bar-buffer{background-color:#2c2c2c}.tab-padding-top .mat-tab-body-content{padding-top:2rem}#nav-menu{background:#102027;position:fixed;width:100%;z-index:999;display:flex;justify-content:space-between;height:64px;max-height:64px}textarea.cdk-textarea-autosize-measuring{padding:4px 0!important}.base-item-color{background-color:#263238}.base-item-color-activated{background-color:#62727b}.white-color-input,.white-color-input .mat-form-field-label{color:#fff!important}.white-color-input .mat-focused{color:#fff!important;background-color:#fff!important}.white-color-input input{caret-color:#fff!important}.white-color-input .mat-form-field-ripple,.white-color-input .mat-form-field-underline{background-color:#fff!important}.dialog-container{display:flex;flex-direction:column}.dialog-container>*{width:100%}.page-title{font-size:1.8rem}.page-title,.page-title-headtitle{margin-top:1rem;margin-bottom:2rem}.page-title-headline{font-size:1.8rem}.page-title-block{flex-direction:column;margin-left:2rem;margin-bottom:2rem}.page-subtitle{margin-bottom:1rem;font-size:1.5rem}.page-subtitle-2{margin-bottom:.75rem;font-size:1.1rem}.input-width-250{width:250px}.space-right{margin-right:20px}.box-button-large{text-align:center;font-size:1.25em}.box-button-large,.box-button-medium,.box-button-small{color:#fff;box-shadow:0 2px 8px 0 rgba(0,0,0,.35)}.button-shadow{box-shadow:0 2px 8px 0 rgba(0,0,0,.35)!important}.menu-items{display:flex;flex-wrap:wrap;margin-top:2rem}.menu-item-large{display:flex;flex-direction:column;text-align:center;font-size:1.25em;padding:.5rem .5rem 1.5rem;width:100%;margin:1rem}.menu-item-large img{width:100%;flex-grow:1;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px) and (max-width:991px){.menu-item-large img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:992px) and (max-width:1199px){.menu-item-large img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:1200px){.menu-item-large img{padding-left:1rem;padding-right:1rem}}.menu-item-large:first-child{margin-left:0}.menu-item-large:last-child{margin-right:0}.menu-item-large:hover{color:#fff;text-decoration:none!important}.menu-item-small{display:flex;flex-direction:column;text-align:center;font-size:1.25em;padding:.5rem;width:100%;margin:1rem}.menu-item-small img{width:100%;flex-grow:1;padding-left:.5rem;padding-right:.5rem}@media (min-width:768px) and (max-width:991px){.menu-item-small img{padding-left:.75rem;padding-right:.75rem}}@media (min-width:992px) and (max-width:1199px){.menu-item-small img{padding-left:1rem;padding-right:1rem}}@media (min-width:1200px){.menu-item-small img{padding-left:1.25rem;padding-right:1.25rem}}@media (min-width:1600px){.menu-item-small img{padding-left:1.5rem;padding-right:1.5rem}}.menu-item-small:first-child{margin-left:0}.menu-item-small:last-child{margin-right:0}.menu-item-small:hover{color:#fff;text-decoration:none!important}.dark-hover-list-item:hover{background-color:rgba(0,0,0,.05)}.info-table td:first-child{width:40%;white-space:nowrap}.menu-items-row{margin-left:-15px!important;margin-right:-15px!important}.menu-item-medium{align-items:center;display:flex;flex-direction:row;text-align:center;padding:.75rem;width:100%;margin:1rem;font-size:1.25rem}.menu-item-medium:first-child{margin-left:0}.menu-item-medium:last-child{margin-right:0}.menu-item-medium:hover{color:#fff;text-decoration:none!important}.menu-item-medium img{width:4rem;height:4rem;flex-grow:1;padding-left:.5rem;padding-right:.5rem}.menu-item-medium div{flex-grow:5}.vo-bg-color{background-color:var(--vo-color)}.facility-bg-color{background-color:var(--facility-color)}.group-bg-color{background-color:var(--group-color)}.member-bg-color{background-color:var(--member-color)}.admin-bg-color{background-color:var(--admin-color)}.user-bg-color{background-color:var(--user-color)}.user-bg-color .cdk-text-field-autofilled{background-color:#000!important}.service-bg-color{background-color:var(--service-color)}.setting-item{font-size:1.15rem;font-weight:500}.clickable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.unselected-setting{color:#888}.app-btn{display:inline-block;font-weight:400;color:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5}.app-btn.disabled,.app-btn:disabled{opacity:.65}.app-btn:focus{outline:none}.vo-btn{background:var(--vo-color);border-radius:0}.vo-btn,.vo-btn:hover{color:rgba(var(--vo-theme-primary-contrast-500),1)}.facility-btn{background-color:var(--facility-color);border-radius:0}.facility-btn,.facility-btn:hover{color:rgba(var(--facility-theme-primary-contrast-500),1)}.resource-btn{background-color:var(--resource-color);border-radius:0}.resource-btn,.resource-btn:hover{color:rgba(var(--resource-theme-primary-contrast-500),1)}.group-btn{background:var(--group-color);border-radius:0}.group-btn,.group-btn:hover{color:rgba(var(--group-theme-primary-contrast-500),1)}.member-btn{background-color:var(--member-color);border-radius:0}.member-btn,.member-btn:hover{color:rgba(var(--member-theme-primary-contrast-500),1)}.admin-btn{background-color:var(--admin-color);border-radius:0}.admin-btn,.admin-btn:hover{color:rgba(var(--admin-theme-primary-contrast-500),1)}.user-btn{background-color:var(--user-color);border-radius:0}.user-btn,.user-btn:hover{color:rgba(var(--user-theme-primary-contrast-500),1)}.service-btn{background-color:var(--service-color);border-radius:0}.service-btn,.service-btn:hover{color:rgba(var(--service-theme-primary-contrast-500),1)}.title-link{color:#000;text-decoration:underline}.title-link:hover{color:#404040}.vo-link{color:var(--vo-color);text-decoration:underline}.vo-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--vo-color)}.facility-link{color:var(--facility-color);text-decoration:underline}.facility-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--facility-color)}.resource-link{color:var(--resource-color);text-decoration:underline}.resource-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--resource-color)}.member-link{color:var(--member-color);text-decoration:underline}.member-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--member-color)}.group-link{color:var(--group-color);text-decoration:underline}.group-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--group-color)}.user-link{color:var(--user-color);text-decoration:underline}.user-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--user-color)}.service-link{color:var(--service-color);text-decoration:underline}.service-link:hover{color:linear-gradient(to top,hsla(0,0%,100%,.1),hsla(0,0%,100%,.1)) var(--service-color)}.mat-tab-body-content{overflow:hidden!important}.no-label-margin-bottom label{margin-bottom:0!important}.card,.mat-button,.mat-flat-button,.mat-stroked-button{border-radius:0!important}.material-icons.orange{color:#fb8c00;vertical-align:bottom}.material-icons.red{color:red;vertical-align:bottom}.material-icons.green{color:#28a745;vertical-align:bottom}.material-icons.blue{color:#1a87ff;vertical-align:bottom}.material-icons.black{color:#000;vertical-align:bottom}.material-icons.grey{color:grey;vertical-align:bottom}.noBorderDialog .mat-dialog-container{padding:0!important}.align-inline{display:flex;line-height:75px;align-items:flex-end}.static-column-size{width:80px}.hide-table{height:0!important;overflow:hidden!important;border:none!important}.perun-icon path,.perun-icon polygon,.perun-icon rect{fill:currentColor}.word-break-all{word-break:break-all}td.mat-cell,th{padding:.25rem!important}.overflow-ellipsis{text-overflow:ellipsis}.entity-info{font-size:1rem}#preloader{position:fixed;top:0;left:0;width:100%;height:100%}#loader{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#414141;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}#loader:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#afafaf;-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite}#loader:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#e5e5e5;-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#loader .loading{background-position:50% 50%;background-repeat:no-repeat;bottom:-40px;height:20px;left:0;position:absolute;right:0;width:180px}@-webkit-keyframes load{to{opacity:0;transform:scale(1)}}@keyframes load{to{opacity:0;transform:scale(1)}}.perun-icon-detail{transform:scale(2.7);margin-left:1.4rem;margin-top:1.4rem}.icon-beak{vertical-align:bottom}.icon-scale{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}.mat-tooltip{font-size:14px!important;word-wrap:break-word!important}.mat-tab-label{color:#000!important;opacity:1!important}.mat-tab-icon,.mat-tab-label{font-size:16px!important}.cdk-virtual-scroll-content-wrapper{contain:size!important} /*! * Bootstrap v4.6.0 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors diff --git a/dist/apps/publications/3rdpartylicenses.txt b/dist/apps/publications/3rdpartylicenses.txt index 50d8b2911..6f0bcf9bc 100644 --- a/dist/apps/publications/3rdpartylicenses.txt +++ b/dist/apps/publications/3rdpartylicenses.txt @@ -1,3 +1,20 @@ +@angular/common +MIT + +@angular/core +MIT + +angular-oauth2-oidc +MIT +Copyright (c) 2017 Manfred Steyer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + bootstrap MIT The MIT License (MIT) @@ -65,60 +82,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -oidc-client -Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and -You must cause any modified files to carry prominent notices stating that You changed the files; and -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - querystring MIT @@ -142,6 +105,227 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + zone.js MIT The MIT License diff --git a/dist/apps/publications/assets/config/defaultConfig.json b/dist/apps/publications/assets/config/defaultConfig.json index 9901d015a..01a5c73c4 100644 --- a/dist/apps/publications/assets/config/defaultConfig.json +++ b/dist/apps/publications/assets/config/defaultConfig.json @@ -9,14 +9,9 @@ "oauth_silent_redirect_uri": "http://localhost:4200/silent-refresh.html", "oauth_load_user_info": false, "oauth_scopes": "openid profile perun_api perun_admin", - "oauth_response_type": "id_token token", - "filters": { - "default": "urn:cesnet:proxyidp:filter:eyJ2ZXIiOiIyIiwiYWxsb3dGZWVkcyI6eyJlZHVJRC5jeiI6e30sImVkdUdBSU4iOnt9LCJMb2dpbk11bmkiOnt9LCJTb2NpYWxJZFBzIjp7fSwiU3RhbmRhbG9uZUlkUCI6e30sIkhha2EiOnt9fX0=", - "muni": "urn:cesnet:proxyidp:idpentityid:https://idp2.ics.muni.cz/idp/shibboleth", - "soc_idp": "urn:cesnet:proxyidp:filter:eyJ2ZXIiOiIyIiwiYWxsb3dGZWVkcyI6eyJTb2NpYWxJZFBzIjp7fX19" - } + "oauth_response_type": "id_token token" }, - "supportedLanguages": [ + "supported_languages": [ "en" ], "auto_auth_redirect": true, diff --git a/dist/apps/publications/index.html b/dist/apps/publications/index.html index faed26cbc..dad7373fb 100644 --- a/dist/apps/publications/index.html +++ b/dist/apps/publications/index.html @@ -6,7 +6,7 @@ - + @@ -41,5 +41,5 @@
- + diff --git a/dist/apps/publications/main.03695dac3c2e50b9f23a.js b/dist/apps/publications/main.03695dac3c2e50b9f23a.js deleted file mode 100644 index 49ce5798a..000000000 --- a/dist/apps/publications/main.03695dac3c2e50b9f23a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[179],{3619:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=3619,t.exports=e},8722:(t,e,i)=>{"use strict";function n(t){return"function"==typeof t}let s=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function u(t){return null!==t&&"object"==typeof t}const l=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof l?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,i)}}[f](){return this}static create(t,e,i){const n=new p(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends p{constructor(t,e,i,s){let r;super(),this._parentSubscriber=t;let o=this;n(e)?r=e:e&&(r=e.next,i=e.error,s=e.complete,e!==a&&(o=Object.create(e),n(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=i,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=r;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw i;o(i)}}__tryOrSetError(t,e,i){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(o(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(t){return t}let y=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:n}=this,s=function(t,e,i){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||i?new p(t,e,i):new p(a)}(t,e,i);if(s.add(n?n.call(s,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),r.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:n}=t;if(e||n)return!1;t=i&&i instanceof p?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?_:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=w(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class v extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class A extends p{constructor(t){super(t),this.destination=t}}let k=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new A(this)}lift(t){const e=new T(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew T(t,e),t})();class T extends k{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function C(t){return t&&"function"==typeof t.schedule}class S extends p{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const M=t=>e=>{for(let i=0,n=t.length;it&&"number"==typeof t.length&&"function"!=typeof t;function D(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const P=t=>{if(t&&"function"==typeof t[m])return i=t,t=>{const e=i[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(R(t))return M(t);if(D(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[x])return e=t,t=>{const i=e[x]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i};function L(t,e,i,n,s=new S(t,i,n)){if(!s.closed)return e instanceof y?e.subscribe(s):P(e)(s)}class z extends p{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function I(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new F(t,e))}}class F{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new H(t,this.project,this.thisArg))}}class H extends p{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function O(t,e){return new y(i=>{const n=new h;let s=0;return n.add(e.schedule(function(){s!==t.length?(i.next(t[s++]),i.closed||n.add(this.schedule())):i.complete()})),n})}function B(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new y(i=>{const n=new h;return n.add(e.schedule(()=>{const s=t[m]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if(D(t))return function(t,e){return new y(i=>{const n=new h;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if(R(t))return O(t,e);if(function(t){return t&&"function"==typeof t[x]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new y(i=>{const n=new h;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[x](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof y?t:new y(P(t))}function j(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(j((i,n)=>B(t(i,n)).pipe(I((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new Y(t,i)))}class Y{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new N(t,this.project,this.concurrent))}}class N extends z{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function K(t=Number.POSITIVE_INFINITY){return j(_,t)}function U(t,e){return e?O(t,e):new y(M(t))}function V(...t){let e=Number.POSITIVE_INFINITY,i=null,n=t[t.length-1];return C(n)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof n&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof y?t[0]:K(e)(U(t,i))}function q(){return function(t){return t.lift(new $(t))}}class ${constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new W(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class W extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class G extends y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new Z(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return q()(this)}}const J=(()=>{const t=G.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Z extends A{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Q(){return new k}function X(){return t=>{return q()((e=Q,function(t){let i;i="function"==typeof e?e:function(){return e};const n=Object.create(t,J);return n.source=t,n.subjectFactory=i,n})(t));var e}}function tt(t){for(let e in t)if(t[e]===tt)return e;throw Error("Could not find renamed property on target object.")}function et(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function it(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(it).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function nt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const st=tt({__forward_ref__:tt});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return it(this())},t}function ot(t){return at(t)?t():t}function at(t){return"function"==typeof t&&t.hasOwnProperty(st)&&t.__forward_ref__===rt}class ct extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ut(t){return"string"==typeof t?t:null==t?"":String(t)}function lt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ut(t)}function ht(t,e){const i=e?` in ${e}`:"";throw new ct("201",`No provider for ${lt(t)} found${i}`)}function dt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ft(t){return{providers:t.providers||[],imports:t.imports||[]}}function pt(t){return gt(t,_t)||gt(t,wt)}function gt(t,e){return t.hasOwnProperty(e)?t[e]:null}function mt(t){return t&&(t.hasOwnProperty(yt)||t.hasOwnProperty(bt))?t[yt]:null}const _t=tt({"\u0275prov":tt}),yt=tt({"\u0275inj":tt}),wt=tt({ngInjectableDef:tt}),bt=tt({ngInjectorDef:tt});var vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let At;function kt(t){const e=At;return At=t,e}function Tt(t,e,i){const n=pt(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&vt.Optional?null:void 0!==e?e:void ht(it(t),"Injector")}function Ct(t){return{toString:t}.toString()}var St=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Mt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Et="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,Rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Dt="undefined"!=typeof global&&global,Pt=Et||Dt||xt||Rt,Lt={},zt=[],It=tt({"\u0275cmp":tt}),Ft=tt({"\u0275dir":tt}),Ht=tt({"\u0275pipe":tt}),Ot=tt({"\u0275mod":tt}),Bt=tt({"\u0275loc":tt}),jt=tt({"\u0275fac":tt}),Yt=tt({__NG_ELEMENT_ID__:tt});let Nt=0;function Kt(t){return Ct(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||zt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Mt.Emulated,id:"c",styles:t.styles||zt,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,r=t.pipes;return i.id+=Nt++,i.inputs=Wt(t.inputs,e),i.outputs=Wt(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(Ut):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(Vt):null,i})}function Ut(t){return Zt(t)||function(t){return t[Ft]||null}(t)}function Vt(t){return function(t){return t[Ht]||null}(t)}const qt={};function $t(t){return Ct(()=>{const e={type:t.type,bootstrap:t.bootstrap||zt,declarations:t.declarations||zt,imports:t.imports||zt,exports:t.exports||zt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(qt[t.id]=t.type),e})}function Wt(t,e){if(null==t)return Lt;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),i[s]=n,e&&(e[s]=r)}return i}const Gt=Kt;function Jt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Zt(t){return t[It]||null}function Qt(t,e){const i=t[Ot]||null;if(!i&&!0===e)throw new Error(`Type ${it(t)} does not have '\u0275mod' property.`);return i}const Xt=20,te=10;function ee(t){return Array.isArray(t)&&"object"==typeof t[1]}function ie(t){return Array.isArray(t)&&!0===t[1]}function ne(t){return 0!=(8&t.flags)}function se(t){return 2==(2&t.flags)}function re(t){return 1==(1&t.flags)}function oe(t){return null!==t.template}function ae(t,e){return t.hasOwnProperty(jt)?t[jt]:null}class ce{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ue(){return le}function le(t){return t.type.prototype.ngOnChanges&&(t.setInput=de),he}function he(){const t=fe(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===Lt)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function de(t,e,i,n){const s=fe(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Lt,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[i],c=o[a];r[a]=new ce(c&&c.currentValue,e,o===Lt),t[n]=e}function fe(t){return t.__ngSimpleChanges__||null}ue.ngInherit=!0;const pe="http://www.w3.org/2000/svg";let ge;function me(){return void 0!==ge?ge:"undefined"!=typeof document?document:void 0}function _e(t){return!!t.listen}const ye={createRenderer:(t,e)=>me()};function we(t){for(;Array.isArray(t);)t=t[0];return t}function be(t,e){return we(e[t])}function ve(t,e){return we(e[t.index])}function Ae(t,e){return t.data[e]}function ke(t,e){return t[e]}function Te(t,e){const i=e[t];return ee(i)?i:i[0]}function Ce(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Me(t,e){return null==e?null:t[e]}function Ee(t){t[18]=0}function xe(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const Re={lFrame:ei(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function De(){return Re.bindingsEnabled}function Pe(){return Re.lFrame.lView}function Le(){return Re.lFrame.tView}function ze(t){return Re.lFrame.contextLView=t,t[8]}function Ie(){let t=Fe();for(;null!==t&&64===t.type;)t=t.parent;return t}function Fe(){return Re.lFrame.currentTNode}function He(t,e){const i=Re.lFrame;i.currentTNode=t,i.isParent=e}function Oe(){return Re.lFrame.isParent}function Be(){Re.lFrame.isParent=!1}function je(){return Re.isInCheckNoChangesMode}function Ye(t){Re.isInCheckNoChangesMode=t}function Ne(){const t=Re.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ke(){return Re.lFrame.bindingIndex}function Ue(){return Re.lFrame.bindingIndex++}function Ve(t){const e=Re.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function qe(t,e){const i=Re.lFrame;i.bindingIndex=i.bindingRootIndex=t,$e(e)}function $e(t){Re.lFrame.currentDirectiveIndex=t}function We(t){const e=Re.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Ge(){return Re.lFrame.currentQueryIndex}function Je(t){Re.lFrame.currentQueryIndex=t}function Ze(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Qe(t,e,i){if(i&vt.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&vt.Host||(n=Ze(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=Re.lFrame=ti();return n.currentTNode=e,n.lView=t,!0}function Xe(t){const e=ti(),i=t[1];Re.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function ti(){const t=Re.lFrame,e=null===t?null:t.child;return null===e?ei(t):e}function ei(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ii(){const t=Re.lFrame;return Re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ni=ii;function si(){const t=ii();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ri(){return Re.lFrame.selectedIndex}function oi(t){Re.lFrame.selectedIndex=t}function ai(){const t=Re.lFrame;return Ae(t.tView,t.selectedIndex)}function ci(){Re.lFrame.currentNamespace=pe}function ui(){Re.lFrame.currentNamespace=null}function li(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}const mi=-1;class _i{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function yi(t,e,i){const n=_e(t);let s=0;for(;se){o=r-1;break}}}for(;r>16,n=e;for(;i>0;)n=n[15],i--;return n}let Si=!0;function Mi(t){const e=Si;return Si=t,e}let Ei=0;function xi(t,e){const i=Di(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,Ri(n.data,t),Ri(e,null),Ri(n.blueprint,null));const s=Pi(t,e),r=t.injectorIndex;if(ki(s)){const t=Ti(s),i=Ci(s,e),n=i[1].data;for(let s=0;s<8;s++)e[r+s]=i[t+s]|n[t+s]}return e[r+8]=s,r}function Ri(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Di(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Pi(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return mi;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return mi}function Li(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(Yt)&&(n=i[Yt]),null==n&&(n=i[Yt]=Ei++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:Oi:e}(i);if("function"==typeof r){if(!Qe(e,t,n))return n&vt.Host?zi(s,i,n):Ii(e,i,n,s);try{const t=r(n);if(null!=t||n&vt.Optional)return t;ht(i)}finally{ni()}}else if("number"==typeof r){let s=null,o=Di(t,e),a=mi,c=n&vt.Host?e[16][6]:null;for((-1===o||n&vt.SkipSelf)&&(a=-1===o?Pi(t,e):e[o+8],a!==mi&&Ki(n,!1)?(s=e[1],o=Ti(a),e=Ci(a,e)):o=-1);-1!==o;){const t=e[1];if(Ni(r,o,t.data)){const t=Bi(o,e,i,s,n,c);if(t!==Hi)return t}a=e[o+8],a!==mi&&Ki(n,e[1].data[o+8]===c)&&Ni(r,o,e)?(s=t,o=Ti(a),e=Ci(a,e)):o=-1}}}return Ii(e,i,n,s)}const Hi={};function Oi(){return new Ui(Ie(),Pe())}function Bi(t,e,i,n,s,r){const o=e[1],a=o.data[t+8],c=ji(a,o,i,null==n?se(a)&&Si:n!=o&&0!=(3&a.type),s&vt.Host&&r===a);return null!==c?Yi(e,o,c,a):Hi}function ji(t,e,i,n,s){const r=t.providerIndexes,o=e.data,a=1048575&r,c=t.directiveStart,u=r>>20,l=s?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(s){const t=o[c];if(t&&oe(t)&&t.type===i)return c}return null}function Yi(t,e,i,n){let s=t[i];const r=e.data;if(s instanceof _i){const o=s;o.resolving&&function(t,e){throw new ct("200",`Circular dependency in DI detected for ${t}`)}(lt(r[i]));const a=Mi(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?kt(o.injectImpl):null;Qe(t,n,vt.Default);try{s=t[i]=o.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(n){const n=le(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),r&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,r),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,r))}(i,r[i],e)}finally{null!==c&&kt(c),Mi(a),o.resolving=!1,ni()}}return s}function Ni(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[jt]||qi(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[jt]||qi(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function qi(t){return at(t)?()=>{const e=qi(ot(t));return e&&e()}:ae(t)}function $i(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty(Wi)?t[Wi]:Object.defineProperty(t,Wi,{value:[]})[Wi];for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Ji{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=dt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Zi=new Ji("AnalyzeForEntryComponents"),Qi=Function;function Xi(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?tn(t,e):e(t))}function en(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function nn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function sn(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function on(t,e){const i=an(t,e);if(i>=0)return t[1|i]}function an(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),r=t[i<<1];if(e===r)return i<<1;r>e?s=i:n=i+1}return~(s<<1)}(t,e)}const cn={},un=/\n/gm,ln="__source",hn=tt({provide:String,useValue:tt});let dn;function fn(t){const e=dn;return dn=t,e}function pn(t,e=vt.Default){if(void 0===dn)throw new Error("inject() must be called from an injection context");return null===dn?Tt(t,void 0,e):dn.get(t,e&vt.Optional?null:void 0,e)}function gn(t,e=vt.Default){return(At||pn)(ot(t),e)}const mn=gn;function _n(t){const e=[];for(let i=0;i({token:t})),-1),bn=yn(Gi("Optional"),8),vn=yn(Gi("SkipSelf"),4);let An,kn;function Tn(t){var e;return(null===(e=function(){if(void 0===An&&(An=null,Pt.trustedTypes))try{An=Pt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return An}())||void 0===e?void 0:e.createHTML(t))||t}function Cn(t){var e;return(null===(e=function(){if(void 0===kn&&(kn=null,Pt.trustedTypes))try{kn=Pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return kn}())||void 0===e?void 0:e.createHTML(t))||t}class Sn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Mn extends Sn{getTypeName(){return"HTML"}}class En extends Sn{getTypeName(){return"Style"}}class xn extends Sn{getTypeName(){return"Script"}}class Rn extends Sn{getTypeName(){return"URL"}}class Dn extends Sn{getTypeName(){return"ResourceURL"}}function Pn(t){return t instanceof Sn?t.changingThisBreaksApplicationSecurity:t}function Ln(t,e){const i=zn(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function zn(t){return t instanceof Sn&&t.getTypeName()||null}class In{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Tn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Fn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Tn(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Tn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Bn(t.trim())).join(", ")),this.buf.push(" ",e,'="',ts(o),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();qn.hasOwnProperty(e)&&!Nn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(ts(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Qn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xn=/([^\#-~ |!])/g;function ts(t){return t.replace(/&/g,"&").replace(Qn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Xn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let es;function is(t,e){let i=null;try{es=es||function(t){const e=new Fn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Tn(""),"text/html")}catch(t){return!1}}()?new In(e):e}(t);let n=e?String(e):"";i=es.getInertBodyElement(n);let s=5,r=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=r,r=i.innerHTML,i=es.getInertBodyElement(n)}while(n!==r);return Tn((new Zn).sanitizeChildren(ns(i)||i))}finally{if(i){const t=ns(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ns(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ss=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function rs(t){const e=as();return e?Cn(e.sanitize(ss.HTML,t)||""):Ln(t,"HTML")?Cn(Pn(t)):is(me(),ut(t))}function os(t){const e=as();return e?e.sanitize(ss.URL,t)||"":Ln(t,"URL")?Pn(t):Bn(ut(t))}function as(){const t=Pe();return t&&t[12]}function cs(t,e){t.__ngContext__=e}function us(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ls(t){return t.ngDebugContext}function hs(t){return t.ngOriginalError}function ds(t,...e){t.error(...e)}class fs{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||ds}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?ls(t)?ls(t):this._findContext(hs(t)):null}_findOriginalError(t){let e=hs(t);for(;e&&hs(e);)e=hs(e);return e}}const ps=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function gs(t){return t.ownerDocument.defaultView}function ms(t){return t.ownerDocument.body}function _s(t){return t instanceof Function?t():t}var ys=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function ws(t,e){return(void 0)(t,e)}function bs(t){const e=t[3];return ie(e)?e[3]:e}function vs(t){return ks(t[13])}function As(t){return ks(t[4])}function ks(t){for(;null!==t&&!ie(t);)t=t[4];return t}function Ts(t,e,i,n,s){if(null!=n){let r,o=!1;ie(n)?r=n:ee(n)&&(o=!0,n=n[0]);const a=we(n);0===t&&null!==i?null==s?Ps(e,i,a):Ds(e,i,a,s||null,!0):1===t&&null!==i?Ds(e,i,a,s||null,!0):2===t?function(t,e,i){const n=zs(t,e);n&&function(t,e,i,n){_e(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,i,n,s){const r=i[7];r!==we(i)&&Ts(e,t,n,r,s);for(let o=te;o0&&(t[i-1][4]=n[4]);const o=nn(t,te+e);Ns(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function Es(t,e){if(!(256&e[2])){const i=e[11];_e(i)&&i.destroyNode&&Ns(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return xs(t[1],t);for(;e;){let i=null;if(ee(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)ee(e)&&xs(e[1],e),e=e[3];null===e&&(e=t),ee(e)&&xs(e[1],e),i=e&&e[4]}e=i}}(e)}}function xs(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),r+=2}else{const t=n[s=i[r+1]];i[r].call(t)}if(null!==n){for(let t=s+1;tr?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==qs(e,u,0)||2&n&&u!==t){if(Qs(n))return!1;o=!0}}}}else{if(!o&&!Qs(n)&&!Qs(c))return!1;if(o&&Qs(c))continue;o=!1,n=c|1&n}}return Qs(n)||o}function Qs(t){return 0==(1&t)}function Xs(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+o:4&n&&(s+=" "+o);else""===s||Qs(o)||(e+=ir(r,s),s=""),n=o,r=r||!Qs(n);i++}return""!==s&&(e+=ir(r,s)),e}const sr={};function rr(t){or(Le(),Pe(),ri()+t,je())}function or(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&hi(e,n,i)}else{const n=t.preOrderHooks;null!==n&&di(e,n,0,i)}oi(i)}function ar(t,e){return t<<17|e<<2}function cr(t){return t>>17&32767}function ur(t){return 2|t}function lr(t){return(131068&t)>>2}function hr(t,e){return-131069&t|e<<2}function dr(t){return 1|t}function fr(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;nXt&&or(t,e,Xt,je()),i(n,s)}finally{oi(r)}}function vr(t,e,i){if(ne(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=r&&i.push(r),i.push(n,s,o)}}function Dr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Pr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Lr(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&Yr(i)}}function Yr(t){for(let i=vs(t);null!==i;i=As(i))for(let t=te;t0&&Yr(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Yr(n)}}function Nr(t,e){const i=Te(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function Gr(t){return t[7]||(t[7]=[])}function Jr(t){return t.cleanup||(t.cleanup=[])}function Zr(t,e,i){return(null===t||oe(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function Qr(t,e){const i=t[9],n=i?i.get(fs,null):null;n&&n.handleError(e)}function Xr(t,e,i,n,s){for(let r=0;rthis.processProvider(i,t,e)),tn([t],t=>this.processInjectorType(t,[],s)),this.records.set(io,po(void 0,this));const r=this.records.get(so);this.scope=null!=r?r.value:null,this.source=n||("object"==typeof t?null:it(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=cn,i=vt.Default){this.assertNotDestroyed();const n=fn(this);try{if(!(i&vt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Ji)&&pt(t);e=i&&this.injectableDefInScope(i)?po(ho(t),ro):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&vt.Self?co():this.parent).get(t,e=i&vt.Optional&&e===cn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(it(t)),n)throw r;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e[ln]&&s.unshift(e[ln]),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=it(e);if(Array.isArray(e))s=e.map(it).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):it(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(un,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{fn(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(it(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=ot(t)))return!1;let n=mt(t);const s=null==n&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==i.indexOf(r);if(void 0!==s&&(n=mt(s)),null==n)return!1;if(null!=n.imports&&!o){let t;i.push(r);try{tn(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||zt))}}this.injectorDefTypes.add(r);const a=ae(r)||(()=>new r);this.records.set(r,po(a,ro));const c=n.providers;if(null!=c&&!o){const e=t;tn(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=mo(t=ot(t))?t:ot(t&&t.provide);const s=function(t,e,i){return go(t)?po(void 0,t.useValue):po(fo(t),ro)}(t);if(mo(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=po(void 0,ro,!0),e.factory=()=>_n(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===ro&&(e.value=oo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=ot(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function ho(t){const e=pt(t),i=null!==e?e.factory:ae(t);if(null!==i)return i;if(t instanceof Ji)throw new Error(`Token ${it(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=sn(e,"?");throw new Error(`Can't resolve all parameters for ${it(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[_t]||t[wt]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function fo(t,e,i){let n;if(mo(t)){const e=ot(t);return ae(e)||ho(e)}if(go(t))n=()=>ot(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(..._n(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>gn(ot(t.useExisting));else{const e=ot(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ae(e)||ho(e);n=()=>new e(..._n(t.deps))}var s;return n}function po(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function go(t){return null!==t&&"object"==typeof t&&hn in t}function mo(t){return"function"==typeof t}const _o=function(t,e,i){return function(t,e=null,i=null,n){const s=uo(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let yo=(()=>{class t{static create(t,e){return Array.isArray(t)?_o(t,e,""):_o(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=cn,t.NULL=new no,t.\u0275prov=dt({token:t,providedIn:"any",factory:()=>gn(io)}),t.__NG_ELEMENT_ID__=-1,t})();function wo(t,e){li(us(t)[1],Ie())}function bo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(oe(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=vo(t.inputs),e.declaredInputs=vo(t.declaredInputs),e.outputs=vo(t.outputs);const i=s.hostBindings;i&&To(t,i);const r=s.viewQuery,o=s.contentQueries;if(r&&Ao(t,r),o&&ko(t,o),et(t.inputs,s.inputs),et(t.declaredInputs,s.declaredInputs),et(t.outputs,s.outputs),oe(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=vi(s.hostAttrs,i=vi(i,s.hostAttrs))}}(n)}function vo(t){return t===Lt?{}:t===zt?[]:t}function Ao(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function ko(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function To(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let Co=null;function So(){if(!Co){const t=Pt.Symbol;if(t&&t.iterator)Co=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(we(t[n.index])):n.index;if(_e(i)){let o=null;if(!a&&c&&(o=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let r=0;ri?t[i]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,n.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=ta(n,e,0,r,!1);const t=i.listen(f,s,r);l.push(r,t),u&&u.push(s,g,p,p+1)}}else r=ta(n,e,0,r,!0),f.addEventListener(s,r,o),l.push(r),u&&u.push(s,g,p,o)}else r=ta(n,e,0,r,!1);const d=n.outputs;let f;if(h&&null!==d&&(f=d[s])){const t=f.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,Re.lFrame.contextLView))[8]}(t)}function ia(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const ua={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function la(t){return t.substring(ua.key,ua.keyEnd)}function ha(t,e){const i=ua.textEnd;return i===e?-1:(e=ua.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,ua.key=e,i),da(t,e,i))}function da(t,e,i){for(;e=0;i=ha(e,i))rn(t,la(e),!0)}function _a(t,e,i,n){const s=Pe(),r=Le(),o=Ve(2);r.firstUpdatePass&&ba(r,t,o,n),e!==sr&&Do(s,o,e)&&ka(r,r.data[ri()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=it(Pn(t)))),t}(e,i),n,o)}function ya(t,e,i,n){const s=Le(),r=Ve(2);s.firstUpdatePass&&ba(s,null,r,n);const o=Pe();if(i!==sr&&Do(o,r,i)){const a=s.data[ri()];if(Sa(a,n)&&!wa(s,r)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=nt(t,i||"")),Bo(s,a,o,i,n)}else!function(t,e,i,n,s,r,o,a){s===sr&&(s=zt);let c=0,u=0,l=0=t.expandoStartIndex}function ba(t,e,i,n){const s=t.data;if(null===s[i+1]){const r=s[ri()],o=wa(t,i);Sa(r,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){const s=We(t);let r=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Aa(i=va(null,t,e,i,n),e.attrs,n),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(i=va(s,t,e,i,n),null===r){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==lr(n))return t[cr(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=va(null,t,e,i[1],n),i=Aa(i,e.attrs,n),function(t,e,i,n){t[cr(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else r=function(t,e,i){let n;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=cr(t[a+1]);t[n+1]=ar(e,a),0!==e&&(t[e+1]=hr(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=ar(a,0),0!==a&&(t[a+1]=hr(t[a+1],n)),a=n;else t[n+1]=ar(c,0),0===a?a=n:t[c+1]=hr(t[c+1],n),c=n;l&&(t[n+1]=ur(t[n+1])),aa(t,u,n,!0),aa(t,u,n,!1),function(t,e,i,n,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&an(r,e)>=0&&(i[n+1]=dr(i[n+1]))}(e,u,t,n,r),o=ar(a,c),r?e.classBindings=o:e.styleBindings=o}(s,r,e,i,o,n)}}function va(t,e,i,n,s){let r=null;const o=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),c=r?e[1]:e,u=null===c;let l=i[s+1];l===sr&&(l=u?zt:void 0);let h=u?on(l,n):c===n?l:void 0;if(r&&!Ca(h)&&(h=on(e,n)),Ca(h)&&(a=h,o))return a;const d=t[s+1];s=o?cr(d):lr(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=on(t,n))}return a}function Ca(t){return void 0!==t}function Sa(t,e){return 0!=(t.flags&(e?16:32))}function Ma(t,e=""){const i=Pe(),n=Le(),s=t+Xt,r=n.firstCreatePass?gr(n,s,1,e,null):n.data[s],o=i[s]=function(t,e){return _e(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Hs(n,i,o,r),He(r,!1)}function Ea(t){return xa("",t,""),Ea}function xa(t,e,i){const n=Pe(),s=zo(n,t,e,i);return s!==sr&&to(n,ri(),s),xa}function Ra(t,e,i,n,s){const r=Pe(),o=function(t,e,i,n,s,r){const o=Po(t,Ke(),i,s);return Ve(2),o?e+ut(i)+n+ut(s)+r:sr}(r,t,e,i,n,s);return o!==sr&&to(r,ri(),o),Ra}function Da(t,e,i,n,s,r,o,a,c,u,l){const h=Pe(),d=function(t,e,i,n,s,r,o,a,c,u,l,h){const d=Ke();let f=function(t,e,i,n,s,r){const o=Po(t,e,i,n);return Po(t,e+2,s,r)||o}(t,d,i,s,o,c);return f=Do(t,d+4,l)||f,Ve(5),f?e+ut(i)+n+ut(s)+r+ut(o)+a+ut(c)+u+ut(l)+h:sr}(h,t,e,i,n,s,r,o,a,c,u,l);return d!==sr&&to(h,ri(),d),Da}function Pa(t,e,i){ya(rn,ma,zo(Pe(),t,e,i),!0)}function La(t,e,i){const n=Pe();return Do(n,Ue(),e)&&Er(Le(),ai(),n,t,e,n[11],i,!0),La}function za(t,e,i){const n=Pe();if(Do(n,Ue(),e)){const s=Le(),r=ai();Er(s,r,n,t,e,Zr(We(s.data),r,n),i,!0)}return za}const Ia=void 0;var Fa=["en",[["a","p"],["AM","PM"],Ia],[["AM","PM"],Ia,Ia],[["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"]],Ia,[["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"]],Ia,[["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}",Ia,"{1} 'at' {0}",Ia],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ha={};function Oa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=Ba(e);if(i)return i;const n=e.split("-")[0];if(i=Ba(n),i)return i;if("en"===n)return Fa;throw new Error(`Missing locale data for the locale "${t}".`)}function Ba(t){return t in Ha||(Ha[t]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[t]),Ha[t]}var ja=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Ya="en-US";let Na=Ya;function Ka(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(Na=t.toLowerCase().replace(/_/g,"-"))}function Ua(t,e,i,n,s){if(t=ot(t),Array.isArray(t))for(let r=0;r>20;if(mo(t)||!t.multi){const n=new _i(c,s,Ho),f=$a(a,e,s?l:l+d,h);-1===f?(Li(xi(u,o),r,a),Va(r,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(n),o.push(n)):(i[f]=n,o[f]=n)}else{const f=$a(a,e,l+d,h),p=$a(a,e,l,l+d),g=f>=0&&i[f],m=p>=0&&i[p];if(s&&!m||!s&&!g){Li(xi(u,o),r,a);const l=function(t,e,i,n,s){const r=new _i(t,i,Ho);return r.multi=[],r.index=e,r.componentProviders=0,qa(r,s,n&&!i),r}(s?Ga:Wa,i.length,s,n,c);!s&&m&&(i[p].providerFactory=l),Va(r,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),o.push(l)}else Va(r,t,f>-1?f:p,qa(i[s?p:f],c,!s&&n));!s&&n&&m&&i[p].componentProviders++}}}function Va(t,e,i,n){const s=mo(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(i);-1===t?o.push(i,[n,r]):o[t+1].push(n,r)}else o.push(i,r)}}}function qa(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function $a(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=Le();if(n.firstCreatePass){const s=oe(t);Ua(i,n.data,n.blueprint,s,!0),Ua(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class Qa{}class Xa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${it(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let tc=(()=>{class t{}return t.NULL=new Xa,t})();function ec(...t){}function ic(t,e){return new sc(ve(t,e))}const nc=function(){return ic(Ie(),Pe())};let sc=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=nc,t})();function rc(t){return t instanceof sc?t.nativeElement:t}class oc{}let ac=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>cc(),t})();const cc=function(){const t=Pe(),e=Te(Ie().index,t);return function(t){return t[11]}(ee(e)?e:t)};let uc=(()=>{class t{}return t.\u0275prov=dt({token:t,providedIn:"root",factory:()=>null}),t})();class lc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const hc=new lc("12.0.5");class dc{constructor(){}supports(t){return Eo(t)}create(t){return new pc(t)}}const fc=(t,e)=>e;class pc{constructor(t){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=t||fc}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const r=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new gc(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new _c),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _c),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gc{constructor(t,e){this.item=t,this.trackById=e,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 mc{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class _c{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new mc,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function yc(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new vc(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class vc{constructor(t){this.key=t,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 Ac(){return new kc([new dc])}let kc=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ac()),deps:[[t,new vn,new bn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:Ac}),t})();function Tc(){return new Cc([new wc])}let Cc=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Tc()),deps:[[t,new vn,new bn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:Tc}),t})();function Sc(t,e,i,n,s=!1){for(;null!==i;){const r=e[i.index];if(null!==r&&n.push(we(r)),ie(r))for(let t=te;t-1&&(Ms(t,i),nn(e,i))}this._attachedToViewContainer=!1}Es(this._lView[1],this._lView)}onDestroy(t){Sr(this._lView[1],this._lView,null,t)}markForCheck(){Ur(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){Ye(!0);try{Vr(t,e,i)}finally{Ye(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ns(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ec extends Mc{constructor(t){super(t),this._view=t}detectChanges(){qr(this._view)}checkNoChanges(){!function(t){Ye(!0);try{qr(t)}finally{Ye(!1)}}(this._view)}get context(){return null}}const xc=function(t){return function(t,e,i){if(se(t)&&!i){const i=Te(t.index,e);return new Mc(i,i)}return 47&t.type?new Mc(e[16],e):null}(Ie(),Pe(),16==(16&t))};let Rc=(()=>{class t{}return t.__NG_ELEMENT_ID__=xc,t})();const Dc=[new wc],Pc=new kc([new dc]),Lc=new Cc(Dc),zc=function(){return Oc(Ie(),Pe())};let Ic=(()=>{class t{}return t.__NG_ELEMENT_ID__=zc,t})();const Fc=Ic,Hc=class extends Fc{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=pr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),_r(e,i,t),new Mc(i)}};function Oc(t,e){return 4&t.type?new Hc(e,t,ic(t,e)):null}class Bc{}class jc{}const Yc=function(){return $c(Ie(),Pe())};let Nc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Yc,t})();const Kc=Nc,Uc=class extends Kc{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return ic(this._hostTNode,this._hostLView)}get injector(){return new Ui(this._hostTNode,this._hostLView)}get parentInjector(){const t=Pi(this._hostTNode,this._hostLView);if(ki(t)){const e=Ci(t,this._hostLView),i=Ti(t);return new Ui(e[1].data[i+8],e)}return new Ui(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Vc(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const r=i||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Bc,null);t&&(s=t)}const o=t.create(r,n,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const i=t._lView,n=i[1];if(ie(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new Uc(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,i,n){const s=te+n,r=i.length;n>0&&(i[s-1][4]=e),nps});class Qc extends Qa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(nr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Jc(this.componentDef.inputs)}get outputs(){return Jc(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const r=t.get(i,Wc,s);return r!==Wc||n===Wc?r:e.get(i,n,s)}}}(t,n.injector):t,r=s.get(oc,ye),o=s.get(uc,null),a=r.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(_e(t))return t.selectRootElement(e,i===Mt.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Cs(r.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?pe:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:ps,clean:Wr,playerHandler:null,flags:0},d=Cr(0,null,null,1,0,null,null,null,null,null),f=pr(null,d,h,l,null,null,r,a,o,s);let p,g;Xe(f);try{const t=function(t,e,i,n,s,r){const o=i[1];i[20]=t;const a=gr(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(eo(a,c,!0),null!==t&&(yi(s,t,c),null!==a.classes&&Vs(s,t,a.classes),null!==a.styles&&Us(s,t,a.styles)));const u=n.createRenderer(t,e),l=pr(i,Tr(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return o.firstCreatePass&&(Li(xi(a,i),o,e.type),Pr(o,a),zr(a,i.length,1)),Kr(i,l),i[20]=l}(u,this.componentDef,f,r,a);if(u)if(i)yi(a,u,["ng-version",hc.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&Vs(a,u,e.join(" "))}if(g=Ae(d,Xt),void 0!==e){const t=g.projection=[];for(let i=0;it(o,e)),e.contentQueries){const t=Ie();e.contentQueries(1,o,t.directiveStart)}const a=Ie();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(oi(a.index),Rr(i[1],a,0,a.directiveStart,a.directiveEnd,e),Dr(e,o)),o}(t,this.componentDef,f,h,[wo]),_r(d,f,null)}finally{si()}return new Xc(this.componentType,p,ic(g,f),f,g)}}class Xc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ec(n),this.componentType=t}get injector(){return new Ui(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const tu=new Map;class eu extends Bc{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Gc(this);const i=Qt(t),n=t[Bt]||null;n&&Ka(n),this._bootstrapComponents=_s(i.bootstrap),this._r3Injector=uo(t,e,[{provide:Bc,useValue:this},{provide:tc,useValue:this.componentFactoryResolver}],it(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=yo.THROW_IF_NOT_FOUND,i=vt.Default){return t===yo||t===Bc||t===io?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class iu extends jc{constructor(t){super(),this.moduleType=t,null!==Qt(t)&&function(t){const e=new Set;!function t(i){const n=Qt(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${it(e)} vs ${it(e.name)}`)}(s,tu.get(s),i),tu.set(s,i));const r=_s(n.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new eu(this.moduleType,t)}}function nu(t,e,i){const n=Ne()+t,s=Pe();return s[n]===sr?Ro(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function su(t,e,i,n){return au(Pe(),Ne(),t,e,i,n)}function ru(t,e,i,n,s){return cu(Pe(),Ne(),t,e,i,n,s)}function ou(t,e){const i=t[e];return i===sr?void 0:i}function au(t,e,i,n,s,r){const o=e+i;return Do(t,o,s)?Ro(t,o+1,r?n.call(r,s):n(s)):ou(t,o+1)}function cu(t,e,i,n,s,r,o){const a=e+i;return Po(t,a,s,r)?Ro(t,a+2,o?n.call(o,s,r):n(s,r)):ou(t,a+2)}function uu(t,e){const i=Le();let n;const s=t+Xt;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new ct("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const r=n.factory||(n.factory=ae(n.type)),o=kt(Ho);try{const t=Mi(!1),e=r();return Mi(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,Pe(),s,e),e}finally{kt(o)}}function lu(t,e,i){const n=t+Xt,s=Pe(),r=ke(s,n);return pu(s,fu(s,n)?au(s,Ne(),e,r.transform,i,r):r.transform(i))}function hu(t,e,i,n){const s=t+Xt,r=Pe(),o=ke(r,s);return pu(r,fu(r,s)?cu(r,Ne(),e,o.transform,i,n,o):o.transform(i,n))}function du(t,e,i,n,s){const r=t+Xt,o=Pe(),a=ke(o,r);return pu(o,fu(o,r)?function(t,e,i,n,s,r,o,a){const c=e+i;return function(t,e,i,n,s){const r=Po(t,e,i,n);return Do(t,e+2,s)||r}(t,c,s,r,o)?Ro(t,c+3,a?n.call(a,s,r,o):n(s,r,o)):ou(t,c+3)}(o,Ne(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function fu(t,e){return t[1].data[e].pure}function pu(t,e){return Mo.isWrapped(e)&&(e=Mo.unwrap(e),t[Ke()]=sr),e}function gu(t){return e=>{setTimeout(t,void 0,e)}}const mu=class extends k{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,s,r;let o=t,a=e||(()=>null),c=i;if(t&&"object"==typeof t){const e=t;o=null===(n=e.next)||void 0===n?void 0:n.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),c=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(a=gu(a),o&&(o=gu(o)),c&&(c=gu(c)));const u=super.subscribe({next:o,error:a,complete:c});return t instanceof h&&t.add(u),u}};function _u(){return this._results[So()]()}class yu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=So(),i=yu.prototype;i[e]||(i[e]=_u)}get changes(){return this._changes||(this._changes=new mu)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const n=Xi(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(o[t/2]);else{const s=r[t+1],o=e[-i];for(let t=te;t{class t{constructor(t){this.appInits=t,this.resolve=ec,this.reject=ec,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(gn(Fu,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Ou=new Ji("AppId"),Bu={provide:Ou,useFactory:function(){return`${ju()}${ju()}${ju()}`},deps:[]};function ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Yu=new Ji("Platform Initializer"),Nu=new Ji("Platform ID"),Ku=new Ji("appBootstrapListener");let Uu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Vu=new Ji("LocaleId"),qu=new Ji("DefaultCurrencyCode");class $u{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Wu=function(t){return new iu(t)},Gu=Wu,Ju=function(t){return Promise.resolve(Wu(t))},Zu=function(t){const e=Wu(t),i=_s(Qt(t).declarations).reduce((t,e)=>{const i=Zt(e);return i&&t.push(new Qc(i)),t},[]);return new $u(e,i)},Qu=Zu,Xu=function(t){return Promise.resolve(Zu(t))};let tl=(()=>{class t{constructor(){this.compileModuleSync=Gu,this.compileModuleAsync=Ju,this.compileModuleAndAllComponentsSync=Qu,this.compileModuleAndAllComponentsAsync=Xu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const el=(()=>Promise.resolve(0))();function il(t){"undefined"==typeof Zone?el.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class nl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new mu(!1),this.onMicrotaskEmpty=new mu(!1),this.onStable=new mu(!1),this.onError=new mu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=!i&&e,n.shouldCoalesceRunChangeDetection=i,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=Pt.requestAnimationFrame,e=Pt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Pt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ol(t),t.isCheckStableRunning=!0,rl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ol(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,r,o,a)=>{try{return al(t),i.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),cl(t)}},onInvoke:(i,n,s,r,o,a,c)=>{try{return al(t),i.invoke(s,r,o,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),cl(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,ol(t),rl(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!nl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(nl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+n,t,sl,ec,ec);try{return s.runTask(r,e,i)}finally{s.cancelTask(r)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const sl={};function rl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ol(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function al(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function cl(t){t._nesting--,rl(t)}class ul{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new mu,this.onMicrotaskEmpty=new mu,this.onStable=new mu,this.onError=new mu}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let ll=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{nl.assertNotInAngularZone(),il(()=>{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())il(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(gn(nl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),hl=(()=>{class t{constructor(){this._applications=new Map,pl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return pl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class dl{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let fl,pl=new dl,gl=!0,ml=!1;function _l(){return ml=!0,gl}const yl=new Ji("AllowMultipleToken");class wl{constructor(t,e){this.name=t,this.token=e}}function bl(t,e,i=[]){const n=`Platform: ${e}`,s=new Ji(n);return(e=[])=>{let r=vl();if(!r||r.injector.get(yl,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:so,useValue:"platform"});!function(t){if(fl&&!fl.destroyed&&!fl.injector.get(yl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fl=t.get(Al);const e=t.get(Yu,null);e&&e.forEach(t=>t())}(yo.create({providers:t,name:n}))}return function(t){const e=vl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function vl(){return fl&&!fl.destroyed?fl:null}let Al=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new ul:("zone.js"===t?void 0:t)||new nl({enableLongStackTrace:_l(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:nl,useValue:i}];return i.run(()=>{const e=yo.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(fs,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{r.handleError(t)}});s.onDestroy(()=>{Cl(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return $o(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(r,i,()=>{const t=s.injector.get(Hu);return t.runInitializers(),t.donePromise.then(()=>(Ka(s.injector.get(Vu,Ya)||Ya),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=kl({},e);return function(t,e,i){const n=new iu(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(Tl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${it(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(gn(yo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function kl(t,e){return Array.isArray(e)?e.reduce(kl,t):Object.assign(Object.assign({},t),e)}let Tl=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 r=new y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{nl.assertNotInAngularZone(),il(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{nl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=V(r,o.pipe(X()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof Qa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Bc),s=i.create(yo.NULL,[],e||i.selector,n),r=s.location.nativeElement,o=s.injector.get(ll,null),a=o&&s.injector.get(hl);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Cl(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Cl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ku,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(gn(nl),gn(yo),gn(fs),gn(tc),gn(Hu))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function Cl(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Sl{}class Ml{}const El={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let xl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||El}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(3619)(e).then(t=>t[n]).then(t=>Rl(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(3619)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>Rl(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(gn(tl),gn(Ml,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function Rl(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const Dl=bl(null,"core",[{provide:Nu,useValue:"unknown"},{provide:Al,deps:[yo]},{provide:hl,deps:[]},{provide:Uu,deps:[]}]),Pl=[{provide:Tl,useClass:Tl,deps:[nl,yo,fs,tc,Hu]},{provide:Zc,deps:[nl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Hu,useClass:Hu,deps:[[new bn,Fu]]},{provide:tl,useClass:tl,deps:[]},Bu,{provide:kc,useFactory:function(){return Pc},deps:[]},{provide:Cc,useFactory:function(){return Lc},deps:[]},{provide:Vu,useFactory:function(t){return Ka(t=t||"undefined"!=typeof $localize&&$localize.locale||Ya),t},deps:[[new wn(Vu),new bn,new vn]]},{provide:qu,useValue:"USD"}];let Ll=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(gn(Tl))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:Pl}),t})(),zl=null;function Il(){return zl}const Fl=new Ji("DocumentToken");let Hl=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:Ol,token:t,providedIn:"platform"}),t})();function Ol(){return gn(jl)}const Bl=new Ji("Location Initialized");let jl=(()=>{class t extends Hl{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Il().getBaseHref(this._doc)}onPopState(t){const e=Il().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Il().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){Yl()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){Yl()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({factory:Nl,token:t,providedIn:"platform"}),t})();function Yl(){return!!window.history.pushState}function Nl(){return new jl(gn(Fl))}function Kl(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function Ul(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function Vl(t){return t&&"?"!==t[0]?"?"+t:t}let ql=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:$l,token:t,providedIn:"root"}),t})();function $l(t){const e=gn(Fl).location;return new Gl(gn(Hl),e&&e.origin||"")}const Wl=new Ji("appBaseHref");let Gl=(()=>{class t extends ql{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Kl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Vl(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+Vl(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+Vl(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(gn(Hl),gn(Wl,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Jl=(()=>{class t extends ql{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Kl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+Vl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+Vl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(gn(Hl),gn(Wl,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Zl=(()=>{class t{constructor(t,e){this._subject=new mu,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Ul(Xl(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Vl(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Xl(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vl(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vl(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(ql),gn(Hl))},t.normalizeQueryParams=Vl,t.joinWithSlash=Kl,t.stripTrailingSlash=Ul,t.\u0275prov=dt({factory:Ql,token:t,providedIn:"root"}),t})();function Ql(){return new Zl(gn(ql),gn(Hl))}function Xl(t){return t.replace(/\/index.html$/,"")}var th=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),eh=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),ih=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),nh=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),sh=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function rh(t,e){return lh(Oa(t)[ja.DateFormat],e)}function oh(t,e){return lh(Oa(t)[ja.TimeFormat],e)}function ah(t,e){return lh(Oa(t)[ja.DateTimeFormat],e)}function ch(t,e){const i=Oa(t),n=i[ja.NumberSymbols][e];if(void 0===n){if(e===sh.CurrencyDecimal)return i[ja.NumberSymbols][sh.Decimal];if(e===sh.CurrencyGroup)return i[ja.NumberSymbols][sh.Group]}return n}function uh(t){if(!t[ja.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ja.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function lh(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function hh(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const dh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fh={},ph=/((?:[^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 gh=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),mh=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),_h=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function yh(t,e,i,n){let s=function(t){if(Dh(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return wh(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(dh))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,c,u),e}(i)}const e=new Date(t);if(!Dh(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=bh(i,e)||e;let r,o=[];for(;e;){if(r=ph.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=Rh(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(Rh(e,n)-n))}(s,n));let c="";return o.forEach(t=>{const e=function(t){if(xh[t])return xh[t];let e;switch(t){case"G":case"GG":case"GGG":e=Th(_h.Eras,ih.Abbreviated);break;case"GGGG":e=Th(_h.Eras,ih.Wide);break;case"GGGGG":e=Th(_h.Eras,ih.Narrow);break;case"y":e=kh(mh.FullYear,1,0,!1,!0);break;case"yy":e=kh(mh.FullYear,2,0,!0,!0);break;case"yyy":e=kh(mh.FullYear,3,0,!1,!0);break;case"yyyy":e=kh(mh.FullYear,4,0,!1,!0);break;case"Y":e=Eh(1);break;case"YY":e=Eh(2,!0);break;case"YYY":e=Eh(3);break;case"YYYY":e=Eh(4);break;case"M":case"L":e=kh(mh.Month,1,1);break;case"MM":case"LL":e=kh(mh.Month,2,1);break;case"MMM":e=Th(_h.Months,ih.Abbreviated);break;case"MMMM":e=Th(_h.Months,ih.Wide);break;case"MMMMM":e=Th(_h.Months,ih.Narrow);break;case"LLL":e=Th(_h.Months,ih.Abbreviated,eh.Standalone);break;case"LLLL":e=Th(_h.Months,ih.Wide,eh.Standalone);break;case"LLLLL":e=Th(_h.Months,ih.Narrow,eh.Standalone);break;case"w":e=Mh(1);break;case"ww":e=Mh(2);break;case"W":e=Mh(1,!0);break;case"d":e=kh(mh.Date,1);break;case"dd":e=kh(mh.Date,2);break;case"c":case"cc":e=kh(mh.Day,1);break;case"ccc":e=Th(_h.Days,ih.Abbreviated,eh.Standalone);break;case"cccc":e=Th(_h.Days,ih.Wide,eh.Standalone);break;case"ccccc":e=Th(_h.Days,ih.Narrow,eh.Standalone);break;case"cccccc":e=Th(_h.Days,ih.Short,eh.Standalone);break;case"E":case"EE":case"EEE":e=Th(_h.Days,ih.Abbreviated);break;case"EEEE":e=Th(_h.Days,ih.Wide);break;case"EEEEE":e=Th(_h.Days,ih.Narrow);break;case"EEEEEE":e=Th(_h.Days,ih.Short);break;case"a":case"aa":case"aaa":e=Th(_h.DayPeriods,ih.Abbreviated);break;case"aaaa":e=Th(_h.DayPeriods,ih.Wide);break;case"aaaaa":e=Th(_h.DayPeriods,ih.Narrow);break;case"b":case"bb":case"bbb":e=Th(_h.DayPeriods,ih.Abbreviated,eh.Standalone,!0);break;case"bbbb":e=Th(_h.DayPeriods,ih.Wide,eh.Standalone,!0);break;case"bbbbb":e=Th(_h.DayPeriods,ih.Narrow,eh.Standalone,!0);break;case"B":case"BB":case"BBB":e=Th(_h.DayPeriods,ih.Abbreviated,eh.Format,!0);break;case"BBBB":e=Th(_h.DayPeriods,ih.Wide,eh.Format,!0);break;case"BBBBB":e=Th(_h.DayPeriods,ih.Narrow,eh.Format,!0);break;case"h":e=kh(mh.Hours,1,-12);break;case"hh":e=kh(mh.Hours,2,-12);break;case"H":e=kh(mh.Hours,1);break;case"HH":e=kh(mh.Hours,2);break;case"m":e=kh(mh.Minutes,1);break;case"mm":e=kh(mh.Minutes,2);break;case"s":e=kh(mh.Seconds,1);break;case"ss":e=kh(mh.Seconds,2);break;case"S":e=kh(mh.FractionalSeconds,1);break;case"SS":e=kh(mh.FractionalSeconds,2);break;case"SSS":e=kh(mh.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Ch(gh.Short);break;case"ZZZZZ":e=Ch(gh.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Ch(gh.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Ch(gh.Long);break;default:return null}return xh[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function wh(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function bh(t,e){const i=function(t){return Oa(t)[ja.LocaleId]}(t);if(fh[i]=fh[i]||{},fh[i][e])return fh[i][e];let n="";switch(e){case"shortDate":n=rh(t,nh.Short);break;case"mediumDate":n=rh(t,nh.Medium);break;case"longDate":n=rh(t,nh.Long);break;case"fullDate":n=rh(t,nh.Full);break;case"shortTime":n=oh(t,nh.Short);break;case"mediumTime":n=oh(t,nh.Medium);break;case"longTime":n=oh(t,nh.Long);break;case"fullTime":n=oh(t,nh.Full);break;case"short":const e=bh(t,"shortTime"),i=bh(t,"shortDate");n=vh(ah(t,nh.Short),[e,i]);break;case"medium":const s=bh(t,"mediumTime"),r=bh(t,"mediumDate");n=vh(ah(t,nh.Medium),[s,r]);break;case"long":const o=bh(t,"longTime"),a=bh(t,"longDate");n=vh(ah(t,nh.Long),[o,a]);break;case"full":const c=bh(t,"fullTime"),u=bh(t,"fullDate");n=vh(ah(t,nh.Full),[c,u])}return n&&(fh[i][e]=n),n}function vh(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function Ah(t,e,i="-",n,s){let r="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,r=i));let o=String(t);for(;o.length0||a>-i)&&(a+=i),t===mh.Hours)0===a&&-12===i&&(a=12);else if(t===mh.FractionalSeconds)return c=e,Ah(a,3).substr(0,c);var c;const u=ch(o,sh.MinusSign);return Ah(a,e,u,n,s)}}function Th(t,e,i=eh.Format,n=!1){return function(s,r){return function(t,e,i,n,s,r){switch(i){case _h.Months:return function(t,e,i){const n=Oa(t),s=lh([n[ja.MonthsFormat],n[ja.MonthsStandalone]],e);return lh(s,i)}(e,s,n)[t.getMonth()];case _h.Days:return function(t,e,i){const n=Oa(t),s=lh([n[ja.DaysFormat],n[ja.DaysStandalone]],e);return lh(s,i)}(e,s,n)[t.getDay()];case _h.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(r){const t=function(t){const e=Oa(t);return uh(e),(e[ja.ExtraData][2]||[]).map(t=>"string"==typeof t?hh(t):[hh(t[0]),hh(t[1])])}(e),i=function(t,e,i){const n=Oa(t);uh(n);const s=lh([n[ja.ExtraData][0],n[ja.ExtraData][1]],e)||[];return lh(s,i)||[]}(e,s,n),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=o>=e.hours&&a>=e.minutes,s=o0?Math.floor(s/60):Math.ceil(s/60);switch(t){case gh.Short:return(s>=0?"+":"")+Ah(o,2,r)+Ah(Math.abs(s%60),2,r);case gh.ShortGMT:return"GMT"+(s>=0?"+":"")+Ah(o,1,r);case gh.Long:return"GMT"+(s>=0?"+":"")+Ah(o,2,r)+":"+Ah(Math.abs(s%60),2,r);case gh.Extended:return 0===n?"Z":(s>=0?"+":"")+Ah(o,2,r)+":"+Ah(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function Sh(t){return wh(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Mh(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=Sh(i),e=function(t){const e=wh(t,0,1).getDay();return wh(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return Ah(s,t,ch(n,sh.MinusSign))}}function Eh(t,e=!1){return function(i,n){return Ah(Sh(i).getFullYear(),t,ch(n,sh.MinusSign),e)}}const xh={};function Rh(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function Dh(t){return t instanceof Date&&!isNaN(t.valueOf())}class Ph{}let Lh=(()=>{class t extends Ph{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return Oa(t)[ja.PluralCase]}(e||this.locale)(t)){case th.Zero:return"zero";case th.One:return"one";case th.Two:return"two";case th.Few:return"few";case th.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(gn(Vu))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function zh(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let Ih=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Eo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${it(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(kc),Ho(Cc),Ho(sc),Ho(ac))},t.\u0275dir=Gt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Fh{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 Hh=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new Fh(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new Oh(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const r=new Oh(t,s);e.push(r)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(Ic),Ho(kc))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Oh{constructor(t,e){this.record=t,this.view=e}}let Bh=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new jh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Yh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Yh("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class jh{constructor(){this.$implicit=null,this.ngIf=null}}function Yh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${it(e)}'.`)}class Nh{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Kh=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new Nh(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(Ic),Ho(Kh,9))},t.\u0275dir=Gt({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Vh=(()=>{class t{constructor(t,e,i){i._addDefault(new Nh(t,e))}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(Ic),Ho(Kh,9))},t.\u0275dir=Gt({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),qh=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Cc),Ho(ac))},t.\u0275dir=Gt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),$h=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc))},t.\u0275dir=Gt({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ue]}),t})();function Wh(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${it(t)}'`)}class Gh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Jh{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Zh=new Jh,Qh=new Gh;let Xh=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if($o(e))return Zh;if(Wo(e))return Qh;throw Wh(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc,16))},t.\u0275pipe=Jt({name:"async",type:t,pure:!1}),t})(),td=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return yh(e,i,s||this.locale,n)}catch(r){throw Wh(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ho(Vu,16))},t.\u0275pipe=Jt({name:"date",type:t,pure:!0}),t})(),ed=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[{provide:Ph,useClass:Lh}]}),t})(),id=(()=>{class t{}return t.\u0275prov=dt({token:t,providedIn:"root",factory:()=>new nd(gn(Fl),window)}),t})();class nd{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=sd(this.window.history)||sd(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function sd(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class rd{}class od extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new od,zl||(zl=t)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(cd=cd||document.querySelector("base"),cd?cd.getAttribute("href"):null);return null==e?null:function(t){ad=ad||document.createElement("a"),ad.setAttribute("href",t);const e=ad.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){cd=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return zh(document.cookie,t)}}let ad,cd=null;const ud=new Ji("TRANSITION_ID"),ld=[{provide:Fu,useFactory:function(t,e,i){return()=>{i.get(Hu).donePromise.then(()=>{const i=Il();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[ud,Fl,yo],multi:!0}];class hd{static init(){var t;t=new hd,pl=t}addToWindow(t){Pt.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},Pt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pt.getAllAngularRootElements=()=>t.getAllRootElements(),Pt.frameworkStabilizers||(Pt.frameworkStabilizers=[]),Pt.frameworkStabilizers.push(t=>{const e=Pt.getAllAngularTestabilities();let i=e.length,n=!1;const s=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const n=t.getTestability(e);return null!=n?n:i?Il().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let dd=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const fd=new Ji("EventManagerPlugins");let pd=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),_d=(()=>{class t extends md{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(yd),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(yd))}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function yd(t){Il().remove(t)}const wd={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/"},bd=/%COMP%/g;function vd(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let kd=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Td(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Mt.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new Cd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case Mt.ShadowDom:return new Sd(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=vd(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(gn(pd),gn(_d),gn(Ou))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Td{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(wd[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=wd[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=wd[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(ys.DashCase|ys.Important)?t.style.setProperty(e,i,n&ys.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&ys.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Ad(i)):this.eventManager.addEventListener(t,e,Ad(i))}}class Cd extends Td{constructor(t,e,i,n){super(t),this.component=i;const s=vd(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(bd,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(bd,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class Sd extends Td{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=vd(n.id,n.styles,[]);for(let r=0;r{class t extends gd{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Ed=["alt","control","meta","shift"],xd={"\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"},Rd={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"},Dd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Pd=(()=>{class t extends gd{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,n){const s=t.parseEventName(i),r=t.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Il().onAndCancel(e,s.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let r="";if(Ed.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),r+=t+".")}),r+=s,0!=i.length||0===s.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Rd.hasOwnProperty(e)&&(e=Rd[e]))}return xd[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Ed.forEach(n=>{n!=i&&(0,Dd[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Ld=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return gn(Id)},token:t,providedIn:"root"}),t})();function zd(t){return new Id(t.get(Fl))}let Id=(()=>{class t extends Ld{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case ss.NONE:return e;case ss.HTML:return Ln(e,"HTML")?Pn(e):is(this._doc,String(e)).toString();case ss.STYLE:return Ln(e,"Style")?Pn(e):e;case ss.SCRIPT:if(Ln(e,"Script"))return Pn(e);throw new Error("unsafe value used in a script context");case ss.URL:return zn(e),Ln(e,"URL")?Pn(e):Bn(String(e));case ss.RESOURCE_URL:if(Ln(e,"ResourceURL"))return Pn(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new Mn(t)}bypassSecurityTrustStyle(t){return new En(t)}bypassSecurityTrustScript(t){return new xn(t)}bypassSecurityTrustUrl(t){return new Rn(t)}bypassSecurityTrustResourceUrl(t){return new Dn(t)}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({factory:function(){return zd(gn(io))},token:t,providedIn:"root"}),t})();const Fd=bl(Dl,"browser",[{provide:Nu,useValue:"browser"},{provide:Yu,useValue:function(){od.makeCurrent(),hd.init()},multi:!0},{provide:Fl,useFactory:function(){return function(t){ge=t}(document),document},deps:[]}]),Hd=[[],{provide:so,useValue:"root"},{provide:fs,useFactory:function(){return new fs},deps:[]},{provide:fd,useClass:Md,multi:!0,deps:[Fl,nl,Nu]},{provide:fd,useClass:Pd,multi:!0,deps:[Fl]},[],{provide:kd,useClass:kd,deps:[pd,_d,Ou]},{provide:oc,useExisting:kd},{provide:md,useExisting:_d},{provide:_d,useClass:_d,deps:[Fl]},{provide:ll,useClass:ll,deps:[nl]},{provide:pd,useClass:pd,deps:[fd,nl]},{provide:rd,useClass:dd,deps:[]},[]];let Od=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:Ou,useValue:e.appId},{provide:ud,useExisting:Ou},ld]}}}return t.\u0275fac=function(e){return new(e||t)(gn(t,12))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:Hd,imports:[ed,Ll]}),t})();function Bd(...t){let e=t[t.length-1];return C(e)?(t.pop(),O(t,e)):U(t)}function jd(t,e){return j(t,e,1)}function Yd(t,e){return function(i){return i.lift(new Nd(t,e))}}"undefined"!=typeof window&&window;class Nd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Kd(t,this.predicate,this.thisArg))}}class Kd extends p{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class Ud{}class Vd{}class qd{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof qd?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new qd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof qd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class $d{encodeKey(t){return Wd(t)}encodeValue(t){return Wd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Wd(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Gd(t){return`${t}`}class Jd{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new $d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,r]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],o=i.get(s)||[];o.push(r),i.set(s,o)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Jd({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Gd(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(Gd(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Zd{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Qd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Xd(t){return"undefined"!=typeof Blob&&t instanceof Blob}function tf(t){return"undefined"!=typeof FormData&&t instanceof FormData}class ef{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new qd),this.context||(this.context=new Zd),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),u)),new ef(i,n,r,{params:u,headers:c,context:l,reportProgress:a,responseType:s,withCredentials:o})}}var nf=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class sf{constructor(t,e=200,i="OK"){this.headers=t.headers||new qd,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class rf extends sf{constructor(t={}){super(t),this.type=nf.ResponseHeader}clone(t={}){return new rf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class of extends sf{constructor(t={}){super(t),this.type=nf.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new of({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class af extends sf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function cf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let uf=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof ef)n=t;else{let s,r;s=i.headers instanceof qd?i.headers:new qd(i.headers),i.params&&(r=i.params instanceof Jd?i.params:new Jd({fromObject:i.params})),n=new ef(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=Bd(n).pipe(jd(t=>this.handler.handle(t)));if(t instanceof ef||"events"===i.observe)return s;const r=s.pipe(Yd(t=>t instanceof of));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe(I(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(I(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(I(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(I(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Jd).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,cf(i,e))}post(t,e,i={}){return this.request("POST",t,cf(i,e))}put(t,e,i={}){return this.request("PUT",t,cf(i,e))}}return t.\u0275fac=function(e){return new(e||t)(gn(Ud))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class lf{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const hf=new Ji("HTTP_INTERCEPTORS");let df=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const ff=/^\)\]\}',?\n/;let pf=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new qd(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new rf({headers:r,status:e,statusText:n,url:o}),s},o=()=>{let{headers:n,status:s,statusText:o,url:a}=r(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(ff,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new of({body:c,headers:n,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new af({error:c,headers:n,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:n}=r(),s=new af({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const u=n=>{c||(e.next(r()),c=!0);let s={type:nf.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},l=t=>{let i={type:nf.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",o),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:nf.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",o),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",u),null!==n&&i.upload&&i.upload.removeEventListener("progress",l)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(gn(rd))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const gf=new Ji("XSRF_COOKIE_NAME"),mf=new Ji("XSRF_HEADER_NAME");class _f{}let yf=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=zh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl),gn(Nu),gn(gf))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),wf=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(gn(_f),gn(mf))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),bf=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(hf,[]);this.chain=t.reduceRight((t,e)=>new lf(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(gn(Vd),gn(yo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),vf=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:wf,useClass:df}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:gf,useValue:e.cookieName}:[],e.headerName?{provide:mf,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[wf,{provide:hf,useExisting:wf,multi:!0},{provide:_f,useClass:yf},{provide:gf,useValue:"XSRF-TOKEN"},{provide:mf,useValue:"X-XSRF-TOKEN"}]}),t})(),Af=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[uf,{provide:Ud,useClass:bf},pf,{provide:Vd,useExisting:pf}],imports:[[vf.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class kf{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Tf=new Ji("basePath");class Cf{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let Sf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attribute",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attributes[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,n,s,r,o,a,c,u,l,h="body",d=!1){let f=new Jd({encoder:this.encoder});null!=t&&(f=f.set("attributeName",t)),null!=e&&(f=f.set("attributeId",e)),null!=i&&(f=f.set("facility",i)),null!=n&&(f=f.set("user",n)),null!=s&&(f=f.set("vo",s)),null!=r&&(f=f.set("resource",r)),null!=o&&(f=f.set("member",o)),null!=a&&(f=f.set("group",a)),null!=c&&(f=f.set("host",c)),null!=u&&(f=f.set("userExtSource",u)),null!=l&&(f=f.set("key",l));let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(p=p.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:f,withCredentials:this.configuration.withCredentials,headers:p,observe:h,reportProgress:d})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("format",t)),null!=e&&(s=s.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("format",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,n,s,r,o,a,c="body",u=!1){let l=new Jd({encoder:this.encoder});null!=t&&(l=l.set("member",t)),null!=e&&(l=l.set("user",e)),null!=i&&(l=l.set("vo",i)),null!=n&&(l=l.set("group",n)),null!=s&&(l=l.set("resource",s)),null!=r&&(l=l.set("facility",r)),null!=o&&(l=l.set("host",o)),null!=a&&(l=l.set("userExtSource",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+t)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(h=h.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}getEntitylessAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("key",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attrName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("attrName",t)),e&&e.forEach(t=>{s=s.append("keys[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityResourceUserMemberAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("user",i)),null!=n&&(o=o.set("member",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getFacilityUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAndUserAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroupAndUserAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getMemberGroupAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberGroupAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroupAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getMemberResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesFacilityServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesGroupResourceService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesHostService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesMemberGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new Jd({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("group",i)),null!=n&&(a=a.set("member",n)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getRequiredAttributesMemberGroupService(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("member",i)),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRequiredAttributesMemberResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesMemberResourceService(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("member",i)),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesResourceServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesVoService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceGroupAndGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithGroupAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getResourceGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceGroupMemberAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("member",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getUserAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserFacilityAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getUserFacilityAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getUserFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)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==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let c=new Jd({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("user",n)),null!=s&&(c=c.set("member",s)),r&&r.forEach(t=>{c=c.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}removeAttributesForFacilityResourceUserMember(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)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 Jd({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n)),s&&s.forEach(t=>{a=a.append("attributes[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}removeEntitylessAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeGroupResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)}),null!=n&&(o=o.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}removeHostAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeHostAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttributesWorkWithUserAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attributes[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}removeMemberResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeResourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUesAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserExtSourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserFacilityAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeVoAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Mf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}auditMessagesManagerLog(t,e="body",i=!1){if(null==t)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("msg",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/log`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAuditerConsumer(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/createAuditerConsumer`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAuditerConsumers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuditerMessagesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getLastMessageId(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMessages(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("count",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessages`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMessagesByCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("count",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessagesByCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}pollConsumerMessages(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/pollConsumerMessages`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setLastProcessedId(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==e)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t)),null!=e&&(s=s.set("lastProcessedId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/setLastProcessedId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ef=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("role",t)),null!=e&&(r=r.set("complementaryObjectId",e)),null!=i&&(r=r.set("complementaryObjectName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAuthzRichAdmins(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let c=new Jd({encoder:this.encoder});null!=t&&(c=c.set("role",t)),null!=e&&(c=c.set("complementaryObjectId",e)),null!=i&&(c=c.set("complementaryObjectName",i)),n&&n.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=r&&(c=c.set("onlyDirectAdmins",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}getFacilitiesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("groupId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("userId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}isFacilityAdmin(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}createAutorship(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryCat(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryNR(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAuthorship(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==e)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("publicationId",t)),null!=e&&(s=s.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deletePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deletePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findAllAuthors(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}findAuthorsByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findExternalPublications(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==e)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==n)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("yearSince",e)),null!=i&&(o=o.set("yearTill",i)),null!=n&&(o=o.set("pubSysNamespace",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}findNewAuthors(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findPublicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findPublicationsByFilter(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let r=new Jd({encoder:this.encoder});null!=e&&(r=r.set("yearSince",e)),null!=i&&(r=r.set("yearTill",i)),null!=t&&(r=r.set("userId",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}findPublicationsByGUIFilter(t,e,i,n,s,r,o,a,c,u="body",l=!1){let h=new Jd({encoder:this.encoder});null!=t&&(h=h.set("title",t)),null!=e&&(h=h.set("isbn",e)),null!=i&&(h=h.set("doi",i)),null!=n&&(h=h.set("id",n)),null!=s&&(h=h.set("year",s)),null!=r&&(h=h.set("category",r)),null!=o&&(h=h.set("yearSince",o)),null!=a&&(h=h.set("yearTill",a)),null!=c&&(h=h.set("userId",c));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+t)}const f=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==f&&(d=d.set("Accept",f)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:u,reportProgress:l})}findSimilarPublications(t,e,i,n="body",s=!1){let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("title",t)),null!=e&&(r=r.set("doi",e)),null!=i&&(r=r.set("isbn",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getCategories(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPublicationSystems(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRank(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRank.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichThanksByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}lockPublications(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}getCurrentDatabaseVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseDriverInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTimeOfQueryPerformance(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Df=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addExtSourceWithGroupSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addExtSourceWithVoSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createExtSourceFromExtSourceObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createExtSourceWithNameType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==e)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSourceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSources(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGroupExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}loadExtSourcesDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeExtSourceWithGroupSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeExtSourceWithVoSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("source",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Pf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addFacilityAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityAdminGroupByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityAdminUserByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityOwnerByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityOwnerByFacilityNameOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addFacilityOwnerByOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addHost(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addHostByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addHostsByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hostnames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignSecurityTeam(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignSecurityTeamByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyAttributesByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyAttributesBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyAttributesBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyManagers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyManagersByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyManagersBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyManagersBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyOwners(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyOwnersByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyOwnersBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyOwnersBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllowedGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAllowedGroupsByFacilityName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAllowedRichGroupsWithAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("vo",i)),null!=n&&(o=o.set("service",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getAllowedRichGroupsWithAttributesByFacilityName(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("vo",i)),null!=n&&(o=o.set("service",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getAllowedUsersOfFacility(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAllowedUsersOfFacilityByFacilityName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("service",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAllowedVos(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedVosByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesByAssignedServiceForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedSecurityTeams(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedSecurityTeamsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedUsers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedUsersByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getBansForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facilityId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getEnrichedHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilitiesByAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==e)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("attributeName",t)),null!=e&&(s=s.set("attributeValue",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilitiesByDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesByHostName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAdminUsers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityAdminUsersByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityForHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityOwners(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityOwnersByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getHostById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHosts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsCountByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getOwnerFacilities(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("owner",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeBanByUserIdFacilityId(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAdminGroupByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAdminUserByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeFacilityOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityOwnerByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityOwnerByFacilityNameOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityOwnerByOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHost.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeHostByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeHostsByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hosts[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSecurityTeam(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSecurityTeamByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}getFacilityAdminGroupsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}canExtendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createGroupWithParentGroupNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("parentGroup",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}createGroupWithVoNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}deleteGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("forceDelete",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}extendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupMemberById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("members[]",t)}),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupUnions(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("reverseDirection",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRichGroupByIdWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("groupId",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}isGroupMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new Jd({encoder:this.encoder});null!=e&&(s=s.set("destinationGroup",e)),null!=t&&(s=s.set("movingGroup",t));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setGroupsMemberStatus(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("status",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),If=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("members[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let r=new Jd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=e&&(r=r.set("searchString",e)),i&&i.forEach(t=>{r=r.append("allowedStatuses[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}findCompleteRichMembersForGroup(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let c=new Jd({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(t=>{c=c.append("attrsNames[]",t)}),s&&s.forEach(t=>{c=c.append("allowedStatuses[]",t)}),r&&r.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",n));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}findCompleteRichMembersForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)}),n&&n.forEach(t=>{o=o.append("allowedStatuses[]",t)}),null!=i&&(o=o.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}findMembersInVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findSponsoredCompleteRichMembersForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)}),null!=i&&(o=o.set("searchString",i)),null!=n&&(o=o.set("onlySponsored",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getCompleteRichMembersForGroup(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new Jd({encoder:this.encoder});null!=t&&(a=a.set("group",t)),i&&i.forEach(t=>{a=a.append("allowedStatuses[]",t)}),n&&n.forEach(t=>{a=a.append("allowedGroupStatuses[]",t)}),null!=e&&(a=a.set("lookingInParentGroup",e)),s&&s.forEach(t=>{a=a.append("attrsNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getCompleteRichMembersForGroupResource(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attrsNames[]",t)}),n&&n.forEach(t=>{o=o.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getCompleteRichMembersForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extLogin",e)),null!=i&&(r=r.set("extSourceName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)}),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsByMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsByVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extSourceName",e)),null!=i&&(o=o.set("extLogin",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}moveMembership(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("sourceUser",e)),null!=i&&(r=r.set("targetUser",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeSponsor(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendAccountActivationLinkEmail(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("emailAttributeURN",i)),null!=n&&(o=o.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sendPasswordResetLinkEmail(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("emailAttributeURN",i)),null!=n&&(o=o.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("sponsoredMember",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}setStatus(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sponsorMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}updateSponsorshipValidity(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ff=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}createOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("owner",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllOwners(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getOwnerById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getOwnerByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("owner",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Hf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}sentMessageToRTWithMemberQueue(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("memberId",t)),null!=e&&(o=o.set("queue",e)),null!=i&&(o=o.set("subject",i)),null!=n&&(o=o.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sentMessageToRTWithQueue(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("queue",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sentMessageToRTWithVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sentMessageToRTWithVoQueue(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("voId",t)),null!=e&&(o=o.set("queue",e)),null!=i&&(o=o.set("subject",i)),null!=n&&(o=o.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Of=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromGroupToVo(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromVoToGroup(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromVoToVo(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromGroupToGroup(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromGroupToVo(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromVoToGroup(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromVoToVo(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteApplicationMailForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("state[]",t)}),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getApplicationsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getApplicationsForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("state[]",t)}),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("id",t)),null!=e&&(s=s.set("reason",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendInvitation(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let o=new Jd({encoder:this.encoder});null!=i&&(o=o.set("voId",i)),null!=n&&(o=o.set("name",n)),null!=t&&(o=o.set("email",t)),null!=e&&(o=o.set("language",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sendInvitationForGroup(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new Jd({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("groupId",n)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}sendInvitationGroupToExistingUser(t,e,i,n="body",s=!1){let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e)),null!=i&&(r=r.set("groupId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sendInvitationToExistingUser(t,e,i="body",n=!1){let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("userId",t)),null!=e&&(s=s.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Bf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}activateGroupResourceAssignment(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}addAdminToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addAdminToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}allowGroupsToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let r=new Jd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupsToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let r=new Jd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("name",i)),null!=n&&(o=o.set("description",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("tagName",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deactivateGroupResourceAssignment(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAdmins(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("id",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEnrichedResourcesForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEnrichedResourcesForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourcesWhereGroupIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("group",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResourcesWhereUserIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRichAdmins(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("specificAttributes",t)}),null!=i&&(o=o.set("allUserAttributes",i)),null!=n&&(o=o.set("onlyDirectAdmins",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupsFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let s=new Jd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),e&&e.forEach(t=>{s=s.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),jf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addDestination(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling addDestination.");let a=new Jd({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("destination",i)),null!=n&&(a=a.set("type",n)),null!=s&&(a=a.set("propagationType",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}addDestinationToMultipleServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addDestinationsForAllServicesOnFacility(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("destination",e)),null!=i&&(o=o.set("type",i)),null!=n&&(o=o.set("propagationType",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}addRequiredAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addRequiredAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addServiceToServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}blockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}blockAllServicesOnDestinationByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("destination",t)),null!=e&&(s=s.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}blockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}blockServiceOnDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}blockServiceOnDestinationWithNameAndType(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}blockServiceOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("name",t)),null!=e&&(r=r.set("description",e)),null!=i&&(r=r.set("script",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}createServiceWithService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackageByNameAndDescription(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("description",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling deleteService.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceServicePropagation(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllDestinations(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRichDestinationsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichDestinationsForService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getDataWithGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getDataWithVos(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getDestinationsCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAssignedServicesForGUI(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFlatData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getHashedDataWithGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getHashedHierarchicalData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getHierarchicalData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("filterExpiredMembers",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRichDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getServiceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServiceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServices(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getServicesBlockedOnDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesBlockedOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesByAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesFromServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackageById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackageByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackages(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isServiceBlockedOnDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}isServiceBlockedOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}planServicePropagation(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeAllDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeAllRequiredAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeDestination(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("destination",i)),null!=n&&(o=o.set("type",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}removeRequiredAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeRequiredAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeServiceFromServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}unblockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}unblockAllServicesOnDestinationByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("destination",t)),null!=e&&(s=s.set("destinationType",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}unblockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}unblockServiceOnDestinationById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}unblockServiceOnDestinationByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("destinationType",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}unblockServiceOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}updateService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Yf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}countTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}deleteTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllFacilitiesStates(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("voId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityServicesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTask(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getTask.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getTaskById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("taskResult",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResults(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTaskResultsByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("destinations[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForGUIByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForGUIByTaskAndDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("task",t)),null!=e&&(s=s.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getTaskResultsForGUIByTaskOnlyNewest(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isThereSuchTask(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}listAllTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}listAllTasksForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}suspendTasksPropagation(t,e="body",i=!1){if(null==t)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("suspend",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Nf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("password",e)),null!=i&&(r=r.set("lang",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}changePasswordForLogin(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let a=new Jd({encoder:this.encoder});null!=t&&(a=a.set("login",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}changePasswordForUser(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let a=new Jd({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("password",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createAlternativePassword(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("description",e)),null!=i&&(o=o.set("loginNamespace",i)),null!=n&&(o=o.set("password",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("loginNamespace",e)),null!=i&&(r=r.set("passwordId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}deletePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deletePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("searchString",t)),e&&e.forEach(t=>{s=s.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsForResourceWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attrsNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsForMemberByVoAndLogin(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let o=new Jd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extSourceName",e)),null!=i&&(o=o.set("extLogin",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getUserByExtSourceNameAndExtLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("extLogin",t)),null!=e&&(s=s.set("extSourceName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("specificUser",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("loginNamespace",t)),null!=e&&(s=s.set("login",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}loginExist(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserExtSource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("force",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}requestPreferredEmailChange(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let c=new Jd({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("email",e)),null!=i&&(c=c.set("lang",i)),null!=n&&(c=c.set("linkPath",n)),null!=s&&(c=c.set("customUrl",s)),null!=r&&(c=c.set("idpFilter",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}reservePasswordForLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}reservePasswordForUser(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}reserveRandomPassword(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}validatePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}validatePreferredEmailChangeWithToken(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("token",t)),null!=e&&(s=s.set("u",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Kf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Uf=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new qd,this.configuration=new Cf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new kf}addSponsorRoleToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addSponsorRoleToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createVoWithName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findCandidates(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("searchString",e)),null!=i&&(r=r.set("maxNumOfResults",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}findCandidatesForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getCompleteCandidatesForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)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 Jd({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("role",e)),i&&i.forEach(t=>{a=a.append("specificAttributes",t)}),null!=n&&(a=a.set("allUserAttributes",n)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getVoAdminGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAdminUsers(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let r=new Jd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e)),null!=i&&(r=r.set("onlyDirectAdmins",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("shortName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let n=new Jd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSponsorRoleFromUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let s=new Jd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let n=new Jd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Tf,8),gn(Cf,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Vf,qf,$f,Wf;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(Vf||(Vf={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(qf||(qf={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}($f||($f={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(Wf||(Wf={}));let Gf=(()=>{class t{constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)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:t,providers:[{provide:Cf,useFactory:e}]}}}return t.\u0275fac=function(e){return new(e||t)(gn(t,12),gn(uf,8))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[Sf,Mf,Ef,xf,Rf,Df,Pf,Lf,zf,If,Ff,Hf,Of,Bf,jf,Yf,Nf,Kf,Uf],imports:[[]]}),t})();var Jf=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});let Zf=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const r of i)n=n.concat(r.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.PERUNOBSERVER,Jf.FACILITYADMIN,Jf.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Jf.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(Jf.PERUNADMIN,Jf.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(Jf.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Jf.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(Jf.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(Jf.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Jf.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.VOOBSERVER,Jf.PERUNOBSERVER)}isThisVoObserver(t){return this.hasAtLeastOne(Jf.PERUNADMIN,Jf.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],r=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))r="User"===t?[t].concat(r):r.concat(t);break}const o=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,o),c=this.resolveAuthorization(s,o);i.set(n,{readAuth:a,manageAuth:c,modes:r})}}voCustomSort(t){for(let e=0;e{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function rp(...t){return K(1)(Bd(...t))}const op=new y(t=>t.complete());function ap(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):op}function cp(t){return new y(e=>{let i;try{i=t()}catch(n){return void e.error(n)}return(i?B(i):ap()).subscribe(e)})}function up(t,e){return"function"==typeof e?i=>i.pipe(up((i,n)=>B(t(i,n)).pipe(I((t,s)=>e(i,t,n,s))))):e=>e.lift(new lp(t))}class lp{constructor(t){this.project=t}call(t,e){return e.subscribe(new hp(t,this.project))}}class hp extends z{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const s=new S(this,e,i),r=this.destination;r.add(s),this.innerSubscription=L(this,t,void 0,void 0,s),this.innerSubscription!==s&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}const dp=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function fp(t){return e=>0===t?ap():e.lift(new pp(t))}class pp{constructor(t){if(this.total=t,this.total<0)throw new dp}call(t,e){return e.subscribe(new gp(t,this.total))}}class gp extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function mp(...t){const e=t[t.length-1];return C(e)?(t.pop(),i=>rp(t,i,e)):e=>rp(t,e)}function _p(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new yp(t,e,i))}}class yp{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new wp(t,this.accumulator,this.seed,this.hasSeed))}}class wp extends p{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}function bp(t){return function(e){const i=new vp(t),n=e.lift(i);return i.caught=n}}class vp{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Ap(t,this.selector,this.caught))}}class Ap extends z{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new S(this,void 0,void 0);this.add(n);const s=L(this,i,void 0,void 0,n);s!==n&&this.add(s)}}}function kp(t){return function(e){return 0===t?ap():e.lift(new Tp(t))}}class Tp{constructor(t){if(this.total=t,this.total<0)throw new dp}call(t,e){return e.subscribe(new Cp(t,this.total))}}class Cp extends p{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;se.lift(new Mp(t))}class Mp{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Ep(t,this.errorFactory))}}class Ep extends p{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function xp(){return new sp}function Rp(t=null){return e=>e.lift(new Dp(t))}class Dp{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Pp(t,this.defaultValue))}}class Pp extends p{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Lp(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Yd((e,i)=>t(e,i,n)):_,fp(1),i?Rp(e):Sp(()=>new sp))}function zp(){}function Ip(t,e,i){return function(n){return n.lift(new Fp(t,e,i))}}class Fp{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new Hp(t,this.nextOrObserver,this.error,this.complete))}}class Hp extends p{constructor(t,e,i,s){super(t),this._tapNext=zp,this._tapError=zp,this._tapComplete=zp,this._tapError=i||zp,this._tapComplete=s||zp,n(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||zp,this._tapError=e.error||zp,this._tapComplete=e.complete||zp)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Op(t){return e=>e.lift(new Bp(t))}class Bp{constructor(t){this.callback=t}call(t,e){return e.subscribe(new jp(t,this.callback))}}class jp extends p{constructor(t,e){super(t),this.add(new h(e))}}class Yp{constructor(t,e){this.id=t,this.url=e}}class Np extends Yp{constructor(t,e,i="imperative",n=null){super(t,e),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Kp extends Yp{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Up extends Yp{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Vp extends Yp{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class qp extends Yp{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $p extends Yp{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wp extends Yp{constructor(t,e,i,n,s){super(t,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gp extends Yp{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jp extends Yp{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zp{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qp{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xp{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tg{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eg{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ig{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ng{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const sg="primary";class rg{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function og(t){return new rg(t)}function ag(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function cg(t,e,i){const n=i.path.split("/");if(n.length>t.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function hg(t){return Array.prototype.concat.apply([],t)}function dg(t){return t.length>0?t[t.length-1]:null}function fg(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function pg(t){return Go(t)?t:$o(t)?B(Promise.resolve(t)):Bd(t)}const gg={exact:function t(e,i,n){if(!Tg(e.segments,i.segments))return!1;if(!bg(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:yg},mg={exact:function(t,e){return ug(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>lg(t[i],e[i]))},ignored:()=>!0};function _g(t,e,i){return gg[i.paths](t.root,e.root,i.matrixParams)&&mg[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function yg(t,e,i){return wg(t,e,e.segments,i)}function wg(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!Tg(s,i)&&!e.hasChildren()&&!!bg(s,i,n)}if(t.segments.length===i.length){if(!Tg(t.segments,i))return!1;if(!bg(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!yg(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),r=i.slice(t.segments.length);return!!Tg(t.segments,s)&&!!bg(t.segments,s,n)&&!!t.children.primary&&wg(t.children.primary,e,r,n)}}function bg(t,e,i){return e.every((e,n)=>mg[i](t[n].parameters,e.parameters))}class vg{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=og(this.queryParams)),this._queryParamMap}toString(){return Mg.serialize(this)}}class Ag{constructor(t,e){this.segments=t,this.children=e,this.parent=null,fg(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Eg(this)}}class kg{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=og(this.parameters)),this._parameterMap}toString(){return Ig(this)}}function Tg(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class Cg{}class Sg{parse(t){const e=new jg(t);return new vg(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${xg(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Dg(e)}=${Dg(t)}`).join("&"):`${Dg(e)}=${Dg(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Mg=new Sg;function Eg(t){return t.segments.map(t=>Ig(t)).join("/")}function xg(t,e){if(!t.hasChildren())return Eg(t);if(e){const e=t.children.primary?xg(t.children.primary,!1):"",i=[];return fg(t.children,(t,e)=>{e!==sg&&i.push(`${e}:${xg(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return fg(t.children,(t,n)=>{n===sg&&(i=i.concat(e(t,n)))}),fg(t.children,(t,n)=>{n!==sg&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>i===sg?[xg(t.children.primary,!1)]:[`${i}:${xg(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Eg(t)}/${e[0]}`:`${Eg(t)}/(${e.join("//")})`}}function Rg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dg(t){return Rg(t).replace(/%3B/gi,";")}function Pg(t){return Rg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Lg(t){return decodeURIComponent(t)}function zg(t){return Lg(t.replace(/\+/g,"%20"))}function Ig(t){return`${Pg(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Pg(t)}=${Pg(e[t])}`).join("")}`;var e}const Fg=/^[^\/()?;=#]+/;function Hg(t){const e=t.match(Fg);return e?e[0]:""}const Og=/^[^=?&#]+/,Bg=/^[^?&#]+/;class jg{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ag([],{}):new Ag([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new Ag(t,e)),i}parseSegment(){const t=Hg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new kg(Lg(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Hg(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Hg(this.remaining);t&&(i=t,this.capture(i))}t[Lg(e)]=Lg(i)}parseQueryParam(t){const e=function(t){const e=t.match(Og);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Bg);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=zg(e),s=zg(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Hg(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=sg);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new Ag([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Yg{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Ng(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Ng(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Kg(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Kg(t,this._root).map(t=>t.value)}}function Ng(t,e){if(t===e.value)return e;for(const i of e.children){const e=Ng(t,i);if(e)return e}return null}function Kg(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Kg(t,i);if(n.length)return n.unshift(e),n}return[]}class Ug{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Vg(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class qg extends Yg{constructor(t,e){super(t),this.snapshot=e,Qg(this,t)}toString(){return this.snapshot.toString()}}function $g(t,e){const i=function(t,e){const i=new Jg([],{},{},"",{},sg,e,null,t.root,-1,{});return new Zg("",new Ug(i,[]))}(t,e),n=new Xf([new kg("",{})]),s=new Xf({}),r=new Xf({}),o=new Xf({}),a=new Xf(""),c=new Wg(n,s,o,a,r,sg,e,i.root);return c.snapshot=i.root,new qg(new Ug(c,[]),i)}class Wg{constructor(t,e,i,n,s,r,o,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}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(I(t=>og(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(I(t=>og(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Gg(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class Jg{constructor(t,e,i,n,s,r,o,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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=og(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=og(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zg extends Yg{constructor(t,e){super(e),this.url=t,Qg(this,e)}toString(){return Xg(this._root)}}function Qg(t,e){e.value._routerState=t,e.children.forEach(e=>Qg(t,e))}function Xg(t){const e=t.children.length>0?` { ${t.children.map(Xg).join(", ")} } `:"";return`${t.value}${e}`}function tm(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,ug(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),ug(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;iug(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||em(t.parent,e.parent))}function im(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return im(t,e,n);return im(t,e)})}(t,e,i);return new Ug(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return nm(e,t),t}}const i=new Wg(new Xf((n=e.value).url),new Xf(n.params),new Xf(n.queryParams),new Xf(n.fragment),new Xf(n.data),n.outlet,n.component,n),s=e.children.map(e=>im(t,e));return new Ug(i,s)}var n}function nm(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new vg(i.root===t?e:am(i.root,t,e),r,s)}function am(t,e,i){const n={};return fg(t.children,(t,s)=>{n[s]=t===e?i:am(t,e,i)}),new Ag(t.segments,n)}class cm{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&sm(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(rm);if(n&&n!==dg(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class um{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function lm(t,e,i){if(t||(t=new Ag([],{})),0===t.segments.length&&t.hasChildren())return hm(t,e,i);const n=function(t,e,i){let n=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return r;const e=t.segments[s],o=i[n];if(rm(o))break;const a=`${o}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!gm(a,c,e))return r;n+=2}else{if(!gm(a,{},e))return r;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=lm(t.children[n],e,i))}),fg(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new Ag(t.segments,s)}}function dm(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=dm(new Ag([],{}),0,t))}),e}function pm(t){const e={};return fg(t,(t,i)=>e[i]=`${t}`),e}function gm(t,e,i){return t==i.path&&ug(e,i.parameters)}class mm{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),tm(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Vg(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),fg(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=Vg(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=Vg(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new ig(t.value.snapshot))}),t.children.length&&this.forwardEvent(new tg(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(tm(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),_m(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function _m(t){tm(t.value),t.children.forEach(_m)}class ym{constructor(t,e){this.routes=t,this.module=e}}function wm(t){return"function"==typeof t}function bm(t){return t instanceof vg}const vm=Symbol("INITIAL_VALUE");function Am(){return up(t=>ep(t.map(t=>t.pipe(fp(1),mp(vm)))).pipe(_p((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==vm)return t;if(n===vm&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||bm(n))return n}return t},t)},vm),Yd(t=>t!==vm),I(t=>bm(t)?t:!0===t),fp(1)))}let km=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:function(){return[b_]},encapsulation:2}),t})();function Tm(t,e=""){for(let i=0;iEm(t)===e);return i.push(...t.filter(t=>Em(t)!==e)),i}const Rm={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Dm(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},Rm):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||cg)(i,t,e);if(!s)return Object.assign({},Rm);const r={};fg(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function Pm(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>Lm(t,e,i)&&Em(i)!==sg)}(t,i,n)){const s=new Ag(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const r of i)if(""===r.path&&Em(r)!==sg){const i=new Ag([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[Em(r)]=i}return s}(t,e,n,new Ag(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>Lm(t,e,i))}(t,i,n)){const r=new Ag(t.segments,function(t,e,i,n,s,r){const o={};for(const a of n)if(Lm(t,i,a)&&!s[Em(a)]){const i=new Ag([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Em(a)]=i}return Object.assign(Object.assign({},s),o)}(t,e,i,n,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:i}}const r=new Ag(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:i}}function Lm(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function zm(t,e,i,n){return!!(Em(t)===n||n!==sg&&Lm(e,i,t))&&("**"===t.path||Dm(e,t,i).matched)}function Im(t,e,i){return 0===e.length&&!t.children[i]}class Fm{constructor(t){this.segmentGroup=t||null}}class Hm{constructor(t){this.urlTree=t}}function Om(t){return new y(e=>e.error(new Fm(t)))}function Bm(t){return new y(e=>e.error(new Hm(t)))}function jm(t){return new y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ym{constructor(t,e,i,n,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Bc)}apply(){const t=Pm(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ag(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,sg).pipe(I(t=>this.createUrlTree(Nm(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(bp(t=>{if(t instanceof Hm)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Fm)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,sg).pipe(I(e=>this.createUrlTree(Nm(e),t.queryParams,t.fragment))).pipe(bp(t=>{if(t instanceof Fm)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new Ag([],{[sg]:t}):t;return new vg(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(I(t=>new Ag([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return B(n).pipe(jd(n=>{const s=i.children[n],r=xm(e,n);return this.expandSegmentGroup(t,r,s,n).pipe(I(t=>({segment:t,outlet:n})))}),_p((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Yd((e,i)=>t(e,i,n)):_,kp(1),i?Rp(e):Sp(()=>new sp))}())}expandSegment(t,e,i,n,s,r){return B(i).pipe(jd(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,s,r).pipe(bp(t=>{if(t instanceof Fm)return Bd(null);throw t}))),Lp(t=>!!t),bp((t,i)=>{if(t instanceof sp||"EmptyError"===t.name){if(Im(e,n,s))return Bd(new Ag([],{}));throw new Fm(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,r,o){return zm(n,e,s,r)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r):Om(e):Om(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Bm(s):this.lineralizeSegments(i,s).pipe(j(i=>{const s=new Ag(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:u}=Dm(e,n,s);if(!o)return Om(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?Bm(l):this.lineralizeSegments(n,l).pipe(j(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),r,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?Bd(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe(I(t=>(i._loadedConfig=t,new Ag(n,{})))):Bd(new Ag(n,{}));const{matched:r,consumedSegments:o,lastChild:a}=Dm(e,i,n);if(!r)return Om(e);const c=n.slice(a);return this.getChildConfig(t,i,n).pipe(j(t=>{const n=t.module,r=t.routes,{segmentGroup:a,slicedSegments:u}=Pm(e,o,c,r),l=new Ag(a.segments,a.children);if(0===u.length&&l.hasChildren())return this.expandChildren(n,r,l).pipe(I(t=>new Ag(o,t)));if(0===r.length&&0===u.length)return Bd(new Ag(o,{}));const h=Em(i)===s;return this.expandSegment(n,l,r,u,h?sg:s,!0).pipe(I(t=>new Ag(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?Bd(new ym(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Bd(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(j(i=>i?this.configLoader.load(t.injector,e).pipe(I(t=>(e._loadedConfig=t,t))):function(t){return new y(e=>e.error(ag(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Bd(new ym([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;return n&&0!==n.length?Bd(n.map(n=>{const s=t.get(n);let r;if(function(t){return t&&wm(t.canLoad)}(s))r=s.canLoad(e,i);else{if(!wm(s))throw new Error("Invalid CanLoad guard");r=s(e,i)}return pg(r)})).pipe(Am(),Ip(t=>{if(!bm(t))return;const e=ag(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),I(t=>!0===t)):Bd(!0)}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Bd(i);if(n.numberOfChildren>1||!n.children.primary)return jm(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new vg(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return fg(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let r={};return fg(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,i,n)}),new Ag(s,r)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function Nm(t){const e={};for(const i of Object.keys(t.children)){const n=Nm(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Ag(t.segments.concat(e.segments),e.children)}return t}(new Ag(t.segments,e))}class Km{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Um{constructor(t,e){this.component=t,this.route=e}}function Vm(t,e,i){const n=t._root;return $m(n,e?e._root:null,i,[n.value])}function qm(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function $m(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Vg(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Tg(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Tg(t.url,e.url)||!ug(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!em(t,e)||!ug(t.queryParams,e.queryParams);case"paramsChange":default:return!em(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Km(n)):(r.data=o.data,r._resolvedData=o._resolvedData),$m(t,e,r.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Um(a.outlet.component,o))}else o&&Wm(e,a,s),s.canActivateChecks.push(new Km(n)),$m(t,null,r.component?a?a.children:null:i,n,s)}(t,r[t.value.outlet],i,n.concat([t.value]),s),delete r[t.value.outlet]}),fg(r,(t,e)=>Wm(t,i.getContext(e),s)),s}function Wm(t,e,i){const n=Vg(t),s=t.value;fg(n,(t,n)=>{Wm(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Um(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Gm{}function Jm(t){return new y(e=>e.error(t))}class Zm{constructor(t,e,i,n,s,r){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Pm(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,sg);if(null===e)return null;const i=new Jg([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},sg,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Ug(i,e),s=new Zg(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=Gg(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],r=xm(t,s),o=this.processSegmentGroup(r,n,s);if(null===o)return null;i.push(...o)}const n=Xm(i);return n.sort((t,e)=>t.value.outlet===sg?-1:e.value.outlet===sg?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return Im(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!zm(t,e,i,n))return null;let s,r=[],o=[];if("**"===t.path){const n=i.length>0?dg(i).parameters:{};s=new Jg(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,i_(t),Em(t),t.component,t,t_(e),e_(e)+i.length,n_(t))}else{const n=Dm(e,t,i);if(!n.matched)return null;r=n.consumedSegments,o=i.slice(n.lastChild),s=new Jg(r,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,i_(t),Em(t),t.component,t,t_(e),e_(e)+r.length,n_(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=Pm(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new Ug(s,t)]}if(0===a.length&&0===u.length)return[new Ug(s,[])];const l=Em(t)===n,h=this.processSegment(a,c,u,l?sg:n);return null===h?null:[new Ug(s,h)]}}function Qm(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Xm(t){const e=[],i=new Set;for(const n of t){if(!Qm(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=Xm(n.children);e.push(new Ug(n.value,t))}return e.filter(t=>!i.has(t))}function t_(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function e_(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function i_(t){return t.data||{}}function n_(t){return t.resolve||{}}function s_(t){return up(e=>{const i=t(e);return i?B(i).pipe(I(()=>e)):Bd(e)})}class r_ extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const o_=new Ji("ROUTES");class a_{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe(I(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new ym(hg(n.injector.get(o_,void 0,vt.Self|vt.Optional)).map(Mm),n)}),bp(t=>{throw e._loader$=void 0,t}));return e._loader$=new G(i,()=>new k).pipe(q()),e._loader$}loadModuleFactory(t){return"string"==typeof t?B(this.loader.load(t)):pg(t()).pipe(j(t=>t instanceof jc?Bd(t):B(this.compiler.compileModuleAsync(t))))}}class c_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new u_,this.attachRef=null}}class u_{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new c_,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class l_{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function h_(t){throw t}function d_(t,e,i){return e.parse("/")}function f_(t,e){return Bd(null)}const p_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},g_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let m_=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=h_,this.malformedUriErrorHandler=d_,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:f_,afterPreactivation:f_},this.urlHandlingStrategy=new l_,this.routeReuseStrategy=new r_,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Bc),this.console=s.get(Uu);const c=s.get(nl);this.isNgZoneEnabled=c instanceof nl&&nl.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new vg(new Ag([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new a_(r,o,t=>this.triggerEvent(new Zp(t)),t=>this.triggerEvent(new Qp(t))),this.routerState=$g(this.currentUrlTree,this.rootComponentType),this.transitions=new Xf({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()}setupNavigations(t){const e=this.events;return t.pipe(Yd(t=>0!==t.id),I(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),up(t=>{let i=!1,n=!1;return Bd(t).pipe(Ip(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),up(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Bd(t).pipe(up(t=>{const i=this.transitions.getValue();return e.next(new Np(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?op:Promise.resolve(t)}),function(t,e,i,n){return up(s=>function(t,e,i,n,s){return new Ym(t,e,i,n,s).apply()}(t,e,i,s.extractedUrl,n).pipe(I(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ip(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return j(r=>function(t,e,i,n,s="emptyOnly",r="legacy"){try{const o=new Zm(t,e,i,n,s,r).recognize();return null===o?Jm(new Gm):Bd(o)}catch(o){return Jm(o)}}(t,e,r.urlAfterRedirects,i(r.urlAfterRedirects),n,s).pipe(I(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ip(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new qp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:r,extras:o}=t,a=new Np(i,this.serializeUrl(n),s,r);e.next(a);const c=$g(n,this.rootComponentType).snapshot;return Bd(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),op}),s_(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Ip(t=>{const e=new $p(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),I(t=>Object.assign(Object.assign({},t),{guards:Vm(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return j(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return 0===o.length&&0===r.length?Bd(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return B(t).pipe(j(t=>function(t,e,i,n,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?Bd(r.map(r=>{const o=qm(r,e,s);let a;if(function(t){return t&&wm(t.canDeactivate)}(o))a=pg(o.canDeactivate(t,e,i,n));else{if(!wm(o))throw new Error("Invalid CanDeactivate guard");a=pg(o(t,e,i,n))}return a.pipe(Lp())})).pipe(Am()):Bd(!0)}(t.component,t.route,i,e,n)),Lp(t=>!0!==t,!0))}(o,n,s,t).pipe(j(i=>i&&"boolean"==typeof i?function(t,e,i,n){return B(e).pipe(jd(e=>rp(function(t,e){return null!==t&&e&&e(new Xp(t)),Bd(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new eg(t)),Bd(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>cp(()=>Bd(e.guards.map(s=>{const r=qm(s,e.node,i);let o;if(function(t){return t&&wm(t.canActivateChild)}(r))o=pg(r.canActivateChild(n,t));else{if(!wm(r))throw new Error("Invalid CanActivateChild guard");o=pg(r(n,t))}return o.pipe(Lp())})).pipe(Am())));return Bd(s).pipe(Am())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?Bd(n.map(n=>cp(()=>{const s=qm(n,e,i);let r;if(function(t){return t&&wm(t.canActivate)}(s))r=pg(s.canActivate(e,t));else{if(!wm(s))throw new Error("Invalid CanActivate guard");r=pg(s(e,t))}return r.pipe(Lp())}))).pipe(Am()):Bd(!0)}(t,e.route,i))),Lp(t=>!0!==t,!0))}(n,r,t,e):Bd(i)),I(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Ip(t=>{if(bm(t.guardsResult)){const e=ag(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Wp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Yd(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),s_(t=>{if(t.guards.canActivateChecks.length)return Bd(t).pipe(Ip(t=>{const e=new Gp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),up(t=>{let e=!1;return Bd(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,j(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return Bd(t);let r=0;return B(s).pipe(jd(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return Bd({});const r={};return B(s).pipe(j(s=>function(t,e,i,n){const s=qm(t,e,n);return pg(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe(Ip(t=>{r[s]=t}))),kp(1),j(()=>Object.keys(r).length===s.length?Bd(r):op))}(t._resolve,t,e,n).pipe(I(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Gg(t,i).resolve),null)))}(t.route,e,i,n)),Ip(()=>r++),kp(1),j(e=>r===s.length?Bd(t):op))})),Ip({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),Ip(t=>{const e=new Jp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),s_(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),I(t=>{const e=function(t,e,i){const n=im(t,e._root,i?i._root:void 0);return new qg(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Ip(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,r=this.routeReuseStrategy,o=t=>this.triggerEvent(t),I(t=>(new mm(r,t.targetRouterState,t.currentRouterState,o).activate(s),t))),Ip({next(){i=!0},complete(){i=!0}}),Op(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),bp(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=bm(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Up(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new Vp(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(r){t.reject(r)}}var s;return op}));var s,r,o}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Tm(t),this.config=t.map(Mm),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=i||this.routerState.root,c=o?this.currentUrlTree.fragment:s;let u=null;switch(r){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,i,n,s){if(0===i.length)return om(e.root,e.root,e,n,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new cm(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return fg(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new cm(i,e,n)}(i);if(r.toRoot())return om(e.root,new Ag([],{}),e,n,s);const o=function(t,e,i){if(t.isAbsolute)return new um(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new um(t,t===e.root,0)}const n=sm(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,r=i;for(;r>s;){if(r-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new um(n,!1,s-r)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?hm(o.segmentGroup,o.index,r.commands):lm(o.segmentGroup,o.index,r.commands);return om(o.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,u,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=bm(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Kp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let c,u,l;s?(c=s.resolve,u=s.reject,l=s.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new Up(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(gn(Qi),gn(Cg),gn(u_),gn(Zl),gn(yo),gn(Sl),gn(tl),gn(void 0))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),__=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new k,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:w_(this.skipLocationChange),replaceUrl:w_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:w_(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(m_),Ho(Wg),$i("tabindex"),Ho(ac),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Jo("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ue]}),t})(),y_=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new k,this.subscription=t.events.subscribe(t=>{t instanceof Kp&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:w_(this.skipLocationChange),replaceUrl:w_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:w_(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(m_),Ho(Wg),Ho(ql))},t.\u0275dir=Gt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Jo("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(La("href",e.href,os),Lo("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ue]}),t})();function w_(t){return""===t||!!t}let b_=(()=>{class t{constructor(t,e,i,n,s){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new mu,this.deactivateEvents=new mu,this.name=n||sg,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new v_(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Ho(u_),Ho(Nc),Ho(tc),$i("name"),Ho(Rc))},t.\u0275dir=Gt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class v_{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Wg?this.route:t===u_?this.childContexts:this.parent.get(t,e)}}class A_{}class k_{preload(t,e){return Bd(null)}}let T_=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new a_(e,i,e=>t.triggerEvent(new Zp(e)),e=>t.triggerEvent(new Qp(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Yd(t=>t instanceof Kp),jd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Bc);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return B(i).pipe(K(),I(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Bd(e._loadedConfig):this.loader.load(t.injector,e)).pipe(j(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(gn(m_),gn(Sl),gn(tl),gn(yo),gn(A_))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),C_=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof Np?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Kp&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ng&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ng(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(gn(m_),gn(id),gn(void 0))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const S_=new Ji("ROUTER_CONFIGURATION"),M_=new Ji("ROUTER_FORROOT_GUARD"),E_=[Zl,{provide:Cg,useClass:Sg},{provide:m_,useFactory:function(t,e,i,n,s,r,o,a={},c,u){const l=new m_(null,t,e,i,n,s,r,hg(o));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,l),a.enableTracing&&l.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[Cg,u_,Zl,yo,Sl,tl,o_,S_,[class{},new bn],[class{},new bn]]},u_,{provide:Wg,useFactory:function(t){return t.routerState.root},deps:[m_]},{provide:Sl,useClass:xl},T_,k_,class{preload(t,e){return e().pipe(bp(()=>Bd(null)))}},{provide:S_,useValue:{enableTracing:!1}}];function x_(){return new wl("Router",m_)}let R_=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[E_,z_(e),{provide:M_,useFactory:L_,deps:[[m_,new bn,new vn]]},{provide:S_,useValue:i||{}},{provide:ql,useFactory:P_,deps:[Hl,[new wn(Wl),new bn],S_]},{provide:C_,useFactory:D_,deps:[m_,id,S_]},{provide:A_,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:k_},{provide:wl,multi:!0,useFactory:x_},[I_,{provide:Fu,multi:!0,useFactory:F_,deps:[I_]},{provide:O_,useFactory:H_,deps:[I_]},{provide:Ku,multi:!0,useExisting:O_}]]}}static forChild(e){return{ngModule:t,providers:[z_(e)]}}}return t.\u0275fac=function(e){return new(e||t)(gn(M_,8),gn(m_,8))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();function D_(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new C_(t,e,i)}function P_(t,e,i={}){return i.useHash?new Jl(t,e):new Gl(t,e)}function L_(t){return"guarded"}function z_(t){return[{provide:Zi,multi:!0,useValue:t},{provide:o_,multi:!0,useValue:t}]}let I_=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(Bl,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(m_),n=this.injector.get(S_);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?Bd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(S_),i=this.injector.get(T_),n=this.injector.get(C_),s=this.injector.get(m_),r=this.injector.get(Tl);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),i.setUpPreloading(),n.init(),s.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(gn(yo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function F_(t){return t.appInitializer.bind(t)}function H_(t){return t.bootstrapListener.bind(t)}const O_=new Ji("Router Initializer"),B_=13,j_=27,Y_=32,N_=37,K_=38,U_=39,V_=40;function q_(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class $_ extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class W_ extends $_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let G_=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class J_ extends G_{constructor(t,e=G_.now){super(t,()=>J_.delegate&&J_.delegate!==this?J_.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return J_.delegate&&J_.delegate!==this?J_.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Z_=new J_(W_);function Q_(t,e=Z_){return i=>i.lift(new X_(t,e))}class X_{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new ty(t,this.dueTime,this.scheduler))}}class ty extends p{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ey,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function ey(t){t.debouncedNext()}function iy(t){return null!=t&&"false"!=`${t}`}function ny(t,e=0){return sy(t)?Number(t):e}function sy(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ry(t){return Array.isArray(t)?t:[t]}function oy(t){return null==t?"":"string"==typeof t?t:`${t}px`}function ay(t){return t instanceof sc?t.nativeElement:t}let cy;try{cy="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(tU){cy=!1}let uy,ly=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===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&&!cy)&&"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 t.\u0275fac=function(e){return new(e||t)(gn(Nu))},t.\u0275prov=dt({factory:function(){return new t(gn(Nu))},token:t,providedIn:"root"}),t})(),hy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();const dy=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function fy(){if(uy)return uy;if("object"!=typeof document||!document)return uy=new Set(dy),uy;let t=document.createElement("input");return uy=new Set(dy.filter(e=>(t.setAttribute("type",e),t.type===e))),uy}let py,gy,my,_y;function yy(t){return function(){if(null==py&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>py=!0}))}finally{py=py||!1}return py}()?t:!!t.capture}function wy(){if(null==my){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return my=!1,my;if("scrollBehavior"in document.documentElement.style)my=!0;else{const t=Element.prototype.scrollTo;my=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return my}function by(){if("object"!=typeof document||!document)return 0;if(null==gy){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),gy=0,0===t.scrollLeft&&(t.scrollLeft=1,gy=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return gy}function vy(t){if(function(){if(null==_y){const t="undefined"!=typeof document?document.head:null;_y=!(!t||!t.createShadowRoot&&!t.attachShadow)}return _y}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Ay(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}let ky=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Ty=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=ay(t);return new y(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new k,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(gn(ky))},t.\u0275prov=dt({factory:function(){return new t(gn(ky))},token:t,providedIn:"root"}),t})(),Cy=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new mu,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=iy(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=ny(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Q_(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ty),Ho(sc),Ho(nl))},t.\u0275dir=Gt({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Sy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[ky]}),t})();function My(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const Ey="cdk-describedby-message-container",xy="cdk-describedby-host";let Ry=0;const Dy=new Map;let Py=null,Ly=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=zy(e,i);"string"!=typeof e?(Iy(e),Dy.set(n,{messageElement:e,referenceCount:0})):Dy.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=zy(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=Dy.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}Py&&0===Py.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=Dy.get(e);!function(t,e,i){const n=My(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute(xy,""),i.referenceCount++}_removeMessageReference(t,e){const i=Dy.get(e);i.referenceCount--,function(t,e,i){const n=My(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute(xy)}_isElementDescribedByMessage(t,e){const i=My(t,"aria-describedby"),n=Dy.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(Fl))},token:t,providedIn:"root"}),t})();function zy(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function Iy(t){t.id||(t.id="cdk-describedby-message-"+Ry++)}class Fy{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=h.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,t instanceof yu&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ip(t=>this._pressedLetters.push(t)),Q_(t),Yd(()=>this._pressedLetters.length>0),I(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case V_:if(this._vertical&&i){this.setNextItemActive();break}return;case K_:if(this._vertical&&i){this.setPreviousItemActive();break}return;case U_:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case N_:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||q_(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof yu?this._items.toArray():this._items}}class Hy extends Fy{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Oy extends Fy{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let By=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(tU){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===Yy(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=Yy(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||jy(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(gn(ly))},t.\u0275prov=dt({factory:function(){return new t(gn(ly))},token:t,providedIn:"root"}),t})();function jy(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Yy(t){if(!jy(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class Ny{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(fp(1)).subscribe(t)}}let Ky=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new Ny(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(gn(By),gn(nl),gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(By),gn(nl),gn(Fl))},token:t,providedIn:"root"}),t})(),Uy=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=iy(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=iy(t)}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(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ay(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Ky),Ho(Fl))},t.\u0275dir=Gt({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ue]}),t})();"undefined"!=typeof Element&∈const Vy=new Ji("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),qy=new Ji("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $y=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),i=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e,i,n){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=i,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho($y),Ho(Ty),Ho(nl))},t.\u0275dir=Gt({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function Gy(t){return 0===t.buttons}function Jy(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const Zy=new Ji("cdk-focus-monitor-default-options"),Qy=yy({passive:!0,capture:!0});let Xy=(()=>{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Gy(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{Jy(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=tw(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=tw(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=ay(t);if(!this._platform.isBrowser||1!==i.nodeType)return Bd(null);const n=vy(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const r={checkChildren:e,subject:new k,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=ay(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=ay(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=tw(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===tw(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Qy),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Qy)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Qy),t.addEventListener("mousedown",this._documentMousedownListener,Qy),t.addEventListener("touchstart",this._documentTouchstartListener,Qy),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Qy),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Qy),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Qy),t.removeEventListener("mousedown",this._documentMousedownListener,Qy),t.removeEventListener("touchstart",this._documentTouchstartListener,Qy),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(gn(nl),gn(ly),gn(Fl,8),gn(Zy,8))},t.\u0275prov=dt({factory:function(){return new t(gn(nl),gn(ly),gn(Fl,8),gn(Zy,8))},token:t,providedIn:"root"}),t})();function tw(t){return t.composedPath?t.composedPath()[0]:t.target}let ew=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new mu}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Xy))},t.\u0275dir=Gt({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const iw="cdk-high-contrast-black-on-white",nw="cdk-high-contrast-white-on-black",sw="cdk-high-contrast-active";let rw=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove(sw),t.remove(iw),t.remove(nw),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(sw),t.add(iw)):2===e&&(t.add(sw),t.add(nw))}}}return t.\u0275fac=function(e){return new(e||t)(gn(ly),gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(ly),gn(Fl))},token:t,providedIn:"root"}),t})(),ow=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(gn(rw))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[hy,Sy]]}),t})();const aw=new Ji("cdk-dir-doc",{providedIn:"root",factory:function(){return mn(Fl)}});let cw=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new mu,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(gn(aw,8))},t.\u0275prov=dt({factory:function(){return new t(gn(aw,8))},token:t,providedIn:"root"}),t})(),uw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();const lw=new lc("12.0.5");class hw{}const dw="*";function fw(t,e){return{type:7,name:t,definitions:e,options:{}}}function pw(t,e=null){return{type:4,styles:e,timings:t}}function gw(t,e=null){return{type:3,steps:t,options:e}}function mw(t,e=null){return{type:2,steps:t,options:e}}function _w(t){return{type:6,styles:t,offset:null}}function yw(t,e,i){return{type:0,name:t,styles:e,options:i}}function ww(t){return{type:5,steps:t}}function bw(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function vw(t=null){return{type:9,options:t}}function Aw(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function kw(t){Promise.resolve(null).then(t)}class Tw{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){kw(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Cw{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?kw(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Sw(){return"undefined"!=typeof window&&void 0!==window.document}function Mw(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ew(t){switch(t.length){case 0:return new Tw;case 1:return t[0];default:return new Cw(t)}}function xw(t,e,i,n,s={},r={}){const o=[],a=[];let c=-1,u=null;if(n.forEach(t=>{const i=t.offset,n=i==c,l=n&&u||{};Object.keys(t).forEach(i=>{let n=i,a=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,o),a){case"!":a=s[i];break;case dw:a=r[i];break;default:a=e.normalizeStyleValue(i,n,a,o)}l[n]=a}),n||a.push(l),u=l,c=i}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function Rw(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Dw(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Dw(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Dw(i,"destroy",t)))}}function Dw(t,e,i){const n=i.totalTime,s=Pw(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),r=t._data;return null!=r&&(s._data=r),s}function Pw(t,e,i,n,s="",r=0,o){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function Lw(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function zw(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Iw=(t,e)=>!1,Fw=(t,e)=>!1,Hw=(t,e,i)=>[];const Ow=Mw();(Ow||"undefined"!=typeof Element)&&(Iw=Sw()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),Fw=(()=>{if(Ow||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):Fw}})(),Hw=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let qw=(()=>{class t{validateStyleProperty(t){return Yw(t)}matchesElement(t,e){return Nw(t,e)}containsElement(t,e){return Kw(t,e)}query(t,e,i){return Uw(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],o){return new Tw(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),$w=(()=>{class t{}return t.NOOP=new qw,t})();const Ww="ng-enter",Gw="ng-leave",Jw="ng-trigger",Zw=".ng-trigger",Qw="ng-animating",Xw=".ng-animating";function tb(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:eb(parseFloat(e[1]),e[2])}function eb(t,e){switch(e){case"s":return 1e3*t;default:return t}}function ib(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,r="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=eb(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(s=eb(parseFloat(o),i[4]));const a=i[5];a&&(r=a)}else n=t;if(!i){let i=!1,r=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:r}}(t,e,i)}function nb(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function sb(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else nb(t,i);return i}function rb(t,e,i){return i?e+":"+i+";":""}function ob(t){let e="";for(let i=0;i{const s=gb(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),Mw()&&ob(t))}function cb(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=gb(e);t.style[i]=""}),Mw()&&ob(t))}function ub(t){return Array.isArray(t)?1==t.length?t[0]:mw(t):t}const lb=new RegExp("{{\\s*(.+?)\\s*}}","g");function hb(t){let e=[];if("string"==typeof t){let i;for(;i=lb.exec(t);)e.push(i[1]);lb.lastIndex=0}return e}function db(t,e,i){const n=t.toString(),s=n.replace(lb,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function fb(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const pb=/-+([a-z0-9])/g;function gb(t){return t.replace(pb,(...t)=>t[1].toUpperCase())}function mb(t,e){return 0===t||0===e}function _b(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let r=e[0],o=[];if(n.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=i[t]}),o.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],r=n[2],o=n[3];e.push(Tb(s,o)),"<"!=r[0]||s==bb&&o==bb||e.push(Tb(o,s))}(t,i,e)):i.push(t),i}const Ab=new Set(["true","1"]),kb=new Set(["false","0"]);function Tb(t,e){const i=Ab.has(t)||kb.has(t),n=Ab.has(e)||kb.has(e);return(s,r)=>{let o=t==bb||t==s,a=e==bb||e==r;return!o&&i&&"boolean"==typeof s&&(o=s?Ab.has(t):kb.has(t)),!a&&n&&"boolean"==typeof r&&(a=r?Ab.has(e):kb.has(e)),o&&a}}const Cb=new RegExp("s*:selfs*,?","g");function Sb(t,e,i){return new Mb(t).build(e,i)}class Mb{constructor(t){this._driver=t}build(t,e){const i=new Eb(e);return this._resetContextStyleTimingState(i),yb(this,ub(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=n||{};if(i.styles.forEach(t=>{if(xb(t)){const e=t;Object.keys(e).forEach(t=>{hb(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=fb(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=yb(this,ub(t.animation),e);return{type:1,matchers:vb(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Rb(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>yb(this,t,e)),options:Rb(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=yb(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:Rb(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return Db(ib(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Db(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||ib(n,e),Db(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:_w({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};i.easing&&(t.easing=i.easing),s=_w(t)}e.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,e);o.isEmptyStep=r,n=o}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==dw?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(xb(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[i];let a=!0;o&&(s!=n&&s>=o.startTime&&n<=o.endTime&&(e.errors.push(`The CSS property "${i}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${n}ms"`),a=!1),s=o.startTime),a&&(r[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=hb(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let r=!1,o=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(xb(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(xb(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),u=0;return null!=c&&(n++,u=i.offset=c),o=o||u<0||u>1,r=r||u0&&n{const r=l>0?n==h?1:l*n:s[n],o=r*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=r,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:yb(this,ub(t.animation),e),options:Rb(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Rb(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Rb(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Cb,"")),[t=t.replace(/@\*/g,Zw).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,Xw),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Lw(e.collectedStyles,e.currentQuerySelector,{});const o=yb(this,ub(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:Rb(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:ib(t.timings,e.errors,!0);return{type:12,animation:yb(this,ub(t.animation),e),timings:i,options:null}}}class Eb{constructor(t){this.errors=t,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 xb(t){return!Array.isArray(t)&&"object"==typeof t}function Rb(t){var e;return t?(t=nb(t)).params&&(t.params=(e=t.params)?nb(e):null):t={},t}function Db(t,e,i){return{duration:t,delay:e,easing:i}}function Pb(t,e,i,n,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class Lb{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const zb=new RegExp(":enter","g"),Ib=new RegExp(":leave","g");function Fb(t,e,i,n,s,r={},o={},a,c,u=[]){return(new Hb).buildKeyframes(t,e,i,n,s,r,o,a,c,u)}class Hb{buildKeyframes(t,e,i,n,s,r,o,a,c,u=[]){c=c||new Lb;const l=new Bb(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([r],null,l.errors,a),yb(this,i,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,l.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[Pb(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?tb(i.duration):null,r=null!=i.delay?tb(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,r);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),yb(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ob);const t=tb(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>yb(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?tb(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),yb(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return ib(e.params?db(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,r=e.createSubContext().currentTimeline;r.easing=i.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?tb(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Ob);let r=i;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((i,n)=>{e.currentQueryIndex=n;const o=e.createSubContext(t.options,i);s&&o.delayNextStep(s),i===e.element&&(a=o.currentTimeline),yb(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;yb(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const Ob={};class Bb{constructor(t,e,i,n,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ob,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new jb(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=tb(i.duration)),null!=i.delay&&(n.delay=tb(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=db(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new Bb(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=Ob,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new Yb(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,r){let o=[];if(n&&o.push(this.element),t.length>0){t=(t=t.replace(zb,"."+this._enterClassName)).replace(Ib,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class jb{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new jb(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||dw,this._currentKeyframe[t]=dw}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},r=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]=dw})):sb(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=db(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:dw),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const o=sb(s,!0);Object.keys(o).forEach(i=>{const n=o[i];"!"==n?t.add(i):n==dw&&e.add(i)}),i||(o.offset=r/this.duration),n.push(o)});const s=t.size?fb(t.values()):[],r=e.size?fb(e.values()):[];if(i){const t=n[0],e=nb(t);t.offset=0,e.offset=1,n=[t,e]}return Pb(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class Yb extends jb{constructor(t,e,i,n,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=i+e,o=e/r,a=sb(t[0],!1);a.offset=0,s.push(a);const c=sb(t[0],!1);c.offset=Nb(o),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let o=sb(t[n],!1);o.offset=Nb((e+o.offset*i)/r),s.push(o)}i=r,e=0,n="",t=s}return Pb(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function Nb(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Kb{}class Ub extends Kb{normalizePropertyName(t,e){return gb(t)}normalizeStyleValue(t,e,i,n){let s="";const r=i.toString().trim();if(Vb[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return r+s}}const Vb=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 qb(t,e,i,n,s,r,o,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const $b={};class Wb{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],r=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):r}build(t,e,i,n,s,r,o,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||$b,d=this.buildStyles(i,o&&o.params||$b,l),f=a&&a.params||$b,p=this.buildStyles(n,f,l),g=new Set,m=new Map,_=new Map,y="void"===n,w={params:Object.assign(Object.assign({},h),f)},b=u?[]:Fb(t,e,this.ast.animation,s,r,d,p,w,c,l);let v=0;if(b.forEach(t=>{v=Math.max(t.duration+t.delay,v)}),l.length)return qb(e,this._triggerName,i,n,y,d,p,[],[],m,_,v,l);b.forEach(t=>{const i=t.element,n=Lw(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=Lw(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&g.add(i)});const A=fb(g.values());return qb(e,this._triggerName,i,n,y,d,p,b,A,m,_,v)}}class Gb{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=nb(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=db(r,n,e)),i[t]=r})}}),i}}class Jb{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Gb(t.style,t.options&&t.options.params||{})}),Zb(this.states,"true","1"),Zb(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Wb(t,e,this.states))}),this.fallbackTransition=new Wb(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function Zb(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Qb=new Lb;class Xb{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=Sb(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=xw(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let r;const o=new Map;if(s?(r=Fb(this._driver,e,s,Ww,Gw,{},{},i,Qb,n),r.forEach(t=>{const e=Lw(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,dw)})});const a=Ew(r.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=Pw(e,"","","");return Rw(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const tv="ng-animate-queued",ev="ng-animate-disabled",iv=".ng-animate-disabled",nv=[],sv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ov{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=nb(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const av="void",cv=new ov(av);class uv{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,mv(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const r=Lw(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};r.push(o);const a=Lw(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(mv(t,Jw),mv(t,"ng-trigger-"+e),a[e]=cv),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),r=new hv(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(mv(t,Jw),mv(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new ov(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=cv),c.value!==av&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{cb(t,i),ab(t,n)})}return}const u=Lw(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:r,isFallbackTransition:h}),h||(mv(t,tv),r.onStart(()=>{_v(t,tv)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(r);t>=0&&i.splice(t,1)}}),this.players.push(r),u.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,Zw,!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,av,n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Ew(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const r=this._triggers[s].fallbackTransition,o=i[s]||cv,a=new ov(av),c=new hv(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==sv||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){mv(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==i.triggerName){const n=Pw(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,Rw(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class lv{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new uv(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),mv(t,ev)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),_v(t,ev))}removeNode(t,e,i,n){if(dv(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return dv(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,Zw,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Xw,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ew(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=sv,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,iv)&&this.markElementAsDisabled(t,!1),this.driver.query(t,iv,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Ew(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new Lb,n=[],s=new Map,r=[],o=new Map,a=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i=Ww+p++;f.set(e,i),t.forEach(t=>mv(t,i))});const g=[],m=new Set,_=new Set;for(let R=0;Rm.add(t)):_.add(t))}const y=new Map,w=gv(h,Array.from(m));w.forEach((t,e)=>{const i=Gw+p++;y.set(e,i),t.forEach(t=>mv(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=f.get(e);t.forEach(t=>_v(t,i))}),w.forEach((t,e)=>{const i=y.get(e);t.forEach(t=>_v(t,i))}),g.forEach(t=>{this.processLeaveNode(t)})});const b=[],v=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(b.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!l||!this.driver.containsElement(l,s),h=y.get(s),d=f.get(s),p=this._buildInstruction(t,i,d,h,u);if(p.errors&&p.errors.length)v.push(p);else{if(u)return e.onStart(()=>cb(s,p.fromStyles)),e.onDestroy(()=>ab(s,p.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>cb(s,p.fromStyles)),e.onDestroy(()=>ab(s,p.toStyles)),void n.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,p.timelines),r.push({instruction:p,player:e,element:s}),p.queriedElements.forEach(t=>Lw(o,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=a.get(e);t||a.set(e,t=new Set),i.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=c.get(e);n||c.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(v.length){const t=[];v.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),b.forEach(t=>t.destroy()),this.reportError(t)}const A=new Map,k=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,A))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Lw(A,e,[]).push(t),t.destroy()})});const T=g.filter(t=>bv(t,a,c)),C=new Map;pv(C,this.driver,_,c,dw).forEach(t=>{bv(t,a,c)&&T.push(t)});const S=new Map;d.forEach((t,e)=>{pv(S,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=C.get(t),i=S.get(t);C.set(t,Object.assign(Object.assign({},e),i))});const M=[],E=[],x={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(i.has(e)){if(u.has(e))return r.onDestroy(()=>ab(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void n.push(r);let t=x;if(k.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=k.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>k.set(e,t))}const i=this._buildAnimation(r.namespaceId,o,A,s,S,C);if(r.setRealPlayer(i),t===x)M.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Ew(e)),n.push(r)}}else cb(e,o.fromStyles),r.onDestroy(()=>ab(e,o.toStyles)),E.push(r),u.has(e)&&n.push(r)}),E.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=Ew(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let R=0;R!t.destroyed);n.length?yv(this,t,n):this.processLeaveNode(t)}return g.length=0,M.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),M}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==av;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&r.push(e)})}}return(i||n)&&(r=r.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),r}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==n,c=Lw(i,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}cb(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,r){const o=e.triggerName,a=e.element,c=[],u=new Set,l=new Set,h=e.timelines.map(e=>{const h=e.element;u.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Tw(e.duration,e.delay);const f=h!==a,p=function(t){const e=[];return wv(t,e),e}((i.get(h)||nv).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=r.get(h),_=xw(0,this._normalizer,0,e.keyframes,g,m),y=this._buildPlayer(e,_,p);if(e.subTimeline&&n&&l.add(h),f){const e=new hv(t,o,h);e.setRealPlayer(y),c.push(e)}return y});c.forEach(t=>{Lw(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),u.forEach(t=>mv(t,Qw));const d=Ew(h);return d.onDestroy(()=>{u.forEach(t=>_v(t,Qw)),ab(a,e.toStyles)}),l.forEach(t=>{Lw(n,t,[]).push(d)}),d}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Tw(t.duration,t.delay)}}class hv{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Tw,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>Rw(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Lw(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function dv(t){return t&&1===t.nodeType}function fv(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function pv(t,e,i,n,s){const r=[];i.forEach(t=>r.push(fv(t)));const o=[];n.forEach((i,n)=>{const r={};i.forEach(t=>{const i=r[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=rv,o.push(n))}),t.set(n,r)});let a=0;return i.forEach(t=>fv(t,r[a++])),o}function gv(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=i.has(o)?o:n.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&i.get(e).push(t)}),i}function mv(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function _v(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function yv(t,e,i){Ew(i).onDone(()=>t.processLeaveNode(e))}function wv(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class vv{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new lv(t,e,i),this._timelineEngine=new Xb(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const r=t+"-"+n;let o=this._triggerCache[r];if(!o){const t=[],e=Sb(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Jb(t,e)}(n,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,n,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=zw(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=zw(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Av(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Tv(e[0]),e.length>1&&(n=Tv(e[e.length-1]))):e&&(i=Tv(e)),i||n?new kv(t,i,n):null}let kv=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&ab(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ab(this._element,this._initialStyles),this._endStyles&&(ab(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(cb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(cb(this._element,this._endStyles),this._endStyles=null),ab(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Tv(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=zv(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Pv(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=zv(t,"").split(","),n=Dv(i,e);n>=0&&(i.splice(n,1),Lv(t,"",i.join(",")))}(this._element,this._name))}}function xv(t,e,i){Lv(t,"PlayState",i,Rv(t,e))}function Rv(t,e){const i=zv(t,"");return i.indexOf(",")>0?Dv(i.split(","),e):Dv([i],e)}function Dv(t,e){for(let i=0;i=0)return i;return-1}function Pv(t,e,i){i?t.removeEventListener(Mv,e):t.addEventListener(Mv,e)}function Lv(t,e,i,n){const s=Sv+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function zv(t,e){return t.style[Sv+e]||""}class Iv{constructor(t,e,i,n,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Ev(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:wb(this.element,i))})}this.currentSnapshot=t}}class Fv extends Tw{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Vw(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Hv{constructor(){this._count=0}validateStyleProperty(t){return Yw(t)}matchesElement(t,e){return Nw(t,e)}containsElement(t,e){return Kw(t,e)}query(t,e,i){return Uw(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>Vw(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const r=document.createElement("style");return r.textContent=n,r}animate(t,e,i,n,s,r=[],o){const a=r.filter(t=>t instanceof Iv),c={};mb(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=_b(t,e,c));if(0==i)return new Fv(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=Av(t,e),f=new Iv(t,e,l,i,n,s,u,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}}class Ov{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:wb(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Bv{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(jv().toString()),this._cssKeyframesDriver=new Hv}validateStyleProperty(t){return Yw(t)}matchesElement(t,e){return Nw(t,e)}containsElement(t,e){return Kw(t,e)}query(t,e,i){return Uw(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,r);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},u=r.filter(t=>t instanceof Ov);mb(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=Av(t,e=_b(t,e=e.map(t=>sb(t,!1)),c));return new Ov(t,e,a,l)}}function jv(){return Sw()&&Element.prototype.animate||{}}let Yv=(()=>{class t extends hw{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Mt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?mw(t):t;return Uv(this._renderer,null,e,"register",[i]),new Nv(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(gn(oc),gn(Fl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Nv extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Kv(this._id,t,e||{},this._renderer)}}class Kv{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Uv(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Uv(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}const Vv="@",qv="@.disabled";let $v=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new Wv("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(r),new Gv(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(gn(oc),gn(vv),gn(nl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class Wv{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==Vv&&e==qv?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Gv extends Wv{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==Vv?"."==e.charAt(1)&&e==qv?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==Vv){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return s.charAt(0)!=Vv&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let Jv=(()=>{class t extends vv{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl),gn($w),gn(Kb))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Zv=new Ji("AnimationModuleType"),Qv=[{provide:hw,useClass:Yv},{provide:Kb,useFactory:function(){return new Ub}},{provide:vv,useClass:Jv},{provide:oc,useFactory:function(t,e,i){return new $v(t,e,i)},deps:[kd,vv,nl]}],Xv=[{provide:$w,useFactory:function(){return"function"==typeof jv()?new Bv:new Hv}},{provide:Zv,useValue:"BrowserAnimations"},...Qv],tA=[{provide:$w,useClass:qw},{provide:Zv,useValue:"NoopAnimations"},...Qv];let eA=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?tA:Xv}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:Xv,imports:[Od]}),t})();function iA(t,e){if(1&t&&No(0,"mat-pseudo-checkbox",4),2&t){const t=ea();Oo("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function nA(t,e){if(1&t&&(jo(0,"span",5),Ma(1),Yo()),2&t){const t=ea();rr(1),xa("(",t.group.label,")")}}const sA=["*"];let rA=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),oA=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const aA=new lc("12.0.5"),cA=new Ji("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let uA=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return _l()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&aA.full!==lw.full&&console.warn("The Angular Material version ("+aA.full+") does not match the Angular CDK version ("+lw.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(gn(rw),gn(cA,8),gn(Fl))},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uw],uw]}),t})();function lA(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=iy(t)}}}function hA(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function dA(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=iy(t)}}}function fA(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?ny(t):this.defaultTabIndex}}}function pA(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new k}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function gA(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const mA=new Ji("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return mn(Vu)}});class _A{constructor(){this._localeChanges=new k,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const yA=new Ji("mat-date-formats");let wA;try{wA="undefined"!=typeof Intl}catch(tU){wA=!1}const bA={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},vA=TA(31,t=>String(t+1)),AA={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},kA=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function TA(t,e){const i=Array(t);for(let n=0;n{class t extends _A{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(wA){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return TA(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return bA[t]}getDateNames(){if(wA){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return TA(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return vA}getDayOfWeekNames(t){if(wA){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return TA(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return AA[t]}getYearName(t){if(wA){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(wA){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(kA.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(gn(mA,8),gn(ly))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),SA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[{provide:_A,useClass:CA}],imports:[[hy]]}),t})();const MA={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 EA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[{provide:yA,useValue:MA}],imports:[[SA]]}),t})(),xA=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),RA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function DA(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let PA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA],uA]}),t})();class LA{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zA={enterDuration:450,exitDuration:400},IA=yy({passive:!0}),FA=["mousedown","touchstart"],HA=["mouseup","mouseleave","touchend","touchcancel"];class OA{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=ay(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},zA),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const r=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),o=t-n.left,a=e-n.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-r+"px",u.style.top=a-r+"px",u.style.height=2*r+"px",u.style.width=2*r+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const l=new LA(this,u,i);return l.state=0,this._activeRipples.add(l),i.persistent||(this._mostRecentTransientRipple=l),this._runTimeoutOutsideZone(()=>{const t=l===this._mostRecentTransientRipple;l.state=1,i.persistent||t&&this._isPointerDown||l.fadeOut()},c),l}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},zA),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=ay(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(FA))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(HA),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Gy(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,IA)})})}_removeTriggerEvents(){this._triggerElement&&(FA.forEach(t=>{this._triggerElement.removeEventListener(t,this,IA)}),this._pointerUpEventsRegistered&&HA.forEach(t=>{this._triggerElement.removeEventListener(t,this,IA)}))}}const BA=new Ji("mat-ripple-global-options");let jA=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new OA(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(nl),Ho(ly),Ho(BA,8),Ho(Zv,8))},t.\u0275dir=Gt({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&pa("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),YA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA,hy],uA]}),t})(),NA=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&pa("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),KA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA]]}),t})();const UA=new Ji("MAT_OPTION_PARENT_COMPONENT");class VA{}const qA=lA(VA);let $A=0,WA=(()=>{class t extends qA{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+$A++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(Ho(UA,8))},t.\u0275dir=Gt({type:t,inputs:{label:"label"},features:[bo]}),t})();const GA=new Ji("MatOptgroup");let JA=0;class ZA{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let QA=(()=>{class t{constructor(t,e,i,n){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+JA++,this.onSelectionChange=new mu,this._stateChanges=new k}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(t){this._disabled=iy(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==B_&&t.keyCode!==Y_||q_(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ZA(this,t))}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(void 0),Ho(WA))},t.\u0275dir=Gt({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),XA=(()=>{class t extends QA{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(UA,8),Ho(GA,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(La("id",e.id),Lo("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),pa("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[bo],ngContentSelectors:sA,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(t,e){1&t&&(na(),Io(0,iA,1,2,"mat-pseudo-checkbox",0),jo(1,"span",1),sa(2),Yo(),Io(3,nA,2,1,"span",2),No(4,"div",3)),2&t&&(Oo("ngIf",e.multiple),rr(3),Oo("ngIf",e.group&&e.group._inert),rr(1),Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[Bh,jA,NA],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function tk(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),r=0;for(let e=0;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[YA,ed,uA,KA]]}),t})();const ik=["mat-button",""],nk=["*"],sk=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class rk{constructor(t){this._elementRef=t}}const ok=hA(lA(dA(rk)));let ak=(()=>{class t extends ok{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of sk)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Xy),Ho(Zv,8))},t.\u0275cmp=Kt({type:t,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(t,e){if(1&t&&xu(jA,5),2&t){let t;Eu(t=Du())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(Lo("disabled",e.disabled||null),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[bo],attrs:ik,ngContentSelectors:nk,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(t,e){1&t&&(na(),jo(0,"span",0),sa(1),Yo(),No(2,"span",1),No(3,"span",2)),2&t&&(rr(2),pa("mat-button-ripple-round",e.isRoundButton||e.isIconButton),Oo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[jA],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),ck=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[YA,uA],uA]}),t})();function uk(t,e,i,s){return n(i)&&(s=i,i=void 0),s?uk(t,e,i).pipe(I(t=>c(t)?s(...t):s(t))):new y(n=>{lk(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function lk(t,e,i,n,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),r=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),r=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),r=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}class dk extends J_{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),mk={};function _k(t){return t in mk&&(delete mk[t],!0)}const yk={setImmediate(t){const e=pk++;return mk[e]=!0,gk.then(()=>_k(e)&&t()),e},clearImmediate(t){_k(t)}};class wk extends W_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=yk.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(yk.clearImmediate(e),t.scheduled=void 0)}}class bk extends J_{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++ni.lift(new Tk(t,e))}class Tk{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Ck(t,this.compare,this.keySelector))}}class Ck extends p{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}class Sk{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Mk(t,this.durationSelector))}}class Mk extends z{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=L(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Ek(t){return!c(t)&&t-parseFloat(t)+1>=0}function xk(t=0,e,i){let n=-1;return Ek(e)?n=Number(e)<1?1:Number(e):C(e)&&(i=e),C(i)||(i=Z_),new y(e=>{const s=Ek(t)?t:+t-i.now();return i.schedule(Rk,s,{index:0,period:n,subscriber:e})})}function Rk(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}function Dk(t,e=Z_){return i=()=>xk(t,e),function(t){return t.lift(new Sk(i))};var i}function Pk(t){return e=>e.lift(new Lk(t))}class Lk{constructor(t){this.notifier=t}call(t,e){const i=new zk(t),n=L(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class zk extends z{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class Ik extends W_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}class Fk extends J_{}const Hk=new Fk(Ik);function Ok(t,e){return new y(e?i=>e.schedule(Bk,0,{error:t,subscriber:i}):e=>e.error(t))}function Bk({error:t,subscriber:e}){e.error(t)}let jk=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Bd(this.value);case"E":return Ok(this.error);case"C":return ap()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class Yk extends p{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Yk.dispatch,this.delay,new Nk(t,this.destination)))}_next(t){this.scheduleMessage(jk.createNext(t))}_error(t){this.scheduleMessage(jk.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(jk.createComplete()),this.unsubscribe()}}class Nk{constructor(t,e){this.notification=t,this.destination=e}}class Kk extends k{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new Uk(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let r;if(this.closed)throw new b;if(this.isStopped||this.hasError?r=h.EMPTY:(this.observers.push(t),r=new v(this,t)),n&&t.add(t=new Yk(t,n)),e)for(let o=0;oe&&(r=Math.max(r,s-e)),r>0&&n.splice(0,r),n}}class Uk{constructor(t,e){this.time=t,this.value=e}}function Vk(t,e,i){let n;return n=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:n}){let s,r,o=0,a=!1,c=!1;return function(u){o++,s&&!a||(a=!1,s=new Kk(t,e,n),r=u.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){c=!0,r=void 0,s.complete()}}));const l=s.subscribe(this);this.add(()=>{o--,l.unsubscribe(),r&&!c&&i&&0===o&&(r.unsubscribe(),r=void 0,s=void 0)})}}(n))}function qk(t){return t&&"function"==typeof t.connect}class $k{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,r)=>{let o,a;if(null==t.previousIndex){const s=i(t,n,r);o=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==r?(e.remove(n),a=3):(o=e.get(n),e.move(o,r),a=2);s&&s({context:null==o?void 0:o.context,operation:a,record:t})})}detach(){}}class Wk{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let Gk=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Jk=new Ji("_ViewRepeater");let Zk=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(Dk(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Bd()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Yd(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=ay(e),n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>uk(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(gn(nl),gn(ly),gn(Fl,8))},t.\u0275prov=dt({factory:function(){return new t(gn(nl),gn(ly),gn(Fl,8))},token:t,providedIn:"root"}),t})(),Qk=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new k,this._elementScrolled=new y(t=>this.ngZone.runOutsideAngular(()=>uk(this.elementRef.nativeElement,"scroll").pipe(Pk(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=by()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==by()?t.left=t.right:1==by()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;wy()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",i="right",n=this.elementRef.nativeElement;if("top"==t)return n.scrollTop;if("bottom"==t)return n.scrollHeight-n.clientHeight-n.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==t?t=s?i:e:"end"==t&&(t=s?e:i),s&&2==by()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:s&&1==by()?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Zk),Ho(nl),Ho(cw,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),Xk=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new k,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Dk(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(gn(ly),gn(nl),gn(Fl,8))},t.\u0275prov=dt({factory:function(){return new t(gn(ly),gn(nl),gn(Fl,8))},token:t,providedIn:"root"}),t})(),tT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})(),eT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uw,hy,tT],uw,tT]}),t})();class iT{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class nT extends iT{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class sT extends iT{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class rT extends iT{constructor(t){super(),this.element=t instanceof sc?t.nativeElement:t}}class oT{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof nT?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof sT?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof rT?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class aT extends oT{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let cT=(()=>{class t extends sT{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic),Ho(Nc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[bo]}),t})(),uT=(()=>{class t extends oT{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new mu,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(Ho(tc),Ho(Nc),Ho(Fl))},t.\u0275dir=Gt({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[bo]}),t})(),lT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();class hT{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new dT(t,this.predicate,this.inclusive))}}class dT extends p{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const fT=wy();class pT{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=oy(-this._previousScrollPosition.left),t.style.top=oy(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),fT&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),fT&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class gT{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class mT{enable(){}disable(){}attach(){}}function _T(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function yT(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class wT{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();_T(t,[{width:e,height:i,bottom:i,right:e,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 bT=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new mT,this.close=t=>new gT(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new pT(this._viewportRuler,this._document),this.reposition=t=>new wT(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(gn(Zk),gn(Xk),gn(nl),gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(Zk),gn(Xk),gn(nl),gn(Fl))},token:t,providedIn:"root"}),t})();class vT{constructor(t){if(this.scrollStrategy=new mT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class AT{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class kT{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let TT=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(Fl))},token:t,providedIn:"root"}),t})(),CT=(()=>{class t extends TT{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(Fl))},token:t,providedIn:"root"}),t})(),ST=(()=>{class t extends TT{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl),gn(ly))},t.\u0275prov=dt({factory:function(){return new t(gn(Fl),gn(ly))},token:t,providedIn:"root"}),t})();const MT="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let ET=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||MT){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new k,this._outsidePointerEvents=new k,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(fp(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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=oy(this._config.width),t.height=oy(this._config.height),t.minWidth=oy(this._config.minWidth),t.minHeight=oy(this._config.minHeight),t.maxWidth=oy(this._config.maxWidth),t.maxHeight=oy(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;ry(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Pk(V(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const RT="cdk-overlay-connected-position-bounding-box",DT=/([A-Za-z%]+)$/;class PT{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(RT),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),c=this._getOverlayFit(a,e,i,r);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&<(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(RT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=IT(e);let{x:r,y:o}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(r+=a),c&&(o+=c);let u=0-o,l=o+s.height-i.height,h=this._subtractOverflows(s.width,0-r,r+s.width-i.width),d=this._subtractOverflows(s.height,u,l),f=h*d;return{visibleArea:f,isCompletelyWithinViewport:s.width*s.height===f,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,r=zT(this._overlayRef.getConfig().minHeight),o=zT(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=IT(e),s=this._viewportRect,r=Math.max(t.x+n.width-s.width,0),o=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let u=0,l=0;return u=n.width<=s.width?c||-r:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)u=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:r,left:c,bottom:o,right:u,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=oy(i.height),n.top=oy(i.top),n.bottom=oy(i.bottom),n.width=oy(i.width),n.left=oy(i.left),n.right=oy(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=oy(t)),s&&(n.maxWidth=oy(s))}this._lastBoundingBoxSize=i,LT(this._boundingBox.style,n)}_resetBoundingBoxStyles(){LT(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){LT(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();LT(i,this._getExactOverlayY(e,t,n)),LT(i,this._getExactOverlayX(e,t,n))}else i.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),i.transform=o.trim(),r.maxHeight&&(n?i.maxHeight=oy(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=oy(r.maxWidth):s&&(i.maxWidth="")),LT(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=oy(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=oy(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yT(t,i),isOriginOutsideView:_T(t,i),isOverlayClipped:yT(e,i),isOverlayOutsideView:_T(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ry(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof sc)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function LT(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function zT(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(DT);return i&&"px"!==i?null:parseFloat(e)}return t||null}function IT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class FT{constructor(t,e,i,n,s,r,o){this._preferredPositions=[],this._positionStrategy=new PT(i,n,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new AT(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const HT="cdk-global-overlay-wrapper";class OT{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(HT),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:o}=i,a=!("100%"!==n&&"100vw"!==n||r&&"100%"!==r&&"100vw"!==r),c=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(HT),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let BT=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new OT}connectedTo(t,e,i){return new FT(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new PT(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(gn(Xk),gn(Fl),gn(ly),gn(ET))},t.\u0275prov=dt({factory:function(){return new t(gn(Xk),gn(Fl),gn(ly),gn(ET))},token:t,providedIn:"root"}),t})(),jT=0,YT=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new vT(t);return s.direction=s.direction||this._directionality.value,new xT(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+jT++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Tl)),new aT(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(gn(bT),gn(ET),gn(tc),gn(BT),gn(CT),gn(yo),gn(nl),gn(Fl),gn(cw),gn(Zl),gn(ST))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const NT=[{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"}],KT=new Ji("cdk-connected-overlay-scroll-strategy");let UT=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),VT=(()=>{class t{constructor(t,e,i,n,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this._attachSubscription=h.EMPTY,this._detachSubscription=h.EMPTY,this._positionSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new mu,this.positionChange=new mu,this.attach=new mu,this.detach=new mu,this.overlayKeydown=new mu,this.overlayOutsideClick=new mu,this._templatePortal=new sT(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=iy(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=iy(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=iy(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=iy(t)}get push(){return this._push}set push(t){this._push=iy(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=NT);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==j_||this.disableClose||q_(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new vT({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new hT(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ho(YT),Ho(Ic),Ho(Nc),Ho(KT),Ho(cw,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ue]}),t})();const qT={provide:KT,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let $T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[YT,qT],imports:[[uw,lT,eT],eT]}),t})();const WT=["underline"],GT=["connectionContainer"],JT=["inputContainer"],ZT=["label"];function QT(t,e){1&t&&(Ko(0),jo(1,"div",14),No(2,"div",15),No(3,"div",16),No(4,"div",17),Yo(),jo(5,"div",18),No(6,"div",15),No(7,"div",16),No(8,"div",17),Yo(),Uo())}function XT(t,e){1&t&&(jo(0,"div",19),sa(1,1),Yo())}function tC(t,e){if(1&t&&(Ko(0),sa(1,2),jo(2,"span"),Ma(3),Yo(),Uo()),2&t){const t=ea(2);rr(3),Ea(t._control.placeholder)}}function eC(t,e){1&t&&sa(0,3,["*ngSwitchCase","true"])}function iC(t,e){1&t&&(jo(0,"span",23),Ma(1," *"),Yo())}function nC(t,e){if(1&t){const t=qo();jo(0,"label",20,21),Jo("cdkObserveContent",function(){return ze(t),ea().updateOutlineGap()}),Io(2,tC,4,1,"ng-container",12),Io(3,eC,1,0,"ng-content",12),Io(4,iC,2,0,"span",22),Yo()}if(2&t){const t=ea();pa("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),Oo("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),Lo("for",t._control.id)("aria-owns",t._control.id),rr(2),Oo("ngSwitchCase",!1),rr(1),Oo("ngSwitchCase",!0),rr(1),Oo("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function sC(t,e){1&t&&(jo(0,"div",24),sa(1,4),Yo())}function rC(t,e){if(1&t&&(jo(0,"div",25,26),No(2,"span",27),Yo()),2&t){const t=ea();rr(2),pa("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function oC(t,e){1&t&&(jo(0,"div"),sa(1,5),Yo()),2&t&&Oo("@transitionMessages",ea()._subscriptAnimationState)}function aC(t,e){if(1&t&&(jo(0,"div",31),Ma(1),Yo()),2&t){const t=ea(2);Oo("id",t._hintLabelId),rr(1),Ea(t.hintLabel)}}function cC(t,e){if(1&t&&(jo(0,"div",28),Io(1,aC,2,2,"div",29),sa(2,6),No(3,"div",30),sa(4,7),Yo()),2&t){const t=ea();Oo("@transitionMessages",t._subscriptAnimationState),rr(1),Oo("ngIf",t.hintLabel)}}const uC=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],lC=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let hC=0;const dC=new Ji("MatError");let fC=(()=>{class t{constructor(t,e){this.id="mat-error-"+hC++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)($i("aria-live"),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&Lo("id",e.id)},inputs:{id:"id"},features:[Za([{provide:dC,useExisting:t}])]}),t})();const pC={transitionMessages:fw("transitionMessages",[yw("enter",_w({opacity:1,transform:"translateY(0%)"})),bw("void => enter",[_w({opacity:0,transform:"translateY(-5px)"}),pw("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t}),t})(),mC=0;const _C=new Ji("MatHint");let yC=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+mC++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(Lo("id",e.id)("align",null),pa("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[Za([{provide:_C,useExisting:t}])]}),t})(),wC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-label"]]}),t})(),bC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-placeholder"]]}),t})();const vC=new Ji("MatPrefix"),AC=new Ji("MatSuffix");let kC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","matSuffix",""]],features:[Za([{provide:AC,useExisting:t}])]}),t})(),TC=0;class CC{constructor(t){this._elementRef=t}}const SC=hA(CC,"primary"),MC=new Ji("MAT_FORM_FIELD_DEFAULT_OPTIONS"),EC=new Ji("MatFormField");let xC=(()=>{class t extends SC{constructor(t,e,i,n,s,r,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new k,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+TC++,this._labelId="mat-form-field-label-"+TC++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=iy(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(mp(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Pk(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Pk(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),V(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(mp(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(mp(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Pk(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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,uk(this._label.nativeElement,"transitionend").pipe(fp(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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),r=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let o=0;o{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,uA,Sy],uA]}),t})();function DC(...t){if(1===t.length){const e=t[0];if(c(e))return PC(e,null);if(u(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return PC(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return PC(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(I(t=>e(...t)))}return PC(t,null)}function PC(t,e){return new y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let r=0,o=0;for(let a=0;a{u||(u=!0,o++),s[a]=t},error:t=>i.error(t),complete:()=>{r++,r!==n&&u||(o===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}let LC=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(ac),Ho(sc))},t.\u0275dir=Gt({type:t}),t})(),zC=(()=>{class t extends LC{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,features:[bo]}),t})();const IC=new Ji("NgValueAccessor"),FC={provide:IC,useExisting:rt(()=>OC),multi:!0},HC=new Ji("CompositionEventMode");let OC=(()=>{class t extends LC{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Il()?Il().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(ac),Ho(sc),Ho(HC,8))},t.\u0275dir=Gt({type:t,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(t,e){1&t&&Jo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[Za([FC]),bo]}),t})();function BC(t){return null==t||0===t.length}function jC(t){return null!=t&&"number"==typeof t.length}const YC=new Ji("NgValidators"),NC=new Ji("NgAsyncValidators"),KC=/^(?=.{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 UC{static min(t){return function(t){return e=>{if(BC(e.value)||BC(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(BC(e.value)||BC(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return VC(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return BC(t.value)||KC.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>BC(e.value)||!jC(e.value)?null:e.value.lengthjC(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return qC;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(BC(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}(t)}static nullValidator(t){return null}static compose(t){return QC(t)}static composeAsync(t){return tS(t)}}function VC(t){return BC(t.value)?{required:!0}:null}function qC(t){return null}function $C(t){return null!=t}function WC(t){const e=$o(t)?B(t):t;return Go(e),e}function GC(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function JC(t,e){return e.map(e=>e(t))}function ZC(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function QC(t){if(!t)return null;const e=t.filter($C);return 0==e.length?null:function(t){return GC(JC(t,e))}}function XC(t){return null!=t?QC(ZC(t)):null}function tS(t){if(!t)return null;const e=t.filter($C);return 0==e.length?null:function(t){return DC(JC(t,e).map(WC)).pipe(I(GC))}}function eS(t){return null!=t?tS(ZC(t)):null}function iS(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function nS(t){return t._rawValidators}function sS(t){return t._rawAsyncValidators}let rS=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=XC(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=eS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t}),t})(),oS=(()=>{class t extends rS{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,features:[bo]}),t})();class aS extends rS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cS{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let uS=(()=>{class t extends cS{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(aS,2))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&pa("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[bo]}),t})(),lS=(()=>{class t extends cS{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(oS,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&pa("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[bo]}),t})();function hS(t,e){return[...e.path,t]}function dS(t,e){gS(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&_S(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&_S(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function fS(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),mS(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function pS(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function gS(t,e){const i=nS(t);null!==e.validator?t.setValidators(iS(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=sS(t);null!==e.asyncValidator?t.setAsyncValidators(iS(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();pS(e._rawValidators,s),pS(e._rawAsyncValidators,s)}function mS(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=nS(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=sS(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return pS(e._rawValidators,n),pS(e._rawAsyncValidators,n),i}function _S(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function yS(t,e){gS(t,e)}function wS(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function bS(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function vS(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===OC?i=t:Object.getPrototypeOf(t.constructor)===zC?n=t:s=t}),s||n||i||null}function AS(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const kS="VALID",TS="INVALID",CS="PENDING",SS="DISABLED";function MS(t){return(DS(t)?t.validators:t)||null}function ES(t){return Array.isArray(t)?XC(t):t||null}function xS(t,e){return(DS(e)?e.asyncValidators:t)||null}function RS(t){return Array.isArray(t)?eS(t):t||null}function DS(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class PS{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=ES(this._rawValidators),this._composedAsyncValidatorFn=RS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===kS}get invalid(){return this.status===TS}get pending(){return this.status==CS}get disabled(){return this.status===SS}get enabled(){return this.status!==SS}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=ES(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=RS(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=CS,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=SS,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=kS,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==kS&&this.status!==CS||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?SS:kS}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=CS,this._hasOwnPendingAsyncValidator=!0;const e=WC(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof zS?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof IS&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new mu,this.statusChanges=new mu}_calculateStatus(){return this._allControlsDisabled()?SS:this.errors?TS:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(CS)?CS:this._anyControlsHaveStatus(TS)?TS:kS}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){DS(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class LS extends PS{constructor(t=null,e,i){super(MS(e),xS(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){AS(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){AS(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class zS extends PS{constructor(t,e,i){super(MS(e),xS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof LS?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class IS extends PS{constructor(t,e,i){super(MS(e),xS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof LS?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const FS={provide:oS,useExisting:rt(()=>OS)},HS=(()=>Promise.resolve(null))();let OS=(()=>{class t extends oS{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new mu,this.form=new zS({},XC(t),eS(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){HS.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),dS(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){HS.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),AS(this._directives,t)})}addFormGroup(t){HS.then(()=>{const e=this._findContainer(t.path),i=new zS({});yS(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){HS.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){HS.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,bS(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(Ho(YC,10),Ho(NC,10))},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&Jo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Za([FS]),bo]}),t})();const BS={provide:aS,useExisting:rt(()=>YS)},jS=(()=>Promise.resolve(null))();let YS=(()=>{class t extends aS{constructor(t,e,i,n){super(),this.control=new LS,this._registered=!1,this.update=new mu,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=vS(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),wS(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?hS(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){dS(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(t){jS.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;jS.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Ho(oS,9),Ho(YC,10),Ho(NC,10),Ho(IC,10))},t.\u0275dir=Gt({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Za([BS]),bo,ue]}),t})(),NS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),KS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();const US=new Ji("NgModelWithFormControlWarning"),VS={provide:aS,useExisting:rt(()=>qS)};let qS=(()=>{class t extends aS{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new mu,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=vS(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&fS(e,this,!1),dS(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}wS(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&fS(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(Ho(YC,10),Ho(NC,10),Ho(IC,10),Ho(US,8))},t.\u0275dir=Gt({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Za([VS]),bo,ue]}),t._ngModelWarningSentOnce=!1,t})();const $S={provide:oS,useExisting:rt(()=>WS)};let WS=(()=>{class t extends oS{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new mu,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(mS(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return dS(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){fS(t.control||null,t,!1),AS(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,bS(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(fS(e||null,t),i instanceof LS&&(dS(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);yS(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return mS(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gS(this.form,this),this._oldForm&&mS(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(Ho(YC,10),Ho(NC,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Jo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Za([$S]),bo,ue]}),t})();const GS={provide:aS,useExisting:rt(()=>JS)};let JS=(()=>{class t extends aS{constructor(t,e,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new mu,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=vS(0,n)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),wS(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return hS(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 t.\u0275fac=function(e){return new(e||t)(Ho(oS,13),Ho(YC,10),Ho(NC,10),Ho(IC,10),Ho(US,8))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Za([GS]),bo,ue]}),t._ngModelWarningSentOnce=!1,t})();const ZS={provide:YC,useExisting:rt(()=>QS),multi:!0};let QS=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?VC(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&Lo("required",e.required?"":null)},inputs:{required:"required"},features:[Za([ZS])]}),t})(),XS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[KS]]}),t})(),tM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[XS]}),t})(),eM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:US,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[XS]}),t})(),iM=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n,s=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,n=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new zS(i,{asyncValidators:r,updateOn:n,validators:s})}control(t,e,i){return new LS(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new IS(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach(i=>{e[i]=this._createControl(t[i])}),e}_createControl(t){return t instanceof LS||t instanceof zS||t instanceof IS?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:eM}),t})();const nM=["trigger"],sM=["panel"];function rM(t,e){if(1&t&&(jo(0,"span",8),Ma(1),Yo()),2&t){const t=ea();rr(1),Ea(t.placeholder)}}function oM(t,e){if(1&t&&(jo(0,"span",12),Ma(1),Yo()),2&t){const t=ea(2);rr(1),Ea(t.triggerValue)}}function aM(t,e){1&t&&sa(0,0,["*ngSwitchCase","true"])}function cM(t,e){1&t&&(jo(0,"span",9),Io(1,oM,2,1,"span",10),Io(2,aM,1,0,"ng-content",11),Yo()),2&t&&(Oo("ngSwitch",!!ea().customTrigger),rr(2),Oo("ngSwitchCase",!0))}function uM(t,e){if(1&t){const t=qo();jo(0,"div",13),jo(1,"div",14,15),Jo("@transformPanel.done",function(e){return ze(t),ea()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return ze(t),ea()._handleKeydown(e)}),sa(3,1),Yo(),Yo()}if(2&t){const t=ea();Oo("@transformPanelWrap",void 0),rr(1),Pa("mat-select-panel ",t._getPanelTheme(),""),fa("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),Oo("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),Lo("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const lM=[[["mat-select-trigger"]],"*"],hM=["mat-select-trigger","*"],dM={transformPanelWrap:fw("transformPanelWrap",[bw("* => void",Aw("@transformPanel",[vw()],{optional:!0}))]),transformPanel:fw("transformPanel",[yw("void",_w({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),yw("showing",_w({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),yw("showing-multiple",_w({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),bw("void => *",pw("120ms cubic-bezier(0, 0, 0.2, 1)")),bw("* => void",pw("100ms 25ms linear",_w({opacity:0})))])};let fM=0;const pM=256,gM=new Ji("mat-select-scroll-strategy"),mM=new Ji("MAT_SELECT_CONFIG"),_M={provide:gM,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class yM{constructor(t,e){this.source=t,this.value=e}}class wM{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const bM=dA(fA(lA(pA(wM)))),vM=new Ji("MatSelectTrigger");let AM=(()=>{class t extends bM{constructor(t,e,i,n,s,r,o,a,c,u,l,h,d,f){var p,g,m;super(s,n,o,a,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=d,this._defaultOptions=f,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+fM++,this._triggerAriaLabelledBy=null,this._destroy=new k,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+fM++,this._panelDoneAnimatingStream=new k,this._overlayPanelClass=(null===(p=this._defaultOptions)||void 0===p?void 0:p.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(m=null===(g=this._defaultOptions)||void 0===g?void 0:g.disableOptionCentering)&&void 0!==m&&m,this.ariaLabel="",this.optionSelectionChanges=cp(()=>{const t=this.options;return t?t.changes.pipe(mp(t),up(()=>V(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(fp(1),up(()=>this.optionSelectionChanges))}),this.openedChange=new mu,this._openedStream=this.openedChange.pipe(Yd(t=>t),I(()=>{})),this._closedStream=this.openedChange.pipe(Yd(t=>!t),I(()=>{})),this.selectionChange=new mu,this.valueChange=new mu,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==f?void 0:f.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=f.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(l)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=iy(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=iy(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=iy(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=ny(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Wk(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(kk(),Pk(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Pk(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(mp(null),Pk(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=e===V_||e===K_||e===N_||e===U_,n=e===B_||e===Y_,s=this._keyManager;if(!s.isTyping()&&n&&!q_(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===V_||i===K_,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==B_&&i!==Y_||!e.activeItem||q_(t))if(!s&&this._multiple&&65===i&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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(fp(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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new Hy(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Pk(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Pk(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 t=V(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Pk(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),V(...this.options.map(t=>t._stateChanges)).pipe(Pk(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(Ho(Xk),Ho(Rc),Ho(nl),Ho(xA),Ho(sc),Ho(cw,8),Ho(OS,8),Ho(WS,8),Ho(EC,8),Ho(aS,10),$i("tabindex"),Ho(gM),Ho($y),Ho(mM,8))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&(xu(nM,5),xu(sM,5),xu(VT,5)),2&t){let t;Eu(t=Du())&&(e.trigger=t.first),Eu(t=Du())&&(e.panel=t.first),Eu(t=Du())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[bo,ue]}),t})(),kM=(()=>{class t extends AM{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Pk(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(fp(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=tk(t,this.options,this.optionGroups),i=this._getItemHeight();var n,s,r;this.panel.nativeElement.scrollTop=(s=i,(n=(t+e)*i)<(r=this.panel.nativeElement.scrollTop)?n:n+s>r+256?Math.max(0,n-256+s):r)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new yM(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const r=0-(t.left+s-(i?n:0)),o=t.right+s-e.width+(i?0:n);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,r=Math.floor(pM/n);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-r))*n+(n-(this._getItemCount()*n-pM)%n):e-n/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,pM)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>n?this._adjustPanelDown(r,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,pM),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=tk(s,this.options,this.optionGroups);const r=i/2;this._scrollTop=this._calculateOverlayScroll(s,r,n),this._offsetY=this._calculateOverlayOffsetY(s,r,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,vM,5),Ru(i,XA,5),Ru(i,GA,5)),2&t){let t;Eu(t=Du())&&(e.customTrigger=t.first),Eu(t=Du())&&(e.options=t),Eu(t=Du())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&Jo("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(Lo("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),pa("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Za([{provide:gC,useExisting:t},{provide:UA,useExisting:t}]),bo],ngContentSelectors:hM,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(t,e){if(1&t&&(na(lM),jo(0,"div",0,1),Jo("click",function(){return e.toggle()}),jo(3,"div",2),Io(4,rM,2,1,"span",3),Io(5,cM,3,2,"span",4),Yo(),jo(6,"div",5),No(7,"div",6),Yo(),Yo(),Io(8,uM,4,14,"ng-template",7),Jo("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=Fo(1);Lo("aria-owns",e.panelOpen?e.id+"-panel":null),rr(3),Oo("ngSwitch",e.empty),Lo("id",e._valueId),rr(1),Oo("ngSwitchCase",!0),rr(1),Oo("ngSwitchCase",!1),rr(3),Oo("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[UT,Kh,Uh,VT,Vh,Ih],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[dM.transformPanelWrap,dM.transformPanel]},changeDetection:0}),t})(),TM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[_M],imports:[[ed,$T,ek,uA],tT,RC,ek,uA]}),t})();class CM{constructor(t){this.total=t}call(t,e){return e.subscribe(new SM(t,this.total))}}class SM extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const MM=new Set;let EM,xM=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):RM}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!MM.has(t))try{EM||(EM=document.createElement("style"),EM.setAttribute("type","text/css"),document.head.appendChild(EM)),EM.sheet&&(EM.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),MM.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(gn(ly))},t.\u0275prov=dt({factory:function(){return new t(gn(ly))},token:t,providedIn:"root"}),t})();function RM(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let DM=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return PM(ry(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=ep(PM(ry(t)).map(t=>this._registerQuery(t).observable));return e=rp(e.pipe(fp(1)),e.pipe(t=>t.lift(new CM(1)),Q_(0))),e.pipe(I(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe(mp(e),I(({matches:e})=>({query:t,matches:e})),Pk(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(gn(xM),gn(nl))},t.\u0275prov=dt({factory:function(){return new t(gn(xM),gn(nl))},token:t,providedIn:"root"}),t})();function PM(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const LM={tooltipState:fw("state",[yw("initial, void, hidden",_w({opacity:0,transform:"scale(0)"})),yw("visible",_w({transform:"scale(1)"})),bw("* => visible",pw("200ms cubic-bezier(0, 0, 0.2, 1)",ww([_w({opacity:0,transform:"scale(0)",offset:0}),_w({opacity:.5,transform:"scale(0.99)",offset:.5}),_w({opacity:1,transform:"scale(1)",offset:1})]))),bw("* => hidden",pw("100ms cubic-bezier(0, 0, 0.2, 1)",_w({opacity:0})))])},zM=yy({passive:!0}),IM=new Ji("mat-tooltip-scroll-strategy"),FM={provide:IM,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},HM=new Ji("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let OM=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=r,this._ariaDescriber=o,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,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 k,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===j_&&!q_(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=h,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(Pk(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=iy(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Pk(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,zM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new nT(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Pk(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe(Pk(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Pk(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(fp(1),Pk(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,zM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(Ho(YT),Ho(sc),Ho(Zk),Ho(Nc),Ho(nl),Ho(ly),Ho(Ly),Ho(Xy),Ho(void 0),Ho(cw),Ho(void 0),Ho(Fl))},t.\u0275dir=Gt({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),BM=(()=>{class t extends OM{constructor(t,e,i,n,s,r,o,a,c,u,l,h){super(t,e,i,n,s,r,o,a,c,u,l,h),this._tooltipComponent=YM}}return t.\u0275fac=function(e){return new(e||t)(Ho(YT),Ho(sc),Ho(Zk),Ho(Nc),Ho(nl),Ho(ly),Ho(Ly),Ho(Xy),Ho(IM),Ho(cw,8),Ho(HM,8),Ho(Fl))},t.\u0275dir=Gt({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[bo]}),t})(),jM=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new k}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc))},t.\u0275dir=Gt({type:t}),t})(),YM=(()=>{class t extends jM{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc),Ho(DM))},t.\u0275cmp=Kt({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._handleBodyInteraction()},!1,ms)("auxclick",function(){return e._handleBodyInteraction()},!1,ms),2&t&&fa("zoom","visible"===e._visibility?1:null)},features:[bo],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(jo(0,"div",0),Jo("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),uu(1,"async"),Ma(2),Yo()),2&t){let t;pa("mat-tooltip-handset",null==(t=lu(1,5,e._isHandset))?null:t.matches),Oo("ngClass",e.tooltipClass)("@state",e._visibility),rr(2),Ea(e.message)}},directives:[Ih],pipes:[Xh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[LM.tooltipState]},changeDetection:0}),t})(),NM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[FM],imports:[[ow,ed,$T,uA],uA,tT]}),t})();function KM(t,e){if(1&t&&(jo(0,"mat-option",19),Ma(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),rr(1),xa(" ",t," ")}}function UM(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",16),jo(1,"mat-select",17),Jo("selectionChange",function(e){return ze(t),ea(2)._changePageSize(e.value)}),Io(2,KM,2,2,"mat-option",18),Yo(),Yo()}if(2&t){const t=ea(2);Oo("appearance",t._formFieldAppearance)("color",t.color),rr(1),Oo("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),rr(1),Oo("ngForOf",t._displayedPageSizeOptions)}}function VM(t,e){if(1&t&&(jo(0,"div",20),Ma(1),Yo()),2&t){const t=ea(2);rr(1),Ea(t.pageSize)}}function qM(t,e){if(1&t&&(jo(0,"div",12),jo(1,"div",13),Ma(2),Yo(),Io(3,UM,3,6,"mat-form-field",14),Io(4,VM,2,1,"div",15),Yo()),2&t){const t=ea();rr(2),xa(" ",t._intl.itemsPerPageLabel," "),rr(1),Oo("ngIf",t._displayedPageSizeOptions.length>1),rr(1),Oo("ngIf",t._displayedPageSizeOptions.length<=1)}}function $M(t,e){if(1&t){const t=qo();jo(0,"button",21),Jo("click",function(){return ze(t),ea().firstPage()}),ci(),jo(1,"svg",7),No(2,"path",22),Yo(),Yo()}if(2&t){const t=ea();Oo("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Lo("aria-label",t._intl.firstPageLabel)}}function WM(t,e){if(1&t){const t=qo();ci(),ui(),jo(0,"button",23),Jo("click",function(){return ze(t),ea().lastPage()}),ci(),jo(1,"svg",7),No(2,"path",24),Yo(),Yo()}if(2&t){const t=ea();Oo("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Lo("aria-label",t._intl.lastPageLabel)}}let GM=(()=>{class t{constructor(){this.changes=new k,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const JM={provide:GM,deps:[[new bn,new vn,GM]],useFactory:function(t){return t||new GM}},ZM=new Ji("MAT_PAGINATOR_DEFAULT_OPTIONS");class QM{}const XM=lA(gA(QM));let tE=(()=>{class t extends XM{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new mu,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(ny(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=ny(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(ny(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>ny(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=iy(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=iy(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(Ho(GM),Ho(Rc),Ho(void 0))},t.\u0275dir=Gt({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[bo]}),t})(),eE=(()=>{class t extends tE{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(Ho(GM),Ho(Rc),Ho(ZM,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[bo],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(t,e){1&t&&(jo(0,"div",0),jo(1,"div",1),Io(2,qM,5,3,"div",2),jo(3,"div",3),jo(4,"div",4),Ma(5),Yo(),Io(6,$M,3,5,"button",5),jo(7,"button",6),Jo("click",function(){return e.previousPage()}),ci(),jo(8,"svg",7),No(9,"path",8),Yo(),Yo(),ui(),jo(10,"button",9),Jo("click",function(){return e.nextPage()}),ci(),jo(11,"svg",7),No(12,"path",10),Yo(),Yo(),Io(13,WM,3,5,"button",11),Yo(),Yo(),Yo()),2&t&&(rr(2),Oo("ngIf",!e.hidePageSize),rr(3),xa(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),rr(1),Oo("ngIf",e.showFirstLastButtons),rr(1),Oo("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Lo("aria-label",e._intl.previousPageLabel),rr(3),Oo("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Lo("aria-label",e._intl.nextPageLabel),rr(3),Oo("ngIf",e.showFirstLastButtons))},directives:[Bh,ak,BM,xC,kM,Hh,XA],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)}\n"],encapsulation:2,changeDetection:0}),t})(),iE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[JM],imports:[[ed,ck,TM,NM,uA]]}),t})();function nE(t,e=Z_){var i;const n=(i=t)instanceof Date&&!isNaN(+i)?+t-e.now():Math.abs(t);return t=>t.lift(new sE(n,e))}class sE{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new rE(t,this.delay,this.scheduler))}}class rE extends p{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(rE.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new oE(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(jk.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(jk.createComplete()),this.unsubscribe()}}class oE{constructor(t,e){this.time=t,this.notification=e}}const aE=["mat-menu-item",""],cE=["*"];function uE(t,e){if(1&t){const t=qo();jo(0,"div",0),Jo("keydown",function(e){return ze(t),ea()._handleKeydown(e)})("click",function(){return ze(t),ea().closed.emit("click")})("@transformMenu.start",function(e){return ze(t),ea()._onAnimationStart(e)})("@transformMenu.done",function(e){return ze(t),ea()._onAnimationDone(e)}),jo(1,"div",1),sa(2),Yo(),Yo()}if(2&t){const t=ea();Oo("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),Lo("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const lE={transformMenu:fw("transformMenu",[yw("void",_w({opacity:0,transform:"scale(0.8)"})),bw("void => enter",pw("120ms cubic-bezier(0, 0, 0.2, 1)",_w({opacity:1,transform:"scale(1)"}))),bw("* => void",pw("100ms 25ms linear",_w({opacity:0})))]),fadeInItems:fw("fadeInItems",[yw("showing",_w({opacity:1})),bw("void => *",[_w({opacity:0}),pw("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},hE=new Ji("MatMenuContent"),dE=new Ji("MAT_MENU_PANEL");class fE{}const pE=dA(lA(fE));let gE=(()=>{class t extends pE{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new k,this._focused=new k,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new yu,this._tabSubscription=h.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new k,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new mu,this.close=this.closed,this.panelId="mat-menu-panel-"+_E++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=iy(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=iy(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Oy(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(mp(this._directDescendantItems),up(t=>V(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(mp(this._directDescendantItems),up(t=>V(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case j_:q_(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case N_:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case U_:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==K_&&e!==V_||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(fp(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(mp(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(nl),Ho(mE))},t.\u0275dir=Gt({type:t,contentQueries:function(t,e,i){if(1&t&&(Ru(i,hE,5),Ru(i,gE,5),Ru(i,gE,4)),2&t){let t;Eu(t=Du())&&(e.lazyContent=t.first),Eu(t=Du())&&(e._allItems=t),Eu(t=Du())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&xu(Ic,5),2&t){let t;Eu(t=Du())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),wE=(()=>{class t extends yE{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(nl),Ho(mE))},t.\u0275cmp=Kt({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&Lo("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Za([{provide:dE,useExisting:t}]),bo],ngContentSelectors:cE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(na(),Io(0,uE,3,6,"ng-template"))},directives:[Ih],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[lE.transformMenu,lE.fadeInItems]},changeDetection:0}),t})();const bE=new Ji("mat-menu-scroll-strategy"),vE={provide:bE,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},AE=yy({passive:!0});let kE=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=r,this._dir=o,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.EMPTY,this._hoverSubscription=h.EMPTY,this._menuCloseSubscription=h.EMPTY,this._handleTouchStart=t=>{Jy(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new mu,this.onMenuOpen=this.menuOpened,this.menuClosed=new mu,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=s instanceof yE?s:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,AE),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,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 t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof yE&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof yE?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Yd(t=>"void"===t.toState),fp(1),Pk(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new vT({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[n,s],[a,c]=[e,i],u=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",u="bottom"===n?8:-8):this.menu.overlapTrigger||(r="top"===n?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:r,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-u},{originX:i,originY:o,overlayX:c,overlayY:s,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments();return V(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Bd(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Yd(t=>t!==this._menuItemInstance),Yd(()=>this._menuOpen)):Bd(),e)}_handleMousedown(t){Gy(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==B_&&e!==Y_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===U_&&"ltr"===this.dir||e===N_&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Yd(t=>t===this._menuItemInstance&&!t.disabled),nE(0,vk)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof yE&&this.menu._isAnimating?this.menu._animationDone.pipe(fp(1),nE(0,vk),Pk(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new sT(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(Ho(YT),Ho(sc),Ho(Nc),Ho(bE),Ho(dE,8),Ho(gE,10),Ho(cw,8),Ho(Xy))},t.\u0275dir=Gt({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&Jo("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&Lo("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),TE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[vE],imports:[uA]}),t})(),CE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[vE],imports:[[ed,uA,YA,$T,TE],tT,uA,TE]}),t})();const SE=["*"];function ME(t){return Error(`Unable to find icon with the name "${t}"`)}function EE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function xE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class RE{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let DE=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new RE(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,n){const s=this._sanitizer.sanitize(ss.HTML,i);if(!s)throw xE(i);return this._addSvgIconConfig(t,e,new RE("",s,n))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new RE(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(ss.HTML,e);if(!n)throw xE(e);return this._addSvgIconSetConfig(t,new RE("",n,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(ss.RESOURCE_URL,t);if(!e)throw EE(t);const i=this._cachedIconsByUrl.get(e);return i?Bd(PE(i)):this._loadSvgIconFromConfig(new RE(t,null)).pipe(Ip(t=>this._cachedIconsByUrl.set(e,t)),I(t=>PE(t)))}getNamedSvgIcon(t,e=""){const i=LE(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):Ok(ME(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Bd(PE(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(I(t=>PE(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?Bd(i):DC(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(bp(e=>{const i=this._sanitizer.sanitize(ss.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),Bd(null)})))).pipe(I(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw ME(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Ip(e=>t.svgText=e),I(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Bd(null):this._fetchIcon(t).pipe(Ip(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const r=this._svgElementFromString("");return r.appendChild(s),this._setSvgAttributes(r,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),X());return this._inProgressUrlFetches.set(r,a),a}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(LE(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),HE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OE=HE.map(t=>`[${t}]`).join(", "),BE=/^url\(['"]?#(.*?)['"]?\)$/;let jE=(()=>{class t extends IE{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=h.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=iy(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(OE),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],r=s.getAttribute(t),o=r?r.match(BE):null;if(o){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe(fp(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(DE),$i("aria-hidden"),Ho(FE),Ho(fs))},t.\u0275cmp=Kt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(Lo("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),pa("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[bo],ngContentSelectors:SE,decls:1,vars:0,template:function(t,e){1&t&&(na(),sa(0))},styles:[".mat-icon{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}),t})(),YE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA],uA]}),t})();class NE{}let KE=(()=>{class t extends NE{getTranslation(t){return Bd({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class UE{}let VE=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function qE(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!qE(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{WE(e[n])?n in t?i[n]=GE(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class JE{}let ZE=(()=>{class t extends JE{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!$E(t)||!$E(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return $E(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class QE{}let XE=(()=>{class t extends QE{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class tx{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new mu,this.onLangChange=new mu,this.onDefaultLangChange=new mu}}const ex=new Ji("USE_STORE"),ix=new Ji("USE_DEFAULT_LANG"),nx=new Ji("DEFAULT_LANGUAGE"),sx=new Ji("USE_EXTEND");let rx=(()=>{class t{constructor(t,e,i,n,s,r=!0,o=!1,a=!1,c){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=n,this.missingTranslationHandler=s,this.useDefaultLang=r,this.isolate=o,this.extend=a,this.pending=!1,this._onTranslationChange=new mu,this._onLangChange=new mu,this._onDefaultLangChange=new mu,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(fp(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Bd(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(fp(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Bd(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Vk(1),fp(1));return this.loadingTranslations=e.pipe(I(e=>this.compiler.compileTranslations(e,t)),Vk(1),fp(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?GE(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},s=!1;for(let r of e)n[r]=this.getParsedResult(t,r,i),Ak(n[r])&&(s=!0);return s?DC(e.map(t=>Ak(n[t])?n[t]:Bd(n[t]))).pipe(I(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i})):n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!$E(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(jd(i=>Ak(i=this.getParsedResult(i,t,e))?i:Bd(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return Ak(i)?i:Bd(i)}}getStreamOnTranslationChange(t,e){if(!$E(t)||!t.length)throw new Error('Parameter "key" required');return rp(cp(()=>this.get(t,e)),this.onTranslationChange.pipe(up(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:Bd(n)})))}stream(t,e){if(!$E(t)||!t.length)throw new Error('Parameter "key" required');return rp(cp(()=>this.get(t,e)),this.onLangChange.pipe(up(i=>{const n=this.getParsedResult(i.translations,t,e);return Ak(n)?n:Bd(n)})))}instant(t,e){if(!$E(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(Ak(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(gn(tx),gn(NE),gn(QE),gn(JE),gn(UE),gn(ix),gn(ex),gn(sx),gn(nx))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),ox=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);Ak(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(qE(t,this.lastKey)&&qE(e,this.lastParams))return this.value;let i;if($E(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(Ho(rx,16),Ho(Rc,16))},t.\u0275pipe=Jt({name:"translate",type:t,pure:!1}),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),ax=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:NE,useClass:KE},e.compiler||{provide:QE,useClass:XE},e.parser||{provide:JE,useClass:ZE},e.missingTranslationHandler||{provide:UE,useClass:VE},tx,{provide:ex,useValue:e.isolate},{provide:ix,useValue:e.useDefaultLang},{provide:sx,useValue:e.extend},{provide:nx,useValue:e.defaultLanguage},rx]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:NE,useClass:KE},e.compiler||{provide:QE,useClass:XE},e.parser||{provide:JE,useClass:ZE},e.missingTranslationHandler||{provide:UE,useClass:VE},{provide:ex,useValue:e.isolate},{provide:ix,useValue:e.useDefaultLang},{provide:sx,useValue:e.extend},{provide:nx,useValue:e.defaultLanguage},rx]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})(),cx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[],imports:[[iE,CE,YE,ck,ax,ed]]}),t})();function ux(t,e){}class lx{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const hx={dialogContainer:fw("dialogContainer",[yw("void, exit",_w({opacity:0,transform:"scale(0.7)"})),yw("enter",_w({transform:"none"})),bw("* => enter",pw("150ms cubic-bezier(0, 0, 0.2, 1)",_w({transform:"none",opacity:1}))),bw("* => void, * => exit",pw("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",_w({opacity:0})))])};let dx=(()=>{class t extends oT{constructor(t,e,i,n,s,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._focusMonitor=r,this._animationStateChanged=new mu,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=Ay(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Ay())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=Ay();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Ky),Ho(Rc),Ho(Fl,8),Ho(lx),Ho(Xy))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&xu(uT,7),2&t){let t;Eu(t=Du())&&(e._portalOutlet=t.first)}},features:[bo]}),t})(),fx=(()=>{class t extends dx{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&Zo("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(La("id",e._id),Lo("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),za("@dialogContainer",e._state))},features:[bo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Io(0,ux,0,0,"ng-template",0)},directives:[uT],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:[hx.dialogContainer]}}),t})(),px=0;class gx{constructor(t,e,i="mat-dialog-"+px++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new k,this._afterClosed=new k,this._beforeClosed=new k,this._state=0,e._id=i,e._animationStateChanged.pipe(Yd(t=>"opened"===t.state),fp(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Yd(t=>"closed"===t.state),fp(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Yd(t=>t.keyCode===j_&&!this.disableClose&&!q_(t))).subscribe(t=>{t.preventDefault(),mx(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():mx(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Yd(t=>"closing"===t.state),fp(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function mx(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const _x=new Ji("MatDialogData"),yx=new Ji("mat-dialog-default-options"),wx=new Ji("mat-dialog-scroll-strategy"),bx={provide:wx,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.block()}};let vx=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=cp(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(mp(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new lx)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new vT({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=yo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:lx,useValue:e}]}),n=new nT(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const s=new this._dialogRefConstructor(i,e,n.id);if(t instanceof Ic)e.attachTemplatePortal(new sT(t,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,e),r=e.attachComponentPortal(new nT(t,n.viewContainerRef,i));s.componentInstance=r.instance}return s.updateSize(n.width,n.height).updatePosition(n.position),s}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(cw,null,vt.Optional)||s.push({provide:cw,useValue:{value:t.direction,change:Bd()}}),yo.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(YT),Ho(yo),Ho(void 0),Ho(void 0),Ho(ET),Ho(void 0),Ho(Qi),Ho(Qi),Ho(Ji))},t.\u0275dir=Gt({type:t}),t})(),Ax=(()=>{class t extends vx{constructor(t,e,i,n,s,r,o){super(t,e,n,r,o,s,gx,fx,_x)}}return t.\u0275fac=function(e){return new(e||t)(gn(YT),gn(yo),gn(Zl,8),gn(yx,8),gn(wx),gn(t,12),gn(ET))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),kx=0,Tx=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+kx++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx,8),Ho(sc),Ho(Ax))},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&La("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Cx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),Sx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),Mx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[Ax,bx],imports:[[$T,lT,uA],uA]}),t})();var Ex=i(2051);const xx=[5,10,25,100];function Rx(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function Dx(){const t=new lx;return t.disableClose=!0,t.autoFocus=!1,t}const Px=new Intl.Collator("cs",{numeric:!0});function Lx(t,e,i,n){const s=e.active,r=e.direction;return s&&""!==r?t.sort((t,e)=>{const o=i(t,s,n),a=i(e,s,n);return Px.compare(o,a)*("asc"===r?1:-1)}):t}function zx(t,e,i,n,s,r){e=e.toLowerCase();let o="";return i.forEach(e=>{o+=";"+n(t,e,s)}),r&&(o+=";"+n(t,"uuid",s)),-1!==o.toLowerCase().indexOf(e)}function Ix(t,e){let i="";return t.attributes&&t.attributes.forEach(t=>{t.friendlyName===e&&(i=t.value)}),i}function Fx(t,e,i,n){const s=[],r=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!r.includes(t)),t.forEach(t=>{const r={};e.forEach(e=>{var s;r[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(r)}),s}function Hx(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),r=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));r.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const o=r.join("\r\n"),a=new Blob([o],{type:"text/csv"});(0,Ex.saveAs)(a,`${i}.${e}`)}}}let Ox=(()=>{class t{constructor(){this.exportData=new mu}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,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(t,e){if(1&t&&(jo(0,"div",0),jo(1,"button",1),jo(2,"mat-icon"),Ma(3,"more_vert"),Yo(),Yo(),jo(4,"mat-menu",null,2),jo(6,"button",3),Ma(7),uu(8,"translate"),Yo(),Yo(),jo(9,"mat-menu",null,4),jo(11,"button",5),Jo("click",function(){return e.exportData.emit("csv")}),Ma(12,"Csv"),Yo(),Yo(),Yo()),2&t){const t=Fo(5),e=Fo(10);rr(1),Oo("matMenuTriggerFor",t),rr(5),Oo("matMenuTriggerFor",e),rr(1),xa(" ",lu(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[ak,kE,jE,wE,gE],pipes:[ox],styles:[""]}),t})();function Bx(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-table-options",6),Jo("exportData",function(e){return ze(t),ea().exportData.emit(e)}),Yo()}}const jx=["*"];let Yx=(()=>{class t{constructor(){this.hideExport=!1,this.page=new mu,this.pageSizeOptions=xx,this.pageSize=5,this.dataLength=0,this.exportData=new mu}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&xu(eE,7),2&t){let t;Eu(t=Du())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:jx,decls:7,vars:8,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(t,e){1&t&&(na(),jo(0,"div",0),jo(1,"div",1),jo(2,"mat-paginator",2),Jo("page",function(t){return e.page.emit(t)}),Yo(),Io(3,Bx,1,0,"perun-web-apps-table-options",3),Yo(),jo(4,"div",4),sa(5),Yo(),jo(6,"mat-paginator",5),Jo("page",function(t){return e.pageChanged(t)}),Yo(),Yo()),2&t&&(rr(2),Oo("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("ngIf",!e.hideExport),rr(3),Oo("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[eE,Bh,Ox],styles:[""]}),t})(),Nx=(()=>{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"h1",0),Ma(1),uu(2,"translate"),Yo(),jo(3,"div",1),Ma(4),uu(5,"translate"),Yo(),jo(6,"div",2),jo(7,"div",3),jo(8,"button",4),Jo("click",function(){return e.close()}),Ma(9),uu(10,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(1),Ea(lu(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),rr(3),xa(" ",lu(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),rr(5),xa(" ",lu(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Tx,Cx,Sx,ak],pipes:[ox],styles:[""]}),t})(),Kx=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new mu,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(m_),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientSettings(){const t=this.setIdpFilter(),e={authority:this.store.get("oidc_client","oauth_authority"),client_id:this.store.get("oidc_client","oauth_client_id"),redirect_uri:this.store.get("oidc_client","oauth_redirect_uri"),post_logout_redirect_uri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),response_type:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),filterProtocolClaims:!0,loadUserInfo:this.store.get("oidc_client","oauth_load_user_info"),automaticSilentRenew:!0,silent_redirect_uri:this.store.get("oidc_client","oauth_silent_redirect_uri")};return t&&(e.extraQueryParams={acr_values:t}),e}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}getUserManager(){return this.manager}startIdpFilterKeeper(){this.router.events.pipe(Yd(t=>t instanceof Kp)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.manager=new Qf.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=Dx();t.width="450px",this.dialog.open(Nx,t).afterClosed().subscribe(()=>{this.startAuthentication().then(()=>{})})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){this.manager.signoutRedirect().catch(function(t){console.log(t)})}isLoggedInPromise(){return B(this.manager.getUser()).pipe(I(t=>!!t&&!t.expired))}isLoggedIn(){return null!=this.user&&!this.user.expired}getClaims(){return this.user.profile}getAuthorizationHeaderValue(){return this.user?"Bearer "+this.user.access_token:""}startAuthentication(){return this.manager.signinRedirect()}completeAuthentication(){return this.manager.signinRedirectCallback().then(t=>{this.user=t,this.userSet.emit(this.user)})}startSigninMainWindow(){this.manager.signinRedirect({data:this.redirectUrl}).then(function(){console.log("signinRedirect done")}).catch(function(t){console.log(t)})}setUser(){this.manager.getUser().then(t=>{this.user=t})}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}verifyAuthentication(t,e){return this.isLoggedInPromise().toPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}handleAuthCallback(){return this.completeAuthentication().then(()=>!0)}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(gn(yo),gn(Kx),gn(Ax),gn(Wg))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Vx=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(jo(0,"h2",0),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[Cx],pipes:[ox],styles:[""]}),t})(),qx=(()=>{class t{constructor(t,e,i,n,s,r){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=r,this.loginScreenShown=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}verifyAuth(){return this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth()}startAuth(){return this.authService.startAuthentication()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=Dx();this.dialog.open(Vx,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}redirectToOriginDestination(){return this.authService.redirectToOriginDestination()}}return t.\u0275fac=function(e){return new(e||t)(gn(Ux),gn(Kx),gn(Zf),gn(Ef),gn(Ax),gn(m_))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),$x=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(gn(DE),gn(Ld))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Wx=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Gx=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new mu}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(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(gn(rx))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Jx=(()=>{class t{constructor(t,e,i,n,s,r){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=r}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()){const t=Dx();t.width="450px",this.dialog.open(Nx,t).afterClosed().subscribe(()=>{this.authService.startAuthentication().then(()=>{})})}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe(Ip(t=>{t instanceof of&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?Ok(e):n?void this.notificator.showRPCError(i):Ok(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(gn(Ux),gn(Wx),gn(Gx),gn(Kx),gn(Ax),gn(qx))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Zx=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Qx=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),Ok(s)}getHeaders(){let t=new qd;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new Jd,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe(bp(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe(bp(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let r=this.getHeaders();return r=r.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:r}).pipe(bp(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe(bp(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Gx),gn(Ux),gn(Kx))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xx=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,r,o,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?r.data.length:r.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),r.sortData(r.filteredData,o).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator closed",[pw(".3s ease-in")])]);const tR=fw("flyInOut",[bw(":enter",[_w({transform:"translateX(100%)"}),pw(".25s")]),bw(":leave",[pw(".5s",_w({transform:"translateX(100%)"}))])]);fw("rollInOut",[bw(":enter",[_w({height:"0px"}),pw(".25s")]),bw(":leave",[pw(".25s",_w({height:"0px"}))])]),fw("routeAnimations",[bw("* => *",[_w({position:"relative"}),Aw(":enter",[_w({width:"100%",opacity:0})],{optional:!0}),Aw(":leave",[_w({position:"absolute",width:"100%",opacity:1}),pw("0.15s",_w({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Aw(":enter",[_w({position:"absolute",width:"100%",opacity:0}),pw("0.15s",_w({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),fw("tagsOpenClose",[yw("open",_w({})),yw("closed",_w({width:"0px",height:"0px"})),bw("open <=> closed",[pw(".3s ease-in")])]),fw("switchAnimations",[bw("true => false",[Aw(":enter, :leave",_w({})),gw([Aw(":enter",[_w({transform:"translateX(-100%)"}),pw("1s ease-in-out",_w({transform:"translateX(0%)"}))],{optional:!0}),Aw(":leave",[_w({transform:"translateX(0%)",position:"absolute"}),pw("1s ease-in-out",_w({transform:"translateX(100%)"}))],{optional:!0})])]),bw("false => true",[Aw(":enter, :leave",_w({})),gw([Aw(":enter",[_w({transform:"translateX(100%)"}),pw("1s ease-in-out",_w({transform:"translateX(0%)"}))],{optional:!0}),Aw(":leave",[_w({transform:"translateX(0%)",position:"absolute"}),pw("1s ease-in-out",_w({transform:"translateX(-100%)"}))],{optional:!0})])])]),fw("slideInOutLeft",[bw(":enter",[_w({transform:"translateX(-100%)",position:"relative"}),pw("0.5s ease-in",_w({transform:"translateX(0%)"}))]),bw(":leave",[pw("0.5s ease-in",_w({transform:"translateX(-100%)"}))])]),fw("slideInOutRight",[bw(":enter",[_w({transform:"translateX(100%)",position:"fixed"}),pw("0.5s ease-in",_w({transform:"translateX(0%)"}))]),bw(":leave",[_w({transform:"translateX(-100%)",position:"relative"}),pw("0.5s ease-in",_w({transform:"translateX(100%)"}))])]);let eR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed]]}),t})();function iR(t,e){if(1&t&&(ci(),No(0,"circle",3)),2&t){const t=ea();fa("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Lo("r",t._getCircleRadius())}}function nR(t,e){if(1&t&&(ci(),No(0,"circle",3)),2&t){const t=ea();fa("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Lo("r",t._getCircleRadius())}}function sR(t,e){if(1&t&&(ci(),No(0,"circle",3)),2&t){const t=ea();fa("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Lo("r",t._getCircleRadius())}}function rR(t,e){if(1&t&&(ci(),No(0,"circle",3)),2&t){const t=ea();fa("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Lo("r",t._getCircleRadius())}}const oR=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class aR{constructor(t){this._elementRef=t}}const cR=hA(aR,"primary"),uR=new Ji("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let lR=(()=>{class t extends cR{constructor(e,i,n,s,r){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(n.head)||o.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=ny(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=ny(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,ny(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=vy(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(ly),Ho(Fl,8),Ho(Zv,8),Ho(uR))},t.\u0275cmp=Kt({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(Lo("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),fa("width",e.diameter,"px")("height",e.diameter,"px"),pa("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[bo],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ci(),jo(0,"svg",0),Io(1,iR,1,9,"circle",1),Io(2,nR,1,7,"circle",2),Yo()),2&t&&(fa("width",e.diameter,"px")("height",e.diameter,"px"),Oo("ngSwitch","indeterminate"===e.mode),Lo("viewBox",e._getViewBox()),rr(1),Oo("ngSwitchCase",!0),rr(1),Oo("ngSwitchCase",!1))},directives:[Kh,Uh],styles:[oR],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),hR=(()=>{class t extends lR{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(ly),Ho(Fl,8),Ho(Zv,8),Ho(uR))},t.\u0275cmp=Kt({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(fa("width",e.diameter,"px")("height",e.diameter,"px"),pa("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[bo],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ci(),jo(0,"svg",0),Io(1,sR,1,9,"circle",1),Io(2,rR,1,7,"circle",2),Yo()),2&t&&(fa("width",e.diameter,"px")("height",e.diameter,"px"),Oo("ngSwitch","indeterminate"===e.mode),Lo("viewBox",e._getViewBox()),rr(1),Oo("ngSwitchCase",!0),rr(1),Oo("ngSwitchCase",!1))},directives:[Kh,Uh],styles:[oR],encapsulation:2,changeDetection:0}),t})(),dR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA,ed],uA]}),t})();const fR=yy({passive:!0});let pR=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return op;const e=ay(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new k,s="cdk-text-field-autofilled",r=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",r,fR),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",r,fR)}}),n}stopMonitoring(t){const e=ay(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(gn(ly),gn(nl))},t.\u0275prov=dt({factory:function(){return new t(gn(ly),gn(nl))},token:t,providedIn:"root"}),t})(),gR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[hy]]}),t})();const mR=new Ji("MAT_INPUT_VALUE_ACCESSOR"),_R=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let yR=0;class wR{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const bR=pA(wR);let vR=(()=>{class t extends bR{constructor(t,e,i,n,s,r,o,a,c,u){super(r,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+yR++,this.focused=!1,this.stateChanges=new k,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>fy().has(t));const l=this._elementRef.nativeElement,h=l.nodeName.toLowerCase();this._inputValueAccessor=o||l,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=iy(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=iy(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&fy().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=iy(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){_R.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(ly),Ho(aS,10),Ho(OS,8),Ho(WS,8),Ho(xA),Ho(mR,10),Ho(pR),Ho(nl),Ho(EC,8))},t.\u0275dir=Gt({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&Jo("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(La("disabled",e.disabled)("required",e.required),Lo("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),pa("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Za([{provide:gC,useExisting:t}]),bo,ue]}),t})(),AR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[xA],imports:[[gR,RC,uA],gR,RC]}),t})();function kR(t,e){1&t&&No(0,"mat-spinner",7)}function TR(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function CR(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function SR(t,e){if(1&t){const t=qo();jo(0,"div",8),jo(1,"mat-form-field"),jo(2,"mat-label"),Ma(3),uu(4,"translate"),Yo(),jo(5,"input",9,10),Jo("ngModelChange",function(e){return ze(t),ea().subject=e}),Yo(),Io(7,TR,3,3,"mat-error",11),Yo(),jo(8,"mat-form-field"),jo(9,"mat-label"),Ma(10),uu(11,"translate"),Yo(),jo(12,"textarea",12,13),Jo("ngModelChange",function(e){return ze(t),ea().message=e}),uu(14,"translate"),Ma(15," "),Yo(),Io(16,CR,3,3,"mat-error",11),Yo(),Yo()}if(2&t){const t=Fo(6),e=Fo(13),i=ea();rr(3),Ea(lu(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),rr(2),Oo("ngModel",i.subject),rr(2),Oo("ngIf",t.invalid),rr(3),Ea(lu(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),rr(2),ra("placeholder",lu(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),Oo("ngModel",i.message),rr(4),Oo("ngIf",e.invalid)}}let MR=(()=>{class t{constructor(t,e,i,n,s,r){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=r,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(rx),Ho(Gx),Ho(Hf),Ho(_x),Ho(Kx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"h1",0),Ma(1),uu(2,"translate"),Yo(),Io(3,kR,1,0,"mat-spinner",1),Io(4,SR,17,13,"div",2),jo(5,"div",3),jo(6,"div",4),jo(7,"button",5),Jo("click",function(){return e.dialogRef.close()}),Ma(8),uu(9,"translate"),Yo(),jo(10,"button",6),Jo("click",function(){return e.sendBugReport()}),Ma(11),uu(12,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(1),Ea(lu(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading),rr(4),xa(" ",lu(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),rr(2),Oo("disabled",""===e.message||""===e.subject||e.loading),rr(1),xa(" ",lu(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Tx,Bh,Sx,ak,hR,Cx,xC,wC,vR,OC,QS,uS,YS,fC],pipes:[ox],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),ER=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=Dx();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(MR,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(Ax),Ho(_x))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"h1",0),Ma(1),Yo(),jo(2,"div",1),Ma(3),Yo(),jo(4,"div",2),jo(5,"div",3),jo(6,"button",4),Jo("click",function(){return e.onBugReportClick()}),Ma(7),uu(8,"translate"),Yo(),jo(9,"button",5),Jo("click",function(){return e.onCloseClick()}),Ma(10),uu(11,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(1),Ea(e.data.title),rr(2),xa("\n",e.data.description,"\n"),rr(3),Oo("hidden","error"!==e.data.type),rr(1),xa(" ",lu(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),rr(3),xa(" ",lu(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Tx,Cx,Sx,ak],pipes:[ox],styles:[""]}),t})();const xR=[[["caption"]],[["colgroup"],["col"]]],RR=["caption","colgroup, col"];function DR(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=iy(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const PR=new Ji("CDK_TABLE");let LR=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","cdkCellDef",""]]}),t})(),zR=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),IR=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class FR{}const HR=DR(FR);let OR=(()=>{class t extends HR{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=iy(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(Ho(PR,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,LR,5),Ru(i,zR,5),Ru(i,IR,5)),2&t){let t;Eu(t=Du())&&(e.cell=t.first),Eu(t=Du())&&(e.headerCell=t.first),Eu(t=Du())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Za([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),bo]}),t})();class BR{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let jR=(()=>{class t extends BR{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Ho(OR),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[bo]}),t})(),YR=(()=>{class t extends BR{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Ho(OR),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[bo]}),t})();class NR{constructor(){this.tasks=[],this.endTasks=[]}}const KR=new Ji("_COALESCED_STYLE_SCHEDULER");let UR=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new k}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new NR,this._getScheduleObservable().pipe(Pk(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new NR;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?B(Promise.resolve(void 0)):this._ngZone.onStable.pipe(fp(1))}}return t.\u0275fac=function(e){return new(e||t)(gn(nl))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),VR=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof WR?t.headerCell.template:this instanceof ZR?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic),Ho(kc))},t.\u0275dir=Gt({type:t,features:[ue]}),t})();class qR extends VR{}const $R=DR(qR);let WR=(()=>{class t extends $R{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic),Ho(kc),Ho(PR,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[bo,ue]}),t})();class GR extends VR{}const JR=DR(GR);let ZR=(()=>{class t extends JR{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic),Ho(kc),Ho(PR,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[bo,ue]}),t})(),QR=(()=>{class t extends VR{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic),Ho(kc),Ho(PR,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[bo]}),t})(),XR=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),tD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Vo(0,0)},directives:[XR],encapsulation:2}),t})(),eD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Vo(0,0)},directives:[XR],encapsulation:2}),t})(),iD=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const nD=["top","bottom","left","right"];class sD{constructor(t,e,i,n,s=!0,r=!0,o){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=r,this._positionListener=o,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],r=s.children.length,o=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,i),u=e.lastIndexOf(!0),l=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const o of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===l?[]:o.slice(l).map((t,e)=>i[e+l]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,r=[],o=[],a=[];for(let u=0,l=0;u{var t,e;for(let o=0;o{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);nD.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of nD)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const rD=new Ji("CDK_SPL");let oD=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","rowOutlet",""]]}),t})(),aD=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),cD=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),uD=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),lD=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=o,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=u,this._stickyPositioningListener=l,this._onDestroy=new k,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.viewChange=new Xf({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=iy(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=iy(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe(Pk(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),qk(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),hD(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=hD(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=hD(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=hD(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],qk(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;qk(this.dataSource)?t=this.dataSource.connect(this):Ak(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Bd(this.dataSource)),this._renderChangeSubscription=t.pipe(Pk(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))XR.mostRecentCellOutlet&&XR.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new sD(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Bd()).pipe(Pk(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(Ho(kc),Ho(Rc),Ho(sc),$i("role"),Ho(cw,8),Ho(Fl),Ho(ly),Ho(Jk),Ho(KR),Ho(Xk),Ho(rD,12))},t.\u0275cmp=Kt({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,iD,5),Ru(i,OR,5),Ru(i,QR,5),Ru(i,WR,5),Ru(i,ZR,5)),2&t){let t;Eu(t=Du())&&(e._noDataRow=t.first),Eu(t=Du())&&(e._contentColumnDefs=t),Eu(t=Du())&&(e._contentRowDefs=t),Eu(t=Du())&&(e._contentHeaderRowDefs=t),Eu(t=Du())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(xu(oD,7),xu(aD,7),xu(cD,7),xu(uD,7)),2&t){let t;Eu(t=Du())&&(e._rowOutlet=t.first),Eu(t=Du())&&(e._headerRowOutlet=t.first),Eu(t=Du())&&(e._footerRowOutlet=t.first),Eu(t=Du())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&pa("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[Za([{provide:PR,useExisting:t},{provide:Jk,useClass:$k},{provide:KR,useClass:UR},{provide:rD,useValue:null}])],ngContentSelectors:RR,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(na(xR),sa(0),sa(1,1),Vo(2,0),Vo(3,1),Vo(4,2),Vo(5,3))},directives:[aD,oD,uD,cD],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function hD(t,e){return t.concat(Array.from(e))}let dD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[eT]]}),t})();const fD=[[["caption"]],[["colgroup"],["col"]]],pD=["caption","colgroup, col"];let gD=(()=>{class t extends lD{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&pa("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[Za([{provide:Jk,useClass:$k},{provide:lD,useExisting:t},{provide:PR,useExisting:t},{provide:KR,useClass:UR},{provide:rD,useValue:null}]),bo],ngContentSelectors:pD,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(na(fD),sa(0),sa(1,1),Vo(2,0),Vo(3,1),Vo(4,2),Vo(5,3))},directives:[aD,oD,uD,cD],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),mD=(()=>{class t extends LR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matCellDef",""]],features:[Za([{provide:LR,useExisting:t}]),bo]}),t})(),_D=(()=>{class t extends zR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matHeaderCellDef",""]],features:[Za([{provide:zR,useExisting:t}]),bo]}),t})(),yD=(()=>{class t extends OR{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Za([{provide:OR,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),bo]}),t})(),wD=(()=>{class t extends jR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[bo]}),t})(),bD=(()=>{class t extends YR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[bo]}),t})(),vD=(()=>{class t extends WR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Za([{provide:WR,useExisting:t}]),bo]}),t})(),AD=(()=>{class t extends QR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Za([{provide:QR,useExisting:t}]),bo]}),t})(),kD=(()=>{class t extends tD{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Za([{provide:tD,useExisting:t}]),bo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Vo(0,0)},directives:[XR],encapsulation:2}),t})(),TD=(()=>{class t extends eD{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Za([{provide:eD,useExisting:t}]),bo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Vo(0,0)},directives:[XR],encapsulation:2}),t})(),CD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[dD,uA],uA]}),t})();class SD extends class extends class{}{constructor(t=[]){super(),this._renderData=new Xf([]),this._filter=new Xf(""),this._internalPageChanges=new k,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(sy(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),r=this.sortingDataAccessor(e,i);const o=typeof s,a=typeof r;o!==a&&("number"===o&&(s+=""),"number"===a&&(r+=""));let c=0;return null!=s&&null!=r?s>r?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new Xf(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?V(this._sort.sortChange,this._sort.initialized):Bd(null),i=this._paginator?V(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Bd(null),n=ep([this._data,this._filter]).pipe(I(([t])=>this._filterData(t))),s=ep([n,e]).pipe(I(([t])=>this._orderData(t))),r=ep([s,i]).pipe(I(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=r.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}{}function MD(t,e){1&t&&No(0,"mat-spinner",6)}function ED(t,e){1&t&&No(0,"th",15)}function xD(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",t," ")}}function RD(t,e){1&t&&No(0,"tr",17)}function DD(t,e){1&t&&No(0,"tr",18)}function PD(t,e){if(1&t&&(jo(0,"div",7),jo(1,"p"),Ma(2),uu(3,"translate"),Yo(),jo(4,"div",8),Ma(5),uu(6,"translate"),Yo(),jo(7,"table",9),Ko(8,10),Io(9,ED,1,0,"th",11),Io(10,xD,2,1,"td",12),Uo(),Io(11,RD,1,0,"tr",13),Io(12,DD,1,0,"tr",14),Yo(),Yo()),2&t){const t=ea();rr(2),xa(" ",lu(3,5,t.data.description)," "),rr(3),xa(" ",lu(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),rr(2),Oo("dataSource",t.dataSource),rr(4),Oo("matHeaderRowDef",t.displayedColumns),rr(1),Oo("matRowDefColumns",t.displayedColumns)}}let LD=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new SD(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(jo(0,"div"),jo(1,"h1",0),Ma(2),uu(3,"translate"),Yo(),Io(4,MD,1,0,"mat-spinner",1),Io(5,PD,13,9,"div",2),jo(6,"div",3),jo(7,"button",4),Jo("click",function(){return e.onCancel()}),Ma(8),uu(9,"translate"),Yo(),jo(10,"button",5),Jo("click",function(){return e.onSubmit()}),Ma(11),uu(12,"translate"),Yo(),Yo(),Yo()),2&t&&(ga(e.theme),rr(2),Ea(lu(3,9,e.data.title)),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading),rr(3),xa(" ",lu(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),rr(2),Oo("disabled",e.loading),rr(1),xa(" ",lu(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[Tx,Bh,Sx,ak,hR,Cx,gD,yD,_D,mD,vD,AD,wD,bD,kD,TD],pipes:[ox],styles:[""]}),t})(),zD=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div"),jo(1,"h1",0),Ma(2),uu(3,"translate"),Yo(),jo(4,"div",1),jo(5,"button",2),Jo("click",function(){return e.onCancel()}),Ma(6),uu(7,"translate"),Yo(),jo(8,"button",3),Jo("click",function(){return e.onSubmit()}),Ma(9),uu(10,"translate"),Yo(),Yo(),Yo()),2&t&&(ga(e.theme),rr(2),Ea(lu(3,6,e.message)),rr(4),xa(" ",lu(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),rr(3),xa(" ",lu(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[Tx,Sx,ak],pipes:[ox],styles:[""]}),t})();function ID(t,e){if(1&t&&(jo(0,"div",5),jo(1,"mat-icon"),Ma(2),Yo(),Yo()),2&t){const t=ea();rr(2),Ea(t.data.icon)}}function FD(t,e){if(1&t&&(jo(0,"div",6),Ma(1),Yo()),2&t){const t=ea();rr(1),xa(" ",t.showTimestamp()," ")}}let HD=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new mu,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 t=Dx();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(ER,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function(t,e){return i=this,s=function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()},new((n=void 0)||(n=Promise))(function(t,e){function r(t){try{a(s.next(t))}catch(i){e(i)}}function o(t){try{a(s.throw(t))}catch(i){e(i)}}function a(e){var i;e.done?t(e.value):(i=e.value,i instanceof n?i:new n(function(t){t(i)})).then(r,o)}a((s=s.apply(i,[])).next())});var i,n,s}(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ax),Ho(Zx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div"),jo(1,"div",0),Jo("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),Io(2,ID,3,1,"div",1),jo(3,"div",2),Ma(4),uu(5,"translate"),Yo(),Io(6,FD,2,1,"div",3),jo(7,"div",4),Jo("click",function(){return e.waiting=!0,e.doAction()}),Ma(8),Yo(),Yo(),Yo()),2&t&&(Pa("notification ",e.inDialog?"":"mat-elevation-z7",""),pa("error","error"===e.data.type)("success","success"===e.data.type),rr(2),Oo("ngIf",null!==e.data.icon),rr(2),xa(" ",lu(5,12,e.data.title)," "),rr(2),Oo("ngIf",e.inDialog),rr(1),Oo("hidden",e.alreadyPressed),rr(1),xa(" ",e.data.actionText," "))},directives:[Bh,jE],pipes:[ox],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}"]}),t})();function OD(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"perun-web-apps-notification",2),Jo("closeNotification",function(){const e=ze(t).index;return ea().removeNotification(e)}),Yo(),Yo()}if(2&t){const t=e.$implicit;Oo("@flyInOut",void 0),rr(1),Oo("data",t)("newNotification",!0)}}const BD=function(t){return{top:t}};let jD=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Gx),Ho(Zx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&Jo("resize",function(t){return e.getScreenSize(t)},!1,gs)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(jo(0,"div",0),Io(1,OD,2,3,"div",1),Yo()),2&t&&(Oo("ngStyle",su(2,BD,e.getNotificatorTop())),rr(1),Oo("ngForOf",e.notifications))},directives:[qh,Hh,HD],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[tR]}}),t})();const YD=["*",[["mat-toolbar-row"]]],ND=["*","mat-toolbar-row"];class KD{constructor(t){this._elementRef=t}}const UD=hA(KD);let VD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),qD=(()=>{class t extends UD{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(ly),Ho(Fl))},t.\u0275cmp=Kt({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,VD,5),2&t){let t;Eu(t=Du())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&pa("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[bo],ngContentSelectors:ND,decls:2,vars:0,template:function(t,e){1&t&&(na(YD),sa(0),sa(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}),t})(),$D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA],uA]}),t})();const WD=function(t){return{background:t}},GD=function(t){return{color:t}};let JD=(()=>{class t{constructor(t,e,i){this.storeService=t,this.authService=e,this.sanitizer=i,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")}ngOnInit(){this.principal=this.storeService.getPerunPrincipal(),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}onLogOut(){this.authService.logout()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Kx),Ho(Ux),Ho(Ld))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:21,vars:28,consts:[[1,"header-container",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"router-icon-scale",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-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(jo(0,"mat-toolbar",0),jo(1,"div",1),jo(2,"button",2),Jo("click",function(){return e.sideNav.toggle()}),jo(3,"mat-icon"),Ma(4,"menu"),Yo(),Yo(),No(5,"a",3),No(6,"mat-icon",4),jo(7,"p",5),Ma(8),uu(9,"translate"),Yo(),Yo(),jo(10,"div",6),jo(11,"button",7),jo(12,"mat-icon",8),Ma(13," person "),Yo(),jo(14,"span",9),Ma(15),Yo(),Yo(),jo(16,"mat-menu",null,10),jo(18,"button",11),Jo("click",function(){return e.onLogOut()}),Ma(19),uu(20,"translate"),Yo(),Yo(),Yo(),Yo()),2&t){const t=Fo(17);Oo("ngStyle",su(18,WD,e.bgColor)),rr(2),Oo("ngStyle",su(20,GD,e.iconColor)),rr(3),Oo("innerHTML",e.logo,rs),rr(2),Oo("ngStyle",su(22,GD,e.textColor)),rr(1),Ea(lu(9,14,"HEADER.TITLE")),rr(2),Oo("ngStyle",su(24,GD,e.textColor)),rr(1),Oo("matMenuTriggerFor",t),rr(1),Oo("ngStyle",su(26,GD,e.iconColor)),rr(3),Da(" ",e.principal.user.titleBefore," ",e.principal.user.firstName," ",e.principal.user.middleName," ",e.principal.user.lastName," ",e.principal.user.titleAfter," "),rr(4),Ea(lu(20,16,"HEADER.LOGOUT"))}},directives:[qD,qh,ak,jE,y_,__,kE,wE,gE],pipes:[ox],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#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}.router-icon-scale[_ngcontent-%COMP%]{transform:scale(.75)}"]}),t})();function ZD(t){return e=>e.lift(new QD(t))}class QD{constructor(t){this.value=t}call(t,e){return e.subscribe(new XD(t,this.value))}}class XD extends p{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const tP=["*"];function eP(t,e){if(1&t){const t=qo();jo(0,"div",2),Jo("click",function(){return ze(t),ea()._onBackdropClicked()}),Yo()}2&t&&pa("mat-drawer-shown",ea()._isShowingBackdrop())}function iP(t,e){1&t&&(jo(0,"mat-drawer-content"),sa(1,2),Yo())}const nP=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],sP=["mat-drawer","mat-drawer-content","*"];function rP(t,e){if(1&t){const t=qo();jo(0,"div",2),Jo("click",function(){return ze(t),ea()._onBackdropClicked()}),Yo()}2&t&&pa("mat-drawer-shown",ea()._isShowingBackdrop())}function oP(t,e){1&t&&(jo(0,"mat-sidenav-content",3),sa(1,2),Yo())}const aP=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],cP=["mat-sidenav","mat-sidenav-content","*"],uP=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",lP={transformDrawer:fw("transform",[yw("open, open-instant",_w({transform:"none",visibility:"visible"})),yw("void",_w({"box-shadow":"none",visibility:"hidden"})),bw("void => open-instant",pw("0ms")),bw("void <=> open, open-instant => void",pw("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},hP=new Ji("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),dP=new Ji("MAT_DRAWER_CONTAINER");let fP=(()=>{class t extends Qk{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc),Ho(rt(()=>gP)),Ho(sc),Ho(Zk),Ho(nl))},t.\u0275cmp=Kt({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&fa("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[bo],ngContentSelectors:tP,decls:1,vars:0,template:function(t,e){1&t&&(na(),sa(0))},encapsulation:2,changeDetection:0}),t})(),pP=(()=>{class t{constructor(t,e,i,n,s,r,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=r,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new k,this._animationEnd=new k,this._animationState="void",this.openedChange=new mu(!0),this._openedStream=this.openedChange.pipe(Yd(t=>t),I(()=>{})),this.openedStart=this._animationStarted.pipe(Yd(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),ZD(void 0)),this._closedStream=this.openedChange.pipe(Yd(t=>!t),I(()=>{})),this.closedStart=this._animationStarted.pipe(Yd(t=>t.fromState!==t.toState&&"void"===t.toState),ZD(void 0)),this._destroyed=new k,this.onPositionChanged=new mu,this._modeChanged=new k,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{uk(this._elementRef.nativeElement,"keydown").pipe(Yd(t=>t.keyCode===j_&&!this.disableClose&&!q_(t)),Pk(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(kk((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=iy(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=iy(t)}get opened(){return this._opened}set opened(t){this.toggle(iy(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(fp(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Ky),Ho(Xy),Ho(ly),Ho(nl),Ho(Fl,8),Ho(dP,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&Zo("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(Lo("align",null),za("@transform",e._animationState),pa("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:tP,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(na(),jo(0,"div",0),sa(1),Yo())},directives:[Qk],encapsulation:2,data:{animation:[lP.transformDrawer]},changeDetection:0}),t})(),gP=(()=>{class t{constructor(t,e,i,n,s,r=!1,o){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=o,this._drawers=new yu,this.backdropClick=new mu,this._destroyed=new k,this._doCheckSubject=new k,this._contentMargins={left:null,right:null},this._contentMarginChanges=new k,t&&t.change.pipe(Pk(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Pk(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=iy(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:iy(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(mp(this._allDrawers),Pk(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(mp(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Q_(10),Pk(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Yd(t=>t.fromState!==t.toState),Pk(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"!==t.mode&&t.openedChange.pipe(Pk(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Pk(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(fp(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Pk(V(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(Ho(cw,8),Ho(sc),Ho(nl),Ho(Rc),Ho(Xk),Ho(hP),Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,fP,5),Ru(i,pP,5)),2&t){let t;Eu(t=Du())&&(e._content=t.first),Eu(t=Du())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&xu(fP,5),2&t){let t;Eu(t=Du())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&pa("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Za([{provide:dP,useExisting:t}])],ngContentSelectors:sP,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(t,e){1&t&&(na(nP),Io(0,eP,1,2,"div",0),sa(1),sa(2,1),Io(3,iP,2,0,"mat-drawer-content",1)),2&t&&(Oo("ngIf",e.hasBackdrop),rr(3),Oo("ngIf",!e._content))},directives:[Bh,fP],styles:[uP],encapsulation:2,changeDetection:0}),t})(),mP=(()=>{class t extends fP{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc),Ho(rt(()=>yP)),Ho(sc),Ho(Zk),Ho(nl))},t.\u0275cmp=Kt({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&fa("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[bo],ngContentSelectors:tP,decls:1,vars:0,template:function(t,e){1&t&&(na(),sa(0))},encapsulation:2,changeDetection:0}),t})(),_P=(()=>{class t extends pP{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=iy(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=ny(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=ny(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(Lo("align",null),fa("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),pa("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[bo],ngContentSelectors:tP,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(na(),jo(0,"div",0),sa(1),Yo())},directives:[Qk],encapsulation:2,data:{animation:[lP.transformDrawer]},changeDetection:0}),t})(),yP=(()=>{class t extends gP{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,mP,5),Ru(i,_P,5)),2&t){let t;Eu(t=Du())&&(e._content=t.first),Eu(t=Du())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&pa("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[Za([{provide:dP,useExisting:t}]),bo],ngContentSelectors:cP,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(na(aP),Io(0,rP,1,2,"div",0),sa(1),sa(2,1),Io(3,oP,2,0,"mat-sidenav-content",1)),2&t&&(Oo("ngIf",e.hasBackdrop),rr(3),Oo("ngIf",!e._content))},directives:[Bh,mP,Qk],styles:[uP],encapsulation:2,changeDetection:0}),t})(),wP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,uA,hy,tT],tT,uA]}),t})(),bP=(()=>{class t{constructor(t){this.authResolver=t}getSideMenuItems(){const t=[];return this.authResolver.isCabinetAdmin()&&t.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications$",tabName:"all-publications"}),t.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications$",tabName:"my-publications"}),t.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication$",tabName:"create-publication"}),t.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors$",tabName:"authors"}),t.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),t.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),t}}return t.\u0275fac=function(e){return new(e||t)(gn(Zf))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA],uA]}),t})();const AP=["*"],kP=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],TP=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class CP{}const SP=lA(dA(CP));class MP{}const EP=dA(MP),xP=new Ji("MatList"),RP=new Ji("MatNavList");let DP=(()=>{class t extends SP{constructor(){super(...arguments),this._stateChanges=new k}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Za([{provide:RP,useExisting:t}]),bo,ue],ngContentSelectors:AP,decls:1,vars:0,template:function(t,e){1&t&&(na(),sa(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),t})(),PP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),LP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),zP=(()=>{class t extends EP{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new k,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Pk(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=iy(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(mp(t)).subscribe(({length:t})=>{DA(e,`${i}-2-line`,!1),DA(e,`${i}-3-line`,!1),DA(e,`${i}-multi-line`,!1),2===t||3===t?DA(e,`${i}-${t}-line`,!0):t>3&&DA(e,`${i}-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 t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(RP,8),Ho(xP,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,PP,5),Ru(i,LP,5),Ru(i,RA,5)),2&t){let t;Eu(t=Du())&&(e._avatar=t.first),Eu(t=Du())&&(e._icon=t.first),Eu(t=Du())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&pa("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[bo],ngContentSelectors:TP,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(t,e){1&t&&(na(kP),jo(0,"div",0),No(1,"div",1),sa(2),jo(3,"div",2),sa(4,1),Yo(),sa(5,2),Yo()),2&t&&(rr(1),Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[jA],encapsulation:2,changeDetection:0}),t})(),IP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[PA,YA,uA,KA,ed],PA,uA,KA,vP]}),t})();function FP(t,e){1&t&&No(0,"mat-icon",6),2&t&&Oo("svgIcon",ea().$implicit.icon)}const HP=function(t){return{color:t}};function OP(t,e){if(1&t&&(jo(0,"mat-icon",7),Ma(1),Yo()),2&t){const t=ea().$implicit,e=ea();Oo("ngStyle",su(2,HP,e.iconColor)),rr(1),Ea(t.icon)}}function BP(t,e){if(1&t){const t=qo();jo(0,"mat-list-item",2),Jo("click",function(){return ze(t),ea().shouldHideMenu()}),Io(1,FP,1,1,"mat-icon",3),Io(2,OP,2,4,"mat-icon",4),jo(3,"span",5),Ma(4),uu(5,"translate"),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();pa("activated",i.isActive(t.activatedRegex)),ra("routerLink",t.link),Oo("ngStyle",su(9,HP,i.textColor)),rr(1),Oo("ngIf",t.isSVG),rr(1),Oo("ngIf",!t.isSVG),rr(2),Ea(lu(5,7,t.label))}}let jP=(()=>{class t{constructor(t,e,i){this.sideMenuItemService=t,this.storeService=e,this.router=i,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(t=>{t instanceof Kp&&(this.currentUrl=t.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(t){return new RegExp(t).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(bP),Ho(Kx),Ho(m_))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"svgIcon",4,"ngIf"],[3,"ngStyle",4,"ngIf"],[1,"nav-caption","ml-3"],[3,"svgIcon"],[3,"ngStyle"]],template:function(t,e){1&t&&(jo(0,"mat-nav-list",0),Io(1,BP,6,11,"mat-list-item",1),Yo()),2&t&&(rr(1),Oo("ngForOf",e.items))},directives:[DP,Hh,zP,qh,__,Bh,jE],pipes:[ox],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}"]}),t})();function YP(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let NP=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(rx),Ho(Gx),Ho(Hf),Ho(Kx))},t.\u0275cmp=Kt({type:t,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(t,e){if(1&t&&(jo(0,"h1",0),Ma(1),uu(2,"translate"),Yo(),jo(3,"div",1),jo(4,"mat-form-field"),jo(5,"mat-label"),Ma(6),uu(7,"translate"),Yo(),jo(8,"input",2,3),Jo("ngModelChange",function(t){return e.subject=t}),Yo(),Io(10,YP,3,3,"mat-error",4),Yo(),jo(11,"mat-form-field"),jo(12,"mat-label"),Ma(13),uu(14,"translate"),Yo(),jo(15,"textarea",5),Jo("ngModelChange",function(t){return e.message=t}),uu(16,"translate"),Ma(17," "),Yo(),jo(18,"mat-hint"),Ma(19),uu(20,"translate"),Yo(),Yo(),Yo(),jo(21,"div",6),jo(22,"div",7),jo(23,"button",8),Jo("click",function(){return e.close()}),Ma(24),uu(25,"translate"),Yo(),jo(26,"button",9),Jo("click",function(){return e.sendBugReport()}),Ma(27),uu(28,"translate"),Yo(),Yo(),Yo()),2&t){const t=Fo(9);rr(1),Ea(lu(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),rr(5),Ea(lu(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),rr(2),Oo("ngModel",e.subject),rr(2),Oo("ngIf",t.invalid),rr(3),Ea(lu(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),rr(2),ra("placeholder",lu(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),Oo("ngModel",e.message),rr(4),Ea(lu(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),rr(5),xa(" ",lu(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),rr(2),Oo("disabled",t.invalid),rr(1),xa(" ",lu(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Tx,Cx,xC,wC,vR,OC,QS,uS,YS,Bh,yC,Sx,ak,fC],pipes:[ox],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),KP=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Jt({name:"localisedText",type:t,pure:!0}),t})(),UP=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Jt({name:"localisedLink",type:t,pure:!0}),t})();const VP=function(t){return{color:t}};function qP(t,e){if(1&t&&(jo(0,"i",16),Ma(1),Yo()),2&t){const t=ea().$implicit,e=ea(3);Oo("ngStyle",su(2,VP,e.linksTextColor)),rr(1),xa(" ",t.icon," ")}}function $P(t,e){if(1&t){const t=qo();jo(0,"span",17),Jo("click",function(){ze(t);const e=ea().$implicit;return ea(3).openDialog(e.dialog)}),Ma(1),uu(2,"localisedText"),Yo()}if(2&t){const t=ea().$implicit,e=ea(3);Oo("ngStyle",su(6,VP,e.linksTextColor)),rr(1),xa("",du(2,2,t,e.language,"label")," ")}}function WP(t,e){if(1&t&&(jo(0,"a",18),uu(1,"localisedLink"),Ma(2),uu(3,"localisedText"),Yo()),2&t){const t=ea().$implicit,e=ea(3);Oo("href",hu(1,3,t,e.language),os)("ngStyle",su(10,VP,e.linksTextColor)),rr(2),Ea(du(3,6,t,e.language,"label"))}}function GP(t,e){if(1&t&&(jo(0,"span",19),Ma(1),uu(2,"localisedText"),Yo()),2&t){const t=ea().$implicit,e=ea(3);Oo("ngStyle",su(6,VP,e.linksTextColor)),rr(1),Ea(du(2,2,t,e.language,"label"))}}function JP(t,e){if(1&t&&(jo(0,"div",11),Io(1,qP,2,4,"i",12),Io(2,$P,3,8,"span",13),Io(3,WP,4,12,"a",14),uu(4,"localisedLink"),Io(5,GP,3,8,"span",15),uu(6,"localisedLink"),Yo()),2&t){const t=e.$implicit,i=ea(3);rr(1),Oo("ngIf",t.icon),rr(1),Oo("ngIf",t.dialog),rr(1),Oo("ngIf",hu(4,4,t,i.language)&&!t.dialog),rr(2),Oo("ngIf",!hu(6,7,t,i.language)&&!t.dialog)}}function ZP(t,e){if(1&t&&(jo(0,"div"),Io(1,JP,7,10,"div",10),Yo()),2&t){const t=ea().$implicit;rr(1),Oo("ngForOf",t.elements)}}function QP(t,e){if(1&t&&(jo(0,"div",7),jo(1,"h6",8),Ma(2),uu(3,"localisedText"),Yo(),Io(4,ZP,2,1,"div",9),Yo()),2&t){const t=e.$implicit,i=ea();rr(1),Oo("ngStyle",su(7,VP,i.headersTextColor)),rr(1),xa(" ",du(3,3,t,i.language,"title")," "),rr(2),Oo("ngIf",t.elements)}}function XP(t,e){if(1&t&&(jo(0,"span"),jo(1,"a",6),Ma(2),Yo(),Yo()),2&t){const t=e.$implicit,i=e.index,n=ea();rr(1),Oo("href",t.url,os)("ngStyle",su(3,VP,n.copyrightTextColor)),rr(1),Ea(i?", "+t.name:t.name)}}const tL=function(t){return{background:t}};let eL=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new mu}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=Dx();switch(t){case"reportIssue":e.width="550px",this.dialog.open(NP,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):"",this.logoPadding="admin-gui"===this.application?this.storeService.get("logo_padding"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(Ho(Kx),Ho(Ld))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["style","padding-top: 16px",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"],[3,"ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],[2,"display","flex","flex-direction","row"],[1,"router-icon-scale",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[2,"padding-top","16px"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(jo(0,"div",0),Io(1,sL,2,6,"div",1),Io(2,rL,3,1,"div",2),Io(3,oL,2,1,"div",3),Io(4,cL,2,4,"p",4),Yo(),jo(5,"div",5),jo(6,"div",6),jo(7,"div",7),No(8,"router-outlet"),Yo(),jo(9,"div",8),No(10,"perun-web-apps-footer"),Yo(),Yo(),Yo()),2&t&&(Oo("ngStyle",ru(6,uL,e.headerBackgroundColor,e.headerTextColor)),rr(1),Oo("ngIf","admin-gui"===e.application),rr(1),Oo("ngIf","publications"===e.application),rr(1),Oo("ngIf","user-profile"===e.application),rr(1),Oo("ngIf",!!e.headerTitle),rr(2),Oo("ngStyle",ru(9,lL,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[qh,Bh,b_,eL,jE],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}.router-icon-scale[_ngcontent-%COMP%]{transform:scale(.75);margin-top:.3rem}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),t})();const dL=function(t){return{background:t}},fL=function(t){return{"min-height":t}};function pL(t,e){if(1&t){const t=qo();jo(0,"div"),No(1,"perun-web-apps-header",1),jo(2,"mat-sidenav-container"),jo(3,"mat-sidenav",2,3),No(5,"perun-web-apps-side-menu",4),Yo(),jo(6,"mat-sidenav-content",5),jo(7,"div",6),No(8,"router-outlet"),Yo(),jo(9,"perun-web-apps-footer",7),Jo("footerHeight",function(e){return ze(t),ea().setContentHeight(e)}),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=Fo(4),e=ea();rr(1),Oo("sideNav",t),rr(2),Oo("mode",e.sidebarMode)("ngStyle",su(7,dL,e.sideMenuBgColor))("opened",!e.isMobile()),rr(2),Oo("sideNav",t),rr(1),Oo("ngStyle",su(9,dL,e.contentBackgroundColor)),rr(1),Oo("ngStyle",su(11,fL,e.contentHeight))}}function gL(t,e){1&t&&(jo(0,"div"),No(1,"perun-web-apps-login-screen-base",8),uu(2,"translate"),Yo()),2&t&&(rr(1),Oo("application","publications")("headerTitle",lu(2,2,"HEADER.TITLE")))}let mL=(()=>{class t{constructor(t,e){this.store=t,this.initAuth=e,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)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=t.minWidth}setContentHeight(t){this.contentHeight="calc(100vh - 84px - "+t+"px)"}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(Ho(Kx),Ho(qx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&Jo("resize",function(t){return e.getScreenSize(t)},!1,gs)},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"],[3,"footerHeight"],[3,"application","headerTitle"]],template:function(t,e){1&t&&(No(0,"perun-web-apps-notificator"),Io(1,pL,10,13,"div",0),Io(2,gL,3,4,"div",0)),2&t&&(rr(1),Oo("ngIf",!e.isLoginScreenShow),rr(1),Oo("ngIf",e.isLoginScreenShow))},directives:[jD,Bh,JD,yP,_P,qh,jP,mP,b_,eL,hL],pipes:[ox],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}"]}),t})();class _L{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}let yL=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[wL(tinycolor(n).lighten(52),"50"),wL(tinycolor(n).lighten(37),"100"),wL(tinycolor(n).lighten(26),"200"),wL(tinycolor(n).lighten(12),"300"),wL(tinycolor(n).lighten(6),"400"),wL(tinycolor(n),"500"),wL(tinycolor(n).darken(6),"600"),wL(tinycolor(n).darken(12),"700"),wL(tinycolor(n).darken(18),"800"),wL(tinycolor(n).darken(24),"900"),wL(tinycolor(n).lighten(50).saturate(30),"A100"),wL(tinycolor(n).lighten(30).saturate(30),"A200"),wL(tinycolor(n).lighten(10).saturate(15),"A400"),wL(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new qd({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("isInstanceFaviconContained")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(gn(uf),gn(Kx))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function wL(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let bL=(()=>{class t{constructor(t,e,i,n,s,r){this.initAuthService=t,this.appConfigService=e,this.storeService=i,this.location=n,this.authzSevice=s,this.guiAuthResolver=r,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(t=>{throw console.error(t),this.location.go("/"),location.reload(),t}).then(t=>t?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{this.authzSevice.configuration.basePath=this.storeService.get("api_url"),t()})}loadPolicies(){return new Promise((t,e)=>{this.authzSevice.getAllPolicies().subscribe(e=>{this.guiAuthResolver.setPerunPolicies(e),t()},t=>e(t))})}}return t.\u0275fac=function(e){return new(e||t)(gn(qx),gn(yL),gn(Kx),gn(Zl),gn(Ef),gn(Zf))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const vL=new Ji("perun-api-service");let AL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,Mx,ck,ax]]}),t})();const kL=["*",[["mat-card-footer"]]],TL=["*","mat-card-footer"];let CL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),SL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),ML=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&pa("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:TL,decls:2,vars:0,template:function(t,e){1&t&&(na(kL),sa(0),sa(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}.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}),t})(),EL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uA],uA]}),t})();const xL=["input"],RL=function(t){return{enterDuration:t}},DL=["*"],PL=new Ji("mat-checkbox-default-options",{providedIn:"root",factory:LL});function LL(){return{color:"accent",clickAction:"check-indeterminate"}}let zL=0;const IL=LL(),FL={provide:IC,useExisting:rt(()=>jL),multi:!0};class HL{}class OL{constructor(t){this._elementRef=t}}const BL=fA(hA(dA(lA(OL))));let jL=(()=>{class t extends BL{constructor(t,e,i,n,s,r,o){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++zL,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new mu,this.indeterminateChange=new mu,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||IL,this.color=this.defaultColor=this._options.color||IL.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=iy(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=iy(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=iy(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new HL;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(Xy),Ho(nl),$i("tabindex"),Ho(Zv,8),Ho(PL,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(xu(xL,5),xu(jA,5)),2&t){let t;Eu(t=Du())&&(e._inputElement=t.first),Eu(t=Du())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(La("id",e.id),Lo("tabindex",null),pa("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Za([FL]),bo],ngContentSelectors:DL,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(na(),jo(0,"label",0,1),jo(2,"span",2),jo(3,"input",3,4),Jo("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),Yo(),jo(5,"span",5),No(6,"span",6),Yo(),No(7,"span",7),jo(8,"span",8),ci(),jo(9,"svg",9),No(10,"path",10),Yo(),ui(),No(11,"span",11),Yo(),Yo(),jo(12,"span",12,13),Jo("cdkObserveContent",function(){return e._onLabelTextChange()}),jo(14,"span",14),Ma(15,"\xa0"),Yo(),sa(16),Yo(),Yo()),2&t){const t=Fo(1),i=Fo(13);Lo("for",e.inputId),rr(2),pa("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),rr(1),Oo("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),Lo("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),rr(2),Oo("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",su(19,RL,"NoopAnimations"===e._animationMode?0:150))}},directives:[jA,Cy],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),YL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})(),NL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[YA,uA,Sy,YL],uA,YL]}),t})(),KL=0;const UL=new Ji("CdkAccordion");let VL=(()=>{class t{constructor(){this._stateChanges=new k,this._openCloseAllActions=new k,this.id="cdk-accordion-"+KL++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=iy(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Za([{provide:UL,useExisting:t}]),ue]}),t})(),qL=0,$L=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=h.EMPTY,this.closed=new mu,this.opened=new mu,this.destroyed=new mu,this.expandedChange=new mu,this.id="cdk-accordion-child-"+qL++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=iy(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=iy(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(UL,12),Ho(Rc),Ho(Gk))},t.\u0275dir=Gt({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Za([{provide:UL,useValue:void 0}])]}),t})(),WL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})();const GL=["body"];function JL(t,e){}const ZL=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],QL=["mat-expansion-panel-header","*","mat-action-row"];function XL(t,e){1&t&&No(0,"span",2),2&t&&Oo("@indicatorRotate",ea()._getExpandedState())}const tz=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ez=["mat-panel-title","mat-panel-description","*"],iz=new Ji("MAT_ACCORDION"),nz="225ms cubic-bezier(0.4,0.0,0.2,1)",sz={indicatorRotate:fw("indicatorRotate",[yw("collapsed, void",_w({transform:"rotate(0deg)"})),yw("expanded",_w({transform:"rotate(180deg)"})),bw("expanded <=> collapsed, void => collapsed",pw(nz))]),bodyExpansion:fw("bodyExpansion",[yw("collapsed, void",_w({height:"0px",visibility:"hidden"})),yw("expanded",_w({height:"*",visibility:"visible"})),bw("expanded <=> collapsed, void => collapsed",pw(nz))])};let rz=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),oz=0;const az=new Ji("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let cz=(()=>{class t extends $L{constructor(t,e,i,n,s,r,o){super(t,e,i),this._viewContainerRef=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new mu,this.afterCollapse=new mu,this._inputChanges=new k,this._headerId="mat-expansion-panel-header-"+oz++,this._bodyAnimationDone=new k,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(kk((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=iy(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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(mp(null),Yd(()=>this.expanded&&!this._portal),fp(1)).subscribe(()=>{this._portal=new sT(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(Ho(iz,12),Ho(Rc),Ho(Gk),Ho(Nc),Ho(Fl),Ho(Zv,8),Ho(az,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,rz,5),2&t){let t;Eu(t=Du())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&xu(GL,5),2&t){let t;Eu(t=Du())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&pa("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Za([{provide:iz,useValue:void 0}]),bo,ue],ngContentSelectors:QL,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(na(ZL),sa(0),jo(1,"div",0,1),Jo("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),jo(3,"div",2),sa(4,1),Io(5,JL,0,0,"ng-template",3),Yo(),sa(6,2),Yo()),2&t&&(rr(1),Oo("@bodyExpansion",e._getExpandedState())("id",e.id),Lo("aria-labelledby",e._headerId),rr(4),Oo("cdkPortalOutlet",e._portal))},directives:[uT],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[sz.bodyExpansion]},changeDetection:0}),t})(),uz=(()=>{class t{constructor(t,e,i,n,s,r){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=r,this._parentChangeSubscription=h.EMPTY;const o=t.accordion?t.accordion._stateChanges.pipe(Yd(t=>!(!t.hideToggle&&!t.togglePosition))):op;this._parentChangeSubscription=V(t.opened,t.closed,o,t._inputChanges.pipe(Yd(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Yd(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case Y_:case B_:q_(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(Ho(cz,1),Ho(sc),Ho(Xy),Ho(Rc),Ho(az,8),Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(Lo("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),fa("height",e._getHeaderHeight()),pa("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:ez,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(na(tz),jo(0,"span",0),sa(1),sa(2,1),sa(3,2),Yo(),Io(4,XL,1,1,"span",1)),2&t&&(rr(4),Oo("ngIf",e._showToggle()))},directives:[Bh],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}[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:""}\n'],encapsulation:2,data:{animation:[sz.indicatorRotate]},changeDetection:0}),t})(),lz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),hz=(()=>{class t extends VL{constructor(){super(...arguments),this._ownHeaders=new yu,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=iy(t)}ngAfterContentInit(){this._headers.changes.pipe(mp(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Oy(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,uz,5),2&t){let t;Eu(t=Du())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&pa("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[Za([{provide:iz,useExisting:t}]),bo]}),t})(),dz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,uA,WL,lT]]}),t})(),fz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[PA,uA],PA,uA]}),t})();function pz(t,e){1&t&&sa(0)}const gz=["*"];let mz=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),_z=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),yz=0;const wz="edit",bz="done",vz="error",Az=new Ji("STEPPER_GLOBAL_OPTIONS");let kz=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new mu,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=iy(t)}get optional(){return this._optional}set optional(t){this._optional=iy(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=iy(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=iy(t)}_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))}}return t.\u0275fac=function(e){return new(e||t)(Ho(rt(()=>Tz)),Ho(Az,8))},t.\u0275cmp=Kt({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,_z,5),2&t){let t;Eu(t=Du())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&xu(Ic,7),2&t){let t;Eu(t=Du())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[ue],ngContentSelectors:gz,decls:1,vars:0,template:function(t,e){1&t&&(na(),Io(0,pz,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),Tz=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new k,this.steps=new yu,this._linear=!1,this._selectedIndex=0,this.selectionChange=new mu,this._orientation="horizontal",this._groupId=yz++,this._document=n}get linear(){return this._linear}set linear(t){this._linear=iy(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var e;const i=ny(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe(mp(this._steps),Pk(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new Oy(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Bd()).pipe(mp(this._layoutDirection()),Pk(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),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._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(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const i=this.steps.toArray()[t],n=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?vz:!t.completed||e?"number":t.editable?wz:bz}_getGuidelineLogic(t,e,i="number"){return t._showError&&t.hasError&&!e?vz:t.completed&&!e?bz:t.completed&&e?i:t.editable&&e?wz:i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=q_(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==Y_&&i!==B_?n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Tz))},t.\u0275dir=Gt({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._handleClick()}),2&t&&La("type",e.type)},inputs:{type:"type"}}),t})(),Sz=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Tz))},t.\u0275dir=Gt({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._handleClick()}),2&t&&La("type",e.type)},inputs:{type:"type"}}),t})(),Mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[uw]]}),t})();function Ez(t,e){if(1&t&&Vo(0,8),2&t){const t=ea();Oo("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function xz(t,e){if(1&t&&(jo(0,"span"),Ma(1),Yo()),2&t){const t=ea(2);rr(1),Ea(t._getDefaultTextForState(t.state))}}function Rz(t,e){if(1&t&&(jo(0,"mat-icon"),Ma(1),Yo()),2&t){const t=ea(2);rr(1),Ea(t._getDefaultTextForState(t.state))}}function Dz(t,e){1&t&&(Ko(0,9),Io(1,xz,2,1,"span",10),Io(2,Rz,2,1,"mat-icon",11),Uo()),2&t&&(Oo("ngSwitch",ea().state),rr(1),Oo("ngSwitchCase","number"))}function Pz(t,e){if(1&t&&(jo(0,"div",12),Vo(1,13),Yo()),2&t){const t=ea();rr(1),Oo("ngTemplateOutlet",t._templateLabel().template)}}function Lz(t,e){if(1&t&&(jo(0,"div",12),Ma(1),Yo()),2&t){const t=ea();rr(1),Ea(t.label)}}function zz(t,e){if(1&t&&(jo(0,"div",14),Ma(1),Yo()),2&t){const t=ea();rr(1),Ea(t._intl.optionalLabel)}}function Iz(t,e){if(1&t&&(jo(0,"div",15),Ma(1),Yo()),2&t){const t=ea();rr(1),Ea(t.errorMessage)}}function Fz(t,e){}function Hz(t,e){if(1&t&&(sa(0),Io(1,Fz,0,0,"ng-template",0)),2&t){const t=ea();rr(1),Oo("cdkPortalOutlet",t._portal)}}const Oz=["*"];function Bz(t,e){1&t&&No(0,"div",9)}const jz=function(t,e){return{step:t,i:e}};function Yz(t,e){if(1&t&&(Ko(0),Vo(1,7),Io(2,Bz,1,0,"div",8),Uo()),2&t){const t=e.$implicit,i=e.index,n=e.last;ea(2);const s=Fo(4);rr(1),Oo("ngTemplateOutlet",s)("ngTemplateOutletContext",ru(3,jz,t,i)),rr(1),Oo("ngIf",!n)}}function Nz(t,e){if(1&t){const t=qo();jo(0,"div",10),Jo("@horizontalStepTransition.done",function(e){return ze(t),ea(2)._animationDone.next(e)}),Vo(1,11),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ea(2);Oo("@horizontalStepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),Lo("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),rr(1),Oo("ngTemplateOutlet",t.content)}}function Kz(t,e){if(1&t&&(Ko(0),jo(1,"div",3),Io(2,Yz,3,6,"ng-container",4),Yo(),jo(3,"div",5),Io(4,Nz,2,5,"div",6),Yo(),Uo()),2&t){const t=ea();rr(2),Oo("ngForOf",t.steps),rr(2),Oo("ngForOf",t.steps)}}function Uz(t,e){if(1&t){const t=qo();jo(0,"div",13),Vo(1,7),jo(2,"div",14),jo(3,"div",15),Jo("@verticalStepTransition.done",function(e){return ze(t),ea(2)._animationDone.next(e)}),jo(4,"div",16),Vo(5,11),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,s=ea(2),r=Fo(4);rr(1),Oo("ngTemplateOutlet",r)("ngTemplateOutletContext",ru(9,jz,t,i)),rr(1),pa("mat-stepper-vertical-line",!n),rr(1),Oo("@verticalStepTransition",s._getAnimationDirection(i))("id",s._getStepContentId(i)),Lo("aria-labelledby",s._getStepLabelId(i))("aria-expanded",s.selectedIndex===i),rr(2),Oo("ngTemplateOutlet",t.content)}}function Vz(t,e){if(1&t&&(Ko(0),Io(1,Uz,6,12,"div",12),Uo()),2&t){const t=ea();rr(1),Oo("ngForOf",t.steps)}}function qz(t,e){if(1&t){const t=qo();jo(0,"mat-step-header",17),Jo("click",function(){return e.step.select()})("keydown",function(e){return ze(t),ea()._onKeydown(e)}),Yo()}if(2&t){const t=e.step,i=e.i,n=ea();pa("mat-horizontal-stepper-header","horizontal"===n.orientation)("mat-vertical-stepper-header","vertical"===n.orientation),Oo("tabIndex",n._getFocusIndex()===i?0:-1)("id",n._getStepLabelId(i))("index",i)("state",n._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===i)("active",t.completed||n.selectedIndex===i||!n.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple)("color",t.color||n.color),Lo("aria-posinset",i+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)}}let $z=(()=>{class t extends _z{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matStepLabel",""]],features:[bo]}),t})(),Wz=(()=>{class t{constructor(){this.changes=new k,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Gz={provide:Wz,deps:[[new bn,new vn,Wz]],useFactory:function(t){return t||new Wz}};class Jz extends mz{constructor(t){super(t)}}const Zz=hA(Jz,"primary");let Qz=(()=>{class t extends Zz{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof $z?null:this.label}_templateLabel(){return this.label instanceof $z?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Wz),Ho(Xy),Ho(sc),Ho(Rc))},t.\u0275cmp=Kt({type:t,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:[bo],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"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(No(0,"div",0),jo(1,"div"),jo(2,"div",1),Io(3,Ez,1,2,"ng-container",2),Io(4,Dz,3,2,"ng-container",3),Yo(),Yo(),jo(5,"div",4),Io(6,Pz,2,1,"div",5),Io(7,Lz,2,1,"div",5),Io(8,zz,2,1,"div",6),Io(9,Iz,2,1,"div",7),Yo()),2&t&&(Oo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),rr(1),Pa("mat-step-icon-state-",e.state," mat-step-icon"),pa("mat-step-icon-selected",e.selected),rr(1),Oo("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),rr(1),Oo("ngSwitchCase",!0),rr(2),pa("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),rr(1),Oo("ngIf",e._templateLabel()),rr(1),Oo("ngIf",e._stringLabel()),rr(1),Oo("ngIf",e.optional&&"error"!=e.state),rr(1),Oo("ngIf","error"==e.state))},directives:[jA,Kh,Uh,Vh,Bh,$h,jE],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.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,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.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}),t})();const Xz={horizontalStepTransition:fw("horizontalStepTransition",[yw("previous",_w({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),yw("current",_w({transform:"none",visibility:"inherit"})),yw("next",_w({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),bw("* => *",pw("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:fw("verticalStepTransition",[yw("previous",_w({height:"0px",visibility:"hidden"})),yw("next",_w({height:"0px",visibility:"hidden"})),yw("current",_w({height:"*",visibility:"inherit"})),bw("* <=> current",pw("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let tI=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),eI=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),iI=(()=>{class t extends kz{constructor(t,e,i,n){super(t,n),this._errorStateMatcher=e,this._viewContainerRef=i,this._isSelected=h.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(up(()=>this._stepper.selectionChange.pipe(I(t=>t.selectedStep===this),mp(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new sT(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(Ho(rt(()=>oI)),Ho(xA,4),Ho(Nc),Ho(Az,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,$z,5),Ru(i,eI,5)),2&t){let t;Eu(t=Du())&&(e.stepLabel=t.first),Eu(t=Du())&&(e._lazyContent=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Za([{provide:xA,useExisting:t},{provide:kz,useExisting:t}]),bo],ngContentSelectors:Oz,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(na(),Io(0,Hz,2,1,"ng-template"))},directives:[uT],encapsulation:2,changeDetection:0}),t})(),nI=(()=>{class t extends Tz{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,features:[bo]}),t})(),sI=(()=>{class t extends nI{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-horizontal-stepper"]],features:[bo]}),t})(),rI=(()=>{class t extends nI{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-vertical-stepper"]],features:[bo]}),t})(),oI=(()=>{class t extends Tz{constructor(t,e,i,n){super(t,e,i,n),this.steps=new yu,this.animationDone=new mu,this.labelPosition="end",this._iconOverrides={},this._animationDone=new k;const s=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===s?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(Pk(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(kk((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),Pk(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return new(e||t)(Ho(cw,8),Ho(Rc),Ho(sc),Ho(Fl))},t.\u0275cmp=Kt({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,iI,5),Ru(i,tI,5)),2&t){let t;Eu(t=Du())&&(e._steps=t),Eu(t=Du())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&xu(Qz,5),2&t){let t;Eu(t=Du())&&(e._stepHeader=t)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(Lo("aria-orientation",e.orientation),pa("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Za([{provide:Tz,useExisting:t},{provide:sI,useExisting:t},{provide:rI,useExisting:t}]),bo],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(t,e){1&t&&(Ko(0,0),Io(1,Kz,5,2,"ng-container",1),Io(2,Vz,2,1,"ng-container",1),Uo(),Io(3,qz,1,22,"ng-template",null,2,Iu)),2&t&&(Oo("ngSwitch",e.orientation),rr(1),Oo("ngSwitchCase","horizontal"),rr(1),Oo("ngSwitchCase","vertical"))},directives:[Kh,Uh,Hh,$h,Bh,Qz],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[Xz.horizontalStepTransition,Xz.verticalStepTransition]},changeDetection:0}),t})(),aI=(()=>{class t extends Cz{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&La("type",e.type)},inputs:{type:"type"},features:[bo]}),t})(),cI=(()=>{class t extends Sz{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&La("type",e.type)},inputs:{type:"type"},features:[bo]}),t})(),uI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[Gz,xA],imports:[[uA,ed,lT,ck,Mz,YE,YA],uA]}),t})();const lI=["mat-calendar-body",""];function hI(t,e){if(1&t&&(jo(0,"tr",2),jo(1,"td",3),Ma(2),Yo(),Yo()),2&t){const t=ea();rr(1),fa("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Lo("colspan",t.numCols),rr(1),xa(" ",t.label," ")}}function dI(t,e){if(1&t&&(jo(0,"td",7),Ma(1),Yo()),2&t){const t=ea(2);fa("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Lo("colspan",t._firstRowOffset),rr(1),xa(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function fI(t,e){if(1&t){const t=qo();jo(0,"td",8),Jo("click",function(e){const i=ze(t).$implicit;return ea(2)._cellClicked(i,e)}),jo(1,"div",9),Ma(2),Yo(),No(3,"div",10),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ea().index,s=ea();fa("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),pa("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(n,i))("mat-calendar-body-range-start",s._isRangeStart(t.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",s._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(t.compareValue,n,i))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(t.compareValue,n,i))("mat-calendar-body-comparison-start",s._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",s._isInPreview(t.compareValue)),Oo("ngClass",t.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),Lo("data-mat-row",n)("data-mat-col",i)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s._isSelected(t.compareValue)),rr(1),pa("mat-calendar-body-selected",s._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",s.todayValue===t.compareValue),rr(1),xa(" ",t.displayValue," ")}}function pI(t,e){if(1&t&&(jo(0,"tr",4),Io(1,dI,2,6,"td",5),Io(2,fI,4,46,"td",6),Yo()),2&t){const t=e.$implicit,i=e.index,n=ea();rr(1),Oo("ngIf",0===i&&n._firstRowOffset),rr(1),Oo("ngForOf",t)}}function gI(t,e){if(1&t&&(jo(0,"th",5),Ma(1),Yo()),2&t){const t=e.$implicit;Lo("aria-label",t.long),rr(1),Ea(t.narrow)}}const mI=["*"];function _I(t,e){}function yI(t,e){if(1&t){const t=qo();jo(0,"mat-month-view",5),Jo("activeDateChange",function(e){return ze(t),ea().activeDate=e})("_userSelection",function(e){return ze(t),ea()._dateSelected(e)}),Yo()}if(2&t){const t=ea();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function wI(t,e){if(1&t){const t=qo();jo(0,"mat-year-view",6),Jo("activeDateChange",function(e){return ze(t),ea().activeDate=e})("monthSelected",function(e){return ze(t),ea()._monthSelectedInYearView(e)})("selectedChange",function(e){return ze(t),ea()._goToDateInView(e,"month")}),Yo()}if(2&t){const t=ea();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function bI(t,e){if(1&t){const t=qo();jo(0,"mat-multi-year-view",7),Jo("activeDateChange",function(e){return ze(t),ea().activeDate=e})("yearSelected",function(e){return ze(t),ea()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return ze(t),ea()._goToDateInView(e,"year")}),Yo()}if(2&t){const t=ea();Oo("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function vI(t,e){}const AI=["button"];function kI(t,e){1&t&&(ci(),jo(0,"svg",3),No(1,"path",4),Yo())}const TI=[[["","matDatepickerToggleIcon",""]]],CI=["[matDatepickerToggleIcon]"];let SI=(()=>{class t{constructor(){this.changes=new k,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(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();class MI{constructor(t,e,i,n,s={},r=t,o){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s,this.compareValue=r,this.rawValue=o}}let EI=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new mu,this.previewChange=new mu,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&xI(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:i,numCols:n}=this;(t.rows||e)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!e&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fp(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return RI(t,this.startValue,this.endValue)}_isRangeEnd(t){return DI(t,this.startValue,this.endValue)}_isInRange(t){return PI(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return RI(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,i){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let n=this.rows[e][i-1];if(!n){const t=this.rows[e-1];n=t&&t[t.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(t,e,i){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let n=this.rows[e][i+1];if(!n){const t=this.rows[e+1];n=t&&t[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(t){return DI(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return PI(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return RI(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return DI(t,this.previewStart,this.previewEnd)}_isInPreview(t){return PI(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(xI(t)?e=t:xI(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(nl))},t.\u0275cmp=Kt({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[ue],attrs:lI,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(Io(0,hI,3,6,"tr",0),Io(1,pI,3,2,"tr",1)),2&t&&(Oo("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function xI(t){return"TD"===t.nodeName}function RI(t,e,i){return null!==i&&e!==i&&t=e&&t===i}function PI(t,e,i,n){return n&&null!==e&&null!==i&&e!==i&&t>=e&&t<=i}class LI{constructor(t,e){this.start=t,this.end=e}}let zI=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new k,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){const i=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(gn(void 0),gn(_A))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),II=(()=>{class t extends zI{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(gn(_A))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const FI={provide:zI,deps:[[new bn,new vn,zI],_A],useFactory:function(t,e){return t||new II(e)}},HI=new Ji("MAT_DATE_RANGE_SELECTION_STRATEGY");let OI=(()=>{class t{constructor(t,e,i,n,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rangeStrategy=s,this._rerenderSubscription=h.EMPTY,this.selectedChange=new mu,this._userSelection=new mu,this.activeDateChange=new mu,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof LI?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(mp(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,i=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(i,n,e);let r,o;this._selected instanceof LI?(r=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):r=o=this._getDateInCurrentMonth(this._selected),r===e&&o===e||this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case N_:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case U_:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case K_:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case V_: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=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case B_:case Y_:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case j_:return void(null==this._previewEnd||q_(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_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 t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const i=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((t,i)=>({long:t,narrow:e[i]}));this._weekdays=i.slice(t).concat(i.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),i=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof LI?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Rc),Ho(yA,8),Ho(_A,8),Ho(cw,8),Ho(HI,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&xu(EI,5),2&t){let t;Eu(t=Du())&&(e._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:[ue],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(jo(0,"table",0),jo(1,"thead",1),jo(2,"tr"),Io(3,gI,2,2,"th",2),Yo(),jo(4,"tr"),No(5,"th",3),Yo(),Yo(),jo(6,"tbody",4),Jo("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),Yo(),Yo()),2&t&&(rr(3),Oo("ngForOf",e._weekdays),rr(3),Oo("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[Hh,EI],encapsulation:2,changeDetection:0}),t})();const BI=24;let jI=(()=>{class t{constructor(t,e,i){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=h.EMPTY,this.selectedChange=new mu,this.yearSelected=new mu,this.activeDateChange=new mu,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),YI(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof LI?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(mp(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-NI(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,i=[];ethis._createCellForYear(t))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));this.selectedChange.emit(this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case N_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case U_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case K_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case V_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-NI(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,BI-NI(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:BI);break;case B_:case Y_:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return NI(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),i=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new MI(t,i,i,this._shouldEnableYear(t),n)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=h.EMPTY,this.selectedChange=new mu,this.monthSelected=new mu,this.activeDateChange=new mu,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof LI?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(mp(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(i);const n=this._dateAdapter.getNumDaysInMonth(i);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case N_:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case U_:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case K_:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case V_: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,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case B_:case Y_:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(i,"year"):void 0;return new MI(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(i)==t;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>i||t===i&&e>n}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,i,n,s){this._intl=t,this.calendar=e,this._dateAdapter=i,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+VI++,this.calendar.stateChanges.subscribe(()=>s.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)-NI(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+BI-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(i,n)}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:BI)}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(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):YI(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(Ho(SI),Ho(rt(()=>$I)),Ho(_A,8),Ho(yA,8),Ho(Rc))},t.\u0275cmp=Kt({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:mI,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[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(t,e){1&t&&(na(),jo(0,"div",0),jo(1,"div",1),jo(2,"button",2),Jo("click",function(){return e.currentPeriodClicked()}),jo(3,"span"),Ma(4),Yo(),No(5,"div",3),Yo(),No(6,"div",4),sa(7),jo(8,"button",5),Jo("click",function(){return e.previousClicked()}),Yo(),jo(9,"button",6),Jo("click",function(){return e.nextClicked()}),Yo(),Yo(),Yo()),2&t&&(rr(2),Lo("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),rr(1),Lo("id",e._buttonDescriptionId),rr(1),Ea(e.periodButtonText),rr(1),pa("mat-calendar-invert","month"!==e.calendar.currentView),rr(3),Oo("disabled",!e.previousEnabled()),Lo("aria-label",e.prevButtonLabel),rr(1),Oo("disabled",!e.nextEnabled()),Lo("aria-label",e.nextButtonLabel))},directives:[ak,Wy],encapsulation:2,changeDetection:0}),t})(),$I=(()=>{class t{constructor(t,e,i,n){this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new mu,this.yearSelected=new mu,this.monthSelected=new mu,this.viewChanged=new mu(!0),this._userSelection=new mu,this.stateChanges=new k,this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof LI?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new nT(this.headerComponent||qI),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(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof LI||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(Ho(SI),Ho(_A,8),Ho(yA,8),Ho(Rc))},t.\u0275cmp=Kt({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(xu(OI,5),xu(UI,5),xu(jI,5)),2&t){let t;Eu(t=Du())&&(e.monthView=t.first),Eu(t=Du())&&(e.yearView=t.first),Eu(t=Du())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Za([FI]),ue],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(t,e){1&t&&(Io(0,_I,0,0,"ng-template",0),jo(1,"div",1),Io(2,yI,1,8,"mat-month-view",2),Io(3,wI,1,6,"mat-year-view",3),Io(4,bI,1,6,"mat-multi-year-view",4),Yo()),2&t&&(Oo("cdkPortalOutlet",e._calendarHeaderPortal),rr(1),Oo("ngSwitch",e.currentView),rr(1),Oo("ngSwitchCase","month"),rr(1),Oo("ngSwitchCase","year"),rr(1),Oo("ngSwitchCase","multi-year"))},directives:[uT,ew,Kh,Uh,OI,UI,jI],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(33% / 7 - 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:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;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}.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}),t})();const WI={transformPanel:fw("transformPanel",[bw("void => enter-dropdown",pw("120ms cubic-bezier(0, 0, 0.2, 1)",ww([_w({opacity:0,transform:"scale(1, 0.8)"}),_w({opacity:1,transform:"scale(1, 1)"})]))),bw("void => enter-dialog",pw("150ms cubic-bezier(0, 0, 0.2, 1)",ww([_w({opacity:0,transform:"scale(0.7)"}),_w({transform:"none",opacity:1})]))),bw("* => void",pw("100ms linear",_w({opacity:0})))]),fadeInCalendar:fw("fadeInCalendar",[yw("void",_w({opacity:0})),yw("enter",_w({opacity:1})),bw("void => *",pw("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let GI=0;const JI=new Ji("mat-datepicker-scroll-strategy"),ZI={provide:JI,deps:[YT],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class QI{constructor(t){this._elementRef=t}}const XI=hA(QI);let tF=(()=>{class t extends XI{constructor(t,e,i,n,s,r){super(t),this._changeDetectorRef=e,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=s,this._subscriptions=new h,this._animationDone=new k,this._actionsPortal=null,this._closeButtonText=r.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(t){const e=this._model.selection,i=t.value,n=e instanceof LI;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(i,e,t.event);this._model.updateSelection(n,this)}else!i||!n&&this._dateAdapter.sameDate(i,e)||this._model.add(i);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 t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(zI),Ho(_A),Ho(HI,8),Ho(SI))},t.\u0275cmp=Kt({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&xu($I,5),2&t){let t;Eu(t=Du())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&Zo("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(za("@transformPanel",e._animationState),pa("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[bo],decls:5,vars:20,consts:[["cdkTrapFocus","",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(t,e){1&t&&(jo(0,"div",0),jo(1,"mat-calendar",1),Jo("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),Yo(),Io(2,vI,0,0,"ng-template",2),jo(3,"button",3),Jo("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),Ma(4),Yo(),Yo()),2&t&&(pa("mat-datepicker-content-container-with-actions",e._actionsPortal),rr(1),Oo("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),rr(1),Oo("cdkPortalOutlet",e._actionsPortal),rr(1),pa("cdk-visually-hidden",!e._closeButtonFocused),Oo("color",e.color||"primary"),rr(1),Ea(e._closeButtonText))},directives:[Uy,$I,Ih,uT,ak],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[WI.transformPanel,WI.fadeInCalendar]},changeDetection:0}),t})(),eF=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c){this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=r,this._dir=o,this._model=c,this._inputStateChanges=h.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new mu,this.monthSelected=new mu,this.viewChanged=new mu(!0),this.openedStream=new mu,this.closedStream=new mu,this._opened=!1,this.id="mat-datepicker-"+GI++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new k,this._scrollStrategy=s}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=iy(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=iy(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=iy(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=function(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}(t)}get opened(){return this._opened}set opened(t){iy(t)?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(t){const e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){const t=this._overlayRef.getConfig().positionStrategy;t instanceof PT&&(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(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=Ay(),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(fp(1)).subscribe(()=>this._destroyOverlay())}const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const t=this.touchUi,e=this.datepickerInput.getOverlayLabelId(),i=new nT(tF,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new vT({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),s=n.overlayElement;s.setAttribute("role","dialog"),e&&s.setAttribute("aria-labelledby",e),t&&s.setAttribute("aria-modal","true"),this._getCloseStream(n).subscribe(t=>{t&&t.preventDefault(),this.close()}),this._componentRef=n.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe(fp(1)).subscribe(()=>n.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",i="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",s="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:s,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:s},{originX:i,originY:s,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:s}])}_getCloseStream(t){return V(t.backdropClick(),t.detachments(),t.keydownEvents().pipe(Yd(t=>t.keyCode===j_&&!q_(t)||this.datepickerInput&&q_(t,"altKey")&&t.keyCode===K_)))}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(YT),Ho(nl),Ho(Nc),Ho(JI),Ho(_A,8),Ho(cw,8),Ho(Fl,8),Ho(zI))},t.\u0275dir=Gt({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ue]}),t})(),iF=(()=>{class t extends eF{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275cmp=Kt({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Za([FI,{provide:eF,useExisting:t}]),bo],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();class nF{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let sF=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this.dateChange=new mu,this.dateInput=new mu,this.stateChanges=new k,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=h.EMPTY,this._localeSubscription=h.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMinDate();return!i||!e||this._dateAdapter.compareDate(i,e)<=0?null:{matDatepickerMin:{min:i,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMaxDate();return!i||!e||this._dateAdapter.compareDate(i,e)>=0?null:{matDatepickerMax:{max:i,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=iy(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&i.blur&&i.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new nF(this,this._elementRef.nativeElement)),this.dateChange.emit(new nF(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const i=Object.keys(t);for(let n of i){const{previousValue:i,currentValue:s}=t[n];if(!e.isDateInstance(i)||!e.isDateInstance(s))return!0;if(!e.sameDate(i,s))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===V_&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._dateAdapter.sameDate(i,this.value)?(t&&!this.value&&this._cvaOnChange(i),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(i),this._cvaOnChange(i),this.dateInput.emit(new nF(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new nF(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(_A,8),Ho(yA,8))},t.\u0275dir=Gt({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ue]}),t})();const rF={provide:IC,useExisting:rt(()=>aF),multi:!0},oF={provide:YC,useExisting:rt(()=>aF),multi:!0};let aF=(()=>{class t extends sF{constructor(t,e,i,n){super(t,e,i),this._formField=n,this._closedSubscription=h.EMPTY,this._validator=UC.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&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(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(_A,8),Ho(yA,8),Ho(EC,8))},t.\u0275dir=Gt({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&Jo("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(La("disabled",e.disabled),Lo("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Za([rF,oF,{provide:mR,useExisting:t}]),bo]}),t})(),cF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),uF=(()=>{class t{constructor(t,e,i){this._intl=t,this._changeDetectorRef=e,this._stateChanges=h.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=iy(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:Bd(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Bd(),i=this.datepicker?V(this.datepicker.openedStream,this.datepicker.closedStream):Bd();this._stateChanges.unsubscribe(),this._stateChanges=V(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ho(SI),Ho(Rc),$i("tabindex"))},t.\u0275cmp=Kt({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,cF,5),2&t){let t;Eu(t=Du())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&xu(AI,5),2&t){let t;Eu(t=Du())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&Jo("click",function(t){return e._open(t)}),2&t&&(Lo("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),pa("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ue],ngContentSelectors:CI,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(t,e){1&t&&(na(TI),jo(0,"button",0,1),Io(2,kI,2,0,"svg",2),sa(3),Yo()),2&t&&(Oo("disabled",e.disabled)("disableRipple",e.disableRipple),Lo("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),rr(2),Oo("ngIf",!e._customIcon))},directives:[ak,Bh],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}),t})(),lF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[SI,ZI],imports:[[ed,ck,$T,ow,lT,uA],tT]}),t})();const hF=["mat-sort-header",""];function dF(t,e){if(1&t){const t=qo();jo(0,"div",3),Jo("@arrowPosition.start",function(){return ze(t),ea()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return ze(t),ea()._disableViewStateAnimation=!1}),No(1,"div",4),jo(2,"div",5),No(3,"div",6),No(4,"div",7),No(5,"div",8),Yo(),Yo()}if(2&t){const t=ea();Oo("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),rr(2),Oo("@indicator",t._getArrowDirectionState()),rr(1),Oo("@leftPointer",t._getArrowDirectionState()),rr(1),Oo("@rightPointer",t._getArrowDirectionState())}}const fF=["*"],pF=new Ji("MAT_SORT_DEFAULT_OPTIONS");class gF{}const mF=gA(lA(gF));let _F=(()=>{class t extends mF{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new k,this.start="asc",this._direction="",this.sortChange=new mu}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=iy(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let r=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ho(pF,8))},t.\u0275dir=Gt({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[bo,ue]}),t})();const yF=oA.ENTERING+" "+rA.STANDARD_CURVE,wF={indicator:fw("indicator",[yw("active-asc, asc",_w({transform:"translateY(0px)"})),yw("active-desc, desc",_w({transform:"translateY(10px)"})),bw("active-asc <=> active-desc",pw(yF))]),leftPointer:fw("leftPointer",[yw("active-asc, asc",_w({transform:"rotate(-45deg)"})),yw("active-desc, desc",_w({transform:"rotate(45deg)"})),bw("active-asc <=> active-desc",pw(yF))]),rightPointer:fw("rightPointer",[yw("active-asc, asc",_w({transform:"rotate(45deg)"})),yw("active-desc, desc",_w({transform:"rotate(-45deg)"})),bw("active-asc <=> active-desc",pw(yF))]),arrowOpacity:fw("arrowOpacity",[yw("desc-to-active, asc-to-active, active",_w({opacity:1})),yw("desc-to-hint, asc-to-hint, hint",_w({opacity:.54})),yw("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",_w({opacity:0})),bw("* => asc, * => desc, * => active, * => hint, * => void",pw("0ms")),bw("* <=> *",pw(yF))]),arrowPosition:fw("arrowPosition",[bw("* => desc-to-hint, * => desc-to-active",pw(yF,ww([_w({transform:"translateY(-25%)"}),_w({transform:"translateY(0)"})]))),bw("* => hint-to-desc, * => active-to-desc",pw(yF,ww([_w({transform:"translateY(0)"}),_w({transform:"translateY(25%)"})]))),bw("* => asc-to-hint, * => asc-to-active",pw(yF,ww([_w({transform:"translateY(25%)"}),_w({transform:"translateY(0)"})]))),bw("* => hint-to-asc, * => active-to-asc",pw(yF,ww([_w({transform:"translateY(0)"}),_w({transform:"translateY(-25%)"})]))),yw("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",_w({transform:"translateY(0)"})),yw("hint-to-desc, active-to-desc, desc",_w({transform:"translateY(-25%)"})),yw("hint-to-asc, active-to-asc, asc",_w({transform:"translateY(25%)"}))]),allowChildren:fw("allowChildren",[bw("* <=> *",[Aw("@*",vw(),{optional:!0})])])};let bF=(()=>{class t{constructor(){this.changes=new k}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const vF={provide:bF,deps:[[new bn,new vn,bF]],useFactory:function(t){return t||new bF}};class AF{}const kF=lA(AF);let TF=(()=>{class t extends kF{constructor(t,e,i,n,s,r){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=iy(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||t.keyCode!==Y_&&t.keyCode!==B_||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=V(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 t.\u0275fac=function(e){return new(e||t)(Ho(bF),Ho(Rc),Ho(_F,8),Ho("MAT_SORT_HEADER_COLUMN_DEF",8),Ho(Xy),Ho(sc))},t.\u0275cmp=Kt({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&Jo("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(Lo("aria-sort",e._getAriaSortAttribute()),pa("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[bo],attrs:hF,ngContentSelectors:fF,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(na(),jo(0,"div",0),jo(1,"div",1),sa(2),Yo(),Io(3,dF,6,6,"div",2),Yo()),2&t&&(pa("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),Lo("tabindex",e._isDisabled()?null:0),rr(3),Oo("ngIf",e._renderArrow()))},directives:[Bh],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:[wF.indicator,wF.leftPointer,wF.rightPointer,wF.arrowOpacity,wF.arrowPosition,wF.allowChildren]},changeDetection:0}),t})(),CF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[vF],imports:[[ed,uA]]}),t})(),SF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[YE,ed]]}),t})();const MF=new Ji("mat-chips-default-options"),EF={separatorKeyCodes:[B_]};let xF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[xA,{provide:MF,useValue:EF}],imports:[[uA]]}),t})();function RF(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function DF(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function PF(t,e){const i=e?"":"none";DF(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function LF(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function zF(t,e){return e?t+" "+e:t}function IF(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function FF(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function HF(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function OF(t,e,i){const{top:n,bottom:s,left:r,right:o}=t;return i>=n&&i<=s&&e>=r&&e<=o}function BF(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function jF(t,e,i,n){const{top:s,right:r,bottom:o,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>s-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:HF(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let r,o;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();r=t.top,o=t.left}else r=e.scrollTop,o=e.scrollLeft;const a=s.top-r,c=s.left-o;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&BF(t.clientRect,a,c)}),s.top=r,s.left=o,{top:a,left:c}}}function NF(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new YF(i,s),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=iy(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>PF(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>ay(t)),this._handles.forEach(t=>PF(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=ay(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,WF),e.addEventListener("touchstart",this._pointerDown,$F)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?ay(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&QF(this._rootElement),QF(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),PF(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),PF(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&QF(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&QF(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){XF(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),r=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),LF(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,r).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=XF(e),s=!n&&0!==e.button,r=this._rootElement,o=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||o)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor||"",r.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=HF(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){LF(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),r=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,r,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=tH(s,this._document),this._previewRef=s,t.matchSize?eH(n,e):n.style.transform=JF(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=NF(t),eH(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return DF(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),PF(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=FF(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),r=FF(e,"transition-duration"),o=FF(e,"transition-delay");return IF(r[s])+IF(o[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=tH(this._placeholderRef,this._document)):i=NF(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,r=XF(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:s.left-i.left+(r.pageX-s.left-o.left),y:s.top-i.top+(r.pageY-s.top-o.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=XF(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,r=this._previewRect,o=s.top+e,a=s.bottom-(r.height-e);i=ZF(i,s.left+t,s.right-(r.width-t)),n=ZF(n,o,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-s.x),o=Math.abs(i-s.y);return r>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),o>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,PF(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,WF),t.removeEventListener("touchstart",this._pointerDown,$F)}_applyRootElementTransform(t,e){const i=JF(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=zF(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=JF(t,e);this._preview.style.transform=zF(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,r=n.right-i.right,o=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),r>0&&(t-=r)):t=0,i.height>n.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:XF(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&BF(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=vy(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return ay(i)}}function JF(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function ZF(t,e,i){return Math.max(e,Math.min(i,t))}function QF(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function XF(t){return"t"===t.type[0]}function tH(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function eH(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=JF(e.left,e.top)}function iH(t,e){return Math.max(0,Math.min(e,t))}class nH{constructor(t,e,i,n,s){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new k,this.entered=new k,this.exited=new k,this.dropped=new k,this.sorted=new k,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=h.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new k,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=Z_){return(!Ek(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=Z_),new y(i=>(i.add(e.schedule(RF,t,{subscriber:i,counter:0,period:t})),i))}(0,fk).pipe(Pk(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?rH(t,-e):2===this._verticalScrollDirection&&rH(t,e),1===this._horizontalScrollDirection?oH(t,-e):2===this._horizontalScrollDirection&&oH(t,e)})},this.element=ay(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new YF(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const r=this._activeDraggables,o=r.indexOf(t),a=t.getPlaceholderElement();let c=r[s];if(c===t&&(c=r[s+1]),o>-1&&r.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(a,e),r.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=r[0].getRootElement();e.parentNode.insertBefore(a,e),r.unshift(t)}else ay(this.element).appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,r,o){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:r,dropPoint:o})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=ay(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?sH("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!jF(this._clientRect,.05,e,i))return;const s=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===r&&s.length>0)return;const o="horizontal"===this._orientation,a=sH(s,e=>e.drag===t),c=s[r],u=c.clientRect,l=a>r?1:-1,h=this._getItemOffsetPx(s[a].clientRect,u,l),d=this._getSiblingOffsetPx(a,s,l),f=s.slice();!function(t,e,i){const n=iH(e,t.length-1),s=iH(i,t.length-1);if(n===s)return;const r=t[n],o=s{if(f[i]===e)return;const n=e.drag===t,s=n?h:d,r=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,o?(r.style.transform=zF(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),BF(e.clientRect,0,s)):(r.style.transform=zF(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),BF(e.clientRect,s,0))}),this._previousSwap.overlaps=OF(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((r,o)=>{o!==this._document&&r.clientRect&&!i&&jF(r.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=aH(e,n),r=cH(e,i);let o=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(r){const e=t.scrollLeft;1===r?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,r.clientRect,t,e),(n||s)&&(i=o))}),!n&&!s){const{width:r,height:o}=this._viewportRuler.getViewportSize(),a={width:r,height:o,top:0,right:r,bottom:o,left:0};n=aH(a,e),s=cH(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=ay(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=ay(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:HF(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=ay(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,r=e[t+-1*i];let o=s[n?"width":"height"]*i;if(r){const t=n?"left":"top",e=n?"right":"bottom";-1===i?o-=r.clientRect[t]-s[e]:o+=s[t]-r.clientRect[e]}return o}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,r=sH(this._itemPositions,({drag:r,clientRect:o},a,c)=>{if(r===t)return c.length<2;if(n){const t=s?n.x:n.y;if(r===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!OF(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=ay(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{BF(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 t=vy(ay(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function sH(t,e){for(let i=0;i=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}function cH(t,e){const{left:i,right:n,width:s}=t,r=.05*s;return e>=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}const uH=yy({passive:!1,capture:!0});let lH=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new k,this.pointerUp=new k,this.scroll=new k,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,uH)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,uH)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:uH}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:uH}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(gn(nl),gn(Fl))},t.\u0275prov=dt({factory:function(){return new t(gn(nl),gn(Fl))},token:t,providedIn:"root"}),t})();const hH={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let dH=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=hH){return new GF(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new nH(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(gn(Fl),gn(nl),gn(Xk),gn(lH))},t.\u0275prov=dt({factory:function(){return new t(gn(Fl),gn(nl),gn(Xk),gn(lH))},token:t,providedIn:"root"}),t})(),fH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[dH],imports:[tT]}),t})(),pH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})(),gH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({}),t})(),mH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[gH,uA],uA]}),t})(),_H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[YA,uA],uA]}),t})(),yH=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,eM,ck,NL,YE,dR,NM]]}),t})(),wH=(()=>{class t extends CA{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const bH={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 vH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[{provide:_A,useClass:wH},{provide:yA,useValue:bH}],imports:[[ed,NL,CD,tM,xF,fH,ax,R_,CF,iE,dR,SF,YE,CE,ck,NM,RC,eM,AR,YA,eR,pH,mH,lF,_H,ek,TM,yH,eT,Mx,cx]]}),t})(),AH=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),kH=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&Jo("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})();i(6577);let TH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,EL,vP,dz,ck,fz,NL,YE,CD,Mx,dR,RC,AR,eT,tM,eM,uI,lF,EA,wP,IP,vH,CE,$D,CF,iE,NM,TM],EL,vP,dz,ck,fz,NL,YE,CD,Mx,dR,RC,AR,eT,tM,eM,uI,lF,EA,wP,IP,vH,CE,$D,CF,iE,NM,TM]}),t})(),CH=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),jo(4,"div",2),Ma(5),Yo(),jo(6,"div",3),jo(7,"button",4),Jo("click",function(){return e.ok()}),Ma(8),uu(9,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(2),Ea(lu(3,3,"DIALOGS.SHOW_CITE.TITLE")),rr(3),xa(" ",e.publication.main," "),rr(3),xa(" ",lu(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[Tx,Cx,Sx,ak],pipes:[ox],styles:[""]}),t})();function SH(t,e){1&t&&(jo(0,"mat-icon",2),Ma(1," error "),Yo())}const MH=["*"];let EH=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:MH,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(na(),jo(0,"div",0),Io(1,SH,2,0,"mat-icon",1),sa(2),Yo()),2&t&&(pa("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),rr(1),Oo("ngIf","error"!==e.alert_type))},directives:[Bh,jE],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})(),xH=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Jt({name:"userFullName",type:t,pure:!0}),t})();function RH(t,e){if(1&t){const t=qo();jo(0,"th",18),jo(1,"mat-checkbox",19),Jo("change",function(e){ze(t);const i=ea();return e?i.masterToggle():null}),Yo(),Yo()}if(2&t){const t=ea();rr(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function DH(t,e){if(1&t){const t=qo();jo(0,"td",20),jo(1,"mat-checkbox",21),Jo("change",function(e){const i=ze(t).$implicit,n=ea();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();rr(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function PH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_ID")))}function LH(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.id)}}function zH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")))}function IH(t,e){if(1&t){const t=qo();jo(0,"button",24),Jo("click",function(){ze(t);const e=ea().$implicit;return ea().lockOrUnlockPublication(e)})("mouseenter",function(){return ze(t),ea(2).buttonPressed=!0})("mouseleave",function(){return ze(t),ea(2).buttonPressed=!1}),uu(1,"translate"),jo(2,"mat-icon"),Ma(3,"lock"),Yo(),Yo()}2&t&&ra("matTooltip",lu(1,1,"PUBLICATIONS_LIST.LOCKED"))}function FH(t,e){if(1&t){const t=qo();jo(0,"button",24),Jo("click",function(){ze(t);const e=ea().$implicit;return ea().lockOrUnlockPublication(e)})("mouseenter",function(){return ze(t),ea(2).buttonPressed=!0})("mouseleave",function(){return ze(t),ea(2).buttonPressed=!1}),uu(1,"translate"),jo(2,"mat-icon"),Ma(3,"lock_open"),Yo(),Yo()}2&t&&ra("matTooltip",lu(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function HH(t,e){if(1&t&&(jo(0,"td",20),Io(1,IH,4,3,"button",23),Io(2,FH,4,3,"button",23),Yo()),2&t){const t=e.$implicit;rr(1),Oo("ngIf",t.locked),rr(1),Oo("ngIf",!t.locked)}}function OH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")))}function BH(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.title)}}function jH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")))}function YH(t,e){if(1&t&&(jo(0,"span"),Ma(1),uu(2,"userFullName"),No(3,"br"),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",lu(2,1,t),"")}}function NH(t,e){if(1&t&&(jo(0,"td",20),Io(1,YH,4,3,"span",25),Yo()),2&t){const t=e.$implicit;rr(1),Oo("ngForOf",t.authors)}}function KH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")))}function UH(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.year)}}function VH(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")))}function qH(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.categoryName)}}function $H(t,e){1&t&&(jo(0,"th",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")))}function WH(t,e){if(1&t&&(jo(0,"span"),Ma(1),No(2,"br"),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",t.ownerName,"")}}function GH(t,e){if(1&t&&(jo(0,"td",20),Io(1,WH,3,1,"span",25),Yo()),2&t){const t=e.$implicit;rr(1),Oo("ngForOf",t.thanks)}}function JH(t,e){1&t&&(jo(0,"th",18),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function ZH(t,e){if(1&t){const t=qo();jo(0,"td",20),jo(1,"button",26),Jo("click",function(){const e=ze(t).$implicit;return ea().showCite(e)})("mouseenter",function(){return ze(t),ea().buttonPressed=!0})("mouseleave",function(){return ze(t),ea().buttonPressed=!1}),Ma(2),uu(3,"translate"),Yo(),Yo()}2&t&&(rr(2),xa(" ",lu(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function QH(t,e){1&t&&No(0,"tr",27)}const XH=function(t,e){return[t,e]};function tO(t,e){if(1&t){const t=qo();jo(0,"tr",28),Jo("click",function(){const e=ze(t).$implicit,i=ea();return i.disabledRouting&&i.openInTab&&!i.buttonPressed?i.emitPublication(e):null}),Yo()}if(2&t){const t=e.$implicit,i=ea();Oo("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.buttonPressed?null:ru(2,XH,i.routerPath,t.id))("routerLink",i.disabledRouting||i.buttonPressed?null:ru(5,XH,i.routerPath,t.id))}}function eO(t,e){1&t&&(jo(0,"app-alert",29),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let iO=(()=>{class t{constructor(t,e,i,n,s){this.tableCheckbox=t,this.cabinetService=e,this.dialog=i,this.notificator=n,this.translate=s,this.selection=new Wk(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSize=10,this.page=new mu,this.pageSizeOptions=xx,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new mu,this.buttonPressed=!1,s.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(t=>this.changeLockMessage=t),s.get("PUBLICATIONS_LIST.LOCKED").subscribe(t=>this.locked=t),s.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(t=>this.unlocked=t)}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new SD(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"lock":return String(t.locked);case"title":return t.title;case"reportedBy":{let e="";return t.authors.forEach(t=>e+=Rx(t)+";"),e.slice(0,-1)}case"year":return t.year.toString();case"category":return t.categoryName;case"thankedTo":{let e="";return t.thanks.forEach(t=>e+=t.ownerName+";"),e.slice(0,-1)}default:return t[e]}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(t,e)=>Lx(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(t){this.selection.toggle(t)}showCite(t){const e=Dx();e.width="500px",e.data=t,this.dialog.open(CH,e)}lockOrUnlockPublication(t){this.cabinetService.lockPublications({publications:[this.createPublication(t)],lock:!t.locked}).subscribe(()=>{this.notificator.showSuccess(t.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),t.locked=!t.locked})}createPublication(t){return{id:t.id,externalId:t.externalId,publicationSystemId:t.publicationSystemId,categoryId:t.categoryId,createdBy:t.createdBy,createdDate:t.createdDate,doi:t.doi,isbn:t.isbn,locked:t.locked,main:t.main,rank:t.rank,title:t.title,year:t.year}}emitPublication(t){return this.publicationSelector.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Xx),Ho(xf),Ho(Ax),Ho(Gx),Ho(rx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(t,e){if(1&t&&(xu(_F,7),xu(Yx,7)),2&t){let t;Eu(t=Du())&&(e.matSort=t.first),Eu(t=Du())&&(e.child=t.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{page:"page",publicationSelector:"publicationSelector"},features:[ue],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["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(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,RH,2,3,"th",4),Io(5,DH,2,2,"td",5),Uo(),Ko(6,6),Io(7,PH,3,3,"th",7),Io(8,LH,2,1,"td",5),Uo(),Ko(9,8),Io(10,zH,3,3,"th",7),Io(11,HH,3,2,"td",5),Uo(),Ko(12,9),Io(13,OH,3,3,"th",7),Io(14,BH,2,1,"td",5),Uo(),Ko(15,10),Io(16,jH,3,3,"th",7),Io(17,NH,2,1,"td",5),Uo(),Ko(18,11),Io(19,KH,3,3,"th",7),Io(20,UH,2,1,"td",5),Uo(),Ko(21,12),Io(22,VH,3,3,"th",7),Io(23,qH,2,1,"td",5),Uo(),Ko(24,13),Io(25,$H,3,3,"th",7),Io(26,GH,2,1,"td",5),Uo(),Ko(27,14),Io(28,JH,3,3,"th",4),Io(29,ZH,4,3,"td",5),Uo(),Io(30,QH,1,0,"tr",15),Io(31,tO,1,8,"tr",16),Yo(),Yo(),Yo(),Io(32,eO,3,3,"app-alert",17)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.publications.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(28),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",0===e.publications.length&&e.allowAlert))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,jL,bD,TF,ak,BM,jE,Hh,kD,TD,kH,__,EH],pipes:[ox,xH],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}"]}),t})();function nO(t,e){1&t&&No(0,"mat-spinner",7)}const sO=function(){return["id","title","year"]};function rO(t,e){if(1&t&&(jo(0,"div",8),Ma(1),uu(2,"translate"),No(3,"perun-web-apps-publications-list",9),Yo()),2&t){const t=ea();rr(1),xa(" ",lu(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),rr(2),Oo("publications",t.publications)("routerPath",null)("displayedColumns",nu(6,sO))}}let oO=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.cabinetService=s,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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x),Ho(Gx),Ho(rx),Ho(xf))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),Io(4,nO,1,0,"mat-spinner",2),Io(5,rO,4,7,"div",3),jo(6,"div",4),jo(7,"button",5),Jo("click",function(){return e.cancel()}),Ma(8),uu(9,"translate"),Yo(),jo(10,"button",6),Jo("click",function(){return e.remove()}),Ma(11),uu(12,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(2),Ea(lu(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading),rr(3),xa(" ",lu(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),rr(2),Oo("disabled",e.loading),rr(1),xa(" ",lu(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[Tx,Bh,Sx,ak,hR,Cx,iO],pipes:[ox],styles:[""]}),t})();const aO="GUI_CONFIG.PREF_PAGE_SIZE.";let cO=(()=>{class t{constructor(){}getString(t){return localStorage.getItem(t)}getNumber(t){return parseInt(localStorage.getItem(t),10)}setNumber(t,e){localStorage.setItem(t,e.toString())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uO=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber(aO+t);if(!isNaN(e))return e;const i=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(i)?10:i}setTablePageSize(t,e){this.guiConfigService.setNumber(aO+t,e)}}return t.\u0275fac=function(e){return new(e||t)(gn(cO))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const lO="67",hO="68";let dO=(()=>{class t{constructor(){this.refresh=new mu}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(jo(0,"button",0),Jo("click",function(t){return e.onClickbutton(t)}),uu(1,"translate"),No(2,"mat-icon",1),Yo()),2&t&&(ra("matTooltip",lu(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),Oo("disabled",e.disabled),rr(2),ra("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[ak,BM,jE],pipes:[ox],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),t})();var fO=i(9609);const pO=i.n(fO)()||fO,gO=new Ji("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function mO(t,e){const i=Array(t);for(let n=0;n{class t extends _A{constructor(t,e){super(),this._options=e,this.setLocale(t||pO.locale())}setLocale(t){super.setLocale(t);let e=pO.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:mO(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,i){const n=this._createMoment({year:t,month:e,date:i}).locale(this.locale);return n.isValid(),n}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,pO.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return pO.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return pO.invalid()}_createMoment(t,e,i){const{strict:n,useUtc:s}=this._options||{};return s?pO.utc(t,e,i,n):pO(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(gn(mA,8),gn(gO,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),yO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({providers:[{provide:_A,useClass:_O,deps:[mA,gO]}]}),t})(),wO=(()=>{class t{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(t,e,i){t.setValue(e),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,i.close()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,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(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",0),Jo("click",function(){return ze(t),Fo(7).open()}),jo(1,"mat-label"),Ma(2),uu(3,"translate"),Yo(),No(4,"input",1),No(5,"mat-datepicker-toggle",2),jo(6,"mat-datepicker",3,4),Jo("yearSelected",function(i){ze(t);const n=Fo(7);return e.chosenYearHandler(e.startYear,i,n)}),Yo(),Yo(),jo(8,"mat-form-field",0),Jo("click",function(){return ze(t),Fo(15).open()}),jo(9,"mat-label"),Ma(10),uu(11,"translate"),Yo(),No(12,"input",5),No(13,"mat-datepicker-toggle",2),jo(14,"mat-datepicker",3,6),Jo("yearSelected",function(i){ze(t);const n=Fo(15);return e.chosenYearHandler(e.endYear,i,n)}),Yo(),Yo()}if(2&t){const t=Fo(7),i=Fo(15);rr(2),Ea(lu(3,11,"PUBLICATION_FILTER.START_YEAR")),rr(2),Oo("matDatepicker",t)("max",e.startMaxYear)("formControl",e.startYear),rr(1),Oo("for",t),rr(5),Ea(lu(11,13,"PUBLICATION_FILTER.END_YEAR")),rr(2),Oo("matDatepicker",i)("min",e.endMinYear)("max",e.endMaxYear)("formControl",e.endYear),rr(1),Oo("for",i)}},directives:[xC,wC,vR,aF,OC,uS,qS,uF,kC,iF],pipes:[ox],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:auto!important}"]}),t})();function bO(t,e){if(1&t&&(jo(0,"mat-option",12),Ma(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),rr(1),xa(" ",t.name," ")}}const vO=fO,AO={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let kO=(()=>{class t{constructor(t){this.cabinetService=t,this.title=new LS,this.code=new LS,this.startYear=new LS(vO()),this.endYear=new LS(vO()),this.filteredPublication=new mu}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.selectedMode="isbn/issn"})}filter(){const t={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:yh(this.startYear.value,"yyyy","en-GB"),endYear:yh(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 LS(vO()),this.endYear=new LS(vO()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return t.\u0275fac=function(e){return new(e||t)(Ho(xf))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[Za([{provide:_A,useClass:_O,deps:[mA]},{provide:yA,useValue:AO}])],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(t,e){1&t&&(jo(0,"div",0),jo(1,"mat-form-field",1),No(2,"input",2),uu(3,"translate"),Yo(),jo(4,"mat-form-field",1),jo(5,"mat-label"),Ma(6),uu(7,"translate"),Yo(),jo(8,"mat-select",3),Jo("valueChange",function(t){return e.selectedMode=t}),jo(9,"mat-option",4),Ma(10),uu(11,"translate"),Yo(),jo(12,"mat-option",5),Ma(13),uu(14,"translate"),Yo(),Yo(),Yo(),jo(15,"mat-form-field",6),No(16,"input",2),uu(17,"translate"),Yo(),jo(18,"mat-form-field",1),jo(19,"mat-label"),Ma(20),uu(21,"translate"),Yo(),jo(22,"mat-select",3),Jo("valueChange",function(t){return e.selectedCategory=t}),jo(23,"mat-option",7),Ma(24),uu(25,"translate"),Yo(),Io(26,bO,2,2,"mat-option",8),Yo(),Yo(),No(27,"perun-web-apps-year-range",9),jo(28,"button",10),Jo("click",function(){return e.filter()}),jo(29,"mat-icon"),Ma(30,"search"),Yo(),Ma(31),uu(32,"translate"),Yo(),jo(33,"button",11),Jo("click",function(){return e.clearFilter()}),jo(34,"mat-icon"),Ma(35,"search_off"),Yo(),Ma(36),uu(37,"translate"),Yo(),Yo()),2&t&&(rr(2),ra("placeholder",lu(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),Oo("formControl",e.title),rr(4),Ea(lu(7,18,"PUBLICATION_FILTER.SELECT_MODE")),rr(2),Oo("value",e.selectedMode),rr(2),Ea(lu(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),rr(3),Ea(lu(14,22,"PUBLICATION_FILTER.DOI")),rr(3),ra("placeholder",lu(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),Oo("formControl",e.code),rr(4),Ea(lu(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),rr(2),Oo("value",e.selectedCategory),rr(2),Ea(lu(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),rr(2),Oo("ngForOf",e.categories),rr(1),Oo("startYear",e.startYear)("endYear",e.endYear),rr(4),xa(" ",lu(32,30,"PUBLICATION_FILTER.FILTER")," "),rr(5),xa(" ",lu(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[xC,vR,OC,uS,qS,wC,kM,XA,Hh,wO,ak,jE],pipes:[ox],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:auto!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:auto!important}"]}),t})();function TO(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publications-list",10),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("publications",t.publications)("selection",t.selected)("routerPath","/all-publications")("pageSize",t.pageSize)}}function CO(t,e){1&t&&No(0,"mat-spinner",11)}let SO=(()=>{class t{constructor(t,e,i,n,s,r){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.dialog=n,this.matIconRegistry=s,this.domSanitizer=r,this.selected=new Wk(!0,[]),this.tableId=hO,this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}removePublication(){const t=Dx();t.width="500px",t.data=this.selected.selected,this.dialog.open(oO,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,null).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,null).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Wg),Ho(xf),Ho(uO),Ho(Ax),Ho(DE),Ho(Ld))},t.\u0275cmp=Kt({type:t,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","pageSize","page",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","pageSize","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),No(2,"mat-icon",2),jo(3,"span",3),Ma(4),uu(5,"translate"),Yo(),Yo(),jo(6,"div",4),jo(7,"perun-web-apps-refresh-button",5),Jo("refresh",function(){return e.refreshTable()}),Yo(),jo(8,"button",6),Jo("click",function(){return e.removePublication()}),Ma(9),uu(10,"translate"),Yo(),jo(11,"perun-web-apps-publication-filter",7),Jo("filteredPublication",function(t){return e.filterPublication(t)}),Yo(),Yo(),Io(12,TO,1,4,"perun-web-apps-publications-list",8),Io(13,CO,1,0,"mat-spinner",9),Yo()),2&t&&(rr(4),Ea(lu(5,5,"ALL_PUBLICATIONS.TITLE")),rr(4),Oo("disabled",0===e.selected.selected.length),rr(1),xa(" ",lu(10,7,"ALL_PUBLICATIONS.REMOVE")," "),rr(3),Oo("ngIf",!e.loading),rr(1),Oo("ngIf",e.loading))},directives:[jE,dO,ak,kO,Bh,iO,hR],pipes:[ox],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),t})();function MO(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publications-list",11),Jo("page",function(e){return ze(t),ea(2).pageChanged(e)}),Yo()}if(2&t){const t=ea(2);Oo("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/my-publications")}}function EO(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"div",6),jo(2,"perun-web-apps-refresh-button",7),Jo("refresh",function(){return ze(t),ea().refreshTable()}),Yo(),jo(3,"button",8),Jo("click",function(){return ze(t),ea().removePublication()}),Ma(4),uu(5,"translate"),Yo(),jo(6,"perun-web-apps-publication-filter",9),Jo("filteredPublication",function(e){return ze(t),ea().filterPublication(e)}),Yo(),Yo(),Io(7,MO,1,4,"perun-web-apps-publications-list",10),Yo()}if(2&t){const t=ea();rr(3),Oo("disabled",0===t.selected.selected.length),rr(1),xa(" ",lu(5,3,"MY_PUBLICATIONS.REMOVE")," "),rr(3),Oo("ngIf",!t.loading)}}function xO(t,e){1&t&&No(0,"mat-spinner",12)}let RO=(()=>{class t{constructor(t,e,i,n,s){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.dialog=n,this.authResolver=s,this.selected=new Wk(!0,[]),this.tableId=hO}ngOnInit(){this.initLoading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.authResolver.getPerunPrincipal().subscribe(t=>{this.authorId=t.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const t=Dx();t.width="500px",t.data=this.selected.selected,this.dialog.open(oO,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.authorId).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,this.authorId).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Wg),Ho(xf),Ho(uO),Ho(Ax),Ho(Ef))},t.\u0275cmp=Kt({type:t,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","pageSize","routerPath","page",4,"ngIf"],[3,"publications","selection","pageSize","routerPath","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"mat-icon",2),Ma(3,"local_library"),Yo(),jo(4,"span",3),Ma(5),uu(6,"translate"),Yo(),Yo(),Io(7,EO,8,5,"div",4),Io(8,xO,1,0,"mat-spinner",5),Yo()),2&t&&(rr(5),Ea(lu(6,3,"MY_PUBLICATIONS.TITLE")),rr(2),Oo("ngIf",!e.initLoading),rr(1),Oo("ngIf",e.loading||e.initLoading))},directives:[jE,Bh,dO,ak,kO,iO,hR],pipes:[ox],styles:[""]}),t})(),DO=(()=>{class t{constructor(t){this.router=t}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return t.\u0275fac=function(e){return new(e||t)(Ho(m_))},t.\u0275cmp=Kt({type:t,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",3,"click"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"span"),jo(3,"mat-icon",2),Ma(4,"add_box"),Yo(),Ma(5),uu(6,"translate"),Yo(),Yo(),jo(7,"div",3),jo(8,"div",4),jo(9,"mat-card",5),jo(10,"mat-card-title"),Ma(11),uu(12,"translate"),Yo(),jo(13,"mat-card-content",6),jo(14,"div"),Ma(15),uu(16,"translate"),Yo(),jo(17,"button",7),Jo("click",function(){return e.importPublications()}),Ma(18),uu(19,"translate"),Yo(),Yo(),Yo(),Yo(),jo(20,"div",4),jo(21,"mat-card",5),jo(22,"mat-card-title"),Ma(23),uu(24,"translate"),Yo(),jo(25,"mat-card-content",6),jo(26,"div"),Ma(27),uu(28,"translate"),Yo(),jo(29,"button",7),Jo("click",function(){return e.createPublication()}),Ma(30),uu(31,"translate"),Yo(),Yo(),Yo(),Yo(),Yo(),Yo()),2&t&&(rr(5),xa(" ",lu(6,7,"CREATE_PUBLICATION.TITLE")," "),rr(6),xa(" ",lu(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),rr(4),xa(" ",lu(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),rr(3),xa(" ",lu(19,13,"CREATE_PUBLICATION.IMPORT")," "),rr(5),xa(" ",lu(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),rr(4),xa(" ",lu(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),rr(3),xa(" ",lu(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[jE,ML,SL,CL,ak],pipes:[ox],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}"]}),t})();const PO=["groupFilterInput"];let LO=(()=>{class t{constructor(){this.filter=new mu}ngOnInit(){uk(this.groupFilterInput.nativeElement,"keyup").pipe(I(t=>t.target.value),Q_(500),kk()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){if(1&t&&xu(PO,7),2&t){let t;Eu(t=Du())&&(e.groupFilterInput=t.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(t,e){1&t&&(jo(0,"mat-form-field",0),No(1,"input",1,2),uu(3,"translate"),Yo()),2&t&&(rr(1),ra("placeholder",lu(3,1,e.placeholder)))},directives:[xC,vR],pipes:[ox],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})();function zO(t,e){1&t&&No(0,"th",18)}function IO(t,e){if(1&t){const t=qo();jo(0,"td",19),jo(1,"mat-checkbox",20),Jo("change",function(e){const i=ze(t).$implicit,n=ea();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();rr(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function FO(t,e){1&t&&(jo(0,"th",21),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"AUTHORS_LIST.ID")))}function HO(t,e){if(1&t&&(jo(0,"td",19),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.id)}}function OO(t,e){1&t&&(jo(0,"th",21),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"AUTHORS_LIST.NAME")))}function BO(t,e){if(1&t&&(jo(0,"td",22),Ma(1),uu(2,"userFullName"),Yo()),2&t){const t=e.$implicit;rr(1),Ea(lu(2,1,t))}}function jO(t,e){1&t&&(jo(0,"th",21),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"AUTHORS_LIST.ORGANIZATION")))}function YO(t,e){if(1&t&&(jo(0,"td",22),Ma(1),Yo()),2&t){const t=e.$implicit,i=ea();rr(1),Ea(i.parseAttribute(t,"organization"))}}function NO(t,e){1&t&&(jo(0,"th",21),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"AUTHORS_LIST.EMAIL")))}function KO(t,e){if(1&t&&(jo(0,"td",22),Ma(1),Yo()),2&t){const t=e.$implicit,i=ea();rr(1),Ea(i.parseAttribute(t,"preferredMail"))}}function UO(t,e){1&t&&(jo(0,"th",21),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")))}function VO(t,e){if(1&t&&(jo(0,"td",22),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.authorships.length.toString())}}function qO(t,e){1&t&&No(0,"th",18)}function $O(t,e){if(1&t){const t=qo();jo(0,"td",19),jo(1,"button",23),Jo("click",function(){const e=ze(t).$implicit;return ea().onAddClick(e)}),Ma(2),uu(3,"translate"),Yo(),Yo()}2&t&&(rr(2),xa(" ",lu(3,1,"AUTHORS_LIST.ADD")," "))}function WO(t,e){1&t&&No(0,"th",18)}function GO(t,e){if(1&t){const t=qo();jo(0,"td",19),jo(1,"button",24),Jo("click",function(){const e=ze(t).$implicit;return ea().onRemoveClick(e)}),Ma(2),uu(3,"translate"),Yo(),Yo()}2&t&&(rr(2),xa(" ",lu(3,1,"AUTHORS_LIST.REMOVE")," "))}function JO(t,e){1&t&&No(0,"tr",25)}const ZO=function(t){return["/authors",t]};function QO(t,e){if(1&t&&No(0,"tr",26),2&t){const t=e.$implicit,i=ea();Oo("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:su(2,ZO,t.id))("routerLink",i.disableRouting?null:su(4,ZO,t.id))}}function XO(t,e){1&t&&(jo(0,"app-alert",27),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),rr(1),xa(" ",lu(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function tB(t,e){1&t&&(jo(0,"app-alert",27),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),rr(1),xa(" ",lu(2,2,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let eB=(()=>{class t{constructor(){this.authors=[],this.pageSize=10,this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=xx,this.page=new mu,this.addAuthor=new mu,this.removeAuthor=new mu}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new SD(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(t,e){var i;switch(e){case"id":return t.id.toString();case"name":return t.lastName?t.lastName:null!==(i=t.firstName)&&void 0!==i?i:"";case"organization":return Ix(t,"organization");case"email":return Ix(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}getFilterDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return function(t){let e="";return null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}(t);case"organization":return Ix(t,"organization");case"email":return Ix(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return Rx(t);case"organization":return Ix(t,"organization");case"email":return Ix(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}parseAttribute(t,e){let i="";return t.attributes&&t.attributes.forEach(t=>{t.friendlyName===e&&(i=t.value)}),i}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`}onAddClick(t){this.addAuthor.emit(t)}onRemoveClick(t){this.removeAuthor.emit(t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zx(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>Lx(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(t,e){if(1&t&&(xu(_F,7),xu(Yx,7)),2&t){let t;Eu(t=Du())&&(e.matSort=t.first),Eu(t=Du())&&(e.child=t.first)}},inputs:{authors:"authors",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page",addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[ue],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","numberOfPublications"],["matColumnDef","add"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-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"],[3,"alert_type"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,zO,1,0,"th",4),Io(5,IO,2,2,"td",5),Uo(),Ko(6,6),Io(7,FO,3,3,"th",7),Io(8,HO,2,1,"td",5),Uo(),Ko(9,8),Io(10,OO,3,3,"th",7),Io(11,BO,3,3,"td",9),Uo(),Ko(12,10),Io(13,jO,3,3,"th",7),Io(14,YO,2,1,"td",9),Uo(),Ko(15,11),Io(16,NO,3,3,"th",7),Io(17,KO,2,1,"td",9),Uo(),Ko(18,12),Io(19,UO,3,3,"th",7),Io(20,VO,2,1,"td",9),Uo(),Ko(21,13),Io(22,qO,1,0,"th",4),Io(23,$O,4,3,"td",5),Uo(),Ko(24,14),Io(25,WO,1,0,"th",4),Io(26,GO,4,3,"td",5),Uo(),Io(27,JO,1,0,"tr",15),Io(28,QO,1,6,"tr",16),Yo(),Yo(),Yo(),Io(29,XO,3,4,"app-alert",17),Io(30,tB,3,4,"app-alert",17)),2&t&&(Oo("hidden",0===e.authors.length||0===e.dataSource.filteredData.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(25),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",0!==e.authors.length&&0===e.dataSource.filteredData.length),rr(1),Oo("ngIf",0===e.authors.length))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,bD,jL,TF,ak,kD,TD,kH,__,EH],pipes:[ox,xH],styles:[""]}),t})();function iB(t,e){1&t&&No(0,"mat-spinner",8)}const nB=function(){return["id","name","organization","email","numberOfPublications"]};function sB(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-authors-list",9),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("authors",t.authors)("displayedColumns",nu(4,nB))("filterValue",t.filterValue)("pageSize",t.pageSize)}}let rB=(()=>{class t{constructor(t,e){this.tableConfigService=t,this.cabinetService=e,this.filterValue="",this.tableId=lO}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(t=>{this.authors=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(uO),Ho(xf))},t.\u0275cmp=Kt({type:t,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","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","pageSize","page"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"mat-icon",2),Ma(3,"assignment_ind"),Yo(),jo(4,"span",3),Ma(5),uu(6,"translate"),Yo(),Yo(),jo(7,"perun-web-apps-refresh-button",4),Jo("refresh",function(){return e.refreshTable()}),Yo(),jo(8,"perun-web-apps-debounce-filter",5),Jo("filter",function(t){return e.applyFilter(t)}),Yo(),Io(9,iB,1,0,"mat-spinner",6),Io(10,sB,1,5,"perun-web-apps-authors-list",7),Yo()),2&t&&(rr(5),Ea(lu(6,4,"AUTHORS_PAGE.TITLE")),rr(3),Oo("placeholder","AUTHORS_PAGE.FILTER"),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[jE,dO,LO,Bh,hR,eB],pipes:[ox],styles:[""]}),t})();function oB(t,e){1&t&&No(0,"mat-spinner",4)}function aB(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"div",5),jo(2,"mat-form-field"),No(3,"input",6),uu(4,"translate"),jo(5,"mat-error"),Ma(6),uu(7,"translate"),Yo(),Yo(),jo(8,"mat-form-field"),No(9,"input",6),uu(10,"translate"),jo(11,"mat-error"),Ma(12),uu(13,"translate"),Yo(),Yo(),jo(14,"p",7),Ma(15),uu(16,"translate"),Yo(),Yo(),jo(17,"div",8),jo(18,"button",9),Jo("click",function(){return ze(t),ea().onCancel()}),Ma(19),uu(20,"translate"),Yo(),jo(21,"div",10),uu(22,"translate"),jo(23,"button",11),Jo("click",function(){return ze(t),ea().onSubmit()}),Ma(24),uu(25,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=ea();rr(3),ra("placeholder",lu(4,12,"DIALOGS.ADD_CATEGORY.NAME")),Oo("formControl",t.nameCtrl),rr(3),xa(" ",lu(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),rr(3),ra("placeholder",lu(10,16,"DIALOGS.ADD_CATEGORY.RANK")),Oo("formControl",t.rankCtrl),rr(3),xa(" ",lu(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),rr(3),Ea(lu(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),rr(4),xa(" ",lu(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),rr(2),ra("matTooltip",lu(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),Oo("matTooltipDisabled",t.nameCtrl.valid&&t.rankCtrl.valid),rr(2),Oo("disabled",t.nameCtrl.invalid||t.rankCtrl.invalid),rr(1),xa(" ",lu(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let cB=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.notificator=e,this.cabinetManagerService=i,this.translate=n,n.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.nameCtrl=new LS(null,[UC.required,UC.pattern("^[\\w.-]+( [\\w.-]+)*$"),UC.maxLength(128)]),this.rankCtrl=new LS(null,[UC.required,UC.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(Gx),Ho(xf),Ho(rx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),Io(4,oB,1,0,"mat-spinner",2),Io(5,aB,26,28,"div",3),Yo()),2&t&&(rr(2),Ea(lu(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Tx,Bh,hR,Cx,xC,vR,OC,QS,uS,qS,fC,Sx,ak,BM],pipes:[ox],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function uB(t,e){1&t&&No(0,"mat-spinner",5)}function lB(t,e){1&t&&No(0,"th",14)}function hB(t,e){if(1&t&&(jo(0,"td",15),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",t.name," ")}}function dB(t,e){1&t&&No(0,"tr",16)}function fB(t,e){1&t&&No(0,"tr",17)}function pB(t,e){if(1&t&&(jo(0,"div",6),jo(1,"p"),Ma(2),uu(3,"translate"),Yo(),jo(4,"div",7),Ma(5),uu(6,"translate"),Yo(),jo(7,"table",8),Ko(8,9),Io(9,lB,1,0,"th",10),Io(10,hB,2,1,"td",11),Uo(),Io(11,dB,1,0,"tr",12),Io(12,fB,1,0,"tr",13),Yo(),Yo()),2&t){const t=ea();rr(2),xa(" ",lu(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),rr(3),xa(" ",lu(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),rr(2),Oo("dataSource",t.dataSource),rr(4),Oo("matHeaderRowDef",t.displayedColumns),rr(1),Oo("matRowDefColumns",t.displayedColumns)}}function gB(t,e){if(1&t){const t=qo();jo(0,"div",18),jo(1,"button",19),Jo("click",function(){return ze(t),ea().onCancel()}),Ma(2),uu(3,"translate"),Yo(),jo(4,"button",20),Jo("click",function(){return ze(t),ea().onSubmit()}),Ma(5),uu(6,"translate"),Yo(),Yo()}if(2&t){const t=ea();rr(2),xa(" ",lu(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),rr(2),Oo("disabled",t.loading),rr(1),xa(" ",lu(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let mB=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.cabinetManagerService=s,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new SD(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(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x),Ho(Gx),Ho(rx),Ho(xf))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),Io(4,uB,1,0,"mat-spinner",2),Io(5,pB,13,9,"div",3),Io(6,gB,7,7,"div",4),Yo()),2&t&&(rr(2),Ea(lu(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Tx,Bh,hR,Cx,gD,yD,_D,mD,vD,AD,wD,bD,kD,TD,Sx,ak],pipes:[ox],styles:[""]}),t})();function _B(t,e){if(1&t&&(No(0,"input",3),uu(1,"translate")),2&t){const t=ea();ra("placeholder",lu(1,2,t.placeholder)),Oo("formControl",t.formControl)}}function yB(t,e){if(1&t&&(No(0,"input",4),uu(1,"translate")),2&t){const t=ea();ra("placeholder",lu(1,2,t.placeholder)),Oo("formControl",t.formControl)}}let wB=(()=>{class t{constructor(){this.filter=new mu,this.autoFocus=!1,this.formControl=new LS}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(jo(0,"mat-form-field",0),Io(1,_B,2,4,"input",1),Io(2,yB,2,4,"input",2),Yo()),2&t&&(rr(1),Oo("ngIf",e.autoFocus),rr(1),Oo("ngIf",!e.autoFocus))},directives:[xC,Bh,vR,OC,AH,uS,qS],pipes:[ox],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})();function bB(t,e){1&t&&No(0,"mat-spinner",4)}function vB(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"div",5),jo(2,"mat-form-field"),No(3,"input",6),uu(4,"translate"),jo(5,"mat-error"),Ma(6),uu(7,"translate"),Yo(),Yo(),jo(8,"p",7),Ma(9),uu(10,"translate"),Yo(),Yo(),jo(11,"div",8),jo(12,"button",9),Jo("click",function(){return ze(t),ea().onCancel()}),Ma(13),uu(14,"translate"),Yo(),jo(15,"div",10),uu(16,"translate"),jo(17,"button",11),Jo("click",function(){return ze(t),ea().onSubmit()}),Ma(18),uu(19,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=ea();rr(3),ra("placeholder",lu(4,9,"DIALOGS.UPDATE_RANK.RANK")),Oo("formControl",t.rankCtrl),rr(3),xa(" ",lu(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),rr(3),Ea(lu(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),rr(4),xa(" ",lu(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),rr(2),ra("matTooltip",lu(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),Oo("matTooltipDisabled",t.rankCtrl.valid),rr(2),Oo("disabled",t.rankCtrl.invalid),rr(1),xa(" ",lu(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let AB=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.cabinetManagerService=n,this.translate=s,this.categoryName="",s.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new LS(this.data.rank,[UC.required,UC.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 t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x),Ho(Gx),Ho(xf),Ho(rx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),Io(4,bB,1,0,"mat-spinner",2),Io(5,vB,20,21,"div",3),Yo()),2&t&&(rr(2),Ra("",lu(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",e.categoryName,""),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Tx,Bh,hR,Cx,xC,vR,OC,QS,uS,qS,fC,Sx,ak,BM],pipes:[ox],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function kB(t,e){1&t&&No(0,"th",14)}function TB(t,e){if(1&t){const t=qo();jo(0,"td",15),jo(1,"mat-checkbox",16),Jo("change",function(e){const i=ze(t).$implicit,n=ea();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();rr(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function CB(t,e){1&t&&(jo(0,"th",17),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"CATEGORIES_LIST.ID")))}function SB(t,e){if(1&t&&(jo(0,"td",15),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.id)}}function MB(t,e){1&t&&(jo(0,"th",17),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"CATEGORIES_LIST.NAME")))}function EB(t,e){if(1&t&&(jo(0,"td",18),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.name)}}function xB(t,e){1&t&&(jo(0,"th",17),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"CATEGORIES_LIST.RANK")))}function RB(t,e){if(1&t){const t=qo();jo(0,"td",18),Ma(1),jo(2,"button",19),Jo("click",function(){const e=ze(t).$implicit;return ea().updateCategory(e)}),jo(3,"mat-icon"),Ma(4,"edit"),Yo(),Yo(),Yo()}if(2&t){const t=e.$implicit;rr(1),Ea(t.rank)}}function DB(t,e){1&t&&No(0,"tr",20)}function PB(t,e){1&t&&No(0,"tr",21)}function LB(t,e){1&t&&(jo(0,"app-alert",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let zB=(()=>{class t{constructor(t,e,i){this.guiAuthResolver=t,this.tableCheckbox=e,this.dialog=i,this.categories=[],this.selection=new Wk(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=xx,this.page=new mu,this.refreshTable=new mu}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new SD(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"rank":return t.rank.toString();default:return t[e]}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zx(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Lx(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}itemSelectionToggle(t){this.selection.toggle(t)}updateCategory(t){const e=Dx();e.width="400px",e.data=t,this.dialog.open(AB,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Zf),Ho(Xx),Ho(Ax))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(t,e){if(1&t&&(xu(_F,7),xu(Yx,7)),2&t){let t;Eu(t=Du())&&(e.matSort=t.first),Eu(t=Du())&&(e.child=t.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page",refreshTable:"refreshTable"},features:[ue],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,kB,1,0,"th",4),Io(5,TB,2,2,"td",5),Uo(),Ko(6,6),Io(7,CB,3,3,"th",7),Io(8,SB,2,1,"td",5),Uo(),Ko(9,8),Io(10,MB,3,3,"th",7),Io(11,EB,2,1,"td",9),Uo(),Ko(12,10),Io(13,xB,3,3,"th",7),Io(14,RB,5,1,"td",9),Uo(),Io(15,DB,1,0,"tr",11),Io(16,PB,1,0,"tr",12),Yo(),Yo(),Yo(),Io(17,LB,3,3,"app-alert",13)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.categories.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(13),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",0===e.dataSource.filteredData.length&&0!==e.categories.length))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,bD,jL,TF,ak,jE,kD,TD,EH],pipes:[ox],styles:[""]}),t})();function IB(t,e){if(1&t){const t=qo();jo(0,"button",8),Jo("click",function(){return ze(t),ea().addCategory()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"CATEGORIES_PAGE.CREATE")," "))}function FB(t,e){if(1&t){const t=qo();jo(0,"button",9),Jo("click",function(){return ze(t),ea().removeCategory()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(Oo("disabled",!ea().selected.selected.length),rr(1),xa(" ",lu(2,2,"CATEGORIES_PAGE.REMOVE")," "))}function HB(t,e){1&t&&No(0,"mat-spinner",10)}const OB=function(){return["select","id","name","rank"]},BB=function(){return["name","rank"]};function jB(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-categories-list",11),Jo("refreshTable",function(){return ze(t),ea().refreshTable()})("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("categories",t.categories)("filterValue",t.filterValue)("displayedColumns",t.removeAuth?nu(5,OB):nu(6,BB))("pageSize",t.pageSize)("selection",t.selected)}}let YB=(()=>{class t{constructor(t,e,i,n){this.cabinetManagerService=t,this.tableConfigService=e,this.dialog=i,this.guiAuthResolver=n,this.categories=[],this.selected=new Wk(!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(t=>{this.categories=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addCategory(){const t=Dx();t.width="400px",t.data={},this.dialog.open(cB,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeCategory(){const t=Dx();t.width="400px",t.data=this.selected.selected,this.dialog.open(mB,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(Ho(xf),Ho(uO),Ho(Ax),Ho(Zf))},t.\u0275cmp=Kt({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","pageSize","selection","refreshTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","pageSize","selection","refreshTable","page"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),jo(4,"perun-web-apps-refresh-button",2),Jo("refresh",function(){return e.refreshTable()}),Yo(),Io(5,IB,3,3,"button",3),Io(6,FB,3,4,"button",4),jo(7,"perun-web-apps-immediate-filter",5),Jo("filter",function(t){return e.applyFilter(t)}),Yo(),Io(8,HB,1,0,"mat-spinner",6),Io(9,jB,1,7,"perun-web-apps-categories-list",7),Yo()),2&t&&(rr(2),Ea(lu(3,6,"CATEGORIES_PAGE.TITLE")),rr(3),Oo("ngIf",e.addAuth),rr(1),Oo("ngIf",e.removeAuth),rr(1),Oo("placeholder","CATEGORIES_PAGE.FILTER"),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",e.categories&&!e.loading))},directives:[dO,Bh,wB,ak,hR,zB],pipes:[ox],styles:[""]}),t})();function NB(t,e){1&t&&(jo(0,"th",14),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATION_SYSTEMS_LIST.ID")))}function KB(t,e){if(1&t&&(jo(0,"td",15),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.id)}}function UB(t,e){1&t&&(jo(0,"th",14),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")))}function VB(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.friendlyName)}}function qB(t,e){1&t&&(jo(0,"th",14),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")))}function $B(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea("empty"===t.loginNamespace?"":t.loginNamespace)}}function WB(t,e){1&t&&(jo(0,"th",14),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATION_SYSTEMS_LIST.URL")))}function GB(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea("empty"===t.url?"":t.url)}}function JB(t,e){1&t&&(jo(0,"th",14),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")))}function ZB(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea("empty"===t.type?"":t.type)}}function QB(t,e){1&t&&No(0,"tr",17)}function XB(t,e){1&t&&No(0,"tr",18)}function tj(t,e){1&t&&(jo(0,"app-alert",19),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"NO_FILTER_RESULTS"),"\n"))}let ej=(()=>{class t{constructor(){this.publicationSystems=[],this.pageSize=10,this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=xx,this.page=new mu}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new SD(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"friendlyName":return t.friendlyName;case"url":return t.url;case"loginNamespace":return t.loginNamespace;case"type":return t.type;default:return t[e]}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zx(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Lx(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(t,e){if(1&t&&(xu(_F,7),xu(Yx,7)),2&t){let t;Eu(t=Du())&&(e.matSort=t.first),Eu(t=Du())&&(e.child=t.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[ue],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["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(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,NB,3,3,"th",4),Io(5,KB,2,1,"td",5),Uo(),Ko(6,6),Io(7,UB,3,3,"th",4),Io(8,VB,2,1,"td",7),Uo(),Ko(9,8),Io(10,qB,3,3,"th",4),Io(11,$B,2,1,"td",7),Uo(),Ko(12,9),Io(13,WB,3,3,"th",4),Io(14,GB,2,1,"td",7),Uo(),Ko(15,10),Io(16,JB,3,3,"th",4),Io(17,ZB,2,1,"td",7),Uo(),Io(18,QB,1,0,"tr",11),Io(19,XB,1,0,"tr",12),Yo(),Yo(),Yo(),Io(20,tj,3,3,"app-alert",13)),2&t&&(Oo("hidden",0===e.dataSource.filteredData.length||0===e.publicationSystems.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(16),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",0===e.dataSource.filteredData.length&&0!==e.publicationSystems.length))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,TF,bD,kD,TD,EH],pipes:[ox],styles:[""]}),t})();function ij(t,e){1&t&&No(0,"mat-spinner",6)}function nj(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publication-systems-list",7),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("publicationSystems",t.publicationSystems)("filterValue",t.filterValue)("pageSize",t.pageSize)}}let sj=(()=>{class t{constructor(t,e){this.cabinetManagerService=t,this.tableConfigService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(t=>{this.publicationSystems=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(xf),Ho(uO))},t.\u0275cmp=Kt({type:t,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","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","pageSize","page"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),jo(4,"perun-web-apps-refresh-button",2),Jo("refresh",function(){return e.refreshTable()}),Yo(),jo(5,"perun-web-apps-immediate-filter",3),Jo("filter",function(t){return e.applyFilter(t)}),Yo(),Io(6,ij,1,0,"mat-spinner",4),Io(7,nj,1,3,"perun-web-apps-publication-systems-list",5),Yo()),2&t&&(rr(2),Ea(lu(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),rr(3),Oo("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",e.publicationSystems&&!e.loading))},directives:[dO,wB,Bh,hR,ej],pipes:[ox],styles:[""]}),t})();function rj(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publications-list",11),Jo("page",function(e){return ze(t),ea(2).pageChanged(e)}),Yo()}if(2&t){const t=ea(2);Oo("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/authors/"+t.author.id+"/publication")}}function oj(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"h5"),Ma(2),uu(3,"userFullName"),uu(4,"translate"),Yo(),jo(5,"div",6),jo(6,"perun-web-apps-refresh-button",7),Jo("refresh",function(){return ze(t),ea().refreshTable()}),Yo(),jo(7,"button",8),Jo("click",function(){return ze(t),ea().removePublication()}),Ma(8),uu(9,"translate"),Yo(),jo(10,"perun-web-apps-publication-filter",9),Jo("filteredPublication",function(e){return ze(t),ea().filterPublication(e)}),Yo(),Yo(),Io(11,rj,1,4,"perun-web-apps-publications-list",10),Yo()}if(2&t){const t=ea();rr(2),Ra("",lu(3,5,t.author),"",lu(4,7,"AUTHOR_DETAIL.TITLE"),""),rr(5),Oo("disabled",0===t.selected.selected.length),rr(1),xa(" ",lu(9,9,"AUTHOR_DETAIL.REMOVE")," "),rr(3),Oo("ngIf",!t.loading)}}function aj(t,e){1&t&&No(0,"mat-spinner",12)}let cj=(()=>{class t{constructor(t,e,i,n,s){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.userService=n,this.dialog=s,this.selected=new Wk(!0,[]),this.tableId=hO}ngOnInit(){this.initLoading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.userService.getUserById(t.authorId).subscribe(t=>{this.author=t,this.initLoading=!1,this.refreshTable()})})}removePublication(){const t=Dx();t.width="500px",t.data=this.selected.selected,this.dialog.open(oO,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Wg),Ho(xf),Ho(uO),Ho(Nf),Ho(Ax))},t.\u0275cmp=Kt({type:t,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","pageSize","routerPath","page",4,"ngIf"],[3,"publications","selection","pageSize","routerPath","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"mat-icon",2),Ma(3,"assignment_ind"),Yo(),jo(4,"span",3),Ma(5),uu(6,"translate"),Yo(),Yo(),Io(7,oj,12,11,"div",4),Io(8,aj,1,0,"mat-spinner",5),Yo()),2&t&&(rr(5),Ea(lu(6,3,"AUTHORS_PAGE.TITLE")),rr(2),Oo("ngIf",!e.initLoading),rr(1),Oo("ngIf",e.loading||e.initLoading))},directives:[jE,Bh,dO,ak,kO,iO,hR],pipes:[ox,xH],styles:[""]}),t})();const uj=function(){return["id","name","organization","email","add"]};function lj(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-authors-list",14),Jo("addAuthor",function(e){return ze(t),ea(3).addAuthor(e)})("page",function(e){return ze(t),ea(3).pageChangedAuthors(e)}),Yo()}if(2&t){const t=ea(3);Oo("authors",t.authors)("disableRouting",!0)("pageSize",t.pageSizeAuthors)("displayedColumns",nu(4,uj))}}function hj(t,e){1&t&&(jo(0,"app-alert",15),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","info"),rr(1),xa(" ",lu(2,2,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function dj(t,e){if(1&t&&(jo(0,"div"),Io(1,lj,1,5,"perun-web-apps-authors-list",13),Io(2,hj,3,4,"app-alert",12),Yo()),2&t){const t=ea(2);rr(1),Oo("ngIf",t.firstSearchDone),rr(1),Oo("ngIf",!t.firstSearchDone)}}function fj(t,e){1&t&&No(0,"mat-spinner",16)}const pj=function(){return["id","name","organization","email","remove"]};function gj(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-authors-list",18),Jo("removeAuthor",function(e){return ze(t),ea(3).removeAuthor(e)})("page",function(e){return ze(t),ea(3).pageChangedAuthorsToAdd(e)}),Yo()}if(2&t){const t=ea(3);Oo("reloadTable",t.reloadTable)("authors",t.authorsToAdd)("disableRouting",!0)("pageSize",t.pageSizeAddAuthors)("displayedColumns",nu(5,pj))}}function mj(t,e){if(1&t&&(jo(0,"div"),Io(1,gj,1,6,"perun-web-apps-authors-list",17),Yo()),2&t){const t=ea(2);rr(1),Oo("ngIf",t.firstSearchDone)}}function _j(t,e){1&t&&(jo(0,"app-alert",15),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),rr(1),xa(" ",lu(2,2,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function yj(t,e){if(1&t&&(jo(0,"div"),Io(1,dj,3,2,"div",6),Io(2,fj,1,0,"mat-spinner",7),jo(3,"h2",11),Ma(4),uu(5,"translate"),Yo(),Io(6,mj,2,1,"div",6),Io(7,_j,3,4,"app-alert",12),Yo()),2&t){const t=ea();rr(1),Oo("ngIf",!t.searchLoading),rr(1),Oo("ngIf",t.searchLoading),rr(2),Ea(lu(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")),rr(2),Oo("ngIf",t.firstSearchDone&&0!==t.authorsToAdd.length),rr(1),Oo("ngIf",0===t.authorsToAdd.length)}}function wj(t,e){1&t&&No(0,"mat-spinner",16)}let bj=(()=>{class t{constructor(t,e,i,n,s,r){this.dialogRef=t,this.data=e,this.notificator=i,this.tableConfigService=n,this.cabinetService=s,this.translate=r,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors=lO,this.selection=new Wk(!1,[]),this.reloadTable=!1,r.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.publicationId=e.publicationId,this.alreadyAddedAuthors=e.alreadyAddedAuthors}ngOnInit(){this.searchControl=new LS("",[UC.required,UC.pattern(".*[\\S]+.*")]),this.pageSizeAuthors=5,this.pageSizeAddAuthors=5}onSearchByString(){this.searchLoading=!0;const t=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(e=>{e=e.filter(e=>t.map(t=>t.id).indexOf(e.id)<=-1),this.authors=e,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const t=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:t.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(t){this.authors=this.authors.filter(e=>e!==t),this.authorsToAdd.push(t),this.reloadTable=!this.reloadTable}removeAuthor(t){this.authorsToAdd=this.authorsToAdd.filter(e=>e!==t)}pageChangedAuthors(t){this.pageSizeAuthors=t.pageSize,this.tableConfigService.setTablePageSize(this.tableIdAuthors,t.pageSize)}pageChangedAuthorsToAdd(t){this.pageSizeAddAuthors=t.pageSize,this.tableConfigService.setTablePageSize(this.tableIdAuthors,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x),Ho(Gx),Ho(uO),Ho(xf),Ho(rx))},t.\u0275cmp=Kt({type:t,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"],[3,"alert_type",4,"ngIf"],[3,"authors","disableRouting","pageSize","displayedColumns","addAuthor","page",4,"ngIf"],[3,"authors","disableRouting","pageSize","displayedColumns","addAuthor","page"],[3,"alert_type"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","pageSize","displayedColumns","removeAuthor","page",4,"ngIf"],[3,"reloadTable","authors","disableRouting","pageSize","displayedColumns","removeAuthor","page"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),jo(4,"div",2),jo(5,"mat-form-field",3),jo(6,"label"),jo(7,"input",4),Jo("keyup.enter",function(){return e.onSearchByString()}),uu(8,"translate"),Yo(),Yo(),jo(9,"mat-error"),Ma(10),uu(11,"translate"),Yo(),Yo(),jo(12,"button",5),Jo("click",function(){return e.onSearchByString()}),jo(13,"mat-icon"),Ma(14,"search"),Yo(),Yo(),Io(15,yj,8,7,"div",6),Yo(),Io(16,wj,1,0,"mat-spinner",7),jo(17,"div",8),jo(18,"button",9),Jo("click",function(){return e.onCancel()}),Ma(19),uu(20,"translate"),Yo(),jo(21,"button",10),Jo("click",function(){return e.onAdd()}),Ma(22),uu(23,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(2),Ea(lu(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),rr(5),ra("placeholder",lu(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),Oo("formControl",e.searchControl),rr(3),xa(" ",lu(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),rr(2),Oo("disabled",e.searchLoading||""===e.searchControl.value.trim()),rr(3),Oo("ngIf",!e.loading),rr(1),Oo("ngIf",e.loading),rr(3),xa(" ",lu(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),rr(2),Oo("disabled",0===e.authorsToAdd.length||e.loading),rr(1),xa(" ",lu(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[Tx,Cx,xC,vR,OC,uS,qS,fC,ak,jE,Bh,Sx,eB,EH,hR],pipes:[ox],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),t})();function vj(t,e){if(1&t){const t=qo();jo(0,"button",6),Jo("click",function(){return ze(t),ea().onAddAuthors()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.ADD")," "))}function Aj(t,e){if(1&t){const t=qo();jo(0,"button",7),Jo("click",function(){return ze(t),ea().onRemoveAuthors()}),Ma(1),uu(2,"translate"),Yo()}if(2&t){const t=ea();Oo("disabled",0===t.selection.selected.length||t.publication.locked),rr(1),xa(" ",lu(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function kj(t,e){1&t&&No(0,"mat-spinner",8)}const Tj=function(){return["id","name","organization","email"]},Cj=function(){return["select","id","name","organization","email"]};function Sj(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-authors-list",9),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("authors",t.publication.authors)("selection",t.selection)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?nu(5,Tj):nu(6,Cj))}}let Mj=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.cabinetService=e,this.notificator=i,this.translate=n,this.tableConfigService=s,this.selection=new Wk(!0,[]),this.filterValue="",this.loading=!1,this.tableId=lO}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(t=>{this.publication.authors=t,this.selection.clear(),this.loading=!1})}onAddAuthors(){const t=Dx();t.width="800px",t.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(bj,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const t=Dx();t.width="800px",t.data={items:this.selection.selected.map(t=>`${t.titleBefore?t.titleBefore:""} ${t.firstName?t.firstName:""} ${t.lastName?t.lastName:""} ${t.titleAfter?t.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(LD,t).afterClosed().subscribe(t=>{t&&this.removeAuthors(this.selection.selected)})}removeAuthors(t){if(this.loading=!0,t.length){const e=t.pop();this.cabinetService.deleteAuthorship(this.publication.id,e.id).subscribe(()=>{this.removeAuthors(t)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ax),Ho(xf),Ho(Gx),Ho(rx),Ho(uO))},t.\u0275cmp=Kt({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-4",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","pageSize","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-4",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","pageSize","displayedColumns","page"]],template:function(t,e){1&t&&(jo(0,"div",0),Io(1,vj,3,3,"button",1),Io(2,Aj,3,4,"button",2),jo(3,"perun-web-apps-immediate-filter",3),Jo("filter",function(t){return e.applyFilter(t)}),Yo(),Io(4,kj,1,0,"mat-spinner",4),Io(5,Sj,1,7,"perun-web-apps-authors-list",5),Yo()),2&t&&(rr(1),Oo("ngIf",!e.publication.locked),rr(1),Oo("ngIf",!e.publication.locked),rr(1),Oo("placeholder","PUBLICATION_DETAIL.FILTER"),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Bh,wB,ak,hR,eB],pipes:[ox],styles:[""]}),t})();function Ej(t,e){if(1&t){const t=qo();jo(0,"th",15),jo(1,"mat-checkbox",16),Jo("change",function(e){ze(t);const i=ea();return e?i.masterToggle():null}),Yo(),Yo()}if(2&t){const t=ea();rr(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function xj(t,e){if(1&t){const t=qo();jo(0,"td",17),jo(1,"mat-checkbox",18),Jo("change",function(e){const i=ze(t).$implicit,n=ea();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();rr(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function Rj(t,e){1&t&&(jo(0,"th",19),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")))}function Dj(t,e){if(1&t&&(jo(0,"td",17),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",t.id," ")}}function Pj(t,e){1&t&&(jo(0,"th",19),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")))}function Lj(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.name)}}function zj(t,e){1&t&&(jo(0,"th",19),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")))}function Ij(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.contact)}}function Fj(t,e){1&t&&(jo(0,"th",19),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")))}function Hj(t,e){if(1&t&&(jo(0,"td",20),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.type)}}function Oj(t,e){1&t&&No(0,"tr",21)}function Bj(t,e){1&t&&No(0,"tr",22)}function jj(t,e){1&t&&(jo(0,"app-alert",23),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS")))}function Yj(t,e){1&t&&(jo(0,"app-alert",23),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS")))}let Nj=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.owners=[],this.selection=new Wk(!0,[]),this.pageSize=10,this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.page=new mu,this.pageSizeOptions=xx}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"contact":return t.contact;case"type":return t.type;default:return""}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zx(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Lx(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new SD(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(Ho(Zf),Ho(Xx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(t,e){if(1&t&&(xu(Yx,7),xu(_F,7)),2&t){let t;Eu(t=Du())&&(e.child=t.first),Eu(t=Du())&&(e.matSort=t.first)}},inputs:{owners:"owners",selection:"selection",pageSize:"pageSize",filterValue:"filterValue",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[ue],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,Ej,2,3,"th",4),Io(5,xj,2,2,"td",5),Uo(),Ko(6,6),Io(7,Rj,3,3,"th",7),Io(8,Dj,2,1,"td",5),Uo(),Ko(9,8),Io(10,Pj,3,3,"th",7),Io(11,Lj,2,1,"td",9),Uo(),Ko(12,10),Io(13,zj,3,3,"th",7),Io(14,Ij,2,1,"td",9),Uo(),Ko(15,11),Io(16,Fj,3,3,"th",7),Io(17,Hj,2,1,"td",9),Uo(),Io(18,Oj,1,0,"tr",12),Io(19,Bj,1,0,"tr",13),Yo(),Yo(),Yo(),Io(20,jj,3,3,"app-alert",14),Io(21,Yj,3,3,"app-alert",14)),2&t&&(Oo("hidden",!e.dataSource.filteredData.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(16),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",!e.owners.length),rr(1),Oo("ngIf",!e.dataSource.filteredData.length&&e.owners.length))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,jL,bD,TF,kD,TD,EH],pipes:[ox],styles:[""]}),t})();function Kj(t,e){1&t&&No(0,"mat-spinner",4)}const Uj=function(){return["select","id","name","contact"]};function Vj(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"div",5),jo(2,"perun-web-apps-immediate-filter",6),Jo("filter",function(e){return ze(t),ea().filterValue=e}),Yo(),jo(3,"perun-web-apps-owners-list",7),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo(),Yo(),jo(4,"div",8),jo(5,"button",9),Jo("click",function(){return ze(t),ea().onCancel()}),Ma(6),uu(7,"translate"),Yo(),jo(8,"button",10),Jo("click",function(){return ze(t),ea().onSubmit()}),Ma(9),uu(10,"translate"),Yo(),Yo(),Yo()}if(2&t){const t=ea();rr(2),Oo("placeholder","DIALOGS.ADD_THANKS.FILTER"),rr(1),Oo("owners",t.owners)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",nu(13,Uj))("selection",t.selected),rr(3),xa(" ",lu(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),rr(2),Oo("disabled",0===t.selected.selected.length||t.loading),rr(1),xa(" ",lu(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let qj=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this.dialogRef=t,this.data=e,this.ownersManagerService=i,this.storeService=n,this.tableConfigService=s,this.notificator=r,this.translate=o,this.cabinetManagerService=a,this.selected=new Wk(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=0!==t.length?e.filter(e=>t.indexOf(e.id)>-1):e,this.owners=this.owners.filter(t=>this.data.thanks.map(t=>t.ownerId).indexOf(t.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),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)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(gx),Ho(_x),Ho(Ff),Ho(Kx),Ho(uO),Ho(Gx),Ho(rx),Ho(xf))},t.\u0275cmp=Kt({type:t,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","pageSize","displayedColumns","selection","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),Ma(2),uu(3,"translate"),Yo(),Io(4,Kj,1,0,"mat-spinner",2),Io(5,Vj,11,14,"div",3),Yo()),2&t&&(rr(2),Ea(lu(3,3,"DIALOGS.ADD_THANKS.TITLE")),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Tx,Bh,hR,Cx,wB,Nj,Sx,ak],pipes:[ox],styles:[""]}),t})();function $j(t,e){if(1&t){const t=qo();jo(0,"th",14),jo(1,"mat-checkbox",15),Jo("change",function(e){ze(t);const i=ea();return e?i.masterToggle():null}),Yo(),Yo()}if(2&t){const t=ea();rr(1),Oo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Wj(t,e){if(1&t){const t=qo();jo(0,"td",16),jo(1,"mat-checkbox",17),Jo("change",function(e){const i=ze(t).$implicit,n=ea();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),Yo(),Yo()}if(2&t){const t=e.$implicit,i=ea();rr(1),Oo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function Gj(t,e){1&t&&(jo(0,"th",18),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"THANKS_LIST.ID")))}function Jj(t,e){if(1&t&&(jo(0,"td",16),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.ownerId)}}function Zj(t,e){1&t&&(jo(0,"th",18),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"THANKS_LIST.NAME")))}function Qj(t,e){if(1&t&&(jo(0,"td",19),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.ownerName)}}function Xj(t,e){1&t&&(jo(0,"th",18),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),Ea(lu(2,1,"THANKS_LIST.CREATED_BY")))}function tY(t,e){if(1&t&&(jo(0,"td",19),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),Ea(t.createdBy)}}function eY(t,e){1&t&&No(0,"tr",20)}function iY(t,e){1&t&&No(0,"tr",21)}function nY(t,e){1&t&&(jo(0,"app-alert",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),rr(1),xa(" ",lu(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function sY(t,e){1&t&&(jo(0,"app-alert",22),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","warn"),rr(1),xa(" ",lu(2,2,"THANKS_LIST.NO_THANKS"),"\n"))}let rY=(()=>{class t{constructor(t){this.tableCheckbox=t,this.thanks=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=xx,this.selection=new Wk(!0,[]),this.page=new mu}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new SD(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.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(t,e){switch(e){case"id":return t.ownerId.toString();case"name":return t.ownerName;default:return t[e]}}exportData(t){Hx(Fx(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zx(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>Lx(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(Ho(Xx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(t,e){if(1&t&&(xu(_F,7),xu(Yx,7)),2&t){let t;Eu(t=Du())&&(e.matSort=t.first),Eu(t=Du())&&(e.child=t.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},outputs:{page:"page"},features:[ue],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[3,"alert_type"]],template:function(t,e){1&t&&(jo(0,"div",0),jo(1,"perun-web-apps-table-wrapper",1),Jo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),jo(2,"table",2),Ko(3,3),Io(4,$j,2,3,"th",4),Io(5,Wj,2,2,"td",5),Uo(),Ko(6,6),Io(7,Gj,3,3,"th",7),Io(8,Jj,2,1,"td",5),Uo(),Ko(9,8),Io(10,Zj,3,3,"th",7),Io(11,Qj,2,1,"td",9),Uo(),Ko(12,10),Io(13,Xj,3,3,"th",7),Io(14,tY,2,1,"td",9),Uo(),Io(15,eY,1,0,"tr",11),Io(16,iY,1,0,"tr",12),Yo(),Yo(),Yo(),Io(17,nY,3,4,"app-alert",13),Io(18,sY,3,4,"app-alert",13)),2&t&&(Oo("hidden",0===e.thanks.length||0===e.dataSource.filteredData.length),rr(1),Oo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),rr(1),Oo("dataSource",e.dataSource),rr(13),Oo("matHeaderRowDef",e.displayedColumns),rr(1),Oo("matRowDefColumns",e.displayedColumns),rr(1),Oo("ngIf",0!==e.thanks.length&&0===e.dataSource.filteredData.length),rr(1),Oo("ngIf",0===e.thanks.length))},directives:[Yx,gD,_F,yD,_D,mD,vD,AD,Bh,wD,jL,bD,TF,kD,TD,EH],pipes:[ox],styles:[""]}),t})();function oY(t,e){if(1&t){const t=qo();jo(0,"button",6),Jo("click",function(){return ze(t),ea().onAddThanks()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.ADD")," "))}function aY(t,e){if(1&t){const t=qo();jo(0,"button",7),Jo("click",function(){return ze(t),ea().onRemoveThanks()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(Oo("disabled",0===ea().selection.selected.length),rr(1),xa(" ",lu(2,2,"PUBLICATION_DETAIL.REMOVE")," "))}function cY(t,e){1&t&&No(0,"mat-spinner",8)}const uY=function(){return["id","name","createdBy"]},lY=function(){return["select","id","name","createdBy"]};function hY(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-thanks-list",9),Jo("page",function(e){return ze(t),ea().pageChanged(e)}),Yo()}if(2&t){const t=ea();Oo("thanks",t.publication.thanks)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?nu(5,uY):nu(6,lY))("selection",t.selection)}}let dY=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.cabinetService=e,this.notificator=i,this.translate=n,this.tableConfigService=s,this.selection=new Wk(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(t=>{this.publication=t,this.selection.clear(),this.loading=!1})}onAddThanks(){const t=Dx();t.width="800px",t.data=this.publication,this.dialog.open(qj,t).afterClosed().subscribe(t=>{t&&this.refresh()})}onRemoveThanks(){const t=Dx();t.width="450px",t.data={items:this.selection.selected.map(t=>t.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(LD,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ax),Ho(xf),Ho(Gx),Ho(rx),Ho(uO))},t.\u0275cmp=Kt({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-4",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","pageSize","displayedColumns","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-4",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","pageSize","displayedColumns","selection","page"]],template:function(t,e){1&t&&(jo(0,"div",0),Io(1,oY,3,3,"button",1),Io(2,aY,3,4,"button",2),jo(3,"perun-web-apps-immediate-filter",3),Jo("filter",function(t){return e.applyFilter(t)}),Yo(),Io(4,cY,1,0,"mat-spinner",4),Io(5,hY,1,7,"perun-web-apps-thanks-list",5),Yo()),2&t&&(rr(1),Oo("ngIf",!e.publication.locked),rr(1),Oo("ngIf",!e.publication.locked),rr(1),Oo("placeholder","PUBLICATION_DETAIL.FILTER"),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Bh,wB,ak,hR,rY],pipes:[ox],styles:[""]}),t})();function fY(t,e){1&t&&No(0,"mat-spinner",2)}function pY(t,e){if(1&t&&(jo(0,"h3",15),Ma(1),Yo()),2&t){const t=ea(2);rr(1),Ea(t.publication.title)}}function gY(t,e){if(1&t){const t=qo();jo(0,"button",16),Jo("click",function(){ze(t);const e=ea(2);return e.editing=!e.editing}),uu(1,"translate"),jo(2,"mat-icon",17),Ma(3,"edit"),Yo(),Yo()}2&t&&ra("matTooltip",lu(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function mY(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function _Y(t,e){if(1&t&&(jo(0,"mat-form-field",18),No(1,"textarea",19),Io(2,mY,3,3,"mat-error",1),Yo()),2&t){const t=ea(2);rr(1),Oo("formControl",t.titleControl),rr(1),Oo("ngIf",t.titleControl.invalid)}}function yY(t,e){if(1&t){const t=qo();jo(0,"button",20),Jo("click",function(){return ze(t),ea(2).save()}),uu(1,"translate"),jo(2,"mat-icon",17),Ma(3,"save"),Yo(),Yo()}if(2&t){const t=ea(2);ra("matTooltip",lu(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),Oo("disabled",t.titleControl.invalid)}}function wY(t,e){1&t&&No(0,"th",21)}function bY(t,e){if(1&t&&(jo(0,"td",22),Ma(1),Yo()),2&t){const t=e.$implicit;rr(1),xa(" ",t.key,": ")}}function vY(t,e){1&t&&No(0,"th",21)}function AY(t,e){if(1&t&&(jo(0,"span"),Ma(1),jo(2,"span",24),Ma(3),uu(4,"translate"),Yo(),Ma(5),jo(6,"span",24),Ma(7),uu(8,"translate"),Yo(),Ma(9),Yo()),2&t){const t=ea().$implicit,e=ea(2);rr(1),xa(" ",t.value," / "),rr(2),xa("",lu(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),rr(2),xa(" ",e.publication.externalId," "),rr(2),xa("",lu(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),rr(2),xa(" ",e.publication.pubSystemName," ")}}function kY(t,e){if(1&t&&(jo(0,"span"),Ma(1),uu(2,"date"),Yo()),2&t){const t=ea().$implicit;rr(1),xa(" ",hu(2,1,t.value,"dd/MM/yyyy")," ")}}function TY(t,e){if(1&t&&(jo(0,"span"),Ma(1),Yo()),2&t){const t=ea().$implicit;rr(1),xa(" ",t.value," ")}}function CY(t,e){if(1&t&&(jo(0,"span"),Ma(1),Yo()),2&t){const t=ea(3).$implicit;rr(1),xa(" ",t.value," ")}}function SY(t,e){if(1&t&&(jo(0,"span"),Io(1,CY,2,1,"span",1),Yo()),2&t){const t=ea(2).$implicit;rr(1),Oo("ngIf","Id / Origin"!==t.key&&"Create date"!==t.key&&"Created by"!==t.key)}}function MY(t,e){1&t&&(jo(0,"span"),Ma(1," - "),Yo())}function EY(t,e){if(1&t&&(jo(0,"div"),Io(1,SY,2,1,"span",1),Io(2,MY,2,0,"span",1),Yo()),2&t){const t=ea().$implicit;rr(1),Oo("ngIf",null!==t.value&&""!==t.value),rr(1),Oo("ngIf",null===t.value||""===t.value)}}function xY(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",26),Jo("click",function(){return ze(t),Fo(7).open()}),jo(1,"mat-label"),Ma(2),uu(3,"translate"),Yo(),No(4,"input",27),No(5,"mat-datepicker-toggle",28),jo(6,"mat-datepicker",29,30),Jo("yearSelected",function(e){ze(t);const i=Fo(7);return ea(4).chosenYearHandler(e,i)}),Yo(),Yo()}if(2&t){const t=Fo(7),e=ea(4);rr(2),Ea(lu(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),rr(2),Oo("max",e.maxYear)("matDatepicker",t)("formControl",e.yearControl),rr(1),Oo("for",t)}}function RY(t,e){if(1&t&&(jo(0,"mat-option",33),Ma(1),Yo()),2&t){const t=e.$implicit;Oo("value",t.name),rr(1),xa(" ",t.name," ")}}function DY(t,e){if(1&t&&(jo(0,"mat-form-field"),jo(1,"mat-select",31),Io(2,RY,2,2,"mat-option",32),Yo(),Yo()),2&t){const t=ea(4);rr(1),Oo("formControl",t.categoryControl),rr(1),Oo("ngForOf",t.categories)}}function PY(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function LY(t,e){if(1&t&&(jo(0,"mat-form-field"),No(1,"input",34),Io(2,PY,3,3,"mat-error",1),Yo()),2&t){const t=ea(4);rr(1),Oo("formControl",t.rankControl),rr(1),Oo("ngIf",t.rankControl.invalid)}}function zY(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",18),jo(1,"input",35),Jo("ngModelChange",function(e){return ze(t),ea(4).publication.isbn=e}),Yo(),Yo()}if(2&t){const t=ea(4);rr(1),Oo("ngModel",t.publication.isbn)}}function IY(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",18),jo(1,"input",35),Jo("ngModelChange",function(e){return ze(t),ea(4).publication.doi=e}),Yo(),Yo()}if(2&t){const t=ea(4);rr(1),Oo("ngModel",t.publication.doi)}}function FY(t,e){if(1&t){const t=qo();jo(0,"mat-form-field",18),jo(1,"textarea",36),Jo("ngModelChange",function(e){return ze(t),ea(4).publication.main=e}),Yo(),Yo()}if(2&t){const t=ea(4);rr(1),Oo("ngModel",t.publication.main)}}function HY(t,e){if(1&t&&(jo(0,"div"),Io(1,xY,8,7,"mat-form-field",25),Io(2,DY,3,2,"mat-form-field",1),Io(3,LY,3,2,"mat-form-field",1),Io(4,zY,2,1,"mat-form-field",6),Io(5,IY,2,1,"mat-form-field",6),Io(6,FY,2,1,"mat-form-field",6),Yo()),2&t){const t=ea().$implicit;rr(1),Oo("ngIf","Year"===t.key),rr(1),Oo("ngIf","Category"===t.key),rr(1),Oo("ngIf","Rank"===t.key),rr(1),Oo("ngIf","ISBN / ISSN"===t.key),rr(1),Oo("ngIf","DOI"===t.key),rr(1),Oo("ngIf","Full cite"===t.key)}}function OY(t,e){if(1&t&&(jo(0,"td",23),Io(1,AY,10,9,"span",1),Io(2,kY,3,4,"span",1),Io(3,TY,2,1,"span",1),Io(4,EY,3,2,"div",1),Io(5,HY,7,6,"div",1),Yo()),2&t){const t=e.$implicit,i=ea(2);rr(1),Oo("ngIf","Id / Origin"===t.key),rr(1),Oo("ngIf","Create date"===t.key),rr(1),Oo("ngIf","Created by"===t.key),rr(1),Oo("ngIf",!i.editing),rr(1),Oo("ngIf",i.editing)}}function BY(t,e){1&t&&No(0,"tr",37)}function jY(t,e){if(1&t&&(jo(0,"div"),jo(1,"div",3),Io(2,pY,2,1,"h3",4),Io(3,gY,4,3,"button",5),Io(4,_Y,3,2,"mat-form-field",6),Io(5,yY,4,4,"button",7),Yo(),jo(6,"table",8),Ko(7,9),Io(8,wY,1,0,"th",10),Io(9,bY,2,1,"td",11),Uo(),Ko(10,12),Io(11,vY,1,0,"th",10),Io(12,OY,6,5,"td",13),Uo(),Io(13,BY,1,0,"tr",14),Yo(),Yo()),2&t){const t=ea();rr(2),Oo("ngIf",!t.editing),rr(1),Oo("ngIf",!t.editing&&!t.publication.locked),rr(1),Oo("ngIf",t.editing),rr(1),Oo("ngIf",t.editing),rr(1),Oo("dataSource",t.dataSource),rr(7),Oo("matRowDefColumns",t.displayedColumns)}}const YY=fO,NY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let KY=(()=>{class t{constructor(t,e,i){this.cabinetService=t,this.notificator=e,this.translate=i,this.categories=[],this.edited=new mu,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new Wk(!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 t=0;tt.name===this.categoryControl.value).id,e={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:t,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:e}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(t,e){const i=this.yearControl.value;i.year(t.year()),this.yearControl.setValue(i),e.close()}}return t.\u0275fac=function(e){return new(e||t)(Ho(xf),Ho(Gx),Ho(rx))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[Za([{provide:_A,useClass:_O,deps:[mA]},{provide:yA,useValue:NY}])],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(t,e){1&t&&(jo(0,"div"),Io(1,fY,1,0,"mat-spinner",0),Io(2,jY,14,6,"div",1),Yo()),2&t&&(rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[Bh,hR,gD,yD,_D,mD,AD,ak,BM,jE,xC,vR,OC,uS,qS,fC,wD,bD,wC,aF,uF,kC,iF,kM,Hh,XA,YS,TD],pipes:[ox,td],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}"]}),t})();function UY(t,e){1&t&&No(0,"mat-spinner",3)}function VY(t,e){1&t&&(jo(0,"h1",11),jo(1,"span"),jo(2,"mat-icon",12),Ma(3,"assignment_ind"),Yo(),Ma(4),uu(5,"translate"),Yo(),Yo()),2&t&&(rr(4),xa(" ",lu(5,1,"AUTHORS_PAGE.TITLE")," "))}function qY(t,e){1&t&&(jo(0,"h1",11),No(1,"mat-icon",13),jo(2,"span",14),Ma(3),uu(4,"translate"),Yo(),Yo()),2&t&&(rr(3),Ea(lu(4,1,"ALL_PUBLICATIONS.TITLE")))}function $Y(t,e){1&t&&(jo(0,"h1",11),jo(1,"span"),jo(2,"mat-icon",12),Ma(3,"local_library"),Yo(),Ma(4),uu(5,"translate"),Yo(),Yo()),2&t&&(rr(4),xa(" ",lu(5,1,"MY_PUBLICATIONS.TITLE")," "))}function WY(t,e){if(1&t&&(jo(0,"h5",15),Ma(1),uu(2,"userFullName"),uu(3,"translate"),Yo()),2&t){const t=ea(2);rr(1),Ra("",lu(2,2,t.mainAuthor),"",lu(3,4,"AUTHOR_DETAIL.TITLE"),"")}}function GY(t,e){1&t&&(jo(0,"span",16),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function JY(t,e){1&t&&(jo(0,"mat-icon"),Ma(1," lock "),Yo())}function ZY(t,e){1&t&&(jo(0,"span",16),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function QY(t,e){1&t&&(jo(0,"mat-icon"),Ma(1," lock_open "),Yo())}function XY(t,e){1&t&&No(0,"mat-spinner",3)}function tN(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publication-detail-list",17),Jo("edited",function(){return ze(t),ea(2).refreshPublication()}),Yo()}if(2&t){const t=ea(2);Oo("publication",t.publication)("categories",t.categories)}}function eN(t,e){if(1&t){const t=qo();jo(0,"div"),Io(1,VY,6,3,"h1",4),Io(2,qY,5,3,"h1",4),Io(3,$Y,6,3,"h1",4),Io(4,WY,4,6,"h5",5),jo(5,"h5"),Ma(6),uu(7,"translate"),Yo(),jo(8,"h6"),Ma(9),uu(10,"translate"),jo(11,"button",6),Jo("click",function(){return ze(t),ea().changeLock()}),Io(12,GY,3,3,"span",7),Io(13,JY,2,0,"mat-icon",2),Io(14,ZY,3,3,"span",7),Io(15,QY,2,0,"mat-icon",2),Yo(),Yo(),jo(16,"mat-card"),jo(17,"mat-card-content"),Io(18,XY,1,0,"mat-spinner",1),Io(19,tN,1,2,"perun-web-apps-publication-detail-list",8),Yo(),Yo(),jo(20,"mat-card",9),jo(21,"mat-card-title"),Ma(22),uu(23,"translate"),Yo(),jo(24,"mat-card-content"),No(25,"perun-web-apps-add-authors",10),Yo(),Yo(),jo(26,"mat-card",9),jo(27,"mat-card-title"),Ma(28),uu(29,"translate"),Yo(),jo(30,"mat-card-content"),No(31,"perun-web-apps-add-thanks",10),Yo(),Yo(),Yo()}if(2&t){const t=ea();rr(1),Oo("ngIf","authors"===t.mode),rr(1),Oo("ngIf","all"===t.mode),rr(1),Oo("ngIf","my"===t.mode),rr(1),Oo("ngIf",void 0!==t.mainAuthor),rr(2),Ea(lu(7,18,"PUBLICATION_DETAIL.TITLE")),rr(3),xa(" ",lu(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),rr(3),Oo("ngIf",t.publication.locked),rr(1),Oo("ngIf",t.publication.locked),rr(1),Oo("ngIf",!t.publication.locked),rr(1),Oo("ngIf",!t.publication.locked),rr(3),Oo("ngIf",t.loading||t.pubLoading),rr(1),Oo("ngIf",!t.pubLoading&&!t.loading),rr(3),xa(" ",lu(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),rr(3),Oo("publication",t.publication)("selection",t.selectionAuthors),rr(3),xa(" ",lu(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),rr(3),Oo("publication",t.publication)("selection",t.selectionThanks)}}let iN=(()=>{class t{constructor(t,e,i,n,s,r,o){this.route=t,this.cabinetService=e,this.matIconRegistry=i,this.domSanitizer=n,this.dialog=s,this.notificator=r,this.translate=o,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new Wk(!0,[]),this.selectionThanks=new Wk(!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(t=>{this.publicationId=t.publicationId,this.mainAuthorId=parseInt(t.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const t=location.pathname;this.mode=t.includes("my")?"my":t.includes("all")?"all":t.includes("import")?"import":t.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(t=>{this.publication=t,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(t=>{this.publication=t,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return t.\u0275fac=function(e){return new(e||t)(Ho(Wg),Ho(xf),Ho(DE),Ho(Ld),Ho(Ax),Ho(Gx),Ho(rx))},t.\u0275cmp=Kt({type:t,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(t,e){1&t&&(jo(0,"div",0),Io(1,UY,1,0,"mat-spinner",1),Io(2,eN,32,26,"div",2),Yo()),2&t&&(rr(1),Oo("ngIf",e.initLoading),rr(1),Oo("ngIf",!e.initLoading))},directives:[Bh,hR,ak,ML,CL,SL,Mj,dY,jE,KY],pipes:[ox,xH],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),t})(),nN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,ck,YE,R_,vH,ax]]}),t})(),sN=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ux))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con","vo-theme"],[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(t,e){1&t&&(jo(0,"div",0),jo(1,"div",1),jo(2,"div",2),jo(3,"h4",3),Ma(4),uu(5,"translate"),Yo(),jo(6,"button",4),Jo("click",function(){return e.startAuth()}),Ma(7),uu(8,"translate"),jo(9,"mat-icon"),Ma(10," login "),Yo(),Yo(),Yo(),Yo(),Yo()),2&t&&(rr(4),xa(" ",lu(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),rr(3),xa(" ",lu(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[ak,jE],pipes:[ox],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();function rN(t,e){1&t&&sa(0)}const oN=["*"];function aN(t,e){}const cN=function(t){return{animationDuration:t}},uN=function(t,e){return{value:t,params:e}},lN=["tabBodyWrapper"],hN=["tabHeader"];function dN(t,e){}function fN(t,e){1&t&&Io(0,dN,0,0,"ng-template",9),2&t&&Oo("cdkPortalOutlet",ea().$implicit.templateLabel)}function pN(t,e){1&t&&Ma(0),2&t&&Ea(ea().$implicit.textLabel)}function gN(t,e){if(1&t){const t=qo();jo(0,"div",6),Jo("click",function(){const e=ze(t),i=e.$implicit,n=e.index,s=ea(),r=Fo(1);return s._handleClick(i,r,n)})("cdkFocusChange",function(e){const i=ze(t).index;return ea()._tabFocusChanged(e,i)}),jo(1,"div",7),Io(2,fN,1,1,"ng-template",8),Io(3,pN,1,1,"ng-template",8),Yo(),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ea();pa("mat-tab-label-active",n.selectedIndex==i),Oo("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),Lo("tabIndex",n._getTabIndex(t,i))("aria-posinset",i+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),rr(2),Oo("ngIf",t.templateLabel),rr(1),Oo("ngIf",!t.templateLabel)}}function mN(t,e){if(1&t){const t=qo();jo(0,"mat-tab-body",10),Jo("_onCentered",function(){return ze(t),ea()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return ze(t),ea()._setTabBodyWrapperHeight(e)}),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ea();pa("mat-tab-body-active",n.selectedIndex==i),Oo("id",n._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",n.animationDuration),Lo("aria-labelledby",n._getTabLabelId(i))}}const _N=["tabListContainer"],yN=["tabList"],wN=["nextPaginator"],bN=["previousPaginator"],vN=new Ji("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let AN=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=i,this._animationMode=n}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),i=this._elementRef.nativeElement;i.style.left=e.left,i.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(nl),Ho(vN),Ho(Zv,8))},t.\u0275dir=Gt({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&pa("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const kN=new Ji("MatTabContent");let TN=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ho(Ic))},t.\u0275dir=Gt({type:t,selectors:[["","matTabContent",""]],features:[Za([{provide:kN,useExisting:t}])]}),t})();const CN=new Ji("MatTabLabel");let SN=(()=>{class t extends cT{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=Vi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Za([{provide:CN,useExisting:t}]),bo]}),t})();class MN{}const EN=lA(MN),xN=new Ji("MAT_TAB_GROUP");let RN=(()=>{class t extends EN{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new k,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new sT(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(Ho(Nc),Ho(xN,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){if(1&t&&(Ru(i,CN,5),Ru(i,kN,7,Ic)),2&t){let t;Eu(t=Du())&&(e.templateLabel=t.first),Eu(t=Du())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&xu(Ic,7),2&t){let t;Eu(t=Du())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[bo,ue],ngContentSelectors:oN,decls:1,vars:0,template:function(t,e){1&t&&(na(),Io(0,rN,1,0,"ng-template"))},encapsulation:2}),t})();const DN={translateTab:fw("translateTab",[yw("center, void, left-origin-center, right-origin-center",_w({transform:"none"})),yw("left",_w({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),yw("right",_w({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),bw("* => left, * => right, left => center, right => center",pw("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),bw("void => left-origin-center",[_w({transform:"translate3d(-100%, 0, 0)"}),pw("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),bw("void => right-origin-center",[_w({transform:"translate3d(100%, 0, 0)"}),pw("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let PN=(()=>{class t extends uT{constructor(t,e,i,n){super(t,e,n),this._host=i,this._centeringSub=h.EMPTY,this._leavingSub=h.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(mp(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!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 t.\u0275fac=function(e){return new(e||t)(Ho(tc),Ho(Nc),Ho(rt(()=>zN)),Ho(Fl))},t.\u0275dir=Gt({type:t,selectors:[["","matTabBodyHost",""]],features:[bo]}),t})(),LN=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.EMPTY,this._translateTabComplete=new k,this._onCentering=new mu,this._beforeCentering=new mu,this._afterLeavingCenter=new mu,this._onCentered=new mu(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe(kk((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(cw,8),Ho(Rc))},t.\u0275dir=Gt({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),zN=(()=>{class t extends LN{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(cw,8),Ho(Rc))},t.\u0275cmp=Kt({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&xu(uT,5),2&t){let t;Eu(t=Du())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[bo],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(jo(0,"div",0,1),Jo("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),Io(2,aN,0,0,"ng-template",2),Yo()),2&t&&Oo("@translateTab",ru(3,uN,e._position,su(1,cN,e.animationDuration)))},directives:[PN],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[DN.translateTab]}}),t})();const IN=new Ji("MAT_TABS_CONFIG");let FN=0;class HN{}class ON{constructor(t){this._elementRef=t}}const BN=hA(dA(ON),"primary");let jN=(()=>{class t extends BN{constructor(t,e,i,n){super(t),this._changeDetectorRef=e,this._animationMode=n,this._tabs=new yu,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.EMPTY,this._tabLabelSubscription=h.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new mu,this.focusChange=new mu,this.animationDone=new mu,this.selectedTabChange=new mu(!0),this._groupId=FN++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,this.dynamicHeight=!(!i||null==i.dynamicHeight)&&i.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=iy(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=ny(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));const e=this._tabBodyWrapper.nativeElement;e.style.minHeight=e.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,i)=>{e.position=i-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e{this._tabs.reset(t.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()}focusTab(t){const e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new HN;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=V(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,i){t.disabled||(this.selectedIndex=e.focusIndex=i)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}_tabFocusChanged(t,e){t&&(this._tabHeader.focusIndex=e)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(IN,8),Ho(Zv,8))},t.\u0275dir=Gt({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[bo]}),t})(),YN=(()=>{class t extends jN{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(IN,8),Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,RN,5),2&t){let t;Eu(t=Du())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(xu(lN,5),xu(hN,5)),2&t){let t;Eu(t=Du())&&(e._tabBodyWrapper=t.first),Eu(t=Du())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&pa("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Za([{provide:xN,useExisting:t}]),bo],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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(jo(0,"mat-tab-header",0,1),Jo("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),Io(2,gN,4,14,"div",2),Yo(),jo(3,"div",3,4),Io(5,mN,1,8,"mat-tab-body",5),Yo()),2&t&&(Oo("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),rr(2),Oo("ngForOf",e._tabs),rr(1),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode),rr(2),Oo("ngForOf",e._tabs))},directives:function(){return[WN,Hh,UN,jA,ew,Bh,uT,zN]},styles:[".mat-tab-group{display:flex;flex-direction:column}.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;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}),t})();class NN{}const KN=lA(NN);let UN=(()=>{class t extends KN{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc))},t.\u0275dir=Gt({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(Lo("aria-disabled",!!e.disabled),pa("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[bo]}),t})();const VN=yy({passive:!0});let qN=(()=>{class t{constructor(t,e,i,n,s,r,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=i,this._dir=n,this._ngZone=s,this._platform=r,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new k,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new k,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new mu,this.indexFocused=new mu,s.runOutsideAngular(()=>{uk(t.nativeElement,"mouseleave").pipe(Pk(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=ny(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){uk(this._previousPaginator.nativeElement,"touchstart",VN).pipe(Pk(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),uk(this._nextPaginator.nativeElement,"touchstart",VN).pipe(Pk(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Bd("ltr"),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Oy(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),V(t,e,this._items.changes).pipe(Pk(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(i)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Pk(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}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(t){if(!q_(t))switch(t.keyCode){case B_:case Y_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",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(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,i=this._getLayoutDirection();e.scrollLeft="ltr"==i?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:s}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=n,o=r+s):(o=this._tabList.nativeElement.offsetWidth-n,r=o-s);const a=this.scrollDistance,c=this.scrollDistance+i;rc&&(this.scrollDistance+=o-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_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._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),xk(650,100).pipe(Pk(V(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:i}=this._scrollHeader(t);(0===i||i>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(Xk),Ho(cw,8),Ho(nl),Ho(ly),Ho(Zv,8))},t.\u0275dir=Gt({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),$N=(()=>{class t extends qN{constructor(t,e,i,n,s,r,o){super(t,e,i,n,s,r,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=iy(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(Xk),Ho(cw,8),Ho(nl),Ho(ly),Ho(Zv,8))},t.\u0275dir=Gt({type:t,inputs:{disableRipple:"disableRipple"},features:[bo]}),t})(),WN=(()=>{class t extends $N{constructor(t,e,i,n,s,r,o){super(t,e,i,n,s,r,o)}}return t.\u0275fac=function(e){return new(e||t)(Ho(sc),Ho(Rc),Ho(Xk),Ho(cw,8),Ho(nl),Ho(ly),Ho(Zv,8))},t.\u0275cmp=Kt({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){if(1&t&&Ru(i,UN,4),2&t){let t;Eu(t=Du())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(xu(AN,7),xu(_N,7),xu(yN,7),xu(wN,5),xu(bN,5)),2&t){let t;Eu(t=Du())&&(e._inkBar=t.first),Eu(t=Du())&&(e._tabListContainer=t.first),Eu(t=Du())&&(e._tabList=t.first),Eu(t=Du())&&(e._nextPaginator=t.first),Eu(t=Du())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&pa("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[bo],ngContentSelectors:oN,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(na(),jo(0,"div",0,1),Jo("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),No(2,"div",2),Yo(),jo(3,"div",3,4),Jo("keydown",function(t){return e._handleKeydown(t)}),jo(5,"div",5,6),Jo("cdkObserveContent",function(){return e._onContentChanges()}),jo(7,"div",7),sa(8),Yo(),No(9,"mat-ink-bar"),Yo(),Yo(),jo(10,"div",8,9),Jo("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),No(12,"div",2),Yo()),2&t&&(pa("mat-tab-header-pagination-disabled",e._disableScrollBefore),Oo("matRippleDisabled",e._disableScrollBefore||e.disableRipple),rr(5),pa("_mat-animation-noopable","NoopAnimations"===e._animationMode),rr(5),pa("mat-tab-header-pagination-disabled",e._disableScrollAfter),Oo("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[jA,Cy,AN],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),t})(),GN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[ed,uA,lT,YA,Sy,ow],uA]}),t})();function JN(t,e){1&t&&No(0,"mat-spinner",5)}function ZN(t,e){1&t&&(Ma(0),uu(1,"translate")),2&t&&Ea(lu(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function QN(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function XN(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function tK(t,e){if(1&t&&(jo(0,"mat-option",36),Ma(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),rr(1),xa(" ",t.name," ")}}function eK(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function iK(t,e){1&t&&(jo(0,"mat-error"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function nK(t,e){1&t&&(Ma(0),uu(1,"translate")),2&t&&xa(" ",lu(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function sK(t,e){1&t&&(jo(0,"div",28),No(1,"mat-spinner",5),jo(2,"h5",37),Ma(3),uu(4,"translate"),Yo(),Yo()),2&t&&(rr(3),Ea(lu(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")))}function rK(t,e){1&t&&(jo(0,"app-alert",38),jo(1,"div",28),jo(2,"span",39),Ma(3),uu(4,"translate"),uu(5,"translate"),Yo(),jo(6,"span",40),jo(7,"mat-icon",41),Ma(8,"fiber_manual_record"),Yo(),Ma(9),uu(10,"translate"),Yo(),jo(11,"span",42),jo(12,"mat-icon",41),Ma(13,"fiber_manual_record"),Yo(),Ma(14),uu(15,"translate"),Yo(),Yo(),Yo()),2&t&&(rr(3),Ra(" ",lu(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",lu(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),rr(6),xa(" ",lu(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),rr(5),xa(" ",lu(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function oK(t,e){1&t&&(Ma(0),uu(1,"translate")),2&t&&Ea(lu(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function aK(t,e){1&t&&No(0,"mat-spinner",5)}const cK=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function uK(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publications-list",48),Jo("publicationSelector",function(e){ze(t),ea(2);const i=Fo(1);return ea(2).loadPublicationDetail(e,i)}),Yo()}if(2&t){const t=ea(4);Oo("displayedColumns",nu(4,cK))("disabledRouting",!0)("openInTab",!0)("publications",t.filteredPublications)}}function lK(t,e){if(1&t&&(jo(0,"div",46),Io(1,aK,1,0,"mat-spinner",3),Io(2,uK,1,5,"perun-web-apps-publications-list",47),Yo()),2&t){const t=ea(3);rr(1),Oo("ngIf",t.innerLoading),rr(1),Oo("ngIf",!t.innerLoading)}}function hK(t,e){1&t&&Ma(0),2&t&&Ea(ea(4).selectedPubTitle)}function dK(t,e){if(1&t&&(jo(0,"div",49),No(1,"perun-web-apps-publication-detail",50),Yo()),2&t){const t=ea(4);rr(1),Oo("publicationId",t.selectedPubId)}}function fK(t,e){1&t&&(jo(0,"mat-tab"),Io(1,hK,1,1,"ng-template",44),Io(2,dK,2,1,"ng-template",45),Yo())}function pK(t,e){if(1&t&&(jo(0,"mat-tab-group",null,43),jo(2,"mat-tab"),Io(3,oK,2,3,"ng-template",44),Io(4,lK,3,2,"ng-template",45),Yo(),Io(5,fK,3,0,"mat-tab",14),Yo()),2&t){const t=ea(2);rr(5),Oo("ngIf",null!==t.selectedPubId)}}function gK(t,e){1&t&&(jo(0,"div",28),jo(1,"mat-icon",51),Ma(2,"check_circle"),Yo(),jo(3,"h5",52),Ma(4),uu(5,"translate"),Yo(),Yo()),2&t&&(rr(4),Ea(lu(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")))}function mK(t,e){1&t&&(jo(0,"button",34),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function _K(t,e){if(1&t){const t=qo();jo(0,"button",57),Jo("click",function(){return ze(t),ea(3).redirect(["create-publication"])}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function yK(t,e){if(1&t&&(jo(0,"div",53),Io(1,mK,3,3,"button",54),jo(2,"button",55),Ma(3),uu(4,"translate"),Yo(),Io(5,_K,3,3,"button",56),Yo()),2&t){const t=ea(2);rr(1),Oo("ngIf",!t.duplicateCheck),rr(2),xa(" ",lu(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),rr(2),Oo("ngIf",!t.duplicateCheck)}}function wK(t,e){1&t&&(Ma(0),uu(1,"translate")),2&t&&xa(" ",lu(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function bK(t,e){1&t&&No(0,"mat-spinner",5)}function vK(t,e){if(1&t&&No(0,"perun-web-apps-add-authors",59),2&t){const t=ea(3);Oo("publication",t.publication)("selection",t.authorsSelection)}}function AK(t,e){if(1&t&&(jo(0,"div"),jo(1,"app-alert",58),Ma(2),uu(3,"translate"),Yo(),Io(4,vK,1,2,"perun-web-apps-add-authors",33),Yo()),2&t){const t=ea(2);rr(2),Ea(lu(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),rr(2),Oo("ngIf",null!==t.publication)}}function kK(t,e){1&t&&(jo(0,"button",34),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function TK(t,e){if(1&t&&(jo(0,"div",25),Io(1,kK,3,3,"button",54),jo(2,"button",60),Ma(3),uu(4,"translate"),Yo(),Yo()),2&t){const t=ea(2);rr(1),Oo("ngIf",!t.duplicateCheck),rr(2),xa(" ",lu(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function CK(t,e){1&t&&(Ma(0),uu(1,"translate")),2&t&&xa(" ",lu(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function SK(t,e){if(1&t&&No(0,"perun-web-apps-add-thanks",59),2&t){const t=ea(2);Oo("publication",t.publication)("selection",t.thanksSelection)}}function MK(t,e){1&t&&No(0,"mat-spinner",5)}function EK(t,e){if(1&t){const t=qo();jo(0,"mat-horizontal-stepper",6),Jo("selectionChange",function(e){return ze(t),ea().stepChanged(e)}),jo(1,"mat-step",7),Io(2,ZN,2,3,"ng-template",8),jo(3,"form",9),jo(4,"h5",10),Ma(5),uu(6,"translate"),Yo(),jo(7,"div",11),jo(8,"mat-checkbox",12),Ma(9),uu(10,"translate"),Yo(),jo(11,"mat-form-field"),No(12,"input",13),uu(13,"translate"),Io(14,QN,3,3,"mat-error",14),Yo(),jo(15,"mat-form-field",15),Jo("click",function(){return ze(t),Fo(22).open()}),jo(16,"mat-label"),Ma(17),uu(18,"translate"),Yo(),No(19,"input",16),No(20,"mat-datepicker-toggle",17),jo(21,"mat-datepicker",18,19),Jo("yearSelected",function(e){ze(t);const i=Fo(22);return ea().chosenYearHandler(e,i)}),Yo(),Io(23,XN,3,3,"mat-error",14),Yo(),jo(24,"mat-form-field"),jo(25,"mat-select",20),uu(26,"translate"),Io(27,tK,2,2,"mat-option",21),Yo(),Io(28,eK,3,3,"mat-error",14),Yo(),jo(29,"mat-form-field"),No(30,"input",22),uu(31,"translate"),Yo(),jo(32,"mat-form-field"),No(33,"input",23),uu(34,"translate"),Yo(),jo(35,"mat-form-field"),jo(36,"textarea",24),uu(37,"translate"),Ma(38," "),Yo(),Io(39,iK,3,3,"mat-error",14),Yo(),Yo(),Yo(),jo(40,"div",25),jo(41,"button",26),Ma(42),uu(43,"translate"),Yo(),Yo(),Yo(),jo(44,"mat-step",27),Io(45,nK,2,3,"ng-template",8),jo(46,"form",28),jo(47,"h5",10),Ma(48),uu(49,"translate"),Yo(),Io(50,sK,5,3,"div",29),Io(51,rK,16,12,"app-alert",30),Io(52,pK,6,1,"mat-tab-group",14),Io(53,gK,6,3,"div",29),Yo(),Io(54,yK,6,5,"div",31),Yo(),jo(55,"mat-step"),Io(56,wK,2,3,"ng-template",8),jo(57,"h5",10),Ma(58),uu(59,"translate"),Yo(),Io(60,bK,1,0,"mat-spinner",3),Io(61,AK,5,4,"div",14),Io(62,TK,5,4,"div",32),Yo(),jo(63,"mat-step"),Io(64,CK,2,3,"ng-template",8),jo(65,"h5",10),Ma(66),uu(67,"translate"),Yo(),Io(68,SK,1,2,"perun-web-apps-add-thanks",33),Io(69,MK,1,0,"mat-spinner",3),jo(70,"div",25),jo(71,"button",34),Ma(72),uu(73,"translate"),Yo(),jo(74,"button",35),Jo("click",function(){ze(t);const e=ea();return e.redirect(["all-publications",e.publication.id])}),Ma(75),uu(76,"translate"),Yo(),Yo(),Yo(),Yo()}if(2&t){const t=Fo(22),e=ea();rr(1),Oo("editable",!e.duplicateCheck)("stepControl",e.publicationControl),rr(2),Oo("formGroup",e.publicationControl),rr(2),xa(" ",lu(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),rr(4),xa(" ",lu(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),rr(3),ra("placeholder",lu(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),rr(2),Oo("ngIf",e.publicationControl.hasError("required","title")),rr(3),Ea(lu(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),rr(2),Oo("max",e.maxYear)("matDatepicker",t),rr(1),Oo("for",t),rr(3),Oo("ngIf",e.publicationControl.hasError("required","year")),rr(2),ra("placeholder",lu(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),rr(2),Oo("ngForOf",e.categories),rr(1),Oo("ngIf",e.publicationControl.hasError("required","category")),rr(2),ra("placeholder",lu(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),rr(3),ra("placeholder",lu(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),rr(3),ra("placeholder",lu(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),rr(3),Oo("ngIf",e.publicationControl.hasError("required","cite")),rr(2),Oo("disabled",e.publicationControl.invalid),rr(1),xa(" ",lu(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),rr(2),Oo("editable",!e.duplicateCheck),rr(4),xa(" ",lu(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),rr(2),Oo("ngIf",e.innerLoading),rr(1),Oo("ngIf",!e.innerLoading&&!e.duplicateCheck),rr(1),Oo("ngIf",!e.innerLoading&&!e.duplicateCheck),rr(1),Oo("ngIf",!e.innerLoading&&e.duplicateCheck),rr(1),Oo("ngIf",!e.innerLoading),rr(4),xa(" ",lu(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),rr(2),Oo("ngIf",e.innerLoading),rr(1),Oo("ngIf",!e.innerLoading),rr(1),Oo("ngIf",!e.innerLoading),rr(4),xa(" ",lu(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),rr(2),Oo("ngIf",null!==e.publication),rr(1),Oo("ngIf",e.innerLoading),rr(3),xa(" ",lu(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),rr(3),xa(" ",lu(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const xK=fO,RK={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let DK=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this.formBuilder=t,this.cabinetService=e,this.dialog=i,this.router=n,this.notificator=s,this.translate=r,this.storeService=o,this.userService=a,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new Wk(!0,[]),this.thanksSelection=new Wk(!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:["",UC.required],year:["",UC.required],category:["",UC.required],isbn:[""],doi:[""],cite:["",UC.required]}),this.maxYear=xK(),this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1})}chosenYearHandler(t,e){this.publicationControl.get("year").setValue(t),e.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 t={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(e=>{const i=e.userAttributes.filter(t=>"preferredMail"===t.friendlyName);0!==i.length&&(t.publication.createdBy=i[0].value),this.cabinetService.createPublication(t).subscribe(t=>{this.publication=t,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:e.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const t=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,e=this.publicationControl.get("DOI").value?this.publicationControl.get("DOI").value:null,i=this.publicationControl.get("ISBN").value?this.publicationControl.get("ISBN").value:null;this.cabinetService.findSimilarPublications(t,e,i).subscribe(t=>{this.similarPublications=t,this.filteredPublications=t,setTimeout(()=>{this.duplicateCheck=0===t.length,this.innerLoading=!1},2e3)})}stepChanged(t){1===t.selectedIndex&&this.similarCheck(),2===t.selectedIndex&&null===this.publication&&this.createPublication()}redirect(t){this.router.navigate(t)}loadPublicationDetail(t,e){this.selectedPubId=t.id,this.selectedPubTitle=t.title,e.selectedIndex=1}}return t.\u0275fac=function(e){return new(e||t)(Ho(iM),Ho(xf),Ho(Ax),Ho(m_),Ho(Gx),Ho(rx),Ho(Kx),Ho(Nf))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-create-single-publication-page"]],features:[Za([{provide:_A,useClass:_O,deps:[mA]},{provide:yA,useValue:RK}])],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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"span"),jo(3,"mat-icon",2),Ma(4,"add_box"),Yo(),Ma(5),uu(6,"translate"),Yo(),Yo(),Io(7,JN,1,0,"mat-spinner",3),Io(8,EK,77,65,"mat-horizontal-stepper",4),Yo()),2&t&&(rr(5),xa(" ",lu(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),rr(2),Oo("ngIf",e.loading),rr(1),Oo("ngIf",!e.loading))},directives:[jE,Bh,hR,oI,iI,$z,NS,lS,WS,jL,uS,JS,xC,vR,OC,QS,wC,aF,uF,kC,iF,kM,Hh,ak,aI,OS,cI,fC,XA,EH,YN,RN,SN,TN,iO,iN,Mj,dY],pipes:[ox],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}"]}),t})();function PK(t,e){if(1&t&&(jo(0,"mat-option",14),Ma(1),Yo()),2&t){const t=e.$implicit;Oo("value",t),rr(1),Ea(t.friendlyName)}}function LK(t,e){1&t&&(jo(0,"app-alert",15),Ma(1),uu(2,"translate"),Yo()),2&t&&(Oo("alert_type","info"),rr(1),xa(" ",lu(2,2,"IMPORT_PUBLICATIONS.INFO")," "))}function zK(t,e){if(1&t){const t=qo();jo(0,"perun-web-apps-publications-list",16),Jo("page",function(e){return ze(t),ea(2).pageChanged(e)}),Yo()}if(2&t){const t=ea(2);Oo("publications",t.publications)("displayedColumns",t.displayedColumns)("selection",t.selected)("pageSize",t.pageSize)("disabledRouting",!0)("allowAlert",t.firstSearchDone)}}function IK(t,e){if(1&t){const t=qo();jo(0,"div"),jo(1,"div"),jo(2,"mat-form-field",5),jo(3,"mat-label"),Ma(4),uu(5,"translate"),Yo(),jo(6,"mat-select",6),Jo("closed",function(){return ze(t),ea().selectPubSystem()}),Io(7,PK,2,2,"mat-option",7),Yo(),Yo(),No(8,"perun-web-apps-year-range",8),jo(9,"button",9),Jo("click",function(){return ze(t),ea().searchPublications()}),jo(10,"mat-icon"),Ma(11,"search"),Yo(),Ma(12),uu(13,"translate"),Yo(),jo(14,"button",10),Jo("click",function(){ze(t);const e=ea();return e.importPublications(e.selected.selected)}),Ma(15),uu(16,"translate"),Yo(),jo(17,"mat-checkbox",11),Jo("ngModelChange",function(e){return ze(t),ea().userAsAuthor=e}),Ma(18),uu(19,"translate"),Yo(),Yo(),Io(20,LK,3,4,"app-alert",12),Io(21,zK,1,6,"perun-web-apps-publications-list",13),Yo()}if(2&t){const t=ea();rr(4),Ea(lu(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),rr(2),Oo("formControl",t.pubSystem),rr(1),Oo("ngForOf",t.publicationSystems),rr(1),Oo("startYear",t.startYear)("endYear",t.endYear),rr(4),xa(" ",lu(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),rr(2),Oo("disabled",0===t.selected.selected.length),rr(1),xa(" ",lu(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),rr(2),Oo("ngModel",t.userAsAuthor),rr(1),xa(" ",lu(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),rr(2),Oo("ngIf",!t.firstSearchDone),rr(1),Oo("ngIf",!t.loading)}}function FK(t,e){1&t&&No(0,"mat-spinner",17)}function HK(t,e){1&t&&(jo(0,"i"),Ma(1),uu(2,"translate"),Yo()),2&t&&(rr(1),xa(" ",lu(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function OK(t,e){1&t&&(jo(0,"mat-icon",28),Ma(1,"check_circle"),Yo())}function BK(t,e){if(1&t){const t=qo();jo(0,"button",29),Jo("click",function(){ze(t);const e=ea(),i=e.$implicit,n=e.index;return ea(2).completePublication(i.id,n)}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function jK(t,e){if(1&t){const t=qo();jo(0,"button",30),Jo("click",function(){ze(t);const e=ea().$implicit;return ea(2).incompletePublication(e.id)}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function YK(t,e){if(1&t){const t=qo();jo(0,"mat-expansion-panel",22),jo(1,"mat-expansion-panel-header",23),Jo("click",function(){const e=ze(t).index;return ea(2).editPublication(e)}),jo(2,"mat-panel-title"),Ma(3),Io(4,HK,3,3,"i",3),Io(5,OK,2,0,"mat-icon",24),Yo(),Yo(),No(6,"perun-web-apps-publication-detail",25),jo(7,"div",26),Io(8,BK,3,3,"button",20),Io(9,jK,3,3,"button",27),Yo(),Yo()}if(2&t){const t=e.$implicit,i=e.index,n=ea(2);Oo("expanded",n.indexExpanded===i),rr(3),xa(" ",t.title," "),rr(1),Oo("ngIf",!n.completePublications.includes(t.id)),rr(1),Oo("ngIf",n.completePublications.includes(t.id)),rr(1),Oo("publicationId",t.id),rr(2),Oo("ngIf",!n.completePublications.includes(t.id)),rr(1),Oo("ngIf",n.completePublications.includes(t.id))}}function NK(t,e){if(1&t){const t=qo();jo(0,"button",29),Jo("click",function(){return ze(t),ea(2).completeAllPublications()}),Ma(1),uu(2,"translate"),Yo()}2&t&&(rr(1),xa(" ",lu(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function KK(t,e){if(1&t){const t=qo();jo(0,"div",31),uu(1,"translate"),jo(2,"button",32),Jo("click",function(){return ze(t),ea(2).onSubmit()}),Ma(3),uu(4,"translate"),Yo(),Yo()}if(2&t){const t=ea(2);ra("matTooltip",lu(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),Oo("matTooltipPosition","above")("matTooltipDisabled",t.completePublications.length===t.importedPublications.length),rr(3),xa(" ",lu(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function UK(t,e){if(1&t&&(jo(0,"div"),jo(1,"app-alert",15),Ma(2),uu(3,"translate"),Yo(),jo(4,"mat-accordion"),Io(5,YK,10,7,"mat-expansion-panel",18),Yo(),jo(6,"div",19),Io(7,NK,3,3,"button",20),Yo(),Io(8,KK,5,8,"div",21),Yo()),2&t){const t=ea();rr(1),Oo("alert_type","info"),rr(1),xa(" ",lu(3,5,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),rr(3),Oo("ngForOf",t.importedPublications),rr(2),Oo("ngIf",t.completePublications.length!==t.importedPublications.length),rr(1),Oo("ngIf",t.completePublications.length===t.importedPublications.length)}}const VK=fO,qK={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},$K=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:sN},{path:"all-publications",component:SO},{path:"my-publications",component:RO},{path:"create-publication",component:DO},{path:"create-publication/import",component:(()=>{class t{constructor(t,e,i,n,s,r,o){this.cabinetService=t,this.storeService=e,this.tableConfigService=i,this.notificator=n,this.translate=s,this.router=r,this.dialog=o,this.loading=!1,this.publicationSystems=[],this.pubSystem=new LS,this.publications=[],this.selected=new Wk(!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.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new LS(VK().subtract(1,"year")),this.endYear=new LS(VK()),this.cabinetService.getPublicationSystems().subscribe(t=>{this.publicationSystems=t.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(t=>{this.publications=t,this.loading=!1},()=>this.loading=!1)}importPublications(t){if(this.loading=!0,0===t.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const e=t.shift();this.cabinetService.createPublication({publication:{title:e.title,categoryId:e.categoryId,year:e.year,isbn:e.isbn,doi:e.doi,main:e.main}}).subscribe(e=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:e.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(e),this.importPublications(t)},()=>this.loading=!1):(this.importedPublications.push(e),this.importPublications(t))},()=>this.loading=!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}editPublication(t){this.indexExpanded=t===this.indexExpanded?-1:t}completePublication(t,e){this.completePublications.includes(t)||this.completePublications.push(t),this.indexExpanded=e!==this.importedPublications.length-1?e+1:-1}incompletePublication(t){this.completePublications.includes(t)&&(this.completePublications=this.completePublications.filter(e=>e!==t)),this.indexExpanded=-1}completeAllPublications(){const t=Dx();t.width="500px",t.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(zD,t).afterClosed().subscribe(t=>{t&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return t.\u0275fac=function(e){return new(e||t)(Ho(xf),Ho(Kx),Ho(uO),Ho(Gx),Ho(rx),Ho(m_),Ho(Ax))},t.\u0275cmp=Kt({type:t,selectors:[["perun-web-apps-import-publications-page"]],features:[Za([{provide:_A,useClass:_O,deps:[mA]},{provide:yA,useValue:qK}])],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"],[3,"alert_type",4,"ngIf"],[3,"publications","displayedColumns","selection","pageSize","disabledRouting","allowAlert","page",4,"ngIf"],[1,"group-theme",3,"value"],[3,"alert_type"],[3,"publications","displayedColumns","selection","pageSize","disabledRouting","allowAlert","page"],[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(t,e){1&t&&(jo(0,"div",0),jo(1,"h1",1),jo(2,"span"),jo(3,"mat-icon",2),Ma(4,"add_box"),Yo(),Ma(5),uu(6,"translate"),Yo(),Yo(),Io(7,IK,22,20,"div",3),Io(8,FK,1,0,"mat-spinner",4),Io(9,UK,9,7,"div",3),Yo()),2&t&&(rr(5),xa(" ",lu(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),rr(2),Oo("ngIf",!e.importDone),rr(1),Oo("ngIf",e.loading),rr(1),Oo("ngIf",e.importDone))},directives:[jE,Bh,xC,wC,kM,uS,qS,Hh,wO,ak,jL,YS,XA,EH,iO,hR,hz,cz,uz,lz,iN,BM],pipes:[ox],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}.checked-icon[_ngcontent-%COMP%], mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle}.right-button[_ngcontent-%COMP%]{margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%], .right-button[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.fit-content[_ngcontent-%COMP%]{margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),t})()},{path:"create-publication/create",component:DK},{path:"authors",component:rB},{path:"authors/:authorId",component:cj},{path:"authors/:authorId/publication/:publicationId",component:iN},{path:"all-publications/:publicationId",component:iN},{path:"my-publications/:publicationId",component:iN},{path:"categories",component:YB},{path:"publication-systems",component:sj}];let WK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=ft({imports:[[R_.forRoot($K,{preloadingStrategy:k_,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],R_]}),t})();const GK={provide:hf,useExisting:rt(()=>Jx),multi:!0};function JK(t){return new _L(t,"./assets/i18n/",".json")}function ZK(t){const e={basePath:t.get("api_url")};return new Cf(e)}const QK=t=>()=>t.loadConfigs();let XK=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(gn($x),gn(rx))},t.\u0275mod=$t({type:t,bootstrap:[mL]}),t.\u0275inj=ft({providers:[$x,{provide:Fu,useFactory:QK,multi:!0,deps:[bL]},{provide:Cf,useFactory:ZK,deps:[Kx]},Jx,GK,{provide:vL,useClass:Qx},yO],imports:[[Od,ax.forRoot({loader:{provide:NE,useFactory:JK,deps:[uf]}}),eA,TH,AL,Gf,Af,WK,SF,eR,nN,GN,cx]]}),t})();(function(){if(ml)throw new Error("Cannot enable prod mode after platform setup.");gl=!1})(),Fd().bootstrapModule(XK).catch(t=>console.error(t))},2051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){o(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,r=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(t,r,o){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=r=r||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,r,o):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,r){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,r),s);else if(i(t))e(t,s,r);else{var o=document.createElement("a");o.href=t,o.target="_blank",setTimeout(function(){n(o)})}}:function(t,i,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||r)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=o.saveAs=o,t.exports=o})?i.apply(e,[]):i)||(t.exports=n)},776:function(t,e,i){!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(t){return/^nm$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},2758:function(t,e,i){!function(t){"use strict";t.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(i(9609))},4980:function(t,e,i){!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}})}(i(9609))},9602:function(t,e,i){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(t){return function(e,s,r,o){var a=i(e),c=n[t][i(e)];return 2===a&&(c=c[s?0:1]),c.replace(/%d/i,e)}},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"];t.defineLocale("ar-ly",{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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},2500:function(t,e,i){!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\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:6,doy:12}})}(i(9609))},6909:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(9609))},2735:function(t,e,i){!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}})}(i(9609))},7634:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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"]},r=function(t){return function(e,i,r,o){var a=n(e),c=s[t][n(e)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,e)}},o=["\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:o,monthsShort:o,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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},7798:function(t,e,i){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};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:"birne\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(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9949:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}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:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(i(9609))},4590:function(t,e,i){!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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},5938:function(t,e,i){!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}})}(i(9609))},595:function(t,e,i){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\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\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(9609))},4756:function(t,e,i){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\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\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("_"),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\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("_"),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(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(9609))},7277:function(t,e,i){!function(t){"use strict";function e(t,e,i){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],t)}function i(t){return t>9?i(t%10):t}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i(9609))},4166:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},3943:function(t,e,i){!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(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}})}(i(9609))},3474:function(t,e,i){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^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],s=/^(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 r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||n?s+(r(t)?"sekundy":"sekund"):s+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?s+(r(t)?"minuty":"minut"):s+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?s+(r(t)?"hodiny":"hodin"):s+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?s+(r(t)?"dny":"dn\xed"):s+"dny";case"M":return e||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||n?s+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?s+(r(t)?"roky":"let"):s+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},2218:function(t,e,i){!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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(9609))},1061:function(t,e,i){!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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(i(9609))},2743:function(t,e,i){!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}})}(i(9609))},8580:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3264:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1899:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8784:function(t,e,i){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,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(t){return"\u0789\u078a"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(9609))},4654:function(t,e,i){!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(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.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(t,e,i){return t>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var i,n=this._calendarEl[t],s=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(9609))},4047:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6277:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6896:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},1609:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},4557:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},5836:function(t,e,i){!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",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},3586:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2777:function(t,e,i){!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_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,i){return t>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(9609))},3128:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},3256:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(9609))},3357:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},2654:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},7287:function(t,e,i){!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}})}(i(9609))},3875:function(t,e,i){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\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(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,i){return t<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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(9609))},3431:function(t,e,i){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function n(t,n,s,r){var o="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,n){return t<10?n?i[t]:e[t]:t}(t,r)+" "+o}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1781:function(t,e,i){!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}})}(i(9609))},1539:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(i(9609))},9847:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},1717:function(t,e,i){!function(t){"use strict";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("_"),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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},2250:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},7665:function(t,e,i){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},5214:function(t,e,i){!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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},6154:function(t,e,i){!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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},8518:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?s[i][0]:s[i][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(i(9609))},9221:function(t,e,i){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\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\u0ac7\u0ab9\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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(9609))},4743:function(t,e,i){!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(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,i){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(9609))},7339:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(9609))},3224:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},856:function(t,e,i){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(t,e,i,n){var s=t;switch(i){case"s":return n||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return s+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return s+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||e?" \xe9v":" \xe9ve");case"yy":return s+(n||e?" \xe9v":" \xe9ve")}return""}function n(t){return(t?"":"[m\xfalt] ")+"["+e[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("_"),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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(i(9609))},6855:function(t,e,i){!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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(i(9609))},2190:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},3887:function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,s){var r=t+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(i||s?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(i||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return e(t)?i?r+"dagar":r+(s?"daga":"d\xf6gum"):i?r+"dagur":r+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?i?r+"m\xe1nu\xf0ir":r+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?r+"m\xe1nu\xf0ur":r+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(i||s?"\xe1r":"\xe1rum"):r+(i||s?"\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:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},5890:function(t,e,i){!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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},9270:function(t,e,i){!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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},6595:function(t,e,i){!function(t){"use strict";t.defineLocale("ja",{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:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,i){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(9609))},7477:function(t,e,i){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(i(9609))},3978:function(t,e,i){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9205:function(t,e,i){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},25:function(t,e,i){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\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(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(9609))},427:function(t,e,i){!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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,i){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(9609))},9089:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\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:n,monthsShort:n,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(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},9314:function(t,e,i){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},3136:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={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 e?s[i][0]:s[i][1]}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return i(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=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(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9115:function(t,e,i){!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(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,i){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(i(9609))},7087:function(t,e,i){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_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 i(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(t){return t%10==0||t>10&&t<20}function s(t){return e[t].split("_")}function r(t,e,r,o){var a=t+" ";return 1===t?a+i(0,e,r[0],o):e?a+(n(t)?s(r)[1]:s(r)[0]):o?a+s(r)[1]:a+(n(t)?s(r)[1]:s(r)[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(t,e,i,n){return e?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i(9609))},5683:function(t,e,i){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(t,e,i){return i?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,s){return t+" "+i(e[s],t,n)}function s(t,n,s){return i(e[s],t,n)}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(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9454:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},5507:function(t,e,i){!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}})}(i(9609))},8466:function(t,e,i){!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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},2933:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(9609))},9477:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){switch(i){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 t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}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(t){return"\u04ae\u0425"===t},meridiem:function(t,e,i){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(i(9609))},3597:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(t,e,i,n){var s="";if(e)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,t)}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e?t>=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(9609))},9965:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},5529:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},259:function(t,e,i){!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}})}(i(9609))},8061:function(t,e,i){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\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(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},2618:function(t,e,i){!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_april_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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8452:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,i){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(9609))},413:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},1885:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},5107:function(t,e,i){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},702:function(t,e,i){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(9609))},1711:function(t,e,i){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function s(t,e,i){var s=t+" ";switch(i){case"ss":return s+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return s+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return s+(n(t)?"godziny":"godzin");case"MM":return s+(n(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?""===n?"("+i[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(n)?i[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8238:function(t,e,i){!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"})}(i(9609))},594:function(t,e,i){!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",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},4681:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(i(9609))},6201:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\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",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}var i=[/^\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:i,longMonthsParse:i,shortMonthsParse:i,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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(i(9609))},2912:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6002:function(t,e,i){!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}})}(i(9609))},7942:function(t,e,i){!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(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,i){return t>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(9609))},5577:function(t,e,i){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function s(t,e,i,s){var r=t+" ";switch(i){case"s":return e||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||s?r+(n(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return e||s?r+(n(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":s?"hodinu":"hodinou";case"hh":return e||s?r+(n(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||s?"de\u0148":"d\u0148om";case"dd":return e||s?r+(n(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||s?"mesiac":"mesiacom";case"MM":return e||s?r+(n(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||s?"rok":"rokom";case"yy":return e||s?r+(n(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:i,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(i(9609))},1775:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return s+(1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return s+(1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return s+(1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return s+(1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return s+(1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6823:function(t,e,i){!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(t){return"M"===t.charAt(0)},meridiem:function(t,e,i){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3848:function(t,e,i){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},9038:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6173:function(t,e,i){!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(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(9609))},5788:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(i(9609))},6882:function(t,e,i){!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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(9609))},2678:function(t,e,i){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\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(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e,i){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(i(9609))},2797:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(9609))},2447:function(t,e,i){!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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},1335:function(t,e,i){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},8667:function(t,e,i){!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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,i){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(9609))},9914:function(t,e,i){!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(t){return t},week:{dow:1,doy:4}})}(i(9609))},1389:function(t,e,i){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(t,i,n,s){var r=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),s=t%10,r="";return i>0&&(r+=e[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+e[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+e[s]),""===r?"pagh":r}(t);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" 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(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3578:function(t,e,i){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};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_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".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 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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,i){switch(i){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(i(9609))},6969:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?s[i][0]:s[i][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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,i){return t>11?i?"d'o":"D'O":i?"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: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}})}(i(9609))},690:function(t,e,i){!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}})}(i(9609))},6509:function(t,e,i){!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}})}(i(9609))},55:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(9609))},2452:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(n=+t,s={ss:e?"\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:e?"\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:e?"\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"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}function i(t){return function(){return t+"\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(t,e){var i={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===t?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):t?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:i.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(i(9609))},1151:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6547:function(t,e,i){!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}})}(i(9609))},1555:function(t,e,i){!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}})}(i(9609))},6541:function(t,e,i){!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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(i(9609))},2401:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2341:function(t,e,i){!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}})}(i(9609))},619:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<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|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(9609))},7058:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},2782:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},9609:function(t,e,i){(t=i.nmd(t)).exports=function(){"use strict";var e,n;function s(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i<_.length;i++)a(s=e[n=_[i]])||(t[n]=s);return t}var w=!1;function b(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,s.updateOffset(this),w=!1)}function v(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function A(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function k(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=A(e)),i}function T(t,e,i){var n,s=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(n=0;n=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},K={};function U(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(K[t]=s),e&&(K[e[0]]=function(){return B(s.apply(this,arguments),e[1],e[2])}),i&&(K[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function V(t,e){return t.isValid()?(e=q(e,t.localeData()),N[e]=N[e]||function(t){var e,i,n,s=t.match(j);for(e=0,i=s.length;e=0&&Y.test(t);)t=t.replace(Y,n),Y.lastIndex=0,i-=1;return t}var $=/\d/,W=/\d\d/,G=/\d{3}/,J=/\d{4}/,Z=/[+-]?\d{6}/,Q=/\d\d?/,X=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,st=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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,ut={};function lt(t,e,i){ut[t]=R(e)?e:function(t,n){return t&&i?i:e}}function ht(t,e){return h(ut,t)?ut[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,s){return e||i||n||s})))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function pt(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),c(e)&&(n=function(t,i){i[e]=k(t)}),i=0;i68?1900:2e3)};var wt,bt=vt("FullYear",!0);function vt(t,e){return function(i){return null!=i?(kt(this,t,i),s.updateOffset(this,e),this):At(this,t)}}function At(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function kt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&yt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Tt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Tt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?yt(t)?29:28:31-i%7%2}wt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0?(a=new Date(t+400,e,i,n,s,r,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,s,r,o),a}function It(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Ft(t,e,i){var n=7+e-i;return-(7+It(t,0,n).getUTCDay()-e)%7+n-1}function Ht(t,e,i,n,s){var r,o,a=1+7*(e-1)+(7+i-n)%7+Ft(t,n,s);return a<=0?o=_t(r=t-1)+a:a>_t(t)?(r=t+1,o=a-_t(t)):(r=t,o=a),{year:r,dayOfYear:o}}function Ot(t,e,i){var n,s,r=Ft(t.year(),e,i),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?n=o+Bt(s=t.year()-1,e,i):o>Bt(t.year(),e,i)?(n=o-Bt(t.year(),e,i),s=t.year()+1):(s=t.year(),n=o),{week:n,year:s}}function Bt(t,e,i){var n=Ft(t,e,i),s=Ft(t+1,e,i);return(_t(t)-n+s)/7}function jt(t,e){return t.slice(e,7).concat(t.slice(0,e))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),O("week",5),O("isoWeek",5),lt("w",Q),lt("ww",Q,W),lt("W",Q),lt("WW",Q,W),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=k(t)}),U("d",0,"do","day"),U("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),U("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),U("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),O("day",11),O("weekday",11),O("isoWeekday",11),lt("d",Q),lt("e",Q),lt("E",Q),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){var s=i._locale.weekdaysParse(t,n,i._strict);null!=s?e.d=s:p(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=k(t)});var Yt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ut(t,e,i){var n,s,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(s=wt.call(this._weekdaysParse,o))?s:null:"ddd"===e?-1!==(s=wt.call(this._shortWeekdaysParse,o))?s:null:-1!==(s=wt.call(this._minWeekdaysParse,o))?s:null:"dddd"===e?-1!==(s=wt.call(this._weekdaysParse,o))||-1!==(s=wt.call(this._shortWeekdaysParse,o))||-1!==(s=wt.call(this._minWeekdaysParse,o))?s:null:"ddd"===e?-1!==(s=wt.call(this._shortWeekdaysParse,o))||-1!==(s=wt.call(this._weekdaysParse,o))||-1!==(s=wt.call(this._minWeekdaysParse,o))?s:null:-1!==(s=wt.call(this._minWeekdaysParse,o))||-1!==(s=wt.call(this._weekdaysParse,o))||-1!==(s=wt.call(this._shortWeekdaysParse,o))?s:null}var Vt=ct,qt=ct,$t=ct;function Wt(){function t(t,e){return e.length-t.length}var e,i,n,s,r,o=[],a=[],c=[],u=[];for(e=0;e<7;e++)i=f([2e3,1]).day(e),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),r=this.weekdays(i,""),o.push(n),a.push(s),c.push(r),u.push(n),u.push(s),u.push(r);for(o.sort(t),a.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)a[e]=dt(a[e]),c[e]=dt(c[e]),u[e]=dt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Gt(){return this.hours()%12||12}function Jt(t,e){U(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Zt(t,e){return e._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Gt),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+Gt.apply(this)+B(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Gt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Jt("a",!0),Jt("A",!1),z("hour","h"),O("hour",13),lt("a",Zt),lt("A",Zt),lt("H",Q),lt("h",Q),lt("k",Q),lt("HH",Q,W),lt("hh",Q,W),lt("kk",Q,W),lt("hmm",X),lt("hmmss",tt),lt("Hmm",X),lt("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],function(t,e,i){var n=k(t);e[3]=24===n?0:n}),pt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),pt(["h","hh"],function(t,e,i){e[3]=k(t),p(i).bigHour=!0}),pt("hmm",function(t,e,i){var n=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n)),p(i).bigHour=!0}),pt("hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n,2)),e[5]=k(t.substr(s)),p(i).bigHour=!0}),pt("Hmm",function(t,e,i){var n=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n))}),pt("Hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n,2)),e[5]=k(t.substr(s))});var Qt,Xt=vt("Hours",!0),te={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Mt,week:{dow:0,doy:6},weekdays:Yt,weekdaysMin:Kt,weekdaysShort:Nt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ie={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function se(e){var n=null;if(!ee[e]&&t&&t.exports)try{n=Qt._abbr,i(6700)("./"+e),re(n)}catch(s){}return ee[e]}function re(t,e){var i;return t&&((i=a(e)?ae(t):oe(t,e))?Qt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function oe(t,e){if(null!==e){var i,n=te;if(e.abbr=t,null!=ee[t])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])n=ee[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ie[e.parentLocale]||(ie[e.parentLocale]=[]),ie[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ee[t]=new P(D(n,e)),ie[t]&&ie[t].forEach(function(t){oe(t.name,t.config)}),re(t),ee[t]}return delete ee[t],null}function ae(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!r(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,s,r=0;r0;){if(n=se(s.slice(0,e).join("-")))return n;if(i&&i.length>=e&&T(s,i,!0)>=e-1)break;e--}r++}return Qt}(t)}function ce(t){var e,i=t._a;return i&&-2===p(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Tt(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,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}function ue(t,e,i){return null!=t?t:null!=e?e:i}function le(t){var e,i,n,r,o,a=[];if(!t._d){for(n=function(t){var e=new Date(s.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,s,r,o,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,o=4,i=ue(e.GG,t._a[0],Ot(Te(),1,4).year),n=ue(e.W,1),((s=ue(e.E,1))<1||s>7)&&(c=!0);else{r=t._locale._week.dow,o=t._locale._week.doy;var u=Ot(Te(),r,o);i=ue(e.gg,t._a[0],u.year),n=ue(e.w,u.week),null!=e.d?((s=e.d)<0||s>6)&&(c=!0):null!=e.e?(s=e.e+r,(e.e<0||e.e>6)&&(c=!0)):s=r}n<1||n>Bt(i,r,o)?p(t)._overflowWeeks=!0:null!=c?p(t)._overflowWeekday=!0:(a=Ht(i,n,s,r,o),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=ue(t._a[0],n[0]),(t._dayOfYear>_t(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),i=It(o,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?It:zt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(p(t).weekdayMismatch=!0)}}var he=/^\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)?)?$/,de=/^\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)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["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}/]],ge=[["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/]],me=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,s,r,o,a=t._i,c=he.exec(a)||de.exec(a);if(c){for(p(t).iso=!0,e=0,i=pe.length;e0&&p(t).unusedInput.push(o),a=a.slice(a.indexOf(i)+i.length),u+=i.length),K[r]?(i?p(t).empty=!1:p(t).unusedTokens.push(r),mt(r,i,t)):t._strict&&!i&&p(t).unusedTokens.push(r);p(t).charsLeftOver=c-u,a.length>0&&p(t).unusedInput.push(a),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),le(t),ce(t)}else be(t);else _e(t)}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||ae(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),v(e)?new b(ce(e)):(u(e)?t._d=e:r(i)?function(t){var e,i,n,s,r;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(s=0;sthis?this:t:m()});function Me(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],n=1;n=0?new Date(t+400,e,i)-ti:new Date(t,e,i).valueOf()}function ni(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ti:Date.UTC(t,e,i)}function si(t,e){U(0,[t,t.length],0,e)}function ri(t,e,i,n,s){var r;return null==t?Ot(this,n,s).year:(e>(r=Bt(t,n,s))&&(e=r),oi.call(this,t,e,i,n,s))}function oi(t,e,i,n,s){var r=Ht(t,e,i,n,s),o=It(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),lt("G",rt),lt("g",rt),lt("GG",Q,W),lt("gg",Q,W),lt("GGGG",it,J),lt("gggg",it,J),lt("GGGGG",nt,Z),lt("ggggg",nt,Z),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=k(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=s.parseTwoDigitYear(t)}),U("Q",0,"Qo","quarter"),z("quarter","Q"),O("quarter",7),lt("Q",$),pt("Q",function(t,e){e[1]=3*(k(t)-1)}),U("D",["DD",2],"Do","date"),z("date","D"),O("date",9),lt("D",Q),lt("DD",Q,W),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),pt(["D","DD"],2),pt("Do",function(t,e){e[2]=k(t.match(Q)[0])});var ai=vt("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),O("dayOfYear",4),lt("DDD",et),lt("DDDD",G),pt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=k(t)}),U("m",["mm",2],0,"minute"),z("minute","m"),O("minute",14),lt("m",Q),lt("mm",Q,W),pt(["m","mm"],4);var ci=vt("Minutes",!1);U("s",["ss",2],0,"second"),z("second","s"),O("second",15),lt("s",Q),lt("ss",Q,W),pt(["s","ss"],5);var ui,li=vt("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),O("millisecond",16),lt("S",et,$),lt("SS",et,W),lt("SSS",et,G),ui="SSSS";ui.length<=9;ui+="S")lt(ui,st);function hi(t,e){e[6]=k(1e3*("0."+t))}for(ui="S";ui.length<=9;ui+="S")pt(ui,hi);var di=vt("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var fi=b.prototype;function pi(t){return t}fi.add=Ve,fi.calendar=function(t,e){var i=t||Te(),n=Ie(i,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",o=e&&(R(e[r])?e[r].call(this,i):e[r]);return this.format(o||this.localeData().calendar(r,this,Te(i)))},fi.clone=function(){return new b(this)},fi.diff=function(t,e,i){var n,s,r;if(!this.isValid())return NaN;if(!(n=Ie(t,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":r=$e(this,n)/12;break;case"month":r=$e(this,n);break;case"quarter":r=$e(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return i?r:A(r)},fi.endOf=function(t){var e;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?ni:ii;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Xe-ei(e+(this._isUTC?0:this.utcOffset()*Qe),Xe)-1;break;case"minute":e=this._d.valueOf(),e+=Qe-ei(e,Qe)-1;break;case"second":e=this._d.valueOf(),e+=Ze-ei(e,Ze)-1}return this._d.setTime(e),s.updateOffset(this,!0),this},fi.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=V(this,t);return this.localeData().postformat(e)},fi.from=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||Te(t).isValid())?je({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},fi.fromNow=function(t){return this.from(Te(),t)},fi.to=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||Te(t).isValid())?je({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},fi.toNow=function(t){return this.to(Te(),t)},fi.get=function(t){return R(this[t=I(t)])?this[t]():this},fi.invalidAt=function(){return p(this).overflow},fi.isAfter=function(t,e){var i=v(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?V(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(i,"Z")):V(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},fi.toJSON=function(){return this.isValid()?this.toISOString():null},fi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fi.unix=function(){return Math.floor(this.valueOf()/1e3)},fi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fi.year=bt,fi.isLeapYear=function(){return yt(this.year())},fi.weekYear=function(t){return ri.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fi.isoWeekYear=function(t){return ri.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},fi.quarter=fi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},fi.month=Rt,fi.daysInMonth=function(){return Tt(this.year(),this.month())},fi.week=fi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},fi.isoWeek=fi.isoWeeks=function(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},fi.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},fi.isoWeeksInYear=function(){return Bt(this.year(),1,4)},fi.date=ai,fi.day=fi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},fi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},fi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},fi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},fi.hour=fi.hours=Xt,fi.minute=fi.minutes=ci,fi.second=fi.seconds=li,fi.millisecond=fi.milliseconds=di,fi.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=ze(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Fe(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?Ue(this,je(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Fe(this)},fi.utc=function(t){return this.utcOffset(0,t)},fi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},fi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ze(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},fi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},fi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fi.isLocal=function(){return!!this.isValid()&&!this._isUTC},fi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fi.isUtc=He,fi.isUTC=He,fi.zoneAbbr=function(){return this._isUTC?"UTC":""},fi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fi.dates=S("dates accessor is deprecated. Use date instead.",ai),fi.months=S("months accessor is deprecated. Use month instead",Rt),fi.years=S("years accessor is deprecated. Use year instead",bt),fi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),fi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=Ae(t))._a){var e=t._isUTC?f(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&T(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var gi=P.prototype;function mi(t,e,i,n){var s=ae(),r=f().set(n,e);return s[i](r,t)}function _i(t,e,i){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return mi(t,e,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=mi(t,n,i,"month");return s}function yi(t,e,i,n){"boolean"==typeof t?(c(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,c(e)&&(i=e,e=void 0),e=e||"");var s,r=ae(),o=t?r._week.dow:0;if(null!=i)return mi(e,(i+o)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=mi(e,(s+o)%7,n,"day");return a}gi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return R(n)?n.call(e,i):n},gi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},gi.invalidDate=function(){return this._invalidDate},gi.ordinal=function(t){return this._ordinal.replace("%d",t)},gi.preparse=pi,gi.postformat=pi,gi.relativeTime=function(t,e,i,n){var s=this._relativeTime[i];return R(s)?s(t,e,i,n):s.replace(/%d/i,t)},gi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return R(i)?i(e):i.replace(/%s/i,e)},gi.set=function(t){var e,i;for(i in t)R(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ct).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},gi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ct.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gi.monthsParse=function(t,e,i){var n,s,r;if(this._monthsParseExact)return Et.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},gi.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Lt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},gi.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Lt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Dt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},gi.week=function(t){return Ot(t,this._week.dow,this._week.doy).week},gi.firstDayOfYear=function(){return this._week.doy},gi.firstDayOfWeek=function(){return this._week.dow},gi.weekdays=function(t,e){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?jt(i,this._week.dow):t?i[t.day()]:i},gi.weekdaysMin=function(t){return!0===t?jt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},gi.weekdaysShort=function(t){return!0===t?jt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},gi.weekdaysParse=function(t,e,i){var n,s,r;if(this._weekdaysParseExact)return Ut.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},gi.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},gi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Wt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$t),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},gi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},re("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===k(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),s.lang=S("moment.lang is deprecated. Use moment.locale instead.",re),s.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ae);var wi=Math.abs;function bi(t,e,i,n){var s=je(e,i);return t._milliseconds+=n*s._milliseconds,t._days+=n*s._days,t._months+=n*s._months,t._bubble()}function vi(t){return t<0?Math.floor(t):Math.ceil(t)}function Ai(t){return 4800*t/146097}function ki(t){return 146097*t/4800}function Ti(t){return function(){return this.as(t)}}var Ci=Ti("ms"),Si=Ti("s"),Mi=Ti("m"),Ei=Ti("h"),xi=Ti("d"),Ri=Ti("w"),Di=Ti("M"),Pi=Ti("Q"),Li=Ti("y");function zi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ii=zi("milliseconds"),Fi=zi("seconds"),Hi=zi("minutes"),Oi=zi("hours"),Bi=zi("days"),ji=zi("months"),Yi=zi("years"),Ni=Math.round,Ki={ss:44,s:45,m:45,h:22,d:26,M:11};function Ui(t,e,i,n,s){return s.relativeTime(e||1,!!i,t,n)}var Vi=Math.abs;function qi(t){return(t>0)-(t<0)||+t}function $i(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Vi(this._milliseconds)/1e3,n=Vi(this._days),s=Vi(this._months);t=A(i/60),e=A(t/60),i%=60,t%=60;var r=A(s/12),o=s%=12,a=n,c=e,u=t,l=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=qi(this._months)!==qi(h)?"-":"",p=qi(this._days)!==qi(h)?"-":"",g=qi(this._milliseconds)!==qi(h)?"-":"";return d+"P"+(r?f+r+"Y":"")+(o?f+o+"M":"")+(a?p+a+"D":"")+(c||u||l?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(l?g+l+"S":"")}var Wi=xe.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var t=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),t.milliseconds=wi(t.milliseconds),t.seconds=wi(t.seconds),t.minutes=wi(t.minutes),t.hours=wi(t.hours),t.months=wi(t.months),t.years=wi(t.years),this},Wi.add=function(t,e){return bi(this,t,e,1)},Wi.subtract=function(t,e){return bi(this,t,e,-1)},Wi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(i=this._months+Ai(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ki(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Wi.asMilliseconds=Ci,Wi.asSeconds=Si,Wi.asMinutes=Mi,Wi.asHours=Ei,Wi.asDays=xi,Wi.asWeeks=Ri,Wi.asMonths=Di,Wi.asQuarters=Pi,Wi.asYears=Li,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Wi._bubble=function(){var t,e,i,n,s,r=this._milliseconds,o=this._days,a=this._months,c=this._data;return r>=0&&o>=0&&a>=0||r<=0&&o<=0&&a<=0||(r+=864e5*vi(ki(a)+o),o=0,a=0),c.milliseconds=r%1e3,t=A(r/1e3),c.seconds=t%60,e=A(t/60),c.minutes=e%60,i=A(e/60),c.hours=i%24,o+=A(i/24),a+=s=A(Ai(o)),o-=vi(ki(s)),n=A(a/12),a%=12,c.days=o,c.months=a,c.years=n,this},Wi.clone=function(){return je(this)},Wi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Wi.milliseconds=Ii,Wi.seconds=Fi,Wi.minutes=Hi,Wi.hours=Oi,Wi.days=Bi,Wi.weeks=function(){return A(this.days()/7)},Wi.months=ji,Wi.years=Yi,Wi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=je(t).abs(),s=Ni(n.as("s")),r=Ni(n.as("m")),o=Ni(n.as("h")),a=Ni(n.as("d")),c=Ni(n.as("M")),u=Ni(n.as("y")),l=s<=Ki.ss&&["s",s]||s0,l[4]=i,Ui.apply(null,l)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Wi.toISOString=$i,Wi.toString=$i,Wi.toJSON=$i,Wi.locale=We,Wi.localeData=Je,Wi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$i),Wi.lang=Ge,U("X",0,0,"unix"),U("x",0,0,"valueOf"),lt("x",rt),lt("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),pt("x",function(t,e,i){i._d=new Date(k(t))}),s.version="2.24.0",e=Te,s.fn=fi,s.min=function(){return Me("isBefore",[].slice.call(arguments,0))},s.max=function(){return Me("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=f,s.unix=function(t){return Te(1e3*t)},s.months=function(t,e){return _i(t,e,"months")},s.isDate=u,s.locale=re,s.invalid=m,s.duration=je,s.isMoment=v,s.weekdays=function(t,e,i){return yi(t,e,i,"weekdays")},s.parseZone=function(){return Te.apply(null,arguments).parseZone()},s.localeData=ae,s.isDuration=Re,s.monthsShort=function(t,e){return _i(t,e,"monthsShort")},s.weekdaysMin=function(t,e,i){return yi(t,e,i,"weekdaysMin")},s.defineLocale=oe,s.updateLocale=function(t,e){if(null!=e){var i,n,s=te;null!=(n=se(t))&&(s=n._config),(i=new P(e=D(s,e))).parentLocale=ee[t],ee[t]=i,re(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},s.locales=function(){return M(ee)},s.weekdaysShort=function(t,e,i){return yi(t,e,i,"weekdaysShort")},s.normalizeUnits=I,s.relativeTimeRounding=function(t){return void 0===t?Ni:"function"==typeof t&&(Ni=t,!0)},s.relativeTimeThreshold=function(t,e){return void 0!==Ki[t]&&(void 0===e?Ki[t]:(Ki[t]=e,"s"===t&&(Ki.ss=e-1),!0))},s.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=fi,s.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"},s}()},9997:function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,(function(e){return t[e]}).bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=22)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i=4){for(var t=arguments.length,e=Array(t),i=0;i=3){for(var t=arguments.length,e=Array(t),i=0;i=2){for(var t=arguments.length,e=Array(t),i=0;i=1){for(var t=arguments.length,e=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:r.JsonService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new i(["application/jwk-set+json"])}return t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(s.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(s.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(e){return s.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=e,e})):(s.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then(function(i){if(s.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===i[t]){if(!0===e)return void s.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw s.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return i[t]})},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(s.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(e){return s.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then(function(e){if(s.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw s.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys})})},n(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var n=i(0),s=i(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,i){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(i)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global;"string"!=typeof t&&(t=i.location.href);var r=t.lastIndexOf(e);r>=0&&(t=t.substr(r+1)),"?"===e&&(r=t.indexOf("#"))>=0&&(t=t.substr(0,r));for(var o,a={},c=/([^&=]+)=([^&]*)/g,u=0;o=c.exec(t);)if(a[decodeURIComponent(o[1])]=decodeURIComponent(o[2]),u++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var l in a)return a;return{}},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var n=i(25),s=function(t){return t&&t.__esModule?t:{default:t}}(i(32));e.JoseUtil=(0,s.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.authority,s=e.metadataUrl,r=e.metadata,h=e.signingKeys,d=e.client_id,f=e.client_secret,p=e.response_type,g=void 0===p?u:p,m=e.scope,_=void 0===m?l:m,y=e.redirect_uri,w=e.post_logout_redirect_uri,b=e.prompt,v=e.display,A=e.max_age,k=e.ui_locales,T=e.acr_values,C=e.resource,S=e.response_mode,M=e.filterProtocolClaims,E=void 0===M||M,x=e.loadUserInfo,R=void 0===x||x,D=e.staleStateAge,P=void 0===D?900:D,L=e.clockSkew,z=void 0===L?300:L,I=e.userInfoJwtIssuer,F=void 0===I?"OP":I,H=e.stateStore,O=void 0===H?new o.WebStorageStateStore:H,B=e.ResponseValidatorCtor,j=void 0===B?a.ResponseValidator:B,Y=e.MetadataServiceCtor,N=void 0===Y?c.MetadataService:Y,K=e.extraQueryParams,U=void 0===K?{}:K,V=e.extraTokenParams,q=void 0===V?{}:V;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._authority=i,this._metadataUrl=s,this._metadata=r,this._signingKeys=h,this._client_id=d,this._client_secret=f,this._response_type=g,this._scope=_,this._redirect_uri=y,this._post_logout_redirect_uri=w,this._prompt=b,this._display=v,this._max_age=A,this._ui_locales=k,this._acr_values=T,this._resource=C,this._response_mode=S,this._filterProtocolClaims=!!E,this._loadUserInfo=!!R,this._staleStateAge=P,this._clockSkew=z,this._userInfoJwtIssuer=F,this._stateStore=O,this._validator=new j(this),this._metadataService=new N(this),this._extraQueryParams="object"===(void 0===U?"undefined":n(U))?U:{},this._extraTokenParams="object"===(void 0===q?"undefined":n(q))?q:{}}return s(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw r.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw r.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){this._extraQueryParams="object"===(void 0===t?"undefined":n(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":n(t))?t:{}}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=i(0),s=i(1);e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.prefix,n=void 0===i?"oidc.":i,r=e.store,o=void 0===r?s.Global.localStorage:r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._store=o,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){n.Log.debug("WebStorageStateStore.remove",t);var e=this._store.getItem(t=this._prefix+t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=i,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise(function(s,r){var o=new i._XMLHttpRequest;o.open("GET",t);var a=i._contentTypes,c=i._jwtHandler;o.onload=function(){if(n.Log.debug("JsonService.getJson: HTTP response received, status",o.status),200===o.status){var e=o.getResponseHeader("Content-Type");if(e){var i=a.find(function(t){if(e.startsWith(t))return!0});if("application/jwt"==i)return void c(o).then(s,r);if(i)try{return void s(JSON.parse(o.responseText))}catch(s){return n.Log.error("JsonService.getJson: Error parsing JSON response",s.message),void r(s)}}r(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else r(Error(o.statusText+" ("+o.status+")"))},o.onerror=function(){n.Log.error("JsonService.getJson: network error"),r(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),o.setRequestHeader("Authorization","Bearer "+e)),o.send()})},t.prototype.postForm=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise(function(s,r){var o=new i._XMLHttpRequest;o.open("POST",t);var a=i._contentTypes;o.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",o.status),200!==o.status){if(400===o.status&&(i=o.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{var e=JSON.parse(o.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void r(new Error(e.error))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void r(s)}r(Error(o.statusText+" ("+o.status+")"))}else{var i;if((i=o.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{return void s(JSON.parse(o.responseText))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void r(s)}r(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},o.onerror=function(){n.Log.error("JsonService.postForm: network error"),r(Error("Network Error"))};var c="";for(var u in e){var l=e[u];l&&(c.length>0&&(c+="&"),c+=encodeURIComponent(u),c+="=",c+=encodeURIComponent(l))}o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.send(c)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,n=e.data,s=e.created,o=e.request_type;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=i||(0,r.default)(),this._data=n,this._created="number"==typeof s&&s>0?s:parseInt(Date.now()/1e3),this._request_type=o}return t.prototype.toStorageString=function(){return s.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return s.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,i){var n=Date.now()/1e3-i;return e.getAllKeys().then(function(i){s.Log.debug("State.clearStaleState: got keys",i);for(var r=[],o=function(o){var a=i[o];c=e.get(a).then(function(i){var r=!1;if(i)try{var o=t.fromStorageString(i);s.Log.debug("State.clearStaleState: got item from key: ",a,o.created),o.created<=n&&(r=!0)}catch(t){s.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),r=!0}else s.Log.debug("State.clearStaleState: no item in storage for key: ",a),r=!0;if(r)return s.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)}),r.push(c)},a=0;a0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._settings=e instanceof r.OidcClientSettings?e:new r.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.response_type,n=e.scope,r=e.redirect_uri,o=e.data,c=e.state,u=e.prompt,l=e.display,h=e.max_age,d=e.ui_locales,f=e.id_token_hint,p=e.login_hint,g=e.acr_values,m=e.resource,_=e.request,y=e.request_uri,w=e.response_mode,b=e.extraQueryParams,v=e.extraTokenParams,A=e.request_type,k=e.skipUserInfo,T=arguments[1];s.Log.debug("OidcClient.createSigninRequest");var C=this._settings.client_id;n=n||this._settings.scope,r=r||this._settings.redirect_uri,u=u||this._settings.prompt,l=l||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,m=m||this._settings.resource,w=w||this._settings.response_mode,b=b||this._settings.extraQueryParams,v=v||this._settings.extraTokenParams;var S=this._settings.authority;return a.SigninRequest.isCode(i=i||this._settings.response_type)&&"code"!==i?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(e){s.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var M=new a.SigninRequest({url:e,client_id:C,redirect_uri:r,response_type:i,scope:n,data:o||c,authority:S,prompt:u,display:l,max_age:h,ui_locales:d,id_token_hint:f,login_hint:p,acr_values:g,resource:m,request:_,request_uri:y,extraQueryParams:b,extraTokenParams:v,request_type:A,response_mode:w,client_secret:t._settings.client_secret,skipUserInfo:k}),E=M.state;return(T=T||t._stateStore).set(E.id,E.toStorageString()).then(function(){return M})})},t.prototype.readSigninResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type)?"?":"#",r=new c.SigninResponse(t,n);return r.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(r.state).then(function(t){if(!t)throw s.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(t),response:r}})):(s.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},t.prototype.processSigninResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return s.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),i._validator.validateSigninResponse(e,n)})},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id_token_hint,n=e.data,r=e.state,o=e.post_logout_redirect_uri,a=e.extraQueryParams,c=e.request_type,l=arguments[1];return s.Log.debug("OidcClient.createSignoutRequest"),o=o||this._settings.post_logout_redirect_uri,a=a||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(e){if(!e)throw s.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");s.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var h=new u.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:o,data:n||r,extraQueryParams:a,request_type:c}),d=h.state;return d&&(s.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(l=l||t._stateStore).set(d.id,d.toStorageString())),h})},t.prototype.readSignoutResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSignoutResponseState");var n=new l.SignoutResponse(t);if(!n.state)return s.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(s.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new o.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var r=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(r).then(function(t){if(!t)throw s.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(t),response:n}})},t.prototype.processSignoutResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return e?(s.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),i._validator.validateSignoutResponse(e,n)):(s.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)})},t.prototype.clearStaleState=function(t){return s.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},n(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var n=i(7),s=i(2),r=i(0);e.TokenClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i,this._metadataService=new o(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri,e.code?e.redirect_uri?e.code_verifier?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return r.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return r.Log.debug("TokenClient.exchangeCode: response received"),t})}):(r.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(r.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(r.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.refresh_token?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return r.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return r.Log.debug("TokenClient.exchangeRefreshToken: response received"),t})}):(r.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var n=i(0);e.ErrorResponse=function(t){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.error,r=i.error_description,o=i.error_uri,a=i.state,c=i.session_state;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!s)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,r||s));return u.name="ErrorResponse",u.error=s,u.error_description=r,u.error_uri=o,u.state=a,u.session_state=c,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=i(0),s=i(3),r=i(13);e.SigninRequest=function(){function t(e){var i=e.url,o=e.client_id,a=e.redirect_uri,c=e.response_type,u=e.scope,l=e.authority,h=e.data,d=e.prompt,f=e.display,p=e.max_age,g=e.ui_locales,m=e.id_token_hint,_=e.login_hint,y=e.acr_values,w=e.resource,b=e.response_mode,v=e.request,A=e.request_uri,k=e.extraQueryParams,T=e.request_type,C=e.client_secret,S=e.extraTokenParams,M=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!o)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!c)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!u)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!l)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var E=t.isOidc(c),x=t.isCode(c);b||(b=t.isCode(c)?"query":null),this.state=new r.SigninState({nonce:E,data:h,client_id:o,authority:l,redirect_uri:a,code_verifier:x,request_type:T,response_mode:b,client_secret:C,scope:u,extraTokenParams:S,skipUserInfo:M}),i=s.UrlUtility.addQueryParam(i,"client_id",o),i=s.UrlUtility.addQueryParam(i,"redirect_uri",a),i=s.UrlUtility.addQueryParam(i,"response_type",c),i=s.UrlUtility.addQueryParam(i,"scope",u),i=s.UrlUtility.addQueryParam(i,"state",this.state.id),E&&(i=s.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),x&&(i=s.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=s.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var R={prompt:d,display:f,max_age:p,ui_locales:g,id_token_hint:m,login_hint:_,acr_values:y,resource:w,request:v,request_uri:A,response_mode:b};for(var D in R)R[D]&&(i=s.UrlUtility.addQueryParam(i,D,R[D]));for(var P in k)i=s.UrlUtility.addQueryParam(i,P,k[P]);this.url=i}return t.isOidc=function(t){return!!t.split(/\s+/g).filter(function(t){return"id_token"===t})[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter(function(t){return"token"===t})[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter(function(t){return"code"===t})[0]},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.nonce,s=i.authority,r=i.client_id,c=i.redirect_uri,u=i.code_verifier,l=i.response_mode,h=i.client_secret,d=i.scope,f=i.extraTokenParams,p=i.skipUserInfo;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var g=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));if(!0===n?g._nonce=(0,a.default)():n&&(g._nonce=n),!0===u?g._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():u&&(g._code_verifier=u),g.code_verifier){var m=o.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=o.JoseUtil.hexToBase64Url(m)}return g._redirect_uri=c,g._authority=s,g._client_id=r,g._response_mode=l,g._client_secret=h,g._scope=d,g._extraTokenParams=f,g._skipUserInfo=p,g}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return s.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return s.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},n(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(r.State)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.default)().replace(/-/g,"")};var n=function(t){return t&&t.__esModule?t:{default:t}}(i(33));t.exports=e.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var i=0;i0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var n=i(0),s=i(48);e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.accessTokenExpiringNotificationTime,n=void 0===i?60:i,r=e.accessTokenExpiringTimer,o=void 0===r?new s.Timer("Access token expiring"):r,a=e.accessTokenExpiredTimer,c=void 0===a?new s.Timer("Access token expired"):a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=o,this._accessTokenExpired=c}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var i=e-this._accessTokenExpiringNotificationTime;i<=0&&(i=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",i),this._accessTokenExpiring.init(i)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var s=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",s),this._accessTokenExpired.init(s)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var n=i(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex(function(e){return e===t});e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){n.Log.debug("Event: Raising event: "+this._name);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:r.CheckSessionIFrame,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.Global.timer;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=a,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then(function(t){t?i._start(t):i._settings.monitorAnonymousSession&&i._userManager.querySessionStatus().then(function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),i._start(e)}).catch(function(t){s.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)})}).catch(function(t){s.Log.error("SessionMonitor ctor: error from getUser:",t.message)})}return t.prototype._start=function(t){var e=this,i=t.session_state;i&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,s.Log.debug("SessionMonitor._start: session_state:",i,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,s.Log.debug("SessionMonitor._start: session_state:",i,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(i):this._metadataService.getCheckSessionIframe().then(function(t){if(t){s.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,r=e._checkSessionInterval,o=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,r,o),e._checkSessionIFrame.load().then(function(){e._checkSessionIFrame.start(i)})}else s.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(t){s.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)}))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(s.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval(function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then(function(e){var i={session_state:e.session_state};e.sub&&e.sid&&(i.profile={sub:e.sub,sid:e.sid}),t._start(i)}).catch(function(t){s.Log.error("SessionMonitor: error from querySessionStatus:",t.message)})},1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then(function(e){var i=!0;e?e.sub===t._sub?(i=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):s.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):s.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),i&&(t._sub?(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))}).catch(function(e){t._sub&&(s.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())})},n(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var n=i(0);e.CheckSessionIFrame=function(){function t(e,i,n,s){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._callback=e,this._client_id=i,this._url=n,this._interval=s||2e3,this._stopOnError=r;var o=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.substr(0,o),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=n}return t.prototype.load=function(){var t=this;return new Promise(function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)})},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var i=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var n=i(0),s=i(2),r=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.XMLHttpRequest,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=i,this._metadataService=new o(this._settings)}return t.prototype.revoke=function(t,e){var i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==s&&"refresh_token"!=s)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(r){if(r)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+s),i._revoke(r,i._settings.client_id,i._settings.client_secret,t,s);if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},t.prototype._revoke=function(t,e,i,s,r){var o=this;return new Promise(function(a,c){var u=new o._XMLHttpRequestCtor;u.open("POST",t),u.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",u.status),200===u.status?a():c(Error(u.statusText+" ("+u.status+")"))},u.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),c("Network Error")};var l="client_id="+encodeURIComponent(e);i&&(l+="&client_secret="+encodeURIComponent(i)),l+="&token_type_hint="+encodeURIComponent(r),l+="&token="+encodeURIComponent(s),u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(l)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:r.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.UserInfoService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new i(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=c,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var i=this;return s.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: state processed"),i._validateTokens(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),i._processClaims(t,e).then(function(t){return s.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t})})})},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(s.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(s.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return s.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return s.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return s.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return s.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return s.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return s.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):t.nonce&&!e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(s.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(s.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var i=this;if(e.isOpenIdConnect){if(s.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return s.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then(function(t){return s.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(s.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(e.profile=i._mergeClaims(e.profile,t),s.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)});s.Log.debug("ResponseValidator._processClaims: not loading user info")}else s.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var i=Object.assign({},t);for(var s in e){var r=e[s];Array.isArray(r)||(r=[r]);for(var o=0;o1)return s.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));c=a[0]}if(!c)return s.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=t.client_id,l=i._settings.clockSkew;return s.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(e.id_token,c,o,u,l).then(function(){return s.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(s.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return s.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];i="EC"}return s.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),s.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",i,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return s.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return s.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return s.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return s.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var i=e.header.alg;if(!i||5!==i.length)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i),Promise.reject(new Error("Unsupported alg: "+i));var n=i.substr(2,3);if(!n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));var r="sha"+n,o=this._joseUtil.hashString(t.access_token,r);if(!o)return s.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",r),Promise.reject(new Error("Failed to validate at_hash"));var a=o.substr(0,o.length/2),c=this._joseUtil.hexToBase64Url(a);return c!==t.profile.at_hash?(s.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(s.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=i(7),s=i(2),r=i(0),o=i(4);e.UserInfoService=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.JoseUtil;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new a(this._settings),this._joseUtil=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then(function(i){return r.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then(function(t){return r.Log.debug("UserInfoService.getClaims: claims received",t),t})}):(r.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function t(e){var i=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return r.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var s=n.header.kid,o=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":o=this._metadataService.getIssuer();break;case"ANY":o=Promise.resolve(n.payload.iss);break;default:o=Promise.resolve(this._settings.userInfoJwtIssuer)}return o.then(function(t){return r.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then(function(o){if(!o)return r.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));r.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(s)a=o.filter(function(t){return t.kid===s})[0];else{if((o=i._filterByAlg(o,n.header.alg)).length>1)return r.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));a=o[0]}if(!a)return r.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var c=i._settings.client_id,u=i._settings.clockSkew;return r.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",u),i._joseUtil.validateJwt(e.responseText,a,t,c,u,void 0,!0).then(function(){return r.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload})})})}catch(t){return r.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return r.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return r.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),r.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",i,t.length),t},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=i(26);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={userAgent:!1},s={};if(void 0===r)var r={};r.lang={extend:function(e,i,s){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=i.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),s){var o;for(o in s)e.prototype[o]=s[o];var a=function(){},c=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(a=function(t,e){for(o=0;o>>2]|=(i[r>>>2]>>>24-r%4*8&255)<<24-(n+r)%4*8;else for(r=0;r>>2]=i[r>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=o.ceil(e/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i>>2]>>>24-s%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new l.init(i,e/2)}},f=h.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],s=0;s>>2]>>>24-s%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new l.init(i,e)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,n=e.sigBytes,s=this.blockSize,r=n/(4*s),a=(r=t?o.ceil(r):o.max((0|r)-this._minBufferSize,0))*s,c=o.min(4*a,n);if(a){for(var u=0;u>>2]>>>24-s%4*8&255)<<16|(e[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;4>o&&s+.75*o>>6*(3-o)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var i=e.length,n=this._map;(s=n.charAt(64))&&-1!=(s=e.indexOf(s))&&(i=s);for(var s=[],r=0,o=0;o>>6-o%4*2;s[r>>>2]|=(a|c)<<24-r%4*8,r++}return t.create(s,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=_,i=(s=e.lib).WordArray,n=s.Hasher,s=e.algo,r=[],o=[],a=function(t){return 4294967296*(t-(0|t))|0},c=2,u=0;64>u;){var l;t:{for(var h=t.sqrt(l=c),d=2;d<=h;d++)if(!(l%d)){l=!1;break t}l=!0}l&&(8>u&&(r[u]=a(t.pow(c,.5))),o[u]=a(t.pow(c,1/3)),u++),c++}var f=[];s=s.SHA256=n.extend({_doReset:function(){this._hash=new i.init(r.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],s=i[1],r=i[2],a=i[3],c=i[4],u=i[5],l=i[6],h=i[7],d=0;64>d;d++){if(16>d)f[d]=0|t[e+d];else{var p=f[d-15],g=f[d-2];f[d]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+f[d-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+f[d-16]}p=h+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&l)+o[d]+f[d],g=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&s^n&r^s&r),h=l,l=u,u=c,c=a+p|0,a=r,r=s,s=n,n=p+g|0}i[0]=i[0]+n|0,i[1]=i[1]+s|0,i[2]=i[2]+r|0,i[3]=i[3]+a|0,i[4]=i[4]+c|0,i[5]=i[5]+u|0,i[6]=i[6]+l|0,i[7]=i[7]+h|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,s=8*e.sigBytes;return i[s>>>5]|=128<<24-s%32,i[14+(s+64>>>9<<4)]=t.floor(n/4294967296),i[15+(s+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(s),e.HmacSHA256=n._createHmacHelper(s)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=_,i=e.lib.Hasher,n=(r=e.x64).Word,s=r.WordArray,r=e.algo,o=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],c=0;80>c;c++)a[c]=t();r=r.SHA512=i.extend({_doReset:function(){this._hash=new s.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var i=(h=this._hash.words)[0],n=h[1],s=h[2],r=h[3],c=h[4],u=h[5],l=h[6],h=h[7],d=i.high,f=i.low,p=n.high,g=n.low,m=s.high,_=s.low,y=r.high,w=r.low,b=c.high,v=c.low,A=u.high,k=u.low,T=l.high,C=l.low,S=h.high,M=h.low,E=d,x=f,R=p,D=g,P=m,L=_,z=y,I=w,F=b,H=v,O=A,B=k,j=T,Y=C,N=S,K=M,U=0;80>U;U++){var V=a[U];if(16>U)var q=V.high=0|t[e+2*U],$=V.low=0|t[e+2*U+1];else{q=(($=(q=a[U-15]).high)>>>1|(W=q.low)<<31)^($>>>8|W<<24)^$>>>7;var W=(W>>>1|$<<31)^(W>>>8|$<<24)^(W>>>7|$<<25),G=(($=(G=a[U-2]).high)>>>19|(J=G.low)<<13)^($<<3|J>>>29)^$>>>6,J=(J>>>19|$<<13)^(J<<3|$>>>29)^(J>>>6|$<<26),Z=($=a[U-7]).high,Q=(X=a[U-16]).high,X=X.low;q=(q=(q=q+Z+(($=W+$.low)>>>0>>0?1:0))+G+(($+=J)>>>0>>0?1:0))+Q+(($+=X)>>>0>>0?1:0),V.high=q,V.low=$}V=E&R^E&P^R&P;var tt=x&D^x&L^D&L,et=(W=(E>>>28|x<<4)^(E<<30|x>>>2)^(E<<25|x>>>7),G=(x>>>28|E<<4)^(x<<30|E>>>2)^(x<<25|E>>>7),(J=o[U]).high),it=J.low;Q=(Q=(Q=(Q=N+((F>>>14|H<<18)^(F>>>18|H<<14)^(F<<23|H>>>9))+((J=K+((H>>>14|F<<18)^(H>>>18|F<<14)^(H<<23|F>>>9)))>>>0>>0?1:0))+(Z=F&O^~F&j)+((J+=X=H&B^~H&Y)>>>0>>0?1:0))+et+((J+=it)>>>0>>0?1:0))+q+((J+=$)>>>0<$>>>0?1:0),N=j,K=Y,j=O,Y=B,O=F,B=H,F=z+Q+((H=I+J|0)>>>0>>0?1:0)|0,z=P,I=L,P=R,L=D,R=E,D=x,E=Q+(V=W+V+(($=G+tt)>>>0>>0?1:0))+((x=J+$|0)>>>0>>0?1:0)|0}f=i.low=f+x,i.high=d+E+(f>>>0>>0?1:0),g=n.low=g+D,n.high=p+R+(g>>>0>>0?1:0),_=s.low=_+L,s.high=m+P+(_>>>0>>0?1:0),w=r.low=w+I,r.high=y+z+(w>>>0>>0?1:0),v=c.low=v+H,c.high=b+F+(v>>>0>>0?1:0),k=u.low=k+B,u.high=A+O+(k>>>0>>0?1:0),C=l.low=C+Y,l.high=T+j+(C>>>0>>0?1:0),M=h.low=M+K,h.high=S+N+(M>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),e[31+(n+128>>>10<<5)]=i,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=i._createHelper(r),e.HmacSHA512=i._createHmacHelper(r)}(),function(){var t=_,e=(s=t.x64).Word,i=s.WordArray,n=(s=t.algo).SHA512,s=s.SHA384=n.extend({_doReset:function(){this._hash=new i.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=n._createHelper(s),t.HmacSHA384=n._createHmacHelper(s)}();var y,w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function b(t){var e,i,n="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),n+=w.charAt(i>>6)+w.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=w.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=w.charAt(i>>2)+w.charAt((3&i)<<4));(3&n.length)>0;)n+="=";return n}function v(t){var e,i,n,s="",r=0;for(e=0;e>2),i=3&n,r=1):1==r?(s+=E(i<<2|n>>4),i=15&n,r=2):2==r?(s+=E(i),s+=E(n>>2),i=3&n,r=3):(s+=E(i<<2|n>>4),s+=E(15&n),r=0));return 1==r&&(s+=E(i<<2)),s}function A(t){var e,i=v(t),n=new Array;for(e=0;2*e>15;--r>=0;){var c=32767&this[t],u=this[t++]>>15,l=a*c+u*o;s=((c=o*c+((32767&l)<<15)+i[n]+(1073741823&s))>>>30)+(l>>>15)+a*u+(s>>>30),i[n++]=1073741823&c}return s},y=30):"Netscape"!=n.appName?(k.prototype.am=function(t,e,i,n,s,r){for(;--r>=0;){var o=e*this[t++]+i[n]+s;s=Math.floor(o/67108864),i[n++]=67108863&o}return s},y=26):(k.prototype.am=function(t,e,i,n,s,r){for(var o=16383&e,a=e>>14;--r>=0;){var c=16383&this[t],u=this[t++]>>14,l=a*c+u*o;s=((c=o*c+((16383&l)<<14)+i[n]+s)>>28)+(l>>14)+a*u,i[n++]=268435455&c}return s},y=28),k.prototype.DB=y,k.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function P(t){this.m=t}function L(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function B(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function j(){}function Y(t){return t}function N(t){this.r2=T(),this.q3=T(),k.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}P.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},P.prototype.revert=function(t){return t},P.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},P.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},P.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},L.prototype.convert=function(t){var e=T();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(k.ZERO)>0&&this.m.subTo(e,e),e},L.prototype.revert=function(t){var e=T();return t.copyTo(e),this.reduce(e),e},L.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},L.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},L.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},k.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},k.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},k.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,s=!1,r=0;--n>=0;){var o=8==i?255&t[n]:x(t,n);o<0?"-"==t.charAt(n)&&(s=!0):(s=!1,0==r?this[this.t++]=o:r+i>this.DB?(this[this.t-1]|=(o&(1<>this.DB-r):this[this.t-1]|=o<=this.DB&&(r-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,r>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},k.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},k.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+o+1]=this[i]>>s|a,a=(this[i]&r)<=0;--i)e[i]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},k.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,s=this.DB-n,r=(1<>n;for(var o=i+1;o>n;n>0&&(e[this.t-i-1]|=(this.s&r)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},k.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),s=i.t;for(e.t=s+n.t;--s>=0;)e[s]=0;for(s=0;s=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},k.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var s=this.abs();if(s.t0?(n.lShiftTo(c,r),s.lShiftTo(c,i)):(n.copyTo(r),s.copyTo(i));var u=r.t,l=r[u-1];if(0!=l){var h=l*(1<1?r[u-2]>>this.F2:0),d=this.FV/h,f=(1<=0&&(i[i.t++]=1,i.subTo(_,i)),k.ONE.dlShiftTo(u,_),_.subTo(r,r);r.t=0;){var y=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+p)*f);if((i[g]+=r.am(0,y,i,m,0,u))0&&i.rShiftTo(c,i),o<0&&k.ZERO.subTo(i,i)}}},k.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},k.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},k.prototype.exp=function(t,e){if(t>4294967295||t<1)return k.ONE;var i=T(),n=T(),s=e.convert(this),r=D(t)-1;for(s.copyTo(i);--r>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,s,i);else{var o=i;i=n,n=o}return e.revert(i)},k.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<0)for(a>a)>0&&(s=!0,r=E(i));o>=0;)a>(a+=this.DB-e)):(i=this[o]>>(a-=e)&n,a<=0&&(a+=this.DB,--o)),i>0&&(s=!0),s&&(r+=E(i));return s?r:"0"},k.prototype.negate=function(){var t=T();return k.ZERO.subTo(this,t),t},k.prototype.abs=function(){return this.s<0?this.negate():this},k.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},k.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+D(this[this.t-1]^this.s&this.DM)},k.prototype.mod=function(t){var e=T();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(k.ZERO)>0&&t.subTo(e,e),e},k.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new P(e):new L(e),this.exp(t,i)},k.ZERO=R(0),k.ONE=R(1),j.prototype.convert=Y,j.prototype.revert=Y,j.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},j.prototype.sqrTo=function(t,e){t.squareTo(e)},N.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=T();return t.copyTo(e),this.reduce(e),e},N.prototype.revert=function(t){return t},N.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},N.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},N.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var K,U,V,q=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],$=(1<<26)/q[q.length-1];function W(){this.i=0,this.j=0,this.S=new Array}function G(){!function(t){U[V++]^=255&t,U[V++]^=t>>8&255,U[V++]^=t>>16&255,U[V++]^=t>>24&255,V>=256&&(V-=256)}((new Date).getTime())}if(k.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},k.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=R(i),s=T(),r=T(),o="";for(this.divRemTo(n,s,r);s.signum()>0;)o=(i+r.intValue()).toString(t).substr(1)+o,s.divRemTo(n,s,r);return r.intValue().toString(t)+o},k.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),s=!1,r=0,o=0,a=0;a=i&&(this.dMultiply(n),this.dAddOffset(o,0),r=0,o=0))}r>0&&(this.dMultiply(Math.pow(e,r)),this.dAddOffset(o,0)),s&&k.ZERO.subTo(this,this)},k.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(k.ONE.shiftLeft(t-1),I,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(k.ONE.shiftLeft(t-1),this);else{var n=new Array,s=7&t;n.length=1+(t>>3),e.nextBytes(n),s>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},k.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},k.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},k.prototype.multiplyLowerTo=function(t,e,i){var n,s=Math.min(this.t+t.t,e);for(i.s=0,i.t=s;s>0;)i[--s]=0;for(n=i.t-this.t;s=0;)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},k.prototype.millerRabin=function(t){var e=this.subtract(k.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var n=e.shiftRight(i);(t=t+1>>1)>q.length&&(t=q.length);for(var s=T(),r=0;r>24},k.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},k.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},k.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,s=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[s++]=i|this.s<=0;)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==s&&(128&this.s)!=(128&i)&&++s,(s>0||i!=this.s)&&(e[s++]=i);return e},k.prototype.equals=function(t){return 0==this.compareTo(t)},k.prototype.min=function(t){return this.compareTo(t)<0?this:t},k.prototype.max=function(t){return this.compareTo(t)>0?this:t},k.prototype.and=function(t){var e=T();return this.bitwiseTo(t,z,e),e},k.prototype.or=function(t){var e=T();return this.bitwiseTo(t,I,e),e},k.prototype.xor=function(t){var e=T();return this.bitwiseTo(t,F,e),e},k.prototype.andNot=function(t){var e=T();return this.bitwiseTo(t,H,e),e},k.prototype.not=function(){for(var t=T(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var l=T();for(n.sqrTo(o[1],l);a<=u;)o[a]=T(),n.mulTo(l,o[a-2],o[a]),a+=2}var h,d,f=t.t-1,p=!0,g=T();for(s=D(t[f])-1;f>=0;){for(s>=c?h=t[f]>>s-c&u:(h=(t[f]&(1<0&&(h|=t[f-1]>>this.DB+s-c)),a=i;0==(1&h);)h>>=1,--a;if((s-=a)<0&&(s+=this.DB,--f),p)o[h].copyTo(r),p=!1;else{for(;a>1;)n.sqrTo(r,g),n.sqrTo(g,r),a-=2;a>0?n.sqrTo(r,g):(d=r,r=g,g=d),n.mulTo(g,o[h],r)}for(;f>=0&&0==(t[f]&1<=0?(i.subTo(n,i),e&&s.subTo(o,s),r.subTo(a,r)):(n.subTo(i,n),e&&o.subTo(s,o),a.subTo(r,a))}return 0!=n.compareTo(k.ONE)?k.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},k.prototype.pow=function(t){return this.exp(t,new j)},k.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var s=e.getLowestSetBit(),r=i.getLowestSetBit();if(r<0)return e;for(s0&&(e.rShiftTo(r,e),i.rShiftTo(r,i));e.signum()>0;)(s=e.getLowestSetBit())>0&&e.rShiftTo(s,e),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return r>0&&i.lShiftTo(r,i),i},k.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=q[q.length-1]){for(e=0;e>>8,U[V++]=255&J;V=0,G()}function tt(){if(null==K){for(G(),(K=new W).init(U),V=0;V>24,(16711680&s)>>16,(65280&s)>>8,255&s]))),s+=1;return n}function st(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function rt(t,e){this.x=e,this.q=t}function ot(t,e,i,n){this.curve=t,this.x=e,this.y=i,this.z=null==n?k.ONE:n,this.zinv=null}function at(t,e,i){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(i),this.infinity=new ot(this,null,null)}et.prototype.nextBytes=function(t){var e;for(e=0;e0&&e.length>0))throw"Invalid RSA public key";this.n=it(t,16),this.e=parseInt(e,16)}},st.prototype.encrypt=function(t){var e=function(t,e){if(e=0&&e>0;){var s=t.charCodeAt(n--);s<128?i[--e]=s:s>127&&s<2048?(i[--e]=63&s|128,i[--e]=s>>6|192):(i[--e]=63&s|128,i[--e]=s>>6&63|128,i[--e]=s>>12|224)}i[--e]=0;for(var r=new et,o=new Array;e>2;){for(o[0]=0;0==o[0];)r.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new k(i)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n},st.prototype.encryptOAEP=function(t,e,i){var n=function(t,e,i,n){var s=ut.crypto.MessageDigest,r=ut.crypto.Util,o=null;if(i||(i="sha1"),"string"==typeof i&&(o=s.getCanonicalAlgName(i),n=s.getHashLength(o),i=function(t){return kt(r.hashHex(Tt(t),o))}),t.length+2*n+2>e)throw"Message too long for RSA";var a,c="";for(a=0;a>3,e,i);if(null==n)return null;var s=this.doPublic(n);if(null==s)return null;var r=s.toString(16);return 0==(1&r.length)?r:"0"+r},st.prototype.type="RSA",rt.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},rt.prototype.toBigInteger=function(){return this.x},rt.prototype.negate=function(){return new rt(this.q,this.x.negate().mod(this.q))},rt.prototype.add=function(t){return new rt(this.q,this.x.add(t.toBigInteger()).mod(this.q))},rt.prototype.subtract=function(t){return new rt(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},rt.prototype.multiply=function(t){return new rt(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},rt.prototype.square=function(){return new rt(this.q,this.x.square().mod(this.q))},rt.prototype.divide=function(t){return new rt(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},ot.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ot.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ot.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(k.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(k.ZERO))},ot.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(k.ZERO)&&!this.y.toBigInteger().equals(k.ZERO)},ot.prototype.negate=function(){return new ot(this.curve,this.x,this.y.negate(),this.z)},ot.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),i=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(k.ZERO.equals(i))return k.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new k("3"),s=this.x.toBigInteger(),r=this.y.toBigInteger(),o=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),a=o.multiply(i),c=s.multiply(o),u=e.square().multiply(this.z),l=u.subtract(c.shiftLeft(1)).multiply(t.z).subtract(a).multiply(i).mod(this.curve.q),h=c.multiply(n).multiply(e).subtract(r.multiply(a)).subtract(u.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),d=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new ot(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(h),d)},ot.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new k("3"),e=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),s=n.multiply(i).mod(this.curve.q),r=this.curve.a.toBigInteger(),o=e.square().multiply(t);k.ZERO.equals(r)||(o=o.add(this.z.square().multiply(r)));var a=(o=o.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(n).mod(this.curve.q),c=o.multiply(t).multiply(e).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(o.square().multiply(o)).mod(this.curve.q),u=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new ot(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(c),u)},ot.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new k("3")),s=this.negate(),r=this;for(e=n.bitLength()-2;e>0;--e){r=r.twice();var o=n.testBit(e);o!=i.testBit(e)&&(r=r.add(o?this:s))}return r},ot.prototype.multiplyTwo=function(t,e,i){var n;n=t.bitLength()>i.bitLength()?t.bitLength()-1:i.bitLength()-1;for(var s=this.curve.getInfinity(),r=this.add(e);n>=0;)s=s.twice(),t.testBit(n)?s=i.testBit(n)?s.add(r):s.add(this):i.testBit(n)&&(s=s.add(e)),--n;return s},at.prototype.getQ=function(){return this.q},at.prototype.getA=function(){return this.a},at.prototype.getB=function(){return this.b},at.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},at.prototype.getInfinity=function(){return this.infinity},at.prototype.fromBigInteger=function(t){return new rt(this.q,t)},at.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var e=(t.length-2)/2,i=t.substr(2,e),n=t.substr(e+2,e);return new ot(this,this.fromBigInteger(new k(i,16)),this.fromBigInteger(new k(n,16)));default:return null}},rt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},ot.prototype.getEncoded=function(t){var e=function(t,e){var i=t.toByteArrayUnsigned();if(ei.length;)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),s=e(i,32);return t?n.isEven()?s.unshift(2):s.unshift(3):(s.unshift(4),s=s.concat(e(n,32))),s},ot.decodeFrom=function(t,e){var i=e.length-1,n=e.slice(1,1+i/2),s=e.slice(1+i/2,1+i);n.unshift(0),s.unshift(0);var r=new k(n),o=new k(s);return new ot(t,t.fromBigInteger(r),t.fromBigInteger(o))},ot.decodeFromHex=function(t,e){e.substr(0,2);var i=e.length-2,n=e.substr(2,i/2),s=e.substr(2+i/2,i/2),r=new k(n,16),o=new k(s,16);return new ot(t,t.fromBigInteger(r),t.fromBigInteger(o))},ot.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),i=t.y.subtract(this.y).divide(e),n=i.square().subtract(this.x).subtract(t.x),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,s)},ot.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(k.valueOf(2)),e=this.curve.fromBigInteger(k.valueOf(3)),i=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),n=i.square().subtract(this.x.multiply(t)),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,s)},ot.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new k("3")),s=this.negate(),r=this;for(e=n.bitLength()-2;e>0;--e){r=r.twice();var o=n.testBit(e);o!=i.testBit(e)&&(r=r.add2D(o?this:s))}return r},ot.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),s=this.curve.getQ(),r=e.multiply(e).mod(s),o=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(s);return r.equals(o)},ot.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},ot.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),i=this.getY().toBigInteger();if(e.compareTo(k.ONE)<0||e.compareTo(t.subtract(k.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(k.ONE)<0||i.compareTo(t.subtract(k.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ct=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function s(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var r=new String(""),o=Object.hasOwnProperty;return function(n,a){var c,u,l=n.match(t),h=l[0],d=!1;"{"===h?c={}:"["===h?c=[]:(c=[],d=!0);for(var f=[c],p=1-d,g=l.length;p=0;)delete s[r[l]]}return a.call(e,n,s)}({"":c},"")),c}}();void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.asn1&&ut.asn1||(ut.asn1={}),ut.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var n="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ut.asn1.DERAbstractString=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=vt(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},r.lang.extend(ut.asn1.DERAbstractString,ut.asn1.ASN1Object),ut.asn1.DERAbstractTime=function(t){ut.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var n=this.zeroPadding,s=this.localDateToUTC(t),r=String(s.getFullYear());"utc"==e&&(r=r.substr(2,2));var o=r+n(String(s.getMonth()+1),2)+n(String(s.getDate()),2)+n(String(s.getHours()),2)+n(String(s.getMinutes()),2)+n(String(s.getSeconds()),2);if(!0===i){var a=s.getMilliseconds();if(0!=a){var c=n(String(a),3);o=o+"."+(c=c.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=mt(t)},this.setByDateValue=function(t,e,i,n,s,r){var o=new Date(Date.UTC(t,e-1,i,n,s,r,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},r.lang.extend(ut.asn1.DERAbstractTime,ut.asn1.ASN1Object),ut.asn1.DERAbstractStructured=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},r.lang.extend(ut.asn1.DERAbstractStructured,ut.asn1.ASN1Object),ut.asn1.DERBoolean=function(){ut.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},r.lang.extend(ut.asn1.DERBoolean,ut.asn1.ASN1Object),ut.asn1.DERInteger=function(t){ut.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ut.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new k(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},r.lang.extend(ut.asn1.DERInteger,ut.asn1.ASN1Object),ut.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ut.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ut.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7s.length&&(s=n[i]);return(t=t.replace(s,"::")).slice(1,-1)}function Ft(t){var e="malformed hex value";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?It(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function Ht(t){for(var e=encodeURIComponent(t),i="",n=0;n"7"?"00"+t:t}dt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var i=parseInt(t.substr(e+3,1));return 0==i?-1:0=2*r)break;if(a>=200)break;n.push(c),o=c,a++}return n},dt.getNthChildIdx=function(t,e,i){return dt.getChildIdx(t,e)[i]},dt.getIdxbyList=function(t,e,i,n){var s,r,o=dt;if(0==i.length){if(void 0!==n&&t.substr(e,2)!==n)throw"checking tag doesn't match: "+t.substr(e,2)+"!="+n;return e}return s=i.shift(),r=o.getChildIdx(t,e),o.getIdxbyList(t,r[s],i,n)},dt.getTLVbyList=function(t,e,i,n){var s=dt,r=s.getIdxbyList(t,e,i);if(void 0===r)throw"can't find nthList object";if(void 0!==n&&t.substr(r,2)!=n)throw"checking tag doesn't match: "+t.substr(r,2)+"!="+n;return s.getTLV(t,r)},dt.getVbyList=function(t,e,i,n,s){var r,o,a=dt;if(void 0===(r=a.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return o=a.getV(t,r),!0===s&&(o=o.substr(2)),o},dt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},i=[],n=t.substr(0,2),s=parseInt(n,16);i[0]=new String(Math.floor(s/40)),i[1]=new String(s%40);for(var r=t.substr(2),o=[],a=0;a0&&(l=l+"."+c.join(".")),l},dt.dump=function(t,e,i,n){var s=dt,r=s.getV,o=s.dump,a=s.getChildIdx,c=t;t instanceof ut.asn1.ASN1Object&&(c=t.getEncodedHex());var u=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===i&&(i=0),void 0===n&&(n="");var l=e.ommit_long_octet;if("01"==c.substr(i,2))return"00"==(h=r(c,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==c.substr(i,2))return n+"INTEGER "+u(h=r(c,i),l)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+u(h=r(c,i),l)+"\n";if("04"==c.substr(i,2)){var h=r(c,i);return s.isASN1HEX(h)?(A=n+"OCTETSTRING, encapsulates\n")+o(h,e,0,n+" "):n+"OCTETSTRING "+u(h,l)+"\n"}if("05"==c.substr(i,2))return n+"NULL\n";if("06"==c.substr(i,2)){var d=r(c,i),f=ut.asn1.ASN1Util.oidHexToInt(d),p=ut.asn1.x509.OID.oid2name(f),g=f.replace(/\./g," ");return""!=p?n+"ObjectIdentifier "+p+" ("+g+")\n":n+"ObjectIdentifier ("+g+")\n"}if("0c"==c.substr(i,2))return n+"UTF8String '"+At(r(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+At(r(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+At(r(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+At(r(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+At(r(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+At(r(c,i))+"\n";if("30"==c.substr(i,2)){if("3000"==c.substr(i,4))return n+"SEQUENCE {}\n";A=n+"SEQUENCE\n";var m=e;if((2==(w=a(c,i)).length||3==w.length)&&"06"==c.substr(w[0],2)&&"04"==c.substr(w[w.length-1],2)){p=s.oidname(r(c,w[0]));var _=JSON.parse(JSON.stringify(e));_.x509ExtName=p,m=_}for(var y=0;ys)throw"key is too short for SigAlg: keylen="+i+","+e;for(var r="0001",o="00"+n,a="",c=s-r.length-o.length,u=0;u=0)return!1;if(i.compareTo(k.ONE)<0||i.compareTo(s)>=0)return!1;var o=i.modInverse(s),a=t.multiply(o).mod(s),c=e.multiply(o).mod(s);return r.multiply(a).add(n.multiply(c)).getX().toBigInteger().mod(s).equals(e)},this.serializeSig=function(t,e){var i=t.toByteArraySigned(),n=e.toByteArraySigned(),s=[];return s.push(2),s.push(i.length),(s=s.concat(i)).push(2),s.push(n.length),(s=s.concat(n)).unshift(s.length),s.unshift(48),s},this.parseSig=function(t){var e;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[e=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error("Second element in signature must be a DERInteger");var n=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:k.fromByteArrayUnsigned(i),s:k.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var e=t[0]-27;if(e<0||e>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:k.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:k.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=r(t,0,[2,0],"06"),i=r(t,0,[1],"04");try{n=r(t,0,[3,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{r(t,0,[1,0],"06"),e=r(t,0,[1,1],"06"),i=r(t,0,[2,0,1],"04");try{n=r(t,0,[2,0,2,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){var e,i,n=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{s(t,0,[0,0],"06"),e=s(t,0,[0,1],"06"),i=s(t,0,[1],"03").substr(2)}catch(t){throw"malformed PKCS#8 ECC public key"}if(this.curveName=n(e),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(t,e){5!==e&&(e=6);var i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=r(t,0,[0,e,0,1],"06"),n=r(t,0,[0,e,1],"03").substr(2)}catch(t){throw"malformed X.509 certificate ECC public key"}if(this.curveName=s(i),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},ut.crypto.ECDSA.parseSigHex=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new k(e.r,16),s:new k(e.s,16)}},ut.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=dt.getChildIdx,i=dt.getV;if("30"!=t.substr(0,2))throw"signature is not a ASN.1 sequence";var n=e(t,0);if(2!=n.length)throw"number of signature ASN.1 sequence elements seem wrong";var s=n[0],r=n[1];if("02"!=t.substr(s,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(r,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,s),s:i(t,r)}},ut.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t),i=e.r,n=e.s;if("00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),i.length%32==30&&(i="00"+i),n.length%32==30&&(n="00"+n),i.length%32!=0)throw"unknown ECDSA sig r length error";if(n.length%32!=0)throw"unknown ECDSA sig s length error";return i+n},ut.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),i=t.substr(t.length/2);return ut.crypto.ECDSA.hexRSSigToASN1Sig(e,i)},ut.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var i=new k(t,16),n=new k(e,16);return ut.crypto.ECDSA.biRSSigToASN1Sig(i,n)},ut.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var i=ut.asn1,n=new i.DERInteger({bigint:t}),s=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,s]}).getEncodedHex()},ut.crypto.ECDSA.getName=function(t){return"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.crypto&&ut.crypto||(ut.crypto={}),ut.crypto.ECParameterDB=new function(){var t={},e={};function i(t){return new k(t,16)}this.getByName=function(i){var n=i;if(void 0!==e[n]&&(n=e[i]),void 0!==t[n])return t[n];throw"unregistered EC curve name: "+n},this.regist=function(n,s,r,o,a,c,u,l,h,d,f,p){t[n]={};var g=i(r),m=i(o),_=i(a),y=i(c),w=i(u),b=new at(g,m,_),v=b.decodePointHex("04"+l+h);t[n].name=n,t[n].keylen=s,t[n].curve=b,t[n].G=v,t[n].n=y,t[n].h=w,t[n].oid=f,t[n].info=p;for(var A=0;A=2*a)break}var h={};return h.keyhex=c.substr(0,2*s[t].keylen),h.ivhex=c.substr(2*s[t].keylen,2*s[t].ivlen),h},a=function(t,e,i,n){var r=_.enc.Base64.parse(t),o=_.enc.Hex.stringify(r);return(0,s[e].proc)(o,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return r(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,i){return o(t,e,i)},decryptKeyB64:function(t,e,i,n){return a(t,e,i,n)},getDecryptedKeyHex:function(t,e){var i=r(t),n=i.cipher,s=i.ivsalt,c=i.data,u=o(n,e,s).keyhex;return a(c,n,u,s)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,r){var a="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===s[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==r&&null!=r||(r=function(t){var e=_.lib.WordArray.random(t);return _.enc.Hex.stringify(e)}(s[n].ivlen).toUpperCase()),a="-----BEGIN "+t+" PRIVATE KEY-----\r\n",a+="Proc-Type: 4,ENCRYPTED\r\n",a+="DEK-Info: "+n+","+r+"\r\n",a+="\r\n",(a+=function(t,e,i,n){return(0,s[e].eproc)(t,i,n)}(e,n,o(n,i,r).keyhex,r).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var i=dt.getChildIdx,n=dt.getV,s={},r=i(e,0);if(2!=r.length)throw"malformed format: SEQUENCE(0).items != 2: "+r.length;s.ciphertext=n(e,r[1]);var o=i(e,r[0]);if(2!=o.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+o.length;if("2a864886f70d01050d"!=n(e,o[0]))throw"this only supports pkcs5PBES2";var a=i(e,o[1]);if(2!=o.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+a.length;var c=i(e,a[1]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+c.length;if("2a864886f70d0307"!=n(e,c[0]))throw"this only supports TripleDES";s.encryptionSchemeAlg="TripleDES",s.encryptionSchemeIV=n(e,c[1]);var u=i(e,a[0]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length;if("2a864886f70d01050c"!=n(e,u[0]))throw"this only supports pkcs5PBKDF2";var l=i(e,u[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;s.pbkdf2Salt=n(e,l[0]);var h=n(e,l[1]);try{s.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return s},getPBKDF2KeyHexFromParam:function(t,e){var i=_.enc.Hex.parse(t.pbkdf2Salt),n=_.PBKDF2(e,i,{keySize:6,iterations:t.pbkdf2Iter});return _.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var i=xt(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),s=Bt.getPBKDF2KeyHexFromParam(n,e),r={};r.ciphertext=_.enc.Hex.parse(n.ciphertext);var o=_.enc.Hex.parse(s),a=_.enc.Hex.parse(n.encryptionSchemeIV),c=_.TripleDES.decrypt(r,o,{iv:a});return _.enc.Hex.stringify(c)},getKeyFromEncryptedPKCS8PEM:function(t,e){var i=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(i)},parsePlainPrivatePKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var r=i(t,0);if(3!=r.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(r[1],2))throw"malformed PKCS8 private key(code:003)";var o=i(t,r[1]);if(2!=o.length)throw"malformed PKCS8 private key(code:004)";if("06"!=t.substr(o[0],2))throw"malformed PKCS8 private key(code:005)";if(s.algoid=n(t,o[0]),"06"==t.substr(o[1],2)&&(s.algparam=n(t,o[1])),"04"!=t.substr(r[2],2))throw"malformed PKCS8 private key(code:006)";return s.keyidx=e.getVidx(t,r[2]),s},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=xt(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,i=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==i.algoid)e=new st;else if("2a8648ce380401"==i.algoid)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";e=new ut.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,i=dt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===i)e=new st;else if("2a8648ce380401"===i)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";e=new ut.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=dt.getChildIdx,i=dt.getV,n={};if("30"!=t.substr(0,2))throw"malformed RSA key(code:001)";var s=e(t,0);if(2!=s.length)throw"malformed RSA key(code:002)";if("02"!=t.substr(s[0],2))throw"malformed RSA key(code:003)";if(n.n=i(t,s[0]),"02"!=t.substr(s[1],2))throw"malformed RSA key(code:004)";return n.e=i(t,s[1]),n},parsePublicPKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null},r=i(t,0);if(2!=r.length)throw"outer DERSequence shall have 2 elements: "+r.length;var o=r[0];if("30"!=t.substr(o,2))throw"malformed PKCS8 public key(code:001)";var a=i(t,o);if(2!=a.length)throw"malformed PKCS8 public key(code:002)";if("06"!=t.substr(a[0],2))throw"malformed PKCS8 public key(code:003)";if(s.algoid=n(t,a[0]),"06"==t.substr(a[1],2)?s.algparam=n(t,a[1]):"30"==t.substr(a[1],2)&&(s.algparam={},s.algparam.p=e.getVbyList(t,a[1],[0],"02"),s.algparam.q=e.getVbyList(t,a[1],[1],"02"),s.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(r[1],2))throw"malformed PKCS8 public key(code:004)";return s.key=n(t,r[1]).substr(2),s}}}();Bt.getKey=function(t,e,i){var n,s=(_=dt).getChildIdx,r=_.getVbyList,o=ut.crypto,a=o.ECDSA,c=o.DSA,u=st,l=xt,h=Bt;if(void 0!==u&&t instanceof u)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==c&&t instanceof c)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new a({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new a({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(x=new u).setPublic(t.n,t.e),x;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(x=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),x;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(x=new u).setPrivate(t.n,t.e,t.d),x;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(x=new c).setPublic(t.p,t.q,t.g,t.y),x;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(x=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),x;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(x=new u).setPublic(bt(t.n),bt(t.e)),x;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(x=new u).setPrivateEx(bt(t.n),bt(t.e),bt(t.d),bt(t.p),bt(t.q),bt(t.dp),bt(t.dq),bt(t.qi)),x;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(x=new u).setPrivate(bt(t.n),bt(t.e),bt(t.d)),x;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(E=new a({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+bt(t.x)).slice(-d)+("0000000000"+bt(t.y)).slice(-d);return E.setPublicKeyHex(f),E}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(E=new a({curve:t.crv})).ecparams.keylen/4,f="04"+("0000000000"+bt(t.x)).slice(-d)+("0000000000"+bt(t.y)).slice(-d);var p=("0000000000"+bt(t.d)).slice(-d);return E.setPublicKeyHex(f),E.setPrivateKeyHex(p),E}if("pkcs5prv"===i){var g,m=t,_=dt;if(9===(g=s(m,0)).length)(x=new u).readPKCS5PrvKeyHex(m);else if(6===g.length)(x=new c).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(x=new a).readPKCS5PrvKeyHex(m)}return x}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return Ut.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Ut.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var y=xt(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(y)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var w=l(t,"RSA PRIVATE KEY");return h.getKey(w,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var b=r(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),v=r(n,0,[2],"02"),A=r(n,0,[3],"02"),T=r(n,0,[4],"02"),C=r(n,0,[5],"02");return(x=new c).setPrivate(new k(b,16),new k(v,16),new k(A,16),new k(T,16),new k(C,16)),x}if(-1!=t.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var S=h.getDecryptedKeyHex(t,e),M=new st;return M.readPKCS5PrvKeyHex(S),M}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var E,x=r(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),R=r(n,0,[2,0],"06"),D=r(n,0,[3,0],"03").substr(2);if(void 0===ut.crypto.OID.oidhex2name[R])throw"undefined OID(hex) in KJUR.crypto.OID: "+R;return(E=new a({curve:ut.crypto.OID.oidhex2name[R]})).setPublicKeyHex(D),E.setPrivateKeyHex(x),E.isPublic=!1,E}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return b=r(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),v=r(n,0,[2],"02"),A=r(n,0,[3],"02"),T=r(n,0,[4],"02"),C=r(n,0,[5],"02"),(x=new c).setPrivate(new k(b,16),new k(v,16),new k(A,16),new k(T,16),new k(C,16)),x;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Bt.generateKeypair=function(t,e){if("RSA"==t){var i=e;(o=new st).generate(i,"10001"),o.isPrivate=!0,o.isPublic=!0;var n=new st,s=o.n.toString(16),r=o.e.toString(16);return n.setPublic(s,r),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=o,a.pubKeyObj=n,a}if("EC"==t){var o,a,c=e,u=new ut.crypto.ECDSA({curve:c}).generateKeyPairHex();return(o=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),o.setPrivateKeyHex(u.ecprvhex),o.isPrivate=!0,o.isPublic=!1,(n=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=o,a.pubKeyObj=n,a}throw"unknown algorithm: "+t},Bt.getPEM=function(t,e,i,n,s,r){var o=ut.asn1,a=o.DERObjectIdentifier,c=o.DERInteger,u=o.ASN1Util.newObject,l=ut.crypto,h=l.DSA,d=l.ECDSA,f=st;function p(t){return u({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function g(t){return u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function m(t){return u({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==f&&t instanceof f||void 0!==h&&t instanceof h||void 0!==d&&t instanceof d)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return Et(v=new(0,o.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==f&&t instanceof f&&(void 0===i||null==i)&&1==t.isPrivate)return Et(v=p(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var y=new a({name:t.curveName}).getEncodedHex(),w=g(t).getEncodedHex(),b="";return(b+=Et(y,"EC PARAMETERS"))+Et(w,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return Et(v=m(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==f&&t instanceof f&&void 0!==i&&null!=i&&1==t.isPrivate){var v=p(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",v,i,n,r)}if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==i&&null!=i&&1==t.isPrivate)return v=g(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",v,i,n,r);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return v=m(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",v,i,n,r);var A=function(t,e){var i=k(t,e);return new u({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:i.pbkdf2Salt}},{int:i.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:i.encryptionSchemeIV}}]}]}]},{octstr:{hex:i.ciphertext}}]}).getEncodedHex()},k=function(t,e){var i=_.lib.WordArray.random(8),n=_.lib.WordArray.random(8),s=_.PBKDF2(e,i,{keySize:6,iterations:100}),r=_.enc.Hex.parse(t),o=_.TripleDES.encrypt(r,s,{iv:n})+"",a={};return a.ciphertext=o,a.pbkdf2Salt=_.enc.Hex.stringify(i),a.pbkdf2Iter=100,a.encryptionSchemeAlg="DES-EDE3-CBC",a.encryptionSchemeIV=_.enc.Hex.stringify(n),a};if("PKCS8PRV"==e&&null!=f&&t instanceof f&&1==t.isPrivate){var T=p(t).getEncodedHex();return v=u({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(v,"PRIVATE KEY"):Et(w=A(v,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return T=new u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),v=u({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(v,"PRIVATE KEY"):Et(w=A(v,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return T=new c({bigint:t.x}).getEncodedHex(),v=u({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(v,"PRIVATE KEY"):Et(w=A(v,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Bt.getKeyFromCSRPEM=function(t){var e=xt(t,"CERTIFICATE REQUEST");return Bt.getKeyFromCSRHex(e)},Bt.getKeyFromCSRHex=function(t){var e=Bt.parseCSRHex(t);return Bt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Bt.parseCSRHex=function(t){var e=dt.getChildIdx,i=dt.getTLV,n={},s=t;if("30"!=s.substr(0,2))throw"malformed CSR(code:001)";var r=e(s,0);if(r.length<1)throw"malformed CSR(code:002)";if("30"!=s.substr(r[0],2))throw"malformed CSR(code:003)";var o=e(s,r[0]);if(o.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(s,o[2]),n},Bt.getJWKFromKey=function(t){var e={};if(t instanceof st&&t.isPrivate)return e.kty="RSA",e.n=wt(t.n.toString(16)),e.e=wt(t.e.toString(16)),e.d=wt(t.d.toString(16)),e.p=wt(t.p.toString(16)),e.q=wt(t.q.toString(16)),e.dp=wt(t.dmp1.toString(16)),e.dq=wt(t.dmq1.toString(16)),e.qi=wt(t.coeff.toString(16)),e;if(t instanceof st&&t.isPublic)return e.kty="RSA",e.n=wt(t.n.toString(16)),e.e=wt(t.e.toString(16)),e;if(t instanceof ut.crypto.ECDSA&&t.isPrivate){if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;var i=t.getPublicKeyXYHex();return e.kty="EC",e.crv=n,e.x=wt(i.x),e.y=wt(i.y),e.d=wt(t.prvKeyHex),e}if(t instanceof ut.crypto.ECDSA&&t.isPublic){var n;if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;return i=t.getPublicKeyXYHex(),e.kty="EC",e.crv=n,e.x=wt(i.x),e.y=wt(i.y),e}throw"not supported key object"},st.getPosArrayOfChildrenFromHex=function(t){return dt.getChildIdx(t,0)},st.getHexValueArrayOfChildrenFromHex=function(t){var e,i=dt.getV,n=i(t,(e=st.getPosArrayOfChildrenFromHex(t))[0]),s=i(t,e[1]),r=i(t,e[2]),o=i(t,e[3]),a=i(t,e[4]),c=i(t,e[5]),u=i(t,e[6]),l=i(t,e[7]),h=i(t,e[8]);return(e=new Array).push(n,s,r,o,a,c,u,l,h),e},st.prototype.readPrivateKeyFromPEMString=function(t){var e=xt(t),i=st.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8])},st.prototype.readPKCS5PrvKeyHex=function(t){var e=st.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},st.prototype.readPKCS8PrvKeyHex=function(t){var e,i,n,s,r,o,a,c,u=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=u(t,0,[2,0,1],"02"),i=u(t,0,[2,0,2],"02"),n=u(t,0,[2,0,3],"02"),s=u(t,0,[2,0,4],"02"),r=u(t,0,[2,0,5],"02"),o=u(t,0,[2,0,6],"02"),a=u(t,0,[2,0,7],"02"),c=u(t,0,[2,0,8],"02")}catch(t){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(e,i,n,s,r,o,a,c)},st.prototype.readPKCS5PubKeyHex=function(t){var e=dt,i=e.getV;if(!1===e.isASN1HEX(t))throw"keyHex is not ASN.1 hex string";var n=e.getChildIdx(t,0);if(2!==n.length||"02"!==t.substr(n[0],2)||"02"!==t.substr(n[1],2))throw"wrong hex for PKCS#5 public key";var s=i(t,n[0]),r=i(t,n[1]);this.setPublic(s,r)},st.prototype.readPKCS8PubKeyHex=function(t){var e=dt;if(!1===e.isASN1HEX(t))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==e.getTLVbyList(t,0,[0,0]))throw"not PKCS8 RSA public key";var i=e.getTLVbyList(t,0,[1,0]);this.readPKCS5PubKeyHex(i)},st.prototype.readCertPubKeyHex=function(t,e){var i,n;(i=new Ut).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var jt=new RegExp("");function Yt(t,e){for(var i="",n=e/4-t.length,s=0;s>24,(16711680&s)>>16,(65280&s)>>8,255&s])))),s+=1;return n}function Kt(t){for(var e in ut.crypto.Util.DIGESTINFOHEAD){var i=ut.crypto.Util.DIGESTINFOHEAD[e],n=i.length;if(t.substring(0,n)==i)return[e,t.substring(n)]}return[]}function Ut(){var t=dt,e=t.getChildIdx,i=t.getV,n=t.getTLV,s=t.getVbyList,r=t.getTLVbyList,o=t.getIdxbyList,a=t.getVidx,c=t.oidname,u=Ut,l=xt;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==r(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return s(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return c(s(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return r(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return r(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=s(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=s(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return t.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return o(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return o(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return Bt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return c(s(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return s(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmName(),i=this.getSignatureValueHex(),n=r(this.hex,0,[0],"30"),s=new ut.crypto.Signature({alg:e});return s.init(t),s.updateHex(n),s.verify(i)},this.parseExt=function(){if(3!==this.version)return-1;var i=o(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var r=0;r0&&(u=new Array(i),(new et).nextBytes(u),u=String.fromCharCode.apply(String,u));var l=kt(c(Tt("\0\0\0\0\0\0\0\0"+s+u))),h=[];for(n=0;n>8*a-o&255),n=0;nthis.n.bitLength())return 0;var n=Kt(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var s=n[0];return n[1]==function(t){return ut.crypto.Util.hashString(t,s)}(t)},st.prototype.verifyWithMessageHash=function(t,e){var i=it(e=(e=e.replace(jt,"")).replace(/[ \n]+/g,""),16);if(i.bitLength()>this.n.bitLength())return 0;var n=Kt(this.doPublic(i).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==t},st.prototype.verifyPSS=function(t,e,i,n){var s=function(t){return ut.crypto.Util.hashHex(t,i)}(Tt(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(s,e,i,n)},st.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var s=new k(e,16);if(s.bitLength()>this.n.bitLength())return!1;var r,o=function(t){return ut.crypto.Util.hashHex(t,i)},a=kt(t),c=a.length,u=this.n.bitLength()-1,l=Math.ceil(u/8);if(-1===n||void 0===n)n=c;else if(-2===n)n=l-c-2;else if(n<-2)throw"invalid salt length";if(l>8*l-u&255;if(0!=(d.charCodeAt(0)&p))throw"bits beyond keysize not zero";var g=Nt(f,d.length,o),m=[];for(r=0;r0&&-1==(":"+n.join(":")+":").indexOf(":"+m+":"))throw"algorithm '"+m+"' not accepted in the list";if("none"!=m&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Bt.getKey(e)),!("RS"!=d&&"PS"!=d||e instanceof s))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(e instanceof c))throw"key shall be a ECDSA obj for ES* algs";var _=null;if(void 0===r.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+m;if("none"==(_=r.jwsalg2sigalg[m]))throw"not supported";if("Hmac"==_.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var y=new u({alg:_,pass:e});return y.updateString(f),p==y.doFinal()}if(-1!=_.indexOf("withECDSA")){var w,b=null;try{b=c.concatSigToASN1Sig(p)}catch(t){return!1}return(w=new l({alg:_})).init(e),w.updateString(f),w.verify(b)}return(w=new l({alg:_})).init(e),w.updateString(f),w.verify(p)},ut.jws.JWS.parse=function(t){var e,i,n=t.split("."),s={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=n[1],3==n.length&&(i=n[2]),s.headerObj=ut.jws.JWS.readSafeJSONString(ht(n[0])),s.payloadObj=ut.jws.JWS.readSafeJSONString(ht(e)),s.headerPP=JSON.stringify(s.headerObj,null," "),s.payloadPP=null==s.payloadObj?ht(e):JSON.stringify(s.payloadObj,null," "),void 0!==i&&(s.sigHex=bt(i)),s},ut.jws.JWS.verifyJWT=function(t,e,n){var s=ut.jws,r=s.JWS,o=r.readSafeJSONString,a=r.inArray,c=r.includedArray,u=t.split("."),l=u[0],h=u[1],d=(bt(u[2]),o(ht(l))),f=o(ht(h));if(void 0===d.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!a(d.alg,n.alg))return!1;if(void 0!==f.iss&&"object"===i(n.iss)&&!a(f.iss,n.iss))return!1;if(void 0!==f.sub&&"object"===i(n.sub)&&!a(f.sub,n.sub))return!1;if(void 0!==f.aud&&"object"===i(n.aud))if("string"==typeof f.aud){if(!a(f.aud,n.aud))return!1}else if("object"==i(f.aud)&&!c(f.aud,n.aud))return!1;var p=s.IntDate.getNow();return void 0!==n.verifyAt&&"number"==typeof n.verifyAt&&(p=n.verifyAt),void 0!==n.gracePeriod&&"number"==typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==f.exp&&"number"==typeof f.exp&&f.exp+n.gracePeriode.length&&(i=e.length);for(var n=0;n=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Y(t).length;default:if(n)return j(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function m(t,e,i,n,s){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=s?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(s)return-1;i=t.length-1}else if(i<0){if(!s)return-1;i=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:_(t,e,i,n,s);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):_(t,[e],i,n,s);throw new TypeError("val must be string, number or Buffer")}function _(t,e,i,n,s){var r,o=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,i/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(s){var l=-1;for(r=i;ra&&(i=a-c),r=i;r>=0;r--){for(var h=!0,d=0;ds&&(n=s):n=s;var r=e.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var o=0;o>8,s.push(i%256),s.push(n);return s}(e,t.length-i),t,i,n)}function T(t,e,i){return n.fromByteArray(0===e&&i===t.length?t:t.slice(e,i))}function C(t,e,i){i=Math.min(t.length,i);for(var n=[],s=e;s239?4:u>223?3:u>191?2:1;if(s+h<=i)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(r=t[s+1]))&&(c=(31&u)<<6|63&r)>127&&(l=c);break;case 3:o=t[s+2],128==(192&(r=t[s+1]))&&128==(192&o)&&(c=(15&u)<<12|(63&r)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[s+2],a=t[s+3],128==(192&(r=t[s+1]))&&128==(192&o)&&128==(192&a)&&(c=(15&u)<<18|(63&r)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),s+=h}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);for(var i="",n=0;nthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,e,i);case"utf8":case"utf-8":return C(this,e,i);case"ascii":return M(this,e,i);case"latin1":case"binary":return E(this,e,i);case"base64":return T(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}).apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},c.prototype.compare=function(t,e,i,n,s){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),e<0||i>t.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&e>=i)return 0;if(n>=s)return-1;if(e>=i)return 1;if(this===t)return 0;for(var r=(s>>>=0)-(n>>>=0),o=(i>>>=0)-(e>>>=0),a=Math.min(r,o),u=this.slice(n,s),l=t.slice(e,i),h=0;hs)&&(i=s),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return y(this,t,e,i);case"utf8":case"utf-8":return w(this,t,e,i);case"ascii":return b(this,t,e,i);case"latin1":case"binary":return v(this,t,e,i);case"base64":return A(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function M(t,e,i){var n="";i=Math.min(t.length,i);for(var s=e;sn)&&(i=n);for(var s="",r=e;ri)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,i,n,s,r){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}function L(t,e,i,n){e<0&&(e=65535+e+1);for(var s=0,r=Math.min(t.length-i,2);s>>8*(n?s:1-s)}function z(t,e,i,n){e<0&&(e=4294967295+e+1);for(var s=0,r=Math.min(t.length-i,4);s>>8*(n?s:3-s)&255}function I(t,e,i,n,s,r){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function F(t,e,i,n,r){return r||I(t,0,i,4),s.write(t,e,i,n,23,4),i+4}function H(t,e,i,n,r){return r||I(t,0,i,8),s.write(t,e,i,n,52,8),i+8}c.prototype.slice=function(t,e){var i,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(s*=256);)n+=this[t+--e]*s;return n},c.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||D(t,e,this.length);for(var n=this[t],s=1,r=0;++r=(s*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||D(t,e,this.length);for(var n=e,s=1,r=this[t+--n];n>0&&(s*=256);)r+=this[t+--n]*s;return r>=(s*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),s.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),s.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),s.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),s.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||P(this,t,e,i,Math.pow(2,8*i)-1,0);var s=1,r=0;for(this[e]=255&t;++r=0&&(r*=256);)this[e+s]=t/r&255;return e+i},c.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);P(this,t,e,i,s-1,-s)}var r=0,o=1,a=0;for(this[e]=255&t;++r>0)-a&255;return e+i},c.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);P(this,t,e,i,s-1,-s)}var r=i-1,o=1,a=0;for(this[e+r]=255&t;--r>=0&&(o*=256);)t<0&&0===a&&0!==this[e+r+1]&&(a=1),this[e+r]=(t/o>>0)-a&255;return e+i},c.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,i){return F(this,t,e,!0,i)},c.prototype.writeFloatBE=function(t,e,i){return F(this,t,e,!1,i)},c.prototype.writeDoubleLE=function(t,e,i){return H(this,t,e,!0,i)},c.prototype.writeDoubleBE=function(t,e,i){return H(this,t,e,!1,i)},c.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--s)t[s+e]=this[s+i];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(s=0;s>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(r=e;r55295&&i<57344){if(!s){if(i>56319){(e-=3)>-1&&r.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&r.push(239,191,189);continue}s=i;continue}if(i<56320){(e-=3)>-1&&r.push(239,191,189),s=i;continue}i=65536+(s-55296<<10|i-56320)}else s&&(e-=3)>-1&&r.push(239,191,189);if(s=null,i<128){if((e-=1)<0)break;r.push(i)}else if(i<2048){if((e-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function Y(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(O,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function N(t,e,i,n){for(var s=0;s=e.length||s>=t.length);++s)e[s+i]=t[s];return s}}).call(this,i(28))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";e.byteLength=function(t){var e=u(t),i=e[1];return 3*(e[0]+i)/4-i},e.toByteArray=function(t){for(var e,i=u(t),n=i[0],o=i[1],a=new r(function(t,e,i){return 3*(e+i)/4-i}(0,n,o)),c=0,l=o>0?n-4:n,h=0;h>16&255,a[c++]=e>>8&255,a[c++]=255&e;return 2===o&&(e=s[t.charCodeAt(h)]<<2|s[t.charCodeAt(h+1)]>>4,a[c++]=255&e),1===o&&(e=s[t.charCodeAt(h)]<<10|s[t.charCodeAt(h+1)]<<4|s[t.charCodeAt(h+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e),a},e.fromByteArray=function(t){for(var e,i=t.length,s=i%3,r=[],o=0,a=i-s;oa?a:o+16383));return 1===s?r.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===s&&r.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),r.join("")};for(var n=[],s=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var s,r=[],o=e;o>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return r.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,s){var r,o,a=8*s-n-1,c=(1<>1,l=-7,h=i?s-1:0,d=i?-1:1,f=t[e+h];for(h+=d,r=f&(1<<-l)-1,f>>=-l,l+=a;l>0;r=256*r+t[e+h],h+=d,l-=8);for(o=r&(1<<-l)-1,r>>=-l,l+=n;l>0;o=256*o+t[e+h],h+=d,l-=8);if(0===r)r=1-u;else{if(r===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),r-=u}return(f?-1:1)*o*Math.pow(2,r-n)},e.write=function(t,e,i,n,s,r){var o,a,c,u=8*r-s-1,l=(1<>1,d=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:r-1,p=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=l):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=l?(a=0,o=l):o+h>=1?(a=(e*c-1)*Math.pow(2,s),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,s),o=0));s>=8;t[i+f]=255&a,f+=p,a/=256,s-=8);for(o=o<0;t[i+f]=255&o,f+=p,o/=256,u-=8);t[i+f-p]|=128*g}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.jws,i=t.KeyUtil,s=t.X509,r=t.crypto,o=t.hextob64u,a=t.b64tohex,c=t.AllowedSigningAlgs;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.parseJwt=function t(i){n.Log.debug("JoseUtil.parseJwt");try{var s=e.JWS.parse(i);return{header:s.headerObj,payload:s.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,r,o,c,u,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===r.kty)if(r.e&&r.n)r=i.getKey(r);else{if(!r.x5c||!r.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",r),Promise.reject(new Error("RSA key missing key material"));var d=a(r.x5c[0]);r=s.getPublicKeyFromCertHex(d)}else{if("EC"!==r.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",r&&r.kty),Promise.reject(new Error(r.kty));if(!(r.crv&&r.x&&r.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",r),Promise.reject(new Error("EC key missing key material"));r=i.getKey(r)}return t._validateJwt(e,r,o,c,u,l,h)}catch(t){return n.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,i,s,r,o,a){r||(r=0),o||(o=parseInt(Date.now()/1e3));var c=t.parseJwt(e).payload;if(!c.iss)return n.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(c.iss!==i)return n.Log.error("JoseUtil._validateJwt: Invalid issuer in token",c.iss),Promise.reject(new Error("Invalid issuer in token: "+c.iss));if(!c.aud)return n.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(c.aud===s||Array.isArray(c.aud)&&c.aud.indexOf(s)>=0))return n.Log.error("JoseUtil._validateJwt: Invalid audience in token",c.aud),Promise.reject(new Error("Invalid audience in token: "+c.aud));if(c.azp&&c.azp!==s)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",c.azp),Promise.reject(new Error("Invalid azp in token: "+c.azp));if(!a){var u=o+r,l=o-r;if(!c.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(u>>((3&e)<<3)&255;return s}}},function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"#";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=s.UrlUtility.parseUrlFragment(e,i);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutRequest=void 0;var n=i(0),s=i(3),r=i(8);e.SignoutRequest=function t(e){var i=e.url,o=e.id_token_hint,a=e.post_logout_redirect_uri,c=e.data,u=e.extraQueryParams,l=e.request_type;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in o&&(i=s.UrlUtility.addQueryParam(i,"id_token_hint",o)),a&&(i=s.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",a),c&&(this.state=new r.State({data:c,request_type:l}),i=s.UrlUtility.addQueryParam(i,"state",this.state.id))),u)i=s.UrlUtility.addQueryParam(i,h,u[h]);this.url=i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var n=i(3);e.SignoutResponse=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var i=n.UrlUtility.parseUrlFragment(e,"?");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryWebStorage=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.SilentRenewService,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:f.JoseUtil;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i instanceof o.UserManagerSettings||(i=new o.UserManagerSettings(i));var m=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return m._events=new c.UserManagerEvents(i),m._silentRenewService=new n(m),m.settings.automaticSilentRenew&&(s.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),m.startSilentRenew()),m.settings.monitorSession&&(s.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),m._sessionMonitor=new r(m)),m._tokenRevocationClient=new a(m._settings),m._tokenClient=new p(m._settings),m._joseUtil=g,m}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function(){var t=this;return this._loadUser().then(function(e){return e?(s.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(s.Log.info("UserManager.getUser: user not found in storage"),null)})},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then(function(){s.Log.info("UserManager.removeUser: user removed from storage"),t._events.unload()})},e.prototype.signinRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:r";var e={useReplaceToNavigate:t.useReplaceToNavigate};return this._signinStart(t,this._redirectNavigator,e).then(function(){s.Log.info("UserManager.signinRedirect: successful")})},e.prototype.signinRedirectCallback=function(t){return this._signinEnd(t||this._redirectNavigator.url).then(function(t){return t.profile&&t.profile.sub?s.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinRedirectCallback: no sub"),t})},e.prototype.signinPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:p";var e=t.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.display="popup",this._signin(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopup: no sub")),t})):(s.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},e.prototype.signinPopupCallback=function(t){return this._signinCallback(t,this._popupNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopupCallback: no sub")),t}).catch(function(t){s.Log.error(t.message)})},e.prototype.signinSilent=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).request_type="si:s",this._loadUser().then(function(i){return i&&i.refresh_token?(e.refresh_token=i.refresh_token,t._useRefreshToken(e)):(e.id_token_hint=e.id_token_hint||t.settings.includeIdTokenInSilentRenew&&i&&i.id_token,i&&t._settings.validateSubOnSilentRenew&&(s.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",i.profile.sub),e.current_sub=i.profile.sub),t._signinSilentIframe(e))})},e.prototype._useRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(e).then(function(e){return e?e.access_token?t._loadUser().then(function(i){if(i){var n=Promise.resolve();return e.id_token&&(n=t._validateIdTokenFromTokenRefreshToken(i.profile,e.id_token)),n.then(function(){return s.Log.debug("UserManager._useRefreshToken: refresh token response success"),i.id_token=e.id_token,i.access_token=e.access_token,i.refresh_token=e.refresh_token||i.refresh_token,i.expires_in=e.expires_in,t.storeUser(i).then(function(){return t._events.load(i),i})})}return null}):(s.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(s.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},e.prototype._validateIdTokenFromTokenRefreshToken=function(t,e){var i=this;return this._metadataService.getIssuer().then(function(n){return i._joseUtil.validateJwtAttributes(e,n,i._settings.client_id,i._settings.clockSkew).then(function(e){return e?e.sub!==t.sub?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):e.auth_time&&e.auth_time!==t.auth_time?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):e.azp&&e.azp!==t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!e.azp&&t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})},e.prototype._signinSilentIframe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.prompt=t.prompt||"none",this._signin(t,this._iframeNavigator,{startUrl:e,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilent: no sub")),t})):(s.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype.signinSilentCallback=function(t){return this._signinCallback(t,this._iframeNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilentCallback: no sub")),t})},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then(function(i){var n=i.state;return"si:r"===n.request_type?e.signinRedirectCallback(t):"si:p"===n.request_type?e.signinPopupCallback(t):"si:s"===n.request_type?e.signinSilentCallback(t):Promise.reject(new Error("invalid response_type in state"))})},e.prototype.signoutCallback=function(t,e){var i=this;return this.readSignoutResponseState(t).then(function(n){var s=n.state,r=n.response;return s?"so:r"===s.request_type?i.signoutRedirectCallback(t):"so:p"===s.request_type?i.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):r})},e.prototype.querySessionStatus=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:s";var i=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return i?(e.redirect_uri=i,e.prompt="none",e.response_type=e.response_type||this.settings.query_status_response_type,e.scope=e.scope||"openid",e.skipUserInfo=!0,this._signinStart(e,this._iframeNavigator,{startUrl:i,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(e){return t.processSigninResponse(e.url).then(function(t){if(s.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};s.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(e){if(e.session_state&&t.settings.monitorAnonymousSession&&("login_required"==e.message||"consent_required"==e.message||"interaction_required"==e.message||"account_selection_required"==e.message))return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e})})):(s.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype._signin=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,n).then(function(e){return i._signinEnd(e.url,t)})},e.prototype._signinStart=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(n).then(function(e){return s.Log.debug("UserManager._signinStart: got navigator window handle"),i.createSigninRequest(t).then(function(t){return s.Log.debug("UserManager._signinStart: got signin request"),n.url=t.url,n.id=t.state.id,e.navigate(n)}).catch(function(t){throw e.close&&(s.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),e.close()),t})})},e.prototype._signinEnd=function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(t).then(function(t){s.Log.debug("UserManager._signinEnd: got signin response");var n=new a.User(t);if(i.current_sub){if(i.current_sub!==n.profile.sub)return s.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",n.profile.sub),Promise.reject(new Error("login_required"));s.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(n).then(function(){return s.Log.debug("UserManager._signinEnd: user stored"),e._events.load(n),n})})},e.prototype._signinCallback=function(t,e){return s.Log.debug("UserManager._signinCallback"),e.callback(t)},e.prototype.signoutRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:r";var e=t.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;e&&(t.post_logout_redirect_uri=e);var i={useReplaceToNavigate:t.useReplaceToNavigate};return this._signoutStart(t,this._redirectNavigator,i).then(function(){s.Log.info("UserManager.signoutRedirect: successful")})},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then(function(t){return s.Log.info("UserManager.signoutRedirectCallback: successful"),t})},e.prototype.signoutPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:p";var e=t.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return t.post_logout_redirect_uri=e,t.display="popup",t.post_logout_redirect_uri&&(t.state=t.state||{}),this._signout(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){s.Log.info("UserManager.signoutPopup: successful")})},e.prototype.signoutPopupCallback=function(t,e){return void 0===e&&"boolean"==typeof t&&(e=t,t=null),this._popupNavigator.callback(t,e,"?").then(function(){s.Log.info("UserManager.signoutPopupCallback: successful")})},e.prototype._signout=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,n).then(function(t){return i._signoutEnd(t.url)})},e.prototype._signoutStart=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,i=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.prepare(n).then(function(i){return s.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then(function(r){return s.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(r):Promise.resolve()).then(function(){var o=t.id_token_hint||r&&r.id_token;return o&&(s.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=o),e.removeUser().then(function(){return s.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then(function(t){return s.Log.debug("UserManager._signoutStart: got signout request"),n.url=t.url,t.state&&(n.id=t.state.id),i.navigate(n)})})})}).catch(function(t){throw i.close&&(s.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),i.close()),t})})},e.prototype._signoutEnd=function(t){return this.processSignoutResponse(t).then(function(t){return s.Log.debug("UserManager._signoutEnd: got signout response"),t})},e.prototype.revokeAccessToken=function(){var t=this;return this._loadUser().then(function(e){return t._revokeInternal(e,!0).then(function(i){if(i)return s.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),e.access_token=null,e.refresh_token=null,e.expires_at=null,e.token_type=null,t.storeUser(e).then(function(){s.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)})})}).then(function(){s.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},e.prototype._revokeInternal=function(t,e){var i=this;if(t){var n=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then(function(t){return i._revokeRefreshTokenInternal(n,e).then(function(e){return t||e||s.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),t||e})})}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function(t,e){return!t||t.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(t,e).then(function(){return!0})},e.prototype._revokeRefreshTokenInternal=function(t,e){return t?this._tokenRevocationClient.revoke(t,e,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},e.prototype.startSilentRenew=function(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},e.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(t){return t?(s.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(t)):(s.Log.debug("UserManager._loadUser: no user storageString"),null)})},e.prototype.storeUser=function(t){if(t){s.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return s.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},n(e,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),e}(r.OidcClient)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.popup_redirect_uri,s=i.popup_post_logout_redirect_uri,h=i.popupWindowFeatures,d=i.popupWindowTarget,f=i.silent_redirect_uri,p=i.silentRequestTimeout,g=i.automaticSilentRenew,m=void 0!==g&&g,_=i.validateSubOnSilentRenew,y=void 0!==_&&_,w=i.includeIdTokenInSilentRenew,b=void 0===w||w,v=i.monitorSession,A=void 0===v||v,k=i.monitorAnonymousSession,T=void 0!==k&&k,C=i.checkSessionInterval,S=void 0===C?2e3:C,M=i.stopCheckSessionOnError,E=void 0===M||M,x=i.query_status_response_type,R=i.revokeAccessTokenOnSignout,D=void 0!==R&&R,P=i.accessTokenExpiringNotificationTime,L=void 0===P?60:P,z=i.redirectNavigator,I=void 0===z?new r.RedirectNavigator:z,F=i.popupNavigator,H=void 0===F?new o.PopupNavigator:F,O=i.iframeNavigator,B=void 0===O?new a.IFrameNavigator:O,j=i.userStore,Y=void 0===j?new c.WebStorageStateStore({store:u.Global.sessionStorage}):j;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var N=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));return N._popup_redirect_uri=n,N._popup_post_logout_redirect_uri=s,N._popupWindowFeatures=h,N._popupWindowTarget=d,N._silent_redirect_uri=f,N._silentRequestTimeout=p,N._automaticSilentRenew=m,N._validateSubOnSilentRenew=y,N._includeIdTokenInSilentRenew=b,N._accessTokenExpiringNotificationTime=L,N._monitorSession=A,N._monitorAnonymousSession=T,N._checkSessionInterval=S,N._stopCheckSessionOnError=E,N._query_status_response_type=x||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),N._revokeAccessTokenOnSignout=D,N._redirectNavigator=I,N._popupNavigator=H,N._iframeNavigator=B,N._userStore=Y,N}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),e}(s.OidcClientSettings)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1])||arguments[1];n.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),i&&this._userLoaded.raise(e)},e.prototype.unload=function(){n.Log.debug("UserManagerEvents.unload"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function(t){this._userLoaded.addHandler(t)},e.prototype.removeUserLoaded=function(t){this._userLoaded.removeHandler(t)},e.prototype.addUserUnloaded=function(t){this._userUnloaded.addHandler(t)},e.prototype.removeUserUnloaded=function(t){this._userUnloaded.removeHandler(t)},e.prototype.addSilentRenewError=function(t){this._silentRenewError.addHandler(t)},e.prototype.removeSilentRenewError=function(t){this._silentRenewError.removeHandler(t)},e.prototype._raiseSilentRenewError=function(t){n.Log.debug("UserManagerEvents._raiseSilentRenewError",t.message),this._silentRenewError.raise(t)},e.prototype.addUserSignedIn=function(t){this._userSignedIn.addHandler(t)},e.prototype.removeUserSignedIn=function(t){this._userSignedIn.removeHandler(t)},e.prototype._raiseUserSignedIn=function(){n.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function(t){this._userSignedOut.addHandler(t)},e.prototype.removeUserSignedOut=function(t){this._userSignedOut.removeHandler(t)},e.prototype._raiseUserSignedOut=function(){n.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function(t){this._userSessionChanged.addHandler(t)},e.prototype.removeUserSessionChanged=function(t){this._userSessionChanged.removeHandler(t)},e.prototype._raiseUserSessionChanged=function(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(s.AccessTokenEvents)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:r.Global.timer,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return o._timer=n,o._nowFunc=s||function(){return Date.now()/1e3},o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function(t){t<=0&&(t=1),t=parseInt(t);var e=this.now+t;if(this.expiration===e&&this._timerHandle)s.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),s.Log.debug("Timer.init timer "+this._name+" for duration:",t),this._expiration=e;var i=5;t{"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,i,n,s){n=n||"=";var r={};if("string"!=typeof t||0===t.length)return r;var o=/\+/g;t=t.split(i=i||"&");var a=1e3;s&&"number"==typeof s.maxKeys&&(a=s.maxKeys);var c=t.length;a>0&&c>a&&(c=a);for(var u=0;u=0?(l=p.substr(0,g),h=p.substr(g+1)):(l=p,h=""),d=decodeURIComponent(l),f=decodeURIComponent(h),e(r,d)?Array.isArray(r[d])?r[d].push(f):r[d]=[r[d],f]:r[d]=f}return r}},5341:t=>{"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var r=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return r+encodeURIComponent(e(t))}).join(i):r+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},6577:(t,e,i)=>{"use strict";i(963),i(5341)},6700:(t,e,i)=>{var n={"./af":776,"./af.js":776,"./ar":7634,"./ar-dz":2758,"./ar-dz.js":2758,"./ar-kw":4980,"./ar-kw.js":4980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":2500,"./ar-ma.js":2500,"./ar-sa":6909,"./ar-sa.js":6909,"./ar-tn":2735,"./ar-tn.js":2735,"./ar.js":7634,"./az":7798,"./az.js":7798,"./be":9949,"./be.js":9949,"./bg":4590,"./bg.js":4590,"./bm":5938,"./bm.js":5938,"./bn":595,"./bn.js":595,"./bo":4756,"./bo.js":4756,"./br":7277,"./br.js":7277,"./bs":4166,"./bs.js":4166,"./ca":3943,"./ca.js":3943,"./cs":3474,"./cs.js":3474,"./cv":2218,"./cv.js":2218,"./cy":1061,"./cy.js":1061,"./da":2743,"./da.js":2743,"./de":1899,"./de-at":8580,"./de-at.js":8580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":1899,"./dv":8784,"./dv.js":8784,"./el":4654,"./el.js":4654,"./en-SG":4047,"./en-SG.js":4047,"./en-au":6277,"./en-au.js":6277,"./en-ca":6896,"./en-ca.js":6896,"./en-gb":1609,"./en-gb.js":1609,"./en-ie":4557,"./en-ie.js":4557,"./en-il":5836,"./en-il.js":5836,"./en-nz":3586,"./en-nz.js":3586,"./eo":2777,"./eo.js":2777,"./es":3357,"./es-do":3128,"./es-do.js":3128,"./es-us":3256,"./es-us.js":3256,"./es.js":3357,"./et":2654,"./et.js":2654,"./eu":7287,"./eu.js":7287,"./fa":3875,"./fa.js":3875,"./fi":3431,"./fi.js":3431,"./fo":1781,"./fo.js":1781,"./fr":1717,"./fr-ca":1539,"./fr-ca.js":1539,"./fr-ch":9847,"./fr-ch.js":9847,"./fr.js":1717,"./fy":2250,"./fy.js":2250,"./ga":7665,"./ga.js":7665,"./gd":5214,"./gd.js":5214,"./gl":6154,"./gl.js":6154,"./gom-latn":8518,"./gom-latn.js":8518,"./gu":9221,"./gu.js":9221,"./he":4743,"./he.js":4743,"./hi":7339,"./hi.js":7339,"./hr":3224,"./hr.js":3224,"./hu":856,"./hu.js":856,"./hy-am":6855,"./hy-am.js":6855,"./id":2190,"./id.js":2190,"./is":3887,"./is.js":3887,"./it":9270,"./it-ch":5890,"./it-ch.js":5890,"./it.js":9270,"./ja":6595,"./ja.js":6595,"./jv":3081,"./jv.js":3081,"./ka":7477,"./ka.js":7477,"./kk":3978,"./kk.js":3978,"./km":9205,"./km.js":9205,"./kn":25,"./kn.js":25,"./ko":427,"./ko.js":427,"./ku":9089,"./ku.js":9089,"./ky":9314,"./ky.js":9314,"./lb":3136,"./lb.js":3136,"./lo":9115,"./lo.js":9115,"./lt":7087,"./lt.js":7087,"./lv":5683,"./lv.js":5683,"./me":9454,"./me.js":9454,"./mi":5507,"./mi.js":5507,"./mk":8466,"./mk.js":8466,"./ml":2933,"./ml.js":2933,"./mn":9477,"./mn.js":9477,"./mr":3597,"./mr.js":3597,"./ms":5529,"./ms-my":9965,"./ms-my.js":9965,"./ms.js":5529,"./mt":259,"./mt.js":259,"./my":8061,"./my.js":8061,"./nb":2618,"./nb.js":2618,"./ne":8452,"./ne.js":8452,"./nl":1885,"./nl-be":413,"./nl-be.js":413,"./nl.js":1885,"./nn":5107,"./nn.js":5107,"./pa-in":702,"./pa-in.js":702,"./pl":1711,"./pl.js":1711,"./pt":594,"./pt-br":8238,"./pt-br.js":8238,"./pt.js":594,"./ro":4681,"./ro.js":4681,"./ru":6201,"./ru.js":6201,"./sd":2912,"./sd.js":2912,"./se":6002,"./se.js":6002,"./si":7942,"./si.js":7942,"./sk":5577,"./sk.js":5577,"./sl":1775,"./sl.js":1775,"./sq":6823,"./sq.js":6823,"./sr":9038,"./sr-cyrl":3848,"./sr-cyrl.js":3848,"./sr.js":9038,"./ss":6173,"./ss.js":6173,"./sv":5788,"./sv.js":5788,"./sw":6882,"./sw.js":6882,"./ta":2678,"./ta.js":2678,"./te":2797,"./te.js":2797,"./tet":2447,"./tet.js":2447,"./tg":1335,"./tg.js":1335,"./th":8667,"./th.js":8667,"./tl-ph":9914,"./tl-ph.js":9914,"./tlh":1389,"./tlh.js":1389,"./tr":3578,"./tr.js":3578,"./tzl":6969,"./tzl.js":6969,"./tzm":6509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":6509,"./ug-cn":55,"./ug-cn.js":55,"./uk":2452,"./uk.js":2452,"./ur":1151,"./ur.js":1151,"./uz":1555,"./uz-latn":6547,"./uz-latn.js":6547,"./uz.js":1555,"./vi":6541,"./vi.js":6541,"./x-pseudo":2401,"./x-pseudo.js":2401,"./yo":2341,"./yo.js":2341,"./zh-cn":619,"./zh-cn.js":619,"./zh-hk":7058,"./zh-hk.js":7058,"./zh-tw":2782,"./zh-tw.js":2782};function s(t){var e=r(t);return i(e)}function r(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=r,t.exports=s,s.id=6700},306:t=>{"use strict";t.exports={i8:"2.0.0"}}},t=>{"use strict";t(t.s=8722)}]); \ No newline at end of file diff --git a/dist/apps/publications/main.f282def67ca75d146c7c.js b/dist/apps/publications/main.f282def67ca75d146c7c.js new file mode 100644 index 000000000..09be52405 --- /dev/null +++ b/dist/apps/publications/main.f282def67ca75d146c7c.js @@ -0,0 +1 @@ +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[179],{3619:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=3619,t.exports=e},9141:(t,e,i)=>{"use strict";var n=i(1511),s=i(1572);class o extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends o{static makeCurrent(){(0,n.HT)(new r)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(c=c||document.querySelector("base"),c?c.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,n.Mx)(document.cookie,t)}}let a,c=null;const u=new s.OlP("TRANSITION_ID"),l=[{provide:s.ip1,useFactory:function(t,e,i){return()=>{i.get(s.CZH).donePromise.then(()=>{const i=(0,n.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[u,n.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let i=e.length,n=!1;const o=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:i?(0,n.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(w),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(w))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function w(t){(0,n.q)().remove(t)}const y={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/"},b=/%COMP%/g;function A(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let k=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new T(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new C(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case s.ifc.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class T{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=y[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=y[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,i,n&s.JOm.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(i)):this.eventManager.addEventListener(t,e,v(i))}}class C extends T{constructor(t,e,i,n){super(t),this.component=i;const s=A(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(b,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(b,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class S extends T{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=A(n.id,n.styles,[]);for(let o=0;o{class t extends g{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const E=["alt","control","meta","shift"],L={"\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"},x={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"},D={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),r=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(e,o.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let o="";if(E.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),o+=t+".")}),o+=s,0!=i.length||0===s.length)return null;const r={};return r.domEventName=n,r.fullKey=o,r}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&x.hasOwnProperty(e)&&(e=x[e]))}return L[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),E.forEach(n=>{n!=i&&(0,D[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(I)},token:t,providedIn:"root"}),t})();function P(t){return new I(t.get(n.K0))}let I=(()=>{class t extends z{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return P((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const O=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:n.bD},{provide:s.g9A,useValue:function(){r.makeCurrent(),h.init()},multi:!0},{provide:n.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),H=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:M,multi:!0,deps:[n.K0,s.R0b,s.Lbi]},{provide:p,useClass:R,multi:!0,deps:[n.K0]},[],{provide:k,useClass:k,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:k},{provide:m,useExisting:_},{provide:_,useClass:_,deps:[n.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:n.JF,useClass:d,deps:[]},[]];let Y=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:u,useExisting:s.AFp},l]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:H,imports:[n.ez,s.hGG]}),t})();"undefined"!=typeof window&&window;var B=i(9063);class j{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const F=new s.OlP("basePath");class N{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let K=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attribute",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attributes[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,n,s,o,r,a,c,u,l,h="body",d=!1){let p=new B.LE({encoder:this.encoder});null!=t&&(p=p.set("attributeName",t)),null!=e&&(p=p.set("attributeId",e)),null!=i&&(p=p.set("facility",i)),null!=n&&(p=p.set("user",n)),null!=s&&(p=p.set("vo",s)),null!=o&&(p=p.set("resource",o)),null!=r&&(p=p.set("member",r)),null!=a&&(p=p.set("group",a)),null!=c&&(p=p.set("host",c)),null!=u&&(p=p.set("userExtSource",u)),null!=l&&(p=p.set("key",l));let f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(f=f.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:p,withCredentials:this.configuration.withCredentials,headers:f,observe:h,reportProgress:d})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t,e="body",i=!1){if(null==t)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("namespace",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("format",t)),null!=e&&(s=s.set("attrName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("format",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,n,s,o,r,a,c="body",u=!1){let l=new B.LE({encoder:this.encoder});null!=t&&(l=l.set("member",t)),null!=e&&(l=l.set("user",e)),null!=i&&(l=l.set("vo",i)),null!=n&&(l=l.set("group",n)),null!=s&&(l=l.set("resource",s)),null!=o&&(l=l.set("facility",o)),null!=r&&(l=l.set("host",r)),null!=a&&(l=l.set("userExtSource",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+t)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(h=h.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}getEntitylessAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("key",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attrName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("attrName",t)),e&&e.forEach(t=>{s=s.append("keys[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityResourceUserMemberAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i)),null!=n&&(r=r.set("member",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getFacilityUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAndUserAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroupAndUserAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberGroupAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroupAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesFacilityServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesGroupResourceService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("group",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesHostService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("host",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesMemberGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new B.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("group",i)),null!=n&&(a=a.set("member",n)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesMemberGroupService(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("member",i)),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesMemberResourceService(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("member",i)),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesResourceServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesVoService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceGroupAndGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithGroupAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourceGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceGroupMemberAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("member",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserFacilityAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getUserFacilityAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getUserFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)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==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let c=new B.LE({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("user",n)),null!=s&&(c=c.set("member",s)),o&&o.forEach(t=>{c=c.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}removeAttributesForFacilityResourceUserMember(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)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 B.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n)),s&&s.forEach(t=>{a=a.append("attributes[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeEntitylessAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeGroupResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)}),null!=n&&(r=r.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeHostAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeHostAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttributesWorkWithUserAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeResourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUesAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserExtSourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserFacilityAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeVoAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),q=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}auditMessagesManagerLog(t,e="body",i=!1){if(null==t)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("msg",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/log`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAuditerConsumer(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/createAuditerConsumer`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAuditerConsumers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuditerMessagesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getLastMessageId(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMessages(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("count",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessages`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMessagesByCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("count",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/getMessagesByCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}pollConsumerMessages(t,e="body",i=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("consumerName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/AuditMessagesManager/pollConsumerMessages`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setLastProcessedId(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==e)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("consumerName",t)),null!=e&&(s=s.set("lastProcessedId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/AuditMessagesManager/setLastProcessedId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),U=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("role",t)),null!=e&&(o=o.set("complementaryObjectId",e)),null!=i&&(o=o.set("complementaryObjectName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAuthzRichAdmins(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let c=new B.LE({encoder:this.encoder});null!=t&&(c=c.set("role",t)),null!=e&&(c=c.set("complementaryObjectId",e)),null!=i&&(c=c.set("complementaryObjectName",i)),n&&n.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}getFacilitiesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("groupId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("userId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}isFacilityAdmin(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Z=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}createAutorship(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryCat(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createCategoryNR(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createPublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAuthorship(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==e)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("publicationId",t)),null!=e&&(s=s.set("userId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deletePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deletePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteThanks(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findAllAuthors(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}findAuthorsByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findExternalPublications(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==e)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==i)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==n)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("yearSince",e)),null!=i&&(r=r.set("yearTill",i)),null!=n&&(r=r.set("pubSysNamespace",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findNewAuthors(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findPublicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findPublicationsByFilter(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let o=new B.LE({encoder:this.encoder});null!=e&&(o=o.set("yearSince",e)),null!=i&&(o=o.set("yearTill",i)),null!=t&&(o=o.set("userId",t));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}findPublicationsByGUIFilter(t,e,i,n,s,o,r,a,c,u="body",l=!1){let h=new B.LE({encoder:this.encoder});null!=t&&(h=h.set("title",t)),null!=e&&(h=h.set("isbn",e)),null!=i&&(h=h.set("doi",i)),null!=n&&(h=h.set("id",n)),null!=s&&(h=h.set("year",s)),null!=o&&(h=h.set("category",o)),null!=r&&(h=h.set("yearSince",r)),null!=a&&(h=h.set("yearTill",a)),null!=c&&(h=h.set("userId",c));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+t)}const p=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==p&&(d=d.set("Accept",p)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:h,withCredentials:this.configuration.withCredentials,headers:d,observe:u,reportProgress:l})}findSimilarPublications(t,e,i,n="body",s=!1){let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("title",t)),null!=e&&(o=o.set("doi",e)),null!=i&&(o=o.set("isbn",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getCategories(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPublicationSystems(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRank(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRank.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichThanksByPublicationId(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}lockPublications(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateCategory(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updatePublicationSystem(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),G=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getCurrentDatabaseVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseDriverInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getDatabaseInformation(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTimeOfQueryPerformance(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),V=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addExtSourceWithGroupSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("source",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addExtSourceWithVoSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("source",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createExtSourceFromExtSourceObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createExtSourceWithNameType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==e)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("type",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSourceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getExtSources(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGroupExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}loadExtSourcesDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeExtSourceWithGroupSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("source",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeExtSourceWithVoSource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==e)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("source",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),$=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addFacilityAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityAdminGroupByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityAdminUserByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityOwnerByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityOwnerByFacilityNameOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addFacilityOwnerByOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addHost(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("hostname",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addHostByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==e)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("hostname",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hostnames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addHostsByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==e)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hostnames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignSecurityTeam(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignSecurityTeamByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyAttributesByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyAttributesBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyAttributesBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyManagers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyManagersByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyManagersBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyManagersBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyOwners(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyOwnersByDestinationName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacility",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyOwnersBySourceDestinationNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==e)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacilityName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyOwnersBySourceName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==e)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("srcFacilityName",t)),null!=e&&(s=s.set("destFacility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("description",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllowedGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAllowedGroupsByFacilityName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAllowedRichGroupsWithAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("vo",i)),null!=n&&(r=r.set("service",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedRichGroupsWithAttributesByFacilityName(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("vo",i)),null!=n&&(r=r.set("service",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllowedUsersOfFacility(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAllowedUsersOfFacilityByFacilityName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("service",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAllowedVos(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedVosByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedFacilitiesByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesByAssignedServiceForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForFacilityByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedSecurityTeams(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedSecurityTeamsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedUsers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedUsersByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getBansForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facilityId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getEnrichedHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilitiesByAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==e)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("attributeName",t)),null!=e&&(s=s.set("attributeValue",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilitiesByDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesByHostName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilitiesCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAdminUsers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityAdminUsersByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityForHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityOwners(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityOwnersByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getHostById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHosts(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostsCountByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getOwnerFacilities(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("owner",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichFacilities(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeBanByUserIdFacilityId(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAdminGroupByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAdminUserByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeFacilityOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityOwnerByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityOwnerByFacilityNameOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityOwnerByOwnerName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==e)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("owner",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeHost(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHost.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeHostByHostname(t,e="body",i=!1){if(null==t)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("hostname",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeHosts(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hosts[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeHostsByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==e)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("hosts[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSecurityTeam(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSecurityTeamByFacilityName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==e)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("securityTeam",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFacilityBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getFacilityAdminGroupsByFacilityName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}canExtendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createGroupWithParentGroupNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("parentGroup",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}createGroupWithVoNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}deleteGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("forceDelete",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}extendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("name",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupMemberById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)}),i&&i.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupUnions(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("reverseDirection",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRichGroupByIdWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("groupId",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}isGroupMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new B.LE({encoder:this.encoder});null!=e&&(s=s.set("destinationGroup",e)),null!=t&&(s=s.set("movingGroup",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setGroupsMemberStatus(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("status",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Q=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("members[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let o=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("attrsNames[]",t)}),null!=e&&(o=o.set("searchString",e)),i&&i.forEach(t=>{o=o.append("allowedStatuses[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}findCompleteRichMembersForGroup(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let c=new B.LE({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(t=>{c=c.append("attrsNames[]",t)}),s&&s.forEach(t=>{c=c.append("allowedStatuses[]",t)}),o&&o.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",n));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}findCompleteRichMembersForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrsNames[]",t)}),n&&n.forEach(t=>{r=r.append("allowedStatuses[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findMembersInVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("searchString",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findSponsoredCompleteRichMembersForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=i&&(r=r.set("searchString",i)),null!=n&&(r=r.set("onlySponsored",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getCompleteRichMembersForGroup(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new B.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),i&&i.forEach(t=>{a=a.append("allowedStatuses[]",t)}),n&&n.forEach(t=>{a=a.append("allowedGroupStatuses[]",t)}),null!=e&&(a=a.set("lookingInParentGroup",e)),s&&s.forEach(t=>{a=a.append("attrsNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getCompleteRichMembersForGroupResource(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)}),n&&n.forEach(t=>{r=r.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCompleteRichMembersForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{o=o.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extLogin",e)),null!=i&&(o=o.set("extSourceName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)}),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsByMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsByVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extSourceName",e)),null!=i&&(r=r.set("extLogin",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}moveMembership(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("sourceUser",e)),null!=i&&(o=o.set("targetUser",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeSponsor(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendAccountActivationLinkEmail(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("emailAttributeURN",i)),null!=n&&(r=r.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendPasswordResetLinkEmail(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("emailAttributeURN",i)),null!=n&&(r=r.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("sponsoredMember",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}setStatus(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sponsorMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}updateSponsorshipValidity(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),X=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}createOwner(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("owner",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllOwners(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getOwnerById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getOwnerByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("owner",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tt=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}sentMessageToRTWithMemberQueue(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("memberId",t)),null!=e&&(r=r.set("queue",e)),null!=i&&(r=r.set("subject",i)),null!=n&&(r=r.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithQueue(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("queue",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sentMessageToRTWithVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("voId",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sentMessageToRTWithVoQueue(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("queue",e)),null!=i&&(r=r.set("subject",i)),null!=n&&(r=r.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),et=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromGroupToVo(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromVoToGroup(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromVoToVo(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromGroupToGroup(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromGroupToVo(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromVoToGroup(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromVoToVo(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("id",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteApplicationMailForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("id",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("state[]",t)}),null!=i&&(r=r.set("dateFrom",i)),null!=n&&(r=r.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getApplicationsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getApplicationsForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("state[]",t)}),null!=i&&(r=r.set("dateFrom",i)),null!=n&&(r=r.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("type",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("type",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t)),null!=e&&(s=s.set("reason",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendInvitation(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let r=new B.LE({encoder:this.encoder});null!=i&&(r=r.set("voId",i)),null!=n&&(r=r.set("name",n)),null!=t&&(r=r.set("email",t)),null!=e&&(r=r.set("language",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendInvitationForGroup(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new B.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("groupId",n)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendInvitationGroupToExistingUser(t,e,i,n="body",s=!1){let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("userId",t)),null!=e&&(o=o.set("voId",e)),null!=i&&(o=o.set("groupId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sendInvitationToExistingUser(t,e,i="body",n=!1){let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("userId",t)),null!=e&&(s=s.set("voId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),it=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}activateGroupResourceAssignment(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}addAdminToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addAdminToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}allowGroupsToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let o=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),e&&e.forEach(t=>{o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupsToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let o=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i)),null!=n&&(r=r.set("description",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("tagName",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deactivateGroupResourceAssignment(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAdmins(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedMembersWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEnrichedResourcesForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEnrichedResourcesForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("name",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourcesWhereGroupIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("group",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResourcesWhereUserIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("user",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRichAdmins(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.append("specificAttributes",t)}),null!=i&&(r=r.set("allUserAttributes",i)),null!=n&&(r=r.set("onlyDirectAdmins",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("resources[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupsFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let s=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),e&&e.forEach(t=>{s=s.append("resources[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nt=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addDestination(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling addDestination.");let a=new B.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("facility",e)),null!=i&&(a=a.set("destination",i)),null!=n&&(a=a.set("type",n)),null!=s&&(a=a.set("propagationType",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}addDestinationToMultipleServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addDestinationsForAllServicesOnFacility(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==i)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("destination",e)),null!=i&&(r=r.set("type",i)),null!=n&&(r=r.set("propagationType",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}addRequiredAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addRequiredAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addServiceToServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}blockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}blockAllServicesOnDestinationByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t)),null!=e&&(s=s.set("destinationType",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}blockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}blockServiceOnDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}blockServiceOnDestinationWithNameAndType(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e)),null!=i&&(o=o.set("destinationType",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}blockServiceOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==i)throw new Error("Required parameter script was null or undefined when calling createService.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("name",t)),null!=e&&(o=o.set("description",e)),null!=i&&(o=o.set("script",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}createServiceWithService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createServicesPackageByNameAndDescription(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("description",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling deleteService.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceServicePropagation(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllDestinations(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRichDestinationsForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichDestinationsForService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedServices(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getDataWithGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getDataWithVos(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getDestinationsCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFacilitiesDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAssignedServicesForGUI(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFlatData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getHashedDataWithGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getHashedHierarchicalData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getHierarchicalData(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("filterExpiredMembers",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRichDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getServiceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServiceByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServices(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getServicesBlockedOnDestination(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesBlockedOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesByAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesFromServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackageById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("servicesPackage",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackageByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("name",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getServicesPackages(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isServiceBlockedOnDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}isServiceBlockedOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}planServicePropagation(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeAllDestinations(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeAllRequiredAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeDestination(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==i)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==n)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("destination",i)),null!=n&&(r=r.set("type",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeRequiredAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeRequiredAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeServiceFromServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("servicesPackage",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}unblockAllServicesOnDestinationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("destination",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}unblockAllServicesOnDestinationByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==e)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("destination",t)),null!=e&&(s=s.set("destinationType",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}unblockAllServicesOnFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}unblockServiceOnDestinationById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("destination",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}unblockServiceOnDestinationByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==i)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("destination",e)),null!=i&&(o=o.set("destinationType",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}unblockServiceOnFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}updateService(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateServicesPackage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),st=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}countTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}deleteTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteTaskResultsNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllFacilitiesStates(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("voId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityServicesState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityState(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTask(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getTask.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getTaskById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("taskResult",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResults(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getTaskResultsByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForDestinations(t,e="body",i=!1){if(null==t)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("destinations[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForGUIByTask(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getTaskResultsForGUIByTaskAndDestination(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==e)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("task",t)),null!=e&&(s=s.set("destination",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getTaskResultsForGUIByTaskOnlyNewest(t,e="body",i=!1){if(null==t)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("task",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isThereSuchTask(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}listAllTasks(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}listAllTasksForFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}suspendTasksPropagation(t,e="body",i=!1){if(null==t)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("suspend",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ot=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}anonymizeUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("token",t)),null!=e&&(o=o.set("password",e)),null!=i&&(o=o.set("lang",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}changePasswordForLogin(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let a=new B.LE({encoder:this.encoder});null!=t&&(a=a.set("login",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}changePasswordForUser(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let a=new B.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("password",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createAlternativePassword(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("description",e)),null!=i&&(r=r.set("loginNamespace",i)),null!=n&&(r=r.set("password",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("loginNamespace",e)),null!=i&&(o=o.set("passwordId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}deletePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deletePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t)),e&&e.forEach(t=>{s=s.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichUsersWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("includedSpecificUsers",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsForResourceWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attrsNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsForMemberByVoAndLogin(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let r=new B.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extSourceName",e)),null!=i&&(r=r.set("extLogin",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserByExtSourceNameAndExtLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("extLogin",t)),null!=e&&(s=s.set("extSourceName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("specificUser",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("loginNamespace",t)),null!=e&&(s=s.set("login",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}loginExist(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserExtSource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("userExtSource",e)),null!=i&&(o=o.set("force",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}requestPreferredEmailChange(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let c=new B.LE({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("email",e)),null!=i&&(c=c.set("lang",i)),null!=n&&(c=c.set("linkPath",n)),null!=s&&(c=c.set("customUrl",s)),null!=o&&(c=c.set("idpFilter",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}reservePasswordForLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}reservePasswordForUser(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}reserveRandomPassword(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}validatePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}validatePreferredEmailChangeWithToken(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t)),null!=e&&(s=s.set("u",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rt=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),at=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new B.WM,this.configuration=new N,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addSponsorRoleToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addSponsorRoleToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createVoWithName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("shortName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findCandidates(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),null!=e&&(o=o.set("searchString",e)),null!=i&&(o=o.set("maxNumOfResults",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}findCandidatesForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("searchString",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getCompleteCandidatesForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)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 B.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("role",e)),i&&i.forEach(t=>{a=a.append("specificAttributes",t)}),null!=n&&(a=a.set("allUserAttributes",n)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getVoAdminGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAdminUsers(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let o=new B.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("role",e)),null!=i&&(o=o.set("onlyDirectAdmins",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("shortName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let n=new B.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSponsorRoleFromUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let s=new B.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let n=new B.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(F,8),s.LFG(N,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var ct,ut,lt,ht;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(ct||(ct={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(ut||(ut={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(lt||(lt={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(ht||(ht={}));let dt=(()=>{class t{constructor(t,e){if(t)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!e)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:t,providers:[{provide:N,useFactory:e}]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12),s.LFG(B.eN,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[K,q,U,Z,G,V,$,W,J,Q,X,tt,et,it,nt,st,ot,rt,at],imports:[[]]}),t})();var pt=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});let ft=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const o of i)n=n.concat(o.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}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(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(pt.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||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(t){return this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],o=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))o="User"===t?[t].concat(o):o.concat(t);break}const r=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,r),c=this.resolveAuthorization(s,r);i.set(n,{readAuth:a,manageAuth:c,modes:o})}}voCustomSort(t){for(let e=0;e{let i;try{i=t()}catch(n){return void e.error(n)}return(i?(0,mt.D)(i):(0,St.c)()).subscribe(e)})}var Et=i(2875),Lt=i(9996),xt=i(4689),Dt=i(611),Rt=i(6163);function zt(...t){const e=t[t.length-1];return(0,Rt.K)(e)?(t.pop(),i=>Ct(t,i,e)):e=>Ct(t,e)}var Pt=i(6673);function It(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Ot(t,e,i))}}class Ot{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Ht(t,this.accumulator,this.seed,this.hasSeed))}}class Ht extends Pt.L{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var Yt=i(7727),Bt=i(436),jt=i(8402);function Ft(t){return function(e){return 0===t?(0,St.c)():e.lift(new Nt(t))}}class Nt{constructor(t){if(this.total=t,this.total<0)throw new jt.W}call(t,e){return e.subscribe(new Kt(t,this.total))}}class Kt extends Pt.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;se.lift(new Xt(t))}class Xt{constructor(t){this.callback=t}call(t,e){return e.subscribe(new te(t,this.callback))}}class te extends Pt.L{constructor(t,e){super(t),this.add(new Jt.w(e))}}class ee{constructor(t,e){this.id=t,this.url=e}}class ie extends ee{constructor(t,e,i="imperative",n=null){super(t,e),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ne extends ee{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class se extends ee{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oe extends ee{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class re extends ee{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ae extends ee{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ce extends ee{constructor(t,e,i,n,s){super(t,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ue extends ee{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends ee{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class he{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class de{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pe{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fe{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class me{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _e{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const we="primary";class ye{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function be(t){return new ye(t)}function Ae(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ve(t,e,i){const n=i.path.split("/");if(n.length>t.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function Ce(t){return Array.prototype.concat.apply([],t)}function Se(t){return t.length>0?t[t.length-1]:null}function Me(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function Ee(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,mt.D)(Promise.resolve(t)):(0,_t.of)(t)}const Le={exact:function t(e,i,n){if(!Ye(e.segments,i.segments))return!1;if(!Pe(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:Re},xe={exact:function(t,e){return ke(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>Te(t[i],e[i]))},ignored:()=>!0};function De(t,e,i){return Le[i.paths](t.root,e.root,i.matrixParams)&&xe[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function Re(t,e,i){return ze(t,e,e.segments,i)}function ze(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!Ye(s,i)&&!e.hasChildren()&&!!Pe(s,i,n)}if(t.segments.length===i.length){if(!Ye(t.segments,i))return!1;if(!Pe(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!Re(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!Ye(t.segments,s)&&!!Pe(t.segments,s,n)&&!!t.children.primary&&ze(t.children.primary,e,o,n)}}function Pe(t,e,i){return e.every((e,n)=>xe[i](t[n].parameters,e.parameters))}class Ie{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap}toString(){return Fe.serialize(this)}}class Oe{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Me(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ne(this)}}class He{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=be(this.parameters)),this._parameterMap}toString(){return $e(this)}}function Ye(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class Be{}class je{parse(t){const e=new ti(t);return new Ie(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Ke(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Ue(e)}=${Ue(t)}`).join("&"):`${Ue(e)}=${Ue(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Fe=new je;function Ne(t){return t.segments.map(t=>$e(t)).join("/")}function Ke(t,e){if(!t.hasChildren())return Ne(t);if(e){const e=t.children.primary?Ke(t.children.primary,!1):"",i=[];return Me(t.children,(t,e)=>{e!==we&&i.push(`${e}:${Ke(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return Me(t.children,(t,n)=>{n===we&&(i=i.concat(e(t,n)))}),Me(t.children,(t,n)=>{n!==we&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>i===we?[Ke(t.children.primary,!1)]:[`${i}:${Ke(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Ne(t)}/${e[0]}`:`${Ne(t)}/(${e.join("//")})`}}function qe(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(t){return qe(t).replace(/%3B/gi,";")}function Ze(t){return qe(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ge(t){return decodeURIComponent(t)}function Ve(t){return Ge(t.replace(/\+/g,"%20"))}function $e(t){return`${Ze(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Ze(t)}=${Ze(e[t])}`).join("")}`;var e}const We=/^[^\/()?;=#]+/;function Je(t){const e=t.match(We);return e?e[0]:""}const Qe=/^[^=?&#]+/,Xe=/^[^?&#]+/;class ti{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new Oe(t,e)),i}parseSegment(){const t=Je(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new He(Ge(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Je(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=Je(this.remaining);t&&(i=t,this.capture(i))}t[Ge(e)]=Ge(i)}parseQueryParam(t){const e=function(t){const e=t.match(Qe);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Xe);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Ve(e),s=Ve(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Je(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=we);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o.primary:new Oe([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class ei{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=ii(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=ii(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=ni(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return ni(t,this._root).map(t=>t.value)}}function ii(t,e){if(t===e.value)return e;for(const i of e.children){const e=ii(t,i);if(e)return e}return null}function ni(t,e){if(t===e.value)return[e];for(const i of e.children){const n=ni(t,i);if(n.length)return n.unshift(e),n}return[]}class si{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function oi(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ri extends ei{constructor(t,e){super(t),this.snapshot=e,di(this,t)}toString(){return this.snapshot.toString()}}function ai(t,e){const i=function(t,e){const i=new li([],{},{},"",{},we,e,null,t.root,-1,{});return new hi("",new si(i,[]))}(t,e),n=new bt([new He("",{})]),s=new bt({}),o=new bt({}),r=new bt({}),a=new bt(""),c=new ci(n,s,r,a,o,we,e,i.root);return c.snapshot=i.root,new ri(new si(c,[]),i)}class ci{constructor(t,e,i,n,s,o,r,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Lt.U)(t=>be(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Lt.U)(t=>be(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ui(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class li{constructor(t,e,i,n,s,o,r,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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=be(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hi extends ei{constructor(t,e){super(e),this.url=t,di(this,e)}toString(){return pi(this._root)}}function di(t,e){e.value._routerState=t,e.children.forEach(e=>di(t,e))}function pi(t){const e=t.children.length>0?` { ${t.children.map(pi).join(", ")} } `:"";return`${t.value}${e}`}function fi(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,ke(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),ke(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;ike(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||gi(t.parent,e.parent))}function mi(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return mi(t,e,n);return mi(t,e)})}(t,e,i);return new si(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return _i(e,t),t}}const i=new ci(new bt((n=e.value).url),new bt(n.params),new bt(n.queryParams),new bt(n.fragment),new bt(n.data),n.outlet,n.component,n),s=e.children.map(e=>mi(t,e));return new si(i,s)}var n}function _i(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Ie(i.root===t?e:Ai(i.root,t,e),o,s)}function Ai(t,e,i){const n={};return Me(t.children,(t,s)=>{n[s]=t===e?i:Ai(t,e,i)}),new Oe(t.segments,n)}class vi{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&wi(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(yi);if(n&&n!==Se(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ki{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function Ti(t,e,i){if(t||(t=new Oe([],{})),0===t.segments.length&&t.hasChildren())return Ci(t,e,i);const n=function(t,e,i){let n=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return o;const e=t.segments[s],r=i[n];if(yi(r))break;const a=`${r}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Li(a,c,e))return o;n+=2}else{if(!Li(a,{},e))return o;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=Ti(t.children[n],e,i))}),Me(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new Oe(t.segments,s)}}function Si(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=Si(new Oe([],{}),0,t))}),e}function Ei(t){const e={};return Me(t,(t,i)=>e[i]=`${t}`),e}function Li(t,e,i){return t==i.path&&ke(e,i.parameters)}class xi{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),fi(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=oi(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),Me(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=oi(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=oi(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new me(t.value.snapshot))}),t.children.length&&this.forwardEvent(new fe(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(fi(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Di(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function Di(t){fi(t.value),t.children.forEach(Di)}class Ri{constructor(t,e){this.routes=t,this.module=e}}function zi(t){return"function"==typeof t}function Pi(t){return t instanceof Ie}const Ii=Symbol("INITIAL_VALUE");function Oi(){return(0,xt.w)(t=>(0,At.aj)(t.map(t=>t.pipe((0,Dt.q)(1),zt(Ii)))).pipe(It((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==Ii)return t;if(n===Ii&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||Pi(n))return n}return t},t)},Ii),(0,gt.h)(t=>t!==Ii),(0,Lt.U)(t=>Pi(t)?t:!0===t),(0,Dt.q)(1)))}let Hi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[In]},encapsulation:2}),t})();function Yi(t,e=""){for(let i=0;iNi(t)===e);return i.push(...t.filter(t=>Ni(t)!==e)),i}const qi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ui(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},qi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||ve)(i,t,e);if(!s)return Object.assign({},qi);const o={};Me(s.posParams,(t,e)=>{o[e]=t.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function Zi(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>Gi(t,e,i)&&Ni(i)!==we)}(t,i,n)){const s=new Oe(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const o of i)if(""===o.path&&Ni(o)!==we){const i=new Oe([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[Ni(o)]=i}return s}(t,e,n,new Oe(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>Gi(t,e,i))}(t,i,n)){const o=new Oe(t.segments,function(t,e,i,n,s,o){const r={};for(const a of n)if(Gi(t,i,a)&&!s[Ni(a)]){const i=new Oe([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===o?t.segments.length:e.length,r[Ni(a)]=i}return Object.assign(Object.assign({},s),r)}(t,e,i,n,t.children,s));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}const o=new Oe(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}function Gi(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function Vi(t,e,i,n){return!!(Ni(t)===n||n!==we&&Gi(e,i,t))&&("**"===t.path||Ui(e,t,i).matched)}function $i(t,e,i){return 0===e.length&&!t.children[i]}class Wi{constructor(t){this.segmentGroup=t||null}}class Ji{constructor(t){this.urlTree=t}}function Qi(t){return new vt.y(e=>e.error(new Wi(t)))}function Xi(t){return new vt.y(e=>e.error(new Ji(t)))}function tn(t){return new vt.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class en{constructor(t,e,i,n,o){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Zi(this.urlTree.root,[],[],this.config).segmentGroup,e=new Oe(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,we).pipe((0,Lt.U)(t=>this.createUrlTree(nn(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yt.K)(t=>{if(t instanceof Ji)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Wi)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,we).pipe((0,Lt.U)(e=>this.createUrlTree(nn(e),t.queryParams,t.fragment))).pipe((0,Yt.K)(t=>{if(t instanceof Wi)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new Oe([],{[we]:t}):t;return new Ie(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe((0,Lt.U)(t=>new Oe([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return(0,mt.D)(n).pipe((0,Bt.b)(n=>{const s=i.children[n],o=Ki(e,n);return this.expandSegmentGroup(t,o,s,n).pipe((0,Lt.U)(t=>({segment:t,outlet:n})))}),It((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?(0,gt.h)((e,i)=>t(e,i,n)):Zt.y,Ft(1),i?(0,Ut.d)(e):(0,qt.T)(()=>new kt.K))}())}expandSegment(t,e,i,n,s,o){return(0,mt.D)(i).pipe((0,Bt.b)(r=>this.expandSegmentAgainstRoute(t,e,i,r,n,s,o).pipe((0,Yt.K)(t=>{if(t instanceof Wi)return(0,_t.of)(null);throw t}))),(0,Gt.P)(t=>!!t),(0,Yt.K)((t,i)=>{if(t instanceof kt.K||"EmptyError"===t.name){if($i(e,n,s))return(0,_t.of)(new Oe([],{}));throw new Wi(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,o,r){return Vi(n,e,s,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o):Qi(e):Qi(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Xi(s):this.lineralizeSegments(i,s).pipe((0,Vt.zg)(i=>{const s=new Oe(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){const{matched:r,consumedSegments:a,lastChild:c,positionalParamSegments:u}=Ui(e,n,s);if(!r)return Qi(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?Xi(l):this.lineralizeSegments(n,l).pipe((0,Vt.zg)(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),o,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,_t.of)(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe((0,Lt.U)(t=>(i._loadedConfig=t,new Oe(n,{})))):(0,_t.of)(new Oe(n,{}));const{matched:o,consumedSegments:r,lastChild:a}=Ui(e,i,n);if(!o)return Qi(e);const c=n.slice(a);return this.getChildConfig(t,i,n).pipe((0,Vt.zg)(t=>{const n=t.module,o=t.routes,{segmentGroup:a,slicedSegments:u}=Zi(e,r,c,o),l=new Oe(a.segments,a.children);if(0===u.length&&l.hasChildren())return this.expandChildren(n,o,l).pipe((0,Lt.U)(t=>new Oe(r,t)));if(0===o.length&&0===u.length)return(0,_t.of)(new Oe(r,{}));const h=Ni(i)===s;return this.expandSegment(n,l,o,u,h?we:s,!0).pipe((0,Lt.U)(t=>new Oe(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?(0,_t.of)(new Ri(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,_t.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe((0,Vt.zg)(i=>i?this.configLoader.load(t.injector,e).pipe((0,Lt.U)(t=>(e._loadedConfig=t,t))):function(t){return new vt.y(e=>e.error(Ae(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,_t.of)(new Ri([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;if(!n||0===n.length)return(0,_t.of)(!0);const s=n.map(n=>{const s=t.get(n);let o;if(function(t){return t&&zi(t.canLoad)}(s))o=s.canLoad(e,i);else{if(!zi(s))throw new Error("Invalid CanLoad guard");o=s(e,i)}return Ee(o)});return(0,_t.of)(s).pipe(Oi(),(0,$t.b)(t=>{if(!Pi(t))return;const e=Ae(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,Lt.U)(t=>!0===t))}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,_t.of)(i);if(n.numberOfChildren>1||!n.children.primary)return tn(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new Ie(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Me(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let o={};return Me(e.children,(e,s)=>{o[s]=this.createSegmentGroup(t,e,i,n)}),new Oe(s,o)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function nn(t){const e={};for(const i of Object.keys(t.children)){const n=nn(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Oe(t.segments.concat(e.segments),e.children)}return t}(new Oe(t.segments,e))}class sn{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class on{constructor(t,e){this.component=t,this.route=e}}function rn(t,e,i){const n=t._root;return cn(n,e?e._root:null,i,[n.value])}function an(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function cn(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=oi(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,r=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Ye(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ye(t.url,e.url)||!ke(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gi(t,e)||!ke(t.queryParams,e.queryParams);case"paramsChange":default:return!gi(t,e)}}(r,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new sn(n)):(o.data=r.data,o._resolvedData=r._resolvedData),cn(t,e,o.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new on(a.outlet.component,r))}else r&&un(e,a,s),s.canActivateChecks.push(new sn(n)),cn(t,null,o.component?a?a.children:null:i,n,s)}(t,o[t.value.outlet],i,n.concat([t.value]),s),delete o[t.value.outlet]}),Me(o,(t,e)=>un(t,i.getContext(e),s)),s}function un(t,e,i){const n=oi(t),s=t.value;Me(n,(t,n)=>{un(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new on(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class ln{}function hn(t){return new vt.y(e=>e.error(t))}class dn{constructor(t,e,i,n,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Zi(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,we);if(null===e)return null;const i=new li([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},we,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new si(i,e),s=new hi(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=ui(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],o=Ki(t,s),r=this.processSegmentGroup(o,n,s);if(null===r)return null;i.push(...r)}const n=fn(i);return n.sort((t,e)=>t.value.outlet===we?-1:e.value.outlet===we?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return $i(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!Vi(t,e,i,n))return null;let s,o=[],r=[];if("**"===t.path){const n=i.length>0?Se(i).parameters:{};s=new li(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_n(t),Ni(t),t.component,t,gn(e),mn(e)+i.length,wn(t))}else{const n=Ui(e,t,i);if(!n.matched)return null;o=n.consumedSegments,r=i.slice(n.lastChild),s=new li(o,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_n(t),Ni(t),t.component,t,gn(e),mn(e)+o.length,wn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=Zi(e,o,r,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new si(s,t)]}if(0===a.length&&0===u.length)return[new si(s,[])];const l=Ni(t)===n,h=this.processSegment(a,c,u,l?we:n);return null===h?null:[new si(s,h)]}}function pn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function fn(t){const e=[],i=new Set;for(const n of t){if(!pn(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=fn(n.children);e.push(new si(n.value,t))}return e.filter(t=>!i.has(t))}function gn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function mn(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function _n(t){return t.data||{}}function wn(t){return t.resolve||{}}function yn(t){return(0,xt.w)(e=>{const i=t(e);return i?(0,mt.D)(i).pipe((0,Lt.U)(()=>e)):(0,_t.of)(e)})}class bn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const An=new s.OlP("ROUTES");class vn{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe((0,Lt.U)(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new Ri(Ce(n.injector.get(An,void 0,s.XFs.Self|s.XFs.Optional)).map(Fi),n)}),(0,Yt.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new Et.c(i,()=>new wt.xQ).pipe((0,Wt.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,mt.D)(this.loader.load(t)):Ee(t()).pipe((0,Vt.zg)(t=>t instanceof s.YKP?(0,_t.of)(t):(0,mt.D)(this.compiler.compileModuleAsync(t))))}}class kn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Tn,this.attachRef=null}}class Tn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new kn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Cn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Sn(t){throw t}function Mn(t,e,i){return e.parse("/")}function En(t,e){return(0,_t.of)(null)}const Ln={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Dn=(()=>{class t{constructor(t,e,i,n,o,r,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new wt.xQ,this.errorHandler=Sn,this.malformedUriErrorHandler=Mn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:En,afterPreactivation:En},this.urlHandlingStrategy=new Cn,this.routeReuseStrategy=new bn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);const u=o.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Ie(new Oe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vn(r,a,t=>this.triggerEvent(new he(t)),t=>this.triggerEvent(new de(t))),this.routerState=ai(this.currentUrlTree,this.rootComponentType),this.transitions=new bt({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()}setupNavigations(t){const e=this.events;return t.pipe((0,gt.h)(t=>0!==t.id),(0,Lt.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,xt.w)(t=>{let i=!1,n=!1;return(0,_t.of)(t).pipe((0,$t.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,xt.w)(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,_t.of)(t).pipe((0,xt.w)(t=>{const i=this.transitions.getValue();return e.next(new ie(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?St.E:Promise.resolve(t)}),(n=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,r=this.config,(0,xt.w)(t=>function(t,e,i,n,s){return new en(t,e,i,n,s).apply()}(n,s,o,t.extractedUrl,r).pipe((0,Lt.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,$t.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return(0,Vt.zg)(o=>function(t,e,i,n,s="emptyOnly",o="legacy"){try{const r=new dn(t,e,i,n,s,o).recognize();return null===r?hn(new ln):(0,_t.of)(r)}catch(r){return hn(r)}}(t,e,o.urlAfterRedirects,i(o.urlAfterRedirects),n,s).pipe((0,Lt.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,$t.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new re(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,o,r;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:o,extras:r}=t,a=new ie(i,this.serializeUrl(n),s,o);e.next(a);const c=ai(n,this.rootComponentType).snapshot;return(0,_t.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},r),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),St.E}),yn(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,$t.b)(t=>{const e=new ae(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,Lt.U)(t=>Object.assign(Object.assign({},t),{guards:rn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,Vt.zg)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:r}}=i;return 0===r.length&&0===o.length?(0,_t.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return(0,mt.D)(t).pipe((0,Vt.zg)(t=>function(t,e,i,n,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,_t.of)(!0);const r=o.map(o=>{const r=an(o,e,s);let a;if(function(t){return t&&zi(t.canDeactivate)}(r))a=Ee(r.canDeactivate(t,e,i,n));else{if(!zi(r))throw new Error("Invalid CanDeactivate guard");a=Ee(r(t,e,i,n))}return a.pipe((0,Gt.P)())});return(0,_t.of)(r).pipe(Oi())}(t.component,t.route,i,e,n)),(0,Gt.P)(t=>!0!==t,!0))}(r,n,s,t).pipe((0,Vt.zg)(i=>i&&"boolean"==typeof i?function(t,e,i,n){return(0,mt.D)(e).pipe((0,Bt.b)(e=>Ct(function(t,e){return null!==t&&e&&e(new pe(t)),(0,_t.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new ge(t)),(0,_t.of)(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Mt(()=>{const s=e.guards.map(s=>{const o=an(s,e.node,i);let r;if(function(t){return t&&zi(t.canActivateChild)}(o))r=Ee(o.canActivateChild(n,t));else{if(!zi(o))throw new Error("Invalid CanActivateChild guard");r=Ee(o(n,t))}return r.pipe((0,Gt.P)())});return(0,_t.of)(s).pipe(Oi())}));return(0,_t.of)(s).pipe(Oi())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,_t.of)(!0);const s=n.map(n=>Mt(()=>{const s=an(n,e,i);let o;if(function(t){return t&&zi(t.canActivate)}(s))o=Ee(s.canActivate(e,t));else{if(!zi(s))throw new Error("Invalid CanActivate guard");o=Ee(s(e,t))}return o.pipe((0,Gt.P)())}));return(0,_t.of)(s).pipe(Oi())}(t,e.route,i))),(0,Gt.P)(t=>!0!==t,!0))}(n,o,t,e):(0,_t.of)(i)),(0,Lt.U)(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,$t.b)(t=>{if(Pi(t.guardsResult)){const e=Ae(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new ce(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,gt.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),yn(t=>{if(t.guards.canActivateChecks.length)return(0,_t.of)(t).pipe((0,$t.b)(t=>{const e=new ue(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,xt.w)(t=>{let e=!1;return(0,_t.of)(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,(0,Vt.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,_t.of)(t);let o=0;return(0,mt.D)(s).pipe((0,Bt.b)(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return(0,_t.of)({});const o={};return(0,mt.D)(s).pipe((0,Vt.zg)(s=>function(t,e,i,n){const s=an(t,e,n);return Ee(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe((0,$t.b)(t=>{o[s]=t}))),Ft(1),(0,Vt.zg)(()=>Object.keys(o).length===s.length?(0,_t.of)(o):St.E))}(t._resolve,t,e,n).pipe((0,Lt.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ui(t,i).resolve),null)))}(t.route,e,i,n)),(0,$t.b)(()=>o++),Ft(1),(0,Vt.zg)(e=>o===s.length?(0,_t.of)(t):St.E))})),(0,$t.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),(0,$t.b)(t=>{const e=new le(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),yn(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,Lt.U)(t=>{const e=function(t,e,i){const n=mi(t,e._root,i?i._root:void 0);return new ri(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,$t.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,r=t=>this.triggerEvent(t),(0,Lt.U)(t=>(new xi(o,t.targetRouterState,t.currentRouterState,r).activate(s),t))),(0,$t.b)({next(){i=!0},complete(){i=!0}}),Qt(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),(0,Yt.K)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=Pi(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new se(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new oe(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(o){t.reject(o)}}var s;return St.E}));var s,o,r}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Yi(t),this.config=t.map(Fi),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:o,preserveFragment:r}=e,a=i||this.routerState.root,c=r?this.currentUrlTree.fragment:s;let u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,i,n,s){if(0===i.length)return bi(e.root,e.root,e,n,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new vi(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return Me(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new vi(i,e,n)}(i);if(o.toRoot())return bi(e.root,new Oe([],{}),e,n,s);const r=function(t,e,i){if(t.isAbsolute)return new ki(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new ki(t,t===e.root,0)}const n=wi(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,o=i;for(;o>s;){if(o-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new ki(n,!1,s-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(o,e,t),a=r.processChildren?Ci(r.segmentGroup,r.index,o.commands):Ti(r.segmentGroup,r.index,o.commands);return bi(r.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,u,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=Pi(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new ne(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==e&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===t.toString();if(r&&a)return Promise.resolve(!0);let c,u,l;s?(c=s.resolve,u=s.reject,l=s.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new se(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Be),s.LFG(Tn),s.LFG(n.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Rn=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new wt.xQ,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:Pn(this.skipLocationChange),replaceUrl:Pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Pn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dn),s.Y36(ci),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),zn=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new wt.xQ,this.subscription=t.events.subscribe(t=>{t instanceof ne&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:Pn(this.skipLocationChange),replaceUrl:Pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Pn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dn),s.Y36(ci),s.Y36(n.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function Pn(t){return""===t||!!t}let In=(()=>{class t{constructor(t,e,i,n,o){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=n||we,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new On(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Tn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class On{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===ci?this.route:t===Tn?this.childContexts:this.parent.get(t,e)}}class Hn{}class Yn{preload(t,e){return(0,_t.of)(null)}}let Bn=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new vn(e,i,e=>t.triggerEvent(new he(e)),e=>t.triggerEvent(new de(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,gt.h)(t=>t instanceof ne),(0,Bt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return(0,mt.D)(i).pipe((0,Tt.J)(),(0,Lt.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,_t.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,Vt.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Hn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),jn=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof ie?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ne&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof _e&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new _e(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dn),s.LFG(n.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Fn=new s.OlP("ROUTER_CONFIGURATION"),Nn=new s.OlP("ROUTER_FORROOT_GUARD"),Kn=[n.Ye,{provide:Be,useClass:je},{provide:Dn,useFactory:function(t,e,i,n,s,o,r,a={},c,u){const l=new Dn(null,t,e,i,n,s,o,Ce(r));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,l),a.enableTracing&&l.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[Be,Tn,n.Ye,s.zs3,s.v3s,s.Sil,An,Fn,[class{},new s.FiY],[class{},new s.FiY]]},Tn,{provide:ci,useFactory:function(t){return t.routerState.root},deps:[Dn]},{provide:s.v3s,useClass:s.EAV},Bn,Yn,class{preload(t,e){return e().pipe((0,Yt.K)(()=>(0,_t.of)(null)))}},{provide:Fn,useValue:{enableTracing:!1}}];function qn(){return new s.PXZ("Router",Dn)}let Un=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[Kn,$n(e),{provide:Nn,useFactory:Vn,deps:[[Dn,new s.FiY,new s.tp0]]},{provide:Fn,useValue:i||{}},{provide:n.S$,useFactory:Gn,deps:[n.lw,[new s.tBr(n.mr),new s.FiY],Fn]},{provide:jn,useFactory:Zn,deps:[Dn,n.EM,Fn]},{provide:Hn,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:Yn},{provide:s.PXZ,multi:!0,useFactory:qn},[Wn,{provide:s.ip1,multi:!0,useFactory:Jn,deps:[Wn]},{provide:Xn,useFactory:Qn,deps:[Wn]},{provide:s.tb,multi:!0,useExisting:Xn}]]}}static forChild(e){return{ngModule:t,providers:[$n(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Nn,8),s.LFG(Dn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Zn(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new jn(t,e,i)}function Gn(t,e,i={}){return i.useHash?new n.Do(t,e):new n.b0(t,e)}function Vn(t){return"guarded"}function $n(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:An,multi:!0,useValue:t}]}let Wn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new wt.xQ}appInitializer(){return this.injector.get(n.V_,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(Dn),n=this.injector.get(Fn);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?(0,_t.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Fn),i=this.injector.get(Bn),n=this.injector.get(jn),o=this.injector.get(Dn),r=this.injector.get(s.z2F);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Jn(t){return t.appInitializer.bind(t)}function Qn(t){return t.bootstrapListener.bind(t)}const Xn=new s.OlP("Router Initializer"),ts=13,es=27,is=32,ns=37,ss=38,os=39,rs=40;function as(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var cs=i(7701);function us(t){return null!=t&&"false"!=`${t}`}function ls(t,e=0){return hs(t)?Number(t):e}function hs(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ds(t){return Array.isArray(t)?t:[t]}function ps(t){return null==t?"":"string"==typeof t?t:`${t}px`}function fs(t){return t instanceof s.SBq?t.nativeElement:t}let gs;try{gs="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(mx){gs=!1}let ms,_s=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,n.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&&!gs)&&"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 t.\u0275fac=function(e){return new(e||t)(s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.Lbi))},token:t,providedIn:"root"}),t})(),ws=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const ys=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bs(){if(ms)return ms;if("object"!=typeof document||!document)return ms=new Set(ys),ms;let t=document.createElement("input");return ms=new Set(ys.filter(e=>(t.setAttribute("type",e),t.type===e))),ms}let As,vs,ks,Ts;function Cs(t){return function(){if(null==As&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>As=!0}))}finally{As=As||!1}return As}()?t:!!t.capture}function Ss(){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 t=Element.prototype.scrollTo;ks=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return ks}function Ms(){if("object"!=typeof document||!document)return 0;if(null==vs){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),vs=0,0===t.scrollLeft&&(t.scrollLeft=1,vs=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return vs}function Es(t){if(function(){if(null==Ts){const t="undefined"!=typeof document?document.head:null;Ts=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Ts}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Ls(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}let xs=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Ds=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=fs(t);return new vt.y(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new wt.xQ,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(xs))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(xs))},token:t,providedIn:"root"}),t})(),Rs=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=us(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=ls(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,cs.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ds),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),zs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[xs]}),t})();function Ps(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const Is="cdk-describedby-message-container",Os="cdk-describedby-host";let Hs=0;const Ys=new Map;let Bs=null,js=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=Fs(e,i);"string"!=typeof e?(Ns(e),Ys.set(n,{messageElement:e,referenceCount:0})):Ys.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=Fs(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=Ys.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}Bs&&0===Bs.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=Ys.get(e);!function(t,e,i){const n=Ps(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute(Os,""),i.referenceCount++}_removeMessageReference(t,e){const i=Ys.get(e);i.referenceCount--,function(t,e,i){const n=Ps(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute(Os)}_isElementDescribedByMessage(t,e){const i=Ps(t,"aria-describedby"),n=Ys.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();function Fs(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function Ns(t){t.id||(t.id="cdk-describedby-message-"+Hs++)}class Ks{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new wt.xQ,this._typeaheadSubscription=Jt.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new wt.xQ,this.change=new wt.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,$t.b)(t=>this._pressedLetters.push(t)),(0,cs.b)(t),(0,gt.h)(()=>this._pressedLetters.length>0),(0,Lt.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case rs:if(this._vertical&&i){this.setNextItemActive();break}return;case ss:if(this._vertical&&i){this.setPreviousItemActive();break}return;case os:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ns:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||as(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class qs extends Ks{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Us extends Ks{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Zs=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(mx){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===Vs(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=Vs(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Gs(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_s))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_s))},token:t,providedIn:"root"}),t})();function Gs(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Vs(t){if(!Gs(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class $s{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,Dt.q)(1)).subscribe(t)}}let Ws=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new $s(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Zs),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(Zs),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),Js=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=us(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=us(t)}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(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ls(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Ws),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();"undefined"!=typeof Element&∈const Qs=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Xs=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let to=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),i=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e,i,n){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=i,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(to),s.Y36(Ds),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function io(t){return 0===t.buttons}function no(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const so=new s.OlP("cdk-focus-monitor-default-options"),oo=Cs({passive:!0,capture:!0});let ro=(()=>{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=io(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{no(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=ao(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=ao(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=fs(t);if(!this._platform.isBrowser||1!==i.nodeType)return(0,_t.of)(null);const n=Es(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new wt.xQ,rootNode:n};return this._elementInfo.set(i,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=fs(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=fs(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=ao(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===ao(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,oo),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,oo)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,oo),t.addEventListener("mousedown",this._documentMousedownListener,oo),t.addEventListener("touchstart",this._documentTouchstartListener,oo),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,oo),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,oo),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,oo),t.removeEventListener("mousedown",this._documentMousedownListener,oo),t.removeEventListener("touchstart",this._documentTouchstartListener,oo),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(_s),s.LFG(n.K0,8),s.LFG(so,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(_s),s.LFG(n.K0,8),s.LFG(so,8))},token:t,providedIn:"root"}),t})();function ao(t){return t.composedPath?t.composedPath()[0]:t.target}let co=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(ro))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const uo="cdk-high-contrast-black-on-white",lo="cdk-high-contrast-white-on-black",ho="cdk-high-contrast-active";let po=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove(ho),t.remove(uo),t.remove(lo),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(ho),t.add(uo)):2===e&&(t.add(ho),t.add(lo))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_s),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_s),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),fo=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(po))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ws,zs]]}),t})();const go=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,s.f3M)(n.K0)}});let mo=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.vpe,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(go,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(go,8))},token:t,providedIn:"root"}),t})(),_o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const wo=new s.GfV("12.0.5");class yo{}const bo="*";function Ao(t,e){return{type:7,name:t,definitions:e,options:{}}}function vo(t,e=null){return{type:4,styles:e,timings:t}}function ko(t,e=null){return{type:3,steps:t,options:e}}function To(t,e=null){return{type:2,steps:t,options:e}}function Co(t){return{type:6,styles:t,offset:null}}function So(t,e,i){return{type:0,name:t,styles:e,options:i}}function Mo(t){return{type:5,steps:t}}function Eo(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function Lo(t=null){return{type:9,options:t}}function xo(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function Do(t){Promise.resolve(null).then(t)}class Ro{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Do(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class zo{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?Do(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Po(){return"undefined"!=typeof window&&void 0!==window.document}function Io(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Oo(t){switch(t.length){case 0:return new Ro;case 1:return t[0];default:return new zo(t)}}function Ho(t,e,i,n,s={},o={}){const r=[],a=[];let c=-1,u=null;if(n.forEach(t=>{const i=t.offset,n=i==c,l=n&&u||{};Object.keys(t).forEach(i=>{let n=i,a=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,r),a){case"!":a=s[i];break;case bo:a=o[i];break;default:a=e.normalizeStyleValue(i,n,a,r)}l[n]=a}),n||a.push(l),u=l,c=i}),r.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${r.join(t)}`)}return a}function Yo(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Bo(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Bo(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Bo(i,"destroy",t)))}}function Bo(t,e,i){const n=i.totalTime,s=jo(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),o=t._data;return null!=o&&(s._data=o),s}function jo(t,e,i,n,s="",o=0,r){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:o,disabled:!!r}}function Fo(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function No(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Ko=(t,e)=>!1,qo=(t,e)=>!1,Uo=(t,e,i)=>[];const Zo=Io();(Zo||"undefined"!=typeof Element)&&(Ko=Po()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),qo=(()=>{if(Zo||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):qo}})(),Uo=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let tr=(()=>{class t{validateStyleProperty(t){return $o(t)}matchesElement(t,e){return Wo(t,e)}containsElement(t,e){return Jo(t,e)}query(t,e,i){return Qo(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,o=[],r){return new Ro(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),er=(()=>{class t{}return t.NOOP=new tr,t})();const ir="ng-enter",nr="ng-leave",sr="ng-trigger",or=".ng-trigger",rr="ng-animating",ar=".ng-animating";function cr(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ur(parseFloat(e[1]),e[2])}function ur(t,e){switch(e){case"s":return 1e3*t;default:return t}}function lr(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,o="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=ur(parseFloat(i[1]),i[2]);const r=i[3];null!=r&&(s=ur(parseFloat(r),i[4]));const a=i[5];a&&(o=a)}else n=t;if(!i){let i=!1,o=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:o}}(t,e,i)}function hr(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function dr(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else hr(t,i);return i}function pr(t,e,i){return i?e+":"+i+";":""}function fr(t){let e="";for(let i=0;i{const s=kr(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),Io()&&fr(t))}function mr(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=kr(e);t.style[i]=""}),Io()&&fr(t))}function _r(t){return Array.isArray(t)?1==t.length?t[0]:To(t):t}const wr=new RegExp("{{\\s*(.+?)\\s*}}","g");function yr(t){let e=[];if("string"==typeof t){let i;for(;i=wr.exec(t);)e.push(i[1]);wr.lastIndex=0}return e}function br(t,e,i){const n=t.toString(),s=n.replace(wr,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function Ar(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const vr=/-+([a-z0-9])/g;function kr(t){return t.replace(vr,(...t)=>t[1].toUpperCase())}function Tr(t,e){return 0===t||0===e}function Cr(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let o=e[0],r=[];if(n.forEach(t=>{o.hasOwnProperty(t)||r.push(t),o[t]=i[t]}),r.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],o=n[2],r=n[3];e.push(Rr(s,r)),"<"!=o[0]||s==Er&&r==Er||e.push(Rr(r,s))}(t,i,e)):i.push(t),i}const xr=new Set(["true","1"]),Dr=new Set(["false","0"]);function Rr(t,e){const i=xr.has(t)||Dr.has(t),n=xr.has(e)||Dr.has(e);return(s,o)=>{let r=t==Er||t==s,a=e==Er||e==o;return!r&&i&&"boolean"==typeof s&&(r=s?xr.has(t):Dr.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?xr.has(e):Dr.has(e)),r&&a}}const zr=new RegExp("s*:selfs*,?","g");function Pr(t,e,i){return new Ir(t).build(e,i)}class Ir{constructor(t){this._driver=t}build(t,e){const i=new Or(e);return this._resetContextStyleTimingState(i),Sr(this,_r(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,o.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=n||{};if(i.styles.forEach(t=>{if(Hr(t)){const e=t;Object.keys(e).forEach(t=>{yr(e[t]).forEach(t=>{o.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=Ar(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Sr(this,_r(t.animation),e);return{type:1,matchers:Lr(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Yr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Sr(this,t,e)),options:Yr(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Sr(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:Yr(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return Br(lr(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Br(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||lr(n,e),Br(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:Co({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};i.easing&&(t.easing=i.easing),s=Co(t)}e.currentTime+=i.duration+i.delay;const r=this.visitStyle(s,e);r.isEmptyStep=o,n=r}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==bo?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(Hr(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],r=o[i];let a=!0;r&&(s!=n&&s>=r.startTime&&n<=r.endTime&&(e.errors.push(`The CSS property "${i}" 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 "${s}ms" and "${n}ms"`),a=!1),s=r.startTime),a&&(o[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=yr(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let o=!1,r=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Hr(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Hr(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),u=0;return null!=c&&(n++,u=i.offset=c),r=r||u<0||u>1,o=o||u0&&n{const o=l>0?n==h?1:l*n:s[n],r=o*f;e.currentTime=d+p.delay+r,p.duration=r,this._validateStyleAst(t,e),t.offset=o,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Sr(this,_r(t.animation),e),options:Yr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Yr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Yr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(zr,"")),[t=t.replace(/@\*/g,or).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,ar),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Fo(e.collectedStyles,e.currentQuerySelector,{});const r=Sr(this,_r(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:r,originalSelector:t.selector,options:Yr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:lr(t.timings,e.errors,!0);return{type:12,animation:Sr(this,_r(t.animation),e),timings:i,options:null}}}class Or{constructor(t){this.errors=t,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 Hr(t){return!Array.isArray(t)&&"object"==typeof t}function Yr(t){var e;return t?(t=hr(t)).params&&(t.params=(e=t.params)?hr(e):null):t={},t}function Br(t,e,i){return{duration:t,delay:e,easing:i}}function jr(t,e,i,n,s,o,r=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class Fr{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Nr=new RegExp(":enter","g"),Kr=new RegExp(":leave","g");function qr(t,e,i,n,s,o={},r={},a,c,u=[]){return(new Ur).buildKeyframes(t,e,i,n,s,o,r,a,c,u)}class Ur{buildKeyframes(t,e,i,n,s,o,r,a,c,u=[]){c=c||new Fr;const l=new Gr(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),Sr(this,i,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(r).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([r],null,l.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[jr(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?cr(i.duration):null,o=null!=i.delay?cr(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,o);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Sr(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Zr);const t=cr(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Sr(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?cr(t.options.delay):0;t.steps.forEach(o=>{const r=e.createSubContext(t.options);s&&r.delayNextStep(s),Sr(this,o,r),n=Math.max(n,r.currentTimeline.currentTime),i.push(r.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return lr(e.params?br(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,o=e.createSubContext().currentTimeline;o.easing=i.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*s),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?cr(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Zr);let o=i;const r=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=r.length;let a=null;r.forEach((i,n)=>{e.currentQueryIndex=n;const r=e.createSubContext(t.options,i);s&&r.delayNextStep(s),i===e.element&&(a=r.currentTimeline),Sr(this,t.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),r=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;Sr(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const Zr={};class Gr{constructor(t,e,i,n,s,o,r,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Vr(this._driver,e,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=cr(i.duration)),null!=i.delay&&(n.delay=cr(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=br(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new Gr(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=Zr,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new $r(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,o){let r=[];if(n&&r.push(this.element),t.length>0){t=(t=t.replace(Nr,"."+this._enterClassName)).replace(Kr,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),r.push(...e)}return s||0!=r.length||o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),r}}class Vr{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Vr(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||bo,this._currentKeyframe[t]=bo}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},o=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]=bo})):dr(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=br(o[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:bo),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,o)=>{const r=dr(s,!0);Object.keys(r).forEach(i=>{const n=r[i];"!"==n?t.add(i):n==bo&&e.add(i)}),i||(r.offset=o/this.duration),n.push(r)});const s=t.size?Ar(t.values()):[],o=e.size?Ar(e.values()):[];if(i){const t=n[0],e=hr(t);t.offset=0,e.offset=1,n=[t,e]}return jr(this.element,n,s,o,this.duration,this.startTime,this.easing,!1)}}class $r extends Vr{constructor(t,e,i,n,s,o,r=!1){super(t,e,o.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,r=e/o,a=dr(t[0],!1);a.offset=0,s.push(a);const c=dr(t[0],!1);c.offset=Wr(r),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let r=dr(t[n],!1);r.offset=Wr((e+r.offset*i)/o),s.push(r)}i=o,e=0,n="",t=s}return jr(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function Wr(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Jr{}class Qr extends Jr{normalizePropertyName(t,e){return kr(t)}normalizeStyleValue(t,e,i,n){let s="";const o=i.toString().trim();if(Xr[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return o+s}}const Xr=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 ta(t,e,i,n,s,o,r,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:o,toState:n,toStyles:r,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const ea={};class ia{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],o=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,n,s,o,r,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||ea,d=this.buildStyles(i,r&&r.params||ea,l),p=a&&a.params||ea,f=this.buildStyles(n,p,l),g=new Set,m=new Map,_=new Map,w="void"===n,y={params:Object.assign(Object.assign({},h),p)},b=u?[]:qr(t,e,this.ast.animation,s,o,d,f,y,c,l);let A=0;if(b.forEach(t=>{A=Math.max(t.duration+t.delay,A)}),l.length)return ta(e,this._triggerName,i,n,w,d,f,[],[],m,_,A,l);b.forEach(t=>{const i=t.element,n=Fo(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=Fo(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&g.add(i)});const v=Ar(g.values());return ta(e,this._triggerName,i,n,w,d,f,b,v,m,_,A)}}class na{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=hr(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let o=s[t];o.length>1&&(o=br(o,n,e)),i[t]=o})}}),i}}class sa{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new na(t.style,t.options&&t.options.params||{})}),oa(this.states,"true","1"),oa(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new ia(t,e,this.states))}),this.fallbackTransition=new ia(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function oa(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const ra=new Fr;class aa{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=Pr(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=Ho(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let o;const r=new Map;if(s?(o=qr(this._driver,e,s,ir,nr,{},{},i,ra,n),o.forEach(t=>{const e=Fo(r,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),o=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);r.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,bo)})});const a=Oo(o.map(t=>{const e=r.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=jo(e,"","","");return Yo(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const ca="ng-animate-queued",ua="ng-animate-disabled",la=".ng-animate-disabled",ha=[],da={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class fa{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=hr(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const ga="void",ma=new fa(ga);class _a{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ta(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const o=Fo(this._elementListeners,t,[]),r={name:e,phase:i,callback:n};o.push(r);const a=Fo(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Ta(t,sr),Ta(t,"ng-trigger-"+e),a[e]=ma),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(r);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),o=new ya(this.id,e,t);let r=this._engine.statesByElement.get(t);r||(Ta(t,sr),Ta(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,r={}));let a=r[e];const c=new fa(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),r[e]=c,a||(a=ma),c.value!==ga&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{mr(t,i),gr(t,n)})}return}const u=Fo(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Ta(t,ca),o.onStart(()=>{Ca(t,ca)})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(o);t>=0&&i.splice(t,1)}}),this.players.push(o),u.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,or,!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const o=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,ga,n);i&&o.push(i)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Oo(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const o=this._triggers[s].fallbackTransition,r=i[s]||ma,a=new fa(ga),c=new ya(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:o,fromState:r,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==da||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Ta(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(e=>{if(e.name==i.triggerName){const n=jo(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,Yo(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class wa{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new _a(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ta(t,ua)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ca(t,ua))}removeNode(t,e,i,n){if(ba(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return ba(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,or,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,ar,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Oo(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=da,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,la)&&this.markElementAsDisabled(t,!1),this.driver.query(t,la,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Oo(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new Fr,n=[],s=new Map,o=[],r=new Map,a=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i=ir+f++;p.set(e,i),t.forEach(t=>Ta(t,i))});const g=[],m=new Set,_=new Set;for(let x=0;xm.add(t)):_.add(t))}const w=new Map,y=ka(h,Array.from(m));y.forEach((t,e)=>{const i=nr+f++;w.set(e,i),t.forEach(t=>Ta(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=p.get(e);t.forEach(t=>Ca(t,i))}),y.forEach((t,e)=>{const i=w.get(e);t.forEach(t=>Ca(t,i))}),g.forEach(t=>{this.processLeaveNode(t)})});const b=[],A=[];for(let x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(b.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!l||!this.driver.containsElement(l,s),h=w.get(s),d=p.get(s),f=this._buildInstruction(t,i,d,h,u);if(f.errors&&f.errors.length)A.push(f);else{if(u)return e.onStart(()=>mr(s,f.fromStyles)),e.onDestroy(()=>gr(s,f.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>mr(s,f.fromStyles)),e.onDestroy(()=>gr(s,f.toStyles)),void n.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>Fo(r,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=a.get(e);t||a.set(e,t=new Set),i.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=c.get(e);n||c.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(A.length){const t=[];A.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),b.forEach(t=>t.destroy()),this.reportError(t)}const v=new Map,k=new Map;o.forEach(t=>{const e=t.element;i.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,v))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Fo(v,e,[]).push(t),t.destroy()})});const T=g.filter(t=>Ea(t,a,c)),C=new Map;va(C,this.driver,_,c,bo).forEach(t=>{Ea(t,a,c)&&T.push(t)});const S=new Map;d.forEach((t,e)=>{va(S,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=C.get(t),i=S.get(t);C.set(t,Object.assign(Object.assign({},e),i))});const M=[],E=[],L={};o.forEach(t=>{const{element:e,player:o,instruction:r}=t;if(i.has(e)){if(u.has(e))return o.onDestroy(()=>gr(e,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void n.push(o);let t=L;if(k.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=k.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>k.set(e,t))}const i=this._buildAnimation(o.namespaceId,r,v,s,S,C);if(o.setRealPlayer(i),t===L)M.push(o);else{const e=this.playersByElement.get(t);e&&e.length&&(o.parentPlayer=Oo(e)),n.push(o)}}else mr(e,r.fromStyles),o.onDestroy(()=>gr(e,r.toStyles)),E.push(o),u.has(e)&&n.push(o)}),E.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=Oo(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let x=0;x!t.destroyed);n.length?Sa(this,t,n):this.processLeaveNode(t)}return g.length=0,M.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),M}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==ga;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&o.push(e)})}}return(i||n)&&(o=o.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),o}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const t=r.element,a=t!==n,c=Fo(i,t,[]);this._getPreviousPlayers(t,a,s,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}mr(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,o){const r=e.triggerName,a=e.element,c=[],u=new Set,l=new Set,h=e.timelines.map(e=>{const h=e.element;u.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Ro(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Ma(t,e),e}((i.get(h)||ha).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=o.get(h),_=Ho(0,this._normalizer,0,e.keyframes,g,m),w=this._buildPlayer(e,_,f);if(e.subTimeline&&n&&l.add(h),p){const e=new ya(t,r,h);e.setRealPlayer(w),c.push(e)}return w});c.forEach(t=>{Fo(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),u.forEach(t=>Ta(t,rr));const d=Oo(h);return d.onDestroy(()=>{u.forEach(t=>Ca(t,rr)),gr(a,e.toStyles)}),l.forEach(t=>{Fo(n,t,[]).push(d)}),d}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ro(t.duration,t.delay)}}class ya{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ro,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>Yo(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Fo(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function ba(t){return t&&1===t.nodeType}function Aa(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function va(t,e,i,n,s){const o=[];i.forEach(t=>o.push(Aa(t)));const r=[];n.forEach((i,n)=>{const o={};i.forEach(t=>{const i=o[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=pa,r.push(n))}),t.set(n,o)});let a=0;return i.forEach(t=>Aa(t,o[a++])),r}function ka(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function o(t){if(!t)return 1;let e=s.get(t);if(e)return e;const r=t.parentNode;return e=i.has(r)?r:n.has(r)?1:o(r),s.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&i.get(e).push(t)}),i}function Ta(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Ca(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function Sa(t,e,i){Oo(i).onDone(()=>t.processLeaveNode(e))}function Ma(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class La{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new wa(t,e,i),this._timelineEngine=new aa(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const o=t+"-"+n;let r=this._triggerCache[o];if(!r){const t=[],e=Pr(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);r=function(t,e){return new sa(t,e)}(n,e),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(e,n,r)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=No(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=No(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function xa(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Ra(e[0]),e.length>1&&(n=Ra(e[e.length-1]))):e&&(i=Ra(e)),i||n?new Da(t,i,n):null}let Da=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&gr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gr(this._element,this._initialStyles),this._endStyles&&(gr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(mr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(mr(this._element,this._endStyles),this._endStyles=null),gr(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Ra(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=Na(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ja(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=Na(t,"").split(","),n=Ba(i,e);n>=0&&(i.splice(n,1),Fa(t,"",i.join(",")))}(this._element,this._name))}}function Ha(t,e,i){Fa(t,"PlayState",i,Ya(t,e))}function Ya(t,e){const i=Na(t,"");return i.indexOf(",")>0?Ba(i.split(","),e):Ba([i],e)}function Ba(t,e){for(let i=0;i=0)return i;return-1}function ja(t,e,i){i?t.removeEventListener(Ia,e):t.addEventListener(Ia,e)}function Fa(t,e,i,n){const s=Pa+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function Na(t,e){return t.style[Pa+e]||""}class Ka{constructor(t,e,i,n,s,o,r,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Oa(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:Mr(this.element,i))})}this.currentSnapshot=t}}class qa extends Ro{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Xo(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Ua{constructor(){this._count=0}validateStyleProperty(t){return $o(t)}matchesElement(t,e){return Wo(t,e)}containsElement(t,e){return Jo(t,e)}query(t,e,i){return Qo(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>Xo(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const o=document.createElement("style");return o.textContent=n,o}animate(t,e,i,n,s,o=[],r){const a=o.filter(t=>t instanceof Ka),c={};Tr(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=Cr(t,e,c));if(0==i)return new qa(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=xa(t,e),p=new Ka(t,e,l,i,n,s,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class Za{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Mr(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Ga{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Va().toString()),this._cssKeyframesDriver=new Ua}validateStyleProperty(t){return $o(t)}matchesElement(t,e){return Wo(t,e)}containsElement(t,e){return Jo(t,e)}query(t,e,i){return Qo(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,o);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},u=o.filter(t=>t instanceof Za);Tr(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=xa(t,e=Cr(t,e=e.map(t=>dr(t,!1)),c));return new Za(t,e,a,l)}}function Va(){return Po()&&Element.prototype.animate||{}}let $a=(()=>{class t extends yo{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?To(t):t;return Qa(this._renderer,null,e,"register",[i]),new Wa(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class Wa extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Ja(this._id,t,e||{},this._renderer)}}class Ja{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Qa(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Qa(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}const Xa="@",tc="@.disabled";let ec=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new ic("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(o),new nc(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(La),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class ic{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==Xa&&e==tc?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class nc extends ic{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==Xa?"."==e.charAt(1)&&e==tc?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==Xa){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),o="";return s.charAt(0)!=Xa&&([s,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let sc=(()=>{class t extends La{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(er),s.LFG(Jr))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const oc=new s.OlP("AnimationModuleType"),rc=[{provide:yo,useClass:$a},{provide:Jr,useFactory:function(){return new Qr}},{provide:La,useClass:sc},{provide:s.FYo,useFactory:function(t,e,i){return new ec(t,e,i)},deps:[k,La,s.R0b]}],ac=[{provide:er,useFactory:function(){return"function"==typeof Va()?new Ga:new Ua}},{provide:oc,useValue:"BrowserAnimations"},...rc],cc=[{provide:er,useClass:tr},{provide:oc,useValue:"NoopAnimations"},...rc];let uc=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?cc:ac}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:ac,imports:[Y]}),t})();function lc(t,e){if(1&t&&s._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=s.oxw();s.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function hc(t,e){if(1&t&&(s.TgZ(0,"span",5),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij("(",t.group.label,")")}}const dc=["*"];let pc=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),fc=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const gc=new s.GfV("12.0.5"),mc=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let _c=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,s.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&gc.full!==wo.full&&console.warn("The Angular Material version ("+gc.full+") does not match the Angular CDK version ("+wo.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(po),s.LFG(mc,8),s.LFG(n.K0))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_o],_o]}),t})();function wc(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=us(t)}}}function yc(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function bc(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=us(t)}}}function Ac(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?ls(t):this.defaultTabIndex}}}function vc(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new wt.xQ}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function kc(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new vt.y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const Tc=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,s.f3M)(s.soG)}});class Cc{constructor(){this._localeChanges=new wt.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const Sc=new s.OlP("mat-date-formats");let Mc;try{Mc="undefined"!=typeof Intl}catch(mx){Mc=!1}const Ec={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Lc=Rc(31,t=>String(t+1)),xc={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Dc=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Rc(t,e){const i=Array(t);for(let n=0;n{class t extends Cc{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(Mc){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Rc(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return Ec[t]}getDateNames(){if(Mc){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Rc(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Lc}getDayOfWeekNames(t){if(Mc){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Rc(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return xc[t]}getYearName(t){if(Mc){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Mc){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(Dc.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Tc,8),s.LFG(_s))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Pc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Cc,useClass:zc}],imports:[[ws]]}),t})();const Ic={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 Oc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Sc,useValue:Ic}],imports:[[Pc]]}),t})(),Hc=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Yc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function Bc(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let jc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c],_c]}),t})();class Fc{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Nc={enterDuration:450,exitDuration:400},Kc=Cs({passive:!0}),qc=["mousedown","touchstart"],Uc=["mouseup","mouseleave","touchend","touchcancel"];class Zc{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=fs(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},Nc),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const o=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),r=t-n.left,a=e-n.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=r-o+"px",u.style.top=a-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const l=new Fc(this,u,i);return l.state=0,this._activeRipples.add(l),i.persistent||(this._mostRecentTransientRipple=l),this._runTimeoutOutsideZone(()=>{const t=l===this._mostRecentTransientRipple;l.state=1,i.persistent||t&&this._isPointerDown||l.fadeOut()},c),l}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},Nc),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=fs(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(qc))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Uc),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=io(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,Kc)})})}_removeTriggerEvents(){this._triggerElement&&(qc.forEach(t=>{this._triggerElement.removeEventListener(t,this,Kc)}),this._pointerUpEventsRegistered&&Uc.forEach(t=>{this._triggerElement.removeEventListener(t,this,Kc)}))}}const Gc=new s.OlP("mat-ripple-global-options");let Vc=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Zc(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(_s),s.Y36(Gc,8),s.Y36(oc,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),$c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c,ws],_c]}),t})(),Wc=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),Jc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c]]}),t})();const Qc=new s.OlP("MAT_OPTION_PARENT_COMPONENT");class Xc{}const tu=wc(Xc);let eu=0,iu=(()=>{class t extends tu{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+eu++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Qc,8))},t.\u0275dir=s.lG2({type:t,inputs:{label:"label"},features:[s.qOj]}),t})();const nu=new s.OlP("MatOptgroup");let su=0;class ou{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let ru=(()=>{class t{constructor(t,e,i,n){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+su++,this.onSelectionChange=new s.vpe,this._stateChanges=new wt.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=us(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==ts&&t.keyCode!==is||as(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ou(this,t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(void 0),s.Y36(iu))},t.\u0275dir=s.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),au=(()=>{class t extends ru{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Qc,8),s.Y36(nu,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),s.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:dc,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(t,e){1&t&&(s.F$t(),s.YNc(0,lc,1,2,"mat-pseudo-checkbox",0),s.TgZ(1,"span",1),s.Hsn(2),s.qZA(),s.YNc(3,hc,2,1,"span",2),s._UZ(4,"div",3)),2&t&&(s.Q6J("ngIf",e.multiple),s.xp6(3),s.Q6J("ngIf",e.group&&e.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[n.O5,Vc,Wc],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function cu(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),o=0;for(let e=0;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[$c,n.ez,_c,Jc]]}),t})();const lu=["mat-button",""],hu=["*"],du=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class pu{constructor(t){this._elementRef=t}}const fu=yc(wc(bc(pu)));let gu=(()=>{class t extends fu{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of du)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(ro),s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&s.Gf(Vc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s.uIk("disabled",e.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:lu,ngContentSelectors:hu,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(t,e){1&t&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&t&&(s.xp6(2),s.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[Vc],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),mu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[$c,_c],_c]}),t})();var _u=i(8470),wu=i(5024);function yu(t,e,i,n){return(0,wu.m)(i)&&(n=i,i=void 0),n?yu(t,e,i).pipe((0,Lt.U)(t=>(0,_u.k)(t)?n(...t):n(t))):new vt.y(n=>{bu(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function bu(t,e,i,n,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),o=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),o=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),o=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,r=t.length;o0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var ku=i(1098);class Tu extends ku.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),Eu={};function Lu(t){return t in Eu&&(delete Eu[t],!0)}const xu={setImmediate(t){const e=Su++;return Eu[e]=!0,Mu.then(()=>Lu(e)&&t()),e},clearImmediate(t){Lu(t)}};class Du extends Au.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=xu.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(xu.clearImmediate(e),t.scheduled=void 0)}}class Ru extends ku.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++ni.lift(new Ou(t,e))}class Ou{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Hu(t,this.compare,this.keySelector))}}class Hu extends Pt.L{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}var Yu=i(8569),Bu=i(9829),ju=i(6268);class Fu{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Nu(t,this.durationSelector))}}class Nu extends Bu.L{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=(0,ju.D)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Ku(t){return!(0,_u.k)(t)&&t-parseFloat(t)+1>=0}function qu(t=0,e,i){let n=-1;return Ku(e)?n=Number(e)<1?1:Number(e):(0,Rt.K)(e)&&(i=e),(0,Rt.K)(i)||(i=Yu.P),new vt.y(e=>{const s=Ku(t)?t:+t-i.now();return i.schedule(Uu,s,{index:0,period:n,subscriber:e})})}function Uu(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}function Zu(t,e=Yu.P){return i=()=>qu(t,e),function(t){return t.lift(new Fu(i))};var i}function Gu(t){return e=>e.lift(new Vu(t))}class Vu{constructor(t){this.notifier=t}call(t,e){const i=new $u(t),n=(0,ju.D)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class $u extends Bu.L{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class Wu extends Au.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}class Ju extends ku.v{}const Qu=new Ju(Wu);var Xu=i(3103);class tl extends Pt.L{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(tl.dispatch,this.delay,new el(t,this.destination)))}_next(t){this.scheduleMessage(Xu.P.createNext(t))}_error(t){this.scheduleMessage(Xu.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Xu.P.createComplete()),this.unsubscribe()}}class el{constructor(t,e){this.notification=t,this.destination=e}}var il=i(9291);class nl extends wt.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new sl(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let o;if(this.closed)throw new yt.N;if(this.isStopped||this.hasError?o=Jt.w.EMPTY:(this.observers.push(t),o=new il.W(this,t)),n&&t.add(t=new tl(t,n)),e)for(let r=0;re&&(o=Math.max(o,s-e)),o>0&&n.splice(0,o),n}}class sl{constructor(t,e){this.time=t,this.value=e}}function ol(t,e,i){let n;return n=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:n}){let s,o,r=0,a=!1,c=!1;return function(u){r++,s&&!a||(a=!1,s=new nl(t,e,n),o=u.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){c=!0,o=void 0,s.complete()}}));const l=s.subscribe(this);this.add(()=>{r--,l.unsubscribe(),o&&!c&&i&&0===r&&(o.unsubscribe(),o=void 0,s=void 0)})}}(n))}function rl(t){return t&&"function"==typeof t.connect}class al{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,o)=>{let r,a;if(null==t.previousIndex){const s=i(t,n,o);r=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==o?(e.remove(n),a=3):(r=e.get(n),e.move(r,o),a=2);s&&s({context:null==r?void 0:r.context,operation:a,record:t})})}detach(){}}class cl{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new wt.xQ,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let ul=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const ll=new s.OlP("_ViewRepeater");let hl=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new wt.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new vt.y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(Zu(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,_t.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,gt.h)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=fs(e),n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>yu(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(_s),s.LFG(n.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(_s),s.LFG(n.K0,8))},token:t,providedIn:"root"}),t})(),dl=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new wt.xQ,this._elementScrolled=new vt.y(t=>this.ngZone.runOutsideAngular(()=>yu(this.elementRef.nativeElement,"scroll").pipe(Gu(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=Ms()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Ms()?t.left=t.right:1==Ms()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Ss()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",i="right",n=this.elementRef.nativeElement;if("top"==t)return n.scrollTop;if("bottom"==t)return n.scrollHeight-n.clientHeight-n.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==t?t=s?i:e:"end"==t&&(t=s?e:i),s&&2==Ms()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:s&&1==Ms()?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(hl),s.Y36(s.R0b),s.Y36(mo,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),pl=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new wt.xQ,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Zu(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_s),s.LFG(s.R0b),s.LFG(n.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_s),s.LFG(s.R0b),s.LFG(n.K0,8))},token:t,providedIn:"root"}),t})(),fl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_o,ws,fl],_o,fl]}),t})();class ml{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class _l extends ml{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class wl extends ml{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class yl extends ml{constructor(t){super(),this.element=t instanceof s.SBq?t.nativeElement:t}}class bl{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof _l?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof wl?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof yl?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Al extends bl{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let vl=(()=>{class t extends wl{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.qOj]}),t})(),kl=(()=>{class t extends bl{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new s.vpe,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.qOj]}),t})(),Tl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();var Cl=i(1906);class Sl{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new Ml(t,this.predicate,this.inclusive))}}class Ml extends Pt.L{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const El=Ss();class Ll{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=ps(-this._previousScrollPosition.left),t.style.top=ps(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),El&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),El&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class xl{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Dl{enable(){}disable(){}attach(){}}function Rl(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function zl(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class Pl{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Rl(t,[{width:e,height:i,bottom:i,right:e,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 Il=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new Dl,this.close=t=>new xl(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new Ll(this._viewportRuler,this._document),this.reposition=t=>new Pl(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(hl),s.LFG(pl),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(hl),s.LFG(pl),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})();class Ol{constructor(t){if(this.scrollStrategy=new Dl,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Hl{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Yl{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Bl=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),jl=(()=>{class t extends Bl{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),Fl=(()=>{class t extends Bl{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(_s))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0),s.LFG(_s))},token:t,providedIn:"root"}),t})();const Nl="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let Kl=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||Nl){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new wt.xQ,this._outsidePointerEvents=new wt.xQ,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Dt.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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=ps(this._config.width),t.height=ps(this._config.height),t.minWidth=ps(this._config.minWidth),t.minHeight=ps(this._config.minHeight),t.maxWidth=ps(this._config.maxWidth),t.maxHeight=ps(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;ds(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Gu((0,Cl.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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const Ul="cdk-overlay-connected-position-bounding-box",Zl=/([A-Za-z%]+)$/;class Gl{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new wt.xQ,this._resizeSubscription=Jt.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Ul),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(t,o),a=this._getOverlayPoint(r,e,o),c=this._getOverlayFit(a,e,i,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:o,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&Vl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ul),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=Wl(e);let{x:o,y:r}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(o+=a),c&&(r+=c);let u=0-r,l=r+s.height-i.height,h=this._subtractOverflows(s.width,0-o,o+s.width-i.width),d=this._subtractOverflows(s.height,u,l),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,o=$l(this._overlayRef.getConfig().minHeight),r=$l(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=s;return(t.fitsInViewportVertically||null!=o&&o<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=Wl(e),s=this._viewportRect,o=Math.max(t.x+n.width-s.width,0),r=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let u=0,l=0;return u=n.width<=s.width?c||-o:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)u=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:o,left:c,bottom:r,right:u,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=ps(i.height),n.top=ps(i.top),n.bottom=ps(i.bottom),n.width=ps(i.width),n.left=ps(i.left),n.right=ps(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=ps(t)),s&&(n.maxWidth=ps(s))}this._lastBoundingBoxSize=i,Vl(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Vl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Vl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Vl(i,this._getExactOverlayY(e,t,n)),Vl(i,this._getExactOverlayX(e,t,n))}else i.position="static";let r="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),c&&(r+=`translateY(${c}px)`),i.transform=r.trim(),o.maxHeight&&(n?i.maxHeight=ps(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=ps(o.maxWidth):s&&(i.maxWidth="")),Vl(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=ps(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=ps(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:zl(t,i),isOriginOutsideView:Rl(t,i),isOverlayClipped:zl(e,i),isOverlayOutsideView:Rl(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ds(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function Vl(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function $l(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(Zl);return i&&"px"!==i?null:parseFloat(e)}return t||null}function Wl(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class Jl{constructor(t,e,i,n,s,o,r){this._preferredPositions=[],this._positionStrategy=new Gl(i,n,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new Hl(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const Ql="cdk-global-overlay-wrapper";class Xl{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Ql),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:o,maxHeight:r}=i,a=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Ql),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let th=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new Xl}connectedTo(t,e,i){return new Jl(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Gl(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(pl),s.LFG(n.K0),s.LFG(_s),s.LFG(Kl))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(pl),s.LFG(n.K0),s.LFG(_s),s.LFG(Kl))},token:t,providedIn:"root"}),t})(),eh=0,ih=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new Ol(t);return s.direction=s.direction||this._directionality.value,new ql(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+eh++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new Al(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Il),s.LFG(Kl),s.LFG(s._Vd),s.LFG(th),s.LFG(jl),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(n.K0),s.LFG(mo),s.LFG(n.Ye),s.LFG(Fl))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const nh=[{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"}],sh=new s.OlP("cdk-connected-overlay-scroll-strategy");let oh=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),rh=(()=>{class t{constructor(t,e,i,n,o){this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Jt.w.EMPTY,this._attachSubscription=Jt.w.EMPTY,this._detachSubscription=Jt.w.EMPTY,this._positionSubscription=Jt.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new wl(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=us(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=us(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=us(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=us(t)}get push(){return this._push}set push(t){this._push=us(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=nh);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==es||this.disableClose||as(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Ol({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new Sl(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ih),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(sh),s.Y36(mo,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const ah={provide:sh,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let ch=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ih,ah],imports:[[_o,Tl,gl],gl]}),t})();const uh=["underline"],lh=["connectionContainer"],hh=["inputContainer"],dh=["label"];function ph(t,e){1&t&&(s.ynx(0),s.TgZ(1,"div",14),s._UZ(2,"div",15),s._UZ(3,"div",16),s._UZ(4,"div",17),s.qZA(),s.TgZ(5,"div",18),s._UZ(6,"div",15),s._UZ(7,"div",16),s._UZ(8,"div",17),s.qZA(),s.BQk())}function fh(t,e){1&t&&(s.TgZ(0,"div",19),s.Hsn(1,1),s.qZA())}function gh(t,e){if(1&t&&(s.ynx(0),s.Hsn(1,2),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.BQk()),2&t){const t=s.oxw(2);s.xp6(3),s.Oqu(t._control.placeholder)}}function mh(t,e){1&t&&s.Hsn(0,3,["*ngSwitchCase","true"])}function _h(t,e){1&t&&(s.TgZ(0,"span",23),s._uU(1," *"),s.qZA())}function wh(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"label",20,21),s.NdJ("cdkObserveContent",function(){return s.CHM(t),s.oxw().updateOutlineGap()}),s.YNc(2,gh,4,1,"ng-container",12),s.YNc(3,mh,1,0,"ng-content",12),s.YNc(4,_h,2,0,"span",22),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),s.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),s.uIk("for",t._control.id)("aria-owns",t._control.id),s.xp6(2),s.Q6J("ngSwitchCase",!1),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function yh(t,e){1&t&&(s.TgZ(0,"div",24),s.Hsn(1,4),s.qZA())}function bh(t,e){if(1&t&&(s.TgZ(0,"div",25,26),s._UZ(2,"span",27),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function Ah(t,e){if(1&t&&(s.TgZ(0,"div"),s.Hsn(1,5),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState)}}function vh(t,e){if(1&t&&(s.TgZ(0,"div",31),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.Q6J("id",t._hintLabelId),s.xp6(1),s.Oqu(t.hintLabel)}}function kh(t,e){if(1&t&&(s.TgZ(0,"div",28),s.YNc(1,vh,2,2,"div",29),s.Hsn(2,6),s._UZ(3,"div",30),s.Hsn(4,7),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",t.hintLabel)}}const Th=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ch=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Sh=0;const Mh=new s.OlP("MatError");let Eh=(()=>{class t{constructor(t,e){this.id="mat-error-"+Sh++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(s.$8M("aria-live"),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&s.uIk("id",e.id)},inputs:{id:"id"},features:[s._Bn([{provide:Mh,useExisting:t}])]}),t})();const Lh={transitionMessages:Ao("transitionMessages",[So("enter",Co({opacity:1,transform:"translateY(0%)"})),Eo("void => enter",[Co({opacity:0,transform:"translateY(-5px)"}),vo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})(),Dh=0;const Rh=new s.OlP("MatHint");let zh=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+Dh++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(s.uIk("id",e.id)("align",null),s.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[s._Bn([{provide:Rh,useExisting:t}])]}),t})(),Ph=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-label"]]}),t})(),Ih=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const Oh=new s.OlP("MatPrefix"),Hh=new s.OlP("MatSuffix");let Yh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","matSuffix",""]],features:[s._Bn([{provide:Hh,useExisting:t}])]}),t})(),Bh=0;class jh{constructor(t){this._elementRef=t}}const Fh=yc(jh,"primary"),Nh=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Kh=new s.OlP("MatFormField");let qh=(()=>{class t extends Fh{constructor(t,e,i,n,s,o,r,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new wt.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Bh++,this._labelId="mat-form-field-label-"+Bh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=us(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(zt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Gu(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Gu(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Cl.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(zt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(zt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Gu(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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,yu(this._label.nativeElement,"transitionend").pipe((0,Dt.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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=t.children,a=this._getStartEnd(r[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,_c,zs],_c]}),t})();var Zh=i(2056);function Gh(...t){if(1===t.length){const e=t[0];if((0,_u.k)(e))return Vh(e,null);if((0,Zh.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Vh(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Vh(t=1===t.length&&(0,_u.k)(t[0])?t[0]:t,null).pipe((0,Lt.U)(t=>e(...t)))}return Vh(t,null)}function Vh(t,e){return new vt.y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let o=0,r=0;for(let a=0;a{u||(u=!0,r++),s[a]=t},error:t=>i.error(t),complete:()=>{o++,o!==n&&u||(r===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}let $h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t}),t})(),Wh=(()=>{class t extends $h{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const Jh=new s.OlP("NgValueAccessor"),Qh={provide:Jh,useExisting:(0,s.Gpc)(()=>td),multi:!0},Xh=new s.OlP("CompositionEventMode");let td=(()=>{class t extends $h{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Xh,8))},t.\u0275dir=s.lG2({type:t,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(t,e){1&t&&s.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[s._Bn([Qh]),s.qOj]}),t})();function ed(t){return null==t||0===t.length}function id(t){return null!=t&&"number"==typeof t.length}const nd=new s.OlP("NgValidators"),sd=new s.OlP("NgAsyncValidators"),od=/^(?=.{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 rd{static min(t){return function(t){return e=>{if(ed(e.value)||ed(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(ed(e.value)||ed(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return ad(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return ed(t.value)||od.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>ed(e.value)||!id(e.value)?null:e.value.lengthid(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return cd;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(ed(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}(t)}static nullValidator(t){return null}static compose(t){return fd(t)}static composeAsync(t){return md(t)}}function ad(t){return ed(t.value)?{required:!0}:null}function cd(t){return null}function ud(t){return null!=t}function ld(t){const e=(0,s.QGY)(t)?(0,mt.D)(t):t;return(0,s.CqO)(e),e}function hd(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function dd(t,e){return e.map(e=>e(t))}function pd(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function fd(t){if(!t)return null;const e=t.filter(ud);return 0==e.length?null:function(t){return hd(dd(t,e))}}function gd(t){return null!=t?fd(pd(t)):null}function md(t){if(!t)return null;const e=t.filter(ud);return 0==e.length?null:function(t){return Gh(dd(t,e).map(ld)).pipe((0,Lt.U)(hd))}}function _d(t){return null!=t?md(pd(t)):null}function wd(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function yd(t){return t._rawValidators}function bd(t){return t._rawAsyncValidators}let Ad=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=gd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=_d(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})(),vd=(()=>{class t extends Ad{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();class kd extends Ad{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Td{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let Cd=(()=>{class t extends Td{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(kd,2))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[s.qOj]}),t})(),Sd=(()=>{class t extends Td{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(vd,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[s.qOj]}),t})();function Md(t,e){return[...e.path,t]}function Ed(t,e){Dd(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&zd(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&zd(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function Ld(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Rd(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function xd(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Dd(t,e){const i=yd(t);null!==e.validator?t.setValidators(wd(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=bd(t);null!==e.asyncValidator?t.setAsyncValidators(wd(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();xd(e._rawValidators,s),xd(e._rawAsyncValidators,s)}function Rd(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=yd(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=bd(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return xd(e._rawValidators,n),xd(e._rawAsyncValidators,n),i}function zd(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Pd(t,e){Dd(t,e)}function Id(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Od(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Hd(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===td?i=t:Object.getPrototypeOf(t.constructor)===Wh?n=t:s=t}),s||n||i||null}function Yd(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const Bd="VALID",jd="INVALID",Fd="PENDING",Nd="DISABLED";function Kd(t){return(Gd(t)?t.validators:t)||null}function qd(t){return Array.isArray(t)?gd(t):t||null}function Ud(t,e){return(Gd(e)?e.asyncValidators:t)||null}function Zd(t){return Array.isArray(t)?_d(t):t||null}function Gd(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Vd{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=qd(this._rawValidators),this._composedAsyncValidatorFn=Zd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Bd}get invalid(){return this.status===jd}get pending(){return this.status==Fd}get disabled(){return this.status===Nd}get enabled(){return this.status!==Nd}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=qd(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Zd(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Fd,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Nd,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Bd,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Bd&&this.status!==Fd||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nd:Bd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Fd,this._hasOwnPendingAsyncValidator=!0;const e=ld(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof Wd?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof Jd&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?Nd:this.errors?jd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fd)?Fd:this._anyControlsHaveStatus(jd)?jd:Bd}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Gd(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class $d extends Vd{constructor(t=null,e,i){super(Kd(e),Ud(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Yd(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Yd(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Wd extends Vd{constructor(t,e,i){super(Kd(e),Ud(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof $d?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class Jd extends Vd{constructor(t,e,i){super(Kd(e),Ud(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof $d?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Qd={provide:vd,useExisting:(0,s.Gpc)(()=>tp)},Xd=(()=>Promise.resolve(null))();let tp=(()=>{class t extends vd{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new s.vpe,this.form=new Wd({},gd(t),_d(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Xd.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Ed(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Xd.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Yd(this._directives,t)})}addFormGroup(t){Xd.then(()=>{const e=this._findContainer(t.path),i=new Wd({});Pd(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Xd.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Xd.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Od(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(nd,10),s.Y36(sd,10))},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Qd]),s.qOj]}),t})();const ep={provide:kd,useExisting:(0,s.Gpc)(()=>np)},ip=(()=>Promise.resolve(null))();let np=(()=>{class t extends kd{constructor(t,e,i,n){super(),this.control=new $d,this._registered=!1,this.update=new s.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Hd(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Id(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Md(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){Ed(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(t){ip.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;ip.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(vd,9),s.Y36(nd,10),s.Y36(sd,10),s.Y36(Jh,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s._Bn([ep]),s.qOj,s.TTD]}),t})(),sp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),op=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const rp=new s.OlP("NgModelWithFormControlWarning"),ap={provide:kd,useExisting:(0,s.Gpc)(()=>cp)};let cp=(()=>{class t extends kd{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new s.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=Hd(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Ld(e,this,!1),Ed(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Id(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ld(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(nd,10),s.Y36(sd,10),s.Y36(Jh,10),s.Y36(rp,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s._Bn([ap]),s.qOj,s.TTD]}),t._ngModelWarningSentOnce=!1,t})();const up={provide:vd,useExisting:(0,s.Gpc)(()=>lp)};let lp=(()=>{class t extends vd{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Rd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Ed(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Ld(t.control||null,t,!1),Yd(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Od(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Ld(e||null,t),i instanceof $d&&(Ed(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);Pd(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Rd(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dd(this.form,this),this._oldForm&&Rd(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(nd,10),s.Y36(sd,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([up]),s.qOj,s.TTD]}),t})();const hp={provide:kd,useExisting:(0,s.Gpc)(()=>dp)};let dp=(()=>{class t extends kd{constructor(t,e,i,n,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Hd(0,n)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),Id(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Md(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 t.\u0275fac=function(e){return new(e||t)(s.Y36(vd,13),s.Y36(nd,10),s.Y36(sd,10),s.Y36(Jh,10),s.Y36(rp,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([hp]),s.qOj,s.TTD]}),t._ngModelWarningSentOnce=!1,t})();const pp={provide:nd,useExisting:(0,s.Gpc)(()=>fp),multi:!0};let fp=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?ad(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&s.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[s._Bn([pp])]}),t})(),gp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[op]]}),t})(),mp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[gp]}),t})(),_p=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rp,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[gp]}),t})(),wp=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n,s=null,o=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,n=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new Wd(i,{asyncValidators:o,updateOn:n,validators:s})}control(t,e,i){return new $d(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new Jd(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach(i=>{e[i]=this._createControl(t[i])}),e}_createControl(t){return t instanceof $d||t instanceof Wd||t instanceof Jd?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:_p}),t})();const yp=["trigger"],bp=["panel"];function Ap(t,e){if(1&t&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.placeholder)}}function vp(t,e){if(1&t&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.triggerValue)}}function kp(t,e){1&t&&s.Hsn(0,0,["*ngSwitchCase","true"])}function Tp(t,e){if(1&t&&(s.TgZ(0,"span",9),s.YNc(1,vp,2,1,"span",10),s.YNc(2,kp,1,0,"ng-content",11),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngSwitch",!!t.customTrigger),s.xp6(2),s.Q6J("ngSwitchCase",!0)}}function Cp(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"div",14,15),s.NdJ("@transformPanel.done",function(e){return s.CHM(t),s.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)}),s.Hsn(3,1),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("@transformPanelWrap",void 0),s.xp6(1),s.Gre("mat-select-panel ",t._getPanelTheme(),""),s.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),s.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),s.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const Sp=[[["mat-select-trigger"]],"*"],Mp=["mat-select-trigger","*"],Ep={transformPanelWrap:Ao("transformPanelWrap",[Eo("* => void",xo("@transformPanel",[Lo()],{optional:!0}))]),transformPanel:Ao("transformPanel",[So("void",Co({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),So("showing",Co({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),So("showing-multiple",Co({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Eo("void => *",vo("120ms cubic-bezier(0, 0, 0.2, 1)")),Eo("* => void",vo("100ms 25ms linear",Co({opacity:0})))])};let Lp=0;const xp=256,Dp=new s.OlP("mat-select-scroll-strategy"),Rp=new s.OlP("MAT_SELECT_CONFIG"),zp={provide:Dp,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Pp{constructor(t,e){this.source=t,this.value=e}}class Ip{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const Op=bc(Ac(wc(vc(Ip)))),Hp=new s.OlP("MatSelectTrigger");let Yp=(()=>{class t extends Op{constructor(t,e,i,n,o,r,a,c,u,l,h,d,p,f){var g,m,_;super(o,n,a,c,l),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=u,this.ngControl=l,this._liveAnnouncer=p,this._defaultOptions=f,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+Lp++,this._triggerAriaLabelledBy=null,this._destroy=new wt.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Lp++,this._panelDoneAnimatingStream=new wt.xQ,this._overlayPanelClass=(null===(g=this._defaultOptions)||void 0===g?void 0:g.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(_=null===(m=this._defaultOptions)||void 0===m?void 0:m.disableOptionCentering)&&void 0!==_&&_,this.ariaLabel="",this.optionSelectionChanges=Mt(()=>{const t=this.options;return t?t.changes.pipe(zt(t),(0,xt.w)(()=>(0,Cl.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,Dt.q)(1),(0,xt.w)(()=>this.optionSelectionChanges))}),this.openedChange=new s.vpe,this._openedStream=this.openedChange.pipe((0,gt.h)(t=>t),(0,Lt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,gt.h)(t=>!t),(0,Lt.U)(()=>{})),this.selectionChange=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==f?void 0:f.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=f.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=us(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=us(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=us(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=ls(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new cl(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Iu(),Gu(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Gu(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(zt(null),Gu(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=e===rs||e===ss||e===ns||e===os,n=e===ts||e===is,s=this._keyManager;if(!s.isTyping()&&n&&!as(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=i===rs||i===ss,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||i!==ts&&i!==is||!e.activeItem||as(t))if(!s&&this._multiple&&65===i&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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,Dt.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new qs(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Gu(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Gu(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 t=(0,Cl.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Gu(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Cl.T)(...this.options.map(t=>t._stateChanges)).pipe(Gu(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(pl),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(Hc),s.Y36(s.SBq),s.Y36(mo,8),s.Y36(tp,8),s.Y36(lp,8),s.Y36(Kh,8),s.Y36(kd,10),s.$8M("tabindex"),s.Y36(Dp),s.Y36(to),s.Y36(Rp,8))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&(s.Gf(yp,5),s.Gf(bp,5),s.Gf(rh,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.trigger=t.first),s.iGM(t=s.CRH())&&(e.panel=t.first),s.iGM(t=s.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[s.qOj,s.TTD]}),t})(),Bp=(()=>{class t extends Yp{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Gu(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,Dt.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=cu(t,this.options,this.optionGroups),i=this._getItemHeight();var n,s,o;this.panel.nativeElement.scrollTop=(s=i,(n=(t+e)*i)<(o=this.panel.nativeElement.scrollTop)?n:n+s>o+256?Math.max(0,n-256+s):o)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Pp(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const o=0-(t.left+s-(i?n:0)),r=t.right+s-e.width+(i?0:n);o>0?s+=o+8:r>0&&(s-=r+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,o=Math.floor(xp/n);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-o))*n+(n-(this._getItemCount()*n-xp)%n):e-n/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*e,xp)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>n?this._adjustPanelDown(o,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,xp),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=cu(s,this.options,this.optionGroups);const o=i/2;this._scrollTop=this._calculateOverlayScroll(s,o,n),this._offsetY=this._calculateOverlayOffsetY(s,o,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Hp,5),s.Suo(i,au,5),s.Suo(i,nu,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.customTrigger=t.first),s.iGM(t=s.CRH())&&(e.options=t),s.iGM(t=s.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(s.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),s.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[s._Bn([{provide:xh,useExisting:t},{provide:Qc,useExisting:t}]),s.qOj],ngContentSelectors:Mp,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(t,e){if(1&t&&(s.F$t(Sp),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return e.toggle()}),s.TgZ(3,"div",2),s.YNc(4,Ap,2,1,"span",3),s.YNc(5,Tp,3,2,"span",4),s.qZA(),s.TgZ(6,"div",5),s._UZ(7,"div",6),s.qZA(),s.qZA(),s.YNc(8,Cp,4,14,"ng-template",7),s.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=s.MAs(1);s.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),s.xp6(3),s.Q6J("ngSwitch",e.empty),s.uIk("id",e._valueId),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1),s.xp6(3),s.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[oh,n.RF,n.n9,rh,n.ED,n.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[Ep.transformPanelWrap,Ep.transformPanel]},changeDetection:0}),t})(),jp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[zp],imports:[[n.ez,ch,uu,_c],fl,Uh,uu,_c]}),t})();class Fp{constructor(t){this.total=t}call(t,e){return e.subscribe(new Np(t,this.total))}}class Np extends Pt.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const Kp=new Set;let qp,Up=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Zp}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!Kp.has(t))try{qp||(qp=document.createElement("style"),qp.setAttribute("type","text/css"),document.head.appendChild(qp)),qp.sheet&&(qp.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),Kp.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_s))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_s))},token:t,providedIn:"root"}),t})();function Zp(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Gp=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new wt.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Vp(ds(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=Vp(ds(t)).map(t=>this._registerQuery(t).observable);let i=(0,At.aj)(e);return i=Ct(i.pipe((0,Dt.q)(1)),i.pipe(t=>t.lift(new Fp(1)),(0,cs.b)(0))),i.pipe((0,Lt.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new vt.y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe(zt(e),(0,Lt.U)(({matches:e})=>({query:t,matches:e})),Gu(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Up),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(Up),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})();function Vp(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const $p={tooltipState:Ao("state",[So("initial, void, hidden",Co({opacity:0,transform:"scale(0)"})),So("visible",Co({transform:"scale(1)"})),Eo("* => visible",vo("200ms cubic-bezier(0, 0, 0.2, 1)",Mo([Co({opacity:0,transform:"scale(0)",offset:0}),Co({opacity:.5,transform:"scale(0.99)",offset:.5}),Co({opacity:1,transform:"scale(1)",offset:1})]))),Eo("* => hidden",vo("100ms cubic-bezier(0, 0, 0.2, 1)",Co({opacity:0})))])},Wp=Cs({passive:!0}),Jp=new s.OlP("mat-tooltip-scroll-strategy"),Qp={provide:Jp,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},Xp=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let tf=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,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 wt.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===es&&!as(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=h,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(Gu(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=us(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Gu(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,Wp)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new _l(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Gu(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe(Gu(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Gu(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Dt.q)(1),Gu(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,Wp)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ih),s.Y36(s.SBq),s.Y36(hl),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(_s),s.Y36(js),s.Y36(ro),s.Y36(void 0),s.Y36(mo),s.Y36(void 0),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),ef=(()=>{class t extends tf{constructor(t,e,i,n,s,o,r,a,c,u,l,h){super(t,e,i,n,s,o,r,a,c,u,l,h),this._tooltipComponent=sf}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ih),s.Y36(s.SBq),s.Y36(hl),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(_s),s.Y36(js),s.Y36(ro),s.Y36(Jp),s.Y36(mo,8),s.Y36(Xp,8),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),t})(),nf=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new wt.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t}),t})(),sf=(()=>{class t extends nf{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(Gp))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleBodyInteraction()},!1,s.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,s.pYS),2&t&&s.Udp("zoom","visible"===e._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&t){let t;s.ekj("mat-tooltip-handset",null==(t=s.lcZ(1,5,e._isHandset))?null:t.matches),s.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),s.xp6(2),s.Oqu(e.message)}},directives:[n.mk],pipes:[n.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[$p.tooltipState]},changeDetection:0}),t})(),of=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Qp],imports:[[fo,n.ez,ch,_c],_c,fl]}),t})();function rf(t,e){if(1&t&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function af(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",16),s.TgZ(1,"mat-select",17),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw(2)._changePageSize(e.value)}),s.YNc(2,rf,2,2,"mat-option",18),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("appearance",t._formFieldAppearance)("color",t.color),s.xp6(1),s.Q6J("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",t._displayedPageSizeOptions)}}function cf(t,e){if(1&t&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.pageSize)}}function uf(t,e){if(1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,af,3,6,"mat-form-field",14),s.YNc(4,cf,2,1,"div",15),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function lf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(t),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.uIk("aria-label",t._intl.firstPageLabel)}}function hf(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.uIk("aria-label",t._intl.lastPageLabel)}}let df=(()=>{class t{constructor(){this.changes=new wt.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const pf={provide:df,deps:[[new s.FiY,new s.tp0,df]],useFactory:function(t){return t||new df}},ff=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS");class gf{}const mf=wc(kc(gf));let _f=(()=>{class t extends mf{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(ls(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=ls(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(ls(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>ls(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=us(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=us(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(df),s.Y36(s.sBO),s.Y36(void 0))},t.\u0275dir=s.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[s.qOj]}),t})(),wf=(()=>{class t extends _f{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(df),s.Y36(s.sBO),s.Y36(ff,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,uf,5,3,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,lf,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return e.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA(),s.qZA(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return e.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA(),s.qZA(),s.YNc(13,hf,3,5,"button",11),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hidePageSize),s.xp6(3),s.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.xp6(1),s.Q6J("ngIf",e.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.uIk("aria-label",e._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.uIk("aria-label",e._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",e.showFirstLastButtons))},directives:[n.O5,gu,ef,qh,Bp,n.sg,au],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)}\n"],encapsulation:2,changeDetection:0}),t})(),yf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[pf],imports:[[n.ez,mu,jp,of,_c]]}),t})();var bf=i(509);const Af=["mat-menu-item",""],vf=["*"];function kf(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.NdJ("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)})("click",function(){return s.CHM(t),s.oxw().closed.emit("click")})("@transformMenu.start",function(e){return s.CHM(t),s.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return s.CHM(t),s.oxw()._onAnimationDone(e)}),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),s.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Tf={transformMenu:Ao("transformMenu",[So("void",Co({opacity:0,transform:"scale(0.8)"})),Eo("void => enter",vo("120ms cubic-bezier(0, 0, 0.2, 1)",Co({opacity:1,transform:"scale(1)"}))),Eo("* => void",vo("100ms 25ms linear",Co({opacity:0})))]),fadeInItems:Ao("fadeInItems",[So("showing",Co({opacity:1})),Eo("void => *",[Co({opacity:0}),vo("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Cf=new s.OlP("MatMenuContent"),Sf=new s.OlP("MAT_MENU_PANEL");class Mf{}const Ef=bc(wc(Mf));let Lf=(()=>{class t extends Ef{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new wt.xQ,this._focused=new wt.xQ,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new s.n_E,this._tabSubscription=Jt.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new wt.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new s.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Df++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=us(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=us(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Us(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),(0,xt.w)(t=>(0,Cl.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),(0,xt.w)(t=>(0,Cl.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case es:as(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case ns:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case os:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==ss&&e!==rs||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Dt.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(zt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(xf))},t.\u0275dir=s.lG2({type:t,contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Cf,5),s.Suo(i,Lf,5),s.Suo(i,Lf,4)),2&t){let t;s.iGM(t=s.CRH())&&(e.lazyContent=t.first),s.iGM(t=s.CRH())&&(e._allItems=t),s.iGM(t=s.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),zf=(()=>{class t extends Rf{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(xf))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&s.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[s._Bn([{provide:Sf,useExisting:t}]),s.qOj],ngContentSelectors:vf,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,kf,3,6,"ng-template"))},directives:[n.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[Tf.transformMenu,Tf.fadeInItems]},changeDetection:0}),t})();const Pf=new s.OlP("mat-menu-scroll-strategy"),If={provide:Pf,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},Of=Cs({passive:!0});let Hf=(()=>{class t{constructor(t,e,i,n,o,r,a,c){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=r,this._dir=a,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Jt.w.EMPTY,this._hoverSubscription=Jt.w.EMPTY,this._menuCloseSubscription=Jt.w.EMPTY,this._handleTouchStart=t=>{no(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new s.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=o instanceof Rf?o:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Of),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,Of),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Rf&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof Rf?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,gt.h)(t=>"void"===t.toState),(0,Dt.q)(1),Gu(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Ol({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[n,s],[a,c]=[e,i],u=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",u="bottom"===n?8:-8):this.menu.overlapTrigger||(o="top"===n?"bottom":"top",r="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:o,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:o,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:r,overlayX:a,overlayY:s,offsetY:-u},{originX:i,originY:r,overlayX:c,overlayY:s,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,_t.of)(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,gt.h)(t=>t!==this._menuItemInstance),(0,gt.h)(()=>this._menuOpen)):(0,_t.of)();return(0,Cl.T)(t,i,n,e)}_handleMousedown(t){io(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==ts&&e!==is||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===os&&"ltr"===this.dir||e===ns&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,gt.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,bf.g)(0,zu)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Rf&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Dt.q)(1),(0,bf.g)(0,zu),Gu(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new wl(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ih),s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(Pf),s.Y36(Sf,8),s.Y36(Lf,10),s.Y36(mo,8),s.Y36(ro))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&s.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),Yf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[If],imports:[_c]}),t})(),Bf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[If],imports:[[n.ez,_c,$c,ch,Yf],fl,_c,Yf]}),t})();var jf=i(1225),Ff=i(1055);const Nf=["*"];function Kf(t){return Error(`Unable to find icon with the name "${t}"`)}function qf(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Uf(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Zf{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Gf=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new Zf(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,n){const o=this._sanitizer.sanitize(s.q3G.HTML,i);if(!o)throw Uf(i);return this._addSvgIconConfig(t,e,new Zf("",o,n))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new Zf(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(s.q3G.HTML,e);if(!n)throw Uf(e);return this._addSvgIconSetConfig(t,new Zf("",n,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,t);if(!e)throw qf(t);const i=this._cachedIconsByUrl.get(e);return i?(0,_t.of)(Vf(i)):this._loadSvgIconFromConfig(new Zf(t,null)).pipe((0,$t.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,Lt.U)(t=>Vf(t)))}getNamedSvgIcon(t,e=""){const i=$f(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,jf._)(Kf(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,_t.of)(Vf(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Lt.U)(t=>Vf(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?(0,_t.of)(i):Gh(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,Yt.K)(e=>{const i=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),(0,_t.of)(null)})))).pipe((0,Lt.U)(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw Kf(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,$t.b)(e=>t.svgText=e),(0,Lt.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,_t.of)(null):this._fetchIcon(t).pipe((0,$t.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const o=this._svgElementFromString("");return o.appendChild(s),this._setSvgAttributes(o,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),(0,Ff.B)());return this._inProgressUrlFetches.set(r,c),c}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set($f(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),Xf=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tg=Xf.map(t=>`[${t}]`).join(", "),eg=/^url\(['"]?#(.*?)['"]?\)$/;let ig=(()=>{class t extends Jf{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=Jt.w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=us(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(tg),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],o=s.getAttribute(t),r=o?o.match(eg):null;if(r){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:r[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe((0,Dt.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Gf),s.$8M("aria-hidden"),s.Y36(Qf),s.Y36(s.qLn))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),s.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.qOj],ngContentSelectors:Nf,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[".mat-icon{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}),t})(),ng=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c],_c]}),t})();class sg{}let og=(()=>{class t extends sg{getTranslation(t){return(0,_t.of)({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class rg{}let ag=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function cg(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!cg(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{lg(e[n])?n in t?i[n]=hg(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class dg{}let pg=(()=>{class t extends dg{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!ug(t)||!ug(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return ug(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class fg{}let gg=(()=>{class t extends fg{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class mg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new s.vpe,this.onLangChange=new s.vpe,this.onDefaultLangChange=new s.vpe}}const _g=new s.OlP("USE_STORE"),wg=new s.OlP("USE_DEFAULT_LANG"),yg=new s.OlP("DEFAULT_LANGUAGE"),bg=new s.OlP("USE_EXTEND");let Ag=(()=>{class t{constructor(t,e,i,n,o,r=!0,a=!1,c=!1,u){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=n,this.missingTranslationHandler=o,this.useDefaultLang=r,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new s.vpe,this._onLangChange=new s.vpe,this._onDefaultLangChange=new s.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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,Dt.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,_t.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,Dt.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,_t.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(ol(1),(0,Dt.q)(1));return this.loadingTranslations=e.pipe((0,Lt.U)(e=>this.compiler.compileTranslations(e,t)),ol(1),(0,Dt.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?hg(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},s=!1;for(let o of e)n[o]=this.getParsedResult(t,o,i),Pu(n[o])&&(s=!0);return s?Gh(e.map(t=>Pu(n[t])?n[t]:(0,_t.of)(n[t]))).pipe((0,Lt.U)(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i})):n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!ug(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Bt.b)(i=>Pu(i=this.getParsedResult(i,t,e))?i:(0,_t.of)(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return Pu(i)?i:(0,_t.of)(i)}}getStreamOnTranslationChange(t,e){if(!ug(t)||!t.length)throw new Error('Parameter "key" required');return Ct(Mt(()=>this.get(t,e)),this.onTranslationChange.pipe((0,xt.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:(0,_t.of)(n)})))}stream(t,e){if(!ug(t)||!t.length)throw new Error('Parameter "key" required');return Ct(Mt(()=>this.get(t,e)),this.onLangChange.pipe((0,xt.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return Pu(n)?n:(0,_t.of)(n)})))}instant(t,e){if(!ug(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(Pu(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(mg),s.LFG(sg),s.LFG(fg),s.LFG(dg),s.LFG(rg),s.LFG(wg),s.LFG(_g),s.LFG(bg),s.LFG(yg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),vg=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);Pu(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(cg(t,this.lastKey)&&cg(e,this.lastParams))return this.value;let i;if(ug(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Ag,16),s.Y36(s.sBO,16))},t.\u0275pipe=s.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),kg=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:sg,useClass:og},e.compiler||{provide:fg,useClass:gg},e.parser||{provide:dg,useClass:pg},e.missingTranslationHandler||{provide:rg,useClass:ag},mg,{provide:_g,useValue:e.isolate},{provide:wg,useValue:e.useDefaultLang},{provide:bg,useValue:e.extend},{provide:yg,useValue:e.defaultLanguage},Ag]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:sg,useClass:og},e.compiler||{provide:fg,useClass:gg},e.parser||{provide:dg,useClass:pg},e.missingTranslationHandler||{provide:rg,useClass:ag},{provide:_g,useValue:e.isolate},{provide:wg,useValue:e.useDefaultLang},{provide:bg,useValue:e.extend},{provide:yg,useValue:e.defaultLanguage},Ag]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Tg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[],imports:[[yf,Bf,ng,mu,kg,n.ez]]}),t})();function Cg(t,e){}class Sg{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const Mg={dialogContainer:Ao("dialogContainer",[So("void, exit",Co({opacity:0,transform:"scale(0.7)"})),So("enter",Co({transform:"none"})),Eo("* => enter",vo("150ms cubic-bezier(0, 0, 0.2, 1)",Co({transform:"none",opacity:1}))),Eo("* => void, * => exit",vo("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Co({opacity:0})))])};let Eg=(()=>{class t extends bl{constructor(t,e,i,n,o,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=o,this._focusMonitor=r,this._animationStateChanged=new s.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=o.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=Ls(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Ls())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=Ls();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Ws),s.Y36(s.sBO),s.Y36(n.K0,8),s.Y36(Sg),s.Y36(ro))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&s.Gf(kl,7),2&t){let t;s.iGM(t=s.CRH())&&(e._portalOutlet=t.first)}},features:[s.qOj]}),t})(),Lg=(()=>{class t extends Eg{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&s.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(s.Ikx("id",e._id),s.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),s.d8E("@dialogContainer",e._state))},features:[s.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.YNc(0,Cg,0,0,"ng-template",0)},directives:[kl],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:[Mg.dialogContainer]}}),t})(),xg=0;class Dg{constructor(t,e,i="mat-dialog-"+xg++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new wt.xQ,this._afterClosed=new wt.xQ,this._beforeClosed=new wt.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,gt.h)(t=>"opened"===t.state),(0,Dt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,gt.h)(t=>"closed"===t.state),(0,Dt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,gt.h)(t=>t.keyCode===es&&!this.disableClose&&!as(t))).subscribe(t=>{t.preventDefault(),Rg(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Rg(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,gt.h)(t=>"closing"===t.state),(0,Dt.q)(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Rg(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const zg=new s.OlP("MatDialogData"),Pg=new s.OlP("mat-dialog-default-options"),Ig=new s.OlP("mat-dialog-scroll-strategy"),Og={provide:Ig,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.block()}};let Hg=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new wt.xQ,this._afterOpenedAtThisLevel=new wt.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=Mt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(zt(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new Sg)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Ol({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=s.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Sg,useValue:e}]}),n=new _l(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const o=new this._dialogRefConstructor(i,e,n.id);if(t instanceof s.Rgc)e.attachTemplatePortal(new wl(t,null,{$implicit:n.data,dialogRef:o}));else{const i=this._createInjector(n,o,e),s=e.attachComponentPortal(new _l(t,n.viewContainerRef,i));o.componentInstance=s.instance}return o.updateSize(n.width,n.height).updatePosition(n.position),o}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(mo,null,s.XFs.Optional)||o.push({provide:mo,useValue:{value:t.direction,change:(0,_t.of)()}}),s.zs3.create({parent:n||this._injector,providers:o})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ih),s.Y36(s.zs3),s.Y36(void 0),s.Y36(void 0),s.Y36(Kl),s.Y36(void 0),s.Y36(s.DyG),s.Y36(s.DyG),s.Y36(s.OlP))},t.\u0275dir=s.lG2({type:t}),t})(),Yg=(()=>{class t extends Hg{constructor(t,e,i,n,s,o,r){super(t,e,n,o,r,s,Dg,Lg,zg)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ih),s.LFG(s.zs3),s.LFG(n.Ye,8),s.LFG(Pg,8),s.LFG(Ig),s.LFG(t,12),s.LFG(Kl))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Bg=0,jg=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+Bg++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg,8),s.Y36(s.SBq),s.Y36(Yg))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Fg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),Ng=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),Kg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Yg,Og],imports:[[ch,Tl,_c],_c]}),t})();var qg=i(2051);const Ug=[5,10,25,100];function Zg(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}function Gg(){const t=new Sg;return t.disableClose=!0,t.autoFocus=!1,t}const Vg=new Intl.Collator("cs",{numeric:!0});function $g(t,e,i,n){const s=e.active,o=e.direction;return s&&""!==o?t.sort((t,e)=>{const r=i(t,s,n),a=i(e,s,n);return Vg.compare(r,a)*("asc"===o?1:-1)}):t}function Wg(t,e,i,n,s,o){e=e.toLowerCase();let r="";return i.forEach(e=>{r+=";"+n(t,e,s)}),o&&(r+=";"+n(t,"uuid",s)),-1!==r.toLowerCase().indexOf(e)}function Jg(t,e){let i="";return t.attributes&&t.attributes.forEach(t=>{t.friendlyName===e&&(i=t.value)}),i}function Qg(t,e,i,n){const s=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!o.includes(t)),t.forEach(t=>{const o={};e.forEach(e=>{var s;o[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(o)}),s}function Xg(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),o=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));o.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=o.join("\r\n"),a=new Blob([r],{type:"text/csv"});(0,qg.saveAs)(a,`${i}.${e}`)}}}let tm=(()=>{class t{constructor(){this.exportData=new s.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"button",1),s.TgZ(2,"mat-icon"),s._uU(3,"more_vert"),s.qZA(),s.qZA(),s.TgZ(4,"mat-menu",null,2),s.TgZ(6,"button",3),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.qZA(),s.TgZ(9,"mat-menu",null,4),s.TgZ(11,"button",5),s.NdJ("click",function(){return e.exportData.emit("csv")}),s._uU(12,"Csv"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(5),e=s.MAs(10);s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(5),s.Q6J("matMenuTriggerFor",e),s.xp6(1),s.hij(" ",s.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[gu,Hf,ig,zf,Lf],pipes:[vg],styles:[""]}),t})();function em(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-table-options",6),s.NdJ("exportData",function(e){return s.CHM(t),s.oxw().exportData.emit(e)}),s.qZA()}}const im=["*"];let nm=(()=>{class t{constructor(){this.hideExport=!1,this.page=new s.vpe,this.pageSizeOptions=Ug,this.pageSize=5,this.dataLength=0,this.exportData=new s.vpe}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&s.Gf(wf,7),2&t){let t;s.iGM(t=s.CRH())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:im,decls:7,vars:8,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(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"mat-paginator",2),s.NdJ("page",function(t){return e.page.emit(t)}),s.qZA(),s.YNc(3,em,1,0,"perun-web-apps-table-options",3),s.qZA(),s.TgZ(4,"div",4),s.Hsn(5),s.qZA(),s.TgZ(6,"mat-paginator",5),s.NdJ("page",function(t){return e.pageChanged(t)}),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("ngIf",!e.hideExport),s.xp6(3),s.Q6J("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[wf,n.O5,tm],styles:[""]}),t})(),sm=(()=>{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div",2),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return e.close()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),s.xp6(3),s.hij(" ",s.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),s.xp6(5),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[jg,Fg,Ng,gu],pipes:[vg],styles:[""]}),t})(),om=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n,s){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.oauthService=s,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Dn),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientConfig(){const t=this.setIdpFilter();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"),useSilentRefresh:!1,customQueryParams:t?{acr_values:t}:{}}}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}startIdpFilterKeeper(){this.router.events.pipe((0,gt.h)(t=>t instanceof ne)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig()),this.oauthService.events.pipe((0,gt.h)(t=>"token_expires"===t.type)).subscribe(()=>{const t=Gg();t.width="450px",this.dialog.open(sm,t).afterClosed().subscribe(()=>{this.startAuthentication()})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):this.oauthService.logOut()}isLoggedInPromise(){return this.isLoggedIn()?Promise.resolve(!0):Promise.resolve(!1)}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}verifyAuthentication(t,e){return this.isLoggedInPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3),s.LFG(om),s.LFG(Yg),s.LFG(ci),s.LFG(rm.Ct))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cm=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(s.TgZ(0,"h2",0),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[Fg],pipes:[vg],styles:[""]}),t})(),um=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=o,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=Gg();this.dialog.open(cm,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return"/service-access"===location.pathname||sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(t=>{t()})):this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(am),s.LFG(om),s.LFG(ft),s.LFG(U),s.LFG(Yg),s.LFG(Dn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lm=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Gf),s.LFG(z))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),hm=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dm=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new s.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ag))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pm=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=o}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const t=Gg();t.width="450px",this.dialog.open(sm,t).afterClosed().subscribe(()=>{this.authService.startAuthentication()})}t=this.initAuthService.isServiceAccess()?t.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe((0,$t.b)(t=>{t instanceof B.Zn&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?(0,jf._)(e):n?void this.notificator.showRPCError(i):(0,jf._)(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(am),s.LFG(hm),s.LFG(dm),s.LFG(om),s.LFG(Yg),s.LFG(um))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),fm=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gm=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),(0,jf._)(s)}getHeaders(){let t=new B.WM;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new B.LE,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe((0,Yt.K)(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe((0,Yt.K)(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:o}).pipe((0,Yt.K)(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe((0,Yt.K)(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(dm),s.LFG(am),s.LFG(om))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mm=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,o,r,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,r).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator closed",[vo(".3s ease-in")])]);const _m=Ao("flyInOut",[Eo(":enter",[Co({transform:"translateX(100%)"}),vo(".25s")]),Eo(":leave",[vo(".5s",Co({transform:"translateX(100%)"}))])]);Ao("rollInOut",[Eo(":enter",[Co({height:"0px"}),vo(".25s")]),Eo(":leave",[vo(".25s",Co({height:"0px"}))])]),Ao("routeAnimations",[Eo("* => *",[Co({position:"relative"}),xo(":enter",[Co({width:"100%",opacity:0})],{optional:!0}),xo(":leave",[Co({position:"absolute",width:"100%",opacity:1}),vo("0.15s",Co({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),xo(":enter",[Co({position:"absolute",width:"100%",opacity:0}),vo("0.15s",Co({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Ao("tagsOpenClose",[So("open",Co({})),So("closed",Co({width:"0px",height:"0px"})),Eo("open <=> closed",[vo(".3s ease-in")])]),Ao("switchAnimations",[Eo("true => false",[xo(":enter, :leave",Co({})),ko([xo(":enter",[Co({transform:"translateX(-100%)"}),vo("1s ease-in-out",Co({transform:"translateX(0%)"}))],{optional:!0}),xo(":leave",[Co({transform:"translateX(0%)",position:"absolute"}),vo("1s ease-in-out",Co({transform:"translateX(100%)"}))],{optional:!0})])]),Eo("false => true",[xo(":enter, :leave",Co({})),ko([xo(":enter",[Co({transform:"translateX(100%)"}),vo("1s ease-in-out",Co({transform:"translateX(0%)"}))],{optional:!0}),xo(":leave",[Co({transform:"translateX(0%)",position:"absolute"}),vo("1s ease-in-out",Co({transform:"translateX(-100%)"}))],{optional:!0})])])]),Ao("slideInOutLeft",[Eo(":enter",[Co({transform:"translateX(-100%)",position:"relative"}),vo("0.5s ease-in",Co({transform:"translateX(0%)"}))]),Eo(":leave",[vo("0.5s ease-in",Co({transform:"translateX(-100%)"}))])]),Ao("slideInOutRight",[Eo(":enter",[Co({transform:"translateX(100%)",position:"fixed"}),vo("0.5s ease-in",Co({transform:"translateX(0%)"}))]),Eo(":leave",[Co({transform:"translateX(-100%)",position:"relative"}),vo("0.5s ease-in",Co({transform:"translateX(100%)"}))])]);let wm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})();function ym(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function bm(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function Am(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function vm(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}const km=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class Tm{constructor(t){this._elementRef=t}}const Cm=yc(Tm,"primary"),Sm=new s.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let Mm=(()=>{class t extends Cm{constructor(e,i,n,s,o){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=ls(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=ls(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,ls(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Es(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_s),s.Y36(n.K0,8),s.Y36(oc,8),s.Y36(Sm))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(s.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),s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[s.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",0),s.YNc(1,ym,1,9,"circle",1),s.YNc(2,bm,1,7,"circle",2),s.qZA()),2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.Q6J("ngSwitch","indeterminate"===e.mode),s.uIk("viewBox",e._getViewBox()),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1))},directives:[n.RF,n.n9],styles:[km],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),Em=(()=>{class t extends Mm{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_s),s.Y36(n.K0,8),s.Y36(oc,8),s.Y36(Sm))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[s.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",0),s.YNc(1,Am,1,9,"circle",1),s.YNc(2,vm,1,7,"circle",2),s.qZA()),2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.Q6J("ngSwitch","indeterminate"===e.mode),s.uIk("viewBox",e._getViewBox()),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1))},directives:[n.RF,n.n9],styles:[km],encapsulation:2,changeDetection:0}),t})(),Lm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c,n.ez],_c]}),t})();const xm=Cs({passive:!0});let Dm=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return St.E;const e=fs(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new wt.xQ,s="cdk-text-field-autofilled",o=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",o,xm),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",o,xm)}}),n}stopMonitoring(t){const e=fs(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_s),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(_s),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),Rm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ws]]}),t})();const zm=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),Pm=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Im=0;class Om{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const Hm=vc(Om);let Ym=(()=>{class t extends Hm{constructor(t,e,i,n,s,o,r,a,c,u){super(o,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+Im++,this.focused=!1,this.stateChanges=new wt.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>bs().has(t));const l=this._elementRef.nativeElement,h=l.nodeName.toLowerCase();this._inputValueAccessor=r||l,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=us(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=us(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&bs().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=us(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){Pm.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_s),s.Y36(kd,10),s.Y36(tp,8),s.Y36(lp,8),s.Y36(Hc),s.Y36(zm,10),s.Y36(Dm),s.Y36(s.R0b),s.Y36(Kh,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:xh,useExisting:t}]),s.qOj,s.TTD]}),t})(),Bm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Hc],imports:[[Rm,Uh,_c],Rm,Uh]}),t})();function jm(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function Fm(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function Nm(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function Km(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().subject=e}),s.qZA(),s.YNc(7,Fm,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().message=e}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,Nm,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(6),e=s.MAs(13),i=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",i.subject),s.xp6(2),s.Q6J("ngIf",t.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",i.message),s.xp6(4),s.Q6J("ngIf",e.invalid)}}let qm=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=o,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(Ag),s.Y36(dm),s.Y36(tt),s.Y36(zg),s.Y36(om))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,jm,1,0,"mat-spinner",1),s.YNc(4,Km,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===e.message||""===e.subject||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[jg,n.O5,Ng,gu,Em,Fg,qh,Ph,Ym,td,fp,Cd,np,Eh],pipes:[vg],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),Um=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=Gg();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(qm,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(Yg),s.Y36(zg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return e.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(e.data.title),s.xp6(2),s.hij("\n",e.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==e.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[jg,Fg,Ng,gu],pipes:[vg],styles:[""]}),t})();const Zm=[[["caption"]],[["colgroup"],["col"]]],Gm=["caption","colgroup, col"];function Vm(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=us(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const $m=new s.OlP("CDK_TABLE");let Wm=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t})(),Jm=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),Qm=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Xm{}const t_=Vm(Xm);let e_=(()=>{class t extends t_{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=us(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36($m,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Wm,5),s.Suo(i,Jm,5),s.Suo(i,Qm,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.cell=t.first),s.iGM(t=s.CRH())&&(e.headerCell=t.first),s.iGM(t=s.CRH())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[s._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.qOj]}),t})();class i_{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let n_=(()=>{class t extends i_{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(e_),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[s.qOj]}),t})(),s_=(()=>{class t extends i_{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(e_),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[s.qOj]}),t})();class o_{constructor(){this.tasks=[],this.endTasks=[]}}const r_=new s.OlP("_COALESCED_STYLE_SCHEDULER");let a_=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new wt.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new o_,this._getScheduleObservable().pipe(Gu(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new o_;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,mt.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Dt.q)(1))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),c_=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof h_?t.headerCell.template:this instanceof f_?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4))},t.\u0275dir=s.lG2({type:t,features:[s.TTD]}),t})();class u_ extends c_{}const l_=Vm(u_);let h_=(()=>{class t extends l_{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36($m,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),t})();class d_ extends c_{}const p_=Vm(d_);let f_=(()=>{class t extends p_{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36($m,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),t})(),g_=(()=>{class t extends c_{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36($m,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[s.qOj]}),t})(),m_=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),__=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[m_],encapsulation:2}),t})(),w_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[m_],encapsulation:2}),t})(),y_=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const b_=["top","bottom","left","right"];class A_{constructor(t,e,i,n,s=!0,o=!0,r){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=r,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,r=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(r,e),c=this._getStickyEndColumnPositions(r,i),u=e.lastIndexOf(!0),l=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const r of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===l?[]:r.slice(l).map((t,e)=>i[e+l]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],r=[],a=[];for(let u=0,l=0;u{var t,e;for(let r=0;r{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);b_.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of b_)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const v_=new s.OlP("CDK_SPL");let k_=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","rowOutlet",""]]}),t})(),T_=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),C_=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),S_=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),M_=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=r,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=u,this._stickyPositioningListener=l,this._onDestroy=new wt.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new bt({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=us(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=us(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe(Gu(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),rl(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),E_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=E_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=E_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=E_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],rl(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;rl(this.dataSource)?t=this.dataSource.connect(this):Pu(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,_t.of)(this.dataSource)),this._renderChangeSubscription=t.pipe(Gu(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))m_.mostRecentCellOutlet&&m_.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new A_(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,_t.of)()).pipe(Gu(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.ZZ4),s.Y36(s.sBO),s.Y36(s.SBq),s.$8M("role"),s.Y36(mo,8),s.Y36(n.K0),s.Y36(_s),s.Y36(ll),s.Y36(r_),s.Y36(pl),s.Y36(v_,12))},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,y_,5),s.Suo(i,e_,5),s.Suo(i,g_,5),s.Suo(i,h_,5),s.Suo(i,f_,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._noDataRow=t.first),s.iGM(t=s.CRH())&&(e._contentColumnDefs=t),s.iGM(t=s.CRH())&&(e._contentRowDefs=t),s.iGM(t=s.CRH())&&(e._contentHeaderRowDefs=t),s.iGM(t=s.CRH())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(s.Gf(k_,7),s.Gf(T_,7),s.Gf(C_,7),s.Gf(S_,7)),2&t){let t;s.iGM(t=s.CRH())&&(e._rowOutlet=t.first),s.iGM(t=s.CRH())&&(e._headerRowOutlet=t.first),s.iGM(t=s.CRH())&&(e._footerRowOutlet=t.first),s.iGM(t=s.CRH())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[s._Bn([{provide:$m,useExisting:t},{provide:ll,useClass:al},{provide:r_,useClass:a_},{provide:v_,useValue:null}])],ngContentSelectors:Gm,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.F$t(Zm),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0),s.GkF(3,1),s.GkF(4,2),s.GkF(5,3))},directives:[T_,k_,S_,C_],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function E_(t,e){return t.concat(Array.from(e))}let L_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[gl]]}),t})();const x_=[[["caption"]],[["colgroup"],["col"]]],D_=["caption","colgroup, col"];let R_=(()=>{class t extends M_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[s._Bn([{provide:ll,useClass:al},{provide:M_,useExisting:t},{provide:$m,useExisting:t},{provide:r_,useClass:a_},{provide:v_,useValue:null}]),s.qOj],ngContentSelectors:D_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.F$t(x_),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0),s.GkF(3,1),s.GkF(4,2),s.GkF(5,3))},directives:[T_,k_,S_,C_],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),z_=(()=>{class t extends Wm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matCellDef",""]],features:[s._Bn([{provide:Wm,useExisting:t}]),s.qOj]}),t})(),P_=(()=>{class t extends Jm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[s._Bn([{provide:Jm,useExisting:t}]),s.qOj]}),t})(),I_=(()=>{class t extends e_{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[s._Bn([{provide:e_,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.qOj]}),t})(),O_=(()=>{class t extends n_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[s.qOj]}),t})(),H_=(()=>{class t extends s_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[s.qOj]}),t})(),Y_=(()=>{class t extends h_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[s._Bn([{provide:h_,useExisting:t}]),s.qOj]}),t})(),B_=(()=>{class t extends g_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[s._Bn([{provide:g_,useExisting:t}]),s.qOj]}),t})(),j_=(()=>{class t extends __{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[s._Bn([{provide:__,useExisting:t}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[m_],encapsulation:2}),t})(),F_=(()=>{class t extends w_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[s._Bn([{provide:w_,useExisting:t}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[m_],encapsulation:2}),t})(),N_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[L_,_c],_c]}),t})();class K_ extends class extends class{}{constructor(t=[]){super(),this._renderData=new bt([]),this._filter=new bt(""),this._internalPageChanges=new wt.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(hs(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),o=this.sortingDataAccessor(e,i);const r=typeof s,a=typeof o;r!==a&&("number"===r&&(s+=""),"number"===a&&(o+=""));let c=0;return null!=s&&null!=o?s>o?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new bt(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?(0,Cl.T)(this._sort.sortChange,this._sort.initialized):(0,_t.of)(null),i=this._paginator?(0,Cl.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_t.of)(null),n=(0,At.aj)([this._data,this._filter]).pipe((0,Lt.U)(([t])=>this._filterData(t))),s=(0,At.aj)([n,e]).pipe((0,Lt.U)(([t])=>this._orderData(t))),o=(0,At.aj)([s,i]).pipe((0,Lt.U)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}{}function q_(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function U_(t,e){1&t&&s._UZ(0,"th",15)}function Z_(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t," ")}}function G_(t,e){1&t&&s._UZ(0,"tr",17)}function V_(t,e){1&t&&s._UZ(0,"tr",18)}function $_(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,U_,1,0,"th",11),s.YNc(10,Z_,2,1,"td",12),s.BQk(),s.YNc(11,G_,1,0,"tr",13),s.YNc(12,V_,1,0,"tr",14),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,t.data.description)," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}let W_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new K_(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,q_,1,0,"mat-spinner",1),s.YNc(5,$_,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,e.data.title)),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[jg,n.O5,Ng,gu,Em,Fg,R_,I_,P_,z_,Y_,B_,O_,H_,j_,F_],pipes:[vg],styles:[""]}),t})(),J_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"button",2),s.NdJ("click",function(){return e.onCancel()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"button",3),s.NdJ("click",function(){return e.onSubmit()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,6,e.message)),s.xp6(4),s.hij(" ",s.lcZ(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[jg,Ng,gu],pipes:[vg],styles:[""]}),t})();function Q_(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"mat-icon"),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(t.data.icon)}}function X_(t,e){if(1&t&&(s.TgZ(0,"div",6),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.showTimestamp()," ")}}let tw=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new s.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 t=Gg();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(Um,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function(t,e){return i=this,s=function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()},new((n=void 0)||(n=Promise))(function(t,e){function o(t){try{a(s.next(t))}catch(i){e(i)}}function r(t){try{a(s.throw(t))}catch(i){e(i)}}function a(e){var i;e.done?t(e.value):(i=e.value,i instanceof n?i:new n(function(t){t(i)})).then(o,r)}a((s=s.apply(i,[])).next())});var i,n,s}(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Yg),s.Y36(fm))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",0),s.NdJ("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),s.YNc(2,Q_,3,1,"div",1),s.TgZ(3,"div",2),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.YNc(6,X_,2,1,"div",3),s.TgZ(7,"div",4),s.NdJ("click",function(){return e.waiting=!0,e.doAction()}),s._uU(8),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Gre("notification ",e.inDialog?"":"mat-elevation-z7",""),s.ekj("error","error"===e.data.type)("success","success"===e.data.type),s.xp6(2),s.Q6J("ngIf",null!==e.data.icon),s.xp6(2),s.hij(" ",s.lcZ(5,12,e.data.title)," "),s.xp6(2),s.Q6J("ngIf",e.inDialog),s.xp6(1),s.Q6J("hidden",e.alreadyPressed),s.xp6(1),s.hij(" ",e.data.actionText," "))},directives:[n.O5,ig],pipes:[vg],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}"]}),t})();function ew(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-notification",2),s.NdJ("closeNotification",function(){const e=s.CHM(t).index;return s.oxw().removeNotification(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("@flyInOut",void 0),s.xp6(1),s.Q6J("data",t)("newNotification",!0)}}const iw=function(t){return{top:t}};let nw=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dm),s.Y36(fm))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,ew,2,3,"div",1),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(2,iw,e.getNotificatorTop())),s.xp6(1),s.Q6J("ngForOf",e.notifications))},directives:[n.PC,n.sg,tw],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[_m]}}),t})();const sw=["*",[["mat-toolbar-row"]]],ow=["*","mat-toolbar-row"];class rw{constructor(t){this._elementRef=t}}const aw=yc(rw);let cw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),uw=(()=>{class t extends aw{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_s),s.Y36(n.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,cw,5),2&t){let t;s.iGM(t=s.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:ow,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(sw),s.Hsn(0),s.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}),t})(),lw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c],_c]}),t})();function hw(t,e){1&t&&(s.TgZ(0,"div",13),s.TgZ(1,"span",14),s._uU(2," ~ \ud83d\uddf2\xa0 "),s.qZA(),s.TgZ(3,"span",15),s._uU(4," DEVEL "),s.qZA(),s.TgZ(5,"span",14),s._uU(6," \xa0\ud83d\uddf2 ~ "),s.qZA(),s.qZA())}const dw=function(t){return{background:t}},pw=function(t){return{color:t}};let fw=(()=>{class t{constructor(t,e,i){this.storeService=t,this.authService=e,this.sanitizer=i,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 t.\u0275fac=function(e){return new(e||t)(s.Y36(om),s.Y36(am),s.Y36(z))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:22,vars:29,consts:[[1,"header-container",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white","routerLink","/all-publications",1,"mt-auto","mb-auto","router-icon","ml-2","mr-4"],[1,"mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(t,e){if(1&t&&(s.TgZ(0,"mat-toolbar",0),s.TgZ(1,"div",1),s.TgZ(2,"button",2),s.NdJ("click",function(){return e.sideNav.toggle()}),s.TgZ(3,"mat-icon"),s._uU(4,"menu"),s.qZA(),s.qZA(),s._UZ(5,"a",3),s._UZ(6,"mat-icon",4),s.TgZ(7,"p",5),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.YNc(10,hw,7,0,"div",6),s.TgZ(11,"div",7),s.TgZ(12,"button",8),s.TgZ(13,"mat-icon",9),s._uU(14," person "),s.qZA(),s.TgZ(15,"span",10),s._uU(16),s.qZA(),s.qZA(),s.TgZ(17,"mat-menu",null,11),s.TgZ(19,"button",12),s.NdJ("click",function(){return e.onLogOut()}),s._uU(20),s.ALo(21,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(18);s.Q6J("ngStyle",s.VKq(19,dw,e.bgColor)),s.xp6(2),s.Q6J("ngStyle",s.VKq(21,pw,e.iconColor)),s.xp6(3),s.Q6J("innerHTML",e.logo,s.oJD),s.xp6(2),s.Q6J("ngStyle",s.VKq(23,pw,e.textColor)),s.xp6(1),s.Oqu(s.lcZ(9,15,"HEADER.TITLE")),s.xp6(2),s.Q6J("ngIf",e.isDevel),s.xp6(1),s.Q6J("ngStyle",s.VKq(25,pw,e.textColor)),s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.Q6J("ngStyle",s.VKq(27,pw,e.iconColor)),s.xp6(3),s.xDo(" ",e.principal.user.titleBefore," ",e.principal.user.firstName," ",e.principal.user.middleName," ",e.principal.user.lastName," ",e.principal.user.titleAfter," "),s.xp6(4),s.Oqu(s.lcZ(21,17,"HEADER.LOGOUT"))}},directives:[uw,n.PC,gu,ig,zn,Rn,n.O5,Hf,zf,Lf],pipes:[vg],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),t})();function gw(t){return e=>e.lift(new mw(t))}class mw{constructor(t){this.value=t}call(t,e){return e.subscribe(new _w(t,this.value))}}class _w extends Pt.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const ww=["*"];function yw(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function bw(t,e){1&t&&(s.TgZ(0,"mat-drawer-content"),s.Hsn(1,2),s.qZA())}const Aw=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],vw=["mat-drawer","mat-drawer-content","*"];function kw(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function Tw(t,e){1&t&&(s.TgZ(0,"mat-sidenav-content",3),s.Hsn(1,2),s.qZA())}const Cw=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Sw=["mat-sidenav","mat-sidenav-content","*"],Mw=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Ew={transformDrawer:Ao("transform",[So("open, open-instant",Co({transform:"none",visibility:"visible"})),So("void",Co({"box-shadow":"none",visibility:"hidden"})),Eo("void => open-instant",vo("0ms")),Eo("void <=> open, open-instant => void",vo("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Lw=new s.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),xw=new s.OlP("MAT_DRAWER_CONTAINER");let Dw=(()=>{class t extends dl{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>zw)),s.Y36(s.SBq),s.Y36(hl),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:ww,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),Rw=(()=>{class t{constructor(t,e,i,n,o,r,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=o,this._doc=r,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new wt.xQ,this._animationEnd=new wt.xQ,this._animationState="void",this.openedChange=new s.vpe(!0),this._openedStream=this.openedChange.pipe((0,gt.h)(t=>t),(0,Lt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,gt.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),gw(void 0)),this._closedStream=this.openedChange.pipe((0,gt.h)(t=>!t),(0,Lt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,gt.h)(t=>t.fromState!==t.toState&&"void"===t.toState),gw(void 0)),this._destroyed=new wt.xQ,this.onPositionChanged=new s.vpe,this._modeChanged=new wt.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{yu(this._elementRef.nativeElement,"keydown").pipe((0,gt.h)(t=>t.keyCode===es&&!this.disableClose&&!as(t)),Gu(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Iu((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=us(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=us(t)}get opened(){return this._opened}set opened(t){this.toggle(us(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,Dt.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Ws),s.Y36(ro),s.Y36(_s),s.Y36(s.R0b),s.Y36(n.K0,8),s.Y36(xw,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&s.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(s.uIk("align",null),s.d8E("@transform",e._animationState),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:ww,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[dl],encapsulation:2,data:{animation:[Ew.transformDrawer]},changeDetection:0}),t})(),zw=(()=>{class t{constructor(t,e,i,n,o,r=!1,a){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new s.n_E,this.backdropClick=new s.vpe,this._destroyed=new wt.xQ,this._doCheckSubject=new wt.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new wt.xQ,t&&t.change.pipe(Gu(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(Gu(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=us(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:us(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(zt(this._allDrawers),Gu(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(zt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,cs.b)(10),Gu(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,gt.h)(t=>t.fromState!==t.toState),Gu(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"!==t.mode&&t.openedChange.pipe(Gu(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Gu(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Dt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Gu((0,Cl.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mo,8),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(pl),s.Y36(Lw),s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Dw,5),s.Suo(i,Rw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(Dw,5),2&t){let t;s.iGM(t=s.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[s._Bn([{provide:xw,useExisting:t}])],ngContentSelectors:vw,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(t,e){1&t&&(s.F$t(Aw),s.YNc(0,yw,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,bw,2,0,"mat-drawer-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[n.O5,Dw],styles:[Mw],encapsulation:2,changeDetection:0}),t})(),Pw=(()=>{class t extends Dw{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>Ow)),s.Y36(s.SBq),s.Y36(hl),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:ww,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),Iw=(()=>{class t extends Rw{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=us(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=ls(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=ls(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(s.uIk("align",null),s.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[s.qOj],ngContentSelectors:ww,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[dl],encapsulation:2,data:{animation:[Ew.transformDrawer]},changeDetection:0}),t})(),Ow=(()=>{class t extends zw{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Pw,5),s.Suo(i,Iw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[s._Bn([{provide:xw,useExisting:t}]),s.qOj],ngContentSelectors:Sw,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(s.F$t(Cw),s.YNc(0,kw,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,Tw,2,0,"mat-sidenav-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[n.O5,Pw,dl],styles:[Mw],encapsulation:2,changeDetection:0}),t})(),Hw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,_c,ws,fl],fl,_c]}),t})(),Yw=(()=>{class t{constructor(t){this.authResolver=t}getSideMenuItems(){const t=[];return this.authResolver.isCabinetAdmin()&&t.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications$",tabName:"all-publications"}),t.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications$",tabName:"my-publications"}),t.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication$",tabName:"create-publication"}),t.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors$",tabName:"authors"}),t.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),t.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ft))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Bw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c],_c]}),t})();const jw=["*"],Fw=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Nw=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class Kw{}const qw=wc(bc(Kw));class Uw{}const Zw=bc(Uw),Gw=new s.OlP("MatList"),Vw=new s.OlP("MatNavList");let $w=(()=>{class t extends qw{constructor(){super(...arguments),this._stateChanges=new wt.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[s._Bn([{provide:Vw,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:jw,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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}),t})(),Ww=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),Jw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),Qw=(()=>{class t extends Zw{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new wt.xQ,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Gu(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=us(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(zt(t)).subscribe(({length:t})=>{Bc(e,`${i}-2-line`,!1),Bc(e,`${i}-3-line`,!1),Bc(e,`${i}-multi-line`,!1),2===t||3===t?Bc(e,`${i}-${t}-line`,!0):t>3&&Bc(e,`${i}-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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Vw,8),s.Y36(Gw,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Ww,5),s.Suo(i,Jw,5),s.Suo(i,Yc,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:Nw,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(t,e){1&t&&(s.F$t(Fw),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.Hsn(2),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[Vc],encapsulation:2,changeDetection:0}),t})(),Xw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[jc,$c,_c,Jc,n.ez],jc,_c,Jc,Bw]}),t})();function ty(t,e){if(1&t&&s._UZ(0,"mat-icon",6),2&t){const t=s.oxw().$implicit;s.Q6J("svgIcon",t.icon)}}const ey=function(t){return{color:t}};function iy(t,e){if(1&t&&(s.TgZ(0,"mat-icon",7),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw();s.Q6J("ngStyle",s.VKq(2,ey,e.iconColor)),s.xp6(1),s.Oqu(t.icon)}}function ny(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item",2),s.NdJ("click",function(){return s.CHM(t),s.oxw().shouldHideMenu()}),s.YNc(1,ty,1,1,"mat-icon",3),s.YNc(2,iy,2,4,"mat-icon",4),s.TgZ(3,"span",5),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.ekj("activated",i.isActive(t.activatedRegex)),s.s9C("routerLink",t.link),s.Q6J("ngStyle",s.VKq(9,ey,i.textColor)),s.xp6(1),s.Q6J("ngIf",t.isSVG),s.xp6(1),s.Q6J("ngIf",!t.isSVG),s.xp6(2),s.Oqu(s.lcZ(5,7,t.label))}}let sy=(()=>{class t{constructor(t,e,i){this.sideMenuItemService=t,this.storeService=e,this.router=i,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(t=>{t instanceof ne&&(this.currentUrl=t.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(t){return new RegExp(t).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Yw),s.Y36(om),s.Y36(Dn))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"svgIcon",4,"ngIf"],[3,"ngStyle",4,"ngIf"],[1,"nav-caption","ml-3"],[3,"svgIcon"],[3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-nav-list",0),s.YNc(1,ny,6,11,"mat-list-item",1),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngForOf",e.items))},directives:[$w,n.sg,Qw,n.PC,Rn,n.O5,ig],pipes:[vg],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}"]}),t})();function oy(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let ry=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(Ag),s.Y36(dm),s.Y36(tt),s.Y36(om))},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"mat-label"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"input",2,3),s.NdJ("ngModelChange",function(t){return e.subject=t}),s.qZA(),s.YNc(10,oy,3,3,"mat-error",4),s.qZA(),s.TgZ(11,"mat-form-field"),s.TgZ(12,"mat-label"),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"textarea",5),s.NdJ("ngModelChange",function(t){return e.message=t}),s.ALo(16,"translate"),s._uU(17," "),s.qZA(),s.TgZ(18,"mat-hint"),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(21,"div",6),s.TgZ(22,"div",7),s.TgZ(23,"button",8),s.NdJ("click",function(){return e.close()}),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.TgZ(26,"button",9),s.NdJ("click",function(){return e.sendBugReport()}),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(9);s.xp6(1),s.Oqu(s.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),s.xp6(5),s.Oqu(s.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),s.xp6(2),s.Q6J("ngModel",e.subject),s.xp6(2),s.Q6J("ngIf",t.invalid),s.xp6(3),s.Oqu(s.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",e.message),s.xp6(4),s.Oqu(s.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),s.xp6(5),s.hij(" ",s.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.invalid),s.xp6(1),s.hij(" ",s.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[jg,Fg,qh,Ph,Ym,td,fp,Cd,np,n.O5,zh,Ng,gu,Eh],pipes:[vg],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),ay=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"localisedText",type:t,pure:!0}),t})(),cy=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"localisedLink",type:t,pure:!0}),t})();const uy=function(t){return{color:t}};function ly(t,e){if(1&t&&(s.TgZ(0,"i",16),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(2,uy,e.linksTextColor)),s.xp6(1),s.hij(" ",t.icon," ")}}function hy(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",17),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(3).openDialog(e.dialog)}),s._uU(1),s.ALo(2,"localisedText"),s.qZA()}if(2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(6,uy,e.linksTextColor)),s.xp6(1),s.hij("",s.Dn7(2,2,t,e.language,"label")," ")}}function dy(t,e){if(1&t&&(s.TgZ(0,"a",18),s.ALo(1,"localisedLink"),s._uU(2),s.ALo(3,"localisedText"),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("href",s.xi3(1,3,t,e.language),s.LSH)("ngStyle",s.VKq(10,uy,e.linksTextColor)),s.xp6(2),s.Oqu(s.Dn7(3,6,t,e.language,"label"))}}function py(t,e){if(1&t&&(s.TgZ(0,"span",19),s._uU(1),s.ALo(2,"localisedText"),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(6,uy,e.linksTextColor)),s.xp6(1),s.Oqu(s.Dn7(2,2,t,e.language,"label"))}}function fy(t,e){if(1&t&&(s.TgZ(0,"div",11),s.YNc(1,ly,2,4,"i",12),s.YNc(2,hy,3,8,"span",13),s.YNc(3,dy,4,12,"a",14),s.ALo(4,"localisedLink"),s.YNc(5,py,3,8,"span",15),s.ALo(6,"localisedLink"),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(3);s.xp6(1),s.Q6J("ngIf",t.icon),s.xp6(1),s.Q6J("ngIf",t.dialog),s.xp6(1),s.Q6J("ngIf",s.xi3(4,4,t,i.language)&&!t.dialog),s.xp6(2),s.Q6J("ngIf",!s.xi3(6,7,t,i.language)&&!t.dialog)}}function gy(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,fy,7,10,"div",10),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngForOf",t.elements)}}function my(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"h6",8),s._uU(2),s.ALo(3,"localisedText"),s.qZA(),s.YNc(4,gy,2,1,"div",9),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("ngStyle",s.VKq(7,uy,i.headersTextColor)),s.xp6(1),s.hij(" ",s.Dn7(3,3,t,i.language,"title")," "),s.xp6(2),s.Q6J("ngIf",t.elements)}}function _y(t,e){if(1&t&&(s.TgZ(0,"span"),s.TgZ(1,"a",6),s._uU(2),s.qZA(),s.qZA()),2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.xp6(1),s.Q6J("href",t.url,s.LSH)("ngStyle",s.VKq(3,uy,n.copyrightTextColor)),s.xp6(1),s.Oqu(i?", "+t.name:t.name)}}const wy=function(t){return{background:t}};let yy=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new s.vpe}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=Gg();switch(t){case"reportIssue":e.width="550px",this.dialog.open(ry,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(om),s.Y36(z))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,by,2,1,"div",1),s.YNc(2,Ay,3,1,"div",2),s.YNc(3,vy,2,1,"div",1),s.YNc(4,Ty,2,4,"p",3),s.qZA(),s.TgZ(5,"div",4),s.TgZ(6,"div",5),s.TgZ(7,"div",6),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",7),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Q6J("ngStyle",s.WLB(6,Cy,e.headerBackgroundColor,e.headerTextColor)),s.xp6(1),s.Q6J("ngIf","admin-gui"===e.application),s.xp6(1),s.Q6J("ngIf","publications"===e.application),s.xp6(1),s.Q6J("ngIf","user-profile"===e.application),s.xp6(1),s.Q6J("ngIf",!!e.headerTitle),s.xp6(2),s.Q6J("ngStyle",s.WLB(9,Sy,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[n.PC,n.O5,In,yy,ig],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}"]}),t})();const Ey=function(t){return{background:t}},Ly=function(t){return{"min-height":t}};function xy(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-header",1),s.TgZ(2,"mat-sidenav-container"),s.TgZ(3,"mat-sidenav",2,3),s._UZ(5,"perun-web-apps-side-menu",4),s.qZA(),s.TgZ(6,"mat-sidenav-content",5),s.TgZ(7,"div",6),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"perun-web-apps-footer",7),s.NdJ("footerHeight",function(e){return s.CHM(t),s.oxw().setContentHeight(e)}),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(4),e=s.oxw();s.xp6(1),s.Q6J("sideNav",t),s.xp6(2),s.Q6J("mode",e.sidebarMode)("ngStyle",s.VKq(7,Ey,e.sideMenuBgColor))("opened",!e.isMobile()),s.xp6(2),s.Q6J("sideNav",t),s.xp6(1),s.Q6J("ngStyle",s.VKq(9,Ey,e.contentBackgroundColor)),s.xp6(1),s.Q6J("ngStyle",s.VKq(11,Ly,e.contentHeight))}}function Dy(t,e){1&t&&(s.TgZ(0,"div"),s._UZ(1,"perun-web-apps-login-screen-base",8),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Q6J("application","publications")("headerTitle",s.lcZ(2,2,"HEADER.TITLE")))}let Ry=(()=>{class t{constructor(t,e,i){this.store=t,this.initAuth=e,this.changeDetector=i,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)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=t.minWidth}setContentHeight(t){this.contentHeight="calc(100vh - 84px - "+t+"px)",this.changeDetector.detectChanges()}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(s.Y36(om),s.Y36(um),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.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"],[3,"footerHeight"],[3,"application","headerTitle"]],template:function(t,e){1&t&&(s._UZ(0,"perun-web-apps-notificator"),s.YNc(1,xy,10,13,"div",0),s.YNc(2,Dy,3,4,"div",0)),2&t&&(s.xp6(1),s.Q6J("ngIf",!e.isLoginScreenShow),s.xp6(1),s.Q6J("ngIf",e.isLoginScreenShow))},directives:[nw,n.O5,fw,Ow,Iw,n.PC,sy,Pw,In,yy,My],pipes:[vg],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}"]}),t})();class zy{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}let Py=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[Iy(tinycolor(n).lighten(52),"50"),Iy(tinycolor(n).lighten(37),"100"),Iy(tinycolor(n).lighten(26),"200"),Iy(tinycolor(n).lighten(12),"300"),Iy(tinycolor(n).lighten(6),"400"),Iy(tinycolor(n),"500"),Iy(tinycolor(n).darken(6),"600"),Iy(tinycolor(n).darken(12),"700"),Iy(tinycolor(n).darken(18),"800"),Iy(tinycolor(n).darken(24),"900"),Iy(tinycolor(n).lighten(50).saturate(30),"A100"),Iy(tinycolor(n).lighten(30).saturate(30),"A200"),Iy(tinycolor(n).lighten(10).saturate(15),"A400"),Iy(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new B.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.eN),s.LFG(om))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Iy(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let Oy=(()=>{class t{constructor(t,e,i,n,s,o){this.initAuthService=t,this.appConfigService=e,this.storeService=i,this.location=n,this.authzSevice=s,this.guiAuthResolver=o,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.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(t=>{throw console.error(t),this.location.go("/"),location.reload(),t}).then(t=>t?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{this.authzSevice.configuration.basePath=this.storeService.get("api_url"),t()})}loadPolicies(){return new Promise((t,e)=>{this.authzSevice.getAllPolicies().subscribe(e=>{this.guiAuthResolver.setPerunPolicies(e),t()},t=>e(t))})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(um),s.LFG(Py),s.LFG(om),s.LFG(n.Ye),s.LFG(U),s.LFG(ft))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Hy=new s.OlP("perun-api-service");let Yy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,Kg,mu,kg]]}),t})();const By=["*",[["mat-card-footer"]]],jy=["*","mat-card-footer"];let Fy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),Ny=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),Ky=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:jy,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(By),s.Hsn(0),s.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}.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}),t})(),qy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_c],_c]}),t})();const Uy=["input"],Zy=function(t){return{enterDuration:t}},Gy=["*"],Vy=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:$y});function $y(){return{color:"accent",clickAction:"check-indeterminate"}}let Wy=0;const Jy=$y(),Qy={provide:Jh,useExisting:(0,s.Gpc)(()=>ib),multi:!0};class Xy{}class tb{constructor(t){this._elementRef=t}}const eb=Ac(yc(bc(wc(tb))));let ib=(()=>{class t extends eb{constructor(t,e,i,n,o,r,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++Wy,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Jy,this.color=this.defaultColor=this._options.color||Jy.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=us(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=us(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=us(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new Xy;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(ro),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(oc,8),s.Y36(Vy,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(Uy,5),s.Gf(Vc,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([Qy]),s.qOj],ngContentSelectors:Gy,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,Zy,"NoopAnimations"===e._animationMode?0:150))}},directives:[Vc,Rs],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),nb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),sb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[$c,_c,zs,nb],_c,nb]}),t})(),ob=0;const rb=new s.OlP("CdkAccordion");let ab=(()=>{class t{constructor(){this._stateChanges=new wt.xQ,this._openCloseAllActions=new wt.xQ,this.id="cdk-accordion-"+ob++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=us(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:rb,useExisting:t}]),s.TTD]}),t})(),cb=0,ub=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=Jt.w.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+cb++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=us(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=us(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(rb,12),s.Y36(s.sBO),s.Y36(ul))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:rb,useValue:void 0}])]}),t})(),lb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const hb=["body"];function db(t,e){}const pb=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],fb=["mat-expansion-panel-header","*","mat-action-row"];function gb(t,e){if(1&t&&s._UZ(0,"span",2),2&t){const t=s.oxw();s.Q6J("@indicatorRotate",t._getExpandedState())}}const mb=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],_b=["mat-panel-title","mat-panel-description","*"],wb=new s.OlP("MAT_ACCORDION"),yb="225ms cubic-bezier(0.4,0.0,0.2,1)",bb={indicatorRotate:Ao("indicatorRotate",[So("collapsed, void",Co({transform:"rotate(0deg)"})),So("expanded",Co({transform:"rotate(180deg)"})),Eo("expanded <=> collapsed, void => collapsed",vo(yb))]),bodyExpansion:Ao("bodyExpansion",[So("collapsed, void",Co({height:"0px",visibility:"hidden"})),So("expanded",Co({height:"*",visibility:"visible"})),Eo("expanded <=> collapsed, void => collapsed",vo(yb))])};let Ab=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),vb=0;const kb=new s.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Tb=(()=>{class t extends ub{constructor(t,e,i,n,o,r,a){super(t,e,i),this._viewContainerRef=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new s.vpe,this.afterCollapse=new s.vpe,this._inputChanges=new wt.xQ,this._headerId="mat-expansion-panel-header-"+vb++,this._bodyAnimationDone=new wt.xQ,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe(Iu((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),a&&(this.hideToggle=a.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=us(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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(zt(null),(0,gt.h)(()=>this.expanded&&!this._portal),(0,Dt.q)(1)).subscribe(()=>{this._portal=new wl(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(wb,12),s.Y36(s.sBO),s.Y36(ul),s.Y36(s.s_b),s.Y36(n.K0),s.Y36(oc,8),s.Y36(kb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,Ab,5),2&t){let t;s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(hb,5),2&t){let t;s.iGM(t=s.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[s._Bn([{provide:wb,useValue:void 0}]),s.qOj,s.TTD],ngContentSelectors:fb,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(pb),s.Hsn(0),s.TgZ(1,"div",0,1),s.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,db,0,0,"ng-template",3),s.qZA(),s.Hsn(6,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),s.uIk("aria-labelledby",e._headerId),s.xp6(4),s.Q6J("cdkPortalOutlet",e._portal))},directives:[kl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[bb.bodyExpansion]},changeDetection:0}),t})(),Cb=(()=>{class t{constructor(t,e,i,n,s,o){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=o,this._parentChangeSubscription=Jt.w.EMPTY;const r=t.accordion?t.accordion._stateChanges.pipe((0,gt.h)(t=>!(!t.hideToggle&&!t.togglePosition))):St.E;this._parentChangeSubscription=(0,Cl.T)(t.opened,t.closed,r,t._inputChanges.pipe((0,gt.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,gt.h)(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case is:case ts:as(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Tb,1),s.Y36(s.SBq),s.Y36(ro),s.Y36(s.sBO),s.Y36(kb,8),s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.uIk("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),s.Udp("height",e._getHeaderHeight()),s.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:_b,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(s.F$t(mb),s.TgZ(0,"span",0),s.Hsn(1),s.Hsn(2,1),s.Hsn(3,2),s.qZA(),s.YNc(4,gb,1,1,"span",1)),2&t&&(s.xp6(4),s.Q6J("ngIf",e._showToggle()))},directives:[n.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}[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:""}\n'],encapsulation:2,data:{animation:[bb.indicatorRotate]},changeDetection:0}),t})(),Sb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),Mb=(()=>{class t extends ab{constructor(){super(...arguments),this._ownHeaders=new s.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=us(t)}ngAfterContentInit(){this._headers.changes.pipe(zt(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Us(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,Cb,5),2&t){let t;s.iGM(t=s.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[s._Bn([{provide:wb,useExisting:t}]),s.qOj]}),t})(),Eb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,_c,lb,Tl]]}),t})(),Lb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[jc,_c],jc,_c]}),t})();function xb(t,e){1&t&&s.Hsn(0)}const Db=["*"];let Rb=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),zb=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),Pb=0;const Ib="edit",Ob="done",Hb="error",Yb=new s.OlP("STEPPER_GLOBAL_OPTIONS");let Bb=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new s.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=us(t)}get optional(){return this._optional}set optional(t){this._optional=us(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=us(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=us(t)}_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))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36((0,s.Gpc)(()=>jb)),s.Y36(Yb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,zb,5),2&t){let t;s.iGM(t=s.CRH())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,7),2&t){let t;s.iGM(t=s.CRH())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[s.TTD],ngContentSelectors:Db,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.YNc(0,xb,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),jb=(()=>{class t{constructor(t,e,i,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=i,this._destroyed=new wt.xQ,this.steps=new s.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new s.vpe,this._orientation="horizontal",this._groupId=Pb++,this._document=n}get linear(){return this._linear}set linear(t){this._linear=us(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var e;const i=ls(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe(zt(this._steps),Gu(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new Us(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,_t.of)()).pipe(zt(this._layoutDirection()),Gu(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),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._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(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const i=this.steps.toArray()[t],n=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,n):this._getGuidelineLogic(i,n,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?Hb:!t.completed||e?"number":t.editable?Ib:Ob}_getGuidelineLogic(t,e,i="number"){return t._showError&&t.hasError&&!e?Hb:t.completed&&!e?Ob:t.completed&&e?i:t.editable&&e?Ib:i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=as(t),i=t.keyCode,n=this._keyManager;null==n.activeItemIndex||e||i!==is&&i!==ts?n.onKeydown(t):(this.selectedIndex=n.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jb))},t.\u0275dir=s.lG2({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleClick()}),2&t&&s.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),Nb=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jb))},t.\u0275dir=s.lG2({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleClick()}),2&t&&s.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),Kb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[_o]]}),t})();function qb(t,e){if(1&t&&s.GkF(0,8),2&t){const t=s.oxw();s.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function Ub(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t._getDefaultTextForState(t.state))}}function Zb(t,e){if(1&t&&(s.TgZ(0,"mat-icon"),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t._getDefaultTextForState(t.state))}}function Gb(t,e){if(1&t&&(s.ynx(0,9),s.YNc(1,Ub,2,1,"span",10),s.YNc(2,Zb,2,1,"mat-icon",11),s.BQk()),2&t){const t=s.oxw();s.Q6J("ngSwitch",t.state),s.xp6(1),s.Q6J("ngSwitchCase","number")}}function Vb(t,e){if(1&t&&(s.TgZ(0,"div",12),s.GkF(1,13),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function $b(t,e){if(1&t&&(s.TgZ(0,"div",12),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.label)}}function Wb(t,e){if(1&t&&(s.TgZ(0,"div",14),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t._intl.optionalLabel)}}function Jb(t,e){if(1&t&&(s.TgZ(0,"div",15),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.errorMessage)}}function Qb(t,e){}function Xb(t,e){if(1&t&&(s.Hsn(0),s.YNc(1,Qb,0,0,"ng-template",0)),2&t){const t=s.oxw();s.xp6(1),s.Q6J("cdkPortalOutlet",t._portal)}}const tA=["*"];function eA(t,e){1&t&&s._UZ(0,"div",9)}const iA=function(t,e){return{step:t,i:e}};function nA(t,e){if(1&t&&(s.ynx(0),s.GkF(1,7),s.YNc(2,eA,1,0,"div",8),s.BQk()),2&t){const t=e.$implicit,i=e.index,n=e.last;s.oxw(2);const o=s.MAs(4);s.xp6(1),s.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",s.WLB(3,iA,t,i)),s.xp6(1),s.Q6J("ngIf",!n)}}function sA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",10),s.NdJ("@horizontalStepTransition.done",function(e){return s.CHM(t),s.oxw(2)._animationDone.next(e)}),s.GkF(1,11),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw(2);s.Q6J("@horizontalStepTransition",n._getAnimationDirection(i))("id",n._getStepContentId(i)),s.uIk("aria-labelledby",n._getStepLabelId(i))("aria-expanded",n.selectedIndex===i),s.xp6(1),s.Q6J("ngTemplateOutlet",t.content)}}function oA(t,e){if(1&t&&(s.ynx(0),s.TgZ(1,"div",3),s.YNc(2,nA,3,6,"ng-container",4),s.qZA(),s.TgZ(3,"div",5),s.YNc(4,sA,2,5,"div",6),s.qZA(),s.BQk()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("ngForOf",t.steps),s.xp6(2),s.Q6J("ngForOf",t.steps)}}function rA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.GkF(1,7),s.TgZ(2,"div",14),s.TgZ(3,"div",15),s.NdJ("@verticalStepTransition.done",function(e){return s.CHM(t),s.oxw(2)._animationDone.next(e)}),s.TgZ(4,"div",16),s.GkF(5,11),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=e.last,o=s.oxw(2),r=s.MAs(4);s.xp6(1),s.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",s.WLB(9,iA,t,i)),s.xp6(1),s.ekj("mat-stepper-vertical-line",!n),s.xp6(1),s.Q6J("@verticalStepTransition",o._getAnimationDirection(i))("id",o._getStepContentId(i)),s.uIk("aria-labelledby",o._getStepLabelId(i))("aria-expanded",o.selectedIndex===i),s.xp6(2),s.Q6J("ngTemplateOutlet",t.content)}}function aA(t,e){if(1&t&&(s.ynx(0),s.YNc(1,rA,6,12,"div",12),s.BQk()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.steps)}}function cA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-step-header",17),s.NdJ("click",function(){return e.step.select()})("keydown",function(e){return s.CHM(t),s.oxw()._onKeydown(e)}),s.qZA()}if(2&t){const t=e.step,i=e.i,n=s.oxw();s.ekj("mat-horizontal-stepper-header","horizontal"===n.orientation)("mat-vertical-stepper-header","vertical"===n.orientation),s.Q6J("tabIndex",n._getFocusIndex()===i?0:-1)("id",n._getStepLabelId(i))("index",i)("state",n._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===i)("active",t.completed||n.selectedIndex===i||!n.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple)("color",t.color||n.color),s.uIk("aria-posinset",i+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)}}let uA=(()=>{class t extends zb{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matStepLabel",""]],features:[s.qOj]}),t})(),lA=(()=>{class t{constructor(){this.changes=new wt.xQ,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const hA={provide:lA,deps:[[new s.FiY,new s.tp0,lA]],useFactory:function(t){return t||new lA}};class dA extends Rb{constructor(t){super(t)}}const pA=yc(dA,"primary");let fA=(()=>{class t extends pA{constructor(t,e,i,n){super(i),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>n.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof uA?null:this.label}_templateLabel(){return this.label instanceof uA?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lA),s.Y36(ro),s.Y36(s.SBq),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,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:[s.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"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(s._UZ(0,"div",0),s.TgZ(1,"div"),s.TgZ(2,"div",1),s.YNc(3,qb,1,2,"ng-container",2),s.YNc(4,Gb,3,2,"ng-container",3),s.qZA(),s.qZA(),s.TgZ(5,"div",4),s.YNc(6,Vb,2,1,"div",5),s.YNc(7,$b,2,1,"div",5),s.YNc(8,Wb,2,1,"div",6),s.YNc(9,Jb,2,1,"div",7),s.qZA()),2&t&&(s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),s.xp6(1),s.Gre("mat-step-icon-state-",e.state," mat-step-icon"),s.ekj("mat-step-icon-selected",e.selected),s.xp6(1),s.Q6J("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(2),s.ekj("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),s.xp6(1),s.Q6J("ngIf",e._templateLabel()),s.xp6(1),s.Q6J("ngIf",e._stringLabel()),s.xp6(1),s.Q6J("ngIf",e.optional&&"error"!=e.state),s.xp6(1),s.Q6J("ngIf","error"==e.state))},directives:[Vc,n.RF,n.n9,n.ED,n.O5,n.tP,ig],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.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,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.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}),t})();const gA={horizontalStepTransition:Ao("horizontalStepTransition",[So("previous",Co({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),So("current",Co({transform:"none",visibility:"inherit"})),So("next",Co({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Eo("* => *",vo("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Ao("verticalStepTransition",[So("previous",Co({height:"0px",visibility:"hidden"})),So("next",Co({height:"0px",visibility:"hidden"})),So("current",Co({height:"*",visibility:"inherit"})),Eo("* <=> current",vo("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let mA=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),_A=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),wA=(()=>{class t extends Bb{constructor(t,e,i,n){super(t,n),this._errorStateMatcher=e,this._viewContainerRef=i,this._isSelected=Jt.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,xt.w)(()=>this._stepper.selectionChange.pipe((0,Lt.U)(t=>t.selectedStep===this),zt(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new wl(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36((0,s.Gpc)(()=>vA)),s.Y36(Hc,4),s.Y36(s.s_b),s.Y36(Yb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,uA,5),s.Suo(i,_A,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.stepLabel=t.first),s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[s._Bn([{provide:Hc,useExisting:t},{provide:Bb,useExisting:t}]),s.qOj],ngContentSelectors:tA,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Xb,2,1,"ng-template"))},directives:[kl],encapsulation:2,changeDetection:0}),t})(),yA=(()=>{class t extends jb{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})(),bA=(()=>{class t extends yA{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-horizontal-stepper"]],features:[s.qOj]}),t})(),AA=(()=>{class t extends yA{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-vertical-stepper"]],features:[s.qOj]}),t})(),vA=(()=>{class t extends jb{constructor(t,e,i,n){super(t,e,i,n),this.steps=new s.n_E,this.animationDone=new s.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new wt.xQ;const o=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===o?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(Gu(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Iu((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),Gu(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mo,8),s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(n.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,wA,5),s.Suo(i,mA,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._steps=t),s.iGM(t=s.CRH())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(fA,5),2&t){let t;s.iGM(t=s.CRH())&&(e._stepHeader=t)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(s.uIk("aria-orientation",e.orientation),s.ekj("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[s._Bn([{provide:jb,useExisting:t},{provide:bA,useExisting:t},{provide:AA,useExisting:t}]),s.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(t,e){1&t&&(s.ynx(0,0),s.YNc(1,oA,5,2,"ng-container",1),s.YNc(2,aA,2,1,"ng-container",1),s.BQk(),s.YNc(3,cA,1,22,"ng-template",null,2,s.W1O)),2&t&&(s.Q6J("ngSwitch",e.orientation),s.xp6(1),s.Q6J("ngSwitchCase","horizontal"),s.xp6(1),s.Q6J("ngSwitchCase","vertical"))},directives:[n.RF,n.n9,n.sg,n.tP,n.O5,fA],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}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[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:[gA.horizontalStepTransition,gA.verticalStepTransition]},changeDetection:0}),t})(),kA=(()=>{class t extends Fb{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ikx("type",e.type)},inputs:{type:"type"},features:[s.qOj]}),t})(),TA=(()=>{class t extends Nb{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ikx("type",e.type)},inputs:{type:"type"},features:[s.qOj]}),t})(),CA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[hA,Hc],imports:[[_c,n.ez,Tl,mu,Kb,ng,$c],_c]}),t})();const SA=["mat-calendar-body",""];function MA(t,e){if(1&t&&(s.TgZ(0,"tr",2),s.TgZ(1,"td",3),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.uIk("colspan",t.numCols),s.xp6(1),s.hij(" ",t.label," ")}}function EA(t,e){if(1&t&&(s.TgZ(0,"td",7),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.uIk("colspan",t._firstRowOffset),s.xp6(1),s.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function LA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",8),s.NdJ("click",function(e){const i=s.CHM(t).$implicit;return s.oxw(2)._cellClicked(i,e)}),s.TgZ(1,"div",9),s._uU(2),s.qZA(),s._UZ(3,"div",10),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw().index,o=s.oxw();s.Udp("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),s.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",o._isActiveCell(n,i))("mat-calendar-body-range-start",o._isRangeStart(t.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",o._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(t.compareValue,n,i))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(t.compareValue,n,i))("mat-calendar-body-comparison-start",o._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",o._isInPreview(t.compareValue)),s.Q6J("ngClass",t.cssClasses)("tabindex",o._isActiveCell(n,i)?0:-1),s.uIk("data-mat-row",n)("data-mat-col",i)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",o._isSelected(t.compareValue)),s.xp6(1),s.ekj("mat-calendar-body-selected",o._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",o.todayValue===t.compareValue),s.xp6(1),s.hij(" ",t.displayValue," ")}}function xA(t,e){if(1&t&&(s.TgZ(0,"tr",4),s.YNc(1,EA,2,6,"td",5),s.YNc(2,LA,4,46,"td",6),s.qZA()),2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.xp6(1),s.Q6J("ngIf",0===i&&n._firstRowOffset),s.xp6(1),s.Q6J("ngForOf",t)}}function DA(t,e){if(1&t&&(s.TgZ(0,"th",5),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.uIk("aria-label",t.long),s.xp6(1),s.Oqu(t.narrow)}}const RA=["*"];function zA(t,e){}function PA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-month-view",5),s.NdJ("activeDateChange",function(e){return s.CHM(t),s.oxw().activeDate=e})("_userSelection",function(e){return s.CHM(t),s.oxw()._dateSelected(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function IA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-year-view",6),s.NdJ("activeDateChange",function(e){return s.CHM(t),s.oxw().activeDate=e})("monthSelected",function(e){return s.CHM(t),s.oxw()._monthSelectedInYearView(e)})("selectedChange",function(e){return s.CHM(t),s.oxw()._goToDateInView(e,"month")}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function OA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-multi-year-view",7),s.NdJ("activeDateChange",function(e){return s.CHM(t),s.oxw().activeDate=e})("yearSelected",function(e){return s.CHM(t),s.oxw()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return s.CHM(t),s.oxw()._goToDateInView(e,"year")}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function HA(t,e){}const YA=["button"];function BA(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",3),s._UZ(1,"path",4),s.qZA())}const jA=[[["","matDatepickerToggleIcon",""]]],FA=["[matDatepickerToggleIcon]"];let NA=(()=>{class t{constructor(){this.changes=new wt.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class KA{constructor(t,e,i,n,s={},o=t,r){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=n,this.cssClasses=s,this.compareValue=o,this.rawValue=r}}let qA=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.vpe,this.previewChange=new s.vpe,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&UA(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:i,numCols:n}=this;(t.rows||e)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!e&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let i=t*this.numCols+e;return t&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Dt.q)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return ZA(t,this.startValue,this.endValue)}_isRangeEnd(t){return GA(t,this.startValue,this.endValue)}_isInRange(t){return VA(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return ZA(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,i){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let n=this.rows[e][i-1];if(!n){const t=this.rows[e-1];n=t&&t[t.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(t,e,i){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let n=this.rows[e][i+1];if(!n){const t=this.rows[e+1];n=t&&t[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(t){return GA(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return VA(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return ZA(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return GA(t,this.previewStart,this.previewEnd)}_isInPreview(t){return VA(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(UA(t)?e=t:UA(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)][parseInt(i)]}return null}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[s.TTD],attrs:SA,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"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(s.YNc(0,MA,3,6,"tr",0),s.YNc(1,xA,3,2,"tr",1)),2&t&&(s.Q6J("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function UA(t){return"TD"===t.nodeName}function ZA(t,e,i){return null!==i&&e!==i&&t=e&&t===i}function VA(t,e,i,n){return n&&null!==e&&null!==i&&e!==i&&t>=e&&t<=i}class $A{constructor(t,e){this.start=t,this.end=e}}let WA=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new wt.xQ,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){const i=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(void 0),s.LFG(Cc))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),JA=(()=>{class t extends WA{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Cc))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const QA={provide:WA,deps:[[new s.FiY,new s.tp0,WA],Cc],useFactory:function(t,e){return t||new JA(e)}},XA=new s.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let tv=(()=>{class t{constructor(t,e,i,n,o){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rangeStrategy=o,this._rerenderSubscription=Jt.w.EMPTY,this.selectedChange=new s.vpe,this._userSelection=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $A?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,i=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(i,n,e);let o,r;this._selected instanceof $A?(o=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):o=r=this._getDateInCurrentMonth(this._selected),o===e&&r===e||this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case ns:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case os:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case ss:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case rs: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=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case ts:case is:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case es:return void(null==this._previewEnd||as(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_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 t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const i=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((t,i)=>({long:t,narrow:e[i]}));this._weekdays=i.slice(t).concat(i.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),i=this._dateAdapter.getMonth(t),n=this._dateAdapter.getDate(t);return new Date(e,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof $A?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(Sc,8),s.Y36(Cc,8),s.Y36(mo,8),s.Y36(XA,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&s.Gf(qA,5),2&t){let t;s.iGM(t=s.CRH())&&(e._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:[s.TTD],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(s.TgZ(0,"table",0),s.TgZ(1,"thead",1),s.TgZ(2,"tr"),s.YNc(3,DA,2,2,"th",2),s.qZA(),s.TgZ(4,"tr"),s._UZ(5,"th",3),s.qZA(),s.qZA(),s.TgZ(6,"tbody",4),s.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Q6J("ngForOf",e._weekdays),s.xp6(3),s.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[n.sg,qA],encapsulation:2,changeDetection:0}),t})();const ev=24;let iv=(()=>{class t{constructor(t,e,i){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=i,this._rerenderSubscription=Jt.w.EMPTY,this.selectedChange=new s.vpe,this.yearSelected=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),nv(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $A?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-sv(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,i=[];ethis._createCellForYear(t))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));this.selectedChange.emit(this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case ns:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case os:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case ss:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case rs:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-sv(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ev-sv(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:ev);break;case ts:case is:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return sv(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),i=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new KA(t,i,i,this._shouldEnableYear(t),n)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,i,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=Jt.w.EMPTY,this.selectedChange=new s.vpe,this.monthSelected=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof $A?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(i);const n=this._dateAdapter.getNumDaysInMonth(i);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,i=this._isRtl();switch(t.keyCode){case ns:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case os:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case ss:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case rs: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,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case ts:case is:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(i,"year"):void 0;return new KA(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(i)==t;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>i||t===i&&e>n}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,i,n,s){this._intl=t,this.calendar=e,this._dateAdapter=i,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+av++,this.calendar.stateChanges.subscribe(()=>s.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)-sv(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+ev-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(i,n)}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:ev)}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(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):nv(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(NA),s.Y36((0,s.Gpc)(()=>uv)),s.Y36(Cc,8),s.Y36(Sc,8),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:RA,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[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(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"button",2),s.NdJ("click",function(){return e.currentPeriodClicked()}),s.TgZ(3,"span"),s._uU(4),s.qZA(),s._UZ(5,"div",3),s.qZA(),s._UZ(6,"div",4),s.Hsn(7),s.TgZ(8,"button",5),s.NdJ("click",function(){return e.previousClicked()}),s.qZA(),s.TgZ(9,"button",6),s.NdJ("click",function(){return e.nextClicked()}),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.uIk("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),s.xp6(1),s.uIk("id",e._buttonDescriptionId),s.xp6(1),s.Oqu(e.periodButtonText),s.xp6(1),s.ekj("mat-calendar-invert","month"!==e.calendar.currentView),s.xp6(3),s.Q6J("disabled",!e.previousEnabled()),s.uIk("aria-label",e.prevButtonLabel),s.xp6(1),s.Q6J("disabled",!e.nextEnabled()),s.uIk("aria-label",e.nextButtonLabel))},directives:[gu,eo],encapsulation:2,changeDetection:0}),t})(),uv=(()=>{class t{constructor(t,e,i,n){this._dateAdapter=e,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new s.vpe,this.yearSelected=new s.vpe,this.monthSelected=new s.vpe,this.viewChanged=new s.vpe(!0),this._userSelection=new s.vpe,this.stateChanges=new wt.xQ,this._intlChanges=t.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof $A?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new _l(this.headerComponent||cv),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(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof $A||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(NA),s.Y36(Cc,8),s.Y36(Sc,8),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(s.Gf(tv,5),s.Gf(rv,5),s.Gf(iv,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.monthView=t.first),s.iGM(t=s.CRH())&&(e.yearView=t.first),s.iGM(t=s.CRH())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[s._Bn([QA]),s.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(t,e){1&t&&(s.YNc(0,zA,0,0,"ng-template",0),s.TgZ(1,"div",1),s.YNc(2,PA,1,8,"mat-month-view",2),s.YNc(3,IA,1,6,"mat-year-view",3),s.YNc(4,OA,1,6,"mat-multi-year-view",4),s.qZA()),2&t&&(s.Q6J("cdkPortalOutlet",e._calendarHeaderPortal),s.xp6(1),s.Q6J("ngSwitch",e.currentView),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngSwitchCase","multi-year"))},directives:[kl,co,n.RF,n.n9,tv,rv,iv],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(33% / 7 - 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:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;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}.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}),t})();const lv={transformPanel:Ao("transformPanel",[Eo("void => enter-dropdown",vo("120ms cubic-bezier(0, 0, 0.2, 1)",Mo([Co({opacity:0,transform:"scale(1, 0.8)"}),Co({opacity:1,transform:"scale(1, 1)"})]))),Eo("void => enter-dialog",vo("150ms cubic-bezier(0, 0, 0.2, 1)",Mo([Co({opacity:0,transform:"scale(0.7)"}),Co({transform:"none",opacity:1})]))),Eo("* => void",vo("100ms linear",Co({opacity:0})))]),fadeInCalendar:Ao("fadeInCalendar",[So("void",Co({opacity:0})),So("enter",Co({opacity:1})),Eo("void => *",vo("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let hv=0;const dv=new s.OlP("mat-datepicker-scroll-strategy"),pv={provide:dv,deps:[ih],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class fv{constructor(t){this._elementRef=t}}const gv=yc(fv);let mv=(()=>{class t extends gv{constructor(t,e,i,n,s,o){super(t),this._changeDetectorRef=e,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=s,this._subscriptions=new Jt.w,this._animationDone=new wt.xQ,this._actionsPortal=null,this._closeButtonText=o.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(t){const e=this._model.selection,i=t.value,n=e instanceof $A;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(i,e,t.event);this._model.updateSelection(n,this)}else!i||!n&&this._dateAdapter.sameDate(i,e)||this._model.add(i);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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(WA),s.Y36(Cc),s.Y36(XA,8),s.Y36(NA))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&s.Gf(uv,5),2&t){let t;s.iGM(t=s.CRH())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&s.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(s.d8E("@transformPanel",e._animationState),s.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-calendar",1),s.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),s.qZA(),s.YNc(2,HA,0,0,"ng-template",2),s.TgZ(3,"button",3),s.NdJ("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),s._uU(4),s.qZA(),s.qZA()),2&t&&(s.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),s.xp6(1),s.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),s.xp6(1),s.Q6J("cdkPortalOutlet",e._actionsPortal),s.xp6(1),s.ekj("cdk-visually-hidden",!e._closeButtonFocused),s.Q6J("color",e.color||"primary"),s.xp6(1),s.Oqu(e._closeButtonText))},directives:[Js,uv,n.mk,kl,gu],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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:[lv.transformPanel,lv.fadeInCalendar]},changeDetection:0}),t})(),_v=(()=>{class t{constructor(t,e,i,n,o,r,a,c,u){this._overlay=e,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=r,this._dir=a,this._model=u,this._inputStateChanges=Jt.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new s.vpe,this.monthSelected=new s.vpe,this.viewChanged=new s.vpe(!0),this.openedStream=new s.vpe,this.closedStream=new s.vpe,this._opened=!1,this.id="mat-datepicker-"+hv++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new wt.xQ,this._scrollStrategy=o}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=us(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=us(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=us(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=function(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}(t)}get opened(){return this._opened}set opened(t){us(t)?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(t){const e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){const t=this._overlayRef.getConfig().positionStrategy;t instanceof Gl&&(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(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=Ls(),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,Dt.q)(1)).subscribe(()=>this._destroyOverlay())}const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const t=this.touchUi,e=this.datepickerInput.getOverlayLabelId(),i=new _l(mv,this._viewContainerRef),n=this._overlayRef=this._overlay.create(new Ol({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),s=n.overlayElement;s.setAttribute("role","dialog"),e&&s.setAttribute("aria-labelledby",e),t&&s.setAttribute("aria-modal","true"),this._getCloseStream(n).subscribe(t=>{t&&t.preventDefault(),this.close()}),this._componentRef=n.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,Dt.q)(1)).subscribe(()=>n.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",i="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",s="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:s,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:s},{originX:i,originY:s,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:s}])}_getCloseStream(t){return(0,Cl.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,gt.h)(t=>t.keyCode===es&&!as(t)||this.datepickerInput&&as(t,"altKey")&&t.keyCode===ss)))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(ih),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(dv),s.Y36(Cc,8),s.Y36(mo,8),s.Y36(n.K0,8),s.Y36(WA))},t.\u0275dir=s.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[s.TTD]}),t})(),wv=(()=>{class t extends _v{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s._Bn([QA,{provide:_v,useExisting:t}]),s.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();class yv{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let bv=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dateAdapter=e,this._dateFormats=i,this.dateChange=new s.vpe,this.dateInput=new s.vpe,this.stateChanges=new wt.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Jt.w.EMPTY,this._localeSubscription=Jt.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMinDate();return!i||!e||this._dateAdapter.compareDate(i,e)<=0?null:{matDatepickerMin:{min:i,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),i=this._getMaxDate();return!i||!e||this._dateAdapter.compareDate(i,e)>=0?null:{matDatepickerMax:{max:i,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=us(t),i=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&i.blur&&i.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new yv(this,this._elementRef.nativeElement)),this.dateChange.emit(new yv(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const i=Object.keys(t);for(let n of i){const{previousValue:i,currentValue:s}=t[n];if(!e.isDateInstance(i)||!e.isDateInstance(s))return!0;if(!e.sameDate(i,s))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===rs&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let i=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._dateAdapter.sameDate(i,this.value)?(t&&!this.value&&this._cvaOnChange(i),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(i),this._cvaOnChange(i),this.dateInput.emit(new yv(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new yv(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Cc,8),s.Y36(Sc,8))},t.\u0275dir=s.lG2({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.TTD]}),t})();const Av={provide:Jh,useExisting:(0,s.Gpc)(()=>kv),multi:!0},vv={provide:nd,useExisting:(0,s.Gpc)(()=>kv),multi:!0};let kv=(()=>{class t extends bv{constructor(t,e,i,n){super(t,e,i),this._formField=n,this._closedSubscription=Jt.w.EMPTY,this._validator=rd.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&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(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Cc,8),s.Y36(Sc,8),s.Y36(Kh,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&s.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(s.Ikx("disabled",e.disabled),s.uIk("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s._Bn([Av,vv,{provide:zm,useExisting:t}]),s.qOj]}),t})(),Tv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Cv=(()=>{class t{constructor(t,e,i){this._intl=t,this._changeDetectorRef=e,this._stateChanges=Jt.w.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=us(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,_t.of)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,_t.of)(),i=this.datepicker?(0,Cl.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,_t.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Cl.T)(this._intl.changes,t,e,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(NA),s.Y36(s.sBO),s.$8M("tabindex"))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,Tv,5),2&t){let t;s.iGM(t=s.CRH())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(YA,5),2&t){let t;s.iGM(t=s.CRH())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._open(t)}),2&t&&(s.uIk("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),s.ekj("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.TTD],ngContentSelectors:FA,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(t,e){1&t&&(s.F$t(jA),s.TgZ(0,"button",0,1),s.YNc(2,BA,2,0,"svg",2),s.Hsn(3),s.qZA()),2&t&&(s.Q6J("disabled",e.disabled)("disableRipple",e.disableRipple),s.uIk("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),s.xp6(2),s.Q6J("ngIf",!e._customIcon))},directives:[gu,n.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}),t})(),Sv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[NA,pv],imports:[[n.ez,mu,ch,fo,Tl,_c],fl]}),t})();const Mv=["mat-sort-header",""];function Ev(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",3),s.NdJ("@arrowPosition.start",function(){return s.CHM(t),s.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return s.CHM(t),s.oxw()._disableViewStateAnimation=!1}),s._UZ(1,"div",4),s.TgZ(2,"div",5),s._UZ(3,"div",6),s._UZ(4,"div",7),s._UZ(5,"div",8),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),s.xp6(2),s.Q6J("@indicator",t._getArrowDirectionState()),s.xp6(1),s.Q6J("@leftPointer",t._getArrowDirectionState()),s.xp6(1),s.Q6J("@rightPointer",t._getArrowDirectionState())}}const Lv=["*"],xv=new s.OlP("MAT_SORT_DEFAULT_OPTIONS");class Dv{}const Rv=kc(wc(Dv));let zv=(()=>{class t extends Rv{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new wt.xQ,this.start="asc",this._direction="",this.sortChange=new s.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=us(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let o=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(xv,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.qOj,s.TTD]}),t})();const Pv=fc.ENTERING+" "+pc.STANDARD_CURVE,Iv={indicator:Ao("indicator",[So("active-asc, asc",Co({transform:"translateY(0px)"})),So("active-desc, desc",Co({transform:"translateY(10px)"})),Eo("active-asc <=> active-desc",vo(Pv))]),leftPointer:Ao("leftPointer",[So("active-asc, asc",Co({transform:"rotate(-45deg)"})),So("active-desc, desc",Co({transform:"rotate(45deg)"})),Eo("active-asc <=> active-desc",vo(Pv))]),rightPointer:Ao("rightPointer",[So("active-asc, asc",Co({transform:"rotate(45deg)"})),So("active-desc, desc",Co({transform:"rotate(-45deg)"})),Eo("active-asc <=> active-desc",vo(Pv))]),arrowOpacity:Ao("arrowOpacity",[So("desc-to-active, asc-to-active, active",Co({opacity:1})),So("desc-to-hint, asc-to-hint, hint",Co({opacity:.54})),So("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Co({opacity:0})),Eo("* => asc, * => desc, * => active, * => hint, * => void",vo("0ms")),Eo("* <=> *",vo(Pv))]),arrowPosition:Ao("arrowPosition",[Eo("* => desc-to-hint, * => desc-to-active",vo(Pv,Mo([Co({transform:"translateY(-25%)"}),Co({transform:"translateY(0)"})]))),Eo("* => hint-to-desc, * => active-to-desc",vo(Pv,Mo([Co({transform:"translateY(0)"}),Co({transform:"translateY(25%)"})]))),Eo("* => asc-to-hint, * => asc-to-active",vo(Pv,Mo([Co({transform:"translateY(25%)"}),Co({transform:"translateY(0)"})]))),Eo("* => hint-to-asc, * => active-to-asc",vo(Pv,Mo([Co({transform:"translateY(0)"}),Co({transform:"translateY(-25%)"})]))),So("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Co({transform:"translateY(0)"})),So("hint-to-desc, active-to-desc, desc",Co({transform:"translateY(-25%)"})),So("hint-to-asc, active-to-asc, asc",Co({transform:"translateY(25%)"}))]),allowChildren:Ao("allowChildren",[Eo("* <=> *",[xo("@*",Lo(),{optional:!0})])])};let Ov=(()=>{class t{constructor(){this.changes=new wt.xQ}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Hv={provide:Ov,deps:[[new s.FiY,new s.tp0,Ov]],useFactory:function(t){return t||new Ov}};class Yv{}const Bv=wc(Yv);let jv=(()=>{class t extends Bv{constructor(t,e,i,n,s,o){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=us(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||t.keyCode!==is&&t.keyCode!==ts||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=(0,Cl.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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Ov),s.Y36(s.sBO),s.Y36(zv,8),s.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),s.Y36(ro),s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(s.uIk("aria-sort",e._getAriaSortAttribute()),s.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[s.qOj],attrs:Mv,ngContentSelectors:Lv,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.YNc(3,Ev,6,6,"div",2),s.qZA()),2&t&&(s.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),s.uIk("tabindex",e._isDisabled()?null:0),s.xp6(3),s.Q6J("ngIf",e._renderArrow()))},directives:[n.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:[Iv.indicator,Iv.leftPointer,Iv.rightPointer,Iv.arrowOpacity,Iv.arrowPosition,Iv.allowChildren]},changeDetection:0}),t})(),Fv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Hv],imports:[[n.ez,_c]]}),t})(),Nv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ng,n.ez]]}),t})();const Kv=new s.OlP("mat-chips-default-options"),qv={separatorKeyCodes:[ts]};let Uv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Hc,{provide:Kv,useValue:qv}],imports:[[_c]]}),t})();function Zv(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function Gv(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Vv(t,e){const i=e?"":"none";Gv(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function $v(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function Wv(t,e){return e?t+" "+e:t}function Jv(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function Qv(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function Xv(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function tk(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function ek(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function ik(t,e,i,n){const{top:s,right:o,bottom:r,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>s-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:Xv(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let o,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,r=t.left}else o=e.scrollTop,r=e.scrollLeft;const a=s.top-o,c=s.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&ek(t.clientRect,a,c)}),s.top=o,s.left=r,{top:a,left:c}}}function sk(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new nk(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=us(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Vv(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>fs(t)),this._handles.forEach(t=>Vv(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=fs(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,lk),e.addEventListener("touchstart",this._pointerDown,uk)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?fs(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&fk(this._rootElement),fk(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Vv(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Vv(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&fk(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&fk(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){gk(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),$v(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,o).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=gk(e),s=!n&&0!==e.button,o=this._rootElement,r=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=Xv(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){$v(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=mk(s,this._document),this._previewRef=s,t.matchSize?_k(n,e):n.style.transform=dk(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=sk(t),_k(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return Gv(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),Vv(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=Qv(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),o=Qv(e,"transition-duration"),r=Qv(e,"transition-delay");return Jv(o[s])+Jv(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=mk(this._placeholderRef,this._document)):i=sk(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,o=gk(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-r.left),y:s.top-i.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=gk(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+e,a=s.bottom-(o.height-e);i=pk(i,s.left+t,s.right-(o.width-t)),n=pk(n,r,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),r=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),r>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Vv(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,lk),t.removeEventListener("touchstart",this._pointerDown,uk)}_applyRootElementTransform(t,e){const i=dk(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=Wv(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=dk(t,e);this._preview.style.transform=Wv(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,o=n.right-i.right,r=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>n.height?(r>0&&(e+=r),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:gk(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&ek(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Es(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return fs(i)}}function dk(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function pk(t,e,i){return Math.max(e,Math.min(i,t))}function fk(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function gk(t){return"t"===t.type[0]}function mk(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function _k(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=dk(e.left,e.top)}function wk(t,e){return Math.max(0,Math.min(e,t))}class yk{constructor(t,e,i,n,s){this._dragDropRegistry=e,this._ngZone=n,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new wt.xQ,this.entered=new wt.xQ,this.exited=new wt.xQ,this.dropped=new wt.xQ,this.sorted=new wt.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Jt.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new wt.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=Yu.P){return(!Ku(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=Yu.P),new vt.y(i=>(i.add(e.schedule(Zv,t,{subscriber:i,counter:0,period:t})),i))}(0,Cu).pipe(Gu(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?Ak(t,-e):2===this._verticalScrollDirection&&Ak(t,e),1===this._horizontalScrollDirection?vk(t,-e):2===this._horizontalScrollDirection&&vk(t,e)})},this.element=fs(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new nk(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const o=this._activeDraggables,r=o.indexOf(t),a=t.getPlaceholderElement();let c=o[s];if(c===t&&(c=o[s+1]),r>-1&&o.splice(r,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(a,e),o.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=o[0].getRootElement();e.parentNode.insertBefore(a,e),o.unshift(t)}else fs(this.element).appendChild(a),o.push(t);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,o,r){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:r})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=fs(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?bk("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!ik(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=bk(s,e=>e.drag===t),c=s[o],u=c.clientRect,l=a>o?1:-1,h=this._getItemOffsetPx(s[a].clientRect,u,l),d=this._getSiblingOffsetPx(a,s,l),p=s.slice();!function(t,e,i){const n=wk(e,t.length-1),s=wk(i,t.length-1);if(n===s)return;const o=t[n],r=s{if(p[i]===e)return;const n=e.drag===t,s=n?h:d,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=Wv(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),ek(e.clientRect,0,s)):(o.style.transform=Wv(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),ek(e.clientRect,s,0))}),this._previousSwap.overlaps=tk(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=r?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!i&&ik(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=kk(e,n),o=Tk(e,i);let r=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,t,e),(n||s)&&(i=r))}),!n&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};n=kk(a,e),s=Tk(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=fs(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=fs(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:Xv(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=fs(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let r=s[n?"width":"height"]*i;if(o){const t=n?"left":"top",e=n?"right":"bottom";-1===i?r-=o.clientRect[t]-s[e]:r+=s[t]-o.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,o=bk(this._itemPositions,({drag:o,clientRect:r},a,c)=>{if(o===t)return c.length<2;if(n){const t=s?n.x:n.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!tk(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=fs(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{ek(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 t=Es(fs(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function bk(t,e){for(let i=0;i=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function Tk(t,e){const{left:i,right:n,width:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}const Ck=Cs({passive:!1,capture:!0});let Sk=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new wt.xQ,this.pointerUp=new wt.xQ,this.scroll=new wt.xQ,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Ck)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Ck)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Ck}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:Ck}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})();const Mk={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Ek=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=Mk){return new hk(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new yk(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.R0b),s.LFG(pl),s.LFG(Sk))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0),s.LFG(s.R0b),s.LFG(pl),s.LFG(Sk))},token:t,providedIn:"root"}),t})(),Lk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Ek],imports:[fl]}),t})(),xk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Dk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Rk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Dk,_c],_c]}),t})(),zk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[$c,_c],_c]}),t})(),Pk=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,_p,mu,sb,ng,Lm,of]]}),t})(),Ik=(()=>{class t extends zc{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Ok={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 Hk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Cc,useClass:Ik},{provide:Sc,useValue:Ok}],imports:[[n.ez,sb,N_,mp,Uv,Lk,kg,Un,Fv,yf,Lm,Nv,ng,Bf,mu,of,Uh,_p,Bm,$c,wm,xk,Rk,Sv,zk,uu,jp,Pk,gl,Kg,Tg]]}),t})(),Yk=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),Bk=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&s.NdJ("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})();i(6577);let jk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,qy,Bw,Eb,mu,Lb,sb,ng,N_,Kg,Lm,Uh,Bm,gl,mp,_p,CA,Sv,Oc,Hw,Xw,Hk,Bf,lw,Fv,yf,of,jp],qy,Bw,Eb,mu,Lb,sb,ng,N_,Kg,Lm,Uh,Bm,gl,mp,_p,CA,Sv,Oc,Hw,Xw,Hk,Bf,lw,Fv,yf,of,jp]}),t})(),Fk=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",2),s._uU(5),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.ok()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.SHOW_CITE.TITLE")),s.xp6(3),s.hij(" ",e.publication.main," "),s.xp6(3),s.hij(" ",s.lcZ(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[jg,Fg,Ng,gu],pipes:[vg],styles:[""]}),t})();function Nk(t,e){1&t&&(s.TgZ(0,"mat-icon",2),s._uU(1," error "),s.qZA())}const Kk=["*"];let qk=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:Kk,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.YNc(1,Nk,2,0,"mat-icon",1),s.Hsn(2),s.qZA()),2&t&&(s.ekj("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),s.xp6(1),s.Q6J("ngIf","error"!==e.alert_type))},directives:[n.O5,ig],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})(),Uk=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"userFullName",type:t,pure:!0}),t})();function Zk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){s.CHM(t);const i=s.oxw();return e?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function Gk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",20),s.TgZ(1,"mat-checkbox",21),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function Vk(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_ID")))}function $k(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function Wk(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")))}function Jk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw().lockOrUnlockPublication(e)})("mouseenter",function(){return s.CHM(t),s.oxw(2).buttonPressed=!0})("mouseleave",function(){return s.CHM(t),s.oxw(2).buttonPressed=!1}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"lock"),s.qZA(),s.qZA()}2&t&&s.s9C("matTooltip",s.lcZ(1,1,"PUBLICATIONS_LIST.LOCKED"))}function Qk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw().lockOrUnlockPublication(e)})("mouseenter",function(){return s.CHM(t),s.oxw(2).buttonPressed=!0})("mouseleave",function(){return s.CHM(t),s.oxw(2).buttonPressed=!1}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon"),s._uU(3,"lock_open"),s.qZA(),s.qZA()}2&t&&s.s9C("matTooltip",s.lcZ(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function Xk(t,e){if(1&t&&(s.TgZ(0,"td",20),s.YNc(1,Jk,4,3,"button",23),s.YNc(2,Qk,4,3,"button",23),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngIf",t.locked),s.xp6(1),s.Q6J("ngIf",!t.locked)}}function tT(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")))}function eT(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.title)}}function iT(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")))}function nT(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"userFullName"),s._UZ(3,"br"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,t),"")}}function sT(t,e){if(1&t&&(s.TgZ(0,"td",20),s.YNc(1,nT,4,3,"span",25),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t.authors)}}function oT(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")))}function rT(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.year)}}function aT(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")))}function cT(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.categoryName)}}function uT(t,e){1&t&&(s.TgZ(0,"th",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")))}function lT(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s._UZ(2,"br"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.ownerName,"")}}function hT(t,e){if(1&t&&(s.TgZ(0,"td",20),s.YNc(1,lT,3,1,"span",25),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngForOf",t.thanks)}}function dT(t,e){1&t&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function pT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",20),s.TgZ(1,"button",26),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().showCite(e)})("mouseenter",function(){return s.CHM(t),s.oxw().buttonPressed=!0})("mouseleave",function(){return s.CHM(t),s.oxw().buttonPressed=!1}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.qZA()}2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function fT(t,e){1&t&&s._UZ(0,"tr",27)}const gT=function(t,e){return[t,e]};function mT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"tr",28),s.NdJ("click",function(){const e=s.CHM(t).$implicit,i=s.oxw();return i.disabledRouting&&i.openInTab&&!i.buttonPressed?i.emitPublication(e):null}),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.Q6J("perunWebAppsMiddleClickRouterLink",i.disabledRouting||i.buttonPressed?null:s.WLB(2,gT,i.routerPath,t.id))("routerLink",i.disabledRouting||i.buttonPressed?null:s.WLB(5,gT,i.routerPath,t.id))}}function _T(t,e){1&t&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let wT=(()=>{class t{constructor(t,e,i,n,o){this.tableCheckbox=t,this.cabinetService=e,this.dialog=i,this.notificator=n,this.translate=o,this.selection=new cl(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSize=10,this.page=new s.vpe,this.pageSizeOptions=Ug,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new s.vpe,this.buttonPressed=!1,o.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(t=>this.changeLockMessage=t),o.get("PUBLICATIONS_LIST.LOCKED").subscribe(t=>this.locked=t),o.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(t=>this.unlocked=t)}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new K_(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"lock":return String(t.locked);case"title":return t.title;case"reportedBy":{let e="";return t.authors.forEach(t=>e+=Zg(t)+";"),e.slice(0,-1)}case"year":return t.year.toString();case"category":return t.categoryName;case"thankedTo":{let e="";return t.thanks.forEach(t=>e+=t.ownerName+";"),e.slice(0,-1)}default:return t[e]}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(t,e)=>$g(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(t){this.selection.toggle(t)}showCite(t){const e=Gg();e.width="500px",e.data=t,this.dialog.open(Fk,e)}lockOrUnlockPublication(t){this.cabinetService.lockPublications({publications:[this.createPublication(t)],lock:!t.locked}).subscribe(()=>{this.notificator.showSuccess(t.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),t.locked=!t.locked})}createPublication(t){return{id:t.id,externalId:t.externalId,publicationSystemId:t.publicationSystemId,categoryId:t.categoryId,createdBy:t.createdBy,createdDate:t.createdDate,doi:t.doi,isbn:t.isbn,locked:t.locked,main:t.main,rank:t.rank,title:t.title,year:t.year}}emitPublication(t){return this.publicationSelector.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mm),s.Y36(Z),s.Y36(Yg),s.Y36(dm),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(zv,7),s.Gf(nm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{page:"page",publicationSelector:"publicationSelector"},features:[s.TTD],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,Zk,2,3,"th",4),s.YNc(5,Gk,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Vk,3,3,"th",7),s.YNc(8,$k,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,Wk,3,3,"th",7),s.YNc(11,Xk,3,2,"td",5),s.BQk(),s.ynx(12,9),s.YNc(13,tT,3,3,"th",7),s.YNc(14,eT,2,1,"td",5),s.BQk(),s.ynx(15,10),s.YNc(16,iT,3,3,"th",7),s.YNc(17,sT,2,1,"td",5),s.BQk(),s.ynx(18,11),s.YNc(19,oT,3,3,"th",7),s.YNc(20,rT,2,1,"td",5),s.BQk(),s.ynx(21,12),s.YNc(22,aT,3,3,"th",7),s.YNc(23,cT,2,1,"td",5),s.BQk(),s.ynx(24,13),s.YNc(25,uT,3,3,"th",7),s.YNc(26,hT,2,1,"td",5),s.BQk(),s.ynx(27,14),s.YNc(28,dT,3,3,"th",4),s.YNc(29,pT,4,3,"td",5),s.BQk(),s.YNc(30,fT,1,0,"tr",15),s.YNc(31,mT,1,8,"tr",16),s.qZA(),s.qZA(),s.qZA(),s.YNc(32,_T,3,3,"app-alert",17)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.publications.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.publications.length&&e.allowAlert))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,ib,H_,jv,gu,ef,ig,n.sg,j_,F_,Bk,Rn,qk],pipes:[vg,Uk],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}"]}),t})();function yT(t,e){1&t&&s._UZ(0,"mat-spinner",7)}const bT=function(){return["id","title","year"]};function AT(t,e){if(1&t&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s._UZ(3,"perun-web-apps-publications-list",9),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),s.xp6(2),s.Q6J("publications",t.publications)("routerPath",null)("displayedColumns",s.DdM(6,bT))}}let vT=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.cabinetService=s,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(t=>{this.notificator.showSuccess(t),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg),s.Y36(dm),s.Y36(Ag),s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,yT,1,0,"mat-spinner",2),s.YNc(5,AT,4,7,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.remove()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[jg,n.O5,Ng,gu,Em,Fg,wT],pipes:[vg],styles:[""]}),t})();const kT="GUI_CONFIG.PREF_PAGE_SIZE.";let TT=(()=>{class t{constructor(){}getString(t){return localStorage.getItem(t)}getNumber(t){return parseInt(localStorage.getItem(t),10)}setNumber(t,e){localStorage.setItem(t,e.toString())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),CT=(()=>{class t{constructor(t){this.guiConfigService=t}getTablePageSize(t){const e=this.guiConfigService.getNumber(kT+t);if(!isNaN(e))return e;const i=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(i)?10:i}setTablePageSize(t,e){this.guiConfigService.setNumber(kT+t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(TT))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ST="67",MT="68";let ET=(()=>{class t{constructor(){this.refresh=new s.vpe}onClickbutton(t){this.refresh.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(t){return e.onClickbutton(t)}),s.ALo(1,"translate"),s._UZ(2,"mat-icon",1),s.qZA()),2&t&&(s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),s.Q6J("disabled",e.disabled),s.xp6(2),s.s9C("svgIcon",e.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[gu,ef,ig],pipes:[vg],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}"]}),t})();var LT=i(9609);const xT=i.n(LT)()||LT,DT=new s.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function RT(t,e){const i=Array(t);for(let n=0;n{class t extends Cc{constructor(t,e){super(),this._options=e,this.setLocale(t||xT.locale())}setLocale(t){super.setLocale(t);let e=xT.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:RT(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,i){const n=this._createMoment({year:t,month:e,date:i}).locale(this.locale);return n.isValid(),n}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,xT.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return xT.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return xT.invalid()}_createMoment(t,e,i){const{strict:n,useUtc:s}=this._options||{};return s?xT.utc(t,e,i,n):xT(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Tc,8),s.LFG(DT,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Cc,useClass:zT,deps:[Tc,DT]}]}),t})(),IT=(()=>{class t{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(t,e,i){t.setValue(e),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,i.close()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",0),s.NdJ("click",function(){return s.CHM(t),s.MAs(7).open()}),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s._UZ(4,"input",1),s._UZ(5,"mat-datepicker-toggle",2),s.TgZ(6,"mat-datepicker",3,4),s.NdJ("yearSelected",function(i){s.CHM(t);const n=s.MAs(7);return e.chosenYearHandler(e.startYear,i,n)}),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field",0),s.NdJ("click",function(){return s.CHM(t),s.MAs(15).open()}),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._UZ(12,"input",5),s._UZ(13,"mat-datepicker-toggle",2),s.TgZ(14,"mat-datepicker",3,6),s.NdJ("yearSelected",function(i){s.CHM(t);const n=s.MAs(15);return e.chosenYearHandler(e.endYear,i,n)}),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(7),i=s.MAs(15);s.xp6(2),s.Oqu(s.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),s.xp6(2),s.Q6J("matDatepicker",t)("max",e.startMaxYear)("formControl",e.startYear),s.xp6(1),s.Q6J("for",t),s.xp6(5),s.Oqu(s.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),s.xp6(2),s.Q6J("matDatepicker",i)("min",e.endMinYear)("max",e.endMaxYear)("formControl",e.endYear),s.xp6(1),s.Q6J("for",i)}},directives:[qh,Ph,Ym,kv,td,Cd,cp,Cv,Yh,wv],pipes:[vg],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:auto!important}"]}),t})();function OT(t,e){if(1&t&&(s.TgZ(0,"mat-option",12),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t.name," ")}}const HT=LT,YT={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let BT=(()=>{class t{constructor(t){this.cabinetService=t,this.title=new $d,this.code=new $d,this.startYear=new $d(HT()),this.endYear=new $d(HT()),this.filteredPublication=new s.vpe}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.selectedMode="isbn/issn"})}filter(){const t={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,n.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,n.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 $d(HT()),this.endYear=new $d(HT()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[s._Bn([{provide:Cc,useClass:zT,deps:[Tc]},{provide:Sc,useValue:YT}])],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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-form-field",1),s._UZ(2,"input",2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",1),s.TgZ(5,"mat-label"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"mat-select",3),s.NdJ("valueChange",function(t){return e.selectedMode=t}),s.TgZ(9,"mat-option",4),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"mat-option",5),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(15,"mat-form-field",6),s._UZ(16,"input",2),s.ALo(17,"translate"),s.qZA(),s.TgZ(18,"mat-form-field",1),s.TgZ(19,"mat-label"),s._uU(20),s.ALo(21,"translate"),s.qZA(),s.TgZ(22,"mat-select",3),s.NdJ("valueChange",function(t){return e.selectedCategory=t}),s.TgZ(23,"mat-option",7),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.YNc(26,OT,2,2,"mat-option",8),s.qZA(),s.qZA(),s._UZ(27,"perun-web-apps-year-range",9),s.TgZ(28,"button",10),s.NdJ("click",function(){return e.filter()}),s.TgZ(29,"mat-icon"),s._uU(30,"search"),s.qZA(),s._uU(31),s.ALo(32,"translate"),s.qZA(),s.TgZ(33,"button",11),s.NdJ("click",function(){return e.clearFilter()}),s.TgZ(34,"mat-icon"),s._uU(35,"search_off"),s.qZA(),s._uU(36),s.ALo(37,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.s9C("placeholder",s.lcZ(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),s.Q6J("formControl",e.title),s.xp6(4),s.Oqu(s.lcZ(7,18,"PUBLICATION_FILTER.SELECT_MODE")),s.xp6(2),s.Q6J("value",e.selectedMode),s.xp6(2),s.Oqu(s.lcZ(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),s.xp6(3),s.Oqu(s.lcZ(14,22,"PUBLICATION_FILTER.DOI")),s.xp6(3),s.s9C("placeholder",s.lcZ(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),s.Q6J("formControl",e.code),s.xp6(4),s.Oqu(s.lcZ(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),s.xp6(2),s.Q6J("value",e.selectedCategory),s.xp6(2),s.Oqu(s.lcZ(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),s.xp6(2),s.Q6J("ngForOf",e.categories),s.xp6(1),s.Q6J("startYear",e.startYear)("endYear",e.endYear),s.xp6(4),s.hij(" ",s.lcZ(32,30,"PUBLICATION_FILTER.FILTER")," "),s.xp6(5),s.hij(" ",s.lcZ(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[qh,Ym,td,Cd,cp,Ph,Bp,au,n.sg,IT,gu,ig],pipes:[vg],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:auto!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:auto!important}"]}),t})();function jT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publications-list",10),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("publications",t.publications)("selection",t.selected)("routerPath","/all-publications")("pageSize",t.pageSize)}}function FT(t,e){1&t&&s._UZ(0,"mat-spinner",11)}let NT=(()=>{class t{constructor(t,e,i,n,s,o){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.dialog=n,this.matIconRegistry=s,this.domSanitizer=o,this.selected=new cl(!0,[]),this.tableId=MT,this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}removePublication(){const t=Gg();t.width="500px",t.data=this.selected.selected,this.dialog.open(vT,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,null).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,null).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(Z),s.Y36(CT),s.Y36(Yg),s.Y36(Gf),s.Y36(z))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","page",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","pageSize","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._UZ(2,"mat-icon",2),s.TgZ(3,"span",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.qZA(),s.TgZ(6,"div",4),s.TgZ(7,"perun-web-apps-refresh-button",5),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(8,"button",6),s.NdJ("click",function(){return e.removePublication()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"perun-web-apps-publication-filter",7),s.NdJ("filteredPublication",function(t){return e.filterPublication(t)}),s.qZA(),s.qZA(),s.YNc(12,jT,1,4,"perun-web-apps-publications-list",8),s.YNc(13,FT,1,0,"mat-spinner",9),s.qZA()),2&t&&(s.xp6(4),s.Oqu(s.lcZ(5,5,"ALL_PUBLICATIONS.TITLE")),s.xp6(4),s.Q6J("disabled",0===e.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(10,7,"ALL_PUBLICATIONS.REMOVE")," "),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[ig,ET,gu,BT,n.O5,wT,Em],pipes:[vg],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),t})();function KT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publications-list",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/my-publications")}}function qT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",6),s.TgZ(2,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA(),s.TgZ(3,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().removePublication()}),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"perun-web-apps-publication-filter",9),s.NdJ("filteredPublication",function(e){return s.CHM(t),s.oxw().filterPublication(e)}),s.qZA(),s.qZA(),s.YNc(7,KT,1,4,"perun-web-apps-publications-list",10),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Q6J("disabled",0===t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(5,3,"MY_PUBLICATIONS.REMOVE")," "),s.xp6(3),s.Q6J("ngIf",!t.loading)}}function UT(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let ZT=(()=>{class t{constructor(t,e,i,n,s){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.dialog=n,this.authResolver=s,this.selected=new cl(!0,[]),this.tableId=MT}ngOnInit(){this.initLoading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.authResolver.getPerunPrincipal().subscribe(t=>{this.authorId=t.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const t=Gg();t.width="500px",t.data=this.selected.selected,this.dialog.open(vT,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.authorId).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,this.authorId).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(Z),s.Y36(CT),s.Y36(Yg),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","routerPath","page",4,"ngIf"],[3,"publications","selection","pageSize","routerPath","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"mat-icon",2),s._uU(3,"local_library"),s.qZA(),s.TgZ(4,"span",3),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.YNc(7,qT,8,5,"div",4),s.YNc(8,UT,1,0,"mat-spinner",5),s.qZA()),2&t&&(s.xp6(5),s.Oqu(s.lcZ(6,3,"MY_PUBLICATIONS.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.initLoading),s.xp6(1),s.Q6J("ngIf",e.loading||e.initLoading))},directives:[ig,n.O5,ET,gu,BT,wT,Em],pipes:[vg],styles:[""]}),t})(),GT=(()=>{class t{constructor(t){this.router=t}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dn))},t.\u0275cmp=s.Xpm({type:t,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",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"span"),s.TgZ(3,"mat-icon",2),s._uU(4,"add_box"),s.qZA(),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"div",4),s.TgZ(9,"mat-card",5),s.TgZ(10,"mat-card-title"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"mat-card-content",6),s.TgZ(14,"div"),s._uU(15),s.ALo(16,"translate"),s.qZA(),s.TgZ(17,"button",7),s.NdJ("click",function(){return e.importPublications()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(20,"div",4),s.TgZ(21,"mat-card",5),s.TgZ(22,"mat-card-title"),s._uU(23),s.ALo(24,"translate"),s.qZA(),s.TgZ(25,"mat-card-content",6),s.TgZ(26,"div"),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.TgZ(29,"button",7),s.NdJ("click",function(){return e.createPublication()}),s._uU(30),s.ALo(31,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(5),s.hij(" ",s.lcZ(6,7,"CREATE_PUBLICATION.TITLE")," "),s.xp6(6),s.hij(" ",s.lcZ(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),s.xp6(4),s.hij(" ",s.lcZ(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),s.xp6(3),s.hij(" ",s.lcZ(19,13,"CREATE_PUBLICATION.IMPORT")," "),s.xp6(5),s.hij(" ",s.lcZ(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),s.xp6(4),s.hij(" ",s.lcZ(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),s.xp6(3),s.hij(" ",s.lcZ(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[ig,Ky,Ny,Fy,gu],pipes:[vg],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}"]}),t})();const VT=["groupFilterInput"];let $T=(()=>{class t{constructor(){this.filter=new s.vpe}ngOnInit(){yu(this.groupFilterInput.nativeElement,"keyup").pipe((0,Lt.U)(t=>t.target.value),(0,cs.b)(500),Iu()).subscribe(t=>{this.filter.emit(t)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(t,e){if(1&t&&s.Gf(VT,7),2&t){let t;s.iGM(t=s.CRH())&&(e.groupFilterInput=t.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-3"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(t,e){1&t&&(s.TgZ(0,"mat-form-field",0),s._UZ(1,"input",1,2),s.ALo(3,"translate"),s.qZA()),2&t&&(s.xp6(1),s.s9C("placeholder",s.lcZ(3,1,e.placeholder)))},directives:[qh,Ym],pipes:[vg],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})();function WT(t,e){1&t&&s._UZ(0,"th",18)}function JT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"mat-checkbox",20),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function QT(t,e){1&t&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"AUTHORS_LIST.ID")))}function XT(t,e){if(1&t&&(s.TgZ(0,"td",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function tC(t,e){1&t&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"AUTHORS_LIST.NAME")))}function eC(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t))}}function iC(t,e){1&t&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"AUTHORS_LIST.ORGANIZATION")))}function nC(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Oqu(i.parseAttribute(t,"organization"))}}function sC(t,e){1&t&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"AUTHORS_LIST.EMAIL")))}function oC(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Oqu(i.parseAttribute(t,"preferredMail"))}}function rC(t,e){1&t&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")))}function aC(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.authorships.length.toString())}}function cC(t,e){1&t&&s._UZ(0,"th",18)}function uC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"button",23),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().onAddClick(e)}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.qZA()}2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,1,"AUTHORS_LIST.ADD")," "))}function lC(t,e){1&t&&s._UZ(0,"th",18)}function hC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"button",24),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().onRemoveClick(e)}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.qZA()}2&t&&(s.xp6(2),s.hij(" ",s.lcZ(3,1,"AUTHORS_LIST.REMOVE")," "))}function dC(t,e){1&t&&s._UZ(0,"tr",25)}const pC=function(t){return["/authors",t]};function fC(t,e){if(1&t&&s._UZ(0,"tr",26),2&t){const t=e.$implicit,i=s.oxw();s.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:s.VKq(2,pC,t.id))("routerLink",i.disableRouting?null:s.VKq(4,pC,t.id))}}function gC(t,e){1&t&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function mC(t,e){1&t&&(s.TgZ(0,"app-alert",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let _C=(()=>{class t{constructor(){this.authors=[],this.pageSize=10,this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=Ug,this.page=new s.vpe,this.addAuthor=new s.vpe,this.removeAuthor=new s.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new K_(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(t,e){var i;switch(e){case"id":return t.id.toString();case"name":return t.lastName?t.lastName:null!==(i=t.firstName)&&void 0!==i?i:"";case"organization":return Jg(t,"organization");case"email":return Jg(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}getFilterDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return function(t){let e="";return null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}(t);case"organization":return Jg(t,"organization");case"email":return Jg(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}getExportDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return Zg(t);case"organization":return Jg(t,"organization");case"email":return Jg(t,"preferredMail");case"numberOfPublications":return t.authorships.length.toString();default:return t[e]}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}parseAttribute(t,e){let i="";return t.attributes&&t.attributes.forEach(t=>{t.friendlyName===e&&(i=t.value)}),i}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`}onAddClick(t){this.addAuthor.emit(t)}onRemoveClick(t){this.removeAuthor.emit(t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Wg(t,e,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(t,e)=>$g(t,e,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(zv,7),s.Gf(nm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{authors:"authors",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page",addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[s.TTD],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","numberOfPublications"],["matColumnDef","add"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-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"],[3,"alert_type"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,WT,1,0,"th",4),s.YNc(5,JT,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,QT,3,3,"th",7),s.YNc(8,XT,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,tC,3,3,"th",7),s.YNc(11,eC,3,3,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,iC,3,3,"th",7),s.YNc(14,nC,2,1,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,sC,3,3,"th",7),s.YNc(17,oC,2,1,"td",9),s.BQk(),s.ynx(18,12),s.YNc(19,rC,3,3,"th",7),s.YNc(20,aC,2,1,"td",9),s.BQk(),s.ynx(21,13),s.YNc(22,cC,1,0,"th",4),s.YNc(23,uC,4,3,"td",5),s.BQk(),s.ynx(24,14),s.YNc(25,lC,1,0,"th",4),s.YNc(26,hC,4,3,"td",5),s.BQk(),s.YNc(27,dC,1,0,"tr",15),s.YNc(28,fC,1,6,"tr",16),s.qZA(),s.qZA(),s.qZA(),s.YNc(29,gC,3,4,"app-alert",17),s.YNc(30,mC,3,4,"app-alert",17)),2&t&&(s.Q6J("hidden",0===e.authors.length||0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(25),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0!==e.authors.length&&0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("ngIf",0===e.authors.length))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,H_,ib,jv,gu,j_,F_,Bk,Rn,qk],pipes:[vg,Uk],styles:[""]}),t})();function wC(t,e){1&t&&s._UZ(0,"mat-spinner",8)}const yC=function(){return["id","name","organization","email","numberOfPublications"]};function bC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-authors-list",9),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("authors",t.authors)("displayedColumns",s.DdM(4,yC))("filterValue",t.filterValue)("pageSize",t.pageSize)}}let AC=(()=>{class t{constructor(t,e){this.tableConfigService=t,this.cabinetService=e,this.filterValue="",this.tableId=ST}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(t=>{this.authors=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(CT),s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"mat-icon",2),s._uU(3,"assignment_ind"),s.qZA(),s.TgZ(4,"span",3),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"perun-web-apps-refresh-button",4),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(8,"perun-web-apps-debounce-filter",5),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(9,wC,1,0,"mat-spinner",6),s.YNc(10,bC,1,5,"perun-web-apps-authors-list",7),s.qZA()),2&t&&(s.xp6(5),s.Oqu(s.lcZ(6,4,"AUTHORS_PAGE.TITLE")),s.xp6(3),s.Q6J("placeholder","AUTHORS_PAGE.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ig,ET,$T,n.O5,Em,_C],pipes:[vg],styles:[""]}),t})();function vC(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function kC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",6),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",6),s.ALo(10,"translate"),s.TgZ(11,"mat-error"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.TgZ(14,"p",7),s._uU(15),s.ALo(16,"translate"),s.qZA(),s.qZA(),s.TgZ(17,"div",8),s.TgZ(18,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"div",10),s.ALo(22,"translate"),s.TgZ(23,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,12,"DIALOGS.ADD_CATEGORY.NAME")),s.Q6J("formControl",t.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,16,"DIALOGS.ADD_CATEGORY.RANK")),s.Q6J("formControl",t.rankCtrl),s.xp6(3),s.hij(" ",s.lcZ(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),s.xp6(3),s.Oqu(s.lcZ(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),s.xp6(4),s.hij(" ",s.lcZ(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),s.Q6J("matTooltipDisabled",t.nameCtrl.valid&&t.rankCtrl.valid),s.xp6(2),s.Q6J("disabled",t.nameCtrl.invalid||t.rankCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let TC=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.notificator=e,this.cabinetManagerService=i,this.translate=n,n.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.nameCtrl=new $d(null,[rd.required,rd.pattern("^[\\w.-]+( [\\w.-]+)*$"),rd.maxLength(128)]),this.rankCtrl=new $d(null,[rd.required,rd.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(dm),s.Y36(Z),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,vC,1,0,"mat-spinner",2),s.YNc(5,kC,26,28,"div",3),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[jg,n.O5,Em,Fg,qh,Ym,td,fp,Cd,cp,Eh,Ng,gu,ef],pipes:[vg],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function CC(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function SC(t,e){1&t&&s._UZ(0,"th",14)}function MC(t,e){if(1&t&&(s.TgZ(0,"td",15),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.name," ")}}function EC(t,e){1&t&&s._UZ(0,"tr",16)}function LC(t,e){1&t&&s._UZ(0,"tr",17)}function xC(t,e){if(1&t&&(s.TgZ(0,"div",6),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",7),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",8),s.ynx(8,9),s.YNc(9,SC,1,0,"th",10),s.YNc(10,MC,2,1,"td",11),s.BQk(),s.YNc(11,EC,1,0,"tr",12),s.YNc(12,LC,1,0,"tr",13),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function DC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",18),s.TgZ(1,"button",19),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",20),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let RC=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.translate=n,this.cabinetManagerService=s,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new K_(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(t=>{this.loading=!1,this.notificator.showSuccess(t),this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg),s.Y36(dm),s.Y36(Ag),s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,CC,1,0,"mat-spinner",2),s.YNc(5,xC,13,9,"div",3),s.YNc(6,DC,7,7,"div",4),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[jg,n.O5,Em,Fg,R_,I_,P_,z_,Y_,B_,O_,H_,j_,F_,Ng,gu],pipes:[vg],styles:[""]}),t})();function zC(t,e){if(1&t&&(s._UZ(0,"input",3),s.ALo(1,"translate")),2&t){const t=s.oxw();s.s9C("placeholder",s.lcZ(1,2,t.placeholder)),s.Q6J("formControl",t.formControl)}}function PC(t,e){if(1&t&&(s._UZ(0,"input",4),s.ALo(1,"translate")),2&t){const t=s.oxw();s.s9C("placeholder",s.lcZ(1,2,t.placeholder)),s.Q6J("formControl",t.formControl)}}let IC=(()=>{class t{constructor(){this.filter=new s.vpe,this.autoFocus=!1,this.formControl=new $d}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-form-field",0),s.YNc(1,zC,2,4,"input",1),s.YNc(2,PC,2,4,"input",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.autoFocus),s.xp6(1),s.Q6J("ngIf",!e.autoFocus))},directives:[qh,n.O5,Ym,td,Yk,Cd,cp],pipes:[vg],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),t})();function OC(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function HC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",6),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"p",7),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.TgZ(11,"div",8),s.TgZ(12,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"div",10),s.ALo(16,"translate"),s.TgZ(17,"button",11),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.s9C("placeholder",s.lcZ(4,9,"DIALOGS.UPDATE_RANK.RANK")),s.Q6J("formControl",t.rankCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),s.xp6(3),s.Oqu(s.lcZ(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),s.xp6(4),s.hij(" ",s.lcZ(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),s.xp6(2),s.s9C("matTooltip",s.lcZ(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),s.Q6J("matTooltipDisabled",t.rankCtrl.valid),s.xp6(2),s.Q6J("disabled",t.rankCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let YC=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.notificator=i,this.cabinetManagerService=n,this.translate=s,this.categoryName="",s.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new $d(this.data.rank,[rd.required,rd.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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg),s.Y36(dm),s.Y36(Z),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,OC,1,0,"mat-spinner",2),s.YNc(5,HC,20,21,"div",3),s.qZA()),2&t&&(s.xp6(2),s.AsE("",s.lcZ(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",e.categoryName,""),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[jg,n.O5,Em,Fg,qh,Ym,td,fp,Cd,cp,Eh,Ng,gu,ef],pipes:[vg],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})();function BC(t,e){1&t&&s._UZ(0,"th",14)}function jC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",15),s.TgZ(1,"mat-checkbox",16),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function FC(t,e){1&t&&(s.TgZ(0,"th",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"CATEGORIES_LIST.ID")))}function NC(t,e){if(1&t&&(s.TgZ(0,"td",15),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function KC(t,e){1&t&&(s.TgZ(0,"th",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"CATEGORIES_LIST.NAME")))}function qC(t,e){if(1&t&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function UC(t,e){1&t&&(s.TgZ(0,"th",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"CATEGORIES_LIST.RANK")))}function ZC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",18),s._uU(1),s.TgZ(2,"button",19),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().updateCategory(e)}),s.TgZ(3,"mat-icon"),s._uU(4,"edit"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.rank)}}function GC(t,e){1&t&&s._UZ(0,"tr",20)}function VC(t,e){1&t&&s._UZ(0,"tr",21)}function $C(t,e){1&t&&(s.TgZ(0,"app-alert",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let WC=(()=>{class t{constructor(t,e,i){this.guiAuthResolver=t,this.tableCheckbox=e,this.dialog=i,this.categories=[],this.selection=new cl(!0,[]),this.pageSize=10,this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=Ug,this.page=new s.vpe,this.refreshTable=new s.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new K_(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"rank":return t.rank.toString();default:return t[e]}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Wg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>$g(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}itemSelectionToggle(t){this.selection.toggle(t)}updateCategory(t){const e=Gg();e.width="400px",e.data=t,this.dialog.open(YC,e).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ft),s.Y36(mm),s.Y36(Yg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(zv,7),s.Gf(nm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page",refreshTable:"refreshTable"},features:[s.TTD],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,BC,1,0,"th",4),s.YNc(5,jC,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,FC,3,3,"th",7),s.YNc(8,NC,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,KC,3,3,"th",7),s.YNc(11,qC,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,UC,3,3,"th",7),s.YNc(14,ZC,5,1,"td",9),s.BQk(),s.YNc(15,GC,1,0,"tr",11),s.YNc(16,VC,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(17,$C,3,3,"app-alert",13)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.categories.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.categories.length))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,H_,ib,jv,gu,ig,j_,F_,qk],pipes:[vg],styles:[""]}),t})();function JC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().addCategory()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CATEGORIES_PAGE.CREATE")," "))}function QC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().removeCategory()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",!t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"CATEGORIES_PAGE.REMOVE")," ")}}function XC(t,e){1&t&&s._UZ(0,"mat-spinner",10)}const tS=function(){return["select","id","name","rank"]},eS=function(){return["name","rank"]};function iS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-categories-list",11),s.NdJ("refreshTable",function(){return s.CHM(t),s.oxw().refreshTable()})("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("categories",t.categories)("filterValue",t.filterValue)("displayedColumns",t.removeAuth?s.DdM(5,tS):s.DdM(6,eS))("pageSize",t.pageSize)("selection",t.selected)}}let nS=(()=>{class t{constructor(t,e,i,n){this.cabinetManagerService=t,this.tableConfigService=e,this.dialog=i,this.guiAuthResolver=n,this.categories=[],this.selected=new cl(!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(t=>{this.categories=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}addCategory(){const t=Gg();t.width="400px",t.data={},this.dialog.open(TC,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}removeCategory(){const t=Gg();t.width="400px",t.data=this.selected.selected,this.dialog.open(RC,t).afterClosed().subscribe(t=>{t&&(this.selected.clear(),this.refreshTable())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z),s.Y36(CT),s.Y36(Yg),s.Y36(ft))},t.\u0275cmp=s.Xpm({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","pageSize","selection","refreshTable","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","pageSize","selection","refreshTable","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",2),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.YNc(5,JC,3,3,"button",3),s.YNc(6,QC,3,4,"button",4),s.TgZ(7,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(8,XC,1,0,"mat-spinner",6),s.YNc(9,iS,1,7,"perun-web-apps-categories-list",7),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"CATEGORIES_PAGE.TITLE")),s.xp6(3),s.Q6J("ngIf",e.addAuth),s.xp6(1),s.Q6J("ngIf",e.removeAuth),s.xp6(1),s.Q6J("placeholder","CATEGORIES_PAGE.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",e.categories&&!e.loading))},directives:[ET,n.O5,IC,gu,Em,WC],pipes:[vg],styles:[""]}),t})();function sS(t,e){1&t&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.ID")))}function oS(t,e){if(1&t&&(s.TgZ(0,"td",15),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function rS(t,e){1&t&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")))}function aS(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.friendlyName)}}function cS(t,e){1&t&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")))}function uS(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu("empty"===t.loginNamespace?"":t.loginNamespace)}}function lS(t,e){1&t&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.URL")))}function hS(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu("empty"===t.url?"":t.url)}}function dS(t,e){1&t&&(s.TgZ(0,"th",14),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")))}function pS(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu("empty"===t.type?"":t.type)}}function fS(t,e){1&t&&s._UZ(0,"tr",17)}function gS(t,e){1&t&&s._UZ(0,"tr",18)}function mS(t,e){1&t&&(s.TgZ(0,"app-alert",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"NO_FILTER_RESULTS"),"\n"))}let _S=(()=>{class t{constructor(){this.publicationSystems=[],this.pageSize=10,this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=Ug,this.page=new s.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new K_(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"friendlyName":return t.friendlyName;case"url":return t.url;case"loginNamespace":return t.loginNamespace;case"type":return t.type;default:return t[e]}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Wg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>$g(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(zv,7),s.Gf(nm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{page:"page"},features:[s.TTD],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,sS,3,3,"th",4),s.YNc(5,oS,2,1,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,rS,3,3,"th",4),s.YNc(8,aS,2,1,"td",7),s.BQk(),s.ynx(9,8),s.YNc(10,cS,3,3,"th",4),s.YNc(11,uS,2,1,"td",7),s.BQk(),s.ynx(12,9),s.YNc(13,lS,3,3,"th",4),s.YNc(14,hS,2,1,"td",7),s.BQk(),s.ynx(15,10),s.YNc(16,dS,3,3,"th",4),s.YNc(17,pS,2,1,"td",7),s.BQk(),s.YNc(18,fS,1,0,"tr",11),s.YNc(19,gS,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,mS,3,3,"app-alert",13)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.publicationSystems.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.publicationSystems.length))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,jv,H_,j_,F_,qk],pipes:[vg],styles:[""]}),t})();function wS(t,e){1&t&&s._UZ(0,"mat-spinner",6)}function yS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publication-systems-list",7),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("publicationSystems",t.publicationSystems)("filterValue",t.filterValue)("pageSize",t.pageSize)}}let bS=(()=>{class t{constructor(t,e){this.cabinetManagerService=t,this.tableConfigService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(t=>{this.publicationSystems=t,this.loading=!1})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z),s.Y36(CT))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","page",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","pageSize","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",2),s.NdJ("refresh",function(){return e.refreshTable()}),s.qZA(),s.TgZ(5,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(6,wS,1,0,"mat-spinner",4),s.YNc(7,yS,1,3,"perun-web-apps-publication-systems-list",5),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),s.xp6(3),s.Q6J("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",e.publicationSystems&&!e.loading))},directives:[ET,IC,n.O5,Em,_S],pipes:[vg],styles:[""]}),t})();function AS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publications-list",11),s.NdJ("page",function(e){return s.CHM(t),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("publications",t.publications)("selection",t.selected)("pageSize",t.pageSize)("routerPath","/authors/"+t.author.id+"/publication")}}function vS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"h5"),s._uU(2),s.ALo(3,"userFullName"),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",6),s.TgZ(6,"perun-web-apps-refresh-button",7),s.NdJ("refresh",function(){return s.CHM(t),s.oxw().refreshTable()}),s.qZA(),s.TgZ(7,"button",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().removePublication()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"perun-web-apps-publication-filter",9),s.NdJ("filteredPublication",function(e){return s.CHM(t),s.oxw().filterPublication(e)}),s.qZA(),s.qZA(),s.YNc(11,AS,1,4,"perun-web-apps-publications-list",10),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.AsE("",s.lcZ(3,5,t.author),"",s.lcZ(4,7,"AUTHOR_DETAIL.TITLE"),""),s.xp6(5),s.Q6J("disabled",0===t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(9,9,"AUTHOR_DETAIL.REMOVE")," "),s.xp6(3),s.Q6J("ngIf",!t.loading)}}function kS(t,e){1&t&&s._UZ(0,"mat-spinner",12)}let TS=(()=>{class t{constructor(t,e,i,n,s){this.route=t,this.cabinetService=e,this.tableConfigService=i,this.userService=n,this.dialog=s,this.selected=new cl(!0,[]),this.tableId=MT}ngOnInit(){this.initLoading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.route.params.subscribe(t=>{this.userService.getUserById(t.authorId).subscribe(t=>{this.author=t,this.initLoading=!1,this.refreshTable()})})}removePublication(){const t=Gg();t.width="500px",t.data=this.selected.selected,this.dialog.open(vT,t).afterClosed().subscribe(t=>{t&&this.refreshTable()})}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}filterPublication(t){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(t.title,null,null,null,null,t.category,+t.startYear,+t.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(Z),s.Y36(CT),s.Y36(ot),s.Y36(Yg))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","routerPath","page",4,"ngIf"],[3,"publications","selection","pageSize","routerPath","page"],[1,"ml-auto","mr-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"mat-icon",2),s._uU(3,"assignment_ind"),s.qZA(),s.TgZ(4,"span",3),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.YNc(7,vS,12,11,"div",4),s.YNc(8,kS,1,0,"mat-spinner",5),s.qZA()),2&t&&(s.xp6(5),s.Oqu(s.lcZ(6,3,"AUTHORS_PAGE.TITLE")),s.xp6(2),s.Q6J("ngIf",!e.initLoading),s.xp6(1),s.Q6J("ngIf",e.loading||e.initLoading))},directives:[ig,n.O5,ET,gu,BT,wT,Em],pipes:[vg,Uk],styles:[""]}),t})();const CS=function(){return["id","name","organization","email","add"]};function SS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-authors-list",14),s.NdJ("addAuthor",function(e){return s.CHM(t),s.oxw(3).addAuthor(e)})("page",function(e){return s.CHM(t),s.oxw(3).pageChangedAuthors(e)}),s.qZA()}if(2&t){const t=s.oxw(3);s.Q6J("authors",t.authors)("disableRouting",!0)("pageSize",t.pageSizeAuthors)("displayedColumns",s.DdM(4,CS))}}function MS(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","info"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function ES(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,SS,1,5,"perun-web-apps-authors-list",13),s.YNc(2,MS,3,4,"app-alert",12),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.firstSearchDone),s.xp6(1),s.Q6J("ngIf",!t.firstSearchDone)}}function LS(t,e){1&t&&s._UZ(0,"mat-spinner",16)}const xS=function(){return["id","name","organization","email","remove"]};function DS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-authors-list",18),s.NdJ("removeAuthor",function(e){return s.CHM(t),s.oxw(3).removeAuthor(e)})("page",function(e){return s.CHM(t),s.oxw(3).pageChangedAuthorsToAdd(e)}),s.qZA()}if(2&t){const t=s.oxw(3);s.Q6J("reloadTable",t.reloadTable)("authors",t.authorsToAdd)("disableRouting",!0)("pageSize",t.pageSizeAddAuthors)("displayedColumns",s.DdM(5,xS))}}function RS(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,DS,1,6,"perun-web-apps-authors-list",17),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",t.firstSearchDone)}}function zS(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function PS(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,ES,3,2,"div",6),s.YNc(2,LS,1,0,"mat-spinner",7),s.TgZ(3,"h2",11),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.YNc(6,RS,2,1,"div",6),s.YNc(7,zS,3,4,"app-alert",12),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",!t.searchLoading),s.xp6(1),s.Q6J("ngIf",t.searchLoading),s.xp6(2),s.Oqu(s.lcZ(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")),s.xp6(2),s.Q6J("ngIf",t.firstSearchDone&&0!==t.authorsToAdd.length),s.xp6(1),s.Q6J("ngIf",0===t.authorsToAdd.length)}}function IS(t,e){1&t&&s._UZ(0,"mat-spinner",16)}let OS=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.notificator=i,this.tableConfigService=n,this.cabinetService=s,this.translate=o,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors=ST,this.selection=new cl(!1,[]),this.reloadTable=!1,o.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),this.publicationId=e.publicationId,this.alreadyAddedAuthors=e.alreadyAddedAuthors}ngOnInit(){this.searchControl=new $d("",[rd.required,rd.pattern(".*[\\S]+.*")]),this.pageSizeAuthors=5,this.pageSizeAddAuthors=5}onSearchByString(){this.searchLoading=!0;const t=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(e=>{e=e.filter(e=>t.map(t=>t.id).indexOf(e.id)<=-1),this.authors=e,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const t=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:t.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(t){this.authors=this.authors.filter(e=>e!==t),this.authorsToAdd.push(t),this.reloadTable=!this.reloadTable}removeAuthor(t){this.authorsToAdd=this.authorsToAdd.filter(e=>e!==t)}pageChangedAuthors(t){this.pageSizeAuthors=t.pageSize,this.tableConfigService.setTablePageSize(this.tableIdAuthors,t.pageSize)}pageChangedAuthorsToAdd(t){this.pageSizeAddAuthors=t.pageSize,this.tableConfigService.setTablePageSize(this.tableIdAuthors,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg),s.Y36(dm),s.Y36(CT),s.Y36(Z),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,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"],[3,"alert_type",4,"ngIf"],[3,"authors","disableRouting","pageSize","displayedColumns","addAuthor","page",4,"ngIf"],[3,"authors","disableRouting","pageSize","displayedColumns","addAuthor","page"],[3,"alert_type"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","pageSize","displayedColumns","removeAuthor","page",4,"ngIf"],[3,"reloadTable","authors","disableRouting","pageSize","displayedColumns","removeAuthor","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"mat-form-field",3),s.TgZ(6,"label"),s.TgZ(7,"input",4),s.NdJ("keyup.enter",function(){return e.onSearchByString()}),s.ALo(8,"translate"),s.qZA(),s.qZA(),s.TgZ(9,"mat-error"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.TgZ(12,"button",5),s.NdJ("click",function(){return e.onSearchByString()}),s.TgZ(13,"mat-icon"),s._uU(14,"search"),s.qZA(),s.qZA(),s.YNc(15,PS,8,7,"div",6),s.qZA(),s.YNc(16,IS,1,0,"mat-spinner",7),s.TgZ(17,"div",8),s.TgZ(18,"button",9),s.NdJ("click",function(){return e.onCancel()}),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.TgZ(21,"button",10),s.NdJ("click",function(){return e.onAdd()}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),s.xp6(5),s.s9C("placeholder",s.lcZ(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),s.Q6J("formControl",e.searchControl),s.xp6(3),s.hij(" ",s.lcZ(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),s.xp6(2),s.Q6J("disabled",e.searchLoading||""===e.searchControl.value.trim()),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(3),s.hij(" ",s.lcZ(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===e.authorsToAdd.length||e.loading),s.xp6(1),s.hij(" ",s.lcZ(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[jg,Fg,qh,Ym,td,Cd,cp,Eh,gu,ig,n.O5,Ng,_C,qk,Em],pipes:[vg],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),t})();function HS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAddAuthors()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function YS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemoveAuthors()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length||t.publication.locked),s.xp6(1),s.hij(" ",s.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function BS(t,e){1&t&&s._UZ(0,"mat-spinner",8)}const jS=function(){return["id","name","organization","email"]},FS=function(){return["select","id","name","organization","email"]};function NS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-authors-list",9),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("authors",t.publication.authors)("selection",t.selection)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?s.DdM(5,jS):s.DdM(6,FS))}}let KS=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.cabinetService=e,this.notificator=i,this.translate=n,this.tableConfigService=s,this.selection=new cl(!0,[]),this.filterValue="",this.loading=!1,this.tableId=ST}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(t=>{this.publication.authors=t,this.selection.clear(),this.loading=!1})}onAddAuthors(){const t=Gg();t.width="800px",t.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(OS,t).afterClosed().subscribe(t=>{t&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const t=Gg();t.width="800px",t.data={items:this.selection.selected.map(t=>`${t.titleBefore?t.titleBefore:""} ${t.firstName?t.firstName:""} ${t.lastName?t.lastName:""} ${t.titleAfter?t.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(W_,t).afterClosed().subscribe(t=>{t&&this.removeAuthors(this.selection.selected)})}removeAuthors(t){if(this.loading=!0,t.length){const e=t.pop();this.cabinetService.deleteAuthorship(this.publication.id,e.id).subscribe(()=>{this.removeAuthors(t)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Yg),s.Y36(Z),s.Y36(dm),s.Y36(Ag),s.Y36(CT))},t.\u0275cmp=s.Xpm({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-4",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","pageSize","displayedColumns","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-4",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","pageSize","displayedColumns","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,HS,3,3,"button",1),s.YNc(2,YS,3,4,"button",2),s.TgZ(3,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(4,BS,1,0,"mat-spinner",4),s.YNc(5,NS,1,7,"perun-web-apps-authors-list",5),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",!e.publication.locked),s.xp6(1),s.Q6J("ngIf",!e.publication.locked),s.xp6(1),s.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,IC,gu,Em,_C],pipes:[vg],styles:[""]}),t})();function qS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",15),s.TgZ(1,"mat-checkbox",16),s.NdJ("change",function(e){s.CHM(t);const i=s.oxw();return e?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function US(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function ZS(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")))}function GS(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.id," ")}}function VS(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")))}function $S(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function WS(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")))}function JS(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.contact)}}function QS(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")))}function XS(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.type)}}function tM(t,e){1&t&&s._UZ(0,"tr",21)}function eM(t,e){1&t&&s._UZ(0,"tr",22)}function iM(t,e){1&t&&(s.TgZ(0,"app-alert",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS")))}function nM(t,e){1&t&&(s.TgZ(0,"app-alert",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS")))}let sM=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.owners=[],this.selection=new cl(!0,[]),this.pageSize=10,this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.page=new s.vpe,this.pageSizeOptions=Ug}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"name":return t.name;case"contact":return t.contact;case"type":return t.type;default:return""}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Wg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>$g(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new K_(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ft),s.Y36(mm))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(nm,7),s.Gf(zv,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.child=t.first),s.iGM(t=s.CRH())&&(e.matSort=t.first)}},inputs:{owners:"owners",selection:"selection",pageSize:"pageSize",filterValue:"filterValue",displayedColumns:"displayedColumns"},outputs:{page:"page"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","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",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,qS,2,3,"th",4),s.YNc(5,US,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,ZS,3,3,"th",7),s.YNc(8,GS,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,VS,3,3,"th",7),s.YNc(11,$S,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,WS,3,3,"th",7),s.YNc(14,JS,2,1,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,QS,3,3,"th",7),s.YNc(17,XS,2,1,"td",9),s.BQk(),s.YNc(18,tM,1,0,"tr",12),s.YNc(19,eM,1,0,"tr",13),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,iM,3,3,"app-alert",14),s.YNc(21,nM,3,3,"app-alert",14)),2&t&&(s.Q6J("hidden",!e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",!e.owners.length),s.xp6(1),s.Q6J("ngIf",!e.dataSource.filteredData.length&&e.owners.length))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,ib,H_,jv,j_,F_,qk],pipes:[vg],styles:[""]}),t})();function oM(t,e){1&t&&s._UZ(0,"mat-spinner",4)}const rM=function(){return["select","id","name","contact"]};function aM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"perun-web-apps-immediate-filter",6),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().filterValue=e}),s.qZA(),s.TgZ(3,"perun-web-apps-owners-list",7),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA(),s.qZA(),s.TgZ(4,"div",8),s.TgZ(5,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.Q6J("placeholder","DIALOGS.ADD_THANKS.FILTER"),s.xp6(1),s.Q6J("owners",t.owners)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",s.DdM(13,rM))("selection",t.selected),s.xp6(3),s.hij(" ",s.lcZ(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",0===t.selected.selected.length||t.loading),s.xp6(1),s.hij(" ",s.lcZ(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let cM=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.dialogRef=t,this.data=e,this.ownersManagerService=i,this.storeService=n,this.tableConfigService=s,this.notificator=o,this.translate=r,this.cabinetManagerService=a,this.selected=new cl(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0,this.pageSize=this.tableConfigService.getTablePageSize(this.tableId);const t=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(e=>{this.owners=0!==t.length?e.filter(e=>t.indexOf(e.id)>-1):e,this.owners=this.owners.filter(t=>this.data.thanks.map(t=>t.ownerId).indexOf(t.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),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)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Dg),s.Y36(zg),s.Y36(X),s.Y36(om),s.Y36(CT),s.Y36(dm),s.Y36(Ag),s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,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","pageSize","displayedColumns","selection","page"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,oM,1,0,"mat-spinner",2),s.YNc(5,aM,11,14,"div",3),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.ADD_THANKS.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[jg,n.O5,Em,Fg,IC,sM,Ng,gu],pipes:[vg],styles:[""]}),t})();function uM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",14),s.TgZ(1,"mat-checkbox",15),s.NdJ("change",function(e){s.CHM(t);const i=s.oxw();return e?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function lM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function hM(t,e){1&t&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"THANKS_LIST.ID")))}function dM(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.ownerId)}}function pM(t,e){1&t&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"THANKS_LIST.NAME")))}function fM(t,e){if(1&t&&(s.TgZ(0,"td",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.ownerName)}}function gM(t,e){1&t&&(s.TgZ(0,"th",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"THANKS_LIST.CREATED_BY")))}function mM(t,e){if(1&t&&(s.TgZ(0,"td",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.createdBy)}}function _M(t,e){1&t&&s._UZ(0,"tr",20)}function wM(t,e){1&t&&s._UZ(0,"tr",21)}function yM(t,e){1&t&&(s.TgZ(0,"app-alert",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function bM(t,e){1&t&&(s.TgZ(0,"app-alert",22),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"THANKS_LIST.NO_THANKS"),"\n"))}let AM=(()=>{class t{constructor(t){this.tableCheckbox=t,this.thanks=[],this.filterValue="",this.pageSize=10,this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=Ug,this.selection=new cl(!0,[]),this.page=new s.vpe}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.dataSource=new K_(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.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(t,e){switch(e){case"id":return t.ownerId.toString();case"name":return t.ownerName;default:return t[e]}}exportData(t){Xg(Qg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>Wg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>$g(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mm))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(zv,7),s.Gf(nm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",pageSize:"pageSize",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},outputs:{page:"page"},features:[s.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["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","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],[3,"alert_type"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,uM,2,3,"th",4),s.YNc(5,lM,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,hM,3,3,"th",7),s.YNc(8,dM,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,pM,3,3,"th",7),s.YNc(11,fM,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,gM,3,3,"th",7),s.YNc(14,mM,2,1,"td",9),s.BQk(),s.YNc(15,_M,1,0,"tr",11),s.YNc(16,wM,1,0,"tr",12),s.qZA(),s.qZA(),s.qZA(),s.YNc(17,yM,3,4,"app-alert",13),s.YNc(18,bM,3,4,"app-alert",13)),2&t&&(s.Q6J("hidden",0===e.thanks.length||0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0!==e.thanks.length&&0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("ngIf",0===e.thanks.length))},directives:[nm,R_,zv,I_,P_,z_,Y_,B_,n.O5,O_,ib,H_,jv,j_,F_,qk],pipes:[vg],styles:[""]}),t})();function vM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(t),s.oxw().onAddThanks()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function kM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onRemoveThanks()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",0===t.selection.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function TM(t,e){1&t&&s._UZ(0,"mat-spinner",8)}const CM=function(){return["id","name","createdBy"]},SM=function(){return["select","id","name","createdBy"]};function MM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-thanks-list",9),s.NdJ("page",function(e){return s.CHM(t),s.oxw().pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("thanks",t.publication.thanks)("filterValue",t.filterValue)("pageSize",t.pageSize)("displayedColumns",t.publication.locked?s.DdM(5,CM):s.DdM(6,SM))("selection",t.selection)}}let EM=(()=>{class t{constructor(t,e,i,n,s){this.dialog=t,this.cabinetService=e,this.notificator=i,this.translate=n,this.tableConfigService=s,this.selection=new cl(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(t=>{this.publication=t,this.selection.clear(),this.loading=!1})}onAddThanks(){const t=Gg();t.width="800px",t.data=this.publication,this.dialog.open(cM,t).afterClosed().subscribe(t=>{t&&this.refresh()})}onRemoveThanks(){const t=Gg();t.width="450px",t.data={items:this.selection.selected.map(t=>t.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(W_,t).afterClosed().subscribe(t=>{t&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(t){this.filterValue=t}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Yg),s.Y36(Z),s.Y36(dm),s.Y36(Ag),s.Y36(CT))},t.\u0275cmp=s.Xpm({type:t,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",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-4",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","pageSize","displayedColumns","selection","page",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-flat-button","","color","warn",1,"mr-4",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","pageSize","displayedColumns","selection","page"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,vM,3,3,"button",1),s.YNc(2,kM,3,4,"button",2),s.TgZ(3,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.qZA(),s.YNc(4,TM,1,0,"mat-spinner",4),s.YNc(5,MM,1,7,"perun-web-apps-thanks-list",5),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",!e.publication.locked),s.xp6(1),s.Q6J("ngIf",!e.publication.locked),s.xp6(1),s.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,IC,gu,Em,AM],pipes:[vg],styles:[""]}),t})();function LM(t,e){1&t&&s._UZ(0,"mat-spinner",2)}function xM(t,e){if(1&t&&(s.TgZ(0,"h3",15),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.publication.title)}}function DM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(2);return e.editing=!e.editing}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",17),s._uU(3,"edit"),s.qZA(),s.qZA()}2&t&&s.s9C("matTooltip",s.lcZ(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function RM(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function zM(t,e){if(1&t&&(s.TgZ(0,"mat-form-field",18),s._UZ(1,"textarea",19),s.YNc(2,RM,3,3,"mat-error",1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("formControl",t.titleControl),s.xp6(1),s.Q6J("ngIf",t.titleControl.invalid)}}function PM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",20),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).save()}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",17),s._uU(3,"save"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),s.Q6J("disabled",t.titleControl.invalid)}}function IM(t,e){1&t&&s._UZ(0,"th",21)}function OM(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.key,": ")}}function HM(t,e){1&t&&s._UZ(0,"th",21)}function YM(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.TgZ(2,"span",24),s._uU(3),s.ALo(4,"translate"),s.qZA(),s._uU(5),s.TgZ(6,"span",24),s._uU(7),s.ALo(8,"translate"),s.qZA(),s._uU(9),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(2);s.xp6(1),s.hij(" ",t.value," / "),s.xp6(2),s.hij("",s.lcZ(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),s.xp6(2),s.hij(" ",e.publication.externalId," "),s.xp6(2),s.hij("",s.lcZ(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),s.xp6(2),s.hij(" ",e.publication.pubSystemName," ")}}function BM(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.ALo(2,"date"),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.hij(" ",s.xi3(2,1,t.value,"dd/MM/yyyy")," ")}}function jM(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.hij(" ",t.value," ")}}function FM(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=s.oxw(3).$implicit;s.xp6(1),s.hij(" ",t.value," ")}}function NM(t,e){if(1&t&&(s.TgZ(0,"span"),s.YNc(1,FM,2,1,"span",1),s.qZA()),2&t){const t=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngIf","Id / Origin"!==t.key&&"Create date"!==t.key&&"Created by"!==t.key)}}function KM(t,e){1&t&&(s.TgZ(0,"span"),s._uU(1," - "),s.qZA())}function qM(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,NM,2,1,"span",1),s.YNc(2,KM,2,0,"span",1),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngIf",null!==t.value&&""!==t.value),s.xp6(1),s.Q6J("ngIf",null===t.value||""===t.value)}}function UM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",26),s.NdJ("click",function(){return s.CHM(t),s.MAs(7).open()}),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s._UZ(4,"input",27),s._UZ(5,"mat-datepicker-toggle",28),s.TgZ(6,"mat-datepicker",29,30),s.NdJ("yearSelected",function(e){s.CHM(t);const i=s.MAs(7);return s.oxw(4).chosenYearHandler(e,i)}),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(7),e=s.oxw(4);s.xp6(2),s.Oqu(s.lcZ(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),s.xp6(2),s.Q6J("max",e.maxYear)("matDatepicker",t)("formControl",e.yearControl),s.xp6(1),s.Q6J("for",t)}}function ZM(t,e){if(1&t&&(s.TgZ(0,"mat-option",33),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t.name),s.xp6(1),s.hij(" ",t.name," ")}}function GM(t,e){if(1&t&&(s.TgZ(0,"mat-form-field"),s.TgZ(1,"mat-select",31),s.YNc(2,ZM,2,2,"mat-option",32),s.qZA(),s.qZA()),2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("formControl",t.categoryControl),s.xp6(1),s.Q6J("ngForOf",t.categories)}}function VM(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function $M(t,e){if(1&t&&(s.TgZ(0,"mat-form-field"),s._UZ(1,"input",34),s.YNc(2,VM,3,3,"mat-error",1),s.qZA()),2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("formControl",t.rankControl),s.xp6(1),s.Q6J("ngIf",t.rankControl.invalid)}}function WM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",18),s.TgZ(1,"input",35),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(4).publication.isbn=e}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("ngModel",t.publication.isbn)}}function JM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",18),s.TgZ(1,"input",35),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(4).publication.doi=e}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("ngModel",t.publication.doi)}}function QM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",18),s.TgZ(1,"textarea",36),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(4).publication.main=e}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("ngModel",t.publication.main)}}function XM(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,UM,8,7,"mat-form-field",25),s.YNc(2,GM,3,2,"mat-form-field",1),s.YNc(3,$M,3,2,"mat-form-field",1),s.YNc(4,WM,2,1,"mat-form-field",6),s.YNc(5,JM,2,1,"mat-form-field",6),s.YNc(6,QM,2,1,"mat-form-field",6),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngIf","Year"===t.key),s.xp6(1),s.Q6J("ngIf","Category"===t.key),s.xp6(1),s.Q6J("ngIf","Rank"===t.key),s.xp6(1),s.Q6J("ngIf","ISBN / ISSN"===t.key),s.xp6(1),s.Q6J("ngIf","DOI"===t.key),s.xp6(1),s.Q6J("ngIf","Full cite"===t.key)}}function tE(t,e){if(1&t&&(s.TgZ(0,"td",23),s.YNc(1,YM,10,9,"span",1),s.YNc(2,BM,3,4,"span",1),s.YNc(3,jM,2,1,"span",1),s.YNc(4,qM,3,2,"div",1),s.YNc(5,XM,7,6,"div",1),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(2);s.xp6(1),s.Q6J("ngIf","Id / Origin"===t.key),s.xp6(1),s.Q6J("ngIf","Create date"===t.key),s.xp6(1),s.Q6J("ngIf","Created by"===t.key),s.xp6(1),s.Q6J("ngIf",!i.editing),s.xp6(1),s.Q6J("ngIf",i.editing)}}function eE(t,e){1&t&&s._UZ(0,"tr",37)}function iE(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",3),s.YNc(2,xM,2,1,"h3",4),s.YNc(3,DM,4,3,"button",5),s.YNc(4,zM,3,2,"mat-form-field",6),s.YNc(5,PM,4,4,"button",7),s.qZA(),s.TgZ(6,"table",8),s.ynx(7,9),s.YNc(8,IM,1,0,"th",10),s.YNc(9,OM,2,1,"td",11),s.BQk(),s.ynx(10,12),s.YNc(11,HM,1,0,"th",10),s.YNc(12,tE,6,5,"td",13),s.BQk(),s.YNc(13,eE,1,0,"tr",14),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("ngIf",!t.editing),s.xp6(1),s.Q6J("ngIf",!t.editing&&!t.publication.locked),s.xp6(1),s.Q6J("ngIf",t.editing),s.xp6(1),s.Q6J("ngIf",t.editing),s.xp6(1),s.Q6J("dataSource",t.dataSource),s.xp6(7),s.Q6J("matRowDefColumns",t.displayedColumns)}}const nE=LT,sE={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let oE=(()=>{class t{constructor(t,e,i){this.cabinetService=t,this.notificator=e,this.translate=i,this.categories=[],this.edited=new s.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new cl(!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 t=0;tt.name===this.categoryControl.value).id,e={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:t,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:e}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(t,e){const i=this.yearControl.value;i.year(t.year()),this.yearControl.setValue(i),e.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z),s.Y36(dm),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[s._Bn([{provide:Cc,useClass:zT,deps:[Tc]},{provide:Sc,useValue:sE}])],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(t,e){1&t&&(s.TgZ(0,"div"),s.YNc(1,LM,1,0,"mat-spinner",0),s.YNc(2,iE,14,6,"div",1),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,Em,R_,I_,P_,z_,B_,gu,ef,ig,qh,Ym,td,Cd,cp,Eh,O_,H_,Ph,kv,Cv,Yh,wv,Bp,n.sg,au,np,F_],pipes:[vg,n.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}"]}),t})();function rE(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function aE(t,e){1&t&&(s.TgZ(0,"h1",11),s.TgZ(1,"span"),s.TgZ(2,"mat-icon",12),s._uU(3,"assignment_ind"),s.qZA(),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,1,"AUTHORS_PAGE.TITLE")," "))}function cE(t,e){1&t&&(s.TgZ(0,"h1",11),s._UZ(1,"mat-icon",13),s.TgZ(2,"span",14),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Oqu(s.lcZ(4,1,"ALL_PUBLICATIONS.TITLE")))}function uE(t,e){1&t&&(s.TgZ(0,"h1",11),s.TgZ(1,"span"),s.TgZ(2,"mat-icon",12),s._uU(3,"local_library"),s.qZA(),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,1,"MY_PUBLICATIONS.TITLE")," "))}function lE(t,e){if(1&t&&(s.TgZ(0,"h5",15),s._uU(1),s.ALo(2,"userFullName"),s.ALo(3,"translate"),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.AsE("",s.lcZ(2,2,t.mainAuthor),"",s.lcZ(3,4,"AUTHOR_DETAIL.TITLE"),"")}}function hE(t,e){1&t&&(s.TgZ(0,"span",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function dE(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1," lock "),s.qZA())}function pE(t,e){1&t&&(s.TgZ(0,"span",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function fE(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1," lock_open "),s.qZA())}function gE(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function mE(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publication-detail-list",17),s.NdJ("edited",function(){return s.CHM(t),s.oxw(2).refreshPublication()}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("publication",t.publication)("categories",t.categories)}}function _E(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.YNc(1,aE,6,3,"h1",4),s.YNc(2,cE,5,3,"h1",4),s.YNc(3,uE,6,3,"h1",4),s.YNc(4,lE,4,6,"h5",5),s.TgZ(5,"h5"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"h6"),s._uU(9),s.ALo(10,"translate"),s.TgZ(11,"button",6),s.NdJ("click",function(){return s.CHM(t),s.oxw().changeLock()}),s.YNc(12,hE,3,3,"span",7),s.YNc(13,dE,2,0,"mat-icon",2),s.YNc(14,pE,3,3,"span",7),s.YNc(15,fE,2,0,"mat-icon",2),s.qZA(),s.qZA(),s.TgZ(16,"mat-card"),s.TgZ(17,"mat-card-content"),s.YNc(18,gE,1,0,"mat-spinner",1),s.YNc(19,mE,1,2,"perun-web-apps-publication-detail-list",8),s.qZA(),s.qZA(),s.TgZ(20,"mat-card",9),s.TgZ(21,"mat-card-title"),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"mat-card-content"),s._UZ(25,"perun-web-apps-add-authors",10),s.qZA(),s.qZA(),s.TgZ(26,"mat-card",9),s.TgZ(27,"mat-card-title"),s._uU(28),s.ALo(29,"translate"),s.qZA(),s.TgZ(30,"mat-card-content"),s._UZ(31,"perun-web-apps-add-thanks",10),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf","authors"===t.mode),s.xp6(1),s.Q6J("ngIf","all"===t.mode),s.xp6(1),s.Q6J("ngIf","my"===t.mode),s.xp6(1),s.Q6J("ngIf",void 0!==t.mainAuthor),s.xp6(2),s.Oqu(s.lcZ(7,18,"PUBLICATION_DETAIL.TITLE")),s.xp6(3),s.hij(" ",s.lcZ(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),s.xp6(3),s.Q6J("ngIf",t.publication.locked),s.xp6(1),s.Q6J("ngIf",t.publication.locked),s.xp6(1),s.Q6J("ngIf",!t.publication.locked),s.xp6(1),s.Q6J("ngIf",!t.publication.locked),s.xp6(3),s.Q6J("ngIf",t.loading||t.pubLoading),s.xp6(1),s.Q6J("ngIf",!t.pubLoading&&!t.loading),s.xp6(3),s.hij(" ",s.lcZ(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),s.xp6(3),s.Q6J("publication",t.publication)("selection",t.selectionAuthors),s.xp6(3),s.hij(" ",s.lcZ(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),s.xp6(3),s.Q6J("publication",t.publication)("selection",t.selectionThanks)}}let wE=(()=>{class t{constructor(t,e,i,n,s,o,r){this.route=t,this.cabinetService=e,this.matIconRegistry=i,this.domSanitizer=n,this.dialog=s,this.notificator=o,this.translate=r,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new cl(!0,[]),this.selectionThanks=new cl(!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(t=>{this.publicationId=t.publicationId,this.mainAuthorId=parseInt(t.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const t=location.pathname;this.mode=t.includes("my")?"my":t.includes("all")?"all":t.includes("import")?"import":t.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(t=>{this.publication=t,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(t=>{this.publication=t,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ci),s.Y36(Z),s.Y36(Gf),s.Y36(z),s.Y36(Yg),s.Y36(dm),s.Y36(Ag))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,rE,1,0,"mat-spinner",1),s.YNc(2,_E,32,26,"div",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.initLoading),s.xp6(1),s.Q6J("ngIf",!e.initLoading))},directives:[n.O5,Em,gu,Ky,Fy,Ny,KS,EM,ig,oE],pipes:[vg,Uk],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),t})(),yE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,mu,ng,Un,Hk,kg,Uh,_p,Bm,Nv]]}),t})(),bE=(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(am))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h4",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.startAuth()}),s._uU(7),s.ALo(8,"translate"),s.TgZ(9,"mat-icon"),s._uU(10," login "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),s.xp6(3),s.hij(" ",s.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[gu,ig],pipes:[vg],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})();function AE(t,e){1&t&&s.Hsn(0)}const vE=["*"];function kE(t,e){}const TE=function(t){return{animationDuration:t}},CE=function(t,e){return{value:t,params:e}},SE=["tabBodyWrapper"],ME=["tabHeader"];function EE(t,e){}function LE(t,e){if(1&t&&s.YNc(0,EE,0,0,"ng-template",9),2&t){const t=s.oxw().$implicit;s.Q6J("cdkPortalOutlet",t.templateLabel)}}function xE(t,e){if(1&t&&s._uU(0),2&t){const t=s.oxw().$implicit;s.Oqu(t.textLabel)}}function DE(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t),i=e.$implicit,n=e.index,o=s.oxw(),r=s.MAs(1);return o._handleClick(i,r,n)})("cdkFocusChange",function(e){const i=s.CHM(t).index;return s.oxw()._tabFocusChanged(e,i)}),s.TgZ(1,"div",7),s.YNc(2,LE,1,1,"ng-template",8),s.YNc(3,xE,1,1,"ng-template",8),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.ekj("mat-tab-label-active",n.selectedIndex==i),s.Q6J("id",n._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||n.disableRipple),s.uIk("tabIndex",n._getTabIndex(t,i))("aria-posinset",i+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),s.xp6(2),s.Q6J("ngIf",t.templateLabel),s.xp6(1),s.Q6J("ngIf",!t.templateLabel)}}function RE(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-tab-body",10),s.NdJ("_onCentered",function(){return s.CHM(t),s.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return s.CHM(t),s.oxw()._setTabBodyWrapperHeight(e)}),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.ekj("mat-tab-body-active",n.selectedIndex==i),s.Q6J("id",n._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",n.animationDuration),s.uIk("aria-labelledby",n._getTabLabelId(i))}}const zE=["tabListContainer"],PE=["tabList"],IE=["nextPaginator"],OE=["previousPaginator"],HE=new s.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let YE=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=i,this._animationMode=n}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),i=this._elementRef.nativeElement;i.style.left=e.left,i.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(HE),s.Y36(oc,8))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const BE=new s.OlP("MatTabContent");let jE=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTabContent",""]],features:[s._Bn([{provide:BE,useExisting:t}])]}),t})();const FE=new s.OlP("MatTabLabel");let NE=(()=>{class t extends vl{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s._Bn([{provide:FE,useExisting:t}]),s.qOj]}),t})();class KE{}const qE=wc(KE),UE=new s.OlP("MAT_TAB_GROUP");let ZE=(()=>{class t extends qE{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new wt.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new wl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(UE,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,FE,5),s.Suo(i,BE,7,s.Rgc)),2&t){let t;s.iGM(t=s.CRH())&&(e.templateLabel=t.first),s.iGM(t=s.CRH())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,7),2&t){let t;s.iGM(t=s.CRH())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.qOj,s.TTD],ngContentSelectors:vE,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.YNc(0,AE,1,0,"ng-template"))},encapsulation:2}),t})();const GE={translateTab:Ao("translateTab",[So("center, void, left-origin-center, right-origin-center",Co({transform:"none"})),So("left",Co({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),So("right",Co({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Eo("* => left, * => right, left => center, right => center",vo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Eo("void => left-origin-center",[Co({transform:"translate3d(-100%, 0, 0)"}),vo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Eo("void => right-origin-center",[Co({transform:"translate3d(100%, 0, 0)"}),vo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let VE=(()=>{class t extends kl{constructor(t,e,i,n){super(t,e,n),this._host=i,this._centeringSub=Jt.w.EMPTY,this._leavingSub=Jt.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(zt(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36((0,s.Gpc)(()=>WE)),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTabBodyHost",""]],features:[s.qOj]}),t})(),$E=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._dir=e,this._dirChangeSubscription=Jt.w.EMPTY,this._translateTabComplete=new wt.xQ,this._onCentering=new s.vpe,this._beforeCentering=new s.vpe,this._afterLeavingCenter=new s.vpe,this._onCentered=new s.vpe(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe(Iu((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(mo,8),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),WE=(()=>{class t extends $E{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(mo,8),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&s.Gf(kl,5),2&t){let t;s.iGM(t=s.CRH())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[s.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(s.TgZ(0,"div",0,1),s.NdJ("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),s.YNc(2,kE,0,0,"ng-template",2),s.qZA()),2&t&&s.Q6J("@translateTab",s.WLB(3,CE,e._position,s.VKq(1,TE,e.animationDuration)))},directives:[VE],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[GE.translateTab]}}),t})();const JE=new s.OlP("MAT_TABS_CONFIG");let QE=0;class XE{}class tL{constructor(t){this._elementRef=t}}const eL=yc(bc(tL),"primary");let iL=(()=>{class t extends eL{constructor(t,e,i,n){super(t),this._changeDetectorRef=e,this._animationMode=n,this._tabs=new s.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=Jt.w.EMPTY,this._tabLabelSubscription=Jt.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new s.vpe,this.focusChange=new s.vpe,this.animationDone=new s.vpe,this.selectedTabChange=new s.vpe(!0),this._groupId=QE++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,this.dynamicHeight=!(!i||null==i.dynamicHeight)&&i.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=us(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=ls(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));const e=this._tabBodyWrapper.nativeElement;e.style.minHeight=e.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((e,i)=>e.isActive=i===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,i)=>{e.position=i-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e{this._tabs.reset(t.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()}focusTab(t){const e=this._tabHeader;e&&(e.focusIndex=t)}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new XE;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Cl.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,i){t.disabled||(this.selectedIndex=e.focusIndex=i)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}_tabFocusChanged(t,e){t&&(this._tabHeader.focusIndex=e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(JE,8),s.Y36(oc,8))},t.\u0275dir=s.lG2({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.qOj]}),t})(),nL=(()=>{class t extends iL{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(JE,8),s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,ZE,5),2&t){let t;s.iGM(t=s.CRH())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(s.Gf(SE,5),s.Gf(ME,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._tabBodyWrapper=t.first),s.iGM(t=s.CRH())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s._Bn([{provide:UE,useExisting:t}]),s.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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-tab-header",0,1),s.NdJ("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),s.YNc(2,DE,4,14,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.YNc(5,RE,1,8,"mat-tab-body",5),s.qZA()),2&t&&(s.Q6J("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),s.xp6(2),s.Q6J("ngForOf",e._tabs),s.xp6(1),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.xp6(2),s.Q6J("ngForOf",e._tabs))},directives:function(){return[lL,n.sg,rL,Vc,co,n.O5,kl,WE]},styles:[".mat-tab-group{display:flex;flex-direction:column}.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;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}),t})();class sL{}const oL=wc(sL);let rL=(()=>{class t extends oL{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(s.uIk("aria-disabled",!!e.disabled),s.ekj("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[s.qOj]}),t})();const aL=Cs({passive:!0});let cL=(()=>{class t{constructor(t,e,i,n,o,r,a){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=i,this._dir=n,this._ngZone=o,this._platform=r,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new wt.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new wt.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.vpe,this.indexFocused=new s.vpe,o.runOutsideAngular(()=>{yu(t.nativeElement,"mouseleave").pipe(Gu(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=ls(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){yu(this._previousPaginator.nativeElement,"touchstart",aL).pipe(Gu(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),yu(this._nextPaginator.nativeElement,"touchstart",aL).pipe(Gu(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,_t.of)("ltr"),e=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Us(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),(0,Cl.T)(t,e,this._items.changes).pipe(Gu(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(i)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Gu(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}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(t){if(!as(t))switch(t.keyCode){case ts:case is:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",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(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,i=this._getLayoutDirection();e.scrollLeft="ltr"==i?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:s}=e.elementRef.nativeElement;let o,r;"ltr"==this._getLayoutDirection()?(o=n,r=o+s):(r=this._tabList.nativeElement.offsetWidth-n,o=r-s);const a=this.scrollDistance,c=this.scrollDistance+i;oc&&(this.scrollDistance+=r-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_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._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),qu(650,100).pipe(Gu((0,Cl.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:i}=this._scrollHeader(t);(0===i||i>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(pl),s.Y36(mo,8),s.Y36(s.R0b),s.Y36(_s),s.Y36(oc,8))},t.\u0275dir=s.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),uL=(()=>{class t extends cL{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=us(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(pl),s.Y36(mo,8),s.Y36(s.R0b),s.Y36(_s),s.Y36(oc,8))},t.\u0275dir=s.lG2({type:t,inputs:{disableRipple:"disableRipple"},features:[s.qOj]}),t})(),lL=(()=>{class t extends uL{constructor(t,e,i,n,s,o,r){super(t,e,i,n,s,o,r)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(pl),s.Y36(mo,8),s.Y36(s.R0b),s.Y36(_s),s.Y36(oc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,rL,4),2&t){let t;s.iGM(t=s.CRH())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(s.Gf(YE,7),s.Gf(zE,7),s.Gf(PE,7),s.Gf(IE,5),s.Gf(OE,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inkBar=t.first),s.iGM(t=s.CRH())&&(e._tabListContainer=t.first),s.iGM(t=s.CRH())&&(e._tabList=t.first),s.iGM(t=s.CRH())&&(e._nextPaginator=t.first),s.iGM(t=s.CRH())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.qOj],ngContentSelectors:vE,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),s._UZ(2,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.NdJ("keydown",function(t){return e._handleKeydown(t)}),s.TgZ(5,"div",5,6),s.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),s.TgZ(7,"div",7),s.Hsn(8),s.qZA(),s._UZ(9,"mat-ink-bar"),s.qZA(),s.qZA(),s.TgZ(10,"div",8,9),s.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),s._UZ(12,"div",2),s.qZA()),2&t&&(s.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.xp6(5),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.xp6(5),s.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[Vc,Rs,YE],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-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}.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;content:"";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}),t})(),hL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,_c,Tl,$c,zs,fo],_c]}),t})();function dL(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function pL(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function fL(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function gL(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function mL(t,e){if(1&t&&(s.TgZ(0,"mat-option",36),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t.name," ")}}function _L(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function wL(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function yL(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function bL(t,e){1&t&&(s.TgZ(0,"div",28),s._UZ(1,"mat-spinner",5),s.TgZ(2,"h5",37),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Oqu(s.lcZ(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")))}function AL(t,e){1&t&&(s.TgZ(0,"app-alert",38),s.TgZ(1,"div",28),s.TgZ(2,"span",39),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"span",40),s.TgZ(7,"mat-icon",41),s._uU(8,"fiber_manual_record"),s.qZA(),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"span",42),s.TgZ(12,"mat-icon",41),s._uU(13,"fiber_manual_record"),s.qZA(),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.AsE(" ",s.lcZ(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",s.lcZ(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),s.xp6(6),s.hij(" ",s.lcZ(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),s.xp6(5),s.hij(" ",s.lcZ(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function vL(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.Oqu(s.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function kL(t,e){1&t&&s._UZ(0,"mat-spinner",5)}const TL=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function CL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publications-list",48),s.NdJ("publicationSelector",function(e){s.CHM(t),s.oxw(2);const i=s.MAs(1);return s.oxw(2).loadPublicationDetail(e,i)}),s.qZA()}if(2&t){const t=s.oxw(4);s.Q6J("displayedColumns",s.DdM(4,TL))("disabledRouting",!0)("openInTab",!0)("publications",t.filteredPublications)}}function SL(t,e){if(1&t&&(s.TgZ(0,"div",46),s.YNc(1,kL,1,0,"mat-spinner",3),s.YNc(2,CL,1,5,"perun-web-apps-publications-list",47),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Q6J("ngIf",t.innerLoading),s.xp6(1),s.Q6J("ngIf",!t.innerLoading)}}function ML(t,e){if(1&t&&s._uU(0),2&t){const t=s.oxw(4);s.Oqu(t.selectedPubTitle)}}function EL(t,e){if(1&t&&(s.TgZ(0,"div",49),s._UZ(1,"perun-web-apps-publication-detail",50),s.qZA()),2&t){const t=s.oxw(4);s.xp6(1),s.Q6J("publicationId",t.selectedPubId)}}function LL(t,e){1&t&&(s.TgZ(0,"mat-tab"),s.YNc(1,ML,1,1,"ng-template",44),s.YNc(2,EL,2,1,"ng-template",45),s.qZA())}function xL(t,e){if(1&t&&(s.TgZ(0,"mat-tab-group",null,43),s.TgZ(2,"mat-tab"),s.YNc(3,vL,2,3,"ng-template",44),s.YNc(4,SL,3,2,"ng-template",45),s.qZA(),s.YNc(5,LL,3,0,"mat-tab",14),s.qZA()),2&t){const t=s.oxw(2);s.xp6(5),s.Q6J("ngIf",null!==t.selectedPubId)}}function DL(t,e){1&t&&(s.TgZ(0,"div",28),s.TgZ(1,"mat-icon",51),s._uU(2,"check_circle"),s.qZA(),s.TgZ(3,"h5",52),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.Oqu(s.lcZ(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")))}function RL(t,e){1&t&&(s.TgZ(0,"button",34),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function zL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",57),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).redirect(["create-publication"])}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function PL(t,e){if(1&t&&(s.TgZ(0,"div",53),s.YNc(1,RL,3,3,"button",54),s.TgZ(2,"button",55),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.YNc(5,zL,3,3,"button",56),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!t.duplicateCheck),s.xp6(2),s.hij(" ",s.lcZ(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),s.xp6(2),s.Q6J("ngIf",!t.duplicateCheck)}}function IL(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function OL(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function HL(t,e){if(1&t&&s._UZ(0,"perun-web-apps-add-authors",59),2&t){const t=s.oxw(3);s.Q6J("publication",t.publication)("selection",t.authorsSelection)}}function YL(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-alert",58),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,HL,1,2,"perun-web-apps-add-authors",33),s.qZA()),2&t){const t=s.oxw(2);s.xp6(2),s.Oqu(s.lcZ(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),s.xp6(2),s.Q6J("ngIf",null!==t.publication)}}function BL(t,e){1&t&&(s.TgZ(0,"button",34),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function jL(t,e){if(1&t&&(s.TgZ(0,"div",25),s.YNc(1,BL,3,3,"button",54),s.TgZ(2,"button",60),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!t.duplicateCheck),s.xp6(2),s.hij(" ",s.lcZ(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function FL(t,e){1&t&&(s._uU(0),s.ALo(1,"translate")),2&t&&s.hij(" ",s.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function NL(t,e){if(1&t&&s._UZ(0,"perun-web-apps-add-thanks",59),2&t){const t=s.oxw(2);s.Q6J("publication",t.publication)("selection",t.thanksSelection)}}function KL(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function qL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-horizontal-stepper",6),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw().stepChanged(e)}),s.TgZ(1,"mat-step",7),s.YNc(2,pL,2,3,"ng-template",8),s.TgZ(3,"form",9),s.TgZ(4,"h5",10),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",11),s.TgZ(8,"mat-checkbox",12),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.TgZ(11,"mat-form-field"),s._UZ(12,"input",13),s.ALo(13,"translate"),s.YNc(14,fL,3,3,"mat-error",14),s.qZA(),s.TgZ(15,"mat-form-field",15),s.NdJ("click",function(){return s.CHM(t),s.MAs(22).open()}),s.TgZ(16,"mat-label"),s._uU(17),s.ALo(18,"translate"),s.qZA(),s._UZ(19,"input",16),s._UZ(20,"mat-datepicker-toggle",17),s.TgZ(21,"mat-datepicker",18,19),s.NdJ("yearSelected",function(e){s.CHM(t);const i=s.MAs(22);return s.oxw().chosenYearHandler(e,i)}),s.qZA(),s.YNc(23,gL,3,3,"mat-error",14),s.qZA(),s.TgZ(24,"mat-form-field"),s.TgZ(25,"mat-select",20),s.ALo(26,"translate"),s.YNc(27,mL,2,2,"mat-option",21),s.qZA(),s.YNc(28,_L,3,3,"mat-error",14),s.qZA(),s.TgZ(29,"mat-form-field"),s._UZ(30,"input",22),s.ALo(31,"translate"),s.qZA(),s.TgZ(32,"mat-form-field"),s._UZ(33,"input",23),s.ALo(34,"translate"),s.qZA(),s.TgZ(35,"mat-form-field"),s.TgZ(36,"textarea",24),s.ALo(37,"translate"),s._uU(38," "),s.qZA(),s.YNc(39,wL,3,3,"mat-error",14),s.qZA(),s.qZA(),s.qZA(),s.TgZ(40,"div",25),s.TgZ(41,"button",26),s._uU(42),s.ALo(43,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(44,"mat-step",27),s.YNc(45,yL,2,3,"ng-template",8),s.TgZ(46,"form",28),s.TgZ(47,"h5",10),s._uU(48),s.ALo(49,"translate"),s.qZA(),s.YNc(50,bL,5,3,"div",29),s.YNc(51,AL,16,12,"app-alert",30),s.YNc(52,xL,6,1,"mat-tab-group",14),s.YNc(53,DL,6,3,"div",29),s.qZA(),s.YNc(54,PL,6,5,"div",31),s.qZA(),s.TgZ(55,"mat-step"),s.YNc(56,IL,2,3,"ng-template",8),s.TgZ(57,"h5",10),s._uU(58),s.ALo(59,"translate"),s.qZA(),s.YNc(60,OL,1,0,"mat-spinner",3),s.YNc(61,YL,5,4,"div",14),s.YNc(62,jL,5,4,"div",32),s.qZA(),s.TgZ(63,"mat-step"),s.YNc(64,FL,2,3,"ng-template",8),s.TgZ(65,"h5",10),s._uU(66),s.ALo(67,"translate"),s.qZA(),s.YNc(68,NL,1,2,"perun-web-apps-add-thanks",33),s.YNc(69,KL,1,0,"mat-spinner",3),s.TgZ(70,"div",25),s.TgZ(71,"button",34),s._uU(72),s.ALo(73,"translate"),s.qZA(),s.TgZ(74,"button",35),s.NdJ("click",function(){s.CHM(t);const e=s.oxw();return e.redirect(["all-publications",e.publication.id])}),s._uU(75),s.ALo(76,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(22),e=s.oxw();s.xp6(1),s.Q6J("editable",!e.duplicateCheck)("stepControl",e.publicationControl),s.xp6(2),s.Q6J("formGroup",e.publicationControl),s.xp6(2),s.hij(" ",s.lcZ(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),s.xp6(4),s.hij(" ",s.lcZ(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),s.xp6(2),s.Q6J("ngIf",e.publicationControl.hasError("required","title")),s.xp6(3),s.Oqu(s.lcZ(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),s.xp6(2),s.Q6J("max",e.maxYear)("matDatepicker",t),s.xp6(1),s.Q6J("for",t),s.xp6(3),s.Q6J("ngIf",e.publicationControl.hasError("required","year")),s.xp6(2),s.s9C("placeholder",s.lcZ(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),s.xp6(2),s.Q6J("ngForOf",e.categories),s.xp6(1),s.Q6J("ngIf",e.publicationControl.hasError("required","category")),s.xp6(2),s.s9C("placeholder",s.lcZ(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),s.xp6(3),s.s9C("placeholder",s.lcZ(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),s.xp6(3),s.s9C("placeholder",s.lcZ(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),s.xp6(3),s.Q6J("ngIf",e.publicationControl.hasError("required","cite")),s.xp6(2),s.Q6J("disabled",e.publicationControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),s.xp6(2),s.Q6J("editable",!e.duplicateCheck),s.xp6(4),s.hij(" ",s.lcZ(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),s.xp6(2),s.Q6J("ngIf",e.innerLoading),s.xp6(1),s.Q6J("ngIf",!e.innerLoading&&!e.duplicateCheck),s.xp6(1),s.Q6J("ngIf",!e.innerLoading&&!e.duplicateCheck),s.xp6(1),s.Q6J("ngIf",!e.innerLoading&&e.duplicateCheck),s.xp6(1),s.Q6J("ngIf",!e.innerLoading),s.xp6(4),s.hij(" ",s.lcZ(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),s.xp6(2),s.Q6J("ngIf",e.innerLoading),s.xp6(1),s.Q6J("ngIf",!e.innerLoading),s.xp6(1),s.Q6J("ngIf",!e.innerLoading),s.xp6(4),s.hij(" ",s.lcZ(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),s.xp6(2),s.Q6J("ngIf",null!==e.publication),s.xp6(1),s.Q6J("ngIf",e.innerLoading),s.xp6(3),s.hij(" ",s.lcZ(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),s.xp6(3),s.hij(" ",s.lcZ(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const UL=LT,ZL={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let GL=(()=>{class t{constructor(t,e,i,n,s,o,r,a){this.formBuilder=t,this.cabinetService=e,this.dialog=i,this.router=n,this.notificator=s,this.translate=o,this.storeService=r,this.userService=a,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new cl(!0,[]),this.thanksSelection=new cl(!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:["",rd.required],year:["",rd.required],category:["",rd.required],isbn:[""],doi:[""],cite:["",rd.required]}),this.maxYear=UL(),this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1})}chosenYearHandler(t,e){this.publicationControl.get("year").setValue(t),e.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 t={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(e=>{const i=e.userAttributes.filter(t=>"preferredMail"===t.friendlyName);0!==i.length&&(t.publication.createdBy=i[0].value),this.cabinetService.createPublication(t).subscribe(t=>{this.publication=t,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:e.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const t=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,e=this.publicationControl.get("DOI").value?this.publicationControl.get("DOI").value:null,i=this.publicationControl.get("ISBN").value?this.publicationControl.get("ISBN").value:null;this.cabinetService.findSimilarPublications(t,e,i).subscribe(t=>{this.similarPublications=t,this.filteredPublications=t,setTimeout(()=>{this.duplicateCheck=0===t.length,this.innerLoading=!1},2e3)})}stepChanged(t){1===t.selectedIndex&&this.similarCheck(),2===t.selectedIndex&&null===this.publication&&this.createPublication()}redirect(t){this.router.navigate(t)}loadPublicationDetail(t,e){this.selectedPubId=t.id,this.selectedPubTitle=t.title,e.selectedIndex=1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(wp),s.Y36(Z),s.Y36(Yg),s.Y36(Dn),s.Y36(dm),s.Y36(Ag),s.Y36(om),s.Y36(ot))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-create-single-publication-page"]],features:[s._Bn([{provide:Cc,useClass:zT,deps:[Tc]},{provide:Sc,useValue:ZL}])],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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"span"),s.TgZ(3,"mat-icon",2),s._uU(4,"add_box"),s.qZA(),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.YNc(7,dL,1,0,"mat-spinner",3),s.YNc(8,qL,77,65,"mat-horizontal-stepper",4),s.qZA()),2&t&&(s.xp6(5),s.hij(" ",s.lcZ(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[ig,n.O5,Em,vA,wA,uA,sp,Sd,lp,ib,Cd,dp,qh,Ym,td,fp,Ph,kv,Cv,Yh,wv,Bp,n.sg,gu,kA,tp,TA,Eh,au,qk,nL,ZE,NE,jE,wT,wE,KS,EM],pipes:[vg],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}"]}),t})();function VL(t,e){if(1&t&&(s.TgZ(0,"mat-option",14),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t.friendlyName)}}function $L(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.Q6J("alert_type","info"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"IMPORT_PUBLICATIONS.INFO")," "))}function WL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-publications-list",16),s.NdJ("page",function(e){return s.CHM(t),s.oxw(2).pageChanged(e)}),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("publications",t.publications)("displayedColumns",t.displayedColumns)("selection",t.selected)("pageSize",t.pageSize)("disabledRouting",!0)("allowAlert",t.firstSearchDone)}}function JL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div"),s.TgZ(2,"mat-form-field",5),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"mat-select",6),s.NdJ("closed",function(){return s.CHM(t),s.oxw().selectPubSystem()}),s.YNc(7,VL,2,2,"mat-option",7),s.qZA(),s.qZA(),s._UZ(8,"perun-web-apps-year-range",8),s.TgZ(9,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().searchPublications()}),s.TgZ(10,"mat-icon"),s._uU(11,"search"),s.qZA(),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"button",10),s.NdJ("click",function(){s.CHM(t);const e=s.oxw();return e.importPublications(e.selected.selected)}),s._uU(15),s.ALo(16,"translate"),s.qZA(),s.TgZ(17,"mat-checkbox",11),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().userAsAuthor=e}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s.YNc(20,$L,3,4,"app-alert",12),s.YNc(21,WL,1,6,"perun-web-apps-publications-list",13),s.qZA()}if(2&t){const t=s.oxw();s.xp6(4),s.Oqu(s.lcZ(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),s.xp6(2),s.Q6J("formControl",t.pubSystem),s.xp6(1),s.Q6J("ngForOf",t.publicationSystems),s.xp6(1),s.Q6J("startYear",t.startYear)("endYear",t.endYear),s.xp6(4),s.hij(" ",s.lcZ(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),s.xp6(2),s.Q6J("disabled",0===t.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),s.xp6(2),s.Q6J("ngModel",t.userAsAuthor),s.xp6(1),s.hij(" ",s.lcZ(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),s.xp6(2),s.Q6J("ngIf",!t.firstSearchDone),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function QL(t,e){1&t&&s._UZ(0,"mat-spinner",17)}function XL(t,e){1&t&&(s.TgZ(0,"i"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function tx(t,e){1&t&&(s.TgZ(0,"mat-icon",28),s._uU(1,"check_circle"),s.qZA())}function ex(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",29),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(),i=e.$implicit,n=e.index;return s.oxw(2).completePublication(i.id,n)}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function ix(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",30),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(2).incompletePublication(e.id)}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function nx(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",22),s.TgZ(1,"mat-expansion-panel-header",23),s.NdJ("click",function(){const e=s.CHM(t).index;return s.oxw(2).editPublication(e)}),s.TgZ(2,"mat-panel-title"),s._uU(3),s.YNc(4,XL,3,3,"i",3),s.YNc(5,tx,2,0,"mat-icon",24),s.qZA(),s.qZA(),s._UZ(6,"perun-web-apps-publication-detail",25),s.TgZ(7,"div",26),s.YNc(8,ex,3,3,"button",20),s.YNc(9,ix,3,3,"button",27),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw(2);s.Q6J("expanded",n.indexExpanded===i),s.xp6(3),s.hij(" ",t.title," "),s.xp6(1),s.Q6J("ngIf",!n.completePublications.includes(t.id)),s.xp6(1),s.Q6J("ngIf",n.completePublications.includes(t.id)),s.xp6(1),s.Q6J("publicationId",t.id),s.xp6(2),s.Q6J("ngIf",!n.completePublications.includes(t.id)),s.xp6(1),s.Q6J("ngIf",n.completePublications.includes(t.id))}}function sx(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",29),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).completeAllPublications()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function ox(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",31),s.ALo(1,"translate"),s.TgZ(2,"button",32),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).onSubmit()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),s.Q6J("matTooltipPosition","above")("matTooltipDisabled",t.completePublications.length===t.importedPublications.length),s.xp6(3),s.hij(" ",s.lcZ(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function rx(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"app-alert",15),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-accordion"),s.YNc(5,nx,10,7,"mat-expansion-panel",18),s.qZA(),s.TgZ(6,"div",19),s.YNc(7,sx,3,3,"button",20),s.qZA(),s.YNc(8,ox,5,8,"div",21),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("alert_type","info"),s.xp6(1),s.hij(" ",s.lcZ(3,5,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),s.xp6(3),s.Q6J("ngForOf",t.importedPublications),s.xp6(2),s.Q6J("ngIf",t.completePublications.length!==t.importedPublications.length),s.xp6(1),s.Q6J("ngIf",t.completePublications.length===t.importedPublications.length)}}const ax=LT,cx={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},ux=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:bE},{path:"all-publications",component:NT},{path:"my-publications",component:ZT},{path:"create-publication",component:GT},{path:"create-publication/import",component:(()=>{class t{constructor(t,e,i,n,s,o,r){this.cabinetService=t,this.storeService=e,this.tableConfigService=i,this.notificator=n,this.translate=s,this.router=o,this.dialog=r,this.loading=!1,this.publicationSystems=[],this.pubSystem=new $d,this.publications=[],this.selected=new cl(!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.pageSize=this.tableConfigService.getTablePageSize(this.tableId),this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new $d(ax().subtract(1,"year")),this.endYear=new $d(ax()),this.cabinetService.getPublicationSystems().subscribe(t=>{this.publicationSystems=t.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(t=>{this.publications=t,this.loading=!1},()=>this.loading=!1)}importPublications(t){if(this.loading=!0,0===t.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const e=t.shift();this.cabinetService.createPublication({publication:{title:e.title,categoryId:e.categoryId,year:e.year,isbn:e.isbn,doi:e.doi,main:e.main}}).subscribe(e=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:e.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(e),this.importPublications(t)},()=>this.loading=!1):(this.importedPublications.push(e),this.importPublications(t))},()=>this.loading=!1)}pageChanged(t){this.pageSize=t.pageSize,this.tableConfigService.setTablePageSize(this.tableId,t.pageSize)}editPublication(t){this.indexExpanded=t===this.indexExpanded?-1:t}completePublication(t,e){this.completePublications.includes(t)||this.completePublications.push(t),this.indexExpanded=e!==this.importedPublications.length-1?e+1:-1}incompletePublication(t){this.completePublications.includes(t)&&(this.completePublications=this.completePublications.filter(e=>e!==t)),this.indexExpanded=-1}completeAllPublications(){const t=Gg();t.width="500px",t.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(J_,t).afterClosed().subscribe(t=>{t&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Z),s.Y36(om),s.Y36(CT),s.Y36(dm),s.Y36(Ag),s.Y36(Dn),s.Y36(Yg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-import-publications-page"]],features:[s._Bn([{provide:Cc,useClass:zT,deps:[Tc]},{provide:Sc,useValue:cx}])],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"],[3,"alert_type",4,"ngIf"],[3,"publications","displayedColumns","selection","pageSize","disabledRouting","allowAlert","page",4,"ngIf"],[1,"group-theme",3,"value"],[3,"alert_type"],[3,"publications","displayedColumns","selection","pageSize","disabledRouting","allowAlert","page"],[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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s.TgZ(2,"span"),s.TgZ(3,"mat-icon",2),s._uU(4,"add_box"),s.qZA(),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.YNc(7,JL,22,20,"div",3),s.YNc(8,QL,1,0,"mat-spinner",4),s.YNc(9,rx,9,7,"div",3),s.qZA()),2&t&&(s.xp6(5),s.hij(" ",s.lcZ(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),s.xp6(2),s.Q6J("ngIf",!e.importDone),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",e.importDone))},directives:[ig,n.O5,qh,Ph,Bp,Cd,cp,n.sg,IT,gu,ib,np,au,qk,wT,Em,Mb,Tb,Cb,Sb,wE,ef],pipes:[vg],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}.checked-icon[_ngcontent-%COMP%], mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle}.right-button[_ngcontent-%COMP%]{margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%], .right-button[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.fit-content[_ngcontent-%COMP%]{margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),t})()},{path:"create-publication/create",component:GL},{path:"authors",component:AC},{path:"authors/:authorId",component:TS},{path:"authors/:authorId/publication/:publicationId",component:wE},{path:"all-publications/:publicationId",component:wE},{path:"my-publications/:publicationId",component:wE},{path:"categories",component:nS},{path:"publication-systems",component:bS}];let lx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Un.forRoot(ux,{preloadingStrategy:Yn,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],Un]}),t})();const hx={provide:B.TP,useExisting:(0,s.Gpc)(()=>pm),multi:!0};function dx(t){return new zy(t,"./assets/i18n/",".json")}function px(t){const e={basePath:t.get("api_url")};return new N(e)}const fx=t=>()=>t.loadConfigs();let gx=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(lm),s.LFG(Ag))},t.\u0275mod=s.oAB({type:t,bootstrap:[Ry]}),t.\u0275inj=s.cJS({providers:[lm,{provide:s.ip1,useFactory:fx,multi:!0,deps:[Oy]},{provide:N,useFactory:px,deps:[om]},pm,hx,{provide:Hy,useClass:gm},PT],imports:[[Y,kg.forRoot({loader:{provide:sg,useFactory:dx,deps:[B.eN]}}),uc,jk,Yy,dt,B.JF,lx,Nv,wm,yE,hL,Tg,rm.zr.forRoot()]]}),t})();(0,s.G48)(),O().bootstrapModule(gx).catch(t=>console.error(t))},1511:(t,e,i)=>{"use strict";i.d(e,{mr:()=>b,Ov:()=>St,ez:()=>Et,K0:()=>c,uU:()=>Mt,Do:()=>v,V_:()=>h,Ye:()=>k,S$:()=>w,mk:()=>ct,sg:()=>lt,O5:()=>dt,PC:()=>yt,RF:()=>mt,n9:()=>_t,ED:()=>wt,tP:()=>bt,b0:()=>A,lw:()=>u,EM:()=>Dt,JF:()=>Pt,p6:()=>U,NF:()=>xt,w_:()=>a,bD:()=>Lt,q:()=>o,Mx:()=>at,HT:()=>r});var n=i(1572);let s=null;function o(){return s}function r(t){s||(s=t)}class a{}const c=new n.OlP("DocumentToken");let u=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:l,token:t,providedIn:"platform"}),t})();function l(){return(0,n.LFG)(d)}const h=new n.OlP("Location Initialized");let d=(()=>{class t extends u{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){p()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){p()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(c))},t.\u0275prov=(0,n.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,n.LFG)(c))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let w=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,n.LFG)(c).location;return new A((0,n.LFG)(u),e&&e.origin||"")}const b=new n.OlP("appBaseHref");let A=(()=>{class t extends w{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(b,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends w{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(b,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{constructor(t,e){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(C(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(w),n.LFG(u))},t.normalizeQueryParams=_,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=(0,n.Yz7)({factory:T,token:t,providedIn:"root"}),t})();function T(){return new k((0,n.LFG)(w),(0,n.LFG)(u))}function C(t){return t.replace(/\/index.html$/,"")}var S=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),M=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),E=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),L=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function D(t,e){return H((0,n.cg1)(t)[n.wAp.DateFormat],e)}function R(t,e){return H((0,n.cg1)(t)[n.wAp.TimeFormat],e)}function z(t,e){return H((0,n.cg1)(t)[n.wAp.DateTimeFormat],e)}function P(t,e){const i=(0,n.cg1)(t),s=i[n.wAp.NumberSymbols][e];if(void 0===s){if(e===x.CurrencyDecimal)return i[n.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return i[n.wAp.NumberSymbols][x.Group]}return s}const I=n.kL8;function O(t){if(!t[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function H(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function Y(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,j={},F=/((?:[^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 N=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),K=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),q=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function U(t,e,i,n){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return Z(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(B))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const r=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,r,a,c,u),e}(i)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=G(i,e)||e;let o,r=[];for(;e;){if(o=F.exec(e),!o){r.push(e);break}{r=r.concat(o.slice(1));const t=r.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=nt(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,n)-n))}(s,n));let c="";return r.forEach(t=>{const e=function(t){if(it[t])return it[t];let e;switch(t){case"G":case"GG":case"GGG":e=J(q.Eras,E.Abbreviated);break;case"GGGG":e=J(q.Eras,E.Wide);break;case"GGGGG":e=J(q.Eras,E.Narrow);break;case"y":e=W(K.FullYear,1,0,!1,!0);break;case"yy":e=W(K.FullYear,2,0,!0,!0);break;case"yyy":e=W(K.FullYear,3,0,!1,!0);break;case"yyyy":e=W(K.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=W(K.Month,1,1);break;case"MM":case"LL":e=W(K.Month,2,1);break;case"MMM":e=J(q.Months,E.Abbreviated);break;case"MMMM":e=J(q.Months,E.Wide);break;case"MMMMM":e=J(q.Months,E.Narrow);break;case"LLL":e=J(q.Months,E.Abbreviated,M.Standalone);break;case"LLLL":e=J(q.Months,E.Wide,M.Standalone);break;case"LLLLL":e=J(q.Months,E.Narrow,M.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=W(K.Date,1);break;case"dd":e=W(K.Date,2);break;case"c":case"cc":e=W(K.Day,1);break;case"ccc":e=J(q.Days,E.Abbreviated,M.Standalone);break;case"cccc":e=J(q.Days,E.Wide,M.Standalone);break;case"ccccc":e=J(q.Days,E.Narrow,M.Standalone);break;case"cccccc":e=J(q.Days,E.Short,M.Standalone);break;case"E":case"EE":case"EEE":e=J(q.Days,E.Abbreviated);break;case"EEEE":e=J(q.Days,E.Wide);break;case"EEEEE":e=J(q.Days,E.Narrow);break;case"EEEEEE":e=J(q.Days,E.Short);break;case"a":case"aa":case"aaa":e=J(q.DayPeriods,E.Abbreviated);break;case"aaaa":e=J(q.DayPeriods,E.Wide);break;case"aaaaa":e=J(q.DayPeriods,E.Narrow);break;case"b":case"bb":case"bbb":e=J(q.DayPeriods,E.Abbreviated,M.Standalone,!0);break;case"bbbb":e=J(q.DayPeriods,E.Wide,M.Standalone,!0);break;case"bbbbb":e=J(q.DayPeriods,E.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":e=J(q.DayPeriods,E.Abbreviated,M.Format,!0);break;case"BBBB":e=J(q.DayPeriods,E.Wide,M.Format,!0);break;case"BBBBB":e=J(q.DayPeriods,E.Narrow,M.Format,!0);break;case"h":e=W(K.Hours,1,-12);break;case"hh":e=W(K.Hours,2,-12);break;case"H":e=W(K.Hours,1);break;case"HH":e=W(K.Hours,2);break;case"m":e=W(K.Minutes,1);break;case"mm":e=W(K.Minutes,2);break;case"s":e=W(K.Seconds,1);break;case"ss":e=W(K.Seconds,2);break;case"S":e=W(K.FractionalSeconds,1);break;case"SS":e=W(K.FractionalSeconds,2);break;case"SSS":e=W(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Q(N.Short);break;case"ZZZZZ":e=Q(N.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Q(N.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Q(N.Long);break;default:return null}return it[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Z(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function G(t,e){const i=function(t){return(0,n.cg1)(t)[n.wAp.LocaleId]}(t);if(j[i]=j[i]||{},j[i][e])return j[i][e];let s="";switch(e){case"shortDate":s=D(t,L.Short);break;case"mediumDate":s=D(t,L.Medium);break;case"longDate":s=D(t,L.Long);break;case"fullDate":s=D(t,L.Full);break;case"shortTime":s=R(t,L.Short);break;case"mediumTime":s=R(t,L.Medium);break;case"longTime":s=R(t,L.Long);break;case"fullTime":s=R(t,L.Full);break;case"short":const e=G(t,"shortTime"),i=G(t,"shortDate");s=V(z(t,L.Short),[e,i]);break;case"medium":const n=G(t,"mediumTime"),o=G(t,"mediumDate");s=V(z(t,L.Medium),[n,o]);break;case"long":const r=G(t,"longTime"),a=G(t,"longDate");s=V(z(t,L.Long),[r,a]);break;case"full":const c=G(t,"fullTime"),u=G(t,"fullDate");s=V(z(t,L.Full),[c,u])}return s&&(j[i][e]=s),s}function V(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function $(t,e,i="-",n,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=i));let r=String(t);for(;r.length0||a>-i)&&(a+=i),t===K.Hours)0===a&&-12===i&&(a=12);else if(t===K.FractionalSeconds)return c=e,$(a,3).substr(0,c);var c;const u=P(r,x.MinusSign);return $(a,e,u,n,s)}}function J(t,e,i=M.Format,s=!1){return function(o,r){return function(t,e,i,s,o,r){switch(i){case q.Months:return function(t,e,i){const s=(0,n.cg1)(t),o=H([s[n.wAp.MonthsFormat],s[n.wAp.MonthsStandalone]],e);return H(o,i)}(e,o,s)[t.getMonth()];case q.Days:return function(t,e,i){const s=(0,n.cg1)(t),o=H([s[n.wAp.DaysFormat],s[n.wAp.DaysStandalone]],e);return H(o,i)}(e,o,s)[t.getDay()];case q.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(r){const t=function(t){const e=(0,n.cg1)(t);return O(e),(e[n.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?Y(t):[Y(t[0]),Y(t[1])])}(e),i=function(t,e,i){const s=(0,n.cg1)(t);O(s);const o=H([s[n.wAp.ExtraData][0],s[n.wAp.ExtraData][1]],e)||[];return H(o,i)||[]}(e,o,s),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=a>=e.hours&&c>=e.minutes,s=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case N.Short:return(s>=0?"+":"")+$(r,2,o)+$(Math.abs(s%60),2,o);case N.ShortGMT:return"GMT"+(s>=0?"+":"")+$(r,1,o);case N.Long:return"GMT"+(s>=0?"+":"")+$(r,2,o)+":"+$(Math.abs(s%60),2,o);case N.Extended:return 0===n?"Z":(s>=0?"+":"")+$(r,2,o)+":"+$(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t){return Z(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=X(i),e=function(t){const e=Z(t,0,1).getDay();return Z(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return $(s,t,P(n,x.MinusSign))}}function et(t,e=!1){return function(i,n){return $(X(i).getFullYear(),t,P(n,x.MinusSign),e)}}const it={};function nt(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class ot{}let rt=(()=>{class t extends ot{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(I(e||this.locale)(t)){case S.Zero:return"zero";case S.One:return"one";case S.Two:return"two";case S.Few:return"few";case S.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.soG))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let ct=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ut{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 lt=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new ut(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new ht(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const o=new ht(t,s);e.push(o)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ft("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ft("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function ft(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,n.AaK)(e)}'.`)}class gt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new gt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),wt=(()=>{class t{constructor(t,e,i){i._addDefault(new gt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),yt=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),bt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.TTD]}),t})();function At(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,n.AaK)(t)}'`)}class vt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class kt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Tt=new kt,Ct=new vt;let St=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,n.QGY)(e))return Tt;if((0,n.F4k)(e))return Ct;throw At(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"async",type:t,pure:!1}),t})(),Mt=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return U(e,i,s||this.locale,n)}catch(o){throw At(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.soG,16))},t.\u0275pipe=n.Yjl({name:"date",type:t,pure:!0}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:ot,useClass:rt}]}),t})();const Lt="browser";function xt(t){return t===Lt}let Dt=(()=>{class t{}return t.\u0275prov=(0,n.Yz7)({token:t,providedIn:"root",factory:()=>new Rt((0,n.LFG)(c),window)}),t})();class Rt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=zt(this.window.history)||zt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function zt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Pt{}},9063:(t,e,i)=>{"use strict";i.d(e,{TP:()=>x,eN:()=>E,JF:()=>F,WM:()=>d,LE:()=>m,Zn:()=>C});var n=i(1511),s=i(1572),o=i(878),r=i(8318),a=i(436),c=i(3835),u=i(9996);class l{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(t){return`${t}`}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,o]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],r=i.get(s)||[];r.push(o),i.set(s,r)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(g(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(g(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function w(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}class A{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),u)),new A(i,n,o,{params:u,headers:c,context:l,reportProgress:a,responseType:s,withCredentials:r})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class k{constructor(t,e=200,i="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class T extends k{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new T({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends k{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new C({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends k{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function M(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let E=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof A)n=t;else{let s,o;s=i.headers instanceof d?i.headers:new d(i.headers),i.params&&(o=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new A(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:o,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=(0,o.of)(n).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof A||"events"===i.observe)return s;const r=s.pipe((0,c.h)(t=>t instanceof C));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe((0,u.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe((0,u.U)(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,M(i,e))}post(t,e,i={}){return this.request("POST",t,M(i,e))}put(t,e,i={}){return this.request("PUT",t,M(i,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class L{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const x=new s.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const R=/^\)\]\}',?\n/;let z=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.y(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",o=new d(i.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new T({headers:o,status:e,statusText:n,url:r}),s},r=()=>{let{headers:n,status:s,statusText:r,url:a}=o(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(R,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new C({body:c,headers:n,status:s,statusText:r,url:a||void 0})),e.complete()):e.error(new S({error:c,headers:n,status:s,statusText:r,url:a||void 0}))},a=t=>{const{url:n}=o(),s=new S({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const u=n=>{c||(e.next(o()),c=!0);let s={type:v.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},l=t=>{let i={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",r),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:v.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",r),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",u),null!==n&&i.upload&&i.upload.removeEventListener("progress",l)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const P=new s.OlP("XSRF_COOKIE_NAME"),I=new s.OlP("XSRF_HEADER_NAME");class O{}let H=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.Lbi),s.LFG(P))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Y=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(O),s.LFG(I))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(x,[]);this.chain=t.reduceRight((t,e)=>new L(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Y,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:I,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Y,{provide:x,useExisting:Y,multi:!0},{provide:O,useClass:H},{provide:P,useValue:"XSRF-TOKEN"},{provide:I,useValue:"X-XSRF-TOKEN"}]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[E,{provide:l,useClass:B},z,{provide:h,useExisting:z}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},1572:(t,e,i)=>{"use strict";i.d(e,{deG:()=>ai,tb:()=>ou,AFp:()=>tu,ip1:()=>Qc,CZH:()=>Xc,hGG:()=>Qu,z2F:()=>Nu,sBO:()=>Za,Sil:()=>mu,_Vd:()=>ma,EJc:()=>cu,SBq:()=>ba,qLn:()=>En,vpe:()=>Rc,gxx:()=>wo,tBr:()=>Ei,XFs:()=>L,OlP:()=>ri,zs3:()=>zo,ZZ4:()=>Ba,aQg:()=>Fa,soG:()=>au,YKP:()=>ic,v3s:()=>qu,h0i:()=>ec,PXZ:()=>Hu,R0b:()=>yu,FiY:()=>Li,Lbi:()=>su,g9A:()=>nu,n_E:()=>Pc,Qsj:()=>ka,FYo:()=>va,JOm:()=>zn,Tiy:()=>Ca,q3G:()=>yn,tp0:()=>xi,EAV:()=>Gu,Rgc:()=>Ja,dDg:()=>Su,DyG:()=>ci,GfV:()=>Sa,s_b:()=>sc,ifc:()=>I,eFA:()=>Yu,G48:()=>Iu,Gpc:()=>p,f3M:()=>Ci,X6Q:()=>Pu,_c5:()=>Wu,VLi:()=>Lu,c2e:()=>ru,zSh:()=>bo,wAp:()=>ia,vHH:()=>m,EiD:()=>_n,mCW:()=>Xi,qzn:()=>Ni,JVY:()=>qi,pB0:()=>Vi,eBb:()=>Zi,L6k:()=>Ui,LAX:()=>Gi,cg1:()=>Xr,Tjo:()=>$u,kL8:()=>ta,yhl:()=>Ki,dqk:()=>j,sIi:()=>Ko,CqO:()=>lr,QGY:()=>cr,F4k:()=>ur,RDi:()=>Ct,AaK:()=>l,z3N:()=>Fi,qOj:()=>Io,TTD:()=>wt,_Bn:()=>pa,xp6:()=>bs,uIk:()=>Vo,Tol:()=>xr,Gre:()=>Gr,ekj:()=>Lr,Suo:()=>Zc,Xpm:()=>J,lG2:()=>st,Yz7:()=>b,cJS:()=>A,oAB:()=>et,Yjl:()=>ot,Y36:()=>Qo,_UZ:()=>nr,GkF:()=>rr,BQk:()=>or,ynx:()=>sr,qZA:()=>ir,TgZ:()=>er,EpF:()=>ar,n5z:()=>ei,Ikx:()=>Vr,LFG:()=>Ti,$8M:()=>ni,NdJ:()=>hr,CRH:()=>Gc,kcU:()=>ye,O4$:()=>we,oxw:()=>mr,ALo:()=>Cc,lcZ:()=>Sc,xi3:()=>Mc,Dn7:()=>Ec,Hsn:()=>yr,F$t:()=>wr,Q6J:()=>Xo,s9C:()=>br,DdM:()=>yc,VKq:()=>bc,WLB:()=>Ac,iGM:()=>qc,MAs:()=>Jo,pYS:()=>Dn,Jf7:()=>xn,CHM:()=>qt,oJD:()=>bn,LSH:()=>An,kYT:()=>it,Udp:()=>Er,WFA:()=>dr,d8E:()=>$r,YNc:()=>Wo,W1O:()=>Jc,_uU:()=>Nr,Oqu:()=>Kr,hij:()=>qr,AsE:()=>Ur,xDo:()=>Zr,Gf:()=>Uc});var n=i(5959),s=i(7570),o=i(8318),r=i(1906),a=i(1055);function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function u(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function l(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(l).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return l(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function _(t){return"string"==typeof t?t:null==t?"":String(t)}function w(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():_(t)}function y(t,e){const i=e?` in ${e}`:"";throw new m("201",`No provider for ${w(t)} found${i}`)}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function A(t){return{providers:t.providers||[],imports:t.imports||[]}}function v(t){return k(t,C)||k(t,M)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function T(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(E))?t[S]:null}const C=c({"\u0275prov":c}),S=c({"\u0275inj":c}),M=c({ngInjectableDef:c}),E=c({ngInjectorDef:c});var L=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let x;function D(t){const e=x;return x=t,e}function R(t,e,i){const n=v(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&L.Optional?null:void 0!==e?e:void y(l(t),"Injector")}function z(t){return{toString:t}.toString()}var P=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),I=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const O="undefined"!=typeof globalThis&&globalThis,H="undefined"!=typeof window&&window,Y="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,j=O||B||H||Y,F={},N=[],K=c({"\u0275cmp":c}),q=c({"\u0275dir":c}),U=c({"\u0275pipe":c}),Z=c({"\u0275mod":c}),G=c({"\u0275loc":c}),V=c({"\u0275fac":c}),$=c({__NG_ELEMENT_ID__:c});let W=0;function J(t){return z(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===P.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||N,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||I.Emulated,id:"c",styles:t.styles||N,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,o=t.pipes;return i.id+=W++,i.inputs=nt(t.inputs,e),i.outputs=nt(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(Q):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(X):null,i})}function Q(t){return rt(t)||function(t){return t[q]||null}(t)}function X(t){return function(t){return t[U]||null}(t)}const tt={};function et(t){return z(()=>{const e={type:t.type,bootstrap:t.bootstrap||N,declarations:t.declarations||N,imports:t.imports||N,exports:t.exports||N,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function it(t,e){return z(()=>{const i=at(t,!0);i.declarations=e.declarations||N,i.imports=e.imports||N,i.exports=e.exports||N})}function nt(t,e){if(null==t)return F;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),i[s]=n,e&&(e[s]=o)}return i}const st=J;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function rt(t){return t[K]||null}function at(t,e){const i=t[Z]||null;if(!i&&!0===e)throw new Error(`Type ${l(t)} does not have '\u0275mod' property.`);return i}const ct=20,ut=10;function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ht(t){return Array.isArray(t)&&!0===t[1]}function dt(t){return 0!=(8&t.flags)}function pt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function gt(t){return null!==t.template}function mt(t,e){return t.hasOwnProperty(V)?t[V]:null}class _t{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function wt(){return yt}function yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=At),bt}function bt(){const t=vt(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===F)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function At(t,e,i,n){const s=vt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:F,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[i],c=r[a];o[a]=new _t(c&&c.currentValue,e,r===F),t[n]=e}function vt(t){return t.__ngSimpleChanges__||null}wt.ngInherit=!0;const kt="http://www.w3.org/2000/svg";let Tt;function Ct(t){Tt=t}function St(){return void 0!==Tt?Tt:"undefined"!=typeof document?document:void 0}function Mt(t){return!!t.listen}const Et={createRenderer:(t,e)=>St()};function Lt(t){for(;Array.isArray(t);)t=t[0];return t}function xt(t,e){return Lt(e[t])}function Dt(t,e){return Lt(e[t.index])}function Rt(t,e){return t.data[e]}function zt(t,e){return t[e]}function Pt(t,e){const i=e[t];return lt(i)?i:i[0]}function It(t){return 4==(4&t[2])}function Ot(t){return 128==(128&t[2])}function Ht(t,e){return null==e?null:t[e]}function Yt(t){t[18]=0}function Bt(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const jt={lFrame:he(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ft(){return jt.bindingsEnabled}function Nt(){return jt.lFrame.lView}function Kt(){return jt.lFrame.tView}function qt(t){return jt.lFrame.contextLView=t,t[8]}function Ut(){let t=Zt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Zt(){return jt.lFrame.currentTNode}function Gt(t,e){const i=jt.lFrame;i.currentTNode=t,i.isParent=e}function Vt(){return jt.lFrame.isParent}function $t(){jt.lFrame.isParent=!1}function Wt(){return jt.isInCheckNoChangesMode}function Jt(t){jt.isInCheckNoChangesMode=t}function Qt(){const t=jt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Xt(){return jt.lFrame.bindingIndex}function te(){return jt.lFrame.bindingIndex++}function ee(t){const e=jt.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function ie(t,e){const i=jt.lFrame;i.bindingIndex=i.bindingRootIndex=t,ne(e)}function ne(t){jt.lFrame.currentDirectiveIndex=t}function se(t){const e=jt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function oe(){return jt.lFrame.currentQueryIndex}function re(t){jt.lFrame.currentQueryIndex=t}function ae(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ce(t,e,i){if(i&L.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&L.Host||(n=ae(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=jt.lFrame=le();return n.currentTNode=e,n.lView=t,!0}function ue(t){const e=le(),i=t[1];jt.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function le(){const t=jt.lFrame,e=null===t?null:t.child;return null===e?he(t):e}function he(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function de(){const t=jt.lFrame;return jt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const pe=de;function fe(){const t=de();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ge(){return jt.lFrame.selectedIndex}function me(t){jt.lFrame.selectedIndex=t}function _e(){const t=jt.lFrame;return Rt(t.tView,t.selectedIndex)}function we(){jt.lFrame.currentNamespace=kt}function ye(){jt.lFrame.currentNamespace=null}function be(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(r>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(r)}finally{}}}else try{o.call(r)}finally{}}const Se=-1;class Me{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Ee(t,e,i){const n=Mt(t);let s=0;for(;se){r=o-1;break}}}for(;o>16,n=e;for(;i>0;)n=n[15],i--;return n}let Oe=!0;function He(t){const e=Oe;return Oe=t,e}let Ye=0;function Be(t,e){const i=Fe(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,je(n.data,t),je(e,null),je(n.blueprint,null));const s=Ne(t,e),o=t.injectorIndex;if(ze(s)){const t=Pe(s),i=Ie(s,e),n=i[1].data;for(let s=0;s<8;s++)e[o+s]=i[t+s]|n[t+s]}return e[o+8]=s,o}function je(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ne(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return Se;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return Se}function Ke(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty($)&&(n=i[$]),null==n&&(n=i[$]=Ye++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:Ve:e}(i);if("function"==typeof o){if(!ce(e,t,n))return n&L.Host?qe(s,i,n):Ue(e,i,n,s);try{const t=o(n);if(null!=t||n&L.Optional)return t;y(i)}finally{pe()}}else if("number"==typeof o){let s=null,r=Fe(t,e),a=Se,c=n&L.Host?e[16][6]:null;for((-1===r||n&L.SkipSelf)&&(a=-1===r?Ne(t,e):e[r+8],a!==Se&&Xe(n,!1)?(s=e[1],r=Pe(a),e=Ie(a,e)):r=-1);-1!==r;){const t=e[1];if(Qe(o,r,t.data)){const t=$e(r,e,i,s,n,c);if(t!==Ge)return t}a=e[r+8],a!==Se&&Xe(n,e[1].data[r+8]===c)&&Qe(o,r,e)?(s=t,r=Pe(a),e=Ie(a,e)):r=-1}}}return Ue(e,i,n,s)}const Ge={};function Ve(){return new ti(Ut(),Nt())}function $e(t,e,i,n,s,o){const r=e[1],a=r.data[t+8],c=We(a,r,i,null==n?pt(a)&&Oe:n!=r&&0!=(3&a.type),s&L.Host&&o===a);return null!==c?Je(e,r,c,a):Ge}function We(t,e,i,n,s){const o=t.providerIndexes,r=e.data,a=1048575&o,c=t.directiveStart,u=o>>20,l=s?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(s){const t=r[c];if(t&>(t)&&t.type===i)return c}return null}function Je(t,e,i,n){let s=t[i];const o=e.data;if(s instanceof Me){const r=s;r.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(w(o[i]));const a=He(r.canSeeViewProviders);r.resolving=!0;const c=r.injectImpl?D(r.injectImpl):null;ce(t,n,L.Default);try{s=t[i]=r.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(n){const n=yt(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),o&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,o),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,o))}(i,o[i],e)}finally{null!==c&&D(c),He(a),r.resolving=!1,pe()}}return s}function Qe(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[V]||ii(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[V]||ii(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function ii(t){return g(t)?()=>{const e=ii(f(t));return e&&e()}:mt(t)}function ni(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty(si)?t[si]:Object.defineProperty(t,si,{value:[]})[si];for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class ri{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=b({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ai=new ri("AnalyzeForEntryComponents"),ci=Function;function ui(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?li(t,e):e(t))}function hi(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function di(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function pi(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function gi(t,e){const i=mi(t,e);if(i>=0)return t[1|i]}function mi(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),o=t[i<<1];if(e===o)return i<<1;o>e?s=i:n=i+1}return~(s<<1)}(t,e)}const _i={},wi=/\n/gm,yi="__source",bi=c({provide:String,useValue:c});let Ai;function vi(t){const e=Ai;return Ai=t,e}function ki(t,e=L.Default){if(void 0===Ai)throw new Error("inject() must be called from an injection context");return null===Ai?R(t,void 0,e):Ai.get(t,e&L.Optional?null:void 0,e)}function Ti(t,e=L.Default){return(x||ki)(f(t),e)}const Ci=Ti;function Si(t){const e=[];for(let i=0;i({token:t})),-1),Li=Mi(oi("Optional"),8),xi=Mi(oi("SkipSelf"),4);let Di,Ri;function zi(t){var e;return(null===(e=function(){if(void 0===Di&&(Di=null,j.trustedTypes))try{Di=j.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Di}())||void 0===e?void 0:e.createHTML(t))||t}function Pi(t){var e;return(null===(e=function(){if(void 0===Ri&&(Ri=null,j.trustedTypes))try{Ri=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Ri}())||void 0===e?void 0:e.createHTML(t))||t}class Ii{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Oi extends Ii{getTypeName(){return"HTML"}}class Hi extends Ii{getTypeName(){return"Style"}}class Yi extends Ii{getTypeName(){return"Script"}}class Bi extends Ii{getTypeName(){return"URL"}}class ji extends Ii{getTypeName(){return"ResourceURL"}}function Fi(t){return t instanceof Ii?t.changingThisBreaksApplicationSecurity:t}function Ni(t,e){const i=Ki(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function Ki(t){return t instanceof Ii&&t.getTypeName()||null}function qi(t){return new Oi(t)}function Ui(t){return new Hi(t)}function Zi(t){return new Yi(t)}function Gi(t){return new Bi(t)}function Vi(t){return new ji(t)}class $i{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(zi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Wi{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=zi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=zi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Xi(t.trim())).join(", ")),this.buf.push(" ",e,'="',gn(r),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();an.hasOwnProperty(e)&&!nn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(gn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const pn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fn=/([^\#-~ |!])/g;function gn(t){return t.replace(/&/g,"&").replace(pn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(fn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let mn;function _n(t,e){let i=null;try{mn=mn||function(t){const e=new Wi(t);return function(){try{return!!(new window.DOMParser).parseFromString(zi(""),"text/html")}catch(t){return!1}}()?new $i(e):e}(t);let n=e?String(e):"";i=mn.getInertBodyElement(n);let s=5,o=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=o,o=i.innerHTML,i=mn.getInertBodyElement(n)}while(n!==o);return zi((new dn).sanitizeChildren(wn(i)||i))}finally{if(i){const t=wn(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function wn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var yn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function bn(t){const e=vn();return e?Pi(e.sanitize(yn.HTML,t)||""):Ni(t,"HTML")?Pi(Fi(t)):_n(St(),_(t))}function An(t){const e=vn();return e?e.sanitize(yn.URL,t)||"":Ni(t,"URL")?Fi(t):Xi(_(t))}function vn(){const t=Nt();return t&&t[12]}function kn(t,e){t.__ngContext__=e}function Tn(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Cn(t){return t.ngDebugContext}function Sn(t){return t.ngOriginalError}function Mn(t,...e){t.error(...e)}class En{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||Mn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?Cn(t)?Cn(t):this._findContext(Sn(t)):null}_findOriginalError(t){let e=Sn(t);for(;e&&Sn(e);)e=Sn(e);return e}}const Ln=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))();function xn(t){return t.ownerDocument.defaultView}function Dn(t){return t.ownerDocument.body}function Rn(t){return t instanceof Function?t():t}var zn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Pn(t,e){return(void 0)(t,e)}function In(t){const e=t[3];return ht(e)?e[3]:e}function On(t){return Yn(t[13])}function Hn(t){return Yn(t[4])}function Yn(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Bn(t,e,i,n,s){if(null!=n){let o,r=!1;ht(n)?o=n:lt(n)&&(r=!0,n=n[0]);const a=Lt(n);0===t&&null!==i?null==s?Gn(e,i,a):Zn(e,i,a,s||null,!0):1===t&&null!==i?Zn(e,i,a,s||null,!0):2===t?function(t,e,i){const n=$n(t,e);n&&function(t,e,i,n){Mt(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,r):3===t&&e.destroyNode(a),null!=o&&function(t,e,i,n,s){const o=i[7];o!==Lt(i)&&Bn(e,t,n,o,s);for(let r=ut;r0&&(t[i-1][4]=n[4]);const r=di(t,ut+e);ns(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function Kn(t,e){if(!(256&e[2])){const i=e[11];Mt(i)&&i.destroyNode&&ns(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return qn(t[1],t);for(;e;){let i=null;if(lt(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)lt(e)&&qn(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&qn(e[1],e),i=e&&e[4]}e=i}}(e)}}function qn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),o+=2}else{const t=n[s=i[o+1]];i[o].call(t)}if(null!==n){for(let t=s+1;to?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==as(e,u,0)||2&n&&u!==t){if(ps(n))return!1;r=!0}}}}else{if(!r&&!ps(n)&&!ps(c))return!1;if(r&&ps(c))continue;r=!1,n=c|1&n}}return ps(n)||r}function ps(t){return 0==(1&t)}function fs(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+r:4&n&&(s+=" "+r);else""===s||ps(r)||(e+=_s(o,s),s=""),n=r,o=o||!ps(n);i++}return""!==s&&(e+=_s(o,s)),e}const ys={};function bs(t){As(Kt(),Nt(),ge()+t,Wt())}function As(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&Ae(e,n,i)}else{const n=t.preOrderHooks;null!==n&&ve(e,n,0,i)}me(i)}function vs(t,e){return t<<17|e<<2}function ks(t){return t>>17&32767}function Ts(t){return 2|t}function Cs(t){return(131068&t)>>2}function Ss(t,e){return-131069&t|e<<2}function Ms(t){return 1|t}function Es(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;nct&&As(t,e,ct,Wt()),i(n,s)}finally{me(o)}}function Os(t,e,i){if(dt(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=o&&i.push(o),i.push(n,s,r)}}function Zs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Gs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Vs(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&io(i)}}function io(t){for(let i=On(t);null!==i;i=Hn(i))for(let t=ut;t0&&io(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&io(n)}}function no(t,e){const i=Pt(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function lo(t){return t[7]||(t[7]=[])}function ho(t){return t.cleanup||(t.cleanup=[])}function po(t,e,i){return(null===t||gt(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function fo(t,e){const i=t[9],n=i?i.get(En,null):null;n&&n.handleError(e)}function go(t,e,i,n,s){for(let o=0;othis.processProvider(i,t,e)),li([t],t=>this.processInjectorType(t,[],s)),this.records.set(wo,Lo(void 0,this));const o=this.records.get(bo);this.scope=null!=o?o.value:null,this.source=n||("object"==typeof t?null:l(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=_i,i=L.Default){this.assertNotDestroyed();const n=vi(this);try{if(!(i&L.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof ri)&&v(t);e=i&&this.injectableDefInScope(i)?Lo(Mo(t),Ao):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&L.Self?To():this.parent).get(t,e=i&L.Optional&&e===_i?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(l(t)),n)throw o;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e[yi]&&s.unshift(e[yi]),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=l(e);if(Array.isArray(e))s=e.map(l).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):l(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(wi,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{vi(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(l(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=f(t)))return!1;let n=T(t);const s=null==n&&t.ngModule||void 0,o=void 0===s?t:s,r=-1!==i.indexOf(o);if(void 0!==s&&(n=T(s)),null==n)return!1;if(null!=n.imports&&!r){let t;i.push(o);try{li(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||N))}}this.injectorDefTypes.add(o);const a=mt(o)||(()=>new o);this.records.set(o,Lo(a,Ao));const c=n.providers;if(null!=c&&!r){const e=t;li(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=Do(t=f(t))?t:f(t&&t.provide);const s=function(t,e,i){return xo(t)?Lo(void 0,t.useValue):Lo(Eo(t),Ao)}(t);if(Do(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=Lo(void 0,Ao,!0),e.factory=()=>Si(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===Ao&&(e.value=vo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Mo(t){const e=v(t),i=null!==e?e.factory:mt(t);if(null!==i)return i;if(t instanceof ri)throw new Error(`Token ${l(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=pi(e,"?");throw new Error(`Can't resolve all parameters for ${l(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[C]||t[M]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function Eo(t,e,i){let n;if(Do(t)){const e=f(t);return mt(e)||Mo(e)}if(xo(t))n=()=>f(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...Si(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>Ti(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return mt(e)||Mo(e);n=()=>new e(...Si(t.deps))}var s;return n}function Lo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function xo(t){return null!==t&&"object"==typeof t&&bi in t}function Do(t){return"function"==typeof t}const Ro=function(t,e,i){return function(t,e=null,i=null,n){const s=Co(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let zo=(()=>{class t{static create(t,e){return Array.isArray(t)?Ro(t,e,""):Ro(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=_i,t.NULL=new yo,t.\u0275prov=b({token:t,providedIn:"any",factory:()=>Ti(wo)}),t.__NG_ELEMENT_ID__=-1,t})();function Po(t,e){be(Tn(t)[1],Ut())}function Io(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(gt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=Oo(t.inputs),e.declaredInputs=Oo(t.declaredInputs),e.outputs=Oo(t.outputs);const i=s.hostBindings;i&&Bo(t,i);const o=s.viewQuery,r=s.contentQueries;if(o&&Ho(t,o),r&&Yo(t,r),u(t.inputs,s.inputs),u(t.declaredInputs,s.declaredInputs),u(t.outputs,s.outputs),gt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=De(s.hostAttrs,i=De(i,s.hostAttrs))}}(n)}function Oo(t){return t===F?{}:t===N?[]:t}function Ho(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function Yo(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function Bo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let jo=null;function Fo(){if(!jo){const t=j.Symbol;if(t&&t.iterator)jo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Lt(t[n.index])):n.index;if(Mt(i)){let r=null;if(!a&&c&&(r=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let o=0;oi?t[i]:null}"string"==typeof t&&(o+=2)}return null}(t,e,s,n.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,h=!1;else{o=gr(n,e,0,o,!1);const t=i.listen(p,s,o);l.push(o,t),u&&u.push(s,g,f,f+1)}}else o=gr(n,e,0,o,!0),p.addEventListener(s,o,r),l.push(o),u&&u.push(s,g,f,r)}else o=gr(n,e,0,o,!1);const d=n.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,jt.lFrame.contextLView))[8]}(t)}function _r(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const Tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cr(t){return t.substring(Tr.key,Tr.keyEnd)}function Sr(t,e){const i=Tr.textEnd;return i===e?-1:(e=Tr.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Tr.key=e,i),Mr(t,e,i))}function Mr(t,e,i){for(;e=0;i=Sr(e,i))fi(t,Cr(e),!0)}function Rr(t,e,i,n){const s=Nt(),o=Kt(),r=ee(2);o.firstUpdatePass&&Ir(o,t,r,n),e!==ys&&Zo(s,r,e)&&Yr(o,o.data[ge()],s,s[11],t,s[r+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=l(Fi(t)))),t}(e,i),n,r)}function zr(t,e,i,n){const s=Kt(),o=ee(2);s.firstUpdatePass&&Ir(s,null,o,n);const r=Nt();if(i!==ys&&Zo(r,o,i)){const a=s.data[ge()];if(Fr(a,n)&&!Pr(s,o)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=h(t,i||"")),tr(s,a,r,i,n)}else!function(t,e,i,n,s,o,r,a){s===ys&&(s=N);let c=0,u=0,l=0=t.expandoStartIndex}function Ir(t,e,i,n){const s=t.data;if(null===s[i+1]){const o=s[ge()],r=Pr(t,i);Fr(o,n)&&null===e&&!r&&(e=!1),e=function(t,e,i,n){const s=se(t);let o=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Hr(i=Or(null,t,e,i,n),e.attrs,n),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(i=Or(s,t,e,i,n),null===o){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==Cs(n))return t[ks(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Or(null,t,e,i[1],n),i=Hr(i,e.attrs,n),function(t,e,i,n){t[ks(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else o=function(t,e,i){let n;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=ks(t[a+1]);t[n+1]=vs(e,a),0!==e&&(t[e+1]=Ss(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=vs(a,0),0!==a&&(t[a+1]=Ss(t[a+1],n)),a=n;else t[n+1]=vs(c,0),0===a?a=n:t[c+1]=Ss(t[c+1],n),c=n;l&&(t[n+1]=Ts(t[n+1])),vr(t,u,n,!0),vr(t,u,n,!1),function(t,e,i,n,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&mi(o,e)>=0&&(i[n+1]=Ms(i[n+1]))}(e,u,t,n,o),r=vs(a,c),o?e.classBindings=r:e.styleBindings=r}(s,o,e,i,r,n)}}function Or(t,e,i,n,s){let o=null;const r=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],o=Array.isArray(e),c=o?e[1]:e,u=null===c;let l=i[s+1];l===ys&&(l=u?N:void 0);let h=u?gi(l,n):c===n?l:void 0;if(o&&!jr(h)&&(h=gi(e,n)),jr(h)&&(a=h,r))return a;const d=t[s+1];s=r?ks(d):Cs(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=gi(t,n))}return a}function jr(t){return void 0!==t}function Fr(t,e){return 0!=(t.flags&(e?16:32))}function Nr(t,e=""){const i=Nt(),n=Kt(),s=t+ct,o=n.firstCreatePass?xs(n,s,1,e,null):n.data[s],r=i[s]=function(t,e){return Mt(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Qn(n,i,r,o),Gt(o,!1)}function Kr(t){return qr("",t,""),Kr}function qr(t,e,i){const n=Nt(),s=$o(n,t,e,i);return s!==ys&&mo(n,ge(),s),qr}function Ur(t,e,i,n,s){const o=Nt(),r=function(t,e,i,n,s,o){const r=Go(t,Xt(),i,s);return ee(2),r?e+_(i)+n+_(s)+o:ys}(o,t,e,i,n,s);return r!==ys&&mo(o,ge(),r),Ur}function Zr(t,e,i,n,s,o,r,a,c,u,l){const h=Nt(),d=function(t,e,i,n,s,o,r,a,c,u,l,h){const d=Xt();let p=function(t,e,i,n,s,o){const r=Go(t,e,i,n);return Go(t,e+2,s,o)||r}(t,d,i,s,r,c);return p=Zo(t,d+4,l)||p,ee(5),p?e+_(i)+n+_(s)+o+_(r)+a+_(c)+u+_(l)+h:ys}(h,t,e,i,n,s,o,r,a,c,u,l);return d!==ys&&mo(h,ge(),d),Zr}function Gr(t,e,i){zr(fi,Dr,$o(Nt(),t,e,i),!0)}function Vr(t,e,i){const n=Nt();return Zo(n,te(),e)&&Ks(Kt(),_e(),n,t,e,n[11],i,!0),Vr}function $r(t,e,i){const n=Nt();if(Zo(n,te(),e)){const s=Kt(),o=_e();Ks(s,o,n,t,e,po(se(s.data),o,n),i,!0)}return $r}const Wr=void 0;var Jr=["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(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Qr={};function Xr(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=ea(e);if(i)return i;const n=e.split("-")[0];if(i=ea(n),i)return i;if("en"===n)return Jr;throw new Error(`Missing locale data for the locale "${t}".`)}function ta(t){return Xr(t)[ia.PluralCase]}function ea(t){return t in Qr||(Qr[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),Qr[t]}var ia=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const na="en-US";let sa=na;function oa(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(sa=t.toLowerCase().replace(/_/g,"-"))}function ra(t,e,i,n,s){if(t=f(t),Array.isArray(t))for(let o=0;o>20;if(Do(t)||!t.multi){const n=new Me(c,s,Qo),p=ua(a,e,s?l:l+d,h);-1===p?(Ke(Be(u,r),o,a),aa(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(n),r.push(n)):(i[p]=n,r[p]=n)}else{const p=ua(a,e,l+d,h),f=ua(a,e,l,l+d),g=p>=0&&i[p],m=f>=0&&i[f];if(s&&!m||!s&&!g){Ke(Be(u,r),o,a);const l=function(t,e,i,n,s){const o=new Me(t,i,Qo);return o.multi=[],o.index=e,o.componentProviders=0,ca(o,s,n&&!i),o}(s?ha:la,i.length,s,n,c);!s&&m&&(i[f].providerFactory=l),aa(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),r.push(l)}else aa(o,t,p>-1?p:f,ca(i[s?f:p],c,!s&&n));!s&&n&&m&&i[f].componentProviders++}}}function aa(t,e,i,n){const s=Do(e);if(s||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const r=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=r.indexOf(i);-1===t?r.push(i,[n,o]):r[t+1].push(n,o)}else r.push(i,o)}}}function ca(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function ua(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=Kt();if(n.firstCreatePass){const s=gt(t);ra(i,n.data,n.blueprint,s,!0),ra(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class fa{}class ga{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${l(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ma=(()=>{class t{}return t.NULL=new ga,t})();function _a(...t){}function wa(t,e){return new ba(Dt(t,e))}const ya=function(){return wa(Ut(),Nt())};let ba=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ya,t})();function Aa(t){return t instanceof ba?t.nativeElement:t}class va{}let ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ta(),t})();const Ta=function(){const t=Nt(),e=Pt(Ut().index,t);return function(t){return t[11]}(lt(e)?e:t)};let Ca=(()=>{class t{}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>null}),t})();class Sa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ma=new Sa("12.0.5");class Ea{constructor(){}supports(t){return Ko(t)}create(t){return new xa(t)}}const La=(t,e)=>e;class xa{constructor(t){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=t||La}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(o&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new Da(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new za),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new za),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Da{constructor(t,e){this.item=t,this.trackById=e,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 Ra{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class za{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new Ra,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Pa(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new Ha(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class Ha{constructor(t){this.key=t,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 Ya(){return new Ba([new Ea])}let Ba=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ya()),deps:[[t,new xi,new Li]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=b({token:t,providedIn:"root",factory:Ya}),t})();function ja(){return new Fa([new Ia])}let Fa=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||ja()),deps:[[t,new xi,new Li]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=b({token:t,providedIn:"root",factory:ja}),t})();function Na(t,e,i,n,s=!1){for(;null!==i;){const o=e[i.index];if(null!==o&&n.push(Lt(o)),ht(o))for(let t=ut;t-1&&(Nn(t,i),di(e,i))}this._attachedToViewContainer=!1}Kn(this._lView[1],this._lView)}onDestroy(t){Fs(this._lView[1],this._lView,null,t)}markForCheck(){oo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ro(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){Jt(!0);try{ro(t,e,i)}finally{Jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,ns(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class qa extends Ka{constructor(t){super(t),this._view=t}detectChanges(){ao(this._view)}checkNoChanges(){!function(t){Jt(!0);try{ao(t)}finally{Jt(!1)}}(this._view)}get context(){return null}}const Ua=function(t){return function(t,e,i){if(pt(t)&&!i){const i=Pt(t.index,e);return new Ka(i,i)}return 47&t.type?new Ka(e[16],e):null}(Ut(),Nt(),16==(16&t))};let Za=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ua,t})();const Ga=[new Ia],Va=new Ba([new Ea]),$a=new Fa(Ga),Wa=function(){return tc(Ut(),Nt())};let Ja=(()=>{class t{}return t.__NG_ELEMENT_ID__=Wa,t})();const Qa=Ja,Xa=class extends Qa{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Ls(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),Rs(e,i,t),new Ka(i)}};function tc(t,e){return 4&t.type?new Xa(e,t,wa(t,e)):null}class ec{}class ic{}const nc=function(){return uc(Ut(),Nt())};let sc=(()=>{class t{}return t.__NG_ELEMENT_ID__=nc,t})();const oc=sc,rc=class extends oc{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new ti(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ne(this._hostTNode,this._hostLView);if(ze(t)){const e=Ie(t,this._hostLView),i=Pe(t);return new ti(e[1].data[i+8],e)}return new ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ac(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const o=i||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(ec,null);t&&(s=t)}const r=t.create(o,n,void 0,s);return this.insert(r.hostView,e),r}insert(t,e){const i=t._lView,n=i[1];if(ht(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new rc(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,i,n){const s=ut+n,o=i.length;n>0&&(i[s-1][4]=e),nLn});class fc extends fa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ws).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return dc(this.componentDef.inputs)}get outputs(){return dc(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const o=t.get(i,lc,s);return o!==lc||n===lc?o:e.get(i,n,s)}}}(t,n.injector):t,o=s.get(va,Et),r=s.get(Ca,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(Mt(t))return t.selectRootElement(e,i===I.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):jn(o.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?kt:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:Ln,clean:uo,playerHandler:null,flags:0},d=js(0,null,null,1,0,null,null,null,null,null),p=Ls(null,d,h,l,null,null,o,a,r,s);let f,g;ue(p);try{const t=function(t,e,i,n,s,o){const r=i[1];i[20]=t;const a=xs(r,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(_o(a,c,!0),null!==t&&(Ee(s,t,c),null!==a.classes&&rs(s,t,a.classes),null!==a.styles&&os(s,t,a.styles)));const u=n.createRenderer(t,e),l=Ls(i,Bs(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return r.firstCreatePass&&(Ke(Be(a,i),r,e.type),Gs(r,a),$s(a,i.length,1)),so(i,l),i[20]=l}(u,this.componentDef,p,o,a);if(u)if(i)Ee(a,u,["ng-version",Ma.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&rs(a,u,e.join(" "))}if(g=Rt(d,ct),void 0!==e){const t=g.projection=[];for(let i=0;it(r,e)),e.contentQueries){const t=Ut();e.contentQueries(1,r,t.directiveStart)}const a=Ut();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(a.index),Us(i[1],a,0,a.directiveStart,a.directiveEnd,e),Zs(e,r)),r}(t,this.componentDef,p,h,[Po]),Rs(d,p,null)}finally{fe()}return new gc(this.componentType,f,wa(g,p),p,g)}}class gc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new qa(n),this.componentType=t}get injector(){return new ti(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const mc=new Map;class _c extends ec{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hc(this);const i=at(t),n=t[G]||null;n&&oa(n),this._bootstrapComponents=Rn(i.bootstrap),this._r3Injector=Co(t,e,[{provide:ec,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],l(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=zo.THROW_IF_NOT_FOUND,i=L.Default){return t===zo||t===ec||t===wo?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wc extends ic{constructor(t){super(),this.moduleType=t,null!==at(t)&&function(t){const e=new Set;!function t(i){const n=at(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${l(e)} vs ${l(e.name)}`)}(s,mc.get(s),i),mc.set(s,i));const o=Rn(n.imports);for(const r of o)e.has(r)||(e.add(r),t(r))}(t)}(t)}create(t){return new _c(this.moduleType,t)}}function yc(t,e,i){const n=Qt()+t,s=Nt();return s[n]===ys?Uo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function bc(t,e,i,n){return kc(Nt(),Qt(),t,e,i,n)}function Ac(t,e,i,n,s){return Tc(Nt(),Qt(),t,e,i,n,s)}function vc(t,e){const i=t[e];return i===ys?void 0:i}function kc(t,e,i,n,s,o){const r=e+i;return Zo(t,r,s)?Uo(t,r+1,o?n.call(o,s):n(s)):vc(t,r+1)}function Tc(t,e,i,n,s,o,r){const a=e+i;return Go(t,a,s,o)?Uo(t,a+2,r?n.call(r,s,o):n(s,o)):vc(t,a+2)}function Cc(t,e){const i=Kt();let n;const s=t+ct;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new m("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const o=n.factory||(n.factory=mt(n.type)),r=D(Qo);try{const t=He(!1),e=o();return He(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,Nt(),s,e),e}finally{D(r)}}function Sc(t,e,i){const n=t+ct,s=Nt(),o=zt(s,n);return xc(s,Lc(s,n)?kc(s,Qt(),e,o.transform,i,o):o.transform(i))}function Mc(t,e,i,n){const s=t+ct,o=Nt(),r=zt(o,s);return xc(o,Lc(o,s)?Tc(o,Qt(),e,r.transform,i,n,r):r.transform(i,n))}function Ec(t,e,i,n,s){const o=t+ct,r=Nt(),a=zt(r,o);return xc(r,Lc(r,o)?function(t,e,i,n,s,o,r,a){const c=e+i;return function(t,e,i,n,s){const o=Go(t,e,i,n);return Zo(t,e+2,s)||o}(t,c,s,o,r)?Uo(t,c+3,a?n.call(a,s,o,r):n(s,o,r)):vc(t,c+3)}(r,Qt(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function Lc(t,e){return t[1].data[e].pure}function xc(t,e){return No.isWrapped(e)&&(e=No.unwrap(e),t[Xt()]=ys),e}function Dc(t){return e=>{setTimeout(t,void 0,e)}}const Rc=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,o,r;let a=t,c=e||(()=>null),u=i;if(t&&"object"==typeof t){const e=t;a=null===(n=e.next)||void 0===n?void 0:n.bind(e),c=null===(o=e.error)||void 0===o?void 0:o.bind(e),u=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(c=Dc(c),a&&(a=Dc(a)),u&&(u=Dc(u)));const l=super.subscribe({next:a,error:c,complete:u});return t instanceof s.w&&t.add(l),l}};function zc(){return this._results[Fo()]()}class Pc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Fo(),i=Pc.prototype;i[e]||(i[e]=zc)}get changes(){return this._changes||(this._changes=new Rc)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const n=ui(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(r[t/2]);else{const s=o[t+1],r=e[-i];for(let t=ut;t{class t{constructor(t){this.appInits=t,this.resolve=_a,this.reject=_a,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Ti(Qc,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const tu=new ri("AppId"),eu={provide:tu,useFactory:function(){return`${iu()}${iu()}${iu()}`},deps:[]};function iu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nu=new ri("Platform Initializer"),su=new ri("Platform ID"),ou=new ri("appBootstrapListener");let ru=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const au=new ri("LocaleId"),cu=new ri("DefaultCurrencyCode");class uu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const lu=function(t){return new wc(t)},hu=lu,du=function(t){return Promise.resolve(lu(t))},pu=function(t){const e=lu(t),i=Rn(at(t).declarations).reduce((t,e)=>{const i=rt(e);return i&&t.push(new fc(i)),t},[]);return new uu(e,i)},fu=pu,gu=function(t){return Promise.resolve(pu(t))};let mu=(()=>{class t{constructor(){this.compileModuleSync=hu,this.compileModuleAsync=du,this.compileModuleAndAllComponentsSync=fu,this.compileModuleAndAllComponentsAsync=gu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const _u=(()=>Promise.resolve(0))();function wu(t){"undefined"==typeof Zone?_u.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class yu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Rc(!1),this.onMicrotaskEmpty=new Rc(!1),this.onStable=new Rc(!1),this.onError=new Rc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=!i&&e,n.shouldCoalesceRunChangeDetection=i,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=j.requestAnimationFrame,e=j.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,vu(t),t.isCheckStableRunning=!0,Au(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),vu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,o,r,a)=>{try{return ku(t),i.invokeTask(s,o,r,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Tu(t)}},onInvoke:(i,n,s,o,r,a,c)=>{try{return ku(t),i.invoke(s,o,r,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Tu(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,vu(t),Au(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yu.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+n,t,bu,_a,_a);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const bu={};function Au(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function vu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function ku(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tu(t){t._nesting--,Au(t)}class Cu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Rc,this.onMicrotaskEmpty=new Rc,this.onStable=new Rc,this.onError=new Rc}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let Su=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{yu.assertNotInAngularZone(),wu(()=>{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())wu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(Ti(yu))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})(),Mu=(()=>{class t{constructor(){this._applications=new Map,Du.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Du.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();class Eu{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}function Lu(t){Du=t}let xu,Du=new Eu,Ru=!0,zu=!1;function Pu(){return zu=!0,Ru}function Iu(){if(zu)throw new Error("Cannot enable prod mode after platform setup.");Ru=!1}const Ou=new ri("AllowMultipleToken");class Hu{constructor(t,e){this.name=t,this.token=e}}function Yu(t,e,i=[]){const n=`Platform: ${e}`,s=new ri(n);return(e=[])=>{let o=Bu();if(!o||o.injector.get(Ou,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:bo,useValue:"platform"});!function(t){if(xu&&!xu.destroyed&&!xu.injector.get(Ou,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xu=t.get(ju);const e=t.get(nu,null);e&&e.forEach(t=>t())}(zo.create({providers:t,name:n}))}return function(t){const e=Bu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Bu(){return xu&&!xu.destroyed?xu:null}let ju=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new Cu:("zone.js"===t?void 0:t)||new yu({enableLongStackTrace:Pu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:yu,useValue:i}];return i.run(()=>{const e=zo.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(En,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{o.handleError(t)}});s.onDestroy(()=>{Ku(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return cr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(o,i,()=>{const t=s.injector.get(Xc);return t.runInitializers(),t.donePromise.then(()=>(oa(s.injector.get(au,na)||na),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=Fu({},e);return function(t,e,i){const n=new wc(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(Nu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${l(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Ti(zo))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Fu(t,e){return Array.isArray(e)?e.reduce(Fu,t):Object.assign(Object.assign({},t),e)}let Nu=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 c=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{yu.assertNotInAngularZone(),wu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{yu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=(0,r.T)(c,u.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof fa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(ec),s=i.create(zo.NULL,[],e||i.selector,n),o=s.location.nativeElement,r=s.injector.get(Su,null),a=r&&s.injector.get(Mu);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),Ku(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ku(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ou,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Ti(yu),Ti(zo),Ti(En),Ti(ma),Ti(Xc))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Ku(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class qu{}class Uu{}const Zu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Gu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Zu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(3619)(e).then(t=>t[n]).then(t=>Vu(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(3619)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>Vu(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(Ti(mu),Ti(Uu,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Vu(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const $u=function(t){return null},Wu=Yu(null,"core",[{provide:su,useValue:"unknown"},{provide:ju,deps:[zo]},{provide:Mu,deps:[]},{provide:ru,deps:[]}]),Ju=[{provide:Nu,useClass:Nu,deps:[yu,zo,En,ma,Xc]},{provide:pc,deps:[yu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Xc,useClass:Xc,deps:[[new Li,Qc]]},{provide:mu,useClass:mu,deps:[]},eu,{provide:Ba,useFactory:function(){return Va},deps:[]},{provide:Fa,useFactory:function(){return $a},deps:[]},{provide:au,useFactory:function(t){return oa(t=t||"undefined"!=typeof $localize&&$localize.locale||na),t},deps:[[new Ei(au),new Li,new xi]]},{provide:cu,useValue:"USD"}];let Qu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Ti(Nu))},t.\u0275mod=et({type:t}),t.\u0275inj=A({providers:Ju}),t})()},2623:(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1572),_angular_common__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(1511),_angular_common_http__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9063),tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7632),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5959),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(878),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9764),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(1225),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1305),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1906),rxjs_operators__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3835),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(6599),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7701),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(509),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4689),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9996),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(7727),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9085),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(611),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(3982);module=__webpack_require__.hmd(module);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class t extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(i||t)}}(),t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class t{constructor(){this.data=new Map}getItem(t){return this.data.get(t)}removeItem(t){this.data.delete(t)}setItem(t,e){this.data.set(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class ReceivedTokens{}function b64DecodeUnicode(t){const e=t.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(t){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){let e=this.inferHashAlgorithm(t.idTokenHeader),i=yield this.calcHash(t.accessToken,e),n=base64UrlEncode(i.substr(0,i.length/2)),s=t.idTokenClaims.at_hash.replace(/=/g,"");return n!==s&&(console.error("exptected at_hash: "+n),console.error("actual at_hash: "+s)),n===s})}inferHashAlgorithm(t){let e=t.alg;if(!e.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+e);return"sha-"+e.substr(2)}}let UrlHelperService=(()=>{class t{getHashFragmentParams(t){let e=t||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const i=e.indexOf("?");return e=e.substr(i>-1?i+1:1),this.parseQueryString(e)}parseQueryString(t){const e={};let i,n,s,o,r,a,c;if(null===t)return e;i=t.split("&");for(let u=0;u{location.href=t},t&&Object.assign(this,t)}}class WebHttpUrlEncodingCodec{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(i){return new Sha256(e,!0).update(i)[t]()}};const \u02750=createOutputMethod;var createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var i=0;i>6,r[c++]=128|63&o):o<55296||o>=57344?(r[c++]=224|o>>12,r[c++]=128|o>>6&63,r[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++n)),r[c++]=240|o>>18,r[c++]=128|o>>12&63,r[c++]=128|o>>6&63,r[c++]=128|63&o);t=r}else{if("object"!==s)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],l=[];for(n=0;n<64;++n){var h=t[n]||0;u[n]=92^h,l[n]=54^h}Sha256.call(this,e,i),this.update(l),this.oKeyPad=u,this.inner=!0,this.sharedMemory=i}Sha256.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var n,s,o=0,r=t.length,a=this.blocks;o>2]|=t[o]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(a[s>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=a[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 t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,i,n,s,o,r=this.h0,a=this.h1,c=this.h2,u=this.h3,l=this.h4,h=this.h5,d=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(o=a&c,t=0;t<64;t+=4)this.first?(this.is224?(i=300032,p=(e=f[0]-1413257819)-150054599<<0,u=e+24177077<<0):(i=704751109,p=(e=f[0]-210244248)-1521486534<<0,u=e+143694565<<0),this.first=!1):(p=u+(e=p+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&h^~l&d)+K[t]+f[t])<<0,u=e+(((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+((i=r&a)^r&c^o))<<0),d=c+(e=d+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&l^~p&h)+K[t+1]+f[t+1])<<0,c=e+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((n=u&r)^u&a^i))<<0,h=a+(e=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&p^~d&l)+K[t+2]+f[t+2])<<0,a=e+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((s=c&u)^c&r^n))<<0,l=r+(e=l+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&p)+K[t+3]+f[t+3])<<0,r=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((o=a&c)^a&u^s))<<0;this.h0=this.h0+r<<0,this.h1=this.h1+a<<0,this.h2=this.h2+c<<0,this.h3=this.h3+u<<0,this.h4=this.h4+l<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=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[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[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[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[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[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]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r];return this.is224||(c+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o,r>>24&255,r>>16&255,r>>8&255,255&r];return this.is224||c.push(a>>24&255,a>>16&255,a>>8&255,255&a),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);class HashHandler{}let DefaultHashHandler=(()=>{class t{calcHash(t,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){const e=exports.array(t);return this.toHashString2(e)})}toHashString2(t){let e="";for(let i of t)e+=String.fromCharCode(i);return e}toHashString(t){const e=new Uint8Array(t);let i="";for(let n of e)i+=String.fromCharCode(n);return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})(),OAuthService=(()=>{class t extends AuthConfig{constructor(t,e,i,n,s,o,r,a,c,u){var l;super(),this.ngZone=t,this.http=e,this.config=s,this.urlHelper=o,this.logger=r,this.crypto=a,this.dateTimeService=u,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=c,s||(s={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),n&&(this.tokenValidationHandler=n),s&&this.configure(s);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if("undefined"!=typeof window&&void 0!==window.localStorage){const t=null===(l=null===window||void 0===window?void 0:window.navigator)||void 0===l?void 0:l.userAgent;((null==t?void 0:t.includes("MSIE "))||(null==t?void 0:t.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}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_3__.h)(t=>"token_received"===t.type)).subscribe(t=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(t={},e,i=!0){let n=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>{"token_received"===t.type?n=!0:"logout"===t.type&&(n=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_expires"===t.type&&(null==e||"any"===e||t.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(1e3)).subscribe(e=>{n&&this.refreshInternal(t,i).catch(t=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(t,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(t,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(t=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(t))}loadDiscoveryDocumentAndLogin(t=null){return this.loadDiscoveryDocumentAndTryLogin(t=t||{}).then(e=>!(!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 e=[],i=this.validateUrlForHttps(t),n=this.validateUrlAgainstIssuer(t);return i||e.push("https for all urls required. Also for urls received by discovery."),n||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(t){if(!t)return!0;const e=t.toLowerCase();return!1===this.requireHttps||!(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(t,e){if(!t)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(t))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(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_3__.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(),e=this.getAccessTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}setupIdTokenTimer(){const t=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(t,e){const i=this.dateTimeService.now();return Math.max(0,(e-t)*this.timeoutFactor-(i-t))}setStorage(t){this._storage=t,this.configChanged()}loadDiscoveryDocument(t=null){return new Promise((e,i)=>{t||((t=this.issuer||"").endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),this.validateUrlForHttps(t)?this.http.get(t).subscribe(t=>{if(!this.validateDiscoveryDocument(t))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=t.authorization_endpoint,this.logoutUrl=t.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=t.grant_types_supported,this.issuer=t.issuer,this.tokenEndpoint=t.token_endpoint,this.userinfoEndpoint=t.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=t.jwks_uri,this.sessionCheckIFrameUrl=t.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(t),this.revocationEndpoint=t.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(i=>{const n=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:t,jwks:i});this.eventsSubject.next(n),e(n)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)})},t=>{this.logger.error("error loading discovery document",t),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((t,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(e=>{this.jwks=e,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),t(e)},t=>{this.logger.error("error loading jwks",t),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),e(t)}):t(null)})}validateDiscoveryDocument(t){let e;return this.skipIssuerCheck||t.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(t.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!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,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingPasswordFlow(t,e,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,e)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(i=>{if(this.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){let n=JSON.parse(i.body);const s=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!s.sub||n.sub!==s.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");n=Object.assign({},s,n),this._storage.setItem("id_token_claims_obj",JSON.stringify(n)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t({info:n})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t(JSON.parse(i.body))},t=>{this.logger.error("error loading user info",t),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",t)),e(t)})})}fetchTokenUsingPasswordFlow(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingGrant("password",{username:t,password:e},i)}fetchTokenUsingGrant(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",t).set("scope",this.scope);if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(s,this.customQueryParams[s]);for(const s of Object.keys(e))n=n.set(s,e[s]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((t,e)=>{this.http.post(this.tokenEndpoint,n,{headers:i}).subscribe(e=>{this.debug("tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token&&this.processIdToken(e.id_token,e.access_token).then(i=>{this.storeIdToken(i),t(e)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),t(e)},t=>{this.logger.error("Error performing ${grantType} flow",t),this.eventsSubject.next(new OAuthErrorEvent("token_error",t)),e(t)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((t,e)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+t)}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 s of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,i,{headers:n}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.w)(t=>t.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.D)(this.processIdToken(t.id_token,t.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>this.storeIdToken(t)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(e=>t)):(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(t))).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.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),t(e)},t=>{this.logger.error("Error refreshing token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),e(t)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=t=>{const e=this.processMessageEventMessage(t);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(t=>this.debug("tryLogin during silent refresh failed",t))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(t={},e=!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 n=this.document.getElementById(this.silentRefreshIFrameName);n&&this.document.body.removeChild(n),this.silentRefreshSubject=i.sub;const s=this.document.createElement("iframe");s.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,t).then(t=>{s.setAttribute("src",t),this.silentRefreshShowIFrame||(s.style.display="none"),this.document.body.appendChild(s)});const o=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>t instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),r=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),a=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.S3)([o,r,a]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>{if(t instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===t.type||(t=new OAuthErrorEvent("silent_refresh_error",t)),this.eventsSubject.next(t),t;return"token_received"===t.type&&(t=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(t)),t})).toPromise()}initImplicitFlowInPopup(t){return this.initLoginFlowInPopup(t)}initLoginFlowInPopup(t){return t=t||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((i,n)=>{let s,o=null;t.windowRef?t.windowRef&&!t.windowRef.closed&&(o=t.windowRef,o.location.href=e):o=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(t));const r=t=>{this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{a(),i(!0)},t=>{a(),n(t)})};o?s=window.setInterval(()=>{o&&!o.closed||(a(),n(new OAuthErrorEvent("popup_closed",{})))},500):n(new OAuthErrorEvent("popup_blocked",{}));const a=()=>{window.clearInterval(s),window.removeEventListener("storage",u),window.removeEventListener("message",c),null!==o&&o.close(),o=null},c=t=>{const e=this.processMessageEventMessage(t);e&&null!==e?(window.removeEventListener("storage",u),r(e)):console.log("false event firing")},u=t=>{"auth_hash"===t.key&&(window.removeEventListener("message",c),r(t.newValue))};window.addEventListener("message",c),window.addEventListener("storage",u)}))}calculatePopupFeatures(t){const e=t.height||470,i=t.width||500,n=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${n}`}processMessageEventMessage(t){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!t||!t.data||"string"!=typeof t.data)return;const i=t.data;return i.startsWith(e)?"#"+i.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=t=>{const e=t.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(e)){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",e,"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_3__.h)(t=>"silently_refreshed"===t.type||"silent_refresh_timeout"===t.type||"silent_refresh_error"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.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 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 t=this.document.getElementById(this.sessionCheckIFrameName);t||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),t.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(t="",e="",i="",n=!1,s={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){const o=this;let r;r=i||this.redirectUri;const a=yield this.createAndSaveNonce();if(t=t?a+this.config.nonceStateSeparator+encodeURIComponent(t):a,!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 c=o.loginUrl.indexOf("?")>-1?"&":"?";let u=o.scope;this.oidc&&!u.match(/(^|\s)openid($|\s)/)&&(u="openid "+u);let l=o.loginUrl+c+"response_type="+encodeURIComponent(o.responseType)+"&client_id="+encodeURIComponent(o.clientId)+"&state="+encodeURIComponent(t)+"&redirect_uri="+encodeURIComponent(r)+"&scope="+encodeURIComponent(u);if(this.responseType.includes("code")&&!this.disablePKCE){const[t,e]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",e):this._storage.setItem("PKCE_verifier",e),l+="&code_challenge="+t,l+="&code_challenge_method=S256"}e&&(l+="&login_hint="+encodeURIComponent(e)),o.resource&&(l+="&resource="+encodeURIComponent(o.resource)),o.oidc&&(l+="&nonce="+encodeURIComponent(a)),n&&(l+="&prompt=none");for(const t of Object.keys(s))l+="&"+encodeURIComponent(t)+"="+encodeURIComponent(s[t]);if(this.customQueryParams)for(const t of Object.getOwnPropertyNames(this.customQueryParams))l+="&"+t+"="+encodeURIComponent(this.customQueryParams[t]);return l})}initImplicitFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initImplicitFlow",t),this.inImplicitFlow=!1})}initImplicitFlow(t="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(t,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"discovery_document_loaded"===t.type)).subscribe(i=>this.initImplicitFlowInternal(t,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(t){const e=this;if(t.onTokenReceived){const i={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};t.onTokenReceived(i)}}storeAccessTokenResponse(t,e,i,n,s){if(this._storage.setItem("access_token",t),n&&!Array.isArray(n)?this._storage.setItem("granted_scopes",JSON.stringify(n.split(" "))):n&&Array.isArray(n)&&this._storage.setItem("granted_scopes",JSON.stringify(n)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const t=1e3*i,e=this.dateTimeService.new().getTime()+t;this._storage.setItem("expires_at",""+e)}e&&this._storage.setItem("refresh_token",e),s&&s.forEach((t,e)=>{this._storage.setItem(e,t)})}tryLogin(t=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(t).then(t=>!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){const e=(t=t||{}).customHashFragment?t.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(e),n=i.code,s=i.state,o=i.session_state;if(!t.preventClearHashAfterLogin){const t=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,t)}let[r,a]=this.parseState(s);if(this.state=a,i.error){this.debug("error trying to login"),this.handleLoginError(t,i);const e=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(e),Promise.reject(e)}if(!t.disableNonceCheck){if(!r)return Promise.resolve();if(!t.disableOAuth2StateCheck&&!this.validateNonce(r)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.storeSessionState(o),n?this.getTokenFromCode(n,t).then(t=>null):Promise.resolve()}}getCodePartsFromUrl(t){return t&&0!==t.length?("?"===t.charAt(0)&&(t=t.substr(1)),this.urlHelper.parseQueryString(t)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(t,e){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",t).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let t;t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),t?i=i.set("code_verifier",t):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,e)}fetchAndProcessToken(t,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}return this.useHttpBasicAuth||(t=t.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(t=t.set("client_secret",this.dummyClientSecret)),new Promise((n,s)=>{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(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.oidc&&t.id_token?this.processIdToken(t.id_token,t.access_token,e.disableNonceCheck).then(e=>{this.storeIdToken(e),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),console.error("Error validating tokens"),console.error(t),s(t)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t))},t=>{console.error("Error getting token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),s(t)})})}tryLoginImplicitFlow(t=null){let e;e=(t=t||{}).customHashFragment?this.urlHelper.getHashFragmentParams(t.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const i=e.state;let[n,s]=this.parseState(i);if(this.state=s,e.error){this.debug("error trying to login"),this.handleLoginError(t,e);const i=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(i),Promise.reject(i)}const o=e.access_token,r=e.id_token,a=e.session_state,c=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!o)return Promise.resolve(!1);if(this.requestAccessToken&&!t.disableOAuth2StateCheck&&!i)return Promise.resolve(!1);if(this.oidc&&!r)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&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(n)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.requestAccessToken&&this.storeAccessTokenResponse(o,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c),this.oidc?this.processIdToken(r,o,t.disableNonceCheck).then(e=>t.validationHandler?t.validationHandler({accessToken:o,idClaims:e.idTokenClaims,idToken:e.idToken,state:i}).then(t=>e):e).then(e=>(this.storeIdToken(e),this.storeSessionState(a),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(t),this.inImplicitFlow=!1,!0)).catch(t=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),this.logger.error("Error validating tokens"),this.logger.error(t),Promise.reject(t))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(t),Promise.resolve(!0))}parseState(t){let e=t,i="";if(t){const n=t.indexOf(this.config.nonceStateSeparator);n>-1&&(e=t.substr(0,n),i=t.substr(n+this.config.nonceStateSeparator.length))}return[e,i]}validateNonce(t){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===t||(console.error("Validating access_token failed, wrong state/nonce.",e,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,e){t.onLoginError&&t.onLoginError(e),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(t=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:t}processIdToken(t,e,i=!1){const n=t.split("."),s=b64DecodeUnicode(this.padBase64(n[0])),o=JSON.parse(s),r=b64DecodeUnicode(this.padBase64(n[1])),a=JSON.parse(r);let c;if(c=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(t=>t!==this.clientId)){const t="Wrong audience: "+a.aud.join(",");return this.logger.warn(t),Promise.reject(t)}}else if(a.aud!==this.clientId){const t="Wrong audience: "+a.aud;return this.logger.warn(t),Promise.reject(t)}if(!a.sub){const t="No sub claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const t=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(t),Promise.reject(t)}if(!a.iat){const t="No iat claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const t="Wrong issuer: "+a.iss;return this.logger.warn(t),Promise.reject(t)}if(!i&&a.nonce!==c){const t="Wrong nonce: "+a.nonce;return this.logger.warn(t),Promise.reject(t)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const t="An at_hash is needed!";return this.logger.warn(t),Promise.reject(t)}const u=this.dateTimeService.now(),l=1e3*a.iat,h=1e3*a.exp,d=this.getClockSkewInMsec();if(l-d>=u||h+d<=u){const t="Token has expired";return console.error(t),console.error({now:u,issuedAtMSec:l,expiresAtMSec:h}),Promise.reject(t)}const p={accessToken:e,idToken:t,jwks:this.jwks,idTokenClaims:a,idTokenHeader:o,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(p).then(e=>({idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h})):this.checkAtHash(p).then(e=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!e){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return this.checkSignature(p).then(e=>{const i={idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h};return this.disableAtHashCheck?i:this.checkAtHash(p).then(t=>{if(this.requestAccessToken&&!t){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return i})})})}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"),e=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={},e=""){let i=!1;"boolean"==typeof t&&(i=t,t={});const n=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(t=>this._storage.removeItem(t)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl)return;if(i)return;if(!n&&!this.postLogoutRedirectUri)return;let s;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)s=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(n)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec});n&&(i=i.set("id_token_hint",n));const o=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";o&&(i=i.set("post_logout_redirect_uri",o),e&&(i=i.set("state",e)));for(let e in t)i=i.set(e,t[e]);s=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+i.toString()}this.config.openUri(s)}createAndSaveNonce(){const t=this;return this.createNonce().then(function(e){return t.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):t._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const t=this.document.getElementById(this.silentRefreshIFrameName);t&&t.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(t=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,n="";const s="undefined"==typeof self?null:self.crypto||self.msCrypto;if(s){let t=new Uint8Array(i);s.getRandomValues(t),t.map||(t.map=Array.prototype.map),t=t.map(t=>e.charCodeAt(t%e.length)),n=String.fromCharCode.apply(null,t)}else for(;0"discovery_document_loaded"===t.type)).subscribe(i=>this.initCodeFlowInternal(t,e))}initCodeFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initAuthorizationCodeFlow"),console.error(t)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.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 e=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(i=>{t[i]&&e.set(i,JSON.stringify(t[i]))}),e):e}revokeTokenAndLogout(t={},e=!1){let i=this.revocationEndpoint,n=this.getAccessToken(),s=this.getRefreshToken();if(!n)return;let o=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}),r=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const a of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(a,this.customQueryParams[a]);return new Promise((a,c)=>{let u,l;if(n){let t=o.set("token",n).set("token_type_hint","access_token");u=this.http.post(i,t,{headers:r})}else u=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);if(s){let t=o.set("token",s).set("token_type_hint","refresh_token");l=this.http.post(i,t,{headers:r})}else l=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);e&&(u=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t))),l=l.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_16__.aj)([u,l]).subscribe(e=>{this.logOut(t),a(e),this.logger.info("Token successfully revoked")},t=>{this.logger.error("Error revoking token",t),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",t)),c(t)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_17__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DateTimeProvider))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(t){return(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)}}let DefaultOAuthInterceptor=(()=>{class t{constructor(t,e,i){this.oAuthService=t,this.errorHandler=e,this.moduleConfig=i}checkUrl(t){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(t):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>t.toLowerCase().startsWith(e.toLowerCase()))}intercept(t,e){const i=t.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_18__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>!!t)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.zg)(i=>{if(i){const e=t.headers.set("Authorization","Bearer "+i);t=t.clone({headers:e})}return e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t)))})):e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t))):e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthModuleConfig,8))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class NullValidationHandler{validateSignature(t){return Promise.resolve(null)}validateAtHash(t){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class t{static forRoot(e=null,i=NullValidationHandler){return{ngModule:t,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:i},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:e},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_17__.ez]]}),t})();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_0__.OlP("AUTH_CONFIG")},2051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){r(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(t,o,r){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=o=o||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,o,r):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,o){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),s);else if(i(t))e(t,s,o);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){n(r)})}}:function(t,i,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=r.saveAs=r,t.exports=r})?i.apply(e,[]):i)||(t.exports=n)},776:function(t,e,i){!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(t){return/^nm$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},2758:function(t,e,i){!function(t){"use strict";t.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(i(9609))},4980:function(t,e,i){!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}})}(i(9609))},9602:function(t,e,i){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(t){return function(e,s,o,r){var a=i(e),c=n[t][i(e)];return 2===a&&(c=c[s?0:1]),c.replace(/%d/i,e)}},o=["\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:o,monthsShort:o,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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},2500:function(t,e,i){!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\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:6,doy:12}})}(i(9609))},6909:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(9609))},2735:function(t,e,i){!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}})}(i(9609))},7634:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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"]},o=function(t){return function(e,i,o,r){var a=n(e),c=s[t][n(e)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,e)}},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"];t.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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},7798:function(t,e,i){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};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:"birne\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(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9949:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}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:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(i(9609))},4590:function(t,e,i){!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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},5938:function(t,e,i){!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}})}(i(9609))},595:function(t,e,i){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\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\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(9609))},4756:function(t,e,i){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\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\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("_"),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\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("_"),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(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(9609))},7277:function(t,e,i){!function(t){"use strict";function e(t,e,i){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],t)}function i(t){return t>9?i(t%10):t}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i(9609))},4166:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},3943:function(t,e,i){!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(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}})}(i(9609))},3474:function(t,e,i){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^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],s=/^(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 o(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||n?s+(o(t)?"sekundy":"sekund"):s+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?s+(o(t)?"minuty":"minut"):s+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?s+(o(t)?"hodiny":"hodin"):s+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?s+(o(t)?"dny":"dn\xed"):s+"dny";case"M":return e||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||n?s+(o(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?s+(o(t)?"roky":"let"):s+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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}})}(i(9609))},2218:function(t,e,i){!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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(9609))},1061:function(t,e,i){!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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(i(9609))},2743:function(t,e,i){!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}})}(i(9609))},8580:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3264:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1899:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8784:function(t,e,i){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,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(t){return"\u0789\u078a"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(9609))},4654:function(t,e,i){!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(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.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(t,e,i){return t>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var i,n=this._calendarEl[t],s=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(9609))},4047:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6277:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6896:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},1609:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},4557:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},5836:function(t,e,i){!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",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},3586:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2777:function(t,e,i){!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_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,i){return t>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(9609))},3128:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},3256:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(9609))},3357:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},2654:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},7287:function(t,e,i){!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}})}(i(9609))},5210:function(t,e,i){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\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(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,i){return t<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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(9609))},3431:function(t,e,i){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function n(t,n,s,o){var r="";switch(s){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":r=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":r=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":r=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":r=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":r=o?"vuoden":"vuotta"}return function(t,n){return t<10?n?i[t]:e[t]:t}(t,o)+" "+r}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1781:function(t,e,i){!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}})}(i(9609))},1539:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(i(9609))},9847:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},1717:function(t,e,i){!function(t){"use strict";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("_"),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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},2250:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},7665:function(t,e,i){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},5214:function(t,e,i){!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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},6154:function(t,e,i){!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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},8518:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?s[i][0]:s[i][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(i(9609))},9221:function(t,e,i){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\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\u0ac7\u0ab9\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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(9609))},4743:function(t,e,i){!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(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,i){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(9609))},7339:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(9609))},3224:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},856:function(t,e,i){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(t,e,i,n){var s=t;switch(i){case"s":return n||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return s+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return s+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||e?" \xe9v":" \xe9ve");case"yy":return s+(n||e?" \xe9v":" \xe9ve")}return""}function n(t){return(t?"":"[m\xfalt] ")+"["+e[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("_"),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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(i(9609))},6855:function(t,e,i){!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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(i(9609))},2190:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},3887:function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,s){var o=t+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?o+(i||s?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?o+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return e(t)?o+(i||s?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return e(t)?i?o+"dagar":o+(s?"daga":"d\xf6gum"):i?o+"dagur":o+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?i?o+"m\xe1nu\xf0ir":o+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?o+"m\xe1nu\xf0ur":o+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return e(t)?o+(i||s?"\xe1r":"\xe1rum"):o+(i||s?"\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:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},5890:function(t,e,i){!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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},9270:function(t,e,i){!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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},6595:function(t,e,i){!function(t){"use strict";t.defineLocale("ja",{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:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,i){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(9609))},7477:function(t,e,i){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(i(9609))},3978:function(t,e,i){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9205:function(t,e,i){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},25:function(t,e,i){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\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(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(9609))},427:function(t,e,i){!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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,i){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(9609))},9089:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\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:n,monthsShort:n,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(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},9314:function(t,e,i){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},3136:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={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 e?s[i][0]:s[i][1]}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return i(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=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(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9115:function(t,e,i){!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(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,i){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(i(9609))},7087:function(t,e,i){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_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 i(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(t){return t%10==0||t>10&&t<20}function s(t){return e[t].split("_")}function o(t,e,o,r){var a=t+" ";return 1===t?a+i(0,e,o[0],r):e?a+(n(t)?s(o)[1]:s(o)[0]):r?a+s(o)[1]:a+(n(t)?s(o)[1]:s(o)[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(t,e,i,n){return e?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i(9609))},5683:function(t,e,i){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(t,e,i){return i?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,s){return t+" "+i(e[s],t,n)}function s(t,n,s){return i(e[s],t,n)}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(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9454:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},5507:function(t,e,i){!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}})}(i(9609))},8466:function(t,e,i){!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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},2933:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(9609))},9477:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){switch(i){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 t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}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(t){return"\u04ae\u0425"===t},meridiem:function(t,e,i){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(i(9609))},3597:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(t,e,i,n){var s="";if(e)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,t)}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e?t>=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(9609))},9965:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},5529:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},259:function(t,e,i){!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}})}(i(9609))},8061:function(t,e,i){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\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(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},2618:function(t,e,i){!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_april_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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8452:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,i){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(9609))},413:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},1885:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},5107:function(t,e,i){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},702:function(t,e,i){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(9609))},1711:function(t,e,i){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function s(t,e,i){var s=t+" ";switch(i){case"ss":return s+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return s+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return s+(n(t)?"godziny":"godzin");case"MM":return s+(n(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?""===n?"("+i[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(n)?i[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8238:function(t,e,i){!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"})}(i(9609))},594:function(t,e,i){!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",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},4681:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(i(9609))},6201:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\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",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}var i=[/^\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:i,longMonthsParse:i,shortMonthsParse:i,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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(i(9609))},2912:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6002:function(t,e,i){!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}})}(i(9609))},7942:function(t,e,i){!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(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,i){return t>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(9609))},5577:function(t,e,i){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function s(t,e,i,s){var o=t+" ";switch(i){case"s":return e||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||s?o+(n(t)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return e?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return e||s?o+(n(t)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return e?"hodina":s?"hodinu":"hodinou";case"hh":return e||s?o+(n(t)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return e||s?"de\u0148":"d\u0148om";case"dd":return e||s?o+(n(t)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return e||s?"mesiac":"mesiacom";case"MM":return e||s?o+(n(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||s?"rok":"rokom";case"yy":return e||s?o+(n(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:i,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(i(9609))},1775:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return s+(1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return s+(1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return s+(1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return s+(1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return s+(1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6823:function(t,e,i){!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(t){return"M"===t.charAt(0)},meridiem:function(t,e,i){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3848:function(t,e,i){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},9038:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6173:function(t,e,i){!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(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(9609))},5788:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(i(9609))},6882:function(t,e,i){!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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(9609))},2678:function(t,e,i){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\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(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e,i){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(i(9609))},2797:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(9609))},2447:function(t,e,i){!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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},1335:function(t,e,i){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},8667:function(t,e,i){!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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,i){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(9609))},9914:function(t,e,i){!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(t){return t},week:{dow:1,doy:4}})}(i(9609))},1389:function(t,e,i){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(t,i,n,s){var o=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),s=t%10,o="";return i>0&&(o+=e[i]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+e[n]+"maH"),s>0&&(o+=(""!==o?" ":"")+e[s]),""===o?"pagh":o}(t);switch(n){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" 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(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3578:function(t,e,i){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};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_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".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 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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,i){switch(i){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(i(9609))},6969:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?s[i][0]:s[i][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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,i){return t>11?i?"d'o":"D'O":i?"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: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}})}(i(9609))},690:function(t,e,i){!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}})}(i(9609))},6509:function(t,e,i){!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}})}(i(9609))},55:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(9609))},2452:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(n=+t,s={ss:e?"\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:e?"\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:e?"\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"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}function i(t){return function(){return t+"\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(t,e){var i={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===t?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):t?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:i.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(i(9609))},1151:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6547:function(t,e,i){!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}})}(i(9609))},1555:function(t,e,i){!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}})}(i(9609))},6541:function(t,e,i){!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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(i(9609))},2401:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2341:function(t,e,i){!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}})}(i(9609))},619:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<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|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(9609))},7058:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},2782:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},9609:function(t,e,i){(t=i.nmd(t)).exports=function(){"use strict";var e,n;function s(){return e.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i<_.length;i++)a(s=e[n=_[i]])||(t[n]=s);return t}var y=!1;function b(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,s.updateOffset(this),y=!1)}function A(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function k(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=v(e)),i}function T(t,e,i){var n,s=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),r=0;for(n=0;n=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},K={};function q(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(K[t]=s),e&&(K[e[0]]=function(){return B(s.apply(this,arguments),e[1],e[2])}),i&&(K[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=Z(e,t.localeData()),N[e]=N[e]||function(t){var e,i,n,s=t.match(j);for(e=0,i=s.length;e=0&&F.test(t);)t=t.replace(F,n),F.lastIndex=0,i-=1;return t}var G=/\d/,V=/\d\d/,$=/\d{3}/,W=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,X=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,st=/\d+/,ot=/[+-]?\d+/,rt=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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,ut={};function lt(t,e,i){ut[t]=x(e)?e:function(t,n){return t&&i?i:e}}function ht(t,e){return h(ut,t)?ut[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,s){return e||i||n||s})))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),c(e)&&(n=function(t,i){i[e]=k(t)}),i=0;i68?1900:2e3)};var yt,bt=At("FullYear",!0);function At(t,e){return function(i){return null!=i?(kt(this,t,i),s.updateOffset(this,e),this):vt(this,t)}}function vt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function kt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&wt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Tt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Tt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?wt(t)?29:28:31-i%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0?(a=new Date(t+400,e,i,n,s,o,r),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,s,o,r),a}function It(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Ot(t,e,i){var n=7+e-i;return-(7+It(t,0,n).getUTCDay()-e)%7+n-1}function Ht(t,e,i,n,s){var o,r,a=1+7*(e-1)+(7+i-n)%7+Ot(t,n,s);return a<=0?r=_t(o=t-1)+a:a>_t(t)?(o=t+1,r=a-_t(t)):(o=t,r=a),{year:o,dayOfYear:r}}function Yt(t,e,i){var n,s,o=Ot(t.year(),e,i),r=Math.floor((t.dayOfYear()-o-1)/7)+1;return r<1?n=r+Bt(s=t.year()-1,e,i):r>Bt(t.year(),e,i)?(n=r-Bt(t.year(),e,i),s=t.year()+1):(s=t.year(),n=r),{week:n,year:s}}function Bt(t,e,i){var n=Ot(t,e,i),s=Ot(t+1,e,i);return(_t(t)-n+s)/7}function jt(t,e){return t.slice(e,7).concat(t.slice(0,e))}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),Y("week",5),Y("isoWeek",5),lt("w",Q),lt("ww",Q,V),lt("W",Q),lt("WW",Q,V),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=k(t)}),q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),lt("d",Q),lt("e",Q),lt("E",Q),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){var s=i._locale.weekdaysParse(t,n,i._strict);null!=s?e.d=s:f(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=k(t)});var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function qt(t,e,i){var n,s,o,r=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,r))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,r))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._shortWeekdaysParse,r))||-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,r))||-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,r))||-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._shortWeekdaysParse,r))?s:null}var Ut=ct,Zt=ct,Gt=ct;function Vt(){function t(t,e){return e.length-t.length}var e,i,n,s,o,r=[],a=[],c=[],u=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),o=this.weekdays(i,""),r.push(n),a.push(s),c.push(o),u.push(n),u.push(s),u.push(o);for(r.sort(t),a.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)a[e]=dt(a[e]),c[e]=dt(c[e]),u[e]=dt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function $t(){return this.hours()%12||12}function Wt(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,$t),q("k",["kk",2],0,function(){return this.hours()||24}),q("hmm",0,0,function(){return""+$t.apply(this)+B(this.minutes(),2)}),q("hmmss",0,0,function(){return""+$t.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Wt("a",!0),Wt("A",!1),P("hour","h"),Y("hour",13),lt("a",Jt),lt("A",Jt),lt("H",Q),lt("h",Q),lt("k",Q),lt("HH",Q,V),lt("hh",Q,V),lt("kk",Q,V),lt("hmm",X),lt("hmmss",tt),lt("Hmm",X),lt("Hmmss",tt),ft(["H","HH"],3),ft(["k","kk"],function(t,e,i){var n=k(t);e[3]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[3]=k(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n,2)),e[5]=k(t.substr(s)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=k(t.substr(0,n)),e[4]=k(t.substr(n,2)),e[5]=k(t.substr(s))});var Qt,Xt=At("Hours",!0),te={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Mt,week:{dow:0,doy:6},weekdays:Ft,weekdaysMin:Kt,weekdaysShort:Nt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ie={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function se(e){var n=null;if(!ee[e]&&t&&t.exports)try{n=Qt._abbr,i(6700)("./"+e),oe(n)}catch(s){}return ee[e]}function oe(t,e){var i;return t&&((i=a(e)?ae(t):re(t,e))?Qt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function re(t,e){if(null!==e){var i,n=te;if(e.abbr=t,null!=ee[t])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])n=ee[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ie[e.parentLocale]||(ie[e.parentLocale]=[]),ie[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ee[t]=new R(D(n,e)),ie[t]&&ie[t].forEach(function(t){re(t.name,t.config)}),oe(t),ee[t]}return delete ee[t],null}function ae(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!o(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,s,o=0;o0;){if(n=se(s.slice(0,e).join("-")))return n;if(i&&i.length>=e&&T(s,i,!0)>=e-1)break;e--}o++}return Qt}(t)}function ce(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Tt(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,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}function ue(t,e,i){return null!=t?t:null!=e?e:i}function le(t){var e,i,n,o,r,a=[];if(!t._d){for(n=function(t){var e=new Date(s.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,s,o,r,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,r=4,i=ue(e.GG,t._a[0],Yt(Te(),1,4).year),n=ue(e.W,1),((s=ue(e.E,1))<1||s>7)&&(c=!0);else{o=t._locale._week.dow,r=t._locale._week.doy;var u=Yt(Te(),o,r);i=ue(e.gg,t._a[0],u.year),n=ue(e.w,u.week),null!=e.d?((s=e.d)<0||s>6)&&(c=!0):null!=e.e?(s=e.e+o,(e.e<0||e.e>6)&&(c=!0)):s=o}n<1||n>Bt(i,o,r)?f(t)._overflowWeeks=!0:null!=c?f(t)._overflowWeekday=!0:(a=Ht(i,n,s,o,r),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(r=ue(t._a[0],n[0]),(t._dayOfYear>_t(r)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=It(r,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?It:Pt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var he=/^\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)?)?$/,de=/^\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)?)?$/,pe=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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}/]],ge=[["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/]],me=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,s,o,r,a=t._i,c=he.exec(a)||de.exec(a);if(c){for(f(t).iso=!0,e=0,i=fe.length;e0&&f(t).unusedInput.push(r),a=a.slice(a.indexOf(i)+i.length),u+=i.length),K[o]?(i?f(t).empty=!1:f(t).unusedTokens.push(o),mt(o,i,t)):t._strict&&!i&&f(t).unusedTokens.push(o);f(t).charsLeftOver=c-u,a.length>0&&f(t).unusedInput.push(a),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),le(t),ce(t)}else be(t);else _e(t)}function ve(t){var e=t._i,i=t._f;return t._locale=t._locale||ae(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),A(e)?new b(ce(e)):(u(e)?t._d=e:o(i)?function(t){var e,i,n,s,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(s=0;sthis?this:t:m()});function Me(t,e){var i,n;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],n=1;n=0?new Date(t+400,e,i)-ti:new Date(t,e,i).valueOf()}function ni(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ti:Date.UTC(t,e,i)}function si(t,e){q(0,[t,t.length],0,e)}function oi(t,e,i,n,s){var o;return null==t?Yt(this,n,s).year:(e>(o=Bt(t,n,s))&&(e=o),ri.call(this,t,e,i,n,s))}function ri(t,e,i,n,s){var o=Ht(t,e,i,n,s),r=It(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),lt("G",ot),lt("g",ot),lt("GG",Q,V),lt("gg",Q,V),lt("GGGG",it,W),lt("gggg",it,W),lt("GGGGG",nt,J),lt("ggggg",nt,J),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=k(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=s.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),P("quarter","Q"),Y("quarter",7),lt("Q",G),ft("Q",function(t,e){e[1]=3*(k(t)-1)}),q("D",["DD",2],"Do","date"),P("date","D"),Y("date",9),lt("D",Q),lt("DD",Q,V),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],2),ft("Do",function(t,e){e[2]=k(t.match(Q)[0])});var ai=At("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),Y("dayOfYear",4),lt("DDD",et),lt("DDDD",$),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=k(t)}),q("m",["mm",2],0,"minute"),P("minute","m"),Y("minute",14),lt("m",Q),lt("mm",Q,V),ft(["m","mm"],4);var ci=At("Minutes",!1);q("s",["ss",2],0,"second"),P("second","s"),Y("second",15),lt("s",Q),lt("ss",Q,V),ft(["s","ss"],5);var ui,li=At("Seconds",!1);for(q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),Y("millisecond",16),lt("S",et,G),lt("SS",et,V),lt("SSS",et,$),ui="SSSS";ui.length<=9;ui+="S")lt(ui,st);function hi(t,e){e[6]=k(1e3*("0."+t))}for(ui="S";ui.length<=9;ui+="S")ft(ui,hi);var di=At("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var pi=b.prototype;function fi(t){return t}pi.add=Ue,pi.calendar=function(t,e){var i=t||Te(),n=Ie(i,this).startOf("day"),o=s.calendarFormat(this,n)||"sameElse",r=e&&(x(e[o])?e[o].call(this,i):e[o]);return this.format(r||this.localeData().calendar(o,this,Te(i)))},pi.clone=function(){return new b(this)},pi.diff=function(t,e,i){var n,s,o;if(!this.isValid())return NaN;if(!(n=Ie(t,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":o=Ge(this,n)/12;break;case"month":o=Ge(this,n);break;case"quarter":o=Ge(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-s)/864e5;break;case"week":o=(this-n-s)/6048e5;break;default:o=this-n}return i?o:v(o)},pi.endOf=function(t){var e;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?ni:ii;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Xe-ei(e+(this._isUTC?0:this.utcOffset()*Qe),Xe)-1;break;case"minute":e=this._d.valueOf(),e+=Qe-ei(e,Qe)-1;break;case"second":e=this._d.valueOf(),e+=Je-ei(e,Je)-1}return this._d.setTime(e),s.updateOffset(this,!0),this},pi.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},pi.from=function(t,e){return this.isValid()&&(A(t)&&t.isValid()||Te(t).isValid())?je({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},pi.fromNow=function(t){return this.from(Te(),t)},pi.to=function(t,e){return this.isValid()&&(A(t)&&t.isValid()||Te(t).isValid())?je({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},pi.toNow=function(t){return this.to(Te(),t)},pi.get=function(t){return x(this[t=I(t)])?this[t]():this},pi.invalidAt=function(){return f(this).overflow},pi.isAfter=function(t,e){var i=A(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},pi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},pi.toJSON=function(){return this.isValid()?this.toISOString():null},pi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},pi.unix=function(){return Math.floor(this.valueOf()/1e3)},pi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},pi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},pi.year=bt,pi.isLeapYear=function(){return wt(this.year())},pi.weekYear=function(t){return oi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},pi.isoWeekYear=function(t){return oi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},pi.quarter=pi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},pi.month=xt,pi.daysInMonth=function(){return Tt(this.year(),this.month())},pi.week=pi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},pi.isoWeek=pi.isoWeeks=function(t){var e=Yt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},pi.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},pi.isoWeeksInYear=function(){return Bt(this.year(),1,4)},pi.date=ai,pi.day=pi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},pi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},pi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},pi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},pi.hour=pi.hours=Xt,pi.minute=pi.minutes=ci,pi.second=pi.seconds=li,pi.millisecond=pi.milliseconds=di,pi.utcOffset=function(t,e,i){var n,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Pe(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Oe(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?qe(this,je(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Oe(this)},pi.utc=function(t){return this.utcOffset(0,t)},pi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Oe(this),"m")),this},pi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Pe(rt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},pi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},pi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},pi.isLocal=function(){return!!this.isValid()&&!this._isUTC},pi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},pi.isUtc=He,pi.isUTC=He,pi.zoneAbbr=function(){return this._isUTC?"UTC":""},pi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},pi.dates=S("dates accessor is deprecated. Use date instead.",ai),pi.months=S("months accessor is deprecated. Use month instead",xt),pi.years=S("years accessor is deprecated. Use year instead",bt),pi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),pi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(w(t,this),(t=ve(t))._a){var e=t._isUTC?p(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&T(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var gi=R.prototype;function mi(t,e,i,n){var s=ae(),o=p().set(n,e);return s[i](o,t)}function _i(t,e,i){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return mi(t,e,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=mi(t,n,i,"month");return s}function wi(t,e,i,n){"boolean"==typeof t?(c(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,c(e)&&(i=e,e=void 0),e=e||"");var s,o=ae(),r=t?o._week.dow:0;if(null!=i)return mi(e,(i+r)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=mi(e,(s+r)%7,n,"day");return a}gi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return x(n)?n.call(e,i):n},gi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},gi.invalidDate=function(){return this._invalidDate},gi.ordinal=function(t){return this._ordinal.replace("%d",t)},gi.preparse=fi,gi.postformat=fi,gi.relativeTime=function(t,e,i,n){var s=this._relativeTime[i];return x(s)?s(t,e,i,n):s.replace(/%d/i,t)},gi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return x(i)?i(e):i.replace(/%s/i,e)},gi.set=function(t){var e,i;for(i in t)x(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gi.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ct).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},gi.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ct.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gi.monthsParse=function(t,e,i){var n,s,o;if(this._monthsParseExact)return Et.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},gi.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Rt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},gi.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Dt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},gi.week=function(t){return Yt(t,this._week.dow,this._week.doy).week},gi.firstDayOfYear=function(){return this._week.doy},gi.firstDayOfWeek=function(){return this._week.dow},gi.weekdays=function(t,e){var i=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?jt(i,this._week.dow):t?i[t.day()]:i},gi.weekdaysMin=function(t){return!0===t?jt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},gi.weekdaysShort=function(t){return!0===t?jt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},gi.weekdaysParse=function(t,e,i){var n,s,o;if(this._weekdaysParseExact)return qt.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},gi.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},gi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Zt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Vt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},gi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},oe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===k(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),s.lang=S("moment.lang is deprecated. Use moment.locale instead.",oe),s.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ae);var yi=Math.abs;function bi(t,e,i,n){var s=je(e,i);return t._milliseconds+=n*s._milliseconds,t._days+=n*s._days,t._months+=n*s._months,t._bubble()}function Ai(t){return t<0?Math.floor(t):Math.ceil(t)}function vi(t){return 4800*t/146097}function ki(t){return 146097*t/4800}function Ti(t){return function(){return this.as(t)}}var Ci=Ti("ms"),Si=Ti("s"),Mi=Ti("m"),Ei=Ti("h"),Li=Ti("d"),xi=Ti("w"),Di=Ti("M"),Ri=Ti("Q"),zi=Ti("y");function Pi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ii=Pi("milliseconds"),Oi=Pi("seconds"),Hi=Pi("minutes"),Yi=Pi("hours"),Bi=Pi("days"),ji=Pi("months"),Fi=Pi("years"),Ni=Math.round,Ki={ss:44,s:45,m:45,h:22,d:26,M:11};function qi(t,e,i,n,s){return s.relativeTime(e||1,!!i,t,n)}var Ui=Math.abs;function Zi(t){return(t>0)-(t<0)||+t}function Gi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Ui(this._milliseconds)/1e3,n=Ui(this._days),s=Ui(this._months);t=v(i/60),e=v(t/60),i%=60,t%=60;var o=v(s/12),r=s%=12,a=n,c=e,u=t,l=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=Zi(this._months)!==Zi(h)?"-":"",f=Zi(this._days)!==Zi(h)?"-":"",g=Zi(this._milliseconds)!==Zi(h)?"-":"";return d+"P"+(o?p+o+"Y":"")+(r?p+r+"M":"")+(a?f+a+"D":"")+(c||u||l?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(l?g+l+"S":"")}var Vi=Le.prototype;return Vi.isValid=function(){return this._isValid},Vi.abs=function(){var t=this._data;return this._milliseconds=yi(this._milliseconds),this._days=yi(this._days),this._months=yi(this._months),t.milliseconds=yi(t.milliseconds),t.seconds=yi(t.seconds),t.minutes=yi(t.minutes),t.hours=yi(t.hours),t.months=yi(t.months),t.years=yi(t.years),this},Vi.add=function(t,e){return bi(this,t,e,1)},Vi.subtract=function(t,e){return bi(this,t,e,-1)},Vi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(i=this._months+vi(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ki(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Vi.asMilliseconds=Ci,Vi.asSeconds=Si,Vi.asMinutes=Mi,Vi.asHours=Ei,Vi.asDays=Li,Vi.asWeeks=xi,Vi.asMonths=Di,Vi.asQuarters=Ri,Vi.asYears=zi,Vi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Vi._bubble=function(){var t,e,i,n,s,o=this._milliseconds,r=this._days,a=this._months,c=this._data;return o>=0&&r>=0&&a>=0||o<=0&&r<=0&&a<=0||(o+=864e5*Ai(ki(a)+r),r=0,a=0),c.milliseconds=o%1e3,t=v(o/1e3),c.seconds=t%60,e=v(t/60),c.minutes=e%60,i=v(e/60),c.hours=i%24,r+=v(i/24),a+=s=v(vi(r)),r-=Ai(ki(s)),n=v(a/12),a%=12,c.days=r,c.months=a,c.years=n,this},Vi.clone=function(){return je(this)},Vi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Vi.milliseconds=Ii,Vi.seconds=Oi,Vi.minutes=Hi,Vi.hours=Yi,Vi.days=Bi,Vi.weeks=function(){return v(this.days()/7)},Vi.months=ji,Vi.years=Fi,Vi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=je(t).abs(),s=Ni(n.as("s")),o=Ni(n.as("m")),r=Ni(n.as("h")),a=Ni(n.as("d")),c=Ni(n.as("M")),u=Ni(n.as("y")),l=s<=Ki.ss&&["s",s]||s0,l[4]=i,qi.apply(null,l)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Vi.toISOString=Gi,Vi.toString=Gi,Vi.toJSON=Gi,Vi.locale=Ve,Vi.localeData=We,Vi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gi),Vi.lang=$e,q("X",0,0,"unix"),q("x",0,0,"valueOf"),lt("x",ot),lt("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(k(t))}),s.version="2.24.0",e=Te,s.fn=pi,s.min=function(){return Me("isBefore",[].slice.call(arguments,0))},s.max=function(){return Me("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return Te(1e3*t)},s.months=function(t,e){return _i(t,e,"months")},s.isDate=u,s.locale=oe,s.invalid=m,s.duration=je,s.isMoment=A,s.weekdays=function(t,e,i){return wi(t,e,i,"weekdays")},s.parseZone=function(){return Te.apply(null,arguments).parseZone()},s.localeData=ae,s.isDuration=xe,s.monthsShort=function(t,e){return _i(t,e,"monthsShort")},s.weekdaysMin=function(t,e,i){return wi(t,e,i,"weekdaysMin")},s.defineLocale=re,s.updateLocale=function(t,e){if(null!=e){var i,n,s=te;null!=(n=se(t))&&(s=n._config),(i=new R(e=D(s,e))).parentLocale=ee[t],ee[t]=i,oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},s.locales=function(){return M(ee)},s.weekdaysShort=function(t,e,i){return wi(t,e,i,"weekdaysShort")},s.normalizeUnits=I,s.relativeTimeRounding=function(t){return void 0===t?Ni:"function"==typeof t&&(Ni=t,!0)},s.relativeTimeThreshold=function(t,e){return void 0!==Ki[t]&&(void 0===e?Ki[t]:(Ki[t]=e,"s"===t&&(Ki.ss=e-1),!0))},s.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=pi,s.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"},s}()},963:t=>{"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,i,n,s){n=n||"=";var o={};if("string"!=typeof t||0===t.length)return o;var r=/\+/g;t=t.split(i=i||"&");var a=1e3;s&&"number"==typeof s.maxKeys&&(a=s.maxKeys);var c=t.length;a>0&&c>a&&(c=a);for(var u=0;u=0?(l=f.substr(0,g),h=f.substr(g+1)):(l=f,h=""),d=decodeURIComponent(l),p=decodeURIComponent(h),e(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},5341:t=>{"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var o=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return o+encodeURIComponent(e(t))}).join(i):o+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},6577:(t,e,i)=>{"use strict";i(963),i(5341)},9867:(t,e,i)=>{"use strict";i.d(e,{d:()=>s});var n=i(6673);class s extends n.L{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},3103:(t,e,i)=>{"use strict";i.d(e,{P:()=>r});var n=i(653),s=i(878),o=i(1225);let r=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},8318:(t,e,i)=>{"use strict";i.d(e,{y:()=>u});var n=i(6673),s=i(5331),o=i(7498),r=i(6197),a=i(3392),c=i(1484);let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:r}=this,a=function(t,e,i){if(t){if(t instanceof n.L)return t;if(t[s.b])return t[s.b]()}return t||e||i?new n.L(t,e,i):new n.L(o.c)}(t,e,i);if(a.add(r?r.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:s}=t;if(e||s)return!1;t=i&&i instanceof n.L?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=l(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[r.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=l(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function l(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},7498:(t,e,i)=>{"use strict";i.d(e,{c:()=>o});var n=i(1484),s=i(4294);const o={closed:!0,next(t){},error(t){if(n.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},9829:(t,e,i)=>{"use strict";i.d(e,{L:()=>s});var n=i(6673);class s extends n.L{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},5959:(t,e,i)=>{"use strict";i.d(e,{Yc:()=>u,xQ:()=>l});var n=i(8318),s=i(6673),o=i(7570),r=i(3895),a=i(9291),c=i(5331);class u extends s.L{constructor(t){super(t),this.destination=t}}let l=(()=>{class t extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.b](){return new u(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new r.N;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew h(t,e),t})();class h extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):o.w.EMPTY}}},9291:(t,e,i)=>{"use strict";i.d(e,{W:()=>s});var n=i(7570);class s extends n.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}},6673:(t,e,i)=>{"use strict";i.d(e,{L:()=>u});var n=i(5024),s=i(7498),o=i(7570),r=i(5331),a=i(1484),c=i(4294);class u extends o.w{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,e,i)}}[r.b](){return this}static create(t,e,i){const n=new u(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class l extends u{constructor(t,e,i,o){let r;super(),this._parentSubscriber=t;let a=this;(0,n.m)(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==s.c&&(a=Object.create(e),(0,n.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=a.v;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;(0,c.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw i;(0,c.z)(i)}}__tryOrSetError(t,e,i){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):((0,c.z)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},7570:(t,e,i)=>{"use strict";i.d(e,{w:()=>a});var n=i(8470),s=i(2056),o=i(5024);const r=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:a,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof r?e.errors:e),[])}},1484:(t,e,i)=>{"use strict";i.d(e,{v:()=>s});let n=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},2875:(t,e,i)=>{"use strict";i.d(e,{c:()=>a,N:()=>c});var n=i(5959),s=i(8318),o=i(7570),r=i(1564);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.w,t.add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,r.x)()(this)}}const c=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class u extends n.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},1305:(t,e,i)=>{"use strict";i.d(e,{aj:()=>u});var n=i(6163),s=i(8470),o=i(9829),r=i(6268),a=i(9342);const c={};function u(...t){let e=null,i=null;return(0,n.K)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,a.n)(t,i).lift(new l(e))}class l{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{"use strict";i.d(e,{E:()=>s,c:()=>o});var n=i(8318);const s=new n.y(t=>t.complete());function o(t){return t?function(t){return new n.y(e=>t.schedule(()=>e.complete()))}(t):s}},9764:(t,e,i)=>{"use strict";i.d(e,{D:()=>h});var n=i(8318),s=i(6015),o=i(7570),r=i(6197),a=i(2570),c=i(5686),u=i(5168),l=i(9653);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>{const s=t[r.L]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if((0,u.t)(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if((0,l.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[c.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.y(i=>{const n=new o.w;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[c.hZ](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof n.y?t:new n.y((0,s.s)(t))}},9342:(t,e,i)=>{"use strict";i.d(e,{n:()=>r});var n=i(8318),s=i(625),o=i(2570);function r(t,e){return e?(0,o.r)(t,e):new n.y((0,s.V)(t))}},1906:(t,e,i)=>{"use strict";i.d(e,{T:()=>a});var n=i(8318),s=i(6163),o=i(7471),r=i(9342);function a(...t){let e=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return(0,s.K)(a)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof n.y?t[0]:(0,o.J)(e)((0,r.n)(t,i))}},878:(t,e,i)=>{"use strict";i.d(e,{of:()=>r});var n=i(6163),s=i(9342),o=i(2570);function r(...t){let e=t[t.length-1];return(0,n.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,s.n)(t)}},3875:(t,e,i)=>{"use strict";i.d(e,{S3:()=>a});var n=i(8470),s=i(9342),o=i(9829),r=i(6268);function a(...t){if(1===t.length){if(!(0,n.k)(t[0]))return t[0];t=t[0]}return(0,s.n)(t,void 0).lift(new c)}class c{call(t,e){return e.subscribe(new u(t))}}class u extends o.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let i=0;i{"use strict";i.d(e,{_:()=>s});var n=i(8318);function s(t,e){return new n.y(e?i=>e.schedule(o,0,{error:t,subscriber:i}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},7727:(t,e,i)=>{"use strict";i.d(e,{K:()=>r});var n=i(9829),s=i(9867),o=i(6268);function r(t){return function(e){const i=new a(t),n=e.lift(i);return i.caught=n}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}class c extends n.L{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new s.d(this,void 0,void 0);this.add(n);const r=(0,o.D)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}},436:(t,e,i)=>{"use strict";i.d(e,{b:()=>s});var n=i(3982);function s(t,e){return(0,n.zg)(t,e,1)}},7701:(t,e,i)=>{"use strict";i.d(e,{b:()=>o});var n=i(6673),s=i(8569);function o(t,e=s.P){return i=>i.lift(new r(t,e))}class r{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends n.L{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},7768:(t,e,i)=>{"use strict";i.d(e,{d:()=>s});var n=i(6673);function s(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new r(t,this.defaultValue))}}class r extends n.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},509:(t,e,i)=>{"use strict";i.d(e,{g:()=>a});var n=i(8569),s=i(8802),o=i(6673),r=i(3103);function a(t,e=n.P){const i=(0,s.J)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new c(i,e))}class c{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new u(t,this.delay,this.scheduler))}}class u extends o.L{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(u.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new l(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.P.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.time=t,this.notification=e}}},3835:(t,e,i)=>{"use strict";i.d(e,{h:()=>s});var n=i(6673);function s(t,e){return function(i){return i.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.predicate,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}},3530:(t,e,i)=>{"use strict";i.d(e,{P:()=>u});var n=i(9665),s=i(3835),o=i(611),r=i(7768),a=i(790),c=i(3392);function u(t,e){const i=arguments.length>=2;return u=>u.pipe(t?(0,s.h)((e,i)=>t(e,i,u)):c.y,(0,o.q)(1),i?(0,r.d)(e):(0,a.T)(()=>new n.K))}},9996:(t,e,i)=>{"use strict";i.d(e,{U:()=>s});var n=i(6673);function s(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new o(t,e))}}class o{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.project,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}},7471:(t,e,i)=>{"use strict";i.d(e,{J:()=>o});var n=i(3982),s=i(3392);function o(t=Number.POSITIVE_INFINITY){return(0,n.zg)(s.y,t)}},3982:(t,e,i)=>{"use strict";i.d(e,{zg:()=>c});var n=i(6268),s=i(9829),o=i(9867),r=i(9996),a=i(9764);function c(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new u(t,i)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.L{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1564:(t,e,i)=>{"use strict";i.d(e,{x:()=>s});var n=i(6673);function s(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new r(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class r extends n.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}},1055:(t,e,i)=>{"use strict";i.d(e,{B:()=>a});var n=i(2875),s=i(1564),o=i(5959);function r(){return new o.xQ}function a(){return t=>{return(0,s.x)()((e=r,function(t){let i;i="function"==typeof e?e:function(){return e};const s=Object.create(t,n.N);return s.source=t,s.subjectFactory=i,s})(t));var e}}},4689:(t,e,i)=>{"use strict";i.d(e,{w:()=>c});var n=i(9829),s=i(9867),o=i(6268),r=i(9996),a=i(9764);function c(t,e){return"function"==typeof e?i=>i.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))))):e=>e.lift(new u(t))}class u{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends n.L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new s.d(this,e,i),a=this.destination;a.add(r),this.innerSubscription=(0,o.D)(this,t,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}},611:(t,e,i)=>{"use strict";i.d(e,{q:()=>r});var n=i(6673),s=i(8402),o=i(653);function r(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends n.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}},6599:(t,e,i)=>{"use strict";i.d(e,{b:()=>r});var n=i(6673);function s(){}var o=i(5024);function r(t,e,i){return function(n){return n.lift(new a(t,e,i))}}class a{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends n.L{constructor(t,e,i,n){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=i||s,this._tapComplete=n||s,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},790:(t,e,i)=>{"use strict";i.d(e,{T:()=>o});var n=i(9665),s=i(6673);function o(t=c){return e=>e.lift(new r(t))}class r{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new n.K}},9085:(t,e,i)=>{"use strict";i.d(e,{V:()=>h});var n=i(8569);const s=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();var o=i(8802),r=i(9829),a=i(6268);class c{constructor(t,e,i,n){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=i,this.scheduler=n}call(t,e){return e.subscribe(new u(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class u extends r.L{constructor(t,e,i,n,s){super(t),this.absoluteTimeout=e,this.waitFor=i,this.withObservable=n,this.scheduler=s,this.action=null,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add((0,a.D)(t,e))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(u.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var l=i(1225);function h(t,e=n.P){return function(t,e,i=n.P){return n=>{let s=(0,o.J)(t),r=s?+t-i.now():Math.abs(t);return n.lift(new c(r,s,e,i))}}(t,(0,l._)(new s),e)}},2570:(t,e,i)=>{"use strict";i.d(e,{r:()=>o});var n=i(8318),s=i(7570);function o(t,e){return new n.y(i=>{const n=new s.w;let o=0;return n.add(e.schedule(function(){o!==t.length?(i.next(t[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:(t,e,i)=>{"use strict";i.d(e,{o:()=>o});var n=i(7570);class s extends n.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},1098:(t,e,i)=>{"use strict";i.d(e,{v:()=>s});let n=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class s extends n{constructor(t,e=n.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}},8569:(t,e,i)=>{"use strict";i.d(e,{P:()=>s});var n=i(8277);const s=new(i(1098).v)(n.o)},5686:(t,e,i)=>{"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(e,{hZ:()=>s});const s=n()},6197:(t,e,i)=>{"use strict";i.d(e,{L:()=>n});const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},5331:(t,e,i)=>{"use strict";i.d(e,{b:()=>n});const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},8402:(t,e,i)=>{"use strict";i.d(e,{W:()=>n});const n=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},9665:(t,e,i)=>{"use strict";i.d(e,{K:()=>n});const n=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},3895:(t,e,i)=>{"use strict";i.d(e,{N:()=>n});const n=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4294:(t,e,i)=>{"use strict";function n(t){setTimeout(()=>{throw t},0)}i.d(e,{z:()=>n})},3392:(t,e,i)=>{"use strict";function n(t){return t}i.d(e,{y:()=>n})},8470:(t,e,i)=>{"use strict";i.d(e,{k:()=>n});const n=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},9653:(t,e,i)=>{"use strict";i.d(e,{z:()=>n});const n=t=>t&&"number"==typeof t.length&&"function"!=typeof t},8802:(t,e,i)=>{"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}i.d(e,{J:()=>n})},5024:(t,e,i)=>{"use strict";function n(t){return"function"==typeof t}i.d(e,{m:()=>n})},2056:(t,e,i)=>{"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,{K:()=>n})},5168:(t,e,i)=>{"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,{t:()=>n})},6163:(t,e,i)=>{"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,{K:()=>n})},6015:(t,e,i)=>{"use strict";i.d(e,{s:()=>l});var n=i(625),s=i(4294),o=i(5686),r=i(6197),a=i(9653),c=i(5168),u=i(2056);const l=t=>{if(t&&"function"==typeof t[r.L])return l=t,t=>{const e=l[r.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,n.V)(t);if((0,c.t)(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[o.hZ])return e=t,t=>{const i=e[o.hZ]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=(0,u.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i,l}},625:(t,e,i)=>{"use strict";i.d(e,{V:()=>n});const n=t=>e=>{for(let i=0,n=t.length;i{"use strict";i.d(e,{D:()=>r});var n=i(9867),s=i(6015),o=i(8318);function r(t,e,i,r,a=new n.d(t,i,r)){if(!a.closed)return e instanceof o.y?e.subscribe(a):(0,s.s)(e)(a)}},7632:(t,e,i)=>{"use strict";function n(t,e,i,n){return new(i||(i=Promise))(function(s,o){function r(t){try{c(n.next(t))}catch(e){o(e)}}function a(t){try{c(n.throw(t))}catch(e){o(e)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(r,a)}c((n=n.apply(t,e||[])).next())})}i.d(e,{mG:()=>n})},6700:(t,e,i)=>{var n={"./af":776,"./af.js":776,"./ar":7634,"./ar-dz":2758,"./ar-dz.js":2758,"./ar-kw":4980,"./ar-kw.js":4980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":2500,"./ar-ma.js":2500,"./ar-sa":6909,"./ar-sa.js":6909,"./ar-tn":2735,"./ar-tn.js":2735,"./ar.js":7634,"./az":7798,"./az.js":7798,"./be":9949,"./be.js":9949,"./bg":4590,"./bg.js":4590,"./bm":5938,"./bm.js":5938,"./bn":595,"./bn.js":595,"./bo":4756,"./bo.js":4756,"./br":7277,"./br.js":7277,"./bs":4166,"./bs.js":4166,"./ca":3943,"./ca.js":3943,"./cs":3474,"./cs.js":3474,"./cv":2218,"./cv.js":2218,"./cy":1061,"./cy.js":1061,"./da":2743,"./da.js":2743,"./de":1899,"./de-at":8580,"./de-at.js":8580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":1899,"./dv":8784,"./dv.js":8784,"./el":4654,"./el.js":4654,"./en-SG":4047,"./en-SG.js":4047,"./en-au":6277,"./en-au.js":6277,"./en-ca":6896,"./en-ca.js":6896,"./en-gb":1609,"./en-gb.js":1609,"./en-ie":4557,"./en-ie.js":4557,"./en-il":5836,"./en-il.js":5836,"./en-nz":3586,"./en-nz.js":3586,"./eo":2777,"./eo.js":2777,"./es":3357,"./es-do":3128,"./es-do.js":3128,"./es-us":3256,"./es-us.js":3256,"./es.js":3357,"./et":2654,"./et.js":2654,"./eu":7287,"./eu.js":7287,"./fa":5210,"./fa.js":5210,"./fi":3431,"./fi.js":3431,"./fo":1781,"./fo.js":1781,"./fr":1717,"./fr-ca":1539,"./fr-ca.js":1539,"./fr-ch":9847,"./fr-ch.js":9847,"./fr.js":1717,"./fy":2250,"./fy.js":2250,"./ga":7665,"./ga.js":7665,"./gd":5214,"./gd.js":5214,"./gl":6154,"./gl.js":6154,"./gom-latn":8518,"./gom-latn.js":8518,"./gu":9221,"./gu.js":9221,"./he":4743,"./he.js":4743,"./hi":7339,"./hi.js":7339,"./hr":3224,"./hr.js":3224,"./hu":856,"./hu.js":856,"./hy-am":6855,"./hy-am.js":6855,"./id":2190,"./id.js":2190,"./is":3887,"./is.js":3887,"./it":9270,"./it-ch":5890,"./it-ch.js":5890,"./it.js":9270,"./ja":6595,"./ja.js":6595,"./jv":3081,"./jv.js":3081,"./ka":7477,"./ka.js":7477,"./kk":3978,"./kk.js":3978,"./km":9205,"./km.js":9205,"./kn":25,"./kn.js":25,"./ko":427,"./ko.js":427,"./ku":9089,"./ku.js":9089,"./ky":9314,"./ky.js":9314,"./lb":3136,"./lb.js":3136,"./lo":9115,"./lo.js":9115,"./lt":7087,"./lt.js":7087,"./lv":5683,"./lv.js":5683,"./me":9454,"./me.js":9454,"./mi":5507,"./mi.js":5507,"./mk":8466,"./mk.js":8466,"./ml":2933,"./ml.js":2933,"./mn":9477,"./mn.js":9477,"./mr":3597,"./mr.js":3597,"./ms":5529,"./ms-my":9965,"./ms-my.js":9965,"./ms.js":5529,"./mt":259,"./mt.js":259,"./my":8061,"./my.js":8061,"./nb":2618,"./nb.js":2618,"./ne":8452,"./ne.js":8452,"./nl":1885,"./nl-be":413,"./nl-be.js":413,"./nl.js":1885,"./nn":5107,"./nn.js":5107,"./pa-in":702,"./pa-in.js":702,"./pl":1711,"./pl.js":1711,"./pt":594,"./pt-br":8238,"./pt-br.js":8238,"./pt.js":594,"./ro":4681,"./ro.js":4681,"./ru":6201,"./ru.js":6201,"./sd":2912,"./sd.js":2912,"./se":6002,"./se.js":6002,"./si":7942,"./si.js":7942,"./sk":5577,"./sk.js":5577,"./sl":1775,"./sl.js":1775,"./sq":6823,"./sq.js":6823,"./sr":9038,"./sr-cyrl":3848,"./sr-cyrl.js":3848,"./sr.js":9038,"./ss":6173,"./ss.js":6173,"./sv":5788,"./sv.js":5788,"./sw":6882,"./sw.js":6882,"./ta":2678,"./ta.js":2678,"./te":2797,"./te.js":2797,"./tet":2447,"./tet.js":2447,"./tg":1335,"./tg.js":1335,"./th":8667,"./th.js":8667,"./tl-ph":9914,"./tl-ph.js":9914,"./tlh":1389,"./tlh.js":1389,"./tr":3578,"./tr.js":3578,"./tzl":6969,"./tzl.js":6969,"./tzm":6509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":6509,"./ug-cn":55,"./ug-cn.js":55,"./uk":2452,"./uk.js":2452,"./ur":1151,"./ur.js":1151,"./uz":1555,"./uz-latn":6547,"./uz-latn.js":6547,"./uz.js":1555,"./vi":6541,"./vi.js":6541,"./x-pseudo":2401,"./x-pseudo.js":2401,"./yo":2341,"./yo.js":2341,"./zh-cn":619,"./zh-cn.js":619,"./zh-hk":7058,"./zh-hk.js":7058,"./zh-tw":2782,"./zh-tw.js":2782};function s(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=o,t.exports=s,s.id=6700},306:t=>{"use strict";t.exports={i8:"3.0.0"}}},t=>{"use strict";t(t.s=9141)}]); \ No newline at end of file diff --git a/dist/apps/publications/runtime.39b048325b88e3c2f5aa.js b/dist/apps/publications/runtime.39b048325b88e3c2f5aa.js new file mode 100644 index 000000000..88cc86601 --- /dev/null +++ b/dist/apps/publications/runtime.39b048325b88e3c2f5aa.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,r={},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={id:e,loaded:!1,exports:{}};return r[e].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=r,n.amdO={},e=[],n.O=(r,t,o,a)=>{if(!t){var s=1/0;for(d=0;d=a)&&Object.keys(n.O).every(e=>n.O[e](t[p]))?t.splice(p--,1):(l=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[t,o,a]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};n.O.j=r=>0===e[r];var r=(r,t)=>{var o,a,[s,l,p]=t,d=0;for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(p)var i=p(n);for(r&&r(t);d{"use strict";var e,r={},n={};function t(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=r,e=[],t.O=(r,n,a,o)=>{if(!n){var l=1/0;for(u=0;u=o)&&Object.keys(t.O).every(e=>t.O[e](n[s]))?n.splice(s--,1):(p=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,a,o]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};t.O.j=r=>0===e[r];var r=(r,n)=>{var a,o,[l,p,s]=n,u=0;for(a in p)t.o(p,a)&&(t.m[a]=p[a]);if(s)var d=s(t);for(r&&r(n);uimage/svg+xml\n\n\t.st0{fill:#FFFFFF;}\n\n\n\n\t\n\t\n\n", "api_url": "https://perun-dev.cesnet.cz/oauth/rpc/", "document_title": "User Profile", - "isInstanceFaviconContained": false, + "instance_favicon": false, "auto_auth_redirect": true, - "supportedLanguages": [ + "supported_languages": [ "en" ], "oidc_client": { @@ -14,7 +14,7 @@ "oauth_post_logout_redirect_uri": "", "oauth_redirect_uri": "http://localhost:4200/api-callback", "oauth_scopes": "openid profile perun_api", - "oauth_response_type": "code" + "oauth_response_type": "id_token token" }, "password_namespace_attributes": [ "urn:perun:user:attribute-def:def:login-namespace:einfra", diff --git a/dist/apps/user-profile/assets/i18n/cs.json b/dist/apps/user-profile/assets/i18n/cs.json index bed64becb..0ef604705 100644 --- a/dist/apps/user-profile/assets/i18n/cs.json +++ b/dist/apps/user-profile/assets/i18n/cs.json @@ -45,7 +45,6 @@ }, "PROFILE_PAGE": { "NAME": "Jméno", - "CHANGE_EMAIL": "Aktualizovat", "MAIL_CHANGE_SUCCESS": "Preferovaný email byl změněn" }, "IDENTITIES": { @@ -58,7 +57,7 @@ "EXT_SOURCE_NAME_OTHER": "Jméno externího zdroje", "LOGIN_CERT": "DN", "LOGIN_IDP": "Připojená identita", - "OTHER_TOOLTIP": "Identity, které nebyly získány cez Konsolidátor identit" + "OTHER_TOOLTIP": "Identity, které nebyly získány přes Konsolidátor identit" }, "PRIVACY": { "TITLE": "Soukromí", @@ -154,13 +153,14 @@ }, "DIALOGS": { "CHANGE_EMAIL": { - "TITLE": "Aktualizovat email", + "TITLE": "Změnit preferovaný email", "INPUT_PLACEHOLDER": "Nový email", "CANCEL": "Zrušit", "CHANGE": "Změnit", "SUCCESS": "Žádost o změnu preferovaného emailu byla odeslána na zadanou adresu.", "PENDING_MAILS_BEGIN": "Potvrzovací email byl odeslán na ", - "PENDING_MAILS_END": ". Podívejte se do své mailové schránky a dokončete validaci kliknutím na link v emailu." + "PENDING_MAILS_END": ". Podívejte se do své mailové schránky a dokončete validaci kliknutím na link v emailu.", + "EMAIL_ERROR": "Zadejte validní email" }, "ADD_SSH": { "TITLE": "Přidat nový SSH klíč", @@ -327,6 +327,7 @@ "PASSWORD_RESET": { "TITLE": "Změna hesla", "CHANGE_PASSWORD": "Změnit heslo", + "RESET_PASSWORD": "Resetovat heslo", "NAMESPACE": "Jmenný prostor", "LOGIN": "Přihlašovací jméno", "NOT_SUPPORTED": "Zména hesla není podporována ve vašich jmených prostorech" @@ -350,6 +351,20 @@ "CANCEL": "Zrušit", "SEND": "Poslat", "SUCCESS": "Chyba byla nahlášena a dostala lístek s číslem: " + }, + "CHANGE_PASSWORD_DIALOG": { + "TITLE": "Změna hesla", + "CANCEL": "Zrušit", + "CHANGE": "Potvrdit", + "OLD_PASSWORD": "Staré heslo", + "NEW_PASSWORD": "Nové heslo", + "NEW_PASSWORD_AGAIN": "Znovu zadejte nové heslo", + "PWD_DONT_MATCH": "Hesla se neshodují.", + "PWD_WEAK": "Heslo nesplňuje požadavky.", + "PWD_SHORT": "Heslo je příliš krátké.", + "FIELD_EMPTY": "Tohle políčko musí být vyplněné.", + "PASSWORD_INFO": "Heslo musí:\n - obsahovat pouze tisknutelné znaky bez diakritiky \n - být alespoň 10 znaků dlouhé\n - obsahovat nejméně 3 ze 4 skupin znaků:\n - malá písmena\n - velká písmena\n - čísla\n - speciální znaky", + "SUCCESS": "Heslo bylo úspěšně změněno" } }, "ORGANIZATIONS": { diff --git a/dist/apps/user-profile/assets/i18n/en.json b/dist/apps/user-profile/assets/i18n/en.json index 214c03619..4e156d70b 100644 --- a/dist/apps/user-profile/assets/i18n/en.json +++ b/dist/apps/user-profile/assets/i18n/en.json @@ -20,7 +20,7 @@ "PREFERRED_UNIX_GROUP_NAMES": "Preferred unix group names", "SAMBA_PASSWORD": "Samba password", "SSH_KEYS": "SSH keys", - "PASSWORD_RESET": "Password reset", + "PASSWORD_RESET": "Change password", "AUTHENTICATION": "Authentication" }, "ORGANIZATIONS": { @@ -45,7 +45,6 @@ }, "PROFILE_PAGE": { "NAME": "Name", - "CHANGE_EMAIL": "Change", "MAIL_CHANGE_SUCCESS": "Preferred mail has been changed" }, "IDENTITIES": { @@ -154,13 +153,14 @@ }, "DIALOGS": { "CHANGE_EMAIL": { - "TITLE": "Change email", + "TITLE": "Change preferred email", "INPUT_PLACEHOLDER": "New email", "CANCEL": "Cancel", "CHANGE": "Change", "SUCCESS": "Request for changing preferred email has been sent. Please check your mailbox.", "PENDING_MAILS_BEGIN": "Validation e-mail has been sent to ", - "PENDING_MAILS_END": ". Check your inbox and complete validation by clicking on link in received e-mail." + "PENDING_MAILS_END": ". Check your inbox and complete validation by clicking on link in received e-mail.", + "EMAIL_ERROR": "Input valid email" }, "ADD_SSH": { "TITLE": "Add new ssh key", @@ -368,8 +368,9 @@ "SUCCESS": "User external source successfully removed" }, "PASSWORD_RESET": { - "TITLE": "Password reset", + "TITLE": "Change password", "CHANGE_PASSWORD": "Change password", + "RESET_PASSWORD": "Reset password", "NAMESPACE": "Namespace", "LOGIN": "Login", "NOT_SUPPORTED": "Password reset is not supported for your current namespaces" @@ -421,6 +422,20 @@ "CANCEL": "Cancel", "SEND": "Send", "SUCCESS": "Issue report was sent and got ticket number: " + }, + "CHANGE_PASSWORD_DIALOG": { + "TITLE": "Change password", + "CANCEL": "Cancel", + "CHANGE": "Confirm", + "OLD_PASSWORD": "Old password", + "NEW_PASSWORD": "New password", + "NEW_PASSWORD_AGAIN": "Re-type new password", + "PWD_DONT_MATCH": "Passwords do not match", + "PWD_WEAK": "Password does not meet the requirements", + "PWD_SHORT": "Password is too short", + "FIELD_EMPTY": "This field cannot be empty", + "PASSWORD_INFO": "Password must:\n - contain only printing non-accented characters\n - be at least 10 characters long\n - consist of at least 3 of 4 character groups:\n - lower-case letters\n - upper-case letters\n - digits\n - special characters", + "SUCCESS": "Password has been changed successfully," } }, "ORGANIZATIONS": { diff --git a/dist/apps/user-profile/index.html b/dist/apps/user-profile/index.html index 9d685dcbc..1ce715a66 100644 --- a/dist/apps/user-profile/index.html +++ b/dist/apps/user-profile/index.html @@ -5,9 +5,13 @@ User Profile - - + + - - + +
+
+
+
+ diff --git a/dist/apps/user-profile/main-es2015.217ef2970196a2dde1ef.js b/dist/apps/user-profile/main-es2015.217ef2970196a2dde1ef.js new file mode 100644 index 000000000..f85211fc1 --- /dev/null +++ b/dist/apps/user-profile/main-es2015.217ef2970196a2dde1ef.js @@ -0,0 +1 @@ +(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[179],{1730:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=1730,t.exports=e},7237:function(t,e,i){"use strict";var n=i(1511),s=i(1572);class o extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends o{static makeCurrent(){(0,n.HT)(new r)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(c=c||document.querySelector("base"),c?c.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,n.Mx)(document.cookie,t)}}let a,c=null;const u=new s.OlP("TRANSITION_ID"),l=[{provide:s.ip1,useFactory:function(t,e,i){return()=>{i.get(s.CZH).donePromise.then(()=>{const i=(0,n.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[u,n.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let i=e.length,n=!1;const o=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:i?(0,n.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(b),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(b))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function b(t){(0,n.q)().remove(t)}const y={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/"},A=/%COMP%/g;function w(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let v=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new T(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new k(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case s.ifc.ShadowDom:return new L(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class T{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=y[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=y[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,i,n&s.JOm.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,M(i)):this.eventManager.addEventListener(t,e,M(i))}}class k extends T{constructor(t,e,i,n){super(t),this.component=i;const s=w(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(A,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(A,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class L extends T{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(n.id,n.styles,[]);for(let o=0;o{class t extends g{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const S=["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"},z={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"},x={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let O=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const o=t.parseEventName(i),r=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(e,o.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let o="";if(S.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),o+=t+".")}),o+=s,0!=i.length||0===s.length)return null;const r={};return r.domEventName=n,r.fullKey=o,r}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&z.hasOwnProperty(e)&&(e=z[e]))}return E[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),S.forEach(n=>{n!=i&&(0,x[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(P)},token:t,providedIn:"root"}),t})();function D(t){return new P(t.get(n.K0))}let P=(()=>{class t extends R{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return D((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:n.bD},{provide:s.g9A,useValue:function(){r.makeCurrent(),h.init()},multi:!0},{provide:n.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),I=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:C,multi:!0,deps:[n.K0,s.R0b,s.Lbi]},{provide:p,useClass:O,multi:!0,deps:[n.K0]},[],{provide:v,useClass:v,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:v},{provide:m,useExisting:_},{provide:_,useClass:_,deps:[n.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:n.JF,useClass:d,deps:[]},[]];let q=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:u,useExisting:s.AFp},l]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:I,imports:[n.ez,s.hGG]}),t})();function B(){return new Y((0,s.LFG)(n.K0))}let Y=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:B,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window;var H=i(9063);class j{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const F=new s.OlP("basePath");class W{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let U=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attribute",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attributes[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,n,s,o,r,a,c,u,l,h="body",d=!1){let p=new H.LE({encoder:this.encoder});null!=t&&(p=p.set("attributeName",t)),null!=e&&(p=p.set("attributeId",e)),null!=i&&(p=p.set("facility",i)),null!=n&&(p=p.set("user",n)),null!=s&&(p=p.set("vo",s)),null!=o&&(p=p.set("resource",o)),null!=r&&(p=p.set("member",r)),null!=a&&(p=p.set("group",a)),null!=c&&(p=p.set("host",c)),null!=u&&(p=p.set("userExtSource",u)),null!=l&&(p=p.set("key",l));let f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(f=f.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:p,withCredentials:this.configuration.withCredentials,headers:f,observe:h,reportProgress:d})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t,e="body",i=!1){if(null==t)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("namespace",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("format",t)),null!=e&&(s=s.set("attrName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("format",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,n,s,o,r,a,c="body",u=!1){let l=new H.LE({encoder:this.encoder});null!=t&&(l=l.set("member",t)),null!=e&&(l=l.set("user",e)),null!=i&&(l=l.set("vo",i)),null!=n&&(l=l.set("group",n)),null!=s&&(l=l.set("resource",s)),null!=o&&(l=l.set("facility",o)),null!=r&&(l=l.set("host",r)),null!=a&&(l=l.set("userExtSource",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+t)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(h=h.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}getEntitylessAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("key",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attrName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("attrName",t)),e&&e.forEach(t=>{s=s.append("keys[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacilityResourceUserMemberAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("user",i)),null!=n&&(r=r.set("member",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getFacilityUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAndUserAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroupAndUserAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberGroupAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberGroupAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroupAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getMemberResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesFacilityServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesGroupResourceService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("group",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesHostService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("host",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesMemberGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new H.LE({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("group",i)),null!=n&&(a=a.set("member",n)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getRequiredAttributesMemberGroupService(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("member",i)),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesMemberResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRequiredAttributesMemberResourceService(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("member",i)),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesResourceServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRequiredAttributesVoService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceGroupAndGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("workWithGroupAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)}),null!=n&&(r=r.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getResourceGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceGroupMemberAttributesByNames(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("member",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserFacilityAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getUserFacilityAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attributeName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getUserFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)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==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let c=new H.LE({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("user",n)),null!=s&&(c=c.set("member",s)),o&&o.forEach(t=>{c=c.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}removeAttributesForFacilityResourceUserMember(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)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 H.LE({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n)),s&&s.forEach(t=>{a=a.append("attributes[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}removeEntitylessAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeGroupResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)}),null!=n&&(r=r.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeHostAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeHostAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMemberAttributesWorkWithUserAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),e&&e.forEach(t=>{o=o.append("attributes[]",t)}),null!=i&&(o=o.set("workWithUserAttributes",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)}),null!=n&&(r=r.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}removeMemberResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeMemberResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeResourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUesAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserExtSourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserFacilityAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("attribute",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("facility",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeVoAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attribute",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),K=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("role",t)),null!=e&&(o=o.set("complementaryObjectId",e)),null!=i&&(o=o.set("complementaryObjectName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getAuthzRichAdmins(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let c=new H.LE({encoder:this.encoder});null!=t&&(c=c.set("role",t)),null!=e&&(c=c.set("complementaryObjectId",e)),null!=i&&(c=c.set("complementaryObjectName",i)),n&&n.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}getFacilitiesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("groupId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("userId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}isFacilityAdmin(t,e="body",i=!1){let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Z=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}canExtendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createGroupWithParentGroupNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("parentGroup",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}createGroupWithVoNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("name",e)),null!=i&&(o=o.set("description",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}deleteGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("forceDelete",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}extendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("name",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupMemberById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("members[]",t)}),i&&i.forEach(t=>{o=o.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getGroupUnions(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("reverseDirection",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRichGroupByIdWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("groupId",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}isGroupMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new H.LE({encoder:this.encoder});null!=e&&(s=s.set("destinationGroup",e)),null!=t&&(s=s.set("movingGroup",t));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setGroupsMemberStatus(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("status",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),G=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("members[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let o=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("attrsNames[]",t)}),null!=e&&(o=o.set("searchString",e)),i&&i.forEach(t=>{o=o.append("allowedStatuses[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}findCompleteRichMembersForGroup(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let c=new H.LE({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(t=>{c=c.append("attrsNames[]",t)}),s&&s.forEach(t=>{c=c.append("allowedStatuses[]",t)}),o&&o.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",n));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}findCompleteRichMembersForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrsNames[]",t)}),n&&n.forEach(t=>{r=r.append("allowedStatuses[]",t)}),null!=i&&(r=r.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}findMembersInVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("searchString",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findSponsoredCompleteRichMembersForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=i&&(r=r.set("searchString",i)),null!=n&&(r=r.set("onlySponsored",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getCompleteRichMembersForGroup(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new H.LE({encoder:this.encoder});null!=t&&(a=a.set("group",t)),i&&i.forEach(t=>{a=a.append("allowedStatuses[]",t)}),n&&n.forEach(t=>{a=a.append("allowedGroupStatuses[]",t)}),null!=e&&(a=a.set("lookingInParentGroup",e)),s&&s.forEach(t=>{a=a.append("attrsNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getCompleteRichMembersForGroupResource(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)}),n&&n.forEach(t=>{r=r.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getCompleteRichMembersForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{o=o.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extLogin",e)),null!=i&&(o=o.set("extSourceName",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)}),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsByMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsByVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extSourceName",e)),null!=i&&(r=r.set("extLogin",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}moveMembership(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("sourceUser",e)),null!=i&&(o=o.set("targetUser",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}removeSponsor(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendAccountActivationLinkEmail(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("emailAttributeURN",i)),null!=n&&(r=r.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendPasswordResetLinkEmail(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("emailAttributeURN",i)),null!=n&&(r=r.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("sponsoredMember",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}setStatus(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("status",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sponsorMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}updateSponsorshipValidity(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("sponsor",e)),null!=i&&(o=o.set("validityTo",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),X=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}sentMessageToRTWithMemberQueue(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("memberId",t)),null!=e&&(r=r.set("queue",e)),null!=i&&(r=r.set("subject",i)),null!=n&&(r=r.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sentMessageToRTWithQueue(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("queue",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sentMessageToRTWithVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("voId",t)),null!=e&&(o=o.set("subject",e)),null!=i&&(o=o.set("text",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sentMessageToRTWithVoQueue(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("queue",e)),null!=i&&(r=r.set("subject",i)),null!=n&&(r=r.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),V=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromGroupToVo(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromVoToGroup(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyFormFromVoToVo(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromGroupToGroup(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromGroupToVo(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromVoToGroup(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyMailsFromVoToVo(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("id",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteApplicationMailForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("id",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("state[]",t)}),null!=i&&(r=r.set("dateFrom",i)),null!=n&&(r=r.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getApplicationsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getApplicationsForVo(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("state[]",t)}),null!=i&&(r=r.set("dateFrom",i)),null!=n&&(r=r.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("type",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("type",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t)),null!=e&&(s=s.set("reason",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendInvitation(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let r=new H.LE({encoder:this.encoder});null!=i&&(r=r.set("voId",i)),null!=n&&(r=r.set("name",n)),null!=t&&(r=r.set("email",t)),null!=e&&(r=r.set("language",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}sendInvitationForGroup(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new H.LE({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("groupId",n)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}sendInvitationGroupToExistingUser(t,e,i,n="body",s=!1){let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("userId",t)),null!=e&&(o=o.set("voId",e)),null!=i&&(o=o.set("groupId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}sendInvitationToExistingUser(t,e,i="body",n=!1){let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("userId",t)),null!=e&&(s=s.set("voId",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),$=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}activateGroupResourceAssignment(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}addAdminToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addAdminToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}allowGroupsToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let o=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),e&&e.forEach(t=>{o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("resources[]",t)}),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignGroupsToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let o=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{o=o.append("groups[]",t)}),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("async",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}assignServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i)),null!=n&&(r=r.set("description",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("tagName",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deactivateGroupResourceAssignment(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAdmins(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("member",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedMembersWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("id",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEnrichedResourcesForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getEnrichedResourcesForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("name",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getResourcesWhereGroupIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("group",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getResourcesWhereUserIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("vo",e)),null!=i&&(o=o.set("user",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getRichAdmins(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),e&&e.forEach(t=>{r=r.append("specificAttributes",t)}),null!=i&&(r=r.set("allUserAttributes",i)),null!=n&&(r=r.set("onlyDirectAdmins",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("resources[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeGroupsFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let s=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),e&&e.forEach(t=>{s=s.append("resources[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}anonymizeUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("token",t)),null!=e&&(o=o.set("password",e)),null!=i&&(o=o.set("lang",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}changePasswordForLogin(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let a=new H.LE({encoder:this.encoder});null!=t&&(a=a.set("login",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}changePasswordForUser(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let a=new H.LE({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("password",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createAlternativePassword(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("description",e)),null!=i&&(r=r.set("loginNamespace",i)),null!=n&&(r=r.set("password",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("loginNamespace",e)),null!=i&&(o=o.set("passwordId",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}deletePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deletePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}deleteUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("searchString",t)),e&&e.forEach(t=>{s=s.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichUsersWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("includedSpecificUsers",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsForResourceWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("resource",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("vo",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attrsNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getSponsorsForMemberByVoAndLogin(t,e,i,n,s="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let r=new H.LE({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extSourceName",e)),null!=i&&(r=r.set("extLogin",i)),n&&n.forEach(t=>{r=r.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}getUserByExtSourceNameAndExtLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("extLogin",t)),null!=e&&(s=s.set("extSourceName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsers(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("specificUser",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("loginNamespace",t)),null!=e&&(s=s.set("login",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}loginExist(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeUserExtSource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("userExtSource",e)),null!=i&&(o=o.set("force",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}requestPreferredEmailChange(t,e,i,n,s,o,r="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let c=new H.LE({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("email",e)),null!=i&&(c=c.set("lang",i)),null!=n&&(c=c.set("linkPath",n)),null!=s&&(c=c.set("customUrl",s)),null!=o&&(c=c.set("idpFilter",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:r,reportProgress:a})}reservePasswordForLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("login",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}reservePasswordForUser(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("password",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}reserveRandomPassword(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}validatePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}validatePreferredEmailChangeWithToken(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("token",t)),null!=e&&(s=s.set("u",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Q=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tt=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new H.WM,this.configuration=new W,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new j}addSponsorRoleToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addSponsorRoleToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}addVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createVoWithName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("shortName",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("force",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}findCandidates(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("id",t)),null!=e&&(o=o.set("searchString",e)),null!=i&&(o=o.set("maxNumOfResults",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}findCandidatesForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("searchString",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getCompleteCandidatesForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrNames[]",t)}),null!=i&&(o=o.set("searchString",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,n,s,o="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)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 H.LE({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("role",e)),i&&i.forEach(t=>{a=a.append("specificAttributes",t)}),null!=n&&(a=a.set("allUserAttributes",n)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:r})}getVoAdminGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}getVoAdminUsers(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let o=new H.LE({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("role",e)),null!=i&&(o=o.set("onlyDirectAdmins",i));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:s})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("shortName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let n=new H.LE({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeSponsorRoleFromUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let s=new H.LE({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(o=o.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:n})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let n=new H.LE({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(s=s.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(n=n.set("Content-Type",o)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(F,8),s.LFG(W,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var et,it,nt,st;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(et||(et={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(it||(it={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(nt||(nt={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(st||(st={}));var ot=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});let rt=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const o of i)n=n.concat(o.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.PERUNOBSERVER,ot.FACILITYADMIN,ot.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(ot.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(ot.PERUNADMIN,ot.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(ot.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(ot.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(ot.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(ot.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(ot.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(ot.PERUNADMIN,ot.VOOBSERVER,ot.PERUNOBSERVER)}isThisVoObserver(t){return this.hasAtLeastOne(ot.PERUNADMIN,ot.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],o=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))o="User"===t?[t].concat(o):o.concat(t);break}const r=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,r),c=this.resolveAuthorization(s,r);i.set(n,{readAuth:a,manageAuth:c,modes:o})}}voCustomSort(t){for(let e=0;e{let i;try{i=t()}catch(n){return void e.error(n)}return(i?(0,ct.D)(i):(0,bt.c)()).subscribe(e)})}var At=i(2875),wt=i(9996),Mt=i(4689),vt=i(611),Tt=i(6163);function kt(...t){const e=t[t.length-1];return(0,Tt.K)(e)?(t.pop(),i=>_t(t,i,e)):e=>_t(t,e)}var Lt=i(6673);function Ct(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new St(t,e,i))}}class St{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Et(t,this.accumulator,this.seed,this.hasSeed))}}class Et extends Lt.L{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}var zt=i(7727),xt=i(436),Ot=i(8402);function Rt(t){return function(e){return 0===t?(0,bt.c)():e.lift(new Dt(t))}}class Dt{constructor(t){if(this.total=t,this.total<0)throw new Ot.W}call(t,e){return e.subscribe(new Pt(t,this.total))}}class Pt extends Lt.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;se.lift(new Ut(t))}class Ut{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Kt(t,this.callback))}}class Kt extends Lt.L{constructor(t,e){super(t),this.add(new Ft.w(e))}}class Zt{constructor(t,e){this.id=t,this.url=e}}class Gt extends Zt{constructor(t,e,i="imperative",n=null){super(t,e),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Xt extends Zt{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vt extends Zt{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $t extends Zt{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jt extends Zt{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends Zt{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends Zt{constructor(t,e,i,n,s){super(t,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ee extends Zt{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ie extends Zt{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ne{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class se{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oe{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ce{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ue{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class le{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function he(t){return new le(t)}function de(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function pe(t,e,i){const n=i.path.split("/");if(n.length>t.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function me(t){return Array.prototype.concat.apply([],t)}function _e(t){return t.length>0?t[t.length-1]:null}function be(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function ye(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,ct.D)(Promise.resolve(t)):(0,ut.of)(t)}const Ae={exact:function t(e,i,n){if(!Ee(e.segments,i.segments))return!1;if(!ke(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:ve},we={exact:function(t,e){return fe(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>ge(t[i],e[i]))},ignored:()=>!0};function Me(t,e,i){return Ae[i.paths](t.root,e.root,i.matrixParams)&&we[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function ve(t,e,i){return Te(t,e,e.segments,i)}function Te(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!Ee(s,i)&&!e.hasChildren()&&!!ke(s,i,n)}if(t.segments.length===i.length){if(!Ee(t.segments,i))return!1;if(!ke(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!ve(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!!Ee(t.segments,s)&&!!ke(t.segments,s,n)&&!!t.children.primary&&Te(t.children.primary,e,o,n)}}function ke(t,e,i){return e.every((e,n)=>we[i](t[n].parameters,e.parameters))}class Le{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=he(this.queryParams)),this._queryParamMap}toString(){return Oe.serialize(this)}}class Ce{constructor(t,e){this.segments=t,this.children=e,this.parent=null,be(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Re(this)}}class Se{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=he(this.parameters)),this._parameterMap}toString(){return Ye(this)}}function Ee(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class ze{}class xe{parse(t){const e=new Ue(t);return new Le(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${De(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${Ne(e)}=${Ne(t)}`).join("&"):`${Ne(e)}=${Ne(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Oe=new xe;function Re(t){return t.segments.map(t=>Ye(t)).join("/")}function De(t,e){if(!t.hasChildren())return Re(t);if(e){const e=t.children.primary?De(t.children.primary,!1):"",i=[];return be(t.children,(t,e)=>{"primary"!==e&&i.push(`${e}:${De(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return be(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),be(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>"primary"===i?[De(t.children.primary,!1)]:[`${i}:${De(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Re(t)}/${e[0]}`:`${Re(t)}/(${e.join("//")})`}}function Pe(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ne(t){return Pe(t).replace(/%3B/gi,";")}function Ie(t){return Pe(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qe(t){return decodeURIComponent(t)}function Be(t){return qe(t.replace(/\+/g,"%20"))}function Ye(t){return`${Ie(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Ie(t)}=${Ie(e[t])}`).join("")}`;var e}const He=/^[^\/()?;=#]+/;function je(t){const e=t.match(He);return e?e[0]:""}const Fe=/^[^=?&#]+/,We=/^[^?&#]+/;class Ue{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ce([],{}):new Ce([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new Ce(t,e)),i}parseSegment(){const t=je(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Se(qe(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=je(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=je(this.remaining);t&&(i=t,this.capture(i))}t[qe(e)]=qe(i)}parseQueryParam(t){const e=function(t){const e=t.match(Fe);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(We);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=Be(e),s=Be(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=je(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const o=this.parseChildren();e[s]=1===Object.keys(o).length?o.primary:new Ce([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Ke{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Ze(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Ze(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Ge(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Ge(t,this._root).map(t=>t.value)}}function Ze(t,e){if(t===e.value)return e;for(const i of e.children){const e=Ze(t,i);if(e)return e}return null}function Ge(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Ge(t,i);if(n.length)return n.unshift(e),n}return[]}class Xe{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ve(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class $e extends Ke{constructor(t,e){super(t),this.snapshot=e,ni(this,t)}toString(){return this.snapshot.toString()}}function Je(t,e){const i=function(t,e){const i=new ei([],{},{},"",{},"primary",e,null,t.root,-1,{});return new ii("",new Xe(i,[]))}(t,e),n=new dt([new Se("",{})]),s=new dt({}),o=new dt({}),r=new dt({}),a=new dt(""),c=new Qe(n,s,r,a,o,"primary",e,i.root);return c.snapshot=i.root,new $e(new Xe(c,[]),i)}class Qe{constructor(t,e,i,n,s,o,r,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}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,wt.U)(t=>he(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,wt.U)(t=>he(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ti(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class ei{constructor(t,e,i,n,s,o,r,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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=he(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=he(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ii extends Ke{constructor(t,e){super(e),this.url=t,ni(this,e)}toString(){return si(this._root)}}function ni(t,e){e.value._routerState=t,e.children.forEach(e=>ni(t,e))}function si(t){const e=t.children.length>0?` { ${t.children.map(si).join(", ")} } `:"";return`${t.value}${e}`}function oi(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,fe(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),fe(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;ife(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ri(t.parent,e.parent))}function ai(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return ai(t,e,n);return ai(t,e)})}(t,e,i);return new Xe(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return ci(e,t),t}}const i=new Qe(new dt((n=e.value).url),new dt(n.params),new dt(n.queryParams),new dt(n.fragment),new dt(n.data),n.outlet,n.component,n),s=e.children.map(e=>ai(t,e));return new Xe(i,s)}var n}function ci(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Le(i.root===t?e:di(i.root,t,e),o,s)}function di(t,e,i){const n={};return be(t.children,(t,s)=>{n[s]=t===e?i:di(t,e,i)}),new Ce(t.segments,n)}class pi{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&ui(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(li);if(n&&n!==_e(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fi{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function gi(t,e,i){if(t||(t=new Ce([],{})),0===t.segments.length&&t.hasChildren())return mi(t,e,i);const n=function(t,e,i){let n=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return o;const e=t.segments[s],r=i[n];if(li(r))break;const a=`${r}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Ai(a,c,e))return o;n+=2}else{if(!Ai(a,{},e))return o;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=gi(t.children[n],e,i))}),be(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new Ce(t.segments,s)}}function _i(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=_i(new Ce([],{}),0,t))}),e}function yi(t){const e={};return be(t,(t,i)=>e[i]=`${t}`),e}function Ai(t,e,i){return t==i.path&&fe(e,i.parameters)}class wi{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),oi(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Ve(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),be(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=Ve(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=Ve(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new ce(t.value.snapshot))}),t.children.length&&this.forwardEvent(new re(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(oi(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Mi(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function Mi(t){oi(t.value),t.children.forEach(Mi)}class vi{constructor(t,e){this.routes=t,this.module=e}}function Ti(t){return"function"==typeof t}function ki(t){return t instanceof Le}const Li=Symbol("INITIAL_VALUE");function Ci(){return(0,Mt.w)(t=>(0,pt.aj)(t.map(t=>t.pipe((0,vt.q)(1),kt(Li)))).pipe(Ct((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==Li)return t;if(n===Li&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||ki(n))return n}return t},t)},Li),(0,at.h)(t=>t!==Li),(0,wt.U)(t=>ki(t)?t:!0===t),(0,vt.q)(1)))}let Si=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[Ln]},encapsulation:2}),t})();function Ei(t,e=""){for(let i=0;iRi(t)===e);return i.push(...t.filter(t=>Ri(t)!==e)),i}const Pi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ni(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},Pi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||pe)(i,t,e);if(!s)return Object.assign({},Pi);const o={};be(s.posParams,(t,e)=>{o[e]=t.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function Ii(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>qi(t,e,i)&&"primary"!==Ri(i))}(t,i,n)){const s=new Ce(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const o of i)if(""===o.path&&"primary"!==Ri(o)){const i=new Ce([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[Ri(o)]=i}return s}(t,e,n,new Ce(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>qi(t,e,i))}(t,i,n)){const o=new Ce(t.segments,function(t,e,i,n,s,o){const r={};for(const a of n)if(qi(t,i,a)&&!s[Ri(a)]){const i=new Ce([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===o?t.segments.length:e.length,r[Ri(a)]=i}return Object.assign(Object.assign({},s),r)}(t,e,i,n,t.children,s));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}const o=new Ce(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:i}}function qi(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function Bi(t,e,i,n){return!!(Ri(t)===n||"primary"!==n&&qi(e,i,t))&&("**"===t.path||Ni(e,t,i).matched)}function Yi(t,e,i){return 0===e.length&&!t.children[i]}class Hi{constructor(t){this.segmentGroup=t||null}}class ji{constructor(t){this.urlTree=t}}function Fi(t){return new ft.y(e=>e.error(new Hi(t)))}function Wi(t){return new ft.y(e=>e.error(new ji(t)))}function Ui(t){return new ft.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ki{constructor(t,e,i,n,o){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Ii(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ce(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,wt.U)(t=>this.createUrlTree(Zi(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,zt.K)(t=>{if(t instanceof ji)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Hi)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,wt.U)(e=>this.createUrlTree(Zi(e),t.queryParams,t.fragment))).pipe((0,zt.K)(t=>{if(t instanceof Hi)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new Ce([],{primary:t}):t;return new Le(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe((0,wt.U)(t=>new Ce([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return(0,ct.D)(n).pipe((0,xt.b)(n=>{const s=i.children[n],o=Di(e,n);return this.expandSegmentGroup(t,o,s,n).pipe((0,wt.U)(t=>({segment:t,outlet:n})))}),Ct((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?(0,at.h)((e,i)=>t(e,i,n)):qt.y,Rt(1),i?(0,It.d)(e):(0,Nt.T)(()=>new gt.K))}())}expandSegment(t,e,i,n,s,o){return(0,ct.D)(i).pipe((0,xt.b)(r=>this.expandSegmentAgainstRoute(t,e,i,r,n,s,o).pipe((0,zt.K)(t=>{if(t instanceof Hi)return(0,ut.of)(null);throw t}))),(0,Bt.P)(t=>!!t),(0,zt.K)((t,i)=>{if(t instanceof gt.K||"EmptyError"===t.name){if(Yi(e,n,s))return(0,ut.of)(new Ce([],{}));throw new Hi(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,o,r){return Bi(n,e,s,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o):Fi(e):Fi(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Wi(s):this.lineralizeSegments(i,s).pipe((0,Yt.zg)(i=>{const s=new Ce(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,o){const{matched:r,consumedSegments:a,lastChild:c,positionalParamSegments:u}=Ni(e,n,s);if(!r)return Fi(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?Wi(l):this.lineralizeSegments(n,l).pipe((0,Yt.zg)(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),o,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?(0,ut.of)(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe((0,wt.U)(t=>(i._loadedConfig=t,new Ce(n,{})))):(0,ut.of)(new Ce(n,{}));const{matched:o,consumedSegments:r,lastChild:a}=Ni(e,i,n);if(!o)return Fi(e);const c=n.slice(a);return this.getChildConfig(t,i,n).pipe((0,Yt.zg)(t=>{const n=t.module,o=t.routes,{segmentGroup:a,slicedSegments:u}=Ii(e,r,c,o),l=new Ce(a.segments,a.children);if(0===u.length&&l.hasChildren())return this.expandChildren(n,o,l).pipe((0,wt.U)(t=>new Ce(r,t)));if(0===o.length&&0===u.length)return(0,ut.of)(new Ce(r,{}));const h=Ri(i)===s;return this.expandSegment(n,l,o,u,h?"primary":s,!0).pipe((0,wt.U)(t=>new Ce(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?(0,ut.of)(new vi(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,ut.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe((0,Yt.zg)(i=>i?this.configLoader.load(t.injector,e).pipe((0,wt.U)(t=>(e._loadedConfig=t,t))):function(t){return new ft.y(e=>e.error(de(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,ut.of)(new vi([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;if(!n||0===n.length)return(0,ut.of)(!0);const s=n.map(n=>{const s=t.get(n);let o;if(function(t){return t&&Ti(t.canLoad)}(s))o=s.canLoad(e,i);else{if(!Ti(s))throw new Error("Invalid CanLoad guard");o=s(e,i)}return ye(o)});return(0,ut.of)(s).pipe(Ci(),(0,Ht.b)(t=>{if(!ki(t))return;const e=de(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,wt.U)(t=>!0===t))}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return(0,ut.of)(i);if(n.numberOfChildren>1||!n.children.primary)return Ui(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new Le(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return be(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let o={};return be(e.children,(e,s)=>{o[s]=this.createSegmentGroup(t,e,i,n)}),new Ce(s,o)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function Zi(t){const e={};for(const i of Object.keys(t.children)){const n=Zi(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Ce(t.segments.concat(e.segments),e.children)}return t}(new Ce(t.segments,e))}class Gi{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Xi{constructor(t,e){this.component=t,this.route=e}}function Vi(t,e,i){const n=t._root;return Ji(n,e?e._root:null,i,[n.value])}function $i(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function Ji(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ve(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,r=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!Ee(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ee(t.url,e.url)||!fe(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ri(t,e)||!fe(t.queryParams,e.queryParams);case"paramsChange":default:return!ri(t,e)}}(r,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Gi(n)):(o.data=r.data,o._resolvedData=r._resolvedData),Ji(t,e,o.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Xi(a.outlet.component,r))}else r&&Qi(e,a,s),s.canActivateChecks.push(new Gi(n)),Ji(t,null,o.component?a?a.children:null:i,n,s)}(t,o[t.value.outlet],i,n.concat([t.value]),s),delete o[t.value.outlet]}),be(o,(t,e)=>Qi(t,i.getContext(e),s)),s}function Qi(t,e,i){const n=Ve(t),s=t.value;be(n,(t,n)=>{Qi(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new Xi(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class tn{}function en(t){return new ft.y(e=>e.error(t))}class nn{constructor(t,e,i,n,s,o){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Ii(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const i=new ei([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Xe(i,e),s=new ii(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=ti(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],o=Di(t,s),r=this.processSegmentGroup(o,n,s);if(null===r)return null;i.push(...r)}const n=on(i);return n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return Yi(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!Bi(t,e,i,n))return null;let s,o=[],r=[];if("**"===t.path){const n=i.length>0?_e(i).parameters:{};s=new ei(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(t),Ri(t),t.component,t,rn(e),an(e)+i.length,un(t))}else{const n=Ni(e,t,i);if(!n.matched)return null;o=n.consumedSegments,r=i.slice(n.lastChild),s=new ei(o,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(t),Ri(t),t.component,t,rn(e),an(e)+o.length,un(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=Ii(e,o,r,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new Xe(s,t)]}if(0===a.length&&0===u.length)return[new Xe(s,[])];const l=Ri(t)===n,h=this.processSegment(a,c,u,l?"primary":n);return null===h?null:[new Xe(s,h)]}}function sn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function on(t){const e=[],i=new Set;for(const n of t){if(!sn(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=on(n.children);e.push(new Xe(n.value,t))}return e.filter(t=>!i.has(t))}function rn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function an(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function cn(t){return t.data||{}}function un(t){return t.resolve||{}}function ln(t){return(0,Mt.w)(e=>{const i=t(e);return i?(0,ct.D)(i).pipe((0,wt.U)(()=>e)):(0,ut.of)(e)})}class hn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const dn=new s.OlP("ROUTES");class pn{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe((0,wt.U)(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new vi(me(n.injector.get(dn,void 0,s.XFs.Self|s.XFs.Optional)).map(Oi),n)}),(0,zt.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new At.c(i,()=>new lt.xQ).pipe((0,jt.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,ct.D)(this.loader.load(t)):ye(t()).pipe((0,Yt.zg)(t=>t instanceof s.YKP?(0,ut.of)(t):(0,ct.D)(this.compiler.compileModuleAsync(t))))}}class fn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new gn,this.attachRef=null}}class gn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new fn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class mn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function _n(t){throw t}function bn(t,e,i){return e.parse("/")}function yn(t,e){return(0,ut.of)(null)}const An={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mn=(()=>{class t{constructor(t,e,i,n,o,r,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new lt.xQ,this.errorHandler=_n,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yn,afterPreactivation:yn},this.urlHandlingStrategy=new mn,this.routeReuseStrategy=new hn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);const u=o.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Le(new Ce([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pn(r,a,t=>this.triggerEvent(new ne(t)),t=>this.triggerEvent(new se(t))),this.routerState=Je(this.currentUrlTree,this.rootComponentType),this.transitions=new dt({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()}setupNavigations(t){const e=this.events;return t.pipe((0,at.h)(t=>0!==t.id),(0,wt.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,Mt.w)(t=>{let i=!1,n=!1;return(0,ut.of)(t).pipe((0,Ht.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Mt.w)(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,ut.of)(t).pipe((0,Mt.w)(t=>{const i=this.transitions.getValue();return e.next(new Gt(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?bt.E:Promise.resolve(t)}),(n=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,r=this.config,(0,Mt.w)(t=>function(t,e,i,n,s){return new Ki(t,e,i,n,s).apply()}(n,s,o,t.extractedUrl,r).pipe((0,wt.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,Ht.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return(0,Yt.zg)(o=>function(t,e,i,n,s="emptyOnly",o="legacy"){try{const r=new nn(t,e,i,n,s,o).recognize();return null===r?en(new tn):(0,ut.of)(r)}catch(r){return en(r)}}(t,e,o.urlAfterRedirects,i(o.urlAfterRedirects),n,s).pipe((0,wt.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Ht.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new Jt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));var n,s,o,r;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:o,extras:r}=t,a=new Gt(i,this.serializeUrl(n),s,o);e.next(a);const c=Je(n,this.rootComponentType).snapshot;return(0,ut.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},r),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),bt.E}),ln(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,Ht.b)(t=>{const e=new Qt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,wt.U)(t=>Object.assign(Object.assign({},t),{guards:Vi(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,Yt.zg)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:r}}=i;return 0===r.length&&0===o.length?(0,ut.of)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return(0,ct.D)(t).pipe((0,Yt.zg)(t=>function(t,e,i,n,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,ut.of)(!0);const r=o.map(o=>{const r=$i(o,e,s);let a;if(function(t){return t&&Ti(t.canDeactivate)}(r))a=ye(r.canDeactivate(t,e,i,n));else{if(!Ti(r))throw new Error("Invalid CanDeactivate guard");a=ye(r(t,e,i,n))}return a.pipe((0,Bt.P)())});return(0,ut.of)(r).pipe(Ci())}(t.component,t.route,i,e,n)),(0,Bt.P)(t=>!0!==t,!0))}(r,n,s,t).pipe((0,Yt.zg)(i=>i&&"boolean"==typeof i?function(t,e,i,n){return(0,ct.D)(e).pipe((0,xt.b)(e=>_t(function(t,e){return null!==t&&e&&e(new oe(t)),(0,ut.of)(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new ae(t)),(0,ut.of)(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>yt(()=>{const s=e.guards.map(s=>{const o=$i(s,e.node,i);let r;if(function(t){return t&&Ti(t.canActivateChild)}(o))r=ye(o.canActivateChild(n,t));else{if(!Ti(o))throw new Error("Invalid CanActivateChild guard");r=ye(o(n,t))}return r.pipe((0,Bt.P)())});return(0,ut.of)(s).pipe(Ci())}));return(0,ut.of)(s).pipe(Ci())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||0===n.length)return(0,ut.of)(!0);const s=n.map(n=>yt(()=>{const s=$i(n,e,i);let o;if(function(t){return t&&Ti(t.canActivate)}(s))o=ye(s.canActivate(e,t));else{if(!Ti(s))throw new Error("Invalid CanActivate guard");o=ye(s(e,t))}return o.pipe((0,Bt.P)())}));return(0,ut.of)(s).pipe(Ci())}(t,e.route,i))),(0,Bt.P)(t=>!0!==t,!0))}(n,o,t,e):(0,ut.of)(i)),(0,wt.U)(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,Ht.b)(t=>{if(ki(t.guardsResult)){const e=de(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new te(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,at.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),ln(t=>{if(t.guards.canActivateChecks.length)return(0,ut.of)(t).pipe((0,Ht.b)(t=>{const e=new ee(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,Mt.w)(t=>{let e=!1;return(0,ut.of)(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,(0,Yt.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,ut.of)(t);let o=0;return(0,ct.D)(s).pipe((0,xt.b)(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return(0,ut.of)({});const o={};return(0,ct.D)(s).pipe((0,Yt.zg)(s=>function(t,e,i,n){const s=$i(t,e,n);return ye(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe((0,Ht.b)(t=>{o[s]=t}))),Rt(1),(0,Yt.zg)(()=>Object.keys(o).length===s.length?(0,ut.of)(o):bt.E))}(t._resolve,t,e,n).pipe((0,wt.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ti(t,i).resolve),null)))}(t.route,e,i,n)),(0,Ht.b)(()=>o++),Rt(1),(0,Yt.zg)(e=>o===s.length?(0,ut.of)(t):bt.E))})),(0,Ht.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),(0,Ht.b)(t=>{const e=new ie(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),ln(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),(0,wt.U)(t=>{const e=function(t,e,i){const n=ai(t,e._root,i?i._root:void 0);return new $e(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,Ht.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,r=t=>this.triggerEvent(t),(0,wt.U)(t=>(new wi(o,t.targetRouterState,t.currentRouterState,r).activate(s),t))),(0,Ht.b)({next(){i=!0},complete(){i=!0}}),Wt(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),(0,zt.K)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=ki(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Vt(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new $t(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(o){t.reject(o)}}var s;return bt.E}));var s,o,r}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ei(t),this.config=t.map(Oi),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:o,preserveFragment:r}=e,a=i||this.routerState.root,c=r?this.currentUrlTree.fragment:s;let u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,i,n,s){if(0===i.length)return hi(e.root,e.root,e,n,s);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new pi(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return be(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new pi(i,e,n)}(i);if(o.toRoot())return hi(e.root,new Ce([],{}),e,n,s);const r=function(t,e,i){if(t.isAbsolute)return new fi(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new fi(t,t===e.root,0)}const n=ui(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,o=i;for(;o>s;){if(o-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new fi(n,!1,s-o)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(o,e,t),a=r.processChildren?mi(r.segmentGroup,r.index,o.commands):gi(r.segmentGroup,r.index,o.commands);return hi(r.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,u,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=ki(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Xt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==e&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===t.toString();if(r&&a)return Promise.resolve(!0);let c,u,l;s?(c=s.resolve,u=s.reject,l=s.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new Vt(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(ze),s.LFG(gn),s.LFG(n.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),vn=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new lt.xQ,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:kn(this.skipLocationChange),replaceUrl:kn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:kn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Mn),s.Y36(Qe),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),Tn=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new lt.xQ,this.subscription=t.events.subscribe(t=>{t instanceof Xt&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:kn(this.skipLocationChange),replaceUrl:kn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:kn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Mn),s.Y36(Qe),s.Y36(n.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function kn(t){return""===t||!!t}let Ln=(()=>{class t{constructor(t,e,i,n,o){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=n||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new Cn(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(gn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Cn{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Qe?this.route:t===gn?this.childContexts:this.parent.get(t,e)}}class Sn{}class En{preload(t,e){return e().pipe((0,zt.K)(()=>(0,ut.of)(null)))}}class zn{preload(t,e){return(0,ut.of)(null)}}let xn=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new pn(e,i,e=>t.triggerEvent(new ne(e)),e=>t.triggerEvent(new se(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,at.h)(t=>t instanceof Xt),(0,xt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return(0,ct.D)(i).pipe((0,mt.J)(),(0,wt.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,ut.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,Yt.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Mn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Sn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),On=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Xt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ue&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new ue(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Mn),s.LFG(n.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Rn=new s.OlP("ROUTER_CONFIGURATION"),Dn=new s.OlP("ROUTER_FORROOT_GUARD"),Pn=[n.Ye,{provide:ze,useClass:xe},{provide:Mn,useFactory:function(t,e,i,n,s,o,r,a={},c,u){const l=new Mn(null,t,e,i,n,s,o,me(r));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,l),a.enableTracing&&l.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[ze,gn,n.Ye,s.zs3,s.v3s,s.Sil,dn,Rn,[class{},new s.FiY],[class{},new s.FiY]]},gn,{provide:Qe,useFactory:function(t){return t.routerState.root},deps:[Mn]},{provide:s.v3s,useClass:s.EAV},xn,zn,En,{provide:Rn,useValue:{enableTracing:!1}}];function Nn(){return new s.PXZ("Router",Mn)}let In=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[Pn,Hn(e),{provide:Dn,useFactory:Yn,deps:[[Mn,new s.FiY,new s.tp0]]},{provide:Rn,useValue:i||{}},{provide:n.S$,useFactory:Bn,deps:[n.lw,[new s.tBr(n.mr),new s.FiY],Rn]},{provide:On,useFactory:qn,deps:[Mn,n.EM,Rn]},{provide:Sn,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:zn},{provide:s.PXZ,multi:!0,useFactory:Nn},[jn,{provide:s.ip1,multi:!0,useFactory:Fn,deps:[jn]},{provide:Un,useFactory:Wn,deps:[jn]},{provide:s.tb,multi:!0,useExisting:Un}]]}}static forChild(e){return{ngModule:t,providers:[Hn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dn,8),s.LFG(Mn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function qn(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new On(t,e,i)}function Bn(t,e,i={}){return i.useHash?new n.Do(t,e):new n.b0(t,e)}function Yn(t){return"guarded"}function Hn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:dn,multi:!0,useValue:t}]}let jn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new lt.xQ}appInitializer(){return this.injector.get(n.V_,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(Mn),n=this.injector.get(Rn);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?(0,ut.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Rn),i=this.injector.get(xn),n=this.injector.get(On),o=this.injector.get(Mn),r=this.injector.get(s.z2F);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||o.initialNavigation(),i.setUpPreloading(),n.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Fn(t){return t.appInitializer.bind(t)}function Wn(t){return t.bootstrapListener.bind(t)}const Un=new s.OlP("Router Initializer");function Kn(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Zn=i(7701);function Gn(t){return null!=t&&"false"!=`${t}`}function Xn(t,e=0){return Vn(t)?Number(t):e}function Vn(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function $n(t){return Array.isArray(t)?t:[t]}function Jn(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Qn(t){return t instanceof s.SBq?t.nativeElement:t}let ts;try{ts="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(eE){ts=!1}let es,is=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,n.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&&!ts)&&"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 t.\u0275fac=function(e){return new(e||t)(s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.Lbi))},token:t,providedIn:"root"}),t})(),ns=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const ss=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function os(){if(es)return es;if("object"!=typeof document||!document)return es=new Set(ss),es;let t=document.createElement("input");return es=new Set(ss.filter(e=>(t.setAttribute("type",e),t.type===e))),es}let rs,as,cs,us;function ls(t){return function(){if(null==rs&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>rs=!0}))}finally{rs=rs||!1}return rs}()?t:!!t.capture}function hs(){if(null==cs){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return cs=!1,cs;if("scrollBehavior"in document.documentElement.style)cs=!0;else{const t=Element.prototype.scrollTo;cs=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return cs}function ds(){if("object"!=typeof document||!document)return 0;if(null==as){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),as=0,0===t.scrollLeft&&(t.scrollLeft=1,as=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return as}function ps(t){if(function(){if(null==us){const t="undefined"!=typeof document?document.head:null;us=!(!t||!t.createShadowRoot&&!t.attachShadow)}return us}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function fs(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}let gs=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),ms=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Qn(t);return new ft.y(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new lt.xQ,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(gs))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(gs))},token:t,providedIn:"root"}),t})(),_s=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Gn(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Xn(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,Zn.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ms),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),bs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[gs]}),t})();function ys(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let As=0;const ws=new Map;let Ms=null,vs=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=Ts(e,i);"string"!=typeof e?(ks(e),ws.set(n,{messageElement:e,referenceCount:0})):ws.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=Ts(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=ws.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}Ms&&0===Ms.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=ws.get(e);!function(t,e,i){const n=ys(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(t,e){const i=ws.get(e);i.referenceCount--,function(t,e,i){const n=ys(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const i=ys(t,"aria-describedby"),n=ws.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();function Ts(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function ks(t){t.id||(t.id="cdk-describedby-message-"+As++)}class Ls{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new lt.xQ,this._typeaheadSubscription=Ft.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new lt.xQ,this.change=new lt.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Ht.b)(t=>this._pressedLetters.push(t)),(0,Zn.b)(t),(0,at.h)(()=>this._pressedLetters.length>0),(0,wt.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Kn(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class Cs extends Ls{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Ss extends Ls{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Es=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(eE){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===xs(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=xs(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||zs(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(is))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(is))},token:t,providedIn:"root"}),t})();function zs(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function xs(t){if(!zs(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class Os{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,vt.q)(1)).subscribe(t)}}let Rs=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new Os(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Es),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(Es),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈const Ds=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Ps=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ns=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Is(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{qs(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=js(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=js(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=Qn(t);if(!this._platform.isBrowser||1!==i.nodeType)return(0,ut.of)(null);const n=ps(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new lt.xQ,rootNode:n};return this._elementInfo.set(i,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=Qn(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=Qn(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=js(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===js(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ys),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ys)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Ys),t.addEventListener("mousedown",this._documentMousedownListener,Ys),t.addEventListener("touchstart",this._documentTouchstartListener,Ys),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ys),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ys),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Ys),t.removeEventListener("mousedown",this._documentMousedownListener,Ys),t.removeEventListener("touchstart",this._documentTouchstartListener,Ys),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(is),s.LFG(n.K0,8),s.LFG(Bs,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(is),s.LFG(n.K0,8),s.LFG(Bs,8))},token:t,providedIn:"root"}),t})();function js(t){return t.composedPath?t.composedPath()[0]:t.target}let Fs=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(is),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(is),s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),Ws=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fs))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ns,bs]]}),t})();const Us=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,s.f3M)(n.K0)}});let Ks=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.vpe,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Us,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(Us,8))},token:t,providedIn:"root"}),t})(),Zs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const Gs=new s.GfV("12.0.5");class Xs{}function Vs(t,e){return{type:7,name:t,definitions:e,options:{}}}function $s(t,e=null){return{type:4,styles:e,timings:t}}function Js(t,e=null){return{type:3,steps:t,options:e}}function Qs(t,e=null){return{type:2,steps:t,options:e}}function to(t){return{type:6,styles:t,offset:null}}function eo(t,e,i){return{type:0,name:t,styles:e,options:i}}function io(t){return{type:5,steps:t}}function no(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function so(t=null){return{type:9,options:t}}function oo(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function ro(t){Promise.resolve(null).then(t)}class ao{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ro(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class co{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?ro(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function uo(){return"undefined"!=typeof window&&void 0!==window.document}function lo(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ho(t){switch(t.length){case 0:return new ao;case 1:return t[0];default:return new co(t)}}function po(t,e,i,n,s={},o={}){const r=[],a=[];let c=-1,u=null;if(n.forEach(t=>{const i=t.offset,n=i==c,l=n&&u||{};Object.keys(t).forEach(i=>{let n=i,a=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,r),a){case"!":a=s[i];break;case"*":a=o[i];break;default:a=e.normalizeStyleValue(i,n,a,r)}l[n]=a}),n||a.push(l),u=l,c=i}),r.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${r.join(t)}`)}return a}function fo(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&go(i,"start",t)));break;case"done":t.onDone(()=>n(i&&go(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&go(i,"destroy",t)))}}function go(t,e,i){const n=i.totalTime,s=mo(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),o=t._data;return null!=o&&(s._data=o),s}function mo(t,e,i,n,s="",o=0,r){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:o,disabled:!!r}}function _o(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function bo(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let yo=(t,e)=>!1,Ao=(t,e)=>!1,wo=(t,e,i)=>[];const Mo=lo();(Mo||"undefined"!=typeof Element)&&(yo=uo()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),Ao=(()=>{if(Mo||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):Ao}})(),wo=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let zo=(()=>{class t{validateStyleProperty(t){return ko(t)}matchesElement(t,e){return Lo(t,e)}containsElement(t,e){return Co(t,e)}query(t,e,i){return So(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,o=[],r){return new ao(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),xo=(()=>{class t{}return t.NOOP=new zo,t})();function Oo(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ro(parseFloat(e[1]),e[2])}function Ro(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Do(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,o="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=Ro(parseFloat(i[1]),i[2]);const r=i[3];null!=r&&(s=Ro(parseFloat(r),i[4]));const a=i[5];a&&(o=a)}else n=t;if(!i){let i=!1,o=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:o}}(t,e,i)}function Po(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function No(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else Po(t,i);return i}function Io(t,e,i){return i?e+":"+i+";":""}function qo(t){let e="";for(let i=0;i{const s=Zo(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),lo()&&qo(t))}function Yo(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=Zo(e);t.style[i]=""}),lo()&&qo(t))}function Ho(t){return Array.isArray(t)?1==t.length?t[0]:Qs(t):t}const jo=new RegExp("{{\\s*(.+?)\\s*}}","g");function Fo(t){let e=[];if("string"==typeof t){let i;for(;i=jo.exec(t);)e.push(i[1]);jo.lastIndex=0}return e}function Wo(t,e,i){const n=t.toString(),s=n.replace(jo,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function Uo(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const Ko=/-+([a-z0-9])/g;function Zo(t){return t.replace(Ko,(...t)=>t[1].toUpperCase())}function Go(t,e){return 0===t||0===e}function Xo(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let o=e[0],r=[];if(n.forEach(t=>{o.hasOwnProperty(t)||r.push(t),o[t]=i[t]}),r.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],o=n[2],r=n[3];e.push(er(s,r)),"<"!=o[0]||"*"==s&&"*"==r||e.push(er(r,s))}(t,i,e)):i.push(t),i}const Qo=new Set(["true","1"]),tr=new Set(["false","0"]);function er(t,e){const i=Qo.has(t)||tr.has(t),n=Qo.has(e)||tr.has(e);return(s,o)=>{let r="*"==t||t==s,a="*"==e||e==o;return!r&&i&&"boolean"==typeof s&&(r=s?Qo.has(t):tr.has(t)),!a&&n&&"boolean"==typeof o&&(a=o?Qo.has(e):tr.has(e)),r&&a}}const ir=new RegExp("s*:selfs*,?","g");function nr(t,e,i){return new sr(t).build(e,i)}class sr{constructor(t){this._driver=t}build(t,e){const i=new or(e);return this._resetContextStyleTimingState(i),Vo(this,Ho(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,o.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=n||{};if(i.styles.forEach(t=>{if(rr(t)){const e=t;Object.keys(e).forEach(t=>{Fo(e[t]).forEach(t=>{o.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=Uo(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Vo(this,Ho(t.animation),e);return{type:1,matchers:Jo(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:ar(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Vo(this,t,e)),options:ar(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Vo(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:ar(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return cr(Do(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=cr(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||Do(n,e),cr(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:to({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};i.easing&&(t.easing=i.easing),s=to(t)}e.currentTime+=i.duration+i.delay;const r=this.visitStyle(s,e);r.isEmptyStep=o,n=r}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(rr(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],r=o[i];let a=!0;r&&(s!=n&&s>=r.startTime&&n<=r.endTime&&(e.errors.push(`The CSS property "${i}" 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 "${s}ms" and "${n}ms"`),a=!1),s=r.startTime),a&&(o[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=Fo(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let o=!1,r=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(rr(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(rr(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),u=0;return null!=c&&(n++,u=i.offset=c),r=r||u<0||u>1,o=o||u0&&n{const o=l>0?n==h?1:l*n:s[n],r=o*f;e.currentTime=d+p.delay+r,p.duration=r,this._validateStyleAst(t,e),t.offset=o,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Vo(this,Ho(t.animation),e),options:ar(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ar(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ar(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(ir,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,_o(e.collectedStyles,e.currentQuerySelector,{});const r=Vo(this,Ho(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:r,originalSelector:t.selector,options:ar(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Do(t.timings,e.errors,!0);return{type:12,animation:Vo(this,Ho(t.animation),e),timings:i,options:null}}}class or{constructor(t){this.errors=t,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 rr(t){return!Array.isArray(t)&&"object"==typeof t}function ar(t){var e;return t?(t=Po(t)).params&&(t.params=(e=t.params)?Po(e):null):t={},t}function cr(t,e,i){return{duration:t,delay:e,easing:i}}function ur(t,e,i,n,s,o,r=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class lr{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const hr=new RegExp(":enter","g"),dr=new RegExp(":leave","g");function pr(t,e,i,n,s,o={},r={},a,c,u=[]){return(new fr).buildKeyframes(t,e,i,n,s,o,r,a,c,u)}class fr{buildKeyframes(t,e,i,n,s,o,r,a,c,u=[]){c=c||new lr;const l=new mr(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),Vo(this,i,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(r).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([r],null,l.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ur(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?Oo(i.duration):null,o=null!=i.delay?Oo(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,o);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Vo(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=gr);const t=Oo(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Vo(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?Oo(t.options.delay):0;t.steps.forEach(o=>{const r=e.createSubContext(t.options);s&&r.delayNextStep(s),Vo(this,o,r),n=Math.max(n,r.currentTimeline.currentTime),i.push(r.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return Do(e.params?Wo(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,o=e.createSubContext().currentTimeline;o.easing=i.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*s),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?Oo(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=gr);let o=i;const r=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=r.length;let a=null;r.forEach((i,n)=>{e.currentQueryIndex=n;const r=e.createSubContext(t.options,i);s&&r.delayNextStep(s),i===e.element&&(a=r.currentTimeline),Vo(this,t.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),r=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;Vo(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const gr={};class mr{constructor(t,e,i,n,s,o,r,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new _r(this._driver,e,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=Oo(i.duration)),null!=i.delay&&(n.delay=Oo(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=Wo(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new mr(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=gr,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new br(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,o){let r=[];if(n&&r.push(this.element),t.length>0){t=(t=t.replace(hr,"."+this._enterClassName)).replace(dr,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),r.push(...e)}return s||0!=r.length||o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),r}}class _r{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new _r(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},o=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]="*"})):No(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=Wo(o[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,o)=>{const r=No(s,!0);Object.keys(r).forEach(i=>{const n=r[i];"!"==n?t.add(i):"*"==n&&e.add(i)}),i||(r.offset=o/this.duration),n.push(r)});const s=t.size?Uo(t.values()):[],o=e.size?Uo(e.values()):[];if(i){const t=n[0],e=Po(t);t.offset=0,e.offset=1,n=[t,e]}return ur(this.element,n,s,o,this.duration,this.startTime,this.easing,!1)}}class br extends _r{constructor(t,e,i,n,s,o,r=!1){super(t,e,o.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=i+e,r=e/o,a=No(t[0],!1);a.offset=0,s.push(a);const c=No(t[0],!1);c.offset=yr(r),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let r=No(t[n],!1);r.offset=yr((e+r.offset*i)/o),s.push(r)}i=o,e=0,n="",t=s}return ur(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function yr(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Ar{}class wr extends Ar{normalizePropertyName(t,e){return Zo(t)}normalizeStyleValue(t,e,i,n){let s="";const o=i.toString().trim();if(Mr[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return o+s}}const Mr=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 vr(t,e,i,n,s,o,r,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:o,toState:n,toStyles:r,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const Tr={};class kr{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],o=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):o}build(t,e,i,n,s,o,r,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||Tr,d=this.buildStyles(i,r&&r.params||Tr,l),p=a&&a.params||Tr,f=this.buildStyles(n,p,l),g=new Set,m=new Map,_=new Map,b="void"===n,y={params:Object.assign(Object.assign({},h),p)},A=u?[]:pr(t,e,this.ast.animation,s,o,d,f,y,c,l);let w=0;if(A.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),l.length)return vr(e,this._triggerName,i,n,b,d,f,[],[],m,_,w,l);A.forEach(t=>{const i=t.element,n=_o(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=_o(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&g.add(i)});const M=Uo(g.values());return vr(e,this._triggerName,i,n,b,d,f,A,M,m,_,w)}}class Lr{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=Po(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let o=s[t];o.length>1&&(o=Wo(o,n,e)),i[t]=o})}}),i}}class Cr{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Lr(t.style,t.options&&t.options.params||{})}),Sr(this.states,"true","1"),Sr(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new kr(t,e,this.states))}),this.fallbackTransition=new kr(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function Sr(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const Er=new lr;class zr{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=nr(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=po(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let o;const r=new Map;if(s?(o=pr(this._driver,e,s,"ng-enter","ng-leave",{},{},i,Er,n),o.forEach(t=>{const e=_o(r,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),o=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);r.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,"*")})});const a=ho(o.map(t=>{const e=r.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=mo(e,"","","");return fo(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const xr=[],Or={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Dr{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=Po(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const Pr=new Dr("void");class Nr{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Fr(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const o=_o(this._elementListeners,t,[]),r={name:e,phase:i,callback:n};o.push(r);const a=_o(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Fr(t,"ng-trigger"),Fr(t,"ng-trigger-"+e),a[e]=Pr),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(r);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),o=new qr(this.id,e,t);let r=this._engine.statesByElement.get(t);r||(Fr(t,"ng-trigger"),Fr(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,r={}));let a=r[e];const c=new Dr(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),r[e]=c,a||(a=Pr),"void"!==c.value&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{Yo(t,i),Bo(t,n)})}return}const u=_o(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Fr(t,"ng-animate-queued"),o.onStart(()=>{Wr(t,"ng-animate-queued")})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(o);t>=0&&i.splice(t,1)}}),this.players.push(o),u.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const o=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&o.push(i)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&ho(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const o=this._triggers[s].fallbackTransition,r=i[s]||Pr,a=new Dr("void"),c=new qr(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:o,fromState:r,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==Or||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Fr(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(e=>{if(e.name==i.triggerName){const n=mo(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,fo(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Ir{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new Nr(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Fr(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Wr(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(Br(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return Br(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return ho(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Or,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?ho(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new lr,n=[],s=new Map,o=[],r=new Map,a=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+f++;p.set(e,i),t.forEach(t=>Fr(t,i))});const g=[],m=new Set,_=new Set;for(let z=0;zm.add(t)):_.add(t))}const b=new Map,y=jr(h,Array.from(m));y.forEach((t,e)=>{const i="ng-leave"+f++;b.set(e,i),t.forEach(t=>Fr(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=p.get(e);t.forEach(t=>Wr(t,i))}),y.forEach((t,e)=>{const i=b.get(e);t.forEach(t=>Wr(t,i))}),g.forEach(t=>{this.processLeaveNode(t)})});const A=[],w=[];for(let z=this._namespaceList.length-1;z>=0;z--)this._namespaceList[z].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(A.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!l||!this.driver.containsElement(l,s),h=b.get(s),d=p.get(s),f=this._buildInstruction(t,i,d,h,u);if(f.errors&&f.errors.length)w.push(f);else{if(u)return e.onStart(()=>Yo(s,f.fromStyles)),e.onDestroy(()=>Bo(s,f.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>Yo(s,f.fromStyles)),e.onDestroy(()=>Bo(s,f.toStyles)),void n.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>_o(r,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=a.get(e);t||a.set(e,t=new Set),i.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=c.get(e);n||c.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),A.forEach(t=>t.destroy()),this.reportError(t)}const M=new Map,v=new Map;o.forEach(t=>{const e=t.element;i.has(e)&&(v.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,M))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{_o(M,e,[]).push(t),t.destroy()})});const T=g.filter(t=>Zr(t,a,c)),k=new Map;Hr(k,this.driver,_,c,"*").forEach(t=>{Zr(t,a,c)&&T.push(t)});const L=new Map;d.forEach((t,e)=>{Hr(L,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=k.get(t),i=L.get(t);k.set(t,Object.assign(Object.assign({},e),i))});const C=[],S=[],E={};o.forEach(t=>{const{element:e,player:o,instruction:r}=t;if(i.has(e)){if(u.has(e))return o.onDestroy(()=>Bo(e,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void n.push(o);let t=E;if(v.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=v.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>v.set(e,t))}const i=this._buildAnimation(o.namespaceId,r,M,s,L,k);if(o.setRealPlayer(i),t===E)C.push(o);else{const e=this.playersByElement.get(t);e&&e.length&&(o.parentPlayer=ho(e)),n.push(o)}}else Yo(e,r.fromStyles),o.onDestroy(()=>Bo(e,r.toStyles)),S.push(o),u.has(e)&&n.push(o)}),S.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=ho(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let z=0;z!t.destroyed);n.length?Ur(this,t,n):this.processLeaveNode(t)}return g.length=0,C.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),C}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&o.push(e)})}}return(i||n)&&(o=o.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),o}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const t=r.element,a=t!==n,c=_o(i,t,[]);this._getPreviousPlayers(t,a,s,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}Yo(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,o){const r=e.triggerName,a=e.element,c=[],u=new Set,l=new Set,h=e.timelines.map(e=>{const h=e.element;u.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new ao(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Kr(t,e),e}((i.get(h)||xr).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=o.get(h),_=po(0,this._normalizer,0,e.keyframes,g,m),b=this._buildPlayer(e,_,f);if(e.subTimeline&&n&&l.add(h),p){const e=new qr(t,r,h);e.setRealPlayer(b),c.push(e)}return b});c.forEach(t=>{_o(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),u.forEach(t=>Fr(t,"ng-animating"));const d=ho(h);return d.onDestroy(()=>{u.forEach(t=>Wr(t,"ng-animating")),Bo(a,e.toStyles)}),l.forEach(t=>{_o(n,t,[]).push(d)}),d}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new ao(t.duration,t.delay)}}class qr{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ao,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>fo(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){_o(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Br(t){return t&&1===t.nodeType}function Yr(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function Hr(t,e,i,n,s){const o=[];i.forEach(t=>o.push(Yr(t)));const r=[];n.forEach((i,n)=>{const o={};i.forEach(t=>{const i=o[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=Rr,r.push(n))}),t.set(n,o)});let a=0;return i.forEach(t=>Yr(t,o[a++])),r}function jr(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function o(t){if(!t)return 1;let e=s.get(t);if(e)return e;const r=t.parentNode;return e=i.has(r)?r:n.has(r)?1:o(r),s.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&i.get(e).push(t)}),i}function Fr(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Wr(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function Ur(t,e,i){ho(i).onDone(()=>t.processLeaveNode(e))}function Kr(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class Gr{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ir(t,e,i),this._timelineEngine=new zr(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const o=t+"-"+n;let r=this._triggerCache[o];if(!r){const t=[],e=nr(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);r=function(t,e){return new Cr(t,e)}(n,e),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(e,n,r)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=bo(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=bo(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Xr(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=$r(e[0]),e.length>1&&(n=$r(e[e.length-1]))):e&&(i=$r(e)),i||n?new Vr(t,i,n):null}let Vr=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Bo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bo(this._element,this._initialStyles),this._endStyles&&(Bo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Yo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Yo(this._element,this._endStyles),this._endStyles=null),Bo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function $r(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=oa(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),na(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=oa(t,"").split(","),n=ia(i,e);n>=0&&(i.splice(n,1),sa(t,"",i.join(",")))}(this._element,this._name))}}function ta(t,e,i){sa(t,"PlayState",i,ea(t,e))}function ea(t,e){const i=oa(t,"");return i.indexOf(",")>0?ia(i.split(","),e):ia([i],e)}function ia(t,e){for(let i=0;i=0)return i;return-1}function na(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function sa(t,e,i,n){const s="animation"+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function oa(t,e){return t.style["animation"+e]||""}class ra{constructor(t,e,i,n,s,o,r,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Qr(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:$o(this.element,i))})}this.currentSnapshot=t}}class aa extends ao{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Eo(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ca{constructor(){this._count=0}validateStyleProperty(t){return ko(t)}matchesElement(t,e){return Lo(t,e)}containsElement(t,e){return Co(t,e)}query(t,e,i){return So(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>Eo(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const o=document.createElement("style");return o.textContent=n,o}animate(t,e,i,n,s,o=[],r){const a=o.filter(t=>t instanceof ra),c={};Go(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=Xo(t,e,c));if(0==i)return new aa(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=Xr(t,e),p=new ra(t,e,l,i,n,s,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ua{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:$o(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class la{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ha().toString()),this._cssKeyframesDriver=new ca}validateStyleProperty(t){return ko(t)}matchesElement(t,e){return Lo(t,e)}containsElement(t,e){return Co(t,e)}query(t,e,i){return So(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,o);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},u=o.filter(t=>t instanceof ua);Go(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=Xr(t,e=Xo(t,e=e.map(t=>No(t,!1)),c));return new ua(t,e,a,l)}}function ha(){return uo()&&Element.prototype.animate||{}}let da=(()=>{class t extends Xs{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?Qs(t):t;return ga(this._renderer,null,e,"register",[i]),new pa(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(n.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class pa extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new fa(this._id,t,e||{},this._renderer)}}class fa{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return ga(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function ga(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let ma=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new _a("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(o),new ba(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(Gr),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class _a{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class ba extends _a{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,o,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let ya=(()=>{class t extends Gr{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(xo),s.LFG(Ar))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Aa=new s.OlP("AnimationModuleType"),wa=[{provide:Xs,useClass:da},{provide:Ar,useFactory:function(){return new wr}},{provide:Gr,useClass:ya},{provide:s.FYo,useFactory:function(t,e,i){return new ma(t,e,i)},deps:[v,Gr,s.R0b]}],Ma=[{provide:xo,useFactory:function(){return"function"==typeof ha()?new la:new ca}},{provide:Aa,useValue:"BrowserAnimations"},...wa],va=[{provide:xo,useClass:zo},{provide:Aa,useValue:"NoopAnimations"},...wa];let Ta=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?va:Ma}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:Ma,imports:[q]}),t})();function ka(t,e){if(1&t&&s._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=s.oxw();s.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function La(t,e){if(1&t&&(s.TgZ(0,"span",5),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij("(",t.group.label,")")}}const Ca=["*"];let Sa=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),Ea=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const za=new s.GfV("12.0.5"),xa=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Oa=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,s.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&za.full!==Gs.full&&console.warn("The Angular Material version ("+za.full+") does not match the Angular CDK version ("+Gs.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fs),s.LFG(xa,8),s.LFG(n.K0))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Zs],Zs]}),t})();function Ra(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Gn(t)}}}function Da(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function Pa(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Gn(t)}}}function Na(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Xn(t):this.defaultTabIndex}}}function Ia(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new lt.xQ}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function qa(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new ft.y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const Ba=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,s.f3M)(s.soG)}});class Ya{constructor(){this._localeChanges=new lt.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const Ha=new s.OlP("mat-date-formats");let ja;try{ja="undefined"!=typeof Intl}catch(eE){ja=!1}const Fa={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Wa=Za(31,t=>String(t+1)),Ua={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Ka=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Za(t,e){const i=Array(t);for(let n=0;n{class t extends Ya{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(ja){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Za(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return Fa[t]}getDateNames(){if(ja){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Za(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Wa}getDayOfWeekNames(t){if(ja){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Za(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Ua[t]}getYearName(t){if(ja){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(ja){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(Ka.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ba,8),s.LFG(is))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Xa=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Va=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function $a(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let Ja=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa],Oa]}),t})();class Qa{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const tc={enterDuration:450,exitDuration:400},ec=ls({passive:!0}),ic=["mousedown","touchstart"],nc=["mouseup","mouseleave","touchend","touchcancel"];class sc{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Qn(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},tc),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const o=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),r=t-n.left,a=e-n.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=r-o+"px",u.style.top=a-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const l=new Qa(this,u,i);return l.state=0,this._activeRipples.add(l),i.persistent||(this._mostRecentTransientRipple=l),this._runTimeoutOutsideZone(()=>{const t=l===this._mostRecentTransientRipple;l.state=1,i.persistent||t&&this._isPointerDown||l.fadeOut()},c),l}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},tc),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Qn(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(ic))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(nc),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Is(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,ec)})})}_removeTriggerEvents(){this._triggerElement&&(ic.forEach(t=>{this._triggerElement.removeEventListener(t,this,ec)}),this._pointerUpEventsRegistered&&nc.forEach(t=>{this._triggerElement.removeEventListener(t,this,ec)}))}}const oc=new s.OlP("mat-ripple-global-options");let rc=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new sc(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(is),s.Y36(oc,8),s.Y36(Aa,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),ac=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa,ns],Oa]}),t})(),cc=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Aa,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),uc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa]]}),t})();const lc=new s.OlP("MAT_OPTION_PARENT_COMPONENT");class hc{}const dc=Ra(hc);let pc=0,fc=(()=>{class t extends dc{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+pc++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lc,8))},t.\u0275dir=s.lG2({type:t,inputs:{label:"label"},features:[s.qOj]}),t})();const gc=new s.OlP("MatOptgroup");let mc=0;class _c{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let bc=(()=>{class t{constructor(t,e,i,n){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+mc++,this.onSelectionChange=new s.vpe,this._stateChanges=new lt.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Gn(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){13!==t.keyCode&&32!==t.keyCode||Kn(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new _c(this,t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(void 0),s.Y36(fc))},t.\u0275dir=s.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),yc=(()=>{class t extends bc{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(lc,8),s.Y36(gc,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),s.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:Ca,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(t,e){1&t&&(s.F$t(),s.YNc(0,ka,1,2,"mat-pseudo-checkbox",0),s.TgZ(1,"span",1),s.Hsn(2),s.qZA(),s.YNc(3,La,2,1,"span",2),s._UZ(4,"div",3)),2&t&&(s.Q6J("ngIf",e.multiple),s.xp6(3),s.Q6J("ngIf",e.group&&e.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[n.O5,rc,cc],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function Ac(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),o=0;for(let e=0;ei+n?Math.max(0,t-n+e):i}let Mc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ac,n.ez,Oa,uc]]}),t})();const vc=["mat-button",""],Tc=["*"],kc=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Lc{constructor(t){this._elementRef=t}}const Cc=Da(Ra(Pa(Lc)));let Sc=(()=>{class t extends Cc{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of kc)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Hs),s.Y36(Aa,8))},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&s.Gf(rc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s.uIk("disabled",e.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:vc,ngContentSelectors:Tc,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(t,e){1&t&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&t&&(s.xp6(2),s.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[rc],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),Ec=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ac,Oa],Oa]}),t})();var zc=i(8470),xc=i(5024);function Oc(t,e,i,n){return(0,xc.m)(i)&&(n=i,i=void 0),n?Oc(t,e,i).pipe((0,wt.U)(t=>(0,zc.k)(t)?n(...t):n(t))):new ft.y(n=>{Rc(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function Rc(t,e,i,n,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),o=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),o=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),o=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,r=t.length;o0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var Nc=i(1098);class Ic extends Nc.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),Hc={};function jc(t){return t in Hc&&(delete Hc[t],!0)}const Fc={setImmediate(t){const e=Bc++;return Hc[e]=!0,Yc.then(()=>jc(e)&&t()),e},clearImmediate(t){jc(t)}};class Wc extends Dc.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=Fc.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(Fc.clearImmediate(e),t.scheduled=void 0)}}class Uc extends Nc.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++ni.lift(new Xc(t,e))}class Xc{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Vc(t,this.compare,this.keySelector))}}class Vc extends Lt.L{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}var $c=i(8569),Jc=i(9829),Qc=i(6268);class tu{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new eu(t,this.durationSelector))}}class eu extends Jc.L{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=(0,Qc.D)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function iu(t){return!(0,zc.k)(t)&&t-parseFloat(t)+1>=0}function nu(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}function su(t,e=$c.P){return i=()=>function(t=0,e,i){let n=-1;return iu(e)?n=Number(e)<1?1:Number(e):(0,Tt.K)(e)&&(i=e),(0,Tt.K)(i)||(i=$c.P),new ft.y(e=>{const s=iu(t)?t:+t-i.now();return i.schedule(nu,s,{index:0,period:n,subscriber:e})})}(t,e),function(t){return t.lift(new tu(i))};var i}function ou(t){return e=>e.lift(new ru(t))}class ru{constructor(t){this.notifier=t}call(t,e){const i=new au(t),n=(0,Qc.D)(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class au extends Jc.L{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class cu extends Dc.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}class uu extends Nc.v{}const lu=new uu(cu);var hu=i(3103);class du extends Lt.L{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(du.dispatch,this.delay,new pu(t,this.destination)))}_next(t){this.scheduleMessage(hu.P.createNext(t))}_error(t){this.scheduleMessage(hu.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(hu.P.createComplete()),this.unsubscribe()}}class pu{constructor(t,e){this.notification=t,this.destination=e}}var fu=i(9291);class gu extends lt.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new mu(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let o;if(this.closed)throw new ht.N;if(this.isStopped||this.hasError?o=Ft.w.EMPTY:(this.observers.push(t),o=new fu.W(this,t)),n&&t.add(t=new du(t,n)),e)for(let r=0;re&&(o=Math.max(o,s-e)),o>0&&n.splice(0,o),n}}class mu{constructor(t,e){this.time=t,this.value=e}}function _u(t,e,i){let n;return n=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:n}){let s,o,r=0,a=!1,c=!1;return function(u){r++,s&&!a||(a=!1,s=new gu(t,e,n),o=u.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){c=!0,o=void 0,s.complete()}}));const l=s.subscribe(this);this.add(()=>{r--,l.unsubscribe(),o&&!c&&i&&0===r&&(o.unsubscribe(),o=void 0,s=void 0)})}}(n))}function bu(t){return t&&"function"==typeof t.connect}class yu{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,o)=>{let r,a;if(null==t.previousIndex){const s=i(t,n,o);r=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==o?(e.remove(n),a=3):(r=e.get(n),e.move(r,o),a=2);s&&s({context:null==r?void 0:r.context,operation:a,record:t})})}detach(){}}class Au{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new lt.xQ,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let wu=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Mu=new s.OlP("_ViewRepeater");let vu=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new lt.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new ft.y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(su(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,ut.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,at.h)(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=Qn(e),n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Oc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(is),s.LFG(n.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(is),s.LFG(n.K0,8))},token:t,providedIn:"root"}),t})(),Tu=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new lt.xQ,this._elementScrolled=new ft.y(t=>this.ngZone.runOutsideAngular(()=>Oc(this.elementRef.nativeElement,"scroll").pipe(ou(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=ds()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==ds()?t.left=t.right:1==ds()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;hs()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==ds()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==ds()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(vu),s.Y36(s.R0b),s.Y36(Ks,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),ku=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new lt.xQ,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(su(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(is),s.LFG(s.R0b),s.LFG(n.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(is),s.LFG(s.R0b),s.LFG(n.K0,8))},token:t,providedIn:"root"}),t})(),Lu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Cu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Zs,ns,Lu],Zs,Lu]}),t})();class Su{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Eu extends Su{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class zu extends Su{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class xu extends Su{constructor(t){super(),this.element=t instanceof s.SBq?t.nativeElement:t}}class Ou{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Eu?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof zu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof xu?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ru extends Ou{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Du=(()=>{class t extends Ou{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new s.vpe,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.qOj]}),t})(),Pu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();var Nu=i(1906);class Iu{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new qu(t,this.predicate,this.inclusive))}}class qu extends Lt.L{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const Bu=hs();class Yu{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Jn(-this._previousScrollPosition.left),t.style.top=Jn(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Bu&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Bu&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class Hu{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ju{enable(){}disable(){}attach(){}}function Fu(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function Wu(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class Uu{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Fu(t,[{width:e,height:i,bottom:i,right:e,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 Ku=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new ju,this.close=t=>new Hu(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new Yu(this._viewportRuler,this._document),this.reposition=t=>new Uu(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(vu),s.LFG(ku),s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(vu),s.LFG(ku),s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})();class Zu{constructor(t){if(this.scrollStrategy=new ju,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Gu{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Xu{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Vu=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),$u=(()=>{class t extends Vu{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})(),Ju=(()=>{class t extends Vu{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(is))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0),s.LFG(is))},token:t,providedIn:"root"}),t})();const Qu="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let tl=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||Qu){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new lt.xQ,this._outsidePointerEvents=new lt.xQ,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,vt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Jn(this._config.width),t.height=Jn(this._config.height),t.minWidth=Jn(this._config.minWidth),t.minHeight=Jn(this._config.minHeight),t.maxWidth=Jn(this._config.maxWidth),t.maxHeight=Jn(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;$n(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ou((0,Nu.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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const il=/([A-Za-z%]+)$/;class nl{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new lt.xQ,this._resizeSubscription=Ft.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(t,o),a=this._getOverlayPoint(r,e,o),c=this._getOverlayFit(a,e,i,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:o,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&sl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=rl(e);let{x:o,y:r}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(o+=a),c&&(r+=c);let u=0-r,l=r+s.height-i.height,h=this._subtractOverflows(s.width,0-o,o+s.width-i.width),d=this._subtractOverflows(s.height,u,l),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,o=ol(this._overlayRef.getConfig().minHeight),r=ol(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=s;return(t.fitsInViewportVertically||null!=o&&o<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=rl(e),s=this._viewportRect,o=Math.max(t.x+n.width-s.width,0),r=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let u=0,l=0;return u=n.width<=s.width?c||-o:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)u=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:o,left:c,bottom:r,right:u,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=Jn(i.height),n.top=Jn(i.top),n.bottom=Jn(i.bottom),n.width=Jn(i.width),n.left=Jn(i.left),n.right=Jn(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=Jn(t)),s&&(n.maxWidth=Jn(s))}this._lastBoundingBoxSize=i,sl(this._boundingBox.style,n)}_resetBoundingBoxStyles(){sl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();sl(i,this._getExactOverlayY(e,t,n)),sl(i,this._getExactOverlayX(e,t,n))}else i.position="static";let r="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),c&&(r+=`translateY(${c}px)`),i.transform=r.trim(),o.maxHeight&&(n?i.maxHeight=Jn(o.maxHeight):s&&(i.maxHeight="")),o.maxWidth&&(n?i.maxWidth=Jn(o.maxWidth):s&&(i.maxWidth="")),sl(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=Jn(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=Jn(o.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Wu(t,i),isOriginOutsideView:Fu(t,i),isOverlayClipped:Wu(e,i),isOverlayOutsideView:Fu(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&$n(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function sl(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function ol(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(il);return i&&"px"!==i?null:parseFloat(e)}return t||null}function rl(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class al{constructor(t,e,i,n,s,o,r){this._preferredPositions=[],this._positionStrategy=new nl(i,n,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new Gu(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class cl{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:o,maxHeight:r}=i,a=!("100%"!==n&&"100vw"!==n||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let ul=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new cl}connectedTo(t,e,i){return new al(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new nl(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ku),s.LFG(n.K0),s.LFG(is),s.LFG(tl))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(ku),s.LFG(n.K0),s.LFG(is),s.LFG(tl))},token:t,providedIn:"root"}),t})(),ll=0,hl=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new Zu(t);return s.direction=s.direction||this._directionality.value,new el(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+ll++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new Ru(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ku),s.LFG(tl),s.LFG(s._Vd),s.LFG(ul),s.LFG($u),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(n.K0),s.LFG(Ks),s.LFG(n.Ye),s.LFG(Ju))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const dl=[{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"}],pl=new s.OlP("cdk-connected-overlay-scroll-strategy");let fl=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),gl=(()=>{class t{constructor(t,e,i,n,o){this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ft.w.EMPTY,this._attachSubscription=Ft.w.EMPTY,this._detachSubscription=Ft.w.EMPTY,this._positionSubscription=Ft.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new zu(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Gn(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Gn(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Gn(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Gn(t)}get push(){return this._push}set push(t){this._push=Gn(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=dl);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27!==t.keyCode||this.disableClose||Kn(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Zu({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new Iu(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hl),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(pl),s.Y36(Ks,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const ml={provide:pl,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let _l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[hl,ml],imports:[[Zs,Pu,Cu],Cu]}),t})();const bl=["underline"],yl=["connectionContainer"],Al=["inputContainer"],wl=["label"];function Ml(t,e){1&t&&(s.ynx(0),s.TgZ(1,"div",14),s._UZ(2,"div",15),s._UZ(3,"div",16),s._UZ(4,"div",17),s.qZA(),s.TgZ(5,"div",18),s._UZ(6,"div",15),s._UZ(7,"div",16),s._UZ(8,"div",17),s.qZA(),s.BQk())}function vl(t,e){1&t&&(s.TgZ(0,"div",19),s.Hsn(1,1),s.qZA())}function Tl(t,e){if(1&t&&(s.ynx(0),s.Hsn(1,2),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.BQk()),2&t){const t=s.oxw(2);s.xp6(3),s.Oqu(t._control.placeholder)}}function kl(t,e){1&t&&s.Hsn(0,3,["*ngSwitchCase","true"])}function Ll(t,e){1&t&&(s.TgZ(0,"span",23),s._uU(1," *"),s.qZA())}function Cl(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"label",20,21),s.NdJ("cdkObserveContent",function(){return s.CHM(t),s.oxw().updateOutlineGap()}),s.YNc(2,Tl,4,1,"ng-container",12),s.YNc(3,kl,1,0,"ng-content",12),s.YNc(4,Ll,2,0,"span",22),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),s.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),s.uIk("for",t._control.id)("aria-owns",t._control.id),s.xp6(2),s.Q6J("ngSwitchCase",!1),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function Sl(t,e){1&t&&(s.TgZ(0,"div",24),s.Hsn(1,4),s.qZA())}function El(t,e){if(1&t&&(s.TgZ(0,"div",25,26),s._UZ(2,"span",27),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function zl(t,e){if(1&t&&(s.TgZ(0,"div"),s.Hsn(1,5),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState)}}function xl(t,e){if(1&t&&(s.TgZ(0,"div",31),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.Q6J("id",t._hintLabelId),s.xp6(1),s.Oqu(t.hintLabel)}}function Ol(t,e){if(1&t&&(s.TgZ(0,"div",28),s.YNc(1,xl,2,2,"div",29),s.Hsn(2,6),s._UZ(3,"div",30),s.Hsn(4,7),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",t.hintLabel)}}const Rl=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Dl=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Pl=0;const Nl=new s.OlP("MatError");let Il=(()=>{class t{constructor(t,e){this.id="mat-error-"+Pl++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(s.$8M("aria-live"),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&s.uIk("id",e.id)},inputs:{id:"id"},features:[s._Bn([{provide:Nl,useExisting:t}])]}),t})();const ql={transitionMessages:Vs("transitionMessages",[eo("enter",to({opacity:1,transform:"translateY(0%)"})),no("void => enter",[to({opacity:0,transform:"translateY(-5px)"}),$s("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Bl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})(),Yl=0;const Hl=new s.OlP("MatHint");let jl=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+Yl++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(s.uIk("id",e.id)("align",null),s.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[s._Bn([{provide:Hl,useExisting:t}])]}),t})(),Fl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-label"]]}),t})(),Wl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const Ul=new s.OlP("MatPrefix"),Kl=new s.OlP("MatSuffix");let Zl=0;class Gl{constructor(t){this._elementRef=t}}const Xl=Da(Gl,"primary"),Vl=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),$l=new s.OlP("MatFormField");let Jl=(()=>{class t extends Xl{constructor(t,e,i,n,s,o,r,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new lt.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Zl++,this._labelId="mat-form-field-label-"+Zl++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Gn(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(kt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ou(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ou(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Nu.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(kt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(kt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ou(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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,Oc(this._label.nativeElement,"transitionend").pipe((0,vt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),o=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=t.children,a=this._getStartEnd(r[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,Oa,bs],Oa]}),t})();var th=i(2056);function eh(...t){if(1===t.length){const e=t[0];if((0,zc.k)(e))return ih(e,null);if((0,th.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return ih(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return ih(t=1===t.length&&(0,zc.k)(t[0])?t[0]:t,null).pipe((0,wt.U)(t=>e(...t)))}return ih(t,null)}function ih(t,e){return new ft.y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let o=0,r=0;for(let a=0;a{u||(u=!0,r++),s[a]=t},error:t=>i.error(t),complete:()=>{o++,o!==n&&u||(r===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}let nh=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t}),t})(),sh=(()=>{class t extends nh{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const oh=new s.OlP("NgValueAccessor"),rh={provide:oh,useExisting:(0,s.Gpc)(()=>ch),multi:!0},ah=new s.OlP("CompositionEventMode");let ch=(()=>{class t extends nh{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,n.q)()?(0,n.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(ah,8))},t.\u0275dir=s.lG2({type:t,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(t,e){1&t&&s.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[s._Bn([rh]),s.qOj]}),t})();function uh(t){return null==t||0===t.length}function lh(t){return null!=t&&"number"==typeof t.length}const hh=new s.OlP("NgValidators"),dh=new s.OlP("NgAsyncValidators"),ph=/^(?=.{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 fh{static min(t){return function(t){return e=>{if(uh(e.value)||uh(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(uh(e.value)||uh(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return gh(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return uh(t.value)||ph.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>uh(e.value)||!lh(e.value)?null:e.value.lengthlh(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return mh;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(uh(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}(t)}static nullValidator(t){return null}static compose(t){return Mh(t)}static composeAsync(t){return Th(t)}}function gh(t){return uh(t.value)?{required:!0}:null}function mh(t){return null}function _h(t){return null!=t}function bh(t){const e=(0,s.QGY)(t)?(0,ct.D)(t):t;return(0,s.CqO)(e),e}function yh(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Ah(t,e){return e.map(e=>e(t))}function wh(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Mh(t){if(!t)return null;const e=t.filter(_h);return 0==e.length?null:function(t){return yh(Ah(t,e))}}function vh(t){return null!=t?Mh(wh(t)):null}function Th(t){if(!t)return null;const e=t.filter(_h);return 0==e.length?null:function(t){return eh(Ah(t,e).map(bh)).pipe((0,wt.U)(yh))}}function kh(t){return null!=t?Th(wh(t)):null}function Lh(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ch(t){return t._rawValidators}function Sh(t){return t._rawAsyncValidators}let Eh=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=vh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=kh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})(),zh=(()=>{class t extends Eh{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();class xh extends Eh{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Oh{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let Rh=(()=>{class t extends Oh{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(xh,2))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[s.qOj]}),t})(),Dh=(()=>{class t extends Oh{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(zh,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&s.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[s.qOj]}),t})();function Ph(t,e){return[...e.path,t]}function Nh(t,e){Bh(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Hh(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Hh(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function Ih(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Yh(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function qh(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Bh(t,e){const i=Ch(t);null!==e.validator?t.setValidators(Lh(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=Sh(t);null!==e.asyncValidator?t.setAsyncValidators(Lh(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();qh(e._rawValidators,s),qh(e._rawAsyncValidators,s)}function Yh(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=Ch(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=Sh(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return qh(e._rawValidators,n),qh(e._rawAsyncValidators,n),i}function Hh(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function jh(t,e){Bh(t,e)}function Fh(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Wh(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Uh(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===ch?i=t:Object.getPrototypeOf(t.constructor)===sh?n=t:s=t}),s||n||i||null}function Kh(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function Zh(t){return($h(t)?t.validators:t)||null}function Gh(t){return Array.isArray(t)?vh(t):t||null}function Xh(t,e){return($h(e)?e.asyncValidators:t)||null}function Vh(t){return Array.isArray(t)?kh(t):t||null}function $h(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Jh{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Gh(this._rawValidators),this._composedAsyncValidatorFn=Vh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Gh(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Vh(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=bh(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof td?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof ed&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){$h(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Qh extends Jh{constructor(t=null,e,i){super(Zh(e),Xh(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Kh(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Kh(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class td extends Jh{constructor(t,e,i){super(Zh(e),Xh(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof Qh?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class ed extends Jh{constructor(t,e,i){super(Zh(e),Xh(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Qh?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const id={provide:zh,useExisting:(0,s.Gpc)(()=>sd)},nd=(()=>Promise.resolve(null))();let sd=(()=>{class t extends zh{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new s.vpe,this.form=new td({},vh(t),kh(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){nd.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Nh(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){nd.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Kh(this._directives,t)})}addFormGroup(t){nd.then(()=>{const e=this._findContainer(t.path),i=new td({});jh(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){nd.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){nd.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Wh(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hh,10),s.Y36(dh,10))},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([id]),s.qOj]}),t})();const od={provide:xh,useExisting:(0,s.Gpc)(()=>ad)},rd=(()=>Promise.resolve(null))();let ad=(()=>{class t extends xh{constructor(t,e,i,n){super(),this.control=new Qh,this._registered=!1,this.update=new s.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Uh(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Fh(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ph(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){Nh(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(t){rd.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;rd.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(zh,9),s.Y36(hh,10),s.Y36(dh,10),s.Y36(oh,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[s._Bn([od]),s.qOj,s.TTD]}),t})(),cd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const ud={provide:oh,useExisting:(0,s.Gpc)(()=>ld),multi:!0};let ld=(()=>{class t extends sh{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&s.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[s._Bn([ud]),s.qOj]}),t})(),hd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const dd=new s.OlP("NgModelWithFormControlWarning"),pd={provide:xh,useExisting:(0,s.Gpc)(()=>fd)};let fd=(()=>{class t extends xh{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new s.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=Uh(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&Ih(e,this,!1),Nh(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Fh(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ih(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hh,10),s.Y36(dh,10),s.Y36(oh,10),s.Y36(dd,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s._Bn([pd]),s.qOj,s.TTD]}),t._ngModelWarningSentOnce=!1,t})();const gd={provide:zh,useExisting:(0,s.Gpc)(()=>md)};let md=(()=>{class t extends zh{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Nh(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Ih(t.control||null,t,!1),Kh(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Wh(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(Ih(e||null,t),i instanceof Qh&&(Nh(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);jh(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Yh(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bh(this.form,this),this._oldForm&&Yh(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hh,10),s.Y36(dh,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([gd]),s.qOj,s.TTD]}),t})();const _d={provide:xh,useExisting:(0,s.Gpc)(()=>bd)};let bd=(()=>{class t extends xh{constructor(t,e,i,n,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Uh(0,n)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),Fh(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ph(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 t.\u0275fac=function(e){return new(e||t)(s.Y36(zh,13),s.Y36(hh,10),s.Y36(dh,10),s.Y36(oh,10),s.Y36(dd,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([_d]),s.qOj,s.TTD]}),t._ngModelWarningSentOnce=!1,t})();const yd={provide:hh,useExisting:(0,s.Gpc)(()=>Ad),multi:!0};let Ad=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?gh(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&s.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[s._Bn([yd])]}),t})(),wd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[hd]]}),t})(),Md=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[wd]}),t})(),vd=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:dd,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[wd]}),t})(),Td=(()=>{class t{group(t,e=null){const i=this._reduceControls(t);let n,s=null,o=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,n=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new td(i,{asyncValidators:o,updateOn:n,validators:s})}control(t,e,i){return new Qh(t,e,i)}array(t,e,i){const n=t.map(t=>this._createControl(t));return new ed(n,e,i)}_reduceControls(t){const e={};return Object.keys(t).forEach(i=>{e[i]=this._createControl(t[i])}),e}_createControl(t){return t instanceof Qh||t instanceof td||t instanceof ed?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:vd}),t})();const kd=["trigger"],Ld=["panel"];function Cd(t,e){if(1&t&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.placeholder)}}function Sd(t,e){if(1&t&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.triggerValue)}}function Ed(t,e){1&t&&s.Hsn(0,0,["*ngSwitchCase","true"])}function zd(t,e){if(1&t&&(s.TgZ(0,"span",9),s.YNc(1,Sd,2,1,"span",10),s.YNc(2,Ed,1,0,"ng-content",11),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngSwitch",!!t.customTrigger),s.xp6(2),s.Q6J("ngSwitchCase",!0)}}function xd(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"div",14,15),s.NdJ("@transformPanel.done",function(e){return s.CHM(t),s.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)}),s.Hsn(3,1),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("@transformPanelWrap",void 0),s.xp6(1),s.Gre("mat-select-panel ",t._getPanelTheme(),""),s.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),s.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),s.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const Od=[[["mat-select-trigger"]],"*"],Rd=["mat-select-trigger","*"],Dd={transformPanelWrap:Vs("transformPanelWrap",[no("* => void",oo("@transformPanel",[so()],{optional:!0}))]),transformPanel:Vs("transformPanel",[eo("void",to({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),eo("showing",to({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),eo("showing-multiple",to({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),no("void => *",$s("120ms cubic-bezier(0, 0, 0.2, 1)")),no("* => void",$s("100ms 25ms linear",to({opacity:0})))])};let Pd=0;const Nd=new s.OlP("mat-select-scroll-strategy"),Id=new s.OlP("MAT_SELECT_CONFIG"),qd={provide:Nd,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Bd{constructor(t,e){this.source=t,this.value=e}}class Yd{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const Hd=Pa(Na(Ra(Ia(Yd)))),jd=new s.OlP("MatSelectTrigger");let Fd=(()=>{class t extends Hd{constructor(t,e,i,n,o,r,a,c,u,l,h,d,p,f){var g,m,_;super(o,n,a,c,l),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=u,this.ngControl=l,this._liveAnnouncer=p,this._defaultOptions=f,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+Pd++,this._triggerAriaLabelledBy=null,this._destroy=new lt.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Pd++,this._panelDoneAnimatingStream=new lt.xQ,this._overlayPanelClass=(null===(g=this._defaultOptions)||void 0===g?void 0:g.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(_=null===(m=this._defaultOptions)||void 0===m?void 0:m.disableOptionCentering)&&void 0!==_&&_,this.ariaLabel="",this.optionSelectionChanges=yt(()=>{const t=this.options;return t?t.changes.pipe(kt(t),(0,Mt.w)(()=>(0,Nu.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,vt.q)(1),(0,Mt.w)(()=>this.optionSelectionChanges))}),this.openedChange=new s.vpe,this._openedStream=this.openedChange.pipe((0,at.h)(t=>t),(0,wt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,at.h)(t=>!t),(0,wt.U)(()=>{})),this.selectionChange=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==f?void 0:f.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=f.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Gn(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=Gn(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Gn(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Xn(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Au(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gc(),ou(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ou(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(kt(null),ou(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=40===e||38===e||37===e||39===e,n=13===e||32===e,s=this._keyManager;if(!s.isTyping()&&n&&!Kn(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=40===i||38===i,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||13!==i&&32!==i||!e.activeItem||Kn(t))if(!s&&this._multiple&&65===i&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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,vt.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new Cs(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ou(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ou(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 t=(0,Nu.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ou(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Nu.T)(...this.options.map(t=>t._stateChanges)).pipe(ou(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(ku),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(Xa),s.Y36(s.SBq),s.Y36(Ks,8),s.Y36(sd,8),s.Y36(md,8),s.Y36($l,8),s.Y36(xh,10),s.$8M("tabindex"),s.Y36(Nd),s.Y36(Ns),s.Y36(Id,8))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&(s.Gf(kd,5),s.Gf(Ld,5),s.Gf(gl,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.trigger=t.first),s.iGM(t=s.CRH())&&(e.panel=t.first),s.iGM(t=s.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[s.qOj,s.TTD]}),t})(),Wd=(()=>{class t extends Fd{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ou(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,vt.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=Ac(t,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=wc((t+e)*i,i,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Bd(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const o=0-(t.left+s-(i?n:0)),r=t.right+s-e.width+(i?0:n);o>0?s+=o+8:r>0&&(s-=r+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,o=Math.floor(256/n);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-o))*n+(n-(this._getItemCount()*n-256)%n):e-n/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>n?this._adjustPanelDown(o,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=Ac(s,this.options,this.optionGroups);const o=i/2;this._scrollTop=this._calculateOverlayScroll(s,o,n),this._offsetY=this._calculateOverlayOffsetY(s,o,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,jd,5),s.Suo(i,yc,5),s.Suo(i,gc,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.customTrigger=t.first),s.iGM(t=s.CRH())&&(e.options=t),s.iGM(t=s.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(s.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),s.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[s._Bn([{provide:Bl,useExisting:t},{provide:lc,useExisting:t}]),s.qOj],ngContentSelectors:Rd,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(t,e){if(1&t&&(s.F$t(Od),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return e.toggle()}),s.TgZ(3,"div",2),s.YNc(4,Cd,2,1,"span",3),s.YNc(5,zd,3,2,"span",4),s.qZA(),s.TgZ(6,"div",5),s._UZ(7,"div",6),s.qZA(),s.qZA(),s.YNc(8,xd,4,14,"ng-template",7),s.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=s.MAs(1);s.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),s.xp6(3),s.Q6J("ngSwitch",e.empty),s.uIk("id",e._valueId),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1),s.xp6(3),s.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[fl,n.RF,n.n9,gl,n.ED,n.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[Dd.transformPanelWrap,Dd.transformPanel]},changeDetection:0}),t})(),Ud=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[qd],imports:[[n.ez,_l,Mc,Oa],Lu,Ql,Mc,Oa]}),t})();class Kd{constructor(t){this.total=t}call(t,e){return e.subscribe(new Zd(t,this.total))}}class Zd extends Lt.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const Gd=new Set;let Xd,Vd=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$d}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!Gd.has(t))try{Xd||(Xd=document.createElement("style"),Xd.setAttribute("type","text/css"),document.head.appendChild(Xd)),Xd.sheet&&(Xd.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),Gd.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(is))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(is))},token:t,providedIn:"root"}),t})();function $d(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Jd=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new lt.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Qd($n(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=Qd($n(t)).map(t=>this._registerQuery(t).observable);let i=(0,pt.aj)(e);return i=_t(i.pipe((0,vt.q)(1)),i.pipe(t=>t.lift(new Kd(1)),(0,Zn.b)(0))),i.pipe((0,wt.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new ft.y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe(kt(e),(0,wt.U)(({matches:e})=>({query:t,matches:e})),ou(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Vd),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(Vd),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})();function Qd(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const tp={tooltipState:Vs("state",[eo("initial, void, hidden",to({opacity:0,transform:"scale(0)"})),eo("visible",to({transform:"scale(1)"})),no("* => visible",$s("200ms cubic-bezier(0, 0, 0.2, 1)",io([to({opacity:0,transform:"scale(0)",offset:0}),to({opacity:.5,transform:"scale(0.99)",offset:.5}),to({opacity:1,transform:"scale(1)",offset:1})]))),no("* => hidden",$s("100ms cubic-bezier(0, 0, 0.2, 1)",to({opacity:0})))])},ep=ls({passive:!0}),ip=new s.OlP("mat-tooltip-scroll-strategy"),np={provide:ip,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},sp=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let op=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,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 lt.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&27===t.keyCode&&!Kn(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=h,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(ou(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Gn(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ou(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,ep)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new Eu(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ou(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe(ou(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ou(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,vt.q)(1),ou(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,ep)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hl),s.Y36(s.SBq),s.Y36(vu),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(is),s.Y36(vs),s.Y36(Hs),s.Y36(void 0),s.Y36(Ks),s.Y36(void 0),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),rp=(()=>{class t extends op{constructor(t,e,i,n,s,o,r,a,c,u,l,h){super(t,e,i,n,s,o,r,a,c,u,l,h),this._tooltipComponent=cp}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hl),s.Y36(s.SBq),s.Y36(vu),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(is),s.Y36(vs),s.Y36(Hs),s.Y36(ip),s.Y36(Ks,8),s.Y36(sp,8),s.Y36(n.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),t})(),ap=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new lt.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t}),t})(),cp=(()=>{class t extends ap{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(Jd))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleBodyInteraction()},!1,s.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,s.pYS),2&t&&s.Udp("zoom","visible"===e._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&t){let t;s.ekj("mat-tooltip-handset",null==(t=s.lcZ(1,5,e._isHandset))?null:t.matches),s.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),s.xp6(2),s.Oqu(e.message)}},directives:[n.mk],pipes:[n.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[tp.tooltipState]},changeDetection:0}),t})(),up=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[np],imports:[[Ws,n.ez,_l,Oa],Oa,Lu]}),t})();function lp(t,e){if(1&t&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function hp(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",16),s.TgZ(1,"mat-select",17),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw(2)._changePageSize(e.value)}),s.YNc(2,lp,2,2,"mat-option",18),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("appearance",t._formFieldAppearance)("color",t.color),s.xp6(1),s.Q6J("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",t._displayedPageSizeOptions)}}function dp(t,e){if(1&t&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.pageSize)}}function pp(t,e){if(1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,hp,3,6,"mat-form-field",14),s.YNc(4,dp,2,1,"div",15),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function fp(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(t),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.uIk("aria-label",t._intl.firstPageLabel)}}function gp(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.uIk("aria-label",t._intl.lastPageLabel)}}let mp=(()=>{class t{constructor(){this.changes=new lt.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const _p={provide:mp,deps:[[new s.FiY,new s.tp0,mp]],useFactory:function(t){return t||new mp}},bp=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS");class yp{}const Ap=Ra(qa(yp));let wp=(()=>{class t extends Ap{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Xn(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Xn(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Xn(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Xn(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Gn(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Gn(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mp),s.Y36(s.sBO),s.Y36(void 0))},t.\u0275dir=s.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[s.qOj]}),t})(),Mp=(()=>{class t extends wp{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(mp),s.Y36(s.sBO),s.Y36(bp,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,pp,5,3,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,fp,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return e.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA(),s.qZA(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return e.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA(),s.qZA(),s.YNc(13,gp,3,5,"button",11),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hidePageSize),s.xp6(3),s.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.xp6(1),s.Q6J("ngIf",e.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.uIk("aria-label",e._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.uIk("aria-label",e._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",e.showFirstLastButtons))},directives:[n.O5,Sc,rp,Jl,Wd,n.sg,yc],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)}\n"],encapsulation:2,changeDetection:0}),t})(),vp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[_p],imports:[[n.ez,Ec,Ud,up,Oa]]}),t})();var Tp=i(509);const kp=["mat-menu-item",""],Lp=["*"];function Cp(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.NdJ("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)})("click",function(){return s.CHM(t),s.oxw().closed.emit("click")})("@transformMenu.start",function(e){return s.CHM(t),s.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return s.CHM(t),s.oxw()._onAnimationDone(e)}),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),s.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Sp={transformMenu:Vs("transformMenu",[eo("void",to({opacity:0,transform:"scale(0.8)"})),no("void => enter",$s("120ms cubic-bezier(0, 0, 0.2, 1)",to({opacity:1,transform:"scale(1)"}))),no("* => void",$s("100ms 25ms linear",to({opacity:0})))]),fadeInItems:Vs("fadeInItems",[eo("showing",to({opacity:1})),no("void => *",[to({opacity:0}),$s("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ep=new s.OlP("MatMenuContent"),zp=new s.OlP("MAT_MENU_PANEL");class xp{}const Op=Pa(Ra(xp));let Rp=(()=>{class t extends Op{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new lt.xQ,this._focused=new lt.xQ,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new s.n_E,this._tabSubscription=Ft.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new lt.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new s.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Pp++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Gn(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Gn(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ss(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(kt(this._directDescendantItems),(0,Mt.w)(t=>(0,Nu.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(kt(this._directDescendantItems),(0,Mt.w)(t=>(0,Nu.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case 27:Kn(t)||(t.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:38!==e&&40!==e||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,vt.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(kt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Dp))},t.\u0275dir=s.lG2({type:t,contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Ep,5),s.Suo(i,Rp,5),s.Suo(i,Rp,4)),2&t){let t;s.iGM(t=s.CRH())&&(e.lazyContent=t.first),s.iGM(t=s.CRH())&&(e._allItems=t),s.iGM(t=s.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),Ip=(()=>{class t extends Np{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Dp))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&s.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[s._Bn([{provide:zp,useExisting:t}]),s.qOj],ngContentSelectors:Lp,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Cp,3,6,"ng-template"))},directives:[n.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[Sp.transformMenu,Sp.fadeInItems]},changeDetection:0}),t})();const qp=new s.OlP("mat-menu-scroll-strategy"),Bp={provide:qp,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},Yp=ls({passive:!0});let Hp=(()=>{class t{constructor(t,e,i,n,o,r,a,c){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=r,this._dir=a,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ft.w.EMPTY,this._hoverSubscription=Ft.w.EMPTY,this._menuCloseSubscription=Ft.w.EMPTY,this._handleTouchStart=t=>{qs(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new s.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=o instanceof Np?o:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Yp),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,Yp),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Np&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof Np?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,at.h)(t=>"void"===t.toState),(0,vt.q)(1),ou(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Zu({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[n,s],[a,c]=[e,i],u=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",u="bottom"===n?8:-8):this.menu.overlapTrigger||(o="top"===n?"bottom":"top",r="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:o,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:o,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:r,overlayX:a,overlayY:s,offsetY:-u},{originX:i,originY:r,overlayX:c,overlayY:s,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ut.of)(),n=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,at.h)(t=>t!==this._menuItemInstance),(0,at.h)(()=>this._menuOpen)):(0,ut.of)();return(0,Nu.T)(t,i,n,e)}_handleMousedown(t){Is(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;13!==e&&32!==e||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,at.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,Tp.g)(0,Kc)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Np&&this.menu._isAnimating?this.menu._animationDone.pipe((0,vt.q)(1),(0,Tp.g)(0,Kc),ou(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new zu(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hl),s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(qp),s.Y36(zp,8),s.Y36(Rp,10),s.Y36(Ks,8),s.Y36(Hs))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&s.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),jp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Bp],imports:[Oa]}),t})(),Fp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Bp],imports:[[n.ez,Oa,ac,_l,jp],Lu,Oa,jp]}),t})();var Wp=i(1225),Up=i(1055);const Kp=["*"];function Zp(t){return Error(`Unable to find icon with the name "${t}"`)}function Gp(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Xp(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Vp{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let $p=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new Vp(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,n){const o=this._sanitizer.sanitize(s.q3G.HTML,i);if(!o)throw Xp(i);return this._addSvgIconConfig(t,e,new Vp("",o,n))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new Vp(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(s.q3G.HTML,e);if(!n)throw Xp(e);return this._addSvgIconSetConfig(t,new Vp("",n,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,t);if(!e)throw Gp(t);const i=this._cachedIconsByUrl.get(e);return i?(0,ut.of)(Jp(i)):this._loadSvgIconFromConfig(new Vp(t,null)).pipe((0,Ht.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,wt.U)(t=>Jp(t)))}getNamedSvgIcon(t,e=""){const i=Qp(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,Wp._)(Zp(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,ut.of)(Jp(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,wt.U)(t=>Jp(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?(0,ut.of)(i):eh(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,zt.K)(e=>{const i=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),(0,ut.of)(null)})))).pipe((0,wt.U)(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw Zp(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,Ht.b)(e=>t.svgText=e),(0,wt.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,ut.of)(null):this._fetchIcon(t).pipe((0,Ht.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const o=this._svgElementFromString("");return o.appendChild(s),this._setSvgAttributes(o,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),(0,Up.B)());return this._inProgressUrlFetches.set(r,c),c}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(Qp(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),sf=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],of=sf.map(t=>`[${t}]`).join(", "),rf=/^url\(['"]?#(.*?)['"]?\)$/;let af=(()=>{class t extends ef{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=Ft.w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Gn(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(of),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],o=s.getAttribute(t),r=o?o.match(rf):null;if(r){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:r[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe((0,vt.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36($p),s.$8M("aria-hidden"),s.Y36(nf),s.Y36(s.qLn))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),s.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.qOj],ngContentSelectors:Kp,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[".mat-icon{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}),t})(),cf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa],Oa]}),t})();class uf{}let lf=(()=>{class t extends uf{getTranslation(t){return(0,ut.of)({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class hf{}let df=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function pf(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!pf(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{gf(e[n])?n in t?i[n]=mf(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class _f{}let bf=(()=>{class t extends _f{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!ff(t)||!ff(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return ff(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class yf{}let Af=(()=>{class t extends yf{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class wf{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new s.vpe,this.onLangChange=new s.vpe,this.onDefaultLangChange=new s.vpe}}const Mf=new s.OlP("USE_STORE"),vf=new s.OlP("USE_DEFAULT_LANG"),Tf=new s.OlP("DEFAULT_LANGUAGE"),kf=new s.OlP("USE_EXTEND");let Lf=(()=>{class t{constructor(t,e,i,n,o,r=!0,a=!1,c=!1,u){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=n,this.missingTranslationHandler=o,this.useDefaultLang=r,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new s.vpe,this._onLangChange=new s.vpe,this._onDefaultLangChange=new s.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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,vt.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,ut.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,vt.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,ut.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(_u(1),(0,vt.q)(1));return this.loadingTranslations=e.pipe((0,wt.U)(e=>this.compiler.compileTranslations(e,t)),_u(1),(0,vt.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?mf(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},s=!1;for(let o of e)n[o]=this.getParsedResult(t,o,i),Zc(n[o])&&(s=!0);return s?eh(e.map(t=>Zc(n[t])?n[t]:(0,ut.of)(n[t]))).pipe((0,wt.U)(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i})):n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!ff(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,xt.b)(i=>Zc(i=this.getParsedResult(i,t,e))?i:(0,ut.of)(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return Zc(i)?i:(0,ut.of)(i)}}getStreamOnTranslationChange(t,e){if(!ff(t)||!t.length)throw new Error('Parameter "key" required');return _t(yt(()=>this.get(t,e)),this.onTranslationChange.pipe((0,Mt.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:(0,ut.of)(n)})))}stream(t,e){if(!ff(t)||!t.length)throw new Error('Parameter "key" required');return _t(yt(()=>this.get(t,e)),this.onLangChange.pipe((0,Mt.w)(i=>{const n=this.getParsedResult(i.translations,t,e);return Zc(n)?n:(0,ut.of)(n)})))}instant(t,e){if(!ff(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(Zc(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(wf),s.LFG(uf),s.LFG(yf),s.LFG(_f),s.LFG(hf),s.LFG(vf),s.LFG(Mf),s.LFG(kf),s.LFG(Tf))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Cf=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);Zc(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(pf(t,this.lastKey)&&pf(e,this.lastParams))return this.value;let i;if(ff(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Lf,16),s.Y36(s.sBO,16))},t.\u0275pipe=s.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Sf=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:uf,useClass:lf},e.compiler||{provide:yf,useClass:Af},e.parser||{provide:_f,useClass:bf},e.missingTranslationHandler||{provide:hf,useClass:df},wf,{provide:Mf,useValue:e.isolate},{provide:vf,useValue:e.useDefaultLang},{provide:kf,useValue:e.extend},{provide:Tf,useValue:e.defaultLanguage},Lf]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:uf,useClass:lf},e.compiler||{provide:yf,useClass:Af},e.parser||{provide:_f,useClass:bf},e.missingTranslationHandler||{provide:hf,useClass:df},{provide:Mf,useValue:e.isolate},{provide:vf,useValue:e.useDefaultLang},{provide:kf,useValue:e.extend},{provide:Tf,useValue:e.defaultLanguage},Lf]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Ef=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[],imports:[[vp,Fp,cf,Ec,Sf,n.ez]]}),t})();function zf(t,e){}class xf{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const Of={dialogContainer:Vs("dialogContainer",[eo("void, exit",to({opacity:0,transform:"scale(0.7)"})),eo("enter",to({transform:"none"})),no("* => enter",$s("150ms cubic-bezier(0, 0, 0.2, 1)",to({transform:"none",opacity:1}))),no("* => void, * => exit",$s("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",to({opacity:0})))])};let Rf=(()=>{class t extends Ou{constructor(t,e,i,n,o,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=o,this._focusMonitor=r,this._animationStateChanged=new s.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=o.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=fs(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=fs())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=fs();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Rs),s.Y36(s.sBO),s.Y36(n.K0,8),s.Y36(xf),s.Y36(Hs))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&s.Gf(Du,7),2&t){let t;s.iGM(t=s.CRH())&&(e._portalOutlet=t.first)}},features:[s.qOj]}),t})(),Df=(()=>{class t extends Rf{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&s.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(s.Ikx("id",e._id),s.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),s.d8E("@dialogContainer",e._state))},features:[s.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.YNc(0,zf,0,0,"ng-template",0)},directives:[Du],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:[Of.dialogContainer]}}),t})(),Pf=0;class Nf{constructor(t,e,i="mat-dialog-"+Pf++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new lt.xQ,this._afterClosed=new lt.xQ,this._beforeClosed=new lt.xQ,this._state=0,e._id=i,e._animationStateChanged.pipe((0,at.h)(t=>"opened"===t.state),(0,vt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,at.h)(t=>"closed"===t.state),(0,vt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,at.h)(t=>27===t.keyCode&&!this.disableClose&&!Kn(t))).subscribe(t=>{t.preventDefault(),If(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():If(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,at.h)(t=>"closing"===t.state),(0,vt.q)(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function If(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const qf=new s.OlP("MatDialogData"),Bf=new s.OlP("mat-dialog-default-options"),Yf=new s.OlP("mat-dialog-scroll-strategy"),Hf={provide:Yf,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.block()}};let jf=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new lt.xQ,this._afterOpenedAtThisLevel=new lt.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=yt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(kt(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new xf)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Zu({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=s.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:xf,useValue:e}]}),n=new Eu(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const o=new this._dialogRefConstructor(i,e,n.id);if(t instanceof s.Rgc)e.attachTemplatePortal(new zu(t,null,{$implicit:n.data,dialogRef:o}));else{const i=this._createInjector(n,o,e),s=e.attachComponentPortal(new Eu(t,n.viewContainerRef,i));o.componentInstance=s.instance}return o.updateSize(n.width,n.height).updatePosition(n.position),o}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,o=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(Ks,null,s.XFs.Optional)||o.push({provide:Ks,useValue:{value:t.direction,change:(0,ut.of)()}}),s.zs3.create({parent:n||this._injector,providers:o})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(hl),s.Y36(s.zs3),s.Y36(void 0),s.Y36(void 0),s.Y36(tl),s.Y36(void 0),s.Y36(s.DyG),s.Y36(s.DyG),s.Y36(s.OlP))},t.\u0275dir=s.lG2({type:t}),t})(),Ff=(()=>{class t extends jf{constructor(t,e,i,n,s,o,r){super(t,e,n,o,r,s,Nf,Df,qf)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(hl),s.LFG(s.zs3),s.LFG(n.Ye,8),s.LFG(Bf,8),s.LFG(Yf),s.LFG(t,12),s.LFG(tl))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Wf=0,Uf=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+Wf++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf,8),s.Y36(s.SBq),s.Y36(Ff))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Kf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),Zf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),Gf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Ff,Hf],imports:[[_l,Pu,Oa],Oa]}),t})();var Xf=i(2051);const Vf=[5,10,25,100];function $f(){const t=new xf;return t.disableClose=!0,t.autoFocus=!1,t}function Jf(t){return"virt"===t.namespace.split(":")[4]}const Qf=new Intl.Collator("cs",{numeric:!0});function tg(t,e,i,n){const s=e.active,o=e.direction;return s&&""!==o?t.sort((t,e)=>{const r=i(t,s,n),a=i(e,s,n);return Qf.compare(r,a)*("asc"===o?1:-1)}):t}function eg(t,e,i,n,s,o){e=e.toLowerCase();let r="";return i.forEach(e=>{r+=";"+n(t,e,s)}),o&&(r+=";"+n(t,"uuid",s)),-1!==r.toLowerCase().indexOf(e)}function ig(t,e,i,n){const s=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!o.includes(t)),t.forEach(t=>{const o={};e.forEach(e=>{var s;o[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(o)}),s}function ng(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),o=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));o.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=o.join("\r\n"),a=new Blob([r],{type:"text/csv"});(0,Xf.saveAs)(a,`${i}.${e}`)}}}let sg=(()=>{class t{constructor(){this.exportData=new s.vpe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"button",1),s.TgZ(2,"mat-icon"),s._uU(3,"more_vert"),s.qZA(),s.qZA(),s.TgZ(4,"mat-menu",null,2),s.TgZ(6,"button",3),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.qZA(),s.TgZ(9,"mat-menu",null,4),s.TgZ(11,"button",5),s.NdJ("click",function(){return e.exportData.emit("csv")}),s._uU(12,"Csv"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(5),e=s.MAs(10);s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(5),s.Q6J("matMenuTriggerFor",e),s.xp6(1),s.hij(" ",s.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Sc,Hp,af,Ip,Rp],pipes:[Cf],styles:[""]}),t})();function og(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-table-options",6),s.NdJ("exportData",function(e){return s.CHM(t),s.oxw().exportData.emit(e)}),s.qZA()}}const rg=["*"];let ag=(()=>{class t{constructor(){this.hideExport=!1,this.page=new s.vpe,this.pageSizeOptions=Vf,this.pageSize=5,this.dataLength=0,this.exportData=new s.vpe}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&s.Gf(Mp,7),2&t){let t;s.iGM(t=s.CRH())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:rg,decls:7,vars:8,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(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"mat-paginator",2),s.NdJ("page",function(t){return e.page.emit(t)}),s.qZA(),s.YNc(3,og,1,0,"perun-web-apps-table-options",3),s.qZA(),s.TgZ(4,"div",4),s.Hsn(5),s.qZA(),s.TgZ(6,"mat-paginator",5),s.NdJ("page",function(t){return e.pageChanged(t)}),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("ngIf",!e.hideExport),s.xp6(3),s.Q6J("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[Mp,n.O5,sg],styles:[""]}),t})();class cg{static passwordMatchValidator(t){t.get("passwordCtrl").value!==t.get("passwordAgainCtrl").value&&t.get("passwordAgainCtrl").setErrors({noPasswordMatch:!0})}static patternValidator(t){return e=>{if(!e.value)return null;let i=0;for(const n of t)i+=n.test(e.value)?1:0;return i>=3?null:{isWeak:!0}}}}let ug=(()=>{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"div",2),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return e.close()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),s.xp6(3),s.hij(" ",s.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),s.xp6(5),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Uf,Kf,Zf,Sc],pipes:[Cf],styles:[""]}),t})(),lg=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n,s){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.oauthService=s,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Mn),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientConfig(){const t=this.setIdpFilter();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"),useSilentRefresh:!1,customQueryParams:t?{acr_values:t}:{}}}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}startIdpFilterKeeper(){this.router.events.pipe((0,at.h)(t=>t instanceof Xt)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig()),this.oauthService.events.pipe((0,at.h)(t=>"token_expires"===t.type)).subscribe(()=>{const t=$f();t.width="450px",this.dialog.open(ug,t).afterClosed().subscribe(()=>{this.startAuthentication()})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):this.oauthService.logOut()}isLoggedInPromise(){return this.isLoggedIn()?Promise.resolve(!0):Promise.resolve(!1)}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}verifyAuthentication(t,e){return this.isLoggedInPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3),s.LFG(lg),s.LFG(Ff),s.LFG(Qe),s.LFG(hg.Ct))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pg=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(s.TgZ(0,"h2",0),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[Kf],pipes:[Cf],styles:[""]}),t})(),fg=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=o,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=$f();this.dialog.open(pg,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return"/service-access"===location.pathname||sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(t=>{t()})):this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(dg),s.LFG(lg),s.LFG(rt),s.LFG(K),s.LFG(Ff),s.LFG(Mn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gg=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG($p),s.LFG(R))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),mg=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_g=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new s.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Lf))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),bg=(()=>{class t{constructor(t,e,i,n,s,o){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=o}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const t=$f();t.width="450px",this.dialog.open(ug,t).afterClosed().subscribe(()=>{this.authService.startAuthentication()})}t=this.initAuthService.isServiceAccess()?t.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe((0,Ht.b)(t=>{t instanceof H.Zn&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?(0,Wp._)(e):n?void this.notificator.showRPCError(i):(0,Wp._)(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(dg),s.LFG(mg),s.LFG(_g),s.LFG(lg),s.LFG(Ff),s.LFG(fg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),yg=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ag=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),(0,Wp._)(s)}getHeaders(){let t=new H.WM;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new H.LE,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe((0,zt.K)(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe((0,zt.K)(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:o}).pipe((0,zt.K)(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe((0,zt.K)(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(_g),s.LFG(dg),s.LFG(lg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wg=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,o,r,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?o.data.length:o.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),o.sortData(o.filteredData,r).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator closed",[$s(".3s ease-in")])]);const Mg=Vs("flyInOut",[no(":enter",[to({transform:"translateX(100%)"}),$s(".25s")]),no(":leave",[$s(".5s",to({transform:"translateX(100%)"}))])]);Vs("rollInOut",[no(":enter",[to({height:"0px"}),$s(".25s")]),no(":leave",[$s(".25s",to({height:"0px"}))])]),Vs("routeAnimations",[no("* => *",[to({position:"relative"}),oo(":enter",[to({width:"100%",opacity:0})],{optional:!0}),oo(":leave",[to({position:"absolute",width:"100%",opacity:1}),$s("0.15s",to({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),oo(":enter",[to({position:"absolute",width:"100%",opacity:0}),$s("0.15s",to({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Vs("tagsOpenClose",[eo("open",to({})),eo("closed",to({width:"0px",height:"0px"})),no("open <=> closed",[$s(".3s ease-in")])]),Vs("switchAnimations",[no("true => false",[oo(":enter, :leave",to({})),Js([oo(":enter",[to({transform:"translateX(-100%)"}),$s("1s ease-in-out",to({transform:"translateX(0%)"}))],{optional:!0}),oo(":leave",[to({transform:"translateX(0%)",position:"absolute"}),$s("1s ease-in-out",to({transform:"translateX(100%)"}))],{optional:!0})])]),no("false => true",[oo(":enter, :leave",to({})),Js([oo(":enter",[to({transform:"translateX(100%)"}),$s("1s ease-in-out",to({transform:"translateX(0%)"}))],{optional:!0}),oo(":leave",[to({transform:"translateX(0%)",position:"absolute"}),$s("1s ease-in-out",to({transform:"translateX(-100%)"}))],{optional:!0})])])]),Vs("slideInOutLeft",[no(":enter",[to({transform:"translateX(-100%)",position:"relative"}),$s("0.5s ease-in",to({transform:"translateX(0%)"}))]),no(":leave",[$s("0.5s ease-in",to({transform:"translateX(-100%)"}))])]),Vs("slideInOutRight",[no(":enter",[to({transform:"translateX(100%)",position:"fixed"}),$s("0.5s ease-in",to({transform:"translateX(0%)"}))]),no(":leave",[to({transform:"translateX(-100%)",position:"relative"}),$s("0.5s ease-in",to({transform:"translateX(100%)"}))])]);let vg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez]]}),t})(),Tg=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"userFullName",type:t,pure:!0}),t})(),kg=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e="en"){const i=this.storage.get("custom_labels");if(i){const n=Object.keys(i);for(const i of n){const n=this.storage.get("custom_labels",i);if(n.label===t)return n[e]}}return t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Lf,16),s.Y36(lg,16))},t.\u0275pipe=s.Yjl({name:"customTranslate",type:t,pure:!0}),t})();function Lg(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function Cg(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function Sg(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}function Eg(t,e){if(1&t&&(s.O4$(),s._UZ(0,"circle",3)),2&t){const t=s.oxw();s.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),s.uIk("r",t._getCircleRadius())}}const zg=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class xg{constructor(t){this._elementRef=t}}const Og=Da(xg,"primary"),Rg=new s.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let Dg=(()=>{class t extends Og{constructor(e,i,n,s,o){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Xn(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Xn(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Xn(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=ps(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(is),s.Y36(n.K0,8),s.Y36(Aa,8),s.Y36(Rg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(s.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),s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[s.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",0),s.YNc(1,Lg,1,9,"circle",1),s.YNc(2,Cg,1,7,"circle",2),s.qZA()),2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.Q6J("ngSwitch","indeterminate"===e.mode),s.uIk("viewBox",e._getViewBox()),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1))},directives:[n.RF,n.n9],styles:[zg],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),Pg=(()=>{class t extends Dg{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(is),s.Y36(n.K0,8),s.Y36(Aa,8),s.Y36(Rg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[s.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",0),s.YNc(1,Sg,1,9,"circle",1),s.YNc(2,Eg,1,7,"circle",2),s.qZA()),2&t&&(s.Udp("width",e.diameter,"px")("height",e.diameter,"px"),s.Q6J("ngSwitch","indeterminate"===e.mode),s.uIk("viewBox",e._getViewBox()),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1))},directives:[n.RF,n.n9],styles:[zg],encapsulation:2,changeDetection:0}),t})(),Ng=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa,n.ez],Oa]}),t})();const Ig=ls({passive:!0});let qg=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return bt.E;const e=Qn(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new lt.xQ,s="cdk-text-field-autofilled",o=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",o,Ig),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",o,Ig)}}),n}stopMonitoring(t){const e=Qn(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(is),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(is),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),Bg=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new lt.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=Xn(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Xn(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Gn(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(t){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=t,this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Oc(this._getWindow(),"resize").pipe(su(16),ou(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){this._textareaElement.classList.add(this._measuringClass);const t=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),t}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const t=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=t}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=this._measureScrollHeight(),s=Math.max(n,this._cachedPlaceholderHeight||0);e.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=i,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(t){const{selectionStart:e,selectionEnd:i}=t,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(is),s.Y36(s.R0b),s.Y36(n.K0,8))},t.\u0275dir=s.lG2({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&s.NdJ("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),t})(),Yg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ns]]}),t})();const Hg=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),jg=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Fg=0;class Wg{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const Ug=Ia(Wg);let Kg=(()=>{class t extends Ug{constructor(t,e,i,n,s,o,r,a,c,u){super(o,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+Fg++,this.focused=!1,this.stateChanges=new lt.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>os().has(t));const l=this._elementRef.nativeElement,h=l.nodeName.toLowerCase();this._inputValueAccessor=r||l,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Gn(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Gn(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&os().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Gn(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){jg.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(is),s.Y36(xh,10),s.Y36(sd,8),s.Y36(md,8),s.Y36(Xa),s.Y36(Hg,10),s.Y36(qg),s.Y36(s.R0b),s.Y36($l,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:Bl,useExisting:t}]),s.qOj,s.TTD]}),t})(),Zg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Xa],imports:[[Yg,Ql,Oa],Yg,Ql]}),t})();function Gg(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function Xg(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function Vg(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function $g(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().subject=e}),s.qZA(),s.YNc(7,Xg,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw().message=e}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,Vg,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(6),e=s.MAs(13),i=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",i.subject),s.xp6(2),s.Q6J("ngIf",t.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",i.message),s.xp6(4),s.Q6J("ngIf",e.invalid)}}let Jg=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=o,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(Lf),s.Y36(_g),s.Y36(X),s.Y36(qf),s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Gg,1,0,"mat-spinner",1),s.YNc(4,$g,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return e.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===e.message||""===e.subject||e.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Uf,n.O5,Zf,Sc,Pg,Kf,Jl,Fl,Kg,ch,Ad,Rh,ad,Il],pipes:[Cf],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),Qg=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=$f();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(Jg,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(Ff),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return e.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(e.data.title),s.xp6(2),s.hij("\n",e.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==e.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Uf,Kf,Zf,Sc],pipes:[Cf],styles:[""]}),t})();const tm=[[["caption"]],[["colgroup"],["col"]]],em=["caption","colgroup, col"];function im(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Gn(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const nm=new s.OlP("CDK_TABLE");let sm=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t})(),om=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),rm=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class am{}const cm=im(am);let um=(()=>{class t extends cm{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Gn(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(nm,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,sm,5),s.Suo(i,om,5),s.Suo(i,rm,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.cell=t.first),s.iGM(t=s.CRH())&&(e.headerCell=t.first),s.iGM(t=s.CRH())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[s._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.qOj]}),t})();class lm{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let hm=(()=>{class t extends lm{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(um),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[s.qOj]}),t})(),dm=(()=>{class t extends lm{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(um),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[s.qOj]}),t})();class pm{constructor(){this.tasks=[],this.endTasks=[]}}const fm=new s.OlP("_COALESCED_STYLE_SCHEDULER");let gm=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new lt.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new pm,this._getScheduleObservable().pipe(ou(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new pm;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,ct.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,vt.q)(1))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),mm=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof ym?t.headerCell.template:this instanceof Mm?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4))},t.\u0275dir=s.lG2({type:t,features:[s.TTD]}),t})();class _m extends mm{}const bm=im(_m);let ym=(()=>{class t extends bm{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(nm,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),t})();class Am extends mm{}const wm=im(Am);let Mm=(()=>{class t extends wm{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(nm,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),t})(),vm=(()=>{class t extends mm{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(nm,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[s.qOj]}),t})(),Tm=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),km=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[Tm],encapsulation:2}),t})(),Lm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[Tm],encapsulation:2}),t})(),Cm=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const Sm=["top","bottom","left","right"];class Em{constructor(t,e,i,n,s=!0,o=!0,r){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=o,this._positionListener=r,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],o=s.children.length,r=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(r,e),c=this._getStickyEndColumnPositions(r,i),u=e.lastIndexOf(!0),l=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const r of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===l?[]:r.slice(l).map((t,e)=>i[e+l]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,o=[],r=[],a=[];for(let u=0,l=0;u{var t,e;for(let r=0;r{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);Sm.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of Sm)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const zm=new s.OlP("CDK_SPL");let xm=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","rowOutlet",""]]}),t})(),Om=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),Rm=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Dm=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),Pm=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=r,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=u,this._stickyPositioningListener=l,this._onDestroy=new lt.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new dt({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Gn(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Gn(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe(ou(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),bu(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Nm(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Nm(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Nm(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Nm(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],bu(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;bu(this.dataSource)?t=this.dataSource.connect(this):Zc(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,ut.of)(this.dataSource)),this._renderChangeSubscription=t.pipe(ou(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))Tm.mostRecentCellOutlet&&Tm.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Em(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,ut.of)()).pipe(ou(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.ZZ4),s.Y36(s.sBO),s.Y36(s.SBq),s.$8M("role"),s.Y36(Ks,8),s.Y36(n.K0),s.Y36(is),s.Y36(Mu),s.Y36(fm),s.Y36(ku),s.Y36(zm,12))},t.\u0275cmp=s.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Cm,5),s.Suo(i,um,5),s.Suo(i,vm,5),s.Suo(i,ym,5),s.Suo(i,Mm,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._noDataRow=t.first),s.iGM(t=s.CRH())&&(e._contentColumnDefs=t),s.iGM(t=s.CRH())&&(e._contentRowDefs=t),s.iGM(t=s.CRH())&&(e._contentHeaderRowDefs=t),s.iGM(t=s.CRH())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(s.Gf(xm,7),s.Gf(Om,7),s.Gf(Rm,7),s.Gf(Dm,7)),2&t){let t;s.iGM(t=s.CRH())&&(e._rowOutlet=t.first),s.iGM(t=s.CRH())&&(e._headerRowOutlet=t.first),s.iGM(t=s.CRH())&&(e._footerRowOutlet=t.first),s.iGM(t=s.CRH())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[s._Bn([{provide:nm,useExisting:t},{provide:Mu,useClass:yu},{provide:fm,useClass:gm},{provide:zm,useValue:null}])],ngContentSelectors:em,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.F$t(tm),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0),s.GkF(3,1),s.GkF(4,2),s.GkF(5,3))},directives:[Om,xm,Dm,Rm],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function Nm(t,e){return t.concat(Array.from(e))}let Im=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Cu]]}),t})();const qm=[[["caption"]],[["colgroup"],["col"]]],Bm=["caption","colgroup, col"];let Ym=(()=>{class t extends Pm{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[s._Bn([{provide:Mu,useClass:yu},{provide:Pm,useExisting:t},{provide:nm,useExisting:t},{provide:fm,useClass:gm},{provide:zm,useValue:null}]),s.qOj],ngContentSelectors:Bm,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.F$t(qm),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0),s.GkF(3,1),s.GkF(4,2),s.GkF(5,3))},directives:[Om,xm,Dm,Rm],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),Hm=(()=>{class t extends sm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matCellDef",""]],features:[s._Bn([{provide:sm,useExisting:t}]),s.qOj]}),t})(),jm=(()=>{class t extends om{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[s._Bn([{provide:om,useExisting:t}]),s.qOj]}),t})(),Fm=(()=>{class t extends um{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[s._Bn([{provide:um,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.qOj]}),t})(),Wm=(()=>{class t extends hm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[s.qOj]}),t})(),Um=(()=>{class t extends dm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[s.qOj]}),t})(),Km=(()=>{class t extends ym{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[s._Bn([{provide:ym,useExisting:t}]),s.qOj]}),t})(),Zm=(()=>{class t extends vm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[s._Bn([{provide:vm,useExisting:t}]),s.qOj]}),t})(),Gm=(()=>{class t extends km{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[s._Bn([{provide:km,useExisting:t}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[Tm],encapsulation:2}),t})(),Xm=(()=>{class t extends Lm{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[s._Bn([{provide:Lm,useExisting:t}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.GkF(0,0)},directives:[Tm],encapsulation:2}),t})(),Vm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Im,Oa],Oa]}),t})();class $m extends class extends class{}{constructor(t=[]){super(),this._renderData=new dt([]),this._filter=new dt(""),this._internalPageChanges=new lt.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(Vn(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),o=this.sortingDataAccessor(e,i);const r=typeof s,a=typeof o;r!==a&&("number"===r&&(s+=""),"number"===a&&(o+=""));let c=0;return null!=s&&null!=o?s>o?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new dt(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?(0,Nu.T)(this._sort.sortChange,this._sort.initialized):(0,ut.of)(null),i=this._paginator?(0,Nu.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,ut.of)(null),n=(0,pt.aj)([this._data,this._filter]).pipe((0,wt.U)(([t])=>this._filterData(t))),s=(0,pt.aj)([n,e]).pipe((0,wt.U)(([t])=>this._orderData(t))),o=(0,pt.aj)([s,i]).pipe((0,wt.U)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}{}function Jm(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function Qm(t,e){1&t&&s._UZ(0,"th",15)}function t_(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t.userExtSource.extSource.name," ")}}function e_(t,e){1&t&&s._UZ(0,"tr",17)}function i_(t,e){1&t&&s._UZ(0,"tr",18)}function n_(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",4),s.TgZ(2,"p"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.TgZ(6,"div",5),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"table",6),s.ynx(11,7),s.YNc(12,Qm,1,0,"th",8),s.YNc(13,t_,2,1,"td",9),s.BQk(),s.YNc(14,e_,1,0,"tr",10),s.YNc(15,i_,1,0,"tr",11),s.qZA(),s.qZA(),s.TgZ(16,"div",12),s.TgZ(17,"button",13),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,7,s.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(8,11,s.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),s.xp6(3),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,15,s.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(23,19,s.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let s_=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.translate=n,this.notificator=s,this.force=!1,this.displayedColumns=["name"],n.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new $m(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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(J),s.Y36(Lf),s.Y36(_g))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div"),s.YNc(5,Jm,1,0,"mat-spinner",1),s.YNc(6,n_,25,23,"div",2),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,s.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),s.xp6(3),s.Tol(e.theme),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[Uf,n.O5,Pg,Kf,Ym,Fm,jm,Hm,Km,Zm,Zf,Sc,Wm,Um,Gm,Xm],pipes:[Cf,kg],styles:[""]}),t})();class o_{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}copy(){const t=this._textarea;let e=!1;try{if(t){const i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(eE){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let r_=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),i=e.copy();return e.destroy(),i}beginCopy(t){return new o_(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0))},token:t,providedIn:"root"}),t})();const a_=new s.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let c_=(()=>{class t{constructor(t,e,i){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new s.vpe,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}copy(t=this.attempts){if(t>1){let e=t;const i=this._clipboard.beginCopy(this.text);this._pending.add(i);const n=()=>{const t=i.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(n,1))};n()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(r_),s.Y36(s.R0b),s.Y36(a_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),u_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),l_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"textarea",2),s._uU(4),s.qZA(),s.qZA(),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.onCancel()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(e.title),s.xp6(3),s.Oqu(e.value),s.xp6(3),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),s.xp6(2),s.Q6J("cdkCopyToClipboard",e.value),s.xp6(1),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[Uf,Kf,Bg,Kg,Zf,Sc,c_],pipes:[Cf],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})(),h_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"textarea",2),s.NdJ("ngModelChange",function(t){return e.attributeValue=t}),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return e.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return e.submit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),s.xp6(4),s.Q6J("ngModel",e.attributeValue),s.xp6(3),s.hij(" ",s.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[Uf,Kf,Jl,Bg,Kg,ch,Rh,ad,Zf,Sc],pipes:[Cf],styles:[""]}),t})(),d_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.qZA(),s.qZA(),s.TgZ(9,"div",3),s.TgZ(10,"button",4),s.NdJ("click",function(){return e.cancel()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"button",5),s.NdJ("click",function(){return e.submit()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),s.xp6(4),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),s.xp6(3),s.hij(" ",e.data.name," "),s.xp6(3),s.hij(" ",s.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[Uf,Kf,Zf,Sc],pipes:[Cf],styles:[""]}),t})();function p_(t,e){1&t&&(s.TgZ(0,"mat-icon",2),s._uU(1," error "),s.qZA())}const f_=["*"];let g_=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:f_,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.YNc(1,p_,2,0,"mat-icon",1),s.Hsn(2),s.qZA()),2&t&&(s.ekj("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),s.xp6(1),s.Q6J("ngIf","error"!==e.alert_type))},directives:[n.O5,af],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})();function m_(t,e){if(1&t&&(s.TgZ(0,"app-alert",9),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.pendingEmailsMessage)}}function __(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let b_=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.usersManagerService=s,this.authService=o,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(t=>this.successMessage=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(t=>this.pendingEmailsMessageStart=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(t=>this.pendingEmailsMessageEnd=t)}ngOnInit(){this.emailControl=new Qh(null,[fh.required,fh.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(t=>{this.pendingMails=t.filter((t,e,i)=>e===i.indexOf(t));let e="";this.pendingMails.forEach(t=>e+=`${t===this.pendingMails[0]?"":", "}${t}`),console.log(e),this.pendingEmailsMessage=this.pendingEmailsMessageStart+e+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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(Lf),s.Y36(_g),s.Y36(J),s.Y36(dg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,m_,2,1,"app-alert",2),s.TgZ(6,"mat-form-field",3),s.TgZ(7,"label",3),s._UZ(8,"input",4),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.YNc(11,__,4,5,"mat-error",5),s.qZA(),s.qZA(),s.TgZ(12,"div",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return e.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"button",8),s.NdJ("click",function(){return e.onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),s.xp6(4),s.Q6J("ngIf",e.pendingMails.length),s.xp6(3),s.s9C("placeholder",s.lcZ(9,12,s.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),s.Q6J("formControl",e.emailControl),s.xp6(3),s.Q6J("ngIf",e.emailControl.invalid),s.xp6(3),s.hij(" ",s.lcZ(15,16,s.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!e.emailControl.valid),s.xp6(1),s.hij(" ",s.lcZ(19,20,s.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[Uf,Kf,n.O5,Jl,Kg,ch,Ad,Rh,fd,Zf,Sc,g_,Il],pipes:[Cf,kg],styles:[""]}),t})(),y_=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(Mn))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"app-alert",2),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return e.onClose()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),s.xp6(4),s.Oqu(s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[Uf,Kf,g_,Zf,Sc],pipes:[Cf],styles:[""]}),t})();const A_=["input"],w_=function(t){return{enterDuration:t}},M_=["*"],v_=new s.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let T_=0;const k_={provide:oh,useExisting:(0,s.Gpc)(()=>E_),multi:!0};class L_{constructor(t,e){this.source=t,this.value=e}}const C_=new s.OlP("MatRadioGroup");let S_=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+T_++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new s.vpe}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Gn(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Gn(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._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 L_(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),E_=(()=>{class t extends S_{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,R_,5),2&t){let t;s.iGM(t=s.CRH())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[s._Bn([k_,{provide:C_,useExisting:t}]),s.qOj]}),t})();class z_{constructor(t){this._elementRef=t}}const x_=Pa(Na(z_));let O_=(()=>{class t extends x_{constructor(t,e,i,n,o,r,a,c){super(e),this._changeDetector=i,this._focusMonitor=n,this._radioDispatcher=o,this._providerOverride=a,this._uniqueId="mat-radio-"+ ++T_,this.id=this._uniqueId,this.change=new s.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===r,c&&(this.tabIndex=Xn(c,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Gn(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Gn(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Gn(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new L_(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(S_),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Hs),s.Y36(wu),s.Y36(String),s.Y36(void 0),s.Y36(String))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&s.Gf(A_,5),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[s.qOj]}),t})(),R_=(()=>{class t extends O_{constructor(t,e,i,n,s,o,r,a){super(t,e,i,n,s,o,r,a)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(C_,8),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Hs),s.Y36(wu),s.Y36(Aa,8),s.Y36(v_,8),s.$8M("tabindex"))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(s.uIk("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),s.ekj("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable",e._noopAnimations)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[s.qOj],ngContentSelectors:M_,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s._UZ(3,"span",3),s._UZ(4,"span",4),s.TgZ(5,"input",5,6),s.NdJ("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(7,"span",7),s._UZ(8,"span",8),s.qZA(),s.qZA(),s.TgZ(9,"span",9),s.TgZ(10,"span",10),s._uU(11,"\xa0"),s.qZA(),s.Hsn(12),s.qZA(),s.qZA()),2&t){const t=s.MAs(1);s.uIk("for",e.inputId),s.xp6(5),s.Q6J("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),s.uIk("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.VKq(18,w_,e._noopAnimations?0:150)),s.xp6(2),s.ekj("mat-radio-label-before","before"==e.labelPosition)}},directives:[rc],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),D_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ac,Oa],Oa]}),t})();function P_(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function N_(t,e){1&t&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function I_(t,e){1&t&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function q_(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-radio-group",12),s.NdJ("ngModelChange",function(e){return s.CHM(t),s.oxw(2).asyncValidation=e}),s.TgZ(1,"span",13),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-radio-button",14),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"mat-radio-button",14),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("ngModel",t.asyncValidation),s.xp6(2),s.hij(" ",s.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),s.xp6(2),s.Q6J("value",!1),s.xp6(1),s.hij(" ",s.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),s.xp6(2),s.Q6J("value",!0),s.xp6(1),s.hij(" ",s.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function B_(t,e){1&t&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function Y_(t,e){1&t&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function H_(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"p",6),s._uU(2),s.TgZ(3,"span",7),s._uU(4),s.qZA(),s._uU(5),s.TgZ(6,"span",7),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong",8),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.qZA(),s.TgZ(13,"p"),s.TgZ(14,"strong",8),s._uU(15),s.ALo(16,"translate"),s.qZA(),s._uU(17),s.qZA(),s.YNc(18,N_,3,3,"span",9),s.YNc(19,I_,3,3,"span",9),s.YNc(20,q_,10,12,"mat-radio-group",10),s.YNc(21,B_,3,3,"span",9),s.YNc(22,Y_,3,3,"span",9),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t.group.name," "),s.xp6(2),s.hij("#",t.group.id,""),s.xp6(1),s.hij(" - ",t.resource.name," "),s.xp6(2),s.hij("#",t.resource.id,""),s.xp6(3),s.hij("",s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),s.xp6(2),s.hij(" ",t.status," "),s.xp6(3),s.hij("",s.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),s.xp6(2),s.hij(" ",t.getReversedStatus()," "),s.xp6(1),s.Q6J("ngIf","INACTIVE"===t.status),s.xp6(1),s.Q6J("ngIf","ACTIVE"===t.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===t.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===t.status&&!1===t.asyncValidation),s.xp6(1),s.Q6J("ngIf","INACTIVE"===t.status&&!0===t.asyncValidation)}}function j_(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",17),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}let F_=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.resourceService=i,this.groupService=n,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(t=>{this.resource=t,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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36($),s.Y36(Z))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,P_,1,0,"mat-spinner",1),s.YNc(5,H_,23,17,"div",2),s.YNc(6,j_,7,7,"div",3),s.qZA()),2&t&&(s.Tol(e.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[Uf,n.O5,Pg,Kf,E_,Rh,ad,R_,Zf,Sc],pipes:[Cf],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),t})();function W_(t,e){if(1&t&&(s.TgZ(0,"div",5),s.TgZ(1,"mat-icon"),s._uU(2),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(t.data.icon)}}function U_(t,e){if(1&t&&(s.TgZ(0,"div",6),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.showTimestamp()," ")}}let K_=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new s.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 t=$f();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(Qg,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function(t,e){return i=this,s=function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()},new((n=void 0)||(n=Promise))(function(t,e){function o(t){try{a(s.next(t))}catch(i){e(i)}}function r(t){try{a(s.throw(t))}catch(i){e(i)}}function a(e){var i;e.done?t(e.value):(i=e.value,i instanceof n?i:new n(function(t){t(i)})).then(o,r)}a((s=s.apply(i,[])).next())});var i,n,s}(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff),s.Y36(yg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",0),s.NdJ("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),s.YNc(2,W_,3,1,"div",1),s.TgZ(3,"div",2),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.YNc(6,U_,2,1,"div",3),s.TgZ(7,"div",4),s.NdJ("click",function(){return e.waiting=!0,e.doAction()}),s._uU(8),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Gre("notification ",e.inDialog?"":"mat-elevation-z7",""),s.ekj("error","error"===e.data.type)("success","success"===e.data.type),s.xp6(2),s.Q6J("ngIf",null!==e.data.icon),s.xp6(2),s.hij(" ",s.lcZ(5,12,e.data.title)," "),s.xp6(2),s.Q6J("ngIf",e.inDialog),s.xp6(1),s.Q6J("hidden",e.alreadyPressed),s.xp6(1),s.hij(" ",e.data.actionText," "))},directives:[n.O5,af],pipes:[Cf],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}"]}),t})();function Z_(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-notification",2),s.NdJ("closeNotification",function(){const e=s.CHM(t).index;return s.oxw().removeNotification(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("@flyInOut",void 0),s.xp6(1),s.Q6J("data",t)("newNotification",!0)}}const G_=function(t){return{top:t}};let X_=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(_g),s.Y36(yg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,Z_,2,3,"div",1),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(2,G_,e.getNotificatorTop())),s.xp6(1),s.Q6J("ngForOf",e.notifications))},directives:[n.PC,n.sg,K_],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[Mg]}}),t})();const V_=["*",[["mat-toolbar-row"]]],$_=["*","mat-toolbar-row"];class J_{constructor(t){this._elementRef=t}}const Q_=Da(J_);let tb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),eb=(()=>{class t extends Q_{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(is),s.Y36(n.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,tb,5),2&t){let t;s.iGM(t=s.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:$_,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(V_),s.Hsn(0),s.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}),t})(),ib=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa],Oa]}),t})();const nb={provide:s.tb,useFactory:function(t,e){return()=>{if((0,n.NF)(e)){const e=Array.from(t.querySelectorAll(`[class*=${sb}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(`${sb}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(i,"")})}}},deps:[n.K0,s.Lbi],multi:!0},sb="flex-layout-";let ob=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[nb]}),t})();class rb{constructor(t=!1,e="all",i="",n="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=n,this.priority=s,this.property=""}clone(){return new rb(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let ab=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,i){const n=this.stylesheet.get(t);n?n.set(e,i):this.stylesheet.set(t,new Map([[e,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const i=this.stylesheet.get(t);let n="";if(i){const t=i.get(e);"number"!=typeof t&&"string"!=typeof t||(n=t+"")}return n}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const cb={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},ub=new s.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>cb}),lb=new s.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),hb=new s.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function db(t,e){return t=t?t.clone():new rb,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const pb=["row","column","row-reverse","column-reverse"];function fb(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let gb=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.styleBuilder=e,this.styler=i,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new lt.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const i=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const i=this.styleBuilder,n=i.shouldCache;let s=this.styleCache.get(t);s&&n||(s=i.buildStyles(t,e),n&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),i.sideEffect(t,s,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[i,n]=this.styler.getFlowDirection(t);if(!n&&e){const e=function(t){let[e,i,n]=function(t){t=t?t.toLowerCase():"";let[e,i,n]=t.split(" ");return pb.find(t=>t===e)||(e=pb[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,fb(i),!!n]}(t);return function(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,i,n)}(i);this.styler.applyStyleToElements(e,[t])}return i.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,i=this.nativeElement){this.styler.applyStyleToElement(i,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){s.$Z()},t.\u0275dir=s.lG2({type:t,features:[s.TTD]}),t})();const mb=[{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}],_b="(orientation: portrait) and (max-width: 599.98px)",bb="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",yb="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Ab="(orientation: portrait) and (min-width: 840px)",wb="(orientation: landscape) and (min-width: 1280px)",Mb={HANDSET:`${_b}, (orientation: landscape) and (max-width: 959.98px)`,TABLET:`${bb} , ${yb}`,WEB:`${Ab}, ${wb} `,HANDSET_PORTRAIT:`${_b}`,TABLET_PORTRAIT:`${bb} `,WEB_PORTRAIT:`${Ab}`,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.98px)",TABLET_LANDSCAPE:`${yb}`,WEB_LANDSCAPE:`${wb}`},vb=[{alias:"handset",priority:2e3,mediaQuery:Mb.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Mb.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Mb.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Mb.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Mb.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Mb.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Mb.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Mb.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Mb.WEB_PORTRAIT,overlapping:!0}],Tb=/(\.|-|_)/g;function kb(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}const Lb=new s.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=(0,s.f3M)(hb),e=(0,s.f3M)(ub),i=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const i={};return t.forEach(t=>{i[t.alias]=t}),e.forEach(t=>{i[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let i of e)if(null!=i)for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e])}(i[t.alias],t):i[t.alias]=t}),(n=Object.keys(i).map(t=>i[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(Tb,"|").split("|").map(kb).join(""),t.overlapping=!!t.overlapping)}),n;var n}((e.disableDefaultBps?[]:mb).concat(e.addOrientationBps?vb:[]),i)}});function Cb(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function Sb(t,e){return(t.priority||0)-(e.priority||0)}let Eb=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(Sb)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let i=this.findByMap.get(t);return i||(i=this.items.find(e)||null,this.findByMap.set(t,i)),i||null}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Lb))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(Lb))},token:t,providedIn:"root"}),t})(),zb=(()=>{class t{constructor(t,e,i){this._zone=t,this._platformId=e,this._document=i,this.source=new dt(new rb(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,i)=>{e.matches&&t.push(i)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const i=this._observable$.pipe((0,at.h)(i=>!e||t.indexOf(i.mediaQuery)>-1)),n=new ft.y(e=>{const i=this.registerQuery(t);if(i.length){const t=i.pop();i.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return(0,Nu.T)(n,i)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],i=[];return function(t,e){const i=t.filter(t=>!xb[t]);if(i.length>0){const t=i.join(", ");try{const n=e.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(e.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`)),e.head.appendChild(n),i.forEach(t=>xb[t]=n)}catch(n){console.error(n)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new rb(e.matches,t)))};let n=this.registry.get(t);n||(n=this.buildMQL(t),n.addListener(e),this.pendingRemoveListenerFns.push(()=>n.removeListener(e)),this.registry.set(t,n)),n.matches&&i.push(new rb(!0,t))}),i}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,(0,n.NF)(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(s.Lbi),s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(s.R0b),(0,s.LFG)(s.Lbi),(0,s.LFG)(n.K0))},token:t,providedIn:"root"}),t})();const xb={},Ob={alias:"print",mediaQuery:"print",priority:1e3};let Rb=(()=>{class t{constructor(t,e,i){this.breakpoints=t,this.layoutConfig=e,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Db,this.deactivations=[]}withPrintQuery(t){return[...t,"print"]}isPrintEvent(t){return t.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(Cb)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),db(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new rb(!0,"print"))),t.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(i)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(Cb))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Eb),s.LFG(ub),s.LFG(n.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(Eb),(0,s.LFG)(ub),(0,s.LFG)(n.K0))},token:t,providedIn:"root"}),t})();class Db{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(Ob),t.sort(Cb),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith("print")}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function Pb(t){for(let e in t){let i=t[e]||"";switch(e){case"display":t.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;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":t["-webkit-"+e]=i;break;case"flex-direction":i=i||"row",t["-webkit-flex-direction"]=i,t["flex-direction"]=i;break;case"order":t.order=t["-webkit-"+e]=isNaN(+i)?"0":i}}return t}let Nb=(()=>{class t{constructor(t,e,i,n){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=i,this.layoutConfig=n}applyStyleToElement(t,e,i=null){let n={};"string"==typeof e&&(n[e]=i,e=n),n=this.layoutConfig.disableVendorPrefixes?e:Pb(e),this._applyMultiValueStyleToElement(n,t)}applyStyleToElements(t,e=[]){const i=this.layoutConfig.disableVendorPrefixes?t:Pb(t);e.forEach(t=>{this._applyMultiValueStyleToElement(i,t)})}getFlowDirection(t){let e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||(0,n.PM)(this._platformId)&&this._serverModuleLoaded?e:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return(0,n.NF)(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,i=!1){let s="";return t&&((s=this.lookupInlineStyle(t,e))||((0,n.NF)(this._platformId)?i||(s=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(t,e)))),s?s.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(i=>{const s=t[i],o=Array.isArray(s)?s:[s];o.sort();for(let t of o)t=t?t+"":"",(0,n.NF)(this._platformId)||!this._serverModuleLoaded?(0,n.NF)(this._platformId)?e.style.setProperty(i,t):this._setServerStyle(e,i,t):this._serverStylesheet.addStyleToElement(e,i,t)})}_setServerStyle(t,e,i){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(t);n[e]=i||"",this._writeStyleAttribute(t,n)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},i=t.getAttribute("style");if(i){const t=i.split(/;+/g);for(let i=0;i0){const t=n.indexOf(":");if(-1===t)throw new Error(`Invalid CSS style: ${n}`);e[n.substr(0,t).trim()]=n.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let i="";for(const n in e)e[n]&&(i+=n+":"+e[n]+";");t.setAttribute("style",i)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ab),s.LFG(lb),s.LFG(s.Lbi),s.LFG(ub))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(ab),(0,s.LFG)(lb),(0,s.LFG)(s.Lbi),(0,s.LFG)(ub))},token:t,providedIn:"root"}),t})();class Ib{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let qb=(()=>{class t{constructor(t,e,i){this.matchMedia=t,this.breakpoints=e,this.hook=i,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 lt.xQ,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=db(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(Cb),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(Cb),this.updateStyles()))}init(t,e,i,n,s=[]){Bb(this.updateMap,t,e,i),Bb(this.clearMap,t,e,n),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,s)}getValue(t,e,i){const n=this.elementMap.get(t);if(n){const t=void 0!==i?n.get(i):this.getActivatedValues(n,e);if(t)return t.get(e)}}hasValue(t,e){const i=this.elementMap.get(t);if(i){const t=this.getActivatedValues(i,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,i,n){let s=this.elementMap.get(t);if(s){const o=(s.get(n)||new Map).set(e,i);s.set(n,o),this.elementMap.set(t,s)}else s=(new Map).set(n,(new Map).set(e,i)),this.elementMap.set(t,s);const o=this.getValue(t,e);void 0!==o&&this.updateElement(t,e,o)}trackValue(t,e){return this.subject.asObservable().pipe((0,at.h)(i=>i.element===t&&i.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const i=new Set(this.elementKeyMap.get(e));let n=this.getActivatedValues(t);n&&n.forEach((t,n)=>{this.updateElement(e,n,t),i.delete(n)}),i.forEach(i=>{if(n=this.getActivatedValues(t,i),n){const t=n.get(i);this.updateElement(e,i,t)}else this.clearElement(e,i)})})}clearElement(t,e){const i=this.clearMap.get(t);if(i){const n=i.get(e);n&&(n(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,i){const n=this.updateMap.get(t);if(n){const s=n.get(e);s&&(s(i),this.subject.next({element:t,key:e,value:i}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const i=this.elementMap.get(t);i&&(i.forEach((t,e)=>i.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const i=this.elementMap.get(t);if(i){const n=this.getActivatedValues(i,e);n&&(e?this.updateElement(t,e,n.get(e)):n.forEach((e,i)=>this.updateElement(t,i,e)))}}buildElementKeyMap(t,e){let i=this.elementKeyMap.get(t);i||(i=new Set,this.elementKeyMap.set(t,i)),i.add(e)}watchExtraTriggers(t,e,i){if(i&&i.length){let n=this.watcherMap.get(t);if(n||(n=new Map,this.watcherMap.set(t,n)),!n.get(e)){const s=(0,Nu.T)(...i).subscribe(()=>{const i=this.getValue(t,e);this.updateElement(t,e,i)});n.set(e,s)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let n=0;nt.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe((0,Ht.b)(this.hook.interceptEvents(this)),(0,at.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(zb),s.LFG(Eb),s.LFG(Rb))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(zb),(0,s.LFG)(Eb),(0,s.LFG)(Rb))},token:t,providedIn:"root"}),t})();function Bb(t,e,i,n){if(void 0!==n){let s=t.get(e);s||(s=new Map,t.set(e,s)),s.set(i,n)}}new Map,new WeakMap;class Yb{constructor(t,e,i=!0){this.key=t,this.value=e,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function Hb(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function jb(t){const[e,...i]=t.split(":");return new Yb(e,i.join(":"))}function Fb(t,e){return e.key&&(t[e.key]=e.value),t}let Wb=(()=>{class t extends gb{constructor(t,e,i,s,o,r,a,c,u){super(t,null,e,i),this.sanitizer=s,this.ngStyleInstance=a,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new n.PC(t,o,r)),this.init();const l=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(l),this.isServer=c&&(0,n.PM)(u)}updateWithValue(t){const e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(t){const e=t=>this.sanitizer.sanitize(s.q3G.STYLE,t)||"";if(t)switch(Hb(t)){case"string":return Zb(function(t,e=";"){return String(t).trim().split(e).map(t=>t.trim()).filter(t=>""!==t)}(t),e);case"array":return Zb(t,e);case"set":default:return function(t,e){let i=[];return"set"===Hb(t)?t.forEach(t=>i.push(t)):Object.keys(t).forEach(e=>{i.push(`${e}:${t[e]}`)}),function(t,e){return t.map(jb).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(Fb,{})}(i,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Nb),s.Y36(qb),s.Y36(R),s.Y36(s.aQg),s.Y36(s.Qsj),s.Y36(n.PC,10),s.Y36(lb),s.Y36(s.Lbi))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const Ub=["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 Kb=(()=>{class t extends Wb{constructor(){super(...arguments),this.inputs=Ub}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,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:[s.qOj]}),t})();function Zb(t,e){return t.map(jb).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(Fb,{})}let Gb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ob]]}),t})();const Xb=function(t){return{color:t}};function Vb(t,e){if(1&t&&(s.TgZ(0,"button",8),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",4),s._uU(3," apps "),s.qZA(),s.qZA()),2&t){const t=s.oxw(),e=s.MAs(2);s.Q6J("matMenuTriggerFor",e)("matTooltip",s.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),s.xp6(2),s.Q6J("ngStyle",s.VKq(5,Xb,t.iconColor))}}function $b(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",2),s.NdJ("click",function(){return s.CHM(t),s.oxw().onLogOut()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"NAV.LOGOUT")))}let Jb=(()=>{class t{constructor(t,e,i,n){this.authService=t,this.authzResolverService=e,this.notificator=i,this.translateService=n}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dg),s.Y36(K),s.Y36(_g),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&(s.YNc(0,Vb,4,7,"button",0),s.TgZ(1,"mat-menu",null,1),s.TgZ(3,"button",2),s.NdJ("click",function(){return e.redirectToUrl()}),s.TgZ(4,"span"),s._uU(5),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"button",3),s.TgZ(7,"mat-icon",4),s._uU(8," person "),s.qZA(),s.TgZ(9,"span",5),s._uU(10),s.qZA(),s.qZA(),s.TgZ(11,"mat-menu",null,6),s.YNc(13,$b,3,3,"button",7),s.qZA()),2&t){const t=s.MAs(12);s.Q6J("ngIf",e.url),s.xp6(5),s.Oqu(e.label),s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.Q6J("ngStyle",s.VKq(11,Xb,e.iconColor)),s.xp6(2),s.Q6J("ngStyle",s.VKq(13,Xb,e.textColor)),s.xp6(1),s.xDo(" ",e.user.titleBefore," ",e.user.firstName," ",e.user.middleName," ",e.user.lastName," ",e.user.titleAfter," "),s.xp6(3),s.Q6J("ngIf",e.logoutEnabled)}},directives:[n.O5,Ip,Rp,Sc,Hp,af,n.PC,rp],pipes:[Cf],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),t})();const Qb=function(t){return{color:t}};function ty(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(t),s.oxw().onToggleSidenav()}),s.TgZ(1,"mat-icon"),s._uU(2,"menu"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("ngStyle",s.VKq(1,Qb,t.iconColor))}}function ey(t,e){1&t&&(s.TgZ(0,"div",8),s.TgZ(1,"span",9),s._uU(2," ~ \ud83d\uddf2\xa0 "),s.qZA(),s.TgZ(3,"span",10),s._uU(4," DEVEL "),s.qZA(),s.TgZ(5,"span",9),s._uU(6," \ud83d\uddf2 ~ "),s.qZA(),s.qZA())}const iy=function(t){return{background:t}},ny=function(){return[]},sy=function(){return["/"]};let oy=(()=>{class t{constructor(t,e,i,n){this.storeService=t,this.sanitizer=e,this.translate=i,this.utilsService=n,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new s.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(t=>{this.label=this.storeService.get(`header_label_${t.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${t.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 t in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(t)&&(this.activeLink=!0);this.activeLink&&this.utilsService.getAppsConfig().subscribe(t=>{this.adminGuiUrl=t.brands[0].newApps.admin?t.brands[0].newApps.admin:null})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(R),s.Y36(Lf),s.Y36(Q))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-toolbar",0),s.TgZ(1,"div",1),s.YNc(2,ty,3,3,"button",2),s._UZ(3,"a",3),s.TgZ(4,"p",4),s._uU(5),s.qZA(),s.qZA(),s.YNc(6,ey,7,0,"div",5),s._UZ(7,"perun-web-apps-header-menu",6),s.qZA()),2&t&&(s.Q6J("ngStyle",s.VKq(13,iy,e.bgColor)),s.xp6(2),s.Q6J("ngIf",!e.hideToggle),s.xp6(1),s.Q6J("innerHTML",e.logo,s.oJD)("routerLink",e.disableLogo?s.DdM(15,ny):s.DdM(16,sy)),s.xp6(1),s.Q6J("ngStyle",s.VKq(17,Qb,e.textColor)),s.xp6(1),s.Oqu(e.label),s.xp6(1),s.Q6J("ngIf",e.isDevel),s.xp6(1),s.Q6J("url",e.adminGuiUrl)("label",e.adminLabel)("user",e.principal.user)("logoutEnabled",e.logoutEnabled)("iconColor",e.iconColor)("textColor",e.textColor))},directives:[eb,n.PC,Kb,n.O5,Tn,Jb,Sc,af],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}"]}),t})();function ry(t){return e=>e.lift(new ay(t))}class ay{constructor(t){this.value=t}call(t,e){return e.subscribe(new cy(t,this.value))}}class cy extends Lt.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const uy=["*"];function ly(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function hy(t,e){1&t&&(s.TgZ(0,"mat-drawer-content"),s.Hsn(1,2),s.qZA())}const dy=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],py=["mat-drawer","mat-drawer-content","*"];function fy(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.NdJ("click",function(){return s.CHM(t),s.oxw()._onBackdropClicked()}),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function gy(t,e){1&t&&(s.TgZ(0,"mat-sidenav-content",3),s.Hsn(1,2),s.qZA())}const my=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],_y=["mat-sidenav","mat-sidenav-content","*"],by=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",yy={transformDrawer:Vs("transform",[eo("open, open-instant",to({transform:"none",visibility:"visible"})),eo("void",to({"box-shadow":"none",visibility:"hidden"})),no("void => open-instant",$s("0ms")),no("void <=> open, open-instant => void",$s("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Ay=new s.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),wy=new s.OlP("MAT_DRAWER_CONTAINER");let My=(()=>{class t extends Tu{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>Ty)),s.Y36(s.SBq),s.Y36(vu),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:uy,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),vy=(()=>{class t{constructor(t,e,i,n,o,r,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=o,this._doc=r,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new lt.xQ,this._animationEnd=new lt.xQ,this._animationState="void",this.openedChange=new s.vpe(!0),this._openedStream=this.openedChange.pipe((0,at.h)(t=>t),(0,wt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,at.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),ry(void 0)),this._closedStream=this.openedChange.pipe((0,at.h)(t=>!t),(0,wt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,at.h)(t=>t.fromState!==t.toState&&"void"===t.toState),ry(void 0)),this._destroyed=new lt.xQ,this.onPositionChanged=new s.vpe,this._modeChanged=new lt.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Oc(this._elementRef.nativeElement,"keydown").pipe((0,at.h)(t=>27===t.keyCode&&!this.disableClose&&!Kn(t)),ou(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Gc((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Gn(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Gn(t)}get opened(){return this._opened}set opened(t){this.toggle(Gn(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,vt.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Rs),s.Y36(Hs),s.Y36(is),s.Y36(s.R0b),s.Y36(n.K0,8),s.Y36(wy,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&s.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(s.uIk("align",null),s.d8E("@transform",e._animationState),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:uy,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[Tu],encapsulation:2,data:{animation:[yy.transformDrawer]},changeDetection:0}),t})(),Ty=(()=>{class t{constructor(t,e,i,n,o,r=!1,a){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new s.n_E,this.backdropClick=new s.vpe,this._destroyed=new lt.xQ,this._doCheckSubject=new lt.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new lt.xQ,t&&t.change.pipe(ou(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(ou(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Gn(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Gn(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(kt(this._allDrawers),ou(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(kt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Zn.b)(10),ou(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,at.h)(t=>t.fromState!==t.toState),ou(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"!==t.mode&&t.openedChange.pipe(ou(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(ou(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,vt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(ou((0,Nu.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ks,8),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(ku),s.Y36(Ay),s.Y36(Aa,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,My,5),s.Suo(i,vy,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(My,5),2&t){let t;s.iGM(t=s.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[s._Bn([{provide:wy,useExisting:t}])],ngContentSelectors:py,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(t,e){1&t&&(s.F$t(dy),s.YNc(0,ly,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,hy,2,0,"mat-drawer-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[n.O5,My],styles:[by],encapsulation:2,changeDetection:0}),t})(),ky=(()=>{class t extends My{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36((0,s.Gpc)(()=>Cy)),s.Y36(s.SBq),s.Y36(vu),s.Y36(s.R0b))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&s.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.qOj],ngContentSelectors:uy,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),Ly=(()=>{class t extends vy{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Gn(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Xn(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Xn(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(s.uIk("align",null),s.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),s.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[s.qOj],ngContentSelectors:uy,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},directives:[Tu],encapsulation:2,data:{animation:[yy.transformDrawer]},changeDetection:0}),t})(),Cy=(()=>{class t extends Ty{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,ky,5),s.Suo(i,Ly,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._content=t.first),s.iGM(t=s.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[s._Bn([{provide:wy,useExisting:t}]),s.qOj],ngContentSelectors:_y,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(s.F$t(my),s.YNc(0,fy,1,2,"div",0),s.Hsn(1),s.Hsn(2,1),s.YNc(3,gy,2,0,"mat-sidenav-content",1)),2&t&&(s.Q6J("ngIf",e.hasBackdrop),s.xp6(3),s.Q6J("ngIf",!e._content))},directives:[n.O5,ky,Tu],styles:[by],encapsulation:2,changeDetection:0}),t})(),Sy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,Oa,ns,Lu],Lu,Oa]}),t})(),Ey=(()=>{class t{constructor(t){this.store=t}getSideMenuItems(){const t=this.store.get("displayed_tabs"),e=[];return t.forEach(t=>{switch(t){case"profile":e.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":e.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":e.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":e.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":e.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":e.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":e.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(t=>{const i={icon:"insert_link",link:t.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(e=>{var n;i[`label_${e}`]=null!==(n=t[`label_${e}`])&&void 0!==n?n:t.label_en}),e.push(i)}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(lg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa],Oa]}),t})();const xy=["*"],Oy='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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',Ry=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Dy=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class Py{}const Ny=Ra(Pa(Py));class Iy{}const qy=Pa(Iy),By=new s.OlP("MatList"),Yy=new s.OlP("MatNavList");let Hy=(()=>{class t extends Ny{constructor(){super(...arguments),this._stateChanges=new lt.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[s._Bn([{provide:Yy,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:xy,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[Oy],encapsulation:2,changeDetection:0}),t})(),jy=(()=>{class t extends Ny{constructor(t){super(),this._elementRef=t,this._stateChanges=new lt.xQ,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s._Bn([{provide:By,useExisting:t}]),s.qOj,s.TTD],ngContentSelectors:xy,decls:1,vars:0,template:function(t,e){1&t&&(s.F$t(),s.Hsn(0))},styles:[Oy],encapsulation:2,changeDetection:0}),t})(),Fy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),Wy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),Uy=(()=>{class t extends qy{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new lt.xQ,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(ou(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Gn(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(kt(t)).subscribe(({length:t})=>{$a(e,`${i}-2-line`,!1),$a(e,`${i}-3-line`,!1),$a(e,`${i}-multi-line`,!1),2===t||3===t?$a(e,`${i}-${t}-line`,!0):t>3&&$a(e,`${i}-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 t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Yy,8),s.Y36(By,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Fy,5),s.Suo(i,Wy,5),s.Suo(i,Va,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._avatar=t.first),s.iGM(t=s.CRH())&&(e._icon=t.first),s.iGM(t=s.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:Dy,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(t,e){1&t&&(s.F$t(Ry),s.TgZ(0,"div",0),s._UZ(1,"div",1),s.Hsn(2),s.TgZ(3,"div",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[rc],encapsulation:2,changeDetection:0}),t})(),Ky=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Ja,ac,Oa,uc,n.ez],Ja,Oa,uc,zy]}),t})(),Zy=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"localisedText",type:t,pure:!0}),t})();const Gy=function(t){return{color:t}};function Xy(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item",2),s.NdJ("click",function(){const e=s.CHM(t).$implicit,i=s.oxw();return e.external?i.goToURL(e.link):i.shouldHideMenu()}),s.TgZ(1,"mat-icon",3),s._uU(2),s.qZA(),s.TgZ(3,"span",4),s._uU(4),s.ALo(5,"localisedText"),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.ekj("activated",i.isActive(t.activatedRegex)),s.s9C("routerLink",t.external?null:t.link),s.Q6J("ngStyle",s.VKq(16,Gy,i.textColor)),s.xp6(1),s.Q6J("ngStyle",s.VKq(18,Gy,i.iconColor)),s.xp6(1),s.Oqu(t.icon),s.xp6(2),s.Oqu(t.external?s.Dn7(5,7,t,i.lang,"label"):s.lcZ(6,11,s.xi3(7,13,t.label,i.lang)))}}let Vy=(()=>{class t{constructor(t,e,i,n){this.sideMenuItemService=t,this.storeService=e,this.router=i,this.translateService=n,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(t=>{t instanceof Xt&&(this.currentUrl=t.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:e}=t;this.lang=e});const t=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(e=>t.includes(e.tabName))}isActive(t){return new RegExp(t).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(t){window.open(t,"_blank")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ey),s.Y36(lg),s.Y36(Mn),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption","ml-3"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-nav-list",0),s.YNc(1,Xy,8,20,"mat-list-item",1),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngForOf",e.items))},directives:[Hy,n.sg,Uy,n.PC,Kb,vn,af],pipes:[Zy,Cf,kg],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}"]}),t})();function $y(t,e){if(1&t&&(s.TgZ(0,"span",1),s.TgZ(1,"a",2),s._uU(2),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("routerLink",t.routerLink),s.xp6(1),s.Oqu(t.label)}}let Jy=(()=>{class t{constructor(t,e,i){this.router=t,this.activatedRoute=e,this.translate=i,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,at.h)(t=>t instanceof Xt)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,i=""){const n=e.children;0!==n.length&&n.forEach(e=>{const n=e.snapshot.url.map(t=>t.path).join("/");""!==n&&(i+=`/${n}`);const s=this.translate.instant(e.snapshot.data[t.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:i}),this.createBreadcrumbs(e,i)})}}return t.ROUTE_DATA_BREADCRUMB="breadcrumb",t.\u0275fac=function(e){return new(e||t)(s.Y36(Mn),s.Y36(Qe),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&s.YNc(0,$y,3,2,"span",0),2&t&&s.Q6J("ngForOf",e.menuItems)},directives:[n.sg,Tn],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}']}),t})();function Qy(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let tA=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(Lf),s.Y36(_g),s.Y36(X),s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){if(1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"mat-label"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.TgZ(8,"input",2,3),s.NdJ("ngModelChange",function(t){return e.subject=t}),s.qZA(),s.YNc(10,Qy,3,3,"mat-error",4),s.qZA(),s.TgZ(11,"mat-form-field"),s.TgZ(12,"mat-label"),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.TgZ(15,"textarea",5),s.NdJ("ngModelChange",function(t){return e.message=t}),s.ALo(16,"translate"),s._uU(17," "),s.qZA(),s.TgZ(18,"mat-hint"),s._uU(19),s.ALo(20,"translate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(21,"div",6),s.TgZ(22,"div",7),s.TgZ(23,"button",8),s.NdJ("click",function(){return e.close()}),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.TgZ(26,"button",9),s.NdJ("click",function(){return e.sendBugReport()}),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(9);s.xp6(1),s.Oqu(s.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),s.xp6(5),s.Oqu(s.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),s.xp6(2),s.Q6J("ngModel",e.subject),s.xp6(2),s.Q6J("ngIf",t.invalid),s.xp6(3),s.Oqu(s.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",e.message),s.xp6(4),s.Oqu(s.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),s.xp6(5),s.hij(" ",s.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.invalid),s.xp6(1),s.hij(" ",s.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Uf,Kf,Jl,Fl,Kg,ch,Ad,Rh,ad,n.O5,jl,Zf,Sc,Il],pipes:[Cf],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),eA=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"localisedLink",type:t,pure:!0}),t})();const iA=function(t){return{color:t}};function nA(t,e){if(1&t&&(s.TgZ(0,"i",16),s._uU(1),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(2,iA,e.linksTextColor)),s.xp6(1),s.hij(" ",t.icon," ")}}function sA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",17),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw(3).openDialog(e.dialog)}),s._uU(1),s.ALo(2,"localisedText"),s.qZA()}if(2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(6,iA,e.linksTextColor)),s.xp6(1),s.hij("",s.Dn7(2,2,t,e.language,"label")," ")}}function oA(t,e){if(1&t&&(s.TgZ(0,"a",18),s.ALo(1,"localisedLink"),s._uU(2),s.ALo(3,"localisedText"),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("href",s.xi3(1,3,t,e.language),s.LSH)("ngStyle",s.VKq(10,iA,e.linksTextColor)),s.xp6(2),s.Oqu(s.Dn7(3,6,t,e.language,"label"))}}function rA(t,e){if(1&t&&(s.TgZ(0,"span",19),s._uU(1),s.ALo(2,"localisedText"),s.qZA()),2&t){const t=s.oxw().$implicit,e=s.oxw(3);s.Q6J("ngStyle",s.VKq(6,iA,e.linksTextColor)),s.xp6(1),s.Oqu(s.Dn7(2,2,t,e.language,"label"))}}function aA(t,e){if(1&t&&(s.TgZ(0,"div",11),s.YNc(1,nA,2,4,"i",12),s.YNc(2,sA,3,8,"span",13),s.YNc(3,oA,4,12,"a",14),s.ALo(4,"localisedLink"),s.YNc(5,rA,3,8,"span",15),s.ALo(6,"localisedLink"),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(3);s.xp6(1),s.Q6J("ngIf",t.icon),s.xp6(1),s.Q6J("ngIf",t.dialog),s.xp6(1),s.Q6J("ngIf",s.xi3(4,4,t,i.language)&&!t.dialog),s.xp6(2),s.Q6J("ngIf",!s.xi3(6,7,t,i.language)&&!t.dialog)}}function cA(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,aA,7,10,"div",10),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngForOf",t.elements)}}function uA(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"h6",8),s._uU(2),s.ALo(3,"localisedText"),s.qZA(),s.YNc(4,cA,2,1,"div",9),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("ngStyle",s.VKq(7,iA,i.headersTextColor)),s.xp6(1),s.hij(" ",s.Dn7(3,3,t,i.language,"title")," "),s.xp6(2),s.Q6J("ngIf",t.elements)}}function lA(t,e){if(1&t&&(s.TgZ(0,"span"),s.TgZ(1,"a",6),s._uU(2),s.qZA(),s.qZA()),2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.xp6(1),s.Q6J("href",t.url,s.LSH)("ngStyle",s.VKq(3,iA,n.copyrightTextColor)),s.xp6(1),s.Oqu(i?", "+t.name:t.name)}}const hA=function(t){return{background:t}};let dA=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new s.vpe}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=$f();switch(t){case"reportIssue":e.width="550px",this.dialog.open(tA,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(R))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,pA,2,1,"div",1),s.YNc(2,fA,3,1,"div",2),s.YNc(3,gA,2,1,"div",1),s.YNc(4,_A,2,4,"p",3),s.qZA(),s.TgZ(5,"div",4),s.TgZ(6,"div",5),s.TgZ(7,"div",6),s._UZ(8,"router-outlet"),s.qZA(),s.TgZ(9,"div",7),s._UZ(10,"perun-web-apps-footer"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Q6J("ngStyle",s.WLB(6,bA,e.headerBackgroundColor,e.headerTextColor)),s.xp6(1),s.Q6J("ngIf","admin-gui"===e.application),s.xp6(1),s.Q6J("ngIf","publications"===e.application),s.xp6(1),s.Q6J("ngIf","user-profile"===e.application),s.xp6(1),s.Q6J("ngIf",!!e.headerTitle),s.xp6(2),s.Q6J("ngStyle",s.WLB(9,yA,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[n.PC,n.O5,Ln,dA,af],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}"]}),t})();const wA=function(t){return{background:t}},MA=function(t){return{"min-height":t}};function vA(t,e){if(1&t){const t=s.EpF();s._UZ(0,"perun-web-apps-notificator"),s.TgZ(1,"div",2),s.TgZ(2,"perun-web-apps-header",3),s.NdJ("sidenavToggle",function(){return s.CHM(t),s.MAs(5).toggle()}),s.qZA(),s.TgZ(3,"mat-sidenav-container"),s.TgZ(4,"mat-sidenav",4,5),s._UZ(6,"perun-web-apps-side-menu",6),s.qZA(),s.TgZ(7,"mat-sidenav-content",7),s.TgZ(8,"div",8),s._UZ(9,"perun-web-apps-breadcrumbs"),s._UZ(10,"router-outlet"),s.qZA(),s.TgZ(11,"perun-web-apps-footer",9),s.NdJ("footerHeight",function(e){return s.CHM(t),s.oxw().setContentHeight(e)}),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(5),e=s.oxw();s.xp6(4),s.Q6J("mode",e.sidebarMode)("ngStyle",s.VKq(6,wA,e.sideMenuBgColor))("opened",!e.isMobile()),s.xp6(2),s.Q6J("sideNav",t),s.xp6(1),s.Q6J("ngStyle",s.VKq(8,wA,e.contentBackgroundColor)),s.xp6(1),s.Q6J("ngStyle",s.VKq(10,MA,e.contentHeight))}}function TA(t,e){if(1&t&&s._UZ(0,"perun-web-apps-login-screen-base",10),2&t){const t=s.oxw();s.Q6J("application","user-profile")("headerTitle",t.headerLabel)}}let kA=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.attributesManagerService=e,this.translateService=i,this.initAuth=n,this.changeDetector=s,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 84px)",this.headerLabel=this.store.get("header_label_en"),this.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isLoginScreenShown||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(t=>{const e=t.find(t=>"preferredLanguage"===t.friendlyName);e&&e.value&&this.translateService.use(e.value)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=t.minWidth}setContentHeight(t){this.contentHeight="calc(100vh - 84px - "+t+"px)",this.changeDetector.detectChanges()}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(U),s.Y36(Lf),s.Y36(fg),s.Y36(s.sBO))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&s.NdJ("resize",function(t){return e.getScreenSize(t)},!1,s.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"],[3,"footerHeight"],[3,"application","headerTitle"]],template:function(t,e){1&t&&(s.YNc(0,vA,12,12,"ng-template",0),s.YNc(1,TA,1,2,"perun-web-apps-login-screen-base",1)),2&t&&(s.Q6J("ngIf",!e.isLoginScreenShown),s.xp6(1),s.Q6J("ngIf",e.isLoginScreenShown))},directives:[n.O5,X_,oy,Cy,Ly,n.PC,Kb,Vy,ky,Jy,Ln,dA,AA],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}"]}),t})();var LA=i(9355);function CA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",15),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().index;return s.oxw().removeValue(e)}),s.TgZ(1,"mat-icon"),s._uU(2," indeterminate_check_box "),s.qZA(),s.qZA()}}function SA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",9),s.TgZ(1,"mat-form-field",10),s._UZ(2,"label",11),s.TgZ(3,"input",12),s.NdJ("click",function(){const e=s.CHM(t).index,i=s.oxw();return i.readonly&&i.attribute.displayName&&i.showValue(i.keys[e],i.attribute.displayName)})("ngModelChange",function(e){const i=s.CHM(t).index;return s.oxw().keys[i]=e}),s.qZA(),s.qZA(),s.TgZ(4,"mat-form-field",10),s._UZ(5,"label",11),s.TgZ(6,"input",13),s.NdJ("click",function(){const e=s.CHM(t).$implicit,i=s.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)})("ngModelChange",function(e){const i=s.CHM(t).index;return s.oxw().values[i]=e}),s.qZA(),s.qZA(),s.YNc(7,CA,3,0,"button",14),s.qZA()}if(2&t){const t=e.index,i=s.oxw();s.xp6(1),s.s9C("appearance",i.readonly?"none":"standard"),s.xp6(1),s.hYB("for","",i.attribute.id,"-key-",t,""),s.xp6(1),s.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),s.hYB("id","",i.attribute.id,"-key-",t,""),s.MGl("name","key-",t,""),s.Q6J("ngModel",i.keys[t])("readonly",i.readonly),s.xp6(1),s.s9C("appearance",i.readonly?"none":"standard"),s.xp6(1),s.hYB("for","",i.attribute.id,"-value-",t,""),s.xp6(1),s.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),s.MGl("name","value-",t,""),s.hYB("id","",i.attribute.id,"-value-",t,""),s.Q6J("readonly",i.readonly)("ngModel",i.values[t]),s.xp6(1),s.Q6J("ngIf",!i.readonly)}}function EA(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"more_horiz"),s.qZA())}function zA(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"keyboard_arrow_up"),s.qZA())}function xA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){return s.CHM(t),s.oxw().onShowChange()}),s.YNc(1,EA,2,0,"mat-icon",17),s.YNc(2,zA,2,0,"mat-icon",17),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",!t.showMore),s.xp6(1),s.Q6J("ngIf",t.showMore)}}function OA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw().addValue()}),s.TgZ(1,"mat-icon"),s._uU(2," add_box "),s.qZA(),s.qZA()}}let RA=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(void 0!==this.attribute.value){const t=this.attribute.value;for(const[e,i]of Object.entries(t))this.keys.push(e),this.values.push(i)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Jf(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 e=0;ee.defaultItemsShown),s.xp6(1),s.Q6J("ngIf",!e.readonly))},directives:[cd,Dh,sd,n.sg,rp,n.O5,Jl,Kg,ch,Ad,Rh,ad,Sc,af],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}"]}),t})();const DA=["input"],PA=function(t){return{enterDuration:t}},NA=["*"],IA=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:qA});function qA(){return{color:"accent",clickAction:"check-indeterminate"}}let BA=0;const YA=qA(),HA={provide:oh,useExisting:(0,s.Gpc)(()=>UA),multi:!0};class jA{}class FA{constructor(t){this._elementRef=t}}const WA=Na(Da(Pa(Ra(FA))));let UA=(()=>{class t extends WA{constructor(t,e,i,n,o,r,a){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++BA,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||YA,this.color=this.defaultColor=this._options.color||YA.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Gn(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Gn(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Gn(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new jA;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Hs),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(Aa,8),s.Y36(IA,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(DA,5),s.Gf(rc,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([HA]),s.qOj],ngContentSelectors:NA,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),i=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,PA,"NoopAnimations"===e._animationMode?0:150))}},directives:[rc,_s],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),KA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),ZA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ac,Oa,bs,KA],Oa,KA]}),t})();function GA(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-checkbox",2),s.NdJ("change",function(){return s.CHM(t),s.oxw()._sendEventToParent()})("ngModelChange",function(e){return s.CHM(t),s.oxw().attribute.value=e}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("ngModel",t.attribute.value)}}function XA(t,e){if(1&t&&(s.TgZ(0,"mat-label"),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.attribute.value)}}let VA=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new s.vpe}ngOnInit(){this.readonly||(this.readonly=Jf(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div"),s.YNc(1,GA,1,1,"mat-checkbox",0),s.YNc(2,XA,2,1,"mat-label",1),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",!e.readonly),s.xp6(1),s.Q6J("ngIf",e.readonly))},directives:[n.O5,UA,Rh,ad,Fl],styles:[""]}),t})();function $A(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function JA(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function QA(t,e){const i=e?"":"none";JA(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function tw(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function ew(t,e){return e?t+" "+e:t}function iw(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function nw(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function sw(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function ow(t,e,i){const{top:n,bottom:s,left:o,right:r}=t;return i>=n&&i<=s&&e>=o&&e<=r}function rw(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function aw(t,e,i,n){const{top:s,right:o,bottom:r,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>s-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:sw(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let o,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,r=t.left}else o=e.scrollTop,r=e.scrollLeft;const a=s.top-o,c=s.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&rw(t.clientRect,a,c)}),s.top=o,s.left=r,{top:a,left:c}}}function uw(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new cw(i,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Gn(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>QA(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>Qn(t)),this._handles.forEach(t=>QA(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Qn(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,gw),e.addEventListener("touchstart",this._pointerDown,fw)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Qn(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&yw(this._rootElement),yw(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),QA(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),QA(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&yw(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&yw(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){Aw(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),tw(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,o).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=Aw(e),s=!n&&0!==e.button,o=this._rootElement,r=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=sw(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){tw(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),o=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=ww(s,this._document),this._previewRef=s,t.matchSize?Mw(n,e):n.style.transform=_w(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=uw(t),Mw(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return JA(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),QA(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=nw(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),o=nw(e,"transition-duration"),r=nw(e,"transition-delay");return iw(o[s])+iw(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=ww(this._placeholderRef,this._document)):i=uw(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,o=Aw(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:s.left-i.left+(o.pageX-s.left-r.left),y:s.top-i.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=Aw(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+e,a=s.bottom-(o.height-e);i=bw(i,s.left+t,s.right-(o.width-t)),n=bw(n,r,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-s.x),r=Math.abs(i-s.y);return o>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),r>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,QA(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,gw),t.removeEventListener("touchstart",this._pointerDown,fw)}_applyRootElementTransform(t,e){const i=_w(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=ew(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=_w(t,e);this._preview.style.transform=ew(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,o=n.right-i.right,r=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),o>0&&(t-=o)):t=0,i.height>n.height?(r>0&&(e+=r),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Aw(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&rw(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=ps(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return Qn(i)}}function _w(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function bw(t,e,i){return Math.max(e,Math.min(i,t))}function yw(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Aw(t){return"t"===t.type[0]}function ww(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function Mw(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=_w(e.left,e.top)}function vw(t,e,i){const n=Tw(e,t.length-1),s=Tw(i,t.length-1);if(n===s)return;const o=t[n],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new lt.xQ,this.entered=new lt.xQ,this.exited=new lt.xQ,this.dropped=new lt.xQ,this.sorted=new lt.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Ft.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new lt.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=$c.P){return(!iu(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=$c.P),new ft.y(i=>(i.add(e.schedule($A,t,{subscriber:i,counter:0,period:t})),i))}(0,qc).pipe(ou(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?Cw(t,-e):2===this._verticalScrollDirection&&Cw(t,e),1===this._horizontalScrollDirection?Sw(t,-e):2===this._horizontalScrollDirection&&Sw(t,e)})},this.element=Qn(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new cw(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const o=this._activeDraggables,r=o.indexOf(t),a=t.getPlaceholderElement();let c=o[s];if(c===t&&(c=o[s+1]),r>-1&&o.splice(r,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(a,e),o.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=o[0].getRootElement();e.parentNode.insertBefore(a,e),o.unshift(t)}else Qn(this.element).appendChild(a),o.push(t);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,o,r){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:o,dropPoint:r})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Qn(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?Lw("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!aw(this._clientRect,.05,e,i))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=Lw(s,e=>e.drag===t),c=s[o],u=c.clientRect,l=a>o?1:-1,h=this._getItemOffsetPx(s[a].clientRect,u,l),d=this._getSiblingOffsetPx(a,s,l),p=s.slice();vw(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:t}),s.forEach((e,i)=>{if(p[i]===e)return;const n=e.drag===t,s=n?h:d,o=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,r?(o.style.transform=ew(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),rw(e.clientRect,0,s)):(o.style.transform=ew(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),rw(e.clientRect,s,0))}),this._previousSwap.overlaps=ow(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=r?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!i&&aw(o.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=Ew(e,n),o=zw(e,i);let r=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,t,e),(n||s)&&(i=r))}),!n&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};n=Ew(a,e),s=zw(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Qn(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Qn(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:sw(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=Qn(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,o=e[t+-1*i];let r=s[n?"width":"height"]*i;if(o){const t=n?"left":"top",e=n?"right":"bottom";-1===i?r-=o.clientRect[t]-s[e]:r+=s[t]-o.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,o=Lw(this._itemPositions,({drag:o,clientRect:r},a,c)=>{if(o===t)return c.length<2;if(n){const t=s?n.x:n.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!ow(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=Qn(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{rw(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 t=ps(Qn(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function Lw(t,e){for(let i=0;i=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}function zw(t,e){const{left:i,right:n,width:s}=t,o=.05*s;return e>=i-o&&e<=i+o?1:e>=n-o&&e<=n+o?2:0}const xw=ls({passive:!1,capture:!0});let Ow=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new lt.xQ,this.pointerUp=new lt.xQ,this.scroll=new lt.xQ,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,xw)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,xw)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:xw}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:xw}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(n.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(n.K0))},token:t,providedIn:"root"}),t})();const Rw={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Dw=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=Rw){return new mw(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new kw(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.R0b),s.LFG(ku),s.LFG(Ow))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(n.K0),s.LFG(s.R0b),s.LFG(ku),s.LFG(Ow))},token:t,providedIn:"root"}),t})();const Pw=new s.OlP("CDK_DRAG_PARENT"),Nw=new s.OlP("CdkDropListGroup"),Iw=new s.OlP("CDK_DRAG_CONFIG");let qw=0;const Bw=new s.OlP("CdkDropList");let Yw=(()=>{class t{constructor(e,i,n,o,r,a,c){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=o,this._dir=r,this._group=a,this._destroyed=new lt.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+qw++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new s.vpe,this.entered=new s.vpe,this.exited=new s.vpe,this.sorted=new s.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,i)=>this.sortPredicate(t,e.data,i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),a&&a._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Gn(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._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(kt(this._dir.value),ou(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=$n(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===i.indexOf(t)&&i.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Gn(this.sortingDisabled),e.autoScrollDisabled=Gn(this.autoScrollDisabled),e.autoScrollStep=Xn(this.autoScrollStep,2),e.connectedTo(i.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.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(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:s,listOrientation:o}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=s&&s,this.orientation=o||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Dw),s.Y36(s.sBO),s.Y36(vu),s.Y36(Ks,8),s.Y36(Nw,12),s.Y36(Iw,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(s.uIk("id",e.id),s.ekj("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[s._Bn([{provide:Nw,useValue:void 0},{provide:Bw,useExisting:t}])]}),t._dropLists=[],t})();const Hw=new s.OlP("CdkDragHandle"),jw=new s.OlP("CdkDragPlaceholder"),Fw=new s.OlP("CdkDragPreview");let Ww=(()=>{class t{constructor(e,i,n,o,r,a,c,u,l,h,d){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=r,this._dir=c,this._changeDetectorRef=l,this._selfHandle=h,this._parentDrag=d,this._destroyed=new lt.xQ,this.started=new s.vpe,this.released=new s.vpe,this.ended=new s.vpe,this.entered=new s.vpe,this.exited=new s.vpe,this.dropped=new s.vpe,this.moved=new ft.y(t=>{const e=this._dragRef.moved.pipe((0,wt.U)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=u.createDrag(e,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),a&&this._assignDefaults(a),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Gn(t),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.onStable.pipe((0,vt.q)(1),ou(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(kt(this._handles),(0,Ht.b)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),(0,Mt.w)(t=>(0,Nu.T)(...t.map(t=>t._stateChanges.pipe(kt(t))))),ou(this._destroyed)).subscribe(t=>{const e=this._dragRef,i=t.element.nativeElement;t.disabled?e.disableHandle(i):e.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?Uw(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?Uw(this.element.nativeElement,t):Qn(t):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=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 i&&i?i:Xn(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,vt.q)(1)).subscribe(()=>{var i,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(i=s.classList)||void 0===i?void 0:i.contains("cdk-drag")){e.withParent((null===(n=t._dragInstances.find(t=>t.element.nativeElement===s))||void 0===n?void 0:n._dragRef)||null);break}s=s.parentElement}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.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(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a,previewContainer:c}=t;this.disabled=null!=r&&r,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),s&&(this.previewClass=s),o&&(this.boundaryElement=o),a&&(this.rootElementSelector=a),c&&(this.previewContainer=c)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Bw,12),s.Y36(n.K0),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(Iw,8),s.Y36(Ks,8),s.Y36(Dw),s.Y36(s.sBO),s.Y36(Hw,10),s.Y36(Pw,12))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Fw,5),s.Suo(i,jw,5),s.Suo(i,Hw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._previewTemplate=t.first),s.iGM(t=s.CRH())&&(e._placeholderTemplate=t.first),s.iGM(t=s.CRH())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[s._Bn([{provide:Pw,useExisting:t}]),s.TTD]}),t._dragInstances=[],t})();function Uw(t,e){let i=t.parentElement;for(;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}let Kw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Dw],imports:[Lu]}),t})();const Zw=["*"],Gw=new s.OlP("MatChipRemove"),Xw=new s.OlP("MatChipAvatar"),Vw=new s.OlP("MatChipTrailingIcon");class $w{constructor(t){this._elementRef=t}}const Jw=Na(Da(Pa($w),"primary"),-1);let Qw=(()=>{class t extends Jw{constructor(t,e,i,n,o,r,a,c){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=o,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 lt.xQ,this._onBlur=new lt.xQ,this.selectionChange=new s.vpe,this.destroyed=new s.vpe,this.removed=new s.vpe,this._addHostClassName(),this._chipRippleTarget=r.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new sc(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===a,this.tabIndex=null!=c&&parseInt(c)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=Gn(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=Gn(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=Gn(t)}get removable(){return this._removable}set removable(t){this._removable=Gn(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):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(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),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(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case 46:case 8:this.remove(),t.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,vt.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(is),s.Y36(oc,8),s.Y36(s.sBO),s.Y36(n.K0),s.Y36(Aa,8),s.$8M("tabindex"))},t.\u0275dir=s.lG2({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,Xw,5),s.Suo(i,Vw,5),s.Suo(i,Gw,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.avatar=t.first),s.iGM(t=s.CRH())&&(e.trailingIcon=t.first),s.iGM(t=s.CRH())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(s.uIk("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),s.ekj("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._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:[s.qOj]}),t})();const tM=new s.OlP("mat-chips-default-options");class eM{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const iM=Ia(eM);let nM=0;class sM{constructor(t,e){this.source=t,this.value=e}}let oM=(()=>{class t extends iM{constructor(t,e,i,n,o,r,a){super(r,n,o,a),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this.ngControl=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new lt.xQ,this._uid="mat-chip-list-"+nM++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=Gn(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=Gn(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,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(t){this._disabled=Gn(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=Gn(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return(0,Nu.T)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return(0,Nu.T)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return(0,Nu.T)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return(0,Nu.T)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new Ss(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(ou(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(ou(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(kt(null),ou(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 Au(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(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&tt.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}}_selectValue(t,e=!0){const i=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new sM(this,e)),this.valueChange.emit(e),this._onChange(e),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(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&e._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Ks,8),s.Y36(sd,8),s.Y36(md,8),s.Y36(Xa),s.Y36(xh,10))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,Qw,5),2&t){let t;s.iGM(t=s.CRH())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.Ikx("id",e._uid),s.uIk("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),s.ekj("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[s._Bn([{provide:Bl,useExisting:t}]),s.qOj],ngContentSelectors:Zw,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),rM=0,aM=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new s.vpe,this.placeholder="",this.id="mat-chip-list-input-"+rM++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=Gn(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=Gn(t)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(t){if(t){if(9!==t.keyCode||Kn(t,"shiftKey")||this._chipList._allowFocusEscape(),8===t.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&8===t.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this.inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this.inputElement.focus(t)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(t){return!Kn(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(tM))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(s.Ikx("id",e.id),s.uIk("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[s.TTD]}),t})();const cM={separatorKeyCodes:[13]};let uM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Xa,{provide:tM,useValue:cM}],imports:[[Oa]]}),t})();function lM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-icon",9),s.NdJ("mousedown",function(){return s.CHM(t),s.oxw(2).dragDisabled=!1}),s._uU(1,"drag_indicator"),s.qZA()}}function hM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-icon",10),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw().edit(e)}),s._uU(1,"edit"),s.qZA()}}function dM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-icon",11),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit;return s.oxw().remove(e)}),s._uU(1,"cancel"),s.qZA()}}function pM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-chip",4),s.NdJ("removed",function(){const e=s.CHM(t).$implicit,i=s.oxw();return i.remove(e),i._sendEventToParent()}),s.YNc(1,lM,2,0,"mat-icon",5),s.TgZ(2,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit,i=s.oxw();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)}),s._uU(3),s.qZA(),s.YNc(4,hM,2,0,"mat-icon",7),s.YNc(5,dM,2,0,"mat-icon",8),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.Q6J("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),s.xp6(1),s.Q6J("ngIf",i.removable),s.xp6(1),s.ekj("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),s.xp6(1),s.Oqu(t),s.xp6(1),s.Q6J("ngIf",i.removable),s.xp6(1),s.Q6J("ngIf",i.removable)}}function fM(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"more_horiz"),s.qZA())}function gM(t,e){1&t&&(s.TgZ(0,"mat-icon"),s._uU(1,"keyboard_arrow_up"),s.qZA())}function mM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",12),s.TgZ(1,"span",13),s.TgZ(2,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw().onShowChange()}),s.YNc(3,fM,2,0,"mat-icon",15),s.YNc(4,gM,2,0,"mat-icon",15),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),s.xp6(2),s.Q6J("ngIf",!t.showMore),s.xp6(1),s.Q6J("ngIf",t.showMore)}}function _M(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",12),s.TgZ(1,"input",16),s.NdJ("matChipInputTokenEnd",function(e){return s.CHM(t),s.oxw().add(e)})("change",function(){return s.CHM(t),s.oxw()._sendEventToParent()}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(),e=s.MAs(2);s.xp6(1),s.Q6J("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let bM=(()=>{class t{constructor(t){this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new s.vpe,this.readonly=!1}ngOnInit(){this.removable=!Jf(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Jf(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(t){const e=t.input,i=t.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),e&&(e.value=""),this.sendEventToParent.emit()}remove(t){const e=$f();e.width="400px",e.data={name:t},this.dialog.open(d_,e).afterClosed().subscribe(e=>{if(e){const e=this.attribute.value.indexOf(t);this.attribute.value.splice(e,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(t){this.dragDisabled=!0,vw(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=$f();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(h_,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=$f();i.width="350px",i.data={value:t,title:e},this.dialog.open(l_,i)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff))},t.\u0275cmp=s.Xpm({type:t,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"mat-chip-list",0,1),s.NdJ("cdkDropListDropped",function(t){return e.drop(t),e._sendEventToParent()}),s.YNc(3,pM,6,9,"mat-chip",2),s.YNc(4,mM,5,4,"div",3),s.YNc(5,_M,2,3,"mat-form-field",3),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("cdkDropListDisabled",e.dragDisabled),s.xp6(2),s.Q6J("ngForOf",e.values.slice(0,e.itemsShown)),s.xp6(1),s.Q6J("ngIf",e.values.length>e.defaultItemsShown),s.xp6(1),s.Q6J("ngIf",!e.readonly))},directives:[oM,Yw,n.sg,n.O5,Qw,Ww,af,rp,Sc,Jl,Kg,aM],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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})(),yM=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new s.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Jf(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=$f();i.width="350px",i.data={value:t,title:e},this.dialog.open(l_,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-form-field",0),s.TgZ(1,"input",1),s.NdJ("click",function(){return e.readonly&&void 0!==e.value&&e.showValue(e.value,e.attribute.displayName)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),s.qZA(),s.qZA()),2&t&&(s.s9C("appearance",e.readonly?"none":"standard"),s.xp6(1),s.ekj("cursor-pointer",e.readonly&&void 0!==e.value),s.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[Jl,Kg,ch,Rh,ad],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})(),AM=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new s.vpe}ngOnInit(){this.readonly||(this.readonly=Jf(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=$f();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(l_,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff))},t.\u0275cmp=s.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(t,e){1&t&&(s.TgZ(0,"mat-form-field",0),s.TgZ(1,"input",1),s.NdJ("click",function(){return e.readonly&&void 0!==e.attribute.value&&e.showValue(e.attribute)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),s.qZA(),s.qZA()),2&t&&(s.s9C("appearance",e.readonly?"none":"standard"),s.xp6(1),s.ekj("cursor-pointer",e.readonly&&void 0!==e.attribute.value),s.Q6J("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[Jl,Kg,ld,ch,Rh,ad],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const wM=["map"];function MM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attribute-value-boolean",3),s.NdJ("sendEventToParent",function(){return s.CHM(t),s.oxw()._sendEventToParent2()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function vM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attribute-value-list",3),s.NdJ("sendEventToParent",function(){return s.CHM(t),s.oxw()._sendEventToParent2()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function TM(t,e){if(1&t&&s._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=s.oxw();s.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function kM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attribute-value-string",3),s.NdJ("sendEventToParent",function(){return s.CHM(t),s.oxw()._sendEventToParent2()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("attribute",t.attribute)("readonly",t.readonly)}}function LM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-attribute-value-integer",3),s.NdJ("sendEventToParent",function(){return s.CHM(t),s.oxw()._sendEventToParent2()}),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("attribute",t.attribute)("readonly",t.readonly)}}let CM=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new s.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){if(1&t&&s.Gf(wM,5),2&t){let t;s.iGM(t=s.CRH())&&(e.mapComponent=t.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(t,e){1&t&&(s.TgZ(0,"div"),s.YNc(1,MM,1,2,"perun-web-apps-attribute-value-boolean",0),s.YNc(2,vM,1,2,"perun-web-apps-attribute-value-list",0),s.TgZ(3,"div",1),s.NdJ("click",function(){return e._sendEventToParent2()}),s.YNc(4,TM,2,2,"perun-web-apps-attribute-value-map",2),s.qZA(),s.YNc(5,kM,1,2,"perun-web-apps-attribute-value-string",0),s.YNc(6,LM,1,2,"perun-web-apps-attribute-value-integer",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf","java.lang.Boolean"===e.attribute.type),s.xp6(1),s.Q6J("ngIf","java.util.ArrayList"===e.attribute.type),s.xp6(2),s.Q6J("ngIf","java.util.LinkedHashMap"===e.attribute.type),s.xp6(1),s.Q6J("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),s.xp6(1),s.Q6J("ngIf","java.lang.Integer"===e.attribute.type))},directives:[n.O5,VA,bM,RA,yM,AM],styles:[""]}),t})();function SM(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function EM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-option",16),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(4).changeLanguage(e)}),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"uppercase"),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",s.lcZ(2,2,s.lcZ(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function zM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",13),s.TgZ(1,"mat-select",14),s.NdJ("valueChange",function(e){return s.CHM(t),s.oxw(3).currentLang=e}),s.YNc(2,EM,4,6,"mat-option",15),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(1),s.Q6J("value",t.currentLang),s.xp6(1),s.Q6J("ngForOf",t.languages)}}function xM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"a",17),s._uU(2),s.qZA(),s.TgZ(3,"button",18),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).changeEmail()}),s.TgZ(4,"mat-icon"),s._uU(5," edit "),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(1),s.MGl("href","mailto:",t.email,"",s.LSH),s.xp6(1),s.Oqu(t.email)}}function OM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-option",16),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(4).changeTimeZone(e)}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function RM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",13),s.TgZ(1,"mat-select",19),s.NdJ("valueChange",function(e){return s.CHM(t),s.oxw(3).currentTimezone=e}),s.YNc(2,OM,2,2,"mat-option",15),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(3);s.xp6(1),s.Q6J("value",t.currentTimezone),s.xp6(1),s.Q6J("ngForOf",t.timeZones)}}function DM(t,e){1&t&&(s.TgZ(0,"p"),s._uU(1,"-"),s.qZA())}function PM(t,e){if(1&t&&s._UZ(0,"perun-web-apps-attribute-value",22),2&t){const t=s.oxw(2).$implicit;s.Q6J("attribute",t.attribute)("readonly",!0)}}function NM(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,DM,2,0,"p",20),s.YNc(2,PM,1,2,"perun-web-apps-attribute-value",21),s.qZA()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngIf",!t.attribute.value),s.xp6(1),s.Q6J("ngIf",t.attribute.value)}}function IM(t,e){if(1&t&&(s.TgZ(0,"tr"),s.TgZ(1,"td",7),s.TgZ(2,"div",8),s._uU(3),s.qZA(),s.qZA(),s.TgZ(4,"td",9),s.YNc(5,zM,3,2,"mat-form-field",10),s.YNc(6,xM,6,2,"div",11),s.YNc(7,RM,3,2,"mat-form-field",10),s.YNc(8,NM,3,2,"div",12),s.qZA(),s.qZA()),2&t){const t=e.$implicit,i=s.oxw(2);s.xp6(2),s.Q6J("matTooltip",t["tooltip_"+i.currentLang]),s.xp6(1),s.Oqu(t["displayName_"+i.currentLang]),s.xp6(1),s.Q6J("ngSwitch",t.attribute.friendlyName),s.xp6(1),s.Q6J("ngSwitchCase","preferredLanguage"),s.xp6(1),s.Q6J("ngSwitchCase","preferredMail"),s.xp6(1),s.Q6J("ngSwitchCase","timezone")}}function qM(t,e){if(1&t&&(s.TgZ(0,"table",4),s.TgZ(1,"tbody"),s.TgZ(2,"tr"),s.TgZ(3,"td",5),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.TgZ(7,"td"),s._uU(8),s.qZA(),s.qZA(),s.YNc(9,IM,9,6,"tr",6),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(4),s.Oqu(s.lcZ(5,3,s.lcZ(6,5,"PROFILE_PAGE.NAME"))),s.xp6(4),s.Oqu(t.fullName),s.xp6(1),s.Q6J("ngForOf",t.additionalAttributes)}}let BM=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u){this.translateService=t,this.dialog=e,this.authzResolverService=i,this.attributesManagerService=n,this.usersManagerService=s,this.route=o,this.router=r,this.notificator=a,this.storeService=c,this.apiRequestConfiguration=u,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=LA.tz.names().filter(t=>!t.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",t.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){const t=this.route.snapshot.queryParamMap,e=t.get("token"),i=t.get("u");this.loading=!0,e&&i?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(e,Number.parseInt(i,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const t=$f();t.width="600px",this.dialog.open(y_,t).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(t=>{this.userId=t.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.fullName=(new Tg).transform(t);const e=t.userAttributes.find(t=>"preferredMail"===t.friendlyName);this.email=e.value,this.languageAttribute=t.userAttributes.find(t=>"preferredLanguage"===t.friendlyName),this.currentLang=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value:"en",this.timezoneAttribute=t.userAttributes.find(t=>"timezone"===t.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const i=this.storeService.get("profile_page_attributes"),n=this.storeService.get("supported_languages");let s=0;i.forEach(e=>{const o=t.userAttributes.find(t=>t.friendlyName===e.friendly_name);o?(s++,this.addAttribute(o,e,n)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${e.is_virtual?"virt":"def"}:${e.friendly_name}`).subscribe(t=>{this.addAttribute(t,e,n),s++,this.loading=s!==i.length}),this.loading=s!==i.length})})})}addAttribute(t,e,i){var n;const s={attribute:t};for(const o of i)s[`displayName_${o}`]=e[`display_name_${o}`]&&e[`display_name_${o}`].length?e[`display_name_${o}`]:t.displayName,s[`tooltip_${o}`]=null!==(n=e[`tooltip_${o}`])&&void 0!==n?n:"";this.additionalAttributes.push(s)}changeLanguage(t){this.currentLang=t,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(()=>{})}changeTimeZone(t){this.currentTimezone=t,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 t=$f();t.width="350px",t.data={userId:this.userId},this.dialog.open(b_,t).afterClosed().subscribe(t=>{t&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(t=>{this.email=t.value})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Lf),s.Y36(Ff),s.Y36(K),s.Y36(U),s.Y36(J),s.Y36(Qe),s.Y36(Mn),s.Y36(_g),s.Y36(lg),s.Y36(mg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,SM,1,0,"mat-spinner",1),s.YNc(2,qM,10,7,"table",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,Pg,n.sg,rp,n.RF,n.n9,n.ED,Jl,Wd,yc,Sc,af,CM],pipes:[Cf,kg,n.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}"]}),t})();const YM=["mat-sort-header",""];function HM(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",3),s.NdJ("@arrowPosition.start",function(){return s.CHM(t),s.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return s.CHM(t),s.oxw()._disableViewStateAnimation=!1}),s._UZ(1,"div",4),s.TgZ(2,"div",5),s._UZ(3,"div",6),s._UZ(4,"div",7),s._UZ(5,"div",8),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),s.xp6(2),s.Q6J("@indicator",t._getArrowDirectionState()),s.xp6(1),s.Q6J("@leftPointer",t._getArrowDirectionState()),s.xp6(1),s.Q6J("@rightPointer",t._getArrowDirectionState())}}const jM=["*"],FM=new s.OlP("MAT_SORT_DEFAULT_OPTIONS");class WM{}const UM=qa(Ra(WM));let KM=(()=>{class t extends UM{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new lt.xQ,this.start="asc",this._direction="",this.sortChange=new s.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Gn(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let o=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(FM,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.qOj,s.TTD]}),t})();const ZM=Ea.ENTERING+" "+Sa.STANDARD_CURVE,GM={indicator:Vs("indicator",[eo("active-asc, asc",to({transform:"translateY(0px)"})),eo("active-desc, desc",to({transform:"translateY(10px)"})),no("active-asc <=> active-desc",$s(ZM))]),leftPointer:Vs("leftPointer",[eo("active-asc, asc",to({transform:"rotate(-45deg)"})),eo("active-desc, desc",to({transform:"rotate(45deg)"})),no("active-asc <=> active-desc",$s(ZM))]),rightPointer:Vs("rightPointer",[eo("active-asc, asc",to({transform:"rotate(45deg)"})),eo("active-desc, desc",to({transform:"rotate(-45deg)"})),no("active-asc <=> active-desc",$s(ZM))]),arrowOpacity:Vs("arrowOpacity",[eo("desc-to-active, asc-to-active, active",to({opacity:1})),eo("desc-to-hint, asc-to-hint, hint",to({opacity:.54})),eo("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",to({opacity:0})),no("* => asc, * => desc, * => active, * => hint, * => void",$s("0ms")),no("* <=> *",$s(ZM))]),arrowPosition:Vs("arrowPosition",[no("* => desc-to-hint, * => desc-to-active",$s(ZM,io([to({transform:"translateY(-25%)"}),to({transform:"translateY(0)"})]))),no("* => hint-to-desc, * => active-to-desc",$s(ZM,io([to({transform:"translateY(0)"}),to({transform:"translateY(25%)"})]))),no("* => asc-to-hint, * => asc-to-active",$s(ZM,io([to({transform:"translateY(25%)"}),to({transform:"translateY(0)"})]))),no("* => hint-to-asc, * => active-to-asc",$s(ZM,io([to({transform:"translateY(0)"}),to({transform:"translateY(-25%)"})]))),eo("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",to({transform:"translateY(0)"})),eo("hint-to-desc, active-to-desc, desc",to({transform:"translateY(-25%)"})),eo("hint-to-asc, active-to-asc, asc",to({transform:"translateY(25%)"}))]),allowChildren:Vs("allowChildren",[no("* <=> *",[oo("@*",so(),{optional:!0})])])};let XM=(()=>{class t{constructor(){this.changes=new lt.xQ}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const VM={provide:XM,deps:[[new s.FiY,new s.tp0,XM]],useFactory:function(t){return t||new XM}};class $M{}const JM=Ra($M);let QM=(()=>{class t extends JM{constructor(t,e,i,n,s,o){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Gn(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||32!==t.keyCode&&13!==t.keyCode||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=(0,Nu.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 t.\u0275fac=function(e){return new(e||t)(s.Y36(XM),s.Y36(s.sBO),s.Y36(KM,8),s.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),s.Y36(Hs),s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(s.uIk("aria-sort",e._getAriaSortAttribute()),s.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[s.qOj],attrs:YM,ngContentSelectors:jM,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.YNc(3,HM,6,6,"div",2),s.qZA()),2&t&&(s.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),s.uIk("tabindex",e._isDisabled()?null:0),s.xp6(3),s.Q6J("ngIf",e._renderArrow()))},directives:[n.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:[GM.indicator,GM.leftPointer,GM.rightPointer,GM.arrowOpacity,GM.arrowPosition,GM.allowChildren]},changeDetection:0}),t})(),tv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[VM],imports:[[n.ez,Oa]]}),t})(),ev=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),iv=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&s.NdJ("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})(),nv=(()=>{class t{transform(t){const e=t.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"getMailFromAttributes",type:t,pure:!0}),t})();function sv(t,e){1&t&&s._UZ(0,"th",17)}function ov(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",18),s.TgZ(1,"mat-checkbox",19),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function rv(t,e){1&t&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function av(t,e){if(1&t&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.userExtSource.id)}}function cv(t,e){1&t&&(s.TgZ(0,"th",17),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function uv(t,e){if(1&t&&(s.TgZ(0,"td",21),s._uU(1),s.ALo(2,"getMailFromAttributes"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.attributes))}}function lv(t,e){if(1&t&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function hv(t,e){if(1&t&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.userExtSource.extSource.name)}}function dv(t,e){if(1&t&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function pv(t,e){if(1&t&&(s.TgZ(0,"td",21),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.userExtSource.login)}}function fv(t,e){1&t&&(s.TgZ(0,"th",20),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function gv(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.ALo(2,"date"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.xi3(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function mv(t,e){1&t&&s._UZ(0,"tr",23)}const _v=function(t,e){return["/admin","users",t,"identities",e]};function bv(t,e){if(1&t&&s._UZ(0,"tr",24),2&t){const t=e.$implicit,i=s.oxw();s.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),s.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:s.WLB(6,_v,i.userId,t.userExtSource.id))("routerLink",i.disableRouting?null:s.WLB(9,_v,i.userId,t.userExtSource.id))}}function yv(t,e){1&t&&(s.TgZ(0,"app-alert",25),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Av=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new Au,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new s.vpe,this.pageSizeOptions=Vf}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new $m(this.userExtSources),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.userExtSource.id.toString();case"mail":{const e=t.attributes.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}case"extSourceName":return t.userExtSource.extSource.name;case"login":return t.userExtSource.login;case"lastAccess":return t.userExtSource.lastAccess.split(".")[0];default:return""}}exportData(t){ng(ig(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>eg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>tg(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Qe),s.Y36(rt))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(ag,7),s.Gf(KM,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.child=t.first),s.iGM(t=s.CRH())&&(e.matSort=t.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[s.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,sv,1,0,"th",4),s.YNc(5,ov,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,rv,4,5,"th",7),s.YNc(8,av,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,cv,4,5,"th",4),s.YNc(11,uv,3,3,"td",8),s.BQk(),s.ynx(12,10),s.YNc(13,lv,4,5,"th",7),s.YNc(14,hv,2,1,"td",8),s.BQk(),s.ynx(15,11),s.YNc(16,dv,4,5,"th",7),s.YNc(17,pv,2,1,"td",8),s.BQk(),s.ynx(18,12),s.YNc(19,fv,4,5,"th",7),s.YNc(20,gv,3,4,"td",13),s.BQk(),s.YNc(21,mv,1,0,"tr",14),s.YNc(22,bv,1,12,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.YNc(23,yv,4,5,"app-alert",16)),2&t&&(s.Q6J("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(19),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.userExtSources.length))},directives:[ag,Ym,KM,Fm,jm,Hm,Km,Zm,n.O5,Wm,Um,UA,QM,Gm,Xm,iv,vn,g_],pipes:[Cf,kg,nv,n.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})();function wv(t,e){1&t&&s._UZ(0,"mat-spinner",3)}function Mv(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"h1",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.TgZ(5,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).addIdentity()}),s._uU(6),s.ALo(7,"translate"),s.ALo(8,"customTranslate"),s.qZA(),s.TgZ(9,"button",6),s.NdJ("click",function(){s.CHM(t);const e=s.oxw(2);return e.removeIdentity(e.certSelection)}),s._uU(10),s.ALo(11,"translate"),s.ALo(12,"customTranslate"),s.qZA(),s._UZ(13,"perun-web-apps-user-ext-sources-list",11),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(2),s.Oqu(s.lcZ(3,10,s.lcZ(4,12,"IDENTITIES.CERT"))),s.xp6(4),s.Oqu(s.lcZ(7,14,s.lcZ(8,16,"IDENTITIES.ADD"))),s.xp6(3),s.Q6J("disabled",0===t.certSelection.selected.length),s.xp6(1),s.Oqu(s.lcZ(11,18,s.lcZ(12,20,"IDENTITIES.REMOVE"))),s.xp6(3),s.Q6J("userExtSources",t.certExtSources)("selection",t.certSelection)("extSourceNameHeader",t.extSourceNameCert)("loginHeader",t.loginCert)("displayedColumns",t.displayedColumnsCert)("disableRouting",!0)}}function vv(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"h1",4),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.TgZ(5,"button",5),s.NdJ("click",function(){return s.CHM(t),s.oxw().addIdentity()}),s._uU(6),s.ALo(7,"translate"),s.ALo(8,"customTranslate"),s.qZA(),s.TgZ(9,"button",6),s.NdJ("click",function(){s.CHM(t);const e=s.oxw();return e.removeIdentity(e.idpSelection)}),s._uU(10),s.ALo(11,"translate"),s.ALo(12,"customTranslate"),s.qZA(),s._UZ(13,"perun-web-apps-user-ext-sources-list",7),s.YNc(14,Mv,14,22,"div",2),s.TgZ(15,"h1",8),s._uU(16),s.ALo(17,"translate"),s.ALo(18,"customTranslate"),s.TgZ(19,"mat-icon",9),s.ALo(20,"translate"),s.ALo(21,"customTranslate"),s._uU(22," info_outline "),s.qZA(),s.qZA(),s._UZ(23,"perun-web-apps-user-ext-sources-list",10),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,17,s.lcZ(4,19,"IDENTITIES.IDP"))),s.xp6(4),s.Oqu(s.lcZ(7,21,s.lcZ(8,23,"IDENTITIES.ADD"))),s.xp6(3),s.Q6J("disabled",0===t.idpSelection.selected.length),s.xp6(1),s.Oqu(s.lcZ(11,25,s.lcZ(12,27,"IDENTITIES.REMOVE"))),s.xp6(3),s.Q6J("userExtSources",t.idpExtSources)("selection",t.idpSelection)("displayedColumns",t.displayedColumnsIdp)("loginHeader",t.loginIdp)("disableRouting",!0),s.xp6(1),s.Q6J("ngIf",t.displayCertificates),s.xp6(2),s.hij(" ",s.lcZ(17,29,s.lcZ(18,31,"IDENTITIES.OTHER"))," "),s.xp6(3),s.Q6J("matTooltip",s.lcZ(20,33,s.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),s.xp6(4),s.Q6J("userExtSources",t.otherExtSources)("selection",t.otherSelection)("extSourceNameHeader",t.extSourceNameOther)("displayedColumns",t.displayedColumnsOther)("disableRouting",!0)}}let Tv=(()=>{class t{constructor(t,e,i,n,s){this.usersManagerService=t,this.storage=e,this.registrarManagerService=i,this.dialog=n,this.attributesManagerService=s,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new Au(!0,[]),this.certSelection=new Au(!0,[]),this.otherSelection=new Au(!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(t=>{let e=t.length;t.forEach(t=>{this.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(i=>{i&&i.value?(t.userExtSource.extSource.name=i.value,e--,this.loading=0!==e,this.addToList(t)):this.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(i=>{e--,i&&i.value&&(t.userExtSource.extSource.name=i.value),this.loading=0!==e,this.addToList(t)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(t=>{const e=this.storage.getPerunPrincipal().extSourceType,i=this.storage.get("consolidator_base_url");window.location.href=`${i}${e&&e.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${t}`})}removeIdentity(t){const e=$f();e.width="600px",e.data={theme:"user-theme",userId:this.userId,extSources:t.selected},this.dialog.open(s_,e).afterClosed().subscribe(e=>{e&&(t.clear(),this.refreshTables())})}addToList(t){t.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(t):t.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(t):this.otherExtSources.push(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(J),s.Y36(lg),s.Y36(V),s.Y36(Ff),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",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(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,wv,1,0,"mat-spinner",1),s.YNc(2,vv,24,37,"div",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,Pg,Sc,Av,af,rp],pipes:[Cf,kg],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),t})();const kv=["panel"];function Lv(t,e){if(1&t&&(s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA()),2&t){const t=e.id,i=s.oxw();s.Q6J("id",i.id)("ngClass",i._classList),s.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const Cv=["*"];let Sv=0;class Ev{constructor(t,e){this.source=t,this.option=e}}class zv{}const xv=Pa(zv),Ov=new s.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let Rv=(()=>{class t extends xv{constructor(t,e,i,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=Ft.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new s.vpe,this.opened=new s.vpe,this.closed=new s.vpe,this.optionActivated=new s.vpe,this._classList={},this.id="mat-autocomplete-"+Sv++,this.inertGroups=(null==n?void 0:n.SAFARI)||!1,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Gn(t)}set classList(t){this._classList=t&&t.length?function(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Cs(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new Ev(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(Ov),s.Y36(is))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&(s.Gf(s.Rgc,7),s.Gf(kv,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.template=t.first),s.iGM(t=s.CRH())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[s.qOj]}),t})(),Dv=(()=>{class t extends Rv{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){if(1&t&&(s.Suo(i,gc,5),s.Suo(i,yc,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.optionGroups=t),s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[s._Bn([{provide:lc,useExisting:t}]),s.qOj],ngContentSelectors:Cv,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Lv,3,4,"ng-template"))},directives:[n.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}),t})();const Pv=new s.OlP("mat-autocomplete-scroll-strategy"),Nv={provide:Pv,deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},Iv={provide:oh,useExisting:(0,s.Gpc)(()=>Bv),multi:!0};let qv=(()=>{class t{constructor(t,e,i,n,s,o,r,a,c,u,l){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=s,this._dir=r,this._formField=a,this._document=c,this._viewportRuler=u,this._defaults=l,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Ft.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new lt.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=yt(()=>this.autocomplete&&this.autocomplete.options?(0,Nu.T)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe((0,vt.q)(1),(0,Mt.w)(()=>this.optionSelections))),this._scrollStrategy=o}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Gn(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Nu.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,at.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,at.h)(()=>this._overlayAttached)):(0,ut.of)()).pipe((0,wt.U)(t=>t instanceof _c?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Nu.T)(Oc(this._document,"click"),Oc(this._document,"auxclick"),Oc(this._document,"touchend")).pipe((0,at.h)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null,n=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.contains(e))&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(27!==e||Kn(t)||t.preventDefault(),this.activeOption&&13===e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,n=38===e||40===e;this.panelOpen||9===e?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe((0,vt.q)(1)),e=this.autocomplete.options.changes.pipe((0,Ht.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Tp.g)(0));return(0,Nu.T)(t,e).pipe((0,Mt.w)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,vt.q)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!ps(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new zu(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(27===t.keyCode&&!Kn(t)||38===t.keyCode&&Kn(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new Zu({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,n=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let s;s="above"===this.position?n:"below"===this.position?e:[...e,...n],t.withPositions(s)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,i=Ac(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else if(e.panel){const i=e.options.toArray()[t];if(i){const t=i._getHostElement(),n=wc(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(n)}}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(hl),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(Pv),s.Y36(Ks,8),s.Y36($l,9),s.Y36(n.K0,8),s.Y36(ku),s.Y36(Ov,8))},t.\u0275dir=s.lG2({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[s.TTD]}),t})(),Bv=(()=>{class t extends qv{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&s.NdJ("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&s.uIk("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[s._Bn([Iv]),s.qOj]}),t})(),Yv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Nv],imports:[[_l,Mc,Oa,n.ez],Lu,Mc,Oa]}),t})(),Hv=(()=>{class t{transform(t){return t&&t.value?t.value:"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"validateExpiration",type:t,pure:!0}),t})();function jv(t,e){1&t&&s._UZ(0,"th",15)}function Fv(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",16),s.TgZ(1,"mat-checkbox",17),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.ALo(2,"validateExpiration"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","never"===s.lcZ(2,3,t.expirationAttribute))}}function Wv(t,e){1&t&&(s.TgZ(0,"th",15),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))))}function Uv(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.entity.name)}}function Kv(t,e){1&t&&(s.TgZ(0,"th",15),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function Zv(t,e){if(1&t&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.entity.description)}}function Gv(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function Xv(t,e){if(1&t&&(s.TgZ(0,"td",18),s._uU(1),s.ALo(2,"validateExpiration"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",s.lcZ(2,1,t.expirationAttribute)," ")}}function Vv(t,e){1&t&&s._UZ(0,"th",15)}function $v(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",18),s.TgZ(1,"button",20),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().extend(e)}),s.ALo(2,"validateExpiration"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Q6J("disabled","never"===s.lcZ(2,2,t.expirationAttribute)),s.xp6(2),s.Oqu(s.lcZ(4,4,s.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function Jv(t,e){1&t&&s._UZ(0,"tr",21)}function Qv(t,e){1&t&&s._UZ(0,"tr",22)}function tT(t,e){1&t&&(s.TgZ(0,"app-alert",23),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let eT=(()=>{class t{constructor(){this.members=[],this.searchString="",this.selection=new Au(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSize=10,this.filterValue="",this.extendMembership=new s.vpe,this.pageSizeOptions=Vf}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new $m(this.members),this.setDataSource()}getDataForColumn(t,e){switch(e){case"name":return t.entity.name;case"description":return"description"in t.entity?t.entity.description:"";case"expirationAttribute":return t.expirationAttribute&&t.expirationAttribute.value?t.expirationAttribute.value:"never";default:return""}}exportData(t){ng(ig(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>eg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>tg(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.entity.id+1}`}extend(t){this.extendMembership.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(KM,7),s.Gf(ag,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[s.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","change","click"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,jv,1,0,"th",4),s.YNc(5,Fv,3,5,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Wv,4,5,"th",4),s.YNc(8,Uv,2,1,"td",5),s.BQk(),s.ynx(9,7),s.YNc(10,Kv,4,5,"th",4),s.YNc(11,Zv,2,1,"td",8),s.BQk(),s.ynx(12,9),s.YNc(13,Gv,4,5,"th",10),s.YNc(14,Xv,3,3,"td",8),s.BQk(),s.ynx(15,11),s.YNc(16,Vv,1,0,"th",4),s.YNc(17,$v,6,8,"td",8),s.BQk(),s.YNc(18,Jv,1,0,"tr",12),s.YNc(19,Qv,1,0,"tr",13),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,tT,4,5,"app-alert",14)),2&t&&(s.Q6J("hidden",!e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",!e.dataSource.filteredData.length))},directives:[ag,Ym,KM,Fm,jm,Hm,Km,Zm,n.O5,Wm,Um,UA,QM,Sc,Gm,Xm,g_],pipes:[Hv,Cf,kg],styles:[""]}),t})();function iT(t,e){if(1&t&&(s.TgZ(0,"mat-option",13),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t.name," ")}}function nT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",7),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s._UZ(4,"input",8),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.TgZ(7,"mat-autocomplete",9,10),s.NdJ("optionSelected",function(e){return s.CHM(t),s.oxw().filterByVo(e)}),s.TgZ(9,"mat-option",11),s._uU(10),s.ALo(11,"translate"),s.ALo(12,"customTranslate"),s.qZA(),s.YNc(13,iT,2,2,"mat-option",12),s.ALo(14,"async"),s.qZA(),s.qZA()}if(2&t){const t=s.MAs(8),e=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,7,"GROUPS.SELECT_VO")),s.xp6(2),s.s9C("placeholder",s.lcZ(5,9,s.lcZ(6,11,"GROUPS.SELECT_VO"))),s.Q6J("formControl",e.myControl)("matAutocomplete",t),s.xp6(3),s.Q6J("displayWith",e.displayFn),s.xp6(3),s.Oqu(s.lcZ(11,13,s.lcZ(12,15,"GROUPS.ALL"))),s.xp6(3),s.Q6J("ngForOf",s.lcZ(14,17,e.filteredVos))}}function sT(t,e){1&t&&s._UZ(0,"mat-spinner",14)}function oT(t,e){1&t&&(s.TgZ(0,"app-alert",15),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"GROUPS.NO_GROUPS"))))}const rT=function(){return["name","description","expirationAttribute","extend"]};function aT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"h4",16),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.TgZ(5,"perun-web-apps-membership-list",17),s.NdJ("extendMembership",function(e){return s.CHM(t),s.oxw().extendMembership(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,4,s.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),s.xp6(3),s.Q6J("members",t.userMemberships)("selection",t.selection)("displayedColumns",s.DdM(8,rT))}}const cT=function(){return["name","description"]};function uT(t,e){if(1&t&&(s.TgZ(0,"div",18),s.TgZ(1,"h4",16),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s._UZ(5,"perun-web-apps-membership-list",19),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,3,s.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),s.xp6(3),s.Q6J("members",t.adminMemberships)("displayedColumns",s.DdM(7,cT))}}let lT=(()=>{class t{constructor(t,e,i,n,s,o){this.usersService=t,this.memberService=e,this.groupService=i,this.store=n,this.vosManagerService=s,this.attributesManagerService=o,this.loading=!1,this.vos=[],this.myControl=new Qh,this.selection=new Au(!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(t=>{this.vos=t,this.filteredVos=this.myControl.valueChanges.pipe(kt(""),(0,wt.U)(t=>this._filter(t))),this.getAllGroups()})}_filter(t){const e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.vos.filter(t=>t.name.toLowerCase().includes(e))}getAllGroups(){this.loading=!0;let t=0,e=0;this.userMemberships=[],this.adminMemberships=[];const i=this.store.getPerunPrincipal().roles.SELF.Member;i.length?e=i.length:this.loading=!1,i.forEach(i=>{e--,this.groupService.getMemberGroups(i).subscribe(n=>{t+=n.length,this.loading=0===t&&0!==e,n.forEach(e=>{this.attributesManagerService.getMemberGroupAttributes(i,e.id).subscribe(i=>{t--,this.userMemberships.push({entity:e,expirationAttribute:i.find(t=>"groupMembershipExpiration"===t.friendlyName)}),this.loading=0!==t})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(t=>{t.forEach(t=>{this.adminMemberships.push({entity:t,expirationAttribute:null})})})}displayFn(t){return t?t.name:null}filterByVo(t){if("all"===t.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const e=t.option.value;this.memberService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.groupService.getMemberGroups(t.id).subscribe(e=>{let i=e.length;this.loading=0!==i,e.forEach(e=>{this.attributesManagerService.getMemberGroupAttributes(t.id,e.id).subscribe(t=>{i--,this.userMemberships.push({entity:e,expirationAttribute:t.find(t=>"groupMembershipExpiration"===t.friendlyName)}),this.loading=0!==i})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,e.id).subscribe(t=>{t.forEach(t=>{this.adminMemberships.push({entity:t,expirationAttribute:null})})})}}extendMembership(t){const e=this.store.get("registrar_base_url"),i=t.entity,n=this.vos.find(t=>t.id===i.voId).shortName;window.location.href=`${e}?vo=${n}&group=${t.entity.shortName}`}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(J),s.Y36(G),s.Y36(Z),s.Y36(lg),s.Y36(tt),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,nT,15,19,"mat-form-field",2),s.YNc(6,sT,1,0,"mat-spinner",3),s.YNc(7,oT,4,5,"app-alert",4),s.YNc(8,aT,6,9,"div",5),s.YNc(9,uT,6,8,"div",6),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,s.lcZ(3,8,"GROUPS.TITLE"))),s.xp6(4),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.userMemberships.length&&!e.adminMemberships.length&&!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading&&0!==e.userMemberships.length),s.xp6(1),s.Q6J("ngIf",!e.loading&&0!==e.adminMemberships.length))},directives:[n.O5,Jl,Fl,Kg,ch,Bv,Rh,fd,Dv,yc,n.sg,Pg,g_,eT],pipes:[Cf,kg,n.Ov],styles:[""]}),t})();function hT(t,e){if(1&t&&(s._UZ(0,"input",3),s.ALo(1,"translate")),2&t){const t=s.oxw();s.s9C("placeholder",s.lcZ(1,2,t.placeholder)),s.Q6J("formControl",t.formControl)}}function dT(t,e){if(1&t&&(s._UZ(0,"input",4),s.ALo(1,"translate")),2&t){const t=s.oxw();s.s9C("placeholder",s.lcZ(1,2,t.placeholder)),s.Q6J("formControl",t.formControl)}}let pT=(()=>{class t{constructor(){this.filter=new s.vpe,this.autoFocus=!1,this.formControl=new Qh}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-form-field",0),s.YNc(1,hT,2,4,"input",1),s.YNc(2,dT,2,4,"input",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.autoFocus),s.xp6(1),s.Q6J("ngIf",!e.autoFocus))},directives:[Jl,n.O5,Kg,ch,ev,Rh,fd],pipes:[Cf],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),t})(),fT=0;const gT=new s.OlP("CdkAccordion");let mT=(()=>{class t{constructor(){this._stateChanges=new lt.xQ,this._openCloseAllActions=new lt.xQ,this.id="cdk-accordion-"+fT++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Gn(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:gT,useExisting:t}]),s.TTD]}),t})(),_T=0,bT=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=Ft.w.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+_T++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Gn(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=Gn(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(gT,12),s.Y36(s.sBO),s.Y36(wu))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:gT,useValue:void 0}])]}),t})(),yT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const AT=["body"];function wT(t,e){}const MT=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],vT=["mat-expansion-panel-header","*","mat-action-row"];function TT(t,e){if(1&t&&s._UZ(0,"span",2),2&t){const t=s.oxw();s.Q6J("@indicatorRotate",t._getExpandedState())}}const kT=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],LT=["mat-panel-title","mat-panel-description","*"],CT=new s.OlP("MAT_ACCORDION"),ST={indicatorRotate:Vs("indicatorRotate",[eo("collapsed, void",to({transform:"rotate(0deg)"})),eo("expanded",to({transform:"rotate(180deg)"})),no("expanded <=> collapsed, void => collapsed",$s("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:Vs("bodyExpansion",[eo("collapsed, void",to({height:"0px",visibility:"hidden"})),eo("expanded",to({height:"*",visibility:"visible"})),no("expanded <=> collapsed, void => collapsed",$s("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let ET=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),zT=0;const xT=new s.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let OT=(()=>{class t extends bT{constructor(t,e,i,n,o,r,a){super(t,e,i),this._viewContainerRef=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new s.vpe,this.afterCollapse=new s.vpe,this._inputChanges=new lt.xQ,this._headerId="mat-expansion-panel-header-"+zT++,this._bodyAnimationDone=new lt.xQ,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe(Gc((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),a&&(this.hideToggle=a.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Gn(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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(kt(null),(0,at.h)(()=>this.expanded&&!this._portal),(0,vt.q)(1)).subscribe(()=>{this._portal=new zu(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(CT,12),s.Y36(s.sBO),s.Y36(wu),s.Y36(s.s_b),s.Y36(n.K0),s.Y36(Aa,8),s.Y36(xT,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,ET,5),2&t){let t;s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(AT,5),2&t){let t;s.iGM(t=s.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[s._Bn([{provide:CT,useValue:void 0}]),s.qOj,s.TTD],ngContentSelectors:vT,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(MT),s.Hsn(0),s.TgZ(1,"div",0,1),s.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,wT,0,0,"ng-template",3),s.qZA(),s.Hsn(6,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),s.uIk("aria-labelledby",e._headerId),s.xp6(4),s.Q6J("cdkPortalOutlet",e._portal))},directives:[Du],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ST.bodyExpansion]},changeDetection:0}),t})(),RT=(()=>{class t{constructor(t,e,i,n,s,o){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=o,this._parentChangeSubscription=Ft.w.EMPTY;const r=t.accordion?t.accordion._stateChanges.pipe((0,at.h)(t=>!(!t.hideToggle&&!t.togglePosition))):bt.E;this._parentChangeSubscription=(0,Nu.T)(t.opened,t.closed,r,t._inputChanges.pipe((0,at.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,at.h)(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:Kn(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(OT,1),s.Y36(s.SBq),s.Y36(Hs),s.Y36(s.sBO),s.Y36(xT,8),s.Y36(Aa,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.uIk("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),s.Udp("height",e._getHeaderHeight()),s.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:LT,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(s.F$t(kT),s.TgZ(0,"span",0),s.Hsn(1),s.Hsn(2,1),s.Hsn(3,2),s.qZA(),s.YNc(4,TT,1,1,"span",1)),2&t&&(s.xp6(4),s.Q6J("ngIf",e._showToggle()))},directives:[n.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}[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:""}\n'],encapsulation:2,data:{animation:[ST.indicatorRotate]},changeDetection:0}),t})(),DT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),PT=(()=>{class t extends mT{constructor(){super(...arguments),this._ownHeaders=new s.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Gn(t)}ngAfterContentInit(){this._headers.changes.pipe(kt(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ss(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&s.Suo(i,RT,5),2&t){let t;s.iGM(t=s.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[s._Bn([{provide:CT,useExisting:t}]),s.qOj]}),t})(),NT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,Oa,yT,Pu]]}),t})();function IT(t,e){1&t&&(s.TgZ(0,"mat-icon",1),s.ALo(1,"translate"),s._uU(2," visibility\n"),s.qZA()),2&t&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let qT=(()=>{class t{constructor(){this.recentIds=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&s.YNc(0,IT,3,3,"mat-icon",0),2&t&&s.Q6J("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[n.O5,af,rp],pipes:[Cf],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})();function BT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",3),s.NdJ("click",function(){return s.CHM(t),s.oxw().changeStatus()}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",4),s._uU(3,"check_circle_outline"),s.qZA(),s.qZA()}2&t&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function YT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"span",3),s.NdJ("click",function(){return s.CHM(t),s.oxw().changeStatus()}),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",5),s._uU(3,"block"),s.qZA(),s.qZA()}2&t&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function HT(t,e){if(1&t&&(s.TgZ(0,"span",6),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",7),s._uU(3,"report"),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.hYB("matTooltip","",s.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",t.failureCause,"")}}function jT(t,e){1&t&&(s.TgZ(0,"span",6),s.ALo(1,"translate"),s.TgZ(2,"mat-icon",8),s._uU(3,"autorenew"),s.qZA(),s.qZA()),2&t&&s.s9C("matTooltip",s.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let FT=(()=>{class t{constructor(t){this.dialog=t,this.status="",this.statusChange=new s.vpe}changeStatus(){const t=$f();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(F_,t).afterClosed().subscribe(t=>{t&&this.statusChange.emit()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff))},t.\u0275cmp=s.Xpm({type:t,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,BT,4,3,"span",1),s.YNc(2,YT,4,3,"span",1),s.YNc(3,HT,4,4,"span",2),s.YNc(4,jT,4,3,"span",2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf","ACTIVE"===e.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===e.status),s.xp6(1),s.Q6J("ngIf","FAILED"===e.status),s.xp6(1),s.Q6J("ngIf","PROCESSING"===e.status))},directives:[n.O5,rp,af],pipes:[Cf],styles:[""]}),t})(),WT=(()=>{class t{transform(t){if(null==t)return null;let e="";return t.forEach(function(t){e=e.concat(t.tagName)}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"resourceTagsToString",type:t,pure:!0}),t})(),UT=(()=>{class t{transform(t,e){return e?`/organizations/${t.voId}/resources/${t.id}`:`/facilities/${t.facilityId}/resources/${t.id}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"getResourceRoute",type:t,pure:!0}),t})();function KT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",20),s.TgZ(1,"mat-checkbox",21),s.NdJ("change",function(e){s.CHM(t);const i=s.oxw();return e?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function ZT(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",22),s.TgZ(1,"mat-checkbox",23),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function GT(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function XT(t,e){if(1&t&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function VT(t,e){1&t&&s._UZ(0,"th",20)}function $T(t,e){if(1&t&&(s.TgZ(0,"td",25),s._UZ(1,"perun-web-apps-recently-viewed-icon",26),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("recentIds",i.recentIds)("id",t.id)}}function JT(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function QT(t,e){if(1&t&&(s.TgZ(0,"td",25),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function tk(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function ek(t,e){if(1&t&&(s.TgZ(0,"td",25),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.vo.name)}}function ik(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function nk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",25),s.TgZ(1,"perun-web-apps-group-resource-status",27),s.NdJ("mouseenter",function(){return s.CHM(t),s.oxw().disabledRouting=!0})("mouseleave",function(){s.CHM(t);const e=s.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return s.CHM(t),s.oxw().refreshTable.emit()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("theme","group-theme")("resourceId",t.id)("groupId",i.groupId)("failureCause",t.failureCause)("status",t.status)}}function sk(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function ok(t,e){if(1&t&&(s.TgZ(0,"td",25),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.facility.name)}}function rk(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function ak(t,e){if(1&t&&(s.TgZ(0,"td",25),s._uU(1),s.ALo(2,"resourceTagsToString"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,t.resourceTags))}}function ck(t,e){1&t&&(s.TgZ(0,"th",24),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function uk(t,e){if(1&t&&(s.TgZ(0,"td",25),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.description)}}function lk(t,e){1&t&&s._UZ(0,"tr",28)}const hk=function(t){return[t]};function dk(t,e){if(1&t&&(s._UZ(0,"tr",29),s.ALo(1,"getResourceRoute"),s.ALo(2,"getResourceRoute")),2&t){const t=e.$implicit,i=s.oxw();s.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),s.Q6J("perunWebAppsMiddleClickRouterLink",s.VKq(12,hk,i.disabledRouting?null:s.xi3(1,6,t,i.routingVo)))("routerLink",i.disabledRouting?null:s.xi3(2,9,t,i.routingVo))}}function pk(t,e){1&t&&(s.TgZ(0,"app-alert",30),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function fk(t,e){1&t&&(s.TgZ(0,"app-alert",30),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let gk=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new Au(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=Vf,this.groupId=null,this.page=new s.vpe,this.refreshTable=new s.vpe,this.allSelected=new s.vpe,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.setAuth()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return t.vo.name;case"name":return t.name;case"facility":return t.facility.name;case"description":return t.description;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"tags":{if(!t.resourceTags)return t[e];let i="";return t.resourceTags.forEach(function(t){i=i.concat(t.tagName)}),i}case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}exportData(t){ng(ig(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new $m,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>eg(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>tg(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(t),t}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i])),!0),this.addAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i])),!0)}itemSelectionToggle(t){this.selection.toggle(t),this.setAuth()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(rt),s.Y36(wg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(KM,7),s.Gf(ag,7)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[s.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,KT,2,3,"th",4),s.YNc(5,ZT,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,GT,3,3,"th",7),s.YNc(8,XT,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,VT,1,0,"th",4),s.YNc(11,$T,2,2,"td",10),s.BQk(),s.ynx(12,11),s.YNc(13,JT,3,3,"th",7),s.YNc(14,QT,2,1,"td",10),s.BQk(),s.ynx(15,12),s.YNc(16,tk,3,3,"th",7),s.YNc(17,ek,2,1,"td",10),s.BQk(),s.ynx(18,13),s.YNc(19,ik,3,3,"th",7),s.YNc(20,nk,2,5,"td",10),s.BQk(),s.ynx(21,14),s.YNc(22,sk,3,3,"th",7),s.YNc(23,ok,2,1,"td",10),s.BQk(),s.ynx(24,15),s.YNc(25,rk,3,3,"th",7),s.YNc(26,ak,3,3,"td",10),s.BQk(),s.ynx(27,16),s.YNc(28,ck,3,3,"th",7),s.YNc(29,uk,2,1,"td",10),s.BQk(),s.YNc(30,lk,1,0,"tr",17),s.YNc(31,dk,3,14,"tr",18),s.qZA(),s.qZA(),s.qZA(),s.YNc(32,pk,3,3,"app-alert",19),s.YNc(33,fk,3,3,"app-alert",19)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),s.xp6(1),s.Q6J("ngIf",0===e.resources.length))},directives:[ag,Ym,KM,Fm,jm,Hm,Km,Zm,n.O5,Wm,UA,Um,QM,qT,FT,Gm,Xm,iv,vn,g_],pipes:[Cf,WT,UT],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})();function mk(t,e){1&t&&s._UZ(0,"mat-spinner",8)}const _k=function(){return["name","description"]};function bk(t,e){if(1&t&&s._UZ(0,"perun-web-apps-resources-list",9),2&t){const t=s.oxw(3);s.Q6J("resources",t.resources)("displayedColumns",s.DdM(3,_k))("disableRouting",!0)}}function yk(t,e){if(1&t&&(s.YNc(0,mk,1,0,"mat-spinner",6),s.YNc(1,bk,1,4,"perun-web-apps-resources-list",7)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",!t.loading)}}function Ak(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",4),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw().getMemberData(e)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.qZA(),s.qZA(),s.YNc(4,yk,2,2,"ng-template",5),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(3),s.hij(" ",t.name," ")}}let wk=(()=>{class t{constructor(t,e,i,n){this.usersManagerService=t,this.membersManagerService=e,this.resourcesManagerService=i,this.storage=n,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMemberData(t){this.loading=!0,this.membersManagerService.getMemberByUser(t.id,this.userId).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(t=>{this.resources=t,this.loading=!1})})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(J),s.Y36(G),s.Y36($),s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.TgZ(8,"mat-accordion"),s.YNc(9,Ak,5,1,"mat-expansion-panel",3),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,s.lcZ(3,5,"SERVICES.TITLE"))),s.xp6(4),s.Q6J("placeholder",s.lcZ(6,7,s.lcZ(7,9,"SERVICES.FILTER"))),s.xp6(4),s.Q6J("ngForOf",e.filteredVos))},directives:[pT,PT,n.sg,OT,RT,DT,ET,n.O5,Pg,gk],pipes:[Cf,kg],styles:[""]}),t})();function Mk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(e){return s.CHM(t),s.oxw().applyFilter(e)}),s.qZA()}2&t&&s.Q6J("placeholder","ORGANIZATIONS.FILTER")}function vk(t,e){1&t&&s._UZ(0,"mat-spinner",6)}const Tk=function(){return["name","expirationAttribute","extend"]};function kk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"perun-web-apps-membership-list",11),s.NdJ("extendMembership",function(e){return s.CHM(t),s.oxw(2).extendMembership(e)}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.xp6(1),s.Q6J("members",t.userMemberships)("selection",t.selection)("filterValue",t.filterValue)("displayedColumns",s.DdM(4,Tk))}}function Lk(t,e){1&t&&(s.TgZ(0,"app-alert",12),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function Ck(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"h1",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.YNc(5,kk,2,5,"div",9),s.YNc(6,Lk,4,5,"app-alert",10),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,3,s.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),s.xp6(3),s.Q6J("ngIf",0!==t.userMemberships.length),s.xp6(1),s.Q6J("ngIf",0===t.userMemberships.length)}}function Sk(t,e){1&t&&(s.TgZ(0,"app-alert",12),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const Ek=function(){return["name"]};function zk(t,e){if(1&t&&s._UZ(0,"perun-web-apps-membership-list",14),2&t){const t=s.oxw(2);s.Q6J("members",t.adminMemberships)("filterValue",t.filterValue)("displayedColumns",s.DdM(3,Ek))}}function xk(t,e){if(1&t&&(s.TgZ(0,"div",7),s.TgZ(1,"h1",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.YNc(5,Sk,4,5,"app-alert",10),s.YNc(6,zk,1,4,"perun-web-apps-membership-list",13),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,3,s.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),s.xp6(3),s.Q6J("ngIf",!t.adminMemberships.length),s.xp6(1),s.Q6J("ngIf",t.adminMemberships.length)}}let Ok=(()=>{class t{constructor(t,e,i){this.usersService=t,this.store=e,this.membersService=i,this.filterValue="",this.selection=new Au(!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(t=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vosCount=t.length+e.length,this.fillMemberships(t,this.userMemberships),this.fillMemberships(e,this.adminMemberships)})})}applyFilter(t){this.filterValue=t}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(t,e){this.membersService.getMembersByUser(this.userId).subscribe(i=>{t.forEach(t=>{const n=i.find(e=>e.voId===t.id);n?this.membersService.getRichMemberWithAttributes(n.id).subscribe(i=>{const n=i.memberAttributes.find(t=>"membershipExpiration"===t.friendlyName);e.push({entity:t,expirationAttribute:n}),this.isEverythingLoaded()}):(e.push({entity:t,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(t){const e=this.store.get("registrar_base_url");window.location.href=`${e}?vo=${t.entity.shortName}`}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(J),s.Y36(lg),s.Y36(G))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,Mk,1,1,"perun-web-apps-immediate-filter",2),s.YNc(6,vk,1,0,"mat-spinner",3),s.YNc(7,Ck,7,7,"div",4),s.YNc(8,xk,7,7,"div",4),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,s.lcZ(3,7,"ORGANIZATIONS.TITLE"))),s.xp6(4),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[n.O5,pT,Pg,eT,g_],pipes:[Cf,kg],styles:[""]}),t})(),Rk=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s._UZ(1,"router-outlet"),s.qZA())},directives:[Ln],styles:[""]}),t})(),Dk=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.ALo(8,"customTranslate"),s.qZA(),s.TgZ(9,"label"),s._UZ(10,"input",2),s.qZA(),s.qZA(),s.TgZ(11,"div",3),s.TgZ(12,"button",4),s.NdJ("click",function(){return e.onClose()}),s._uU(13),s.ALo(14,"translate"),s.ALo(15,"customTranslate"),s.qZA(),s.TgZ(16,"button",5),s._uU(17),s.ALo(18,"translate"),s.ALo(19,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,s.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),s.xp6(5),s.Oqu(s.lcZ(7,10,s.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),s.xp6(4),s.Q6J("value",e.password),s.xp6(3),s.hij(" ",s.lcZ(14,14,s.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),s.xp6(3),s.Q6J("cdkCopyToClipboard",e.password),s.xp6(1),s.hij(" ",s.lcZ(18,18,s.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[Uf,Kf,Zf,Sc,c_],pipes:[Cf,kg],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),t})();function Pk(t,e){1&t&&s._UZ(0,"mat-spinner",7)}function Nk(t,e){1&t&&s._UZ(0,"th",16)}function Ik(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t," ")}}function qk(t,e){1&t&&s._UZ(0,"tr",18)}function Bk(t,e){1&t&&s._UZ(0,"tr",19)}function Yk(t,e){if(1&t&&(s.TgZ(0,"div",8),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.TgZ(5,"div",9),s._uU(6),s.ALo(7,"translate"),s.ALo(8,"customTranslate"),s.qZA(),s.TgZ(9,"table",10),s.ynx(10,11),s.YNc(11,Nk,1,0,"th",12),s.YNc(12,Ik,2,1,"td",13),s.BQk(),s.YNc(13,qk,1,0,"tr",14),s.YNc(14,Bk,1,0,"tr",15),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,s.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(7,9,s.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),s.xp6(3),s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}let Hk=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new $m(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 t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(J))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,Pk,1,0,"mat-spinner",2),s.qZA(),s.YNc(6,Yk,15,13,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(9),s.ALo(10,"translate"),s.ALo(11,"customTranslate"),s.qZA(),s.TgZ(12,"button",6),s.NdJ("click",function(){return e.onSubmit()}),s._uU(13),s.ALo(14,"translate"),s.ALo(15,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,s.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),s.xp6(4),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading),s.xp6(3),s.hij(" ",s.lcZ(10,9,s.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(14,13,s.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[Uf,n.O5,Zf,Sc,Pg,Kf,Ym,Fm,jm,Hm,Km,Zm,Wm,Um,Gm,Xm],pipes:[Cf,kg],styles:[""]}),t})();function jk(t,e){1&t&&s._UZ(0,"th",12)}function Fk(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",13),s.TgZ(1,"mat-checkbox",14),s.NdJ("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function Wk(t,e){if(1&t&&(s.TgZ(0,"th",15),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.headerColumnText)}}function Uk(t,e){if(1&t&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function Kk(t,e){1&t&&s._UZ(0,"tr",17)}function Zk(t,e){1&t&&s._UZ(0,"tr",18)}function Gk(t,e){if(1&t&&(s.TgZ(0,"app-alert",19),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.alertText,"\n")}}let Xk=(()=>{class t{constructor(){this.values=[],this.selection=new Au(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new $m(this.values),this.setDataSource()}getExportDataForColumn(t){return t}exportData(t){ng(ig(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return(this.selection.isSelected(t)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-string-list"]],viewQuery:function(t,e){if(1&t&&s.Gf(ag,7),2&t){let t;s.iGM(t=s.CRH())&&(e.child=t.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[s.TTD],decls:12,vars:7,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSize","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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",""],["mat-cell","",1,"static-column-size"],["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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,jk,1,0,"th",4),s.YNc(5,Fk,2,2,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Wk,2,1,"th",7),s.YNc(8,Uk,2,1,"td",8),s.BQk(),s.YNc(9,Kk,1,0,"tr",9),s.YNc(10,Zk,1,0,"tr",10),s.qZA(),s.qZA(),s.qZA(),s.YNc(11,Gk,2,1,"app-alert",11)),2&t&&(s.Q6J("hidden",!e.values.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(7),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.values.length))},directives:[ag,Ym,Fm,jm,Hm,Km,Zm,n.O5,Wm,Um,UA,Gm,Xm,g_],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),t})();function Vk(t,e){if(1&t&&s._UZ(0,"perun-web-apps-string-list",10),2&t){const t=s.oxw();s.Q6J("values",t.displayedValues)("selection",t.selection)("alertText",t.alertText)("headerColumnText",t.headerColumnText)}}function $k(t,e){1&t&&s._UZ(0,"mat-spinner",11)}let Jk=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.usersManagerService=s,this.altPasswordCtrl=new Qh(null,[fh.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new Au(!1,[]),n.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),n.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}ngOnInit(){this.getAltPasswords()}createPassword(){const t=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",t).subscribe(()=>{const e=$f();e.width="600px",e.data={password:t},this.dialog.open(Dk,e),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let e="",i=0;const n=t.length;for(;i<16;++i)e+=t.charAt(Math.random()*n);return e.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),e}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(t=>{if(this.altPasswordsAttribute=t,t.value){const e=Object.keys(t.value);this.passwordDescriptions=new Set(e),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(t){return this.passwordDescriptions.has(t)}removeAltPasswords(){const t=$f();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(Hk,t).afterClosed().subscribe(t=>{t&&(this.getAltPasswords(),this.selection.clear())})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(U),s.Y36(Ff),s.Y36(Lf),s.Y36(J))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.TgZ(5,"mat-form-field",2),s.TgZ(6,"label",2),s._UZ(7,"input",3),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.qZA(),s.TgZ(10,"button",4),s.NdJ("click",function(){return e.createPassword()}),s._uU(11),s.ALo(12,"translate"),s.ALo(13,"customTranslate"),s.qZA(),s.TgZ(14,"app-alert",5),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"customTranslate"),s.qZA(),s.TgZ(18,"h1",6),s._uU(19),s.ALo(20,"translate"),s.ALo(21,"customTranslate"),s.qZA(),s.TgZ(22,"button",7),s.NdJ("click",function(){return e.removeAltPasswords()}),s._uU(23),s.ALo(24,"translate"),s.ALo(25,"customTranslate"),s.qZA(),s.YNc(26,Vk,1,4,"perun-web-apps-string-list",8),s.YNc(27,$k,1,0,"mat-spinner",9),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,11,s.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),s.xp6(5),s.s9C("placeholder",s.lcZ(8,15,s.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),s.Q6J("formControl",e.altPasswordCtrl),s.xp6(3),s.Q6J("disabled",!e.altPasswordCtrl.valid||e.alreadyContainsValue(e.altPasswordCtrl.value)),s.xp6(1),s.Oqu(s.lcZ(12,19,s.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))),s.xp6(4),s.Oqu(s.lcZ(16,23,s.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),s.xp6(4),s.Oqu(s.lcZ(20,27,s.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),s.xp6(3),s.Q6J("disabled",e.selection.isEmpty()),s.xp6(1),s.Oqu(s.lcZ(24,31,s.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[Jl,Kg,ch,Rh,fd,Sc,g_,n.O5,Xk,Pg],pipes:[Cf,kg],styles:[""]}),t})();function Qk(t,e){if(1&t&&(s.TgZ(0,"mat-list-item",1),s.TgZ(1,"mat-icon"),s._uU(2),s.qZA(),s.TgZ(3,"p",2),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.qZA()),2&t){const t=e.$implicit;s.Q6J("routerLink",t.url),s.xp6(2),s.Oqu(t.icon),s.xp6(2),s.Oqu(s.lcZ(5,3,s.lcZ(6,5,t.label)))}}let tL=(()=>{class t{constructor(t){this.storeService=t,this.items=[]}ngOnInit(){this.initItems();const t=this.storeService.get("displayed_tabs");this.items=this.items.filter(e=>t.includes(e.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(t,e){1&t&&(s.TgZ(0,"mat-list"),s.YNc(1,Qk,7,7,"mat-list-item",0),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngForOf",e.items))},directives:[jy,n.sg,Uy,rc,vn,af],pipes:[Cf,kg],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),t})();const eL=["row","column","row-reverse","column-reverse"];function iL(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let nL=(()=>{class t extends Ib{buildStyles(t){return function(t){let[e,i,n]=function(t){t=t?t.toLowerCase():"";let[e,i,n]=t.split(" ");return eL.find(t=>t===e)||(e=eL[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,iL(i),!!n]}(t);return function(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,i,n)}(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const sL=["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 oL=(()=>{class t extends gb{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="layout",this.styleCache=aL,this.init()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Nb),s.Y36(nL),s.Y36(qb))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})(),rL=(()=>{class t extends oL{constructor(){super(...arguments),this.inputs=sL}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,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:[s.qOj]}),t})();const aL=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let cL=(()=>{class t extends Ib{buildStyles(t){const e={};switch(t=t||"stretch"){case"start":e["align-self"]="flex-start";break;case"end":e["align-self"]="flex-end";break;default:e["align-self"]=t}return e}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=(0,s.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const uL=["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 lL=(()=>{class t extends gb{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="flex-align",this.styleCache=hL,this.init()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(Nb),s.Y36(cL),s.Y36(qb))},t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();const hL=new Map;let dL=(()=>{class t extends lL{constructor(){super(...arguments),this.inputs=uL}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275dir=s.lG2({type:t,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:[s.qOj]}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let pL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ob,Zs]]}),t})();function fL(t,e){if(1&t&&(s.TgZ(0,"mat-option",13),s._uU(1),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.Q6J("value",i.selectedUnit),s.xp6(1),s.hij(" ",t," ")}}let gL=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.rtMessagesService=i,this.notificator=n,this.translate=s,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",s.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new Qh(null,[fh.required]),this.newValueControl=new Qh(null,[fh.required,fh.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const t=(new Tg).transform(this.data.user);this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${t} (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`).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(X),s.Y36(_g),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"div"),s.TgZ(6,"p",2),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"p"),s._uU(11),s.qZA(),s.qZA(),s.TgZ(12,"div"),s.TgZ(13,"p",2),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"p"),s._uU(18),s.qZA(),s.qZA(),s.TgZ(19,"div",3),s.TgZ(20,"mat-form-field"),s.TgZ(21,"label",4),s._UZ(22,"input",5),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.TgZ(25,"mat-select",6),s.NdJ("valueChange",function(t){return e.selectedUnit=t}),s.YNc(26,fL,2,2,"mat-option",7),s.qZA(),s.qZA(),s.TgZ(27,"div"),s.TgZ(28,"mat-form-field",8),s.TgZ(29,"label",4),s._UZ(30,"textarea",9),s.ALo(31,"translate"),s.ALo(32,"customTranslate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(33,"div",10),s.TgZ(34,"button",11),s.NdJ("click",function(){return e.onCancel()}),s._uU(35),s.ALo(36,"translate"),s.ALo(37,"customTranslate"),s.qZA(),s.TgZ(38,"button",12),s.NdJ("click",function(){return e.onSubmit()}),s._uU(39),s.ALo(40,"translate"),s.ALo(41,"customTranslate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,14,s.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),s.xp6(6),s.Oqu(s.lcZ(8,18,s.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),s.xp6(4),s.Oqu(e.resource),s.xp6(3),s.Oqu(s.lcZ(15,22,s.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),s.xp6(4),s.Oqu(e.currentQuota),s.xp6(4),s.s9C("placeholder",s.lcZ(23,26,s.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),s.Q6J("formControl",e.newValueControl),s.xp6(3),s.Q6J("value",e.selectedUnit),s.xp6(1),s.Q6J("ngForOf",e.units),s.xp6(4),s.s9C("placeholder",s.lcZ(31,30,s.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),s.Q6J("formControl",e.reasonControl),s.xp6(5),s.hij(" ",s.lcZ(36,34,s.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",e.reasonControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(40,38,s.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[Uf,rL,dL,Jl,Kg,ld,ch,Ad,Rh,fd,Wd,n.sg,Zf,Sc,yc],pipes:[Cf,kg],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-ripple.mat-form-field-ripple[_ngcontent-%COMP%], .mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%]{display:none}"]}),t})();function mL(t,e){1&t&&s._UZ(0,"mat-spinner",8)}function _L(t,e){1&t&&(s.TgZ(0,"app-alert",9),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function bL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"p"),s.TgZ(2,"strong"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s._uU(6),s.qZA(),s.TgZ(7,"p",10),s._uU(8),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.TgZ(11,"button",11),s.NdJ("click",function(){s.CHM(t);const e=s.oxw().$implicit,i=s.oxw(3).$implicit;return s.oxw().requestChangeQuota(i,e)}),s._uU(12),s.ALo(13,"translate"),s.ALo(14,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(5);s.xp6(3),s.Oqu(s.lcZ(4,4,s.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),s.xp6(3),s.hij(" ",t.quotasMarkup,""),s.xp6(2),s.Oqu(s.lcZ(9,8,s.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),s.xp6(4),s.Oqu(s.lcZ(13,12,s.lcZ(14,14,"DATA_QUOTAS.CHANGE")))}}function yL(t,e){1&t&&(s.TgZ(0,"p"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function AL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",3),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw(4).getResAttributes(e.id)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.qZA(),s.qZA(),s.YNc(4,bL,15,16,"div",7),s.YNc(5,yL,4,5,"p",7),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw(4);s.xp6(3),s.hij(" ",t.name," "),s.xp6(1),s.Q6J("ngIf",i.defaultQuota),s.xp6(1),s.Q6J("ngIf",!i.defaultQuota)}}function wL(t,e){if(1&t&&(s.TgZ(0,"mat-accordion"),s.YNc(1,AL,6,3,"mat-expansion-panel",2),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Q6J("ngForOf",t.resources)}}function ML(t,e){if(1&t&&(s.YNc(0,mL,1,0,"mat-spinner",5),s.YNc(1,_L,4,5,"app-alert",6),s.YNc(2,wL,2,1,"mat-accordion",7)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",0===t.resources.length&&!t.loading),s.xp6(1),s.Q6J("ngIf",t.resources.length&&!t.loading)}}function vL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",3),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw().getMembersResources(e)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.qZA(),s.qZA(),s.YNc(4,ML,3,3,"ng-template",4),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(3),s.hij(" ",t.name," ")}}let TL=(()=>{class t{constructor(t,e,i,n,s,o){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=s,this.dialog=o,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMembersResources(t){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(t.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(t=>{let e=t.length;e||(this.loading=!1),t.forEach(t=>{this.attributesManagerService.getResourceAttributes(t.id).subscribe(i=>{e--,i.find(t=>"defaultDataQuotas"===t.friendlyName)&&this.resources.push(t),this.loading=0!==e})})})})}getResAttributes(t){this.attributesManagerService.getResourceAttributes(t).subscribe(t=>{let e=t.find(t=>"dataQuotas"===t.friendlyName);if(e&&e.value){const t=Object.keys(e.value);this.currentQuota=e.value[t[0]]}else this.currentQuota="";if(e=t.find(t=>"defaultDataQuotas"===t.friendlyName),e){const t=Object.keys(e.value);this.defaultQuota=e.value[t[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let t="";t+=this.currentQuota,t+=` (default: ${this.defaultQuota})`,t=t.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=t}requestChangeQuota(t,e){const i=$f();i.width="400px",i.data={vo:t,resource:e,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(gL,i)}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(J),s.Y36(G),s.Y36($),s.Y36(U),s.Y36(Ff))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"perun-web-apps-immediate-filter",1),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.TgZ(7,"mat-accordion"),s.YNc(8,vL,5,1,"mat-expansion-panel",2),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,s.lcZ(3,5,"DATA_QUOTAS.TITLE"))),s.xp6(3),s.Q6J("placeholder",s.lcZ(5,7,s.lcZ(6,9,"DATA_QUOTAS.FILTER"))),s.xp6(4),s.Q6J("ngForOf",e.filteredVos))},directives:[pT,PT,n.sg,OT,RT,DT,ET,n.O5,Pg,g_,Sc],pipes:[Cf,kg],styles:[""]}),t})();function kL(t,e){1&t&&s._UZ(0,"mat-spinner",8)}function LL(t,e){1&t&&(s.TgZ(0,"app-alert",9),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function CL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",3),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw(4).getOptOutAttribute(e)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.qZA(),s.qZA(),s.TgZ(4,"div",10),s.TgZ(5,"p"),s._uU(6),s.ALo(7,"translate"),s.ALo(8,"customTranslate"),s.qZA(),s.TgZ(9,"mat-checkbox",11),s.NdJ("change",function(){return s.CHM(t),s.oxw(4).setOptOut()}),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw(4);s.xp6(3),s.hij(" ",t.name," "),s.xp6(3),s.Oqu(s.lcZ(7,3,s.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),s.xp6(3),s.Q6J("checked",i.optOutAttribute&&null!==i.optOutAttribute.value)}}function SL(t,e){if(1&t&&(s.TgZ(0,"mat-accordion"),s.YNc(1,CL,10,7,"mat-expansion-panel",2),s.qZA()),2&t){const t=s.oxw(3);s.xp6(1),s.Q6J("ngForOf",t.resources)}}function EL(t,e){if(1&t&&(s.YNc(0,kL,1,0,"mat-spinner",5),s.YNc(1,LL,4,5,"app-alert",6),s.YNc(2,SL,2,1,"mat-accordion",7)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.loading),s.xp6(1),s.Q6J("ngIf",0===t.resources.length&&!t.loading),s.xp6(1),s.Q6J("ngIf",t.resources.length&&!t.loading)}}function zL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",3),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw().getMailingLists(e)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.qZA(),s.qZA(),s.YNc(4,EL,3,3,"ng-template",4),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(3),s.hij(" ",t.name," ")}}let xL=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=s,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMailingLists(t){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(t.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(e=>{let i=e.length;i||(this.loading=!1),e.forEach(e=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,e.id).subscribe(n=>{this.attributesManagerService.getResourceAttributeByName(e.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(s=>{i--;const o=n.find(t=>"optOutMailingList"===t.friendlyName);!o||s&&"true"===s.value||(this.optOuts.push({resource:e.id,member:t.id,attribute:o}),this.resources.push(e)),this.loading=0!==i})})})})})}getOptOutAttribute(t){this.index=this.resources.indexOf(t),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(J),s.Y36(G),s.Y36($),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"perun-web-apps-immediate-filter",1),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.TgZ(7,"mat-accordion"),s.YNc(8,zL,5,1,"mat-expansion-panel",2),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,s.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),s.xp6(3),s.Q6J("placeholder",s.lcZ(5,7,s.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),s.xp6(4),s.Q6J("ngForOf",e.filteredVos))},directives:[pT,PT,n.sg,OT,RT,DT,ET,n.O5,Pg,g_,UA],pipes:[Cf,kg],styles:[""]}),t})();function OL(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function RL(t,e){1&t&&s._UZ(0,"th",17)}function DL(t,e){if(1&t&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.hij(" ",t," ")}}function PL(t,e){1&t&&s._UZ(0,"tr",19)}function NL(t,e){1&t&&s._UZ(0,"tr",20)}function IL(t,e){if(1&t&&(s.TgZ(0,"table",11),s.ynx(1,12),s.YNc(2,RL,1,0,"th",13),s.YNc(3,DL,2,1,"td",14),s.BQk(),s.YNc(4,PL,1,0,"tr",15),s.YNc(5,NL,1,0,"tr",16),s.qZA()),2&t){const t=s.oxw(2);s.Q6J("dataSource",t.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns)}}function qL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",1),s.TgZ(1,"div",5),s.TgZ(2,"p"),s._uU(3),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.YNc(8,IL,6,3,"table",7),s.qZA(),s.TgZ(9,"div",8),s.TgZ(10,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(11),s.ALo(12,"translate"),s.ALo(13,"customTranslate"),s.qZA(),s.TgZ(14,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.hij(" ",t.description," "),s.xp6(2),s.hij(" ",s.lcZ(6,5,s.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),s.xp6(3),s.Q6J("ngIf",t.dataSource.data.length),s.xp6(3),s.hij(" ",s.lcZ(12,9,s.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(16,13,s.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let BL=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new $m(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let t=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?t.splice(this.data.valueIndex,1):t=t.filter(t=>!this.data.values.find(e=>e===t)),this.data.attribute.value=t}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.YNc(3,OL,1,0,"mat-spinner",2),s.qZA(),s.YNc(4,qL,18,17,"div",3)),2&t&&(s.xp6(1),s.Oqu(e.title),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[Uf,n.O5,Pg,Kf,Zf,Sc,Ym,Fm,jm,Hm,Km,Zm,Wm,Um,Gm,Xm],pipes:[Cf,kg],styles:[""]}),t})();function YL(t,e){1&t&&(s.TgZ(0,"app-alert",5),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function HL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-option",11),s.NdJ("click",function(){return s.CHM(t),s.oxw(3).changeValue()}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.Oqu(t)}}function jL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item"),s.TgZ(1,"mat-form-field",7),s.TgZ(2,"mat-select",8),s.NdJ("valueChange",function(e){const i=s.CHM(t).index;return s.oxw(2).shells[i]=e}),s.YNc(3,HL,2,2,"mat-option",9),s.qZA(),s.qZA(),s.TgZ(4,"button",10),s.NdJ("click",function(){const e=s.CHM(t).index;return s.oxw(2).removeShell(e)}),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=e.index,i=s.oxw(2);s.xp6(2),s.Q6J("value",i.shells[t]),s.xp6(1),s.Q6J("ngForOf",i.defaultShells),s.xp6(2),s.Oqu(s.lcZ(6,3,s.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function FL(t,e){if(1&t&&(s.TgZ(0,"mat-list"),s.YNc(1,jL,8,7,"mat-list-item",6),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.shells)}}let WL=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],n.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(t){const e=$f();e.width="600px",e.data={valueIndex:t,values:[this.shells[t]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(BL,e).afterClosed().subscribe(t=>{t&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(t=>{this.prefShellsAttribute=t,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(U),s.Y36(Ff),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"app-alert",1),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.TgZ(8,"button",2),s.NdJ("click",function(){return e.addShell()}),s._uU(9),s.ALo(10,"translate"),s.ALo(11,"customTranslate"),s.qZA(),s.YNc(12,YL,4,5,"app-alert",3),s.YNc(13,FL,2,1,"mat-list",4)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,s.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),s.xp6(4),s.hij(" ",s.lcZ(6,9,s.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),s.xp6(4),s.Oqu(s.lcZ(10,13,s.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),s.xp6(3),s.Q6J("ngIf",!e.loading&&0===e.shells.length),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[g_,Sc,n.O5,jy,n.sg,Uy,Jl,Wd,yc],pipes:[Cf,kg],styles:[""]}),t})();function UL(t,e){1&t&&s._UZ(0,"mat-spinner",4)}function KL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",5),s.TgZ(2,"mat-form-field",6),s.TgZ(3,"label",6),s._UZ(4,"input",7),s.qZA(),s.qZA(),s.qZA(),s.TgZ(5,"div",8),s.TgZ(6,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().onCancel()}),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"button",10),s.NdJ("click",function(){return s.CHM(t),s.oxw().onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.ALo(13,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(4),s.Q6J("formControl",t.inputControl),s.xp6(3),s.hij(" ",s.lcZ(8,4,s.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!t.inputControl.valid||t.groups.includes(t.inputControl.value)),s.xp6(1),s.hij(" ",s.lcZ(12,8,s.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let ZL=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.groups=[]}ngOnInit(){this.inputControl=new Qh(null,fh.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(t=>{const e=t.value?t.value:[];e.push(this.inputControl.value),t.value=e,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:t}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,UL,1,0,"mat-spinner",2),s.YNc(6,KL,14,12,"div",3),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,3,s.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),s.xp6(4),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[Uf,n.O5,Pg,Kf,Jl,Kg,ch,Ad,Rh,fd,Zf,Sc],pipes:[Cf,kg],styles:[""]}),t})();function GL(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",2),s.TgZ(1,"h4"),s._uU(2),s.qZA(),s.TgZ(3,"button",3),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().addGroupName(e)}),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.TgZ(7,"button",4),s.NdJ("click",function(){const e=s.CHM(t),i=e.$implicit,n=e.index;return s.oxw().removeGroupName(i,n)}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s._UZ(10,"perun-web-apps-string-list",5),s.qZA()}if(2&t){const t=e.$implicit,i=e.index,n=s.oxw();s.xp6(2),s.Oqu(t),s.xp6(2),s.Oqu(s.lcZ(5,8,s.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),s.xp6(3),s.Q6J("disabled",0===n.selectionList[i].selected.length),s.xp6(1),s.Oqu(s.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),s.xp6(2),s.Q6J("values",n.groupNames.get(t))("selection",n.selectionList[i])("alertText",n.alertText)("headerColumnText",n.headerColumnText)}}let XL=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],n.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(t=>this.alertText=t),n.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}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(t=>this.removeDialogDescription=t),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(t=>this.alertText=t),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}),this.initSelection(),this.namespaces.forEach(t=>{this.getAttribute(t)})}initSelection(){for(let t=0;t{this.groupNames.set(t,e.value?e.value:[]),this.groupNameAttributes.push(e)})}addGroupName(t){const e=this.groupNames.get(t),i=$f();i.width="400px",i.data={groups:e,namespace:t,userId:this.userId},this.dialog.open(ZL,i).afterClosed().subscribe(e=>{e&&this.getAttribute(t)})}removeGroupName(t,e){const i=$f();i.width="600px",i.data={values:this.selectionList[e].selected,attribute:this.groupNameAttributes[e],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(BL,i).afterClosed().subscribe(i=>{i&&(this.selectionList[e].clear(),this.getAttribute(t))})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(U),s.Y36(Ff),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.YNc(4,GL,11,14,"div",1)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,2,s.lcZ(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),s.xp6(3),s.Q6J("ngForOf",e.namespaces))},directives:[n.sg,Sc,Xk],pipes:[Cf,kg],styles:[""]}),t})();function VL(t,e){1&t&&(s.TgZ(0,"app-alert",7),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,s.lcZ(3,3,"ALERTS.NO_SAMBA")),"\n"))}function $L(t,e){1&t&&(s.TgZ(0,"app-alert",7),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,s.lcZ(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function JL(t,e){1&t&&(s.TgZ(0,"app-alert",8),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let QL=(()=>{class t{constructor(t,e,i,n,s){this.attributesManagerService=t,this.store=e,this.usersManagerService=i,this.notificator=n,this.translate=s,s.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),s.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(t=>this.showPwdTooltip=t),s.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(t=>this.hidePwdTooltip=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new Qh("",[fh.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 t=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,t,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(t=>{this.sambaExists=!!t.value,this.sambaAttribute=t})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(U),s.Y36(lg),s.Y36(J),s.Y36(_g),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.YNc(4,VL,4,5,"app-alert",1),s.YNc(5,$L,4,5,"app-alert",1),s.TgZ(6,"mat-form-field",2),s.TgZ(7,"label",2),s._UZ(8,"input",3),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.qZA(),s.TgZ(11,"button",4),s.NdJ("click",function(){return e.showPassword=!e.showPassword}),s.TgZ(12,"mat-icon"),s._uU(13),s.qZA(),s.qZA(),s.TgZ(14,"button",5),s.NdJ("click",function(){return e.setSambaPassword()}),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"customTranslate"),s.qZA(),s.YNc(18,JL,4,5,"app-alert",6)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,11,s.lcZ(3,13,"SAMBA_PASSWORD.TITLE"))),s.xp6(3),s.Q6J("ngIf",!e.sambaExists),s.xp6(1),s.Q6J("ngIf",e.sambaExists),s.xp6(3),s.s9C("placeholder",s.lcZ(9,15,s.lcZ(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),s.Q6J("formControl",e.sambaControl)("type",e.showPassword?"text":"password"),s.xp6(3),s.Q6J("matTooltip",e.showPassword?e.hidePwdTooltip:e.showPwdTooltip),s.xp6(2),s.Oqu(e.showPassword?"visibility_off":"visibility"),s.xp6(1),s.Q6J("disabled",0===e.sambaControl.value.length||e.sambaControl.invalid),s.xp6(1),s.Oqu(s.lcZ(16,19,s.lcZ(17,21,"SAMBA_PASSWORD.SET_PASSWORD"))),s.xp6(3),s.Q6J("ngIf",e.sambaControl.invalid))},directives:[n.O5,Jl,Kg,ch,Rh,fd,Sc,rp,af,g_],pipes:[Cf,kg],styles:[""]}),t})(),tC=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i}ngOnInit(){this.sshControl=new Qh(null,[fh.required,fh.pattern("^(ssh-rsa|ssh-ed25519|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521).+$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=this.data.attribute.value?this.data.attribute.value:[];t.includes(this.sshControl.value)||t.push(this.sshControl.value),this.data.attribute.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(U))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:19,vars:22,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","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"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"mat-form-field",2),s.TgZ(6,"label",2),s._UZ(7,"textarea",3),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(10,"div",4),s.TgZ(11,"button",5),s.NdJ("click",function(){return e.onCancel()}),s._uU(12),s.ALo(13,"translate"),s.ALo(14,"customTranslate"),s.qZA(),s.TgZ(15,"button",6),s.NdJ("click",function(){return e.onSubmit()}),s._uU(16),s.ALo(17,"translate"),s.ALo(18,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,6,s.lcZ(3,8,"DIALOGS.ADD_SSH.TITLE"))),s.xp6(6),s.s9C("placeholder",s.lcZ(8,10,s.lcZ(9,12,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),s.Q6J("formControl",e.sshControl),s.xp6(5),s.hij(" ",s.lcZ(13,14,s.lcZ(14,16,"DIALOGS.ADD_SSH.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!e.sshControl.valid),s.xp6(1),s.hij(" ",s.lcZ(17,18,s.lcZ(18,20,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[Uf,Kf,Jl,Kg,Bg,ch,Ad,Rh,fd,Zf,Sc],pipes:[Cf,kg],styles:[".input-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}"]}),t})(),eC=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"textarea",1),s._uU(2),s.qZA(),s.qZA(),s.TgZ(3,"mat-dialog-actions"),s.TgZ(4,"button",2),s.NdJ("click",function(){return e.onClose()}),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(e.sshKey),s.xp6(3),s.Oqu(s.lcZ(6,2,s.lcZ(7,4,"DIALOGS.SHOW_SSH.CLOSE"))))},directives:[Kg,Bg,Zf,Sc],pipes:[Cf,kg],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}[_ngcontent-%COMP%]:focus{outline:none}"]}),t})();function iC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item",4),s.TgZ(1,"p",5),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().showWholeKey(e)}),s._uU(2),s.qZA(),s.TgZ(3,"button",6),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.TgZ(6,"mat-icon"),s._uU(7," file_copy "),s.qZA(),s.qZA(),s.TgZ(8,"button",7),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().removeKey(e,!1)}),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.TgZ(11,"mat-icon"),s._uU(12," delete "),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(2),s.Oqu(t),s.xp6(1),s.s9C("matTooltip",s.lcZ(4,4,s.lcZ(5,6,"SSH_KEYS.COPY_TOOLTIP"))),s.Q6J("cdkCopyToClipboard",t),s.xp6(5),s.s9C("matTooltip",s.lcZ(9,8,s.lcZ(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function nC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-list-item",4),s.TgZ(1,"label",8),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().showWholeKey(e)}),s._uU(2),s.qZA(),s.TgZ(3,"button",9),s.TgZ(4,"mat-icon"),s._uU(5," file_copy "),s.qZA(),s.qZA(),s.TgZ(6,"button",10),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().removeKey(e,!0)}),s.TgZ(7,"mat-icon"),s._uU(8," delete "),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(2),s.Oqu(t),s.xp6(1),s.Q6J("cdkCopyToClipboard",t)}}let sC=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,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 Au(!1,[]),this.selectionAdmin=new Au(!1,[]),n.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),n.get("SSH_KEYS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(t){const e=$f();e.width="800px",e.data={attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(tC,e).afterClosed().subscribe(e=>{e&&(t?this.getAdminSSH():this.getUserSSH())})}removeKey(t,e){const i=$f();i.width="600px",i.data={values:[t],attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(BL,i).afterClosed().subscribe(t=>{t&&(this.loading=!0,e?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(t=>{this.userKeyAttribute=t,this.userKeys=t.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(t=>{this.adminKeyAttribute=t,this.adminKeys=t.value,this.loading=!1})}showWholeKey(t){const e=$f();e.width="600px",e.data={value:t},this.dialog.open(eC,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(lg),s.Y36(U),s.Y36(Ff),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.TgZ(8,"button",1),s.NdJ("click",function(){return e.addKey(!1)}),s._uU(9),s.ALo(10,"translate"),s.ALo(11,"customTranslate"),s.qZA(),s.TgZ(12,"mat-list"),s.YNc(13,iC,13,12,"mat-list-item",2),s.qZA(),s.TgZ(14,"h1",3),s._uU(15),s.ALo(16,"translate"),s.ALo(17,"customTranslate"),s.qZA(),s.TgZ(18,"p"),s._uU(19),s.ALo(20,"translate"),s.ALo(21,"customTranslate"),s.qZA(),s.TgZ(22,"button",1),s.NdJ("click",function(){return e.addKey(!0)}),s._uU(23),s.ALo(24,"translate"),s.ALo(25,"customTranslate"),s.qZA(),s.TgZ(26,"mat-list"),s.YNc(27,nC,9,2,"mat-list-item",2),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),s.xp6(4),s.Oqu(s.lcZ(6,12,s.lcZ(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),s.xp6(4),s.Oqu(s.lcZ(10,16,s.lcZ(11,18,"SSH_KEYS.NEW_KEY"))),s.xp6(4),s.Q6J("ngForOf",e.userKeys),s.xp6(2),s.Oqu(s.lcZ(16,20,s.lcZ(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),s.xp6(4),s.Oqu(s.lcZ(20,24,s.lcZ(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),s.xp6(4),s.Oqu(s.lcZ(24,28,s.lcZ(25,30,"SSH_KEYS.NEW_KEY"))),s.xp6(4),s.Q6J("ngForOf",e.adminKeys))},directives:[Sc,jy,n.sg,Uy,rc,c_,rp,af],pipes:[Cf,kg],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.cursor-pointer[_ngcontent-%COMP%], label[_ngcontent-%COMP%]:hover{cursor:pointer}"]}),t})(),oC=(()=>{class t{transform(t){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"isVirtualAttribute",type:t,pure:!0}),t})();function rC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"th",15),s.TgZ(1,"mat-checkbox",16),s.NdJ("change",function(e){s.CHM(t);const i=s.oxw();return e?i.masterToggle():null}),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(1),s.Q6J("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function aC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("click",function(t){return t.stopPropagation()})("change",function(e){const i=s.CHM(t).$implicit,n=s.oxw();return e?n.selection.toggle(i):null}),s.ALo(2,"isVirtualAttribute"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("checked",i.selection.isSelected(t))("disabled",s.lcZ(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function cC(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function uC(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.id)}}function lC(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function hC(t,e){if(1&t&&(s.TgZ(0,"td",20),s.TgZ(1,"div",21),s._uU(2),s.qZA(),s.qZA()),2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.s9C("matTooltip",i.getAttributeFullName(t)),s.xp6(1),s.hij(" ",t.displayName," ")}}function dC(t,e){1&t&&(s.TgZ(0,"th",15),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function pC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",20),s.TgZ(1,"perun-web-apps-attribute-value",22),s.NdJ("sendEventToParent2",function(){const e=s.CHM(t).$implicit;return s.oxw().onValueChange(e)}),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("attribute",t)("readonly",i.readonly||!t.writable)}}function fC(t,e){1&t&&(s.TgZ(0,"th",19),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function gC(t,e){if(1&t&&(s.TgZ(0,"td",20),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.description)}}function mC(t,e){1&t&&s._UZ(0,"tr",23)}function _C(t,e){if(1&t&&(s._UZ(0,"tr",24),s.ALo(1,"translate")),2&t){const t=e.$implicit,i=s.oxw();s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),s.Q6J("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function bC(t,e){1&t&&(s.TgZ(0,"app-alert",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function yC(t,e){if(1&t&&(s.TgZ(0,"app-alert",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,1,t.emptyListText),"\n")}}let AC=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new Au(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new s.vpe,this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=Vf}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new $m(this.attributes.filter(t=>!t.namespace.includes("def:core"))),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"displayName":return t.displayName;case"description":return t.description;case"value":return JSON.stringify(t.value);default:return""}}exportData(t){ng(ig(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hiddenColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>eg(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>tg(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}onValueChange(t){this.canBeSelected(t)&&this.selection.select(t)}canBeSelected(t){return!Jf(t)&&t.writable}getAttributeFullName(t){return`${t.namespace}:${t.friendlyName}`}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(rt),s.Y36(wg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){if(1&t&&(s.Gf(KM,7),s.Gf(ag,7),s.Gf(CM,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.matSort=t.first),s.iGM(t=s.CRH())&&(e.child=t.first),s.iGM(t=s.CRH())&&(e.items=t)}},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},outputs:{page:"page"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,rC,2,3,"th",4),s.YNc(5,aC,3,5,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,cC,3,3,"th",7),s.YNc(8,uC,2,1,"td",5),s.BQk(),s.ynx(9,8),s.YNc(10,lC,3,3,"th",7),s.YNc(11,hC,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,dC,3,3,"th",4),s.YNc(14,pC,2,2,"td",9),s.BQk(),s.ynx(15,11),s.YNc(16,fC,3,3,"th",7),s.YNc(17,gC,2,1,"td",9),s.BQk(),s.YNc(18,mC,1,0,"tr",12),s.YNc(19,_C,2,5,"tr",13),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,bC,3,3,"app-alert",14),s.YNc(21,yC,3,3,"app-alert",14)),2&t&&(s.Q6J("hidden",0===e.dataSource.filteredData.length),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",0===e.dataSource.data.length))},directives:[ag,Ym,KM,Fm,jm,Hm,Km,Zm,n.O5,Wm,UA,Um,QM,rp,CM,Gm,Xm,g_],pipes:[oC,Cf],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),t})();function wC(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function MC(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function vC(t,e){if(1&t&&s._UZ(0,"perun-web-apps-attributes-list",10),2&t){const t=s.oxw(3);s.Q6J("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function TC(t,e){if(1&t&&(s.YNc(0,MC,1,0,"mat-spinner",3),s.YNc(1,vC,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=s.oxw(2);s.Q6J("ngIf",t.innerLoading),s.xp6(1),s.Q6J("ngIf",!t.innerLoading)}}function kC(t,e){1&t&&s._UZ(0,"mat-spinner",5)}function LC(t,e){if(1&t&&s._UZ(0,"perun-web-apps-attributes-list",10),2&t){const t=s.oxw(4);s.Q6J("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function CC(t,e){if(1&t&&(s.YNc(0,kC,1,0,"mat-spinner",3),s.YNc(1,LC,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=s.oxw(3);s.Q6J("ngIf",t.innerLoading),s.xp6(1),s.Q6J("ngIf",!t.innerLoading)}}function SC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-expansion-panel",6),s.NdJ("opened",function(){const e=s.CHM(t).$implicit;return s.oxw(2).getMemberData(e)}),s.TgZ(1,"mat-expansion-panel-header"),s.TgZ(2,"mat-panel-title"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.qZA(),s.YNc(6,CC,2,2,"ng-template",7),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(3),s.AsE(" ",s.lcZ(4,2,s.lcZ(5,4,"PRIVACY.DATA")),"",t.name," ")}}function EC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-accordion"),s.TgZ(1,"mat-expansion-panel",6),s.NdJ("opened",function(){return s.CHM(t),s.oxw().getUserData()}),s.TgZ(2,"mat-expansion-panel-header"),s.TgZ(3,"mat-panel-title"),s._uU(4),s.ALo(5,"translate"),s.ALo(6,"customTranslate"),s.qZA(),s.qZA(),s.YNc(7,TC,2,2,"ng-template",7),s.qZA(),s.YNc(8,SC,7,6,"mat-expansion-panel",8),s.qZA()}if(2&t){const t=s.oxw();s.xp6(4),s.hij(" ",s.lcZ(5,2,s.lcZ(6,4,"PRIVACY.USER_INFO"))," "),s.xp6(4),s.Q6J("ngForOf",t.filteredVos)}}let zC=(()=>{class t{constructor(t,e,i,n){this.usersManagerService=t,this.membersService=e,this.attributesManagerService=i,this.storage=n,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(t=>{this.vos=t,this.filteredVos=t,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.user=t,this.attributes=t.userAttributes,this.username=(new Tg).transform(t),this.innerLoading=!1})}getMemberData(t){this.innerLoading=!0,this.membersService.getMemberByUser(t.id,this.userId).subscribe(t=>{this.membersService.getRichMemberWithAttributes(t.id).subscribe(t=>{this.attributes=t.memberAttributes,this.innerLoading=!1})})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(J),s.Y36(G),s.Y36(U),s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.TgZ(5,"perun-web-apps-immediate-filter",2),s.NdJ("filter",function(t){return e.applyFilter(t)}),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.YNc(8,wC,1,0,"mat-spinner",3),s.YNc(9,EC,9,6,"mat-accordion",4),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,s.lcZ(3,6,"PRIVACY.TITLE"))),s.xp6(4),s.Q6J("placeholder",s.lcZ(6,8,s.lcZ(7,10,"SERVICES.FILTER"))),s.xp6(3),s.Q6J("ngIf",e.outerLoading),s.xp6(1),s.Q6J("ngIf",!e.outerLoading))},directives:[pT,n.O5,Pg,PT,OT,RT,DT,ET,n.sg,AC],pipes:[Cf,kg],styles:[""]}),t})(),xC=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:[Ln],styles:[""]}),t})(),OC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[cf,n.ez]]}),t})(),RC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),DC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[RC,Oa],Oa]}),t})(),PC=(()=>{class t{constructor(){this.changes=new lt.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const NC={provide:new s.OlP("mat-datepicker-scroll-strategy"),deps:[hl],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let IC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[PC,NC],imports:[[n.ez,Ec,_l,Ws,Pu,Oa],Lu]}),t})(),qC=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,vd,Ec,ZA,cf,Ng,up]]}),t})(),BC=(()=>{class t extends Ga{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=s.n5z(t)))(i||t)}}(),t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const YC={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 HC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Ya,useClass:BC},{provide:Ha,useValue:YC}],imports:[[n.ez,ZA,Vm,Md,uM,Kw,Sf,In,tv,vp,Ng,OC,cf,Fp,Ec,up,Ql,vd,Zg,ac,vg,u_,DC,IC,D_,Mc,Ud,qC,Cu,Gf,Ef]]}),t})();function jC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function FC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function WC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_WEAK")))}function UC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_SHORT")))}function KC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function ZC(t,e){1&t&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PWD_DONT_MATCH")))}function GC(t,e){if(1&t&&(s.TgZ(0,"form",5),s.TgZ(1,"div",6),s.TgZ(2,"mat-form-field"),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"input",7),s.YNc(7,jC,3,3,"mat-error",8),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._UZ(12,"input",9),s.YNc(13,FC,3,3,"mat-error",8),s.YNc(14,WC,3,3,"mat-error",8),s.YNc(15,UC,3,3,"mat-error",8),s.qZA(),s.TgZ(16,"mat-form-field"),s.TgZ(17,"mat-label"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s._UZ(20,"input",10),s.YNc(21,KC,3,3,"mat-error",8),s.YNc(22,ZC,3,3,"mat-error",8),s.qZA(),s.TgZ(23,"p",11),s._uU(24),s.ALo(25,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Q6J("formGroup",t.formGroup),s.xp6(4),s.Oqu(s.lcZ(5,11,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),s.xp6(3),s.Q6J("ngIf",t.oldPwd.hasError("required")),s.xp6(3),s.Oqu(s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD")),s.xp6(3),s.Q6J("ngIf",t.newPwd.hasError("required")),s.xp6(1),s.Q6J("ngIf",t.newPwd.hasError("isWeak")&&!t.newPwd.hasError("minlength")),s.xp6(1),s.Q6J("ngIf",t.newPwd.hasError("minlength")),s.xp6(3),s.Oqu(s.lcZ(19,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.NEW_PASSWORD_AGAIN")),s.xp6(3),s.Q6J("ngIf",t.newPwdAgain.hasError("required")),s.xp6(1),s.Q6J("ngIf",t.newPwdAgain.hasError("noPasswordMatch")),s.xp6(2),s.Oqu(s.lcZ(25,17,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.PASSWORD_INFO"))}}function XC(t,e){1&t&&s._UZ(0,"mat-spinner",12)}function VC(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"div",14),s.TgZ(2,"button",15),s.NdJ("click",function(){return s.CHM(t),s.oxw().close()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"button",16),s.NdJ("click",function(){return s.CHM(t),s.oxw().changePassword()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",t.formGroup.invalid),s.xp6(1),s.hij(" ",s.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let $C=(()=>{class t{constructor(t,e,i,n,s,o){this.dialogRef=t,this.data=e,this._formBuilder=i,this.usersManagerService=n,this.notificator=s,this.translate=o,o.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",fh.required],passwordCtrl:["",fh.compose([cg.patternValidator([/\d/,/[A-Z]/,/[a-z]/,/[$&+,:;=?@#|'<>.^*()%!-]/]),fh.minLength(10)])],passwordAgainCtrl:[""]},{validator:cg.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(qf),s.Y36(Td),s.Y36(J),s.Y36(_g),s.Y36(Lf))},t.\u0275cmp=s.Xpm({type:t,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","","type","password"],[4,"ngIf"],["formControlName","passwordCtrl","matInput","","required","","type","password"],["formControlName","passwordAgainCtrl","matInput","","required","","type","password"],[1,"white-space-pre"],[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(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,GC,26,19,"form",2),s.YNc(5,XC,1,0,"mat-spinner",3),s.qZA(),s.YNc(6,VC,8,7,"div",4)),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),s.xp6(3),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("ngIf",!e.loading))},directives:[Uf,Kf,n.O5,cd,Dh,md,Jl,Fl,ch,Kg,Rh,bd,Ad,Il,Pg,Zf,Sc],pipes:[Cf],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}"]}),t})();function JC(t,e){1&t&&(s.TgZ(0,"app-alert"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function QC(t,e){1&t&&(s.TgZ(0,"th",16),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function tS(t,e){if(1&t&&(s.TgZ(0,"td",17),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.friendlyNameParameter)}}function eS(t,e){1&t&&(s.TgZ(0,"th",16),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function iS(t,e){if(1&t&&(s.TgZ(0,"td",18),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.value)}}function nS(t,e){1&t&&s._UZ(0,"th",16)}function sS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"button",20),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().resetPassword(e.friendlyNameParameter)}),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("disabled",!i.logins.includes(t)),s.xp6(1),s.Oqu(s.lcZ(3,2,s.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD")))}}function oS(t,e){1&t&&s._UZ(0,"th",16)}function rS(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"button",20),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().changePassword(e)}),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,i=s.oxw();s.xp6(1),s.Q6J("disabled",!i.logins.includes(t)),s.xp6(1),s.Oqu(s.lcZ(3,2,s.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function aS(t,e){1&t&&s._UZ(0,"tr",21)}function cS(t,e){1&t&&s._UZ(0,"tr",22)}let uS=(()=>{class t{constructor(t,e,i){this.attributesManagerService=t,this.store=e,this.dialog=i,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(t=>{const e=this.nameSpaces.map(t=>{const e=t.split(":");return e[e.length-1]});this.logins=t.filter(t=>e.includes(t.friendlyNameParameter)),this.dataSource=new $m(t)})}resetPassword(t){const e=this.store.get("pwd_reset_base_url");location.href=`${e}?login-namespace=${t}`}changePassword(t){const e=$f();e.width="600px",e.data={login:t.value,namespace:t.friendlyName.split(":")[1]},this.dialog.open($C,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(U),s.Y36(lg),s.Y36(Ff))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.YNc(4,JC,4,5,"app-alert",1),s.TgZ(5,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"table",5),s.ynx(9,6),s.YNc(10,QC,4,5,"th",7),s.YNc(11,tS,2,1,"td",8),s.BQk(),s.ynx(12,9),s.YNc(13,eS,4,5,"th",7),s.YNc(14,iS,2,1,"td",10),s.BQk(),s.ynx(15,11),s.YNc(16,nS,1,0,"th",7),s.YNc(17,sS,5,6,"td",12),s.BQk(),s.ynx(18,13),s.YNc(19,oS,1,0,"th",7),s.YNc(20,rS,5,6,"td",12),s.BQk(),s.YNc(21,aS,1,0,"tr",14),s.YNc(22,cS,1,0,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,5,s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),s.xp6(3),s.Q6J("ngIf",!e.logins.length),s.xp6(4),s.Q6J("dataSource",e.dataSource),s.xp6(13),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns))},directives:[n.O5,Ym,KM,Fm,jm,Hm,Km,Zm,g_,Wm,Um,Sc,Gm,Xm],pipes:[Cf,kg],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})();function lS(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function hS(t,e){1&t&&(s.TgZ(0,"app-alert",12),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function dS(t,e){if(1&t&&(s.TgZ(0,"div",13),s._UZ(1,"img",14),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("src",t.newImage,s.LSH)}}function pS(t,e){1&t&&(s.TgZ(0,"app-alert",11),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}i(6577);let fS=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.store=n,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(t){const e=t.dataTransfer?t.dataTransfer.files[0]:t.target.files[0],i=new FileReader;e.type.match(/image-*/)?(i.onload=this._handleReaderLoaded.bind(this),i.readAsDataURL(e)):alert("invalid format")}_handleReaderLoaded(t){const e=t.target;this.imgTooLong=e.result.length>=5120,this.newImage=e.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){function t(t,e,i,n){n.beginPath(),n.rect(20*t,20*e,20,20),n.fillStyle="rgb("+i.join(",")+")",n.fill()}this.newImage=function(){const e=function(){const t=document.createElement("canvas");t.width=100,t.height=100;const e=t.getContext("2d");return e.beginPath(),e.rect(0,0,100,100),e.fillStyle="#FFFFFF",e.fill(),t}(),i=e.getContext("2d"),n=function(){const t=[];for(let e=0;e<3;e++){const e=Math.floor(256*Math.random()),i=Math.max(120,e),n=Math.min(200,i);t.push(n)}return t}();for(let s=0;s{class t{constructor(t,e){this.http=t,this.storeService=e}getHeaders(){let t=new H.WM;return t=t.set("Authorization","Access-Control-Allow-Origin"),t}enableMfa(t,e){const i=`${this.storeService.get("mfa","api_url")}mfaEnabled`,n=`value=${t}`,s=new H.WM;return s.set("Authorization",`Bearer ${e}`),this.http.put(i,n,{headers:s}).pipe((0,zt.K)(t=>this.formatErrors(t)))}formatErrors(t){return(0,Wp._)(t.error)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(lg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mS=(()=>{class t{constructor(t,e){this.dialogRef=t,this.store=e}onCancel(){this.dialogRef.close()}onAdd(){const t=this.store.get("mfa","register_totp_url");window.open(t,"_blank"),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Nf),s.Y36(lg))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-add-token-info-dialog"]],decls:15,vars:15,consts:[["mat-dialog-content",""],["alert_type","info"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"div",0),s.TgZ(2,"app-alert",1),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.qZA(),s.TgZ(6,"div",2),s.TgZ(7,"button",3),s.NdJ("click",function(){return e.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.TgZ(11,"button",4),s.NdJ("click",function(){return e.onAdd()}),s._uU(12),s.ALo(13,"translate"),s.ALo(14,"customTranslate"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Oqu(s.lcZ(4,3,s.lcZ(5,5,"DIALOGS.ADD_TOKEN_INFO.INFO"))),s.xp6(5),s.hij(" ",s.lcZ(9,7,s.lcZ(10,9,"DIALOGS.ADD_TOKEN_INFO.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(13,11,s.lcZ(14,13,"DIALOGS.ADD_TOKEN_INFO.ADD"))," "))},directives:[Kf,g_,Zf,Sc],pipes:[Cf,kg],styles:[""]}),t})(),_S=(()=>{class t{transform(t,e){return"voRules"===t?"Vo rules":"groupRules"===t?"Group rules":t&&"never"!==t.toLowerCase()?(0,n.p6)(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=s.Yjl({name:"parseDate",type:t,pure:!0}),t})();const bS=["toggle"];function yS(t,e){if(1&t&&(s.TgZ(0,"div"),s._UZ(1,"img",22),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("src",t.imageSrc,s.LSH)}}function AS(t,e){1&t&&(s.TgZ(0,"app-alert",23),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"AUTHENTICATION.NO_TOKENS"))))}function wS(t,e){1&t&&s._UZ(0,"mat-spinner",24)}function MS(t,e){1&t&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"AUTHENTICATION.TYPE"))))}function vS(t,e){1&t&&s._UZ(0,"img",29)}function TS(t,e){1&t&&s._UZ(0,"img",30)}function kS(t,e){if(1&t&&(s.TgZ(0,"td",26),s.YNc(1,vS,1,0,"img",27),s.YNc(2,TS,1,0,"img",28),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngIf","WEBAUTHN"===t.type),s.xp6(1),s.Q6J("ngIf","TOTP"===t.type)}}function LS(t,e){1&t&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"AUTHENTICATION.NAME"))))}function CS(t,e){if(1&t&&(s.TgZ(0,"td",26),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.nickname)}}function SS(t,e){1&t&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"AUTHENTICATION.ADDED"))))}function ES(t,e){if(1&t&&(s.TgZ(0,"td",26),s._uU(1),s.ALo(2,"parseDate"),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(s.xi3(2,1,t.added,!0))}}function zS(t,e){1&t&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"AUTHENTICATION.USED"))))}function xS(t,e){if(1&t&&(s.TgZ(0,"td",26),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.used)}}function OS(t,e){1&t&&s._UZ(0,"th",25)}function RS(t,e){1&t&&(s.TgZ(0,"td",26),s.TgZ(1,"button",31),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"customTranslate"),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Oqu(s.lcZ(3,1,s.lcZ(4,3,"AUTHENTICATION.REVOKE"))))}function DS(t,e){1&t&&s._UZ(0,"tr",32)}function PS(t,e){1&t&&s._UZ(0,"tr",33)}let NS=(()=>{class t{constructor(t,e,i,n,s,o){this.dialog=t,this.attributesManagerService=e,this.store=i,this.translate=n,this.mfaService=s,this.oauthService=o,this.imageSrc="",this.tokens=[],this.displayedColumns=["type","nickname","added"],this.dataSource=new $m,this.pageSize=5,n.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(t=>this.removeDialogDescription=t)}ngOnInit(){this.accessToken=this.oauthService.getAccessToken(),this.idToken=this.oauthService.getIdToken(),this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(t=>this.removeDialogDescription=t)}),this.loadMFA(),this.loadImage()}onAddImg(){const t=$f();t.width="500px",t.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(fS,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}reAuthenticate(){sessionStorage.setItem("mfa_route","/profile/settings/auth"),this.oauthService.configure(this.getClientSettings()),this.oauthService.loadDiscoveryDocumentAndLogin()}onDeleteImg(){const t=$f();t.width="600px",t.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(BL,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}getClientSettings(){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"),useSilentRefresh:!1,sessionChecksEnabled:!0,customQueryParams:{max_age:0,acr_values:"https://refeds.org/profile/mfa"}}}ngAfterViewInit(){this.children.changes.subscribe(t=>{this.child=t.first,this.dataSource.paginator=this.child.paginator})}addTOTP(){const t=$f();t.width="600px",this.dialog.open(mS,t)}addWebAuthn(){const t=this.store.get("mfa","webauthn_url");window.open(t,"_blank")}loadImage(){const t=this.store.get("mfa","security_image_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(e=>{e?(this.imgAtt=e,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(t).subscribe(t=>{this.imgAtt=t})})}loadMFA(){this.loading=!0;const t=this.store.get("mfa","enforce_mfa_attribute"),e=this.store.get("mfa","tokens_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(i=>{sessionStorage.getItem("mfa_route")?(sessionStorage.removeItem("mfa_route"),this.mfaService.enableMfa(!i||!i.value,this.idToken).subscribe(()=>{this.loadMFA()},()=>this.loadMFA())):i?(this.mfaAtt=i,this.toggle&&(this.mfaAtt.value&&this.toggle.toggle(),this.toggle.change.subscribe(()=>{this.reAuthenticate()})),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?t.value&&t.value.forEach(t=>{const e=JSON.parse(t);this.tokens.push({added:e.added,revoked:e.revoked,data:e.data,used:e.used,type:e.type.toUpperCase(),nickname:e.name})}):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(e=>{t=e}),this.dataSource=new $m(this.tokens),this.dataSource.paginator=this.children.first.paginator,this.loading=!1})):this.attributesManagerService.getAttributeDefinitionByName(t).subscribe(t=>{this.mfaAtt=t})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Ff),s.Y36(U),s.Y36(lg),s.Y36(Lf),s.Y36(gS),s.Y36(hg.Ct))},t.\u0275cmp=s.Xpm({type:t,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(t,e){if(1&t&&(s.Gf(bS,5),s.Gf(ag,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.toggle=t.first),s.iGM(t=s.CRH())&&(e.children=t)}},decls:52,vars:46,consts:[[1,"page-subtitle"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],[1,"page-subtitle","mt-5"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","accent","mat-flat-button","",1,"mb-3",3,"click"],["alert_type","info",4,"ngIf"],[3,"hidden"],[1,"card","mt-2"],["class","ml-auto mr-auto",4,"ngIf"],[3,"dataLength","hideExport","pageSize"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","type"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["matColumnDef","nickname"],["matColumnDef","added"],["matColumnDef","used"],["matColumnDef","revoke"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alt","",1,"img-size",3,"src"],["alert_type","info"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["alt","","src","assets/img/webauthn-logo-black.svg","style","width: 2rem; height: 2rem",4,"ngIf"],["alt","","src","assets/img/totp.svg","style","width: 2rem; height: 2rem",4,"ngIf"],["alt","","src","assets/img/webauthn-logo-black.svg",2,"width","2rem","height","2rem"],["alt","","src","assets/img/totp.svg",2,"width","2rem","height","2rem"],["color","accent","mat-flat-button",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.ALo(6,"translate"),s.ALo(7,"customTranslate"),s.qZA(),s.YNc(8,yS,2,1,"div",1),s.TgZ(9,"button",2),s.NdJ("click",function(){return e.onAddImg()}),s._uU(10),s.ALo(11,"translate"),s.ALo(12,"customTranslate"),s.qZA(),s.TgZ(13,"button",3),s.NdJ("click",function(){return e.onDeleteImg()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"h1",4),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",5),s.NdJ("click",function(){return e.addTOTP()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.TgZ(25,"button",6),s.NdJ("click",function(){return e.addWebAuthn()}),s._uU(26),s.ALo(27,"translate"),s.ALo(28,"customTranslate"),s.qZA(),s.YNc(29,AS,4,5,"app-alert",7),s.TgZ(30,"div",8),s.TgZ(31,"div",9),s.YNc(32,wS,1,0,"mat-spinner",10),s.TgZ(33,"perun-web-apps-table-wrapper",11),s.TgZ(34,"table",12),s.ynx(35,13),s.YNc(36,MS,4,5,"th",14),s.YNc(37,kS,3,2,"td",15),s.BQk(),s.ynx(38,16),s.YNc(39,LS,4,5,"th",14),s.YNc(40,CS,2,1,"td",15),s.BQk(),s.ynx(41,17),s.YNc(42,SS,4,5,"th",14),s.YNc(43,ES,3,4,"td",15),s.BQk(),s.ynx(44,18),s.YNc(45,zS,4,5,"th",14),s.YNc(46,xS,2,1,"td",15),s.BQk(),s.ynx(47,19),s.YNc(48,OS,1,0,"th",14),s.YNc(49,RS,5,5,"td",15),s.BQk(),s.YNc(50,DS,1,0,"tr",20),s.YNc(51,PS,1,0,"tr",21),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Oqu(s.lcZ(2,18,s.lcZ(3,20,"AUTHENTICATION.TITLE"))),s.xp6(4),s.Oqu(s.lcZ(6,22,s.lcZ(7,24,"AUTHENTICATION.ANTI_PHISHING_INFO"))),s.xp6(3),s.Q6J("ngIf",e.imageSrc&&e.imageSrc.length),s.xp6(2),s.Oqu(s.lcZ(11,26,s.lcZ(12,28,"AUTHENTICATION.NEW_IMG"))),s.xp6(3),s.Q6J("disabled",!e.imgAtt||!e.imgAtt.value),s.xp6(1),s.Oqu(s.lcZ(15,30,s.lcZ(16,32,"AUTHENTICATION.DELETE_IMG"))),s.xp6(4),s.Oqu(s.lcZ(19,34,s.lcZ(20,36,"AUTHENTICATION.MFA"))),s.xp6(4),s.Oqu(s.lcZ(23,38,s.lcZ(24,40,"AUTHENTICATION.ADD_TOTP"))),s.xp6(4),s.Oqu(s.lcZ(27,42,s.lcZ(28,44,"AUTHENTICATION.ADD_WEBAUTHN"))),s.xp6(3),s.Q6J("ngIf",!e.tokens.length),s.xp6(1),s.Q6J("hidden",!e.tokens.length),s.xp6(2),s.Q6J("ngIf",e.loading),s.xp6(1),s.Q6J("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSize",e.pageSize),s.xp6(1),s.Q6J("dataSource",e.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",e.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",e.displayedColumns))},directives:[n.O5,Sc,ag,Ym,Fm,jm,Hm,Km,Zm,g_,Pg,Wm,Um,Gm,Xm],pipes:[Cf,kg,_S],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),t})(),IS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[n.ez,Ec,cf,In,HC,Sf,Ql,vd,Zg,OC]]}),t})();const qS=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dg))},t.\u0275cmp=s.Xpm({type:t,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(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h4",3),s._uU(4),s.ALo(5,"translate"),s.qZA(),s.TgZ(6,"button",4),s.NdJ("click",function(){return e.startAuth()}),s._uU(7),s.ALo(8,"translate"),s.TgZ(9,"mat-icon"),s._uU(10," login "),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.hij(" ",s.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),s.xp6(3),s.hij(" ",s.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Sc,af],pipes:[Cf],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})()},{path:"profile",component:xC,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:BM,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:Tv,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:lT,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:wk,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:Ok,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:zC,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:Rk,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:tL,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:Jk,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:NS,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:TL,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:xL,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:WL,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:XL,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:QL,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:sC,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:uS,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let BS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[In.forRoot(qS,{preloadingStrategy:En,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),t})();class YS{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}let HS=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[jS(tinycolor(n).lighten(52),"50"),jS(tinycolor(n).lighten(37),"100"),jS(tinycolor(n).lighten(26),"200"),jS(tinycolor(n).lighten(12),"300"),jS(tinycolor(n).lighten(6),"400"),jS(tinycolor(n),"500"),jS(tinycolor(n).darken(6),"600"),jS(tinycolor(n).darken(12),"700"),jS(tinycolor(n).darken(18),"800"),jS(tinycolor(n).darken(24),"900"),jS(tinycolor(n).lighten(50).saturate(30),"A100"),jS(tinycolor(n).lighten(30).saturate(30),"A200"),jS(tinycolor(n).lighten(10).saturate(15),"A400"),jS(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new H.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H.eN),s.LFG(lg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function jS(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let FS=(()=>{class t{constructor(t,e,i,n,s,o){this.initAuthService=t,this.appConfigService=e,this.store=i,this.location=n,this.authzSevice=s,this.titleService=o,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.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(t=>{throw console.error(t),this.location.go("/"),location.reload(),t}).then(t=>t?this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{this.authzSevice.configuration.basePath=this.store.get("api_url"),this.titleService.setTitle(this.store.get("document_title")),t()})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fg),s.LFG(HS),s.LFG(lg),s.LFG(n.Ye),s.LFG(K),s.LFG(Y))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let WS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[ob]]}),t})();new s.GfV("12.0.0-beta.34");let US=(()=>{class t{constructor(t,e){(0,n.PM)(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:ub,useValue:Object.assign(Object.assign({},cb),e)},{provide:hb,useValue:i,multi:!0},{provide:lb,useValue:!0}]:[{provide:ub,useValue:Object.assign(Object.assign({},cb),e)},{provide:hb,useValue:i,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(lb),s.LFG(s.Lbi))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[pL,Gb,WS],pL,Gb,WS]}),t})(),KS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Oa],Oa]}),t})();const ZS=new s.OlP("perun-api-service");let GS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),XS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[GS,ac,Oa,bs],GS,Oa]}),t})();const VS={provide:H.TP,useExisting:(0,s.Gpc)(()=>bg),multi:!0};function $S(t){return new YS(t,"./assets/i18n/",".json")}function JS(t){const e={basePath:t.get("api_url")};return new W(e)}const QS=t=>()=>t.initialize();let tE=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(gg),s.LFG(Lf))},t.\u0275mod=s.oAB({type:t,bootstrap:[kA]}),t.\u0275inj=s.cJS({providers:[gg,{provide:s.ip1,useFactory:QS,multi:!0,deps:[FS]},{provide:W,useFactory:JS,deps:[lg]},Tg,bg,VS,{provide:ZS,useClass:Ag}],imports:[[q,Ta,H.JF,Sf.forRoot({loader:{provide:uf,useFactory:$S,deps:[H.eN]}}),BS,cf,Sy,Ky,In,Ec,US,ib,HC,OC,NT,Ql,Ud,Gf,Vm,Zg,vd,ZA,vp,Ng,tv,KS,u_,vg,Yv,ac,up,XS,D_,Md,IS,Ef,Fp,hg.zr.forRoot()]]}),t})();(0,s.G48)(),N().bootstrapModule(tE).catch(t=>console.error(t))},1511:function(t,e,i){"use strict";i.d(e,{mr:function(){return A},Ov:function(){return kt},ez:function(){return St},K0:function(){return c},uU:function(){return Ct},Do:function(){return M},V_:function(){return h},Ye:function(){return v},S$:function(){return b},mk:function(){return ct},sg:function(){return lt},O5:function(){return dt},PC:function(){return yt},RF:function(){return mt},n9:function(){return _t},ED:function(){return bt},b0:function(){return w},lw:function(){return u},gd:function(){return Lt},EM:function(){return Ot},JF:function(){return Pt},p6:function(){return U},NF:function(){return zt},PM:function(){return xt},w_:function(){return a},bD:function(){return Et},q:function(){return o},Mx:function(){return at},HT:function(){return r}});var n=i(1572);let s=null;function o(){return s}function r(t){s||(s=t)}class a{}const c=new n.OlP("DocumentToken");let u=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:l,token:t,providedIn:"platform"}),t})();function l(){return(0,n.LFG)(d)}const h=new n.OlP("Location Initialized");let d=(()=>{class t extends u{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){p()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){p()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(c))},t.\u0275prov=(0,n.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,n.LFG)(c))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let b=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,n.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,n.LFG)(c).location;return new w((0,n.LFG)(u),e&&e.origin||"")}const A=new n.OlP("appBaseHref");let w=(()=>{class t extends b{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(A,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t extends b{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(u),n.LFG(A,8))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t{constructor(t,e){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(k(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,k(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(b),n.LFG(u))},t.normalizeQueryParams=_,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=(0,n.Yz7)({factory:T,token:t,providedIn:"root"}),t})();function T(){return new v((0,n.LFG)(b),(0,n.LFG)(u))}function k(t){return t.replace(/\/index.html$/,"")}var L=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),C=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),S=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),E=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),z=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function x(t,e){return I((0,n.cg1)(t)[n.wAp.DateFormat],e)}function O(t,e){return I((0,n.cg1)(t)[n.wAp.TimeFormat],e)}function R(t,e){return I((0,n.cg1)(t)[n.wAp.DateTimeFormat],e)}function D(t,e){const i=(0,n.cg1)(t),s=i[n.wAp.NumberSymbols][e];if(void 0===s){if(e===z.CurrencyDecimal)return i[n.wAp.NumberSymbols][z.Decimal];if(e===z.CurrencyGroup)return i[n.wAp.NumberSymbols][z.Group]}return s}const P=n.kL8;function N(t){if(!t[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function I(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function q(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},H=/((?:[^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 j=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),F=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),W=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function U(t,e,i,n){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return K(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(B))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const r=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,r,a,c,u),e}(i)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Z(i,e)||e;let o,r=[];for(;e;){if(o=H.exec(e),!o){r.push(e);break}{r=r.concat(o.slice(1));const t=r.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=nt(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,n)-n))}(s,n));let c="";return r.forEach(t=>{const e=function(t){if(it[t])return it[t];let e;switch(t){case"G":case"GG":case"GGG":e=$(W.Eras,S.Abbreviated);break;case"GGGG":e=$(W.Eras,S.Wide);break;case"GGGGG":e=$(W.Eras,S.Narrow);break;case"y":e=V(F.FullYear,1,0,!1,!0);break;case"yy":e=V(F.FullYear,2,0,!0,!0);break;case"yyy":e=V(F.FullYear,3,0,!1,!0);break;case"yyyy":e=V(F.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=V(F.Month,1,1);break;case"MM":case"LL":e=V(F.Month,2,1);break;case"MMM":e=$(W.Months,S.Abbreviated);break;case"MMMM":e=$(W.Months,S.Wide);break;case"MMMMM":e=$(W.Months,S.Narrow);break;case"LLL":e=$(W.Months,S.Abbreviated,C.Standalone);break;case"LLLL":e=$(W.Months,S.Wide,C.Standalone);break;case"LLLLL":e=$(W.Months,S.Narrow,C.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=V(F.Date,1);break;case"dd":e=V(F.Date,2);break;case"c":case"cc":e=V(F.Day,1);break;case"ccc":e=$(W.Days,S.Abbreviated,C.Standalone);break;case"cccc":e=$(W.Days,S.Wide,C.Standalone);break;case"ccccc":e=$(W.Days,S.Narrow,C.Standalone);break;case"cccccc":e=$(W.Days,S.Short,C.Standalone);break;case"E":case"EE":case"EEE":e=$(W.Days,S.Abbreviated);break;case"EEEE":e=$(W.Days,S.Wide);break;case"EEEEE":e=$(W.Days,S.Narrow);break;case"EEEEEE":e=$(W.Days,S.Short);break;case"a":case"aa":case"aaa":e=$(W.DayPeriods,S.Abbreviated);break;case"aaaa":e=$(W.DayPeriods,S.Wide);break;case"aaaaa":e=$(W.DayPeriods,S.Narrow);break;case"b":case"bb":case"bbb":e=$(W.DayPeriods,S.Abbreviated,C.Standalone,!0);break;case"bbbb":e=$(W.DayPeriods,S.Wide,C.Standalone,!0);break;case"bbbbb":e=$(W.DayPeriods,S.Narrow,C.Standalone,!0);break;case"B":case"BB":case"BBB":e=$(W.DayPeriods,S.Abbreviated,C.Format,!0);break;case"BBBB":e=$(W.DayPeriods,S.Wide,C.Format,!0);break;case"BBBBB":e=$(W.DayPeriods,S.Narrow,C.Format,!0);break;case"h":e=V(F.Hours,1,-12);break;case"hh":e=V(F.Hours,2,-12);break;case"H":e=V(F.Hours,1);break;case"HH":e=V(F.Hours,2);break;case"m":e=V(F.Minutes,1);break;case"mm":e=V(F.Minutes,2);break;case"s":e=V(F.Seconds,1);break;case"ss":e=V(F.Seconds,2);break;case"S":e=V(F.FractionalSeconds,1);break;case"SS":e=V(F.FractionalSeconds,2);break;case"SSS":e=V(F.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=J(j.Short);break;case"ZZZZZ":e=J(j.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=J(j.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=J(j.Long);break;default:return null}return it[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function K(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function Z(t,e){const i=function(t){return(0,n.cg1)(t)[n.wAp.LocaleId]}(t);if(Y[i]=Y[i]||{},Y[i][e])return Y[i][e];let s="";switch(e){case"shortDate":s=x(t,E.Short);break;case"mediumDate":s=x(t,E.Medium);break;case"longDate":s=x(t,E.Long);break;case"fullDate":s=x(t,E.Full);break;case"shortTime":s=O(t,E.Short);break;case"mediumTime":s=O(t,E.Medium);break;case"longTime":s=O(t,E.Long);break;case"fullTime":s=O(t,E.Full);break;case"short":const e=Z(t,"shortTime"),i=Z(t,"shortDate");s=G(R(t,E.Short),[e,i]);break;case"medium":const n=Z(t,"mediumTime"),o=Z(t,"mediumDate");s=G(R(t,E.Medium),[n,o]);break;case"long":const r=Z(t,"longTime"),a=Z(t,"longDate");s=G(R(t,E.Long),[r,a]);break;case"full":const c=Z(t,"fullTime"),u=Z(t,"fullDate");s=G(R(t,E.Full),[c,u])}return s&&(Y[i][e]=s),s}function G(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function X(t,e,i="-",n,s){let o="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,o=i));let r=String(t);for(;r.length0||a>-i)&&(a+=i),t===F.Hours)0===a&&-12===i&&(a=12);else if(t===F.FractionalSeconds)return c=e,X(a,3).substr(0,c);var c;const u=D(r,z.MinusSign);return X(a,e,u,n,s)}}function $(t,e,i=C.Format,s=!1){return function(o,r){return function(t,e,i,s,o,r){switch(i){case W.Months:return function(t,e,i){const s=(0,n.cg1)(t),o=I([s[n.wAp.MonthsFormat],s[n.wAp.MonthsStandalone]],e);return I(o,i)}(e,o,s)[t.getMonth()];case W.Days:return function(t,e,i){const s=(0,n.cg1)(t),o=I([s[n.wAp.DaysFormat],s[n.wAp.DaysStandalone]],e);return I(o,i)}(e,o,s)[t.getDay()];case W.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(r){const t=function(t){const e=(0,n.cg1)(t);return N(e),(e[n.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?q(t):[q(t[0]),q(t[1])])}(e),i=function(t,e,i){const s=(0,n.cg1)(t);N(s);const o=I([s[n.wAp.ExtraData][0],s[n.wAp.ExtraData][1]],e)||[];return I(o,i)||[]}(e,o,s),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=a>=e.hours&&c>=e.minutes,s=a0?Math.floor(s/60):Math.ceil(s/60);switch(t){case j.Short:return(s>=0?"+":"")+X(r,2,o)+X(Math.abs(s%60),2,o);case j.ShortGMT:return"GMT"+(s>=0?"+":"")+X(r,1,o);case j.Long:return"GMT"+(s>=0?"+":"")+X(r,2,o)+":"+X(Math.abs(s%60),2,o);case j.Extended:return 0===n?"Z":(s>=0?"+":"")+X(r,2,o)+":"+X(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function Q(t){return K(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=Q(i),e=function(t){const e=K(t,0,1).getDay();return K(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return X(s,t,D(n,z.MinusSign))}}function et(t,e=!1){return function(i,n){return X(Q(i).getFullYear(),t,D(n,z.MinusSign),e)}}const it={};function nt(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class ot{}let rt=(()=>{class t extends ot{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(P(e||this.locale)(t)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(n.soG))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let ct=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ut{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 lt=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new ut(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new ht(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const o=new ht(t,s);e.push(o)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ft("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ft("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function ft(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,n.AaK)(e)}'.`)}class gt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new gt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),bt=(()=>{class t{constructor(t,e,i){i._addDefault(new gt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(mt,9))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),yt=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},t.\u0275dir=n.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();function At(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,n.AaK)(t)}'`)}class wt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Mt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const vt=new Mt,Tt=new wt;let kt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,n.QGY)(e))return vt;if((0,n.F4k)(e))return Tt;throw At(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.sBO,16))},t.\u0275pipe=n.Yjl({name:"async",type:t,pure:!1}),t})(),Lt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw At(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"uppercase",type:t,pure:!0}),t})(),Ct=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return U(e,i,s||this.locale,n)}catch(o){throw At(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(n.soG,16))},t.\u0275pipe=n.Yjl({name:"date",type:t,pure:!0}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({providers:[{provide:ot,useClass:rt}]}),t})();const Et="browser";function zt(t){return t===Et}function xt(t){return"server"===t}let Ot=(()=>{class t{}return t.\u0275prov=(0,n.Yz7)({token:t,providedIn:"root",factory:()=>new Rt((0,n.LFG)(c),window)}),t})();class Rt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Dt(this.window.history)||Dt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Dt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Pt{}},9063:function(t,e,i){"use strict";i.d(e,{TP:function(){return z},eN:function(){return S},JF:function(){return H},WM:function(){return d},LE:function(){return m},Zn:function(){return k}});var n=i(1511),s=i(1572),o=i(878),r=i(8318),a=i(436),c=i(3835),u=i(9996);class l{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(t){return`${t}`}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,o]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],r=i.get(s)||[];r.push(o),i.set(s,r)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(g(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(g(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function A(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),u)),new w(i,n,o,{params:u,headers:c,context:l,reportProgress:a,responseType:s,withCredentials:r})}}var M=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class v{constructor(t,e=200,i="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class T extends v{constructor(t={}){super(t),this.type=M.ResponseHeader}clone(t={}){return new T({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k extends v{constructor(t={}){super(t),this.type=M.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new k({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class L extends v{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function C(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let S=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof w)n=t;else{let s,o;s=i.headers instanceof d?i.headers:new d(i.headers),i.params&&(o=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new w(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:o,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=(0,o.of)(n).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===i.observe)return s;const r=s.pipe((0,c.h)(t=>t instanceof k));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe((0,u.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe((0,u.U)(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,C(i,e))}post(t,e,i={}){return this.request("POST",t,C(i,e))}put(t,e,i={}){return this.request("PUT",t,C(i,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class E{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const z=new s.OlP("HTTP_INTERCEPTORS");let x=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const O=/^\)\]\}',?\n/;let R=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.y(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",o=new d(i.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new T({headers:o,status:e,statusText:n,url:r}),s},r=()=>{let{headers:n,status:s,statusText:r,url:a}=o(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(O,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new k({body:c,headers:n,status:s,statusText:r,url:a||void 0})),e.complete()):e.error(new L({error:c,headers:n,status:s,statusText:r,url:a||void 0}))},a=t=>{const{url:n}=o(),s=new L({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const u=n=>{c||(e.next(o()),c=!0);let s={type:M.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},l=t=>{let i={type:M.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",r),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:M.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",r),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",u),null!==n&&i.upload&&i.upload.removeEventListener("progress",l)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const D=new s.OlP("XSRF_COOKIE_NAME"),P=new s.OlP("XSRF_HEADER_NAME");class N{}let I=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(n.K0),s.LFG(s.Lbi),s.LFG(D))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),q=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(N),s.LFG(P))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(z,[]);this.chain=t.reduceRight((t,e)=>new E(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Y=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:q,useClass:x}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:D,useValue:e.cookieName}:[],e.headerName?{provide:P,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[q,{provide:z,useExisting:q,multi:!0},{provide:N,useClass:I},{provide:D,useValue:"XSRF-TOKEN"},{provide:P,useValue:"X-XSRF-TOKEN"}]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[S,{provide:l,useClass:B},R,{provide:h,useExisting:R}],imports:[[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},1572:function(t,e,i){"use strict";i.d(e,{deG:function(){return ii},tb:function(){return tu},AFp:function(){return Xc},ip1:function(){return Zc},CZH:function(){return Gc},hGG:function(){return Zu},z2F:function(){return Iu},sBO:function(){return Ha},Sil:function(){return hu},_Vd:function(){return ha},EJc:function(){return nu},SBq:function(){return ga},qLn:function(){return Mn},vpe:function(){return Cc},gxx:function(){return lo},tBr:function(){return Mi},XFs:function(){return E},OlP:function(){return ei},zs3:function(){return Lo},ZZ4:function(){return Da},aQg:function(){return Na},soG:function(){return iu},YKP:function(){return $a},v3s:function(){return Bu},h0i:function(){return Va},PXZ:function(){return Ou},R0b:function(){return fu},FiY:function(){return vi},Lbi:function(){return Qc},g9A:function(){return Jc},n_E:function(){return Ec},Qsj:function(){return ba},FYo:function(){return _a},JOm:function(){return Cn},Tiy:function(){return Aa},q3G:function(){return pn},tp0:function(){return Ti},EAV:function(){return ju},Rgc:function(){return Ka},dDg:function(){return wu},DyG:function(){return ni},GfV:function(){return wa},s_b:function(){return Qa},ifc:function(){return P},eFA:function(){return Ru},G48:function(){return zu},Gpc:function(){return p},f3M:function(){return yi},X6Q:function(){return Eu},_c5:function(){return Uu},VLi:function(){return Tu},c2e:function(){return eu},zSh:function(){return po},wAp:function(){return Jr},vHH:function(){return m},EiD:function(){return hn},mCW:function(){return Zi},qzn:function(){return Ni},JVY:function(){return qi},pB0:function(){return ji},eBb:function(){return Yi},L6k:function(){return Bi},LAX:function(){return Hi},cg1:function(){return Xr},Tjo:function(){return Wu},kL8:function(){return Vr},yhl:function(){return Ii},dqk:function(){return Y},sIi:function(){return No},CqO:function(){return or},QGY:function(){return nr},F4k:function(){return sr},RDi:function(){return Mt},AaK:function(){return l},z3N:function(){return Pi},qOj:function(){return So},TTD:function(){return mt},_Bn:function(){return ca},xp6:function(){return ps},uIk:function(){return Ho},Tol:function(){return Lr},Gre:function(){return Fr},ekj:function(){return kr},Suo:function(){return Hc},Xpm:function(){return $},lG2:function(){return st},Yz7:function(){return A},cJS:function(){return w},oAB:function(){return et},Yjl:function(){return ot},Y36:function(){return Ko},_UZ:function(){return Jo},GkF:function(){return er},BQk:function(){return tr},ynx:function(){return Qo},qZA:function(){return $o},TgZ:function(){return Vo},EpF:function(){return ir},n5z:function(){return $e},Ikx:function(){return Wr},LFG:function(){return bi},$8M:function(){return Qe},$Z:function(){return Zo},NdJ:function(){return rr},CRH:function(){return jc},kcU:function(){return me},O4$:function(){return ge},oxw:function(){return hr},ALo:function(){return Ac},lcZ:function(){return wc},xi3:function(){return Mc},Dn7:function(){return vc},Hsn:function(){return fr},F$t:function(){return pr},Q6J:function(){return Go},s9C:function(){return gr},MGl:function(){return mr},hYB:function(){return _r},DdM:function(){return fc},VKq:function(){return gc},WLB:function(){return mc},iGM:function(){return Bc},MAs:function(){return Uo},pYS:function(){return kn},Jf7:function(){return Tn},CHM:function(){return Ht},oJD:function(){return fn},LSH:function(){return gn},kYT:function(){return it},Udp:function(){return Tr},WFA:function(){return ar},d8E:function(){return Ur},YNc:function(){return Wo},W1O:function(){return Kc},_uU:function(){return qr},Oqu:function(){return Br},hij:function(){return Yr},AsE:function(){return Hr},xDo:function(){return jr},Gf:function(){return Yc}});var n=i(5959),s=i(7570),o=i(8318),r=i(1906),a=i(1055);function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function u(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function l(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(l).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function p(t){return t.__forward_ref__=p,t.toString=function(){return l(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function _(t){return"string"==typeof t?t:null==t?"":String(t)}function b(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():_(t)}function y(t,e){const i=e?` in ${e}`:"";throw new m("201",`No provider for ${b(t)} found${i}`)}function A(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function w(t){return{providers:t.providers||[],imports:t.imports||[]}}function M(t){return v(t,k)||v(t,C)}function v(t,e){return t.hasOwnProperty(e)?t[e]:null}function T(t){return t&&(t.hasOwnProperty(L)||t.hasOwnProperty(S))?t[L]:null}const k=c({"\u0275prov":c}),L=c({"\u0275inj":c}),C=c({ngInjectableDef:c}),S=c({ngInjectorDef:c});var E=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let z;function x(t){const e=z;return z=t,e}function O(t,e,i){const n=M(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&E.Optional?null:void 0!==e?e:void y(l(t),"Injector")}function R(t){return{toString:t}.toString()}var D=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),P=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const N="undefined"!=typeof globalThis&&globalThis,I="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,Y=N||B||I||q,H={},j=[],F=c({"\u0275cmp":c}),W=c({"\u0275dir":c}),U=c({"\u0275pipe":c}),K=c({"\u0275mod":c}),Z=c({"\u0275loc":c}),G=c({"\u0275fac":c}),X=c({__NG_ELEMENT_ID__:c});let V=0;function $(t){return R(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===D.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||j,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||P.Emulated,id:"c",styles:t.styles||j,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,o=t.pipes;return i.id+=V++,i.inputs=nt(t.inputs,e),i.outputs=nt(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(J):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Q):null,i})}function J(t){return rt(t)||function(t){return t[W]||null}(t)}function Q(t){return function(t){return t[U]||null}(t)}const tt={};function et(t){return R(()=>{const e={type:t.type,bootstrap:t.bootstrap||j,declarations:t.declarations||j,imports:t.imports||j,exports:t.exports||j,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function it(t,e){return R(()=>{const i=at(t,!0);i.declarations=e.declarations||j,i.imports=e.imports||j,i.exports=e.exports||j})}function nt(t,e){if(null==t)return H;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),i[s]=n,e&&(e[s]=o)}return i}const st=$;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function rt(t){return t[F]||null}function at(t,e){const i=t[K]||null;if(!i&&!0===e)throw new Error(`Type ${l(t)} does not have '\u0275mod' property.`);return i}function ct(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function lt(t){return 0!=(8&t.flags)}function ht(t){return 2==(2&t.flags)}function dt(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function ft(t,e){return t.hasOwnProperty(G)?t[G]:null}class gt{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function mt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=yt),bt}function bt(){const t=At(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===H)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yt(t,e,i,n){const s=At(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:H,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[i],c=r[a];o[a]=new gt(c&&c.currentValue,e,r===H),t[n]=e}function At(t){return t.__ngSimpleChanges__||null}let wt;function Mt(t){wt=t}function vt(){return void 0!==wt?wt:"undefined"!=typeof document?document:void 0}function Tt(t){return!!t.listen}mt.ngInherit=!0;const kt={createRenderer:(t,e)=>vt()};function Lt(t){for(;Array.isArray(t);)t=t[0];return t}function Ct(t,e){return Lt(e[t])}function St(t,e){return Lt(e[t.index])}function Et(t,e){return t.data[e]}function zt(t,e){return t[e]}function xt(t,e){const i=e[t];return ct(i)?i:i[0]}function Ot(t){return 4==(4&t[2])}function Rt(t){return 128==(128&t[2])}function Dt(t,e){return null==e?null:t[e]}function Pt(t){t[18]=0}function Nt(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const It={lFrame:ce(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function qt(){return It.bindingsEnabled}function Bt(){return It.lFrame.lView}function Yt(){return It.lFrame.tView}function Ht(t){return It.lFrame.contextLView=t,t[8]}function jt(){let t=Ft();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ft(){return It.lFrame.currentTNode}function Wt(t,e){const i=It.lFrame;i.currentTNode=t,i.isParent=e}function Ut(){return It.lFrame.isParent}function Kt(){It.lFrame.isParent=!1}function Zt(){return It.isInCheckNoChangesMode}function Gt(t){It.isInCheckNoChangesMode=t}function Xt(){const t=It.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Vt(){return It.lFrame.bindingIndex}function $t(){return It.lFrame.bindingIndex++}function Jt(t){const e=It.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Qt(t,e){const i=It.lFrame;i.bindingIndex=i.bindingRootIndex=t,te(e)}function te(t){It.lFrame.currentDirectiveIndex=t}function ee(t){const e=It.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ie(){return It.lFrame.currentQueryIndex}function ne(t){It.lFrame.currentQueryIndex=t}function se(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function oe(t,e,i){if(i&E.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&E.Host||(n=se(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=It.lFrame=ae();return n.currentTNode=e,n.lView=t,!0}function re(t){const e=ae(),i=t[1];It.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function ae(){const t=It.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ue(){const t=It.lFrame;return It.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const le=ue;function he(){const t=ue();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function de(){return It.lFrame.selectedIndex}function pe(t){It.lFrame.selectedIndex=t}function fe(){const t=It.lFrame;return Et(t.tView,t.selectedIndex)}function ge(){It.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function me(){It.lFrame.currentNamespace=null}function _e(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(r>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(r)}finally{}}}else try{o.call(r)}finally{}}class ve{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Te(t,e,i){const n=Tt(t);let s=0;for(;se){r=o-1;break}}}for(;o>16,n=e;for(;i>0;)n=n[15],i--;return n}let Oe=!0;function Re(t){const e=Oe;return Oe=t,e}let De=0;function Pe(t,e){const i=Ie(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,Ne(n.data,t),Ne(e,null),Ne(n.blueprint,null));const s=qe(t,e),o=t.injectorIndex;if(Ee(s)){const t=ze(s),i=xe(s,e),n=i[1].data;for(let s=0;s<8;s++)e[o+s]=i[t+s]|n[t+s]}return e[o+8]=s,o}function Ne(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ie(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return-1;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function Be(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(X)&&(n=i[X]),null==n&&(n=i[X]=De++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:We:e}(i);if("function"==typeof o){if(!oe(e,t,n))return n&E.Host?Ye(s,i,n):He(e,i,n,s);try{const t=o(n);if(null!=t||n&E.Optional)return t;y(i)}finally{le()}}else if("number"==typeof o){let s=null,r=Ie(t,e),a=-1,c=n&E.Host?e[16][6]:null;for((-1===r||n&E.SkipSelf)&&(a=-1===r?qe(t,e):e[r+8],-1!==a&&Xe(n,!1)?(s=e[1],r=ze(a),e=xe(a,e)):r=-1);-1!==r;){const t=e[1];if(Ge(o,r,t.data)){const t=Ue(r,e,i,s,n,c);if(t!==Fe)return t}a=e[r+8],-1!==a&&Xe(n,e[1].data[r+8]===c)&&Ge(o,r,e)?(s=t,r=ze(a),e=xe(a,e)):r=-1}}}return He(e,i,n,s)}const Fe={};function We(){return new Ve(jt(),Bt())}function Ue(t,e,i,n,s,o){const r=e[1],a=r.data[t+8],c=Ke(a,r,i,null==n?ht(a)&&Oe:n!=r&&0!=(3&a.type),s&E.Host&&o===a);return null!==c?Ze(e,r,c,a):Fe}function Ke(t,e,i,n,s){const o=t.providerIndexes,r=e.data,a=1048575&o,c=t.directiveStart,u=o>>20,l=s?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(s){const t=r[c];if(t&&pt(t)&&t.type===i)return c}return null}function Ze(t,e,i,n){let s=t[i];const o=e.data;if(s instanceof ve){const r=s;r.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(b(o[i]));const a=Re(r.canSeeViewProviders);r.resolving=!0;const c=r.injectImpl?x(r.injectImpl):null;oe(t,n,E.Default);try{s=t[i]=r.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(n){const n=_t(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),o&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,o),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,o))}(i,o[i],e)}finally{null!==c&&x(c),Re(a),r.resolving=!1,le()}}return s}function Ge(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[G]||Je(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[G]||Je(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Je(t){return g(t)?()=>{const e=Je(f(t));return e&&e()}:ft(t)}function Qe(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class ei{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=A({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ii=new ei("AnalyzeForEntryComponents"),ni=Function;function si(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?oi(t,e):e(t))}function ri(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ai(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ci(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function li(t,e){const i=hi(t,e);if(i>=0)return t[1|i]}function hi(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),o=t[i<<1];if(e===o)return i<<1;o>e?s=i:n=i+1}return~(s<<1)}(t,e)}const di={},pi=/\n/gm,fi=c({provide:String,useValue:c});let gi;function mi(t){const e=gi;return gi=t,e}function _i(t,e=E.Default){if(void 0===gi)throw new Error("inject() must be called from an injection context");return null===gi?O(t,void 0,e):gi.get(t,e&E.Optional?null:void 0,e)}function bi(t,e=E.Default){return(z||_i)(f(t),e)}const yi=bi;function Ai(t){const e=[];for(let i=0;i({token:t})),-1),vi=wi(ti("Optional"),8),Ti=wi(ti("SkipSelf"),4);let ki,Li;function Ci(t){var e;return(null===(e=function(){if(void 0===ki&&(ki=null,Y.trustedTypes))try{ki=Y.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return ki}())||void 0===e?void 0:e.createHTML(t))||t}function Si(t){var e;return(null===(e=function(){if(void 0===Li&&(Li=null,Y.trustedTypes))try{Li=Y.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Li}())||void 0===e?void 0:e.createHTML(t))||t}class Ei{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class zi extends Ei{getTypeName(){return"HTML"}}class xi extends Ei{getTypeName(){return"Style"}}class Oi extends Ei{getTypeName(){return"Script"}}class Ri extends Ei{getTypeName(){return"URL"}}class Di extends Ei{getTypeName(){return"ResourceURL"}}function Pi(t){return t instanceof Ei?t.changingThisBreaksApplicationSecurity:t}function Ni(t,e){const i=Ii(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function Ii(t){return t instanceof Ei&&t.getTypeName()||null}function qi(t){return new zi(t)}function Bi(t){return new xi(t)}function Yi(t){return new Oi(t)}function Hi(t){return new Ri(t)}function ji(t){return new Di(t)}class Fi{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ci(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Wi{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ci(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Ci(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0Zi(t.trim())).join(", ")),this.buf.push(" ",e,'="',un(r),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();tn.hasOwnProperty(e)&&!Vi.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(un(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const an=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cn=/([^\#-~ |!])/g;function un(t){return t.replace(/&/g,"&").replace(an,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(cn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ln;function hn(t,e){let i=null;try{ln=ln||function(t){const e=new Wi(t);return function(){try{return!!(new window.DOMParser).parseFromString(Ci(""),"text/html")}catch(t){return!1}}()?new Fi(e):e}(t);let n=e?String(e):"";i=ln.getInertBodyElement(n);let s=5,o=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=o,o=i.innerHTML,i=ln.getInertBodyElement(n)}while(n!==o);return Ci((new rn).sanitizeChildren(dn(i)||i))}finally{if(i){const t=dn(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function dn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var pn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function fn(t){const e=mn();return e?Si(e.sanitize(pn.HTML,t)||""):Ni(t,"HTML")?Si(Pi(t)):hn(vt(),_(t))}function gn(t){const e=mn();return e?e.sanitize(pn.URL,t)||"":Ni(t,"URL")?Pi(t):Zi(_(t))}function mn(){const t=Bt();return t&&t[12]}function _n(t,e){t.__ngContext__=e}function bn(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function yn(t){return t.ngDebugContext}function An(t){return t.ngOriginalError}function wn(t,...e){t.error(...e)}class Mn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||wn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?yn(t)?yn(t):this._findContext(An(t)):null}_findOriginalError(t){let e=An(t);for(;e&&An(e);)e=An(e);return e}}const vn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y))();function Tn(t){return t.ownerDocument.defaultView}function kn(t){return t.ownerDocument.body}function Ln(t){return t instanceof Function?t():t}var Cn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Sn(t,e){return(void 0)(t,e)}function En(t){const e=t[3];return ut(e)?e[3]:e}function zn(t){return On(t[13])}function xn(t){return On(t[4])}function On(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Rn(t,e,i,n,s){if(null!=n){let o,r=!1;ut(n)?o=n:ct(n)&&(r=!0,n=n[0]);const a=Lt(n);0===t&&null!==i?null==s?Hn(e,i,a):Yn(e,i,a,s||null,!0):1===t&&null!==i?Yn(e,i,a,s||null,!0):2===t?function(t,e,i){const n=Fn(t,e);n&&function(t,e,i,n){Tt(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,r):3===t&&e.destroyNode(a),null!=o&&function(t,e,i,n,s){const o=i[7];o!==Lt(i)&&Rn(e,t,n,o,s);for(let r=10;r0&&(t[i-1][4]=n[4]);const r=ai(t,10+e);$n(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function In(t,e){if(!(256&e[2])){const i=e[11];Tt(i)&&i.destroyNode&&$n(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return qn(t[1],t);for(;e;){let i=null;if(ct(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)ct(e)&&qn(e[1],e),e=e[3];null===e&&(e=t),ct(e)&&qn(e[1],e),i=e&&e[4]}e=i}}(e)}}function qn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),o+=2}else{const t=n[s=i[o+1]];i[o].call(t)}if(null!==n){for(let t=s+1;to?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==es(e,u,0)||2&n&&u!==t){if(rs(n))return!1;r=!0}}}}else{if(!r&&!rs(n)&&!rs(c))return!1;if(r&&rs(c))continue;r=!1,n=c|1&n}}return rs(n)||r}function rs(t){return 0==(1&t)}function as(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+r:4&n&&(s+=" "+r);else""===s||rs(r)||(e+=ls(o,s),s=""),n=r,o=o||!rs(n);i++}return""!==s&&(e+=ls(o,s)),e}const ds={};function ps(t){fs(Yt(),Bt(),de()+t,Zt())}function fs(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&be(e,n,i)}else{const n=t.preOrderHooks;null!==n&&ye(e,n,0,i)}pe(i)}function gs(t,e){return t<<17|e<<2}function ms(t){return t>>17&32767}function _s(t){return 2|t}function bs(t){return(131068&t)>>2}function ys(t,e){return-131069&t|e<<2}function As(t){return 1|t}function ws(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&fs(t,e,20,Zt()),i(n,s)}finally{pe(o)}}function Es(t,e,i){if(lt(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=o&&i.push(o),i.push(n,s,r)}}function Bs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ys(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Hs(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&Xs(i)}}function Xs(t){for(let i=zn(t);null!==i;i=xn(i))for(let t=10;t0&&Xs(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Xs(n)}}function Vs(t,e){const i=xt(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function no(t){return t[7]||(t[7]=[])}function so(t){return t.cleanup||(t.cleanup=[])}function oo(t,e,i){return(null===t||pt(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function ro(t,e){const i=t[9],n=i?i.get(Mn,null):null;n&&n.handleError(e)}function ao(t,e,i,n,s){for(let o=0;othis.processProvider(i,t,e)),oi([t],t=>this.processInjectorType(t,[],s)),this.records.set(lo,Mo(void 0,this));const o=this.records.get(po);this.scope=null!=o?o.value:null,this.source=n||("object"==typeof t?null:l(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=di,i=E.Default){this.assertNotDestroyed();const n=mi(this);try{if(!(i&E.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof ei)&&M(t);e=i&&this.injectableDefInScope(i)?Mo(Ao(t),fo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&E.Self?_o():this.parent).get(t,e=i&E.Optional&&e===di?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(l(t)),n)throw o;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=l(e);if(Array.isArray(e))s=e.map(l).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):l(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(pi,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{mi(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(l(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=f(t)))return!1;let n=T(t);const s=null==n&&t.ngModule||void 0,o=void 0===s?t:s,r=-1!==i.indexOf(o);if(void 0!==s&&(n=T(s)),null==n)return!1;if(null!=n.imports&&!r){let t;i.push(o);try{oi(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||j))}}this.injectorDefTypes.add(o);const a=ft(o)||(()=>new o);this.records.set(o,Mo(a,fo));const c=n.providers;if(null!=c&&!r){const e=t;oi(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=To(t=f(t))?t:f(t&&t.provide);const s=function(t,e,i){return vo(t)?Mo(void 0,t.useValue):Mo(wo(t),fo)}(t);if(To(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=Mo(void 0,fo,!0),e.factory=()=>Ai(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===fo&&(e.value=go,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Ao(t){const e=M(t),i=null!==e?e.factory:ft(t);if(null!==i)return i;if(t instanceof ei)throw new Error(`Token ${l(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=ci(e,"?");throw new Error(`Can't resolve all parameters for ${l(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[k]||t[C]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function wo(t,e,i){let n;if(To(t)){const e=f(t);return ft(e)||Ao(e)}if(vo(t))n=()=>f(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...Ai(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>bi(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ft(e)||Ao(e);n=()=>new e(...Ai(t.deps))}var s;return n}function Mo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function vo(t){return null!==t&&"object"==typeof t&&fi in t}function To(t){return"function"==typeof t}const ko=function(t,e,i){return function(t,e=null,i=null,n){const s=bo(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let Lo=(()=>{class t{static create(t,e){return Array.isArray(t)?ko(t,e,""):ko(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=di,t.NULL=new ho,t.\u0275prov=A({token:t,providedIn:"any",factory:()=>bi(lo)}),t.__NG_ELEMENT_ID__=-1,t})();function Co(t,e){_e(bn(t)[1],jt())}function So(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(pt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=Eo(t.inputs),e.declaredInputs=Eo(t.declaredInputs),e.outputs=Eo(t.outputs);const i=s.hostBindings;i&&Oo(t,i);const o=s.viewQuery,r=s.contentQueries;if(o&&zo(t,o),r&&xo(t,r),u(t.inputs,s.inputs),u(t.declaredInputs,s.declaredInputs),u(t.outputs,s.outputs),pt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=Ce(s.hostAttrs,i=Ce(i,s.hostAttrs))}}(n)}function Eo(t){return t===H?{}:t===j?[]:t}function zo(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function xo(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function Oo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let Ro=null;function Do(){if(!Ro){const t=Y.Symbol;if(t&&t.iterator)Ro=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Lt(t[n.index])):n.index;if(Tt(i)){let r=null;if(!a&&c&&(r=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let o=0;oi?t[i]:null}"string"==typeof t&&(o+=2)}return null}(t,e,s,n.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,h=!1;else{o=lr(n,e,0,o,!1);const t=i.listen(p,s,o);l.push(o,t),u&&u.push(s,g,f,f+1)}}else o=lr(n,e,0,o,!0),p.addEventListener(s,o,r),l.push(o),u&&u.push(s,g,f,r)}else o=lr(n,e,0,o,!1);const d=n.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,It.lFrame.contextLView))[8]}(t)}function dr(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const Ar={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wr(t){return t.substring(Ar.key,Ar.keyEnd)}function Mr(t,e){const i=Ar.textEnd;return i===e?-1:(e=Ar.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,Ar.key=e,i),vr(t,e,i))}function vr(t,e,i){for(;e=0;i=Mr(e,i))ui(t,wr(e),!0)}function Sr(t,e,i,n){const s=Bt(),o=Yt(),r=Jt(2);o.firstUpdatePass&&xr(o,t,r,n),e!==ds&&Bo(s,r,e)&&Dr(o,o.data[de()],s,s[11],t,s[r+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=l(Pi(t)))),t}(e,i),n,r)}function Er(t,e,i,n){const s=Yt(),o=Jt(2);s.firstUpdatePass&&xr(s,null,o,n);const r=Bt();if(i!==ds&&Bo(r,o,i)){const a=s.data[de()];if(Ir(a,n)&&!zr(s,o)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=h(t,i||"")),Xo(s,a,r,i,n)}else!function(t,e,i,n,s,o,r,a){s===ds&&(s=j);let c=0,u=0,l=0=t.expandoStartIndex}function xr(t,e,i,n){const s=t.data;if(null===s[i+1]){const o=s[de()],r=zr(t,i);Ir(o,n)&&null===e&&!r&&(e=!1),e=function(t,e,i,n){const s=ee(t);let o=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Rr(i=Or(null,t,e,i,n),e.attrs,n),o=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(i=Or(s,t,e,i,n),null===o){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==bs(n))return t[ms(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Or(null,t,e,i[1],n),i=Rr(i,e.attrs,n),function(t,e,i,n){t[ms(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else o=function(t,e,i){let n;const s=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=ms(t[a+1]);t[n+1]=gs(e,a),0!==e&&(t[e+1]=ys(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=gs(a,0),0!==a&&(t[a+1]=ys(t[a+1],n)),a=n;else t[n+1]=gs(c,0),0===a?a=n:t[c+1]=ys(t[c+1],n),c=n;l&&(t[n+1]=_s(t[n+1])),br(t,u,n,!0),br(t,u,n,!1),function(t,e,i,n,s){const o=s?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&hi(o,e)>=0&&(i[n+1]=As(i[n+1]))}(e,u,t,n,o),r=gs(a,c),o?e.classBindings=r:e.styleBindings=r}(s,o,e,i,r,n)}}function Or(t,e,i,n,s){let o=null;const r=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],o=Array.isArray(e),c=o?e[1]:e,u=null===c;let l=i[s+1];l===ds&&(l=u?j:void 0);let h=u?li(l,n):c===n?l:void 0;if(o&&!Nr(h)&&(h=li(e,n)),Nr(h)&&(a=h,r))return a;const d=t[s+1];s=r?ms(d):bs(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=li(t,n))}return a}function Nr(t){return void 0!==t}function Ir(t,e){return 0!=(t.flags&(e?16:32))}function qr(t,e=""){const i=Bt(),n=Yt(),s=t+20,o=n.firstCreatePass?vs(n,s,1,e,null):n.data[s],r=i[s]=function(t,e){return Tt(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Kn(n,i,r,o),Wt(o,!1)}function Br(t){return Yr("",t,""),Br}function Yr(t,e,i){const n=Bt(),s=jo(n,t,e,i);return s!==ds&&co(n,de(),s),Yr}function Hr(t,e,i,n,s){const o=Bt(),r=Fo(o,t,e,i,n,s);return r!==ds&&co(o,de(),r),Hr}function jr(t,e,i,n,s,o,r,a,c,u,l){const h=Bt(),d=function(t,e,i,n,s,o,r,a,c,u,l,h){const d=Vt();let p=function(t,e,i,n,s,o){const r=Yo(t,e,i,n);return Yo(t,e+2,s,o)||r}(t,d,i,s,r,c);return p=Bo(t,d+4,l)||p,Jt(5),p?e+_(i)+n+_(s)+o+_(r)+a+_(c)+u+_(l)+h:ds}(h,t,e,i,n,s,o,r,a,c,u,l);return d!==ds&&co(h,de(),d),jr}function Fr(t,e,i){Er(ui,Cr,jo(Bt(),t,e,i),!0)}function Wr(t,e,i){const n=Bt();return Bo(n,$t(),e)&&Ns(Yt(),fe(),n,t,e,n[11],i,!0),Wr}function Ur(t,e,i){const n=Bt();if(Bo(n,$t(),e)){const s=Yt(),o=fe();Ns(s,o,n,t,e,oo(ee(s.data),o,n),i,!0)}return Ur}const Kr=void 0;var Zr=["en",[["a","p"],["AM","PM"],Kr],[["AM","PM"],Kr,Kr],[["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"]],Kr,[["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"]],Kr,[["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}",Kr,"{1} 'at' {0}",Kr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Gr={};function Xr(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=$r(e);if(i)return i;const n=e.split("-")[0];if(i=$r(n),i)return i;if("en"===n)return Zr;throw new Error(`Missing locale data for the locale "${t}".`)}function Vr(t){return Xr(t)[Jr.PluralCase]}function $r(t){return t in Gr||(Gr[t]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[t]),Gr[t]}var Jr=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Qr="en-US";function ta(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(Qr=t.toLowerCase().replace(/_/g,"-"))}function ea(t,e,i,n,s){if(t=f(t),Array.isArray(t))for(let o=0;o>20;if(To(t)||!t.multi){const n=new ve(c,s,Ko),p=sa(a,e,s?l:l+d,h);-1===p?(Be(Pe(u,r),o,a),ia(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(n),r.push(n)):(i[p]=n,r[p]=n)}else{const p=sa(a,e,l+d,h),f=sa(a,e,l,l+d),g=p>=0&&i[p],m=f>=0&&i[f];if(s&&!m||!s&&!g){Be(Pe(u,r),o,a);const l=function(t,e,i,n,s){const o=new ve(t,i,Ko);return o.multi=[],o.index=e,o.componentProviders=0,na(o,s,n&&!i),o}(s?ra:oa,i.length,s,n,c);!s&&m&&(i[f].providerFactory=l),ia(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),r.push(l)}else ia(o,t,p>-1?p:f,na(i[s?f:p],c,!s&&n));!s&&n&&m&&i[f].componentProviders++}}}function ia(t,e,i,n){const s=To(e);if(s||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const r=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=r.indexOf(i);-1===t?r.push(i,[n,o]):r[t+1].push(n,o)}else r.push(i,o)}}}function na(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function sa(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=Yt();if(n.firstCreatePass){const s=pt(t);ea(i,n.data,n.blueprint,s,!0),ea(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class ua{}class la{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${l(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ha=(()=>{class t{}return t.NULL=new la,t})();function da(...t){}function pa(t,e){return new ga(St(t,e))}const fa=function(){return pa(jt(),Bt())};let ga=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=fa,t})();function ma(t){return t instanceof ga?t.nativeElement:t}class _a{}let ba=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ya(),t})();const ya=function(){const t=Bt(),e=xt(jt().index,t);return function(t){return t[11]}(ct(e)?e:t)};let Aa=(()=>{class t{}return t.\u0275prov=A({token:t,providedIn:"root",factory:()=>null}),t})();class wa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ma=new wa("12.0.5");class va{constructor(){}supports(t){return No(t)}create(t){return new ka(t)}}const Ta=(t,e)=>e;class ka{constructor(t){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=t||Ta}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(o&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),o=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new La(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sa),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class La{constructor(t,e){this.item=t,this.trackById=e,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 Ca{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Sa{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new Ca,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ea(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new Oa(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class Oa{constructor(t){this.key=t,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 Ra(){return new Da([new va])}let Da=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Ra()),deps:[[t,new Ti,new vi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=A({token:t,providedIn:"root",factory:Ra}),t})();function Pa(){return new Na([new za])}let Na=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Pa()),deps:[[t,new Ti,new vi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=A({token:t,providedIn:"root",factory:Pa}),t})();function Ia(t,e,i,n,s=!1){for(;null!==i;){const o=e[i.index];if(null!==o&&n.push(Lt(o)),ut(o))for(let t=10;t-1&&(Nn(t,i),ai(e,i))}this._attachedToViewContainer=!1}In(this._lView[1],this._lView)}onDestroy(t){Ds(this._lView[1],this._lView,null,t)}markForCheck(){Js(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Qs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){Gt(!0);try{Qs(t,e,i)}finally{Gt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,$n(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ba extends qa{constructor(t){super(t),this._view=t}detectChanges(){to(this._view)}checkNoChanges(){!function(t){Gt(!0);try{to(t)}finally{Gt(!1)}}(this._view)}get context(){return null}}const Ya=function(t){return function(t,e,i){if(ht(t)&&!i){const i=xt(t.index,e);return new qa(i,i)}return 47&t.type?new qa(e[16],e):null}(jt(),Bt(),16==(16&t))};let Ha=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ya,t})();const ja=[new za],Fa=new Da([new va]),Wa=new Na(ja),Ua=function(){return Xa(jt(),Bt())};let Ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ua,t})();const Za=Ka,Ga=class extends Za{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Ms(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),ks(e,i,t),new qa(i)}};function Xa(t,e){return 4&t.type?new Ga(e,t,pa(t,e)):null}class Va{}class $a{}const Ja=function(){return sc(jt(),Bt())};let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ja,t})();const tc=Qa,ec=class extends tc{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return pa(this._hostTNode,this._hostLView)}get injector(){return new Ve(this._hostTNode,this._hostLView)}get parentInjector(){const t=qe(this._hostTNode,this._hostLView);if(Ee(t)){const e=xe(t,this._hostLView),i=ze(t);return new Ve(e[1].data[i+8],e)}return new Ve(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ic(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const o=i||this.parentInjector;if(!s&&null==t.ngModule&&o){const t=o.get(Va,null);t&&(s=t)}const r=t.create(o,n,void 0,s);return this.insert(r.hostView,e),r}insert(t,e){const i=t._lView,n=i[1];if(ut(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new ec(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function(t,e,i,n){const s=10+n,o=i.length;n>0&&(i[s-1][4]=e),nvn});class uc extends ua{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(hs).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ac(this.componentDef.inputs)}get outputs(){return ac(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const o=t.get(i,oc,s);return o!==oc||n===oc?o:e.get(i,n,s)}}}(t,n.injector):t,o=s.get(_a,kt),r=s.get(Aa,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(Tt(t))return t.selectRootElement(e,i===P.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Dn(o.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:vn,clean:io,playerHandler:null,flags:0},d=Rs(0,null,null,1,0,null,null,null,null,null),p=Ms(null,d,h,l,null,null,o,a,r,s);let f,g;re(p);try{const t=function(t,e,i,n,s,o){const r=i[1];i[20]=t;const a=vs(r,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(uo(a,c,!0),null!==t&&(Te(s,t,c),null!==a.classes&&ts(s,t,a.classes),null!==a.styles&&Qn(s,t,a.styles)));const u=n.createRenderer(t,e),l=Ms(i,Os(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return r.firstCreatePass&&(Be(Pe(a,i),r,e.type),Ys(r,a),js(a,i.length,1)),$s(i,l),i[20]=l}(u,this.componentDef,p,o,a);if(u)if(i)Te(a,u,["ng-version",Ma.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&ts(a,u,e.join(" "))}if(g=Et(d,20),void 0!==e){const t=g.projection=[];for(let i=0;it(r,e)),e.contentQueries){const t=jt();e.contentQueries(1,r,t.directiveStart)}const a=jt();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(pe(a.index),qs(i[1],a,0,a.directiveStart,a.directiveEnd,e),Bs(e,r)),r}(t,this.componentDef,p,h,[Co]),ks(d,p,null)}finally{he()}return new lc(this.componentType,f,pa(g,p),p,g)}}class lc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ba(n),this.componentType=t}get injector(){return new Ve(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const hc=new Map;class dc extends Va{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new rc(this);const i=at(t),n=t[Z]||null;n&&ta(n),this._bootstrapComponents=Ln(i.bootstrap),this._r3Injector=bo(t,e,[{provide:Va,useValue:this},{provide:ha,useValue:this.componentFactoryResolver}],l(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Lo.THROW_IF_NOT_FOUND,i=E.Default){return t===Lo||t===Va||t===lo?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pc extends $a{constructor(t){super(),this.moduleType=t,null!==at(t)&&function(t){const e=new Set;!function t(i){const n=at(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${l(e)} vs ${l(e.name)}`)}(s,hc.get(s),i),hc.set(s,i));const o=Ln(n.imports);for(const r of o)e.has(r)||(e.add(r),t(r))}(t)}(t)}create(t){return new dc(this.moduleType,t)}}function fc(t,e,i){const n=Xt()+t,s=Bt();return s[n]===ds?qo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function gc(t,e,i,n){return bc(Bt(),Xt(),t,e,i,n)}function mc(t,e,i,n,s){return yc(Bt(),Xt(),t,e,i,n,s)}function _c(t,e){const i=t[e];return i===ds?void 0:i}function bc(t,e,i,n,s,o){const r=e+i;return Bo(t,r,s)?qo(t,r+1,o?n.call(o,s):n(s)):_c(t,r+1)}function yc(t,e,i,n,s,o,r){const a=e+i;return Yo(t,a,s,o)?qo(t,a+2,r?n.call(r,s,o):n(s,o)):_c(t,a+2)}function Ac(t,e){const i=Yt();let n;const s=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new m("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const o=n.factory||(n.factory=ft(n.type)),r=x(Ko);try{const t=Re(!1),e=o();return Re(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,Bt(),s,e),e}finally{x(r)}}function wc(t,e,i){const n=t+20,s=Bt(),o=zt(s,n);return kc(s,Tc(s,n)?bc(s,Xt(),e,o.transform,i,o):o.transform(i))}function Mc(t,e,i,n){const s=t+20,o=Bt(),r=zt(o,s);return kc(o,Tc(o,s)?yc(o,Xt(),e,r.transform,i,n,r):r.transform(i,n))}function vc(t,e,i,n,s){const o=t+20,r=Bt(),a=zt(r,o);return kc(r,Tc(r,o)?function(t,e,i,n,s,o,r,a){const c=e+i;return function(t,e,i,n,s){const o=Yo(t,e,i,n);return Bo(t,e+2,s)||o}(t,c,s,o,r)?qo(t,c+3,a?n.call(a,s,o,r):n(s,o,r)):_c(t,c+3)}(r,Xt(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function Tc(t,e){return t[1].data[e].pure}function kc(t,e){return Po.isWrapped(e)&&(e=Po.unwrap(e),t[Vt()]=ds),e}function Lc(t){return e=>{setTimeout(t,void 0,e)}}const Cc=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,o,r;let a=t,c=e||(()=>null),u=i;if(t&&"object"==typeof t){const e=t;a=null===(n=e.next)||void 0===n?void 0:n.bind(e),c=null===(o=e.error)||void 0===o?void 0:o.bind(e),u=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(c=Lc(c),a&&(a=Lc(a)),u&&(u=Lc(u)));const l=super.subscribe({next:a,error:c,complete:u});return t instanceof s.w&&t.add(l),l}};function Sc(){return this._results[Do()]()}class Ec{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Do(),i=Ec.prototype;i[e]||(i[e]=Sc)}get changes(){return this._changes||(this._changes=new Cc)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const i=si(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(r[t/2]);else{const s=o[t+1],r=e[-i];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=da,this.reject=da,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(bi(Zc,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const Xc=new ei("AppId"),Vc={provide:Xc,useFactory:function(){return`${$c()}${$c()}${$c()}`},deps:[]};function $c(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jc=new ei("Platform Initializer"),Qc=new ei("Platform ID"),tu=new ei("appBootstrapListener");let eu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const iu=new ei("LocaleId"),nu=new ei("DefaultCurrencyCode");class su{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ou=function(t){return new pc(t)},ru=ou,au=function(t){return Promise.resolve(ou(t))},cu=function(t){const e=ou(t),i=Ln(at(t).declarations).reduce((t,e)=>{const i=rt(e);return i&&t.push(new uc(i)),t},[]);return new su(e,i)},uu=cu,lu=function(t){return Promise.resolve(cu(t))};let hu=(()=>{class t{constructor(){this.compileModuleSync=ru,this.compileModuleAsync=au,this.compileModuleAndAllComponentsSync=uu,this.compileModuleAndAllComponentsAsync=lu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();const du=(()=>Promise.resolve(0))();function pu(t){"undefined"==typeof Zone?du.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class fu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Cc(!1),this.onMicrotaskEmpty=new Cc(!1),this.onStable=new Cc(!1),this.onError=new Cc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!i&&e,this.shouldCoalesceRunChangeDetection=i,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Y.requestAnimationFrame,e=Y.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Y,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_u(t),t.isCheckStableRunning=!0,mu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_u(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,o,r,a)=>{try{return bu(t),i.invokeTask(s,o,r,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),yu(t)}},onInvoke:(i,n,s,o,r,a,c)=>{try{return bu(t),i.invoke(s,o,r,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),yu(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,_u(t),mu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fu.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+n,t,gu,da,da);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const gu={};function mu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _u(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function bu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function yu(t){t._nesting--,mu(t)}class Au{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Cc,this.onMicrotaskEmpty=new Cc,this.onStable=new Cc,this.onError=new Cc}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let wu=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{fu.assertNotInAngularZone(),pu(()=>{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())pu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(bi(fu))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})(),Mu=(()=>{class t{constructor(){this._applications=new Map,Lu.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Lu.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();class vu{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}function Tu(t){Lu=t}let ku,Lu=new vu,Cu=!0,Su=!1;function Eu(){return Su=!0,Cu}function zu(){if(Su)throw new Error("Cannot enable prod mode after platform setup.");Cu=!1}const xu=new ei("AllowMultipleToken");class Ou{constructor(t,e){this.name=t,this.token=e}}function Ru(t,e,i=[]){const n=`Platform: ${e}`,s=new ei(n);return(e=[])=>{let o=Du();if(!o||o.injector.get(xu,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:po,useValue:"platform"});!function(t){if(ku&&!ku.destroyed&&!ku.injector.get(xu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ku=t.get(Pu);const e=t.get(Jc,null);e&&e.forEach(t=>t())}(Lo.create({providers:t,name:n}))}return function(t){const e=Du();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Du(){return ku&&!ku.destroyed?ku:null}let Pu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new Au:("zone.js"===t?void 0:t)||new fu({enableLongStackTrace:Eu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:fu,useValue:i}];return i.run(()=>{const e=Lo.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),o=s.injector.get(Mn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{o.handleError(t)}});s.onDestroy(()=>{qu(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return nr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(o,i,()=>{const t=s.injector.get(Gc);return t.runInitializers(),t.donePromise.then(()=>(ta(s.injector.get(iu,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=Nu({},e);return function(t,e,i){const n=new pc(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(Iu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${l(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(bi(Lo))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function Nu(t,e){return Array.isArray(e)?e.reduce(Nu,t):Object.assign(Object.assign({},t),e)}let Iu=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 c=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{fu.assertNotInAngularZone(),pu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{fu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=(0,r.T)(c,u.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof ua?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Va),s=i.create(Lo.NULL,[],e||i.selector,n),o=s.location.nativeElement,r=s.injector.get(wu,null),a=r&&s.injector.get(Mu);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),qu(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;qu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(tu,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(bi(fu),bi(Lo),bi(Mn),bi(ha),bi(Gc))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function qu(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class Bu{}class Yu{}const Hu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ju=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Hu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(1730)(e).then(t=>t[n]).then(t=>Fu(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(1730)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>Fu(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(bi(hu),bi(Yu,8))},t.\u0275prov=A({token:t,factory:t.\u0275fac}),t})();function Fu(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const Wu=function(t){return null},Uu=Ru(null,"core",[{provide:Qc,useValue:"unknown"},{provide:Pu,deps:[Lo]},{provide:Mu,deps:[]},{provide:eu,deps:[]}]),Ku=[{provide:Iu,useClass:Iu,deps:[fu,Lo,Mn,ha,Gc]},{provide:cc,deps:[fu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Gc,useClass:Gc,deps:[[new vi,Zc]]},{provide:hu,useClass:hu,deps:[]},Vc,{provide:Da,useFactory:function(){return Fa},deps:[]},{provide:Na,useFactory:function(){return Wa},deps:[]},{provide:iu,useFactory:function(t){return ta(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Mi(iu),new vi,new Ti]]},{provide:nu,useValue:"USD"}];let Zu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(bi(Iu))},t.\u0275mod=et({type:t}),t.\u0275inj=w({providers:Ku}),t})()},2623:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{zr:function(){return OAuthModule},Ct:function(){return OAuthService}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1572),_angular_common__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(1511),_angular_common_http__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9063),tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7632),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5959),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(878),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9764),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(1225),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1305),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1906),rxjs_operators__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3835),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(6599),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7701),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(509),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4689),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9996),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(7727),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9085),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(611),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(3982);module=__webpack_require__.hmd(module);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class t extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(i||t)}}(),t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class t{constructor(){this.data=new Map}getItem(t){return this.data.get(t)}removeItem(t){this.data.delete(t)}setItem(t,e){this.data.set(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class ReceivedTokens{}function b64DecodeUnicode(t){const e=t.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(t){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){let e=this.inferHashAlgorithm(t.idTokenHeader),i=yield this.calcHash(t.accessToken,e),n=base64UrlEncode(i.substr(0,i.length/2)),s=t.idTokenClaims.at_hash.replace(/=/g,"");return n!==s&&(console.error("exptected at_hash: "+n),console.error("actual at_hash: "+s)),n===s})}inferHashAlgorithm(t){let e=t.alg;if(!e.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+e);return"sha-"+e.substr(2)}}let UrlHelperService=(()=>{class t{getHashFragmentParams(t){let e=t||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const i=e.indexOf("?");return e=e.substr(i>-1?i+1:1),this.parseQueryString(e)}parseQueryString(t){const e={};let i,n,s,o,r,a,c;if(null===t)return e;i=t.split("&");for(let u=0;u{location.href=t},t&&Object.assign(this,t)}}class WebHttpUrlEncodingCodec{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(i){return new Sha256(e,!0).update(i)[t]()}};const \u02750=createOutputMethod;var createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var i=0;i>6,r[c++]=128|63&o):o<55296||o>=57344?(r[c++]=224|o>>12,r[c++]=128|o>>6&63,r[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++n)),r[c++]=240|o>>18,r[c++]=128|o>>12&63,r[c++]=128|o>>6&63,r[c++]=128|63&o);t=r}else{if("object"!==s)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],l=[];for(n=0;n<64;++n){var h=t[n]||0;u[n]=92^h,l[n]=54^h}Sha256.call(this,e,i),this.update(l),this.oKeyPad=u,this.inner=!0,this.sharedMemory=i}Sha256.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var n,s,o=0,r=t.length,a=this.blocks;o>2]|=t[o]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(a[s>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=a[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 t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,i,n,s,o,r=this.h0,a=this.h1,c=this.h2,u=this.h3,l=this.h4,h=this.h5,d=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(o=a&c,t=0;t<64;t+=4)this.first?(this.is224?(i=300032,p=(e=f[0]-1413257819)-150054599<<0,u=e+24177077<<0):(i=704751109,p=(e=f[0]-210244248)-1521486534<<0,u=e+143694565<<0),this.first=!1):(p=u+(e=p+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&h^~l&d)+K[t]+f[t])<<0,u=e+(((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+((i=r&a)^r&c^o))<<0),d=c+(e=d+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&l^~p&h)+K[t+1]+f[t+1])<<0,c=e+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((n=u&r)^u&a^i))<<0,h=a+(e=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&p^~d&l)+K[t+2]+f[t+2])<<0,a=e+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((s=c&u)^c&r^n))<<0,l=r+(e=l+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&p)+K[t+3]+f[t+3])<<0,r=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((o=a&c)^a&u^s))<<0;this.h0=this.h0+r<<0,this.h1=this.h1+a<<0,this.h2=this.h2+c<<0,this.h3=this.h3+u<<0,this.h4=this.h4+l<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=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[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[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[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[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[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]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r];return this.is224||(c+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4,o=this.h5,r=this.h6,a=this.h7,c=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o,r>>24&255,r>>16&255,r>>8&255,255&r];return this.is224||c.push(a>>24&255,a>>16&255,a>>8&255,255&a),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);class HashHandler{}let DefaultHashHandler=(()=>{class t{calcHash(t,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){const e=exports.array(t);return this.toHashString2(e)})}toHashString2(t){let e="";for(let i of t)e+=String.fromCharCode(i);return e}toHashString(t){const e=new Uint8Array(t);let i="";for(let n of e)i+=String.fromCharCode(n);return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})(),OAuthService=(()=>{class t extends AuthConfig{constructor(t,e,i,n,s,o,r,a,c,u){var l;super(),this.ngZone=t,this.http=e,this.config=s,this.urlHelper=o,this.logger=r,this.crypto=a,this.dateTimeService=u,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=c,s||(s={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),n&&(this.tokenValidationHandler=n),s&&this.configure(s);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if("undefined"!=typeof window&&void 0!==window.localStorage){const t=null===(l=null===window||void 0===window?void 0:window.navigator)||void 0===l?void 0:l.userAgent;((null==t?void 0:t.includes("MSIE "))||(null==t?void 0:t.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}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_3__.h)(t=>"token_received"===t.type)).subscribe(t=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(t={},e,i=!0){let n=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>{"token_received"===t.type?n=!0:"logout"===t.type&&(n=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_expires"===t.type&&(null==e||"any"===e||t.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(1e3)).subscribe(e=>{n&&this.refreshInternal(t,i).catch(t=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(t,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(t,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(t=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(t))}loadDiscoveryDocumentAndLogin(t=null){return this.loadDiscoveryDocumentAndTryLogin(t=t||{}).then(e=>!(!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 e=[],i=this.validateUrlForHttps(t),n=this.validateUrlAgainstIssuer(t);return i||e.push("https for all urls required. Also for urls received by discovery."),n||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(t){if(!t)return!0;const e=t.toLowerCase();return!1===this.requireHttps||!(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(t,e){if(!t)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(t))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(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_3__.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(),e=this.getAccessTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}setupIdTokenTimer(){const t=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),i=this.calcTimeout(e,t);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(i)).subscribe(t=>{this.ngZone.run(()=>{this.eventsSubject.next(t)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(t,e){const i=this.dateTimeService.now();return Math.max(0,(e-t)*this.timeoutFactor-(i-t))}setStorage(t){this._storage=t,this.configChanged()}loadDiscoveryDocument(t=null){return new Promise((e,i)=>{t||((t=this.issuer||"").endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),this.validateUrlForHttps(t)?this.http.get(t).subscribe(t=>{if(!this.validateDiscoveryDocument(t))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=t.authorization_endpoint,this.logoutUrl=t.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=t.grant_types_supported,this.issuer=t.issuer,this.tokenEndpoint=t.token_endpoint,this.userinfoEndpoint=t.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=t.jwks_uri,this.sessionCheckIFrameUrl=t.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(t),this.revocationEndpoint=t.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(i=>{const n=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:t,jwks:i});this.eventsSubject.next(n),e(n)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)})},t=>{this.logger.error("error loading discovery document",t),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((t,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(e=>{this.jwks=e,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),t(e)},t=>{this.logger.error("error loading jwks",t),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),e(t)}):t(null)})}validateDiscoveryDocument(t){let e;return this.skipIssuerCheck||t.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(t.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(t.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(t.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!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,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingPasswordFlow(t,e,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,e)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(i=>{if(this.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){let n=JSON.parse(i.body);const s=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!s.sub||n.sub!==s.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");n=Object.assign({},s,n),this._storage.setItem("id_token_claims_obj",JSON.stringify(n)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t({info:n})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t(JSON.parse(i.body))},t=>{this.logger.error("error loading user info",t),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",t)),e(t)})})}fetchTokenUsingPasswordFlow(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){return this.fetchTokenUsingGrant("password",{username:t,password:e},i)}fetchTokenUsingGrant(t,e,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let n=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",t).set("scope",this.scope);if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(s,this.customQueryParams[s]);for(const s of Object.keys(e))n=n.set(s,e[s]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((t,e)=>{this.http.post(this.tokenEndpoint,n,{headers:i}).subscribe(e=>{this.debug("tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token&&this.processIdToken(e.id_token,e.access_token).then(i=>{this.storeIdToken(i),t(e)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),t(e)},t=>{this.logger.error("Error performing ${grantType} flow",t),this.eventsSubject.next(new OAuthErrorEvent("token_error",t)),e(t)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((t,e)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),n=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+t)}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 s of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,i,{headers:n}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.w)(t=>t.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.D)(this.processIdToken(t.id_token,t.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(t=>this.storeIdToken(t)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(e=>t)):(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(t))).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.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),t(e)},t=>{this.logger.error("Error refreshing token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),e(t)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=t=>{const e=this.processMessageEventMessage(t);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(t=>this.debug("tryLogin during silent refresh failed",t))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(t={},e=!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 n=this.document.getElementById(this.silentRefreshIFrameName);n&&this.document.body.removeChild(n),this.silentRefreshSubject=i.sub;const s=this.document.createElement("iframe");s.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,t).then(t=>{s.setAttribute("src",t),this.silentRefreshShowIFrame||(s.style.display="none"),this.document.body.appendChild(s)});const o=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>t instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),r=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),a=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.S3)([o,r,a]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>{if(t instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===t.type||(t=new OAuthErrorEvent("silent_refresh_error",t)),this.eventsSubject.next(t),t;return"token_received"===t.type&&(t=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(t)),t})).toPromise()}initImplicitFlowInPopup(t){return this.initLoginFlowInPopup(t)}initLoginFlowInPopup(t){return t=t||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((i,n)=>{let s,o=null;t.windowRef?t.windowRef&&!t.windowRef.closed&&(o=t.windowRef,o.location.href=e):o=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(t));const r=t=>{this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{a(),i(!0)},t=>{a(),n(t)})};o?s=window.setInterval(()=>{o&&!o.closed||(a(),n(new OAuthErrorEvent("popup_closed",{})))},500):n(new OAuthErrorEvent("popup_blocked",{}));const a=()=>{window.clearInterval(s),window.removeEventListener("storage",u),window.removeEventListener("message",c),null!==o&&o.close(),o=null},c=t=>{const e=this.processMessageEventMessage(t);e&&null!==e?(window.removeEventListener("storage",u),r(e)):console.log("false event firing")},u=t=>{"auth_hash"===t.key&&(window.removeEventListener("message",c),r(t.newValue))};window.addEventListener("message",c),window.addEventListener("storage",u)}))}calculatePopupFeatures(t){const e=t.height||470,i=t.width||500,n=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${n}`}processMessageEventMessage(t){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!t||!t.data||"string"!=typeof t.data)return;const i=t.data;return i.startsWith(e)?"#"+i.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=t=>{const e=t.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(e)){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",e,"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_3__.h)(t=>"silently_refreshed"===t.type||"silent_refresh_timeout"===t.type||"silent_refresh_error"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.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 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 t=this.document.getElementById(this.sessionCheckIFrameName);t||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),t.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(t="",e="",i="",n=!1,s={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,function*(){let o;o=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 a=this.loginUrl.indexOf("?")>-1?"&":"?";let c=this.scope;this.oidc&&!c.match(/(^|\s)openid($|\s)/)&&(c="openid "+c);let u=this.loginUrl+a+"response_type="+encodeURIComponent(this.responseType)+"&client_id="+encodeURIComponent(this.clientId)+"&state="+encodeURIComponent(t)+"&redirect_uri="+encodeURIComponent(o)+"&scope="+encodeURIComponent(c);if(this.responseType.includes("code")&&!this.disablePKCE){const[t,e]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",e):this._storage.setItem("PKCE_verifier",e),u+="&code_challenge="+t,u+="&code_challenge_method=S256"}e&&(u+="&login_hint="+encodeURIComponent(e)),this.resource&&(u+="&resource="+encodeURIComponent(this.resource)),this.oidc&&(u+="&nonce="+encodeURIComponent(r)),n&&(u+="&prompt=none");for(const t of Object.keys(s))u+="&"+encodeURIComponent(t)+"="+encodeURIComponent(s[t]);if(this.customQueryParams)for(const t of Object.getOwnPropertyNames(this.customQueryParams))u+="&"+t+"="+encodeURIComponent(this.customQueryParams[t]);return u})}initImplicitFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initImplicitFlow",t),this.inImplicitFlow=!1})}initImplicitFlow(t="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(t,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"discovery_document_loaded"===t.type)).subscribe(i=>this.initImplicitFlowInternal(t,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(t){const e=this;if(t.onTokenReceived){const i={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};t.onTokenReceived(i)}}storeAccessTokenResponse(t,e,i,n,s){if(this._storage.setItem("access_token",t),n&&!Array.isArray(n)?this._storage.setItem("granted_scopes",JSON.stringify(n.split(" "))):n&&Array.isArray(n)&&this._storage.setItem("granted_scopes",JSON.stringify(n)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const t=1e3*i,e=this.dateTimeService.new().getTime()+t;this._storage.setItem("expires_at",""+e)}e&&this._storage.setItem("refresh_token",e),s&&s.forEach((t,e)=>{this._storage.setItem(e,t)})}tryLogin(t=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(t).then(t=>!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){const e=(t=t||{}).customHashFragment?t.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(e),n=i.code,s=i.state,o=i.session_state;if(!t.preventClearHashAfterLogin){const t=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,t)}let[r,a]=this.parseState(s);if(this.state=a,i.error){this.debug("error trying to login"),this.handleLoginError(t,i);const e=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(e),Promise.reject(e)}if(!t.disableNonceCheck){if(!r)return Promise.resolve();if(!t.disableOAuth2StateCheck&&!this.validateNonce(r)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.storeSessionState(o),n?this.getTokenFromCode(n,t).then(t=>null):Promise.resolve()}}getCodePartsFromUrl(t){return t&&0!==t.length?("?"===t.charAt(0)&&(t=t.substr(1)),this.urlHelper.parseQueryString(t)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(t,e){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",t).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let t;t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),t?i=i.set("code_verifier",t):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,e)}fetchAndProcessToken(t,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+t)}return this.useHttpBasicAuth||(t=t.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(t=t.set("client_secret",this.dummyClientSecret)),new Promise((n,s)=>{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(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.oidc&&t.id_token?this.processIdToken(t.id_token,t.access_token,e.disableNonceCheck).then(e=>{this.storeIdToken(e),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t)}).catch(t=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),console.error("Error validating tokens"),console.error(t),s(t)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),n(t))},t=>{console.error("Error getting token",t),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",t)),s(t)})})}tryLoginImplicitFlow(t=null){let e;e=(t=t||{}).customHashFragment?this.urlHelper.getHashFragmentParams(t.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const i=e.state;let[n,s]=this.parseState(i);if(this.state=s,e.error){this.debug("error trying to login"),this.handleLoginError(t,e);const i=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(i),Promise.reject(i)}const o=e.access_token,r=e.id_token,a=e.session_state,c=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!o)return Promise.resolve(!1);if(this.requestAccessToken&&!t.disableOAuth2StateCheck&&!i)return Promise.resolve(!1);if(this.oidc&&!r)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&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(n)){const t=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(t),Promise.reject(t)}return this.requestAccessToken&&this.storeAccessTokenResponse(o,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c),this.oidc?this.processIdToken(r,o,t.disableNonceCheck).then(e=>t.validationHandler?t.validationHandler({accessToken:o,idClaims:e.idTokenClaims,idToken:e.idToken,state:i}).then(t=>e):e).then(e=>(this.storeIdToken(e),this.storeSessionState(a),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(t),this.inImplicitFlow=!1,!0)).catch(t=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",t)),this.logger.error("Error validating tokens"),this.logger.error(t),Promise.reject(t))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(t),Promise.resolve(!0))}parseState(t){let e=t,i="";if(t){const n=t.indexOf(this.config.nonceStateSeparator);n>-1&&(e=t.substr(0,n),i=t.substr(n+this.config.nonceStateSeparator.length))}return[e,i]}validateNonce(t){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===t||(console.error("Validating access_token failed, wrong state/nonce.",e,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,e){t.onLoginError&&t.onLoginError(e),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(t=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:t}processIdToken(t,e,i=!1){const n=t.split("."),s=b64DecodeUnicode(this.padBase64(n[0])),o=JSON.parse(s),r=b64DecodeUnicode(this.padBase64(n[1])),a=JSON.parse(r);let c;if(c=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(t=>t!==this.clientId)){const t="Wrong audience: "+a.aud.join(",");return this.logger.warn(t),Promise.reject(t)}}else if(a.aud!==this.clientId){const t="Wrong audience: "+a.aud;return this.logger.warn(t),Promise.reject(t)}if(!a.sub){const t="No sub claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const t=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(t),Promise.reject(t)}if(!a.iat){const t="No iat claim in id_token";return this.logger.warn(t),Promise.reject(t)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const t="Wrong issuer: "+a.iss;return this.logger.warn(t),Promise.reject(t)}if(!i&&a.nonce!==c){const t="Wrong nonce: "+a.nonce;return this.logger.warn(t),Promise.reject(t)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const t="An at_hash is needed!";return this.logger.warn(t),Promise.reject(t)}const u=this.dateTimeService.now(),l=1e3*a.iat,h=1e3*a.exp,d=this.getClockSkewInMsec();if(l-d>=u||h+d<=u){const t="Token has expired";return console.error(t),console.error({now:u,issuedAtMSec:l,expiresAtMSec:h}),Promise.reject(t)}const p={accessToken:e,idToken:t,jwks:this.jwks,idTokenClaims:a,idTokenHeader:o,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(p).then(e=>({idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h})):this.checkAtHash(p).then(e=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!e){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return this.checkSignature(p).then(e=>{const i={idToken:t,idTokenClaims:a,idTokenClaimsJson:r,idTokenHeader:o,idTokenHeaderJson:s,idTokenExpiresAt:h};return this.disableAtHashCheck?i:this.checkAtHash(p).then(t=>{if(this.requestAccessToken&&!t){const t="Wrong at_hash";return this.logger.warn(t),Promise.reject(t)}return i})})})}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"),e=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={},e=""){let i=!1;"boolean"==typeof t&&(i=t,t={});const n=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(t=>this._storage.removeItem(t)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl)return;if(i)return;if(!n&&!this.postLogoutRedirectUri)return;let s;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)s=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(n)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec});n&&(i=i.set("id_token_hint",n));const o=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";o&&(i=i.set("post_logout_redirect_uri",o),e&&(i=i.set("state",e)));for(let e in t)i=i.set(e,t[e]);s=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+i.toString()}this.config.openUri(s)}createAndSaveNonce(){const t=this;return this.createNonce().then(function(e){return t.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):t._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const t=this.document.getElementById(this.silentRefreshIFrameName);t&&t.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(t=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,n="";const s="undefined"==typeof self?null:self.crypto||self.msCrypto;if(s){let t=new Uint8Array(i);s.getRandomValues(t),t.map||(t.map=Array.prototype.map),t=t.map(t=>e.charCodeAt(t%e.length)),n=String.fromCharCode.apply(null,t)}else for(;0"discovery_document_loaded"===t.type)).subscribe(i=>this.initCodeFlowInternal(t,e))}initCodeFlowInternal(t="",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 i={},n=null;"string"==typeof e?n=e:"object"==typeof e&&(i=e),this.createLoginUrl(t,n,null,!1,i).then(this.config.openUri).catch(t=>{console.error("Error in initAuthorizationCodeFlow"),console.error(t)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.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 e=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(i=>{t[i]&&e.set(i,JSON.stringify(t[i]))}),e):e}revokeTokenAndLogout(t={},e=!1){let i=this.revocationEndpoint,n=this.getAccessToken(),s=this.getRefreshToken();if(!n)return;let o=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}),r=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const t=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+t)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const a of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(a,this.customQueryParams[a]);return new Promise((a,c)=>{let u,l;if(n){let t=o.set("token",n).set("token_type_hint","access_token");u=this.http.post(i,t,{headers:r})}else u=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);if(s){let t=o.set("token",s).set("token_type_hint","refresh_token");l=this.http.post(i,t,{headers:r})}else l=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);e&&(u=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t))),l=l.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>0===t.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_16__.aj)([u,l]).subscribe(e=>{this.logOut(t),a(e),this.logger.info("Token successfully revoked")},t=>{this.logger.error("Error revoking token",t),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",t)),c(t)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_17__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DateTimeProvider))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(t){return(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(t)}}let DefaultOAuthInterceptor=(()=>{class t{constructor(t,e,i){this.oAuthService=t,this.errorHandler=e,this.moduleConfig=i}checkUrl(t){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(t):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>t.toLowerCase().startsWith(e.toLowerCase()))}intercept(t,e){const i=t.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_18__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>!!t)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(t=>"token_received"===t.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(t=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.zg)(i=>{if(i){const e=t.headers.set("Authorization","Bearer "+i);t=t.clone({headers:e})}return e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t)))})):e.handle(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(t=>this.errorHandler.handleError(t))):e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthModuleConfig,8))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();class NullValidationHandler{validateSignature(t){return Promise.resolve(null)}validateAtHash(t){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class t{static forRoot(e=null,i=NullValidationHandler){return{ngModule:t,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:i},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:e},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_17__.ez]]}),t})();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_0__.OlP("AUTH_CONFIG")},2051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){r(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),r=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(t,o,r){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=o=o||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,o,r):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,o){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),s);else if(i(t))e(t,s,o);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){n(r)})}}:function(t,i,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=r.saveAs=r,t.exports=r})?i.apply(e,[]):i)||(t.exports=n)},9355:function(t,e,i){(t.exports=i(2021)).tz.load(i(4360))},2021:function(t,e,i){var n,s,o;!function(r,a){"use strict";t.exports?t.exports=a(i(9609)):(s=[i(9609)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}(0,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,i={},n={},s={},o={},r={};t&&"string"==typeof t.version||S("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var a=t.version.split("."),c=+a[0],u=+a[1];function l(t){return t>96?t-87:t>64?t-29:t-48}function h(t){var e=0,i=t.split("."),n=i[0],s=i[1]||"",o=1,r=0,a=1;for(45===t.charCodeAt(0)&&(e=1,a=-1);e= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),g.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,i=+t,n=this.untils;for(e=0;en&&E.moveInvalidForward&&(e=n),o3){var e=o[v(t)];if(e)return e;S("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(l){}var i,n,s,r=function(){var t,e,i,n=(new Date).getFullYear()-2,s=new _(new Date(n,0,1)),o=[s];for(i=1;i<48;i++)(e=new _(new Date(n,i,1))).offset!==s.offset&&(t=y(s,e),o.push(t),o.push(new _(new Date(t.at+6e4)))),s=e;for(i=0;i<4;i++)o.push(new _(new Date(n+i,0,1))),o.push(new _(new Date(n+i,6,1)));return o}(),a=r.length,c=M(r),u=[];for(n=0;n0?u[0].zone.name:void 0}()),e},E.names=function(){var t,e=[];for(t in o)o.hasOwnProperty(t)&&(i[t]||i[n[t]])&&o[t]&&e.push(o[t]);return e.sort()},E.Zone=g,E.unpack=f,E.unpackBase60=h,E.needsOffset=C,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(s)},E.zonesForCountry=function(t,e){var i;if(i=(i=t).toUpperCase(),!(t=s[i]||null))return null;var n=t.zones.sort();return e?n.map(function(t){return{name:t,offset:k(t).utcOffset(new Date)}}):n};var z,x=t.fn;function O(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function R(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=E,t.defaultZone=null,t.updateOffset=function(e,i){var n,s=t.defaultZone;if(void 0===e._z&&(s&&C(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(s.parse(e),"minutes")),e._z=s),e._z)if(n=e._z.utcOffset(e),Math.abs(n)<16&&(n/=60),void 0!==e.utcOffset){var o=e._z;e.utcOffset(-n,i),e._z=o}else e.zone(n,i)},x.tz=function(e,i){if(e){if("string"!=typeof e)throw new Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=k(e),this._z?t.updateOffset(this,i):S("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},x.zoneName=O(x.zoneName),x.zoneAbbr=O(x.zoneAbbr),x.utc=R(x.utc),x.local=R(x.local),x.utcOffset=(z=x.utcOffset,function(){return arguments.length>0&&(this._z=null),z.apply(this,arguments)}),t.tz.setDefault=function(e){return(c<2||2===c&&u<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?k(e):null,t};var D=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(D)?(D.push("_z"),D.push("_a")):D&&(D._z=null),t})},776:function(t,e,i){!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(t){return/^nm$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},2758:function(t,e,i){!function(t){"use strict";t.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(i(9609))},4980:function(t,e,i){!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}})}(i(9609))},9602:function(t,e,i){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(t){return function(e,s,o,r){var a=i(e),c=n[t][i(e)];return 2===a&&(c=c[s?0:1]),c.replace(/%d/i,e)}},o=["\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:o,monthsShort:o,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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},2500:function(t,e,i){!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\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:6,doy:12}})}(i(9609))},6909:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(9609))},2735:function(t,e,i){!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}})}(i(9609))},7634:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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"]},o=function(t){return function(e,i,o,r){var a=n(e),c=s[t][n(e)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,e)}},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"];t.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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},7798:function(t,e,i){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};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:"birne\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(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9949:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}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:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(i(9609))},4590:function(t,e,i){!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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},5938:function(t,e,i){!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}})}(i(9609))},595:function(t,e,i){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\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\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(9609))},4756:function(t,e,i){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\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\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("_"),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\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("_"),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(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(9609))},7277:function(t,e,i){!function(t){"use strict";function e(t,e,i){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],t)}function i(t){return t>9?i(t%10):t}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i(9609))},4166:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},3943:function(t,e,i){!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(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}})}(i(9609))},3474:function(t,e,i){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^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],s=/^(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 o(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||n?s+(o(t)?"sekundy":"sekund"):s+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?s+(o(t)?"minuty":"minut"):s+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?s+(o(t)?"hodiny":"hodin"):s+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?s+(o(t)?"dny":"dn\xed"):s+"dny";case"M":return e||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||n?s+(o(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?s+(o(t)?"roky":"let"):s+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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}})}(i(9609))},2218:function(t,e,i){!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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(9609))},1061:function(t,e,i){!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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(i(9609))},2743:function(t,e,i){!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}})}(i(9609))},8580:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3264:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1899:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8784:function(t,e,i){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,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(t){return"\u0789\u078a"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(9609))},4654:function(t,e,i){!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(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.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(t,e,i){return t>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var i,n=this._calendarEl[t],s=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(9609))},4047:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6277:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6896:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},1609:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},4557:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},5836:function(t,e,i){!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",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},3586:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2777:function(t,e,i){!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_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,i){return t>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(9609))},3128:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},3256:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(9609))},3357:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},2654:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},7287:function(t,e,i){!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}})}(i(9609))},5210:function(t,e,i){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\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(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,i){return t<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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(9609))},3431:function(t,e,i){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function n(t,n,s,o){var r="";switch(s){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":r=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":r=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":r=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":r=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":r=o?"vuoden":"vuotta"}return function(t,n){return t<10?n?i[t]:e[t]:t}(t,o)+" "+r}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1781:function(t,e,i){!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}})}(i(9609))},1539:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(i(9609))},9847:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},1717:function(t,e,i){!function(t){"use strict";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("_"),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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},2250:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},7665:function(t,e,i){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},5214:function(t,e,i){!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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},6154:function(t,e,i){!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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},8518:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?s[i][0]:s[i][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(i(9609))},9221:function(t,e,i){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\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\u0ac7\u0ab9\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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(9609))},4743:function(t,e,i){!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(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,i){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(9609))},7339:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(9609))},3224:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},856:function(t,e,i){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(t,e,i,n){var s=t;switch(i){case"s":return n||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return s+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return s+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||e?" \xe9v":" \xe9ve");case"yy":return s+(n||e?" \xe9v":" \xe9ve")}return""}function n(t){return(t?"":"[m\xfalt] ")+"["+e[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("_"),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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(i(9609))},6855:function(t,e,i){!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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(i(9609))},2190:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},3887:function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,s){var o=t+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?o+(i||s?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?o+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return e(t)?o+(i||s?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return e(t)?i?o+"dagar":o+(s?"daga":"d\xf6gum"):i?o+"dagur":o+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?i?o+"m\xe1nu\xf0ir":o+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?o+"m\xe1nu\xf0ur":o+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return e(t)?o+(i||s?"\xe1r":"\xe1rum"):o+(i||s?"\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:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},5890:function(t,e,i){!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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},9270:function(t,e,i){!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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},6595:function(t,e,i){!function(t){"use strict";t.defineLocale("ja",{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:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,i){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(9609))},7477:function(t,e,i){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(i(9609))},3978:function(t,e,i){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9205:function(t,e,i){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},25:function(t,e,i){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\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(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(9609))},427:function(t,e,i){!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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,i){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(9609))},9089:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\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:n,monthsShort:n,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(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},9314:function(t,e,i){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},3136:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={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 e?s[i][0]:s[i][1]}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return i(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=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(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9115:function(t,e,i){!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(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,i){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(i(9609))},7087:function(t,e,i){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_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 i(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(t){return t%10==0||t>10&&t<20}function s(t){return e[t].split("_")}function o(t,e,o,r){var a=t+" ";return 1===t?a+i(0,e,o[0],r):e?a+(n(t)?s(o)[1]:s(o)[0]):r?a+s(o)[1]:a+(n(t)?s(o)[1]:s(o)[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(t,e,i,n){return e?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i(9609))},5683:function(t,e,i){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(t,e,i){return i?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,s){return t+" "+i(e[s],t,n)}function s(t,n,s){return i(e[s],t,n)}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(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9454:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},5507:function(t,e,i){!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}})}(i(9609))},8466:function(t,e,i){!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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},2933:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(9609))},9477:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){switch(i){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 t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}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(t){return"\u04ae\u0425"===t},meridiem:function(t,e,i){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(i(9609))},3597:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(t,e,i,n){var s="";if(e)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,t)}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e?t>=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(9609))},9965:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},5529:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},259:function(t,e,i){!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}})}(i(9609))},8061:function(t,e,i){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\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(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},2618:function(t,e,i){!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_april_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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8452:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,i){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(9609))},413:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},1885:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},5107:function(t,e,i){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},702:function(t,e,i){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(9609))},1711:function(t,e,i){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function s(t,e,i){var s=t+" ";switch(i){case"ss":return s+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return s+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return s+(n(t)?"godziny":"godzin");case"MM":return s+(n(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?""===n?"("+i[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(n)?i[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8238:function(t,e,i){!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"})}(i(9609))},594:function(t,e,i){!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",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},4681:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(i(9609))},6201:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\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",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}var i=[/^\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:i,longMonthsParse:i,shortMonthsParse:i,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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(i(9609))},2912:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6002:function(t,e,i){!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}})}(i(9609))},7942:function(t,e,i){!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(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,i){return t>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(9609))},5577:function(t,e,i){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function s(t,e,i,s){var o=t+" ";switch(i){case"s":return e||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||s?o+(n(t)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return e?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return e||s?o+(n(t)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return e?"hodina":s?"hodinu":"hodinou";case"hh":return e||s?o+(n(t)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return e||s?"de\u0148":"d\u0148om";case"dd":return e||s?o+(n(t)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return e||s?"mesiac":"mesiacom";case"MM":return e||s?o+(n(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||s?"rok":"rokom";case"yy":return e||s?o+(n(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:i,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(i(9609))},1775:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return s+(1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return s+(1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return s+(1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return s+(1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return s+(1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6823:function(t,e,i){!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(t){return"M"===t.charAt(0)},meridiem:function(t,e,i){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3848:function(t,e,i){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},9038:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6173:function(t,e,i){!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(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(9609))},5788:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(i(9609))},6882:function(t,e,i){!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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(9609))},2678:function(t,e,i){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\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(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e,i){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(i(9609))},2797:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(9609))},2447:function(t,e,i){!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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},1335:function(t,e,i){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},8667:function(t,e,i){!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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,i){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(9609))},9914:function(t,e,i){!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(t){return t},week:{dow:1,doy:4}})}(i(9609))},1389:function(t,e,i){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(t,i,n,s){var o=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),s=t%10,o="";return i>0&&(o+=e[i]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+e[n]+"maH"),s>0&&(o+=(""!==o?" ":"")+e[s]),""===o?"pagh":o}(t);switch(n){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" 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(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3578:function(t,e,i){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};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_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".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 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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,i){switch(i){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(i(9609))},6969:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?s[i][0]:s[i][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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,i){return t>11?i?"d'o":"D'O":i?"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: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}})}(i(9609))},690:function(t,e,i){!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}})}(i(9609))},6509:function(t,e,i){!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}})}(i(9609))},55:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(9609))},2452:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(n=+t,s={ss:e?"\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:e?"\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:e?"\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"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}function i(t){return function(){return t+"\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(t,e){var i={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===t?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):t?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:i.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(i(9609))},1151:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6547:function(t,e,i){!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}})}(i(9609))},1555:function(t,e,i){!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}})}(i(9609))},6541:function(t,e,i){!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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(i(9609))},2401:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2341:function(t,e,i){!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}})}(i(9609))},619:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<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|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(9609))},7058:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},2782:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},9609:function(t,e,i){(t=i.nmd(t)).exports=function(){"use strict";var e,n;function s(){return e.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i<_.length;i++)a(s=e[n=_[i]])||(t[n]=s);return t}var y=!1;function A(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,s.updateOffset(this),y=!1)}function w(t){return t instanceof A||null!=t&&null!=t._isAMomentObject}function M(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function v(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=M(e)),i}function T(t,e,i){var n,s=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),r=0;for(n=0;n=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},F={};function W(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(F[t]=s),e&&(F[e[0]]=function(){return B(s.apply(this,arguments),e[1],e[2])}),i&&(F[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=K(e,t.localeData()),j[e]=j[e]||function(t){var e,i,n,s=t.match(Y);for(e=0,i=s.length;e=0&&H.test(t);)t=t.replace(H,n),H.lastIndex=0,i-=1;return t}var Z=/\d/,G=/\d\d/,X=/\d{3}/,V=/\d{4}/,$=/[+-]?\d{6}/,J=/\d\d?/,Q=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,st=/\d+/,ot=/[+-]?\d+/,rt=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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,ut={};function lt(t,e,i){ut[t]=z(e)?e:function(t,n){return t&&i?i:e}}function ht(t,e){return h(ut,t)?ut[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,s){return e||i||n||s})))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),c(e)&&(n=function(t,i){i[e]=v(t)}),i=0;i68?1900:2e3)};var yt,At=wt("FullYear",!0);function wt(t,e){return function(i){return null!=i?(vt(this,t,i),s.updateOffset(this,e),this):Mt(this,t)}}function Mt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function vt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&bt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Tt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Tt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?bt(t)?29:28:31-i%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0?(a=new Date(t+400,e,i,n,s,o,r),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,s,o,r),a}function Pt(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Nt(t,e,i){var n=7+e-i;return-(7+Pt(t,0,n).getUTCDay()-e)%7+n-1}function It(t,e,i,n,s){var o,r,a=1+7*(e-1)+(7+i-n)%7+Nt(t,n,s);return a<=0?r=_t(o=t-1)+a:a>_t(t)?(o=t+1,r=a-_t(t)):(o=t,r=a),{year:o,dayOfYear:r}}function qt(t,e,i){var n,s,o=Nt(t.year(),e,i),r=Math.floor((t.dayOfYear()-o-1)/7)+1;return r<1?n=r+Bt(s=t.year()-1,e,i):r>Bt(t.year(),e,i)?(n=r-Bt(t.year(),e,i),s=t.year()+1):(s=t.year(),n=r),{week:n,year:s}}function Bt(t,e,i){var n=Nt(t,e,i),s=Nt(t+1,e,i);return(_t(t)-n+s)/7}function Yt(t,e){return t.slice(e,7).concat(t.slice(0,e))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),q("week",5),q("isoWeek",5),lt("w",J),lt("ww",J,G),lt("W",J),lt("WW",J,G),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=v(t)}),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),lt("d",J),lt("e",J),lt("E",J),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){var s=i._locale.weekdaysParse(t,n,i._strict);null!=s?e.d=s:f(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=v(t)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Wt(t,e,i){var n,s,o,r=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,r))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,r))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._shortWeekdaysParse,r))||-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,r))||-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._minWeekdaysParse,r))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,r))||-1!==(s=yt.call(this._weekdaysParse,r))||-1!==(s=yt.call(this._shortWeekdaysParse,r))?s:null}var Ut=ct,Kt=ct,Zt=ct;function Gt(){function t(t,e){return e.length-t.length}var e,i,n,s,o,r=[],a=[],c=[],u=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),o=this.weekdays(i,""),r.push(n),a.push(s),c.push(o),u.push(n),u.push(s),u.push(o);for(r.sort(t),a.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)a[e]=dt(a[e]),c[e]=dt(c[e]),u[e]=dt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Vt(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function $t(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Xt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Xt.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Xt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Vt("a",!0),Vt("A",!1),D("hour","h"),q("hour",13),lt("a",$t),lt("A",$t),lt("H",J),lt("h",J),lt("k",J),lt("HH",J,G),lt("hh",J,G),lt("kk",J,G),lt("hmm",Q),lt("hmmss",tt),lt("Hmm",Q),lt("Hmmss",tt),ft(["H","HH"],3),ft(["k","kk"],function(t,e,i){var n=v(t);e[3]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[3]=v(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(s)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(s))});var Jt,Qt=wt("Hours",!0),te={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Lt,monthsShort:Ct,week:{dow:0,doy:6},weekdays:Ht,weekdaysMin:Ft,weekdaysShort:jt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ie={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function se(e){var n=null;if(!ee[e]&&t&&t.exports)try{n=Jt._abbr,i(6700)("./"+e),oe(n)}catch(s){}return ee[e]}function oe(t,e){var i;return t&&((i=a(e)?ae(t):re(t,e))?Jt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Jt._abbr}function re(t,e){if(null!==e){var i,n=te;if(e.abbr=t,null!=ee[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])n=ee[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ie[e.parentLocale]||(ie[e.parentLocale]=[]),ie[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ee[t]=new O(x(n,e)),ie[t]&&ie[t].forEach(function(t){re(t.name,t.config)}),oe(t),ee[t]}return delete ee[t],null}function ae(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Jt;if(!o(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,s,o=0;o0;){if(n=se(s.slice(0,e).join("-")))return n;if(i&&i.length>=e&&T(s,i,!0)>=e-1)break;e--}o++}return Jt}(t)}function ce(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Tt(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,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}function ue(t,e,i){return null!=t?t:null!=e?e:i}function le(t){var e,i,n,o,r,a=[];if(!t._d){for(n=function(t){var e=new Date(s.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,s,o,r,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,r=4,i=ue(e.GG,t._a[0],qt(Te(),1,4).year),n=ue(e.W,1),((s=ue(e.E,1))<1||s>7)&&(c=!0);else{o=t._locale._week.dow,r=t._locale._week.doy;var u=qt(Te(),o,r);i=ue(e.gg,t._a[0],u.year),n=ue(e.w,u.week),null!=e.d?((s=e.d)<0||s>6)&&(c=!0):null!=e.e?(s=e.e+o,(e.e<0||e.e>6)&&(c=!0)):s=o}n<1||n>Bt(i,o,r)?f(t)._overflowWeeks=!0:null!=c?f(t)._overflowWeekday=!0:(a=It(i,n,s,o,r),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(r=ue(t._a[0],n[0]),(t._dayOfYear>_t(r)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Pt(r,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Pt:Dt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var he=/^\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)?)?$/,de=/^\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)?)?$/,pe=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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}/]],ge=[["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/]],me=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,s,o,r,a=t._i,c=he.exec(a)||de.exec(a);if(c){for(f(t).iso=!0,e=0,i=fe.length;e0&&f(t).unusedInput.push(r),a=a.slice(a.indexOf(i)+i.length),u+=i.length),F[o]?(i?f(t).empty=!1:f(t).unusedTokens.push(o),mt(o,i,t)):t._strict&&!i&&f(t).unusedTokens.push(o);f(t).charsLeftOver=c-u,a.length>0&&f(t).unusedInput.push(a),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),le(t),ce(t)}else Ae(t);else _e(t)}function Me(t){var e=t._i,i=t._f;return t._locale=t._locale||ae(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new A(ce(e)):(u(e)?t._d=e:o(i)?function(t){var e,i,n,s,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(s=0;sthis?this:t:m()});function Ce(t,e){var i,n;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],n=1;n=0?new Date(t+400,e,i)-126227808e5:new Date(t,e,i).valueOf()}function Qe(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-126227808e5:Date.UTC(t,e,i)}function ti(t,e){W(0,[t,t.length],0,e)}function ei(t,e,i,n,s){var o;return null==t?qt(this,n,s).year:(e>(o=Bt(t,n,s))&&(e=o),ii.call(this,t,e,i,n,s))}function ii(t,e,i,n,s){var o=It(t,e,i,n,s),r=Pt(o.year,0,o.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ti("gggg","weekYear"),ti("ggggg","weekYear"),ti("GGGG","isoWeekYear"),ti("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),lt("G",ot),lt("g",ot),lt("GG",J,G),lt("gg",J,G),lt("GGGG",it,V),lt("gggg",it,V),lt("GGGGG",nt,$),lt("ggggg",nt,$),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=v(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=s.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),D("quarter","Q"),q("quarter",7),lt("Q",Z),ft("Q",function(t,e){e[1]=3*(v(t)-1)}),W("D",["DD",2],"Do","date"),D("date","D"),q("date",9),lt("D",J),lt("DD",J,G),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],2),ft("Do",function(t,e){e[2]=v(t.match(J)[0])});var ni=wt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),q("dayOfYear",4),lt("DDD",et),lt("DDDD",X),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=v(t)}),W("m",["mm",2],0,"minute"),D("minute","m"),q("minute",14),lt("m",J),lt("mm",J,G),ft(["m","mm"],4);var si=wt("Minutes",!1);W("s",["ss",2],0,"second"),D("second","s"),q("second",15),lt("s",J),lt("ss",J,G),ft(["s","ss"],5);var oi,ri=wt("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),q("millisecond",16),lt("S",et,Z),lt("SS",et,G),lt("SSS",et,X),oi="SSSS";oi.length<=9;oi+="S")lt(oi,st);function ai(t,e){e[6]=v(1e3*("0."+t))}for(oi="S";oi.length<=9;oi+="S")ft(oi,ai);var ci=wt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ui=A.prototype;function li(t){return t}ui.add=Ue,ui.calendar=function(t,e){var i=t||Te(),n=Pe(i,this).startOf("day"),o=s.calendarFormat(this,n)||"sameElse",r=e&&(z(e[o])?e[o].call(this,i):e[o]);return this.format(r||this.localeData().calendar(o,this,Te(i)))},ui.clone=function(){return new A(this)},ui.diff=function(t,e,i){var n,s,o;if(!this.isValid())return NaN;if(!(n=Pe(t,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),e=P(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-s)/864e5;break;case"week":o=(this-n-s)/6048e5;break;default:o=this-n}return i?o:M(o)},ui.endOf=function(t){var e;if(void 0===(t=P(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?Qe:Je;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-$e(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-$e(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-$e(e,1e3)-1}return this._d.setTime(e),s.updateOffset(this,!0),this},ui.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},ui.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Te(t).isValid())?Ye({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.fromNow=function(t){return this.from(Te(),t)},ui.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Te(t).isValid())?Ye({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.toNow=function(t){return this.to(Te(),t)},ui.get=function(t){return z(this[t=P(t)])?this[t]():this},ui.invalidAt=function(){return f(this).overflow},ui.isAfter=function(t,e){var i=w(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=P(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ui.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},ui.toJSON=function(){return this.isValid()?this.toISOString():null},ui.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ui.unix=function(){return Math.floor(this.valueOf()/1e3)},ui.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ui.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ui.year=At,ui.isLeapYear=function(){return bt(this.year())},ui.weekYear=function(t){return ei.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ui.isoWeekYear=function(t){return ei.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ui.quarter=ui.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ui.month=zt,ui.daysInMonth=function(){return Tt(this.year(),this.month())},ui.week=ui.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ui.isoWeek=ui.isoWeeks=function(t){var e=qt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ui.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},ui.isoWeeksInYear=function(){return Bt(this.year(),1,4)},ui.date=ni,ui.day=ui.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ui.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ui.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ui.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ui.hour=ui.hours=Qt,ui.minute=ui.minutes=si,ui.second=ui.seconds=ri,ui.millisecond=ui.milliseconds=ci,ui.utcOffset=function(t,e,i){var n,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=De(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Ne(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?We(this,Ye(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)},ui.utc=function(t){return this.utcOffset(0,t)},ui.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},ui.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=De(rt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ui.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ui.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ui.isLocal=function(){return!!this.isValid()&&!this._isUTC},ui.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ui.isUtc=Ie,ui.isUTC=Ie,ui.zoneAbbr=function(){return this._isUTC?"UTC":""},ui.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ui.dates=L("dates accessor is deprecated. Use date instead.",ni),ui.months=L("months accessor is deprecated. Use month instead",zt),ui.years=L("years accessor is deprecated. Use year instead",At),ui.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ui.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(b(t,this),(t=Me(t))._a){var e=t._isUTC?p(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&T(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hi=O.prototype;function di(t,e,i,n){var s=ae(),o=p().set(n,e);return s[i](o,t)}function pi(t,e,i){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return di(t,e,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=di(t,n,i,"month");return s}function fi(t,e,i,n){"boolean"==typeof t?(c(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,c(e)&&(i=e,e=void 0),e=e||"");var s,o=ae(),r=t?o._week.dow:0;if(null!=i)return di(e,(i+r)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=di(e,(s+r)%7,n,"day");return a}hi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return z(n)?n.call(e,i):n},hi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(t){return this._ordinal.replace("%d",t)},hi.preparse=li,hi.postformat=li,hi.relativeTime=function(t,e,i,n){var s=this._relativeTime[i];return z(s)?s(t,e,i,n):s.replace(/%d/i,t)},hi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return z(i)?i(e):i.replace(/%s/i,e)},hi.set=function(t){var e,i;for(i in t)z(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,i){var n,s,o;if(this._monthsParseExact)return St.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},hi.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Ot),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=xt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(t){return qt(t,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(t,e){var i=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Yt(i,this._week.dow):t?i[t.day()]:i},hi.weekdaysMin=function(t){return!0===t?Yt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},hi.weekdaysShort=function(t){return!0===t?Yt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},hi.weekdaysParse=function(t,e,i){var n,s,o;if(this._weekdaysParseExact)return Wt.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},oe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),s.lang=L("moment.lang is deprecated. Use moment.locale instead.",oe),s.langData=L("moment.langData is deprecated. Use moment.localeData instead.",ae);var gi=Math.abs;function mi(t,e,i,n){var s=Ye(e,i);return t._milliseconds+=n*s._milliseconds,t._days+=n*s._days,t._months+=n*s._months,t._bubble()}function _i(t){return t<0?Math.floor(t):Math.ceil(t)}function bi(t){return 4800*t/146097}function yi(t){return 146097*t/4800}function Ai(t){return function(){return this.as(t)}}var wi=Ai("ms"),Mi=Ai("s"),vi=Ai("m"),Ti=Ai("h"),ki=Ai("d"),Li=Ai("w"),Ci=Ai("M"),Si=Ai("Q"),Ei=Ai("y");function zi(t){return function(){return this.isValid()?this._data[t]:NaN}}var xi=zi("milliseconds"),Oi=zi("seconds"),Ri=zi("minutes"),Di=zi("hours"),Pi=zi("days"),Ni=zi("months"),Ii=zi("years"),qi=Math.round,Bi={ss:44,s:45,m:45,h:22,d:26,M:11};function Yi(t,e,i,n,s){return s.relativeTime(e||1,!!i,t,n)}var Hi=Math.abs;function ji(t){return(t>0)-(t<0)||+t}function Fi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Hi(this._milliseconds)/1e3,n=Hi(this._days),s=Hi(this._months);t=M(i/60),e=M(t/60),i%=60,t%=60;var o=M(s/12),r=s%=12,a=n,c=e,u=t,l=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=ji(this._months)!==ji(h)?"-":"",f=ji(this._days)!==ji(h)?"-":"",g=ji(this._milliseconds)!==ji(h)?"-":"";return d+"P"+(o?p+o+"Y":"")+(r?p+r+"M":"")+(a?f+a+"D":"")+(c||u||l?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(l?g+l+"S":"")}var Wi=Ee.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var t=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),t.milliseconds=gi(t.milliseconds),t.seconds=gi(t.seconds),t.minutes=gi(t.minutes),t.hours=gi(t.hours),t.months=gi(t.months),t.years=gi(t.years),this},Wi.add=function(t,e){return mi(this,t,e,1)},Wi.subtract=function(t,e){return mi(this,t,e,-1)},Wi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=P(t))||"quarter"===t||"year"===t)switch(i=this._months+bi(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(yi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Wi.asMilliseconds=wi,Wi.asSeconds=Mi,Wi.asMinutes=vi,Wi.asHours=Ti,Wi.asDays=ki,Wi.asWeeks=Li,Wi.asMonths=Ci,Wi.asQuarters=Si,Wi.asYears=Ei,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12):NaN},Wi._bubble=function(){var t,e,i,n,s,o=this._milliseconds,r=this._days,a=this._months,c=this._data;return o>=0&&r>=0&&a>=0||o<=0&&r<=0&&a<=0||(o+=864e5*_i(yi(a)+r),r=0,a=0),c.milliseconds=o%1e3,t=M(o/1e3),c.seconds=t%60,e=M(t/60),c.minutes=e%60,i=M(e/60),c.hours=i%24,r+=M(i/24),a+=s=M(bi(r)),r-=_i(yi(s)),n=M(a/12),a%=12,c.days=r,c.months=a,c.years=n,this},Wi.clone=function(){return Ye(this)},Wi.get=function(t){return t=P(t),this.isValid()?this[t+"s"]():NaN},Wi.milliseconds=xi,Wi.seconds=Oi,Wi.minutes=Ri,Wi.hours=Di,Wi.days=Pi,Wi.weeks=function(){return M(this.days()/7)},Wi.months=Ni,Wi.years=Ii,Wi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=Ye(t).abs(),s=qi(n.as("s")),o=qi(n.as("m")),r=qi(n.as("h")),a=qi(n.as("d")),c=qi(n.as("M")),u=qi(n.as("y")),l=s<=Bi.ss&&["s",s]||s0,l[4]=i,Yi.apply(null,l)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Wi.toISOString=Fi,Wi.toString=Fi,Wi.toJSON=Fi,Wi.locale=Ge,Wi.localeData=Ve,Wi.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fi),Wi.lang=Xe,W("X",0,0,"unix"),W("x",0,0,"valueOf"),lt("x",ot),lt("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(v(t))}),s.version="2.24.0",e=Te,s.fn=ui,s.min=function(){return Ce("isBefore",[].slice.call(arguments,0))},s.max=function(){return Ce("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return Te(1e3*t)},s.months=function(t,e){return pi(t,e,"months")},s.isDate=u,s.locale=oe,s.invalid=m,s.duration=Ye,s.isMoment=w,s.weekdays=function(t,e,i){return fi(t,e,i,"weekdays")},s.parseZone=function(){return Te.apply(null,arguments).parseZone()},s.localeData=ae,s.isDuration=ze,s.monthsShort=function(t,e){return pi(t,e,"monthsShort")},s.weekdaysMin=function(t,e,i){return fi(t,e,i,"weekdaysMin")},s.defineLocale=re,s.updateLocale=function(t,e){if(null!=e){var i,n,s=te;null!=(n=se(t))&&(s=n._config),(i=new O(e=x(s,e))).parentLocale=ee[t],ee[t]=i,oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},s.locales=function(){return C(ee)},s.weekdaysShort=function(t,e,i){return fi(t,e,i,"weekdaysShort")},s.normalizeUnits=P,s.relativeTimeRounding=function(t){return void 0===t?qi:"function"==typeof t&&(qi=t,!0)},s.relativeTimeThreshold=function(t,e){return void 0!==Bi[t]&&(void 0===e?Bi[t]:(Bi[t]=e,"s"===t&&(Bi.ss=e-1),!0))},s.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=ui,s.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"},s}()},963:function(t){"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,i,n,s){n=n||"=";var o={};if("string"!=typeof t||0===t.length)return o;var r=/\+/g;t=t.split(i=i||"&");var a=1e3;s&&"number"==typeof s.maxKeys&&(a=s.maxKeys);var c=t.length;a>0&&c>a&&(c=a);for(var u=0;u=0?(l=f.substr(0,g),h=f.substr(g+1)):(l=f,h=""),d=decodeURIComponent(l),p=decodeURIComponent(h),e(o,d)?Array.isArray(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}},5341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var o=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return o+encodeURIComponent(e(t))}).join(i):o+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},6577:function(t,e,i){"use strict";i(963),i(5341)},9867:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(6673);class s extends n.L{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},3103:function(t,e,i){"use strict";i.d(e,{P:function(){return r}});var n=i(653),s=i(878),o=i(1225);let r=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},8318:function(t,e,i){"use strict";i.d(e,{y:function(){return u}});var n=i(6673),s=i(5331),o=i(7498),r=i(6197),a=i(3392),c=i(1484);let u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:r}=this,a=function(t,e,i){if(t){if(t instanceof n.L)return t;if(t[s.b])return t[s.b]()}return t||e||i?new n.L(t,e,i):new n.L(o.c)}(t,e,i);if(a.add(r?r.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:s}=t;if(e||s)return!1;t=i&&i instanceof n.L?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=l(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[r.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=l(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function l(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},7498:function(t,e,i){"use strict";i.d(e,{c:function(){return o}});var n=i(1484),s=i(4294);const o={closed:!0,next(t){},error(t){if(n.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},9829:function(t,e,i){"use strict";i.d(e,{L:function(){return s}});var n=i(6673);class s extends n.L{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},5959:function(t,e,i){"use strict";i.d(e,{Yc:function(){return u},xQ:function(){return l}});var n=i(8318),s=i(6673),o=i(7570),r=i(3895),a=i(9291),c=i(5331);class u extends s.L{constructor(t){super(t),this.destination=t}}let l=(()=>{class t extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.b](){return new u(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new r.N;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew h(t,e),t})();class h extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):o.w.EMPTY}}},9291:function(t,e,i){"use strict";i.d(e,{W:function(){return s}});var n=i(7570);class s extends n.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}},6673:function(t,e,i){"use strict";i.d(e,{L:function(){return u}});var n=i(5024),s=i(7498),o=i(7570),r=i(5331),a=i(1484),c=i(4294);class u extends o.w{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,e,i)}}[r.b](){return this}static create(t,e,i){const n=new u(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class l extends u{constructor(t,e,i,o){let r;super(),this._parentSubscriber=t;let a=this;(0,n.m)(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==s.c&&(a=Object.create(e),(0,n.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=a.v;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;(0,c.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw i;(0,c.z)(i)}}__tryOrSetError(t,e,i){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):((0,c.z)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},7570:function(t,e,i){"use strict";i.d(e,{w:function(){return a}});var n=i(8470),s=i(2056),o=i(5024);const r=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:a,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof r?e.errors:e),[])}},1484:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},2875:function(t,e,i){"use strict";i.d(e,{c:function(){return a},N:function(){return c}});var n=i(5959),s=i(8318),o=i(7570),r=i(1564);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.w,t.add(this.source.subscribe(new u(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.w.EMPTY)),t}refCount(){return(0,r.x)()(this)}}const c=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class u extends n.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},1305:function(t,e,i){"use strict";i.d(e,{aj:function(){return u}});var n=i(6163),s=i(8470),o=i(9829),r=i(6268),a=i(9342);const c={};function u(...t){let e=null,i=null;return(0,n.K)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,a.n)(t,i).lift(new l(e))}class l{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends o.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.complete());function o(t){return t?function(t){return new n.y(e=>t.schedule(()=>e.complete()))}(t):s}},9764:function(t,e,i){"use strict";i.d(e,{D:function(){return h}});var n=i(8318),s=i(6015),o=i(7570),r=i(6197),a=i(2570),c=i(5686),u=i(5168),l=i(9653);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>{const s=t[r.L]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if((0,u.t)(t))return function(t,e){return new n.y(i=>{const n=new o.w;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if((0,l.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[c.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new n.y(i=>{const n=new o.w;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[c.hZ](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof n.y?t:new n.y((0,s.s)(t))}},9342:function(t,e,i){"use strict";i.d(e,{n:function(){return r}});var n=i(8318),s=i(625),o=i(2570);function r(t,e){return e?(0,o.r)(t,e):new n.y((0,s.V)(t))}},1906:function(t,e,i){"use strict";i.d(e,{T:function(){return a}});var n=i(8318),s=i(6163),o=i(7471),r=i(9342);function a(...t){let e=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return(0,s.K)(a)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof n.y?t[0]:(0,o.J)(e)((0,r.n)(t,i))}},878:function(t,e,i){"use strict";i.d(e,{of:function(){return r}});var n=i(6163),s=i(9342),o=i(2570);function r(...t){let e=t[t.length-1];return(0,n.K)(e)?(t.pop(),(0,o.r)(t,e)):(0,s.n)(t)}},3875:function(t,e,i){"use strict";i.d(e,{S3:function(){return a}});var n=i(8470),s=i(9342),o=i(9829),r=i(6268);function a(...t){if(1===t.length){if(!(0,n.k)(t[0]))return t[0];t=t[0]}return(0,s.n)(t,void 0).lift(new c)}class c{call(t,e){return e.subscribe(new u(t))}}class u extends o.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let i=0;ie.schedule(o,0,{error:t,subscriber:i}):e=>e.error(t))}function o({error:t,subscriber:e}){e.error(t)}},7727:function(t,e,i){"use strict";i.d(e,{K:function(){return r}});var n=i(9829),s=i(9867),o=i(6268);function r(t){return function(e){const i=new a(t),n=e.lift(i);return i.caught=n}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}class c extends n.L{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new s.d(this,void 0,void 0);this.add(n);const r=(0,o.D)(this,i,void 0,void 0,n);r!==n&&this.add(r)}}}},436:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(3982);function s(t,e){return(0,n.zg)(t,e,1)}},7701:function(t,e,i){"use strict";i.d(e,{b:function(){return o}});var n=i(6673),s=i(8569);function o(t,e=s.P){return i=>i.lift(new r(t,e))}class r{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends n.L{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},7768:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var n=i(6673);function s(t=null){return e=>e.lift(new o(t))}class o{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new r(t,this.defaultValue))}}class r extends n.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},509:function(t,e,i){"use strict";i.d(e,{g:function(){return a}});var n=i(8569),s=i(8802),o=i(6673),r=i(3103);function a(t,e=n.P){const i=(0,s.J)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new c(i,e))}class c{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new u(t,this.delay,this.scheduler))}}class u extends o.L{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(u.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new l(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.P.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.time=t,this.notification=e}}},3835:function(t,e,i){"use strict";i.d(e,{h:function(){return s}});var n=i(6673);function s(t,e){return function(i){return i.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.predicate,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}},3530:function(t,e,i){"use strict";i.d(e,{P:function(){return u}});var n=i(9665),s=i(3835),o=i(611),r=i(7768),a=i(790),c=i(3392);function u(t,e){const i=arguments.length>=2;return u=>u.pipe(t?(0,s.h)((e,i)=>t(e,i,u)):c.y,(0,o.q)(1),i?(0,r.d)(e):(0,a.T)(()=>new n.K))}},9996:function(t,e,i){"use strict";i.d(e,{U:function(){return s}});var n=i(6673);function s(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new o(t,e))}}class o{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new r(t,this.project,this.thisArg))}}class r extends n.L{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}},7471:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(3982),s=i(3392);function o(t=Number.POSITIVE_INFINITY){return(0,n.zg)(s.y,t)}},3982:function(t,e,i){"use strict";i.d(e,{zg:function(){return c}});var n=i(6268),s=i(9829),o=i(9867),r=i(9996),a=i(9764);function c(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new u(t,i)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.L{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1564:function(t,e,i){"use strict";i.d(e,{x:function(){return s}});var n=i(6673);function s(){return function(t){return t.lift(new o(t))}}class o{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new r(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class r extends n.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}},1055:function(t,e,i){"use strict";i.d(e,{B:function(){return a}});var n=i(2875),s=i(1564),o=i(5959);function r(){return new o.xQ}function a(){return t=>{return(0,s.x)()((e=r,function(t){let i;i="function"==typeof e?e:function(){return e};const s=Object.create(t,n.N);return s.source=t,s.subjectFactory=i,s})(t));var e}}},4689:function(t,e,i){"use strict";i.d(e,{w:function(){return c}});var n=i(9829),s=i(9867),o=i(6268),r=i(9996),a=i(9764);function c(t,e){return"function"==typeof e?i=>i.pipe(c((i,n)=>(0,a.D)(t(i,n)).pipe((0,r.U)((t,s)=>e(i,t,n,s))))):e=>e.lift(new u(t))}class u{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends n.L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const r=new s.d(this,e,i),a=this.destination;a.add(r),this.innerSubscription=(0,o.D)(this,t,void 0,void 0,r),this.innerSubscription!==r&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}},611:function(t,e,i){"use strict";i.d(e,{q:function(){return r}});var n=i(6673),s=i(8402),o=i(653);function r(t){return e=>0===t?(0,o.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends n.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}},6599:function(t,e,i){"use strict";i.d(e,{b:function(){return r}});var n=i(6673);function s(){}var o=i(5024);function r(t,e,i){return function(n){return n.lift(new a(t,e,i))}}class a{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends n.L{constructor(t,e,i,n){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=i||s,this._tapComplete=n||s,(0,o.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},790:function(t,e,i){"use strict";i.d(e,{T:function(){return o}});var n=i(9665),s=i(6673);function o(t=c){return e=>e.lift(new r(t))}class r{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new n.K}},9085:function(t,e,i){"use strict";i.d(e,{V:function(){return h}});var n=i(8569);const s=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();var o=i(8802),r=i(9829),a=i(6268);class c{constructor(t,e,i,n){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=i,this.scheduler=n}call(t,e){return e.subscribe(new u(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class u extends r.L{constructor(t,e,i,n,s){super(t),this.absoluteTimeout=e,this.waitFor=i,this.withObservable=n,this.scheduler=s,this.action=null,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add((0,a.D)(t,e))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(u.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var l=i(1225);function h(t,e=n.P){return function(t,e,i=n.P){return n=>{let s=(0,o.J)(t),r=s?+t-i.now():Math.abs(t);return n.lift(new c(r,s,e,i))}}(t,(0,l._)(new s),e)}},2570:function(t,e,i){"use strict";i.d(e,{r:function(){return o}});var n=i(8318),s=i(7570);function o(t,e){return new n.y(i=>{const n=new s.w;let o=0;return n.add(e.schedule(function(){o!==t.length?(i.next(t[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},8277:function(t,e,i){"use strict";i.d(e,{o:function(){return o}});var n=i(7570);class s extends n.w{constructor(t,e){super()}schedule(t,e=0){return this}}class o extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},1098:function(t,e,i){"use strict";i.d(e,{v:function(){return s}});let n=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class s extends n{constructor(t,e=n.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}},8569:function(t,e,i){"use strict";i.d(e,{P:function(){return s}});var n=i(8277);const s=new(i(1098).v)(n.o)},5686:function(t,e,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(e,{hZ:function(){return s}});const s=n()},6197:function(t,e,i){"use strict";i.d(e,{L:function(){return n}});const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},5331:function(t,e,i){"use strict";i.d(e,{b:function(){return n}});const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},8402:function(t,e,i){"use strict";i.d(e,{W:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},9665:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},3895:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});const n=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4294:function(t,e,i){"use strict";function n(t){setTimeout(()=>{throw t},0)}i.d(e,{z:function(){return n}})},3392:function(t,e,i){"use strict";function n(t){return t}i.d(e,{y:function(){return n}})},8470:function(t,e,i){"use strict";i.d(e,{k:function(){return n}});const n=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},9653:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});const n=t=>t&&"number"==typeof t.length&&"function"!=typeof t},8802:function(t,e,i){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}i.d(e,{J:function(){return n}})},5024:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.d(e,{m:function(){return n}})},2056:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t}i.d(e,{K:function(){return n}})},5168:function(t,e,i){"use strict";function n(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}i.d(e,{t:function(){return n}})},6163:function(t,e,i){"use strict";function n(t){return t&&"function"==typeof t.schedule}i.d(e,{K:function(){return n}})},6015:function(t,e,i){"use strict";i.d(e,{s:function(){return l}});var n=i(625),s=i(4294),o=i(5686),r=i(6197),a=i(9653),c=i(5168),u=i(2056);const l=t=>{if(t&&"function"==typeof t[r.L])return l=t,t=>{const e=l[r.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,n.V)(t);if((0,c.t)(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[o.hZ])return e=t,t=>{const i=e[o.hZ]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=(0,u.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i,l}},625:function(t,e,i){"use strict";i.d(e,{V:function(){return n}});const n=t=>e=>{for(let i=0,n=t.length;i{throw t},0)}const a={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function u(t){return null!==t&&"object"==typeof t}const l=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;tt.concat(e instanceof l?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,i)}}[p](){return this}static create(t,e,i){const n=new f(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,i,s){let r;super(),this._parentSubscriber=t;let o=this;n(e)?r=e:e&&(r=e.next,i=e.error,s=e.complete,e!==a&&(o=Object.create(e),n(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=i,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=r;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw i;o(i)}}__tryOrSetError(t,e,i){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(o(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(t){return t}let b=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:n}=this,s=function(t,e,i){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||i?new f(t,e,i):new f(a)}(t,e,i);if(s.add(n?n.call(s,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),r.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:n}=t;if(e||n)return!1;t=i&&i instanceof f?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=y(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?_:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=y(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function y(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class M extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class A extends f{constructor(t){super(t),this.destination=t}}let v=(()=>{class t extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new A(this)}lift(t){const e=new T(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;snew T(t,e),t})();class T extends v{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function k(t){return t&&"function"==typeof t.schedule}class S extends f{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const C=t=>e=>{for(let i=0,n=t.length;it&&"number"==typeof t.length&&"function"!=typeof t;function R(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const x=t=>{if(t&&"function"==typeof t[m])return i=t,t=>{const e=i[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(z(t))return C(t);if(R(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[L])return e=t,t=>{const i=e[L]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,i};function O(t,e,i,n,s=new S(t,i,n)){if(!s.closed)return e instanceof b?e.subscribe(s):x(e)(s)}class D extends f{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function P(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new N(t,e))}}class N{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new I(t,this.project,this.thisArg))}}class I extends f{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function B(t,e){return new b(i=>{const n=new h;let s=0;return n.add(e.schedule(function(){s!==t.length?(i.next(t[s++]),i.closed||n.add(this.schedule())):i.complete()})),n})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new b(i=>{const n=new h;return n.add(e.schedule(()=>{const s=t[m]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if(R(t))return function(t,e){return new b(i=>{const n=new h;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if(z(t))return B(t,e);if(function(t){return t&&"function"==typeof t[L]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new b(i=>{const n=new h;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[L](),n.add(e.schedule(function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())}))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof b?t:new b(x(t))}function H(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(H((i,n)=>F(t(i,n)).pipe(P((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new q(t,i)))}class q{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new j(t,this.project,this.concurrent))}}class j extends D{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Y(t=Number.POSITIVE_INFINITY){return H(_,t)}function W(t,e){return e?B(t,e):new b(C(t))}function U(...t){let e=Number.POSITIVE_INFINITY,i=null,n=t[t.length-1];return k(n)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof n&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof b?t[0]:Y(e)(W(t,i))}function K(){return function(t){return t.lift(new V(t))}}class V{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new X(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class X extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class G extends b{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new J(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return K()(this)}}const $=(()=>{const t=G.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class J extends A{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function Q(){return new v}function Z(){return t=>{return K()((e=Q,function(t){let i;i="function"==typeof e?e:function(){return e};const n=Object.create(t,$);return n.source=t,n.subjectFactory=i,n})(t));var e}}function tt(t){for(let e in t)if(t[e]===tt)return e;throw Error("Could not find renamed property on target object.")}function et(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function it(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(it).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function nt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const st=tt({__forward_ref__:tt});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return it(this())},t}function ot(t){return at(t)?t():t}function at(t){return"function"==typeof t&&t.hasOwnProperty(st)&&t.__forward_ref__===rt}class ct extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ut(t){return"string"==typeof t?t:null==t?"":String(t)}function lt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ut(t)}function ht(t,e){const i=e?` in ${e}`:"";throw new ct("201",`No provider for ${lt(t)} found${i}`)}function dt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ft(t){return gt(t,_t)||gt(t,yt)}function gt(t,e){return t.hasOwnProperty(e)?t[e]:null}function mt(t){return t&&(t.hasOwnProperty(bt)||t.hasOwnProperty(wt))?t[bt]:null}const _t=tt({"\u0275prov":tt}),bt=tt({"\u0275inj":tt}),yt=tt({ngInjectableDef:tt}),wt=tt({ngInjectorDef:tt});var Mt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let At;function vt(t){const e=At;return At=t,e}function Tt(t,e,i){const n=ft(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:i&Mt.Optional?null:void 0!==e?e:void ht(it(t),"Injector")}function kt(t){return{toString:t}.toString()}var St=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Ct=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Et="undefined"!=typeof globalThis&&globalThis,Lt="undefined"!=typeof window&&window,zt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Rt="undefined"!=typeof global&&global,xt=Et||Rt||Lt||zt,Ot={},Dt=[],Pt=tt({"\u0275cmp":tt}),Nt=tt({"\u0275dir":tt}),It=tt({"\u0275pipe":tt}),Bt=tt({"\u0275mod":tt}),Ft=tt({"\u0275loc":tt}),Ht=tt({"\u0275fac":tt}),qt=tt({__NG_ELEMENT_ID__:tt});let jt=0;function Yt(t){return kt(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Dt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ct.Emulated,id:"c",styles:t.styles||Dt,_:null,setInput:null,schemas:t.schemas||null,tView:null},n=t.directives,s=t.features,r=t.pipes;return i.id+=jt++,i.inputs=Xt(t.inputs,e),i.outputs=Xt(t.outputs),s&&s.forEach(t=>t(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(Wt):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(Ut):null,i})}function Wt(t){return Jt(t)||function(t){return t[Nt]||null}(t)}function Ut(t){return function(t){return t[It]||null}(t)}const Kt={};function Vt(t){return kt(()=>{const e={type:t.type,bootstrap:t.bootstrap||Dt,declarations:t.declarations||Dt,imports:t.imports||Dt,exports:t.exports||Dt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Kt[t.id]=t.type),e})}function Xt(t,e){if(null==t)return Ot;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),i[s]=n,e&&(e[s]=r)}return i}const Gt=Yt;function $t(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Jt(t){return t[Pt]||null}function Qt(t,e){const i=t[Bt]||null;if(!i&&!0===e)throw new Error(`Type ${it(t)} does not have '\u0275mod' property.`);return i}function Zt(t){return Array.isArray(t)&&"object"==typeof t[1]}function te(t){return Array.isArray(t)&&!0===t[1]}function ee(t){return 0!=(8&t.flags)}function ie(t){return 2==(2&t.flags)}function ne(t){return 1==(1&t.flags)}function se(t){return null!==t.template}function re(t,e){return t.hasOwnProperty(Ht)?t[Ht]:null}class oe{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ae(){return ce}function ce(t){return t.type.prototype.ngOnChanges&&(t.setInput=le),ue}function ue(){const t=he(this),e=null==t?void 0:t.current;if(e){const i=t.previous;if(i===Ot)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}}function le(t,e,i,n){const s=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ot,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[i],c=o[a];r[a]=new oe(c&&c.currentValue,e,o===Ot),t[n]=e}function he(t){return t.__ngSimpleChanges__||null}let de;function pe(){return void 0!==de?de:"undefined"!=typeof document?document:void 0}function fe(t){return!!t.listen}ae.ngInherit=!0;const ge={createRenderer:(t,e)=>pe()};function me(t){for(;Array.isArray(t);)t=t[0];return t}function _e(t,e){return me(e[t])}function be(t,e){return me(e[t.index])}function ye(t,e){return t.data[e]}function we(t,e){return t[e]}function Me(t,e){const i=e[t];return Zt(i)?i:i[0]}function Ae(t){return 4==(4&t[2])}function ve(t){return 128==(128&t[2])}function Te(t,e){return null==e?null:t[e]}function ke(t){t[18]=0}function Se(t,e){t[5]+=e;let i=t,n=t[3];for(;null!==n&&(1===e&&1===i[5]||-1===e&&0===i[5]);)n[5]+=e,i=n,n=n[3]}const Ce={lFrame:Qe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ee(){return Ce.bindingsEnabled}function Le(){return Ce.lFrame.lView}function ze(){return Ce.lFrame.tView}function Re(t){return Ce.lFrame.contextLView=t,t[8]}function xe(){let t=Oe();for(;null!==t&&64===t.type;)t=t.parent;return t}function Oe(){return Ce.lFrame.currentTNode}function De(t,e){const i=Ce.lFrame;i.currentTNode=t,i.isParent=e}function Pe(){return Ce.lFrame.isParent}function Ne(){Ce.lFrame.isParent=!1}function Ie(){return Ce.isInCheckNoChangesMode}function Be(t){Ce.isInCheckNoChangesMode=t}function Fe(){const t=Ce.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function He(){return Ce.lFrame.bindingIndex}function qe(){return Ce.lFrame.bindingIndex++}function je(t){const e=Ce.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Ye(t,e){const i=Ce.lFrame;i.bindingIndex=i.bindingRootIndex=t,We(e)}function We(t){Ce.lFrame.currentDirectiveIndex=t}function Ue(t){const e=Ce.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Ke(){return Ce.lFrame.currentQueryIndex}function Ve(t){Ce.lFrame.currentQueryIndex=t}function Xe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ge(t,e,i){if(i&Mt.SkipSelf){let n=e,s=t;for(;n=n.parent,!(null!==n||i&Mt.Host||(n=Xe(s),null===n)||(s=s[15],10&n.type)););if(null===n)return!1;e=n,t=s}const n=Ce.lFrame=Je();return n.currentTNode=e,n.lView=t,!0}function $e(t){const e=Je(),i=t[1];Ce.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Je(){const t=Ce.lFrame,e=null===t?null:t.child;return null===e?Qe(t):e}function Qe(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Ze(){const t=Ce.lFrame;return Ce.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ti=Ze;function ei(){const t=Ze();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ii(){return Ce.lFrame.selectedIndex}function ni(t){Ce.lFrame.selectedIndex=t}function si(){const t=Ce.lFrame;return ye(t.tView,t.selectedIndex)}function ri(){Ce.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function oi(){Ce.lFrame.currentNamespace=null}function ai(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i=n)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class pi{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function fi(t,e,i){const n=fe(t);let s=0;for(;se){o=r-1;break}}}for(;r>16,n=e;for(;i>0;)n=n[15],i--;return n}let Ai=!0;function vi(t){const e=Ai;return Ai=t,e}let Ti=0;function ki(t,e){const i=Ci(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,Si(n.data,t),Si(e,null),Si(n.blueprint,null));const s=Ei(t,e),r=t.injectorIndex;if(yi(s)){const t=wi(s),i=Mi(s,e),n=i[1].data;for(let s=0;s<8;s++)e[r+s]=i[t+s]|n[t+s]}return e[r+8]=s,r}function Si(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ci(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ei(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=0,n=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(n=2===e?t.declTNode:1===e?s[6]:null,null===n)return-1;if(i++,s=s[15],-1!==n.injectorIndex)return n.injectorIndex|i<<16}return-1}function Li(t,e,i){!function(t,e,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(qt)&&(n=i[qt]),null==n&&(n=i[qt]=Ti++);const s=255&n;e.data[t+(s>>5)]|=1<=0?255&e:Di:e}(i);if("function"==typeof r){if(!Ge(e,t,n))return n&Mt.Host?zi(s,i,n):Ri(e,i,n,s);try{const t=r(n);if(null!=t||n&Mt.Optional)return t;ht(i)}finally{ti()}}else if("number"==typeof r){let s=null,o=Ci(t,e),a=-1,c=n&Mt.Host?e[16][6]:null;for((-1===o||n&Mt.SkipSelf)&&(a=-1===o?Ei(t,e):e[o+8],-1!==a&&Fi(n,!1)?(s=e[1],o=wi(a),e=Mi(a,e)):o=-1);-1!==o;){const t=e[1];if(Bi(r,o,t.data)){const t=Pi(o,e,i,s,n,c);if(t!==Oi)return t}a=e[o+8],-1!==a&&Fi(n,e[1].data[o+8]===c)&&Bi(r,o,e)?(s=t,o=wi(a),e=Mi(a,e)):o=-1}}}return Ri(e,i,n,s)}const Oi={};function Di(){return new Hi(xe(),Le())}function Pi(t,e,i,n,s,r){const o=e[1],a=o.data[t+8],c=Ni(a,o,i,null==n?ie(a)&&Ai:n!=o&&0!=(3&a.type),s&Mt.Host&&r===a);return null!==c?Ii(e,o,c,a):Oi}function Ni(t,e,i,n,s){const r=t.providerIndexes,o=e.data,a=1048575&r,c=t.directiveStart,u=r>>20,l=s?a+u:t.directiveEnd;for(let h=n?a:a+u;h=c&&t.type===i)return h}if(s){const t=o[c];if(t&&se(t)&&t.type===i)return c}return null}function Ii(t,e,i,n){let s=t[i];const r=e.data;if(s instanceof pi){const o=s;o.resolving&&function(t,e){throw new ct("200",`Circular dependency in DI detected for ${t}`)}(lt(r[i]));const a=vi(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?vt(o.injectImpl):null;Ge(t,n,Mt.Default);try{s=t[i]=o.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(n){const n=ce(e);(i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-t,s),r&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,r),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,r))}(i,r[i],e)}finally{null!==c&&vt(c),vi(a),o.resolving=!1,ti()}}return s}function Bi(t,e,i){return!!(i[e+(t>>5)]&1<{const e=t.prototype.constructor,i=e[Ht]||ji(e),n=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==n;){const t=s[Ht]||ji(s);if(t&&t!==i)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function ji(t){return at(t)?()=>{const e=ji(ot(t));return e&&e()}:re(t)}function Yi(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const i=t.attrs;if(i){const t=i.length;let n=0;for(;n{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Ui{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=dt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ki=new Ui("AnalyzeForEntryComponents"),Vi=Function;function Xi(t,e){void 0===e&&(e=t);for(let i=0;iArray.isArray(t)?Gi(t,e):e(t))}function $i(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Ji(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Qi(t,e){const i=[];for(let n=0;n=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function tn(t,e){const i=en(t,e);if(i>=0)return t[1|i]}function en(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),r=t[i<<1];if(e===r)return i<<1;r>e?s=i:n=i+1}return~(s<<1)}(t,e)}const nn={},sn=/\n/gm,rn=tt({provide:String,useValue:tt});let on;function an(t){const e=on;return on=t,e}function cn(t,e=Mt.Default){if(void 0===on)throw new Error("inject() must be called from an injection context");return null===on?Tt(t,void 0,e):on.get(t,e&Mt.Optional?null:void 0,e)}function un(t,e=Mt.Default){return(At||cn)(ot(t),e)}const ln=un;function hn(t){const e=[];for(let i=0;i({token:t})),-1),fn=dn(Wi("Optional"),8),gn=dn(Wi("SkipSelf"),4);let mn,_n;function bn(t){var e;return(null===(e=function(){if(void 0===mn&&(mn=null,xt.trustedTypes))try{mn=xt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return mn}())||void 0===e?void 0:e.createHTML(t))||t}function yn(t){var e;return(null===(e=function(){if(void 0===_n&&(_n=null,xt.trustedTypes))try{_n=xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return _n}())||void 0===e?void 0:e.createHTML(t))||t}class wn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Mn extends wn{getTypeName(){return"HTML"}}class An extends wn{getTypeName(){return"Style"}}class vn extends wn{getTypeName(){return"Script"}}class Tn extends wn{getTypeName(){return"URL"}}class kn extends wn{getTypeName(){return"ResourceURL"}}function Sn(t){return t instanceof wn?t.changingThisBreaksApplicationSecurity:t}function Cn(t,e){const i=En(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===e}function En(t){return t instanceof wn&&t.getTypeName()||null}class Ln{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(bn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class zn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=bn(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=bn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0On(t.trim())).join(", ")),this.buf.push(" ",e,'="',Xn(o),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Hn.hasOwnProperty(e)&&!Nn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Xn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Kn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vn=/([^\#-~ |!])/g;function Xn(t){return t.replace(/&/g,"&").replace(Kn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Vn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Gn;function $n(t,e){let i=null;try{Gn=Gn||function(t){const e=new zn(t);return function(){try{return!!(new window.DOMParser).parseFromString(bn(""),"text/html")}catch(t){return!1}}()?new Ln(e):e}(t);let n=e?String(e):"";i=Gn.getInertBodyElement(n);let s=5,r=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=r,r=i.innerHTML,i=Gn.getInertBodyElement(n)}while(n!==r);return bn((new Un).sanitizeChildren(Jn(i)||i))}finally{if(i){const t=Jn(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Jn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Qn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Zn(t){const e=es();return e?yn(e.sanitize(Qn.HTML,t)||""):Cn(t,"HTML")?yn(Sn(t)):$n(pe(),ut(t))}function ts(t){const e=es();return e?e.sanitize(Qn.URL,t)||"":Cn(t,"URL")?Sn(t):On(ut(t))}function es(){const t=Le();return t&&t[12]}function is(t,e){t.__ngContext__=e}function ns(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ss(t){return t.ngDebugContext}function rs(t){return t.ngOriginalError}function os(t,...e){t.error(...e)}class as{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||os}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?ss(t)?ss(t):this._findContext(rs(t)):null}_findOriginalError(t){let e=rs(t);for(;e&&rs(e);)e=rs(e);return e}}const cs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(xt))();function us(t){return t.ownerDocument.defaultView}function ls(t){return t.ownerDocument.body}function hs(t){return t instanceof Function?t():t}var ds=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function ps(t,e){return(void 0)(t,e)}function fs(t){const e=t[3];return te(e)?e[3]:e}function gs(t){return _s(t[13])}function ms(t){return _s(t[4])}function _s(t){for(;null!==t&&!te(t);)t=t[4];return t}function bs(t,e,i,n,s){if(null!=n){let r,o=!1;te(n)?r=n:Zt(n)&&(o=!0,n=n[0]);const a=me(n);0===t&&null!==i?null==s?Ss(e,i,a):ks(e,i,a,s||null,!0):1===t&&null!==i?ks(e,i,a,s||null,!0):2===t?function(t,e,i){const n=Es(t,e);n&&function(t,e,i,n){fe(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,i,n,s){const r=i[7];r!==me(i)&&bs(e,t,n,r,s);for(let o=10;o0&&(t[i-1][4]=n[4]);const o=Ji(t,10+e);Ns(n[1],s=n,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-129}var s;return n}function As(t,e){if(!(256&e[2])){const i=e[11];fe(i)&&i.destroyNode&&Ns(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return vs(t[1],t);for(;e;){let i=null;if(Zt(e))i=e[13];else{const t=e[10];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)Zt(e)&&vs(e[1],e),e=e[3];null===e&&(e=t),Zt(e)&&vs(e[1],e),i=e&&e[4]}e=i}}(e)}}function vs(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n=0?n[s=c]():n[s=-c].unsubscribe(),r+=2}else{const t=n[s=i[r+1]];i[r].call(t)}if(null!==n){for(let t=s+1;tr?"":s[l+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==Hs(e,u,0)||2&n&&u!==t){if(Us(n))return!1;o=!0}}}}else{if(!o&&!Us(n)&&!Us(c))return!1;if(o&&Us(c))continue;o=!1,n=c|1&n}}return Us(n)||o}function Us(t){return 0==(1&t)}function Ks(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s-1)for(i++;i0?'="'+e+'"':"")+"]"}else 8&n?s+="."+o:4&n&&(s+=" "+o);else""===s||Us(o)||(e+=Gs(r,s),s=""),n=o,r=r||!Us(n);i++}return""!==s&&(e+=Gs(r,s)),e}const Js={};function Qs(t){Zs(ze(),Le(),ii()+t,Ie())}function Zs(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&ci(e,n,i)}else{const n=t.preOrderHooks;null!==n&&ui(e,n,0,i)}ni(i)}function tr(t,e){return t<<17|e<<2}function er(t){return t>>17&32767}function ir(t){return 2|t}function nr(t){return(131068&t)>>2}function sr(t,e){return-131069&t|e<<2}function rr(t){return 1|t}function or(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n20&&Zs(t,e,20,Ie()),i(n,s)}finally{ni(r)}}function fr(t,e,i){if(ee(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s0;){const i=t[--e];if("number"==typeof i&&i<0)return i}return 0})(i)!=r&&i.push(r),i.push(n,s,o)}}function Tr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function kr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Sr(t,e,i){if(i){if(e.exportAs)for(let n=0;n0&&Dr(i)}}function Dr(t){for(let i=gs(t);null!==i;i=ms(i))for(let t=10;t0&&Dr(e)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Dr(n)}}function Pr(t,e){const i=Me(e,t),n=i[1];!function(t,e){for(let i=e.length;iPromise.resolve(null))();function jr(t){return t[7]||(t[7]=[])}function Yr(t){return t.cleanup||(t.cleanup=[])}function Wr(t,e,i){return(null===t||se(t))&&(i=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(i[e.index])),i[11]}function Ur(t,e){const i=t[9],n=i?i.get(as,null):null;n&&n.handleError(e)}function Kr(t,e,i,n,s){for(let r=0;rthis.processProvider(i,t,e)),Gi([t],t=>this.processInjectorType(t,[],s)),this.records.set(Gr,oo(void 0,this));const r=this.records.get(Jr);this.scope=null!=r?r.value:null,this.source=n||("object"==typeof t?null:it(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=nn,i=Mt.Default){this.assertNotDestroyed();const n=an(this);try{if(!(i&Mt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Ui)&&ft(t);e=i&&this.injectableDefInScope(i)?oo(so(t),Qr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&Mt.Self?eo():this.parent).get(t,e=i&Mt.Optional&&e===nn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(it(t)),n)throw r;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=it(e);if(Array.isArray(e))s=e.map(it).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):it(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(sn,"\n ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{an(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(it(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=ot(t)))return!1;let n=mt(t);const s=null==n&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==i.indexOf(r);if(void 0!==s&&(n=mt(s)),null==n)return!1;if(null!=n.imports&&!o){let t;i.push(r);try{Gi(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,i,n||Dt))}}this.injectorDefTypes.add(r);const a=re(r)||(()=>new r);this.records.set(r,oo(a,Qr));const c=n.providers;if(null!=c&&!o){const e=t;Gi(c,t=>this.processProvider(t,e,c))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=co(t=ot(t))?t:ot(t&&t.provide);const s=function(t,e,i){return ao(t)?oo(void 0,t.useValue):oo(ro(t),Qr)}(t);if(co(t)||!0!==t.multi)this.records.get(n);else{let e=this.records.get(n);e||(e=oo(void 0,Qr,!0),e.factory=()=>hn(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===Qr&&(e.value=Zr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=ot(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function so(t){const e=ft(t),i=null!==e?e.factory:re(t);if(null!==i)return i;if(t instanceof Ui)throw new Error(`Token ${it(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=Qi(e,"?");throw new Error(`Can't resolve all parameters for ${it(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[_t]||t[yt]);if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function ro(t,e,i){let n;if(co(t)){const e=ot(t);return re(e)||so(e)}if(ao(t))n=()=>ot(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...hn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>un(ot(t.useExisting));else{const e=ot(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return re(e)||so(e);n=()=>new e(...hn(t.deps))}var s;return n}function oo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ao(t){return null!==t&&"object"==typeof t&&rn in t}function co(t){return"function"==typeof t}const uo=function(t,e,i){return function(t,e=null,i=null,n){const s=io(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let lo=(()=>{class t{static create(t,e){return Array.isArray(t)?uo(t,e,""):uo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=nn,t.NULL=new $r,t.\u0275prov=dt({token:t,providedIn:"any",factory:()=>un(Gr)}),t.__NG_ELEMENT_ID__=-1,t})();function ho(t,e){ai(ns(t)[1],xe())}function po(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s;if(se(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=fo(t.inputs),e.declaredInputs=fo(t.declaredInputs),e.outputs=fo(t.outputs);const i=s.hostBindings;i&&_o(t,i);const r=s.viewQuery,o=s.contentQueries;if(r&&go(t,r),o&&mo(t,o),et(t.inputs,s.inputs),et(t.declaredInputs,s.declaredInputs),et(t.outputs,s.outputs),se(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let n=0;n=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=_i(s.hostAttrs,i=_i(i,s.hostAttrs))}}(n)}function fo(t){return t===Ot?{}:t===Dt?[]:t}function go(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function mo(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function _o(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}let bo=null;function yo(){if(!bo){const t=xt.Symbol;if(t&&t.iterator)bo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(me(t[n.index])):n.index;if(fe(i)){let o=null;if(!a&&c&&(o=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let r=0;ri?t[i]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,n.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=Xo(n,e,0,r,!1);const t=i.listen(p,s,r);l.push(r,t),u&&u.push(s,g,f,f+1)}}else r=Xo(n,e,0,r,!0),p.addEventListener(s,r,o),l.push(r),u&&u.push(s,g,f,o)}else r=Xo(n,e,0,r,!1);const d=n.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let i=0;i0;)e=e[15],t--;return e}(t,Ce.lFrame.contextLView))[8]}(t)}function $o(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const sa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ra(t){return t.substring(sa.key,sa.keyEnd)}function oa(t,e){const i=sa.textEnd;return i===e?-1:(e=sa.keyEnd=function(t,e,i){for(;e32;)e++;return e}(t,sa.key=e,i),aa(t,e,i))}function aa(t,e,i){for(;e=0;i=oa(e,i))Zi(t,ra(e),!0)}function da(t,e,i,n){const s=Le(),r=ze(),o=je(2);r.firstUpdatePass&&ga(r,t,o,n),e!==Js&&To(s,o,e)&&ba(r,r.data[ii()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=it(Sn(t)))),t}(e,i),n,o)}function pa(t,e,i,n){const s=ze(),r=je(2);s.firstUpdatePass&&ga(s,null,r,n);const o=Le();if(i!==Js&&To(o,r,i)){const a=s.data[ii()];if(Ma(a,n)&&!fa(s,r)){let t=n?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(i=nt(t,i||"")),Oo(s,a,o,i,n)}else!function(t,e,i,n,s,r,o,a){s===Js&&(s=Dt);let c=0,u=0,l=0=t.expandoStartIndex}function ga(t,e,i,n){const s=t.data;if(null===s[i+1]){const r=s[ii()],o=fa(t,i);Ma(r,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){const s=Ue(t);let r=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=_a(i=ma(null,t,e,i,n),e.attrs,n),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(i=ma(s,t,e,i,n),null===r){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==nr(n))return t[er(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=ma(null,t,e,i[1],n),i=_a(i,e.attrs,n),function(t,e,i,n){t[er(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else r=function(t,e,i){let n;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(l=!0)}else u=i;if(s)if(0!==c){const e=er(t[a+1]);t[n+1]=tr(e,a),0!==e&&(t[e+1]=sr(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=tr(a,0),0!==a&&(t[a+1]=sr(t[a+1],n)),a=n;else t[n+1]=tr(c,0),0===a?a=n:t[c+1]=sr(t[c+1],n),c=n;l&&(t[n+1]=ir(t[n+1])),ia(t,u,n,!0),ia(t,u,n,!1),function(t,e,i,n,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&en(r,e)>=0&&(i[n+1]=rr(i[n+1]))}(e,u,t,n,r),o=tr(a,c),r?e.classBindings=o:e.styleBindings=o}(s,r,e,i,o,n)}}function ma(t,e,i,n,s){let r=null;const o=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),c=r?e[1]:e,u=null===c;let l=i[s+1];l===Js&&(l=u?Dt:void 0);let h=u?tn(l,n):c===n?l:void 0;if(r&&!wa(h)&&(h=tn(e,n)),wa(h)&&(a=h,o))return a;const d=t[s+1];s=o?er(d):nr(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=tn(t,n))}return a}function wa(t){return void 0!==t}function Ma(t,e){return 0!=(t.flags&(e?16:32))}function Aa(t,e=""){const i=Le(),n=ze(),s=t+20,r=n.firstCreatePass?cr(n,s,1,e,null):n.data[s],o=i[s]=function(t,e){return fe(t)?t.createText(e):t.createTextNode(e)}(i[11],e);Rs(n,i,o,r),De(r,!1)}function va(t){return Ta("",t,""),va}function Ta(t,e,i){const n=Le(),s=Co(n,t,e,i);return s!==Js&&Vr(n,ii(),s),Ta}function ka(t,e,i,n,s){const r=Le(),o=Eo(r,t,e,i,n,s);return o!==Js&&Vr(r,ii(),o),ka}function Sa(t,e,i,n,s,r,o,a,c,u,l){const h=Le(),d=function(t,e,i,n,s,r,o,a,c,u,l,h){const d=He();let p=function(t,e,i,n,s,r){const o=ko(t,e,i,n);return ko(t,e+2,s,r)||o}(t,d,i,s,o,c);return p=To(t,d+4,l)||p,je(5),p?e+ut(i)+n+ut(s)+r+ut(o)+a+ut(c)+u+ut(l)+h:Js}(h,t,e,i,n,s,r,o,a,c,u,l);return d!==Js&&Vr(h,ii(),d),Sa}function Ca(t,e,i){pa(Zi,ha,Co(Le(),t,e,i),!0)}function Ea(t,e,i){const n=Le();return To(n,qe(),e)&&Mr(ze(),si(),n,t,e,n[11],i,!0),Ea}function La(t,e,i){const n=Le();if(To(n,qe(),e)){const s=ze(),r=si();Mr(s,r,n,t,e,Wr(Ue(s.data),r,n),i,!0)}return La}const za=void 0;var Ra=["en",[["a","p"],["AM","PM"],za],[["AM","PM"],za,za],[["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"]],za,[["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"]],za,[["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}",za,"{1} 'at' {0}",za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let xa={};function Oa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=Da(e);if(i)return i;const n=e.split("-")[0];if(i=Da(n),i)return i;if("en"===n)return Ra;throw new Error(`Missing locale data for the locale "${t}".`)}function Da(t){return t in xa||(xa[t]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[t]),xa[t]}var Pa=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Na="en-US";function Ia(t){var e,i;i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(Na=t.toLowerCase().replace(/_/g,"-"))}function Ba(t,e,i,n,s){if(t=ot(t),Array.isArray(t))for(let r=0;r>20;if(co(t)||!t.multi){const n=new pi(c,s,Ro),p=qa(a,e,s?l:l+d,h);-1===p?(Li(ki(u,o),r,a),Fa(r,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(n),o.push(n)):(i[p]=n,o[p]=n)}else{const p=qa(a,e,l+d,h),f=qa(a,e,l,l+d),g=p>=0&&i[p],m=f>=0&&i[f];if(s&&!m||!s&&!g){Li(ki(u,o),r,a);const l=function(t,e,i,n,s){const r=new pi(t,i,Ro);return r.multi=[],r.index=e,r.componentProviders=0,Ha(r,s,n&&!i),r}(s?Ya:ja,i.length,s,n,c);!s&&m&&(i[f].providerFactory=l),Fa(r,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),i.push(l),o.push(l)}else Fa(r,t,p>-1?p:f,Ha(i[s?f:p],c,!s&&n));!s&&n&&m&&i[f].componentProviders++}}}function Fa(t,e,i,n){const s=co(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(i);-1===t?o.push(i,[n,r]):o[t+1].push(n,r)}else o.push(i,r)}}}function Ha(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function qa(t,e,i,n){for(let s=i;s{i.providersResolver=(i,n)=>function(t,e,i){const n=ze();if(n.firstCreatePass){const s=se(t);Ba(i,n.data,n.blueprint,s,!0),Ba(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}class Ka{}class Va{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${it(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Xa=(()=>{class t{}return t.NULL=new Va,t})();function Ga(...t){}function $a(t,e){return new Qa(be(t,e))}const Ja=function(){return $a(xe(),Le())};let Qa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ja,t})();function Za(t){return t instanceof Qa?t.nativeElement:t}class tc{}let ec=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ic(),t})();const ic=function(){const t=Le(),e=Me(xe().index,t);return function(t){return t[11]}(Zt(e)?e:t)};let nc=(()=>{class t{}return t.\u0275prov=dt({token:t,providedIn:"root",factory:()=>null}),t})();class sc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const rc=new sc("12.0.5");class oc{constructor(){}supports(t){return Mo(t)}create(t){return new cc(t)}}const ac=(t,e)=>e;class cc{constructor(t){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=t||ac}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const r=!i||e&&e.currentIndex{n=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,t,n,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):t=this._addAfter(new uc(e,i),s,n),t}_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new hc),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hc),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class uc{constructor(t,e){this.item=t,this.trackById=e,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 lc{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class hc{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new lc,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dc(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new gc(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class gc{constructor(t){this.key=t,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 mc(){return new _c([new oc])}let _c=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||mc()),deps:[[t,new gn,new fn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:mc}),t})();function bc(){return new yc([new pc])}let yc=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||bc()),deps:[[t,new gn,new fn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=dt({token:t,providedIn:"root",factory:bc}),t})();function wc(t,e,i,n,s=!1){for(;null!==i;){const r=e[i.index];if(null!==r&&n.push(me(r)),te(r))for(let t=10;t-1&&(Ms(t,i),Ji(e,i))}this._attachedToViewContainer=!1}As(this._lView[1],this._lView)}onDestroy(t){yr(this._lView[1],this._lView,null,t)}markForCheck(){Ir(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Br(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){Be(!0);try{Br(t,e,i)}finally{Be(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ns(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ac extends Mc{constructor(t){super(t),this._view=t}detectChanges(){Fr(this._view)}checkNoChanges(){!function(t){Be(!0);try{Fr(t)}finally{Be(!1)}}(this._view)}get context(){return null}}const vc=function(t){return function(t,e,i){if(ie(t)&&!i){const i=Me(t.index,e);return new Mc(i,i)}return 47&t.type?new Mc(e[16],e):null}(xe(),Le(),16==(16&t))};let Tc=(()=>{class t{}return t.__NG_ELEMENT_ID__=vc,t})();const kc=[new pc],Sc=new _c([new oc]),Cc=new yc(kc),Ec=function(){return xc(xe(),Le())};let Lc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ec,t})();const zc=Lc,Rc=class extends zc{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=ar(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const n=this._declarationLView[19];return null!==n&&(i[19]=n.createEmbeddedView(e)),lr(e,i,t),new Mc(i)}};function xc(t,e){return 4&t.type?new Rc(e,t,$a(t,e)):null}class Oc{}class Dc{}const Pc=function(){return qc(xe(),Le())};let Nc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Pc,t})();const Ic=Nc,Bc=class extends Ic{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new Hi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ei(this._hostTNode,this._hostLView);if(yi(t)){const e=Mi(t,this._hostLView),i=wi(t);return new Hi(e[1].data[i+8],e)}return new Hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Fc(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const r=i||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Oc,null);t&&(s=t)}const o=t.create(r,n,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const i=t._lView,n=i[1];if(te(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new Bc(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,i,n){const s=10+n,r=i.length;n>0&&(i[s-1][4]=e),ncs});class Kc extends Ka{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map($s).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Wc(this.componentDef.inputs)}get outputs(){return Wc(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const r=t.get(i,jc,s);return r!==jc||n===jc?r:e.get(i,n,s)}}}(t,n.injector):t,r=s.get(tc,ge),o=s.get(nc,null),a=r.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function(t,e,i){if(fe(t))return t.selectRootElement(e,i===Ct.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):ys(r.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:cs,clean:qr,playerHandler:null,flags:0},d=br(0,null,null,1,0,null,null,null,null,null),p=ar(null,d,h,l,null,null,r,a,o,s);let f,g;$e(p);try{const t=function(t,e,i,n,s,r){const o=i[1];i[20]=t;const a=cr(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(Xr(a,c,!0),null!==t&&(fi(s,t,c),null!==a.classes&&Fs(s,t,a.classes),null!==a.styles&&Bs(s,t,a.styles)));const u=n.createRenderer(t,e),l=ar(i,_r(e),null,e.onPush?64:16,i[20],a,n,u,null,null);return o.firstCreatePass&&(Li(ki(a,i),o,e.type),kr(o,a),Cr(a,i.length,1)),Nr(i,l),i[20]=l}(u,this.componentDef,p,r,a);if(u)if(i)fi(a,u,["ng-version",rc.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n0&&Fs(a,u,e.join(" "))}if(g=ye(d,20),void 0!==e){const t=g.projection=[];for(let i=0;it(o,e)),e.contentQueries){const t=xe();e.contentQueries(1,o,t.directiveStart)}const a=xe();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ni(a.index),vr(i[1],a,0,a.directiveStart,a.directiveEnd,e),Tr(e,o)),o}(t,this.componentDef,p,h,[ho]),lr(d,p,null)}finally{ei()}return new Vc(this.componentType,f,$a(g,p),p,g)}}class Vc extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ac(n),this.componentType=t}get injector(){return new Hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Xc=new Map;class Gc extends Oc{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Yc(this);const i=Qt(t),n=t[Ft]||null;n&&Ia(n),this._bootstrapComponents=hs(i.bootstrap),this._r3Injector=io(t,e,[{provide:Oc,useValue:this},{provide:Xa,useValue:this.componentFactoryResolver}],it(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=lo.THROW_IF_NOT_FOUND,i=Mt.Default){return t===lo||t===Oc||t===Gr?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class $c extends Dc{constructor(t){super(),this.moduleType=t,null!==Qt(t)&&function(t){const e=new Set;!function t(i){const n=Qt(i,!0),s=n.id;null!==s&&(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${it(e)} vs ${it(e.name)}`)}(s,Xc.get(s),i),Xc.set(s,i));const r=hs(n.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Gc(this.moduleType,t)}}function Jc(t,e,i){const n=Fe()+t,s=Le();return s[n]===Js?vo(s,n,i?e.call(i):e()):function(t,e){return t[e]}(s,n)}function Qc(t,e,i,n){return eu(Le(),Fe(),t,e,i,n)}function Zc(t,e,i,n,s){return iu(Le(),Fe(),t,e,i,n,s)}function tu(t,e){const i=t[e];return i===Js?void 0:i}function eu(t,e,i,n,s,r){const o=e+i;return To(t,o,s)?vo(t,o+1,r?n.call(r,s):n(s)):tu(t,o+1)}function iu(t,e,i,n,s,r,o){const a=e+i;return ko(t,a,s,r)?vo(t,a+2,o?n.call(o,s,r):n(s,r)):tu(t,a+2)}function nu(t,e){const i=ze();let n;const s=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const n=e[i];if(t===n.name)return n}throw new ct("302",`The pipe '${t}' could not be found!`)}(e,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const r=n.factory||(n.factory=re(n.type)),o=vt(Ro);try{const t=vi(!1),e=r();return vi(t),function(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}(i,Le(),s,e),e}finally{vt(o)}}function su(t,e,i){const n=t+20,s=Le(),r=we(s,n);return cu(s,au(s,n)?eu(s,Fe(),e,r.transform,i,r):r.transform(i))}function ru(t,e,i,n){const s=t+20,r=Le(),o=we(r,s);return cu(r,au(r,s)?iu(r,Fe(),e,o.transform,i,n,o):o.transform(i,n))}function ou(t,e,i,n,s){const r=t+20,o=Le(),a=we(o,r);return cu(o,au(o,r)?function(t,e,i,n,s,r,o,a){const c=e+i;return function(t,e,i,n,s){const r=ko(t,e,i,n);return To(t,e+2,s)||r}(t,c,s,r,o)?vo(t,c+3,a?n.call(a,s,r,o):n(s,r,o)):tu(t,c+3)}(o,Fe(),e,a.transform,i,n,s,a):a.transform(i,n,s))}function au(t,e){return t[1].data[e].pure}function cu(t,e){return wo.isWrapped(e)&&(e=wo.unwrap(e),t[He()]=Js),e}function uu(t){return e=>{setTimeout(t,void 0,e)}}const lu=class extends v{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var n,s,r;let o=t,a=e||(()=>null),c=i;if(t&&"object"==typeof t){const e=t;o=null===(n=e.next)||void 0===n?void 0:n.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),c=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(a=uu(a),o&&(o=uu(o)),c&&(c=uu(c)));const u=super.subscribe({next:o,error:a,complete:c});return t instanceof h&&t.add(u),u}};function hu(){return this._results[yo()]()}class du{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=yo(),i=du.prototype;i[e]||(i[e]=hu)}get changes(){return this._changes||(this._changes=new lu)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const i=Xi(t);(this._changesDetected=!function(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n0)n.push(o[t/2]);else{const s=r[t+1],o=e[-i];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=Ga,this.reject=Ga,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{e.subscribe({complete:t,error:i})});t.push(i)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(un(Lu,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Ru=new Ui("AppId"),xu={provide:Ru,useFactory:function(){return`${Ou()}${Ou()}${Ou()}`},deps:[]};function Ou(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Du=new Ui("Platform Initializer"),Pu=new Ui("Platform ID"),Nu=new Ui("appBootstrapListener");let Iu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Bu=new Ui("LocaleId"),Fu=new Ui("DefaultCurrencyCode");class Hu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const qu=function(t){return new $c(t)},ju=qu,Yu=function(t){return Promise.resolve(qu(t))},Wu=function(t){const e=qu(t),i=hs(Qt(t).declarations).reduce((t,e)=>{const i=Jt(e);return i&&t.push(new Kc(i)),t},[]);return new Hu(e,i)},Uu=Wu,Ku=function(t){return Promise.resolve(Wu(t))};let Vu=(()=>{class t{constructor(){this.compileModuleSync=ju,this.compileModuleAsync=Yu,this.compileModuleAndAllComponentsSync=Uu,this.compileModuleAndAllComponentsAsync=Ku}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Xu=(()=>Promise.resolve(0))();function Gu(t){"undefined"==typeof Zone?Xu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class $u{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new lu(!1),this.onMicrotaskEmpty=new lu(!1),this.onStable=new lu(!1),this.onError=new lu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!i&&e,this.shouldCoalesceRunChangeDetection=i,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=xt.requestAnimationFrame,e=xt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Zu(t),t.isCheckStableRunning=!0,Qu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Zu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,r,o,a)=>{try{return tl(t),i.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),el(t)}},onInvoke:(i,n,s,r,o,a,c)=>{try{return tl(t),i.invoke(s,r,o,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),el(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Zu(t),Qu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$u.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if($u.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+n,t,Ju,Ga,Ga);try{return s.runTask(r,e,i)}finally{s.cancelTask(r)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const Ju={};function Qu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Zu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function tl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function el(t){t._nesting--,Qu(t)}class il{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new lu,this.onMicrotaskEmpty=new lu,this.onStable=new lu,this.onError=new lu}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let nl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{$u.assertNotInAngularZone(),Gu(()=>{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())Gu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!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(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(un($u))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),sl=(()=>{class t{constructor(){this._applications=new Map,al.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return al.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class rl{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let ol,al=new rl,cl=!0,ul=!1;function ll(){return ul=!0,cl}const hl=new Ui("AllowMultipleToken");class dl{constructor(t,e){this.name=t,this.token=e}}function pl(t,e,i=[]){const n=`Platform: ${e}`,s=new Ui(n);return(e=[])=>{let r=fl();if(!r||r.injector.get(hl,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:Jr,useValue:"platform"});!function(t){if(ol&&!ol.destroyed&&!ol.injector.get(hl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ol=t.get(gl);const e=t.get(Du,null);e&&e.forEach(t=>t())}(lo.create({providers:t,name:n}))}return function(t){const e=fl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function fl(){return ol&&!ol.destroyed?ol:null}let gl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new il:("zone.js"===t?void 0:t)||new $u({enableLongStackTrace:ll(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),i}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),n=[{provide:$u,useValue:i}];return i.run(()=>{const e=lo.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(as,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(()=>{const t=i.onError.subscribe({next:t=>{r.handleError(t)}});s.onDestroy(()=>{bl(this._modules,s),t.unsubscribe()})}),function(t,e,i){try{const n=i();return qo(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(r,i,()=>{const t=s.injector.get(zu);return t.runInitializers(),t.donePromise.then(()=>(Ia(s.injector.get(Bu,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=ml({},e);return function(t,e,i){const n=new $c(i);return Promise.resolve(n)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(_l);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${it(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(un(lo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function ml(t,e){return Array.isArray(e)?e.reduce(ml,t):Object.assign(Object.assign({},t),e)}let _l=(()=>{class t{constructor(t,e,i,n,s){this._zone=t,this._injector=e,this._exceptionHandler=i,this._componentFactoryResolver=n,this._initStatus=s,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 r=new b(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new b(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{$u.assertNotInAngularZone(),Gu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{$u.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=U(r,o.pipe(Z()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof Ka?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Oc),s=i.create(lo.NULL,[],e||i.selector,n),r=s.location.nativeElement,o=s.injector.get(nl,null),a=o&&s.injector.get(sl);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),bl(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;bl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Nu,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(un($u),un(lo),un(as),un(Xa),un(zu))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function bl(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}class yl{}class wl{}const Ml={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Al=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Ml}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,n]=t.split("#");return void 0===n&&(n="default"),i(1730)(e).then(t=>t[n]).then(t=>vl(t,e,n)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,n]=t.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i(1730)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[n+s]).then(t=>vl(t,e,n))}}return t.\u0275fac=function(e){return new(e||t)(un(Vu),un(wl,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function vl(t,e,i){if(!t)throw new Error(`Cannot find '${i}' in '${e}'`);return t}const Tl=pl(null,"core",[{provide:Pu,useValue:"unknown"},{provide:gl,deps:[lo]},{provide:sl,deps:[]},{provide:Iu,deps:[]}]),kl=[{provide:_l,useClass:_l,deps:[$u,lo,as,Xa,zu]},{provide:Uc,deps:[$u],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:zu,useClass:zu,deps:[[new fn,Lu]]},{provide:Vu,useClass:Vu,deps:[]},xu,{provide:_c,useFactory:function(){return Sc},deps:[]},{provide:yc,useFactory:function(){return Cc},deps:[]},{provide:Bu,useFactory:function(t){return Ia(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new pn(Bu),new fn,new gn]]},{provide:Fu,useValue:"USD"}];let Sl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(un(_l))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:kl}),t})(),Cl=null;function El(){return Cl}const Ll=new Ui("DocumentToken");let zl=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:Rl,token:t,providedIn:"platform"}),t})();function Rl(){return un(Ol)}const xl=new Ui("Location Initialized");let Ol=(()=>{class t extends zl{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return El().getBaseHref(this._doc)}onPopState(t){const e=El().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=El().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,i){Dl()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){Dl()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:Pl,token:t,providedIn:"platform"}),t})();function Dl(){return!!window.history.pushState}function Pl(){return new Ol(un(Ll))}function Nl(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function Il(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function Bl(t){return t&&"?"!==t[0]?"?"+t:t}let Fl=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:Hl,token:t,providedIn:"root"}),t})();function Hl(t){const e=un(Ll).location;return new jl(un(zl),e&&e.origin||"")}const ql=new Ui("appBaseHref");let jl=(()=>{class t extends Fl{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Nl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Bl(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+Bl(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+Bl(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(un(zl),un(ql,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Yl=(()=>{class t extends Fl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Nl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,i,n){let s=this.prepareExternalUrl(i+Bl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){let s=this.prepareExternalUrl(i+Bl(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformLocation).historyGo)||void 0===i||i.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(un(zl),un(ql,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Wl=(()=>{class t{constructor(t,e){this._subject=new lu,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Il(Kl(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Bl(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Kl(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Bl(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Bl(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,i;null===(i=(e=this._platformStrategy).historyGo)||void 0===i||i.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(un(Fl),un(zl))},t.normalizeQueryParams=Bl,t.joinWithSlash=Nl,t.stripTrailingSlash=Il,t.\u0275prov=dt({factory:Ul,token:t,providedIn:"root"}),t})();function Ul(){return new Wl(un(Fl),un(zl))}function Kl(t){return t.replace(/\/index.html$/,"")}var Vl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Xl=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Gl=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),$l=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Jl=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Ql(t,e){return nh(Oa(t)[Pa.DateFormat],e)}function Zl(t,e){return nh(Oa(t)[Pa.TimeFormat],e)}function th(t,e){return nh(Oa(t)[Pa.DateTimeFormat],e)}function eh(t,e){const i=Oa(t),n=i[Pa.NumberSymbols][e];if(void 0===n){if(e===Jl.CurrencyDecimal)return i[Pa.NumberSymbols][Jl.Decimal];if(e===Jl.CurrencyGroup)return i[Pa.NumberSymbols][Jl.Group]}return n}function ih(t){if(!t[Pa.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Pa.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nh(t,e){for(let i=e;i>-1;i--)if(void 0!==t[i])return t[i];throw new Error("Locale data API: locale data undefined")}function sh(t){const[e,i]=t.split(":");return{hours:+e,minutes:+i}}const rh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oh={},ah=/((?:[^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 ch=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),uh=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),lh=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function hh(t,e,i,n){let s=function(t){if(Th(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,i=1,n=1]=t.split("-").map(t=>+t);return dh(e,i-1,n)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(rh))return function(t){const e=new Date(0);let i=0,n=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=Number(t[9]+t[10]),n=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-i,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,c,u),e}(i)}const e=new Date(t);if(!Th(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=ph(i,e)||e;let r,o=[];for(;e;){if(r=ah.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();n&&(a=vh(n,a),s=function(t,e,i){const n=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(vh(e,n)-n))}(s,n));let c="";return o.forEach(t=>{const e=function(t){if(Ah[t])return Ah[t];let e;switch(t){case"G":case"GG":case"GGG":e=_h(lh.Eras,Gl.Abbreviated);break;case"GGGG":e=_h(lh.Eras,Gl.Wide);break;case"GGGGG":e=_h(lh.Eras,Gl.Narrow);break;case"y":e=mh(uh.FullYear,1,0,!1,!0);break;case"yy":e=mh(uh.FullYear,2,0,!0,!0);break;case"yyy":e=mh(uh.FullYear,3,0,!1,!0);break;case"yyyy":e=mh(uh.FullYear,4,0,!1,!0);break;case"Y":e=Mh(1);break;case"YY":e=Mh(2,!0);break;case"YYY":e=Mh(3);break;case"YYYY":e=Mh(4);break;case"M":case"L":e=mh(uh.Month,1,1);break;case"MM":case"LL":e=mh(uh.Month,2,1);break;case"MMM":e=_h(lh.Months,Gl.Abbreviated);break;case"MMMM":e=_h(lh.Months,Gl.Wide);break;case"MMMMM":e=_h(lh.Months,Gl.Narrow);break;case"LLL":e=_h(lh.Months,Gl.Abbreviated,Xl.Standalone);break;case"LLLL":e=_h(lh.Months,Gl.Wide,Xl.Standalone);break;case"LLLLL":e=_h(lh.Months,Gl.Narrow,Xl.Standalone);break;case"w":e=wh(1);break;case"ww":e=wh(2);break;case"W":e=wh(1,!0);break;case"d":e=mh(uh.Date,1);break;case"dd":e=mh(uh.Date,2);break;case"c":case"cc":e=mh(uh.Day,1);break;case"ccc":e=_h(lh.Days,Gl.Abbreviated,Xl.Standalone);break;case"cccc":e=_h(lh.Days,Gl.Wide,Xl.Standalone);break;case"ccccc":e=_h(lh.Days,Gl.Narrow,Xl.Standalone);break;case"cccccc":e=_h(lh.Days,Gl.Short,Xl.Standalone);break;case"E":case"EE":case"EEE":e=_h(lh.Days,Gl.Abbreviated);break;case"EEEE":e=_h(lh.Days,Gl.Wide);break;case"EEEEE":e=_h(lh.Days,Gl.Narrow);break;case"EEEEEE":e=_h(lh.Days,Gl.Short);break;case"a":case"aa":case"aaa":e=_h(lh.DayPeriods,Gl.Abbreviated);break;case"aaaa":e=_h(lh.DayPeriods,Gl.Wide);break;case"aaaaa":e=_h(lh.DayPeriods,Gl.Narrow);break;case"b":case"bb":case"bbb":e=_h(lh.DayPeriods,Gl.Abbreviated,Xl.Standalone,!0);break;case"bbbb":e=_h(lh.DayPeriods,Gl.Wide,Xl.Standalone,!0);break;case"bbbbb":e=_h(lh.DayPeriods,Gl.Narrow,Xl.Standalone,!0);break;case"B":case"BB":case"BBB":e=_h(lh.DayPeriods,Gl.Abbreviated,Xl.Format,!0);break;case"BBBB":e=_h(lh.DayPeriods,Gl.Wide,Xl.Format,!0);break;case"BBBBB":e=_h(lh.DayPeriods,Gl.Narrow,Xl.Format,!0);break;case"h":e=mh(uh.Hours,1,-12);break;case"hh":e=mh(uh.Hours,2,-12);break;case"H":e=mh(uh.Hours,1);break;case"HH":e=mh(uh.Hours,2);break;case"m":e=mh(uh.Minutes,1);break;case"mm":e=mh(uh.Minutes,2);break;case"s":e=mh(uh.Seconds,1);break;case"ss":e=mh(uh.Seconds,2);break;case"S":e=mh(uh.FractionalSeconds,1);break;case"SS":e=mh(uh.FractionalSeconds,2);break;case"SSS":e=mh(uh.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=bh(ch.Short);break;case"ZZZZZ":e=bh(ch.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=bh(ch.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=bh(ch.Long);break;default:return null}return Ah[t]=e,e}(t);c+=e?e(s,i,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function dh(t,e,i){const n=new Date(0);return n.setFullYear(t,e,i),n.setHours(0,0,0),n}function ph(t,e){const i=function(t){return Oa(t)[Pa.LocaleId]}(t);if(oh[i]=oh[i]||{},oh[i][e])return oh[i][e];let n="";switch(e){case"shortDate":n=Ql(t,$l.Short);break;case"mediumDate":n=Ql(t,$l.Medium);break;case"longDate":n=Ql(t,$l.Long);break;case"fullDate":n=Ql(t,$l.Full);break;case"shortTime":n=Zl(t,$l.Short);break;case"mediumTime":n=Zl(t,$l.Medium);break;case"longTime":n=Zl(t,$l.Long);break;case"fullTime":n=Zl(t,$l.Full);break;case"short":const e=ph(t,"shortTime"),i=ph(t,"shortDate");n=fh(th(t,$l.Short),[e,i]);break;case"medium":const s=ph(t,"mediumTime"),r=ph(t,"mediumDate");n=fh(th(t,$l.Medium),[s,r]);break;case"long":const o=ph(t,"longTime"),a=ph(t,"longDate");n=fh(th(t,$l.Long),[o,a]);break;case"full":const c=ph(t,"fullTime"),u=ph(t,"fullDate");n=fh(th(t,$l.Full),[c,u])}return n&&(oh[i][e]=n),n}function fh(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),t}function gh(t,e,i="-",n,s){let r="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,r=i));let o=String(t);for(;o.length0||a>-i)&&(a+=i),t===uh.Hours)0===a&&-12===i&&(a=12);else if(t===uh.FractionalSeconds)return c=e,gh(a,3).substr(0,c);var c;const u=eh(o,Jl.MinusSign);return gh(a,e,u,n,s)}}function _h(t,e,i=Xl.Format,n=!1){return function(s,r){return function(t,e,i,n,s,r){switch(i){case lh.Months:return function(t,e,i){const n=Oa(t),s=nh([n[Pa.MonthsFormat],n[Pa.MonthsStandalone]],e);return nh(s,i)}(e,s,n)[t.getMonth()];case lh.Days:return function(t,e,i){const n=Oa(t),s=nh([n[Pa.DaysFormat],n[Pa.DaysStandalone]],e);return nh(s,i)}(e,s,n)[t.getDay()];case lh.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(r){const t=function(t){const e=Oa(t);return ih(e),(e[Pa.ExtraData][2]||[]).map(t=>"string"==typeof t?sh(t):[sh(t[0]),sh(t[1])])}(e),i=function(t,e,i){const n=Oa(t);ih(n);const s=nh([n[Pa.ExtraData][0],n[Pa.ExtraData][1]],e)||[];return nh(s,i)||[]}(e,s,n),r=t.findIndex(t=>{if(Array.isArray(t)){const[e,i]=t,n=o>=e.hours&&a>=e.minutes,s=o0?Math.floor(s/60):Math.ceil(s/60);switch(t){case ch.Short:return(s>=0?"+":"")+gh(o,2,r)+gh(Math.abs(s%60),2,r);case ch.ShortGMT:return"GMT"+(s>=0?"+":"")+gh(o,1,r);case ch.Long:return"GMT"+(s>=0?"+":"")+gh(o,2,r)+":"+gh(Math.abs(s%60),2,r);case ch.Extended:return 0===n?"Z":(s>=0?"+":"")+gh(o,2,r)+":"+gh(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function yh(t){return dh(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function wh(t,e=!1){return function(i,n){let s;if(e){const t=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,e=i.getDate();s=1+Math.floor((e+t)/7)}else{const t=yh(i),e=function(t){const e=dh(t,0,1).getDay();return dh(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),n=t.getTime()-e.getTime();s=1+Math.round(n/6048e5)}return gh(s,t,eh(n,Jl.MinusSign))}}function Mh(t,e=!1){return function(i,n){return gh(yh(i).getFullYear(),t,eh(n,Jl.MinusSign),e)}}const Ah={};function vh(t,e){t=t.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(i)?e:i}function Th(t){return t instanceof Date&&!isNaN(t.valueOf())}class kh{}let Sh=(()=>{class t extends kh{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return Oa(t)[Pa.PluralCase]}(e||this.locale)(t)){case Vl.Zero:return"zero";case Vl.One:return"one";case Vl.Two:return"two";case Vl.Few:return"few";case Vl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(un(Bu))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function Ch(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}let Eh=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Mo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${it(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(_c),Ro(yc),Ro(Qa),Ro(ec))},t.\u0275dir=Gt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Lh{constructor(t,e,i,n){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=n}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 zh=(()=>{class t{constructor(t,e,i){this._viewContainer=t,this._template=e,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${i}' of type '${t=i,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new Lh(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new Rh(t,i);e.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const r=new Rh(t,s);e.push(r)}});for(let i=0;i{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Lc),Ro(_c))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Rh{constructor(t,e){this.record=t,this.view=e}}let xh=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Oh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Dh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Dh("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Oh{constructor(){this.$implicit=null,this.ngIf=null}}function Dh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${it(e)}'.`)}class Ph{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Nh=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,i){this.ngSwitch=i,i._addCase(),this._view=new Ph(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Lc),Ro(Nh,9))},t.\u0275dir=Gt({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Bh=(()=>{class t{constructor(t,e,i){i._addDefault(new Ph(t,e))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Lc),Ro(Nh,9))},t.\u0275dir=Gt({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Fh=(()=>{class t{constructor(t,e,i){this._ngEl=t,this._differs=e,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[i,n]=t.split(".");null!=(e=null!=e&&n?`${e}${n}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(yc),Ro(ec))},t.\u0275dir=Gt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();function Hh(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${it(t)}'`)}class qh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class jh{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Yh=new jh,Wh=new qh;let Uh=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(qo(e))return Yh;if(jo(e))return Wh;throw Hh(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc,16))},t.\u0275pipe=$t({name:"async",type:t,pure:!1}),t})(),Kh=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Hh(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"uppercase",type:t,pure:!0}),t})(),Vh=(()=>{class t{constructor(t){this.locale=t}transform(e,i="mediumDate",n,s){if(null==e||""===e||e!=e)return null;try{return hh(e,i,s||this.locale,n)}catch(r){throw Hh(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ro(Bu,16))},t.\u0275pipe=$t({name:"date",type:t,pure:!0}),t})(),Xh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[{provide:kh,useClass:Sh}]}),t})();function Gh(t){return"browser"===t}function $h(t){return"server"===t}let Jh=(()=>{class t{}return t.\u0275prov=dt({token:t,providedIn:"root",factory:()=>new Qh(un(Ll),window)}),t})();class Qh{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){const t=n.shadowRoot;if(t){const i=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(i)return i}n=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Zh(this.window.history)||Zh(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Zh(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class td{}class ed extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new ed,Cl||(Cl=t)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(nd=nd||document.querySelector("base"),nd?nd.getAttribute("href"):null);return null==e?null:function(t){id=id||document.createElement("a"),id.setAttribute("href",t);const e=id.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){nd=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ch(document.cookie,t)}}let id,nd=null;const sd=new Ui("TRANSITION_ID"),rd=[{provide:Lu,useFactory:function(t,e,i){return()=>{i.get(zu).donePromise.then(()=>{const i=El();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[sd,Ll,lo],multi:!0}];class od{static init(){var t;t=new od,al=t}addToWindow(t){xt.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},xt.getAllAngularTestabilities=()=>t.getAllTestabilities(),xt.getAllAngularRootElements=()=>t.getAllRootElements(),xt.frameworkStabilizers||(xt.frameworkStabilizers=[]),xt.frameworkStabilizers.push(t=>{const e=xt.getAllAngularTestabilities();let i=e.length,n=!1;const s=function(e){n=n||e,i--,0==i&&t(n)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const n=t.getTestability(e);return null!=n?n:i?El().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let ad=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const cd=new Ui("EventManagerPlugins");let ud=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),dd=(()=>{class t extends hd{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,i){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,i.push(e.appendChild(n))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(pd),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,i)=>{this._addStylesToHost(t,i,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(pd))}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function pd(t){El().remove(t)}const fd={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/"},gd=/%COMP%/g;function md(t,e,i){for(let n=0;n{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let bd=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new yd(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Ct.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new wd(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case 1:case Ct.ShadowDom:return new Md(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=md(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(un(ud),un(dd),un(Ru))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class yd{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(fd[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=fd[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=fd[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&(ds.DashCase|ds.Important)?t.style.setProperty(e,i,n&ds.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&ds.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,_d(i)):this.eventManager.addEventListener(t,e,_d(i))}}class wd extends yd{constructor(t,e,i,n){super(t),this.component=i;const s=md(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(gd,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(gd,n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class Md extends yd{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=md(n.id,n.styles,[]);for(let r=0;r{class t extends ld{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const vd=["alt","control","meta","shift"],Td={"\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"},kd={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"},Sd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Cd=(()=>{class t extends ld{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,n){const s=t.parseEventName(i),r=t.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>El().onAndCancel(e,s.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let r="";if(vd.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),r+=t+".")}),r+=s,0!=i.length||0===s.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&kd.hasOwnProperty(e)&&(e=kd[e]))}return Td[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),vd.forEach(n=>{n!=i&&(0,Sd[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),Ed=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return un(zd)},token:t,providedIn:"root"}),t})();function Ld(t){return new zd(t.get(Ll))}let zd=(()=>{class t extends Ed{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Qn.NONE:return e;case Qn.HTML:return Cn(e,"HTML")?Sn(e):$n(this._doc,String(e)).toString();case Qn.STYLE:return Cn(e,"Style")?Sn(e):e;case Qn.SCRIPT:if(Cn(e,"Script"))return Sn(e);throw new Error("unsafe value used in a script context");case Qn.URL:return En(e),Cn(e,"URL")?Sn(e):On(String(e));case Qn.RESOURCE_URL:if(Cn(e,"ResourceURL"))return Sn(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new Mn(t)}bypassSecurityTrustStyle(t){return new An(t)}bypassSecurityTrustScript(t){return new vn(t)}bypassSecurityTrustUrl(t){return new Tn(t)}bypassSecurityTrustResourceUrl(t){return new kn(t)}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:function(){return Ld(un(Gr))},token:t,providedIn:"root"}),t})();const Rd=pl(Tl,"browser",[{provide:Pu,useValue:"browser"},{provide:Du,useValue:function(){ed.makeCurrent(),od.init()},multi:!0},{provide:Ll,useFactory:function(){return function(t){de=t}(document),document},deps:[]}]),xd=[[],{provide:Jr,useValue:"root"},{provide:as,useFactory:function(){return new as},deps:[]},{provide:cd,useClass:Ad,multi:!0,deps:[Ll,$u,Pu]},{provide:cd,useClass:Cd,multi:!0,deps:[Ll]},[],{provide:bd,useClass:bd,deps:[ud,dd,Ru]},{provide:tc,useExisting:bd},{provide:hd,useExisting:dd},{provide:dd,useClass:dd,deps:[Ll]},{provide:nl,useClass:nl,deps:[$u]},{provide:ud,useClass:ud,deps:[cd,$u]},{provide:td,useClass:ad,deps:[]},[]];let Od=(()=>{class t{constructor(t){if(t)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:t,providers:[{provide:Ru,useValue:e.appId},{provide:sd,useExisting:Ru},rd]}}}return t.\u0275fac=function(e){return new(e||t)(un(t,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:xd,imports:[Xh,Sl]}),t})();function Dd(){return new Pd(un(Ll))}let Pd=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:Dd,token:t,providedIn:"root"}),t})();function Nd(...t){let e=t[t.length-1];return k(e)?(t.pop(),B(t,e)):W(t)}function Id(t,e){return H(t,e,1)}function Bd(t,e){return function(i){return i.lift(new Fd(t,e))}}"undefined"!=typeof window&&window;class Fd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Hd(t,this.predicate,this.thisArg))}}class Hd extends f{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class qd{}class jd{}class Yd{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Yd?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Yd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Yd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Wd{encodeKey(t){return Ud(t)}encodeValue(t){return Ud(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Ud(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Kd(t){return`${t}`}class Vd{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Wd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const n=t.indexOf("="),[s,r]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],o=i.get(s)||[];o.push(r),i.set(s,o)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const n=t[i];Array.isArray(n)?n.forEach(t=>{e.push({param:i,value:t,op:"a"})}):e.push({param:i,value:n,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Vd({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Kd(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(Kd(t.value));-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Xd{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Gd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function $d(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Jd(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Qd{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Yd),this.context||(this.context=new Xd),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":ie.set(i,t.setHeaders[i]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),u)),new Qd(i,n,r,{params:u,headers:c,context:l,reportProgress:a,responseType:s,withCredentials:o})}}var Zd=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class tp{constructor(t,e=200,i="OK"){this.headers=t.headers||new Yd,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class ep extends tp{constructor(t={}){super(t),this.type=Zd.ResponseHeader}clone(t={}){return new ep({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ip extends tp{constructor(t={}){super(t),this.type=Zd.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ip({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class np extends tp{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function sp(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let rp=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof Qd)n=t;else{let s,r;s=i.headers instanceof Yd?i.headers:new Yd(i.headers),i.params&&(r=i.params instanceof Vd?i.params:new Vd({fromObject:i.params})),n=new Qd(t,e,void 0!==i.body?i.body:null,{headers:s,context:i.context,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=Nd(n).pipe(Id(t=>this.handler.handle(t)));if(t instanceof Qd||"events"===i.observe)return s;const r=s.pipe(Bd(t=>t instanceof ip));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe(P(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(P(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(P(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(P(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Vd).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,sp(i,e))}post(t,e,i={}){return this.request("POST",t,sp(i,e))}put(t,e,i={}){return this.request("PUT",t,sp(i,e))}}return t.\u0275fac=function(e){return new(e||t)(un(qd))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class op{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const ap=new Ui("HTTP_INTERCEPTORS");let cp=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const up=/^\)\]\}',?\n/;let lp=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new b(e=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((t,e)=>i.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&i.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();i.responseType="json"!==e?e:"text"}const n=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Yd(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new ep({headers:r,status:e,statusText:n,url:o}),s},o=()=>{let{headers:n,status:s,statusText:o,url:a}=r(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(up,"");try{c=""!==c?JSON.parse(c):null}catch(l){c=t,u&&(u=!1,c={error:l,text:c})}}u?(e.next(new ip({body:c,headers:n,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new np({error:c,headers:n,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:n}=r(),s=new np({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});e.error(s)};let c=!1;const u=n=>{c||(e.next(r()),c=!0);let s={type:Zd.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&i.responseText&&(s.partialText=i.responseText),e.next(s)},l=t=>{let i={type:Zd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),e.next(i)};return i.addEventListener("load",o),i.addEventListener("error",a),i.addEventListener("timeout",a),i.addEventListener("abort",a),t.reportProgress&&(i.addEventListener("progress",u),null!==n&&i.upload&&i.upload.addEventListener("progress",l)),i.send(n),e.next({type:Zd.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("abort",a),i.removeEventListener("load",o),i.removeEventListener("timeout",a),t.reportProgress&&(i.removeEventListener("progress",u),null!==n&&i.upload&&i.upload.removeEventListener("progress",l)),i.readyState!==i.DONE&&i.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(un(td))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const hp=new Ui("XSRF_COOKIE_NAME"),dp=new Ui("XSRF_HEADER_NAME");class pp{}let fp=(()=>{class t{constructor(t,e,i){this.doc=t,this.platform=e,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ch(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(un(Ll),un(Pu),un(hp))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),gp=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return e.handle(t);const n=this.tokenService.getToken();return null===n||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(un(pp),un(dp))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),mp=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(ap,[]);this.chain=t.reduceRight((t,e)=>new op(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(un(jd),un(lo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),_p=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:gp,useClass:cp}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:hp,useValue:e.cookieName}:[],e.headerName?{provide:dp,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[gp,{provide:ap,useExisting:gp,multi:!0},{provide:pp,useClass:fp},{provide:hp,useValue:"XSRF-TOKEN"},{provide:dp,useValue:"X-XSRF-TOKEN"}]}),t})(),bp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[rp,{provide:qd,useClass:mp},lp,{provide:jd,useExisting:lp}],imports:[[_p.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class yp{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const wp=new Ui("basePath");class Mp{constructor(t={}){this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}selectHeaderContentType(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}selectHeaderAccept(t){if(0===t.length)return;const e=t.find(t=>this.isJsonMime(t));return void 0===e?t[0]:e}isJsonMime(t){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==t&&(e.test(t)||"application/json-patch+json"===t.toLowerCase())}}let Ap=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}convertAttributeToNonunique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}convertAttributeToUnique(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attribute",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAttributeDefinitions(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attributes[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllAttributeDefinitions(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttribute(t,e,i,n,s,r,o,a,c,u,l,h="body",d=!1){let p=new Vd({encoder:this.encoder});null!=t&&(p=p.set("attributeName",t)),null!=e&&(p=p.set("attributeId",e)),null!=i&&(p=p.set("facility",i)),null!=n&&(p=p.set("user",n)),null!=s&&(p=p.set("vo",s)),null!=r&&(p=p.set("resource",r)),null!=o&&(p=p.set("member",o)),null!=a&&(p=p.set("group",a)),null!=c&&(p=p.set("host",c)),null!=u&&(p=p.set("userExtSource",u)),null!=l&&(p=p.set("key",l));let f=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(f=f.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(f=f.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;f=f.set("Authorization","Bearer "+t)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(f=f.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:p,withCredentials:this.configuration.withCredentials,headers:f,observe:h,reportProgress:d})}getAttributeDefinitionById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attributeName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeDefinitionsByNamespace(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAttributeModulesDependenciesForAttributeGraphText(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("format",t)),null!=e&&(s=s.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAttributeModulesDependenciesGraphText(t,e="body",i=!1){if(null==t)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("format",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attributeId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAttributesDefinitionWithRights(t,e,i,n,s,r,o,a,c="body",u=!1){let l=new Vd({encoder:this.encoder});null!=t&&(l=l.set("member",t)),null!=e&&(l=l.set("user",e)),null!=i&&(l=l.set("vo",i)),null!=n&&(l=l.set("group",n)),null!=s&&(l=l.set("resource",s)),null!=r&&(l=l.set("facility",r)),null!=o&&(l=l.set("host",o)),null!=a&&(l=l.set("userExtSource",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+t)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(h=h.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}getEntitylessAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEntitylessAttributesByKey(t,e="body",i=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("key",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesByName(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attrName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEntitylessAttributesWithKeys(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("attrName",t)),e&&e.forEach(t=>{s=s.append("keys[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEntitylessKeys(t,e="body",i=!1){if(null==t)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("attributeDefinition",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFacilityAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacilityResourceUserMemberAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("facility",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("user",i)),null!=n&&(o=o.set("member",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getFacilityUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("host",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getHostAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getLogins(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getLogins.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAndUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==e)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAndUserAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroupAndUserAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getMemberGroupAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberGroupAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroupAttributesByNames(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getMemberResourceAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("service",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesFacilityService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesFacilityServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesGroupResourceService(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("service",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("group",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesHostService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==e)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("workWithUserAttributes",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesMemberGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new Vd({encoder:this.encoder});null!=t&&(a=a.set("service",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("group",i)),null!=n&&(a=a.set("member",n)),null!=s&&(a=a.set("workWithUserAttributes",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getRequiredAttributesMemberGroupService(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("member",i)),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRequiredAttributesMemberResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRequiredAttributesMemberResourceService(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("service",t)),null!=e&&(o=o.set("resource",e)),null!=i&&(o=o.set("member",i)),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRequiredAttributesResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesResourceService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesResourceServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("services[]",t)}),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRequiredAttributesUserFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRequiredAttributesVoService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("service",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceGroupAndGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("resource",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("workWithGroupAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attrNames[]",t)}),null!=n&&(o=o.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getResourceGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceGroupMemberAttributesByNames(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),null!=e&&(o=o.set("group",e)),null!=i&&(o=o.set("member",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getUserAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserFacilityAttributeById(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getUserFacilityAttributeByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attributeName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getUserFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributeById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributeByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeAttributesForFacilityResourceGroupUserMember(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)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==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let c=new Vd({encoder:this.encoder});null!=t&&(c=c.set("facility",t)),null!=e&&(c=c.set("resource",e)),null!=i&&(c=c.set("group",i)),null!=n&&(c=c.set("user",n)),null!=s&&(c=c.set("member",s)),r&&r.forEach(t=>{c=c.append("attributes[]",t)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}removeAttributesForFacilityResourceUserMember(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==n)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 Vd({encoder:this.encoder});null!=t&&(a=a.set("facility",t)),null!=e&&(a=a.set("resource",e)),null!=i&&(a=a.set("user",i)),null!=n&&(a=a.set("member",n)),s&&s.forEach(t=>{a=a.append("attributes[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}removeEntitylessAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("key",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeFacilityAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeGroupResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)}),null!=n&&(o=o.set("workWithGroupAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}removeHostAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeHostAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("host",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMemberAttributesWorkWithUserAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),e&&e.forEach(t=>{r=r.append("attributes[]",t)}),null!=i&&(r=r.set("workWithUserAttributes",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("group",e)),i&&i.forEach(t=>{o=o.append("attributes[]",t)}),null!=n&&(o=o.set("workWithUserAttributes",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}removeMemberResourceAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeMemberResourceAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("resource",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeResourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUesAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserExtSourceAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userExtSource",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserFacilityAttribute(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==i)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("attribute",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeUserFacilityAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("facility",e)),i&&i.forEach(t=>{r=r.append("attributes[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeVoAttribute(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==e)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==e)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attributes[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setAttributeRights(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setEntitylessAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceGroupUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityResourceUserMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setFacilityUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setGroupResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setHostAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberGroupWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAndUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setMemberWithUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setResourceGroupWithGroupAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserExtSourceAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setUserFacilityAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttribute(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setVoAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateAttributeDefinition(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}getAllPolicies(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllRolesManagementRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAuthzAdminGroups(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("role",t)),null!=e&&(r=r.set("complementaryObjectId",e)),null!=i&&(r=r.set("complementaryObjectName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getAuthzRichAdmins(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==e)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let c=new Vd({encoder:this.encoder});null!=t&&(c=c.set("role",t)),null!=e&&(c=c.set("complementaryObjectId",e)),null!=i&&(c=c.set("complementaryObjectName",i)),n&&n.forEach(t=>{c=c.append("specificAttributes",t)}),null!=s&&(c=c.set("allUserAttributes",s)),null!=r&&(c=c.set("onlyDirectAdmins",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}getFacilitiesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("groupId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getLoggedUser(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getMembersWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getPerunPrincipal(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPrincipalRoleNames(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSecurityTeamsWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserRoleNames(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserRoles(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("userId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsInRoles(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("user",e)),t&&t.forEach(t=>{s=s.append("roles[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}isFacilityAdmin(t,e="body",i=!1){let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("facility",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isGroupAdmin(t,e="body",i=!1){let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isPerunAdmin(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}isVoAdmin(t,e="body",i=!1){let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}keepAlive(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}loadAuthorizationComponents(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}setRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithGroupComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unsetRoleWithUserComplementaryObject(t,e="body",i=!1){if(null==t)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Tp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}addMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling addMember.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling addMembers.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}canExtendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createGroupWithParentGroupNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("parentGroup",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}createGroupWithVoNameDescription(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==e)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==i)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("name",e)),null!=i&&(r=r.set("description",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}deleteGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==e)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("forceDelete",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroups`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}extendMembershipInGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}forceAllSubGroupsSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupStructureSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}forceGroupSynchronization(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllRichSubGroupsWithGroupAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupByName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==e)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupMemberById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByGroupStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupMembersCountsByVoStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupRichMembersByIds(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==e)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("members[]",t)}),i&&i.forEach(t=>{r=r.append("attrNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getGroupUnions(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==e)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("reverseDirection",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getIndirectMembershipPaths(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==e)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMemberGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberRichGroupsWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRichGroupByIdWithAttributesByNames(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("groupId",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}isGroupMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==e)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}moveGroupWithDestinationGroupMovingGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new Vd({encoder:this.encoder});null!=e&&(s=s.set("destinationGroup",e)),null!=t&&(s=s.set("movingGroup",t));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupUnion(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==e)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resultGroup",t)),null!=e&&(s=s.set("operandGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMember.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==e)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("members[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setGroupsMemberStatus(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==e)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==i)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("group",e)),null!=i&&(r=r.set("status",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}updateGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}canExtendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createMemberForCandidate(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createMemberFromExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSpecificMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createSponsoredMembersFromCSV(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("members[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}extendMembership(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findCompleteRichMembersByAttributes(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let r=new Vd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("attrsNames[]",t)}),null!=e&&(r=r.set("searchString",e)),i&&i.forEach(t=>{r=r.append("allowedStatuses[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}findCompleteRichMembersForGroup(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==n)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let c=new Vd({encoder:this.encoder});null!=t&&(c=c.set("group",t)),e&&e.forEach(t=>{c=c.append("attrsNames[]",t)}),s&&s.forEach(t=>{c=c.append("allowedStatuses[]",t)}),r&&r.forEach(t=>{c=c.append("allowedGroupStatuses[]",t)}),null!=i&&(c=c.set("searchString",i)),null!=n&&(c=c.set("lookingInParentGroup",n));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}findCompleteRichMembersForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)}),n&&n.forEach(t=>{o=o.append("allowedStatuses[]",t)}),null!=i&&(o=o.set("searchString",i));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}findMembersInVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findSponsoredCompleteRichMembersForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==n)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("attrsNames[]",t)}),null!=i&&(o=o.set("searchString",i)),null!=n&&(o=o.set("onlySponsored",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getAllNamespacesRules(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getAllSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getCompleteRichMembersForGroup(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==e)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new Vd({encoder:this.encoder});null!=t&&(a=a.set("group",t)),i&&i.forEach(t=>{a=a.append("allowedStatuses[]",t)}),n&&n.forEach(t=>{a=a.append("allowedGroupStatuses[]",t)}),null!=e&&(a=a.set("lookingInParentGroup",e)),s&&s.forEach(t=>{a=a.append("attrsNames[]",t)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getCompleteRichMembersForGroupResource(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==n)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),null!=e&&(o=o.set("resource",e)),i&&i.forEach(t=>{o=o.append("attrsNames[]",t)}),n&&n.forEach(t=>{o=o.append("allowedStatuses[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getCompleteRichMembersForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("allowedStatuses[]",t)}),i&&i.forEach(t=>{r=r.append("attrsNames[]",t)});let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("extLogin",e)),null!=i&&(r=r.set("extSourceName",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMemberById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMemberByUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMembers(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getMembersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersCount(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getMembersPage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getMembersWithStatusCount(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==e)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getRichMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMemberWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichMembersByIds(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("ids[]",t)}),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsoredMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsoredMembersAndTheirSponsors(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsByMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsByVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extSourceName",e)),null!=i&&(o=o.set("extLogin",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}moveMembership(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==e)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==i)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("sourceUser",e)),null!=i&&(r=r.set("targetUser",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}removeSponsor(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("sponsor",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendAccountActivationLinkEmail(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("emailAttributeURN",i)),null!=n&&(o=o.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sendPasswordResetLinkEmail(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==n)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("member",t)),null!=e&&(o=o.set("namespace",e)),null!=i&&(o=o.set("emailAttributeURN",i)),null!=n&&(o=o.set("language",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}setSponsoredMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSponsorshipForMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("sponsoredMember",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}setStatus(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==e)throw new Error("Required parameter status was null or undefined when calling setStatus.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("status",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sponsorMember(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}updateSponsorshipValidity(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==e)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("member",t)),null!=e&&(r=r.set("sponsor",e)),null!=i&&(r=r.set("validityTo",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}validateMemberAsync(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Sp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}sentMessageToRTWithMemberQueue(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("memberId",t)),null!=e&&(o=o.set("queue",e)),null!=i&&(o=o.set("subject",i)),null!=n&&(o=o.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sentMessageToRTWithQueue(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("queue",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sentMessageToRTWithVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==e)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("voId",t)),null!=e&&(r=r.set("subject",e)),null!=i&&(r=r.set("text",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sentMessageToRTWithVoQueue(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("voId",t)),null!=e&&(o=o.set("queue",e)),null!=i&&(o=o.set("subject",i)),null!=n&&(o=o.set("text",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Cp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}addApplicationMailForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addApplicationMailForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}addGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}approveApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}consolidateIdentityUsingToken(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}copyFormFromGroupToGroup(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromGroupToVo(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromVoToGroup(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyFormFromVoToVo(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromGroupToGroup(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromGroupToVo(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromGroup",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromVoToGroup(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyMailsFromVoToVo(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("fromVo",t)),null!=e&&(s=s.set("toVo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createApplicationFormInGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}createApplicationFormInVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteApplicationMailForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteApplicationMailForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteGroupsFromAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("groups[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationDataById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationMailsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getApplicationsForGroup(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("group",t)),e&&e.forEach(t=>{o=o.append("state[]",t)}),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getApplicationsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getApplicationsForVo(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),e&&e.forEach(t=>{o=o.append("state[]",t)}),null!=i&&(o=o.set("dateFrom",i)),null!=n&&(o=o.set("dateTo",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getConsolidatorToken(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForGroupWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getFormItemsForVoWithType(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("type",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsToAutoRegistration(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoApplicationForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}rejectApplication(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("id",t)),null!=e&&(s=s.set("reason",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendInvitation(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let o=new Vd({encoder:this.encoder});null!=i&&(o=o.set("voId",i)),null!=n&&(o=o.set("name",n)),null!=t&&(o=o.set("email",t)),null!=e&&(o=o.set("language",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}sendInvitationForGroup(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==e)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new Vd({encoder:this.encoder});null!=i&&(a=a.set("voId",i)),null!=n&&(a=a.set("groupId",n)),null!=s&&(a=a.set("name",s)),null!=t&&(a=a.set("email",t)),null!=e&&(a=a.set("language",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}sendInvitationGroupToExistingUser(t,e,i,n="body",s=!1){let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("userId",t)),null!=e&&(r=r.set("voId",e)),null!=i&&(r=r.set("groupId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}sendInvitationToExistingUser(t,e,i="body",n=!1){let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("userId",t)),null!=e&&(s=s.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}sendMessage(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}setSendingEnabled(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}submitApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateApplicationMail(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateForm(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsData(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateFormItemsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}verifyApplication(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ep=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}activateGroupResourceAssignment(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}addAdminToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addAdminToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}allowGroupsToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let r=new Vd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupToResources(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("resources[]",t)}),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignGroupsToResource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let r=new Vd({encoder:this.encoder});t&&t.forEach(t=>{r=r.append("groups[]",t)}),null!=e&&(r=r.set("resource",e)),null!=i&&(r=r.set("async",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}assignResourceTagToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}assignService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling assignService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling assignServices.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}assignServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}copyResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResource(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==i)throw new Error("Required parameter name was null or undefined when calling createResource.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("facility",e)),null!=i&&(o=o.set("name",i)),null!=n&&(o=o.set("description",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}createResourceTagWithResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}createResourceTagWithTagName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("tagName",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deactivateGroupResourceAssignment(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteAllResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}deleteResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAdminGroups(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAdmins(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==e)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("onlyDirectAdmins",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllResourcesByResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}getAllResourcesTagsForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesTagsForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllResourcesWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAllowedUsersOfResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichMembers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithGroup(t,e="body",i=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("group",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesWithMemberService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAssignedServicesToResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getBansForResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getEnrichedResourceById(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("id",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEnrichedResourcesForFacility(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("facility",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getEnrichedResourcesForVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getFacility(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceAssignments(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceBan(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourceByName(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==i)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("facility",e)),null!=i&&(r=r.set("name",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesCountForAll(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getResourcesCountForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getResourcesFromVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getResourcesWhereGroupIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("group",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getResourcesWhereUserIsAdmin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==i)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("facility",t)),null!=e&&(r=r.set("vo",e)),null!=i&&(r=r.set("user",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getRichAdmins(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==e)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("resource",t)),e&&e.forEach(t=>{o=o.append("specificAttributes",t)}),null!=i&&(o=o.set("allUserAttributes",i)),null!=n&&(o=o.set("onlyDirectAdmins",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getRichResourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichResourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling getVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeAllResourceTagsFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("resource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeBanByMemberAndResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),e&&e.forEach(t=>{s=s.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeGroupsFromResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeResourceSelfServiceGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==e)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceSelfServiceUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeResourceTagFromResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}removeService(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==e)throw new Error("Required parameter service was null or undefined when calling removeService.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeServices(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==e)throw new Error("Required parameter services was null or undefined when calling removeServices.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),e&&e.forEach(t=>{s=s.append("services[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeServicesPackage(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserAdminResource(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("resource",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}setResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}unallowGroupsFromResources(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==e)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let s=new Vd({encoder:this.encoder});t&&t.forEach(t=>{s=s.append("groups[]",t)}),e&&e.forEach(t=>{s=s.append("resources[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}updateResource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateResourceTag(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}addSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addUserExtSource(t,e="body",i=!1){if(null==t)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}changeNonAuthzPasswordByToken(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==e)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("token",t)),null!=e&&(r=r.set("password",e)),null!=i&&(r=r.set("lang",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}changePasswordForLogin(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let a=new Vd({encoder:this.encoder});null!=t&&(a=a.set("login",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}changePasswordForUser(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==i)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let a=new Vd({encoder:this.encoder});null!=t&&(a=a.set("user",t)),null!=e&&(a=a.set("namespace",e)),null!=i&&(a=a.set("newPassword",i)),null!=n&&(a=a.set("oldPassword",n)),null!=s&&(a=a.set("checkOldPassword",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}checkPasswordResetRequestByTokenIsValid(t,e="body",i=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("token",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}checkPasswordStrength(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("password",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createAlternativePassword(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==e)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("user",t)),null!=e&&(o=o.set("description",e)),null!=i&&(o=o.set("loginNamespace",i)),null!=n&&(o=o.set("password",n));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}createServiceUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteAlternativePassword(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==i)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("loginNamespace",e)),null!=i&&(r=r.set("passwordId",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}deletePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deletePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}deleteUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findRichUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}findRichUsersWithAttributes(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("searchString",t)),e&&e.forEach(t=>{s=s.append("attrsNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findUsers(t,e="body",i=!1){if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("searchString",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getAssignedRichResourcesForUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getGroupsForFacilityWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==e)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsForResourceWhereUserIsActive(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsInVoWhereUserIsAdmin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getGroupsWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getPendingPreferredEmailChanges(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUserWithAttributes(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithAttributesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getRichUsersWithoutVoWithAttributes(t,e="body",i=!1){let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("attrsNames[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSpecificUsersByUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getSponsorsForMember(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("member",t)),e&&e.forEach(t=>{s=s.append("attrNames[]",t)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getSponsorsForMemberByVoAndLogin(t,e,i,n,s="body",r=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let o=new Vd({encoder:this.encoder});null!=t&&(o=o.set("vo",t)),null!=e&&(o=o.set("extSourceName",e)),null!=i&&(o=o.set("extLogin",i)),n&&n.forEach(t=>{o=o.append("attrNames[]",t)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+t)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(a=a.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:r})}getUserByExtSourceNameAndExtLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("extLogin",t)),null!=e&&(s=s.set("extSourceName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getUserById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getUserById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourceById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("userExtSource",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSources(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUserExtSourcesByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getUsersBySpecificUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("specificUser",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsAdmin(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosWhereUserIsMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("user",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}isLoginAvailable(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==e)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("loginNamespace",t)),null!=e&&(s=s.set("login",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}loginExist(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSpecificUserOwner(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeUserExtSource(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("userExtSource",e)),null!=i&&(r=r.set("force",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}requestPreferredEmailChange(t,e,i,n,s,r,o="body",a=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==e)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let c=new Vd({encoder:this.encoder});null!=t&&(c=c.set("user",t)),null!=e&&(c=c.set("email",e)),null!=i&&(c=c.set("lang",i)),null!=n&&(c=c.set("linkPath",n)),null!=s&&(c=c.set("customUrl",s)),null!=r&&(c=c.set("idpFilter",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+t)}const l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}reservePasswordForLogin(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("login",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}reservePasswordForUser(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==i)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("user",t)),null!=e&&(r=r.set("namespace",e)),null!=i&&(r=r.set("password",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}reserveRandomPassword(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}updateUser(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}validatePasswordForLogin(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("login",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}validatePasswordForUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==e)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("user",t)),null!=e&&(s=s.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}validatePreferredEmailChangeWithToken(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==e)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("token",t)),null!=e&&(s=s.set("u",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}getAppsConfig(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getGuiConfiguration(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunRPCVersion(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatistics(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunStatus(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getPerunSystemTimeInMillis(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rp=(()=>{class t{constructor(t,e,i){this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new Yd,this.configuration=new Mp,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof e&&(e=this.basePath),this.configuration.basePath=e),this.encoder=this.configuration.encoder||new yp}addSponsorRoleToGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addSponsorRoleToUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}addVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createVoWithName(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==e)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("name",t)),null!=e&&(s=s.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}createVoWithVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}deleteVo(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("force",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}findCandidates(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("id",t)),null!=e&&(r=r.set("searchString",e)),null!=i&&(r=r.set("maxNumOfResults",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}findCandidatesForGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("group",t)),null!=e&&(s=s.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getAllVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getCompleteCandidatesForGroup(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("group",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getCompleteCandidatesForVo(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==i)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),e&&e.forEach(t=>{r=r.append("attrNames[]",t)}),null!=i&&(r=r.set("searchString",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getMyVos(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}getRichAdminsForVo(t,e,i,n,s,r="body",o=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==n)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 Vd({encoder:this.encoder});null!=t&&(a=a.set("vo",t)),null!=e&&(a=a.set("role",e)),i&&i.forEach(t=>{a=a.append("specificAttributes",t)}),null!=n&&(a=a.set("allUserAttributes",n)),null!=s&&(a=a.set("onlyDirectAdmins",s));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+t)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(c=c.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:c,observe:r,reportProgress:o})}getVoAdminGroups(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("role",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}getVoAdminUsers(t,e,i,n="body",s=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==e)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let r=new Vd({encoder:this.encoder});null!=t&&(r=r.set("vo",t)),null!=e&&(r=r.set("role",e)),null!=i&&(r=r.set("onlyDirectAdmins",i));let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+t)}const a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(o=o.set("Accept",a)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}getVoBanById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoBansForVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoById(t,e="body",i=!1){if(null==t)throw new Error("Required parameter id was null or undefined when calling getVoById.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("id",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoByShortName(t,e="body",i=!1){let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("shortName",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVoMembersCountsByStatus(t,e="body",i=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("vo",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosByIds(t,e="body",i=!1){if(null==t)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let n=new Vd({encoder:this.encoder});t&&t.forEach(t=>{n=n.append("ids[]",t)});let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}getVosCount(t="body",e=!1){let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+t)}const n=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==n&&(i=i.set("Accept",n)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:e})}removeSponsorRoleFromGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeSponsorRoleFromUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAdminGroup(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==e)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("authorizedGroup",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoAdminUser(t,e,i="body",n=!1){if(null==t)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==e)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let s=new Vd({encoder:this.encoder});null!=t&&(s=s.set("vo",t)),null!=e&&(s=s.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+t)}const o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:r,observe:i,reportProgress:n})}removeVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("banId",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}removeVoBanForMember(t,e="body",i=!1){if(null==t)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let n=new Vd({encoder:this.encoder});null!=t&&(n=n.set("member",t));let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+t)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:i})}setVoBan(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}updateVo(t,e="body",i=!1){if(null==t)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const t="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+t)}const s=this.configuration.selectHeaderAccept(["application/json"]);void 0!==s&&(n=n.set("Accept",s));const r=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==r&&(n=n.set("Content-Type",r)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,t,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:i})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(wp,8),un(Mp,8))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var xp,Op,Dp,Pp;!function(t){t.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},t.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(xp||(xp={})),function(t){t.FormatEnum={DOT:"DOT",TGF:"TGF"}}(Op||(Op={})),function(t){t.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(Dp||(Dp={})),function(t){t.TypeEnum={Technical:"technical",Administrative:"administrative"}}(Pp||(Pp={}));var Np=function(t){return t.PERUNADMIN="PERUNADMIN",t.PERUNOBSERVER="PERUNOBSERVER",t.VOADMIN="VOADMIN",t.GROUPADMIN="GROUPADMIN",t.SELF="SELF",t.FACILITYADMIN="FACILITYADMIN",t.FACILITIYOBSERVER="FACILITYOBSERVER",t.RESOURCEADMIN="RESOURCEADMIN",t.RESOURCESELFSERVICE="RESOURCESELFSERVICE",t.REGISTRAR="REGISTRAR",t.ENGINE="ENGINE",t.RPC="RPC",t.NOTIFICATIONS="NOTIFICATIONS",t.SERVICEUSER="SERVICEUSER",t.SPONSOR="SPONSOR",t.VOOBSERVER="VOOBSERVER",t.TOPGROUPCREATOR="TOPGROUPCREATOR",t.SECURITYADMIN="SECURITYADMIN",t.CABINETADMIN="CABINETADMIN",t.UNKNOWNROLENAME="UNKNOWNROLENAME",t}({});let Ip=(()=>{class t{constructor(t){this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(t){this.principal=t,this.initData(t)}setPerunPolicies(t){this.perunPolicies=t}getPerunPolicies(){return this.perunPolicies}isAuthorized(t,e){if(null===this.principal.roles)return!1;const i=this.fetchPolicyWithAllIncludedPolicies(t);let n=[];for(const r of i)n=n.concat(r.perunRoles);const s=this.fetchAllRelatedObjects(e);return this.resolveAuthorization(n,s)}resolveAuthorization(t,e){for(const i of t){let t=!0;for(const n of Object.keys(i)){const s=i[n];if(null===s)this.principalRoles.has(n)||(t=!1);else if(e[s]){for(const i of e[s])if(!this.principalHasRole(n,s,i)){t=!1;break}}else t=!1;if(!t)break}if(t)return!0}return!1}fetchAllRelatedObjects(t){const e={};for(const i of t){let t=i.beanName;switch(i.beanName.startsWith("Rich")&&(t=i.beanName.substring(4)),e[t]?e[t].push(i.id):e[t]=[i.id],t){case"Member":e.User?e.User.push(i.userId):e.User=[i.userId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Group":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"Resource":e.Facility?e.Facility.push(i.facilityId):e.Facility=[i.facilityId],e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId];break;case"ResourceTag":e.Vo?e.Vo.push(i.voId):e.Vo=[i.voId]}}return e}principalHasRole(t,e,i){let n=e;return e.startsWith("Rich")&&(n=e.substring(4)),!(!this.principal.roles[t]||!this.principal.roles[t][n])&&this.principal.roles[t][n].includes(Number(i.toString()))}fetchPolicyWithAllIncludedPolicies(t){const e=new Map;let i=[];for(i.push(t);0!==i.length;){const n=i.shift();if(e.has(n)){console.log("Policy {} creates a cycle in the included policies of the policy {}",n,t);continue}const s=this.getPerunPolicy(n);if(!s)return[];e.set(n,s),i=i.concat(s.includePolicies)}const n=[];for(const s of e.values())n.push(s);return n}getPerunPolicy(t){for(const e of this.perunPolicies)if(e.policyName===t)return e;return console.log("policy with name"+t+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.PERUNOBSERVER,Np.FACILITYADMIN,Np.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Np.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.VOADMIN)}isThisVoAdminOrObserver(t){return this.editableVos.includes(t)||this.observableVos.includes(t)||this.hasAtLeastOne(Np.PERUNADMIN,Np.PERUNOBSERVER)}isThisVoAdmin(t){return this.editableVos.includes(t)||this.principalRoles.has(Np.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Np.SPONSOR)}isThisGroupAdmin(t){return this.editableGroups.includes(t)||this.principalRoles.has(Np.PERUNADMIN)}isGroupAdminInThisVo(t){return this.hasGroupInTheseVos.includes(t)}isFacilityAdmin(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.FACILITYADMIN)}isThisFacilityAdmin(t){return this.editableFacilities.includes(t)||this.principalRoles.has(Np.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Np.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Np.PERUNADMIN,Np.VOOBSERVER,Np.PERUNOBSERVER)}isThisVoObserver(t){return this.hasAtLeastOne(Np.PERUNADMIN,Np.PERUNOBSERVER)||this.observableVos.includes(t)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((t,e)=>{this.authzSevice.getAllRolesManagementRules().subscribe(e=>{this.allRolesManagementRules=e,t()},t=>e(t))})}assignAvailableRoles(t,e){this.allRolesManagementRules.forEach(i=>{i.primaryObject===e&&t.push(i.roleName)}),t.sort(),"Vo"===e&&this.voCustomSort(t)}isManagerPagePrivileged(t){const e=[];let i=t.beanName;i.startsWith("Rich")&&(i=i.substr(4)),this.assignAvailableRoles(e,i);const n=new Map;this.getRolesAuthorization(e,t,n);for(const s of n.values())if(s.readAuth||s.manageAuth)return!0;return!1}getRolesAuthorization(t,e,i){for(const n of t){let t=[],s=[],r=[];for(const e of this.allRolesManagementRules)if(e.roleName===n){t=t.concat(e.privilegedRolesToRead),s=s.concat(e.privilegedRolesToManage);for(const t of Object.keys(e.entitiesToManage))r="User"===t?[t].concat(r):r.concat(t);break}const o=this.fetchAllRelatedObjects([e]),a=this.resolveAuthorization(t,o),c=this.resolveAuthorization(s,o);i.set(n,{readAuth:a,manageAuth:c,modes:r})}}voCustomSort(t){for(let e=0;e{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function Up(...t){return Y(1)(Nd(...t))}const Kp=new b(t=>t.complete());function Vp(t){return t?function(t){return new b(e=>t.schedule(()=>e.complete()))}(t):Kp}function Xp(t){return new b(e=>{let i;try{i=t()}catch(n){return void e.error(n)}return(i?F(i):Vp()).subscribe(e)})}function Gp(t,e){return"function"==typeof e?i=>i.pipe(Gp((i,n)=>F(t(i,n)).pipe(P((t,s)=>e(i,t,n,s))))):e=>e.lift(new $p(t))}class $p{constructor(t){this.project=t}call(t,e){return e.subscribe(new Jp(t,this.project))}}class Jp extends D{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const s=new S(this,e,i),r=this.destination;r.add(s),this.innerSubscription=O(this,t,void 0,void 0,s),this.innerSubscription!==s&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}const Qp=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Zp(t){return e=>0===t?Vp():e.lift(new tf(t))}class tf{constructor(t){if(this.total=t,this.total<0)throw new Qp}call(t,e){return e.subscribe(new ef(t,this.total))}}class ef extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function nf(...t){const e=t[t.length-1];return k(e)?(t.pop(),i=>Up(t,i,e)):e=>Up(t,e)}function sf(t,e){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new rf(t,e,i))}}class rf{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new of(t,this.accumulator,this.seed,this.hasSeed))}}class of extends f{constructor(t,e,i,n){super(t),this.accumulator=e,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}function af(t){return function(e){const i=new cf(t),n=e.lift(i);return i.caught=n}}class cf{constructor(t){this.selector=t}call(t,e){return e.subscribe(new uf(t,this.selector,this.caught))}}class uf extends D{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new S(this,void 0,void 0);this.add(n);const s=O(this,i,void 0,void 0,n);s!==n&&this.add(s)}}}function lf(t){return function(e){return 0===t?Vp():e.lift(new hf(t))}}class hf{constructor(t){if(this.total=t,this.total<0)throw new Qp}call(t,e){return e.subscribe(new df(t,this.total))}}class df extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,n=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;se.lift(new ff(t))}class ff{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new gf(t,this.errorFactory))}}class gf extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function mf(){return new Wp}function _f(t=null){return e=>e.lift(new bf(t))}class bf{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new yf(t,this.defaultValue))}}class yf extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function wf(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Bd((e,i)=>t(e,i,n)):_,Zp(1),i?_f(e):pf(()=>new Wp))}function Mf(){}function Af(t,e,i){return function(n){return n.lift(new vf(t,e,i))}}class vf{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new Tf(t,this.nextOrObserver,this.error,this.complete))}}class Tf extends f{constructor(t,e,i,s){super(t),this._tapNext=Mf,this._tapError=Mf,this._tapComplete=Mf,this._tapError=i||Mf,this._tapComplete=s||Mf,n(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Mf,this._tapError=e.error||Mf,this._tapComplete=e.complete||Mf)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function kf(t){return e=>e.lift(new Sf(t))}class Sf{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Cf(t,this.callback))}}class Cf extends f{constructor(t,e){super(t),this.add(new h(e))}}class Ef{constructor(t,e){this.id=t,this.url=e}}class Lf extends Ef{constructor(t,e,i="imperative",n=null){super(t,e),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zf extends Ef{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rf extends Ef{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xf extends Ef{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Of extends Ef{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Df extends Ef{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pf extends Ef{constructor(t,e,i,n,s){super(t,e),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Nf extends Ef{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class If extends Ef{constructor(t,e,i,n){super(t,e),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bf{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ff{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Hf{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qf{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jf{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yf{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wf{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Uf{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Kf(t){return new Uf(t)}function Vf(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Xf(t,e,i){const n=i.path.split("/");if(n.length>t.length)return null;if("full"===i.pathMatch&&(e.hasChildren()||n.lengthn[e]===t)}return t===e}function Jf(t){return Array.prototype.concat.apply([],t)}function Qf(t){return t.length>0?t[t.length-1]:null}function Zf(t,e){for(const i in t)t.hasOwnProperty(i)&&e(t[i],i)}function tg(t){return Yo(t)?t:qo(t)?F(Promise.resolve(t)):Nd(t)}const eg={exact:function t(e,i,n){if(!lg(e.segments,i.segments))return!1;if(!og(e.segments,i.segments,n))return!1;if(e.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children){if(!e.children[s])return!1;if(!t(e.children[s],i.children[s],n))return!1}return!0},subset:sg},ig={exact:function(t,e){return Gf(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>$f(t[i],e[i]))},ignored:()=>!0};function ng(t,e,i){return eg[i.paths](t.root,e.root,i.matrixParams)&&ig[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function sg(t,e,i){return rg(t,e,e.segments,i)}function rg(t,e,i,n){if(t.segments.length>i.length){const s=t.segments.slice(0,i.length);return!!lg(s,i)&&!e.hasChildren()&&!!og(s,i,n)}if(t.segments.length===i.length){if(!lg(t.segments,i))return!1;if(!og(t.segments,i,n))return!1;for(const i in e.children){if(!t.children[i])return!1;if(!sg(t.children[i],e.children[i],n))return!1}return!0}{const s=i.slice(0,t.segments.length),r=i.slice(t.segments.length);return!!lg(t.segments,s)&&!!og(t.segments,s,n)&&!!t.children.primary&&rg(t.children.primary,e,r,n)}}function og(t,e,i){return e.every((e,n)=>ig[i](t[n].parameters,e.parameters))}class ag{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kf(this.queryParams)),this._queryParamMap}toString(){return pg.serialize(this)}}class cg{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Zf(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fg(this)}}class ug{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Kf(this.parameters)),this._parameterMap}toString(){return Mg(this)}}function lg(t,e){return t.length===e.length&&t.every((t,i)=>t.path===e[i].path)}class hg{}class dg{parse(t){const e=new Sg(t);return new ag(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${gg(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(t=>`${_g(e)}=${_g(t)}`).join("&"):`${_g(e)}=${_g(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const pg=new dg;function fg(t){return t.segments.map(t=>Mg(t)).join("/")}function gg(t,e){if(!t.hasChildren())return fg(t);if(e){const e=t.children.primary?gg(t.children.primary,!1):"",i=[];return Zf(t.children,(t,e)=>{"primary"!==e&&i.push(`${e}:${gg(t,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(t,e){let i=[];return Zf(t.children,(t,n)=>{"primary"===n&&(i=i.concat(e(t,n)))}),Zf(t.children,(t,n)=>{"primary"!==n&&(i=i.concat(e(t,n)))}),i}(t,(e,i)=>"primary"===i?[gg(t.children.primary,!1)]:[`${i}:${gg(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${fg(t)}/${e[0]}`:`${fg(t)}/(${e.join("//")})`}}function mg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _g(t){return mg(t).replace(/%3B/gi,";")}function bg(t){return mg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yg(t){return decodeURIComponent(t)}function wg(t){return yg(t.replace(/\+/g,"%20"))}function Mg(t){return`${bg(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${bg(t)}=${bg(e[t])}`).join("")}`;var e}const Ag=/^[^\/()?;=#]+/;function vg(t){const e=t.match(Ag);return e?e[0]:""}const Tg=/^[^=?&#]+/,kg=/^[^?&#]+/;class Sg{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new cg([],{}):new cg([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i.primary=new cg(t,e)),i}parseSegment(){const t=vg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ug(yg(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=vg(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=vg(this.remaining);t&&(i=t,this.capture(i))}t[yg(e)]=yg(i)}parseQueryParam(t){const e=function(t){const e=t.match(Tg);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(kg);return e?e[0]:""}(this.remaining);t&&(i=t,this.capture(i))}const n=wg(e),s=wg(i);if(t.hasOwnProperty(n)){let e=t[n];Array.isArray(e)||(e=[e],t[n]=e),e.push(s)}else t[n]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=vg(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new cg([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Cg{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Eg(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Eg(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Lg(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Lg(t,this._root).map(t=>t.value)}}function Eg(t,e){if(t===e.value)return e;for(const i of e.children){const e=Eg(t,i);if(e)return e}return null}function Lg(t,e){if(t===e.value)return[e];for(const i of e.children){const n=Lg(t,i);if(n.length)return n.unshift(e),n}return[]}class zg{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Rg(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class xg extends Cg{constructor(t,e){super(t),this.snapshot=e,Bg(this,t)}toString(){return this.snapshot.toString()}}function Og(t,e){const i=function(t,e){const i=new Ng([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Ig("",new zg(i,[]))}(t,e),n=new Fp([new ug("",{})]),s=new Fp({}),r=new Fp({}),o=new Fp({}),a=new Fp(""),c=new Dg(n,s,o,a,r,"primary",e,i.root);return c.snapshot=i.root,new xg(new zg(c,[]),i)}class Dg{constructor(t,e,i,n,s,r,o,a){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}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(P(t=>Kf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(P(t=>Kf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Pg(t,e="emptyOnly"){const i=t.pathFromRoot;let n=0;if("always"!==e)for(n=i.length-1;n>=1;){const t=i[n],e=i[n-1];if(t.routeConfig&&""===t.routeConfig.path)n--;else{if(e.component)break;n--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class Ng{constructor(t,e,i,n,s,r,o,a,c,u,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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=Kf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Kf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ig extends Cg{constructor(t,e){super(e),this.url=t,Bg(this,e)}toString(){return Fg(this._root)}}function Bg(t,e){e.value._routerState=t,e.children.forEach(e=>Bg(t,e))}function Fg(t){const e=t.children.length>0?` { ${t.children.map(Fg).join(", ")} } `:"";return`${t.value}${e}`}function Hg(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Gf(e.queryParams,i.queryParams)||t.queryParams.next(i.queryParams),e.fragment!==i.fragment&&t.fragment.next(i.fragment),Gf(e.params,i.params)||t.params.next(i.params),function(t,e){if(t.length!==e.length)return!1;for(let i=0;iGf(t.parameters,n[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||qg(t.parent,e.parent))}function jg(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=e.value;const s=function(t,e,i){return e.children.map(e=>{for(const n of i.children)if(t.shouldReuseRoute(e.value,n.value.snapshot))return jg(t,e,n);return jg(t,e)})}(t,e,i);return new zg(n,s)}{if(t.shouldAttach(e.value)){const i=t.retrieve(e.value);if(null!==i){const t=i.route;return Yg(e,t),t}}const i=new Dg(new Fp((n=e.value).url),new Fp(n.params),new Fp(n.queryParams),new Fp(n.fragment),new Fp(n.data),n.outlet,n.component,n),s=e.children.map(e=>jg(t,e));return new zg(i,s)}var n}function Yg(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let i=0;i{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new ag(i.root===t?e:Vg(i.root,t,e),r,s)}function Vg(t,e,i){const n={};return Zf(t.children,(t,s)=>{n[s]=t===e?i:Vg(t,e,i)}),new cg(t.segments,n)}class Xg{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Wg(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(Ug);if(n&&n!==Qf(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Gg{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function $g(t,e,i){if(t||(t=new cg([],{})),0===t.segments.length&&t.hasChildren())return Jg(t,e,i);const n=function(t,e,i){let n=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return r;const e=t.segments[s],o=i[n];if(Ug(o))break;const a=`${o}`,c=n0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!em(a,c,e))return r;n+=2}else{if(!em(a,{},e))return r;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(t,e,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(s[n]=$g(t.children[n],e,i))}),Zf(t.children,(t,e)=>{void 0===n[e]&&(s[e]=t)}),new cg(t.segments,s)}}function Qg(t,e,i){const n=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=Qg(new cg([],{}),0,t))}),e}function tm(t){const e={};return Zf(t,(t,i)=>e[i]=`${t}`),e}function em(t,e,i){return t==i.path&&Gf(e,i.parameters)}class im{constructor(t,e,i,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=n}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),Hg(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const n=Rg(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,n[e],i),delete n[e]}),Zf(n,(t,e)=>{this.deactivateRouteAndItsChildren(t,i)})}deactivateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet);if(i&&i.outlet){const e=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:n})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),n=i&&t.value.component?i.children:e,s=Rg(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],n);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const n=Rg(e);t.children.forEach(t=>{this.activateRoutes(t,n[t.value.outlet],i),this.forwardEvent(new Yf(t.value.snapshot))}),t.children.length&&this.forwardEvent(new qf(t.value.snapshot))}activateRoutes(t,e,i){const n=t.value,s=e?e.value:null;if(Hg(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(n.component){const e=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const t=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),nm(t.route)}else{const i=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;e.attachRef=null,e.route=n,e.resolver=s,e.outlet&&e.outlet.activateWith(n,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,i)}}function nm(t){Hg(t.value),t.children.forEach(nm)}class sm{constructor(t,e){this.routes=t,this.module=e}}function rm(t){return"function"==typeof t}function om(t){return t instanceof ag}const am=Symbol("INITIAL_VALUE");function cm(){return Gp(t=>qp(t.map(t=>t.pipe(Zp(1),nf(am)))).pipe(sf((t,e)=>{let i=!1;return e.reduce((t,n,s)=>{if(t!==am)return t;if(n===am&&(i=!0),!i){if(!1===n)return n;if(s===e.length-1||om(n))return n}return t},t)},am),Bd(t=>t!==am),P(t=>om(t)?t:!0===t),Zp(1)))}let um=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:function(){return[o_]},encapsulation:2}),t})();function lm(t,e=""){for(let i=0;ifm(t)===e);return i.push(...t.filter(t=>fm(t)!==e)),i}const mm={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function _m(t,e,i){var n;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?Object.assign({},mm):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||Xf)(i,t,e);if(!s)return Object.assign({},mm);const r={};Zf(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(n=s.posParams)&&void 0!==n?n:{}}}function bm(t,e,i,n,s="corrected"){if(i.length>0&&function(t,e,i){return i.some(i=>ym(t,e,i)&&"primary"!==fm(i))}(t,i,n)){const s=new cg(e,function(t,e,i,n){const s={};s.primary=n,n._sourceSegment=t,n._segmentIndexShift=e.length;for(const r of i)if(""===r.path&&"primary"!==fm(r)){const i=new cg([],{});i._sourceSegment=t,i._segmentIndexShift=e.length,s[fm(r)]=i}return s}(t,e,n,new cg(i,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(t,e,i){return i.some(i=>ym(t,e,i))}(t,i,n)){const r=new cg(t.segments,function(t,e,i,n,s,r){const o={};for(const a of n)if(ym(t,i,a)&&!s[fm(a)]){const i=new cg([],{});i._sourceSegment=t,i._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[fm(a)]=i}return Object.assign(Object.assign({},s),o)}(t,e,i,n,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:i}}const r=new cg(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:i}}function ym(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}function wm(t,e,i,n){return!!(fm(t)===n||"primary"!==n&&ym(e,i,t))&&("**"===t.path||_m(e,t,i).matched)}function Mm(t,e,i){return 0===e.length&&!t.children[i]}class Am{constructor(t){this.segmentGroup=t||null}}class vm{constructor(t){this.urlTree=t}}function Tm(t){return new b(e=>e.error(new Am(t)))}function km(t){return new b(e=>e.error(new vm(t)))}function Sm(t){return new b(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Cm{constructor(t,e,i,n,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=n,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Oc)}apply(){const t=bm(this.urlTree.root,[],[],this.config).segmentGroup,e=new cg(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe(P(t=>this.createUrlTree(Em(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(af(t=>{if(t instanceof vm)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Am)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(P(e=>this.createUrlTree(Em(e),t.queryParams,t.fragment))).pipe(af(t=>{if(t instanceof Am)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const n=t.segments.length>0?new cg([],{primary:t}):t;return new ag(n,e,i)}expandSegmentGroup(t,e,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(P(t=>new cg([],t))):this.expandSegment(t,i,e,i.segments,n,!0)}expandChildren(t,e,i){const n=[];for(const s of Object.keys(i.children))"primary"===s?n.unshift(s):n.push(s);return F(n).pipe(Id(n=>{const s=i.children[n],r=gm(e,n);return this.expandSegmentGroup(t,r,s,n).pipe(P(t=>({segment:t,outlet:n})))}),sf((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const i=arguments.length>=2;return n=>n.pipe(t?Bd((e,i)=>t(e,i,n)):_,lf(1),i?_f(e):pf(()=>new Wp))}())}expandSegment(t,e,i,n,s,r){return F(i).pipe(Id(o=>this.expandSegmentAgainstRoute(t,e,i,o,n,s,r).pipe(af(t=>{if(t instanceof Am)return Nd(null);throw t}))),wf(t=>!!t),af((t,i)=>{if(t instanceof Wp||"EmptyError"===t.name){if(Mm(e,n,s))return Nd(new cg([],{}));throw new Am(e)}throw t}))}expandSegmentAgainstRoute(t,e,i,n,s,r,o){return wm(n,e,s,r)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,e,n,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r):Tm(e):Tm(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,n,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?km(s):this.lineralizeSegments(i,s).pipe(H(i=>{const s=new cg(i,{});return this.expandSegment(t,s,e,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,n,s,r){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:u}=_m(e,n,s);if(!o)return Tm(e);const l=this.applyRedirectCommands(a,n.redirectTo,u);return n.redirectTo.startsWith("/")?km(l):this.lineralizeSegments(n,l).pipe(H(n=>this.expandSegment(t,e,i,n.concat(s.slice(c)),r,!1)))}matchSegmentAgainstRoute(t,e,i,n,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?Nd(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe(P(t=>(i._loadedConfig=t,new cg(n,{})))):Nd(new cg(n,{}));const{matched:r,consumedSegments:o,lastChild:a}=_m(e,i,n);if(!r)return Tm(e);const c=n.slice(a);return this.getChildConfig(t,i,n).pipe(H(t=>{const n=t.module,r=t.routes,{segmentGroup:a,slicedSegments:u}=bm(e,o,c,r),l=new cg(a.segments,a.children);if(0===u.length&&l.hasChildren())return this.expandChildren(n,r,l).pipe(P(t=>new cg(o,t)));if(0===r.length&&0===u.length)return Nd(new cg(o,{}));const h=fm(i)===s;return this.expandSegment(n,l,r,u,h?"primary":s,!0).pipe(P(t=>new cg(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,i){return e.children?Nd(new sm(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Nd(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(H(i=>i?this.configLoader.load(t.injector,e).pipe(P(t=>(e._loadedConfig=t,t))):function(t){return new b(e=>e.error(Vf(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Nd(new sm([],t))}runCanLoadGuards(t,e,i){const n=e.canLoad;return n&&0!==n.length?Nd(n.map(n=>{const s=t.get(n);let r;if(function(t){return t&&rm(t.canLoad)}(s))r=s.canLoad(e,i);else{if(!rm(s))throw new Error("Invalid CanLoad guard");r=s(e,i)}return tg(r)})).pipe(cm(),Af(t=>{if(!om(t))return;const e=Vf(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),P(t=>!0===t)):Nd(!0)}lineralizeSegments(t,e){let i=[],n=e.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Nd(i);if(n.numberOfChildren>1||!n.children.primary)return Sm(t.redirectTo);n=n.children.primary}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,n){const s=this.createSegmentGroup(t,e.root,i,n);return new ag(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Zf(t,(t,n)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);i[n]=e[s]}else i[n]=t}),i}createSegmentGroup(t,e,i,n){const s=this.createSegments(t,e.segments,i,n);let r={};return Zf(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,i,n)}),new cg(s,r)}createSegments(t,e,i,n){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,n):this.findOrReturn(e,i))}findPosParam(t,e,i){const n=i[e.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return n}findOrReturn(t,e){let i=0;for(const n of e){if(n.path===t.path)return e.splice(i),n;i++}return t}}function Em(t){const e={};for(const i of Object.keys(t.children)){const n=Em(t.children[i]);(n.segments.length>0||n.hasChildren())&&(e[i]=n)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new cg(t.segments.concat(e.segments),e.children)}return t}(new cg(t.segments,e))}class Lm{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class zm{constructor(t,e){this.component=t,this.route=e}}function Rm(t,e,i){const n=t._root;return Om(n,e?e._root:null,i,[n.value])}function xm(t,e,i){const n=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(n?n.module.injector:i).get(t)}function Om(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Rg(e);return t.children.forEach(t=>{!function(t,e,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const c=function(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!lg(t.url,e.url);case"pathParamsOrQueryParamsChange":return!lg(t.url,e.url)||!Gf(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qg(t,e)||!Gf(t.queryParams,e.queryParams);case"paramsChange":default:return!qg(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Lm(n)):(r.data=o.data,r._resolvedData=o._resolvedData),Om(t,e,r.component?a?a.children:null:i,n,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new zm(a.outlet.component,o))}else o&&Dm(e,a,s),s.canActivateChecks.push(new Lm(n)),Om(t,null,r.component?a?a.children:null:i,n,s)}(t,r[t.value.outlet],i,n.concat([t.value]),s),delete r[t.value.outlet]}),Zf(r,(t,e)=>Dm(t,i.getContext(e),s)),s}function Dm(t,e,i){const n=Rg(t),s=t.value;Zf(n,(t,n)=>{Dm(t,s.component?e?e.children.getContext(n):null:e,i)}),i.canDeactivateChecks.push(new zm(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Pm{}function Nm(t){return new b(e=>e.error(t))}class Im{constructor(t,e,i,n,s,r){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=bm(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const i=new Ng([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new zg(i,e),s=new Ig(this.url,n);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,i=Pg(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const s of Object.keys(e.children)){const n=e.children[s],r=gm(t,s),o=this.processSegmentGroup(r,n,s);if(null===o)return null;i.push(...o)}const n=Fm(i);return n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,i,n){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,i,n);if(null!==t)return t}return Mm(e,i,n)?[]:null}processSegmentAgainstRoute(t,e,i,n){if(t.redirectTo||!wm(t,e,i,n))return null;let s,r=[],o=[];if("**"===t.path){const n=i.length>0?Qf(i).parameters:{};s=new Ng(i,n,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jm(t),fm(t),t.component,t,Hm(e),qm(e)+i.length,Ym(t))}else{const n=_m(e,t,i);if(!n.matched)return null;r=n.consumedSegments,o=i.slice(n.lastChild),s=new Ng(r,n.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jm(t),fm(t),t.component,t,Hm(e),qm(e)+r.length,Ym(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=bm(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return null===t?null:[new zg(s,t)]}if(0===a.length&&0===u.length)return[new zg(s,[])];const l=fm(t)===n,h=this.processSegment(a,c,u,l?"primary":n);return null===h?null:[new zg(s,h)]}}function Bm(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Fm(t){const e=[],i=new Set;for(const n of t){if(!Bm(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...n.children),i.add(t)):e.push(n)}for(const n of i){const t=Fm(n.children);e.push(new zg(n.value,t))}return e.filter(t=>!i.has(t))}function Hm(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function qm(t){let e=t,i=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,i+=e._segmentIndexShift?e._segmentIndexShift:0;return i-1}function jm(t){return t.data||{}}function Ym(t){return t.resolve||{}}function Wm(t){return Gp(e=>{const i=t(e);return i?F(i).pipe(P(()=>e)):Nd(e)})}class Um extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Km=new Ui("ROUTES");class Vm{constructor(t,e,i,n){this.loader=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=n}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe(P(i=>{this.onLoadEndListener&&this.onLoadEndListener(e);const n=i.create(t);return new sm(Jf(n.injector.get(Km,void 0,Mt.Self|Mt.Optional)).map(pm),n)}),af(t=>{throw e._loader$=void 0,t}));return e._loader$=new G(i,()=>new v).pipe(K()),e._loader$}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):tg(t()).pipe(H(t=>t instanceof Dc?Nd(t):F(this.compiler.compileModuleAsync(t))))}}class Xm{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Gm,this.attachRef=null}}class Gm{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Xm,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class $m{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Jm(t){throw t}function Qm(t,e,i){return e.parse("/")}function Zm(t,e){return Nd(null)}const t_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},e_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let i_=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=i,this.location=n,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new v,this.errorHandler=Jm,this.malformedUriErrorHandler=Qm,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zm,afterPreactivation:Zm},this.urlHandlingStrategy=new $m,this.routeReuseStrategy=new Um,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Oc),this.console=s.get(Iu);const c=s.get($u);this.isNgZoneEnabled=c instanceof $u&&$u.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new ag(new cg([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Vm(r,o,t=>this.triggerEvent(new Bf(t)),t=>this.triggerEvent(new Ff(t))),this.routerState=Og(this.currentUrlTree,this.rootComponentType),this.transitions=new Fp({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()}setupNavigations(t){const e=this.events;return t.pipe(Bd(t=>0!==t.id),P(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Gp(t=>{let i=!1,n=!1;return Nd(t).pipe(Af(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Gp(t=>{const i=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Nd(t).pipe(Gp(t=>{const i=this.transitions.getValue();return e.next(new Lf(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==this.transitions.getValue()?Kp:Promise.resolve(t)}),function(t,e,i,n){return Gp(s=>function(t,e,i,n,s){return new Cm(t,e,i,n,s).apply()}(t,e,i,s.extractedUrl,n).pipe(P(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Af(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,i,n,s){return H(r=>function(t,e,i,n,s="emptyOnly",r="legacy"){try{const o=new Im(t,e,i,n,s,r).recognize();return null===o?Nm(new Pm):Nd(o)}catch(o){return Nm(o)}}(t,e,r.urlAfterRedirects,i(r.urlAfterRedirects),n,s).pipe(P(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Af(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const i=new Of(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(i)}));if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:r,extras:o}=t,a=new Lf(i,this.serializeUrl(n),s,r);e.next(a);const c=Og(n,this.rootComponentType).snapshot;return Nd(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:n,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Kp}),Wm(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Af(t=>{const e=new Df(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),P(t=>Object.assign(Object.assign({},t),{guards:Rm(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return H(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return 0===o.length&&0===r.length?Nd(Object.assign(Object.assign({},i),{guardsResult:!0})):function(t,e,i,n){return F(t).pipe(H(t=>function(t,e,i,n,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?Nd(r.map(r=>{const o=xm(r,e,s);let a;if(function(t){return t&&rm(t.canDeactivate)}(o))a=tg(o.canDeactivate(t,e,i,n));else{if(!rm(o))throw new Error("Invalid CanDeactivate guard");a=tg(o(t,e,i,n))}return a.pipe(wf())})).pipe(cm()):Nd(!0)}(t.component,t.route,i,e,n)),wf(t=>!0!==t,!0))}(o,n,s,t).pipe(H(i=>i&&"boolean"==typeof i?function(t,e,i,n){return F(e).pipe(Id(e=>Up(function(t,e){return null!==t&&e&&e(new Hf(t)),Nd(!0)}(e.route.parent,n),function(t,e){return null!==t&&e&&e(new jf(t)),Nd(!0)}(e.route,n),function(t,e,i){const n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Xp(()=>Nd(e.guards.map(s=>{const r=xm(s,e.node,i);let o;if(function(t){return t&&rm(t.canActivateChild)}(r))o=tg(r.canActivateChild(n,t));else{if(!rm(r))throw new Error("Invalid CanActivateChild guard");o=tg(r(n,t))}return o.pipe(wf())})).pipe(cm())));return Nd(s).pipe(cm())}(t,e.path,i),function(t,e,i){const n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?Nd(n.map(n=>Xp(()=>{const s=xm(n,e,i);let r;if(function(t){return t&&rm(t.canActivate)}(s))r=tg(s.canActivate(e,t));else{if(!rm(s))throw new Error("Invalid CanActivate guard");r=tg(s(e,t))}return r.pipe(wf())}))).pipe(cm()):Nd(!0)}(t,e.route,i))),wf(t=>!0!==t,!0))}(n,r,t,e):Nd(i)),P(t=>Object.assign(Object.assign({},i),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Af(t=>{if(om(t.guardsResult)){const e=Vf(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Pf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Bd(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),Wm(t=>{if(t.guards.canActivateChecks.length)return Nd(t).pipe(Af(t=>{const e=new Nf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Gp(t=>{let e=!1;return Nd(t).pipe((i=this.paramsInheritanceStrategy,n=this.ngModule.injector,H(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return Nd(t);let r=0;return F(s).pipe(Id(t=>function(t,e,i,n){return function(t,e,i,n){const s=Object.keys(t);if(0===s.length)return Nd({});const r={};return F(s).pipe(H(s=>function(t,e,i,n){const s=xm(t,e,n);return tg(s.resolve?s.resolve(e,i):s(e,i))}(t[s],e,i,n).pipe(Af(t=>{r[s]=t}))),lf(1),H(()=>Object.keys(r).length===s.length?Nd(r):Kp))}(t._resolve,t,e,n).pipe(P(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Pg(t,i).resolve),null)))}(t.route,e,i,n)),Af(()=>r++),lf(1),H(e=>r===s.length?Nd(t):Kp))})),Af({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var i,n}),Af(t=>{const e=new If(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Wm(t=>{const{targetSnapshot:e,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),P(t=>{const e=function(t,e,i){const n=jg(t,e._root,i?i._root:void 0);return new xg(n,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Af(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,r=this.routeReuseStrategy,o=t=>this.triggerEvent(t),P(t=>(new im(r,t.targetRouterState,t.currentRouterState,o).activate(s),t))),Af({next(){i=!0},complete(){i=!0}}),kf(()=>{i||n||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),af(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=om(i.url);n||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Rf(t.id,this.serializeUrl(t.extractedUrl),i.message);e.next(s),n?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const n=new xf(t.id,this.serializeUrl(t.extractedUrl),i);e.next(n);try{t.resolve(this.errorHandler(i))}catch(r){t.reject(r)}}var s;return Kp}));var s,r,o}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:i,urlTree:n}=e,s={replaceUrl:!0};if(i){const t=Object.assign({},i);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(n,t,i,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const i=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&i&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){lm(t),this.config=t.map(pm),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(t,e={}){const{relativeTo:i,queryParams:n,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=i||this.routerState.root,c=o?this.currentUrlTree.fragment:s;let u=null;switch(r){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=n||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,i,n,s){if(0===i.length)return Kg(e.root,e.root,e,n,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Xg(!0,0,t);let e=0,i=!1;const n=t.reduce((t,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const e={};return Zf(n.outlets,(t,i)=>{e[i]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(n.segmentPath)return[...t,n.segmentPath]}return"string"!=typeof n?[...t,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[...t,n]},[]);return new Xg(i,e,n)}(i);if(r.toRoot())return Kg(e.root,new cg([],{}),e,n,s);const o=function(t,e,i){if(t.isAbsolute)return new Gg(e.root,!0,0);if(-1===i.snapshot._lastPathIndex){const t=i.snapshot._urlSegment;return new Gg(t,t===e.root,0)}const n=Wg(t.commands[0])?0:1;return function(t,e,i){let n=t,s=e,r=i;for(;r>s;){if(r-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new Gg(n,!1,s-r)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?Jg(o.segmentGroup,o.index,r.commands):$g(o.segmentGroup,o.index,r.commands);return Kg(o.segmentGroup,a,e,n,s)}(a,this.currentUrlTree,t,u,null!=c?c:null)}navigateByUrl(t,e={skipLocationChange:!1}){const i=om(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(n,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const n=t[i];return null!=n&&(e[i]=n),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new zf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,i,n,s){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let c,u,l;s?(c=s.resolve,u=s.reject,l=s.promise):l=new Promise((t,e)=>{c=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:n,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const i=this.urlSerializer.serialize(t),n=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(i)||e.extras.replaceUrl?this.location.replaceState(i,"",n):this.location.go(i,"",n)}resetStateAndUrl(t,e,i){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const i=new Rf(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(i),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(un(Vi),un(hg),un(Gm),un(Wl),un(lo),un(yl),un(Vu),un(void 0))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),n_=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new v,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:r_(this.skipLocationChange),replaceUrl:r_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:r_(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(i_),Ro(Dg),Yi("tabindex"),Ro(ec),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Wo("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ae]}),t})(),s_=(()=>{class t{constructor(t,e,i){this.router=t,this.route=e,this.locationStrategy=i,this.commands=[],this.onChanges=new v,this.subscription=t.events.subscribe(t=>{t instanceof zf&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,i,n,s){if(0!==t||e||i||n||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:r_(this.skipLocationChange),replaceUrl:r_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:r_(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(i_),Ro(Dg),Ro(Fl))},t.\u0275dir=Gt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Wo("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(Ea("href",e.href,ts),So("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ae]}),t})();function r_(t){return""===t||!!t}let o_=(()=>{class t{constructor(t,e,i,n,s){this.parentContexts=t,this.location=e,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new lu,this.deactivateEvents=new lu,this.name=n||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const i=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new a_(t,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Gm),Ro(Nc),Ro(Xa),Yi("name"),Ro(Tc))},t.\u0275dir=Gt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class a_{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Dg?this.route:t===Gm?this.childContexts:this.parent.get(t,e)}}class c_{}class u_{preload(t,e){return e().pipe(af(()=>Nd(null)))}}class l_{preload(t,e){return Nd(null)}}let h_=(()=>{class t{constructor(t,e,i,n,s){this.router=t,this.injector=n,this.preloadingStrategy=s,this.loader=new Vm(e,i,e=>t.triggerEvent(new Bf(e)),e=>t.triggerEvent(new Ff(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Bd(t=>t instanceof zf),Id(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Oc);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const i=[];for(const n of e)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const t=n._loadedConfig;i.push(this.processRoutes(t.module,t.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(t,n)):n.children&&i.push(this.processRoutes(t,n.children));return F(i).pipe(Y(),P(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Nd(e._loadedConfig):this.loader.load(t.injector,e)).pipe(H(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(un(i_),un(yl),un(Vu),un(lo),un(c_))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),d_=(()=>{class t{constructor(t,e,i={}){this.router=t,this.viewportScroller=e,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof Lf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof zf&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Wf&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Wf(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(un(i_),un(Jh),un(void 0))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const p_=new Ui("ROUTER_CONFIGURATION"),f_=new Ui("ROUTER_FORROOT_GUARD"),g_=[Wl,{provide:hg,useClass:dg},{provide:i_,useFactory:function(t,e,i,n,s,r,o,a={},c,u){const l=new i_(null,t,e,i,n,s,r,Jf(o));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,l),a.enableTracing&&l.events.subscribe(t=>{var e,i;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(i=console.groupEnd)||void 0===i||i.call(console)}),l},deps:[hg,Gm,Wl,lo,yl,Vu,Km,p_,[class{},new fn],[class{},new fn]]},Gm,{provide:Dg,useFactory:function(t){return t.routerState.root},deps:[i_]},{provide:yl,useClass:Al},h_,l_,u_,{provide:p_,useValue:{enableTracing:!1}}];function m_(){return new dl("Router",i_)}let __=(()=>{class t{constructor(t,e){}static forRoot(e,i){return{ngModule:t,providers:[g_,M_(e),{provide:f_,useFactory:w_,deps:[[i_,new fn,new gn]]},{provide:p_,useValue:i||{}},{provide:Fl,useFactory:y_,deps:[zl,[new pn(ql),new fn],p_]},{provide:d_,useFactory:b_,deps:[i_,Jh,p_]},{provide:c_,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:l_},{provide:dl,multi:!0,useFactory:m_},[A_,{provide:Lu,multi:!0,useFactory:v_,deps:[A_]},{provide:k_,useFactory:T_,deps:[A_]},{provide:Nu,multi:!0,useExisting:k_}]]}}static forChild(e){return{ngModule:t,providers:[M_(e)]}}}return t.\u0275fac=function(e){return new(e||t)(un(f_,8),un(i_,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();function b_(t,e,i){return i.scrollOffset&&e.setOffset(i.scrollOffset),new d_(t,e,i)}function y_(t,e,i={}){return i.useHash?new Yl(t,e):new jl(t,e)}function w_(t){return"guarded"}function M_(t){return[{provide:Ki,multi:!0,useValue:t},{provide:Km,multi:!0,useValue:t}]}let A_=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new v}appInitializer(){return this.injector.get(xl,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),i=this.injector.get(i_),n=this.injector.get(p_);return"disabled"===n.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===n.initialNavigation||"enabledBlocking"===n.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?Nd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),i.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(p_),i=this.injector.get(h_),n=this.injector.get(d_),s=this.injector.get(i_),r=this.injector.get(_l);t===r.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),i.setUpPreloading(),n.init(),s.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(un(lo))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function v_(t){return t.appInitializer.bind(t)}function T_(t){return t.bootstrapListener.bind(t)}const k_=new Ui("Router Initializer");function S_(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class C_ extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class E_ extends C_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,n=!1;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let L_=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class z_ extends L_{constructor(t,e=L_.now){super(t,()=>z_.delegate&&z_.delegate!==this?z_.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return z_.delegate&&z_.delegate!==this?z_.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const R_=new z_(E_);function x_(t,e=R_){return i=>i.lift(new O_(t,e))}class O_{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new D_(t,this.dueTime,this.scheduler))}}class D_ extends f{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(P_,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function P_(t){t.debouncedNext()}function N_(t){return null!=t&&"false"!=`${t}`}function I_(t,e=0){return B_(t)?Number(t):e}function B_(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function F_(t){return Array.isArray(t)?t:[t]}function H_(t){return null==t?"":"string"==typeof t?t:`${t}px`}function q_(t){return t instanceof Qa?t.nativeElement:t}let j_;try{j_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(_j){j_=!1}let Y_,W_=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Gh(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&&!j_)&&"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 t.\u0275fac=function(e){return new(e||t)(un(Pu))},t.\u0275prov=dt({factory:function(){return new t(un(Pu))},token:t,providedIn:"root"}),t})(),U_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();const K_=["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(Y_)return Y_;if("object"!=typeof document||!document)return Y_=new Set(K_),Y_;let t=document.createElement("input");return Y_=new Set(K_.filter(e=>(t.setAttribute("type",e),t.type===e))),Y_}let X_,G_,$_,J_;function Q_(t){return function(){if(null==X_&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>X_=!0}))}finally{X_=X_||!1}return X_}()?t:!!t.capture}function Z_(){if(null==$_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $_=!1,$_;if("scrollBehavior"in document.documentElement.style)$_=!0;else{const t=Element.prototype.scrollTo;$_=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return $_}function tb(){if("object"!=typeof document||!document)return 0;if(null==G_){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),G_=0,0===t.scrollLeft&&(t.scrollLeft=1,G_=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return G_}function eb(t){if(function(){if(null==J_){const t="undefined"!=typeof document?document.head:null;J_=!(!t||!t.createShadowRoot&&!t.attachShadow)}return J_}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function ib(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}let nb=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),sb=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=q_(t);return new b(t=>{const i=this._observeElement(e).subscribe(t);return()=>{i.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new v,i=this._mutationObserverFactory.create(t=>e.next(t));i&&i.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:i,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:i}=this._observedElements.get(t);e&&e.disconnect(),i.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(un(nb))},t.\u0275prov=dt({factory:function(){return new t(un(nb))},token:t,providedIn:"root"}),t})(),rb=(()=>{class t{constructor(t,e,i){this._contentObserver=t,this._elementRef=e,this._ngZone=i,this.event=new lu,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=N_(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=I_(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(x_(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ro(sb),Ro(Qa),Ro($u))},t.\u0275dir=Gt({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),ob=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[nb]}),t})();function ab(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let cb=0;const ub=new Map;let lb=null,hb=(()=>{class t{constructor(t){this._document=t}describe(t,e,i){if(!this._canBeDescribed(t,e))return;const n=db(e,i);"string"!=typeof e?(pb(e),ub.set(n,{messageElement:e,referenceCount:0})):ub.has(n)||this._createMessageElement(e,i),this._isElementDescribedByMessage(t,n)||this._addMessageReference(t,n)}removeDescription(t,e,i){if(!e||!this._isElementNode(t))return;const n=db(e,i);if(this._isElementDescribedByMessage(t,n)&&this._removeMessageReference(t,n),"string"==typeof e){const t=ub.get(n);t&&0===t.referenceCount&&this._deleteMessageElement(n)}lb&&0===lb.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=ub.get(e);!function(t,e,i){const n=ab(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(t,e){const i=ub.get(e);i.referenceCount--,function(t,e,i){const n=ab(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const i=ab(t,"aria-describedby"),n=ub.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(Ll))},token:t,providedIn:"root"}),t})();function db(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function pb(t){t.id||(t.id="cdk-describedby-message-"+cb++)}class fb{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new v,this._typeaheadSubscription=h.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new v,this.change=new v,t instanceof du&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Af(t=>this._pressedLetters.push(t)),x_(t),Bd(()=>this._pressedLetters.length>0),P(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||S_(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof du?this._items.toArray():this._items}}class gb extends fb{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class mb extends fb{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let _b=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(_j){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){if(-1===yb(e))return!1;if(!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=yb(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||bb(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(un(W_))},t.\u0275prov=dt({factory:function(){return new t(un(W_))},token:t,providedIn:"root"}),t})();function bb(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function yb(t){if(!bb(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class wb{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let i=0;i=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Zp(1)).subscribe(t)}}let Mb=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new wb(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(un(_b),un($u),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(_b),un($u),un(Ll))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈const Ab=new Ui("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),vb=new Ui("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Tb=(()=>{class t{constructor(t,e,i,n){this._ngZone=e,this._defaultOptions=n,this._document=i,this._liveElement=t||this._createLiveElement()}announce(t,...e){const i=this._defaultOptions;let n,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[n,s]=e,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=kb(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{Sb(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=zb(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=zb(t),i="focus"===t.type?this._onFocus:this._onBlur;for(let n=e;n;n=n.parentElement)i.call(this,t,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){const i=q_(t);if(!this._platform.isBrowser||1!==i.nodeType)return Nd(null);const n=eb(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return e&&(s.checkChildren=!0),s.subject;const r={checkChildren:e,subject:new v,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=q_(t),i=this._elementInfo.get(e);i&&(i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(i))}focusVia(t,e,i){const n=q_(t);n===this._getDocument().activeElement?this._getClosestElementsInfo(n).forEach(([t,i])=>this._originChanged(t,e,i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=zb(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);i&&(i.checkChildren||e===zb(t))&&this._originChanged(e,this._getFocusOrigin(t),i)}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,i=this._rootNodeFocusListenerCount.get(e)||0;i||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Eb),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Eb)}),this._rootNodeFocusListenerCount.set(e,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Eb),t.addEventListener("mousedown",this._documentMousedownListener,Eb),t.addEventListener("touchstart",this._documentTouchstartListener,Eb),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Eb),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Eb),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Eb),t.removeEventListener("mousedown",this._documentMousedownListener,Eb),t.removeEventListener("touchstart",this._documentTouchstartListener,Eb),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,i){this._setClasses(t,e),this._emitOrigin(i.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((i,n)=>{(n===t||i.checkChildren&&n.contains(t))&&e.push([n,i])}),e}}return t.\u0275fac=function(e){return new(e||t)(un($u),un(W_),un(Ll,8),un(Cb,8))},t.\u0275prov=dt({factory:function(){return new t(un($u),un(W_),un(Ll,8),un(Cb,8))},token:t,providedIn:"root"}),t})();function zb(t){return t.composedPath?t.composedPath()[0]:t.target}let Rb=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,i=e&&e.getComputedStyle?e.getComputedStyle(t):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),n){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 t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(un(W_),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(W_),un(Ll))},token:t,providedIn:"root"}),t})(),xb=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(un(Rb))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[U_,ob]]}),t})();const Ob=new Ui("cdk-dir-doc",{providedIn:"root",factory:function(){return ln(Ll)}});let Db=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new lu,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(un(Ob,8))},t.\u0275prov=dt({factory:function(){return new t(un(Ob,8))},token:t,providedIn:"root"}),t})(),Pb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();const Nb=new sc("12.0.5");class Ib{}function Bb(t,e){return{type:7,name:t,definitions:e,options:{}}}function Fb(t,e=null){return{type:4,styles:e,timings:t}}function Hb(t,e=null){return{type:3,steps:t,options:e}}function qb(t,e=null){return{type:2,steps:t,options:e}}function jb(t){return{type:6,styles:t,offset:null}}function Yb(t,e,i){return{type:0,name:t,styles:e,options:i}}function Wb(t){return{type:5,steps:t}}function Ub(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function Kb(t=null){return{type:9,options:t}}function Vb(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function Xb(t){Promise.resolve(null).then(t)}class Gb{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Xb(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class $b{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?Xb(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Jb(){return"undefined"!=typeof window&&void 0!==window.document}function Qb(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Zb(t){switch(t.length){case 0:return new Gb;case 1:return t[0];default:return new $b(t)}}function ty(t,e,i,n,s={},r={}){const o=[],a=[];let c=-1,u=null;if(n.forEach(t=>{const i=t.offset,n=i==c,l=n&&u||{};Object.keys(t).forEach(i=>{let n=i,a=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,o),a){case"!":a=s[i];break;case"*":a=r[i];break;default:a=e.normalizeStyleValue(i,n,a,o)}l[n]=a}),n||a.push(l),u=l,c=i}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function ey(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&iy(i,"start",t)));break;case"done":t.onDone(()=>n(i&&iy(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&iy(i,"destroy",t)))}}function iy(t,e,i){const n=i.totalTime,s=ny(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),r=t._data;return null!=r&&(s._data=r),s}function ny(t,e,i,n,s="",r=0,o){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function sy(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function ry(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let oy=(t,e)=>!1,ay=(t,e)=>!1,cy=(t,e,i)=>[];const uy=Qb();(uy||"undefined"!=typeof Element)&&(oy=Jb()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),ay=(()=>{if(uy||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):ay}})(),cy=(t,e,i)=>{let n=[];if(i){const i=t.querySelectorAll(e);for(let t=0;t{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let _y=(()=>{class t{validateStyleProperty(t){return dy(t)}matchesElement(t,e){return py(t,e)}containsElement(t,e){return fy(t,e)}query(t,e,i){return gy(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],o){return new Gb(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),by=(()=>{class t{}return t.NOOP=new _y,t})();function yy(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:wy(parseFloat(e[1]),e[2])}function wy(t,e){switch(e){case"s":return 1e3*t;default:return t}}function My(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,r="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=wy(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(s=wy(parseFloat(o),i[4]));const a=i[5];a&&(r=a)}else n=t;if(!i){let i=!1,r=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:r}}(t,e,i)}function Ay(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function vy(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else Ay(t,i);return i}function Ty(t,e,i){return i?e+":"+i+";":""}function ky(t){let e="";for(let i=0;i{const s=Dy(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),Qb()&&ky(t))}function Cy(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=Dy(e);t.style[i]=""}),Qb()&&ky(t))}function Ey(t){return Array.isArray(t)?1==t.length?t[0]:qb(t):t}const Ly=new RegExp("{{\\s*(.+?)\\s*}}","g");function zy(t){let e=[];if("string"==typeof t){let i;for(;i=Ly.exec(t);)e.push(i[1]);Ly.lastIndex=0}return e}function Ry(t,e,i){const n=t.toString(),s=n.replace(Ly,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function xy(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const Oy=/-+([a-z0-9])/g;function Dy(t){return t.replace(Oy,(...t)=>t[1].toUpperCase())}function Py(t,e){return 0===t||0===e}function Ny(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let r=e[0],o=[];if(n.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=i[t]}),o.length)for(var s=1;sfunction(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],r=n[2],o=n[3];e.push(jy(s,o)),"<"!=r[0]||"*"==s&&"*"==o||e.push(jy(o,s))}(t,i,e)):i.push(t),i}const Hy=new Set(["true","1"]),qy=new Set(["false","0"]);function jy(t,e){const i=Hy.has(t)||qy.has(t),n=Hy.has(e)||qy.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&i&&"boolean"==typeof s&&(o=s?Hy.has(t):qy.has(t)),!a&&n&&"boolean"==typeof r&&(a=r?Hy.has(e):qy.has(e)),o&&a}}const Yy=new RegExp("s*:selfs*,?","g");function Wy(t,e,i){return new Uy(t).build(e,i)}class Uy{constructor(t){this._driver=t}build(t,e){const i=new Ky(e);return this._resetContextStyleTimingState(i),Iy(this,Ey(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=n||{};if(i.styles.forEach(t=>{if(Vy(t)){const e=t;Object.keys(e).forEach(t=>{zy(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=xy(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Iy(this,Ey(t.animation),e);return{type:1,matchers:Fy(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Xy(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Iy(this,t,e)),options:Xy(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Iy(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:Xy(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return Gy(My(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Gy(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||My(n,e),Gy(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:jb({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};i.easing&&(t.easing=i.easing),s=jb(t)}e.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,e);o.isEmptyStep=r,n=o}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(Vy(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[i];let a=!0;o&&(s!=n&&s>=o.startTime&&n<=o.endTime&&(e.errors.push(`The CSS property "${i}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${n}ms"`),a=!1),s=o.startTime),a&&(r[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=zy(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let r=!1,o=!1,a=0;const c=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Vy(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Vy(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),u=0;return null!=c&&(n++,u=i.offset=c),o=o||u<0||u>1,r=r||u0&&n{const r=l>0?n==h?1:l*n:s[n],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Iy(this,Ey(t.animation),e),options:Xy(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Xy(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Xy(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Yy,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,sy(e.collectedStyles,e.currentQuerySelector,{});const o=Iy(this,Ey(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:Xy(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:My(t.timings,e.errors,!0);return{type:12,animation:Iy(this,Ey(t.animation),e),timings:i,options:null}}}class Ky{constructor(t){this.errors=t,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 Vy(t){return!Array.isArray(t)&&"object"==typeof t}function Xy(t){var e;return t?(t=Ay(t)).params&&(t.params=(e=t.params)?Ay(e):null):t={},t}function Gy(t,e,i){return{duration:t,delay:e,easing:i}}function $y(t,e,i,n,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class Jy{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Qy=new RegExp(":enter","g"),Zy=new RegExp(":leave","g");function tw(t,e,i,n,s,r={},o={},a,c,u=[]){return(new ew).buildKeyframes(t,e,i,n,s,r,o,a,c,u)}class ew{buildKeyframes(t,e,i,n,s,r,o,a,c,u=[]){c=c||new Jy;const l=new nw(t,e,c,n,s,u,[]);l.options=a,l.currentTimeline.setStyles([r],null,l.errors,a),Iy(this,i,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,l.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[$y(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?yy(i.duration):null,r=null!=i.delay?yy(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,r);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Iy(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=iw);const t=yy(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Iy(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?yy(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Iy(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return My(e.params?Ry(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,r=e.createSubContext().currentTimeline;r.easing=i.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?yy(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=iw);let r=i;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((i,n)=>{e.currentQueryIndex=n;const o=e.createSubContext(t.options,i);s&&o.delayNextStep(s),i===e.element&&(a=o.currentTimeline),Iy(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=i.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;Iy(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-u+(n.startTime-i.currentTimeline.startTime)}}const iw={};class nw{constructor(t,e,i,n,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=iw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new sw(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=yy(i.duration)),null!=i.delay&&(n.delay=yy(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=Ry(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new nw(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=iw,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new rw(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,r){let o=[];if(n&&o.push(this.element),t.length>0){t=(t=t.replace(Qy,"."+this._enterClassName)).replace(Zy,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class sw{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new sw(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},r=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]="*"})):vy(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=Ry(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const o=vy(s,!0);Object.keys(o).forEach(i=>{const n=o[i];"!"==n?t.add(i):"*"==n&&e.add(i)}),i||(o.offset=r/this.duration),n.push(o)});const s=t.size?xy(t.values()):[],r=e.size?xy(e.values()):[];if(i){const t=n[0],e=Ay(t);t.offset=0,e.offset=1,n=[t,e]}return $y(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class rw extends sw{constructor(t,e,i,n,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=i+e,o=e/r,a=vy(t[0],!1);a.offset=0,s.push(a);const c=vy(t[0],!1);c.offset=ow(o),s.push(c);const u=t.length-1;for(let n=1;n<=u;n++){let o=vy(t[n],!1);o.offset=ow((e+o.offset*i)/r),s.push(o)}i=r,e=0,n="",t=s}return $y(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function ow(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class aw{}class cw extends aw{normalizePropertyName(t,e){return Dy(t)}normalizeStyleValue(t,e,i,n){let s="";const r=i.toString().trim();if(uw[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return r+s}}const uw=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 lw(t,e,i,n,s,r,o,a,c,u,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}const hw={};class dw{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],r=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):r}build(t,e,i,n,s,r,o,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||hw,d=this.buildStyles(i,o&&o.params||hw,l),p=a&&a.params||hw,f=this.buildStyles(n,p,l),g=new Set,m=new Map,_=new Map,b="void"===n,y={params:Object.assign(Object.assign({},h),p)},w=u?[]:tw(t,e,this.ast.animation,s,r,d,f,y,c,l);let M=0;if(w.forEach(t=>{M=Math.max(t.duration+t.delay,M)}),l.length)return lw(e,this._triggerName,i,n,b,d,f,[],[],m,_,M,l);w.forEach(t=>{const i=t.element,n=sy(m,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=sy(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&g.add(i)});const A=xy(g.values());return lw(e,this._triggerName,i,n,b,d,f,w,A,m,_,M)}}class pw{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=Ay(this.defaultParams);return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=Ry(r,n,e)),i[t]=r})}}),i}}class fw{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new pw(t.style,t.options&&t.options.params||{})}),gw(this.states,"true","1"),gw(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new dw(t,e,this.states))}),this.fallbackTransition=new dw(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function gw(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const mw=new Jy;class _w{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=Wy(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=ty(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let r;const o=new Map;if(s?(r=tw(this._driver,e,s,"ng-enter","ng-leave",{},{},i,mw,n),r.forEach(t=>{const e=sy(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,"*")})});const a=Zb(r.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=ny(e,"","","");return ey(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t)}}}const bw=[],yw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ww={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Mw{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=Ay(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const Aw=new Mw("void");class vw{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,zw(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const r=sy(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};r.push(o);const a=sy(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(zw(t,"ng-trigger"),zw(t,"ng-trigger-"+e),a[e]=Aw),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),r=new kw(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(zw(t,"ng-trigger"),zw(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new Mw(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=Aw),"void"!==c.value&&a.value===c.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s{Cy(t,i),Sy(t,n)})}return}const u=sy(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!n)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:r,isFallbackTransition:h}),h||(zw(t,"ng-animate-queued"),r.onStart(()=>{Rw(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(r);t>=0&&i.splice(t,1)}}),this.players.push(r),u.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Zb(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const r=this._triggers[s].fallbackTransition,o=i[s]||Aw,a=new Mw("void"),c=new kw(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==yw||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){zw(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==i.triggerName){const n=ny(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,ey(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Tw{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new vw(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),zw(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Rw(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(Sw(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return Sw(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Zb(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=yw,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;it()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Zb(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new Jy,n=[],s=new Map,r=[],o=new Map,a=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i{const i="ng-enter"+f++;p.set(e,i),t.forEach(t=>zw(t,i))});const g=[],m=new Set,_=new Set;for(let z=0;zm.add(t)):_.add(t))}const b=new Map,y=Lw(h,Array.from(m));y.forEach((t,e)=>{const i="ng-leave"+f++;b.set(e,i),t.forEach(t=>zw(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=p.get(e);t.forEach(t=>Rw(t,i))}),y.forEach((t,e)=>{const i=b.get(e);t.forEach(t=>Rw(t,i))}),g.forEach(t=>{this.processLeaveNode(t)})});const w=[],M=[];for(let z=this._namespaceList.length-1;z>=0;z--)this._namespaceList[z].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(w.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!l||!this.driver.containsElement(l,s),h=b.get(s),d=p.get(s),f=this._buildInstruction(t,i,d,h,u);if(f.errors&&f.errors.length)M.push(f);else{if(u)return e.onStart(()=>Cy(s,f.fromStyles)),e.onDestroy(()=>Sy(s,f.toStyles)),void n.push(e);if(t.isFallbackTransition)return e.onStart(()=>Cy(s,f.fromStyles)),e.onDestroy(()=>Sy(s,f.toStyles)),void n.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,f.timelines),r.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>sy(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=a.get(e);t||a.set(e,t=new Set),i.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=c.get(e);n||c.set(e,n=new Set),i.forEach(t=>n.add(t))})}});if(M.length){const t=[];M.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),w.forEach(t=>t.destroy()),this.reportError(t)}const A=new Map,v=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(v.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,A))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{sy(A,e,[]).push(t),t.destroy()})});const T=g.filter(t=>Dw(t,a,c)),k=new Map;Ew(k,this.driver,_,c,"*").forEach(t=>{Dw(t,a,c)&&T.push(t)});const S=new Map;d.forEach((t,e)=>{Ew(S,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=k.get(t),i=S.get(t);k.set(t,Object.assign(Object.assign({},e),i))});const C=[],E=[],L={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(i.has(e)){if(u.has(e))return r.onDestroy(()=>Sy(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void n.push(r);let t=L;if(v.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=v.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>v.set(e,t))}const i=this._buildAnimation(r.namespaceId,o,A,s,S,k);if(r.setRealPlayer(i),t===L)C.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Zb(e)),n.push(r)}}else Cy(e,o.fromStyles),r.onDestroy(()=>Sy(e,o.toStyles)),E.push(r),u.has(e)&&n.push(r)}),E.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=Zb(e);t.setRealPlayer(i)}}),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let z=0;z!t.destroyed);n.length?xw(this,t,n):this.processLeaveNode(t)}return g.length=0,C.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),C}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&r.push(e)})}}return(i||n)&&(r=r.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),r}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==n,c=sy(i,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}Cy(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,r){const o=e.triggerName,a=e.element,c=[],u=new Set,l=new Set,h=e.timelines.map(e=>{const h=e.element;u.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Gb(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Ow(t,e),e}((i.get(h)||bw).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=r.get(h),_=ty(0,this._normalizer,0,e.keyframes,g,m),b=this._buildPlayer(e,_,f);if(e.subTimeline&&n&&l.add(h),p){const e=new kw(t,o,h);e.setRealPlayer(b),c.push(e)}return b});c.forEach(t=>{sy(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),u.forEach(t=>zw(t,"ng-animating"));const d=Zb(h);return d.onDestroy(()=>{u.forEach(t=>Rw(t,"ng-animating")),Sy(a,e.toStyles)}),l.forEach(t=>{sy(n,t,[]).push(d)}),d}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Gb(t.duration,t.delay)}}class kw{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Gb,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>ey(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){sy(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Sw(t){return t&&1===t.nodeType}function Cw(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function Ew(t,e,i,n,s){const r=[];i.forEach(t=>r.push(Cw(t)));const o=[];n.forEach((i,n)=>{const r={};i.forEach(t=>{const i=r[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=ww,o.push(n))}),t.set(n,r)});let a=0;return i.forEach(t=>Cw(t,r[a++])),o}function Lw(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=i.has(o)?o:n.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&i.get(e).push(t)}),i}function zw(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function Rw(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function xw(t,e,i){Zb(i).onDone(()=>t.processLeaveNode(e))}function Ow(t,e){for(let i=0;is.add(t)):e.set(t,n),i.delete(t),!0}class Pw{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Tw(t,e,i),this._timelineEngine=new _w(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const r=t+"-"+n;let o=this._triggerCache[r];if(!o){const t=[],e=Wy(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new fw(t,e)}(n,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,n,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=ry(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=ry(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Nw(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Bw(e[0]),e.length>1&&(n=Bw(e[e.length-1]))):e&&(i=Bw(e)),i||n?new Iw(t,i,n):null}let Iw=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Sy(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Sy(this._element,this._initialStyles),this._endStyles&&(Sy(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Cy(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cy(this._element,this._endStyles),this._endStyles=null),Sy(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Bw(t){let e=null;const i=Object.keys(t);for(let n=0;nthis._handleCallback(t)}apply(){!function(t,e){const i=Kw(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ww(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=Kw(t,"").split(","),n=Yw(i,e);n>=0&&(i.splice(n,1),Uw(t,"",i.join(",")))}(this._element,this._name))}}function qw(t,e,i){Uw(t,"PlayState",i,jw(t,e))}function jw(t,e){const i=Kw(t,"");return i.indexOf(",")>0?Yw(i.split(","),e):Yw([i],e)}function Yw(t,e){for(let i=0;i=0)return i;return-1}function Ww(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Uw(t,e,i,n){const s="animation"+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function Kw(t,e){return t.style["animation"+e]||""}class Vw{constructor(t,e,i,n,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Hw(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:By(this.element,i))})}this.currentSnapshot=t}}class Xw extends Gb{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=my(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Gw{constructor(){this._count=0}validateStyleProperty(t){return dy(t)}matchesElement(t,e){return py(t,e)}containsElement(t,e){return fy(t,e)}query(t,e,i){return gy(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>my(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const r=document.createElement("style");return r.textContent=n,r}animate(t,e,i,n,s,r=[],o){const a=r.filter(t=>t instanceof Vw),c={};Py(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=Ny(t,e,c));if(0==i)return new Xw(t,u);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);(function(t){var e;const i=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot?i:document.head})(t).appendChild(h);const d=Nw(t,e),p=new Vw(t,e,l,i,n,s,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class $w{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:By(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Jw{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Qw().toString()),this._cssKeyframesDriver=new Gw}validateStyleProperty(t){return dy(t)}matchesElement(t,e){return py(t,e)}containsElement(t,e){return fy(t,e)}query(t,e,i){return gy(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,r);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},u=r.filter(t=>t instanceof $w);Py(i,n)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=Nw(t,e=Ny(t,e=e.map(t=>vy(t,!1)),c));return new $w(t,e,a,l)}}function Qw(){return Jb()&&Element.prototype.animate||{}}let Zw=(()=>{class t extends Ib{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Ct.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?qb(t):t;return iM(this._renderer,null,e,"register",[i]),new tM(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(un(tc),un(Ll))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class tM extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new eM(this._id,t,e||{},this._renderer)}}class eM{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return iM(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function iM(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let nM=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new sM("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(r),new rM(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&te(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(un(tc),un(Pw),un($u))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class sM{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class rM extends sM{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let oM=(()=>{class t extends Pw{constructor(t,e,i){super(t.body,e,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(un(Ll),un(by),un(aw))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const aM=new Ui("AnimationModuleType"),cM=[{provide:Ib,useClass:Zw},{provide:aw,useFactory:function(){return new cw}},{provide:Pw,useClass:oM},{provide:tc,useFactory:function(t,e,i){return new nM(t,e,i)},deps:[bd,Pw,$u]}],uM=[{provide:by,useFactory:function(){return"function"==typeof Qw()?new Jw:new Gw}},{provide:aM,useValue:"BrowserAnimations"},...cM],lM=[{provide:by,useClass:_y},{provide:aM,useValue:"NoopAnimations"},...cM];let hM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?lM:uM}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:uM,imports:[Od]}),t})();function dM(t,e){if(1&t&&No(0,"mat-pseudo-checkbox",4),2&t){const t=Go();xo("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function pM(t,e){if(1&t&&(Do(0,"span",5),Aa(1),Po()),2&t){const t=Go();Qs(1),Ta("(",t.group.label,")")}}const fM=["*"];let gM=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),mM=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const _M=new sc("12.0.5"),bM=new Ui("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let yM=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return ll()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&_M.full!==Nb.full&&console.warn("The Angular Material version ("+_M.full+") does not match the Angular CDK version ("+Nb.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(un(Rb),un(bM,8),un(Ll))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Pb],Pb]}),t})();function wM(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=N_(t)}}}function MM(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function AM(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=N_(t)}}}function vM(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?I_(t):this.defaultTabIndex}}}function TM(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new v}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function kM(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new b(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const SM=new Ui("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return ln(Bu)}});class CM{constructor(){this._localeChanges=new v,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const EM=new Ui("mat-date-formats");let LM;try{LM="undefined"!=typeof Intl}catch(_j){LM=!1}const zM={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},RM=DM(31,t=>String(t+1)),xM={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},OM=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function DM(t,e){const i=Array(t);for(let n=0;n{class t extends CM{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(LM){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return DM(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return zM[t]}getDateNames(){if(LM){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return DM(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return RM}getDayOfWeekNames(t){if(LM){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return DM(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return xM[t]}getYearName(t){if(LM){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,i){let n=this._createDateWithOverflow(t,e,i);return n.getMonth(),n}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(LM){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(i,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(OM.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,i){const n=new Date;return n.setFullYear(t,e,i),n.setHours(0,0,0,0),n}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const i=new Date;return i.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(i)}}return t.\u0275fac=function(e){return new(e||t)(un(SM,8),un(W_))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),NM=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),IM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function BM(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let FM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM],yM]}),t})();class HM{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qM={enterDuration:450,exitDuration:400},jM=Q_({passive:!0}),YM=["mousedown","touchstart"],WM=["mouseup","mouseleave","touchend","touchcancel"];class UM{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=q_(i))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},qM),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const r=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),o=t-n.left,a=e-n.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=o-r+"px",u.style.top=a-r+"px",u.style.height=2*r+"px",u.style.width=2*r+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)";const l=new HM(this,u,i);return l.state=0,this._activeRipples.add(l),i.persistent||(this._mostRecentTransientRipple=l),this._runTimeoutOutsideZone(()=>{const t=l===this._mostRecentTransientRipple;l.state=1,i.persistent||t&&this._isPointerDown||l.fadeOut()},c),l}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},qM),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=q_(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(YM))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(WM),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=kb(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,jM)})})}_removeTriggerEvents(){this._triggerElement&&(YM.forEach(t=>{this._triggerElement.removeEventListener(t,this,jM)}),this._pointerUpEventsRegistered&&WM.forEach(t=>{this._triggerElement.removeEventListener(t,this,jM)}))}}const KM=new Ui("mat-ripple-global-options");let VM=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new UM(this,e,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,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(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro($u),Ro(W_),Ro(KM,8),Ro(aM,8))},t.\u0275dir=Gt({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),XM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM,U_],yM]}),t})(),GM=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(Ro(aM,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&ua("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),$M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM]]}),t})();const JM=new Ui("MAT_OPTION_PARENT_COMPONENT");class QM{}const ZM=wM(QM);let tA=0,eA=(()=>{class t extends ZM{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+tA++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(Ro(JM,8))},t.\u0275dir=Gt({type:t,inputs:{label:"label"},features:[po]}),t})();const iA=new Ui("MatOptgroup");let nA=0;class sA{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let rA=(()=>{class t{constructor(t,e,i,n){this._element=t,this._changeDetectorRef=e,this._parent=i,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+nA++,this.onSelectionChange=new lu,this._stateChanges=new v}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(t){this._disabled=N_(t)}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(t,e){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){13!==t.keyCode&&32!==t.keyCode||S_(t)||(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new sA(this,t))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Tc),Ro(void 0),Ro(eA))},t.\u0275dir=Gt({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),oA=(()=>{class t extends rA{constructor(t,e,i,n){super(t,e,i,n)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Tc),Ro(JM,8),Ro(iA,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&Wo("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(Ea("id",e.id),So("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),ua("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[po],ngContentSelectors:fM,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(t,e){1&t&&(Jo(),Lo(0,dM,1,2,"mat-pseudo-checkbox",0),Do(1,"span",1),Qo(2),Po(),Lo(3,pM,2,1,"span",2),No(4,"div",3)),2&t&&(xo("ngIf",e.multiple),Qs(3),xo("ngIf",e.group&&e.group._inert),Qs(1),xo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[xh,VM,GM],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})();function aA(t,e,i){if(i.length){let n=e.toArray(),s=i.toArray(),r=0;for(let e=0;ei+n?Math.max(0,t-n+e):i}let uA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[XM,Xh,yM,$M]]}),t})();const lA=["mat-button",""],hA=["*"],dA=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class pA{constructor(t){this._elementRef=t}}const fA=MM(wM(AM(pA)));let gA=(()=>{class t extends fA{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of dA)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.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(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Lb),Ro(aM,8))},t.\u0275cmp=Yt({type:t,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(t,e){if(1&t&&vu(VM,5),2&t){let t;Au(t=ku())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(So("disabled",e.disabled||null),ua("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[po],attrs:lA,ngContentSelectors:hA,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(t,e){1&t&&(Jo(),Do(0,"span",0),Qo(1),Po(),No(2,"span",1),No(3,"span",2)),2&t&&(Qs(2),ua("mat-button-ripple-round",e.isRoundButton||e.isIconButton),xo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[VM],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-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}),t})(),mA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[XM,yM],yM]}),t})();function _A(t,e,i,s){return n(i)&&(s=i,i=void 0),s?_A(t,e,i).pipe(P(t=>c(t)?s(...t):s(t))):new b(n=>{bA(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function bA(t,e,i,n,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const n=t;t.addEventListener(e,i,s),r=()=>n.removeEventListener(e,i,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const n=t;t.on(e,i),r=()=>n.off(e,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const n=t;t.addListener(e,i),r=()=>n.removeListener(e,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}class wA extends z_{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++nPromise.resolve())(),TA={};function kA(t){return t in TA&&(delete TA[t],!0)}const SA={setImmediate(t){const e=AA++;return TA[e]=!0,vA.then(()=>kA(e)&&t()),e},clearImmediate(t){kA(t)}};class CA extends E_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=SA.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(SA.clearImmediate(e),t.scheduled=void 0)}}class EA extends z_{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,n=-1,s=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++ni.lift(new xA(t,e))}class xA{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new OA(t,this.compare,this.keySelector))}}class OA extends f{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}class DA{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new PA(t,this.durationSelector))}}class PA extends D{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=O(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function NA(t){return!c(t)&&t-parseFloat(t)+1>=0}function IA(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}function BA(t,e=R_){return i=()=>function(t=0,e,i){let n=-1;return NA(e)?n=Number(e)<1?1:Number(e):k(e)&&(i=e),k(i)||(i=R_),new b(e=>{const s=NA(t)?t:+t-i.now();return i.schedule(IA,s,{index:0,period:n,subscriber:e})})}(t,e),function(t){return t.lift(new DA(i))};var i}function FA(t){return e=>e.lift(new HA(t))}class HA{constructor(t){this.notifier=t}call(t,e){const i=new qA(t),n=O(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class qA extends D{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class jA extends E_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}class YA extends z_{}const WA=new YA(jA);function UA(t,e){return new b(e?i=>e.schedule(KA,0,{error:t,subscriber:i}):e=>e.error(t))}function KA({error:t,subscriber:e}){e.error(t)}let VA=(()=>{class t{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Nd(this.value);case"E":return UA(this.error);case"C":return Vp()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class XA extends f{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(XA.dispatch,this.delay,new GA(t,this.destination)))}_next(t){this.scheduleMessage(VA.createNext(t))}_error(t){this.scheduleMessage(VA.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(VA.createComplete()),this.unsubscribe()}}class GA{constructor(t,e){this.notification=t,this.destination=e}}class $A extends v{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new JA(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let r;if(this.closed)throw new w;if(this.isStopped||this.hasError?r=h.EMPTY:(this.observers.push(t),r=new M(this,t)),n&&t.add(t=new XA(t,n)),e)for(let o=0;oe&&(r=Math.max(r,s-e)),r>0&&n.splice(0,r),n}}class JA{constructor(t,e){this.time=t,this.value=e}}function QA(t,e,i){let n;return n=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:i},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:i,scheduler:n}){let s,r,o=0,a=!1,c=!1;return function(u){o++,s&&!a||(a=!1,s=new $A(t,e,n),r=u.subscribe({next(t){s.next(t)},error(t){a=!0,s.error(t)},complete(){c=!0,r=void 0,s.complete()}}));const l=s.subscribe(this);this.add(()=>{o--,l.unsubscribe(),r&&!c&&i&&0===o&&(r.unsubscribe(),r=void 0,s=void 0)})}}(n))}function ZA(t){return t&&"function"==typeof t.connect}class tv{applyChanges(t,e,i,n,s){t.forEachOperation((t,n,r)=>{let o,a;if(null==t.previousIndex){const s=i(t,n,r);o=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==r?(e.remove(n),a=3):(o=e.get(n),e.move(o,r),a=2);s&&s({context:null==o?void 0:o.context,operation:a,record:t})})}detach(){}}class ev{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new v,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let iv=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const nv=new Ui("_ViewRepeater");let sv=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new v,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new b(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(BA(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Nd()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Bd(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let i=q_(e),n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>_A(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(un($u),un(W_),un(Ll,8))},t.\u0275prov=dt({factory:function(){return new t(un($u),un(W_),un(Ll,8))},token:t,providedIn:"root"}),t})(),rv=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new v,this._elementScrolled=new b(t=>this.ngZone.runOutsideAngular(()=>_A(this.elementRef.nativeElement,"scroll").pipe(FA(this._destroyed)).subscribe(t)))}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(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=tb()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==tb()?t.left=t.right:1==tb()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Z_()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==tb()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==tb()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(sv),Ro($u),Ro(Db,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),ov=(()=>{class t{constructor(t,e,i){this._platform=t,this._change=new v,this._changeListener=t=>{this._change.next(t)},this._document=i,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(BA(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(un(W_),un($u),un(Ll,8))},t.\u0275prov=dt({factory:function(){return new t(un(W_),un($u),un(Ll,8))},token:t,providedIn:"root"}),t})(),av=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),cv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Pb,U_,av],Pb,av]}),t})();class uv{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class lv extends uv{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class hv extends uv{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class dv extends uv{constructor(t){super(),this.element=t instanceof Qa?t.nativeElement:t}}class pv{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof lv?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof hv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof dv?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class fv extends pv{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),i.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),this._attachedPortal=t,i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let gv=(()=>{class t extends pv{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new lu,this.attachDomPortal=t=>{const e=t.element,i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(Ro(Xa),Ro(Nc),Ro(Ll))},t.\u0275dir=Gt({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[po]}),t})(),mv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();class _v{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new bv(t,this.predicate,this.inclusive))}}class bv extends f{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(n){return void e.error(n)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const yv=Z_();class wv{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=H_(-this._previousScrollPosition.left),t.style.top=H_(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),yv&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),yv&&(e.scrollBehavior=n,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class Mv{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Av{enable(){}disable(){}attach(){}}function vv(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function Tv(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class kv{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();vv(t,[{width:e,height:i,bottom:i,right:e,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 Sv=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new Av,this.close=t=>new Mv(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new wv(this._viewportRuler,this._document),this.reposition=t=>new kv(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(un(sv),un(ov),un($u),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(sv),un(ov),un($u),un(Ll))},token:t,providedIn:"root"}),t})();class Cv{constructor(t){if(this.scrollStrategy=new Av,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Ev{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Lv{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let zv=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(Ll))},token:t,providedIn:"root"}),t})(),Rv=(()=>{class t extends zv{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(Ll))},token:t,providedIn:"root"}),t})(),xv=(()=>{class t extends zv{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,i=this._attachedOverlays.slice();for(let n=i.length-1;n>-1;n--){const s=i[n];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(un(Ll),un(W_))},t.\u0275prov=dt({factory:function(){return new t(un(Ll),un(W_))},token:t,providedIn:"root"}),t})();const Ov="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let Dv=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||Ov){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new v,this._outsidePointerEvents=new v,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Zp(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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=H_(this._config.width),t.height=H_(this._config.height),t.minWidth=H_(this._config.minWidth),t.minHeight=H_(this._config.minHeight),t.maxWidth=H_(this._config.maxWidth),t.maxHeight=H_(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;F_(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(FA(U(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const Nv=/([A-Za-z%]+)$/;class Iv{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new v,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),c=this._getOverlayFit(a,e,i,r);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(c,a,i)?n.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleAreae&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&Bv(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){const s=Hv(e);let{x:r,y:o}=t,a=this._getOffset(n,"x"),c=this._getOffset(n,"y");a&&(r+=a),c&&(o+=c);let u=0-o,l=o+s.height-i.height,h=this._subtractOverflows(s.width,0-r,r+s.width-i.width),d=this._subtractOverflows(s.height,u,l),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,r=Fv(this._overlayRef.getConfig().minHeight),o=Fv(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=Hv(e),s=this._viewportRect,r=Math.max(t.x+n.width-s.width,0),o=Math.max(t.y+n.height-s.height,0),a=Math.max(s.top-i.top-t.y,0),c=Math.max(s.left-i.left-t.x,0);let u=0,l=0;return u=n.width<=s.width?c||-r:t.xn&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)u=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)c=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-n/2)}return{top:r,left:c,bottom:o,right:u,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=H_(i.height),n.top=H_(i.top),n.bottom=H_(i.bottom),n.width=H_(i.width),n.left=H_(i.left),n.right=H_(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=H_(t)),s&&(n.maxWidth=H_(s))}this._lastBoundingBoxSize=i,Bv(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Bv(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Bv(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();Bv(i,this._getExactOverlayY(e,t,n)),Bv(i,this._getExactOverlayX(e,t,n))}else i.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),i.transform=o.trim(),r.maxHeight&&(n?i.maxHeight=H_(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=H_(r.maxWidth):s&&(i.maxWidth="")),Bv(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=H_(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=H_(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Tv(t,i),isOriginOutsideView:vv(t,i),isOverlayClipped:Tv(e,i),isOverlayOutsideView:vv(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&F_(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Qa)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function Bv(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Fv(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(Nv);return i&&"px"!==i?null:parseFloat(e)}return t||null}function Hv(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class qv{constructor(t,e,i,n,s,r,o){this._preferredPositions=[],this._positionStrategy=new Iv(i,n,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new Ev(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class jv{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:o}=i,a=!("100%"!==n&&"100vw"!==n||r&&"100%"!==r&&"100vw"!==r),c=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?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 t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Yv=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new jv}connectedTo(t,e,i){return new qv(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Iv(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(un(ov),un(Ll),un(W_),un(Dv))},t.\u0275prov=dt({factory:function(){return new t(un(ov),un(Ll),un(W_),un(Dv))},token:t,providedIn:"root"}),t})(),Wv=0,Uv=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new Cv(t);return s.direction=s.direction||this._directionality.value,new Pv(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Wv++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(_l)),new fv(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(un(Sv),un(Dv),un(Xa),un(Yv),un(Rv),un(lo),un($u),un(Ll),un(Db),un(Wl),un(xv))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const Kv=[{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"}],Vv=new Ui("cdk-connected-overlay-scroll-strategy");let Xv=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Gv=(()=>{class t{constructor(t,e,i,n,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this._attachSubscription=h.EMPTY,this._detachSubscription=h.EMPTY,this._positionSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new lu,this.positionChange=new lu,this.attach=new lu,this.detach=new lu,this.overlayKeydown=new lu,this.overlayOutsideClick=new lu,this._templatePortal=new hv(e,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=N_(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=N_(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=N_(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=N_(t)}get push(){return this._push}set push(t){this._push=N_(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Kv);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27!==t.keyCode||this.disableClose||S_(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new Cv({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return i=>i.lift(new _v(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Uv),Ro(Lc),Ro(Nc),Ro(Vv),Ro(Db,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ae]}),t})();const $v={provide:Vv,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Jv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[Uv,$v],imports:[[Pb,mv,cv],cv]}),t})();const Qv=["underline"],Zv=["connectionContainer"],tT=["inputContainer"],eT=["label"];function iT(t,e){1&t&&(Io(0),Do(1,"div",14),No(2,"div",15),No(3,"div",16),No(4,"div",17),Po(),Do(5,"div",18),No(6,"div",15),No(7,"div",16),No(8,"div",17),Po(),Bo())}function nT(t,e){1&t&&(Do(0,"div",19),Qo(1,1),Po())}function sT(t,e){if(1&t&&(Io(0),Qo(1,2),Do(2,"span"),Aa(3),Po(),Bo()),2&t){const t=Go(2);Qs(3),va(t._control.placeholder)}}function rT(t,e){1&t&&Qo(0,3,["*ngSwitchCase","true"])}function oT(t,e){1&t&&(Do(0,"span",23),Aa(1," *"),Po())}function aT(t,e){if(1&t){const t=Ho();Do(0,"label",20,21),Wo("cdkObserveContent",function(){return Re(t),Go().updateOutlineGap()}),Lo(2,sT,4,1,"ng-container",12),Lo(3,rT,1,0,"ng-content",12),Lo(4,oT,2,0,"span",22),Po()}if(2&t){const t=Go();ua("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),xo("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),So("for",t._control.id)("aria-owns",t._control.id),Qs(2),xo("ngSwitchCase",!1),Qs(1),xo("ngSwitchCase",!0),Qs(1),xo("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function cT(t,e){1&t&&(Do(0,"div",24),Qo(1,4),Po())}function uT(t,e){if(1&t&&(Do(0,"div",25,26),No(2,"span",27),Po()),2&t){const t=Go();Qs(2),ua("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function lT(t,e){1&t&&(Do(0,"div"),Qo(1,5),Po()),2&t&&xo("@transitionMessages",Go()._subscriptAnimationState)}function hT(t,e){if(1&t&&(Do(0,"div",31),Aa(1),Po()),2&t){const t=Go(2);xo("id",t._hintLabelId),Qs(1),va(t.hintLabel)}}function dT(t,e){if(1&t&&(Do(0,"div",28),Lo(1,hT,2,2,"div",29),Qo(2,6),No(3,"div",30),Qo(4,7),Po()),2&t){const t=Go();xo("@transitionMessages",t._subscriptAnimationState),Qs(1),xo("ngIf",t.hintLabel)}}const pT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],fT=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let gT=0;const mT=new Ui("MatError");let _T=(()=>{class t{constructor(t,e){this.id="mat-error-"+gT++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Yi("aria-live"),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&So("id",e.id)},inputs:{id:"id"},features:[Ua([{provide:mT,useExisting:t}])]}),t})();const bT={transitionMessages:Bb("transitionMessages",[Yb("enter",jb({opacity:1,transform:"translateY(0%)"})),Ub("void => enter",[jb({opacity:0,transform:"translateY(-5px)"}),Fb("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t}),t})(),wT=0;const MT=new Ui("MatHint");let AT=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+wT++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(So("id",e.id)("align",null),ua("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[Ua([{provide:MT,useExisting:t}])]}),t})(),vT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-label"]]}),t})(),TT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-placeholder"]]}),t})();const kT=new Ui("MatPrefix"),ST=new Ui("MatSuffix");let CT=0;class ET{constructor(t){this._elementRef=t}}const LT=MM(ET,"primary"),zT=new Ui("MAT_FORM_FIELD_DEFAULT_OPTIONS"),RT=new Ui("MatFormField");let xT=(()=>{class t extends LT{constructor(t,e,i,n,s,r,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new v,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+CT++,this._labelId="mat-form-field-label-"+CT++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=N_(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(nf(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(FA(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(FA(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),U(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(nf(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(nf(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(FA(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(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_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,_A(this._label.nativeElement,"transitionend").pipe(Zp(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 t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),r=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let c=0;for(let t=0;t0?.75*c+10:0}for(let o=0;o{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh,yM,ob],yM]}),t})();function DT(...t){if(1===t.length){const e=t[0];if(c(e))return PT(e,null);if(u(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return PT(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return PT(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(P(t=>e(...t)))}return PT(t,null)}function PT(t,e){return new b(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let r=0,o=0;for(let a=0;a{u||(u=!0,o++),s[a]=t},error:t=>i.error(t),complete:()=>{r++,r!==n&&u||(o===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}let NT=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(ec),Ro(Qa))},t.\u0275dir=Gt({type:t}),t})(),IT=(()=>{class t extends NT{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,features:[po]}),t})();const BT=new Ui("NgValueAccessor"),FT={provide:BT,useExisting:rt(()=>qT),multi:!0},HT=new Ui("CompositionEventMode");let qT=(()=>{class t extends NT{constructor(t,e,i){super(t,e),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=El()?El().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(ec),Ro(Qa),Ro(HT,8))},t.\u0275dir=Gt({type:t,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(t,e){1&t&&Wo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[Ua([FT]),po]}),t})();function jT(t){return null==t||0===t.length}function YT(t){return null!=t&&"number"==typeof t.length}const WT=new Ui("NgValidators"),UT=new Ui("NgAsyncValidators"),KT=/^(?=.{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 VT{static min(t){return function(t){return e=>{if(jT(e.value)||jT(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i{if(jT(e.value)||jT(t))return null;const i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return XT(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return jT(t.value)||KT.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>jT(e.value)||!YT(e.value)?null:e.value.lengthYT(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return GT;let e,i;return"string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),t=>{if(jT(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}(t)}static nullValidator(t){return null}static compose(t){return ek(t)}static composeAsync(t){return nk(t)}}function XT(t){return jT(t.value)?{required:!0}:null}function GT(t){return null}function $T(t){return null!=t}function JT(t){const e=qo(t)?F(t):t;return Yo(e),e}function QT(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function ZT(t,e){return e.map(e=>e(t))}function tk(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function ek(t){if(!t)return null;const e=t.filter($T);return 0==e.length?null:function(t){return QT(ZT(t,e))}}function ik(t){return null!=t?ek(tk(t)):null}function nk(t){if(!t)return null;const e=t.filter($T);return 0==e.length?null:function(t){return DT(ZT(t,e).map(JT)).pipe(P(QT))}}function sk(t){return null!=t?nk(tk(t)):null}function rk(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function ok(t){return t._rawValidators}function ak(t){return t._rawAsyncValidators}let ck=(()=>{class t{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(t){this._rawValidators=t||[],this._composedValidatorFn=ik(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=sk(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t}),t})(),uk=(()=>{class t extends ck{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,features:[po]}),t})();class lk extends ck{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class hk{constructor(t){this._cd=t}is(t){var e,i;return!!(null===(i=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===i?void 0:i[t])}}let dk=(()=>{class t extends hk{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(lk,2))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[po]}),t})(),pk=(()=>{class t extends hk{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(uk,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[po]}),t})();function fk(t,e){_k(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&yk(t,e)})}(t,e),function(t,e){const i=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&yk(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const i=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}(t,e)}function gk(t,e,i=!0){const n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),bk(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function mk(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function _k(t,e){const i=ok(t);null!==e.validator?t.setValidators(rk(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const n=ak(t);null!==e.asyncValidator?t.setAsyncValidators(rk(n,e.asyncValidator)):"function"==typeof n&&t.setAsyncValidators([n]);const s=()=>t.updateValueAndValidity();mk(e._rawValidators,s),mk(e._rawAsyncValidators,s)}function bk(t,e){let i=!1;if(null!==t){if(null!==e.validator){const n=ok(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.validator);s.length!==n.length&&(i=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const n=ak(t);if(Array.isArray(n)&&n.length>0){const s=n.filter(t=>t!==e.asyncValidator);s.length!==n.length&&(i=!0,t.setAsyncValidators(s))}}}const n=()=>{};return mk(e._rawValidators,n),mk(e._rawAsyncValidators,n),i}function yk(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wk(t,e){_k(t,e)}function Mk(t,e){if(!t.hasOwnProperty("model"))return!1;const i=t.model;return!!i.isFirstChange()||!Object.is(e,i.currentValue)}function Ak(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function vk(t,e){if(!e)return null;let i,n,s;return Array.isArray(e),e.forEach(t=>{t.constructor===qT?i=t:Object.getPrototypeOf(t.constructor)===IT?n=t:s=t}),s||n||i||null}function Tk(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}function kk(t){return(Lk(t)?t.validators:t)||null}function Sk(t){return Array.isArray(t)?ik(t):t||null}function Ck(t,e){return(Lk(e)?e.asyncValidators:t)||null}function Ek(t){return Array.isArray(t)?sk(t):t||null}function Lk(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class zk{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Sk(this._rawValidators),this._composedAsyncValidatorFn=Ek(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Sk(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Ek(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=JT(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,i){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof xk?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof Ok&&n.at(t)||null}),n}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new lu,this.statusChanges=new lu}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Lk(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Rk extends zk{constructor(t=null,e,i){super(kk(e),Ck(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Tk(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Tk(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class xk extends zk{constructor(t,e,i){super(kk(e),Ck(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof Rk?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((t,n)=>{i=e(i,t,n)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class Ok extends zk{constructor(t,e,i){super(kk(e),Ck(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,i)=>{this.at(i)&&this.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,n)=>{i.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Rk?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Dk={provide:uk,useExisting:rt(()=>Nk)},Pk=(()=>Promise.resolve(null))();let Nk=(()=>{class t extends uk{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new lu,this.form=new xk({},ik(t),sk(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Pk.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),fk(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Pk.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Tk(this._directives,t)})}addFormGroup(t){Pk.then(()=>{const e=this._findContainer(t.path),i=new xk({});wk(i,t),e.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Pk.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Pk.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Ak(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(Ro(WT,10),Ro(UT,10))},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&Wo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ua([Dk]),po]}),t})();const Ik={provide:lk,useExisting:rt(()=>Fk)},Bk=(()=>Promise.resolve(null))();let Fk=(()=>{class t extends lk{constructor(t,e,i,n){super(),this.control=new Rk,this._registered=!1,this.update=new lu,this._parent=t,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=vk(0,n)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Mk(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?[...this._parent.path,this.name]:[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){fk(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(t){Bk.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,i=""===e||e&&"false"!==e;Bk.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(uk,9),Ro(WT,10),Ro(UT,10),Ro(BT,10))},t.\u0275dir=Gt({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ua([Ik]),po,ae]}),t})(),Hk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const qk={provide:BT,useExisting:rt(()=>jk),multi:!0};let jk=(()=>{class t extends IT{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&Wo("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Ua([qk]),po]}),t})(),Yk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();const Wk=new Ui("NgModelWithFormControlWarning"),Uk={provide:lk,useExisting:rt(()=>Kk)};let Kk=(()=>{class t extends lk{constructor(t,e,i,n){super(),this._ngModelWarningConfig=n,this.update=new lu,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=vk(0,i)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&gk(e,this,!1),fk(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Mk(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gk(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(Ro(WT,10),Ro(UT,10),Ro(BT,10),Ro(Wk,8))},t.\u0275dir=Gt({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ua([Uk]),po,ae]}),t._ngModelWarningSentOnce=!1,t})();const Vk={provide:uk,useExisting:rt(()=>Xk)};let Xk=(()=>{class t extends uk{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new lu,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(bk(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return fk(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){gk(t.control||null,t,!1),Tk(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Ak(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,i=this.form.get(t.path);e!==i&&(gk(e||null,t),i instanceof Rk&&(fk(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);wk(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return bk(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_k(this.form,this),this._oldForm&&bk(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(Ro(WT,10),Ro(UT,10))},t.\u0275dir=Gt({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Wo("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ua([Vk]),po,ae]}),t})();const Gk={provide:WT,useExisting:rt(()=>$k),multi:!0};let $k=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?XT(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&So("required",e.required?"":null)},inputs:{required:"required"},features:[Ua([Gk])]}),t})(),Jk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Yk]]}),t})(),Qk=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[Jk]}),t})(),Zk=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Wk,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[Jk]}),t})();const tS=["trigger"],eS=["panel"];function iS(t,e){if(1&t&&(Do(0,"span",8),Aa(1),Po()),2&t){const t=Go();Qs(1),va(t.placeholder)}}function nS(t,e){if(1&t&&(Do(0,"span",12),Aa(1),Po()),2&t){const t=Go(2);Qs(1),va(t.triggerValue)}}function sS(t,e){1&t&&Qo(0,0,["*ngSwitchCase","true"])}function rS(t,e){1&t&&(Do(0,"span",9),Lo(1,nS,2,1,"span",10),Lo(2,sS,1,0,"ng-content",11),Po()),2&t&&(xo("ngSwitch",!!Go().customTrigger),Qs(2),xo("ngSwitchCase",!0))}function oS(t,e){if(1&t){const t=Ho();Do(0,"div",13),Do(1,"div",14,15),Wo("@transformPanel.done",function(e){return Re(t),Go()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return Re(t),Go()._handleKeydown(e)}),Qo(3,1),Po(),Po()}if(2&t){const t=Go();xo("@transformPanelWrap",void 0),Qs(1),Ca("mat-select-panel ",t._getPanelTheme(),""),ca("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),xo("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),So("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const aS=[[["mat-select-trigger"]],"*"],cS=["mat-select-trigger","*"],uS={transformPanelWrap:Bb("transformPanelWrap",[Ub("* => void",Vb("@transformPanel",[Kb()],{optional:!0}))]),transformPanel:Bb("transformPanel",[Yb("void",jb({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Yb("showing",jb({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Yb("showing-multiple",jb({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ub("void => *",Fb("120ms cubic-bezier(0, 0, 0.2, 1)")),Ub("* => void",Fb("100ms 25ms linear",jb({opacity:0})))])};let lS=0;const hS=new Ui("mat-select-scroll-strategy"),dS=new Ui("MAT_SELECT_CONFIG"),pS={provide:hS,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class fS{constructor(t,e){this.source=t,this.value=e}}class gS{constructor(t,e,i,n,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const mS=AM(vM(wM(TM(gS)))),_S=new Ui("MatSelectTrigger");let bS=(()=>{class t extends mS{constructor(t,e,i,n,s,r,o,a,c,u,l,h,d,p){var f,g,m;super(s,n,o,a,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=r,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=d,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+lS++,this._triggerAriaLabelledBy=null,this._destroy=new v,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+lS++,this._panelDoneAnimatingStream=new v,this._overlayPanelClass=(null===(f=this._defaultOptions)||void 0===f?void 0:f.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(m=null===(g=this._defaultOptions)||void 0===g?void 0:g.disableOptionCentering)&&void 0!==m&&m,this.ariaLabel="",this.optionSelectionChanges=Xp(()=>{const t=this.options;return t?t.changes.pipe(nf(t),Gp(()=>U(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(Zp(1),Gp(()=>this.optionSelectionChanges))}),this.openedChange=new lu,this._openedStream=this.openedChange.pipe(Bd(t=>t),P(()=>{})),this._closedStream=this.openedChange.pipe(Bd(t=>!t),P(()=>{})),this.selectionChange=new lu,this.valueChange=new lu,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==p?void 0:p.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(l)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=N_(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=N_(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=N_(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=I_(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ev(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(RA(),FA(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(FA(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(nf(null),FA(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.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(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=40===e||38===e||37===e||39===e,n=13===e||32===e,s=this._keyManager;if(!s.isTyping()&&n&&!S_(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const i=this.selected;i&&e!==i&&this._liveAnnouncer.announce(i.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,n=40===i||38===i,s=e.isTyping();if(n&&t.altKey)t.preventDefault(),this.close();else if(s||13!==i&&32!==i||!e.activeItem||S_(t))if(!s&&this._multiple&&65===i&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&n&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.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(Zp(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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new gb(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(FA(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(FA(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 t=U(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(FA(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),U(...this.options.map(t=>t._stateChanges)).pipe(FA(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(Ro(ov),Ro(Tc),Ro($u),Ro(NM),Ro(Qa),Ro(Db,8),Ro(Nk,8),Ro(Xk,8),Ro(RT,8),Ro(lk,10),Yi("tabindex"),Ro(hS),Ro(Tb),Ro(dS,8))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&(vu(tS,5),vu(eS,5),vu(Gv,5)),2&t){let t;Au(t=ku())&&(e.trigger=t.first),Au(t=ku())&&(e.panel=t.first),Au(t=ku())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[po,ae]}),t})(),yS=(()=>{class t extends bS{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(t,e,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*t-e+n/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(FA(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(Zp(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=aA(t,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=cA((t+e)*i,i,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new fS(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}i||(s*=-1);const r=0-(t.left+s-(i?n:0)),o=t.right+s-e.width+(i?0:n);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,r=Math.floor(256/n);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*n:this._scrollTop===i?(t-(this._getItemCount()-r))*n+(n-(this._getItemCount()*n-256)%n):e-n/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>n?this._adjustPanelDown(r,n,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const n=Math.round(t-e);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),n=e*t-i;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=aA(s,this.options,this.optionGroups);const r=i/2;this._scrollTop=this._calculateOverlayScroll(s,r,n),this._offsetY=this._calculateOverlayOffsetY(s,r,n),this._checkOverlayWithinViewport(n)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,_S,5),Tu(i,oA,5),Tu(i,iA,5)),2&t){let t;Au(t=ku())&&(e.customTrigger=t.first),Au(t=ku())&&(e.options=t),Au(t=ku())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&Wo("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(So("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),ua("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Ua([{provide:yT,useExisting:t},{provide:JM,useExisting:t}]),po],ngContentSelectors:cS,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(t,e){if(1&t&&(Jo(aS),Do(0,"div",0,1),Wo("click",function(){return e.toggle()}),Do(3,"div",2),Lo(4,iS,2,1,"span",3),Lo(5,rS,3,2,"span",4),Po(),Do(6,"div",5),No(7,"div",6),Po(),Po(),Lo(8,oS,4,14,"ng-template",7),Wo("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=zo(1);So("aria-owns",e.panelOpen?e.id+"-panel":null),Qs(3),xo("ngSwitch",e.empty),So("id",e._valueId),Qs(1),xo("ngSwitchCase",!0),Qs(1),xo("ngSwitchCase",!1),Qs(3),xo("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Xv,Nh,Ih,Gv,Bh,Eh],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[uS.transformPanelWrap,uS.transformPanel]},changeDetection:0}),t})(),wS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[pS],imports:[[Xh,Jv,uA,yM],av,OT,uA,yM]}),t})();class MS{constructor(t){this.total=t}call(t,e){return e.subscribe(new AS(t,this.total))}}class AS extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const vS=new Set;let TS,kS=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):SS}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!vS.has(t))try{TS||(TS=document.createElement("style"),TS.setAttribute("type","text/css"),document.head.appendChild(TS)),TS.sheet&&(TS.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),vS.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(un(W_))},t.\u0275prov=dt({factory:function(){return new t(un(W_))},token:t,providedIn:"root"}),t})();function SS(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let CS=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new v}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return ES(F_(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=qp(ES(F_(t)).map(t=>this._registerQuery(t).observable));return e=Up(e.pipe(Zp(1)),e.pipe(t=>t.lift(new MS(1)),x_(0))),e.pipe(P(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new b(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe(nf(e),P(({matches:e})=>({query:t,matches:e})),FA(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(un(kS),un($u))},t.\u0275prov=dt({factory:function(){return new t(un(kS),un($u))},token:t,providedIn:"root"}),t})();function ES(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const LS={tooltipState:Bb("state",[Yb("initial, void, hidden",jb({opacity:0,transform:"scale(0)"})),Yb("visible",jb({transform:"scale(1)"})),Ub("* => visible",Fb("200ms cubic-bezier(0, 0, 0.2, 1)",Wb([jb({opacity:0,transform:"scale(0)",offset:0}),jb({opacity:.5,transform:"scale(0.99)",offset:.5}),jb({opacity:1,transform:"scale(1)",offset:1})]))),Ub("* => hidden",Fb("100ms cubic-bezier(0, 0, 0.2, 1)",jb({opacity:0})))])},zS=Q_({passive:!0}),RS=new Ui("mat-tooltip-scroll-strategy"),xS={provide:RS,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},OS=new Ui("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let DS=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=r,this._ariaDescriber=o,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,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 v,this._handleKeydown=t=>{this._isTooltipVisible()&&27===t.keyCode&&!S_(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=h,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(FA(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=N_(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(FA(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,i])=>{t.removeEventListener(e,i,zS)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new lv(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(FA(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe(FA(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(FA(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,i=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),n.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),n.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e||"below"==e?i={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={originX:"end",originY:"center"});const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;"above"==e?i={overlayX:"center",overlayY:"bottom"}:"below"==e?i={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?i={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Zp(1),FA(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:i,originY:n}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===e&&"top"===n?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_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 t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,zS)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e===i||i.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,i=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),"on"!==t&&e.draggable||(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(Ro(Uv),Ro(Qa),Ro(sv),Ro(Nc),Ro($u),Ro(W_),Ro(hb),Ro(Lb),Ro(void 0),Ro(Db),Ro(void 0),Ro(Ll))},t.\u0275dir=Gt({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),PS=(()=>{class t extends DS{constructor(t,e,i,n,s,r,o,a,c,u,l,h){super(t,e,i,n,s,r,o,a,c,u,l,h),this._tooltipComponent=IS}}return t.\u0275fac=function(e){return new(e||t)(Ro(Uv),Ro(Qa),Ro(sv),Ro(Nc),Ro($u),Ro(W_),Ro(hb),Ro(Lb),Ro(RS),Ro(Db,8),Ro(OS,8),Ro(Ll))},t.\u0275dir=Gt({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[po]}),t})(),NS=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new v}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc))},t.\u0275dir=Gt({type:t}),t})(),IS=(()=>{class t extends NS{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc),Ro(CS))},t.\u0275cmp=Yt({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&Wo("click",function(){return e._handleBodyInteraction()},!1,ls)("auxclick",function(){return e._handleBodyInteraction()},!1,ls),2&t&&ca("zoom","visible"===e._visibility?1:null)},features:[po],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(Do(0,"div",0),Wo("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),nu(1,"async"),Aa(2),Po()),2&t){let t;ua("mat-tooltip-handset",null==(t=su(1,5,e._isHandset))?null:t.matches),xo("ngClass",e.tooltipClass)("@state",e._visibility),Qs(2),va(e.message)}},directives:[Eh],pipes:[Uh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[LS.tooltipState]},changeDetection:0}),t})(),BS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[xS],imports:[[xb,Xh,Jv,yM],yM,av]}),t})();function FS(t,e){if(1&t&&(Do(0,"mat-option",19),Aa(1),Po()),2&t){const t=e.$implicit;xo("value",t),Qs(1),Ta(" ",t," ")}}function HS(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",16),Do(1,"mat-select",17),Wo("selectionChange",function(e){return Re(t),Go(2)._changePageSize(e.value)}),Lo(2,FS,2,2,"mat-option",18),Po(),Po()}if(2&t){const t=Go(2);xo("appearance",t._formFieldAppearance)("color",t.color),Qs(1),xo("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),Qs(1),xo("ngForOf",t._displayedPageSizeOptions)}}function qS(t,e){if(1&t&&(Do(0,"div",20),Aa(1),Po()),2&t){const t=Go(2);Qs(1),va(t.pageSize)}}function jS(t,e){if(1&t&&(Do(0,"div",12),Do(1,"div",13),Aa(2),Po(),Lo(3,HS,3,6,"mat-form-field",14),Lo(4,qS,2,1,"div",15),Po()),2&t){const t=Go();Qs(2),Ta(" ",t._intl.itemsPerPageLabel," "),Qs(1),xo("ngIf",t._displayedPageSizeOptions.length>1),Qs(1),xo("ngIf",t._displayedPageSizeOptions.length<=1)}}function YS(t,e){if(1&t){const t=Ho();Do(0,"button",21),Wo("click",function(){return Re(t),Go().firstPage()}),ri(),Do(1,"svg",7),No(2,"path",22),Po(),Po()}if(2&t){const t=Go();xo("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),So("aria-label",t._intl.firstPageLabel)}}function WS(t,e){if(1&t){const t=Ho();ri(),oi(),Do(0,"button",23),Wo("click",function(){return Re(t),Go().lastPage()}),ri(),Do(1,"svg",7),No(2,"path",24),Po(),Po()}if(2&t){const t=Go();xo("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),So("aria-label",t._intl.lastPageLabel)}}let US=(()=>{class t{constructor(){this.changes=new v,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const n=t*e;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+e,i):n+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const KS={provide:US,deps:[[new fn,new gn,US]],useFactory:function(t){return t||new US}},VS=new Ui("MAT_PAGINATOR_DEFAULT_OPTIONS");class XS{}const GS=wM(kM(XS));let $S=(()=>{class t extends GS{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new lu,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:n,showFirstLastButtons:s}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(I_(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=I_(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(I_(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>I_(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=N_(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=N_(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(Ro(US),Ro(Tc),Ro(void 0))},t.\u0275dir=Gt({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[po]}),t})(),JS=(()=>{class t extends $S{constructor(t,e,i){super(t,e,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(Ro(US),Ro(Tc),Ro(VS,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[po],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(t,e){1&t&&(Do(0,"div",0),Do(1,"div",1),Lo(2,jS,5,3,"div",2),Do(3,"div",3),Do(4,"div",4),Aa(5),Po(),Lo(6,YS,3,5,"button",5),Do(7,"button",6),Wo("click",function(){return e.previousPage()}),ri(),Do(8,"svg",7),No(9,"path",8),Po(),Po(),oi(),Do(10,"button",9),Wo("click",function(){return e.nextPage()}),ri(),Do(11,"svg",7),No(12,"path",10),Po(),Po(),Lo(13,WS,3,5,"button",11),Po(),Po(),Po()),2&t&&(Qs(2),xo("ngIf",!e.hidePageSize),Qs(3),Ta(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),Qs(1),xo("ngIf",e.showFirstLastButtons),Qs(1),xo("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),So("aria-label",e._intl.previousPageLabel),Qs(3),xo("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),So("aria-label",e._intl.nextPageLabel),Qs(3),xo("ngIf",e.showFirstLastButtons))},directives:[xh,gA,PS,xT,yS,zh,oA],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)}\n"],encapsulation:2,changeDetection:0}),t})(),QS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[KS],imports:[[Xh,mA,wS,BS,yM]]}),t})();function ZS(t,e=R_){var i;const n=(i=t)instanceof Date&&!isNaN(+i)?+t-e.now():Math.abs(t);return t=>t.lift(new tC(n,e))}class tC{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new eC(t,this.delay,this.scheduler))}}class eC extends f{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,n=t.scheduler,s=t.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const e=Math.max(0,i[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(eC.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new iC(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(VA.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(VA.createComplete()),this.unsubscribe()}}class iC{constructor(t,e){this.time=t,this.notification=e}}const nC=["mat-menu-item",""],sC=["*"];function rC(t,e){if(1&t){const t=Ho();Do(0,"div",0),Wo("keydown",function(e){return Re(t),Go()._handleKeydown(e)})("click",function(){return Re(t),Go().closed.emit("click")})("@transformMenu.start",function(e){return Re(t),Go()._onAnimationStart(e)})("@transformMenu.done",function(e){return Re(t),Go()._onAnimationDone(e)}),Do(1,"div",1),Qo(2),Po(),Po()}if(2&t){const t=Go();xo("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),So("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const oC={transformMenu:Bb("transformMenu",[Yb("void",jb({opacity:0,transform:"scale(0.8)"})),Ub("void => enter",Fb("120ms cubic-bezier(0, 0, 0.2, 1)",jb({opacity:1,transform:"scale(1)"}))),Ub("* => void",Fb("100ms 25ms linear",jb({opacity:0})))]),fadeInItems:Bb("fadeInItems",[Yb("showing",jb({opacity:1})),Ub("void => *",[jb({opacity:0}),Fb("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},aC=new Ui("MatMenuContent"),cC=new Ui("MAT_MENU_PANEL");class uC{}const lC=AM(wM(uC));let hC=(()=>{class t extends lC{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new v,this._focused=new v,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new du,this._tabSubscription=h.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new v,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new lu,this.close=this.closed,this.panelId="mat-menu-panel-"+pC++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=N_(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=N_(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new mb(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(nf(this._directDescendantItems),Gp(t=>U(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(nf(this._directDescendantItems),Gp(t=>U(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case 27:S_(t)||(t.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:38!==e&&40!==e||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(Zp(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(nf(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro($u),Ro(dC))},t.\u0275dir=Gt({type:t,contentQueries:function(t,e,i){if(1&t&&(Tu(i,aC,5),Tu(i,hC,5),Tu(i,hC,4)),2&t){let t;Au(t=ku())&&(e.lazyContent=t.first),Au(t=ku())&&(e._allItems=t),Au(t=ku())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&vu(Lc,5),2&t){let t;Au(t=ku())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),gC=(()=>{class t extends fC{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro($u),Ro(dC))},t.\u0275cmp=Yt({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&So("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ua([{provide:cC,useExisting:t}]),po],ngContentSelectors:sC,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(Jo(),Lo(0,rC,3,6,"ng-template"))},directives:[Eh],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[oC.transformMenu,oC.fadeInItems]},changeDetection:0}),t})();const mC=new Ui("mat-menu-scroll-strategy"),_C={provide:mC,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},bC=Q_({passive:!0});let yC=(()=>{class t{constructor(t,e,i,n,s,r,o,a){this._overlay=t,this._element=e,this._viewContainerRef=i,this._menuItemInstance=r,this._dir=o,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.EMPTY,this._hoverSubscription=h.EMPTY,this._menuCloseSubscription=h.EMPTY,this._handleTouchStart=t=>{Sb(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new lu,this.onMenuOpen=this.menuOpened,this.menuClosed=new lu,this.onMenuClose=this.menuClosed,this._scrollStrategy=n,this._parentMaterialMenu=s instanceof fC?s:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,bC),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(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,bC),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof fC&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof fC?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Bd(t=>"void"===t.toState),Zp(1),FA(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Cv({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[n,s],[a,c]=[e,i],u=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",i=a="end"===e?"start":"end",u="bottom"===n?8:-8):this.menu.overlapTrigger||(r="top"===n?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:n,offsetY:u},{originX:i,originY:r,overlayX:c,overlayY:n,offsetY:u},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-u},{originX:i,originY:o,overlayX:c,overlayY:s,offsetY:-u}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments();return U(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Nd(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Bd(t=>t!==this._menuItemInstance),Bd(()=>this._menuOpen)):Nd(),e)}_handleMousedown(t){kb(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;13!==e&&32!==e||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Bd(t=>t===this._menuItemInstance&&!t.disabled),ZS(0,LA)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof fC&&this.menu._isAnimating?this.menu._animationDone.pipe(Zp(1),ZS(0,LA),FA(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new hv(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(Ro(Uv),Ro(Qa),Ro(Nc),Ro(mC),Ro(cC,8),Ro(hC,10),Ro(Db,8),Ro(Lb))},t.\u0275dir=Gt({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&Wo("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&So("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),wC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[_C],imports:[yM]}),t})(),MC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[_C],imports:[[Xh,yM,XM,Jv,wC],av,yM,wC]}),t})();const AC=["*"];function vC(t){return Error(`Unable to find icon with the name "${t}"`)}function TC(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function kC(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class SC{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let CC=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,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=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new SC(i,null,n))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,i,n){const s=this._sanitizer.sanitize(Qn.HTML,i);if(!s)throw kC(i);return this._addSvgIconConfig(t,e,new SC("",s,n))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new SC(e,null,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(Qn.HTML,e);if(!n)throw kC(e);return this._addSvgIconSetConfig(t,new SC("",n,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(Qn.RESOURCE_URL,t);if(!e)throw TC(t);const i=this._cachedIconsByUrl.get(e);return i?Nd(EC(i)):this._loadSvgIconFromConfig(new SC(t,null)).pipe(Af(t=>this._cachedIconsByUrl.set(e,t)),P(t=>EC(t)))}getNamedSvgIcon(t,e=""){const i=LC(e,t);let n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);if(n=this._getIconConfigFromResolvers(e,t),n)return this._svgIconConfigs.set(i,n),this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):UA(vC(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Nd(EC(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(P(t=>EC(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?Nd(i):DT(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(af(e=>{const i=this._sanitizer.sanitize(Qn.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${i} failed: ${e.message}`)),Nd(null)})))).pipe(P(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw vC(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgText&&n.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(n),i=this._extractSvgIconFromSet(e,t,n.options);if(i)return i}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Af(e=>t.svgText=e),P(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Nd(null):this._fetchIcon(t).pipe(Af(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const r=this._svgElementFromString("");return r.appendChild(s),this._setSvgAttributes(r,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error(" tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString(""),i=t.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(r)),Z());return this._inProgressUrlFetches.set(r,a),a}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(LC(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),OC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],DC=OC.map(t=>`[${t}]`).join(", "),PC=/^url\(['"]?#(.*?)['"]?\)$/;let NC=(()=>{class t extends RC{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=h.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=N_(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.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(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(DC),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const s=e[n],r=s.getAttribute(t),o=r?r.match(PC):null;if(o){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,i]=this._splitIconName(t);e&&(this._svgNamespace=e),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,e).pipe(Zp(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${i}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(CC),Yi("aria-hidden"),Ro(xC),Ro(as))},t.\u0275cmp=Yt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(So("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),ua("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[po],ngContentSelectors:AC,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),Qo(0))},styles:[".mat-icon{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}),t})(),IC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM],yM]}),t})();class BC{}let FC=(()=>{class t extends BC{getTranslation(t){return Nd({})}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class HC{}let qC=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();function jC(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let i,n,s,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(n in s=Object.create(null),t){if(!jC(t[n],e[n]))return!1;s[n]=!0}for(n in e)if(!(n in s)&&void 0!==e[n])return!1;return!0}if(!Array.isArray(e))return!1;if((i=t.length)==e.length){for(n=0;n{WC(e[n])?n in t?i[n]=UC(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}class KC{}let VC=(()=>{class t extends KC{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let i;return i="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,i}getValue(t,e){let i="string"==typeof e?e.split("."):[e];e="";do{e+=i.shift(),!YC(t)||!YC(t[e])||"object"!=typeof t[e]&&i.length?i.length?e+=".":t=void 0:(t=t[e],e="")}while(i.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,i)=>{let n=this.getValue(e,i);return YC(n)?n:t}):t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class XC{}let GC=(()=>{class t extends XC{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();class $C{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new lu,this.onLangChange=new lu,this.onDefaultLangChange=new lu}}const JC=new Ui("USE_STORE"),QC=new Ui("USE_DEFAULT_LANG"),ZC=new Ui("DEFAULT_LANGUAGE"),tE=new Ui("USE_EXTEND");let eE=(()=>{class t{constructor(t,e,i,n,s,r=!0,o=!1,a=!1,c){this.store=t,this.currentLoader=e,this.compiler=i,this.parser=n,this.missingTranslationHandler=s,this.useDefaultLang=r,this.isolate=o,this.extend=a,this.pending=!1,this._onTranslationChange=new lu,this._onLangChange=new lu,this._onDefaultLangChange=new lu,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}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(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Zp(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Nd(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Zp(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Nd(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(QA(1),Zp(1));return this.loadingTranslations=e.pipe(P(e=>this.compiler.compileTranslations(e,t)),QA(1),Zp(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,i=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(i||this.extend)&&this.translations[t]?UC(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,i){let n;if(e instanceof Array){let n={},s=!1;for(let r of e)n[r]=this.getParsedResult(t,r,i),zA(n[r])&&(s=!0);return s?DT(e.map(t=>zA(n[t])?n[t]:Nd(n[t]))).pipe(P(t=>{let i={};return t.forEach((t,n)=>{i[e[n]]=t}),i})):n}if(t&&(n=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===n){let t={key:e,translateService:this};void 0!==i&&(t.interpolateParams=i),n=this.missingTranslationHandler.handle(t)}return void 0!==n?n:e}get(t,e){if(!YC(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Id(i=>zA(i=this.getParsedResult(i,t,e))?i:Nd(i)));{let i=this.getParsedResult(this.translations[this.currentLang],t,e);return zA(i)?i:Nd(i)}}getStreamOnTranslationChange(t,e){if(!YC(t)||!t.length)throw new Error('Parameter "key" required');return Up(Xp(()=>this.get(t,e)),this.onTranslationChange.pipe(Gp(i=>{const n=this.getParsedResult(i.translations,t,e);return"function"==typeof n.subscribe?n:Nd(n)})))}stream(t,e){if(!YC(t)||!t.length)throw new Error('Parameter "key" required');return Up(Xp(()=>this.get(t,e)),this.onLangChange.pipe(Gp(i=>{const n=this.getParsedResult(i.translations,t,e);return zA(n)?n:Nd(n)})))}instant(t,e){if(!YC(t)||!t.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],t,e);if(zA(i)){if(t instanceof Array){let e={};return t.forEach((i,n)=>{e[t[n]]=t[n]}),e}return t}return i}set(t,e,i=this.currentLang){this.translations[i][t]=this.compiler.compile(e,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(un($C),un(BC),un(XC),un(KC),un(HC),un(QC),un(JC),un(tE),un(ZC))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),iE=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,i){let n=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(i){let s=this.translate.getParsedResult(i,t,e);zA(s.subscribe)?s.subscribe(n):n(s)}this.translate.get(t,e).subscribe(n)}transform(t,...e){if(!t||!t.length)return t;if(jC(t,this.lastKey)&&jC(e,this.lastParams))return this.value;let i;if(YC(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{i=JSON.parse(t)}catch(n){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(i=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),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 t.\u0275fac=function(e){return new(e||t)(Ro(eE,16),Ro(Tc,16))},t.\u0275pipe=$t({name:"translate",type:t,pure:!1}),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),nE=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:BC,useClass:FC},e.compiler||{provide:XC,useClass:GC},e.parser||{provide:KC,useClass:VC},e.missingTranslationHandler||{provide:HC,useClass:qC},$C,{provide:JC,useValue:e.isolate},{provide:QC,useValue:e.useDefaultLang},{provide:tE,useValue:e.extend},{provide:ZC,useValue:e.defaultLanguage},eE]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:BC,useClass:FC},e.compiler||{provide:XC,useClass:GC},e.parser||{provide:KC,useClass:VC},e.missingTranslationHandler||{provide:HC,useClass:qC},{provide:JC,useValue:e.isolate},{provide:QC,useValue:e.useDefaultLang},{provide:tE,useValue:e.extend},{provide:ZC,useValue:e.defaultLanguage},eE]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),sE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[],imports:[[QS,MC,IC,mA,nE,Xh]]}),t})();function rE(t,e){}class oE{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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const aE={dialogContainer:Bb("dialogContainer",[Yb("void, exit",jb({opacity:0,transform:"scale(0.7)"})),Yb("enter",jb({transform:"none"})),Ub("* => enter",Fb("150ms cubic-bezier(0, 0, 0.2, 1)",jb({transform:"none",opacity:1}))),Ub("* => void, * => exit",Fb("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",jb({opacity:0})))])};let cE=(()=>{class t extends pv{constructor(t,e,i,n,s,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._focusMonitor=r,this._animationStateChanged=new lu,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=ib(),i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=ib())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=ib();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Mb),Ro(Tc),Ro(Ll,8),Ro(oE),Ro(Lb))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&vu(gv,7),2&t){let t;Au(t=ku())&&(e._portalOutlet=t.first)}},features:[po]}),t})(),uE=(()=>{class t extends cE{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&Uo("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(Ea("id",e._id),So("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),La("@dialogContainer",e._state))},features:[po],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Lo(0,rE,0,0,"ng-template",0)},directives:[gv],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[aE.dialogContainer]}}),t})(),lE=0;class hE{constructor(t,e,i="mat-dialog-"+lE++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new v,this._afterClosed=new v,this._beforeClosed=new v,this._state=0,e._id=i,e._animationStateChanged.pipe(Bd(t=>"opened"===t.state),Zp(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Bd(t=>"closed"===t.state),Zp(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Bd(t=>27===t.keyCode&&!this.disableClose&&!S_(t))).subscribe(t=>{t.preventDefault(),dE(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():dE(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Bd(t=>"closing"===t.state),Zp(1)).subscribe(e=>{this._beforeClosed.next(t),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(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function dE(t,e,i){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(i)}const pE=new Ui("MatDialogData"),fE=new Ui("mat-dialog-default-options"),gE=new Ui("mat-dialog-scroll-strategy"),mE={provide:gE,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.block()}};let _E=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c){this._overlay=t,this._injector=e,this._defaultOptions=i,this._parentDialog=n,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new v,this._afterOpenedAtThisLevel=new v,this._ariaHiddenElements=new Map,this.afterAllClosed=Xp(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(nf(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new oE)).id&&this.getDialogById(e.id);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),n._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Cv({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=lo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:oE,useValue:e}]}),n=new lv(this._dialogContainerType,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const s=new this._dialogRefConstructor(i,e,n.id);if(t instanceof Lc)e.attachTemplatePortal(new hv(t,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,e),r=e.attachComponentPortal(new lv(t,n.viewContainerRef,i));s.componentInstance=r.instance}return s.updateSize(n.width,n.height).updatePosition(n.position),s}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:i},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||n&&n.get(Db,null,Mt.Optional)||s.push({provide:Db,useValue:{value:t.direction,change:Nd()}}),lo.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Uv),Ro(lo),Ro(void 0),Ro(void 0),Ro(Dv),Ro(void 0),Ro(Vi),Ro(Vi),Ro(Ui))},t.\u0275dir=Gt({type:t}),t})(),bE=(()=>{class t extends _E{constructor(t,e,i,n,s,r,o){super(t,e,n,r,o,s,hE,uE,pE)}}return t.\u0275fac=function(e){return new(e||t)(un(Uv),un(lo),un(Wl,8),un(fE,8),un(gE),un(t,12),un(Dv))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),yE=0,wE=(()=>{class t{constructor(t,e,i){this._dialogRef=t,this._elementRef=e,this._dialog=i,this.id="mat-dialog-title-"+yE++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(t=>t.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE,8),Ro(Qa),Ro(bE))},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&Ea("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),ME=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),AE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),vE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[bE,mE],imports:[[Jv,mv,yM],yM]}),t})();var TE=i(2051);const kE=[5,10,25,100];function SE(){const t=new oE;return t.disableClose=!0,t.autoFocus=!1,t}function CE(t){return"virt"===t.namespace.split(":")[4]}const EE=new Intl.Collator("cs",{numeric:!0});function LE(t,e,i,n){const s=e.active,r=e.direction;return s&&""!==r?t.sort((t,e)=>{const o=i(t,s,n),a=i(e,s,n);return EE.compare(o,a)*("asc"===r?1:-1)}):t}function zE(t,e,i,n,s,r){e=e.toLowerCase();let o="";return i.forEach(e=>{o+=";"+n(t,e,s)}),r&&(o+=";"+n(t,"uuid",s)),-1!==o.toLowerCase().indexOf(e)}function RE(t,e,i,n){const s=[],r=["checkbox","select","edit","menu","cite","extend","recent"];return e=e.filter(t=>!r.includes(t)),t.forEach(t=>{const r={};e.forEach(e=>{var s;r[e]=(null!==(s=i(t,e,n))&&void 0!==s?s:"").split('"').join("''").trim()}),s.push(r)}),s}function xE(t,e="csv",i="export"){switch(e){case"csv":{const n=(t,e)=>null===e?"":e,s=Object.keys(t[0]),r=t.map(t=>s.map(e=>JSON.stringify(t[e],n)).join(","));r.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const o=r.join("\r\n"),a=new Blob([o],{type:"text/csv"});(0,TE.saveAs)(a,`${i}.${e}`)}}}let OE=(()=>{class t{constructor(){this.exportData=new lu}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,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(t,e){if(1&t&&(Do(0,"div",0),Do(1,"button",1),Do(2,"mat-icon"),Aa(3,"more_vert"),Po(),Po(),Do(4,"mat-menu",null,2),Do(6,"button",3),Aa(7),nu(8,"translate"),Po(),Po(),Do(9,"mat-menu",null,4),Do(11,"button",5),Wo("click",function(){return e.exportData.emit("csv")}),Aa(12,"Csv"),Po(),Po(),Po()),2&t){const t=zo(5),e=zo(10);Qs(1),xo("matMenuTriggerFor",t),Qs(5),xo("matMenuTriggerFor",e),Qs(1),Ta(" ",su(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[gA,yC,NC,gC,hC],pipes:[iE],styles:[""]}),t})();function DE(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-table-options",6),Wo("exportData",function(e){return Re(t),Go().exportData.emit(e)}),Po()}}const PE=["*"];let NE=(()=>{class t{constructor(){this.hideExport=!1,this.page=new lu,this.pageSizeOptions=kE,this.pageSize=5,this.dataLength=0,this.exportData=new lu}set matPaginator(t){this.paginator=t}pageChanged(t){this.paginator.pageSize=t.pageSize,this.paginator.pageIndex=t.pageIndex,this.page.emit(t),this.paginator.page.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(t,e){if(1&t&&vu(JS,7),2&t){let t;Au(t=ku())&&(e.matPaginator=t.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:PE,decls:7,vars:8,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(t,e){1&t&&(Jo(),Do(0,"div",0),Do(1,"div",1),Do(2,"mat-paginator",2),Wo("page",function(t){return e.page.emit(t)}),Po(),Lo(3,DE,1,0,"perun-web-apps-table-options",3),Po(),Do(4,"div",4),Qo(5),Po(),Do(6,"mat-paginator",5),Wo("page",function(t){return e.pageChanged(t)}),Po(),Po()),2&t&&(Qs(2),xo("length",e.dataLength)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Qs(1),xo("ngIf",!e.hideExport),Qs(3),xo("length",e.paginator.length)("pageIndex",e.paginator.pageIndex)("pageSizeOptions",e.paginator.pageSizeOptions)("pageSize",e.paginator.pageSize))},directives:[JS,xh,OE],styles:[""]}),t})(),IE=(()=>{class t{constructor(t){this.dialogRef=t}close(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),Po(),Do(3,"div",1),Aa(4),nu(5,"translate"),Po(),Do(6,"div",2),Do(7,"div",3),Do(8,"button",4),Wo("click",function(){return e.close()}),Aa(9),nu(10,"translate"),Po(),Po(),Po()),2&t&&(Qs(1),va(su(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),Qs(3),Ta(" ",su(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),Qs(5),Ta(" ",su(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[wE,ME,AE,gA],pipes:[iE],styles:[""]}),t})(),BE=(()=>{class t{constructor(){this.branding=""}setInstanceConfig(t){this.instanceConfig=t}setDefaultConfig(t){this.defaultConfig=t}setPerunPrincipal(t){this.principal=t}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(t){this.initialPageId=t}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(t){this.branding=t}skipOidc(){return this.get("skip_oidc")}get(...t){let e;if(""!==this.branding){const i=this.instanceConfig.brandings[this.branding];for(let n=0;n{class t{constructor(t,e,i,n){this.injector=t,this.store=e,this.dialog=i,this.route=n,this.userSet=new lu,this.user=null,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(i_),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(t=>{t.idpFilter&&(this.filterShortname=t.idpFilter)})}getClientSettings(){const t=this.setIdpFilter(),e={authority:this.store.get("oidc_client","oauth_authority"),client_id:this.store.get("oidc_client","oauth_client_id"),redirect_uri:this.store.get("oidc_client","oauth_redirect_uri"),post_logout_redirect_uri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),response_type:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),filterProtocolClaims:!0,loadUserInfo:this.store.get("oidc_client","oauth_load_user_info"),automaticSilentRenew:!0,silent_redirect_uri:this.store.get("oidc_client","oauth_silent_redirect_uri")};return t&&(e.extraQueryParams={acr_values:t}),e}setIdpFilter(){const t=location.search.substr(1).split("&");this.filterShortname=null;const e=this.store.get("oidc_client","filters");if(!e)return null;let i=null;return t.forEach(t=>{const n=t.split("=");"idpFilter"===n[0]&&e[n[1]]&&(this.filterShortname=n[1],i=e[n[1]])}),e.default&&!i?(this.filterShortname="default",e.default):i}getUserManager(){return this.manager}startIdpFilterKeeper(){this.router.events.pipe(Bd(t=>t instanceof zf)).subscribe(()=>{const t={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===t.idpFilter?{}:t,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.manager=new Bp.UserManager(this.getClientSettings()),this.setUser(),this.manager.events.addUserLoaded(t=>{this.user=t}),this.manager.events.addAccessTokenExpired(()=>{const t=SE();t.width="450px",this.dialog.open(IE,t).afterClosed().subscribe(()=>{this.startAuthentication().then(()=>{})})})}verifyAuth(){const t=location.pathname,e=location.search.substr(1);return"/api-callback"===t?this.handleAuthCallback().then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(t,e)}logout(){this.manager.signoutRedirect().catch(function(t){console.log(t)})}isLoggedInPromise(){return F(this.manager.getUser()).pipe(P(t=>!!t&&!t.expired))}isLoggedIn(){return null!=this.user&&!this.user.expired}getClaims(){return this.user.profile}getAuthorizationHeaderValue(){return this.user?"Bearer "+this.user.access_token:""}startAuthentication(){return this.manager.signinRedirect()}completeAuthentication(){return this.manager.signinRedirectCallback().then(t=>{this.user=t,this.userSet.emit(this.user)})}startSigninMainWindow(){this.manager.signinRedirect({data:this.redirectUrl}).then(function(){console.log("signinRedirect done")}).catch(function(t){console.log(t)})}setUser(){this.manager.getUser().then(t=>{this.user=t})}isPotentiallyValidPath(t){const e=["/home","/organizations","/facilities","/myProfile","/admin","/login"];if("/"===t)return!0;for(const i of e)if(t.startsWith(i))return!0;return!1}verifyAuthentication(t,e){return this.isLoggedInPromise().toPromise().then(i=>!!i||(this.isPotentiallyValidPath(t)?(sessionStorage.setItem("auth:redirect",t),sessionStorage.setItem("auth:queryParams",e),!1):new Promise((t,e)=>e("Invalid path"))))}handleAuthCallback(){return this.completeAuthentication().then(()=>!0)}redirectToOriginDestination(){const t=sessionStorage.getItem("mfa_route");if(t)return this.router.navigate([t],{replaceUrl:!0});let e=sessionStorage.getItem("auth:redirect");const i=sessionStorage.getItem("auth:queryParams");let n=[];i&&(n=i.split("&"));const s={};return n.forEach(t=>{const e=t.split("=");s[e[0]]=e[1]}),e&&"/login"!==e||(e="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=s.idpFilter),this.router.navigate([e],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return t.\u0275fac=function(e){return new(e||t)(un(lo),un(BE),un(bE),un(Dg))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HE=(()=>{class t{constructor(t){this.dialogRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(t,e){1&t&&(Do(0,"h2",0),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE")))},directives:[ME],pipes:[iE],styles:[""]}),t})(),qE=(()=>{class t{constructor(t,e,i,n,s,r){this.authService=t,this.storeService=e,this.authResolver=i,this.authzService=n,this.dialog=s,this.router=r,this.loginScreenShown=!1}setLoginScreen(t){this.loginScreenShown=t}isLoginScreenShown(){return this.loginScreenShown}verifyAuth(){return this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(t=>t(!0)):this.authService.verifyAuth()}startAuth(){return this.authService.startAuthentication()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(t=>{if(null===t.user){const t=SE();this.dialog.open(HE,t)}else this.storeService.setPerunPrincipal(t),this.authResolver.init(t)})}handleAuthStart(){return this.storeService.get("auto_auth_redirect")?this.startAuth().then(()=>new Promise(()=>{})):(this.setLoginScreen(!0),this.router.navigate(["login"]).then(()=>null))}redirectToOriginDestination(){return this.authService.redirectToOriginDestination()}}return t.\u0275fac=function(e){return new(e||t)(un(FE),un(BE),un(Ip),un(vp),un(bE),un(i_))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),jE=(()=>{class t{constructor(t,e){this.matIconRegistry=t,this.domSanitizer=e,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"}]}registerPerunRefreshIcon(){this.customIcons.forEach(t=>{this.matIconRegistry.addSvgIcon(t.name,this.domSanitizer.bypassSecurityTrustResourceUrl(t.url))})}}return t.\u0275fac=function(e){return new(e||t)(un(CC),un(Ed))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),YE=(()=>{class t{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const t=this.handleNextError;return this.handleNextError=!0,t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),WE=(()=>{class t{constructor(t){this.translate=t,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new lu}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(t,e=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===t.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===t.name?e:e+"\n"+t.name,t,t.message)}showError(t,e,i,n,s){this.addNotification.emit({type:"error",error:e,description:i,title:t,actionText:void 0===n&&void 0!==i?this.getDefaultActionMessage():n,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(t,e,i,n){this.addNotification.emit({type:"success",description:e,title:t,actionText:void 0===i&&void 0!==e?this.getDefaultActionMessage():i,delay:this.defaultSuccessDelayMs,icon:"done",action:n,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return t.\u0275fac=function(e){return new(e||t)(un(eE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),UE=(()=>{class t{constructor(t,e,i,n,s,r){this.authService=t,this.apiRequestConfiguration=e,this.notificator=i,this.store=n,this.dialog=s,this.initAuthService=r}intercept(t,e){const i=this.store.get("api_url");if(-1!==t.url.indexOf("i18n")&&(t=t.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==t.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()){const t=SE();t.width="450px",this.dialog.open(IE,t).afterClosed().subscribe(()=>{this.authService.startAuthentication().then(()=>{})})}t=t.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const n=this.apiRequestConfiguration.shouldHandleError(),s="POST"===t.method&&!this.store.skipOidc();return e.handle(t).pipe(Af(t=>{t instanceof ip&&s&&this.initAuthService.loadPrincipal()},e=>{const i=this.formatErrors(e,t);return void 0===i?UA(e):n?void this.notificator.showRPCError(i):UA(i)}))}formatErrors(t,e){let i;if(console.error(t),t.error.errorId?i=t.error:t.errorId&&(i=JSON.parse(t.error)),void 0!==i)return i.urlWithParams=e.urlWithParams,i.call=e.url,i.payload=e.body,i}}return t.\u0275fac=function(e){return new(e||t)(un(FE),un(YE),un(WE),un(BE),un(bE),un(qE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),KE=(()=>{class t{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(t){this.newNotificationsCount++,this.notificationData.push(t)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),VE=(()=>{class t{constructor(t,e,i,n){this.http=t,this.notificator=e,this.authService=i,this.storeService=n}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(t,e,i,n){const s=t.error;return s.call=e,s.payload=i,n&&this.notificator.showRPCError(t.error),UA(s)}getHeaders(){let t=new Yd;return t=t.set("Authorization",this.authService.getAuthorizationHeaderValue()),t}get(t,e=new Vd,i=!0){const n=`${this.getApiUrl()}${t}`;return this.http.get(n,{headers:this.getHeaders()}).pipe(af(t=>this.formatErrors(t,n,null,i)))}put(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);return this.http.put(n,s,{headers:this.getHeaders()}).pipe(af(t=>this.formatErrors(t,n,s,i)))}post(t,e={},i=!0){const n=`${this.getApiUrl()}${t}`,s=JSON.stringify(e);let r=this.getHeaders();return r=r.set("Content-Type","application/json; charset=utf-8"),this.http.post(n,s,{headers:r}).pipe(af(t=>this.formatErrors(t,n,s,i)))}delete(t,e=!0){const i=`${this.getApiUrl()}${t}`;return this.http.delete(i,{headers:this.getHeaders()}).pipe(af(t=>this.formatErrors(t,i,null,e)))}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(WE),un(FE),un(BE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),XE=(()=>{class t{constructor(){}isAllSelectedWithDisabledCheckbox(t,e,i,n,s,r,o,a){return this.numSelected=t,this.numCanBeSelected=0,this.pageStart=s*i,this.pageEnd=this.pageStart+i,this.pageIterator=0,this.dataLength=""===e?r.data.length:r.filteredData.length,n||(this.modulo=this.dataLength%i,this.pageEnd=0===this.modulo?this.pageStart+i:this.pageStart+this.modulo),r.sortData(r.filteredData,o).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{a?c(t)&&this.pageStart<=this.pageIterator&&this.pageIterator closed",[Fb(".3s ease-in")])]);const GE=Bb("flyInOut",[Ub(":enter",[jb({transform:"translateX(100%)"}),Fb(".25s")]),Ub(":leave",[Fb(".5s",jb({transform:"translateX(100%)"}))])]);Bb("rollInOut",[Ub(":enter",[jb({height:"0px"}),Fb(".25s")]),Ub(":leave",[Fb(".25s",jb({height:"0px"}))])]),Bb("routeAnimations",[Ub("* => *",[jb({position:"relative"}),Vb(":enter",[jb({width:"100%",opacity:0})],{optional:!0}),Vb(":leave",[jb({position:"absolute",width:"100%",opacity:1}),Fb("0.15s",jb({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Vb(":enter",[jb({position:"absolute",width:"100%",opacity:0}),Fb("0.15s",jb({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Bb("tagsOpenClose",[Yb("open",jb({})),Yb("closed",jb({width:"0px",height:"0px"})),Ub("open <=> closed",[Fb(".3s ease-in")])]),Bb("switchAnimations",[Ub("true => false",[Vb(":enter, :leave",jb({})),Hb([Vb(":enter",[jb({transform:"translateX(-100%)"}),Fb("1s ease-in-out",jb({transform:"translateX(0%)"}))],{optional:!0}),Vb(":leave",[jb({transform:"translateX(0%)",position:"absolute"}),Fb("1s ease-in-out",jb({transform:"translateX(100%)"}))],{optional:!0})])]),Ub("false => true",[Vb(":enter, :leave",jb({})),Hb([Vb(":enter",[jb({transform:"translateX(100%)"}),Fb("1s ease-in-out",jb({transform:"translateX(0%)"}))],{optional:!0}),Vb(":leave",[jb({transform:"translateX(0%)",position:"absolute"}),Fb("1s ease-in-out",jb({transform:"translateX(-100%)"}))],{optional:!0})])])]),Bb("slideInOutLeft",[Ub(":enter",[jb({transform:"translateX(-100%)",position:"relative"}),Fb("0.5s ease-in",jb({transform:"translateX(0%)"}))]),Ub(":leave",[Fb("0.5s ease-in",jb({transform:"translateX(-100%)"}))])]),Bb("slideInOutRight",[Ub(":enter",[jb({transform:"translateX(100%)",position:"fixed"}),Fb("0.5s ease-in",jb({transform:"translateX(0%)"}))]),Ub(":leave",[jb({transform:"translateX(-100%)",position:"relative"}),Fb("0.5s ease-in",jb({transform:"translateX(100%)"}))])]);let $E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh]]}),t})(),JE=(()=>{class t{transform(t){let e="";return null!==t.titleBefore&&(e+=t.titleBefore+" "),null!==t.firstName&&(e+=t.firstName+" "),null!==t.middleName&&(e+=t.middleName+" "),null!==t.lastName&&(e+=t.lastName+" "),null!==t.titleAfter&&(e+=t.titleAfter+" "),e.endsWith(" ")&&(e=e.substring(0,e.length-1)),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"userFullName",type:t,pure:!0}),t})(),QE=(()=>{class t{constructor(t,e){this.translate=t,this.storage=e}transform(t,e="en"){const i=this.storage.get("custom_labels");if(i){const n=Object.keys(i);for(const i of n){const n=this.storage.get("custom_labels",i);if(n.label===t)return n[e]}}return t}}return t.\u0275fac=function(e){return new(e||t)(Ro(eE,16),Ro(BE,16))},t.\u0275pipe=$t({name:"customTranslate",type:t,pure:!0}),t})();function ZE(t,e){if(1&t&&(ri(),No(0,"circle",3)),2&t){const t=Go();ca("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),So("r",t._getCircleRadius())}}function tL(t,e){if(1&t&&(ri(),No(0,"circle",3)),2&t){const t=Go();ca("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),So("r",t._getCircleRadius())}}function eL(t,e){if(1&t&&(ri(),No(0,"circle",3)),2&t){const t=Go();ca("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),So("r",t._getCircleRadius())}}function iL(t,e){if(1&t&&(ri(),No(0,"circle",3)),2&t){const t=Go();ca("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),So("r",t._getCircleRadius())}}const nL=".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;transform-origin:center;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:currentColor;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}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-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)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class sL{constructor(t){this._elementRef=t}}const rL=MM(sL,"primary"),oL=new Ui("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let aL=(()=>{class t extends rL{constructor(e,i,n,s,r){super(e),this._elementRef=e,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(n.head)||o.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=I_(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=I_(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,I_(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=eb(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_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:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,i=this._diameter,n=t._diameters;let s=n.get(e);if(!s||!s.has(i)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,n.set(e,s)),s.add(i)}}_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(".","_")}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(W_),Ro(Ll,8),Ro(aM,8),Ro(oL))},t.\u0275cmp=Yt({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(So("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),ca("width",e.diameter,"px")("height",e.diameter,"px"),ua("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[po],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ri(),Do(0,"svg",0),Lo(1,ZE,1,9,"circle",1),Lo(2,tL,1,7,"circle",2),Po()),2&t&&(ca("width",e.diameter,"px")("height",e.diameter,"px"),xo("ngSwitch","indeterminate"===e.mode),So("viewBox",e._getViewBox()),Qs(1),xo("ngSwitchCase",!0),Qs(1),xo("ngSwitchCase",!1))},directives:[Nh,Ih],styles:[nL],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),cL=(()=>{class t extends aL{constructor(t,e,i,n,s){super(t,e,i,n,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(W_),Ro(Ll,8),Ro(aM,8),Ro(oL))},t.\u0275cmp=Yt({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(ca("width",e.diameter,"px")("height",e.diameter,"px"),ua("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[po],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(ri(),Do(0,"svg",0),Lo(1,eL,1,9,"circle",1),Lo(2,iL,1,7,"circle",2),Po()),2&t&&(ca("width",e.diameter,"px")("height",e.diameter,"px"),xo("ngSwitch","indeterminate"===e.mode),So("viewBox",e._getViewBox()),Qs(1),xo("ngSwitchCase",!0),Qs(1),xo("ngSwitchCase",!1))},directives:[Nh,Ih],styles:[nL],encapsulation:2,changeDetection:0}),t})(),uL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM,Xh],yM]}),t})();const lL=Q_({passive:!0});let hL=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Kp;const e=q_(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new v,s="cdk-text-field-autofilled",r=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",r,lL),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",r,lL)}}),n}stopMonitoring(t){const e=q_(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(un(W_),un($u))},t.\u0275prov=dt({factory:function(){return new t(un(W_),un($u))},token:t,providedIn:"root"}),t})(),dL=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new v,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=I_(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=I_(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=N_(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(t){this._cachedPlaceholderHeight=void 0,this._textareaElement.placeholder=t,this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{_A(this._getWindow(),"resize").pipe(BA(16),FA(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){this._textareaElement.classList.add(this._measuringClass);const t=this._textareaElement.scrollHeight-4;return this._textareaElement.classList.remove(this._measuringClass),t}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const t=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=t}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=this._measureScrollHeight(),s=Math.max(n,this._cachedPlaceholderHeight||0);e.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=i,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(t){const{selectionStart:e,selectionEnd:i}=t,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(W_),Ro($u),Ro(Ll,8))},t.\u0275dir=Gt({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&Wo("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),t})(),pL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[U_]]}),t})();const fL=new Ui("MAT_INPUT_VALUE_ACCESSOR"),gL=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let mL=0;class _L{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const bL=TM(_L);let yL=(()=>{class t extends bL{constructor(t,e,i,n,s,r,o,a,c,u){super(r,n,s,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+mL++,this.focused=!1,this.stateChanges=new v,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>V_().has(t));const l=this._elementRef.nativeElement,h=l.nodeName.toLowerCase();this._inputValueAccessor=o||l,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&c.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=N_(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=N_(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&V_().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=N_(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){gL.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(W_),Ro(lk,10),Ro(Nk,8),Ro(Xk,8),Ro(NM),Ro(fL,10),Ro(hL),Ro($u),Ro(RT,8))},t.\u0275dir=Gt({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&Wo("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(Ea("disabled",e.disabled)("required",e.required),So("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),ua("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Ua([{provide:yT,useExisting:t}]),po,ae]}),t})(),wL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[NM],imports:[[pL,OT,yM],pL,OT]}),t})();function ML(t,e){1&t&&No(0,"mat-spinner",7)}function AL(t,e){1&t&&(Do(0,"mat-error"),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function vL(t,e){1&t&&(Do(0,"mat-error"),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function TL(t,e){if(1&t){const t=Ho();Do(0,"div",8),Do(1,"mat-form-field"),Do(2,"mat-label"),Aa(3),nu(4,"translate"),Po(),Do(5,"input",9,10),Wo("ngModelChange",function(e){return Re(t),Go().subject=e}),Po(),Lo(7,AL,3,3,"mat-error",11),Po(),Do(8,"mat-form-field"),Do(9,"mat-label"),Aa(10),nu(11,"translate"),Po(),Do(12,"textarea",12,13),Wo("ngModelChange",function(e){return Re(t),Go().message=e}),nu(14,"translate"),Aa(15," "),Po(),Lo(16,vL,3,3,"mat-error",11),Po(),Po()}if(2&t){const t=zo(6),e=zo(13),i=Go();Qs(3),va(su(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),Qs(2),xo("ngModel",i.subject),Qs(2),xo("ngIf",t.invalid),Qs(3),va(su(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),Qs(2),Zo("placeholder",su(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),xo("ngModel",i.message),Qs(4),xo("ngIf",e.invalid)}}let kL=(()=>{class t{constructor(t,e,i,n,s,r){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.data=s,this.storeService=r,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const t=this.storeService.get("config");let e=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(e=e.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),e=e.concat(this.data.error.message+"\nPerun instance: "+t+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const t=/"password":".+?"/;let i=JSON.stringify(this.data.error.payload);i=i.replace(t,'"password":"####"'),e=e.concat("Payload:\n"+i+"\n\n")}return e=e.concat("Sended from new Perun Gui, version: "+i(306).i8),e.split("\n").join("\n ")}parseMethod(t){return t?this.methodRegexp.exec(t)[1]:t}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(eE),Ro(WE),Ro(Sp),Ro(pE),Ro(BE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),Po(),Lo(3,ML,1,0,"mat-spinner",1),Lo(4,TL,17,13,"div",2),Do(5,"div",3),Do(6,"div",4),Do(7,"button",5),Wo("click",function(){return e.dialogRef.close()}),Aa(8),nu(9,"translate"),Po(),Do(10,"button",6),Wo("click",function(){return e.sendBugReport()}),Aa(11),nu(12,"translate"),Po(),Po(),Po()),2&t&&(Qs(1),va(su(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),Qs(2),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading),Qs(4),Ta(" ",su(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),Qs(2),xo("disabled",""===e.message||""===e.subject||e.loading),Qs(1),Ta(" ",su(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[wE,xh,AE,gA,cL,ME,xT,vT,yL,qT,$k,dk,Fk,_T],pipes:[iE],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),SL=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.dialog=e,this.data=i}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const t=SE();t.width="550px",t.data={error:this.data.error},t.autoFocus=!1,this.dialog.open(kL,t)}),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(bE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),Po(),Do(2,"div",1),Aa(3),Po(),Do(4,"div",2),Do(5,"div",3),Do(6,"button",4),Wo("click",function(){return e.onBugReportClick()}),Aa(7),nu(8,"translate"),Po(),Do(9,"button",5),Wo("click",function(){return e.onCloseClick()}),Aa(10),nu(11,"translate"),Po(),Po(),Po()),2&t&&(Qs(1),va(e.data.title),Qs(2),Ta("\n",e.data.description,"\n"),Qs(3),xo("hidden","error"!==e.data.type),Qs(1),Ta(" ",su(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),Qs(3),Ta(" ",su(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[wE,ME,AE,gA],pipes:[iE],styles:[""]}),t})();const CL=[[["caption"]],[["colgroup"],["col"]]],EL=["caption","colgroup, col"];function LL(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=N_(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const zL=new Ui("CDK_TABLE");let RL=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkCellDef",""]]}),t})(),xL=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),OL=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class DL{}const PL=LL(DL);let NL=(()=>{class t extends PL{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=N_(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(Ro(zL,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,RL,5),Tu(i,xL,5),Tu(i,OL,5)),2&t){let t;Au(t=ku())&&(e.cell=t.first),Au(t=ku())&&(e.headerCell=t.first),Au(t=ku())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ua([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),po]}),t})();class IL{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let BL=(()=>{class t extends IL{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Ro(NL),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[po]}),t})(),FL=(()=>{class t extends IL{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(Ro(NL),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[po]}),t})();class HL{constructor(){this.tasks=[],this.endTasks=[]}}const qL=new Ui("_COALESCED_STYLE_SCHEDULER");let jL=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new v}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new HL,this._getScheduleObservable().pipe(FA(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new HL;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?F(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Zp(1))}}return t.\u0275fac=function(e){return new(e||t)(un($u))},t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})(),YL=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof KL?t.headerCell.template:this instanceof GL?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc),Ro(_c))},t.\u0275dir=Gt({type:t,features:[ae]}),t})();class WL extends YL{}const UL=LL(WL);let KL=(()=>{class t extends UL{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc),Ro(_c),Ro(zL,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[po,ae]}),t})();class VL extends YL{}const XL=LL(VL);let GL=(()=>{class t extends XL{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc),Ro(_c),Ro(zL,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[po,ae]}),t})(),$L=(()=>{class t extends YL{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc),Ro(_c),Ro(zL,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[po]}),t})(),JL=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc))},t.\u0275dir=Gt({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),QL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[JL],encapsulation:2}),t})(),ZL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[JL],encapsulation:2}),t})(),tz=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const ez=["top","bottom","left","right"];class iz{constructor(t,e,i,n,s=!0,r=!0,o){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=s,this._needsPositionStickyOnElement=r,this._positionListener=o,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(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],r=s.children.length,o=this._getCellWidths(s,n),a=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,i),u=e.lastIndexOf(!0),l=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const n="rtl"===this.direction,s=n?"right":"left",h=n?"left":"right";for(const o of t)for(let t=0;te[i]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===l?[]:o.slice(l).map((t,e)=>i[e+l]?t:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,s="bottom"===i?e.slice().reverse():e,r=[],o=[],a=[];for(let u=0,l=0;u{var t,e;for(let o=0;o{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);ez.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,n){t.classList.add(this._stickCellCss),n&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const n of ez)t.style[n]&&(i+=e[n]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let s=0;s0;s--)e[s]&&(i[s]=n,n+=t[s]);return i}}const nz=new Ui("CDK_SPL");let sz=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","rowOutlet",""]]}),t})(),rz=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),oz=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),az=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(Ro(Nc),Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),cz=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=s,this._platform=o,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=u,this._stickyPositioningListener=l,this._onDestroy=new v,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.viewChange=new Fp({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=N_(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=N_(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe(FA(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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),ZA(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i{const s=i&&i.has(n)?i.get(n):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),uz(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=uz(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=uz(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=uz(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],ZA(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;ZA(this.dataSource)?t=this.dataSource.connect(this):zA(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Nd(this.dataSource)),this._renderChangeSubscription=t.pipe(FA(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),s=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i!i.when||i.when(e,t));else{let n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const s=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),s}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))JL.mostRecentCellOutlet&&JL.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new iz(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Nd()).pipe(FA(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(Ro(_c),Ro(Tc),Ro(Qa),Yi("role"),Ro(Db,8),Ro(Ll),Ro(W_),Ro(nv),Ro(qL),Ro(ov),Ro(nz,12))},t.\u0275cmp=Yt({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,tz,5),Tu(i,NL,5),Tu(i,$L,5),Tu(i,KL,5),Tu(i,GL,5)),2&t){let t;Au(t=ku())&&(e._noDataRow=t.first),Au(t=ku())&&(e._contentColumnDefs=t),Au(t=ku())&&(e._contentRowDefs=t),Au(t=ku())&&(e._contentHeaderRowDefs=t),Au(t=ku())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(vu(sz,7),vu(rz,7),vu(oz,7),vu(az,7)),2&t){let t;Au(t=ku())&&(e._rowOutlet=t.first),Au(t=ku())&&(e._headerRowOutlet=t.first),Au(t=ku())&&(e._footerRowOutlet=t.first),Au(t=ku())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&ua("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[Ua([{provide:zL,useExisting:t},{provide:nv,useClass:tv},{provide:qL,useClass:jL},{provide:nz,useValue:null}])],ngContentSelectors:EL,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(Jo(CL),Qo(0),Qo(1,1),Fo(2,0),Fo(3,1),Fo(4,2),Fo(5,3))},directives:[rz,sz,az,oz],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function uz(t,e){return t.concat(Array.from(e))}let lz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[cv]]}),t})();const hz=[[["caption"]],[["colgroup"],["col"]]],dz=["caption","colgroup, col"];let pz=(()=>{class t extends cz{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[Ua([{provide:nv,useClass:tv},{provide:cz,useExisting:t},{provide:zL,useExisting:t},{provide:qL,useClass:jL},{provide:nz,useValue:null}]),po],ngContentSelectors:dz,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(Jo(hz),Qo(0),Qo(1,1),Fo(2,0),Fo(3,1),Fo(4,2),Fo(5,3))},directives:[rz,sz,az,oz],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),fz=(()=>{class t extends RL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matCellDef",""]],features:[Ua([{provide:RL,useExisting:t}]),po]}),t})(),gz=(()=>{class t extends xL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ua([{provide:xL,useExisting:t}]),po]}),t})(),mz=(()=>{class t extends NL{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ua([{provide:NL,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),po]}),t})(),_z=(()=>{class t extends BL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[po]}),t})(),bz=(()=>{class t extends FL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[po]}),t})(),yz=(()=>{class t extends KL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ua([{provide:KL,useExisting:t}]),po]}),t})(),wz=(()=>{class t extends $L{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ua([{provide:$L,useExisting:t}]),po]}),t})(),Mz=(()=>{class t extends QL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Ua([{provide:QL,useExisting:t}]),po],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[JL],encapsulation:2}),t})(),Az=(()=>{class t extends ZL{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Ua([{provide:ZL,useExisting:t}]),po],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&Fo(0,0)},directives:[JL],encapsulation:2}),t})(),vz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[lz,yM],yM]}),t})();class Tz extends class extends class{}{constructor(t=[]){super(),this._renderData=new Fp([]),this._filter=new Fp(""),this._internalPageChanges=new v,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(B_(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let s=this.sortingDataAccessor(t,i),r=this.sortingDataAccessor(e,i);const o=typeof s,a=typeof r;o!==a&&("number"===o&&(s+=""),"number"===a&&(r+=""));let c=0;return null!=s&&null!=r?s>r?c=1:s{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new Fp(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?U(this._sort.sortChange,this._sort.initialized):Nd(null),i=this._paginator?U(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Nd(null),n=qp([this._data,this._filter]).pipe(P(([t])=>this._filterData(t))),s=qp([n,e]).pipe(P(([t])=>this._orderData(t))),r=qp([s,i]).pipe(P(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=r.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}{}function kz(t,e){1&t&&No(0,"mat-spinner",3)}function Sz(t,e){1&t&&No(0,"th",15)}function Cz(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),Ta(" ",t.userExtSource.extSource.name," ")}}function Ez(t,e){1&t&&No(0,"tr",17)}function Lz(t,e){1&t&&No(0,"tr",18)}function zz(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"div",4),Do(2,"p"),Aa(3),nu(4,"translate"),nu(5,"customTranslate"),Po(),Do(6,"div",5),Aa(7),nu(8,"translate"),nu(9,"customTranslate"),Po(),Do(10,"table",6),Io(11,7),Lo(12,Sz,1,0,"th",8),Lo(13,Cz,2,1,"td",9),Bo(),Lo(14,Ez,1,0,"tr",10),Lo(15,Lz,1,0,"tr",11),Po(),Po(),Do(16,"div",12),Do(17,"button",13),Wo("click",function(){return Re(t),Go().onCancel()}),Aa(18),nu(19,"translate"),nu(20,"customTranslate"),Po(),Do(21,"button",14),Wo("click",function(){return Re(t),Go().onSubmit()}),Aa(22),nu(23,"translate"),nu(24,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Go();Qs(3),Ta(" ",su(4,7,su(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),Qs(4),Ta(" ",su(8,11,su(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),Qs(3),xo("dataSource",t.dataSource),Qs(4),xo("matHeaderRowDef",t.displayedColumns),Qs(1),xo("matRowDefColumns",t.displayedColumns),Qs(3),Ta(" ",su(19,15,su(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),Qs(4),Ta(" ",su(23,19,su(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let Rz=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.translate=n,this.notificator=s,this.force=!1,this.displayedColumns=["name"],n.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Tz(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 t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Lp),Ro(eE),Ro(WE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div"),Lo(5,kz,1,0,"mat-spinner",1),Lo(6,zz,25,23,"div",2),Po()),2&t&&(Qs(1),va(su(2,6,su(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),Qs(3),la(e.theme),Qs(1),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[wE,xh,cL,ME,pz,mz,gz,fz,yz,wz,AE,gA,_z,bz,Mz,Az],pipes:[iE,QE],styles:[""]}),t})();class xz{constructor(t,e){this._document=e;const i=this._textarea=this._document.createElement("textarea"),n=i.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}copy(){const t=this._textarea;let e=!1;try{if(t){const i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch(_j){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let Oz=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),i=e.copy();return e.destroy(),i}beginCopy(t){return new xz(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(Ll))},token:t,providedIn:"root"}),t})();const Dz=new Ui("CDK_COPY_TO_CLIPBOARD_CONFIG");let Pz=(()=>{class t{constructor(t,e,i){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new lu,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}copy(t=this.attempts){if(t>1){let e=t;const i=this._clipboard.beginCopy(this.text);this._pending.add(i);const n=()=>{const t=i.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(n,1))};n()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(Ro(Oz),Ro($u),Ro(Dz,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&Wo("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),Nz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),Iz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),Po(),Do(2,"div",1),Do(3,"textarea",2),Aa(4),Po(),Po(),Do(5,"div",3),Do(6,"button",4),Wo("click",function(){return e.onCancel()}),Aa(7),nu(8,"translate"),Po(),Do(9,"button",5),Aa(10),nu(11,"translate"),Po(),Po()),2&t&&(Qs(1),va(e.title),Qs(3),va(e.value),Qs(3),Ta(" ",su(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),Qs(2),xo("cdkCopyToClipboard",e.value),Qs(1),Ta(" ",su(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[wE,ME,dL,yL,AE,gA,Pz],pipes:[iE],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),t})(),Bz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,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 t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h5",0),Aa(1),nu(2,"translate"),Po(),Do(3,"div",1),Do(4,"mat-form-field"),Do(5,"textarea",2),Wo("ngModelChange",function(t){return e.attributeValue=t}),Po(),Po(),Po(),Do(6,"div",3),Do(7,"button",4),Wo("click",function(){return e.cancel()}),Aa(8),nu(9,"translate"),Po(),Do(10,"button",5),Wo("click",function(){return e.submit()}),Aa(11),nu(12,"translate"),Po(),Po()),2&t&&(Qs(1),va(su(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),Qs(4),xo("ngModel",e.attributeValue),Qs(3),Ta(" ",su(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),Qs(3),Ta(" ",su(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[wE,ME,xT,dL,yL,qT,dk,Fk,AE,gA],pipes:[iE],styles:[""]}),t})(),Fz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h5",0),Aa(1),nu(2,"translate"),Po(),Do(3,"div",1),Do(4,"div"),Aa(5),nu(6,"translate"),Po(),Do(7,"div",2),Aa(8),Po(),Po(),Do(9,"div",3),Do(10,"button",4),Wo("click",function(){return e.cancel()}),Aa(11),nu(12,"translate"),Po(),Do(13,"button",5),Wo("click",function(){return e.submit()}),Aa(14),nu(15,"translate"),Po(),Po()),2&t&&(Qs(1),va(su(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),Qs(4),Ta(" ",su(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),Qs(3),Ta(" ",e.data.name," "),Qs(3),Ta(" ",su(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),Qs(3),Ta(" ",su(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[wE,ME,AE,gA],pipes:[iE],styles:[""]}),t})();function Hz(t,e){1&t&&(Do(0,"mat-icon",2),Aa(1," error "),Po())}const qz=["*"];let jz=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:qz,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),Lo(1,Hz,2,0,"mat-icon",1),Qo(2),Po()),2&t&&(ua("warn-alert","warn"===e.alert_type)("error-alert","error"===e.alert_type)("info-alert","info"===e.alert_type),Qs(1),xo("ngIf","error"!==e.alert_type))},directives:[xh,NC],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),t})();function Yz(t,e){if(1&t&&(Do(0,"app-alert",9),Aa(1),Po()),2&t){const t=Go();Qs(1),va(t.pendingEmailsMessage)}}function Wz(t,e){1&t&&(Do(0,"mat-error"),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Uz=(()=>{class t{constructor(t,e,i,n,s,r){this.dialogRef=t,this.data=e,this.translate=i,this.notificator=n,this.usersManagerService=s,this.authService=r,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(t=>this.successMessage=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(t=>this.pendingEmailsMessageStart=t),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(t=>this.pendingEmailsMessageEnd=t)}ngOnInit(){this.emailControl=new Rk(null,[VT.required,VT.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(t=>{this.pendingMails=t.filter((t,e,i)=>e===i.indexOf(t));let e="";this.pendingMails.forEach(t=>e+=`${t===this.pendingMails[0]?"":", "}${t}`),console.log(e),this.pendingEmailsMessage=this.pendingEmailsMessageStart+e+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 t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(eE),Ro(WE),Ro(Lp),Ro(FE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,Yz,2,1,"app-alert",2),Do(6,"mat-form-field",3),Do(7,"label",3),No(8,"input",4),nu(9,"translate"),nu(10,"customTranslate"),Po(),Lo(11,Wz,4,5,"mat-error",5),Po(),Po(),Do(12,"div",6),Do(13,"button",7),Wo("click",function(){return e.onCancel()}),Aa(14),nu(15,"translate"),nu(16,"customTranslate"),Po(),Do(17,"button",8),Wo("click",function(){return e.onSubmit()}),Aa(18),nu(19,"translate"),nu(20,"customTranslate"),Po(),Po()),2&t&&(Qs(1),va(su(2,8,su(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),Qs(4),xo("ngIf",e.pendingMails.length),Qs(3),Zo("placeholder",su(9,12,su(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),xo("formControl",e.emailControl),Qs(3),xo("ngIf",e.emailControl.invalid),Qs(3),Ta(" ",su(15,16,su(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),Qs(3),xo("disabled",!e.emailControl.valid),Qs(1),Ta(" ",su(19,20,su(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[wE,ME,xh,xT,yL,qT,$k,dk,Kk,AE,gA,jz,_T],pipes:[iE,QE],styles:[""]}),t})(),Kz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.router=e}onClose(){this.router.navigate([]),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(i_))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),Po(),Do(3,"div",1),Do(4,"app-alert",2),Aa(5),nu(6,"translate"),Po(),Po(),Do(7,"div",3),Do(8,"button",4),Wo("click",function(){return e.onClose()}),Aa(9),nu(10,"translate"),Po(),Po()),2&t&&(Qs(1),va(su(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),Qs(4),va(su(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),Qs(4),Ta(" ",su(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[wE,ME,jz,AE,gA],pipes:[iE],styles:[""]}),t})();const Vz=["input"],Xz=function(t){return{enterDuration:t}},Gz=["*"],$z=new Ui("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let Jz=0;const Qz={provide:BT,useExisting:rt(()=>iR),multi:!0};class Zz{constructor(t,e){this.source=t,this.value=e}}const tR=new Ui("MatRadioGroup");let eR=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+Jz++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new lu}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=N_(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=N_(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._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 Zz(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc))},t.\u0275dir=Gt({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),iR=(()=>{class t extends eR{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,i){if(1&t&&Tu(i,oR,5),2&t){let t;Au(t=ku())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Ua([Qz,{provide:tR,useExisting:t}]),po]}),t})();class nR{constructor(t){this._elementRef=t}}const sR=AM(vM(nR));let rR=(()=>{class t extends sR{constructor(t,e,i,n,s,r,o,a){super(e),this._changeDetector=i,this._focusMonitor=n,this._radioDispatcher=s,this._providerOverride=o,this._uniqueId="mat-radio-"+ ++Jz,this.id=this._uniqueId,this.change=new lu,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===r,a&&(this.tabIndex=I_(a,0)),this._removeUniqueSelectionListener=s.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=N_(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(N_(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=N_(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Zz(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ro(eR),Ro(Qa),Ro(Tc),Ro(Lb),Ro(iv),Ro(String),Ro(void 0),Ro(String))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&vu(Vz,5),2&t){let t;Au(t=ku())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[po]}),t})(),oR=(()=>{class t extends rR{constructor(t,e,i,n,s,r,o,a){super(t,e,i,n,s,r,o,a)}}return t.\u0275fac=function(e){return new(e||t)(Ro(tR,8),Ro(Qa),Ro(Tc),Ro(Lb),Ro(iv),Ro(aM,8),Ro($z,8),Yi("tabindex"))},t.\u0275cmp=Yt({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&Wo("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(So("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ua("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable",e._noopAnimations)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[po],ngContentSelectors:Gz,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(Jo(),Do(0,"label",0,1),Do(2,"span",2),No(3,"span",3),No(4,"span",4),Do(5,"input",5,6),Wo("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),Po(),Do(7,"span",7),No(8,"span",8),Po(),Po(),Do(9,"span",9),Do(10,"span",10),Aa(11,"\xa0"),Po(),Qo(12),Po(),Po()),2&t){const t=zo(1);So("for",e.inputId),Qs(5),xo("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),So("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),Qs(2),xo("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Qc(18,Xz,e._noopAnimations?0:150)),Qs(2),ua("mat-radio-label-before","before"==e.labelPosition)}},directives:[VM],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),aR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[XM,yM],yM]}),t})();function cR(t,e){1&t&&No(0,"mat-spinner",4)}function uR(t,e){1&t&&(Do(0,"span",11),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function lR(t,e){1&t&&(Do(0,"span",11),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function hR(t,e){if(1&t){const t=Ho();Do(0,"mat-radio-group",12),Wo("ngModelChange",function(e){return Re(t),Go(2).asyncValidation=e}),Do(1,"span",13),Aa(2),nu(3,"translate"),Po(),Do(4,"mat-radio-button",14),Aa(5),nu(6,"translate"),Po(),Do(7,"mat-radio-button",14),Aa(8),nu(9,"translate"),Po(),Po()}2&t&&(xo("ngModel",Go(2).asyncValidation),Qs(2),Ta(" ",su(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),Qs(2),xo("value",!1),Qs(1),Ta(" ",su(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),Qs(2),xo("value",!0),Qs(1),Ta(" ",su(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," "))}function dR(t,e){1&t&&(Do(0,"span",11),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function pR(t,e){1&t&&(Do(0,"span",11),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function fR(t,e){if(1&t&&(Do(0,"div",5),Do(1,"p",6),Aa(2),Do(3,"span",7),Aa(4),Po(),Aa(5),Do(6,"span",7),Aa(7),Po(),Po(),Do(8,"p"),Do(9,"strong",8),Aa(10),nu(11,"translate"),Po(),Aa(12),Po(),Do(13,"p"),Do(14,"strong",8),Aa(15),nu(16,"translate"),Po(),Aa(17),Po(),Lo(18,uR,3,3,"span",9),Lo(19,lR,3,3,"span",9),Lo(20,hR,10,12,"mat-radio-group",10),Lo(21,dR,3,3,"span",9),Lo(22,pR,3,3,"span",9),Po()),2&t){const t=Go();Qs(2),Ta(" ",t.group.name," "),Qs(2),Ta("#",t.group.id,""),Qs(1),Ta(" - ",t.resource.name," "),Qs(2),Ta("#",t.resource.id,""),Qs(3),Ta("",su(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),Qs(2),Ta(" ",t.status," "),Qs(3),Ta("",su(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),Qs(2),Ta(" ",t.getReversedStatus()," "),Qs(1),xo("ngIf","INACTIVE"===t.status),Qs(1),xo("ngIf","ACTIVE"===t.status),Qs(1),xo("ngIf","INACTIVE"===t.status),Qs(1),xo("ngIf","INACTIVE"===t.status&&!1===t.asyncValidation),Qs(1),xo("ngIf","INACTIVE"===t.status&&!0===t.asyncValidation)}}function gR(t,e){if(1&t){const t=Ho();Do(0,"div",15),Do(1,"button",16),Wo("click",function(){return Re(t),Go().onCancel()}),Aa(2),nu(3,"translate"),Po(),Do(4,"button",17),Wo("click",function(){return Re(t),Go().onSubmit()}),Aa(5),nu(6,"translate"),Po(),Po()}if(2&t){const t=Go();Qs(2),Ta(" ",su(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),Qs(2),xo("disabled",t.loading),Qs(1),Ta(" ",su(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}let mR=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.resourceService=i,this.groupService=n,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(t=>{this.resource=t,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 t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Ep),Ro(Tp))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"div"),Do(1,"h1",0),Aa(2),nu(3,"translate"),Po(),Lo(4,cR,1,0,"mat-spinner",1),Lo(5,fR,23,17,"div",2),Lo(6,gR,7,7,"div",3),Po()),2&t&&(la(e.theme),Qs(2),va(su(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),Qs(2),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[wE,xh,cL,ME,iR,dk,Fk,oR,AE,gA],pipes:[iE],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),t})();function _R(t,e){if(1&t&&(Do(0,"div",5),Do(1,"mat-icon"),Aa(2),Po(),Po()),2&t){const t=Go();Qs(2),va(t.data.icon)}}function bR(t,e){if(1&t&&(Do(0,"div",6),Aa(1),Po()),2&t){const t=Go();Qs(1),Ta(" ",t.showTimestamp()," ")}}let yR=(()=>{class t{constructor(t,e){this.dialog=t,this.notificationStorageService=e,this.newNotification=!1,this.closeNotification=new lu,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 t=SE();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(SL,t).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function(t,e){return i=this,s=function*(){var i;yield(i=t,new Promise(t=>setTimeout(t,i))),e()},new((n=void 0)||(n=Promise))(function(t,e){function r(t){try{a(s.next(t))}catch(i){e(i)}}function o(t){try{a(s.throw(t))}catch(i){e(i)}}function a(e){var i;e.done?t(e.value):(i=e.value,i instanceof n?i:new n(function(t){t(i)})).then(r,o)}a((s=s.apply(i,[])).next())});var i,n,s}(this.data.delay,()=>{this.alreadyClosed||this.waiting||this.closeSelf()})}showTimestamp(){const[t,e]=this.data.timeStamp.split(":");return e.length<2?t+":0"+e:this.data.timeStamp}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE),Ro(KE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"div"),Do(1,"div",0),Wo("click",function(){return e.alreadyClosed||e.waiting?"":e.closeSelf()}),Lo(2,_R,3,1,"div",1),Do(3,"div",2),Aa(4),nu(5,"translate"),Po(),Lo(6,bR,2,1,"div",3),Do(7,"div",4),Wo("click",function(){return e.waiting=!0,e.doAction()}),Aa(8),Po(),Po(),Po()),2&t&&(Ca("notification ",e.inDialog?"":"mat-elevation-z7",""),ua("error","error"===e.data.type)("success","success"===e.data.type),Qs(2),xo("ngIf",null!==e.data.icon),Qs(2),Ta(" ",su(5,12,e.data.title)," "),Qs(2),xo("ngIf",e.inDialog),Qs(1),xo("hidden",e.alreadyPressed),Qs(1),Ta(" ",e.data.actionText," "))},directives:[xh,NC],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}"]}),t})();function wR(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"perun-web-apps-notification",2),Wo("closeNotification",function(){const e=Re(t).index;return Go().removeNotification(e)}),Po(),Po()}if(2&t){const t=e.$implicit;xo("@flyInOut",void 0),Qs(1),xo("data",t)("newNotification",!0)}}const MR=function(t){return{top:t}};let AR=(()=>{class t{constructor(t,e){this.notificator=t,this.notificationStorageService=e,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(t=>{this.processNotification(t)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(t){this.notifications.push(t),this.notificationStorageService.storeNotification(t)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(t){this.notifications.splice(t,1)}}return t.\u0275fac=function(e){return new(e||t)(Ro(WE),Ro(KE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-notificator"]],hostBindings:function(t,e){1&t&&Wo("resize",function(t){return e.getScreenSize(t)},!1,us)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(t,e){1&t&&(Do(0,"div",0),Lo(1,wR,2,3,"div",1),Po()),2&t&&(xo("ngStyle",Qc(2,MR,e.getNotificatorTop())),Qs(1),xo("ngForOf",e.notifications))},directives:[Fh,zh,yR],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[GE]}}),t})();const vR=["*",[["mat-toolbar-row"]]],TR=["*","mat-toolbar-row"];class kR{constructor(t){this._elementRef=t}}const SR=MM(kR);let CR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),ER=(()=>{class t extends SR{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(W_),Ro(Ll))},t.\u0275cmp=Yt({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){if(1&t&&Tu(i,CR,5),2&t){let t;Au(t=ku())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&ua("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[po],ngContentSelectors:TR,decls:2,vars:0,template:function(t,e){1&t&&(Jo(vR),Qo(0),Qo(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}),t})(),LR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM],yM]}),t})();const zR={provide:Nu,useFactory:function(t,e){return()=>{if(Gh(e)){const e=Array.from(t.querySelectorAll(`[class*=${RR}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(`${RR}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(i,"")})}}},deps:[Ll,Pu],multi:!0},RR="flex-layout-";let xR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[zR]}),t})();class OR{constructor(t=!1,e="all",i="",n="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=n,this.priority=s,this.property=""}clone(){return new OR(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let DR=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,i){const n=this.stylesheet.get(t);n?n.set(e,i):this.stylesheet.set(t,new Map([[e,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const i=this.stylesheet.get(t);let n="";if(i){const t=i.get(e);"number"!=typeof t&&"string"!=typeof t||(n=t+"")}return n}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const PR={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},NR=new Ui("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>PR}),IR=new Ui("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),BR=new Ui("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function FR(t,e){return t=t?t.clone():new OR,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const HR=["row","column","row-reverse","column-reverse"];function qR(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let jR=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.styleBuilder=e,this.styler=i,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new v,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(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const i=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const i=this.styleBuilder,n=i.shouldCache;let s=this.styleCache.get(t);s&&n||(s=i.buildStyles(t,e),n&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),i.sideEffect(t,s,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[i,n]=this.styler.getFlowDirection(t);if(!n&&e){const e=function(t){let[e,i,n]=function(t){t=t?t.toLowerCase():"";let[e,i,n]=t.split(" ");return HR.find(t=>t===e)||(e=HR[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,qR(i),!!n]}(t);return function(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,i,n)}(i);this.styler.applyStyleToElements(e,[t])}return i.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,i=this.nativeElement){this.styler.applyStyleToElement(i,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){!function(){throw new Error("invalid")}()},t.\u0275dir=Gt({type:t,features:[ae]}),t})();const YR=[{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}],WR="(orientation: portrait) and (max-width: 599.98px)",UR="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",KR="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",VR="(orientation: portrait) and (min-width: 840px)",XR="(orientation: landscape) and (min-width: 1280px)",GR={HANDSET:`${WR}, (orientation: landscape) and (max-width: 959.98px)`,TABLET:`${UR} , ${KR}`,WEB:`${VR}, ${XR} `,HANDSET_PORTRAIT:`${WR}`,TABLET_PORTRAIT:`${UR} `,WEB_PORTRAIT:`${VR}`,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.98px)",TABLET_LANDSCAPE:`${KR}`,WEB_LANDSCAPE:`${XR}`},$R=[{alias:"handset",priority:2e3,mediaQuery:GR.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:GR.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:GR.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:GR.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:GR.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:GR.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:GR.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:GR.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:GR.WEB_PORTRAIT,overlapping:!0}],JR=/(\.|-|_)/g;function QR(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}const ZR=new Ui("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=ln(BR),e=ln(NR),i=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const i={};return t.forEach(t=>{i[t.alias]=t}),e.forEach(t=>{i[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let i of e)if(null!=i)for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e])}(i[t.alias],t):i[t.alias]=t}),(n=Object.keys(i).map(t=>i[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(JR,"|").split("|").map(QR).join(""),t.overlapping=!!t.overlapping)}),n;var n}((e.disableDefaultBps?[]:YR).concat(e.addOrientationBps?$R:[]),i)}});function tx(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function ex(t,e){return(t.priority||0)-(e.priority||0)}let ix=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(ex)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let i=this.findByMap.get(t);return i||(i=this.items.find(e)||null,this.findByMap.set(t,i)),i||null}}return t.\u0275fac=function(e){return new(e||t)(un(ZR))},t.\u0275prov=dt({factory:function(){return new t(un(ZR))},token:t,providedIn:"root"}),t})(),nx=(()=>{class t{constructor(t,e,i){this._zone=t,this._platformId=e,this._document=i,this.source=new Fp(new OR(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,i)=>{e.matches&&t.push(i)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const i=this._observable$.pipe(Bd(i=>!e||t.indexOf(i.mediaQuery)>-1));return U(new b(e=>{const i=this.registerQuery(t);if(i.length){const t=i.pop();i.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()}),i)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],i=[];return function(t,e){const i=t.filter(t=>!sx[t]);if(i.length>0){const t=i.join(", ");try{const n=e.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(e.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`)),e.head.appendChild(n),i.forEach(t=>sx[t]=n)}catch(n){console.error(n)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new OR(e.matches,t)))};let n=this.registry.get(t);n||(n=this.buildMQL(t),n.addListener(e),this.pendingRemoveListenerFns.push(()=>n.removeListener(e)),this.registry.set(t,n)),n.matches&&i.push(new OR(!0,t))}),i}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,Gh(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(un($u),un(Pu),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un($u),un(Pu),un(Ll))},token:t,providedIn:"root"}),t})();const sx={},rx={alias:"print",mediaQuery:"print",priority:1e3};let ox=(()=>{class t{constructor(t,e,i){this.breakpoints=t,this.layoutConfig=e,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new ax,this.deactivations=[]}withPrintQuery(t){return[...t,"print"]}isPrintEvent(t){return t.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(tx)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),FR(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new OR(!0,"print"))),t.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(i)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(tx))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return t.\u0275fac=function(e){return new(e||t)(un(ix),un(NR),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un(ix),un(NR),un(Ll))},token:t,providedIn:"root"}),t})();class ax{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(rx),t.sort(tx),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith("print")}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function cx(t){for(let e in t){let i=t[e]||"";switch(e){case"display":t.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;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":t["-webkit-"+e]=i;break;case"flex-direction":i=i||"row",t["-webkit-flex-direction"]=i,t["flex-direction"]=i;break;case"order":t.order=t["-webkit-"+e]=isNaN(+i)?"0":i}}return t}let ux=(()=>{class t{constructor(t,e,i,n){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=i,this.layoutConfig=n}applyStyleToElement(t,e,i=null){let n={};"string"==typeof e&&(n[e]=i,e=n),n=this.layoutConfig.disableVendorPrefixes?e:cx(e),this._applyMultiValueStyleToElement(n,t)}applyStyleToElements(t,e=[]){const i=this.layoutConfig.disableVendorPrefixes?t:cx(t);e.forEach(t=>{this._applyMultiValueStyleToElement(i,t)})}getFlowDirection(t){let e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||$h(this._platformId)&&this._serverModuleLoaded?e:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return Gh(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,i=!1){let n="";return t&&((n=this.lookupInlineStyle(t,e))||(Gh(this._platformId)?i||(n=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(t,e)))),n?n.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(i=>{const n=t[i],s=Array.isArray(n)?n:[n];s.sort();for(let t of s)t=t?t+"":"",Gh(this._platformId)||!this._serverModuleLoaded?Gh(this._platformId)?e.style.setProperty(i,t):this._setServerStyle(e,i,t):this._serverStylesheet.addStyleToElement(e,i,t)})}_setServerStyle(t,e,i){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(t);n[e]=i||"",this._writeStyleAttribute(t,n)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},i=t.getAttribute("style");if(i){const t=i.split(/;+/g);for(let i=0;i0){const t=n.indexOf(":");if(-1===t)throw new Error(`Invalid CSS style: ${n}`);e[n.substr(0,t).trim()]=n.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let i="";for(const n in e)e[n]&&(i+=n+":"+e[n]+";");t.setAttribute("style",i)}}return t.\u0275fac=function(e){return new(e||t)(un(DR),un(IR),un(Pu),un(NR))},t.\u0275prov=dt({factory:function(){return new t(un(DR),un(IR),un(Pu),un(NR))},token:t,providedIn:"root"}),t})();class lx{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let hx=(()=>{class t{constructor(t,e,i){this.matchMedia=t,this.breakpoints=e,this.hook=i,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 v,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=FR(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(tx),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(tx),this.updateStyles()))}init(t,e,i,n,s=[]){dx(this.updateMap,t,e,i),dx(this.clearMap,t,e,n),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,s)}getValue(t,e,i){const n=this.elementMap.get(t);if(n){const t=void 0!==i?n.get(i):this.getActivatedValues(n,e);if(t)return t.get(e)}}hasValue(t,e){const i=this.elementMap.get(t);if(i){const t=this.getActivatedValues(i,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,i,n){let s=this.elementMap.get(t);if(s){const r=(s.get(n)||new Map).set(e,i);s.set(n,r),this.elementMap.set(t,s)}else s=(new Map).set(n,(new Map).set(e,i)),this.elementMap.set(t,s);const r=this.getValue(t,e);void 0!==r&&this.updateElement(t,e,r)}trackValue(t,e){return this.subject.asObservable().pipe(Bd(i=>i.element===t&&i.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const i=new Set(this.elementKeyMap.get(e));let n=this.getActivatedValues(t);n&&n.forEach((t,n)=>{this.updateElement(e,n,t),i.delete(n)}),i.forEach(i=>{if(n=this.getActivatedValues(t,i),n){const t=n.get(i);this.updateElement(e,i,t)}else this.clearElement(e,i)})})}clearElement(t,e){const i=this.clearMap.get(t);if(i){const n=i.get(e);n&&(n(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,i){const n=this.updateMap.get(t);if(n){const s=n.get(e);s&&(s(i),this.subject.next({element:t,key:e,value:i}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const i=this.elementMap.get(t);i&&(i.forEach((t,e)=>i.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const i=this.elementMap.get(t);if(i){const n=this.getActivatedValues(i,e);n&&(e?this.updateElement(t,e,n.get(e)):n.forEach((e,i)=>this.updateElement(t,i,e)))}}buildElementKeyMap(t,e){let i=this.elementKeyMap.get(t);i||(i=new Set,this.elementKeyMap.set(t,i)),i.add(e)}watchExtraTriggers(t,e,i){if(i&&i.length){let n=this.watcherMap.get(t);if(n||(n=new Map,this.watcherMap.set(t,n)),!n.get(e)){const s=U(...i).subscribe(()=>{const i=this.getValue(t,e);this.updateElement(t,e,i)});n.set(e,s)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let n=0;nt.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Af(this.hook.interceptEvents(this)),Bd(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(un(nx),un(ix),un(ox))},t.\u0275prov=dt({factory:function(){return new t(un(nx),un(ix),un(ox))},token:t,providedIn:"root"}),t})();function dx(t,e,i,n){if(void 0!==n){let s=t.get(e);s||(s=new Map,t.set(e,s)),s.set(i,n)}}new Map,new WeakMap;class px{constructor(t,e,i=!0){this.key=t,this.value=e,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function fx(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function gx(t){const[e,...i]=t.split(":");return new px(e,i.join(":"))}function mx(t,e){return e.key&&(t[e.key]=e.value),t}let _x=(()=>{class t extends jR{constructor(t,e,i,n,s,r,o,a,c){super(t,null,e,i),this.sanitizer=n,this.ngStyleInstance=o,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new Fh(t,s,r)),this.init();const u=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(u),this.isServer=a&&$h(c)}updateWithValue(t){const e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(t){const e=t=>this.sanitizer.sanitize(Qn.STYLE,t)||"";if(t)switch(fx(t)){case"string":return wx(function(t,e=";"){return String(t).trim().split(e).map(t=>t.trim()).filter(t=>""!==t)}(t),e);case"array":return wx(t,e);case"set":default:return function(t,e){let i=[];return"set"===fx(t)?t.forEach(t=>i.push(t)):Object.keys(t).forEach(e=>{i.push(`${e}:${t[e]}`)}),function(t,e){return t.map(gx).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(mx,{})}(i,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(ux),Ro(hx),Ro(Ed),Ro(yc),Ro(ec),Ro(Fh,10),Ro(IR),Ro(Pu))},t.\u0275dir=Gt({type:t,features:[po]}),t})();const bx=["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 yx=(()=>{class t extends _x{constructor(){super(...arguments),this.inputs=bx}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,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:[po]}),t})();function wx(t,e){return t.map(gx).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(mx,{})}let Mx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[xR]]}),t})();const Ax=function(t){return{color:t}};function vx(t,e){if(1&t&&(Do(0,"button",8),nu(1,"translate"),Do(2,"mat-icon",4),Aa(3," apps "),Po(),Po()),2&t){const t=Go();xo("matMenuTriggerFor",zo(2))("matTooltip",su(1,3,"NAV.OTHER_APPLICATIONS")),Qs(2),xo("ngStyle",Qc(5,Ax,t.iconColor))}}function Tx(t,e){if(1&t){const t=Ho();Do(0,"button",2),Wo("click",function(){return Re(t),Go().onLogOut()}),Aa(1),nu(2,"translate"),Po()}2&t&&(Qs(1),va(su(2,1,"NAV.LOGOUT")))}let kx=(()=>{class t{constructor(t,e,i,n){this.authService=t,this.authzResolverService=e,this.notificator=i,this.translateService=n}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return t.\u0275fac=function(e){return new(e||t)(Ro(FE),Ro(vp),Ro(WE),Ro(eE))},t.\u0275cmp=Yt({type:t,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(t,e){if(1&t&&(Lo(0,vx,4,7,"button",0),Do(1,"mat-menu",null,1),Do(3,"button",2),Wo("click",function(){return e.redirectToUrl()}),Do(4,"span"),Aa(5),Po(),Po(),Po(),Do(6,"button",3),Do(7,"mat-icon",4),Aa(8," person "),Po(),Do(9,"span",5),Aa(10),Po(),Po(),Do(11,"mat-menu",null,6),Lo(13,Tx,3,3,"button",7),Po()),2&t){const t=zo(12);xo("ngIf",e.url),Qs(5),va(e.label),Qs(1),xo("matMenuTriggerFor",t),Qs(1),xo("ngStyle",Qc(11,Ax,e.iconColor)),Qs(2),xo("ngStyle",Qc(13,Ax,e.textColor)),Qs(1),Sa(" ",e.user.titleBefore," ",e.user.firstName," ",e.user.middleName," ",e.user.lastName," ",e.user.titleAfter," "),Qs(3),xo("ngIf",e.logoutEnabled)}},directives:[xh,gC,hC,gA,yC,NC,Fh,PS],pipes:[iE],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),t})();const Sx=function(t){return{color:t}};function Cx(t,e){if(1&t){const t=Ho();Do(0,"button",5),Wo("click",function(){return Re(t),Go().onToggleSidenav()}),Do(1,"mat-icon"),Aa(2,"menu"),Po(),Po()}if(2&t){const t=Go();xo("ngStyle",Qc(1,Sx,t.iconColor))}}const Ex=function(t){return{background:t}},Lx=function(){return[]},zx=function(){return["/"]};let Rx=(()=>{class t{constructor(t,e,i,n,s,r){this.storeService=t,this.sanitizer=e,this.translate=i,this.utilsService=n,this.authzResolverService=s,this.authService=r,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new lu,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.translate.onLangChange.subscribe(t=>{this.label=this.storeService.get(`header_label_${t.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${t.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 t in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(t)&&(this.activeLink=!0);this.activeLink&&this.utilsService.getAppsConfig().subscribe(t=>{this.adminGuiUrl=t.brands[0].newApps.admin?t.brands[0].newApps.admin:null})}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ed),Ro(eE),Ro(zp),Ro(vp),Ro(FE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:6,vars:18,consts:[[1,"sticky-top","header-container",3,"ngStyle"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"ml-3",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-menu-user-info",1,"justify-content-end",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"]],template:function(t,e){1&t&&(Do(0,"mat-toolbar",0),Lo(1,Cx,3,3,"button",1),No(2,"a",2),Do(3,"p",3),Aa(4),Po(),No(5,"perun-web-apps-header-menu",4),Po()),2&t&&(xo("ngStyle",Qc(12,Ex,e.bgColor)),Qs(1),xo("ngIf",!e.hideToggle),Qs(1),xo("innerHTML",e.logo,Zn)("routerLink",e.disableLogo?Jc(14,Lx):Jc(15,zx)),Qs(1),xo("ngStyle",Qc(16,Sx,e.textColor)),Qs(1),va(e.label),Qs(1),xo("url",e.adminGuiUrl)("label",e.adminLabel)("user",e.principal.user)("logoutEnabled",e.logoutEnabled)("iconColor",e.iconColor)("textColor",e.textColor))},directives:[ER,Fh,yx,xh,s_,kx,gA,NC],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}}"]}),t})();function xx(t){return e=>e.lift(new Ox(t))}class Ox{constructor(t){this.value=t}call(t,e){return e.subscribe(new Dx(t,this.value))}}class Dx extends f{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const Px=["*"];function Nx(t,e){if(1&t){const t=Ho();Do(0,"div",2),Wo("click",function(){return Re(t),Go()._onBackdropClicked()}),Po()}2&t&&ua("mat-drawer-shown",Go()._isShowingBackdrop())}function Ix(t,e){1&t&&(Do(0,"mat-drawer-content"),Qo(1,2),Po())}const Bx=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Fx=["mat-drawer","mat-drawer-content","*"];function Hx(t,e){if(1&t){const t=Ho();Do(0,"div",2),Wo("click",function(){return Re(t),Go()._onBackdropClicked()}),Po()}2&t&&ua("mat-drawer-shown",Go()._isShowingBackdrop())}function qx(t,e){1&t&&(Do(0,"mat-sidenav-content",3),Qo(1,2),Po())}const jx=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Yx=["mat-sidenav","mat-sidenav-content","*"],Wx=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Ux={transformDrawer:Bb("transform",[Yb("open, open-instant",jb({transform:"none",visibility:"visible"})),Yb("void",jb({"box-shadow":"none",visibility:"hidden"})),Ub("void => open-instant",Fb("0ms")),Ub("void <=> open, open-instant => void",Fb("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Kx=new Ui("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),Vx=new Ui("MAT_DRAWER_CONTAINER");let Xx=(()=>{class t extends rv{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc),Ro(rt(()=>$x)),Ro(Qa),Ro(sv),Ro($u))},t.\u0275cmp=Yt({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&ca("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[po],ngContentSelectors:Px,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),Qo(0))},encapsulation:2,changeDetection:0}),t})(),Gx=(()=>{class t{constructor(t,e,i,n,s,r,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=r,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new v,this._animationEnd=new v,this._animationState="void",this.openedChange=new lu(!0),this._openedStream=this.openedChange.pipe(Bd(t=>t),P(()=>{})),this.openedStart=this._animationStarted.pipe(Bd(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),xx(void 0)),this._closedStream=this.openedChange.pipe(Bd(t=>!t),P(()=>{})),this.closedStart=this._animationStarted.pipe(Bd(t=>t.fromState!==t.toState&&"void"===t.toState),xx(void 0)),this._destroyed=new v,this.onPositionChanged=new lu,this._modeChanged=new v,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{_A(this._elementRef.nativeElement,"keydown").pipe(Bd(t=>27===t.keyCode&&!this.disableClose&&!S_(t)),FA(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(RA((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=N_(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=N_(t)}get opened(){return this._opened}set opened(t){this.toggle(N_(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,i="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Zp(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Mb),Ro(Lb),Ro(W_),Ro($u),Ro(Ll,8),Ro(Vx,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&Uo("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(So("align",null),La("@transform",e._animationState),ua("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.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:Px,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),Qo(1),Po())},directives:[rv],encapsulation:2,data:{animation:[Ux.transformDrawer]},changeDetection:0}),t})(),$x=(()=>{class t{constructor(t,e,i,n,s,r=!1,o){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=o,this._drawers=new du,this.backdropClick=new lu,this._destroyed=new v,this._doCheckSubject=new v,this._contentMargins={left:null,right:null},this._contentMarginChanges=new v,t&&t.change.pipe(FA(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(FA(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=N_(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:N_(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(nf(this._allDrawers),FA(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(nf(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(x_(10),FA(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(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const i=this._left._getWidth();t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const i=this._right._getWidth();e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Bd(t=>t.fromState!==t.toState),FA(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"!==t.mode&&t.openedChange.pipe(FA(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(FA(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Zp(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(FA(U(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),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(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(Ro(Db,8),Ro(Qa),Ro($u),Ro(Tc),Ro(ov),Ro(Kx),Ro(aM,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,Xx,5),Tu(i,Gx,5)),2&t){let t;Au(t=ku())&&(e._content=t.first),Au(t=ku())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&vu(Xx,5),2&t){let t;Au(t=ku())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ua([{provide:Vx,useExisting:t}])],ngContentSelectors:Fx,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(t,e){1&t&&(Jo(Bx),Lo(0,Nx,1,2,"div",0),Qo(1),Qo(2,1),Lo(3,Ix,2,0,"mat-drawer-content",1)),2&t&&(xo("ngIf",e.hasBackdrop),Qs(3),xo("ngIf",!e._content))},directives:[xh,Xx],styles:[Wx],encapsulation:2,changeDetection:0}),t})(),Jx=(()=>{class t extends Xx{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc),Ro(rt(()=>Zx)),Ro(Qa),Ro(sv),Ro($u))},t.\u0275cmp=Yt({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&ca("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[po],ngContentSelectors:Px,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),Qo(0))},encapsulation:2,changeDetection:0}),t})(),Qx=(()=>{class t extends Gx{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=N_(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=I_(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=I_(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(So("align",null),ca("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),ua("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[po],ngContentSelectors:Px,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),Qo(1),Po())},directives:[rv],encapsulation:2,data:{animation:[Ux.transformDrawer]},changeDetection:0}),t})(),Zx=(()=>{class t extends $x{}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,Jx,5),Tu(i,Qx,5)),2&t){let t;Au(t=ku())&&(e._content=t.first),Au(t=ku())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ua([{provide:Vx,useExisting:t}]),po],ngContentSelectors:Yx,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(Jo(jx),Lo(0,Hx,1,2,"div",0),Qo(1),Qo(2,1),Lo(3,qx,2,0,"mat-sidenav-content",1)),2&t&&(xo("ngIf",e.hasBackdrop),Qs(3),xo("ngIf",!e._content))},directives:[xh,Jx,rv],styles:[Wx],encapsulation:2,changeDetection:0}),t})(),tO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh,yM,U_,av],av,yM]}),t})(),eO=(()=>{class t{constructor(t){this.store=t}getSideMenuItems(){const t=this.store.get("displayed_tabs"),e=[];return t.forEach(t=>{switch(t){case"profile":e.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":e.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":e.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":e.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":e.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":e.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":e.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(t=>{const i={icon:"insert_link",link:t.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supportedLanguages").forEach(e=>{var n;i[`label_${e}`]=null!==(n=t[`label_${e}`])&&void 0!==n?n:t.label_en}),e.push(i)}),e}}return t.\u0275fac=function(e){return new(e||t)(un(BE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),iO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM],yM]}),t})();const nO=["*"],sO='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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',rO=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],oO=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class aO{}const cO=wM(AM(aO));class uO{}const lO=AM(uO),hO=new Ui("MatList"),dO=new Ui("MatNavList");let pO=(()=>{class t extends cO{constructor(){super(...arguments),this._stateChanges=new v}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Ua([{provide:dO,useExisting:t}]),po,ae],ngContentSelectors:nO,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),Qo(0))},styles:[sO],encapsulation:2,changeDetection:0}),t})(),fO=(()=>{class t extends cO{constructor(t){super(),this._elementRef=t,this._stateChanges=new v,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa))},t.\u0275cmp=Yt({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Ua([{provide:hO,useExisting:t}]),po,ae],ngContentSelectors:nO,decls:1,vars:0,template:function(t,e){1&t&&(Jo(),Qo(0))},styles:[sO],encapsulation:2,changeDetection:0}),t})(),gO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),mO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),_O=(()=>{class t extends lO{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new v,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(FA(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=N_(t)}ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe(nf(t)).subscribe(({length:t})=>{BM(e,`${i}-2-line`,!1),BM(e,`${i}-3-line`,!1),BM(e,`${i}-multi-line`,!1),2===t||3===t?BM(e,`${i}-${t}-line`,!0):t>3&&BM(e,`${i}-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 t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Tc),Ro(dO,8),Ro(hO,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,gO,5),Tu(i,mO,5),Tu(i,IM,5)),2&t){let t;Au(t=ku())&&(e._avatar=t.first),Au(t=ku())&&(e._icon=t.first),Au(t=ku())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&ua("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[po],ngContentSelectors:oO,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(t,e){1&t&&(Jo(rO),Do(0,"div",0),No(1,"div",1),Qo(2),Do(3,"div",2),Qo(4,1),Po(),Qo(5,2),Po()),2&t&&(Qs(1),xo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[VM],encapsulation:2,changeDetection:0}),t})(),bO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[FM,XM,yM,$M,Xh],FM,yM,$M,iO]}),t})(),yO=(()=>{class t{transform(t,e,i){return t[`${i}_${e}`]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"localisedText",type:t,pure:!0}),t})();const wO=function(t){return{color:t}};function MO(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",2),Wo("click",function(){const e=Re(t).$implicit,i=Go();return e.external?i.goToURL(e.link):i.shouldHideMenu()}),Do(1,"mat-icon",3),Aa(2),Po(),Do(3,"span",4),Aa(4),nu(5,"localisedText"),nu(6,"translate"),nu(7,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();ua("activated",i.isActive(t.activatedRegex)),Zo("routerLink",t.external?null:t.link),xo("ngStyle",Qc(16,wO,i.textColor)),Qs(1),xo("ngStyle",Qc(18,wO,i.iconColor)),Qs(1),va(t.icon),Qs(2),va(t.external?ou(5,7,t,i.lang,"label"):su(6,11,ru(7,13,t.label,i.lang)))}}let AO=(()=>{class t{constructor(t,e,i,n){this.sideMenuItemService=t,this.storeService=e,this.router=i,this.translateService=n,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(t=>{t instanceof zf&&(this.currentUrl=t.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:e}=t;this.lang=e});const t=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(e=>t.includes(e.tabName))}isActive(t){return new RegExp(t).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(t){window.open(t,"_blank")}}return t.\u0275fac=function(e){return new(e||t)(Ro(eO),Ro(BE),Ro(i_),Ro(eE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption","ml-3"]],template:function(t,e){1&t&&(Do(0,"mat-nav-list",0),Lo(1,MO,8,20,"mat-list-item",1),Po()),2&t&&(Qs(1),xo("ngForOf",e.items))},directives:[pO,zh,_O,Fh,yx,n_,NC],pipes:[yO,iE,QE],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}"]}),t})();function vO(t,e){if(1&t&&(Do(0,"span",1),Do(1,"a",2),Aa(2),Po(),Po()),2&t){const t=e.$implicit;Qs(1),xo("routerLink",t.routerLink),Qs(1),va(t.label)}}let TO=(()=>{class t{constructor(t,e,i){this.router=t,this.activatedRoute=e,this.translate=i,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe(Bd(t=>t instanceof zf)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,i=""){const n=e.children;0!==n.length&&n.forEach(e=>{const n=e.snapshot.url.map(t=>t.path).join("/");""!==n&&(i+=`/${n}`);const s=this.translate.instant(e.snapshot.data[t.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:i}),this.createBreadcrumbs(e,i)})}}return t.ROUTE_DATA_BREADCRUMB="breadcrumb",t.\u0275fac=function(e){return new(e||t)(Ro(i_),Ro(Dg),Ro(eE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&Lo(0,vO,3,2,"span",0),2&t&&xo("ngForOf",e.menuItems)},directives:[zh,s_],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}']}),t})();function kO(t,e){1&t&&(Do(0,"mat-error"),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let SO=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.translate=e,this.notificator=i,this.rtMessages=n,this.storeService=s,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(t=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+i(306).i8}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(eE),Ro(WE),Ro(Sp),Ro(BE))},t.\u0275cmp=Yt({type:t,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(t,e){if(1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),Po(),Do(3,"div",1),Do(4,"mat-form-field"),Do(5,"mat-label"),Aa(6),nu(7,"translate"),Po(),Do(8,"input",2,3),Wo("ngModelChange",function(t){return e.subject=t}),Po(),Lo(10,kO,3,3,"mat-error",4),Po(),Do(11,"mat-form-field"),Do(12,"mat-label"),Aa(13),nu(14,"translate"),Po(),Do(15,"textarea",5),Wo("ngModelChange",function(t){return e.message=t}),nu(16,"translate"),Aa(17," "),Po(),Do(18,"mat-hint"),Aa(19),nu(20,"translate"),Po(),Po(),Po(),Do(21,"div",6),Do(22,"div",7),Do(23,"button",8),Wo("click",function(){return e.close()}),Aa(24),nu(25,"translate"),Po(),Do(26,"button",9),Wo("click",function(){return e.sendBugReport()}),Aa(27),nu(28,"translate"),Po(),Po(),Po()),2&t){const t=zo(9);Qs(1),va(su(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),Qs(5),va(su(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),Qs(2),xo("ngModel",e.subject),Qs(2),xo("ngIf",t.invalid),Qs(3),va(su(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),Qs(2),Zo("placeholder",su(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),xo("ngModel",e.message),Qs(4),va(su(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),Qs(5),Ta(" ",su(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),Qs(2),xo("disabled",t.invalid),Qs(1),Ta(" ",su(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[wE,ME,xT,vT,yL,qT,$k,dk,Fk,xh,AT,AE,gA,_T],pipes:[iE],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),t})(),CO=(()=>{class t{transform(t,e){return t["link_"+e]||t.link_en}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"localisedLink",type:t,pure:!0}),t})();const EO=function(t){return{color:t}};function LO(t,e){if(1&t&&(Do(0,"i",16),Aa(1),Po()),2&t){const t=Go().$implicit,e=Go(3);xo("ngStyle",Qc(2,EO,e.linksTextColor)),Qs(1),Ta(" ",t.icon," ")}}function zO(t,e){if(1&t){const t=Ho();Do(0,"span",17),Wo("click",function(){Re(t);const e=Go().$implicit;return Go(3).openDialog(e.dialog)}),Aa(1),nu(2,"localisedText"),Po()}if(2&t){const t=Go().$implicit,e=Go(3);xo("ngStyle",Qc(6,EO,e.linksTextColor)),Qs(1),Ta("",ou(2,2,t,e.language,"label")," ")}}function RO(t,e){if(1&t&&(Do(0,"a",18),nu(1,"localisedLink"),Aa(2),nu(3,"localisedText"),Po()),2&t){const t=Go().$implicit,e=Go(3);xo("href",ru(1,3,t,e.language),ts)("ngStyle",Qc(10,EO,e.linksTextColor)),Qs(2),va(ou(3,6,t,e.language,"label"))}}function xO(t,e){if(1&t&&(Do(0,"span",19),Aa(1),nu(2,"localisedText"),Po()),2&t){const t=Go().$implicit,e=Go(3);xo("ngStyle",Qc(6,EO,e.linksTextColor)),Qs(1),va(ou(2,2,t,e.language,"label"))}}function OO(t,e){if(1&t&&(Do(0,"div",11),Lo(1,LO,2,4,"i",12),Lo(2,zO,3,8,"span",13),Lo(3,RO,4,12,"a",14),nu(4,"localisedLink"),Lo(5,xO,3,8,"span",15),nu(6,"localisedLink"),Po()),2&t){const t=e.$implicit,i=Go(3);Qs(1),xo("ngIf",t.icon),Qs(1),xo("ngIf",t.dialog),Qs(1),xo("ngIf",ru(4,4,t,i.language)&&!t.dialog),Qs(2),xo("ngIf",!ru(6,7,t,i.language)&&!t.dialog)}}function DO(t,e){if(1&t&&(Do(0,"div"),Lo(1,OO,7,10,"div",10),Po()),2&t){const t=Go().$implicit;Qs(1),xo("ngForOf",t.elements)}}function PO(t,e){if(1&t&&(Do(0,"div",7),Do(1,"h6",8),Aa(2),nu(3,"localisedText"),Po(),Lo(4,DO,2,1,"div",9),Po()),2&t){const t=e.$implicit,i=Go();Qs(1),xo("ngStyle",Qc(7,EO,i.headersTextColor)),Qs(1),Ta(" ",ou(3,3,t,i.language,"title")," "),Qs(2),xo("ngIf",t.elements)}}function NO(t,e){if(1&t&&(Do(0,"span"),Do(1,"a",6),Aa(2),Po(),Po()),2&t){const t=e.$implicit,i=e.index,n=Go();Qs(1),xo("href",t.url,ts)("ngStyle",Qc(3,EO,n.copyrightTextColor)),Qs(1),va(i?", "+t.name:t.name)}}const IO=function(t){return{background:t}};let BO=(()=>{class t{constructor(t,e,i){this.storeService=t,this.translateService=e,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new lu}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{this.language=t.lang}),this.version=i(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}openDialog(t){const e=SE();switch(t){case"reportIssue":e.width="550px",this.dialog.open(SO,e)}}getHeight(){let t=1;for(const e of this.items)t=t{class t{constructor(t,e){this.storeService=t,this.sanitizer=e,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){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"):"",this.logoPadding="admin-gui"===this.application?this.storeService.get("logo_padding"):""}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ed))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["style","padding-top: 16px",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"],[3,"ngStyle"],[1,"logo-container",3,"innerHTML","ngStyle"],[2,"display","flex","flex-direction","row"],[1,"router-icon-scale",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[2,"padding-top","16px"],[1,"ml-3",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(t,e){1&t&&(Do(0,"div",0),Lo(1,qO,2,6,"div",1),Lo(2,jO,3,1,"div",2),Lo(3,YO,2,1,"div",3),Lo(4,UO,2,4,"p",4),Po(),Do(5,"div",5),Do(6,"div",6),Do(7,"div",7),No(8,"router-outlet"),Po(),Do(9,"div",8),No(10,"perun-web-apps-footer"),Po(),Po(),Po()),2&t&&(xo("ngStyle",Zc(6,KO,e.headerBackgroundColor,e.headerTextColor)),Qs(1),xo("ngIf","admin-gui"===e.application),Qs(1),xo("ngIf","publications"===e.application),Qs(1),xo("ngIf","user-profile"===e.application),Qs(1),xo("ngIf",!!e.headerTitle),Qs(2),xo("ngStyle",Zc(9,VO,e.getContentInnerMinHeight(),e.contentBackgroundColor)))},directives:[Fh,xh,o_,BO,NC],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}.router-icon-scale[_ngcontent-%COMP%]{transform:scale(.75);margin-top:.3rem}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),t})();const GO=function(t){return{background:t}},$O=function(t){return{"min-height":t}};function JO(t,e){if(1&t){const t=Ho();No(0,"perun-web-apps-notificator"),Do(1,"div",2),Do(2,"perun-web-apps-header",3),Wo("sidenavToggle",function(){return Re(t),zo(5).toggle()}),Po(),Do(3,"mat-sidenav-container"),Do(4,"mat-sidenav",4,5),No(6,"perun-web-apps-side-menu",6),Po(),Do(7,"mat-sidenav-content",7),Do(8,"div",8),No(9,"perun-web-apps-breadcrumbs"),No(10,"router-outlet"),Po(),Do(11,"perun-web-apps-footer",9),Wo("footerHeight",function(e){return Re(t),Go().setContentHeight(e)}),Po(),Po(),Po(),Po()}if(2&t){const t=zo(5),e=Go();Qs(4),xo("mode",e.sidebarMode)("ngStyle",Qc(6,GO,e.sideMenuBgColor))("opened",!e.isMobile()),Qs(2),xo("sideNav",t),Qs(1),xo("ngStyle",Qc(8,GO,e.contentBackgroundColor)),Qs(1),xo("ngStyle",Qc(10,$O,e.contentHeight))}}function QO(t,e){1&t&&No(0,"perun-web-apps-login-screen-base",10),2&t&&xo("application","user-profile")}let ZO=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.attributesManagerService=e,this.translateService=i,this.initAuth=n,this.changeDetector=s,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.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isLoginScreenShown||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(t=>{const e=t.find(t=>"preferredLanguage"===t.friendlyName);e&&e.value&&this.translateService.use(e.value)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=t.minWidth}setContentHeight(t){this.contentHeight="calc(100vh - 84px - "+t+"px)",this.changeDetector.detectChanges()}}return t.minWidth=992,t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ap),Ro(eE),Ro(qE),Ro(Tc))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-root"]],hostBindings:function(t,e){1&t&&Wo("resize",function(t){return e.getScreenSize(t)},!1,us)},decls:2,vars:2,consts:[[3,"ngIf"],[3,"application",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"],[3,"footerHeight"],[3,"application"]],template:function(t,e){1&t&&(Lo(0,JO,12,12,"ng-template",0),Lo(1,QO,1,1,"perun-web-apps-login-screen-base",1)),2&t&&(xo("ngIf",!e.isLoginScreenShown),Qs(1),xo("ngIf",e.isLoginScreenShown))},directives:[xh,AR,Rx,Zx,Qx,Fh,yx,AO,Jx,TO,o_,BO,XO],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}"]}),t})();var tD=i(9355);function eD(t,e){if(1&t){const t=Ho();Do(0,"button",15),Wo("click",function(){Re(t);const e=Go().index;return Go().removeValue(e)}),Do(1,"mat-icon"),Aa(2," indeterminate_check_box "),Po(),Po()}}function iD(t,e){if(1&t){const t=Ho();Do(0,"div",9),Do(1,"mat-form-field",10),No(2,"label",11),Do(3,"input",12),Wo("click",function(){const e=Re(t).index,i=Go();return i.readonly&&i.attribute.displayName&&i.showValue(i.keys[e],i.attribute.displayName)})("ngModelChange",function(e){const i=Re(t).index;return Go().keys[i]=e}),Po(),Po(),Do(4,"mat-form-field",10),No(5,"label",11),Do(6,"input",13),Wo("click",function(){const e=Re(t).$implicit,i=Go();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)})("ngModelChange",function(e){const i=Re(t).index;return Go().values[i]=e}),Po(),Po(),Lo(7,eD,3,0,"button",14),Po()}if(2&t){const t=e.index,i=Go();Qs(1),Zo("appearance",i.readonly?"none":"standard"),Qs(1),ea("for","",i.attribute.id,"-key-",t,""),Qs(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),ea("id","",i.attribute.id,"-key-",t,""),ta("name","key-",t,""),xo("ngModel",i.keys[t])("readonly",i.readonly),Qs(1),Zo("appearance",i.readonly?"none":"standard"),Qs(1),ea("for","",i.attribute.id,"-value-",t,""),Qs(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),ta("name","value-",t,""),ea("id","",i.attribute.id,"-value-",t,""),xo("readonly",i.readonly)("ngModel",i.values[t]),Qs(1),xo("ngIf",!i.readonly)}}function nD(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"more_horiz"),Po())}function sD(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"keyboard_arrow_up"),Po())}function rD(t,e){if(1&t){const t=Ho();Do(0,"button",16),Wo("click",function(){return Re(t),Go().onShowChange()}),Lo(1,nD,2,0,"mat-icon",17),Lo(2,sD,2,0,"mat-icon",17),Po()}if(2&t){const t=Go();Qs(1),xo("ngIf",!t.showMore),Qs(1),xo("ngIf",t.showMore)}}function oD(t,e){if(1&t){const t=Ho();Do(0,"button",18),Wo("click",function(){return Re(t),Go().addValue()}),Do(1,"mat-icon"),Aa(2," add_box "),Po(),Po()}}let aD=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(void 0!==this.attribute.value){const t=this.attribute.value;for(const[e,i]of Object.entries(t))this.keys.push(e),this.values.push(i)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=CE(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 e=0;ee.defaultItemsShown),Qs(1),xo("ngIf",!e.readonly))},directives:[Hk,pk,Nk,zh,PS,xh,xT,yL,qT,$k,dk,Fk,gA,NC],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}"]}),t})();const cD=["input"],uD=function(t){return{enterDuration:t}},lD=["*"],hD=new Ui("mat-checkbox-default-options",{providedIn:"root",factory:dD});function dD(){return{color:"accent",clickAction:"check-indeterminate"}}let pD=0;const fD=dD(),gD={provide:BT,useExisting:rt(()=>yD),multi:!0};class mD{}class _D{constructor(t){this._elementRef=t}}const bD=vM(MM(AM(wM(_D))));let yD=(()=>{class t extends bD{constructor(t,e,i,n,s,r,o){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=r,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++pD,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new lu,this.indeterminateChange=new lu,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||fD,this.color=this.defaultColor=this._options.color||fD.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=N_(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||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(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=N_(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=N_(t),e&&(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(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new mD;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${i}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Tc),Ro(Lb),Ro($u),Yi("tabindex"),Ro(aM,8),Ro(hD,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(vu(cD,5),vu(VM,5)),2&t){let t;Au(t=ku())&&(e._inputElement=t.first),Au(t=ku())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(Ea("id",e.id),So("tabindex",null),ua("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ua([gD]),po],ngContentSelectors:lD,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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(t,e){if(1&t&&(Jo(),Do(0,"label",0,1),Do(2,"span",2),Do(3,"input",3,4),Wo("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),Po(),Do(5,"span",5),No(6,"span",6),Po(),No(7,"span",7),Do(8,"span",8),ri(),Do(9,"svg",9),No(10,"path",10),Po(),oi(),No(11,"span",11),Po(),Po(),Do(12,"span",12,13),Wo("cdkObserveContent",function(){return e._onLabelTextChange()}),Do(14,"span",14),Aa(15,"\xa0"),Po(),Qo(16),Po(),Po()),2&t){const t=zo(1),i=zo(13);So("for",e.inputId),Qs(2),ua("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Qs(1),xo("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),So("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),Qs(2),xo("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Qc(19,uD,"NoopAnimations"===e._animationMode?0:150))}},directives:[VM,rb],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),t})(),wD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),MD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[XM,yM,ob,wD],yM,wD]}),t})();function AD(t,e){if(1&t){const t=Ho();Do(0,"mat-checkbox",2),Wo("change",function(){return Re(t),Go()._sendEventToParent()})("ngModelChange",function(e){return Re(t),Go().attribute.value=e}),Po()}2&t&&xo("ngModel",Go().attribute.value)}function vD(t,e){if(1&t&&(Do(0,"mat-label"),Aa(1),Po()),2&t){const t=Go();Qs(1),va(t.attribute.value)}}let TD=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent=new lu}ngOnInit(){this.readonly||(this.readonly=CE(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"div"),Lo(1,AD,1,1,"mat-checkbox",0),Lo(2,vD,2,1,"mat-label",1),Po()),2&t&&(Qs(1),xo("ngIf",!e.readonly),Qs(1),xo("ngIf",e.readonly))},directives:[xh,yD,dk,Fk,vT],styles:[""]}),t})();function kD(t){const{subscriber:e,counter:i,period:n}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:n},n)}function SD(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function CD(t,e){const i=e?"":"none";SD(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function ED(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function LD(t,e){return e?t+" "+e:t}function zD(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function RD(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function xD(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function OD(t,e,i){const{top:n,bottom:s,left:r,right:o}=t;return i>=n&&i<=s&&e>=r&&e<=o}function DD(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function PD(t,e,i,n){const{top:s,right:r,bottom:o,left:a,width:c,height:u}=t,l=c*e,h=u*e;return n>s-h&&na-l&&i{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:xD(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const n=e===this._document?e.documentElement:e,s=i.scrollPosition;let r,o;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();r=t.top,o=t.left}else r=e.scrollTop,o=e.scrollLeft;const a=s.top-r,c=s.left-o;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&n.contains(i)&&DD(t.clientRect,a,c)}),s.top=r,s.left=o,{top:a,left:c}}}function ID(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(t.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),t.preventDefault();const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new ND(i,s),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=N_(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>CD(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>q_(t)),this._handles.forEach(t=>CD(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(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=q_(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,YD),e.addEventListener("touchstart",this._pointerDown,jD)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?q_(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&VD(this._rootElement),VD(this._anchor),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(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),CD(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),CD(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&VD(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&VD(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){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(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);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(t){XD(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,n=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),r=this._getShadowRoot();i.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),ED(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),this._getPreviewInsertionPoint(i,r).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(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),n=XD(e),s=!n&&0!==e.button,r=this._rootElement,o=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||s||o)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor||"",r.style.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.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=xD(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){ED(this._rootElement,!0),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,i=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),s=this._getDragDistance(n),r=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s,dropPoint:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:s,dropPoint:n}),e.drop(this,i,this._initialIndex,this._initialContainer,r,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:n}){let s=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,t,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let n;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),n=GD(s,this._document),this._previewRef=s,t.matchSize?$D(n,e):n.style.transform=UD(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=ID(t),$D(n,t.getBoundingClientRect()),this._initialTransform&&(n.style.transform=this._initialTransform)}return SD(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),CD(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=RD(e,"transition-property"),n=i.find(t=>"transform"===t||"all"===t);if(!n)return 0;const s=i.indexOf(n),r=RD(e,"transition-duration"),o=RD(e,"transition-delay");return zD(r[s])+zD(o[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(n))},n=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=GD(this._placeholderRef,this._document)):i=ID(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,s=n?n.getBoundingClientRect():i,r=XD(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:s.left-i.left+(r.pageX-s.left-o.left),y:s.top-i.top+(r.pageY-s.top-o.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=XD(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=i.pageX-e.left,s=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=s,e.matrixTransform(t.inverse())}}return{x:n,y:s}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,s=this._boundaryRect,r=this._previewRect,o=s.top+e,a=s.bottom-(r.height-e);i=KD(i,s.left+t,s.right-(r.width-t)),n=KD(n,o,a)}return{x:i,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-s.x),o=Math.abs(i-s.y);return r>this._config.pointerDirectionChangeThreshold&&(n.x=e>s.x?1:-1,s.x=e),o>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,CD(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,YD),t.removeEventListener("touchstart",this._pointerDown,jD)}_applyRootElementTransform(t,e){const i=UD(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=LD(i,this._initialTransform)}_applyPreviewTransform(t,e){var i;const n=(null===(i=this._previewTemplate)||void 0===i?void 0:i.template)?void 0:this._initialTransform,s=UD(t,e);this._preview.style.transform=LD(s,n)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,r=n.right-i.right,o=i.top-n.top,a=n.bottom-i.bottom;i.width>n.width?(s>0&&(t+=s),r>0&&(t-=r)):t=0,i.height>n.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:XD(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&DD(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=eb(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const t=this._document;return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}return q_(i)}}function UD(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function KD(t,e,i){return Math.max(e,Math.min(i,t))}function VD(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function XD(t){return"t"===t.type[0]}function GD(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const n=e.createElement("div");return i.forEach(t=>n.appendChild(t)),n}function $D(t,e){t.style.width=`${e.width}px`,t.style.height=`${e.height}px`,t.style.transform=UD(e.left,e.top)}function JD(t,e,i){const n=QD(e,t.length-1),s=QD(i,t.length-1);if(n===s)return;const r=t[n],o=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new v,this.entered=new v,this.exited=new v,this.dropped=new v,this.sorted=new v,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=h.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new v,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=R_){return(!NA(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=R_),new b(i=>(i.add(e.schedule(kD,t,{subscriber:i,counter:0,period:t})),i))}(0,MA).pipe(FA(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode,e=this.autoScrollStep;1===this._verticalScrollDirection?eP(t,-e):2===this._verticalScrollDirection&&eP(t,e),1===this._horizontalScrollDirection?iP(t,-e):2===this._horizontalScrollDirection&&iP(t,e)})},this.element=q_(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new ND(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,n){let s;this._draggingStarted(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(t,e,i))):s=n;const r=this._activeDraggables,o=r.indexOf(t),a=t.getPlaceholderElement();let c=r[s];if(c===t&&(c=r[s+1]),o>-1&&r.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(a,e),r.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=r[0].getRootElement();e.parentNode.insertBefore(a,e),r.unshift(t)}else q_(this.element).appendChild(a),r.push(t);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,n,s,r,o){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:n,isPointerOverContainer:s,distance:r,dropPoint:o})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=q_(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?tP("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,n){if(this.sortingDisabled||!this._clientRect||!PD(this._clientRect,.05,e,i))return;const s=this._itemPositions,r=this._getItemIndexFromPointerPosition(t,e,i,n);if(-1===r&&s.length>0)return;const o="horizontal"===this._orientation,a=tP(s,e=>e.drag===t),c=s[r],u=c.clientRect,l=a>r?1:-1,h=this._getItemOffsetPx(s[a].clientRect,u,l),d=this._getSiblingOffsetPx(a,s,l),p=s.slice();JD(s,a,r),this.sorted.next({previousIndex:a,currentIndex:r,container:this,item:t}),s.forEach((e,i)=>{if(p[i]===e)return;const n=e.drag===t,s=n?h:d,r=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=s,o?(r.style.transform=LD(`translate3d(${Math.round(e.offset)}px, 0, 0)`,e.initialTransform),DD(e.clientRect,0,s)):(r.style.transform=LD(`translate3d(0, ${Math.round(e.offset)}px, 0)`,e.initialTransform),DD(e.clientRect,s,0))}),this._previousSwap.overlaps=OD(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((r,o)=>{o!==this._document&&r.clientRect&&!i&&PD(r.clientRect,.05,t,e)&&([n,s]=function(t,e,i,n){const s=nP(e,n),r=sP(e,i);let o=0,a=0;if(s){const e=t.scrollTop;1===s?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(r){const e=t.scrollLeft;1===r?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,r.clientRect,t,e),(n||s)&&(i=o))}),!n&&!s){const{width:r,height:o}=this._viewportRuler.getViewportSize(),a={width:r,height:o,top:0,right:r,bottom:o,left:0};n=nP(a,e),s=sP(a,t),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=q_(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=q_(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,initialTransform:e.style.transform||"",clientRect:xD(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=q_(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{var e;const i=t.getRootElement();if(i){const n=null===(e=this._itemPositions.find(e=>e.drag===t))||void 0===e?void 0:e.initialTransform;i.style.transform=n||""}}),this._siblings.forEach(t=>t._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(t,e,i){const n="horizontal"===this._orientation,s=e[t].clientRect,r=e[t+-1*i];let o=s[n?"width":"height"]*i;if(r){const t=n?"left":"top",e=n?"right":"bottom";-1===i?o-=r.clientRect[t]-s[e]:o+=s[t]-r.clientRect[e]}return o}_getItemOffsetPx(t,e,i){const n="horizontal"===this._orientation;let s=n?e.left-t.left:e.top-t.top;return-1===i&&(s+=n?e.width-t.width:e.height-t.height),s}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return n?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,n){const s="horizontal"===this._orientation,r=tP(this._itemPositions,({drag:r,clientRect:o},a,c)=>{if(r===t)return c.length<2;if(n){const t=s?n.x:n.y;if(r===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return s?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&in._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!OD(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,i);if(!n)return!1;const s=q_(this.element);return n===s||s.contains(n)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(t=>this.enterPredicate(t,this)||this._draggables.indexOf(t)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{DD(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 t=eb(q_(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._activeDraggables.filter(t=>t.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function tP(t,e){for(let i=0;i=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}function sP(t,e){const{left:i,right:n,width:s}=t,r=.05*s;return e>=i-r&&e<=i+r?1:e>=n-r&&e<=n+r?2:0}const rP=Q_({passive:!1,capture:!0});let oP=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=t=>t.isDragging(),this.pointerMove=new v,this.pointerUp=new v,this.scroll=new v,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.length>0&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,rP)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,rP)}startDragging(t,e){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:rP}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:rP}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){const e=this._activeDragInstances.indexOf(t);e>-1&&(this._activeDragInstances.splice(e,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(un($u),un(Ll))},t.\u0275prov=dt({factory:function(){return new t(un($u),un(Ll))},token:t,providedIn:"root"}),t})();const aP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let cP=(()=>{class t{constructor(t,e,i,n){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(t,e=aP){return new WD(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new ZD(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(un(Ll),un($u),un(ov),un(oP))},t.\u0275prov=dt({factory:function(){return new t(un(Ll),un($u),un(ov),un(oP))},token:t,providedIn:"root"}),t})();const uP=new Ui("CDK_DRAG_PARENT"),lP=new Ui("CdkDropListGroup"),hP=new Ui("CDK_DRAG_CONFIG");let dP=0;const pP=new Ui("CdkDropList");let fP=(()=>{class t{constructor(e,i,n,s,r,o,a){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=s,this._dir=r,this._group=o,this._destroyed=new v,this.connectedTo=[],this.id="cdk-drop-list-"+dP++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new lu,this.entered=new lu,this.exited=new lu,this.sorted=new lu,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,a&&this._assignDefaults(a),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,i)=>this.sortPredicate(t,e.data,i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=N_(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._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(nf(this._dir.value),FA(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=F_(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===i.indexOf(t)&&i.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=N_(this.sortingDisabled),e.autoScrollDisabled=N_(this.autoScrollDisabled),e.autoScrollStep=I_(this.autoScrollStep,2),e.connectedTo(i.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.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(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:s,listOrientation:r}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=s&&s,this.orientation=r||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(cP),Ro(Tc),Ro(sv),Ro(Db,8),Ro(lP,12),Ro(hP,8))},t.\u0275dir=Gt({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(So("id",e.id),ua("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Ua([{provide:lP,useValue:void 0},{provide:pP,useExisting:t}])]}),t._dropLists=[],t})();const gP=new Ui("CdkDragHandle"),mP=new Ui("CdkDragPlaceholder"),_P=new Ui("CdkDragPreview");let bP=(()=>{class t{constructor(e,i,n,s,r,o,a,c,u,l,h){this.element=e,this.dropContainer=i,this._ngZone=s,this._viewContainerRef=r,this._dir=a,this._changeDetectorRef=u,this._selfHandle=l,this._parentDrag=h,this._destroyed=new v,this.started=new lu,this.released=new lu,this.ended=new lu,this.entered=new lu,this.exited=new lu,this.dropped=new lu,this.moved=new b(t=>{const e=this._dragRef.moved.pipe(P(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=c.createDrag(e,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),o&&this._assignDefaults(o),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=N_(t),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.onStable.pipe(Zp(1),FA(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(nf(this._handles),Af(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),Gp(t=>U(...t.map(t=>t._stateChanges.pipe(nf(t))))),FA(this._destroyed)).subscribe(t=>{const e=this._dragRef,i=t.element.nativeElement;t.disabled?e.disableHandle(i):e.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?yP(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?yP(this.element.nativeElement,t):q_(t):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=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 i&&i?i:I_(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe(Zp(1)).subscribe(()=>{var i,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(i=s.classList)||void 0===i?void 0:i.contains("cdk-drag")){e.withParent((null===(n=t._dragInstances.find(t=>t.element.nativeElement===s))||void 0===n?void 0:n._dragRef)||null);break}s=s.parentElement}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.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(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:r,draggingDisabled:o,rootElementSelector:a,previewContainer:c}=t;this.disabled=null!=o&&o,this.dragStartDelay=i||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),s&&(this.previewClass=s),r&&(this.boundaryElement=r),a&&(this.rootElementSelector=a),c&&(this.previewContainer=c)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(pP,12),Ro(Ll),Ro($u),Ro(Nc),Ro(hP,8),Ro(Db,8),Ro(cP),Ro(Tc),Ro(gP,10),Ro(uP,12))},t.\u0275dir=Gt({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,_P,5),Tu(i,mP,5),Tu(i,gP,5)),2&t){let t;Au(t=ku())&&(e._previewTemplate=t.first),Au(t=ku())&&(e._placeholderTemplate=t.first),Au(t=ku())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&ua("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Ua([{provide:uP,useExisting:t}]),ae]}),t._dragInstances=[],t})();function yP(t,e){let i=t.parentElement;for(;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}let wP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[cP],imports:[av]}),t})();const MP=["*"],AP=new Ui("MatChipRemove"),vP=new Ui("MatChipAvatar"),TP=new Ui("MatChipTrailingIcon");class kP{constructor(t){this._elementRef=t}}const SP=vM(MM(AM(kP),"primary"),-1);let CP=(()=>{class t extends SP{constructor(t,e,i,n,s,r,o,a){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=s,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 v,this._onBlur=new v,this.selectionChange=new lu,this.destroyed=new lu,this.removed=new lu,this._addHostClassName(),this._chipRippleTarget=r.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new UM(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===o,this.tabIndex=null!=a&&parseInt(a)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=N_(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=N_(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=N_(t)}get removable(){return this._removable}set removable(t){this._removable=N_(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):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(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),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(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case 46:case 8:this.remove(),t.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe(Zp(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro($u),Ro(W_),Ro(KM,8),Ro(Tc),Ro(Ll),Ro(aM,8),Yi("tabindex"))},t.\u0275dir=Gt({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,vP,5),Tu(i,TP,5),Tu(i,AP,5)),2&t){let t;Au(t=ku())&&(e.avatar=t.first),Au(t=ku())&&(e.trailingIcon=t.first),Au(t=ku())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&Wo("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(So("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),ua("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._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:[po]}),t})();const EP=new Ui("mat-chips-default-options");class LP{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const zP=TM(LP);let RP=0;class xP{constructor(t,e){this.source=t,this.value=e}}let OP=(()=>{class t extends zP{constructor(t,e,i,n,s,r,o){super(r,n,s,o),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this.ngControl=o,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new v,this._uid="mat-chip-list-"+RP++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new lu,this.valueChange=new lu,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=N_(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=N_(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,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(t){this._disabled=N_(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=N_(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return U(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return U(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return U(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return U(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new mb(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(FA(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(FA(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(nf(null),FA(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 ev(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(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&tt.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}}_selectValue(t,e=!0){const i=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new xP(this,e)),this.valueChange.emit(e),this._onChange(e),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(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&e._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Tc),Ro(Db,8),Ro(Nk,8),Ro(Xk,8),Ro(NM),Ro(lk,10))},t.\u0275cmp=Yt({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){if(1&t&&Tu(i,CP,5),2&t){let t;Au(t=ku())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&Wo("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(Ea("id",e._uid),So("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),ua("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Ua([{provide:yT,useExisting:t}]),po],ngContentSelectors:MP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),Qo(1),Po())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),DP=0,PP=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new lu,this.placeholder="",this.id="mat-chip-list-input-"+DP++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=N_(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=N_(t)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(t){if(t){if(9!==t.keyCode||S_(t,"shiftKey")||this._chipList._allowFocusEscape(),8===t.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void t.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(t)}_keyup(t){!this._focusLastChipOnBackspace&&8===t.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,t.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this.inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==t||t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this.inputElement.focus(t)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(t){return!S_(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(EP))},t.\u0275dir=Gt({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&Wo("keydown",function(t){return e._keydown(t)})("keyup",function(t){return e._keyup(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(Ea("id",e.id),So("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ae]}),t})();const NP={separatorKeyCodes:[13]};let IP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[NM,{provide:EP,useValue:NP}],imports:[[yM]]}),t})();function BP(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",9),Wo("mousedown",function(){return Re(t),Go(2).dragDisabled=!1}),Aa(1,"drag_indicator"),Po()}}function FP(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",10),Wo("click",function(){Re(t);const e=Go().$implicit;return Go().edit(e)}),Aa(1,"edit"),Po()}}function HP(t,e){if(1&t){const t=Ho();Do(0,"mat-icon",11),Wo("click",function(){Re(t);const e=Go().$implicit;return Go().remove(e)}),Aa(1,"cancel"),Po()}}function qP(t,e){if(1&t){const t=Ho();Do(0,"mat-chip",4),Wo("removed",function(){const e=Re(t).$implicit,i=Go();return i.remove(e),i._sendEventToParent()}),Lo(1,BP,2,0,"mat-icon",5),Do(2,"div",6),Wo("click",function(){const e=Re(t).$implicit,i=Go();return i.readonly&&void 0!==i.attribute.displayName&&i.showValue(e,i.attribute.displayName)}),Aa(3),Po(),Lo(4,FP,2,0,"mat-icon",7),Lo(5,HP,2,0,"mat-icon",8),Po()}if(2&t){const t=e.$implicit,i=Go();xo("selectable",i.selectable)("cdkDragData",t)("removable",i.removable),Qs(1),xo("ngIf",i.removable),Qs(1),ua("cursor-pointer",i.readonly&&void 0!==i.attribute.displayName),Qs(1),va(t),Qs(1),xo("ngIf",i.removable),Qs(1),xo("ngIf",i.removable)}}function jP(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"more_horiz"),Po())}function YP(t,e){1&t&&(Do(0,"mat-icon"),Aa(1,"keyboard_arrow_up"),Po())}function WP(t,e){if(1&t){const t=Ho();Do(0,"div",12),Do(1,"span",13),Do(2,"button",14),Wo("click",function(){return Re(t),Go().onShowChange()}),Lo(3,jP,2,0,"mat-icon",15),Lo(4,YP,2,0,"mat-icon",15),Po(),Po(),Po()}if(2&t){const t=Go();Qs(1),xo("matTooltip",t.showMore?"Show less":"Show more")("matTooltipPosition","above"),Qs(2),xo("ngIf",!t.showMore),Qs(1),xo("ngIf",t.showMore)}}function UP(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",12),Do(1,"input",16),Wo("matChipInputTokenEnd",function(e){return Re(t),Go().add(e)})("change",function(){return Re(t),Go()._sendEventToParent()}),Po(),Po()}if(2&t){const t=Go(),e=zo(2);Qs(1),xo("matChipInputFor",e)("matChipInputSeparatorKeyCodes",t.separatorKeysCodes)("matChipInputAddOnBlur",t.addOnBlur)}}let KP=(()=>{class t{constructor(t){this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new lu,this.readonly=!1}ngOnInit(){this.removable=!CE(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=CE(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(t){const e=t.input,i=t.value;(i||"").trim()&&(this.attribute.value.push(i.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),e&&(e.value=""),this.sendEventToParent.emit()}remove(t){const e=SE();e.width="400px",e.data={name:t},this.dialog.open(Fz,e).afterClosed().subscribe(e=>{if(e){const e=this.attribute.value.indexOf(t);this.attribute.value.splice(e,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(t){this.dragDisabled=!0,JD(this.attribute.value,t.previousIndex,t.currentIndex),this.values=Object.values(this.attribute.value)}edit(t){const e=this.attribute.value.indexOf(t),i=SE();i.width="600px",i.data={attribute:this.attribute,index:e},this.dialog.open(Bz,i).afterClosed().subscribe(t=>{t&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(t,e){const i=SE();i.width="350px",i.data={value:t,title:e},this.dialog.open(Iz,i)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE))},t.\u0275cmp=Yt({type:t,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(t,e){1&t&&(Do(0,"div"),Do(1,"mat-chip-list",0,1),Wo("cdkDropListDropped",function(t){return e.drop(t),e._sendEventToParent()}),Lo(3,qP,6,9,"mat-chip",2),Lo(4,WP,5,4,"div",3),Lo(5,UP,2,3,"mat-form-field",3),Po(),Po()),2&t&&(Qs(1),xo("cdkDropListDisabled",e.dragDisabled),Qs(2),xo("ngForOf",e.values.slice(0,e.itemsShown)),Qs(1),xo("ngIf",e.values.length>e.defaultItemsShown),Qs(1),xo("ngIf",!e.readonly))},directives:[OP,fP,zh,xh,CP,bP,NC,PS,gA,xT,yL,PP],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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})(),VP=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new lu}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=CE(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t,e){const i=SE();i.width="350px",i.data={value:t,title:e},this.dialog.open(Iz,i)}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(t,e){1&t&&(Do(0,"mat-form-field",0),Do(1,"input",1),Wo("click",function(){return e.readonly&&void 0!==e.value&&e.showValue(e.value,e.attribute.displayName)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),Po(),Po()),2&t&&(Zo("appearance",e.readonly?"none":"standard"),Qs(1),ua("cursor-pointer",e.readonly&&void 0!==e.value),xo("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[xT,yL,qT,dk,Fk],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),t})(),XP=(()=>{class t{constructor(t){this.dialog=t,this.readonly=!1,this.sendEventToParent=new lu}ngOnInit(){this.readonly||(this.readonly=CE(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(t){const e=SE();e.width="350px",e.data={value:t.value,title:t.displayName},this.dialog.open(Iz,e)}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE))},t.\u0275cmp=Yt({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(t,e){1&t&&(Do(0,"mat-form-field",0),Do(1,"input",1),Wo("click",function(){return e.readonly&&void 0!==e.attribute.value&&e.showValue(e.attribute)})("ngModelChange",function(t){return e.attribute.value=t})("keydown",function(){return e._sendEventToParent()}),Po(),Po()),2&t&&(Zo("appearance",e.readonly?"none":"standard"),Qs(1),ua("cursor-pointer",e.readonly&&void 0!==e.attribute.value),xo("readonly",e.readonly)("ngModel",e.attribute.value))},directives:[xT,yL,jk,qT,dk,Fk],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),t})();const GP=["map"];function $P(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-boolean",3),Wo("sendEventToParent",function(){return Re(t),Go()._sendEventToParent2()}),Po()}if(2&t){const t=Go();xo("attribute",t.attribute)("readonly",t.readonly)}}function JP(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-list",3),Wo("sendEventToParent",function(){return Re(t),Go()._sendEventToParent2()}),Po()}if(2&t){const t=Go();xo("attribute",t.attribute)("readonly",t.readonly)}}function QP(t,e){if(1&t&&No(0,"perun-web-apps-attribute-value-map",4,5),2&t){const t=Go();xo("attribute",t.attribute)("readonly",t.readonly)}}function ZP(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-string",3),Wo("sendEventToParent",function(){return Re(t),Go()._sendEventToParent2()}),Po()}if(2&t){const t=Go();xo("attribute",t.attribute)("readonly",t.readonly)}}function tN(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-attribute-value-integer",3),Wo("sendEventToParent",function(){return Re(t),Go()._sendEventToParent2()}),Po()}if(2&t){const t=Go();xo("attribute",t.attribute)("readonly",t.readonly)}}let eN=(()=>{class t{constructor(){this.readonly=!1,this.sendEventToParent2=new lu}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(t,e){if(1&t&&vu(GP,5),2&t){let t;Au(t=ku())&&(e.mapComponent=t.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(t,e){1&t&&(Do(0,"div"),Lo(1,$P,1,2,"perun-web-apps-attribute-value-boolean",0),Lo(2,JP,1,2,"perun-web-apps-attribute-value-list",0),Do(3,"div",1),Wo("click",function(){return e._sendEventToParent2()}),Lo(4,QP,2,2,"perun-web-apps-attribute-value-map",2),Po(),Lo(5,ZP,1,2,"perun-web-apps-attribute-value-string",0),Lo(6,tN,1,2,"perun-web-apps-attribute-value-integer",0),Po()),2&t&&(Qs(1),xo("ngIf","java.lang.Boolean"===e.attribute.type),Qs(1),xo("ngIf","java.util.ArrayList"===e.attribute.type),Qs(2),xo("ngIf","java.util.LinkedHashMap"===e.attribute.type),Qs(1),xo("ngIf","java.lang.String"===e.attribute.type||"java.lang.LargeString"===e.attribute.type),Qs(1),xo("ngIf","java.lang.Integer"===e.attribute.type))},directives:[xh,TD,KP,aD,VP,XP],styles:[""]}),t})();function iN(t,e){1&t&&No(0,"mat-spinner",3)}function nN(t,e){if(1&t){const t=Ho();Do(0,"mat-option",16),Wo("click",function(){const e=Re(t).$implicit;return Go(4).changeLanguage(e)}),Aa(1),nu(2,"translate"),nu(3,"uppercase"),Po()}if(2&t){const t=e.$implicit;xo("value",t),Qs(1),Ta(" ",su(2,2,su(3,4,"SHARED_LIB.LANGUAGES."+t))," ")}}function sN(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",13),Do(1,"mat-select",14),Wo("valueChange",function(e){return Re(t),Go(3).currentLang=e}),Lo(2,nN,4,6,"mat-option",15),Po(),Po()}if(2&t){const t=Go(3);Qs(1),xo("value",t.currentLang),Qs(1),xo("ngForOf",t.languages)}}function rN(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"a",17),Aa(2),Po(),Do(3,"button",18),Wo("click",function(){return Re(t),Go(3).changeEmail()}),Aa(4),nu(5,"translate"),nu(6,"customTranslate"),Po(),Po()}if(2&t){const t=Go(3);Qs(1),ta("href","mailto:",t.email,"",ts),Qs(1),va(t.email),Qs(2),va(su(5,3,su(6,5,"PROFILE_PAGE.CHANGE_EMAIL")))}}function oN(t,e){if(1&t){const t=Ho();Do(0,"mat-option",16),Wo("click",function(){const e=Re(t).$implicit;return Go(4).changeTimeZone(e)}),Aa(1),Po()}if(2&t){const t=e.$implicit;xo("value",t),Qs(1),Ta(" ",t," ")}}function aN(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",13),Do(1,"mat-select",19),Wo("valueChange",function(e){return Re(t),Go(3).currentTimezone=e}),Lo(2,oN,2,2,"mat-option",15),Po(),Po()}if(2&t){const t=Go(3);Qs(1),xo("value",t.currentTimezone),Qs(1),xo("ngForOf",t.timeZones)}}function cN(t,e){1&t&&(Do(0,"p"),Aa(1,"-"),Po())}function uN(t,e){1&t&&No(0,"perun-web-apps-attribute-value",22),2&t&&xo("attribute",Go(2).$implicit.attribute)("readonly",!0)}function lN(t,e){if(1&t&&(Do(0,"div"),Lo(1,cN,2,0,"p",20),Lo(2,uN,1,2,"perun-web-apps-attribute-value",21),Po()),2&t){const t=Go().$implicit;Qs(1),xo("ngIf",!t.attribute.value),Qs(1),xo("ngIf",t.attribute.value)}}function hN(t,e){if(1&t&&(Do(0,"tr"),Do(1,"td",7),Do(2,"div",8),Aa(3),Po(),Po(),Do(4,"td",9),Lo(5,sN,3,2,"mat-form-field",10),Lo(6,rN,7,7,"div",11),Lo(7,aN,3,2,"mat-form-field",10),Lo(8,lN,3,2,"div",12),Po(),Po()),2&t){const t=e.$implicit,i=Go(2);Qs(2),xo("matTooltip",t["tooltip_"+i.currentLang]),Qs(1),va(t["displayName_"+i.currentLang]),Qs(1),xo("ngSwitch",t.attribute.friendlyName),Qs(1),xo("ngSwitchCase","preferredLanguage"),Qs(1),xo("ngSwitchCase","preferredMail"),Qs(1),xo("ngSwitchCase","timezone")}}function dN(t,e){if(1&t&&(Do(0,"table",4),Do(1,"tbody"),Do(2,"tr"),Do(3,"td",5),Aa(4),nu(5,"translate"),nu(6,"customTranslate"),Po(),Do(7,"td"),Aa(8),Po(),Po(),Lo(9,hN,9,6,"tr",6),Po(),Po()),2&t){const t=Go();Qs(4),va(su(5,3,su(6,5,"PROFILE_PAGE.NAME"))),Qs(4),va(t.fullName),Qs(1),xo("ngForOf",t.additionalAttributes)}}let pN=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u){this.translateService=t,this.dialog=e,this.authzResolverService=i,this.attributesManagerService=n,this.usersManagerService=s,this.route=r,this.router=o,this.notificator=a,this.storeService=c,this.apiRequestConfiguration=u,this.currentLang="en",this.languages=this.storeService.get("supportedLanguages"),this.timeZones=tD.tz.names().filter(t=>!t.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",t.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){const t=this.route.snapshot.queryParamMap,e=t.get("token"),i=t.get("u");this.loading=!0,e&&i?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(e,Number.parseInt(i,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const t=SE();t.width="600px",this.dialog.open(Kz,t).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(t=>{this.userId=t.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.fullName=(new JE).transform(t);const e=t.userAttributes.find(t=>"preferredMail"===t.friendlyName);this.email=e.value,this.languageAttribute=t.userAttributes.find(t=>"preferredLanguage"===t.friendlyName),this.currentLang=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value:"en",this.timezoneAttribute=t.userAttributes.find(t=>"timezone"===t.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const i=this.storeService.get("profile_page_attributes"),n=this.storeService.get("supportedLanguages");let s=0;i.forEach(e=>{const r=t.userAttributes.find(t=>t.friendlyName===e.friendly_name);r?(s++,this.addAttribute(r,e,n)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${e.is_virtual?"virt":"def"}:${e.friendly_name}`).subscribe(t=>{this.addAttribute(t,e,n),s++,this.loading=s!==i.length}),this.loading=s!==i.length})})})}addAttribute(t,e,i){var n;const s={attribute:t};for(const r of i)s[`displayName_${r}`]=e[`display_name_${r}`]&&e[`display_name_${r}`].length?e[`display_name_${r}`]:t.displayName,s[`tooltip_${r}`]=null!==(n=e[`tooltip_${r}`])&&void 0!==n?n:"";this.additionalAttributes.push(s)}changeLanguage(t){this.currentLang=t,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(()=>{})}changeTimeZone(t){this.currentTimezone=t,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 t=SE();t.width="350px",t.data={userId:this.userId},this.dialog.open(Uz,t).afterClosed().subscribe(t=>{t&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(t=>{this.email=t.value})}}return t.\u0275fac=function(e){return new(e||t)(Ro(eE),Ro(bE),Ro(vp),Ro(Ap),Ro(Lp),Ro(Dg),Ro(i_),Ro(WE),Ro(BE),Ro(YE))},t.\u0275cmp=Yt({type:t,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-stroked-button","",1,"ml-2",3,"click"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(t,e){1&t&&(Do(0,"div",0),Lo(1,iN,1,0,"mat-spinner",1),Lo(2,dN,10,7,"table",2),Po()),2&t&&(Qs(1),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[xh,cL,zh,PS,Nh,Ih,Bh,xT,yS,oA,gA,eN],pipes:[iE,QE,Kh],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}"]}),t})();const fN=["mat-sort-header",""];function gN(t,e){if(1&t){const t=Ho();Do(0,"div",3),Wo("@arrowPosition.start",function(){return Re(t),Go()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Re(t),Go()._disableViewStateAnimation=!1}),No(1,"div",4),Do(2,"div",5),No(3,"div",6),No(4,"div",7),No(5,"div",8),Po(),Po()}if(2&t){const t=Go();xo("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),Qs(2),xo("@indicator",t._getArrowDirectionState()),Qs(1),xo("@leftPointer",t._getArrowDirectionState()),Qs(1),xo("@rightPointer",t._getArrowDirectionState())}}const mN=["*"],_N=new Ui("MAT_SORT_DEFAULT_OPTIONS");class bN{}const yN=kM(wM(bN));let wN=(()=>{class t extends yN{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new v,this.start="asc",this._direction="",this.sortChange=new lu}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=N_(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,i,n;if(!t)return"";const s=null!==(i=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==i?i:!!(null===(n=this._defaultOptions)||void 0===n?void 0:n.disableClear);let r=function(t,e){let i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}(t.start||this.start,s),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(Ro(_N,8))},t.\u0275dir=Gt({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[po,ae]}),t})();const MN=mM.ENTERING+" "+gM.STANDARD_CURVE,AN={indicator:Bb("indicator",[Yb("active-asc, asc",jb({transform:"translateY(0px)"})),Yb("active-desc, desc",jb({transform:"translateY(10px)"})),Ub("active-asc <=> active-desc",Fb(MN))]),leftPointer:Bb("leftPointer",[Yb("active-asc, asc",jb({transform:"rotate(-45deg)"})),Yb("active-desc, desc",jb({transform:"rotate(45deg)"})),Ub("active-asc <=> active-desc",Fb(MN))]),rightPointer:Bb("rightPointer",[Yb("active-asc, asc",jb({transform:"rotate(45deg)"})),Yb("active-desc, desc",jb({transform:"rotate(-45deg)"})),Ub("active-asc <=> active-desc",Fb(MN))]),arrowOpacity:Bb("arrowOpacity",[Yb("desc-to-active, asc-to-active, active",jb({opacity:1})),Yb("desc-to-hint, asc-to-hint, hint",jb({opacity:.54})),Yb("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",jb({opacity:0})),Ub("* => asc, * => desc, * => active, * => hint, * => void",Fb("0ms")),Ub("* <=> *",Fb(MN))]),arrowPosition:Bb("arrowPosition",[Ub("* => desc-to-hint, * => desc-to-active",Fb(MN,Wb([jb({transform:"translateY(-25%)"}),jb({transform:"translateY(0)"})]))),Ub("* => hint-to-desc, * => active-to-desc",Fb(MN,Wb([jb({transform:"translateY(0)"}),jb({transform:"translateY(25%)"})]))),Ub("* => asc-to-hint, * => asc-to-active",Fb(MN,Wb([jb({transform:"translateY(25%)"}),jb({transform:"translateY(0)"})]))),Ub("* => hint-to-asc, * => active-to-asc",Fb(MN,Wb([jb({transform:"translateY(0)"}),jb({transform:"translateY(-25%)"})]))),Yb("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",jb({transform:"translateY(0)"})),Yb("hint-to-desc, active-to-desc, desc",jb({transform:"translateY(-25%)"})),Yb("hint-to-asc, active-to-asc, asc",jb({transform:"translateY(25%)"}))]),allowChildren:Bb("allowChildren",[Ub("* <=> *",[Vb("@*",Kb(),{optional:!0})])])};let vN=(()=>{class t{constructor(){this.changes=new v}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const TN={provide:vN,deps:[[new fn,new gn,vN]],useFactory:function(t){return t||new vN}};class kN{}const SN=wM(kN);let CN=(()=>{class t extends SN{constructor(t,e,i,n,s,r){super(),this._intl=t,this._changeDetectorRef=e,this._sort=i,this._columnDef=n,this._focusMonitor=s,this._elementRef=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=N_(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.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(t){this._isDisabled()||32!==t.keyCode&&13!==t.keyCode||(t.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 t=this._viewState.fromState;return(t?`${t}-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()}_handleStateChanges(){this._rerenderSubscription=U(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 t.\u0275fac=function(e){return new(e||t)(Ro(vN),Ro(Tc),Ro(wN,8),Ro("MAT_SORT_HEADER_COLUMN_DEF",8),Ro(Lb),Ro(Qa))},t.\u0275cmp=Yt({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&Wo("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(So("aria-sort",e._getAriaSortAttribute()),ua("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[po],attrs:fN,ngContentSelectors:mN,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(Jo(),Do(0,"div",0),Do(1,"div",1),Qo(2),Po(),Lo(3,gN,6,6,"div",2),Po()),2&t&&(ua("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),So("tabindex",e._isDisabled()?null:0),Qs(3),xo("ngIf",e._renderArrow()))},directives:[xh],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:[AN.indicator,AN.leftPointer,AN.rightPointer,AN.arrowOpacity,AN.arrowPosition,AN.allowChildren]},changeDetection:0}),t})(),EN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[TN],imports:[[Xh,yM]]}),t})(),LN=(()=>{class t{constructor(t){this.elementRef=t}ngOnInit(){this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa))},t.\u0275dir=Gt({type:t,selectors:[["","perunWebAppsAutoFocus",""]]}),t})(),zN=(()=>{class t{constructor(){}onClick(t){if(1===t.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),e=location.search;window.open(t+e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(t,e){1&t&&Wo("mouseup",function(t){return e.onClick(t)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),t})(),RN=(()=>{class t{transform(t){const e=t.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"getMailFromAttributes",type:t,pure:!0}),t})();function xN(t,e){1&t&&No(0,"th",17)}function ON(t,e){if(1&t){const t=Ho();Do(0,"td",18),Do(1,"mat-checkbox",19),Wo("change",function(e){const i=Re(t).$implicit,n=Go();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function DN(t,e){1&t&&(Do(0,"th",20),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function PN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.userExtSource.id)}}function NN(t,e){1&t&&(Do(0,"th",17),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function IN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),nu(2,"getMailFromAttributes"),Po()),2&t){const t=e.$implicit;Qs(1),va(su(2,1,t.attributes))}}function BN(t,e){if(1&t&&(Do(0,"th",20),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t){const t=Go();Qs(1),va(su(2,1,su(3,3,t.extSourceNameHeader?t.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function FN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.userExtSource.extSource.name)}}function HN(t,e){if(1&t&&(Do(0,"th",20),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t){const t=Go();Qs(1),va(su(2,1,su(3,3,t.loginHeader?t.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function qN(t,e){if(1&t&&(Do(0,"td",21),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.userExtSource.login)}}function jN(t,e){1&t&&(Do(0,"th",20),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function YN(t,e){if(1&t&&(Do(0,"td",22),Aa(1),nu(2,"date"),Po()),2&t){const t=e.$implicit;Qs(1),va(ru(2,1,t.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function WN(t,e){1&t&&No(0,"tr",23)}const UN=function(t,e){return["/admin","users",t,"identities",e]};function KN(t,e){if(1&t&&No(0,"tr",24),2&t){const t=e.$implicit,i=Go();ua("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),xo("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:Zc(6,UN,i.userId,t.userExtSource.id))("routerLink",i.disableRouting?null:Zc(9,UN,i.userId,t.userExtSource.id))}}function VN(t,e){1&t&&(Do(0,"app-alert",25),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let XN=(()=>{class t{constructor(t,e){this.route=t,this.authResolver=e,this.selection=new ev,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new lu,this.pageSizeOptions=kE}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.disableRouting||this.route.parent.params.subscribe(t=>{this.userId=t.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new Tz(this.userExtSources),this.setDataSource()}getDataForColumn(t,e){switch(e){case"id":return t.userExtSource.id.toString();case"mail":{const e=t.attributes.find(t=>"mail"===t.friendlyName);return e?e.value.toString():"N/A"}case"extSourceName":return t.userExtSource.extSource.name;case"login":return t.userExtSource.login;case"lastAccess":return t.userExtSource.lastAccess.split(".")[0];default:return""}}exportData(t){xE(RE(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zE(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>LE(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t.userExtSource)?"deselect":"select"} row ${t.userExtSource.id+1}`}}return t.\u0275fac=function(e){return new(e||t)(Ro(Dg),Ro(Ip))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(t,e){if(1&t&&(vu(NE,7),vu(wN,7)),2&t){let t;Au(t=ku())&&(e.child=t.first),Au(t=ku())&&(e.matSort=t.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[ae],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"perun-web-apps-table-wrapper",1),Wo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),Do(2,"table",2),Io(3,3),Lo(4,xN,1,0,"th",4),Lo(5,ON,2,2,"td",5),Bo(),Io(6,6),Lo(7,DN,4,5,"th",7),Lo(8,PN,2,1,"td",8),Bo(),Io(9,9),Lo(10,NN,4,5,"th",4),Lo(11,IN,3,3,"td",8),Bo(),Io(12,10),Lo(13,BN,4,5,"th",7),Lo(14,FN,2,1,"td",8),Bo(),Io(15,11),Lo(16,HN,4,5,"th",7),Lo(17,qN,2,1,"td",8),Bo(),Io(18,12),Lo(19,jN,4,5,"th",7),Lo(20,YN,3,4,"td",13),Bo(),Lo(21,WN,1,0,"tr",14),Lo(22,KN,1,12,"tr",15),Po(),Po(),Po(),Lo(23,VN,4,5,"app-alert",16)),2&t&&(xo("hidden",0===e.userExtSources.length||0===e.dataSource.filteredData.length),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(19),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns),Qs(1),xo("ngIf",0===e.userExtSources.length))},directives:[NE,pz,wN,mz,gz,fz,yz,wz,xh,_z,bz,yD,CN,Mz,Az,zN,n_,jz],pipes:[iE,QE,RN,Vh],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),t})();function GN(t,e){1&t&&No(0,"mat-spinner",3)}function $N(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h1",8),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Do(5,"button",5),Wo("click",function(){return Re(t),Go(2).addIdentity()}),Aa(6),nu(7,"translate"),nu(8,"customTranslate"),Po(),Do(9,"button",6),Wo("click",function(){Re(t);const e=Go(2);return e.removeIdentity(e.certSelection)}),Aa(10),nu(11,"translate"),nu(12,"customTranslate"),Po(),No(13,"perun-web-apps-user-ext-sources-list",11),Po()}if(2&t){const t=Go(2);Qs(2),va(su(3,10,su(4,12,"IDENTITIES.CERT"))),Qs(4),va(su(7,14,su(8,16,"IDENTITIES.ADD"))),Qs(3),xo("disabled",0===t.certSelection.selected.length),Qs(1),va(su(11,18,su(12,20,"IDENTITIES.REMOVE"))),Qs(3),xo("userExtSources",t.certExtSources)("selection",t.certSelection)("extSourceNameHeader",t.extSourceNameCert)("loginHeader",t.loginCert)("displayedColumns",t.displayedColumnsCert)("disableRouting",!0)}}function JN(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h1",4),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Do(5,"button",5),Wo("click",function(){return Re(t),Go().addIdentity()}),Aa(6),nu(7,"translate"),nu(8,"customTranslate"),Po(),Do(9,"button",6),Wo("click",function(){Re(t);const e=Go();return e.removeIdentity(e.idpSelection)}),Aa(10),nu(11,"translate"),nu(12,"customTranslate"),Po(),No(13,"perun-web-apps-user-ext-sources-list",7),Lo(14,$N,14,22,"div",2),Do(15,"h1",8),Aa(16),nu(17,"translate"),nu(18,"customTranslate"),Do(19,"mat-icon",9),nu(20,"translate"),nu(21,"customTranslate"),Aa(22," info_outline "),Po(),Po(),Do(23,"button",6),Wo("click",function(){Re(t);const e=Go();return e.removeIdentity(e.otherSelection)}),Aa(24),nu(25,"translate"),nu(26,"customTranslate"),Po(),No(27,"perun-web-apps-user-ext-sources-list",10),Po()}if(2&t){const t=Go();Qs(2),va(su(3,19,su(4,21,"IDENTITIES.IDP"))),Qs(4),va(su(7,23,su(8,25,"IDENTITIES.ADD"))),Qs(3),xo("disabled",0===t.idpSelection.selected.length),Qs(1),va(su(11,27,su(12,29,"IDENTITIES.REMOVE"))),Qs(3),xo("userExtSources",t.idpExtSources)("selection",t.idpSelection)("displayedColumns",t.displayedColumnsIdp)("loginHeader",t.loginIdp)("disableRouting",!0),Qs(1),xo("ngIf",t.displayCertificates),Qs(2),Ta(" ",su(17,31,su(18,33,"IDENTITIES.OTHER"))," "),Qs(3),xo("matTooltip",su(20,35,su(21,37,"IDENTITIES.OTHER_TOOLTIP"))),Qs(4),xo("disabled",0===t.otherSelection.selected.length),Qs(1),va(su(25,39,su(26,41,"IDENTITIES.REMOVE"))),Qs(3),xo("userExtSources",t.otherExtSources)("selection",t.otherSelection)("extSourceNameHeader",t.extSourceNameOther)("displayedColumns",t.displayedColumnsOther)("disableRouting",!0)}}let QN=(()=>{class t{constructor(t,e,i,n,s){this.usersManagerService=t,this.storage=e,this.registrarManagerService=i,this.dialog=n,this.attributesManagerService=s,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new ev(!0,[]),this.certSelection=new ev(!0,[]),this.otherSelection=new ev(!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=["select","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(t=>{let e=t.length;t.forEach(t=>{this.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(i=>{i&&i.value?(t.userExtSource.extSource.name=i.value,e--,this.loading=0!==e,this.addToList(t)):this.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(i=>{e--,i&&i.value&&(t.userExtSource.extSource.name=i.value),this.loading=0!==e,this.addToList(t)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(t=>{const e=this.storage.getPerunPrincipal().extSourceType,i=this.storage.get("consolidator_base_url");window.location.href=`${i}${e&&e.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${t}`})}removeIdentity(t){const e=SE();e.width="600px",e.data={theme:"user-theme",userId:this.userId,extSources:t.selected},this.dialog.open(Rz,e).afterClosed().subscribe(e=>{e&&(t.clear(),this.refreshTables())})}addToList(t){t.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(t):t.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(t):this.otherExtSources.push(t)}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lp),Ro(BE),Ro(Cp),Ro(bE),Ro(Ap))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",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(t,e){1&t&&(Do(0,"div",0),Lo(1,GN,1,0,"mat-spinner",1),Lo(2,JN,28,43,"div",2),Po()),2&t&&(Qs(1),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[xh,cL,gA,XN,NC,PS],pipes:[iE,QE],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),t})();const ZN=["panel"];function tI(t,e){if(1&t&&(Do(0,"div",0,1),Qo(2),Po()),2&t){const t=e.id,i=Go();xo("id",i.id)("ngClass",i._classList),So("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const eI=["*"];let iI=0;class nI{constructor(t,e){this.source=t,this.option=e}}class sI{}const rI=AM(sI),oI=new Ui("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let aI=(()=>{class t extends rI{constructor(t,e,i,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=h.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new lu,this.opened=new lu,this.closed=new lu,this.optionActivated=new lu,this._classList={},this.id="mat-autocomplete-"+iI++,this.inertGroups=(null==n?void 0:n.SAFARI)||!1,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=N_(t)}set classList(t){this._classList=t&&t.length?function(t,e=/\s+/){const i=[];if(null!=t){const n=Array.isArray(t)?t:`${t}`.split(e);for(const t of n){const e=`${t}`.trim();e&&i.push(e)}}return i}(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new gb(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new nI(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(Ro(Tc),Ro(Qa),Ro(oI),Ro(W_))},t.\u0275dir=Gt({type:t,viewQuery:function(t,e){if(1&t&&(vu(Lc,7),vu(ZN,5)),2&t){let t;Au(t=ku())&&(e.template=t.first),Au(t=ku())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[po]}),t})(),cI=(()=>{class t extends aI{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275cmp=Yt({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){if(1&t&&(Tu(i,iA,5),Tu(i,oA,5)),2&t){let t;Au(t=ku())&&(e.optionGroups=t),Au(t=ku())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Ua([{provide:JM,useExisting:t}]),po],ngContentSelectors:eI,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(Jo(),Lo(0,tI,3,4,"ng-template"))},directives:[Eh],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}),t})();const uI=new Ui("mat-autocomplete-scroll-strategy"),lI={provide:uI,deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},hI={provide:BT,useExisting:rt(()=>pI),multi:!0};let dI=(()=>{class t{constructor(t,e,i,n,s,r,o,a,c,u,l){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=n,this._changeDetectorRef=s,this._dir=o,this._formField=a,this._document=c,this._viewportRuler=u,this._defaults=l,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=h.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new v,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=Xp(()=>this.autocomplete&&this.autocomplete.options?U(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Zp(1),Gp(()=>this.optionSelections))),this._scrollStrategy=r}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=N_(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return U(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Bd(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Bd(()=>this._overlayAttached)):Nd()).pipe(P(t=>t instanceof sA?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return U(_A(this._document,"click"),_A(this._document,"auxclick"),_A(this._document,"touchend")).pipe(Bd(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null,n=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.contains(e))&&(!n||!n.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(27!==e||S_(t)||t.preventDefault(),this.activeOption&&13===e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,n=38===e||40===e;this.panelOpen||9===e?this.autocomplete._keyManager.onKeydown(t):n&&this._canOpen()&&this.openPanel(),(n||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return U(this._zone.onStable.pipe(Zp(1)),this.autocomplete.options.changes.pipe(Af(()=>this._positionStrategy.reapplyLastPosition()),ZS(0))).pipe(Gp(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Zp(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!eb(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new hv(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(27===t.keyCode&&!S_(t)||38===t.keyCode&&S_(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new Cv({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,n=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let s;s="above"===this.position?n:"below"===this.position?e:[...e,...n],t.withPositions(s)}_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 t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,i=aA(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else if(e.panel){const i=e.options.toArray()[t];if(i){const t=i._getHostElement(),n=cA(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(n)}}}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(Uv),Ro(Nc),Ro($u),Ro(Tc),Ro(uI),Ro(Db,8),Ro(RT,9),Ro(Ll,8),Ro(ov),Ro(oI,8))},t.\u0275dir=Gt({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[ae]}),t})(),pI=(()=>{class t extends dI{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&Wo("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&So("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[Ua([hI]),po]}),t})(),fI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[lI],imports:[[Jv,uA,yM,Xh],av,uA,yM]}),t})(),gI=(()=>{class t{transform(t){return t&&t.value?t.value:"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"validateExpiration",type:t,pure:!0}),t})();function mI(t,e){1&t&&No(0,"th",15)}function _I(t,e){if(1&t){const t=Ho();Do(0,"td",16),Do(1,"mat-checkbox",17),Wo("change",function(e){const i=Re(t).$implicit,n=Go();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),nu(2,"validateExpiration"),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))("disabled","never"===su(2,3,t.expirationAttribute))}}function bI(t,e){1&t&&(Do(0,"th",15),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"MEMBERSHIP_LIST.NAME"))))}function yI(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.entity.name)}}function wI(t,e){1&t&&(Do(0,"th",15),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function MI(t,e){if(1&t&&(Do(0,"td",18),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.entity.description)}}function AI(t,e){1&t&&(Do(0,"th",19),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function vI(t,e){if(1&t&&(Do(0,"td",18),Aa(1),nu(2,"validateExpiration"),Po()),2&t){const t=e.$implicit;Qs(1),Ta(" ",su(2,1,t.expirationAttribute)," ")}}function TI(t,e){1&t&&No(0,"th",15)}function kI(t,e){if(1&t){const t=Ho();Do(0,"td",18),Do(1,"button",20),Wo("click",function(){const e=Re(t).$implicit;return Go().extend(e)}),nu(2,"validateExpiration"),Aa(3),nu(4,"translate"),nu(5,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit;Qs(1),xo("disabled","never"===su(2,2,t.expirationAttribute)),Qs(2),va(su(4,4,su(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function SI(t,e){1&t&&No(0,"tr",21)}function CI(t,e){1&t&&No(0,"tr",22)}function EI(t,e){1&t&&(Do(0,"app-alert",23),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let LI=(()=>{class t{constructor(){this.members=[],this.searchString="",this.selection=new ev(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSize=10,this.filterValue="",this.extendMembership=new lu,this.pageSizeOptions=kE}set matSort(t){this.sort=t,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new Tz(this.members),this.setDataSource()}getDataForColumn(t,e){switch(e){case"name":return t.entity.name;case"description":return"description"in t.entity?t.entity.description:"";case"expirationAttribute":return t.expirationAttribute&&t.expirationAttribute.value?t.expirationAttribute.value:"never";default:return""}}exportData(t){xE(RE(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zE(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>LE(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(t){return`${this.selection.isSelected(t)?"deselect":"select"} row ${t.entity.id+1}`}extend(t){this.extendMembership.emit(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(t,e){if(1&t&&(vu(wN,7),vu(NE,7)),2&t){let t;Au(t=ku())&&(e.matSort=t.first),Au(t=ku())&&(e.child=t.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[ae],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","change","click"],["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(t,e){1&t&&(Do(0,"div",0),Do(1,"perun-web-apps-table-wrapper",1),Wo("exportData",function(t){return e.exportData(t)}),Do(2,"table",2),Io(3,3),Lo(4,mI,1,0,"th",4),Lo(5,_I,3,5,"td",5),Bo(),Io(6,6),Lo(7,bI,4,5,"th",4),Lo(8,yI,2,1,"td",5),Bo(),Io(9,7),Lo(10,wI,4,5,"th",4),Lo(11,MI,2,1,"td",8),Bo(),Io(12,9),Lo(13,AI,4,5,"th",10),Lo(14,vI,3,3,"td",8),Bo(),Io(15,11),Lo(16,TI,1,0,"th",4),Lo(17,kI,6,8,"td",8),Bo(),Lo(18,SI,1,0,"tr",12),Lo(19,CI,1,0,"tr",13),Po(),Po(),Po(),Lo(20,EI,4,5,"app-alert",14)),2&t&&(xo("hidden",!e.dataSource.filteredData.length),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(16),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns),Qs(1),xo("ngIf",!e.dataSource.filteredData.length))},directives:[NE,pz,wN,mz,gz,fz,yz,wz,xh,_z,bz,yD,CN,gA,Mz,Az,jz],pipes:[gI,iE,QE],styles:[""]}),t})();function zI(t,e){if(1&t&&(Do(0,"mat-option",13),Aa(1),Po()),2&t){const t=e.$implicit;xo("value",t),Qs(1),Ta(" ",t.name," ")}}function RI(t,e){if(1&t){const t=Ho();Do(0,"mat-form-field",7),Do(1,"mat-label"),Aa(2),nu(3,"translate"),Po(),No(4,"input",8),nu(5,"translate"),nu(6,"customTranslate"),Do(7,"mat-autocomplete",9,10),Wo("optionSelected",function(e){return Re(t),Go().filterByVo(e)}),Do(9,"mat-option",11),Aa(10),nu(11,"translate"),nu(12,"customTranslate"),Po(),Lo(13,zI,2,2,"mat-option",12),nu(14,"async"),Po(),Po()}if(2&t){const t=zo(8),e=Go();Qs(2),va(su(3,7,"GROUPS.SELECT_VO")),Qs(2),Zo("placeholder",su(5,9,su(6,11,"GROUPS.SELECT_VO"))),xo("formControl",e.myControl)("matAutocomplete",t),Qs(3),xo("displayWith",e.displayFn),Qs(3),va(su(11,13,su(12,15,"GROUPS.ALL"))),Qs(3),xo("ngForOf",su(14,17,e.filteredVos))}}function xI(t,e){1&t&&No(0,"mat-spinner",14)}function OI(t,e){1&t&&(Do(0,"app-alert",15),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"GROUPS.NO_GROUPS"))))}const DI=function(){return["name","description","expirationAttribute","extend"]};function PI(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"h4",16),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Do(5,"perun-web-apps-membership-list",17),Wo("extendMembership",function(e){return Re(t),Go().extendMembership(e)}),Po(),Po()}if(2&t){const t=Go();Qs(2),va(su(3,4,su(4,6,"GROUPS.MEMBER_GROUPS"))),Qs(3),xo("members",t.userMemberships)("selection",t.selection)("displayedColumns",Jc(8,DI))}}const NI=function(){return["name","description"]};function II(t,e){if(1&t&&(Do(0,"div",18),Do(1,"h4",16),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),No(5,"perun-web-apps-membership-list",19),Po()),2&t){const t=Go();Qs(2),va(su(3,3,su(4,5,"GROUPS.ADMINS_GROUPS"))),Qs(3),xo("members",t.adminMemberships)("displayedColumns",Jc(7,NI))}}let BI=(()=>{class t{constructor(t,e,i,n,s,r){this.usersService=t,this.memberService=e,this.groupService=i,this.store=n,this.vosManagerService=s,this.attributesManagerService=r,this.loading=!1,this.vos=[],this.myControl=new Rk,this.selection=new ev(!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(t=>{this.vos=t,this.filteredVos=this.myControl.valueChanges.pipe(nf(""),P(t=>this._filter(t))),this.getAllGroups()})}_filter(t){const e="string"==typeof t?t.toLowerCase():t.name.toLowerCase;return this.vos.filter(t=>t.name.toLowerCase().includes(e))}getAllGroups(){this.loading=!0;let t=0,e=0;this.userMemberships=[],this.adminMemberships=[];const i=this.store.getPerunPrincipal().roles.SELF.Member;i.length?e=i.length:this.loading=!1,i.forEach(i=>{e--,this.groupService.getMemberGroups(i).subscribe(n=>{t+=n.length,this.loading=0===t&&0!==e,n.forEach(e=>{this.attributesManagerService.getMemberGroupAttributes(i,e.id).subscribe(i=>{t--,this.userMemberships.push({entity:e,expirationAttribute:i.find(t=>"groupMembershipExpiration"===t.friendlyName)}),this.loading=0!==t})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(t=>{t.forEach(t=>{this.adminMemberships.push({entity:t,expirationAttribute:null})})})}displayFn(t){return t?t.name:null}filterByVo(t){if("all"===t.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const e=t.option.value;this.memberService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.groupService.getMemberGroups(t.id).subscribe(e=>{let i=e.length;this.loading=0!==i,e.forEach(e=>{this.attributesManagerService.getMemberGroupAttributes(t.id,e.id).subscribe(t=>{i--,this.userMemberships.push({entity:e,expirationAttribute:t.find(t=>"groupMembershipExpiration"===t.friendlyName)}),this.loading=0!==i})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,e.id).subscribe(t=>{t.forEach(t=>{this.adminMemberships.push({entity:t,expirationAttribute:null})})})}}extendMembership(t){const e=this.store.get("registrar_base_url"),i=t.entity,n=this.vos.find(t=>t.id===i.voId).shortName;window.location.href=`${e}?vo=${n}&group=${t.entity.shortName}`}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lp),Ro(kp),Ro(Tp),Ro(BE),Ro(Rp),Ro(Ap))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,RI,15,19,"mat-form-field",2),Lo(6,xI,1,0,"mat-spinner",3),Lo(7,OI,4,5,"app-alert",4),Lo(8,PI,6,9,"div",5),Lo(9,II,6,8,"div",6),Po()),2&t&&(Qs(1),va(su(2,6,su(3,8,"GROUPS.TITLE"))),Qs(4),xo("ngIf",!e.loading),Qs(1),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.userMemberships.length&&!e.adminMemberships.length&&!e.loading),Qs(1),xo("ngIf",!e.loading&&0!==e.userMemberships.length),Qs(1),xo("ngIf",!e.loading&&0!==e.adminMemberships.length))},directives:[xh,xT,vT,yL,qT,pI,dk,Kk,cI,oA,zh,cL,jz,LI],pipes:[iE,QE,Uh],styles:[""]}),t})();function FI(t,e){if(1&t&&(No(0,"input",3),nu(1,"translate")),2&t){const t=Go();Zo("placeholder",su(1,2,t.placeholder)),xo("formControl",t.formControl)}}function HI(t,e){if(1&t&&(No(0,"input",4),nu(1,"translate")),2&t){const t=Go();Zo("placeholder",su(1,2,t.placeholder)),xo("formControl",t.formControl)}}let qI=(()=>{class t{constructor(){this.filter=new lu,this.autoFocus=!1,this.formControl=new Rk}ngOnInit(){this.formControl.valueChanges.subscribe(t=>{let e=t.trim();e=e.toLowerCase(),this.filter.emit(e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(t,e){1&t&&(Do(0,"mat-form-field",0),Lo(1,FI,2,4,"input",1),Lo(2,HI,2,4,"input",2),Po()),2&t&&(Qs(1),xo("ngIf",e.autoFocus),Qs(1),xo("ngIf",!e.autoFocus))},directives:[xT,xh,yL,qT,LN,dk,Kk],pipes:[iE],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),t})(),jI=0;const YI=new Ui("CdkAccordion");let WI=(()=>{class t{constructor(){this._stateChanges=new v,this._openCloseAllActions=new v,this.id="cdk-accordion-"+jI++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=N_(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Ua([{provide:YI,useExisting:t}]),ae]}),t})(),UI=0,KI=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=h.EMPTY,this.closed=new lu,this.opened=new lu,this.destroyed=new lu,this.expandedChange=new lu,this.id="cdk-accordion-child-"+UI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=N_(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=N_(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(YI,12),Ro(Tc),Ro(iv))},t.\u0275dir=Gt({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ua([{provide:YI,useValue:void 0}])]}),t})(),VI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})();const XI=["body"];function GI(t,e){}const $I=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],JI=["mat-expansion-panel-header","*","mat-action-row"];function QI(t,e){1&t&&No(0,"span",2),2&t&&xo("@indicatorRotate",Go()._getExpandedState())}const ZI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],tB=["mat-panel-title","mat-panel-description","*"],eB=new Ui("MAT_ACCORDION"),iB={indicatorRotate:Bb("indicatorRotate",[Yb("collapsed, void",jb({transform:"rotate(0deg)"})),Yb("expanded",jb({transform:"rotate(180deg)"})),Ub("expanded <=> collapsed, void => collapsed",Fb("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:Bb("bodyExpansion",[Yb("collapsed, void",jb({height:"0px",visibility:"hidden"})),Yb("expanded",jb({height:"*",visibility:"visible"})),Ub("expanded <=> collapsed, void => collapsed",Fb("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let nB=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lc))},t.\u0275dir=Gt({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),sB=0;const rB=new Ui("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let oB=(()=>{class t extends KI{constructor(t,e,i,n,s,r,o){super(t,e,i),this._viewContainerRef=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new lu,this.afterCollapse=new lu,this._inputChanges=new v,this._headerId="mat-expansion-panel-header-"+sB++,this._bodyAnimationDone=new v,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(RA((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=N_(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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(nf(null),Bd(()=>this.expanded&&!this._portal),Zp(1)).subscribe(()=>{this._portal=new hv(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(Ro(eB,12),Ro(Tc),Ro(iv),Ro(Nc),Ro(Ll),Ro(aM,8),Ro(rB,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){if(1&t&&Tu(i,nB,5),2&t){let t;Au(t=ku())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&vu(XI,5),2&t){let t;Au(t=ku())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&ua("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ua([{provide:eB,useValue:void 0}]),po,ae],ngContentSelectors:JI,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(Jo($I),Qo(0),Do(1,"div",0,1),Wo("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),Do(3,"div",2),Qo(4,1),Lo(5,GI,0,0,"ng-template",3),Po(),Qo(6,2),Po()),2&t&&(Qs(1),xo("@bodyExpansion",e._getExpandedState())("id",e.id),So("aria-labelledby",e._headerId),Qs(4),xo("cdkPortalOutlet",e._portal))},directives:[gv],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[iB.bodyExpansion]},changeDetection:0}),t})(),aB=(()=>{class t{constructor(t,e,i,n,s,r){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._animationMode=r,this._parentChangeSubscription=h.EMPTY;const o=t.accordion?t.accordion._stateChanges.pipe(Bd(t=>!(!t.hideToggle&&!t.togglePosition))):Kp;this._parentChangeSubscription=U(t.opened,t.closed,o,t._inputChanges.pipe(Bd(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Bd(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:S_(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(Ro(oB,1),Ro(Qa),Ro(Lb),Ro(Tc),Ro(rB,8),Ro(aM,8))},t.\u0275cmp=Yt({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&Wo("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(So("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),ca("height",e._getHeaderHeight()),ua("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:tB,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(Jo(ZI),Do(0,"span",0),Qo(1),Qo(2,1),Qo(3,2),Po(),Lo(4,QI,1,1,"span",1)),2&t&&(Qs(4),xo("ngIf",e._showToggle()))},directives:[xh],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}[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:""}\n'],encapsulation:2,data:{animation:[iB.indicatorRotate]},changeDetection:0}),t})(),cB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),uB=(()=>{class t extends WI{constructor(){super(...arguments),this._ownHeaders=new du,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=N_(t)}ngAfterContentInit(){this._headers.changes.pipe(nf(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new mb(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,i){if(1&t&&Tu(i,aB,5),2&t){let t;Au(t=ku())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[Ua([{provide:eB,useExisting:t}]),po]}),t})(),lB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh,yM,VI,mv]]}),t})();function hB(t,e){1&t&&(Do(0,"mat-icon",1),nu(1,"translate"),Aa(2," visibility\n"),Po()),2&t&&Zo("matTooltip",su(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let dB=(()=>{class t{constructor(){this.recentIds=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&Lo(0,hB,3,3,"mat-icon",0),2&t&&xo("ngIf",e.recentIds.indexOf(e.id)>-1)},directives:[xh,NC,PS],pipes:[iE],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),t})();function pB(t,e){if(1&t){const t=Ho();Do(0,"span",3),Wo("click",function(){return Re(t),Go().changeStatus()}),nu(1,"translate"),Do(2,"mat-icon",4),Aa(3,"check_circle_outline"),Po(),Po()}2&t&&Zo("matTooltip",su(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function fB(t,e){if(1&t){const t=Ho();Do(0,"span",3),Wo("click",function(){return Re(t),Go().changeStatus()}),nu(1,"translate"),Do(2,"mat-icon",5),Aa(3,"block"),Po(),Po()}2&t&&Zo("matTooltip",su(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function gB(t,e){if(1&t&&(Do(0,"span",6),nu(1,"translate"),Do(2,"mat-icon",7),Aa(3,"report"),Po(),Po()),2&t){const t=Go();ea("matTooltip","",su(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",t.failureCause,"")}}function mB(t,e){1&t&&(Do(0,"span",6),nu(1,"translate"),Do(2,"mat-icon",8),Aa(3,"autorenew"),Po(),Po()),2&t&&Zo("matTooltip",su(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let _B=(()=>{class t{constructor(t){this.dialog=t,this.status="",this.statusChange=new lu}changeStatus(){const t=SE();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(mR,t).afterClosed().subscribe(t=>{t&&this.statusChange.emit()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE))},t.\u0275cmp=Yt({type:t,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(t,e){1&t&&(Do(0,"div",0),Lo(1,pB,4,3,"span",1),Lo(2,fB,4,3,"span",1),Lo(3,gB,4,4,"span",2),Lo(4,mB,4,3,"span",2),Po()),2&t&&(Qs(1),xo("ngIf","ACTIVE"===e.status),Qs(1),xo("ngIf","INACTIVE"===e.status),Qs(1),xo("ngIf","FAILED"===e.status),Qs(1),xo("ngIf","PROCESSING"===e.status))},directives:[xh,PS,NC],pipes:[iE],styles:[""]}),t})(),bB=(()=>{class t{transform(t){if(null==t)return null;let e="";return t.forEach(function(t){e=e.concat(t.tagName)}),e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"resourceTagsToString",type:t,pure:!0}),t})(),yB=(()=>{class t{transform(t,e){return e?`/organizations/${t.voId}/resources/${t.id}`:`/facilities/${t.facilityId}/resources/${t.id}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"getResourceRoute",type:t,pure:!0}),t})();function wB(t,e){if(1&t){const t=Ho();Do(0,"th",20),Do(1,"mat-checkbox",21),Wo("change",function(e){Re(t);const i=Go();return e?i.masterToggle():null}),Po(),Po()}if(2&t){const t=Go();Qs(1),xo("aria-label",t.checkboxLabel())("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())}}function MB(t,e){if(1&t){const t=Ho();Do(0,"td",22),Do(1,"mat-checkbox",23),Wo("change",function(e){const i=Re(t).$implicit,n=Go();return e?n.itemSelectionToggle(i):null})("click",function(t){return t.stopPropagation()}),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function AB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function vB(t,e){if(1&t&&(Do(0,"td",22),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.id)}}function TB(t,e){1&t&&No(0,"th",20)}function kB(t,e){if(1&t&&(Do(0,"td",25),No(1,"perun-web-apps-recently-viewed-icon",26),Po()),2&t){const t=e.$implicit,i=Go();Qs(1),xo("recentIds",i.recentIds)("id",t.id)}}function SB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function CB(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.name)}}function EB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function LB(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.vo.name)}}function zB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function RB(t,e){if(1&t){const t=Ho();Do(0,"td",25),Do(1,"perun-web-apps-group-resource-status",27),Wo("mouseenter",function(){return Re(t),Go().disabledRouting=!0})("mouseleave",function(){Re(t);const e=Go();return e.disabledRouting=e.disableRouting})("statusChange",function(){return Re(t),Go().refreshTable.emit()}),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("theme","group-theme")("resourceId",t.id)("groupId",i.groupId)("failureCause",t.failureCause)("status",t.status)}}function xB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function OB(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.facility.name)}}function DB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function PB(t,e){if(1&t&&(Do(0,"td",25),Aa(1),nu(2,"resourceTagsToString"),Po()),2&t){const t=e.$implicit;Qs(1),va(su(2,1,t.resourceTags))}}function NB(t,e){1&t&&(Do(0,"th",24),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function IB(t,e){if(1&t&&(Do(0,"td",25),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.description)}}function BB(t,e){1&t&&No(0,"tr",28)}const FB=function(t){return[t]};function HB(t,e){if(1&t&&(No(0,"tr",29),nu(1,"getResourceRoute"),nu(2,"getResourceRoute")),2&t){const t=e.$implicit,i=Go();ua("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),xo("perunWebAppsMiddleClickRouterLink",Qc(12,FB,i.disabledRouting?null:ru(1,6,t,i.routingVo)))("routerLink",i.disabledRouting?null:ru(2,9,t,i.routingVo))}}function qB(t,e){1&t&&(Do(0,"app-alert",30),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function jB(t,e){1&t&&(Do(0,"app-alert",30),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let YB=(()=>{class t{constructor(t,e){this.guiAuthResolver=t,this.tableCheckbox=e,this.resources=[],this.selection=new ev(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=kE,this.groupId=null,this.page=new lu,this.refreshTable=new lu,this.allSelected=new lu,this.removeAuth=!1,this.addAuth=!1}set matSort(t){this.sort=t}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.setDataSource(),this.setAuth()}getDataForColumn(t,e,i){switch(e){case"id":return t.id.toString();case"vo":return t.vo.name;case"name":return t.name;case"facility":return t.facility.name;case"description":return t.description;case"recent":return i.recentIds&&i.recentIds.indexOf(t.id)>-1?"#".repeat(i.recentIds.indexOf(t.id)):t.name;case"tags":{if(!t.resourceTags)return t[e];let i="";return t.resourceTags.forEach(function(t){i=i.concat(t.tagName)}),i}case"status":return t.status;case"uuid":return t.uuid;default:return t[e]}}exportData(t){xE(RE(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.dataSource||(this.dataSource=new Tz,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(t,e)=>zE(t,e,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(t,e)=>LE(t,e,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const t=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(t),t}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i])),!0),this.addAuth=this.selection.selected.reduce((e,i)=>e&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i])),!0)}itemSelectionToggle(t){this.selection.toggle(t),this.setAuth()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Ip),Ro(XE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(t,e){if(1&t&&(vu(wN,7),vu(NE,7)),2&t){let t;Au(t=ku())&&(e.matSort=t.first),Au(t=ku())&&(e.child=t.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[ae],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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(t,e){1&t&&(Do(0,"div",0),Do(1,"perun-web-apps-table-wrapper",1),Wo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),Do(2,"table",2),Io(3,3),Lo(4,wB,2,3,"th",4),Lo(5,MB,2,2,"td",5),Bo(),Io(6,6),Lo(7,AB,3,3,"th",7),Lo(8,vB,2,1,"td",8),Bo(),Io(9,9),Lo(10,TB,1,0,"th",4),Lo(11,kB,2,2,"td",10),Bo(),Io(12,11),Lo(13,SB,3,3,"th",7),Lo(14,CB,2,1,"td",10),Bo(),Io(15,12),Lo(16,EB,3,3,"th",7),Lo(17,LB,2,1,"td",10),Bo(),Io(18,13),Lo(19,zB,3,3,"th",7),Lo(20,RB,2,5,"td",10),Bo(),Io(21,14),Lo(22,xB,3,3,"th",7),Lo(23,OB,2,1,"td",10),Bo(),Io(24,15),Lo(25,DB,3,3,"th",7),Lo(26,PB,3,3,"td",10),Bo(),Io(27,16),Lo(28,NB,3,3,"th",7),Lo(29,IB,2,1,"td",10),Bo(),Lo(30,BB,1,0,"tr",17),Lo(31,HB,3,14,"tr",18),Po(),Po(),Po(),Lo(32,qB,3,3,"app-alert",19),Lo(33,jB,3,3,"app-alert",19)),2&t&&(xo("hidden",0===e.dataSource.filteredData.length||0===e.resources.length),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(28),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns),Qs(1),xo("ngIf",0===e.dataSource.filteredData.length&&0!==e.resources.length),Qs(1),xo("ngIf",0===e.resources.length))},directives:[NE,pz,wN,mz,gz,fz,yz,wz,xh,_z,yD,bz,CN,dB,_B,Mz,Az,zN,n_,jz],pipes:[iE,bB,yB],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),t})();function WB(t,e){1&t&&No(0,"mat-spinner",8)}const UB=function(){return["name","description"]};function KB(t,e){1&t&&No(0,"perun-web-apps-resources-list",9),2&t&&xo("resources",Go(3).resources)("displayedColumns",Jc(3,UB))("disableRouting",!0)}function VB(t,e){if(1&t&&(Lo(0,WB,1,0,"mat-spinner",6),Lo(1,KB,1,4,"perun-web-apps-resources-list",7)),2&t){const t=Go(2);xo("ngIf",t.loading),Qs(1),xo("ngIf",!t.loading)}}function XB(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",4),Wo("opened",function(){const e=Re(t).$implicit;return Go().getMemberData(e)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,VB,2,2,"ng-template",5),Po()}if(2&t){const t=e.$implicit;Qs(3),Ta(" ",t.name," ")}}let GB=(()=>{class t{constructor(t,e,i,n){this.usersManagerService=t,this.membersManagerService=e,this.resourcesManagerService=i,this.storage=n,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMemberData(t){this.loading=!0,this.membersManagerService.getMemberByUser(t.id,this.userId).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(t=>{this.resources=t,this.loading=!1})})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lp),Ro(kp),Ro(Ep),Ro(BE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"perun-web-apps-immediate-filter",2),Wo("filter",function(t){return e.applyFilter(t)}),nu(6,"translate"),nu(7,"customTranslate"),Po(),Do(8,"mat-accordion"),Lo(9,XB,5,1,"mat-expansion-panel",3),Po(),Po()),2&t&&(Qs(1),va(su(2,3,su(3,5,"SERVICES.TITLE"))),Qs(4),xo("placeholder",su(6,7,su(7,9,"SERVICES.FILTER"))),Qs(4),xo("ngForOf",e.filteredVos))},directives:[qI,uB,zh,oB,aB,cB,nB,xh,cL,YB],pipes:[iE,QE],styles:[""]}),t})();function $B(t,e){if(1&t){const t=Ho();Do(0,"perun-web-apps-immediate-filter",5),Wo("filter",function(e){return Re(t),Go().applyFilter(e)}),Po()}2&t&&xo("placeholder","ORGANIZATIONS.FILTER")}function JB(t,e){1&t&&No(0,"mat-spinner",6)}const QB=function(){return["name","expirationAttribute","extend"]};function ZB(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"perun-web-apps-membership-list",11),Wo("extendMembership",function(e){return Re(t),Go(2).extendMembership(e)}),Po(),Po()}if(2&t){const t=Go(2);Qs(1),xo("members",t.userMemberships)("selection",t.selection)("filterValue",t.filterValue)("displayedColumns",Jc(4,QB))}}function tF(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function eF(t,e){if(1&t&&(Do(0,"div",7),Do(1,"h1",8),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Lo(5,ZB,2,5,"div",9),Lo(6,tF,4,5,"app-alert",10),Po()),2&t){const t=Go();Qs(2),va(su(3,3,su(4,5,"ORGANIZATIONS.IS_MEMBER"))),Qs(3),xo("ngIf",0!==t.userMemberships.length),Qs(1),xo("ngIf",0===t.userMemberships.length)}}function iF(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const nF=function(){return["name"]};function sF(t,e){if(1&t&&No(0,"perun-web-apps-membership-list",14),2&t){const t=Go(2);xo("members",t.adminMemberships)("filterValue",t.filterValue)("displayedColumns",Jc(3,nF))}}function rF(t,e){if(1&t&&(Do(0,"div",7),Do(1,"h1",8),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Lo(5,iF,4,5,"app-alert",10),Lo(6,sF,1,4,"perun-web-apps-membership-list",13),Po()),2&t){const t=Go();Qs(2),va(su(3,3,su(4,5,"ORGANIZATIONS.IS_ADMIN"))),Qs(3),xo("ngIf",!t.adminMemberships.length),Qs(1),xo("ngIf",t.adminMemberships.length)}}let oF=(()=>{class t{constructor(t,e,i){this.usersService=t,this.store=e,this.membersService=i,this.filterValue="",this.selection=new ev(!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(t=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(e=>{this.vosCount=t.length+e.length,this.fillMemberships(t,this.userMemberships),this.fillMemberships(e,this.adminMemberships)})})}applyFilter(t){this.filterValue=t}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(t,e){this.membersService.getMembersByUser(this.userId).subscribe(i=>{t.forEach(t=>{const n=i.find(e=>e.voId===t.id);n?this.membersService.getRichMemberWithAttributes(n.id).subscribe(i=>{const n=i.memberAttributes.find(t=>"membershipExpiration"===t.friendlyName);e.push({entity:t,expirationAttribute:n}),this.isEverythingLoaded()}):(e.push({entity:t,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(t){const e=this.store.get("registrar_base_url");window.location.href=`${e}?vo=${t.entity.shortName}`}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lp),Ro(BE),Ro(kp))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,$B,1,1,"perun-web-apps-immediate-filter",2),Lo(6,JB,1,0,"mat-spinner",3),Lo(7,eF,7,7,"div",4),Lo(8,rF,7,7,"div",4),Po()),2&t&&(Qs(1),va(su(2,5,su(3,7,"ORGANIZATIONS.TITLE"))),Qs(4),xo("ngIf",!e.loading),Qs(1),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[xh,qI,cL,LI,jz],pipes:[iE,QE],styles:[""]}),t})(),aF=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(t,e){1&t&&(Do(0,"div",0),No(1,"router-outlet"),Po())},directives:[o_],styles:[""]}),t})(),cF=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"p"),Aa(6),nu(7,"translate"),nu(8,"customTranslate"),Po(),Do(9,"label"),No(10,"input",2),Po(),Po(),Do(11,"div",3),Do(12,"button",4),Wo("click",function(){return e.onClose()}),Aa(13),nu(14,"translate"),nu(15,"customTranslate"),Po(),Do(16,"button",5),Aa(17),nu(18,"translate"),nu(19,"customTranslate"),Po(),Po()),2&t&&(Qs(1),va(su(2,6,su(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),Qs(5),va(su(7,10,su(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),Qs(4),xo("value",e.password),Qs(3),Ta(" ",su(14,14,su(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),Qs(3),xo("cdkCopyToClipboard",e.password),Qs(1),Ta(" ",su(18,18,su(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[wE,ME,AE,gA,Pz],pipes:[iE,QE],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),t})();function uF(t,e){1&t&&No(0,"mat-spinner",7)}function lF(t,e){1&t&&No(0,"th",16)}function hF(t,e){if(1&t&&(Do(0,"td",17),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),Ta(" ",t," ")}}function dF(t,e){1&t&&No(0,"tr",18)}function pF(t,e){1&t&&No(0,"tr",19)}function fF(t,e){if(1&t&&(Do(0,"div",8),Do(1,"p"),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Do(5,"div",9),Aa(6),nu(7,"translate"),nu(8,"customTranslate"),Po(),Do(9,"table",10),Io(10,11),Lo(11,lF,1,0,"th",12),Lo(12,hF,2,1,"td",13),Bo(),Lo(13,dF,1,0,"tr",14),Lo(14,pF,1,0,"tr",15),Po(),Po()),2&t){const t=Go();Qs(2),Ta(" ",su(3,5,su(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),Qs(4),Ta(" ",su(7,9,su(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),Qs(3),xo("dataSource",t.dataSource),Qs(4),xo("matHeaderRowDef",t.displayedColumns),Qs(1),xo("matRowDefColumns",t.displayedColumns)}}let gF=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.usersManagerService=i,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new Tz(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 t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Lp))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,uF,1,0,"mat-spinner",2),Po(),Lo(6,fF,15,13,"div",3),Do(7,"div",4),Do(8,"button",5),Wo("click",function(){return e.onCancel()}),Aa(9),nu(10,"translate"),nu(11,"customTranslate"),Po(),Do(12,"button",6),Wo("click",function(){return e.onSubmit()}),Aa(13),nu(14,"translate"),nu(15,"customTranslate"),Po(),Po()),2&t&&(Qs(1),va(su(2,5,su(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),Qs(4),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading),Qs(3),Ta(" ",su(10,9,su(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),Qs(4),Ta(" ",su(14,13,su(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[wE,xh,AE,gA,cL,ME,pz,mz,gz,fz,yz,wz,_z,bz,Mz,Az],pipes:[iE,QE],styles:[""]}),t})();function mF(t,e){1&t&&No(0,"th",12)}function _F(t,e){if(1&t){const t=Ho();Do(0,"td",13),Do(1,"mat-checkbox",14),Wo("change",function(e){const i=Re(t).$implicit,n=Go();return e?n.selection.toggle(i):null})("click",function(t){return t.stopPropagation()}),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("aria-label",i.checkboxLabel(t))("checked",i.selection.isSelected(t))}}function bF(t,e){if(1&t&&(Do(0,"th",15),Aa(1),Po()),2&t){const t=Go();Qs(1),va(t.headerColumnText)}}function yF(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t)}}function wF(t,e){1&t&&No(0,"tr",17)}function MF(t,e){1&t&&No(0,"tr",18)}function AF(t,e){if(1&t&&(Do(0,"app-alert",19),Aa(1),Po()),2&t){const t=Go();Qs(1),Ta(" ",t.alertText,"\n")}}let vF=(()=>{class t{constructor(){this.values=[],this.selection=new ev(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new Tz(this.values),this.setDataSource()}getExportDataForColumn(t){return t}exportData(t){xE(RE(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),t)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(t){return(this.selection.isSelected(t)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-string-list"]],viewQuery:function(t,e){if(1&t&&vu(NE,7),2&t){let t;Au(t=ku())&&(e.child=t.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[ae],decls:12,vars:7,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSize","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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",""],["mat-cell","",1,"static-column-size"],["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(t,e){1&t&&(Do(0,"div",0),Do(1,"perun-web-apps-table-wrapper",1),Wo("exportData",function(t){return e.exportData(t)}),Do(2,"table",2),Io(3,3),Lo(4,mF,1,0,"th",4),Lo(5,_F,2,2,"td",5),Bo(),Io(6,6),Lo(7,bF,2,1,"th",7),Lo(8,yF,2,1,"td",8),Bo(),Lo(9,wF,1,0,"tr",9),Lo(10,MF,1,0,"tr",10),Po(),Po(),Po(),Lo(11,AF,2,1,"app-alert",11)),2&t&&(xo("hidden",!e.values.length),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(7),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns),Qs(1),xo("ngIf",0===e.values.length))},directives:[NE,pz,mz,gz,fz,yz,wz,xh,_z,bz,yD,Mz,Az,jz],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),t})();function TF(t,e){if(1&t&&No(0,"perun-web-apps-string-list",10),2&t){const t=Go();xo("values",t.displayedValues)("selection",t.selection)("alertText",t.alertText)("headerColumnText",t.headerColumnText)}}function kF(t,e){1&t&&No(0,"mat-spinner",11)}let SF=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.usersManagerService=s,this.altPasswordCtrl=new Rk(null,[VT.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new ev(!1,[]),n.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),n.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}ngOnInit(){this.getAltPasswords()}createPassword(){const t=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",t).subscribe(()=>{const e=SE();e.width="600px",e.data={password:t},this.dialog.open(cF,e),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let e="",i=0;const n=t.length;for(;i<16;++i)e+=t.charAt(Math.random()*n);return e.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),e}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(t=>{if(this.altPasswordsAttribute=t,t.value){const e=Object.keys(t.value);this.passwordDescriptions=new Set(e),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(t){return this.passwordDescriptions.has(t)}removeAltPasswords(){const t=SE();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(gF,t).afterClosed().subscribe(t=>{t&&(this.getAltPasswords(),this.selection.clear())})}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ap),Ro(bE),Ro(eE),Ro(Lp))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"div",0),Do(1,"h1",1),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Do(5,"mat-form-field",2),Do(6,"label",2),No(7,"input",3),nu(8,"translate"),nu(9,"customTranslate"),Po(),Po(),Do(10,"button",4),Wo("click",function(){return e.createPassword()}),Aa(11),nu(12,"translate"),nu(13,"customTranslate"),Po(),Do(14,"app-alert",5),Aa(15),nu(16,"translate"),nu(17,"customTranslate"),Po(),Do(18,"h1",6),Aa(19),nu(20,"translate"),nu(21,"customTranslate"),Po(),Do(22,"button",7),Wo("click",function(){return e.removeAltPasswords()}),Aa(23),nu(24,"translate"),nu(25,"customTranslate"),Po(),Lo(26,TF,1,4,"perun-web-apps-string-list",8),Lo(27,kF,1,0,"mat-spinner",9),Po()),2&t&&(Qs(2),va(su(3,11,su(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),Qs(5),Zo("placeholder",su(8,15,su(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),xo("formControl",e.altPasswordCtrl),Qs(3),xo("disabled",!e.altPasswordCtrl.valid||e.alreadyContainsValue(e.altPasswordCtrl.value)),Qs(1),va(su(12,19,su(13,21,"ALT_PASSWORDS.GENERATE"))),Qs(4),va(su(16,23,su(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),Qs(4),va(su(20,27,su(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),Qs(3),xo("disabled",e.selection.isEmpty()),Qs(1),va(su(24,31,su(25,33,"ALT_PASSWORDS.REMOVE"))),Qs(3),xo("ngIf",!e.loading),Qs(1),xo("ngIf",e.loading))},directives:[xT,yL,qT,dk,Kk,gA,jz,xh,vF,cL],pipes:[iE,QE],styles:[""]}),t})();function CF(t,e){if(1&t&&(Do(0,"mat-list-item",1),Do(1,"mat-icon"),Aa(2),Po(),Do(3,"p",2),Aa(4),nu(5,"translate"),nu(6,"customTranslate"),Po(),Po()),2&t){const t=e.$implicit;xo("routerLink",t.url),Qs(2),va(t.icon),Qs(2),va(su(5,3,su(6,5,t.label)))}}let EF=(()=>{class t{constructor(t){this.storeService=t,this.items=[]}ngOnInit(){this.initItems();const t=this.storeService.get("displayed_tabs");this.items=this.items.filter(e=>t.includes(e.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(t,e){1&t&&(Do(0,"mat-list"),Lo(1,CF,7,7,"mat-list-item",0),Po()),2&t&&(Qs(1),xo("ngForOf",e.items))},directives:[fO,zh,_O,VM,n_,NC],pipes:[iE,QE],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),t})();const LF=["row","column","row-reverse","column-reverse"];function zF(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let RF=(()=>{class t extends lx{buildStyles(t){return function(t){let[e,i,n]=function(t){t=t?t.toLowerCase():"";let[e,i,n]=t.split(" ");return LF.find(t=>t===e)||(e=LF[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[e,zF(i),!!n]}(t);return function(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,i,n)}(t)}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const xF=["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 OF=(()=>{class t extends jR{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="layout",this.styleCache=PF,this.init()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(ux),Ro(RF),Ro(hx))},t.\u0275dir=Gt({type:t,features:[po]}),t})(),DF=(()=>{class t extends OF{constructor(){super(...arguments),this.inputs=xF}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,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:[po]}),t})();const PF=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let NF=(()=>{class t extends lx{buildStyles(t){const e={};switch(t=t||"stretch"){case"start":e["align-self"]="flex-start";break;case"end":e["align-self"]="flex-end";break;default:e["align-self"]=t}return e}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const IF=["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 BF=(()=>{class t extends jR{constructor(t,e,i,n){super(t,i,e,n),this.DIRECTIVE_KEY="flex-align",this.styleCache=FF,this.init()}}return t.\u0275fac=function(e){return new(e||t)(Ro(Qa),Ro(ux),Ro(NF),Ro(hx))},t.\u0275dir=Gt({type:t,features:[po]}),t})();const FF=new Map;let HF=(()=>{class t extends BF{constructor(){super(...arguments),this.inputs=IF}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275dir=Gt({type:t,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:[po]}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let qF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[xR,Pb]]}),t})();function jF(t,e){if(1&t&&(Do(0,"mat-option",13),Aa(1),Po()),2&t){const t=e.$implicit;xo("value",Go().selectedUnit),Qs(1),Ta(" ",t," ")}}let YF=(()=>{class t{constructor(t,e,i,n,s){this.dialogRef=t,this.data=e,this.rtMessagesService=i,this.notificator=n,this.translate=s,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",s.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(t=>this.successMessage=t)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new Rk(null,[VT.required]),this.newValueControl=new Rk(null,[VT.required,VT.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const t=(new JE).transform(this.data.user);this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${t} (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`).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Sp),Ro(WE),Ro(eE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"div"),Do(6,"p",2),Aa(7),nu(8,"translate"),nu(9,"customTranslate"),Po(),Do(10,"p"),Aa(11),Po(),Po(),Do(12,"div"),Do(13,"p",2),Aa(14),nu(15,"translate"),nu(16,"customTranslate"),Po(),Do(17,"p"),Aa(18),Po(),Po(),Do(19,"div",3),Do(20,"mat-form-field"),Do(21,"label",4),No(22,"input",5),nu(23,"translate"),nu(24,"customTranslate"),Po(),Po(),Do(25,"mat-select",6),Wo("valueChange",function(t){return e.selectedUnit=t}),Lo(26,jF,2,2,"mat-option",7),Po(),Po(),Do(27,"div"),Do(28,"mat-form-field",8),Do(29,"label",4),No(30,"textarea",9),nu(31,"translate"),nu(32,"customTranslate"),Po(),Po(),Po(),Do(33,"div",10),Do(34,"button",11),Wo("click",function(){return e.onCancel()}),Aa(35),nu(36,"translate"),nu(37,"customTranslate"),Po(),Do(38,"button",12),Wo("click",function(){return e.onSubmit()}),Aa(39),nu(40,"translate"),nu(41,"customTranslate"),Po(),Po(),Po()),2&t&&(Qs(1),va(su(2,14,su(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),Qs(6),va(su(8,18,su(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),Qs(4),va(e.resource),Qs(3),va(su(15,22,su(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),Qs(4),va(e.currentQuota),Qs(4),Zo("placeholder",su(23,26,su(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),xo("formControl",e.newValueControl),Qs(3),xo("value",e.selectedUnit),Qs(1),xo("ngForOf",e.units),Qs(4),Zo("placeholder",su(31,30,su(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),xo("formControl",e.reasonControl),Qs(5),Ta(" ",su(36,34,su(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),Qs(3),xo("disabled",e.reasonControl.invalid),Qs(1),Ta(" ",su(40,38,su(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[wE,DF,HF,xT,yL,jk,qT,$k,dk,Kk,yS,zh,AE,gA,oA],pipes:[iE,QE],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-ripple.mat-form-field-ripple[_ngcontent-%COMP%], .mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%]{display:none}"]}),t})();function WF(t,e){1&t&&No(0,"mat-spinner",8)}function UF(t,e){1&t&&(Do(0,"app-alert",9),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function KF(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"p"),Do(2,"strong"),Aa(3),nu(4,"translate"),nu(5,"customTranslate"),Po(),Aa(6),Po(),Do(7,"p",10),Aa(8),nu(9,"translate"),nu(10,"customTranslate"),Po(),Do(11,"button",11),Wo("click",function(){Re(t);const e=Go().$implicit,i=Go(3).$implicit;return Go().requestChangeQuota(i,e)}),Aa(12),nu(13,"translate"),nu(14,"customTranslate"),Po(),Po()}if(2&t){const t=Go(5);Qs(3),va(su(4,4,su(5,6,"DATA_QUOTAS.QUOTA"))),Qs(3),Ta(" ",t.quotasMarkup,""),Qs(2),va(su(9,8,su(10,10,"DATA_QUOTAS.QUOTA_INFO"))),Qs(4),va(su(13,12,su(14,14,"DATA_QUOTAS.CHANGE")))}}function VF(t,e){1&t&&(Do(0,"p"),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function XF(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Wo("opened",function(){const e=Re(t).$implicit;return Go(4).getResAttributes(e.id)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,KF,15,16,"div",7),Lo(5,VF,4,5,"p",7),Po()}if(2&t){const t=e.$implicit,i=Go(4);Qs(3),Ta(" ",t.name," "),Qs(1),xo("ngIf",i.defaultQuota),Qs(1),xo("ngIf",!i.defaultQuota)}}function GF(t,e){if(1&t&&(Do(0,"mat-accordion"),Lo(1,XF,6,3,"mat-expansion-panel",2),Po()),2&t){const t=Go(3);Qs(1),xo("ngForOf",t.resources)}}function $F(t,e){if(1&t&&(Lo(0,WF,1,0,"mat-spinner",5),Lo(1,UF,4,5,"app-alert",6),Lo(2,GF,2,1,"mat-accordion",7)),2&t){const t=Go(2);xo("ngIf",t.loading),Qs(1),xo("ngIf",0===t.resources.length&&!t.loading),Qs(1),xo("ngIf",t.resources.length&&!t.loading)}}function JF(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Wo("opened",function(){const e=Re(t).$implicit;return Go().getMembersResources(e)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,$F,3,3,"ng-template",4),Po()}if(2&t){const t=e.$implicit;Qs(3),Ta(" ",t.name," ")}}let QF=(()=>{class t{constructor(t,e,i,n,s,r){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=s,this.dialog=r,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMembersResources(t){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(t.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(t=>{let e=t.length;e||(this.loading=!1),t.forEach(t=>{this.attributesManagerService.getResourceAttributes(t.id).subscribe(i=>{e--,i.find(t=>"defaultDataQuotas"===t.friendlyName)&&this.resources.push(t),this.loading=0!==e})})})})}getResAttributes(t){this.attributesManagerService.getResourceAttributes(t).subscribe(t=>{let e=t.find(t=>"dataQuotas"===t.friendlyName);if(e&&e.value){const t=Object.keys(e.value);this.currentQuota=e.value[t[0]]}else this.currentQuota="";if(e=t.find(t=>"defaultDataQuotas"===t.friendlyName),e){const t=Object.keys(e.value);this.defaultQuota=e.value[t[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let t="";t+=this.currentQuota,t+=` (default: ${this.defaultQuota})`,t=t.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=t}requestChangeQuota(t,e){const i=SE();i.width="400px",i.data={vo:t,resource:e,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(YF,i)}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Lp),Ro(kp),Ro(Ep),Ro(Ap),Ro(bE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"perun-web-apps-immediate-filter",1),Wo("filter",function(t){return e.applyFilter(t)}),nu(5,"translate"),nu(6,"customTranslate"),Po(),Do(7,"mat-accordion"),Lo(8,JF,5,1,"mat-expansion-panel",2),Po()),2&t&&(Qs(1),va(su(2,3,su(3,5,"DATA_QUOTAS.TITLE"))),Qs(3),xo("placeholder",su(5,7,su(6,9,"DATA_QUOTAS.FILTER"))),Qs(4),xo("ngForOf",e.filteredVos))},directives:[qI,uB,zh,oB,aB,cB,nB,xh,cL,jz,gA],pipes:[iE,QE],styles:[""]}),t})();function ZF(t,e){1&t&&No(0,"mat-spinner",8)}function tH(t,e){1&t&&(Do(0,"app-alert",9),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function eH(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Wo("opened",function(){const e=Re(t).$implicit;return Go(4).getOptOutAttribute(e)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Do(4,"div",10),Do(5,"p"),Aa(6),nu(7,"translate"),nu(8,"customTranslate"),Po(),Do(9,"mat-checkbox",11),Wo("change",function(){return Re(t),Go(4).setOptOut()}),Po(),Po(),Po()}if(2&t){const t=e.$implicit,i=Go(4);Qs(3),Ta(" ",t.name," "),Qs(3),va(su(7,3,su(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),Qs(3),xo("checked",i.optOutAttribute&&null!==i.optOutAttribute.value)}}function iH(t,e){if(1&t&&(Do(0,"mat-accordion"),Lo(1,eH,10,7,"mat-expansion-panel",2),Po()),2&t){const t=Go(3);Qs(1),xo("ngForOf",t.resources)}}function nH(t,e){if(1&t&&(Lo(0,ZF,1,0,"mat-spinner",5),Lo(1,tH,4,5,"app-alert",6),Lo(2,iH,2,1,"mat-accordion",7)),2&t){const t=Go(2);xo("ngIf",t.loading),Qs(1),xo("ngIf",0===t.resources.length&&!t.loading),Qs(1),xo("ngIf",t.resources.length&&!t.loading)}}function sH(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",3),Wo("opened",function(){const e=Re(t).$implicit;return Go().getMailingLists(e)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),Po(),Po(),Lo(4,nH,3,3,"ng-template",4),Po()}if(2&t){const t=e.$implicit;Qs(3),Ta(" ",t.name," ")}}let rH=(()=>{class t{constructor(t,e,i,n,s){this.store=t,this.usersManagerService=e,this.membersService=i,this.resourcesManagerService=n,this.attributesManagerService=s,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{this.vos=t,this.filteredVos=t})}getMailingLists(t){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(t.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(e=>{let i=e.length;i||(this.loading=!1),e.forEach(e=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,e.id).subscribe(n=>{this.attributesManagerService.getResourceAttributeByName(e.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(s=>{i--;const r=n.find(t=>"optOutMailingList"===t.friendlyName);!r||s&&"true"===s.value||(this.optOuts.push({resource:e.id,member:t.id,attribute:r}),this.resources.push(e)),this.loading=0!==i})})})})})}getOptOutAttribute(t){this.index=this.resources.indexOf(t),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Lp),Ro(kp),Ro(Ep),Ro(Ap))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"perun-web-apps-immediate-filter",1),Wo("filter",function(t){return e.applyFilter(t)}),nu(5,"translate"),nu(6,"customTranslate"),Po(),Do(7,"mat-accordion"),Lo(8,sH,5,1,"mat-expansion-panel",2),Po()),2&t&&(Qs(1),va(su(2,3,su(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),Qs(3),xo("placeholder",su(5,7,su(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),Qs(4),xo("ngForOf",e.filteredVos))},directives:[qI,uB,zh,oB,aB,cB,nB,xh,cL,jz,yD],pipes:[iE,QE],styles:[""]}),t})();function oH(t,e){1&t&&No(0,"mat-spinner",4)}function aH(t,e){1&t&&No(0,"th",17)}function cH(t,e){if(1&t&&(Do(0,"td",18),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),Ta(" ",t," ")}}function uH(t,e){1&t&&No(0,"tr",19)}function lH(t,e){1&t&&No(0,"tr",20)}function hH(t,e){if(1&t&&(Do(0,"table",11),Io(1,12),Lo(2,aH,1,0,"th",13),Lo(3,cH,2,1,"td",14),Bo(),Lo(4,uH,1,0,"tr",15),Lo(5,lH,1,0,"tr",16),Po()),2&t){const t=Go(2);xo("dataSource",t.dataSource),Qs(4),xo("matHeaderRowDef",t.displayedColumns),Qs(1),xo("matRowDefColumns",t.displayedColumns)}}function dH(t,e){if(1&t){const t=Ho();Do(0,"div",1),Do(1,"div",5),Do(2,"p"),Aa(3),Po(),Do(4,"div",6),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Lo(8,hH,6,3,"table",7),Po(),Do(9,"div",8),Do(10,"button",9),Wo("click",function(){return Re(t),Go().onCancel()}),Aa(11),nu(12,"translate"),nu(13,"customTranslate"),Po(),Do(14,"button",10),Wo("click",function(){return Re(t),Go().onSubmit()}),Aa(15),nu(16,"translate"),nu(17,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Go();Qs(3),Ta(" ",t.description," "),Qs(2),Ta(" ",su(6,5,su(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),Qs(3),xo("ngIf",t.dataSource.data.length),Qs(3),Ta(" ",su(12,9,su(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),Qs(4),Ta(" ",su(16,13,su(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let pH=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new Tz(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let t=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?t.splice(this.data.valueIndex,1):t=t.filter(t=>!this.data.values.find(e=>e===t)),this.data.attribute.value=t}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Ap))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),Po(),Do(2,"div",1),Lo(3,oH,1,0,"mat-spinner",2),Po(),Lo(4,dH,18,17,"div",3)),2&t&&(Qs(1),va(e.title),Qs(2),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[wE,xh,cL,ME,AE,gA,pz,mz,gz,fz,yz,wz,_z,bz,Mz,Az],pipes:[iE,QE],styles:[""]}),t})();function fH(t,e){1&t&&(Do(0,"app-alert",5),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function gH(t,e){if(1&t){const t=Ho();Do(0,"mat-option",11),Wo("click",function(){return Re(t),Go(3).changeValue()}),Aa(1),Po()}if(2&t){const t=e.$implicit;xo("value",t),Qs(1),va(t)}}function mH(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item"),Do(1,"mat-form-field",7),Do(2,"mat-select",8),Wo("valueChange",function(e){const i=Re(t).index;return Go(2).shells[i]=e}),Lo(3,gH,2,2,"mat-option",9),Po(),Po(),Do(4,"button",10),Wo("click",function(){const e=Re(t).index;return Go(2).removeShell(e)}),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Po()}if(2&t){const t=e.index,i=Go(2);Qs(2),xo("value",i.shells[t]),Qs(1),xo("ngForOf",i.defaultShells),Qs(2),va(su(6,3,su(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function _H(t,e){if(1&t&&(Do(0,"mat-list"),Lo(1,mH,8,7,"mat-list-item",6),Po()),2&t){const t=Go();Qs(1),xo("ngForOf",t.shells)}}let bH=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],n.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(t){const e=SE();e.width="600px",e.data={valueIndex:t,values:[this.shells[t]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(pH,e).afterClosed().subscribe(t=>{t&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(t=>{this.prefShellsAttribute=t,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ap),Ro(bE),Ro(eE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"app-alert",1),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Do(8,"button",2),Wo("click",function(){return e.addShell()}),Aa(9),nu(10,"translate"),nu(11,"customTranslate"),Po(),Lo(12,fH,4,5,"app-alert",3),Lo(13,_H,2,1,"mat-list",4)),2&t&&(Qs(1),va(su(2,5,su(3,7,"PREFERRED_SHELLS.TITLE"))),Qs(4),Ta(" ",su(6,9,su(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),Qs(4),va(su(10,13,su(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),Qs(3),xo("ngIf",!e.loading&&0===e.shells.length),Qs(1),xo("ngIf",!e.loading))},directives:[jz,gA,xh,fO,zh,_O,xT,yS,oA],pipes:[iE,QE],styles:[""]}),t})();function yH(t,e){1&t&&No(0,"mat-spinner",4)}function wH(t,e){if(1&t){const t=Ho();Do(0,"div"),Do(1,"div",5),Do(2,"mat-form-field",6),Do(3,"label",6),No(4,"input",7),Po(),Po(),Po(),Do(5,"div",8),Do(6,"button",9),Wo("click",function(){return Re(t),Go().onCancel()}),Aa(7),nu(8,"translate"),nu(9,"customTranslate"),Po(),Do(10,"button",10),Wo("click",function(){return Re(t),Go().onSubmit()}),Aa(11),nu(12,"translate"),nu(13,"customTranslate"),Po(),Po(),Po()}if(2&t){const t=Go();Qs(4),xo("formControl",t.inputControl),Qs(3),Ta(" ",su(8,4,su(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),Qs(3),xo("disabled",!t.inputControl.valid||t.groups.includes(t.inputControl.value)),Qs(1),Ta(" ",su(12,8,su(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let MH=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.groups=[]}ngOnInit(){this.inputControl=new Rk(null,VT.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(t=>{const e=t.value?t.value:[];e.push(this.inputControl.value),t.value=e,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:t}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Ap))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Lo(5,yH,1,0,"mat-spinner",2),Lo(6,wH,14,12,"div",3),Po()),2&t&&(Qs(1),va(su(2,3,su(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),Qs(4),xo("ngIf",e.loading),Qs(1),xo("ngIf",!e.loading))},directives:[wE,xh,cL,ME,xT,yL,qT,$k,dk,Kk,AE,gA],pipes:[iE,QE],styles:[""]}),t})();function AH(t,e){if(1&t){const t=Ho();Do(0,"div",2),Do(1,"h4"),Aa(2),Po(),Do(3,"button",3),Wo("click",function(){const e=Re(t).$implicit;return Go().addGroupName(e)}),Aa(4),nu(5,"translate"),nu(6,"customTranslate"),Po(),Do(7,"button",4),Wo("click",function(){const e=Re(t),i=e.$implicit,n=e.index;return Go().removeGroupName(i,n)}),Aa(8),nu(9,"translate"),Po(),No(10,"perun-web-apps-string-list",5),Po()}if(2&t){const t=e.$implicit,i=e.index,n=Go();Qs(2),va(t),Qs(2),va(su(5,8,su(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),Qs(3),xo("disabled",0===n.selectionList[i].selected.length),Qs(1),va(su(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),Qs(2),xo("values",n.groupNames.get(t))("selection",n.selectionList[i])("alertText",n.alertText)("headerColumnText",n.headerColumnText)}}let vH=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],n.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(t=>this.alertText=t),n.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}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(t=>this.removeDialogDescription=t),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(t=>this.alertText=t),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}),this.initSelection(),this.namespaces.forEach(t=>{this.getAttribute(t)})}initSelection(){for(let t=0;t{this.groupNames.set(t,e.value?e.value:[]),this.groupNameAttributes.push(e)})}addGroupName(t){const e=this.groupNames.get(t),i=SE();i.width="400px",i.data={groups:e,namespace:t,userId:this.userId},this.dialog.open(MH,i).afterClosed().subscribe(e=>{e&&this.getAttribute(t)})}removeGroupName(t,e){const i=SE();i.width="600px",i.data={values:this.selectionList[e].selected,attribute:this.groupNameAttributes[e],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(pH,i).afterClosed().subscribe(i=>{i&&(this.selectionList[e].clear(),this.getAttribute(t))})}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ap),Ro(bE),Ro(eE))},t.\u0275cmp=Yt({type:t,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",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Lo(4,AH,11,14,"div",1)),2&t&&(Qs(1),va(su(2,2,su(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),Qs(3),xo("ngForOf",e.namespaces))},directives:[zh,gA,vF],pipes:[iE,QE],styles:[""]}),t})();function TH(t,e){1&t&&(Do(0,"app-alert",7),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,su(3,3,"ALERTS.NO_SAMBA")),"\n"))}function kH(t,e){1&t&&(Do(0,"app-alert",7),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,su(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function SH(t,e){1&t&&(Do(0,"app-alert",8),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let CH=(()=>{class t{constructor(t,e,i,n,s){this.attributesManagerService=t,this.store=e,this.usersManagerService=i,this.notificator=n,this.translate=s,s.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(t=>this.successMessage=t),s.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(t=>this.showPwdTooltip=t),s.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(t=>this.hidePwdTooltip=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new Rk("",[VT.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 t=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,t,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(t=>{this.sambaExists=!!t.value,this.sambaAttribute=t})}}return t.\u0275fac=function(e){return new(e||t)(Ro(Ap),Ro(BE),Ro(Lp),Ro(WE),Ro(eE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Lo(4,TH,4,5,"app-alert",1),Lo(5,kH,4,5,"app-alert",1),Do(6,"mat-form-field",2),Do(7,"label",2),No(8,"input",3),nu(9,"translate"),nu(10,"customTranslate"),Po(),Po(),Do(11,"button",4),Wo("click",function(){return e.showPassword=!e.showPassword}),Do(12,"mat-icon"),Aa(13),Po(),Po(),Do(14,"button",5),Wo("click",function(){return e.setSambaPassword()}),Aa(15),nu(16,"translate"),nu(17,"customTranslate"),Po(),Lo(18,SH,4,5,"app-alert",6)),2&t&&(Qs(1),va(su(2,11,su(3,13,"SAMBA_PASSWORD.TITLE"))),Qs(3),xo("ngIf",!e.sambaExists),Qs(1),xo("ngIf",e.sambaExists),Qs(3),Zo("placeholder",su(9,15,su(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),xo("formControl",e.sambaControl)("type",e.showPassword?"text":"password"),Qs(3),xo("matTooltip",e.showPassword?e.hidePwdTooltip:e.showPwdTooltip),Qs(2),va(e.showPassword?"visibility_off":"visibility"),Qs(1),xo("disabled",0===e.sambaControl.value.length||e.sambaControl.invalid),Qs(1),va(su(16,19,su(17,21,"SAMBA_PASSWORD.SET_PASSWORD"))),Qs(3),xo("ngIf",e.sambaControl.invalid))},directives:[xh,xT,yL,qT,dk,Kk,gA,PS,NC,jz],pipes:[iE,QE],styles:[""]}),t})(),EH=(()=>{class t{constructor(t,e,i){this.dialogRef=t,this.data=e,this.attributesManagerService=i}ngOnInit(){this.sshControl=new Rk(null,[VT.required,VT.pattern("^(ssh-rsa|ssh-ed25519|ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521).+$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const t=this.data.attribute.value?this.data.attribute.value:[];t.includes(this.sshControl.value)||t.push(this.sshControl.value),this.data.attribute.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)})}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE),Ro(Ap))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:19,vars:22,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","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"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"mat-form-field",2),Do(6,"label",2),No(7,"textarea",3),nu(8,"translate"),nu(9,"customTranslate"),Po(),Po(),Po(),Do(10,"div",4),Do(11,"button",5),Wo("click",function(){return e.onCancel()}),Aa(12),nu(13,"translate"),nu(14,"customTranslate"),Po(),Do(15,"button",6),Wo("click",function(){return e.onSubmit()}),Aa(16),nu(17,"translate"),nu(18,"customTranslate"),Po(),Po()),2&t&&(Qs(1),va(su(2,6,su(3,8,"DIALOGS.ADD_SSH.TITLE"))),Qs(6),Zo("placeholder",su(8,10,su(9,12,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),xo("formControl",e.sshControl),Qs(5),Ta(" ",su(13,14,su(14,16,"DIALOGS.ADD_SSH.CANCEL"))," "),Qs(3),xo("disabled",!e.sshControl.valid),Qs(1),Ta(" ",su(17,18,su(18,20,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[wE,ME,xT,yL,dL,qT,$k,dk,Kk,AE,gA],pipes:[iE,QE],styles:[".input-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}"]}),t})(),LH=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(pE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"div",0),Do(1,"textarea",1),Aa(2),Po(),Po(),Do(3,"mat-dialog-actions"),Do(4,"button",2),Wo("click",function(){return e.onClose()}),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Po()),2&t&&(Qs(2),va(e.sshKey),Qs(3),va(su(6,2,su(7,4,"DIALOGS.SHOW_SSH.CLOSE"))))},directives:[yL,dL,AE,gA],pipes:[iE,QE],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}[_ngcontent-%COMP%]:focus{outline:none}"]}),t})();function zH(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",4),Do(1,"p",5),Wo("click",function(){const e=Re(t).$implicit;return Go().showWholeKey(e)}),Aa(2),Po(),Do(3,"button",6),nu(4,"translate"),nu(5,"customTranslate"),Do(6,"mat-icon"),Aa(7," file_copy "),Po(),Po(),Do(8,"button",7),Wo("click",function(){const e=Re(t).$implicit;return Go().removeKey(e,!1)}),nu(9,"translate"),nu(10,"customTranslate"),Do(11,"mat-icon"),Aa(12," delete "),Po(),Po(),Po()}if(2&t){const t=e.$implicit;Qs(2),va(t),Qs(1),Zo("matTooltip",su(4,4,su(5,6,"SSH_KEYS.COPY_TOOLTIP"))),xo("cdkCopyToClipboard",t),Qs(5),Zo("matTooltip",su(9,8,su(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function RH(t,e){if(1&t){const t=Ho();Do(0,"mat-list-item",4),Do(1,"label",8),Wo("click",function(){const e=Re(t).$implicit;return Go().showWholeKey(e)}),Aa(2),Po(),Do(3,"button",9),Do(4,"mat-icon"),Aa(5," file_copy "),Po(),Po(),Do(6,"button",10),Wo("click",function(){const e=Re(t).$implicit;return Go().removeKey(e,!0)}),Do(7,"mat-icon"),Aa(8," delete "),Po(),Po(),Po()}if(2&t){const t=e.$implicit;Qs(2),va(t),Qs(1),xo("cdkCopyToClipboard",t)}}let xH=(()=>{class t{constructor(t,e,i,n){this.store=t,this.attributesManagerService=e,this.dialog=i,this.translateService=n,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 ev(!1,[]),this.selectionAdmin=new ev(!1,[]),n.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),n.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),n.get("SSH_KEYS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(t=>this.removeDialogDescription=t),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(t=>this.alertText=t),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(t=>this.headerColumnText=t)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(t){const e=SE();e.width="800px",e.data={attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(EH,e).afterClosed().subscribe(e=>{e&&(t?this.getAdminSSH():this.getUserSSH())})}removeKey(t,e){const i=SE();i.width="600px",i.data={values:[t],attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(pH,i).afterClosed().subscribe(t=>{t&&(this.loading=!0,e?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(t=>{this.userKeyAttribute=t,this.userKeys=t.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(t=>{this.adminKeyAttribute=t,this.adminKeys=t.value,this.loading=!1})}showWholeKey(t){const e=SE();e.width="600px",e.data={value:t},this.dialog.open(LH,e)}}return t.\u0275fac=function(e){return new(e||t)(Ro(BE),Ro(Ap),Ro(bE),Ro(eE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"p"),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Do(8,"button",1),Wo("click",function(){return e.addKey(!1)}),Aa(9),nu(10,"translate"),nu(11,"customTranslate"),Po(),Do(12,"mat-list"),Lo(13,zH,13,12,"mat-list-item",2),Po(),Do(14,"h1",3),Aa(15),nu(16,"translate"),nu(17,"customTranslate"),Po(),Do(18,"p"),Aa(19),nu(20,"translate"),nu(21,"customTranslate"),Po(),Do(22,"button",1),Wo("click",function(){return e.addKey(!0)}),Aa(23),nu(24,"translate"),nu(25,"customTranslate"),Po(),Do(26,"mat-list"),Lo(27,RH,9,2,"mat-list-item",2),Po()),2&t&&(Qs(1),va(su(2,8,su(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),Qs(4),va(su(6,12,su(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),Qs(4),va(su(10,16,su(11,18,"SSH_KEYS.NEW_KEY"))),Qs(4),xo("ngForOf",e.userKeys),Qs(2),va(su(16,20,su(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),Qs(4),va(su(20,24,su(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),Qs(4),va(su(24,28,su(25,30,"SSH_KEYS.NEW_KEY"))),Qs(4),xo("ngForOf",e.adminKeys))},directives:[gA,fO,zh,_O,VM,Pz,PS,NC],pipes:[iE,QE],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}.cursor-pointer[_ngcontent-%COMP%], label[_ngcontent-%COMP%]:hover{cursor:pointer}"]}),t})(),OH=(()=>{class t{transform(t){return"virt"===t.namespace.split(":")[4]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"isVirtualAttribute",type:t,pure:!0}),t})();function DH(t,e){if(1&t){const t=Ho();Do(0,"th",15),Do(1,"mat-checkbox",16),Wo("change",function(e){Re(t);const i=Go();return e?i.masterToggle():null}),Po(),Po()}if(2&t){const t=Go();Qs(1),xo("checked",t.selection.hasValue()&&t.isAllSelected())("indeterminate",t.selection.hasValue()&&!t.isAllSelected())("aria-label",t.checkboxLabel())}}function PH(t,e){if(1&t){const t=Ho();Do(0,"td",17),Do(1,"mat-checkbox",18),Wo("click",function(t){return t.stopPropagation()})("change",function(e){const i=Re(t).$implicit,n=Go();return e?n.selection.toggle(i):null}),nu(2,"isVirtualAttribute"),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("checked",i.selection.isSelected(t))("disabled",su(2,3,t)||!t.writable)("aria-label",i.checkboxLabel(t))}}function NH(t,e){1&t&&(Do(0,"th",19),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")))}function IH(t,e){if(1&t&&(Do(0,"td",17),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.id)}}function BH(t,e){1&t&&(Do(0,"th",19),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")))}function FH(t,e){if(1&t&&(Do(0,"td",20),Do(1,"div",21),Aa(2),Po(),Po()),2&t){const t=e.$implicit,i=Go();Qs(1),Zo("matTooltip",i.getAttributeFullName(t)),Qs(1),Ta(" ",t.displayName," ")}}function HH(t,e){1&t&&(Do(0,"th",15),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")))}function qH(t,e){if(1&t){const t=Ho();Do(0,"td",20),Do(1,"perun-web-apps-attribute-value",22),Wo("sendEventToParent2",function(){const e=Re(t).$implicit;return Go().onValueChange(e)}),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("attribute",t)("readonly",i.readonly||!t.writable)}}function jH(t,e){1&t&&(Do(0,"th",19),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),va(su(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")))}function YH(t,e){if(1&t&&(Do(0,"td",20),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.description)}}function WH(t,e){1&t&&No(0,"tr",23)}function UH(t,e){if(1&t&&(No(0,"tr",24),nu(1,"translate")),2&t){const t=e.$implicit,i=Go();Zo("matTooltip",su(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),xo("matTooltipPosition","before")("matTooltipDisabled",t.writable||i.readonly)}}function KH(t,e){1&t&&(Do(0,"app-alert",25),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function VH(t,e){1&t&&(Do(0,"app-alert",25),Aa(1),nu(2,"translate"),Po()),2&t&&(Qs(1),Ta(" ",su(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY"),"\n"))}let XH=(()=>{class t{constructor(t,e){this.authResolver=t,this.tableCheckbox=e,this.attributes=[],this.selection=new ev(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.pageSize=10,this.page=new lu,this.readonly=!1,this.hiddenColumns=[],this.pageSizeOptions=kE}set matSort(t){this.sort=t,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(t=>"id"!==t)),this.dataSource=new Tz(this.attributes.filter(t=>!t.namespace.includes("def:core"))),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(t,e){switch(e){case"id":return t.id.toString();case"displayName":return t.displayName;case"description":return t.description;case"value":return JSON.stringify(t.value);default:return""}}exportData(t){xE(RE(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),t)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(t=>!this.hiddenColumns.includes(t)),this.dataSource&&(this.dataSource.filterPredicate=(t,e)=>zE(t,e,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(t,e)=>LE(t,e,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(t){return t?`${this.selection.isSelected(t)?"deselect":"select"} row ${t.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const t of this.items.toArray())"java.util.LinkedHashMap"===t.attribute.type&&t.updateMapAttribute()}onValueChange(t){this.canBeSelected(t)&&this.selection.select(t)}canBeSelected(t){return!CE(t)&&t.writable}getAttributeFullName(t){return`${t.namespace}:${t.friendlyName}`}}return t.\u0275fac=function(e){return new(e||t)(Ro(Ip),Ro(XE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(t,e){if(1&t&&(vu(wN,7),vu(NE,7),vu(eN,5)),2&t){let t;Au(t=ku())&&(e.matSort=t.first),Au(t=ku())&&(e.child=t.first),Au(t=ku())&&(e.items=t)}},inputs:{attributes:"attributes",selection:"selection",inDialog:"inDialog",filterValue:"filterValue",pageSize:"pageSize",readonly:"readonly",hiddenColumns:"hiddenColumns"},outputs:{page:"page"},features:[ae],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["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",""],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"perun-web-apps-table-wrapper",1),Wo("exportData",function(t){return e.exportData(t)})("page",function(t){return e.page.emit(t)}),Do(2,"table",2),Io(3,3),Lo(4,DH,2,3,"th",4),Lo(5,PH,3,5,"td",5),Bo(),Io(6,6),Lo(7,NH,3,3,"th",7),Lo(8,IH,2,1,"td",5),Bo(),Io(9,8),Lo(10,BH,3,3,"th",7),Lo(11,FH,3,2,"td",9),Bo(),Io(12,10),Lo(13,HH,3,3,"th",4),Lo(14,qH,2,2,"td",9),Bo(),Io(15,11),Lo(16,jH,3,3,"th",7),Lo(17,YH,2,1,"td",9),Bo(),Lo(18,WH,1,0,"tr",12),Lo(19,UH,2,5,"tr",13),Po(),Po(),Po(),Lo(20,KH,3,3,"app-alert",14),Lo(21,VH,3,3,"app-alert",14)),2&t&&(xo("hidden",0===e.dataSource.filteredData.length),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("pageSizeOptions",e.pageSizeOptions)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(16),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns),Qs(1),xo("ngIf",0===e.dataSource.filteredData.length&&0!==e.dataSource.data.length),Qs(1),xo("ngIf",0===e.dataSource.data.length))},directives:[NE,pz,wN,mz,gz,fz,yz,wz,xh,_z,yD,bz,CN,PS,eN,Mz,Az,jz],pipes:[OH,iE],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),t})();function GH(t,e){1&t&&No(0,"mat-spinner",5)}function $H(t,e){1&t&&No(0,"mat-spinner",5)}function JH(t,e){if(1&t&&No(0,"perun-web-apps-attributes-list",10),2&t){const t=Go(3);xo("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function QH(t,e){if(1&t&&(Lo(0,$H,1,0,"mat-spinner",3),Lo(1,JH,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=Go(2);xo("ngIf",t.innerLoading),Qs(1),xo("ngIf",!t.innerLoading)}}function ZH(t,e){1&t&&No(0,"mat-spinner",5)}function tq(t,e){if(1&t&&No(0,"perun-web-apps-attributes-list",10),2&t){const t=Go(4);xo("attributes",t.attributes)("readonly",!0)("hiddenColumns",t.hiddenColumns)}}function eq(t,e){if(1&t&&(Lo(0,ZH,1,0,"mat-spinner",3),Lo(1,tq,1,3,"perun-web-apps-attributes-list",9)),2&t){const t=Go(3);xo("ngIf",t.innerLoading),Qs(1),xo("ngIf",!t.innerLoading)}}function iq(t,e){if(1&t){const t=Ho();Do(0,"mat-expansion-panel",6),Wo("opened",function(){const e=Re(t).$implicit;return Go(2).getMemberData(e)}),Do(1,"mat-expansion-panel-header"),Do(2,"mat-panel-title"),Aa(3),nu(4,"translate"),nu(5,"customTranslate"),Po(),Po(),Lo(6,eq,2,2,"ng-template",7),Po()}if(2&t){const t=e.$implicit;Qs(3),ka(" ",su(4,2,su(5,4,"PRIVACY.DATA")),"",t.name," ")}}function nq(t,e){if(1&t){const t=Ho();Do(0,"mat-accordion"),Do(1,"mat-expansion-panel",6),Wo("opened",function(){return Re(t),Go().getUserData()}),Do(2,"mat-expansion-panel-header"),Do(3,"mat-panel-title"),Aa(4),nu(5,"translate"),nu(6,"customTranslate"),Po(),Po(),Lo(7,QH,2,2,"ng-template",7),Po(),Lo(8,iq,7,6,"mat-expansion-panel",8),Po()}if(2&t){const t=Go();Qs(4),Ta(" ",su(5,2,su(6,4,"PRIVACY.USER_INFO"))," "),Qs(4),xo("ngForOf",t.filteredVos)}}let sq=(()=>{class t{constructor(t,e,i,n){this.usersManagerService=t,this.membersService=e,this.attributesManagerService=i,this.storage=n,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(t=>{this.vos=t,this.filteredVos=t,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.user=t,this.attributes=t.userAttributes,this.username=(new JE).transform(t),this.innerLoading=!1})}getMemberData(t){this.innerLoading=!0,this.membersService.getMemberByUser(t.id,this.userId).subscribe(t=>{this.membersService.getRichMemberWithAttributes(t.id).subscribe(t=>{this.attributes=t.memberAttributes,this.innerLoading=!1})})}applyFilter(t){this.filteredVos=this.vos.filter(e=>e.name.toLowerCase().includes(t.toLowerCase()))}}return t.\u0275fac=function(e){return new(e||t)(Ro(Lp),Ro(kp),Ro(Ap),Ro(BE))},t.\u0275cmp=Yt({type:t,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(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"div",1),Do(5,"perun-web-apps-immediate-filter",2),Wo("filter",function(t){return e.applyFilter(t)}),nu(6,"translate"),nu(7,"customTranslate"),Po(),Lo(8,GH,1,0,"mat-spinner",3),Lo(9,nq,9,6,"mat-accordion",4),Po()),2&t&&(Qs(1),va(su(2,4,su(3,6,"PRIVACY.TITLE"))),Qs(4),xo("placeholder",su(6,8,su(7,10,"SERVICES.FILTER"))),Qs(3),xo("ngIf",e.outerLoading),Qs(1),xo("ngIf",!e.outerLoading))},directives:[qI,xh,cL,uB,oB,aB,cB,nB,zh,XH],pipes:[iE,QE],styles:[""]}),t})(),rq=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(t,e){1&t&&No(0,"router-outlet")},directives:[o_],styles:[""]}),t})(),oq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[IC,Xh]]}),t})(),aq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),cq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[aq,yM],yM]}),t})(),uq=(()=>{class t{constructor(){this.changes=new v,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(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=dt({factory:function(){return new t},token:t,providedIn:"root"}),t})();const lq={provide:new Ui("mat-datepicker-scroll-strategy"),deps:[Uv],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let hq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[uq,lq],imports:[[Xh,mA,Jv,xb,mv,yM],av]}),t})(),dq=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh,Zk,mA,MD,IC,uL,BS]]}),t})(),pq=(()=>{class t extends PM{format(t,e){return"input"===e?`${t.getDate().toString()}.${(t.getMonth()+1).toString()}.${t.getFullYear()}`:t.toDateString()}}return t.\u0275fac=function(){let e;return function(i){return(e||(e=qi(t)))(i||t)}}(),t.\u0275prov=dt({token:t,factory:t.\u0275fac}),t})();const fq={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 gq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({providers:[{provide:CM,useClass:pq},{provide:EM,useValue:fq}],imports:[[Xh,MD,vz,Qk,IP,wP,nE,__,EN,QS,uL,oq,IC,MC,mA,BS,OT,Zk,wL,XM,$E,Nz,cq,hq,aR,uA,wS,dq,cv,vE,sE]]}),t})();function mq(t,e){1&t&&(Do(0,"app-alert"),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function _q(t,e){1&t&&(Do(0,"th",15),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function bq(t,e){if(1&t&&(Do(0,"td",16),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.friendlyNameParameter)}}function yq(t,e){1&t&&(Do(0,"th",15),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function wq(t,e){if(1&t&&(Do(0,"td",17),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.value)}}function Mq(t,e){1&t&&No(0,"th",15)}function Aq(t,e){if(1&t){const t=Ho();Do(0,"td",18),Do(1,"button",19),Wo("click",function(){const e=Re(t).$implicit;return Go().changePassword(e.friendlyNameParameter)}),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Po()}if(2&t){const t=e.$implicit,i=Go();Qs(1),xo("disabled",!i.logins.includes(t)),Qs(1),va(su(3,2,su(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function vq(t,e){1&t&&No(0,"tr",20)}function Tq(t,e){1&t&&No(0,"tr",21)}let kq=(()=>{class t{constructor(t,e){this.attributesManagerService=t,this.store=e,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(t=>{const e=this.nameSpaces.map(t=>{const e=t.split(":");return e[e.length-1]});this.logins=t.filter(t=>e.includes(t.friendlyNameParameter)),this.dataSource=new Tz(t)})}changePassword(t){const e=this.store.get("pwd_reset_base_url");location.href=`${e}?login-namespace=${t}`}}return t.\u0275fac=function(e){return new(e||t)(Ro(Ap),Ro(BE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-password-reset"]],decls:20,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","change"],["mat-cell","",4,"matCellDef"],["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"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Lo(4,mq,4,5,"app-alert",1),Do(5,"div",2),Do(6,"div",3),Do(7,"div",4),Do(8,"table",5),Io(9,6),Lo(10,_q,4,5,"th",7),Lo(11,bq,2,1,"td",8),Bo(),Io(12,9),Lo(13,yq,4,5,"th",7),Lo(14,wq,2,1,"td",10),Bo(),Io(15,11),Lo(16,Mq,1,0,"th",7),Lo(17,Aq,5,6,"td",12),Bo(),Lo(18,vq,1,0,"tr",13),Lo(19,Tq,1,0,"tr",14),Po(),Po(),Po(),Po()),2&t&&(Qs(1),va(su(2,5,su(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),Qs(3),xo("ngIf",!e.logins.length),Qs(4),xo("dataSource",e.dataSource),Qs(10),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns))},directives:[xh,pz,wN,mz,gz,fz,yz,wz,jz,_z,bz,gA,Mz,Az],pipes:[iE,QE],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),t})();function Sq(t,e){1&t&&(Do(0,"app-alert",11),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function Cq(t,e){1&t&&(Do(0,"app-alert",12),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function Eq(t,e){if(1&t&&(Do(0,"div",13),No(1,"img",14),Po()),2&t){const t=Go();Qs(1),xo("src",t.newImage,ts)}}function Lq(t,e){1&t&&(Do(0,"app-alert",11),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}i(6577);let zq=(()=>{class t{constructor(t,e,i,n){this.dialogRef=t,this.data=e,this.attributesManagerService=i,this.store=n,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(t){const e=t.dataTransfer?t.dataTransfer.files[0]:t.target.files[0],i=new FileReader;e.type.match(/image-*/)?(i.onload=this._handleReaderLoaded.bind(this),i.readAsDataURL(e)):alert("invalid format")}_handleReaderLoaded(t){const e=t.target;this.imgTooLong=e.result.length>=5120,this.newImage=e.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){function t(t,e,i,n){n.beginPath(),n.rect(20*t,20*e,20,20),n.fillStyle="rgb("+i.join(",")+")",n.fill()}this.newImage=function(){const e=function(){const t=document.createElement("canvas");t.width=100,t.height=100;const e=t.getContext("2d");return e.beginPath(),e.rect(0,0,100,100),e.fillStyle="#FFFFFF",e.fill(),t}(),i=e.getContext("2d"),n=function(){const t=[];for(let e=0;e<3;e++){const e=Math.floor(256*Math.random()),i=Math.max(120,e),n=Math.min(200,i);t.push(n)}return t}();for(let s=0;s{class t{constructor(t,e){this.http=t,this.storeService=e}getHeaders(){let t=new Yd;return t=t.set("Authorization","Access-Control-Allow-Origin"),t}enableMfa(t,e){const i=`${this.storeService.get("mfa","api_url")}mfaEnabled`,n=`value=${t}`,s=new Yd;return s.set("Authorization",`Bearer ${e}`),this.http.put(i,n,{headers:s}).pipe(af(t=>this.formatErrors(t)))}formatErrors(t){return UA(t.error)}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(BE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xq=(()=>{class t{constructor(t,e){this.dialogRef=t,this.store=e}onCancel(){this.dialogRef.close()}onAdd(){const t=this.store.get("mfa","register_totp_url");window.open(t,"_blank"),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(Ro(hE),Ro(BE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-add-token-info-dialog"]],decls:15,vars:15,consts:[["mat-dialog-content",""],["alert_type","info"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(t,e){1&t&&(Do(0,"div"),Do(1,"div",0),Do(2,"app-alert",1),Aa(3),nu(4,"translate"),nu(5,"customTranslate"),Po(),Po(),Do(6,"div",2),Do(7,"button",3),Wo("click",function(){return e.onCancel()}),Aa(8),nu(9,"translate"),nu(10,"customTranslate"),Po(),Do(11,"button",4),Wo("click",function(){return e.onAdd()}),Aa(12),nu(13,"translate"),nu(14,"customTranslate"),Po(),Po(),Po()),2&t&&(Qs(3),va(su(4,3,su(5,5,"DIALOGS.ADD_TOKEN_INFO.INFO"))),Qs(5),Ta(" ",su(9,7,su(10,9,"DIALOGS.ADD_TOKEN_INFO.CANCEL"))," "),Qs(4),Ta(" ",su(13,11,su(14,13,"DIALOGS.ADD_TOKEN_INFO.ADD"))," "))},directives:[ME,jz,AE,gA],pipes:[iE,QE],styles:[""]}),t})(),Oq=(()=>{class t{transform(t,e){return"voRules"===t?"Vo rules":"groupRules"===t?"Group rules":t&&"never"!==t.toLowerCase()?hh(t.replace(" ","T"),"d.M.yyyy "+(e?"H:mm:ss":""),"en"):"never"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=$t({name:"parseDate",type:t,pure:!0}),t})();const Dq=["toggle"];function Pq(t,e){if(1&t&&(Do(0,"div"),No(1,"img",22),Po()),2&t){const t=Go();Qs(1),xo("src",t.imageSrc,ts)}}function Nq(t,e){1&t&&(Do(0,"app-alert",23),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"AUTHENTICATION.NO_TOKENS"))))}function Iq(t,e){1&t&&No(0,"mat-spinner",24)}function Bq(t,e){1&t&&(Do(0,"th",25),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"AUTHENTICATION.TYPE"))))}function Fq(t,e){1&t&&No(0,"img",29)}function Hq(t,e){1&t&&No(0,"img",30)}function qq(t,e){if(1&t&&(Do(0,"td",26),Lo(1,Fq,1,0,"img",27),Lo(2,Hq,1,0,"img",28),Po()),2&t){const t=e.$implicit;Qs(1),xo("ngIf","WEBAUTHN"===t.type),Qs(1),xo("ngIf","TOTP"===t.type)}}function jq(t,e){1&t&&(Do(0,"th",25),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"AUTHENTICATION.NAME"))))}function Yq(t,e){if(1&t&&(Do(0,"td",26),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.nickname)}}function Wq(t,e){1&t&&(Do(0,"th",25),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"AUTHENTICATION.ADDED"))))}function Uq(t,e){if(1&t&&(Do(0,"td",26),Aa(1),nu(2,"parseDate"),Po()),2&t){const t=e.$implicit;Qs(1),va(ru(2,1,t.added,!0))}}function Kq(t,e){1&t&&(Do(0,"th",25),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po()),2&t&&(Qs(1),va(su(2,1,su(3,3,"AUTHENTICATION.USED"))))}function Vq(t,e){if(1&t&&(Do(0,"td",26),Aa(1),Po()),2&t){const t=e.$implicit;Qs(1),va(t.used)}}function Xq(t,e){1&t&&No(0,"th",25)}function Gq(t,e){1&t&&(Do(0,"td",26),Do(1,"button",31),Aa(2),nu(3,"translate"),nu(4,"customTranslate"),Po(),Po()),2&t&&(Qs(2),va(su(3,1,su(4,3,"AUTHENTICATION.REVOKE"))))}function $q(t,e){1&t&&No(0,"tr",32)}function Jq(t,e){1&t&&No(0,"tr",33)}let Qq=(()=>{class t{constructor(t,e,i,n,s,r){this.dialog=t,this.attributesManagerService=e,this.store=i,this.translate=n,this.authService=s,this.mfaService=r,this.imageSrc="",this.tokens=[],this.displayedColumns=["type","nickname","added"],this.dataSource=new Tz,this.pageSize=5,n.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),n.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(t=>this.removeDialogDescription=t)}ngOnInit(){this.authService.manager.getUser().then(t=>{this.accessToken=t.access_token,this.idToken=t.id_token}),this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(t=>this.removeDialogTitle=t),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(t=>this.removeDialogDescription=t)}),this.loadMFA(),this.loadImage()}onAddImg(){const t=SE();t.width="500px",t.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(zq,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}reAuthenticate(){sessionStorage.setItem("mfa_route","/profile/settings/auth"),this.authService.manager=new Bp.UserManager(this.getClientSettings()),this.authService.manager.signinRedirect()}onDeleteImg(){const t=SE();t.width="600px",t.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(pH,t).afterClosed().subscribe(t=>{t&&this.loadImage()})}getClientSettings(){return{authority:this.store.get("oidc_client","oauth_authority"),client_id:this.store.get("oidc_client","oauth_client_id"),redirect_uri:this.store.get("oidc_client","oauth_redirect_uri"),post_logout_redirect_uri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),response_type:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),filterProtocolClaims:!0,loadUserInfo:this.store.get("oidc_client","oauth_load_user_info"),automaticSilentRenew:!0,silent_redirect_uri:this.store.get("oidc_client","oauth_silent_redirect_uri"),extraQueryParams:{max_age:0,acr_values:"https://refeds.org/profile/mfa"}}}ngAfterViewInit(){this.children.changes.subscribe(t=>{this.child=t.first,this.dataSource.paginator=this.child.paginator})}addTOTP(){const t=SE();t.width="600px",this.dialog.open(xq,t)}addWebAuthn(){const t=this.store.get("mfa","webauthn_url");window.open(t,"_blank")}loadImage(){const t=this.store.get("mfa","security_image_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(e=>{e?(this.imgAtt=e,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(t).subscribe(t=>{this.imgAtt=t})})}loadMFA(){this.loading=!0;const t=this.store.get("mfa","enforce_mfa_attribute"),e=this.store.get("mfa","tokens_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(i=>{sessionStorage.getItem("mfa_route")?(sessionStorage.removeItem("mfa_route"),this.mfaService.enableMfa(!i||!i.value,this.idToken).subscribe(()=>{this.loadMFA()},()=>this.loadMFA())):i?(this.mfaAtt=i,this.toggle&&(this.mfaAtt.value&&this.toggle.toggle(),this.toggle.change.subscribe(()=>{this.reAuthenticate()})),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?t.value&&t.value.forEach(t=>{const e=JSON.parse(t);this.tokens.push({added:e.added,revoked:e.revoked,data:e.data,used:e.used,type:e.type.toUpperCase(),nickname:e.name})}):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(e=>{t=e}),this.dataSource=new Tz(this.tokens),this.dataSource.paginator=this.children.first.paginator,this.loading=!1})):this.attributesManagerService.getAttributeDefinitionByName(t).subscribe(t=>{this.mfaAtt=t})})}}return t.\u0275fac=function(e){return new(e||t)(Ro(bE),Ro(Ap),Ro(BE),Ro(eE),Ro(FE),Ro(Rq))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(t,e){if(1&t&&(vu(Dq,5),vu(NE,5)),2&t){let t;Au(t=ku())&&(e.toggle=t.first),Au(t=ku())&&(e.children=t)}},decls:52,vars:46,consts:[[1,"page-subtitle"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],[1,"page-subtitle","mt-5"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","accent","mat-flat-button","",1,"mb-3",3,"click"],["alert_type","info",4,"ngIf"],[3,"hidden"],[1,"card","mt-2"],["class","ml-auto mr-auto",4,"ngIf"],[3,"dataLength","hideExport","pageSize"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","type"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["matColumnDef","nickname"],["matColumnDef","added"],["matColumnDef","used"],["matColumnDef","revoke"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alt","",1,"img-size",3,"src"],["alert_type","info"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["alt","","src","assets/img/webauthn-logo-black.svg","style","width: 2rem; height: 2rem",4,"ngIf"],["alt","","src","assets/img/totp.svg","style","width: 2rem; height: 2rem",4,"ngIf"],["alt","","src","assets/img/webauthn-logo-black.svg",2,"width","2rem","height","2rem"],["alt","","src","assets/img/totp.svg",2,"width","2rem","height","2rem"],["color","accent","mat-flat-button",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(t,e){1&t&&(Do(0,"h1",0),Aa(1),nu(2,"translate"),nu(3,"customTranslate"),Po(),Do(4,"p"),Aa(5),nu(6,"translate"),nu(7,"customTranslate"),Po(),Lo(8,Pq,2,1,"div",1),Do(9,"button",2),Wo("click",function(){return e.onAddImg()}),Aa(10),nu(11,"translate"),nu(12,"customTranslate"),Po(),Do(13,"button",3),Wo("click",function(){return e.onDeleteImg()}),Aa(14),nu(15,"translate"),nu(16,"customTranslate"),Po(),Do(17,"h1",4),Aa(18),nu(19,"translate"),nu(20,"customTranslate"),Po(),Do(21,"button",5),Wo("click",function(){return e.addTOTP()}),Aa(22),nu(23,"translate"),nu(24,"customTranslate"),Po(),Do(25,"button",6),Wo("click",function(){return e.addWebAuthn()}),Aa(26),nu(27,"translate"),nu(28,"customTranslate"),Po(),Lo(29,Nq,4,5,"app-alert",7),Do(30,"div",8),Do(31,"div",9),Lo(32,Iq,1,0,"mat-spinner",10),Do(33,"perun-web-apps-table-wrapper",11),Do(34,"table",12),Io(35,13),Lo(36,Bq,4,5,"th",14),Lo(37,qq,3,2,"td",15),Bo(),Io(38,16),Lo(39,jq,4,5,"th",14),Lo(40,Yq,2,1,"td",15),Bo(),Io(41,17),Lo(42,Wq,4,5,"th",14),Lo(43,Uq,3,4,"td",15),Bo(),Io(44,18),Lo(45,Kq,4,5,"th",14),Lo(46,Vq,2,1,"td",15),Bo(),Io(47,19),Lo(48,Xq,1,0,"th",14),Lo(49,Gq,5,5,"td",15),Bo(),Lo(50,$q,1,0,"tr",20),Lo(51,Jq,1,0,"tr",21),Po(),Po(),Po(),Po()),2&t&&(Qs(1),va(su(2,18,su(3,20,"AUTHENTICATION.TITLE"))),Qs(4),va(su(6,22,su(7,24,"AUTHENTICATION.ANTI_PHISHING_INFO"))),Qs(3),xo("ngIf",e.imageSrc&&e.imageSrc.length),Qs(2),va(su(11,26,su(12,28,"AUTHENTICATION.NEW_IMG"))),Qs(3),xo("disabled",!e.imgAtt||!e.imgAtt.value),Qs(1),va(su(15,30,su(16,32,"AUTHENTICATION.DELETE_IMG"))),Qs(4),va(su(19,34,su(20,36,"AUTHENTICATION.MFA"))),Qs(4),va(su(23,38,su(24,40,"AUTHENTICATION.ADD_TOTP"))),Qs(4),va(su(27,42,su(28,44,"AUTHENTICATION.ADD_WEBAUTHN"))),Qs(3),xo("ngIf",!e.tokens.length),Qs(1),xo("hidden",!e.tokens.length),Qs(2),xo("ngIf",e.loading),Qs(1),xo("dataLength",e.dataSource.filteredData.length)("hideExport",!0)("pageSize",e.pageSize),Qs(1),xo("dataSource",e.dataSource),Qs(16),xo("matHeaderRowDef",e.displayedColumns),Qs(1),xo("matRowDefColumns",e.displayedColumns))},directives:[xh,gA,NE,pz,mz,gz,fz,yz,wz,jz,cL,_z,bz,Mz,Az],pipes:[iE,QE,Oq],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),t})(),Zq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[Xh,mA,IC,__,gq,nE]]}),t})();const tj=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:(()=>{class t{constructor(t){this.auth=t}startAuth(){this.auth.startAuthentication()}}return t.\u0275fac=function(e){return new(e||t)(Ro(FE))},t.\u0275cmp=Yt({type:t,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con","vo-theme"],[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(t,e){1&t&&(Do(0,"div",0),Do(1,"div",1),Do(2,"div",2),Do(3,"h4",3),Aa(4),nu(5,"translate"),Po(),Do(6,"button",4),Wo("click",function(){return e.startAuth()}),Aa(7),nu(8,"translate"),Do(9,"mat-icon"),Aa(10," login "),Po(),Po(),Po(),Po(),Po()),2&t&&(Qs(4),Ta(" ",su(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),Qs(3),Ta(" ",su(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[gA,NC],pipes:[iE],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),t})()},{path:"profile",component:rq,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:pN,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:QN,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:BI,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:GB,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:oF,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:sq,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:aF,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:EF,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:SF,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:Qq,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:QF,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:rH,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:bH,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:vH,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:CH,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:xH,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:kq,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let ej=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[__.forRoot(tj,{preloadingStrategy:u_,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),t})();class ij{constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}let nj=(()=>{class t{constructor(t,e){this.http=t,this.storeService=e}initializeColors(t,e){return new Promise(i=>{e.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e)}),t.forEach(t=>{const e=this.storeService.get("theme",t.configValue);document.documentElement.style.setProperty(t.cssVariable,e),this.setEntityTheme(t.entity,e)}),i()})}setEntityTheme(t,e){const i=(n=e,[sj(tinycolor(n).lighten(52),"50"),sj(tinycolor(n).lighten(37),"100"),sj(tinycolor(n).lighten(26),"200"),sj(tinycolor(n).lighten(12),"300"),sj(tinycolor(n).lighten(6),"400"),sj(tinycolor(n),"500"),sj(tinycolor(n).darken(6),"600"),sj(tinycolor(n).darken(12),"700"),sj(tinycolor(n).darken(18),"800"),sj(tinycolor(n).darken(24),"900"),sj(tinycolor(n).lighten(50).saturate(30),"A100"),sj(tinycolor(n).lighten(30).saturate(30),"A200"),sj(tinycolor(n).lighten(10).saturate(15),"A400"),sj(tinycolor(n).lighten(5).saturate(5),"A700")]);var n;for(const s of i){const e=`--${t}-theme-primary-contrast-${s.name}`,i=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${t}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(e,i)}}loadAppDefaultConfig(){return new Promise(t=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setDefaultConfig(e),t()})})}loadAppInstanceConfig(){return new Promise(t=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(e=>{this.storeService.setInstanceConfig(e);const i=document.location.hostname;void 0!==e.brandings&&void 0!==e.brandings[i]&&this.storeService.setBanding(i),t()},()=>{console.log("instance config not detected"),t()})})}getNoCacheHeaders(){return new Yd({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(t=>{const e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=this.storeService.get("isInstanceFaviconContained")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(e),t()})}}return t.\u0275fac=function(e){return new(e||t)(un(rp),un(BE))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sj(t,e){const i=tinycolor(t),n=i.toRgb();return{name:e,hex:i.toHexString(),darkContrast:i.isLight(),red:n.r,green:n.g,blue:n.b}}let rj=(()=>{class t{constructor(t,e,i,n,s,r){this.initAuthService=t,this.appConfigService=e,this.store=i,this.location=n,this.authzSevice=s,this.titleService=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.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(t=>{throw console.error(t),this.location.go("/"),location.reload(),t}).then(t=>t?this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}setApiUrl(){return new Promise(t=>{this.authzSevice.configuration.basePath=this.store.get("api_url"),this.titleService.setTitle(this.store.get("document_title")),t()})}}return t.\u0275fac=function(e){return new(e||t)(un(qE),un(nj),un(BE),un(Wl),un(vp),un(Pd))},t.\u0275prov=dt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let oj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[xR]]}),t})();new sc("12.0.0-beta.34");let aj=(()=>{class t{constructor(t,e){$h(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:NR,useValue:Object.assign(Object.assign({},PR),e)},{provide:BR,useValue:i,multi:!0},{provide:IR,useValue:!0}]:[{provide:NR,useValue:Object.assign(Object.assign({},PR),e)},{provide:BR,useValue:i,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(un(IR),un(Pu))},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[qF,Mx,oj],qF,Mx,oj]}),t})(),cj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[yM],yM]}),t})();const uj=new Ui("perun-api-service");let lj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({}),t})(),hj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=pt({imports:[[lj,XM,yM,ob],lj,yM]}),t})();const dj={provide:ap,useExisting:rt(()=>UE),multi:!0};function pj(t){return new ij(t,"./assets/i18n/",".json")}function fj(t){const e={basePath:t.get("api_url")};return new Mp(e)}const gj=t=>()=>t.initialize();let mj=(()=>{class t{constructor(t,e){this.customIconService=t,this.translate=e,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return t.\u0275fac=function(e){return new(e||t)(un(jE),un(eE))},t.\u0275mod=Vt({type:t,bootstrap:[ZO]}),t.\u0275inj=pt({providers:[jE,{provide:Lu,useFactory:gj,multi:!0,deps:[rj]},{provide:Mp,useFactory:fj,deps:[BE]},JE,UE,dj,{provide:uj,useClass:VE}],imports:[[Od,hM,bp,nE.forRoot({loader:{provide:BC,useFactory:pj,deps:[rp]}}),ej,IC,tO,bO,__,mA,aj,LR,gq,oq,lB,OT,wS,vE,vz,wL,Zk,MD,QS,uL,EN,cj,Nz,$E,fI,XM,BS,hj,aR,Qk,Zq,sE,MC]]}),t})();(function(){if(ul)throw new Error("Cannot enable prod mode after platform setup.");cl=!1})(),Rd().bootstrapModule(mj).catch(t=>console.error(t))},2051:function(t,e){var i,n;void 0===(n="function"==typeof(i=function(){"use strict";function e(t,e,i){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){o(n.response,e,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function n(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,r=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(t,r,o){var a=s.URL||s.webkitURL,c=document.createElement("a");c.download=r=r||t.name||"download",c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?n(c):i(c.href)?e(t,r,o):n(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){n(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,r){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,r),s);else if(i(t))e(t,s,r);else{var o=document.createElement("a");o.href=t,o.target="_blank",setTimeout(function(){n(o)})}}:function(t,i,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return e(t,i,n);var a="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&c||r)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=o.saveAs=o,t.exports=o})?i.apply(e,[]):i)||(t.exports=n)},9355:function(t,e,i){(t.exports=i(2021)).tz.load(i(4360))},2021:function(t,e,i){var n,s,r;!function(o,a){"use strict";t.exports?t.exports=a(i(9609)):(s=[i(9609)],void 0===(r="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=r))}(0,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,i={},n={},s={},r={},o={};t&&"string"==typeof t.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var a=t.version.split("."),c=+a[0],u=+a[1];function l(t){return t>96?t-87:t>64?t-29:t-48}function h(t){var e=0,i=t.split("."),n=i[0],s=i[1]||"",r=1,o=0,a=1;for(45===t.charCodeAt(0)&&(e=1,a=-1);e= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),g.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,i=+t,n=this.untils;for(e=0;en&&L.moveInvalidForward&&(e=n),r3){var e=r[v(t)];if(e)return e;E("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(l){}var i,n,s,o=function(){var t,e,i,n=(new Date).getFullYear()-2,s=new _(new Date(n,0,1)),r=[s];for(i=1;i<48;i++)(e=new _(new Date(n,i,1))).offset!==s.offset&&(t=y(s,e),r.push(t),r.push(new _(new Date(t.at+6e4)))),s=e;for(i=0;i<4;i++)r.push(new _(new Date(n+i,0,1))),r.push(new _(new Date(n+i,6,1)));return r}(),a=o.length,c=A(o),u=[];for(n=0;n0?u[0].zone.name:void 0}()),e},L.names=function(){var t,e=[];for(t in r)r.hasOwnProperty(t)&&(i[t]||i[n[t]])&&r[t]&&e.push(r[t]);return e.sort()},L.Zone=g,L.unpack=f,L.unpackBase60=h,L.needsOffset=C,L.moveInvalidForward=!0,L.moveAmbiguousForward=!1,L.countries=function(){return Object.keys(s)},L.zonesForCountry=function(t,e){var i;if(i=(i=t).toUpperCase(),!(t=s[i]||null))return null;var n=t.zones.sort();return e?n.map(function(t){return{name:t,offset:k(t).utcOffset(new Date)}}):n};var z,R=t.fn;function x(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function O(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=L,t.defaultZone=null,t.updateOffset=function(e,i){var n,s=t.defaultZone;if(void 0===e._z&&(s&&C(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(s.parse(e),"minutes")),e._z=s),e._z)if(n=e._z.utcOffset(e),Math.abs(n)<16&&(n/=60),void 0!==e.utcOffset){var r=e._z;e.utcOffset(-n,i),e._z=r}else e.zone(n,i)},R.tz=function(e,i){if(e){if("string"!=typeof e)throw new Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=k(e),this._z?t.updateOffset(this,i):E("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},R.zoneName=x(R.zoneName),R.zoneAbbr=x(R.zoneAbbr),R.utc=O(R.utc),R.local=O(R.local),R.utcOffset=(z=R.utcOffset,function(){return arguments.length>0&&(this._z=null),z.apply(this,arguments)}),t.tz.setDefault=function(e){return(c<2||2===c&&u<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?k(e):null,t};var D=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(D)?(D.push("_z"),D.push("_a")):D&&(D._z=null),t})},776:function(t,e,i){!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(t){return/^nm$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},2758:function(t,e,i){!function(t){"use strict";t.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(i(9609))},4980:function(t,e,i){!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}})}(i(9609))},9602:function(t,e,i){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(t){return function(e,s,r,o){var a=i(e),c=n[t][i(e)];return 2===a&&(c=c[s?0:1]),c.replace(/%d/i,e)}},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"];t.defineLocale("ar-ly",{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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},2500:function(t,e,i){!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\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:6,doy:12}})}(i(9609))},6909:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(9609))},2735:function(t,e,i){!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}})}(i(9609))},7634:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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"]},r=function(t){return function(e,i,r,o){var a=n(e),c=s[t][n(e)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,e)}},o=["\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:o,monthsShort:o,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(t){return"\u0645"===t},meridiem:function(t,e,i){return t<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:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},7798:function(t,e,i){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};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:"birne\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(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9949:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}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:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(i(9609))},4590:function(t,e,i){!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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},5938:function(t,e,i){!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}})}(i(9609))},595:function(t,e,i){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\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\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(9609))},4756:function(t,e,i){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\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\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("_"),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\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("_"),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(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(9609))},7277:function(t,e,i){!function(t){"use strict";function e(t,e,i){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],t)}function i(t){return t>9?i(t%10):t}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i(9609))},4166:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},3943:function(t,e,i){!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(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}})}(i(9609))},3474:function(t,e,i){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^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],s=/^(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 r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||n?s+(r(t)?"sekundy":"sekund"):s+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?s+(r(t)?"minuty":"minut"):s+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?s+(r(t)?"hodiny":"hodin"):s+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?s+(r(t)?"dny":"dn\xed"):s+"dny";case"M":return e||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||n?s+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?s+(r(t)?"roky":"let"):s+"lety"}}t.defineLocale("cs",{months:e,monthsShort:i,monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},2218:function(t,e,i){!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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(9609))},1061:function(t,e,i){!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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(i(9609))},2743:function(t,e,i){!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}})}(i(9609))},8580:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3264:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1899:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?s[i][0]:s[i][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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8784:function(t,e,i){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,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(t){return"\u0789\u078a"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(9609))},4654:function(t,e,i){!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(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.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(t,e,i){return t>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var i,n=this._calendarEl[t],s=e&&e.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(e)),n.replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(9609))},4047:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6277:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},6896:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},1609:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},4557:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},5836:function(t,e,i){!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",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(i(9609))},3586:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2777:function(t,e,i){!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_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,i){return t>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(9609))},3128:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},3256:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(9609))},3357:function(t,e,i){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},2654:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},7287:function(t,e,i){!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}})}(i(9609))},3875:function(t,e,i){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\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(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,i){return t<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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(9609))},3431:function(t,e,i){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function n(t,n,s,r){var o="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,n){return t<10?n?i[t]:e[t]:t}(t,r)+" "+o}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},1781:function(t,e,i){!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}})}(i(9609))},1539:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(i(9609))},9847:function(t,e,i){!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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},1717:function(t,e,i){!function(t){"use strict";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("_"),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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(i(9609))},2250:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},7665:function(t,e,i){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},5214:function(t,e,i){!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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(9609))},6154:function(t,e,i){!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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},8518:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?s[i][0]:s[i][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(i(9609))},9221:function(t,e,i){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\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\u0ac7\u0ab9\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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(9609))},4743:function(t,e,i){!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(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,i){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(9609))},7339:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(9609))},3224:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return n+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return n+(1===t?"dan":"dana");case"MM":return n+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return n+(1===t?"godina":2===t||3===t||4===t?"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:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},856:function(t,e,i){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(t,e,i,n){var s=t;switch(i){case"s":return n||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return s+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return s+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||e?" \xe9v":" \xe9ve");case"yy":return s+(n||e?" \xe9v":" \xe9ve")}return""}function n(t){return(t?"":"[m\xfalt] ")+"["+e[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("_"),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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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:4}})}(i(9609))},6855:function(t,e,i){!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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(i(9609))},2190:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},3887:function(t,e,i){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function i(t,i,n,s){var r=t+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(i||s?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(i||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return e(t)?i?r+"dagar":r+(s?"daga":"d\xf6gum"):i?r+"dagur":r+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?i?r+"m\xe1nu\xf0ir":r+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?r+"m\xe1nu\xf0ur":r+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(i||s?"\xe1r":"\xe1rum"):r+(i||s?"\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:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},5890:function(t,e,i){!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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},9270:function(t,e,i){!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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},6595:function(t,e,i){!function(t){"use strict";t.defineLocale("ja",{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:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,i){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(9609))},7477:function(t,e,i){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(i(9609))},3978:function(t,e,i){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},9205:function(t,e,i){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},25:function(t,e,i){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\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(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(9609))},427:function(t,e,i){!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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,i){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(9609))},9089:function(t,e,i){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\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:n,monthsShort:n,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(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,i){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return i[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(9609))},9314:function(t,e,i){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},3136:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={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 e?s[i][0]:s[i][1]}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return i(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return i(t)}return i(t/=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(t){return i(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return i(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9115:function(t,e,i){!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(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,i){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(i(9609))},7087:function(t,e,i){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_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 i(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(t){return t%10==0||t>10&&t<20}function s(t){return e[t].split("_")}function r(t,e,r,o){var a=t+" ";return 1===t?a+i(0,e,r[0],o):e?a+(n(t)?s(r)[1]:s(r)[0]):o?a+s(r)[1]:a+(n(t)?s(r)[1]:s(r)[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(t,e,i,n){return e?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(i(9609))},5683:function(t,e,i){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(t,e,i){return i?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,s){return t+" "+i(e[s],t,n)}function s(t,n,s){return i(e[s],t,n)}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(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},9454:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},5507:function(t,e,i){!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}})}(i(9609))},8466:function(t,e,i){!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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,i=t%100;return 0===t?t+"-\u0435\u0432":0===i?t+"-\u0435\u043d":i>10&&i<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(9609))},2933:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,i){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(9609))},9477:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){switch(i){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 t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}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(t){return"\u04ae\u0425"===t},meridiem:function(t,e,i){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(i(9609))},3597:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(t,e,i,n){var s="";if(e)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,t)}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:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e?t>=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(9609))},9965:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},5529:function(t,e,i){!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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(9609))},259:function(t,e,i){!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}})}(i(9609))},8061:function(t,e,i){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\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(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(i(9609))},2618:function(t,e,i){!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_april_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",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8452:function(t,e,i){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,i){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(9609))},413:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},1885:function(t,e,i){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(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(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(9609))},5107:function(t,e,i){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},702:function(t,e,i){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(9609))},1711:function(t,e,i){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function s(t,e,i){var s=t+" ";switch(i){case"ss":return s+(n(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return s+(n(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return s+(n(t)?"godziny":"godzin");case"MM":return s+(n(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?""===n?"("+i[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(n)?i[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},8238:function(t,e,i){!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"})}(i(9609))},594:function(t,e,i){!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",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(9609))},4681:function(t,e,i){!function(t){"use strict";function e(t,e,i){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(i(9609))},6201:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(n=+t,s={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\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",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}var i=[/^\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:i,longMonthsParse:i,shortMonthsParse:i,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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(i(9609))},2912:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6002:function(t,e,i){!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}})}(i(9609))},7942:function(t,e,i){!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(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,i){return t>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(9609))},5577:function(t,e,i){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function s(t,e,i,s){var r=t+" ";switch(i){case"s":return e||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||s?r+(n(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return e||s?r+(n(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":s?"hodinu":"hodinou";case"hh":return e||s?r+(n(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||s?"de\u0148":"d\u0148om";case"dd":return e||s?r+(n(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||s?"mesiac":"mesiacom";case"MM":return e||s?r+(n(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||s?"rok":"rokom";case"yy":return e||s?r+(n(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:i,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(i(9609))},1775:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s=t+" ";switch(i){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return s+(1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return s+(1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return s+(1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return s+(1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return s+(1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6823:function(t,e,i){!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(t){return"M"===t.charAt(0)},meridiem:function(t,e,i){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3848:function(t,e,i){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},9038:function(t,e,i){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var s=e.words[n];return 1===n.length?i?s[0]:s[1]:t+" "+e.correctGrammaticalCase(t,s)}};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:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(9609))},6173:function(t,e,i){!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(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(9609))},5788:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e||2===e?"a":"e")},week:{dow:1,doy:4}})}(i(9609))},6882:function(t,e,i){!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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(9609))},2678:function(t,e,i){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\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(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return i[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e,i){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(i(9609))},2797:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(9609))},2447:function(t,e,i){!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:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},1335:function(t,e,i){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(i(9609))},8667:function(t,e,i){!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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,i){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(9609))},9914:function(t,e,i){!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(t){return t},week:{dow:1,doy:4}})}(i(9609))},1389:function(t,e,i){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(t,i,n,s){var r=function(t){var i=Math.floor(t%1e3/100),n=Math.floor(t%100/10),s=t%10,r="";return i>0&&(r+=e[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+e[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+e[s]),""===r?"pagh":r}(t);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" 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(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(9609))},3578:function(t,e,i){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};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_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".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 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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,i){switch(i){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(i(9609))},6969:function(t,e,i){!function(t){"use strict";function e(t,e,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?s[i][0]:s[i][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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,i){return t>11?i?"d'o":"D'O":i?"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: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}})}(i(9609))},690:function(t,e,i){!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}})}(i(9609))},6509:function(t,e,i){!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}})}(i(9609))},55:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(9609))},2452:function(t,e,i){!function(t){"use strict";function e(t,e,i){return"m"===i?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(n=+t,s={ss:e?"\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:e?"\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:e?"\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"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}function i(t){return function(){return t+"\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(t,e){var i={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===t?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):t?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:i.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,i){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(i(9609))},1151:function(t,e,i){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\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:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,i){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(9609))},6547:function(t,e,i){!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}})}(i(9609))},1555:function(t,e,i){!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}})}(i(9609))},6541:function(t,e,i){!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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(i(9609))},2401:function(t,e,i){!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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(i(9609))},2341:function(t,e,i){!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}})}(i(9609))},619:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<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|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(9609))},7058:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},2782:function(t,e,i){!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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(9609))},9609:function(t,e,i){(t=i.nmd(t)).exports=function(){"use strict";var e,n;function s(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i>>0,n=0;n0)for(i=0;i<_.length;i++)a(s=e[n=_[i]])||(t[n]=s);return t}var y=!1;function w(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,s.updateOffset(this),y=!1)}function M(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function A(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function v(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=A(e)),i}function T(t,e,i){var n,s=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(n=0;n=0?i?"+":"":"-")+Math.pow(10,Math.max(0,e-n.length)).toString().substr(1)+n}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},Y={};function W(t,e,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),t&&(Y[t]=s),e&&(Y[e[0]]=function(){return F(s.apply(this,arguments),e[1],e[2])}),i&&(Y[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=K(e,t.localeData()),j[e]=j[e]||function(t){var e,i,n,s=t.match(H);for(e=0,i=s.length;e=0&&q.test(t);)t=t.replace(q,n),q.lastIndex=0,i-=1;return t}var V=/\d/,X=/\d\d/,G=/\d{3}/,$=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,Z=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,it=/\d{1,4}/,nt=/[+-]?\d{1,6}/,st=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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,ut={};function lt(t,e,i){ut[t]=z(e)?e:function(t,n){return t&&i?i:e}}function ht(t,e){return h(ut,t)?ut[t](e._strict,e._locale):new RegExp(dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,s){return e||i||n||s})))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),c(e)&&(n=function(t,i){i[e]=v(t)}),i=0;i68?1900:2e3)};var yt,wt=Mt("FullYear",!0);function Mt(t,e){return function(i){return null!=i?(vt(this,t,i),s.updateOffset(this,e),this):At(this,t)}}function At(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function vt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&bt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Tt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Tt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?bt(t)?29:28:31-i%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0?(a=new Date(t+400,e,i,n,s,r,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,i,n,s,r,o),a}function Pt(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Nt(t,e,i){var n=7+e-i;return-(7+Pt(t,0,n).getUTCDay()-e)%7+n-1}function It(t,e,i,n,s){var r,o,a=1+7*(e-1)+(7+i-n)%7+Nt(t,n,s);return a<=0?o=_t(r=t-1)+a:a>_t(t)?(r=t+1,o=a-_t(t)):(r=t,o=a),{year:r,dayOfYear:o}}function Bt(t,e,i){var n,s,r=Nt(t.year(),e,i),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?n=o+Ft(s=t.year()-1,e,i):o>Ft(t.year(),e,i)?(n=o-Ft(t.year(),e,i),s=t.year()+1):(s=t.year(),n=o),{week:n,year:s}}function Ft(t,e,i){var n=Nt(t,e,i),s=Nt(t+1,e,i);return(_t(t)-n+s)/7}function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),B("week",5),B("isoWeek",5),lt("w",Q),lt("ww",Q,X),lt("W",Q),lt("WW",Q,X),gt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=v(t)}),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),lt("d",Q),lt("e",Q),lt("E",Q),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,i,n){var s=i._locale.weekdaysParse(t,n,i._strict);null!=s?e.d=s:f(i).invalidWeekday=t}),gt(["d","e","E"],function(t,e,i,n){e[n]=v(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Wt(t,e,i){var n,s,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,o))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,o))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,o))?s:null:"dddd"===e?-1!==(s=yt.call(this._weekdaysParse,o))||-1!==(s=yt.call(this._shortWeekdaysParse,o))||-1!==(s=yt.call(this._minWeekdaysParse,o))?s:null:"ddd"===e?-1!==(s=yt.call(this._shortWeekdaysParse,o))||-1!==(s=yt.call(this._weekdaysParse,o))||-1!==(s=yt.call(this._minWeekdaysParse,o))?s:null:-1!==(s=yt.call(this._minWeekdaysParse,o))||-1!==(s=yt.call(this._weekdaysParse,o))||-1!==(s=yt.call(this._shortWeekdaysParse,o))?s:null}var Ut=ct,Kt=ct,Vt=ct;function Xt(){function t(t,e){return e.length-t.length}var e,i,n,s,r,o=[],a=[],c=[],u=[];for(e=0;e<7;e++)i=p([2e3,1]).day(e),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),r=this.weekdays(i,""),o.push(n),a.push(s),c.push(r),u.push(n),u.push(s),u.push(r);for(o.sort(t),a.sort(t),c.sort(t),u.sort(t),e=0;e<7;e++)a[e]=dt(a[e]),c[e]=dt(c[e]),u[e]=dt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Gt(){return this.hours()%12||12}function $t(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Gt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Gt.apply(this)+F(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Gt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),$t("a",!0),$t("A",!1),D("hour","h"),B("hour",13),lt("a",Jt),lt("A",Jt),lt("H",Q),lt("h",Q),lt("k",Q),lt("HH",Q,X),lt("hh",Q,X),lt("kk",Q,X),lt("hmm",Z),lt("hmmss",tt),lt("Hmm",Z),lt("Hmmss",tt),ft(["H","HH"],3),ft(["k","kk"],function(t,e,i){var n=v(t);e[3]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[3]=v(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(s)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,s=t.length-2;e[3]=v(t.substr(0,n)),e[4]=v(t.substr(n,2)),e[5]=v(t.substr(s))});var Qt,Zt=Mt("Hours",!0),te={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Ct,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Yt,weekdaysShort:jt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ie={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function se(e){var n=null;if(!ee[e]&&t&&t.exports)try{n=Qt._abbr,i(6700)("./"+e),re(n)}catch(s){}return ee[e]}function re(t,e){var i;return t&&((i=a(e)?ae(t):oe(t,e))?Qt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function oe(t,e){if(null!==e){var i,n=te;if(e.abbr=t,null!=ee[t])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])n=ee[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ie[e.parentLocale]||(ie[e.parentLocale]=[]),ie[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ee[t]=new x(R(n,e)),ie[t]&&ie[t].forEach(function(t){oe(t.name,t.config)}),re(t),ee[t]}return delete ee[t],null}function ae(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!r(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,s,r=0;r0;){if(n=se(s.slice(0,e).join("-")))return n;if(i&&i.length>=e&&T(s,i,!0)>=e-1)break;e--}r++}return Qt}(t)}function ce(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Tt(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,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}function ue(t,e,i){return null!=t?t:null!=e?e:i}function le(t){var e,i,n,r,o,a=[];if(!t._d){for(n=function(t){var e=new Date(s.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,i,n,s,r,o,a,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,o=4,i=ue(e.GG,t._a[0],Bt(Te(),1,4).year),n=ue(e.W,1),((s=ue(e.E,1))<1||s>7)&&(c=!0);else{r=t._locale._week.dow,o=t._locale._week.doy;var u=Bt(Te(),r,o);i=ue(e.gg,t._a[0],u.year),n=ue(e.w,u.week),null!=e.d?((s=e.d)<0||s>6)&&(c=!0):null!=e.e?(s=e.e+r,(e.e<0||e.e>6)&&(c=!0)):s=r}n<1||n>Ft(i,r,o)?f(t)._overflowWeeks=!0:null!=c?f(t)._overflowWeekday=!0:(a=It(i,n,s,r,o),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=ue(t._a[0],n[0]),(t._dayOfYear>_t(o)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Pt(o,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Pt:Dt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}var he=/^\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)?)?$/,de=/^\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)?)?$/,pe=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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}/]],ge=[["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/]],me=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,s,r,o,a=t._i,c=he.exec(a)||de.exec(a);if(c){for(f(t).iso=!0,e=0,i=fe.length;e0&&f(t).unusedInput.push(o),a=a.slice(a.indexOf(i)+i.length),u+=i.length),Y[r]?(i?f(t).empty=!1:f(t).unusedTokens.push(r),mt(r,i,t)):t._strict&&!i&&f(t).unusedTokens.push(r);f(t).charsLeftOver=c-u,a.length>0&&f(t).unusedInput.push(a),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),le(t),ce(t)}else we(t);else _e(t)}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||ae(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),M(e)?new w(ce(e)):(u(e)?t._d=e:r(i)?function(t){var e,i,n,s,r;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(s=0;sthis?this:t:m()});function Ce(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],n=1;n=0?new Date(t+400,e,i)-126227808e5:new Date(t,e,i).valueOf()}function Ze(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-126227808e5:Date.UTC(t,e,i)}function ti(t,e){W(0,[t,t.length],0,e)}function ei(t,e,i,n,s){var r;return null==t?Bt(this,n,s).year:(e>(r=Ft(t,n,s))&&(e=r),ii.call(this,t,e,i,n,s))}function ii(t,e,i,n,s){var r=It(t,e,i,n,s),o=Pt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ti("gggg","weekYear"),ti("ggggg","weekYear"),ti("GGGG","isoWeekYear"),ti("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),lt("G",rt),lt("g",rt),lt("GG",Q,X),lt("gg",Q,X),lt("GGGG",it,$),lt("gggg",it,$),lt("GGGGG",nt,J),lt("ggggg",nt,J),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=v(t)}),gt(["gg","GG"],function(t,e,i,n){e[n]=s.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),D("quarter","Q"),B("quarter",7),lt("Q",V),ft("Q",function(t,e){e[1]=3*(v(t)-1)}),W("D",["DD",2],"Do","date"),D("date","D"),B("date",9),lt("D",Q),lt("DD",Q,X),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],2),ft("Do",function(t,e){e[2]=v(t.match(Q)[0])});var ni=Mt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),B("dayOfYear",4),lt("DDD",et),lt("DDDD",G),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=v(t)}),W("m",["mm",2],0,"minute"),D("minute","m"),B("minute",14),lt("m",Q),lt("mm",Q,X),ft(["m","mm"],4);var si=Mt("Minutes",!1);W("s",["ss",2],0,"second"),D("second","s"),B("second",15),lt("s",Q),lt("ss",Q,X),ft(["s","ss"],5);var ri,oi=Mt("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),B("millisecond",16),lt("S",et,V),lt("SS",et,X),lt("SSS",et,G),ri="SSSS";ri.length<=9;ri+="S")lt(ri,st);function ai(t,e){e[6]=v(1e3*("0."+t))}for(ri="S";ri.length<=9;ri+="S")ft(ri,ai);var ci=Mt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ui=w.prototype;function li(t){return t}ui.add=Ue,ui.calendar=function(t,e){var i=t||Te(),n=Pe(i,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",o=e&&(z(e[r])?e[r].call(this,i):e[r]);return this.format(o||this.localeData().calendar(r,this,Te(i)))},ui.clone=function(){return new w(this)},ui.diff=function(t,e,i){var n,s,r;if(!this.isValid())return NaN;if(!(n=Pe(t,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),e=P(e)){case"year":r=Ve(this,n)/12;break;case"month":r=Ve(this,n);break;case"quarter":r=Ve(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return i?r:A(r)},ui.endOf=function(t){var e;if(void 0===(t=P(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?Ze:Qe;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-Je(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-Je(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-Je(e,1e3)-1}return this._d.setTime(e),s.updateOffset(this,!0),this},ui.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},ui.from=function(t,e){return this.isValid()&&(M(t)&&t.isValid()||Te(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.fromNow=function(t){return this.from(Te(),t)},ui.to=function(t,e){return this.isValid()&&(M(t)&&t.isValid()||Te(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ui.toNow=function(t){return this.to(Te(),t)},ui.get=function(t){return z(this[t=P(t)])?this[t]():this},ui.invalidAt=function(){return f(this).overflow},ui.isAfter=function(t,e){var i=M(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=P(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ui.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},ui.toJSON=function(){return this.isValid()?this.toISOString():null},ui.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ui.unix=function(){return Math.floor(this.valueOf()/1e3)},ui.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ui.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ui.year=wt,ui.isLeapYear=function(){return bt(this.year())},ui.weekYear=function(t){return ei.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ui.isoWeekYear=function(t){return ei.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ui.quarter=ui.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ui.month=zt,ui.daysInMonth=function(){return Tt(this.year(),this.month())},ui.week=ui.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ui.isoWeek=ui.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ui.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},ui.isoWeeksInYear=function(){return Ft(this.year(),1,4)},ui.date=ni,ui.day=ui.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ui.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ui.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ui.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ui.hour=ui.hours=Zt,ui.minute=ui.minutes=si,ui.second=ui.seconds=oi,ui.millisecond=ui.milliseconds=ci,ui.utcOffset=function(t,e,i){var n,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=De(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(n=Ne(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==t&&(!e||this._changeInProgress?We(this,He(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ne(this)},ui.utc=function(t){return this.utcOffset(0,t)},ui.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},ui.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=De(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ui.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ui.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ui.isLocal=function(){return!!this.isValid()&&!this._isUTC},ui.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ui.isUtc=Ie,ui.isUTC=Ie,ui.zoneAbbr=function(){return this._isUTC?"UTC":""},ui.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ui.dates=S("dates accessor is deprecated. Use date instead.",ni),ui.months=S("months accessor is deprecated. Use month instead",zt),ui.years=S("years accessor is deprecated. Use year instead",wt),ui.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ui.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(b(t,this),(t=Ae(t))._a){var e=t._isUTC?p(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&T(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hi=x.prototype;function di(t,e,i,n){var s=ae(),r=p().set(n,e);return s[i](r,t)}function pi(t,e,i){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return di(t,e,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=di(t,n,i,"month");return s}function fi(t,e,i,n){"boolean"==typeof t?(c(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,c(e)&&(i=e,e=void 0),e=e||"");var s,r=ae(),o=t?r._week.dow:0;if(null!=i)return di(e,(i+o)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=di(e,(s+o)%7,n,"day");return a}hi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return z(n)?n.call(e,i):n},hi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(t){return this._ordinal.replace("%d",t)},hi.preparse=li,hi.postformat=li,hi.relativeTime=function(t,e,i,n){var s=this._relativeTime[i];return z(s)?s(t,e,i,n):s.replace(/%d/i,t)},hi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return z(i)?i(e):i.replace(/%s/i,e)},hi.set=function(t){var e,i;for(i in t)z(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,i){var n,s,r;if(this._monthsParseExact)return Et.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},hi.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Ot.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=xt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Ot.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Rt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(t,e){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ht(i,this._week.dow):t?i[t.day()]:i},hi.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},hi.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},hi.weekdaysParse=function(t,e,i){var n,s,r;if(this._weekdaysParseExact)return Wt.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},re("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),s.lang=S("moment.lang is deprecated. Use moment.locale instead.",re),s.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ae);var gi=Math.abs;function mi(t,e,i,n){var s=He(e,i);return t._milliseconds+=n*s._milliseconds,t._days+=n*s._days,t._months+=n*s._months,t._bubble()}function _i(t){return t<0?Math.floor(t):Math.ceil(t)}function bi(t){return 4800*t/146097}function yi(t){return 146097*t/4800}function wi(t){return function(){return this.as(t)}}var Mi=wi("ms"),Ai=wi("s"),vi=wi("m"),Ti=wi("h"),ki=wi("d"),Si=wi("w"),Ci=wi("M"),Ei=wi("Q"),Li=wi("y");function zi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ri=zi("milliseconds"),xi=zi("seconds"),Oi=zi("minutes"),Di=zi("hours"),Pi=zi("days"),Ni=zi("months"),Ii=zi("years"),Bi=Math.round,Fi={ss:44,s:45,m:45,h:22,d:26,M:11};function Hi(t,e,i,n,s){return s.relativeTime(e||1,!!i,t,n)}var qi=Math.abs;function ji(t){return(t>0)-(t<0)||+t}function Yi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=qi(this._milliseconds)/1e3,n=qi(this._days),s=qi(this._months);t=A(i/60),e=A(t/60),i%=60,t%=60;var r=A(s/12),o=s%=12,a=n,c=e,u=t,l=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=ji(this._months)!==ji(h)?"-":"",f=ji(this._days)!==ji(h)?"-":"",g=ji(this._milliseconds)!==ji(h)?"-":"";return d+"P"+(r?p+r+"Y":"")+(o?p+o+"M":"")+(a?f+a+"D":"")+(c||u||l?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(l?g+l+"S":"")}var Wi=Le.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var t=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),t.milliseconds=gi(t.milliseconds),t.seconds=gi(t.seconds),t.minutes=gi(t.minutes),t.hours=gi(t.hours),t.months=gi(t.months),t.years=gi(t.years),this},Wi.add=function(t,e){return mi(this,t,e,1)},Wi.subtract=function(t,e){return mi(this,t,e,-1)},Wi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=P(t))||"quarter"===t||"year"===t)switch(i=this._months+bi(e=this._days+n/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(yi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Wi.asMilliseconds=Mi,Wi.asSeconds=Ai,Wi.asMinutes=vi,Wi.asHours=Ti,Wi.asDays=ki,Wi.asWeeks=Si,Wi.asMonths=Ci,Wi.asQuarters=Ei,Wi.asYears=Li,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12):NaN},Wi._bubble=function(){var t,e,i,n,s,r=this._milliseconds,o=this._days,a=this._months,c=this._data;return r>=0&&o>=0&&a>=0||r<=0&&o<=0&&a<=0||(r+=864e5*_i(yi(a)+o),o=0,a=0),c.milliseconds=r%1e3,t=A(r/1e3),c.seconds=t%60,e=A(t/60),c.minutes=e%60,i=A(e/60),c.hours=i%24,o+=A(i/24),a+=s=A(bi(o)),o-=_i(yi(s)),n=A(a/12),a%=12,c.days=o,c.months=a,c.years=n,this},Wi.clone=function(){return He(this)},Wi.get=function(t){return t=P(t),this.isValid()?this[t+"s"]():NaN},Wi.milliseconds=Ri,Wi.seconds=xi,Wi.minutes=Oi,Wi.hours=Di,Wi.days=Pi,Wi.weeks=function(){return A(this.days()/7)},Wi.months=Ni,Wi.years=Ii,Wi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=He(t).abs(),s=Bi(n.as("s")),r=Bi(n.as("m")),o=Bi(n.as("h")),a=Bi(n.as("d")),c=Bi(n.as("M")),u=Bi(n.as("y")),l=s<=Fi.ss&&["s",s]||s0,l[4]=i,Hi.apply(null,l)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Wi.toISOString=Yi,Wi.toString=Yi,Wi.toJSON=Yi,Wi.locale=Xe,Wi.localeData=$e,Wi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yi),Wi.lang=Ge,W("X",0,0,"unix"),W("x",0,0,"valueOf"),lt("x",rt),lt("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(v(t))}),s.version="2.24.0",e=Te,s.fn=ui,s.min=function(){return Ce("isBefore",[].slice.call(arguments,0))},s.max=function(){return Ce("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return Te(1e3*t)},s.months=function(t,e){return pi(t,e,"months")},s.isDate=u,s.locale=re,s.invalid=m,s.duration=He,s.isMoment=M,s.weekdays=function(t,e,i){return fi(t,e,i,"weekdays")},s.parseZone=function(){return Te.apply(null,arguments).parseZone()},s.localeData=ae,s.isDuration=ze,s.monthsShort=function(t,e){return pi(t,e,"monthsShort")},s.weekdaysMin=function(t,e,i){return fi(t,e,i,"weekdaysMin")},s.defineLocale=oe,s.updateLocale=function(t,e){if(null!=e){var i,n,s=te;null!=(n=se(t))&&(s=n._config),(i=new x(e=R(s,e))).parentLocale=ee[t],ee[t]=i,re(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?ee[t]=ee[t].parentLocale:null!=ee[t]&&delete ee[t]);return ee[t]},s.locales=function(){return C(ee)},s.weekdaysShort=function(t,e,i){return fi(t,e,i,"weekdaysShort")},s.normalizeUnits=P,s.relativeTimeRounding=function(t){return void 0===t?Bi:"function"==typeof t&&(Bi=t,!0)},s.relativeTimeThreshold=function(t,e){return void 0!==Fi[t]&&(void 0===e?Fi[t]:(Fi[t]=e,"s"===t&&(Fi.ss=e-1),!0))},s.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=ui,s.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"},s}()},9997:function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,(function(e){return t[e]}).bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=22)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i=4){for(var t=arguments.length,e=Array(t),i=0;i=3){for(var t=arguments.length,e=Array(t),i=0;i=2){for(var t=arguments.length,e=Array(t),i=0;i=1){for(var t=arguments.length,e=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:r.JsonService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new i(["application/jwk-set+json"])}return t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(s.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(s.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(e){return s.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=e,e})):(s.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then(function(i){if(s.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===i[t]){if(!0===e)return void s.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw s.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return i[t]})},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(s.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(e){return s.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then(function(e){if(s.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw s.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys})})},n(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var n=i(0),s=i(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,i){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(i)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global;"string"!=typeof t&&(t=i.location.href);var r=t.lastIndexOf(e);r>=0&&(t=t.substr(r+1)),"?"===e&&(r=t.indexOf("#"))>=0&&(t=t.substr(0,r));for(var o,a={},c=/([^&=]+)=([^&]*)/g,u=0;o=c.exec(t);)if(a[decodeURIComponent(o[1])]=decodeURIComponent(o[2]),u++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var l in a)return a;return{}},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var n=i(25),s=function(t){return t&&t.__esModule?t:{default:t}}(i(32));e.JoseUtil=(0,s.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.authority,s=e.metadataUrl,r=e.metadata,h=e.signingKeys,d=e.client_id,p=e.client_secret,f=e.response_type,g=void 0===f?u:f,m=e.scope,_=void 0===m?l:m,b=e.redirect_uri,y=e.post_logout_redirect_uri,w=e.prompt,M=e.display,A=e.max_age,v=e.ui_locales,T=e.acr_values,k=e.resource,S=e.response_mode,C=e.filterProtocolClaims,E=void 0===C||C,L=e.loadUserInfo,z=void 0===L||L,R=e.staleStateAge,x=void 0===R?900:R,O=e.clockSkew,D=void 0===O?300:O,P=e.userInfoJwtIssuer,N=void 0===P?"OP":P,I=e.stateStore,B=void 0===I?new o.WebStorageStateStore:I,F=e.ResponseValidatorCtor,H=void 0===F?a.ResponseValidator:F,q=e.MetadataServiceCtor,j=void 0===q?c.MetadataService:q,Y=e.extraQueryParams,W=void 0===Y?{}:Y,U=e.extraTokenParams,K=void 0===U?{}:U;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._authority=i,this._metadataUrl=s,this._metadata=r,this._signingKeys=h,this._client_id=d,this._client_secret=p,this._response_type=g,this._scope=_,this._redirect_uri=b,this._post_logout_redirect_uri=y,this._prompt=w,this._display=M,this._max_age=A,this._ui_locales=v,this._acr_values=T,this._resource=k,this._response_mode=S,this._filterProtocolClaims=!!E,this._loadUserInfo=!!z,this._staleStateAge=x,this._clockSkew=D,this._userInfoJwtIssuer=N,this._stateStore=B,this._validator=new H(this),this._metadataService=new j(this),this._extraQueryParams="object"===(void 0===W?"undefined":n(W))?W:{},this._extraTokenParams="object"===(void 0===K?"undefined":n(K))?K:{}}return s(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw r.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw r.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){this._extraQueryParams="object"===(void 0===t?"undefined":n(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":n(t))?t:{}}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=i(0),s=i(1);e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.prefix,n=void 0===i?"oidc.":i,r=e.store,o=void 0===r?s.Global.localStorage:r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._store=o,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){n.Log.debug("WebStorageStateStore.remove",t);var e=this._store.getItem(t=this._prefix+t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=i,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise(function(s,r){var o=new i._XMLHttpRequest;o.open("GET",t);var a=i._contentTypes,c=i._jwtHandler;o.onload=function(){if(n.Log.debug("JsonService.getJson: HTTP response received, status",o.status),200===o.status){var e=o.getResponseHeader("Content-Type");if(e){var i=a.find(function(t){if(e.startsWith(t))return!0});if("application/jwt"==i)return void c(o).then(s,r);if(i)try{return void s(JSON.parse(o.responseText))}catch(s){return n.Log.error("JsonService.getJson: Error parsing JSON response",s.message),void r(s)}}r(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else r(Error(o.statusText+" ("+o.status+")"))},o.onerror=function(){n.Log.error("JsonService.getJson: network error"),r(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),o.setRequestHeader("Authorization","Bearer "+e)),o.send()})},t.prototype.postForm=function(t,e){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise(function(s,r){var o=new i._XMLHttpRequest;o.open("POST",t);var a=i._contentTypes;o.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",o.status),200!==o.status){if(400===o.status&&(i=o.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{var e=JSON.parse(o.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void r(new Error(e.error))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void r(s)}r(Error(o.statusText+" ("+o.status+")"))}else{var i;if((i=o.getResponseHeader("Content-Type"))&&a.find(function(t){if(i.startsWith(t))return!0}))try{return void s(JSON.parse(o.responseText))}catch(s){return n.Log.error("JsonService.postForm: Error parsing JSON response",s.message),void r(s)}r(Error("Invalid response Content-Type: "+i+", from URL: "+t))}},o.onerror=function(){n.Log.error("JsonService.postForm: network error"),r(Error("Network Error"))};var c="";for(var u in e){var l=e[u];l&&(c.length>0&&(c+="&"),c+=encodeURIComponent(u),c+="=",c+=encodeURIComponent(l))}o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.send(c)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,n=e.data,s=e.created,o=e.request_type;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=i||(0,r.default)(),this._data=n,this._created="number"==typeof s&&s>0?s:parseInt(Date.now()/1e3),this._request_type=o}return t.prototype.toStorageString=function(){return s.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return s.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,i){var n=Date.now()/1e3-i;return e.getAllKeys().then(function(i){s.Log.debug("State.clearStaleState: got keys",i);for(var r=[],o=function(o){var a=i[o];c=e.get(a).then(function(i){var r=!1;if(i)try{var o=t.fromStorageString(i);s.Log.debug("State.clearStaleState: got item from key: ",a,o.created),o.created<=n&&(r=!0)}catch(t){s.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),r=!0}else s.Log.debug("State.clearStaleState: no item in storage for key: ",a),r=!0;if(r)return s.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)}),r.push(c)},a=0;a0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._settings=e instanceof r.OidcClientSettings?e:new r.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.response_type,n=e.scope,r=e.redirect_uri,o=e.data,c=e.state,u=e.prompt,l=e.display,h=e.max_age,d=e.ui_locales,p=e.id_token_hint,f=e.login_hint,g=e.acr_values,m=e.resource,_=e.request,b=e.request_uri,y=e.response_mode,w=e.extraQueryParams,M=e.extraTokenParams,A=e.request_type,v=e.skipUserInfo,T=arguments[1];s.Log.debug("OidcClient.createSigninRequest");var k=this._settings.client_id;n=n||this._settings.scope,r=r||this._settings.redirect_uri,u=u||this._settings.prompt,l=l||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,m=m||this._settings.resource,y=y||this._settings.response_mode,w=w||this._settings.extraQueryParams,M=M||this._settings.extraTokenParams;var S=this._settings.authority;return a.SigninRequest.isCode(i=i||this._settings.response_type)&&"code"!==i?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(e){s.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var C=new a.SigninRequest({url:e,client_id:k,redirect_uri:r,response_type:i,scope:n,data:o||c,authority:S,prompt:u,display:l,max_age:h,ui_locales:d,id_token_hint:p,login_hint:f,acr_values:g,resource:m,request:_,request_uri:b,extraQueryParams:w,extraTokenParams:M,request_type:A,response_mode:y,client_secret:t._settings.client_secret,skipUserInfo:v}),E=C.state;return(T=T||t._stateStore).set(E.id,E.toStorageString()).then(function(){return C})})},t.prototype.readSigninResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type)?"?":"#",r=new c.SigninResponse(t,n);return r.state?(e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(r.state).then(function(t){if(!t)throw s.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(t),response:r}})):(s.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},t.prototype.processSigninResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return s.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),i._validator.validateSigninResponse(e,n)})},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id_token_hint,n=e.data,r=e.state,o=e.post_logout_redirect_uri,a=e.extraQueryParams,c=e.request_type,l=arguments[1];return s.Log.debug("OidcClient.createSignoutRequest"),o=o||this._settings.post_logout_redirect_uri,a=a||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(e){if(!e)throw s.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");s.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var h=new u.SignoutRequest({url:e,id_token_hint:i,post_logout_redirect_uri:o,data:n||r,extraQueryParams:a,request_type:c}),d=h.state;return d&&(s.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(l=l||t._stateStore).set(d.id,d.toStorageString())),h})},t.prototype.readSignoutResponseState=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s.Log.debug("OidcClient.readSignoutResponseState");var n=new l.SignoutResponse(t);if(!n.state)return s.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(s.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new o.ErrorResponse(n))):Promise.resolve({undefined:void 0,response:n});var r=n.state;return e=e||this._stateStore,(i?e.remove.bind(e):e.get.bind(e))(r).then(function(t){if(!t)throw s.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(t),response:n}})},t.prototype.processSignoutResponse=function(t,e){var i=this;return s.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then(function(t){var e=t.state,n=t.response;return e?(s.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),i._validator.validateSignoutResponse(e,n)):(s.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)})},t.prototype.clearStaleState=function(t){return s.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},n(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var n=i(7),s=i(2),r=i(0);e.TokenClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i,this._metadataService=new o(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri,e.code?e.redirect_uri?e.code_verifier?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return r.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return r.Log.debug("TokenClient.exchangeCode: response received"),t})}):(r.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(r.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(r.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.refresh_token?e.client_id?this._metadataService.getTokenEndpoint(!1).then(function(i){return r.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e).then(function(t){return r.Log.debug("TokenClient.exchangeRefreshToken: response received"),t})}):(r.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(r.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var n=i(0);e.ErrorResponse=function(t){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=i.error,r=i.error_description,o=i.error_uri,a=i.state,c=i.session_state;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!s)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var u=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,r||s));return u.name="ErrorResponse",u.error=s,u.error_description=r,u.error_uri=o,u.state=a,u.session_state=c,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=i(0),s=i(3),r=i(13);e.SigninRequest=function(){function t(e){var i=e.url,o=e.client_id,a=e.redirect_uri,c=e.response_type,u=e.scope,l=e.authority,h=e.data,d=e.prompt,p=e.display,f=e.max_age,g=e.ui_locales,m=e.id_token_hint,_=e.login_hint,b=e.acr_values,y=e.resource,w=e.response_mode,M=e.request,A=e.request_uri,v=e.extraQueryParams,T=e.request_type,k=e.client_secret,S=e.extraTokenParams,C=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!o)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!c)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!u)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!l)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var E=t.isOidc(c),L=t.isCode(c);w||(w=t.isCode(c)?"query":null),this.state=new r.SigninState({nonce:E,data:h,client_id:o,authority:l,redirect_uri:a,code_verifier:L,request_type:T,response_mode:w,client_secret:k,scope:u,extraTokenParams:S,skipUserInfo:C}),i=s.UrlUtility.addQueryParam(i,"client_id",o),i=s.UrlUtility.addQueryParam(i,"redirect_uri",a),i=s.UrlUtility.addQueryParam(i,"response_type",c),i=s.UrlUtility.addQueryParam(i,"scope",u),i=s.UrlUtility.addQueryParam(i,"state",this.state.id),E&&(i=s.UrlUtility.addQueryParam(i,"nonce",this.state.nonce)),L&&(i=s.UrlUtility.addQueryParam(i,"code_challenge",this.state.code_challenge),i=s.UrlUtility.addQueryParam(i,"code_challenge_method","S256"));var z={prompt:d,display:p,max_age:f,ui_locales:g,id_token_hint:m,login_hint:_,acr_values:b,resource:y,request:M,request_uri:A,response_mode:w};for(var R in z)z[R]&&(i=s.UrlUtility.addQueryParam(i,R,z[R]));for(var x in v)i=s.UrlUtility.addQueryParam(i,x,v[x]);this.url=i}return t.isOidc=function(t){return!!t.split(/\s+/g).filter(function(t){return"id_token"===t})[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter(function(t){return"token"===t})[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter(function(t){return"code"===t})[0]},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.nonce,s=i.authority,r=i.client_id,c=i.redirect_uri,u=i.code_verifier,l=i.response_mode,h=i.client_secret,d=i.scope,p=i.extraTokenParams,f=i.skipUserInfo;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var g=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));if(!0===n?g._nonce=(0,a.default)():n&&(g._nonce=n),!0===u?g._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():u&&(g._code_verifier=u),g.code_verifier){var m=o.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=o.JoseUtil.hexToBase64Url(m)}return g._redirect_uri=c,g._authority=s,g._client_id=r,g._response_mode=l,g._client_secret=h,g._scope=d,g._extraTokenParams=p,g._skipUserInfo=f,g}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return s.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return s.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},n(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(r.State)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.default)().replace(/-/g,"")};var n=function(t){return t&&t.__esModule?t:{default:t}}(i(33));t.exports=e.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var i=0;i0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var n=i(0),s=i(48);e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.accessTokenExpiringNotificationTime,n=void 0===i?60:i,r=e.accessTokenExpiringTimer,o=void 0===r?new s.Timer("Access token expiring"):r,a=e.accessTokenExpiredTimer,c=void 0===a?new s.Timer("Access token expired"):a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=o,this._accessTokenExpired=c}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var i=e-this._accessTokenExpiringNotificationTime;i<=0&&(i=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",i),this._accessTokenExpiring.init(i)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var s=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",s),this._accessTokenExpired.init(s)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var n=i(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex(function(e){return e===t});e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){n.Log.debug("Event: Raising event: "+this._name);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:r.CheckSessionIFrame,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.Global.timer;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=a,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then(function(t){t?i._start(t):i._settings.monitorAnonymousSession&&i._userManager.querySessionStatus().then(function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),i._start(e)}).catch(function(t){s.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)})}).catch(function(t){s.Log.error("SessionMonitor ctor: error from getUser:",t.message)})}return t.prototype._start=function(t){var e=this,i=t.session_state;i&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,s.Log.debug("SessionMonitor._start: session_state:",i,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,s.Log.debug("SessionMonitor._start: session_state:",i,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(i):this._metadataService.getCheckSessionIframe().then(function(t){if(t){s.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,r=e._checkSessionInterval,o=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,r,o),e._checkSessionIFrame.load().then(function(){e._checkSessionIFrame.start(i)})}else s.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(t){s.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)}))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(s.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval(function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then(function(e){var i={session_state:e.session_state};e.sub&&e.sid&&(i.profile={sub:e.sub,sid:e.sid}),t._start(i)}).catch(function(t){s.Log.error("SessionMonitor: error from querySessionStatus:",t.message)})},1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then(function(e){var i=!0;e?e.sub===t._sub?(i=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(s.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):s.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):s.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),i&&(t._sub?(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(s.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))}).catch(function(e){t._sub&&(s.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())})},n(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var n=i(0);e.CheckSessionIFrame=function(){function t(e,i,n,s){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._callback=e,this._client_id=i,this._url=n,this._interval=s||2e3,this._stopOnError=r;var o=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.substr(0,o),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=n}return t.prototype.load=function(){var t=this;return new Promise(function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)})},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var i=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};i(),this._timer=window.setInterval(i,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var n=i(0),s=i(2),r=i(1);e.TokenRevocationClient=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.XMLHttpRequest,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=i,this._metadataService=new o(this._settings)}return t.prototype.revoke=function(t,e){var i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==s&&"refresh_token"!=s)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(r){if(r)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+s),i._revoke(r,i._settings.client_id,i._settings.client_secret,t,s);if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},t.prototype._revoke=function(t,e,i,s,r){var o=this;return new Promise(function(a,c){var u=new o._XMLHttpRequestCtor;u.open("POST",t),u.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",u.status),200===u.status?a():c(Error(u.statusText+" ("+u.status+")"))},u.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),c("Network Error")};var l="client_id="+encodeURIComponent(e);i&&(l+="&client_secret="+encodeURIComponent(i)),l+="&token_type_hint="+encodeURIComponent(r),l+="&token="+encodeURIComponent(s),u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(l)})},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:r.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.UserInfoService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw s.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new i(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=c,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var i=this;return s.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: state processed"),i._validateTokens(t,e).then(function(e){return s.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),i._processClaims(t,e).then(function(t){return s.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t})})})},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(s.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(s.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return s.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return s.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return s.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return s.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return s.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return s.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(s.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):t.nonce&&!e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(s.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(s.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(s.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var i=this;if(e.isOpenIdConnect){if(s.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return s.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then(function(t){return s.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(s.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(e.profile=i._mergeClaims(e.profile,t),s.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)});s.Log.debug("ResponseValidator._processClaims: not loading user info")}else s.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var i=Object.assign({},t);for(var s in e){var r=e[s];Array.isArray(r)||(r=[r]);for(var o=0;o1)return s.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));c=a[0]}if(!c)return s.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=t.client_id,l=i._settings.clockSkew;return s.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),i._joseUtil.validateJwt(e.id_token,c,o,u,l).then(function(){return s.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(s.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return s.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];i="EC"}return s.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),s.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",i,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return s.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return s.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return s.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return s.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var i=e.header.alg;if(!i||5!==i.length)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i),Promise.reject(new Error("Unsupported alg: "+i));var n=i.substr(2,3);if(!n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return s.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",i,n),Promise.reject(new Error("Unsupported alg: "+i));var r="sha"+n,o=this._joseUtil.hashString(t.access_token,r);if(!o)return s.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",r),Promise.reject(new Error("Failed to validate at_hash"));var a=o.substr(0,o.length/2),c=this._joseUtil.hexToBase64Url(a);return c!==t.profile.at_hash?(s.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(s.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=i(7),s=i(2),r=i(0),o=i(4);e.UserInfoService=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.JoseUtil;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw r.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new i(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new a(this._settings),this._joseUtil=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then(function(i){return r.Log.debug("UserInfoService.getClaims: received userinfo url",i),e._jsonService.getJson(i,t).then(function(t){return r.Log.debug("UserInfoService.getClaims: claims received",t),t})}):(r.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function t(e){var i=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return r.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var s=n.header.kid,o=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":o=this._metadataService.getIssuer();break;case"ANY":o=Promise.resolve(n.payload.iss);break;default:o=Promise.resolve(this._settings.userInfoJwtIssuer)}return o.then(function(t){return r.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),i._metadataService.getSigningKeys().then(function(o){if(!o)return r.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));r.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(s)a=o.filter(function(t){return t.kid===s})[0];else{if((o=i._filterByAlg(o,n.header.alg)).length>1)return r.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));a=o[0]}if(!a)return r.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var c=i._settings.client_id,u=i._settings.clockSkew;return r.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",u),i._joseUtil.validateJwt(e.responseText,a,t,c,u,void 0,!0).then(function(){return r.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload})})})}catch(t){return r.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var i=null;if(e.startsWith("RS"))i="RSA";else if(e.startsWith("PS"))i="PS";else{if(!e.startsWith("ES"))return r.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];i="EC"}return r.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",i),t=t.filter(function(t){return t.kty===i}),r.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",i,t.length),t},t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=i(26);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={userAgent:!1},s={};if(void 0===r)var r={};r.lang={extend:function(e,i,s){if(!i||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=i.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),s){var o;for(o in s)e.prototype[o]=s[o];var a=function(){},c=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(a=function(t,e){for(o=0;o>>2]|=(i[r>>>2]>>>24-r%4*8&255)<<24-(n+r)%4*8;else for(r=0;r>>2]=i[r>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=o.ceil(e/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i>>2]>>>24-s%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new l.init(i,e/2)}},p=h.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],s=0;s>>2]>>>24-s%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new l.init(i,e)}},f=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,n=e.sigBytes,s=this.blockSize,r=n/(4*s),a=(r=t?o.ceil(r):o.max((0|r)-this._minBufferSize,0))*s,c=o.min(4*a,n);if(a){for(var u=0;u>>2]>>>24-s%4*8&255)<<16|(e[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;4>o&&s+.75*o>>6*(3-o)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var i=e.length,n=this._map;(s=n.charAt(64))&&-1!=(s=e.indexOf(s))&&(i=s);for(var s=[],r=0,o=0;o>>6-o%4*2;s[r>>>2]|=(a|c)<<24-r%4*8,r++}return t.create(s,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=_,i=(s=e.lib).WordArray,n=s.Hasher,s=e.algo,r=[],o=[],a=function(t){return 4294967296*(t-(0|t))|0},c=2,u=0;64>u;){var l;t:{for(var h=t.sqrt(l=c),d=2;d<=h;d++)if(!(l%d)){l=!1;break t}l=!0}l&&(8>u&&(r[u]=a(t.pow(c,.5))),o[u]=a(t.pow(c,1/3)),u++),c++}var p=[];s=s.SHA256=n.extend({_doReset:function(){this._hash=new i.init(r.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],s=i[1],r=i[2],a=i[3],c=i[4],u=i[5],l=i[6],h=i[7],d=0;64>d;d++){if(16>d)p[d]=0|t[e+d];else{var f=p[d-15],g=p[d-2];p[d]=((f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3)+p[d-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+p[d-16]}f=h+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&l)+o[d]+p[d],g=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&s^n&r^s&r),h=l,l=u,u=c,c=a+f|0,a=r,r=s,s=n,n=f+g|0}i[0]=i[0]+n|0,i[1]=i[1]+s|0,i[2]=i[2]+r|0,i[3]=i[3]+a|0,i[4]=i[4]+c|0,i[5]=i[5]+u|0,i[6]=i[6]+l|0,i[7]=i[7]+h|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,s=8*e.sigBytes;return i[s>>>5]|=128<<24-s%32,i[14+(s+64>>>9<<4)]=t.floor(n/4294967296),i[15+(s+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(s),e.HmacSHA256=n._createHmacHelper(s)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=_,i=e.lib.Hasher,n=(r=e.x64).Word,s=r.WordArray,r=e.algo,o=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],c=0;80>c;c++)a[c]=t();r=r.SHA512=i.extend({_doReset:function(){this._hash=new s.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var i=(h=this._hash.words)[0],n=h[1],s=h[2],r=h[3],c=h[4],u=h[5],l=h[6],h=h[7],d=i.high,p=i.low,f=n.high,g=n.low,m=s.high,_=s.low,b=r.high,y=r.low,w=c.high,M=c.low,A=u.high,v=u.low,T=l.high,k=l.low,S=h.high,C=h.low,E=d,L=p,z=f,R=g,x=m,O=_,D=b,P=y,N=w,I=M,B=A,F=v,H=T,q=k,j=S,Y=C,W=0;80>W;W++){var U=a[W];if(16>W)var K=U.high=0|t[e+2*W],V=U.low=0|t[e+2*W+1];else{K=((V=(K=a[W-15]).high)>>>1|(X=K.low)<<31)^(V>>>8|X<<24)^V>>>7;var X=(X>>>1|V<<31)^(X>>>8|V<<24)^(X>>>7|V<<25),G=((V=(G=a[W-2]).high)>>>19|($=G.low)<<13)^(V<<3|$>>>29)^V>>>6,$=($>>>19|V<<13)^($<<3|V>>>29)^($>>>6|V<<26),J=(V=a[W-7]).high,Q=(Z=a[W-16]).high,Z=Z.low;K=(K=(K=K+J+((V=X+V.low)>>>0>>0?1:0))+G+((V+=$)>>>0<$>>>0?1:0))+Q+((V+=Z)>>>0>>0?1:0),U.high=K,U.low=V}U=E&z^E&x^z&x;var tt=L&R^L&O^R&O,et=(X=(E>>>28|L<<4)^(E<<30|L>>>2)^(E<<25|L>>>7),G=(L>>>28|E<<4)^(L<<30|E>>>2)^(L<<25|E>>>7),($=o[W]).high),it=$.low;Q=(Q=(Q=(Q=j+((N>>>14|I<<18)^(N>>>18|I<<14)^(N<<23|I>>>9))+(($=Y+((I>>>14|N<<18)^(I>>>18|N<<14)^(I<<23|N>>>9)))>>>0>>0?1:0))+(J=N&B^~N&H)+(($+=Z=I&F^~I&q)>>>0>>0?1:0))+et+(($+=it)>>>0>>0?1:0))+K+(($+=V)>>>0>>0?1:0),j=H,Y=q,H=B,q=F,B=N,F=I,N=D+Q+((I=P+$|0)>>>0

>>0?1:0)|0,D=x,P=O,x=z,O=R,z=E,R=L,E=Q+(U=X+U+((V=G+tt)>>>0>>0?1:0))+((L=$+V|0)>>>0<$>>>0?1:0)|0}p=i.low=p+L,i.high=d+E+(p>>>0>>0?1:0),g=n.low=g+R,n.high=f+z+(g>>>0>>0?1:0),_=s.low=_+O,s.high=m+x+(_>>>0>>0?1:0),y=r.low=y+P,r.high=b+D+(y>>>0

>>0?1:0),M=c.low=M+I,c.high=w+N+(M>>>0>>0?1:0),v=u.low=v+F,u.high=A+B+(v>>>0>>0?1:0),k=l.low=k+q,l.high=T+H+(k>>>0>>0?1:0),C=h.low=C+Y,h.high=S+j+(C>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),e[31+(n+128>>>10<<5)]=i,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=i._createHelper(r),e.HmacSHA512=i._createHmacHelper(r)}(),function(){var t=_,e=(s=t.x64).Word,i=s.WordArray,n=(s=t.algo).SHA512,s=s.SHA384=n.extend({_doReset:function(){this._hash=new i.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=n._createHelper(s),t.HmacSHA384=n._createHmacHelper(s)}();var b,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function w(t){var e,i,n="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),n+=y.charAt(i>>6)+y.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=y.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=y.charAt(i>>2)+y.charAt((3&i)<<4));(3&n.length)>0;)n+="=";return n}function M(t){var e,i,n,s="",r=0;for(e=0;e>2),i=3&n,r=1):1==r?(s+=E(i<<2|n>>4),i=15&n,r=2):2==r?(s+=E(i),s+=E(n>>2),i=3&n,r=3):(s+=E(i<<2|n>>4),s+=E(15&n),r=0));return 1==r&&(s+=E(i<<2)),s}function A(t){var e,i=M(t),n=new Array;for(e=0;2*e>15;--r>=0;){var c=32767&this[t],u=this[t++]>>15,l=a*c+u*o;s=((c=o*c+((32767&l)<<15)+i[n]+(1073741823&s))>>>30)+(l>>>15)+a*u+(s>>>30),i[n++]=1073741823&c}return s},b=30):"Netscape"!=n.appName?(v.prototype.am=function(t,e,i,n,s,r){for(;--r>=0;){var o=e*this[t++]+i[n]+s;s=Math.floor(o/67108864),i[n++]=67108863&o}return s},b=26):(v.prototype.am=function(t,e,i,n,s,r){for(var o=16383&e,a=e>>14;--r>=0;){var c=16383&this[t],u=this[t++]>>14,l=a*c+u*o;s=((c=o*c+((16383&l)<<14)+i[n]+s)>>28)+(l>>14)+a*u,i[n++]=268435455&c}return s},b=28),v.prototype.DB=b,v.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function x(t){this.m=t}function O(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function F(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function H(){}function q(t){return t}function j(t){this.r2=T(),this.q3=T(),v.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}x.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},x.prototype.revert=function(t){return t},x.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},x.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},x.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},O.prototype.convert=function(t){var e=T();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(v.ZERO)>0&&this.m.subTo(e,e),e},O.prototype.revert=function(t){var e=T();return t.copyTo(e),this.reduce(e),e},O.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},O.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},O.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},v.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},v.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},v.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,s=!1,r=0;--n>=0;){var o=8==i?255&t[n]:L(t,n);o<0?"-"==t.charAt(n)&&(s=!0):(s=!1,0==r?this[this.t++]=o:r+i>this.DB?(this[this.t-1]|=(o&(1<>this.DB-r):this[this.t-1]|=o<=this.DB&&(r-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,r>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},v.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},v.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+o+1]=this[i]>>s|a,a=(this[i]&r)<=0;--i)e[i]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},v.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,s=this.DB-n,r=(1<>n;for(var o=i+1;o>n;n>0&&(e[this.t-i-1]|=(this.s&r)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},v.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),s=i.t;for(e.t=s+n.t;--s>=0;)e[s]=0;for(s=0;s=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},v.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var s=this.abs();if(s.t0?(n.lShiftTo(c,r),s.lShiftTo(c,i)):(n.copyTo(r),s.copyTo(i));var u=r.t,l=r[u-1];if(0!=l){var h=l*(1<1?r[u-2]>>this.F2:0),d=this.FV/h,p=(1<=0&&(i[i.t++]=1,i.subTo(_,i)),v.ONE.dlShiftTo(u,_),_.subTo(r,r);r.t=0;){var b=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+f)*p);if((i[g]+=r.am(0,b,i,m,0,u))0&&i.rShiftTo(c,i),o<0&&v.ZERO.subTo(i,i)}}},v.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},v.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},v.prototype.exp=function(t,e){if(t>4294967295||t<1)return v.ONE;var i=T(),n=T(),s=e.convert(this),r=R(t)-1;for(s.copyTo(i);--r>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,s,i);else{var o=i;i=n,n=o}return e.revert(i)},v.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<0)for(a>a)>0&&(s=!0,r=E(i));o>=0;)a>(a+=this.DB-e)):(i=this[o]>>(a-=e)&n,a<=0&&(a+=this.DB,--o)),i>0&&(s=!0),s&&(r+=E(i));return s?r:"0"},v.prototype.negate=function(){var t=T();return v.ZERO.subTo(this,t),t},v.prototype.abs=function(){return this.s<0?this.negate():this},v.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},v.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+R(this[this.t-1]^this.s&this.DM)},v.prototype.mod=function(t){var e=T();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(v.ZERO)>0&&t.subTo(e,e),e},v.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new x(e):new O(e),this.exp(t,i)},v.ZERO=z(0),v.ONE=z(1),H.prototype.convert=q,H.prototype.revert=q,H.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},H.prototype.sqrTo=function(t,e){t.squareTo(e)},j.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=T();return t.copyTo(e),this.reduce(e),e},j.prototype.revert=function(t){return t},j.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},j.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},j.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var Y,W,U,K=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],V=(1<<26)/K[K.length-1];function X(){this.i=0,this.j=0,this.S=new Array}function G(){!function(t){W[U++]^=255&t,W[U++]^=t>>8&255,W[U++]^=t>>16&255,W[U++]^=t>>24&255,U>=256&&(U-=256)}((new Date).getTime())}if(v.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},v.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=z(i),s=T(),r=T(),o="";for(this.divRemTo(n,s,r);s.signum()>0;)o=(i+r.intValue()).toString(t).substr(1)+o,s.divRemTo(n,s,r);return r.intValue().toString(t)+o},v.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),s=!1,r=0,o=0,a=0;a=i&&(this.dMultiply(n),this.dAddOffset(o,0),r=0,o=0))}r>0&&(this.dMultiply(Math.pow(e,r)),this.dAddOffset(o,0)),s&&v.ZERO.subTo(this,this)},v.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(v.ONE.shiftLeft(t-1),P,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(v.ONE.shiftLeft(t-1),this);else{var n=new Array,s=7&t;n.length=1+(t>>3),e.nextBytes(n),s>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},v.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},v.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},v.prototype.multiplyLowerTo=function(t,e,i){var n,s=Math.min(this.t+t.t,e);for(i.s=0,i.t=s;s>0;)i[--s]=0;for(n=i.t-this.t;s=0;)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},v.prototype.millerRabin=function(t){var e=this.subtract(v.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var n=e.shiftRight(i);(t=t+1>>1)>K.length&&(t=K.length);for(var s=T(),r=0;r>24},v.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},v.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},v.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,s=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[s++]=i|this.s<=0;)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==s&&(128&this.s)!=(128&i)&&++s,(s>0||i!=this.s)&&(e[s++]=i);return e},v.prototype.equals=function(t){return 0==this.compareTo(t)},v.prototype.min=function(t){return this.compareTo(t)<0?this:t},v.prototype.max=function(t){return this.compareTo(t)>0?this:t},v.prototype.and=function(t){var e=T();return this.bitwiseTo(t,D,e),e},v.prototype.or=function(t){var e=T();return this.bitwiseTo(t,P,e),e},v.prototype.xor=function(t){var e=T();return this.bitwiseTo(t,N,e),e},v.prototype.andNot=function(t){var e=T();return this.bitwiseTo(t,I,e),e},v.prototype.not=function(){for(var t=T(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var l=T();for(n.sqrTo(o[1],l);a<=u;)o[a]=T(),n.mulTo(l,o[a-2],o[a]),a+=2}var h,d,p=t.t-1,f=!0,g=T();for(s=R(t[p])-1;p>=0;){for(s>=c?h=t[p]>>s-c&u:(h=(t[p]&(1<0&&(h|=t[p-1]>>this.DB+s-c)),a=i;0==(1&h);)h>>=1,--a;if((s-=a)<0&&(s+=this.DB,--p),f)o[h].copyTo(r),f=!1;else{for(;a>1;)n.sqrTo(r,g),n.sqrTo(g,r),a-=2;a>0?n.sqrTo(r,g):(d=r,r=g,g=d),n.mulTo(g,o[h],r)}for(;p>=0&&0==(t[p]&1<=0?(i.subTo(n,i),e&&s.subTo(o,s),r.subTo(a,r)):(n.subTo(i,n),e&&o.subTo(s,o),a.subTo(r,a))}return 0!=n.compareTo(v.ONE)?v.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},v.prototype.pow=function(t){return this.exp(t,new H)},v.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var s=e.getLowestSetBit(),r=i.getLowestSetBit();if(r<0)return e;for(s0&&(e.rShiftTo(r,e),i.rShiftTo(r,i));e.signum()>0;)(s=e.getLowestSetBit())>0&&e.rShiftTo(s,e),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return r>0&&i.lShiftTo(r,i),i},v.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=K[K.length-1]){for(e=0;e>>8,W[U++]=255&$;U=0,G()}function tt(){if(null==Y){for(G(),(Y=new X).init(W),U=0;U>24,(16711680&s)>>16,(65280&s)>>8,255&s]))),s+=1;return n}function st(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function rt(t,e){this.x=e,this.q=t}function ot(t,e,i,n){this.curve=t,this.x=e,this.y=i,this.z=null==n?v.ONE:n,this.zinv=null}function at(t,e,i){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(i),this.infinity=new ot(this,null,null)}et.prototype.nextBytes=function(t){var e;for(e=0;e0&&e.length>0))throw"Invalid RSA public key";this.n=it(t,16),this.e=parseInt(e,16)}},st.prototype.encrypt=function(t){var e=function(t,e){if(e=0&&e>0;){var s=t.charCodeAt(n--);s<128?i[--e]=s:s>127&&s<2048?(i[--e]=63&s|128,i[--e]=s>>6|192):(i[--e]=63&s|128,i[--e]=s>>6&63|128,i[--e]=s>>12|224)}i[--e]=0;for(var r=new et,o=new Array;e>2;){for(o[0]=0;0==o[0];)r.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new v(i)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n},st.prototype.encryptOAEP=function(t,e,i){var n=function(t,e,i,n){var s=ut.crypto.MessageDigest,r=ut.crypto.Util,o=null;if(i||(i="sha1"),"string"==typeof i&&(o=s.getCanonicalAlgName(i),n=s.getHashLength(o),i=function(t){return vt(r.hashHex(Tt(t),o))}),t.length+2*n+2>e)throw"Message too long for RSA";var a,c="";for(a=0;a>3,e,i);if(null==n)return null;var s=this.doPublic(n);if(null==s)return null;var r=s.toString(16);return 0==(1&r.length)?r:"0"+r},st.prototype.type="RSA",rt.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},rt.prototype.toBigInteger=function(){return this.x},rt.prototype.negate=function(){return new rt(this.q,this.x.negate().mod(this.q))},rt.prototype.add=function(t){return new rt(this.q,this.x.add(t.toBigInteger()).mod(this.q))},rt.prototype.subtract=function(t){return new rt(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},rt.prototype.multiply=function(t){return new rt(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},rt.prototype.square=function(){return new rt(this.q,this.x.square().mod(this.q))},rt.prototype.divide=function(t){return new rt(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},ot.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ot.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ot.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(v.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(v.ZERO))},ot.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(v.ZERO)&&!this.y.toBigInteger().equals(v.ZERO)},ot.prototype.negate=function(){return new ot(this.curve,this.x,this.y.negate(),this.z)},ot.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),i=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(v.ZERO.equals(i))return v.ZERO.equals(e)?this.twice():this.curve.getInfinity();var n=new v("3"),s=this.x.toBigInteger(),r=this.y.toBigInteger(),o=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),a=o.multiply(i),c=s.multiply(o),u=e.square().multiply(this.z),l=u.subtract(c.shiftLeft(1)).multiply(t.z).subtract(a).multiply(i).mod(this.curve.q),h=c.multiply(n).multiply(e).subtract(r.multiply(a)).subtract(u.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),d=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new ot(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(h),d)},ot.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new v("3"),e=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),s=n.multiply(i).mod(this.curve.q),r=this.curve.a.toBigInteger(),o=e.square().multiply(t);v.ZERO.equals(r)||(o=o.add(this.z.square().multiply(r)));var a=(o=o.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(n).mod(this.curve.q),c=o.multiply(t).multiply(e).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(o.square().multiply(o)).mod(this.curve.q),u=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new ot(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(c),u)},ot.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new v("3")),s=this.negate(),r=this;for(e=n.bitLength()-2;e>0;--e){r=r.twice();var o=n.testBit(e);o!=i.testBit(e)&&(r=r.add(o?this:s))}return r},ot.prototype.multiplyTwo=function(t,e,i){var n;n=t.bitLength()>i.bitLength()?t.bitLength()-1:i.bitLength()-1;for(var s=this.curve.getInfinity(),r=this.add(e);n>=0;)s=s.twice(),t.testBit(n)?s=i.testBit(n)?s.add(r):s.add(this):i.testBit(n)&&(s=s.add(e)),--n;return s},at.prototype.getQ=function(){return this.q},at.prototype.getA=function(){return this.a},at.prototype.getB=function(){return this.b},at.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},at.prototype.getInfinity=function(){return this.infinity},at.prototype.fromBigInteger=function(t){return new rt(this.q,t)},at.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var e=(t.length-2)/2,i=t.substr(2,e),n=t.substr(e+2,e);return new ot(this,this.fromBigInteger(new v(i,16)),this.fromBigInteger(new v(n,16)));default:return null}},rt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},ot.prototype.getEncoded=function(t){var e=function(t,e){var i=t.toByteArrayUnsigned();if(ei.length;)i.unshift(0);return i},i=this.getX().toBigInteger(),n=this.getY().toBigInteger(),s=e(i,32);return t?n.isEven()?s.unshift(2):s.unshift(3):(s.unshift(4),s=s.concat(e(n,32))),s},ot.decodeFrom=function(t,e){var i=e.length-1,n=e.slice(1,1+i/2),s=e.slice(1+i/2,1+i);n.unshift(0),s.unshift(0);var r=new v(n),o=new v(s);return new ot(t,t.fromBigInteger(r),t.fromBigInteger(o))},ot.decodeFromHex=function(t,e){e.substr(0,2);var i=e.length-2,n=e.substr(2,i/2),s=e.substr(2+i/2,i/2),r=new v(n,16),o=new v(s,16);return new ot(t,t.fromBigInteger(r),t.fromBigInteger(o))},ot.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),i=t.y.subtract(this.y).divide(e),n=i.square().subtract(this.x).subtract(t.x),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,s)},ot.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(v.valueOf(2)),e=this.curve.fromBigInteger(v.valueOf(3)),i=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),n=i.square().subtract(this.x.multiply(t)),s=i.multiply(this.x.subtract(n)).subtract(this.y);return new ot(this.curve,n,s)},ot.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,i=t,n=i.multiply(new v("3")),s=this.negate(),r=this;for(e=n.bitLength()-2;e>0;--e){r=r.twice();var o=n.testBit(e);o!=i.testBit(e)&&(r=r.add2D(o?this:s))}return r},ot.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),i=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),s=this.curve.getQ(),r=e.multiply(e).mod(s),o=t.multiply(t).multiply(t).add(i.multiply(t)).add(n).mod(s);return r.equals(o)},ot.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},ot.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),i=this.getY().toBigInteger();if(e.compareTo(v.ONE)<0||e.compareTo(t.subtract(v.ONE))>0)throw new Error("x coordinate out of bounds");if(i.compareTo(v.ONE)<0||i.compareTo(t.subtract(v.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ct=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function s(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var r=new String(""),o=Object.hasOwnProperty;return function(n,a){var c,u,l=n.match(t),h=l[0],d=!1;"{"===h?c={}:"["===h?c=[]:(c=[],d=!0);for(var p=[c],f=1-d,g=l.length;f=0;)delete s[r[l]]}return a.call(e,n,s)}({"":c},"")),c}}();void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.asn1&&ut.asn1||(ut.asn1={}),ut.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var n="",s=0;s15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ut.asn1.DERAbstractString=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=Mt(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},r.lang.extend(ut.asn1.DERAbstractString,ut.asn1.ASN1Object),ut.asn1.DERAbstractTime=function(t){ut.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var n=this.zeroPadding,s=this.localDateToUTC(t),r=String(s.getFullYear());"utc"==e&&(r=r.substr(2,2));var o=r+n(String(s.getMonth()+1),2)+n(String(s.getDate()),2)+n(String(s.getHours()),2)+n(String(s.getMinutes()),2)+n(String(s.getSeconds()),2);if(!0===i){var a=s.getMilliseconds();if(0!=a){var c=n(String(a),3);o=o+"."+(c=c.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=mt(t)},this.setByDateValue=function(t,e,i,n,s,r){var o=new Date(Date.UTC(t,e-1,i,n,s,r,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},r.lang.extend(ut.asn1.DERAbstractTime,ut.asn1.ASN1Object),ut.asn1.DERAbstractStructured=function(t){ut.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},r.lang.extend(ut.asn1.DERAbstractStructured,ut.asn1.ASN1Object),ut.asn1.DERBoolean=function(){ut.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},r.lang.extend(ut.asn1.DERBoolean,ut.asn1.ASN1Object),ut.asn1.DERInteger=function(t){ut.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ut.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new v(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},r.lang.extend(ut.asn1.DERInteger,ut.asn1.ASN1Object),ut.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ut.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ut.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7s.length&&(s=n[i]);return(t=t.replace(s,"::")).slice(1,-1)}function Nt(t){var e="malformed hex value";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?Pt(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function It(t){for(var e=encodeURIComponent(t),i="",n=0;n"7"?"00"+t:t}dt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var i=parseInt(t.substr(e+3,1));return 0==i?-1:0=2*r)break;if(a>=200)break;n.push(c),o=c,a++}return n},dt.getNthChildIdx=function(t,e,i){return dt.getChildIdx(t,e)[i]},dt.getIdxbyList=function(t,e,i,n){var s,r,o=dt;if(0==i.length){if(void 0!==n&&t.substr(e,2)!==n)throw"checking tag doesn't match: "+t.substr(e,2)+"!="+n;return e}return s=i.shift(),r=o.getChildIdx(t,e),o.getIdxbyList(t,r[s],i,n)},dt.getTLVbyList=function(t,e,i,n){var s=dt,r=s.getIdxbyList(t,e,i);if(void 0===r)throw"can't find nthList object";if(void 0!==n&&t.substr(r,2)!=n)throw"checking tag doesn't match: "+t.substr(r,2)+"!="+n;return s.getTLV(t,r)},dt.getVbyList=function(t,e,i,n,s){var r,o,a=dt;if(void 0===(r=a.getIdxbyList(t,e,i,n)))throw"can't find nthList object";return o=a.getV(t,r),!0===s&&(o=o.substr(2)),o},dt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},i=[],n=t.substr(0,2),s=parseInt(n,16);i[0]=new String(Math.floor(s/40)),i[1]=new String(s%40);for(var r=t.substr(2),o=[],a=0;a0&&(l=l+"."+c.join(".")),l},dt.dump=function(t,e,i,n){var s=dt,r=s.getV,o=s.dump,a=s.getChildIdx,c=t;t instanceof ut.asn1.ASN1Object&&(c=t.getEncodedHex());var u=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===i&&(i=0),void 0===n&&(n="");var l=e.ommit_long_octet;if("01"==c.substr(i,2))return"00"==(h=r(c,i))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==c.substr(i,2))return n+"INTEGER "+u(h=r(c,i),l)+"\n";if("03"==c.substr(i,2))return n+"BITSTRING "+u(h=r(c,i),l)+"\n";if("04"==c.substr(i,2)){var h=r(c,i);return s.isASN1HEX(h)?(A=n+"OCTETSTRING, encapsulates\n")+o(h,e,0,n+" "):n+"OCTETSTRING "+u(h,l)+"\n"}if("05"==c.substr(i,2))return n+"NULL\n";if("06"==c.substr(i,2)){var d=r(c,i),p=ut.asn1.ASN1Util.oidHexToInt(d),f=ut.asn1.x509.OID.oid2name(p),g=p.replace(/\./g," ");return""!=f?n+"ObjectIdentifier "+f+" ("+g+")\n":n+"ObjectIdentifier ("+g+")\n"}if("0c"==c.substr(i,2))return n+"UTF8String '"+At(r(c,i))+"'\n";if("13"==c.substr(i,2))return n+"PrintableString '"+At(r(c,i))+"'\n";if("14"==c.substr(i,2))return n+"TeletexString '"+At(r(c,i))+"'\n";if("16"==c.substr(i,2))return n+"IA5String '"+At(r(c,i))+"'\n";if("17"==c.substr(i,2))return n+"UTCTime "+At(r(c,i))+"\n";if("18"==c.substr(i,2))return n+"GeneralizedTime "+At(r(c,i))+"\n";if("30"==c.substr(i,2)){if("3000"==c.substr(i,4))return n+"SEQUENCE {}\n";A=n+"SEQUENCE\n";var m=e;if((2==(y=a(c,i)).length||3==y.length)&&"06"==c.substr(y[0],2)&&"04"==c.substr(y[y.length-1],2)){f=s.oidname(r(c,y[0]));var _=JSON.parse(JSON.stringify(e));_.x509ExtName=f,m=_}for(var b=0;bs)throw"key is too short for SigAlg: keylen="+i+","+e;for(var r="0001",o="00"+n,a="",c=s-r.length-o.length,u=0;u=0)return!1;if(i.compareTo(v.ONE)<0||i.compareTo(s)>=0)return!1;var o=i.modInverse(s),a=t.multiply(o).mod(s),c=e.multiply(o).mod(s);return r.multiply(a).add(n.multiply(c)).getX().toBigInteger().mod(s).equals(e)},this.serializeSig=function(t,e){var i=t.toByteArraySigned(),n=e.toByteArraySigned(),s=[];return s.push(2),s.push(i.length),(s=s.concat(i)).push(2),s.push(n.length),(s=s.concat(n)).unshift(s.length),s.unshift(48),s},this.parseSig=function(t){var e;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[e=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error("Second element in signature must be a DERInteger");var n=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:v.fromByteArrayUnsigned(i),s:v.fromByteArrayUnsigned(n)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var e=t[0]-27;if(e<0||e>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:v.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:v.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=r(t,0,[2,0],"06"),i=r(t,0,[1],"04");try{n=r(t,0,[3,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){var e,i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{r(t,0,[1,0],"06"),e=r(t,0,[1,1],"06"),i=r(t,0,[2,0,1],"04");try{n=r(t,0,[2,0,2,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){var e,i,n=ut.crypto.ECDSA.getName,s=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{s(t,0,[0,0],"06"),e=s(t,0,[0,1],"06"),i=s(t,0,[1],"03").substr(2)}catch(t){throw"malformed PKCS#8 ECC public key"}if(this.curveName=n(e),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(t,e){5!==e&&(e=6);var i,n,s=ut.crypto.ECDSA.getName,r=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{i=r(t,0,[0,e,0,1],"06"),n=r(t,0,[0,e,1],"03").substr(2)}catch(t){throw"malformed X.509 certificate ECC public key"}if(this.curveName=s(i),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},ut.crypto.ECDSA.parseSigHex=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new v(e.r,16),s:new v(e.s,16)}},ut.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=dt.getChildIdx,i=dt.getV;if("30"!=t.substr(0,2))throw"signature is not a ASN.1 sequence";var n=e(t,0);if(2!=n.length)throw"number of signature ASN.1 sequence elements seem wrong";var s=n[0],r=n[1];if("02"!=t.substr(s,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(r,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:i(t,s),s:i(t,r)}},ut.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ut.crypto.ECDSA.parseSigHexInHexRS(t),i=e.r,n=e.s;if("00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),i.length%32==30&&(i="00"+i),n.length%32==30&&(n="00"+n),i.length%32!=0)throw"unknown ECDSA sig r length error";if(n.length%32!=0)throw"unknown ECDSA sig s length error";return i+n},ut.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),i=t.substr(t.length/2);return ut.crypto.ECDSA.hexRSSigToASN1Sig(e,i)},ut.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var i=new v(t,16),n=new v(e,16);return ut.crypto.ECDSA.biRSSigToASN1Sig(i,n)},ut.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var i=ut.asn1,n=new i.DERInteger({bigint:t}),s=new i.DERInteger({bigint:e});return new i.DERSequence({array:[n,s]}).getEncodedHex()},ut.crypto.ECDSA.getName=function(t){return"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},void 0!==ut&&ut||(e.KJUR=ut={}),void 0!==ut.crypto&&ut.crypto||(ut.crypto={}),ut.crypto.ECParameterDB=new function(){var t={},e={};function i(t){return new v(t,16)}this.getByName=function(i){var n=i;if(void 0!==e[n]&&(n=e[i]),void 0!==t[n])return t[n];throw"unregistered EC curve name: "+n},this.regist=function(n,s,r,o,a,c,u,l,h,d,p,f){t[n]={};var g=i(r),m=i(o),_=i(a),b=i(c),y=i(u),w=new at(g,m,_),M=w.decodePointHex("04"+l+h);t[n].name=n,t[n].keylen=s,t[n].curve=w,t[n].G=M,t[n].n=b,t[n].h=y,t[n].oid=p,t[n].info=f;for(var A=0;A=2*a)break}var h={};return h.keyhex=c.substr(0,2*s[t].keylen),h.ivhex=c.substr(2*s[t].keylen,2*s[t].ivlen),h},a=function(t,e,i,n){var r=_.enc.Base64.parse(t),o=_.enc.Hex.stringify(r);return(0,s[e].proc)(o,i,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return r(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,i){return o(t,e,i)},decryptKeyB64:function(t,e,i,n){return a(t,e,i,n)},getDecryptedKeyHex:function(t,e){var i=r(t),n=i.cipher,s=i.ivsalt,c=i.data,u=o(n,e,s).keyhex;return a(c,n,u,s)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,i,n,r){var a="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===s[n])throw"KEYUTIL unsupported algorithm: "+n;return void 0!==r&&null!=r||(r=function(t){var e=_.lib.WordArray.random(t);return _.enc.Hex.stringify(e)}(s[n].ivlen).toUpperCase()),a="-----BEGIN "+t+" PRIVATE KEY-----\r\n",a+="Proc-Type: 4,ENCRYPTED\r\n",a+="DEK-Info: "+n+","+r+"\r\n",a+="\r\n",(a+=function(t,e,i,n){return(0,s[e].eproc)(t,i,n)}(e,n,o(n,i,r).keyhex,r).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(e){var i=dt.getChildIdx,n=dt.getV,s={},r=i(e,0);if(2!=r.length)throw"malformed format: SEQUENCE(0).items != 2: "+r.length;s.ciphertext=n(e,r[1]);var o=i(e,r[0]);if(2!=o.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+o.length;if("2a864886f70d01050d"!=n(e,o[0]))throw"this only supports pkcs5PBES2";var a=i(e,o[1]);if(2!=o.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+a.length;var c=i(e,a[1]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+c.length;if("2a864886f70d0307"!=n(e,c[0]))throw"this only supports TripleDES";s.encryptionSchemeAlg="TripleDES",s.encryptionSchemeIV=n(e,c[1]);var u=i(e,a[0]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+u.length;if("2a864886f70d01050c"!=n(e,u[0]))throw"this only supports pkcs5PBKDF2";var l=i(e,u[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;s.pbkdf2Salt=n(e,l[0]);var h=n(e,l[1]);try{s.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return s},getPBKDF2KeyHexFromParam:function(t,e){var i=_.enc.Hex.parse(t.pbkdf2Salt),n=_.PBKDF2(e,i,{keySize:6,iterations:t.pbkdf2Iter});return _.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var i=Lt(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(i),s=Ft.getPBKDF2KeyHexFromParam(n,e),r={};r.ciphertext=_.enc.Hex.parse(n.ciphertext);var o=_.enc.Hex.parse(s),a=_.enc.Hex.parse(n.encryptionSchemeIV),c=_.TripleDES.decrypt(r,o,{iv:a});return _.enc.Hex.stringify(c)},getKeyFromEncryptedPKCS8PEM:function(t,e){var i=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(i)},parsePlainPrivatePKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var r=i(t,0);if(3!=r.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(r[1],2))throw"malformed PKCS8 private key(code:003)";var o=i(t,r[1]);if(2!=o.length)throw"malformed PKCS8 private key(code:004)";if("06"!=t.substr(o[0],2))throw"malformed PKCS8 private key(code:005)";if(s.algoid=n(t,o[0]),"06"==t.substr(o[1],2)&&(s.algparam=n(t,o[1])),"04"!=t.substr(r[2],2))throw"malformed PKCS8 private key(code:006)";return s.keyidx=e.getVidx(t,r[2]),s},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=Lt(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,i=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==i.algoid)e=new st;else if("2a8648ce380401"==i.algoid)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!=i.algoid)throw"unsupported private key algorithm";e=new ut.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,i=dt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===i)e=new st;else if("2a8648ce380401"===i)e=new ut.crypto.DSA;else{if("2a8648ce3d0201"!==i)throw"unsupported PKCS#8 public key hex";e=new ut.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=dt.getChildIdx,i=dt.getV,n={};if("30"!=t.substr(0,2))throw"malformed RSA key(code:001)";var s=e(t,0);if(2!=s.length)throw"malformed RSA key(code:002)";if("02"!=t.substr(s[0],2))throw"malformed RSA key(code:003)";if(n.n=i(t,s[0]),"02"!=t.substr(s[1],2))throw"malformed RSA key(code:004)";return n.e=i(t,s[1]),n},parsePublicPKCS8Hex:function(t){var e=dt,i=e.getChildIdx,n=e.getV,s={algparam:null},r=i(t,0);if(2!=r.length)throw"outer DERSequence shall have 2 elements: "+r.length;var o=r[0];if("30"!=t.substr(o,2))throw"malformed PKCS8 public key(code:001)";var a=i(t,o);if(2!=a.length)throw"malformed PKCS8 public key(code:002)";if("06"!=t.substr(a[0],2))throw"malformed PKCS8 public key(code:003)";if(s.algoid=n(t,a[0]),"06"==t.substr(a[1],2)?s.algparam=n(t,a[1]):"30"==t.substr(a[1],2)&&(s.algparam={},s.algparam.p=e.getVbyList(t,a[1],[0],"02"),s.algparam.q=e.getVbyList(t,a[1],[1],"02"),s.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(r[1],2))throw"malformed PKCS8 public key(code:004)";return s.key=n(t,r[1]).substr(2),s}}}();Ft.getKey=function(t,e,i){var n,s=(_=dt).getChildIdx,r=_.getVbyList,o=ut.crypto,a=o.ECDSA,c=o.DSA,u=st,l=Lt,h=Ft;if(void 0!==u&&t instanceof u)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==c&&t instanceof c)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new a({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new a({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(L=new u).setPublic(t.n,t.e),L;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(L=new u).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),L;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(L=new u).setPrivate(t.n,t.e,t.d),L;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(L=new c).setPublic(t.p,t.q,t.g,t.y),L;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(L=new c).setPrivate(t.p,t.q,t.g,t.y,t.x),L;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(L=new u).setPublic(wt(t.n),wt(t.e)),L;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(L=new u).setPrivateEx(wt(t.n),wt(t.e),wt(t.d),wt(t.p),wt(t.q),wt(t.dp),wt(t.dq),wt(t.qi)),L;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(L=new u).setPrivate(wt(t.n),wt(t.e),wt(t.d)),L;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var d=(E=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);return E.setPublicKeyHex(p),E}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){d=(E=new a({curve:t.crv})).ecparams.keylen/4,p="04"+("0000000000"+wt(t.x)).slice(-d)+("0000000000"+wt(t.y)).slice(-d);var f=("0000000000"+wt(t.d)).slice(-d);return E.setPublicKeyHex(p),E.setPrivateKeyHex(f),E}if("pkcs5prv"===i){var g,m=t,_=dt;if(9===(g=s(m,0)).length)(L=new u).readPKCS5PrvKeyHex(m);else if(6===g.length)(L=new c).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(L=new a).readPKCS5PrvKeyHex(m)}return L}if("pkcs8prv"===i)return h.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===i)return h._getKeyFromPublicPKCS8Hex(t);if("x509pub"===i)return Wt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Wt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var b=Lt(t,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(b)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var y=l(t,"RSA PRIVATE KEY");return h.getKey(y,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var w=r(n=l(t,"DSA PRIVATE KEY"),0,[1],"02"),M=r(n,0,[2],"02"),A=r(n,0,[3],"02"),T=r(n,0,[4],"02"),k=r(n,0,[5],"02");return(L=new c).setPrivate(new v(w,16),new v(M,16),new v(A,16),new v(T,16),new v(k,16)),L}if(-1!=t.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var S=h.getDecryptedKeyHex(t,e),C=new st;return C.readPKCS5PrvKeyHex(S),C}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var E,L=r(n=h.getDecryptedKeyHex(t,e),0,[1],"04"),z=r(n,0,[2,0],"06"),R=r(n,0,[3,0],"03").substr(2);if(void 0===ut.crypto.OID.oidhex2name[z])throw"undefined OID(hex) in KJUR.crypto.OID: "+z;return(E=new a({curve:ut.crypto.OID.oidhex2name[z]})).setPublicKeyHex(R),E.setPrivateKeyHex(L),E.isPublic=!1,E}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return w=r(n=h.getDecryptedKeyHex(t,e),0,[1],"02"),M=r(n,0,[2],"02"),A=r(n,0,[3],"02"),T=r(n,0,[4],"02"),k=r(n,0,[5],"02"),(L=new c).setPrivate(new v(w,16),new v(M,16),new v(A,16),new v(T,16),new v(k,16)),L;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},Ft.generateKeypair=function(t,e){if("RSA"==t){var i=e;(o=new st).generate(i,"10001"),o.isPrivate=!0,o.isPublic=!0;var n=new st,s=o.n.toString(16),r=o.e.toString(16);return n.setPublic(s,r),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=o,a.pubKeyObj=n,a}if("EC"==t){var o,a,c=e,u=new ut.crypto.ECDSA({curve:c}).generateKeyPairHex();return(o=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),o.setPrivateKeyHex(u.ecprvhex),o.isPrivate=!0,o.isPublic=!1,(n=new ut.crypto.ECDSA({curve:c})).setPublicKeyHex(u.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=o,a.pubKeyObj=n,a}throw"unknown algorithm: "+t},Ft.getPEM=function(t,e,i,n,s,r){var o=ut.asn1,a=o.DERObjectIdentifier,c=o.DERInteger,u=o.ASN1Util.newObject,l=ut.crypto,h=l.DSA,d=l.ECDSA,p=st;function f(t){return u({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function g(t){return u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function m(t){return u({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==p&&t instanceof p||void 0!==h&&t instanceof h||void 0!==d&&t instanceof d)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return Et(M=new(0,o.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==p&&t instanceof p&&(void 0===i||null==i)&&1==t.isPrivate)return Et(M=f(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===i||null==i)&&1==t.isPrivate){var b=new a({name:t.curveName}).getEncodedHex(),y=g(t).getEncodedHex(),w="";return(w+=Et(b,"EC PARAMETERS"))+Et(y,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==h&&t instanceof h&&(void 0===i||null==i)&&1==t.isPrivate)return Et(M=m(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==p&&t instanceof p&&void 0!==i&&null!=i&&1==t.isPrivate){var M=f(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",M,i,n,r)}if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==i&&null!=i&&1==t.isPrivate)return M=g(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",M,i,n,r);if("PKCS5PRV"==e&&void 0!==h&&t instanceof h&&void 0!==i&&null!=i&&1==t.isPrivate)return M=m(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",M,i,n,r);var A=function(t,e){var i=v(t,e);return new u({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:i.pbkdf2Salt}},{int:i.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:i.encryptionSchemeIV}}]}]}]},{octstr:{hex:i.ciphertext}}]}).getEncodedHex()},v=function(t,e){var i=_.lib.WordArray.random(8),n=_.lib.WordArray.random(8),s=_.PBKDF2(e,i,{keySize:6,iterations:100}),r=_.enc.Hex.parse(t),o=_.TripleDES.encrypt(r,s,{iv:n})+"",a={};return a.ciphertext=o,a.pbkdf2Salt=_.enc.Hex.stringify(i),a.pbkdf2Iter=100,a.encryptionSchemeAlg="DES-EDE3-CBC",a.encryptionSchemeIV=_.enc.Hex.stringify(n),a};if("PKCS8PRV"==e&&null!=p&&t instanceof p&&1==t.isPrivate){var T=f(t).getEncodedHex();return M=u({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(M,"PRIVATE KEY"):Et(y=A(M,i),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return T=new u({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),M=u({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(M,"PRIVATE KEY"):Et(y=A(M,i),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==h&&t instanceof h&&1==t.isPrivate)return T=new c({bigint:t.x}).getEncodedHex(),M=u({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:T}}]}).getEncodedHex(),void 0===i||null==i?Et(M,"PRIVATE KEY"):Et(y=A(M,i),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Ft.getKeyFromCSRPEM=function(t){var e=Lt(t,"CERTIFICATE REQUEST");return Ft.getKeyFromCSRHex(e)},Ft.getKeyFromCSRHex=function(t){var e=Ft.parseCSRHex(t);return Ft.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Ft.parseCSRHex=function(t){var e=dt.getChildIdx,i=dt.getTLV,n={},s=t;if("30"!=s.substr(0,2))throw"malformed CSR(code:001)";var r=e(s,0);if(r.length<1)throw"malformed CSR(code:002)";if("30"!=s.substr(r[0],2))throw"malformed CSR(code:003)";var o=e(s,r[0]);if(o.length<3)throw"malformed CSR(code:004)";return n.p8pubkeyhex=i(s,o[2]),n},Ft.getJWKFromKey=function(t){var e={};if(t instanceof st&&t.isPrivate)return e.kty="RSA",e.n=yt(t.n.toString(16)),e.e=yt(t.e.toString(16)),e.d=yt(t.d.toString(16)),e.p=yt(t.p.toString(16)),e.q=yt(t.q.toString(16)),e.dp=yt(t.dmp1.toString(16)),e.dq=yt(t.dmq1.toString(16)),e.qi=yt(t.coeff.toString(16)),e;if(t instanceof st&&t.isPublic)return e.kty="RSA",e.n=yt(t.n.toString(16)),e.e=yt(t.e.toString(16)),e;if(t instanceof ut.crypto.ECDSA&&t.isPrivate){if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;var i=t.getPublicKeyXYHex();return e.kty="EC",e.crv=n,e.x=yt(i.x),e.y=yt(i.y),e.d=yt(t.prvKeyHex),e}if(t instanceof ut.crypto.ECDSA&&t.isPublic){var n;if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw"unsupported curve name for JWT: "+n;return i=t.getPublicKeyXYHex(),e.kty="EC",e.crv=n,e.x=yt(i.x),e.y=yt(i.y),e}throw"not supported key object"},st.getPosArrayOfChildrenFromHex=function(t){return dt.getChildIdx(t,0)},st.getHexValueArrayOfChildrenFromHex=function(t){var e,i=dt.getV,n=i(t,(e=st.getPosArrayOfChildrenFromHex(t))[0]),s=i(t,e[1]),r=i(t,e[2]),o=i(t,e[3]),a=i(t,e[4]),c=i(t,e[5]),u=i(t,e[6]),l=i(t,e[7]),h=i(t,e[8]);return(e=new Array).push(n,s,r,o,a,c,u,l,h),e},st.prototype.readPrivateKeyFromPEMString=function(t){var e=Lt(t),i=st.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8])},st.prototype.readPKCS5PrvKeyHex=function(t){var e=st.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},st.prototype.readPKCS8PrvKeyHex=function(t){var e,i,n,s,r,o,a,c,u=dt.getVbyList;if(!1===dt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=u(t,0,[2,0,1],"02"),i=u(t,0,[2,0,2],"02"),n=u(t,0,[2,0,3],"02"),s=u(t,0,[2,0,4],"02"),r=u(t,0,[2,0,5],"02"),o=u(t,0,[2,0,6],"02"),a=u(t,0,[2,0,7],"02"),c=u(t,0,[2,0,8],"02")}catch(t){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(e,i,n,s,r,o,a,c)},st.prototype.readPKCS5PubKeyHex=function(t){var e=dt,i=e.getV;if(!1===e.isASN1HEX(t))throw"keyHex is not ASN.1 hex string";var n=e.getChildIdx(t,0);if(2!==n.length||"02"!==t.substr(n[0],2)||"02"!==t.substr(n[1],2))throw"wrong hex for PKCS#5 public key";var s=i(t,n[0]),r=i(t,n[1]);this.setPublic(s,r)},st.prototype.readPKCS8PubKeyHex=function(t){var e=dt;if(!1===e.isASN1HEX(t))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==e.getTLVbyList(t,0,[0,0]))throw"not PKCS8 RSA public key";var i=e.getTLVbyList(t,0,[1,0]);this.readPKCS5PubKeyHex(i)},st.prototype.readCertPubKeyHex=function(t,e){var i,n;(i=new Wt).readCertHex(t),n=i.getPublicKeyHex(),this.readPKCS8PubKeyHex(n)};var Ht=new RegExp("");function qt(t,e){for(var i="",n=e/4-t.length,s=0;s>24,(16711680&s)>>16,(65280&s)>>8,255&s])))),s+=1;return n}function Yt(t){for(var e in ut.crypto.Util.DIGESTINFOHEAD){var i=ut.crypto.Util.DIGESTINFOHEAD[e],n=i.length;if(t.substring(0,n)==i)return[e,t.substring(n)]}return[]}function Wt(){var t=dt,e=t.getChildIdx,i=t.getV,n=t.getTLV,s=t.getVbyList,r=t.getTLVbyList,o=t.getIdxbyList,a=t.getVidx,c=t.oidname,u=Wt,l=Lt;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==r(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return s(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return c(s(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return r(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return u.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return r(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return u.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=s(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=s(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return t.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return o(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return o(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return Ft.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return c(s(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return s(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmName(),i=this.getSignatureValueHex(),n=r(this.hex,0,[0],"30"),s=new ut.crypto.Signature({alg:e});return s.init(t),s.updateHex(n),s.verify(i)},this.parseExt=function(){if(3!==this.version)return-1;var i=o(this.hex,0,[0,7,0],"30"),n=e(this.hex,i);this.aExtInfo=new Array;for(var r=0;r0&&(u=new Array(i),(new et).nextBytes(u),u=String.fromCharCode.apply(String,u));var l=vt(c(Tt("\0\0\0\0\0\0\0\0"+s+u))),h=[];for(n=0;n>8*a-o&255),n=0;nthis.n.bitLength())return 0;var n=Yt(this.doPublic(i).toString(16).replace(/^1f+00/,""));if(0==n.length)return!1;var s=n[0];return n[1]==function(t){return ut.crypto.Util.hashString(t,s)}(t)},st.prototype.verifyWithMessageHash=function(t,e){var i=it(e=(e=e.replace(Ht,"")).replace(/[ \n]+/g,""),16);if(i.bitLength()>this.n.bitLength())return 0;var n=Yt(this.doPublic(i).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==t},st.prototype.verifyPSS=function(t,e,i,n){var s=function(t){return ut.crypto.Util.hashHex(t,i)}(Tt(t));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(s,e,i,n)},st.prototype.verifyWithMessageHashPSS=function(t,e,i,n){var s=new v(e,16);if(s.bitLength()>this.n.bitLength())return!1;var r,o=function(t){return ut.crypto.Util.hashHex(t,i)},a=vt(t),c=a.length,u=this.n.bitLength()-1,l=Math.ceil(u/8);if(-1===n||void 0===n)n=c;else if(-2===n)n=l-c-2;else if(n<-2)throw"invalid salt length";if(l>8*l-u&255;if(0!=(d.charCodeAt(0)&f))throw"bits beyond keysize not zero";var g=jt(p,d.length,o),m=[];for(r=0;r0&&-1==(":"+n.join(":")+":").indexOf(":"+m+":"))throw"algorithm '"+m+"' not accepted in the list";if("none"!=m&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Ft.getKey(e)),!("RS"!=d&&"PS"!=d||e instanceof s))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(e instanceof c))throw"key shall be a ECDSA obj for ES* algs";var _=null;if(void 0===r.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+m;if("none"==(_=r.jwsalg2sigalg[m]))throw"not supported";if("Hmac"==_.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var b=new u({alg:_,pass:e});return b.updateString(p),f==b.doFinal()}if(-1!=_.indexOf("withECDSA")){var y,w=null;try{w=c.concatSigToASN1Sig(f)}catch(t){return!1}return(y=new l({alg:_})).init(e),y.updateString(p),y.verify(w)}return(y=new l({alg:_})).init(e),y.updateString(p),y.verify(f)},ut.jws.JWS.parse=function(t){var e,i,n=t.split("."),s={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=n[1],3==n.length&&(i=n[2]),s.headerObj=ut.jws.JWS.readSafeJSONString(ht(n[0])),s.payloadObj=ut.jws.JWS.readSafeJSONString(ht(e)),s.headerPP=JSON.stringify(s.headerObj,null," "),s.payloadPP=null==s.payloadObj?ht(e):JSON.stringify(s.payloadObj,null," "),void 0!==i&&(s.sigHex=wt(i)),s},ut.jws.JWS.verifyJWT=function(t,e,n){var s=ut.jws,r=s.JWS,o=r.readSafeJSONString,a=r.inArray,c=r.includedArray,u=t.split("."),l=u[0],h=u[1],d=(wt(u[2]),o(ht(l))),p=o(ht(h));if(void 0===d.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!a(d.alg,n.alg))return!1;if(void 0!==p.iss&&"object"===i(n.iss)&&!a(p.iss,n.iss))return!1;if(void 0!==p.sub&&"object"===i(n.sub)&&!a(p.sub,n.sub))return!1;if(void 0!==p.aud&&"object"===i(n.aud))if("string"==typeof p.aud){if(!a(p.aud,n.aud))return!1}else if("object"==i(p.aud)&&!c(p.aud,n.aud))return!1;var f=s.IntDate.getNow();return void 0!==n.verifyAt&&"number"==typeof n.verifyAt&&(f=n.verifyAt),void 0!==n.gracePeriod&&"number"==typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==p.exp&&"number"==typeof p.exp&&p.exp+n.gracePeriode.length&&(i=e.length);for(var n=0;n=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(t).length;default:if(n)return H(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function m(t,e,i,n,s){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=s?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(s)return-1;i=t.length-1}else if(i<0){if(!s)return-1;i=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:_(t,e,i,n,s);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):_(t,[e],i,n,s);throw new TypeError("val must be string, number or Buffer")}function _(t,e,i,n,s){var r,o=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,i/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(s){var l=-1;for(r=i;ra&&(i=a-c),r=i;r>=0;r--){for(var h=!0,d=0;ds&&(n=s):n=s;var r=e.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var o=0;o>8,s.push(i%256),s.push(n);return s}(e,t.length-i),t,i,n)}function T(t,e,i){return n.fromByteArray(0===e&&i===t.length?t:t.slice(e,i))}function k(t,e,i){i=Math.min(t.length,i);for(var n=[],s=e;s239?4:u>223?3:u>191?2:1;if(s+h<=i)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(r=t[s+1]))&&(c=(31&u)<<6|63&r)>127&&(l=c);break;case 3:o=t[s+2],128==(192&(r=t[s+1]))&&128==(192&o)&&(c=(15&u)<<12|(63&r)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[s+2],a=t[s+3],128==(192&(r=t[s+1]))&&128==(192&o)&&128==(192&a)&&(c=(15&u)<<18|(63&r)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),s+=h}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);for(var i="",n=0;nthis.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,i);case"utf8":case"utf-8":return k(this,e,i);case"ascii":return C(this,e,i);case"latin1":case"binary":return E(this,e,i);case"base64":return T(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}).apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},c.prototype.compare=function(t,e,i,n,s){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),e<0||i>t.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&e>=i)return 0;if(n>=s)return-1;if(e>=i)return 1;if(this===t)return 0;for(var r=(s>>>=0)-(n>>>=0),o=(i>>>=0)-(e>>>=0),a=Math.min(r,o),u=this.slice(n,s),l=t.slice(e,i),h=0;hs)&&(i=s),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return b(this,t,e,i);case"utf8":case"utf-8":return y(this,t,e,i);case"ascii":return w(this,t,e,i);case"latin1":case"binary":return M(this,t,e,i);case"base64":return A(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,t,e,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function C(t,e,i){var n="";i=Math.min(t.length,i);for(var s=e;sn)&&(i=n);for(var s="",r=e;ri)throw new RangeError("Trying to access beyond buffer length")}function x(t,e,i,n,s,r){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}function O(t,e,i,n){e<0&&(e=65535+e+1);for(var s=0,r=Math.min(t.length-i,2);s>>8*(n?s:1-s)}function D(t,e,i,n){e<0&&(e=4294967295+e+1);for(var s=0,r=Math.min(t.length-i,4);s>>8*(n?s:3-s)&255}function P(t,e,i,n,s,r){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,n,r){return r||P(t,0,i,4),s.write(t,e,i,n,23,4),i+4}function I(t,e,i,n,r){return r||P(t,0,i,8),s.write(t,e,i,n,52,8),i+8}c.prototype.slice=function(t,e){var i,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(s*=256);)n+=this[t+--e]*s;return n},c.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=this[t],s=1,r=0;++r=(s*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=e,s=1,r=this[t+--n];n>0&&(s*=256);)r+=this[t+--n]*s;return r>=(s*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),s.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),s.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),s.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),s.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,i,n){t=+t,e|=0,i|=0,n||x(this,t,e,i,Math.pow(2,8*i)-1,0);var s=1,r=0;for(this[e]=255&t;++r=0&&(r*=256);)this[e+s]=t/r&255;return e+i},c.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);x(this,t,e,i,s-1,-s)}var r=0,o=1,a=0;for(this[e]=255&t;++r>0)-a&255;return e+i},c.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var s=Math.pow(2,8*i-1);x(this,t,e,i,s-1,-s)}var r=i-1,o=1,a=0;for(this[e+r]=255&t;--r>=0&&(o*=256);)t<0&&0===a&&0!==this[e+r+1]&&(a=1),this[e+r]=(t/o>>0)-a&255;return e+i},c.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},c.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},c.prototype.writeDoubleLE=function(t,e,i){return I(this,t,e,!0,i)},c.prototype.writeDoubleBE=function(t,e,i){return I(this,t,e,!1,i)},c.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--s)t[s+e]=this[s+i];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(s=0;s>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(r=e;r55295&&i<57344){if(!s){if(i>56319){(e-=3)>-1&&r.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&r.push(239,191,189);continue}s=i;continue}if(i<56320){(e-=3)>-1&&r.push(239,191,189),s=i;continue}i=65536+(s-55296<<10|i-56320)}else s&&(e-=3)>-1&&r.push(239,191,189);if(s=null,i<128){if((e-=1)<0)break;r.push(i)}else if(i<2048){if((e-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function j(t,e,i,n){for(var s=0;s=e.length||s>=t.length);++s)e[s+i]=t[s];return s}}).call(this,i(28))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";e.byteLength=function(t){var e=u(t),i=e[1];return 3*(e[0]+i)/4-i},e.toByteArray=function(t){for(var e,i=u(t),n=i[0],o=i[1],a=new r(function(t,e,i){return 3*(e+i)/4-i}(0,n,o)),c=0,l=o>0?n-4:n,h=0;h>16&255,a[c++]=e>>8&255,a[c++]=255&e;return 2===o&&(e=s[t.charCodeAt(h)]<<2|s[t.charCodeAt(h+1)]>>4,a[c++]=255&e),1===o&&(e=s[t.charCodeAt(h)]<<10|s[t.charCodeAt(h+1)]<<4|s[t.charCodeAt(h+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e),a},e.fromByteArray=function(t){for(var e,i=t.length,s=i%3,r=[],o=0,a=i-s;oa?a:o+16383));return 1===s?r.push(n[(e=t[i-1])>>2]+n[e<<4&63]+"=="):2===s&&r.push(n[(e=(t[i-2]<<8)+t[i-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),r.join("")};for(var n=[],s=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t,e,i){for(var s,r=[],o=e;o>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return r.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,i,n,s){var r,o,a=8*s-n-1,c=(1<>1,l=-7,h=i?s-1:0,d=i?-1:1,p=t[e+h];for(h+=d,r=p&(1<<-l)-1,p>>=-l,l+=a;l>0;r=256*r+t[e+h],h+=d,l-=8);for(o=r&(1<<-l)-1,r>>=-l,l+=n;l>0;o=256*o+t[e+h],h+=d,l-=8);if(0===r)r=1-u;else{if(r===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),r-=u}return(p?-1:1)*o*Math.pow(2,r-n)},e.write=function(t,e,i,n,s,r){var o,a,c,u=8*r-s-1,l=(1<>1,d=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:r-1,f=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=l):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=l?(a=0,o=l):o+h>=1?(a=(e*c-1)*Math.pow(2,s),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,s),o=0));s>=8;t[i+p]=255&a,p+=f,a/=256,s-=8);for(o=o<0;t[i+p]=255&o,p+=f,o/=256,u-=8);t[i+p-f]|=128*g}},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.jws,i=t.KeyUtil,s=t.X509,r=t.crypto,o=t.hextob64u,a=t.b64tohex,c=t.AllowedSigningAlgs;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.parseJwt=function t(i){n.Log.debug("JoseUtil.parseJwt");try{var s=e.JWS.parse(i);return{header:s.headerObj,payload:s.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,r,o,c,u,l,h){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===r.kty)if(r.e&&r.n)r=i.getKey(r);else{if(!r.x5c||!r.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",r),Promise.reject(new Error("RSA key missing key material"));var d=a(r.x5c[0]);r=s.getPublicKeyFromCertHex(d)}else{if("EC"!==r.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",r&&r.kty),Promise.reject(new Error(r.kty));if(!(r.crv&&r.x&&r.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",r),Promise.reject(new Error("EC key missing key material"));r=i.getKey(r)}return t._validateJwt(e,r,o,c,u,l,h)}catch(t){return n.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,i,s,r,o,a){r||(r=0),o||(o=parseInt(Date.now()/1e3));var c=t.parseJwt(e).payload;if(!c.iss)return n.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(c.iss!==i)return n.Log.error("JoseUtil._validateJwt: Invalid issuer in token",c.iss),Promise.reject(new Error("Invalid issuer in token: "+c.iss));if(!c.aud)return n.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(c.aud===s||Array.isArray(c.aud)&&c.aud.indexOf(s)>=0))return n.Log.error("JoseUtil._validateJwt: Invalid audience in token",c.aud),Promise.reject(new Error("Invalid audience in token: "+c.aud));if(c.azp&&c.azp!==s)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",c.azp),Promise.reject(new Error("Invalid azp in token: "+c.azp));if(!a){var u=o+r,l=o-r;if(!c.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(u>>((3&e)<<3)&255;return s}}},function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"#";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=s.UrlUtility.parseUrlFragment(e,i);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var i=parseInt(Date.now()/1e3);this.expires_at=i+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),t}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutRequest=void 0;var n=i(0),s=i(3),r=i(8);e.SignoutRequest=function t(e){var i=e.url,o=e.id_token_hint,a=e.post_logout_redirect_uri,c=e.data,u=e.extraQueryParams,l=e.request_type;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!i)throw n.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in o&&(i=s.UrlUtility.addQueryParam(i,"id_token_hint",o)),a&&(i=s.UrlUtility.addQueryParam(i,"post_logout_redirect_uri",a),c&&(this.state=new r.State({data:c,request_type:l}),i=s.UrlUtility.addQueryParam(i,"state",this.state.id))),u)i=s.UrlUtility.addQueryParam(i,h,u[h]);this.url=i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var n=i(3);e.SignoutResponse=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var i=n.UrlUtility.parseUrlFragment(e,"?");this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.state=i.state}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryWebStorage=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.SilentRenewService,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:p.JoseUtil;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i instanceof o.UserManagerSettings||(i=new o.UserManagerSettings(i));var m=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return m._events=new c.UserManagerEvents(i),m._silentRenewService=new n(m),m.settings.automaticSilentRenew&&(s.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),m.startSilentRenew()),m.settings.monitorSession&&(s.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),m._sessionMonitor=new r(m)),m._tokenRevocationClient=new a(m._settings),m._tokenClient=new f(m._settings),m._joseUtil=g,m}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function(){var t=this;return this._loadUser().then(function(e){return e?(s.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(s.Log.info("UserManager.getUser: user not found in storage"),null)})},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then(function(){s.Log.info("UserManager.removeUser: user removed from storage"),t._events.unload()})},e.prototype.signinRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:r";var e={useReplaceToNavigate:t.useReplaceToNavigate};return this._signinStart(t,this._redirectNavigator,e).then(function(){s.Log.info("UserManager.signinRedirect: successful")})},e.prototype.signinRedirectCallback=function(t){return this._signinEnd(t||this._redirectNavigator.url).then(function(t){return t.profile&&t.profile.sub?s.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinRedirectCallback: no sub"),t})},e.prototype.signinPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:p";var e=t.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.display="popup",this._signin(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopup: no sub")),t})):(s.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},e.prototype.signinPopupCallback=function(t){return this._signinCallback(t,this._popupNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinPopupCallback: no sub")),t}).catch(function(t){s.Log.error(t.message)})},e.prototype.signinSilent=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(e=Object.assign({},e)).request_type="si:s",this._loadUser().then(function(i){return i&&i.refresh_token?(e.refresh_token=i.refresh_token,t._useRefreshToken(e)):(e.id_token_hint=e.id_token_hint||t.settings.includeIdTokenInSilentRenew&&i&&i.id_token,i&&t._settings.validateSubOnSilentRenew&&(s.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",i.profile.sub),e.current_sub=i.profile.sub),t._signinSilentIframe(e))})},e.prototype._useRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(e).then(function(e){return e?e.access_token?t._loadUser().then(function(i){if(i){var n=Promise.resolve();return e.id_token&&(n=t._validateIdTokenFromTokenRefreshToken(i.profile,e.id_token)),n.then(function(){return s.Log.debug("UserManager._useRefreshToken: refresh token response success"),i.id_token=e.id_token,i.access_token=e.access_token,i.refresh_token=e.refresh_token||i.refresh_token,i.expires_in=e.expires_in,t.storeUser(i).then(function(){return t._events.load(i),i})})}return null}):(s.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(s.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},e.prototype._validateIdTokenFromTokenRefreshToken=function(t,e){var i=this;return this._metadataService.getIssuer().then(function(n){return i._joseUtil.validateJwtAttributes(e,n,i._settings.client_id,i._settings.clockSkew).then(function(e){return e?e.sub!==t.sub?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):e.auth_time&&e.auth_time!==t.auth_time?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):e.azp&&e.azp!==t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!e.azp&&t.azp?(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(s.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})},e.prototype._signinSilentIframe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.prompt=t.prompt||"none",this._signin(t,this._iframeNavigator,{startUrl:e,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilent: no sub")),t})):(s.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype.signinSilentCallback=function(t){return this._signinCallback(t,this._iframeNavigator).then(function(t){return t&&(t.profile&&t.profile.sub?s.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):s.Log.info("UserManager.signinSilentCallback: no sub")),t})},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then(function(i){var n=i.state;return"si:r"===n.request_type?e.signinRedirectCallback(t):"si:p"===n.request_type?e.signinPopupCallback(t):"si:s"===n.request_type?e.signinSilentCallback(t):Promise.reject(new Error("invalid response_type in state"))})},e.prototype.signoutCallback=function(t,e){var i=this;return this.readSignoutResponseState(t).then(function(n){var s=n.state,r=n.response;return s?"so:r"===s.request_type?i.signoutRedirectCallback(t):"so:p"===s.request_type?i.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):r})},e.prototype.querySessionStatus=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:s";var i=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return i?(e.redirect_uri=i,e.prompt="none",e.response_type=e.response_type||this.settings.query_status_response_type,e.scope=e.scope||"openid",e.skipUserInfo=!0,this._signinStart(e,this._iframeNavigator,{startUrl:i,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(e){return t.processSigninResponse(e.url).then(function(t){if(s.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};s.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(e){if(e.session_state&&t.settings.monitorAnonymousSession&&("login_required"==e.message||"consent_required"==e.message||"interaction_required"==e.message||"account_selection_required"==e.message))return s.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e})})):(s.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype._signin=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,n).then(function(e){return i._signinEnd(e.url,t)})},e.prototype._signinStart=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(n).then(function(e){return s.Log.debug("UserManager._signinStart: got navigator window handle"),i.createSigninRequest(t).then(function(t){return s.Log.debug("UserManager._signinStart: got signin request"),n.url=t.url,n.id=t.state.id,e.navigate(n)}).catch(function(t){throw e.close&&(s.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),e.close()),t})})},e.prototype._signinEnd=function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(t).then(function(t){s.Log.debug("UserManager._signinEnd: got signin response");var n=new a.User(t);if(i.current_sub){if(i.current_sub!==n.profile.sub)return s.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",n.profile.sub),Promise.reject(new Error("login_required"));s.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(n).then(function(){return s.Log.debug("UserManager._signinEnd: user stored"),e._events.load(n),n})})},e.prototype._signinCallback=function(t,e){return s.Log.debug("UserManager._signinCallback"),e.callback(t)},e.prototype.signoutRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:r";var e=t.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;e&&(t.post_logout_redirect_uri=e);var i={useReplaceToNavigate:t.useReplaceToNavigate};return this._signoutStart(t,this._redirectNavigator,i).then(function(){s.Log.info("UserManager.signoutRedirect: successful")})},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then(function(t){return s.Log.info("UserManager.signoutRedirectCallback: successful"),t})},e.prototype.signoutPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:p";var e=t.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return t.post_logout_redirect_uri=e,t.display="popup",t.post_logout_redirect_uri&&(t.state=t.state||{}),this._signout(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){s.Log.info("UserManager.signoutPopup: successful")})},e.prototype.signoutPopupCallback=function(t,e){return void 0===e&&"boolean"==typeof t&&(e=t,t=null),this._popupNavigator.callback(t,e,"?").then(function(){s.Log.info("UserManager.signoutPopupCallback: successful")})},e.prototype._signout=function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,n).then(function(t){return i._signoutEnd(t.url)})},e.prototype._signoutStart=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,i=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.prepare(n).then(function(i){return s.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then(function(r){return s.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(r):Promise.resolve()).then(function(){var o=t.id_token_hint||r&&r.id_token;return o&&(s.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=o),e.removeUser().then(function(){return s.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then(function(t){return s.Log.debug("UserManager._signoutStart: got signout request"),n.url=t.url,t.state&&(n.id=t.state.id),i.navigate(n)})})})}).catch(function(t){throw i.close&&(s.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),i.close()),t})})},e.prototype._signoutEnd=function(t){return this.processSignoutResponse(t).then(function(t){return s.Log.debug("UserManager._signoutEnd: got signout response"),t})},e.prototype.revokeAccessToken=function(){var t=this;return this._loadUser().then(function(e){return t._revokeInternal(e,!0).then(function(i){if(i)return s.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),e.access_token=null,e.refresh_token=null,e.expires_at=null,e.token_type=null,t.storeUser(e).then(function(){s.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)})})}).then(function(){s.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},e.prototype._revokeInternal=function(t,e){var i=this;if(t){var n=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then(function(t){return i._revokeRefreshTokenInternal(n,e).then(function(e){return t||e||s.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),t||e})})}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function(t,e){return!t||t.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(t,e).then(function(){return!0})},e.prototype._revokeRefreshTokenInternal=function(t,e){return t?this._tokenRevocationClient.revoke(t,e,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},e.prototype.startSilentRenew=function(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},e.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(t){return t?(s.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(t)):(s.Log.debug("UserManager._loadUser: no user storageString"),null)})},e.prototype.storeUser=function(t){if(t){s.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return s.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},n(e,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),e}(r.OidcClient)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=i.popup_redirect_uri,s=i.popup_post_logout_redirect_uri,h=i.popupWindowFeatures,d=i.popupWindowTarget,p=i.silent_redirect_uri,f=i.silentRequestTimeout,g=i.automaticSilentRenew,m=void 0!==g&&g,_=i.validateSubOnSilentRenew,b=void 0!==_&&_,y=i.includeIdTokenInSilentRenew,w=void 0===y||y,M=i.monitorSession,A=void 0===M||M,v=i.monitorAnonymousSession,T=void 0!==v&&v,k=i.checkSessionInterval,S=void 0===k?2e3:k,C=i.stopCheckSessionOnError,E=void 0===C||C,L=i.query_status_response_type,z=i.revokeAccessTokenOnSignout,R=void 0!==z&&z,x=i.accessTokenExpiringNotificationTime,O=void 0===x?60:x,D=i.redirectNavigator,P=void 0===D?new r.RedirectNavigator:D,N=i.popupNavigator,I=void 0===N?new o.PopupNavigator:N,B=i.iframeNavigator,F=void 0===B?new a.IFrameNavigator:B,H=i.userStore,q=void 0===H?new c.WebStorageStateStore({store:u.Global.sessionStorage}):H;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var j=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,arguments[0]));return j._popup_redirect_uri=n,j._popup_post_logout_redirect_uri=s,j._popupWindowFeatures=h,j._popupWindowTarget=d,j._silent_redirect_uri=p,j._silentRequestTimeout=f,j._automaticSilentRenew=m,j._validateSubOnSilentRenew=b,j._includeIdTokenInSilentRenew=w,j._accessTokenExpiringNotificationTime=O,j._monitorSession=A,j._monitorAnonymousSession=T,j._checkSessionInterval=S,j._stopCheckSessionOnError=E,j._query_status_response_type=L||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),j._revokeAccessTokenOnSignout=R,j._redirectNavigator=P,j._popupNavigator=I,j._iframeNavigator=F,j._userStore=q,j}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),e}(s.OidcClientSettings)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1])||arguments[1];n.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),i&&this._userLoaded.raise(e)},e.prototype.unload=function(){n.Log.debug("UserManagerEvents.unload"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function(t){this._userLoaded.addHandler(t)},e.prototype.removeUserLoaded=function(t){this._userLoaded.removeHandler(t)},e.prototype.addUserUnloaded=function(t){this._userUnloaded.addHandler(t)},e.prototype.removeUserUnloaded=function(t){this._userUnloaded.removeHandler(t)},e.prototype.addSilentRenewError=function(t){this._silentRenewError.addHandler(t)},e.prototype.removeSilentRenewError=function(t){this._silentRenewError.removeHandler(t)},e.prototype._raiseSilentRenewError=function(t){n.Log.debug("UserManagerEvents._raiseSilentRenewError",t.message),this._silentRenewError.raise(t)},e.prototype.addUserSignedIn=function(t){this._userSignedIn.addHandler(t)},e.prototype.removeUserSignedIn=function(t){this._userSignedIn.removeHandler(t)},e.prototype._raiseUserSignedIn=function(){n.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function(t){this._userSignedOut.addHandler(t)},e.prototype.removeUserSignedOut=function(t){this._userSignedOut.removeHandler(t)},e.prototype._raiseUserSignedOut=function(){n.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function(t){this._userSessionChanged.addHandler(t)},e.prototype.removeUserSessionChanged=function(t){this._userSessionChanged.removeHandler(t)},e.prototype._raiseUserSessionChanged=function(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(s.AccessTokenEvents)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:r.Global.timer,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,i));return o._timer=n,o._nowFunc=s||function(){return Date.now()/1e3},o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function(t){t<=0&&(t=1),t=parseInt(t);var e=this.now+t;if(this.expiration===e&&this._timerHandle)s.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),s.Log.debug("Timer.init timer "+this._name+" for duration:",t),this._expiration=e;var i=5;t0&&c>a&&(c=a);for(var u=0;u=0?(l=f.substr(0,g),h=f.substr(g+1)):(l=f,h=""),d=decodeURIComponent(l),p=decodeURIComponent(h),e(r,d)?Array.isArray(r[d])?r[d].push(p):r[d]=[r[d],p]:r[d]=p}return r}},5341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,s){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(s){var r=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return r+encodeURIComponent(e(t))}).join(i):r+encodeURIComponent(e(t[s]))}).join(i):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},6577:function(t,e,i){"use strict";i(963),i(5341)},4360:function(t){"use strict";t.exports=JSON.parse('{"version":"2020a","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|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 WAT|-d.A -10|01|-22y0d.A|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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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|01212121212121212121212121212121213|-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|","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/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","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/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","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/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","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 BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v 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 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-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 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","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/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","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/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-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 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 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 -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|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/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 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|24e4","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/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","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/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 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 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","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","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/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","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 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|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|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|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|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-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 3Co0 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|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-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 3Co0 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 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/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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 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||","Pacific/Port_Moresby|+10|-a0|0||25e4","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 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 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|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|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-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 3Co0 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|-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 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|-2nco8.l cNb8.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|012323232323232321212121212121212121212121212121212121212121212|-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|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|-2yO3F.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|01232345454545454545454545454545454545454545454545454545454|-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 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|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|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-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 20o0 s00 20o0 pc0 20o0 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|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|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|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu 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|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 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/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/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","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/Los_Angeles|US/Pacific-New","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/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|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|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|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/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/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|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/Currie 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/Vancouver America/Whitehorse America/Dawson","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/Astrakhan Europe/Volgograd 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"]}')},6700:function(t,e,i){var n={"./af":776,"./af.js":776,"./ar":7634,"./ar-dz":2758,"./ar-dz.js":2758,"./ar-kw":4980,"./ar-kw.js":4980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":2500,"./ar-ma.js":2500,"./ar-sa":6909,"./ar-sa.js":6909,"./ar-tn":2735,"./ar-tn.js":2735,"./ar.js":7634,"./az":7798,"./az.js":7798,"./be":9949,"./be.js":9949,"./bg":4590,"./bg.js":4590,"./bm":5938,"./bm.js":5938,"./bn":595,"./bn.js":595,"./bo":4756,"./bo.js":4756,"./br":7277,"./br.js":7277,"./bs":4166,"./bs.js":4166,"./ca":3943,"./ca.js":3943,"./cs":3474,"./cs.js":3474,"./cv":2218,"./cv.js":2218,"./cy":1061,"./cy.js":1061,"./da":2743,"./da.js":2743,"./de":1899,"./de-at":8580,"./de-at.js":8580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":1899,"./dv":8784,"./dv.js":8784,"./el":4654,"./el.js":4654,"./en-SG":4047,"./en-SG.js":4047,"./en-au":6277,"./en-au.js":6277,"./en-ca":6896,"./en-ca.js":6896,"./en-gb":1609,"./en-gb.js":1609,"./en-ie":4557,"./en-ie.js":4557,"./en-il":5836,"./en-il.js":5836,"./en-nz":3586,"./en-nz.js":3586,"./eo":2777,"./eo.js":2777,"./es":3357,"./es-do":3128,"./es-do.js":3128,"./es-us":3256,"./es-us.js":3256,"./es.js":3357,"./et":2654,"./et.js":2654,"./eu":7287,"./eu.js":7287,"./fa":3875,"./fa.js":3875,"./fi":3431,"./fi.js":3431,"./fo":1781,"./fo.js":1781,"./fr":1717,"./fr-ca":1539,"./fr-ca.js":1539,"./fr-ch":9847,"./fr-ch.js":9847,"./fr.js":1717,"./fy":2250,"./fy.js":2250,"./ga":7665,"./ga.js":7665,"./gd":5214,"./gd.js":5214,"./gl":6154,"./gl.js":6154,"./gom-latn":8518,"./gom-latn.js":8518,"./gu":9221,"./gu.js":9221,"./he":4743,"./he.js":4743,"./hi":7339,"./hi.js":7339,"./hr":3224,"./hr.js":3224,"./hu":856,"./hu.js":856,"./hy-am":6855,"./hy-am.js":6855,"./id":2190,"./id.js":2190,"./is":3887,"./is.js":3887,"./it":9270,"./it-ch":5890,"./it-ch.js":5890,"./it.js":9270,"./ja":6595,"./ja.js":6595,"./jv":3081,"./jv.js":3081,"./ka":7477,"./ka.js":7477,"./kk":3978,"./kk.js":3978,"./km":9205,"./km.js":9205,"./kn":25,"./kn.js":25,"./ko":427,"./ko.js":427,"./ku":9089,"./ku.js":9089,"./ky":9314,"./ky.js":9314,"./lb":3136,"./lb.js":3136,"./lo":9115,"./lo.js":9115,"./lt":7087,"./lt.js":7087,"./lv":5683,"./lv.js":5683,"./me":9454,"./me.js":9454,"./mi":5507,"./mi.js":5507,"./mk":8466,"./mk.js":8466,"./ml":2933,"./ml.js":2933,"./mn":9477,"./mn.js":9477,"./mr":3597,"./mr.js":3597,"./ms":5529,"./ms-my":9965,"./ms-my.js":9965,"./ms.js":5529,"./mt":259,"./mt.js":259,"./my":8061,"./my.js":8061,"./nb":2618,"./nb.js":2618,"./ne":8452,"./ne.js":8452,"./nl":1885,"./nl-be":413,"./nl-be.js":413,"./nl.js":1885,"./nn":5107,"./nn.js":5107,"./pa-in":702,"./pa-in.js":702,"./pl":1711,"./pl.js":1711,"./pt":594,"./pt-br":8238,"./pt-br.js":8238,"./pt.js":594,"./ro":4681,"./ro.js":4681,"./ru":6201,"./ru.js":6201,"./sd":2912,"./sd.js":2912,"./se":6002,"./se.js":6002,"./si":7942,"./si.js":7942,"./sk":5577,"./sk.js":5577,"./sl":1775,"./sl.js":1775,"./sq":6823,"./sq.js":6823,"./sr":9038,"./sr-cyrl":3848,"./sr-cyrl.js":3848,"./sr.js":9038,"./ss":6173,"./ss.js":6173,"./sv":5788,"./sv.js":5788,"./sw":6882,"./sw.js":6882,"./ta":2678,"./ta.js":2678,"./te":2797,"./te.js":2797,"./tet":2447,"./tet.js":2447,"./tg":1335,"./tg.js":1335,"./th":8667,"./th.js":8667,"./tl-ph":9914,"./tl-ph.js":9914,"./tlh":1389,"./tlh.js":1389,"./tr":3578,"./tr.js":3578,"./tzl":6969,"./tzl.js":6969,"./tzm":6509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":6509,"./ug-cn":55,"./ug-cn.js":55,"./uk":2452,"./uk.js":2452,"./ur":1151,"./ur.js":1151,"./uz":1555,"./uz-latn":6547,"./uz-latn.js":6547,"./uz.js":1555,"./vi":6541,"./vi.js":6541,"./x-pseudo":2401,"./x-pseudo.js":2401,"./yo":2341,"./yo.js":2341,"./zh-cn":619,"./zh-cn.js":619,"./zh-hk":7058,"./zh-hk.js":7058,"./zh-tw":2782,"./zh-tw.js":2782};function s(t){var e=r(t);return i(e)}function r(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=r,t.exports=s,s.id=6700},306:function(t){"use strict";t.exports={i8:"2.0.0"}}},function(t){"use strict";t(t.s=4638)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/main-es5.217ef2970196a2dde1ef.js b/dist/apps/user-profile/main-es5.217ef2970196a2dde1ef.js new file mode 100644 index 000000000..1d888b1a4 --- /dev/null +++ b/dist/apps/user-profile/main-es5.217ef2970196a2dde1ef.js @@ -0,0 +1 @@ +(function(){function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&_setPrototypeOf(r,n.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableRest()}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(c){s=!0,r=c}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},a.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(function(e){var t=a.dqk.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?(0,r.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,a.VLi)(new e)}}]),e}(),h=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),d=new a.OlP("EventManagerPlugins"),f=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),a+=e+".")}),a+=r,0!=t.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&E.hasOwnProperty(t)&&(t=E[t]))}return S[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),L.forEach(function(i){i!=n&&(0,z[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),x=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return(0,a.LFG)(D)},token:e,providedIn:"root"}),e}();function R(e){return new D(e.get(r.K0))}var D=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case a.q3G.NONE:return t;case a.q3G.HTML:return(0,a.qzn)(t,"HTML")?(0,a.z3N)(t):(0,a.EiD)(this._doc,String(t)).toString();case a.q3G.STYLE:return(0,a.qzn)(t,"Style")?(0,a.z3N)(t):t;case a.q3G.SCRIPT:if((0,a.qzn)(t,"Script"))return(0,a.z3N)(t);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.yhl)(t),(0,a.qzn)(t,"URL")?(0,a.z3N)(t):(0,a.mCW)(String(t));case a.q3G.RESOURCE_URL:if((0,a.qzn)(t,"ResourceURL"))return(0,a.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 ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,a.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,a.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,a.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,a.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,a.pB0)(e)}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=(0,a.Yz7)({factory:function(){return R((0,a.LFG)(a.gxx))},token:e,providedIn:"root"}),e}(),P=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:r.bD},{provide:a.g9A,useValue:function(){o.makeCurrent(),l.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,a.RDi)(document),document},deps:[]}]),N=[[],{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function(){return new a.qLn},deps:[]},{provide:d,useClass:T,multi:!0,deps:[r.K0,a.R0b,a.Lbi]},{provide:d,useClass:O,multi:!0,deps:[r.K0]},[],{provide:w,useClass:w,deps:[f,m,a.AFp]},{provide:a.FYo,useExisting:w},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[r.K0]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b]},{provide:f,useClass:f,deps:[d,a.R0b]},{provide:r.JF,useClass:h,deps:[]},[]],I=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)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.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:a.AFp,useValue:t.appId},{provide:c,useExisting:a.AFp},u]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(e,12))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:N,imports:[r.ez,a.hGG]}),e}();function q(){return new B((0,a.LFG)(r.K0))}var B=function(){var e=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=(0,a.Yz7)({factory:q,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window;var H,Y,j,F,W,U,K,Z,G,X,V,J,Q,$,ee=n(9063),te=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return encodeURIComponent(e)}},{key:"encodeValue",value:function(e){return encodeURIComponent(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),ne=new a.OlP("basePath"),ie=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}return _createClass(e,[{key:"selectHeaderContentType",value:function(e){var t=this;if(0!==e.length){var n=e.find(function(e){return t.isJsonMime(e)});return void 0===n?e[0]:n}}},{key:"selectHeaderAccept",value:function(e){var t=this;if(0!==e.length){var n=e.find(function(e){return t.isJsonMime(e)});return void 0===n?e[0]:n}}},{key:"isJsonMime",value:function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}]),e}(),re=((X=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"convertAttributeToNonunique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToNonunique"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"convertAttributeToUnique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToUnique"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/createAttribute"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attribute",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttribute"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteAttributeDefinitions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("attributes[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttributes"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllAttributeDefinitions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinition"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAttribute",value:function(e,t,n,i,r,a,o,s,c,u,l){var h=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"body",d=arguments.length>12&&void 0!==arguments[12]&&arguments[12],f=new ee.LE({encoder:this.encoder});null!=e&&(f=f.set("attributeName",e)),null!=t&&(f=f.set("attributeId",t)),null!=n&&(f=f.set("facility",n)),null!=i&&(f=f.set("user",i)),null!=r&&(f=f.set("vo",r)),null!=a&&(f=f.set("resource",a)),null!=o&&(f=f.set("member",o)),null!=s&&(f=f.set("group",s)),null!=c&&(f=f.set("host",c)),null!=u&&(f=f.set("userExtSource",u)),null!=l&&(f=f.set("key",l));var p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+g)}var m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(p=p.set("Accept",m)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/any"),{params:f,withCredentials:this.configuration.withCredentials,headers:p,observe:h,reportProgress:d})}},{key:"getAttributeDefinitionById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinitionById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeDefinitionByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinition"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeDefinitionsByNamespace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("namespace",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinitionByNamespace"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeModulesDependenciesForAttributeGraphText",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAttributeModulesDependenciesGraphText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("format",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeRights"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributesDefinitionWithRights",value:function(e,t,n,i,r,a,o,s){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"body",u=arguments.length>9&&void 0!==arguments[9]&&arguments[9],l=new ee.LE({encoder:this.encoder});null!=e&&(l=l.set("member",e)),null!=t&&(l=l.set("user",t)),null!=n&&(l=l.set("vo",n)),null!=i&&(l=l.set("group",i)),null!=r&&(l=l.set("resource",r)),null!=a&&(l=l.set("facility",a)),null!=o&&(l=l.set("host",o)),null!=s&&(l=l.set("userExtSource",s));var h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var d="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+d)}var f=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==f&&(h=h.set("Accept",f)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/getAttributesDefinitionWithRights"),{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:c,reportProgress:u})}},{key:"getEntitylessAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-entityless"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getEntitylessAttributesByKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/key"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEntitylessAttributesByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attrName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEntitylessAttributesWithKeys",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(function(e){r=r.append("keys[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributesWithKeys"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getEntitylessKeys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessKeys"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFacilityAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getFacilityAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFacilityAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getFacilityResourceUserMemberAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("user",n)),null!=i&&(o=o.set("member",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-r-u-m"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getFacilityUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-u"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupResourceAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attributeId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group-resource"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getGroupResourceAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attributeName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group-resource"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getGroupResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/group-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getHostAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getHostAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getHostAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getLogins",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getLogins"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberAndUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-wu"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberAndUserAttributesByNames",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("workWithUserAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberGroupAndUserAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),n&&n.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getMemberGroupAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("attributeId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-group"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberGroupAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("attributeName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-group"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberGroupAttributesByNames",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("workWithUserAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),n&&n.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-names-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getMemberResourceAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attributeId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-resource"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberResourceAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attributeName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-resource"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributesDefinition"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/f"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesFacilityService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesFacilityServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("facility",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesGroupResourceService",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("group",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getRequiredAttributesHostService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-h"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesMemberGroup",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("workWithUserAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-g"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getRequiredAttributesMemberGroupResourceService",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e)),null!=t&&(s=s.set("resource",t)),null!=n&&(s=s.set("group",n)),null!=i&&(s=s.set("member",i)),null!=r&&(s=s.set("workWithUserAttributes",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g-m"),{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"getRequiredAttributesMemberGroupService",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("member",n)),null!=i&&(o=o.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-g-m"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getRequiredAttributesMemberResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("workWithUserAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-r"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getRequiredAttributesMemberResourceService",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("member",n)),null!=i&&(o=o.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-m"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getRequiredAttributesResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/r"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesResourceService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesResourceServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesUserFacility",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRequiredAttributesVoService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceGroupAndGroupAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("workWithGroupAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-wg"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getResourceGroupAndGroupAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("resource",e)),null!=t&&(o=o.set("group",t)),n&&n.forEach(function(e){o=o.append("attrNames[]",e)}),null!=i&&(o=o.set("workWithGroupAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-names-wg"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getResourceGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceGroupMemberAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("resource",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("member",n)),i&&i.forEach(function(e){o=o.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-m-names"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getUserAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourceAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserFacilityAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=n&&(a=a.set("attributeId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user_facility"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getUserFacilityAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=n&&(a=a.set("attributeName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user_facility"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getUserFacilityAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/user-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getVoAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getVoAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeAttributesForFacilityResourceGroupUserMember",value:function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");var c=new ee.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("resource",t)),null!=n&&(c=c.set("group",n)),null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("member",r)),a&&a.forEach(function(e){c=c.append("attributes[]",e)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"removeAttributesForFacilityResourceUserMember",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e)),null!=t&&(s=s.set("resource",t)),null!=n&&(s=s.set("user",n)),null!=i&&(s=s.set("member",i)),r&&r.forEach(function(e){s=s.append("attributes[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-u-m"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"removeEntitylessAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/e"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeFacilityAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeFacilityAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupResourceAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attribute",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g-r"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeGroupResourceAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeGroupResourceAttributesWorkWithGroupAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)}),null!=i&&(o=o.set("workWithGroupAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"removeHostAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeHostAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeMemberAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeMemberAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeMemberAttributesWorkWithUserAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(function(e){a=a.append("attributes[]",e)}),null!=n&&(a=a.set("workWithUserAttributes",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("attribute",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-g"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttributesWorkWithUserAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)}),null!=i&&(o=o.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"removeMemberResourceAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("attribute",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-r"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeMemberResourceAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-r"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeResourceAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUesAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserExtSourceAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserFacilityAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=n&&(a=a.set("attribute",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u-f"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeUserFacilityAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u-f"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeVoAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeVoAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"setAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributeRights"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setEntitylessAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/entityless"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityResourceGroupUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-g-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityResourceUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setHostAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/host"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/h"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAndUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceGroupWithGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g-wg"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserExtSourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/userExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/ues"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setVoAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/updateAttributeDefinition"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||X)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},X.\u0275prov=a.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X),ae=((G=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"getAllPolicies",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllPolicies"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAllRolesManagementRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllRolesManagementRules"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAuthzAdminGroups",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("role",e)),null!=t&&(a=a.set("complementaryObjectId",t)),null!=n&&(a=a.set("complementaryObjectName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAdminGroups"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getAuthzRichAdmins",value:function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");var c=new ee.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=n&&(c=c.set("complementaryObjectName",n)),i&&i.forEach(function(e){c=c.append("specificAttributes",e)}),null!=r&&(c=c.set("allUserAttributes",r)),null!=a&&(c=c.set("onlyDirectAdmins",a));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getRichAdmins"),{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"getFacilitiesWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getFacilitiesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupRoleNames"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("groupId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/getGroupRoles"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getLoggedUser",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getLoggedUser"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getMembersWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getMembersWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getPerunPrincipal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPerunPrincipal"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPrincipalRoleNames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPrincipalRoleNames"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getResourcesWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getResourcesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getSecurityTeamsWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getSecurityTeamsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoleNames"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("userId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoles"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getVosWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"isFacilityAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isFacilityAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isGroupAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isGroupAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isPerunAdmin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/isPerunAdmin"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"isVoAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isVoAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"keepAlive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/keepAlive"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"loadAuthorizationComponents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/loadAuthorizationComponents"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"setRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unsetRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unsetRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||G)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G),oe=((Z=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"addMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"canExtendMembershipInGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/canExtendMembershipInGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createGroupUnion",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createGroupWithParentGroupNameDescription",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("parentGroup",e)),null!=t&&(a=a.set("name",t)),null!=n&&(a=a.set("description",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/pg-n-d"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"createGroupWithVoNameDescription",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("name",t)),null!=n&&(a=a.set("description",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/v-n-d"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"deleteGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deleteGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==t)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("forceDelete",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroups"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"extendMembershipInGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/extendMembershipInGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"forceAllSubGroupsSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"forceGroupStructureSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupStructureSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"forceGroupSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllMemberGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllRichGroupsWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAllRichSubGroupsWithGroupAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichSubGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupByName"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupMemberById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMemberById"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCount"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupMembersCountsByGroupStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByGroupStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupMembersCountsByVoStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByVoStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupRichMembersByIds",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(function(e){a=a.append("members[]",e)}),n&&n.forEach(function(e){a=a.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupRichMembersByIds"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getGroupUnions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupUnions"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupsByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupsByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getIndirectMembershipPaths",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getIndirectMembershipPaths"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberRichGroupsWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRichGroupByIdWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getRichGroupByIdWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"isGroupMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/isGroupMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"moveGroupWithDestinationGroupMovingGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");var r=new ee.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/moveGroup/dg-mg"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupUnion",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"setGroupsMemberStatus",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("status",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/setGroupsMemberStatus"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"updateGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/groupsManager/updateGroup"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Z)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},Z.\u0275prov=a.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z),se=((K=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"canExtendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/canExtendMembership"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createMemberForCandidate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/c"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createMemberForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createMemberFromExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/extSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSpecificMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSpecificMember"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMember/withFullName"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembers"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMembersFromCSV",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembersFromCSV"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMember"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("members[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMembers"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"extendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/extendMembership"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"findCompleteRichMembersByAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){a=a.append("attrsNames[]",e)}),null!=t&&(a=a.set("searchString",t)),n&&n.forEach(function(e){a=a.append("allowedStatuses[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/attrs"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"findCompleteRichMembersForGroup",value:function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");var c=new ee.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(function(e){c=c.append("attrsNames[]",e)}),r&&r.forEach(function(e){c=c.append("allowedStatuses[]",e)}),a&&a.forEach(function(e){c=c.append("allowedGroupStatuses[]",e)}),null!=n&&(c=c.set("searchString",n)),null!=i&&(c=c.set("lookingInParentGroup",i));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/g"),{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"findCompleteRichMembersForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("attrsNames[]",e)}),i&&i.forEach(function(e){o=o.append("allowedStatuses[]",e)}),null!=n&&(o=o.set("searchString",n));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"findMembersInVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findMembersInVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"findSponsoredCompleteRichMembersForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("attrsNames[]",e)}),null!=n&&(o=o.set("searchString",n)),null!=i&&(o=o.set("onlySponsored",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v-sponsored"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getAllNamespacesRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllNamespacesRules"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAllSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllSponsoredMembersAndTheirSponsors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getCompleteRichMembersForGroup",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e)),n&&n.forEach(function(e){s=s.append("allowedStatuses[]",e)}),i&&i.forEach(function(e){s=s.append("allowedGroupStatuses[]",e)}),null!=t&&(s=s.set("lookingInParentGroup",t)),r&&r.forEach(function(e){s=s.append("attrsNames[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g"),{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"getCompleteRichMembersForGroupResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),n&&n.forEach(function(e){o=o.append("attrsNames[]",e)}),i&&i.forEach(function(e){o=o.append("allowedStatuses[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g-r"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getCompleteRichMembersForVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("allowedStatuses[]",e)}),n&&n.forEach(function(e){a=a.append("attrsNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/v"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberByExtSourceNameAndExtLogin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extLogin",t)),null!=n&&(a=a.set("extSourceName",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByExtSourceNameAndExtLogin"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMemberById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberByUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByUser"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembers"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getMembersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersPage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/getMembersPage"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getMembersWithStatusCount",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount/status"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getRichMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichMemberWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMemberWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichMembersByIds",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("ids[]",e)}),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMembersByIds"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembers/v"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSponsoredMembersAndTheirSponsors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getSponsorsByMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getSponsorsByVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("extSourceName",t)),null!=n&&(o=o.set("extLogin",n)),i&&i.forEach(function(e){o=o.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/vo"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"moveMembership",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("sourceUser",t)),null!=n&&(a=a.set("targetUser",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/moveMembership"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"removeSponsor",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/removeSponsor"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"sendAccountActivationLinkEmail",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("namespace",t)),null!=n&&(o=o.set("emailAttributeURN",n)),null!=i&&(o=o.set("language",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendAccountActivationLinkEmail"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"sendPasswordResetLinkEmail",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("namespace",t)),null!=n&&(o=o.set("emailAttributeURN",n)),null!=i&&(o=o.set("language",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendPasswordResetLinkEmail"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"setSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/setSponsoredMember"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setSponsorshipForMember",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("sponsoredMember",e)),null!=t&&(a=a.set("sponsor",t)),null!=n&&(a=a.set("validityTo",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setSponsorshipForMember"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"setStatus",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setStatus"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"sponsorMember",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=n&&(a=a.set("validityTo",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sponsorMember"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"updateSponsorshipValidity",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=n&&(a=a.set("validityTo",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/updateSponsorshipValidity"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"validateMemberAsync",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/validateMemberAsync"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||K)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},K.\u0275prov=a.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K),ce=((U=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"sentMessageToRTWithMemberQueue",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("memberId",e)),null!=t&&(o=o.set("queue",t)),null!=n&&(o=o.set("subject",n)),null!=i&&(o=o.set("text",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"sentMessageToRTWithQueue",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("queue",e)),null!=t&&(a=a.set("subject",t)),null!=n&&(a=a.set("text",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"sentMessageToRTWithVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("subject",t)),null!=n&&(a=a.set("text",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"sentMessageToRTWithVoQueue",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("voId",e)),null!=t&&(o=o.set("queue",t)),null!=n&&(o=o.set("subject",n)),null!=i&&(o=o.set("text",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}}]),e}()).\u0275fac=function(e){return new(e||U)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},U.\u0275prov=a.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U),ue=((W=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"addApplicationMailForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"addApplicationMailForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/v"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"addGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/addGroupsToAutoRegistration"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"approveApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/approveApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"consolidateIdentityUsingToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/consolidateIdentityUsingToken"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"copyFormFromGroupToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyFormFromGroupToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyFormFromVoToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyFormFromVoToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyMailsFromGroupToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyMailsFromGroupToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyMailsFromVoToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyMailsFromVoToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createApplicationFormInGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/group"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createApplicationFormInVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/vo"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteApplicationMailForGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deleteApplicationMailForVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deleteGroupsFromAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationDataById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationDataById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationMailsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationMailsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/v"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationsForGroup",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("state[]",e)}),null!=n&&(o=o.set("dateFrom",n)),null!=i&&(o=o.set("dateTo",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForGroup"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getApplicationsForMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getApplicationsForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("state[]",e)}),null!=n&&(o=o.set("dateFrom",n)),null!=i&&(o=o.set("dateTo",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForVo"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getConsolidatorToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getConsolidatorToken"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFormItemsForGroupWithType",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFormItemsForVoWithType",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/group"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getGroupsToAutoRegistration"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"rejectApplication",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/rejectApplication"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"sendInvitation",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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.");var o=new ee.LE({encoder:this.encoder});null!=n&&(o=o.set("voId",n)),null!=i&&(o=o.set("name",i)),null!=e&&(o=o.set("email",e)),null!=t&&(o=o.set("language",t));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"sendInvitationForGroup",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var s=new ee.LE({encoder:this.encoder});null!=n&&(s=s.set("voId",n)),null!=i&&(s=s.set("groupId",i)),null!=r&&(s=s.set("name",r)),null!=e&&(s=s.set("email",e)),null!=t&&(s=s.set("language",t));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/g"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"sendInvitationGroupToExistingUser",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e)),null!=t&&(a=a.set("voId",t)),null!=n&&(a=a.set("groupId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u-g"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"sendInvitationToExistingUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/sendMessage"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setSendingEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/setSendingEnabled"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"submitApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/submitApplication"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateApplicationMail",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateApplicationMail"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateForm"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemData"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemsData"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"verifyApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/verifyApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||W)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},W.\u0275prov=a.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W),le=((F=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"activateGroupResourceAssignment",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("async",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/activateGroupResourceAssignment"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"addAdminToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addAdminToUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addResourceSelfServiceGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addResourceSelfServiceUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"allowGroupsToResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){a=a.append("groups[]",e)}),t&&t.forEach(function(e){a=a.append("resources[]",e)}),null!=n&&(a=a.set("async",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/allowGroupsToResources"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"assignGroupToResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("async",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"assignGroupToResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(function(e){a=a.append("resources[]",e)}),null!=n&&(a=a.set("async",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResources"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"assignGroupsToResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){a=a.append("groups[]",e)}),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("async",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupsToResource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"assignResourceTagToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/assignResourceTagToResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"assignService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"assignServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"assignServicesPackage",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"copyResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/copyResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter name was null or undefined when calling createResource.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("facility",t)),null!=n&&(o=o.set("name",n)),null!=i&&(o=o.set("description",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"createResourceTagWithResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/createResourceTag/resourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createResourceTagWithTagName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResourceTag/tagName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deactivateGroupResourceAssignment",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deleteAllResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResources"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteResource"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/deleteResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getAdminGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdminGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAdmins",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAllResourcesByResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesByResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getAllResourcesTagsForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForResource"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllResourcesWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/all"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedUsersOfResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAssignedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedMembersWithStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembersWithStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedResourcesWithStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResourcesWithStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithMemberService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/s-m"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAssignedServicesToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedServices"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getBansForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getBansForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForResource"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEnrichedResourceById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourceById"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getEnrichedResourcesForFacility",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getEnrichedResourcesForVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getFacility"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupAssignments",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getGroupAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceAssignments",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceBan",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBanById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=n&&(a=a.set("name",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceByName"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesCountForAll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/all"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getResourcesCountForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesFromVoWhereUserIsAdmin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getResourcesWhereGroupIsAdmin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=n&&(a=a.set("group",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/group"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getResourcesWhereUserIsAdmin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=n&&(a=a.set("user",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getRichAdmins",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("resource",e)),t&&t.forEach(function(e){o=o.append("specificAttributes",e)}),null!=n&&(o=o.set("allUserAttributes",n)),null!=i&&(o=o.set("onlyDirectAdmins",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichAdmins"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getRichResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeAllResourceTagsFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeBanByMemberAndResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/member-resource-id"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupAdminResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupFromResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupFromResources",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("resources[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeGroupsFromResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupsFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/id"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeResourceSelfServiceGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeResourceSelfServiceUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeResourceTagFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/removeResourceTagFromResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"removeService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeServicesPackage",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserAdminResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"setResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unallowGroupsFromResources",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),t&&t.forEach(function(e){r=r.append("resources[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/unallowGroupsFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"updateResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||F)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},F.\u0275prov=a.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F),he=((j=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"addSpecificUserOwner",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/addSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addUserExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/addUserExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"anonymizeUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/anonymizeUser"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"changeNonAuthzPasswordByToken",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e)),null!=t&&(a=a.set("password",t)),null!=n&&(a=a.set("lang",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changeNonAuthzPassword/token"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"changePasswordForLogin",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==n)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("login",e)),null!=t&&(s=s.set("namespace",t)),null!=n&&(s=s.set("newPassword",n)),null!=i&&(s=s.set("oldPassword",i)),null!=r&&(s=s.set("checkOldPassword",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/login"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"changePasswordForUser",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==n)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e)),null!=t&&(s=s.set("namespace",t)),null!=n&&(s=s.set("newPassword",n)),null!=i&&(s=s.set("oldPassword",i)),null!=r&&(s=s.set("checkOldPassword",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/user"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"checkPasswordResetRequestByTokenIsValid",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordResetRequestIsValid/token"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"checkPasswordStrength",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordStrength"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createAlternativePassword",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("description",t)),null!=n&&(o=o.set("loginNamespace",n)),null!=i&&(o=o.set("password",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/createAlternativePassword"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"createServiceUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/createServiceUser"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteAlternativePassword",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("loginNamespace",t)),null!=n&&(a=a.set("passwordId",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteAlternativePassword"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"deletePasswordForLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deletePasswordForUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"deleteUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"findRichUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"findRichUsersWithAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(function(e){r=r.append("attrsNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsersWithAttributes"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"findUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllRichUsersWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("includedSpecificUsers",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAllRichUsersWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAssignedRichResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsForFacilityWhereUserIsActive",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupsForResourceWhereUserIsActive",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupsInVoWhereUserIsAdmin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getGroupsWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getPendingPreferredEmailChanges",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getPendingPreferredEmailChanges"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserExtSources/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUserWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersWithAttributesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithAttributesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersWithoutVoWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("attrsNames[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithoutVoWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSpecificUsersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSpecificUsersByUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSponsorsForMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getSponsorsForMemberByVoAndLogin",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");var o=new ee.LE({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("extSourceName",t)),null!=n&&(o=o.set("extLogin",n)),i&&i.forEach(function(e){o=o.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(s=s.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/vo"),{params:o,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:a})}},{key:"getUserByExtSourceNameAndExtLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserByExtSourceNameAndExtLogin"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getUserById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUsers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsers"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUsersBySpecificUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("specificUser",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersBySpecificUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isLoginAvailable",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/isLoginAvailable"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"loginExist",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/loginExist"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeSpecificUserOwner",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeUserExtSource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("userExtSource",t)),null!=n&&(a=a.set("force",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeUserExtSource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"requestPreferredEmailChange",value:function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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.");var c=new ee.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("email",t)),null!=n&&(c=c.set("lang",n)),null!=i&&(c=c.set("linkPath",i)),null!=r&&(c=c.set("customUrl",r)),null!=a&&(c=c.set("idpFilter",a));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(u=u.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/requestPreferredEmailChange"),null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:s})}},{key:"reservePasswordForLogin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==n)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("login",e)),null!=t&&(a=a.set("namespace",t)),null!=n&&(a=a.set("password",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/login"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"reservePasswordForUser",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==n)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("namespace",t)),null!=n&&(a=a.set("password",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/user"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"reserveRandomPassword",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reserveRandomPassword"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/updateUser"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"validatePasswordForLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"validatePasswordForUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"validatePreferredEmailChangeWithToken",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePreferredEmailChange"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||j)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},j.\u0275prov=a.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j),de=((Y=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"getAppsConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getAppsConfig"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getGuiConfiguration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getGuiConfiguration"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunRPCVersion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunStatistics",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatistics"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunStatus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatus"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunSystemTimeInMillis",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunSystemTimeInMillis"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}]),e}()).\u0275fac=function(e){return new(e||Y)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},Y.\u0275prov=a.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y),fe=((H=function(){function e(t,n,i){_classCallCheck(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new ee.WM,this.configuration=new ie,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new te}return _createClass(e,[{key:"addSponsorRoleToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addSponsorRoleToUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addVoAdminGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"addVoAdminUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createVoWithName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/createVo/withName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"createVoWithVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/createVo/withVo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/deleteVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"findCandidates",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e)),null!=t&&(a=a.set("searchString",t)),null!=n&&(a=a.set("maxNumOfResults",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"findCandidatesForGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates/forGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getAllVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAllVos"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getCompleteCandidatesForGroup",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("searchString",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forGroup"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getCompleteCandidatesForVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("attrNames[]",e)}),null!=n&&(a=a.set("searchString",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forVo"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getMyVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVos"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getRichAdminsForVo",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");var s=new ee.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e)),null!=t&&(s=s.set("role",t)),n&&n.forEach(function(e){s=s.append("specificAttributes",e)}),null!=i&&(s=s.set("allUserAttributes",i)),null!=r&&(s=s.set("onlyDirectAdmins",r));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+u)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(c=c.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getRichAdmins"),{params:s,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:o})}},{key:"getVoAdminGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdminGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"getVoAdminUsers",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");var a=new ee.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("role",t)),null!=n&&(a=a.set("onlyDirectAdmins",n));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+s)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(o=o.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdmins"),{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:r})}},{key:"getVoBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanForMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoBansForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBansForVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoByShortName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("shortName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoByShortName"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoMembersCountsByStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoMembersCountsByStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");var i=new ee.LE({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosCount"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"removeSponsorRoleFromGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeSponsorRoleFromUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeVoAdminGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeVoAdminUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new ee.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+o)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(a=a.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:a,observe:n,reportProgress:i})}},{key:"removeVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBan"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");var i=new ee.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}var o=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==o&&(r=r.set("Accept",o)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBanForMember"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"setVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(i=i.set("Accept",a));var o=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==o&&(i=i.set("Content-Type",o)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/updateVo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||H)(a.LFG(ee.eN),a.LFG(ne,8),a.LFG(ie,8))},H.\u0275prov=a.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H);!function(e){e.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},e.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(V||(V={})),function(e){e.FormatEnum={DOT:"DOT",TGF:"TGF"}}(J||(J={})),function(e){e.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(Q||(Q={})),function(e){e.TypeEnum={Technical:"technical",Administrative:"administrative"}}($||($={}));var pe=function(e){return e.PERUNADMIN="PERUNADMIN",e.PERUNOBSERVER="PERUNOBSERVER",e.VOADMIN="VOADMIN",e.GROUPADMIN="GROUPADMIN",e.SELF="SELF",e.FACILITYADMIN="FACILITYADMIN",e.FACILITIYOBSERVER="FACILITYOBSERVER",e.RESOURCEADMIN="RESOURCEADMIN",e.RESOURCESELFSERVICE="RESOURCESELFSERVICE",e.REGISTRAR="REGISTRAR",e.ENGINE="ENGINE",e.RPC="RPC",e.NOTIFICATIONS="NOTIFICATIONS",e.SERVICEUSER="SERVICEUSER",e.SPONSOR="SPONSOR",e.VOOBSERVER="VOOBSERVER",e.TOPGROUPCREATOR="TOPGROUPCREATOR",e.SECURITYADMIN="SECURITYADMIN",e.CABINETADMIN="CABINETADMIN",e.UNKNOWNROLENAME="UNKNOWNROLENAME",e}({}),ge=function(){var e=function(){function e(t){_classCallCheck(this,e),this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return _createClass(e,[{key:"init",value:function(e){this.principal=e,this.initData(e)}},{key:"setPerunPolicies",value:function(e){this.perunPolicies=e}},{key:"getPerunPolicies",value:function(){return this.perunPolicies}},{key:"isAuthorized",value:function(e,t){if(null===this.principal.roles)return!1;var n,i=[],r=_createForOfIteratorHelper(this.fetchPolicyWithAllIncludedPolicies(e));try{for(r.s();!(n=r.n()).done;){var a=n.value;i=i.concat(a.perunRoles)}}catch(s){r.e(s)}finally{r.f()}var o=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(i,o)}},{key:"resolveAuthorization",value:function(e,t){var n,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){for(var r=n.value,a=!0,o=0,s=Object.keys(r);o=2&&(n=!0),function(i){return i.lift(new Ie(e,t,n))}}var Ie=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new qe(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),qe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return _createClass(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(Pe.L),Be=n(7727),He=n(436),Ye=n(8402);function je(e){return function(t){return 0===e?(0,Le.c)():t.lift(new Fe(e))}}var Fe=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Ye.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new We(e,this.total))}}]),e}(),We=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(r=t.call(this,e,i)).navigationTrigger=a,r.restoredState=o,r}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(nt),rt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(nt),at=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).reason=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(nt),ot=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).error=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(nt),st=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(nt),ct=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(nt),ut=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(nt),lt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(nt),ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(nt),dt=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),ft=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),pt=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),gt=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),mt=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),vt=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),_t=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),yt=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function bt(e){return new yt(e)}function At(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function wt(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function Lt(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function St(e){return(0,a.CqO)(e)?e:(0,a.QGY)(e)?(0,ve.D)(Promise.resolve(e)):(0,_e.of)(e)}var Et={exact:function e(t,n,i){if(!qt(t.segments,n.segments))return!1;if(!Dt(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:xt},zt={exact:function(e,t){return kt(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return Mt(e[n],t[n])})},ignored:function(){return!0}};function Ot(e,t,n){return Et[n.paths](e.root,t.root,n.matrixParams)&&zt[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function xt(e,t,n){return Rt(e,t,t.segments,n)}function Rt(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!qt(r,n)&&!t.hasChildren()&&!!Dt(r,n,i)}if(e.segments.length===n.length){if(!qt(e.segments,n))return!1;if(!Dt(e.segments,n,i))return!1;for(var a in t.children){if(!e.children[a])return!1;if(!xt(e.children[a],t.children[a],i))return!1}return!0}var o=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!qt(e.segments,o)&&!!Dt(e.segments,o,i)&&!!e.children.primary&&Rt(e.children.primary,t,s,i)}function Dt(e,t,n){return t.every(function(t,i){return zt[n](e[i].parameters,t.parameters)})}var Pt=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=bt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Yt.serialize(this)}}]),e}(),Nt=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,Lt(n,function(e,t){return e.parent=i})}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return jt(this)}}]),e}(),It=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=bt(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Xt(this)}}]),e}();function qt(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Bt=function e(){_classCallCheck(this,e)},Ht=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new en(e);return new Pt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"/".concat(Ft(e.root,!0)).concat((n=e.queryParams,i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return"".concat(Ut(e),"=").concat(Ut(t))}).join("&"):"".concat(Ut(e),"=").concat(Ut(t))}).filter(function(e){return!!e}),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Yt=new Ht;function jt(e){return e.segments.map(function(e){return Xt(e)}).join("/")}function Ft(e,t){if(!e.hasChildren())return jt(e);if(t){var n=e.children.primary?Ft(e.children.primary,!1):"",i=[];return Lt(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(Ft(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return Lt(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),Lt(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[Ft(e.children.primary,!1)]:["".concat(n,":").concat(Ft(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(jt(e),"/").concat(r[0]):"".concat(jt(e),"/(").concat(r.join("//"),")")}function Wt(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ut(e){return Wt(e).replace(/%3B/gi,";")}function Kt(e){return Wt(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zt(e){return decodeURIComponent(e)}function Gt(e){return Zt(e.replace(/\+/g,"%20"))}function Xt(e){return"".concat(Kt(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(Kt(e),"=").concat(Kt(t[e]))}).join("")));var t}var Vt=/^[^\/()?;=#]+/;function Jt(e){var t=e.match(Vt);return t?t[0]:""}var Qt=/^[^=?&#]+/,$t=/^[^?&#]+/,en=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Nt([],{}):new Nt([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Nt(e,t)),n}},{key:"parseSegment",value:function(){var e=Jt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new It(Zt(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Jt(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Jt(this.remaining);i&&(n=i,this.capture(n))}e[Zt(t)]=Zt(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Qt);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match($t);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Gt(t),a=Gt(n);if(e.hasOwnProperty(r)){var o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(a)}else e[r]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Jt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new Nt([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),tn=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=nn(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=nn(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=rn(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return rn(e,this._root).map(function(e){return e.value})}}]),e}();function nn(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=nn(e,n.value);if(r)return r}}catch(a){i.e(a)}finally{i.f()}return null}function rn(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=rn(e,n.value);if(r.length)return r.unshift(t),r}}catch(a){i.e(a)}finally{i.f()}return[]}var an=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function on(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var sn=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).snapshot=i,fn(_assertThisInitialized(r),e),r}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(tn);function cn(e,t){var n=function(e,t){var n=new hn([],{},{},"",{},"primary",t,null,e.root,-1,{});return new dn("",new an(n,[]))}(e,t),i=new Ae([new It("",{})]),r=new Ae({}),a=new Ae({}),o=new Ae({}),s=new Ae(""),c=new un(i,r,o,s,a,"primary",t,n.root);return c.snapshot=n.root,new sn(new an(c,[]),n)}var un=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,ze.U)(function(e){return bt(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ze.U)(function(e){return bt(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function ln(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var hn=function(){function e(t,n,i,r,a,o,s,c,u,l,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._urlSegment=u,this._lastPathIndex=l,this._resolve=h}return _createClass(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=bt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=bt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),dn=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,i)).url=e,fn(_assertThisInitialized(r),i),r}return _createClass(n,[{key:"toString",value:function(){return pn(this._root)}}]),n}(tn);function fn(e,t){t.value._routerState=e,t.children.forEach(function(t){return fn(e,t)})}function pn(e){var t=e.children.length>0?" { ".concat(e.children.map(pn).join(", ")," } "):"";return"".concat(e.value).concat(t)}function gn(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,kt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),kt(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&yn(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(bn);if(r&&r!==Tt(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Mn=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function Cn(e,t,n){if(e||(e=new Nt([],{})),0===e.segments.length&&e.hasChildren())return Tn(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=e.segments[r],s=n[i];if(bn(s))break;var c="".concat(s),u=i0&&void 0===c)break;if(c&&u&&"object"==typeof u&&void 0===u.outlets){if(!zn(c,u,o))return a;i+=2}else{if(!zn(c,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Un):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||wt)(n,e,t);if(!r)return Object.assign({},Un);var a={};Lt(r.posParams,function(e,t){a[t]=e.path});var o=r.consumed.length>0?Object.assign(Object.assign({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Zn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Gn(e,t,n)&&"primary"!==Fn(n)})}(e,n,i)){var a=new Nt(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var a,o=_createForOfIteratorHelper(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Fn(s)){var c=new Nt([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[Fn(s)]=c}}}catch(u){o.e(u)}finally{o.f()}return r}(e,t,i,new Nt(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Gn(e,t,n)})}(e,n,i)){var o=new Nt(e.segments,function(e,t,n,i,r,a){var o,s={},c=_createForOfIteratorHelper(i);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(Gn(e,n,u)&&!r[Fn(u)]){var l=new Nt([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===a?e.segments.length:t.length,s[Fn(u)]=l}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new Nt(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Gn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Xn(e,t,n,i){return!!(Fn(e)===i||"primary"!==i&&Gn(t,n,e))&&("**"===e.path||Kn(t,e,n).matched)}function Vn(e,t,n){return 0===t.length&&!e.children[n]}var Jn=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},Qn=function e(t){_classCallCheck(this,e),this.urlTree=t};function $n(e){return new ke.y(function(t){return t.error(new Jn(e))})}function ei(e){return new ke.y(function(t){return t.error(new Qn(e))})}function ti(e){return new ke.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var ni=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(a.h0i)}return _createClass(e,[{key:"apply",value:function(){var e=this,t=Zn(this.urlTree.root,[],[],this.config).segmentGroup,n=new Nt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe((0,ze.U)(function(t){return e.createUrlTree(ii(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe((0,Be.K)(function(t){if(t instanceof Qn)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Jn)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,ze.U)(function(n){return t.createUrlTree(ii(n),e.queryParams,e.fragment)})).pipe((0,Be.K)(function(e){if(e instanceof Jn)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Nt([],{primary:e}):e;return new Pt(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,ze.U)(function(e){return new Nt([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],a=0,o=Object.keys(n.children);a=2;return function(i){return i.pipe(e?(0,me.h)(function(t,n){return e(t,n,i)}):Ze.y,je(1),n?(0,Ke.d)(t):(0,Ue.T)(function(){return new Me.K}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,a){var o=this;return(0,ve.D)(n).pipe((0,He.b)(function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe((0,Be.K)(function(e){if(e instanceof Jn)return(0,_e.of)(null);throw e}))}),(0,Ge.P)(function(e){return!!e}),(0,Be.K)(function(e,n){if(e instanceof Me.K||"EmptyError"===e.name){if(Vn(t,i,r))return(0,_e.of)(new Nt([],{}));throw new Jn(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return Xn(i,t,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):$n(t):$n(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ei(a):this.lineralizeSegments(n,a).pipe((0,Xe.zg)(function(n){var a=new Nt(n,{});return r.expandSegment(e,a,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=Kn(t,i,r),c=s.matched,u=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!c)return $n(t);var d=this.applyRedirectCommands(u,i.redirectTo,h);return i.redirectTo.startsWith("/")?ei(d):this.lineralizeSegments(i,d).pipe((0,Xe.zg)(function(i){return o.expandSegment(e,t,n,i.concat(r.slice(l)),a,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var a=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,_e.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,ze.U)(function(e){return n._loadedConfig=e,new Nt(i,{})})):(0,_e.of)(new Nt(i,{}));var o=Kn(t,n,i),s=o.matched,c=o.consumedSegments,u=o.lastChild;if(!s)return $n(t);var l=i.slice(u);return this.getChildConfig(e,n,i).pipe((0,Xe.zg)(function(e){var i=e.module,o=e.routes,s=Zn(t,c,l,o),u=s.segmentGroup,h=s.slicedSegments,d=new Nt(u.segments,u.children);if(0===h.length&&d.hasChildren())return a.expandChildren(i,o,d).pipe((0,ze.U)(function(e){return new Nt(c,e)}));if(0===o.length&&0===h.length)return(0,_e.of)(new Nt(c,{}));var f=Fn(n)===r;return a.expandSegment(i,d,o,h,f?"primary":r,!0).pipe((0,ze.U)(function(e){return new Nt(c.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?(0,_e.of)(new Rn(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,_e.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,Xe.zg)(function(n){return n?i.configLoader.load(e.injector,t).pipe((0,ze.U)(function(e){return t._loadedConfig=e,e})):function(e){return new ke.y(function(t){return t.error(At("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,_e.of)(new Rn([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return(0,_e.of)(!0);var a=r.map(function(i){var r,a=e.get(i);if(function(e){return e&&Dn(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!Dn(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return St(r)});return(0,_e.of)(a).pipe(In(),(0,Ve.b)(function(e){if(Pn(e)){var t=At('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,ze.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,_e.of)(n);if(i.numberOfChildren>1||!i.children.primary)return ti(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Pt(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Lt(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return Lt(t.children,function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)}),new Nt(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.path===e.path)return t.splice(i),a;i++}}catch(o){r.e(o)}finally{r.f()}return e}}]),e}();function ii(e){for(var t={},n=0,i=Object.keys(e.children);n0||a.hasChildren())&&(t[r]=a)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Nt(e.segments.concat(t.segments),t.children)}return e}(new Nt(e.segments,t))}var ri=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},ai=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function oi(e,t,n){var i=e._root;return ci(i,t?t._root:null,n,[i.value])}function si(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function ci(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=on(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!qt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!qt(e.url,t.url)||!kt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!mn(e,t)||!kt(e.queryParams,t.queryParams);case"paramsChange":default:return!mn(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new ri(i)):(a.data=o.data,a._resolvedData=o._resolvedData),ci(e,t,a.component?s?s.children:null:n,i,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new ai(s.outlet.component,o))}else o&&ui(t,s,r),r.canActivateChecks.push(new ri(i)),ci(e,null,a.component?s?s.children:null:n,i,r)}(e,a[e.value.outlet],n,i.concat([e.value]),r),delete a[e.value.outlet]}),Lt(a,function(e,t){return ui(e,n.getContext(t),r)}),r}function ui(e,t,n){var i=on(e),r=e.value;Lt(i,function(e,i){ui(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new ai(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var li=function e(){_classCallCheck(this,e)};function hi(e){return new ke.y(function(t){return t.error(e)})}var di=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return _createClass(e,[{key:"recognize",value:function(){var e=Zn(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new hn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new an(n,t),r=new dn(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=ln(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i0?Tt(n).parameters:{};r=new hn(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mi(e),Fn(e),e.component,e,pi(t),gi(t)+n.length,vi(e))}else{var c=Kn(t,e,n);if(!c.matched)return null;a=c.consumedSegments,o=n.slice(c.lastChild),r=new hn(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mi(e),Fn(e),e.component,e,pi(t),gi(t)+a.length,vi(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=Zn(t,a,o,u.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return null===f?null:[new an(r,f)]}if(0===u.length&&0===d.length)return[new an(r,[])];var p=Fn(e)===i,g=this.processSegment(u,h,d,p?"primary":i);return null===g?null:[new an(r,g)]}}]),e}();function fi(e){var t,n=[],i=new Set,r=_createForOfIteratorHelper(e);try{var a=function(){var e,r=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(r))return n.push(r),"continue";var a=n.find(function(e){return r.value.routeConfig===e.value.routeConfig});void 0!==a?((e=a.children).push.apply(e,_toConsumableArray(r.children)),i.add(a)):n.push(r)};for(r.s();!(t=r.n()).done;)a()}catch(l){r.e(l)}finally{r.f()}var o,s=_createForOfIteratorHelper(i);try{for(s.s();!(o=s.n()).done;){var c=o.value,u=fi(c.children);n.push(new an(c.value,u))}}catch(l){s.e(l)}finally{s.f()}return n.filter(function(e){return!i.has(e)})}function pi(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function gi(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function mi(e){return e.data||{}}function vi(e){return e.resolve||{}}function _i(e){return(0,Oe.w)(function(t){var n=e(t);return n?(0,ve.D)(n).pipe((0,ze.U)(function(){return t})):(0,_e.of)(t)})}var yi=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),bi=new a.OlP("ROUTES"),Ai=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe((0,ze.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new Rn(Ct(r.injector.get(bi,void 0,a.XFs.Self|a.XFs.Optional)).map(jn),r)}),(0,Be.K)(function(e){throw t._loader$=void 0,e}));return t._loader$=new Ee.c(i,function(){return new ye.xQ}).pipe((0,Je.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,ve.D)(this.loader.load(e)):St(e()).pipe((0,Xe.zg)(function(e){return e instanceof a.YKP?(0,_e.of)(e):(0,ve.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),wi=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new ki,this.attachRef=null},ki=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new wi,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Mi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Ci(e){throw e}function Ti(e,t,n){return t.parse("/")}function Li(e,t){return(0,_e.of)(null)}var Si={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ei={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},zi=function(){var e=function(){function e(t,n,i,r,o,s,c,u){var l=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ye.xQ,this.errorHandler=Ci,this.malformedUriErrorHandler=Ti,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Li,afterPreactivation:Li},this.urlHandlingStrategy=new Mi,this.routeReuseStrategy=new yi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(a.h0i),this.console=o.get(a.c2e);var h=o.get(a.R0b);this.isNgZoneEnabled=h instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new Pt(new Nt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ai(s,c,function(e){return l.triggerEvent(new dt(e))},function(e){return l.triggerEvent(new ft(e))}),this.routerState=cn(this.currentUrlTree,this.rootComponentType),this.transitions=new Ae({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()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,me.h)(function(e){return 0!==e.id}),(0,ze.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,Oe.w)(function(e){var i,r,a,o=!1,s=!1;return(0,_e.of)(e).pipe((0,Ve.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Oe.w)(function(e){var i,r,a,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,_e.of)(e).pipe((0,Oe.w)(function(e){var i=t.transitions.getValue();return n.next(new it(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?Le.E:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,o=t.config,(0,Oe.w)(function(e){return function(e,t,n,i,r){return new ni(e,t,n,i,r).apply()}(i,r,a,e.extractedUrl,o).pipe((0,ze.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,Ve.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,a){return(0,Xe.zg)(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var o=new di(e,t,n,i,r,a).recognize();return null===o?hi(new li):(0,_e.of)(o)}catch(s){return hi(s)}}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe((0,ze.U)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var o})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,Ve.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new st(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,u=e.extractedUrl,l=e.source,h=e.restoredState,d=e.extras,f=new it(c,t.serializeUrl(u),l,h);n.next(f);var p=cn(u,t.rootComponentType).snapshot;return(0,_e.of)(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:u,extras:Object.assign(Object.assign({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Le.E}),_i(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})}),(0,Ve.b)(function(e){var n=new ct(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,ze.U)(function(e){return Object.assign(Object.assign({},e),{guards:oi(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,Xe.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?(0,_e.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,ve.D)(e).pipe((0,Xe.zg)(function(e){return function(e,t,n,i,r){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,_e.of)(!0);var o=a.map(function(a){var o,s=si(a,t,r);if(function(e){return e&&Dn(e.canDeactivate)}(s))o=St(s.canDeactivate(e,t,n,i));else{if(!Dn(s))throw new Error("Invalid CanDeactivate guard");o=St(s(e,t,n,i))}return o.pipe((0,Ge.P)())});return(0,_e.of)(o).pipe(In())}(e.component,e.route,n,t,i)}),(0,Ge.P)(function(e){return!0!==e},!0))}(s,i,r,e).pipe((0,Xe.zg)(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return(0,ve.D)(t).pipe((0,He.b)(function(t){return Te(function(e,t){return null!==e&&t&&t(new pt(e)),(0,_e.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new mt(e)),(0,_e.of)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return Se(function(){var r=t.guards.map(function(r){var a,o=si(r,t.node,n);if(function(e){return e&&Dn(e.canActivateChild)}(o))a=St(o.canActivateChild(i,e));else{if(!Dn(o))throw new Error("Invalid CanActivateChild guard");a=St(o(i,e))}return a.pipe((0,Ge.P)())});return(0,_e.of)(r).pipe(In())})});return(0,_e.of)(r).pipe(In())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,_e.of)(!0);var r=i.map(function(i){return Se(function(){var r,a=si(i,t,n);if(function(e){return e&&Dn(e.canActivate)}(a))r=St(a.canActivate(t,e));else{if(!Dn(a))throw new Error("Invalid CanActivate guard");r=St(a(t,e))}return r.pipe((0,Ge.P)())})});return(0,_e.of)(r).pipe(In())}(e,t.route,n))}),(0,Ge.P)(function(e){return!0!==e},!0))}(i,o,e,t):(0,_e.of)(n)}),(0,ze.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,Ve.b)(function(e){if(Pn(e.guardsResult)){var n=At('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new ut(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),(0,me.h)(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),_i(function(e){if(e.guards.canActivateChecks.length)return(0,_e.of)(e).pipe((0,Ve.b)(function(e){var n=new lt(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,Oe.w)(function(e){var n,i,r=!1;return(0,_e.of)(e).pipe((n=t.paramsInheritanceStrategy,i=t.ngModule.injector,(0,Xe.zg)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return(0,_e.of)(e);var a=0;return(0,ve.D)(r).pipe((0,He.b)(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return(0,_e.of)({});var a={};return(0,ve.D)(r).pipe((0,Xe.zg)(function(r){return function(e,t,n,i){var r=si(e,t,i);return St(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,Ve.b)(function(e){a[r]=e}))}),je(1),(0,Xe.zg)(function(){return Object.keys(a).length===r.length?(0,_e.of)(a):Le.E}))}(e._resolve,e,t,i).pipe((0,ze.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),ln(e,n).resolve),null}))}(e.route,t,n,i)}),(0,Ve.b)(function(){return a++}),je(1),(0,Xe.zg)(function(t){return a===r.length?(0,_e.of)(e):Le.E}))})),(0,Ve.b)({next:function(){return r=!0},complete:function(){r||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),(0,Ve.b)(function(e){var n=new ht(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),_i(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})}),(0,ze.U)(function(e){var n=function(e,t,n){var i=vn(e,t._root,n?n._root:void 0);return new sn(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),(0,Ve.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},(0,ze.U)(function(e){return new On(r,e.targetRouterState,e.currentRouterState,a).activate(i),e})),(0,Ve.b)({next:function(){o=!0},complete:function(){o=!0}}),$e(function(){o||s||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null}),(0,Be.K)(function(i){if(s=!0,(c=i)&&c.ngNavigationCancelingError){var r=Pn(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var a=new at(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(a),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new ot(e.id,t.serializeUrl(e.extractedUrl),i);n.next(o);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var c;return Le.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,a={replaceUrl:!0};if(i){var o=Object.assign({},i);delete o.navigationId,delete o.\u0275routerPageId,0!==Object.keys(o).length&&(a.state=o)}e.scheduleNavigation(r,t,i,a)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Bn(e),this.config=e.map(jn),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,a=t.queryParamsHandling,o=t.preserveFragment,s=n||this.routerState.root,c=o?this.currentUrlTree.fragment:r,u=null;switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,i,r){if(0===n.length)return An(t.root,t.root,t,i,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new kn(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return Lt(i.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),[].concat(_toConsumableArray(e),[{outlets:a}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(_toConsumableArray(e),[i])},[]);return new kn(n,t,i)}(n);if(a.toRoot())return An(t.root,new Nt([],{}),t,i,r);var o=function(e,t,n){if(e.isAbsolute)return new Mn(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new Mn(i,i===t.root,0)}var r=yn(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Mn(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),s=o.processChildren?Tn(o.segmentGroup,o.index,a.commands):Cn(o.segmentGroup,o.index,a.commands);return An(o.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,u,null!=c?c:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Pn(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(i,"imperative",r,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof it?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof rt&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof _t&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new _t(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(zi),a.LFG(r.EM),a.LFG(void 0))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),Yi=new a.OlP("ROUTER_CONFIGURATION"),ji=new a.OlP("ROUTER_FORROOT_GUARD"),Fi=[r.Ye,{provide:Bt,useClass:Ht},{provide:zi,useFactory:function(e,t,n,i,r,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,l=new zi(null,e,t,n,i,r,a,Ct(o));return c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[Bt,ki,r.Ye,a.zs3,a.v3s,a.Sil,bi,Yi,[function(){return function e(){_classCallCheck(this,e)}}(),new a.FiY],[function(){return function e(){_classCallCheck(this,e)}}(),new a.FiY]]},ki,{provide:un,useFactory:function(e){return e.routerState.root},deps:[zi]},{provide:a.v3s,useClass:a.EAV},Bi,qi,Ii,{provide:Yi,useValue:{enableTracing:!1}}];function Wi(){return new a.PXZ("Router",zi)}var Ui,Ki=((Ui=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Fi,Vi(t),{provide:ji,useFactory:Xi,deps:[[zi,new a.FiY,new a.tp0]]},{provide:Yi,useValue:n||{}},{provide:r.S$,useFactory:Gi,deps:[r.lw,[new a.tBr(r.mr),new a.FiY],Yi]},{provide:Hi,useFactory:Zi,deps:[zi,r.EM,Yi]},{provide:Ni,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:qi},{provide:a.PXZ,multi:!0,useFactory:Wi},[Ji,{provide:a.ip1,multi:!0,useFactory:Qi,deps:[Ji]},{provide:er,useFactory:$i,deps:[Ji]},{provide:a.tb,multi:!0,useExisting:er}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Vi(t)]}}}]),e}()).\u0275fac=function(e){return new(e||Ui)(a.LFG(ji,8),a.LFG(zi,8))},Ui.\u0275mod=a.oAB({type:Ui}),Ui.\u0275inj=a.cJS({}),Ui);function Zi(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Hi(e,t,n)}function Gi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new r.Do(e,t):new r.b0(e,t)}function Xi(e){return"guarded"}function Vi(e){return[{provide:a.deG,multi:!0,useValue:e},{provide:bi,multi:!0,useValue:e}]}var Ji=function(){var e=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new ye.xQ}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(r.V_,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(zi),r=e.injector.get(Yi);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?(0,_e.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Yi),n=this.injector.get(Bi),i=this.injector.get(Hi),r=this.injector.get(zi),o=this.injector.get(a.z2F);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.zs3))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}();function Qi(e){return e.appInitializer.bind(e)}function $i(e){return e.bootstrapListener.bind(e)}var er=new a.OlP("Router Initializer");function tr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0;return or(e)?Number(e):t}function or(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function sr(e){return Array.isArray(e)?e:[e]}function cr(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function ur(e){return e instanceof a.SBq?e.nativeElement:e}try{nr="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(sE){nr=!1}var lr,hr,dr,fr,pr,gr=function(){var e=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,r.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&&!nr)&&"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 e.\u0275fac=function(t){return new(t||e)(a.LFG(a.Lbi))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.Lbi))},token:e,providedIn:"root"}),e}(),mr=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),vr=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _r(){if(lr)return lr;if("object"!=typeof document||!document)return lr=new Set(vr);var e=document.createElement("input");return lr=new Set(vr.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function yr(e){return function(){if(null==hr&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return hr=!0}}))}finally{hr=hr||!1}return hr}()?e:!!e.capture}function br(){if(null==fr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fr=!1;if("scrollBehavior"in document.documentElement.style)fr=!0;else{var e=Element.prototype.scrollTo;fr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return fr}function Ar(){if("object"!=typeof document||!document)return 0;if(null==dr){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),dr=0,0===e.scrollLeft&&(e.scrollLeft=1,dr=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return dr}function wr(e){if(function(){if(null==pr){var e="undefined"!=typeof document?document.head:null;pr=!(!e||!e.createShadowRoot&&!e.attachShadow)}return pr}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function kr(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}var Mr=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Cr=function(){var e=function(){function e(t){_classCallCheck(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=ur(e);return new ke.y(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new ye.xQ,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(Mr))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Mr))},token:e,providedIn:"root"}),e}(),Tr=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new a.vpe,this._disabled=!1,this._currentSubscription=null}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=rr(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=ar(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe((0,ir.b)(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Cr),a.Y36(a.SBq),a.Y36(a.R0b))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),Lr=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[Mr]}),e}();function Sr(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var Er=0,zr=new Map,Or=null,xr=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=Rr(t,n);"string"!=typeof t?(Dr(t),zr.set(i,{messageElement:t,referenceCount:0})):zr.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=Rr(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=zr.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}Or&&0===Or.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Ve.b)(function(t){return e._pressedLetters.push(t)}),(0,ir.b)(t),(0,me.h)(function(){return e._pressedLetters.length>0}),(0,ze.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||tr(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof a.n_E?this._items.toArray():this._items}}]),e}(),Nr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(Pr),Ir=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._origin="program",e}return _createClass(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(Pr),qr=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(sE){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===Hr(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=Hr(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Br(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(gr))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(gr))},token:e,providedIn:"root"}),e}();function Br(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Hr(e){if(!Br(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Yr=function(){function e(t,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return _createClass(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(e)}}]),e}(),jr=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Yr(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(qr),a.LFG(a.R0b),a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(qr),a.LFG(a.R0b),a.LFG(r.K0))},token:e,providedIn:"root"}),e}();"undefined"!=typeof Element&∈var Fr=new a.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Wr=new a.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ur=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,a=this._defaultOptions,o=arguments.length,s=new Array(o>1?o-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1],n=ur(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,_e.of)(null);var i=wr(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new ye.xQ,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=ur(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=ur(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=_slicedToArray(e,2),r=n[0],a=n[1];return i._originChanged(r,t,a)}):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=Jr(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===Jr(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,Xr),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,Xr)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,Xr),e.addEventListener("mousedown",t._documentMousedownListener,Xr),e.addEventListener("touchstart",t._documentTouchstartListener,Xr),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Xr),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Xr),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,Xr),i.removeEventListener("mousedown",this._documentMousedownListener,Xr),i.removeEventListener("touchstart",this._documentTouchstartListener,Xr),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(gr),a.LFG(r.K0,8),a.LFG(Gr,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.R0b),a.LFG(gr),a.LFG(r.K0,8),a.LFG(Gr,8))},token:e,providedIn:"root"}),e}();function Jr(e){return e.composedPath?e.composedPath()[0]:e.target}var Qr=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(gr),a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(gr),a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),$r=function(){var e=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(a.LFG(Qr))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[mr,Lr]]}),e}(),ea=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,a.f3M)(r.K0)}}),ta=function(){var e=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new a.vpe,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(ea,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(ea,8))},token:e,providedIn:"root"}),e}(),na=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),ia=new a.GfV("12.0.5"),ra=function e(){_classCallCheck(this,e)};function aa(e,t){return{type:7,name:e,definitions:t,options:{}}}function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function sa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function ca(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function ua(e){return{type:6,styles:e,offset:null}}function la(e,t,n){return{type:0,name:e,styles:t,options:n}}function ha(e){return{type:5,steps:e}}function da(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function fa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function pa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function ga(e){Promise.resolve(null).then(e)}var ma=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;ga(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),va=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,a=0,o=this.players.length;0==o?ga(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==o&&n._onFinish()}),e.onDestroy(function(){++r==o&&n._onDestroy()}),e.onStart(function(){++a==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}();function _a(){return"undefined"!=typeof window&&void 0!==window.document}function ya(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ba(e){switch(e.length){case 0:return new ma;case 1:return e[0];default:return new va(e)}}function Aa(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],c=-1,u=null;if(i.forEach(function(e){var n=e.offset,i=n==c,l=i&&u||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,o),s){case"!":s=r[n];break;case"*":s=a[n];break;default:s=t.normalizeStyleValue(n,i,s,o)}l[i]=s}),i||s.push(l),u=l,c=n}),o.length){var l="\n - ";throw new Error("Unable to animate due to the following errors:".concat(l).concat(o.join(l)))}return s}function wa(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&ka(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&ka(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&ka(n,"destroy",e))})}}function ka(e,t,n){var i=n.totalTime,r=Ma(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),a=e._data;return null!=a&&(r._data=a),r}function Ma(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function Ca(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function Ta(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var La=function(e,t){return!1},Sa=function(e,t){return!1},Ea=function(e,t,n){return[]},za=ya();(za||"undefined"!=typeof Element)&&(La=_a()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},Sa=function(){if(za||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Sa}(),Ea=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Wa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else Fa(e,n);return n}function Ua(e,t,n){return n?t+":"+n+";":""}function Ka(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=r[1],o=r[2],s=r[3];t.push(co(a,s)),"<"!=o[0]||"*"==a&&"*"==s||t.push(co(s,a))}(e,r,i)}):r.push(n),r),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:go(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return ro(n,e,t)}),options:go(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,a=e.steps.map(function(e){t.currentTime=i;var a=ro(n,e,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:a,options:go(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return mo(ja(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=mo(0,0,"");return r.dynamic=!0,r.strValue=i,r}return mo((n=n||ja(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:ua({});if(5==r.type)n=this.visitKeyframes(r,t);else{var a=e.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=ua(s)}t.currentTime+=i.duration+i.delay;var c=this.visitStyle(a,t);c.isEmptyStep=o,n=c}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(po(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var a in t)if(t[a].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var o,s,c,u,l,h=t.collectedStyles[t.currentQuerySelector],d=h[i],f=!0;d&&(a!=r&&a>=d.startTime&&r<=d.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),f=!1),a=d.startTime),f&&(h[i]={startTime:a,endTime:r}),t.options&&(o=e[i],s=t.options,c=t.errors,u=s.params||{},(l=Ja(o)).length&&l.forEach(function(e){u.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,c=0,u=e.steps.map(function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(po(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(po(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),l=0;return null!=u&&(r++,l=i.offset=u),s=s||l<0||l>1,o=o||l0&&r0?r==d?1:h*r:a[r],s=o*g;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:ro(this,Xa(e.animation),t),options:go(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:go(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:go(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(uo,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=r[0],o=r[1];t.currentQuerySelector=n.length?n+" "+a:a,Ca(t.collectedStyles,t.currentQuerySelector,{});var s=ro(this,Xa(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:go(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:ja(e.timings,t.errors,!0);return{type:12,animation:ro(this,Xa(e.animation),t),timings:n,options:null}}}]),e}(),fo=function e(t){_classCallCheck(this,e),this.errors=t,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 po(e){return!Array.isArray(e)&&"object"==typeof e}function go(e){var t;return e?(e=Fa(e)).params&&(e.params=(t=e.params)?Fa(t):null):e={},e}function mo(e,t,n){return{duration:e,delay:t,easing:n}}function vo(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var _o=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),yo=new RegExp(":enter","g"),bo=new RegExp(":leave","g");function Ao(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new wo).buildKeyframes(e,t,n,i,r,a,o,s,c,u)}var wo=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,a,o,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new _o;var l=new Mo(e,t,c,i,r,u,[]);l.options=s,l.currentTimeline.setStyles([a],null,l.errors,s),ro(this,n,l);var h=l.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(o).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([o],null,l.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[vo(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?Ha(n.duration):null,a=null!=n.delay?Ha(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,a);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),ro(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,a=e.options;if(a&&(a.params||a.delay)&&((r=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ko);var o=Ha(a.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(function(e){return ro(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,a=e.options&&e.options.delay?Ha(e.options.delay):0;e.steps.forEach(function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),ro(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return ja(t.params?Qa(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(function(e){a.forwardTime((e.offset||0)*r),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?Ha(r.delay):0;a&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ko);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);a&&s.delayNextStep(a),i===t.element&&(c=s.currentTimeline),ro(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;ro(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ko={},Mo=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ko,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Co(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=Ha(i.duration)),null!=i.delay&&(r.delay=Ha(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(function(e){t&&o.hasOwnProperty(e)||(o[e]=Qa(a[e],o,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ko,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new To(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,a){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(yo,"."+this._enterClassName)).replace(bo,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,_toConsumableArray(s))}return r||0!=o.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}}]),e}(),Co=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},o=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]="*"}):Wa(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(o).forEach(function(e){var t=Qa(o[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:"*"),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,o){var s=Wa(a,!0);Object.keys(s).forEach(function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)}),i||(s.offset=o/e.duration),r.push(s)});var a=t.size?$a(t.values()):[],o=n.size?$a(n.values()):[];if(i){var s=r[0],c=Fa(s);s.offset=0,c.offset=1,r=[s,c]}return vo(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}]),e}(),To=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(c=t.call(this,e,i,s.delay)).element=i,c.keyframes=r,c.preStyleProps=a,c.postStyleProps=o,c._stretchStartingKeyframe=u,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,c=Wa(e[0],!1);c.offset=0,a.push(c);var u=Wa(e[0],!1);u.offset=Lo(s),a.push(u);for(var l=e.length-1,h=1;h<=l;h++){var d=Wa(e[h],!1);d.offset=Lo((n+d.offset*i)/o),a.push(d)}i=o,n=0,r="",e=a}return vo(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(Co);function Lo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var So,Eo,zo=function e(){_classCallCheck(this,e)},Oo=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return to(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",a=n.toString().trim();if(xo[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return a+r}}]),n}(zo),xo=(So="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(","),Eo={},So.forEach(function(e){return Eo[e]=!0}),Eo);function Ro(e,t,n,i,r,a,o,s,c,u,l,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}var Do={},Po=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],a=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):a}},{key:"build",value:function(e,t,n,i,r,a,o,s,c,u){var l=[],h=this.ast.options&&this.ast.options.params||Do,d=this.buildStyles(n,o&&o.params||Do,l),f=s&&s.params||Do,p=this.buildStyles(i,f,l),g=new Set,m=new Map,v=new Map,_="void"===i,y={params:Object.assign(Object.assign({},h),f)},b=u?[]:Ao(e,t,this.ast.animation,r,a,d,p,y,c,l),A=0;if(b.forEach(function(e){A=Math.max(e.duration+e.delay,A)}),l.length)return Ro(t,this._triggerName,n,i,_,d,p,[],[],m,v,A,l);b.forEach(function(e){var n=e.element,i=Ca(m,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=Ca(v,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var w=$a(g.values());return Ro(t,this._triggerName,n,i,_,d,p,b,w,m,v,A)}}]),e}(),No=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},i=Fa(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var a=r[e];a.length>1&&(a=Qa(a,i,t)),n[e]=a})}}),n}}]),e}(),Io=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new No(e.style,e.options&&e.options.params||{})}),qo(this.states,"true","1"),qo(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new Po(t,e,i.states))}),this.fallbackTransition=new Po(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function qo(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Bo=new _o,Ho=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=lo(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=Aa(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[e],s=new Map;if(o?(n=Ao(this._driver,t,o,"ng-enter","ng-leave",{},{},r,Bo,a)).forEach(function(e){var t=Ca(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,"*")})});var c=ba(n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return i.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=Ma(t,"","","");return wa(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Yo=[],jo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var a=Fa(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Uo=new Wo("void"),Ko=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,$o(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=Ca(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var c=Ca(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||($o(e,"ng-trigger"),$o(e,"ng-trigger-"+t),c[t]=Uo),function(){a._engine.afterFlush(function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete c[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(t),o=new Go(this.id,t,e),s=this._engine.statesByElement.get(e);s||($o(e,"ng-trigger"),$o(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],u=new Wo(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[t]=u,c||(c=Uo),"void"===u.value||c.value!==u.value){var l=Ca(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=a.matchTransition(c.value,u.value,e,u.params),d=!1;if(!h){if(!r)return;h=a.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:u,player:o,isFallbackTransition:d}),d||($o(e,"ng-animate-queued"),o.onStart(function(){es(e,"ng-animate-queued")})),o.onDone(function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}}),this.players.push(o),l.push(o),o}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),$o(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),es(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Xo(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Xo(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return ba(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=jo,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(function(e){var t=e.player,a=e.element;if(M.push(t),n.collectedEnterElements.length){var l=a.__ng_removed;if(l&&l.setForMove)return void t.destroy()}var d=!h||!n.driver.containsElement(h,a),f=w.get(a),g=p.get(a),m=n._buildInstruction(e,i,g,f,d);if(m.errors&&m.errors.length)C.push(m);else{if(d)return t.onStart(function(){return Ga(a,m.fromStyles)}),t.onDestroy(function(){return Za(a,m.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return Ga(a,m.fromStyles)}),t.onDestroy(function(){return Za(a,m.toStyles)}),void r.push(t);m.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(a,m.timelines),o.push({instruction:m,player:t,element:a}),m.queriedElements.forEach(function(e){return Ca(s,e,[]).push(t)}),m.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),m.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=u.get(t);i||u.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(C.length){var L=[];C.forEach(function(e){L.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return L.push("- ".concat(e,"\n"))})}),M.forEach(function(e){return e.destroy()}),this.reportError(L)}var S=new Map,E=new Map;o.forEach(function(e){var t=e.element;i.has(t)&&(E.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){Ca(S,t,[]).push(e),e.destroy()})});var z=m.filter(function(e){return is(e,c,u)}),O=new Map;Jo(O,this.driver,_,u,"*").forEach(function(e){is(e,c,u)&&z.push(e)});var x=new Map;f.forEach(function(e,t){Jo(x,n.driver,new Set(e),c,"!")}),z.forEach(function(e){var t=O.get(e),n=x.get(e);O.set(e,Object.assign(Object.assign({},t),n))});var R=[],D=[],P={};o.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(l.has(t))return o.onDestroy(function(){return Za(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var c=P;if(E.size>1){for(var u=t,h=[];u=u.parentNode;){var d=E.get(u);if(d){c=d;break}h.push(u)}h.forEach(function(e){return E.set(e,c)})}var f=n._buildAnimation(o.namespaceId,s,S,a,x,O);if(o.setRealPlayer(f),c===P)R.push(o);else{var p=n.playersByElement.get(c);p&&p.length&&(o.parentPlayer=ba(p)),r.push(o)}}else Ga(t,s.fromStyles),o.onDestroy(function(){return Za(t,s.toStyles)}),D.push(o),l.has(t)&&r.push(o)}),D.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=ba(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var N=0;N0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new ma(e.duration,e.delay)}}]),e}(),Go=function(){function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new ma,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return wa(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){Ca(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Xo(e){return e&&1===e.nodeType}function Vo(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Jo(e,t,n,i,r){var a=[];n.forEach(function(e){return a.push(Vo(e))});var o=[];i.forEach(function(n,i){var a={};n.forEach(function(e){var n=a[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Fo,o.push(i))}),e.set(i,a)});var s=0;return n.forEach(function(e){return Vo(e,a[s++])}),o}function Qo(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function a(e){if(!e)return 1;var t=r.get(e);if(t)return t;var o=e.parentNode;return t=n.has(o)?o:i.has(o)?1:a(o),r.set(e,t),t}return t.forEach(function(e){var t=a(e);1!==t&&n.get(t).push(e)}),n}function $o(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function es(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function ts(e,t,n){ba(n).onDone(function(){return e.processLeaveNode(t)})}function ns(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function as(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=ss(t[0]),t.length>1&&(i=ss(t[t.length-1]))):t&&(n=ss(t)),n||i?new os(e,n,i):null}var os=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Za(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Za(this._element,this._initialStyles),this._endStyles&&(Za(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ga(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ga(this._element,this._endStyles),this._endStyles=null),Za(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function ss(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),fs(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=gs(e,"").split(","),(i=ds(n,t))>=0&&(n.splice(i,1),ps(e,"",n.join(","))))}}]),e}();function ls(e,t,n){ps(e,"PlayState",n,hs(e,t))}function hs(e,t){var n=gs(e,"");return n.indexOf(",")>0?ds(n.split(","),t):ds([n],t)}function ds(e,t){for(var n=0;n=0)return n;return-1}function fs(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function ps(e,t,n,i){var r="animation"+t;if(null!=i){var a=e.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}e.style[r]=n}function gs(e,t){return e.style["animation"+t]||""}var ms=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new us(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:ao(e.element,i))})}this.currentSnapshot=t}}]),e}(),vs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=Ia(i),r}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(ma),_s=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return Ra(e)}},{key:"matchesElement",value:function(e,t){return Da(e,t)}},{key:"containsElement",value:function(e,t){return Pa(e,t)}},{key:"query",value:function(e,t,n){return Na(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return Ia(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var a=document.createElement("style");return a.textContent=i,a}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=a.filter(function(e){return e instanceof ms}),s={};no(n,i)&&o.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var c=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=io(e,t,s));if(0==n)return new vs(e,c);var u="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(e,u,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(l);var h=as(e,t),d=new ms(e,t,u,n,i,r,c,h);return d.onDestroy(function(){var e;(e=l).parentNode.removeChild(e)}),d}}]),e}(),ys=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ao(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),bs=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(As().toString()),this._cssKeyframesDriver=new _s}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return Ra(e)}},{key:"matchesElement",value:function(e,t){return Da(e,t)}},{key:"containsElement",value:function(e,t){return Pa(e,t)}},{key:"query",value:function(e,t,n){return Na(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,a);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var c={},u=a.filter(function(e){return e instanceof ys});no(n,i)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return c[e]=t[e]})});var l=as(e,t=io(e,t=t.map(function(e){return Wa(e,!1)}),c));return new ys(e,t,s,l)}}]),e}();function As(){return _a()&&Element.prototype.animate||{}}var ws=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(i.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}}),r}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?ca(e):e;return Cs(this._renderer,null,t,"register",[n]),new ks(t,this._renderer)}}]),n}(ra);return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.FYo),a.LFG(r.K0))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),ks=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return _createClass(n,[{key:"create",value:function(e,t){return new Ms(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),Ms=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Ss=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,i,r,a)).factory=e,o.namespaceId=i,o}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,r,a=this;if("@"==t.charAt(0)){var o,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),u="";return"@"!=c.charAt(0)&&(r=(i=c).indexOf("."),c=(o=_slicedToArray([i.substring(0,r),i.substr(r+1)],2))[0],u=o[1]),this.engine.listen(this.namespaceId,s,c,u,function(e){a.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Ls),Es=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){return _classCallCheck(this,n),t.call(this,e.body,i,r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(rs);return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0),a.LFG(Ba),a.LFG(zo))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),zs=new a.OlP("AnimationModuleType"),Os=[{provide:ra,useClass:ws},{provide:zo,useFactory:function(){return new Oo}},{provide:rs,useClass:Es},{provide:a.FYo,useFactory:function(e,t,n){return new Ts(e,t,n)},deps:[w,rs,a.R0b]}],xs=[{provide:Ba,useFactory:function(){return"function"==typeof As()?new bs:new _s}},{provide:zs,useValue:"BrowserAnimations"}].concat(Os),Rs=[{provide:Ba,useClass:qa},{provide:zs,useValue:"NoopAnimations"}].concat(Os),Ds=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Rs:xs}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:xs,imports:[I]}),e}();function Ps(e,t){if(1&e&&a._UZ(0,"mat-pseudo-checkbox",4),2&e){var n=a.oxw();a.Q6J("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function Ns(e,t){if(1&e&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.hij("(",n.group.label,")")}}var Is=["*"],qs=function(){var e=function e(){_classCallCheck(this,e)};return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),Bs=function(){var e=function e(){_classCallCheck(this,e)};return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),Hs=new a.GfV("12.0.5"),Ys=new a.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),js=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return(0,a.X6Q)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Hs.full!==ia.full&&console.warn("The Angular Material version ("+Hs.full+") does not match the Angular CDK version ("+ia.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(Qr),a.LFG(Ys,8),a.LFG(r.K0))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[na],na]}),e}();function Fs(e){return function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;_classCallCheck(this,n);for(var i=arguments.length,r=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return function(e){_inherits(i,e);var n=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var r=arguments.length,a=new Array(r),o=0;o0?n:e}}]),e}(),Qs=new a.OlP("mat-date-formats");try{Xs="undefined"!=typeof Intl}catch(sE){Xs=!1}var $s={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},ec=ic(31,function(e){return String(e+1)}),tc={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},nc=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ic(e,t){for(var n=Array(e),i=0;i9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(nc.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return _get(_getPrototypeOf(n.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date;return i.setFullYear(e,t,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date;return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(n)}}]),n}(Js);return e.\u0275fac=function(t){return new(t||e)(a.LFG(Vs,8),a.LFG(gr))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),ac=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),oc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function sc(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var cc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js],js]}),e}(),uc=function(){function e(t,n,i){_classCallCheck(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return _createClass(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),lc={enterDuration:450,exitDuration:400},hc=yr({passive:!0}),dc=["mousedown","touchstart"],fc=["mouseup","mouseleave","touchend","touchcancel"],pc=function(){function e(t,n,i,r){_classCallCheck(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ur(i))}return _createClass(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},lc),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var o=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,c=t-r.top,u=a.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-o+"px",l.style.top=c-o+"px",l.style.height=2*o+"px",l.style.width=2*o+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new uc(this,l,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()},u),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},lc),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=ur(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(dc))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(fc),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Kr(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,hc)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(dc.forEach(function(t){e._triggerElement.removeEventListener(t,e,hc)}),this._pointerUpEventsRegistered&&fc.forEach(function(t){e._triggerElement.removeEventListener(t,e,hc)}))}}]),e}(),gc=new a.OlP("mat-ripple-global-options"),mc=function(){var e=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new pc(this,n,t,i)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){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}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(gr),a.Y36(gc,8),a.Y36(zs,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),vc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js,mr],js]}),e}(),_c=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(a.Y36(zs,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&a.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}),e}(),yc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js]]}),e}(),bc=new a.OlP("MAT_OPTION_PARENT_COMPONENT"),Ac=Fs(function e(){_classCallCheck(this,e)}),wc=0,kc=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r;return _classCallCheck(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+wc++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(Ac);return e.\u0275fac=function(t){return new(t||e)(a.Y36(bc,8))},e.\u0275dir=a.lG2({type:e,inputs:{label:"label"},features:[a.qOj]}),e}(),Mc=new a.OlP("MatOptgroup"),Cc=0,Tc=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},Lc=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Cc++,this.onSelectionChange=new a.vpe,this._stateChanges=new ye.xQ}return _createClass(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=rr(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||tr(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Tc(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(void 0),a.Y36(kc))},e.\u0275dir=a.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),Sc=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){return _classCallCheck(this,n),t.call(this,e,i,r,a)}return n}(Lc);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(bc,8),a.Y36(Mc,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(a.Ikx("id",t.id),a.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),a.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[a.qOj],ngContentSelectors:Is,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&&(a.F$t(),a.YNc(0,Ps,1,2,"mat-pseudo-checkbox",0),a.TgZ(1,"span",1),a.Hsn(2),a.qZA(),a.YNc(3,Ns,2,1,"span",2),a._UZ(4,"div",3)),2&e&&(a.Q6J("ngIf",t.multiple),a.xp6(3),a.Q6J("ngIf",t.group&&t.group._inert),a.xp6(1),a.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[r.O5,mc,_c],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),e}();function Ec(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),a=0,o=0;on+i?Math.max(0,e-i+t):n}var Oc,xc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[vc,r.ez,js,yc]]}),e}(),Rc=["mat-button",""],Dc=["*"],Pc=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Nc=Ws(Fs(Us(function e(t){_classCallCheck(this,e),this._elementRef=t}))),Ic=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;_classCallCheck(this,n),(a=t.call(this,e))._focusMonitor=i,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var o,s=_createForOfIteratorHelper(Pc);try{for(s.s();!(o=s.n()).done;){var c=o.value;a._hasHostAttributes(c)&&a._getHostElement().classList.add(c)}}catch(u){s.e(u)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),a.isRoundButton&&(a.color="accent"),a}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i*,.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}),e}(),qc=((Oc=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Oc)},Oc.\u0275mod=a.oAB({type:Oc}),Oc.\u0275inj=a.cJS({imports:[[vc,js],js]}),Oc),Bc=n(8470),Hc=n(5024);function Yc(e,t,n,i){return(0,Hc.m)(n)&&(i=n,n=void 0),i?Yc(e,t,n).pipe((0,ze.U)(function(e){return(0,Bc.k)(e)?i.apply(void 0,_toConsumableArray(e)):i(e)})):new ke.y(function(i){jc(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function jc(e,t,n,i,r){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var o=e;e.addEventListener(t,n,r),a=function(){return o.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),a=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,n),a=function(){return c.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,l=e.length;u2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(Fc.o),Uc=n(1098),Kc=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Jc(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(Qc(t),e.scheduled=void 0)}}]),n}(Fc.o),eu=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i=0}function hu(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function du(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:au.P;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return lu(t)?i=Number(t)<1?1:Number(t):(0,Re.K)(t)&&(n=t),(0,Re.K)(n)||(n=au.P),new ke.y(function(t){var r=lu(e)?e:+e-n.now();return n.schedule(hu,r,{index:0,period:i,subscriber:t})})}(e,n)},function(e){return e.lift(new cu(t))}}function fu(e){return function(t){return t.lift(new pu(e))}}var pu=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new gu(e),i=(0,su.D)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),gu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).seenValue=!1,i}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(ou.L),mu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(Fc.o),vu=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(Uc.v))(mu),_u=n(3103),yu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck(this,n),(r=t.call(this,e)).scheduler=i,r.delay=a,r}return _createClass(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new bu(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(_u.P.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(_u.P.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(_u.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(Pe.L),bu=function e(t,n){_classCallCheck(this,e),this.notification=t,this.destination=n},Au=n(9291),wu=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this)).scheduler=a,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return _createClass(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new ku(this._getNow(),e)),this._trimBufferThenGetEvents(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new be.N;if(this.isStopped||this.hasError?t=Qe.w.EMPTY:(this.observers.push(e),t=new Au.W(this,e)),r&&e.add(e=new yu(e,r)),n)for(var o=0;ot&&(a=Math.max(a,r-t)),a>0&&i.splice(0,a),i}}]),n}(ye.xQ),ku=function e(t,n){_classCallCheck(this,e),this.time=t,this.value=n};function Mu(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,a=e.windowTime,o=void 0===a?Number.POSITIVE_INFINITY:a,s=e.refCount,c=e.scheduler,u=0,l=!1,h=!1;return function(e){u++,t&&!l||(l=!1,t=new wu(r,o,c),n=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){h=!0,n=void 0,t.complete()}}));var i=t.subscribe(this);this.add(function(){u--,i.unsubscribe(),n&&!h&&s&&0===u&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}function Cu(e){return e&&"function"==typeof e.connect}var Tu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"applyChanges",value:function(e,t,n,i,r){e.forEachOperation(function(e,i,a){var o,s;if(null==e.previousIndex){var c=n(e,i,a);o=t.createEmbeddedView(c.templateRef,c.context,c.index),s=1}else null==a?(t.remove(i),s=3):(o=t.get(i),t.move(o,a),s=2);r&&r({context:null==o?void 0:o.context,operation:s,record:e})})}},{key:"detach",value:function(){}}]),e}(),Lu=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ye.xQ,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new ke.y(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(du(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,_e.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,me.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=ur(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Yc(e._getWindow().document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(gr),a.LFG(r.K0,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.R0b),a.LFG(gr),a.LFG(r.K0,8))},token:e,providedIn:"root"}),e}(),Ou=function(){var e=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new ye.xQ,this._elementScrolled=new ke.y(function(e){return a.ngZone.runOutsideAngular(function(){return Yc(a.elementRef.nativeElement,"scroll").pipe(fu(a._destroyed)).subscribe(e)})})}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Ar()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Ar()?e.left=e.right:1==Ar()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;br()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Ar()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Ar()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(zu),a.Y36(a.R0b),a.Y36(ta,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),xu=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this._platform=t,this._change=new ye.xQ,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(du(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(gr),a.LFG(a.R0b),a.LFG(r.K0,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(gr),a.LFG(a.R0b),a.LFG(r.K0,8))},token:e,providedIn:"root"}),e}(),Ru=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),Du=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[na,mr,Ru],na,Ru]}),e}(),Pu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),Nu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this)).component=e,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(Pu),Iu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this)).templateRef=e,a.viewContainerRef=i,a.context=r,a}return _createClass(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(n.prototype),"detach",this).call(this)}}]),n}(Pu),qu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).element=e instanceof a.SBq?e.nativeElement:e,i}return n}(Pu),Bu=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof Nu?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Iu?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof qu?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),Hu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s,c;return _classCallCheck(this,n),(c=t.call(this)).outletElement=e,c._componentFactoryResolver=i,c._appRef=r,c._defaultInjector=a,c.attachDomPortal=function(e){var t=e.element,i=c._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),c.outletElement.appendChild(t),c._attachedPortal=e,_get((s=_assertThisInitialized(c),_getPrototypeOf(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},c._document=o,c}return _createClass(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(Bu),Yu=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o,s;return _classCallCheck(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=i,s._isInitialized=!1,s.attached=new a.vpe,s.attachDomPortal=function(e){var t=e.element,i=s._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(s)),t.parentNode.insertBefore(i,t),s._getRootNode().appendChild(t),s._attachedPortal=e,_get((o=_assertThisInitialized(s),_getPrototypeOf(n.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},s._document=r,s}return _createClass(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(n.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(Bu);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(r.K0))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),e}(),ju=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),Fu=n(1906),Wu=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.inclusive=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Uu(e,this.predicate,this.inclusive))}}]),e}(),Uu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=i,a.inclusive=r,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(Pe.L),Ku=br(),Zu=function(){function e(t,n){_classCallCheck(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return _createClass(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=cr(-this._previousScrollPosition.left),e.style.top=cr(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Ku&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ku&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),Gu=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run(function(){return a._overlayRef.detach()})}}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),Xu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function Vu(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function Ju(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var Qu=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;Vu(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),$u=function(){var e=function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new Xu},this.close=function(e){return new Gu(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new Zu(a._viewportRuler,a._document)},this.reposition=function(e){return new Qu(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(a.LFG(zu),a.LFG(xu),a.LFG(a.R0b),a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(zu),a.LFG(xu),a.LFG(a.R0b),a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),el=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new Xu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),rl=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return _createClass(n,[{key:"add",value:function(e){_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(il);return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),al=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(t))break;a._outsidePointerEvents.next(e)}}},r}return _createClass(n,[{key:"add",value:function(e){if(_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;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}}}]),n}(il);return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0),a.LFG(gr))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(r.K0),a.LFG(gr))},token:e,providedIn:"root"}),e}(),ol="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,sl=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||ol)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;tf&&(f=m,d=g)}}catch(v){p.e(v)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&hl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=fl(t),a=e.x,o=e.y,s=this._getOffset(i,"x"),c=this._getOffset(i,"y");s&&(a+=s),c&&(o+=c);var u=0-o,l=o+r.height-n.height,h=this._subtractOverflows(r.width,0-a,a+r.width-n.width),d=this._subtractOverflows(r.height,u,l),f=h*d;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,a=dl(this._overlayRef.getConfig().minHeight),o=dl(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=o&&o<=r;return(e.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,a=fl(t),o=this._viewportRect,s=Math.max(e.x+a.width-o.width,0),c=Math.max(e.y+a.height-o.height,0),u=Math.max(o.top-n.top-e.y,0),l=Math.max(o.left-n.left-e.x,0);return i=a.width<=o.width?l||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=c.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)o=e.x,a=c.right-e.x;else{var d=Math.min(c.right-e.x+c.left,e.x),f=this._lastBoundingBoxSize.width;a=2*d,o=e.x-d,a>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=cr(n.height),i.top=cr(n.top),i.bottom=cr(n.bottom),i.width=cr(n.width),i.left=cr(n.left),i.right=cr(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=cr(r)),a&&(i.maxWidth=cr(a))}this._lastBoundingBoxSize=n,hl(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){hl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){hl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();hl(n,this._getExactOverlayY(t,e,o)),hl(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",c=this._getOffset(t,"x"),u=this._getOffset(t,"y");c&&(s+="translateX(".concat(c,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=cr(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=cr(a.maxWidth):r&&(n.maxWidth="")),hl(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=cr(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=cr(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Ju(e,n),isOriginOutsideView:Vu(e,n),isOverlayClipped:Ju(t,n),isOverlayOutsideView:Vu(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),ml=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new gl}},{key:"connectedTo",value:function(e,t,n){return new pl(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new ll(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(xu),a.LFG(r.K0),a.LFG(gr),a.LFG(sl))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(xu),a.LFG(r.K0),a.LFG(gr),a.LFG(sl))},token:e,providedIn:"root"}),e}(),vl=0,_l=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u,l,h){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=c,this._directionality=u,this._location=l,this._outsideClickDispatcher=h}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new el(e);return r.direction=r.direction||this._directionality.value,new cl(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+vl++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(a.z2F)),new Hu(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG($u),a.LFG(sl),a.LFG(a._Vd),a.LFG(ml),a.LFG(rl),a.LFG(a.zs3),a.LFG(a.R0b),a.LFG(r.K0),a.LFG(ta),a.LFG(r.Ye),a.LFG(al))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),yl=[{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"}],bl=new a.OlP("cdk-connected-overlay-scroll-strategy"),Al=function(){var e=function e(t){_classCallCheck(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),wl=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Qe.w.EMPTY,this._attachSubscription=Qe.w.EMPTY,this._detachSubscription=Qe.w.EMPTY,this._positionSubscription=Qe.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new a.vpe,this.positionChange=new a.vpe,this.attach=new a.vpe,this.detach=new a.vpe,this.overlayKeydown=new a.vpe,this.overlayOutsideClick=new a.vpe,this._templatePortal=new Iu(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=rr(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=rr(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=rr(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=rr(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=rr(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=yl);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),27!==t.keyCode||e.disableClose||tr(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new el({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}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;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(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new Wu(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(_l),a.Y36(a.Rgc),a.Y36(a.s_b),a.Y36(bl),a.Y36(ta,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[a.TTD]}),e}(),kl={provide:bl,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Ml=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[_l,kl],imports:[[na,ju,Du],Du]}),e}(),Cl=["underline"],Tl=["connectionContainer"],Ll=["inputContainer"],Sl=["label"];function El(e,t){1&e&&(a.ynx(0),a.TgZ(1,"div",14),a._UZ(2,"div",15),a._UZ(3,"div",16),a._UZ(4,"div",17),a.qZA(),a.TgZ(5,"div",18),a._UZ(6,"div",15),a._UZ(7,"div",16),a._UZ(8,"div",17),a.qZA(),a.BQk())}function zl(e,t){1&e&&(a.TgZ(0,"div",19),a.Hsn(1,1),a.qZA())}function Ol(e,t){if(1&e&&(a.ynx(0),a.Hsn(1,2),a.TgZ(2,"span"),a._uU(3),a.qZA(),a.BQk()),2&e){var n=a.oxw(2);a.xp6(3),a.Oqu(n._control.placeholder)}}function xl(e,t){1&e&&a.Hsn(0,3,["*ngSwitchCase","true"])}function Rl(e,t){1&e&&(a.TgZ(0,"span",23),a._uU(1," *"),a.qZA())}function Dl(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"label",20,21),a.NdJ("cdkObserveContent",function(){return a.CHM(n),a.oxw().updateOutlineGap()}),a.YNc(2,Ol,4,1,"ng-container",12),a.YNc(3,xl,1,0,"ng-content",12),a.YNc(4,Rl,2,0,"span",22),a.qZA()}if(2&e){var i=a.oxw();a.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),a.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),a.uIk("for",i._control.id)("aria-owns",i._control.id),a.xp6(2),a.Q6J("ngSwitchCase",!1),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function Pl(e,t){1&e&&(a.TgZ(0,"div",24),a.Hsn(1,4),a.qZA())}function Nl(e,t){if(1&e&&(a.TgZ(0,"div",25,26),a._UZ(2,"span",27),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function Il(e,t){if(1&e&&(a.TgZ(0,"div"),a.Hsn(1,5),a.qZA()),2&e){var n=a.oxw();a.Q6J("@transitionMessages",n._subscriptAnimationState)}}function ql(e,t){if(1&e&&(a.TgZ(0,"div",31),a._uU(1),a.qZA()),2&e){var n=a.oxw(2);a.Q6J("id",n._hintLabelId),a.xp6(1),a.Oqu(n.hintLabel)}}function Bl(e,t){if(1&e&&(a.TgZ(0,"div",28),a.YNc(1,ql,2,2,"div",29),a.Hsn(2,6),a._UZ(3,"div",30),a.Hsn(4,7),a.qZA()),2&e){var n=a.oxw();a.Q6J("@transitionMessages",n._subscriptAnimationState),a.xp6(1),a.Q6J("ngIf",n.hintLabel)}}var Hl,Yl=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jl=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Fl=0,Wl=new a.OlP("MatError"),Ul=function(){var e=function e(t,n){_classCallCheck(this,e),this.id="mat-error-"+Fl++,t||n.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)(a.$8M("aria-live"),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&a.uIk("id",t.id)},inputs:{id:"id"},features:[a._Bn([{provide:Wl,useExisting:e}])]}),e}(),Kl={transitionMessages:aa("transitionMessages",[la("enter",ua({opacity:1,transform:"translateY(0%)"})),da("void => enter",[ua({opacity:0,transform:"translateY(-5px)"}),oa("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Zl=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e}),e}(),Gl=0,Xl=new a.OlP("MatHint"),Vl=function(){var e=function e(){_classCallCheck(this,e),this.align="start",this.id="mat-hint-"+Gl++};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(a.uIk("id",t.id)("align",null),a.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[a._Bn([{provide:Xl,useExisting:e}])]}),e}(),Jl=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-label"]]}),e}(),Ql=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),$l=new a.OlP("MatPrefix"),eh=new a.OlP("MatSuffix"),th=0,nh=Ws(function e(t){_classCallCheck(this,e),this._elementRef=t},"primary"),ih=new a.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),rh=new a.OlP("MatFormField"),ah=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u){var l;return _classCallCheck(this,n),(l=t.call(this,e))._elementRef=e,l._changeDetectorRef=i,l._dir=a,l._defaults=o,l._platform=s,l._ngZone=c,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new ye.xQ,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-"+th++,l._labelId="mat-form-field-label-"+th++,l.floatLabel=l._getDefaultFloatLabelState(),l._animationsEnabled="NoopAnimations"!==u,l.appearance=o&&o.appearance?o.appearance:"legacy",l._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,l}return _createClass(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=rr(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(De(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(fu(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(fu(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,Fu.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(De(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(De(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fu(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Yc(this._label.nativeElement,"transitionend").pipe((0,xe.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,_toConsumableArray(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),c=e.children,u=this._getStartEnd(c[0].getBoundingClientRect()),l=0,h=0;h0?.75*l+10:0}for(var d=0;de?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return wh(e)}},{key:"requiredTrue",value:function(e){return function(e){return!0===e.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function(e){return mh(e.value)||bh.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return mh(t.value)||!vh(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"pattern",value:function(e){return function(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(mh(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):kh;var t,n}(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return Eh(e)}},{key:"composeAsync",value:function(e){return Oh(e)}}]),e}();function wh(e){return mh(e.value)?{required:!0}:null}function kh(e){return null}function Mh(e){return null!=e}function Ch(e){var t=(0,a.QGY)(e)?(0,ve.D)(e):e;return(0,a.CqO)(t),t}function Th(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Lh(e,t){return t.map(function(t){return t(e)})}function Sh(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function Eh(e){if(!e)return null;var t=e.filter(Mh);return 0==t.length?null:function(e){return Th(Lh(e,t))}}function zh(e){return null!=e?Eh(Sh(e)):null}function Oh(e){if(!e)return null;var t=e.filter(Mh);return 0==t.length?null:function(e){return ch(Lh(e,t).map(Ch)).pipe((0,ze.U)(Th))}}function xh(e){return null!=e?Oh(Sh(e)):null}function Rh(e,t){return null===e?[t]:Array.isArray(e)?[].concat(_toConsumableArray(e),[t]):[e,t]}function Dh(e){return e._rawValidators}function Ph(e){return e._rawAsyncValidators}var Nh=function(){var e=function(){function e(){_classCallCheck(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return _createClass(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=zh(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xh(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e}),e}(),Ih=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(Nh);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,features:[a.qOj]}),t}(),qh=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(Nh),Bh=function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}(),Hh=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(Bh);return e.\u0275fac=function(t){return new(t||e)(a.Y36(qh,2))},e.\u0275dir=a.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&a.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:[a.qOj]}),e}(),Yh=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(Bh);return e.\u0275fac=function(t){return new(t||e)(a.Y36(Ih,10))},e.\u0275dir=a.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&a.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:[a.qOj]}),e}();function jh(e,t){return[].concat(_toConsumableArray(t.path),[e])}function Fh(e,t){Kh(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Gh(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Gh(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function Wh(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),Zh(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function Uh(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Kh(e,t){var n=Dh(e);null!==t.validator?e.setValidators(Rh(n,t.validator)):"function"==typeof n&&e.setValidators([n]);var i=Ph(e);null!==t.asyncValidator?e.setAsyncValidators(Rh(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);var r=function(){return e.updateValueAndValidity()};Uh(t._rawValidators,r),Uh(t._rawAsyncValidators,r)}function Zh(e,t){var n=!1;if(null!==e){if(null!==t.validator){var i=Dh(e);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var a=Ph(e);if(Array.isArray(a)&&a.length>0){var o=a.filter(function(e){return e!==t.asyncValidator});o.length!==a.length&&(n=!0,e.setAsyncValidators(o))}}}var s=function(){};return Uh(t._rawValidators,s),Uh(t._rawAsyncValidators,s),n}function Gh(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Xh(e,t){Kh(e,t)}function Vh(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function Jh(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Qh(e,t){return t?(Array.isArray(t),t.forEach(function(e){e.constructor===gh?n=e:Object.getPrototypeOf(e.constructor)===hh?i=e:r=e}),r||i||n||null):null;var n,i,r}function $h(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function ed(e){return(rd(e)?e.validators:e)||null}function td(e){return Array.isArray(e)?zh(e):e||null}function nd(e,t){return(rd(t)?t.asyncValidators:e)||null}function id(e){return Array.isArray(e)?xh(e):e||null}function rd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ad,od,sd=function(){function e(t,n){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=td(this._rawValidators),this._composedAsyncValidatorFn=id(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=td(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=id(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=Ch(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof ud?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof ld&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){rd(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),cd=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,ed(r),nd(a,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){$h(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){$h(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(sd),ud=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,ed(i),nd(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof cd?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(sd),ld=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,ed(i),nd(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof cd?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(sd),hd={provide:Ih,useExisting:(0,a.Gpc)(function(){return fd})},dd=Promise.resolve(null),fd=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new a.vpe,r.form=new ud({},zh(e),xh(i)),r}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;dd.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Fh(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;dd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),$h(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;dd.then(function(){var n=t._findContainer(e.path),i=new ud({});Xh(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;dd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;dd.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Jh(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(Ih);return e.\u0275fac=function(t){return new(t||e)(a.Y36(_h,10),a.Y36(yh,10))},e.\u0275dir=a.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&a.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([hd]),a.qOj]}),e}(),pd={provide:qh,useExisting:(0,a.Gpc)(function(){return md})},gd=Promise.resolve(null),md=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var s;return _classCallCheck(this,n),(s=t.call(this)).control=new cd,s._registered=!1,s.update=new a.vpe,s._parent=e,s._setValidators(i),s._setAsyncValidators(r),s.valueAccessor=Qh(0,o),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Vh(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?jh(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){Fh(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;gd.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;gd.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(qh);return e.\u0275fac=function(t){return new(t||e)(a.Y36(Ih,9),a.Y36(_h,10),a.Y36(yh,10),a.Y36(dh,10))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([pd]),a.qOj,a.TTD]}),e}(),vd=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),_d={provide:dh,useExisting:(0,a.Gpc)(function(){return yd}),multi:!0},yd=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}}]),n}(hh);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&a.NdJ("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[a._Bn([_d]),a.qOj]}),t}(),bd=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),Ad=new a.OlP("NgModelWithFormControlWarning"),wd={provide:qh,useExisting:(0,a.Gpc)(function(){return kd})},kd=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var s;return _classCallCheck(this,n),(s=t.call(this))._ngModelWarningConfig=o,s.update=new a.vpe,s._ngModelWarningSent=!1,s._setValidators(e),s._setAsyncValidators(i),s.valueAccessor=Qh(0,r),s}return _createClass(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&Wh(t,this,!1),Fh(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Vh(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&Wh(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(qh);return e.\u0275fac=function(t){return new(t||e)(a.Y36(_h,10),a.Y36(yh,10),a.Y36(dh,10),a.Y36(Ad,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([wd]),a.qOj,a.TTD]}),e._ngModelWarningSentOnce=!1,e}(),Md={provide:Ih,useExisting:(0,a.Gpc)(function(){return Cd})},Cd=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new a.vpe,r._setValidators(e),r._setAsyncValidators(i),r}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Zh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return Fh(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){Wh(e.control||null,e,!1),$h(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Jh(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(Wh(n||null,t),i instanceof cd&&(Fh(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);Xh(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return Zh(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Kh(this.form,this),this._oldForm&&Zh(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Ih);return e.\u0275fac=function(t){return new(t||e)(a.Y36(_h,10),a.Y36(yh,10))},e.\u0275dir=a.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&a.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Md]),a.qOj,a.TTD]}),e}(),Td={provide:qh,useExisting:(0,a.Gpc)(function(){return Ld})},Ld=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s){var c;return _classCallCheck(this,n),(c=t.call(this))._ngModelWarningConfig=s,c._added=!1,c.update=new a.vpe,c._ngModelWarningSent=!1,c._parent=e,c._setValidators(i),c._setAsyncValidators(r),c.valueAccessor=Qh(0,o),c}return _createClass(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),Vh(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return jh(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(qh);return e.\u0275fac=function(t){return new(t||e)(a.Y36(Ih,13),a.Y36(_h,10),a.Y36(yh,10),a.Y36(dh,10),a.Y36(Ad,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a._Bn([Td]),a.qOj,a.TTD]}),e._ngModelWarningSentOnce=!1,e}(),Sd={provide:_h,useExisting:(0,a.Gpc)(function(){return Ed}),multi:!0},Ed=function(){var e=function(){function e(){_classCallCheck(this,e),this._required=!1}return _createClass(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?wh(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&a.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[a._Bn([Sd])]}),e}(),zd=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[bd]]}),e}(),Od=((od=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||od)},od.\u0275mod=a.oAB({type:od}),od.\u0275inj=a.cJS({imports:[zd]}),od),xd=((ad=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Ad,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275fac=function(e){return new(e||ad)},ad.\u0275mod=a.oAB({type:ad}),ad.\u0275inj=a.cJS({imports:[zd]}),ad),Rd=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"group",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this._reduceControls(e),r=null,a=null;return null!=n&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(n)?(r=null!=n.validators?n.validators:null,a=null!=n.asyncValidators?n.asyncValidators:null,t=null!=n.updateOn?n.updateOn:void 0):(r=null!=n.validator?n.validator:null,a=null!=n.asyncValidator?n.asyncValidator:null)),new ud(i,{asyncValidators:a,updateOn:t,validators:r})}},{key:"control",value:function(e,t,n){return new cd(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new ld(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),n}},{key:"_createControl",value:function(e){return e instanceof cd||e instanceof ud||e instanceof ld?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e},token:e,providedIn:xd}),e}(),Dd=["trigger"],Pd=["panel"];function Nd(e,t){if(1&e&&(a.TgZ(0,"span",8),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(n.placeholder)}}function Id(e,t){if(1&e&&(a.TgZ(0,"span",12),a._uU(1),a.qZA()),2&e){var n=a.oxw(2);a.xp6(1),a.Oqu(n.triggerValue)}}function qd(e,t){1&e&&a.Hsn(0,0,["*ngSwitchCase","true"])}function Bd(e,t){if(1&e&&(a.TgZ(0,"span",9),a.YNc(1,Id,2,1,"span",10),a.YNc(2,qd,1,0,"ng-content",11),a.qZA()),2&e){var n=a.oxw();a.Q6J("ngSwitch",!!n.customTrigger),a.xp6(2),a.Q6J("ngSwitchCase",!0)}}function Hd(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",13),a.TgZ(1,"div",14,15),a.NdJ("@transformPanel.done",function(e){return a.CHM(n),a.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return a.CHM(n),a.oxw()._handleKeydown(e)}),a.Hsn(3,1),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("@transformPanelWrap",void 0),a.xp6(1),a.Gre("mat-select-panel ",i._getPanelTheme(),""),a.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),a.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),a.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var Yd,jd,Fd=[[["mat-select-trigger"]],"*"],Wd=["mat-select-trigger","*"],Ud={transformPanelWrap:aa("transformPanelWrap",[da("* => void",pa("@transformPanel",[fa()],{optional:!0}))]),transformPanel:aa("transformPanel",[la("void",ua({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),la("showing",ua({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),la("showing-multiple",ua({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),da("void => *",oa("120ms cubic-bezier(0, 0, 0.2, 1)")),da("* => void",oa("100ms 25ms linear",ua({opacity:0})))])},Kd=0,Zd=new a.OlP("mat-select-scroll-strategy"),Gd=new a.OlP("MAT_SELECT_CONFIG"),Xd={provide:Zd,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Vd=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},Jd=Us(Ks(Fs(Zs(function e(t,n,i,r,a){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a})))),Qd=new a.OlP("MatSelectTrigger"),$d=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u,l,h,d,f,p,g,m){var v,_,y,b;return _classCallCheck(this,n),(v=t.call(this,s,o,u,l,d))._viewportRuler=e,v._changeDetectorRef=i,v._ngZone=r,v._dir=c,v._parentFormField=h,v.ngControl=d,v._liveAnnouncer=g,v._defaultOptions=m,v._panelOpen=!1,v._compareWith=function(e,t){return e===t},v._uid="mat-select-"+Kd++,v._triggerAriaLabelledBy=null,v._destroy=new ye.xQ,v._onChange=function(){},v._onTouched=function(){},v._valueId="mat-select-value-"+Kd++,v._panelDoneAnimatingStream=new ye.xQ,v._overlayPanelClass=(null===(_=v._defaultOptions)||void 0===_?void 0:_.overlayPanelClass)||"",v._focused=!1,v.controlType="mat-select",v._required=!1,v._multiple=!1,v._disableOptionCentering=null!==(b=null===(y=v._defaultOptions)||void 0===y?void 0:y.disableOptionCentering)&&void 0!==b&&b,v.ariaLabel="",v.optionSelectionChanges=Se(function(){var e=v.options;return e?e.changes.pipe(De(e),(0,Oe.w)(function(){return Fu.T.apply(void 0,_toConsumableArray(e.map(function(e){return e.onSelectionChange})))})):v._ngZone.onStable.pipe((0,xe.q)(1),(0,Oe.w)(function(){return v.optionSelectionChanges}))}),v.openedChange=new a.vpe,v._openedStream=v.openedChange.pipe((0,me.h)(function(e){return e}),(0,ze.U)(function(){})),v._closedStream=v.openedChange.pipe((0,me.h)(function(e){return!e}),(0,ze.U)(function(){})),v.selectionChange=new a.vpe,v.valueChange=new a.vpe,v.ngControl&&(v.ngControl.valueAccessor=_assertThisInitialized(v)),null!=(null==m?void 0:m.typeaheadDebounceInterval)&&(v._typeaheadDebounceInterval=m.typeaheadDebounceInterval),v._scrollStrategyFactory=p,v._scrollStrategy=v._scrollStrategyFactory(),v.tabIndex=parseInt(f)||0,v.id=v.id,v}return _createClass(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=rr(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=rr(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=rr(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=ar(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new Lu(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(nu(),fu(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(fu(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(De(null),fu(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!tr(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;r.onKeydown(e);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||tr(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var a=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(a?e.select():e.deselect())})}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,xe.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new Nr(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(fu(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(fu(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,Fu.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fu(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),Fu.T.apply(void 0,_toConsumableArray(this.options.map(function(e){return e._stateChanges}))).pipe(fu(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==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)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.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()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(Jd);return e.\u0275fac=function(t){return new(t||e)(a.Y36(xu),a.Y36(a.sBO),a.Y36(a.R0b),a.Y36(ac),a.Y36(a.SBq),a.Y36(ta,8),a.Y36(fd,8),a.Y36(Cd,8),a.Y36(rh,8),a.Y36(qh,10),a.$8M("tabindex"),a.Y36(Zd),a.Y36(Ur),a.Y36(Gd,8))},e.\u0275dir=a.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&(a.Gf(Dd,5),a.Gf(Pd,5),a.Gf(wl,5)),2&e)&&(a.iGM(n=a.CRH())&&(t.trigger=n.first),a.iGM(n=a.CRH())&&(t.panel=n.first),a.iGM(n=a.CRH())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[a.qOj,a.TTD]}),e}(),ef=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return _createClass(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(fu(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=Ec(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=zc((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new Vd(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var a=this._selectionModel.selected[0]||this.options.first;e=a&&a.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);o>0?e+=o+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=Ec(e,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(e,a,r),this._offsetY=this._calculateOverlayOffsetY(e,a,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}($d);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Qd,5),a.Suo(n,Sc,5),a.Suo(n,Mc,5)),2&e)&&(a.iGM(i=a.CRH())&&(t.customTrigger=i.first),a.iGM(i=a.CRH())&&(t.options=i),a.iGM(i=a.CRH())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&a.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(a.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()),a.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:[a._Bn([{provide:Zl,useExisting:t},{provide:bc,useExisting:t}]),a.qOj],ngContentSelectors:Wd,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&&(a.F$t(Fd),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return t.toggle()}),a.TgZ(3,"div",2),a.YNc(4,Nd,2,1,"span",3),a.YNc(5,Bd,3,2,"span",4),a.qZA(),a.TgZ(6,"div",5),a._UZ(7,"div",6),a.qZA(),a.qZA(),a.YNc(8,Hd,4,14,"ng-template",7),a.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=a.MAs(1);a.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),a.xp6(3),a.Q6J("ngSwitch",t.empty),a.uIk("id",t._valueId),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1),a.xp6(3),a.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Al,r.RF,r.n9,wl,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[Ud.transformPanelWrap,Ud.transformPanel]},changeDetection:0}),t}(),tf=((Yd=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Yd)},Yd.\u0275mod=a.oAB({type:Yd}),Yd.\u0275inj=a.cJS({providers:[Xd],imports:[[r.ez,Ml,xc,js],Ru,oh,xc,js]}),Yd),nf=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new rf(e,this.total))}}]),e}(),rf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(Pe.L),af=new Set,of=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):sf}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!af.has(e))try{jd||((jd=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(jd)),jd.sheet&&(jd.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),af.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(gr))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(gr))},token:e,providedIn:"root"}),e}();function sf(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var cf=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new ye.xQ}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return uf(sr(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=uf(sr(e)).map(function(e){return t._registerQuery(e).observable}),i=(0,we.aj)(n);return(i=Te(i.pipe((0,xe.q)(1)),i.pipe(function(e){return e.lift(new nf(1))},(0,ir.b)(0)))).pipe((0,ze.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new ke.y(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(De(n),(0,ze.U)(function(t){var n=t.matches;return{query:e,matches:n}}),fu(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(of),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(of),a.LFG(a.R0b))},token:e,providedIn:"root"}),e}();function uf(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var lf={tooltipState:aa("state",[la("initial, void, hidden",ua({opacity:0,transform:"scale(0)"})),la("visible",ua({transform:"scale(1)"})),da("* => visible",oa("200ms cubic-bezier(0, 0, 0.2, 1)",ha([ua({opacity:0,transform:"scale(0)",offset:0}),ua({opacity:.5,transform:"scale(0.99)",offset:.5}),ua({opacity:1,transform:"scale(1)",offset:1})]))),da("* => hidden",oa("100ms cubic-bezier(0, 0, 0.2, 1)",ua({opacity:0})))])},hf=yr({passive:!0}),df=new a.OlP("mat-tooltip-scroll-strategy"),ff={provide:df,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},pf=new a.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),gf=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u,l,h,d){var f=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=l,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ye.xQ,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!tr(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run(function(){return f.hide(0)}))},this._scrollStrategy=u,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),l.change.pipe(fu(this._destroyed)).subscribe(function(){f._overlayRef&&f._updatePosition(f._overlayRef)}),a.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(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()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=rr(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;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(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fu(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=_slicedToArray(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,hf)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new Nu(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(fu(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe(fu(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fu(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,xe.q)(1),fu(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(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}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX,r=e.originY;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===r?"above":"below")!==this._currentPosition){var a=this._overlayRef;if(a){var o="".concat(this._cssClassPrefix,"-tooltip-panel-");a.removePanelClass(o+this._currentPosition),a.addPanelClass(o+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=_slicedToArray(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,hf)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(_l),a.Y36(a.SBq),a.Y36(zu),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(gr),a.Y36(xr),a.Y36(Vr),a.Y36(void 0),a.Y36(ta),a.Y36(void 0),a.Y36(r.K0))},e.\u0275dir=a.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),mf=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u,l,h,d,f){var p;return _classCallCheck(this,n),(p=t.call(this,e,i,r,a,o,s,c,u,l,h,d,f))._tooltipComponent=_f,p}return n}(gf);return e.\u0275fac=function(t){return new(t||e)(a.Y36(_l),a.Y36(a.SBq),a.Y36(zu),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(gr),a.Y36(xr),a.Y36(Vr),a.Y36(df),a.Y36(ta,8),a.Y36(pf,8),a.Y36(r.K0))},e.\u0275dir=a.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[a.qOj]}),e}(),vf=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ye.xQ}return _createClass(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO))},e.\u0275dir=a.lG2({type:e}),e}(),_f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return n}(vf);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(cf))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t._handleBodyInteraction()},!1,a.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,a.pYS),2&e&&a.Udp("zoom","visible"===t._visibility?1:null)},features:[a.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(a.TgZ(0,"div",0),a.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),a.ALo(1,"async"),a._uU(2),a.qZA()),2&e)&&(a.ekj("mat-tooltip-handset",null==(n=a.lcZ(1,5,t._isHandset))?null:n.matches),a.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),a.xp6(2),a.Oqu(t.message))},directives:[r.mk],pipes:[r.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[lf.tooltipState]},changeDetection:0}),e}(),yf=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ff],imports:[[$r,r.ez,Ml,js],js,Ru]}),e}();function bf(e,t){if(1&e&&(a.TgZ(0,"mat-option",19),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.Q6J("value",n),a.xp6(1),a.hij(" ",n," ")}}function Af(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-form-field",16),a.TgZ(1,"mat-select",17),a.NdJ("selectionChange",function(e){return a.CHM(n),a.oxw(2)._changePageSize(e.value)}),a.YNc(2,bf,2,2,"mat-option",18),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(2);a.Q6J("appearance",i._formFieldAppearance)("color",i.color),a.xp6(1),a.Q6J("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),a.xp6(1),a.Q6J("ngForOf",i._displayedPageSizeOptions)}}function wf(e,t){if(1&e&&(a.TgZ(0,"div",20),a._uU(1),a.qZA()),2&e){var n=a.oxw(2);a.xp6(1),a.Oqu(n.pageSize)}}function kf(e,t){if(1&e&&(a.TgZ(0,"div",12),a.TgZ(1,"div",13),a._uU(2),a.qZA(),a.YNc(3,Af,3,6,"mat-form-field",14),a.YNc(4,wf,2,1,"div",15),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.hij(" ",n._intl.itemsPerPageLabel," "),a.xp6(1),a.Q6J("ngIf",n._displayedPageSizeOptions.length>1),a.xp6(1),a.Q6J("ngIf",n._displayedPageSizeOptions.length<=1)}}function Mf(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",21),a.NdJ("click",function(){return a.CHM(n),a.oxw().firstPage()}),a.O4$(),a.TgZ(1,"svg",7),a._UZ(2,"path",22),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),a.uIk("aria-label",i._intl.firstPageLabel)}}function Cf(e,t){if(1&e){var n=a.EpF();a.O4$(),a.kcU(),a.TgZ(0,"button",23),a.NdJ("click",function(){return a.CHM(n),a.oxw().lastPage()}),a.O4$(),a.TgZ(1,"svg",7),a._UZ(2,"path",24),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),a.uIk("aria-label",i._intl.lastPageLabel)}}var Tf=function(){var e=function e(){_classCallCheck(this,e),this.changes=new ye.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of ".concat(n);var i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Lf={provide:Tf,deps:[[new a.FiY,new a.tp0,Tf]],useFactory:function(e){return e||new Tf}},Sf=new a.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ef=Fs(Gs(function e(){_classCallCheck(this,e)})),zf=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;if(_classCallCheck(this,n),(o=t.call(this))._intl=e,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new a.vpe,o._intlChanges=e.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),r){var s=r.pageSize,c=r.pageSizeOptions,u=r.hidePageSize,l=r.showFirstLastButtons;null!=s&&(o._pageSize=s),null!=c&&(o._pageSizeOptions=c),null!=u&&(o._hidePageSize=u),null!=l&&(o._showFirstLastButtons=l)}return _possibleConstructorReturn(o)}return _createClass(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(ar(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=ar(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(ar(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return ar(e)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=rr(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=rr(e)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex enter",oa("120ms cubic-bezier(0, 0, 0.2, 1)",ua({opacity:1,transform:"scale(1)"}))),da("* => void",oa("100ms 25ms linear",ua({opacity:0})))]),fadeInItems:aa("fadeInItems",[la("showing",ua({opacity:1})),da("void => *",[ua({opacity:0}),oa("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},qf=new a.OlP("MatMenuContent"),Bf=new a.OlP("MAT_MENU_PANEL"),Hf=Us(Fs(function e(){_classCallCheck(this,e)})),Yf=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this))._elementRef=e,o._focusMonitor=r,o._parentMenu=a,o.role="menuitem",o._hovered=new ye.xQ,o._focused=new ye.xQ,o._highlighted=!1,o._triggersSubmenu=!1,a&&a.addItem&&a.addItem(_assertThisInitialized(o)),o}return _createClass(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z".concat(Math.min(4+e,24)),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(De(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(jf))},e.\u0275dir=a.lG2({type:e,contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,qf,5),a.Suo(n,Yf,5),a.Suo(n,Yf,4)),2&e)&&(a.iGM(i=a.CRH())&&(t.lazyContent=i.first),a.iGM(i=a.CRH())&&(t._allItems=i),a.iGM(i=a.CRH())&&(t.items=i))},viewQuery:function(e,t){var n;(1&e&&a.Gf(a.Rgc,5),2&e)&&(a.iGM(n=a.CRH())&&(t.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),Uf=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){return _classCallCheck(this,n),t.call(this,e,i,r)}return n}(Wf);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(jf))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&a.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[a._Bn([{provide:Bf,useExisting:e}]),a.qOj],ngContentSelectors:Pf,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&&(a.F$t(),a.YNc(0,Nf,3,6,"ng-template"))},directives:[r.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[If.transformMenu,If.fadeInItems]},changeDetection:0}),e}(),Kf=new a.OlP("mat-menu-scroll-strategy"),Zf={provide:Kf,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Gf=yr({passive:!0}),Xf=function(){var e=function(){function e(t,n,i,r,o,s,c,u){var l=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=c,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Qe.w.EMPTY,this._hoverSubscription=Qe.w.EMPTY,this._menuCloseSubscription=Qe.w.EMPTY,this._handleTouchStart=function(e){Zr(e)||(l._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new a.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=o instanceof Wf?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Gf),s&&(s._triggersSubmenu=this.triggersSubmenu())}return _createClass(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Gf),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof Wf&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof Wf?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,me.h)(function(e){return"void"===e.toState}),(0,xe.q)(1),fu(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){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)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new el({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})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,c=o,u=n,l=i,h=0;this.triggersSubmenu()?(l=n="before"===this.menu.xPosition?"start":"end",i=u="end"===n?"start":"end",h="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",c="top"===o?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:u,overlayY:a,offsetY:h},{originX:i,originY:s,overlayX:l,overlayY:a,offsetY:h},{originX:n,originY:c,overlayX:u,overlayY:o,offsetY:-h},{originX:i,originY:c,overlayX:l,overlayY:o,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,_e.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,me.h)(function(t){return t!==e._menuItemInstance}),(0,me.h)(function(){return e._menuOpen})):(0,_e.of)();return(0,Fu.T)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){Kr(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var 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())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,me.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),(0,Rf.g)(0,eu)).subscribe(function(){e._openedBy="mouse",e.menu instanceof Wf&&e.menu._isAnimating?e.menu._animationDone.pipe((0,xe.q)(1),(0,Rf.g)(0,eu),fu(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Iu(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(_l),a.Y36(a.SBq),a.Y36(a.s_b),a.Y36(Kf),a.Y36(Bf,8),a.Y36(Yf,10),a.Y36(ta,8),a.Y36(Vr))},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&a.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&a.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),Vf=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[Zf],imports:[js]}),e}(),Jf=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[Zf],imports:[[r.ez,js,vc,Ml,Vf],Ru,js,Vf]}),e}(),Qf=n(1225),$f=n(1055),ep=["*"];function tp(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function np(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function ip(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var rp=function e(t,n,i){_classCallCheck(this,e),this.url=t,this.svgText=n,this.options=i},ap=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,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=i}return _createClass(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new rp(n,null,i))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(a.q3G.HTML,n);if(!r)throw ip(n);return this._addSvgIconConfig(e,t,new rp("",r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new rp(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(a.q3G.HTML,t);if(!i)throw ip(t);return this._addSvgIconSetConfig(e,new rp("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,e);if(!n)throw np(e);var i=this._cachedIconsByUrl.get(n);return i?(0,_e.of)(op(i)):this._loadSvgIconFromConfig(new rp(e,null)).pipe((0,Ve.b)(function(e){return t._cachedIconsByUrl.set(n,e)}),(0,ze.U)(function(e){return op(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=sp(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,Qf._)(tp(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?(0,_e.of)(op(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ze.U)(function(e){return op(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?(0,_e.of)(i):ch(t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe((0,Be.K)(function(t){var i=n._sanitizer.sanitize(a.q3G.RESOURCE_URL,e.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(i," failed: ").concat(t.message))),(0,_e.of)(null)}))})).pipe((0,ze.U)(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw tp(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(r,e,i.options);if(a)return a}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe((0,Ve.b)(function(t){return e.svgText=t}),(0,ze.U)(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?(0,_e.of)(null):this._fetchIcon(e).pipe((0,Ve.b)(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i5&&void 0!==arguments[5])||arguments[5],c=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0;_classCallCheck(this,e),this.store=t,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=c,this.extend=u,this.pending=!1,this._onTranslationChange=new a.vpe,this._onLangChange=new a.vpe,this._onDefaultLangChange=new a.vpe,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}return _createClass(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe((0,xe.q)(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return(0,_e.of)(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe((0,xe.q)(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),(0,_e.of)(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(Mu(1),(0,xe.q)(1));return this.loadingTranslations=n.pipe((0,ze.U)(function(n){return t.compiler.compileTranslations(n,e)}),Mu(1),(0,xe.q)(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?kp(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var r,a={},o=!1,s=_createForOfIteratorHelper(t);try{for(s.s();!(r=s.n()).done;){var c=r.value;a[c]=this.getParsedResult(e,c,n),tu(a[c])&&(o=!0)}}catch(l){s.e(l)}finally{s.f()}return o?ch(t.map(function(e){return tu(a[e])?a[e]:(0,_e.of)(a[e])})).pipe((0,ze.U)(function(e){var n={};return e.forEach(function(e,i){n[t[i]]=e}),n})):a}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var u={key:t,translateService:this};void 0!==n&&(u.interpolateParams=n),i=this.missingTranslationHandler.handle(u)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!Ap(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,He.b)(function(i){return tu(i=n.getParsedResult(i,e,t))?i:(0,_e.of)(i)}));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return tu(i)?i:(0,_e.of)(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!Ap(e)||!e.length)throw new Error('Parameter "key" required');return Te(Se(function(){return n.get(e,t)}),this.onTranslationChange.pipe((0,Oe.w)(function(i){var r=n.getParsedResult(i.translations,e,t);return"function"==typeof r.subscribe?r:(0,_e.of)(r)})))}},{key:"stream",value:function(e,t){var n=this;if(!Ap(e)||!e.length)throw new Error('Parameter "key" required');return Te(Se(function(){return n.get(e,t)}),this.onLangChange.pipe((0,Oe.w)(function(i){var r=n.getParsedResult(i.translations,e,t);return tu(r)?r:(0,_e.of)(r)})))}},{key:"instant",value:function(e,t){if(!Ap(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(tu(n)){if(e instanceof Array){var i={};return e.forEach(function(t,n){i[e[n]]=e[n]}),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(Ep),a.LFG(mp),a.LFG(Lp),a.LFG(Cp),a.LFG(_p),a.LFG(Op),a.LFG(zp),a.LFG(Rp),a.LFG(xp))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),Pp=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.translate=t,this._ref=n,this.value=""}return _createClass(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var a=this.translate.getParsedResult(n,e,t);tu(a.subscribe)?a.subscribe(r):r(a)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:mp,useClass:vp},t.compiler||{provide:Lp,useClass:Sp},t.parser||{provide:Cp,useClass:Tp},t.missingTranslationHandler||{provide:_p,useClass:yp},Ep,{provide:zp,useValue:t.isolate},{provide:Op,useValue:t.useDefaultLang},{provide:Rp,useValue:t.extend},{provide:xp,useValue:t.defaultLanguage},Dp]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:mp,useClass:vp},t.compiler||{provide:Lp,useClass:Sp},t.parser||{provide:Cp,useClass:Tp},t.missingTranslationHandler||{provide:_p,useClass:yp},{provide:zp,useValue:t.isolate},{provide:Op,useValue:t.useDefaultLang},{provide:Rp,useValue:t.extend},{provide:xp,useValue:t.defaultLanguage},Dp]}}}]),e}()).\u0275fac=function(e){return new(e||Mp)},Mp.\u0275mod=a.oAB({type:Mp}),Mp.\u0275inj=a.cJS({}),Mp),Ip=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[],imports:[[xf,Jf,gp,qc,Np,r.ez]]}),e}();function qp(e,t){}var Bp=function e(){_classCallCheck(this,e),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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},Hp={dialogContainer:aa("dialogContainer",[la("void, exit",ua({opacity:0,transform:"scale(0.7)"})),la("enter",ua({transform:"none"})),da("* => enter",oa("150ms cubic-bezier(0, 0, 0.2, 1)",ua({transform:"none",opacity:1}))),da("* => void, * => exit",oa("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ua({opacity:0})))])},Yp=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c){var u;return _classCallCheck(this,n),(u=t.call(this))._elementRef=e,u._focusTrapFactory=i,u._changeDetectorRef=r,u._config=s,u._focusMonitor=c,u._animationStateChanged=new a.vpe,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u.attachDomPortal=function(e){return u._portalOutlet.hasAttached(),u._portalOutlet.attachDomPortal(e)},u._ariaLabelledBy=s.ariaLabelledBy||null,u._document=o,u}return _createClass(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=kr(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=kr())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=kr();return e===t||e.contains(t)}}]),n}(Bu);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(jr),a.Y36(a.sBO),a.Y36(r.K0,8),a.Y36(Bp),a.Y36(Vr))},e.\u0275dir=a.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&a.Gf(Yu,7),2&e)&&(a.iGM(n=a.CRH())&&(t._portalOutlet=n.first))},features:[a.qOj]}),e}(),jp=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._state="enter",e}return _createClass(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(Yp);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&a.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(a.Ikx("id",t._id),a.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),a.d8E("@dialogContainer",t._state))},features:[a.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&a.YNc(0,qp,0,0,"ng-template",0)},directives:[Yu],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:[Hp.dialogContainer]}}),t}(),Fp=0,Wp=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+Fp++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ye.xQ,this._afterClosed=new ye.xQ,this._beforeClosed=new ye.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,me.h)(function(e){return"opened"===e.state}),(0,xe.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,me.h)(function(e){return"closed"===e.state}),(0,xe.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe((0,me.h)(function(e){return 27===e.keyCode&&!i.disableClose&&!tr(e)})).subscribe(function(e){e.preventDefault(),Up(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():Up(i,"mouse")})}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,me.h)(function(e){return"closing"===e.state}),(0,xe.q)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function Up(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var Kp,Zp=new a.OlP("MatDialogData"),Gp=new a.OlP("mat-dialog-default-options"),Xp=new a.OlP("mat-dialog-scroll-strategy"),Vp={provide:Xp,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},Jp=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u){var l=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=a,this._dialogRefConstructor=s,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ye.xQ,this._afterOpenedAtThisLevel=new ye.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=Se(function(){return l.openDialogs.length?l._getAfterAllClosed():l._getAfterAllClosed().pipe(De(void 0))}),this._scrollStrategy=o}return _createClass(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new Bp)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),r._initializeWithAttachedContent(),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new el({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}},{key:"_attachDialogContainer",value:function(e,t){var n=a.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Bp,useValue:t}]}),i=new Nu(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof a.Rgc)t.attachTemplatePortal(new Iu(e,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,t),s=t.attachComponentPortal(new Nu(e,i.viewContainerRef,o));r.componentInstance=s.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(ta,null,a.XFs.Optional)||r.push({provide:ta,useValue:{value:e.direction,change:(0,_e.of)()}}),a.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(_l),a.Y36(a.zs3),a.Y36(void 0),a.Y36(void 0),a.Y36(sl),a.Y36(void 0),a.Y36(a.DyG),a.Y36(a.DyG),a.Y36(a.OlP))},e.\u0275dir=a.lG2({type:e}),e}(),Qp=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c){return _classCallCheck(this,n),t.call(this,e,i,a,s,c,o,Wp,jp,Zp)}return n}(Jp);return e.\u0275fac=function(t){return new(t||e)(a.LFG(_l),a.LFG(a.zs3),a.LFG(r.Ye,8),a.LFG(Gp,8),a.LFG(Xp),a.LFG(e,12),a.LFG(sl))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),$p=0,eg=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+$p++}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp,8),a.Y36(a.SBq),a.Y36(Qp))},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&a.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),tg=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),ng=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}(),ig=((Kp=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Kp)},Kp.\u0275mod=a.oAB({type:Kp}),Kp.\u0275inj=a.cJS({providers:[Qp,Vp],imports:[[Ml,ju,js],js]}),Kp),rg=n(2051),ag=[5,10,25,100];function og(){var e=new Bp;return e.disableClose=!0,e.autoFocus=!1,e}function sg(e){return"virt"===e.namespace.split(":")[4]}var cg=new Intl.Collator("cs",{numeric:!0});function ug(e,t,n,i){var r=t.active,a=t.direction;return r&&""!==a?e.sort(function(e,t){var o=n(e,r,i),s=n(t,r,i);return cg.compare(o,s)*("asc"===a?1:-1)}):e}function lg(e,t,n,i,r,a){t=t.toLowerCase();var o="";return n.forEach(function(t){o+=";"+i(e,t,r)}),a&&(o+=";"+i(e,"uuid",r)),-1!==o.toLowerCase().indexOf(t)}function hg(e,t,n,i){var r=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return t=t.filter(function(e){return!a.includes(e)}),e.forEach(function(e){var a={};t.forEach(function(t){var r;a[t]=(null!==(r=n(e,t,i))&&void 0!==r?r:"").split('"').join("''").trim()}),r.push(a)}),r}function dg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"export";switch(t){case"csv":var i=function(e,t){return null===t?"":t},r=Object.keys(e[0]),a=e.map(function(e){return r.map(function(t){return JSON.stringify(e[t],i)}).join(",")});a.unshift(r.join(",").split(" ").join("_").split('"').join("''"));var o=a.join("\r\n"),s=new Blob([o],{type:"text/csv"});(0,rg.saveAs)(s,"".concat(n,".").concat(t))}}var fg=function(){var e=function e(){_classCallCheck(this,e),this.exportData=new a.vpe};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div",0),a.TgZ(1,"button",1),a.TgZ(2,"mat-icon"),a._uU(3,"more_vert"),a.qZA(),a.qZA(),a.TgZ(4,"mat-menu",null,2),a.TgZ(6,"button",3),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.qZA(),a.TgZ(9,"mat-menu",null,4),a.TgZ(11,"button",5),a.NdJ("click",function(){return t.exportData.emit("csv")}),a._uU(12,"Csv"),a.qZA(),a.qZA(),a.qZA()),2&e){var n=a.MAs(5),i=a.MAs(10);a.xp6(1),a.Q6J("matMenuTriggerFor",n),a.xp6(5),a.Q6J("matMenuTriggerFor",i),a.xp6(1),a.hij(" ",a.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Ic,Xf,pp,Uf,Yf],pipes:[Pp],styles:[""]}),e}();function pg(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-table-options",6),a.NdJ("exportData",function(e){return a.CHM(n),a.oxw().exportData.emit(e)}),a.qZA()}}var gg,mg=["*"],vg=((gg=function(){function e(){_classCallCheck(this,e),this.hideExport=!1,this.page=new a.vpe,this.pageSizeOptions=ag,this.pageSize=5,this.dataLength=0,this.exportData=new a.vpe}return _createClass(e,[{key:"matPaginator",set:function(e){this.paginator=e}},{key:"pageChanged",value:function(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.page.emit(e),this.paginator.page.emit(e)}}]),e}()).\u0275fac=function(e){return new(e||gg)},gg.\u0275cmp=a.Xpm({type:gg,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){var n;1&e&&a.Gf(Of,7),2&e&&a.iGM(n=a.CRH())&&(t.matPaginator=n.first)},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:mg,decls:7,vars:8,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&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"mat-paginator",2),a.NdJ("page",function(e){return t.page.emit(e)}),a.qZA(),a.YNc(3,pg,1,0,"perun-web-apps-table-options",3),a.qZA(),a.TgZ(4,"div",4),a.Hsn(5),a.qZA(),a.TgZ(6,"mat-paginator",5),a.NdJ("page",function(e){return t.pageChanged(e)}),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),a.xp6(1),a.Q6J("ngIf",!t.hideExport),a.xp6(3),a.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize))},directives:[Of,r.O5,fg],styles:[""]}),gg),_g=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"passwordMatchValidator",value:function(e){e.get("passwordCtrl").value!==e.get("passwordAgainCtrl").value&&e.get("passwordAgainCtrl").setErrors({noPasswordMatch:!0})}},{key:"patternValidator",value:function(e){return function(t){if(!t.value)return null;var n,i=0,r=_createForOfIteratorHelper(e);try{for(r.s();!(n=r.n()).done;){i+=n.value.test(t.value)?1:0}}catch(a){r.e(a)}finally{r.f()}return i>=3?null:{isWeak:!0}}}}]),e}(),yg=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialogRef=t}return _createClass(e,[{key:"close",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a._uU(4),a.ALo(5,"translate"),a.qZA(),a.TgZ(6,"div",2),a.TgZ(7,"div",3),a.TgZ(8,"button",4),a.NdJ("click",function(){return t.close()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),a.xp6(3),a.hij(" ",a.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),a.xp6(5),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[eg,tg,ng,Ic],pipes:[Pp],styles:[""]}),e}(),bg=function(){var e=function(){function e(){_classCallCheck(this,e),this.branding=""}return _createClass(e,[{key:"setInstanceConfig",value:function(e){this.instanceConfig=e}},{key:"setDefaultConfig",value:function(e){this.defaultConfig=e}},{key:"setPerunPrincipal",value:function(e){this.principal=e}},{key:"getPerunPrincipal",value:function(){return this.principal}},{key:"getInitialPageId",value:function(){return this.initialPageId}},{key:"setInitialPageId",value:function(e){this.initialPageId=e}},{key:"getLoginAttributeNames",value:function(){return this.get("login_namespace_attributes")}},{key:"getMemberProfileAttributeNames",value:function(){return this.get("member_profile_attributes_friendly_names")}},{key:"setBanding",value:function(e){this.branding=e}},{key:"skipOidc",value:function(){return this.get("skip_oidc")}},{key:"get",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]: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)}},{key:"showError",value:function(e,t,n,i,r){this.addNotification.emit({type:"error",error:t,description:n,title:e,actionText:void 0===i&&void 0!==n?this.getDefaultActionMessage():i,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}},{key:"showSuccess",value:function(e,t,n,i){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===n&&void 0!==t?this.getDefaultActionMessage():n,delay:this.defaultSuccessDelayMs,icon:"done",action:i,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(Dp))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Sg=function(){var e=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.authService=t,this.apiRequestConfiguration=n,this.notificator=i,this.store=r,this.dialog=a,this.initAuthService=o}return _createClass(e,[{key:"intercept",value:function(e,t){var n=this,i=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==e.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){var r=og();r.width="450px",this.dialog.open(yg,r).afterClosed().subscribe(function(){n.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});var a=this.apiRequestConfiguration.shouldHandleError(),o="POST"===e.method&&!this.store.skipOidc();return t.handle(e).pipe((0,Ve.b)(function(e){e instanceof ee.Zn&&o&&n.initAuthService.loadPrincipal()},function(t){var i=n.formatErrors(t,e);return void 0===i?(0,Qf._)(t):a?void n.notificator.showRPCError(i):(0,Qf._)(i)}))}},{key:"formatErrors",value:function(e,t){var n;if(console.error(e),e.error.errorId?n=e.error:e.errorId&&(n=JSON.parse(e.error)),void 0!==n)return n.urlWithParams=t.urlWithParams,n.call=t.url,n.payload=t.body,n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(wg),a.LFG(Tg),a.LFG(Lg),a.LFG(bg),a.LFG(Qp),a.LFG(Mg))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),Eg=function(){var e=function(){function e(){_classCallCheck(this,e),this.notificationData=[],this.newNotificationsCount=0}return _createClass(e,[{key:"storeNotification",value:function(e){this.newNotificationsCount++,this.notificationData.push(e)}},{key:"getNotifications",value:function(){return this.notificationData.reverse()}},{key:"clearNotifications",value:function(){this.notificationData=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),zg=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.http=t,this.notificator=n,this.authService=i,this.storeService=r}return _createClass(e,[{key:"getApiUrl",value:function(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}},{key:"formatErrors",value:function(e,t,n,i){var r=e.error;return r.call=t,r.payload=n,i&&this.notificator.showRPCError(e.error),(0,Qf._)(r)}},{key:"getHeaders",value:function(){var e=new ee.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue())}},{key:"get",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]||new ee.LE,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),i="".concat(this.getApiUrl()).concat(e);return this.http.get(i,{headers:this.getHeaders()}).pipe((0,Be.K)(function(e){return t.formatErrors(e,i,null,n)}))}},{key:"put",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),a=JSON.stringify(n);return this.http.put(r,a,{headers:this.getHeaders()}).pipe((0,Be.K)(function(e){return t.formatErrors(e,r,a,i)}))}},{key:"post",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),a=JSON.stringify(n),o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,a,{headers:o}).pipe((0,Be.K)(function(e){return t.formatErrors(e,r,a,i)}))}},{key:"delete",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i="".concat(this.getApiUrl()).concat(e);return this.http.delete(i,{headers:this.getHeaders()}).pipe((0,Be.K)(function(e){return t.formatErrors(e,i,null,n)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(ee.eN),a.LFG(Lg),a.LFG(wg),a.LFG(bg))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Og=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isAllSelectedWithDisabledCheckbox",value:function(e,t,n,i,r,a,o,s){var c=this;return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*n,this.pageEnd=this.pageStart+n,this.pageIterator=0,this.dataLength=""===t?a.data.length:a.filteredData.length,i||(this.modulo=this.dataLength%n,this.pageEnd=0===this.modulo?this.pageStart+n:this.pageStart+this.modulo),a.sortData(a.filteredData,o).forEach(function(e){c.pageStart<=c.pageIterator&&c.pageIterator closed",[oa(".3s ease-in")])]);var xg=aa("flyInOut",[da(":enter",[ua({transform:"translateX(100%)"}),oa(".25s")]),da(":leave",[oa(".5s",ua({transform:"translateX(100%)"}))])]);aa("rollInOut",[da(":enter",[ua({height:"0px"}),oa(".25s")]),da(":leave",[oa(".25s",ua({height:"0px"}))])]),aa("routeAnimations",[da("* => *",[ua({position:"relative"}),pa(":enter",[ua({width:"100%",opacity:0})],{optional:!0}),pa(":leave",[ua({position:"absolute",width:"100%",opacity:1}),oa("0.15s",ua({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),pa(":enter",[ua({position:"absolute",width:"100%",opacity:0}),oa("0.15s",ua({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),aa("tagsOpenClose",[la("open",ua({})),la("closed",ua({width:"0px",height:"0px"})),da("open <=> closed",[oa(".3s ease-in")])]),aa("switchAnimations",[da("true => false",[pa(":enter, :leave",ua({})),sa([pa(":enter",[ua({transform:"translateX(-100%)"}),oa("1s ease-in-out",ua({transform:"translateX(0%)"}))],{optional:!0}),pa(":leave",[ua({transform:"translateX(0%)",position:"absolute"}),oa("1s ease-in-out",ua({transform:"translateX(100%)"}))],{optional:!0})])]),da("false => true",[pa(":enter, :leave",ua({})),sa([pa(":enter",[ua({transform:"translateX(100%)"}),oa("1s ease-in-out",ua({transform:"translateX(0%)"}))],{optional:!0}),pa(":leave",[ua({transform:"translateX(0%)",position:"absolute"}),oa("1s ease-in-out",ua({transform:"translateX(-100%)"}))],{optional:!0})])])]),aa("slideInOutLeft",[da(":enter",[ua({transform:"translateX(-100%)",position:"relative"}),oa("0.5s ease-in",ua({transform:"translateX(0%)"}))]),da(":leave",[oa("0.5s ease-in",ua({transform:"translateX(-100%)"}))])]),aa("slideInOutRight",[da(":enter",[ua({transform:"translateX(100%)",position:"fixed"}),oa("0.5s ease-in",ua({transform:"translateX(0%)"}))]),da(":leave",[ua({transform:"translateX(-100%)",position:"relative"}),oa("0.5s ease-in",ua({transform:"translateX(100%)"}))])]);var Rg,Dg=((Rg=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Rg)},Rg.\u0275mod=a.oAB({type:Rg}),Rg.\u0275inj=a.cJS({imports:[[r.ez]]}),Rg),Pg=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t="";return null!==e.titleBefore&&(t+=e.titleBefore+" "),null!==e.firstName&&(t+=e.firstName+" "),null!==e.middleName&&(t+=e.middleName+" "),null!==e.lastName&&(t+=e.lastName+" "),null!==e.titleAfter&&(t+=e.titleAfter+" "),t.endsWith(" ")&&(t=t.substring(0,t.length-1)),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"userFullName",type:e,pure:!0}),e}(),Ng=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.translate=t,this.storage=n}return _createClass(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=this.storage.get("custom_labels");if(n)for(var i=Object.keys(n),r=0,a=i;r0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(t||this._minRows!==this._previousMinRows||i!==this._previousValue){var r=this._measureScrollHeight(),a=Math.max(r,this._cachedPlaceholderHeight||0);n.style.height="".concat(a,"px"),this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return e._scrollToCaretPosition(n)}):setTimeout(function(){return e._scrollToCaretPosition(n)})}),this._previousValue=i,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(e){var t=e.selectionStart,n=e.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==e||e.setSelectionRange(t,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(gr),a.Y36(a.R0b),a.Y36(r.K0,8))},e.\u0275dir=a.lG2({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&a.NdJ("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),e}(),Qg=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[mr]]}),e}(),$g=new a.OlP("MAT_INPUT_VALUE_ACCESSOR"),em=["button","checkbox","file","hidden","image","radio","range","reset","submit"],tm=0,nm=Zs(function e(t,n,i,r){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),im=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u,l,h){var d;_classCallCheck(this,n),(d=t.call(this,s,a,o,r))._elementRef=e,d._platform=i,d.ngControl=r,d._autofillMonitor=u,d._formField=h,d._uid="mat-input-"+tm++,d.focused=!1,d.stateChanges=new ye.xQ,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._required=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(e){return _r().has(e)});var f=d._elementRef.nativeElement,p=f.nodeName.toLowerCase();return d._inputValueAccessor=c||f,d._previousNativeValue=d.value,d.id=d.id,i.IOS&&l.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||0!==t.selectionStart||0!==t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===p,d._isTextarea="textarea"===p,d._isNativeSelect&&(d.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select"),d}return _createClass(n,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=rr(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=rr(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&_r().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=rr(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var e,t,n=(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(n!==this._previousPlaceholder){var i=this._elementRef.nativeElement;this._previousPlaceholder=n,n?i.setAttribute("placeholder",n):i.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){em.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var 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}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(nm);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(gr),a.Y36(qh,10),a.Y36(fd,8),a.Y36(Cd,8),a.Y36(ac),a.Y36($g,10),a.Y36(Vg),a.Y36(a.R0b),a.Y36(rh,8))},e.\u0275dir=a.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&a.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(a.Ikx("disabled",t.disabled)("required",t.required),a.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),a.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[a._Bn([{provide:Zl,useExisting:e}]),a.qOj,a.TTD]}),e}(),rm=((jg=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||jg)},jg.\u0275mod=a.oAB({type:jg}),jg.\u0275inj=a.cJS({providers:[ac],imports:[[Qg,oh,js],Qg,oh]}),jg);function am(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function om(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function sm(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function cm(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",8),a.TgZ(1,"mat-form-field"),a.TgZ(2,"mat-label"),a._uU(3),a.ALo(4,"translate"),a.qZA(),a.TgZ(5,"input",9,10),a.NdJ("ngModelChange",function(e){return a.CHM(n),a.oxw().subject=e}),a.qZA(),a.YNc(7,om,3,3,"mat-error",11),a.qZA(),a.TgZ(8,"mat-form-field"),a.TgZ(9,"mat-label"),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.TgZ(12,"textarea",12,13),a.NdJ("ngModelChange",function(e){return a.CHM(n),a.oxw().message=e}),a.ALo(14,"translate"),a._uU(15," "),a.qZA(),a.YNc(16,sm,3,3,"mat-error",11),a.qZA(),a.qZA()}if(2&e){var i=a.MAs(6),r=a.MAs(13),o=a.oxw();a.xp6(3),a.Oqu(a.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),a.xp6(2),a.Q6J("ngModel",o.subject),a.xp6(2),a.Q6J("ngIf",i.invalid),a.xp6(3),a.Oqu(a.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),a.xp6(2),a.s9C("placeholder",a.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),a.Q6J("ngModel",o.message),a.xp6(4),a.Q6J("ngIf",r.invalid)}}var um=function(){var e=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.dialogRef=t,this.translate=n,this.notificator=i,this.rtMessages=r,this.data=a,this.storeService=o,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}},{key:"sendBugReport",value:function(){var e=this;this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){e.notificator.showSuccess(e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),e.dialogRef.close()},function(){e.loading=!1,e.dialogRef.afterClosed().subscribe(function(){})})}},{key:"getFullEmailBody",value:function(){var e=this.storeService.get("config"),t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n")).concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){var i=JSON.stringify(this.data.error.payload);i=i.replace(/"password":".+?"/,'"password":"####"'),t=t.concat("Payload:\n"+i+"\n\n")}return(t=t.concat("Sended from new Perun Gui, version: "+n(306).i8)).split("\n").join("\n ")}},{key:"parseMethod",value:function(e){return e?this.methodRegexp.exec(e)[1]:e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Dp),a.Y36(Lg),a.Y36(ce),a.Y36(Zp),a.Y36(bg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.YNc(3,am,1,0,"mat-spinner",1),a.YNc(4,cm,17,13,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"div",4),a.TgZ(7,"button",5),a.NdJ("click",function(){return t.dialogRef.close()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",6),a.NdJ("click",function(){return t.sendBugReport()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(4),a.hij(" ",a.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),a.xp6(2),a.Q6J("disabled",""===t.message||""===t.subject||t.loading),a.xp6(1),a.hij(" ",a.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[eg,r.O5,ng,Ic,Zg,tg,ah,Jl,im,gh,Ed,Hh,md,Ul],pipes:[Pp],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),lm=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this.dialog=n,this.data=i}return _createClass(e,[{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onBugReportClick",value:function(){var e=this;this.dialogRef.afterClosed().subscribe(function(){var t=og();t.width="550px",t.data={error:e.data.error},t.autoFocus=!1,e.dialog.open(um,t)}),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Qp),a.Y36(Zp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a._uU(3),a.qZA(),a.TgZ(4,"div",2),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return t.onBugReportClick()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a.NdJ("click",function(){return t.onCloseClick()}),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(t.data.title),a.xp6(2),a.hij("\n",t.data.description,"\n"),a.xp6(3),a.Q6J("hidden","error"!==t.data.type),a.xp6(1),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),a.xp6(3),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[eg,tg,ng,Ic],pipes:[Pp],styles:[""]}),e}(),hm=[[["caption"]],[["colgroup"],["col"]]],dm=["caption","colgroup, col"];function fm(e){return function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;_classCallCheck(this,n);for(var i=arguments.length,r=new Array(i),a=0;a4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=a,this._needsPositionStickyOnElement=o,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(n,"-border-elem-top"),bottom:"".concat(n,"-border-elem-bottom"),left:"".concat(n,"-border-elem-left"),right:"".concat(n,"-border-elem-right")}}return _createClass(e,[{key:"clearStickyPositioning",value:function(e,t){var n,i=this,r=[],a=_createForOfIteratorHelper(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.nodeType===o.ELEMENT_NODE){r.push(o);for(var s=0;s3&&void 0!==arguments[3])||arguments[3];if(e.length&&this._isBrowser&&(t.some(function(e){return e})||n.some(function(e){return e}))){var a=e[0],o=a.children.length,s=this._getCellWidths(a,r),c=this._getStickyStartColumnPositions(s,t),u=this._getStickyEndColumnPositions(s,n),l=t.lastIndexOf(!0),h=n.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var r,a="rtl"===i.direction,d=a?"right":"left",f=a?"left":"right",p=_createForOfIteratorHelper(e);try{for(p.s();!(r=p.n()).done;)for(var g=r.value,m=0;m1&&void 0!==arguments[1])||arguments[1];if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var n=[],i=e.children,r=0;r0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}}]),e}(),qm=new a.OlP("CDK_SPL"),Bm=function(){var e=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","rowOutlet",""]]}),e}(),Hm=function(){var e=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),Ym=function(){var e=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),jm=function(){var e=function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","noDataRowOutlet",""]]}),e}(),Fm=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u,l,h){_classCallCheck(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=s,this._viewRepeater=c,this._coalescedStyleScheduler=u,this._viewportRuler=l,this._stickyPositioningListener=h,this._onDestroy=new ye.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new Ae({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return _createClass(e,[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=rr(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(e){this._fixedLayout=rr(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}),this._viewportRuler.change().pipe(fu(this._onDestroy)).subscribe(function(){e._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,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()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Cu(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,function(t,n,i){return e._getEmbeddedViewArgs(t.item,i)},function(e){return e.item.data},function(t){1===t.operation&&t.context&&e._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(function(e){n.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(e){this._customNoDataRow=e}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(t),_toConsumableArray(n),_toConsumableArray(i)),["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach(function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])}),this._rowDefs.forEach(function(t){for(var i=[],r=0;r0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(t,n){return e._renderRow(e._headerRowOutlet,t,n)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(t,n){return e._renderRow(e._footerRowOutlet,t,n)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map(function(e){return n._columnDefsByName.get(e)}),r=i.map(function(e){return e.sticky}),a=i.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:{},r=e.viewContainer.createEmbeddedView(t.template,i,n);return this._renderCellTemplateForItem(t,i),r}},{key:"_renderCellTemplateForItem",value:function(e,t){var n,i=_createForOfIteratorHelper(this._getCellTemplates(e));try{for(i.s();!(n=i.n()).done;){var r=n.value;xm.mostRecentCellOutlet&&xm.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t)}}catch(a){i.e(a)}finally{i.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,n),(e=t.call(this))._renderData=new Ae([]),e._filter=new Ae(""),e._internalPageChanges=new ye.xQ,e._renderChangesSubscription=null,e.sortingDataAccessor=function(e,t){var n=e[t];if(or(n)){var i=Number(n);return i<9007199254740991?i:n}return n},e.sortData=function(t,n){var i=n.active,r=n.direction;return i&&""!=r?t.sort(function(t,n){var a=e.sortingDataAccessor(t,i),o=e.sortingDataAccessor(n,i),s=typeof a,c=typeof o;s!==c&&("number"===s&&(a+=""),"number"===c&&(o+=""));var u=0;return null!=a&&null!=o?a>o?u=1:a0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,t._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var e;null===(e=this._renderChangesSubscription)||void 0===e||e.unsubscribe(),this._renderChangesSubscription=null}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()));function sv(e,t){1&e&&a._UZ(0,"mat-spinner",3)}function cv(e,t){1&e&&a._UZ(0,"th",15)}function uv(e,t){if(1&e&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.hij(" ",n.userExtSource.extSource.name," ")}}function lv(e,t){1&e&&a._UZ(0,"tr",17)}function hv(e,t){1&e&&a._UZ(0,"tr",18)}function dv(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",4),a.TgZ(2,"p"),a._uU(3),a.ALo(4,"translate"),a.ALo(5,"customTranslate"),a.qZA(),a.TgZ(6,"div",5),a._uU(7),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.TgZ(10,"table",6),a.ynx(11,7),a.YNc(12,cv,1,0,"th",8),a.YNc(13,uv,2,1,"td",9),a.BQk(),a.YNc(14,lv,1,0,"tr",10),a.YNc(15,hv,1,0,"tr",11),a.qZA(),a.qZA(),a.TgZ(16,"div",12),a.TgZ(17,"button",13),a.NdJ("click",function(){return a.CHM(n),a.oxw().onCancel()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.TgZ(21,"button",14),a.NdJ("click",function(){return a.CHM(n),a.oxw().onSubmit()}),a._uU(22),a.ALo(23,"translate"),a.ALo(24,"customTranslate"),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(3),a.hij(" ",a.lcZ(4,7,a.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),a.xp6(4),a.hij(" ",a.lcZ(8,11,a.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),a.xp6(3),a.Q6J("dataSource",i.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",i.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",i.displayedColumns),a.xp6(3),a.hij(" ",a.lcZ(19,15,a.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),a.xp6(4),a.hij(" ",a.lcZ(23,19,a.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}var fv,pv=function(){var e=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.usersManagerService=i,this.translate=r,this.notificator=a,this.force=!1,this.displayedColumns=["name"],r.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(function(e){return o.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new ov(this.data.extSources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(function(){e.onSubmit()},function(){return e.loading=!1}):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(he),a.Y36(Dp),a.Y36(Lg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div"),a.YNc(5,sv,1,0,"mat-spinner",1),a.YNc(6,dv,25,23,"div",2),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,a.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),a.xp6(3),a.Tol(t.theme),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[eg,r.O5,Zg,tg,Xm,Qm,Jm,Vm,tv,nv,ng,Ic,$m,ev,iv,rv],pipes:[Pp,Ng],styles:[""]}),e}(),gv=function(){function e(t,n){_classCallCheck(this,e),this._document=n;var i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}return _createClass(e,[{key:"copy",value:function(){var e=this._textarea,t=!1;try{if(e){var n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(sE){}return t}},{key:"destroy",value:function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}]),e}(),mv=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"copy",value:function(e){var t=this.beginCopy(e),n=t.copy();return t.destroy(),n}},{key:"beginCopy",value:function(e){return new gv(e,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),vv=new a.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG"),_v=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._clipboard=t,this._ngZone=n,this.text="",this.attempts=1,this.copied=new a.vpe,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}return _createClass(e,[{key:"copy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(t>1){var n=t,i=this._clipboard.beginCopy(this.text);this._pending.add(i);var r=function t(){var r=i.copy();r||!--n||e._destroyed?(e._currentTimeout=null,e._pending.delete(i),i.destroy(),e.copied.emit(r)):e._currentTimeout=e._ngZone.runOutsideAngular(function(){return setTimeout(t,1)})};r()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(e){return e.destroy()}),this._pending.clear(),this._destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(mv),a.Y36(a.R0b),a.Y36(vv,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),e}(),yv=((fv=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||fv)},fv.\u0275mod=a.oAB({type:fv}),fv.\u0275inj=a.cJS({}),fv),bv=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialogRef=t,this.data=n}return _createClass(e,[{key:"ngOnInit",value:function(){this.value=this.data.value,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a.TgZ(3,"textarea",2),a._uU(4),a.qZA(),a.qZA(),a.TgZ(5,"div",3),a.TgZ(6,"button",4),a.NdJ("click",function(){return t.onCancel()}),a._uU(7),a.ALo(8,"translate"),a.qZA(),a.TgZ(9,"button",5),a._uU(10),a.ALo(11,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(t.title),a.xp6(3),a.Oqu(t.value),a.xp6(3),a.hij(" ",a.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),a.xp6(2),a.Q6J("cdkCopyToClipboard",t.value),a.xp6(1),a.hij(" ",a.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[eg,tg,Jg,im,ng,Ic,_v],pipes:[Pp],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),e}(),Av=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.attributeValue=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.attributeValue=this.data.attribute.value[this.data.index]}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"mat-form-field"),a.TgZ(5,"textarea",2),a.NdJ("ngModelChange",function(e){return t.attributeValue=e}),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"div",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return t.cancel()}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.TgZ(10,"button",5),a.NdJ("click",function(){return t.submit()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),a.xp6(4),a.Q6J("ngModel",t.attributeValue),a.xp6(3),a.hij(" ",a.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[eg,tg,ah,Jg,im,gh,Hh,md,ng,Ic],pipes:[Pp],styles:[""]}),e}(),wv=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialogRef=t,this.data=n}return _createClass(e,[{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h5",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"div"),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"div",2),a._uU(8),a.qZA(),a.qZA(),a.TgZ(9,"div",3),a.TgZ(10,"button",4),a.NdJ("click",function(){return t.cancel()}),a._uU(11),a.ALo(12,"translate"),a.qZA(),a.TgZ(13,"button",5),a.NdJ("click",function(){return t.submit()}),a._uU(14),a.ALo(15,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),a.xp6(4),a.hij(" ",a.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),a.xp6(3),a.hij(" ",t.data.name," "),a.xp6(3),a.hij(" ",a.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),a.xp6(3),a.hij(" ",a.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[eg,tg,ng,Ic],pipes:[Pp],styles:[""]}),e}();function kv(e,t){1&e&&(a.TgZ(0,"mat-icon",2),a._uU(1," error "),a.qZA())}var Mv=["*"],Cv=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:Mv,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.YNc(1,kv,2,0,"mat-icon",1),a.Hsn(2),a.qZA()),2&e&&(a.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("info-alert","info"===t.alert_type),a.xp6(1),a.Q6J("ngIf","error"!==t.alert_type))},directives:[r.O5,pp],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),e}();function Tv(e,t){if(1&e&&(a.TgZ(0,"app-alert",9),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(n.pendingEmailsMessage)}}function Lv(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}var Sv,Ev=function(){var e=function(){function e(t,n,i,r,a,o){var s=this;_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.translate=i,this.notificator=r,this.usersManagerService=a,this.authService=o,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(function(e){return s.successMessage=e}),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(function(e){return s.pendingEmailsMessageStart=e}),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(function(e){return s.pendingEmailsMessageEnd=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.emailControl=new cd(null,[Ah.required,Ah.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(function(t){e.pendingMails=t.filter(function(e,t,n){return t===n.indexOf(e)});var n="";e.pendingMails.forEach(function(t){return n+="".concat(t===e.pendingMails[0]?"":", ").concat(t)}),console.log(n),e.pendingEmailsMessage=e.pendingEmailsMessageStart+n+e.pendingEmailsMessageEnd})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,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(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(Dp),a.Y36(Lg),a.Y36(he),a.Y36(wg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,Tv,2,1,"app-alert",2),a.TgZ(6,"mat-form-field",3),a.TgZ(7,"label",3),a._UZ(8,"input",4),a.ALo(9,"translate"),a.ALo(10,"customTranslate"),a.qZA(),a.YNc(11,Lv,4,5,"mat-error",5),a.qZA(),a.qZA(),a.TgZ(12,"div",6),a.TgZ(13,"button",7),a.NdJ("click",function(){return t.onCancel()}),a._uU(14),a.ALo(15,"translate"),a.ALo(16,"customTranslate"),a.qZA(),a.TgZ(17,"button",8),a.NdJ("click",function(){return t.onSubmit()}),a._uU(18),a.ALo(19,"translate"),a.ALo(20,"customTranslate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,8,a.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),a.xp6(4),a.Q6J("ngIf",t.pendingMails.length),a.xp6(3),a.s9C("placeholder",a.lcZ(9,12,a.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),a.Q6J("formControl",t.emailControl),a.xp6(3),a.Q6J("ngIf",t.emailControl.invalid),a.xp6(3),a.hij(" ",a.lcZ(15,16,a.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),a.xp6(3),a.Q6J("disabled",!t.emailControl.valid),a.xp6(1),a.hij(" ",a.lcZ(19,20,a.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[eg,tg,r.O5,ah,im,gh,Ed,Hh,kd,ng,Ic,Cv,Ul],pipes:[Pp,Ng],styles:[""]}),e}(),zv=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialogRef=t,this.router=n}return _createClass(e,[{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(zi))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"app-alert",2),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA(),a.TgZ(7,"div",3),a.TgZ(8,"button",4),a.NdJ("click",function(){return t.onClose()}),a._uU(9),a.ALo(10,"translate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),a.xp6(4),a.Oqu(a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),a.xp6(4),a.hij(" ",a.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[eg,tg,Cv,ng,Ic],pipes:[Pp],styles:[""]}),e}(),Ov=["input"],xv=function(e){return{enterDuration:e}},Rv=["*"],Dv=new a.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),Pv=0,Nv={provide:dh,useExisting:(0,a.Gpc)(function(){return Hv}),multi:!0},Iv=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},qv=new a.OlP("MatRadioGroup"),Bv=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+Pv++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new a.vpe}return _createClass(e,[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=rr(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=rr(e),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach(function(t){t.name=e.name,t._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new Iv(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(e){return e._markForCheck()})}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO))},e.\u0275dir=a.lG2({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e}(),Hv=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(Bv);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,Fv,5),2&e)&&(a.iGM(i=a.CRH())&&(t._radios=i))},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[a._Bn([Nv,{provide:qv,useExisting:t}]),a.qOj]}),t}(),Yv=Us(Ks(function e(t){_classCallCheck(this,e),this._elementRef=t})),jv=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u,l){var h;return _classCallCheck(this,n),(h=t.call(this,i))._changeDetector=r,h._focusMonitor=o,h._radioDispatcher=s,h._providerOverride=u,h._uniqueId="mat-radio-"+ ++Pv,h.id=h._uniqueId,h.change=new a.vpe,h._checked=!1,h._value=null,h._removeUniqueSelectionListener=function(){},h.radioGroup=e,h._noopAnimations="NoopAnimations"===c,l&&(h.tabIndex=ar(l,0)),h._removeUniqueSelectionListener=s.listen(function(e,t){e!==h.id&&t===h.name&&(h.checked=!1)}),h}return _createClass(n,[{key:"checked",get:function(){return this._checked},set:function(e){var t=rr(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())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(rr(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=rr(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){!t&&e.radioGroup&&e.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new Iv(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}]),n}(Yv);return e.\u0275fac=function(t){return new(t||e)(a.Y36(Bv),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Vr),a.Y36(Su),a.Y36(String),a.Y36(void 0),a.Y36(String))},e.\u0275dir=a.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&a.Gf(Ov,5),2&e)&&(a.iGM(n=a.CRH())&&(t._inputElement=n.first))},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[a.qOj]}),e}(),Fv=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u){return _classCallCheck(this,n),t.call(this,e,i,r,a,o,s,c,u)}return n}(jv);return e.\u0275fac=function(t){return new(t||e)(a.Y36(qv,8),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Vr),a.Y36(Su),a.Y36(zs,8),a.Y36(Dv,8),a.$8M("tabindex"))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&a.NdJ("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(a.uIk("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),a.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:[a.qOj],ngContentSelectors:Rv,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(a.F$t(),a.TgZ(0,"label",0,1),a.TgZ(2,"span",2),a._UZ(3,"span",3),a._UZ(4,"span",4),a.TgZ(5,"input",5,6),a.NdJ("change",function(e){return t._onInputChange(e)})("click",function(e){return t._onInputClick(e)}),a.qZA(),a.TgZ(7,"span",7),a._UZ(8,"span",8),a.qZA(),a.qZA(),a.TgZ(9,"span",9),a.TgZ(10,"span",10),a._uU(11,"\xa0"),a.qZA(),a.Hsn(12),a.qZA(),a.qZA()),2&e){var n=a.MAs(1);a.uIk("for",t.inputId),a.xp6(5),a.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),a.uIk("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),a.xp6(2),a.Q6J("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",a.VKq(18,xv,t._noopAnimations?0:150)),a.xp6(2),a.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[mc],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e}(),Wv=((Sv=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Sv)},Sv.\u0275mod=a.oAB({type:Sv}),Sv.\u0275inj=a.cJS({imports:[[vc,js],js]}),Sv);function Uv(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function Kv(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function Zv(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function Gv(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-radio-group",12),a.NdJ("ngModelChange",function(e){return a.CHM(n),a.oxw(2).asyncValidation=e}),a.TgZ(1,"span",13),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"mat-radio-button",14),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.TgZ(7,"mat-radio-button",14),a._uU(8),a.ALo(9,"translate"),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(2);a.Q6J("ngModel",i.asyncValidation),a.xp6(2),a.hij(" ",a.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),a.xp6(2),a.Q6J("value",!1),a.xp6(1),a.hij(" ",a.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),a.xp6(2),a.Q6J("value",!0),a.xp6(1),a.hij(" ",a.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function Xv(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function Vv(e,t){1&e&&(a.TgZ(0,"span",11),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function Jv(e,t){if(1&e&&(a.TgZ(0,"div",5),a.TgZ(1,"p",6),a._uU(2),a.TgZ(3,"span",7),a._uU(4),a.qZA(),a._uU(5),a.TgZ(6,"span",7),a._uU(7),a.qZA(),a.qZA(),a.TgZ(8,"p"),a.TgZ(9,"strong",8),a._uU(10),a.ALo(11,"translate"),a.qZA(),a._uU(12),a.qZA(),a.TgZ(13,"p"),a.TgZ(14,"strong",8),a._uU(15),a.ALo(16,"translate"),a.qZA(),a._uU(17),a.qZA(),a.YNc(18,Kv,3,3,"span",9),a.YNc(19,Zv,3,3,"span",9),a.YNc(20,Gv,10,12,"mat-radio-group",10),a.YNc(21,Xv,3,3,"span",9),a.YNc(22,Vv,3,3,"span",9),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.hij(" ",n.group.name," "),a.xp6(2),a.hij("#",n.group.id,""),a.xp6(1),a.hij(" - ",n.resource.name," "),a.xp6(2),a.hij("#",n.resource.id,""),a.xp6(3),a.hij("",a.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),a.xp6(2),a.hij(" ",n.status," "),a.xp6(3),a.hij("",a.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),a.xp6(2),a.hij(" ",n.getReversedStatus()," "),a.xp6(1),a.Q6J("ngIf","INACTIVE"===n.status),a.xp6(1),a.Q6J("ngIf","ACTIVE"===n.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===n.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===n.status&&!1===n.asyncValidation),a.xp6(1),a.Q6J("ngIf","INACTIVE"===n.status&&!0===n.asyncValidation)}}function Qv(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",15),a.TgZ(1,"button",16),a.NdJ("click",function(){return a.CHM(n),a.oxw().onCancel()}),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.TgZ(4,"button",17),a.NdJ("click",function(){return a.CHM(n),a.oxw().onSubmit()}),a._uU(5),a.ALo(6,"translate"),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),a.xp6(2),a.Q6J("disabled",i.loading),a.xp6(1),a.hij(" ",a.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}var $v=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.resourceService=i,this.groupService=r,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(function(t){e.resource=t,e.groupService.getGroupById(e.data.groupId).subscribe(function(t){e.group=t,e.loading=!1},function(){return e.loading=!1})},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1}):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1})}},{key:"getReversedStatus",value:function(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(le),a.Y36(oe))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div"),a.TgZ(1,"h1",0),a._uU(2),a.ALo(3,"translate"),a.qZA(),a.YNc(4,Uv,1,0,"mat-spinner",1),a.YNc(5,Jv,23,17,"div",2),a.YNc(6,Qv,7,7,"div",3),a.qZA()),2&e&&(a.Tol(t.theme),a.xp6(2),a.Oqu(a.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[eg,r.O5,Zg,tg,Hv,Hh,md,Fv,ng,Ic],pipes:[Pp],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),e}();function e_(e,t){if(1&e&&(a.TgZ(0,"div",5),a.TgZ(1,"mat-icon"),a._uU(2),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.Oqu(n.data.icon)}}function t_(e,t){if(1&e&&(a.TgZ(0,"div",6),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.hij(" ",n.showTimestamp()," ")}}var n_=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialog=t,this.notificationStorageService=n,this.newNotification=!1,this.closeNotification=new a.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return _createClass(e,[{key:"doAction",value:function(){var e=this;if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{var t=og();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open(lm,t).afterClosed().subscribe(function(){e.closeSelf()})}}},{key:"closeSelf",value:function(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}},{key:"ngOnInit",value:function(){var e=this;!function(t,n){return i=this,a=regeneratorRuntime.mark(function n(){var i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i=t,new Promise(function(e){return setTimeout(e,i)});case 2:e.alreadyClosed||e.waiting||e.closeSelf();case 3:case"end":return n.stop()}},n)}),new((r=void 0)||(r=Promise))(function(e,t){function n(e){try{s(a.next(e))}catch(n){t(n)}}function o(e){try{s(a.throw(e))}catch(n){t(n)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof r?i:new r(function(e){e(i)})).then(n,o)}s((a=a.apply(i,[])).next())});var i,r,a}(this.data.delay)}},{key:"showTimestamp",value:function(){var e=_slicedToArray(this.data.timeStamp.split(":"),2),t=e[0],n=e[1];return n.length<2?t+":0"+n:this.data.timeStamp}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Qp),a.Y36(Eg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div"),a.TgZ(1,"div",0),a.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),a.YNc(2,e_,3,1,"div",1),a.TgZ(3,"div",2),a._uU(4),a.ALo(5,"translate"),a.qZA(),a.YNc(6,t_,2,1,"div",3),a.TgZ(7,"div",4),a.NdJ("click",function(){return t.waiting=!0,t.doAction()}),a._uU(8),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),a.ekj("error","error"===t.data.type)("success","success"===t.data.type),a.xp6(2),a.Q6J("ngIf",null!==t.data.icon),a.xp6(2),a.hij(" ",a.lcZ(5,12,t.data.title)," "),a.xp6(2),a.Q6J("ngIf",t.inDialog),a.xp6(1),a.Q6J("hidden",t.alreadyPressed),a.xp6(1),a.hij(" ",t.data.actionText," "))},directives:[r.O5,pp],pipes:[Pp],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}"]}),e}();function i_(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"perun-web-apps-notification",2),a.NdJ("closeNotification",function(){var e=a.CHM(n).index;return a.oxw().removeNotification(e)}),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit;a.Q6J("@flyInOut",void 0),a.xp6(1),a.Q6J("data",i)("newNotification",!0)}}var r_=function(e){return{top:e}},a_=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.notificator=t,this.notificationStorageService=n,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(function(e){i.processNotification(e)}),this.getScreenSize()}return _createClass(e,[{key:"getScreenSize",value:function(){this.mobileView=window.innerWidth<=this.minWidth}},{key:"processNotification",value:function(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}},{key:"getNotificatorTop",value:function(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}},{key:"removeNotification",value:function(e){this.notifications.splice(e,1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Lg),a.Y36(Eg))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&a.NdJ("resize",function(e){return t.getScreenSize(e)},!1,a.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&&(a.TgZ(0,"div",0),a.YNc(1,i_,2,3,"div",1),a.qZA()),2&e&&(a.Q6J("ngStyle",a.VKq(2,r_,t.getNotificatorTop())),a.xp6(1),a.Q6J("ngForOf",t.notifications))},directives:[r.PC,r.sg,n_],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[xg]}}),e}(),o_=["*",[["mat-toolbar-row"]]],s_=["*","mat-toolbar-row"],c_=Ws(function e(t){_classCallCheck(this,e),this._elementRef=t}),u_=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),l_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e))._platform=i,a._document=r,a}return _createClass(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(c_);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(gr),a.Y36(r.K0))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,u_,5),2&e)&&(a.iGM(i=a.CRH())&&(t._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.qOj],ngContentSelectors:s_,decls:2,vars:0,template:function(e,t){1&e&&(a.F$t(o_),a.Hsn(0),a.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}),e}(),h_=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js],js]}),e}(),d_={provide:a.tb,useFactory:function(e,t){return function(){if((0,r.NF)(t)){var n=Array.from(e.querySelectorAll("[class*=".concat(f_,"]"))),i=/\bflex-layout-.+?\b/g;n.forEach(function(e){e.classList.contains("".concat(f_,"ssr"))&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")})}}},deps:[r.K0,a.Lbi],multi:!0},f_="flex-layout-",p_=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[d_]}),e}(),g_=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;_classCallCheck(this,e),this.matches=t,this.mediaQuery=n,this.mqAlias=i,this.suffix=r,this.priority=a,this.property=""}return _createClass(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),e}(),m_=function(){var e=function(){function e(){_classCallCheck(this,e),this.stylesheet=new Map}return _createClass(e,[{key:"addStyleToElement",value:function(e,t,n){var i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var n=this.stylesheet.get(e),i="";if(n){var r=n.get(t);"number"!=typeof r&&"string"!=typeof r||(i=r+"")}return i}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),v_={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},__=new a.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return v_}}),y_=new a.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),b_=new a.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function A_(e,t){return e=e?e.clone():new g_,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var w_=["row","column","row-reverse","column-reverse"];function k_(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var M_=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.elementRef=t,this.styleBuilder=n,this.styler=i,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new ye.xQ,this.styleCache=new Map}return _createClass(e,[{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}},{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach(function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}})}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,t){var n=this.styleBuilder,i=n.shouldCache,r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(e,r,t)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach(function(t){e.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.styler.getFlowDirection(e),i=_slicedToArray(n,2),r=i[0],a=i[1];if(!a&&t){var o=function(e){var t=function(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],r=t[2];return w_.find(function(e){return e===n})||(n=w_[0]),"inline"===i&&(i="inline"!==r?r:"",r="inline"),[n,k_(i),!!r]}(e),n=_slicedToArray(t,3);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(n[0],n[1],n[2])}(r);this.styler.applyStyleToElements(o,[e])}return r.trim()}return"row"}},{key:"hasWrap",value:function(e){return this.styler.hasWrap(e)}},{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(n,e,t)}},{key:"setValue",value:function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}},{key:"updateWithValue",value:function(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}]),e}();return e.\u0275fac=function(e){a.$Z()},e.\u0275dir=a.lG2({type:e,features:[a.TTD]}),e}(),C_=[{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}],T_="(orientation: portrait) and (max-width: 599.98px)",L_="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",S_="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",E_="(orientation: portrait) and (min-width: 840px)",z_="(orientation: landscape) and (min-width: 1280px)",O_={HANDSET:"".concat(T_,", (orientation: landscape) and (max-width: 959.98px)"),TABLET:"".concat(L_," , ").concat(S_),WEB:"".concat(E_,", ").concat(z_," "),HANDSET_PORTRAIT:"".concat(T_),TABLET_PORTRAIT:"".concat(L_," "),WEB_PORTRAIT:"".concat(E_),HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.98px)",TABLET_LANDSCAPE:"".concat(S_),WEB_LANDSCAPE:"".concat(z_)},x_=[{alias:"handset",priority:2e3,mediaQuery:O_.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:O_.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:O_.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:O_.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:O_.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:O_.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:O_.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:O_.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:O_.WEB_PORTRAIT,overlapping:!0}],R_=/(\.|-|_)/g;function D_(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var P_=new a.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=(0,a.f3M)(b_),t=(0,a.f3M)(__),n=[].concat.apply([],(e||[]).map(function(e){return Array.isArray(e)?e:[e]}));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i={};return e.forEach(function(e){i[e.alias]=e}),n.forEach(function(e){i[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var i=this._observable$.pipe((0,me.h)(function(t){return!n||e.indexOf(t.mediaQuery)>-1})),r=new ke.y(function(n){var i=t.registerQuery(e);if(i.length){var r=i.pop();i.forEach(function(e){n.next(e)}),t.source.next(r)}n.complete()});return(0,Fu.T)(r,i)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter(function(e){return!H_[e]});if(n.length>0){var i=n.join(", ");try{var r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(i," {.fx-query-test{ }}\n"))),t.head.appendChild(r),n.forEach(function(e){return H_[e]=r})}catch(a){console.error(a)}}}(n,this._document),n.forEach(function(e){var n=function(n){t._zone.run(function(){return t.source.next(new g_(n.matches,e))})},r=t.registry.get(e);r||((r=t.buildMQL(e)).addListener(n),t.pendingRemoveListenerFns.push(function(){return r.removeListener(n)}),t.registry.set(e,r)),r.matches&&i.push(new g_(!0,e))}),i}},{key:"ngOnDestroy",value:function(){for(var e;e=this.pendingRemoveListenerFns.pop();)e()}},{key:"buildMQL",value:function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){},onchange:null,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}(e,(0,r.NF)(this._platformId))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(a.Lbi),a.LFG(r.K0))},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e((0,a.LFG)(a.R0b),(0,a.LFG)(a.Lbi),(0,a.LFG)(r.K0))},token:e,providedIn:"root"}),e}(),H_={},Y_={alias:"print",mediaQuery:"print",priority:1e3},j_=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.breakpoints=t,this.layoutConfig=n,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new F_,this.deactivations=[]}return _createClass(e,[{key:"withPrintQuery",value:function(e){return[].concat(_toConsumableArray(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map(function(t){return e.breakpoints.findByAlias(t)}).filter(function(e){return null!==e})}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,n=this.breakpoints.findByQuery(t);return(n?[].concat(_toConsumableArray(this.printBreakPoints),[n]):this.printBreakPoints).sort(N_)}},{key:"updateEvent",value:function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),A_(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var n=function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new g_(!0,"print"))),e.updateStyles())},i=function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",n),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(n),this.afterPrintEventListeners.push(i)}}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}}},{key:"blockPropagation",value:function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}}},{key:"startPrinting",value:function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(N_))}}},{key:"ngOnDestroy",value:function(){var e=this;this._document.defaultView&&(this.beforePrintEventListeners.forEach(function(t){return e._document.defaultView.removeEventListener("beforeprint",t)}),this.afterPrintEventListeners.forEach(function(t){return e._document.defaultView.removeEventListener("afterprint",t)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(q_),a.LFG(__),a.LFG(r.K0))},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e((0,a.LFG)(q_),(0,a.LFG)(__),(0,a.LFG)(r.K0))},token:e,providedIn:"root"}),e}(),F_=function(){function e(){_classCallCheck(this,e),this.printBreakpoints=[]}return _createClass(e,[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(Y_),e.sort(N_),e.forEach(function(e){return t.addBreakpoint(e)}),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){e&&void 0===this.printBreakpoints.find(function(t){return t.mediaQuery===e.mediaQuery})&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(_toConsumableArray(this.printBreakpoints)):[].concat(_toConsumableArray(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}]),e}();function W_(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;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":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var U_=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._serverStylesheet=t,this._serverModuleLoaded=n,this._platformId=i,this.layoutConfig=r}return _createClass(e,[{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:W_(t),this._applyMultiValueStyleToElement(i,e)}},{key:"applyStyleToElements",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this.layoutConfig.disableVendorPrefixes?e:W_(e);n.forEach(function(e){t._applyMultiValueStyleToElement(i,e)})}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||(0,r.PM)(this._platformId)&&this._serverModuleLoaded?t:""]}},{key:"hasWrap",value:function(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}},{key:"lookupAttributeValue",value:function(e,t){return e.getAttribute(t)||""}},{key:"lookupInlineStyle",value:function(e,t){return(0,r.NF)(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return e&&((i=this.lookupInlineStyle(e,t))||((0,r.NF)(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var n=this;Object.keys(e).sort().forEach(function(i){var a=e[i],o=Array.isArray(a)?a:[a];o.sort();var s,c=_createForOfIteratorHelper(o);try{for(c.s();!(s=c.n()).done;){var u=s.value;u=u?u+"":"",(0,r.NF)(n._platformId)||!n._serverModuleLoaded?(0,r.NF)(n._platformId)?t.style.setProperty(i,u):n._setServerStyle(t,i,u):n._serverStylesheet.addStyleToElement(t,i,u)}}catch(l){c.e(l)}finally{c.f()}})}},{key:"_setServerStyle",value:function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},n=e.getAttribute("style");if(n)for(var i=n.split(/;+/g),r=0;r0){var o=a.indexOf(":");if(-1===o)throw new Error("Invalid CSS style: ".concat(a));t[a.substr(0,o).trim()]=a.substr(o+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(m_),a.LFG(y_),a.LFG(a.Lbi),a.LFG(__))},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e((0,a.LFG)(m_),(0,a.LFG)(y_),(0,a.LFG)(a.Lbi),(0,a.LFG)(__))},token:e,providedIn:"root"}),e}(),K_=function(){function e(){_classCallCheck(this,e),this.shouldCache=!0}return _createClass(e,[{key:"sideEffect",value:function(e,t,n){}}]),e}(),Z_=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.matchMedia=t,this.breakpoints=n,this.hook=i,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 ye.xQ,this.observeActivations()}return _createClass(e,[{key:"activatedAlias",get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}},{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=A_(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(N_),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(N_),this.updateStyles()))}},{key:"init",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];G_(this.updateMap,e,t,n),G_(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}},{key:"getValue",value:function(e,t,n){var i=this.elementMap.get(e);if(i){var r=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(r)return r.get(t)}}},{key:"hasValue",value:function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,n,i){var r=this.elementMap.get(e);if(r){var a=(r.get(i)||new Map).set(t,n);r.set(i,a),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);var o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}},{key:"trackValue",value:function(e,t){return this.subject.asObservable().pipe((0,me.h)(function(n){return n.element===e&&n.key===t}))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach(function(t,n){var i=new Set(e.elementKeyMap.get(n)),r=e.getActivatedValues(t);r&&r.forEach(function(t,r){e.updateElement(n,r,t),i.delete(r)}),i.forEach(function(i){if(r=e.getActivatedValues(t,i)){var a=r.get(i);e.updateElement(n,i,a)}else e.clearElement(n,i)})})}},{key:"clearElement",value:function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,n){var i=this.updateMap.get(e);if(i){var r=i.get(t);r&&(r(n),this.subject.next({element:e,key:t,value:n}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach(function(e){return e.unsubscribe()}),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach(function(e,t){return n.delete(t)}),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var n=this,i=this.elementMap.get(e);if(i){var r=this.getActivatedValues(i,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach(function(t,i){return n.updateElement(e,i,t)}))}}},{key:"buildElementKeyMap",value:function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}},{key:"watchExtraTriggers",value:function(e,t,n){var i=this;if(n&&n.length){var r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){var a=Fu.T.apply(void 0,_toConsumableArray(n)).subscribe(function(){var n=i.getValue(e,t);i.updateElement(e,t,n)});r.set(t,a)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var n=0;n2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this.key=t,this.value=n,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?n.replace(/['"]/g,"").trim():n.trim(),this.value=this.value.replace(/;/,"")};function V_(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function J_(e){var t=_toArray(e.split(":")),n=t[0],i=t.slice(1);return new X_(n,i.join(":"))}function Q_(e,t){return t.key&&(e[t.key]=t.value),e}var $_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,o,s,c,u,l,h){var d;_classCallCheck(this,n),(d=t.call(this,e,null,i,a)).sanitizer=o,d.ngStyleInstance=u,d.DIRECTIVE_KEY="ngStyle",d.ngStyleInstance||(d.ngStyleInstance=new r.PC(e,s,c)),d.init();var f=d.nativeElement.getAttribute("style")||"";return d.fallbackStyles=d.buildStyleMap(f),d.isServer=l&&(0,r.PM)(h),d}return _createClass(n,[{key:"updateWithValue",value:function(e){var t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}},{key:"clearStyles",value:function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}},{key:"buildStyleMap",value:function(e){var t,n,i,r=this,o=function(e){return r.sanitizer.sanitize(a.q3G.STYLE,e)||""};if(e)switch(V_(e)){case"string":return ny(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";";return String(e).trim().split(t).map(function(e){return e.trim()}).filter(function(e){return""!==e})}(e),o);case"array":return ny(e,o);case"set":default:return n=o,i=[],"set"===V_(t=e)?t.forEach(function(e){return i.push(e)}):Object.keys(t).forEach(function(e){i.push("".concat(e,":").concat(t[e]))}),function(e,t){return e.map(J_).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(Q_,{})}(i,n)}return{}}},{key:"ngDoCheck",value:function(){this.ngStyleInstance.ngDoCheck()}}]),n}(M_);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(U_),a.Y36(Z_),a.Y36(x),a.Y36(a.aQg),a.Y36(a.Qsj),a.Y36(r.PC,10),a.Y36(y_),a.Y36(a.Lbi))},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e}(),ey=["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"],ty=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).inputs=ey,e}return n}($_);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,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:[a.qOj]}),t}();function ny(e,t){return e.map(J_).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(Q_,{})}var iy=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[p_]]}),e}(),ry=function(e){return{color:e}};function ay(e,t){if(1&e&&(a.TgZ(0,"button",8),a.ALo(1,"translate"),a.TgZ(2,"mat-icon",4),a._uU(3," apps "),a.qZA(),a.qZA()),2&e){var n=a.oxw(),i=a.MAs(2);a.Q6J("matMenuTriggerFor",i)("matTooltip",a.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),a.xp6(2),a.Q6J("ngStyle",a.VKq(5,ry,n.iconColor))}}function oy(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",2),a.NdJ("click",function(){return a.CHM(n),a.oxw().onLogOut()}),a._uU(1),a.ALo(2,"translate"),a.qZA()}2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"NAV.LOGOUT")))}var sy=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.authService=t,this.authzResolverService=n,this.notificator=i,this.translateService=r}return _createClass(e,[{key:"redirectToUrl",value:function(){window.open(this.url,"_blank")}},{key:"onLogOut",value:function(){this.authService.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(wg),a.Y36(ae),a.Y36(Lg),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.YNc(0,ay,4,7,"button",0),a.TgZ(1,"mat-menu",null,1),a.TgZ(3,"button",2),a.NdJ("click",function(){return t.redirectToUrl()}),a.TgZ(4,"span"),a._uU(5),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"button",3),a.TgZ(7,"mat-icon",4),a._uU(8," person "),a.qZA(),a.TgZ(9,"span",5),a._uU(10),a.qZA(),a.qZA(),a.TgZ(11,"mat-menu",null,6),a.YNc(13,oy,3,3,"button",7),a.qZA()),2&e){var n=a.MAs(12);a.Q6J("ngIf",t.url),a.xp6(5),a.Oqu(t.label),a.xp6(1),a.Q6J("matMenuTriggerFor",n),a.xp6(1),a.Q6J("ngStyle",a.VKq(11,ry,t.iconColor)),a.xp6(2),a.Q6J("ngStyle",a.VKq(13,ry,t.textColor)),a.xp6(1),a.xDo(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),a.xp6(3),a.Q6J("ngIf",t.logoutEnabled)}},directives:[r.O5,Uf,Yf,Ic,Xf,pp,r.PC,mf],pipes:[Pp],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),e}(),cy=function(e){return{color:e}};function uy(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",7),a.NdJ("click",function(){return a.CHM(n),a.oxw().onToggleSidenav()}),a.TgZ(1,"mat-icon"),a._uU(2,"menu"),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("ngStyle",a.VKq(1,cy,i.iconColor))}}function ly(e,t){1&e&&(a.TgZ(0,"div",8),a.TgZ(1,"span",9),a._uU(2," ~ \ud83d\uddf2\xa0 "),a.qZA(),a.TgZ(3,"span",10),a._uU(4," DEVEL "),a.qZA(),a.TgZ(5,"span",9),a._uU(6," \ud83d\uddf2 ~ "),a.qZA(),a.qZA())}var hy=function(e){return{background:e}},dy=function(){return[]},fy=function(){return["/"]},py=function(){var e=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this.storeService=t,this.sanitizer=n,this.translate=i,this.utilsService=r,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new a.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=function(){o.sidenavToggle.emit()}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(function(t){e.label=e.storeService.get("header_label_".concat(t.lang)),e.adminLabel=e.storeService.get("admin_gui_label_".concat(t.lang))}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}},{key:"isLinkToGuiActive",value:function(){var e=this;for(var t in this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles"),this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(t)&&(this.activeLink=!0);this.activeLink&&this.utilsService.getAppsConfig().subscribe(function(t){e.adminGuiUrl=t.brands[0].newApps.admin?t.brands[0].newApps.admin:null})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg),a.Y36(x),a.Y36(Dp),a.Y36(de))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-toolbar",0),a.TgZ(1,"div",1),a.YNc(2,uy,3,3,"button",2),a._UZ(3,"a",3),a.TgZ(4,"p",4),a._uU(5),a.qZA(),a.qZA(),a.YNc(6,ly,7,0,"div",5),a._UZ(7,"perun-web-apps-header-menu",6),a.qZA()),2&e&&(a.Q6J("ngStyle",a.VKq(13,hy,t.bgColor)),a.xp6(2),a.Q6J("ngIf",!t.hideToggle),a.xp6(1),a.Q6J("innerHTML",t.logo,a.oJD)("routerLink",t.disableLogo?a.DdM(15,dy):a.DdM(16,fy)),a.xp6(1),a.Q6J("ngStyle",a.VKq(17,cy,t.textColor)),a.xp6(1),a.Oqu(t.label),a.xp6(1),a.Q6J("ngIf",t.isDevel),a.xp6(1),a.Q6J("url",t.adminGuiUrl)("label",t.adminLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.textColor))},directives:[l_,r.PC,ty,r.O5,xi,sy,Ic,pp],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}"]}),e}();function gy(e){return function(t){return t.lift(new my(e))}}var my=function(){function e(t){_classCallCheck(this,e),this.value=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new vy(e,this.value))}}]),e}(),vy=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).value=i,r}return _createClass(n,[{key:"_next",value:function(e){this.destination.next(this.value)}}]),n}(Pe.L),_y=["*"];function yy(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(n),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&e){var i=a.oxw();a.ekj("mat-drawer-shown",i._isShowingBackdrop())}}function by(e,t){1&e&&(a.TgZ(0,"mat-drawer-content"),a.Hsn(1,2),a.qZA())}var Ay=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],wy=["mat-drawer","mat-drawer-content","*"];function ky(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(n),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&e){var i=a.oxw();a.ekj("mat-drawer-shown",i._isShowingBackdrop())}}function My(e,t){1&e&&(a.TgZ(0,"mat-sidenav-content",3),a.Hsn(1,2),a.qZA())}var Cy=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ty=["mat-sidenav","mat-sidenav-content","*"],Ly=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Sy={transformDrawer:aa("transform",[la("open, open-instant",ua({transform:"none",visibility:"visible"})),la("void",ua({"box-shadow":"none",visibility:"hidden"})),da("void => open-instant",oa("0ms")),da("void <=> open, open-instant => void",oa("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Ey=new a.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),zy=new a.OlP("MAT_DRAWER_CONTAINER"),Oy=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,r,a,o))._changeDetectorRef=e,s._container=i,s}return _createClass(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})}}]),n}(Ou);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return Ry})),a.Y36(a.SBq),a.Y36(zu),a.Y36(a.R0b))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&a.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:_y,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),xy=function(){var e=function(){function e(t,n,i,r,o,s,c){var u=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=r,this._ngZone=o,this._doc=s,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ye.xQ,this._animationEnd=new ye.xQ,this._animationState="void",this.openedChange=new a.vpe(!0),this._openedStream=this.openedChange.pipe((0,me.h)(function(e){return e}),(0,ze.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,me.h)(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),gy(void 0)),this._closedStream=this.openedChange.pipe((0,me.h)(function(e){return!e}),(0,ze.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,me.h)(function(e){return e.fromState!==e.toState&&"void"===e.toState}),gy(void 0)),this._destroyed=new ye.xQ,this.onPositionChanged=new a.vpe,this._modeChanged=new ye.xQ,this.openedChange.subscribe(function(e){e?(u._doc&&(u._elementFocusedBeforeDrawerWasOpened=u._doc.activeElement),u._takeFocus()):u._isFocusWithinDrawer()&&u._restoreFocus()}),this._ngZone.runOutsideAngular(function(){Yc(u._elementRef.nativeElement,"keydown").pipe((0,me.h)(function(e){return 27===e.keyCode&&!u.disableClose&&!tr(e)}),fu(u._destroyed)).subscribe(function(e){return u._ngZone.run(function(){u.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(nu(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&u.openedChange.emit(u._opened)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=rr(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=rr(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(rr(e))}},{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var e,t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,t=arguments.length>1?arguments[1]:void 0;return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}},{key:"_setOpen",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(e){n.openedChange.pipe((0,xe.q)(1)).subscribe(function(t){return e(t?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(jr),a.Y36(Vr),a.Y36(gr),a.Y36(a.R0b),a.Y36(r.K0,8),a.Y36(zy,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&a.WFA("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(a.uIk("align",null),a.d8E("@transform",t._animationState),a.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:_y,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[Ou],encapsulation:2,data:{animation:[Sy.transformDrawer]},changeDetection:0}),e}(),Ry=function(){var e=function(){function e(t,n,i,r,o){var s=this,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=u,this._drawers=new a.n_E,this.backdropClick=new a.vpe,this._destroyed=new ye.xQ,this._doCheckSubject=new ye.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ye.xQ,t&&t.change.pipe(fu(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),o.change().pipe(fu(this._destroyed)).subscribe(function(){return s.updateContentMargins()}),this._autosize=c}return _createClass(e,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=rr(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:rr(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(De(this._allDrawers),fu(this._destroyed)).subscribe(function(t){e._drawers.reset(t.filter(function(t){return!t._container||t._container===e})),e._drawers.notifyOnChanges()}),this._drawers.changes.pipe(De(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._doCheckSubject.pipe((0,ir.b)(10),fu(e._destroyed)).subscribe(function(){return e.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(e){return e.open()})}},{key:"close",value:function(){this._drawers.forEach(function(e){return e.close()})}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){var i=this._left._getWidth();t+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();n+=r,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe((0,me.h)(function(e){return e.fromState!==e.toState}),fu(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(fu(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(fu(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.pipe((0,xe.q)(1)).subscribe(function(){t._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(fu((0,Fu.T)(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?e._end=t:e._start=t}),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)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var e=this;[this._start,this._end].filter(function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)}).forEach(function(e){return e._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(ta,8),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(xu),a.Y36(Ey),a.Y36(zs,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Oy,5),a.Suo(n,xy,5)),2&e)&&(a.iGM(i=a.CRH())&&(t._content=i.first),a.iGM(i=a.CRH())&&(t._allDrawers=i))},viewQuery:function(e,t){var n;(1&e&&a.Gf(Oy,5),2&e)&&(a.iGM(n=a.CRH())&&(t._userContent=n.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a._Bn([{provide:zy,useExisting:e}])],ngContentSelectors:wy,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&&(a.F$t(Ay),a.YNc(0,yy,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,by,2,0,"mat-drawer-content",1)),2&e&&(a.Q6J("ngIf",t.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!t._content))},directives:[r.O5,Oy],styles:[Ly],encapsulation:2,changeDetection:0}),e}(),Dy=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){return _classCallCheck(this,n),t.call(this,e,i,r,a,o)}return n}(Oy);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return Ny})),a.Y36(a.SBq),a.Y36(zu),a.Y36(a.R0b))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&a.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:_y,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),Py=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _createClass(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=rr(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=ar(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=ar(e)}}]),n}(xy);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(a.uIk("align",null),a.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),a.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:[a.qOj],ngContentSelectors:_y,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[Ou],encapsulation:2,data:{animation:[Sy.transformDrawer]},changeDetection:0}),t}(),Ny=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(Ry);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Dy,5),a.Suo(n,Py,5)),2&e)&&(a.iGM(i=a.CRH())&&(t._content=i.first),a.iGM(i=a.CRH())&&(t._allDrawers=i))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[a._Bn([{provide:zy,useExisting:t}]),a.qOj],ngContentSelectors:Ty,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(a.F$t(Cy),a.YNc(0,ky,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,My,2,0,"mat-sidenav-content",1)),2&e&&(a.Q6J("ngIf",t.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!t._content))},directives:[r.O5,Dy,Ou],styles:[Ly],encapsulation:2,changeDetection:0}),t}(),Iy=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[r.ez,js,mr,Ru],Ru,js]}),e}(),qy=function(){var e=function(){function e(t){_classCallCheck(this,e),this.store=t}return _createClass(e,[{key:"getSideMenuItems",value:function(){var e=this,t=this.store.get("displayed_tabs"),n=[];return t.forEach(function(e){switch(e){case"profile":n.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":n.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":n.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":n.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":n.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":n.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":n.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(function(t){var i={icon:"insert_link",link:t.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};e.store.get("supported_languages").forEach(function(e){var n;i["label_".concat(e)]=null!==(n=t["label_".concat(e)])&&void 0!==n?n:t.label_en}),n.push(i)}),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(bg))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),By=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js],js]}),e}(),Hy=["*"],Yy='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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',jy=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Fy=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Wy=Fs(Us(function e(){_classCallCheck(this,e)})),Uy=Us(function e(){_classCallCheck(this,e)}),Ky=new a.OlP("MatList"),Zy=new a.OlP("MatNavList"),Gy=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._stateChanges=new ye.xQ,e}return _createClass(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Wy);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[a._Bn([{provide:Zy,useExisting:t}]),a.qOj,a.TTD],ngContentSelectors:Hy,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},styles:[Yy],encapsulation:2,changeDetection:0}),t}(),Xy=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._elementRef=e,i._stateChanges=new ye.xQ,"action-list"===i._getListType()&&e.nativeElement.classList.add("mat-action-list"),i}return _createClass(n,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Wy);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[a._Bn([{provide:Ky,useExisting:e}]),a.qOj,a.TTD],ngContentSelectors:Hy,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},styles:[Yy],encapsulation:2,changeDetection:0}),e}(),Vy=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e}(),Jy=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e}(),Qy=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;_classCallCheck(this,n),(o=t.call(this))._element=e,o._isInteractiveList=!1,o._destroyed=new ye.xQ,o._disabled=!1,o._isInteractiveList=!!(r||a&&"action-list"===a._getListType()),o._list=r||a;var s=o._getHostElement();return"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),o._list&&o._list._stateChanges.pipe(fu(o._destroyed)).subscribe(function(){i.markForCheck()}),o}return _createClass(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=rr(e)}},{key:"ngAfterContentInit",value:function(){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(De(e)).subscribe(function(e){var i=e.length;sc(t,"".concat(n,"-2-line"),!1),sc(t,"".concat(n,"-3-line"),!1),sc(t,"".concat(n,"-multi-line"),!1),2===i||3===i?sc(t,"".concat(n,"-").concat(i,"-line"),!0):i>3&&sc(t,"".concat(n,"-multi-line"),!0)})}(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(Uy);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Zy,8),a.Y36(Ky,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Vy,5),a.Suo(n,Jy,5),a.Suo(n,oc,5)),2&e)&&(a.iGM(i=a.CRH())&&(t._avatar=i.first),a.iGM(i=a.CRH())&&(t._icon=i.first),a.iGM(i=a.CRH())&&(t._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&a.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:[a.qOj],ngContentSelectors:Fy,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&&(a.F$t(jy),a.TgZ(0,"div",0),a._UZ(1,"div",1),a.Hsn(2),a.TgZ(3,"div",2),a.Hsn(4,1),a.qZA(),a.Hsn(5,2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[mc],encapsulation:2,changeDetection:0}),e}(),$y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[cc,vc,js,yc,r.ez],cc,js,yc,By]}),e}(),eb=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t,n){return e["".concat(n,"_").concat(t)]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"localisedText",type:e,pure:!0}),e}(),tb=function(e){return{color:e}};function nb(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-list-item",2),a.NdJ("click",function(){var e=a.CHM(n).$implicit,t=a.oxw();return e.external?t.goToURL(e.link):t.shouldHideMenu()}),a.TgZ(1,"mat-icon",3),a._uU(2),a.qZA(),a.TgZ(3,"span",4),a._uU(4),a.ALo(5,"localisedText"),a.ALo(6,"translate"),a.ALo(7,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.ekj("activated",r.isActive(i.activatedRegex)),a.s9C("routerLink",i.external?null:i.link),a.Q6J("ngStyle",a.VKq(16,tb,r.textColor)),a.xp6(1),a.Q6J("ngStyle",a.VKq(18,tb,r.iconColor)),a.xp6(1),a.Oqu(i.icon),a.xp6(2),a.Oqu(i.external?a.Dn7(5,7,i,r.lang,"label"):a.lcZ(6,11,a.xi3(7,13,i.label,r.lang)))}}var ib=function(){var e=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.sideMenuItemService=t,this.storeService=n,this.router=i,this.translateService=r,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(function(e){e instanceof rt&&(a.currentUrl=e.url)})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe(function(t){var n=t.lang;e.lang=n});var t=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(function(e){return t.includes(e.tabName)})}},{key:"isActive",value:function(e){return new RegExp(e).test(this.currentUrl)}},{key:"shouldHideMenu",value:function(){"over"===this.sideNav.mode&&this.sideNav.close()}},{key:"goToURL",value:function(e){window.open(e,"_blank")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(qy),a.Y36(bg),a.Y36(zi),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption","ml-3"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-nav-list",0),a.YNc(1,nb,8,20,"mat-list-item",1),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngForOf",t.items))},directives:[Gy,r.sg,Qy,r.PC,ty,Oi,pp],pipes:[eb,Pp,Ng],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}"]}),e}();function rb(e,t){if(1&e&&(a.TgZ(0,"span",1),a.TgZ(1,"a",2),a._uU(2),a.qZA(),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Q6J("routerLink",n.routerLink),a.xp6(1),a.Oqu(n.label)}}var ab=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.router=t,this.activatedRoute=n,this.translate=i,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.router.events.pipe((0,me.h)(function(e){return e instanceof rt})).subscribe(function(){e.menuItems=[],e.createBreadcrumbs(e.activatedRoute.root)})}},{key:"createBreadcrumbs",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.children;0!==r.length&&r.forEach(function(t){var r=t.snapshot.url.map(function(e){return e.path}).join("/");""!==r&&(i+="/".concat(r));var a=n.translate.instant(t.snapshot.data[e.ROUTE_DATA_BREADCRUMB]);return!a||n.menuItems[n.menuItems.length-1]&&a===n.menuItems[n.menuItems.length-1].label||n.menuItems.push({label:a,routerLink:i}),n.createBreadcrumbs(t,i)})}}]),e}();return e.ROUTE_DATA_BREADCRUMB="breadcrumb",e.\u0275fac=function(t){return new(t||e)(a.Y36(zi),a.Y36(un),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,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&&a.YNc(0,rb,3,2,"span",0),2&e&&a.Q6J("ngForOf",t.menuItems)},directives:[r.sg,xi],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}']}),e}();function ob(e,t){1&e&&(a.TgZ(0,"mat-error"),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}var sb=function(){var e=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.dialogRef=t,this.translate=n,this.notificator=i,this.rtMessages=r,this.storeService=a,this.message="",this.subject="",this.instanceName=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.instanceName=this.storeService.get("config")}},{key:"sendBugReport",value:function(){var e=this;this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){return e.notificator.showSuccess(e.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)}),e.dialogRef.close()})}},{key:"getFullEmailBody",value:function(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+n(306).i8}},{key:"close",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Dp),a.Y36(Lg),a.Y36(ce),a.Y36(bg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"mat-form-field"),a.TgZ(5,"mat-label"),a._uU(6),a.ALo(7,"translate"),a.qZA(),a.TgZ(8,"input",2,3),a.NdJ("ngModelChange",function(e){return t.subject=e}),a.qZA(),a.YNc(10,ob,3,3,"mat-error",4),a.qZA(),a.TgZ(11,"mat-form-field"),a.TgZ(12,"mat-label"),a._uU(13),a.ALo(14,"translate"),a.qZA(),a.TgZ(15,"textarea",5),a.NdJ("ngModelChange",function(e){return t.message=e}),a.ALo(16,"translate"),a._uU(17," "),a.qZA(),a.TgZ(18,"mat-hint"),a._uU(19),a.ALo(20,"translate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(21,"div",6),a.TgZ(22,"div",7),a.TgZ(23,"button",8),a.NdJ("click",function(){return t.close()}),a._uU(24),a.ALo(25,"translate"),a.qZA(),a.TgZ(26,"button",9),a.NdJ("click",function(){return t.sendBugReport()}),a._uU(27),a.ALo(28,"translate"),a.qZA(),a.qZA(),a.qZA()),2&e){var n=a.MAs(9);a.xp6(1),a.Oqu(a.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),a.xp6(5),a.Oqu(a.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),a.xp6(2),a.Q6J("ngModel",t.subject),a.xp6(2),a.Q6J("ngIf",n.invalid),a.xp6(3),a.Oqu(a.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),a.xp6(2),a.s9C("placeholder",a.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),a.Q6J("ngModel",t.message),a.xp6(4),a.Oqu(a.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),a.xp6(5),a.hij(" ",a.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),a.xp6(2),a.Q6J("disabled",n.invalid),a.xp6(1),a.hij(" ",a.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[eg,tg,ah,Jl,im,gh,Ed,Hh,md,r.O5,Vl,ng,Ic,Ul],pipes:[Pp],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),cb=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t){return e["link_"+t]||e.link_en}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"localisedLink",type:e,pure:!0}),e}(),ub=function(e){return{color:e}};function lb(e,t){if(1&e&&(a.TgZ(0,"i",16),a._uU(1),a.qZA()),2&e){var n=a.oxw().$implicit,i=a.oxw(3);a.Q6J("ngStyle",a.VKq(2,ub,i.linksTextColor)),a.xp6(1),a.hij(" ",n.icon," ")}}function hb(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"span",17),a.NdJ("click",function(){a.CHM(n);var e=a.oxw().$implicit;return a.oxw(3).openDialog(e.dialog)}),a._uU(1),a.ALo(2,"localisedText"),a.qZA()}if(2&e){var i=a.oxw().$implicit,r=a.oxw(3);a.Q6J("ngStyle",a.VKq(6,ub,r.linksTextColor)),a.xp6(1),a.hij("",a.Dn7(2,2,i,r.language,"label")," ")}}function db(e,t){if(1&e&&(a.TgZ(0,"a",18),a.ALo(1,"localisedLink"),a._uU(2),a.ALo(3,"localisedText"),a.qZA()),2&e){var n=a.oxw().$implicit,i=a.oxw(3);a.Q6J("href",a.xi3(1,3,n,i.language),a.LSH)("ngStyle",a.VKq(10,ub,i.linksTextColor)),a.xp6(2),a.Oqu(a.Dn7(3,6,n,i.language,"label"))}}function fb(e,t){if(1&e&&(a.TgZ(0,"span",19),a._uU(1),a.ALo(2,"localisedText"),a.qZA()),2&e){var n=a.oxw().$implicit,i=a.oxw(3);a.Q6J("ngStyle",a.VKq(6,ub,i.linksTextColor)),a.xp6(1),a.Oqu(a.Dn7(2,2,n,i.language,"label"))}}function pb(e,t){if(1&e&&(a.TgZ(0,"div",11),a.YNc(1,lb,2,4,"i",12),a.YNc(2,hb,3,8,"span",13),a.YNc(3,db,4,12,"a",14),a.ALo(4,"localisedLink"),a.YNc(5,fb,3,8,"span",15),a.ALo(6,"localisedLink"),a.qZA()),2&e){var n=t.$implicit,i=a.oxw(3);a.xp6(1),a.Q6J("ngIf",n.icon),a.xp6(1),a.Q6J("ngIf",n.dialog),a.xp6(1),a.Q6J("ngIf",a.xi3(4,4,n,i.language)&&!n.dialog),a.xp6(2),a.Q6J("ngIf",!a.xi3(6,7,n,i.language)&&!n.dialog)}}function gb(e,t){if(1&e&&(a.TgZ(0,"div"),a.YNc(1,pb,7,10,"div",10),a.qZA()),2&e){var n=a.oxw().$implicit;a.xp6(1),a.Q6J("ngForOf",n.elements)}}function mb(e,t){if(1&e&&(a.TgZ(0,"div",7),a.TgZ(1,"h6",8),a._uU(2),a.ALo(3,"localisedText"),a.qZA(),a.YNc(4,gb,2,1,"div",9),a.qZA()),2&e){var n=t.$implicit,i=a.oxw();a.xp6(1),a.Q6J("ngStyle",a.VKq(7,ub,i.headersTextColor)),a.xp6(1),a.hij(" ",a.Dn7(3,3,n,i.language,"title")," "),a.xp6(2),a.Q6J("ngIf",n.elements)}}function vb(e,t){if(1&e&&(a.TgZ(0,"span"),a.TgZ(1,"a",6),a._uU(2),a.qZA(),a.qZA()),2&e){var n=t.$implicit,i=t.index,r=a.oxw();a.xp6(1),a.Q6J("href",n.url,a.LSH)("ngStyle",a.VKq(3,ub,r.copyrightTextColor)),a.xp6(1),a.Oqu(i?", "+n.name:n.name)}}var _b=function(e){return{background:e}},yb=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.storeService=t,this.translateService=n,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new a.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe(function(t){e.language=t.lang}),this.version=n(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}},{key:"openDialog",value:function(e){var t=og();switch(e){case"reportIssue":t.width="550px",this.dialog.open(sb,t)}}},{key:"getHeight",value:function(){var e,t=1,n=_createForOfIteratorHelper(this.items);try{for(n.s();!(e=n.n()).done;){var i=e.value;t=tthis.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}},{key:"removeValue",value:function(e){this.keys.splice(e,1),this.values.splice(e,1)}},{key:"updateAttribute",value:function(){for(var e={},t=0;tt.defaultItemsShown),a.xp6(1),a.Q6J("ngIf",!t.readonly))},directives:[vd,Yh,fd,r.sg,mf,r.O5,ah,im,gh,Ed,Hh,md,Ic,pp],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}"]}),e}(),Yb=["input"],jb=function(e){return{enterDuration:e}},Fb=["*"],Wb=new a.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Ub});function Ub(){return{color:"accent",clickAction:"check-indeterminate"}}var Kb=0,Zb={color:"accent",clickAction:"check-indeterminate"},Gb={provide:dh,useExisting:(0,a.Gpc)(function(){return Jb}),multi:!0},Xb=function e(){_classCallCheck(this,e)},Vb=Ks(Ws(Us(Fs(function e(t){_classCallCheck(this,e),this._elementRef=t})))),Jb=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u){var l;return _classCallCheck(this,n),(l=t.call(this,e))._changeDetectorRef=i,l._focusMonitor=r,l._ngZone=o,l._animationMode=c,l._options=u,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++Kb,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new a.vpe,l.indeterminateChange=new a.vpe,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=0,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l._options=l._options||Zb,l.color=l.defaultColor=l._options.color||Zb.color,l.tabIndex=parseInt(s)||0,l}return _createClass(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=rr(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){t||Promise.resolve().then(function(){e._onTouched(),e._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=rr(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=rr(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var e=new Xb;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t,n=this,i=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}]),n}(Vb);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Vr),a.Y36(a.R0b),a.$8M("tabindex"),a.Y36(zs,8),a.Y36(Wb,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;(1&e&&(a.Gf(Yb,5),a.Gf(mc,5)),2&e)&&(a.iGM(n=a.CRH())&&(t._inputElement=n.first),a.iGM(n=a.CRH())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(a.Ikx("id",t.id),a.uIk("tabindex",null),a.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"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[a._Bn([Gb]),a.qOj],ngContentSelectors:Fb,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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&&(a.F$t(),a.TgZ(0,"label",0,1),a.TgZ(2,"span",2),a.TgZ(3,"input",3,4),a.NdJ("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),a.qZA(),a.TgZ(5,"span",5),a._UZ(6,"span",6),a.qZA(),a._UZ(7,"span",7),a.TgZ(8,"span",8),a.O4$(),a.TgZ(9,"svg",9),a._UZ(10,"path",10),a.qZA(),a.kcU(),a._UZ(11,"span",11),a.qZA(),a.qZA(),a.TgZ(12,"span",12,13),a.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),a.TgZ(14,"span",14),a._uU(15,"\xa0"),a.qZA(),a.Hsn(16),a.qZA(),a.qZA()),2&e){var n=a.MAs(1),i=a.MAs(13);a.uIk("for",t.inputId),a.xp6(2),a.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),a.xp6(1),a.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),a.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),a.xp6(2),a.Q6J("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a.VKq(19,jb,"NoopAnimations"===t._animationMode?0:150))}},directives:[mc,Tr],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),e}(),Qb=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),$b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[vc,js,Lr,Qb],js,Qb]}),e}();function eA(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-checkbox",2),a.NdJ("change",function(){return a.CHM(n),a.oxw()._sendEventToParent()})("ngModelChange",function(e){return a.CHM(n),a.oxw().attribute.value=e}),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("ngModel",i.attribute.value)}}function tA(e,t){if(1&e&&(a.TgZ(0,"mat-label"),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(n.attribute.value)}}var nA=function(){var e=function(){function e(){_classCallCheck(this,e),this.readonly=!1,this.sendEventToParent=new a.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=sg(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div"),a.YNc(1,eA,1,1,"mat-checkbox",0),a.YNc(2,tA,2,1,"mat-label",1),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf",!t.readonly),a.xp6(1),a.Q6J("ngIf",t.readonly))},directives:[r.O5,Jb,Hh,md,Jl],styles:[""]}),e}();function iA(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function rA(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function aA(e,t){var n=t?"":"none";rA(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function oA(e,t){var n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function sA(e,t){return t?e+" "+t:e}function cA(e){var t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function uA(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}function lA(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function hA(e,t,n){var i=e.top,r=e.bottom,a=e.left,o=e.right;return n>=i&&n<=r&&t>=a&&t<=o}function dA(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function fA(e,t,n,i){var r=e.top,a=e.right,o=e.bottom,s=e.left,c=e.width*t,u=e.height*t;return i>r-u&&is-c&&n=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(e),a=s._dropContainer;if(!r)return void s._endDragSequence(e);a&&(a.isDragging()||a.isReceiving())||(e.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(e)}))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new pA(i,a),o.registerDragItem(this)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=rr(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(function(e){return aA(e,t)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(e){var t=this;this._handles=e.map(function(e){return ur(e)}),this._handles.forEach(function(e){return aA(e,t.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(e){t._handles.indexOf(e)>-1&&n.add(e)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(e){return this._previewTemplate=e,this}},{key:"withPlaceholderTemplate",value:function(e){return this._placeholderTemplate=e,this}},{key:"withRootElement",value:function(e){var t=this,n=ur(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",t._pointerDown,AA),n.addEventListener("touchstart",t._pointerDown,bA)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?ur(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return t._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(e){return this._parentDragRef=e,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&CA(this._rootElement),CA(this._anchor),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}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),aA(e,!0))}},{key:"enableHandle",value:function(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),aA(e,this.disabled))}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"_withDropContainer",value:function(e){this._dropContainer=e}},{key:"getFreeDragPosition",value:function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}},{key:"setFreeDragPosition",value:function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}},{key:"withPreviewContainer",value:function(e){return this._previewContainer=e,this}},{key:"_sortFromLastPointerPosition",value:function(){var e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&CA(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&CA(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;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(function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)});else{this._passiveTransform.x=this._activeTransform.x;var n=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){t.ended.next({source:t,distance:t._getDragDistance(n),dropPoint:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(e){TA(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t=this._dropContainer;if(t){var n=this._rootElement,i=n.parentNode,r=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();i.insertBefore(a,n),this._initialTransform=n.style.transform||"",this._preview=this._createPreviewElement(),oA(n,!1),this._document.body.appendChild(i.replaceChild(r,n)),this._getPreviewInsertionPoint(i,o).appendChild(this._preview),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var n=this;this._parentDragRef&&t.stopPropagation();var i=this.isDragging(),r=TA(t),a=!r&&0!==t.button,o=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(i||a||s)){this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.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.scroll.subscribe(function(e){n._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=lA(this._boundaryElement));var c=this._previewTemplate;this._pickupPositionInElement=c&&c.template&&!c.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}}},{key:"_cleanupDragArtifacts",value:function(e){var t=this;oA(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var n=t._dropContainer,i=n.getItemIndex(t),r=t._getPointerPositionOnPage(e),a=t._getDragDistance(r),o=n._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:a,dropPoint:r}),t.dropped.next({item:t,currentIndex:i,previousIndex:t._initialIndex,container:n,previousContainer:t._initialContainer,isPointerOverContainer:o,distance:a,dropPoint:r}),n.drop(t,i,t._initialIndex,t._initialContainer,o,a,r),t._dropContainer=t._initialContainer})}},{key:"_updateActiveDropContainer",value:function(e,t){var n=this,i=e.x,r=e.y,a=t.x,o=t.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,r,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,o),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this._applyPreviewTransform(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var e,t=this._previewTemplate,n=this.previewClass,i=t?t.template:null;if(i&&t){var r=t.matchSize?this._rootElement.getBoundingClientRect():null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),e=LA(a,this._document),this._previewRef=a,t.matchSize?SA(e,r):e.style.transform=kA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement;SA(e=gA(o),o.getBoundingClientRect()),this._initialTransform&&(e.style.transform=this._initialTransform)}return rA(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"".concat(this._config.zIndex||1e3)}),aA(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(t){return e.classList.add(t)}):e.classList.add(n)),e}},{key:"_animatePreviewToPlaceholder",value:function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);var n=function(e){var t=getComputedStyle(e),n=uA(t,"transition-property"),i=n.find(function(e){return"transform"===e||"all"===e});if(!i)return 0;var r=n.indexOf(i),a=uA(t,"transition-duration"),o=uA(t,"transition-delay");return cA(a[r])+cA(o[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var i=function n(i){(!i||i.target===e._preview&&"transform"===i.propertyName)&&(e._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(i,1.5*n);e._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),e=LA(this._placeholderRef,this._document)):e=gA(this._rootElement),e.classList.add("cdk-drag-placeholder"),e}},{key:"_getPointerPositionInElement",value:function(e,t){var n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,r=i?i.getBoundingClientRect():n,a=TA(t)?t.targetTouches[0]:t,o=this._getViewportScrollPosition();return{x:r.left-n.left+(a.pageX-r.left-o.left),y:r.top-n.top+(a.pageY-r.top-o.top)}}},{key:"_getPointerPositionOnPage",value:function(e){var t=this._getViewportScrollPosition(),n=TA(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,r=n.pageY-t.top;if(this._ownerSVGElement){var a=this._ownerSVGElement.getScreenCTM();if(a){var o=this._ownerSVGElement.createSVGPoint();return o.x=i,o.y=r,o.matrixTransform(a.inverse())}}return{x:i,y:r}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(e,this):e,i=n.x,r=n.y;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(i=this._pickupPositionOnPage.x),this._boundaryRect){var a=this._pickupPositionInElement,o=a.x,s=a.y,c=this._boundaryRect,u=this._previewRect,l=c.top+s,h=c.bottom-(u.height-s);i=MA(i,c.left+o,c.right-(u.width-o)),r=MA(r,l,h)}return{x:i,y:r}}},{key:"_updatePointerDirectionDelta",value:function(e){var t=e.x,n=e.y,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,a=Math.abs(t-r.x),o=Math.abs(n-r.y);return a>this._config.pointerDirectionChangeThreshold&&(i.x=t>r.x?1:-1,r.x=t),o>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,aA(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,AA),e.removeEventListener("touchstart",this._pointerDown,bA)}},{key:"_applyRootElementTransform",value:function(e,t){var n=kA(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=sA(n,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(e,t){var n,i=(null===(n=this._previewTemplate)||void 0===n?void 0:n.template)?void 0:this._initialTransform,r=kA(e,t);this._preview.style.transform=sA(r,i)}},{key:"_getDragDistance",value:function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var e=this._passiveTransform,t=e.x,n=e.y;if(!(0===t&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===r.width&&0===r.height)){var a=i.left-r.left,o=r.right-i.right,s=i.top-r.top,c=r.bottom-i.bottom;i.width>r.width?(a>0&&(t+=a),o>0&&(t-=o)):t=0,i.height>r.height?(s>0&&(n+=s),c>0&&(n-=c)):n=0,t===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:t})}}}},{key:"_getDragStartDelay",value:function(e){var t=this.dragStartDelay;return"number"==typeof t?t:TA(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);if(t){var n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&dA(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=wr(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(e,t){var n=this._previewContainer||"global";if("parent"===n)return e;if("global"===n){var i=this._document;return t||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return ur(n)}}]),e}();function kA(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function MA(e,t,n){return Math.max(t,Math.min(n,e))}function CA(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function TA(e){return"t"===e.type[0]}function LA(e,t){var n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];var i=t.createElement("div");return n.forEach(function(e){return i.appendChild(e)}),i}function SA(e,t){e.style.width="".concat(t.width,"px"),e.style.height="".concat(t.height,"px"),e.style.transform=kA(t.left,t.top)}function EA(e,t,n){var i=zA(t,e.length-1),r=zA(n,e.length-1);if(i!==r){for(var a=e[i],o=r0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:au.P;return(!lu(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=au.P),new ke.y(function(n){return n.add(t.schedule(iA,e,{subscriber:n,counter:0,period:e})),n})}(0,Kc).pipe(fu(o._stopScrollTimers)).subscribe(function(){var e=o._scrollNode,t=o.autoScrollStep;1===o._verticalScrollDirection?RA(e,-t):2===o._verticalScrollDirection&&RA(e,t),1===o._horizontalScrollDirection?DA(e,-t):2===o._horizontalScrollDirection&&DA(e,t)})},this.element=ur(t),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new pA(i,a)}return _createClass(e,[{key:"dispose",value:function(){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)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(e,t,n,i){var r;this._draggingStarted(),null==i?-1===(r=this.sortingDisabled?this._draggables.indexOf(e):-1)&&(r=this._getItemIndexFromPointerPosition(e,t,n)):r=i;var a=this._activeDraggables,o=a.indexOf(e),s=e.getPlaceholderElement(),c=a[r];if(c===e&&(c=a[r+1]),o>-1&&a.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){var u=c.getRootElement();u.parentElement.insertBefore(s,u),a.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){var l=a[0].getRootElement();l.parentNode.insertBefore(s,l),a.unshift(e)}else ur(this.element).appendChild(s),a.push(e);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}},{key:"exit",value:function(e){this._reset(),this.exited.next({item:e,container:this})}},{key:"drop",value:function(e,t,n,i,r,a,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:a,dropPoint:o})}},{key:"withItems",value:function(e){var t=this,n=this._draggables;return this._draggables=e,e.forEach(function(e){return e._withDropContainer(t)}),this.isDragging()&&(n.filter(function(e){return e.isDragging()}).every(function(t){return-1===e.indexOf(t)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"connectedTo",value:function(e){return this._siblings=e.slice(),this}},{key:"withOrientation",value:function(e){return this._orientation=e,this}},{key:"withScrollableParents",value:function(e){var t=ur(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t].concat(_toConsumableArray(e)):e.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(e){return this._isDragging?xA("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(t){return t.drag===e}):this._draggables.indexOf(e)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(e,t,n,i){if(!this.sortingDisabled&&this._clientRect&&fA(this._clientRect,.05,t,n)){var r=this._itemPositions,a=this._getItemIndexFromPointerPosition(e,t,n,i);if(!(-1===a&&r.length>0)){var o="horizontal"===this._orientation,s=xA(r,function(t){return t.drag===e}),c=r[a],u=c.clientRect,l=s>a?1:-1,h=this._getItemOffsetPx(r[s].clientRect,u,l),d=this._getSiblingOffsetPx(s,r,l),f=r.slice();EA(r,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:e}),r.forEach(function(t,n){if(f[n]!==t){var i=t.drag===e,r=i?h:d,a=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,o?(a.style.transform=sA("translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),t.initialTransform),dA(t.clientRect,0,r)):(a.style.transform=sA("translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),t.initialTransform),dA(t.clientRect,r,0))}}),this._previousSwap.overlaps=hA(u,t,n),this._previousSwap.drag=c.drag,this._previousSwap.delta=o?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(e,t){var n=this;if(!this.autoScrollDisabled){var i,r=0,a=0;if(this._parentPositions.positions.forEach(function(o,s){var c;s!==n._document&&o.clientRect&&!i&&fA(o.clientRect,.05,e,t)&&(c=_slicedToArray(function(e,t,n,i){var r=PA(t,i),a=NA(t,n),o=0,s=0;if(r){var c=e.scrollTop;1===r?c>0&&(o=1):e.scrollHeight-c>e.clientHeight&&(o=2)}if(a){var u=e.scrollLeft;1===a?u>0&&(s=1):e.scrollWidth-u>e.clientWidth&&(s=2)}return[o,s]}(s,o.clientRect,e,t),2),r=c[0],a=c[1],(r||a)&&(i=s))}),!r&&!a){var o=this._viewportRuler.getViewportSize(),s=o.width,c=o.height,u={width:s,height:c,top:0,right:s,bottom:c,left:0};r=PA(u,t),a=NA(u,e),i=window}!i||r===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=i,(r||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var e=ur(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var e=ur(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}},{key:"_cacheItemPositions",value:function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:lA(t)}}).sort(function(t,n){return e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var e=this;this._isDragging=!1;var t=ur(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(t){var n,i=t.getRootElement();if(i){var r=null===(n=e._itemPositions.find(function(e){return e.drag===t}))||void 0===n?void 0:n.initialTransform;i.style.transform=r||""}}),this._siblings.forEach(function(t){return t._stopReceiving(e)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=t[e].clientRect,a=t[e+-1*n],o=r[i?"width":"height"]*n;if(a){var s=i?"left":"top",c=i?"right":"bottom";-1===n?o-=a.clientRect[s]-r[c]:o+=r[s]-a.clientRect[c]}return o}},{key:"_getItemOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=i?t.left-e.left:t.top-e.top;return-1===n&&(r+=i?t.width-e.width:t.height-e.height),r}},{key:"_shouldEnterAsFirstChild",value:function(e,t){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var r=n[n.length-1].clientRect;return i?e>=r.right:t>=r.bottom}var a=n[0].clientRect;return i?e<=a.left:t<=a.top}},{key:"_getItemIndexFromPointerPosition",value:function(e,t,n,i){var r=this,a="horizontal"===this._orientation,o=xA(this._itemPositions,function(o,s,c){var u=o.drag,l=o.clientRect;if(u===e)return c.length<2;if(i){var h=a?i.x:i.y;if(u===r._previousSwap.drag&&r._previousSwap.overlaps&&h===r._previousSwap.delta)return!1}return a?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&n-1})&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var e=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){if(e.isDragging()){var n=e._parentPositions.handleScroll(t);n&&(e._itemPositions.forEach(function(e){dA(e.clientRect,n.top,n.left)}),e._itemPositions.forEach(function(t){var n=t.drag;e._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else e.isReceiving()&&e._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var e=wr(ur(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var e=this,t=this._activeDraggables.filter(function(e){return e.isDragging()});this._siblings.forEach(function(n){return n._startReceiving(e,t)})}}]),e}();function xA(e,t){for(var n=0;n=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}function NA(e,t){var n=e.left,i=e.right,r=.05*e.width;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}var IA=yr({passive:!1,capture:!0}),qA=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(e){return e.isDragging()},this.pointerMove=new ye.xQ,this.pointerUp=new ye.xQ,this.scroll=new ye.xQ,this._preventDefaultWhileDragging=function(e){i._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=function(e){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&e.preventDefault(),i.pointerMove.next(e))},this._document=n}return _createClass(e,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._persistentTouchmoveListener,IA)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,IA)}},{key:"startDragging",value:function(e,t){var n=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var i=t.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return n.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:IA}),i||this._globalListeners.set("mousemove",{handler:function(e){return n.pointerMove.next(e)},options:IA}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(e,t){n._document.addEventListener(t,e.handler,e.options)})})}}},{key:"stopDragging",value:function(e){var t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(t){return e.removeDragItem(t)}),this._dropInstances.forEach(function(t){return e.removeDropContainer(t)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(t,n){e._document.removeEventListener(n,t.handler,t.options)}),this._globalListeners.clear()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(r.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.R0b),a.LFG(r.K0))},token:e,providedIn:"root"}),e}(),BA={dragStartThreshold:5,pointerDirectionChangeThreshold:5},HA=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._document=t,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=r}return _createClass(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BA;return new wA(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new OA(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0),a.LFG(a.R0b),a.LFG(xu),a.LFG(qA))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(r.K0),a.LFG(a.R0b),a.LFG(xu),a.LFG(qA))},token:e,providedIn:"root"}),e}(),YA=new a.OlP("CDK_DRAG_PARENT"),jA=new a.OlP("CdkDropListGroup"),FA=new a.OlP("CDK_DRAG_CONFIG"),WA=0,UA=new a.OlP("CdkDropList"),KA=function(){var e=function(){function e(t,n,i,r,o,s,c){var u=this;_classCallCheck(this,e),this.element=t,this._changeDetectorRef=i,this._scrollDispatcher=r,this._dir=o,this._group=s,this._destroyed=new ye.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+WA++,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new a.vpe,this.entered=new a.vpe,this.exited=new a.vpe,this.sorted=new a.vpe,this._unsortedItems=new Set,this._dropListRef=n.createDropList(t),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=function(e,t){return u.enterPredicate(e.data,t.data)},this._dropListRef.sortPredicate=function(e,t,n){return u.sortPredicate(e,t.data,n.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),s&&s._items.add(this)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=rr(e)}},{key:"addItem",value:function(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(e,t){return e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(t){var n=this;this._dir&&this._dir.change.pipe(De(this._dir.value),fu(this._destroyed)).subscribe(function(e){return t.withDirection(e)}),t.beforeStarted.subscribe(function(){var i=sr(n.connectedTo).map(function(t){return"string"==typeof t?e._dropLists.find(function(e){return e.id===t}):t});if(n._group&&n._group._items.forEach(function(e){-1===i.indexOf(e)&&i.push(e)}),!n._scrollableParentsResolved){var r=n._scrollDispatcher.getAncestorScrollContainers(n.element).map(function(e){return e.getElementRef().nativeElement});n._dropListRef.withScrollableParents(r),n._scrollableParentsResolved=!0}t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.sortingDisabled=rr(n.sortingDisabled),t.autoScrollDisabled=rr(n.autoScrollDisabled),t.autoScrollStep=ar(n.autoScrollStep,2),t.connectedTo(i.filter(function(e){return e&&e!==n}).map(function(e){return e._dropListRef})).withOrientation(n.orientation)})}},{key:"_handleEvents",value:function(e){var t=this;e.beforeStarted.subscribe(function(){t._syncItemsWithRef(),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:t,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:t,item:e.item.data}),t._changeDetectorRef.markForCheck()}),e.sorted.subscribe(function(e){t.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:t,item:e.item.data})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.draggingDisabled,i=e.sortingDisabled,r=e.listAutoScrollDisabled,a=e.listOrientation;this.disabled=null!=n&&n,this.sortingDisabled=null!=i&&i,this.autoScrollDisabled=null!=r&&r,this.orientation=a||"vertical",t&&(this.lockAxis=t)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(e){return e._dragRef}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(HA),a.Y36(a.sBO),a.Y36(zu),a.Y36(ta,8),a.Y36(jA,12),a.Y36(FA,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(a.uIk("id",t.id),a.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"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[a._Bn([{provide:jA,useValue:void 0},{provide:UA,useExisting:e}])]}),e._dropLists=[],e}(),ZA=new a.OlP("CdkDragHandle"),GA=new a.OlP("CdkDragPlaceholder"),XA=new a.OlP("CdkDragPreview"),VA=function(){var e=function(){function e(t,n,i,r,o,s,c,u,l,h,d){var f=this;_classCallCheck(this,e),this.element=t,this.dropContainer=n,this._ngZone=r,this._viewContainerRef=o,this._dir=c,this._changeDetectorRef=l,this._selfHandle=h,this._parentDrag=d,this._destroyed=new ye.xQ,this.started=new a.vpe,this.released=new a.vpe,this.ended=new a.vpe,this.entered=new a.vpe,this.exited=new a.vpe,this.dropped=new a.vpe,this.moved=new ke.y(function(e){var t=f._dragRef.moved.pipe((0,ze.U)(function(e){return{source:f,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=u.createDrag(t,{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,e._dragInstances.push(this),s&&this._assignDefaults(s),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=rr(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.onStable.pipe((0,xe.q)(1),fu(this._destroyed)).subscribe(function(){e._updateRootElement(),e._handles.changes.pipe(De(e._handles),(0,Ve.b)(function(t){var n=t.filter(function(t){return t._parentDrag===e}).map(function(e){return e.element});e._selfHandle&&e.rootElementSelector&&n.push(e.element),e._dragRef.withHandles(n)}),(0,Oe.w)(function(e){return Fu.T.apply(void 0,_toConsumableArray(e.map(function(e){return e._stateChanges.pipe(De(e))})))}),fu(e._destroyed)).subscribe(function(t){var n=e._dragRef,i=t.element.nativeElement;t.disabled?n.disableHandle(i):n.enableHandle(i)}),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})}},{key:"ngOnChanges",value:function(e){var t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?JA(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?JA(this.element.nativeElement,e):ur(e):null}},{key:"_syncInputs",value:function(t){var n=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var e=n._dir,i=n.dragStartDelay,r=n._placeholderTemplate?{template:n._placeholderTemplate.templateRef,context:n._placeholderTemplate.data,viewContainer:n._viewContainerRef}:null,a=n._previewTemplate?{template:n._previewTemplate.templateRef,context:n._previewTemplate.data,matchSize:n._previewTemplate.matchSize,viewContainer:n._viewContainerRef}:null;t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:ar(i),t.constrainPosition=n.constrainPosition,t.previewClass=n.previewClass,t.withBoundaryElement(n._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(a).withPreviewContainer(n.previewContainer||"global"),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe((0,xe.q)(1)).subscribe(function(){var i,r;if(n._parentDrag)t.withParent(n._parentDrag._dragRef);else for(var a=n.element.nativeElement.parentElement;a;){if(null===(i=a.classList)||void 0===i?void 0:i.contains("cdk-drag")){t.withParent((null===(r=e._dragInstances.find(function(e){return e.element.nativeElement===a}))||void 0===r?void 0:r._dragRef)||null);break}a=a.parentElement}})}},{key:"_handleEvents",value:function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(e){t.ended.emit({source:t,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance,dropPoint:e.dropPoint})})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.dragStartDelay,i=e.constrainPosition,r=e.previewClass,a=e.boundaryElement,o=e.draggingDisabled,s=e.rootElementSelector,c=e.previewContainer;this.disabled=null!=o&&o,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),r&&(this.previewClass=r),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s),c&&(this.previewContainer=c)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(UA,12),a.Y36(r.K0),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(FA,8),a.Y36(ta,8),a.Y36(HA),a.Y36(a.sBO),a.Y36(ZA,10),a.Y36(YA,12))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,XA,5),a.Suo(n,GA,5),a.Suo(n,ZA,5)),2&e)&&(a.iGM(i=a.CRH())&&(t._previewTemplate=i.first),a.iGM(i=a.CRH())&&(t._placeholderTemplate=i.first),a.iGM(i=a.CRH())&&(t._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[a._Bn([{provide:YA,useExisting:e}]),a.TTD]}),e._dragInstances=[],e}();function JA(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}var QA=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[HA],imports:[Ru]}),e}(),$A=["*"],ew=new a.OlP("MatChipRemove"),tw=new a.OlP("MatChipAvatar"),nw=new a.OlP("MatChipTrailingIcon"),iw=Ks(Ws(Us(function e(t){_classCallCheck(this,e),this._elementRef=t}),"primary"),-1),rw=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u,l){var h;return _classCallCheck(this,n),(h=t.call(this,e))._elementRef=e,h._ngZone=i,h._changeDetectorRef=s,h._hasFocus=!1,h.chipListSelectable=!0,h._chipListMultiple=!1,h._chipListDisabled=!1,h._selected=!1,h._selectable=!0,h._disabled=!1,h._removable=!0,h._onFocus=new ye.xQ,h._onBlur=new ye.xQ,h.selectionChange=new a.vpe,h.destroyed=new a.vpe,h.removed=new a.vpe,h._addHostClassName(),h._chipRippleTarget=c.createElement("div"),h._chipRippleTarget.classList.add("mat-chip-ripple"),h._elementRef.nativeElement.appendChild(h._chipRippleTarget),h._chipRipple=new pc(_assertThisInitialized(h),i,h._chipRippleTarget,r),h._chipRipple.setupTriggerEvents(e),h.rippleConfig=o||{},h._animationsDisabled="NoopAnimations"===u,h.tabIndex=null!=l&&parseInt(l)||-1,h}return _createClass(n,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=rr(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=rr(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=rr(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=rr(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled?e.preventDefault():e.stopPropagation()}},{key:"_handleKeydown",value:function(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()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.pipe((0,xe.q)(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})}},{key:"_dispatchSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}]),n}(iw);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(gr),a.Y36(gc,8),a.Y36(a.sBO),a.Y36(r.K0),a.Y36(zs,8),a.$8M("tabindex"))},e.\u0275dir=a.lG2({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,tw,5),a.Suo(n,nw,5),a.Suo(n,ew,5)),2&e)&&(a.iGM(i=a.CRH())&&(t.avatar=i.first),a.iGM(i=a.CRH())&&(t.trailingIcon=i.first),a.iGM(i=a.CRH())&&(t.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&a.NdJ("click",function(e){return t._handleClick(e)})("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(a.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),a.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:[a.qOj]}),e}(),aw=new a.OlP("mat-chips-default-options"),ow=Zs(function e(t,n,i,r){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),sw=0,cw=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},uw=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u){var l;return _classCallCheck(this,n),(l=t.call(this,c,o,s,u))._elementRef=e,l._changeDetectorRef=i,l._dir=r,l.ngControl=u,l.controlType="mat-chip-list",l._lastDestroyedChipIndex=null,l._destroyed=new ye.xQ,l._uid="mat-chip-list-"+sw++,l._tabIndex=0,l._userTabIndex=null,l._onTouched=function(){},l._onChange=function(){},l._multiple=!1,l._compareWith=function(e,t){return e===t},l._required=!1,l._disabled=!1,l.ariaOrientation="horizontal",l._selectable=!0,l.change=new a.vpe,l.valueChange=new a.vpe,l.ngControl&&(l.ngControl.valueAccessor=_assertThisInitialized(l)),l}return _createClass(n,[{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=rr(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=rr(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=rr(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=rr(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return Fu.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e.selectionChange})))}},{key:"chipFocusChanges",get:function(){return Fu.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e._onFocus})))}},{key:"chipBlurChanges",get:function(){return Fu.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e._onBlur})))}},{key:"chipRemoveChanges",get:function(){return Fu.T.apply(void 0,_toConsumableArray(this.chips.map(function(e){return e.destroyed})))}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new Ir(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(fu(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.tabOut.pipe(fu(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.chips.changes.pipe(De(null),fu(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new Lu(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return t._selectValue(e,n)}),this._sortValues();else{var i=this._selectValue(e,n);i&&n&&this._keyManager.setActiveItem(i)}}},{key:"_selectValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.chips.find(function(n){return null!=n.value&&t._compareWith(n.value,e)});return i&&(n?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var t;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new cw(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){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)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&e._keyManager.updateActiveItem(n),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){var n=t.chip,i=e.chips.toArray().indexOf(t.chip);e._isValidIndex(i)&&n._hasFocus&&(e._lastDestroyedChipIndex=i)})}},{key:"_originatesFromChip",value:function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(e){return e._hasFocus})}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach(function(t){t._chipListDisabled=e._disabled,t._chipListMultiple=e.multiple})}}]),n}(ow);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(ta,8),a.Y36(fd,8),a.Y36(Cd,8),a.Y36(ac),a.Y36(qh,10))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,rw,5),2&e)&&(a.iGM(i=a.CRH())&&(t.chips=i))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&a.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(e){return t._keydown(e)}),2&e&&(a.Ikx("id",t._uid),a.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),a.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[a._Bn([{provide:Zl,useExisting:e}]),a.qOj],ngContentSelectors:$A,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),lw=0,hw=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new a.vpe,this.placeholder="",this.id="mat-chip-list-input-"+lw++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return _createClass(e,[{key:"chipList",set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=rr(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=rr(e)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(e){if(e){if(9!==e.keyCode||tr(e,"shiftKey")||this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}},{key:"_keyup",value:function(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(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())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this.inputElement.focus(e)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(e){return!tr(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(aw))},e.\u0275dir=a.lG2({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&a.NdJ("keydown",function(e){return t._keydown(e)})("keyup",function(e){return t._keyup(e)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(a.Ikx("id",t.id),a.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:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[a.TTD]}),e}(),dw={separatorKeyCodes:[13]},fw=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ac,{provide:aw,useValue:dw}],imports:[[js]]}),e}();function pw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-icon",9),a.NdJ("mousedown",function(){return a.CHM(n),a.oxw(2).dragDisabled=!1}),a._uU(1,"drag_indicator"),a.qZA()}}function gw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-icon",10),a.NdJ("click",function(){a.CHM(n);var e=a.oxw().$implicit;return a.oxw().edit(e)}),a._uU(1,"edit"),a.qZA()}}function mw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-icon",11),a.NdJ("click",function(){a.CHM(n);var e=a.oxw().$implicit;return a.oxw().remove(e)}),a._uU(1,"cancel"),a.qZA()}}function vw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-chip",4),a.NdJ("removed",function(){var e=a.CHM(n).$implicit,t=a.oxw();return t.remove(e),t._sendEventToParent()}),a.YNc(1,pw,2,0,"mat-icon",5),a.TgZ(2,"div",6),a.NdJ("click",function(){var e=a.CHM(n).$implicit,t=a.oxw();return t.readonly&&void 0!==t.attribute.displayName&&t.showValue(e,t.attribute.displayName)}),a._uU(3),a.qZA(),a.YNc(4,gw,2,0,"mat-icon",7),a.YNc(5,mw,2,0,"mat-icon",8),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.Q6J("selectable",r.selectable)("cdkDragData",i)("removable",r.removable),a.xp6(1),a.Q6J("ngIf",r.removable),a.xp6(1),a.ekj("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),a.xp6(1),a.Oqu(i),a.xp6(1),a.Q6J("ngIf",r.removable),a.xp6(1),a.Q6J("ngIf",r.removable)}}function _w(e,t){1&e&&(a.TgZ(0,"mat-icon"),a._uU(1,"more_horiz"),a.qZA())}function yw(e,t){1&e&&(a.TgZ(0,"mat-icon"),a._uU(1,"keyboard_arrow_up"),a.qZA())}function bw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",12),a.TgZ(1,"span",13),a.TgZ(2,"button",14),a.NdJ("click",function(){return a.CHM(n),a.oxw().onShowChange()}),a.YNc(3,_w,2,0,"mat-icon",15),a.YNc(4,yw,2,0,"mat-icon",15),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(1),a.Q6J("matTooltip",i.showMore?"Show less":"Show more")("matTooltipPosition","above"),a.xp6(2),a.Q6J("ngIf",!i.showMore),a.xp6(1),a.Q6J("ngIf",i.showMore)}}function Aw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-form-field",12),a.TgZ(1,"input",16),a.NdJ("matChipInputTokenEnd",function(e){return a.CHM(n),a.oxw().add(e)})("change",function(){return a.CHM(n),a.oxw()._sendEventToParent()}),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(),r=a.MAs(2);a.xp6(1),a.Q6J("matChipInputFor",r)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes)("matChipInputAddOnBlur",i.addOnBlur)}}var ww=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new a.vpe,this.readonly=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.removable=!sg(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=sg(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"add",value:function(e){var t=e.input,n=e.value;(n||"").trim()&&(this.attribute.value.push(n.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}},{key:"remove",value:function(e){var t=this,n=og();n.width="400px",n.data={name:e},this.dialog.open(wv,n).afterClosed().subscribe(function(n){if(n){var i=t.attribute.value.indexOf(e);t.attribute.value.splice(i,1),t.values=Object.values(t.attribute.value),t.sendEventToParent.emit()}})}},{key:"drop",value:function(e){this.dragDisabled=!0,EA(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}},{key:"edit",value:function(e){var t=this,n=this.attribute.value.indexOf(e),i=og();i.width="600px",i.data={attribute:this.attribute,index:n},this.dialog.open(Av,i).afterClosed().subscribe(function(e){e&&(t.values=Object.values(t.attribute.value),t.sendEventToParent.emit())})}},{key:"showValue",value:function(e,t){var n=og();n.width="350px",n.data={value:e,title:t},this.dialog.open(bv,n)}},{key:"setItemsShown",value:function(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.setItemsShown()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&(a.TgZ(0,"div"),a.TgZ(1,"mat-chip-list",0,1),a.NdJ("cdkDropListDropped",function(e){return t.drop(e),t._sendEventToParent()}),a.YNc(3,vw,6,9,"mat-chip",2),a.YNc(4,bw,5,4,"div",3),a.YNc(5,Aw,2,3,"mat-form-field",3),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Q6J("cdkDropListDisabled",t.dragDisabled),a.xp6(2),a.Q6J("ngForOf",t.values.slice(0,t.itemsShown)),a.xp6(1),a.Q6J("ngIf",t.values.length>t.defaultItemsShown),a.xp6(1),a.Q6J("ngIf",!t.readonly))},directives:[uw,KA,r.sg,r.O5,rw,VA,pp,mf,Ic,ah,im,hw],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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}(),kw=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new a.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=sg(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e,t){var n=og();n.width="350px",n.data={value:e,title:t},this.dialog.open(bv,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-form-field",0),a.TgZ(1,"input",1),a.NdJ("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),a.qZA(),a.qZA()),2&e&&(a.s9C("appearance",t.readonly?"none":"standard"),a.xp6(1),a.ekj("cursor-pointer",t.readonly&&void 0!==t.value),a.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[ah,im,gh,Hh,md],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}(),Mw=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new a.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=sg(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e){var t=og();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(bv,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"mat-form-field",0),a.TgZ(1,"input",1),a.NdJ("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),a.qZA(),a.qZA()),2&e&&(a.s9C("appearance",t.readonly?"none":"standard"),a.xp6(1),a.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.value),a.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[ah,im,yd,gh,Hh,md],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}(),Cw=["map"];function Tw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-attribute-value-boolean",3),a.NdJ("sendEventToParent",function(){return a.CHM(n),a.oxw()._sendEventToParent2()}),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("attribute",i.attribute)("readonly",i.readonly)}}function Lw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-attribute-value-list",3),a.NdJ("sendEventToParent",function(){return a.CHM(n),a.oxw()._sendEventToParent2()}),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("attribute",i.attribute)("readonly",i.readonly)}}function Sw(e,t){if(1&e&&a._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&e){var n=a.oxw();a.Q6J("attribute",n.attribute)("readonly",n.readonly)}}function Ew(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-attribute-value-string",3),a.NdJ("sendEventToParent",function(){return a.CHM(n),a.oxw()._sendEventToParent2()}),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("attribute",i.attribute)("readonly",i.readonly)}}function zw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-attribute-value-integer",3),a.NdJ("sendEventToParent",function(){return a.CHM(n),a.oxw()._sendEventToParent2()}),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("attribute",i.attribute)("readonly",i.readonly)}}var Ow=function(){var e=function(){function e(){_classCallCheck(this,e),this.readonly=!1,this.sendEventToParent2=new a.vpe}return _createClass(e,[{key:"updateMapAttribute",value:function(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}},{key:"_sendEventToParent2",value:function(){this.sendEventToParent2.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){var n;(1&e&&a.Gf(Cw,5),2&e)&&(a.iGM(n=a.CRH())&&(t.mapComponent=n.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&&(a.TgZ(0,"div"),a.YNc(1,Tw,1,2,"perun-web-apps-attribute-value-boolean",0),a.YNc(2,Lw,1,2,"perun-web-apps-attribute-value-list",0),a.TgZ(3,"div",1),a.NdJ("click",function(){return t._sendEventToParent2()}),a.YNc(4,Sw,2,2,"perun-web-apps-attribute-value-map",2),a.qZA(),a.YNc(5,Ew,1,2,"perun-web-apps-attribute-value-string",0),a.YNc(6,zw,1,2,"perun-web-apps-attribute-value-integer",0),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf","java.lang.Boolean"===t.attribute.type),a.xp6(1),a.Q6J("ngIf","java.util.ArrayList"===t.attribute.type),a.xp6(2),a.Q6J("ngIf","java.util.LinkedHashMap"===t.attribute.type),a.xp6(1),a.Q6J("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),a.xp6(1),a.Q6J("ngIf","java.lang.Integer"===t.attribute.type))},directives:[r.O5,nA,ww,Hb,kw,Mw],styles:[""]}),e}();function xw(e,t){1&e&&a._UZ(0,"mat-spinner",3)}function Rw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-option",16),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw(4).changeLanguage(e)}),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"uppercase"),a.qZA()}if(2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",a.lcZ(2,2,a.lcZ(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function Dw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-form-field",13),a.TgZ(1,"mat-select",14),a.NdJ("valueChange",function(e){return a.CHM(n),a.oxw(3).currentLang=e}),a.YNc(2,Rw,4,6,"mat-option",15),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(3);a.xp6(1),a.Q6J("value",i.currentLang),a.xp6(1),a.Q6J("ngForOf",i.languages)}}function Pw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"a",17),a._uU(2),a.qZA(),a.TgZ(3,"button",18),a.NdJ("click",function(){return a.CHM(n),a.oxw(3).changeEmail()}),a.TgZ(4,"mat-icon"),a._uU(5," edit "),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(3);a.xp6(1),a.MGl("href","mailto:",i.email,"",a.LSH),a.xp6(1),a.Oqu(i.email)}}function Nw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-option",16),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw(4).changeTimeZone(e)}),a._uU(1),a.qZA()}if(2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.hij(" ",i," ")}}function Iw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-form-field",13),a.TgZ(1,"mat-select",19),a.NdJ("valueChange",function(e){return a.CHM(n),a.oxw(3).currentTimezone=e}),a.YNc(2,Nw,2,2,"mat-option",15),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(3);a.xp6(1),a.Q6J("value",i.currentTimezone),a.xp6(1),a.Q6J("ngForOf",i.timeZones)}}function qw(e,t){1&e&&(a.TgZ(0,"p"),a._uU(1,"-"),a.qZA())}function Bw(e,t){if(1&e&&a._UZ(0,"perun-web-apps-attribute-value",22),2&e){var n=a.oxw(2).$implicit;a.Q6J("attribute",n.attribute)("readonly",!0)}}function Hw(e,t){if(1&e&&(a.TgZ(0,"div"),a.YNc(1,qw,2,0,"p",20),a.YNc(2,Bw,1,2,"perun-web-apps-attribute-value",21),a.qZA()),2&e){var n=a.oxw().$implicit;a.xp6(1),a.Q6J("ngIf",!n.attribute.value),a.xp6(1),a.Q6J("ngIf",n.attribute.value)}}function Yw(e,t){if(1&e&&(a.TgZ(0,"tr"),a.TgZ(1,"td",7),a.TgZ(2,"div",8),a._uU(3),a.qZA(),a.qZA(),a.TgZ(4,"td",9),a.YNc(5,Dw,3,2,"mat-form-field",10),a.YNc(6,Pw,6,2,"div",11),a.YNc(7,Iw,3,2,"mat-form-field",10),a.YNc(8,Hw,3,2,"div",12),a.qZA(),a.qZA()),2&e){var n=t.$implicit,i=a.oxw(2);a.xp6(2),a.Q6J("matTooltip",n["tooltip_"+i.currentLang]),a.xp6(1),a.Oqu(n["displayName_"+i.currentLang]),a.xp6(1),a.Q6J("ngSwitch",n.attribute.friendlyName),a.xp6(1),a.Q6J("ngSwitchCase","preferredLanguage"),a.xp6(1),a.Q6J("ngSwitchCase","preferredMail"),a.xp6(1),a.Q6J("ngSwitchCase","timezone")}}function jw(e,t){if(1&e&&(a.TgZ(0,"table",4),a.TgZ(1,"tbody"),a.TgZ(2,"tr"),a.TgZ(3,"td",5),a._uU(4),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.qZA(),a.TgZ(7,"td"),a._uU(8),a.qZA(),a.qZA(),a.YNc(9,Yw,9,6,"tr",6),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.xp6(4),a.Oqu(a.lcZ(5,3,a.lcZ(6,5,"PROFILE_PAGE.NAME"))),a.xp6(4),a.Oqu(n.fullName),a.xp6(1),a.Q6J("ngForOf",n.additionalAttributes)}}var Fw=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u,l){var h=this;_classCallCheck(this,e),this.translateService=t,this.dialog=n,this.authzResolverService=i,this.attributesManagerService=r,this.usersManagerService=a,this.route=o,this.router=s,this.notificator=c,this.storeService=u,this.apiRequestConfiguration=l,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=Rb.tz.names().filter(function(e){return!e.startsWith("Etc/")}),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",t.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(function(e){return h.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this.route.snapshot.queryParamMap,n=t.get("token"),i=t.get("u");this.loading=!0,n&&i?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(n,Number.parseInt(i,10)).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.router.navigate([],{replaceUrl:!0}),e.getData()},function(){var t=og();t.width="600px",e.dialog.open(zv,t).afterClosed().subscribe(function(){e.getData()})})):this.getData()}},{key:"getData",value:function(){var e=this;this.authzResolverService.getPerunPrincipal().subscribe(function(t){e.userId=t.userId,e.usersManagerService.getRichUserWithAttributes(e.userId).subscribe(function(t){e.fullName=(new Pg).transform(t);var n=t.userAttributes.find(function(e){return"preferredMail"===e.friendlyName});e.email=n.value,e.languageAttribute=t.userAttributes.find(function(e){return"preferredLanguage"===e.friendlyName}),e.currentLang=e.languageAttribute&&e.languageAttribute.value?e.languageAttribute.value:"en",e.timezoneAttribute=t.userAttributes.find(function(e){return"timezone"===e.friendlyName}),e.currentTimezone=e.timezoneAttribute&&e.timezoneAttribute.value?e.timezoneAttribute.value:"-";var i=e.storeService.get("profile_page_attributes"),r=e.storeService.get("supported_languages"),a=0;i.forEach(function(n){var o=t.userAttributes.find(function(e){return e.friendlyName===n.friendly_name});o?(a++,e.addAttribute(o,n,r)):e.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:".concat(n.is_virtual?"virt":"def",":").concat(n.friendly_name)).subscribe(function(t){e.addAttribute(t,n,r),a++,e.loading=a!==i.length}),e.loading=a!==i.length})})})}},{key:"addAttribute",value:function(e,t,n){var i,r,a={attribute:e},o=_createForOfIteratorHelper(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;a["displayName_".concat(s)]=t["display_name_".concat(s)]&&t["display_name_".concat(s)].length?t["display_name_".concat(s)]:e.displayName,a["tooltip_".concat(s)]=null!==(i=t["tooltip_".concat(s)])&&void 0!==i?i:""}}catch(c){o.e(c)}finally{o.f()}this.additionalAttributes.push(a)}},{key:"changeLanguage",value:function(e){var t=this;this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(function(e){t.languageAttribute=e,t.setLanguage()})}},{key:"setLanguage",value:function(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(function(){})}},{key:"changeTimeZone",value:function(e){var t=this;this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(function(e){t.timezoneAttribute=e,t.setTimeZone()})}},{key:"setTimeZone",value:function(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(function(){})}},{key:"changeEmail",value:function(){var e=this,t=og();t.width="350px",t.data={userId:this.userId},this.dialog.open(Ev,t).afterClosed().subscribe(function(t){t&&e.getEmail()})}},{key:"getEmail",value:function(){var e=this;this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(function(t){e.email=t.value})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Dp),a.Y36(Qp),a.Y36(ae),a.Y36(re),a.Y36(he),a.Y36(un),a.Y36(zi),a.Y36(Lg),a.Y36(bg),a.Y36(Tg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div",0),a.YNc(1,xw,1,0,"mat-spinner",1),a.YNc(2,jw,10,7,"table",2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[r.O5,Zg,r.sg,mf,r.RF,r.n9,r.ED,ah,ef,Sc,Ic,pp,Ow],pipes:[Pp,Ng,r.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}"]}),e}(),Ww=["mat-sort-header",""];function Uw(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",3),a.NdJ("@arrowPosition.start",function(){return a.CHM(n),a.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return a.CHM(n),a.oxw()._disableViewStateAnimation=!1}),a._UZ(1,"div",4),a.TgZ(2,"div",5),a._UZ(3,"div",6),a._UZ(4,"div",7),a._UZ(5,"div",8),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),a.xp6(2),a.Q6J("@indicator",i._getArrowDirectionState()),a.xp6(1),a.Q6J("@leftPointer",i._getArrowDirectionState()),a.xp6(1),a.Q6J("@rightPointer",i._getArrowDirectionState())}}var Kw,Zw=["*"],Gw=new a.OlP("MAT_SORT_DEFAULT_OPTIONS"),Xw=Gs(Fs(function e(){_classCallCheck(this,e)})),Vw=((Kw=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._defaultOptions=e,i.sortables=new Map,i._stateChanges=new ye.xQ,i.start="asc",i._direction="",i.sortChange=new a.vpe,i}return _createClass(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=rr(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(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})}},{key:"getNextSortDirection",value:function(e){var t,n,i;if(!e)return"";var r=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),a=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,r),o=a.indexOf(this.direction)+1;return o>=a.length&&(o=0),a[o]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Xw)).\u0275fac=function(e){return new(e||Kw)(a.Y36(Gw,8))},Kw.\u0275dir=a.lG2({type:Kw,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[a.qOj,a.TTD]}),Kw),Jw=Bs.ENTERING+" "+qs.STANDARD_CURVE,Qw={indicator:aa("indicator",[la("active-asc, asc",ua({transform:"translateY(0px)"})),la("active-desc, desc",ua({transform:"translateY(10px)"})),da("active-asc <=> active-desc",oa(Jw))]),leftPointer:aa("leftPointer",[la("active-asc, asc",ua({transform:"rotate(-45deg)"})),la("active-desc, desc",ua({transform:"rotate(45deg)"})),da("active-asc <=> active-desc",oa(Jw))]),rightPointer:aa("rightPointer",[la("active-asc, asc",ua({transform:"rotate(45deg)"})),la("active-desc, desc",ua({transform:"rotate(-45deg)"})),da("active-asc <=> active-desc",oa(Jw))]),arrowOpacity:aa("arrowOpacity",[la("desc-to-active, asc-to-active, active",ua({opacity:1})),la("desc-to-hint, asc-to-hint, hint",ua({opacity:.54})),la("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ua({opacity:0})),da("* => asc, * => desc, * => active, * => hint, * => void",oa("0ms")),da("* <=> *",oa(Jw))]),arrowPosition:aa("arrowPosition",[da("* => desc-to-hint, * => desc-to-active",oa(Jw,ha([ua({transform:"translateY(-25%)"}),ua({transform:"translateY(0)"})]))),da("* => hint-to-desc, * => active-to-desc",oa(Jw,ha([ua({transform:"translateY(0)"}),ua({transform:"translateY(25%)"})]))),da("* => asc-to-hint, * => asc-to-active",oa(Jw,ha([ua({transform:"translateY(25%)"}),ua({transform:"translateY(0)"})]))),da("* => hint-to-asc, * => active-to-asc",oa(Jw,ha([ua({transform:"translateY(0)"}),ua({transform:"translateY(-25%)"})]))),la("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ua({transform:"translateY(0)"})),la("hint-to-desc, active-to-desc, desc",ua({transform:"translateY(-25%)"})),la("hint-to-asc, active-to-asc, asc",ua({transform:"translateY(25%)"}))]),allowChildren:aa("allowChildren",[da("* <=> *",[pa("@*",fa(),{optional:!0})])])},$w=function(){var e=function e(){_classCallCheck(this,e),this.changes=new ye.xQ};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),ek={provide:$w,deps:[[new a.FiY,new a.tp0,$w]],useFactory:function(e){return e||new $w}},tk=Fs(function e(){_classCallCheck(this,e)}),nk=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this))._intl=e,c._changeDetectorRef=i,c._sort=r,c._columnDef=a,c._focusMonitor=o,c._elementRef=s,c._showIndicatorHint=!1,c._viewState={},c._arrowDirection="",c._disableViewStateAnimation=!1,c.arrowPosition="after",c._handleStateChanges(),c}return _createClass(n,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=rr(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var n=!!t;n!==e._showIndicatorHint&&(e._setIndicatorHintVisible(n),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(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})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?"".concat(e,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=(0,Fu.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),n}(tk);return e.\u0275fac=function(t){return new(t||e)(a.Y36($w),a.Y36(a.sBO),a.Y36(Vw,8),a.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),a.Y36(Vr),a.Y36(a.SBq))},e.\u0275cmp=a.Xpm({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(a.uIk("aria-sort",t._getAriaSortAttribute()),a.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[a.qOj],attrs:Ww,ngContentSelectors:Zw,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.Hsn(2),a.qZA(),a.YNc(3,Uw,6,6,"div",2),a.qZA()),2&e&&(a.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),a.uIk("tabindex",t._isDisabled()?null:0),a.xp6(3),a.Q6J("ngIf",t._renderArrow()))},directives:[r.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:[Qw.indicator,Qw.leftPointer,Qw.rightPointer,Qw.arrowOpacity,Qw.arrowPosition,Qw.allowChildren]},changeDetection:0}),e}(),ik=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ek],imports:[[r.ez,js]]}),e}(),rk=function(){var e=function(){function e(t){_classCallCheck(this,e),this.elementRef=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e,selectors:[["","perunWebAppsAutoFocus",""]]}),e}(),ak=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"onClick",value:function(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){var t=this.perunWebAppsMiddleClickRouterLink.join("/"),n=location.search;window.open(t+n)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&a.NdJ("mouseup",function(e){return t.onClick(e)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),e}(),ok=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=e.find(function(e){return"mail"===e.friendlyName});return t?t.value.toString():"N/A"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"getMailFromAttributes",type:e,pure:!0}),e}();function sk(e,t){1&e&&a._UZ(0,"th",17)}function ck(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",18),a.TgZ(1,"mat-checkbox",19),a.NdJ("change",function(e){var t=a.CHM(n).$implicit,i=a.oxw();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function uk(e,t){1&e&&(a.TgZ(0,"th",20),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function lk(e,t){if(1&e&&(a.TgZ(0,"td",21),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.userExtSource.id)}}function hk(e,t){1&e&&(a.TgZ(0,"th",17),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function dk(e,t){if(1&e&&(a.TgZ(0,"td",21),a._uU(1),a.ALo(2,"getMailFromAttributes"),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(a.lcZ(2,1,n.attributes))}}function fk(e,t){if(1&e&&(a.TgZ(0,"th",20),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,n.extSourceNameHeader?n.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function pk(e,t){if(1&e&&(a.TgZ(0,"td",21),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.userExtSource.extSource.name)}}function gk(e,t){if(1&e&&(a.TgZ(0,"th",20),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,n.loginHeader?n.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function mk(e,t){if(1&e&&(a.TgZ(0,"td",21),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.userExtSource.login)}}function vk(e,t){1&e&&(a.TgZ(0,"th",20),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function _k(e,t){if(1&e&&(a.TgZ(0,"td",22),a._uU(1),a.ALo(2,"date"),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(a.xi3(2,1,n.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function yk(e,t){1&e&&a._UZ(0,"tr",23)}var bk=function(e,t){return["/admin","users",e,"identities",t]};function Ak(e,t){if(1&e&&a._UZ(0,"tr",24),2&e){var n=t.$implicit,i=a.oxw();a.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),a.Q6J("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:a.WLB(6,bk,i.userId,n.userExtSource.id))("routerLink",i.disableRouting?null:a.WLB(9,bk,i.userId,n.userExtSource.id))}}function wk(e,t){1&e&&(a.TgZ(0,"app-alert",25),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var kk=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.route=t,this.authResolver=n,this.selection=new Lu,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new a.vpe,this.pageSizeOptions=ag}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){var e=this;this.disableRouting||this.route.parent.params.subscribe(function(t){e.userId=t.userId}),this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new ov(this.userExtSources),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":var n=e.attributes.find(function(e){return"mail"===e.friendlyName});return n?n.value.toString():"N/A";case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return""}}},{key:"exportData",value:function(e){dg(hg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,n){return lg(t,n,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,n){return ug(t,n,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e.userExtSource)?"deselect":"select"," row ").concat(e.userExtSource.id+1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(un),a.Y36(ge))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){var n;(1&e&&(a.Gf(vg,7),a.Gf(Vw,7)),2&e)&&(a.iGM(n=a.CRH())&&(t.child=n.first),a.iGM(n=a.CRH())&&(t.matSort=n.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[a.TTD],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"perun-web-apps-table-wrapper",1),a.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),a.TgZ(2,"table",2),a.ynx(3,3),a.YNc(4,sk,1,0,"th",4),a.YNc(5,ck,2,2,"td",5),a.BQk(),a.ynx(6,6),a.YNc(7,uk,4,5,"th",7),a.YNc(8,lk,2,1,"td",8),a.BQk(),a.ynx(9,9),a.YNc(10,hk,4,5,"th",4),a.YNc(11,dk,3,3,"td",8),a.BQk(),a.ynx(12,10),a.YNc(13,fk,4,5,"th",7),a.YNc(14,pk,2,1,"td",8),a.BQk(),a.ynx(15,11),a.YNc(16,gk,4,5,"th",7),a.YNc(17,mk,2,1,"td",8),a.BQk(),a.ynx(18,12),a.YNc(19,vk,4,5,"th",7),a.YNc(20,_k,3,4,"td",13),a.BQk(),a.YNc(21,yk,1,0,"tr",14),a.YNc(22,Ak,1,12,"tr",15),a.qZA(),a.qZA(),a.qZA(),a.YNc(23,wk,4,5,"app-alert",16)),2&e&&(a.Q6J("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),a.xp6(1),a.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),a.xp6(1),a.Q6J("dataSource",t.dataSource),a.xp6(19),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns),a.xp6(1),a.Q6J("ngIf",0===t.userExtSources.length))},directives:[vg,Xm,Vw,Qm,Jm,Vm,tv,nv,r.O5,$m,ev,Jb,nk,iv,rv,ak,Oi,Cv],pipes:[Pp,Ng,ok,r.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e}();function Mk(e,t){1&e&&a._UZ(0,"mat-spinner",3)}function Ck(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"h1",8),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.TgZ(5,"button",5),a.NdJ("click",function(){return a.CHM(n),a.oxw(2).addIdentity()}),a._uU(6),a.ALo(7,"translate"),a.ALo(8,"customTranslate"),a.qZA(),a.TgZ(9,"button",6),a.NdJ("click",function(){a.CHM(n);var e=a.oxw(2);return e.removeIdentity(e.certSelection)}),a._uU(10),a.ALo(11,"translate"),a.ALo(12,"customTranslate"),a.qZA(),a._UZ(13,"perun-web-apps-user-ext-sources-list",11),a.qZA()}if(2&e){var i=a.oxw(2);a.xp6(2),a.Oqu(a.lcZ(3,10,a.lcZ(4,12,"IDENTITIES.CERT"))),a.xp6(4),a.Oqu(a.lcZ(7,14,a.lcZ(8,16,"IDENTITIES.ADD"))),a.xp6(3),a.Q6J("disabled",0===i.certSelection.selected.length),a.xp6(1),a.Oqu(a.lcZ(11,18,a.lcZ(12,20,"IDENTITIES.REMOVE"))),a.xp6(3),a.Q6J("userExtSources",i.certExtSources)("selection",i.certSelection)("extSourceNameHeader",i.extSourceNameCert)("loginHeader",i.loginCert)("displayedColumns",i.displayedColumnsCert)("disableRouting",!0)}}function Tk(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"h1",4),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.TgZ(5,"button",5),a.NdJ("click",function(){return a.CHM(n),a.oxw().addIdentity()}),a._uU(6),a.ALo(7,"translate"),a.ALo(8,"customTranslate"),a.qZA(),a.TgZ(9,"button",6),a.NdJ("click",function(){a.CHM(n);var e=a.oxw();return e.removeIdentity(e.idpSelection)}),a._uU(10),a.ALo(11,"translate"),a.ALo(12,"customTranslate"),a.qZA(),a._UZ(13,"perun-web-apps-user-ext-sources-list",7),a.YNc(14,Ck,14,22,"div",2),a.TgZ(15,"h1",8),a._uU(16),a.ALo(17,"translate"),a.ALo(18,"customTranslate"),a.TgZ(19,"mat-icon",9),a.ALo(20,"translate"),a.ALo(21,"customTranslate"),a._uU(22," info_outline "),a.qZA(),a.qZA(),a._UZ(23,"perun-web-apps-user-ext-sources-list",10),a.qZA()}if(2&e){var i=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,17,a.lcZ(4,19,"IDENTITIES.IDP"))),a.xp6(4),a.Oqu(a.lcZ(7,21,a.lcZ(8,23,"IDENTITIES.ADD"))),a.xp6(3),a.Q6J("disabled",0===i.idpSelection.selected.length),a.xp6(1),a.Oqu(a.lcZ(11,25,a.lcZ(12,27,"IDENTITIES.REMOVE"))),a.xp6(3),a.Q6J("userExtSources",i.idpExtSources)("selection",i.idpSelection)("displayedColumns",i.displayedColumnsIdp)("loginHeader",i.loginIdp)("disableRouting",!0),a.xp6(1),a.Q6J("ngIf",i.displayCertificates),a.xp6(2),a.hij(" ",a.lcZ(17,29,a.lcZ(18,31,"IDENTITIES.OTHER"))," "),a.xp6(3),a.Q6J("matTooltip",a.lcZ(20,33,a.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),a.xp6(4),a.Q6J("userExtSources",i.otherExtSources)("selection",i.otherSelection)("extSourceNameHeader",i.extSourceNameOther)("displayedColumns",i.displayedColumnsOther)("disableRouting",!0)}}var Lk=function(){var e=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.usersManagerService=t,this.storage=n,this.registrarManagerService=i,this.dialog=r,this.attributesManagerService=a,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new Lu(!0,[]),this.certSelection=new Lu(!0,[]),this.otherSelection=new Lu(!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"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}},{key:"refreshTables",value:function(){var e=this;this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(function(t){var n=t.length;t.forEach(function(t){e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(function(i){i&&i.value?(t.userExtSource.extSource.name=i.value,n--,e.loading=0!==n,e.addToList(t)):e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(function(i){n--,i&&i.value&&(t.userExtSource.extSource.name=i.value),e.loading=0!==n,e.addToList(t)})})})})}},{key:"addIdentity",value:function(){var e=this;this.registrarManagerService.getConsolidatorToken().subscribe(function(t){var n=e.storage.getPerunPrincipal().extSourceType,i=e.storage.get("consolidator_base_url");window.location.href="".concat(i).concat(n&&n.endsWith("X509")?"cert":"fed","-ic/ic/?target_url=").concat(window.location.href,"&token=").concat(t)})}},{key:"removeIdentity",value:function(e){var t=this,n=og();n.width="600px",n.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(pv,n).afterClosed().subscribe(function(n){n&&(e.clear(),t.refreshTables())})}},{key:"addToList",value:function(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)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(he),a.Y36(bg),a.Y36(ue),a.Y36(Qp),a.Y36(re))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",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&&(a.TgZ(0,"div",0),a.YNc(1,Mk,1,0,"mat-spinner",1),a.YNc(2,Tk,24,37,"div",2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[r.O5,Zg,Ic,kk,pp,mf],pipes:[Pp,Ng],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),e}(),Sk=["panel"];function Ek(e,t){if(1&e&&(a.TgZ(0,"div",0,1),a.Hsn(2),a.qZA()),2&e){var n=t.id,i=a.oxw();a.Q6J("id",i.id)("ngClass",i._classList),a.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}var zk=["*"],Ok=0,xk=function e(t,n){_classCallCheck(this,e),this.source=t,this.option=n},Rk=Us(function e(){_classCallCheck(this,e)}),Dk=new a.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),Pk=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var s;return _classCallCheck(this,n),(s=t.call(this))._changeDetectorRef=e,s._elementRef=i,s._activeOptionChanges=Qe.w.EMPTY,s.showPanel=!1,s._isOpen=!1,s.displayWith=null,s.optionSelected=new a.vpe,s.opened=new a.vpe,s.closed=new a.vpe,s.optionActivated=new a.vpe,s._classList={},s.id="mat-autocomplete-"+Ok++,s.inertGroups=(null==o?void 0:o.SAFARI)||!1,s._autoActiveFirstOption=!!r.autoActiveFirstOption,s}return _createClass(n,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=rr(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=e){var i,r=Array.isArray(e)?e:"".concat(e).split(t),a=_createForOfIteratorHelper(r);try{for(a.s();!(i=a.n()).done;){var o=i.value,s="".concat(o).trim();s&&n.push(s)}}catch(c){a.e(c)}finally{a.f()}}return n}(e).reduce(function(e,t){return e[t]=!0,e},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new Nr(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(t){e.optionActivated.emit({source:e,option:e.options.toArray()[t]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(e){var t=new xk(this,e);this.optionSelected.emit(t)}},{key:"_getPanelAriaLabelledby",value:function(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_setVisibilityClasses",value:function(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}]),n}(Rk);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(a.SBq),a.Y36(Dk),a.Y36(gr))},e.\u0275dir=a.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&(a.Gf(a.Rgc,7),a.Gf(Sk,5)),2&e)&&(a.iGM(n=a.CRH())&&(t.template=n.first),a.iGM(n=a.CRH())&&(t.panel=n.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[a.qOj]}),e}(),Nk=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._visibleClass="mat-autocomplete-visible",e._hiddenClass="mat-autocomplete-hidden",e}return n}(Pk);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Mc,5),a.Suo(n,Sc,5)),2&e)&&(a.iGM(i=a.CRH())&&(t.optionGroups=i),a.iGM(i=a.CRH())&&(t.options=i))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[a._Bn([{provide:bc,useExisting:t}]),a.qOj],ngContentSelectors:zk,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(a.F$t(),a.YNc(0,Ek,3,4,"ng-template"))},directives:[r.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}),t}(),Ik=new a.OlP("mat-autocomplete-scroll-strategy"),qk={provide:Ik,deps:[_l],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Bk={provide:dh,useExisting:(0,a.Gpc)(function(){return Yk}),multi:!0},Hk=function(){var e=function(){function e(t,n,i,r,a,o,s,c,u,l,h){var d=this;_classCallCheck(this,e),this._element=t,this._overlay=n,this._viewContainerRef=i,this._zone=r,this._changeDetectorRef=a,this._dir=s,this._formField=c,this._document=u,this._viewportRuler=l,this._defaults=h,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Qe.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new ye.xQ,this._windowBlurHandler=function(){d._canOpenOnNextFocus=d._document.activeElement!==d._element.nativeElement||d.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Se(function(){return d.autocomplete&&d.autocomplete.options?Fu.T.apply(void 0,_toConsumableArray(d.autocomplete.options.map(function(e){return e.onSelectionChange}))):d._zone.onStable.pipe((0,xe.q)(1),(0,Oe.w)(function(){return d.optionSelections}))}),this._scrollStrategy=o}return _createClass(e,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=rr(e)}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(function(){return t.addEventListener("blur",e._windowBlurHandler)})}},{key:"ngOnChanges",value:function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var e=this;return(0,Fu.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,me.h)(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,me.h)(function(){return e._overlayAttached})):(0,_e.of)()).pipe((0,ze.U)(function(e){return e instanceof Tc?e:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var e=this;return(0,Fu.T)(Yc(this._document,"click"),Yc(this._document,"auxclick"),Yc(this._document,"touchend")).pipe((0,me.h)(function(t){var n=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=e._formField?e._formField._elementRef.nativeElement:null,r=e.connectedTo?e.connectedTo.elementRef.nativeElement:null;return e._overlayAttached&&n!==e._element.nativeElement&&(!i||!i.contains(n))&&(!r||!r.contains(n))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(n)}))}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._element.nativeElement.disabled=e}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;if(27!==t||tr(e)||e.preventDefault(),this.activeOption&&13===t&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,i=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var e=this,t=this._zone.onStable.pipe((0,xe.q)(1)),n=this.autocomplete.options.changes.pipe((0,Ve.b)(function(){return e._positionStrategy.reapplyLastPosition()}),(0,Rf.g)(0));return(0,Fu.T)(t,n).pipe((0,Oe.w)(function(){var t=e.panelOpen;return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&(e._overlayRef.updatePosition(),t!==e.panelOpen&&e.autocomplete.opened.emit()),e.panelClosingActions}),(0,xe.q)(1)).subscribe(function(t){return e._setValueAndClose(t)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(e){this.autocomplete.options.forEach(function(t){t!==e&&t.selected&&t.deselect()})}},{key:"_attachOverlay",value:function(){var e,t=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!wr(this._element.nativeElement));var n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Iu(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,n.keydownEvents().subscribe(function(e){(27===e.keyCode&&!tr(e)||38===e.keyCode&&tr(e,"altKey"))&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&n&&n.updateSize({width:t._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var e;return new el({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}},{key:"_setStrategyPositions",value:function(e){var t,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];t="above"===this.position?r:"below"===this.position?n:[].concat(n,r),e.withPositions(t)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"_scrollToOption",value:function(e){var t=this.autocomplete,n=Ec(e,t.options,t.optionGroups);if(0===e&&1===n)t._setScrollTop(0);else if(t.panel){var i=t.options.toArray()[e];if(i){var r=i._getHostElement(),a=zc(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(a)}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(_l),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(Ik),a.Y36(ta,8),a.Y36(rh,9),a.Y36(r.K0,8),a.Y36(xu),a.Y36(Dk,8))},e.\u0275dir=a.lG2({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[a.TTD]}),e}(),Yk=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",e}return n}(Hk);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&a.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&a.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[a._Bn([Bk]),a.qOj]}),t}(),jk=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[qk],imports:[[Ml,xc,js,r.ez],Ru,xc,js]}),e}(),Fk=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return e&&e.value?e.value:"never"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"validateExpiration",type:e,pure:!0}),e}();function Wk(e,t){1&e&&a._UZ(0,"th",15)}function Uk(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",16),a.TgZ(1,"mat-checkbox",17),a.NdJ("change",function(e){var t=a.CHM(n).$implicit,i=a.oxw();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),a.ALo(2,"validateExpiration"),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))("disabled","never"===a.lcZ(2,3,i.expirationAttribute))}}function Kk(e,t){1&e&&(a.TgZ(0,"th",15),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))))}function Zk(e,t){if(1&e&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.entity.name)}}function Gk(e,t){1&e&&(a.TgZ(0,"th",15),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function Xk(e,t){if(1&e&&(a.TgZ(0,"td",18),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.entity.description)}}function Vk(e,t){1&e&&(a.TgZ(0,"th",19),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function Jk(e,t){if(1&e&&(a.TgZ(0,"td",18),a._uU(1),a.ALo(2,"validateExpiration"),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.hij(" ",a.lcZ(2,1,n.expirationAttribute)," ")}}function Qk(e,t){1&e&&a._UZ(0,"th",15)}function $k(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",18),a.TgZ(1,"button",20),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().extend(e)}),a.ALo(2,"validateExpiration"),a._uU(3),a.ALo(4,"translate"),a.ALo(5,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit;a.xp6(1),a.Q6J("disabled","never"===a.lcZ(2,2,i.expirationAttribute)),a.xp6(2),a.Oqu(a.lcZ(4,4,a.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function eM(e,t){1&e&&a._UZ(0,"tr",21)}function tM(e,t){1&e&&a._UZ(0,"tr",22)}function nM(e,t){1&e&&(a.TgZ(0,"app-alert",23),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}var iM=function(){var e=function(){function e(){_classCallCheck(this,e),this.members=[],this.searchString="",this.selection=new Lu(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSize=10,this.filterValue="",this.extendMembership=new a.vpe,this.pageSizeOptions=ag}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"ngOnChanges",value:function(){this.dataSource=new ov(this.members),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}},{key:"exportData",value:function(e){dg(hg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,n){return lg(t,n,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,n){return ug(t,n,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.entity.id+1)}},{key:"extend",value:function(e){this.extendMembership.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){var n;(1&e&&(a.Gf(Vw,7),a.Gf(vg,7)),2&e)&&(a.iGM(n=a.CRH())&&(t.matSort=n.first),a.iGM(n=a.CRH())&&(t.child=n.first))},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[a.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","change","click"],["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&&(a.TgZ(0,"div",0),a.TgZ(1,"perun-web-apps-table-wrapper",1),a.NdJ("exportData",function(e){return t.exportData(e)}),a.TgZ(2,"table",2),a.ynx(3,3),a.YNc(4,Wk,1,0,"th",4),a.YNc(5,Uk,3,5,"td",5),a.BQk(),a.ynx(6,6),a.YNc(7,Kk,4,5,"th",4),a.YNc(8,Zk,2,1,"td",5),a.BQk(),a.ynx(9,7),a.YNc(10,Gk,4,5,"th",4),a.YNc(11,Xk,2,1,"td",8),a.BQk(),a.ynx(12,9),a.YNc(13,Vk,4,5,"th",10),a.YNc(14,Jk,3,3,"td",8),a.BQk(),a.ynx(15,11),a.YNc(16,Qk,1,0,"th",4),a.YNc(17,$k,6,8,"td",8),a.BQk(),a.YNc(18,eM,1,0,"tr",12),a.YNc(19,tM,1,0,"tr",13),a.qZA(),a.qZA(),a.qZA(),a.YNc(20,nM,4,5,"app-alert",14)),2&e&&(a.Q6J("hidden",!t.dataSource.filteredData.length),a.xp6(1),a.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),a.xp6(1),a.Q6J("dataSource",t.dataSource),a.xp6(16),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns),a.xp6(1),a.Q6J("ngIf",!t.dataSource.filteredData.length))},directives:[vg,Xm,Vw,Qm,Jm,Vm,tv,nv,r.O5,$m,ev,Jb,nk,Ic,iv,rv,Cv],pipes:[Fk,Pp,Ng],styles:[""]}),e}();function rM(e,t){if(1&e&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.Q6J("value",n),a.xp6(1),a.hij(" ",n.name," ")}}function aM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-form-field",7),a.TgZ(1,"mat-label"),a._uU(2),a.ALo(3,"translate"),a.qZA(),a._UZ(4,"input",8),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.TgZ(7,"mat-autocomplete",9,10),a.NdJ("optionSelected",function(e){return a.CHM(n),a.oxw().filterByVo(e)}),a.TgZ(9,"mat-option",11),a._uU(10),a.ALo(11,"translate"),a.ALo(12,"customTranslate"),a.qZA(),a.YNc(13,rM,2,2,"mat-option",12),a.ALo(14,"async"),a.qZA(),a.qZA()}if(2&e){var i=a.MAs(8),r=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,7,"GROUPS.SELECT_VO")),a.xp6(2),a.s9C("placeholder",a.lcZ(5,9,a.lcZ(6,11,"GROUPS.SELECT_VO"))),a.Q6J("formControl",r.myControl)("matAutocomplete",i),a.xp6(3),a.Q6J("displayWith",r.displayFn),a.xp6(3),a.Oqu(a.lcZ(11,13,a.lcZ(12,15,"GROUPS.ALL"))),a.xp6(3),a.Q6J("ngForOf",a.lcZ(14,17,r.filteredVos))}}function oM(e,t){1&e&&a._UZ(0,"mat-spinner",14)}function sM(e,t){1&e&&(a.TgZ(0,"app-alert",15),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"GROUPS.NO_GROUPS"))))}var cM=function(){return["name","description","expirationAttribute","extend"]};function uM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"h4",16),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.TgZ(5,"perun-web-apps-membership-list",17),a.NdJ("extendMembership",function(e){return a.CHM(n),a.oxw().extendMembership(e)}),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,4,a.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),a.xp6(3),a.Q6J("members",i.userMemberships)("selection",i.selection)("displayedColumns",a.DdM(8,cM))}}var lM=function(){return["name","description"]};function hM(e,t){if(1&e&&(a.TgZ(0,"div",18),a.TgZ(1,"h4",16),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a._UZ(5,"perun-web-apps-membership-list",19),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,3,a.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),a.xp6(3),a.Q6J("members",n.adminMemberships)("displayedColumns",a.DdM(7,lM))}}var dM=function(){var e=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.usersService=t,this.memberService=n,this.groupService=i,this.store=r,this.vosManagerService=a,this.attributesManagerService=o,this.loading=!1,this.vos=[],this.myControl=new cd,this.selection=new Lu(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.vos=t,e.filteredVos=e.myControl.valueChanges.pipe(De(""),(0,ze.U)(function(t){return e._filter(t)})),e.getAllGroups()})}},{key:"_filter",value:function(e){var t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(function(e){return e.name.toLowerCase().includes(t)})}},{key:"getAllGroups",value:function(){var e=this;this.loading=!0;var t=0,n=0;this.userMemberships=[],this.adminMemberships=[];var i=this.store.getPerunPrincipal().roles.SELF.Member;i.length?n=i.length:this.loading=!1,i.forEach(function(i){n--,e.groupService.getMemberGroups(i).subscribe(function(r){t+=r.length,e.loading=0===t&&0!==n,r.forEach(function(n){e.attributesManagerService.getMemberGroupAttributes(i,n.id).subscribe(function(i){t--,e.userMemberships.push({entity:n,expirationAttribute:i.find(function(e){return"groupMembershipExpiration"===e.friendlyName})}),e.loading=0!==t})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(function(t){t.forEach(function(t){e.adminMemberships.push({entity:t,expirationAttribute:null})})})}},{key:"displayFn",value:function(e){return e?e.name:null}},{key:"filterByVo",value:function(e){var t=this;if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;var n=e.option.value;this.memberService.getMemberByUser(n.id,this.userId).subscribe(function(e){t.groupService.getMemberGroups(e.id).subscribe(function(n){var i=n.length;t.loading=0!==i,n.forEach(function(n){t.attributesManagerService.getMemberGroupAttributes(e.id,n.id).subscribe(function(e){i--,t.userMemberships.push({entity:n,expirationAttribute:e.find(function(e){return"groupMembershipExpiration"===e.friendlyName})}),t.loading=0!==i})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,n.id).subscribe(function(e){e.forEach(function(e){t.adminMemberships.push({entity:e,expirationAttribute:null})})})}}},{key:"extendMembership",value:function(e){var t=this.store.get("registrar_base_url"),n=e.entity,i=this.vos.find(function(e){return e.id===n.voId}).shortName;window.location.href="".concat(t,"?vo=").concat(i,"&group=").concat(e.entity.shortName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(he),a.Y36(se),a.Y36(oe),a.Y36(bg),a.Y36(fe),a.Y36(re))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,aM,15,19,"mat-form-field",2),a.YNc(6,oM,1,0,"mat-spinner",3),a.YNc(7,sM,4,5,"app-alert",4),a.YNc(8,uM,6,9,"div",5),a.YNc(9,hM,6,8,"div",6),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,a.lcZ(3,8,"GROUPS.TITLE"))),a.xp6(4),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading&&0!==t.userMemberships.length),a.xp6(1),a.Q6J("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[r.O5,ah,Jl,im,gh,Yk,Hh,kd,Nk,Sc,r.sg,Zg,Cv,iM],pipes:[Pp,Ng,r.Ov],styles:[""]}),e}();function fM(e,t){if(1&e&&(a._UZ(0,"input",3),a.ALo(1,"translate")),2&e){var n=a.oxw();a.s9C("placeholder",a.lcZ(1,2,n.placeholder)),a.Q6J("formControl",n.formControl)}}function pM(e,t){if(1&e&&(a._UZ(0,"input",4),a.ALo(1,"translate")),2&e){var n=a.oxw();a.s9C("placeholder",a.lcZ(1,2,n.placeholder)),a.Q6J("formControl",n.formControl)}}var gM=function(){var e=function(){function e(){_classCallCheck(this,e),this.filter=new a.vpe,this.autoFocus=!1,this.formControl=new cd}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.formControl.valueChanges.subscribe(function(t){var n=t.trim();n=n.toLowerCase(),e.filter.emit(n)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-form-field",0),a.YNc(1,fM,2,4,"input",1),a.YNc(2,pM,2,4,"input",2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf",t.autoFocus),a.xp6(1),a.Q6J("ngIf",!t.autoFocus))},directives:[ah,r.O5,im,gh,rk,Hh,kd],pipes:[Pp],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),e}(),mM=0,vM=new a.OlP("CdkAccordion"),_M=function(){var e=function(){function e(){_classCallCheck(this,e),this._stateChanges=new ye.xQ,this._openCloseAllActions=new ye.xQ,this.id="cdk-accordion-"+mM++,this._multi=!1}return _createClass(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=rr(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[a._Bn([{provide:vM,useExisting:e}]),a.TTD]}),e}(),yM=0,bM=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=Qe.w.EMPTY,this.closed=new a.vpe,this.opened=new a.vpe,this.destroyed=new a.vpe,this.expandedChange=new a.vpe,this.id="cdk-accordion-child-"+yM++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=rr(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())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=rr(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(vM,12),a.Y36(a.sBO),a.Y36(Su))},e.\u0275dir=a.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[a._Bn([{provide:vM,useValue:void 0}])]}),e}(),AM=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),wM=["body"];function kM(e,t){}var MM=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],CM=["mat-expansion-panel-header","*","mat-action-row"];function TM(e,t){if(1&e&&a._UZ(0,"span",2),2&e){var n=a.oxw();a.Q6J("@indicatorRotate",n._getExpandedState())}}var LM=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],SM=["mat-panel-title","mat-panel-description","*"],EM=new a.OlP("MAT_ACCORDION"),zM={indicatorRotate:aa("indicatorRotate",[la("collapsed, void",ua({transform:"rotate(0deg)"})),la("expanded",ua({transform:"rotate(180deg)"})),da("expanded <=> collapsed, void => collapsed",oa("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:aa("bodyExpansion",[la("collapsed, void",ua({height:"0px",visibility:"hidden"})),la("expanded",ua({height:"*",visibility:"visible"})),da("expanded <=> collapsed, void => collapsed",oa("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},OM=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Rgc))},e.\u0275dir=a.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),xM=0,RM=new a.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),DM=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,c,u){var l;return _classCallCheck(this,n),(l=t.call(this,e,i,r))._viewContainerRef=o,l._animationMode=c,l._hideToggle=!1,l.afterExpand=new a.vpe,l.afterCollapse=new a.vpe,l._inputChanges=new ye.xQ,l._headerId="mat-expansion-panel-header-"+xM++,l._bodyAnimationDone=new ye.xQ,l.accordion=e,l._document=s,l._bodyAnimationDone.pipe(nu(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?l.afterExpand.emit():"collapsed"===e.toState&&l.afterCollapse.emit())}),u&&(l.hideToggle=u.hideToggle),l}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=rr(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(De(null),(0,me.h)(function(){return e.expanded&&!e._portal}),(0,xe.q)(1)).subscribe(function(){e._portal=new Iu(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(bM);return e.\u0275fac=function(t){return new(t||e)(a.Y36(EM,12),a.Y36(a.sBO),a.Y36(Su),a.Y36(a.s_b),a.Y36(r.K0),a.Y36(zs,8),a.Y36(RM,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,OM,5),2&e)&&(a.iGM(i=a.CRH())&&(t._lazyContent=i.first))},viewQuery:function(e,t){var n;(1&e&&a.Gf(wM,5),2&e)&&(a.iGM(n=a.CRH())&&(t._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&a.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:[a._Bn([{provide:EM,useValue:void 0}]),a.qOj,a.TTD],ngContentSelectors:CM,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&&(a.F$t(MM),a.Hsn(0),a.TgZ(1,"div",0,1),a.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),a.TgZ(3,"div",2),a.Hsn(4,1),a.YNc(5,kM,0,0,"ng-template",3),a.qZA(),a.Hsn(6,2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),a.uIk("aria-labelledby",t._headerId),a.xp6(4),a.Q6J("cdkPortalOutlet",t._portal))},directives:[Yu],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[zM.bodyExpansion]},changeDetection:0}),e}(),PM=function(){var e=function(){function e(t,n,i,r,a,o){var s=this;_classCallCheck(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._animationMode=o,this._parentChangeSubscription=Qe.w.EMPTY;var c=t.accordion?t.accordion._stateChanges.pipe((0,me.h)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):Le.E;this._parentChangeSubscription=(0,Fu.T)(t.opened,t.closed,c,t._inputChanges.pipe((0,me.h)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return s._changeDetectorRef.markForCheck()}),t.closed.pipe((0,me.h)(function(){return t._containsFocus()})).subscribe(function(){return i.focusVia(n,"program")}),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}return _createClass(e,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:tr(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(DM,1),a.Y36(a.SBq),a.Y36(Vr),a.Y36(a.sBO),a.Y36(RM,8),a.Y36(zs,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(a.uIk("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),a.Udp("height",t._getHeaderHeight()),a.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:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:SM,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(a.F$t(LM),a.TgZ(0,"span",0),a.Hsn(1),a.Hsn(2,1),a.Hsn(3,2),a.qZA(),a.YNc(4,TM,1,1,"span",1)),2&e&&(a.xp6(4),a.Q6J("ngIf",t._showToggle()))},directives:[r.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}[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:""}\n'],encapsulation:2,data:{animation:[zM.indicatorRotate]},changeDetection:0}),e}(),NM=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),IM=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._ownHeaders=new a.n_E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=rr(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(De(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new Ir(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(_M);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,PM,5),2&e)&&(a.iGM(i=a.CRH())&&(t._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[a._Bn([{provide:EM,useExisting:t}]),a.qOj]}),t}(),qM=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[r.ez,js,AM,ju]]}),e}();function BM(e,t){1&e&&(a.TgZ(0,"mat-icon",1),a.ALo(1,"translate"),a._uU(2," visibility\n"),a.qZA()),2&e&&a.s9C("matTooltip",a.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}var HM=function(){var e=function e(){_classCallCheck(this,e),this.recentIds=[]};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,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&&a.YNc(0,BM,3,3,"mat-icon",0),2&e&&a.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[r.O5,pp,mf],pipes:[Pp],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),e}();function YM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"span",3),a.NdJ("click",function(){return a.CHM(n),a.oxw().changeStatus()}),a.ALo(1,"translate"),a.TgZ(2,"mat-icon",4),a._uU(3,"check_circle_outline"),a.qZA(),a.qZA()}2&e&&a.s9C("matTooltip",a.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function jM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"span",3),a.NdJ("click",function(){return a.CHM(n),a.oxw().changeStatus()}),a.ALo(1,"translate"),a.TgZ(2,"mat-icon",5),a._uU(3,"block"),a.qZA(),a.qZA()}2&e&&a.s9C("matTooltip",a.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function FM(e,t){if(1&e&&(a.TgZ(0,"span",6),a.ALo(1,"translate"),a.TgZ(2,"mat-icon",7),a._uU(3,"report"),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.hYB("matTooltip","",a.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",n.failureCause,"")}}function WM(e,t){1&e&&(a.TgZ(0,"span",6),a.ALo(1,"translate"),a.TgZ(2,"mat-icon",8),a._uU(3,"autorenew"),a.qZA(),a.qZA()),2&e&&a.s9C("matTooltip",a.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}var UM=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t,this.status="",this.statusChange=new a.vpe}return _createClass(e,[{key:"changeStatus",value:function(){var e=this,t=og();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open($v,t).afterClosed().subscribe(function(t){t&&e.statusChange.emit()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.YNc(1,YM,4,3,"span",1),a.YNc(2,jM,4,3,"span",1),a.YNc(3,FM,4,4,"span",2),a.YNc(4,WM,4,3,"span",2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngIf","ACTIVE"===t.status),a.xp6(1),a.Q6J("ngIf","INACTIVE"===t.status),a.xp6(1),a.Q6J("ngIf","FAILED"===t.status),a.xp6(1),a.Q6J("ngIf","PROCESSING"===t.status))},directives:[r.O5,mf,pp],pipes:[Pp],styles:[""]}),e}(),KM=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){if(null==e)return null;var t="";return e.forEach(function(e){t=t.concat(e.tagName)}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"resourceTagsToString",type:e,pure:!0}),e}(),ZM=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e,t){return t?"/organizations/".concat(e.voId,"/resources/").concat(e.id):"/facilities/".concat(e.facilityId,"/resources/").concat(e.id)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"getResourceRoute",type:e,pure:!0}),e}();function GM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"th",20),a.TgZ(1,"mat-checkbox",21),a.NdJ("change",function(e){a.CHM(n);var t=a.oxw();return e?t.masterToggle():null}),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(1),a.Q6J("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function XM(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",22),a.TgZ(1,"mat-checkbox",23),a.NdJ("change",function(e){var t=a.CHM(n).$implicit,i=a.oxw();return e?i.itemSelectionToggle(t):null})("click",function(e){return e.stopPropagation()}),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function VM(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function JM(e,t){if(1&e&&(a.TgZ(0,"td",22),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.id)}}function QM(e,t){1&e&&a._UZ(0,"th",20)}function $M(e,t){if(1&e&&(a.TgZ(0,"td",25),a._UZ(1,"perun-web-apps-recently-viewed-icon",26),a.qZA()),2&e){var n=t.$implicit,i=a.oxw();a.xp6(1),a.Q6J("recentIds",i.recentIds)("id",n.id)}}function eC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function tC(e,t){if(1&e&&(a.TgZ(0,"td",25),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.name)}}function nC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function iC(e,t){if(1&e&&(a.TgZ(0,"td",25),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.vo.name)}}function rC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function aC(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",25),a.TgZ(1,"perun-web-apps-group-resource-status",27),a.NdJ("mouseenter",function(){return a.CHM(n),a.oxw().disabledRouting=!0})("mouseleave",function(){a.CHM(n);var e=a.oxw();return e.disabledRouting=e.disableRouting})("statusChange",function(){return a.CHM(n),a.oxw().refreshTable.emit()}),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("theme","group-theme")("resourceId",i.id)("groupId",r.groupId)("failureCause",i.failureCause)("status",i.status)}}function oC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function sC(e,t){if(1&e&&(a.TgZ(0,"td",25),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.facility.name)}}function cC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function uC(e,t){if(1&e&&(a.TgZ(0,"td",25),a._uU(1),a.ALo(2,"resourceTagsToString"),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(a.lcZ(2,1,n.resourceTags))}}function lC(e,t){1&e&&(a.TgZ(0,"th",24),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function hC(e,t){if(1&e&&(a.TgZ(0,"td",25),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.description)}}function dC(e,t){1&e&&a._UZ(0,"tr",28)}var fC=function(e){return[e]};function pC(e,t){if(1&e&&(a._UZ(0,"tr",29),a.ALo(1,"getResourceRoute"),a.ALo(2,"getResourceRoute")),2&e){var n=t.$implicit,i=a.oxw();a.ekj("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),a.Q6J("perunWebAppsMiddleClickRouterLink",a.VKq(12,fC,i.disabledRouting?null:a.xi3(1,6,n,i.routingVo)))("routerLink",i.disabledRouting?null:a.xi3(2,9,n,i.routingVo))}}function gC(e,t){1&e&&(a.TgZ(0,"app-alert",30),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function mC(e,t){1&e&&(a.TgZ(0,"app-alert",30),a._uU(1),a.ALo(2,"translate"),a.qZA()),2&e&&(a.xp6(1),a.hij(" ",a.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var vC=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.guiAuthResolver=t,this.tableCheckbox=n,this.resources=[],this.selection=new Lu(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=ag,this.groupId=null,this.page=new a.vpe,this.refreshTable=new a.vpe,this.allSelected=new a.vpe,this.removeAuth=!1,this.addAuth=!1}return _createClass(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngOnInit",value:function(){this.disabledRouting=this.disableRouting}},{key:"ngOnChanges",value:function(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.setDataSource(),this.setAuth()}},{key:"getDataForColumn",value:function(e,t,n){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 n.recentIds&&n.recentIds.indexOf(e.id)>-1?"#".repeat(n.recentIds.indexOf(e.id)):e.name;case"tags":if(!e.resourceTags)return e[t];var i="";return e.resourceTags.forEach(function(e){i=i.concat(e.tagName)}),i;case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}},{key:"exportData",value:function(e){dg(hg(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new ov,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,n){return lg(t,n,e.displayedColumns,e.getDataForColumn,e,!0)},this.dataSource.sortData=function(t,n){return ug(t,n,e.getDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}},{key:"isAllSelected",value:function(){var e=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(e),e}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"setAuth",value:function(){var e=this,t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce(function(n,i){return n&&e.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i]))},!0),this.addAuth=this.selection.selected.reduce(function(n,i){return n&&e.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i]))},!0)}},{key:"itemSelectionToggle",value:function(e){this.selection.toggle(e),this.setAuth()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(ge),a.Y36(Og))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){var n;(1&e&&(a.Gf(Vw,7),a.Gf(vg,7)),2&e)&&(a.iGM(n=a.CRH())&&(t.matSort=n.first),a.iGM(n=a.CRH())&&(t.child=n.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[a.TTD],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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&&(a.TgZ(0,"div",0),a.TgZ(1,"perun-web-apps-table-wrapper",1),a.NdJ("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),a.TgZ(2,"table",2),a.ynx(3,3),a.YNc(4,GM,2,3,"th",4),a.YNc(5,XM,2,2,"td",5),a.BQk(),a.ynx(6,6),a.YNc(7,VM,3,3,"th",7),a.YNc(8,JM,2,1,"td",8),a.BQk(),a.ynx(9,9),a.YNc(10,QM,1,0,"th",4),a.YNc(11,$M,2,2,"td",10),a.BQk(),a.ynx(12,11),a.YNc(13,eC,3,3,"th",7),a.YNc(14,tC,2,1,"td",10),a.BQk(),a.ynx(15,12),a.YNc(16,nC,3,3,"th",7),a.YNc(17,iC,2,1,"td",10),a.BQk(),a.ynx(18,13),a.YNc(19,rC,3,3,"th",7),a.YNc(20,aC,2,5,"td",10),a.BQk(),a.ynx(21,14),a.YNc(22,oC,3,3,"th",7),a.YNc(23,sC,2,1,"td",10),a.BQk(),a.ynx(24,15),a.YNc(25,cC,3,3,"th",7),a.YNc(26,uC,3,3,"td",10),a.BQk(),a.ynx(27,16),a.YNc(28,lC,3,3,"th",7),a.YNc(29,hC,2,1,"td",10),a.BQk(),a.YNc(30,dC,1,0,"tr",17),a.YNc(31,pC,3,14,"tr",18),a.qZA(),a.qZA(),a.qZA(),a.YNc(32,gC,3,3,"app-alert",19),a.YNc(33,mC,3,3,"app-alert",19)),2&e&&(a.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),a.xp6(1),a.Q6J("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),a.xp6(1),a.Q6J("dataSource",t.dataSource),a.xp6(28),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns),a.xp6(1),a.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),a.xp6(1),a.Q6J("ngIf",0===t.resources.length))},directives:[vg,Xm,Vw,Qm,Jm,Vm,tv,nv,r.O5,$m,Jb,ev,nk,HM,UM,iv,rv,ak,Oi,Cv],pipes:[Pp,KM,ZM],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),e}();function _C(e,t){1&e&&a._UZ(0,"mat-spinner",8)}var yC=function(){return["name","description"]};function bC(e,t){if(1&e&&a._UZ(0,"perun-web-apps-resources-list",9),2&e){var n=a.oxw(3);a.Q6J("resources",n.resources)("displayedColumns",a.DdM(3,yC))("disableRouting",!0)}}function AC(e,t){if(1&e&&(a.YNc(0,_C,1,0,"mat-spinner",6),a.YNc(1,bC,1,4,"perun-web-apps-resources-list",7)),2&e){var n=a.oxw(2);a.Q6J("ngIf",n.loading),a.xp6(1),a.Q6J("ngIf",!n.loading)}}function wC(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-expansion-panel",4),a.NdJ("opened",function(){var e=a.CHM(n).$implicit;return a.oxw().getMemberData(e)}),a.TgZ(1,"mat-expansion-panel-header"),a.TgZ(2,"mat-panel-title"),a._uU(3),a.qZA(),a.qZA(),a.YNc(4,AC,2,2,"ng-template",5),a.qZA()}if(2&e){var i=t.$implicit;a.xp6(3),a.hij(" ",i.name," ")}}var kC=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.usersManagerService=t,this.membersManagerService=n,this.resourcesManagerService=i,this.storage=r,this.resources=[],this.filteredVos=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMemberData",value:function(e){var t=this;this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(e){t.resources=e,t.loading=!1})})}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(he),a.Y36(se),a.Y36(le),a.Y36(bg))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.TgZ(5,"perun-web-apps-immediate-filter",2),a.NdJ("filter",function(e){return t.applyFilter(e)}),a.ALo(6,"translate"),a.ALo(7,"customTranslate"),a.qZA(),a.TgZ(8,"mat-accordion"),a.YNc(9,wC,5,1,"mat-expansion-panel",3),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,a.lcZ(3,5,"SERVICES.TITLE"))),a.xp6(4),a.Q6J("placeholder",a.lcZ(6,7,a.lcZ(7,9,"SERVICES.FILTER"))),a.xp6(4),a.Q6J("ngForOf",t.filteredVos))},directives:[gM,IM,r.sg,DM,PM,NM,OM,r.O5,Zg,vC],pipes:[Pp,Ng],styles:[""]}),e}();function MC(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"perun-web-apps-immediate-filter",5),a.NdJ("filter",function(e){return a.CHM(n),a.oxw().applyFilter(e)}),a.qZA()}2&e&&a.Q6J("placeholder","ORGANIZATIONS.FILTER")}function CC(e,t){1&e&&a._UZ(0,"mat-spinner",6)}var TC=function(){return["name","expirationAttribute","extend"]};function LC(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"perun-web-apps-membership-list",11),a.NdJ("extendMembership",function(e){return a.CHM(n),a.oxw(2).extendMembership(e)}),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(2);a.xp6(1),a.Q6J("members",i.userMemberships)("selection",i.selection)("filterValue",i.filterValue)("displayedColumns",a.DdM(4,TC))}}function SC(e,t){1&e&&(a.TgZ(0,"app-alert",12),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function EC(e,t){if(1&e&&(a.TgZ(0,"div",7),a.TgZ(1,"h1",8),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.YNc(5,LC,2,5,"div",9),a.YNc(6,SC,4,5,"app-alert",10),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,3,a.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),a.xp6(3),a.Q6J("ngIf",0!==n.userMemberships.length),a.xp6(1),a.Q6J("ngIf",0===n.userMemberships.length)}}function zC(e,t){1&e&&(a.TgZ(0,"app-alert",12),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}var OC=function(){return["name"]};function xC(e,t){if(1&e&&a._UZ(0,"perun-web-apps-membership-list",14),2&e){var n=a.oxw(2);a.Q6J("members",n.adminMemberships)("filterValue",n.filterValue)("displayedColumns",a.DdM(3,OC))}}function RC(e,t){if(1&e&&(a.TgZ(0,"div",7),a.TgZ(1,"h1",8),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.YNc(5,zC,4,5,"app-alert",10),a.YNc(6,xC,1,4,"perun-web-apps-membership-list",13),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.Oqu(a.lcZ(3,3,a.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),a.xp6(3),a.Q6J("ngIf",!n.adminMemberships.length),a.xp6(1),a.Q6J("ngIf",n.adminMemberships.length)}}var DC=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.usersService=t,this.store=n,this.membersService=i,this.filterValue="",this.selection=new Lu(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}return _createClass(e,[{key:"ngOnInit",value:function(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.usersService.getVosWhereUserIsAdmin(e.userId).subscribe(function(n){e.vosCount=t.length+n.length,e.fillMemberships(t,e.userMemberships),e.fillMemberships(n,e.adminMemberships)})})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"isEverythingLoaded",value:function(){this.vosCount--,this.loading=0!==this.vosCount}},{key:"fillMemberships",value:function(e,t){var n=this;this.membersService.getMembersByUser(this.userId).subscribe(function(i){e.forEach(function(e){var r=i.find(function(t){return t.voId===e.id});r?n.membersService.getRichMemberWithAttributes(r.id).subscribe(function(i){var r=i.memberAttributes.find(function(e){return"membershipExpiration"===e.friendlyName});t.push({entity:e,expirationAttribute:r}),n.isEverythingLoaded()}):(t.push({entity:e,expirationAttribute:null}),n.isEverythingLoaded())})})}},{key:"extendMembership",value:function(e){var t=this.store.get("registrar_base_url");window.location.href="".concat(t,"?vo=").concat(e.entity.shortName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(he),a.Y36(bg),a.Y36(se))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,MC,1,1,"perun-web-apps-immediate-filter",2),a.YNc(6,CC,1,0,"mat-spinner",3),a.YNc(7,EC,7,7,"div",4),a.YNc(8,RC,7,7,"div",4),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,a.lcZ(3,7,"ORGANIZATIONS.TITLE"))),a.xp6(4),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[r.O5,gM,Zg,iM,Cv],pipes:[Pp,Ng],styles:[""]}),e}(),PC=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a._UZ(1,"router-outlet"),a.qZA())},directives:[Di],styles:[""]}),e}(),NC=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.password=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.password=this.data.password}},{key:"onClose",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.TgZ(5,"p"),a._uU(6),a.ALo(7,"translate"),a.ALo(8,"customTranslate"),a.qZA(),a.TgZ(9,"label"),a._UZ(10,"input",2),a.qZA(),a.qZA(),a.TgZ(11,"div",3),a.TgZ(12,"button",4),a.NdJ("click",function(){return t.onClose()}),a._uU(13),a.ALo(14,"translate"),a.ALo(15,"customTranslate"),a.qZA(),a.TgZ(16,"button",5),a._uU(17),a.ALo(18,"translate"),a.ALo(19,"customTranslate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,6,a.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),a.xp6(5),a.Oqu(a.lcZ(7,10,a.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),a.xp6(4),a.Q6J("value",t.password),a.xp6(3),a.hij(" ",a.lcZ(14,14,a.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),a.xp6(3),a.Q6J("cdkCopyToClipboard",t.password),a.xp6(1),a.hij(" ",a.lcZ(18,18,a.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[eg,tg,ng,Ic,_v],pipes:[Pp,Ng],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),e}();function IC(e,t){1&e&&a._UZ(0,"mat-spinner",7)}function qC(e,t){1&e&&a._UZ(0,"th",16)}function BC(e,t){if(1&e&&(a.TgZ(0,"td",17),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.hij(" ",n," ")}}function HC(e,t){1&e&&a._UZ(0,"tr",18)}function YC(e,t){1&e&&a._UZ(0,"tr",19)}function jC(e,t){if(1&e&&(a.TgZ(0,"div",8),a.TgZ(1,"p"),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.TgZ(5,"div",9),a._uU(6),a.ALo(7,"translate"),a.ALo(8,"customTranslate"),a.qZA(),a.TgZ(9,"table",10),a.ynx(10,11),a.YNc(11,qC,1,0,"th",12),a.YNc(12,BC,2,1,"td",13),a.BQk(),a.YNc(13,HC,1,0,"tr",14),a.YNc(14,YC,1,0,"tr",15),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.xp6(2),a.hij(" ",a.lcZ(3,5,a.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),a.xp6(4),a.hij(" ",a.lcZ(7,9,a.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),a.xp6(3),a.Q6J("dataSource",n.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",n.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",n.displayedColumns)}}var FC=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.usersManagerService=i,this.displayedColumns=["description"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.dataSource=new ov(this.data.description)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(he))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,IC,1,0,"mat-spinner",2),a.qZA(),a.YNc(6,jC,15,13,"div",3),a.TgZ(7,"div",4),a.TgZ(8,"button",5),a.NdJ("click",function(){return t.onCancel()}),a._uU(9),a.ALo(10,"translate"),a.ALo(11,"customTranslate"),a.qZA(),a.TgZ(12,"button",6),a.NdJ("click",function(){return t.onSubmit()}),a._uU(13),a.ALo(14,"translate"),a.ALo(15,"customTranslate"),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,a.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),a.xp6(4),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading),a.xp6(3),a.hij(" ",a.lcZ(10,9,a.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),a.xp6(4),a.hij(" ",a.lcZ(14,13,a.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[eg,r.O5,ng,Ic,Zg,tg,Xm,Qm,Jm,Vm,tv,nv,$m,ev,iv,rv],pipes:[Pp,Ng],styles:[""]}),e}();function WC(e,t){1&e&&a._UZ(0,"th",12)}function UC(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",13),a.TgZ(1,"mat-checkbox",14),a.NdJ("change",function(e){var t=a.CHM(n).$implicit,i=a.oxw();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function KC(e,t){if(1&e&&(a.TgZ(0,"th",15),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Oqu(n.headerColumnText)}}function ZC(e,t){if(1&e&&(a.TgZ(0,"td",16),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n)}}function GC(e,t){1&e&&a._UZ(0,"tr",17)}function XC(e,t){1&e&&a._UZ(0,"tr",18)}function VC(e,t){if(1&e&&(a.TgZ(0,"app-alert",19),a._uU(1),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.hij(" ",n.alertText,"\n")}}var JC=function(){var e=function(){function e(){_classCallCheck(this,e),this.values=[],this.selection=new Lu(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}return _createClass(e,[{key:"ngOnChanges",value:function(){this.values=this.values?this.values:[],this.dataSource=new ov(this.values),this.setDataSource()}},{key:"getExportDataForColumn",value:function(e){return e}},{key:"exportData",value:function(e){dg(hg(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"setDataSource",value:function(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"checkboxLabel",value:function(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}},{key:"ngAfterViewInit",value:function(){this.setDataSource()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){var n;(1&e&&a.Gf(vg,7),2&e)&&(a.iGM(n=a.CRH())&&(t.child=n.first))},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[a.TTD],decls:12,vars:7,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSize","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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",""],["mat-cell","",1,"static-column-size"],["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&&(a.TgZ(0,"div",0),a.TgZ(1,"perun-web-apps-table-wrapper",1),a.NdJ("exportData",function(e){return t.exportData(e)}),a.TgZ(2,"table",2),a.ynx(3,3),a.YNc(4,WC,1,0,"th",4),a.YNc(5,UC,2,2,"td",5),a.BQk(),a.ynx(6,6),a.YNc(7,KC,2,1,"th",7),a.YNc(8,ZC,2,1,"td",8),a.BQk(),a.YNc(9,GC,1,0,"tr",9),a.YNc(10,XC,1,0,"tr",10),a.qZA(),a.qZA(),a.qZA(),a.YNc(11,VC,2,1,"app-alert",11)),2&e&&(a.Q6J("hidden",!t.values.length),a.xp6(1),a.Q6J("dataLength",t.dataSource.filteredData.length)("pageSize",t.pageSize),a.xp6(1),a.Q6J("dataSource",t.dataSource),a.xp6(7),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns),a.xp6(1),a.Q6J("ngIf",0===t.values.length))},directives:[vg,Xm,Qm,Jm,Vm,tv,nv,r.O5,$m,ev,Jb,iv,rv,Cv],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),e}();function QC(e,t){if(1&e&&a._UZ(0,"perun-web-apps-string-list",10),2&e){var n=a.oxw();a.Q6J("values",n.displayedValues)("selection",n.selection)("alertText",n.alertText)("headerColumnText",n.headerColumnText)}}function $C(e,t){1&e&&a._UZ(0,"mat-spinner",11)}var eT=function(){var e=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.usersManagerService=a,this.altPasswordCtrl=new cd(null,[Ah.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new Lu(!1,[]),r.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return o.removeDialogDescription=e}),r.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(function(e){return o.removeDialogTitle=e}),r.get("ALERTS.NO_ALT_PASSWORDS").subscribe(function(e){return o.alertText=e}),r.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(function(e){return o.headerColumnText=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.getAltPasswords()}},{key:"createPassword",value:function(){var e=this,t=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",t).subscribe(function(){var n=og();n.width="600px",n.data={password:t},e.dialog.open(NC,n),e.getAltPasswords(),e.altPasswordCtrl.setValue("")})}},{key:"generatePassword",value:function(){for(var e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-",t="",n=0,i=e.length;n<16;++n)t+=e.charAt(Math.random()*i);return t.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),t}},{key:"getAltPasswords",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(function(t){if(e.altPasswordsAttribute=t,t.value){var n=Object.keys(t.value);e.passwordDescriptions=new Set(n),e.displayedValues=Array.from(e.passwordDescriptions.values())}else e.displayedValues=[];e.loading=!1})}},{key:"alreadyContainsValue",value:function(e){return this.passwordDescriptions.has(e)}},{key:"removeAltPasswords",value:function(){var e=this,t=og();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(FC,t).afterClosed().subscribe(function(t){t&&(e.getAltPasswords(),e.selection.clear())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg),a.Y36(re),a.Y36(Qp),a.Y36(Dp),a.Y36(he))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"div",0),a.TgZ(1,"h1",1),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.TgZ(5,"mat-form-field",2),a.TgZ(6,"label",2),a._UZ(7,"input",3),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.qZA(),a.TgZ(10,"button",4),a.NdJ("click",function(){return t.createPassword()}),a._uU(11),a.ALo(12,"translate"),a.ALo(13,"customTranslate"),a.qZA(),a.TgZ(14,"app-alert",5),a._uU(15),a.ALo(16,"translate"),a.ALo(17,"customTranslate"),a.qZA(),a.TgZ(18,"h1",6),a._uU(19),a.ALo(20,"translate"),a.ALo(21,"customTranslate"),a.qZA(),a.TgZ(22,"button",7),a.NdJ("click",function(){return t.removeAltPasswords()}),a._uU(23),a.ALo(24,"translate"),a.ALo(25,"customTranslate"),a.qZA(),a.YNc(26,QC,1,4,"perun-web-apps-string-list",8),a.YNc(27,$C,1,0,"mat-spinner",9),a.qZA()),2&e&&(a.xp6(2),a.Oqu(a.lcZ(3,11,a.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),a.xp6(5),a.s9C("placeholder",a.lcZ(8,15,a.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),a.Q6J("formControl",t.altPasswordCtrl),a.xp6(3),a.Q6J("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),a.xp6(1),a.Oqu(a.lcZ(12,19,a.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))),a.xp6(4),a.Oqu(a.lcZ(16,23,a.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),a.xp6(4),a.Oqu(a.lcZ(20,27,a.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),a.xp6(3),a.Q6J("disabled",t.selection.isEmpty()),a.xp6(1),a.Oqu(a.lcZ(24,31,a.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))),a.xp6(3),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",t.loading))},directives:[ah,im,gh,Hh,kd,Ic,Cv,r.O5,JC,Zg],pipes:[Pp,Ng],styles:[""]}),e}();function tT(e,t){if(1&e&&(a.TgZ(0,"mat-list-item",1),a.TgZ(1,"mat-icon"),a._uU(2),a.qZA(),a.TgZ(3,"p",2),a._uU(4),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.qZA(),a.qZA()),2&e){var n=t.$implicit;a.Q6J("routerLink",n.url),a.xp6(2),a.Oqu(n.icon),a.xp6(2),a.Oqu(a.lcZ(5,3,a.lcZ(6,5,n.label)))}}var nT=function(){var e=function(){function e(t){_classCallCheck(this,e),this.storeService=t,this.items=[]}return _createClass(e,[{key:"ngOnInit",value:function(){this.initItems();var e=this.storeService.get("displayed_tabs");this.items=this.items.filter(function(t){return e.includes(t.tabName)})}},{key:"initItems",value:function(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,t){1&e&&(a.TgZ(0,"mat-list"),a.YNc(1,tT,7,7,"mat-list-item",0),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngForOf",t.items))},directives:[Xy,r.sg,Qy,mc,Oi,pp],pipes:[Pp,Ng],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),e}(),iT=["row","column","row-reverse","column-reverse"];function rT(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var aT=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildStyles",value:function(e){return t=function(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],r=t[2];return iT.find(function(e){return e===n})||(n=iT[0]),"inline"===i&&(i="inline"!==r?r:"",r="inline"),[n,rT(i),!!r]}(e),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((n=_slicedToArray(t,3))[0],n[1],n[2]);var t,n}}]),n}(K_);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275prov=(0,a.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),oT=["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"],sT=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,r,i,a)).DIRECTIVE_KEY="layout",o.styleCache=uT,o.init(),o}return n}(M_);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(U_),a.Y36(aT),a.Y36(Z_))},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e}(),cT=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).inputs=oT,e}return n}(sT);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,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:[a.qOj]}),t}(),uT=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var lT=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildStyles",value:function(e){var 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}}]),n}(K_);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275prov=(0,a.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),hT=["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"],dT=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,r,i,a)).DIRECTIVE_KEY="flex-align",o.styleCache=fT,o.init(),o}return n}(M_);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(U_),a.Y36(lT),a.Y36(Z_))},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e}(),fT=new Map,pT=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).inputs=hT,e}return n}(dT);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,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:[a.qOj]}),t}();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var gT=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[p_,na]]}),e}();function mT(e,t){if(1&e&&(a.TgZ(0,"mat-option",13),a._uU(1),a.qZA()),2&e){var n=t.$implicit,i=a.oxw();a.Q6J("value",i.selectedUnit),a.xp6(1),a.hij(" ",n," ")}}var vT=function(){var e=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.rtMessagesService=i,this.notificator=r,this.translate=a,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",a.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(function(e){return o.successMessage=e})}return _createClass(e,[{key:"ngOnInit",value:function(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new cd(null,[Ah.required]),this.newValueControl=new cd(null,[Ah.required,Ah.pattern("[1-9][0-9]*")])}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,t=(new Pg).transform(this.data.user);this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request","QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ".concat(t," (user ID: ").concat(this.data.user.id,")\u21b5 VO: ").concat(this.data.vo.shortName," / ").concat(this.data.vo.name," (vo ID: ").concat(this.data.vo.id,")\u21b5 Resource: ").concat(this.data.resource.name," (resource ID: ").concat(this.data.resource.id,")\u21b5 Data quota\u21b5 Requested quota: ").concat(this.newValueControl.value,"\u21b5 Reason: ").concat(this.reasonControl.value,"\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI")).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(ce),a.Y36(Lg),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.TgZ(5,"div"),a.TgZ(6,"p",2),a._uU(7),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.TgZ(10,"p"),a._uU(11),a.qZA(),a.qZA(),a.TgZ(12,"div"),a.TgZ(13,"p",2),a._uU(14),a.ALo(15,"translate"),a.ALo(16,"customTranslate"),a.qZA(),a.TgZ(17,"p"),a._uU(18),a.qZA(),a.qZA(),a.TgZ(19,"div",3),a.TgZ(20,"mat-form-field"),a.TgZ(21,"label",4),a._UZ(22,"input",5),a.ALo(23,"translate"),a.ALo(24,"customTranslate"),a.qZA(),a.qZA(),a.TgZ(25,"mat-select",6),a.NdJ("valueChange",function(e){return t.selectedUnit=e}),a.YNc(26,mT,2,2,"mat-option",7),a.qZA(),a.qZA(),a.TgZ(27,"div"),a.TgZ(28,"mat-form-field",8),a.TgZ(29,"label",4),a._UZ(30,"textarea",9),a.ALo(31,"translate"),a.ALo(32,"customTranslate"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(33,"div",10),a.TgZ(34,"button",11),a.NdJ("click",function(){return t.onCancel()}),a._uU(35),a.ALo(36,"translate"),a.ALo(37,"customTranslate"),a.qZA(),a.TgZ(38,"button",12),a.NdJ("click",function(){return t.onSubmit()}),a._uU(39),a.ALo(40,"translate"),a.ALo(41,"customTranslate"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,14,a.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),a.xp6(6),a.Oqu(a.lcZ(8,18,a.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),a.xp6(4),a.Oqu(t.resource),a.xp6(3),a.Oqu(a.lcZ(15,22,a.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),a.xp6(4),a.Oqu(t.currentQuota),a.xp6(4),a.s9C("placeholder",a.lcZ(23,26,a.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),a.Q6J("formControl",t.newValueControl),a.xp6(3),a.Q6J("value",t.selectedUnit),a.xp6(1),a.Q6J("ngForOf",t.units),a.xp6(4),a.s9C("placeholder",a.lcZ(31,30,a.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),a.Q6J("formControl",t.reasonControl),a.xp6(5),a.hij(" ",a.lcZ(36,34,a.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),a.xp6(3),a.Q6J("disabled",t.reasonControl.invalid),a.xp6(1),a.hij(" ",a.lcZ(40,38,a.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[eg,cT,pT,ah,im,yd,gh,Ed,Hh,kd,ef,r.sg,ng,Ic,Sc],pipes:[Pp,Ng],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-ripple.mat-form-field-ripple[_ngcontent-%COMP%], .mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%]{display:none}"]}),e}();function _T(e,t){1&e&&a._UZ(0,"mat-spinner",8)}function yT(e,t){1&e&&(a.TgZ(0,"app-alert",9),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function bT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"p"),a.TgZ(2,"strong"),a._uU(3),a.ALo(4,"translate"),a.ALo(5,"customTranslate"),a.qZA(),a._uU(6),a.qZA(),a.TgZ(7,"p",10),a._uU(8),a.ALo(9,"translate"),a.ALo(10,"customTranslate"),a.qZA(),a.TgZ(11,"button",11),a.NdJ("click",function(){a.CHM(n);var e=a.oxw().$implicit,t=a.oxw(3).$implicit;return a.oxw().requestChangeQuota(t,e)}),a._uU(12),a.ALo(13,"translate"),a.ALo(14,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=a.oxw(5);a.xp6(3),a.Oqu(a.lcZ(4,4,a.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),a.xp6(3),a.hij(" ",i.quotasMarkup,""),a.xp6(2),a.Oqu(a.lcZ(9,8,a.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),a.xp6(4),a.Oqu(a.lcZ(13,12,a.lcZ(14,14,"DATA_QUOTAS.CHANGE")))}}function AT(e,t){1&e&&(a.TgZ(0,"p"),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function wT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-expansion-panel",3),a.NdJ("opened",function(){var e=a.CHM(n).$implicit;return a.oxw(4).getResAttributes(e.id)}),a.TgZ(1,"mat-expansion-panel-header"),a.TgZ(2,"mat-panel-title"),a._uU(3),a.qZA(),a.qZA(),a.YNc(4,bT,15,16,"div",7),a.YNc(5,AT,4,5,"p",7),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw(4);a.xp6(3),a.hij(" ",i.name," "),a.xp6(1),a.Q6J("ngIf",r.defaultQuota),a.xp6(1),a.Q6J("ngIf",!r.defaultQuota)}}function kT(e,t){if(1&e&&(a.TgZ(0,"mat-accordion"),a.YNc(1,wT,6,3,"mat-expansion-panel",2),a.qZA()),2&e){var n=a.oxw(3);a.xp6(1),a.Q6J("ngForOf",n.resources)}}function MT(e,t){if(1&e&&(a.YNc(0,_T,1,0,"mat-spinner",5),a.YNc(1,yT,4,5,"app-alert",6),a.YNc(2,kT,2,1,"mat-accordion",7)),2&e){var n=a.oxw(2);a.Q6J("ngIf",n.loading),a.xp6(1),a.Q6J("ngIf",0===n.resources.length&&!n.loading),a.xp6(1),a.Q6J("ngIf",n.resources.length&&!n.loading)}}function CT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-expansion-panel",3),a.NdJ("opened",function(){var e=a.CHM(n).$implicit;return a.oxw().getMembersResources(e)}),a.TgZ(1,"mat-expansion-panel-header"),a.TgZ(2,"mat-panel-title"),a._uU(3),a.qZA(),a.qZA(),a.YNc(4,MT,3,3,"ng-template",4),a.qZA()}if(2&e){var i=t.$implicit;a.xp6(3),a.hij(" ",i.name," ")}}var TT=function(){var e=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.store=t,this.usersManagerService=n,this.membersService=i,this.resourcesManagerService=r,this.attributesManagerService=a,this.dialog=o,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMembersResources",value:function(e){var t=this;this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(e){var n=e.length;n||(t.loading=!1),e.forEach(function(e){t.attributesManagerService.getResourceAttributes(e.id).subscribe(function(i){n--,i.find(function(e){return"defaultDataQuotas"===e.friendlyName})&&t.resources.push(e),t.loading=0!==n})})})})}},{key:"getResAttributes",value:function(e){var t=this;this.attributesManagerService.getResourceAttributes(e).subscribe(function(e){var n=e.find(function(e){return"dataQuotas"===e.friendlyName});if(n&&n.value){var i=Object.keys(n.value);t.currentQuota=n.value[i[0]]}else t.currentQuota="";if(n=e.find(function(e){return"defaultDataQuotas"===e.friendlyName})){var r=Object.keys(n.value);t.defaultQuota=n.value[r[0]]}else t.defaultQuota="";t.currentQuota||(t.currentQuota=t.defaultQuota),t.parseMarkup()})}},{key:"parseMarkup",value:function(){var e="";e+=this.currentQuota,e=(e+=" (default: ".concat(this.defaultQuota,")")).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}},{key:"requestChangeQuota",value:function(e,t){var n=og();n.width="400px",n.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(vT,n)}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg),a.Y36(he),a.Y36(se),a.Y36(le),a.Y36(re),a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"perun-web-apps-immediate-filter",1),a.NdJ("filter",function(e){return t.applyFilter(e)}),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.qZA(),a.TgZ(7,"mat-accordion"),a.YNc(8,CT,5,1,"mat-expansion-panel",2),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,a.lcZ(3,5,"DATA_QUOTAS.TITLE"))),a.xp6(3),a.Q6J("placeholder",a.lcZ(5,7,a.lcZ(6,9,"DATA_QUOTAS.FILTER"))),a.xp6(4),a.Q6J("ngForOf",t.filteredVos))},directives:[gM,IM,r.sg,DM,PM,NM,OM,r.O5,Zg,Cv,Ic],pipes:[Pp,Ng],styles:[""]}),e}();function LT(e,t){1&e&&a._UZ(0,"mat-spinner",8)}function ST(e,t){1&e&&(a.TgZ(0,"app-alert",9),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function ET(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-expansion-panel",3),a.NdJ("opened",function(){var e=a.CHM(n).$implicit;return a.oxw(4).getOptOutAttribute(e)}),a.TgZ(1,"mat-expansion-panel-header"),a.TgZ(2,"mat-panel-title"),a._uU(3),a.qZA(),a.qZA(),a.TgZ(4,"div",10),a.TgZ(5,"p"),a._uU(6),a.ALo(7,"translate"),a.ALo(8,"customTranslate"),a.qZA(),a.TgZ(9,"mat-checkbox",11),a.NdJ("change",function(){return a.CHM(n),a.oxw(4).setOptOut()}),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw(4);a.xp6(3),a.hij(" ",i.name," "),a.xp6(3),a.Oqu(a.lcZ(7,3,a.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),a.xp6(3),a.Q6J("checked",r.optOutAttribute&&null!==r.optOutAttribute.value)}}function zT(e,t){if(1&e&&(a.TgZ(0,"mat-accordion"),a.YNc(1,ET,10,7,"mat-expansion-panel",2),a.qZA()),2&e){var n=a.oxw(3);a.xp6(1),a.Q6J("ngForOf",n.resources)}}function OT(e,t){if(1&e&&(a.YNc(0,LT,1,0,"mat-spinner",5),a.YNc(1,ST,4,5,"app-alert",6),a.YNc(2,zT,2,1,"mat-accordion",7)),2&e){var n=a.oxw(2);a.Q6J("ngIf",n.loading),a.xp6(1),a.Q6J("ngIf",0===n.resources.length&&!n.loading),a.xp6(1),a.Q6J("ngIf",n.resources.length&&!n.loading)}}function xT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-expansion-panel",3),a.NdJ("opened",function(){var e=a.CHM(n).$implicit;return a.oxw().getMailingLists(e)}),a.TgZ(1,"mat-expansion-panel-header"),a.TgZ(2,"mat-panel-title"),a._uU(3),a.qZA(),a.qZA(),a.YNc(4,OT,3,3,"ng-template",4),a.qZA()}if(2&e){var i=t.$implicit;a.xp6(3),a.hij(" ",i.name," ")}}var RT=function(){var e=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.store=t,this.usersManagerService=n,this.membersService=i,this.resourcesManagerService=r,this.attributesManagerService=a,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMailingLists",value:function(e){var t=this;this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(n){var i=n.length;i||(t.loading=!1),n.forEach(function(n){t.attributesManagerService.getRequiredAttributesMemberResource(e.id,n.id).subscribe(function(r){t.attributesManagerService.getResourceAttributeByName(n.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(function(a){i--;var o=r.find(function(e){return"optOutMailingList"===e.friendlyName});!o||a&&"true"===a.value||(t.optOuts.push({resource:n.id,member:e.id,attribute:o}),t.resources.push(n)),t.loading=0!==i})})})})})}},{key:"getOptOutAttribute",value:function(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}},{key:"setOptOut",value:function(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(function(){console.log("done")})}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg),a.Y36(he),a.Y36(se),a.Y36(le),a.Y36(re))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,t){1&e&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"perun-web-apps-immediate-filter",1),a.NdJ("filter",function(e){return t.applyFilter(e)}),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.qZA(),a.TgZ(7,"mat-accordion"),a.YNc(8,xT,5,1,"mat-expansion-panel",2),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,a.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),a.xp6(3),a.Q6J("placeholder",a.lcZ(5,7,a.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),a.xp6(4),a.Q6J("ngForOf",t.filteredVos))},directives:[gM,IM,r.sg,DM,PM,NM,OM,r.O5,Zg,Cv,Jb],pipes:[Pp,Ng],styles:[""]}),e}();function DT(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function PT(e,t){1&e&&a._UZ(0,"th",17)}function NT(e,t){if(1&e&&(a.TgZ(0,"td",18),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.hij(" ",n," ")}}function IT(e,t){1&e&&a._UZ(0,"tr",19)}function qT(e,t){1&e&&a._UZ(0,"tr",20)}function BT(e,t){if(1&e&&(a.TgZ(0,"table",11),a.ynx(1,12),a.YNc(2,PT,1,0,"th",13),a.YNc(3,NT,2,1,"td",14),a.BQk(),a.YNc(4,IT,1,0,"tr",15),a.YNc(5,qT,1,0,"tr",16),a.qZA()),2&e){var n=a.oxw(2);a.Q6J("dataSource",n.dataSource),a.xp6(4),a.Q6J("matHeaderRowDef",n.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",n.displayedColumns)}}function HT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",1),a.TgZ(1,"div",5),a.TgZ(2,"p"),a._uU(3),a.qZA(),a.TgZ(4,"div",6),a._uU(5),a.ALo(6,"translate"),a.ALo(7,"customTranslate"),a.qZA(),a.YNc(8,BT,6,3,"table",7),a.qZA(),a.TgZ(9,"div",8),a.TgZ(10,"button",9),a.NdJ("click",function(){return a.CHM(n),a.oxw().onCancel()}),a._uU(11),a.ALo(12,"translate"),a.ALo(13,"customTranslate"),a.qZA(),a.TgZ(14,"button",10),a.NdJ("click",function(){return a.CHM(n),a.oxw().onSubmit()}),a._uU(15),a.ALo(16,"translate"),a.ALo(17,"customTranslate"),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(3),a.hij(" ",i.description," "),a.xp6(2),a.hij(" ",a.lcZ(6,5,a.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),a.xp6(3),a.Q6J("ngIf",i.dataSource.data.length),a.xp6(3),a.hij(" ",a.lcZ(12,9,a.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),a.xp6(4),a.hij(" ",a.lcZ(16,13,a.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}var YT=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.attributesManagerService=i,this.displayedColumns=["name"]}return _createClass(e,[{key:"ngOnInit",value:function(){this.dataSource=new ov(this.data.values),this.description=this.data.description,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{var t=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?t.splice(this.data.valueIndex,1):t=t.filter(function(t){return!e.data.values.find(function(e){return e===t})}),this.data.attribute.value=t}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(re))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.qZA(),a.TgZ(2,"div",1),a.YNc(3,DT,1,0,"mat-spinner",2),a.qZA(),a.YNc(4,HT,18,17,"div",3)),2&e&&(a.xp6(1),a.Oqu(t.title),a.xp6(2),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[eg,r.O5,Zg,tg,ng,Ic,Xm,Qm,Jm,Vm,tv,nv,$m,ev,iv,rv],pipes:[Pp,Ng],styles:[""]}),e}();function jT(e,t){1&e&&(a.TgZ(0,"app-alert",5),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function FT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-option",11),a.NdJ("click",function(){return a.CHM(n),a.oxw(3).changeValue()}),a._uU(1),a.qZA()}if(2&e){var i=t.$implicit;a.Q6J("value",i),a.xp6(1),a.Oqu(i)}}function WT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"mat-list-item"),a.TgZ(1,"mat-form-field",7),a.TgZ(2,"mat-select",8),a.NdJ("valueChange",function(e){var t=a.CHM(n).index;return a.oxw(2).shells[t]=e}),a.YNc(3,FT,2,2,"mat-option",9),a.qZA(),a.qZA(),a.TgZ(4,"button",10),a.NdJ("click",function(){var e=a.CHM(n).index;return a.oxw(2).removeShell(e)}),a._uU(5),a.ALo(6,"translate"),a.ALo(7,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=t.index,r=a.oxw(2);a.xp6(2),a.Q6J("value",r.shells[i]),a.xp6(1),a.Q6J("ngForOf",r.defaultShells),a.xp6(2),a.Oqu(a.lcZ(6,3,a.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function UT(e,t){if(1&e&&(a.TgZ(0,"mat-list"),a.YNc(1,WT,8,7,"mat-list-item",6),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Q6J("ngForOf",n.shells)}}var KT=function(){var e=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],r.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return a.removeDialogDescription=e}),r.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(function(e){return a.removeDialogTitle=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(function(){e.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(t){return e.removeDialogDescription=t}),e.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(function(t){return e.removeDialogTitle=t})}),this.getAttribute()}},{key:"addShell",value:function(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(function(){console.log("done")})}},{key:"removeShell",value:function(e){var t=this,n=og();n.width="600px",n.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(YT,n).afterClosed().subscribe(function(e){e&&t.getAttribute()})}},{key:"getAttribute",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(function(t){e.prefShellsAttribute=t,e.shells=e.prefShellsAttribute.value?e.prefShellsAttribute.value:[],e.loading=!1})}},{key:"changeValue",value:function(){var e=this;this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(function(){e.getAttribute()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(bg),a.Y36(re),a.Y36(Qp),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"app-alert",1),a._uU(5),a.ALo(6,"translate"),a.ALo(7,"customTranslate"),a.qZA(),a.TgZ(8,"button",2),a.NdJ("click",function(){return t.addShell()}),a._uU(9),a.ALo(10,"translate"),a.ALo(11,"customTranslate"),a.qZA(),a.YNc(12,jT,4,5,"app-alert",3),a.YNc(13,UT,2,1,"mat-list",4)),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,a.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),a.xp6(4),a.hij(" ",a.lcZ(6,9,a.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),a.xp6(4),a.Oqu(a.lcZ(10,13,a.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),a.xp6(3),a.Q6J("ngIf",!t.loading&&0===t.shells.length),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[Cv,Ic,r.O5,Xy,r.sg,Qy,ah,ef,Sc],pipes:[Pp,Ng],styles:[""]}),e}();function ZT(e,t){1&e&&a._UZ(0,"mat-spinner",4)}function GT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"div",5),a.TgZ(2,"mat-form-field",6),a.TgZ(3,"label",6),a._UZ(4,"input",7),a.qZA(),a.qZA(),a.qZA(),a.TgZ(5,"div",8),a.TgZ(6,"button",9),a.NdJ("click",function(){return a.CHM(n),a.oxw().onCancel()}),a._uU(7),a.ALo(8,"translate"),a.ALo(9,"customTranslate"),a.qZA(),a.TgZ(10,"button",10),a.NdJ("click",function(){return a.CHM(n),a.oxw().onSubmit()}),a._uU(11),a.ALo(12,"translate"),a.ALo(13,"customTranslate"),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(4),a.Q6J("formControl",i.inputControl),a.xp6(3),a.hij(" ",a.lcZ(8,4,a.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),a.xp6(3),a.Q6J("disabled",!i.inputControl.valid||i.groups.includes(i.inputControl.value)),a.xp6(1),a.hij(" ",a.lcZ(12,8,a.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}var XT=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.attributesManagerService=i,this.groups=[]}return _createClass(e,[{key:"ngOnInit",value:function(){this.inputControl=new cd(null,Ah.required),this.groups=this.data.groups}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,"urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:".concat(this.data.namespace)).subscribe(function(t){var n=t.value?t.value:[];n.push(e.inputControl.value),t.value=n,e.attributesManagerService.setUserAttribute({user:e.data.userId,attribute:t}).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(re))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.TgZ(4,"div",1),a.YNc(5,ZT,1,0,"mat-spinner",2),a.YNc(6,GT,14,12,"div",3),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,3,a.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),a.xp6(4),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[eg,r.O5,Zg,tg,ah,im,gh,Ed,Hh,kd,ng,Ic],pipes:[Pp,Ng],styles:[""]}),e}();function VT(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",2),a.TgZ(1,"h4"),a._uU(2),a.qZA(),a.TgZ(3,"button",3),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().addGroupName(e)}),a._uU(4),a.ALo(5,"translate"),a.ALo(6,"customTranslate"),a.qZA(),a.TgZ(7,"button",4),a.NdJ("click",function(){var e=a.CHM(n),t=e.$implicit,i=e.index;return a.oxw().removeGroupName(t,i)}),a._uU(8),a.ALo(9,"translate"),a.qZA(),a._UZ(10,"perun-web-apps-string-list",5),a.qZA()}if(2&e){var i=t.$implicit,r=t.index,o=a.oxw();a.xp6(2),a.Oqu(i),a.xp6(2),a.Oqu(a.lcZ(5,8,a.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),a.xp6(3),a.Q6J("disabled",0===o.selectionList[r].selected.length),a.xp6(1),a.Oqu(a.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),a.xp6(2),a.Q6J("values",o.groupNames.get(i))("selection",o.selectionList[r])("alertText",o.alertText)("headerColumnText",o.headerColumnText)}}var JT=function(){var e=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],r.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return a.removeDialogDescription=e}),r.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(function(e){return a.removeDialogTitle=e}),r.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(function(e){return a.alertText=e}),r.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(function(e){return a.headerColumnText=e})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(function(){e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(function(t){return e.removeDialogDescription=t}),e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(function(t){return e.removeDialogTitle=t}),e.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(function(t){return e.alertText=t}),e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(function(t){return e.headerColumnText=t})}),this.initSelection(),this.namespaces.forEach(function(t){e.getAttribute(t)})}},{key:"initSelection",value:function(){for(var e=0;e.^*()%!-]/]),Ah.minLength(10)])],passwordAgainCtrl:[""]},{validator:_g.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}},{key:"close",value:function(){this.dialogRef.close(!1)}},{key:"changePassword",value:function(){var e=this;this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.loading=!1,e.dialogRef.close(!0)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(Wp),a.Y36(Zp),a.Y36(Rd),a.Y36(he),a.Y36(Lg),a.Y36(Dp))},e.\u0275cmp=a.Xpm({type:e,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","","type","password"],[4,"ngIf"],["formControlName","passwordCtrl","matInput","","required","","type","password"],["formControlName","passwordAgainCtrl","matInput","","required","","type","password"],[1,"white-space-pre"],[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&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.qZA(),a.TgZ(3,"div",1),a.YNc(4,$L,26,19,"form",2),a.YNc(5,eS,1,0,"mat-spinner",3),a.qZA(),a.YNc(6,tS,8,7,"div",4)),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),a.xp6(3),a.Q6J("ngIf",!t.loading),a.xp6(1),a.Q6J("ngIf",t.loading),a.xp6(1),a.Q6J("ngIf",!t.loading))},directives:[eg,tg,r.O5,vd,Yh,Cd,ah,Jl,gh,im,Hh,Ld,Ed,Ul,Zg,ng,Ic],pipes:[Pp],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}"]}),e}();function iS(e,t){1&e&&(a.TgZ(0,"app-alert"),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function rS(e,t){1&e&&(a.TgZ(0,"th",16),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))))}function aS(e,t){if(1&e&&(a.TgZ(0,"td",17),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.friendlyNameParameter)}}function oS(e,t){1&e&&(a.TgZ(0,"th",16),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))))}function sS(e,t){if(1&e&&(a.TgZ(0,"td",18),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n.value)}}function cS(e,t){1&e&&a._UZ(0,"th",16)}function uS(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",19),a.TgZ(1,"button",20),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().resetPassword(e.friendlyNameParameter)}),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("disabled",!r.logins.includes(i)),a.xp6(1),a.Oqu(a.lcZ(3,2,a.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD")))}}function lS(e,t){1&e&&a._UZ(0,"th",16)}function hS(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"td",19),a.TgZ(1,"button",20),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().changePassword(e)}),a._uU(2),a.ALo(3,"translate"),a.ALo(4,"customTranslate"),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.xp6(1),a.Q6J("disabled",!r.logins.includes(i)),a.xp6(1),a.Oqu(a.lcZ(3,2,a.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD")))}}function dS(e,t){1&e&&a._UZ(0,"tr",21)}function fS(e,t){1&e&&a._UZ(0,"tr",22)}var pS=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.attributesManagerService=t,this.store=n,this.dialog=i,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(function(t){var n=e.nameSpaces.map(function(e){var t=e.split(":");return t[t.length-1]});e.logins=t.filter(function(e){return n.includes(e.friendlyNameParameter)}),e.dataSource=new ov(t)})}},{key:"resetPassword",value:function(e){var t=this.store.get("pwd_reset_base_url");location.href="".concat(t,"?login-namespace=").concat(e)}},{key:"changePassword",value:function(e){var t=og();t.width="600px",t.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(nS,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(re),a.Y36(bg),a.Y36(Qp))},e.\u0275cmp=a.Xpm({type:e,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(a.TgZ(0,"h1",0),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA(),a.YNc(4,iS,4,5,"app-alert",1),a.TgZ(5,"div",2),a.TgZ(6,"div",3),a.TgZ(7,"div",4),a.TgZ(8,"table",5),a.ynx(9,6),a.YNc(10,rS,4,5,"th",7),a.YNc(11,aS,2,1,"td",8),a.BQk(),a.ynx(12,9),a.YNc(13,oS,4,5,"th",7),a.YNc(14,sS,2,1,"td",10),a.BQk(),a.ynx(15,11),a.YNc(16,cS,1,0,"th",7),a.YNc(17,uS,5,6,"td",12),a.BQk(),a.ynx(18,13),a.YNc(19,lS,1,0,"th",7),a.YNc(20,hS,5,6,"td",12),a.BQk(),a.YNc(21,dS,1,0,"tr",14),a.YNc(22,fS,1,0,"tr",15),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,5,a.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE"))),a.xp6(3),a.Q6J("ngIf",!t.logins.length),a.xp6(4),a.Q6J("dataSource",t.dataSource),a.xp6(13),a.Q6J("matHeaderRowDef",t.displayedColumns),a.xp6(1),a.Q6J("matRowDefColumns",t.displayedColumns))},directives:[r.O5,Xm,Vw,Qm,Jm,Vm,tv,nv,Cv,$m,ev,Ic,iv,rv],pipes:[Pp,Ng],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.05)}"]}),e}();function gS(e,t){1&e&&(a.TgZ(0,"app-alert",11),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function mS(e,t){1&e&&(a.TgZ(0,"app-alert",12),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function vS(e,t){if(1&e&&(a.TgZ(0,"div",13),a._UZ(1,"img",14),a.qZA()),2&e){var n=a.oxw();a.xp6(1),a.Q6J("src",n.newImage,a.LSH)}}function _S(e,t){1&e&&(a.TgZ(0,"app-alert",11),a._uU(1),a.ALo(2,"translate"),a.ALo(3,"customTranslate"),a.qZA()),2&e&&(a.xp6(1),a.Oqu(a.lcZ(2,1,a.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}n(6577);var yS=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.dialogRef=t,this.data=n,this.attributesManagerService=i,this.store=r,this.newImage=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}},{key:"handleInputChange",value:function(e){var t=e.dataTransfer?e.dataTransfer.files[0]:e.target.files[0],n=new FileReader;t.type.match(/image-*/)?(n.onload=this._handleReaderLoaded.bind(this),n.readAsDataURL(t)):alert("invalid format")}},{key:"_handleReaderLoaded",value:function(e){var t=e.target;this.imgTooLong=t.result.length>=5120,this.newImage=t.result}},{key:"onAdd",value:function(){var e=this;this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(function(){e.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"generateImg",value:function(){function e(e,t,n,i){i.beginPath(),i.rect(20*e,20*t,20,20),i.fillStyle="rgb("+n.join(",")+")",i.fill()}this.newImage=function(){for(var t=function(){var e=document.createElement("canvas");e.width=100,e.height=100;var t=e.getContext("2d");return t.beginPath(),t.rect(0,0,100,100),t.fillStyle="#FFFFFF",t.fill(),e}(),n=t.getContext("2d"),i=function(){for(var e=[],t=0;t<3;t++){var n=Math.floor(256*Math.random()),i=Math.max(120,n),r=Math.min(200,i);e.push(r)}return e}(),r=0;r1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";_classCallCheck(this,e),this.http=t,this.prefix=n,this.suffix=i}return _createClass(e,[{key:"getTranslation",value:function(e){return this.http.get("".concat(this.prefix).concat(e).concat(this.suffix))}}]),e}(),ZS=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.storeService=n}return _createClass(e,[{key:"initializeColors",value:function(e,t){var n=this;return new Promise(function(i){t.forEach(function(e){var t=n.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t)}),e.forEach(function(e){var t=n.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t),n.setEntityTheme(e.entity,t)}),i()})}},{key:"setEntityTheme",value:function(e,t){for(var n,i=0,r=(n=t,[GS(tinycolor(n).lighten(52),"50"),GS(tinycolor(n).lighten(37),"100"),GS(tinycolor(n).lighten(26),"200"),GS(tinycolor(n).lighten(12),"300"),GS(tinycolor(n).lighten(6),"400"),GS(tinycolor(n),"500"),GS(tinycolor(n).darken(6),"600"),GS(tinycolor(n).darken(12),"700"),GS(tinycolor(n).darken(18),"800"),GS(tinycolor(n).darken(24),"900"),GS(tinycolor(n).lighten(50).saturate(30),"A100"),GS(tinycolor(n).lighten(30).saturate(30),"A200"),GS(tinycolor(n).lighten(10).saturate(15),"A400"),GS(tinycolor(n).lighten(5).saturate(5),"A700")]);i1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:__,useValue:Object.assign(Object.assign({},v_),t)},{provide:b_,useValue:n,multi:!0},{provide:y_,useValue:!0}]:[{provide:__,useValue:Object.assign(Object.assign({},v_),t)},{provide:b_,useValue:n,multi:!0}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(y_),a.LFG(a.Lbi))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[gT,iy,VS],gT,iy,VS]}),e}(),QS=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[js],js]}),e}(),$S=new a.OlP("perun-api-service"),eE=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),tE=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[eE,vc,js,Lr],eE,js]}),e}(),nE={provide:ee.TP,useExisting:(0,a.Gpc)(function(){return Sg}),multi:!0};function iE(e){return new KS(e,"./assets/i18n/",".json")}function rE(e){var t={basePath:e.get("api_url")};return new ie(t)}var aE=function(e){return function(){return e.initialize()}},oE=function(){var e=function e(t,n){_classCallCheck(this,e),this.customIconService=t,this.translate=n,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()};return e.\u0275fac=function(t){return new(t||e)(a.LFG(Cg),a.LFG(Dp))},e.\u0275mod=a.oAB({type:e,bootstrap:[xb]}),e.\u0275inj=a.cJS({providers:[Cg,{provide:a.ip1,useFactory:aE,multi:!0,deps:[XS]},{provide:ie,useFactory:rE,deps:[bg]},Pg,Sg,nE,{provide:$S,useClass:zg}],imports:[[I,Ds,ee.JF,Np.forRoot({loader:{provide:mp,useFactory:iE,deps:[ee.eN]}}),US,gp,Iy,$y,Ki,qc,JS,h_,KL,IL,qM,oh,tf,ig,av,rm,xd,$b,xf,Gg,ik,QS,yv,Dg,jk,vc,yf,tE,Wv,Od,FS,Ip,Jf,Ag.zr.forRoot()]]}),e}();(0,a.G48)(),P().bootstrapModule(oE).catch(function(e){return console.error(e)})},1511:function(e,t,n){"use strict";n.d(t,{mr:function(){return b},Ov:function(){return Me},ez:function(){return Le},K0:function(){return c},uU:function(){return Te},Do:function(){return w},V_:function(){return h},Ye:function(){return k},S$:function(){return _},mk:function(){return ce},sg:function(){return le},O5:function(){return de},PC:function(){return ye},RF:function(){return me},n9:function(){return ve},ED:function(){return _e},b0:function(){return A},lw:function(){return u},gd:function(){return Ce},EM:function(){return Oe},JF:function(){return De},p6:function(){return U},NF:function(){return Ee},PM:function(){return ze},w_:function(){return s},bD:function(){return Se},q:function(){return a},Mx:function(){return se},HT:function(){return o}});var i=n(1572),r=null;function a(){return r}function o(e){r||(r=e)}var s=function e(){_classCallCheck(this,e)},c=new i.OlP("DocumentToken"),u=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:l,token:e,providedIn:"platform"}),e}();function l(){return(0,i.LFG)(d)}var h=new i.OlP("Location Initialized"),d=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._init(),i}return _createClass(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=a().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=a().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(u);return e.\u0275fac=function(t){return new(t||e)(i.LFG(c))},e.\u0275prov=(0,i.Yz7)({factory:p,token:e,providedIn:"platform"}),e}();function f(){return!!window.history.pushState}function p(){return new d((0,i.LFG)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function v(e){return e&&"?"!==e[0]?"?"+e:e}var _=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:y,token:e,providedIn:"root"}),e}();function y(e){var t=(0,i.LFG)(c).location;return new A((0,i.LFG)(u),t&&t.origin||"")}var b=new i.OlP("appBaseHref"),A=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;if(_classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)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.");return r._baseHref=i,_possibleConstructorReturn(r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return g(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(i.LFG(u),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=g(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(i.LFG(u),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),k=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=m(C(a)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+v(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,C(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(_),i.LFG(u))},e.normalizeQueryParams=v,e.joinWithSlash=g,e.stripTrailingSlash=m,e.\u0275prov=(0,i.Yz7)({factory:M,token:e,providedIn:"root"}),e}();function M(){return new k((0,i.LFG)(_),(0,i.LFG)(u))}function C(e){return e.replace(/\/index.html$/,"")}var T=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),L=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),S=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),E=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),z=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function O(e,t){return I((0,i.cg1)(e)[i.wAp.DateFormat],t)}function x(e,t){return I((0,i.cg1)(e)[i.wAp.TimeFormat],t)}function R(e,t){return I((0,i.cg1)(e)[i.wAp.DateTimeFormat],t)}function D(e,t){var n=(0,i.cg1)(e),r=n[i.wAp.NumberSymbols][t];if(void 0===r){if(t===z.CurrencyDecimal)return n[i.wAp.NumberSymbols][z.Decimal];if(t===z.CurrencyGroup)return n[i.wAp.NumberSymbols][z.Group]}return r}var P=i.kL8;function N(e){if(!e[i.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[i.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function I(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function q(e){var t=_slicedToArray(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},Y=/((?:[^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]*)/,j=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),F=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),W=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function U(e,t,n,i){var r=function(e){if(re(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=_slicedToArray(e.split("-").map(function(e){return+e}),3),n=t[0],i=t[1],r=void 0===i?1:i,a=t[2];return K(n,r-1,void 0===a?1:a)}var o,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(o=e.match(B))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,c=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,c,u),t}(o)}var c=new Date(e);if(!re(c))throw new Error('Unable to convert "'.concat(e,'" into a date'));return c}(e);t=Z(n,t)||t;for(var a,o=[];t;){if(!(a=Y.exec(t))){o.push(t);break}var s=(o=o.concat(a.slice(1))).pop();if(!s)break;t=s}var c=r.getTimezoneOffset();i&&(c=ie(i,c),r=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ie(t,i)-i))}(r,i));var u="";return o.forEach(function(e){var t=function(e){if(ne[e])return ne[e];var t;switch(e){case"G":case"GG":case"GGG":t=J(W.Eras,S.Abbreviated);break;case"GGGG":t=J(W.Eras,S.Wide);break;case"GGGGG":t=J(W.Eras,S.Narrow);break;case"y":t=V(F.FullYear,1,0,!1,!0);break;case"yy":t=V(F.FullYear,2,0,!0,!0);break;case"yyy":t=V(F.FullYear,3,0,!1,!0);break;case"yyyy":t=V(F.FullYear,4,0,!1,!0);break;case"Y":t=te(1);break;case"YY":t=te(2,!0);break;case"YYY":t=te(3);break;case"YYYY":t=te(4);break;case"M":case"L":t=V(F.Month,1,1);break;case"MM":case"LL":t=V(F.Month,2,1);break;case"MMM":t=J(W.Months,S.Abbreviated);break;case"MMMM":t=J(W.Months,S.Wide);break;case"MMMMM":t=J(W.Months,S.Narrow);break;case"LLL":t=J(W.Months,S.Abbreviated,L.Standalone);break;case"LLLL":t=J(W.Months,S.Wide,L.Standalone);break;case"LLLLL":t=J(W.Months,S.Narrow,L.Standalone);break;case"w":t=ee(1);break;case"ww":t=ee(2);break;case"W":t=ee(1,!0);break;case"d":t=V(F.Date,1);break;case"dd":t=V(F.Date,2);break;case"c":case"cc":t=V(F.Day,1);break;case"ccc":t=J(W.Days,S.Abbreviated,L.Standalone);break;case"cccc":t=J(W.Days,S.Wide,L.Standalone);break;case"ccccc":t=J(W.Days,S.Narrow,L.Standalone);break;case"cccccc":t=J(W.Days,S.Short,L.Standalone);break;case"E":case"EE":case"EEE":t=J(W.Days,S.Abbreviated);break;case"EEEE":t=J(W.Days,S.Wide);break;case"EEEEE":t=J(W.Days,S.Narrow);break;case"EEEEEE":t=J(W.Days,S.Short);break;case"a":case"aa":case"aaa":t=J(W.DayPeriods,S.Abbreviated);break;case"aaaa":t=J(W.DayPeriods,S.Wide);break;case"aaaaa":t=J(W.DayPeriods,S.Narrow);break;case"b":case"bb":case"bbb":t=J(W.DayPeriods,S.Abbreviated,L.Standalone,!0);break;case"bbbb":t=J(W.DayPeriods,S.Wide,L.Standalone,!0);break;case"bbbbb":t=J(W.DayPeriods,S.Narrow,L.Standalone,!0);break;case"B":case"BB":case"BBB":t=J(W.DayPeriods,S.Abbreviated,L.Format,!0);break;case"BBBB":t=J(W.DayPeriods,S.Wide,L.Format,!0);break;case"BBBBB":t=J(W.DayPeriods,S.Narrow,L.Format,!0);break;case"h":t=V(F.Hours,1,-12);break;case"hh":t=V(F.Hours,2,-12);break;case"H":t=V(F.Hours,1);break;case"HH":t=V(F.Hours,2);break;case"m":t=V(F.Minutes,1);break;case"mm":t=V(F.Minutes,2);break;case"s":t=V(F.Seconds,1);break;case"ss":t=V(F.Seconds,2);break;case"S":t=V(F.FractionalSeconds,1);break;case"SS":t=V(F.FractionalSeconds,2);break;case"SSS":t=V(F.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Q(j.Short);break;case"ZZZZZ":t=Q(j.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Q(j.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Q(j.Long);break;default:return null}return ne[e]=t,t}(e);u+=t?t(r,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function K(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Z(e,t){var n=function(e){return(0,i.cg1)(e)[i.wAp.LocaleId]}(e);if(H[n]=H[n]||{},H[n][t])return H[n][t];var r="";switch(t){case"shortDate":r=O(e,E.Short);break;case"mediumDate":r=O(e,E.Medium);break;case"longDate":r=O(e,E.Long);break;case"fullDate":r=O(e,E.Full);break;case"shortTime":r=x(e,E.Short);break;case"mediumTime":r=x(e,E.Medium);break;case"longTime":r=x(e,E.Long);break;case"fullTime":r=x(e,E.Full);break;case"short":var a=Z(e,"shortTime"),o=Z(e,"shortDate");r=G(R(e,E.Short),[a,o]);break;case"medium":var s=Z(e,"mediumTime"),c=Z(e,"mediumDate");r=G(R(e,E.Medium),[s,c]);break;case"long":var u=Z(e,"longTime"),l=Z(e,"longDate");r=G(R(e,E.Long),[u,l]);break;case"full":var h=Z(e,"fullTime"),d=Z(e,"fullDate");r=G(R(e,E.Full),[h,d])}return r&&(H[n][t]=r),r}function G(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,a=n));for(var o=String(e);o.length2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s,c=function(e,t){switch(e){case F.FullYear:return t.getFullYear();case F.Month:return t.getMonth();case F.Date:return t.getDate();case F.Hours:return t.getHours();case F.Minutes:return t.getMinutes();case F.Seconds:return t.getSeconds();case F.FractionalSeconds:return t.getMilliseconds();case F.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,a);if((n>0||c>-n)&&(c+=n),e===F.Hours)0===c&&-12===n&&(c=12);else if(e===F.FractionalSeconds)return s=t,X(c,3).substr(0,s);var u=D(o,z.MinusSign);return X(c,t,u,i,r)}}function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return function(e,t,n,r,a,o){switch(n){case W.Months:return function(e,t,n){var r=(0,i.cg1)(e),a=I([r[i.wAp.MonthsFormat],r[i.wAp.MonthsStandalone]],t);return I(a,n)}(t,a,r)[e.getMonth()];case W.Days:return function(e,t,n){var r=(0,i.cg1)(e),a=I([r[i.wAp.DaysFormat],r[i.wAp.DaysStandalone]],t);return I(a,n)}(t,a,r)[e.getDay()];case W.DayPeriods:var s=e.getHours(),c=e.getMinutes();if(o){var u=function(e){var t=(0,i.cg1)(e);return N(t),(t[i.wAp.ExtraData][2]||[]).map(function(e){return"string"==typeof e?q(e):[q(e[0]),q(e[1])]})}(t),l=function(e,t,n){var r=(0,i.cg1)(e);N(r);var a=I([r[i.wAp.ExtraData][0],r[i.wAp.ExtraData][1]],t)||[];return I(a,n)||[]}(t,a,r),h=u.findIndex(function(e){if(Array.isArray(e)){var t=_slicedToArray(e,2),n=t[0],i=t[1],r=s>=n.hours&&c>=n.minutes,a=s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case j.Short:return(r>=0?"+":"")+X(o,2,a)+X(Math.abs(r%60),2,a);case j.ShortGMT:return"GMT"+(r>=0?"+":"")+X(o,1,a);case j.Long:return"GMT"+(r>=0?"+":"")+X(o,2,a)+":"+X(Math.abs(r%60),2,a);case j.Extended:return 0===i?"Z":(r>=0?"+":"")+X(o,2,a)+":"+X(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function $(e){return K(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,a,o;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();r=1+Math.floor((c+s)/7)}else{var u=$(n),l=(a=u.getFullYear(),o=K(a,0,1).getDay(),K(a,0,1+(o<=4?4:11)-o)),h=u.getTime()-l.getTime();r=1+Math.round(h/6048e5)}return X(r,e,D(i,z.MinusSign))}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return X($(n).getFullYear(),e,D(i,z.MinusSign),t)}}var ne={};function ie(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function re(e){return e instanceof Date&&!isNaN(e.valueOf())}var ae=function e(){_classCallCheck(this,e)},oe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(P(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}]),n}(ae);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.soG))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}();function se(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,a=r.indexOf("="),o=_slicedToArray(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),s=o[0],c=o[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(u){i.e(u)}finally{i.f()}return null}var ce=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,i.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),ue=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),le=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new ue(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new he(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var c=new he(e,s);n.push(c)}});for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return U(t,n,r||this.locale,i)}catch(a){throw be(e,a.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.soG,16))},e.\u0275pipe=i.Yjl({name:"date",type:e,pure:!0}),e}(),Le=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[{provide:ae,useClass:oe}]}),e}(),Se="browser";function Ee(e){return e===Se}function ze(e){return"server"===e}var Oe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=(0,i.Yz7)({token:e,providedIn:"root",factory:function(){return new xe((0,i.LFG)(c),window)}}),e}(),xe=function(){function e(t,n){_classCallCheck(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var a=r.shadowRoot;if(a){var o=a.getElementById(t)||a.querySelector('[name="'.concat(t,'"]'));if(o)return o}r=i.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Re(this.window.history)||Re(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function Re(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var De=function e(){_classCallCheck(this,e)}},9063:function(e,t,n){"use strict";n.d(t,{TP:function(){return z},eN:function(){return S},JF:function(){return Y},WM:function(){return d},LE:function(){return m},Zn:function(){return C}});var i=n(1511),r=n(1572),a=n(878),o=n(8318),s=n(436),c=n(3835),u=n(9996),l=function e(){_classCallCheck(this,e)},h=function e(){_classCallCheck(this,e)},d=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(e){return"".concat(e)}var m=function(){function e(){var t,n,i,r=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new f,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=a.fromString,n=this.encoder,i=new Map,t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(e){var t=e.indexOf("="),r=_slicedToArray(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),a=r[0],o=r[1],s=i.get(a)||[];s.push(o),i.set(a,s)}),i)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(function(e){var t=a.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(g(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(g(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),v=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function _(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var A=function(){function e(t,n,i,r){var a;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new d),this.context||(this.context=new v),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,a=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,c=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,u=n.headers||this.headers,l=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(u=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},u)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},l)),new e(i,r,o,{params:l,headers:u,context:h,reportProgress:c,responseType:a,withCredentials:s})}}]),e}(),w=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),k=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},M=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=w.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(k),C=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=w.Response,e.body=void 0!==i.body?i.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(k),T=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(k);function L(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var S=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i,r,o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof A?n=e:(i=l.headers instanceof d?l.headers:new d(l.headers),l.params&&(r=l.params instanceof m?l.params:new m({fromObject:l.params})),n=new A(e,t,void 0!==l.body?l.body:null,{headers:i,context:l.context,params:r,reportProgress:l.reportProgress,responseType:l.responseType||"json",withCredentials:l.withCredentials}));var h=(0,a.of)(n).pipe((0,s.b)(function(e){return o.handler.handle(e)}));if(e instanceof A||"events"===l.observe)return h;var f=h.pipe((0,c.h)(function(e){return e instanceof C}));switch(l.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe((0,u.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return f.pipe((0,u.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return f.pipe((0,u.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return f.pipe((0,u.U)(function(e){return e.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(l.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,L(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,L(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,L(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(l))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),E=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),z=new r.OlP("HTTP_INTERCEPTORS"),O=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),x=/^\)\]\}',?\n/,R=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new d(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new M({headers:r,status:t,statusText:n,url:a})},u=function(){var t=c(),r=t.headers,a=t.status,o=t.statusText,s=t.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var l=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(x,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,l&&(l=!1,u={error:d,text:u})}}l?(n.next(new C({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new T({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},l=function(e){var t=c().url,r=new T({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},h=!1,f=function(t){h||(n.next(c()),h=!0);var r={type:w.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:w.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",f),null!==o&&i.upload&&i.upload.addEventListener("progress",p)),i.send(o),n.next({type:w.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),e.reportProgress&&(i.removeEventListener("progress",f),null!==o&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),D=new r.OlP("XSRF_COOKIE_NAME"),P=new r.OlP("XSRF_HEADER_NAME"),N=function e(){_classCallCheck(this,e)},I=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(D))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),q=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(N),r.LFG(P))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(z,[]);this.chain=t.reduceRight(function(e,t){return new E(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(h),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),H=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:q,useClass:O}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:D,useValue:t.cookieName}:[],t.headerName?{provide:P,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[q,{provide:z,useExisting:q,multi:!0},{provide:N,useClass:I},{provide:D,useValue:"XSRF-TOKEN"},{provide:P,useValue:"X-XSRF-TOKEN"}]}),e}(),Y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[S,{provide:l,useClass:B},R,{provide:h,useExisting:R}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},1572:function(e,t,n){"use strict";n.d(t,{deG:function(){return tn},tb:function(){return Vc},AFp:function(){return Uc},ip1:function(){return Fc},CZH:function(){return Wc},hGG:function(){return ju},z2F:function(){return xu},sBO:function(){return Bs},Sil:function(){return su},_Vd:function(){return us},EJc:function(){return $c},SBq:function(){return fs},qLn:function(){return Ai},vpe:function(){return kc},gxx:function(){return la},tBr:function(){return Mn},XFs:function(){return z},OlP:function(){return en},zs3:function(){return Ma},ZZ4:function(){return xs},aQg:function(){return Ds},soG:function(){return Qc},YKP:function(){return Gs},v3s:function(){return Du},h0i:function(){return Zs},PXZ:function(){return Lu},R0b:function(){return lu},FiY:function(){return Cn},Lbi:function(){return Xc},g9A:function(){return Gc},n_E:function(){return Cc},Qsj:function(){return ms},FYo:function(){return gs},JOm:function(){return Ti},Tiy:function(){return _s},q3G:function(){return di},tp0:function(){return Tn},EAV:function(){return Iu},Rgc:function(){return Ws},dDg:function(){return vu},DyG:function(){return nn},GfV:function(){return ys},s_b:function(){return Vs},ifc:function(){return P},eFA:function(){return Su},G48:function(){return Cu},Gpc:function(){return f},f3M:function(){return yn},X6Q:function(){return Mu},_c5:function(){return Hu},VLi:function(){return yu},c2e:function(){return Jc},zSh:function(){return da},wAp:function(){return Jo},vHH:function(){return m},EiD:function(){return li},mCW:function(){return Zn},qzn:function(){return Nn},JVY:function(){return qn},pB0:function(){return jn},eBb:function(){return Hn},L6k:function(){return Bn},LAX:function(){return Yn},cg1:function(){return Go},Tjo:function(){return Bu},kL8:function(){return Xo},yhl:function(){return In},dqk:function(){return H},sIi:function(){return Da},CqO:function(){return io},QGY:function(){return to},F4k:function(){return no},RDi:function(){return we},AaK:function(){return l},z3N:function(){return Pn},qOj:function(){return Ta},TTD:function(){return ve},_Bn:function(){return os},xp6:function(){return dr},uIk:function(){return Ba},Tol:function(){return Co},Gre:function(){return jo},ekj:function(){return Mo},Suo:function(){return Ic},Xpm:function(){return J},lG2:function(){return re},Yz7:function(){return b},cJS:function(){return A},oAB:function(){return te},Yjl:function(){return ae},Y36:function(){return Wa},_UZ:function(){return Va},GkF:function(){return $a},BQk:function(){return Qa},ynx:function(){return Ja},qZA:function(){return Xa},TgZ:function(){return Ga},EpF:function(){return eo},n5z:function(){return Vt},Ikx:function(){return Fo},LFG:function(){return _n},$8M:function(){return Qt},$Z:function(){return Ua},NdJ:function(){return ro},CRH:function(){return qc},kcU:function(){return gt},O4$:function(){return pt},oxw:function(){return uo},ALo:function(){return mc},lcZ:function(){return vc},xi3:function(){return _c},Dn7:function(){return yc},Hsn:function(){return fo},F$t:function(){return ho},Q6J:function(){return Ka},s9C:function(){return po},MGl:function(){return go},hYB:function(){return mo},DdM:function(){return lc},VKq:function(){return hc},WLB:function(){return dc},iGM:function(){return Pc},MAs:function(){return Fa},pYS:function(){return Mi},Jf7:function(){return ki},CHM:function(){return Ye},oJD:function(){return fi},LSH:function(){return pi},kYT:function(){return ne},Udp:function(){return ko},WFA:function(){return ao},d8E:function(){return Wo},YNc:function(){return ja},W1O:function(){return jc},_uU:function(){return Io},Oqu:function(){return qo},hij:function(){return Bo},AsE:function(){return Ho},xDo:function(){return Yo},Gf:function(){return Nc}});var i=n(5959),r=n(7570),a=n(8318),o=n(1906),s=n(1055);function c(e){for(var t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function l(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(l).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var d=c({__forward_ref__:c});function f(e){return e.__forward_ref__=f,e.toString=function(){return l(this())},e}function p(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===f}var m=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(_wrapNativeSuper(Error));function v(e){return"string"==typeof e?e:null==e?"":String(e)}function _(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():v(e)}function y(e,t){var n=t?" in ".concat(t):"";throw new m("201","No provider for ".concat(_(e)," found").concat(n))}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function A(e){return{providers:e.providers||[],imports:e.imports||[]}}function w(e){return k(e,T)||k(e,S)}function k(e,t){return e.hasOwnProperty(t)?e[t]:null}function M(e){return e&&(e.hasOwnProperty(L)||e.hasOwnProperty(E))?e[L]:null}var C,T=c({"\u0275prov":c}),L=c({"\u0275inj":c}),S=c({ngInjectableDef:c}),E=c({ngInjectorDef:c}),z=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function O(e){var t=C;return C=e,t}function x(e,t,n){var i=w(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&z.Optional?null:void 0!==t?t:void y(l(e),"Injector")}function R(e){return{toString:e}.toString()}var D=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),P=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),N="undefined"!=typeof globalThis&&globalThis,I="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,H=N||B||I||q,Y={},j=[],F=c({"\u0275cmp":c}),W=c({"\u0275dir":c}),U=c({"\u0275pipe":c}),K=c({"\u0275mod":c}),Z=c({"\u0275loc":c}),G=c({"\u0275fac":c}),X=c({__NG_ELEMENT_ID__:c}),V=0;function J(e){return R(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===D.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||j,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||P.Emulated,id:"c",styles:e.styles||j,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,a=e.pipes;return n.id+=V++,n.inputs=ie(e.inputs,t),n.outputs=ie(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(Q)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map($)}:null,n})}function Q(e){return oe(e)||function(e){return e[W]||null}(e)}function $(e){return function(e){return e[U]||null}(e)}var ee={};function te(e){return R(function(){var t={type:e.type,bootstrap:e.bootstrap||j,declarations:e.declarations||j,imports:e.imports||j,exports:e.exports||j,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ee[e.id]=e.type),t})}function ne(e,t){return R(function(){var n=se(e,!0);n.declarations=t.declarations||j,n.imports=t.imports||j,n.exports=t.exports||j})}function ie(e,t){if(null==e)return Y;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var re=J;function ae(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function oe(e){return e[F]||null}function se(e,t){var n=e[K]||null;if(!n&&!0===t)throw new Error("Type ".concat(l(e)," does not have '\u0275mod' property."));return n}function ce(e){return Array.isArray(e)&&"object"==typeof e[1]}function ue(e){return Array.isArray(e)&&!0===e[1]}function le(e){return 0!=(8&e.flags)}function he(e){return 2==(2&e.flags)}function de(e){return 1==(1&e.flags)}function fe(e){return null!==e.template}function pe(e,t){return e.hasOwnProperty(G)?e[G]:null}var ge,me=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ve(){return _e}function _e(e){return e.type.prototype.ngOnChanges&&(e.setInput=be),ye}function ye(){var e=Ae(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===Y)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function be(e,t,n,i){var r=Ae(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Y,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new me(c&&c.currentValue,t,o===Y),e[i]=t}function Ae(e){return e.__ngSimpleChanges__||null}function we(e){ge=e}function ke(){return void 0!==ge?ge:"undefined"!=typeof document?document:void 0}function Me(e){return!!e.listen}ve.ngInherit=!0;var Ce={createRenderer:function(e,t){return ke()}};function Te(e){for(;Array.isArray(e);)e=e[0];return e}function Le(e,t){return Te(t[e])}function Se(e,t){return Te(t[e.index])}function Ee(e,t){return e.data[t]}function ze(e,t){return e[t]}function Oe(e,t){var n=t[e];return ce(n)?n:n[0]}function xe(e){return 4==(4&e[2])}function Re(e){return 128==(128&e[2])}function De(e,t){return null==t?null:e[t]}function Pe(e){e[18]=0}function Ne(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Ie={lFrame:st(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function qe(){return Ie.bindingsEnabled}function Be(){return Ie.lFrame.lView}function He(){return Ie.lFrame.tView}function Ye(e){return Ie.lFrame.contextLView=e,e[8]}function je(){for(var e=Fe();null!==e&&64===e.type;)e=e.parent;return e}function Fe(){return Ie.lFrame.currentTNode}function We(e,t){var n=Ie.lFrame;n.currentTNode=e,n.isParent=t}function Ue(){return Ie.lFrame.isParent}function Ke(){Ie.lFrame.isParent=!1}function Ze(){return Ie.isInCheckNoChangesMode}function Ge(e){Ie.isInCheckNoChangesMode=e}function Xe(){var e=Ie.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ve(){return Ie.lFrame.bindingIndex}function Je(){return Ie.lFrame.bindingIndex++}function Qe(e){var t=Ie.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $e(e){Ie.lFrame.currentDirectiveIndex=e}function et(e){var t=Ie.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function tt(){return Ie.lFrame.currentQueryIndex}function nt(e){Ie.lFrame.currentQueryIndex=e}function it(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function rt(e,t,n){if(n&z.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&z.Host||(i=it(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var a=Ie.lFrame=ot();return a.currentTNode=t,a.lView=e,!0}function at(e){var t=ot(),n=e[1];Ie.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ot(){var e=Ie.lFrame,t=null===e?null:e.child;return null===t?st(e):t}function st(e){var t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ct(){var e=Ie.lFrame;return Ie.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ut=ct;function lt(){var e=ct();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ht(){return Ie.lFrame.selectedIndex}function dt(e){Ie.lFrame.selectedIndex=e}function ft(){var e=Ie.lFrame;return Ee(e.tView,e.selectedIndex)}function pt(){Ie.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function gt(){Ie.lFrame.currentNamespace=null}function mt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t){e[2]+=2048;try{a.call(o)}finally{}}}else try{a.call(o)}finally{}}var wt=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function kt(e,t,n){for(var i=Me(e),r=0;rt){o=a-1;break}}}for(;a>16,i=t;n>0;)i=i[15],n--;return i}var Ot=!0;function xt(e){var t=Ot;return Ot=e,t}var Rt=0;function Dt(e,t){var n=Nt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Pt(i.data,e),Pt(t,null),Pt(i.blueprint,null));var r=It(e,t),a=e.injectorIndex;if(St(r))for(var o=Et(r),s=zt(r,t),c=s[1].data,u=0;u<8;u++)t[a+u]=s[o+u]|c[o+u];return t[a+8]=r,a}function Pt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function It(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var a=r[1],o=a.type;if(null===(i=2===o?a.declTNode:1===o?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function qt(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(X)&&(i=n[X]),null==i&&(i=n[X]=Rt++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:z.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(X)?e[X]:void 0;return"number"==typeof t?t>=0?255&t:Ft:t}(n);if("function"==typeof a){if(!rt(t,e,i))return i&z.Host?Bt(r,n,i):Ht(t,n,i,r);try{var o=a(i);if(null!=o||i&z.Optional)return o;y(n)}finally{ut()}}else if("number"==typeof a){var s=null,c=Nt(e,t),u=-1,l=i&z.Host?t[16][6]:null;for((-1===c||i&z.SkipSelf)&&(-1!==(u=-1===c?It(e,t):t[c+8])&&Gt(i,!1)?(s=t[1],c=Et(u),t=zt(u,t)):c=-1);-1!==c;){var h=t[1];if(Zt(a,c,h.data)){var d=Wt(c,t,n,s,i,l);if(d!==jt)return d}-1!==(u=t[c+8])&&Gt(i,t[1].data[c+8]===l)&&Zt(a,c,t)?(s=h,c=Et(u),t=zt(u,t)):c=-1}}}return Ht(t,n,i,r)}var jt={};function Ft(){return new Xt(je(),Be())}function Wt(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],c=Ut(s,o,n,null==i?he(s)&&Ot:i!=o&&0!=(3&s.type),r&z.Host&&a===s);return null!==c?Kt(t,o,c,s):jt}function Ut(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=1048575&a,c=e.directiveStart,u=a>>20,l=r?s+u:e.directiveEnd,h=i?s:s+u;h=c&&d.type===n)return h}if(r){var f=o[c];if(f&&fe(f)&&f.type===n)return c}return null}function Kt(e,t,n,i){var r=e[n],a=t.data;if(r instanceof wt){var o=r;o.resolving&&function(e,t){throw new m("200","Circular dependency in DI detected for ".concat(e))}(_(a[n]));var s=xt(o.canSeeViewProviders);o.resolving=!0;var c=o.injectImpl?O(o.injectImpl):null;rt(e,i,z.Default);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,a=i.ngOnInit,o=i.ngDoCheck;if(r){var s=_e(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,a[n],t)}finally{null!==c&&O(c),xt(s),o.resolving=!1,ut()}}return r}function Zt(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function sn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cn(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function ln(e,t){var n=hn(e,t);if(n>=0)return e[1|n]}function hn(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var dn,fn={},pn=/\n/gm,gn=c({provide:String,useValue:c});function mn(e){var t=dn;return dn=e,t}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;if(void 0===dn)throw new Error("inject() must be called from an injection context");return null===dn?x(e,void 0,t):dn.get(e,t&z.Optional?null:void 0,t)}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;return(C||vn)(p(e),t)}var yn=_n;function bn(e){for(var t=[],n=0;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ti.hasOwnProperty(t)&&!Jn.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(ui(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),si=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function ui(e){return e.replace(/&/g,"&").replace(si,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function li(e,t){var n=null;try{Vn=Vn||function(e){var t=new Wn(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ln(""),"text/html")}catch(e){return!1}}()?new Fn(t):t}(e);var i=t?String(t):"";n=Vn.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=Vn.getInertBodyElement(i)}while(i!==a);return Ln((new oi).sanitizeChildren(hi(n)||n))}finally{if(n)for(var o=hi(n)||n;o.firstChild;)o.removeChild(o.firstChild)}}function hi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var di=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function fi(e){var t=gi();return t?Sn(t.sanitize(di.HTML,e)||""):Nn(e,"HTML")?Sn(Pn(e)):li(ke(),v(e))}function pi(e){var t=gi();return t?t.sanitize(di.URL,e)||"":Nn(e,"URL")?Pn(e):Zn(v(e))}function gi(){var e=Be();return e&&e[12]}function mi(e,t){e.__ngContext__=t}function vi(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function _i(e){return e.ngDebugContext}function yi(e){return e.ngOriginalError}function bi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[i-1][4]=r[4]);var o=sn(e,10+t);Vi(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Ni(e,t){if(!(256&t[2])){var n=t[11];Me(n)&&n.destroyNode&&Vi(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Ii(e[1],e);for(;t;){var n=null;if(ce(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ce(t)&&Ii(t[1],t),t=t[3];null===t&&(t=e),ce(t)&&Ii(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ii(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=u]():i[r=-u].unsubscribe(),a+=2}else{var l=i[r=n[a+1]];n[a].call(l)}if(null!==i){for(var h=r+1;ha?"":r[l+1].toLowerCase();var d=8&i?h:null;if(d&&-1!==er(d,u,0)||2&i&&u!==h){if(ar(i))return!1;o=!0}}}}else{if(!o&&!ar(i)&&!ar(c))return!1;if(o&&ar(c))continue;o=!1,i=c|1&i}}return ar(i)||o}function ar(e){return 0==(1&e)}function or(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||ar(o)||(t+=ur(a,r),r=""),i=o,a=a||!ar(i);n++}return""!==r&&(t+=ur(a,r)),t}var hr={};function dr(e){fr(He(),Be(),ht()+e,Ze())}function fr(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&vt(t,r,n)}else{var a=e.preOrderHooks;null!==a&&_t(t,a,0,n)}dt(n)}function pr(e,t){return e<<17|t<<2}function gr(e){return e>>17&32767}function mr(e){return 2|e}function vr(e){return(131068&e)>>2}function _r(e,t){return-131069&e|t<<2}function yr(e){return 1|e}function br(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&fr(e,t,20,Ze()),n(i,r)}finally{dt(a)}}function Sr(e,t,n){if(le(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:Se,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(i,r,o)}}function qr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Br(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Hr(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&Gr(n)}}function Gr(e){for(var t=Ei(e);null!==t;t=zi(t))for(var n=10;n0&&Gr(i)}var a=e[1].components;if(null!==a)for(var o=0;o0&&Gr(s)}}function Xr(e,t){var n=Oe(t,e),i=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:fn;if(t===fn){var n=new Error("NullInjectorError: No provider for ".concat(l(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),da=new en("Set Injector scope."),fa={},pa={};function ga(){return void 0===ua&&(ua=new ha),ua}function ma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new va(e,n,t||ga(),i)}var va=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&an(n,function(e){return r.processProvider(e,t,n)}),an([t],function(e){return r.processInjectorType(e,[],o)}),this.records.set(la,ba(void 0,this));var s=this.records.get(da);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof t?null:l(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.Default;this.assertNotDestroyed();var i,r=mn(this);try{if(!(n&z.SkipSelf)){var a=this.records.get(e);if(void 0===a){var o=("function"==typeof(i=e)||"object"==typeof i&&i instanceof en)&&w(e);a=o&&this.injectableDefInScope(o)?ba(_a(e),fa):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(n&z.Self?ga():this.parent).get(e,t=n&z.Optional&&t===fn?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(l(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=l(t);if(Array.isArray(t))r=t.map(l).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):l(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(pn,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{mn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(l(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=p(e)))return!1;var r=M(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=M(a)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(o);try{an(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))})}finally{}if(void 0!==c)for(var u=function(e){var t=c[e],n=t.ngModule,r=t.providers;an(r,function(e){return i.processProvider(e,n,r||j)})},l=0;l0){var n=cn(t,"?");throw new Error("Can't resolve all parameters for ".concat(l(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[T]||e[S]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" 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 "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ya(e,t,n){var i,r;if(wa(e)){var a=p(e);return pe(a)||_a(a)}if(Aa(e))i=function(){return p(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(bn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return _n(p(e.useExisting))};else{var o=p(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return pe(o)||_a(o);i=function(){return _construct(o,_toConsumableArray(bn(e.deps)))}}return i}function ba(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Aa(e){return null!==e&&"object"==typeof e&&gn in e}function wa(e){return"function"==typeof e}var ka=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=ma(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},Ma=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?ka(e,t,""):ka(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=fn,e.NULL=new ha,e.\u0275prov=b({token:e,providedIn:"any",factory:function(){return _n(la)}}),e.__NG_ELEMENT_ID__=-1,e}();function Ca(e,t){mt(vi(e)[1],je())}function Ta(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(fe(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var a=e;a.inputs=La(e.inputs),a.declaredInputs=La(e.declaredInputs),a.outputs=La(e.outputs);var o=r.hostBindings;o&&za(e,o);var s=r.viewQuery,c=r.contentQueries;if(s&&Sa(e,s),c&&Ea(e,c),u(e.inputs,r.inputs),u(e.declaredInputs,r.declaredInputs),u(e.outputs,r.outputs),fe(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var h=r.features;if(h)for(var d=0;d=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Tt(r.hostAttrs,n=Tt(n,r.hostAttrs))}}(i)}function La(e){return e===Y?{}:e===j?[]:e}function Sa(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Ea(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function za(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Oa=null;function xa(){if(!Oa){var e=H.Symbol;if(e&&e.iterator)Oa=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:z.Default,n=Be();return null===n?_n(e,t):Yt(je(),n,p(e),t)}function Ua(){throw new Error("invalid")}function Ka(e,t,n){var i=Be();return Ia(i,Je(),t)&&Pr(He(),ft(),i,e,t,i[11],n,!1),Ka}function Za(e,t,n,i,r){var a=r?"class":"style";oa(e,n,t.inputs[a],a,i)}function Ga(e,t,n,i){var r=Be(),a=He(),o=20+e,s=r[11],c=r[o]=Ri(s,t,Ie.lFrame.currentNamespace),u=a.firstCreatePass?function(e,t,n,i,r,a,o){var s=t.consts,c=wr(t,e,2,r,De(s,a));return Nr(t,n,c,De(s,o)),null!==c.attrs&&ca(c,c.attrs,!1),null!==c.mergedAttrs&&ca(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(o,a,r,0,t,n,i):a.data[o];We(u,!0);var l=u.mergedAttrs;null!==l&&kt(s,c,l);var h=u.classes;null!==h&&$i(s,c,h);var d=u.styles;null!==d&&Qi(s,c,d),64!=(64&u.flags)&&Ui(a,r,c,u),0===Ie.lFrame.elementDepthCount&&mi(c,r),Ie.lFrame.elementDepthCount++,de(u)&&(Er(a,r,u),Sr(a,u,r)),null!==i&&zr(r,u)}function Xa(){var e=je();Ue()?Ke():We(e=e.parent,!1);var t=e;Ie.lFrame.elementDepthCount--;var n=He();n.firstCreatePass&&(mt(n,e),le(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Za(n,t,Be(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Za(n,t,Be(),t.stylesWithoutHost,!1)}function Va(e,t,n,i){Ga(e,t,n,i),Xa()}function Ja(e,t,n){var i=Be(),r=He(),a=e+20,o=r.firstCreatePass?function(e,t,n,i,r){var a=t.consts,o=De(a,i),s=wr(t,e,8,"ng-container",o);return null!==o&&ca(s,o,!0),Nr(t,n,s,De(a,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(a,r,i,t,n):r.data[a];We(o,!0);var s=i[a]=i[11].createComment("");Ui(r,i,s,o),mi(s,i),de(o)&&(Er(r,i,o),Sr(r,o,i)),null!=n&&zr(i,o)}function Qa(){var e=je(),t=He();Ue()?Ke():We(e=e.parent,!1),t.firstCreatePass&&(mt(t,e),le(e)&&t.queries.elementEnd(e))}function $a(e,t,n){Ja(e,t,n),Qa()}function eo(){return Be()}function to(e){return!!e&&"function"==typeof e.then}function no(e){return!!e&&"function"==typeof e.subscribe}var io=no;function ro(e,t,n,i){var r=Be(),a=He(),o=je();return oo(a,r,r[11],o,e,t,!!n,i),ro}function ao(e,t){var n=je(),i=Be(),r=He();return oo(r,i,ra(et(r.data),n,i),n,e,t,!1),ao}function oo(e,t,n,i,r,a,o,s){var c=de(i),u=e.firstCreatePass&&ia(e),l=na(t),h=!0;if(3&i.type||s){var d=Se(i,t),f=s?s(d):d,p=l.length,g=s?function(e){return s(Te(e[i.index]))}:i.index;if(Me(n)){var m=null;if(!s&&c&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;ac?s[c]:null}"string"==typeof o&&(a+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=a,m.__ngLastListenerFn__=a,h=!1;else{a=co(i,t,0,a,!1);var v=n.listen(f,r,a);l.push(a,v),u&&u.push(r,g,p,p+1)}}else a=co(i,t,0,a,!0),f.addEventListener(r,a,o),l.push(a),u&&u.push(r,g,p,o)}else a=co(i,t,0,a,!1);var _,y=i.outputs;if(h&&null!==y&&(_=y[r])){var b=_.length;if(b)for(var A=0;A0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Ie.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ie.lFrame.contextLView))[8]}(e)}function lo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Be(),r=He(),a=wr(r,20+e,16,null,n||null);null===a.projection&&(a.projection=t),Ke(),64!=(64&a.flags)&&function(e,t,n){Ji(t[11],0,t,n,qi(e,n,t),Fi(n.parent||t[6],n,t))}(r,i,a)}function po(e,t,n){return go(e,"",t,"",n),po}function go(e,t,n,i,r){var a=Be(),o=Ha(a,t,n,i);return o!==hr&&Pr(He(),ft(),a,e,o,a[11],r,!1),go}function mo(e,t,n,i,r,a,o){var s=Be(),c=Ya(s,t,n,i,r,a);return c!==hr&&Pr(He(),ft(),s,e,c,s[11],o,!1),mo}function vo(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?gr(a):vr(a),c=!1;0!==s&&(!1===c||o);){var u=e[s+1];_o(e[s],t)&&(c=!0,e[s+1]=i?yr(u):mr(u)),s=i?gr(u):vr(u)}c&&(e[n+1]=i?mr(a):yr(a))}function _o(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&hn(e,t)>=0}var yo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function bo(e){return e.substring(yo.key,yo.keyEnd)}function Ao(e,t){var n=yo.textEnd;return n===t?-1:(t=yo.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,yo.key=t,n),wo(e,t,n))}function wo(e,t,n){for(;t=0;n=Ao(t,n))un(e,bo(t),!0)}function Lo(e,t,n,i){var r=Be(),a=He(),o=Qe(2);a.firstUpdatePass&&zo(a,e,o,i),t!==hr&&Ia(r,o,t)&&Ro(a,a.data[ht()],r,r[11],e,r[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=l(Pn(e)))),e}(t,n),i,o)}function So(e,t,n,i){var r=He(),a=Qe(2);r.firstUpdatePass&&zo(r,null,a,i);var o=Be();if(n!==hr&&Ia(o,a,n)){var s=r.data[ht()];if(No(s,i)&&!Eo(r,a)){var c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=h(c,n||"")),Za(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===hr&&(r=j);for(var c=0,u=0,l=0=e.expandoStartIndex}function zo(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[ht()],o=Eo(e,n);No(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=et(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=xo(n=Oo(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Oo(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==vr(i))return e[gr(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[gr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=xo(s=Oo(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i,r=t.directiveEnd,a=1+t.directiveStylingLast;a0)&&(l=!0)}else u=n;if(r)if(0!==c){var d=gr(e[s+1]);e[i+1]=pr(d,s),0!==d&&(e[d+1]=_r(e[d+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=pr(s,0),0!==s&&(e[s+1]=_r(e[s+1],i)),s=i;else e[i+1]=pr(c,0),0===s?s=i:e[c+1]=_r(e[c+1],i),c=i;l&&(e[i+1]=mr(e[i+1])),vo(e,u,i,!0),vo(e,u,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&hn(a,t)>=0&&(n[i+1]=yr(n[i+1]))}(t,u,e,i,a),o=pr(s,c),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function Oo(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var c=e[r],u=Array.isArray(c),l=u?c[1]:c,h=null===l,d=n[r+1];d===hr&&(d=h?j:void 0);var f=h?ln(d,i):l===i?d:void 0;if(u&&!Po(f)&&(f=ln(c,i)),Po(f)&&(o=f,s))return o;var p=e[r+1];r=s?gr(p):vr(p)}if(null!==t){var g=a?t.residualClasses:t.residualStyles;null!=g&&(o=ln(g,i))}return o}function Po(e){return void 0!==e}function No(e,t){return 0!=(e.flags&(t?16:32))}function Io(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Be(),i=He(),r=e+20,a=i.firstCreatePass?wr(i,r,1,t,null):i.data[r],o=n[r]=function(e,t){return Me(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Ui(i,n,o,a),We(a,!1)}function qo(e){return Bo("",e,""),qo}function Bo(e,t,n){var i=Be(),r=Ha(i,e,t,n);return r!==hr&&sa(i,ht(),r),Bo}function Ho(e,t,n,i,r){var a=Be(),o=Ya(a,e,t,n,i,r);return o!==hr&&sa(a,ht(),o),Ho}function Yo(e,t,n,i,r,a,o,s,c,u,l){var h=Be(),d=function(e,t,n,i,r,a,o,s,c,u,l,h){var d=Ve(),f=function(e,t,n,i,r,a){var o=qa(e,t,n,i);return qa(e,t+2,r,a)||o}(e,d,n,r,o,c);return f=Ia(e,d+4,l)||f,Qe(5),f?t+v(n)+i+v(r)+a+v(o)+s+v(c)+u+v(l)+h:hr}(h,e,t,n,i,r,a,o,s,c,u,l);return d!==hr&&sa(h,ht(),d),Yo}function jo(e,t,n){So(un,To,Ha(Be(),e,t,n),!0)}function Fo(e,t,n){var i=Be();return Ia(i,Je(),t)&&Pr(He(),ft(),i,e,t,i[11],n,!0),Fo}function Wo(e,t,n){var i=Be();if(Ia(i,Je(),t)){var r=He(),a=ft();Pr(r,a,i,e,t,ra(et(r.data),a,i),n,!0)}return Wo}var Uo=void 0,Ko=["en",[["a","p"],["AM","PM"],Uo],[["AM","PM"],Uo,Uo],[["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"]],Uo,[["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"]],Uo,[["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}",Uo,"{1} 'at' {0}",Uo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Zo={};function Go(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Vo(t);if(n)return n;var i=t.split("-")[0];if(n=Vo(i))return n;if("en"===i)return Ko;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Xo(e){return Go(e)[Jo.PluralCase]}function Vo(e){return e in Zo||(Zo[e]=H.ng&&H.ng.common&&H.ng.common.locales&&H.ng.common.locales[e]),Zo[e]}var Jo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function Qo(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function $o(e,t,n,i,r){if(e=p(e),Array.isArray(e))for(var a=0;a>20;if(wa(e)||!e.multi){var g=new wt(u,r,Wa),m=ns(c,t,r?h:h+f,d);-1===m?(qt(Dt(l,s),o,c),es(o,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[m]=g,s[m]=g)}else{var v=ns(c,t,h+f,d),_=ns(c,t,h,h+f),y=v>=0&&n[v],b=_>=0&&n[_];if(r&&!b||!r&&!y){qt(Dt(l,s),o,c);var A=function(e,t,n,i,r){var a=new wt(e,n,Wa);return a.multi=[],a.index=t,a.componentProviders=0,ts(a,r,i&&!n),a}(r?rs:is,n.length,r,i,u);!r&&b&&(n[_].providerFactory=A),es(o,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(A),s.push(A)}else es(o,e,v>-1?v:_,ts(n[r?_:v],u,!r&&i));!r&&i&&b&&n[_].componentProviders++}}}function es(e,t,n,i){var r=wa(t);if(r||t.useClass){var a=(t.useClass||t).prototype.ngOnDestroy;if(a){var o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function ts(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ns(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=He();if(i.firstCreatePass){var r=fe(e);$o(n,i.data,i.blueprint,r,!0),$o(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var ss=function e(){_classCallCheck(this,e)},cs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(l(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),us=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new cs,e}();function ls(){}function hs(e,t){return new fs(Se(e,t))}var ds=function(){return hs(je(),Be())},fs=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=ds,e}();function ps(e){return e instanceof fs?e.nativeElement:e}var gs=function e(){_classCallCheck(this,e)},ms=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return vs()},e}(),vs=function(){var e=Be(),t=Oe(je().index,e);return function(e){return e[11]}(ce(t)?t:e)},_s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=b({token:e,providedIn:"root",factory:function(){return null}}),e}(),ys=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},bs=new ys("12.0.5"),As=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Da(e)}},{key:"create",value:function(e){return new ks(e)}}]),e}(),ws=function(e,t){return t},ks=function(){function e(t){_classCallCheck(this,e),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=t||ws}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=t[n.index];if(null!==a&&i.push(Te(a)),ue(a))for(var o=10;o-1&&(Pi(e,n),sn(t,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Rr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Jr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Qr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Ge(!0);try{Qr(e,t,n)}finally{Ge(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Vi(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Is=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._view=e,i}return _createClass(n,[{key:"detectChanges",value:function(){$r(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Ge(!0);try{$r(e)}finally{Ge(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Ns),qs=function(e){return function(e,t,n){if(he(e)&&!n){var i=Oe(e.index,t);return new Ns(i,i)}return 47&e.type?new Ns(t[16],t):null}(je(),Be(),16==(16&e))},Bs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=qs,e}(),Hs=[new Ss],Ys=new xs([new As]),js=new Ds(Hs),Fs=function(){return Ks(je(),Be())},Ws=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Fs,e}(),Us=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._declarationLView=e,a._declarationTContainer=i,a.elementRef=r,a}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ar(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Mr(t,n,e),new Ns(n)}}]),n}(Ws);function Ks(e,t){return 4&e.type?new Us(t,e,hs(e,t)):null}var Zs=function e(){_classCallCheck(this,e)},Gs=function e(){_classCallCheck(this,e)},Xs=function(){return ec(je(),Be())},Vs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Xs,e}(),Js=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._lContainer=e,a._hostTNode=i,a._hostLView=r,a}return _createClass(n,[{key:"element",get:function(){return hs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Xt(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=It(this._hostTNode,this._hostLView);if(St(e)){var t=zt(e,this._hostLView),n=Et(e);return new Xt(t[1].data[n+8],t)}return new Xt(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=Qs(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(Zs,null);o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(ue(i[3])){var a=this.indexOf(e);if(-1!==a)this.detach(a);else{var o=i[3],s=new n(o,o[6],o[3]);s.detach(s.indexOf(e))}}var c=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(Vs);function Qs(e){return e[8]}function $s(e){return e[8]||(e[8]=[])}function ec(e,t){var n,i=t[e.index];if(ue(i))n=i;else{var r;if(8&e.type)r=Te(i);else{var a=t[11];r=a.createComment("");var o=Se(e,t);Bi(a,ji(a,o),r,function(e,t){return Me(e)?e.nextSibling(t):t.nextSibling}(a,o),!1)}t[e.index]=n=Kr(i,t,r,e),Vr(t,n)}return new Js(n,e,t)}var tc={},nc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).ngModule=e,i}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=oe(e);return new ac(t,this.ngModule)}}]),n}(us);function ic(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var rc=new en("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return wi}}),ac=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(lr).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _createClass(n,[{key:"inputs",get:function(){return ic(this.componentDef.inputs)}},{key:"outputs",get:function(){return ic(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,a,o=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var a=e.get(n,tc,r);return a!==tc||i===tc?a:t.get(n,i,r)}}}(e,i.injector):e,s=o.get(gs,Ce),c=o.get(_s,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Me(e))return e.selectRootElement(t,n===P.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(u,n,this.componentDef.encapsulation):Ri(s.createRenderer(null,this.componentDef),l,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f={components:[],scheduler:wi,clean:ta,playerHandler:null,flags:0},p=xr(0,null,null,1,0,null,null,null,null,null),g=Ar(null,p,f,d,null,null,s,u,c,o);at(g);try{var m=function(e,t,n,i,r,a){var o=n[1];n[20]=e;var s=wr(o,20,2,"#host",null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(ca(s,c,!0),null!==e&&(kt(r,e,c),null!==s.classes&&$i(r,e,s.classes),null!==s.styles&&Qi(r,e,s.styles)));var u=i.createRenderer(e,t),l=Ar(n,Or(t),null,t.onPush?64:16,n[20],s,i,u,null,null);return o.firstCreatePass&&(qt(Dt(s,n),o,t.type),Br(o,s),Yr(s,n.length,1)),Vr(n,l),n[20]=l}(h,this.componentDef,g,s,u);if(h)if(n)kt(u,h,["ng-version",bs.full]);else{var v=function(e){for(var t=[],n=[],i=1,r=2;i0&&$i(u,h,y.join(" "))}if(a=Ee(p,20),void 0!==t)for(var b=a.projection=[],A=0;A1&&void 0!==arguments[1]?arguments[1]:Ma.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.Default;return e===Ma||e===Zs||e===la?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Zs),uc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r,a;return _classCallCheck(this,n),(i=t.call(this)).moduleType=e,null!==se(e)&&(r=e,a=new Set,function e(t){var n=se(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(l(t)," vs ").concat(l(t.name)))}(i,sc.get(i),t),sc.set(i,t));var r,o=_createForOfIteratorHelper(Ci(n.imports));try{for(o.s();!(r=o.n()).done;){var s=r.value;a.has(s)||(a.add(s),e(s))}}catch(c){o.e(c)}finally{o.f()}}(r)),i}return _createClass(n,[{key:"create",value:function(e){return new cc(this.moduleType,e)}}]),n}(Gs);function lc(e,t,n){var i=Xe()+e,r=Be();return r[i]===hr?Na(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function hc(e,t,n,i){return pc(Be(),Xe(),e,t,n,i)}function dc(e,t,n,i,r){return gc(Be(),Xe(),e,t,n,i,r)}function fc(e,t){var n=e[t];return n===hr?void 0:n}function pc(e,t,n,i,r,a){var o=t+n;return Ia(e,o,r)?Na(e,o+1,a?i.call(a,r):i(r)):fc(e,o+1)}function gc(e,t,n,i,r,a,o){var s=t+n;return qa(e,s,r,a)?Na(e,s+2,o?i.call(o,r,a):i(r,a)):fc(e,s+2)}function mc(e,t){var n,i=He(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new m("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=pe(n.type)),o=O(Wa);try{var s=xt(!1),c=a();return xt(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,Be(),r,c),c}finally{O(o)}}function vc(e,t,n){var i=e+20,r=Be(),a=ze(r,i);return Ac(r,bc(r,i)?pc(r,Xe(),t,a.transform,n,a):a.transform(n))}function _c(e,t,n,i){var r=e+20,a=Be(),o=ze(a,r);return Ac(a,bc(a,r)?gc(a,Xe(),t,o.transform,n,i,o):o.transform(n,i))}function yc(e,t,n,i,r){var a=e+20,o=Be(),s=ze(o,a);return Ac(o,bc(o,a)?function(e,t,n,i,r,a,o,s){var c=t+n;return function(e,t,n,i,r){var a=qa(e,t,n,i);return Ia(e,t+2,r)||a}(e,c,r,a,o)?Na(e,c+3,s?i.call(s,r,a,o):i(r,a,o)):fc(e,c+3)}(o,Xe(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function bc(e,t){return e[1].data[t].pure}function Ac(e,t){return Ra.isWrapped(t)&&(t=Ra.unwrap(t),e[Ve()]=hr),t}function wc(e){return function(t){setTimeout(e,void 0,t)}}var kc=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=i,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var a,o,s,c=e,u=t||function(){return null},l=i;if(e&&"object"==typeof e){var h=e;c=null===(a=h.next)||void 0===a?void 0:a.bind(h),u=null===(o=h.error)||void 0===o?void 0:o.bind(h),l=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(u=wc(u),c&&(c=wc(c)),l&&(l=wc(l)));var d=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,{next:c,error:u,complete:l});return e instanceof r.w&&e.add(d),d}}]),n}(i.xQ);function Mc(){return this._results[xa()]()}var Cc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=xa(),i=e.prototype;i[n]||(i[n]=Mc)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new kc)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=rn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=n,this.read=i},Ec=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(o[s/2]);else{for(var u=a[s+1],l=t[-c],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_n(lu))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),_u=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Au.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Au.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function yu(e){Au=e}var bu,Au=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),wu=!0,ku=!1;function Mu(){return ku=!0,wu}function Cu(){if(ku)throw new Error("Cannot enable prod mode after platform setup.");wu=!1}var Tu=new en("AllowMultipleToken"),Lu=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Su(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new en(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Eu();if(!a||a.injector.get(Tu,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:da,useValue:"platform"});!function(e){if(bu&&!bu.destroyed&&!bu.injector.get(Tu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");bu=e.get(zu);var t=e.get(Gc,null);t&&t.forEach(function(e){return e()})}(Ma.create({providers:o,name:i}))}return function(e){var t=Eu();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Eu(){return bu&&!bu.destroyed?bu:null}var zu=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new mu:("zone.js"===n?void 0:n)||new lu({enableLongStackTrace:Mu(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),o=[{provide:lu,useValue:a}];return a.run(function(){var t=Ma.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Ai,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(function(){var e=a.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){Ru(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var a=((o=n.injector.get(Wc)).runInitializers(),o.donePromise.then(function(){return Qo(n.injector.get(Qc,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return to(a)?a.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):a}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var o}(i,a)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Ou({},n);return function(e,t,n){var i=new uc(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(xu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(l(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_n(Ma))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Ou(e,t){return Array.isArray(t)?t.reduce(Ou,e):Object.assign(Object.assign({},e),t)}var xu=function(){var e=function(){function e(t,n,i,r,c){var u=this;_classCallCheck(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var l=new a.y(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),h=new a.y(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){lu.assertNotInAngularZone(),uu(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){lu.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,h.pipe((0,s.B)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof ss?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(Zs),a=n.create(Ma.NULL,[],t||n.selector,r),o=a.location.nativeElement,s=a.injector.get(vu,null),c=s&&a.injector.get(_u);return s&&c&&c.registerApplication(o,s),a.onDestroy(function(){i.detachView(a.hostView),Ru(i.components,a),c&&c.unregisterApplication(o)}),this._loadComponent(a),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Ru(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Vc,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_n(lu),_n(Ma),_n(Ai),_n(us),_n(Wc))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Ru(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Du=function e(){_classCallCheck(this,e)},Pu=function e(){_classCallCheck(this,e)},Nu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Iu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||Nu}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n(1730)(r).then(function(e){return e[a]}).then(function(e){return qu(e,r,a)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],a="NgFactory";return void 0===r&&(r="default",a=""),n(1730)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+a]}).then(function(e){return qu(e,i,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_n(su),_n(Pu,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function qu(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Bu=function(e){return null},Hu=Su(null,"core",[{provide:Xc,useValue:"unknown"},{provide:zu,deps:[Ma]},{provide:_u,deps:[]},{provide:Jc,deps:[]}]),Yu=[{provide:xu,useClass:xu,deps:[lu,Ma,Ai,us,Wc]},{provide:rc,deps:[lu],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Wc,useClass:Wc,deps:[[new Cn,Fc]]},{provide:su,useClass:su,deps:[]},Kc,{provide:xs,useFactory:function(){return Ys},deps:[]},{provide:Ds,useFactory:function(){return js},deps:[]},{provide:Qc,useFactory:function(e){return Qo(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Mn(Qc),new Cn,new Tn]]},{provide:$c,useValue:"USD"}],ju=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(_n(xu))},e.\u0275mod=te({type:e}),e.\u0275inj=A({providers:Yu}),e}()},2623:function _(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{zr:function(){return OAuthModule},Ct:function(){return OAuthService}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1572),_angular_common__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(1511),_angular_common_http__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9063),tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7632),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5959),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(878),rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9764),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3875),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(1225),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1305),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1906),rxjs_operators__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3835),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(6599),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7701),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(509),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4689),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9996),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3530),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(7727),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9085),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(611),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(3982);module=__webpack_require__.hmd(module);var DateTimeProvider=function e(){_classCallCheck(this,e)},SystemDateTimeProvider=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"now",value:function(){return Date.now()}},{key:"new",value:function(){return new Date}}]),n}(DateTimeProvider);return t.\u0275fac=function(n){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(n||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t}(),LoginOptions=function e(){_classCallCheck(this,e),this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1},OAuthLogger=function e(){_classCallCheck(this,e)},OAuthStorage=function e(){_classCallCheck(this,e)},MemoryStorage=function(){var e=function(){function e(){_classCallCheck(this,e),this.data=new Map}return _createClass(e,[{key:"getItem",value:function(e){return this.data.get(e)}},{key:"removeItem",value:function(e){this.data.delete(e)}},{key:"setItem",value:function(e,t){this.data.set(e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),ReceivedTokens=function e(){_classCallCheck(this,e)};function b64DecodeUnicode(e){var t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var ValidationHandler=function e(){_classCallCheck(this,e)},AbstractValidationHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateAtHash",value:function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.inferHashAlgorithm(e.idTokenHeader),t.next=3,this.calcHash(e.accessToken,n);case 3:return i=t.sent,r=base64UrlEncode(i.substr(0,i.length/2)),a=e.idTokenClaims.at_hash.replace(/=/g,""),t.abrupt("return",(r!==a&&(console.error("exptected at_hash: "+r),console.error("actual at_hash: "+a)),r===a));case 7:case"end":return t.stop()}},t,this)}))}},{key:"inferHashAlgorithm",value:function(e){var t=e.alg;if(!t.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+t);return"sha-"+t.substr(2)}}]),e}(),UrlHelperService=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getHashFragmentParams",value:function(e){var t=e||window.location.hash;if(0!==(t=decodeURIComponent(t)).indexOf("#"))return{};var n=t.indexOf("?");return t=t.substr(n>-1?n+1:1),this.parseQueryString(t)}},{key:"parseQueryString",value:function(e){var t,n,i,r,a,o,s,c={};if(null===e)return c;t=e.split("&");for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:null;return _classCallCheck(this,n),(i=t.call(this,e)).info=r,i}return n}(OAuthEvent),OAuthInfoEvent=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _classCallCheck(this,n),(i=t.call(this,e)).info=r,i}return n}(OAuthEvent),OAuthErrorEvent=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return _classCallCheck(this,n),(r=t.call(this,e)).reason=i,r.params=a,r}return n}(OAuthEvent),AuthConfig=function e(t){_classCallCheck(this,e),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.openUri=function(e){location.href=e},t&&Object.assign(this,t)},WebHttpUrlEncodingCodec=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return encodeURIComponent(e)}},{key:"encodeValue",value:function(e){return encodeURIComponent(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD="function"==typeof define&&__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},\u02750=createOutputMethod,createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n>6,o[c++]=128|63&a):a<55296||a>=57344?(o[c++]=224|a>>12,o[c++]=128|a>>6&63,o[c++]=128|63&a):(a=65536+((1023&a)<<10|1023&e.charCodeAt(++i)),o[c++]=240|a>>18,o[c++]=128|a>>12&63,o[c++]=128|a>>6&63,o[c++]=128|63&a);e=o}else{if("object"!==r)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var u=[],l=[];for(i=0;i<64;++i){var h=e[i]||0;u[i]=92^h,l[i]=54^h}Sha256.call(this,t,n),this.update(l),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var i,r,a=0,o=e.length,s=this.blocks;a>2]|=e[a]<>2]|=i<>2]|=(192|i>>6)<>2]|=(128|63&i)<=57344?(s[r>>2]|=(224|i>>12)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<>2]|=(240|i>>18)<>2]|=(128|i>>12&63)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<=64?(this.block=s[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}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 e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,i,r,a,o=this.h0,s=this.h1,c=this.h2,u=this.h3,l=this.h4,h=this.h5,d=this.h6,f=this.h7,p=this.blocks;for(e=16;e<64;++e)p[e]=p[e-16]+(((t=p[e-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+p[e-7]+(((t=p[e-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)<<0;for(a=s&c,e=0;e<64;e+=4)this.first?(this.is224?(n=300032,f=(t=p[0]-1413257819)-150054599<<0,u=t+24177077<<0):(n=704751109,f=(t=p[0]-210244248)-1521486534<<0,u=t+143694565<<0),this.first=!1):(f=u+(t=f+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&h^~l&d)+K[e]+p[e])<<0,u=t+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&s)^o&c^a))<<0),d=c+(t=d+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&l^~f&h)+K[e+1]+p[e+1])<<0,c=t+(((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((i=u&o)^u&s^n))<<0,h=s+(t=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&f^~d&l)+K[e+2]+p[e+2])<<0,s=t+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((r=c&u)^c&o^i))<<0,l=o+(t=l+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&f)+K[e+3]+p[e+3])<<0,o=t+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((a=s&c)^s&u^r))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+s<<0,this.h2=this.h2+c<<0,this.h3=this.h3+u<<0,this.h4=this.h4+l<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+f<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,a=this.h5,o=this.h6,s=this.h7,c=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[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[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[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[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]+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||(c+=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]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,a=this.h5,o=this.h6,s=this.h7,c=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,a>>24&255,a>>16&255,a>>8&255,255&a,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||c.push(s>>24&255,s>>16&255,s>>8&255,255&s),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0);var HashHandler=function e(){_classCallCheck(this,e)},DefaultHashHandler=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"calcHash",value:function(e,t){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=exports.array(e),t.abrupt("return",this.toHashString2(n));case 2:case"end":return t.stop()}},t,this)}))}},{key:"toHashString2",value:function(e){var t,n="",i=_createForOfIteratorHelper(e);try{for(i.s();!(t=i.n()).done;){var r=t.value;n+=String.fromCharCode(r)}}catch(err){i.e(err)}finally{i.f()}return n}},{key:"toHashString",value:function(e){var t,n="",i=_createForOfIteratorHelper(new Uint8Array(e));try{for(i.s();!(t=i.n()).done;){var r=t.value;n+=String.fromCharCode(r)}}catch(err){i.e(err)}finally{i.f()}return n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),OAuthService=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u,l,h){var d,f;_classCallCheck(this,n),(d=t.call(this)).ngZone=e,d.http=i,d.config=o,d.urlHelper=s,d.logger=c,d.crypto=u,d.dateTimeService=h,d.discoveryDocumentLoaded=!1,d.state="",d.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,d.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_2__.xQ,d.grantTypesSupported=[],d.inImplicitFlow=!1,d.saveNoncesInLocalStorage=!1,d.debug("angular-oauth2-oidc v10"),d.document=l,o||(o={}),d.discoveryDocumentLoaded$=d.discoveryDocumentLoadedSubject.asObservable(),d.events=d.eventsSubject.asObservable(),a&&(d.tokenValidationHandler=a),o&&d.configure(o);try{r?d.setStorage(r):"undefined"!=typeof sessionStorage&&d.setStorage(sessionStorage)}catch(g){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",g)}if("undefined"!=typeof window&&void 0!==window.localStorage){var p=null===(f=null===window||void 0===window?void 0:window.navigator)||void 0===f?void 0:f.userAgent;((null==p?void 0:p.includes("MSIE "))||(null==p?void 0:p.includes("Trident")))&&(d.saveNoncesInLocalStorage=!0)}return d.setupRefreshTimer(),d}return _createClass(n,[{key:"configure",value:function(e){Object.assign(this,new AuthConfig,e),this.config=Object.assign({},new AuthConfig,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}},{key:"configChanged",value:function(){this.setupRefreshTimer()}},{key:"restartSessionChecksIfStillLoggedIn",value:function(){this.hasValidIdToken()&&this.initSessionCheck()}},{key:"restartRefreshTimerIfStillLoggedIn",value:function(){this.setupExpirationTimers()}},{key:"setupSessionCheck",value:function(){var e=this;this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type})).subscribe(function(t){e.initSessionCheck()})}},{key:"setupAutomaticSilentRefresh",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.b)(function(e){"token_received"===e.type?r=!0:"logout"===e.type&&(r=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_expires"===e.type&&(null==n||"any"===n||e.info===n)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(1e3)).subscribe(function(n){r&&e.refreshInternal(t,i).catch(function(t){e.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}},{key:"refreshInternal",value:function(e,t){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(e,t):this.refreshToken()}},{key:"loadDiscoveryDocumentAndTryLogin",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.loadDiscoveryDocument().then(function(n){return e.tryLogin(t)})}},{key:"loadDiscoveryDocumentAndLogin",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.loadDiscoveryDocumentAndTryLogin(t=t||{}).then(function(n){return!(!e.hasValidIdToken()||!e.hasValidAccessToken())||(e.initLoginFlow("string"==typeof t.state?t.state:""),!1)})}},{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;return new Promise(function(n,i){t||((t=e.issuer||"").endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),e.validateUrlForHttps(t)?e.http.get(t).subscribe(function(t){if(!e.validateDiscoveryDocument(t))return e.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");e.loginUrl=t.authorization_endpoint,e.logoutUrl=t.end_session_endpoint||e.logoutUrl,e.grantTypesSupported=t.grant_types_supported,e.issuer=t.issuer,e.tokenEndpoint=t.token_endpoint,e.userinfoEndpoint=t.userinfo_endpoint||e.userinfoEndpoint,e.jwksUri=t.jwks_uri,e.sessionCheckIFrameUrl=t.check_session_iframe||e.sessionCheckIFrameUrl,e.discoveryDocumentLoaded=!0,e.discoveryDocumentLoadedSubject.next(t),e.revocationEndpoint=t.revocation_endpoint||e.revocationEndpoint,e.sessionChecksEnabled&&e.restartSessionChecksIfStillLoggedIn(),e.loadJwks().then(function(i){var r=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:t,jwks:i});e.eventsSubject.next(r),n(r)}).catch(function(t){e.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)})},function(t){e.logger.error("error loading discovery document",t),e.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",t)),i(t)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}},{key:"loadJwks",value:function(){var e=this;return new Promise(function(t,n){e.jwksUri?e.http.get(e.jwksUri).subscribe(function(n){e.jwks=n,e.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),t(n)},function(t){e.logger.error("error loading jwks",t),e.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",t)),n(t)}):t(null)})}},{key:"validateDiscoveryDocument",value:function(e){var t;return this.skipIssuerCheck||e.issuer===this.issuer?(t=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint)).length>0?(this.logger.error("error validating authorization_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint)).length>0?(this.logger.error("error validating end_session_endpoint in discovery document",t),!1):((t=this.validateUrlFromDiscoveryDocument(e.token_endpoint)).length>0&&this.logger.error("error validating token_endpoint in discovery document",t),(t=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint)).length>0&&this.logger.error("error validating revocation_endpoint in discovery document",t),(t=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint)).length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.jwks_uri)).length>0?(this.logger.error("error validating jwks_uri in discovery document",t),!1):(this.sessionChecksEnabled&&!e.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: "+e.issuer),!1)}},{key:"fetchTokenUsingPasswordFlowAndLoadUserProfile",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;return this.fetchTokenUsingPasswordFlow(e,t,i).then(function(){return n.loadUserProfile()})}},{key:"loadUserProfile",value:function(){var e=this;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(function(t,n){var i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Authorization","Bearer "+e.getAccessToken());e.http.get(e.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(function(i){if(e.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){var r=JSON.parse(i.body),a=e.getIdentityClaims()||{};if(!e.skipSubjectCheck&&e.oidc&&(!a.sub||r.sub!==a.sub))return void n("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");r=Object.assign({},a,r),e._storage.setItem("id_token_claims_obj",JSON.stringify(r)),e.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t({info:r})}else e.debug("userinfo is not JSON, treating it as JWE/JWS"),e.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),t(JSON.parse(i.body))},function(t){e.logger.error("error loading user info",t),e.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",t)),n(t)})})}},{key:"fetchTokenUsingPasswordFlow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;return this.fetchTokenUsingGrant("password",{username:e,password:t},n)}},{key:"fetchTokenUsingGrant",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM;this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");var r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",e).set("scope",this.scope);if(this.useHttpBasicAuth){var a=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));i=i.set("Authorization","Basic "+a)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams){var o,s=_createForOfIteratorHelper(Object.getOwnPropertyNames(this.customQueryParams));try{for(s.s();!(o=s.n()).done;){var c=o.value;r=r.set(c,this.customQueryParams[c])}}catch(err){s.e(err)}finally{s.f()}}for(var u=0,l=Object.keys(t);u0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],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");var r=this.document.getElementById(this.silentRefreshIFrameName);r&&this.document.body.removeChild(r),this.silentRefreshSubject=i.sub;var a=this.document.createElement("iframe");a.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,n,t).then(function(t){a.setAttribute("src",t),e.silentRefreshShowIFrame||(a.style.display="none"),e.document.body.appendChild(a)});var o=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return e instanceof OAuthErrorEvent}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()),c=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.S3)([o,s,c]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(function(t){if(t instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===t.type||(t=new OAuthErrorEvent("silent_refresh_error",t)),e.eventsSubject.next(t),t;return"token_received"===t.type&&(t=new OAuthSuccessEvent("silently_refreshed"),e.eventsSubject.next(t)),t})).toPromise()}},{key:"initImplicitFlowInPopup",value:function(e){return this.initLoginFlowInPopup(e)}},{key:"initLoginFlowInPopup",value:function(e){var t=this;return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(function(n){return new Promise(function(i,r){var a,o=null;e.windowRef?e.windowRef&&!e.windowRef.closed&&((o=e.windowRef).location.href=n):o=window.open(n,"ngx-oauth2-oidc-login",t.calculatePopupFeatures(e));var s=function(e){t.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:t.silentRefreshRedirectUri}).then(function(){c(),i(!0)},function(e){c(),r(e)})};o?a=window.setInterval(function(){o&&!o.closed||(c(),r(new OAuthErrorEvent("popup_closed",{})))},500):r(new OAuthErrorEvent("popup_blocked",{}));var c=function(){window.clearInterval(a),window.removeEventListener("storage",l),window.removeEventListener("message",u),null!==o&&o.close(),o=null},u=function(e){var n=t.processMessageEventMessage(e);n&&null!==n?(window.removeEventListener("storage",l),s(n)):console.log("false event firing")},l=function(e){"auth_hash"===e.key&&(window.removeEventListener("message",u),s(e.newValue))};window.addEventListener("message",u),window.addEventListener("storage",l)})})}},{key:"calculatePopupFeatures",value:function(e){var t=e.height||470,n=e.width||500,i=window.screenLeft+(window.outerWidth-n)/2;return"location=no,toolbar=no,width=".concat(n,",height=").concat(t,",top=").concat(window.screenTop+(window.outerHeight-t)/2,",left=").concat(i)}},{key:"processMessageEventMessage",value:function(e){var t="#";if(this.silentRefreshMessagePrefix&&(t+=this.silentRefreshMessagePrefix),e&&e.data&&"string"==typeof e.data){var n=e.data;return n.startsWith(t)?"#"+n.substr(t.length):void 0}}},{key:"canPerformSessionCheck",value:function(){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))}},{key:"setupSessionCheckEventListener",value:function(){var e=this;this.removeSessionCheckEventListener(),this.sessionCheckEventListener=function(t){var n=t.origin.toLowerCase(),i=e.issuer.toLowerCase();if(e.debug("sessionCheckEventListener"),i.startsWith(n)){switch(t.data){case"unchanged":e.ngZone.run(function(){e.handleSessionUnchanged()});break;case"changed":e.ngZone.run(function(){e.handleSessionChange()});break;case"error":e.ngZone.run(function(){e.handleSessionError()})}e.debug("got info from session check inframe",t)}else e.debug("sessionCheckEventListener","wrong origin",n,"expected",i,"event",t)},this.ngZone.runOutsideAngular(function(){window.addEventListener("message",e.sessionCheckEventListener)})}},{key:"handleSessionUnchanged",value:function(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}},{key:"handleSessionChange",value:function(){var e=this;this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(function(t){return e.debug("silent refresh failed after session changed")}),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(function(t){e.debug("token refresh after session change worked")}).catch(function(t){e.debug("token refresh did not work after session changed"),e.eventsSubject.next(new OAuthInfoEvent("session_terminated")),e.logOut(!0)})}},{key:"waitForSilentRefreshAfterSessionChange",value:function(){var e=this;this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"silently_refreshed"===e.type||"silent_refresh_timeout"===e.type||"silent_refresh_error"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.P)()).subscribe(function(t){"silently_refreshed"!==t.type&&(e.debug("silent refresh did not work after session changed"),e.eventsSubject.next(new OAuthInfoEvent("session_terminated")),e.logOut(!0))})}},{key:"handleSessionError",value:function(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}},{key:"removeSessionCheckEventListener",value:function(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}},{key:"initSessionCheck",value:function(){if(this.canPerformSessionCheck()){var e=this.document.getElementById(this.sessionCheckIFrameName);e&&this.document.body.removeChild(e);var 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()}}},{key:"startSessionCheckTimer",value:function(){var e=this;this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(function(){e.sessionCheckTimer=setInterval(e.checkSession.bind(e),e.sessionCheckIntervall)})}},{key:"stopSessionCheckTimer",value:function(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}},{key:"checkSession",value:function(){var e=this.document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);var t=this.getSessionState();t||this.stopSessionCheckTimer(),e.contentWindow.postMessage(this.clientId+" "+t,this.issuer)}},{key:"createLoginUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function a(){var o,s,c,u,l,h,d,f,p,g,m,v,_,y,b;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return o=n||this.redirectUri,a.next=3,this.createAndSaveNonce();case 3:if(s=a.sent,e=e?s+this.config.nonceStateSeparator+encodeURIComponent(e):s,this.requestAccessToken||this.oidc){a.next=6;break}throw new Error("Either requestAccessToken or oidc or both must be true");case 6:if(this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token",c=this.loginUrl.indexOf("?")>-1?"&":"?",u=this.scope,this.oidc&&!u.match(/(^|\s)openid($|\s)/)&&(u="openid "+u),l=this.loginUrl+c+"response_type="+encodeURIComponent(this.responseType)+"&client_id="+encodeURIComponent(this.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(o)+"&scope="+encodeURIComponent(u),!this.responseType.includes("code")||this.disablePKCE){a.next=19;break}return a.next=14,this.createChallangeVerifierPairForPKCE();case 14:h=a.sent,d=_slicedToArray(h,2),f=d[0],p=d[1],this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",p):this._storage.setItem("PKCE_verifier",p),l+="&code_challenge="+f,l+="&code_challenge_method=S256";case 19:for(t&&(l+="&login_hint="+encodeURIComponent(t)),this.resource&&(l+="&resource="+encodeURIComponent(this.resource)),this.oidc&&(l+="&nonce="+encodeURIComponent(s)),i&&(l+="&prompt=none"),g=0,m=Object.keys(r);g0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!this.inImplicitFlow){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).");var i={},r=null;"string"==typeof n?r=n:"object"==typeof n&&(i=n),this.createLoginUrl(t,r,null,!1,i).then(this.config.openUri).catch(function(t){console.error("Error in initImplicitFlow",t),e.inImplicitFlow=!1})}}},{key:"initImplicitFlow",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";""!==this.loginUrl?this.initImplicitFlowInternal(t,n):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"discovery_document_loaded"===e.type})).subscribe(function(i){return e.initImplicitFlowInternal(t,n)})}},{key:"resetImplicitFlow",value:function(){this.inImplicitFlow=!1}},{key:"callOnTokenReceivedIfExists",value:function(e){var t=this;if(e.onTokenReceived){var n={idClaims:t.getIdentityClaims(),idToken:t.getIdToken(),accessToken:t.getAccessToken(),state:t.state};e.onTokenReceived(n)}}},{key:"storeAccessTokenResponse",value:function(e,t,n,i,r){var a=this;if(this._storage.setItem("access_token",e),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()),n){var o=1e3*n,s=this.dateTimeService.new().getTime()+o;this._storage.setItem("expires_at",""+s)}t&&this._storage.setItem("refresh_token",t),r&&r.forEach(function(e,t){a._storage.setItem(t,e)})}},{key:"tryLogin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"code"===this.config.responseType?this.tryLoginCodeFlow(e).then(function(e){return!0}):this.tryLoginImplicitFlow(e)}},{key:"parseQueryString",value:function(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):{}}},{key:"tryLoginCodeFlow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(e=e||{}).customHashFragment?e.customHashFragment.substring(1):window.location.search,n=this.getCodePartsFromUrl(t),i=n.code,r=n.state,a=n.session_state;if(!e.preventClearHashAfterLogin){var o=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,o)}var s=this.parseState(r),c=_slicedToArray(s,2),u=c[0],l=c[1];if(this.state=l,n.error){this.debug("error trying to login"),this.handleLoginError(e,n);var h=new OAuthErrorEvent("code_error",{},n);return this.eventsSubject.next(h),Promise.reject(h)}if(!e.disableNonceCheck){if(!u)return Promise.resolve();if(!e.disableOAuth2StateCheck&&!this.validateNonce(u)){var d=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(d),Promise.reject(d)}return this.storeSessionState(a),i?this.getTokenFromCode(i,e).then(function(e){return null}):Promise.resolve()}}},{key:"getCodePartsFromUrl",value:function(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):this.urlHelper.getHashFragmentParams()}},{key:"getTokenFromCode",value:function(e,t){var n,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",e).set("redirect_uri",t.customRedirectUri||this.redirectUri);this.disablePKCE||((n=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"))?i=i.set("code_verifier",n):console.warn("No PKCE verifier found in oauth storage!"));return this.fetchAndProcessToken(i,t)}},{key:"fetchAndProcessToken",value:function(e,t){var n=this;t=t||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");var i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){var r=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));i=i.set("Authorization","Basic "+r)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise(function(r,a){if(n.customQueryParams){var o,s=_createForOfIteratorHelper(Object.getOwnPropertyNames(n.customQueryParams));try{for(s.s();!(o=s.n()).done;){var c=o.value;e=e.set(c,n.customQueryParams[c])}}catch(err){s.e(err)}finally{s.f()}}n.http.post(n.tokenEndpoint,e,{headers:i}).subscribe(function(e){n.debug("refresh tokenResponse",e),n.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||n.fallbackAccessTokenExpirationTimeInSec,e.scope,n.extractRecognizedCustomParameters(e)),n.oidc&&e.id_token?n.processIdToken(e.id_token,e.access_token,t.disableNonceCheck).then(function(t){n.storeIdToken(t),n.eventsSubject.next(new OAuthSuccessEvent("token_received")),n.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),r(e)}).catch(function(e){n.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),console.error("Error validating tokens"),console.error(e),a(e)}):(n.eventsSubject.next(new OAuthSuccessEvent("token_received")),n.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),r(e))},function(e){console.error("Error getting token",e),n.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",e)),a(e)})})}},{key:"tryLoginImplicitFlow",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e=(n=n||{}).customHashFragment?this.urlHelper.getHashFragmentParams(n.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);var i=e.state,r=this.parseState(i),a=_slicedToArray(r,2),o=a[0],s=a[1];if(this.state=s,e.error){this.debug("error trying to login"),this.handleLoginError(n,e);var c=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(c),Promise.reject(c)}var u=e.access_token,l=e.id_token,h=e.session_state,d=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!u)return Promise.resolve(!1);if(this.requestAccessToken&&!n.disableOAuth2StateCheck&&!i)return Promise.resolve(!1);if(this.oidc&&!l)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!h&&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&&!n.disableNonceCheck&&!this.validateNonce(o)){var f=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(f),Promise.reject(f)}return this.requestAccessToken&&this.storeAccessTokenResponse(u,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,d),this.oidc?this.processIdToken(l,u,n.disableNonceCheck).then(function(e){return n.validationHandler?n.validationHandler({accessToken:u,idClaims:e.idTokenClaims,idToken:e.idToken,state:i}).then(function(t){return e}):e}).then(function(e){return t.storeIdToken(e),t.storeSessionState(h),t.clearHashAfterLogin&&!n.preventClearHashAfterLogin&&t.clearLocationHash(),t.eventsSubject.next(new OAuthSuccessEvent("token_received")),t.callOnTokenReceivedIfExists(n),t.inImplicitFlow=!1,!0}).catch(function(e){return t.eventsSubject.next(new OAuthErrorEvent("token_validation_error",e)),t.logger.error("Error validating tokens"),t.logger.error(e),Promise.reject(e)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!n.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(n),Promise.resolve(!0))}},{key:"parseState",value:function(e){var t=e,n="";if(e){var i=e.indexOf(this.config.nonceStateSeparator);i>-1&&(t=e.substr(0,i),n=e.substr(i+this.config.nonceStateSeparator.length))}return[t,n]}},{key:"validateNonce",value:function(e){var t;return(t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"))===e||(console.error("Validating access_token failed, wrong state/nonce.",t,e),!1)}},{key:"storeIdToken",value:function(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}},{key:"storeSessionState",value:function(e){this._storage.setItem("session_state",e)}},{key:"getSessionState",value:function(){return this._storage.getItem("session_state")}},{key:"handleLoginError",value:function(e,t){e.onLoginError&&e.onLoginError(t),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&this.clearLocationHash()}},{key:"getClockSkewInMsec",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6e5;return this.clockSkewInSec?1e3*this.clockSkewInSec:e}},{key:"processIdToken",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.split("."),o=b64DecodeUnicode(this.padBase64(a[0])),s=JSON.parse(o),c=b64DecodeUnicode(this.padBase64(a[1])),u=JSON.parse(c);if(n=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(u.aud)){if(u.aud.every(function(e){return e!==i.clientId})){var l="Wrong audience: "+u.aud.join(",");return this.logger.warn(l),Promise.reject(l)}}else if(u.aud!==this.clientId){var h="Wrong audience: "+u.aud;return this.logger.warn(h),Promise.reject(h)}if(!u.sub){var d="No sub claim in id_token";return this.logger.warn(d),Promise.reject(d)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==u.sub){var f="After refreshing, we got an id_token for another user (sub). Expected sub: ".concat(this.silentRefreshSubject,", received sub: ").concat(u.sub);return this.logger.warn(f),Promise.reject(f)}if(!u.iat){var p="No iat claim in id_token";return this.logger.warn(p),Promise.reject(p)}if(!this.skipIssuerCheck&&u.iss!==this.issuer){var g="Wrong issuer: "+u.iss;return this.logger.warn(g),Promise.reject(g)}if(!r&&u.nonce!==n){var m="Wrong nonce: "+u.nonce;return this.logger.warn(m),Promise.reject(m)}if(!this.hasOwnProperty("responseType")||"code"!==this.responseType&&"id_token"!==this.responseType||(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!u.at_hash){var v="An at_hash is needed!";return this.logger.warn(v),Promise.reject(v)}var _=this.dateTimeService.now(),y=1e3*u.iat,b=1e3*u.exp,A=this.getClockSkewInMsec();if(y-A>=_||b+A<=_){var w="Token has expired";return console.error(w),console.error({now:_,issuedAtMSec:y,expiresAtMSec:b}),Promise.reject(w)}var k={accessToken:t,idToken:e,jwks:this.jwks,idTokenClaims:u,idTokenHeader:s,loadKeys:function(){return i.loadJwks()}};return this.disableAtHashCheck?this.checkSignature(k).then(function(t){return{idToken:e,idTokenClaims:u,idTokenClaimsJson:c,idTokenHeader:s,idTokenHeaderJson:o,idTokenExpiresAt:b}}):this.checkAtHash(k).then(function(t){if(!i.disableAtHashCheck&&i.requestAccessToken&&!t){var n="Wrong at_hash";return i.logger.warn(n),Promise.reject(n)}return i.checkSignature(k).then(function(t){var n={idToken:e,idTokenClaims:u,idTokenClaimsJson:c,idTokenHeader:s,idTokenHeaderJson:o,idTokenExpiresAt:b};return i.disableAtHashCheck?n:i.checkAtHash(k).then(function(e){if(i.requestAccessToken&&!e){var t="Wrong at_hash";return i.logger.warn(t),Promise.reject(t)}return n})})})}},{key:"getIdentityClaims",value:function(){var e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}},{key:"getGrantedScopes",value:function(){var e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}},{key:"getIdToken",value:function(){return this._storage?this._storage.getItem("id_token"):null}},{key:"padBase64",value:function(e){for(;e.length%4!=0;)e+="=";return e}},{key:"getAccessToken",value:function(){return this._storage?this._storage.getItem("access_token"):null}},{key:"getRefreshToken",value:function(){return this._storage?this._storage.getItem("refresh_token"):null}},{key:"getAccessTokenExpiration",value:function(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}},{key:"getAccessTokenStoredAt",value:function(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}},{key:"getIdTokenStoredAt",value:function(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}},{key:"getIdTokenExpiration",value:function(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}},{key:"hasValidAccessToken",value:function(){if(this.getAccessToken()){var e=this._storage.getItem("expires_at"),t=this.dateTimeService.new();return!(e&&parseInt(e,10)=0&&null!==this._storage.getItem(e)?JSON.parse(this._storage.getItem(e)):null}},{key:"authorizationHeader",value:function(){return"Bearer "+this.getAccessToken()}},{key:"logOut",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=!1;"boolean"==typeof t&&(i=t,t={});var r=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(function(t){return e._storage.removeItem(t)}),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),this.logoutUrl&&!i&&(r||this.postLogoutRedirectUri)){var a;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)a=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(r)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{var o=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec});r&&(o=o.set("id_token_hint",r));var s=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";for(var c in s&&(o=o.set("post_logout_redirect_uri",s),n&&(o=o.set("state",n))),t)o=o.set(c,t[c]);a=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+o.toString()}this.config.openUri(a)}}},{key:"createAndSaveNonce",value:function(){var e=this;return this.createNonce().then(function(t){return e.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",t):e._storage.setItem("nonce",t),t})}},{key:"ngOnDestroy",value:function(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();var e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();var t=this.document.getElementById(this.sessionCheckIFrameName);t&&t.remove()}},{key:"createNonce",value:function(){var e=this;return new Promise(function(t){if(e.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",i=45,r="",a="undefined"==typeof self?null:self.crypto||self.msCrypto;if(a){var o=new Uint8Array(i);a.getRandomValues(o),o.map||(o.map=Array.prototype.map),o=o.map(function(e){return n.charCodeAt(e%n.length)}),r=String.fromCharCode.apply(null,o)}else for(;00&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"code"===this.responseType?this.initCodeFlow(e,t):this.initImplicitFlow(e,t)}},{key:"initCodeFlow",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};""!==this.loginUrl?this.initCodeFlowInternal(t,n):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"discovery_document_loaded"===e.type})).subscribe(function(i){return e.initCodeFlowInternal(t,n)})}},{key:"initCodeFlowInternal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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).");var n={},i=null;"string"==typeof t?i=t:"object"==typeof t&&(n=t),this.createLoginUrl(e,i,null,!1,n).then(this.config.openUri).catch(function(e){console.error("Error in initAuthorizationCodeFlow"),console.error(e)})}},{key:"createChallangeVerifierPairForPKCE",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.crypto){e.next=2;break}throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");case 2:return e.next=4,this.createNonce();case 4:return t=e.sent,e.t0=base64UrlEncode,e.next=8,this.crypto.calcHash(t,"sha-256");case 8:return e.t1=e.sent,e.t2=(0,e.t0)(e.t1),e.t3=t,e.abrupt("return",[e.t2,e.t3]);case 12:case"end":return e.stop()}},e,this)}))}},{key:"extractRecognizedCustomParameters",value:function(e){var t=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(function(n){e[n]&&t.set(n,JSON.stringify(e[n]))}),t):t}},{key:"revokeTokenAndLogout",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.revocationEndpoint,r=this.getAccessToken(),a=this.getRefreshToken();if(r){var o=new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.LE({encoder:new WebHttpUrlEncodingCodec}),s=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_8__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){var c=btoa("".concat(this.clientId,":").concat(this.dummyClientSecret));s=s.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams){var u,l=_createForOfIteratorHelper(Object.getOwnPropertyNames(this.customQueryParams));try{for(l.s();!(u=l.n()).done;){var h=u.value;o=o.set(h,this.customQueryParams[h])}}catch(err){l.e(err)}finally{l.f()}}return new Promise(function(c,u){var l,h;if(r){var d=o.set("token",r).set("token_type_hint","access_token");l=e.http.post(i,d,{headers:s})}else l=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);if(a){var f=o.set("token",a).set("token_type_hint","refresh_token");h=e.http.post(i,f,{headers:s})}else h=(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null);n&&(l=l.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return 0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)})),h=h.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return 0===e.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)}))),(0,rxjs__WEBPACK_IMPORTED_MODULE_16__.aj)([l,h]).subscribe(function(n){e.logOut(t),c(n),e.logger.info("Token successfully revoked")},function(t){e.logger.error("Error revoking token",t),e.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",t)),u(t)})})}}},{key:"clearLocationHash",value:function(){""!=location.hash&&(location.hash="")}}]),n}(AuthConfig);return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_17__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DateTimeProvider))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),OAuthModuleConfig=function e(){_classCallCheck(this,e)},OAuthResourceServerConfig=function e(){_classCallCheck(this,e)},OAuthResourceServerErrorHandler=function e(){_classCallCheck(this,e)},OAuthNoopResourceServerErrorHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"handleError",value:function(e){return(0,rxjs__WEBPACK_IMPORTED_MODULE_15__._)(e)}}]),e}(),DefaultOAuthInterceptor=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.oAuthService=t,this.errorHandler=n,this.moduleConfig=i}return _createClass(e,[{key:"checkUrl",value:function(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(function(t){return e.toLowerCase().startsWith(t.toLowerCase())})}},{key:"intercept",value:function(e,t){var n=this,i=e.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_18__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return!!e})),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.h)(function(e){return"token_received"===e.type}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return(0,rxjs__WEBPACK_IMPORTED_MODULE_6__.of)(null)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.U)(function(e){return n.oAuthService.getAccessToken()}))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.zg)(function(i){if(i){var r=e.headers.set("Authorization","Bearer "+i);e=e.clone({headers:r})}return t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return n.errorHandler.handleError(e)}))})):t.handle(e).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.K)(function(e){return n.errorHandler.handleError(e)})):t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(OAuthModuleConfig,8))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:e,factory:e.\u0275fac}),e}(),NullValidationHandler=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateSignature",value:function(e){return Promise.resolve(null)}},{key:"validateAtHash",value:function(e){return Promise.resolve(!0)}}]),e}();function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}var OAuthModule=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NullValidationHandler;return{ngModule:e,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:n},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:t},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_8__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_17__.ez]]}),e}(),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",JwksValidationHandler=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),e=t.call(this),console.error(err),e}return n}(NullValidationHandler),AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("AUTH_CONFIG")},2051:function(e,t){var n,i;void 0===(i="function"==typeof(n=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){o(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}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,a=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,a,o){var s=r.URL||r.webkitURL,c=document.createElement("a");c.download=a=a||e.name||"download",c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):n(c.href)?t(e,a,o):i(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,a){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),r);else if(n(e))t(e,r,a);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){i(o)})}}:function(e,n,i,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var s="application/octet-stream"===e.type,c=/constructor/i.test(r.HTMLElement)||r.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||s&&c||a)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var h=r.URL||r.webkitURL,d=h.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});r.saveAs=o.saveAs=o,e.exports=o})?n.apply(t,[]):n)||(e.exports=i)},9355:function(e,t,n){(e.exports=n(2021)).tz.load(n(4360))},2021:function(e,t,n){var i,r,a;!function(o,s){"use strict";e.exports?e.exports=s(n(9609)):(r=[n(9609)],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a))}(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},i={},r={},a={},o={};e&&"string"==typeof e.version||S("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),c=+s[0],u=+s[1];function l(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t=0,n=e.split("."),i=n[0],r=n[1]||"",a=1,o=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),g.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;ti&&E.moveInvalidForward&&(t=i),a3){var t=a[k(e)];if(t)return t;S("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(l){}var n,i,r,o=function(){var e,t,n,i=(new Date).getFullYear()-2,r=new v(new Date(i,0,1)),a=[r];for(n=1;n<48;n++)(t=new v(new Date(i,n,1))).offset!==r.offset&&(e=y(r,t),a.push(e),a.push(new v(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)a.push(new v(new Date(i+n,0,1))),a.push(new v(new Date(i+n,6,1)));return a}(),s=o.length,c=w(o),u=[];for(i=0;i0?u[0].zone.name:void 0}()),t},E.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(n[e]||n[i[e]])&&a[e]&&t.push(a[e]);return t.sort()},E.Zone=g,E.unpack=p,E.unpackBase60=h,E.needsOffset=L,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(r)},E.zonesForCountry=function(e,t){var n;if(n=(n=e).toUpperCase(),!(e=r[n]||null))return null;var i=e.zones.sort();return t?i.map(function(e){return{name:e,offset:C(e).utcOffset(new Date)}}):i};var z,O=e.fn;function x(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function R(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=E,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;if(void 0===t._z&&(r&&L(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var a=t._z;t.utcOffset(-i,n),t._z=a}else t.zone(i,n)},O.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=C(t),this._z?e.updateOffset(this,n):S("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},O.zoneName=x(O.zoneName),O.zoneAbbr=x(O.zoneAbbr),O.utc=R(O.utc),O.local=R(O.local),O.utcOffset=(z=O.utcOffset,function(){return arguments.length>0&&(this._z=null),z.apply(this,arguments)}),e.tz.setDefault=function(t){return(c<2||2===c&&u<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?C(t):null,e};var D=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(D)?(D.push("_z"),D.push("_a")):D&&(D._z=null),e})},776:function(e,t,n){!function(e){"use strict";e.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},2758:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(n(9609))},4980:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},9602:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={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"]},r=function(e){return function(t,r,a,o){var s=n(t),c=i[e][n(t)];return 2===s&&(c=c[r?0:1]),c.replace(/%d/i,t)}},a=["\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"];e.defineLocale("ar-ly",{months:a,monthsShort:a,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(e){return"\u0645"===e},meridiem:function(e,t,n){return e<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:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},2500:function(e,t,n){!function(e){"use strict";e.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\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:6,doy:12}})}(n(9609))},6909:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.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,t,n){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(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n(9609))},2735:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},7634:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={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"]},a=function(e){return function(t,n,a,o){var s=i(t),c=r[e][i(t)];return 2===s&&(c=c[n?0:1]),c.replace(/%d/i,t)}},o=["\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"];e.defineLocale("ar",{months:o,monthsShort:o,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(e){return"\u0645"===e},meridiem:function(e,t,n){return e<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:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},7798:function(e,t,n){!function(e){"use strict";var t={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"};e.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:"birne\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(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},9949:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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:t?"\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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){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,t){switch(t){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}})}(n(9609))},4590:function(e,t,n){!function(e){"use strict";e.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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9609))},5938:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},595:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){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}})}(n(9609))},4756:function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.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\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("_"),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\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("_"),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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){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}})}(n(9609))},7277:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n(9609))},4166:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},3943:function(e,t,n){!function(e){"use strict";e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(9609))},3474:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^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],r=/^(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 a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(a(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},2218:function(e,t,n){!function(e){"use strict";e.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(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\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}})}(n(9609))},1061:function(e,t,n){!function(e){"use strict";e.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(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(9609))},2743:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8580:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},3264:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},1899:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},8784:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,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,t,n){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}})}(n(9609))},4654:function(e,t,n){!function(e){"use strict";e.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(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.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(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.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}})}(n(9609))},4047:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},6277:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},6896:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9609))},1609:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},4557:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},5836:function(e,t,n){!function(e){"use strict";e.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",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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9609))},3586:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},2777:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(9609))},3128:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},3256:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},3357:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},2654:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},7287:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},5210:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.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,t,n){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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n(9609))},3431:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,a)+" "+o}e.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: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:4}})}(n(9609))},1781:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},1539:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(9609))},9847:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(9609))},1717:function(e,t,n){!function(e){"use strict";e.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("_"),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|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(9609))},2250:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},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}})}(n(9609))},7665:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(9609))},5214:function(e,t,n){!function(e){"use strict";e.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(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(9609))},6154:function(e,t,n){!function(e){"use strict";e.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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},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}})}(n(9609))},8518:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(9609))},9221:function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.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\u0ac7\u0ab9\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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},4743:function(e,t,n){!function(e){"use strict";e.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(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \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(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n(9609))},7339:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n(9609))},3224:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.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:"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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},856:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.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("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},6855:function(e,t,n){!function(e){"use strict";e.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(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<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(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n(9609))},2190:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<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:1,doy:7}})}(n(9609))},3887:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var a=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?a+(n||r?"sek\xfandur":"sek\xfandum"):a+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?a+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?a+"m\xedn\xfata":a+"m\xedn\xfatu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"d\xf6gum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?a+"m\xe1nu\xf0ir":a+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?a+"m\xe1nu\xf0ur":a+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?a+(n||r?"\xe1r":"\xe1rum"):a+(n||r?"\xe1r":"\xe1ri")}}e.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:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},5890:function(e,t,n){!function(e){"use strict";e.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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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}})}(n(9609))},9270:function(e,t,n){!function(e){"use strict";e.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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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}})}(n(9609))},6595:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{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:"\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(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<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}})}(n(9609))},7477:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\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(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},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(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n(9609))},3978:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},9205:function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.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,t,n){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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(9609))},25:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},427:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n(9609))},9089:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\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"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},9314:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},3136:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={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 t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.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(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},9115:function(e,t,n){!function(e){"use strict";e.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(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<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(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n(9609))},7087:function(e,t,n){!function(e){"use strict";var t={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 n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(i(e)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(e)?r(a)[1]:r(a)[2])}e.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(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(9609))},5683:function(e,t,n){!function(e){"use strict";var t={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 n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},9454:function(e,t,n){!function(e){"use strict";var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},5507:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8466:function(e,t,n){!function(e){"use strict";e.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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9609))},2933:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n(9609))},9477:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\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 e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.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(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n(9609))},3597:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n(9609))},9965:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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}})}(n(9609))},5529:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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}})}(n(9609))},259:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8061:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(9609))},2618:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_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",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}})}(n(9609))},8452:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},413:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},1885:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},5107:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",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}})}(n(9609))},702:function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},1711:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),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:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},8238:function(e,t,n){!function(e){"use strict";e.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"})}(n(9609))},594:function(e,t,n){!function(e){"use strict";e.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",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}})}(n(9609))},4681:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._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:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(9609))},6201:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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",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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\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];e.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:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n(9609))},2912:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,t,n){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}})}(n(9609))},6002:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},7942:function(e,t,n){!function(e){"use strict";e.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(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n(9609))},5577:function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?a+(i(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?a+(i(e)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(n(9609))},1775:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},6823:function(e,t,n){!function(e){"use strict";e.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(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<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}})}(n(9609))},3848:function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:"DD.MM.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},9038:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:"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] [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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},6173:function(e,t,n){!function(e){"use strict";e.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(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(9609))},5788:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(9609))},6882:function(e,t,n){!function(e){"use strict";e.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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(9609))},2678:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){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,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(9609))},2797:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n(9609))},2447:function(e,t,n){!function(e){"use strict";e.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:"minutu balun",ss:"minutu %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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},1335:function(e,t,n){!function(e){"use strict";var t={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"};e.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},8667:function(e,t,n){!function(e){"use strict";e.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(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<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",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n(9609))},9914:function(e,t,n){!function(e){"use strict";e.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(e){return e},week:{dow:1,doy:4}})}(n(9609))},1389:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var a=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}(e);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.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(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},3578:function(e,t,n){!function(e){"use strict";var t={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"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm: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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(9609))},6969:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.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(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},690:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},6509:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},55:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n(9609))},2452:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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:t?"\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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.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(e,t){var n={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===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.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:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n(9609))},1151:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,t,n){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}})}(n(9609))},6547:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},1555:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},6541:function(e,t,n){!function(e){"use strict";e.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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(9609))},2401:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},2341:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},619:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n(9609))},7058:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},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"}})}(n(9609))},2782:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},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"}})}(n(9609))},9609:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},F={};function W(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(F[e]=r),t&&(F[t[0]]=function(){return B(r.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=K(t,e.localeData()),j[t]=j[t]||function(e){var t,n,i,r=e.match(H);for(t=0,n=r.length;t=0&&Y.test(e);)e=e.replace(Y,i),Y.lastIndex=0,n-=1;return e}var Z=/\d/,G=/\d\d/,X=/\d{3}/,V=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,$=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,ae=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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,ue={};function le(e,t,n){ue[e]=z(t)?t:function(e,i){return e&&n?n:t}}function he(e,t){return h(ue,e)?ue[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=k(e)}),n=0;n68?1900:2e3)};var ye,be=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(ke(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ke(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&_e(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Me(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Me(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?_e(e)?29:28:31-n%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Pe(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ne(e,t,n){var i=7+t-n;return-(7+Pe(e,0,i).getUTCDay()-t)%7+i-1}function Ie(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+Ne(e,i,r);return s<=0?o=ve(a=e-1)+s:s>ve(e)?(a=e+1,o=s-ve(e)):(a=e,o=s),{year:a,dayOfYear:o}}function qe(e,t,n){var i,r,a=Ne(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+Be(r=e.year()-1,t,n):o>Be(e.year(),t,n)?(i=o-Be(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Be(e,t,n){var i=Ne(e,t,n),r=Ne(e+1,t,n);return(ve(e)-i+r)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),q("week",5),q("isoWeek",5),le("w",Q),le("ww",Q,G),le("W",Q),le("WW",Q,G),ge(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=k(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),le("d",Q),le("e",Q),le("E",Q),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,i){t[i]=k(e)});var Ye="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function We(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,o))||-1!==(r=ye.call(this._shortWeekdaysParse,o))||-1!==(r=ye.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,o))||-1!==(r=ye.call(this._weekdaysParse,o))||-1!==(r=ye.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,o))||-1!==(r=ye.call(this._weekdaysParse,o))||-1!==(r=ye.call(this._shortWeekdaysParse,o))?r:null}var Ue=ce,Ke=ce,Ze=ce;function Ge(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),c.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=de(s[t]),c[t]=de(c[t]),u[t]=de(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ve(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Je(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Xe),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Xe.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Xe.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),D("hour","h"),q("hour",13),le("a",Je),le("A",Je),le("H",Q),le("h",Q),le("k",Q),le("HH",Q,G),le("hh",Q,G),le("kk",Q,G),le("hmm",$),le("hmmss",ee),le("Hmm",$),le("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],function(e,t,n){var i=k(e);t[3]=24===i?0:i}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[3]=k(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var i=e.length-2;t[3]=k(e.substr(0,i)),t[4]=k(e.substr(i)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=k(e.substr(0,i)),t[4]=k(e.substr(i,2)),t[5]=k(e.substr(r)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var i=e.length-2;t[3]=k(e.substr(0,i)),t[4]=k(e.substr(i))}),pe("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=k(e.substr(0,i)),t[4]=k(e.substr(i,2)),t[5]=k(e.substr(r))});var Qe,$e=Ae("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:Le,week:{dow:0,doy:6},weekdays:Ye,weekdaysMin:Fe,weekdaysShort:je,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var i=null;if(!tt[t]&&e&&e.exports)try{i=Qe._abbr,n(6700)("./"+t),at(i)}catch(r){}return tt[t]}function at(e,t){var n;return e&&((n=s(t)?st(e):ot(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function ot(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new x(O(i,t)),nt[e]&&nt[e].forEach(function(e){ot(e.name,e.config)}),at(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!a(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&M(r,n,!0)>=t-1)break;t--}a++}return Qe}(e)}function ct(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Me(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,a,o,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=ut(t.GG,e._a[0],qe(Mt(),1,4).year),i=ut(t.W,1),((r=ut(t.E,1))<1||r>7)&&(c=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=qe(Mt(),a,o);n=ut(t.gg,e._a[0],u.year),i=ut(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(c=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(c=!0)):r=a}i<1||i>Be(n,a,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Ie(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=ut(e._a[0],i[0]),(e._dayOfYear>ve(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Pe(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Pe:De).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}var ht=/^\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)?)?$/,dt=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],gt=[["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/]],mt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,i,r,a,o,s=e._i,c=ht.exec(s)||dt.exec(s);if(c){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),F[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),me(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),ct(e)}else bt(e);else vt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),A(t)?new b(ct(t)):(u(t)?e._d=t:a(n)?function(e){var t,n,i,r,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:m()});function Lt(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function $t(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){W(0,[e,e.length],0,t)}function tn(e,t,n,i,r){var a;return null==e?qe(this,i,r).year:(t>(a=Be(e,i,r))&&(t=a),nn.call(this,e,t,n,i,r))}function nn(e,t,n,i,r){var a=Ie(e,t,n,i,r),o=Pe(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),le("G",ae),le("g",ae),le("GG",Q,G),le("gg",Q,G),le("GGGG",ne,V),le("gggg",ne,V),le("GGGGG",ie,J),le("ggggg",ie,J),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=k(e)}),ge(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),D("quarter","Q"),q("quarter",7),le("Q",Z),pe("Q",function(e,t){t[1]=3*(k(e)-1)}),W("D",["DD",2],"Do","date"),D("date","D"),q("date",9),le("D",Q),le("DD",Q,G),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],2),pe("Do",function(e,t){t[2]=k(e.match(Q)[0])});var rn=Ae("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),q("dayOfYear",4),le("DDD",te),le("DDDD",X),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),W("m",["mm",2],0,"minute"),D("minute","m"),q("minute",14),le("m",Q),le("mm",Q,G),pe(["m","mm"],4);var an=Ae("Minutes",!1);W("s",["ss",2],0,"second"),D("second","s"),q("second",15),le("s",Q),le("ss",Q,G),pe(["s","ss"],5);var on,sn=Ae("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),q("millisecond",16),le("S",te,Z),le("SS",te,G),le("SSS",te,X),on="SSSS";on.length<=9;on+="S")le(on,re);function cn(e,t){t[6]=k(1e3*("0."+e))}for(on="S";on.length<=9;on+="S")pe(on,cn);var un=Ae("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ln=b.prototype;function hn(e){return e}ln.add=Ut,ln.calendar=function(e,t){var n=e||Mt(),i=Pt(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(z(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Mt(n)))},ln.clone=function(){return new b(this)},ln.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Pt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=P(t)){case"year":a=Zt(this,i)/12;break;case"month":a=Zt(this,i);break;case"quarter":a=Zt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},ln.endOf=function(e){var t;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?$t:Qt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Jt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Jt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Jt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},ln.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},ln.from=function(e,t){return this.isValid()&&(A(e)&&e.isValid()||Mt(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){return this.from(Mt(),e)},ln.to=function(e,t){return this.isValid()&&(A(e)&&e.isValid()||Mt(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){return this.to(Mt(),e)},ln.get=function(e){return z(this[e=P(e)])?this[e]():this},ln.invalidAt=function(){return p(this).overflow},ln.isAfter=function(e,t){var n=A(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=be,ln.isLeapYear=function(){return _e(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=ze,ln.daysInMonth=function(){return Me(this.year(),this.month())},ln.week=ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){return Be(this.year(),1,4)},ln.date=rn,ln.day=ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ln.hour=ln.hours=$e,ln.minute=ln.minutes=an,ln.second=ln.seconds=sn,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Dt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Nt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Wt(this,Ht(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Nt(this)},ln.utc=function(e){return this.utcOffset(0,e)},ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Dt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=It,ln.isUTC=It,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=T("dates accessor is deprecated. Use date instead.",rn),ln.months=T("months accessor is deprecated. Use month instead",ze),ln.years=T("years accessor is deprecated. Use year instead",be),ln.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),ln.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=wt(e))._a){var t=e._isUTC?f(e._a):Mt(e._a);this._isDSTShifted=this.isValid()&&M(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=x.prototype;function fn(e,t,n,i){var r=st(),a=f().set(i,t);return r[n](a,e)}function pn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function gn(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,a=st(),o=e?a._week.dow:0;if(null!=n)return fn(t,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=fn(t,(r+o)%7,i,"day");return s}dn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return z(i)?i.call(t,n):i},dn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(e){return this._ordinal.replace("%d",e)},dn.preparse=hn,dn.postformat=hn,dn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return z(r)?r(e,t,n,i):r.replace(/%d/i,e)},dn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return z(n)?n(t):n.replace(/%s/i,t)},dn.set=function(e){var t,n;for(n in e)z(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},dn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ce.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return Se.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},dn.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=xe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(e){return qe(e,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},dn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},dn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},dn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},dn.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},dn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=T("moment.lang is deprecated. Use moment.locale instead.",at),r.langData=T("moment.langData is deprecated. Use moment.localeData instead.",st);var mn=Math.abs;function vn(e,t,n,i){var r=Ht(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function An(e){return function(){return this.as(e)}}var wn=An("ms"),kn=An("s"),Mn=An("m"),Cn=An("h"),Tn=An("d"),Ln=An("w"),Sn=An("M"),En=An("Q"),zn=An("y");function On(e){return function(){return this.isValid()?this._data[e]:NaN}}var xn=On("milliseconds"),Rn=On("seconds"),Dn=On("minutes"),Pn=On("hours"),Nn=On("days"),In=On("months"),qn=On("years"),Bn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function Yn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var jn=Math.abs;function Fn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=jn(this._milliseconds)/1e3,i=jn(this._days),r=jn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var a=w(r/12),o=r%=12,s=i,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=Fn(this._months)!==Fn(h)?"-":"",p=Fn(this._days)!==Fn(h)?"-":"",g=Fn(this._milliseconds)!==Fn(h)?"-":"";return d+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(l?g+l+"S":"")}var Un=Et.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},Un.add=function(e,t){return vn(this,e,t,1)},Un.subtract=function(e,t){return vn(this,e,t,-1)},Un.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(n=this._months+yn(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Un.asMilliseconds=wn,Un.asSeconds=kn,Un.asMinutes=Mn,Un.asHours=Cn,Un.asDays=Tn,Un.asWeeks=Ln,Un.asMonths=Sn,Un.asQuarters=En,Un.asYears=zn,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Un._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*_n(bn(s)+o),o=0,s=0),c.milliseconds=a%1e3,e=w(a/1e3),c.seconds=e%60,t=w(e/60),c.minutes=t%60,n=w(t/60),c.hours=n%24,o+=w(n/24),s+=r=w(yn(o)),o-=_n(bn(r)),i=w(s/12),s%=12,c.days=o,c.months=s,c.years=i,this},Un.clone=function(){return Ht(this)},Un.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Un.milliseconds=xn,Un.seconds=Rn,Un.minutes=Dn,Un.hours=Pn,Un.days=Nn,Un.weeks=function(){return w(this.days()/7)},Un.months=In,Un.years=qn,Un.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Ht(e).abs(),r=Bn(i.as("s")),a=Bn(i.as("m")),o=Bn(i.as("h")),s=Bn(i.as("d")),c=Bn(i.as("M")),u=Bn(i.as("y")),l=r<=Hn.ss&&["s",r]||r0,l[4]=n,Yn.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Un.toISOString=Wn,Un.toString=Wn,Un.toJSON=Wn,Un.locale=Gt,Un.localeData=Vt,Un.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Un.lang=Xt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",ae),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(k(e))}),r.version="2.24.0",t=Mt,r.fn=ln,r.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Mt(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=u,r.locale=at,r.invalid=m,r.duration=Ht,r.isMoment=A,r.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},r.parseZone=function(){return Mt.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=zt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=(i=rt(e))&&(r=i._config),(n=new x(t=O(r,t))).parentLocale=tt[e],tt[e]=n,at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return L(tt)},r.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(e){return void 0===e?Bn:"function"==typeof e&&(Bn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=ln,r.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"},r}()},963:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,i,r){i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(n=n||"&");var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u=0?(l=p.substr(0,g),h=p.substr(g+1)):(l=p,h=""),d=decodeURIComponent(l),f=decodeURIComponent(h),t(a,d)?Array.isArray(a[d])?a[d].push(f):a[d]=[a[d],f]:a[d]=f}return a}},5341:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,i,r){return n=n||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var a=encodeURIComponent(t(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return a+encodeURIComponent(t(e))}).join(n):a+encodeURIComponent(t(e[r]))}).join(n):r?encodeURIComponent(t(r))+i+encodeURIComponent(t(e)):""}},6577:function(e,t,n){"use strict";n(963),n(5341)},9867:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this)).parent=e,a.outerValue=i,a.outerIndex=r,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n(6673).L)},3103:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var i=n(653),r=n(878),a=n(1225),o=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,a._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},8318:function(e,t,n){"use strict";n.d(t,{y:function(){return u}});var i=n(6673),r=n(5331),a=n(7498),o=n(6197),s=n(3392),c=n(1484),u=function(){var e=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof i.L)return e;if(e[r.b])return e[r.b]()}return e||t||n?new i.L(e,t,n):new i.L(a.c)}(e,t,n);if(s.add(o?o.call(s,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,a=t.isStopped;if(n||a)return!1;e=r&&r instanceof i.L?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=l(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:o.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof u&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof i.y?t[0]:(0,a.J)(s)((0,o.n)(t,c))}},878:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var i=n(6163),r=n(9342),a=n(2570);function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).dueTime=i,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function c(e){e.debouncedNext()}},7768:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var i=n(6673);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.defaultValue))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(i.L)},509:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var i=n(8569),r=n(8802),a=n(6673),o=n(3103);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P,n=(0,r.J)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(n,t))}}var c=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.delay,this.scheduler))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new l(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(o.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),n}(a.L),l=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n}},3835:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(6673);function r(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=i,a.thisArg=r,a.count=0,a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(i.L)},3530:function(e,t,n){"use strict";n.d(t,{P:function(){return u}});var i=n(9665),r=n(3835),a=n(611),o=n(7768),s=n(790),c=n(3392);function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?(0,r.h)(function(t,n){return e(t,n,u)}):c.y,(0,a.q)(1),n?(0,o.d)(t):(0,s.T)(function(){return new i.K}))}}},9996:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var i=n(6673);function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).project=i,a.count=0,a.thisArg=r||_assertThisInitialized(a),a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(i.L)},7471:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var i=n(3982),r=n(3392);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,e)}},3982:function(e,t,n){"use strict";n.d(t,{zg:function(){return c}});var i=n(6268),r=n(9829),a=n(9867),o=n(9996),s=n(9764);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(c(function(n,i){return(0,s.D)(e(n,i)).pipe((0,o.U)(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}]),e}(),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(r.L)},1564:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(6673);function r(){return function(e){return e.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new o(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},1055:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var i=n(2875),r=n(1564),a=n(5959);function o(){return new a.xQ}function s(){return function(e){return(0,r.x)()((t=o,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,i.N);return r.source=e,r.subjectFactory=n,r})(e));var t}}},4689:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var i=n(9829),r=n(9867),a=n(6268),o=n(9996),s=n(9764);function c(e,t){return"function"==typeof t?function(n){return n.pipe(c(function(n,i){return(0,s.D)(e(n,i)).pipe((0,o.U)(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new u(e))}}var u=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project))}}]),e}(),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var o=new r.d(this,t,n),s=this.destination;s.add(o),this.innerSubscription=(0,a.D)(this,e,void 0,void 0,o),this.innerSubscription!==o&&s.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}}]),n}(i.L)},611:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var i=n(6673),r=n(8402),a=n(653);function o(e){return function(t){return 0===e?(0,a.c)():t.lift(new s(e))}}var s=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new r.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.total))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.L)},6599:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(6673);function r(){}var a=n(5024);function o(e,t,n){return function(i){return i.lift(new s(e,t,n))}}var s=function(){function e(t,n,i){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e))._tapNext=r,c._tapError=r,c._tapComplete=r,c._tapError=o||r,c._tapComplete=s||r,(0,a.m)(i)?(c._context=_assertThisInitialized(c),c._tapNext=i):i&&(c._context=i,c._tapNext=i.next||r,c._tapError=i.error||r,c._tapComplete=i.complete||r),c}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(i.L)},790:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var i=n(9665),r=n(6673);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.errorFactory))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(r.L);function c(){return new i.K}},9085:function(e,t,n){"use strict";n.d(t,{V:function(){return h}});var i=n(8569),r=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),a=n(8802),o=n(9829),s=n(6268),c=function(){function e(t,n,i,r){_classCallCheck(this,e),this.waitFor=t,this.absoluteTimeout=n,this.withObservable=i,this.scheduler=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e)).absoluteTimeout=i,s.waitFor=r,s.withObservable=a,s.scheduler=o,s.action=null,s.scheduleTimeout(),s}return _createClass(n,[{key:"scheduleTimeout",value:function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(n.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(e){this.absoluteTimeout||this.scheduleTimeout(),_get(_getPrototypeOf(n.prototype),"_next",this).call(this,e)}},{key:"_unsubscribe",value:function(){this.action=null,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add((0,s.D)(e,t))}}]),n}(o.L),l=n(1225);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.P;return function(i){var r=(0,a.J)(e),o=r?+e-n.now():Math.abs(e);return i.lift(new c(o,r,t,n))}}(e,(0,l._)(new r),t)}},2570:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var i=n(8318),r=n(7570);function a(e,t){return new i.y(function(n){var i=new r.w,a=0;return i.add(t.schedule(function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},8277:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.pending=!1,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){return this}}]),n}(n(7570).w))},1098:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var i=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return _classCallCheck(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():a()})).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(i)},8569:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(8277),r=new(n(1098).v)(i.o)},5686:function(e,t,n){"use strict";n.d(t,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6197:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},5331:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},8402:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},9665:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},3895:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},4294:function(e,t,n){"use strict";function i(e){setTimeout(function(){throw e},0)}n.d(t,{z:function(){return i}})},3392:function(e,t,n){"use strict";function i(e){return e}n.d(t,{y:function(){return i}})},8470:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},9653:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},8802:function(e,t,n){"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,{J:function(){return i}})},5024:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,{m:function(){return i}})},2056:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,{K:function(){return i}})},5168:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:function(){return i}})},6163:function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,{K:function(){return i}})},6015:function(e,t,n){"use strict";n.d(t,{s:function(){return l}});var i=n(625),r=n(4294),a=n(5686),o=n(6197),s=n(9653),c=n(5168),u=n(2056),l=function(e){if(e&&"function"==typeof e[o.L])return l=e,function(e){var t=l[o.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,s.z)(e))return(0,i.V)(e);if((0,c.t)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.z),e};if(e&&"function"==typeof e[a.hZ])return t=e,function(e){for(var n=t[a.hZ]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,l,h=(0,u.K)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},625:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var i=function(e){return function(t){for(var n=0,i=e.length;n4&&void 0!==arguments[4]?arguments[4]:new i.d(e,n,o);if(!s.closed)return t instanceof a.y?t.subscribe(s):(0,r.s)(t)(s)}},7632:function(e,t,n){"use strict";function i(e,t,n,i){return new(n||(n=Promise))(function(r,a){function o(e){try{c(i.next(e))}catch(t){a(t)}}function s(e){try{c(i.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((i=i.apply(e,t||[])).next())})}n.d(t,{mG:function(){return i}})},4360:function(e){"use strict";e.exports=JSON.parse('{"version":"2020a","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|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 WAT|-d.A -10|01|-22y0d.A|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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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|01212121212121212121212121212121213|-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|","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/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","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/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","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/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","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 BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v 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 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-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 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","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/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","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/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-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 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 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 -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|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/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 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|24e4","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/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","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/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 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 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","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","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/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","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 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|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|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|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|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-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 3Co0 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|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-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 3Co0 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 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/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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 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||","Pacific/Port_Moresby|+10|-a0|0||25e4","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 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 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|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|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-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 3Co0 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|-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 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|-2nco8.l cNb8.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|012323232323232321212121212121212121212121212121212121212121212|-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|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|-2yO3F.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|01232345454545454545454545454545454545454545454545454545454|-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 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|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|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-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 20o0 s00 20o0 pc0 20o0 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|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|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|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu 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|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 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/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/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","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/Los_Angeles|US/Pacific-New","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/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|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|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|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/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/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|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/Currie 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/Vancouver America/Whitehorse America/Dawson","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/Astrakhan Europe/Volgograd 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"]}')},6700:function(e,t,n){var i={"./af":776,"./af.js":776,"./ar":7634,"./ar-dz":2758,"./ar-dz.js":2758,"./ar-kw":4980,"./ar-kw.js":4980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":2500,"./ar-ma.js":2500,"./ar-sa":6909,"./ar-sa.js":6909,"./ar-tn":2735,"./ar-tn.js":2735,"./ar.js":7634,"./az":7798,"./az.js":7798,"./be":9949,"./be.js":9949,"./bg":4590,"./bg.js":4590,"./bm":5938,"./bm.js":5938,"./bn":595,"./bn.js":595,"./bo":4756,"./bo.js":4756,"./br":7277,"./br.js":7277,"./bs":4166,"./bs.js":4166,"./ca":3943,"./ca.js":3943,"./cs":3474,"./cs.js":3474,"./cv":2218,"./cv.js":2218,"./cy":1061,"./cy.js":1061,"./da":2743,"./da.js":2743,"./de":1899,"./de-at":8580,"./de-at.js":8580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":1899,"./dv":8784,"./dv.js":8784,"./el":4654,"./el.js":4654,"./en-SG":4047,"./en-SG.js":4047,"./en-au":6277,"./en-au.js":6277,"./en-ca":6896,"./en-ca.js":6896,"./en-gb":1609,"./en-gb.js":1609,"./en-ie":4557,"./en-ie.js":4557,"./en-il":5836,"./en-il.js":5836,"./en-nz":3586,"./en-nz.js":3586,"./eo":2777,"./eo.js":2777,"./es":3357,"./es-do":3128,"./es-do.js":3128,"./es-us":3256,"./es-us.js":3256,"./es.js":3357,"./et":2654,"./et.js":2654,"./eu":7287,"./eu.js":7287,"./fa":5210,"./fa.js":5210,"./fi":3431,"./fi.js":3431,"./fo":1781,"./fo.js":1781,"./fr":1717,"./fr-ca":1539,"./fr-ca.js":1539,"./fr-ch":9847,"./fr-ch.js":9847,"./fr.js":1717,"./fy":2250,"./fy.js":2250,"./ga":7665,"./ga.js":7665,"./gd":5214,"./gd.js":5214,"./gl":6154,"./gl.js":6154,"./gom-latn":8518,"./gom-latn.js":8518,"./gu":9221,"./gu.js":9221,"./he":4743,"./he.js":4743,"./hi":7339,"./hi.js":7339,"./hr":3224,"./hr.js":3224,"./hu":856,"./hu.js":856,"./hy-am":6855,"./hy-am.js":6855,"./id":2190,"./id.js":2190,"./is":3887,"./is.js":3887,"./it":9270,"./it-ch":5890,"./it-ch.js":5890,"./it.js":9270,"./ja":6595,"./ja.js":6595,"./jv":3081,"./jv.js":3081,"./ka":7477,"./ka.js":7477,"./kk":3978,"./kk.js":3978,"./km":9205,"./km.js":9205,"./kn":25,"./kn.js":25,"./ko":427,"./ko.js":427,"./ku":9089,"./ku.js":9089,"./ky":9314,"./ky.js":9314,"./lb":3136,"./lb.js":3136,"./lo":9115,"./lo.js":9115,"./lt":7087,"./lt.js":7087,"./lv":5683,"./lv.js":5683,"./me":9454,"./me.js":9454,"./mi":5507,"./mi.js":5507,"./mk":8466,"./mk.js":8466,"./ml":2933,"./ml.js":2933,"./mn":9477,"./mn.js":9477,"./mr":3597,"./mr.js":3597,"./ms":5529,"./ms-my":9965,"./ms-my.js":9965,"./ms.js":5529,"./mt":259,"./mt.js":259,"./my":8061,"./my.js":8061,"./nb":2618,"./nb.js":2618,"./ne":8452,"./ne.js":8452,"./nl":1885,"./nl-be":413,"./nl-be.js":413,"./nl.js":1885,"./nn":5107,"./nn.js":5107,"./pa-in":702,"./pa-in.js":702,"./pl":1711,"./pl.js":1711,"./pt":594,"./pt-br":8238,"./pt-br.js":8238,"./pt.js":594,"./ro":4681,"./ro.js":4681,"./ru":6201,"./ru.js":6201,"./sd":2912,"./sd.js":2912,"./se":6002,"./se.js":6002,"./si":7942,"./si.js":7942,"./sk":5577,"./sk.js":5577,"./sl":1775,"./sl.js":1775,"./sq":6823,"./sq.js":6823,"./sr":9038,"./sr-cyrl":3848,"./sr-cyrl.js":3848,"./sr.js":9038,"./ss":6173,"./ss.js":6173,"./sv":5788,"./sv.js":5788,"./sw":6882,"./sw.js":6882,"./ta":2678,"./ta.js":2678,"./te":2797,"./te.js":2797,"./tet":2447,"./tet.js":2447,"./tg":1335,"./tg.js":1335,"./th":8667,"./th.js":8667,"./tl-ph":9914,"./tl-ph.js":9914,"./tlh":1389,"./tlh.js":1389,"./tr":3578,"./tr.js":3578,"./tzl":6969,"./tzl.js":6969,"./tzm":6509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":6509,"./ug-cn":55,"./ug-cn.js":55,"./uk":2452,"./uk.js":2452,"./ur":1151,"./ur.js":1151,"./uz":1555,"./uz-latn":6547,"./uz-latn.js":6547,"./uz.js":1555,"./vi":6541,"./vi.js":6541,"./x-pseudo":2401,"./x-pseudo.js":2401,"./yo":2341,"./yo.js":2341,"./zh-cn":619,"./zh-cn.js":619,"./zh-hk":7058,"./zh-hk.js":7058,"./zh-tw":2782,"./zh-tw.js":2782};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id=6700},306:function(e){"use strict";e.exports={i8:"3.0.0"}}},function(e){"use strict";e(e.s=7237)}])})(); \ No newline at end of file diff --git a/dist/apps/user-profile/main-es5.fc8b4aeb37c64453f62c.js b/dist/apps/user-profile/main-es5.fc8b4aeb37c64453f62c.js deleted file mode 100644 index 5b07b5c07..000000000 --- a/dist/apps/user-profile/main-es5.fc8b4aeb37c64453f62c.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){return i(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}(e,t)||s(e,t)||n()}function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e){if(Array.isArray(e))return e}function r(e){return function(e){if(Array.isArray(e))return u(e)}(e)||o(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function s(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n4&&void 0!==arguments[4]?arguments[4]:new K(e,n,i);if(!r.closed)return t instanceof I?t.subscribe(r):Q(t)(r)}var $=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(O);function ee(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new te(e,t))}}var te=function(){function e(t,n){_(this,e),this.project=t,this.thisArg=n}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new ne(e,this.project,this.thisArg))}}]),e}(),ne=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||m(o),o}return w(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(O);function ie(e,t){return new I(function(n){var i=new L,r=0;return i.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function re(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[D]}(e))return function(e,t){return new I(function(n){var i=new L;return i.add(t.schedule(function(){var r=e[D]();i.add(r.subscribe({next:function(e){i.add(t.schedule(function(){return n.next(e)}))},error:function(e){i.add(t.schedule(function(){return n.error(e)}))},complete:function(){i.add(t.schedule(function(){return n.complete()}))}}))})),i})}(e,t);if(J(e))return function(e,t){return new I(function(n){var i=new L;return i.add(t.schedule(function(){return e.then(function(e){i.add(t.schedule(function(){n.next(e),i.add(t.schedule(function(){return n.complete()}))}))},function(e){i.add(t.schedule(function(){return n.error(e)}))})})),i})}(e,t);if(G(e))return ie(e,t);if(function(e){return e&&"function"==typeof e[X]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new I(function(n){var i,r=new L;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(function(){i=e[X](),r.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof I?e:new I(Q(e))}function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(oe(function(n,i){return re(e(n,i)).pipe(ee(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ae(e,n))})}var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_(this,e),this.project=t,this.concurrent=n}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new se(e,this.project,this.concurrent))}}]),e}(),se=function(e){d(n,e);var t=p(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return w(n,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}($);function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return oe(P,e)}function ce(e,t){return t?ie(e,t):new I(V(e))}function le(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof o&&(i=t.pop()),null===r&&1===t.length&&t[0]instanceof I?t[0]:ue(i)(ce(t,r))}function he(){return function(e){return e.lift(new fe(e))}}var de,fe=function(){function e(t){_(this,e),this.connectable=t}return w(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new pe(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),pe=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).connectable=i,r}return w(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(O),ge=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return w(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new L).add(this.source.subscribe(new ve(this.getSubject(),this))),e.closed&&(this._connection=null,e=L.EMPTY)),e}},{key:"refCount",value:function(){return he()(this)}}]),n}(I),me={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(de=ge.prototype)._subscribe},_isComplete:{value:de._isComplete,writable:!0},getSubject:{value:de.getSubject},connect:{value:de.connect},refCount:{value:de.refCount}},ve=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).connectable=i,r}return w(n,[{key:"_error",value:function(e){this._unsubscribe(),h(y(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),h(y(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(j);function ye(){return new Y}function _e(){return function(e){return he()((t=ye,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,me);return i.source=e,i.subjectFactory=n,i})(e));var t}}function be(e){for(var t in e)if(e[t]===be)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ae(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var ke=be({__forward_ref__:be});function Te(e){return e.__forward_ref__=Te,e.toString=function(){return Me(this())},e}function Se(e){return Ce(e)?e():e}function Ce(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Te}var Ee=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(c(Error));function Le(e){return"string"==typeof e?e:null==e?"":String(e)}function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Le(e)}function Re(e,t){var n=t?" in ".concat(t):"";throw new Ee("201","No provider for ".concat(ze(e)," found").concat(n))}function Oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xe(e){return{providers:e.providers||[],imports:e.imports||[]}}function De(e){return Pe(e,Be)||Pe(e,He)}function Pe(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(Fe)||e.hasOwnProperty(qe))?e[Fe]:null}var Ie,Be=be({"\u0275prov":be}),Fe=be({"\u0275inj":be}),He=be({ngInjectableDef:be}),qe=be({ngInjectorDef:be}),je=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function Ye(e){var t=Ie;return Ie=e,t}function We(e,t,n){var i=De(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&je.Optional?null:void 0!==t?t:void Re(Me(e),"Injector")}function Ue(e){return{toString:e}.toString()}var Ke=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ve=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Xe="undefined"!=typeof globalThis&&globalThis,Ge="undefined"!=typeof window&&window,Je="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Qe="undefined"!=typeof global&&global,Ze=Xe||Qe||Ge||Je,$e={},et=[],tt=be({"\u0275cmp":be}),nt=be({"\u0275dir":be}),it=be({"\u0275pipe":be}),rt=be({"\u0275mod":be}),ot=be({"\u0275loc":be}),at=be({"\u0275fac":be}),st=be({__NG_ELEMENT_ID__:be}),ut=0;function ct(e){return Ue(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ke.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||et,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ve.Emulated,id:"c",styles:e.styles||et,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=ut++,n.inputs=pt(e.inputs,t),n.outputs=pt(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(lt)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(ht)}:null,n})}function lt(e){return vt(e)||function(e){return e[nt]||null}(e)}function ht(e){return function(e){return e[it]||null}(e)}var dt={};function ft(e){return Ue(function(){var t={type:e.type,bootstrap:e.bootstrap||et,declarations:e.declarations||et,imports:e.imports||et,exports:e.exports||et,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(dt[e.id]=e.type),t})}function pt(e,t){if(null==e)return $e;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var gt=ct;function mt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function vt(e){return e[tt]||null}function yt(e,t){var n=e[rt]||null;if(!n&&!0===t)throw new Error("Type ".concat(Me(e)," does not have '\u0275mod' property."));return n}function _t(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function wt(e){return 0!=(8&e.flags)}function Mt(e){return 2==(2&e.flags)}function At(e){return 1==(1&e.flags)}function kt(e){return null!==e.template}function Tt(e,t){return e.hasOwnProperty(at)?e[at]:null}var St,Ct=function(){function e(t,n,i){_(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return w(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Et(){return Lt}function Lt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Rt),zt}function zt(){var e=Ot(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===$e)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Rt(e,t,n,i){var r=Ot(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:$e,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new Ct(u&&u.currentValue,t,a===$e),e[i]=t}function Ot(e){return e.__ngSimpleChanges__||null}function xt(){return void 0!==St?St:"undefined"!=typeof document?document:void 0}function Dt(e){return!!e.listen}Et.ngInherit=!0;var Pt={createRenderer:function(e,t){return xt()}};function Nt(e){for(;Array.isArray(e);)e=e[0];return e}function It(e,t){return Nt(t[e])}function Bt(e,t){return Nt(t[e.index])}function Ft(e,t){return e.data[t]}function Ht(e,t){return e[t]}function qt(e,t){var n=t[e];return _t(n)?n:n[0]}function jt(e){return 4==(4&e[2])}function Yt(e){return 128==(128&e[2])}function Wt(e,t){return null==t?null:e[t]}function Ut(e){e[18]=0}function Kt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Vt={lFrame:yn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Xt(){return Vt.bindingsEnabled}function Gt(){return Vt.lFrame.lView}function Jt(){return Vt.lFrame.tView}function Qt(e){return Vt.lFrame.contextLView=e,e[8]}function Zt(){for(var e=$t();null!==e&&64===e.type;)e=e.parent;return e}function $t(){return Vt.lFrame.currentTNode}function en(e,t){var n=Vt.lFrame;n.currentTNode=e,n.isParent=t}function tn(){return Vt.lFrame.isParent}function nn(){Vt.lFrame.isParent=!1}function rn(){return Vt.isInCheckNoChangesMode}function on(e){Vt.isInCheckNoChangesMode=e}function an(){var e=Vt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function sn(){return Vt.lFrame.bindingIndex}function un(){return Vt.lFrame.bindingIndex++}function cn(e){var t=Vt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ln(e){Vt.lFrame.currentDirectiveIndex=e}function hn(e){var t=Vt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function dn(){return Vt.lFrame.currentQueryIndex}function fn(e){Vt.lFrame.currentQueryIndex=e}function pn(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function gn(e,t,n){if(n&je.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&je.Host||(i=pn(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var o=Vt.lFrame=vn();return o.currentTNode=t,o.lView=e,!0}function mn(e){var t=vn(),n=e[1];Vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vn(){var e=Vt.lFrame,t=null===e?null:e.child;return null===t?yn(e):t}function yn(e){var t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function _n(){var e=Vt.lFrame;return Vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var bn=_n;function wn(){var e=_n();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Mn(){return Vt.lFrame.selectedIndex}function An(e){Vt.lFrame.selectedIndex=e}function kn(){var e=Vt.lFrame;return Ft(e.tView,e.selectedIndex)}function Tn(){Vt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Sn(){Vt.lFrame.currentNamespace=null}function Cn(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var xn=function e(t,n,i){_(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Dn(e,t,n){for(var i=Dt(e),r=0;rt){a=o-1;break}}}for(;o>16,i=t;n>0;)i=i[15],n--;return i}var jn=!0;function Yn(e){var t=jn;return jn=e,t}var Wn=0;function Un(e,t){var n=Vn(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Kn(i.data,e),Kn(t,null),Kn(i.blueprint,null));var r=Xn(e,t),o=e.injectorIndex;if(Fn(r))for(var a=Hn(r),s=qn(r,t),u=s[1].data,c=0;c<8;c++)t[o+c]=s[a+c]|u[a+c];return t[o+8]=r,o}function Kn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Xn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Gn(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(st)&&(i=n[st]),null==i&&(i=n[st]=Wn++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:je.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(st)?e[st]:void 0;return"number"==typeof t?t>=0?255&t:ei:t}(n);if("function"==typeof o){if(!gn(t,e,i))return i&je.Host?Jn(r,n,i):Qn(t,n,i,r);try{var a=o(i);if(null!=a||i&je.Optional)return a;Re(n)}finally{bn()}}else if("number"==typeof o){var s=null,u=Vn(e,t),c=-1,l=i&je.Host?t[16][6]:null;for((-1===u||i&je.SkipSelf)&&(-1!==(c=-1===u?Xn(e,t):t[u+8])&&oi(i,!1)?(s=t[1],u=Hn(c),t=qn(c,t)):u=-1);-1!==u;){var h=t[1];if(ri(o,u,h.data)){var d=ti(u,t,n,s,i,l);if(d!==$n)return d}-1!==(c=t[u+8])&&oi(i,t[1].data[u+8]===l)&&ri(o,u,t)?(s=h,u=Hn(c),t=qn(c,t)):u=-1}}}return Qn(t,n,i,r)}var $n={};function ei(){return new ai(Zt(),Gt())}function ti(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],u=ni(s,a,n,null==i?Mt(s)&&jn:i!=a&&0!=(3&s.type),r&je.Host&&o===s);return null!==u?ii(t,a,u,s):$n}function ni(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,u=e.directiveStart,c=o>>20,l=r?s+c:e.directiveEnd,h=i?s:s+c;h=u&&d.type===n)return h}if(r){var f=a[u];if(f&&kt(f)&&f.type===n)return u}return null}function ii(e,t,n,i){var r=e[n],o=t.data;if(r instanceof xn){var a=r;a.resolving&&function(e,t){throw new Ee("200","Circular dependency in DI detected for ".concat(e))}(ze(o[n]));var s=Yn(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?Ye(a.injectImpl):null;gn(e,i,je.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=Lt(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==u&&Ye(u),Yn(s),a.resolving=!1,bn()}}return r}function ri(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function vi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yi(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function bi(e,t){var n=wi(e,t);if(n>=0)return e[1|n]}function wi(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var Mi,Ai={},ki=/\n/gm,Ti=be({provide:String,useValue:be});function Si(e){var t=Mi;return Mi=e,t}function Ci(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.Default;if(void 0===Mi)throw new Error("inject() must be called from an injection context");return null===Mi?We(e,void 0,t):Mi.get(e,t&je.Optional?null:void 0,t)}function Ei(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.Default;return(Ie||Ci)(Se(e),t)}var Li=Ei;function zi(e){for(var t=[],n=0;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ar.hasOwnProperty(t)&&!nr.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(pr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),dr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fr=/([^\#-~ |!])/g;function pr(e){return e.replace(/&/g,"&").replace(dr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(fr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function gr(e,t){var n=null;try{tr=tr||function(e){var t=new Gi(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ii(""),"text/html")}catch(e){return!1}}()?new Xi(t):t}(e);var i=t?String(t):"";n=tr.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=tr.getInertBodyElement(i)}while(i!==o);return Ii((new hr).sanitizeChildren(mr(n)||n))}finally{if(n)for(var a=mr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function mr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function yr(e){var t=br();return t?Bi(t.sanitize(vr.HTML,e)||""):Ki(e,"HTML")?Bi(Ui(e)):gr(xt(),Le(e))}function _r(e){var t=br();return t?t.sanitize(vr.URL,e)||"":Ki(e,"URL")?Ui(e):Zi(Le(e))}function br(){var e=Gt();return e&&e[12]}function wr(e,t){e.__ngContext__=t}function Mr(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ar(e){return e.ngDebugContext}function kr(e){return e.ngOriginalError}function Tr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[i-1][4]=r[4]);var a=vi(e,10+t);to(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function qr(e,t){if(!(256&t[2])){var n=t[11];Dt(n)&&n.destroyNode&&to(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return jr(e[1],e);for(;t;){var n=null;if(_t(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)_t(t)&&jr(t[1],t),t=t[3];null===t&&(t=e),_t(t)&&jr(t[1],t),n=t&&t[4]}t=n}}(t)}}function jr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{var l=i[r=n[o+1]];n[o].call(l)}if(null!==i){for(var h=r+1;ho?"":r[l+1].toLowerCase();var d=8&i?h:null;if(d&&-1!==oo(d,c,0)||2&i&&c!==h){if(lo(i))return!1;a=!0}}}}else{if(!a&&!lo(i)&&!lo(u))return!1;if(a&&lo(u))continue;a=!1,i=u|1&i}}return lo(i)||a}function lo(e){return 0==(1&e)}function ho(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||lo(a)||(t+=go(o,r),r=""),i=a,o=o||!lo(i);n++}return""!==r&&(t+=go(o,r)),t}var vo={};function yo(e){_o(Jt(),Gt(),Mn()+e,rn())}function _o(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&En(t,r,n)}else{var o=e.preOrderHooks;null!==o&&Ln(t,o,0,n)}An(n)}function bo(e,t){return e<<17|t<<2}function wo(e){return e>>17&32767}function Mo(e){return 2|e}function Ao(e){return(131068&e)>>2}function ko(e,t){return-131069&e|t<<2}function To(e){return 1|e}function So(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&_o(e,t,20,rn()),n(i,r)}finally{An(o)}}function Do(e,t,n){if(wt(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:Bt,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function Wo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ko(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&ea(n)}}function ea(e){for(var t=Dr(e);null!==t;t=Pr(t))for(var n=10;n0&&ea(i)}var o=e[1].components;if(null!==o)for(var a=0;a0&&ea(s)}}function ta(e,t){var n=qt(t,e),i=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:Ai;if(t===Ai){var n=new Error("NullInjectorError: No provider for ".concat(Me(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),ya=new hi("Set Injector scope."),_a={},ba={};function wa(){return void 0===ga&&(ga=new va),ga}function Ma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Aa(e,n,t||wa(),i)}var Aa=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&gi(n,function(e){return r.processProvider(e,t,n)}),gi([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(ma,Sa(void 0,this));var s=this.records.get(ya);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:Me(t))}return w(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ai,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je.Default;this.assertNotDestroyed();var i,r=Si(this);try{if(!(n&je.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(i=e)||"object"==typeof i&&i instanceof hi)&&De(e);o=a&&this.injectableDefInScope(a)?Sa(ka(e),_a):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&je.Self?wa():this.parent).get(e,t=n&je.Optional&&t===Ai?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(Me(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=Me(t);if(Array.isArray(t))r=t.map(Me).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):Me(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(ki,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Si(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(Me(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=Se(e)))return!1;var r=Ne(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=Ne(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{gi(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var c=function(e){var t=u[e],n=t.ngModule,r=t.providers;gi(r,function(e){return i.processProvider(e,n,r||et)})},l=0;l0){var n=yi(t,"?");throw new Error("Can't resolve all parameters for ".concat(Me(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[Be]||e[He]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" 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 "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ta(e,t,n){var i,o;if(Ea(e)){var a=Se(e);return Tt(a)||ka(a)}if(Ca(e))i=function(){return Se(e.useValue)};else if((o=e)&&o.useFactory)i=function(){return e.useFactory.apply(e,r(zi(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return Ei(Se(e.useExisting))};else{var s=Se(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Tt(s)||ka(s);i=function(){return l(s,r(zi(e.deps)))}}return i}function Sa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ca(e){return null!==e&&"object"==typeof e&&Ti in e}function Ea(e){return"function"==typeof e}var La=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Ma(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},za=function(){var e=function(){function e(){_(this,e)}return w(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?La(e,t,""):La(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Ai,e.NULL=new va,e.\u0275prov=Oe({token:e,providedIn:"any",factory:function(){return Ei(ma)}}),e.__NG_ELEMENT_ID__=-1,e}();function Ra(e,t){Cn(Mr(e)[1],Zt())}function Oa(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=xa(e.inputs),o.declaredInputs=xa(e.declaredInputs),o.outputs=xa(e.outputs);var a=r.hostBindings;a&&Na(e,a);var s=r.viewQuery,u=r.contentQueries;if(s&&Da(e,s),u&&Pa(e,u),we(e.inputs,r.inputs),we(e.declaredInputs,r.declaredInputs),we(e.outputs,r.outputs),kt(r)&&r.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(r.data.animation)}}var l=r.features;if(l)for(var h=0;h=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=In(r.hostAttrs,n=In(n,r.hostAttrs))}}(i)}function xa(e){return e===$e?{}:e===et?[]:e}function Da(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Pa(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Na(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Ia=null;function Ba(){if(!Ia){var e=Ze.Symbol;if(e&&e.iterator)Ia=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:je.Default,n=Gt();return null===n?Ei(e,t):Zn(Zt(),n,Se(e),t)}function Qa(e,t,n){var i=Gt();return Ya(i,un(),t)&&qo(Jt(),kn(),i,e,t,i[11],n,!1),Qa}function Za(e,t,n,i,r){var o=r?"class":"style";da(e,n,t.inputs[o],o,i)}function $a(e,t,n,i){var r=Gt(),o=Jt(),a=20+e,s=r[11],u=r[a]=Br(s,t,Vt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,u=Eo(t,e,2,r,Wt(s,o));return jo(t,n,u,Wt(s,a)),null!==u.attrs&&pa(u,u.attrs,!1),null!==u.mergedAttrs&&pa(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(a,o,r,0,t,n,i):o.data[a];en(c,!0);var l=c.mergedAttrs;null!==l&&Dn(s,u,l);var h=c.classes;null!==h&&ro(s,u,h);var d=c.styles;null!==d&&io(s,u,d),64!=(64&c.flags)&&Jr(o,r,u,c),0===Vt.lFrame.elementDepthCount&&wr(u,r),Vt.lFrame.elementDepthCount++,At(c)&&(Po(o,r,c),Do(o,c,r)),null!==i&&No(r,c)}function es(){var e=Zt();tn()?nn():en(e=e.parent,!1);var t=e;Vt.lFrame.elementDepthCount--;var n=Jt();n.firstCreatePass&&(Cn(n,e),wt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Za(n,t,Gt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Za(n,t,Gt(),t.stylesWithoutHost,!1)}function ts(e,t,n,i){$a(e,t,n,i),es()}function ns(e,t,n){var i=Gt(),r=Jt(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Wt(o,i),s=Eo(t,e,8,"ng-container",a);return null!==a&&pa(s,a,!0),jo(t,n,s,Wt(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];en(a,!0);var s=i[o]=i[11].createComment("");Jr(r,i,s,a),wr(s,i),At(a)&&(Po(r,i,a),Do(r,a,i)),null!=n&&No(i,a)}function is(){var e=Zt(),t=Jt();tn()?nn():en(e=e.parent,!1),t.firstCreatePass&&(Cn(t,e),wt(e)&&t.queries.elementEnd(e))}function rs(e,t,n){ns(e,t,n),is()}function os(){return Gt()}function as(e){return!!e&&"function"==typeof e.then}function ss(e){return!!e&&"function"==typeof e.subscribe}var us=ss;function cs(e,t,n,i){var r=Gt(),o=Jt(),a=Zt();return hs(o,r,r[11],a,e,t,!!n,i),cs}function ls(e,t){var n=Zt(),i=Gt(),r=Jt();return hs(r,i,la(hn(r.data),n,i),n,e,t,!1),ls}function hs(e,t,n,i,r,o,a,s){var u=At(i),c=e.firstCreatePass&&ca(e),l=ua(t),h=!0;if(3&i.type||s){var d=Bt(i,t),f=s?s(d):d,p=l.length,g=s?function(e){return s(Nt(e[i.index]))}:i.index;if(Dt(n)){var m=null;if(!s&&u&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=fs(i,t,0,o,!1);var v=n.listen(f,r,o);l.push(o,v),c&&c.push(r,g,p,p+1)}}else o=fs(i,t,0,o,!0),f.addEventListener(r,o,a),l.push(o),c&&c.push(r,g,p,a)}else o=fs(i,t,0,o,!1);var y,_=i.outputs;if(h&&null!==_&&(y=_[r])){var b=y.length;if(b)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Vt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Vt.lFrame.contextLView))[8]}(e)}function gs(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Gt(),r=Jt(),o=Eo(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),nn(),64!=(64&o.flags)&&function(e,t,n){no(t[11],0,t,n,Yr(e,n,t),Xr(n.parent||t[6],n,t))}(r,i,o)}function ys(e,t,n){return _s(e,"",t,"",n),ys}function _s(e,t,n,i,r){var o=Gt(),a=Ka(o,t,n,i);return a!==vo&&qo(Jt(),kn(),o,e,a,o[11],r,!1),_s}function bs(e,t,n,i,r,o,a){var s=Gt(),u=Va(s,t,n,i,r,o);return u!==vo&&qo(Jt(),kn(),s,e,u,s[11],a,!1),bs}function ws(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?wo(o):Ao(o),u=!1;0!==s&&(!1===u||a);){var c=e[s+1];Ms(e[s],t)&&(u=!0,e[s+1]=i?To(c):Mo(c)),s=i?wo(c):Ao(c)}u&&(e[n+1]=i?Mo(o):To(o))}function Ms(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wi(e,t)>=0}var As={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ks(e){return e.substring(As.key,As.keyEnd)}function Ts(e,t){var n=As.textEnd;return n===t?-1:(t=As.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,As.key=t,n),Ss(e,t,n))}function Ss(e,t,n){for(;t=0;n=Ts(t,n))_i(e,ks(t),!0)}function Rs(e,t,n,i){var r=Gt(),o=Jt(),a=cn(2);o.firstUpdatePass&&Ds(o,e,a,i),t!==vo&&Ya(r,a,t)&&Is(o,o.data[Mn()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Me(Ui(e)))),e}(t,n),i,a)}function Os(e,t,n,i){var r=Jt(),o=cn(2);r.firstUpdatePass&&Ds(r,null,o,i);var a=Gt();if(n!==vo&&Ya(a,o,n)){var s=r.data[Mn()];if(Hs(s,i)&&!xs(r,o)){var u=i?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=Ae(u,n||"")),Za(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===vo&&(r=et);for(var u=0,c=0,l=0=e.expandoStartIndex}function Ds(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[Mn()],a=xs(e,n);Hs(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=hn(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ns(n=Ps(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Ps(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Ao(i))return e[wo(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[wo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Ns(s=Ps(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(l=!0)}else c=n;if(r)if(0!==u){var d=wo(e[s+1]);e[i+1]=bo(d,s),0!==d&&(e[d+1]=ko(e[d+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=bo(s,0),0!==s&&(e[s+1]=ko(e[s+1],i)),s=i;else e[i+1]=bo(u,0),0===s?s=i:e[u+1]=ko(e[u+1],i),u=i;l&&(e[i+1]=Mo(e[i+1])),ws(e,c,i,!0),ws(e,c,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&wi(o,t)>=0&&(n[i+1]=To(n[i+1]))}(t,c,e,i,o),a=bo(s,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Ps(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=e[r],c=Array.isArray(u),l=c?u[1]:u,h=null===l,d=n[r+1];d===vo&&(d=h?et:void 0);var f=h?bi(d,i):l===i?d:void 0;if(c&&!Fs(f)&&(f=bi(u,i)),Fs(f)&&(a=f,s))return a;var p=e[r+1];r=s?wo(p):Ao(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(a=bi(g,i))}return a}function Fs(e){return void 0!==e}function Hs(e,t){return 0!=(e.flags&(t?16:32))}function qs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Gt(),i=Jt(),r=e+20,o=i.firstCreatePass?Eo(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return Dt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Jr(i,n,a,o),en(o,!1)}function js(e){return Ys("",e,""),js}function Ys(e,t,n){var i=Gt(),r=Ka(i,e,t,n);return r!==vo&&fa(i,Mn(),r),Ys}function Ws(e,t,n,i,r){var o=Gt(),a=Va(o,e,t,n,i,r);return a!==vo&&fa(o,Mn(),a),Ws}function Us(e,t,n,i,r,o,a,s,u,c,l){var h=Gt(),d=function(e,t,n,i,r,o,a,s,u,c,l,h){var d=sn(),f=function(e,t,n,i,r,o){var a=Wa(e,t,n,i);return Wa(e,t+2,r,o)||a}(e,d,n,r,a,u);return f=Ya(e,d+4,l)||f,cn(5),f?t+Le(n)+i+Le(r)+o+Le(a)+s+Le(u)+c+Le(l)+h:vo}(h,e,t,n,i,r,o,a,s,u,c,l);return d!==vo&&fa(h,Mn(),d),Us}function Ks(e,t,n){Os(_i,zs,Ka(Gt(),e,t,n),!0)}function Vs(e,t,n){var i=Gt();return Ya(i,un(),t)&&qo(Jt(),kn(),i,e,t,i[11],n,!0),Vs}function Xs(e,t,n){var i=Gt();if(Ya(i,un(),t)){var r=Jt(),o=kn();qo(r,o,i,e,t,la(hn(r.data),o,i),n,!0)}return Xs}var Gs=void 0,Js=["en",[["a","p"],["AM","PM"],Gs],[["AM","PM"],Gs,Gs],[["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"]],Gs,[["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"]],Gs,[["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}",Gs,"{1} 'at' {0}",Gs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Qs={};function Zs(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=$s(t);if(n)return n;var i=t.split("-")[0];if(n=$s(i))return n;if("en"===i)return Js;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function $s(e){return e in Qs||(Qs[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),Qs[e]}var eu=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function tu(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function nu(e,t,n,i,r){if(e=Se(e),Array.isArray(e))for(var o=0;o>20;if(Ea(e)||!e.multi){var p=new xn(c,r,Ja),g=ou(u,t,r?h:h+f,d);-1===g?(Gn(Un(l,s),a,u),iu(a,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var m=ou(u,t,h+f,d),v=ou(u,t,h,h+f),y=m>=0&&n[m],_=v>=0&&n[v];if(r&&!_||!r&&!y){Gn(Un(l,s),a,u);var b=function(e,t,n,i,r){var o=new xn(e,n,Ja);return o.multi=[],o.index=t,o.componentProviders=0,ru(o,r,i&&!n),o}(r?su:au,n.length,r,i,c);!r&&_&&(n[v].providerFactory=b),iu(a,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(b),s.push(b)}else iu(a,e,m>-1?m:v,ru(n[r?v:m],c,!r&&i));!r&&i&&_&&n[v].componentProviders++}}}function iu(e,t,n,i){var r=Ea(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function ru(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ou(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=Jt();if(i.firstCreatePass){var r=kt(e);nu(n,i.data,i.blueprint,r,!0),nu(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var lu=function e(){_(this,e)},hu=function(){function e(){_(this,e)}return w(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(Me(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),du=function(){var e=function e(){_(this,e)};return e.NULL=new hu,e}();function fu(){}function pu(e,t){return new mu(Bt(e,t))}var gu=function(){return pu(Zt(),Gt())},mu=function(){var e=function e(t){_(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=gu,e}();function vu(e){return e instanceof mu?e.nativeElement:e}var yu=function e(){_(this,e)},_u=function(){var e=function e(){_(this,e)};return e.__NG_ELEMENT_ID__=function(){return bu()},e}(),bu=function(){var e=Gt(),t=qt(Zt().index,e);return function(e){return e[11]}(_t(t)?t:e)},wu=function(){var e=function e(){_(this,e)};return e.\u0275prov=Oe({token:e,providedIn:"root",factory:function(){return null}}),e}(),Mu=function e(t){_(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Au=new Mu("12.0.5"),ku=function(){function e(){_(this,e)}return w(e,[{key:"supports",value:function(e){return Ha(e)}},{key:"create",value:function(e){return new Su(e)}}]),e}(),Tu=function(e,t){return t},Su=function(){function e(t){_(this,e),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=t||Tu}return w(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=t[n.index];if(null!==a&&i.push(Nt(a)),bt(a))for(var s=10;s-1&&(Hr(e,n),vi(t,n))}this._attachedToViewContainer=!1}qr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Fo(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){ia(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ra(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){on(!0);try{ra(e,t,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,to(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Hu=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this,e))._view=e,i}return w(n,[{key:"detectChanges",value:function(){oa(this._view)}},{key:"checkNoChanges",value:function(){!function(e){on(!0);try{oa(e)}finally{on(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Fu),qu=function(e){return function(e,t,n){if(Mt(e)&&!n){var i=qt(e.index,t);return new Fu(i,i)}return 47&e.type?new Fu(t[16],t):null}(Zt(),Gt(),16==(16&e))},ju=function(){var e=function e(){_(this,e)};return e.__NG_ELEMENT_ID__=qu,e}(),Yu=[new Ru],Wu=new Pu([new ku]),Uu=new Iu(Yu),Ku=function(){return Gu(Zt(),Gt())},Vu=function(){var e=function e(){_(this,e)};return e.__NG_ELEMENT_ID__=Ku,e}(),Xu=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return w(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Co(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),zo(t,n,e),new Fu(n)}}]),n}(Vu);function Gu(e,t){return 4&e.type?new Xu(t,e,pu(e,t)):null}var Ju=function e(){_(this,e)},Qu=function e(){_(this,e)},Zu=function(){return ic(Zt(),Gt())},$u=function(){var e=function e(){_(this,e)};return e.__NG_ELEMENT_ID__=Zu,e}(),ec=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return w(n,[{key:"element",get:function(){return pu(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new ai(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Xn(this._hostTNode,this._hostLView);if(Fn(e)){var t=qn(e,this._hostLView),n=Hn(e);return new ai(t[1].data[n+8],t)}return new ai(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=tc(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(Ju,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(bt(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var u=this._adjustIndex(t),c=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}($u);function tc(e){return e[8]}function nc(e){return e[8]||(e[8]=[])}function ic(e,t){var n,i=t[e.index];if(bt(i))n=i;else{var r;if(8&e.type)r=Nt(i);else{var o=t[11];r=o.createComment("");var a=Bt(e,t);Wr(o,Vr(o,a),r,function(e,t){return Dt(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=Zo(i,t,r,e),na(t,n)}return new ec(n,e,t)}var rc={},oc=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this)).ngModule=e,i}return w(n,[{key:"resolveComponentFactory",value:function(e){var t=vt(e);return new uc(t,this.ngModule)}}]),n}(du);function ac(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var sc=new hi("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Cr}}),uc=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(mo).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return w(n,[{key:"inputs",get:function(){return ac(this.componentDef.inputs)}},{key:"outputs",get:function(){return ac(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,rc,r);return o!==rc||i===rc?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(yu,Pt),u=a.get(wu,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Dt(e))return e.selectRootElement(t,n===Ve.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(c,n,this.componentDef.encapsulation):Br(s.createRenderer(null,this.componentDef),l,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f={components:[],scheduler:Cr,clean:sa,playerHandler:null,flags:0},p=Bo(0,null,null,1,0,null,null,null,null,null),g=Co(null,p,f,d,null,null,s,c,u,a);mn(g);try{var m=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=Eo(a,20,2,"#host",null),u=s.mergedAttrs=t.hostAttrs;null!==u&&(pa(s,u,!0),null!==e&&(Dn(r,e,u),null!==s.classes&&ro(r,e,s.classes),null!==s.styles&&io(r,e,s.styles)));var c=i.createRenderer(e,t),l=Co(n,Io(t),null,t.onPush?64:16,n[20],s,i,c,null,null);return a.firstCreatePass&&(Gn(Un(s,n),a,t.type),Uo(a,s),Vo(s,n.length,1)),na(n,l),n[20]=l}(h,this.componentDef,g,s,c);if(h)if(n)Dn(c,h,["ng-version",Au.full]);else{var v=function(e){for(var t=[],n=[],i=1,r=2;i0&&ro(c,h,_.join(" "))}if(o=Ft(p,20),void 0!==t)for(var b=o.projection=[],w=0;w1&&void 0!==arguments[1]?arguments[1]:za.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je.Default;return e===za||e===Ju||e===ma?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Ju),dc=function(e){d(n,e);var t=p(n);function n(e){var i,r,o;return _(this,n),(i=t.call(this)).moduleType=e,null!==yt(e)&&(r=e,o=new Set,function e(t){var n=yt(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Me(t)," vs ").concat(Me(t.name)))}(i,lc.get(i),t),lc.set(i,t));var r,s=a(zr(n.imports));try{for(s.s();!(r=s.n()).done;){var u=r.value;o.has(u)||(o.add(u),e(u))}}catch(c){s.e(c)}finally{s.f()}}(r)),i}return w(n,[{key:"create",value:function(e){return new hc(this.moduleType,e)}}]),n}(Qu);function fc(e,t,n){var i=an()+e,r=Gt();return r[i]===vo?ja(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function pc(e,t,n,i){return vc(Gt(),an(),e,t,n,i)}function gc(e,t,n,i,r){return yc(Gt(),an(),e,t,n,i,r)}function mc(e,t){var n=e[t];return n===vo?void 0:n}function vc(e,t,n,i,r,o){var a=t+n;return Ya(e,a,r)?ja(e,a+1,o?i.call(o,r):i(r)):mc(e,a+1)}function yc(e,t,n,i,r,o,a){var s=t+n;return Wa(e,s,r,o)?ja(e,s+2,a?i.call(a,r,o):i(r,o)):mc(e,s+2)}function _c(e,t){var n,i=Jt(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Ee("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=Tt(n.type)),a=Ye(Ja);try{var s=Yn(!1),u=o();return Yn(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,Gt(),r,u),u}finally{Ye(a)}}function bc(e,t,n){var i=e+20,r=Gt(),o=Ht(r,i);return kc(r,Ac(r,i)?vc(r,an(),t,o.transform,n,o):o.transform(n))}function wc(e,t,n,i){var r=e+20,o=Gt(),a=Ht(o,r);return kc(o,Ac(o,r)?yc(o,an(),t,a.transform,n,i,a):a.transform(n,i))}function Mc(e,t,n,i,r){var o=e+20,a=Gt(),s=Ht(a,o);return kc(a,Ac(a,o)?function(e,t,n,i,r,o,a,s){var u=t+n;return function(e,t,n,i,r){var o=Wa(e,t,n,i);return Ya(e,t+2,r)||o}(e,u,r,o,a)?ja(e,u+3,s?i.call(s,r,o,a):i(r,o,a)):mc(e,u+3)}(a,an(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function Ac(e,t){return e[1].data[t].pure}function kc(e,t){return Fa.isWrapped(t)&&(t=Fa.unwrap(t),e[sn()]=vo),t}function Tc(e){return function(t){setTimeout(e,void 0,t)}}var Sc=function(e){d(n,e);var t=p(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _(this,n),(e=t.call(this)).__isAsync=i,e}return w(n,[{key:"emit",value:function(e){h(y(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var r,o,a,s=e,u=t||function(){return null},c=i;if(e&&"object"==typeof e){var l=e;s=null===(r=l.next)||void 0===r?void 0:r.bind(l),u=null===(o=l.error)||void 0===o?void 0:o.bind(l),c=null===(a=l.complete)||void 0===a?void 0:a.bind(l)}this.__isAsync&&(u=Tc(u),s&&(s=Tc(s)),c&&(c=Tc(c)));var d=h(y(n.prototype),"subscribe",this).call(this,{next:s,error:u,complete:c});return e instanceof L&&e.add(d),d}}]),n}(Y);function Cc(){return this._results[Ba()]()}var Ec=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Ba(),i=e.prototype;i[n]||(i[n]=Cc)}return w(e,[{key:"changes",get:function(){return this._changes||(this._changes=new Sc)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=pi(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_(this,e),this.queries=t}return w(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;_(this,e),this.predicate=t,this.flags=n,this.read=i},Oc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_(this,e),this.queries=t}return w(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return w(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(a[s/2]);else{for(var c=o[s+1],l=t[-u],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(dl))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),wl=function(){var e=function(){function e(){_(this,e),this._applications=new Map,Ml.addToWindow(this)}return w(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ml.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Ml=new(function(){function e(){_(this,e)}return w(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Al=!0,kl=!1;function Tl(){return kl=!0,Al}var Sl=new hi("AllowMultipleToken"),Cl=function e(t,n){_(this,e),this.name=t,this.token=n};function El(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new hi(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ll();if(!o||o.injector.get(Sl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:ya,useValue:"platform"});!function(e){if(yl&&!yl.destroyed&&!yl.injector.get(Sl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");yl=e.get(zl);var t=e.get(Jc,null);t&&t.forEach(function(e){return e()})}(za.create({providers:a,name:i}))}return function(e){var t=Ll();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Ll(){return yl&&!yl.destroyed?yl:null}var zl=function(){var e=function(){function e(t){_(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return w(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new _l:("zone.js"===n?void 0:n)||new dl({enableLongStackTrace:Tl(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),a=[{provide:dl,useValue:o}];return o.run(function(){var t=za.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Sr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){Dl(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var o=((a=n.injector.get(Kc)).runInitializers(),a.donePromise.then(function(){return tu(n.injector.get(el,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return as(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(i,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Rl({},n);return function(e,t,n){var i=new dc(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(xl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(Me(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(za))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}();function Rl(e,t){return Array.isArray(t)?t.reduce(Rl,e):Object.assign(Object.assign({},e),t)}var Ol,xl=((Ol=function(){function e(t,n,i,r,o){var a=this;_(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new I(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),u=new I(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){dl.assertNotInAngularZone(),hl(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){dl.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=le(s,u.pipe(_e()))}return w(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof lu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(Ju),o=n.create(za.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(bl,null),u=s&&o.injector.get(wl);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),Dl(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=a(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Dl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Zc,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Ol)(Ei(dl),Ei(za),Ei(Sr),Ei(du),Ei(Kc))},Ol.\u0275prov=Oe({token:Ol,factory:Ol.\u0275fac}),Ol);function Dl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pl=function e(){_(this,e)},Nl=function e(){_(this,e)},Il={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Bl=function(){var e=function(){function e(t,n){_(this,e),this._compiler=t,this._config=n||Il}return w(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var n=this,i=t(e.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),v(1730)(r).then(function(e){return e[o]}).then(function(e){return Fl(e,r,o)}).then(function(e){return n._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var n=t(e.split("#"),2),i=n[0],r=n[1],o="NgFactory";return void 0===r&&(r="default",o=""),v(1730)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return Fl(e,i,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(cl),Ei(Nl,8))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}();function Fl(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Hl=El(null,"core",[{provide:Qc,useValue:"unknown"},{provide:zl,deps:[za]},{provide:wl,deps:[]},{provide:$c,deps:[]}]),ql=[{provide:xl,useClass:xl,deps:[dl,za,Sr,du,Kc]},{provide:sc,deps:[dl],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Kc,useClass:Kc,deps:[[new Pi,Uc]]},{provide:cl,useClass:cl,deps:[]},Xc,{provide:Pu,useFactory:function(){return Wu},deps:[]},{provide:Iu,useFactory:function(){return Uu},deps:[]},{provide:el,useFactory:function(e){return tu(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Di(el),new Pi,new Ni]]},{provide:tl,useValue:"USD"}],jl=function(){var e=function e(t){_(this,e)};return e.\u0275fac=function(t){return new(t||e)(Ei(xl))},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:ql}),e}(),Yl=null;function Wl(){return Yl}var Ul=new hi("DocumentToken"),Kl=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:Vl,token:e,providedIn:"platform"}),e}();function Vl(){return Ei(Gl)}var Xl=new hi("Location Initialized"),Gl=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this))._doc=e,i._init(),i}return w(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return Wl().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=Wl().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=Wl().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){Jl()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){Jl()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(Kl);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:Ql,token:e,providedIn:"platform"}),e}();function Jl(){return!!window.history.pushState}function Ql(){return new Gl(Ei(Ul))}function Zl(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function $l(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function eh(e){return e&&"?"!==e[0]?"?"+e:e}var th=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:nh,token:e,providedIn:"root"}),e}();function nh(e){var t=Ei(Ul).location;return new rh(Ei(Kl),t&&t.origin||"")}var ih=new hi("appBaseHref"),rh=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;if(_(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)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.");return r._baseHref=i,g(r)}return w(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return Zl(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+eh(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+eh(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+eh(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(th);return e.\u0275fac=function(t){return new(t||e)(Ei(Kl),Ei(ih,8))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),oh=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return w(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=Zl(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+eh(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+eh(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(th);return e.\u0275fac=function(t){return new(t||e)(Ei(Kl),Ei(ih,8))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),ah=function(){var e=function(){function e(t,n){var i=this;_(this,e),this._subject=new Sc,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=$l(uh(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return w(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+eh(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,uh(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+eh(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+eh(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(th),Ei(Kl))},e.normalizeQueryParams=eh,e.joinWithSlash=Zl,e.stripTrailingSlash=$l,e.\u0275prov=Oe({factory:sh,token:e,providedIn:"root"}),e}();function sh(){return new ah(Ei(th),Ei(Kl))}function uh(e){return e.replace(/\/index.html$/,"")}var ch=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),lh=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),hh=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),dh=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),fh=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function ph(e,t){return _h(Zs(e)[eu.DateFormat],t)}function gh(e,t){return _h(Zs(e)[eu.TimeFormat],t)}function mh(e,t){return _h(Zs(e)[eu.DateTimeFormat],t)}function vh(e,t){var n=Zs(e),i=n[eu.NumberSymbols][t];if(void 0===i){if(t===fh.CurrencyDecimal)return n[eu.NumberSymbols][fh.Decimal];if(t===fh.CurrencyGroup)return n[eu.NumberSymbols][fh.Group]}return i}function yh(e){if(!e[eu.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[eu.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function _h(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function bh(e){var n=t(e.split(":"),2);return{hours:+n[0],minutes:+n[1]}}var wh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Mh={},Ah=/((?:[^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]*)/,kh=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Th=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),Sh=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Ch(e,n,i,r){var o=function(e){if(Hh(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var n=t(e.split("-").map(function(e){return+e}),3),i=n[0],r=n[1],o=void 0===r?1:r,a=n[2];return Eh(i,o-1,void 0===a?1:a)}var s,u=parseFloat(e);if(!isNaN(e-u))return new Date(u);if(s=e.match(wh))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-i,u=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,u,c),t}(s)}var c=new Date(e);if(!Hh(c))throw new Error('Unable to convert "'.concat(e,'" into a date'));return c}(e);n=Lh(i,n)||n;for(var a,s=[];n;){if(!(a=Ah.exec(n))){s.push(n);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;n=u}var c=o.getTimezoneOffset();r&&(c=Fh(r,c),o=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Fh(t,i)-i))}(o,r));var l="";return s.forEach(function(e){var t=function(e){if(Bh[e])return Bh[e];var t;switch(e){case"G":case"GG":case"GGG":t=xh(Sh.Eras,hh.Abbreviated);break;case"GGGG":t=xh(Sh.Eras,hh.Wide);break;case"GGGGG":t=xh(Sh.Eras,hh.Narrow);break;case"y":t=Oh(Th.FullYear,1,0,!1,!0);break;case"yy":t=Oh(Th.FullYear,2,0,!0,!0);break;case"yyy":t=Oh(Th.FullYear,3,0,!1,!0);break;case"yyyy":t=Oh(Th.FullYear,4,0,!1,!0);break;case"Y":t=Ih(1);break;case"YY":t=Ih(2,!0);break;case"YYY":t=Ih(3);break;case"YYYY":t=Ih(4);break;case"M":case"L":t=Oh(Th.Month,1,1);break;case"MM":case"LL":t=Oh(Th.Month,2,1);break;case"MMM":t=xh(Sh.Months,hh.Abbreviated);break;case"MMMM":t=xh(Sh.Months,hh.Wide);break;case"MMMMM":t=xh(Sh.Months,hh.Narrow);break;case"LLL":t=xh(Sh.Months,hh.Abbreviated,lh.Standalone);break;case"LLLL":t=xh(Sh.Months,hh.Wide,lh.Standalone);break;case"LLLLL":t=xh(Sh.Months,hh.Narrow,lh.Standalone);break;case"w":t=Nh(1);break;case"ww":t=Nh(2);break;case"W":t=Nh(1,!0);break;case"d":t=Oh(Th.Date,1);break;case"dd":t=Oh(Th.Date,2);break;case"c":case"cc":t=Oh(Th.Day,1);break;case"ccc":t=xh(Sh.Days,hh.Abbreviated,lh.Standalone);break;case"cccc":t=xh(Sh.Days,hh.Wide,lh.Standalone);break;case"ccccc":t=xh(Sh.Days,hh.Narrow,lh.Standalone);break;case"cccccc":t=xh(Sh.Days,hh.Short,lh.Standalone);break;case"E":case"EE":case"EEE":t=xh(Sh.Days,hh.Abbreviated);break;case"EEEE":t=xh(Sh.Days,hh.Wide);break;case"EEEEE":t=xh(Sh.Days,hh.Narrow);break;case"EEEEEE":t=xh(Sh.Days,hh.Short);break;case"a":case"aa":case"aaa":t=xh(Sh.DayPeriods,hh.Abbreviated);break;case"aaaa":t=xh(Sh.DayPeriods,hh.Wide);break;case"aaaaa":t=xh(Sh.DayPeriods,hh.Narrow);break;case"b":case"bb":case"bbb":t=xh(Sh.DayPeriods,hh.Abbreviated,lh.Standalone,!0);break;case"bbbb":t=xh(Sh.DayPeriods,hh.Wide,lh.Standalone,!0);break;case"bbbbb":t=xh(Sh.DayPeriods,hh.Narrow,lh.Standalone,!0);break;case"B":case"BB":case"BBB":t=xh(Sh.DayPeriods,hh.Abbreviated,lh.Format,!0);break;case"BBBB":t=xh(Sh.DayPeriods,hh.Wide,lh.Format,!0);break;case"BBBBB":t=xh(Sh.DayPeriods,hh.Narrow,lh.Format,!0);break;case"h":t=Oh(Th.Hours,1,-12);break;case"hh":t=Oh(Th.Hours,2,-12);break;case"H":t=Oh(Th.Hours,1);break;case"HH":t=Oh(Th.Hours,2);break;case"m":t=Oh(Th.Minutes,1);break;case"mm":t=Oh(Th.Minutes,2);break;case"s":t=Oh(Th.Seconds,1);break;case"ss":t=Oh(Th.Seconds,2);break;case"S":t=Oh(Th.FractionalSeconds,1);break;case"SS":t=Oh(Th.FractionalSeconds,2);break;case"SSS":t=Oh(Th.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Dh(kh.Short);break;case"ZZZZZ":t=Dh(kh.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Dh(kh.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Dh(kh.Long);break;default:return null}return Bh[e]=t,t}(e);l+=t?t(o,i,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Eh(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Lh(e,t){var n=function(e){return Zs(e)[eu.LocaleId]}(e);if(Mh[n]=Mh[n]||{},Mh[n][t])return Mh[n][t];var i="";switch(t){case"shortDate":i=ph(e,dh.Short);break;case"mediumDate":i=ph(e,dh.Medium);break;case"longDate":i=ph(e,dh.Long);break;case"fullDate":i=ph(e,dh.Full);break;case"shortTime":i=gh(e,dh.Short);break;case"mediumTime":i=gh(e,dh.Medium);break;case"longTime":i=gh(e,dh.Long);break;case"fullTime":i=gh(e,dh.Full);break;case"short":var r=Lh(e,"shortTime"),o=Lh(e,"shortDate");i=zh(mh(e,dh.Short),[r,o]);break;case"medium":var a=Lh(e,"mediumTime"),s=Lh(e,"mediumDate");i=zh(mh(e,dh.Medium),[a,s]);break;case"long":var u=Lh(e,"longTime"),c=Lh(e,"longDate");i=zh(mh(e,dh.Long),[u,c]);break;case"full":var l=Lh(e,"fullTime"),h=Lh(e,"fullDate");i=zh(mh(e,dh.Full),[l,h])}return i&&(Mh[n][t]=i),i}function zh(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Rh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));for(var a=String(e);a.length2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,u=function(e,t){switch(e){case Th.FullYear:return t.getFullYear();case Th.Month:return t.getMonth();case Th.Date:return t.getDate();case Th.Hours:return t.getHours();case Th.Minutes:return t.getMinutes();case Th.Seconds:return t.getSeconds();case Th.FractionalSeconds:return t.getMilliseconds();case Th.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||u>-n)&&(u+=n),e===Th.Hours)0===u&&-12===n&&(u=12);else if(e===Th.FractionalSeconds)return s=t,Rh(u,3).substr(0,s);var c=vh(a,fh.MinusSign);return Rh(u,t,c,i,r)}}function xh(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:lh.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(e,n,i,r,o,a){switch(i){case Sh.Months:return function(e,t,n){var i=Zs(e),r=_h([i[eu.MonthsFormat],i[eu.MonthsStandalone]],t);return _h(r,n)}(n,o,r)[e.getMonth()];case Sh.Days:return function(e,t,n){var i=Zs(e),r=_h([i[eu.DaysFormat],i[eu.DaysStandalone]],t);return _h(r,n)}(n,o,r)[e.getDay()];case Sh.DayPeriods:var s=e.getHours(),u=e.getMinutes();if(a){var c=function(e){var t=Zs(e);return yh(t),(t[eu.ExtraData][2]||[]).map(function(e){return"string"==typeof e?bh(e):[bh(e[0]),bh(e[1])]})}(n),l=function(e,t,n){var i=Zs(e);yh(i);var r=_h([i[eu.ExtraData][0],i[eu.ExtraData][1]],t)||[];return _h(r,n)||[]}(n,o,r),h=c.findIndex(function(e){if(Array.isArray(e)){var n=t(e,2),i=n[0],r=n[1],o=s>=i.hours&&u>=i.minutes,a=s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case kh.Short:return(r>=0?"+":"")+Rh(a,2,o)+Rh(Math.abs(r%60),2,o);case kh.ShortGMT:return"GMT"+(r>=0?"+":"")+Rh(a,1,o);case kh.Long:return"GMT"+(r>=0?"+":"")+Rh(a,2,o)+":"+Rh(Math.abs(r%60),2,o);case kh.Extended:return 0===i?"Z":(r>=0?"+":"")+Rh(a,2,o)+":"+Rh(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function Ph(e){return Eh(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Nh(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,o,a;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+s)/7)}else{var c=Ph(n),l=(o=c.getFullYear(),a=Eh(o,0,1).getDay(),Eh(o,0,1+(a<=4?4:11)-a)),h=c.getTime()-l.getTime();r=1+Math.round(h/6048e5)}return Rh(r,e,vh(i,fh.MinusSign))}}function Ih(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return Rh(Ph(n).getFullYear(),e,vh(i,fh.MinusSign),t)}}var Bh={};function Fh(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Hh(e){return e instanceof Date&&!isNaN(e.valueOf())}var qh=function e(){_(this,e)},jh=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this)).locale=e,i}return w(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return Zs(e)[eu.PluralCase]}(t||this.locale)(e)){case ch.Zero:return"zero";case ch.One:return"one";case ch.Two:return"two";case ch.Few:return"few";case ch.Many:return"many";default:return"other"}}}]),n}(qh);return e.\u0275fac=function(t){return new(t||e)(Ei(el))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}();function Yh(e,n){n=encodeURIComponent(n);var i,r=a(e.split(";"));try{for(r.s();!(i=r.n()).done;){var o=i.value,s=o.indexOf("="),u=t(-1==s?[o,""]:[o.slice(0,s),o.slice(s+1)],2),c=u[0],l=u[1];if(c.trim()===n)return decodeURIComponent(l)}}catch(h){r.e(h)}finally{r.f()}return null}var Wh=function(){var e=function(){function e(t,n,i,r){_(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return w(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Ha(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Me(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(Pu),Ja(Iu),Ja(mu),Ja(_u))},e.\u0275dir=gt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),Uh=function(){function e(t,n,i,r){_(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return w(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Kh=function(){var e=function(){function e(t,n,i){_(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return w(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Uh(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new Vh(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var u=new Vh(e,s);n.push(u)}});for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Ch(t,n,r||this.locale,i)}catch(o){throw nd(e,o.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(el,16))},e.\u0275pipe=mt({name:"date",type:e,pure:!0}),e}(),ld=((id=function e(){_(this,e)}).\u0275fac=function(e){return new(e||id)},id.\u0275mod=ft({type:id}),id.\u0275inj=xe({providers:[{provide:qh,useClass:jh}]}),id);function hd(e){return"browser"===e}function dd(e){return"server"===e}var fd=function(){var e=function e(){_(this,e)};return e.\u0275prov=Oe({token:e,providedIn:"root",factory:function(){return new pd(Ei(Ul),window)}}),e}(),pd=function(){function e(t,n){_(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return w(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var o=r.shadowRoot;if(o){var a=o.getElementById(t)||o.querySelector('[name="'.concat(t,'"]'));if(a)return a}r=i.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=gd(this.window.history)||gd(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function gd(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var md,vd=function e(){_(this,e)},yd=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(_d=_d||document.querySelector("base"))?_d.getAttribute("href"):null;return null==t?null:function(e){(md=md||document.createElement("a")).setAttribute("href",e);var t=md.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){_d=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return Yh(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,Yl||(Yl=e)}}]),n}(function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(function(){return function e(){_(this,e)}}())),_d=null,bd=new hi("TRANSITION_ID"),wd=[{provide:Uc,useFactory:function(e,t,n){return function(){n.get(Kc).donePromise.then(function(){var n=Wl();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[bd,Ul,za],multi:!0}],Md=function(){function e(){_(this,e)}return w(e,[{key:"addToWindow",value:function(e){Ze.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Ze.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ze.getAllAngularRootElements=function(){return e.getAllRootElements()},Ze.frameworkStabilizers||(Ze.frameworkStabilizers=[]),Ze.frameworkStabilizers.push(function(e){var t=Ze.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?Wl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Ml=t}}]),e}(),Ad=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),kd=new hi("EventManagerPlugins"),Td=function(){var e=function(){function e(t,n){var i=this;_(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return w(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&qd.hasOwnProperty(t)&&(t=qd[t]))}return Hd[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Fd.forEach(function(i){i!=n&&(0,jd[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(Sd);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Wd=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return Ei(Kd)},token:e,providedIn:"root"}),e}();function Ud(e){return new Kd(e.get(Ul))}var Kd=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this))._doc=e,i}return w(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case vr.NONE:return t;case vr.HTML:return Ki(t,"HTML")?Ui(t):gr(this._doc,String(t)).toString();case vr.STYLE:return Ki(t,"Style")?Ui(t):t;case vr.SCRIPT:if(Ki(t,"Script"))return Ui(t);throw new Error("unsafe value used in a script context");case vr.URL:return Vi(t),Ki(t,"URL")?Ui(t):Zi(String(t));case vr.RESOURCE_URL:if(Ki(t,"ResourceURL"))return Ui(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 ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new Hi(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new qi(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new ji(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new Yi(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new Wi(e)}}]),n}(Wd);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:function(){return Ud(Ei(ma))},token:e,providedIn:"root"}),e}(),Vd=El(Hl,"browser",[{provide:Qc,useValue:"browser"},{provide:Jc,useValue:function(){yd.makeCurrent(),Md.init()},multi:!0},{provide:Ul,useFactory:function(){return function(e){St=e}(document),document},deps:[]}]),Xd=[[],{provide:ya,useValue:"root"},{provide:Sr,useFactory:function(){return new Sr},deps:[]},{provide:kd,useClass:Bd,multi:!0,deps:[Ul,dl,Qc]},{provide:kd,useClass:Yd,multi:!0,deps:[Ul]},[],{provide:Dd,useClass:Dd,deps:[Td,Ed,Vc]},{provide:yu,useExisting:Dd},{provide:Cd,useExisting:Ed},{provide:Ed,useClass:Ed,deps:[Ul]},{provide:bl,useClass:bl,deps:[dl]},{provide:Td,useClass:Td,deps:[kd,dl]},{provide:vd,useClass:Ad,deps:[]},[]],Gd=function(){var e=function(){function e(t){if(_(this,e),t)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.")}return w(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:Vc,useValue:t.appId},{provide:bd,useExisting:Vc},wd]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(e,12))},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:Xd,imports:[ld,jl]}),e}();function Jd(){return new Qd(Ei(Ul))}var Qd=function(){var e=function(){function e(t){_(this,e),this._doc=t}return w(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:Jd,token:e,providedIn:"root"}),e}();function Zd(){for(var e=arguments.length,t=new Array(e),n=0;n0){var i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return w(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,r(n)),this.headers.set(t,i);break;case"d":var o=e.value;if(o){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),sf=function(){function e(){_(this,e)}return w(e,[{key:"encodeKey",value:function(e){return uf(e)}},{key:"encodeValue",value:function(e){return uf(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function uf(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function cf(e){return"".concat(e)}var lf=function(){function e(){var n,i,r,o=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_(this,e),this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new sf,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(n=a.fromString,i=this.encoder,r=new Map,n.length>0&&n.replace(/^\?/,"").split("&").forEach(function(e){var n=e.indexOf("="),o=t(-1==n?[i.decodeKey(e),""]:[i.decodeKey(e.slice(0,n)),i.decodeValue(e.slice(n+1))],2),a=o[0],s=o[1],u=r.get(a)||[];u.push(s),r.set(a,u)}),r)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(function(e){var t=a.fromObject[e];o.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return w(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(cf(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(cf(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),hf=function(){function e(){_(this,e),this.map=new Map}return w(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function df(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function ff(e){return"undefined"!=typeof Blob&&e instanceof Blob}function pf(e){return"undefined"!=typeof FormData&&e instanceof FormData}var gf=function(){function e(t,n,i,r){var o;if(_(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new af),this.context||(this.context=new hf),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},c)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},l)),new e(i,r,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),e}(),mf=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),vf=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_(this,e),this.headers=t.headers||new af,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},yf=function(e){d(n,e);var t=p(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(e=t.call(this,i)).type=mf.ResponseHeader,e}return w(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(vf),_f=function(e){d(n,e);var t=p(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(e=t.call(this,i)).type=mf.Response,e.body=void 0!==i.body?i.body:null,e}return w(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(vf),bf=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(vf);function wf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Mf,Af,kf,Tf,Sf,Cf,Ef,Lf,zf,Rf,Of,xf,Df,Pf,Nf=function(){var e=function(){function e(t){_(this,e),this.handler=t}return w(e,[{key:"request",value:function(e,t){var n,i,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof gf?n=e:(i=a.headers instanceof af?a.headers:new af(a.headers),a.params&&(r=a.params instanceof lf?a.params:new lf({fromObject:a.params})),n=new gf(e,t,void 0!==a.body?a.body:null,{headers:i,context:a.context,params:r,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials}));var s=Zd(n).pipe($d(function(e){return o.handler.handle(e)}));if(e instanceof gf||"events"===a.observe)return s;var u=s.pipe(ef(function(e){return e instanceof _f}));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return u.pipe(ee(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(ee(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(ee(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(ee(function(e){return e.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new lf).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,wf(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,wf(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,wf(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(rf))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),If=function(){function e(t,n){_(this,e),this.next=t,this.interceptor=n}return w(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),Bf=new hi("HTTP_INTERCEPTORS"),Ff=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Hf=/^\)\]\}',?\n/,qf=function(){var e=function(){function e(t){_(this,e),this.xhrFactory=t}return w(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new I(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new af(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new yf({headers:r,status:t,statusText:n,url:o})},c=function(){var t=u(),r=t.headers,o=t.status,a=t.statusText,s=t.url,c=null;204!==o&&(c=void 0===i.response?i.responseText:i.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof c){var h=c;c=c.replace(Hf,"");try{c=""!==c?JSON.parse(c):null}catch(d){c=h,l&&(l=!1,c={error:d,text:c})}}l?(n.next(new _f({body:c,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new bf({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(e){var t=u().url,r=new bf({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},h=!1,d=function(t){h||(n.next(u()),h=!0);var r={type:mf.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:mf.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",c),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",d),null!==a&&i.upload&&i.upload.addEventListener("progress",f)),i.send(a),n.next({type:mf.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",c),i.removeEventListener("timeout",l),e.reportProgress&&(i.removeEventListener("progress",d),null!==a&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(vd))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),jf=new hi("XSRF_COOKIE_NAME"),Yf=new hi("XSRF_HEADER_NAME"),Wf=function e(){_(this,e)},Uf=function(){var e=function(){function e(t,n,i){_(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return w(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yh(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ul),Ei(Qc),Ei(jf))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Kf=function(){var e=function(){function e(t,n){_(this,e),this.tokenService=t,this.headerName=n}return w(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Wf),Ei(Yf))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Vf=function(){var e=function(){function e(t,n){_(this,e),this.backend=t,this.injector=n,this.chain=null}return w(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(Bf,[]);this.chain=t.reduceRight(function(e,t){return new If(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(of),Ei(za))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Xf=function(){var e=function(){function e(){_(this,e)}return w(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Kf,useClass:Ff}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:jf,useValue:t.cookieName}:[],t.headerName?{provide:Yf,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[Kf,{provide:Bf,useExisting:Kf,multi:!0},{provide:Wf,useClass:Uf},{provide:jf,useValue:"XSRF-TOKEN"},{provide:Yf,useValue:"X-XSRF-TOKEN"}]}),e}(),Gf=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[Nf,{provide:rf,useClass:Vf},qf,{provide:of,useExisting:qf}],imports:[[Xf.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}(),Jf=function(){function e(){_(this,e)}return w(e,[{key:"encodeKey",value:function(e){return encodeURIComponent(e)}},{key:"encodeValue",value:function(e){return encodeURIComponent(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),Qf=new hi("basePath"),Zf=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(this,e),this.apiKeys=t.apiKeys,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.withCredentials=t.withCredentials,this.encoder=t.encoder}return w(e,[{key:"selectHeaderContentType",value:function(e){var t=this;if(0!==e.length){var n=e.find(function(e){return t.isJsonMime(e)});return void 0===n?e[0]:n}}},{key:"selectHeaderAccept",value:function(e){var t=this;if(0!==e.length){var n=e.find(function(e){return t.isJsonMime(e)});return void 0===n?e[0]:n}}},{key:"isJsonMime",value:function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}]),e}(),$f=((Rf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"convertAttributeToNonunique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToNonunique"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"convertAttributeToUnique",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/convertAttributeToUnique"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/createAttribute"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attribute",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttribute"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteAttributeDefinitions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("attributes[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/deleteAttributes"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllAttributeDefinitions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinition"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAttribute",value:function(e,t,n,i,r,o,a,s,u,c,l){var h=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"body",d=arguments.length>12&&void 0!==arguments[12]&&arguments[12],f=new lf({encoder:this.encoder});null!=e&&(f=f.set("attributeName",e)),null!=t&&(f=f.set("attributeId",t)),null!=n&&(f=f.set("facility",n)),null!=i&&(f=f.set("user",i)),null!=r&&(f=f.set("vo",r)),null!=o&&(f=f.set("resource",o)),null!=a&&(f=f.set("member",a)),null!=s&&(f=f.set("group",s)),null!=u&&(f=f.set("host",u)),null!=c&&(f=f.set("userExtSource",c)),null!=l&&(f=f.set("key",l));var p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+g)}var m=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==m&&(p=p.set("Accept",m)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/any"),{params:f,withCredentials:this.configuration.withCredentials,headers:p,observe:h,reportProgress:d})}},{key:"getAttributeDefinitionById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinitionById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeDefinitionByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeDefinition"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeDefinitionsByNamespace",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributesDefinitionByNamespace"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAttributeModulesDependenciesForAttributeGraphText",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAttributeModulesDependenciesGraphText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("format",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeModulesDependenciesGraphText"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributeRights"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAttributesDefinitionWithRights",value:function(e,t,n,i,r,o,a,s){var u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"body",c=arguments.length>9&&void 0!==arguments[9]&&arguments[9],l=new lf({encoder:this.encoder});null!=e&&(l=l.set("member",e)),null!=t&&(l=l.set("user",t)),null!=n&&(l=l.set("vo",n)),null!=i&&(l=l.set("group",i)),null!=r&&(l=l.set("resource",r)),null!=o&&(l=l.set("facility",o)),null!=a&&(l=l.set("host",a)),null!=s&&(l=l.set("userExtSource",s));var h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var d="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+d)}var f=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==f&&(h=h.set("Accept",f)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/getAttributesDefinitionWithRights"),{params:l,withCredentials:this.configuration.withCredentials,headers:h,observe:u,reportProgress:c})}},{key:"getEntitylessAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-entityless"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getEntitylessAttributesByKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("key",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/key"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEntitylessAttributesByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attrName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEntitylessAttributesWithKeys",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(function(e){r=r.append("keys[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessAttributesWithKeys"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getEntitylessKeys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("attributeDefinition",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getEntitylessKeys"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFacilityAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getFacilityAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFacilityAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getFacilityResourceUserMemberAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("user",n)),null!=i&&(a=a.set("member",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-r-u-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getFacilityUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/f-u"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/g-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupResourceAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attributeId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getGroupResourceAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attributeName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-group-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getGroupResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/group-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getHostAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getHostAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-host"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("host",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getHostAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/h-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getLogins",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getLogins"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberAndUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-wu"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberAndUserAttributesByNames",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=n&&(o=o.set("workWithUserAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberGroupAndUserAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)}),null!=i&&(a=a.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getMemberGroupAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("attributeId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberGroupAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("attributeName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberGroupAttributesByNames",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),n&&n.forEach(function(e){o=o.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-g-names"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("workWithUserAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-wu"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberResourceAndUserFacilityAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)}),null!=i&&(a=a.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r-names-wu"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getMemberResourceAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attributeId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberResourceAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attributeName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-member-resource"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/m-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("service",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributesDefinition"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/f"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesFacilityService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesFacilityServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesGroupResourceService",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("service",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("group",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getRequiredAttributesHostService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-h"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesMemberGroup",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("workWithUserAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-g"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getRequiredAttributesMemberGroupResourceService",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("service",e)),null!=t&&(s=s.set("resource",t)),null!=n&&(s=s.set("group",n)),null!=i&&(s=s.set("member",i)),null!=r&&(s=s.set("workWithUserAttributes",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-g-m"),{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getRequiredAttributesMemberGroupService",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("member",n)),null!=i&&(a=a.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-g-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getRequiredAttributesMemberResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("workWithUserAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/m-r"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getRequiredAttributesMemberResourceService",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=n&&(a=a.set("member",n)),null!=i&&(a=a.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r-m"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getRequiredAttributesResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/r"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesResourceService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesResourceServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("services[]",e)}),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/ss-r"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRequiredAttributesUserFacility",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/u-f"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRequiredAttributesVoService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getRequiredAttributes/s-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceGroupAndGroupAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("resource",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("workWithGroupAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-wg"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getResourceGroupAndGroupAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),n&&n.forEach(function(e){a=a.append("attrNames[]",e)}),null!=i&&(a=a.set("workWithGroupAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-names-wg"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getResourceGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceGroupMemberAttributesByNames",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=n&&(a=a.set("member",n)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/r-g-m-names"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getUserAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/u-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-ues"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourceAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/ues-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserFacilityAttributeById",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=n&&(o=o.set("attributeId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getUserFacilityAttributeByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=n&&(o=o.set("attributeName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-user_facility"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getUserFacilityAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/user-facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getVoAttributeById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/id-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getVoAttributeByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttribute/name-vo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/attributesManager/getAttributes/vo-names"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeAttributesForFacilityResourceGroupUserMember",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");var u=new lf({encoder:this.encoder});null!=e&&(u=u.set("facility",e)),null!=t&&(u=u.set("resource",t)),null!=n&&(u=u.set("group",n)),null!=i&&(u=u.set("user",i)),null!=r&&(u=u.set("member",r)),o&&o.forEach(function(e){u=u.append("attributes[]",e)});var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:s})}},{key:"removeAttributesForFacilityResourceUserMember",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("facility",e)),null!=t&&(s=s.set("resource",t)),null!=n&&(s=s.set("user",n)),null!=i&&(s=s.set("member",i)),r&&r.forEach(function(e){s=s.append("attributes[]",e)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f-r-u-m"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"removeEntitylessAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/e"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeFacilityAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeFacilityAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/f"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupResourceAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attribute",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeGroupResourceAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeGroupResourceAttributesWorkWithGroupAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==i)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)}),null!=i&&(a=a.set("workWithGroupAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"removeHostAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeHostAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/h"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeMemberAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeMemberAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeMemberAttributesWorkWithUserAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),t&&t.forEach(function(e){o=o.append("attributes[]",e)}),null!=n&&(o=o.set("workWithUserAttributes",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("attribute",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeMemberGroupAttributesWorkWithUserAttributes",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==i)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),n&&n.forEach(function(e){a=a.append("attributes[]",e)}),null!=i&&(a=a.set("workWithUserAttributes",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"removeMemberResourceAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("attribute",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeMemberResourceAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("resource",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/m-r"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeResourceAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeResourceAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/r"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUesAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserExtSourceAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/ues"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserFacilityAttribute",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),null!=n&&(o=o.set("attribute",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeUserFacilityAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("facility",t)),n&&n.forEach(function(e){o=o.append("attributes[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/u-f"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeVoAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttribute/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeVoAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attributes[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/attributesManager/removeAttributes/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"setAttributeRights",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributeRights"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setEntitylessAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/entityless"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityResourceGroupUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-g-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityResourceUserMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-r-u-m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setFacilityUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/f-u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setGroupResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/group-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setHostAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/host"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setHostAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/h"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberGroupWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-g-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAndUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/member-resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-r"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setMemberWithUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/m-wu"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/resource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setResourceGroupWithGroupAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/r-g-wg"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserExtSourceAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/userExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserExtSourceAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/ues"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserFacilityAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setUserFacilityAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/facility-user"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setVoAttribute",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttribute/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setVoAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/setAttributes/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateAttributeDefinition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/attributesManager/updateAttributeDefinition"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Rf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Rf.\u0275prov=Oe({token:Rf,factory:Rf.\u0275fac,providedIn:"root"}),Rf),ep=((zf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"getAllPolicies",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllPolicies"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAllRolesManagementRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAllRolesManagementRules"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAuthzAdminGroups",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("role",e)),null!=t&&(o=o.set("complementaryObjectId",t)),null!=n&&(o=o.set("complementaryObjectName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getAdminGroups"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getAuthzRichAdmins",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==i)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");var u=new lf({encoder:this.encoder});null!=e&&(u=u.set("role",e)),null!=t&&(u=u.set("complementaryObjectId",t)),null!=n&&(u=u.set("complementaryObjectName",n)),i&&i.forEach(function(e){u=u.append("specificAttributes",e)}),null!=r&&(u=u.set("allUserAttributes",r)),null!=o&&(u=u.set("onlyDirectAdmins",o));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getRichAdmins"),{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:s})}},{key:"getFacilitiesWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getFacilitiesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupRoleNames"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("groupId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/getGroupRoles"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getGroupsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getLoggedUser",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getLoggedUser"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getMembersWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getMembersWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getPerunPrincipal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPerunPrincipal"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPrincipalRoleNames",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getPrincipalRoleNames"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getResourcesWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getResourcesWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getSecurityTeamsWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getSecurityTeamsWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserRoleNames",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoleNames"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserRoles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("userId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getUserRoles"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsInRoles",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(function(e){r=r.append("roles[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/getVosWhereUserIsInRoles"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"isFacilityAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new lf({encoder:this.encoder});null!=e&&(i=i.set("facility",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isFacilityAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isGroupAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isGroupAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isPerunAdmin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/isPerunAdmin"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"isVoAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/urlinjsonout/authzResolver/isVoAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"keepAlive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/keepAlive"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"loadAuthorizationComponents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/authzResolver/loadAuthorizationComponents"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"setRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/setRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unsetRoleWithGroupComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/g-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unsetRoleWithUserComplementaryObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/authzResolver/unsetRole/u-co"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||zf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},zf.\u0275prov=Oe({token:zf,factory:zf.\u0275fac,providedIn:"root"}),zf),tp=((Lf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"addMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/addMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"canExtendMembershipInGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/canExtendMembershipInGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createGroupUnion",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createGroupWithParentGroupNameDescription",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("parentGroup",e)),null!=t&&(o=o.set("name",t)),null!=n&&(o=o.set("description",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/pg-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"createGroupWithVoNameDescription",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("name",t)),null!=n&&(o=o.set("description",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/createGroup/v-n-d"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"deleteGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deleteGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroups.");if(null==t)throw new Error("Required parameter forceDelete was null or undefined when calling deleteGroups.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("forceDelete",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/deleteGroups"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"extendMembershipInGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/extendMembershipInGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"forceAllSubGroupsSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"forceGroupStructureSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupStructureSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"forceGroupSynchronization",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/forceGroupSynchronization"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllMemberGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllRichGroupsWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAllRichSubGroupsWithGroupAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getAllRichSubGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupByName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupByName"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupMemberById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMemberById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCount"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupMembersCountsByGroupStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByGroupStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupMembersCountsByVoStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupMembersCountsByVoStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupRichMembersByIds",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("members[]",e)}),n&&n.forEach(function(e){o=o.append("attrNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupRichMembersByIds"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getGroupUnions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupUnions"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupsByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getGroupsByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getIndirectMembershipPaths",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getIndirectMembershipPaths"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMemberGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberRichGroupsWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getMemberRichGroupsWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRichGroupByIdWithAttributesByNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getRichGroupByIdWithAttributesByNames.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/getRichGroupByIdWithAttributesByNames"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"isGroupMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/groupsManager/isGroupMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"moveGroupWithDestinationGroupMovingGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");var r=new lf({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/moveGroup/dg-mg"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupUnion",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeGroupUnion"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMember"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("members[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/removeMembers"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"setGroupsMemberStatus",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("group",t)),null!=n&&(o=o.set("status",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/groupsManager/setGroupsMemberStatus"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"updateGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/groupsManager/updateGroup"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Lf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Lf.\u0275prov=Oe({token:Lf,factory:Lf.\u0275fac,providedIn:"root"}),Lf),np=((Ef=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"canExtendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/canExtendMembership"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createMemberForCandidate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/c"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createMemberForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/u"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createMemberFromExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createMember/extSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSpecificMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSpecificMember"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMember/withFullName"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembers"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createSponsoredMembersFromCSV",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/createSponsoredMembersFromCSV"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMember"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("members[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/deleteMembers"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"extendMembership",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/extendMembership"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"findCompleteRichMembersByAttributes",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("attrsNames[]",e)}),null!=t&&(o=o.set("searchString",t)),n&&n.forEach(function(e){o=o.append("allowedStatuses[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/attrs"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"findCompleteRichMembersForGroup",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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==n)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==i)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");var u=new lf({encoder:this.encoder});null!=e&&(u=u.set("group",e)),t&&t.forEach(function(e){u=u.append("attrsNames[]",e)}),r&&r.forEach(function(e){u=u.append("allowedStatuses[]",e)}),o&&o.forEach(function(e){u=u.append("allowedGroupStatuses[]",e)}),null!=n&&(u=u.set("searchString",n)),null!=i&&(u=u.set("lookingInParentGroup",i));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/g"),{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:s})}},{key:"findCompleteRichMembersForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("attrsNames[]",e)}),i&&i.forEach(function(e){a=a.append("allowedStatuses[]",e)}),null!=n&&(a=a.set("searchString",n));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"findMembersInVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findMembersInVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"findSponsoredCompleteRichMembersForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==i)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("attrsNames[]",e)}),null!=n&&(a=a.set("searchString",n)),null!=i&&(a=a.set("onlySponsored",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/findCompleteRichMembers/v-sponsored"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getAllNamespacesRules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllNamespacesRules"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getAllSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllSponsoredMembersAndTheirSponsors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getAllSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getCompleteRichMembersForGroup",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("group",e)),n&&n.forEach(function(e){s=s.append("allowedStatuses[]",e)}),i&&i.forEach(function(e){s=s.append("allowedGroupStatuses[]",e)}),null!=t&&(s=s.set("lookingInParentGroup",t)),r&&r.forEach(function(e){s=s.append("attrsNames[]",e)});var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g"),{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getCompleteRichMembersForGroupResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==i)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),n&&n.forEach(function(e){a=a.append("attrsNames[]",e)}),i&&i.forEach(function(e){a=a.append("allowedStatuses[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/g-r"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getCompleteRichMembersForVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("allowedStatuses[]",e)}),n&&n.forEach(function(e){o=o.append("attrsNames[]",e)});var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getCompleteRichMembers/v"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberByExtSourceNameAndExtLogin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("extLogin",t)),null!=n&&(o=o.set("extSourceName",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByExtSourceNameAndExtLogin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMemberById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMemberByUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMemberByUser"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMembers",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembers"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getMembersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersByUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getMembersPage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/getMembersPage"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getMembersWithStatusCount",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getMembersCount/status"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getRichMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichMemberWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMemberWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichMembersByIds",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("ids[]",e)}),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getRichMembersByIds"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getSponsoredMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembers/v"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSponsoredMembersAndTheirSponsors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsoredMembersAndTheirSponsors"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getSponsorsByMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getSponsorsByVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extSourceName",t)),null!=n&&(a=a.set("extLogin",n)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/membersManager/getSponsors/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"moveMembership",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("sourceUser",t)),null!=n&&(o=o.set("targetUser",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/moveMembership"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"removeSponsor",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/removeSponsor"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"sendAccountActivationLinkEmail",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("namespace",t)),null!=n&&(a=a.set("emailAttributeURN",n)),null!=i&&(a=a.set("language",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendAccountActivationLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"sendPasswordResetLinkEmail",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==i)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("namespace",t)),null!=n&&(a=a.set("emailAttributeURN",n)),null!=i&&(a=a.set("language",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sendPasswordResetLinkEmail"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"setSponsoredMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/membersManager/setSponsoredMember"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setSponsorshipForMember",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("sponsoredMember",e)),null!=t&&(o=o.set("sponsor",t)),null!=n&&(o=o.set("validityTo",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setSponsorshipForMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"setStatus",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/setStatus"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"sponsorMember",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("sponsor",t)),null!=n&&(o=o.set("validityTo",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/sponsorMember"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"updateSponsorshipValidity",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("member",e)),null!=t&&(o=o.set("sponsor",t)),null!=n&&(o=o.set("validityTo",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/updateSponsorshipValidity"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"validateMemberAsync",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/membersManager/validateMemberAsync"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Ef)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Ef.\u0275prov=Oe({token:Ef,factory:Ef.\u0275fac,providedIn:"root"}),Ef),ip=((Cf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"sentMessageToRTWithMemberQueue",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("memberId",e)),null!=t&&(a=a.set("queue",t)),null!=n&&(a=a.set("subject",n)),null!=i&&(a=a.set("text",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"sentMessageToRTWithQueue",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("queue",e)),null!=t&&(o=o.set("subject",t)),null!=n&&(o=o.set("text",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/q"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"sentMessageToRTWithVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("voId",e)),null!=t&&(o=o.set("subject",t)),null!=n&&(o=o.set("text",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"sentMessageToRTWithVoQueue",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==i)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("queue",t)),null!=n&&(a=a.set("subject",n)),null!=i&&(a=a.set("text",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}}]),e}()).\u0275fac=function(e){return new(e||Cf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Cf.\u0275prov=Oe({token:Cf,factory:Cf.\u0275fac,providedIn:"root"}),Cf),rp=((Sf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"addApplicationMailForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/g"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"addApplicationMailForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/addApplicationMail/v"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"addGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/addGroupsToAutoRegistration"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"approveApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/approveApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"consolidateIdentityUsingToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/consolidateIdentityUsingToken"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"copyFormFromGroupToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyFormFromGroupToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyFormFromVoToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyFormFromVoToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyForm/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyMailsFromGroupToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyMailsFromGroupToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/groupToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyMailsFromVoToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyMailsFromVoToVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/copyMails/voToVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createApplicationFormInGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/group"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"createApplicationFormInVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/createApplicationForm/vo"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteApplicationMailForGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deleteApplicationMailForVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteApplicationMail/v"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deleteGroupsFromAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("groups[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationDataById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationDataById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationMailsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationMailsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationMails/v"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getApplicationsForGroup",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(function(e){a=a.append("state[]",e)}),null!=n&&(a=a.set("dateFrom",n)),null!=i&&(a=a.set("dateTo",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForGroup"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getApplicationsForMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForMember"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getApplicationsForVo",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(function(e){a=a.append("state[]",e)}),null!=n&&(a=a.set("dateFrom",n)),null!=i&&(a=a.set("dateTo",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationsForVo"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getConsolidatorToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getConsolidatorToken"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFormItemsForGroupWithType",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/group-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getFormItemsForVoWithType",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getFormItems/vo-type"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/group"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsToAutoRegistration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getGroupsToAutoRegistration"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoApplicationForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/registrarManager/getApplicationForm/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"rejectApplication",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/rejectApplication"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"sendInvitation",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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.");var a=new lf({encoder:this.encoder});null!=n&&(a=a.set("voId",n)),null!=i&&(a=a.set("name",i)),null!=e&&(a=a.set("email",e)),null!=t&&(a=a.set("language",t));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"sendInvitationForGroup",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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.");var s=new lf({encoder:this.encoder});null!=n&&(s=s.set("voId",n)),null!=i&&(s=s.set("groupId",i)),null!=r&&(s=s.set("name",r)),null!=e&&(s=s.set("email",e)),null!=t&&(s=s.set("language",t));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/g"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"sendInvitationGroupToExistingUser",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=new lf({encoder:this.encoder});null!=e&&(o=o.set("userId",e)),null!=t&&(o=o.set("voId",t)),null!=n&&(o=o.set("groupId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u-g"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"sendInvitationToExistingUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new lf({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/sendInvitation/u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/sendMessage"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"setSendingEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/setSendingEnabled"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"submitApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/submitApplication"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateApplicationMail",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateApplicationMail"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateForm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateForm"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemData"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItemsData"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsForGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/group"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateFormItemsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/registrarManager/updateFormItems/vo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"verifyApplication",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/registrarManager/verifyApplication"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Sf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Sf.\u0275prov=Oe({token:Sf,factory:Sf.\u0275fac,providedIn:"root"}),Sf),op=((Tf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"activateGroupResourceAssignment",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("async",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/activateGroupResourceAssignment"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"addAdminToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addAdminToUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addResourceSelfServiceGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addResourceSelfServiceUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/addResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"allowGroupsToResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("groups[]",e)}),t&&t.forEach(function(e){o=o.append("resources[]",e)}),null!=n&&(o=o.set("async",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/allowGroupsToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"assignGroupToResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("async",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"assignGroupToResources",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("resources[]",e)}),null!=n&&(o=o.set("async",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupToResources"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"assignGroupsToResource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});e&&e.forEach(function(e){o=o.append("groups[]",e)}),null!=t&&(o=o.set("resource",t)),null!=n&&(o=o.set("async",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignGroupsToResource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"assignResourceTagToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/assignResourceTagToResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"assignService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"assignServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"assignServicesPackage",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/assignServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"copyResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/copyResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createResource",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter name was null or undefined when calling createResource.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=n&&(a=a.set("name",n)),null!=i&&(a=a.set("description",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResource"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"createResourceTagWithResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/createResourceTag/resourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"createResourceTagWithTagName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/createResourceTag/tagName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deactivateGroupResourceAssignment",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deleteAllResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResources"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/deleteResource"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"deleteResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/deleteResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getAdminGroups",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdminGroups"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAdmins",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAdmins"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAllResourcesByResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesByResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"getAllResourcesTagsForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForResource"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllResourcesTagsForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllResourcesTagsForVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllResourcesWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/all"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAllowedUsersOfResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAllowedUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAssignedMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedResources/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichMembers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichMembers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("group",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/g"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/m"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesWithMemberService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedRichResources/s-m"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAssignedServicesToResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getAssignedServices"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getBansForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getBansForResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBansForResource"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getEnrichedResourceById",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourceById"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getEnrichedResourcesForFacility",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForFacility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getEnrichedResourcesForVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getEnrichedResourcesForVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getFacility",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getFacility"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupAssignments",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getGroupAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceAssignments",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceAssignments"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceBan",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBan"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getBanById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourceByName",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("facility",t)),null!=n&&(o=o.set("name",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourceByName"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesCountForAll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/all"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getResourcesCountForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesCount/vo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getResourcesFromVoWhereUserIsAdmin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getResourcesWhereGroupIsAdmin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=n&&(o=o.set("group",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin/group"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getResourcesWhereUserIsAdmin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("facility",e)),null!=t&&(o=o.set("vo",t)),null!=n&&(o=o.set("user",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getResourcesWhereUserIsAdmin"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getRichAdmins",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),t&&t.forEach(function(e){a=a.append("specificAttributes",e)}),null!=n&&(a=a.set("allUserAttributes",n)),null!=i&&(a=a.set("onlyDirectAdmins",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichAdmins"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getRichResourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichResources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichResourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getRichResourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/resourcesManager/getVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeAllResourceTagsFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("resource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeBanByMemberAndResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/member-resource-id"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupAdminResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-g"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupFromResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupFromResources",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(function(e){r=r.append("resources[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeGroupsFromResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeGroupsFromResource"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeResourceBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeBan/id"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeResourceSelfServiceGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeResourceSelfServiceUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeResourceSelfServiceUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeResourceTagFromResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/removeResourceTagFromResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"removeService",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeService"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeServices",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(function(e){r=r.append("services[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServices"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeServicesPackage",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeServicesPackage"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserAdminResource",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/removeAdmin/r-u"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"setResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"unallowGroupsFromResources",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});e&&e.forEach(function(e){r=r.append("groups[]",e)}),t&&t.forEach(function(e){r=r.append("resources[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/resourcesManager/unallowGroupsFromResources"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"updateResource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateResourceBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateResourceTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/resourcesManager/updateResourceTag"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Tf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Tf.\u0275prov=Oe({token:Tf,factory:Tf.\u0275fac,providedIn:"root"}),Tf),ap=((kf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"addSpecificUserOwner",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/addSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addUserExtSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/addUserExtSource"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"changeNonAuthzPasswordByToken",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("token",e)),null!=t&&(o=o.set("password",t)),null!=n&&(o=o.set("lang",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changeNonAuthzPassword/token"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"changePasswordForLogin",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==n)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("login",e)),null!=t&&(s=s.set("namespace",t)),null!=n&&(s=s.set("newPassword",n)),null!=i&&(s=s.set("oldPassword",i)),null!=r&&(s=s.set("checkOldPassword",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/login"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"changePasswordForUser",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==n)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("user",e)),null!=t&&(s=s.set("namespace",t)),null!=n&&(s=s.set("newPassword",n)),null!=i&&(s=s.set("oldPassword",i)),null!=r&&(s=s.set("checkOldPassword",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/changePassword/user"),null,{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"checkPasswordResetRequestByTokenIsValid",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("token",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordResetRequestIsValid/token"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"checkPasswordStrength",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/checkPasswordStrength"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createAlternativePassword",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==n)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==i)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("description",t)),null!=n&&(a=a.set("loginNamespace",n)),null!=i&&(a=a.set("password",i));var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/createAlternativePassword"),null,{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"createServiceUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/createServiceUser"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteAlternativePassword",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("loginNamespace",t)),null!=n&&(o=o.set("passwordId",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteAlternativePassword"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"deletePasswordForLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deletePasswordForUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deletePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"deleteUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/deleteUser"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"findRichUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"findRichUsersWithAttributes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(function(e){r=r.append("attrsNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findRichUsersWithAttributes"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"findUsers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("searchString",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/findUsers"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getAssignedRichResourcesForUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getAssignedRichResources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getGroupsForFacilityWhereUserIsActive",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/facility"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupsForResourceWhereUserIsActive",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsActive/resource"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupsInVoWhereUserIsAdmin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u-v"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getGroupsWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getGroupsWhereUserIsAdmin/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getPendingPreferredEmailChanges",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getPendingPreferredEmailChanges"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserExtSources/u"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUserWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUserWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersWithAttributesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithAttributesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getRichUsersWithoutVoWithAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("attrsNames[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getRichUsersWithoutVoWithAttributes"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSpecificUsersByUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSpecificUsersByUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getSponsorsForMember",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(function(e){r=r.append("attrNames[]",e)});var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/member"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getSponsorsForMemberByVoAndLogin",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"body",o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];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==n)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");var a=new lf({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extSourceName",t)),null!=n&&(a=a.set("extLogin",n)),i&&i.forEach(function(e){a=a.append("attrNames[]",e)});var s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+u)}var c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(s=s.set("Accept",c)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getSponsorsForMember/vo"),{params:a,withCredentials:this.configuration.withCredentials,headers:s,observe:r,reportProgress:o})}},{key:"getUserByExtSourceNameAndExtLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserByExtSourceNameAndExtLogin"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getUserById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourceById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourceById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSources",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSources"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUserExtSourcesByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUserExtSourcesByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUsersByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getUsersBySpecificUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("specificUser",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getUsersBySpecificUser"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsAdmin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsAdmin"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosWhereUserIsMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("user",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/usersManager/getVosWhereUserIsMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"isLoginAvailable",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/isLoginAvailable"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"loginExist",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/loginExist"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeSpecificUserOwner",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeSpecificUserOwner"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeUserExtSource",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("userExtSource",t)),null!=n&&(o=o.set("force",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/removeUserExtSource"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"requestPreferredEmailChange",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"body",s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];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.");var u=new lf({encoder:this.encoder});null!=e&&(u=u.set("user",e)),null!=t&&(u=u.set("email",t)),null!=n&&(u=u.set("lang",n)),null!=i&&(u=u.set("linkPath",i)),null!=r&&(u=u.set("customUrl",r)),null!=o&&(u=u.set("idpFilter",o));var c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var l="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+l)}var h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/requestPreferredEmailChange"),null,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:a,reportProgress:s})}},{key:"reservePasswordForLogin",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==n)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("login",e)),null!=t&&(o=o.set("namespace",t)),null!=n&&(o=o.set("password",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/login"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"reservePasswordForUser",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==n)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("user",e)),null!=t&&(o=o.set("namespace",t)),null!=n&&(o=o.set("password",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reservePassword/user"),null,{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"reserveRandomPassword",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/reserveRandomPassword"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/usersManager/updateUser"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"validatePasswordForLogin",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/login"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"validatePasswordForUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePassword/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"validatePreferredEmailChangeWithToken",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/usersManager/validatePreferredEmailChange"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}}]),e}()).\u0275fac=function(e){return new(e||kf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},kf.\u0275prov=Oe({token:kf,factory:kf.\u0275fac,providedIn:"root"}),kf),sp=((Af=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"getAppsConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getAppsConfig"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getGuiConfiguration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getGuiConfiguration"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunRPCVersion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunStatistics",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatistics"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunStatus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunStatus"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getPerunSystemTimeInMillis",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/utils/getPerunSystemTimeInMillis"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}]),e}()).\u0275fac=function(e){return new(e||Af)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Af.\u0275prov=Oe({token:Af,factory:Af.\u0275fac,providedIn:"root"}),Af),up=((Mf=function(){function e(t,n,i){_(this,e),this.httpClient=t,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new af,this.configuration=new Zf,i&&(this.configuration=i),"string"!=typeof this.configuration.basePath&&("string"!=typeof n&&(n=this.basePath),this.configuration.basePath=n),this.encoder=this.configuration.encoder||new Jf}return w(e,[{key:"addSponsorRoleToGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addSponsorRoleToUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addVoAdminGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"addVoAdminUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/addAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createVoWithName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/createVo/withName"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"createVoWithVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/createVo/withVo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"deleteVo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/deleteVo"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"findCandidates",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("id",e)),null!=t&&(o=o.set("searchString",t)),null!=n&&(o=o.set("maxNumOfResults",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"findCandidatesForGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/findCandidates/forGroup"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getAllVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAllVos"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getCompleteCandidatesForGroup",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("group",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=n&&(o=o.set("searchString",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forGroup"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getCompleteCandidatesForVo",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),t&&t.forEach(function(e){o=o.append("attrNames[]",e)}),null!=n&&(o=o.set("searchString",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getCompleteCandidates/forVo"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getMyVos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVos"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"getRichAdminsForVo",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"body",a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];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==n)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");var s=new lf({encoder:this.encoder});null!=e&&(s=s.set("vo",e)),null!=t&&(s=s.set("role",t)),n&&n.forEach(function(e){s=s.append("specificAttributes",e)}),null!=i&&(s=s.set("allUserAttributes",i)),null!=r&&(s=s.set("onlyDirectAdmins",r));var u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+c)}var l=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==l&&(u=u.set("Accept",l)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getRichAdmins"),{params:s,withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:a})}},{key:"getVoAdminGroups",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdminGroups"),{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"getVoAdminUsers",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"body",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];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==n)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");var o=new lf({encoder:this.encoder});null!=e&&(o=o.set("vo",e)),null!=t&&(o=o.set("role",t)),null!=n&&(o=o.set("onlyDirectAdmins",n));var a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var s="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+s)}var u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(a=a.set("Accept",u)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getAdmins"),{params:o,withCredentials:this.configuration.withCredentials,headers:a,observe:i,reportProgress:r})}},{key:"getVoBanById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBanForMember"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoBansForVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getBansForVo"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("id",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoById"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoByShortName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new lf({encoder:this.encoder});null!=e&&(i=i.set("shortName",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoByShortName"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVoMembersCountsByStatus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("vo",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVoMembersCountsByStatus"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosByIds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");var i=new lf({encoder:this.encoder});e&&e.forEach(function(e){i=i.append("ids[]",e)});var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosByIds"),{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"getVosCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var i="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+i)}var r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(n=n.set("Accept",r)),this.httpClient.get("".concat(this.configuration.basePath,"/json/vosManager/getVosCount"),{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}},{key:"removeSponsorRoleFromGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeSponsorRoleFromUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeSponsorRole/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeVoAdminGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/group"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeVoAdminUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];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.");var r=new lf({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));var o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}var s=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==s&&(o=o.set("Accept",s)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeAdmin/user"),null,{params:r,withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:i})}},{key:"removeVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("banId",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBan"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"removeVoBanForMember",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");var i=new lf({encoder:this.encoder});null!=e&&(i=i.set("member",e));var r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var o="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+o)}var a=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==a&&(r=r.set("Accept",a)),this.httpClient.post("".concat(this.configuration.basePath,"/urlinjsonout/vosManager/removeBanForMember"),null,{params:i,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:n})}},{key:"setVoBan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/setBan"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}},{key:"updateVo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");var i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){var r="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+r)}var o=this.configuration.selectHeaderAccept(["application/json"]);void 0!==o&&(i=i.set("Accept",o));var a=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==a&&(i=i.set("Content-Type",a)),this.httpClient.post("".concat(this.configuration.basePath,"/json/vosManager/updateVo"),e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}]),e}()).\u0275fac=function(e){return new(e||Mf)(Ei(Nf),Ei(Qf,8),Ei(Zf,8))},Mf.\u0275prov=Oe({token:Mf,factory:Mf.\u0275fac,providedIn:"root"}),Mf);!function(e){e.HiddenEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"},e.DisabledEnum={NEVER:"NEVER",ALWAYS:"ALWAYS",IFPREFILLED:"IF_PREFILLED",IFEMPTY:"IF_EMPTY"}}(Of||(Of={})),function(e){e.FormatEnum={DOT:"DOT",TGF:"TGF"}}(xf||(xf={})),function(e){e.OwnerTypeEnum={NUMBER_0:0,NUMBER_1:1}}(Df||(Df={})),function(e){e.TypeEnum={Technical:"technical",Administrative:"administrative"}}(Pf||(Pf={}));var cp=function(e){return e.PERUNADMIN="PERUNADMIN",e.PERUNOBSERVER="PERUNOBSERVER",e.VOADMIN="VOADMIN",e.GROUPADMIN="GROUPADMIN",e.SELF="SELF",e.FACILITYADMIN="FACILITYADMIN",e.FACILITIYOBSERVER="FACILITYOBSERVER",e.RESOURCEADMIN="RESOURCEADMIN",e.RESOURCESELFSERVICE="RESOURCESELFSERVICE",e.REGISTRAR="REGISTRAR",e.ENGINE="ENGINE",e.RPC="RPC",e.NOTIFICATIONS="NOTIFICATIONS",e.SERVICEUSER="SERVICEUSER",e.SPONSOR="SPONSOR",e.VOOBSERVER="VOOBSERVER",e.TOPGROUPCREATOR="TOPGROUPCREATOR",e.SECURITYADMIN="SECURITYADMIN",e.CABINETADMIN="CABINETADMIN",e.UNKNOWNROLENAME="UNKNOWNROLENAME",e}({}),lp=function(){var e=function(){function e(t){_(this,e),this.authzSevice=t,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}return w(e,[{key:"init",value:function(e){this.principal=e,this.initData(e)}},{key:"setPerunPolicies",value:function(e){this.perunPolicies=e}},{key:"getPerunPolicies",value:function(){return this.perunPolicies}},{key:"isAuthorized",value:function(e,t){if(null===this.principal.roles)return!1;var n,i=[],r=a(this.fetchPolicyWithAllIncludedPolicies(e));try{for(r.s();!(n=r.n()).done;){var o=n.value;i=i.concat(o.perunRoles)}}catch(u){r.e(u)}finally{r.f()}var s=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(i,s)}},{key:"resolveAuthorization",value:function(e,t){var n,i=a(e);try{for(i.s();!(n=i.n()).done;){for(var r=n.value,o=!0,s=0,u=Object.keys(r);s=2&&(n=!0),function(i){return i.lift(new Rp(e,t,n))}}var Rp=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new Op(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Op=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return w(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(O);function xp(e){return function(t){var n=new Dp(e),i=t.lift(n);return n.caught=i}}var Dp=function(){function e(t){_(this,e),this.selector=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new Pp(e,this.selector,this.caught))}}]),e}(),Pp=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return w(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void h(y(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new K(this,void 0,void 0);this.add(i);var r=Z(this,t,void 0,void 0,i);r!==i&&this.add(r)}}}]),n}($);function Np(e){return function(t){return 0===e?bp():t.lift(new Ip(e))}}var Ip=function(){function e(t){if(_(this,e),this.total=t,this.total<0)throw new Tp}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new Bp(e,this.total))}}]),e}(),Bp=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return w(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:jp;return function(t){return t.lift(new Hp(e))}}var Hp=function(){function e(t){_(this,e),this.errorFactory=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new qp(e,this.errorFactory))}}]),e}(),qp=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return w(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(O);function jp(){return new vp}function Yp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Wp(e))}}var Wp=function(){function e(t){_(this,e),this.defaultValue=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new Up(e,this.defaultValue))}}]),e}(),Up=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return w(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(O);function Kp(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?ef(function(t,n){return e(t,n,i)}):P,Sp(1),n?Yp(t):Fp(function(){return new vp}))}}function Vp(){}function Xp(e,t,n){return function(i){return i.lift(new Gp(e,t,n))}}var Gp=function(){function e(t,n,i){_(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new Jp(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),Jp=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e))._tapNext=Vp,a._tapError=Vp,a._tapComplete=Vp,a._tapError=r||Vp,a._tapComplete=o||Vp,b(i)?(a._context=m(a),a._tapNext=i):i&&(a._context=i,a._tapNext=i.next||Vp,a._tapError=i.error||Vp,a._tapComplete=i.complete||Vp),a}return w(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(O);function Qp(e){return function(t){return t.lift(new Zp(e))}}var Zp=function(){function e(t){_(this,e),this.callback=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new $p(e,this.callback))}}]),e}(),$p=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).add(new L(i)),r}return n}(O),eg=function e(t,n){_(this,e),this.id=t,this.url=n},tg=function(e){d(n,e);var t=p(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return w(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(eg),ng=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return w(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(eg),ig=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e,i)).reason=r,o}return w(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(eg),rg=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e,i)).error=r,o}return w(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(eg),og=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return w(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(eg),ag=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return w(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(eg),sg=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a){var s;return _(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return w(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(eg),ug=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return w(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(eg),cg=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return w(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(eg),lg=function(){function e(t){_(this,e),this.route=t}return w(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),hg=function(){function e(t){_(this,e),this.route=t}return w(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),dg=function(){function e(t){_(this,e),this.snapshot=t}return w(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),fg=function(){function e(t){_(this,e),this.snapshot=t}return w(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),pg=function(){function e(t){_(this,e),this.snapshot=t}return w(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),gg=function(){function e(t){_(this,e),this.snapshot=t}return w(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),mg=function(){function e(t,n,i){_(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return w(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),vg=function(){function e(t){_(this,e),this.params=t||{}}return w(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function yg(e){return new vg(e)}function _g(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function bg(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function Tg(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Sg(e){return us(e)?e:as(e)?re(Promise.resolve(e)):Zd(e)}var Cg={exact:function e(t,n,i){if(!Ng(t.segments,n.segments))return!1;if(!Og(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:zg},Eg={exact:function(e,t){return wg(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return Mg(e[n],t[n])})},ignored:function(){return!0}};function Lg(e,t,n){return Cg[n.paths](e.root,t.root,n.matrixParams)&&Eg[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function zg(e,t,n){return Rg(e,t,t.segments,n)}function Rg(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!Ng(r,n)&&!t.hasChildren()&&!!Og(r,n,i)}if(e.segments.length===n.length){if(!Ng(e.segments,n))return!1;if(!Og(e.segments,n,i))return!1;for(var o in t.children){if(!e.children[o])return!1;if(!zg(e.children[o],t.children[o],i))return!1}return!0}var a=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!Ng(e.segments,a)&&!!Og(e.segments,a,i)&&!!e.children.primary&&Rg(e.children.primary,t,s,i)}function Og(e,t,n){return t.every(function(t,i){return Eg[n](e[i].parameters,t.parameters)})}var xg=function(){function e(t,n,i){_(this,e),this.root=t,this.queryParams=n,this.fragment=i}return w(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=yg(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Fg.serialize(this)}}]),e}(),Dg=function(){function e(t,n){var i=this;_(this,e),this.segments=t,this.children=n,this.parent=null,Tg(n,function(e,t){return e.parent=i})}return w(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Hg(this)}}]),e}(),Pg=function(){function e(t,n){_(this,e),this.path=t,this.parameters=n}return w(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=yg(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Vg(this)}}]),e}();function Ng(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Ig=function e(){_(this,e)},Bg=function(){function e(){_(this,e)}return w(e,[{key:"parse",value:function(e){var t=new Zg(e);return new xg(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"/".concat(qg(e.root,!0)).concat((n=e.queryParams,i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return"".concat(Yg(e),"=").concat(Yg(t))}).join("&"):"".concat(Yg(e),"=").concat(Yg(t))}).filter(function(e){return!!e}),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Fg=new Bg;function Hg(e){return e.segments.map(function(e){return Vg(e)}).join("/")}function qg(e,t){if(!e.hasChildren())return Hg(e);if(t){var n=e.children.primary?qg(e.children.primary,!1):"",i=[];return Tg(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(qg(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return Tg(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),Tg(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[qg(e.children.primary,!1)]:["".concat(n,":").concat(qg(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Hg(e),"/").concat(r[0]):"".concat(Hg(e),"/(").concat(r.join("//"),")")}function jg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yg(e){return jg(e).replace(/%3B/gi,";")}function Wg(e){return jg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ug(e){return decodeURIComponent(e)}function Kg(e){return Ug(e.replace(/\+/g,"%20"))}function Vg(e){return"".concat(Wg(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(Wg(e),"=").concat(Wg(t[e]))}).join("")));var t}var Xg=/^[^\/()?;=#]+/;function Gg(e){var t=e.match(Xg);return t?t[0]:""}var Jg=/^[^=?&#]+/,Qg=/^[^?&#]+/,Zg=function(){function e(t){_(this,e),this.url=t,this.remaining=t}return w(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dg([],{}):new Dg([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Dg(e,t)),n}},{key:"parseSegment",value:function(){var e=Gg(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Pg(Ug(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Gg(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Gg(this.remaining);i&&(n=i,this.capture(n))}e[Ug(t)]=Ug(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Jg);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Qg);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Kg(t),o=Kg(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Gg(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Dg([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),$g=function(){function e(t){_(this,e),this._root=t}return w(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=em(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=em(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=tm(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return tm(e,this._root).map(function(e){return e.value})}}]),e}();function em(e,t){if(e===t.value)return t;var n,i=a(t.children);try{for(i.s();!(n=i.n()).done;){var r=em(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function tm(e,t){if(e===t.value)return[t];var n,i=a(t.children);try{for(i.s();!(n=i.n()).done;){var r=tm(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var nm=function(){function e(t,n){_(this,e),this.value=t,this.children=n}return w(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function im(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var rm=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).snapshot=i,lm(m(r),e),r}return w(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}($g);function om(e,t){var n=function(e,t){var n=new um([],{},{},"",{},"primary",t,null,e.root,-1,{});return new cm("",new nm(n,[]))}(e,t),i=new dp([new Pg("",{})]),r=new dp({}),o=new dp({}),a=new dp({}),s=new dp(""),u=new am(i,r,a,s,o,"primary",t,n.root);return u.snapshot=n.root,new rm(new nm(u,[]),n)}var am=function(){function e(t,n,i,r,o,a,s,u){_(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return w(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(ee(function(e){return yg(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(function(e){return yg(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function sm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var um=function(){function e(t,n,i,r,o,a,s,u,c,l,h){_(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return w(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=yg(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=yg(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),cm=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,i)).url=e,lm(m(r),i),r}return w(n,[{key:"toString",value:function(){return hm(this._root)}}]),n}($g);function lm(e,t){t.value._routerState=e,t.children.forEach(function(t){return lm(e,t)})}function hm(e){var t=e.children.length>0?" { ".concat(e.children.map(hm).join(", ")," } "):"";return"".concat(e.value).concat(t)}function dm(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,wg(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),wg(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&mm(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(vm);if(r&&r!==kg(i))throw new Error("{outlets:{}} has to be the last command")}return w(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),wm=function e(t,n,i){_(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function Mm(e,t,n){if(e||(e=new Dg([],{})),0===e.segments.length&&e.hasChildren())return Am(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=e.segments[r],s=n[i];if(vm(s))break;var u="".concat(s),c=i0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!Cm(u,c,a))return o;i+=2}else{if(!Cm(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},jm):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||bg)(n,e,t);if(!r)return Object.assign({},jm);var o={};Tg(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Wm(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Um(e,t,n)&&"primary"!==Hm(n)})}(e,n,i)){var o=new Dg(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,s=a(n);try{for(s.s();!(o=s.n()).done;){var u=o.value;if(""===u.path&&"primary"!==Hm(u)){var c=new Dg([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[Hm(u)]=c}}}catch(l){s.e(l)}finally{s.f()}return r}(e,t,i,new Dg(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Um(e,t,n)})}(e,n,i)){var s=new Dg(e.segments,function(e,t,n,i,r,o){var s,u={},c=a(i);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(Um(e,n,l)&&!r[Hm(l)]){var h=new Dg([],{});h._sourceSegment=e,h._segmentIndexShift="legacy"===o?e.segments.length:t.length,u[Hm(l)]=h}}}catch(d){c.e(d)}finally{c.f()}return Object.assign(Object.assign({},r),u)}(e,t,n,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var u=new Dg(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}function Um(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Km(e,t,n,i){return!!(Hm(e)===i||"primary"!==i&&Um(t,n,e))&&("**"===e.path||Ym(t,e,n).matched)}function Vm(e,t,n){return 0===t.length&&!e.children[n]}var Xm=function e(t){_(this,e),this.segmentGroup=t||null},Gm=function e(t){_(this,e),this.urlTree=t};function Jm(e){return new I(function(t){return t.error(new Xm(e))})}function Qm(e){return new I(function(t){return t.error(new Gm(e))})}function Zm(e){return new I(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var $m=function(){function e(t,n,i,r,o){_(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Ju)}return w(e,[{key:"apply",value:function(){var e=this,t=Wm(this.urlTree.root,[],[],this.config).segmentGroup,n=new Dg(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe(ee(function(t){return e.createUrlTree(ev(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(xp(function(t){if(t instanceof Gm)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Xm)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(ee(function(n){return t.createUrlTree(ev(n),e.queryParams,e.fragment)})).pipe(xp(function(e){if(e instanceof Xm)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Dg([],{primary:e}):e;return new xg(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(ee(function(e){return new Dg([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],o=0,a=Object.keys(n.children);o=2;return function(i){return i.pipe(e?ef(function(t,n){return e(t,n,i)}):P,Np(1),n?Yp(t):Fp(function(){return new vp}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,o){var a=this;return re(n).pipe($d(function(s){return a.expandSegmentAgainstRoute(e,t,n,s,i,r,o).pipe(xp(function(e){if(e instanceof Xm)return Zd(null);throw e}))}),Kp(function(e){return!!e}),xp(function(e,n){if(e instanceof vp||"EmptyError"===e.name){if(Vm(t,i,r))return Zd(new Dg([],{}));throw new Xm(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return Km(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):Jm(t):Jm(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Qm(o):this.lineralizeSegments(n,o).pipe(oe(function(n){var o=new Dg(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=Ym(t,i,r),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Jm(t);var d=this.applyRedirectCommands(c,i.redirectTo,h);return i.redirectTo.startsWith("/")?Qm(d):this.lineralizeSegments(i,d).pipe(oe(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Zd(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(ee(function(e){return n._loadedConfig=e,new Dg(i,{})})):Zd(new Dg(i,{}));var a=Ym(t,n,i),s=a.matched,u=a.consumedSegments,c=a.lastChild;if(!s)return Jm(t);var l=i.slice(c);return this.getChildConfig(e,n,i).pipe(oe(function(e){var i=e.module,a=e.routes,s=Wm(t,u,l,a),c=s.segmentGroup,h=s.slicedSegments,d=new Dg(c.segments,c.children);if(0===h.length&&d.hasChildren())return o.expandChildren(i,a,d).pipe(ee(function(e){return new Dg(u,e)}));if(0===a.length&&0===h.length)return Zd(new Dg(u,{}));var f=Hm(n)===r;return o.expandSegment(i,d,a,h,f?"primary":r,!0).pipe(ee(function(e){return new Dg(u.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?Zd(new zm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Zd(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(oe(function(n){return n?i.configLoader.load(e.injector,t).pipe(ee(function(e){return t._loadedConfig=e,e})):function(e){return new I(function(t){return t.error(_g("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):Zd(new zm([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;return r&&0!==r.length?Zd(r.map(function(i){var r,o=e.get(i);if(function(e){return e&&Rm(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!Rm(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return Sg(r)})).pipe(Dm(),Xp(function(e){if(Om(e)){var t=_g('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),ee(function(e){return!0===e})):Zd(!0)}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Zd(n);if(i.numberOfChildren>1||!i.children.primary)return Zm(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new xg(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Tg(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return Tg(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Dg(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=a(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(s){r.e(s)}finally{r.f()}return e}}]),e}();function ev(e){for(var t={},n=0,i=Object.keys(e.children);n0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Dg(e.segments.concat(t.segments),t.children)}return e}(new Dg(e.segments,t))}var tv=function e(t){_(this,e),this.path=t,this.route=this.path[this.path.length-1]},nv=function e(t,n){_(this,e),this.component=t,this.route=n};function iv(e,t,n){var i=e._root;return ov(i,t?t._root:null,n,[i.value])}function rv(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function ov(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=im(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ng(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ng(e.url,t.url)||!wg(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fm(e,t)||!wg(e.queryParams,t.queryParams);case"paramsChange":default:return!fm(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new tv(i)):(o.data=a.data,o._resolvedData=a._resolvedData),ov(e,t,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new nv(s.outlet.component,a))}else a&&av(t,s,r),r.canActivateChecks.push(new tv(i)),ov(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),Tg(o,function(e,t){return av(e,n.getContext(t),r)}),r}function av(e,t,n){var i=im(e),r=e.value;Tg(i,function(e,i){av(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new nv(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var sv=function e(){_(this,e)};function uv(e){return new I(function(t){return t.error(e)})}var cv=function(){function e(t,n,i,r,o,a){_(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return w(e,[{key:"recognize",value:function(){var e=Wm(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new um([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new nm(n,t),r=new cm(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=sm(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,o=Object.keys(t.children);i0?kg(n).parameters:{};r=new um(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,fv(e),Hm(e),e.component,e,hv(t),dv(t)+n.length,pv(e))}else{var u=Ym(t,e,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new um(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,fv(e),Hm(e),e.component,e,hv(t),dv(t)+o.length,pv(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=Wm(t,o,a,c.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(c,h);return null===f?null:[new nm(r,f)]}if(0===c.length&&0===d.length)return[new nm(r,[])];var p=Hm(e)===i,g=this.processSegment(c,h,d,p?"primary":i);return null===g?null:[new nm(r,g)]}}]),e}();function lv(e){var t,n=[],i=new Set,o=a(e);try{var s=function(){var e,o=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(o))return n.push(o),"continue";var a=n.find(function(e){return o.value.routeConfig===e.value.routeConfig});void 0!==a?((e=a.children).push.apply(e,r(o.children)),i.add(a)):n.push(o)};for(o.s();!(t=o.n()).done;)s()}catch(d){o.e(d)}finally{o.f()}var u,c=a(i);try{for(c.s();!(u=c.n()).done;){var l=u.value,h=lv(l.children);n.push(new nm(l.value,h))}}catch(d){c.e(d)}finally{c.f()}return n.filter(function(e){return!i.has(e)})}function hv(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function dv(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function fv(e){return e.data||{}}function pv(e){return e.resolve||{}}function gv(e){return Mp(function(t){var n=e(t);return n?re(n).pipe(ee(function(){return t})):Zd(t)})}var mv=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return n}(function(){function e(){_(this,e)}return w(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),vv=new hi("ROUTES"),yv=function(){function e(t,n,i,r){_(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return w(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe(ee(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new zm(Ag(r.injector.get(vv,void 0,je.Self|je.Optional)).map(Fm),r)}),xp(function(e){throw t._loader$=void 0,e}));return t._loader$=new ge(i,function(){return new Y}).pipe(he()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?re(this.loader.load(e)):Sg(e()).pipe(oe(function(e){return e instanceof Qu?Zd(e):re(t.compiler.compileModuleAsync(e))}))}}]),e}(),_v=function e(){_(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new bv,this.attachRef=null},bv=function(){function e(){_(this,e),this.contexts=new Map}return w(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new _v,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),wv=function(){function e(){_(this,e)}return w(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Mv(e){throw e}function Av(e,t,n){return t.parse("/")}function kv(e,t){return Zd(null)}var Tv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sv={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Cv=function(){var e=function(){function e(t,n,i,r,o,a,s,u){var c=this;_(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Y,this.errorHandler=Mv,this.malformedUriErrorHandler=Av,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kv,afterPreactivation:kv},this.urlHandlingStrategy=new wv,this.routeReuseStrategy=new mv,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Ju),this.console=o.get($c);var l=o.get(dl);this.isNgZoneEnabled=l instanceof dl&&dl.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new xg(new Dg([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yv(a,s,function(e){return c.triggerEvent(new lg(e))},function(e){return c.triggerEvent(new hg(e))}),this.routerState=om(this.currentUrlTree,this.rootComponentType),this.transitions=new dp({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()}return w(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(ef(function(e){return 0!==e.id}),ee(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),Mp(function(e){var i,r,o,a=!1,s=!1;return Zd(e).pipe(Xp(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Mp(function(e){var i=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||i)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Zd(e).pipe(Mp(function(e){var i=t.transitions.getValue();return n.next(new tg(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?_p:Promise.resolve(e)}),function(e,t,n,i){return Mp(function(r){return function(e,t,n,i,r){return new $m(e,t,n,i,r).apply()}(e,t,n,r.extractedUrl,i).pipe(ee(function(e){return Object.assign(Object.assign({},r),{urlAfterRedirects:e})}))})}(t.ngModule.injector,t.configLoader,t.urlSerializer,t.config),Xp(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,o){return oe(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new cv(e,t,n,i,r,o).recognize();return null===a?uv(new sv):Zd(a)}catch(s){return uv(s)}}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe(ee(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var a})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Xp(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new og(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(i&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var r=e.id,o=e.extractedUrl,a=e.source,s=e.restoredState,u=e.extras,c=new tg(r,t.serializeUrl(o),a,s);n.next(c);var l=om(o,t.rootComponentType).snapshot;return Zd(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:o,extras:Object.assign(Object.assign({},u),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_p}),gv(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),Xp(function(e){var n=new ag(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),ee(function(e){return Object.assign(Object.assign({},e),{guards:iv(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return oe(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Zd(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return re(e).pipe(oe(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Zd(o.map(function(o){var a,s=rv(o,t,r);if(function(e){return e&&Rm(e.canDeactivate)}(s))a=Sg(s.canDeactivate(e,t,n,i));else{if(!Rm(s))throw new Error("Invalid CanDeactivate guard");a=Sg(s(e,t,n,i))}return a.pipe(Kp())})).pipe(Dm()):Zd(!0)}(e.component,e.route,n,t,i)}),Kp(function(e){return!0!==e},!0))}(s,i,r,e).pipe(oe(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return re(t).pipe($d(function(t){return yp(function(e,t){return null!==e&&t&&t(new dg(e)),Zd(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new pg(e)),Zd(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return wp(function(){return Zd(t.guards.map(function(r){var o,a=rv(r,t.node,n);if(function(e){return e&&Rm(e.canActivateChild)}(a))o=Sg(a.canActivateChild(i,e));else{if(!Rm(a))throw new Error("Invalid CanActivateChild guard");o=Sg(a(i,e))}return o.pipe(Kp())})).pipe(Dm())})});return Zd(r).pipe(Dm())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Zd(i.map(function(i){return wp(function(){var r,o=rv(i,t,n);if(function(e){return e&&Rm(e.canActivate)}(o))r=Sg(o.canActivate(t,e));else{if(!Rm(o))throw new Error("Invalid CanActivate guard");r=Sg(o(t,e))}return r.pipe(Kp())})})).pipe(Dm()):Zd(!0)}(e,t.route,n))}),Kp(function(e){return!0!==e},!0))}(i,a,e,t):Zd(n)}),ee(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Xp(function(e){if(Om(e.guardsResult)){var n=_g('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new sg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),ef(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),gv(function(e){if(e.guards.canActivateChecks.length)return Zd(e).pipe(Xp(function(e){var n=new ug(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Mp(function(e){var n,i,r=!1;return Zd(e).pipe((n=t.paramsInheritanceStrategy,i=t.ngModule.injector,oe(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return Zd(e);var o=0;return re(r).pipe($d(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Zd({});var o={};return re(r).pipe(oe(function(r){return function(e,t,n,i){var r=rv(e,t,i);return Sg(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Xp(function(e){o[r]=e}))}),Np(1),oe(function(){return Object.keys(o).length===r.length?Zd(o):_p}))}(e._resolve,e,t,i).pipe(ee(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),sm(e,n).resolve),null}))}(e.route,t,n,i)}),Xp(function(){return o++}),Np(1),oe(function(t){return o===r.length?Zd(e):_p}))})),Xp({next:function(){return r=!0},complete:function(){r||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),Xp(function(e){var n=new cg(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),gv(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),ee(function(e){var n=function(e,t,n){var i=pm(e,t._root,n?n._root:void 0);return new rm(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),Xp(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,o=function(e){return t.triggerEvent(e)},ee(function(e){return new Em(r,e.targetRouterState,e.currentRouterState,o).activate(i),e})),Xp({next:function(){a=!0},complete:function(){a=!0}}),Qp(function(){a||s||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null}),xp(function(i){if(s=!0,(u=i)&&u.ngNavigationCancelingError){var r=Om(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new ig(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new rg(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(c){e.reject(c)}}var u;return _p}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Nm(e),this.config=e.map(Fm),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,o=t.fragment,a=t.queryParamsHandling,s=t.preserveFragment,u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:o,l=null;switch(a){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,o){if(0===n.length)return ym(t.root,t.root,t,i,o);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new bm(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,o){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return Tg(i.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),[].concat(r(e),[{outlets:a}])}if(i.segmentPath)return[].concat(r(e),[i.segmentPath])}return"string"!=typeof i?[].concat(r(e),[i]):0===o?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(r(e),[i])},[]);return new bm(n,t,i)}(n);if(a.toRoot())return ym(t.root,new Dg([],{}),t,i,o);var s=function(e,t,n){if(e.isAbsolute)return new wm(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new wm(i,i===t.root,0)}var r=mm(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new wm(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),u=s.processChildren?Am(s.segmentGroup,s.index,a.commands):Mm(s.segmentGroup,s.index,a.commands);return ym(s.segmentGroup,u,t,i,o)}(u,this.currentUrlTree,e,l,null!=c?c:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Om(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(i,"imperative",r,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return w(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof tg?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ng&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof mg&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new mg(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Cv),Ei(fd),Ei(void 0))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Bv=new hi("ROUTER_CONFIGURATION"),Fv=new hi("ROUTER_FORROOT_GUARD"),Hv=[ah,{provide:Ig,useClass:Bg},{provide:Cv,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new Cv(null,e,t,n,i,r,o,Ag(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[Ig,bv,ah,za,Pl,cl,vv,Bv,[function(){return function e(){_(this,e)}}(),new Pi],[function(){return function e(){_(this,e)}}(),new Pi]]},bv,{provide:am,useFactory:function(e){return e.routerState.root},deps:[Cv]},{provide:Pl,useClass:Bl},Nv,Pv,Dv,{provide:Bv,useValue:{enableTracing:!1}}];function qv(){return new Cl("Router",Cv)}var jv,Yv=((jv=function(){function e(t,n){_(this,e)}return w(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Hv,Vv(t),{provide:Fv,useFactory:Kv,deps:[[Cv,new Pi,new Ni]]},{provide:Bv,useValue:n||{}},{provide:th,useFactory:Uv,deps:[Kl,[new Di(ih),new Pi],Bv]},{provide:Iv,useFactory:Wv,deps:[Cv,fd,Bv]},{provide:xv,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Pv},{provide:Cl,multi:!0,useFactory:qv},[Xv,{provide:Uc,multi:!0,useFactory:Gv,deps:[Xv]},{provide:Qv,useFactory:Jv,deps:[Xv]},{provide:Zc,multi:!0,useExisting:Qv}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Vv(t)]}}}]),e}()).\u0275fac=function(e){return new(e||jv)(Ei(Fv,8),Ei(Cv,8))},jv.\u0275mod=ft({type:jv}),jv.\u0275inj=xe({}),jv);function Wv(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Iv(e,t,n)}function Uv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new oh(e,t):new rh(e,t)}function Kv(e){return"guarded"}function Vv(e){return[{provide:di,multi:!0,useValue:e},{provide:vv,multi:!0,useValue:e}]}var Xv=function(){var e=function(){function e(t){_(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new Y}return w(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(Xl,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(Cv),r=e.injector.get(Bv);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?Zd(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Bv),n=this.injector.get(Nv),i=this.injector.get(Iv),r=this.injector.get(Cv),o=this.injector.get(xl);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(za))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}();function Gv(e){return e.appInitializer.bind(e)}function Jv(e){return e.bootstrapListener.bind(e)}var Qv=new hi("Router Initializer");function Zv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){d(n,e);var t=p(n);function n(e,i){return _(this,n),t.call(this)}return w(n,[{key:"schedule",value:function(e){return this}}]),n}(L)),ey=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_(this,e),this.SchedulerAction=t,this.now=n}return w(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),ty=function(e){d(n,e);var t=p(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey.now;return _(this,n),(i=t.call(this,e,function(){return n.delegate&&n.delegate!==m(i)?n.delegate.now():r()})).actions=[],i.active=!1,i.scheduled=void 0,i}return w(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):h(y(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(ey),ny=new ty($v);function iy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ny;return function(n){return n.lift(new oy(e,t))}}var ry,oy=function(){function e(t,n){_(this,e),this.dueTime=t,this.scheduler=n}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new ay(e,this.dueTime,this.scheduler))}}]),e}(),ay=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return w(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sy,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(O);function sy(e){e.debouncedNext()}function uy(e){return null!=e&&"false"!="".concat(e)}function cy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ly(e)?Number(e):t}function ly(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function hy(e){return Array.isArray(e)?e:[e]}function dy(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function fy(e){return e instanceof mu?e.nativeElement:e}try{ry="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Fj){ry=!1}var py,gy,my,vy,yy,_y=function(){var e=function e(t){_(this,e),this._platformId=t,this.isBrowser=this._platformId?hd(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&&!ry)&&"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 e.\u0275fac=function(t){return new(t||e)(Ei(Qc))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Qc))},token:e,providedIn:"root"}),e}(),by=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),wy=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function My(){if(py)return py;if("object"!=typeof document||!document)return py=new Set(wy);var e=document.createElement("input");return py=new Set(wy.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function Ay(e){return function(){if(null==gy&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return gy=!0}}))}finally{gy=gy||!1}return gy}()?e:!!e.capture}function ky(){if(null==vy){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return vy=!1;if("scrollBehavior"in document.documentElement.style)vy=!0;else{var e=Element.prototype.scrollTo;vy=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return vy}function Ty(){if("object"!=typeof document||!document)return 0;if(null==my){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),my=0,0===e.scrollLeft&&(e.scrollLeft=1,my=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return my}function Sy(e){if(function(){if(null==yy){var e="undefined"!=typeof document?document.head:null;yy=!(!e||!e.createShadowRoot&&!e.attachShadow)}return yy}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Cy(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}var Ey=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Ly=function(){var e=function(){function e(t){_(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return w(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=fy(e);return new I(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new Y,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ey))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ey))},token:e,providedIn:"root"}),e}(),zy=function(){var e=function(){function e(t,n,i){_(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new Sc,this._disabled=!1,this._currentSubscription=null}return w(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=uy(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=cy(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe(iy(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(Ly),Ja(mu),Ja(dl))},e.\u0275dir=gt({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),Ry=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[Ey]}),e}();function Oy(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var xy=0,Dy=new Map,Py=null,Ny=function(){var e=function(){function e(t){_(this,e),this._document=t}return w(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=Iy(t,n);"string"!=typeof t?(By(t),Dy.set(i,{messageElement:t,referenceCount:0})):Dy.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=Iy(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=Dy.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}Py&&0===Py.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return w(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Xp(function(t){return e._pressedLetters.push(t)}),iy(t),ef(function(){return e._pressedLetters.length>0}),ee(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Zv(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Ec?this._items.toArray():this._items}}]),e}(),Hy=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),h(y(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(Fy),qy=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._origin="program",e}return w(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){h(y(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(Fy),jy=function(){var e=function(){function e(t){_(this,e),this._platform=t}return w(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(Fj){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===Wy(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=Wy(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Yy(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(_y))},e.\u0275prov=Oe({factory:function(){return new e(Ei(_y))},token:e,providedIn:"root"}),e}();function Yy(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Wy(e){if(!Yy(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Uy=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return w(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Sp(1)).subscribe(e)}}]),e}(),Ky=function(){var e=function(){function e(t,n,i){_(this,e),this._checker=t,this._ngZone=n,this._document=i}return w(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Uy(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(jy),Ei(dl),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(jy),Ei(dl),Ei(Ul))},token:e,providedIn:"root"}),e}();"undefined"!=typeof Element&∈var Vy=new hi("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Xy=new hi("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Gy=function(){var e=function(){function e(t,n,i,r){_(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return w(e,[{key:"announce",value:function(e){for(var n,i,r,o=this,a=this._defaultOptions,s=arguments.length,u=new Array(s>1?s-1:0),c=1;c1&&void 0!==arguments[1]&&arguments[1],n=fy(e);if(!this._platform.isBrowser||1!==n.nodeType)return Zd(null);var i=Sy(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var o={checkChildren:t,subject:new Y,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(e){var t=fy(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,n,i){var r=this,o=fy(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(function(e){var i=t(e,2),o=i[0],a=i[1];return r._originChanged(o,n,a)}):(this._setOriginForCurrentEventQueue(n),"function"==typeof o.focus&&o.focus(i))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=t_(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===t_(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,$y),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,$y)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,$y),e.addEventListener("mousedown",t._documentMousedownListener,$y),e.addEventListener("touchstart",t._documentTouchstartListener,$y),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$y),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$y),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,$y),i.removeEventListener("mousedown",this._documentMousedownListener,$y),i.removeEventListener("touchstart",this._documentTouchstartListener,$y),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(dl),Ei(_y),Ei(Ul,8),Ei(Zy,8))},e.\u0275prov=Oe({factory:function(){return new e(Ei(dl),Ei(_y),Ei(Ul,8),Ei(Zy,8))},token:e,providedIn:"root"}),e}();function t_(e){return e.composedPath?e.composedPath()[0]:e.target}var n_=function(){var e=function(){function e(t,n){_(this,e),this._platform=t,this._document=n}return w(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(_y),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(_y),Ei(Ul))},token:e,providedIn:"root"}),e}(),i_=function(){var e=function e(t){_(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(Ei(n_))},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[by,Ry]]}),e}(),r_=new hi("cdk-dir-doc",{providedIn:"root",factory:function(){return Li(Ul)}}),o_=function(){var e=function(){function e(t){if(_(this,e),this.value="ltr",this.change=new Sc,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return w(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(r_,8))},e.\u0275prov=Oe({factory:function(){return new e(Ei(r_,8))},token:e,providedIn:"root"}),e}(),a_=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),s_=new Mu("12.0.5"),u_=function e(){_(this,e)};function c_(e,t){return{type:7,name:e,definitions:t,options:{}}}function l_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function h_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function d_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function f_(e){return{type:6,styles:e,offset:null}}function p_(e,t,n){return{type:0,name:e,styles:t,options:n}}function g_(e){return{type:5,steps:e}}function m_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function v_(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function y_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function __(e){Promise.resolve(null).then(e)}var b_=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return w(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;__(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),w_=function(){function e(t){var n=this;_(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,o=0,a=this.players.length;0==a?__(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return w(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}();function M_(){return"undefined"!=typeof window&&void 0!==window.document}function A_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function k_(e){switch(e.length){case 0:return new b_;case 1:return e[0];default:return new w_(e)}}function T_(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],u=-1,c=null;if(i.forEach(function(e){var n=e.offset,i=n==u,l=i&&c||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),s){case"!":s=r[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,i,s,a)}l[i]=s}),i||s.push(l),c=l,u=n}),a.length){var l="\n - ";throw new Error("Unable to animate due to the following errors:".concat(l).concat(a.join(l)))}return s}function S_(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&C_(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&C_(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&C_(n,"destroy",e))})}}function C_(e,t,n){var i=n.totalTime,r=E_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function E_(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function L_(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function z_(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var R_=function(e,t){return!1},O_=function(e,t){return!1},x_=function(e,t,n){return[]},D_=A_();(D_||"undefined"!=typeof Element)&&(R_=M_()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},O_=function(){if(D_||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:O_}(),x_=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function X_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else V_(e,n);return n}function G_(e,t,n){return n?t+":"+n+";":""}function J_(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(db(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(db(s,o))}(e,r,i)}):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:yb(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return ub(n,e,t)}),options:yb(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=ub(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:yb(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return _b(K_(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=_b(0,0,"");return r.dynamic=!0,r.strValue=i,r}return _b((n=n||K_(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:f_({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=f_(s)}t.currentTime+=i.duration+i.delay;var u=this.visitStyle(o,t);u.isEmptyStep=a,n=u}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(vb(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,u,c,l,h=t.collectedStyles[t.currentQuerySelector],d=h[i],f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),f=!1),o=d.startTime),f&&(h[i]={startTime:o,endTime:r}),t.options&&(a=e[i],s=t.options,u=t.errors,c=s.params||{},(l=tb(a)).length&&l.forEach(function(e){c.hasOwnProperty(e)||u.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,c=e.steps.map(function(e){var i=n._makeStyleAst(e,t),c=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(vb(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(vb(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),l=0;return null!=c&&(r++,l=i.offset=c),s=s||l<0||l>1,a=a||l0&&r0?r==d?1:h*r:o[r],s=a*g;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:ub(this,$_(e.animation),t),options:yb(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:yb(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:yb(e.options)}}},{key:"visitQuery",value:function(e,n){var i=n.currentQuerySelector,r=e.options||{};n.queryCount++,n.currentQuery=e;var o=t(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(fb,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=o[0],s=o[1];n.currentQuerySelector=i.length?i+" "+a:a,L_(n.collectedStyles,n.currentQuerySelector,{});var u=ub(this,$_(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=i,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:u,originalSelector:e.selector,options:yb(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:K_(e.timings,t.errors,!0);return{type:12,animation:ub(this,$_(e.animation),t),timings:n,options:null}}}]),e}(),mb=function e(t){_(this,e),this.errors=t,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 vb(e){return!Array.isArray(e)&&"object"==typeof e}function yb(e){var t;return e?(e=V_(e)).params&&(e.params=(t=e.params)?V_(t):null):e={},e}function _b(e,t,n){return{duration:e,delay:t,easing:n}}function bb(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var wb=function(){function e(){_(this,e),this._map=new Map}return w(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,r(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),Mb=new RegExp(":enter","g"),Ab=new RegExp(":leave","g");function kb(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Tb).buildKeyframes(e,t,n,i,r,o,a,s,u,c)}var Tb=function(){function e(){_(this,e)}return w(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new wb;var l=new Cb(e,t,u,i,r,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),ub(this,n,l);var h=l.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,l.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[bb(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?W_(n.duration):null,o=null!=n.delay?W_(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),ub(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Sb);var a=W_(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return ub(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?W_(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),ub(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return K_(t.params?nb(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?W_(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Sb);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(u=s.currentTimeline),ub(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;ub(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}]),e}(),Sb={},Cb=function(){function e(t,n,i,r,o,a,s,u){_(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Sb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Eb(this._driver,n,0),s.push(this.currentTimeline)}return w(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=W_(i.duration)),null!=i.delay&&(r.delay=W_(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=nb(o[e],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Sb,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Lb(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,o,a){var s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(Mb,"."+this._enterClassName)).replace(Ab,"."+this._leaveClassName);var u=this._driver.query(this.element,e,1!=n);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push.apply(s,r(u))}return o||0!=s.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),s}}]),e}(),Eb=function(){function e(t,n,i,r){_(this,e),this._driver=t,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return w(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},a=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]="*"}):X_(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=nb(a[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:"*"),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=X_(o,!0);Object.keys(s).forEach(function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)}),i||(s.offset=a/e.duration),r.push(s)});var o=t.size?ib(t.values()):[],a=n.size?ib(n.values()):[];if(i){var s=r[0],u=V_(s);s.offset=0,u.offset=1,r=[s,u]}return bb(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),e}(),Lb=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _(this,n),(u=t.call(this,e,i,s.delay)).element=i,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=c,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return w(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=X_(e[0],!1);u.offset=0,o.push(u);var c=X_(e[0],!1);c.offset=zb(s),o.push(c);for(var l=e.length-1,h=1;h<=l;h++){var d=X_(e[h],!1);d.offset=zb((n+d.offset*i)/a),o.push(d)}i=a,n=0,r="",e=o}return bb(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(Eb);function zb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Rb,Ob,xb=function e(){_(this,e)},Db=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"normalizePropertyName",value:function(e,t){return ob(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(Pb[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(xb),Pb=(Rb="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(","),Ob={},Rb.forEach(function(e){return Ob[e]=!0}),Ob);function Nb(e,t,n,i,r,o,a,s,u,c,l,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:d}}var Ib={},Bb=function(){function e(t,n,i){_(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return w(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||Ib,d=this.buildStyles(n,a&&a.params||Ib,l),f=s&&s.params||Ib,p=this.buildStyles(i,f,l),g=new Set,m=new Map,v=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),f)},b=c?[]:kb(e,t,this.ast.animation,r,o,d,p,_,u,l),w=0;if(b.forEach(function(e){w=Math.max(e.duration+e.delay,w)}),l.length)return Nb(t,this._triggerName,n,i,y,d,p,[],[],m,v,w,l);b.forEach(function(e){var n=e.element,i=L_(m,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=L_(v,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var M=ib(g.values());return Nb(t,this._triggerName,n,i,y,d,p,b,M,m,v,w)}}]),e}(),Fb=function(){function e(t,n){_(this,e),this.styles=t,this.defaultParams=n}return w(e,[{key:"buildStyles",value:function(e,t){var n={},i=V_(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=nb(o,i,t)),n[e]=o})}}),n}}]),e}(),Hb=function(){function e(t,n){var i=this;_(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new Fb(e.style,e.options&&e.options.params||{})}),qb(this.states,"true","1"),qb(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new Bb(t,e,i.states))}),this.fallbackTransition=new Bb(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return w(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function qb(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var jb=new wb,Yb=function(){function e(t,n,i){_(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return w(e,[{key:"register",value:function(e,t){var n=[],i=pb(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=T_(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=kb(this._driver,t,a,"ng-enter","ng-leave",{},{},r,jb,o)).forEach(function(e){var t=L_(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,"*")})});var u=k_(n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=u,u.onDestroy(function(){return i.destroy(e)}),this.players.push(u),u}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=E_(t,"","","");return S_(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Wb=[],Ub={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Kb={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vb=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=V_(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return w(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Xb=new Vb("void"),Gb=function(){function e(t,n,i){_(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,nw(n,this._hostClassName)}return w(e,[{key:"listen",value:function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=L_(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var u=L_(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(nw(e,"ng-trigger"),nw(e,"ng-trigger-"+t),u[t]=Xb),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Qb(this.id,t,e),s=this._engine.statesByElement.get(e);s||(nw(e,"ng-trigger"),nw(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],c=new Vb(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[t]=c,u||(u=Xb),"void"===c.value||u.value!==c.value){var l=L_(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(u.value,c.value,e,c.params),d=!1;if(!h){if(!r)return;h=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:d}),d||(nw(e,"ng-animate-queued"),a.onStart(function(){iw(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),nw(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),iw(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Zb(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Zb(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return k_(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Ub,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;C--)this._namespaceList[C].drainQueuedTransitions(t).forEach(function(e){var t=e.player,r=e.element;if(T.push(t),n.collectedEnterElements.length){var a=r.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,r),f=A.get(r),p=g.get(r),m=n._buildInstruction(e,i,p,f,h);if(m.errors&&m.errors.length)S.push(m);else{if(h)return t.onStart(function(){return Z_(r,m.fromStyles)}),t.onDestroy(function(){return Q_(r,m.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return Z_(r,m.fromStyles)}),t.onDestroy(function(){return Q_(r,m.toStyles)}),void o.push(t);m.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(r,m.timelines),s.push({instruction:m,player:t,element:r}),m.queriedElements.forEach(function(e){return L_(u,e,[]).push(t)}),m.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),m.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=l.get(t);i||l.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(S.length){var E=[];S.forEach(function(e){E.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return E.push("- ".concat(e,"\n"))})}),T.forEach(function(e){return e.destroy()}),this.reportError(E)}var L=new Map,z=new Map;s.forEach(function(e){var t=e.element;i.has(t)&&(z.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,L))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){L_(L,t,[]).push(e),e.destroy()})});var R=v.filter(function(e){return aw(e,c,l)}),O=new Map;ew(O,this.driver,_,l,"*").forEach(function(e){aw(e,c,l)&&R.push(e)});var x=new Map;p.forEach(function(e,t){ew(x,n.driver,new Set(e),c,"!")}),R.forEach(function(e){var t=O.get(e),n=x.get(e);O.set(e,Object.assign(Object.assign({},t),n))});var D=[],P=[],N={};s.forEach(function(e){var t=e.element,r=e.player,s=e.instruction;if(i.has(t)){if(h.has(t))return r.onDestroy(function(){return Q_(t,s.toStyles)}),r.disabled=!0,r.overrideTotalTime(s.totalTime),void o.push(r);var u=N;if(z.size>1){for(var c=t,l=[];c=c.parentNode;){var d=z.get(c);if(d){u=d;break}l.push(c)}l.forEach(function(e){return z.set(e,u)})}var f=n._buildAnimation(r.namespaceId,s,L,a,x,O);if(r.setRealPlayer(f),u===N)D.push(r);else{var p=n.playersByElement.get(u);p&&p.length&&(r.parentPlayer=k_(p)),o.push(r)}}else Z_(t,s.fromStyles),r.onDestroy(function(){return Q_(t,s.toStyles)}),P.push(r),h.has(t)&&o.push(r)}),P.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=k_(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var I=0;I0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new b_(e.duration,e.delay)}}]),e}(),Qb=function(){function e(t,n,i){_(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new b_,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return w(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return S_(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){L_(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Zb(e){return e&&1===e.nodeType}function $b(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function ew(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push($b(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Kb,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return $b(e,o[s++])}),a}function tw(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function nw(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function iw(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function rw(e,t,n){k_(n).onDone(function(){return e.processLeaveNode(t)})}function ow(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function uw(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=lw(t[0]),t.length>1&&(i=lw(t[t.length-1]))):t&&(n=lw(t)),n||i?new cw(e,n,i):null}var cw=function(){var e=function(){function e(t,n,i){_(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return w(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Q_(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Q_(this._element,this._initialStyles),this._endStyles&&(Q_(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Z_(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Z_(this._element,this._endStyles),this._endStyles=null),Q_(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function lw(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),mw(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=yw(e,"").split(","),(i=gw(n,t))>=0&&(n.splice(i,1),vw(e,"",n.join(","))))}}]),e}();function fw(e,t,n){vw(e,"PlayState",n,pw(e,t))}function pw(e,t){var n=yw(e,"");return n.indexOf(",")>0?gw(n.split(","),t):gw([n],t)}function gw(e,t){for(var n=0;n=0)return n;return-1}function mw(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function vw(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function yw(e,t){return e.style["animation"+t]||""}var _w=function(){function e(t,n,i,r,o,a,s,u){_(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return w(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new dw(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:cb(e.element,i))})}this.currentSnapshot=t}}]),e}(),bw=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=q_(i),r}return w(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),h(y(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),h(y(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,h(y(n.prototype),"destroy",this).call(this))}}]),n}(b_),ww=function(){function e(){_(this,e),this._count=0}return w(e,[{key:"validateStyleProperty",value:function(e){return I_(e)}},{key:"matchesElement",value:function(e,t){return B_(e,t)}},{key:"containsElement",value:function(e,t){return F_(e,t)}},{key:"query",value:function(e,t,n){return H_(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return q_(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof _w}),s={};ab(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=sb(e,t,s));if(0==n)return new bw(e,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(e,c,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(l);var h=uw(e,t),d=new _w(e,t,c,n,i,r,u,h);return d.onDestroy(function(){var e;(e=l).parentNode.removeChild(e)}),d}}]),e}(),Mw=function(){function e(t,n,i,r){_(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return w(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:cb(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),Aw=function(){function e(){_(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(kw().toString()),this._cssKeyframesDriver=new ww}return w(e,[{key:"validateStyleProperty",value:function(e){return I_(e)}},{key:"matchesElement",value:function(e,t){return B_(e,t)}},{key:"containsElement",value:function(e,t){return F_(e,t)}},{key:"query",value:function(e,t,n){return H_(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},c=o.filter(function(e){return e instanceof Mw});ab(n,i)&&c.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var l=uw(e,t=sb(e,t=t.map(function(e){return X_(e,!1)}),u));return new Mw(e,t,s,l)}}]),e}();function kw(){return M_()&&Element.prototype.animate||{}}var Tw=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Ve.None,styles:[],data:{animation:[]}}),r}return w(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?d_(e):e;return Ew(this._renderer,null,t,"register",[n]),new Sw(t,this._renderer)}}]),n}(u_);return e.\u0275fac=function(t){return new(t||e)(Ei(yu),Ei(Ul))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),Sw=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return w(n,[{key:"create",value:function(e,t){return new Cw(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){_(this,e)}}()),Cw=function(){function e(t,n,i,r){_(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return w(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Rw=function(e){d(i,e);var n=p(i);function i(e,t,r,o){var a;return _(this,i),(a=n.call(this,t,r,o)).factory=e,a.namespaceId=t,a}return w(i,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,n,i){var r,o,a=this;if("@"==n.charAt(0)){var s,u=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=n.substr(1),l="";return"@"!=c.charAt(0)&&(o=(r=c).indexOf("."),c=(s=t([r.substring(0,o),r.substr(o+1)],2))[0],l=s[1]),this.engine.listen(this.namespaceId,u,c,l,function(e){a.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,n,i)}}]),i}(zw),Ow=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){return _(this,n),t.call(this,e.body,i,r)}return w(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(sw);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul),Ei(Y_),Ei(xb))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),xw=new hi("AnimationModuleType"),Dw=[{provide:u_,useClass:Tw},{provide:xb,useFactory:function(){return new Db}},{provide:sw,useClass:Ow},{provide:yu,useFactory:function(e,t,n){return new Lw(e,t,n)},deps:[Dd,sw,dl]}],Pw=[{provide:Y_,useFactory:function(){return"function"==typeof kw()?new Aw:new ww}},{provide:xw,useValue:"BrowserAnimations"}].concat(Dw),Nw=[{provide:Y_,useClass:j_},{provide:xw,useValue:"NoopAnimations"}].concat(Dw),Iw=function(){var e=function(){function e(){_(this,e)}return w(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Nw:Pw}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:Pw,imports:[Gd]}),e}();function Bw(e,t){if(1&e&&ts(0,"mat-pseudo-checkbox",4),2&e){var n=ps();Qa("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function Fw(e,t){if(1&e&&($a(0,"span",5),qs(1),es()),2&e){var n=ps();yo(1),Ys("(",n.group.label,")")}}var Hw=["*"],qw=function(){var e=function e(){_(this,e)};return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),jw=function(){var e=function e(){_(this,e)};return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),Yw=new Mu("12.0.5"),Ww=new hi("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Uw=function(){var e=function(){function e(t,n,i){_(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return w(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Tl()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Yw.full!==s_.full&&console.warn("The Angular Material version ("+Yw.full+") does not match the Angular CDK version ("+s_.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(n_),Ei(Ww,8),Ei(Ul))},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[a_],a_]}),e}();function Kw(e){return function(e){d(n,e);var t=p(n);function n(){var e;_(this,n);for(var i=arguments.length,r=new Array(i),o=0;o1&&void 0!==arguments[1]?arguments[1]:0;return function(e){d(i,e);var n=p(i);function i(){var e;_(this,i);for(var r=arguments.length,o=new Array(r),a=0;a0?n:e}}]),e}(),tM=new hi("mat-date-formats");try{Zw="undefined"!=typeof Intl}catch(Fj){Zw=!1}var nM={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},iM=aM(31,function(e){return String(e+1)}),rM={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},oM=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function aM(e,t){for(var n=Array(e),i=0;i9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(oM.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return h(y(n.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date;return i.setFullYear(e,t,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date;return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(n)}}]),n}(eM);return e.\u0275fac=function(t){return new(t||e)(Ei($w,8),Ei(_y))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),uM=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),cM=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function lM(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var hM=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw],Uw]}),e}(),dM=function(){function e(t,n,i){_(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return w(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),fM={enterDuration:450,exitDuration:400},pM=Ay({passive:!0}),gM=["mousedown","touchstart"],mM=["mouseup","mouseleave","touchend","touchcancel"],vM=function(){function e(t,n,i,r){_(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=fy(i))}return w(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},fM),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,u=t-r.top,c=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-a+"px",l.style.top=u-a+"px",l.style.height=2*a+"px",l.style.width=2*a+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new dM(this,l,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()},c),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},fM),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=fy(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(gM))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(mM),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Jy(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,pM)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(gM.forEach(function(t){e._triggerElement.removeEventListener(t,e,pM)}),this._pointerUpEventsRegistered&&mM.forEach(function(t){e._triggerElement.removeEventListener(t,e,pM)}))}}]),e}(),yM=new hi("mat-ripple-global-options"),_M=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new vM(this,n,t,i)}return w(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){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}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(dl),Ja(_y),Ja(yM,8),Ja(xw,8))},e.\u0275dir=gt({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&Es("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),bM=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw,by],Uw]}),e}(),wM=function(){var e=function e(t){_(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(Ja(xw,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&Es("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}),e}(),MM=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw]]}),e}(),AM=new hi("MAT_OPTION_PARENT_COMPONENT"),kM=Kw(function e(){_(this,e)}),TM=0,SM=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i,r;return _(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+TM++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(kM);return e.\u0275fac=function(t){return new(t||e)(Ja(AM,8))},e.\u0275dir=gt({type:e,inputs:{label:"label"},features:[Oa]}),e}(),CM=new hi("MatOptgroup"),EM=0,LM=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(this,e),this.source=t,this.isUserInput=n},zM=function(){var e=function(){function e(t,n,i,r){_(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+EM++,this.onSelectionChange=new Sc,this._stateChanges=new Y}return w(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=uy(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||Zv(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new LM(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(ju),Ja(void 0),Ja(SM))},e.\u0275dir=gt({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),RM=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){return _(this,n),t.call(this,e,i,r,o)}return n}(zM);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(ju),Ja(AM,8),Ja(CM,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&cs("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(Vs("id",t.id),Ua("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),Es("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[Oa],ngContentSelectors:Hw,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&&(ms(),Xa(0,Bw,1,2,"mat-pseudo-checkbox",0),$a(1,"span",1),vs(2),es(),Xa(3,Fw,2,1,"span",2),ts(4,"div",3)),2&e&&(Qa("ngIf",t.multiple),yo(3),Qa("ngIf",t.group&&t.group._inert),yo(1),Qa("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Xh,_M,wM],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-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}),e}();function OM(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;an+i?Math.max(0,e-i+t):n}var DM,PM=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[bM,ld,Uw,MM]]}),e}(),NM=["mat-button",""],IM=["*"],BM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],FM=Vw(Kw(Xw(function e(t){_(this,e),this._elementRef=t}))),HM=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;_(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var s,u=a(BM);try{for(u.s();!(s=u.n()).done;){var c=s.value;o._hasHostAttributes(c)&&o._getHostElement().classList.add(c)}}catch(l){u.e(l)}finally{u.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return w(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i*,.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}),e}(),qM=((DM=function e(){_(this,e)}).\u0275fac=function(e){return new(e||DM)},DM.\u0275mod=ft({type:DM}),DM.\u0275inj=xe({imports:[[bM,Uw],Uw]}),DM);function jM(e,t,n,i){return b(n)&&(i=n,n=void 0),i?jM(e,t,n).pipe(ee(function(e){return S(e)?i.apply(void 0,r(e)):i(e)})):new I(function(i){YM(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function YM(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(t,n),o=function(){return u.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,l=e.length;c2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?h(y(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return h(y(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}($v),UM=new(function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?h(y(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=JM(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return h(y(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(QM(t),e.scheduled=void 0)}}]),n}($v),$M=new(function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i=0}function sA(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function uA(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ny;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return aA(t)?i=Number(t)<1?1:Number(t):U(t)&&(n=t),U(n)||(n=ny),new I(function(t){var r=aA(e)?e:+e-n.now();return n.schedule(sA,r,{index:0,period:i,subscriber:t})})}(e,n)},function(e){return e.lift(new rA(t))}}function cA(e){return function(t){return t.lift(new lA(e))}}var lA=function(){function e(t){_(this,e),this.notifier=t}return w(e,[{key:"call",value:function(e,t){var n=new hA(e),i=Z(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),hA=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this,e)).seenValue=!1,i}return w(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}($),dA=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return w(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?h(y(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?h(y(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?h(y(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}($v),fA=new(function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return n}(ty))(dA);function pA(e,t){return new I(t?function(n){return t.schedule(gA,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function gA(e){var t=e.error;e.subscriber.error(t)}var mA=function(){var e=function(){function e(t,n,i){_(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return w(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Zd(this.value);case"E":return pA(this.error);case"C":return bp()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}(),vA=function(e){d(n,e);var t=p(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _(this,n),(r=t.call(this,e)).scheduler=i,r.delay=o,r}return w(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new yA(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(mA.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(mA.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(mA.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(O),yA=function e(t,n){_(this,e),this.notification=t,this.destination=n},_A=function(e){d(n,e);var t=p(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return _(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return w(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),h(y(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new bA(this._getNow(),e)),this._trimBufferThenGetEvents(),h(y(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new H;if(this.isStopped||this.hasError?t=L.EMPTY:(this.observers.push(e),t=new q(this,e)),r&&e.add(e=new vA(e,r)),n)for(var a=0;at&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}]),n}(Y),bA=function e(t,n){_(this,e),this.time=t,this.value=n};function wA(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=e.refCount,u=e.scheduler,c=0,l=!1,h=!1;return function(e){c++,t&&!l||(l=!1,t=new _A(r,a,u),n=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){h=!0,n=void 0,t.complete()}}));var i=t.subscribe(this);this.add(function(){c--,i.unsubscribe(),n&&!h&&s&&0===c&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}function MA(e){return e&&"function"==typeof e.connect}var AA=function(){function e(){_(this,e)}return w(e,[{key:"applyChanges",value:function(e,t,n,i,r){e.forEachOperation(function(e,i,o){var a,s;if(null==e.previousIndex){var u=n(e,i,o);a=t.createEmbeddedView(u.templateRef,u.context,u.index),s=1}else null==o?(t.remove(i),s=3):(a=t.get(i),t.move(a,o),s=2);r&&r({context:null==a?void 0:a.context,operation:s,record:e})})}},{key:"detach",value:function(){}}]),e}(),kA=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Y,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return w(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new I(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(uA(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Zd()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ef(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=fy(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return jM(e._getWindow().document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(dl),Ei(_y),Ei(Ul,8))},e.\u0275prov=Oe({factory:function(){return new e(Ei(dl),Ei(_y),Ei(Ul,8))},token:e,providedIn:"root"}),e}(),EA=function(){var e=function(){function e(t,n,i,r){var o=this;_(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new Y,this._elementScrolled=new I(function(e){return o.ngZone.runOutsideAngular(function(){return jM(o.elementRef.nativeElement,"scroll").pipe(cA(o._destroyed)).subscribe(e)})})}return w(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Ty()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Ty()?e.left=e.right:1==Ty()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;ky()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Ty()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Ty()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(CA),Ja(dl),Ja(o_,8))},e.\u0275dir=gt({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),LA=function(){var e=function(){function e(t,n,i){var r=this;_(this,e),this._platform=t,this._change=new Y,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return w(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(uA(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(_y),Ei(dl),Ei(Ul,8))},e.\u0275prov=Oe({factory:function(){return new e(Ei(_y),Ei(dl),Ei(Ul,8))},token:e,providedIn:"root"}),e}(),zA=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),RA=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[a_,by,zA],a_,zA]}),e}(),OA=function(){function e(){_(this,e)}return w(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),xA=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(OA),DA=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return w(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,h(y(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,h(y(n.prototype),"detach",this).call(this)}}]),n}(OA),PA=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this)).element=e instanceof mu?e.nativeElement:e,i}return n}(OA),NA=function(){function e(){_(this,e),this._isDisposed=!1,this.attachDomPortal=null}return w(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof xA?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof DA?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof PA?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),IA=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a){var s,u;return _(this,n),(u=t.call(this)).outletElement=e,u._componentFactoryResolver=i,u._appRef=r,u._defaultInjector=o,u.attachDomPortal=function(e){var t=e.element,i=u._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),u.outletElement.appendChild(t),u._attachedPortal=e,h((s=m(u),y(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},u._document=a,u}return w(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){h(y(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(NA),BA=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){var o,a;return _(this,n),(a=t.call(this))._componentFactoryResolver=e,a._viewContainerRef=i,a._isInitialized=!1,a.attached=new Sc,a.attachDomPortal=function(e){var t=e.element,i=a._document.createComment("dom-portal");e.setAttachedHost(m(a)),t.parentNode.insertBefore(i,t),a._getRootNode().appendChild(t),a._attachedPortal=e,h((o=m(a),y(n.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},a._document=r,a}return w(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&h(y(n.prototype),"detach",this).call(this),e&&h(y(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){h(y(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),h(y(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return h(y(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(NA);return e.\u0275fac=function(t){return new(t||e)(Ja(du),Ja($u),Ja(Ul))},e.\u0275dir=gt({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Oa]}),e}(),FA=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),HA=function(){function e(t,n){_(this,e),this.predicate=t,this.inclusive=n}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new qA(e,this.predicate,this.inclusive))}}]),e}(),qA=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e)).predicate=i,o.inclusive=r,o.index=0,o}return w(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(O),jA=ky(),YA=function(){function e(t,n){_(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return w(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=dy(-this._previousScrollPosition.left),e.style.top=dy(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),jA&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),jA&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),WA=function(){function e(t,n,i,r){var o=this;_(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return w(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),UA=function(){function e(){_(this,e)}return w(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function KA(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function VA(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var XA=function(){function e(t,n,i,r){_(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return w(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;KA(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),GA=function(){var e=function e(t,n,i,r){var o=this;_(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new UA},this.close=function(e){return new WA(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new YA(o._viewportRuler,o._document)},this.reposition=function(e){return new XA(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(Ei(CA),Ei(LA),Ei(dl),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(CA),Ei(LA),Ei(dl),Ei(Ul))},token:e,providedIn:"root"}),e}(),JA=function e(t){if(_(this,e),this.scrollStrategy=new UA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ul))},token:e,providedIn:"root"}),e}(),ek=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return w(n,[{key:"add",value:function(e){h(y(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}($A);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ul))},token:e,providedIn:"root"}),e}(),tk=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return w(n,[{key:"add",value:function(e){if(h(y(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;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}}}]),n}($A);return e.\u0275fac=function(t){return new(t||e)(Ei(Ul),Ei(_y))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ul),Ei(_y))},token:e,providedIn:"root"}),e}(),nk="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,ik=function(){var e=function(){function e(t,n){_(this,e),this._platform=n,this._document=t}return w(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||nk)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;tp&&(p=v,f=m)}}catch(y){g.e(y)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&sk(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=ck(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var c=0-a,l=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),d=this._subtractOverflows(r.height,c,l),f=h*d;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=uk(this._overlayRef.getConfig().minHeight),a=uk(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=ck(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),u=Math.max(e.y+o.height-a.height,0),c=Math.max(a.top-n.top-e.y,0),l=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?l||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)s=u.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)a=e.x,o=u.right-e.x;else{var d=Math.min(u.right-e.x+u.left,e.x),f=this._lastBoundingBoxSize.width;o=2*d,a=e.x-d,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=dy(n.height),i.top=dy(n.top),i.bottom=dy(n.bottom),i.width=dy(n.width),i.left=dy(n.left),i.right=dy(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=dy(r)),o&&(i.maxWidth=dy(o))}this._lastBoundingBoxSize=n,sk(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){sk(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){sk(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();sk(n,this._getExactOverlayY(t,e,a)),sk(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",u=this._getOffset(t,"x"),c=this._getOffset(t,"y");u&&(s+="translateX(".concat(u,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=dy(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=dy(o.maxWidth):r&&(n.maxWidth="")),sk(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=dy(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=dy(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:VA(e,n),isOriginOutsideView:KA(e,n),isOverlayClipped:VA(t,n),isOverlayOutsideView:KA(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),dk=function(){var e=function(){function e(t,n,i,r){_(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return w(e,[{key:"global",value:function(){return new hk}},{key:"connectedTo",value:function(e,t,n){return new lk(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new ak(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(LA),Ei(Ul),Ei(_y),Ei(ik))},e.\u0275prov=Oe({factory:function(){return new e(Ei(LA),Ei(Ul),Ei(_y),Ei(ik))},token:e,providedIn:"root"}),e}(),fk=0,pk=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c,l,h){_(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=c,this._location=l,this._outsideClickDispatcher=h}return w(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new JA(e);return r.direction=r.direction||this._directionality.value,new rk(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+fk++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(xl)),new IA(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(GA),Ei(ik),Ei(du),Ei(dk),Ei(ek),Ei(za),Ei(dl),Ei(Ul),Ei(o_),Ei(ah),Ei(tk))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),gk=[{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"}],mk=new hi("cdk-connected-overlay-scroll-strategy"),vk=function(){var e=function e(t){_(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),yk=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=L.EMPTY,this._attachSubscription=L.EMPTY,this._detachSubscription=L.EMPTY,this._positionSubscription=L.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Sc,this.positionChange=new Sc,this.attach=new Sc,this.detach=new Sc,this.overlayKeydown=new Sc,this.overlayOutsideClick=new Sc,this._templatePortal=new DA(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return w(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=uy(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=uy(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=uy(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=uy(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=uy(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=gk);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),27!==t.keyCode||e.disableClose||Zv(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new JA({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}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;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(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new HA(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(pk),Ja(Vu),Ja($u),Ja(mk),Ja(o_,8))},e.\u0275dir=gt({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Et]}),e}(),_k={provide:mk,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},bk=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[pk,_k],imports:[[a_,FA,RA],RA]}),e}(),wk=["underline"],Mk=["connectionContainer"],Ak=["inputContainer"],kk=["label"];function Tk(e,t){1&e&&(ns(0),$a(1,"div",14),ts(2,"div",15),ts(3,"div",16),ts(4,"div",17),es(),$a(5,"div",18),ts(6,"div",15),ts(7,"div",16),ts(8,"div",17),es(),is())}function Sk(e,t){1&e&&($a(0,"div",19),vs(1,1),es())}function Ck(e,t){if(1&e&&(ns(0),vs(1,2),$a(2,"span"),qs(3),es(),is()),2&e){var n=ps(2);yo(3),js(n._control.placeholder)}}function Ek(e,t){1&e&&vs(0,3,["*ngSwitchCase","true"])}function Lk(e,t){1&e&&($a(0,"span",23),qs(1," *"),es())}function zk(e,t){if(1&e){var n=os();$a(0,"label",20,21),cs("cdkObserveContent",function(){return Qt(n),ps().updateOutlineGap()}),Xa(2,Ck,4,1,"ng-container",12),Xa(3,Ek,1,0,"ng-content",12),Xa(4,Lk,2,0,"span",22),es()}if(2&e){var i=ps();Es("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),Qa("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),Ua("for",i._control.id)("aria-owns",i._control.id),yo(2),Qa("ngSwitchCase",!1),yo(1),Qa("ngSwitchCase",!0),yo(1),Qa("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function Rk(e,t){1&e&&($a(0,"div",24),vs(1,4),es())}function Ok(e,t){if(1&e&&($a(0,"div",25,26),ts(2,"span",27),es()),2&e){var n=ps();yo(2),Es("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function xk(e,t){1&e&&($a(0,"div"),vs(1,5),es()),2&e&&Qa("@transitionMessages",ps()._subscriptAnimationState)}function Dk(e,t){if(1&e&&($a(0,"div",31),qs(1),es()),2&e){var n=ps(2);Qa("id",n._hintLabelId),yo(1),js(n.hintLabel)}}function Pk(e,t){if(1&e&&($a(0,"div",28),Xa(1,Dk,2,2,"div",29),vs(2,6),ts(3,"div",30),vs(4,7),es()),2&e){var n=ps();Qa("@transitionMessages",n._subscriptAnimationState),yo(1),Qa("ngIf",n.hintLabel)}}var Nk,Ik=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Bk=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Fk=0,Hk=new hi("MatError"),qk=function(){var e=function e(t,n){_(this,e),this.id="mat-error-"+Fk++,t||n.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)(ci("aria-live"),Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Ua("id",t.id)},inputs:{id:"id"},features:[cu([{provide:Hk,useExisting:e}])]}),e}(),jk={transitionMessages:c_("transitionMessages",[p_("enter",f_({opacity:1,transform:"translateY(0%)"})),m_("void => enter",[f_({opacity:0,transform:"translateY(-5px)"}),l_("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yk=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e}),e}(),Wk=0,Uk=new hi("MatHint"),Kk=function(){var e=function e(){_(this,e),this.align="start",this.id="mat-hint-"+Wk++};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Ua("id",t.id)("align",null),Es("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[cu([{provide:Uk,useExisting:e}])]}),e}(),Vk=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["mat-label"]]}),e}(),Xk=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["mat-placeholder"]]}),e}(),Gk=new hi("MatPrefix"),Jk=new hi("MatSuffix"),Qk=0,Zk=Vw(function e(t){_(this,e),this._elementRef=t},"primary"),$k=new hi("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eT=new hi("MatFormField"),tT=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c){var l;return _(this,n),(l=t.call(this,e))._elementRef=e,l._changeDetectorRef=i,l._dir=o,l._defaults=a,l._platform=s,l._ngZone=u,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new Y,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-"+Qk++,l._labelId="mat-form-field-label-"+Qk++,l.floatLabel=l._getDefaultFloatLabelState(),l._animationsEnabled="NoopAnimations"!==c,l.appearance=a&&a.appearance?a.appearance:"legacy",l._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,l}return w(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=uy(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(Lp(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(cA(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(cA(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),le(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Lp(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Lp(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(cA(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,jM(this._label.nativeElement,"transitionend").pipe(Sp(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,r(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,r(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),u=e.children,c=this._getStartEnd(u[0].getBoundingClientRect()),l=0,h=0;h0?.75*l+10:0}for(var d=0;de?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return vT(e)}},{key:"requiredTrue",value:function(e){return function(e){return!0===e.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function(e){return hT(e.value)||gT.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return hT(t.value)||!dT(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"pattern",value:function(e){return function(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(hT(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):yT;var t,n}(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return kT(e)}},{key:"composeAsync",value:function(e){return ST(e)}}]),e}();function vT(e){return hT(e.value)?{required:!0}:null}function yT(e){return null}function _T(e){return null!=e}function bT(e){var t=as(e)?re(e):e;return us(t),t}function wT(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function MT(e,t){return t.map(function(t){return t(e)})}function AT(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function kT(e){if(!e)return null;var t=e.filter(_T);return 0==t.length?null:function(e){return wT(MT(e,t))}}function TT(e){return null!=e?kT(AT(e)):null}function ST(e){if(!e)return null;var t=e.filter(_T);return 0==t.length?null:function(e){return iT(MT(e,t).map(bT)).pipe(ee(wT))}}function CT(e){return null!=e?ST(AT(e)):null}function ET(e,t){return null===e?[t]:Array.isArray(e)?[].concat(r(e),[t]):[e,t]}function LT(e){return e._rawValidators}function zT(e){return e._rawAsyncValidators}var RT=function(){var e=function(){function e(){_(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return w(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=TT(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=CT(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e}),e}(),OT=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(RT);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,features:[Oa]}),t}(),xT=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(RT),DT=function(){function e(t){_(this,e),this._cd=t}return w(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}(),PT=function(){var e=function(e){d(n,e);var t=p(n);function n(e){return _(this,n),t.call(this,e)}return n}(DT);return e.\u0275fac=function(t){return new(t||e)(Ja(xT,2))},e.\u0275dir=gt({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&Es("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:[Oa]}),e}(),NT=function(){var e=function(e){d(n,e);var t=p(n);function n(e){return _(this,n),t.call(this,e)}return n}(DT);return e.\u0275fac=function(t){return new(t||e)(Ja(OT,10))},e.\u0275dir=gt({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&Es("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:[Oa]}),e}();function IT(e,t){HT(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&jT(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&jT(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function BT(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),qT(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function FT(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function HT(e,t){var n=LT(e);null!==t.validator?e.setValidators(ET(n,t.validator)):"function"==typeof n&&e.setValidators([n]);var i=zT(e);null!==t.asyncValidator?e.setAsyncValidators(ET(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);var r=function(){return e.updateValueAndValidity()};FT(t._rawValidators,r),FT(t._rawAsyncValidators,r)}function qT(e,t){var n=!1;if(null!==e){if(null!==t.validator){var i=LT(e);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var o=zT(e);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(e){return e!==t.asyncValidator});a.length!==o.length&&(n=!0,e.setAsyncValidators(a))}}}var s=function(){};return FT(t._rawValidators,s),FT(t._rawAsyncValidators,s),n}function jT(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function YT(e,t){HT(e,t)}function WT(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function UT(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function KT(e,t){return t?(Array.isArray(t),t.forEach(function(e){e.constructor===lT?n=e:Object.getPrototypeOf(e.constructor)===aT?i=e:r=e}),r||i||n||null):null;var n,i,r}function VT(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function XT(e){return(ZT(e)?e.validators:e)||null}function GT(e){return Array.isArray(e)?TT(e):e||null}function JT(e,t){return(ZT(t)?t.asyncValidators:e)||null}function QT(e){return Array.isArray(e)?CT(e):e||null}function ZT(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var $T,eS,tS=function(){function e(t,n){_(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=GT(this._rawValidators),this._composedAsyncValidatorFn=QT(this._rawAsyncValidators)}return w(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=GT(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=QT(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=bT(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof iS?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof rS&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new Sc,this.statusChanges=new Sc}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){ZT(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),nS=function(e){d(n,e);var t=p(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _(this,n),(e=t.call(this,XT(r),JT(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return w(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){VT(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){VT(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(tS),iS=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,XT(i),JT(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return w(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof nS?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(tS),rS=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,XT(i),JT(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return w(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof nS?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=a(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(tS),oS={provide:OT,useExisting:Te(function(){return sS})},aS=Promise.resolve(null),sS=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Sc,r.form=new iS({},TT(e),CT(i)),r}return w(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;aS.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),IT(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;aS.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),VT(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;aS.then(function(){var n=t._findContainer(e.path),i=new iS({});YT(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;aS.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;aS.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,UT(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(OT);return e.\u0275fac=function(t){return new(t||e)(Ja(fT,10),Ja(pT,10))},e.\u0275dir=gt({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&cs("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[cu([oS]),Oa]}),e}(),uS={provide:xT,useExisting:Te(function(){return lS})},cS=Promise.resolve(null),lS=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this)).control=new nS,a._registered=!1,a.update=new Sc,a._parent=e,a._setValidators(i),a._setAsyncValidators(r),a.valueAccessor=KT(0,o),a}return w(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),WT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?[].concat(r(this._parent.path),[this.name]):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){IT(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;cS.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;cS.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(xT);return e.\u0275fac=function(t){return new(t||e)(Ja(OT,9),Ja(fT,10),Ja(pT,10),Ja(sT,10))},e.\u0275dir=gt({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[cu([uS]),Oa,Et]}),e}(),hS=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),dS={provide:sT,useExisting:Te(function(){return fS}),multi:!0},fS=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}}]),n}(aT);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&cs("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[cu([dS]),Oa]}),t}(),pS=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),gS=new hi("NgModelWithFormControlWarning"),mS={provide:xT,useExisting:Te(function(){return vS})},vS=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this))._ngModelWarningConfig=o,a.update=new Sc,a._ngModelWarningSent=!1,a._setValidators(e),a._setAsyncValidators(i),a.valueAccessor=KT(0,r),a}return w(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&BT(t,this,!1),IT(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}WT(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&BT(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(xT);return e.\u0275fac=function(t){return new(t||e)(Ja(fT,10),Ja(pT,10),Ja(sT,10),Ja(gS,8))},e.\u0275dir=gt({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[cu([mS]),Oa,Et]}),e._ngModelWarningSentOnce=!1,e}(),yS={provide:OT,useExisting:Te(function(){return _S})},_S=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new Sc,r._setValidators(e),r._setAsyncValidators(i),r}return w(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(qT(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return IT(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){BT(e.control||null,e,!1),VT(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,UT(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(BT(n||null,t),i instanceof nS&&(IT(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);YT(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return qT(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){HT(this.form,this),this._oldForm&&qT(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(OT);return e.\u0275fac=function(t){return new(t||e)(Ja(fT,10),Ja(pT,10))},e.\u0275dir=gt({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&cs("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[cu([yS]),Oa,Et]}),e}(),bS={provide:fT,useExisting:Te(function(){return wS}),multi:!0},wS=function(){var e=function(){function e(){_(this,e),this._required=!1}return w(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?vT(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Ua("required",t.required?"":null)},inputs:{required:"required"},features:[cu([bS])]}),e}(),MS=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[pS]]}),e}(),AS=((eS=function e(){_(this,e)}).\u0275fac=function(e){return new(e||eS)},eS.\u0275mod=ft({type:eS}),eS.\u0275inj=xe({imports:[MS]}),eS),kS=(($T=function(){function e(){_(this,e)}return w(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:gS,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275fac=function(e){return new(e||$T)},$T.\u0275mod=ft({type:$T}),$T.\u0275inj=xe({imports:[MS]}),$T),TS=["trigger"],SS=["panel"];function CS(e,t){if(1&e&&($a(0,"span",8),qs(1),es()),2&e){var n=ps();yo(1),js(n.placeholder)}}function ES(e,t){if(1&e&&($a(0,"span",12),qs(1),es()),2&e){var n=ps(2);yo(1),js(n.triggerValue)}}function LS(e,t){1&e&&vs(0,0,["*ngSwitchCase","true"])}function zS(e,t){1&e&&($a(0,"span",9),Xa(1,ES,2,1,"span",10),Xa(2,LS,1,0,"ng-content",11),es()),2&e&&(Qa("ngSwitch",!!ps().customTrigger),yo(2),Qa("ngSwitchCase",!0))}function RS(e,t){if(1&e){var n=os();$a(0,"div",13),$a(1,"div",14,15),cs("@transformPanel.done",function(e){return Qt(n),ps()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return Qt(n),ps()._handleKeydown(e)}),vs(3,1),es(),es()}if(2&e){var i=ps();Qa("@transformPanelWrap",void 0),yo(1),Ks("mat-select-panel ",i._getPanelTheme(),""),Cs("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),Qa("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),Ua("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var OS,xS,DS=[[["mat-select-trigger"]],"*"],PS=["mat-select-trigger","*"],NS={transformPanelWrap:c_("transformPanelWrap",[m_("* => void",y_("@transformPanel",[v_()],{optional:!0}))]),transformPanel:c_("transformPanel",[p_("void",f_({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),p_("showing",f_({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),p_("showing-multiple",f_({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),m_("void => *",l_("120ms cubic-bezier(0, 0, 0.2, 1)")),m_("* => void",l_("100ms 25ms linear",f_({opacity:0})))])},IS=0,BS=new hi("mat-select-scroll-strategy"),FS=new hi("MAT_SELECT_CONFIG"),HS={provide:BS,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},qS=function e(t,n){_(this,e),this.source=t,this.value=n},jS=Xw(Gw(Kw(Jw(function e(t,n,i,r,o){_(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o})))),YS=new hi("MatSelectTrigger"),WS=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,o,a,s,u,c,l,h,d,f,p,g,v){var y,b,w,M;return _(this,n),(y=t.call(this,s,a,c,l,d))._viewportRuler=e,y._changeDetectorRef=i,y._ngZone=o,y._dir=u,y._parentFormField=h,y.ngControl=d,y._liveAnnouncer=g,y._defaultOptions=v,y._panelOpen=!1,y._compareWith=function(e,t){return e===t},y._uid="mat-select-"+IS++,y._triggerAriaLabelledBy=null,y._destroy=new Y,y._onChange=function(){},y._onTouched=function(){},y._valueId="mat-select-value-"+IS++,y._panelDoneAnimatingStream=new Y,y._overlayPanelClass=(null===(b=y._defaultOptions)||void 0===b?void 0:b.overlayPanelClass)||"",y._focused=!1,y.controlType="mat-select",y._required=!1,y._multiple=!1,y._disableOptionCentering=null!==(M=null===(w=y._defaultOptions)||void 0===w?void 0:w.disableOptionCentering)&&void 0!==M&&M,y.ariaLabel="",y.optionSelectionChanges=wp(function(){var e=y.options;return e?e.changes.pipe(Lp(e),Mp(function(){return le.apply(void 0,r(e.map(function(e){return e.onSelectionChange})))})):y._ngZone.onStable.pipe(Sp(1),Mp(function(){return y.optionSelectionChanges}))}),y.openedChange=new Sc,y._openedStream=y.openedChange.pipe(ef(function(e){return e}),ee(function(){})),y._closedStream=y.openedChange.pipe(ef(function(e){return!e}),ee(function(){})),y.selectionChange=new Sc,y.valueChange=new Sc,y.ngControl&&(y.ngControl.valueAccessor=m(y)),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(y._typeaheadDebounceInterval=v.typeaheadDebounceInterval),y._scrollStrategyFactory=p,y._scrollStrategy=y._scrollStrategyFactory(),y.tabIndex=parseInt(f)||0,y.id=y.id,y}return w(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=uy(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=uy(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=uy(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=cy(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new kA(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(tA(),cA(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(cA(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(Lp(null),cA(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!Zv(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||Zv(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe(Sp(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new Hy(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(cA(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(cA(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=le(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(cA(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),le.apply(void 0,r(this.options.map(function(e){return e._stateChanges}))).pipe(cA(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==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)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.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()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(jS);return e.\u0275fac=function(t){return new(t||e)(Ja(LA),Ja(ju),Ja(dl),Ja(uM),Ja(mu),Ja(o_,8),Ja(sS,8),Ja(_S,8),Ja(eT,8),Ja(xT,10),ci("tabindex"),Ja(BS),Ja(Gy),Ja(FS,8))},e.\u0275dir=gt({type:e,viewQuery:function(e,t){var n;(1&e&&(Fc(TS,5),Fc(SS,5),Fc(yk,5)),2&e)&&(Bc(n=qc())&&(t.trigger=n.first),Bc(n=qc())&&(t.panel=n.first),Bc(n=qc())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Oa,Et]}),e}(),US=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return w(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;h(y(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(cA(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;h(y(n.prototype),"_canOpen",this).call(this)&&(h(y(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Sp(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=OM(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=xM((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),h(y(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new qS(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=OM(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(WS);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,YS,5),Hc(n,RM,5),Hc(n,CM,5)),2&e)&&(Bc(i=qc())&&(t.customTrigger=i.first),Bc(i=qc())&&(t.options=i),Bc(i=qc())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&cs("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Ua("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()),Es("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:[cu([{provide:Yk,useExisting:t},{provide:AM,useExisting:t}]),Oa],ngContentSelectors:PS,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&&(ms(DS),$a(0,"div",0,1),cs("click",function(){return t.toggle()}),$a(3,"div",2),Xa(4,CS,2,1,"span",3),Xa(5,zS,3,2,"span",4),es(),$a(6,"div",5),ts(7,"div",6),es(),es(),Xa(8,RS,4,14,"ng-template",7),cs("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=Ga(1);Ua("aria-owns",t.panelOpen?t.id+"-panel":null),yo(3),Qa("ngSwitch",t.empty),Ua("id",t._valueId),yo(1),Qa("ngSwitchCase",!0),yo(1),Qa("ngSwitchCase",!1),yo(3),Qa("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[vk,Zh,$h,yk,ed,Wh],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[NS.transformPanelWrap,NS.transformPanel]},changeDetection:0}),t}(),KS=((OS=function e(){_(this,e)}).\u0275fac=function(e){return new(e||OS)},OS.\u0275mod=ft({type:OS}),OS.\u0275inj=xe({providers:[HS],imports:[[ld,bk,PM,Uw],zA,nT,PM,Uw]}),OS),VS=function(){function e(t){_(this,e),this.total=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new XS(e,this.total))}}]),e}(),XS=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return w(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(O),GS=new Set,JS=function(){var e=function(){function e(t){_(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):QS}return w(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!GS.has(e))try{xS||((xS=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(xS)),xS.sheet&&(xS.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),GS.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(_y))},e.\u0275prov=Oe({factory:function(){return new e(Ei(_y))},token:e,providedIn:"root"}),e}();function QS(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var ZS=function(){var e=function(){function e(t,n){_(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new Y}return w(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return $S(hy(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=pp($S(hy(e)).map(function(e){return t._registerQuery(e).observable}));return(n=yp(n.pipe(Sp(1)),n.pipe(function(e){return e.lift(new VS(1))},iy(0)))).pipe(ee(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new I(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Lp(n),ee(function(t){var n=t.matches;return{query:e,matches:n}}),cA(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(JS),Ei(dl))},e.\u0275prov=Oe({factory:function(){return new e(Ei(JS),Ei(dl))},token:e,providedIn:"root"}),e}();function $S(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var eC={tooltipState:c_("state",[p_("initial, void, hidden",f_({opacity:0,transform:"scale(0)"})),p_("visible",f_({transform:"scale(1)"})),m_("* => visible",l_("200ms cubic-bezier(0, 0, 0.2, 1)",g_([f_({opacity:0,transform:"scale(0)",offset:0}),f_({opacity:.5,transform:"scale(0.99)",offset:.5}),f_({opacity:1,transform:"scale(1)",offset:1})]))),m_("* => hidden",l_("100ms cubic-bezier(0, 0, 0.2, 1)",f_({opacity:0})))])},tC=Ay({passive:!0}),nC=new hi("mat-tooltip-scroll-strategy"),iC={provide:nC,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},rC=new hi("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),oC=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c,l,h,d){var f=this;_(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=u,this._dir=l,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Y,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!Zv(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run(function(){return f.hide(0)}))},this._scrollStrategy=c,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),l.change.pipe(cA(this._destroyed)).subscribe(function(){f._overlayRef&&f._updatePosition(f._overlayRef)}),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)})}return w(e,[{key:"position",get:function(){return this._position},set:function(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()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=uy(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;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(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(cA(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(n){var i=t(n,2),r=i[0],o=i[1];e.removeEventListener(r,o,tC)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new xA(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(cA(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe(cA(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(cA(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Sp(1),cA(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(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}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX,r=e.originY;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-tooltip-panel-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var n=this;e.forEach(function(e){var i=t(e,2),r=i[0],o=i[1];n._elementRef.nativeElement.addEventListener(r,o,tC)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(pk),Ja(mu),Ja(CA),Ja($u),Ja(dl),Ja(_y),Ja(Ny),Ja(e_),Ja(void 0),Ja(o_),Ja(void 0),Ja(Ul))},e.\u0275dir=gt({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),aC=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c,l,h,d,f){var p;return _(this,n),(p=t.call(this,e,i,r,o,a,s,u,c,l,h,d,f))._tooltipComponent=uC,p}return n}(oC);return e.\u0275fac=function(t){return new(t||e)(Ja(pk),Ja(mu),Ja(CA),Ja($u),Ja(dl),Ja(_y),Ja(Ny),Ja(e_),Ja(nC),Ja(o_,8),Ja(rC,8),Ja(Ul))},e.\u0275dir=gt({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[Oa]}),e}(),sC=function(){var e=function(){function e(t){_(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Y}return w(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ju))},e.\u0275dir=gt({type:e}),e}(),uC=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return n}(sC);return e.\u0275fac=function(t){return new(t||e)(Ja(ju),Ja(ZS))},e.\u0275cmp=ct({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&cs("click",function(){return t._handleBodyInteraction()},!1,Lr)("auxclick",function(){return t._handleBodyInteraction()},!1,Lr),2&e&&Cs("zoom","visible"===t._visibility?1:null)},features:[Oa],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&($a(0,"div",0),cs("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),_c(1,"async"),qs(2),es()),2&e)&&(Es("mat-tooltip-handset",null==(n=bc(1,5,t._isHandset))?null:n.matches),Qa("ngClass",t.tooltipClass)("@state",t._visibility),yo(2),js(t.message))},directives:[Wh],pipes:[sd],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[eC.tooltipState]},changeDetection:0}),e}(),cC=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[iC],imports:[[i_,ld,bk,Uw],Uw,zA]}),e}();function lC(e,t){if(1&e&&($a(0,"mat-option",19),qs(1),es()),2&e){var n=t.$implicit;Qa("value",n),yo(1),Ys(" ",n," ")}}function hC(e,t){if(1&e){var n=os();$a(0,"mat-form-field",16),$a(1,"mat-select",17),cs("selectionChange",function(e){return Qt(n),ps(2)._changePageSize(e.value)}),Xa(2,lC,2,2,"mat-option",18),es(),es()}if(2&e){var i=ps(2);Qa("appearance",i._formFieldAppearance)("color",i.color),yo(1),Qa("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),yo(1),Qa("ngForOf",i._displayedPageSizeOptions)}}function dC(e,t){if(1&e&&($a(0,"div",20),qs(1),es()),2&e){var n=ps(2);yo(1),js(n.pageSize)}}function fC(e,t){if(1&e&&($a(0,"div",12),$a(1,"div",13),qs(2),es(),Xa(3,hC,3,6,"mat-form-field",14),Xa(4,dC,2,1,"div",15),es()),2&e){var n=ps();yo(2),Ys(" ",n._intl.itemsPerPageLabel," "),yo(1),Qa("ngIf",n._displayedPageSizeOptions.length>1),yo(1),Qa("ngIf",n._displayedPageSizeOptions.length<=1)}}function pC(e,t){if(1&e){var n=os();$a(0,"button",21),cs("click",function(){return Qt(n),ps().firstPage()}),Tn(),$a(1,"svg",7),ts(2,"path",22),es(),es()}if(2&e){var i=ps();Qa("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Ua("aria-label",i._intl.firstPageLabel)}}function gC(e,t){if(1&e){var n=os();Tn(),Sn(),$a(0,"button",23),cs("click",function(){return Qt(n),ps().lastPage()}),Tn(),$a(1,"svg",7),ts(2,"path",24),es(),es()}if(2&e){var i=ps();Qa("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Ua("aria-label",i._intl.lastPageLabel)}}var mC=function(){var e=function e(){_(this,e),this.changes=new Y,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of ".concat(n);var i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),vC={provide:mC,deps:[[new Pi,new Ni,mC]],useFactory:function(e){return e||new mC}},yC=new hi("MAT_PAGINATOR_DEFAULT_OPTIONS"),_C=Kw(Qw(function e(){_(this,e)})),bC=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;if(_(this,n),(o=t.call(this))._intl=e,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new Sc,o._intlChanges=e.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),r){var a=r.pageSize,s=r.pageSizeOptions,u=r.hidePageSize,c=r.showFirstLastButtons;null!=a&&(o._pageSize=a),null!=s&&(o._pageSizeOptions=s),null!=u&&(o._hidePageSize=u),null!=c&&(o._showFirstLastButtons=c)}return g(o)}return w(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(cy(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=cy(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(cy(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return cy(e)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=uy(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=uy(e)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex1&&void 0!==arguments[1]?arguments[1]:ny,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new kC(i,n))}}var kC=function(){function e(t,n){_(this,e),this.delay=t,this.scheduler=n}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new TC(e,this.delay,this.scheduler))}}]),e}(),TC=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return w(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new SC(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(mA.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(mA.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(O),SC=function e(t,n){_(this,e),this.time=t,this.notification=n},CC=["mat-menu-item",""],EC=["*"];function LC(e,t){if(1&e){var n=os();$a(0,"div",0),cs("keydown",function(e){return Qt(n),ps()._handleKeydown(e)})("click",function(){return Qt(n),ps().closed.emit("click")})("@transformMenu.start",function(e){return Qt(n),ps()._onAnimationStart(e)})("@transformMenu.done",function(e){return Qt(n),ps()._onAnimationDone(e)}),$a(1,"div",1),vs(2),es(),es()}if(2&e){var i=ps();Qa("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),Ua("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var zC={transformMenu:c_("transformMenu",[p_("void",f_({opacity:0,transform:"scale(0.8)"})),m_("void => enter",l_("120ms cubic-bezier(0, 0, 0.2, 1)",f_({opacity:1,transform:"scale(1)"}))),m_("* => void",l_("100ms 25ms linear",f_({opacity:0})))]),fadeInItems:c_("fadeInItems",[p_("showing",f_({opacity:1})),m_("void => *",[f_({opacity:0}),l_("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},RC=new hi("MatMenuContent"),OC=new hi("MAT_MENU_PANEL"),xC=Xw(Kw(function e(){_(this,e)})),DC=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new Y,a._focused=new Y,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(m(a)),a}return w(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Sp(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z".concat(Math.min(4+e,24)),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Lp(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(dl),Ja(PC))},e.\u0275dir=gt({type:e,contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,RC,5),Hc(n,DC,5),Hc(n,DC,4)),2&e)&&(Bc(i=qc())&&(t.lazyContent=i.first),Bc(i=qc())&&(t._allItems=i),Bc(i=qc())&&(t.items=i))},viewQuery:function(e,t){var n;(1&e&&Fc(Vu,5),2&e)&&(Bc(n=qc())&&(t.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),BC=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){return _(this,n),t.call(this,e,i,r)}return n}(IC);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(dl),Ja(PC))},e.\u0275cmp=ct({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Ua("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[cu([{provide:OC,useExisting:e}]),Oa],ngContentSelectors:EC,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&&(ms(),Xa(0,LC,3,6,"ng-template"))},directives:[Wh],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}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:[zC.transformMenu,zC.fadeInItems]},changeDetection:0}),e}(),FC=new hi("mat-menu-scroll-strategy"),HC={provide:FC,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},qC=Ay({passive:!0}),jC=function(){var e=function(){function e(t,n,i,r,o,a,s,u){var c=this;_(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=a,this._dir=s,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=L.EMPTY,this._hoverSubscription=L.EMPTY,this._menuCloseSubscription=L.EMPTY,this._handleTouchStart=function(e){Qy(e)||(c._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Sc,this.onMenuOpen=this.menuOpened,this.menuClosed=new Sc,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=o instanceof IC?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,qC),a&&(a._triggersSubmenu=this.triggersSubmenu())}return w(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,qC),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof IC&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof IC?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(ef(function(e){return"void"===e.toState}),Sp(1),cA(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){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)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new JA({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})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var n=t("before"===this.menu.xPosition?["end","start"]:["start","end"],2),i=n[0],r=n[1],o=t("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=o[0],s=o[1],u=a,c=s,l=i,h=r,d=0;this.triggersSubmenu()?(h=i="before"===this.menu.xPosition?"start":"end",r=l="end"===i?"start":"end",d="bottom"===a?8:-8):this.menu.overlapTrigger||(u="top"===a?"bottom":"top",c="top"===s?"bottom":"top"),e.withPositions([{originX:i,originY:u,overlayX:l,overlayY:a,offsetY:d},{originX:r,originY:u,overlayX:h,overlayY:a,offsetY:d},{originX:i,originY:c,overlayX:l,overlayY:s,offsetY:-d},{originX:r,originY:c,overlayX:h,overlayY:s,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return le(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Zd(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ef(function(t){return t!==e._menuItemInstance}),ef(function(){return e._menuOpen})):Zd(),n)}},{key:"_handleMousedown",value:function(e){Jy(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var 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())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ef(function(t){return t===e._menuItemInstance&&!t.disabled}),AC(0,$M)).subscribe(function(){e._openedBy="mouse",e.menu instanceof IC&&e.menu._isAnimating?e.menu._animationDone.pipe(Sp(1),AC(0,$M),cA(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new DA(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(pk),Ja(mu),Ja($u),Ja(FC),Ja(OC,8),Ja(DC,10),Ja(o_,8),Ja(e_))},e.\u0275dir=gt({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&cs("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&Ua("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),YC=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[HC],imports:[Uw]}),e}(),WC=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[HC],imports:[[ld,Uw,bM,bk,YC],zA,Uw,YC]}),e}(),UC=["*"];function KC(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function VC(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function XC(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var GC=function e(t,n,i){_(this,e),this.url=t,this.svgText=n,this.options=i},JC=function(){var e=function(){function e(t,n,i,r){_(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,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=i}return w(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new GC(n,null,i))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(vr.HTML,n);if(!r)throw XC(n);return this._addSvgIconConfig(e,t,new GC("",r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new GC(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(vr.HTML,t);if(!i)throw XC(t);return this._addSvgIconSetConfig(e,new GC("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(vr.RESOURCE_URL,e);if(!n)throw VC(e);var i=this._cachedIconsByUrl.get(n);return i?Zd(QC(i)):this._loadSvgIconFromConfig(new GC(e,null)).pipe(Xp(function(e){return t._cachedIconsByUrl.set(n,e)}),ee(function(e){return QC(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=ZC(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):pA(KC(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?Zd(QC(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ee(function(e){return QC(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?Zd(i):iT(t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(xp(function(t){var i=n._sanitizer.sanitize(vr.RESOURCE_URL,e.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(i," failed: ").concat(t.message))),Zd(null)}))})).pipe(ee(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw KC(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),o=this._extractSvgIconFromSet(r,e,i.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(Xp(function(t){return e.svgText=t}),ee(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?Zd(null):this._fetchIcon(e).pipe(Xp(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8?arguments[8]:void 0;_(this,e),this.store=t,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.extend=u,this.pending=!1,this._onTranslationChange=new Sc,this._onLangChange=new Sc,this._onDefaultLangChange=new Sc,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}return w(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(Sp(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Zd(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(Sp(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),Zd(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(wA(1),Sp(1));return this.loadingTranslations=n.pipe(ee(function(n){return t.compiler.compileTranslations(n,e)}),wA(1),Sp(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?pE(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var r,o={},s=!1,u=a(t);try{for(u.s();!(r=u.n()).done;){var c=r.value;o[c]=this.getParsedResult(e,c,n),eA(o[c])&&(s=!0)}}catch(h){u.e(h)}finally{u.f()}return s?iT(t.map(function(e){return eA(o[e])?o[e]:Zd(o[e])})).pipe(ee(function(e){var n={};return e.forEach(function(e,i){n[t[i]]=e}),n})):o}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var l={key:t,translateService:this};void 0!==n&&(l.interpolateParams=n),i=this.missingTranslationHandler.handle(l)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!dE(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe($d(function(i){return eA(i=n.getParsedResult(i,e,t))?i:Zd(i)}));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return eA(i)?i:Zd(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!dE(e)||!e.length)throw new Error('Parameter "key" required');return yp(wp(function(){return n.get(e,t)}),this.onTranslationChange.pipe(Mp(function(i){var r=n.getParsedResult(i.translations,e,t);return"function"==typeof r.subscribe?r:Zd(r)})))}},{key:"stream",value:function(e,t){var n=this;if(!dE(e)||!e.length)throw new Error('Parameter "key" required');return yp(wp(function(){return n.get(e,t)}),this.onLangChange.pipe(Mp(function(i){var r=n.getParsedResult(i.translations,e,t);return eA(r)?r:Zd(r)})))}},{key:"instant",value:function(e,t){if(!dE(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(eA(n)){if(e instanceof Array){var i={};return e.forEach(function(t,n){i[e[n]]=e[n]}),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(bE),Ei(sE),Ei(yE),Ei(mE),Ei(cE),Ei(ME),Ei(wE),Ei(kE),Ei(AE))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),SE=function(){var e=function(){function e(t,n){_(this,e),this.translate=t,this._ref=n,this.value=""}return w(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var o=this.translate.getParsedResult(n,e,t);eA(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:sE,useClass:uE},t.compiler||{provide:yE,useClass:_E},t.parser||{provide:mE,useClass:vE},t.missingTranslationHandler||{provide:cE,useClass:lE},bE,{provide:wE,useValue:t.isolate},{provide:ME,useValue:t.useDefaultLang},{provide:kE,useValue:t.extend},{provide:AE,useValue:t.defaultLanguage},TE]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:sE,useClass:uE},t.compiler||{provide:yE,useClass:_E},t.parser||{provide:mE,useClass:vE},t.missingTranslationHandler||{provide:cE,useClass:lE},{provide:wE,useValue:t.isolate},{provide:ME,useValue:t.useDefaultLang},{provide:kE,useValue:t.extend},{provide:AE,useValue:t.defaultLanguage},TE]}}}]),e}()).\u0275fac=function(e){return new(e||gE)},gE.\u0275mod=ft({type:gE}),gE.\u0275inj=xe({}),gE),EE=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[],imports:[[MC,WC,aE,qM,CE,ld]]}),e}();function LE(e,t){}var zE=function e(){_(this,e),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=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},RE={dialogContainer:c_("dialogContainer",[p_("void, exit",f_({opacity:0,transform:"scale(0.7)"})),p_("enter",f_({transform:"none"})),m_("* => enter",l_("150ms cubic-bezier(0, 0, 0.2, 1)",f_({transform:"none",opacity:1}))),m_("* => void, * => exit",l_("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",f_({opacity:0})))])},OE=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s){var u;return _(this,n),(u=t.call(this))._elementRef=e,u._focusTrapFactory=i,u._changeDetectorRef=r,u._config=a,u._focusMonitor=s,u._animationStateChanged=new Sc,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u.attachDomPortal=function(e){return u._portalOutlet.hasAttached(),u._portalOutlet.attachDomPortal(e)},u._ariaLabelledBy=a.ariaLabelledBy||null,u._document=o,u}return w(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=Cy(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Cy())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=Cy();return e===t||e.contains(t)}}]),n}(NA);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(Ky),Ja(ju),Ja(Ul,8),Ja(zE),Ja(e_))},e.\u0275dir=gt({type:e,viewQuery:function(e,t){var n;(1&e&&Fc(BA,7),2&e)&&(Bc(n=qc())&&(t._portalOutlet=n.first))},features:[Oa]}),e}(),xE=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._state="enter",e}return w(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(OE);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&ls("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(Vs("id",t._id),Ua("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Xs("@dialogContainer",t._state))},features:[Oa],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Xa(0,LE,0,0,"ng-template",0)},directives:[BA],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:[RE.dialogContainer]}}),t}(),DE=0,PE=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+DE++;_(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Y,this._afterClosed=new Y,this._beforeClosed=new Y,this._state=0,n._id=r,n._animationStateChanged.pipe(ef(function(e){return"opened"===e.state}),Sp(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(ef(function(e){return"closed"===e.state}),Sp(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe(ef(function(e){return 27===e.keyCode&&!i.disableClose&&!Zv(e)})).subscribe(function(e){e.preventDefault(),NE(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():NE(i,"mouse")})}return w(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(ef(function(e){return"closing"===e.state}),Sp(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function NE(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var IE,BE=new hi("MatDialogData"),FE=new hi("mat-dialog-default-options"),HE=new hi("mat-dialog-scroll-strategy"),qE={provide:HE,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},jE=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c){var l=this;_(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Y,this._afterOpenedAtThisLevel=new Y,this._ariaHiddenElements=new Map,this.afterAllClosed=wp(function(){return l.openDialogs.length?l._getAfterAllClosed():l._getAfterAllClosed().pipe(Lp(void 0))}),this._scrollStrategy=a}return w(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new zE)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new JA({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}},{key:"_attachDialogContainer",value:function(e,t){var n=za.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:zE,useValue:t}]}),i=new xA(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof Vu)t.attachTemplatePortal(new DA(e,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,t),a=t.attachComponentPortal(new xA(e,i.viewContainerRef,o));r.componentInstance=a.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(o_,null,je.Optional)||r.push({provide:o_,useValue:{value:e.direction,change:Zd()}}),za.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(pk),Ja(za),Ja(void 0),Ja(void 0),Ja(ik),Ja(void 0),Ja(fi),Ja(fi),Ja(hi))},e.\u0275dir=gt({type:e}),e}(),YE=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u){return _(this,n),t.call(this,e,i,o,s,u,a,PE,xE,BE)}return n}(jE);return e.\u0275fac=function(t){return new(t||e)(Ei(pk),Ei(za),Ei(ah,8),Ei(FE,8),Ei(HE),Ei(e,12),Ei(ik))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),WE=0,UE=function(){var e=function(){function e(t,n,i){_(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+WE++}return w(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE,8),Ja(mu),Ja(YE))},e.\u0275dir=gt({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Vs("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),KE=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),VE=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}(),XE=((IE=function e(){_(this,e)}).\u0275fac=function(e){return new(e||IE)},IE.\u0275mod=ft({type:IE}),IE.\u0275inj=xe({providers:[YE,qE],imports:[[bk,FA,Uw],Uw]}),IE),GE=v(2051),JE=[5,10,25,100];function QE(){var e=new zE;return e.disableClose=!0,e.autoFocus=!1,e}function ZE(e){return"virt"===e.namespace.split(":")[4]}var $E=new Intl.Collator("cs",{numeric:!0});function eL(e,t,n,i){var r=t.active,o=t.direction;return r&&""!==o?e.sort(function(e,t){var a=n(e,r,i),s=n(t,r,i);return $E.compare(a,s)*("asc"===o?1:-1)}):e}function tL(e,t,n,i,r,o){t=t.toLowerCase();var a="";return n.forEach(function(t){a+=";"+i(e,t,r)}),o&&(a+=";"+i(e,"uuid",r)),-1!==a.toLowerCase().indexOf(t)}function nL(e,t,n,i){var r=[],o=["checkbox","select","edit","menu","cite","extend","recent"];return t=t.filter(function(e){return!o.includes(e)}),e.forEach(function(e){var o={};t.forEach(function(t){var r;o[t]=(null!==(r=n(e,t,i))&&void 0!==r?r:"").split('"').join("''").trim()}),r.push(o)}),r}function iL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"export";switch(t){case"csv":var i=function(e,t){return null===t?"":t},r=Object.keys(e[0]),o=e.map(function(e){return r.map(function(t){return JSON.stringify(e[t],i)}).join(",")});o.unshift(r.join(",").split(" ").join("_").split('"').join("''"));var a=o.join("\r\n"),s=new Blob([a],{type:"text/csv"});(0,GE.saveAs)(s,"".concat(n,".").concat(t))}}var rL=function(){var e=function e(){_(this,e),this.exportData=new Sc};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,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&&($a(0,"div",0),$a(1,"button",1),$a(2,"mat-icon"),qs(3,"more_vert"),es(),es(),$a(4,"mat-menu",null,2),$a(6,"button",3),qs(7),_c(8,"translate"),es(),es(),$a(9,"mat-menu",null,4),$a(11,"button",5),cs("click",function(){return t.exportData.emit("csv")}),qs(12,"Csv"),es(),es(),es()),2&e){var n=Ga(5),i=Ga(10);yo(1),Qa("matMenuTriggerFor",n),yo(5),Qa("matMenuTriggerFor",i),yo(1),Ys(" ",bc(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[HM,jC,oE,BC,DC],pipes:[SE],styles:[""]}),e}();function oL(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-table-options",6),cs("exportData",function(e){return Qt(n),ps().exportData.emit(e)}),es()}}var aL,sL=["*"],uL=((aL=function(){function e(){_(this,e),this.hideExport=!1,this.page=new Sc,this.pageSizeOptions=JE,this.pageSize=5,this.dataLength=0,this.exportData=new Sc}return w(e,[{key:"matPaginator",set:function(e){this.paginator=e}},{key:"pageChanged",value:function(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.page.emit(e),this.paginator.page.emit(e)}}]),e}()).\u0275fac=function(e){return new(e||aL)},aL.\u0275cmp=ct({type:aL,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){var n;1&e&&Fc(wC,7),2&e&&Bc(n=qc())&&(t.matPaginator=n.first)},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",dataLength:"dataLength"},outputs:{page:"page",exportData:"exportData"},ngContentSelectors:sL,decls:7,vars:8,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&&(ms(),$a(0,"div",0),$a(1,"div",1),$a(2,"mat-paginator",2),cs("page",function(e){return t.page.emit(e)}),es(),Xa(3,oL,1,0,"perun-web-apps-table-options",3),es(),$a(4,"div",4),vs(5),es(),$a(6,"mat-paginator",5),cs("page",function(e){return t.pageChanged(e)}),es(),es()),2&e&&(yo(2),Qa("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),yo(1),Qa("ngIf",!t.hideExport),yo(3),Qa("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize))},directives:[wC,Xh,rL],styles:[""]}),aL),cL=function(){var e=function(){function e(t){_(this,e),this.dialogRef=t}return w(e,[{key:"close",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),es(),$a(3,"div",1),qs(4),_c(5,"translate"),es(),$a(6,"div",2),$a(7,"div",3),$a(8,"button",4),cs("click",function(){return t.close()}),qs(9),_c(10,"translate"),es(),es(),es()),2&e&&(yo(1),js(bc(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),yo(3),Ys(" ",bc(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),yo(5),Ys(" ",bc(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[UE,KE,VE,HM],pipes:[SE],styles:[""]}),e}(),lL=function(){var e=function(){function e(){_(this,e),this.branding=""}return w(e,[{key:"setInstanceConfig",value:function(e){this.instanceConfig=e}},{key:"setDefaultConfig",value:function(e){this.defaultConfig=e}},{key:"setPerunPrincipal",value:function(e){this.principal=e}},{key:"getPerunPrincipal",value:function(){return this.principal}},{key:"getInitialPageId",value:function(){return this.initialPageId}},{key:"setInitialPageId",value:function(e){this.initialPageId=e}},{key:"getLoginAttributeNames",value:function(){return this.get("login_namespace_attributes")}},{key:"getMemberProfileAttributeNames",value:function(){return this.get("member_profile_attributes_friendly_names")}},{key:"setBanding",value:function(e){this.branding=e}},{key:"skipOidc",value:function(){return this.get("skip_oidc")}},{key:"get",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]: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)}},{key:"showError",value:function(e,t,n,i,r){this.addNotification.emit({type:"error",error:t,description:n,title:e,actionText:void 0===i&&void 0!==n?this.getDefaultActionMessage():i,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}},{key:"showSuccess",value:function(e,t,n,i){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===n&&void 0!==t?this.getDefaultActionMessage():n,delay:this.defaultSuccessDelayMs,icon:"done",action:i,timeStamp:"".concat((new Date).getHours(),":").concat((new Date).getMinutes())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(TE))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),vL=function(){var e=function(){function e(t,n,i,r,o,a){_(this,e),this.authService=t,this.apiRequestConfiguration=n,this.notificator=i,this.store=r,this.dialog=o,this.initAuthService=a}return w(e,[{key:"intercept",value:function(e,t){var n=this,i=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==i&&-1!==e.url.toString().indexOf(i)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()){var r=QE();r.width="450px",this.dialog.open(cL,r).afterClosed().subscribe(function(){n.authService.startAuthentication().then(function(){})})}e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});var o=this.apiRequestConfiguration.shouldHandleError(),a="POST"===e.method&&!this.store.skipOidc();return t.handle(e).pipe(Xp(function(e){e instanceof _f&&a&&n.initAuthService.loadPrincipal()},function(t){var i=n.formatErrors(t,e);return void 0===i?pA(t):o?void n.notificator.showRPCError(i):pA(i)}))}},{key:"formatErrors",value:function(e,t){var n;if(console.error(e),e.error.errorId?n=e.error:e.errorId&&(n=JSON.parse(e.error)),void 0!==n)return n.urlWithParams=t.urlWithParams,n.call=t.url,n.payload=t.body,n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(hL),Ei(gL),Ei(mL),Ei(lL),Ei(YE),Ei(fL))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac}),e}(),yL=function(){var e=function(){function e(){_(this,e),this.notificationData=[],this.newNotificationsCount=0}return w(e,[{key:"storeNotification",value:function(e){this.newNotificationsCount++,this.notificationData.push(e)}},{key:"getNotifications",value:function(){return this.notificationData.reverse()}},{key:"clearNotifications",value:function(){this.notificationData=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),_L=function(){var e=function(){function e(t,n,i,r){_(this,e),this.http=t,this.notificator=n,this.authService=i,this.storeService=r}return w(e,[{key:"getApiUrl",value:function(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}},{key:"formatErrors",value:function(e,t,n,i){var r=e.error;return r.call=t,r.payload=n,i&&this.notificator.showRPCError(e.error),pA(r)}},{key:"getHeaders",value:function(){var e=new af;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue())}},{key:"get",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]||new lf,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),i="".concat(this.getApiUrl()).concat(e);return this.http.get(i,{headers:this.getHeaders()}).pipe(xp(function(e){return t.formatErrors(e,i,null,n)}))}},{key:"put",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),o=JSON.stringify(n);return this.http.put(r,o,{headers:this.getHeaders()}).pipe(xp(function(e){return t.formatErrors(e,r,o,i)}))}},{key:"post",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="".concat(this.getApiUrl()).concat(e),o=JSON.stringify(n),a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(r,o,{headers:a}).pipe(xp(function(e){return t.formatErrors(e,r,o,i)}))}},{key:"delete",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i="".concat(this.getApiUrl()).concat(e);return this.http.delete(i,{headers:this.getHeaders()}).pipe(xp(function(e){return t.formatErrors(e,i,null,n)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Nf),Ei(mL),Ei(hL),Ei(lL))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),bL=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"isAllSelectedWithDisabledCheckbox",value:function(e,t,n,i,r,o,a,s){var u=this;return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*n,this.pageEnd=this.pageStart+n,this.pageIterator=0,this.dataLength=""===t?o.data.length:o.filteredData.length,i||(this.modulo=this.dataLength%n,this.pageEnd=0===this.modulo?this.pageStart+n:this.pageStart+this.modulo),o.sortData(o.filteredData,a).forEach(function(e){u.pageStart<=u.pageIterator&&u.pageIterator closed",[l_(".3s ease-in")])]);var wL=c_("flyInOut",[m_(":enter",[f_({transform:"translateX(100%)"}),l_(".25s")]),m_(":leave",[l_(".5s",f_({transform:"translateX(100%)"}))])]);c_("rollInOut",[m_(":enter",[f_({height:"0px"}),l_(".25s")]),m_(":leave",[l_(".25s",f_({height:"0px"}))])]),c_("routeAnimations",[m_("* => *",[f_({position:"relative"}),y_(":enter",[f_({width:"100%",opacity:0})],{optional:!0}),y_(":leave",[f_({position:"absolute",width:"100%",opacity:1}),l_("0.15s",f_({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),y_(":enter",[f_({position:"absolute",width:"100%",opacity:0}),l_("0.15s",f_({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),c_("tagsOpenClose",[p_("open",f_({})),p_("closed",f_({width:"0px",height:"0px"})),m_("open <=> closed",[l_(".3s ease-in")])]),c_("switchAnimations",[m_("true => false",[y_(":enter, :leave",f_({})),h_([y_(":enter",[f_({transform:"translateX(-100%)"}),l_("1s ease-in-out",f_({transform:"translateX(0%)"}))],{optional:!0}),y_(":leave",[f_({transform:"translateX(0%)",position:"absolute"}),l_("1s ease-in-out",f_({transform:"translateX(100%)"}))],{optional:!0})])]),m_("false => true",[y_(":enter, :leave",f_({})),h_([y_(":enter",[f_({transform:"translateX(100%)"}),l_("1s ease-in-out",f_({transform:"translateX(0%)"}))],{optional:!0}),y_(":leave",[f_({transform:"translateX(0%)",position:"absolute"}),l_("1s ease-in-out",f_({transform:"translateX(-100%)"}))],{optional:!0})])])]),c_("slideInOutLeft",[m_(":enter",[f_({transform:"translateX(-100%)",position:"relative"}),l_("0.5s ease-in",f_({transform:"translateX(0%)"}))]),m_(":leave",[l_("0.5s ease-in",f_({transform:"translateX(-100%)"}))])]),c_("slideInOutRight",[m_(":enter",[f_({transform:"translateX(100%)",position:"fixed"}),l_("0.5s ease-in",f_({transform:"translateX(0%)"}))]),m_(":leave",[f_({transform:"translateX(-100%)",position:"relative"}),l_("0.5s ease-in",f_({transform:"translateX(100%)"}))])]);var ML,AL=((ML=function e(){_(this,e)}).\u0275fac=function(e){return new(e||ML)},ML.\u0275mod=ft({type:ML}),ML.\u0275inj=xe({imports:[[ld]]}),ML),kL=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e){var t="";return null!==e.titleBefore&&(t+=e.titleBefore+" "),null!==e.firstName&&(t+=e.firstName+" "),null!==e.middleName&&(t+=e.middleName+" "),null!==e.lastName&&(t+=e.lastName+" "),null!==e.titleAfter&&(t+=e.titleAfter+" "),t.endsWith(" ")&&(t=t.substring(0,t.length-1)),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"userFullName",type:e,pure:!0}),e}(),TL=function(){var e=function(){function e(t,n){_(this,e),this.translate=t,this.storage=n}return w(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=this.storage.get("custom_labels");if(n)for(var i=Object.keys(n),r=0,o=i;r0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(t||this._minRows!==this._previousMinRows||i!==this._previousValue){var r=this._measureScrollHeight(),o=Math.max(r,this._cachedPlaceholderHeight||0);n.style.height="".concat(o,"px"),this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return e._scrollToCaretPosition(n)}):setTimeout(function(){return e._scrollToCaretPosition(n)})}),this._previousValue=i,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(e){var t=e.selectionStart,n=e.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==e||e.setSelectionRange(t,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(_y),Ja(dl),Ja(Ul,8))},e.\u0275dir=gt({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&cs("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),e}(),qL=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[by]]}),e}(),jL=new hi("MAT_INPUT_VALUE_ACCESSOR"),YL=["button","checkbox","file","hidden","image","radio","range","reset","submit"],WL=0,UL=Jw(function e(t,n,i,r){_(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),KL=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c,l,h){var d;_(this,n),(d=t.call(this,s,o,a,r))._elementRef=e,d._platform=i,d.ngControl=r,d._autofillMonitor=c,d._formField=h,d._uid="mat-input-"+WL++,d.focused=!1,d.stateChanges=new Y,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._required=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(e){return My().has(e)});var f=d._elementRef.nativeElement,p=f.nodeName.toLowerCase();return d._inputValueAccessor=u||f,d._previousNativeValue=d.value,d.id=d.id,i.IOS&&l.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||0!==t.selectionStart||0!==t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===p,d._isTextarea="textarea"===p,d._isNativeSelect&&(d.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select"),d}return w(n,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=uy(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=uy(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&My().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=uy(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var e,t,n=(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(n!==this._previousPlaceholder){var i=this._elementRef.nativeElement;this._previousPlaceholder=n,n?i.setAttribute("placeholder",n):i.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){YL.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var 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}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(UL);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(_y),Ja(xT,10),Ja(sS,8),Ja(_S,8),Ja(uM),Ja(jL,10),Ja(FL),Ja(dl),Ja(eT,8))},e.\u0275dir=gt({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&cs("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(Vs("disabled",t.disabled)("required",t.required),Ua("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),Es("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[cu([{provide:Yk,useExisting:e}]),Oa,Et]}),e}(),VL=((RL=function e(){_(this,e)}).\u0275fac=function(e){return new(e||RL)},RL.\u0275mod=ft({type:RL}),RL.\u0275inj=xe({providers:[uM],imports:[[qL,nT,Uw],qL,nT]}),RL);function XL(e,t){1&e&&ts(0,"mat-spinner",7)}function GL(e,t){1&e&&($a(0,"mat-error"),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function JL(e,t){1&e&&($a(0,"mat-error"),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function QL(e,t){if(1&e){var n=os();$a(0,"div",8),$a(1,"mat-form-field"),$a(2,"mat-label"),qs(3),_c(4,"translate"),es(),$a(5,"input",9,10),cs("ngModelChange",function(e){return Qt(n),ps().subject=e}),es(),Xa(7,GL,3,3,"mat-error",11),es(),$a(8,"mat-form-field"),$a(9,"mat-label"),qs(10),_c(11,"translate"),es(),$a(12,"textarea",12,13),cs("ngModelChange",function(e){return Qt(n),ps().message=e}),_c(14,"translate"),qs(15," "),es(),Xa(16,JL,3,3,"mat-error",11),es(),es()}if(2&e){var i=Ga(6),r=Ga(13),o=ps();yo(3),js(bc(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),yo(2),Qa("ngModel",o.subject),yo(2),Qa("ngIf",i.invalid),yo(3),js(bc(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),yo(2),ys("placeholder",bc(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),Qa("ngModel",o.message),yo(4),Qa("ngIf",r.invalid)}}var ZL=function(){var e=function(){function e(t,n,i,r,o,a){_(this,e),this.dialogRef=t,this.translate=n,this.notificator=i,this.rtMessages=r,this.data=o,this.storeService=a,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}return w(e,[{key:"ngOnInit",value:function(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}},{key:"sendBugReport",value:function(){var e=this;this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){e.notificator.showSuccess(e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+t.ticketNumber+e.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),e.dialogRef.close()},function(){e.loading=!1,e.dialogRef.afterClosed().subscribe(function(){})})}},{key:"getFullEmailBody",value:function(){var e=this.storeService.get("config"),t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n")).concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){var n=JSON.stringify(this.data.error.payload);n=n.replace(/"password":".+?"/,'"password":"####"'),t=t.concat("Payload:\n"+n+"\n\n")}return(t=t.concat("Sended from new Perun Gui, version: "+v(306).i8)).split("\n").join("\n ")}},{key:"parseMethod",value:function(e){return e?this.methodRegexp.exec(e)[1]:e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(TE),Ja(mL),Ja(ip),Ja(BE),Ja(lL))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),es(),Xa(3,XL,1,0,"mat-spinner",1),Xa(4,QL,17,13,"div",2),$a(5,"div",3),$a(6,"div",4),$a(7,"button",5),cs("click",function(){return t.dialogRef.close()}),qs(8),_c(9,"translate"),es(),$a(10,"button",6),cs("click",function(){return t.sendBugReport()}),qs(11),_c(12,"translate"),es(),es(),es()),2&e&&(yo(1),js(bc(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),yo(2),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading),yo(4),Ys(" ",bc(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),yo(2),Qa("disabled",""===t.message||""===t.subject||t.loading),yo(1),Ys(" ",bc(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[UE,Xh,VE,HM,NL,KE,tT,Vk,KL,lT,wS,PT,lS,qk],pipes:[SE],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),$L=function(){var e=function(){function e(t,n,i){_(this,e),this.dialogRef=t,this.dialog=n,this.data=i}return w(e,[{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onBugReportClick",value:function(){var e=this;this.dialogRef.afterClosed().subscribe(function(){var t=QE();t.width="550px",t.data={error:e.data.error},t.autoFocus=!1,e.dialog.open(ZL,t)}),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(YE),Ja(BE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),es(),$a(2,"div",1),qs(3),es(),$a(4,"div",2),$a(5,"div",3),$a(6,"button",4),cs("click",function(){return t.onBugReportClick()}),qs(7),_c(8,"translate"),es(),$a(9,"button",5),cs("click",function(){return t.onCloseClick()}),qs(10),_c(11,"translate"),es(),es(),es()),2&e&&(yo(1),js(t.data.title),yo(2),Ys("\n",t.data.description,"\n"),yo(3),Qa("hidden","error"!==t.data.type),yo(1),Ys(" ",bc(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),yo(3),Ys(" ",bc(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[UE,KE,VE,HM],pipes:[SE],styles:[""]}),e}(),ez=[[["caption"]],[["colgroup"],["col"]]],tz=["caption","colgroup, col"];function nz(e){return function(e){d(n,e);var t=p(n);function n(){var e;_(this,n);for(var i=arguments.length,r=new Array(i),o=0;o4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6?arguments[6]:void 0;_(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(n,"-border-elem-top"),bottom:"".concat(n,"-border-elem-bottom"),left:"".concat(n,"-border-elem-left"),right:"".concat(n,"-border-elem-right")}}return w(e,[{key:"clearStickyPositioning",value:function(e,t){var n,i=this,r=[],o=a(e);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(s.nodeType===s.ELEMENT_NODE){r.push(s);for(var u=0;u3&&void 0!==arguments[3])||arguments[3];if(e.length&&this._isBrowser&&(t.some(function(e){return e})||n.some(function(e){return e}))){var o=e[0],s=o.children.length,u=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(u,t),l=this._getStickyEndColumnPositions(u,n),h=t.lastIndexOf(!0),d=n.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var r,o="rtl"===i.direction,f=o?"right":"left",p=o?"left":"right",g=a(e);try{for(g.s();!(r=g.n()).done;)for(var m=r.value,v=0;v1&&void 0!==arguments[1])||arguments[1];if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var n=[],i=e.children,r=0;r0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}}]),e}(),Cz=new hi("CDK_SPL"),Ez=function(){var e=function e(t,n){_(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(Ja($u),Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","rowOutlet",""]]}),e}(),Lz=function(){var e=function e(t,n){_(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(Ja($u),Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),zz=function(){var e=function e(t,n){_(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(Ja($u),Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),Rz=function(){var e=function e(t,n){_(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(Ja($u),Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","noDataRowOutlet",""]]}),e}(),Oz=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c,l,h){_(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=o,this._platform=s,this._viewRepeater=u,this._coalescedStyleScheduler=c,this._viewportRuler=l,this._stickyPositioningListener=h,this._onDestroy=new Y,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.viewChange=new dp({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return w(e,[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=uy(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(e){this._fixedLayout=uy(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}),this._viewportRuler.change().pipe(cA(this._onDestroy)).subscribe(function(){e._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,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()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),MA(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,function(t,n,i){return e._getEmbeddedViewArgs(t.item,i)},function(e){return e.item.data},function(t){1===t.operation&&t.context&&e._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(function(e){n.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(e){this._customNoDataRow=e}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(r(t),r(n),r(i)),["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach(function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])}),this._rowDefs.forEach(function(t){for(var i=[],r=0;r0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(t,n){return e._renderRow(e._headerRowOutlet,t,n)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(t,n){return e._renderRow(e._footerRowOutlet,t,n)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map(function(e){return n._columnDefsByName.get(e)}),r=i.map(function(e){return e.sticky}),o=i.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,r,o,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:{},r=e.viewContainer.createEmbeddedView(t.template,i,n);return this._renderCellTemplateForItem(t,i),r}},{key:"_renderCellTemplateForItem",value:function(e,t){var n,i=a(this._getCellTemplates(e));try{for(i.s();!(n=i.n()).done;){var r=n.value;wz.mostRecentCellOutlet&&wz.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t)}}catch(o){i.e(o)}finally{i.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t0&&void 0!==arguments[0]?arguments[0]:[];return _(this,i),(e=n.call(this))._renderData=new dp([]),e._filter=new dp(""),e._internalPageChanges=new Y,e._renderChangesSubscription=null,e.sortingDataAccessor=function(e,t){var n=e[t];if(ly(n)){var i=Number(n);return i<9007199254740991?i:n}return n},e.sortData=function(t,n){var i=n.active,r=n.direction;return i&&""!=r?t.sort(function(t,n){var o=e.sortingDataAccessor(t,i),a=e.sortingDataAccessor(n,i),s=typeof o,u=typeof a;s!==u&&("number"===s&&(o+=""),"number"===u&&(a+=""));var c=0;return null!=o&&null!=a?o>a?c=1:o0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,t._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var e;null===(e=this._renderChangesSubscription)||void 0===e||e.unsubscribe(),this._renderChangesSubscription=null}}]),i}(function(){return function e(){_(this,e)}}()));function Jz(e,t){1&e&&ts(0,"mat-spinner",3)}function Qz(e,t){1&e&&ts(0,"th",15)}function Zz(e,t){if(1&e&&($a(0,"td",16),qs(1),es()),2&e){var n=t.$implicit;yo(1),Ys(" ",n.userExtSource.extSource.name," ")}}function $z(e,t){1&e&&ts(0,"tr",17)}function eR(e,t){1&e&&ts(0,"tr",18)}function tR(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"div",4),$a(2,"p"),qs(3),_c(4,"translate"),_c(5,"customTranslate"),es(),$a(6,"div",5),qs(7),_c(8,"translate"),_c(9,"customTranslate"),es(),$a(10,"table",6),ns(11,7),Xa(12,Qz,1,0,"th",8),Xa(13,Zz,2,1,"td",9),is(),Xa(14,$z,1,0,"tr",10),Xa(15,eR,1,0,"tr",11),es(),es(),$a(16,"div",12),$a(17,"button",13),cs("click",function(){return Qt(n),ps().onCancel()}),qs(18),_c(19,"translate"),_c(20,"customTranslate"),es(),$a(21,"button",14),cs("click",function(){return Qt(n),ps().onSubmit()}),qs(22),_c(23,"translate"),_c(24,"customTranslate"),es(),es(),es()}if(2&e){var i=ps();yo(3),Ys(" ",bc(4,7,bc(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),yo(4),Ys(" ",bc(8,11,bc(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),yo(3),Qa("dataSource",i.dataSource),yo(4),Qa("matHeaderRowDef",i.displayedColumns),yo(1),Qa("matRowDefColumns",i.displayedColumns),yo(3),Ys(" ",bc(19,15,bc(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),yo(4),Ys(" ",bc(23,19,bc(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}var nR,iR=function(){var e=function(){function e(t,n,i,r,o){var a=this;_(this,e),this.dialogRef=t,this.data=n,this.usersManagerService=i,this.translate=r,this.notificator=o,this.force=!1,this.displayedColumns=["name"],r.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(function(e){return a.successMessage=e})}return w(e,[{key:"ngOnInit",value:function(){this.theme=this.data.theme,this.dataSource=new Gz(this.data.extSources)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(function(){e.onSubmit()},function(){return e.loading=!1}):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja(ap),Ja(TE),Ja(mL))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div"),Xa(5,Jz,1,0,"mat-spinner",1),Xa(6,tR,25,23,"div",2),es()),2&e&&(yo(1),js(bc(2,6,bc(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE"))),yo(3),Ls(t.theme),yo(1),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[UE,Xh,NL,KE,Bz,qz,Hz,Fz,Wz,Uz,VE,HM,jz,Yz,Kz,Vz],pipes:[SE,TL],styles:[""]}),e}(),rR=function(){function e(t,n){_(this,e),this._document=n;var i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}return w(e,[{key:"copy",value:function(){var e=this._textarea,t=!1;try{if(e){var n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(Fj){}return t}},{key:"destroy",value:function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}]),e}(),oR=function(){var e=function(){function e(t){_(this,e),this._document=t}return w(e,[{key:"copy",value:function(e){var t=this.beginCopy(e),n=t.copy();return t.destroy(),n}},{key:"beginCopy",value:function(e){return new rR(e,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ul))},token:e,providedIn:"root"}),e}(),aR=new hi("CDK_COPY_TO_CLIPBOARD_CONFIG"),sR=function(){var e=function(){function e(t,n,i){_(this,e),this._clipboard=t,this._ngZone=n,this.text="",this.attempts=1,this.copied=new Sc,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}return w(e,[{key:"copy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attempts;if(t>1){var n=t,i=this._clipboard.beginCopy(this.text);this._pending.add(i);var r=function t(){var r=i.copy();r||!--n||e._destroyed?(e._currentTimeout=null,e._pending.delete(i),i.destroy(),e.copied.emit(r)):e._currentTimeout=e._ngZone.runOutsideAngular(function(){return setTimeout(t,1)})};r()}else this.copied.emit(this._clipboard.copy(this.text))}},{key:"ngOnDestroy",value:function(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(function(e){return e.destroy()}),this._pending.clear(),this._destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(oR),Ja(dl),Ja(aR,8))},e.\u0275dir=gt({type:e,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&cs("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),e}(),uR=((nR=function e(){_(this,e)}).\u0275fac=function(e){return new(e||nR)},nR.\u0275mod=ft({type:nR}),nR.\u0275inj=xe({}),nR),cR=function(){var e=function(){function e(t,n){_(this,e),this.dialogRef=t,this.data=n}return w(e,[{key:"ngOnInit",value:function(){this.value=this.data.value,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),es(),$a(2,"div",1),$a(3,"textarea",2),qs(4),es(),es(),$a(5,"div",3),$a(6,"button",4),cs("click",function(){return t.onCancel()}),qs(7),_c(8,"translate"),es(),$a(9,"button",5),qs(10),_c(11,"translate"),es(),es()),2&e&&(yo(1),js(t.title),yo(3),js(t.value),yo(3),Ys(" ",bc(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),yo(2),Qa("cdkCopyToClipboard",t.value),yo(1),Ys(" ",bc(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[UE,KE,HL,KL,VE,HM,sR],pipes:[SE],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),e}(),lR=function(){var e=function(){function e(t,n){_(this,e),this.dialogRef=t,this.data=n,this.attributeValue=""}return w(e,[{key:"ngOnInit",value:function(){this.attributeValue=this.data.attribute.value[this.data.index]}},{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h5",0),qs(1),_c(2,"translate"),es(),$a(3,"div",1),$a(4,"mat-form-field"),$a(5,"textarea",2),cs("ngModelChange",function(e){return t.attributeValue=e}),es(),es(),es(),$a(6,"div",3),$a(7,"button",4),cs("click",function(){return t.cancel()}),qs(8),_c(9,"translate"),es(),$a(10,"button",5),cs("click",function(){return t.submit()}),qs(11),_c(12,"translate"),es(),es()),2&e&&(yo(1),js(bc(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE")),yo(4),Qa("ngModel",t.attributeValue),yo(3),Ys(" ",bc(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),yo(3),Ys(" ",bc(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[UE,KE,tT,HL,KL,lT,PT,lS,VE,HM],pipes:[SE],styles:[""]}),e}(),hR=function(){var e=function(){function e(t,n){_(this,e),this.dialogRef=t,this.data=n}return w(e,[{key:"cancel",value:function(){this.dialogRef.close()}},{key:"submit",value:function(){this.dialogRef.close(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h5",0),qs(1),_c(2,"translate"),es(),$a(3,"div",1),$a(4,"div"),qs(5),_c(6,"translate"),es(),$a(7,"div",2),qs(8),es(),es(),$a(9,"div",3),$a(10,"button",4),cs("click",function(){return t.cancel()}),qs(11),_c(12,"translate"),es(),$a(13,"button",5),cs("click",function(){return t.submit()}),qs(14),_c(15,"translate"),es(),es()),2&e&&(yo(1),js(bc(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE")),yo(4),Ys(" ",bc(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),yo(3),Ys(" ",t.data.name," "),yo(3),Ys(" ",bc(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),yo(3),Ys(" ",bc(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[UE,KE,VE,HM],pipes:[SE],styles:[""]}),e}();function dR(e,t){1&e&&($a(0,"mat-icon",2),qs(1," error "),es())}var fR=["*"],pR=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:fR,decls:3,vars:7,consts:[[1,"perun-alert","d-flex","align-items-center"],["class","perun-warn-alert-icon",4,"ngIf"],[1,"perun-warn-alert-icon"]],template:function(e,t){1&e&&(ms(),$a(0,"div",0),Xa(1,dR,2,0,"mat-icon",1),vs(2),es()),2&e&&(Es("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("info-alert","info"===t.alert_type),yo(1),Qa("ngIf","error"!==t.alert_type))},directives:[Xh,oE],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%], .perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px solid #b3b3b3;border-radius:10px}.perun-warn-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{color:#000;background-color:#fae2e2;border-left:4px solid;border-color:#d32f2f}"]}),e}();function gR(e,t){if(1&e&&($a(0,"app-alert",9),qs(1),es()),2&e){var n=ps();yo(1),js(n.pendingEmailsMessage)}}function mR(e,t){1&e&&($a(0,"mat-error"),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}var vR,yR=function(){var e=function(){function e(t,n,i,r,o,a){var s=this;_(this,e),this.dialogRef=t,this.data=n,this.translate=i,this.notificator=r,this.usersManagerService=o,this.authService=a,this.pendingMails=[],i.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(function(e){return s.successMessage=e}),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(function(e){return s.pendingEmailsMessageStart=e}),i.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(function(e){return s.pendingEmailsMessageEnd=e})}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.emailControl=new nS(null,[mT.required,mT.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(function(t){e.pendingMails=t.filter(function(e,t,n){return t===n.indexOf(e)});var n="";e.pendingMails.forEach(function(t){return n+="".concat(t===e.pendingMails[0]?"":", ").concat(t)}),console.log(n),e.pendingEmailsMessage=e.pendingEmailsMessageStart+n+e.pendingEmailsMessageEnd})}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,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(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja(TE),Ja(mL),Ja(ap),Ja(hL))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),Xa(5,gR,2,1,"app-alert",2),$a(6,"mat-form-field",3),$a(7,"label",3),ts(8,"input",4),_c(9,"translate"),_c(10,"customTranslate"),es(),Xa(11,mR,4,5,"mat-error",5),es(),es(),$a(12,"div",6),$a(13,"button",7),cs("click",function(){return t.onCancel()}),qs(14),_c(15,"translate"),_c(16,"customTranslate"),es(),$a(17,"button",8),cs("click",function(){return t.onSubmit()}),qs(18),_c(19,"translate"),_c(20,"customTranslate"),es(),es()),2&e&&(yo(1),js(bc(2,8,bc(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),yo(4),Qa("ngIf",t.pendingMails.length),yo(3),ys("placeholder",bc(9,12,bc(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),Qa("formControl",t.emailControl),yo(3),Qa("ngIf",t.emailControl.invalid),yo(3),Ys(" ",bc(15,16,bc(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),yo(3),Qa("disabled",!t.emailControl.valid),yo(1),Ys(" ",bc(19,20,bc(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[UE,KE,Xh,tT,KL,lT,wS,PT,vS,VE,HM,pR,qk],pipes:[SE,TL],styles:[""]}),e}(),_R=function(){var e=function(){function e(t,n){_(this,e),this.dialogRef=t,this.router=n}return w(e,[{key:"onClose",value:function(){this.router.navigate([]),this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(Cv))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),es(),$a(3,"div",1),$a(4,"app-alert",2),qs(5),_c(6,"translate"),es(),es(),$a(7,"div",3),$a(8,"button",4),cs("click",function(){return t.onClose()}),qs(9),_c(10,"translate"),es(),es()),2&e&&(yo(1),js(bc(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE")),yo(4),js(bc(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),yo(4),Ys(" ",bc(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[UE,KE,pR,VE,HM],pipes:[SE],styles:[""]}),e}(),bR=["input"],wR=function(e){return{enterDuration:e}},MR=["*"],AR=new hi("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),kR=0,TR={provide:sT,useExisting:Te(function(){return LR}),multi:!0},SR=function e(t,n){_(this,e),this.source=t,this.value=n},CR=new hi("MatRadioGroup"),ER=function(){var e=function(){function e(t){_(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+kR++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new Sc}return w(e,[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=uy(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=uy(e),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach(function(t){t.name=e.name,t._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new SR(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(e){return e._markForCheck()})}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ju))},e.\u0275dir=gt({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e}(),LR=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return n}(ER);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var i;(1&e&&Hc(n,OR,5),2&e)&&(Bc(i=qc())&&(t._radios=i))},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[cu([TR,{provide:CR,useExisting:t}]),Oa]}),t}(),zR=Xw(Gw(function e(t){_(this,e),this._elementRef=t})),RR=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c){var l;return _(this,n),(l=t.call(this,i))._changeDetector=r,l._focusMonitor=o,l._radioDispatcher=a,l._providerOverride=u,l._uniqueId="mat-radio-"+ ++kR,l.id=l._uniqueId,l.change=new Sc,l._checked=!1,l._value=null,l._removeUniqueSelectionListener=function(){},l.radioGroup=e,l._noopAnimations="NoopAnimations"===s,c&&(l.tabIndex=cy(c,0)),l._removeUniqueSelectionListener=a.listen(function(e,t){e!==l.id&&t===l.name&&(l.checked=!1)}),l}return w(n,[{key:"checked",get:function(){return this._checked},set:function(e){var t=uy(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())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(uy(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=uy(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){!t&&e.radioGroup&&e.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new SR(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}]),n}(zR);return e.\u0275fac=function(t){return new(t||e)(Ja(ER),Ja(mu),Ja(ju),Ja(e_),Ja(TA),Ja(String),Ja(void 0),Ja(String))},e.\u0275dir=gt({type:e,viewQuery:function(e,t){var n;(1&e&&Fc(bR,5),2&e)&&(Bc(n=qc())&&(t._inputElement=n.first))},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[Oa]}),e}(),OR=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c){return _(this,n),t.call(this,e,i,r,o,a,s,u,c)}return n}(RR);return e.\u0275fac=function(t){return new(t||e)(Ja(CR,8),Ja(mu),Ja(ju),Ja(e_),Ja(TA),Ja(xw,8),Ja(AR,8),ci("tabindex"))},e.\u0275cmp=ct({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&cs("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(Ua("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Es("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:[Oa],ngContentSelectors:MR,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(ms(),$a(0,"label",0,1),$a(2,"span",2),ts(3,"span",3),ts(4,"span",4),$a(5,"input",5,6),cs("change",function(e){return t._onInputChange(e)})("click",function(e){return t._onInputClick(e)}),es(),$a(7,"span",7),ts(8,"span",8),es(),es(),$a(9,"span",9),$a(10,"span",10),qs(11,"\xa0"),es(),vs(12),es(),es()),2&e){var n=Ga(1);Ua("for",t.inputId),yo(5),Qa("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),Ua("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),yo(2),Qa("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",pc(18,wR,t._noopAnimations?0:150)),yo(2),Es("mat-radio-label-before","before"==t.labelPosition)}},directives:[_M],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-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;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e}(),xR=((vR=function e(){_(this,e)}).\u0275fac=function(e){return new(e||vR)},vR.\u0275mod=ft({type:vR}),vR.\u0275inj=xe({imports:[[bM,Uw],Uw]}),vR);function DR(e,t){1&e&&ts(0,"mat-spinner",4)}function PR(e,t){1&e&&($a(0,"span",11),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function NR(e,t){1&e&&($a(0,"span",11),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function IR(e,t){if(1&e){var n=os();$a(0,"mat-radio-group",12),cs("ngModelChange",function(e){return Qt(n),ps(2).asyncValidation=e}),$a(1,"span",13),qs(2),_c(3,"translate"),es(),$a(4,"mat-radio-button",14),qs(5),_c(6,"translate"),es(),$a(7,"mat-radio-button",14),qs(8),_c(9,"translate"),es(),es()}2&e&&(Qa("ngModel",ps(2).asyncValidation),yo(2),Ys(" ",bc(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE"),": "),yo(2),Qa("value",!1),yo(1),Ys(" ",bc(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),yo(2),Qa("value",!0),yo(1),Ys(" ",bc(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," "))}function BR(e,t){1&e&&($a(0,"span",11),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function FR(e,t){1&e&&($a(0,"span",11),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function HR(e,t){if(1&e&&($a(0,"div",5),$a(1,"p",6),qs(2),$a(3,"span",7),qs(4),es(),qs(5),$a(6,"span",7),qs(7),es(),es(),$a(8,"p"),$a(9,"strong",8),qs(10),_c(11,"translate"),es(),qs(12),es(),$a(13,"p"),$a(14,"strong",8),qs(15),_c(16,"translate"),es(),qs(17),es(),Xa(18,PR,3,3,"span",9),Xa(19,NR,3,3,"span",9),Xa(20,IR,10,12,"mat-radio-group",10),Xa(21,BR,3,3,"span",9),Xa(22,FR,3,3,"span",9),es()),2&e){var n=ps();yo(2),Ys(" ",n.group.name," "),yo(2),Ys("#",n.group.id,""),yo(1),Ys(" - ",n.resource.name," "),yo(2),Ys("#",n.resource.id,""),yo(3),Ys("",bc(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT"),":"),yo(2),Ys(" ",n.status," "),yo(3),Ys("",bc(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW"),":"),yo(2),Ys(" ",n.getReversedStatus()," "),yo(1),Qa("ngIf","INACTIVE"===n.status),yo(1),Qa("ngIf","ACTIVE"===n.status),yo(1),Qa("ngIf","INACTIVE"===n.status),yo(1),Qa("ngIf","INACTIVE"===n.status&&!1===n.asyncValidation),yo(1),Qa("ngIf","INACTIVE"===n.status&&!0===n.asyncValidation)}}function qR(e,t){if(1&e){var n=os();$a(0,"div",15),$a(1,"button",16),cs("click",function(){return Qt(n),ps().onCancel()}),qs(2),_c(3,"translate"),es(),$a(4,"button",17),cs("click",function(){return Qt(n),ps().onSubmit()}),qs(5),_c(6,"translate"),es(),es()}if(2&e){var i=ps();yo(2),Ys(" ",bc(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),yo(2),Qa("disabled",i.loading),yo(1),Ys(" ",bc(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SUBMIT")," ")}}var jR=function(){var e=function(){function e(t,n,i,r){_(this,e),this.dialogRef=t,this.data=n,this.resourceService=i,this.groupService=r,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(function(t){e.resource=t,e.groupService.getGroupById(e.data.groupId).subscribe(function(t){e.group=t,e.loading=!1},function(){return e.loading=!1})},function(){return e.loading=!1})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1}):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(function(){e.dialogRef.close(!0),e.loading=!1},function(){return e.loading=!1})}},{key:"getReversedStatus",value:function(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja(op),Ja(tp))},e.\u0275cmp=ct({type:e,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&&($a(0,"div"),$a(1,"h1",0),qs(2),_c(3,"translate"),es(),Xa(4,DR,1,0,"mat-spinner",1),Xa(5,HR,23,17,"div",2),Xa(6,qR,7,7,"div",3),es()),2&e&&(Ls(t.theme),yo(2),js(bc(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")),yo(2),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[UE,Xh,NL,KE,LR,PT,lS,OR,VE,HM],pipes:[SE],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),e}();function YR(e,t){if(1&e&&($a(0,"div",5),$a(1,"mat-icon"),qs(2),es(),es()),2&e){var n=ps();yo(2),js(n.data.icon)}}function WR(e,t){if(1&e&&($a(0,"div",6),qs(1),es()),2&e){var n=ps();yo(1),Ys(" ",n.showTimestamp()," ")}}var UR=function(){var e=function(){function e(t,n){_(this,e),this.dialog=t,this.notificationStorageService=n,this.newNotification=!1,this.closeNotification=new Sc,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}return w(e,[{key:"doAction",value:function(){var e=this;if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{var t=QE();t.width="550px",t.data=this.data,t.autoFocus=!1,this.dialog.open($L,t).afterClosed().subscribe(function(){e.closeSelf()})}}},{key:"closeSelf",value:function(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}},{key:"ngOnInit",value:function(){var e=this;!function(t,n){return i=this,o=regeneratorRuntime.mark(function n(){var i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i=t,new Promise(function(e){return setTimeout(e,i)});case 2:e.alreadyClosed||e.waiting||e.closeSelf();case 3:case"end":return n.stop()}},n)}),new((r=void 0)||(r=Promise))(function(e,t){function n(e){try{s(o.next(e))}catch(n){t(n)}}function a(e){try{s(o.throw(e))}catch(n){t(n)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof r?i:new r(function(e){e(i)})).then(n,a)}s((o=o.apply(i,[])).next())});var i,r,o}(this.data.delay)}},{key:"showTimestamp",value:function(){var e=t(this.data.timeStamp.split(":"),2),n=e[0],i=e[1];return i.length<2?n+":0"+i:this.data.timeStamp}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(YE),Ja(yL))},e.\u0275cmp=ct({type:e,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&&($a(0,"div"),$a(1,"div",0),cs("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),Xa(2,YR,3,1,"div",1),$a(3,"div",2),qs(4),_c(5,"translate"),es(),Xa(6,WR,2,1,"div",3),$a(7,"div",4),cs("click",function(){return t.waiting=!0,t.doAction()}),qs(8),es(),es(),es()),2&e&&(Ks("notification ",t.inDialog?"":"mat-elevation-z7",""),Es("error","error"===t.data.type)("success","success"===t.data.type),yo(2),Qa("ngIf",null!==t.data.icon),yo(2),Ys(" ",bc(5,12,t.data.title)," "),yo(2),Qa("ngIf",t.inDialog),yo(1),Qa("hidden",t.alreadyPressed),yo(1),Ys(" ",t.data.actionText," "))},directives:[Xh,oE],pipes:[SE],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}"]}),e}();function KR(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"perun-web-apps-notification",2),cs("closeNotification",function(){var e=Qt(n).index;return ps().removeNotification(e)}),es(),es()}if(2&e){var i=t.$implicit;Qa("@flyInOut",void 0),yo(1),Qa("data",i)("newNotification",!0)}}var VR=function(e){return{top:e}},XR=function(){var e=function(){function e(t,n){var i=this;_(this,e),this.notificator=t,this.notificationStorageService=n,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(function(e){i.processNotification(e)}),this.getScreenSize()}return w(e,[{key:"getScreenSize",value:function(){this.mobileView=window.innerWidth<=this.minWidth}},{key:"processNotification",value:function(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}},{key:"getNotificatorTop",value:function(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}},{key:"removeNotification",value:function(e){this.notifications.splice(e,1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mL),Ja(yL))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&cs("resize",function(e){return t.getScreenSize(e)},!1,Er)},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&&($a(0,"div",0),Xa(1,KR,2,3,"div",1),es()),2&e&&(Qa("ngStyle",pc(2,VR,t.getNotificatorTop())),yo(1),Qa("ngForOf",t.notifications))},directives:[td,Kh,UR],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width:768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;bottom:0}}"],data:{animation:[wL]}}),e}(),GR=["*",[["mat-toolbar-row"]]],JR=["*","mat-toolbar-row"],QR=Vw(function e(t){_(this,e),this._elementRef=t}),ZR=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),$R=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r){var o;return _(this,n),(o=t.call(this,e))._platform=i,o._document=r,o}return w(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(QR);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(_y),Ja(Ul))},e.\u0275cmp=ct({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;(1&e&&Hc(n,ZR,5),2&e)&&(Bc(i=qc())&&(t._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&Es("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Oa],ngContentSelectors:JR,decls:2,vars:0,template:function(e,t){1&e&&(ms(GR),vs(0),vs(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}),e}(),eO=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw],Uw]}),e}(),tO={provide:Zc,useFactory:function(e,t){return function(){if(hd(t)){var n=Array.from(e.querySelectorAll("[class*=".concat(nO,"]"))),i=/\bflex-layout-.+?\b/g;n.forEach(function(e){e.classList.contains("".concat(nO,"ssr"))&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")})}}},deps:[Ul,Qc],multi:!0},nO="flex-layout-",iO=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[tO]}),e}(),rO=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;_(this,e),this.matches=t,this.mediaQuery=n,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}return w(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}]),e}(),oO=function(){var e=function(){function e(){_(this,e),this.stylesheet=new Map}return w(e,[{key:"addStyleToElement",value:function(e,t,n){var i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var n=this.stylesheet.get(e),i="";if(n){var r=n.get(t);"number"!=typeof r&&"string"!=typeof r||(i=r+"")}return i}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),aO={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},sO=new hi("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return aO}}),uO=new hi("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),cO=new hi("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function lO(e,t){return e=e?e.clone():new rO,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var hO=["row","column","row-reverse","column-reverse"];function dO(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var fO=function(){var e=function(){function e(t,n,i,r){_(this,e),this.elementRef=t,this.styleBuilder=n,this.styler=i,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Y,this.styleCache=new Map}return w(e,[{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}},{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach(function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}})}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,t){var n=this.styleBuilder,i=n.shouldCache,r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(e,r,t)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach(function(t){e.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var i=this.styler.getFlowDirection(e),r=t(i,2),o=r[0],a=r[1];if(!a&&n){var s=function(e){var n=function(e){var n=t((e=e?e.toLowerCase():"").split(" "),3),i=n[0],r=n[1],o=n[2];return hO.find(function(e){return e===i})||(i=hO[0]),"inline"===r&&(r="inline"!==o?o:"",o="inline"),[i,dO(r),!!o]}(e),i=t(n,3);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(i[0],i[1],i[2])}(o);this.styler.applyStyleToElements(s,[e])}return o.trim()}return"row"}},{key:"hasWrap",value:function(e){return this.styler.hasWrap(e)}},{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(n,e,t)}},{key:"setValue",value:function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}},{key:"updateWithValue",value:function(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}]),e}();return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=gt({type:e,features:[Et]}),e}(),pO=[{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}],gO="(orientation: portrait) and (max-width: 599.98px)",mO="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",vO="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",yO="(orientation: portrait) and (min-width: 840px)",_O="(orientation: landscape) and (min-width: 1280px)",bO={HANDSET:"".concat(gO,", (orientation: landscape) and (max-width: 959.98px)"),TABLET:"".concat(mO," , ").concat(vO),WEB:"".concat(yO,", ").concat(_O," "),HANDSET_PORTRAIT:"".concat(gO),TABLET_PORTRAIT:"".concat(mO," "),WEB_PORTRAIT:"".concat(yO),HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.98px)",TABLET_LANDSCAPE:"".concat(vO),WEB_LANDSCAPE:"".concat(_O)},wO=[{alias:"handset",priority:2e3,mediaQuery:bO.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:bO.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:bO.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:bO.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:bO.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:bO.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:bO.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:bO.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:bO.WEB_PORTRAIT,overlapping:!0}],MO=/(\.|-|_)/g;function AO(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var kO=new hi("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Li(cO),t=Li(sO),n=[].concat.apply([],(e||[]).map(function(e){return Array.isArray(e)?e:[e]}));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i={};return e.forEach(function(e){i[e.alias]=e}),n.forEach(function(e){i[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var i=this._observable$.pipe(ef(function(t){return!n||e.indexOf(t.mediaQuery)>-1}));return le(new I(function(n){var i=t.registerQuery(e);if(i.length){var r=i.pop();i.forEach(function(e){n.next(e)}),t.source.next(r)}n.complete()}),i)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter(function(e){return!LO[e]});if(n.length>0){var i=n.join(", ");try{var r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(i," {.fx-query-test{ }}\n"))),t.head.appendChild(r),n.forEach(function(e){return LO[e]=r})}catch(o){console.error(o)}}}(n,this._document),n.forEach(function(e){var n=function(n){t._zone.run(function(){return t.source.next(new rO(n.matches,e))})},r=t.registry.get(e);r||((r=t.buildMQL(e)).addListener(n),t.pendingRemoveListenerFns.push(function(){return r.removeListener(n)}),t.registry.set(e,r)),r.matches&&i.push(new rO(!0,e))}),i}},{key:"ngOnDestroy",value:function(){for(var e;e=this.pendingRemoveListenerFns.pop();)e()}},{key:"buildMQL",value:function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){},onchange:null,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}(e,hd(this._platformId))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(dl),Ei(Qc),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(dl),Ei(Qc),Ei(Ul))},token:e,providedIn:"root"}),e}(),LO={},zO={alias:"print",mediaQuery:"print",priority:1e3},RO=function(){var e=function(){function e(t,n,i){_(this,e),this.breakpoints=t,this.layoutConfig=n,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new OO,this.deactivations=[]}return w(e,[{key:"withPrintQuery",value:function(e){return[].concat(r(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map(function(t){return e.breakpoints.findByAlias(t)}).filter(function(e){return null!==e})}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,n=this.breakpoints.findByQuery(t);return(n?[].concat(r(this.printBreakPoints),[n]):this.printBreakPoints).sort(TO)}},{key:"updateEvent",value:function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),lO(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var n=function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new rO(!0,"print"))),e.updateStyles())},i=function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",n),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(n),this.afterPrintEventListeners.push(i)}}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}}},{key:"blockPropagation",value:function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}}},{key:"startPrinting",value:function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(TO))}}},{key:"ngOnDestroy",value:function(){var e=this;this._document.defaultView&&(this.beforePrintEventListeners.forEach(function(t){return e._document.defaultView.removeEventListener("beforeprint",t)}),this.afterPrintEventListeners.forEach(function(t){return e._document.defaultView.removeEventListener("afterprint",t)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(CO),Ei(sO),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(CO),Ei(sO),Ei(Ul))},token:e,providedIn:"root"}),e}(),OO=function(){function e(){_(this,e),this.printBreakpoints=[]}return w(e,[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(zO),e.sort(TO),e.forEach(function(e){return t.addBreakpoint(e)}),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){e&&void 0===this.printBreakpoints.find(function(t){return t.mediaQuery===e.mediaQuery})&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(r(this.printBreakpoints)):[].concat(r(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}]),e}();function xO(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;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":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var DO=function(){var e=function(){function e(t,n,i,r){_(this,e),this._serverStylesheet=t,this._serverModuleLoaded=n,this._platformId=i,this.layoutConfig=r}return w(e,[{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:xO(t),this._applyMultiValueStyleToElement(i,e)}},{key:"applyStyleToElements",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this.layoutConfig.disableVendorPrefixes?e:xO(e);n.forEach(function(e){t._applyMultiValueStyleToElement(i,e)})}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||dd(this._platformId)&&this._serverModuleLoaded?t:""]}},{key:"hasWrap",value:function(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}},{key:"lookupAttributeValue",value:function(e,t){return e.getAttribute(t)||""}},{key:"lookupInlineStyle",value:function(e,t){return hd(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return e&&((i=this.lookupInlineStyle(e,t))||(hd(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var n=this;Object.keys(e).sort().forEach(function(i){var r=e[i],o=Array.isArray(r)?r:[r];o.sort();var s,u=a(o);try{for(u.s();!(s=u.n()).done;){var c=s.value;c=c?c+"":"",hd(n._platformId)||!n._serverModuleLoaded?hd(n._platformId)?t.style.setProperty(i,c):n._setServerStyle(t,i,c):n._serverStylesheet.addStyleToElement(t,i,c)}}catch(l){u.e(l)}finally{u.f()}})}},{key:"_setServerStyle",value:function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},n=e.getAttribute("style");if(n)for(var i=n.split(/;+/g),r=0;r0){var a=o.indexOf(":");if(-1===a)throw new Error("Invalid CSS style: ".concat(o));t[o.substr(0,a).trim()]=o.substr(a+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(oO),Ei(uO),Ei(Qc),Ei(sO))},e.\u0275prov=Oe({factory:function(){return new e(Ei(oO),Ei(uO),Ei(Qc),Ei(sO))},token:e,providedIn:"root"}),e}(),PO=function(){function e(){_(this,e),this.shouldCache=!0}return w(e,[{key:"sideEffect",value:function(e,t,n){}}]),e}(),NO=function(){var e=function(){function e(t,n,i){_(this,e),this.matchMedia=t,this.breakpoints=n,this.hook=i,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 Y,this.observeActivations()}return w(e,[{key:"activatedAlias",get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}},{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=lO(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(TO),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(TO),this.updateStyles()))}},{key:"init",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];IO(this.updateMap,e,t,n),IO(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}},{key:"getValue",value:function(e,t,n){var i=this.elementMap.get(e);if(i){var r=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(r)return r.get(t)}}},{key:"hasValue",value:function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,n,i){var r=this.elementMap.get(e);if(r){var o=(r.get(i)||new Map).set(t,n);r.set(i,o),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);var a=this.getValue(e,t);void 0!==a&&this.updateElement(e,t,a)}},{key:"trackValue",value:function(e,t){return this.subject.asObservable().pipe(ef(function(n){return n.element===e&&n.key===t}))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach(function(t,n){var i=new Set(e.elementKeyMap.get(n)),r=e.getActivatedValues(t);r&&r.forEach(function(t,r){e.updateElement(n,r,t),i.delete(r)}),i.forEach(function(i){if(r=e.getActivatedValues(t,i)){var o=r.get(i);e.updateElement(n,i,o)}else e.clearElement(n,i)})})}},{key:"clearElement",value:function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,n){var i=this.updateMap.get(e);if(i){var r=i.get(t);r&&(r(n),this.subject.next({element:e,key:t,value:n}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach(function(e){return e.unsubscribe()}),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach(function(e,t){return n.delete(t)}),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var n=this,i=this.elementMap.get(e);if(i){var r=this.getActivatedValues(i,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach(function(t,i){return n.updateElement(e,i,t)}))}}},{key:"buildElementKeyMap",value:function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}},{key:"watchExtraTriggers",value:function(e,t,n){var i=this;if(n&&n.length){var o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(t)){var a=le.apply(void 0,r(n)).subscribe(function(){var n=i.getValue(e,t);i.updateElement(e,t,n)});o.set(t,a)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var n=0;n2&&void 0!==arguments[2])||arguments[2];_(this,e),this.key=t,this.value=n,this.key=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=i?n.replace(/['"]/g,"").trim():n.trim(),this.value=this.value.replace(/;/,"")};function FO(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function HO(e){var t,r=e.split(":"),a=i(t=r)||o(t)||s(t)||n(),u=a[0],c=a.slice(1);return new BO(u,c.join(":"))}function qO(e,t){return t.key&&(e[t.key]=t.value),e}var jO=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c,l){var h;_(this,n),(h=t.call(this,e,null,i,r)).sanitizer=o,h.ngStyleInstance=u,h.DIRECTIVE_KEY="ngStyle",h.ngStyleInstance||(h.ngStyleInstance=new td(e,a,s)),h.init();var d=h.nativeElement.getAttribute("style")||"";return h.fallbackStyles=h.buildStyleMap(d),h.isServer=c&&dd(l),h}return w(n,[{key:"updateWithValue",value:function(e){var t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}},{key:"clearStyles",value:function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}},{key:"buildStyleMap",value:function(e){var t,n,i,r=this,o=function(e){return r.sanitizer.sanitize(vr.STYLE,e)||""};if(e)switch(FO(e)){case"string":return UO(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";";return String(e).trim().split(t).map(function(e){return e.trim()}).filter(function(e){return""!==e})}(e),o);case"array":return UO(e,o);case"set":default:return n=o,i=[],"set"===FO(t=e)?t.forEach(function(e){return i.push(e)}):Object.keys(t).forEach(function(e){i.push("".concat(e,":").concat(t[e]))}),function(e,t){return e.map(HO).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(qO,{})}(i,n)}return{}}},{key:"ngDoCheck",value:function(){this.ngStyleInstance.ngDoCheck()}}]),n}(fO);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(DO),Ja(NO),Ja(Wd),Ja(Iu),Ja(_u),Ja(td,10),Ja(uO),Ja(Qc))},e.\u0275dir=gt({type:e,features:[Oa]}),e}(),YO=["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"],WO=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).inputs=YO,e}return n}(jO);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,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:[Oa]}),t}();function UO(e,t){return e.map(HO).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(qO,{})}var KO=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[iO]]}),e}(),VO=function(e){return{color:e}};function XO(e,t){if(1&e&&($a(0,"button",8),_c(1,"translate"),$a(2,"mat-icon",4),qs(3," apps "),es(),es()),2&e){var n=ps();Qa("matMenuTriggerFor",Ga(2))("matTooltip",bc(1,3,"NAV.OTHER_APPLICATIONS")),yo(2),Qa("ngStyle",pc(5,VO,n.iconColor))}}function GO(e,t){if(1&e){var n=os();$a(0,"button",2),cs("click",function(){return Qt(n),ps().onLogOut()}),qs(1),_c(2,"translate"),es()}2&e&&(yo(1),js(bc(2,1,"NAV.LOGOUT")))}var JO=function(){var e=function(){function e(t,n,i,r){_(this,e),this.authService=t,this.authzResolverService=n,this.notificator=i,this.translateService=r}return w(e,[{key:"redirectToUrl",value:function(){window.open(this.url,"_blank")}},{key:"onLogOut",value:function(){this.authService.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(hL),Ja(ep),Ja(mL),Ja(TE))},e.\u0275cmp=ct({type:e,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&&(Xa(0,XO,4,7,"button",0),$a(1,"mat-menu",null,1),$a(3,"button",2),cs("click",function(){return t.redirectToUrl()}),$a(4,"span"),qs(5),es(),es(),es(),$a(6,"button",3),$a(7,"mat-icon",4),qs(8," person "),es(),$a(9,"span",5),qs(10),es(),es(),$a(11,"mat-menu",null,6),Xa(13,GO,3,3,"button",7),es()),2&e){var n=Ga(12);Qa("ngIf",t.url),yo(5),js(t.label),yo(1),Qa("matMenuTriggerFor",n),yo(1),Qa("ngStyle",pc(11,VO,t.iconColor)),yo(2),Qa("ngStyle",pc(13,VO,t.textColor)),yo(1),Us(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),yo(3),Qa("ngIf",t.logoutEnabled)}},directives:[Xh,BC,DC,HM,jC,oE,td,aC],pipes:[SE],styles:["@media (max-width:991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),e}(),QO=function(e){return{color:e}};function ZO(e,t){if(1&e){var n=os();$a(0,"button",5),cs("click",function(){return Qt(n),ps().onToggleSidenav()}),$a(1,"mat-icon"),qs(2,"menu"),es(),es()}if(2&e){var i=ps();Qa("ngStyle",pc(1,QO,i.iconColor))}}var $O=function(e){return{background:e}},ex=function(){return[]},tx=function(){return["/"]},nx=function(){var e=function(){function e(t,n,i,r,o,a){var s=this;_(this,e),this.storeService=t,this.sanitizer=n,this.translate=i,this.utilsService=r,this.authzResolverService=o,this.authService=a,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new Sc,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.activeLink=!1,this.onToggleSidenav=function(){s.sidenavToggle.emit()}}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.translate.onLangChange.subscribe(function(t){e.label=e.storeService.get("header_label_".concat(t.lang)),e.adminLabel=e.storeService.get("admin_gui_label_".concat(t.lang))}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}},{key:"isLinkToGuiActive",value:function(){var e=this;for(var t in this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles"),this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(t)&&(this.activeLink=!0);this.activeLink&&this.utilsService.getAppsConfig().subscribe(function(t){e.adminGuiUrl=t.brands[0].newApps.admin?t.brands[0].newApps.admin:null})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL),Ja(Wd),Ja(TE),Ja(sp),Ja(ep),Ja(hL))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:6,vars:18,consts:[[1,"sticky-top","header-container",3,"ngStyle"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"ml-3",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-menu-user-info",1,"justify-content-end",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"]],template:function(e,t){1&e&&($a(0,"mat-toolbar",0),Xa(1,ZO,3,3,"button",1),ts(2,"a",2),$a(3,"p",3),qs(4),es(),ts(5,"perun-web-apps-header-menu",4),es()),2&e&&(Qa("ngStyle",pc(12,$O,t.bgColor)),yo(1),Qa("ngIf",!t.hideToggle),yo(1),Qa("innerHTML",t.logo,yr)("routerLink",t.disableLogo?fc(14,ex):fc(15,tx)),yo(1),Qa("ngStyle",pc(16,QO,t.textColor)),yo(1),js(t.label),yo(1),Qa("url",t.adminGuiUrl)("label",t.adminLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.textColor))},directives:[$R,td,WO,Xh,Lv,JO,HM,oE],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}}"]}),e}();function ix(e){return function(t){return t.lift(new rx(e))}}var rx=function(){function e(t){_(this,e),this.value=t}return w(e,[{key:"call",value:function(e,t){return t.subscribe(new ox(e,this.value))}}]),e}(),ox=function(e){d(n,e);var t=p(n);function n(e,i){var r;return _(this,n),(r=t.call(this,e)).value=i,r}return w(n,[{key:"_next",value:function(e){this.destination.next(this.value)}}]),n}(O),ax=["*"];function sx(e,t){if(1&e){var n=os();$a(0,"div",2),cs("click",function(){return Qt(n),ps()._onBackdropClicked()}),es()}2&e&&Es("mat-drawer-shown",ps()._isShowingBackdrop())}function ux(e,t){1&e&&($a(0,"mat-drawer-content"),vs(1,2),es())}var cx=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],lx=["mat-drawer","mat-drawer-content","*"];function hx(e,t){if(1&e){var n=os();$a(0,"div",2),cs("click",function(){return Qt(n),ps()._onBackdropClicked()}),es()}2&e&&Es("mat-drawer-shown",ps()._isShowingBackdrop())}function dx(e,t){1&e&&($a(0,"mat-sidenav-content",3),vs(1,2),es())}var fx=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],px=["mat-sidenav","mat-sidenav-content","*"],gx=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",mx={transformDrawer:c_("transform",[p_("open, open-instant",f_({transform:"none",visibility:"visible"})),p_("void",f_({"box-shadow":"none",visibility:"hidden"})),m_("void => open-instant",l_("0ms")),m_("void <=> open, open-instant => void",l_("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},vx=new hi("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),yx=new hi("MAT_DRAWER_CONTAINER"),_x=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a){var s;return _(this,n),(s=t.call(this,r,o,a))._changeDetectorRef=e,s._container=i,s}return w(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})}}]),n}(EA);return e.\u0275fac=function(t){return new(t||e)(Ja(ju),Ja(Te(function(){return wx})),Ja(mu),Ja(CA),Ja(dl))},e.\u0275cmp=ct({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&Cs("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Oa],ngContentSelectors:ax,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},encapsulation:2,changeDetection:0}),e}(),bx=function(){var e=function(){function e(t,n,i,r,o,a,s){var u=this;_(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=r,this._ngZone=o,this._doc=a,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Y,this._animationEnd=new Y,this._animationState="void",this.openedChange=new Sc(!0),this._openedStream=this.openedChange.pipe(ef(function(e){return e}),ee(function(){})),this.openedStart=this._animationStarted.pipe(ef(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),ix(void 0)),this._closedStream=this.openedChange.pipe(ef(function(e){return!e}),ee(function(){})),this.closedStart=this._animationStarted.pipe(ef(function(e){return e.fromState!==e.toState&&"void"===e.toState}),ix(void 0)),this._destroyed=new Y,this.onPositionChanged=new Sc,this._modeChanged=new Y,this.openedChange.subscribe(function(e){e?(u._doc&&(u._elementFocusedBeforeDrawerWasOpened=u._doc.activeElement),u._takeFocus()):u._isFocusWithinDrawer()&&u._restoreFocus()}),this._ngZone.runOutsideAngular(function(){jM(u._elementRef.nativeElement,"keydown").pipe(ef(function(e){return 27===e.keyCode&&!u.disableClose&&!Zv(e)}),cA(u._destroyed)).subscribe(function(e){return u._ngZone.run(function(){u.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(tA(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&u.openedChange.emit(u._opened)})}return w(e,[{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=uy(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=uy(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(uy(e))}},{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var e,t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,t=arguments.length>1?arguments[1]:void 0;return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}},{key:"_setOpen",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(e){n.openedChange.pipe(Sp(1)).subscribe(function(t){return e(t?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(Ky),Ja(e_),Ja(_y),Ja(dl),Ja(Ul,8),Ja(yx,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&ls("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(Ua("align",null),Xs("@transform",t._animationState),Es("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:ax,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(ms(),$a(0,"div",0),vs(1),es())},directives:[EA],encapsulation:2,data:{animation:[mx.transformDrawer]},changeDetection:0}),e}(),wx=function(){var e=function(){function e(t,n,i,r,o){var a=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;_(this,e),this._dir=t,this._element=n,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=u,this._drawers=new Ec,this.backdropClick=new Sc,this._destroyed=new Y,this._doCheckSubject=new Y,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Y,t&&t.change.pipe(cA(this._destroyed)).subscribe(function(){a._validateDrawers(),a.updateContentMargins()}),o.change().pipe(cA(this._destroyed)).subscribe(function(){return a.updateContentMargins()}),this._autosize=s}return w(e,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=uy(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:uy(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Lp(this._allDrawers),cA(this._destroyed)).subscribe(function(t){e._drawers.reset(t.filter(function(t){return!t._container||t._container===e})),e._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Lp(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._doCheckSubject.pipe(iy(10),cA(e._destroyed)).subscribe(function(){return e.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(e){return e.open()})}},{key:"close",value:function(){this._drawers.forEach(function(e){return e.close()})}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){var i=this._left._getWidth();t+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();n+=r,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(ef(function(e){return e.fromState!==e.toState}),cA(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(cA(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(cA(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.pipe(Sp(1)).subscribe(function(){t._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(cA(le(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?e._end=t:e._start=t}),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)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var e=this;[this._start,this._end].filter(function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)}).forEach(function(e){return e._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(o_,8),Ja(mu),Ja(dl),Ja(ju),Ja(LA),Ja(vx),Ja(xw,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,_x,5),Hc(n,bx,5)),2&e)&&(Bc(i=qc())&&(t._content=i.first),Bc(i=qc())&&(t._allDrawers=i))},viewQuery:function(e,t){var n;(1&e&&Fc(_x,5),2&e)&&(Bc(n=qc())&&(t._userContent=n.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&Es("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[cu([{provide:yx,useExisting:e}])],ngContentSelectors:lx,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&&(ms(cx),Xa(0,sx,1,2,"div",0),vs(1),vs(2,1),Xa(3,ux,2,0,"mat-drawer-content",1)),2&e&&(Qa("ngIf",t.hasBackdrop),yo(3),Qa("ngIf",!t._content))},directives:[Xh,_x],styles:[gx],encapsulation:2,changeDetection:0}),e}(),Mx=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a){return _(this,n),t.call(this,e,i,r,o,a)}return n}(_x);return e.\u0275fac=function(t){return new(t||e)(Ja(ju),Ja(Te(function(){return kx})),Ja(mu),Ja(CA),Ja(dl))},e.\u0275cmp=ct({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&Cs("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Oa],ngContentSelectors:ax,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},encapsulation:2,changeDetection:0}),e}(),Ax=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return w(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=uy(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=cy(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=cy(e)}}]),n}(bx);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Ua("align",null),Cs("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),Es("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:[Oa],ngContentSelectors:ax,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(ms(),$a(0,"div",0),vs(1),es())},directives:[EA],encapsulation:2,data:{animation:[mx.transformDrawer]},changeDetection:0}),t}(),kx=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return n}(wx);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,Mx,5),Hc(n,Ax,5)),2&e)&&(Bc(i=qc())&&(t._content=i.first),Bc(i=qc())&&(t._allDrawers=i))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&Es("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[cu([{provide:yx,useExisting:t}]),Oa],ngContentSelectors:px,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(ms(fx),Xa(0,hx,1,2,"div",0),vs(1),vs(2,1),Xa(3,dx,2,0,"mat-sidenav-content",1)),2&e&&(Qa("ngIf",t.hasBackdrop),yo(3),Qa("ngIf",!t._content))},directives:[Xh,Mx,EA],styles:[gx],encapsulation:2,changeDetection:0}),t}(),Tx=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[ld,Uw,by,zA],zA,Uw]}),e}(),Sx=function(){var e=function(){function e(t){_(this,e),this.store=t}return w(e,[{key:"getSideMenuItems",value:function(){var e=this,t=this.store.get("displayed_tabs"),n=[];return t.forEach(function(e){switch(e){case"profile":n.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":n.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":n.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":n.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":n.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":n.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":n.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(function(t){var i={icon:"insert_link",link:t.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};e.store.get("supportedLanguages").forEach(function(e){var n;i["label_".concat(e)]=null!==(n=t["label_".concat(e)])&&void 0!==n?n:t.label_en}),n.push(i)}),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(lL))},e.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Cx=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw],Uw]}),e}(),Ex=["*"],Lx='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{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{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.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',zx=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Rx=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Ox=Kw(Xw(function e(){_(this,e)})),xx=Xw(function e(){_(this,e)}),Dx=new hi("MatList"),Px=new hi("MatNavList"),Nx=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._stateChanges=new Y,e}return w(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Ox);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[cu([{provide:Px,useExisting:t}]),Oa,Et],ngContentSelectors:Ex,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},styles:[Lx],encapsulation:2,changeDetection:0}),t}(),Ix=function(){var e=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this))._elementRef=e,i._stateChanges=new Y,"action-list"===i._getListType()&&e.nativeElement.classList.add("mat-action-list"),i}return w(n,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Ox);return e.\u0275fac=function(t){return new(t||e)(Ja(mu))},e.\u0275cmp=ct({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[cu([{provide:Dx,useExisting:e}]),Oa,Et],ngContentSelectors:Ex,decls:1,vars:0,template:function(e,t){1&e&&(ms(),vs(0))},styles:[Lx],encapsulation:2,changeDetection:0}),e}(),Bx=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e}(),Fx=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e}(),Hx=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;_(this,n),(a=t.call(this))._element=e,a._isInteractiveList=!1,a._destroyed=new Y,a._disabled=!1,a._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),a._list=r||o;var s=a._getHostElement();return"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe(cA(a._destroyed)).subscribe(function(){i.markForCheck()}),a}return w(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=uy(e)}},{key:"ngAfterContentInit",value:function(){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(Lp(e)).subscribe(function(e){var i=e.length;lM(t,"".concat(n,"-2-line"),!1),lM(t,"".concat(n,"-3-line"),!1),lM(t,"".concat(n,"-multi-line"),!1),2===i||3===i?lM(t,"".concat(n,"-").concat(i,"-line"),!0):i>3&&lM(t,"".concat(n,"-multi-line"),!0)})}(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(xx);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(ju),Ja(Px,8),Ja(Dx,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,Bx,5),Hc(n,Fx,5),Hc(n,cM,5)),2&e)&&(Bc(i=qc())&&(t._avatar=i.first),Bc(i=qc())&&(t._icon=i.first),Bc(i=qc())&&(t._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&Es("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:[Oa],ngContentSelectors:Rx,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&&(ms(zx),$a(0,"div",0),ts(1,"div",1),vs(2),$a(3,"div",2),vs(4,1),es(),vs(5,2),es()),2&e&&(yo(1),Qa("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[_M],encapsulation:2,changeDetection:0}),e}(),qx=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[hM,bM,Uw,MM,ld],hM,Uw,MM,Cx]}),e}(),jx=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e,t,n){return e["".concat(n,"_").concat(t)]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"localisedText",type:e,pure:!0}),e}(),Yx=function(e){return{color:e}};function Wx(e,t){if(1&e){var n=os();$a(0,"mat-list-item",2),cs("click",function(){var e=Qt(n).$implicit,t=ps();return e.external?t.goToURL(e.link):t.shouldHideMenu()}),$a(1,"mat-icon",3),qs(2),es(),$a(3,"span",4),qs(4),_c(5,"localisedText"),_c(6,"translate"),_c(7,"customTranslate"),es(),es()}if(2&e){var i=t.$implicit,r=ps();Es("activated",r.isActive(i.activatedRegex)),ys("routerLink",i.external?null:i.link),Qa("ngStyle",pc(16,Yx,r.textColor)),yo(1),Qa("ngStyle",pc(18,Yx,r.iconColor)),yo(1),js(i.icon),yo(2),js(i.external?Mc(5,7,i,r.lang,"label"):bc(6,11,wc(7,13,i.label,r.lang)))}}var Ux=function(){var e=function(){function e(t,n,i,r){var o=this;_(this,e),this.sideMenuItemService=t,this.storeService=n,this.router=i,this.translateService=r,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.iconColor=this.storeService.get("theme","sidemenu_item_icon_color"),this.currentUrl=i.url,i.events.subscribe(function(e){e instanceof ng&&(o.currentUrl=e.url)})}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe(function(t){var n=t.lang;e.lang=n});var t=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(function(e){return t.includes(e.tabName)})}},{key:"isActive",value:function(e){return new RegExp(e).test(this.currentUrl)}},{key:"shouldHideMenu",value:function(){"over"===this.sideNav.mode&&this.sideNav.close()}},{key:"goToURL",value:function(e){window.open(e,"_blank")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(Sx),Ja(lL),Ja(Cv),Ja(TE))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["disableRipple","","class","side-menu-item-height",3,"activated","ngStyle","routerLink","click",4,"ngFor","ngForOf"],["disableRipple","",1,"side-menu-item-height",3,"ngStyle","routerLink","click"],[3,"ngStyle"],[1,"nav-caption","ml-3"]],template:function(e,t){1&e&&($a(0,"mat-nav-list",0),Xa(1,Wx,8,20,"mat-list-item",1),es()),2&e&&(yo(1),Qa("ngForOf",t.items))},directives:[Nx,Kh,Hx,td,WO,Ev,oE],pipes:[jx,SE,TL],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}"]}),e}();function Kx(e,t){if(1&e&&($a(0,"span",1),$a(1,"a",2),qs(2),es(),es()),2&e){var n=t.$implicit;yo(1),Qa("routerLink",n.routerLink),yo(1),js(n.label)}}var Vx=function(){var e=function(){function e(t,n,i){_(this,e),this.router=t,this.activatedRoute=n,this.translate=i,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.router.events.pipe(ef(function(e){return e instanceof ng})).subscribe(function(){e.menuItems=[],e.createBreadcrumbs(e.activatedRoute.root)})}},{key:"createBreadcrumbs",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.children;0!==r.length&&r.forEach(function(t){var r=t.snapshot.url.map(function(e){return e.path}).join("/");""!==r&&(i+="/".concat(r));var o=n.translate.instant(t.snapshot.data[e.ROUTE_DATA_BREADCRUMB]);return!o||n.menuItems[n.menuItems.length-1]&&o===n.menuItems[n.menuItems.length-1].label||n.menuItems.push({label:o,routerLink:i}),n.createBreadcrumbs(t,i)})}}]),e}();return e.ROUTE_DATA_BREADCRUMB="breadcrumb",e.\u0275fac=function(t){return new(t||e)(Ja(Cv),Ja(am),Ja(TE))},e.\u0275cmp=ct({type:e,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&&Xa(0,Kx,3,2,"span",0),2&e&&Qa("ngForOf",t.menuItems)},directives:[Kh,Lv],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}']}),e}();function Xx(e,t){1&e&&($a(0,"mat-error"),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}var Gx=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this.dialogRef=t,this.translate=n,this.notificator=i,this.rtMessages=r,this.storeService=o,this.message="",this.subject="",this.instanceName=""}return w(e,[{key:"ngOnInit",value:function(){this.instanceName=this.storeService.get("config")}},{key:"sendBugReport",value:function(){var e=this;this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(function(t){e.dialogRef.afterClosed().subscribe(function(){return e.notificator.showSuccess(e.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+t.ticketNumber)}),e.dialogRef.close()})}},{key:"getFullEmailBody",value:function(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+v(306).i8}},{key:"close",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(TE),Ja(mL),Ja(ip),Ja(lL))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),es(),$a(3,"div",1),$a(4,"mat-form-field"),$a(5,"mat-label"),qs(6),_c(7,"translate"),es(),$a(8,"input",2,3),cs("ngModelChange",function(e){return t.subject=e}),es(),Xa(10,Xx,3,3,"mat-error",4),es(),$a(11,"mat-form-field"),$a(12,"mat-label"),qs(13),_c(14,"translate"),es(),$a(15,"textarea",5),cs("ngModelChange",function(e){return t.message=e}),_c(16,"translate"),qs(17," "),es(),$a(18,"mat-hint"),qs(19),_c(20,"translate"),es(),es(),es(),$a(21,"div",6),$a(22,"div",7),$a(23,"button",8),cs("click",function(){return t.close()}),qs(24),_c(25,"translate"),es(),$a(26,"button",9),cs("click",function(){return t.sendBugReport()}),qs(27),_c(28,"translate"),es(),es(),es()),2&e){var n=Ga(9);yo(1),js(bc(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),yo(5),js(bc(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),yo(2),Qa("ngModel",t.subject),yo(2),Qa("ngIf",n.invalid),yo(3),js(bc(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),yo(2),ys("placeholder",bc(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),Qa("ngModel",t.message),yo(4),js(bc(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),yo(5),Ys(" ",bc(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),yo(2),Qa("disabled",n.invalid),yo(1),Ys(" ",bc(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[UE,KE,tT,Vk,KL,lT,wS,PT,lS,Xh,Kk,VE,HM,qk],pipes:[SE],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),e}(),Jx=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e,t){return e["link_"+t]||e.link_en}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"localisedLink",type:e,pure:!0}),e}(),Qx=function(e){return{color:e}};function Zx(e,t){if(1&e&&($a(0,"i",16),qs(1),es()),2&e){var n=ps().$implicit,i=ps(3);Qa("ngStyle",pc(2,Qx,i.linksTextColor)),yo(1),Ys(" ",n.icon," ")}}function $x(e,t){if(1&e){var n=os();$a(0,"span",17),cs("click",function(){Qt(n);var e=ps().$implicit;return ps(3).openDialog(e.dialog)}),qs(1),_c(2,"localisedText"),es()}if(2&e){var i=ps().$implicit,r=ps(3);Qa("ngStyle",pc(6,Qx,r.linksTextColor)),yo(1),Ys("",Mc(2,2,i,r.language,"label")," ")}}function eD(e,t){if(1&e&&($a(0,"a",18),_c(1,"localisedLink"),qs(2),_c(3,"localisedText"),es()),2&e){var n=ps().$implicit,i=ps(3);Qa("href",wc(1,3,n,i.language),_r)("ngStyle",pc(10,Qx,i.linksTextColor)),yo(2),js(Mc(3,6,n,i.language,"label"))}}function tD(e,t){if(1&e&&($a(0,"span",19),qs(1),_c(2,"localisedText"),es()),2&e){var n=ps().$implicit,i=ps(3);Qa("ngStyle",pc(6,Qx,i.linksTextColor)),yo(1),js(Mc(2,2,n,i.language,"label"))}}function nD(e,t){if(1&e&&($a(0,"div",11),Xa(1,Zx,2,4,"i",12),Xa(2,$x,3,8,"span",13),Xa(3,eD,4,12,"a",14),_c(4,"localisedLink"),Xa(5,tD,3,8,"span",15),_c(6,"localisedLink"),es()),2&e){var n=t.$implicit,i=ps(3);yo(1),Qa("ngIf",n.icon),yo(1),Qa("ngIf",n.dialog),yo(1),Qa("ngIf",wc(4,4,n,i.language)&&!n.dialog),yo(2),Qa("ngIf",!wc(6,7,n,i.language)&&!n.dialog)}}function iD(e,t){if(1&e&&($a(0,"div"),Xa(1,nD,7,10,"div",10),es()),2&e){var n=ps().$implicit;yo(1),Qa("ngForOf",n.elements)}}function rD(e,t){if(1&e&&($a(0,"div",7),$a(1,"h6",8),qs(2),_c(3,"localisedText"),es(),Xa(4,iD,2,1,"div",9),es()),2&e){var n=t.$implicit,i=ps();yo(1),Qa("ngStyle",pc(7,Qx,i.headersTextColor)),yo(1),Ys(" ",Mc(3,3,n,i.language,"title")," "),yo(2),Qa("ngIf",n.elements)}}function oD(e,t){if(1&e&&($a(0,"span"),$a(1,"a",6),qs(2),es(),es()),2&e){var n=t.$implicit,i=t.index,r=ps();yo(1),Qa("href",n.url,_r)("ngStyle",pc(3,Qx,r.copyrightTextColor)),yo(1),js(i?", "+n.name:n.name)}}var aD=function(e){return{background:e}},sD=function(){var e=function(){function e(t,n,i){_(this,e),this.storeService=t,this.translateService=n,this.dialog=i,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),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.footerHeight=new Sc}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.translateService.onLangChange.subscribe(function(t){e.language=t.lang}),this.version=v(306).i8,this.items=this.storeService.get("footer","columns"),this.copyrightItems=this.storeService.get("footer","copyright_items"),this.getHeight()}},{key:"openDialog",value:function(e){var t=QE();switch(e){case"reportIssue":t.width="550px",this.dialog.open(Gx,t)}}},{key:"getHeight",value:function(){var e,t=1,n=a(this.items);try{for(n.s();!(e=n.n()).done;){var i=e.value;t=tthis.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}},{key:"removeValue",value:function(e){this.keys.splice(e,1),this.values.splice(e,1)}},{key:"updateAttribute",value:function(){for(var e={},t=0;tt.defaultItemsShown),yo(1),Qa("ngIf",!t.readonly))},directives:[hS,NT,sS,Kh,aC,Xh,tT,KL,lT,wS,PT,lS,HM,oE],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}"]}),e}(),RD=["input"],OD=function(e){return{enterDuration:e}},xD=["*"],DD=new hi("mat-checkbox-default-options",{providedIn:"root",factory:PD});function PD(){return{color:"accent",clickAction:"check-indeterminate"}}var ND=0,ID={color:"accent",clickAction:"check-indeterminate"},BD={provide:sT,useExisting:Te(function(){return qD}),multi:!0},FD=function e(){_(this,e)},HD=Gw(Vw(Xw(Kw(function e(t){_(this,e),this._elementRef=t})))),qD=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u){var c;return _(this,n),(c=t.call(this,e))._changeDetectorRef=i,c._focusMonitor=r,c._ngZone=o,c._animationMode=s,c._options=u,c.ariaLabel="",c.ariaLabelledby=null,c._uniqueId="mat-checkbox-"+ ++ND,c.id=c._uniqueId,c.labelPosition="after",c.name=null,c.change=new Sc,c.indeterminateChange=new Sc,c._onTouched=function(){},c._currentAnimationClass="",c._currentCheckState=0,c._controlValueAccessorChangeFn=function(){},c._checked=!1,c._disabled=!1,c._indeterminate=!1,c._options=c._options||ID,c.color=c.defaultColor=c._options.color||ID.color,c.tabIndex=parseInt(a)||0,c}return w(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=uy(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){t||Promise.resolve().then(function(){e._onTouched(),e._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=uy(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=uy(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var e=new FD;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t,n=this,i=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}]),n}(HD);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(ju),Ja(e_),Ja(dl),ci("tabindex"),Ja(xw,8),Ja(DD,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;(1&e&&(Fc(RD,5),Fc(_M,5)),2&e)&&(Bc(n=qc())&&(t._inputElement=n.first),Bc(n=qc())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(Vs("id",t.id),Ua("tabindex",null),Es("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"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[cu([BD]),Oa],ngContentSelectors:xD,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",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&&(ms(),$a(0,"label",0,1),$a(2,"span",2),$a(3,"input",3,4),cs("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),es(),$a(5,"span",5),ts(6,"span",6),es(),ts(7,"span",7),$a(8,"span",8),Tn(),$a(9,"svg",9),ts(10,"path",10),es(),Sn(),ts(11,"span",11),es(),es(),$a(12,"span",12,13),cs("cdkObserveContent",function(){return t._onLabelTextChange()}),$a(14,"span",14),qs(15,"\xa0"),es(),vs(16),es(),es()),2&e){var n=Ga(1),i=Ga(13);Ua("for",t.inputId),yo(2),Es("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),yo(1),Qa("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Ua("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),yo(2),Qa("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",pc(19,OD,"NoopAnimations"===t._animationMode?0:150))}},directives:[_M,zy],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-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}),e}(),jD=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),YD=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[bM,Uw,Ry,jD],Uw,jD]}),e}();function WD(e,t){if(1&e){var n=os();$a(0,"mat-checkbox",2),cs("change",function(){return Qt(n),ps()._sendEventToParent()})("ngModelChange",function(e){return Qt(n),ps().attribute.value=e}),es()}2&e&&Qa("ngModel",ps().attribute.value)}function UD(e,t){if(1&e&&($a(0,"mat-label"),qs(1),es()),2&e){var n=ps();yo(1),js(n.attribute.value)}}var KD=function(){var e=function(){function e(){_(this,e),this.readonly=!1,this.sendEventToParent=new Sc}return w(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=ZE(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,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&&($a(0,"div"),Xa(1,WD,1,1,"mat-checkbox",0),Xa(2,UD,2,1,"mat-label",1),es()),2&e&&(yo(1),Qa("ngIf",!t.readonly),yo(1),Qa("ngIf",t.readonly))},directives:[Xh,qD,PT,lS,Vk],styles:[""]}),e}();function VD(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function XD(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function GD(e,t){var n=t?"":"none";XD(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function JD(e,t){var n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function QD(e,t){return t?e+" "+t:e}function ZD(e){var t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function $D(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}function eP(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function tP(e,t,n){var i=e.top,r=e.bottom,o=e.left,a=e.right;return n>=i&&n<=r&&t>=o&&t<=a}function nP(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function iP(e,t,n,i){var r=e.top,o=e.right,a=e.bottom,s=e.left,u=e.width*t,c=e.height*t;return i>r-c&&is-u&&n=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(e),o=s._dropContainer;if(!r)return void s._endDragSequence(e);o&&(o.isDragging()||o.isReceiving())||(e.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(e)}))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new rP(i,o),a.registerDragItem(this)}return w(e,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=uy(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(function(e){return GD(e,t)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(e){var t=this;this._handles=e.map(function(e){return fy(e)}),this._handles.forEach(function(e){return GD(e,t.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(e){t._handles.indexOf(e)>-1&&n.add(e)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(e){return this._previewTemplate=e,this}},{key:"withPlaceholderTemplate",value:function(e){return this._placeholderTemplate=e,this}},{key:"withRootElement",value:function(e){var t=this,n=fy(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",t._pointerDown,hP),n.addEventListener("touchstart",t._pointerDown,lP)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?fy(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return t._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(e){return this._parentDragRef=e,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&gP(this._rootElement),gP(this._anchor),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}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),GD(e,!0))}},{key:"enableHandle",value:function(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),GD(e,this.disabled))}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"_withDropContainer",value:function(e){this._dropContainer=e}},{key:"getFreeDragPosition",value:function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}},{key:"setFreeDragPosition",value:function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}},{key:"withPreviewContainer",value:function(e){return this._previewContainer=e,this}},{key:"_sortFromLastPointerPosition",value:function(){var e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&gP(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&gP(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;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(function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)});else{this._passiveTransform.x=this._activeTransform.x;var n=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){t.ended.next({source:t,distance:t._getDragDistance(n),dropPoint:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(e){mP(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t=this._dropContainer;if(t){var n=this._rootElement,i=n.parentNode,r=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();i.insertBefore(o,n),this._initialTransform=n.style.transform||"",this._preview=this._createPreviewElement(),JD(n,!1),this._document.body.appendChild(i.replaceChild(r,n)),this._getPreviewInsertionPoint(i,a).appendChild(this._preview),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var n=this;this._parentDragRef&&t.stopPropagation();var i=this.isDragging(),r=mP(t),o=!r&&0!==t.button,a=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(i||o||s)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.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.scroll.subscribe(function(e){n._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=eP(this._boundaryElement));var u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}}},{key:"_cleanupDragArtifacts",value:function(e){var t=this;JD(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var n=t._dropContainer,i=n.getItemIndex(t),r=t._getPointerPositionOnPage(e),o=t._getDragDistance(r),a=n._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:o,dropPoint:r}),t.dropped.next({item:t,currentIndex:i,previousIndex:t._initialIndex,container:n,previousContainer:t._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r}),n.drop(t,i,t._initialIndex,t._initialContainer,a,o,r),t._dropContainer=t._initialContainer})}},{key:"_updateActiveDropContainer",value:function(e,t){var n=this,i=e.x,r=e.y,o=t.x,a=t.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,r,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,a),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this._applyPreviewTransform(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var e,t=this._previewTemplate,n=this.previewClass,i=t?t.template:null;if(i&&t){var r=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),e=vP(o,this._document),this._previewRef=o,t.matchSize?yP(e,r):e.style.transform=fP(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;yP(e=oP(a),a.getBoundingClientRect()),this._initialTransform&&(e.style.transform=this._initialTransform)}return XD(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"".concat(this._config.zIndex||1e3)}),GD(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(t){return e.classList.add(t)}):e.classList.add(n)),e}},{key:"_animatePreviewToPlaceholder",value:function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);var n=function(e){var t=getComputedStyle(e),n=$D(t,"transition-property"),i=n.find(function(e){return"transform"===e||"all"===e});if(!i)return 0;var r=n.indexOf(i),o=$D(t,"transition-duration"),a=$D(t,"transition-delay");return ZD(o[r])+ZD(a[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var i=function n(i){(!i||i.target===e._preview&&"transform"===i.propertyName)&&(e._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(i,1.5*n);e._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),e=vP(this._placeholderRef,this._document)):e=oP(this._rootElement),e.classList.add("cdk-drag-placeholder"),e}},{key:"_getPointerPositionInElement",value:function(e,t){var n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,r=i?i.getBoundingClientRect():n,o=mP(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition();return{x:r.left-n.left+(o.pageX-r.left-a.left),y:r.top-n.top+(o.pageY-r.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(e){var t=this._getViewportScrollPosition(),n=mP(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,r=n.pageY-t.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=r,a.matrixTransform(o.inverse())}}return{x:i,y:r}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(e,this):e,i=n.x,r=n.y;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(i=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,a=o.x,s=o.y,u=this._boundaryRect,c=this._previewRect,l=u.top+s,h=u.bottom-(c.height-s);i=pP(i,u.left+a,u.right-(c.width-a)),r=pP(r,l,h)}return{x:i,y:r}}},{key:"_updatePointerDirectionDelta",value:function(e){var t=e.x,n=e.y,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-r.x),a=Math.abs(n-r.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=t>r.x?1:-1,r.x=t),a>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,GD(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,hP),e.removeEventListener("touchstart",this._pointerDown,lP)}},{key:"_applyRootElementTransform",value:function(e,t){var n=fP(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=QD(n,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(e,t){var n,i=(null===(n=this._previewTemplate)||void 0===n?void 0:n.template)?void 0:this._initialTransform,r=fP(e,t);this._preview.style.transform=QD(r,i)}},{key:"_getDragDistance",value:function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var e=this._passiveTransform,t=e.x,n=e.y;if(!(0===t&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===r.width&&0===r.height)){var o=i.left-r.left,a=r.right-i.right,s=i.top-r.top,u=r.bottom-i.bottom;i.width>r.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,i.height>r.height?(s>0&&(n+=s),u>0&&(n-=u)):n=0,t===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:t})}}}},{key:"_getDragStartDelay",value:function(e){var t=this.dragStartDelay;return"number"==typeof t?t:mP(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);if(t){var n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&nP(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sy(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(e,t){var n=this._previewContainer||"global";if("parent"===n)return e;if("global"===n){var i=this._document;return t||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return fy(n)}}]),e}();function fP(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function pP(e,t,n){return Math.max(t,Math.min(n,e))}function gP(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function mP(e){return"t"===e.type[0]}function vP(e,t){var n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];var i=t.createElement("div");return n.forEach(function(e){return i.appendChild(e)}),i}function yP(e,t){e.style.width="".concat(t.width,"px"),e.style.height="".concat(t.height,"px"),e.style.transform=fP(t.left,t.top)}function _P(e,t,n){var i=bP(t,e.length-1),r=bP(n,e.length-1);if(i!==r){for(var o=e[i],a=r0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ny;return(!aA(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=ny),new I(function(n){return n.add(t.schedule(VD,e,{subscriber:n,counter:0,period:e})),n})}(0,UM).pipe(cA(a._stopScrollTimers)).subscribe(function(){var e=a._scrollNode,t=a.autoScrollStep;1===a._verticalScrollDirection?AP(e,-t):2===a._verticalScrollDirection&&AP(e,t),1===a._horizontalScrollDirection?kP(e,-t):2===a._horizontalScrollDirection&&kP(e,t)})},this.element=fy(t),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new rP(i,o)}return w(e,[{key:"dispose",value:function(){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)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(e,t,n,i){var r;this._draggingStarted(),null==i?-1===(r=this.sortingDisabled?this._draggables.indexOf(e):-1)&&(r=this._getItemIndexFromPointerPosition(e,t,n)):r=i;var o=this._activeDraggables,a=o.indexOf(e),s=e.getPlaceholderElement(),u=o[r];if(u===e&&(u=o[r+1]),a>-1&&o.splice(a,1),u&&!this._dragDropRegistry.isDragging(u)){var c=u.getRootElement();c.parentElement.insertBefore(s,c),o.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){var l=o[0].getRootElement();l.parentNode.insertBefore(s,l),o.unshift(e)}else fy(this.element).appendChild(s),o.push(e);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}},{key:"exit",value:function(e){this._reset(),this.exited.next({item:e,container:this})}},{key:"drop",value:function(e,t,n,i,r,o,a){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:o,dropPoint:a})}},{key:"withItems",value:function(e){var t=this,n=this._draggables;return this._draggables=e,e.forEach(function(e){return e._withDropContainer(t)}),this.isDragging()&&(n.filter(function(e){return e.isDragging()}).every(function(t){return-1===e.indexOf(t)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"connectedTo",value:function(e){return this._siblings=e.slice(),this}},{key:"withOrientation",value:function(e){return this._orientation=e,this}},{key:"withScrollableParents",value:function(e){var t=fy(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t].concat(r(e)):e.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(e){return this._isDragging?MP("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(t){return t.drag===e}):this._draggables.indexOf(e)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(e,t,n,i){if(!this.sortingDisabled&&this._clientRect&&iP(this._clientRect,.05,t,n)){var r=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,n,i);if(!(-1===o&&r.length>0)){var a="horizontal"===this._orientation,s=MP(r,function(t){return t.drag===e}),u=r[o],c=u.clientRect,l=s>o?1:-1,h=this._getItemOffsetPx(r[s].clientRect,c,l),d=this._getSiblingOffsetPx(s,r,l),f=r.slice();_P(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:e}),r.forEach(function(t,n){if(f[n]!==t){var i=t.drag===e,r=i?h:d,o=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,a?(o.style.transform=QD("translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),t.initialTransform),nP(t.clientRect,0,r)):(o.style.transform=QD("translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),t.initialTransform),nP(t.clientRect,r,0))}}),this._previousSwap.overlaps=tP(c,t,n),this._previousSwap.drag=u.drag,this._previousSwap.delta=a?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(e,n){var i=this;if(!this.autoScrollDisabled){var r,o=0,a=0;if(this._parentPositions.positions.forEach(function(s,u){var c;u!==i._document&&s.clientRect&&!r&&iP(s.clientRect,.05,e,n)&&(c=t(function(e,t,n,i){var r=TP(t,i),o=SP(t,n),a=0,s=0;if(r){var u=e.scrollTop;1===r?u>0&&(a=1):e.scrollHeight-u>e.clientHeight&&(a=2)}if(o){var c=e.scrollLeft;1===o?c>0&&(s=1):e.scrollWidth-c>e.clientWidth&&(s=2)}return[a,s]}(u,s.clientRect,e,n),2),o=c[0],a=c[1],(o||a)&&(r=u))}),!o&&!a){var s=this._viewportRuler.getViewportSize(),u=s.width,c=s.height,l={width:u,height:c,top:0,right:u,bottom:c,left:0};o=TP(l,n),a=SP(l,e),r=window}!r||o===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&r===this._scrollNode||(this._verticalScrollDirection=o,this._horizontalScrollDirection=a,this._scrollNode=r,(o||a)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var e=fy(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var e=fy(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}},{key:"_cacheItemPositions",value:function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:eP(t)}}).sort(function(t,n){return e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var e=this;this._isDragging=!1;var t=fy(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(t){var n,i=t.getRootElement();if(i){var r=null===(n=e._itemPositions.find(function(e){return e.drag===t}))||void 0===n?void 0:n.initialTransform;i.style.transform=r||""}}),this._siblings.forEach(function(t){return t._stopReceiving(e)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=t[e].clientRect,o=t[e+-1*n],a=r[i?"width":"height"]*n;if(o){var s=i?"left":"top",u=i?"right":"bottom";-1===n?a-=o.clientRect[s]-r[u]:a+=r[s]-o.clientRect[u]}return a}},{key:"_getItemOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=i?t.left-e.left:t.top-e.top;return-1===n&&(r+=i?t.width-e.width:t.height-e.height),r}},{key:"_shouldEnterAsFirstChild",value:function(e,t){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var r=n[n.length-1].clientRect;return i?e>=r.right:t>=r.bottom}var o=n[0].clientRect;return i?e<=o.left:t<=o.top}},{key:"_getItemIndexFromPointerPosition",value:function(e,t,n,i){var r=this,o="horizontal"===this._orientation,a=MP(this._itemPositions,function(a,s,u){var c=a.drag,l=a.clientRect;if(c===e)return u.length<2;if(i){var h=o?i.x:i.y;if(c===r._previousSwap.drag&&r._previousSwap.overlaps&&h===r._previousSwap.delta)return!1}return o?t>=Math.floor(l.left)&&t=Math.floor(l.top)&&n-1})&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var e=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){if(e.isDragging()){var n=e._parentPositions.handleScroll(t);n&&(e._itemPositions.forEach(function(e){nP(e.clientRect,n.top,n.left)}),e._itemPositions.forEach(function(t){var n=t.drag;e._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else e.isReceiving()&&e._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var e=Sy(fy(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var e=this,t=this._activeDraggables.filter(function(e){return e.isDragging()});this._siblings.forEach(function(n){return n._startReceiving(e,t)})}}]),e}();function MP(e,t){for(var n=0;n=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}function SP(e,t){var n=e.left,i=e.right,r=.05*e.width;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}var CP=Ay({passive:!1,capture:!0}),EP=function(){var e=function(){function e(t,n){var i=this;_(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(e){return e.isDragging()},this.pointerMove=new Y,this.pointerUp=new Y,this.scroll=new Y,this._preventDefaultWhileDragging=function(e){i._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=function(e){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&e.preventDefault(),i.pointerMove.next(e))},this._document=n}return w(e,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._persistentTouchmoveListener,CP)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,CP)}},{key:"startDragging",value:function(e,t){var n=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var i=t.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return n.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:CP}),i||this._globalListeners.set("mousemove",{handler:function(e){return n.pointerMove.next(e)},options:CP}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(e,t){n._document.addEventListener(t,e.handler,e.options)})})}}},{key:"stopDragging",value:function(e){var t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(t){return e.removeDragItem(t)}),this._dropInstances.forEach(function(t){return e.removeDropContainer(t)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(t,n){e._document.removeEventListener(n,t.handler,t.options)}),this._globalListeners.clear()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(dl),Ei(Ul))},e.\u0275prov=Oe({factory:function(){return new e(Ei(dl),Ei(Ul))},token:e,providedIn:"root"}),e}(),LP={dragStartThreshold:5,pointerDirectionChangeThreshold:5},zP=function(){var e=function(){function e(t,n,i,r){_(this,e),this._document=t,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=r}return w(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:LP;return new dP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new wP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(Ul),Ei(dl),Ei(LA),Ei(EP))},e.\u0275prov=Oe({factory:function(){return new e(Ei(Ul),Ei(dl),Ei(LA),Ei(EP))},token:e,providedIn:"root"}),e}(),RP=new hi("CDK_DRAG_PARENT"),OP=new hi("CdkDropListGroup"),xP=new hi("CDK_DRAG_CONFIG"),DP=0,PP=new hi("CdkDropList"),NP=function(){var e=function(){function e(t,n,i,r,o,a,s){var u=this;_(this,e),this.element=t,this._changeDetectorRef=i,this._scrollDispatcher=r,this._dir=o,this._group=a,this._destroyed=new Y,this.connectedTo=[],this.id="cdk-drop-list-"+DP++,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new Sc,this.entered=new Sc,this.exited=new Sc,this.sorted=new Sc,this._unsortedItems=new Set,this._dropListRef=n.createDropList(t),this._dropListRef.data=this,s&&this._assignDefaults(s),this._dropListRef.enterPredicate=function(e,t){return u.enterPredicate(e.data,t.data)},this._dropListRef.sortPredicate=function(e,t,n){return u.sortPredicate(e,t.data,n.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),a&&a._items.add(this)}return w(e,[{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(e){this._dropListRef.disabled=this._disabled=uy(e)}},{key:"addItem",value:function(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(e,t){return e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(t){var n=this;this._dir&&this._dir.change.pipe(Lp(this._dir.value),cA(this._destroyed)).subscribe(function(e){return t.withDirection(e)}),t.beforeStarted.subscribe(function(){var i=hy(n.connectedTo).map(function(t){return"string"==typeof t?e._dropLists.find(function(e){return e.id===t}):t});if(n._group&&n._group._items.forEach(function(e){-1===i.indexOf(e)&&i.push(e)}),!n._scrollableParentsResolved){var r=n._scrollDispatcher.getAncestorScrollContainers(n.element).map(function(e){return e.getElementRef().nativeElement});n._dropListRef.withScrollableParents(r),n._scrollableParentsResolved=!0}t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.sortingDisabled=uy(n.sortingDisabled),t.autoScrollDisabled=uy(n.autoScrollDisabled),t.autoScrollStep=cy(n.autoScrollStep,2),t.connectedTo(i.filter(function(e){return e&&e!==n}).map(function(e){return e._dropListRef})).withOrientation(n.orientation)})}},{key:"_handleEvents",value:function(e){var t=this;e.beforeStarted.subscribe(function(){t._syncItemsWithRef(),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:t,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:t,item:e.item.data}),t._changeDetectorRef.markForCheck()}),e.sorted.subscribe(function(e){t.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:t,item:e.item.data})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.draggingDisabled,i=e.sortingDisabled,r=e.listAutoScrollDisabled,o=e.listOrientation;this.disabled=null!=n&&n,this.sortingDisabled=null!=i&&i,this.autoScrollDisabled=null!=r&&r,this.orientation=o||"vertical",t&&(this.lockAxis=t)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(e){return e._dragRef}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(zP),Ja(ju),Ja(CA),Ja(o_,8),Ja(OP,12),Ja(xP,8))},e.\u0275dir=gt({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(Ua("id",t.id),Es("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[cu([{provide:OP,useValue:void 0},{provide:PP,useExisting:e}])]}),e._dropLists=[],e}(),IP=new hi("CdkDragHandle"),BP=new hi("CdkDragPlaceholder"),FP=new hi("CdkDragPreview"),HP=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c,l,h){var d=this;_(this,e),this.element=t,this.dropContainer=n,this._ngZone=r,this._viewContainerRef=o,this._dir=s,this._changeDetectorRef=c,this._selfHandle=l,this._parentDrag=h,this._destroyed=new Y,this.started=new Sc,this.released=new Sc,this.ended=new Sc,this.entered=new Sc,this.exited=new Sc,this.dropped=new Sc,this.moved=new I(function(e){var t=d._dragRef.moved.pipe(ee(function(e){return{source:d,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=u.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),a&&this._assignDefaults(a),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return w(e,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=uy(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.onStable.pipe(Sp(1),cA(this._destroyed)).subscribe(function(){e._updateRootElement(),e._handles.changes.pipe(Lp(e._handles),Xp(function(t){var n=t.filter(function(t){return t._parentDrag===e}).map(function(e){return e.element});e._selfHandle&&e.rootElementSelector&&n.push(e.element),e._dragRef.withHandles(n)}),Mp(function(e){return le.apply(void 0,r(e.map(function(e){return e._stateChanges.pipe(Lp(e))})))}),cA(e._destroyed)).subscribe(function(t){var n=e._dragRef,i=t.element.nativeElement;t.disabled?n.disableHandle(i):n.enableHandle(i)}),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})}},{key:"ngOnChanges",value:function(e){var t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?qP(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?qP(this.element.nativeElement,e):fy(e):null}},{key:"_syncInputs",value:function(t){var n=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var e=n._dir,i=n.dragStartDelay,r=n._placeholderTemplate?{template:n._placeholderTemplate.templateRef,context:n._placeholderTemplate.data,viewContainer:n._viewContainerRef}:null,o=n._previewTemplate?{template:n._previewTemplate.templateRef,context:n._previewTemplate.data,matchSize:n._previewTemplate.matchSize,viewContainer:n._viewContainerRef}:null;t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:cy(i),t.constrainPosition=n.constrainPosition,t.previewClass=n.previewClass,t.withBoundaryElement(n._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o).withPreviewContainer(n.previewContainer||"global"),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(Sp(1)).subscribe(function(){var i,r;if(n._parentDrag)t.withParent(n._parentDrag._dragRef);else for(var o=n.element.nativeElement.parentElement;o;){if(null===(i=o.classList)||void 0===i?void 0:i.contains("cdk-drag")){t.withParent((null===(r=e._dragInstances.find(function(e){return e.element.nativeElement===o}))||void 0===r?void 0:r._dragRef)||null);break}o=o.parentElement}})}},{key:"_handleEvents",value:function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(e){t.ended.emit({source:t,distance:e.distance,dropPoint:e.dropPoint}),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance,dropPoint:e.dropPoint})})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.dragStartDelay,i=e.constrainPosition,r=e.previewClass,o=e.boundaryElement,a=e.draggingDisabled,s=e.rootElementSelector,u=e.previewContainer;this.disabled=null!=a&&a,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),r&&(this.previewClass=r),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s),u&&(this.previewContainer=u)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(PP,12),Ja(Ul),Ja(dl),Ja($u),Ja(xP,8),Ja(o_,8),Ja(zP),Ja(ju),Ja(IP,10),Ja(RP,12))},e.\u0275dir=gt({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,FP,5),Hc(n,BP,5),Hc(n,IP,5)),2&e)&&(Bc(i=qc())&&(t._previewTemplate=i.first),Bc(i=qc())&&(t._placeholderTemplate=i.first),Bc(i=qc())&&(t._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&Es("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],previewContainer:["cdkDragPreviewContainer","previewContainer"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[cu([{provide:RP,useExisting:e}]),Et]}),e._dragInstances=[],e}();function qP(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}var jP=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[zP],imports:[zA]}),e}(),YP=["*"],WP=new hi("MatChipRemove"),UP=new hi("MatChipAvatar"),KP=new hi("MatChipTrailingIcon"),VP=Gw(Vw(Xw(function e(t){_(this,e),this._elementRef=t}),"primary"),-1),XP=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u,c){var l;return _(this,n),(l=t.call(this,e))._elementRef=e,l._ngZone=i,l._changeDetectorRef=a,l._hasFocus=!1,l.chipListSelectable=!0,l._chipListMultiple=!1,l._chipListDisabled=!1,l._selected=!1,l._selectable=!0,l._disabled=!1,l._removable=!0,l._onFocus=new Y,l._onBlur=new Y,l.selectionChange=new Sc,l.destroyed=new Sc,l.removed=new Sc,l._addHostClassName(),l._chipRippleTarget=s.createElement("div"),l._chipRippleTarget.classList.add("mat-chip-ripple"),l._elementRef.nativeElement.appendChild(l._chipRippleTarget),l._chipRipple=new vM(m(l),i,l._chipRippleTarget,r),l._chipRipple.setupTriggerEvents(e),l.rippleConfig=o||{},l._animationsDisabled="NoopAnimations"===u,l.tabIndex=null!=c&&parseInt(c)||-1,l}return w(n,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=uy(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=uy(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=uy(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=uy(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled?e.preventDefault():e.stopPropagation()}},{key:"_handleKeydown",value:function(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()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.pipe(Sp(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})}},{key:"_dispatchSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}]),n}(VP);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(dl),Ja(_y),Ja(yM,8),Ja(ju),Ja(Ul),Ja(xw,8),ci("tabindex"))},e.\u0275dir=gt({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,UP,5),Hc(n,KP,5),Hc(n,WP,5)),2&e)&&(Bc(i=qc())&&(t.avatar=i.first),Bc(i=qc())&&(t.trailingIcon=i.first),Bc(i=qc())&&(t.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&cs("click",function(e){return t._handleClick(e)})("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(Ua("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),Es("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:[Oa]}),e}(),GP=new hi("mat-chips-default-options"),JP=Jw(function e(t,n,i,r){_(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),QP=0,ZP=function e(t,n){_(this,e),this.source=t,this.value=n},$P=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u){var c;return _(this,n),(c=t.call(this,s,o,a,u))._elementRef=e,c._changeDetectorRef=i,c._dir=r,c.ngControl=u,c.controlType="mat-chip-list",c._lastDestroyedChipIndex=null,c._destroyed=new Y,c._uid="mat-chip-list-"+QP++,c._tabIndex=0,c._userTabIndex=null,c._onTouched=function(){},c._onChange=function(){},c._multiple=!1,c._compareWith=function(e,t){return e===t},c._required=!1,c._disabled=!1,c.ariaOrientation="horizontal",c._selectable=!0,c.change=new Sc,c.valueChange=new Sc,c.ngControl&&(c.ngControl.valueAccessor=m(c)),c}return w(n,[{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=uy(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=uy(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=uy(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=uy(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return le.apply(void 0,r(this.chips.map(function(e){return e.selectionChange})))}},{key:"chipFocusChanges",get:function(){return le.apply(void 0,r(this.chips.map(function(e){return e._onFocus})))}},{key:"chipBlurChanges",get:function(){return le.apply(void 0,r(this.chips.map(function(e){return e._onBlur})))}},{key:"chipRemoveChanges",get:function(){return le.apply(void 0,r(this.chips.map(function(e){return e.destroyed})))}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new qy(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(cA(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.tabOut.pipe(cA(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.chips.changes.pipe(Lp(null),cA(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new kA(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return t._selectValue(e,n)}),this._sortValues();else{var i=this._selectValue(e,n);i&&n&&this._keyManager.setActiveItem(i)}}},{key:"_selectValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.chips.find(function(n){return null!=n.value&&t._compareWith(n.value,e)});return i&&(n?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var t;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new ZP(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){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)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&e._keyManager.updateActiveItem(n),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){var n=t.chip,i=e.chips.toArray().indexOf(t.chip);e._isValidIndex(i)&&n._hasFocus&&(e._lastDestroyedChipIndex=i)})}},{key:"_originatesFromChip",value:function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(e){return e._hasFocus})}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach(function(t){t._chipListDisabled=e._disabled,t._chipListMultiple=e.multiple})}}]),n}(JP);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(ju),Ja(o_,8),Ja(sS,8),Ja(_S,8),Ja(uM),Ja(xT,10))},e.\u0275cmp=ct({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,n){var i;(1&e&&Hc(n,XP,5),2&e)&&(Bc(i=qc())&&(t.chips=i))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&cs("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(e){return t._keydown(e)}),2&e&&(Vs("id",t._uid),Ua("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),Es("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[cu([{provide:Yk,useExisting:e}]),Oa],ngContentSelectors:YP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(ms(),$a(0,"div",0),vs(1),es())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height: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}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),eN=0,tN=function(){var e=function(){function e(t,n){_(this,e),this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new Sc,this.placeholder="",this.id="mat-chip-list-input-"+eN++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return w(e,[{key:"chipList",set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=uy(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=uy(e)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(e){if(e){if(9!==e.keyCode||Zv(e,"shiftKey")||this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}},{key:"_keyup",value:function(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(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())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this.inputElement.focus(e)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(e){return!Zv(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(GP))},e.\u0275dir=gt({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&cs("keydown",function(e){return t._keydown(e)})("keyup",function(e){return t._keyup(e)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(Vs("id",t.id),Ua("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:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Et]}),e}(),nN={separatorKeyCodes:[13]},iN=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[uM,{provide:GP,useValue:nN}],imports:[[Uw]]}),e}();function rN(e,t){if(1&e){var n=os();$a(0,"mat-icon",9),cs("mousedown",function(){return Qt(n),ps(2).dragDisabled=!1}),qs(1,"drag_indicator"),es()}}function oN(e,t){if(1&e){var n=os();$a(0,"mat-icon",10),cs("click",function(){Qt(n);var e=ps().$implicit;return ps().edit(e)}),qs(1,"edit"),es()}}function aN(e,t){if(1&e){var n=os();$a(0,"mat-icon",11),cs("click",function(){Qt(n);var e=ps().$implicit;return ps().remove(e)}),qs(1,"cancel"),es()}}function sN(e,t){if(1&e){var n=os();$a(0,"mat-chip",4),cs("removed",function(){var e=Qt(n).$implicit,t=ps();return t.remove(e),t._sendEventToParent()}),Xa(1,rN,2,0,"mat-icon",5),$a(2,"div",6),cs("click",function(){var e=Qt(n).$implicit,t=ps();return t.readonly&&void 0!==t.attribute.displayName&&t.showValue(e,t.attribute.displayName)}),qs(3),es(),Xa(4,oN,2,0,"mat-icon",7),Xa(5,aN,2,0,"mat-icon",8),es()}if(2&e){var i=t.$implicit,r=ps();Qa("selectable",r.selectable)("cdkDragData",i)("removable",r.removable),yo(1),Qa("ngIf",r.removable),yo(1),Es("cursor-pointer",r.readonly&&void 0!==r.attribute.displayName),yo(1),js(i),yo(1),Qa("ngIf",r.removable),yo(1),Qa("ngIf",r.removable)}}function uN(e,t){1&e&&($a(0,"mat-icon"),qs(1,"more_horiz"),es())}function cN(e,t){1&e&&($a(0,"mat-icon"),qs(1,"keyboard_arrow_up"),es())}function lN(e,t){if(1&e){var n=os();$a(0,"div",12),$a(1,"span",13),$a(2,"button",14),cs("click",function(){return Qt(n),ps().onShowChange()}),Xa(3,uN,2,0,"mat-icon",15),Xa(4,cN,2,0,"mat-icon",15),es(),es(),es()}if(2&e){var i=ps();yo(1),Qa("matTooltip",i.showMore?"Show less":"Show more")("matTooltipPosition","above"),yo(2),Qa("ngIf",!i.showMore),yo(1),Qa("ngIf",i.showMore)}}function hN(e,t){if(1&e){var n=os();$a(0,"mat-form-field",12),$a(1,"input",16),cs("matChipInputTokenEnd",function(e){return Qt(n),ps().add(e)})("change",function(){return Qt(n),ps()._sendEventToParent()}),es(),es()}if(2&e){var i=ps(),r=Ga(2);yo(1),Qa("matChipInputFor",r)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes)("matChipInputAddOnBlur",i.addOnBlur)}}var dN=function(){var e=function(){function e(t){_(this,e),this.dialog=t,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new Sc,this.readonly=!1}return w(e,[{key:"ngOnInit",value:function(){this.removable=!ZE(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=ZE(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"add",value:function(e){var t=e.input,n=e.value;(n||"").trim()&&(this.attribute.value.push(n.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}},{key:"remove",value:function(e){var t=this,n=QE();n.width="400px",n.data={name:e},this.dialog.open(hR,n).afterClosed().subscribe(function(n){if(n){var i=t.attribute.value.indexOf(e);t.attribute.value.splice(i,1),t.values=Object.values(t.attribute.value),t.sendEventToParent.emit()}})}},{key:"drop",value:function(e){this.dragDisabled=!0,_P(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}},{key:"edit",value:function(e){var t=this,n=this.attribute.value.indexOf(e),i=QE();i.width="600px",i.data={attribute:this.attribute,index:n},this.dialog.open(lR,i).afterClosed().subscribe(function(e){e&&(t.values=Object.values(t.attribute.value),t.sendEventToParent.emit())})}},{key:"showValue",value:function(e,t){var n=QE();n.width="350px",n.data={value:e,title:t},this.dialog.open(cR,n)}},{key:"setItemsShown",value:function(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}},{key:"onShowChange",value:function(){this.showMore=!this.showMore,this.setItemsShown()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(YE))},e.\u0275cmp=ct({type:e,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",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&($a(0,"div"),$a(1,"mat-chip-list",0,1),cs("cdkDropListDropped",function(e){return t.drop(e),t._sendEventToParent()}),Xa(3,sN,6,9,"mat-chip",2),Xa(4,lN,5,4,"div",3),Xa(5,hN,2,3,"mat-form-field",3),es(),es()),2&e&&(yo(1),Qa("cdkDropListDisabled",t.dragDisabled),yo(2),Qa("ngForOf",t.values.slice(0,t.itemsShown)),yo(1),Qa("ngIf",t.values.length>t.defaultItemsShown),yo(1),Qa("ngIf",!t.readonly))},directives:[$P,NP,Kh,Xh,XP,HP,oE,aC,HM,tT,KL,tN],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%], .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}.edit-delete-icon[_ngcontent-%COMP%], .handle-icon[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}(),fN=function(){var e=function(){function e(t){_(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new Sc}return w(e,[{key:"ngOnInit",value:function(){this.value=this.attribute.value,this.readonly||(this.readonly=ZE(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e,t){var n=QE();n.width="350px",n.data={value:e,title:t},this.dialog.open(cR,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(YE))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&($a(0,"mat-form-field",0),$a(1,"input",1),cs("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),es(),es()),2&e&&(ys("appearance",t.readonly?"none":"standard"),yo(1),Es("cursor-pointer",t.readonly&&void 0!==t.value),Qa("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[tT,KL,lT,PT,lS],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),e}(),pN=function(){var e=function(){function e(t){_(this,e),this.dialog=t,this.readonly=!1,this.sendEventToParent=new Sc}return w(e,[{key:"ngOnInit",value:function(){this.readonly||(this.readonly=ZE(this.attribute))}},{key:"_sendEventToParent",value:function(){this.sendEventToParent.emit()}},{key:"showValue",value:function(e){var t=QE();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(cR,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(YE))},e.\u0275cmp=ct({type:e,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&&($a(0,"mat-form-field",0),$a(1,"input",1),cs("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(e){return t.attribute.value=e})("keydown",function(){return t._sendEventToParent()}),es(),es()),2&e&&(ys("appearance",t.readonly?"none":"standard"),yo(1),Es("cursor-pointer",t.readonly&&void 0!==t.attribute.value),Qa("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[tT,KL,fS,lT,PT,lS],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e}(),gN=["map"];function mN(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-attribute-value-boolean",3),cs("sendEventToParent",function(){return Qt(n),ps()._sendEventToParent2()}),es()}if(2&e){var i=ps();Qa("attribute",i.attribute)("readonly",i.readonly)}}function vN(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-attribute-value-list",3),cs("sendEventToParent",function(){return Qt(n),ps()._sendEventToParent2()}),es()}if(2&e){var i=ps();Qa("attribute",i.attribute)("readonly",i.readonly)}}function yN(e,t){if(1&e&&ts(0,"perun-web-apps-attribute-value-map",4,5),2&e){var n=ps();Qa("attribute",n.attribute)("readonly",n.readonly)}}function _N(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-attribute-value-string",3),cs("sendEventToParent",function(){return Qt(n),ps()._sendEventToParent2()}),es()}if(2&e){var i=ps();Qa("attribute",i.attribute)("readonly",i.readonly)}}function bN(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-attribute-value-integer",3),cs("sendEventToParent",function(){return Qt(n),ps()._sendEventToParent2()}),es()}if(2&e){var i=ps();Qa("attribute",i.attribute)("readonly",i.readonly)}}var wN=function(){var e=function(){function e(){_(this,e),this.readonly=!1,this.sendEventToParent2=new Sc}return w(e,[{key:"updateMapAttribute",value:function(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}},{key:"_sendEventToParent2",value:function(){this.sendEventToParent2.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){var n;(1&e&&Fc(gN,5),2&e)&&(Bc(n=qc())&&(t.mapComponent=n.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&&($a(0,"div"),Xa(1,mN,1,2,"perun-web-apps-attribute-value-boolean",0),Xa(2,vN,1,2,"perun-web-apps-attribute-value-list",0),$a(3,"div",1),cs("click",function(){return t._sendEventToParent2()}),Xa(4,yN,2,2,"perun-web-apps-attribute-value-map",2),es(),Xa(5,_N,1,2,"perun-web-apps-attribute-value-string",0),Xa(6,bN,1,2,"perun-web-apps-attribute-value-integer",0),es()),2&e&&(yo(1),Qa("ngIf","java.lang.Boolean"===t.attribute.type),yo(1),Qa("ngIf","java.util.ArrayList"===t.attribute.type),yo(2),Qa("ngIf","java.util.LinkedHashMap"===t.attribute.type),yo(1),Qa("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),yo(1),Qa("ngIf","java.lang.Integer"===t.attribute.type))},directives:[Xh,KD,dN,zD,fN,pN],styles:[""]}),e}();function MN(e,t){1&e&&ts(0,"mat-spinner",3)}function AN(e,t){if(1&e){var n=os();$a(0,"mat-option",16),cs("click",function(){var e=Qt(n).$implicit;return ps(4).changeLanguage(e)}),qs(1),_c(2,"translate"),_c(3,"uppercase"),es()}if(2&e){var i=t.$implicit;Qa("value",i),yo(1),Ys(" ",bc(2,2,bc(3,4,"SHARED_LIB.LANGUAGES."+i))," ")}}function kN(e,t){if(1&e){var n=os();$a(0,"mat-form-field",13),$a(1,"mat-select",14),cs("valueChange",function(e){return Qt(n),ps(3).currentLang=e}),Xa(2,AN,4,6,"mat-option",15),es(),es()}if(2&e){var i=ps(3);yo(1),Qa("value",i.currentLang),yo(1),Qa("ngForOf",i.languages)}}function TN(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"a",17),qs(2),es(),$a(3,"button",18),cs("click",function(){return Qt(n),ps(3).changeEmail()}),qs(4),_c(5,"translate"),_c(6,"customTranslate"),es(),es()}if(2&e){var i=ps(3);yo(1),_s("href","mailto:",i.email,"",_r),yo(1),js(i.email),yo(2),js(bc(5,3,bc(6,5,"PROFILE_PAGE.CHANGE_EMAIL")))}}function SN(e,t){if(1&e){var n=os();$a(0,"mat-option",16),cs("click",function(){var e=Qt(n).$implicit;return ps(4).changeTimeZone(e)}),qs(1),es()}if(2&e){var i=t.$implicit;Qa("value",i),yo(1),Ys(" ",i," ")}}function CN(e,t){if(1&e){var n=os();$a(0,"mat-form-field",13),$a(1,"mat-select",19),cs("valueChange",function(e){return Qt(n),ps(3).currentTimezone=e}),Xa(2,SN,2,2,"mat-option",15),es(),es()}if(2&e){var i=ps(3);yo(1),Qa("value",i.currentTimezone),yo(1),Qa("ngForOf",i.timeZones)}}function EN(e,t){1&e&&($a(0,"p"),qs(1,"-"),es())}function LN(e,t){1&e&&ts(0,"perun-web-apps-attribute-value",22),2&e&&Qa("attribute",ps(2).$implicit.attribute)("readonly",!0)}function zN(e,t){if(1&e&&($a(0,"div"),Xa(1,EN,2,0,"p",20),Xa(2,LN,1,2,"perun-web-apps-attribute-value",21),es()),2&e){var n=ps().$implicit;yo(1),Qa("ngIf",!n.attribute.value),yo(1),Qa("ngIf",n.attribute.value)}}function RN(e,t){if(1&e&&($a(0,"tr"),$a(1,"td",7),$a(2,"div",8),qs(3),es(),es(),$a(4,"td",9),Xa(5,kN,3,2,"mat-form-field",10),Xa(6,TN,7,7,"div",11),Xa(7,CN,3,2,"mat-form-field",10),Xa(8,zN,3,2,"div",12),es(),es()),2&e){var n=t.$implicit,i=ps(2);yo(2),Qa("matTooltip",n["tooltip_"+i.currentLang]),yo(1),js(n["displayName_"+i.currentLang]),yo(1),Qa("ngSwitch",n.attribute.friendlyName),yo(1),Qa("ngSwitchCase","preferredLanguage"),yo(1),Qa("ngSwitchCase","preferredMail"),yo(1),Qa("ngSwitchCase","timezone")}}function ON(e,t){if(1&e&&($a(0,"table",4),$a(1,"tbody"),$a(2,"tr"),$a(3,"td",5),qs(4),_c(5,"translate"),_c(6,"customTranslate"),es(),$a(7,"td"),qs(8),es(),es(),Xa(9,RN,9,6,"tr",6),es(),es()),2&e){var n=ps();yo(4),js(bc(5,3,bc(6,5,"PROFILE_PAGE.NAME"))),yo(4),js(n.fullName),yo(1),Qa("ngForOf",n.additionalAttributes)}}var xN=function(){var e=function(){function e(t,n,i,r,o,a,s,u,c,l){var h=this;_(this,e),this.translateService=t,this.dialog=n,this.authzResolverService=i,this.attributesManagerService=r,this.usersManagerService=o,this.route=a,this.router=s,this.notificator=u,this.storeService=c,this.apiRequestConfiguration=l,this.currentLang="en",this.languages=this.storeService.get("supportedLanguages"),this.timeZones=AD.tz.names().filter(function(e){return!e.startsWith("Etc/")}),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",t.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(function(e){return h.successMessage=e})}return w(e,[{key:"ngOnInit",value:function(){var e=this,t=this.route.snapshot.queryParamMap,n=t.get("token"),i=t.get("u");this.loading=!0,n&&i?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(n,Number.parseInt(i,10)).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.router.navigate([],{replaceUrl:!0}),e.getData()},function(){var t=QE();t.width="600px",e.dialog.open(_R,t).afterClosed().subscribe(function(){e.getData()})})):this.getData()}},{key:"getData",value:function(){var e=this;this.authzResolverService.getPerunPrincipal().subscribe(function(t){e.userId=t.userId,e.usersManagerService.getRichUserWithAttributes(e.userId).subscribe(function(t){e.fullName=(new kL).transform(t);var n=t.userAttributes.find(function(e){return"preferredMail"===e.friendlyName});e.email=n.value,e.languageAttribute=t.userAttributes.find(function(e){return"preferredLanguage"===e.friendlyName}),e.currentLang=e.languageAttribute&&e.languageAttribute.value?e.languageAttribute.value:"en",e.timezoneAttribute=t.userAttributes.find(function(e){return"timezone"===e.friendlyName}),e.currentTimezone=e.timezoneAttribute&&e.timezoneAttribute.value?e.timezoneAttribute.value:"-";var i=e.storeService.get("profile_page_attributes"),r=e.storeService.get("supportedLanguages"),o=0;i.forEach(function(n){var a=t.userAttributes.find(function(e){return e.friendlyName===n.friendly_name});a?(o++,e.addAttribute(a,n,r)):e.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:".concat(n.is_virtual?"virt":"def",":").concat(n.friendly_name)).subscribe(function(t){e.addAttribute(t,n,r),o++,e.loading=o!==i.length}),e.loading=o!==i.length})})})}},{key:"addAttribute",value:function(e,t,n){var i,r,o={attribute:e},s=a(n);try{for(s.s();!(r=s.n()).done;){var u=r.value;o["displayName_".concat(u)]=t["display_name_".concat(u)]&&t["display_name_".concat(u)].length?t["display_name_".concat(u)]:e.displayName,o["tooltip_".concat(u)]=null!==(i=t["tooltip_".concat(u)])&&void 0!==i?i:""}}catch(c){s.e(c)}finally{s.f()}this.additionalAttributes.push(o)}},{key:"changeLanguage",value:function(e){var t=this;this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(function(e){t.languageAttribute=e,t.setLanguage()})}},{key:"setLanguage",value:function(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(function(){})}},{key:"changeTimeZone",value:function(e){var t=this;this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(function(e){t.timezoneAttribute=e,t.setTimeZone()})}},{key:"setTimeZone",value:function(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(function(){})}},{key:"changeEmail",value:function(){var e=this,t=QE();t.width="350px",t.data={userId:this.userId},this.dialog.open(yR,t).afterClosed().subscribe(function(t){t&&e.getEmail()})}},{key:"getEmail",value:function(){var e=this;this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(function(t){e.email=t.value})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(TE),Ja(YE),Ja(ep),Ja($f),Ja(ap),Ja(am),Ja(Cv),Ja(mL),Ja(lL),Ja(gL))},e.\u0275cmp=ct({type:e,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-stroked-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&&($a(0,"div",0),Xa(1,MN,1,0,"mat-spinner",1),Xa(2,ON,10,7,"table",2),es()),2&e&&(yo(1),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[Xh,NL,Kh,aC,Zh,$h,ed,tT,US,RM,HM,wN],pipes:[SE,TL,ud],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}"]}),e}(),DN=["mat-sort-header",""];function PN(e,t){if(1&e){var n=os();$a(0,"div",3),cs("@arrowPosition.start",function(){return Qt(n),ps()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Qt(n),ps()._disableViewStateAnimation=!1}),ts(1,"div",4),$a(2,"div",5),ts(3,"div",6),ts(4,"div",7),ts(5,"div",8),es(),es()}if(2&e){var i=ps();Qa("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),yo(2),Qa("@indicator",i._getArrowDirectionState()),yo(1),Qa("@leftPointer",i._getArrowDirectionState()),yo(1),Qa("@rightPointer",i._getArrowDirectionState())}}var NN,IN=["*"],BN=new hi("MAT_SORT_DEFAULT_OPTIONS"),FN=Qw(Kw(function e(){_(this,e)})),HN=((NN=function(e){d(n,e);var t=p(n);function n(e){var i;return _(this,n),(i=t.call(this))._defaultOptions=e,i.sortables=new Map,i._stateChanges=new Y,i.start="asc",i._direction="",i.sortChange=new Sc,i}return w(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=uy(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(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})}},{key:"getNextSortDirection",value:function(e){var t,n,i;if(!e)return"";var r=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),o=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,r),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(FN)).\u0275fac=function(e){return new(e||NN)(Ja(BN,8))},NN.\u0275dir=gt({type:NN,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Oa,Et]}),NN),qN=jw.ENTERING+" "+qw.STANDARD_CURVE,jN={indicator:c_("indicator",[p_("active-asc, asc",f_({transform:"translateY(0px)"})),p_("active-desc, desc",f_({transform:"translateY(10px)"})),m_("active-asc <=> active-desc",l_(qN))]),leftPointer:c_("leftPointer",[p_("active-asc, asc",f_({transform:"rotate(-45deg)"})),p_("active-desc, desc",f_({transform:"rotate(45deg)"})),m_("active-asc <=> active-desc",l_(qN))]),rightPointer:c_("rightPointer",[p_("active-asc, asc",f_({transform:"rotate(45deg)"})),p_("active-desc, desc",f_({transform:"rotate(-45deg)"})),m_("active-asc <=> active-desc",l_(qN))]),arrowOpacity:c_("arrowOpacity",[p_("desc-to-active, asc-to-active, active",f_({opacity:1})),p_("desc-to-hint, asc-to-hint, hint",f_({opacity:.54})),p_("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",f_({opacity:0})),m_("* => asc, * => desc, * => active, * => hint, * => void",l_("0ms")),m_("* <=> *",l_(qN))]),arrowPosition:c_("arrowPosition",[m_("* => desc-to-hint, * => desc-to-active",l_(qN,g_([f_({transform:"translateY(-25%)"}),f_({transform:"translateY(0)"})]))),m_("* => hint-to-desc, * => active-to-desc",l_(qN,g_([f_({transform:"translateY(0)"}),f_({transform:"translateY(25%)"})]))),m_("* => asc-to-hint, * => asc-to-active",l_(qN,g_([f_({transform:"translateY(25%)"}),f_({transform:"translateY(0)"})]))),m_("* => hint-to-asc, * => active-to-asc",l_(qN,g_([f_({transform:"translateY(0)"}),f_({transform:"translateY(-25%)"})]))),p_("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",f_({transform:"translateY(0)"})),p_("hint-to-desc, active-to-desc, desc",f_({transform:"translateY(-25%)"})),p_("hint-to-asc, active-to-asc, asc",f_({transform:"translateY(25%)"}))]),allowChildren:c_("allowChildren",[m_("* <=> *",[y_("@*",v_(),{optional:!0})])])},YN=function(){var e=function e(){_(this,e),this.changes=new Y};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Oe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),WN={provide:YN,deps:[[new Pi,new Ni,YN]],useFactory:function(e){return e||new YN}},UN=Kw(function e(){_(this,e)}),KN=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s){var u;return _(this,n),(u=t.call(this))._intl=e,u._changeDetectorRef=i,u._sort=r,u._columnDef=o,u._focusMonitor=a,u._elementRef=s,u._showIndicatorHint=!1,u._viewState={},u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",u._handleStateChanges(),u}return w(n,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=uy(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var n=!!t;n!==e._showIndicatorHint&&(e._setIndicatorHintVisible(n),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(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})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?"".concat(e,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=le(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),n}(UN);return e.\u0275fac=function(t){return new(t||e)(Ja(YN),Ja(ju),Ja(HN,8),Ja("MAT_SORT_HEADER_COLUMN_DEF",8),Ja(e_),Ja(mu))},e.\u0275cmp=ct({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&cs("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(Ua("aria-sort",t._getAriaSortAttribute()),Es("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[Oa],attrs:DN,ngContentSelectors:IN,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(ms(),$a(0,"div",0),$a(1,"div",1),vs(2),es(),Xa(3,PN,6,6,"div",2),es()),2&e&&(Es("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Ua("tabindex",t._isDisabled()?null:0),yo(3),Qa("ngIf",t._renderArrow()))},directives:[Xh],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:[jN.indicator,jN.leftPointer,jN.rightPointer,jN.arrowOpacity,jN.arrowPosition,jN.allowChildren]},changeDetection:0}),e}(),VN=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[WN],imports:[[ld,Uw]]}),e}(),XN=function(){var e=function(){function e(t){_(this,e),this.elementRef=t}return w(e,[{key:"ngOnInit",value:function(){this.elementRef.nativeElement.focus()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu))},e.\u0275dir=gt({type:e,selectors:[["","perunWebAppsAutoFocus",""]]}),e}(),GN=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"onClick",value:function(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){var t=this.perunWebAppsMiddleClickRouterLink.join("/"),n=location.search;window.open(t+n)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&cs("mouseup",function(e){return t.onClick(e)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),e}(),JN=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e){var t=e.find(function(e){return"mail"===e.friendlyName});return t?t.value.toString():"N/A"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"getMailFromAttributes",type:e,pure:!0}),e}();function QN(e,t){1&e&&ts(0,"th",17)}function ZN(e,t){if(1&e){var n=os();$a(0,"td",18),$a(1,"mat-checkbox",19),cs("change",function(e){var t=Qt(n).$implicit,i=ps();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),es(),es()}if(2&e){var i=t.$implicit,r=ps();yo(1),Qa("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function $N(e,t){1&e&&($a(0,"th",20),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))))}function eI(e,t){if(1&e&&($a(0,"td",21),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.userExtSource.id)}}function tI(e,t){1&e&&($a(0,"th",17),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))))}function nI(e,t){if(1&e&&($a(0,"td",21),qs(1),_c(2,"getMailFromAttributes"),es()),2&e){var n=t.$implicit;yo(1),js(bc(2,1,n.attributes))}}function iI(e,t){if(1&e&&($a(0,"th",20),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e){var n=ps();yo(1),js(bc(2,1,bc(3,3,n.extSourceNameHeader?n.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME")))}}function rI(e,t){if(1&e&&($a(0,"td",21),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.userExtSource.extSource.name)}}function oI(e,t){if(1&e&&($a(0,"th",20),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e){var n=ps();yo(1),js(bc(2,1,bc(3,3,n.loginHeader?n.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN")))}}function aI(e,t){if(1&e&&($a(0,"td",21),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.userExtSource.login)}}function sI(e,t){1&e&&($a(0,"th",20),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))))}function uI(e,t){if(1&e&&($a(0,"td",22),qs(1),_c(2,"date"),es()),2&e){var n=t.$implicit;yo(1),js(wc(2,1,n.userExtSource.lastAccess,"d.M.y H:mm:ss"))}}function cI(e,t){1&e&&ts(0,"tr",23)}var lI=function(e,t){return["/admin","users",e,"identities",t]};function hI(e,t){if(1&e&&ts(0,"tr",24),2&e){var n=t.$implicit,i=ps();Es("cursor-pointer",!i.disableRouting)("disable-outline",i.disableRouting),Qa("perunWebAppsMiddleClickRouterLink",i.disableRouting?null:gc(6,lI,i.userId,n.userExtSource.id))("routerLink",i.disableRouting?null:gc(9,lI,i.userId,n.userExtSource.id))}}function dI(e,t){1&e&&($a(0,"app-alert",25),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,bc(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}var fI=function(){var e=function(){function e(t,n){_(this,e),this.route=t,this.authResolver=n,this.selection=new kA,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSize=5,this.page=new Sc,this.pageSizeOptions=JE}return w(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){var e=this;this.disableRouting||this.route.parent.params.subscribe(function(t){e.userId=t.userId}),this.setDataSource()}},{key:"ngOnChanges",value:function(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.dataSource=new Gz(this.userExtSources),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":var n=e.attributes.find(function(e){return"mail"===e.friendlyName});return n?n.value.toString():"N/A";case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return""}}},{key:"exportData",value:function(e){iL(nL(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,n){return tL(t,n,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,n){return eL(t,n,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e.userExtSource)?"deselect":"select"," row ").concat(e.userExtSource.id+1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(am),Ja(lp))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){var n;(1&e&&(Fc(uL,7),Fc(HN,7)),2&e)&&(Bc(n=qc())&&(t.child=n.first),Bc(n=qc())&&(t.matSort=n.first))},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",pageSize:"pageSize",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},outputs:{page:"page"},features:[Et],decls:24,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&($a(0,"div",0),$a(1,"perun-web-apps-table-wrapper",1),cs("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),$a(2,"table",2),ns(3,3),Xa(4,QN,1,0,"th",4),Xa(5,ZN,2,2,"td",5),is(),ns(6,6),Xa(7,$N,4,5,"th",7),Xa(8,eI,2,1,"td",8),is(),ns(9,9),Xa(10,tI,4,5,"th",4),Xa(11,nI,3,3,"td",8),is(),ns(12,10),Xa(13,iI,4,5,"th",7),Xa(14,rI,2,1,"td",8),is(),ns(15,11),Xa(16,oI,4,5,"th",7),Xa(17,aI,2,1,"td",8),is(),ns(18,12),Xa(19,sI,4,5,"th",7),Xa(20,uI,3,4,"td",13),is(),Xa(21,cI,1,0,"tr",14),Xa(22,hI,1,12,"tr",15),es(),es(),es(),Xa(23,dI,4,5,"app-alert",16)),2&e&&(Qa("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),yo(1),Qa("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),yo(1),Qa("dataSource",t.dataSource),yo(19),Qa("matHeaderRowDef",t.displayedColumns),yo(1),Qa("matRowDefColumns",t.displayedColumns),yo(1),Qa("ngIf",0===t.userExtSources.length))},directives:[uL,Bz,HN,qz,Hz,Fz,Wz,Uz,Xh,jz,Yz,qD,KN,Kz,Vz,GN,Ev,pR],pipes:[SE,TL,JN,cd],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),e}();function pI(e,t){1&e&&ts(0,"mat-spinner",3)}function gI(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"h1",8),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),$a(5,"button",5),cs("click",function(){return Qt(n),ps(2).addIdentity()}),qs(6),_c(7,"translate"),_c(8,"customTranslate"),es(),$a(9,"button",6),cs("click",function(){Qt(n);var e=ps(2);return e.removeIdentity(e.certSelection)}),qs(10),_c(11,"translate"),_c(12,"customTranslate"),es(),ts(13,"perun-web-apps-user-ext-sources-list",11),es()}if(2&e){var i=ps(2);yo(2),js(bc(3,10,bc(4,12,"IDENTITIES.CERT"))),yo(4),js(bc(7,14,bc(8,16,"IDENTITIES.ADD"))),yo(3),Qa("disabled",0===i.certSelection.selected.length),yo(1),js(bc(11,18,bc(12,20,"IDENTITIES.REMOVE"))),yo(3),Qa("userExtSources",i.certExtSources)("selection",i.certSelection)("extSourceNameHeader",i.extSourceNameCert)("loginHeader",i.loginCert)("displayedColumns",i.displayedColumnsCert)("disableRouting",!0)}}function mI(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"h1",4),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),$a(5,"button",5),cs("click",function(){return Qt(n),ps().addIdentity()}),qs(6),_c(7,"translate"),_c(8,"customTranslate"),es(),$a(9,"button",6),cs("click",function(){Qt(n);var e=ps();return e.removeIdentity(e.idpSelection)}),qs(10),_c(11,"translate"),_c(12,"customTranslate"),es(),ts(13,"perun-web-apps-user-ext-sources-list",7),Xa(14,gI,14,22,"div",2),$a(15,"h1",8),qs(16),_c(17,"translate"),_c(18,"customTranslate"),$a(19,"mat-icon",9),_c(20,"translate"),_c(21,"customTranslate"),qs(22," info_outline "),es(),es(),$a(23,"button",6),cs("click",function(){Qt(n);var e=ps();return e.removeIdentity(e.otherSelection)}),qs(24),_c(25,"translate"),_c(26,"customTranslate"),es(),ts(27,"perun-web-apps-user-ext-sources-list",10),es()}if(2&e){var i=ps();yo(2),js(bc(3,19,bc(4,21,"IDENTITIES.IDP"))),yo(4),js(bc(7,23,bc(8,25,"IDENTITIES.ADD"))),yo(3),Qa("disabled",0===i.idpSelection.selected.length),yo(1),js(bc(11,27,bc(12,29,"IDENTITIES.REMOVE"))),yo(3),Qa("userExtSources",i.idpExtSources)("selection",i.idpSelection)("displayedColumns",i.displayedColumnsIdp)("loginHeader",i.loginIdp)("disableRouting",!0),yo(1),Qa("ngIf",i.displayCertificates),yo(2),Ys(" ",bc(17,31,bc(18,33,"IDENTITIES.OTHER"))," "),yo(3),Qa("matTooltip",bc(20,35,bc(21,37,"IDENTITIES.OTHER_TOOLTIP"))),yo(4),Qa("disabled",0===i.otherSelection.selected.length),yo(1),js(bc(25,39,bc(26,41,"IDENTITIES.REMOVE"))),yo(3),Qa("userExtSources",i.otherExtSources)("selection",i.otherSelection)("extSourceNameHeader",i.extSourceNameOther)("displayedColumns",i.displayedColumnsOther)("disableRouting",!0)}}var vI=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this.usersManagerService=t,this.storage=n,this.registrarManagerService=i,this.dialog=r,this.attributesManagerService=o,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new kA(!0,[]),this.certSelection=new kA(!0,[]),this.otherSelection=new kA(!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=["select","extSourceName","login","lastAccess"]}return w(e,[{key:"ngOnInit",value:function(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}},{key:"refreshTables",value:function(){var e=this;this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(function(t){var n=t.length;t.forEach(function(t){e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(function(i){i&&i.value?(t.userExtSource.extSource.name=i.value,n--,e.loading=0!==n,e.addToList(t)):e.attributesManagerService.getUserExtSourceAttributeByName(t.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(function(i){n--,i&&i.value&&(t.userExtSource.extSource.name=i.value),e.loading=0!==n,e.addToList(t)})})})})}},{key:"addIdentity",value:function(){var e=this;this.registrarManagerService.getConsolidatorToken().subscribe(function(t){var n=e.storage.getPerunPrincipal().extSourceType,i=e.storage.get("consolidator_base_url");window.location.href="".concat(i).concat(n&&n.endsWith("X509")?"cert":"fed","-ic/ic/?target_url=").concat(window.location.href,"&token=").concat(t)})}},{key:"removeIdentity",value:function(e){var t=this,n=QE();n.width="600px",n.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(iR,n).afterClosed().subscribe(function(n){n&&(e.clear(),t.refreshTables())})}},{key:"addToList",value:function(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)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ap),Ja(lL),Ja(rp),Ja(YE),Ja($f))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",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&&($a(0,"div",0),Xa(1,pI,1,0,"mat-spinner",1),Xa(2,mI,28,43,"div",2),es()),2&e&&(yo(1),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[Xh,NL,HM,fI,oE,aC],pipes:[SE,TL],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),e}(),yI=["panel"];function _I(e,t){if(1&e&&($a(0,"div",0,1),vs(2),es()),2&e){var n=t.id,i=ps();Qa("id",i.id)("ngClass",i._classList),Ua("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}var bI=["*"],wI=0,MI=function e(t,n){_(this,e),this.source=t,this.option=n},AI=Xw(function e(){_(this,e)}),kI=new hi("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),TI=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this))._changeDetectorRef=e,a._elementRef=i,a._activeOptionChanges=L.EMPTY,a.showPanel=!1,a._isOpen=!1,a.displayWith=null,a.optionSelected=new Sc,a.opened=new Sc,a.closed=new Sc,a.optionActivated=new Sc,a._classList={},a.id="mat-autocomplete-"+wI++,a.inertGroups=(null==o?void 0:o.SAFARI)||!1,a._autoActiveFirstOption=!!r.autoActiveFirstOption,a}return w(n,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=uy(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=e){var i,r=Array.isArray(e)?e:"".concat(e).split(t),o=a(r);try{for(o.s();!(i=o.n()).done;){var s=i.value,u="".concat(s).trim();u&&n.push(u)}}catch(c){o.e(c)}finally{o.f()}}return n}(e).reduce(function(e,t){return e[t]=!0,e},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new Hy(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(t){e.optionActivated.emit({source:e,option:e.options.toArray()[t]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(e){var t=new MI(this,e);this.optionSelected.emit(t)}},{key:"_getPanelAriaLabelledby",value:function(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_setVisibilityClasses",value:function(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}]),n}(AI);return e.\u0275fac=function(t){return new(t||e)(Ja(ju),Ja(mu),Ja(kI),Ja(_y))},e.\u0275dir=gt({type:e,viewQuery:function(e,t){var n;(1&e&&(Fc(Vu,7),Fc(yI,5)),2&e)&&(Bc(n=qc())&&(t.template=n.first),Bc(n=qc())&&(t.panel=n.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Oa]}),e}(),SI=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._visibleClass="mat-autocomplete-visible",e._hiddenClass="mat-autocomplete-hidden",e}return n}(TI);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275cmp=ct({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){var i;(1&e&&(Hc(n,CM,5),Hc(n,RM,5)),2&e)&&(Bc(i=qc())&&(t.optionGroups=i),Bc(i=qc())&&(t.options=i))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[cu([{provide:AM,useExisting:t}]),Oa],ngContentSelectors:bI,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(ms(),Xa(0,_I,3,4,"ng-template"))},directives:[Wh],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}),t}(),CI=new hi("mat-autocomplete-scroll-strategy"),EI={provide:CI,deps:[pk],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},LI={provide:sT,useExisting:Te(function(){return RI}),multi:!0},zI=function(){var e=function(){function e(t,n,i,o,a,s,u,c,l,h,d){var f=this;_(this,e),this._element=t,this._overlay=n,this._viewContainerRef=i,this._zone=o,this._changeDetectorRef=a,this._dir=u,this._formField=c,this._document=l,this._viewportRuler=h,this._defaults=d,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=L.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Y,this._windowBlurHandler=function(){f._canOpenOnNextFocus=f._document.activeElement!==f._element.nativeElement||f.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=wp(function(){return f.autocomplete&&f.autocomplete.options?le.apply(void 0,r(f.autocomplete.options.map(function(e){return e.onSelectionChange}))):f._zone.onStable.pipe(Sp(1),Mp(function(){return f.optionSelections}))}),this._scrollStrategy=s}return w(e,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=uy(e)}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(function(){return t.addEventListener("blur",e._windowBlurHandler)})}},{key:"ngOnChanges",value:function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var e=this;return le(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ef(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ef(function(){return e._overlayAttached})):Zd()).pipe(ee(function(e){return e instanceof LM?e:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var e=this;return le(jM(this._document,"click"),jM(this._document,"auxclick"),jM(this._document,"touchend")).pipe(ef(function(t){var n=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=e._formField?e._formField._elementRef.nativeElement:null,r=e.connectedTo?e.connectedTo.elementRef.nativeElement:null;return e._overlayAttached&&n!==e._element.nativeElement&&(!i||!i.contains(n))&&(!r||!r.contains(n))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(n)}))}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._element.nativeElement.disabled=e}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;if(27!==t||Zv(e)||e.preventDefault(),this.activeOption&&13===t&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,i=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var e=this;return le(this._zone.onStable.pipe(Sp(1)),this.autocomplete.options.changes.pipe(Xp(function(){return e._positionStrategy.reapplyLastPosition()}),AC(0))).pipe(Mp(function(){var t=e.panelOpen;return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&(e._overlayRef.updatePosition(),t!==e.panelOpen&&e.autocomplete.opened.emit()),e.panelClosingActions}),Sp(1)).subscribe(function(t){return e._setValueAndClose(t)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(e){this.autocomplete.options.forEach(function(t){t!==e&&t.selected&&t.deselect()})}},{key:"_attachOverlay",value:function(){var e,t=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Sy(this._element.nativeElement));var n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new DA(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,n.keydownEvents().subscribe(function(e){(27===e.keyCode&&!Zv(e)||38===e.keyCode&&Zv(e,"altKey"))&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&n&&n.updateSize({width:t._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var e;return new JA({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}},{key:"_setStrategyPositions",value:function(e){var t,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];t="above"===this.position?r:"below"===this.position?n:[].concat(n,r),e.withPositions(t)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"_scrollToOption",value:function(e){var t=this.autocomplete,n=OM(e,t.options,t.optionGroups);if(0===e&&1===n)t._setScrollTop(0);else if(t.panel){var i=t.options.toArray()[e];if(i){var r=i._getHostElement(),o=xM(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(o)}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(pk),Ja($u),Ja(dl),Ja(ju),Ja(CI),Ja(o_,8),Ja(eT,9),Ja(Ul,8),Ja(LA),Ja(kI,8))},e.\u0275dir=gt({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[Et]}),e}(),RI=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",e}return n}(zI);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&cs("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&Ua("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[cu([LI]),Oa]}),t}(),OI=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({providers:[EI],imports:[[bk,PM,Uw,ld],zA,PM,Uw]}),e}(),xI=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e){return e&&e.value?e.value:"never"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"validateExpiration",type:e,pure:!0}),e}();function DI(e,t){1&e&&ts(0,"th",15)}function PI(e,t){if(1&e){var n=os();$a(0,"td",16),$a(1,"mat-checkbox",17),cs("change",function(e){var t=Qt(n).$implicit,i=ps();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),_c(2,"validateExpiration"),es(),es()}if(2&e){var i=t.$implicit,r=ps();yo(1),Qa("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))("disabled","never"===bc(2,3,i.expirationAttribute))}}function NI(e,t){1&e&&($a(0,"th",15),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"MEMBERSHIP_LIST.NAME"))))}function II(e,t){if(1&e&&($a(0,"td",16),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.entity.name)}}function BI(e,t){1&e&&($a(0,"th",15),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))))}function FI(e,t){if(1&e&&($a(0,"td",18),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.entity.description)}}function HI(e,t){1&e&&($a(0,"th",19),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"MEMBERSHIP_LIST.EXPIRATION"))))}function qI(e,t){if(1&e&&($a(0,"td",18),qs(1),_c(2,"validateExpiration"),es()),2&e){var n=t.$implicit;yo(1),Ys(" ",bc(2,1,n.expirationAttribute)," ")}}function jI(e,t){1&e&&ts(0,"th",15)}function YI(e,t){if(1&e){var n=os();$a(0,"td",18),$a(1,"button",20),cs("click",function(){var e=Qt(n).$implicit;return ps().extend(e)}),_c(2,"validateExpiration"),qs(3),_c(4,"translate"),_c(5,"customTranslate"),es(),es()}if(2&e){var i=t.$implicit;yo(1),Qa("disabled","never"===bc(2,2,i.expirationAttribute)),yo(2),js(bc(4,4,bc(5,6,"MEMBERSHIP_LIST.EXTEND")))}}function WI(e,t){1&e&&ts(0,"tr",21)}function UI(e,t){1&e&&ts(0,"tr",22)}function KI(e,t){1&e&&($a(0,"app-alert",23),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}var VI=function(){var e=function(){function e(){_(this,e),this.members=[],this.searchString="",this.selection=new kA(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.pageSize=10,this.filterValue="",this.extendMembership=new Sc,this.pageSizeOptions=JE}return w(e,[{key:"matSort",set:function(e){this.sort=e,this.setDataSource()}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.child.paginator}},{key:"ngOnChanges",value:function(){this.dataSource=new Gz(this.members),this.setDataSource()}},{key:"getDataForColumn",value:function(e,t){switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}},{key:"exportData",value:function(e){iL(nL(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource&&(this.dataSource.filterPredicate=function(t,n){return tL(t,n,e.displayedColumns,e.getDataForColumn,e)},this.dataSource.sortData=function(t,n){return eL(t,n,e.getDataForColumn,e)},this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}},{key:"checkboxLabel",value:function(e){return"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.entity.id+1)}},{key:"extend",value:function(e){this.extendMembership.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){var n;(1&e&&(Fc(HN,7),Fc(uL,7)),2&e)&&(Bc(n=qc())&&(t.matSort=n.first),Bc(n=qc())&&(t.child=n.first))},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",pageSize:"pageSize",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[Et],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["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",""],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","disabled","change","click"],["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&&($a(0,"div",0),$a(1,"perun-web-apps-table-wrapper",1),cs("exportData",function(e){return t.exportData(e)}),$a(2,"table",2),ns(3,3),Xa(4,DI,1,0,"th",4),Xa(5,PI,3,5,"td",5),is(),ns(6,6),Xa(7,NI,4,5,"th",4),Xa(8,II,2,1,"td",5),is(),ns(9,7),Xa(10,BI,4,5,"th",4),Xa(11,FI,2,1,"td",8),is(),ns(12,9),Xa(13,HI,4,5,"th",10),Xa(14,qI,3,3,"td",8),is(),ns(15,11),Xa(16,jI,1,0,"th",4),Xa(17,YI,6,8,"td",8),is(),Xa(18,WI,1,0,"tr",12),Xa(19,UI,1,0,"tr",13),es(),es(),es(),Xa(20,KI,4,5,"app-alert",14)),2&e&&(Qa("hidden",!t.dataSource.filteredData.length),yo(1),Qa("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),yo(1),Qa("dataSource",t.dataSource),yo(16),Qa("matHeaderRowDef",t.displayedColumns),yo(1),Qa("matRowDefColumns",t.displayedColumns),yo(1),Qa("ngIf",!t.dataSource.filteredData.length))},directives:[uL,Bz,HN,qz,Hz,Fz,Wz,Uz,Xh,jz,Yz,qD,KN,HM,Kz,Vz,pR],pipes:[xI,SE,TL],styles:[""]}),e}();function XI(e,t){if(1&e&&($a(0,"mat-option",13),qs(1),es()),2&e){var n=t.$implicit;Qa("value",n),yo(1),Ys(" ",n.name," ")}}function GI(e,t){if(1&e){var n=os();$a(0,"mat-form-field",7),$a(1,"mat-label"),qs(2),_c(3,"translate"),es(),ts(4,"input",8),_c(5,"translate"),_c(6,"customTranslate"),$a(7,"mat-autocomplete",9,10),cs("optionSelected",function(e){return Qt(n),ps().filterByVo(e)}),$a(9,"mat-option",11),qs(10),_c(11,"translate"),_c(12,"customTranslate"),es(),Xa(13,XI,2,2,"mat-option",12),_c(14,"async"),es(),es()}if(2&e){var i=Ga(8),r=ps();yo(2),js(bc(3,7,"GROUPS.SELECT_VO")),yo(2),ys("placeholder",bc(5,9,bc(6,11,"GROUPS.SELECT_VO"))),Qa("formControl",r.myControl)("matAutocomplete",i),yo(3),Qa("displayWith",r.displayFn),yo(3),js(bc(11,13,bc(12,15,"GROUPS.ALL"))),yo(3),Qa("ngForOf",bc(14,17,r.filteredVos))}}function JI(e,t){1&e&&ts(0,"mat-spinner",14)}function QI(e,t){1&e&&($a(0,"app-alert",15),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"GROUPS.NO_GROUPS"))))}var ZI=function(){return["name","description","expirationAttribute","extend"]};function $I(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"h4",16),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),$a(5,"perun-web-apps-membership-list",17),cs("extendMembership",function(e){return Qt(n),ps().extendMembership(e)}),es(),es()}if(2&e){var i=ps();yo(2),js(bc(3,4,bc(4,6,"GROUPS.MEMBER_GROUPS"))),yo(3),Qa("members",i.userMemberships)("selection",i.selection)("displayedColumns",fc(8,ZI))}}var eB=function(){return["name","description"]};function tB(e,t){if(1&e&&($a(0,"div",18),$a(1,"h4",16),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),ts(5,"perun-web-apps-membership-list",19),es()),2&e){var n=ps();yo(2),js(bc(3,3,bc(4,5,"GROUPS.ADMINS_GROUPS"))),yo(3),Qa("members",n.adminMemberships)("displayedColumns",fc(7,eB))}}var nB=function(){var e=function(){function e(t,n,i,r,o,a){_(this,e),this.usersService=t,this.memberService=n,this.groupService=i,this.store=r,this.vosManagerService=o,this.attributesManagerService=a,this.loading=!1,this.vos=[],this.myControl=new nS,this.selection=new kA(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.vos=t,e.filteredVos=e.myControl.valueChanges.pipe(Lp(""),ee(function(t){return e._filter(t)})),e.getAllGroups()})}},{key:"_filter",value:function(e){var t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(function(e){return e.name.toLowerCase().includes(t)})}},{key:"getAllGroups",value:function(){var e=this;this.loading=!0;var t=0,n=0;this.userMemberships=[],this.adminMemberships=[];var i=this.store.getPerunPrincipal().roles.SELF.Member;i.length?n=i.length:this.loading=!1,i.forEach(function(i){n--,e.groupService.getMemberGroups(i).subscribe(function(r){t+=r.length,e.loading=0===t&&0!==n,r.forEach(function(n){e.attributesManagerService.getMemberGroupAttributes(i,n.id).subscribe(function(i){t--,e.userMemberships.push({entity:n,expirationAttribute:i.find(function(e){return"groupMembershipExpiration"===e.friendlyName})}),e.loading=0!==t})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(function(t){t.forEach(function(t){e.adminMemberships.push({entity:t,expirationAttribute:null})})})}},{key:"displayFn",value:function(e){return e?e.name:null}},{key:"filterByVo",value:function(e){var t=this;if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;var n=e.option.value;this.memberService.getMemberByUser(n.id,this.userId).subscribe(function(e){t.groupService.getMemberGroups(e.id).subscribe(function(n){var i=n.length;t.loading=0!==i,n.forEach(function(n){t.attributesManagerService.getMemberGroupAttributes(e.id,n.id).subscribe(function(e){i--,t.userMemberships.push({entity:n,expirationAttribute:e.find(function(e){return"groupMembershipExpiration"===e.friendlyName})}),t.loading=0!==i})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,n.id).subscribe(function(e){e.forEach(function(e){t.adminMemberships.push({entity:e,expirationAttribute:null})})})}}},{key:"extendMembership",value:function(e){var t=this.store.get("registrar_base_url"),n=e.entity,i=this.vos.find(function(e){return e.id===n.voId}).shortName;window.location.href="".concat(t,"?vo=").concat(i,"&group=").concat(e.entity.shortName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ap),Ja(np),Ja(tp),Ja(lL),Ja(up),Ja($f))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),Xa(5,GI,15,19,"mat-form-field",2),Xa(6,JI,1,0,"mat-spinner",3),Xa(7,QI,4,5,"app-alert",4),Xa(8,$I,6,9,"div",5),Xa(9,tB,6,8,"div",6),es()),2&e&&(yo(1),js(bc(2,6,bc(3,8,"GROUPS.TITLE"))),yo(4),Qa("ngIf",!t.loading),yo(1),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),yo(1),Qa("ngIf",!t.loading&&0!==t.userMemberships.length),yo(1),Qa("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[Xh,tT,Vk,KL,lT,RI,PT,vS,SI,RM,Kh,NL,pR,VI],pipes:[SE,TL,sd],styles:[""]}),e}();function iB(e,t){if(1&e&&(ts(0,"input",3),_c(1,"translate")),2&e){var n=ps();ys("placeholder",bc(1,2,n.placeholder)),Qa("formControl",n.formControl)}}function rB(e,t){if(1&e&&(ts(0,"input",4),_c(1,"translate")),2&e){var n=ps();ys("placeholder",bc(1,2,n.placeholder)),Qa("formControl",n.formControl)}}var oB=function(){var e=function(){function e(){_(this,e),this.filter=new Sc,this.autoFocus=!1,this.formControl=new nS}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.formControl.valueChanges.subscribe(function(t){var n=t.trim();n=n.toLowerCase(),e.filter.emit(n)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","ml-2"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&($a(0,"mat-form-field",0),Xa(1,iB,2,4,"input",1),Xa(2,rB,2,4,"input",2),es()),2&e&&(yo(1),Qa("ngIf",t.autoFocus),yo(1),Qa("ngIf",!t.autoFocus))},directives:[tT,Xh,KL,lT,XN,PT,vS],pipes:[SE],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:auto!important}"]}),e}(),aB=0,sB=new hi("CdkAccordion"),uB=function(){var e=function(){function e(){_(this,e),this._stateChanges=new Y,this._openCloseAllActions=new Y,this.id="cdk-accordion-"+aB++,this._multi=!1}return w(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=uy(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[cu([{provide:sB,useExisting:e}]),Et]}),e}(),cB=0,lB=function(){var e=function(){function e(t,n,i){var r=this;_(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=L.EMPTY,this.closed=new Sc,this.opened=new Sc,this.destroyed=new Sc,this.expandedChange=new Sc,this.id="cdk-accordion-child-"+cB++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return w(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=uy(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())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=uy(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(sB,12),Ja(ju),Ja(TA))},e.\u0275dir=gt({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[cu([{provide:sB,useValue:void 0}])]}),e}(),hB=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),dB=["body"];function fB(e,t){}var pB=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],gB=["mat-expansion-panel-header","*","mat-action-row"];function mB(e,t){1&e&&ts(0,"span",2),2&e&&Qa("@indicatorRotate",ps()._getExpandedState())}var vB=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yB=["mat-panel-title","mat-panel-description","*"],_B=new hi("MAT_ACCORDION"),bB={indicatorRotate:c_("indicatorRotate",[p_("collapsed, void",f_({transform:"rotate(0deg)"})),p_("expanded",f_({transform:"rotate(180deg)"})),m_("expanded <=> collapsed, void => collapsed",l_("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:c_("bodyExpansion",[p_("collapsed, void",f_({height:"0px",visibility:"hidden"})),p_("expanded",f_({height:"*",visibility:"visible"})),m_("expanded <=> collapsed, void => collapsed",l_("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},wB=function(){var e=function e(t){_(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(Ja(Vu))},e.\u0275dir=gt({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),MB=0,AB=new hi("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),kB=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o,a,s,u){var c;return _(this,n),(c=t.call(this,e,i,r))._viewContainerRef=o,c._animationMode=s,c._hideToggle=!1,c.afterExpand=new Sc,c.afterCollapse=new Sc,c._inputChanges=new Y,c._headerId="mat-expansion-panel-header-"+MB++,c._bodyAnimationDone=new Y,c.accordion=e,c._document=a,c._bodyAnimationDone.pipe(tA(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?c.afterExpand.emit():"collapsed"===e.toState&&c.afterCollapse.emit())}),u&&(c.hideToggle=u.hideToggle),c}return w(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=uy(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Lp(null),ef(function(){return e.expanded&&!e._portal}),Sp(1)).subscribe(function(){e._portal=new DA(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){h(y(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(lB);return e.\u0275fac=function(t){return new(t||e)(Ja(_B,12),Ja(ju),Ja(TA),Ja($u),Ja(Ul),Ja(xw,8),Ja(AB,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;(1&e&&Hc(n,wB,5),2&e)&&(Bc(i=qc())&&(t._lazyContent=i.first))},viewQuery:function(e,t){var n;(1&e&&Fc(dB,5),2&e)&&(Bc(n=qc())&&(t._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&Es("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:[cu([{provide:_B,useValue:void 0}]),Oa,Et],ngContentSelectors:gB,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&&(ms(pB),vs(0),$a(1,"div",0,1),cs("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),$a(3,"div",2),vs(4,1),Xa(5,fB,0,0,"ng-template",3),es(),vs(6,2),es()),2&e&&(yo(1),Qa("@bodyExpansion",t._getExpandedState())("id",t.id),Ua("aria-labelledby",t._headerId),yo(4),Qa("cdkPortalOutlet",t._portal))},directives:[BA],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[bB.bodyExpansion]},changeDetection:0}),e}(),TB=function(){var e=function(){function e(t,n,i,r,o,a){var s=this;_(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._animationMode=a,this._parentChangeSubscription=L.EMPTY;var u=t.accordion?t.accordion._stateChanges.pipe(ef(function(e){return!(!e.hideToggle&&!e.togglePosition)})):_p;this._parentChangeSubscription=le(t.opened,t.closed,u,t._inputChanges.pipe(ef(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return s._changeDetectorRef.markForCheck()}),t.closed.pipe(ef(function(){return t._containsFocus()})).subscribe(function(){return i.focusVia(n,"program")}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return w(e,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:Zv(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(kB,1),Ja(mu),Ja(e_),Ja(ju),Ja(AB,8),Ja(xw,8))},e.\u0275cmp=ct({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&cs("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(Ua("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),Cs("height",t._getHeaderHeight()),Es("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:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:yB,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(ms(vB),$a(0,"span",0),vs(1),vs(2,1),vs(3,2),es(),Xa(4,mB,1,1,"span",1)),2&e&&(yo(4),Qa("ngIf",t._showToggle()))},directives:[Xh],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}[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:""}\n'],encapsulation:2,data:{animation:[bB.indicatorRotate]},changeDetection:0}),e}(),SB=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=gt({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),CB=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments))._ownHeaders=new Ec,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return w(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=uy(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Lp(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new qy(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){h(y(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(uB);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;(1&e&&Hc(n,TB,5),2&e)&&(Bc(i=qc())&&(t._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&Es("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[cu([{provide:_B,useExisting:t}]),Oa]}),t}(),EB=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[ld,Uw,hB,FA]]}),e}();function LB(e,t){1&e&&($a(0,"mat-icon",1),_c(1,"translate"),qs(2," visibility\n"),es()),2&e&&ys("matTooltip",bc(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}var zB=function(){var e=function e(){_(this,e),this.recentIds=[]};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,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&&Xa(0,LB,3,3,"mat-icon",0),2&e&&Qa("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[Xh,oE,aC],pipes:[SE],styles:[".disabled-icon[_ngcontent-%COMP%]{color:rgba(0,0,0,.26)}"]}),e}();function RB(e,t){if(1&e){var n=os();$a(0,"span",3),cs("click",function(){return Qt(n),ps().changeStatus()}),_c(1,"translate"),$a(2,"mat-icon",4),qs(3,"check_circle_outline"),es(),es()}2&e&&ys("matTooltip",bc(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function OB(e,t){if(1&e){var n=os();$a(0,"span",3),cs("click",function(){return Qt(n),ps().changeStatus()}),_c(1,"translate"),$a(2,"mat-icon",5),qs(3,"block"),es(),es()}2&e&&ys("matTooltip",bc(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function xB(e,t){if(1&e&&($a(0,"span",6),_c(1,"translate"),$a(2,"mat-icon",7),qs(3,"report"),es(),es()),2&e){var n=ps();bs("matTooltip","",bc(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",n.failureCause,"")}}function DB(e,t){1&e&&($a(0,"span",6),_c(1,"translate"),$a(2,"mat-icon",8),qs(3,"autorenew"),es(),es()),2&e&&ys("matTooltip",bc(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}var PB=function(){var e=function(){function e(t){_(this,e),this.dialog=t,this.status="",this.statusChange=new Sc}return w(e,[{key:"changeStatus",value:function(){var e=this,t=QE();t.width="500px",t.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(jR,t).afterClosed().subscribe(function(t){t&&e.statusChange.emit()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(YE))},e.\u0275cmp=ct({type:e,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"],["matTooltipPosition","above",3,"matTooltip"],[1,"red"],[1,"black"]],template:function(e,t){1&e&&($a(0,"div",0),Xa(1,RB,4,3,"span",1),Xa(2,OB,4,3,"span",1),Xa(3,xB,4,4,"span",2),Xa(4,DB,4,3,"span",2),es()),2&e&&(yo(1),Qa("ngIf","ACTIVE"===t.status),yo(1),Qa("ngIf","INACTIVE"===t.status),yo(1),Qa("ngIf","FAILED"===t.status),yo(1),Qa("ngIf","PROCESSING"===t.status))},directives:[Xh,aC,oE],pipes:[SE],styles:[""]}),e}(),NB=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e){if(null==e)return null;var t="";return e.forEach(function(e){t=t.concat(e.tagName)}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"resourceTagsToString",type:e,pure:!0}),e}(),IB=function(){var e=function(){function e(){_(this,e)}return w(e,[{key:"transform",value:function(e,t){return t?"/organizations/".concat(e.voId,"/resources/").concat(e.id):"/facilities/".concat(e.facilityId,"/resources/").concat(e.id)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=mt({name:"getResourceRoute",type:e,pure:!0}),e}();function BB(e,t){if(1&e){var n=os();$a(0,"th",20),$a(1,"mat-checkbox",21),cs("change",function(e){Qt(n);var t=ps();return e?t.masterToggle():null}),es(),es()}if(2&e){var i=ps();yo(1),Qa("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function FB(e,t){if(1&e){var n=os();$a(0,"td",22),$a(1,"mat-checkbox",23),cs("change",function(e){var t=Qt(n).$implicit,i=ps();return e?i.itemSelectionToggle(t):null})("click",function(e){return e.stopPropagation()}),es(),es()}if(2&e){var i=t.$implicit,r=ps();yo(1),Qa("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function HB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")))}function qB(e,t){if(1&e&&($a(0,"td",22),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.id)}}function jB(e,t){1&e&&ts(0,"th",20)}function YB(e,t){if(1&e&&($a(0,"td",25),ts(1,"perun-web-apps-recently-viewed-icon",26),es()),2&e){var n=t.$implicit,i=ps();yo(1),Qa("recentIds",i.recentIds)("id",n.id)}}function WB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")))}function UB(e,t){if(1&e&&($a(0,"td",25),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.name)}}function KB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")))}function VB(e,t){if(1&e&&($a(0,"td",25),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.vo.name)}}function XB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")))}function GB(e,t){if(1&e){var n=os();$a(0,"td",25),$a(1,"perun-web-apps-group-resource-status",27),cs("mouseenter",function(){return Qt(n),ps().disabledRouting=!0})("mouseleave",function(){Qt(n);var e=ps();return e.disabledRouting=e.disableRouting})("statusChange",function(){return Qt(n),ps().refreshTable.emit()}),es(),es()}if(2&e){var i=t.$implicit,r=ps();yo(1),Qa("theme","group-theme")("resourceId",i.id)("groupId",r.groupId)("failureCause",i.failureCause)("status",i.status)}}function JB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")))}function QB(e,t){if(1&e&&($a(0,"td",25),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.facility.name)}}function ZB(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")))}function $B(e,t){if(1&e&&($a(0,"td",25),qs(1),_c(2,"resourceTagsToString"),es()),2&e){var n=t.$implicit;yo(1),js(bc(2,1,n.resourceTags))}}function eF(e,t){1&e&&($a(0,"th",24),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),js(bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")))}function tF(e,t){if(1&e&&($a(0,"td",25),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n.description)}}function nF(e,t){1&e&&ts(0,"tr",28)}var iF=function(e){return[e]};function rF(e,t){if(1&e&&(ts(0,"tr",29),_c(1,"getResourceRoute"),_c(2,"getResourceRoute")),2&e){var n=t.$implicit,i=ps();Es("cursor-pointer",!i.disableRouting)("disable-outline",i.disabledRouting),Qa("perunWebAppsMiddleClickRouterLink",pc(12,iF,i.disabledRouting?null:wc(1,6,n,i.routingVo)))("routerLink",i.disabledRouting?null:wc(2,9,n,i.routingVo))}}function oF(e,t){1&e&&($a(0,"app-alert",30),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function aF(e,t){1&e&&($a(0,"app-alert",30),qs(1),_c(2,"translate"),es()),2&e&&(yo(1),Ys(" ",bc(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}var sF=function(){var e=function(){function e(t,n){_(this,e),this.guiAuthResolver=t,this.tableCheckbox=n,this.resources=[],this.selection=new kA(!0,[]),this.pageSize=10,this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","name","vo","status","facility","tags","description"],this.pageSizeOptions=JE,this.groupId=null,this.page=new Sc,this.refreshTable=new Sc,this.allSelected=new Sc,this.removeAuth=!1,this.addAuth=!1}return w(e,[{key:"matSort",set:function(e){this.sort=e}},{key:"ngOnInit",value:function(){this.disabledRouting=this.disableRouting}},{key:"ngOnChanges",value:function(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(function(e){return"id"!==e})),this.setDataSource(),this.setAuth()}},{key:"getDataForColumn",value:function(e,t,n){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 n.recentIds&&n.recentIds.indexOf(e.id)>-1?"#".repeat(n.recentIds.indexOf(e.id)):e.name;case"tags":if(!e.resourceTags)return e[t];var i="";return e.resourceTags.forEach(function(e){i=i.concat(e.tagName)}),i;case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}},{key:"exportData",value:function(e){iL(nL(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}},{key:"setDataSource",value:function(){var e=this;this.dataSource||(this.dataSource=new Gz,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=function(t,n){return tL(t,n,e.displayedColumns,e.getDataForColumn,e,!0)},this.dataSource.sortData=function(t,n){return eL(t,n,e.getDataForColumn,e)}),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}},{key:"isAllSelected",value:function(){var e=this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.pageSize,this.child.paginator.hasNextPage(),this.dataSource);return this.allSelected.emit(e),e}},{key:"masterToggle",value:function(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.pageSize,this.child.paginator.pageIndex,!1),this.setAuth()}},{key:"checkboxLabel",value:function(e){return e?"".concat(this.selection.isSelected(e)?"deselect":"select"," row ").concat(e.id+1):(this.isAllSelected()?"select":"deselect")+" all"}},{key:"setAuth",value:function(){var e=this,t=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce(function(n,i){return n&&e.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",t.concat([i]))},!0),this.addAuth=this.selection.selected.reduce(function(n,i){return n&&e.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",t.concat([i]))},!0)}},{key:"itemSelectionToggle",value:function(e){this.selection.toggle(e),this.setAuth()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lp),Ja(bL))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){var n;(1&e&&(Fc(HN,7),Fc(uL,7)),2&e)&&(Bc(n=qc())&&(t.matSort=n.first),Bc(n=qc())&&(t.child=n.first))},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",pageSize:"pageSize",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId"},outputs:{page:"page",refreshTable:"refreshTable",allSelected:"allSelected"},features:[Et],decls:34,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","pageSizeOptions","pageSize","exportData","page"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell",""],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"recentIds","id"],[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&&($a(0,"div",0),$a(1,"perun-web-apps-table-wrapper",1),cs("exportData",function(e){return t.exportData(e)})("page",function(e){return t.page.emit(e)}),$a(2,"table",2),ns(3,3),Xa(4,BB,2,3,"th",4),Xa(5,FB,2,2,"td",5),is(),ns(6,6),Xa(7,HB,3,3,"th",7),Xa(8,qB,2,1,"td",8),is(),ns(9,9),Xa(10,jB,1,0,"th",4),Xa(11,YB,2,2,"td",10),is(),ns(12,11),Xa(13,WB,3,3,"th",7),Xa(14,UB,2,1,"td",10),is(),ns(15,12),Xa(16,KB,3,3,"th",7),Xa(17,VB,2,1,"td",10),is(),ns(18,13),Xa(19,XB,3,3,"th",7),Xa(20,GB,2,5,"td",10),is(),ns(21,14),Xa(22,JB,3,3,"th",7),Xa(23,QB,2,1,"td",10),is(),ns(24,15),Xa(25,ZB,3,3,"th",7),Xa(26,$B,3,3,"td",10),is(),ns(27,16),Xa(28,eF,3,3,"th",7),Xa(29,tF,2,1,"td",10),is(),Xa(30,nF,1,0,"tr",17),Xa(31,rF,3,14,"tr",18),es(),es(),es(),Xa(32,oF,3,3,"app-alert",19),Xa(33,aF,3,3,"app-alert",19)),2&e&&(Qa("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),yo(1),Qa("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),yo(1),Qa("dataSource",t.dataSource),yo(28),Qa("matHeaderRowDef",t.displayedColumns),yo(1),Qa("matRowDefColumns",t.displayedColumns),yo(1),Qa("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),yo(1),Qa("ngIf",0===t.resources.length))},directives:[uL,Bz,HN,qz,Hz,Fz,Wz,Uz,Xh,jz,qD,Yz,KN,zB,PB,Kz,Vz,GN,Ev,pR],pipes:[SE,NB,IB],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}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.25rem!important}"]}),e}();function uF(e,t){1&e&&ts(0,"mat-spinner",8)}var cF=function(){return["name","description"]};function lF(e,t){1&e&&ts(0,"perun-web-apps-resources-list",9),2&e&&Qa("resources",ps(3).resources)("displayedColumns",fc(3,cF))("disableRouting",!0)}function hF(e,t){if(1&e&&(Xa(0,uF,1,0,"mat-spinner",6),Xa(1,lF,1,4,"perun-web-apps-resources-list",7)),2&e){var n=ps(2);Qa("ngIf",n.loading),yo(1),Qa("ngIf",!n.loading)}}function dF(e,t){if(1&e){var n=os();$a(0,"mat-expansion-panel",4),cs("opened",function(){var e=Qt(n).$implicit;return ps().getMemberData(e)}),$a(1,"mat-expansion-panel-header"),$a(2,"mat-panel-title"),qs(3),es(),es(),Xa(4,hF,2,2,"ng-template",5),es()}if(2&e){var i=t.$implicit;yo(3),Ys(" ",i.name," ")}}var fF=function(){var e=function(){function e(t,n,i,r){_(this,e),this.usersManagerService=t,this.membersManagerService=n,this.resourcesManagerService=i,this.storage=r,this.resources=[],this.filteredVos=[]}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMemberData",value:function(e){var t=this;this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(e){t.resources=e,t.loading=!1})})}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ap),Ja(np),Ja(op),Ja(lL))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),$a(5,"perun-web-apps-immediate-filter",2),cs("filter",function(e){return t.applyFilter(e)}),_c(6,"translate"),_c(7,"customTranslate"),es(),$a(8,"mat-accordion"),Xa(9,dF,5,1,"mat-expansion-panel",3),es(),es()),2&e&&(yo(1),js(bc(2,3,bc(3,5,"SERVICES.TITLE"))),yo(4),Qa("placeholder",bc(6,7,bc(7,9,"SERVICES.FILTER"))),yo(4),Qa("ngForOf",t.filteredVos))},directives:[oB,CB,Kh,kB,TB,SB,wB,Xh,NL,sF],pipes:[SE,TL],styles:[""]}),e}();function pF(e,t){if(1&e){var n=os();$a(0,"perun-web-apps-immediate-filter",5),cs("filter",function(e){return Qt(n),ps().applyFilter(e)}),es()}2&e&&Qa("placeholder","ORGANIZATIONS.FILTER")}function gF(e,t){1&e&&ts(0,"mat-spinner",6)}var mF=function(){return["name","expirationAttribute","extend"]};function vF(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"perun-web-apps-membership-list",11),cs("extendMembership",function(e){return Qt(n),ps(2).extendMembership(e)}),es(),es()}if(2&e){var i=ps(2);yo(1),Qa("members",i.userMemberships)("selection",i.selection)("filterValue",i.filterValue)("displayedColumns",fc(4,mF))}}function yF(e,t){1&e&&($a(0,"app-alert",12),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function _F(e,t){if(1&e&&($a(0,"div",7),$a(1,"h1",8),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),Xa(5,vF,2,5,"div",9),Xa(6,yF,4,5,"app-alert",10),es()),2&e){var n=ps();yo(2),js(bc(3,3,bc(4,5,"ORGANIZATIONS.IS_MEMBER"))),yo(3),Qa("ngIf",0!==n.userMemberships.length),yo(1),Qa("ngIf",0===n.userMemberships.length)}}function bF(e,t){1&e&&($a(0,"app-alert",12),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}var wF=function(){return["name"]};function MF(e,t){if(1&e&&ts(0,"perun-web-apps-membership-list",14),2&e){var n=ps(2);Qa("members",n.adminMemberships)("filterValue",n.filterValue)("displayedColumns",fc(3,wF))}}function AF(e,t){if(1&e&&($a(0,"div",7),$a(1,"h1",8),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),Xa(5,bF,4,5,"app-alert",10),Xa(6,MF,1,4,"perun-web-apps-membership-list",13),es()),2&e){var n=ps();yo(2),js(bc(3,3,bc(4,5,"ORGANIZATIONS.IS_ADMIN"))),yo(3),Qa("ngIf",!n.adminMemberships.length),yo(1),Qa("ngIf",n.adminMemberships.length)}}var kF=function(){var e=function(){function e(t,n,i){_(this,e),this.usersService=t,this.store=n,this.membersService=i,this.filterValue="",this.selection=new kA(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}return w(e,[{key:"ngOnInit",value:function(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}},{key:"refreshTable",value:function(){var e=this;this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(function(t){e.usersService.getVosWhereUserIsAdmin(e.userId).subscribe(function(n){e.vosCount=t.length+n.length,e.fillMemberships(t,e.userMemberships),e.fillMemberships(n,e.adminMemberships)})})}},{key:"applyFilter",value:function(e){this.filterValue=e}},{key:"isEverythingLoaded",value:function(){this.vosCount--,this.loading=0!==this.vosCount}},{key:"fillMemberships",value:function(e,t){var n=this;this.membersService.getMembersByUser(this.userId).subscribe(function(i){e.forEach(function(e){var r=i.find(function(t){return t.voId===e.id});r?n.membersService.getRichMemberWithAttributes(r.id).subscribe(function(i){var r=i.memberAttributes.find(function(e){return"membershipExpiration"===e.friendlyName});t.push({entity:e,expirationAttribute:r}),n.isEverythingLoaded()}):(t.push({entity:e,expirationAttribute:null}),n.isEverythingLoaded())})})}},{key:"extendMembership",value:function(e){var t=this.store.get("registrar_base_url");window.location.href="".concat(t,"?vo=").concat(e.entity.shortName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(ap),Ja(lL),Ja(np))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),Xa(5,pF,1,1,"perun-web-apps-immediate-filter",2),Xa(6,gF,1,0,"mat-spinner",3),Xa(7,_F,7,7,"div",4),Xa(8,AF,7,7,"div",4),es()),2&e&&(yo(1),js(bc(2,5,bc(3,7,"ORGANIZATIONS.TITLE"))),yo(4),Qa("ngIf",!t.loading),yo(1),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[Xh,oB,NL,VI,pR],pipes:[SE,TL],styles:[""]}),e}(),TF=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&($a(0,"div",0),ts(1,"router-outlet"),es())},directives:[Rv],styles:[""]}),e}(),SF=function(){var e=function(){function e(t,n){_(this,e),this.dialogRef=t,this.data=n,this.password=""}return w(e,[{key:"ngOnInit",value:function(){this.password=this.data.password}},{key:"onClose",value:function(){this.dialogRef.close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),$a(5,"p"),qs(6),_c(7,"translate"),_c(8,"customTranslate"),es(),$a(9,"label"),ts(10,"input",2),es(),es(),$a(11,"div",3),$a(12,"button",4),cs("click",function(){return t.onClose()}),qs(13),_c(14,"translate"),_c(15,"customTranslate"),es(),$a(16,"button",5),qs(17),_c(18,"translate"),_c(19,"customTranslate"),es(),es()),2&e&&(yo(1),js(bc(2,6,bc(3,8,"DIALOGS.SHOW_PASSWORD.TITLE"))),yo(5),js(bc(7,10,bc(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),yo(4),Qa("value",t.password),yo(3),Ys(" ",bc(14,14,bc(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),yo(3),Qa("cdkCopyToClipboard",t.password),yo(1),Ys(" ",bc(18,18,bc(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[UE,KE,VE,HM,sR],pipes:[SE,TL],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),e}();function CF(e,t){1&e&&ts(0,"mat-spinner",7)}function EF(e,t){1&e&&ts(0,"th",16)}function LF(e,t){if(1&e&&($a(0,"td",17),qs(1),es()),2&e){var n=t.$implicit;yo(1),Ys(" ",n," ")}}function zF(e,t){1&e&&ts(0,"tr",18)}function RF(e,t){1&e&&ts(0,"tr",19)}function OF(e,t){if(1&e&&($a(0,"div",8),$a(1,"p"),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),$a(5,"div",9),qs(6),_c(7,"translate"),_c(8,"customTranslate"),es(),$a(9,"table",10),ns(10,11),Xa(11,EF,1,0,"th",12),Xa(12,LF,2,1,"td",13),is(),Xa(13,zF,1,0,"tr",14),Xa(14,RF,1,0,"tr",15),es(),es()),2&e){var n=ps();yo(2),Ys(" ",bc(3,5,bc(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),yo(4),Ys(" ",bc(7,9,bc(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),yo(3),Qa("dataSource",n.dataSource),yo(4),Qa("matHeaderRowDef",n.displayedColumns),yo(1),Qa("matRowDefColumns",n.displayedColumns)}}var xF=function(){var e=function(){function e(t,n,i){_(this,e),this.dialogRef=t,this.data=n,this.usersManagerService=i,this.displayedColumns=["description"]}return w(e,[{key:"ngOnInit",value:function(){this.dataSource=new Gz(this.data.description)}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja(ap))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),Xa(5,CF,1,0,"mat-spinner",2),es(),Xa(6,OF,15,13,"div",3),$a(7,"div",4),$a(8,"button",5),cs("click",function(){return t.onCancel()}),qs(9),_c(10,"translate"),_c(11,"customTranslate"),es(),$a(12,"button",6),cs("click",function(){return t.onSubmit()}),qs(13),_c(14,"translate"),_c(15,"customTranslate"),es(),es()),2&e&&(yo(1),js(bc(2,5,bc(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),yo(4),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading),yo(3),Ys(" ",bc(10,9,bc(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),yo(4),Ys(" ",bc(14,13,bc(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[UE,Xh,VE,HM,NL,KE,Bz,qz,Hz,Fz,Wz,Uz,jz,Yz,Kz,Vz],pipes:[SE,TL],styles:[""]}),e}();function DF(e,t){1&e&&ts(0,"th",12)}function PF(e,t){if(1&e){var n=os();$a(0,"td",13),$a(1,"mat-checkbox",14),cs("change",function(e){var t=Qt(n).$implicit,i=ps();return e?i.selection.toggle(t):null})("click",function(e){return e.stopPropagation()}),es(),es()}if(2&e){var i=t.$implicit,r=ps();yo(1),Qa("aria-label",r.checkboxLabel(i))("checked",r.selection.isSelected(i))}}function NF(e,t){if(1&e&&($a(0,"th",15),qs(1),es()),2&e){var n=ps();yo(1),js(n.headerColumnText)}}function IF(e,t){if(1&e&&($a(0,"td",16),qs(1),es()),2&e){var n=t.$implicit;yo(1),js(n)}}function BF(e,t){1&e&&ts(0,"tr",17)}function FF(e,t){1&e&&ts(0,"tr",18)}function HF(e,t){if(1&e&&($a(0,"app-alert",19),qs(1),es()),2&e){var n=ps();yo(1),Ys(" ",n.alertText,"\n")}}var qF=function(){var e=function(){function e(){_(this,e),this.values=[],this.selection=new kA(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"],this.pageSize=5}return w(e,[{key:"ngOnChanges",value:function(){this.values=this.values?this.values:[],this.dataSource=new Gz(this.values),this.setDataSource()}},{key:"getExportDataForColumn",value:function(e){return e}},{key:"exportData",value:function(e){iL(nL(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}},{key:"setDataSource",value:function(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}},{key:"checkboxLabel",value:function(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}},{key:"ngAfterViewInit",value:function(){this.setDataSource()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){var n;(1&e&&Fc(uL,7),2&e)&&(Bc(n=qc())&&(t.child=n.first))},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[Et],decls:12,vars:7,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSize","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","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",""],["mat-cell","",1,"static-column-size"],["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&&($a(0,"div",0),$a(1,"perun-web-apps-table-wrapper",1),cs("exportData",function(e){return t.exportData(e)}),$a(2,"table",2),ns(3,3),Xa(4,DF,1,0,"th",4),Xa(5,PF,2,2,"td",5),is(),ns(6,6),Xa(7,NF,2,1,"th",7),Xa(8,IF,2,1,"td",8),is(),Xa(9,BF,1,0,"tr",9),Xa(10,FF,1,0,"tr",10),es(),es(),es(),Xa(11,HF,2,1,"app-alert",11)),2&e&&(Qa("hidden",!t.values.length),yo(1),Qa("dataLength",t.dataSource.filteredData.length)("pageSize",t.pageSize),yo(1),Qa("dataSource",t.dataSource),yo(7),Qa("matHeaderRowDef",t.displayedColumns),yo(1),Qa("matRowDefColumns",t.displayedColumns),yo(1),Qa("ngIf",0===t.values.length))},directives:[uL,Bz,qz,Hz,Fz,Wz,Uz,Xh,jz,Yz,qD,Kz,Vz,pR],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),e}();function jF(e,t){if(1&e&&ts(0,"perun-web-apps-string-list",10),2&e){var n=ps();Qa("values",n.displayedValues)("selection",n.selection)("alertText",n.alertText)("headerColumnText",n.headerColumnText)}}function YF(e,t){1&e&&ts(0,"mat-spinner",11)}var WF=function(){var e=function(){function e(t,n,i,r,o){var a=this;_(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.usersManagerService=o,this.altPasswordCtrl=new nS(null,[mT.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new kA(!1,[]),r.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return a.removeDialogDescription=e}),r.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(function(e){return a.removeDialogTitle=e}),r.get("ALERTS.NO_ALT_PASSWORDS").subscribe(function(e){return a.alertText=e}),r.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(function(e){return a.headerColumnText=e})}return w(e,[{key:"ngOnInit",value:function(){this.getAltPasswords()}},{key:"createPassword",value:function(){var e=this,t=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",t).subscribe(function(){var n=QE();n.width="600px",n.data={password:t},e.dialog.open(SF,n),e.getAltPasswords(),e.altPasswordCtrl.setValue("")})}},{key:"generatePassword",value:function(){for(var e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-",t="",n=0,i=e.length;n<16;++n)t+=e.charAt(Math.random()*i);return t.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),t}},{key:"getAltPasswords",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(function(t){if(e.altPasswordsAttribute=t,t.value){var n=Object.keys(t.value);e.passwordDescriptions=new Set(n),e.displayedValues=Array.from(e.passwordDescriptions.values())}else e.displayedValues=[];e.loading=!1})}},{key:"alreadyContainsValue",value:function(e){return this.passwordDescriptions.has(e)}},{key:"removeAltPasswords",value:function(){var e=this,t=QE();t.width="600px",t.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(xF,t).afterClosed().subscribe(function(t){t&&(e.getAltPasswords(),e.selection.clear())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL),Ja($f),Ja(YE),Ja(TE),Ja(ap))},e.\u0275cmp=ct({type:e,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&&($a(0,"div",0),$a(1,"h1",1),qs(2),_c(3,"translate"),_c(4,"customTranslate"),es(),$a(5,"mat-form-field",2),$a(6,"label",2),ts(7,"input",3),_c(8,"translate"),_c(9,"customTranslate"),es(),es(),$a(10,"button",4),cs("click",function(){return t.createPassword()}),qs(11),_c(12,"translate"),_c(13,"customTranslate"),es(),$a(14,"app-alert",5),qs(15),_c(16,"translate"),_c(17,"customTranslate"),es(),$a(18,"h1",6),qs(19),_c(20,"translate"),_c(21,"customTranslate"),es(),$a(22,"button",7),cs("click",function(){return t.removeAltPasswords()}),qs(23),_c(24,"translate"),_c(25,"customTranslate"),es(),Xa(26,jF,1,4,"perun-web-apps-string-list",8),Xa(27,YF,1,0,"mat-spinner",9),es()),2&e&&(yo(2),js(bc(3,11,bc(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),yo(5),ys("placeholder",bc(8,15,bc(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),Qa("formControl",t.altPasswordCtrl),yo(3),Qa("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),yo(1),js(bc(12,19,bc(13,21,"ALT_PASSWORDS.GENERATE"))),yo(4),js(bc(16,23,bc(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),yo(4),js(bc(20,27,bc(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),yo(3),Qa("disabled",t.selection.isEmpty()),yo(1),js(bc(24,31,bc(25,33,"ALT_PASSWORDS.REMOVE"))),yo(3),Qa("ngIf",!t.loading),yo(1),Qa("ngIf",t.loading))},directives:[tT,KL,lT,PT,vS,HM,pR,Xh,qF,NL],pipes:[SE,TL],styles:[""]}),e}();function UF(e,t){if(1&e&&($a(0,"mat-list-item",1),$a(1,"mat-icon"),qs(2),es(),$a(3,"p",2),qs(4),_c(5,"translate"),_c(6,"customTranslate"),es(),es()),2&e){var n=t.$implicit;Qa("routerLink",n.url),yo(2),js(n.icon),yo(2),js(bc(5,3,bc(6,5,n.label)))}}var KF=function(){var e=function(){function e(t){_(this,e),this.storeService=t,this.items=[]}return w(e,[{key:"ngOnInit",value:function(){this.initItems();var e=this.storeService.get("displayed_tabs");this.items=this.items.filter(function(t){return e.includes(t.tabName)})}},{key:"initItems",value:function(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,t){1&e&&($a(0,"mat-list"),Xa(1,UF,7,7,"mat-list-item",0),es()),2&e&&(yo(1),Qa("ngForOf",t.items))},directives:[Ix,Kh,Hx,_M,Ev,oE],pipes:[SE,TL],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),e}(),VF=["row","column","row-reverse","column-reverse"];function XF(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var GF=function(){var e,n=function(e){d(i,e);var n=p(i);function i(){return _(this,i),n.apply(this,arguments)}return w(i,[{key:"buildStyles",value:function(e){return n=function(e){var n=t((e=e?e.toLowerCase():"").split(" "),3),i=n[0],r=n[1],o=n[2];return VF.find(function(e){return e===i})||(i=VF[0]),"inline"===r&&(r="inline"!==o?o:"",o="inline"),[i,XF(r),!!o]}(e),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((i=t(n,3))[0],i[1],i[2]);var n,i}}]),i}(PO);return n.\u0275fac=function(t){return(e||(e=si(n)))(t||n)},n.\u0275prov=Oe({factory:function(){return new n},token:n,providedIn:"root"}),n}(),JF=["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"],QF=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,r,i,o)).DIRECTIVE_KEY="layout",a.styleCache=$F,a.init(),a}return n}(fO);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(DO),Ja(GF),Ja(NO))},e.\u0275dir=gt({type:e,features:[Oa]}),e}(),ZF=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).inputs=JF,e}return n}(QF);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,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:[Oa]}),t}(),$F=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var eH=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){return _(this,n),t.apply(this,arguments)}return w(n,[{key:"buildStyles",value:function(e){var 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}}]),n}(PO);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275prov=Oe({factory:function(){return new t},token:t,providedIn:"root"}),t}(),tH=["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"],nH=function(){var e=function(e){d(n,e);var t=p(n);function n(e,i,r,o){var a;return _(this,n),(a=t.call(this,e,r,i,o)).DIRECTIVE_KEY="flex-align",a.styleCache=iH,a.init(),a}return n}(fO);return e.\u0275fac=function(t){return new(t||e)(Ja(mu),Ja(DO),Ja(eH),Ja(NO))},e.\u0275dir=gt({type:e,features:[Oa]}),e}(),iH=new Map,rH=function(){var e,t=function(e){d(n,e);var t=p(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).inputs=tH,e}return n}(nH);return t.\u0275fac=function(n){return(e||(e=si(t)))(n||t)},t.\u0275dir=gt({type:t,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:[Oa]}),t}();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;var oH=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[iO,a_]]}),e}();function aH(e,t){if(1&e&&($a(0,"mat-option",13),qs(1),es()),2&e){var n=t.$implicit;Qa("value",ps().selectedUnit),yo(1),Ys(" ",n," ")}}var sH=function(){var e=function(){function e(t,n,i,r,o){var a=this;_(this,e),this.dialogRef=t,this.data=n,this.rtMessagesService=i,this.notificator=r,this.translate=o,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",o.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(function(e){return a.successMessage=e})}return w(e,[{key:"ngOnInit",value:function(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new nS(null,[mT.required]),this.newValueControl=new nS(null,[mT.required,mT.pattern("[1-9][0-9]*")])}},{key:"onCancel",value:function(){this.dialogRef.close()}},{key:"onSubmit",value:function(){var e=this,t=(new kL).transform(this.data.user);this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request","QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ".concat(t," (user ID: ").concat(this.data.user.id,")\u21b5 VO: ").concat(this.data.vo.shortName," / ").concat(this.data.vo.name," (vo ID: ").concat(this.data.vo.id,")\u21b5 Resource: ").concat(this.data.resource.name," (resource ID: ").concat(this.data.resource.id,")\u21b5 Data quota\u21b5 Requested quota: ").concat(this.newValueControl.value,"\u21b5 Reason: ").concat(this.reasonControl.value,"\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI")).subscribe(function(){e.notificator.showSuccess(e.successMessage),e.dialogRef.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja(ip),Ja(mL),Ja(TE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),$a(5,"div"),$a(6,"p",2),qs(7),_c(8,"translate"),_c(9,"customTranslate"),es(),$a(10,"p"),qs(11),es(),es(),$a(12,"div"),$a(13,"p",2),qs(14),_c(15,"translate"),_c(16,"customTranslate"),es(),$a(17,"p"),qs(18),es(),es(),$a(19,"div",3),$a(20,"mat-form-field"),$a(21,"label",4),ts(22,"input",5),_c(23,"translate"),_c(24,"customTranslate"),es(),es(),$a(25,"mat-select",6),cs("valueChange",function(e){return t.selectedUnit=e}),Xa(26,aH,2,2,"mat-option",7),es(),es(),$a(27,"div"),$a(28,"mat-form-field",8),$a(29,"label",4),ts(30,"textarea",9),_c(31,"translate"),_c(32,"customTranslate"),es(),es(),es(),$a(33,"div",10),$a(34,"button",11),cs("click",function(){return t.onCancel()}),qs(35),_c(36,"translate"),_c(37,"customTranslate"),es(),$a(38,"button",12),cs("click",function(){return t.onSubmit()}),qs(39),_c(40,"translate"),_c(41,"customTranslate"),es(),es(),es()),2&e&&(yo(1),js(bc(2,14,bc(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE"))),yo(6),js(bc(8,18,bc(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))),yo(4),js(t.resource),yo(3),js(bc(15,22,bc(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))),yo(4),js(t.currentQuota),yo(4),ys("placeholder",bc(23,26,bc(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),Qa("formControl",t.newValueControl),yo(3),Qa("value",t.selectedUnit),yo(1),Qa("ngForOf",t.units),yo(4),ys("placeholder",bc(31,30,bc(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),Qa("formControl",t.reasonControl),yo(5),Ys(" ",bc(36,34,bc(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),yo(3),Qa("disabled",t.reasonControl.invalid),yo(1),Ys(" ",bc(40,38,bc(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[UE,ZF,rH,tT,KL,fS,lT,wS,PT,vS,US,Kh,VE,HM,RM],pipes:[SE,TL],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-ripple.mat-form-field-ripple[_ngcontent-%COMP%], .mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%]{display:none}"]}),e}();function uH(e,t){1&e&&ts(0,"mat-spinner",8)}function cH(e,t){1&e&&($a(0,"app-alert",9),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function lH(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"p"),$a(2,"strong"),qs(3),_c(4,"translate"),_c(5,"customTranslate"),es(),qs(6),es(),$a(7,"p",10),qs(8),_c(9,"translate"),_c(10,"customTranslate"),es(),$a(11,"button",11),cs("click",function(){Qt(n);var e=ps().$implicit,t=ps(3).$implicit;return ps().requestChangeQuota(t,e)}),qs(12),_c(13,"translate"),_c(14,"customTranslate"),es(),es()}if(2&e){var i=ps(5);yo(3),js(bc(4,4,bc(5,6,"DATA_QUOTAS.QUOTA"))),yo(3),Ys(" ",i.quotasMarkup,""),yo(2),js(bc(9,8,bc(10,10,"DATA_QUOTAS.QUOTA_INFO"))),yo(4),js(bc(13,12,bc(14,14,"DATA_QUOTAS.CHANGE")))}}function hH(e,t){1&e&&($a(0,"p"),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function dH(e,t){if(1&e){var n=os();$a(0,"mat-expansion-panel",3),cs("opened",function(){var e=Qt(n).$implicit;return ps(4).getResAttributes(e.id)}),$a(1,"mat-expansion-panel-header"),$a(2,"mat-panel-title"),qs(3),es(),es(),Xa(4,lH,15,16,"div",7),Xa(5,hH,4,5,"p",7),es()}if(2&e){var i=t.$implicit,r=ps(4);yo(3),Ys(" ",i.name," "),yo(1),Qa("ngIf",r.defaultQuota),yo(1),Qa("ngIf",!r.defaultQuota)}}function fH(e,t){if(1&e&&($a(0,"mat-accordion"),Xa(1,dH,6,3,"mat-expansion-panel",2),es()),2&e){var n=ps(3);yo(1),Qa("ngForOf",n.resources)}}function pH(e,t){if(1&e&&(Xa(0,uH,1,0,"mat-spinner",5),Xa(1,cH,4,5,"app-alert",6),Xa(2,fH,2,1,"mat-accordion",7)),2&e){var n=ps(2);Qa("ngIf",n.loading),yo(1),Qa("ngIf",0===n.resources.length&&!n.loading),yo(1),Qa("ngIf",n.resources.length&&!n.loading)}}function gH(e,t){if(1&e){var n=os();$a(0,"mat-expansion-panel",3),cs("opened",function(){var e=Qt(n).$implicit;return ps().getMembersResources(e)}),$a(1,"mat-expansion-panel-header"),$a(2,"mat-panel-title"),qs(3),es(),es(),Xa(4,pH,3,3,"ng-template",4),es()}if(2&e){var i=t.$implicit;yo(3),Ys(" ",i.name," ")}}var mH=function(){var e=function(){function e(t,n,i,r,o,a){_(this,e),this.store=t,this.usersManagerService=n,this.membersService=i,this.resourcesManagerService=r,this.attributesManagerService=o,this.dialog=a,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMembersResources",value:function(e){var t=this;this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(e){var n=e.length;n||(t.loading=!1),e.forEach(function(e){t.attributesManagerService.getResourceAttributes(e.id).subscribe(function(i){n--,i.find(function(e){return"defaultDataQuotas"===e.friendlyName})&&t.resources.push(e),t.loading=0!==n})})})})}},{key:"getResAttributes",value:function(e){var t=this;this.attributesManagerService.getResourceAttributes(e).subscribe(function(e){var n=e.find(function(e){return"dataQuotas"===e.friendlyName});if(n&&n.value){var i=Object.keys(n.value);t.currentQuota=n.value[i[0]]}else t.currentQuota="";if(n=e.find(function(e){return"defaultDataQuotas"===e.friendlyName})){var r=Object.keys(n.value);t.defaultQuota=n.value[r[0]]}else t.defaultQuota="";t.currentQuota||(t.currentQuota=t.defaultQuota),t.parseMarkup()})}},{key:"parseMarkup",value:function(){var e="";e+=this.currentQuota,e=(e+=" (default: ".concat(this.defaultQuota,")")).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}},{key:"requestChangeQuota",value:function(e,t){var n=QE();n.width="400px",n.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(sH,n)}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL),Ja(ap),Ja(np),Ja(op),Ja($f),Ja(YE))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,t){1&e&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"perun-web-apps-immediate-filter",1),cs("filter",function(e){return t.applyFilter(e)}),_c(5,"translate"),_c(6,"customTranslate"),es(),$a(7,"mat-accordion"),Xa(8,gH,5,1,"mat-expansion-panel",2),es()),2&e&&(yo(1),js(bc(2,3,bc(3,5,"DATA_QUOTAS.TITLE"))),yo(3),Qa("placeholder",bc(5,7,bc(6,9,"DATA_QUOTAS.FILTER"))),yo(4),Qa("ngForOf",t.filteredVos))},directives:[oB,CB,Kh,kB,TB,SB,wB,Xh,NL,pR,HM],pipes:[SE,TL],styles:[""]}),e}();function vH(e,t){1&e&&ts(0,"mat-spinner",8)}function yH(e,t){1&e&&($a(0,"app-alert",9),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function _H(e,t){if(1&e){var n=os();$a(0,"mat-expansion-panel",3),cs("opened",function(){var e=Qt(n).$implicit;return ps(4).getOptOutAttribute(e)}),$a(1,"mat-expansion-panel-header"),$a(2,"mat-panel-title"),qs(3),es(),es(),$a(4,"div",10),$a(5,"p"),qs(6),_c(7,"translate"),_c(8,"customTranslate"),es(),$a(9,"mat-checkbox",11),cs("change",function(){return Qt(n),ps(4).setOptOut()}),es(),es(),es()}if(2&e){var i=t.$implicit,r=ps(4);yo(3),Ys(" ",i.name," "),yo(3),js(bc(7,3,bc(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),yo(3),Qa("checked",r.optOutAttribute&&null!==r.optOutAttribute.value)}}function bH(e,t){if(1&e&&($a(0,"mat-accordion"),Xa(1,_H,10,7,"mat-expansion-panel",2),es()),2&e){var n=ps(3);yo(1),Qa("ngForOf",n.resources)}}function wH(e,t){if(1&e&&(Xa(0,vH,1,0,"mat-spinner",5),Xa(1,yH,4,5,"app-alert",6),Xa(2,bH,2,1,"mat-accordion",7)),2&e){var n=ps(2);Qa("ngIf",n.loading),yo(1),Qa("ngIf",0===n.resources.length&&!n.loading),yo(1),Qa("ngIf",n.resources.length&&!n.loading)}}function MH(e,t){if(1&e){var n=os();$a(0,"mat-expansion-panel",3),cs("opened",function(){var e=Qt(n).$implicit;return ps().getMailingLists(e)}),$a(1,"mat-expansion-panel-header"),$a(2,"mat-panel-title"),qs(3),es(),es(),Xa(4,wH,3,3,"ng-template",4),es()}if(2&e){var i=t.$implicit;yo(3),Ys(" ",i.name," ")}}var AH=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this.store=t,this.usersManagerService=n,this.membersService=i,this.resourcesManagerService=r,this.attributesManagerService=o,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(function(t){e.vos=t,e.filteredVos=t})}},{key:"getMailingLists",value:function(e){var t=this;this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(function(e){t.resourcesManagerService.getAssignedRichResourcesWithMember(e.id).subscribe(function(n){var i=n.length;i||(t.loading=!1),n.forEach(function(n){t.attributesManagerService.getRequiredAttributesMemberResource(e.id,n.id).subscribe(function(r){t.attributesManagerService.getResourceAttributeByName(n.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(function(o){i--;var a=r.find(function(e){return"optOutMailingList"===e.friendlyName});!a||o&&"true"===o.value||(t.optOuts.push({resource:n.id,member:e.id,attribute:a}),t.resources.push(n)),t.loading=0!==i})})})})})}},{key:"getOptOutAttribute",value:function(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}},{key:"setOptOut",value:function(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(function(){console.log("done")})}},{key:"applyFilter",value:function(e){this.filteredVos=this.vos.filter(function(t){return t.name.toLowerCase().includes(e.toLowerCase())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL),Ja(ap),Ja(np),Ja(op),Ja($f))},e.\u0275cmp=ct({type:e,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,t){1&e&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"perun-web-apps-immediate-filter",1),cs("filter",function(e){return t.applyFilter(e)}),_c(5,"translate"),_c(6,"customTranslate"),es(),$a(7,"mat-accordion"),Xa(8,MH,5,1,"mat-expansion-panel",2),es()),2&e&&(yo(1),js(bc(2,3,bc(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),yo(3),Qa("placeholder",bc(5,7,bc(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),yo(4),Qa("ngForOf",t.filteredVos))},directives:[oB,CB,Kh,kB,TB,SB,wB,Xh,NL,pR,qD],pipes:[SE,TL],styles:[""]}),e}();function kH(e,t){1&e&&ts(0,"mat-spinner",4)}function TH(e,t){1&e&&ts(0,"th",17)}function SH(e,t){if(1&e&&($a(0,"td",18),qs(1),es()),2&e){var n=t.$implicit;yo(1),Ys(" ",n," ")}}function CH(e,t){1&e&&ts(0,"tr",19)}function EH(e,t){1&e&&ts(0,"tr",20)}function LH(e,t){if(1&e&&($a(0,"table",11),ns(1,12),Xa(2,TH,1,0,"th",13),Xa(3,SH,2,1,"td",14),is(),Xa(4,CH,1,0,"tr",15),Xa(5,EH,1,0,"tr",16),es()),2&e){var n=ps(2);Qa("dataSource",n.dataSource),yo(4),Qa("matHeaderRowDef",n.displayedColumns),yo(1),Qa("matRowDefColumns",n.displayedColumns)}}function zH(e,t){if(1&e){var n=os();$a(0,"div",1),$a(1,"div",5),$a(2,"p"),qs(3),es(),$a(4,"div",6),qs(5),_c(6,"translate"),_c(7,"customTranslate"),es(),Xa(8,LH,6,3,"table",7),es(),$a(9,"div",8),$a(10,"button",9),cs("click",function(){return Qt(n),ps().onCancel()}),qs(11),_c(12,"translate"),_c(13,"customTranslate"),es(),$a(14,"button",10),cs("click",function(){return Qt(n),ps().onSubmit()}),qs(15),_c(16,"translate"),_c(17,"customTranslate"),es(),es(),es()}if(2&e){var i=ps();yo(3),Ys(" ",i.description," "),yo(2),Ys(" ",bc(6,5,bc(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),yo(3),Qa("ngIf",i.dataSource.data.length),yo(3),Ys(" ",bc(12,9,bc(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),yo(4),Ys(" ",bc(16,13,bc(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}var RH=function(){var e=function(){function e(t,n,i){_(this,e),this.dialogRef=t,this.data=n,this.attributesManagerService=i,this.displayedColumns=["name"]}return w(e,[{key:"ngOnInit",value:function(){this.dataSource=new Gz(this.data.values),this.description=this.data.description,this.title=this.data.title}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{var t=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?t.splice(this.data.valueIndex,1):t=t.filter(function(t){return!e.data.values.find(function(e){return e===t})}),this.data.attribute.value=t}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)},function(){return e.loading=!1})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja($f))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),es(),$a(2,"div",1),Xa(3,kH,1,0,"mat-spinner",2),es(),Xa(4,zH,18,17,"div",3)),2&e&&(yo(1),js(t.title),yo(2),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[UE,Xh,NL,KE,VE,HM,Bz,qz,Hz,Fz,Wz,Uz,jz,Yz,Kz,Vz],pipes:[SE,TL],styles:[""]}),e}();function OH(e,t){1&e&&($a(0,"app-alert",5),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es()),2&e&&(yo(1),js(bc(2,1,bc(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function xH(e,t){if(1&e){var n=os();$a(0,"mat-option",11),cs("click",function(){return Qt(n),ps(3).changeValue()}),qs(1),es()}if(2&e){var i=t.$implicit;Qa("value",i),yo(1),js(i)}}function DH(e,t){if(1&e){var n=os();$a(0,"mat-list-item"),$a(1,"mat-form-field",7),$a(2,"mat-select",8),cs("valueChange",function(e){var t=Qt(n).index;return ps(2).shells[t]=e}),Xa(3,xH,2,2,"mat-option",9),es(),es(),$a(4,"button",10),cs("click",function(){var e=Qt(n).index;return ps(2).removeShell(e)}),qs(5),_c(6,"translate"),_c(7,"customTranslate"),es(),es()}if(2&e){var i=t.index,r=ps(2);yo(2),Qa("value",r.shells[i]),yo(1),Qa("ngForOf",r.defaultShells),yo(2),js(bc(6,3,bc(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON")))}}function PH(e,t){if(1&e&&($a(0,"mat-list"),Xa(1,DH,8,7,"mat-list-item",6),es()),2&e){var n=ps();yo(1),Qa("ngForOf",n.shells)}}var NH=function(){var e=function(){function e(t,n,i,r){var o=this;_(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],r.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return o.removeDialogDescription=e}),r.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(function(e){return o.removeDialogTitle=e})}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(function(){e.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(function(t){return e.removeDialogDescription=t}),e.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(function(t){return e.removeDialogTitle=t})}),this.getAttribute()}},{key:"addShell",value:function(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(function(){console.log("done")})}},{key:"removeShell",value:function(e){var t=this,n=QE();n.width="600px",n.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(RH,n).afterClosed().subscribe(function(e){e&&t.getAttribute()})}},{key:"getAttribute",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(function(t){e.prefShellsAttribute=t,e.shells=e.prefShellsAttribute.value?e.prefShellsAttribute.value:[],e.loading=!1})}},{key:"changeValue",value:function(){var e=this;this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(function(){e.getAttribute()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(lL),Ja($f),Ja(YE),Ja(TE))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"app-alert",1),qs(5),_c(6,"translate"),_c(7,"customTranslate"),es(),$a(8,"button",2),cs("click",function(){return t.addShell()}),qs(9),_c(10,"translate"),_c(11,"customTranslate"),es(),Xa(12,OH,4,5,"app-alert",3),Xa(13,PH,2,1,"mat-list",4)),2&e&&(yo(1),js(bc(2,5,bc(3,7,"PREFERRED_SHELLS.TITLE"))),yo(4),Ys(" ",bc(6,9,bc(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),yo(4),js(bc(10,13,bc(11,15,"PREFERRED_SHELLS.NEW_BUTTON"))),yo(3),Qa("ngIf",!t.loading&&0===t.shells.length),yo(1),Qa("ngIf",!t.loading))},directives:[pR,HM,Xh,Ix,Kh,Hx,tT,US,RM],pipes:[SE,TL],styles:[""]}),e}();function IH(e,t){1&e&&ts(0,"mat-spinner",4)}function BH(e,t){if(1&e){var n=os();$a(0,"div"),$a(1,"div",5),$a(2,"mat-form-field",6),$a(3,"label",6),ts(4,"input",7),es(),es(),es(),$a(5,"div",8),$a(6,"button",9),cs("click",function(){return Qt(n),ps().onCancel()}),qs(7),_c(8,"translate"),_c(9,"customTranslate"),es(),$a(10,"button",10),cs("click",function(){return Qt(n),ps().onSubmit()}),qs(11),_c(12,"translate"),_c(13,"customTranslate"),es(),es(),es()}if(2&e){var i=ps();yo(4),Qa("formControl",i.inputControl),yo(3),Ys(" ",bc(8,4,bc(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),yo(3),Qa("disabled",!i.inputControl.valid||i.groups.includes(i.inputControl.value)),yo(1),Ys(" ",bc(12,8,bc(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}var FH=function(){var e=function(){function e(t,n,i){_(this,e),this.dialogRef=t,this.data=n,this.attributesManagerService=i,this.groups=[]}return w(e,[{key:"ngOnInit",value:function(){this.inputControl=new nS(null,mT.required),this.groups=this.data.groups}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,"urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:".concat(this.data.namespace)).subscribe(function(t){var n=t.value?t.value:[];n.push(e.inputControl.value),t.value=n,e.attributesManagerService.setUserAttribute({user:e.data.userId,attribute:t}).subscribe(function(){e.loading=!1,e.dialogRef.close(!0)})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ja(PE),Ja(BE),Ja($f))},e.\u0275cmp=ct({type:e,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&&($a(0,"h1",0),qs(1),_c(2,"translate"),_c(3,"customTranslate"),es(),$a(4,"div",1),Xa(5,IH,1,0,"mat-spinner",2),Xa(6,BH,14,12,"div",3),es()),2&e&&(yo(1),js(bc(2,3,bc(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),yo(4),Qa("ngIf",t.loading),yo(1),Qa("ngIf",!t.loading))},directives:[UE,Xh,NL,KE,tT,KL,lT,wS,PT,vS,VE,HM],pipes:[SE,TL],styles:[""]}),e}();function HH(e,t){if(1&e){var n=os();$a(0,"div",2),$a(1,"h4"),qs(2),es(),$a(3,"button",3),cs("click",function(){var e=Qt(n).$implicit;return ps().addGroupName(e)}),qs(4),_c(5,"translate"),_c(6,"customTranslate"),es(),$a(7,"button",4),cs("click",function(){var e=Qt(n),t=e.$implicit,i=e.index;return ps().removeGroupName(t,i)}),qs(8),_c(9,"translate"),es(),ts(10,"perun-web-apps-string-list",5),es()}if(2&e){var i=t.$implicit,r=t.index,o=ps();yo(2),js(i),yo(2),js(bc(5,8,bc(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))),yo(3),Qa("disabled",0===o.selectionList[r].selected.length),yo(1),js(bc(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")),yo(2),Qa("values",o.groupNames.get(i))("selection",o.selectionList[r])("alertText",o.alertText)("headerColumnText",o.headerColumnText)}}var qH=function(){var e=function(){function e(t,n,i,r){var o=this;_(this,e),this.store=t,this.attributesManagerService=n,this.dialog=i,this.translateService=r,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],r.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(function(e){return o.removeDialogDescription=e}),r.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(function(e){return o.removeDialogTitle=e}),r.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(function(e){return o.alertText=e}),r.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(function(e){return o.headerColumnText=e})}return w(e,[{key:"ngOnInit",value:function(){var e=this;this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(function(){e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(function(t){return e.removeDialogDescription=t}),e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(function(t){return e.removeDialogTitle=t}),e.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(function(t){return e.alertText=t}),e.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(function(t){return e.headerColumnText=t})}),this.initSelection(),this.namespaces.forEach(function(t){e.getAttribute(t)})}},{key:"initSelection",value:function(){for(var e=0;e=5120,this.newImage=t.result}},{key:"onAdd",value:function(){var e=this;this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(function(){e.dialogRef.close(!0)})}},{key:"onCancel",value:function(){this.dialogRef.close(!1)}},{key:"generateImg",value:function(){function e(e,t,n,i){i.beginPath(),i.rect(20*e,20*t,20,20),i.fillStyle="rgb("+n.join(",")+")",i.fill()}this.newImage=function(){for(var t=function(){var e=document.createElement("canvas");e.width=100,e.height=100;var t=e.getContext("2d");return t.beginPath(),t.rect(0,0,100,100),t.fillStyle="#FFFFFF",t.fill(),e}(),n=t.getContext("2d"),i=function(){for(var e=[],t=0;t<3;t++){var n=Math.floor(256*Math.random()),i=Math.max(120,n),r=Math.min(200,i);e.push(r)}return e}(),r=0;r1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";_(this,e),this.http=t,this.prefix=n,this.suffix=i}return w(e,[{key:"getTranslation",value:function(e){return this.http.get("".concat(this.prefix).concat(e).concat(this.suffix))}}]),e}(),Tj=function(){var e=function(){function e(t,n){_(this,e),this.http=t,this.storeService=n}return w(e,[{key:"initializeColors",value:function(e,t){var n=this;return new Promise(function(i){t.forEach(function(e){var t=n.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t)}),e.forEach(function(e){var t=n.storeService.get("theme",e.configValue);document.documentElement.style.setProperty(e.cssVariable,t),n.setEntityTheme(e.entity,t)}),i()})}},{key:"setEntityTheme",value:function(e,t){for(var n,i=0,r=(n=t,[Sj(tinycolor(n).lighten(52),"50"),Sj(tinycolor(n).lighten(37),"100"),Sj(tinycolor(n).lighten(26),"200"),Sj(tinycolor(n).lighten(12),"300"),Sj(tinycolor(n).lighten(6),"400"),Sj(tinycolor(n),"500"),Sj(tinycolor(n).darken(6),"600"),Sj(tinycolor(n).darken(12),"700"),Sj(tinycolor(n).darken(18),"800"),Sj(tinycolor(n).darken(24),"900"),Sj(tinycolor(n).lighten(50).saturate(30),"A100"),Sj(tinycolor(n).lighten(30).saturate(30),"A200"),Sj(tinycolor(n).lighten(10).saturate(15),"A400"),Sj(tinycolor(n).lighten(5).saturate(5),"A700")]);i1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:sO,useValue:Object.assign(Object.assign({},aO),t)},{provide:cO,useValue:n,multi:!0},{provide:uO,useValue:!0}]:[{provide:sO,useValue:Object.assign(Object.assign({},aO),t)},{provide:cO,useValue:n,multi:!0}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ei(uO),Ei(Qc))},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[oH,KO,Ej],oH,KO,Ej]}),e}(),zj=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Uw],Uw]}),e}(),Rj=new hi("perun-api-service"),Oj=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({}),e}(),xj=function(){var e=function e(){_(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ft({type:e}),e.\u0275inj=xe({imports:[[Oj,bM,Uw,Ry],Oj,Uw]}),e}(),Dj={provide:Bf,useExisting:Te(function(){return vL}),multi:!0};function Pj(e){return new kj(e,"./assets/i18n/",".json")}function Nj(e){var t={basePath:e.get("api_url")};return new Zf(t)}var Ij=function(e){return function(){return e.initialize()}},Bj=function(){var e=function e(t,n){_(this,e),this.customIconService=t,this.translate=n,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()};return e.\u0275fac=function(t){return new(t||e)(Ei(pL),Ei(TE))},e.\u0275mod=ft({type:e,bootstrap:[MD]}),e.\u0275inj=xe({providers:[pL,{provide:Uc,useFactory:Ij,multi:!0,deps:[Cj]},{provide:Zf,useFactory:Nj,deps:[lL]},kL,vL,Dj,{provide:Rj,useClass:_L}],imports:[[Gd,Iw,Gf,CE.forRoot({loader:{provide:sE,useFactory:Pj,deps:[Nf]}}),Aj,aE,Tx,qx,Yv,qM,Lj,eO,Nq,Cq,EB,nT,KS,XE,Xz,VL,kS,YD,MC,IL,VN,zj,uR,AL,OI,bM,cC,xj,xR,AS,wj,EE,WC]]}),e}();(function(){if(kl)throw new Error("Cannot enable prod mode after platform setup.");Al=!1})(),Vd().bootstrapModule(Bj).catch(function(e){return console.error(e)})},2051:function(e,t){var n,i;void 0===(i="function"==typeof(n=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){a(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}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,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,o,a){var s=r.URL||r.webkitURL,u=document.createElement("a");u.download=o=o||e.name||"download",u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?i(u):n(u.href)?t(e,o,a):i(u,u.target="_blank")):(u.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(u.href)},4e4),setTimeout(function(){i(u)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),r);else if(n(e))t(e,r,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){i(a)})}}:function(e,n,i,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var s="application/octet-stream"===e.type,u=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&u||o)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},l.readAsDataURL(e)}else{var h=r.URL||r.webkitURL,d=h.createObjectURL(e);a?a.location=d:location.href=d,a=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});r.saveAs=a.saveAs=a,e.exports=a})?n.apply(t,[]):n)||(e.exports=i)},9355:function(e,t,n){(e.exports=n(2021)).tz.load(n(4360))},2021:function(e,t,n){var i,r,o;!function(a,s){"use strict";e.exports?e.exports=s(n(9609)):(r=[n(9609)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o))}(0,function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},i={},r={},o={},a={};e&&"string"==typeof e.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=e.version.split("."),u=+s[0],c=+s[1];function l(e){return e>96?e-87:e>64?e-29:e-48}function h(e){var t=0,n=e.split("."),i=n[0],r=n[1]||"",o=1,a=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),g.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;ti&&L.moveInvalidForward&&(t=i),o3){var t=o[A(e)];if(t)return t;E("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(l){}var n,i,r,a=function(){var e,t,n,i=(new Date).getFullYear()-2,r=new v(new Date(i,0,1)),o=[r];for(n=1;n<48;n++)(t=new v(new Date(i,n,1))).offset!==r.offset&&(e=_(r,t),o.push(e),o.push(new v(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)o.push(new v(new Date(i+n,0,1))),o.push(new v(new Date(i+n,6,1)));return o}(),s=a.length,u=M(a),c=[];for(i=0;i0?c[0].zone.name:void 0}()),t},L.names=function(){var e,t=[];for(e in o)o.hasOwnProperty(e)&&(n[e]||n[i[e]])&&o[e]&&t.push(o[e]);return t.sort()},L.Zone=g,L.unpack=p,L.unpackBase60=h,L.needsOffset=C,L.moveInvalidForward=!0,L.moveAmbiguousForward=!1,L.countries=function(){return Object.keys(r)},L.zonesForCountry=function(e,t){var n;if(n=(n=e).toUpperCase(),!(e=r[n]||null))return null;var i=e.zones.sort();return t?i.map(function(e){return{name:e,offset:T(e).utcOffset(new Date)}}):i};var z,R=e.fn;function O(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function x(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=L,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;if(void 0===t._z&&(r&&C(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z)if(i=t._z.utcOffset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset){var o=t._z;t.utcOffset(-i,n),t._z=o}else t.zone(i,n)},R.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=T(t),this._z?e.updateOffset(this,n):E("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},R.zoneName=O(R.zoneName),R.zoneAbbr=O(R.zoneAbbr),R.utc=x(R.utc),R.local=x(R.local),R.utcOffset=(z=R.utcOffset,function(){return arguments.length>0&&(this._z=null),z.apply(this,arguments)}),e.tz.setDefault=function(t){return(u<2||2===u&&c<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?T(t):null,e};var D=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(D)?(D.push("_z"),D.push("_a")):D&&(D._z=null),e})},776:function(e,t,n){!function(e){"use strict";e.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},2758:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{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:"\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:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:4}})}(n(9609))},4980:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},9602:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={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"]},r=function(e){return function(t,r,o,a){var s=n(t),u=i[e][n(t)];return 2===s&&(u=u[r?0:1]),u.replace(/%d/i,t)}},o=["\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"];e.defineLocale("ar-ly",{months:o,monthsShort:o,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(e){return"\u0645"===e},meridiem:function(e,t,n){return e<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:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},2500:function(e,t,n){!function(e){"use strict";e.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\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:6,doy:12}})}(n(9609))},6909:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.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,t,n){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(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n(9609))},2735:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},7634:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={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"]},o=function(e){return function(t,n,o,a){var s=i(t),u=r[e][i(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},a=["\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"];e.defineLocale("ar",{months:a,monthsShort:a,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(e){return"\u0645"===e},meridiem:function(e,t,n){return e<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:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},7798:function(e,t,n){!function(e){"use strict";var t={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"};e.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:"birne\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(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},9949:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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:t?"\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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){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,t){switch(t){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}})}(n(9609))},4590:function(e,t,n){!function(e){"use strict";e.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\u0440_\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"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\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\u043d\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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9609))},5938:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},595:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\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_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\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_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){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}})}(n(9609))},4756:function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.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\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("_"),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\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("_"),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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){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}})}(n(9609))},7277:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n(9609))},4166:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},3943:function(e,t,n){!function(e){"use strict";e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(9609))},3474:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^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],r=/^(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 o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(o(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(o(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(o(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(o(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},2218:function(e,t,n){!function(e){"use strict";e.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(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\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}})}(n(9609))},1061:function(e,t,n){!function(e){"use strict";e.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(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(9609))},2743:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8580:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},3264:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},1899:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},8784:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,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,t,n){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}})}(n(9609))},4654:function(e,t,n){!function(e){"use strict";e.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(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.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(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").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(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.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}})}(n(9609))},4047:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},6277:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},6896:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9609))},1609:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},4557:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},5836:function(e,t,n){!function(e){"use strict";e.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",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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9609))},3586:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},2777:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(9609))},3128:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},3256:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},3357:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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}})}(n(9609))},2654:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},7287:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},3875:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.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,t,n){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:"\u062b\u0627\u0646\u06cc\u0647 d%",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(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n(9609))},3431:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,o){var a="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,o)+" "+a}e.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: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:4}})}(n(9609))},1781:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},1539:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(9609))},9847:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(9609))},1717:function(e,t,n){!function(e){"use strict";e.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("_"),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|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(9609))},2250:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},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}})}(n(9609))},7665:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","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 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","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:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] 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\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(9609))},5214:function(e,t,n){!function(e){"use strict";e.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(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(9609))},6154:function(e,t,n){!function(e){"use strict";e.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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},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}})}(n(9609))},8518:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(9609))},9221:function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.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\u0ac7\u0ab9\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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},4743:function(e,t,n){!function(e){"use strict";e.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(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \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(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n(9609))},7339:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\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("_"),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("_"),monthsParseExact:!0,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"},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(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n(9609))},3224:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.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:"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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},856:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.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("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},6855:function(e,t,n){!function(e){"use strict";e.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(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<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(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n(9609))},2190:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<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:1,doy:7}})}(n(9609))},3887:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var o=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?o+(n||r?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?o+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return t(e)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(r?"daga":"d\xf6gum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?o+"m\xe1nu\xf0ir":o+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?o+"m\xe1nu\xf0ur":o+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?o+(n||r?"\xe1r":"\xe1rum"):o+(n||r?"\xe1r":"\xe1ri")}}e.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:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},5890:function(e,t,n){!function(e){"use strict";e.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(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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}})}(n(9609))},9270:function(e,t,n){!function(e){"use strict";e.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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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}})}(n(9609))},6595:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{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:"\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(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<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}})}(n(9609))},7477:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\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("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".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:"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:"[\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(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},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(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n(9609))},3978:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},9205:function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.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,t,n){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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(9609))},25:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},427:function(e,t,n){!function(e){"use strict";e.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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n(9609))},9089:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\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"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9609))},9314:function(e,t,n){!function(e){"use strict";var t={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"};e.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(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},3136:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={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 t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.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(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},9115:function(e,t,n){!function(e){"use strict";e.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(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<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(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n(9609))},7087:function(e,t,n){!function(e){"use strict";var t={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 n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(i(e)?r(o)[1]:r(o)[0]):a?s+r(o)[1]:s+(i(e)?r(o)[1]:r(o)[2])}e.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(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(9609))},5683:function(e,t,n){!function(e){"use strict";var t={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 n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},9454:function(e,t,n){!function(e){"use strict";var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},5507:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8466:function(e,t,n){!function(e){"use strict";e.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:"\u043f\u043e\u0441\u043b\u0435 %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:"\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",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",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(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9609))},2933:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n(9609))},9477:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\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 e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.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(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n(9609))},3597:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n(9609))},9965:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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}})}(n(9609))},5529:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<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}})}(n(9609))},259:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},8061:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n(9609))},2618:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_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",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}})}(n(9609))},8452:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},413:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},1885:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9609))},5107:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_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 [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",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}})}(n(9609))},702:function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){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}})}(n(9609))},1711:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),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:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},8238:function(e,t,n){!function(e){"use strict";e.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"})}(n(9609))},594:function(e,t,n){!function(e){"use strict";e.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",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}})}(n(9609))},4681:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._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:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(9609))},6201:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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",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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\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];e.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:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n(9609))},2912:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,t,n){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}})}(n(9609))},6002:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},7942:function(e,t,n){!function(e){"use strict";e.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(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n(9609))},5577:function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?o+(i(e)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?o+(i(e)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(i(e)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?o+(i(e)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?o+(i(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?o+(i(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,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:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %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}})}(n(9609))},1775:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},6823:function(e,t,n){!function(e){"use strict";e.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(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<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}})}(n(9609))},3848:function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:"DD.MM.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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},9038:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.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:"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] [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:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9609))},6173:function(e,t,n){!function(e){"use strict";e.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(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(9609))},5788:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(9609))},6882:function(e,t,n){!function(e){"use strict";e.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",LTS:"HH:mm: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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(9609))},2678:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.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(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){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,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(9609))},2797:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n(9609))},2447:function(e,t,n){!function(e){"use strict";e.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:"minutu balun",ss:"minutu %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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},1335:function(e,t,n){!function(e){"use strict";var t={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"};e.defineLocale("tg",{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:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \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(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9609))},8667:function(e,t,n){!function(e){"use strict";e.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(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<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",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n(9609))},9914:function(e,t,n){!function(e){"use strict";e.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(e){return e},week:{dow:1,doy:4}})}(n(9609))},1389:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var o=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+t[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+t[r]),""===o?"pagh":o}(e);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.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(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},3578:function(e,t,n){!function(e){"use strict";var t={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"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm: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",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(9609))},6969:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.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(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9609))},690:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},6509:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},55:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n(9609))},2452:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\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:t?"\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:t?"\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"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.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(e,t){var n={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===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.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:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n(9609))},1151:function(e,t,n){!function(e){"use strict";var t=["\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"],n=["\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"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,t,n){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}})}(n(9609))},6547:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},1555:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},6541:function(e,t,n){!function(e){"use strict";e.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:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"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 r\u1ed3i 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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(9609))},2401:function(e,t,n){!function(e){"use strict";e.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(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9609))},2341:function(e,t,n){!function(e){"use strict";e.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}})}(n(9609))},619:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",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",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n(9609))},7058:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},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"}})}(n(9609))},2782:function(e,t,n){!function(e){"use strict";e.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(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},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"}})}(n(9609))},9609:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,j={},Y={};function W(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return F(r.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=K(t,e.localeData()),j[t]=j[t]||function(e){var t,n,i,r=e.match(H);for(t=0,n=r.length;t=0&&q.test(e);)e=e.replace(q,i),q.lastIndex=0,n-=1;return e}var V=/\d/,X=/\d\d/,G=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,$=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,ie=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ue=/[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,ce={};function le(e,t,n){ce[e]=z(t)?t:function(e,i){return e&&n?n:t}}function he(e,t){return h(ce,e)?ce[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=A(e)}),n=0;n68?1900:2e3)};var _e,be=we("FullYear",!0);function we(e,t){return function(n){return null!=n?(Ae(this,e,n),r.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ae(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ye(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?ye(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}function Pe(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ne(e,t,n){var i=7+t-n;return-(7+Pe(e,0,i).getUTCDay()-t)%7+i-1}function Ie(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+Ne(e,i,r);return s<=0?a=ve(o=e-1)+s:s>ve(e)?(o=e+1,a=s-ve(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Be(e,t,n){var i,r,o=Ne(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+Fe(r=e.year()-1,t,n):a>Fe(e.year(),t,n)?(i=a-Fe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Fe(e,t,n){var i=Ne(e,t,n),r=Ne(e+1,t,n);return(ve(e)-i+r)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),B("week",5),B("isoWeek",5),le("w",Z),le("ww",Z,X),le("W",Z),le("WW",Z,X),ge(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=A(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,i){t[i]=A(e)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function We(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,a))||-1!==(r=_e.call(this._shortWeekdaysParse,a))||-1!==(r=_e.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,a))||-1!==(r=_e.call(this._weekdaysParse,a))||-1!==(r=_e.call(this._minWeekdaysParse,a))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,a))||-1!==(r=_e.call(this._weekdaysParse,a))||-1!==(r=_e.call(this._shortWeekdaysParse,a))?r:null}var Ue=ue,Ke=ue,Ve=ue;function Xe(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),u.push(o),c.push(i),c.push(r),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=de(s[t]),u[t]=de(u[t]),c[t]=de(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Je(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Qe(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Ge),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Ge.apply(this)+F(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Ge.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),Je("a",!0),Je("A",!1),D("hour","h"),B("hour",13),le("a",Qe),le("A",Qe),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,X),le("hh",Z,X),le("kk",Z,X),le("hmm",$),le("hmmss",ee),le("Hmm",$),le("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],function(e,t,n){var i=A(e);t[3]=24===i?0:i}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[3]=A(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var i=e.length-2;t[3]=A(e.substr(0,i)),t[4]=A(e.substr(i)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=A(e.substr(0,i)),t[4]=A(e.substr(i,2)),t[5]=A(e.substr(r)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var i=e.length-2;t[3]=A(e.substr(0,i)),t[4]=A(e.substr(i))}),pe("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=A(e.substr(0,i)),t[4]=A(e.substr(i,2)),t[5]=A(e.substr(r))});var Ze,$e=we("Hours",!0),et={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:Ce,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:Ye,weekdaysShort:je,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var i=null;if(!tt[t]&&e&&e.exports)try{i=Ze._abbr,n(6700)("./"+t),ot(i)}catch(r){}return tt[t]}function ot(e,t){var n;return e&&((n=s(t)?st(e):at(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function at(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new O(R(i,t)),nt[e]&&nt[e].forEach(function(e){at(e.name,e.config)}),ot(e),tt[e]}return delete tt[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&k(r,n,!0)>=t-1)break;t--}o++}return Ze}(e)}function ut(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function ct(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=ct(t.GG,e._a[0],Be(kt(),1,4).year),i=ct(t.W,1),((r=ct(t.E,1))<1||r>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Be(kt(),o,a);n=ct(t.gg,e._a[0],c.year),i=ct(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(u=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(u=!0)):r=o}i<1||i>Fe(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ie(n,i,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ct(e._a[0],i[0]),(e._dayOfYear>ve(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Pe(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Pe:De).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var ht=/^\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)?)?$/,dt=/^\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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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}/]],gt=[["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/]],mt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,i,r,o,a,s=e._i,u=ht.exec(s)||dt.exec(s);if(u){for(p(e).iso=!0,t=0,n=pt.length;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),Y[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),me(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-c,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),ut(e)}else bt(e);else vt(e)}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new b(ut(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,i,r,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:m()});function Ct(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return kt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function $t(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){W(0,[e,e.length],0,t)}function tn(e,t,n,i,r){var o;return null==e?Be(this,i,r).year:(t>(o=Fe(e,i,r))&&(t=o),nn.call(this,e,t,n,i,r))}function nn(e,t,n,i,r){var o=Ie(e,t,n,i,r),a=Pe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",Z,X),le("gg",Z,X),le("GGGG",ne,J),le("gggg",ne,J),le("GGGGG",ie,Q),le("ggggg",ie,Q),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=A(e)}),ge(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),D("quarter","Q"),B("quarter",7),le("Q",V),pe("Q",function(e,t){t[1]=3*(A(e)-1)}),W("D",["DD",2],"Do","date"),D("date","D"),B("date",9),le("D",Z),le("DD",Z,X),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],2),pe("Do",function(e,t){t[2]=A(e.match(Z)[0])});var rn=we("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),B("dayOfYear",4),le("DDD",te),le("DDDD",G),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=A(e)}),W("m",["mm",2],0,"minute"),D("minute","m"),B("minute",14),le("m",Z),le("mm",Z,X),pe(["m","mm"],4);var on=we("Minutes",!1);W("s",["ss",2],0,"second"),D("second","s"),B("second",15),le("s",Z),le("ss",Z,X),pe(["s","ss"],5);var an,sn=we("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),B("millisecond",16),le("S",te,V),le("SS",te,X),le("SSS",te,G),an="SSSS";an.length<=9;an+="S")le(an,re);function un(e,t){t[6]=A(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")pe(an,un);var cn=we("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ln=b.prototype;function hn(e){return e}ln.add=Ut,ln.calendar=function(e,t){var n=e||kt(),i=Pt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(z(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,kt(n)))},ln.clone=function(){return new b(this)},ln.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Pt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=P(t)){case"year":o=Vt(this,i)/12;break;case"month":o=Vt(this,i);break;case"quarter":o=Vt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:M(o)},ln.endOf=function(e){var t;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?$t:Zt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Qt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Qt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},ln.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},ln.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.fromNow=function(e){return this.from(kt(),e)},ln.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ln.toNow=function(e){return this.to(kt(),e)},ln.get=function(e){return z(this[e=P(e)])?this[e]():this},ln.invalidAt=function(){return p(this).overflow},ln.isAfter=function(e,t){var n=w(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):z(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=be,ln.isLeapYear=function(){return ye(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ln.month=ze,ln.daysInMonth=function(){return ke(this.year(),this.month())},ln.week=ln.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ln.isoWeek=ln.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ln.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},ln.isoWeeksInYear=function(){return Fe(this.year(),1,4)},ln.date=rn,ln.day=ln.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},ln.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ln.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},ln.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ln.hour=ln.hours=$e,ln.minute=ln.minutes=on,ln.second=ln.seconds=sn,ln.millisecond=ln.milliseconds=cn,ln.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Dt(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Nt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Wt(this,Ht(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Nt(this)},ln.utc=function(e){return this.utcOffset(0,e)},ln.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Dt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=It,ln.isUTC=It,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=S("dates accessor is deprecated. Use date instead.",rn),ln.months=S("months accessor is deprecated. Use month instead",ze),ln.years=S("years accessor is deprecated. Use year instead",be),ln.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),ln.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Mt(e))._a){var t=e._isUTC?f(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=O.prototype;function fn(e,t,n,i){var r=st(),o=f().set(i,t);return r[n](o,e)}function pn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=fn(e,i,n,"month");return r}function gn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,o=st(),a=e?o._week.dow:0;if(null!=n)return fn(t,(n+a)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=fn(t,(r+a)%7,i,"day");return s}dn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return z(i)?i.call(t,n):i},dn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(e){return this._ordinal.replace("%d",e)},dn.preparse=hn,dn.postformat=hn,dn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return z(r)?r(e,t,n,i):r.replace(/%d/i,e)},dn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return z(n)?n(t):n.replace(/%s/i,t)},dn.set=function(e){var t,n;for(n in e)z(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},dn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},dn.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||xe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||xe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},dn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},dn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},dn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},dn.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},dn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===A(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",st);var mn=Math.abs;function vn(e,t,n,i){var r=Ht(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var Mn=wn("ms"),An=wn("s"),kn=wn("m"),Tn=wn("h"),Sn=wn("d"),Cn=wn("w"),En=wn("M"),Ln=wn("Q"),zn=wn("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var On=Rn("milliseconds"),xn=Rn("seconds"),Dn=Rn("minutes"),Pn=Rn("hours"),Nn=Rn("days"),In=Rn("months"),Bn=Rn("years"),Fn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function qn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var jn=Math.abs;function Yn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=jn(this._milliseconds)/1e3,i=jn(this._days),r=jn(this._months);e=M(n/60),t=M(e/60),n%=60,e%=60;var o=M(r/12),a=r%=12,s=i,u=t,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=Yn(this._months)!==Yn(h)?"-":"",p=Yn(this._days)!==Yn(h)?"-":"",g=Yn(this._milliseconds)!==Yn(h)?"-":"";return d+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(u||c||l?"T":"")+(u?g+u+"H":"")+(c?g+c+"M":"")+(l?g+l+"S":"")}var Un=Lt.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},Un.add=function(e,t){return vn(this,e,t,1)},Un.subtract=function(e,t){return vn(this,e,t,-1)},Un.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(n=this._months+_n(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Un.asMilliseconds=Mn,Un.asSeconds=An,Un.asMinutes=kn,Un.asHours=Tn,Un.asDays=Sn,Un.asWeeks=Cn,Un.asMonths=En,Un.asQuarters=Ln,Un.asYears=zn,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12):NaN},Un._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*yn(bn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=M(o/1e3),u.seconds=e%60,t=M(e/60),u.minutes=t%60,n=M(t/60),u.hours=n%24,a+=M(n/24),s+=r=M(_n(a)),a-=yn(bn(r)),i=M(s/12),s%=12,u.days=a,u.months=s,u.years=i,this},Un.clone=function(){return Ht(this)},Un.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Un.milliseconds=On,Un.seconds=xn,Un.minutes=Dn,Un.hours=Pn,Un.days=Nn,Un.weeks=function(){return M(this.days()/7)},Un.months=In,Un.years=Bn,Un.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Ht(e).abs(),r=Fn(i.as("s")),o=Fn(i.as("m")),a=Fn(i.as("h")),s=Fn(i.as("d")),u=Fn(i.as("M")),c=Fn(i.as("y")),l=r<=Hn.ss&&["s",r]||r0,l[4]=n,qn.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Un.toISOString=Wn,Un.toString=Wn,Un.toJSON=Wn,Un.locale=Xt,Un.localeData=Jt,Un.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Un.lang=Gt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(A(e))}),r.version="2.24.0",t=kt,r.fn=ln,r.min=function(){return Ct("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ct("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=c,r.locale=ot,r.invalid=m,r.duration=Ht,r.isMoment=w,r.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=zt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=(i=rt(e))&&(r=i._config),(n=new O(t=R(r,t))).parentLocale=tt[e],tt[e]=n,ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return C(tt)},r.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=ln,r.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"},r}()},9997:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n=4){for(var e=arguments.length,t=Array(e),n=0;n=3){for(var e=arguments.length,t=Array(e),n=0;n=2){for(var e=arguments.length,t=Array(e),n=0;n=1){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw r.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=t,this._jsonService=new n(["application/jwk-set+json"])}return e.prototype.getMetadata=function(){var e=this;return this._settings.metadata?(r.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(r.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(t){return r.Log.debug("MetadataService.getMetadata: json received"),e._settings.metadata=t,t})):(r.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},e.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},e.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},e.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},e.prototype.getTokenEndpoint=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",e)},e.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},e.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},e.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},e.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},e.prototype._getMetadataProperty=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.Log.debug("MetadataService.getMetadataProperty for: "+e),this.getMetadata().then(function(n){if(r.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===n[e]){if(!0===t)return void r.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+e);throw r.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+e),new Error("Metadata does not contain property "+e)}return n[e]})},e.prototype.getSigningKeys=function(){var e=this;return this._settings.signingKeys?(r.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(t){return r.Log.debug("MetadataService.getSigningKeys: jwks_uri received",t),e._jsonService.getJson(t).then(function(t){if(r.Log.debug("MetadataService.getSigningKeys: key set received",t),!t.keys)throw r.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return e._settings.signingKeys=t.keys,e._settings.signingKeys})})},i(e,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration"))),this._metadataUrl}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlUtility=void 0;var i=n(0),r=n(1);t.UrlUtility=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.addQueryParam=function(e,t,n){return e.indexOf("?")<0&&(e+="?"),"?"!==e[e.length-1]&&(e+="&"),e+=encodeURIComponent(t),(e+="=")+encodeURIComponent(n)},e.parseUrlFragment=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.Global;"string"!=typeof e&&(e=n.location.href);var o=e.lastIndexOf(t);o>=0&&(e=e.substr(o+1)),"?"===t&&(o=e.indexOf("#"))>=0&&(e=e.substr(0,o));for(var a,s={},u=/([^&=]+)=([^&]*)/g,c=0;a=u.exec(e);)if(s[decodeURIComponent(a[1])]=decodeURIComponent(a[2]),c++>50)return i.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",e),{error:"Response exceeded expected number of parameters"};for(var l in s)return s;return{}},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JoseUtil=void 0;var i=n(25),r=function(e){return e&&e.__esModule?e:{default:e}}(n(32));t.JoseUtil=(0,r.default)({jws:i.jws,KeyUtil:i.KeyUtil,X509:i.X509,crypto:i.crypto,hextob64u:i.hextob64u,b64tohex:i.b64tohex,AllowedSigningAlgs:i.AllowedSigningAlgs})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClientSettings=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.authority,r=t.metadataUrl,o=t.metadata,h=t.signingKeys,d=t.client_id,f=t.client_secret,p=t.response_type,g=void 0===p?c:p,m=t.scope,v=void 0===m?l:m,y=t.redirect_uri,_=t.post_logout_redirect_uri,b=t.prompt,w=t.display,M=t.max_age,A=t.ui_locales,k=t.acr_values,T=t.resource,S=t.response_mode,C=t.filterProtocolClaims,E=void 0===C||C,L=t.loadUserInfo,z=void 0===L||L,R=t.staleStateAge,O=void 0===R?900:R,x=t.clockSkew,D=void 0===x?300:x,P=t.userInfoJwtIssuer,N=void 0===P?"OP":P,I=t.stateStore,B=void 0===I?new a.WebStorageStateStore:I,F=t.ResponseValidatorCtor,H=void 0===F?s.ResponseValidator:F,q=t.MetadataServiceCtor,j=void 0===q?u.MetadataService:q,Y=t.extraQueryParams,W=void 0===Y?{}:Y,U=t.extraTokenParams,K=void 0===U?{}:U;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._authority=n,this._metadataUrl=r,this._metadata=o,this._signingKeys=h,this._client_id=d,this._client_secret=f,this._response_type=g,this._scope=v,this._redirect_uri=y,this._post_logout_redirect_uri=_,this._prompt=b,this._display=w,this._max_age=M,this._ui_locales=A,this._acr_values=k,this._resource=T,this._response_mode=S,this._filterProtocolClaims=!!E,this._loadUserInfo=!!z,this._staleStateAge=O,this._clockSkew=D,this._userInfoJwtIssuer=N,this._stateStore=B,this._validator=new H(this),this._metadataService=new j(this),this._extraQueryParams="object"===(void 0===W?"undefined":i(W))?W:{},this._extraTokenParams="object"===(void 0===K?"undefined":i(K))?K:{}}return r(e,[{key:"client_id",get:function(){return this._client_id},set:function(e){if(this._client_id)throw o.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=e}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(e){if(this._authority)throw o.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=e}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(".well-known/openid-configuration")<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=".well-known/openid-configuration")),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(e){this._metadata=e}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(e){this._signingKeys=e}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(e){this._extraQueryParams="object"===(void 0===e?"undefined":i(e))?e:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(e){this._extraTokenParams="object"===(void 0===e?"undefined":i(e))?e:{}}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebStorageStateStore=void 0;var i=n(0),r=n(1);t.WebStorageStateStore=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.prefix,i=void 0===n?"oidc.":n,o=t.store,a=void 0===o?r.Global.localStorage:o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._store=a,this._prefix=i}return e.prototype.set=function(e,t){return i.Log.debug("WebStorageStateStore.set",e),this._store.setItem(e=this._prefix+e,t),Promise.resolve()},e.prototype.get=function(e){i.Log.debug("WebStorageStateStore.get",e);var t=this._store.getItem(e=this._prefix+e);return Promise.resolve(t)},e.prototype.remove=function(e){i.Log.debug("WebStorageStateStore.remove",e);var t=this._store.getItem(e=this._prefix+e);return this._store.removeItem(e),Promise.resolve(t)},e.prototype.getAllKeys=function(){i.Log.debug("WebStorageStateStore.getAllKeys");for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Global.XMLHttpRequest,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._contentTypes=t&&Array.isArray(t)?t.slice():[],this._contentTypes.push("application/json"),i&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=n,this._jwtHandler=i}return e.prototype.getJson=function(e,t){var n=this;if(!e)throw i.Log.error("JsonService.getJson: No url passed"),new Error("url");return i.Log.debug("JsonService.getJson, url: ",e),new Promise(function(r,o){var a=new n._XMLHttpRequest;a.open("GET",e);var s=n._contentTypes,u=n._jwtHandler;a.onload=function(){if(i.Log.debug("JsonService.getJson: HTTP response received, status",a.status),200===a.status){var t=a.getResponseHeader("Content-Type");if(t){var n=s.find(function(e){if(t.startsWith(e))return!0});if("application/jwt"==n)return void u(a).then(r,o);if(n)try{return void r(JSON.parse(a.responseText))}catch(r){return i.Log.error("JsonService.getJson: Error parsing JSON response",r.message),void o(r)}}o(Error("Invalid response Content-Type: "+t+", from URL: "+e))}else o(Error(a.statusText+" ("+a.status+")"))},a.onerror=function(){i.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},t&&(i.Log.debug("JsonService.getJson: token passed, setting Authorization header"),a.setRequestHeader("Authorization","Bearer "+t)),a.send()})},e.prototype.postForm=function(e,t){var n=this;if(!e)throw i.Log.error("JsonService.postForm: No url passed"),new Error("url");return i.Log.debug("JsonService.postForm, url: ",e),new Promise(function(r,o){var a=new n._XMLHttpRequest;a.open("POST",e);var s=n._contentTypes;a.onload=function(){if(i.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(n=a.getResponseHeader("Content-Type"))&&s.find(function(e){if(n.startsWith(e))return!0}))try{var t=JSON.parse(a.responseText);if(t&&t.error)return i.Log.error("JsonService.postForm: Error from server: ",t.error),void o(new Error(t.error))}catch(r){return i.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void o(r)}o(Error(a.statusText+" ("+a.status+")"))}else{var n;if((n=a.getResponseHeader("Content-Type"))&&s.find(function(e){if(n.startsWith(e))return!0}))try{return void r(JSON.parse(a.responseText))}catch(r){return i.Log.error("JsonService.postForm: Error parsing JSON response",r.message),void o(r)}o(Error("Invalid response Content-Type: "+n+", from URL: "+e))}},a.onerror=function(){i.Log.error("JsonService.postForm: network error"),o(Error("Network Error"))};var u="";for(var c in t){var l=t[c];l&&(u.length>0&&(u+="&"),u+=encodeURIComponent(c),u+="=",u+=encodeURIComponent(l))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.send(u)})},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.id,i=t.data,r=t.created,a=t.request_type;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=n||(0,o.default)(),this._data=i,this._created="number"==typeof r&&r>0?r:parseInt(Date.now()/1e3),this._request_type=a}return e.prototype.toStorageString=function(){return r.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},e.fromStorageString=function(t){return r.Log.debug("State.fromStorageString"),new e(JSON.parse(t))},e.clearStaleState=function(t,n){var i=Date.now()/1e3-n;return t.getAllKeys().then(function(n){r.Log.debug("State.clearStaleState: got keys",n);for(var o=[],a=function(a){var s=n[a];u=t.get(s).then(function(n){var o=!1;if(n)try{var a=e.fromStorageString(n);r.Log.debug("State.clearStaleState: got item from key: ",s,a.created),a.created<=i&&(o=!0)}catch(e){r.Log.error("State.clearStaleState: Error parsing state for key",s,e.message),o=!0}else r.Log.debug("State.clearStaleState: no item in storage for key: ",s),o=!0;if(o)return r.Log.debug("State.clearStaleState: removed item for key: ",s),t.remove(s)}),o.push(u)},s=0;s0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._settings=t instanceof o.OidcClientSettings?t:new o.OidcClientSettings(t)}return e.prototype.createSigninRequest=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.response_type,i=t.scope,o=t.redirect_uri,a=t.data,u=t.state,c=t.prompt,l=t.display,h=t.max_age,d=t.ui_locales,f=t.id_token_hint,p=t.login_hint,g=t.acr_values,m=t.resource,v=t.request,y=t.request_uri,_=t.response_mode,b=t.extraQueryParams,w=t.extraTokenParams,M=t.request_type,A=t.skipUserInfo,k=arguments[1];r.Log.debug("OidcClient.createSigninRequest");var T=this._settings.client_id;i=i||this._settings.scope,o=o||this._settings.redirect_uri,c=c||this._settings.prompt,l=l||this._settings.display,h=h||this._settings.max_age,d=d||this._settings.ui_locales,g=g||this._settings.acr_values,m=m||this._settings.resource,_=_||this._settings.response_mode,b=b||this._settings.extraQueryParams,w=w||this._settings.extraTokenParams;var S=this._settings.authority;return s.SigninRequest.isCode(n=n||this._settings.response_type)&&"code"!==n?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(t){r.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",t);var C=new s.SigninRequest({url:t,client_id:T,redirect_uri:o,response_type:n,scope:i,data:a||u,authority:S,prompt:c,display:l,max_age:h,ui_locales:d,id_token_hint:f,login_hint:p,acr_values:g,resource:m,request:v,request_uri:y,extraQueryParams:b,extraTokenParams:w,request_type:M,response_mode:_,client_secret:e._settings.client_secret,skipUserInfo:A}),E=C.state;return(k=k||e._stateStore).set(E.id,E.toStorageString()).then(function(){return C})})},e.prototype.readSigninResponseState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.Log.debug("OidcClient.readSigninResponseState");var i="query"===this._settings.response_mode||!this._settings.response_mode&&s.SigninRequest.isCode(this._settings.response_type)?"?":"#",o=new u.SigninResponse(e,i);return o.state?(t=t||this._stateStore,(n?t.remove.bind(t):t.get.bind(t))(o.state).then(function(e){if(!e)throw r.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:h.SigninState.fromStorageString(e),response:o}})):(r.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response")))},e.prototype.processSigninResponse=function(e,t){var n=this;return r.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(e,t,!0).then(function(e){var t=e.state,i=e.response;return r.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),n._validator.validateSigninResponse(t,i)})},e.prototype.createSignoutRequest=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.id_token_hint,i=t.data,o=t.state,a=t.post_logout_redirect_uri,s=t.extraQueryParams,u=t.request_type,l=arguments[1];return r.Log.debug("OidcClient.createSignoutRequest"),a=a||this._settings.post_logout_redirect_uri,s=s||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(t){if(!t)throw r.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");r.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",t);var h=new c.SignoutRequest({url:t,id_token_hint:n,post_logout_redirect_uri:a,data:i||o,extraQueryParams:s,request_type:u}),d=h.state;return d&&(r.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(l=l||e._stateStore).set(d.id,d.toStorageString())),h})},e.prototype.readSignoutResponseState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.Log.debug("OidcClient.readSignoutResponseState");var i=new l.SignoutResponse(e);if(!i.state)return r.Log.debug("OidcClient.readSignoutResponseState: No state in response"),i.error?(r.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",i.error),Promise.reject(new a.ErrorResponse(i))):Promise.resolve({undefined:void 0,response:i});var o=i.state;return t=t||this._stateStore,(n?t.remove.bind(t):t.get.bind(t))(o).then(function(e){if(!e)throw r.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:d.State.fromStorageString(e),response:i}})},e.prototype.processSignoutResponse=function(e,t){var n=this;return r.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(e,t,!0).then(function(e){var t=e.state,i=e.response;return t?(r.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),n._validator.validateSignoutResponse(t,i)):(r.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),i)})},e.prototype.clearStaleState=function(e){return r.Log.debug("OidcClient.clearStaleState"),d.State.clearStaleState(e=e||this._stateStore,this.settings.staleStateAge)},i(e,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenClient=void 0;var i=n(7),r=n(2),o=n(0);t.TokenClient=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw o.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=t,this._jsonService=new n,this._metadataService=new a(this._settings)}return e.prototype.exchangeCode=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).grant_type=t.grant_type||"authorization_code",t.client_id=t.client_id||this._settings.client_id,t.redirect_uri=t.redirect_uri||this._settings.redirect_uri,t.code?t.redirect_uri?t.code_verifier?t.client_id?this._metadataService.getTokenEndpoint(!1).then(function(n){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),e._jsonService.postForm(n,t).then(function(e){return o.Log.debug("TokenClient.exchangeCode: response received"),e})}):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},e.prototype.exchangeRefreshToken=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).grant_type=t.grant_type||"refresh_token",t.client_id=t.client_id||this._settings.client_id,t.client_secret=t.client_secret||this._settings.client_secret,t.refresh_token?t.client_id?this._metadataService.getTokenEndpoint(!1).then(function(n){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),e._jsonService.postForm(n,t).then(function(e){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),e})}):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorResponse=void 0;var i=n(0);t.ErrorResponse=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.error,o=n.error_description,a=n.error_uri,s=n.state,u=n.session_state;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),!r)throw i.Log.error("No error passed to ErrorResponse"),new Error("error");var c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,o||r));return c.name="ErrorResponse",c.error=r,c.error_description=o,c.error_uri=a,c.state=s,c.session_state=u,c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(Error)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninRequest=void 0;var i=n(0),r=n(3),o=n(13);t.SigninRequest=function(){function e(t){var n=t.url,a=t.client_id,s=t.redirect_uri,u=t.response_type,c=t.scope,l=t.authority,h=t.data,d=t.prompt,f=t.display,p=t.max_age,g=t.ui_locales,m=t.id_token_hint,v=t.login_hint,y=t.acr_values,_=t.resource,b=t.response_mode,w=t.request,M=t.request_uri,A=t.extraQueryParams,k=t.request_type,T=t.client_secret,S=t.extraTokenParams,C=t.skipUserInfo;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!n)throw i.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!a)throw i.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!s)throw i.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!u)throw i.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!c)throw i.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!l)throw i.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var E=e.isOidc(u),L=e.isCode(u);b||(b=e.isCode(u)?"query":null),this.state=new o.SigninState({nonce:E,data:h,client_id:a,authority:l,redirect_uri:s,code_verifier:L,request_type:k,response_mode:b,client_secret:T,scope:c,extraTokenParams:S,skipUserInfo:C}),n=r.UrlUtility.addQueryParam(n,"client_id",a),n=r.UrlUtility.addQueryParam(n,"redirect_uri",s),n=r.UrlUtility.addQueryParam(n,"response_type",u),n=r.UrlUtility.addQueryParam(n,"scope",c),n=r.UrlUtility.addQueryParam(n,"state",this.state.id),E&&(n=r.UrlUtility.addQueryParam(n,"nonce",this.state.nonce)),L&&(n=r.UrlUtility.addQueryParam(n,"code_challenge",this.state.code_challenge),n=r.UrlUtility.addQueryParam(n,"code_challenge_method","S256"));var z={prompt:d,display:f,max_age:p,ui_locales:g,id_token_hint:m,login_hint:v,acr_values:y,resource:_,request:w,request_uri:M,response_mode:b};for(var R in z)z[R]&&(n=r.UrlUtility.addQueryParam(n,R,z[R]));for(var O in A)n=r.UrlUtility.addQueryParam(n,O,A[O]);this.url=n}return e.isOidc=function(e){return!!e.split(/\s+/g).filter(function(e){return"id_token"===e})[0]},e.isOAuth=function(e){return!!e.split(/\s+/g).filter(function(e){return"token"===e})[0]},e.isCode=function(e){return!!e.split(/\s+/g).filter(function(e){return"code"===e})[0]},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninState=void 0;var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},i=n.nonce,r=n.authority,o=n.client_id,u=n.redirect_uri,c=n.code_verifier,l=n.response_mode,h=n.client_secret,d=n.scope,f=n.extraTokenParams,p=n.skipUserInfo;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var g=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,arguments[0]));if(!0===i?g._nonce=(0,s.default)():i&&(g._nonce=i),!0===c?g._code_verifier=(0,s.default)()+(0,s.default)()+(0,s.default)():c&&(g._code_verifier=c),g.code_verifier){var m=a.JoseUtil.hashString(g.code_verifier,"SHA256");g._code_challenge=a.JoseUtil.hexToBase64Url(m)}return g._redirect_uri=u,g._authority=r,g._client_id=o,g._response_mode=l,g._client_secret=h,g._scope=d,g._extraTokenParams=f,g._skipUserInfo=p,g}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.toStorageString=function(){return r.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},t.fromStorageString=function(e){return r.Log.debug("SigninState.fromStorageString"),new t(JSON.parse(e))},i(t,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),t}(o.State)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().replace(/-/g,"")};var i=function(e){return e&&e.__esModule?e:{default:e}}(n(33));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.User=void 0;var i=function(){function e(e,t){for(var n=0;n0){var n=parseInt(Date.now()/1e3);this.expires_at=n+t}}},{key:"expired",get:function(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessTokenEvents=void 0;var i=n(0),r=n(48);t.AccessTokenEvents=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.accessTokenExpiringNotificationTime,i=void 0===n?60:n,o=t.accessTokenExpiringTimer,a=void 0===o?new r.Timer("Access token expiring"):o,s=t.accessTokenExpiredTimer,u=void 0===s?new r.Timer("Access token expired"):s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._accessTokenExpiringNotificationTime=i,this._accessTokenExpiring=a,this._accessTokenExpired=u}return e.prototype.load=function(e){if(e.access_token&&void 0!==e.expires_in){var t=e.expires_in;if(i.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",t),t>0){var n=t-this._accessTokenExpiringNotificationTime;n<=0&&(n=1),i.Log.debug("AccessTokenEvents.load: registering expiring timer in:",n),this._accessTokenExpiring.init(n)}else i.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var r=t+1;i.Log.debug("AccessTokenEvents.load: registering expired timer in:",r),this._accessTokenExpired.init(r)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},e.prototype.unload=function(){i.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},e.prototype.addAccessTokenExpiring=function(e){this._accessTokenExpiring.addHandler(e)},e.prototype.removeAccessTokenExpiring=function(e){this._accessTokenExpiring.removeHandler(e)},e.prototype.addAccessTokenExpired=function(e){this._accessTokenExpired.addHandler(e)},e.prototype.removeAccessTokenExpired=function(e){this._accessTokenExpired.removeHandler(e)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0;var i=n(0);t.Event=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._name=t,this._callbacks=[]}return e.prototype.addHandler=function(e){this._callbacks.push(e)},e.prototype.removeHandler=function(e){var t=this._callbacks.findIndex(function(t){return t===e});t>=0&&this._callbacks.splice(t,1)},e.prototype.raise=function(){i.Log.debug("Event: Raising event: "+this._name);for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.Global.timer;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw r.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=t,this._CheckSessionIFrameCtor=i,this._timer=s,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),this._userManager.getUser().then(function(e){e?n._start(e):n._settings.monitorAnonymousSession&&n._userManager.querySessionStatus().then(function(e){var t={session_state:e.session_state};e.sub&&e.sid&&(t.profile={sub:e.sub,sid:e.sid}),n._start(t)}).catch(function(e){r.Log.error("SessionMonitor ctor: error from querySessionStatus:",e.message)})}).catch(function(e){r.Log.error("SessionMonitor ctor: error from getUser:",e.message)})}return e.prototype._start=function(e){var t=this,n=e.session_state;n&&(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,r.Log.debug("SessionMonitor._start: session_state:",n,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,r.Log.debug("SessionMonitor._start: session_state:",n,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(n):this._metadataService.getCheckSessionIframe().then(function(e){if(e){r.Log.debug("SessionMonitor._start: Initializing check session iframe");var i=t._client_id,o=t._checkSessionInterval,a=t._stopCheckSessionOnError;t._checkSessionIFrame=new t._CheckSessionIFrameCtor(t._callback.bind(t),i,e,o,a),t._checkSessionIFrame.load().then(function(){t._checkSessionIFrame.start(n)})}else r.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")}).catch(function(e){r.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",e.message)}))},e.prototype._stop=function(){var e=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(r.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var t=this._timer.setInterval(function(){e._timer.clearInterval(t),e._userManager.querySessionStatus().then(function(t){var n={session_state:t.session_state};t.sub&&t.sid&&(n.profile={sub:t.sub,sid:t.sid}),e._start(n)}).catch(function(e){r.Log.error("SessionMonitor: error from querySessionStatus:",e.message)})},1e3)},e.prototype._callback=function(){var e=this;this._userManager.querySessionStatus().then(function(t){var n=!0;t?t.sub===e._sub?(n=!1,e._checkSessionIFrame.start(t.session_state),t.sid===e._sid?r.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",t.session_state):(r.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",t.session_state),e._userManager.events._raiseUserSessionChanged())):r.Log.debug("SessionMonitor._callback: Different subject signed into OP:",t.sub):r.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),n&&(e._sub?(r.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),e._userManager.events._raiseUserSignedOut()):(r.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),e._userManager.events._raiseUserSignedIn()))}).catch(function(t){e._sub&&(r.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",t.message),e._userManager.events._raiseUserSignedOut())})},i(e,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckSessionIFrame=void 0;var i=n(0);t.CheckSessionIFrame=function(){function e(t,n,i,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._callback=t,this._client_id=n,this._url=i,this._interval=r||2e3,this._stopOnError=o;var a=i.indexOf("/",i.indexOf("//")+2);this._frame_origin=i.substr(0,a),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.style.width=0,this._frame.style.height=0,this._frame.src=i}return e.prototype.load=function(){var e=this;return new Promise(function(t){e._frame.onload=function(){t()},window.document.body.appendChild(e._frame),e._boundMessageEvent=e._message.bind(e),window.addEventListener("message",e._boundMessageEvent,!1)})},e.prototype._message=function(e){e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&("error"===e.data?(i.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(i.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):i.Log.debug("CheckSessionIFrame: "+e.data+" message from check session op iframe"))},e.prototype.start=function(e){var t=this;if(this._session_state!==e){i.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=e;var n=function(){t._frame.contentWindow.postMessage(t._client_id+" "+t._session_state,t._frame_origin)};n(),this._timer=window.setInterval(n,this._interval)}},e.prototype.stop=function(){this._session_state=null,this._timer&&(i.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenRevocationClient=void 0;var i=n(0),r=n(2),o=n(1);t.TokenRevocationClient=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw i.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=t,this._XMLHttpRequestCtor=n,this._metadataService=new a(this._settings)}return e.prototype.revoke=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!e)throw i.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if("access_token"!==r&&"refresh_token"!=r)throw i.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(o){if(o)return i.Log.debug("TokenRevocationClient.revoke: Revoking "+r),n._revoke(o,n._settings.client_id,n._settings.client_secret,e,r);if(t)throw i.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},e.prototype._revoke=function(e,t,n,r,o){var a=this;return new Promise(function(s,u){var c=new a._XMLHttpRequestCtor;c.open("POST",e),c.onload=function(){i.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",c.status),200===c.status?s():u(Error(c.statusText+" ("+c.status+")"))},c.onerror=function(){i.Log.debug("TokenRevocationClient.revoke: Network Error."),u("Network Error")};var l="client_id="+encodeURIComponent(t);n&&(l+="&client_secret="+encodeURIComponent(n)),l+="&token_type_hint="+encodeURIComponent(o),l+="&token="+encodeURIComponent(r),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),c.send(l)})},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CordovaPopupWindow=void 0;var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.UserInfoService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s.TokenClient;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw r.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=t,this._metadataService=new n(this._settings),this._userInfoService=new i(this._settings),this._joseUtil=u,this._tokenClient=new l(this._settings)}return e.prototype.validateSigninResponse=function(e,t){var n=this;return r.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(e,t).then(function(t){return r.Log.debug("ResponseValidator.validateSigninResponse: state processed"),n._validateTokens(e,t).then(function(t){return r.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),n._processClaims(e,t).then(function(e){return r.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),e})})})},e.prototype.validateSignoutResponse=function(e,t){return e.id!==t.state?(r.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(r.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),t.state=e.data,t.error?(r.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",t.error),Promise.reject(new u.ErrorResponse(t))):Promise.resolve(t))},e.prototype._processSigninParams=function(e,t){if(e.id!==t.state)return r.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!e.client_id)return r.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!e.authority)return r.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==e.authority)return r.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=e.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==e.client_id)return r.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=e.client_id;return r.Log.debug("ResponseValidator._processSigninParams: state validated"),t.state=e.data,t.error?(r.Log.warn("ResponseValidator._processSigninParams: Response was error",t.error),Promise.reject(new u.ErrorResponse(t))):e.nonce&&!t.id_token?(r.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!e.nonce&&t.id_token?(r.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):e.code_verifier&&!t.code?(r.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!e.code_verifier&&t.code?(r.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(t.scope||(t.scope=e.scope),Promise.resolve(t))},e.prototype._processClaims=function(e,t){var n=this;if(t.isOpenIdConnect){if(r.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),t.profile=this._filterProtocolClaims(t.profile),!0!==e.skipUserInfo&&this._settings.loadUserInfo&&t.access_token)return r.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(t.access_token).then(function(e){return r.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),e.sub!==t.profile.sub?(r.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in access_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in access_token"))):(t.profile=n._mergeClaims(t.profile,e),r.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",t.profile),t)});r.Log.debug("ResponseValidator._processClaims: not loading user info")}else r.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(t)},e.prototype._mergeClaims=function(e,t){var n=Object.assign({},e);for(var r in t){var o=t[r];Array.isArray(o)||(o=[o]);for(var a=0;a1)return r.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));u=s[0]}if(!u)return r.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var c=e.client_id,l=n._settings.clockSkew;return r.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",l),n._joseUtil.validateJwt(t.id_token,u,a,c,l).then(function(){return r.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),i.payload.sub?(t.profile=i.payload,t):(r.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},e.prototype._filterByAlg=function(e,t){var n=null;if(t.startsWith("RS"))n="RSA";else if(t.startsWith("PS"))n="PS";else{if(!t.startsWith("ES"))return r.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",t),[];n="EC"}return r.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",n),e=e.filter(function(e){return e.kty===n}),r.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",n,e.length),e},e.prototype._validateAccessToken=function(e){if(!e.profile)return r.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!e.profile.at_hash)return r.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!e.id_token)return r.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var t=this._joseUtil.parseJwt(e.id_token);if(!t||!t.header)return r.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",t),Promise.reject(new Error("Failed to parse id_token"));var n=t.header.alg;if(!n||5!==n.length)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n),Promise.reject(new Error("Unsupported alg: "+n));var i=n.substr(2,3);if(!i)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n,i),Promise.reject(new Error("Unsupported alg: "+n));if(256!==(i=parseInt(i))&&384!==i&&512!==i)return r.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",n,i),Promise.reject(new Error("Unsupported alg: "+n));var o="sha"+i,a=this._joseUtil.hashString(e.access_token,o);if(!a)return r.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var s=a.substr(0,a.length/2),u=this._joseUtil.hexToBase64Url(s);return u!==e.profile.at_hash?(r.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",u,e.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(r.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(e))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInfoService=void 0;var i=n(7),r=n(2),o=n(0),a=n(4);t.UserInfoService=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.JsonService,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.MetadataService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.JoseUtil;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw o.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=t,this._jsonService=new n(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new s(this._settings),this._joseUtil=u}return e.prototype.getClaims=function(e){var t=this;return e?this._metadataService.getUserInfoEndpoint().then(function(n){return o.Log.debug("UserInfoService.getClaims: received userinfo url",n),t._jsonService.getJson(n,e).then(function(e){return o.Log.debug("UserInfoService.getClaims: claims received",e),e})}):(o.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},e.prototype._getClaimsFromJwt=function e(t){var n=this;try{var i=this._joseUtil.parseJwt(t.responseText);if(!i||!i.header||!i.payload)return o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",i),Promise.reject(new Error("Failed to parse id_token"));var r=i.header.kid,a=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":a=this._metadataService.getIssuer();break;case"ANY":a=Promise.resolve(i.payload.iss);break;default:a=Promise.resolve(this._settings.userInfoJwtIssuer)}return a.then(function(e){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+e),n._metadataService.getSigningKeys().then(function(a){if(!a)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var s=void 0;if(r)s=a.filter(function(e){return e.kid===r})[0];else{if((a=n._filterByAlg(a,i.header.alg)).length>1)return o.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));s=a[0]}if(!s)return o.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=n._settings.client_id,c=n._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",c),n._joseUtil.validateJwt(t.responseText,s,e,u,c,void 0,!0).then(function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),i.payload})})})}catch(e){return o.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",e.message),void reject(e)}},e.prototype._filterByAlg=function(e,t){var n=null;if(t.startsWith("RS"))n="RSA";else if(t.startsWith("PS"))n="PS";else{if(!t.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",t),[];n="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",n),e=e.filter(function(e){return e.kty===n}),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",n,e.length),e},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AllowedSigningAlgs=t.b64tohex=t.hextob64u=t.crypto=t.X509=t.KeyUtil=t.jws=void 0;var i=n(26);t.jws=i.jws,t.KeyUtil=i.KEYUTIL,t.X509=i.X509,t.crypto=i.crypto,t.hextob64u=i.hextob64u,t.b64tohex=i.b64tohex,t.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={userAgent:!1},r={};if(void 0===o)var o={};o.lang={extend:function(t,n,r){if(!n||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var o=function(){};if(o.prototype=n.prototype,t.prototype=new o,t.prototype.constructor=t,t.superclass=n.prototype,n.prototype.constructor==Object.prototype.constructor&&(n.prototype.constructor=n),r){var a;for(a in r)t.prototype[a]=r[a];var s=function(){},u=["toString","valueOf"];try{/MSIE/.test(i.userAgent)&&(s=function(e,t){for(a=0;a>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=a.ceil(t/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new l.init(n,t/2)}},f=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new l.init(n,t)}},p=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},g=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t=this._data,n=t.words,i=t.sigBytes,r=this.blockSize,o=i/(4*r),s=(o=e?a.ceil(o):a.max((0|o)-this._minBufferSize,0))*r,u=a.min(4*s,i);if(s){for(var c=0;c>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,a=0;4>a&&r+.75*a>>6*(3-a)&63));if(t=i.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(t){var n=t.length,i=this._map;(r=i.charAt(64))&&-1!=(r=t.indexOf(r))&&(n=r);for(var r=[],o=0,a=0;a>>6-a%4*2;r[o>>>2]|=(s|u)<<24-o%4*8,o++}return e.create(r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(e){for(var t=v,n=(r=t.lib).WordArray,i=r.Hasher,r=t.algo,o=[],a=[],s=function(e){return 4294967296*(e-(0|e))|0},u=2,c=0;64>c;){var l;e:{for(var h=e.sqrt(l=u),d=2;d<=h;d++)if(!(l%d)){l=!1;break e}l=!0}l&&(8>c&&(o[c]=s(e.pow(u,.5))),a[c]=s(e.pow(u,1/3)),c++),u++}var f=[];r=r.SHA256=i.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],u=n[4],c=n[5],l=n[6],h=n[7],d=0;64>d;d++){if(16>d)f[d]=0|e[t+d];else{var p=f[d-15],g=f[d-2];f[d]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+f[d-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+f[d-16]}p=h+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&l)+a[d]+f[d],g=((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+(i&r^i&o^r&o),h=l,l=c,c=u,u=s+p|0,s=o,o=r,r=i,i=p+g|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA256=i._createHelper(r),t.HmacSHA256=i._createHmacHelper(r)}(Math),function(){function e(){return i.create.apply(i,arguments)}for(var t=v,n=t.lib.Hasher,i=(o=t.x64).Word,r=o.WordArray,o=t.algo,a=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],s=[],u=0;80>u;u++)s[u]=e();o=o.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=(h=this._hash.words)[0],i=h[1],r=h[2],o=h[3],u=h[4],c=h[5],l=h[6],h=h[7],d=n.high,f=n.low,p=i.high,g=i.low,m=r.high,v=r.low,y=o.high,_=o.low,b=u.high,w=u.low,M=c.high,A=c.low,k=l.high,T=l.low,S=h.high,C=h.low,E=d,L=f,z=p,R=g,O=m,x=v,D=y,P=_,N=b,I=w,B=M,F=A,H=k,q=T,j=S,Y=C,W=0;80>W;W++){var U=s[W];if(16>W)var K=U.high=0|e[t+2*W],V=U.low=0|e[t+2*W+1];else{K=((V=(K=s[W-15]).high)>>>1|(X=K.low)<<31)^(V>>>8|X<<24)^V>>>7;var X=(X>>>1|V<<31)^(X>>>8|V<<24)^(X>>>7|V<<25),G=((V=(G=s[W-2]).high)>>>19|(J=G.low)<<13)^(V<<3|J>>>29)^V>>>6,J=(J>>>19|V<<13)^(J<<3|V>>>29)^(J>>>6|V<<26),Q=(V=s[W-7]).high,Z=($=s[W-16]).high,$=$.low;K=(K=(K=K+Q+((V=X+V.low)>>>0>>0?1:0))+G+((V+=J)>>>0>>0?1:0))+Z+((V+=$)>>>0<$>>>0?1:0),U.high=K,U.low=V}U=E&z^E&O^z&O;var ee=L&R^L&x^R&x,te=(X=(E>>>28|L<<4)^(E<<30|L>>>2)^(E<<25|L>>>7),G=(L>>>28|E<<4)^(L<<30|E>>>2)^(L<<25|E>>>7),(J=a[W]).high),ne=J.low;Z=(Z=(Z=(Z=j+((N>>>14|I<<18)^(N>>>18|I<<14)^(N<<23|I>>>9))+((J=Y+((I>>>14|N<<18)^(I>>>18|N<<14)^(I<<23|N>>>9)))>>>0>>0?1:0))+(Q=N&B^~N&H)+((J+=$=I&F^~I&q)>>>0<$>>>0?1:0))+te+((J+=ne)>>>0>>0?1:0))+K+((J+=V)>>>0>>0?1:0),j=H,Y=q,H=B,q=F,B=N,F=I,N=D+Z+((I=P+J|0)>>>0

>>0?1:0)|0,D=O,P=x,O=z,x=R,z=E,R=L,E=Z+(U=X+U+((V=G+ee)>>>0>>0?1:0))+((L=J+V|0)>>>0>>0?1:0)|0}f=n.low=f+L,n.high=d+E+(f>>>0>>0?1:0),g=i.low=g+R,i.high=p+z+(g>>>0>>0?1:0),v=r.low=v+x,r.high=m+O+(v>>>0>>0?1:0),_=o.low=_+P,o.high=y+D+(_>>>0

>>0?1:0),w=u.low=w+I,u.high=b+N+(w>>>0>>0?1:0),A=c.low=A+F,c.high=M+B+(A>>>0>>0?1:0),T=l.low=T+q,l.high=k+H+(T>>>0>>0?1:0),C=h.low=C+Y,h.high=S+j+(C>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),t.SHA512=n._createHelper(o),t.HmacSHA512=n._createHmacHelper(o)}(),function(){var e=v,t=(r=e.x64).Word,n=r.WordArray,i=(r=e.algo).SHA512,r=r.SHA384=i.extend({_doReset:function(){this._hash=new n.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=i._createHelper(r),e.HmacSHA384=i._createHmacHelper(r)}();var y,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function b(e){var t,n,i="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),i+=_.charAt(n>>6)+_.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),i+=_.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),i+=_.charAt(n>>2)+_.charAt((3&n)<<4));(3&i.length)>0;)i+="=";return i}function w(e){var t,n,i,r="",o=0;for(t=0;t>2),n=3&i,o=1):1==o?(r+=E(n<<2|i>>4),n=15&i,o=2):2==o?(r+=E(n),r+=E(i>>2),n=3&i,o=3):(r+=E(n<<2|i>>4),r+=E(15&i),o=0));return 1==o&&(r+=E(n<<2)),r}function M(e){var t,n=w(e),i=new Array;for(t=0;2*t>15;--o>=0;){var u=32767&this[e],c=this[e++]>>15,l=s*u+c*a;r=((u=a*u+((32767&l)<<15)+n[i]+(1073741823&r))>>>30)+(l>>>15)+s*c+(r>>>30),n[i++]=1073741823&u}return r},y=30):"Netscape"!=i.appName?(A.prototype.am=function(e,t,n,i,r,o){for(;--o>=0;){var a=t*this[e++]+n[i]+r;r=Math.floor(a/67108864),n[i++]=67108863&a}return r},y=26):(A.prototype.am=function(e,t,n,i,r,o){for(var a=16383&t,s=t>>14;--o>=0;){var u=16383&this[e],c=this[e++]>>14,l=s*u+c*a;r=((u=a*u+((16383&l)<<14)+n[i]+r)>>28)+(l>>14)+s*c,n[i++]=268435455&u}return r},y=28),A.prototype.DB=y,A.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function O(e){this.m=e}function x(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function F(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function H(){}function q(e){return e}function j(e){this.r2=k(),this.q3=k(),A.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}O.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},O.prototype.revert=function(e){return e},O.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},O.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},O.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},x.prototype.convert=function(e){var t=k();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(A.ZERO)>0&&this.m.subTo(t,t),t},x.prototype.revert=function(e){var t=k();return e.copyTo(t),this.reduce(t),t},x.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,i,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},x.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},x.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},A.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},A.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},A.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var i=e.length,r=!1,o=0;--i>=0;){var a=8==n?255&e[i]:L(e,i);a<0?"-"==e.charAt(i)&&(r=!0):(r=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},A.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},A.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t[n+a+1]=this[n]>>r|s,s=(this[n]&o)<=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},A.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var i=e%this.DB,r=this.DB-i,o=(1<>i;for(var a=n+1;a>i;i>0&&(t[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}t.s=i<0?-1:0,i<-1?t[n++]=this.DV+i:i>0&&(t[n++]=i),t.t=n,t.clamp()},A.prototype.multiplyTo=function(e,t){var n=this.abs(),i=e.abs(),r=n.t;for(t.t=r+i.t;--r>=0;)t[r]=0;for(r=0;r=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},A.prototype.divRemTo=function(e,t,n){var i=e.abs();if(!(i.t<=0)){var r=this.abs();if(r.t0?(i.lShiftTo(u,o),r.lShiftTo(u,n)):(i.copyTo(o),r.copyTo(n));var c=o.t,l=o[c-1];if(0!=l){var h=l*(1<1?o[c-2]>>this.F2:0),d=this.FV/h,f=(1<=0&&(n[n.t++]=1,n.subTo(v,n)),A.ONE.dlShiftTo(c,v),v.subTo(o,o);o.t=0;){var y=n[--g]==l?this.DM:Math.floor(n[g]*d+(n[g-1]+p)*f);if((n[g]+=o.am(0,y,n,m,0,c))0&&n.rShiftTo(u,n),a<0&&A.ZERO.subTo(n,n)}}},A.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},A.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},A.prototype.exp=function(e,t){if(e>4294967295||e<1)return A.ONE;var n=k(),i=k(),r=t.convert(this),o=R(e)-1;for(r.copyTo(n);--o>=0;)if(t.sqrTo(n,i),(e&1<0)t.mulTo(i,r,n);else{var a=n;n=i,i=a}return t.revert(n)},A.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,i=(1<0)for(s>s)>0&&(r=!0,o=E(n));a>=0;)s>(s+=this.DB-t)):(n=this[a]>>(s-=t)&i,s<=0&&(s+=this.DB,--a)),n>0&&(r=!0),r&&(o+=E(n));return r?o:"0"},A.prototype.negate=function(){var e=k();return A.ZERO.subTo(this,e),e},A.prototype.abs=function(){return this.s<0?this.negate():this},A.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},A.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+R(this[this.t-1]^this.s&this.DM)},A.prototype.mod=function(e){var t=k();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(A.ZERO)>0&&e.subTo(t,t),t},A.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new O(t):new x(t),this.exp(e,n)},A.ZERO=z(0),A.ONE=z(1),H.prototype.convert=q,H.prototype.revert=q,H.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},H.prototype.sqrTo=function(e,t){e.squareTo(t)},j.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=k();return e.copyTo(t),this.reduce(t),t},j.prototype.revert=function(e){return e},j.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},j.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},j.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var Y,W,U,K=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],V=(1<<26)/K[K.length-1];function X(){this.i=0,this.j=0,this.S=new Array}function G(){!function(e){W[U++]^=255&e,W[U++]^=e>>8&255,W[U++]^=e>>16&255,W[U++]^=e>>24&255,U>=256&&(U-=256)}((new Date).getTime())}if(A.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},A.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),i=z(n),r=k(),o=k(),a="";for(this.divRemTo(i,r,o);r.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,r.divRemTo(i,r,o);return o.intValue().toString(e)+a},A.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),i=Math.pow(t,n),r=!1,o=0,a=0,s=0;s=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(a,0)),r&&A.ZERO.subTo(this,this)},A.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(A.ONE.shiftLeft(e-1),P,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(A.ONE.shiftLeft(e-1),this);else{var i=new Array,r=7&e;i.length=1+(e>>3),t.nextBytes(i),r>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}t.s=i<0?-1:0,i>0?t[n++]=i:i<-1&&(t[n++]=this.DV+i),t.t=n,t.clamp()},A.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},A.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},A.prototype.multiplyLowerTo=function(e,t,n){var i,r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(i=n.t-this.t;r=0;)n[i]=0;for(i=Math.max(t-this.t,0);i0)if(0==t)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(t*n+this[i])%e;return n},A.prototype.millerRabin=function(e){var t=this.subtract(A.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var i=t.shiftRight(n);(e=e+1>>1)>K.length&&(e=K.length);for(var r=k(),o=0;o>24},A.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},A.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},A.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,i=this.DB-e*this.DB%8,r=0;if(e-- >0)for(i>i)!=(this.s&this.DM)>>i&&(t[r++]=n|this.s<=0;)i<8?(n=(this[e]&(1<>(i+=this.DB-8)):(n=this[e]>>(i-=8)&255,i<=0&&(i+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(t[r++]=n);return t},A.prototype.equals=function(e){return 0==this.compareTo(e)},A.prototype.min=function(e){return this.compareTo(e)<0?this:e},A.prototype.max=function(e){return this.compareTo(e)>0?this:e},A.prototype.and=function(e){var t=k();return this.bitwiseTo(e,D,t),t},A.prototype.or=function(e){var t=k();return this.bitwiseTo(e,P,t),t},A.prototype.xor=function(e){var t=k();return this.bitwiseTo(e,N,t),t},A.prototype.andNot=function(e){var t=k();return this.bitwiseTo(e,I,t),t},A.prototype.not=function(){for(var e=k(),t=0;t=this.t?0!=this.s:0!=(this[t]&1<1){var l=k();for(i.sqrTo(a[1],l);s<=c;)a[s]=k(),i.mulTo(l,a[s-2],a[s]),s+=2}var h,d,f=e.t-1,p=!0,g=k();for(r=R(e[f])-1;f>=0;){for(r>=u?h=e[f]>>r-u&c:(h=(e[f]&(1<0&&(h|=e[f-1]>>this.DB+r-u)),s=n;0==(1&h);)h>>=1,--s;if((r-=s)<0&&(r+=this.DB,--f),p)a[h].copyTo(o),p=!1;else{for(;s>1;)i.sqrTo(o,g),i.sqrTo(g,o),s-=2;s>0?i.sqrTo(o,g):(d=o,o=g,g=d),i.mulTo(g,a[h],o)}for(;f>=0&&0==(e[f]&1<=0?(n.subTo(i,n),t&&r.subTo(a,r),o.subTo(s,o)):(i.subTo(n,i),t&&a.subTo(r,a),s.subTo(o,s))}return 0!=i.compareTo(A.ONE)?A.ZERO:s.compareTo(e)>=0?s.subtract(e):s.signum()<0?(s.addTo(e,s),s.signum()<0?s.add(e):s):s},A.prototype.pow=function(e){return this.exp(e,new H)},A.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var i=t;t=n,n=i}var r=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(r0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(r=t.getLowestSetBit())>0&&t.rShiftTo(r,t),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},A.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=K[K.length-1]){for(t=0;t>>8,W[U++]=255&J;U=0,G()}function ee(){if(null==Y){for(G(),(Y=new X).init(W),U=0;U>24,(16711680&r)>>16,(65280&r)>>8,255&r]))),r+=1;return i}function re(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function oe(e,t){this.x=t,this.q=e}function ae(e,t,n,i){this.curve=e,this.x=t,this.y=n,this.z=null==i?A.ONE:i,this.zinv=null}function se(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new ae(this,null,null)}te.prototype.nextBytes=function(e){var t;for(t=0;t0&&t.length>0))throw"Invalid RSA public key";this.n=ne(e,16),this.e=parseInt(t,16)}},re.prototype.encrypt=function(e){var t=function(e,t){if(t=0&&t>0;){var r=e.charCodeAt(i--);r<128?n[--t]=r:r>127&&r<2048?(n[--t]=63&r|128,n[--t]=r>>6|192):(n[--t]=63&r|128,n[--t]=r>>6&63|128,n[--t]=r>>12|224)}n[--t]=0;for(var o=new te,a=new Array;t>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new A(n)}(e,this.n.bitLength()+7>>3);if(null==t)return null;var n=this.doPublic(t);if(null==n)return null;var i=n.toString(16);return 0==(1&i.length)?i:"0"+i},re.prototype.encryptOAEP=function(e,t,n){var i=function(e,t,n,i){var r=ce.crypto.MessageDigest,o=ce.crypto.Util,a=null;if(n||(n="sha1"),"string"==typeof n&&(a=r.getCanonicalAlgName(n),i=r.getHashLength(a),n=function(e){return Ae(o.hashHex(ke(e),a))}),e.length+2*i+2>t)throw"Message too long for RSA";var s,u="";for(s=0;s>3,t,n);if(null==i)return null;var r=this.doPublic(i);if(null==r)return null;var o=r.toString(16);return 0==(1&o.length)?o:"0"+o},re.prototype.type="RSA",oe.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},oe.prototype.toBigInteger=function(){return this.x},oe.prototype.negate=function(){return new oe(this.q,this.x.negate().mod(this.q))},oe.prototype.add=function(e){return new oe(this.q,this.x.add(e.toBigInteger()).mod(this.q))},oe.prototype.subtract=function(e){return new oe(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},oe.prototype.multiply=function(e){return new oe(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},oe.prototype.square=function(){return new oe(this.q,this.x.square().mod(this.q))},oe.prototype.divide=function(e){return new oe(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},ae.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ae.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},ae.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(A.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(A.ZERO))},ae.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(A.ZERO)&&!this.y.toBigInteger().equals(A.ZERO)},ae.prototype.negate=function(){return new ae(this.curve,this.x,this.y.negate(),this.z)},ae.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(A.ZERO.equals(n))return A.ZERO.equals(t)?this.twice():this.curve.getInfinity();var i=new A("3"),r=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),u=r.multiply(a),c=t.square().multiply(this.z),l=c.subtract(u.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),h=u.multiply(i).multiply(t).subtract(o.multiply(s)).subtract(c.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ae(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(h),d)},ae.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new A("3"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),i=n.multiply(this.z),r=i.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);A.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o)));var s=(a=a.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(i).mod(this.curve.q),u=a.multiply(e).multiply(t).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(a.square().multiply(a)).mod(this.curve.q),c=i.square().multiply(i).shiftLeft(3).mod(this.curve.q);return new ae(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(u),c)},ae.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,i=n.multiply(new A("3")),r=this.negate(),o=this;for(t=i.bitLength()-2;t>0;--t){o=o.twice();var a=i.testBit(t);a!=n.testBit(t)&&(o=o.add(a?this:r))}return o},ae.prototype.multiplyTwo=function(e,t,n){var i;i=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var r=this.curve.getInfinity(),o=this.add(t);i>=0;)r=r.twice(),e.testBit(i)?r=n.testBit(i)?r.add(o):r.add(this):n.testBit(i)&&(r=r.add(t)),--i;return r},se.prototype.getQ=function(){return this.q},se.prototype.getA=function(){return this.a},se.prototype.getB=function(){return this.b},se.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},se.prototype.getInfinity=function(){return this.infinity},se.prototype.fromBigInteger=function(e){return new oe(this.q,e)},se.prototype.decodePointHex=function(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var t=(e.length-2)/2,n=e.substr(2,t),i=e.substr(t+2,t);return new ae(this,this.fromBigInteger(new A(n,16)),this.fromBigInteger(new A(i,16)));default:return null}},oe.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},ae.prototype.getEncoded=function(e){var t=function(e,t){var n=e.toByteArrayUnsigned();if(tn.length;)n.unshift(0);return n},n=this.getX().toBigInteger(),i=this.getY().toBigInteger(),r=t(n,32);return e?i.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(t(i,32))),r},ae.decodeFrom=function(e,t){var n=t.length-1,i=t.slice(1,1+n/2),r=t.slice(1+n/2,1+n);i.unshift(0),r.unshift(0);var o=new A(i),a=new A(r);return new ae(e,e.fromBigInteger(o),e.fromBigInteger(a))},ae.decodeFromHex=function(e,t){t.substr(0,2);var n=t.length-2,i=t.substr(2,n/2),r=t.substr(2+n/2,n/2),o=new A(i,16),a=new A(r,16);return new ae(e,e.fromBigInteger(o),e.fromBigInteger(a))},ae.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),n=e.y.subtract(this.y).divide(t),i=n.square().subtract(this.x).subtract(e.x),r=n.multiply(this.x.subtract(i)).subtract(this.y);return new ae(this.curve,i,r)},ae.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(A.valueOf(2)),t=this.curve.fromBigInteger(A.valueOf(3)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),i=n.square().subtract(this.x.multiply(e)),r=n.multiply(this.x.subtract(i)).subtract(this.y);return new ae(this.curve,i,r)},ae.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,i=n.multiply(new A("3")),r=this.negate(),o=this;for(t=i.bitLength()-2;t>0;--t){o=o.twice();var a=i.testBit(t);a!=n.testBit(t)&&(o=o.add2D(a?this:r))}return o},ae.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),i=this.curve.getB().toBigInteger(),r=this.curve.getQ(),o=t.multiply(t).mod(r),a=e.multiply(e).multiply(e).add(n.multiply(e)).add(i).mod(r);return o.equals(a)},ae.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},ae.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(t.compareTo(A.ONE)<0||t.compareTo(e.subtract(A.ONE))>0)throw new Error("x coordinate out of bounds");if(n.compareTo(A.ONE)<0||n.compareTo(e.subtract(A.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ue=function(){var e=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),i={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function r(e,t,n){return t?i[t]:String.fromCharCode(parseInt(n,16))}var o=new String(""),a=Object.hasOwnProperty;return function(i,s){var u,c,l=i.match(e),h=l[0],d=!1;"{"===h?u={}:"["===h?u=[]:(u=[],d=!0);for(var f=[u],p=1-d,g=l.length;p=0;)delete r[o[l]]}return s.call(t,i,r)}({"":u},"")),u}}();void 0!==ce&&ce||(t.KJUR=ce={}),void 0!==ce.asn1&&ce.asn1||(ce.asn1={}),ce.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1).length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var i="",r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+n).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ce.asn1.DERAbstractString=function(e){ce.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=we(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},o.lang.extend(ce.asn1.DERAbstractString,ce.asn1.ASN1Object),ce.asn1.DERAbstractTime=function(e){ce.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,n){var i=this.zeroPadding,r=this.localDateToUTC(e),o=String(r.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=o+i(String(r.getMonth()+1),2)+i(String(r.getDate()),2)+i(String(r.getHours()),2)+i(String(r.getMinutes()),2)+i(String(r.getSeconds()),2);if(!0===n){var s=r.getMilliseconds();if(0!=s){var u=i(String(s),3);a=a+"."+(u=u.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=me(e)},this.setByDateValue=function(e,t,n,i,r,o){var a=new Date(Date.UTC(e,t-1,n,i,r,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},o.lang.extend(ce.asn1.DERAbstractTime,ce.asn1.ASN1Object),ce.asn1.DERAbstractStructured=function(e){ce.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},o.lang.extend(ce.asn1.DERAbstractStructured,ce.asn1.ASN1Object),ce.asn1.DERBoolean=function(){ce.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},o.lang.extend(ce.asn1.DERBoolean,ce.asn1.ASN1Object),ce.asn1.DERInteger=function(e){ce.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=ce.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new A(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},o.lang.extend(ce.asn1.DERInteger,ce.asn1.ASN1Object),ce.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=ce.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}ce.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7r.length&&(r=i[n]);return(e=e.replace(r,"::")).slice(1,-1)}function Ne(e){var t="malformed hex value";if(!e.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw t;if(8!=e.length)return 32==e.length?Pe(e):e;try{return parseInt(e.substr(0,2),16)+"."+parseInt(e.substr(2,2),16)+"."+parseInt(e.substr(4,2),16)+"."+parseInt(e.substr(6,2),16)}catch(e){throw t}}function Ie(e){for(var t=encodeURIComponent(e),n="",i=0;i"7"?"00"+e:e}de.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var n=parseInt(e.substr(t+3,1));return 0==n?-1:0=2*o)break;if(s>=200)break;i.push(u),a=u,s++}return i},de.getNthChildIdx=function(e,t,n){return de.getChildIdx(e,t)[n]},de.getIdxbyList=function(e,t,n,i){var r,o,a=de;if(0==n.length){if(void 0!==i&&e.substr(t,2)!==i)throw"checking tag doesn't match: "+e.substr(t,2)+"!="+i;return t}return r=n.shift(),o=a.getChildIdx(e,t),a.getIdxbyList(e,o[r],n,i)},de.getTLVbyList=function(e,t,n,i){var r=de,o=r.getIdxbyList(e,t,n);if(void 0===o)throw"can't find nthList object";if(void 0!==i&&e.substr(o,2)!=i)throw"checking tag doesn't match: "+e.substr(o,2)+"!="+i;return r.getTLV(e,o)},de.getVbyList=function(e,t,n,i,r){var o,a,s=de;if(void 0===(o=s.getIdxbyList(e,t,n,i)))throw"can't find nthList object";return a=s.getV(e,o),!0===r&&(a=a.substr(2)),a},de.hextooidstr=function(e){var t=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},n=[],i=e.substr(0,2),r=parseInt(i,16);n[0]=new String(Math.floor(r/40)),n[1]=new String(r%40);for(var o=e.substr(2),a=[],s=0;s0&&(l=l+"."+u.join(".")),l},de.dump=function(e,t,n,i){var r=de,o=r.getV,a=r.dump,s=r.getChildIdx,u=e;e instanceof ce.asn1.ASN1Object&&(u=e.getEncodedHex());var c=function(e,t){return e.length<=2*t?e:e.substr(0,t)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-t,t)};void 0===t&&(t={ommit_long_octet:32}),void 0===n&&(n=0),void 0===i&&(i="");var l=t.ommit_long_octet;if("01"==u.substr(n,2))return"00"==(h=o(u,n))?i+"BOOLEAN FALSE\n":i+"BOOLEAN TRUE\n";if("02"==u.substr(n,2))return i+"INTEGER "+c(h=o(u,n),l)+"\n";if("03"==u.substr(n,2))return i+"BITSTRING "+c(h=o(u,n),l)+"\n";if("04"==u.substr(n,2)){var h=o(u,n);return r.isASN1HEX(h)?(M=i+"OCTETSTRING, encapsulates\n")+a(h,t,0,i+" "):i+"OCTETSTRING "+c(h,l)+"\n"}if("05"==u.substr(n,2))return i+"NULL\n";if("06"==u.substr(n,2)){var d=o(u,n),f=ce.asn1.ASN1Util.oidHexToInt(d),p=ce.asn1.x509.OID.oid2name(f),g=f.replace(/\./g," ");return""!=p?i+"ObjectIdentifier "+p+" ("+g+")\n":i+"ObjectIdentifier ("+g+")\n"}if("0c"==u.substr(n,2))return i+"UTF8String '"+Me(o(u,n))+"'\n";if("13"==u.substr(n,2))return i+"PrintableString '"+Me(o(u,n))+"'\n";if("14"==u.substr(n,2))return i+"TeletexString '"+Me(o(u,n))+"'\n";if("16"==u.substr(n,2))return i+"IA5String '"+Me(o(u,n))+"'\n";if("17"==u.substr(n,2))return i+"UTCTime "+Me(o(u,n))+"\n";if("18"==u.substr(n,2))return i+"GeneralizedTime "+Me(o(u,n))+"\n";if("30"==u.substr(n,2)){if("3000"==u.substr(n,4))return i+"SEQUENCE {}\n";M=i+"SEQUENCE\n";var m=t;if((2==(_=s(u,n)).length||3==_.length)&&"06"==u.substr(_[0],2)&&"04"==u.substr(_[_.length-1],2)){p=r.oidname(o(u,_[0]));var v=JSON.parse(JSON.stringify(t));v.x509ExtName=p,m=v}for(var y=0;y<_.length;y++)M+=a(u,m,_[y],i+" ");return M}if("31"==u.substr(n,2)){M=i+"SET\n";var _=s(u,n);for(y=0;y<_.length;y++)M+=a(u,t,_[y],i+" ");return M}var b=parseInt(u.substr(n,2),16);if(0!=(128&b)){var w=31&b;if(0!=(32&b)){var M=i+"["+w+"]\n";for(_=s(u,n),y=0;y<_.length;y++)M+=a(u,t,_[y],i+" ");return M}return"68747470"==(h=o(u,n)).substr(0,8)&&(h=Me(h)),"subjectAltName"===t.x509ExtName&&2==w&&(h=Me(h)),i+"["+w+"] "+h+"\n"}return i+"UNKNOWN("+u.substr(n,2)+") "+o(u,n)+"\n"},de.isASN1HEX=function(e){var t=de;if(e.length%2==1)return!1;var n=t.getVblen(e,0),i=e.substr(0,2),r=t.getL(e,0);return e.length-i.length-r.length==2*n},de.oidname=function(e){var t=ce.asn1;ce.lang.String.isHex(e)&&(e=t.ASN1Util.oidHexToInt(e));var n=t.x509.OID.oid2name(e);return""===n&&(n=e),n},void 0!==ce&&ce||(t.KJUR=ce={}),void 0!==ce.lang&&ce.lang||(ce.lang={}),ce.lang.String=function(){},"function"==typeof e?(t.utf8tob64u=le=function(t){return ve(new e(t,"utf8").toString("base64"))},t.b64utoutf8=he=function(t){return new e(ye(t),"base64").toString("utf8")}):(t.utf8tob64u=le=function(e){return _e(Oe(Ie(e)))},t.b64utoutf8=he=function(e){return decodeURIComponent(xe(be(e)))}),ce.lang.String.isInteger=function(e){return!!e.match(/^[0-9]+$/)||!!e.match(/^-[0-9]+$/)},ce.lang.String.isHex=function(e){return!(e.length%2!=0||!e.match(/^[0-9a-f]+$/)&&!e.match(/^[0-9A-F]+$/))},ce.lang.String.isBase64=function(e){return!(!(e=e.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||e.length%4!=0)},ce.lang.String.isBase64URL=function(e){return!e.match(/[+/=]/)&&(e=ye(e),ce.lang.String.isBase64(e))},ce.lang.String.isIntegerArray=function(e){return!!(e=e.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},void 0!==ce&&ce||(t.KJUR=ce={}),void 0!==ce.crypto&&ce.crypto||(ce.crypto={}),ce.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:v.algo.MD5,sha1:v.algo.SHA1,sha224:v.algo.SHA224,sha256:v.algo.SHA256,sha384:v.algo.SHA384,sha512:v.algo.SHA512,ripemd160:v.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if(void 0===this.DIGESTINFOHEAD[t])throw"alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,n){var i=this.getDigestInfoHex(e,t),r=n/4;if(i.length+22>r)throw"key is too short for SigAlg: keylen="+n+","+t;for(var o="0001",a="00"+i,s="",u=r-o.length-a.length,c=0;c=0)return!1;if(n.compareTo(A.ONE)<0||n.compareTo(r)>=0)return!1;var a=n.modInverse(r),s=e.multiply(a).mod(r),u=t.multiply(a).mod(r);return o.multiply(s).add(i.multiply(u)).getX().toBigInteger().mod(r).equals(t)},this.serializeSig=function(e,t){var n=e.toByteArraySigned(),i=t.toByteArraySigned(),r=[];return r.push(2),r.push(n.length),(r=r.concat(n)).push(2),r.push(i.length),(r=r.concat(i)).unshift(r.length),r.unshift(48),r},this.parseSig=function(e){var t;if(48!=e[0])throw new Error("Signature not a valid DERSequence");if(2!=e[t=2])throw new Error("First element in signature must be a DERInteger");var n=e.slice(t+2,t+2+e[t+1]);if(2!=e[t+=2+e[t+1]])throw new Error("Second element in signature must be a DERInteger");var i=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:A.fromByteArrayUnsigned(n),s:A.fromByteArrayUnsigned(i)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var t=e[0]-27;if(t<0||t>7)throw"Invalid signature type";var n=this.ecparams.n;return{r:A.fromByteArrayUnsigned(e.slice(1,33)).mod(n),s:A.fromByteArrayUnsigned(e.slice(33,65)).mod(n),i:t}},this.readPKCS5PrvKeyHex=function(e){var t,n,i,r=ce.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{t=o(e,0,[2,0],"06"),n=o(e,0,[1],"04");try{i=o(e,0,[3,0],"03").substr(2)}catch(e){}}catch(e){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=r(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){var t,n,i,r=ce.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{o(e,0,[1,0],"06"),t=o(e,0,[1,1],"06"),n=o(e,0,[2,0,1],"04");try{i=o(e,0,[2,0,2,0],"03").substr(2)}catch(e){}}catch(e){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=r(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){var t,n,i=ce.crypto.ECDSA.getName,r=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{r(e,0,[0,0],"06"),t=r(e,0,[0,1],"06"),n=r(e,0,[1],"03").substr(2)}catch(e){throw"malformed PKCS#8 ECC public key"}if(this.curveName=i(t),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(e,t){5!==t&&(t=6);var n,i,r=ce.crypto.ECDSA.getName,o=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{n=o(e,0,[0,t,0,1],"06"),i=o(e,0,[0,t,1],"03").substr(2)}catch(e){throw"malformed X.509 certificate ECC public key"}if(this.curveName=r(n),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},ce.crypto.ECDSA.parseSigHex=function(e){var t=ce.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new A(t.r,16),s:new A(t.s,16)}},ce.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=de.getChildIdx,n=de.getV;if("30"!=e.substr(0,2))throw"signature is not a ASN.1 sequence";var i=t(e,0);if(2!=i.length)throw"number of signature ASN.1 sequence elements seem wrong";var r=i[0],o=i[1];if("02"!=e.substr(r,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=e.substr(o,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:n(e,r),s:n(e,o)}},ce.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=ce.crypto.ECDSA.parseSigHexInHexRS(e),n=t.r,i=t.s;if("00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),"00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),n.length%32==30&&(n="00"+n),i.length%32==30&&(i="00"+i),n.length%32!=0)throw"unknown ECDSA sig r length error";if(i.length%32!=0)throw"unknown ECDSA sig s length error";return n+i},ce.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var t=e.substr(0,e.length/2),n=e.substr(e.length/2);return ce.crypto.ECDSA.hexRSSigToASN1Sig(t,n)},ce.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var n=new A(e,16),i=new A(t,16);return ce.crypto.ECDSA.biRSSigToASN1Sig(n,i)},ce.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var n=ce.asn1,i=new n.DERInteger({bigint:e}),r=new n.DERInteger({bigint:t});return new n.DERSequence({array:[i,r]}).getEncodedHex()},ce.crypto.ECDSA.getName=function(e){return"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040022"===e?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":null},void 0!==ce&&ce||(t.KJUR=ce={}),void 0!==ce.crypto&&ce.crypto||(ce.crypto={}),ce.crypto.ECParameterDB=new function(){var e={},t={};function n(e){return new A(e,16)}this.getByName=function(n){var i=n;if(void 0!==t[i]&&(i=t[n]),void 0!==e[i])return e[i];throw"unregistered EC curve name: "+i},this.regist=function(i,r,o,a,s,u,c,l,h,d,f,p){e[i]={};var g=n(o),m=n(a),v=n(s),y=n(u),_=n(c),b=new se(g,m,v),w=b.decodePointHex("04"+l+h);e[i].name=i,e[i].keylen=r,e[i].curve=b,e[i].G=w,e[i].n=y,e[i].h=_,e[i].oid=f,e[i].info=p;for(var M=0;M=2*s)break}var h={};return h.keyhex=u.substr(0,2*r[e].keylen),h.ivhex=u.substr(2*r[e].keylen,2*r[e].ivlen),h},s=function(e,t,n,i){var o=v.enc.Base64.parse(e),a=v.enc.Hex.stringify(o);return(0,r[t].proc)(a,n,i)};return{version:"1.0.0",parsePKCS5PEM:function(e){return o(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,n){return a(e,t,n)},decryptKeyB64:function(e,t,n,i){return s(e,t,n,i)},getDecryptedKeyHex:function(e,t){var n=o(e),i=n.cipher,r=n.ivsalt,u=n.data,c=a(i,t,r).keyhex;return s(u,i,c,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,n,i,o){var s="";if(void 0!==i&&null!=i||(i="AES-256-CBC"),void 0===r[i])throw"KEYUTIL unsupported algorithm: "+i;return void 0!==o&&null!=o||(o=function(e){var t=v.lib.WordArray.random(e);return v.enc.Hex.stringify(t)}(r[i].ivlen).toUpperCase()),s="-----BEGIN "+e+" PRIVATE KEY-----\r\n",s+="Proc-Type: 4,ENCRYPTED\r\n",s+="DEK-Info: "+i+","+o+"\r\n",s+="\r\n",(s+=function(e,t,n,i){return(0,r[t].eproc)(e,n,i)}(t,i,a(i,n,o).keyhex,o).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+e+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(t){var n=de.getChildIdx,i=de.getV,r={},o=n(t,0);if(2!=o.length)throw"malformed format: SEQUENCE(0).items != 2: "+o.length;r.ciphertext=i(t,o[1]);var a=n(t,o[0]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+a.length;if("2a864886f70d01050d"!=i(t,a[0]))throw"this only supports pkcs5PBES2";var s=n(t,a[1]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+s.length;var u=n(t,s[1]);if(2!=u.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+u.length;if("2a864886f70d0307"!=i(t,u[0]))throw"this only supports TripleDES";r.encryptionSchemeAlg="TripleDES",r.encryptionSchemeIV=i(t,u[1]);var c=n(t,s[0]);if(2!=c.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+c.length;if("2a864886f70d01050c"!=i(t,c[0]))throw"this only supports pkcs5PBKDF2";var l=n(t,c[1]);if(l.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length;r.pbkdf2Salt=i(t,l[0]);var h=i(t,l[1]);try{r.pbkdf2Iter=parseInt(h,16)}catch(e){throw"malformed format pbkdf2Iter: "+h}return r},getPBKDF2KeyHexFromParam:function(e,t){var n=v.enc.Hex.parse(e.pbkdf2Salt),i=v.PBKDF2(t,n,{keySize:6,iterations:e.pbkdf2Iter});return v.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var n=Le(e,"ENCRYPTED PRIVATE KEY"),i=this.parseHexOfEncryptedPKCS8(n),r=Fe.getPBKDF2KeyHexFromParam(i,t),o={};o.ciphertext=v.enc.Hex.parse(i.ciphertext);var a=v.enc.Hex.parse(r),s=v.enc.Hex.parse(i.encryptionSchemeIV),u=v.TripleDES.decrypt(o,a,{iv:s});return v.enc.Hex.stringify(u)},getKeyFromEncryptedPKCS8PEM:function(e,t){var n=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(n)},parsePlainPrivatePKCS8Hex:function(e){var t=de,n=t.getChildIdx,i=t.getV,r={algparam:null};if("30"!=e.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var o=n(e,0);if(3!=o.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=e.substr(o[1],2))throw"malformed PKCS8 private key(code:003)";var a=n(e,o[1]);if(2!=a.length)throw"malformed PKCS8 private key(code:004)";if("06"!=e.substr(a[0],2))throw"malformed PKCS8 private key(code:005)";if(r.algoid=i(e,a[0]),"06"==e.substr(a[1],2)&&(r.algparam=i(e,a[1])),"04"!=e.substr(o[2],2))throw"malformed PKCS8 private key(code:006)";return r.keyidx=t.getVidx(e,o[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(e){var t=Le(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,n=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==n.algoid)t=new re;else if("2a8648ce380401"==n.algoid)t=new ce.crypto.DSA;else{if("2a8648ce3d0201"!=n.algoid)throw"unsupported private key algorithm";t=new ce.crypto.ECDSA}return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,n=de.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===n)t=new re;else if("2a8648ce380401"===n)t=new ce.crypto.DSA;else{if("2a8648ce3d0201"!==n)throw"unsupported PKCS#8 public key hex";t=new ce.crypto.ECDSA}return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=de.getChildIdx,n=de.getV,i={};if("30"!=e.substr(0,2))throw"malformed RSA key(code:001)";var r=t(e,0);if(2!=r.length)throw"malformed RSA key(code:002)";if("02"!=e.substr(r[0],2))throw"malformed RSA key(code:003)";if(i.n=n(e,r[0]),"02"!=e.substr(r[1],2))throw"malformed RSA key(code:004)";return i.e=n(e,r[1]),i},parsePublicPKCS8Hex:function(e){var t=de,n=t.getChildIdx,i=t.getV,r={algparam:null},o=n(e,0);if(2!=o.length)throw"outer DERSequence shall have 2 elements: "+o.length;var a=o[0];if("30"!=e.substr(a,2))throw"malformed PKCS8 public key(code:001)";var s=n(e,a);if(2!=s.length)throw"malformed PKCS8 public key(code:002)";if("06"!=e.substr(s[0],2))throw"malformed PKCS8 public key(code:003)";if(r.algoid=i(e,s[0]),"06"==e.substr(s[1],2)?r.algparam=i(e,s[1]):"30"==e.substr(s[1],2)&&(r.algparam={},r.algparam.p=t.getVbyList(e,s[1],[0],"02"),r.algparam.q=t.getVbyList(e,s[1],[1],"02"),r.algparam.g=t.getVbyList(e,s[1],[2],"02")),"03"!=e.substr(o[1],2))throw"malformed PKCS8 public key(code:004)";return r.key=i(e,o[1]).substr(2),r}}}();Fe.getKey=function(e,t,n){var i,r=(v=de).getChildIdx,o=v.getVbyList,a=ce.crypto,s=a.ECDSA,u=a.DSA,c=re,l=Le,h=Fe;if(void 0!==c&&e instanceof c)return e;if(void 0!==s&&e instanceof s)return e;if(void 0!==u&&e instanceof u)return e;if(void 0!==e.curve&&void 0!==e.xy&&void 0===e.d)return new s({pub:e.xy,curve:e.curve});if(void 0!==e.curve&&void 0!==e.d)return new s({prv:e.d,curve:e.curve});if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(L=new c).setPublic(e.n,e.e),L;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.co&&void 0===e.qi)return(L=new c).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),L;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0===e.p)return(L=new c).setPrivate(e.n,e.e,e.d),L;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0===e.x)return(L=new u).setPublic(e.p,e.q,e.g,e.y),L;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0!==e.x)return(L=new u).setPrivate(e.p,e.q,e.g,e.y,e.x),L;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(L=new c).setPublic(be(e.n),be(e.e)),L;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.qi)return(L=new c).setPrivateEx(be(e.n),be(e.e),be(e.d),be(e.p),be(e.q),be(e.dp),be(e.dq),be(e.qi)),L;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d)return(L=new c).setPrivate(be(e.n),be(e.e),be(e.d)),L;if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0===e.d){var d=(E=new s({curve:e.crv})).ecparams.keylen/4,f="04"+("0000000000"+be(e.x)).slice(-d)+("0000000000"+be(e.y)).slice(-d);return E.setPublicKeyHex(f),E}if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0!==e.d){d=(E=new s({curve:e.crv})).ecparams.keylen/4,f="04"+("0000000000"+be(e.x)).slice(-d)+("0000000000"+be(e.y)).slice(-d);var p=("0000000000"+be(e.d)).slice(-d);return E.setPublicKeyHex(f),E.setPrivateKeyHex(p),E}if("pkcs5prv"===n){var g,m=e,v=de;if(9===(g=r(m,0)).length)(L=new c).readPKCS5PrvKeyHex(m);else if(6===g.length)(L=new u).readPKCS5PrvKeyHex(m);else{if(!(g.length>2&&"04"===m.substr(g[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(L=new s).readPKCS5PrvKeyHex(m)}return L}if("pkcs8prv"===n)return h.getKeyFromPlainPrivatePKCS8Hex(e);if("pkcs8pub"===n)return h._getKeyFromPublicPKCS8Hex(e);if("x509pub"===n)return We.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return We.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var y=Le(e,"PUBLIC KEY");return h._getKeyFromPublicPKCS8Hex(y)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var _=l(e,"RSA PRIVATE KEY");return h.getKey(_,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var b=o(i=l(e,"DSA PRIVATE KEY"),0,[1],"02"),w=o(i,0,[2],"02"),M=o(i,0,[3],"02"),k=o(i,0,[4],"02"),T=o(i,0,[5],"02");return(L=new u).setPrivate(new A(b,16),new A(w,16),new A(M,16),new A(k,16),new A(T,16)),L}if(-1!=e.indexOf("-END PRIVATE KEY-"))return h.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var S=h.getDecryptedKeyHex(e,t),C=new re;return C.readPKCS5PrvKeyHex(S),C}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var E,L=o(i=h.getDecryptedKeyHex(e,t),0,[1],"04"),z=o(i,0,[2,0],"06"),R=o(i,0,[3,0],"03").substr(2);if(void 0===ce.crypto.OID.oidhex2name[z])throw"undefined OID(hex) in KJUR.crypto.OID: "+z;return(E=new s({curve:ce.crypto.OID.oidhex2name[z]})).setPublicKeyHex(R),E.setPrivateKeyHex(L),E.isPublic=!1,E}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED"))return b=o(i=h.getDecryptedKeyHex(e,t),0,[1],"02"),w=o(i,0,[2],"02"),M=o(i,0,[3],"02"),k=o(i,0,[4],"02"),T=o(i,0,[5],"02"),(L=new u).setPrivate(new A(b,16),new A(w,16),new A(M,16),new A(k,16),new A(T,16)),L;if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return h.getKeyFromEncryptedPKCS8PEM(e,t);throw"not supported argument"},Fe.generateKeypair=function(e,t){if("RSA"==e){var n=t;(a=new re).generate(n,"10001"),a.isPrivate=!0,a.isPublic=!0;var i=new re,r=a.n.toString(16),o=a.e.toString(16);return i.setPublic(r,o),i.isPrivate=!1,i.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=i,s}if("EC"==e){var a,s,u=t,c=new ce.crypto.ECDSA({curve:u}).generateKeyPairHex();return(a=new ce.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),a.setPrivateKeyHex(c.ecprvhex),a.isPrivate=!0,a.isPublic=!1,(i=new ce.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),i.isPrivate=!1,i.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=i,s}throw"unknown algorithm: "+e},Fe.getPEM=function(e,t,n,i,r,o){var a=ce.asn1,s=a.DERObjectIdentifier,u=a.DERInteger,c=a.ASN1Util.newObject,l=ce.crypto,h=l.DSA,d=l.ECDSA,f=re;function p(e){return c({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function g(e){return c({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function m(e){return c({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==f&&e instanceof f||void 0!==h&&e instanceof h||void 0!==d&&e instanceof d)&&1==e.isPublic&&(void 0===t||"PKCS8PUB"==t))return Ee(w=new(0,a.x509.SubjectPublicKeyInfo)(e).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==t&&void 0!==f&&e instanceof f&&(void 0===n||null==n)&&1==e.isPrivate)return Ee(w=p(e).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==t&&void 0!==d&&e instanceof d&&(void 0===n||null==n)&&1==e.isPrivate){var y=new s({name:e.curveName}).getEncodedHex(),_=g(e).getEncodedHex(),b="";return(b+=Ee(y,"EC PARAMETERS"))+Ee(_,"EC PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==h&&e instanceof h&&(void 0===n||null==n)&&1==e.isPrivate)return Ee(w=m(e).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==t&&void 0!==f&&e instanceof f&&void 0!==n&&null!=n&&1==e.isPrivate){var w=p(e).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",w,n,i,o)}if("PKCS5PRV"==t&&void 0!==d&&e instanceof d&&void 0!==n&&null!=n&&1==e.isPrivate)return w=g(e).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",w,n,i,o);if("PKCS5PRV"==t&&void 0!==h&&e instanceof h&&void 0!==n&&null!=n&&1==e.isPrivate)return w=m(e).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",w,n,i,o);var M=function(e,t){var n=A(e,t);return new c({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:n.pbkdf2Salt}},{int:n.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:n.encryptionSchemeIV}}]}]}]},{octstr:{hex:n.ciphertext}}]}).getEncodedHex()},A=function(e,t){var n=v.lib.WordArray.random(8),i=v.lib.WordArray.random(8),r=v.PBKDF2(t,n,{keySize:6,iterations:100}),o=v.enc.Hex.parse(e),a=v.TripleDES.encrypt(o,r,{iv:i})+"",s={};return s.ciphertext=a,s.pbkdf2Salt=v.enc.Hex.stringify(n),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=v.enc.Hex.stringify(i),s};if("PKCS8PRV"==t&&null!=f&&e instanceof f&&1==e.isPrivate){var k=p(e).getEncodedHex();return w=c({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Ee(w,"PRIVATE KEY"):Ee(_=M(w,n),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==t&&void 0!==d&&e instanceof d&&1==e.isPrivate)return k=new c({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]}).getEncodedHex(),w=c({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Ee(w,"PRIVATE KEY"):Ee(_=M(w,n),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==t&&void 0!==h&&e instanceof h&&1==e.isPrivate)return k=new u({bigint:e.x}).getEncodedHex(),w=c({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Ee(w,"PRIVATE KEY"):Ee(_=M(w,n),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},Fe.getKeyFromCSRPEM=function(e){var t=Le(e,"CERTIFICATE REQUEST");return Fe.getKeyFromCSRHex(t)},Fe.getKeyFromCSRHex=function(e){var t=Fe.parseCSRHex(e);return Fe.getKey(t.p8pubkeyhex,null,"pkcs8pub")},Fe.parseCSRHex=function(e){var t=de.getChildIdx,n=de.getTLV,i={},r=e;if("30"!=r.substr(0,2))throw"malformed CSR(code:001)";var o=t(r,0);if(o.length<1)throw"malformed CSR(code:002)";if("30"!=r.substr(o[0],2))throw"malformed CSR(code:003)";var a=t(r,o[0]);if(a.length<3)throw"malformed CSR(code:004)";return i.p8pubkeyhex=n(r,a[2]),i},Fe.getJWKFromKey=function(e){var t={};if(e instanceof re&&e.isPrivate)return t.kty="RSA",t.n=_e(e.n.toString(16)),t.e=_e(e.e.toString(16)),t.d=_e(e.d.toString(16)),t.p=_e(e.p.toString(16)),t.q=_e(e.q.toString(16)),t.dp=_e(e.dmp1.toString(16)),t.dq=_e(e.dmq1.toString(16)),t.qi=_e(e.coeff.toString(16)),t;if(e instanceof re&&e.isPublic)return t.kty="RSA",t.n=_e(e.n.toString(16)),t.e=_e(e.e.toString(16)),t;if(e instanceof ce.crypto.ECDSA&&e.isPrivate){if("P-256"!==(i=e.getShortNISTPCurveName())&&"P-384"!==i)throw"unsupported curve name for JWT: "+i;var n=e.getPublicKeyXYHex();return t.kty="EC",t.crv=i,t.x=_e(n.x),t.y=_e(n.y),t.d=_e(e.prvKeyHex),t}if(e instanceof ce.crypto.ECDSA&&e.isPublic){var i;if("P-256"!==(i=e.getShortNISTPCurveName())&&"P-384"!==i)throw"unsupported curve name for JWT: "+i;return n=e.getPublicKeyXYHex(),t.kty="EC",t.crv=i,t.x=_e(n.x),t.y=_e(n.y),t}throw"not supported key object"},re.getPosArrayOfChildrenFromHex=function(e){return de.getChildIdx(e,0)},re.getHexValueArrayOfChildrenFromHex=function(e){var t,n=de.getV,i=n(e,(t=re.getPosArrayOfChildrenFromHex(e))[0]),r=n(e,t[1]),o=n(e,t[2]),a=n(e,t[3]),s=n(e,t[4]),u=n(e,t[5]),c=n(e,t[6]),l=n(e,t[7]),h=n(e,t[8]);return(t=new Array).push(i,r,o,a,s,u,c,l,h),t},re.prototype.readPrivateKeyFromPEMString=function(e){var t=Le(e),n=re.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])},re.prototype.readPKCS5PrvKeyHex=function(e){var t=re.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},re.prototype.readPKCS8PrvKeyHex=function(e){var t,n,i,r,o,a,s,u,c=de.getVbyList;if(!1===de.isASN1HEX(e))throw"not ASN.1 hex string";try{t=c(e,0,[2,0,1],"02"),n=c(e,0,[2,0,2],"02"),i=c(e,0,[2,0,3],"02"),r=c(e,0,[2,0,4],"02"),o=c(e,0,[2,0,5],"02"),a=c(e,0,[2,0,6],"02"),s=c(e,0,[2,0,7],"02"),u=c(e,0,[2,0,8],"02")}catch(e){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(t,n,i,r,o,a,s,u)},re.prototype.readPKCS5PubKeyHex=function(e){var t=de,n=t.getV;if(!1===t.isASN1HEX(e))throw"keyHex is not ASN.1 hex string";var i=t.getChildIdx(e,0);if(2!==i.length||"02"!==e.substr(i[0],2)||"02"!==e.substr(i[1],2))throw"wrong hex for PKCS#5 public key";var r=n(e,i[0]),o=n(e,i[1]);this.setPublic(r,o)},re.prototype.readPKCS8PubKeyHex=function(e){var t=de;if(!1===t.isASN1HEX(e))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==t.getTLVbyList(e,0,[0,0]))throw"not PKCS8 RSA public key";var n=t.getTLVbyList(e,0,[1,0]);this.readPKCS5PubKeyHex(n)},re.prototype.readCertPubKeyHex=function(e,t){var n,i;(n=new We).readCertHex(e),i=n.getPublicKeyHex(),this.readPKCS8PubKeyHex(i)};var He=new RegExp("");function qe(e,t){for(var n="",i=t/4-e.length,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=1;return i}function Ye(e){for(var t in ce.crypto.Util.DIGESTINFOHEAD){var n=ce.crypto.Util.DIGESTINFOHEAD[t],i=n.length;if(e.substring(0,i)==n)return[t,e.substring(i)]}return[]}function We(){var e=de,t=e.getChildIdx,n=e.getV,i=e.getTLV,r=e.getVbyList,o=e.getTLVbyList,a=e.getIdxbyList,s=e.getVidx,u=e.oidname,c=We,l=Le;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==o(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return r(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return u(r(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return o(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return c.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return o(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return c.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var e=r(this.hex,0,[0,4+this.foffset,0]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getNotAfter=function(){var e=r(this.hex,0,[0,4+this.foffset,1]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getPublicKeyHex=function(){return e.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return a(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var e=this.getPublicKeyIdx();return a(this.hex,e,[1,0],"30")},this.getPublicKey=function(){return Fe.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return u(r(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return r(this.hex,0,[2],"03",!0)},this.verifySignature=function(e){var t=this.getSignatureAlgorithmName(),n=this.getSignatureValueHex(),i=o(this.hex,0,[0],"30"),r=new ce.crypto.Signature({alg:t});return r.init(e),r.updateHex(i),r.verify(n)},this.parseExt=function(){if(3!==this.version)return-1;var n=a(this.hex,0,[0,7,0],"30"),i=t(this.hex,n);this.aExtInfo=new Array;for(var o=0;o0&&(c=new Array(n),(new te).nextBytes(c),c=String.fromCharCode.apply(String,c));var l=Ae(u(ke("\0\0\0\0\0\0\0\0"+r+c))),h=[];for(i=0;i>8*s-a&255),i=0;ithis.n.bitLength())return 0;var i=Ye(this.doPublic(n).toString(16).replace(/^1f+00/,""));if(0==i.length)return!1;var r=i[0];return i[1]==function(e){return ce.crypto.Util.hashString(e,r)}(e)},re.prototype.verifyWithMessageHash=function(e,t){var n=ne(t=(t=t.replace(He,"")).replace(/[ \n]+/g,""),16);if(n.bitLength()>this.n.bitLength())return 0;var i=Ye(this.doPublic(n).toString(16).replace(/^1f+00/,""));return 0!=i.length&&i[1]==e},re.prototype.verifyPSS=function(e,t,n,i){var r=function(e){return ce.crypto.Util.hashHex(e,n)}(ke(e));return void 0===i&&(i=-1),this.verifyWithMessageHashPSS(r,t,n,i)},re.prototype.verifyWithMessageHashPSS=function(e,t,n,i){var r=new A(t,16);if(r.bitLength()>this.n.bitLength())return!1;var o,a=function(e){return ce.crypto.Util.hashHex(e,n)},s=Ae(e),u=s.length,c=this.n.bitLength()-1,l=Math.ceil(c/8);if(-1===i||void 0===i)i=u;else if(-2===i)i=l-u-2;else if(i<-2)throw"invalid salt length";if(l>8*l-c&255;if(0!=(d.charCodeAt(0)&p))throw"bits beyond keysize not zero";var g=je(f,d.length,a),m=[];for(o=0;o0&&-1==(":"+i.join(":")+":").indexOf(":"+m+":"))throw"algorithm '"+m+"' not accepted in the list";if("none"!=m&&null===t)throw"key shall be specified to verify.";if("string"==typeof t&&-1!=t.indexOf("-----BEGIN ")&&(t=Fe.getKey(t)),!("RS"!=d&&"PS"!=d||t instanceof r))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(t instanceof u))throw"key shall be a ECDSA obj for ES* algs";var v=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+m;if("none"==(v=o.jwsalg2sigalg[m]))throw"not supported";if("Hmac"==v.substr(0,4)){if(void 0===t)throw"hexadecimal key shall be specified for HMAC";var y=new c({alg:v,pass:t});return y.updateString(f),p==y.doFinal()}if(-1!=v.indexOf("withECDSA")){var _,b=null;try{b=u.concatSigToASN1Sig(p)}catch(e){return!1}return(_=new l({alg:v})).init(t),_.updateString(f),_.verify(b)}return(_=new l({alg:v})).init(t),_.updateString(f),_.verify(p)},ce.jws.JWS.parse=function(e){var t,n,i=e.split("."),r={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=i[1],3==i.length&&(n=i[2]),r.headerObj=ce.jws.JWS.readSafeJSONString(he(i[0])),r.payloadObj=ce.jws.JWS.readSafeJSONString(he(t)),r.headerPP=JSON.stringify(r.headerObj,null," "),r.payloadPP=null==r.payloadObj?he(t):JSON.stringify(r.payloadObj,null," "),void 0!==n&&(r.sigHex=be(n)),r},ce.jws.JWS.verifyJWT=function(e,t,i){var r=ce.jws,o=r.JWS,a=o.readSafeJSONString,s=o.inArray,u=o.includedArray,c=e.split("."),l=c[0],h=c[1],d=(be(c[2]),a(he(l))),f=a(he(h));if(void 0===d.alg)return!1;if(void 0===i.alg)throw"acceptField.alg shall be specified";if(!s(d.alg,i.alg))return!1;if(void 0!==f.iss&&"object"===n(i.iss)&&!s(f.iss,i.iss))return!1;if(void 0!==f.sub&&"object"===n(i.sub)&&!s(f.sub,i.sub))return!1;if(void 0!==f.aud&&"object"===n(i.aud))if("string"==typeof f.aud){if(!s(f.aud,i.aud))return!1}else if("object"==n(f.aud)&&!u(f.aud,i.aud))return!1;var p=r.IntDate.getNow();return void 0!==i.verifyAt&&"number"==typeof i.verifyAt&&(p=i.verifyAt),void 0!==i.gracePeriod&&"number"==typeof i.gracePeriod||(i.gracePeriod=0),!(void 0!==f.exp&&"number"==typeof f.exp&&f.exp+i.gracePeriodt.length&&(n=t.length);for(var i=0;i=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(i)return H(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function m(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=u.from(t,i)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,r);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,i,r){var o,a=1,s=e.length,u=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;dr&&(i=r):i=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}function k(e,t,n){return i.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[r+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:a=e[r+2],128==(192&(o=e[r+1]))&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[r+2],s=e[r+3],128==(192&(o=e[r+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(i.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),i.push(l),r+=h}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);for(var n="",i=0;ithis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return E(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}).apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,i,r){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(i,r),l=e.slice(t,n),h=0;hr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return M(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function C(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;ri)&&(n=i);for(var r="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,i,r,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function x(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function D(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function P(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,i,o){return o||P(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function I(e,t,n,i,o){return o||P(e,0,n,8),r.write(e,t,n,i,52,8),n+8}u.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},u.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var i=this[e],r=1,o=0;++o=(r*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),r.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),r.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),r.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),r.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+r]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function j(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,n(28))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){for(var t,n=c(e),i=n[0],a=n[1],s=new o(function(e,t,n){return 3*(t+n)/4-n}(0,i,a)),u=0,l=a>0?i-4:i,h=0;h>16&255,s[u++]=t>>8&255,s[u++]=255&t;return 2===a&&(t=r[e.charCodeAt(h)]<<2|r[e.charCodeAt(h+1)]>>4,s[u++]=255&t),1===a&&(t=r[e.charCodeAt(h)]<<10|r[e.charCodeAt(h+1)]<<4|r[e.charCodeAt(h+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],a=0,s=n-r;as?s:a+16383));return 1===r?o.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&o.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var r,o=[],a=t;a>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,u=(1<>1,l=-7,h=n?r-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=i;l>0;a=256*a+e[t+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=c}return(f?-1:1)*a*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var a,s,u,c=8*o-r-1,l=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,p=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(t*u-1)*Math.pow(2,r),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;e[n+f]=255&s,f+=p,s/=256,r-=8);for(a=a<0;e[n+f]=255&a,f+=p,a/=256,c-=8);e[n+f-p]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.jws,n=e.KeyUtil,r=e.X509,o=e.crypto,a=e.hextob64u,s=e.b64tohex,u=e.AllowedSigningAlgs;return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.parseJwt=function e(n){i.Log.debug("JoseUtil.parseJwt");try{var r=t.JWS.parse(n);return{header:r.headerObj,payload:r.payloadObj}}catch(e){i.Log.error(e)}},e.validateJwt=function(t,o,a,u,c,l,h){i.Log.debug("JoseUtil.validateJwt");try{if("RSA"===o.kty)if(o.e&&o.n)o=n.getKey(o);else{if(!o.x5c||!o.x5c.length)return i.Log.error("JoseUtil.validateJwt: RSA key missing key material",o),Promise.reject(new Error("RSA key missing key material"));var d=s(o.x5c[0]);o=r.getPublicKeyFromCertHex(d)}else{if("EC"!==o.kty)return i.Log.error("JoseUtil.validateJwt: Unsupported key type",o&&o.kty),Promise.reject(new Error(o.kty));if(!(o.crv&&o.x&&o.y))return i.Log.error("JoseUtil.validateJwt: EC key missing key material",o),Promise.reject(new Error("EC key missing key material"));o=n.getKey(o)}return e._validateJwt(t,o,a,u,c,l,h)}catch(e){return i.Log.error(e&&e.message||e),Promise.reject("JWT validation failed")}},e.validateJwtAttributes=function(t,n,r,o,a,s){o||(o=0),a||(a=parseInt(Date.now()/1e3));var u=e.parseJwt(t).payload;if(!u.iss)return i.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(u.iss!==n)return i.Log.error("JoseUtil._validateJwt: Invalid issuer in token",u.iss),Promise.reject(new Error("Invalid issuer in token: "+u.iss));if(!u.aud)return i.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(u.aud===r||Array.isArray(u.aud)&&u.aud.indexOf(r)>=0))return i.Log.error("JoseUtil._validateJwt: Invalid audience in token",u.aud),Promise.reject(new Error("Invalid audience in token: "+u.aud));if(u.azp&&u.azp!==r)return i.Log.error("JoseUtil._validateJwt: Invalid azp in token",u.azp),Promise.reject(new Error("Invalid azp in token: "+u.azp));if(!s){var c=a+o,l=a-o;if(!u.iat)return i.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(c>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var i=t||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SigninResponse=void 0;var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"#";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=r.UrlUtility.parseUrlFragment(t,n);this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.code=i.code,this.state=i.state,this.id_token=i.id_token,this.session_state=i.session_state,this.access_token=i.access_token,this.token_type=i.token_type,this.scope=i.scope,this.profile=void 0,this.expires_in=i.expires_in}return i(e,[{key:"expires_in",get:function(){if(this.expires_at){var e=parseInt(Date.now()/1e3);return this.expires_at-e}},set:function(e){var t=parseInt(e);if("number"==typeof t&&t>0){var n=parseInt(Date.now()/1e3);this.expires_at=n+t}}},{key:"expired",get:function(){var e=this.expires_in;if(void 0!==e)return e<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutRequest=void 0;var i=n(0),r=n(3),o=n(8);t.SignoutRequest=function e(t){var n=t.url,a=t.id_token_hint,s=t.post_logout_redirect_uri,u=t.data,c=t.extraQueryParams,l=t.request_type;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!n)throw i.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var h in a&&(n=r.UrlUtility.addQueryParam(n,"id_token_hint",a)),s&&(n=r.UrlUtility.addQueryParam(n,"post_logout_redirect_uri",s),u&&(this.state=new o.State({data:u,request_type:l}),n=r.UrlUtility.addQueryParam(n,"state",this.state.id))),c)n=r.UrlUtility.addQueryParam(n,h,c[h]);this.url=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignoutResponse=void 0;var i=n(3);t.SignoutResponse=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=i.UrlUtility.parseUrlFragment(t,"?");this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.state=n.state}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryWebStorage=void 0;var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.SessionMonitor,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.TokenRevocationClient,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,g=arguments.length>5&&void 0!==arguments[5]?arguments[5]:f.JoseUtil;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n instanceof a.UserManagerSettings||(n=new a.UserManagerSettings(n));var m=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return m._events=new u.UserManagerEvents(n),m._silentRenewService=new i(m),m.settings.automaticSilentRenew&&(r.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),m.startSilentRenew()),m.settings.monitorSession&&(r.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),m._sessionMonitor=new o(m)),m._tokenRevocationClient=new s(m._settings),m._tokenClient=new p(m._settings),m._joseUtil=g,m}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getUser=function(){var e=this;return this._loadUser().then(function(t){return t?(r.Log.info("UserManager.getUser: user loaded"),e._events.load(t,!1),t):(r.Log.info("UserManager.getUser: user not found in storage"),null)})},t.prototype.removeUser=function(){var e=this;return this.storeUser(null).then(function(){r.Log.info("UserManager.removeUser: user removed from storage"),e._events.unload()})},t.prototype.signinRedirect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:r";var t={useReplaceToNavigate:e.useReplaceToNavigate};return this._signinStart(e,this._redirectNavigator,t).then(function(){r.Log.info("UserManager.signinRedirect: successful")})},t.prototype.signinRedirectCallback=function(e){return this._signinEnd(e||this._redirectNavigator.url).then(function(e){return e.profile&&e.profile.sub?r.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",e.profile.sub):r.Log.info("UserManager.signinRedirectCallback: no sub"),e})},t.prototype.signinPopup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:p";var t=e.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return t?(e.redirect_uri=t,e.display="popup",this._signin(e,this._popupNavigator,{startUrl:t,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then(function(e){return e&&(e.profile&&e.profile.sub?r.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",e.profile.sub):r.Log.info("UserManager.signinPopup: no sub")),e})):(r.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},t.prototype.signinPopupCallback=function(e){return this._signinCallback(e,this._popupNavigator).then(function(e){return e&&(e.profile&&e.profile.sub?r.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",e.profile.sub):r.Log.info("UserManager.signinPopupCallback: no sub")),e}).catch(function(e){r.Log.error(e.message)})},t.prototype.signinSilent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(t=Object.assign({},t)).request_type="si:s",this._loadUser().then(function(n){return n&&n.refresh_token?(t.refresh_token=n.refresh_token,e._useRefreshToken(t)):(t.id_token_hint=t.id_token_hint||e.settings.includeIdTokenInSilentRenew&&n&&n.id_token,n&&e._settings.validateSubOnSilentRenew&&(r.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",n.profile.sub),t.current_sub=n.profile.sub),e._signinSilentIframe(t))})},t.prototype._useRefreshToken=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(t).then(function(t){return t?t.access_token?e._loadUser().then(function(n){if(n){var i=Promise.resolve();return t.id_token&&(i=e._validateIdTokenFromTokenRefreshToken(n.profile,t.id_token)),i.then(function(){return r.Log.debug("UserManager._useRefreshToken: refresh token response success"),n.id_token=t.id_token,n.access_token=t.access_token,n.refresh_token=t.refresh_token||n.refresh_token,n.expires_in=t.expires_in,e.storeUser(n).then(function(){return e._events.load(n),n})})}return null}):(r.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(r.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},t.prototype._validateIdTokenFromTokenRefreshToken=function(e,t){var n=this;return this._metadataService.getIssuer().then(function(i){return n._joseUtil.validateJwtAttributes(t,i,n._settings.client_id,n._settings.clockSkew).then(function(t){return t?t.sub!==e.sub?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):t.auth_time&&t.auth_time!==e.auth_time?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):t.azp&&t.azp!==e.azp?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!t.azp&&e.azp?(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(r.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})},t.prototype._signinSilentIframe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return t?(e.redirect_uri=t,e.prompt=e.prompt||"none",this._signin(e,this._iframeNavigator,{startUrl:t,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(e){return e&&(e.profile&&e.profile.sub?r.Log.info("UserManager.signinSilent: successful, signed in sub: ",e.profile.sub):r.Log.info("UserManager.signinSilent: no sub")),e})):(r.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},t.prototype.signinSilentCallback=function(e){return this._signinCallback(e,this._iframeNavigator).then(function(e){return e&&(e.profile&&e.profile.sub?r.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",e.profile.sub):r.Log.info("UserManager.signinSilentCallback: no sub")),e})},t.prototype.signinCallback=function(e){var t=this;return this.readSigninResponseState(e).then(function(n){var i=n.state;return"si:r"===i.request_type?t.signinRedirectCallback(e):"si:p"===i.request_type?t.signinPopupCallback(e):"si:s"===i.request_type?t.signinSilentCallback(e):Promise.reject(new Error("invalid response_type in state"))})},t.prototype.signoutCallback=function(e,t){var n=this;return this.readSignoutResponseState(e).then(function(i){var r=i.state,o=i.response;return r?"so:r"===r.request_type?n.signoutRedirectCallback(e):"so:p"===r.request_type?n.signoutPopupCallback(e,t):Promise.reject(new Error("invalid response_type in state")):o})},t.prototype.querySessionStatus=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:s";var n=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return n?(t.redirect_uri=n,t.prompt="none",t.response_type=t.response_type||this.settings.query_status_response_type,t.scope=t.scope||"openid",t.skipUserInfo=!0,this._signinStart(t,this._iframeNavigator,{startUrl:n,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(t){return e.processSigninResponse(t.url).then(function(e){if(r.Log.debug("UserManager.querySessionStatus: got signin response"),e.session_state&&e.profile.sub)return r.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",e.profile.sub),{session_state:e.session_state,sub:e.profile.sub,sid:e.profile.sid};r.Log.info("querySessionStatus successful, user not authenticated")}).catch(function(t){if(t.session_state&&e.settings.monitorAnonymousSession&&("login_required"==t.message||"consent_required"==t.message||"interaction_required"==t.message||"account_selection_required"==t.message))return r.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:t.session_state};throw t})})):(r.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},t.prototype._signin=function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(e,t,i).then(function(t){return n._signinEnd(t.url,e)})},t.prototype._signinStart=function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.prepare(i).then(function(t){return r.Log.debug("UserManager._signinStart: got navigator window handle"),n.createSigninRequest(e).then(function(e){return r.Log.debug("UserManager._signinStart: got signin request"),i.url=e.url,i.id=e.state.id,t.navigate(i)}).catch(function(e){throw t.close&&(r.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),t.close()),e})})},t.prototype._signinEnd=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(e).then(function(e){r.Log.debug("UserManager._signinEnd: got signin response");var i=new s.User(e);if(n.current_sub){if(n.current_sub!==i.profile.sub)return r.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",i.profile.sub),Promise.reject(new Error("login_required"));r.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return t.storeUser(i).then(function(){return r.Log.debug("UserManager._signinEnd: user stored"),t._events.load(i),i})})},t.prototype._signinCallback=function(e,t){return r.Log.debug("UserManager._signinCallback"),t.callback(e)},t.prototype.signoutRedirect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="so:r";var t=e.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;t&&(e.post_logout_redirect_uri=t);var n={useReplaceToNavigate:e.useReplaceToNavigate};return this._signoutStart(e,this._redirectNavigator,n).then(function(){r.Log.info("UserManager.signoutRedirect: successful")})},t.prototype.signoutRedirectCallback=function(e){return this._signoutEnd(e||this._redirectNavigator.url).then(function(e){return r.Log.info("UserManager.signoutRedirectCallback: successful"),e})},t.prototype.signoutPopup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="so:p";var t=e.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return e.post_logout_redirect_uri=t,e.display="popup",e.post_logout_redirect_uri&&(e.state=e.state||{}),this._signout(e,this._popupNavigator,{startUrl:t,popupWindowFeatures:e.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:e.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){r.Log.info("UserManager.signoutPopup: successful")})},t.prototype.signoutPopupCallback=function(e,t){return void 0===t&&"boolean"==typeof e&&(t=e,e=null),this._popupNavigator.callback(e,t,"?").then(function(){r.Log.info("UserManager.signoutPopupCallback: successful")})},t.prototype._signout=function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(e,t,i).then(function(e){return n._signoutEnd(e.url)})},t.prototype._signoutStart=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this,n=arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.prepare(i).then(function(n){return r.Log.debug("UserManager._signoutStart: got navigator window handle"),t._loadUser().then(function(o){return r.Log.debug("UserManager._signoutStart: loaded current user from storage"),(t._settings.revokeAccessTokenOnSignout?t._revokeInternal(o):Promise.resolve()).then(function(){var a=e.id_token_hint||o&&o.id_token;return a&&(r.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),e.id_token_hint=a),t.removeUser().then(function(){return r.Log.debug("UserManager._signoutStart: user removed, creating signout request"),t.createSignoutRequest(e).then(function(e){return r.Log.debug("UserManager._signoutStart: got signout request"),i.url=e.url,e.state&&(i.id=e.state.id),n.navigate(i)})})})}).catch(function(e){throw n.close&&(r.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),n.close()),e})})},t.prototype._signoutEnd=function(e){return this.processSignoutResponse(e).then(function(e){return r.Log.debug("UserManager._signoutEnd: got signout response"),e})},t.prototype.revokeAccessToken=function(){var e=this;return this._loadUser().then(function(t){return e._revokeInternal(t,!0).then(function(n){if(n)return r.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),t.access_token=null,t.refresh_token=null,t.expires_at=null,t.token_type=null,e.storeUser(t).then(function(){r.Log.debug("UserManager.revokeAccessToken: user stored"),e._events.load(t)})})}).then(function(){r.Log.info("UserManager.revokeAccessToken: access token revoked successfully")})},t.prototype._revokeInternal=function(e,t){var n=this;if(e){var i=e.refresh_token;return this._revokeAccessTokenInternal(e.access_token,t).then(function(e){return n._revokeRefreshTokenInternal(i,t).then(function(t){return e||t||r.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),e||t})})}return Promise.resolve(!1)},t.prototype._revokeAccessTokenInternal=function(e,t){return!e||e.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(e,t).then(function(){return!0})},t.prototype._revokeRefreshTokenInternal=function(e,t){return e?this._tokenRevocationClient.revoke(e,t,"refresh_token").then(function(){return!0}):Promise.resolve(!1)},t.prototype.startSilentRenew=function(){this._silentRenewService.start()},t.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},t.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(e){return e?(r.Log.debug("UserManager._loadUser: user storageString loaded"),s.User.fromStorageString(e)):(r.Log.debug("UserManager._loadUser: no user storageString"),null)})},t.prototype.storeUser=function(e){if(e){r.Log.debug("UserManager.storeUser: storing user");var t=e.toStorageString();return this._userStore.set(this._userStoreKey,t)}return r.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},i(t,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),t}(o.OidcClient)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserManagerSettings=void 0;var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},i=n.popup_redirect_uri,r=n.popup_post_logout_redirect_uri,h=n.popupWindowFeatures,d=n.popupWindowTarget,f=n.silent_redirect_uri,p=n.silentRequestTimeout,g=n.automaticSilentRenew,m=void 0!==g&&g,v=n.validateSubOnSilentRenew,y=void 0!==v&&v,_=n.includeIdTokenInSilentRenew,b=void 0===_||_,w=n.monitorSession,M=void 0===w||w,A=n.monitorAnonymousSession,k=void 0!==A&&A,T=n.checkSessionInterval,S=void 0===T?2e3:T,C=n.stopCheckSessionOnError,E=void 0===C||C,L=n.query_status_response_type,z=n.revokeAccessTokenOnSignout,R=void 0!==z&&z,O=n.accessTokenExpiringNotificationTime,x=void 0===O?60:O,D=n.redirectNavigator,P=void 0===D?new o.RedirectNavigator:D,N=n.popupNavigator,I=void 0===N?new a.PopupNavigator:N,B=n.iframeNavigator,F=void 0===B?new s.IFrameNavigator:B,H=n.userStore,q=void 0===H?new u.WebStorageStateStore({store:c.Global.sessionStorage}):H;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var j=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,arguments[0]));return j._popup_redirect_uri=i,j._popup_post_logout_redirect_uri=r,j._popupWindowFeatures=h,j._popupWindowTarget=d,j._silent_redirect_uri=f,j._silentRequestTimeout=p,j._automaticSilentRenew=m,j._validateSubOnSilentRenew=y,j._includeIdTokenInSilentRenew=b,j._accessTokenExpiringNotificationTime=x,j._monitorSession=M,j._monitorAnonymousSession=k,j._checkSessionInterval=S,j._stopCheckSessionOnError=E,j._query_status_response_type=L||(arguments[0]&&arguments[0].response_type?l.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),j._revokeAccessTokenOnSignout=R,j._redirectNavigator=P,j._popupNavigator=I,j._iframeNavigator=F,j._userStore=q,j}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),t}(r.OidcClientSettings)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectNavigator=void 0;var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1];i.Log.debug("UserManagerEvents.load"),e.prototype.load.call(this,t),n&&this._userLoaded.raise(t)},t.prototype.unload=function(){i.Log.debug("UserManagerEvents.unload"),e.prototype.unload.call(this),this._userUnloaded.raise()},t.prototype.addUserLoaded=function(e){this._userLoaded.addHandler(e)},t.prototype.removeUserLoaded=function(e){this._userLoaded.removeHandler(e)},t.prototype.addUserUnloaded=function(e){this._userUnloaded.addHandler(e)},t.prototype.removeUserUnloaded=function(e){this._userUnloaded.removeHandler(e)},t.prototype.addSilentRenewError=function(e){this._silentRenewError.addHandler(e)},t.prototype.removeSilentRenewError=function(e){this._silentRenewError.removeHandler(e)},t.prototype._raiseSilentRenewError=function(e){i.Log.debug("UserManagerEvents._raiseSilentRenewError",e.message),this._silentRenewError.raise(e)},t.prototype.addUserSignedIn=function(e){this._userSignedIn.addHandler(e)},t.prototype.removeUserSignedIn=function(e){this._userSignedIn.removeHandler(e)},t.prototype._raiseUserSignedIn=function(){i.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},t.prototype.addUserSignedOut=function(e){this._userSignedOut.addHandler(e)},t.prototype.removeUserSignedOut=function(e){this._userSignedOut.removeHandler(e)},t.prototype._raiseUserSignedOut=function(){i.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},t.prototype.addUserSessionChanged=function(e){this._userSessionChanged.addHandler(e)},t.prototype.removeUserSessionChanged=function(e){this._userSessionChanged.removeHandler(e)},t.prototype._raiseUserSessionChanged=function(){i.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},t}(r.AccessTokenEvents)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0;var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return a._timer=i,a._nowFunc=r||function(){return Date.now()/1e3},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.init=function(e){e<=0&&(e=1),e=parseInt(e);var t=this.now+e;if(this.expiration===t&&this._timerHandle)r.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),r.Log.debug("Timer.init timer "+this._name+" for duration:",e),this._expiration=t;var n=5;e0&&u>s&&(u=s);for(var c=0;c=0?(l=p.substr(0,g),h=p.substr(g+1)):(l=p,h=""),d=decodeURIComponent(l),f=decodeURIComponent(h),t(o,d)?Array.isArray(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o}},5341:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,i,r){return n=n||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var o=encodeURIComponent(t(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return o+encodeURIComponent(t(e))}).join(n):o+encodeURIComponent(t(e[r]))}).join(n):r?encodeURIComponent(t(r))+i+encodeURIComponent(t(e)):""}},6577:function(e,t,n){"use strict";n(963),n(5341)},4360:function(e){"use strict";e.exports=JSON.parse('{"version":"2020a","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|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 WAT|-d.A -10|01|-22y0d.A|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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 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|01212121212121212121212121212121213|-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|","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/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","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/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","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/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","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 BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v 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 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-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 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","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/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","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/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-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 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 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 -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|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/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 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|24e4","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/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","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/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","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|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-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|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|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 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 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","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","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/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","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 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|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|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 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 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|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|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-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 3Co0 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|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 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|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-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 3Co0 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 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/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|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 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|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 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||","Pacific/Port_Moresby|+10|-a0|0||25e4","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 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 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|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|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-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 3Co0 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|-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 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|-2nco8.l cNb8.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|012323232323232321212121212121212121212121212121212121212121212|-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|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|-2yO3F.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|01232345454545454545454545454545454545454545454545454545454|-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 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|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|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-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 20o0 s00 20o0 pc0 20o0 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|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|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|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu 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|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 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/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/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","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/Los_Angeles|US/Pacific-New","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/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|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|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|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/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/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|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/Currie 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/Vancouver America/Whitehorse America/Dawson","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/Astrakhan Europe/Volgograd 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"]}')},6700:function(e,t,n){var i={"./af":776,"./af.js":776,"./ar":7634,"./ar-dz":2758,"./ar-dz.js":2758,"./ar-kw":4980,"./ar-kw.js":4980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":2500,"./ar-ma.js":2500,"./ar-sa":6909,"./ar-sa.js":6909,"./ar-tn":2735,"./ar-tn.js":2735,"./ar.js":7634,"./az":7798,"./az.js":7798,"./be":9949,"./be.js":9949,"./bg":4590,"./bg.js":4590,"./bm":5938,"./bm.js":5938,"./bn":595,"./bn.js":595,"./bo":4756,"./bo.js":4756,"./br":7277,"./br.js":7277,"./bs":4166,"./bs.js":4166,"./ca":3943,"./ca.js":3943,"./cs":3474,"./cs.js":3474,"./cv":2218,"./cv.js":2218,"./cy":1061,"./cy.js":1061,"./da":2743,"./da.js":2743,"./de":1899,"./de-at":8580,"./de-at.js":8580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":1899,"./dv":8784,"./dv.js":8784,"./el":4654,"./el.js":4654,"./en-SG":4047,"./en-SG.js":4047,"./en-au":6277,"./en-au.js":6277,"./en-ca":6896,"./en-ca.js":6896,"./en-gb":1609,"./en-gb.js":1609,"./en-ie":4557,"./en-ie.js":4557,"./en-il":5836,"./en-il.js":5836,"./en-nz":3586,"./en-nz.js":3586,"./eo":2777,"./eo.js":2777,"./es":3357,"./es-do":3128,"./es-do.js":3128,"./es-us":3256,"./es-us.js":3256,"./es.js":3357,"./et":2654,"./et.js":2654,"./eu":7287,"./eu.js":7287,"./fa":3875,"./fa.js":3875,"./fi":3431,"./fi.js":3431,"./fo":1781,"./fo.js":1781,"./fr":1717,"./fr-ca":1539,"./fr-ca.js":1539,"./fr-ch":9847,"./fr-ch.js":9847,"./fr.js":1717,"./fy":2250,"./fy.js":2250,"./ga":7665,"./ga.js":7665,"./gd":5214,"./gd.js":5214,"./gl":6154,"./gl.js":6154,"./gom-latn":8518,"./gom-latn.js":8518,"./gu":9221,"./gu.js":9221,"./he":4743,"./he.js":4743,"./hi":7339,"./hi.js":7339,"./hr":3224,"./hr.js":3224,"./hu":856,"./hu.js":856,"./hy-am":6855,"./hy-am.js":6855,"./id":2190,"./id.js":2190,"./is":3887,"./is.js":3887,"./it":9270,"./it-ch":5890,"./it-ch.js":5890,"./it.js":9270,"./ja":6595,"./ja.js":6595,"./jv":3081,"./jv.js":3081,"./ka":7477,"./ka.js":7477,"./kk":3978,"./kk.js":3978,"./km":9205,"./km.js":9205,"./kn":25,"./kn.js":25,"./ko":427,"./ko.js":427,"./ku":9089,"./ku.js":9089,"./ky":9314,"./ky.js":9314,"./lb":3136,"./lb.js":3136,"./lo":9115,"./lo.js":9115,"./lt":7087,"./lt.js":7087,"./lv":5683,"./lv.js":5683,"./me":9454,"./me.js":9454,"./mi":5507,"./mi.js":5507,"./mk":8466,"./mk.js":8466,"./ml":2933,"./ml.js":2933,"./mn":9477,"./mn.js":9477,"./mr":3597,"./mr.js":3597,"./ms":5529,"./ms-my":9965,"./ms-my.js":9965,"./ms.js":5529,"./mt":259,"./mt.js":259,"./my":8061,"./my.js":8061,"./nb":2618,"./nb.js":2618,"./ne":8452,"./ne.js":8452,"./nl":1885,"./nl-be":413,"./nl-be.js":413,"./nl.js":1885,"./nn":5107,"./nn.js":5107,"./pa-in":702,"./pa-in.js":702,"./pl":1711,"./pl.js":1711,"./pt":594,"./pt-br":8238,"./pt-br.js":8238,"./pt.js":594,"./ro":4681,"./ro.js":4681,"./ru":6201,"./ru.js":6201,"./sd":2912,"./sd.js":2912,"./se":6002,"./se.js":6002,"./si":7942,"./si.js":7942,"./sk":5577,"./sk.js":5577,"./sl":1775,"./sl.js":1775,"./sq":6823,"./sq.js":6823,"./sr":9038,"./sr-cyrl":3848,"./sr-cyrl.js":3848,"./sr.js":9038,"./ss":6173,"./ss.js":6173,"./sv":5788,"./sv.js":5788,"./sw":6882,"./sw.js":6882,"./ta":2678,"./ta.js":2678,"./te":2797,"./te.js":2797,"./tet":2447,"./tet.js":2447,"./tg":1335,"./tg.js":1335,"./th":8667,"./th.js":8667,"./tl-ph":9914,"./tl-ph.js":9914,"./tlh":1389,"./tlh.js":1389,"./tr":3578,"./tr.js":3578,"./tzl":6969,"./tzl.js":6969,"./tzm":6509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":6509,"./ug-cn":55,"./ug-cn.js":55,"./uk":2452,"./uk.js":2452,"./ur":1151,"./ur.js":1151,"./uz":1555,"./uz-latn":6547,"./uz-latn.js":6547,"./uz.js":1555,"./vi":6541,"./vi.js":6541,"./x-pseudo":2401,"./x-pseudo.js":2401,"./yo":2341,"./yo.js":2341,"./zh-cn":619,"./zh-cn.js":619,"./zh-hk":7058,"./zh-hk.js":7058,"./zh-tw":2782,"./zh-tw.js":2782};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=6700},306:function(e){"use strict";e.exports={i8:"2.0.0"}}},function(e){"use strict";e(e.s=4638)}])}(); \ No newline at end of file diff --git a/dist/apps/user-profile/polyfills-es5.7216750f1b97e5296df6.js b/dist/apps/user-profile/polyfills-es5.4b1cffe994fd72a2e04e.js similarity index 99% rename from dist/apps/user-profile/polyfills-es5.7216750f1b97e5296df6.js rename to dist/apps/user-profile/polyfills-es5.4b1cffe994fd72a2e04e.js index eb21b67b8..dffc3cf19 100644 --- a/dist/apps/user-profile/polyfills-es5.7216750f1b97e5296df6.js +++ b/dist/apps/user-profile/polyfills-es5.4b1cffe994fd72a2e04e.js @@ -1 +1 @@ -(self.webpackChunkperun_web_apps=self.webpackChunkperun_web_apps||[]).push([[698,429],{203:function(t,e,n){"use strict";n(228)},2975:function(t,e,n){"use strict";n(4791),n(7037),n(477),n(9213),n(2368),n(6179),n(905),n(2472),n(8272),n(3080),n(1979),n(6152),n(2953),n(410),n(530),n(6270),n(420),n(8868),n(8902),n(3482),n(5704),n(3958),n(7598),n(1519),n(8294),n(8974),n(9394),n(6388),n(5842),n(1180),n(4469),n(3047),n(1097),n(4690),n(8004),n(5443),n(7328),n(7678),n(5319),n(7921),n(4984),n(7400),n(7347),n(6244),n(4626),n(6485),n(6837),n(4049),n(4991),n(3311),n(6477),n(7163),n(7176),n(3744),n(6261),n(706),n(3358),n(1),n(5139),n(9139),n(2786),n(4260),n(890),n(8147),n(6475),n(9305),n(7285),n(8432),n(1323),n(7371),n(352),n(912),n(6954),n(6262),n(2426),n(5374),n(1581),n(4104),n(9719),n(6446),n(9134),n(4378),n(4119),n(7741),n(8854),n(3438),n(3014),n(4098),n(2603),n(4541),n(4932),n(5579),n(9465)},5579:function(t){var e=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(T){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=Object.create((e&&e.prototype instanceof l?e:l).prototype),i=new S(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,g=d&&d(d(w([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=l.prototype=Object.create(v);function b(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function m(t,e){function r(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(l).then(function(t){f.value=t,a(f)},function(t){return r("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function _(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function w(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:w(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=e}catch(n){Function("r","regeneratorRuntime = r")(e)}},228:function(t,e,n){"use strict";var r,o;void 0===(o="function"==typeof(r=function(){!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}var a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var c=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==P.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return I.zone},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return D},enumerable:!1,configurable:!0}),e.__load_patch=function(o,i,c){if(void 0===c&&(c=!1),P.hasOwnProperty(o)){if(!c&&a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var u="Zone:"+o;n(u),P[o]=i(t,e,M),r(u,u)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{I=I.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{I=I.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");if(t.state!==_||t.type!==j&&t.type!==O){var r=t.state!=S;r&&t._transitionTo(S,k),t.runCount++;var o=D;D=t,I={parent:I,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==_&&t.state!==x&&(t.type==j||t.data&&t.data.isPeriodic?r&&t._transitionTo(k,S):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(_,S,_))),I=I.parent,D=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(E,_);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(x,E,_),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==E&&t._transitionTo(k,E),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(T,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(O,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(j,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");t._transitionTo(w,k,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(x,w),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(_,w),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===j&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),C++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==C&&b(),C--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(_,E)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==_&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===C&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,b)}else t[p](b,0);e&&d.push(e)}function b(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=u(t[n],e+"_"+n));return t}function g(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),m=!b&&!y&&!(!l||!p.HTMLElement),_=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!l||!p.HTMLElement),E={},k=function(t){if(t=t||h.event){var e=E[t.type];e||(e=E[t.type]=f("ON_PROPERTY"+t.type));var n,r=this||t.target||h,o=r[e];return m&&r===p&&"error"===t.type?!0===(n=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null==(n=o&&o.apply(this,arguments))||n||t.preventDefault(),n}};function S(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=f("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),l=E[s];l||(l=E[s]=f("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==h||(e=h),e&&(e[l]&&e.removeEventListener(s,k),u&&u.apply(e,v),"function"==typeof t?(e[l]=t,e.addEventListener(s,k,!1)):e[l]=null)},i.get=function(){var t=this;if(t||n!==h||(t=h),!t)return null;var e=t[l];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function w(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?s(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function P(t,e){t[f("OriginalDelegate")]=e}var M=!1,I=!1;function D(){if(M)return I;M=!0;try{var t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(I=!0)}catch(e){}return I}Zone.__load_patch("ZoneAwarePromise",function(t,e,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],c=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=i("Promise"),s=i("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded(function(){if(t.throwOriginal)throw t.rejection;throw t})}catch(r){!function(t){n.onUnhandledError(t);try{var r=e[f];"function"==typeof r&&r.call(this,t)}catch(o){}}(r)}};a.length;)t()};var f=i("unhandledPromiseRejectionHandler");function l(t){return t&&t.then}function p(t){return t}function h(t){return T.reject(t)}var v=i("state"),d=i("value"),g=i("finally"),y=i("parentPromiseValue"),b=i("parentPromiseState");function m(t,e){return function(n){try{E(t,e,n)}catch(r){E(t,!1,r)}}}var _=i("currentTaskTrace");function E(t,r,i){var u,s,f=(u=!1,function(t){return function(){u||(u=!0,t.apply(null,arguments))}});if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[v]){var l=null;try{"object"!=typeof i&&"function"!=typeof i||(l=i&&i.then)}catch(O){return f(function(){E(t,!1,O)})(),t}if(!1!==r&&i instanceof T&&i.hasOwnProperty(v)&&i.hasOwnProperty(d)&&null!==i[v])S(i),E(t,i[v],i[d]);else if(!1!==r&&"function"==typeof l)try{l.call(i,f(m(t,r)),f(m(t,!1)))}catch(O){f(function(){E(t,!1,O)})()}else{t[v]=r;var p=t[d];if(t[d]=i,t[g]===g&&!0===r&&(t[v]=t[b],t[d]=t[y]),!1===r&&i instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;h&&o(i,_,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var k=0;k1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(n,i,a){a.patchOnProperties=w,a.patchMethod=O,a.bindArguments=d,a.patchMacroTask=j;var s=i.__symbol__("BLACK_LISTED_EVENTS"),f=i.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[s]=n[f]),n[s]&&(i[s]=i[f]=n[s]),a.patchEventPrototype=U,a.patchEventTarget=G,a.isIEOrEdge=D,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=T,a.wrapWithCurrentZone=u,a.filterProperties=at,a.attachOriginToPatched=P,a._redefineProperty=Object.defineProperty,a.patchCallbacks=H,a.getGlobalObjects=function(){return{globalSources:L,zoneSymbolEventNames:A,eventNames:it,isBrowser:m,isMix:_,isNode:b,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}}),function(t){t[(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var e=t.Zone;e.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=ft,st()}),e.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),e.__load_patch("EventTargetLegacy",function(t,e,n){vt(t,n),dt(n,t)})}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var gt=f("zoneTask");function yt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=o.apply(t,n.args),e}function u(e){return i.call(t,e.data.handleId)}o=O(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var f={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},l=i[0];i[0]=function(){try{return l.apply(this,arguments)}finally{f.isPeriodic||("number"==typeof f.handleId?delete a[f.handleId]:f.handleId&&(f.handleId[gt]=null))}};var p=s(e,i[0],f,c,u);if(!p)return p;var h=p.data.handleId;return"number"==typeof h?a[h]=p:h&&(h[gt]=p),h&&h.ref&&h.unref&&"function"==typeof h.ref&&"function"==typeof h.unref&&(p.ref=h.ref.bind(h),p.unref=h.unref.bind(h)),"number"==typeof h||h?h:p}return n.apply(t,i)}}),i=O(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[gt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[gt]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function bt(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=u[e.__symbol__("loadfalse")],i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=i.Zone;t.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=c,a()}),t.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),t.__load_patch("EventTargetLegacy",function(t,e,n){l(t,n),p(n,t)})}},9134:function(t,e,n){n(4636),n(5982),n(7585),n(6251),n(3073);var r=n(6950);t.exports=r.Date},6446:function(t,e,n){n(2203),n(6440),n(9244),n(3129),n(4161),n(298),n(5817),n(4523),n(2325),n(3042),n(8937),n(1209),n(5133),n(110),n(51),n(5189),n(663),n(3862);var r=n(6950);t.exports=r.Math},9719:function(t,e,n){n(6455),n(7298),n(7135),n(707),n(938),n(7530),n(2527),n(270),n(9101),n(5803),n(2583),n(6544);var r=n(6950);t.exports=r.Number},4791:function(t,e,n){n(8974),n(5704),n(5619),n(9666),n(1005),n(2372),n(5126),n(505),n(838),n(7136),n(7624),n(1548),n(4702),n(9169),n(4759),n(6142),n(5745),n(4932),n(663),n(4144);var r=n(6950);t.exports=r.Symbol},7625:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},5143:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},4094:function(t,e,n){var r=n(4563),o=n(8724),i=n(3202),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},3274:function(t,e,n){"use strict";var r=n(4487).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},6063:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},1099:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4514:function(t,e,n){"use strict";var r=n(6174),o=n(222),i=n(5902),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},5378:function(t,e,n){"use strict";var r=n(6174),o=n(222),i=n(5902);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},7462:function(t,e,n){"use strict";var r=n(4115).forEach,o=n(7051)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},4362:function(t,e,n){"use strict";var r=n(9727),o=n(6174),i=n(7651),a=n(1643),c=n(5902),u=n(5347),s=n(3076);t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,b=void 0!==y,m=s(v),_=0;if(b&&(y=r(y,g>2?arguments[2]:void 0,2)),null==m||d==Array&&a(m))for(n=new d(e=c(v.length));e>_;_++)h=b?y(v[_],_):v[_],u(n,_,h);else for(p=(l=m.call(v)).next,n=new d;!(f=p.call(l)).done;_++)h=b?i(l,y,[f.value,_],!0):f.value,u(n,_,h);return n.length=_,n}},452:function(t,e,n){var r=n(8643),o=n(5902),i=n(222),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4115:function(t,e,n){var r=n(9727),o=n(6169),i=n(6174),a=n(5902),c=n(2889),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(v,d,g,y){for(var b,m,_=i(v),E=o(_),k=r(d,g,3),S=a(E.length),w=0,x=y||c,T=e?x(v,S):n||p?x(v,0):void 0;S>w;w++)if((h||w in E)&&(m=k(b=E[w],w,_),t))if(e)T[w]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:u.call(T,b)}else switch(t){case 4:return!1;case 7:u.call(T,b)}return l?-1:s||f?f:T}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},1275:function(t,e,n){"use strict";var r=n(8643),o=n(9463),i=n(5902),a=n(7051),c=Math.min,u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf");t.exports=s||!f?function(t){if(s)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=c(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},7394:function(t,e,n){var r=n(8597),o=n(4563),i=n(7189),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},7051:function(t,e,n){"use strict";var r=n(8597);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},4716:function(t,e,n){var r=n(7625),o=n(6174),i=n(6169),a=n(5902),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},2889:function(t,e,n){var r=n(726),o=n(7883),i=n(4563)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},7651:function(t,e,n){var r=n(1099),o=n(8456);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){throw o(t),a}}},6297:function(t,e,n){var r=n(4563)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},6644:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9420:function(t,e,n){var r=n(2900),o=n(6644),i=n(4563)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},5692:function(t,e,n){"use strict";var r=n(3202).f,o=n(8724),i=n(8715),a=n(9727),c=n(6063),u=n(3284),s=n(6038),f=n(7374),l=n(7012),p=n(4238).fastKey,h=n(2493),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},6491:function(t,e,n){"use strict";var r=n(8715),o=n(4238).getWeakData,i=n(1099),a=n(726),c=n(6063),u=n(3284),s=n(4115),f=n(7791),l=n(2493),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},m=function(t,e){return v(t.entries,function(t){return t[0]===e})};b.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},1603:function(t,e,n){"use strict";var r=n(1163),o=n(1864),i=n(7215),a=n(7763),c=n(4238),u=n(3284),s=n(6063),f=n(726),l=n(8597),p=n(6297),h=n(8242),v=n(8267);t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",b=o[t],m=b&&b.prototype,_=b,E={},k=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof b||!(g||m.forEach&&!l(function(){(new b).entries().next()}))))_=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var S=new _,w=S[y](g?{}:-0,1)!=S,x=l(function(){S.has(1)}),T=p(function(t){new b(t)}),O=!g&&l(function(){for(var t=new b,e=5;e--;)t[y](e,e);return!t.has(-0)});T||((_=e(function(e,n){s(e,_,t);var r=v(new b,e,_);return null!=n&&u(n,r[y],{that:r,AS_ENTRIES:d}),r})).prototype=m,m.constructor=_),(x||O)&&(k("delete"),k("has"),d&&k("get")),(O||w)&&k(y),g&&m.clear&&delete m.clear}return E[t]=_,r({global:!0,forced:_!=b},E),h(_,t),g||n.setStrong(_,t,d),_}},9:function(t,e,n){var r=n(7791),o=n(9376),i=n(3099),a=n(3202);t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s"+a+""}},7453:function(t,e,n){"use strict";var r=n(2053).IteratorPrototype,o=n(8724),i=n(3203),a=n(8242),c=n(2339),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},815:function(t,e,n){var r=n(7012),o=n(3202),i=n(3203);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},3203:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5347:function(t,e,n){"use strict";var r=n(8495),o=n(3202),i=n(3203);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},6194:function(t,e,n){"use strict";var r=n(8597),o=n(4164).start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},4256:function(t,e,n){"use strict";var r=n(1099),o=n(8495);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},6038:function(t,e,n){"use strict";var r=n(1163),o=n(7453),i=n(3963),a=n(1464),c=n(8242),u=n(815),s=n(7763),f=n(4563),l=n(7515),p=n(2339),h=n(2053),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,b,m){o(n,e,f);var _,E,k,S=function(t){if(t===h&&j)return j;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},w=e+" Iterator",x=!1,T=t.prototype,O=T[g]||T["@@iterator"]||h&&T[h],j=!d&&O||S(h),P="Array"==e&&T.entries||O;if(P&&(_=i(P.call(new t)),v!==Object.prototype&&_.next&&(l||i(_)===v||(a?a(_,v):"function"!=typeof _[g]&&u(_,g,y)),c(_,w,!0,!0),l&&(p[w]=y))),"values"==h&&O&&"values"!==O.name&&(x=!0,j=function(){return O.call(this)}),l&&!m||T[g]===j||u(T,g,j),p[e]=j,h)if(E={values:S("values"),keys:b?j:S("keys"),entries:S("entries")},m)for(k in E)(d||x||!(k in T))&&s(T,k,E[k]);else r({target:e,proto:!0,forced:d||x},E);return E}},7007:function(t,e,n){var r=n(6950),o=n(7791),i=n(3589),a=n(3202).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},7012:function(t,e,n){var r=n(8597);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},5815:function(t,e,n){var r=n(1864),o=n(726),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6877:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2846:function(t){t.exports="object"==typeof window},586:function(t,e,n){var r=n(3792);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},2002:function(t,e,n){var r=n(6644),o=n(1864);t.exports="process"==r(o.process)},6607:function(t,e,n){var r=n(3792);t.exports=/web0s(?!.*chrome)/i.test(r)},3792:function(t,e,n){var r=n(3626);t.exports=r("navigator","userAgent")||""},7189:function(t,e,n){var r,o,i=n(1864),a=n(3792),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},1001:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1163:function(t,e,n){var r=n(1864),o=n(3099).f,i=n(815),a=n(7763),c=n(1727),u=n(9),s=n(7215);t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},8597:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},9357:function(t,e,n){"use strict";n(9665);var r=n(7763),o=n(8597),i=n(4563),a=n(815),c=i("species"),u=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),s="$0"==="a".replace(/./,"$0"),f=i("replace"),l=!!/./[f]&&""===/./[f]("a","$0"),p=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,f){var h=i(t),v=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),d=v&&!o(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e});if(!v||!d||"replace"===t&&(!u||!s||l)||"split"===t&&!p){var g=/./[h],y=n(h,""[t],function(t,e,n,r,o){return e.exec===RegExp.prototype.exec?v&&!o?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:l}),b=y[1];r(String.prototype,t,y[0]),r(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}f&&a(RegExp.prototype[h],"sham",!0)}},6507:function(t,e,n){"use strict";var r=n(7883),o=n(5902),i=n(9727);t.exports=function t(e,n,a,c,u,s,f,l){for(var p,h=u,v=0,d=!!f&&i(f,l,3);v0&&r(p))h=t(e,n,p,o(p.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=p}h++}v++}return h}},9352:function(t,e,n){var r=n(8597);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},9727:function(t,e,n){var r=n(7625);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},2702:function(t,e,n){"use strict";var r=n(7625),o=n(726),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,s,f){var l=n+t.length,p=u.length,h=c;return void 0!==s&&(s=r(s),h=a),i.call(f,h,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var f=o(c/10);return 0===f?r:f<=p?void 0===u[f-1]?i.charAt(1):u[f-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a})}},1864:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||function(){return this}()||Function("return this")()},7791:function(t,e,n){var r=n(6174),o={}.hasOwnProperty;t.exports=function(t,e){return o.call(r(t),e)}},3536:function(t){t.exports={}},9989:function(t,e,n){var r=n(1864);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},7538:function(t,e,n){var r=n(3626);t.exports=r("document","documentElement")},7091:function(t,e,n){var r=n(7012),o=n(8597),i=n(5815);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},6169:function(t,e,n){var r=n(8597),o=n(6644),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},8267:function(t,e,n){var r=n(726),o=n(1464);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},7720:function(t,e,n){var r=n(9941),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},4238:function(t,e,n){var r=n(3536),o=n(726),i=n(7791),a=n(3202).f,c=n(4295),u=n(9352),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},2493:function(t,e,n){var r,o,i,a=n(1635),c=n(1864),u=n(726),s=n(815),f=n(7791),l=n(9941),p=n(2650),h=n(3536);if(a){var v=l.state||(l.state=new(0,c.WeakMap)),d=v.get,g=v.has,y=v.set;r=function(t,e){if(g.call(v,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var b=p("state");h[b]=!0,r=function(t,e){if(f(t,b))throw new TypeError("Object already initialized");return e.facade=t,s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},1643:function(t,e,n){var r=n(4563),o=n(2339),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},7883:function(t,e,n){var r=n(6644);t.exports=Array.isArray||function(t){return"Array"==r(t)}},7215:function(t,e,n){var r=n(8597),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},9829:function(t,e,n){var r=n(726),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},726:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},7515:function(t){t.exports=!1},9482:function(t,e,n){var r=n(726),o=n(6644),i=n(4563)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},3284:function(t,e,n){var r=n(1099),o=n(1643),i=n(5902),a=n(9727),c=n(3076),u=n(8456),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var f,l,p,h,v,d,g,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),_=a(e,n&&n.that,1+y+m),E=function(t){return f&&u(f),new s(!0,t)},k=function(t){return y?(r(t),m?_(t[0],t[1],E):_(t[0],t[1])):m?_(t,E):_(t)};if(b)f=t;else{if("function"!=typeof(l=c(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,h=i(t.length);h>p;p++)if((v=k(t[p]))&&v instanceof s)return v;return new s(!1)}f=l.call(t)}for(d=f.next;!(g=d.call(f)).done;){try{v=k(g.value)}catch(S){throw u(f),S}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},8456:function(t,e,n){var r=n(1099);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},2053:function(t,e,n){"use strict";var r,o,i,a=n(8597),c=n(3963),u=n(815),s=n(7791),f=n(4563),l=n(7515),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0);var v=null==r||a(function(){var t={};return r[p].call(t)!==t});v&&(r={}),l&&!v||s(r,p)||u(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},2339:function(t){t.exports={}},2914:function(t){var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:e},5262:function(t,e,n){var r=n(2595),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},6872:function(t){var e=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:e(1+t)}},2595:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},1463:function(t,e,n){var r,o,i,a,c,u,s,f,l=n(1864),p=n(3099).f,h=n(2040).set,v=n(586),d=n(6607),g=n(2002),y=l.MutationObserver||l.WebKitMutationObserver,b=l.document,m=l.process,_=l.Promise,E=p(l,"queueMicrotask"),k=E&&E.value;k||(r=function(){var t,e;for(g&&(t=m.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},v||g||d||!y||!b?_&&_.resolve?((s=_.resolve(void 0)).constructor=_,f=s.then,a=function(){f.call(s,r)}):a=g?function(){m.nextTick(r)}:function(){h.call(l,r)}:(c=!0,u=b.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=k||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},6866:function(t,e,n){var r=n(1864);t.exports=r.Promise},7040:function(t,e,n){var r=n(7189),o=n(8597);t.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())||!Symbol.sham&&r&&r<41})},1635:function(t,e,n){var r=n(1864),o=n(7720),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},9723:function(t,e,n){"use strict";var r=n(7625),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},3270:function(t,e,n){var r=n(9482);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},87:function(t,e,n){var r=n(1864).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},8884:function(t,e,n){var r=n(1864),o=n(1664).trim,i=n(2781),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},3656:function(t,e,n){var r=n(1864),o=n(1664).trim,i=n(2781),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},1746:function(t,e,n){"use strict";var r=n(7012),o=n(8597),i=n(8032),a=n(7593),c=n(5600),u=n(6174),s=n(6169),f=Object.assign,l=Object.defineProperty;t.exports=!f||o(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},8724:function(t,e,n){var r,o=n(1099),i=n(988),a=n(1001),c=n(3536),u=n(7538),s=n(5815),f=n(2650)("IE_PROTO"),l=function(){},p=function(t){return"